@seamapi/types 1.179.0 → 1.181.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 +19 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +68 -14
- package/lib/seam/connect/internal/enums.d.ts +1 -1
- package/lib/seam/connect/internal/enums.js +1 -1
- package/lib/seam/connect/internal/enums.js.map +1 -1
- 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/acs/access_group.d.ts +3 -0
- package/lib/seam/connect/models/acs/access_group.js +1 -0
- package/lib/seam/connect/models/acs/access_group.js.map +1 -1
- package/lib/seam/connect/models/acs/credential.d.ts +2 -2
- package/lib/seam/connect/models/acs/credential_pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/seam-bridge.d.ts +68 -33
- package/lib/seam/connect/models/acs/seam-bridge.js +17 -12
- package/lib/seam/connect/models/acs/seam-bridge.js.map +1 -1
- package/lib/seam/connect/models/acs/user.d.ts +3 -3
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +32 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +13 -0
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -0
- package/lib/seam/connect/models/client-sessions/index.d.ts +1 -0
- package/lib/seam/connect/models/client-sessions/index.js +2 -0
- package/lib/seam/connect/models/client-sessions/index.js.map +1 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +62 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +22 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -0
- package/lib/seam/connect/models/connected-accounts/index.d.ts +1 -0
- package/lib/seam/connect/models/connected-accounts/index.js +2 -0
- package/lib/seam/connect/models/connected-accounts/index.js.map +1 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +69 -0
- package/lib/seam/connect/models/devices/device-provider.js +100 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -0
- package/lib/seam/connect/models/devices/index.d.ts +2 -0
- package/lib/seam/connect/models/devices/index.js +2 -0
- package/lib/seam/connect/models/devices/index.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +2 -2
- package/lib/seam/connect/models/devices/noise-threshold.d.ts +26 -0
- package/lib/seam/connect/models/devices/noise-threshold.js +11 -0
- package/lib/seam/connect/models/devices/noise-threshold.js.map +1 -0
- package/lib/seam/connect/models/devices/phone.d.ts +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2 -2
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/models/index.d.ts +3 -0
- package/lib/seam/connect/models/index.js +3 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/webhooks/index.d.ts +1 -0
- package/lib/seam/connect/models/webhooks/index.js +2 -0
- package/lib/seam/connect/models/webhooks/index.js.map +1 -0
- package/lib/seam/connect/models/webhooks/webhook.d.ts +17 -0
- package/lib/seam/connect/models/webhooks/webhook.js +8 -0
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +19 -0
- package/lib/seam/connect/openapi.js +6 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -10
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/enums.ts +3 -0
- package/src/lib/seam/connect/internal/schemas.ts +4 -1
- package/src/lib/seam/connect/models/acs/access_group.ts +1 -0
- package/src/lib/seam/connect/models/acs/seam-bridge.ts +18 -12
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +13 -0
- package/src/lib/seam/connect/models/client-sessions/index.ts +1 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -0
- package/src/lib/seam/connect/models/connected-accounts/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +116 -0
- package/src/lib/seam/connect/models/devices/index.ts +2 -0
- package/src/lib/seam/connect/models/devices/noise-threshold.ts +11 -0
- package/src/lib/seam/connect/models/index.ts +3 -0
- package/src/lib/seam/connect/models/webhooks/index.ts +1 -0
- package/src/lib/seam/connect/models/webhooks/webhook.ts +8 -0
- package/src/lib/seam/connect/openapi.ts +6 -2
- package/src/lib/seam/connect/route-types.ts +12 -10
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -1038,6 +1038,38 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
1038
1038
|
}>]>;
|
|
1039
1039
|
type ActionAttempt = z.infer<typeof action_attempt>;
|
|
1040
1040
|
|
|
1041
|
+
declare const client_session: z.ZodObject<{
|
|
1042
|
+
client_session_id: z.ZodString;
|
|
1043
|
+
workspace_id: z.ZodString;
|
|
1044
|
+
created_at: z.ZodString;
|
|
1045
|
+
token: z.ZodString;
|
|
1046
|
+
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
1047
|
+
device_count: z.ZodNumber;
|
|
1048
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
1049
|
+
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
1050
|
+
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
created_at: string;
|
|
1053
|
+
workspace_id: string;
|
|
1054
|
+
connected_account_ids: string[];
|
|
1055
|
+
client_session_id: string;
|
|
1056
|
+
token: string;
|
|
1057
|
+
user_identifier_key: string | null;
|
|
1058
|
+
device_count: number;
|
|
1059
|
+
connect_webview_ids: string[];
|
|
1060
|
+
user_identity_ids: string[];
|
|
1061
|
+
}, {
|
|
1062
|
+
created_at: string;
|
|
1063
|
+
workspace_id: string;
|
|
1064
|
+
connected_account_ids: string[];
|
|
1065
|
+
client_session_id: string;
|
|
1066
|
+
token: string;
|
|
1067
|
+
user_identifier_key: string | null;
|
|
1068
|
+
device_count: number;
|
|
1069
|
+
connect_webview_ids: string[];
|
|
1070
|
+
user_identity_ids: string[];
|
|
1071
|
+
}>;
|
|
1072
|
+
|
|
1041
1073
|
declare const connect_webview: z.ZodObject<{
|
|
1042
1074
|
connect_webview_id: z.ZodString;
|
|
1043
1075
|
workspace_id: z.ZodString;
|
|
@@ -1575,21 +1607,21 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
1575
1607
|
}>, z.ZodObject<{
|
|
1576
1608
|
created_at: z.ZodString;
|
|
1577
1609
|
workspace_id: z.ZodString;
|
|
1578
|
-
occurred_at: z.ZodString;
|
|
1579
1610
|
client_session_id: z.ZodString;
|
|
1611
|
+
occurred_at: z.ZodString;
|
|
1580
1612
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
1581
1613
|
}, "strip", z.ZodTypeAny, {
|
|
1582
1614
|
created_at: string;
|
|
1583
1615
|
workspace_id: string;
|
|
1616
|
+
client_session_id: string;
|
|
1584
1617
|
occurred_at: string;
|
|
1585
1618
|
event_type: "client_session.deleted";
|
|
1586
|
-
client_session_id: string;
|
|
1587
1619
|
}, {
|
|
1588
1620
|
created_at: string;
|
|
1589
1621
|
workspace_id: string;
|
|
1622
|
+
client_session_id: string;
|
|
1590
1623
|
occurred_at: string;
|
|
1591
1624
|
event_type: "client_session.deleted";
|
|
1592
|
-
client_session_id: string;
|
|
1593
1625
|
}>, z.ZodObject<{
|
|
1594
1626
|
created_at: z.ZodString;
|
|
1595
1627
|
workspace_id: z.ZodString;
|
|
@@ -2329,12 +2361,13 @@ declare const workspace: z.ZodObject<{
|
|
|
2329
2361
|
}>;
|
|
2330
2362
|
|
|
2331
2363
|
declare const schemas_action_attempt: typeof action_attempt;
|
|
2364
|
+
declare const schemas_client_session: typeof client_session;
|
|
2332
2365
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
2333
2366
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
2334
2367
|
declare const schemas_seam_event: typeof seam_event;
|
|
2335
2368
|
declare const schemas_workspace: typeof workspace;
|
|
2336
2369
|
declare namespace schemas {
|
|
2337
|
-
export { schemas_action_attempt as action_attempt, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_workspace as workspace };
|
|
2370
|
+
export { schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_workspace as workspace };
|
|
2338
2371
|
}
|
|
2339
2372
|
|
|
2340
2373
|
declare const _default: {
|
|
@@ -2468,6 +2501,9 @@ declare const _default: {
|
|
|
2468
2501
|
format: string;
|
|
2469
2502
|
type: string;
|
|
2470
2503
|
};
|
|
2504
|
+
display_name: {
|
|
2505
|
+
type: string;
|
|
2506
|
+
};
|
|
2471
2507
|
external_type: {
|
|
2472
2508
|
enum: string[];
|
|
2473
2509
|
type: string;
|
|
@@ -13127,15 +13163,23 @@ declare const _default: {
|
|
|
13127
13163
|
};
|
|
13128
13164
|
};
|
|
13129
13165
|
security: ({
|
|
13166
|
+
client_session: never[];
|
|
13167
|
+
api_key?: never;
|
|
13168
|
+
pat_with_workspace?: never;
|
|
13169
|
+
console_session?: never;
|
|
13170
|
+
} | {
|
|
13130
13171
|
api_key: never[];
|
|
13172
|
+
client_session?: never;
|
|
13131
13173
|
pat_with_workspace?: never;
|
|
13132
13174
|
console_session?: never;
|
|
13133
13175
|
} | {
|
|
13134
13176
|
pat_with_workspace: never[];
|
|
13177
|
+
client_session?: never;
|
|
13135
13178
|
api_key?: never;
|
|
13136
13179
|
console_session?: never;
|
|
13137
13180
|
} | {
|
|
13138
13181
|
console_session: never[];
|
|
13182
|
+
client_session?: never;
|
|
13139
13183
|
api_key?: never;
|
|
13140
13184
|
pat_with_workspace?: never;
|
|
13141
13185
|
})[];
|
|
@@ -13945,15 +13989,23 @@ declare const _default: {
|
|
|
13945
13989
|
};
|
|
13946
13990
|
};
|
|
13947
13991
|
security: ({
|
|
13992
|
+
client_session: never[];
|
|
13993
|
+
api_key?: never;
|
|
13994
|
+
pat_with_workspace?: never;
|
|
13995
|
+
console_session?: never;
|
|
13996
|
+
} | {
|
|
13948
13997
|
api_key: never[];
|
|
13998
|
+
client_session?: never;
|
|
13949
13999
|
pat_with_workspace?: never;
|
|
13950
14000
|
console_session?: never;
|
|
13951
14001
|
} | {
|
|
13952
14002
|
pat_with_workspace: never[];
|
|
14003
|
+
client_session?: never;
|
|
13953
14004
|
api_key?: never;
|
|
13954
14005
|
console_session?: never;
|
|
13955
14006
|
} | {
|
|
13956
14007
|
console_session: never[];
|
|
14008
|
+
client_session?: never;
|
|
13957
14009
|
api_key?: never;
|
|
13958
14010
|
pat_with_workspace?: never;
|
|
13959
14011
|
})[];
|
|
@@ -21274,6 +21326,7 @@ interface Routes {
|
|
|
21274
21326
|
---
|
|
21275
21327
|
*/
|
|
21276
21328
|
access_group_type_display_name: string;
|
|
21329
|
+
display_name: string;
|
|
21277
21330
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
21278
21331
|
external_type_display_name: string;
|
|
21279
21332
|
created_at: string;
|
|
@@ -21308,6 +21361,7 @@ interface Routes {
|
|
|
21308
21361
|
---
|
|
21309
21362
|
*/
|
|
21310
21363
|
access_group_type_display_name: string;
|
|
21364
|
+
display_name: string;
|
|
21311
21365
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
21312
21366
|
external_type_display_name: string;
|
|
21313
21367
|
created_at: string;
|
|
@@ -23497,14 +23551,14 @@ interface Routes {
|
|
|
23497
23551
|
jsonResponse: {
|
|
23498
23552
|
client_session: {
|
|
23499
23553
|
client_session_id: string;
|
|
23500
|
-
|
|
23554
|
+
workspace_id: string;
|
|
23501
23555
|
created_at: string;
|
|
23502
23556
|
token: string;
|
|
23557
|
+
user_identifier_key: string | null;
|
|
23503
23558
|
device_count: number;
|
|
23504
23559
|
connected_account_ids: string[];
|
|
23505
23560
|
connect_webview_ids: string[];
|
|
23506
23561
|
user_identity_ids: string[];
|
|
23507
|
-
workspace_id: string;
|
|
23508
23562
|
};
|
|
23509
23563
|
};
|
|
23510
23564
|
};
|
|
@@ -23532,14 +23586,14 @@ interface Routes {
|
|
|
23532
23586
|
jsonResponse: {
|
|
23533
23587
|
client_session: {
|
|
23534
23588
|
client_session_id: string;
|
|
23535
|
-
|
|
23589
|
+
workspace_id: string;
|
|
23536
23590
|
created_at: string;
|
|
23537
23591
|
token: string;
|
|
23592
|
+
user_identifier_key: string | null;
|
|
23538
23593
|
device_count: number;
|
|
23539
23594
|
connected_account_ids: string[];
|
|
23540
23595
|
connect_webview_ids: string[];
|
|
23541
23596
|
user_identity_ids: string[];
|
|
23542
|
-
workspace_id: string;
|
|
23543
23597
|
};
|
|
23544
23598
|
};
|
|
23545
23599
|
};
|
|
@@ -23559,14 +23613,14 @@ interface Routes {
|
|
|
23559
23613
|
jsonResponse: {
|
|
23560
23614
|
client_session: {
|
|
23561
23615
|
client_session_id: string;
|
|
23562
|
-
|
|
23616
|
+
workspace_id: string;
|
|
23563
23617
|
created_at: string;
|
|
23564
23618
|
token: string;
|
|
23619
|
+
user_identifier_key: string | null;
|
|
23565
23620
|
device_count: number;
|
|
23566
23621
|
connected_account_ids: string[];
|
|
23567
23622
|
connect_webview_ids: string[];
|
|
23568
23623
|
user_identity_ids: string[];
|
|
23569
|
-
workspace_id: string;
|
|
23570
23624
|
};
|
|
23571
23625
|
};
|
|
23572
23626
|
};
|
|
@@ -23586,14 +23640,14 @@ interface Routes {
|
|
|
23586
23640
|
jsonResponse: {
|
|
23587
23641
|
client_session: {
|
|
23588
23642
|
client_session_id: string;
|
|
23589
|
-
|
|
23643
|
+
workspace_id: string;
|
|
23590
23644
|
created_at: string;
|
|
23591
23645
|
token: string;
|
|
23646
|
+
user_identifier_key: string | null;
|
|
23592
23647
|
device_count: number;
|
|
23593
23648
|
connected_account_ids: string[];
|
|
23594
23649
|
connect_webview_ids: string[];
|
|
23595
23650
|
user_identity_ids: string[];
|
|
23596
|
-
workspace_id: string;
|
|
23597
23651
|
};
|
|
23598
23652
|
};
|
|
23599
23653
|
};
|
|
@@ -23613,14 +23667,14 @@ interface Routes {
|
|
|
23613
23667
|
jsonResponse: {
|
|
23614
23668
|
client_sessions: Array<{
|
|
23615
23669
|
client_session_id: string;
|
|
23616
|
-
|
|
23670
|
+
workspace_id: string;
|
|
23617
23671
|
created_at: string;
|
|
23618
23672
|
token: string;
|
|
23673
|
+
user_identifier_key: string | null;
|
|
23619
23674
|
device_count: number;
|
|
23620
23675
|
connected_account_ids: string[];
|
|
23621
23676
|
connect_webview_ids: string[];
|
|
23622
23677
|
user_identity_ids: string[];
|
|
23623
|
-
workspace_id: string;
|
|
23624
23678
|
}>;
|
|
23625
23679
|
};
|
|
23626
23680
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
|
|
1
|
+
export { ALL_DEVICE_PROVIDERS, LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, PROVIDER_CATEGORIES, PUBLIC_PROVIDER_CATEGORIES, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
|
|
1
|
+
export { ALL_DEVICE_PROVIDERS, LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, PROVIDER_CATEGORIES, PUBLIC_PROVIDER_CATEGORIES, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
|
|
2
2
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAA"}
|
|
@@ -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, 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, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity,
|
|
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, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, webhook, } 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, 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, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity,
|
|
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, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, webhook, } 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,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,
|
|
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,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -8,6 +8,7 @@ export declare const acs_access_group: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
|
|
10
10
|
access_group_type_display_name: z.ZodString;
|
|
11
|
+
display_name: z.ZodString;
|
|
11
12
|
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
|
|
12
13
|
external_type_display_name: z.ZodString;
|
|
13
14
|
created_at: z.ZodString;
|
|
@@ -19,6 +20,7 @@ export declare const acs_access_group: z.ZodObject<{
|
|
|
19
20
|
workspace_id: string;
|
|
20
21
|
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
21
22
|
access_group_type_display_name: string;
|
|
23
|
+
display_name: string;
|
|
22
24
|
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
23
25
|
external_type_display_name: string;
|
|
24
26
|
}, {
|
|
@@ -29,6 +31,7 @@ export declare const acs_access_group: z.ZodObject<{
|
|
|
29
31
|
workspace_id: string;
|
|
30
32
|
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
31
33
|
access_group_type_display_name: string;
|
|
34
|
+
display_name: string;
|
|
32
35
|
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
33
36
|
external_type_display_name: string;
|
|
34
37
|
}>;
|
|
@@ -21,6 +21,7 @@ export const acs_access_group = z.object({
|
|
|
21
21
|
deprecated: use external_type_display_name
|
|
22
22
|
---
|
|
23
23
|
`),
|
|
24
|
+
display_name: z.string(),
|
|
24
25
|
external_type: acs_access_group_external_type,
|
|
25
26
|
external_type_display_name: z.string(),
|
|
26
27
|
created_at: z.string().datetime(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access_group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/access_group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC;;;;GAI1D,CAAC;IACF,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACJ,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access_group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/access_group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC;;;;GAI1D,CAAC;IACF,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
|
|
@@ -83,8 +83,8 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
83
83
|
}[];
|
|
84
84
|
acs_system_id: string;
|
|
85
85
|
workspace_id: string;
|
|
86
|
-
acs_credential_id: string;
|
|
87
86
|
display_name: string;
|
|
87
|
+
acs_credential_id: string;
|
|
88
88
|
access_method: "code" | "card" | "mobile_key";
|
|
89
89
|
acs_user_id?: string | undefined;
|
|
90
90
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -113,8 +113,8 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
113
113
|
}[];
|
|
114
114
|
acs_system_id: string;
|
|
115
115
|
workspace_id: string;
|
|
116
|
-
acs_credential_id: string;
|
|
117
116
|
display_name: string;
|
|
117
|
+
acs_credential_id: string;
|
|
118
118
|
access_method: "code" | "card" | "mobile_key";
|
|
119
119
|
acs_user_id?: string | undefined;
|
|
120
120
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -13,17 +13,17 @@ export declare const acs_credential_pool: z.ZodObject<{
|
|
|
13
13
|
created_at: string;
|
|
14
14
|
acs_system_id: string;
|
|
15
15
|
workspace_id: string;
|
|
16
|
+
display_name: string;
|
|
16
17
|
external_type: "hid_part_number";
|
|
17
18
|
external_type_display_name: string;
|
|
18
19
|
acs_credential_pool_id: string;
|
|
19
|
-
display_name: string;
|
|
20
20
|
}, {
|
|
21
21
|
created_at: string;
|
|
22
22
|
acs_system_id: string;
|
|
23
23
|
workspace_id: string;
|
|
24
|
+
display_name: string;
|
|
24
25
|
external_type: "hid_part_number";
|
|
25
26
|
external_type_display_name: string;
|
|
26
27
|
acs_credential_pool_id: string;
|
|
27
|
-
display_name: string;
|
|
28
28
|
}>;
|
|
29
29
|
export type AcsCredentialPool = z.output<typeof acs_credential_pool>;
|
|
@@ -1,112 +1,147 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const seam_bridge_error_map: z.ZodObject<{
|
|
3
|
-
|
|
3
|
+
failed_to_create_tunnel: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
4
|
message: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
|
-
error_code: z.ZodLiteral<"
|
|
6
|
+
error_code: z.ZodLiteral<"failed_to_create_tunnel">;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
message: string;
|
|
9
9
|
created_at: string;
|
|
10
|
-
error_code: "
|
|
10
|
+
error_code: "failed_to_create_tunnel";
|
|
11
11
|
}, {
|
|
12
12
|
message: string;
|
|
13
13
|
created_at: string;
|
|
14
|
-
error_code: "
|
|
14
|
+
error_code: "failed_to_create_tunnel";
|
|
15
15
|
}>>>;
|
|
16
|
-
|
|
16
|
+
failed_to_create_proxy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
17
17
|
message: z.ZodString;
|
|
18
18
|
created_at: z.ZodString;
|
|
19
|
-
error_code: z.ZodLiteral<"
|
|
19
|
+
error_code: z.ZodLiteral<"failed_to_create_proxy">;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
message: string;
|
|
22
22
|
created_at: string;
|
|
23
|
-
error_code: "
|
|
23
|
+
error_code: "failed_to_create_proxy";
|
|
24
24
|
}, {
|
|
25
25
|
message: string;
|
|
26
26
|
created_at: string;
|
|
27
|
-
error_code: "
|
|
27
|
+
error_code: "failed_to_create_proxy";
|
|
28
28
|
}>>>;
|
|
29
|
-
|
|
29
|
+
seam_bridge_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
30
30
|
message: z.ZodString;
|
|
31
31
|
created_at: z.ZodString;
|
|
32
|
-
error_code: z.ZodLiteral<"
|
|
32
|
+
error_code: z.ZodLiteral<"seam_bridge_unreachable">;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
message: string;
|
|
35
35
|
created_at: string;
|
|
36
|
-
error_code: "
|
|
36
|
+
error_code: "seam_bridge_unreachable";
|
|
37
37
|
}, {
|
|
38
38
|
message: string;
|
|
39
39
|
created_at: string;
|
|
40
|
-
error_code: "
|
|
40
|
+
error_code: "seam_bridge_unreachable";
|
|
41
|
+
}>>>;
|
|
42
|
+
managed_by_other_account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
43
|
+
message: z.ZodString;
|
|
44
|
+
created_at: z.ZodString;
|
|
45
|
+
error_code: z.ZodLiteral<"managed_by_other_account">;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
message: string;
|
|
48
|
+
created_at: string;
|
|
49
|
+
error_code: "managed_by_other_account";
|
|
50
|
+
}, {
|
|
51
|
+
message: string;
|
|
52
|
+
created_at: string;
|
|
53
|
+
error_code: "managed_by_other_account";
|
|
41
54
|
}>>>;
|
|
42
55
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
|
|
56
|
+
failed_to_create_tunnel?: {
|
|
57
|
+
message: string;
|
|
58
|
+
created_at: string;
|
|
59
|
+
error_code: "failed_to_create_tunnel";
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
failed_to_create_proxy?: {
|
|
44
62
|
message: string;
|
|
45
63
|
created_at: string;
|
|
46
|
-
error_code: "
|
|
64
|
+
error_code: "failed_to_create_proxy";
|
|
47
65
|
} | null | undefined;
|
|
48
|
-
|
|
66
|
+
seam_bridge_unreachable?: {
|
|
49
67
|
message: string;
|
|
50
68
|
created_at: string;
|
|
51
|
-
error_code: "
|
|
69
|
+
error_code: "seam_bridge_unreachable";
|
|
52
70
|
} | null | undefined;
|
|
53
|
-
|
|
71
|
+
managed_by_other_account?: {
|
|
54
72
|
message: string;
|
|
55
73
|
created_at: string;
|
|
56
|
-
error_code: "
|
|
74
|
+
error_code: "managed_by_other_account";
|
|
57
75
|
} | null | undefined;
|
|
58
76
|
}, {
|
|
59
|
-
|
|
77
|
+
failed_to_create_tunnel?: {
|
|
60
78
|
message: string;
|
|
61
79
|
created_at: string;
|
|
62
|
-
error_code: "
|
|
80
|
+
error_code: "failed_to_create_tunnel";
|
|
63
81
|
} | null | undefined;
|
|
64
|
-
|
|
82
|
+
failed_to_create_proxy?: {
|
|
65
83
|
message: string;
|
|
66
84
|
created_at: string;
|
|
67
|
-
error_code: "
|
|
85
|
+
error_code: "failed_to_create_proxy";
|
|
68
86
|
} | null | undefined;
|
|
69
|
-
|
|
87
|
+
seam_bridge_unreachable?: {
|
|
70
88
|
message: string;
|
|
71
89
|
created_at: string;
|
|
72
|
-
error_code: "
|
|
90
|
+
error_code: "seam_bridge_unreachable";
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
managed_by_other_account?: {
|
|
93
|
+
message: string;
|
|
94
|
+
created_at: string;
|
|
95
|
+
error_code: "managed_by_other_account";
|
|
73
96
|
} | null | undefined;
|
|
74
97
|
}>;
|
|
75
98
|
export declare const seam_bridge_error: z.ZodUnion<[z.ZodObject<{
|
|
76
99
|
message: z.ZodString;
|
|
77
100
|
created_at: z.ZodString;
|
|
78
|
-
error_code: z.ZodLiteral<"
|
|
101
|
+
error_code: z.ZodLiteral<"seam_bridge_unreachable">;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
message: string;
|
|
104
|
+
created_at: string;
|
|
105
|
+
error_code: "seam_bridge_unreachable";
|
|
106
|
+
}, {
|
|
107
|
+
message: string;
|
|
108
|
+
created_at: string;
|
|
109
|
+
error_code: "seam_bridge_unreachable";
|
|
110
|
+
}>, z.ZodObject<{
|
|
111
|
+
message: z.ZodString;
|
|
112
|
+
created_at: z.ZodString;
|
|
113
|
+
error_code: z.ZodLiteral<"failed_to_create_proxy">;
|
|
79
114
|
}, "strip", z.ZodTypeAny, {
|
|
80
115
|
message: string;
|
|
81
116
|
created_at: string;
|
|
82
|
-
error_code: "
|
|
117
|
+
error_code: "failed_to_create_proxy";
|
|
83
118
|
}, {
|
|
84
119
|
message: string;
|
|
85
120
|
created_at: string;
|
|
86
|
-
error_code: "
|
|
121
|
+
error_code: "failed_to_create_proxy";
|
|
87
122
|
}>, z.ZodObject<{
|
|
88
123
|
message: z.ZodString;
|
|
89
124
|
created_at: z.ZodString;
|
|
90
|
-
error_code: z.ZodLiteral<"
|
|
125
|
+
error_code: z.ZodLiteral<"failed_to_create_tunnel">;
|
|
91
126
|
}, "strip", z.ZodTypeAny, {
|
|
92
127
|
message: string;
|
|
93
128
|
created_at: string;
|
|
94
|
-
error_code: "
|
|
129
|
+
error_code: "failed_to_create_tunnel";
|
|
95
130
|
}, {
|
|
96
131
|
message: string;
|
|
97
132
|
created_at: string;
|
|
98
|
-
error_code: "
|
|
133
|
+
error_code: "failed_to_create_tunnel";
|
|
99
134
|
}>, z.ZodObject<{
|
|
100
135
|
message: z.ZodString;
|
|
101
136
|
created_at: z.ZodString;
|
|
102
|
-
error_code: z.ZodLiteral<"
|
|
137
|
+
error_code: z.ZodLiteral<"managed_by_other_account">;
|
|
103
138
|
}, "strip", z.ZodTypeAny, {
|
|
104
139
|
message: string;
|
|
105
140
|
created_at: string;
|
|
106
|
-
error_code: "
|
|
141
|
+
error_code: "managed_by_other_account";
|
|
107
142
|
}, {
|
|
108
143
|
message: string;
|
|
109
144
|
created_at: string;
|
|
110
|
-
error_code: "
|
|
145
|
+
error_code: "managed_by_other_account";
|
|
111
146
|
}>]>;
|
|
112
147
|
export type SeamBridgeErrorMap = z.infer<typeof seam_bridge_error_map>;
|
|
@@ -3,23 +3,28 @@ const common_seam_bridge_error = z.object({
|
|
|
3
3
|
created_at: z.string().datetime(),
|
|
4
4
|
message: z.string(),
|
|
5
5
|
});
|
|
6
|
-
const
|
|
7
|
-
error_code: z.literal('
|
|
6
|
+
const seam_bridge_unreachable = common_seam_bridge_error.extend({
|
|
7
|
+
error_code: z.literal('seam_bridge_unreachable'),
|
|
8
8
|
});
|
|
9
|
-
const
|
|
10
|
-
error_code: z.literal('
|
|
9
|
+
const failed_to_create_tunnel = common_seam_bridge_error.extend({
|
|
10
|
+
error_code: z.literal('failed_to_create_tunnel'),
|
|
11
11
|
});
|
|
12
|
-
const
|
|
13
|
-
error_code: z.literal('
|
|
12
|
+
const failed_to_create_proxy = common_seam_bridge_error.extend({
|
|
13
|
+
error_code: z.literal('failed_to_create_proxy'),
|
|
14
|
+
});
|
|
15
|
+
const managed_by_other_account = common_seam_bridge_error.extend({
|
|
16
|
+
error_code: z.literal('managed_by_other_account'),
|
|
14
17
|
});
|
|
15
18
|
export const seam_bridge_error_map = z.object({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
failed_to_create_tunnel: failed_to_create_tunnel.optional().nullable(),
|
|
20
|
+
failed_to_create_proxy: failed_to_create_proxy.optional().nullable(),
|
|
21
|
+
seam_bridge_unreachable: seam_bridge_unreachable.optional().nullable(),
|
|
22
|
+
managed_by_other_account: managed_by_other_account.optional().nullable(),
|
|
19
23
|
});
|
|
20
24
|
export const seam_bridge_error = z.union([
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
seam_bridge_unreachable,
|
|
26
|
+
failed_to_create_proxy,
|
|
27
|
+
failed_to_create_tunnel,
|
|
28
|
+
managed_by_other_account,
|
|
24
29
|
]);
|
|
25
30
|
//# sourceMappingURL=seam-bridge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seam-bridge.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/seam-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"seam-bridge.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/seam-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,uBAAuB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;CACjD,CAAC,CAAA;AACF,MAAM,uBAAuB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;CACjD,CAAC,CAAA;AACF,MAAM,sBAAsB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;CAClD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,uBAAuB,EAAE,uBAAuB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtE,sBAAsB,EAAE,sBAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACpE,uBAAuB,EAAE,uBAAuB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtE,wBAAwB,EAAE,wBAAwB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,uBAAuB;IACvB,sBAAsB;IACtB,uBAAuB;IACvB,wBAAwB;CACzB,CAAC,CAAA"}
|
|
@@ -5,10 +5,10 @@ export declare const acs_user: z.ZodObject<{
|
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
acs_system_id: z.ZodString;
|
|
7
7
|
workspace_id: z.ZodString;
|
|
8
|
+
display_name: z.ZodString;
|
|
8
9
|
external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
|
|
9
10
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
10
11
|
acs_user_id: z.ZodString;
|
|
11
|
-
display_name: z.ZodString;
|
|
12
12
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
13
13
|
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
14
14
|
is_suspended: z.ZodBoolean;
|
|
@@ -33,8 +33,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
33
33
|
created_at: string;
|
|
34
34
|
acs_system_id: string;
|
|
35
35
|
workspace_id: string;
|
|
36
|
-
acs_user_id: string;
|
|
37
36
|
display_name: string;
|
|
37
|
+
acs_user_id: string;
|
|
38
38
|
is_suspended: boolean;
|
|
39
39
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
40
40
|
external_type_display_name?: string | undefined;
|
|
@@ -55,8 +55,8 @@ export declare const acs_user: z.ZodObject<{
|
|
|
55
55
|
created_at: string;
|
|
56
56
|
acs_system_id: string;
|
|
57
57
|
workspace_id: string;
|
|
58
|
-
acs_user_id: string;
|
|
59
58
|
display_name: string;
|
|
59
|
+
acs_user_id: string;
|
|
60
60
|
is_suspended: boolean;
|
|
61
61
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
62
62
|
external_type_display_name?: string | undefined;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const client_session: z.ZodObject<{
|
|
3
|
+
client_session_id: z.ZodString;
|
|
4
|
+
workspace_id: z.ZodString;
|
|
5
|
+
created_at: z.ZodString;
|
|
6
|
+
token: z.ZodString;
|
|
7
|
+
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
8
|
+
device_count: z.ZodNumber;
|
|
9
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
11
|
+
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
created_at: string;
|
|
14
|
+
workspace_id: string;
|
|
15
|
+
connected_account_ids: string[];
|
|
16
|
+
client_session_id: string;
|
|
17
|
+
token: string;
|
|
18
|
+
user_identifier_key: string | null;
|
|
19
|
+
device_count: number;
|
|
20
|
+
connect_webview_ids: string[];
|
|
21
|
+
user_identity_ids: string[];
|
|
22
|
+
}, {
|
|
23
|
+
created_at: string;
|
|
24
|
+
workspace_id: string;
|
|
25
|
+
connected_account_ids: string[];
|
|
26
|
+
client_session_id: string;
|
|
27
|
+
token: string;
|
|
28
|
+
user_identifier_key: string | null;
|
|
29
|
+
device_count: number;
|
|
30
|
+
connect_webview_ids: string[];
|
|
31
|
+
user_identity_ids: string[];
|
|
32
|
+
}>;
|