@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
|
@@ -13205,6 +13205,13 @@ export type Routes = {
|
|
|
13205
13205
|
message: string;
|
|
13206
13206
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13207
13207
|
error_code: 'salto_ks_certification_expired';
|
|
13208
|
+
} | {
|
|
13209
|
+
/** Date and time at which Seam created the error. */
|
|
13210
|
+
created_at: string;
|
|
13211
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
13212
|
+
message: string;
|
|
13213
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13214
|
+
error_code: 'provider_service_unavailable';
|
|
13208
13215
|
})[];
|
|
13209
13216
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
13210
13217
|
warnings: ({
|
|
@@ -26088,6 +26095,13 @@ export type Routes = {
|
|
|
26088
26095
|
message: string;
|
|
26089
26096
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26090
26097
|
error_code: 'salto_ks_certification_expired';
|
|
26098
|
+
} | {
|
|
26099
|
+
/** Date and time at which Seam created the error. */
|
|
26100
|
+
created_at: string;
|
|
26101
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
26102
|
+
message: string;
|
|
26103
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26104
|
+
error_code: 'provider_service_unavailable';
|
|
26091
26105
|
})[];
|
|
26092
26106
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
26093
26107
|
warnings: ({
|
|
@@ -26224,6 +26238,13 @@ export type Routes = {
|
|
|
26224
26238
|
message: string;
|
|
26225
26239
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26226
26240
|
error_code: 'salto_ks_certification_expired';
|
|
26241
|
+
} | {
|
|
26242
|
+
/** Date and time at which Seam created the error. */
|
|
26243
|
+
created_at: string;
|
|
26244
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
26245
|
+
message: string;
|
|
26246
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26247
|
+
error_code: 'provider_service_unavailable';
|
|
26227
26248
|
})[];
|
|
26228
26249
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
26229
26250
|
warnings: ({
|
|
@@ -26356,6 +26377,13 @@ export type Routes = {
|
|
|
26356
26377
|
message: string;
|
|
26357
26378
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26358
26379
|
error_code: 'salto_ks_certification_expired';
|
|
26380
|
+
} | {
|
|
26381
|
+
/** Date and time at which Seam created the error. */
|
|
26382
|
+
created_at: string;
|
|
26383
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
26384
|
+
message: string;
|
|
26385
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26386
|
+
error_code: 'provider_service_unavailable';
|
|
26359
26387
|
})[];
|
|
26360
26388
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
26361
26389
|
warnings: ({
|
|
@@ -31190,7 +31218,7 @@ export type Routes = {
|
|
|
31190
31218
|
/** 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. */
|
|
31191
31219
|
customer_key?: string | undefined;
|
|
31192
31220
|
/** 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. */
|
|
31193
|
-
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;
|
|
31221
|
+
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;
|
|
31194
31222
|
/** 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. */
|
|
31195
31223
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
31196
31224
|
/** 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). */
|
|
@@ -34217,7 +34245,7 @@ export type Routes = {
|
|
|
34217
34245
|
/** Array of device types for which you want to list devices. */
|
|
34218
34246
|
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;
|
|
34219
34247
|
/** Manufacturer for which you want to list devices. */
|
|
34220
|
-
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;
|
|
34248
|
+
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;
|
|
34221
34249
|
/** Array of device IDs for which you want to list devices. */
|
|
34222
34250
|
device_ids?: string[] | undefined;
|
|
34223
34251
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -35603,7 +35631,7 @@ export type Routes = {
|
|
|
35603
35631
|
formData: {};
|
|
35604
35632
|
jsonResponse: {
|
|
35605
35633
|
device_providers: {
|
|
35606
|
-
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';
|
|
35634
|
+
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';
|
|
35607
35635
|
display_name: string;
|
|
35608
35636
|
image_url: string;
|
|
35609
35637
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -36211,7 +36239,7 @@ export type Routes = {
|
|
|
36211
36239
|
/** Array of device types for which you want to list devices. */
|
|
36212
36240
|
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;
|
|
36213
36241
|
/** Manufacturer for which you want to list devices. */
|
|
36214
|
-
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;
|
|
36242
|
+
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;
|
|
36215
36243
|
/** Array of device IDs for which you want to list devices. */
|
|
36216
36244
|
device_ids?: string[] | undefined;
|
|
36217
36245
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -64143,7 +64171,7 @@ export type Routes = {
|
|
|
64143
64171
|
queryParams: {};
|
|
64144
64172
|
jsonBody: {
|
|
64145
64173
|
/** Type of connector to create */
|
|
64146
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
|
|
64174
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling';
|
|
64147
64175
|
/** Key identifying the customer */
|
|
64148
64176
|
customer_key?: string | undefined;
|
|
64149
64177
|
/** Instance-specific configuration for the connector */
|
|
@@ -71264,6 +71292,13 @@ export type Routes = {
|
|
|
71264
71292
|
message: string;
|
|
71265
71293
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71266
71294
|
error_code: 'salto_ks_certification_expired';
|
|
71295
|
+
} | {
|
|
71296
|
+
/** Date and time at which Seam created the error. */
|
|
71297
|
+
created_at: string;
|
|
71298
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71299
|
+
message: string;
|
|
71300
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71301
|
+
error_code: 'provider_service_unavailable';
|
|
71267
71302
|
})[];
|
|
71268
71303
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
71269
71304
|
warnings: ({
|
|
@@ -91759,6 +91794,13 @@ export type Routes = {
|
|
|
91759
91794
|
message: string;
|
|
91760
91795
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91761
91796
|
error_code: 'salto_ks_certification_expired';
|
|
91797
|
+
} | {
|
|
91798
|
+
/** Date and time at which Seam created the error. */
|
|
91799
|
+
created_at: string;
|
|
91800
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91801
|
+
message: string;
|
|
91802
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91803
|
+
error_code: 'provider_service_unavailable';
|
|
91762
91804
|
})[];
|
|
91763
91805
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
91764
91806
|
warnings: ({
|
|
@@ -94239,6 +94281,13 @@ export type Routes = {
|
|
|
94239
94281
|
message: string;
|
|
94240
94282
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
94241
94283
|
error_code: 'salto_ks_certification_expired';
|
|
94284
|
+
} | {
|
|
94285
|
+
/** Date and time at which Seam created the error. */
|
|
94286
|
+
created_at: string;
|
|
94287
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
94288
|
+
message: string;
|
|
94289
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
94290
|
+
error_code: 'provider_service_unavailable';
|
|
94242
94291
|
})[];
|
|
94243
94292
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
94244
94293
|
warnings: ({
|
package/package.json
CHANGED
|
@@ -116,6 +116,16 @@ const salto_ks_certification_expired = common_acs_system_error
|
|
|
116
116
|
.describe(
|
|
117
117
|
'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.',
|
|
118
118
|
)
|
|
119
|
+
const provider_service_unavailable = common_acs_system_error
|
|
120
|
+
.extend({
|
|
121
|
+
error_code: z
|
|
122
|
+
.literal('provider_service_unavailable')
|
|
123
|
+
.describe(error_code_description),
|
|
124
|
+
})
|
|
125
|
+
.describe(
|
|
126
|
+
"Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
127
|
+
)
|
|
128
|
+
|
|
119
129
|
const acs_system_error = z
|
|
120
130
|
.discriminatedUnion('error_code', [
|
|
121
131
|
seam_bridge_disconnected,
|
|
@@ -125,6 +135,7 @@ const acs_system_error = z
|
|
|
125
135
|
acs_system_disconnected,
|
|
126
136
|
account_disconnected,
|
|
127
137
|
salto_ks_certification_expired,
|
|
138
|
+
provider_service_unavailable,
|
|
128
139
|
])
|
|
129
140
|
.describe(
|
|
130
141
|
'Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
|
|
@@ -144,6 +155,9 @@ const _acs_system_error_map = z.object({
|
|
|
144
155
|
salto_ks_certification_expired: salto_ks_certification_expired
|
|
145
156
|
.optional()
|
|
146
157
|
.nullable(),
|
|
158
|
+
provider_service_unavailable: provider_service_unavailable
|
|
159
|
+
.optional()
|
|
160
|
+
.nullable(),
|
|
147
161
|
})
|
|
148
162
|
|
|
149
163
|
export type AcsSystemErrorMap = z.infer<typeof _acs_system_error_map>
|
|
@@ -57,6 +57,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
57
57
|
ICAL: 'ical',
|
|
58
58
|
LODGIFY: 'lodgify',
|
|
59
59
|
HOSTAWAY: 'hostaway',
|
|
60
|
+
ACUITY_SCHEDULING: 'acuity_scheduling',
|
|
60
61
|
} as const
|
|
61
62
|
|
|
62
63
|
export type DeviceProviderName =
|
|
@@ -144,7 +145,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
144
145
|
|
|
145
146
|
cameras: ['ring'],
|
|
146
147
|
|
|
147
|
-
connectors: ['ical', 'lodgify', 'hostaway'],
|
|
148
|
+
connectors: ['ical', 'lodgify', 'hostaway', 'acuity_scheduling'],
|
|
148
149
|
|
|
149
150
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
150
151
|
} as const satisfies Record<string, readonly DeviceProviderName[]>
|
|
@@ -4952,6 +4952,31 @@ const openapi: OpenAPISpec = {
|
|
|
4952
4952
|
required: ['created_at', 'message', 'error_code'],
|
|
4953
4953
|
type: 'object',
|
|
4954
4954
|
},
|
|
4955
|
+
{
|
|
4956
|
+
description:
|
|
4957
|
+
"Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
4958
|
+
properties: {
|
|
4959
|
+
created_at: {
|
|
4960
|
+
description:
|
|
4961
|
+
'Date and time at which Seam created the error.',
|
|
4962
|
+
format: 'date-time',
|
|
4963
|
+
type: 'string',
|
|
4964
|
+
},
|
|
4965
|
+
error_code: {
|
|
4966
|
+
description:
|
|
4967
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4968
|
+
enum: ['provider_service_unavailable'],
|
|
4969
|
+
type: 'string',
|
|
4970
|
+
},
|
|
4971
|
+
message: {
|
|
4972
|
+
description:
|
|
4973
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
4974
|
+
type: 'string',
|
|
4975
|
+
},
|
|
4976
|
+
},
|
|
4977
|
+
required: ['created_at', 'message', 'error_code'],
|
|
4978
|
+
type: 'object',
|
|
4979
|
+
},
|
|
4955
4980
|
],
|
|
4956
4981
|
},
|
|
4957
4982
|
type: 'array',
|
|
@@ -15892,6 +15917,7 @@ const openapi: OpenAPISpec = {
|
|
|
15892
15917
|
'ical',
|
|
15893
15918
|
'lodgify',
|
|
15894
15919
|
'hostaway',
|
|
15920
|
+
'acuity_scheduling',
|
|
15895
15921
|
],
|
|
15896
15922
|
type: 'string',
|
|
15897
15923
|
},
|
|
@@ -49929,6 +49955,7 @@ const openapi: OpenAPISpec = {
|
|
|
49929
49955
|
'ical',
|
|
49930
49956
|
'lodgify',
|
|
49931
49957
|
'hostaway',
|
|
49958
|
+
'acuity_scheduling',
|
|
49932
49959
|
'yale_access',
|
|
49933
49960
|
'hid_cm',
|
|
49934
49961
|
'google_nest',
|
|
@@ -54240,6 +54267,7 @@ const openapi: OpenAPISpec = {
|
|
|
54240
54267
|
'ical',
|
|
54241
54268
|
'lodgify',
|
|
54242
54269
|
'hostaway',
|
|
54270
|
+
'acuity_scheduling',
|
|
54243
54271
|
],
|
|
54244
54272
|
type: 'string',
|
|
54245
54273
|
},
|
|
@@ -54757,6 +54785,7 @@ const openapi: OpenAPISpec = {
|
|
|
54757
54785
|
'ical',
|
|
54758
54786
|
'lodgify',
|
|
54759
54787
|
'hostaway',
|
|
54788
|
+
'acuity_scheduling',
|
|
54760
54789
|
],
|
|
54761
54790
|
type: 'string',
|
|
54762
54791
|
},
|
|
@@ -56589,6 +56618,7 @@ const openapi: OpenAPISpec = {
|
|
|
56589
56618
|
'ical',
|
|
56590
56619
|
'lodgify',
|
|
56591
56620
|
'hostaway',
|
|
56621
|
+
'acuity_scheduling',
|
|
56592
56622
|
],
|
|
56593
56623
|
type: 'string',
|
|
56594
56624
|
},
|
|
@@ -57105,6 +57135,7 @@ const openapi: OpenAPISpec = {
|
|
|
57105
57135
|
'ical',
|
|
57106
57136
|
'lodgify',
|
|
57107
57137
|
'hostaway',
|
|
57138
|
+
'acuity_scheduling',
|
|
57108
57139
|
],
|
|
57109
57140
|
type: 'string',
|
|
57110
57141
|
},
|
|
@@ -65796,6 +65827,7 @@ const openapi: OpenAPISpec = {
|
|
|
65796
65827
|
'ical',
|
|
65797
65828
|
'lodgify',
|
|
65798
65829
|
'hostaway',
|
|
65830
|
+
'acuity_scheduling',
|
|
65799
65831
|
],
|
|
65800
65832
|
type: 'string',
|
|
65801
65833
|
},
|
|
@@ -15193,6 +15193,14 @@ export type Routes = {
|
|
|
15193
15193
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15194
15194
|
error_code: 'salto_ks_certification_expired'
|
|
15195
15195
|
}
|
|
15196
|
+
| {
|
|
15197
|
+
/** Date and time at which Seam created the error. */
|
|
15198
|
+
created_at: string
|
|
15199
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
15200
|
+
message: string
|
|
15201
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15202
|
+
error_code: 'provider_service_unavailable'
|
|
15203
|
+
}
|
|
15196
15204
|
)[]
|
|
15197
15205
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
15198
15206
|
warnings: (
|
|
@@ -30250,6 +30258,14 @@ export type Routes = {
|
|
|
30250
30258
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30251
30259
|
error_code: 'salto_ks_certification_expired'
|
|
30252
30260
|
}
|
|
30261
|
+
| {
|
|
30262
|
+
/** Date and time at which Seam created the error. */
|
|
30263
|
+
created_at: string
|
|
30264
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
30265
|
+
message: string
|
|
30266
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30267
|
+
error_code: 'provider_service_unavailable'
|
|
30268
|
+
}
|
|
30253
30269
|
)[]
|
|
30254
30270
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
30255
30271
|
warnings: (
|
|
@@ -30435,6 +30451,14 @@ export type Routes = {
|
|
|
30435
30451
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30436
30452
|
error_code: 'salto_ks_certification_expired'
|
|
30437
30453
|
}
|
|
30454
|
+
| {
|
|
30455
|
+
/** Date and time at which Seam created the error. */
|
|
30456
|
+
created_at: string
|
|
30457
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
30458
|
+
message: string
|
|
30459
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30460
|
+
error_code: 'provider_service_unavailable'
|
|
30461
|
+
}
|
|
30438
30462
|
)[]
|
|
30439
30463
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
30440
30464
|
warnings: (
|
|
@@ -30616,6 +30640,14 @@ export type Routes = {
|
|
|
30616
30640
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30617
30641
|
error_code: 'salto_ks_certification_expired'
|
|
30618
30642
|
}
|
|
30643
|
+
| {
|
|
30644
|
+
/** Date and time at which Seam created the error. */
|
|
30645
|
+
created_at: string
|
|
30646
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
30647
|
+
message: string
|
|
30648
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30649
|
+
error_code: 'provider_service_unavailable'
|
|
30650
|
+
}
|
|
30619
30651
|
)[]
|
|
30620
30652
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
30621
30653
|
warnings: (
|
|
@@ -36178,6 +36210,7 @@ export type Routes = {
|
|
|
36178
36210
|
| 'ical'
|
|
36179
36211
|
| 'lodgify'
|
|
36180
36212
|
| 'hostaway'
|
|
36213
|
+
| 'acuity_scheduling'
|
|
36181
36214
|
| 'yale_access'
|
|
36182
36215
|
| 'hid_cm'
|
|
36183
36216
|
| 'google_nest'
|
|
@@ -39897,6 +39930,7 @@ export type Routes = {
|
|
|
39897
39930
|
| 'ical'
|
|
39898
39931
|
| 'lodgify'
|
|
39899
39932
|
| 'hostaway'
|
|
39933
|
+
| 'acuity_scheduling'
|
|
39900
39934
|
)
|
|
39901
39935
|
| undefined
|
|
39902
39936
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -41723,6 +41757,7 @@ export type Routes = {
|
|
|
41723
41757
|
| 'ical'
|
|
41724
41758
|
| 'lodgify'
|
|
41725
41759
|
| 'hostaway'
|
|
41760
|
+
| 'acuity_scheduling'
|
|
41726
41761
|
display_name: string
|
|
41727
41762
|
image_url: string
|
|
41728
41763
|
provider_categories: (
|
|
@@ -43437,6 +43472,7 @@ export type Routes = {
|
|
|
43437
43472
|
| 'ical'
|
|
43438
43473
|
| 'lodgify'
|
|
43439
43474
|
| 'hostaway'
|
|
43475
|
+
| 'acuity_scheduling'
|
|
43440
43476
|
)
|
|
43441
43477
|
| undefined
|
|
43442
43478
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -76698,6 +76734,7 @@ export type Routes = {
|
|
|
76698
76734
|
| 'ical'
|
|
76699
76735
|
| 'lodgify'
|
|
76700
76736
|
| 'hostaway'
|
|
76737
|
+
| 'acuity_scheduling'
|
|
76701
76738
|
/** Key identifying the customer */
|
|
76702
76739
|
customer_key?: string | undefined
|
|
76703
76740
|
/** Instance-specific configuration for the connector */
|
|
@@ -85204,6 +85241,14 @@ export type Routes = {
|
|
|
85204
85241
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
85205
85242
|
error_code: 'salto_ks_certification_expired'
|
|
85206
85243
|
}
|
|
85244
|
+
| {
|
|
85245
|
+
/** Date and time at which Seam created the error. */
|
|
85246
|
+
created_at: string
|
|
85247
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
85248
|
+
message: string
|
|
85249
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
85250
|
+
error_code: 'provider_service_unavailable'
|
|
85251
|
+
}
|
|
85207
85252
|
)[]
|
|
85208
85253
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
85209
85254
|
warnings: (
|
|
@@ -109490,6 +109535,14 @@ export type Routes = {
|
|
|
109490
109535
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109491
109536
|
error_code: 'salto_ks_certification_expired'
|
|
109492
109537
|
}
|
|
109538
|
+
| {
|
|
109539
|
+
/** Date and time at which Seam created the error. */
|
|
109540
|
+
created_at: string
|
|
109541
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109542
|
+
message: string
|
|
109543
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109544
|
+
error_code: 'provider_service_unavailable'
|
|
109545
|
+
}
|
|
109493
109546
|
)[]
|
|
109494
109547
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
109495
109548
|
warnings: (
|
|
@@ -112482,6 +112535,14 @@ export type Routes = {
|
|
|
112482
112535
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112483
112536
|
error_code: 'salto_ks_certification_expired'
|
|
112484
112537
|
}
|
|
112538
|
+
| {
|
|
112539
|
+
/** Date and time at which Seam created the error. */
|
|
112540
|
+
created_at: string
|
|
112541
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
112542
|
+
message: string
|
|
112543
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112544
|
+
error_code: 'provider_service_unavailable'
|
|
112545
|
+
}
|
|
112485
112546
|
)[]
|
|
112486
112547
|
/** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
112487
112548
|
warnings: (
|