@seamapi/types 1.448.0 → 1.449.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 +20 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +35 -0
- package/dist/index.cjs +20 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +33 -0
- package/lib/seam/connect/openapi.js +17 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +19 -0
- package/src/lib/seam/connect/route-types.ts +4 -0
package/dist/connect.d.cts
CHANGED
|
@@ -55388,6 +55388,15 @@ declare const _default: {
|
|
|
55388
55388
|
'application/json': {
|
|
55389
55389
|
schema: {
|
|
55390
55390
|
properties: {
|
|
55391
|
+
accepted_capabilities: {
|
|
55392
|
+
description: string;
|
|
55393
|
+
items: {
|
|
55394
|
+
description: string;
|
|
55395
|
+
enum: string[];
|
|
55396
|
+
type: string;
|
|
55397
|
+
};
|
|
55398
|
+
type: string;
|
|
55399
|
+
};
|
|
55391
55400
|
automatically_manage_new_devices: {
|
|
55392
55401
|
description: string;
|
|
55393
55402
|
type: string;
|
|
@@ -65612,14 +65621,22 @@ declare const _default: {
|
|
|
65612
65621
|
pat_with_workspace: never[];
|
|
65613
65622
|
console_session_with_workspace?: never;
|
|
65614
65623
|
api_key?: never;
|
|
65624
|
+
client_session_with_customer?: never;
|
|
65615
65625
|
} | {
|
|
65616
65626
|
console_session_with_workspace: never[];
|
|
65617
65627
|
pat_with_workspace?: never;
|
|
65618
65628
|
api_key?: never;
|
|
65629
|
+
client_session_with_customer?: never;
|
|
65619
65630
|
} | {
|
|
65620
65631
|
api_key: never[];
|
|
65621
65632
|
pat_with_workspace?: never;
|
|
65622
65633
|
console_session_with_workspace?: never;
|
|
65634
|
+
client_session_with_customer?: never;
|
|
65635
|
+
} | {
|
|
65636
|
+
client_session_with_customer: never[];
|
|
65637
|
+
pat_with_workspace?: never;
|
|
65638
|
+
console_session_with_workspace?: never;
|
|
65639
|
+
api_key?: never;
|
|
65623
65640
|
})[];
|
|
65624
65641
|
summary: string;
|
|
65625
65642
|
tags: never[];
|
|
@@ -66177,14 +66194,22 @@ declare const _default: {
|
|
|
66177
66194
|
pat_with_workspace: never[];
|
|
66178
66195
|
console_session_with_workspace?: never;
|
|
66179
66196
|
api_key?: never;
|
|
66197
|
+
client_session_with_customer?: never;
|
|
66180
66198
|
} | {
|
|
66181
66199
|
console_session_with_workspace: never[];
|
|
66182
66200
|
pat_with_workspace?: never;
|
|
66183
66201
|
api_key?: never;
|
|
66202
|
+
client_session_with_customer?: never;
|
|
66184
66203
|
} | {
|
|
66185
66204
|
api_key: never[];
|
|
66186
66205
|
pat_with_workspace?: never;
|
|
66187
66206
|
console_session_with_workspace?: never;
|
|
66207
|
+
client_session_with_customer?: never;
|
|
66208
|
+
} | {
|
|
66209
|
+
client_session_with_customer: never[];
|
|
66210
|
+
pat_with_workspace?: never;
|
|
66211
|
+
console_session_with_workspace?: never;
|
|
66212
|
+
api_key?: never;
|
|
66188
66213
|
})[];
|
|
66189
66214
|
summary: string;
|
|
66190
66215
|
tags: never[];
|
|
@@ -66252,14 +66277,22 @@ declare const _default: {
|
|
|
66252
66277
|
pat_with_workspace: never[];
|
|
66253
66278
|
console_session_with_workspace?: never;
|
|
66254
66279
|
api_key?: never;
|
|
66280
|
+
client_session_with_customer?: never;
|
|
66255
66281
|
} | {
|
|
66256
66282
|
console_session_with_workspace: never[];
|
|
66257
66283
|
pat_with_workspace?: never;
|
|
66258
66284
|
api_key?: never;
|
|
66285
|
+
client_session_with_customer?: never;
|
|
66259
66286
|
} | {
|
|
66260
66287
|
api_key: never[];
|
|
66261
66288
|
pat_with_workspace?: never;
|
|
66262
66289
|
console_session_with_workspace?: never;
|
|
66290
|
+
client_session_with_customer?: never;
|
|
66291
|
+
} | {
|
|
66292
|
+
client_session_with_customer: never[];
|
|
66293
|
+
pat_with_workspace?: never;
|
|
66294
|
+
console_session_with_workspace?: never;
|
|
66295
|
+
api_key?: never;
|
|
66263
66296
|
})[];
|
|
66264
66297
|
summary: string;
|
|
66265
66298
|
tags: never[];
|
|
@@ -98796,6 +98829,8 @@ interface Routes {
|
|
|
98796
98829
|
automatically_manage_new_devices?: boolean | undefined;
|
|
98797
98830
|
/** Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
|
|
98798
98831
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
98832
|
+
/** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
|
|
98833
|
+
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control'> | undefined;
|
|
98799
98834
|
};
|
|
98800
98835
|
commonParams: {};
|
|
98801
98836
|
formData: {};
|
package/dist/index.cjs
CHANGED
|
@@ -39205,6 +39205,20 @@ var openapi_default = {
|
|
|
39205
39205
|
"application/json": {
|
|
39206
39206
|
schema: {
|
|
39207
39207
|
properties: {
|
|
39208
|
+
accepted_capabilities: {
|
|
39209
|
+
description: "List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`.",
|
|
39210
|
+
items: {
|
|
39211
|
+
description: "\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n",
|
|
39212
|
+
enum: [
|
|
39213
|
+
"lock",
|
|
39214
|
+
"thermostat",
|
|
39215
|
+
"noise_sensor",
|
|
39216
|
+
"access_control"
|
|
39217
|
+
],
|
|
39218
|
+
type: "string"
|
|
39219
|
+
},
|
|
39220
|
+
type: "array"
|
|
39221
|
+
},
|
|
39208
39222
|
automatically_manage_new_devices: {
|
|
39209
39223
|
description: "Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
|
|
39210
39224
|
type: "boolean"
|
|
@@ -48789,7 +48803,8 @@ var openapi_default = {
|
|
|
48789
48803
|
security: [
|
|
48790
48804
|
{ pat_with_workspace: [] },
|
|
48791
48805
|
{ console_session_with_workspace: [] },
|
|
48792
|
-
{ api_key: [] }
|
|
48806
|
+
{ api_key: [] },
|
|
48807
|
+
{ client_session_with_customer: [] }
|
|
48793
48808
|
],
|
|
48794
48809
|
summary: "/spaces/create",
|
|
48795
48810
|
tags: [],
|
|
@@ -49237,7 +49252,8 @@ var openapi_default = {
|
|
|
49237
49252
|
security: [
|
|
49238
49253
|
{ pat_with_workspace: [] },
|
|
49239
49254
|
{ console_session_with_workspace: [] },
|
|
49240
|
-
{ api_key: [] }
|
|
49255
|
+
{ api_key: [] },
|
|
49256
|
+
{ client_session_with_customer: [] }
|
|
49241
49257
|
],
|
|
49242
49258
|
summary: "/spaces/list",
|
|
49243
49259
|
tags: [],
|
|
@@ -49296,7 +49312,8 @@ var openapi_default = {
|
|
|
49296
49312
|
security: [
|
|
49297
49313
|
{ pat_with_workspace: [] },
|
|
49298
49314
|
{ console_session_with_workspace: [] },
|
|
49299
|
-
{ api_key: [] }
|
|
49315
|
+
{ api_key: [] },
|
|
49316
|
+
{ client_session_with_customer: [] }
|
|
49300
49317
|
],
|
|
49301
49318
|
summary: "/spaces/list",
|
|
49302
49319
|
tags: [],
|