@seamapi/types 1.827.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
@@ -2722,7 +2722,10 @@ var common_access_grant_error = zod.z.object({
2722
2722
  });
2723
2723
  var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2724
2724
  var cannot_create_requested_access_methods_error = common_access_grant_error.extend({
2725
- 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
+ )
2726
2729
  });
2727
2730
  var common_access_grant_warning = zod.z.object({
2728
2731
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -5322,7 +5325,10 @@ var access_grant_could_not_create_requested_access_methods_event = access_grant_
5322
5325
  event_type: zod.z.literal(
5323
5326
  "access_grant.could_not_create_requested_access_methods"
5324
5327
  ),
5325
- 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
+ )
5326
5332
  }).describe(`
5327
5333
  ---
5328
5334
  route_path: /access_grants
@@ -8818,6 +8824,11 @@ var openapi = {
8818
8824
  message: {
8819
8825
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
8820
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"
8821
8832
  }
8822
8833
  },
8823
8834
  required: ["created_at", "message", "error_code"],
@@ -23104,6 +23115,11 @@ var openapi = {
23104
23115
  ],
23105
23116
  type: "string"
23106
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
+ },
23107
23123
  occurred_at: {
23108
23124
  description: "Date and time at which the event occurred.",
23109
23125
  format: "date-time",
@@ -39239,6 +39255,11 @@ var openapi = {
39239
39255
  message: {
39240
39256
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
39241
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"
39242
39263
  }
39243
39264
  },
39244
39265
  required: [
@@ -39861,6 +39882,11 @@ var openapi = {
39861
39882
  message: {
39862
39883
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
39863
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"
39864
39890
  }
39865
39891
  },
39866
39892
  required: [
@@ -40525,6 +40551,11 @@ var openapi = {
40525
40551
  message: {
40526
40552
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
40527
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"
40528
40559
  }
40529
40560
  },
40530
40561
  required: [
@@ -41177,6 +41208,11 @@ var openapi = {
41177
41208
  message: {
41178
41209
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
41179
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"
41180
41216
  }
41181
41217
  },
41182
41218
  required: [