@seamapi/types 1.345.2 → 1.346.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 +67 -0
- 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/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/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
|
@@ -12590,6 +12590,24 @@ export interface Routes {
|
|
|
12590
12590
|
}>;
|
|
12591
12591
|
};
|
|
12592
12592
|
};
|
|
12593
|
+
'/bridges/get': {
|
|
12594
|
+
route: '/bridges/get';
|
|
12595
|
+
method: 'GET' | 'POST';
|
|
12596
|
+
queryParams: {};
|
|
12597
|
+
jsonBody: {};
|
|
12598
|
+
commonParams: {
|
|
12599
|
+
bridge_id: string;
|
|
12600
|
+
};
|
|
12601
|
+
formData: {};
|
|
12602
|
+
jsonResponse: {
|
|
12603
|
+
/** */
|
|
12604
|
+
bridge: {
|
|
12605
|
+
bridge_id: string;
|
|
12606
|
+
workspace_id: string;
|
|
12607
|
+
created_at: string;
|
|
12608
|
+
};
|
|
12609
|
+
};
|
|
12610
|
+
};
|
|
12593
12611
|
'/client_sessions/create': {
|
|
12594
12612
|
route: '/client_sessions/create';
|
|
12595
12613
|
method: 'POST' | 'PUT';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,MAAM,EACN,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const bridge = z.object({
|
|
4
|
+
bridge_id: z.string().uuid(),
|
|
5
|
+
workspace_id: z.string().uuid(),
|
|
6
|
+
created_at: z.string().datetime(),
|
|
7
|
+
}).describe(`
|
|
8
|
+
---
|
|
9
|
+
undocumented: Unreleased.
|
|
10
|
+
route_path: /bridges
|
|
11
|
+
---
|
|
12
|
+
`)
|
|
13
|
+
export type Bridge = z.infer<typeof bridge>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './bridge.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'
|
|
@@ -19395,6 +19395,62 @@ export default {
|
|
|
19395
19395
|
'x-response-key': 'action_attempts',
|
|
19396
19396
|
},
|
|
19397
19397
|
},
|
|
19398
|
+
'/bridges/get': {
|
|
19399
|
+
post: {
|
|
19400
|
+
operationId: 'bridgesGetPost',
|
|
19401
|
+
requestBody: {
|
|
19402
|
+
content: {
|
|
19403
|
+
'application/json': {
|
|
19404
|
+
schema: {
|
|
19405
|
+
properties: { bridge_id: { format: 'uuid', type: 'string' } },
|
|
19406
|
+
required: ['bridge_id'],
|
|
19407
|
+
type: 'object',
|
|
19408
|
+
},
|
|
19409
|
+
},
|
|
19410
|
+
},
|
|
19411
|
+
},
|
|
19412
|
+
responses: {
|
|
19413
|
+
200: {
|
|
19414
|
+
content: {
|
|
19415
|
+
'application/json': {
|
|
19416
|
+
schema: {
|
|
19417
|
+
properties: {
|
|
19418
|
+
bridge: {
|
|
19419
|
+
properties: {
|
|
19420
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
19421
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
19422
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
19423
|
+
},
|
|
19424
|
+
required: ['bridge_id', 'workspace_id', 'created_at'],
|
|
19425
|
+
type: 'object',
|
|
19426
|
+
'x-route-path': '/bridges',
|
|
19427
|
+
'x-undocumented': 'Unreleased.',
|
|
19428
|
+
},
|
|
19429
|
+
ok: { type: 'boolean' },
|
|
19430
|
+
},
|
|
19431
|
+
required: ['bridge', 'ok'],
|
|
19432
|
+
type: 'object',
|
|
19433
|
+
},
|
|
19434
|
+
},
|
|
19435
|
+
},
|
|
19436
|
+
description: 'OK',
|
|
19437
|
+
},
|
|
19438
|
+
400: { description: 'Bad Request' },
|
|
19439
|
+
401: { description: 'Unauthorized' },
|
|
19440
|
+
},
|
|
19441
|
+
security: [
|
|
19442
|
+
{ pat_with_workspace: [] },
|
|
19443
|
+
{ console_session_with_workspace: [] },
|
|
19444
|
+
{ api_key: [] },
|
|
19445
|
+
],
|
|
19446
|
+
summary: '/bridges/get',
|
|
19447
|
+
tags: [],
|
|
19448
|
+
'x-fern-sdk-group-name': ['bridges'],
|
|
19449
|
+
'x-fern-sdk-method-name': 'get',
|
|
19450
|
+
'x-fern-sdk-return-value': 'bridge',
|
|
19451
|
+
'x-response-key': 'bridge',
|
|
19452
|
+
},
|
|
19453
|
+
},
|
|
19398
19454
|
'/client_sessions/create': {
|
|
19399
19455
|
post: {
|
|
19400
19456
|
operationId: 'clientSessionsCreatePost',
|
|
@@ -15083,6 +15083,24 @@ export interface Routes {
|
|
|
15083
15083
|
>
|
|
15084
15084
|
}
|
|
15085
15085
|
}
|
|
15086
|
+
'/bridges/get': {
|
|
15087
|
+
route: '/bridges/get'
|
|
15088
|
+
method: 'GET' | 'POST'
|
|
15089
|
+
queryParams: {}
|
|
15090
|
+
jsonBody: {}
|
|
15091
|
+
commonParams: {
|
|
15092
|
+
bridge_id: string
|
|
15093
|
+
}
|
|
15094
|
+
formData: {}
|
|
15095
|
+
jsonResponse: {
|
|
15096
|
+
/** */
|
|
15097
|
+
bridge: {
|
|
15098
|
+
bridge_id: string
|
|
15099
|
+
workspace_id: string
|
|
15100
|
+
created_at: string
|
|
15101
|
+
}
|
|
15102
|
+
}
|
|
15103
|
+
}
|
|
15086
15104
|
'/client_sessions/create': {
|
|
15087
15105
|
route: '/client_sessions/create'
|
|
15088
15106
|
method: 'POST' | 'PUT'
|