@seamapi/types 1.179.0 → 1.180.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -14
- 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/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/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 +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +4 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -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/schemas.ts +0 -1
- 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/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +4 -2
- package/src/lib/seam/connect/route-types.ts +10 -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: {
|
|
@@ -13127,15 +13160,23 @@ declare const _default: {
|
|
|
13127
13160
|
};
|
|
13128
13161
|
};
|
|
13129
13162
|
security: ({
|
|
13163
|
+
client_session: never[];
|
|
13164
|
+
api_key?: never;
|
|
13165
|
+
pat_with_workspace?: never;
|
|
13166
|
+
console_session?: never;
|
|
13167
|
+
} | {
|
|
13130
13168
|
api_key: never[];
|
|
13169
|
+
client_session?: never;
|
|
13131
13170
|
pat_with_workspace?: never;
|
|
13132
13171
|
console_session?: never;
|
|
13133
13172
|
} | {
|
|
13134
13173
|
pat_with_workspace: never[];
|
|
13174
|
+
client_session?: never;
|
|
13135
13175
|
api_key?: never;
|
|
13136
13176
|
console_session?: never;
|
|
13137
13177
|
} | {
|
|
13138
13178
|
console_session: never[];
|
|
13179
|
+
client_session?: never;
|
|
13139
13180
|
api_key?: never;
|
|
13140
13181
|
pat_with_workspace?: never;
|
|
13141
13182
|
})[];
|
|
@@ -13945,15 +13986,23 @@ declare const _default: {
|
|
|
13945
13986
|
};
|
|
13946
13987
|
};
|
|
13947
13988
|
security: ({
|
|
13989
|
+
client_session: never[];
|
|
13990
|
+
api_key?: never;
|
|
13991
|
+
pat_with_workspace?: never;
|
|
13992
|
+
console_session?: never;
|
|
13993
|
+
} | {
|
|
13948
13994
|
api_key: never[];
|
|
13995
|
+
client_session?: never;
|
|
13949
13996
|
pat_with_workspace?: never;
|
|
13950
13997
|
console_session?: never;
|
|
13951
13998
|
} | {
|
|
13952
13999
|
pat_with_workspace: never[];
|
|
14000
|
+
client_session?: never;
|
|
13953
14001
|
api_key?: never;
|
|
13954
14002
|
console_session?: never;
|
|
13955
14003
|
} | {
|
|
13956
14004
|
console_session: never[];
|
|
14005
|
+
client_session?: never;
|
|
13957
14006
|
api_key?: never;
|
|
13958
14007
|
pat_with_workspace?: never;
|
|
13959
14008
|
})[];
|
|
@@ -23497,14 +23546,14 @@ interface Routes {
|
|
|
23497
23546
|
jsonResponse: {
|
|
23498
23547
|
client_session: {
|
|
23499
23548
|
client_session_id: string;
|
|
23500
|
-
|
|
23549
|
+
workspace_id: string;
|
|
23501
23550
|
created_at: string;
|
|
23502
23551
|
token: string;
|
|
23552
|
+
user_identifier_key: string | null;
|
|
23503
23553
|
device_count: number;
|
|
23504
23554
|
connected_account_ids: string[];
|
|
23505
23555
|
connect_webview_ids: string[];
|
|
23506
23556
|
user_identity_ids: string[];
|
|
23507
|
-
workspace_id: string;
|
|
23508
23557
|
};
|
|
23509
23558
|
};
|
|
23510
23559
|
};
|
|
@@ -23532,14 +23581,14 @@ interface Routes {
|
|
|
23532
23581
|
jsonResponse: {
|
|
23533
23582
|
client_session: {
|
|
23534
23583
|
client_session_id: string;
|
|
23535
|
-
|
|
23584
|
+
workspace_id: string;
|
|
23536
23585
|
created_at: string;
|
|
23537
23586
|
token: string;
|
|
23587
|
+
user_identifier_key: string | null;
|
|
23538
23588
|
device_count: number;
|
|
23539
23589
|
connected_account_ids: string[];
|
|
23540
23590
|
connect_webview_ids: string[];
|
|
23541
23591
|
user_identity_ids: string[];
|
|
23542
|
-
workspace_id: string;
|
|
23543
23592
|
};
|
|
23544
23593
|
};
|
|
23545
23594
|
};
|
|
@@ -23559,14 +23608,14 @@ interface Routes {
|
|
|
23559
23608
|
jsonResponse: {
|
|
23560
23609
|
client_session: {
|
|
23561
23610
|
client_session_id: string;
|
|
23562
|
-
|
|
23611
|
+
workspace_id: string;
|
|
23563
23612
|
created_at: string;
|
|
23564
23613
|
token: string;
|
|
23614
|
+
user_identifier_key: string | null;
|
|
23565
23615
|
device_count: number;
|
|
23566
23616
|
connected_account_ids: string[];
|
|
23567
23617
|
connect_webview_ids: string[];
|
|
23568
23618
|
user_identity_ids: string[];
|
|
23569
|
-
workspace_id: string;
|
|
23570
23619
|
};
|
|
23571
23620
|
};
|
|
23572
23621
|
};
|
|
@@ -23586,14 +23635,14 @@ interface Routes {
|
|
|
23586
23635
|
jsonResponse: {
|
|
23587
23636
|
client_session: {
|
|
23588
23637
|
client_session_id: string;
|
|
23589
|
-
|
|
23638
|
+
workspace_id: string;
|
|
23590
23639
|
created_at: string;
|
|
23591
23640
|
token: string;
|
|
23641
|
+
user_identifier_key: string | null;
|
|
23592
23642
|
device_count: number;
|
|
23593
23643
|
connected_account_ids: string[];
|
|
23594
23644
|
connect_webview_ids: string[];
|
|
23595
23645
|
user_identity_ids: string[];
|
|
23596
|
-
workspace_id: string;
|
|
23597
23646
|
};
|
|
23598
23647
|
};
|
|
23599
23648
|
};
|
|
@@ -23613,14 +23662,14 @@ interface Routes {
|
|
|
23613
23662
|
jsonResponse: {
|
|
23614
23663
|
client_sessions: Array<{
|
|
23615
23664
|
client_session_id: string;
|
|
23616
|
-
|
|
23665
|
+
workspace_id: string;
|
|
23617
23666
|
created_at: string;
|
|
23618
23667
|
token: string;
|
|
23668
|
+
user_identifier_key: string | null;
|
|
23619
23669
|
device_count: number;
|
|
23620
23670
|
connected_account_ids: string[];
|
|
23621
23671
|
connect_webview_ids: string[];
|
|
23622
23672
|
user_identity_ids: string[];
|
|
23623
|
-
workspace_id: string;
|
|
23624
23673
|
}>;
|
|
23625
23674
|
};
|
|
23626
23675
|
};
|
|
@@ -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, 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, } 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, 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, } 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,
|
|
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,GACd,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -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
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const client_session = z.object({
|
|
3
|
+
client_session_id: z.string().uuid(),
|
|
4
|
+
workspace_id: z.string().uuid(),
|
|
5
|
+
created_at: z.string().datetime(),
|
|
6
|
+
token: z.string(),
|
|
7
|
+
user_identifier_key: z.string().nullable(),
|
|
8
|
+
device_count: z.number(),
|
|
9
|
+
connected_account_ids: z.array(z.string().uuid()),
|
|
10
|
+
connect_webview_ids: z.array(z.string().uuid()),
|
|
11
|
+
user_identity_ids: z.array(z.string().uuid()),
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=client-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IACjD,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IAC/C,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;CAC9C,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './client-session.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -2,39 +2,39 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const client_session_deleted_event: z.ZodObject<{
|
|
3
3
|
created_at: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
|
-
occurred_at: z.ZodString;
|
|
6
5
|
client_session_id: z.ZodString;
|
|
6
|
+
occurred_at: z.ZodString;
|
|
7
7
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
created_at: string;
|
|
10
10
|
workspace_id: string;
|
|
11
|
+
client_session_id: string;
|
|
11
12
|
occurred_at: string;
|
|
12
13
|
event_type: "client_session.deleted";
|
|
13
|
-
client_session_id: string;
|
|
14
14
|
}, {
|
|
15
15
|
created_at: string;
|
|
16
16
|
workspace_id: string;
|
|
17
|
+
client_session_id: string;
|
|
17
18
|
occurred_at: string;
|
|
18
19
|
event_type: "client_session.deleted";
|
|
19
|
-
client_session_id: string;
|
|
20
20
|
}>;
|
|
21
21
|
export type ClientSessionDeletedEvent = z.infer<typeof client_session_deleted_event>;
|
|
22
22
|
export declare const client_session_events: readonly [z.ZodObject<{
|
|
23
23
|
created_at: z.ZodString;
|
|
24
24
|
workspace_id: z.ZodString;
|
|
25
|
-
occurred_at: z.ZodString;
|
|
26
25
|
client_session_id: z.ZodString;
|
|
26
|
+
occurred_at: z.ZodString;
|
|
27
27
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
created_at: string;
|
|
30
30
|
workspace_id: string;
|
|
31
|
+
client_session_id: string;
|
|
31
32
|
occurred_at: string;
|
|
32
33
|
event_type: "client_session.deleted";
|
|
33
|
-
client_session_id: string;
|
|
34
34
|
}, {
|
|
35
35
|
created_at: string;
|
|
36
36
|
workspace_id: string;
|
|
37
|
+
client_session_id: string;
|
|
37
38
|
occurred_at: string;
|
|
38
39
|
event_type: "client_session.deleted";
|
|
39
|
-
client_session_id: string;
|
|
40
40
|
}>];
|
|
@@ -470,21 +470,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
470
470
|
}>, z.ZodObject<{
|
|
471
471
|
created_at: z.ZodString;
|
|
472
472
|
workspace_id: z.ZodString;
|
|
473
|
-
occurred_at: z.ZodString;
|
|
474
473
|
client_session_id: z.ZodString;
|
|
474
|
+
occurred_at: z.ZodString;
|
|
475
475
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
476
476
|
}, "strip", z.ZodTypeAny, {
|
|
477
477
|
created_at: string;
|
|
478
478
|
workspace_id: string;
|
|
479
|
+
client_session_id: string;
|
|
479
480
|
occurred_at: string;
|
|
480
481
|
event_type: "client_session.deleted";
|
|
481
|
-
client_session_id: string;
|
|
482
482
|
}, {
|
|
483
483
|
created_at: string;
|
|
484
484
|
workspace_id: string;
|
|
485
|
+
client_session_id: string;
|
|
485
486
|
occurred_at: string;
|
|
486
487
|
event_type: "client_session.deleted";
|
|
487
|
-
client_session_id: string;
|
|
488
488
|
}>, z.ZodObject<{
|
|
489
489
|
created_at: z.ZodString;
|
|
490
490
|
workspace_id: z.ZodString;
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js';
|
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
4
|
export * from './capability-properties/index.js';
|
|
5
|
+
export * from './client-sessions/index.js';
|
|
5
6
|
export * from './connect-webviews/index.js';
|
|
6
7
|
export * from './custom-metadata.js';
|
|
7
8
|
export * from './devices/index.js';
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js';
|
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
4
|
export * from './capability-properties/index.js';
|
|
5
|
+
export * from './client-sessions/index.js';
|
|
5
6
|
export * from './connect-webviews/index.js';
|
|
6
7
|
export * from './custom-metadata.js';
|
|
7
8
|
export * from './devices/index.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,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
|
|
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,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
|
|
@@ -10788,15 +10788,23 @@ declare const _default: {
|
|
|
10788
10788
|
};
|
|
10789
10789
|
};
|
|
10790
10790
|
security: ({
|
|
10791
|
+
client_session: never[];
|
|
10792
|
+
api_key?: never;
|
|
10793
|
+
pat_with_workspace?: never;
|
|
10794
|
+
console_session?: never;
|
|
10795
|
+
} | {
|
|
10791
10796
|
api_key: never[];
|
|
10797
|
+
client_session?: never;
|
|
10792
10798
|
pat_with_workspace?: never;
|
|
10793
10799
|
console_session?: never;
|
|
10794
10800
|
} | {
|
|
10795
10801
|
pat_with_workspace: never[];
|
|
10802
|
+
client_session?: never;
|
|
10796
10803
|
api_key?: never;
|
|
10797
10804
|
console_session?: never;
|
|
10798
10805
|
} | {
|
|
10799
10806
|
console_session: never[];
|
|
10807
|
+
client_session?: never;
|
|
10800
10808
|
api_key?: never;
|
|
10801
10809
|
pat_with_workspace?: never;
|
|
10802
10810
|
})[];
|
|
@@ -11606,15 +11614,23 @@ declare const _default: {
|
|
|
11606
11614
|
};
|
|
11607
11615
|
};
|
|
11608
11616
|
security: ({
|
|
11617
|
+
client_session: never[];
|
|
11618
|
+
api_key?: never;
|
|
11619
|
+
pat_with_workspace?: never;
|
|
11620
|
+
console_session?: never;
|
|
11621
|
+
} | {
|
|
11609
11622
|
api_key: never[];
|
|
11623
|
+
client_session?: never;
|
|
11610
11624
|
pat_with_workspace?: never;
|
|
11611
11625
|
console_session?: never;
|
|
11612
11626
|
} | {
|
|
11613
11627
|
pat_with_workspace: never[];
|
|
11628
|
+
client_session?: never;
|
|
11614
11629
|
api_key?: never;
|
|
11615
11630
|
console_session?: never;
|
|
11616
11631
|
} | {
|
|
11617
11632
|
console_session: never[];
|
|
11633
|
+
client_session?: never;
|
|
11618
11634
|
api_key?: never;
|
|
11619
11635
|
pat_with_workspace?: never;
|
|
11620
11636
|
})[];
|
|
@@ -1568,14 +1568,14 @@ export default {
|
|
|
1568
1568
|
},
|
|
1569
1569
|
required: [
|
|
1570
1570
|
'client_session_id',
|
|
1571
|
-
'
|
|
1571
|
+
'workspace_id',
|
|
1572
1572
|
'created_at',
|
|
1573
1573
|
'token',
|
|
1574
|
+
'user_identifier_key',
|
|
1574
1575
|
'device_count',
|
|
1575
1576
|
'connected_account_ids',
|
|
1576
1577
|
'connect_webview_ids',
|
|
1577
1578
|
'user_identity_ids',
|
|
1578
|
-
'workspace_id',
|
|
1579
1579
|
],
|
|
1580
1580
|
type: 'object',
|
|
1581
1581
|
},
|
|
@@ -9072,6 +9072,7 @@ export default {
|
|
|
9072
9072
|
401: { description: 'Unauthorized' },
|
|
9073
9073
|
},
|
|
9074
9074
|
security: [
|
|
9075
|
+
{ client_session: [] },
|
|
9075
9076
|
{ api_key: [] },
|
|
9076
9077
|
{ pat_with_workspace: [] },
|
|
9077
9078
|
{ console_session: [] },
|
|
@@ -9765,6 +9766,7 @@ export default {
|
|
|
9765
9766
|
401: { description: 'Unauthorized' },
|
|
9766
9767
|
},
|
|
9767
9768
|
security: [
|
|
9769
|
+
{ client_session: [] },
|
|
9768
9770
|
{ api_key: [] },
|
|
9769
9771
|
{ pat_with_workspace: [] },
|
|
9770
9772
|
{ console_session: [] },
|