@seamapi/types 1.345.2 → 1.347.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 +70 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +120 -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/bridges/bridge.d.ts +15 -0
- package/lib/seam/connect/models/bridges/bridge.js +12 -0
- package/lib/seam/connect/models/bridges/bridge.js.map +1 -0
- package/lib/seam/connect/models/bridges/index.d.ts +1 -0
- package/lib/seam/connect/models/bridges/index.js +2 -0
- package/lib/seam/connect/models/bridges/index.js.map +1 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +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/openapi.d.ts +84 -0
- package/lib/seam/connect/openapi.js +56 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -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/bridges/bridge.ts +13 -0
- package/src/lib/seam/connect/models/bridges/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +56 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -7591,6 +7591,21 @@ declare const common_failed_action_attempt: z.ZodObject<z.objectUtil.extendShape
|
|
|
7591
7591
|
result: null;
|
|
7592
7592
|
}>;
|
|
7593
7593
|
|
|
7594
|
+
declare const bridge: z.ZodObject<{
|
|
7595
|
+
bridge_id: z.ZodString;
|
|
7596
|
+
workspace_id: z.ZodString;
|
|
7597
|
+
created_at: z.ZodString;
|
|
7598
|
+
}, "strip", z.ZodTypeAny, {
|
|
7599
|
+
created_at: string;
|
|
7600
|
+
bridge_id: string;
|
|
7601
|
+
workspace_id: string;
|
|
7602
|
+
}, {
|
|
7603
|
+
created_at: string;
|
|
7604
|
+
bridge_id: string;
|
|
7605
|
+
workspace_id: string;
|
|
7606
|
+
}>;
|
|
7607
|
+
type Bridge = z.infer<typeof bridge>;
|
|
7608
|
+
|
|
7594
7609
|
declare const client_session: z.ZodObject<{
|
|
7595
7610
|
client_session_id: z.ZodString;
|
|
7596
7611
|
workspace_id: z.ZodString;
|
|
@@ -16559,6 +16574,7 @@ declare const schemas_acs_entrance: typeof acs_entrance;
|
|
|
16559
16574
|
declare const schemas_acs_system: typeof acs_system;
|
|
16560
16575
|
declare const schemas_acs_user: typeof acs_user;
|
|
16561
16576
|
declare const schemas_action_attempt: typeof action_attempt;
|
|
16577
|
+
declare const schemas_bridge: typeof bridge;
|
|
16562
16578
|
declare const schemas_client_session: typeof client_session;
|
|
16563
16579
|
declare const schemas_common_failed_action_attempt: typeof common_failed_action_attempt;
|
|
16564
16580
|
declare const schemas_common_pending_action_attempt: typeof common_pending_action_attempt;
|
|
@@ -16580,7 +16596,7 @@ declare const schemas_user_identity: typeof user_identity;
|
|
|
16580
16596
|
declare const schemas_webhook: typeof webhook;
|
|
16581
16597
|
declare const schemas_workspace: typeof workspace;
|
|
16582
16598
|
declare namespace schemas {
|
|
16583
|
-
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_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_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 };
|
|
16599
|
+
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_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_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 };
|
|
16584
16600
|
}
|
|
16585
16601
|
|
|
16586
16602
|
declare const _default: {
|
|
@@ -31278,6 +31294,90 @@ declare const _default: {
|
|
|
31278
31294
|
'x-response-key': string;
|
|
31279
31295
|
};
|
|
31280
31296
|
};
|
|
31297
|
+
'/bridges/get': {
|
|
31298
|
+
post: {
|
|
31299
|
+
operationId: string;
|
|
31300
|
+
requestBody: {
|
|
31301
|
+
content: {
|
|
31302
|
+
'application/json': {
|
|
31303
|
+
schema: {
|
|
31304
|
+
properties: {
|
|
31305
|
+
bridge_id: {
|
|
31306
|
+
format: string;
|
|
31307
|
+
type: string;
|
|
31308
|
+
};
|
|
31309
|
+
};
|
|
31310
|
+
required: string[];
|
|
31311
|
+
type: string;
|
|
31312
|
+
};
|
|
31313
|
+
};
|
|
31314
|
+
};
|
|
31315
|
+
};
|
|
31316
|
+
responses: {
|
|
31317
|
+
200: {
|
|
31318
|
+
content: {
|
|
31319
|
+
'application/json': {
|
|
31320
|
+
schema: {
|
|
31321
|
+
properties: {
|
|
31322
|
+
bridge: {
|
|
31323
|
+
properties: {
|
|
31324
|
+
bridge_id: {
|
|
31325
|
+
format: string;
|
|
31326
|
+
type: string;
|
|
31327
|
+
};
|
|
31328
|
+
created_at: {
|
|
31329
|
+
format: string;
|
|
31330
|
+
type: string;
|
|
31331
|
+
};
|
|
31332
|
+
workspace_id: {
|
|
31333
|
+
format: string;
|
|
31334
|
+
type: string;
|
|
31335
|
+
};
|
|
31336
|
+
};
|
|
31337
|
+
required: string[];
|
|
31338
|
+
type: string;
|
|
31339
|
+
'x-route-path': string;
|
|
31340
|
+
'x-undocumented': string;
|
|
31341
|
+
};
|
|
31342
|
+
ok: {
|
|
31343
|
+
type: string;
|
|
31344
|
+
};
|
|
31345
|
+
};
|
|
31346
|
+
required: string[];
|
|
31347
|
+
type: string;
|
|
31348
|
+
};
|
|
31349
|
+
};
|
|
31350
|
+
};
|
|
31351
|
+
description: string;
|
|
31352
|
+
};
|
|
31353
|
+
400: {
|
|
31354
|
+
description: string;
|
|
31355
|
+
};
|
|
31356
|
+
401: {
|
|
31357
|
+
description: string;
|
|
31358
|
+
};
|
|
31359
|
+
};
|
|
31360
|
+
security: ({
|
|
31361
|
+
pat_with_workspace: never[];
|
|
31362
|
+
console_session_with_workspace?: never;
|
|
31363
|
+
api_key?: never;
|
|
31364
|
+
} | {
|
|
31365
|
+
console_session_with_workspace: never[];
|
|
31366
|
+
pat_with_workspace?: never;
|
|
31367
|
+
api_key?: never;
|
|
31368
|
+
} | {
|
|
31369
|
+
api_key: never[];
|
|
31370
|
+
pat_with_workspace?: never;
|
|
31371
|
+
console_session_with_workspace?: never;
|
|
31372
|
+
})[];
|
|
31373
|
+
summary: string;
|
|
31374
|
+
tags: never[];
|
|
31375
|
+
'x-fern-sdk-group-name': string[];
|
|
31376
|
+
'x-fern-sdk-method-name': string;
|
|
31377
|
+
'x-fern-sdk-return-value': string;
|
|
31378
|
+
'x-response-key': string;
|
|
31379
|
+
};
|
|
31380
|
+
};
|
|
31281
31381
|
'/client_sessions/create': {
|
|
31282
31382
|
post: {
|
|
31283
31383
|
operationId: string;
|
|
@@ -53083,6 +53183,24 @@ interface Routes {
|
|
|
53083
53183
|
}>;
|
|
53084
53184
|
};
|
|
53085
53185
|
};
|
|
53186
|
+
'/bridges/get': {
|
|
53187
|
+
route: '/bridges/get';
|
|
53188
|
+
method: 'GET' | 'POST';
|
|
53189
|
+
queryParams: {};
|
|
53190
|
+
jsonBody: {};
|
|
53191
|
+
commonParams: {
|
|
53192
|
+
bridge_id: string;
|
|
53193
|
+
};
|
|
53194
|
+
formData: {};
|
|
53195
|
+
jsonResponse: {
|
|
53196
|
+
/** */
|
|
53197
|
+
bridge: {
|
|
53198
|
+
bridge_id: string;
|
|
53199
|
+
workspace_id: string;
|
|
53200
|
+
created_at: string;
|
|
53201
|
+
};
|
|
53202
|
+
};
|
|
53203
|
+
};
|
|
53086
53204
|
'/client_sessions/create': {
|
|
53087
53205
|
route: '/client_sessions/create';
|
|
53088
53206
|
method: 'POST' | 'PUT';
|
|
@@ -77861,4 +77979,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
77861
77979
|
|
|
77862
77980
|
declare const routes: {};
|
|
77863
77981
|
|
|
77864
|
-
export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, 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 };
|
|
77982
|
+
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 ConnectedAccountError, type ConnectedAccountWarning, 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 };
|
|
@@ -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_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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, 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, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, 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, 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_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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, 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, 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, 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, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, 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,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,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,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,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,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,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,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,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, ClientSession, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, 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, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bridge: z.ZodObject<{
|
|
3
|
+
bridge_id: z.ZodString;
|
|
4
|
+
workspace_id: z.ZodString;
|
|
5
|
+
created_at: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
created_at: string;
|
|
8
|
+
bridge_id: string;
|
|
9
|
+
workspace_id: string;
|
|
10
|
+
}, {
|
|
11
|
+
created_at: string;
|
|
12
|
+
bridge_id: string;
|
|
13
|
+
workspace_id: string;
|
|
14
|
+
}>;
|
|
15
|
+
export type Bridge = z.infer<typeof bridge>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const bridge = z.object({
|
|
3
|
+
bridge_id: z.string().uuid(),
|
|
4
|
+
workspace_id: z.string().uuid(),
|
|
5
|
+
created_at: z.string().datetime(),
|
|
6
|
+
}).describe(`
|
|
7
|
+
---
|
|
8
|
+
undocumented: Unreleased.
|
|
9
|
+
route_path: /bridges
|
|
10
|
+
---
|
|
11
|
+
`);
|
|
12
|
+
//# sourceMappingURL=bridge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './bridge.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -53,8 +53,8 @@ export declare const ALL_DEVICE_PROVIDERS: [
|
|
|
53
53
|
];
|
|
54
54
|
export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
|
|
55
55
|
export declare const PROVIDER_CATEGORY_MAP: {
|
|
56
|
-
readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch"];
|
|
57
|
-
readonly consumer_smartlocks: readonly ["august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
56
|
+
readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch", "akiles"];
|
|
57
|
+
readonly consumer_smartlocks: readonly ["akiles", "august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
58
58
|
readonly thermostats: readonly ["ecobee", "nest"];
|
|
59
59
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
60
60
|
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "assa_abloy_vostio"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,6BAA6B,EAAE,+BAA+B;IAC9D,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,mBAAmB;IAC3B,oCAAoC,EAAE,sCAAsC;IAC5E,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;CAClB,CAAA;AAKV,MAAM,CAAC,MAAM,oBAAoB,GAG7B,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAQ,CAAA;AAI1C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE;QACN,QAAQ;QACR,eAAe;QACf,OAAO;QACP,SAAS;QACT,aAAa;QACb,MAAM;QACN,MAAM;QACN,OAAO;QACP,cAAc;QACd,OAAO;QACP,OAAO;QACP,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,WAAW;QACX,QAAQ;QACR,aAAa;QACb,QAAQ;QACR,MAAM;QACN,MAAM;QACN,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,YAAY;QACZ,+BAA+B;QAC/B,OAAO;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAA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CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;GAI/C,CAAC,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './access-codes/index.js';
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
|
+
export * from './bridges/index.js';
|
|
4
5
|
export * from './client-sessions/index.js';
|
|
5
6
|
export * from './connect-webviews/index.js';
|
|
6
7
|
export * from './connected-accounts/index.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './access-codes/index.js';
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
|
+
export * from './bridges/index.js';
|
|
4
5
|
export * from './client-sessions/index.js';
|
|
5
6
|
export * from './connect-webviews/index.js';
|
|
6
7
|
export * from './connected-accounts/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,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,0BAA0B,CAAA;AACxC,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,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,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,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|
|
@@ -14693,6 +14693,90 @@ declare const _default: {
|
|
|
14693
14693
|
'x-response-key': string;
|
|
14694
14694
|
};
|
|
14695
14695
|
};
|
|
14696
|
+
'/bridges/get': {
|
|
14697
|
+
post: {
|
|
14698
|
+
operationId: string;
|
|
14699
|
+
requestBody: {
|
|
14700
|
+
content: {
|
|
14701
|
+
'application/json': {
|
|
14702
|
+
schema: {
|
|
14703
|
+
properties: {
|
|
14704
|
+
bridge_id: {
|
|
14705
|
+
format: string;
|
|
14706
|
+
type: string;
|
|
14707
|
+
};
|
|
14708
|
+
};
|
|
14709
|
+
required: string[];
|
|
14710
|
+
type: string;
|
|
14711
|
+
};
|
|
14712
|
+
};
|
|
14713
|
+
};
|
|
14714
|
+
};
|
|
14715
|
+
responses: {
|
|
14716
|
+
200: {
|
|
14717
|
+
content: {
|
|
14718
|
+
'application/json': {
|
|
14719
|
+
schema: {
|
|
14720
|
+
properties: {
|
|
14721
|
+
bridge: {
|
|
14722
|
+
properties: {
|
|
14723
|
+
bridge_id: {
|
|
14724
|
+
format: string;
|
|
14725
|
+
type: string;
|
|
14726
|
+
};
|
|
14727
|
+
created_at: {
|
|
14728
|
+
format: string;
|
|
14729
|
+
type: string;
|
|
14730
|
+
};
|
|
14731
|
+
workspace_id: {
|
|
14732
|
+
format: string;
|
|
14733
|
+
type: string;
|
|
14734
|
+
};
|
|
14735
|
+
};
|
|
14736
|
+
required: string[];
|
|
14737
|
+
type: string;
|
|
14738
|
+
'x-route-path': string;
|
|
14739
|
+
'x-undocumented': string;
|
|
14740
|
+
};
|
|
14741
|
+
ok: {
|
|
14742
|
+
type: string;
|
|
14743
|
+
};
|
|
14744
|
+
};
|
|
14745
|
+
required: string[];
|
|
14746
|
+
type: string;
|
|
14747
|
+
};
|
|
14748
|
+
};
|
|
14749
|
+
};
|
|
14750
|
+
description: string;
|
|
14751
|
+
};
|
|
14752
|
+
400: {
|
|
14753
|
+
description: string;
|
|
14754
|
+
};
|
|
14755
|
+
401: {
|
|
14756
|
+
description: string;
|
|
14757
|
+
};
|
|
14758
|
+
};
|
|
14759
|
+
security: ({
|
|
14760
|
+
pat_with_workspace: never[];
|
|
14761
|
+
console_session_with_workspace?: never;
|
|
14762
|
+
api_key?: never;
|
|
14763
|
+
} | {
|
|
14764
|
+
console_session_with_workspace: never[];
|
|
14765
|
+
pat_with_workspace?: never;
|
|
14766
|
+
api_key?: never;
|
|
14767
|
+
} | {
|
|
14768
|
+
api_key: never[];
|
|
14769
|
+
pat_with_workspace?: never;
|
|
14770
|
+
console_session_with_workspace?: never;
|
|
14771
|
+
})[];
|
|
14772
|
+
summary: string;
|
|
14773
|
+
tags: never[];
|
|
14774
|
+
'x-fern-sdk-group-name': string[];
|
|
14775
|
+
'x-fern-sdk-method-name': string;
|
|
14776
|
+
'x-fern-sdk-return-value': string;
|
|
14777
|
+
'x-response-key': string;
|
|
14778
|
+
};
|
|
14779
|
+
};
|
|
14696
14780
|
'/client_sessions/create': {
|
|
14697
14781
|
post: {
|
|
14698
14782
|
operationId: string;
|
|
@@ -18216,6 +18216,62 @@ export default {
|
|
|
18216
18216
|
'x-response-key': 'action_attempts',
|
|
18217
18217
|
},
|
|
18218
18218
|
},
|
|
18219
|
+
'/bridges/get': {
|
|
18220
|
+
post: {
|
|
18221
|
+
operationId: 'bridgesGetPost',
|
|
18222
|
+
requestBody: {
|
|
18223
|
+
content: {
|
|
18224
|
+
'application/json': {
|
|
18225
|
+
schema: {
|
|
18226
|
+
properties: { bridge_id: { format: 'uuid', type: 'string' } },
|
|
18227
|
+
required: ['bridge_id'],
|
|
18228
|
+
type: 'object',
|
|
18229
|
+
},
|
|
18230
|
+
},
|
|
18231
|
+
},
|
|
18232
|
+
},
|
|
18233
|
+
responses: {
|
|
18234
|
+
200: {
|
|
18235
|
+
content: {
|
|
18236
|
+
'application/json': {
|
|
18237
|
+
schema: {
|
|
18238
|
+
properties: {
|
|
18239
|
+
bridge: {
|
|
18240
|
+
properties: {
|
|
18241
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
18242
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
18243
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
18244
|
+
},
|
|
18245
|
+
required: ['bridge_id', 'workspace_id', 'created_at'],
|
|
18246
|
+
type: 'object',
|
|
18247
|
+
'x-route-path': '/bridges',
|
|
18248
|
+
'x-undocumented': 'Unreleased.',
|
|
18249
|
+
},
|
|
18250
|
+
ok: { type: 'boolean' },
|
|
18251
|
+
},
|
|
18252
|
+
required: ['bridge', 'ok'],
|
|
18253
|
+
type: 'object',
|
|
18254
|
+
},
|
|
18255
|
+
},
|
|
18256
|
+
},
|
|
18257
|
+
description: 'OK',
|
|
18258
|
+
},
|
|
18259
|
+
400: { description: 'Bad Request' },
|
|
18260
|
+
401: { description: 'Unauthorized' },
|
|
18261
|
+
},
|
|
18262
|
+
security: [
|
|
18263
|
+
{ pat_with_workspace: [] },
|
|
18264
|
+
{ console_session_with_workspace: [] },
|
|
18265
|
+
{ api_key: [] },
|
|
18266
|
+
],
|
|
18267
|
+
summary: '/bridges/get',
|
|
18268
|
+
tags: [],
|
|
18269
|
+
'x-fern-sdk-group-name': ['bridges'],
|
|
18270
|
+
'x-fern-sdk-method-name': 'get',
|
|
18271
|
+
'x-fern-sdk-return-value': 'bridge',
|
|
18272
|
+
'x-response-key': 'bridge',
|
|
18273
|
+
},
|
|
18274
|
+
},
|
|
18219
18275
|
'/client_sessions/create': {
|
|
18220
18276
|
post: {
|
|
18221
18277
|
operationId: 'clientSessionsCreatePost',
|