@seamapi/types 1.849.0 → 1.851.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.
@@ -55088,6 +55088,7 @@ declare const DEVICE_PROVIDERS: {
55088
55088
  readonly ICAL: "ical";
55089
55089
  readonly LODGIFY: "lodgify";
55090
55090
  readonly HOSTAWAY: "hostaway";
55091
+ readonly ACUITY_SCHEDULING: "acuity_scheduling";
55091
55092
  };
55092
55093
  type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
55093
55094
  declare const device_provider: z.ZodObject<{
@@ -95689,7 +95690,7 @@ type Routes = {
95689
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. */
95690
95691
  customer_key?: string | undefined;
95691
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. */
95692
- 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;
95693
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. */
95694
95695
  provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
95695
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). */
@@ -96637,6 +96638,8 @@ type Routes = {
96637
96638
  space_key: string;
96638
96639
  /** Your unique identifier for the site. */
96639
96640
  parent_site_key?: string | undefined;
96641
+ /** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
96642
+ duration_minutes?: number | undefined;
96640
96643
  }[] | undefined;
96641
96644
  /** List of general sites or areas. */
96642
96645
  sites?: {
@@ -97024,6 +97027,8 @@ type Routes = {
97024
97027
  space_key: string;
97025
97028
  /** Your unique identifier for the site. */
97026
97029
  parent_site_key?: string | undefined;
97030
+ /** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
97031
+ duration_minutes?: number | undefined;
97027
97032
  }[] | undefined;
97028
97033
  /** List of general sites or areas. */
97029
97034
  sites?: {
@@ -98716,7 +98721,7 @@ type Routes = {
98716
98721
  /** Array of device types for which you want to list devices. */
98717
98722
  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;
98718
98723
  /** Manufacturer for which you want to list devices. */
98719
- 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;
98724
+ 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;
98720
98725
  /** Array of device IDs for which you want to list devices. */
98721
98726
  device_ids?: string[] | undefined;
98722
98727
  /** Numerical limit on the number of devices to return. */
@@ -100102,7 +100107,7 @@ type Routes = {
100102
100107
  formData: {};
100103
100108
  jsonResponse: {
100104
100109
  device_providers: {
100105
- 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';
100110
+ 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';
100106
100111
  display_name: string;
100107
100112
  image_url: string;
100108
100113
  provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
@@ -100710,7 +100715,7 @@ type Routes = {
100710
100715
  /** Array of device types for which you want to list devices. */
100711
100716
  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;
100712
100717
  /** Manufacturer for which you want to list devices. */
100713
- 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;
100718
+ 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;
100714
100719
  /** Array of device IDs for which you want to list devices. */
100715
100720
  device_ids?: string[] | undefined;
100716
100721
  /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
@@ -128642,7 +128647,7 @@ type Routes = {
128642
128647
  queryParams: {};
128643
128648
  jsonBody: {
128644
128649
  /** Type of connector to create */
128645
- connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
128650
+ connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling';
128646
128651
  /** Key identifying the customer */
128647
128652
  customer_key?: string | undefined;
128648
128653
  /** Instance-specific configuration for the connector */
@@ -152795,6 +152800,8 @@ type Routes = {
152795
152800
  space_key: string;
152796
152801
  /** Your unique identifier for the site. */
152797
152802
  parent_site_key?: string | undefined;
152803
+ /** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
152804
+ duration_minutes?: number | undefined;
152798
152805
  }[] | undefined;
152799
152806
  };
152800
152807
  formData: {};
@@ -152866,6 +152873,8 @@ type Routes = {
152866
152873
  space_key: string;
152867
152874
  /** Your unique identifier for the site. */
152868
152875
  parent_site_key?: string | undefined;
152876
+ /** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
152877
+ duration_minutes?: number | undefined;
152869
152878
  }[] | undefined;
152870
152879
  };
152871
152880
  formData: {};
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);
@@ -21137,7 +21138,8 @@ var openapi = {
21137
21138
  "ring",
21138
21139
  "ical",
21139
21140
  "lodgify",
21140
- "hostaway"
21141
+ "hostaway",
21142
+ "acuity_scheduling"
21141
21143
  ],
21142
21144
  type: "string"
21143
21145
  },
@@ -52289,6 +52291,7 @@ var openapi = {
52289
52291
  "ical",
52290
52292
  "lodgify",
52291
52293
  "hostaway",
52294
+ "acuity_scheduling",
52292
52295
  "yale_access",
52293
52296
  "hid_cm",
52294
52297
  "google_nest"
@@ -54352,6 +54355,12 @@ var openapi = {
54352
54355
  description: "List of general spaces or areas.",
54353
54356
  items: {
54354
54357
  properties: {
54358
+ duration_minutes: {
54359
+ description: "Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.",
54360
+ exclusiveMinimum: true,
54361
+ minimum: 0,
54362
+ type: "integer"
54363
+ },
54355
54364
  name: {
54356
54365
  description: "Your display name for this location resource.",
54357
54366
  type: "string"
@@ -55482,6 +55491,12 @@ var openapi = {
55482
55491
  description: "List of general spaces or areas.",
55483
55492
  items: {
55484
55493
  properties: {
55494
+ duration_minutes: {
55495
+ description: "Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.",
55496
+ exclusiveMinimum: true,
55497
+ minimum: 0,
55498
+ type: "integer"
55499
+ },
55485
55500
  name: {
55486
55501
  description: "Your display name for this location resource.",
55487
55502
  type: "string"
@@ -56253,7 +56268,8 @@ var openapi = {
56253
56268
  "ring",
56254
56269
  "ical",
56255
56270
  "lodgify",
56256
- "hostaway"
56271
+ "hostaway",
56272
+ "acuity_scheduling"
56257
56273
  ],
56258
56274
  type: "string"
56259
56275
  }
@@ -56746,7 +56762,8 @@ var openapi = {
56746
56762
  "ring",
56747
56763
  "ical",
56748
56764
  "lodgify",
56749
- "hostaway"
56765
+ "hostaway",
56766
+ "acuity_scheduling"
56750
56767
  ],
56751
56768
  type: "string"
56752
56769
  },
@@ -58548,7 +58565,8 @@ var openapi = {
58548
58565
  "ring",
58549
58566
  "ical",
58550
58567
  "lodgify",
58551
- "hostaway"
58568
+ "hostaway",
58569
+ "acuity_scheduling"
58552
58570
  ],
58553
58571
  type: "string"
58554
58572
  }
@@ -59040,7 +59058,8 @@ var openapi = {
59040
59058
  "ring",
59041
59059
  "ical",
59042
59060
  "lodgify",
59043
- "hostaway"
59061
+ "hostaway",
59062
+ "acuity_scheduling"
59044
59063
  ],
59045
59064
  type: "string"
59046
59065
  },
@@ -67411,7 +67430,8 @@ var openapi = {
67411
67430
  "zonal",
67412
67431
  "ical",
67413
67432
  "lodgify",
67414
- "hostaway"
67433
+ "hostaway",
67434
+ "acuity_scheduling"
67415
67435
  ],
67416
67436
  type: "string"
67417
67437
  },
@@ -80327,6 +80347,12 @@ var openapi = {
80327
80347
  description: "Optional list of spaces that you want to include in the new building block magic link.",
80328
80348
  items: {
80329
80349
  properties: {
80350
+ duration_minutes: {
80351
+ description: "Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.",
80352
+ exclusiveMinimum: true,
80353
+ minimum: 0,
80354
+ type: "integer"
80355
+ },
80330
80356
  name: {
80331
80357
  description: "Your display name for this location resource.",
80332
80358
  type: "string"
@@ -80409,6 +80435,12 @@ var openapi = {
80409
80435
  description: "Optional list of spaces that you want to include in the new building block magic link.",
80410
80436
  items: {
80411
80437
  properties: {
80438
+ duration_minutes: {
80439
+ description: "Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.",
80440
+ exclusiveMinimum: true,
80441
+ minimum: 0,
80442
+ type: "integer"
80443
+ },
80412
80444
  name: {
80413
80445
  description: "Your display name for this location resource.",
80414
80446
  type: "string"
@@ -80543,6 +80575,12 @@ var openapi = {
80543
80575
  description: "Optional list of spaces that you want to include in the new building block magic link.",
80544
80576
  items: {
80545
80577
  properties: {
80578
+ duration_minutes: {
80579
+ description: "Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.",
80580
+ exclusiveMinimum: true,
80581
+ minimum: 0,
80582
+ type: "integer"
80583
+ },
80546
80584
  name: {
80547
80585
  description: "Your display name for this location resource.",
80548
80586
  type: "string"