@seamapi/types 1.186.0 → 1.187.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 (50) hide show
  1. package/dist/connect.cjs +338 -16
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +685 -52
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/acs/acs-credential.d.ts +0 -17
  6. package/lib/seam/connect/models/acs/acs-credential.js +1 -6
  7. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-entrance.d.ts +36 -53
  9. package/lib/seam/connect/models/acs/acs-entrance.js +5 -31
  10. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +1 -2
  12. package/lib/seam/connect/models/acs/acs-system.js +9 -10
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/index.d.ts +1 -0
  15. package/lib/seam/connect/models/acs/index.js +1 -0
  16. package/lib/seam/connect/models/acs/index.js.map +1 -1
  17. package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -0
  18. package/lib/seam/connect/models/acs/metadata/index.js +3 -0
  19. package/lib/seam/connect/models/acs/metadata/index.js.map +1 -0
  20. package/lib/seam/connect/models/acs/metadata/latch.d.ts +18 -0
  21. package/lib/seam/connect/models/acs/metadata/latch.js +8 -0
  22. package/lib/seam/connect/models/acs/metadata/latch.js.map +1 -0
  23. package/lib/seam/connect/models/acs/metadata/visionline.d.ts +47 -0
  24. package/lib/seam/connect/models/acs/metadata/visionline.js +24 -0
  25. package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -0
  26. package/lib/seam/connect/models/devices/managed-device.d.ts +12 -0
  27. package/lib/seam/connect/models/devices/managed-device.js +2 -0
  28. package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
  29. package/lib/seam/connect/models/devices/phone.d.ts +6 -0
  30. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +6 -0
  31. package/lib/seam/connect/openapi.d.ts +143 -2
  32. package/lib/seam/connect/openapi.js +110 -7
  33. package/lib/seam/connect/openapi.js.map +1 -1
  34. package/lib/seam/connect/route-types.d.ts +98 -48
  35. package/lib/seam/connect/schemas.d.ts +1 -1
  36. package/lib/seam/connect/schemas.js +1 -1
  37. package/lib/seam/connect/schemas.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/lib/seam/connect/model-types.ts +5 -0
  40. package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -11
  41. package/src/lib/seam/connect/models/acs/acs-entrance.ts +8 -37
  42. package/src/lib/seam/connect/models/acs/acs-system.ts +11 -11
  43. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  44. package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -0
  45. package/src/lib/seam/connect/models/acs/metadata/latch.ts +12 -0
  46. package/src/lib/seam/connect/models/acs/metadata/visionline.ts +35 -0
  47. package/src/lib/seam/connect/models/devices/managed-device.ts +2 -0
  48. package/src/lib/seam/connect/openapi.ts +110 -7
  49. package/src/lib/seam/connect/route-types.ts +174 -92
  50. package/src/lib/seam/connect/schemas.ts +5 -0
@@ -372,7 +372,6 @@ declare const _default: {
372
372
  type: string;
373
373
  };
374
374
  latch_metadata: {
375
- nullable: boolean;
376
375
  properties: {
377
376
  accessibility_type: {
378
377
  type: string;
@@ -391,7 +390,6 @@ declare const _default: {
391
390
  type: string;
392
391
  };
393
392
  visionline_metadata: {
394
- nullable: boolean;
395
393
  properties: {
396
394
  door_category: {
397
395
  enum: string[];
@@ -444,6 +442,7 @@ declare const _default: {
444
442
  };
445
443
  connected_account_ids: {
446
444
  items: {
445
+ format: string;
447
446
  type: string;
448
447
  };
449
448
  type: string;
@@ -1078,6 +1077,12 @@ declare const _default: {
1078
1077
  can_remotely_unlock: {
1079
1078
  type: string;
1080
1079
  };
1080
+ can_simulate_connection: {
1081
+ type: string;
1082
+ };
1083
+ can_simulate_disconnection: {
1084
+ type: string;
1085
+ };
1081
1086
  can_simulate_removal: {
1082
1087
  type: string;
1083
1088
  };
@@ -2818,6 +2823,12 @@ declare const _default: {
2818
2823
  can_remotely_unlock: {
2819
2824
  type: string;
2820
2825
  };
2826
+ can_simulate_connection: {
2827
+ type: string;
2828
+ };
2829
+ can_simulate_disconnection: {
2830
+ type: string;
2831
+ };
2821
2832
  can_simulate_removal: {
2822
2833
  type: string;
2823
2834
  };
@@ -3043,6 +3054,12 @@ declare const _default: {
3043
3054
  can_remotely_unlock: {
3044
3055
  type: string;
3045
3056
  };
3057
+ can_simulate_connection: {
3058
+ type: string;
3059
+ };
3060
+ can_simulate_disconnection: {
3061
+ type: string;
3062
+ };
3046
3063
  can_simulate_removal: {
3047
3064
  type: string;
3048
3065
  };
@@ -10019,6 +10036,130 @@ declare const _default: {
10019
10036
  'x-fern-sdk-return-value': string;
10020
10037
  };
10021
10038
  };
10039
+ '/devices/simulate/connect': {
10040
+ post: {
10041
+ operationId: string;
10042
+ requestBody: {
10043
+ content: {
10044
+ 'application/json': {
10045
+ schema: {
10046
+ properties: {
10047
+ device_id: {
10048
+ format: string;
10049
+ type: string;
10050
+ };
10051
+ };
10052
+ required: string[];
10053
+ type: string;
10054
+ };
10055
+ };
10056
+ };
10057
+ };
10058
+ responses: {
10059
+ 200: {
10060
+ content: {
10061
+ 'application/json': {
10062
+ schema: {
10063
+ properties: {
10064
+ ok: {
10065
+ type: string;
10066
+ };
10067
+ };
10068
+ required: string[];
10069
+ type: string;
10070
+ };
10071
+ };
10072
+ };
10073
+ description: string;
10074
+ };
10075
+ 400: {
10076
+ description: string;
10077
+ };
10078
+ 401: {
10079
+ description: string;
10080
+ };
10081
+ };
10082
+ security: ({
10083
+ api_key: never[];
10084
+ pat_with_workspace?: never;
10085
+ console_session?: never;
10086
+ } | {
10087
+ pat_with_workspace: never[];
10088
+ api_key?: never;
10089
+ console_session?: never;
10090
+ } | {
10091
+ console_session: never[];
10092
+ api_key?: never;
10093
+ pat_with_workspace?: never;
10094
+ })[];
10095
+ summary: string;
10096
+ tags: string[];
10097
+ 'x-fern-sdk-group-name': string[];
10098
+ 'x-fern-sdk-method-name': string;
10099
+ };
10100
+ };
10101
+ '/devices/simulate/disconnect': {
10102
+ post: {
10103
+ operationId: string;
10104
+ requestBody: {
10105
+ content: {
10106
+ 'application/json': {
10107
+ schema: {
10108
+ properties: {
10109
+ device_id: {
10110
+ format: string;
10111
+ type: string;
10112
+ };
10113
+ };
10114
+ required: string[];
10115
+ type: string;
10116
+ };
10117
+ };
10118
+ };
10119
+ };
10120
+ responses: {
10121
+ 200: {
10122
+ content: {
10123
+ 'application/json': {
10124
+ schema: {
10125
+ properties: {
10126
+ ok: {
10127
+ type: string;
10128
+ };
10129
+ };
10130
+ required: string[];
10131
+ type: string;
10132
+ };
10133
+ };
10134
+ };
10135
+ description: string;
10136
+ };
10137
+ 400: {
10138
+ description: string;
10139
+ };
10140
+ 401: {
10141
+ description: string;
10142
+ };
10143
+ };
10144
+ security: ({
10145
+ api_key: never[];
10146
+ pat_with_workspace?: never;
10147
+ console_session?: never;
10148
+ } | {
10149
+ pat_with_workspace: never[];
10150
+ api_key?: never;
10151
+ console_session?: never;
10152
+ } | {
10153
+ console_session: never[];
10154
+ api_key?: never;
10155
+ pat_with_workspace?: never;
10156
+ })[];
10157
+ summary: string;
10158
+ tags: string[];
10159
+ 'x-fern-sdk-group-name': string[];
10160
+ 'x-fern-sdk-method-name': string;
10161
+ };
10162
+ };
10022
10163
  '/devices/simulate/remove': {
10023
10164
  post: {
10024
10165
  operationId: string;
@@ -313,7 +313,6 @@ export default {
313
313
  type: 'array',
314
314
  },
315
315
  latch_metadata: {
316
- nullable: true,
317
316
  properties: {
318
317
  accessibility_type: { type: 'string' },
319
318
  door_name: { type: 'string' },
@@ -329,7 +328,6 @@ export default {
329
328
  type: 'object',
330
329
  },
331
330
  visionline_metadata: {
332
- nullable: true,
333
331
  properties: {
334
332
  door_category: {
335
333
  enum: [
@@ -365,13 +363,11 @@ export default {
365
363
  },
366
364
  },
367
365
  required: [
368
- 'acs_entrance_id',
369
- 'display_name',
370
366
  'acs_system_id',
367
+ 'acs_entrance_id',
371
368
  'created_at',
372
- 'latch_metadata',
369
+ 'display_name',
373
370
  'errors',
374
- 'visionline_metadata',
375
371
  ],
376
372
  type: 'object',
377
373
  },
@@ -382,7 +378,10 @@ export default {
382
378
  can_automate_enrollment: { type: 'boolean' },
383
379
  can_create_acs_access_groups: { type: 'boolean' },
384
380
  can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
385
- connected_account_ids: { items: { type: 'string' }, type: 'array' },
381
+ connected_account_ids: {
382
+ items: { format: 'uuid', type: 'string' },
383
+ type: 'array',
384
+ },
386
385
  created_at: { format: 'date-time', type: 'string' },
387
386
  errors: {
388
387
  items: {
@@ -1749,6 +1748,8 @@ export default {
1749
1748
  can_program_online_access_codes: { type: 'boolean' },
1750
1749
  can_remotely_lock: { type: 'boolean' },
1751
1750
  can_remotely_unlock: { type: 'boolean' },
1751
+ can_simulate_connection: { type: 'boolean' },
1752
+ can_simulate_disconnection: { type: 'boolean' },
1752
1753
  can_simulate_removal: { type: 'boolean' },
1753
1754
  capabilities_supported: {
1754
1755
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
@@ -3141,6 +3142,8 @@ export default {
3141
3142
  can_program_online_access_codes: { type: 'boolean' },
3142
3143
  can_remotely_lock: { type: 'boolean' },
3143
3144
  can_remotely_unlock: { type: 'boolean' },
3145
+ can_simulate_connection: { type: 'boolean' },
3146
+ can_simulate_disconnection: { type: 'boolean' },
3144
3147
  can_simulate_removal: { type: 'boolean' },
3145
3148
  capabilities_supported: {
3146
3149
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
@@ -3353,6 +3356,8 @@ export default {
3353
3356
  can_program_online_access_codes: { type: 'boolean' },
3354
3357
  can_remotely_lock: { type: 'boolean' },
3355
3358
  can_remotely_unlock: { type: 'boolean' },
3359
+ can_simulate_connection: { type: 'boolean' },
3360
+ can_simulate_disconnection: { type: 'boolean' },
3356
3361
  can_simulate_removal: { type: 'boolean' },
3357
3362
  capabilities_supported: {
3358
3363
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
@@ -8168,6 +8173,8 @@ export default {
8168
8173
  'can_program_offline_access_codes',
8169
8174
  'can_program_online_access_codes',
8170
8175
  'can_simulate_removal',
8176
+ 'can_simulate_connection',
8177
+ 'can_simulate_disconnection',
8171
8178
  ],
8172
8179
  type: 'string',
8173
8180
  },
@@ -8181,6 +8188,8 @@ export default {
8181
8188
  'can_program_offline_access_codes',
8182
8189
  'can_program_online_access_codes',
8183
8190
  'can_simulate_removal',
8191
+ 'can_simulate_connection',
8192
+ 'can_simulate_disconnection',
8184
8193
  ],
8185
8194
  type: 'string',
8186
8195
  },
@@ -8327,6 +8336,88 @@ export default {
8327
8336
  'x-fern-sdk-return-value': 'device_providers',
8328
8337
  },
8329
8338
  },
8339
+ '/devices/simulate/connect': {
8340
+ post: {
8341
+ operationId: 'devicesSimulateConnectPost',
8342
+ requestBody: {
8343
+ content: {
8344
+ 'application/json': {
8345
+ schema: {
8346
+ properties: { device_id: { format: 'uuid', type: 'string' } },
8347
+ required: ['device_id'],
8348
+ type: 'object',
8349
+ },
8350
+ },
8351
+ },
8352
+ },
8353
+ responses: {
8354
+ 200: {
8355
+ content: {
8356
+ 'application/json': {
8357
+ schema: {
8358
+ properties: { ok: { type: 'boolean' } },
8359
+ required: ['ok'],
8360
+ type: 'object',
8361
+ },
8362
+ },
8363
+ },
8364
+ description: 'OK',
8365
+ },
8366
+ 400: { description: 'Bad Request' },
8367
+ 401: { description: 'Unauthorized' },
8368
+ },
8369
+ security: [
8370
+ { api_key: [] },
8371
+ { pat_with_workspace: [] },
8372
+ { console_session: [] },
8373
+ ],
8374
+ summary: '/devices/simulate/connect',
8375
+ tags: ['/devices'],
8376
+ 'x-fern-sdk-group-name': ['devices', 'simulate'],
8377
+ 'x-fern-sdk-method-name': 'connect',
8378
+ },
8379
+ },
8380
+ '/devices/simulate/disconnect': {
8381
+ post: {
8382
+ operationId: 'devicesSimulateDisconnectPost',
8383
+ requestBody: {
8384
+ content: {
8385
+ 'application/json': {
8386
+ schema: {
8387
+ properties: { device_id: { format: 'uuid', type: 'string' } },
8388
+ required: ['device_id'],
8389
+ type: 'object',
8390
+ },
8391
+ },
8392
+ },
8393
+ },
8394
+ responses: {
8395
+ 200: {
8396
+ content: {
8397
+ 'application/json': {
8398
+ schema: {
8399
+ properties: { ok: { type: 'boolean' } },
8400
+ required: ['ok'],
8401
+ type: 'object',
8402
+ },
8403
+ },
8404
+ },
8405
+ description: 'OK',
8406
+ },
8407
+ 400: { description: 'Bad Request' },
8408
+ 401: { description: 'Unauthorized' },
8409
+ },
8410
+ security: [
8411
+ { api_key: [] },
8412
+ { pat_with_workspace: [] },
8413
+ { console_session: [] },
8414
+ ],
8415
+ summary: '/devices/simulate/disconnect',
8416
+ tags: ['/devices'],
8417
+ 'x-fern-sdk-group-name': ['devices', 'simulate'],
8418
+ 'x-fern-sdk-method-name': 'disconnect',
8419
+ },
8420
+ },
8330
8421
  '/devices/simulate/remove': {
8331
8422
  post: {
8332
8423
  operationId: 'devicesSimulateRemovePost',
@@ -8559,6 +8650,8 @@ export default {
8559
8650
  'can_program_offline_access_codes',
8560
8651
  'can_program_online_access_codes',
8561
8652
  'can_simulate_removal',
8653
+ 'can_simulate_connection',
8654
+ 'can_simulate_disconnection',
8562
8655
  ],
8563
8656
  type: 'string',
8564
8657
  },
@@ -8572,6 +8665,8 @@ export default {
8572
8665
  'can_program_offline_access_codes',
8573
8666
  'can_program_online_access_codes',
8574
8667
  'can_simulate_removal',
8668
+ 'can_simulate_connection',
8669
+ 'can_simulate_disconnection',
8575
8670
  ],
8576
8671
  type: 'string',
8577
8672
  },
@@ -9304,6 +9399,8 @@ export default {
9304
9399
  'can_program_offline_access_codes',
9305
9400
  'can_program_online_access_codes',
9306
9401
  'can_simulate_removal',
9402
+ 'can_simulate_connection',
9403
+ 'can_simulate_disconnection',
9307
9404
  ],
9308
9405
  type: 'string',
9309
9406
  },
@@ -9317,6 +9414,8 @@ export default {
9317
9414
  'can_program_offline_access_codes',
9318
9415
  'can_program_online_access_codes',
9319
9416
  'can_simulate_removal',
9417
+ 'can_simulate_connection',
9418
+ 'can_simulate_disconnection',
9320
9419
  ],
9321
9420
  type: 'string',
9322
9421
  },
@@ -11007,6 +11106,8 @@ export default {
11007
11106
  'can_program_offline_access_codes',
11008
11107
  'can_program_online_access_codes',
11009
11108
  'can_simulate_removal',
11109
+ 'can_simulate_connection',
11110
+ 'can_simulate_disconnection',
11010
11111
  ],
11011
11112
  type: 'string',
11012
11113
  },
@@ -11020,6 +11121,8 @@ export default {
11020
11121
  'can_program_offline_access_codes',
11021
11122
  'can_program_online_access_codes',
11022
11123
  'can_simulate_removal',
11124
+ 'can_simulate_connection',
11125
+ 'can_simulate_disconnection',
11023
11126
  ],
11024
11127
  type: 'string',
11025
11128
  },