@seamapi/types 1.783.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;
@@ -86266,6 +86271,11 @@ declare const _default: {
86266
86271
  'application/json': {
86267
86272
  schema: {
86268
86273
  properties: {
86274
+ access_code_id: {
86275
+ description: string;
86276
+ format: string;
86277
+ type: string;
86278
+ };
86269
86279
  access_grant_ids: {
86270
86280
  description: string;
86271
86281
  items: {
@@ -89619,6 +89629,11 @@ declare const _default: {
89619
89629
  'application/json': {
89620
89630
  schema: {
89621
89631
  properties: {
89632
+ access_code_id: {
89633
+ description: string;
89634
+ format: string;
89635
+ type: string;
89636
+ };
89622
89637
  access_grant_id: {
89623
89638
  description: string;
89624
89639
  format: string;
@@ -140303,12 +140318,14 @@ type Routes = {
140303
140318
  commonParams: {
140304
140319
  /** Customer key for which you want to list access codes. */
140305
140320
  customer_key?: string | undefined;
140306
- /** 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`. */
140307
140322
  device_id?: string | undefined;
140308
- /** 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`. */
140309
140324
  access_code_ids?: string[] | undefined;
140310
- /** 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`. */
140311
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;
140312
140329
  /** Your user ID for the user by which to filter access codes. */
140313
140330
  user_identifier_key?: string | undefined;
140314
140331
  /** Numerical limit on the number of access codes to return. */
@@ -148762,6 +148779,8 @@ type Routes = {
148762
148779
  location_id?: string | undefined;
148763
148780
  /** ID of the space by which you want to filter the list of Access Grants. */
148764
148781
  space_id?: string | undefined;
148782
+ /** ID of the access code by which you want to filter the list of Access Grants. */
148783
+ access_code_id?: string | undefined;
148765
148784
  /** Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key. */
148766
148785
  access_grant_key?: (string | null) | undefined;
148767
148786
  /** Filter Access Grants by reservation_key. */
@@ -152946,6 +152965,8 @@ type Routes = {
152946
152965
  acs_entrance_id?: string | undefined;
152947
152966
  /** ID of the space for which you want to retrieve all access methods. */
152948
152967
  space_id?: string | undefined;
152968
+ /** ID of the access code for which you want to retrieve all access methods. */
152969
+ access_code_id?: string | undefined;
152949
152970
  };
152950
152971
  formData: {};
152951
152972
  jsonResponse: {
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
  },
@@ -38172,6 +38186,15 @@ var openapi_default = {
38172
38186
  type: "string"
38173
38187
  }
38174
38188
  },
38189
+ {
38190
+ in: "query",
38191
+ name: "access_code_id",
38192
+ schema: {
38193
+ description: "ID of the access code by which you want to filter the list of Access Grants.",
38194
+ format: "uuid",
38195
+ type: "string"
38196
+ }
38197
+ },
38175
38198
  {
38176
38199
  in: "query",
38177
38200
  name: "access_grant_key",
@@ -38236,6 +38259,11 @@ var openapi_default = {
38236
38259
  "application/json": {
38237
38260
  schema: {
38238
38261
  properties: {
38262
+ access_code_id: {
38263
+ description: "ID of the access code by which you want to filter the list of Access Grants.",
38264
+ format: "uuid",
38265
+ type: "string"
38266
+ },
38239
38267
  access_grant_ids: {
38240
38268
  description: "IDs of the access grants to retrieve.",
38241
38269
  items: { format: "uuid", type: "string" },
@@ -41575,6 +41603,15 @@ var openapi_default = {
41575
41603
  format: "uuid",
41576
41604
  type: "string"
41577
41605
  }
41606
+ },
41607
+ {
41608
+ in: "query",
41609
+ name: "access_code_id",
41610
+ schema: {
41611
+ description: "ID of the access code for which you want to retrieve all access methods.",
41612
+ format: "uuid",
41613
+ type: "string"
41614
+ }
41578
41615
  }
41579
41616
  ],
41580
41617
  responses: {
@@ -41622,6 +41659,11 @@ var openapi_default = {
41622
41659
  "application/json": {
41623
41660
  schema: {
41624
41661
  properties: {
41662
+ access_code_id: {
41663
+ description: "ID of the access code for which you want to retrieve all access methods.",
41664
+ format: "uuid",
41665
+ type: "string"
41666
+ },
41625
41667
  access_grant_id: {
41626
41668
  description: "ID of Access Grant to list access methods for.",
41627
41669
  format: "uuid",