@seamapi/types 1.316.0 → 1.318.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 (38) hide show
  1. package/dist/connect.cjs +202 -30
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1090 -216
  4. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  5. package/lib/seam/connect/models/acs/acs-credential.js +12 -0
  6. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-encoder.d.ts +0 -10
  8. package/lib/seam/connect/models/acs/acs-encoder.js +0 -4
  9. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +34 -0
  12. package/lib/seam/connect/models/acs/acs-system.js +4 -0
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
  15. package/lib/seam/connect/models/acs/acs-user.js +1 -0
  16. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  17. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +3 -0
  18. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +1 -0
  19. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  20. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +132 -0
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
  22. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
  23. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
  24. package/lib/seam/connect/models/devices/device-provider.js +1 -1
  25. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  26. package/lib/seam/connect/openapi.d.ts +37 -7
  27. package/lib/seam/connect/openapi.js +179 -14
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +678 -13
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/models/acs/acs-credential.ts +15 -0
  32. package/src/lib/seam/connect/models/acs/acs-encoder.ts +0 -6
  33. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -0
  34. package/src/lib/seam/connect/models/acs/acs-user.ts +1 -0
  35. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +1 -0
  36. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
  37. package/src/lib/seam/connect/openapi.ts +207 -15
  38. package/src/lib/seam/connect/route-types.ts +768 -9
package/dist/connect.cjs CHANGED
@@ -996,8 +996,7 @@ var PROVIDER_CATEGORY_MAP = {
996
996
  "honeywell_resideo",
997
997
  "visionline",
998
998
  "assa_abloy_credential_service",
999
- "latch",
1000
- "assa_abloy_vostio"
999
+ "latch"
1001
1000
  ],
1002
1001
  consumer_smartlocks: [
1003
1002
  "august",
@@ -1022,7 +1021,8 @@ var PROVIDER_CATEGORY_MAP = {
1022
1021
  "salto_ks",
1023
1022
  "assa_abloy_vostio",
1024
1023
  "assa_abloy_vostio_credential_service",
1025
- "salto_space"
1024
+ "salto_space",
1025
+ "assa_abloy_vostio"
1026
1026
  ],
1027
1027
  internal_beta: ALL_DEVICE_PROVIDERS
1028
1028
  };
@@ -1200,7 +1200,8 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
1200
1200
  var acs_entrance_dormakaba_community_metadata = zod.z.object({
1201
1201
  access_point_name: zod.z.string(),
1202
1202
  common_area_number: zod.z.number().optional(),
1203
- inner_access_points_names: zod.z.array(zod.z.string()).optional()
1203
+ inner_access_points_names: zod.z.array(zod.z.string()).optional(),
1204
+ lease_ids: zod.z.array(zod.z.string()).optional()
1204
1205
  });
1205
1206
  var acs_entrance_latch_metadata = zod.z.object({
1206
1207
  accessibility_type: zod.z.string(),
@@ -1281,17 +1282,24 @@ var schedule_modified = common_acs_credential_warning.extend({
1281
1282
  var being_deleted = common_acs_credential_warning.extend({
1282
1283
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description)
1283
1284
  }).describe("Indicates that this credential is being deleted.");
1285
+ var unknown_issue_with_credential = common_acs_credential_warning.extend({
1286
+ warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description)
1287
+ }).describe(
1288
+ "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
1289
+ );
1284
1290
  var acs_credential_warning = zod.z.union([
1285
1291
  waiting_to_be_issued,
1286
1292
  schedule_externally_modified,
1287
1293
  schedule_modified,
1288
- being_deleted
1294
+ being_deleted,
1295
+ unknown_issue_with_credential
1289
1296
  ]).describe("Warning associated with the `acs_credential`.");
1290
1297
  zod.z.object({
1291
1298
  waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
1292
1299
  schedule_externally_modified: schedule_externally_modified.optional().nullable(),
1293
1300
  schedule_modified: schedule_modified.optional().nullable(),
1294
- being_deleted: being_deleted.optional().nullable()
1301
+ being_deleted: being_deleted.optional().nullable(),
1302
+ unknown_issue_with_credential: unknown_issue_with_credential.optional().nullable()
1295
1303
  });
1296
1304
  var common_acs_credential = zod.z.object({
1297
1305
  acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
@@ -1390,10 +1398,7 @@ var common_acs_encoder_error = zod.z.object({
1390
1398
  });
1391
1399
  var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1392
1400
  var acs_encoder_removed = common_acs_encoder_error.extend({
1393
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description),
1394
- _event_id: zod.z.string().uuid().describe(
1395
- "ID of the event that was created when the `acs_encoder` was removed."
1396
- )
1401
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description)
1397
1402
  });
1398
1403
  var acs_encoder_error = (
1399
1404
  // z.union([
@@ -1540,14 +1545,16 @@ var salto_ks_subscription_limit_almost_reached = common_acs_system_warning.exten
1540
1545
  var time_zone_does_not_match_location = common_acs_system_warning.extend({
1541
1546
  warning_code: zod.z.literal("time_zone_does_not_match_location").describe(
1542
1547
  "Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances."
1543
- )
1548
+ ),
1549
+ misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
1544
1550
  });
1545
1551
  var acs_system_warning = zod.z.union([
1546
1552
  salto_ks_subscription_limit_almost_reached,
1547
1553
  time_zone_does_not_match_location
1548
1554
  ]).describe("Warning associated with the `acs_system`.");
1549
1555
  zod.z.object({
1550
- salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable()
1556
+ salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable(),
1557
+ time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable()
1551
1558
  });
1552
1559
  var acs_system = zod.z.object({
1553
1560
  default_credential_manager_acs_system_id: zod.z.string().uuid().nullable().optional().describe(
@@ -1728,7 +1735,7 @@ var common_acs_user = zod.z.object({
1728
1735
  external_type_display_name: zod.z.string().optional().describe(
1729
1736
  "Display name that corresponds to the brand-specific terminology for the `acs_user` type."
1730
1737
  ),
1731
- is_suspended: zod.z.boolean().describe(
1738
+ is_suspended: zod.z.boolean().optional().describe(
1732
1739
  "Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users)."
1733
1740
  ),
1734
1741
  access_schedule: schedule.optional().describe(
@@ -3291,6 +3298,27 @@ var openapi_default = {
3291
3298
  },
3292
3299
  required: ["created_at", "message", "warning_code"],
3293
3300
  type: "object"
3301
+ },
3302
+ {
3303
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
3304
+ properties: {
3305
+ created_at: {
3306
+ description: "Date and time at which Seam created the warning.",
3307
+ format: "date-time",
3308
+ type: "string"
3309
+ },
3310
+ message: {
3311
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3312
+ type: "string"
3313
+ },
3314
+ warning_code: {
3315
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3316
+ enum: ["unknown_issue_with_credential"],
3317
+ type: "string"
3318
+ }
3319
+ },
3320
+ required: ["created_at", "message", "warning_code"],
3321
+ type: "object"
3294
3322
  }
3295
3323
  ]
3296
3324
  },
@@ -3399,7 +3427,8 @@ var openapi_default = {
3399
3427
  inner_access_points_names: {
3400
3428
  items: { type: "string" },
3401
3429
  type: "array"
3402
- }
3430
+ },
3431
+ lease_ids: { items: { type: "string" }, type: "array" }
3403
3432
  },
3404
3433
  required: ["access_point_name"],
3405
3434
  type: "object"
@@ -3808,6 +3837,10 @@ var openapi_default = {
3808
3837
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3809
3838
  type: "string"
3810
3839
  },
3840
+ misconfigured_acs_entrance_ids: {
3841
+ items: { format: "uuid", type: "string" },
3842
+ type: "array"
3843
+ },
3811
3844
  warning_code: {
3812
3845
  description: "Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances.",
3813
3846
  enum: ["time_zone_does_not_match_location"],
@@ -4105,7 +4138,6 @@ var openapi_default = {
4105
4138
  "workspace_id",
4106
4139
  "created_at",
4107
4140
  "display_name",
4108
- "is_suspended",
4109
4141
  "warnings",
4110
4142
  "errors",
4111
4143
  "is_managed"
@@ -4622,6 +4654,31 @@ var openapi_default = {
4622
4654
  "warning_code"
4623
4655
  ],
4624
4656
  type: "object"
4657
+ },
4658
+ {
4659
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
4660
+ properties: {
4661
+ created_at: {
4662
+ description: "Date and time at which Seam created the warning.",
4663
+ format: "date-time",
4664
+ type: "string"
4665
+ },
4666
+ message: {
4667
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4668
+ type: "string"
4669
+ },
4670
+ warning_code: {
4671
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4672
+ enum: ["unknown_issue_with_credential"],
4673
+ type: "string"
4674
+ }
4675
+ },
4676
+ required: [
4677
+ "created_at",
4678
+ "message",
4679
+ "warning_code"
4680
+ ],
4681
+ type: "object"
4625
4682
  }
4626
4683
  ]
4627
4684
  },
@@ -4884,6 +4941,31 @@ var openapi_default = {
4884
4941
  "warning_code"
4885
4942
  ],
4886
4943
  type: "object"
4944
+ },
4945
+ {
4946
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
4947
+ properties: {
4948
+ created_at: {
4949
+ description: "Date and time at which Seam created the warning.",
4950
+ format: "date-time",
4951
+ type: "string"
4952
+ },
4953
+ message: {
4954
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4955
+ type: "string"
4956
+ },
4957
+ warning_code: {
4958
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4959
+ enum: ["unknown_issue_with_credential"],
4960
+ type: "string"
4961
+ }
4962
+ },
4963
+ required: [
4964
+ "created_at",
4965
+ "message",
4966
+ "warning_code"
4967
+ ],
4968
+ type: "object"
4887
4969
  }
4888
4970
  ]
4889
4971
  },
@@ -5277,6 +5359,31 @@ var openapi_default = {
5277
5359
  "warning_code"
5278
5360
  ],
5279
5361
  type: "object"
5362
+ },
5363
+ {
5364
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
5365
+ properties: {
5366
+ created_at: {
5367
+ description: "Date and time at which Seam created the warning.",
5368
+ format: "date-time",
5369
+ type: "string"
5370
+ },
5371
+ message: {
5372
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5373
+ type: "string"
5374
+ },
5375
+ warning_code: {
5376
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5377
+ enum: ["unknown_issue_with_credential"],
5378
+ type: "string"
5379
+ }
5380
+ },
5381
+ required: [
5382
+ "created_at",
5383
+ "message",
5384
+ "warning_code"
5385
+ ],
5386
+ type: "object"
5280
5387
  }
5281
5388
  ]
5282
5389
  },
@@ -5539,6 +5646,31 @@ var openapi_default = {
5539
5646
  "warning_code"
5540
5647
  ],
5541
5648
  type: "object"
5649
+ },
5650
+ {
5651
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
5652
+ properties: {
5653
+ created_at: {
5654
+ description: "Date and time at which Seam created the warning.",
5655
+ format: "date-time",
5656
+ type: "string"
5657
+ },
5658
+ message: {
5659
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5660
+ type: "string"
5661
+ },
5662
+ warning_code: {
5663
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5664
+ enum: ["unknown_issue_with_credential"],
5665
+ type: "string"
5666
+ }
5667
+ },
5668
+ required: [
5669
+ "created_at",
5670
+ "message",
5671
+ "warning_code"
5672
+ ],
5673
+ type: "object"
5542
5674
  }
5543
5675
  ]
5544
5676
  },
@@ -15851,6 +15983,31 @@ var openapi_default = {
15851
15983
  "warning_code"
15852
15984
  ],
15853
15985
  type: "object"
15986
+ },
15987
+ {
15988
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
15989
+ properties: {
15990
+ created_at: {
15991
+ description: "Date and time at which Seam created the warning.",
15992
+ format: "date-time",
15993
+ type: "string"
15994
+ },
15995
+ message: {
15996
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
15997
+ type: "string"
15998
+ },
15999
+ warning_code: {
16000
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16001
+ enum: ["unknown_issue_with_credential"],
16002
+ type: "string"
16003
+ }
16004
+ },
16005
+ required: [
16006
+ "created_at",
16007
+ "message",
16008
+ "warning_code"
16009
+ ],
16010
+ type: "object"
15854
16011
  }
15855
16012
  ]
15856
16013
  },
@@ -16210,6 +16367,31 @@ var openapi_default = {
16210
16367
  "warning_code"
16211
16368
  ],
16212
16369
  type: "object"
16370
+ },
16371
+ {
16372
+ description: "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.",
16373
+ properties: {
16374
+ created_at: {
16375
+ description: "Date and time at which Seam created the warning.",
16376
+ format: "date-time",
16377
+ type: "string"
16378
+ },
16379
+ message: {
16380
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
16381
+ type: "string"
16382
+ },
16383
+ warning_code: {
16384
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16385
+ enum: ["unknown_issue_with_credential"],
16386
+ type: "string"
16387
+ }
16388
+ },
16389
+ required: [
16390
+ "created_at",
16391
+ "message",
16392
+ "warning_code"
16393
+ ],
16394
+ type: "object"
16213
16395
  }
16214
16396
  ]
16215
16397
  },
@@ -16524,11 +16706,6 @@ var openapi_default = {
16524
16706
  items: {
16525
16707
  description: "Error associated with the `acs_encoder`.",
16526
16708
  properties: {
16527
- _event_id: {
16528
- description: "ID of the event that was created when the `acs_encoder` was removed.",
16529
- format: "uuid",
16530
- type: "string"
16531
- },
16532
16709
  created_at: {
16533
16710
  description: "Date and time at which Seam created the error.",
16534
16711
  format: "date-time",
@@ -16544,12 +16721,7 @@ var openapi_default = {
16544
16721
  type: "string"
16545
16722
  }
16546
16723
  },
16547
- required: [
16548
- "created_at",
16549
- "message",
16550
- "error_code",
16551
- "_event_id"
16552
- ],
16724
+ required: ["created_at", "message", "error_code"],
16553
16725
  type: "object"
16554
16726
  },
16555
16727
  type: "array"
@@ -18222,7 +18394,6 @@ var openapi_default = {
18222
18394
  "workspace_id",
18223
18395
  "created_at",
18224
18396
  "display_name",
18225
- "is_suspended",
18226
18397
  "warnings",
18227
18398
  "errors",
18228
18399
  "is_managed"
@@ -18582,7 +18753,6 @@ var openapi_default = {
18582
18753
  "workspace_id",
18583
18754
  "created_at",
18584
18755
  "display_name",
18585
- "is_suspended",
18586
18756
  "warnings",
18587
18757
  "errors",
18588
18758
  "is_managed"
@@ -25725,7 +25895,8 @@ var openapi_default = {
25725
25895
  summary: "/user_identities/update",
25726
25896
  tags: ["/user_identities"],
25727
25897
  "x-fern-ignore": true,
25728
- "x-response-key": null
25898
+ "x-response-key": null,
25899
+ "x-title": "Update a User Identity"
25729
25900
  },
25730
25901
  post: {
25731
25902
  operationId: "userIdentitiesUpdatePost",
@@ -25789,7 +25960,8 @@ var openapi_default = {
25789
25960
  tags: ["/user_identities"],
25790
25961
  "x-fern-sdk-group-name": ["user_identities"],
25791
25962
  "x-fern-sdk-method-name": "update",
25792
- "x-response-key": null
25963
+ "x-response-key": null,
25964
+ "x-title": "Update a User Identity"
25793
25965
  }
25794
25966
  },
25795
25967
  "/webhooks/create": {