@seamapi/types 1.471.0 → 1.473.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.
Files changed (39) hide show
  1. package/dist/connect.cjs +32 -993
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +388 -1812
  4. package/dist/index.cjs +32 -993
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +13 -0
  7. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.d.ts +9 -0
  10. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js +9 -0
  11. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js.map +1 -0
  12. package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
  13. package/lib/seam/connect/models/acs/metadata/index.js +1 -0
  14. package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
  15. package/lib/seam/connect/models/batch.d.ts +95 -0
  16. package/lib/seam/connect/models/index.d.ts +0 -1
  17. package/lib/seam/connect/models/index.js +0 -1
  18. package/lib/seam/connect/models/index.js.map +1 -1
  19. package/lib/seam/connect/models/phones/phone-session.d.ts +56 -0
  20. package/lib/seam/connect/openapi.d.ts +22 -1312
  21. package/lib/seam/connect/openapi.js +22 -993
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +50 -216
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/internal/schemas.ts +0 -2
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  27. package/src/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.ts +17 -0
  28. package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
  29. package/src/lib/seam/connect/models/index.ts +0 -1
  30. package/src/lib/seam/connect/openapi.ts +26 -1015
  31. package/src/lib/seam/connect/route-types.ts +70 -228
  32. package/lib/seam/connect/models/locations/index.d.ts +0 -1
  33. package/lib/seam/connect/models/locations/index.js +0 -2
  34. package/lib/seam/connect/models/locations/index.js.map +0 -1
  35. package/lib/seam/connect/models/locations/location.d.ts +0 -52
  36. package/lib/seam/connect/models/locations/location.js +0 -31
  37. package/lib/seam/connect/models/locations/location.js.map +0 -1
  38. package/src/lib/seam/connect/models/locations/index.ts +0 -1
  39. package/src/lib/seam/connect/models/locations/location.ts +0 -36
@@ -11433,6 +11433,11 @@ export type Routes = {
11433
11433
  /** Description of the room in the Salto Space access system. */
11434
11434
  room_description?: string | undefined;
11435
11435
  } | undefined;
11436
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
11437
+ dormakaba_ambiance_metadata?: {
11438
+ /** Name of the access point in the dormakaba Ambiance access system. */
11439
+ access_point_name: string;
11440
+ } | undefined;
11436
11441
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
11437
11442
  can_unlock_with_mobile_key?: boolean | undefined;
11438
11443
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -14539,6 +14544,11 @@ export type Routes = {
14539
14544
  /** Description of the room in the Salto Space access system. */
14540
14545
  room_description?: string | undefined;
14541
14546
  } | undefined;
14547
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
14548
+ dormakaba_ambiance_metadata?: {
14549
+ /** Name of the access point in the dormakaba Ambiance access system. */
14550
+ access_point_name: string;
14551
+ } | undefined;
14542
14552
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
14543
14553
  can_unlock_with_mobile_key?: boolean | undefined;
14544
14554
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -17143,6 +17153,11 @@ export type Routes = {
17143
17153
  /** Description of the room in the Salto Space access system. */
17144
17154
  room_description?: string | undefined;
17145
17155
  } | undefined;
17156
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
17157
+ dormakaba_ambiance_metadata?: {
17158
+ /** Name of the access point in the dormakaba Ambiance access system. */
17159
+ access_point_name: string;
17160
+ } | undefined;
17146
17161
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
17147
17162
  can_unlock_with_mobile_key?: boolean | undefined;
17148
17163
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -18475,6 +18490,11 @@ export type Routes = {
18475
18490
  /** Description of the room in the Salto Space access system. */
18476
18491
  room_description?: string | undefined;
18477
18492
  } | undefined;
18493
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
18494
+ dormakaba_ambiance_metadata?: {
18495
+ /** Name of the access point in the dormakaba Ambiance access system. */
18496
+ access_point_name: string;
18497
+ } | undefined;
18478
18498
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
18479
18499
  can_unlock_with_mobile_key?: boolean | undefined;
18480
18500
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -21897,6 +21917,11 @@ export type Routes = {
21897
21917
  /** Description of the room in the Salto Space access system. */
21898
21918
  room_description?: string | undefined;
21899
21919
  } | undefined;
21920
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
21921
+ dormakaba_ambiance_metadata?: {
21922
+ /** Name of the access point in the dormakaba Ambiance access system. */
21923
+ access_point_name: string;
21924
+ } | undefined;
21900
21925
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
21901
21926
  can_unlock_with_mobile_key?: boolean | undefined;
21902
21927
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -22046,6 +22071,11 @@ export type Routes = {
22046
22071
  /** Description of the room in the Salto Space access system. */
22047
22072
  room_description?: string | undefined;
22048
22073
  } | undefined;
22074
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
22075
+ dormakaba_ambiance_metadata?: {
22076
+ /** Name of the access point in the dormakaba Ambiance access system. */
22077
+ access_point_name: string;
22078
+ } | undefined;
22049
22079
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
22050
22080
  can_unlock_with_mobile_key?: boolean | undefined;
22051
22081
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -23460,6 +23490,11 @@ export type Routes = {
23460
23490
  /** Description of the room in the Salto Space access system. */
23461
23491
  room_description?: string | undefined;
23462
23492
  } | undefined;
23493
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
23494
+ dormakaba_ambiance_metadata?: {
23495
+ /** Name of the access point in the dormakaba Ambiance access system. */
23496
+ access_point_name: string;
23497
+ } | undefined;
23463
23498
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
23464
23499
  can_unlock_with_mobile_key?: boolean | undefined;
23465
23500
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -54723,6 +54758,11 @@ export type Routes = {
54723
54758
  /** Description of the room in the Salto Space access system. */
54724
54759
  room_description?: string | undefined;
54725
54760
  } | undefined;
54761
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
54762
+ dormakaba_ambiance_metadata?: {
54763
+ /** Name of the access point in the dormakaba Ambiance access system. */
54764
+ access_point_name: string;
54765
+ } | undefined;
54726
54766
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
54727
54767
  can_unlock_with_mobile_key?: boolean | undefined;
54728
54768
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -56259,6 +56299,11 @@ export type Routes = {
56259
56299
  /** Description of the room in the Salto Space access system. */
56260
56300
  room_description?: string | undefined;
56261
56301
  } | undefined;
56302
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56303
+ dormakaba_ambiance_metadata?: {
56304
+ /** Name of the access point in the dormakaba Ambiance access system. */
56305
+ access_point_name: string;
56306
+ } | undefined;
56262
56307
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
56263
56308
  can_unlock_with_mobile_key?: boolean | undefined;
56264
56309
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
@@ -72140,222 +72185,6 @@ export type Routes = {
72140
72185
  };
72141
72186
  };
72142
72187
  };
72143
- '/unstable_locations/add_acs_entrances': {
72144
- route: '/unstable_locations/add_acs_entrances';
72145
- method: 'POST' | 'PUT';
72146
- queryParams: {};
72147
- jsonBody: {
72148
- /** ID of the location to which you want to add entrances. */
72149
- location_id: string;
72150
- /** IDs of the entrances that you want to add to the location. */
72151
- acs_entrance_ids: string[];
72152
- };
72153
- commonParams: {};
72154
- formData: {};
72155
- jsonResponse: {};
72156
- };
72157
- '/unstable_locations/add_devices': {
72158
- route: '/unstable_locations/add_devices';
72159
- method: 'POST' | 'PUT';
72160
- queryParams: {};
72161
- jsonBody: {
72162
- /** ID of the location to which you want to add devices. */
72163
- location_id: string;
72164
- /** IDs of the devices that you want to add to the location. */
72165
- device_ids: string[];
72166
- };
72167
- commonParams: {};
72168
- formData: {};
72169
- jsonResponse: {};
72170
- };
72171
- '/unstable_locations/create': {
72172
- route: '/unstable_locations/create';
72173
- method: 'POST';
72174
- queryParams: {};
72175
- jsonBody: {
72176
- /** Name of the new location. */
72177
- name: string;
72178
- /** Geolocation of the new location. */
72179
- geolocation?: {
72180
- latitude: number;
72181
- longitude: number;
72182
- } | undefined;
72183
- /** Time zone of the new location. */
72184
- time_zone?: string | undefined;
72185
- /** IDs of the devices that you want to add to the new location. */
72186
- device_ids?: string[] | undefined;
72187
- /** IDs of the entrances that you want to add to the new location. */
72188
- acs_entrance_ids?: string[] | undefined;
72189
- };
72190
- commonParams: {};
72191
- formData: {};
72192
- jsonResponse: {
72193
- /** */
72194
- location: {
72195
- /** Unique identifier for the location. */
72196
- location_id: string;
72197
- /** Unique identifier for the Seam workspace associated with the location. */
72198
- workspace_id: string;
72199
- /** Name of the location. */
72200
- name: string;
72201
- /** Display name of the location. */
72202
- display_name: string;
72203
- /** Geographical location of the location. */
72204
- geolocation?: {
72205
- latitude: number;
72206
- longitude: number;
72207
- } | undefined;
72208
- /** Time zone of the location. */
72209
- time_zone?: string | undefined;
72210
- /** Date and time at which the location object was created. */
72211
- created_at: string;
72212
- };
72213
- };
72214
- };
72215
- '/unstable_locations/delete': {
72216
- route: '/unstable_locations/delete';
72217
- method: 'DELETE' | 'POST';
72218
- queryParams: {};
72219
- jsonBody: {
72220
- /** ID of the location that you want to delete. */
72221
- location_id: string;
72222
- };
72223
- commonParams: {};
72224
- formData: {};
72225
- jsonResponse: {};
72226
- };
72227
- '/unstable_locations/get': {
72228
- route: '/unstable_locations/get';
72229
- method: 'GET' | 'POST';
72230
- queryParams: {};
72231
- jsonBody: {};
72232
- commonParams: {
72233
- /** ID of the location that you want to get. */
72234
- location_id: string;
72235
- };
72236
- formData: {};
72237
- jsonResponse: {
72238
- /** */
72239
- location: {
72240
- /** Unique identifier for the location. */
72241
- location_id: string;
72242
- /** Unique identifier for the Seam workspace associated with the location. */
72243
- workspace_id: string;
72244
- /** Name of the location. */
72245
- name: string;
72246
- /** Display name of the location. */
72247
- display_name: string;
72248
- /** Geographical location of the location. */
72249
- geolocation?: {
72250
- latitude: number;
72251
- longitude: number;
72252
- } | undefined;
72253
- /** Time zone of the location. */
72254
- time_zone?: string | undefined;
72255
- /** Date and time at which the location object was created. */
72256
- created_at: string;
72257
- };
72258
- };
72259
- };
72260
- '/unstable_locations/list': {
72261
- route: '/unstable_locations/list';
72262
- method: 'GET' | 'POST';
72263
- queryParams: {};
72264
- jsonBody: {};
72265
- commonParams: {};
72266
- formData: {};
72267
- jsonResponse: {
72268
- locations: {
72269
- /** Unique identifier for the location. */
72270
- location_id: string;
72271
- /** Unique identifier for the Seam workspace associated with the location. */
72272
- workspace_id: string;
72273
- /** Name of the location. */
72274
- name: string;
72275
- /** Display name of the location. */
72276
- display_name: string;
72277
- /** Geographical location of the location. */
72278
- geolocation?: {
72279
- latitude: number;
72280
- longitude: number;
72281
- } | undefined;
72282
- /** Time zone of the location. */
72283
- time_zone?: string | undefined;
72284
- /** Date and time at which the location object was created. */
72285
- created_at: string;
72286
- }[];
72287
- };
72288
- };
72289
- '/unstable_locations/remove_acs_entrances': {
72290
- route: '/unstable_locations/remove_acs_entrances';
72291
- method: 'POST' | 'DELETE';
72292
- queryParams: {};
72293
- jsonBody: {};
72294
- commonParams: {
72295
- /** ID of the location from which you want to remove entrances. */
72296
- location_id: string;
72297
- /** IDs of the entrances that you want to remove from the location. */
72298
- acs_entrance_ids: string[];
72299
- };
72300
- formData: {};
72301
- jsonResponse: {};
72302
- };
72303
- '/unstable_locations/remove_devices': {
72304
- route: '/unstable_locations/remove_devices';
72305
- method: 'POST' | 'DELETE';
72306
- queryParams: {};
72307
- jsonBody: {};
72308
- commonParams: {
72309
- /** ID of the location from which you want to remove devices. */
72310
- location_id: string;
72311
- /** IDs of the devices that you want to remove from the location. */
72312
- device_ids: string[];
72313
- };
72314
- formData: {};
72315
- jsonResponse: {};
72316
- };
72317
- '/unstable_locations/update': {
72318
- route: '/unstable_locations/update';
72319
- method: 'POST' | 'PATCH';
72320
- queryParams: {};
72321
- jsonBody: {
72322
- /** ID of the location that you want to update. */
72323
- location_id: string;
72324
- /** Name of the location. */
72325
- name?: string | undefined;
72326
- /** Geolocation of the location. */
72327
- geolocation?: {
72328
- latitude: number;
72329
- longitude: number;
72330
- } | undefined;
72331
- /** Time zone of the the location. */
72332
- time_zone?: string | undefined;
72333
- };
72334
- commonParams: {};
72335
- formData: {};
72336
- jsonResponse: {
72337
- /** */
72338
- location: {
72339
- /** Unique identifier for the location. */
72340
- location_id: string;
72341
- /** Unique identifier for the Seam workspace associated with the location. */
72342
- workspace_id: string;
72343
- /** Name of the location. */
72344
- name: string;
72345
- /** Display name of the location. */
72346
- display_name: string;
72347
- /** Geographical location of the location. */
72348
- geolocation?: {
72349
- latitude: number;
72350
- longitude: number;
72351
- } | undefined;
72352
- /** Time zone of the location. */
72353
- time_zone?: string | undefined;
72354
- /** Date and time at which the location object was created. */
72355
- created_at: string;
72356
- };
72357
- };
72358
- };
72359
72188
  '/unstable_partner/building_blocks/connect_accounts': {
72360
72189
  route: '/unstable_partner/building_blocks/connect_accounts';
72361
72190
  method: 'POST';
@@ -77256,6 +77085,11 @@ export type Routes = {
77256
77085
  /** Description of the room in the Salto Space access system. */
77257
77086
  room_description?: string | undefined;
77258
77087
  } | undefined;
77088
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
77089
+ dormakaba_ambiance_metadata?: {
77090
+ /** Name of the access point in the dormakaba Ambiance access system. */
77091
+ access_point_name: string;
77092
+ } | undefined;
77259
77093
  /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
77260
77094
  can_unlock_with_mobile_key?: boolean | undefined;
77261
77095
  /** Indicates whether the ACS entrance can be unlocked with card credentials. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.471.0",
3
+ "version": "1.473.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -49,11 +49,9 @@ export {
49
49
  seam_event_type as event_type,
50
50
  facility_resource,
51
51
  fan_mode_setting,
52
- geolocation,
53
52
  guest_resource,
54
53
  instant_key,
55
54
  listing_resource,
56
- location,
57
55
  lock_device_type,
58
56
  magic_link,
59
57
  access_code as managed_access_code,
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { acs_entrance_dormakaba_ambiance_metadata } from './metadata/dormakaba-ambiance.js'
3
4
  import {
4
5
  acs_entrance_assa_abloy_vostio_metadata,
5
6
  acs_entrance_dormakaba_community_metadata,
@@ -109,6 +110,11 @@ export const acs_entrance = z
109
110
  .describe(
110
111
  'Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
111
112
  ),
113
+ dormakaba_ambiance_metadata: acs_entrance_dormakaba_ambiance_metadata
114
+ .optional()
115
+ .describe(
116
+ 'dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
117
+ ),
112
118
  })
113
119
  .merge(acs_entrance_capability_flags).describe(`
114
120
  ---
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod'
2
+
3
+ export const acs_entrance_dormakaba_ambiance_metadata = z
4
+ .object({
5
+ access_point_name: z
6
+ .string()
7
+ .describe(
8
+ 'Name of the access point in the dormakaba Ambiance access system.',
9
+ ),
10
+ })
11
+ .describe(
12
+ 'dormakaba Ambiance-specific metadata associated with the entrance.',
13
+ )
14
+
15
+ export type AcsEntranceDormakabaAmbianceMetadata = z.infer<
16
+ typeof acs_entrance_dormakaba_ambiance_metadata
17
+ >
@@ -1,4 +1,5 @@
1
1
  export * from './assa-abloy-vostio.js'
2
+ export * from './dormakaba-ambiance.js'
2
3
  export * from './dormakaba-community.js'
3
4
  export * from './latch.js'
4
5
  export * from './salto.js'
@@ -16,7 +16,6 @@ export * from './customer/user-identity-resources.js'
16
16
  export * from './devices/index.js'
17
17
  export * from './events/index.js'
18
18
  export * from './instant-keys/index.js'
19
- export * from './locations/index.js'
20
19
  export * from './noise-sensors/index.js'
21
20
  export * from './pagination.js'
22
21
  export * from './partner/index.js'