@seamapi/types 1.574.0 → 1.576.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 +15 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +20 -1
- package/dist/index.cjs +15 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +15 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +18 -2
- package/src/lib/seam/connect/route-types.ts +5 -1
package/dist/connect.d.cts
CHANGED
|
@@ -79599,6 +79599,13 @@ declare const _default: {
|
|
|
79599
79599
|
type: string;
|
|
79600
79600
|
'x-undocumented': string;
|
|
79601
79601
|
};
|
|
79602
|
+
excluded_providers: {
|
|
79603
|
+
description: string;
|
|
79604
|
+
items: {
|
|
79605
|
+
type: string;
|
|
79606
|
+
};
|
|
79607
|
+
type: string;
|
|
79608
|
+
};
|
|
79602
79609
|
provider_category: {
|
|
79603
79610
|
description: string;
|
|
79604
79611
|
enum: string[];
|
|
@@ -99658,6 +99665,10 @@ declare const _default: {
|
|
|
99658
99665
|
format: string;
|
|
99659
99666
|
type: string;
|
|
99660
99667
|
};
|
|
99668
|
+
user_identity_key: {
|
|
99669
|
+
description: string;
|
|
99670
|
+
type: string;
|
|
99671
|
+
};
|
|
99661
99672
|
};
|
|
99662
99673
|
required: string[];
|
|
99663
99674
|
type: string;
|
|
@@ -99727,6 +99738,10 @@ declare const _default: {
|
|
|
99727
99738
|
format: string;
|
|
99728
99739
|
type: string;
|
|
99729
99740
|
};
|
|
99741
|
+
user_identity_key: {
|
|
99742
|
+
description: string;
|
|
99743
|
+
type: string;
|
|
99744
|
+
};
|
|
99730
99745
|
};
|
|
99731
99746
|
required: string[];
|
|
99732
99747
|
type: string;
|
|
@@ -134744,6 +134759,8 @@ type Routes = {
|
|
|
134744
134759
|
wait_for_device_creation?: boolean;
|
|
134745
134760
|
/** List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers. */
|
|
134746
134761
|
accepted_capabilities?: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[] | undefined;
|
|
134762
|
+
/** List of provider keys to exclude from the Connect Webview. These providers will not be shown when the user tries to connect an account. */
|
|
134763
|
+
excluded_providers?: string[] | undefined;
|
|
134747
134764
|
};
|
|
134748
134765
|
commonParams: {};
|
|
134749
134766
|
formData: {};
|
|
@@ -180698,7 +180715,9 @@ type Routes = {
|
|
|
180698
180715
|
jsonBody: {};
|
|
180699
180716
|
commonParams: {
|
|
180700
180717
|
/** ID of the user identity to which you want to add an access system user. */
|
|
180701
|
-
user_identity_id
|
|
180718
|
+
user_identity_id?: string | undefined;
|
|
180719
|
+
/** Key of the user identity to which you want to add an access system user. */
|
|
180720
|
+
user_identity_key?: string | undefined;
|
|
180702
180721
|
/** ID of the access system user that you want to add to the user identity. */
|
|
180703
180722
|
acs_user_id: string;
|
|
180704
180723
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -39995,6 +39995,11 @@ var openapi_default = {
|
|
|
39995
39995
|
type: "string",
|
|
39996
39996
|
"x-undocumented": "Not supported."
|
|
39997
39997
|
},
|
|
39998
|
+
excluded_providers: {
|
|
39999
|
+
description: "List of provider keys to exclude from the Connect Webview. These providers will not be shown when the user tries to connect an account.",
|
|
40000
|
+
items: { type: "string" },
|
|
40001
|
+
type: "array"
|
|
40002
|
+
},
|
|
39998
40003
|
provider_category: {
|
|
39999
40004
|
description: "Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with the desired `provider_category` filter.",
|
|
40000
40005
|
enum: [
|
|
@@ -57950,9 +57955,13 @@ var openapi_default = {
|
|
|
57950
57955
|
description: "ID of the user identity to which you want to add an access system user.",
|
|
57951
57956
|
format: "uuid",
|
|
57952
57957
|
type: "string"
|
|
57958
|
+
},
|
|
57959
|
+
user_identity_key: {
|
|
57960
|
+
description: "Key of the user identity to which you want to add an access system user.",
|
|
57961
|
+
type: "string"
|
|
57953
57962
|
}
|
|
57954
57963
|
},
|
|
57955
|
-
required: ["
|
|
57964
|
+
required: ["acs_user_id"],
|
|
57956
57965
|
type: "object"
|
|
57957
57966
|
}
|
|
57958
57967
|
}
|
|
@@ -58003,9 +58012,13 @@ var openapi_default = {
|
|
|
58003
58012
|
description: "ID of the user identity to which you want to add an access system user.",
|
|
58004
58013
|
format: "uuid",
|
|
58005
58014
|
type: "string"
|
|
58015
|
+
},
|
|
58016
|
+
user_identity_key: {
|
|
58017
|
+
description: "Key of the user identity to which you want to add an access system user.",
|
|
58018
|
+
type: "string"
|
|
58006
58019
|
}
|
|
58007
58020
|
},
|
|
58008
|
-
required: ["
|
|
58021
|
+
required: ["acs_user_id"],
|
|
58009
58022
|
type: "object"
|
|
58010
58023
|
}
|
|
58011
58024
|
}
|