@seamapi/types 1.315.0 → 1.317.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.
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
  };
@@ -1281,17 +1281,24 @@ var schedule_modified = common_acs_credential_warning.extend({
1281
1281
  var being_deleted = common_acs_credential_warning.extend({
1282
1282
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description)
1283
1283
  }).describe("Indicates that this credential is being deleted.");
1284
+ var unknown_issue_with_credential = common_acs_credential_warning.extend({
1285
+ warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description)
1286
+ }).describe(
1287
+ "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
1288
+ );
1284
1289
  var acs_credential_warning = zod.z.union([
1285
1290
  waiting_to_be_issued,
1286
1291
  schedule_externally_modified,
1287
1292
  schedule_modified,
1288
- being_deleted
1293
+ being_deleted,
1294
+ unknown_issue_with_credential
1289
1295
  ]).describe("Warning associated with the `acs_credential`.");
1290
1296
  zod.z.object({
1291
1297
  waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
1292
1298
  schedule_externally_modified: schedule_externally_modified.optional().nullable(),
1293
1299
  schedule_modified: schedule_modified.optional().nullable(),
1294
- being_deleted: being_deleted.optional().nullable()
1300
+ being_deleted: being_deleted.optional().nullable(),
1301
+ unknown_issue_with_credential: unknown_issue_with_credential.optional().nullable()
1295
1302
  });
1296
1303
  var common_acs_credential = zod.z.object({
1297
1304
  acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
@@ -1468,8 +1475,8 @@ var acs_system_external_type = zod.z.enum([
1468
1475
  "visionline_system",
1469
1476
  "assa_abloy_credential_service",
1470
1477
  "latch_building",
1471
- "dormakaba_community",
1472
- "legic_connect",
1478
+ "dormakaba_community_site",
1479
+ "legic_connect_credential_service",
1473
1480
  "assa_abloy_vostio",
1474
1481
  "assa_abloy_vostio_credential_service"
1475
1482
  ]);
@@ -1594,7 +1601,14 @@ var acs_system = zod.z.object({
1594
1601
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`."
1595
1602
  ),
1596
1603
  connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
1597
- "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`."
1604
+ `IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
1605
+ ---
1606
+ deprecated: Use \`connected_account_id\`.
1607
+ ---
1608
+ `
1609
+ ),
1610
+ connected_account_id: zod.z.string().uuid().describe(
1611
+ "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`."
1598
1612
  ),
1599
1613
  image_url: zod.z.string().describe("URL for the image that represents the `acs_system`."),
1600
1614
  image_alt_text: zod.z.string().describe("Alternative text for the `acs_system` image."),
@@ -3284,6 +3298,27 @@ var openapi_default = {
3284
3298
  },
3285
3299
  required: ["created_at", "message", "warning_code"],
3286
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"
3287
3322
  }
3288
3323
  ]
3289
3324
  },
@@ -3519,8 +3554,13 @@ var openapi_default = {
3519
3554
  description: "Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems).",
3520
3555
  type: "boolean"
3521
3556
  },
3557
+ connected_account_id: {
3558
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.",
3559
+ format: "uuid",
3560
+ type: "string"
3561
+ },
3522
3562
  connected_account_ids: {
3523
- description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.",
3563
+ description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.\n---\ndeprecated: Use `connected_account_id`.\n---",
3524
3564
  items: { format: "uuid", type: "string" },
3525
3565
  type: "array"
3526
3566
  },
@@ -3682,8 +3722,8 @@ var openapi_default = {
3682
3722
  "visionline_system",
3683
3723
  "assa_abloy_credential_service",
3684
3724
  "latch_building",
3685
- "dormakaba_community",
3686
- "legic_connect",
3725
+ "dormakaba_community_site",
3726
+ "legic_connect_credential_service",
3687
3727
  "assa_abloy_vostio",
3688
3728
  "assa_abloy_vostio_credential_service"
3689
3729
  ],
@@ -3729,8 +3769,8 @@ var openapi_default = {
3729
3769
  "visionline_system",
3730
3770
  "assa_abloy_credential_service",
3731
3771
  "latch_building",
3732
- "dormakaba_community",
3733
- "legic_connect",
3772
+ "dormakaba_community_site",
3773
+ "legic_connect_credential_service",
3734
3774
  "assa_abloy_vostio",
3735
3775
  "assa_abloy_vostio_credential_service"
3736
3776
  ],
@@ -3823,6 +3863,7 @@ var openapi_default = {
3823
3863
  "created_at",
3824
3864
  "workspace_id",
3825
3865
  "connected_account_ids",
3866
+ "connected_account_id",
3826
3867
  "image_url",
3827
3868
  "image_alt_text",
3828
3869
  "errors",
@@ -4609,6 +4650,31 @@ var openapi_default = {
4609
4650
  "warning_code"
4610
4651
  ],
4611
4652
  type: "object"
4653
+ },
4654
+ {
4655
+ 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.",
4656
+ properties: {
4657
+ created_at: {
4658
+ description: "Date and time at which Seam created the warning.",
4659
+ format: "date-time",
4660
+ type: "string"
4661
+ },
4662
+ message: {
4663
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4664
+ type: "string"
4665
+ },
4666
+ warning_code: {
4667
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4668
+ enum: ["unknown_issue_with_credential"],
4669
+ type: "string"
4670
+ }
4671
+ },
4672
+ required: [
4673
+ "created_at",
4674
+ "message",
4675
+ "warning_code"
4676
+ ],
4677
+ type: "object"
4612
4678
  }
4613
4679
  ]
4614
4680
  },
@@ -4871,6 +4937,31 @@ var openapi_default = {
4871
4937
  "warning_code"
4872
4938
  ],
4873
4939
  type: "object"
4940
+ },
4941
+ {
4942
+ 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.",
4943
+ properties: {
4944
+ created_at: {
4945
+ description: "Date and time at which Seam created the warning.",
4946
+ format: "date-time",
4947
+ type: "string"
4948
+ },
4949
+ message: {
4950
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4951
+ type: "string"
4952
+ },
4953
+ warning_code: {
4954
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4955
+ enum: ["unknown_issue_with_credential"],
4956
+ type: "string"
4957
+ }
4958
+ },
4959
+ required: [
4960
+ "created_at",
4961
+ "message",
4962
+ "warning_code"
4963
+ ],
4964
+ type: "object"
4874
4965
  }
4875
4966
  ]
4876
4967
  },
@@ -5264,6 +5355,31 @@ var openapi_default = {
5264
5355
  "warning_code"
5265
5356
  ],
5266
5357
  type: "object"
5358
+ },
5359
+ {
5360
+ 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.",
5361
+ properties: {
5362
+ created_at: {
5363
+ description: "Date and time at which Seam created the warning.",
5364
+ format: "date-time",
5365
+ type: "string"
5366
+ },
5367
+ message: {
5368
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5369
+ type: "string"
5370
+ },
5371
+ warning_code: {
5372
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5373
+ enum: ["unknown_issue_with_credential"],
5374
+ type: "string"
5375
+ }
5376
+ },
5377
+ required: [
5378
+ "created_at",
5379
+ "message",
5380
+ "warning_code"
5381
+ ],
5382
+ type: "object"
5267
5383
  }
5268
5384
  ]
5269
5385
  },
@@ -5526,6 +5642,31 @@ var openapi_default = {
5526
5642
  "warning_code"
5527
5643
  ],
5528
5644
  type: "object"
5645
+ },
5646
+ {
5647
+ 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.",
5648
+ properties: {
5649
+ created_at: {
5650
+ description: "Date and time at which Seam created the warning.",
5651
+ format: "date-time",
5652
+ type: "string"
5653
+ },
5654
+ message: {
5655
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5656
+ type: "string"
5657
+ },
5658
+ warning_code: {
5659
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5660
+ enum: ["unknown_issue_with_credential"],
5661
+ type: "string"
5662
+ }
5663
+ },
5664
+ required: [
5665
+ "created_at",
5666
+ "message",
5667
+ "warning_code"
5668
+ ],
5669
+ type: "object"
5529
5670
  }
5530
5671
  ]
5531
5672
  },
@@ -12812,17 +12953,7 @@ var openapi_default = {
12812
12953
  name: "seam-client-session-token",
12813
12954
  type: "apiKey"
12814
12955
  },
12815
- seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" },
12816
- user_session: {
12817
- bearerFormat: "User Session Token",
12818
- scheme: "bearer",
12819
- type: "http"
12820
- },
12821
- user_session_without_workspace: {
12822
- bearerFormat: "User Session Token",
12823
- scheme: "bearer",
12824
- type: "http"
12825
- }
12956
+ seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" }
12826
12957
  }
12827
12958
  },
12828
12959
  info: { title: "Seam Connect", version: "1.0.0" },
@@ -15848,6 +15979,31 @@ var openapi_default = {
15848
15979
  "warning_code"
15849
15980
  ],
15850
15981
  type: "object"
15982
+ },
15983
+ {
15984
+ 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.",
15985
+ properties: {
15986
+ created_at: {
15987
+ description: "Date and time at which Seam created the warning.",
15988
+ format: "date-time",
15989
+ type: "string"
15990
+ },
15991
+ message: {
15992
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
15993
+ type: "string"
15994
+ },
15995
+ warning_code: {
15996
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15997
+ enum: ["unknown_issue_with_credential"],
15998
+ type: "string"
15999
+ }
16000
+ },
16001
+ required: [
16002
+ "created_at",
16003
+ "message",
16004
+ "warning_code"
16005
+ ],
16006
+ type: "object"
15851
16007
  }
15852
16008
  ]
15853
16009
  },
@@ -16207,6 +16363,31 @@ var openapi_default = {
16207
16363
  "warning_code"
16208
16364
  ],
16209
16365
  type: "object"
16366
+ },
16367
+ {
16368
+ 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.",
16369
+ properties: {
16370
+ created_at: {
16371
+ description: "Date and time at which Seam created the warning.",
16372
+ format: "date-time",
16373
+ type: "string"
16374
+ },
16375
+ message: {
16376
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
16377
+ type: "string"
16378
+ },
16379
+ warning_code: {
16380
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16381
+ enum: ["unknown_issue_with_credential"],
16382
+ type: "string"
16383
+ }
16384
+ },
16385
+ required: [
16386
+ "created_at",
16387
+ "message",
16388
+ "warning_code"
16389
+ ],
16390
+ type: "object"
16210
16391
  }
16211
16392
  ]
16212
16393
  },