@seamapi/types 1.383.0 → 1.384.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 +92 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +159 -2
- 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/model-types.d.ts +1 -1
- 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/models/instant-keys/index.d.ts +1 -0
- package/lib/seam/connect/models/instant-keys/index.js +2 -0
- package/lib/seam/connect/models/instant-keys/index.js.map +1 -0
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +27 -0
- package/lib/seam/connect/models/instant-keys/instant-key.js +16 -0
- package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +106 -0
- package/lib/seam/connect/openapi.js +77 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -0
- 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 +1 -0
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/instant-keys/index.ts +1 -0
- package/src/lib/seam/connect/models/instant-keys/instant-key.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +79 -0
- package/src/lib/seam/connect/route-types.ts +23 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -19641,6 +19641,33 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19641
19641
|
type SeamEvent = z.infer<typeof seam_event>;
|
|
19642
19642
|
type SeamEventType = SeamEvent['event_type'];
|
|
19643
19643
|
|
|
19644
|
+
declare const instant_key: z.ZodObject<{
|
|
19645
|
+
instant_key_id: z.ZodString;
|
|
19646
|
+
workspace_id: z.ZodString;
|
|
19647
|
+
created_at: z.ZodString;
|
|
19648
|
+
instant_key_url: z.ZodString;
|
|
19649
|
+
client_session_id: z.ZodString;
|
|
19650
|
+
user_identity_id: z.ZodString;
|
|
19651
|
+
expires_at: z.ZodString;
|
|
19652
|
+
}, "strip", z.ZodTypeAny, {
|
|
19653
|
+
created_at: string;
|
|
19654
|
+
workspace_id: string;
|
|
19655
|
+
user_identity_id: string;
|
|
19656
|
+
client_session_id: string;
|
|
19657
|
+
expires_at: string;
|
|
19658
|
+
instant_key_id: string;
|
|
19659
|
+
instant_key_url: string;
|
|
19660
|
+
}, {
|
|
19661
|
+
created_at: string;
|
|
19662
|
+
workspace_id: string;
|
|
19663
|
+
user_identity_id: string;
|
|
19664
|
+
client_session_id: string;
|
|
19665
|
+
expires_at: string;
|
|
19666
|
+
instant_key_id: string;
|
|
19667
|
+
instant_key_url: string;
|
|
19668
|
+
}>;
|
|
19669
|
+
type InstantKey = z.infer<typeof instant_key>;
|
|
19670
|
+
|
|
19644
19671
|
declare const noise_threshold: z.ZodObject<{
|
|
19645
19672
|
noise_threshold_id: z.ZodString;
|
|
19646
19673
|
device_id: z.ZodString;
|
|
@@ -19824,6 +19851,7 @@ declare const schemas_connected_account: typeof connected_account;
|
|
|
19824
19851
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
19825
19852
|
declare const schemas_device: typeof device;
|
|
19826
19853
|
declare const schemas_device_provider: typeof device_provider;
|
|
19854
|
+
declare const schemas_instant_key: typeof instant_key;
|
|
19827
19855
|
declare const schemas_noise_threshold: typeof noise_threshold;
|
|
19828
19856
|
declare const schemas_pagination: typeof pagination;
|
|
19829
19857
|
declare const schemas_seam_event: typeof seam_event;
|
|
@@ -19837,7 +19865,7 @@ declare const schemas_user_identity: typeof user_identity;
|
|
|
19837
19865
|
declare const schemas_webhook: typeof webhook;
|
|
19838
19866
|
declare const schemas_workspace: typeof workspace;
|
|
19839
19867
|
declare namespace schemas {
|
|
19840
|
-
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_schedule as thermostat_schedule, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
19868
|
+
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_schedule as thermostat_schedule, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
19841
19869
|
}
|
|
19842
19870
|
|
|
19843
19871
|
declare const _default: {
|
|
@@ -27464,6 +27492,42 @@ declare const _default: {
|
|
|
27464
27492
|
})[];
|
|
27465
27493
|
'x-route-path': string;
|
|
27466
27494
|
};
|
|
27495
|
+
instant_key: {
|
|
27496
|
+
properties: {
|
|
27497
|
+
client_session_id: {
|
|
27498
|
+
format: string;
|
|
27499
|
+
type: string;
|
|
27500
|
+
};
|
|
27501
|
+
created_at: {
|
|
27502
|
+
format: string;
|
|
27503
|
+
type: string;
|
|
27504
|
+
};
|
|
27505
|
+
expires_at: {
|
|
27506
|
+
format: string;
|
|
27507
|
+
type: string;
|
|
27508
|
+
};
|
|
27509
|
+
instant_key_id: {
|
|
27510
|
+
format: string;
|
|
27511
|
+
type: string;
|
|
27512
|
+
};
|
|
27513
|
+
instant_key_url: {
|
|
27514
|
+
format: string;
|
|
27515
|
+
type: string;
|
|
27516
|
+
};
|
|
27517
|
+
user_identity_id: {
|
|
27518
|
+
format: string;
|
|
27519
|
+
type: string;
|
|
27520
|
+
};
|
|
27521
|
+
workspace_id: {
|
|
27522
|
+
format: string;
|
|
27523
|
+
type: string;
|
|
27524
|
+
};
|
|
27525
|
+
};
|
|
27526
|
+
required: string[];
|
|
27527
|
+
type: string;
|
|
27528
|
+
'x-route-path': string;
|
|
27529
|
+
'x-undocumented': string;
|
|
27530
|
+
};
|
|
27467
27531
|
network: {
|
|
27468
27532
|
properties: {
|
|
27469
27533
|
created_at: {
|
|
@@ -46746,6 +46810,76 @@ declare const _default: {
|
|
|
46746
46810
|
'x-title': string;
|
|
46747
46811
|
};
|
|
46748
46812
|
};
|
|
46813
|
+
'/user_identities/generate_instant_key': {
|
|
46814
|
+
post: {
|
|
46815
|
+
description: string;
|
|
46816
|
+
operationId: string;
|
|
46817
|
+
requestBody: {
|
|
46818
|
+
content: {
|
|
46819
|
+
'application/json': {
|
|
46820
|
+
schema: {
|
|
46821
|
+
properties: {
|
|
46822
|
+
user_identity_id: {
|
|
46823
|
+
description: string;
|
|
46824
|
+
format: string;
|
|
46825
|
+
type: string;
|
|
46826
|
+
};
|
|
46827
|
+
};
|
|
46828
|
+
required: string[];
|
|
46829
|
+
type: string;
|
|
46830
|
+
};
|
|
46831
|
+
};
|
|
46832
|
+
};
|
|
46833
|
+
};
|
|
46834
|
+
responses: {
|
|
46835
|
+
200: {
|
|
46836
|
+
content: {
|
|
46837
|
+
'application/json': {
|
|
46838
|
+
schema: {
|
|
46839
|
+
properties: {
|
|
46840
|
+
instant_key: {
|
|
46841
|
+
$ref: string;
|
|
46842
|
+
};
|
|
46843
|
+
ok: {
|
|
46844
|
+
type: string;
|
|
46845
|
+
};
|
|
46846
|
+
};
|
|
46847
|
+
required: string[];
|
|
46848
|
+
type: string;
|
|
46849
|
+
};
|
|
46850
|
+
};
|
|
46851
|
+
};
|
|
46852
|
+
description: string;
|
|
46853
|
+
};
|
|
46854
|
+
400: {
|
|
46855
|
+
description: string;
|
|
46856
|
+
};
|
|
46857
|
+
401: {
|
|
46858
|
+
description: string;
|
|
46859
|
+
};
|
|
46860
|
+
};
|
|
46861
|
+
security: ({
|
|
46862
|
+
api_key: never[];
|
|
46863
|
+
pat_with_workspace?: never;
|
|
46864
|
+
console_session_with_workspace?: never;
|
|
46865
|
+
} | {
|
|
46866
|
+
pat_with_workspace: never[];
|
|
46867
|
+
api_key?: never;
|
|
46868
|
+
console_session_with_workspace?: never;
|
|
46869
|
+
} | {
|
|
46870
|
+
console_session_with_workspace: never[];
|
|
46871
|
+
api_key?: never;
|
|
46872
|
+
pat_with_workspace?: never;
|
|
46873
|
+
})[];
|
|
46874
|
+
summary: string;
|
|
46875
|
+
tags: string[];
|
|
46876
|
+
'x-fern-sdk-group-name': string[];
|
|
46877
|
+
'x-fern-sdk-method-name': string;
|
|
46878
|
+
'x-fern-sdk-return-value': string;
|
|
46879
|
+
'x-response-key': string;
|
|
46880
|
+
'x-title': string;
|
|
46881
|
+
};
|
|
46882
|
+
};
|
|
46749
46883
|
'/user_identities/get': {
|
|
46750
46884
|
post: {
|
|
46751
46885
|
description: string;
|
|
@@ -89052,6 +89186,29 @@ interface Routes {
|
|
|
89052
89186
|
}>;
|
|
89053
89187
|
};
|
|
89054
89188
|
};
|
|
89189
|
+
'/user_identities/generate_instant_key': {
|
|
89190
|
+
route: '/user_identities/generate_instant_key';
|
|
89191
|
+
method: 'POST';
|
|
89192
|
+
queryParams: {};
|
|
89193
|
+
jsonBody: {};
|
|
89194
|
+
commonParams: {
|
|
89195
|
+
/** ID of the user identity for which you want to generate an instant key. */
|
|
89196
|
+
user_identity_id: string;
|
|
89197
|
+
};
|
|
89198
|
+
formData: {};
|
|
89199
|
+
jsonResponse: {
|
|
89200
|
+
/** */
|
|
89201
|
+
instant_key: {
|
|
89202
|
+
instant_key_id: string;
|
|
89203
|
+
workspace_id: string;
|
|
89204
|
+
created_at: string;
|
|
89205
|
+
instant_key_url: string;
|
|
89206
|
+
client_session_id: string;
|
|
89207
|
+
user_identity_id: string;
|
|
89208
|
+
expires_at: string;
|
|
89209
|
+
};
|
|
89210
|
+
};
|
|
89211
|
+
};
|
|
89055
89212
|
'/user_identities/get': {
|
|
89056
89213
|
route: '/user_identities/get';
|
|
89057
89214
|
method: 'GET' | 'POST';
|
|
@@ -92021,4 +92178,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
92021
92178
|
|
|
92022
92179
|
declare const routes: {};
|
|
92023
92180
|
|
|
92024
|
-
export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|
|
92181
|
+
export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, access_grant, access_method, 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, bridge, bridge_client_session, bridge_connected_system, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, location, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, access_grant, access_method, 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, bridge, bridge_client_session, bridge_connected_system, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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, access_grant, access_method, 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, bridge, bridge_client_session, bridge_connected_system, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, location, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, access_grant, access_method, 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, bridge, bridge_client_session, bridge_connected_system, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, 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,YAAY,EACZ,aAAa,EACb,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,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,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,YAAY,EACZ,aAAa,EACb,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,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, ClientSession, ConnectedAccount, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
|
|
1
|
+
export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, ClientSession, ConnectedAccount, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
|
|
@@ -10,6 +10,7 @@ export * from './connected-accounts/index.js';
|
|
|
10
10
|
export * from './custom-metadata.js';
|
|
11
11
|
export * from './devices/index.js';
|
|
12
12
|
export * from './events/index.js';
|
|
13
|
+
export * from './instant-keys/index.js';
|
|
13
14
|
export * from './locations/index.js';
|
|
14
15
|
export * from './noise-sensors/index.js';
|
|
15
16
|
export * from './pagination.js';
|
|
@@ -10,6 +10,7 @@ export * from './connected-accounts/index.js';
|
|
|
10
10
|
export * from './custom-metadata.js';
|
|
11
11
|
export * from './devices/index.js';
|
|
12
12
|
export * from './events/index.js';
|
|
13
|
+
export * from './instant-keys/index.js';
|
|
13
14
|
export * from './locations/index.js';
|
|
14
15
|
export * from './noise-sensors/index.js';
|
|
15
16
|
export * from './pagination.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,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,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,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './instant-key.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/instant-keys/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const instant_key: z.ZodObject<{
|
|
3
|
+
instant_key_id: z.ZodString;
|
|
4
|
+
workspace_id: z.ZodString;
|
|
5
|
+
created_at: z.ZodString;
|
|
6
|
+
instant_key_url: z.ZodString;
|
|
7
|
+
client_session_id: z.ZodString;
|
|
8
|
+
user_identity_id: z.ZodString;
|
|
9
|
+
expires_at: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
created_at: string;
|
|
12
|
+
workspace_id: string;
|
|
13
|
+
user_identity_id: string;
|
|
14
|
+
client_session_id: string;
|
|
15
|
+
expires_at: string;
|
|
16
|
+
instant_key_id: string;
|
|
17
|
+
instant_key_url: string;
|
|
18
|
+
}, {
|
|
19
|
+
created_at: string;
|
|
20
|
+
workspace_id: string;
|
|
21
|
+
user_identity_id: string;
|
|
22
|
+
client_session_id: string;
|
|
23
|
+
expires_at: string;
|
|
24
|
+
instant_key_id: string;
|
|
25
|
+
instant_key_url: string;
|
|
26
|
+
}>;
|
|
27
|
+
export type InstantKey = z.infer<typeof instant_key>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const instant_key = z.object({
|
|
3
|
+
instant_key_id: z.string().uuid(),
|
|
4
|
+
workspace_id: z.string().uuid(),
|
|
5
|
+
created_at: z.string().datetime(),
|
|
6
|
+
instant_key_url: z.string().url(),
|
|
7
|
+
client_session_id: z.string().uuid(),
|
|
8
|
+
user_identity_id: z.string().uuid(),
|
|
9
|
+
expires_at: z.string().datetime(),
|
|
10
|
+
}).describe(`
|
|
11
|
+
---
|
|
12
|
+
route_path: /user_identities
|
|
13
|
+
undocumented: Unreleased.
|
|
14
|
+
---
|
|
15
|
+
`);
|
|
16
|
+
//# sourceMappingURL=instant-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instant-key.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/instant-keys/instant-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -7622,6 +7622,42 @@ declare const _default: {
|
|
|
7622
7622
|
})[];
|
|
7623
7623
|
'x-route-path': string;
|
|
7624
7624
|
};
|
|
7625
|
+
instant_key: {
|
|
7626
|
+
properties: {
|
|
7627
|
+
client_session_id: {
|
|
7628
|
+
format: string;
|
|
7629
|
+
type: string;
|
|
7630
|
+
};
|
|
7631
|
+
created_at: {
|
|
7632
|
+
format: string;
|
|
7633
|
+
type: string;
|
|
7634
|
+
};
|
|
7635
|
+
expires_at: {
|
|
7636
|
+
format: string;
|
|
7637
|
+
type: string;
|
|
7638
|
+
};
|
|
7639
|
+
instant_key_id: {
|
|
7640
|
+
format: string;
|
|
7641
|
+
type: string;
|
|
7642
|
+
};
|
|
7643
|
+
instant_key_url: {
|
|
7644
|
+
format: string;
|
|
7645
|
+
type: string;
|
|
7646
|
+
};
|
|
7647
|
+
user_identity_id: {
|
|
7648
|
+
format: string;
|
|
7649
|
+
type: string;
|
|
7650
|
+
};
|
|
7651
|
+
workspace_id: {
|
|
7652
|
+
format: string;
|
|
7653
|
+
type: string;
|
|
7654
|
+
};
|
|
7655
|
+
};
|
|
7656
|
+
required: string[];
|
|
7657
|
+
type: string;
|
|
7658
|
+
'x-route-path': string;
|
|
7659
|
+
'x-undocumented': string;
|
|
7660
|
+
};
|
|
7625
7661
|
network: {
|
|
7626
7662
|
properties: {
|
|
7627
7663
|
created_at: {
|
|
@@ -26904,6 +26940,76 @@ declare const _default: {
|
|
|
26904
26940
|
'x-title': string;
|
|
26905
26941
|
};
|
|
26906
26942
|
};
|
|
26943
|
+
'/user_identities/generate_instant_key': {
|
|
26944
|
+
post: {
|
|
26945
|
+
description: string;
|
|
26946
|
+
operationId: string;
|
|
26947
|
+
requestBody: {
|
|
26948
|
+
content: {
|
|
26949
|
+
'application/json': {
|
|
26950
|
+
schema: {
|
|
26951
|
+
properties: {
|
|
26952
|
+
user_identity_id: {
|
|
26953
|
+
description: string;
|
|
26954
|
+
format: string;
|
|
26955
|
+
type: string;
|
|
26956
|
+
};
|
|
26957
|
+
};
|
|
26958
|
+
required: string[];
|
|
26959
|
+
type: string;
|
|
26960
|
+
};
|
|
26961
|
+
};
|
|
26962
|
+
};
|
|
26963
|
+
};
|
|
26964
|
+
responses: {
|
|
26965
|
+
200: {
|
|
26966
|
+
content: {
|
|
26967
|
+
'application/json': {
|
|
26968
|
+
schema: {
|
|
26969
|
+
properties: {
|
|
26970
|
+
instant_key: {
|
|
26971
|
+
$ref: string;
|
|
26972
|
+
};
|
|
26973
|
+
ok: {
|
|
26974
|
+
type: string;
|
|
26975
|
+
};
|
|
26976
|
+
};
|
|
26977
|
+
required: string[];
|
|
26978
|
+
type: string;
|
|
26979
|
+
};
|
|
26980
|
+
};
|
|
26981
|
+
};
|
|
26982
|
+
description: string;
|
|
26983
|
+
};
|
|
26984
|
+
400: {
|
|
26985
|
+
description: string;
|
|
26986
|
+
};
|
|
26987
|
+
401: {
|
|
26988
|
+
description: string;
|
|
26989
|
+
};
|
|
26990
|
+
};
|
|
26991
|
+
security: ({
|
|
26992
|
+
api_key: never[];
|
|
26993
|
+
pat_with_workspace?: never;
|
|
26994
|
+
console_session_with_workspace?: never;
|
|
26995
|
+
} | {
|
|
26996
|
+
pat_with_workspace: never[];
|
|
26997
|
+
api_key?: never;
|
|
26998
|
+
console_session_with_workspace?: never;
|
|
26999
|
+
} | {
|
|
27000
|
+
console_session_with_workspace: never[];
|
|
27001
|
+
api_key?: never;
|
|
27002
|
+
pat_with_workspace?: never;
|
|
27003
|
+
})[];
|
|
27004
|
+
summary: string;
|
|
27005
|
+
tags: string[];
|
|
27006
|
+
'x-fern-sdk-group-name': string[];
|
|
27007
|
+
'x-fern-sdk-method-name': string;
|
|
27008
|
+
'x-fern-sdk-return-value': string;
|
|
27009
|
+
'x-response-key': string;
|
|
27010
|
+
'x-title': string;
|
|
27011
|
+
};
|
|
27012
|
+
};
|
|
26907
27013
|
'/user_identities/get': {
|
|
26908
27014
|
post: {
|
|
26909
27015
|
description: string;
|
|
@@ -12502,6 +12502,29 @@ export default {
|
|
|
12502
12502
|
],
|
|
12503
12503
|
'x-route-path': '/events',
|
|
12504
12504
|
},
|
|
12505
|
+
instant_key: {
|
|
12506
|
+
properties: {
|
|
12507
|
+
client_session_id: { format: 'uuid', type: 'string' },
|
|
12508
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12509
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
12510
|
+
instant_key_id: { format: 'uuid', type: 'string' },
|
|
12511
|
+
instant_key_url: { format: 'uri', type: 'string' },
|
|
12512
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
12513
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
12514
|
+
},
|
|
12515
|
+
required: [
|
|
12516
|
+
'instant_key_id',
|
|
12517
|
+
'workspace_id',
|
|
12518
|
+
'created_at',
|
|
12519
|
+
'instant_key_url',
|
|
12520
|
+
'client_session_id',
|
|
12521
|
+
'user_identity_id',
|
|
12522
|
+
'expires_at',
|
|
12523
|
+
],
|
|
12524
|
+
type: 'object',
|
|
12525
|
+
'x-route-path': '/user_identities',
|
|
12526
|
+
'x-undocumented': 'Unreleased.',
|
|
12527
|
+
},
|
|
12505
12528
|
network: {
|
|
12506
12529
|
properties: {
|
|
12507
12530
|
created_at: { format: 'date-time', type: 'string' },
|
|
@@ -30237,6 +30260,60 @@ export default {
|
|
|
30237
30260
|
'x-title': 'List Enrollment Automations',
|
|
30238
30261
|
},
|
|
30239
30262
|
},
|
|
30263
|
+
'/user_identities/generate_instant_key': {
|
|
30264
|
+
post: {
|
|
30265
|
+
description: 'Generates a new [instant key](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/instant-keys) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
30266
|
+
operationId: 'userIdentitiesGenerateInstantKeyPost',
|
|
30267
|
+
requestBody: {
|
|
30268
|
+
content: {
|
|
30269
|
+
'application/json': {
|
|
30270
|
+
schema: {
|
|
30271
|
+
properties: {
|
|
30272
|
+
user_identity_id: {
|
|
30273
|
+
description: 'ID of the user identity for which you want to generate an instant key.',
|
|
30274
|
+
format: 'uuid',
|
|
30275
|
+
type: 'string',
|
|
30276
|
+
},
|
|
30277
|
+
},
|
|
30278
|
+
required: ['user_identity_id'],
|
|
30279
|
+
type: 'object',
|
|
30280
|
+
},
|
|
30281
|
+
},
|
|
30282
|
+
},
|
|
30283
|
+
},
|
|
30284
|
+
responses: {
|
|
30285
|
+
200: {
|
|
30286
|
+
content: {
|
|
30287
|
+
'application/json': {
|
|
30288
|
+
schema: {
|
|
30289
|
+
properties: {
|
|
30290
|
+
instant_key: { $ref: '#/components/schemas/instant_key' },
|
|
30291
|
+
ok: { type: 'boolean' },
|
|
30292
|
+
},
|
|
30293
|
+
required: ['instant_key', 'ok'],
|
|
30294
|
+
type: 'object',
|
|
30295
|
+
},
|
|
30296
|
+
},
|
|
30297
|
+
},
|
|
30298
|
+
description: 'OK',
|
|
30299
|
+
},
|
|
30300
|
+
400: { description: 'Bad Request' },
|
|
30301
|
+
401: { description: 'Unauthorized' },
|
|
30302
|
+
},
|
|
30303
|
+
security: [
|
|
30304
|
+
{ api_key: [] },
|
|
30305
|
+
{ pat_with_workspace: [] },
|
|
30306
|
+
{ console_session_with_workspace: [] },
|
|
30307
|
+
],
|
|
30308
|
+
summary: '/user_identities/generate_instant_key',
|
|
30309
|
+
tags: ['/user_identities'],
|
|
30310
|
+
'x-fern-sdk-group-name': ['user_identities'],
|
|
30311
|
+
'x-fern-sdk-method-name': 'generate_instant_key',
|
|
30312
|
+
'x-fern-sdk-return-value': 'instant_key',
|
|
30313
|
+
'x-response-key': 'instant_key',
|
|
30314
|
+
'x-title': 'Generate an Instant Key',
|
|
30315
|
+
},
|
|
30316
|
+
},
|
|
30240
30317
|
'/user_identities/get': {
|
|
30241
30318
|
post: {
|
|
30242
30319
|
description: 'Returns a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|