@seamapi/types 1.459.0 → 1.460.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 (29) hide show
  1. package/dist/connect.cjs +158 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1329 -40
  4. package/dist/index.cjs +158 -7
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
  7. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
  9. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
  11. package/lib/seam/connect/models/batch.d.ts +980 -0
  12. package/lib/seam/connect/models/devices/device-metadata.d.ts +108 -0
  13. package/lib/seam/connect/models/devices/device-metadata.js +67 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  15. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  16. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  17. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device.d.ts +152 -0
  19. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +108 -0
  20. package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
  21. package/lib/seam/connect/openapi.d.ts +101 -0
  22. package/lib/seam/connect/openapi.js +128 -0
  23. package/lib/seam/connect/openapi.js.map +1 -1
  24. package/lib/seam/connect/route-types.d.ts +735 -4
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/models/devices/device-metadata.ts +68 -0
  27. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  28. package/src/lib/seam/connect/openapi.ts +140 -0
  29. package/src/lib/seam/connect/route-types.ts +769 -0
@@ -165,17 +165,17 @@ declare const phone_provider_session: z.ZodObject<{
165
165
  door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
166
166
  endpoint_id: z.ZodOptional<z.ZodString>;
167
167
  }, "strip", z.ZodTypeAny, {
168
+ key_id?: string | undefined;
168
169
  endpoint_id?: string | undefined;
169
170
  auto_join?: boolean | undefined;
170
171
  override_guest_acs_entrance_ids?: string[] | undefined;
171
- key_id?: string | undefined;
172
172
  key_issuing_request_id?: string | undefined;
173
173
  door_names?: string[] | undefined;
174
174
  }, {
175
+ key_id?: string | undefined;
175
176
  endpoint_id?: string | undefined;
176
177
  auto_join?: boolean | undefined;
177
178
  override_guest_acs_entrance_ids?: string[] | undefined;
178
- key_id?: string | undefined;
179
179
  key_issuing_request_id?: string | undefined;
180
180
  door_names?: string[] | undefined;
181
181
  }>>;
@@ -542,10 +542,10 @@ declare const phone_provider_session: z.ZodObject<{
542
542
  credential_id?: string | undefined;
543
543
  } | undefined;
544
544
  assa_abloy_vostio_metadata?: {
545
+ key_id?: string | undefined;
545
546
  endpoint_id?: string | undefined;
546
547
  auto_join?: boolean | undefined;
547
548
  override_guest_acs_entrance_ids?: string[] | undefined;
548
- key_id?: string | undefined;
549
549
  key_issuing_request_id?: string | undefined;
550
550
  door_names?: string[] | undefined;
551
551
  } | undefined;
@@ -670,10 +670,10 @@ declare const phone_provider_session: z.ZodObject<{
670
670
  credential_id?: string | undefined;
671
671
  } | undefined;
672
672
  assa_abloy_vostio_metadata?: {
673
+ key_id?: string | undefined;
673
674
  endpoint_id?: string | undefined;
674
675
  auto_join?: boolean | undefined;
675
676
  override_guest_acs_entrance_ids?: string[] | undefined;
676
- key_id?: string | undefined;
677
677
  key_issuing_request_id?: string | undefined;
678
678
  door_names?: string[] | undefined;
679
679
  } | undefined;
@@ -806,10 +806,10 @@ declare const phone_provider_session: z.ZodObject<{
806
806
  credential_id?: string | undefined;
807
807
  } | undefined;
808
808
  assa_abloy_vostio_metadata?: {
809
+ key_id?: string | undefined;
809
810
  endpoint_id?: string | undefined;
810
811
  auto_join?: boolean | undefined;
811
812
  override_guest_acs_entrance_ids?: string[] | undefined;
812
- key_id?: string | undefined;
813
813
  key_issuing_request_id?: string | undefined;
814
814
  door_names?: string[] | undefined;
815
815
  } | undefined;
@@ -942,10 +942,10 @@ declare const phone_provider_session: z.ZodObject<{
942
942
  credential_id?: string | undefined;
943
943
  } | undefined;
944
944
  assa_abloy_vostio_metadata?: {
945
+ key_id?: string | undefined;
945
946
  endpoint_id?: string | undefined;
946
947
  auto_join?: boolean | undefined;
947
948
  override_guest_acs_entrance_ids?: string[] | undefined;
948
- key_id?: string | undefined;
949
949
  key_issuing_request_id?: string | undefined;
950
950
  door_names?: string[] | undefined;
951
951
  } | undefined;
@@ -1131,17 +1131,17 @@ export declare const phone_session: z.ZodObject<{
1131
1131
  door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1132
1132
  endpoint_id: z.ZodOptional<z.ZodString>;
1133
1133
  }, "strip", z.ZodTypeAny, {
1134
+ key_id?: string | undefined;
1134
1135
  endpoint_id?: string | undefined;
1135
1136
  auto_join?: boolean | undefined;
1136
1137
  override_guest_acs_entrance_ids?: string[] | undefined;
1137
- key_id?: string | undefined;
1138
1138
  key_issuing_request_id?: string | undefined;
1139
1139
  door_names?: string[] | undefined;
1140
1140
  }, {
1141
+ key_id?: string | undefined;
1141
1142
  endpoint_id?: string | undefined;
1142
1143
  auto_join?: boolean | undefined;
1143
1144
  override_guest_acs_entrance_ids?: string[] | undefined;
1144
- key_id?: string | undefined;
1145
1145
  key_issuing_request_id?: string | undefined;
1146
1146
  door_names?: string[] | undefined;
1147
1147
  }>>;
@@ -1508,10 +1508,10 @@ export declare const phone_session: z.ZodObject<{
1508
1508
  credential_id?: string | undefined;
1509
1509
  } | undefined;
1510
1510
  assa_abloy_vostio_metadata?: {
1511
+ key_id?: string | undefined;
1511
1512
  endpoint_id?: string | undefined;
1512
1513
  auto_join?: boolean | undefined;
1513
1514
  override_guest_acs_entrance_ids?: string[] | undefined;
1514
- key_id?: string | undefined;
1515
1515
  key_issuing_request_id?: string | undefined;
1516
1516
  door_names?: string[] | undefined;
1517
1517
  } | undefined;
@@ -1636,10 +1636,10 @@ export declare const phone_session: z.ZodObject<{
1636
1636
  credential_id?: string | undefined;
1637
1637
  } | undefined;
1638
1638
  assa_abloy_vostio_metadata?: {
1639
+ key_id?: string | undefined;
1639
1640
  endpoint_id?: string | undefined;
1640
1641
  auto_join?: boolean | undefined;
1641
1642
  override_guest_acs_entrance_ids?: string[] | undefined;
1642
- key_id?: string | undefined;
1643
1643
  key_issuing_request_id?: string | undefined;
1644
1644
  door_names?: string[] | undefined;
1645
1645
  } | undefined;
@@ -1772,10 +1772,10 @@ export declare const phone_session: z.ZodObject<{
1772
1772
  credential_id?: string | undefined;
1773
1773
  } | undefined;
1774
1774
  assa_abloy_vostio_metadata?: {
1775
+ key_id?: string | undefined;
1775
1776
  endpoint_id?: string | undefined;
1776
1777
  auto_join?: boolean | undefined;
1777
1778
  override_guest_acs_entrance_ids?: string[] | undefined;
1778
- key_id?: string | undefined;
1779
1779
  key_issuing_request_id?: string | undefined;
1780
1780
  door_names?: string[] | undefined;
1781
1781
  } | undefined;
@@ -1908,10 +1908,10 @@ export declare const phone_session: z.ZodObject<{
1908
1908
  credential_id?: string | undefined;
1909
1909
  } | undefined;
1910
1910
  assa_abloy_vostio_metadata?: {
1911
+ key_id?: string | undefined;
1911
1912
  endpoint_id?: string | undefined;
1912
1913
  auto_join?: boolean | undefined;
1913
1914
  override_guest_acs_entrance_ids?: string[] | undefined;
1914
- key_id?: string | undefined;
1915
1915
  key_issuing_request_id?: string | undefined;
1916
1916
  door_names?: string[] | undefined;
1917
1917
  } | undefined;
@@ -2046,10 +2046,10 @@ export declare const phone_session: z.ZodObject<{
2046
2046
  credential_id?: string | undefined;
2047
2047
  } | undefined;
2048
2048
  assa_abloy_vostio_metadata?: {
2049
+ key_id?: string | undefined;
2049
2050
  endpoint_id?: string | undefined;
2050
2051
  auto_join?: boolean | undefined;
2051
2052
  override_guest_acs_entrance_ids?: string[] | undefined;
2052
- key_id?: string | undefined;
2053
2053
  key_issuing_request_id?: string | undefined;
2054
2054
  door_names?: string[] | undefined;
2055
2055
  } | undefined;
@@ -2184,10 +2184,10 @@ export declare const phone_session: z.ZodObject<{
2184
2184
  credential_id?: string | undefined;
2185
2185
  } | undefined;
2186
2186
  assa_abloy_vostio_metadata?: {
2187
+ key_id?: string | undefined;
2187
2188
  endpoint_id?: string | undefined;
2188
2189
  auto_join?: boolean | undefined;
2189
2190
  override_guest_acs_entrance_ids?: string[] | undefined;
2190
- key_id?: string | undefined;
2191
2191
  key_issuing_request_id?: string | undefined;
2192
2192
  door_names?: string[] | undefined;
2193
2193
  } | undefined;
@@ -5169,6 +5169,107 @@ declare const _default: {
5169
5169
  required: string[];
5170
5170
  type: string;
5171
5171
  };
5172
+ keynest_metadata: {
5173
+ description: string;
5174
+ properties: {
5175
+ address: {
5176
+ description: string;
5177
+ nullable: boolean;
5178
+ type: string;
5179
+ };
5180
+ current_or_last_store_id: {
5181
+ description: string;
5182
+ format: string;
5183
+ type: string;
5184
+ };
5185
+ current_status: {
5186
+ description: string;
5187
+ nullable: boolean;
5188
+ type: string;
5189
+ };
5190
+ current_user_company: {
5191
+ description: string;
5192
+ nullable: boolean;
5193
+ type: string;
5194
+ };
5195
+ current_user_email: {
5196
+ description: string;
5197
+ nullable: boolean;
5198
+ type: string;
5199
+ };
5200
+ current_user_name: {
5201
+ description: string;
5202
+ nullable: boolean;
5203
+ type: string;
5204
+ };
5205
+ current_user_phone_number: {
5206
+ description: string;
5207
+ nullable: boolean;
5208
+ type: string;
5209
+ };
5210
+ default_office_id: {
5211
+ description: string;
5212
+ format: string;
5213
+ type: string;
5214
+ };
5215
+ device_name: {
5216
+ description: string;
5217
+ type: string;
5218
+ };
5219
+ fob_id: {
5220
+ description: string;
5221
+ format: string;
5222
+ type: string;
5223
+ };
5224
+ handover_method: {
5225
+ description: string;
5226
+ nullable: boolean;
5227
+ type: string;
5228
+ };
5229
+ has_photo: {
5230
+ description: string;
5231
+ type: string;
5232
+ };
5233
+ key_id: {
5234
+ description: string;
5235
+ type: string;
5236
+ };
5237
+ key_notes: {
5238
+ description: string;
5239
+ nullable: boolean;
5240
+ type: string;
5241
+ };
5242
+ keynest_app_user: {
5243
+ description: string;
5244
+ nullable: boolean;
5245
+ type: string;
5246
+ };
5247
+ last_movement: {
5248
+ description: string;
5249
+ type: string;
5250
+ };
5251
+ property_id: {
5252
+ description: string;
5253
+ nullable: boolean;
5254
+ type: string;
5255
+ };
5256
+ property_postcode: {
5257
+ description: string;
5258
+ nullable: boolean;
5259
+ type: string;
5260
+ };
5261
+ status_type: {
5262
+ description: string;
5263
+ type: string;
5264
+ };
5265
+ subscription_plan: {
5266
+ description: string;
5267
+ type: string;
5268
+ };
5269
+ };
5270
+ required: string[];
5271
+ type: string;
5272
+ };
5172
5273
  kwikset_metadata: {
5173
5274
  description: string;
5174
5275
  properties: {
@@ -9419,6 +9419,128 @@ export default {
9419
9419
  required: ['device_id', 'device_name'],
9420
9420
  type: 'object',
9421
9421
  },
9422
+ keynest_metadata: {
9423
+ description: 'Metadata for a KeyNest device.',
9424
+ properties: {
9425
+ address: {
9426
+ description: 'Address for a KeyNest device.',
9427
+ nullable: true,
9428
+ type: 'string',
9429
+ },
9430
+ current_or_last_store_id: {
9431
+ description: 'Current or last store ID for a KeyNest device.',
9432
+ format: 'float',
9433
+ type: 'number',
9434
+ },
9435
+ current_status: {
9436
+ description: 'Current status for a KeyNest device.',
9437
+ nullable: true,
9438
+ type: 'string',
9439
+ },
9440
+ current_user_company: {
9441
+ description: 'Current user company for a KeyNest device.',
9442
+ nullable: true,
9443
+ type: 'string',
9444
+ },
9445
+ current_user_email: {
9446
+ description: 'Current user email for a KeyNest device.',
9447
+ nullable: true,
9448
+ type: 'string',
9449
+ },
9450
+ current_user_name: {
9451
+ description: 'Current user name for a KeyNest device.',
9452
+ nullable: true,
9453
+ type: 'string',
9454
+ },
9455
+ current_user_phone_number: {
9456
+ description: 'Current user phone number for a KeyNest device.',
9457
+ nullable: true,
9458
+ type: 'string',
9459
+ },
9460
+ default_office_id: {
9461
+ description: 'Default office ID for a KeyNest device.',
9462
+ format: 'float',
9463
+ type: 'number',
9464
+ },
9465
+ device_name: {
9466
+ description: 'Device name for a KeyNest device.',
9467
+ type: 'string',
9468
+ },
9469
+ fob_id: {
9470
+ description: 'Fob ID for a KeyNest device.',
9471
+ format: 'float',
9472
+ type: 'number',
9473
+ },
9474
+ handover_method: {
9475
+ description: 'Handover method for a KeyNest device.',
9476
+ nullable: true,
9477
+ type: 'string',
9478
+ },
9479
+ has_photo: {
9480
+ description: 'Whether the KeyNest device has a photo.',
9481
+ type: 'boolean',
9482
+ },
9483
+ key_id: {
9484
+ description: 'Key ID for a KeyNest device.',
9485
+ type: 'string',
9486
+ },
9487
+ key_notes: {
9488
+ description: 'Key notes for a KeyNest device.',
9489
+ nullable: true,
9490
+ type: 'string',
9491
+ },
9492
+ keynest_app_user: {
9493
+ description: 'KeyNest app user for a KeyNest device.',
9494
+ nullable: true,
9495
+ type: 'string',
9496
+ },
9497
+ last_movement: {
9498
+ description: 'Last movement timestamp for a KeyNest device.',
9499
+ type: 'string',
9500
+ },
9501
+ property_id: {
9502
+ description: 'Property ID for a KeyNest device.',
9503
+ nullable: true,
9504
+ type: 'string',
9505
+ },
9506
+ property_postcode: {
9507
+ description: 'Property postcode for a KeyNest device.',
9508
+ nullable: true,
9509
+ type: 'string',
9510
+ },
9511
+ status_type: {
9512
+ description: 'Status type for a KeyNest device.',
9513
+ type: 'string',
9514
+ },
9515
+ subscription_plan: {
9516
+ description: 'Subscription plan for a KeyNest device.',
9517
+ type: 'string',
9518
+ },
9519
+ },
9520
+ required: [
9521
+ 'key_id',
9522
+ 'device_name',
9523
+ 'property_id',
9524
+ 'property_postcode',
9525
+ 'key_notes',
9526
+ 'subscription_plan',
9527
+ 'status_type',
9528
+ 'current_or_last_store_id',
9529
+ 'last_movement',
9530
+ 'address',
9531
+ 'current_status',
9532
+ 'current_user_name',
9533
+ 'current_user_email',
9534
+ 'current_user_phone_number',
9535
+ 'current_user_company',
9536
+ 'handover_method',
9537
+ 'keynest_app_user',
9538
+ 'default_office_id',
9539
+ 'fob_id',
9540
+ 'has_photo',
9541
+ ],
9542
+ type: 'object',
9543
+ },
9422
9544
  kwikset_metadata: {
9423
9545
  description: 'Metadata for a Kwikset device.',
9424
9546
  properties: {
@@ -11411,6 +11533,7 @@ export default {
11411
11533
  'salto_space',
11412
11534
  'sensi',
11413
11535
  'kwikset2',
11536
+ 'keynest',
11414
11537
  ],
11415
11538
  type: 'string',
11416
11539
  },
@@ -33268,6 +33391,7 @@ export default {
33268
33391
  'salto_space',
33269
33392
  'sensi',
33270
33393
  'kwikset2',
33394
+ 'keynest',
33271
33395
  'yale_access',
33272
33396
  'hid_cm',
33273
33397
  'google_nest',
@@ -35972,6 +36096,7 @@ export default {
35972
36096
  'tado',
35973
36097
  'sensi',
35974
36098
  'smartthings',
36099
+ 'keynest',
35975
36100
  ],
35976
36101
  type: 'string',
35977
36102
  },
@@ -36421,6 +36546,7 @@ export default {
36421
36546
  'tado',
36422
36547
  'sensi',
36423
36548
  'smartthings',
36549
+ 'keynest',
36424
36550
  ],
36425
36551
  type: 'string',
36426
36552
  },
@@ -37198,6 +37324,7 @@ export default {
37198
37324
  'tado',
37199
37325
  'sensi',
37200
37326
  'smartthings',
37327
+ 'keynest',
37201
37328
  ],
37202
37329
  type: 'string',
37203
37330
  },
@@ -37644,6 +37771,7 @@ export default {
37644
37771
  'tado',
37645
37772
  'sensi',
37646
37773
  'smartthings',
37774
+ 'keynest',
37647
37775
  ],
37648
37776
  type: 'string',
37649
37777
  },