@seamapi/types 1.717.0 → 1.719.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 +19 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +36 -6
- package/dist/index.cjs +19 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -3
- 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/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +18 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +20 -0
- package/src/lib/seam/connect/route-types.ts +5 -0
package/dist/connect.d.cts
CHANGED
|
@@ -46344,7 +46344,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46344
46344
|
device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
|
|
46345
46345
|
display_name: z.ZodString;
|
|
46346
46346
|
image_url: z.ZodString;
|
|
46347
|
-
provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
|
|
46347
|
+
provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
|
|
46348
46348
|
} & {
|
|
46349
46349
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
46350
46350
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -46369,7 +46369,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46369
46369
|
display_name: string;
|
|
46370
46370
|
image_url: string;
|
|
46371
46371
|
device_provider_name: DeviceProviderName;
|
|
46372
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46372
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46373
46373
|
can_remotely_unlock?: boolean | undefined;
|
|
46374
46374
|
can_remotely_lock?: boolean | undefined;
|
|
46375
46375
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -46393,7 +46393,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46393
46393
|
display_name: string;
|
|
46394
46394
|
image_url: string;
|
|
46395
46395
|
device_provider_name: DeviceProviderName;
|
|
46396
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46396
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46397
46397
|
can_remotely_unlock?: boolean | undefined;
|
|
46398
46398
|
can_remotely_lock?: boolean | undefined;
|
|
46399
46399
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -112672,6 +112672,10 @@ declare const _default: {
|
|
|
112672
112672
|
name: string;
|
|
112673
112673
|
schema: {
|
|
112674
112674
|
description: string;
|
|
112675
|
+
items: {
|
|
112676
|
+
format: string;
|
|
112677
|
+
type: string;
|
|
112678
|
+
};
|
|
112675
112679
|
type: string;
|
|
112676
112680
|
format?: never;
|
|
112677
112681
|
default?: never;
|
|
@@ -112679,6 +112683,19 @@ declare const _default: {
|
|
|
112679
112683
|
minimum?: never;
|
|
112680
112684
|
nullable?: never;
|
|
112681
112685
|
};
|
|
112686
|
+
} | {
|
|
112687
|
+
in: string;
|
|
112688
|
+
name: string;
|
|
112689
|
+
schema: {
|
|
112690
|
+
description: string;
|
|
112691
|
+
type: string;
|
|
112692
|
+
items?: never;
|
|
112693
|
+
format?: never;
|
|
112694
|
+
default?: never;
|
|
112695
|
+
exclusiveMinimum?: never;
|
|
112696
|
+
minimum?: never;
|
|
112697
|
+
nullable?: never;
|
|
112698
|
+
};
|
|
112682
112699
|
} | {
|
|
112683
112700
|
in: string;
|
|
112684
112701
|
name: string;
|
|
@@ -112686,6 +112703,7 @@ declare const _default: {
|
|
|
112686
112703
|
description: string;
|
|
112687
112704
|
format: string;
|
|
112688
112705
|
type: string;
|
|
112706
|
+
items?: never;
|
|
112689
112707
|
default?: never;
|
|
112690
112708
|
exclusiveMinimum?: never;
|
|
112691
112709
|
minimum?: never;
|
|
@@ -112700,6 +112718,7 @@ declare const _default: {
|
|
|
112700
112718
|
exclusiveMinimum: boolean;
|
|
112701
112719
|
minimum: number;
|
|
112702
112720
|
type: string;
|
|
112721
|
+
items?: never;
|
|
112703
112722
|
format?: never;
|
|
112704
112723
|
nullable?: never;
|
|
112705
112724
|
};
|
|
@@ -112710,6 +112729,7 @@ declare const _default: {
|
|
|
112710
112729
|
description: string;
|
|
112711
112730
|
nullable: boolean;
|
|
112712
112731
|
type: string;
|
|
112732
|
+
items?: never;
|
|
112713
112733
|
format?: never;
|
|
112714
112734
|
default?: never;
|
|
112715
112735
|
exclusiveMinimum?: never;
|
|
@@ -112812,6 +112832,14 @@ declare const _default: {
|
|
|
112812
112832
|
description: string;
|
|
112813
112833
|
type: string;
|
|
112814
112834
|
};
|
|
112835
|
+
user_identity_ids: {
|
|
112836
|
+
description: string;
|
|
112837
|
+
items: {
|
|
112838
|
+
format: string;
|
|
112839
|
+
type: string;
|
|
112840
|
+
};
|
|
112841
|
+
type: string;
|
|
112842
|
+
};
|
|
112815
112843
|
};
|
|
112816
112844
|
type: string;
|
|
112817
112845
|
};
|
|
@@ -142951,7 +142979,7 @@ type Routes = {
|
|
|
142951
142979
|
/** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters. */
|
|
142952
142980
|
accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'kwikset2' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
142953
142981
|
/** 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. */
|
|
142954
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
142982
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
142955
142983
|
/** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/latest/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
|
|
142956
142984
|
custom_metadata?: {
|
|
142957
142985
|
[x: string]: string | boolean | null;
|
|
@@ -147103,7 +147131,7 @@ type Routes = {
|
|
|
147103
147131
|
jsonBody: {};
|
|
147104
147132
|
commonParams: {
|
|
147105
147133
|
/** Category for which you want to list providers. */
|
|
147106
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems') | undefined;
|
|
147134
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems') | undefined;
|
|
147107
147135
|
};
|
|
147108
147136
|
formData: {};
|
|
147109
147137
|
jsonResponse: {
|
|
@@ -147111,7 +147139,7 @@ type Routes = {
|
|
|
147111
147139
|
device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'kwikset2' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq';
|
|
147112
147140
|
display_name: string;
|
|
147113
147141
|
image_url: string;
|
|
147114
|
-
provider_categories: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems')[];
|
|
147142
|
+
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems')[];
|
|
147115
147143
|
can_remotely_unlock?: boolean | undefined;
|
|
147116
147144
|
can_remotely_lock?: boolean | undefined;
|
|
147117
147145
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -192273,6 +192301,8 @@ type Routes = {
|
|
|
192273
192301
|
queryParams: {};
|
|
192274
192302
|
jsonBody: {};
|
|
192275
192303
|
commonParams: {
|
|
192304
|
+
/** Array of user identity IDs by which to filter the list of user identities. */
|
|
192305
|
+
user_identity_ids?: string[] | undefined;
|
|
192276
192306
|
/** String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`. */
|
|
192277
192307
|
search?: string | undefined;
|
|
192278
192308
|
/** `acs_system_id` of the credential manager by which you want to filter the list of user identities. */
|
package/dist/index.cjs
CHANGED
|
@@ -1946,6 +1946,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1946
1946
|
"lockly",
|
|
1947
1947
|
"tedee"
|
|
1948
1948
|
],
|
|
1949
|
+
beta: ["korelock"],
|
|
1949
1950
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
|
|
1950
1951
|
noise_sensors: ["minut", "noiseaware"],
|
|
1951
1952
|
access_control_systems: [
|
|
@@ -18141,6 +18142,7 @@ var openapi_default = {
|
|
|
18141
18142
|
enum: [
|
|
18142
18143
|
"stable",
|
|
18143
18144
|
"consumer_smartlocks",
|
|
18145
|
+
"beta",
|
|
18144
18146
|
"thermostats",
|
|
18145
18147
|
"noise_sensors",
|
|
18146
18148
|
"access_control_systems"
|
|
@@ -43337,6 +43339,7 @@ var openapi_default = {
|
|
|
43337
43339
|
enum: [
|
|
43338
43340
|
"stable",
|
|
43339
43341
|
"consumer_smartlocks",
|
|
43342
|
+
"beta",
|
|
43340
43343
|
"thermostats",
|
|
43341
43344
|
"noise_sensors",
|
|
43342
43345
|
"access_control_systems",
|
|
@@ -47593,6 +47596,7 @@ var openapi_default = {
|
|
|
47593
47596
|
enum: [
|
|
47594
47597
|
"stable",
|
|
47595
47598
|
"consumer_smartlocks",
|
|
47599
|
+
"beta",
|
|
47596
47600
|
"thermostats",
|
|
47597
47601
|
"noise_sensors",
|
|
47598
47602
|
"access_control_systems"
|
|
@@ -47650,6 +47654,7 @@ var openapi_default = {
|
|
|
47650
47654
|
enum: [
|
|
47651
47655
|
"stable",
|
|
47652
47656
|
"consumer_smartlocks",
|
|
47657
|
+
"beta",
|
|
47653
47658
|
"thermostats",
|
|
47654
47659
|
"noise_sensors",
|
|
47655
47660
|
"access_control_systems"
|
|
@@ -67414,6 +67419,15 @@ var openapi_default = {
|
|
|
67414
67419
|
description: "Returns a list of all [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
67415
67420
|
operationId: "userIdentitiesListGet",
|
|
67416
67421
|
parameters: [
|
|
67422
|
+
{
|
|
67423
|
+
in: "query",
|
|
67424
|
+
name: "user_identity_ids",
|
|
67425
|
+
schema: {
|
|
67426
|
+
description: "Array of user identity IDs by which to filter the list of user identities.",
|
|
67427
|
+
items: { format: "uuid", type: "string" },
|
|
67428
|
+
type: "array"
|
|
67429
|
+
}
|
|
67430
|
+
},
|
|
67417
67431
|
{
|
|
67418
67432
|
in: "query",
|
|
67419
67433
|
name: "search",
|
|
@@ -67531,6 +67545,11 @@ var openapi_default = {
|
|
|
67531
67545
|
search: {
|
|
67532
67546
|
description: "String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.",
|
|
67533
67547
|
type: "string"
|
|
67548
|
+
},
|
|
67549
|
+
user_identity_ids: {
|
|
67550
|
+
description: "Array of user identity IDs by which to filter the list of user identities.",
|
|
67551
|
+
items: { format: "uuid", type: "string" },
|
|
67552
|
+
type: "array"
|
|
67534
67553
|
}
|
|
67535
67554
|
},
|
|
67536
67555
|
type: "object"
|