@seamapi/types 1.769.0 → 1.770.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 (26) hide show
  1. package/dist/connect.cjs +53 -33
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +90 -90
  4. package/dist/index.cjs +53 -33
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +10 -10
  7. package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -6
  8. package/lib/seam/connect/models/access-grants/access-method.js +2 -2
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  11. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  12. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -6
  14. package/lib/seam/connect/models/acs/acs-entrance.js +4 -4
  15. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  16. package/lib/seam/connect/models/batch.d.ts +17 -17
  17. package/lib/seam/connect/models/phones/phone-session.d.ts +16 -16
  18. package/lib/seam/connect/openapi.js +46 -26
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +62 -62
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -2
  23. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +2 -2
  24. package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -4
  25. package/src/lib/seam/connect/openapi.ts +46 -26
  26. package/src/lib/seam/connect/route-types.ts +62 -62
package/dist/index.cjs CHANGED
@@ -2565,8 +2565,8 @@ zod.z.object({
2565
2565
  });
2566
2566
  var requested_access_method = zod.z.object({
2567
2567
  display_name: zod.z.string().describe("Display name of the access method."),
2568
- mode: zod.z.enum(["code", "card", "mobile_key"]).describe(
2569
- "Access method mode. Supported values: `code`, `card`, `mobile_key`."
2568
+ mode: zod.z.enum(["code", "card", "mobile_key", "cloud_key"]).describe(
2569
+ "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`."
2570
2570
  ),
2571
2571
  code: zod.z.string().min(4).max(9).regex(/^\d+$/, "Must only contain digits").optional().describe(
2572
2572
  "Specific PIN code to use for this access method. Only applicable when mode is 'code'."
@@ -2830,8 +2830,8 @@ var access_method = zod.z.object({
2830
2830
  workspace_id: zod.z.string().uuid().describe("ID of the Seam workspace associated with the access method."),
2831
2831
  access_method_id: zod.z.string().uuid().describe("ID of the access method."),
2832
2832
  display_name: zod.z.string().describe("Display name of the access method."),
2833
- mode: zod.z.enum(["code", "card", "mobile_key"]).describe(
2834
- "Access method mode. Supported values: `code`, `card`, `mobile_key`."
2833
+ mode: zod.z.enum(["code", "card", "mobile_key", "cloud_key"]).describe(
2834
+ "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`."
2835
2835
  ),
2836
2836
  created_at: zod.z.string().datetime().describe("Date and time at which the access method was created."),
2837
2837
  issued_at: zod.z.string().datetime().nullable().describe("Date and time at which the access method was issued."),
@@ -3503,11 +3503,11 @@ var acs_entrance_capability_flags = zod.z.object({
3503
3503
  can_unlock_with_code: zod.z.boolean().optional().describe(
3504
3504
  "Indicates whether the ACS entrance can be unlocked with pin codes."
3505
3505
  ),
3506
+ can_unlock_with_cloud_key: zod.z.boolean().optional().describe(
3507
+ "Indicates whether the ACS entrance can be unlocked with cloud key credentials."
3508
+ ),
3506
3509
  can_belong_to_reservation: zod.z.boolean().optional().describe(
3507
3510
  "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key."
3508
- ),
3509
- can_unlock_with_cloud_key: zod.z.boolean().optional().describe(
3510
- "Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential."
3511
3511
  )
3512
3512
  });
3513
3513
  var acs_entrance = zod.z.object({
@@ -8482,8 +8482,8 @@ var openapi_default = {
8482
8482
  type: "integer"
8483
8483
  },
8484
8484
  mode: {
8485
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
8486
- enum: ["code", "card", "mobile_key"],
8485
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
8486
+ enum: ["code", "card", "mobile_key", "cloud_key"],
8487
8487
  type: "string"
8488
8488
  }
8489
8489
  },
@@ -8774,8 +8774,8 @@ var openapi_default = {
8774
8774
  type: "string"
8775
8775
  },
8776
8776
  mode: {
8777
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
8778
- enum: ["code", "card", "mobile_key"],
8777
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
8778
+ enum: ["code", "card", "mobile_key", "cloud_key"],
8779
8779
  type: "string"
8780
8780
  },
8781
8781
  pending_mutations: {
@@ -10090,7 +10090,7 @@ var openapi_default = {
10090
10090
  type: "boolean"
10091
10091
  },
10092
10092
  can_unlock_with_cloud_key: {
10093
- description: "Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.",
10093
+ description: "Indicates whether the ACS entrance can be unlocked with cloud key credentials.",
10094
10094
  type: "boolean"
10095
10095
  },
10096
10096
  can_unlock_with_code: {
@@ -28583,7 +28583,7 @@ var openapi_default = {
28583
28583
  type: "boolean"
28584
28584
  },
28585
28585
  can_unlock_with_cloud_key: {
28586
- description: "Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.",
28586
+ description: "Indicates whether the ACS entrance can be unlocked with cloud key credentials.",
28587
28587
  type: "boolean"
28588
28588
  },
28589
28589
  can_unlock_with_code: {
@@ -37389,8 +37389,8 @@ var openapi_default = {
37389
37389
  type: "integer"
37390
37390
  },
37391
37391
  mode: {
37392
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
37393
- enum: ["code", "card", "mobile_key"],
37392
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
37393
+ enum: ["code", "card", "mobile_key", "cloud_key"],
37394
37394
  type: "string"
37395
37395
  }
37396
37396
  },
@@ -38236,8 +38236,8 @@ var openapi_default = {
38236
38236
  type: "integer"
38237
38237
  },
38238
38238
  mode: {
38239
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
38240
- enum: ["code", "card", "mobile_key"],
38239
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
38240
+ enum: ["code", "card", "mobile_key", "cloud_key"],
38241
38241
  type: "string"
38242
38242
  }
38243
38243
  },
@@ -38558,8 +38558,13 @@ var openapi_default = {
38558
38558
  type: "integer"
38559
38559
  },
38560
38560
  mode: {
38561
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
38562
- enum: ["code", "card", "mobile_key"],
38561
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
38562
+ enum: [
38563
+ "code",
38564
+ "card",
38565
+ "mobile_key",
38566
+ "cloud_key"
38567
+ ],
38563
38568
  type: "string"
38564
38569
  }
38565
38570
  },
@@ -39108,8 +39113,13 @@ var openapi_default = {
39108
39113
  type: "integer"
39109
39114
  },
39110
39115
  mode: {
39111
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
39112
- enum: ["code", "card", "mobile_key"],
39116
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
39117
+ enum: [
39118
+ "code",
39119
+ "card",
39120
+ "mobile_key",
39121
+ "cloud_key"
39122
+ ],
39113
39123
  type: "string"
39114
39124
  }
39115
39125
  },
@@ -39700,8 +39710,13 @@ var openapi_default = {
39700
39710
  type: "integer"
39701
39711
  },
39702
39712
  mode: {
39703
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
39704
- enum: ["code", "card", "mobile_key"],
39713
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
39714
+ enum: [
39715
+ "code",
39716
+ "card",
39717
+ "mobile_key",
39718
+ "cloud_key"
39719
+ ],
39705
39720
  type: "string"
39706
39721
  }
39707
39722
  },
@@ -40278,8 +40293,13 @@ var openapi_default = {
40278
40293
  type: "integer"
40279
40294
  },
40280
40295
  mode: {
40281
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40282
- enum: ["code", "card", "mobile_key"],
40296
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
40297
+ enum: [
40298
+ "code",
40299
+ "card",
40300
+ "mobile_key",
40301
+ "cloud_key"
40302
+ ],
40283
40303
  type: "string"
40284
40304
  }
40285
40305
  },
@@ -41603,8 +41623,8 @@ var openapi_default = {
41603
41623
  type: "string"
41604
41624
  },
41605
41625
  mode: {
41606
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
41607
- enum: ["code", "card", "mobile_key"],
41626
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
41627
+ enum: ["code", "card", "mobile_key", "cloud_key"],
41608
41628
  type: "string"
41609
41629
  },
41610
41630
  pending_mutations: {
@@ -41999,8 +42019,8 @@ var openapi_default = {
41999
42019
  type: "string"
42000
42020
  },
42001
42021
  mode: {
42002
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
42003
- enum: ["code", "card", "mobile_key"],
42022
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
42023
+ enum: ["code", "card", "mobile_key", "cloud_key"],
42004
42024
  type: "string"
42005
42025
  },
42006
42026
  pending_mutations: {
@@ -42423,8 +42443,8 @@ var openapi_default = {
42423
42443
  type: "string"
42424
42444
  },
42425
42445
  mode: {
42426
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
42427
- enum: ["code", "card", "mobile_key"],
42446
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
42447
+ enum: ["code", "card", "mobile_key", "cloud_key"],
42428
42448
  type: "string"
42429
42449
  },
42430
42450
  pending_mutations: {
@@ -42838,8 +42858,8 @@ var openapi_default = {
42838
42858
  type: "string"
42839
42859
  },
42840
42860
  mode: {
42841
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
42842
- enum: ["code", "card", "mobile_key"],
42861
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
42862
+ enum: ["code", "card", "mobile_key", "cloud_key"],
42843
42863
  type: "string"
42844
42864
  },
42845
42865
  pending_mutations: {