@seamapi/types 1.848.0 → 1.850.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 +46 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +105 -5
- package/dist/index.cjs +46 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +11 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +29 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +28 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +14 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +32 -0
- package/src/lib/seam/connect/route-types.ts +61 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6908,6 +6908,19 @@ declare const acs_system: z.ZodObject<{
|
|
|
6908
6908
|
message: string;
|
|
6909
6909
|
created_at: string;
|
|
6910
6910
|
error_code: "salto_ks_certification_expired";
|
|
6911
|
+
}>, z.ZodObject<{
|
|
6912
|
+
created_at: z.ZodString;
|
|
6913
|
+
message: z.ZodString;
|
|
6914
|
+
} & {
|
|
6915
|
+
error_code: z.ZodLiteral<"provider_service_unavailable">;
|
|
6916
|
+
}, "strip", z.ZodTypeAny, {
|
|
6917
|
+
message: string;
|
|
6918
|
+
created_at: string;
|
|
6919
|
+
error_code: "provider_service_unavailable";
|
|
6920
|
+
}, {
|
|
6921
|
+
message: string;
|
|
6922
|
+
created_at: string;
|
|
6923
|
+
error_code: "provider_service_unavailable";
|
|
6911
6924
|
}>]>, "many">;
|
|
6912
6925
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
6913
6926
|
created_at: z.ZodString;
|
|
@@ -6972,6 +6985,10 @@ declare const acs_system: z.ZodObject<{
|
|
|
6972
6985
|
message: string;
|
|
6973
6986
|
created_at: string;
|
|
6974
6987
|
error_code: "salto_ks_certification_expired";
|
|
6988
|
+
} | {
|
|
6989
|
+
message: string;
|
|
6990
|
+
created_at: string;
|
|
6991
|
+
error_code: "provider_service_unavailable";
|
|
6975
6992
|
})[];
|
|
6976
6993
|
connected_account_id: string;
|
|
6977
6994
|
image_url: string;
|
|
@@ -7037,6 +7054,10 @@ declare const acs_system: z.ZodObject<{
|
|
|
7037
7054
|
message: string;
|
|
7038
7055
|
created_at: string;
|
|
7039
7056
|
error_code: "salto_ks_certification_expired";
|
|
7057
|
+
} | {
|
|
7058
|
+
message: string;
|
|
7059
|
+
created_at: string;
|
|
7060
|
+
error_code: "provider_service_unavailable";
|
|
7040
7061
|
})[];
|
|
7041
7062
|
connected_account_id: string;
|
|
7042
7063
|
image_url: string;
|
|
@@ -18386,6 +18407,19 @@ declare const batch: z.ZodObject<{
|
|
|
18386
18407
|
message: string;
|
|
18387
18408
|
created_at: string;
|
|
18388
18409
|
error_code: "salto_ks_certification_expired";
|
|
18410
|
+
}>, z.ZodObject<{
|
|
18411
|
+
created_at: z.ZodString;
|
|
18412
|
+
message: z.ZodString;
|
|
18413
|
+
} & {
|
|
18414
|
+
error_code: z.ZodLiteral<"provider_service_unavailable">;
|
|
18415
|
+
}, "strip", z.ZodTypeAny, {
|
|
18416
|
+
message: string;
|
|
18417
|
+
created_at: string;
|
|
18418
|
+
error_code: "provider_service_unavailable";
|
|
18419
|
+
}, {
|
|
18420
|
+
message: string;
|
|
18421
|
+
created_at: string;
|
|
18422
|
+
error_code: "provider_service_unavailable";
|
|
18389
18423
|
}>]>, "many">;
|
|
18390
18424
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
18391
18425
|
created_at: z.ZodString;
|
|
@@ -18450,6 +18484,10 @@ declare const batch: z.ZodObject<{
|
|
|
18450
18484
|
message: string;
|
|
18451
18485
|
created_at: string;
|
|
18452
18486
|
error_code: "salto_ks_certification_expired";
|
|
18487
|
+
} | {
|
|
18488
|
+
message: string;
|
|
18489
|
+
created_at: string;
|
|
18490
|
+
error_code: "provider_service_unavailable";
|
|
18453
18491
|
})[];
|
|
18454
18492
|
connected_account_id: string;
|
|
18455
18493
|
image_url: string;
|
|
@@ -18515,6 +18553,10 @@ declare const batch: z.ZodObject<{
|
|
|
18515
18553
|
message: string;
|
|
18516
18554
|
created_at: string;
|
|
18517
18555
|
error_code: "salto_ks_certification_expired";
|
|
18556
|
+
} | {
|
|
18557
|
+
message: string;
|
|
18558
|
+
created_at: string;
|
|
18559
|
+
error_code: "provider_service_unavailable";
|
|
18518
18560
|
})[];
|
|
18519
18561
|
connected_account_id: string;
|
|
18520
18562
|
image_url: string;
|
|
@@ -39847,6 +39889,10 @@ declare const batch: z.ZodObject<{
|
|
|
39847
39889
|
message: string;
|
|
39848
39890
|
created_at: string;
|
|
39849
39891
|
error_code: "salto_ks_certification_expired";
|
|
39892
|
+
} | {
|
|
39893
|
+
message: string;
|
|
39894
|
+
created_at: string;
|
|
39895
|
+
error_code: "provider_service_unavailable";
|
|
39850
39896
|
})[];
|
|
39851
39897
|
connected_account_id: string;
|
|
39852
39898
|
image_url: string;
|
|
@@ -44861,6 +44907,10 @@ declare const batch: z.ZodObject<{
|
|
|
44861
44907
|
message: string;
|
|
44862
44908
|
created_at: string;
|
|
44863
44909
|
error_code: "salto_ks_certification_expired";
|
|
44910
|
+
} | {
|
|
44911
|
+
message: string;
|
|
44912
|
+
created_at: string;
|
|
44913
|
+
error_code: "provider_service_unavailable";
|
|
44864
44914
|
})[];
|
|
44865
44915
|
connected_account_id: string;
|
|
44866
44916
|
image_url: string;
|
|
@@ -55038,6 +55088,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
55038
55088
|
readonly ICAL: "ical";
|
|
55039
55089
|
readonly LODGIFY: "lodgify";
|
|
55040
55090
|
readonly HOSTAWAY: "hostaway";
|
|
55091
|
+
readonly ACUITY_SCHEDULING: "acuity_scheduling";
|
|
55041
55092
|
};
|
|
55042
55093
|
type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
55043
55094
|
declare const device_provider: z.ZodObject<{
|
|
@@ -77626,6 +77677,13 @@ type Routes = {
|
|
|
77626
77677
|
message: string;
|
|
77627
77678
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
77628
77679
|
error_code: 'salto_ks_certification_expired';
|
|
77680
|
+
} | {
|
|
77681
|
+
/** Date and time at which Seam created the error. */
|
|
77682
|
+
created_at: string;
|
|
77683
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
77684
|
+
message: string;
|
|
77685
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
77686
|
+
error_code: 'provider_service_unavailable';
|
|
77629
77687
|
})[];
|
|
77630
77688
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
77631
77689
|
warnings: ({
|
|
@@ -90509,6 +90567,13 @@ type Routes = {
|
|
|
90509
90567
|
message: string;
|
|
90510
90568
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90511
90569
|
error_code: 'salto_ks_certification_expired';
|
|
90570
|
+
} | {
|
|
90571
|
+
/** Date and time at which Seam created the error. */
|
|
90572
|
+
created_at: string;
|
|
90573
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90574
|
+
message: string;
|
|
90575
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90576
|
+
error_code: 'provider_service_unavailable';
|
|
90512
90577
|
})[];
|
|
90513
90578
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
90514
90579
|
warnings: ({
|
|
@@ -90645,6 +90710,13 @@ type Routes = {
|
|
|
90645
90710
|
message: string;
|
|
90646
90711
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90647
90712
|
error_code: 'salto_ks_certification_expired';
|
|
90713
|
+
} | {
|
|
90714
|
+
/** Date and time at which Seam created the error. */
|
|
90715
|
+
created_at: string;
|
|
90716
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90717
|
+
message: string;
|
|
90718
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90719
|
+
error_code: 'provider_service_unavailable';
|
|
90648
90720
|
})[];
|
|
90649
90721
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
90650
90722
|
warnings: ({
|
|
@@ -90777,6 +90849,13 @@ type Routes = {
|
|
|
90777
90849
|
message: string;
|
|
90778
90850
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90779
90851
|
error_code: 'salto_ks_certification_expired';
|
|
90852
|
+
} | {
|
|
90853
|
+
/** Date and time at which Seam created the error. */
|
|
90854
|
+
created_at: string;
|
|
90855
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90856
|
+
message: string;
|
|
90857
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90858
|
+
error_code: 'provider_service_unavailable';
|
|
90780
90859
|
})[];
|
|
90781
90860
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
90782
90861
|
warnings: ({
|
|
@@ -95611,7 +95690,7 @@ type Routes = {
|
|
|
95611
95690
|
/** Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error. */
|
|
95612
95691
|
customer_key?: string | undefined;
|
|
95613
95692
|
/** 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. */
|
|
95614
|
-
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' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
95693
|
+
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' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
95615
95694
|
/** 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. */
|
|
95616
95695
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
95617
95696
|
/** 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). */
|
|
@@ -98638,7 +98717,7 @@ type Routes = {
|
|
|
98638
98717
|
/** Array of device types for which you want to list devices. */
|
|
98639
98718
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
|
|
98640
98719
|
/** Manufacturer for which you want to list devices. */
|
|
98641
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway') | undefined;
|
|
98720
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling') | undefined;
|
|
98642
98721
|
/** Array of device IDs for which you want to list devices. */
|
|
98643
98722
|
device_ids?: string[] | undefined;
|
|
98644
98723
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -100024,7 +100103,7 @@ type Routes = {
|
|
|
100024
100103
|
formData: {};
|
|
100025
100104
|
jsonResponse: {
|
|
100026
100105
|
device_providers: {
|
|
100027
|
-
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' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway';
|
|
100106
|
+
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' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling';
|
|
100028
100107
|
display_name: string;
|
|
100029
100108
|
image_url: string;
|
|
100030
100109
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -100632,7 +100711,7 @@ type Routes = {
|
|
|
100632
100711
|
/** Array of device types for which you want to list devices. */
|
|
100633
100712
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
|
|
100634
100713
|
/** Manufacturer for which you want to list devices. */
|
|
100635
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway') | undefined;
|
|
100714
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling') | undefined;
|
|
100636
100715
|
/** Array of device IDs for which you want to list devices. */
|
|
100637
100716
|
device_ids?: string[] | undefined;
|
|
100638
100717
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -128564,7 +128643,7 @@ type Routes = {
|
|
|
128564
128643
|
queryParams: {};
|
|
128565
128644
|
jsonBody: {
|
|
128566
128645
|
/** Type of connector to create */
|
|
128567
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
|
|
128646
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling';
|
|
128568
128647
|
/** Key identifying the customer */
|
|
128569
128648
|
customer_key?: string | undefined;
|
|
128570
128649
|
/** Instance-specific configuration for the connector */
|
|
@@ -135685,6 +135764,13 @@ type Routes = {
|
|
|
135685
135764
|
message: string;
|
|
135686
135765
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
135687
135766
|
error_code: 'salto_ks_certification_expired';
|
|
135767
|
+
} | {
|
|
135768
|
+
/** Date and time at which Seam created the error. */
|
|
135769
|
+
created_at: string;
|
|
135770
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
135771
|
+
message: string;
|
|
135772
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
135773
|
+
error_code: 'provider_service_unavailable';
|
|
135688
135774
|
})[];
|
|
135689
135775
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
135690
135776
|
warnings: ({
|
|
@@ -156180,6 +156266,13 @@ type Routes = {
|
|
|
156180
156266
|
message: string;
|
|
156181
156267
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
156182
156268
|
error_code: 'salto_ks_certification_expired';
|
|
156269
|
+
} | {
|
|
156270
|
+
/** Date and time at which Seam created the error. */
|
|
156271
|
+
created_at: string;
|
|
156272
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
156273
|
+
message: string;
|
|
156274
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
156275
|
+
error_code: 'provider_service_unavailable';
|
|
156183
156276
|
})[];
|
|
156184
156277
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
156185
156278
|
warnings: ({
|
|
@@ -158660,6 +158753,13 @@ type Routes = {
|
|
|
158660
158753
|
message: string;
|
|
158661
158754
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
158662
158755
|
error_code: 'salto_ks_certification_expired';
|
|
158756
|
+
} | {
|
|
158757
|
+
/** Date and time at which Seam created the error. */
|
|
158758
|
+
created_at: string;
|
|
158759
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
158760
|
+
message: string;
|
|
158761
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
158762
|
+
error_code: 'provider_service_unavailable';
|
|
158663
158763
|
})[];
|
|
158664
158764
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
158665
158765
|
warnings: ({
|
package/dist/index.cjs
CHANGED
|
@@ -2010,7 +2010,8 @@ var DEVICE_PROVIDERS = {
|
|
|
2010
2010
|
RING: "ring",
|
|
2011
2011
|
ICAL: "ical",
|
|
2012
2012
|
LODGIFY: "lodgify",
|
|
2013
|
-
HOSTAWAY: "hostaway"
|
|
2013
|
+
HOSTAWAY: "hostaway",
|
|
2014
|
+
ACUITY_SCHEDULING: "acuity_scheduling"
|
|
2014
2015
|
};
|
|
2015
2016
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
2016
2017
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2083,7 +2084,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2083
2084
|
"hotek"
|
|
2084
2085
|
],
|
|
2085
2086
|
cameras: ["ring"],
|
|
2086
|
-
connectors: ["ical", "lodgify", "hostaway"],
|
|
2087
|
+
connectors: ["ical", "lodgify", "hostaway", "acuity_scheduling"],
|
|
2087
2088
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2088
2089
|
};
|
|
2089
2090
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -3899,6 +3900,11 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
|
|
|
3899
3900
|
}).describe(
|
|
3900
3901
|
"Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
|
|
3901
3902
|
);
|
|
3903
|
+
var provider_service_unavailable2 = common_acs_system_error.extend({
|
|
3904
|
+
error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description7)
|
|
3905
|
+
}).describe(
|
|
3906
|
+
"Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
|
|
3907
|
+
);
|
|
3902
3908
|
var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
3903
3909
|
seam_bridge_disconnected,
|
|
3904
3910
|
bridge_disconnected2,
|
|
@@ -3906,7 +3912,8 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
|
3906
3912
|
salto_ks_subscription_limit_exceeded3,
|
|
3907
3913
|
acs_system_disconnected,
|
|
3908
3914
|
account_disconnected3,
|
|
3909
|
-
salto_ks_certification_expired
|
|
3915
|
+
salto_ks_certification_expired,
|
|
3916
|
+
provider_service_unavailable2
|
|
3910
3917
|
]).describe(
|
|
3911
3918
|
"Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
3912
3919
|
);
|
|
@@ -3917,7 +3924,8 @@ zod.z.object({
|
|
|
3917
3924
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded3.optional().nullable(),
|
|
3918
3925
|
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
3919
3926
|
account_disconnected: account_disconnected3.optional().nullable(),
|
|
3920
|
-
salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
|
|
3927
|
+
salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable(),
|
|
3928
|
+
provider_service_unavailable: provider_service_unavailable2.optional().nullable()
|
|
3921
3929
|
});
|
|
3922
3930
|
var common_acs_system_warning = zod.z.object({
|
|
3923
3931
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -11352,6 +11360,27 @@ var openapi = {
|
|
|
11352
11360
|
},
|
|
11353
11361
|
required: ["created_at", "message", "error_code"],
|
|
11354
11362
|
type: "object"
|
|
11363
|
+
},
|
|
11364
|
+
{
|
|
11365
|
+
description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
11366
|
+
properties: {
|
|
11367
|
+
created_at: {
|
|
11368
|
+
description: "Date and time at which Seam created the error.",
|
|
11369
|
+
format: "date-time",
|
|
11370
|
+
type: "string"
|
|
11371
|
+
},
|
|
11372
|
+
error_code: {
|
|
11373
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
11374
|
+
enum: ["provider_service_unavailable"],
|
|
11375
|
+
type: "string"
|
|
11376
|
+
},
|
|
11377
|
+
message: {
|
|
11378
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
11379
|
+
type: "string"
|
|
11380
|
+
}
|
|
11381
|
+
},
|
|
11382
|
+
required: ["created_at", "message", "error_code"],
|
|
11383
|
+
type: "object"
|
|
11355
11384
|
}
|
|
11356
11385
|
]
|
|
11357
11386
|
},
|
|
@@ -21109,7 +21138,8 @@ var openapi = {
|
|
|
21109
21138
|
"ring",
|
|
21110
21139
|
"ical",
|
|
21111
21140
|
"lodgify",
|
|
21112
|
-
"hostaway"
|
|
21141
|
+
"hostaway",
|
|
21142
|
+
"acuity_scheduling"
|
|
21113
21143
|
],
|
|
21114
21144
|
type: "string"
|
|
21115
21145
|
},
|
|
@@ -52261,6 +52291,7 @@ var openapi = {
|
|
|
52261
52291
|
"ical",
|
|
52262
52292
|
"lodgify",
|
|
52263
52293
|
"hostaway",
|
|
52294
|
+
"acuity_scheduling",
|
|
52264
52295
|
"yale_access",
|
|
52265
52296
|
"hid_cm",
|
|
52266
52297
|
"google_nest"
|
|
@@ -56225,7 +56256,8 @@ var openapi = {
|
|
|
56225
56256
|
"ring",
|
|
56226
56257
|
"ical",
|
|
56227
56258
|
"lodgify",
|
|
56228
|
-
"hostaway"
|
|
56259
|
+
"hostaway",
|
|
56260
|
+
"acuity_scheduling"
|
|
56229
56261
|
],
|
|
56230
56262
|
type: "string"
|
|
56231
56263
|
}
|
|
@@ -56718,7 +56750,8 @@ var openapi = {
|
|
|
56718
56750
|
"ring",
|
|
56719
56751
|
"ical",
|
|
56720
56752
|
"lodgify",
|
|
56721
|
-
"hostaway"
|
|
56753
|
+
"hostaway",
|
|
56754
|
+
"acuity_scheduling"
|
|
56722
56755
|
],
|
|
56723
56756
|
type: "string"
|
|
56724
56757
|
},
|
|
@@ -58520,7 +58553,8 @@ var openapi = {
|
|
|
58520
58553
|
"ring",
|
|
58521
58554
|
"ical",
|
|
58522
58555
|
"lodgify",
|
|
58523
|
-
"hostaway"
|
|
58556
|
+
"hostaway",
|
|
58557
|
+
"acuity_scheduling"
|
|
58524
58558
|
],
|
|
58525
58559
|
type: "string"
|
|
58526
58560
|
}
|
|
@@ -59012,7 +59046,8 @@ var openapi = {
|
|
|
59012
59046
|
"ring",
|
|
59013
59047
|
"ical",
|
|
59014
59048
|
"lodgify",
|
|
59015
|
-
"hostaway"
|
|
59049
|
+
"hostaway",
|
|
59050
|
+
"acuity_scheduling"
|
|
59016
59051
|
],
|
|
59017
59052
|
type: "string"
|
|
59018
59053
|
},
|
|
@@ -67383,7 +67418,8 @@ var openapi = {
|
|
|
67383
67418
|
"zonal",
|
|
67384
67419
|
"ical",
|
|
67385
67420
|
"lodgify",
|
|
67386
|
-
"hostaway"
|
|
67421
|
+
"hostaway",
|
|
67422
|
+
"acuity_scheduling"
|
|
67387
67423
|
],
|
|
67388
67424
|
type: "string"
|
|
67389
67425
|
},
|