@seamapi/types 1.447.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 +26 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +39 -28
- package/dist/index.cjs +26 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +35 -27
- package/lib/seam/connect/openapi.js +23 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +27 -6
- package/src/lib/seam/connect/route-types.ts +6 -1
package/dist/connect.d.cts
CHANGED
|
@@ -55077,7 +55077,6 @@ declare const _default: {
|
|
|
55077
55077
|
description: string;
|
|
55078
55078
|
type: string;
|
|
55079
55079
|
additionalProperties?: never;
|
|
55080
|
-
items?: never;
|
|
55081
55080
|
minLength?: never;
|
|
55082
55081
|
default?: never;
|
|
55083
55082
|
exclusiveMinimum?: never;
|
|
@@ -55095,24 +55094,6 @@ declare const _default: {
|
|
|
55095
55094
|
};
|
|
55096
55095
|
description: string;
|
|
55097
55096
|
type: string;
|
|
55098
|
-
items?: never;
|
|
55099
|
-
minLength?: never;
|
|
55100
|
-
default?: never;
|
|
55101
|
-
exclusiveMinimum?: never;
|
|
55102
|
-
minimum?: never;
|
|
55103
|
-
nullable?: never;
|
|
55104
|
-
};
|
|
55105
|
-
} | {
|
|
55106
|
-
in: string;
|
|
55107
|
-
name: string;
|
|
55108
|
-
schema: {
|
|
55109
|
-
items: {
|
|
55110
|
-
format: string;
|
|
55111
|
-
type: string;
|
|
55112
|
-
};
|
|
55113
|
-
type: string;
|
|
55114
|
-
description?: never;
|
|
55115
|
-
additionalProperties?: never;
|
|
55116
55097
|
minLength?: never;
|
|
55117
55098
|
default?: never;
|
|
55118
55099
|
exclusiveMinimum?: never;
|
|
@@ -55127,7 +55108,6 @@ declare const _default: {
|
|
|
55127
55108
|
minLength: number;
|
|
55128
55109
|
type: string;
|
|
55129
55110
|
additionalProperties?: never;
|
|
55130
|
-
items?: never;
|
|
55131
55111
|
default?: never;
|
|
55132
55112
|
exclusiveMinimum?: never;
|
|
55133
55113
|
minimum?: never;
|
|
@@ -55143,7 +55123,6 @@ declare const _default: {
|
|
|
55143
55123
|
minimum: number;
|
|
55144
55124
|
type: string;
|
|
55145
55125
|
additionalProperties?: never;
|
|
55146
|
-
items?: never;
|
|
55147
55126
|
minLength?: never;
|
|
55148
55127
|
nullable?: never;
|
|
55149
55128
|
};
|
|
@@ -55155,7 +55134,6 @@ declare const _default: {
|
|
|
55155
55134
|
nullable: boolean;
|
|
55156
55135
|
type: string;
|
|
55157
55136
|
additionalProperties?: never;
|
|
55158
|
-
items?: never;
|
|
55159
55137
|
minLength?: never;
|
|
55160
55138
|
default?: never;
|
|
55161
55139
|
exclusiveMinimum?: never;
|
|
@@ -55241,11 +55219,8 @@ declare const _default: {
|
|
|
55241
55219
|
description: string;
|
|
55242
55220
|
type: string;
|
|
55243
55221
|
};
|
|
55244
|
-
|
|
55245
|
-
|
|
55246
|
-
format: string;
|
|
55247
|
-
type: string;
|
|
55248
|
-
};
|
|
55222
|
+
customer_key: {
|
|
55223
|
+
description: string;
|
|
55249
55224
|
type: string;
|
|
55250
55225
|
};
|
|
55251
55226
|
limit: {
|
|
@@ -55413,6 +55388,15 @@ declare const _default: {
|
|
|
55413
55388
|
'application/json': {
|
|
55414
55389
|
schema: {
|
|
55415
55390
|
properties: {
|
|
55391
|
+
accepted_capabilities: {
|
|
55392
|
+
description: string;
|
|
55393
|
+
items: {
|
|
55394
|
+
description: string;
|
|
55395
|
+
enum: string[];
|
|
55396
|
+
type: string;
|
|
55397
|
+
};
|
|
55398
|
+
type: string;
|
|
55399
|
+
};
|
|
55416
55400
|
automatically_manage_new_devices: {
|
|
55417
55401
|
description: string;
|
|
55418
55402
|
type: string;
|
|
@@ -65637,14 +65621,22 @@ declare const _default: {
|
|
|
65637
65621
|
pat_with_workspace: never[];
|
|
65638
65622
|
console_session_with_workspace?: never;
|
|
65639
65623
|
api_key?: never;
|
|
65624
|
+
client_session_with_customer?: never;
|
|
65640
65625
|
} | {
|
|
65641
65626
|
console_session_with_workspace: never[];
|
|
65642
65627
|
pat_with_workspace?: never;
|
|
65643
65628
|
api_key?: never;
|
|
65629
|
+
client_session_with_customer?: never;
|
|
65644
65630
|
} | {
|
|
65645
65631
|
api_key: never[];
|
|
65646
65632
|
pat_with_workspace?: never;
|
|
65647
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;
|
|
65648
65640
|
})[];
|
|
65649
65641
|
summary: string;
|
|
65650
65642
|
tags: never[];
|
|
@@ -66202,14 +66194,22 @@ declare const _default: {
|
|
|
66202
66194
|
pat_with_workspace: never[];
|
|
66203
66195
|
console_session_with_workspace?: never;
|
|
66204
66196
|
api_key?: never;
|
|
66197
|
+
client_session_with_customer?: never;
|
|
66205
66198
|
} | {
|
|
66206
66199
|
console_session_with_workspace: never[];
|
|
66207
66200
|
pat_with_workspace?: never;
|
|
66208
66201
|
api_key?: never;
|
|
66202
|
+
client_session_with_customer?: never;
|
|
66209
66203
|
} | {
|
|
66210
66204
|
api_key: never[];
|
|
66211
66205
|
pat_with_workspace?: never;
|
|
66212
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;
|
|
66213
66213
|
})[];
|
|
66214
66214
|
summary: string;
|
|
66215
66215
|
tags: never[];
|
|
@@ -66277,14 +66277,22 @@ declare const _default: {
|
|
|
66277
66277
|
pat_with_workspace: never[];
|
|
66278
66278
|
console_session_with_workspace?: never;
|
|
66279
66279
|
api_key?: never;
|
|
66280
|
+
client_session_with_customer?: never;
|
|
66280
66281
|
} | {
|
|
66281
66282
|
console_session_with_workspace: never[];
|
|
66282
66283
|
pat_with_workspace?: never;
|
|
66283
66284
|
api_key?: never;
|
|
66285
|
+
client_session_with_customer?: never;
|
|
66284
66286
|
} | {
|
|
66285
66287
|
api_key: never[];
|
|
66286
66288
|
pat_with_workspace?: never;
|
|
66287
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;
|
|
66288
66296
|
})[];
|
|
66289
66297
|
summary: string;
|
|
66290
66298
|
tags: never[];
|
|
@@ -98648,7 +98656,8 @@ interface Routes {
|
|
|
98648
98656
|
user_identifier_key?: string | undefined;
|
|
98649
98657
|
/** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
98650
98658
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
98651
|
-
|
|
98659
|
+
/** Customer key by which you want to filter connected accounts. */
|
|
98660
|
+
customer_key?: string | undefined;
|
|
98652
98661
|
/** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
|
|
98653
98662
|
search?: string | undefined;
|
|
98654
98663
|
/** Maximum number of records to return per page. */
|
|
@@ -98820,6 +98829,8 @@ interface Routes {
|
|
|
98820
98829
|
automatically_manage_new_devices?: boolean | undefined;
|
|
98821
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). */
|
|
98822
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;
|
|
98823
98834
|
};
|
|
98824
98835
|
commonParams: {};
|
|
98825
98836
|
formData: {};
|
package/dist/index.cjs
CHANGED
|
@@ -38989,10 +38989,10 @@ var openapi_default = {
|
|
|
38989
38989
|
},
|
|
38990
38990
|
{
|
|
38991
38991
|
in: "query",
|
|
38992
|
-
name: "
|
|
38992
|
+
name: "customer_key",
|
|
38993
38993
|
schema: {
|
|
38994
|
-
|
|
38995
|
-
type: "
|
|
38994
|
+
description: "Customer key by which you want to filter connected accounts.",
|
|
38995
|
+
type: "string"
|
|
38996
38996
|
}
|
|
38997
38997
|
},
|
|
38998
38998
|
{
|
|
@@ -39077,9 +39077,9 @@ var openapi_default = {
|
|
|
39077
39077
|
description: "Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs.",
|
|
39078
39078
|
type: "object"
|
|
39079
39079
|
},
|
|
39080
|
-
|
|
39081
|
-
|
|
39082
|
-
type: "
|
|
39080
|
+
customer_key: {
|
|
39081
|
+
description: "Customer key by which you want to filter connected accounts.",
|
|
39082
|
+
type: "string"
|
|
39083
39083
|
},
|
|
39084
39084
|
limit: {
|
|
39085
39085
|
default: 11e3,
|
|
@@ -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: [],
|