@seamapi/types 1.516.0 → 1.517.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
@@ -2262,6 +2262,9 @@ var requested_access_method = zod.z.object({
2262
2262
  mode: zod.z.enum(["code", "card", "mobile_key"]).describe(
2263
2263
  "Access method mode. Supported values: `code`, `card`, `mobile_key`."
2264
2264
  ),
2265
+ code: zod.z.string().min(4).max(9).regex(/^\d+$/, "Must only contain digits").optional().describe(
2266
+ "Specific PIN code to use for this access method. Only applicable when mode is 'code'."
2267
+ ),
2265
2268
  created_at: zod.z.string().datetime().describe(
2266
2269
  "Date and time at which the requested access method was added to the Access Grant."
2267
2270
  ),
@@ -7177,6 +7180,13 @@ var openapi_default = {
7177
7180
  description: "Access methods that the user requested for the Access Grant.",
7178
7181
  items: {
7179
7182
  properties: {
7183
+ code: {
7184
+ description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
7185
+ maxLength: 9,
7186
+ minLength: 4,
7187
+ pattern: "^\\d+$",
7188
+ type: "string"
7189
+ },
7180
7190
  created_access_method_ids: {
7181
7191
  description: "IDs of the access methods created for the requested access method.",
7182
7192
  items: { format: "uuid", type: "string" },
@@ -30661,6 +30671,13 @@ var openapi_default = {
30661
30671
  requested_access_methods: {
30662
30672
  items: {
30663
30673
  properties: {
30674
+ code: {
30675
+ description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
30676
+ maxLength: 9,
30677
+ minLength: 4,
30678
+ pattern: "^\\d+$",
30679
+ type: "string"
30680
+ },
30664
30681
  mode: {
30665
30682
  description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
30666
30683
  enum: ["code", "card", "mobile_key"],