@seamapi/types 1.826.0 → 1.828.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
@@ -2263,6 +2263,9 @@ var duplicate_code_on_device = common_access_code_error.extend({
2263
2263
  error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
2264
2264
  unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
2265
2265
  "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it."
2266
+ ),
2267
+ managed_access_code_id: zod.z.string().uuid().optional().describe(
2268
+ "ID of the managed access code that conflicts with this managed access code, when Seam can identify it."
2266
2269
  )
2267
2270
  }).describe("Duplicate access code detected on device.");
2268
2271
  var duplicate_code_attempt_prevented = common_access_code_error.extend({
@@ -2719,7 +2722,10 @@ var common_access_grant_error = zod.z.object({
2719
2722
  });
2720
2723
  var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2721
2724
  var cannot_create_requested_access_methods_error = common_access_grant_error.extend({
2722
- error_code: zod.z.literal("cannot_create_requested_access_methods").describe(error_code_description4)
2725
+ error_code: zod.z.literal("cannot_create_requested_access_methods").describe(error_code_description4),
2726
+ missing_device_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
2727
+ "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure."
2728
+ )
2723
2729
  });
2724
2730
  var common_access_grant_warning = zod.z.object({
2725
2731
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -5319,7 +5325,10 @@ var access_grant_could_not_create_requested_access_methods_event = access_grant_
5319
5325
  event_type: zod.z.literal(
5320
5326
  "access_grant.could_not_create_requested_access_methods"
5321
5327
  ),
5322
- error_message: zod.z.string().describe("Description of why the access methods could not be created.")
5328
+ error_message: zod.z.string().describe("Description of why the access methods could not be created."),
5329
+ missing_device_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
5330
+ "IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant."
5331
+ )
5323
5332
  }).describe(`
5324
5333
  ---
5325
5334
  route_path: /access_grants
@@ -7135,6 +7144,11 @@ var openapi = {
7135
7144
  enum: [true],
7136
7145
  type: "boolean"
7137
7146
  },
7147
+ managed_access_code_id: {
7148
+ description: "ID of the managed access code that conflicts with this managed access code, when Seam can identify it.",
7149
+ format: "uuid",
7150
+ type: "string"
7151
+ },
7138
7152
  message: {
7139
7153
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7140
7154
  type: "string"
@@ -8810,6 +8824,11 @@ var openapi = {
8810
8824
  message: {
8811
8825
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
8812
8826
  type: "string"
8827
+ },
8828
+ missing_device_ids: {
8829
+ description: "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.",
8830
+ items: { format: "uuid", type: "string" },
8831
+ type: "array"
8813
8832
  }
8814
8833
  },
8815
8834
  required: ["created_at", "message", "error_code"],
@@ -23096,6 +23115,11 @@ var openapi = {
23096
23115
  ],
23097
23116
  type: "string"
23098
23117
  },
23118
+ missing_device_ids: {
23119
+ description: "IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.",
23120
+ items: { format: "uuid", type: "string" },
23121
+ type: "array"
23122
+ },
23099
23123
  occurred_at: {
23100
23124
  description: "Date and time at which the event occurred.",
23101
23125
  format: "date-time",
@@ -30674,6 +30698,11 @@ var openapi = {
30674
30698
  enum: [true],
30675
30699
  type: "boolean"
30676
30700
  },
30701
+ managed_access_code_id: {
30702
+ description: "ID of the managed access code that conflicts with this managed access code, when Seam can identify it.",
30703
+ format: "uuid",
30704
+ type: "string"
30705
+ },
30677
30706
  message: {
30678
30707
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
30679
30708
  type: "string"
@@ -39226,6 +39255,11 @@ var openapi = {
39226
39255
  message: {
39227
39256
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
39228
39257
  type: "string"
39258
+ },
39259
+ missing_device_ids: {
39260
+ description: "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.",
39261
+ items: { format: "uuid", type: "string" },
39262
+ type: "array"
39229
39263
  }
39230
39264
  },
39231
39265
  required: [
@@ -39848,6 +39882,11 @@ var openapi = {
39848
39882
  message: {
39849
39883
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
39850
39884
  type: "string"
39885
+ },
39886
+ missing_device_ids: {
39887
+ description: "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.",
39888
+ items: { format: "uuid", type: "string" },
39889
+ type: "array"
39851
39890
  }
39852
39891
  },
39853
39892
  required: [
@@ -40512,6 +40551,11 @@ var openapi = {
40512
40551
  message: {
40513
40552
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
40514
40553
  type: "string"
40554
+ },
40555
+ missing_device_ids: {
40556
+ description: "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.",
40557
+ items: { format: "uuid", type: "string" },
40558
+ type: "array"
40515
40559
  }
40516
40560
  },
40517
40561
  required: [
@@ -41164,6 +41208,11 @@ var openapi = {
41164
41208
  message: {
41165
41209
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
41166
41210
  type: "string"
41211
+ },
41212
+ missing_device_ids: {
41213
+ description: "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.",
41214
+ items: { format: "uuid", type: "string" },
41215
+ type: "array"
41167
41216
  }
41168
41217
  },
41169
41218
  required: [