@seamapi/types 1.784.0 → 1.785.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.
@@ -83254,6 +83254,11 @@ declare const _default: {
83254
83254
  };
83255
83255
  type: string;
83256
83256
  };
83257
+ access_grant_id: {
83258
+ description: string;
83259
+ format: string;
83260
+ type: string;
83261
+ };
83257
83262
  access_method_id: {
83258
83263
  description: string;
83259
83264
  format: string;
@@ -140313,12 +140318,14 @@ type Routes = {
140313
140318
  commonParams: {
140314
140319
  /** Customer key for which you want to list access codes. */
140315
140320
  customer_key?: string | undefined;
140316
- /** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
140321
+ /** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
140317
140322
  device_id?: string | undefined;
140318
- /** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
140323
+ /** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
140319
140324
  access_code_ids?: string[] | undefined;
140320
- /** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
140325
+ /** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
140321
140326
  access_method_id?: string | undefined;
140327
+ /** ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
140328
+ access_grant_id?: string | undefined;
140322
140329
  /** Your user ID for the user by which to filter access codes. */
140323
140330
  user_identifier_key?: string | undefined;
140324
140331
  /** Numerical limit on the number of access codes to return. */
package/dist/index.cjs CHANGED
@@ -35746,7 +35746,7 @@ var openapi_default = {
35746
35746
  },
35747
35747
  "/access_codes/list": {
35748
35748
  get: {
35749
- description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.",
35749
+ description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35750
35750
  operationId: "accessCodesListGet",
35751
35751
  parameters: [
35752
35752
  {
@@ -35761,7 +35761,7 @@ var openapi_default = {
35761
35761
  in: "query",
35762
35762
  name: "device_id",
35763
35763
  schema: {
35764
- description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35764
+ description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35765
35765
  format: "uuid",
35766
35766
  type: "string"
35767
35767
  }
@@ -35770,7 +35770,7 @@ var openapi_default = {
35770
35770
  in: "query",
35771
35771
  name: "access_code_ids",
35772
35772
  schema: {
35773
- description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35773
+ description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35774
35774
  items: { format: "uuid", type: "string" },
35775
35775
  type: "array"
35776
35776
  }
@@ -35779,7 +35779,16 @@ var openapi_default = {
35779
35779
  in: "query",
35780
35780
  name: "access_method_id",
35781
35781
  schema: {
35782
- description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35782
+ description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35783
+ format: "uuid",
35784
+ type: "string"
35785
+ }
35786
+ },
35787
+ {
35788
+ in: "query",
35789
+ name: "access_grant_id",
35790
+ schema: {
35791
+ description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35783
35792
  format: "uuid",
35784
35793
  type: "string"
35785
35794
  }
@@ -35860,7 +35869,7 @@ var openapi_default = {
35860
35869
  "x-title": "List Access Codes"
35861
35870
  },
35862
35871
  post: {
35863
- description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.",
35872
+ description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35864
35873
  operationId: "accessCodesListPost",
35865
35874
  requestBody: {
35866
35875
  content: {
@@ -35868,12 +35877,17 @@ var openapi_default = {
35868
35877
  schema: {
35869
35878
  properties: {
35870
35879
  access_code_ids: {
35871
- description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35880
+ description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35872
35881
  items: { format: "uuid", type: "string" },
35873
35882
  type: "array"
35874
35883
  },
35884
+ access_grant_id: {
35885
+ description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35886
+ format: "uuid",
35887
+ type: "string"
35888
+ },
35875
35889
  access_method_id: {
35876
- description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35890
+ description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35877
35891
  format: "uuid",
35878
35892
  type: "string"
35879
35893
  },
@@ -35882,7 +35896,7 @@ var openapi_default = {
35882
35896
  type: "string"
35883
35897
  },
35884
35898
  device_id: {
35885
- description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
35899
+ description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
35886
35900
  format: "uuid",
35887
35901
  type: "string"
35888
35902
  },