@seamapi/types 1.445.0 → 1.445.1

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/index.cjs CHANGED
@@ -4391,7 +4391,7 @@ var access_code_events = [
4391
4391
  unmanaged_access_code_removed_event
4392
4392
  ];
4393
4393
  var access_grant_event = common_event.extend({
4394
- access_grant_id: zod.z.string().uuid().describe("ID of the affected access grant.")
4394
+ access_grant_id: zod.z.string().uuid().describe("ID of the affected Access Grant.")
4395
4395
  });
4396
4396
  var access_grant_created_event = access_grant_event.extend({
4397
4397
  event_type: zod.z.literal("access_grant.created")
@@ -4399,7 +4399,7 @@ var access_grant_created_event = access_grant_event.extend({
4399
4399
  ---
4400
4400
  route_path: /access_grants
4401
4401
  ---
4402
- An access grant was created.
4402
+ An Access Grant was created.
4403
4403
  `);
4404
4404
  var access_grant_deleted_event = access_grant_event.extend({
4405
4405
  event_type: zod.z.literal("access_grant.deleted")
@@ -4407,7 +4407,7 @@ var access_grant_deleted_event = access_grant_event.extend({
4407
4407
  ---
4408
4408
  route_path: /access_grants
4409
4409
  ---
4410
- An access grant was deleted.
4410
+ An Access Grant was deleted.
4411
4411
  `);
4412
4412
  var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
4413
4413
  event_type: zod.z.literal("access_grant.access_granted_to_all_doors")
@@ -4415,7 +4415,7 @@ var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
4415
4415
  ---
4416
4416
  route_path: /access_grants
4417
4417
  ---
4418
- All access requested for an access grant was successfully granted.
4418
+ All access requested for an Access Grant was successfully granted.
4419
4419
  `);
4420
4420
  var acs_entrance_id = zod.z.string().uuid().describe(
4421
4421
  "ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details)."
@@ -4427,7 +4427,7 @@ var access_grant_access_granted_to_door_event = access_grant_event.extend({
4427
4427
  ---
4428
4428
  route_path: /access_grants
4429
4429
  ---
4430
- Access requested as part of an access grant to a particular door was successfully granted.
4430
+ Access requested as part of an Access Grant to a particular door was successfully granted.
4431
4431
  `);
4432
4432
  var access_grant_access_to_door_lost_event = access_grant_event.extend(
4433
4433
  {
@@ -4438,7 +4438,7 @@ var access_grant_access_to_door_lost_event = access_grant_event.extend(
4438
4438
  ---
4439
4439
  route_path: /access_grants
4440
4440
  ---
4441
- Access to a particular door that was requested as part of an access grant was lost.
4441
+ Access to a particular door that was requested as part of an Access Grant was lost.
4442
4442
  `);
4443
4443
  var access_grant_events = [
4444
4444
  access_grant_created_event,
@@ -4488,7 +4488,7 @@ var access_method_reissued_event = access_method_event.extend({
4488
4488
  ---
4489
4489
  route_path: /access_methods
4490
4490
  ---
4491
- An access method was reissued due to an access grant update.
4491
+ An access method was reissued due to an Access Grant update.
4492
4492
  `);
4493
4493
  var access_method_events = [
4494
4494
  access_method_issued_event,
@@ -7094,34 +7094,34 @@ var openapi_default = {
7094
7094
  "x-route-path": "/access_codes"
7095
7095
  },
7096
7096
  access_grant: {
7097
- description: "Represents an access grant. Access grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an access grant for an existing user identity, or you can create a new user identity *while* creating the new access grant.",
7097
+ description: "Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant.",
7098
7098
  properties: {
7099
7099
  access_grant_id: {
7100
- description: "ID of the access grant.",
7100
+ description: "ID of the Access Grant.",
7101
7101
  format: "uuid",
7102
7102
  type: "string"
7103
7103
  },
7104
7104
  access_method_ids: {
7105
- description: "IDs of the access methods created for the access grant.",
7105
+ description: "IDs of the access methods created for the Access Grant.",
7106
7106
  items: { format: "uuid", type: "string" },
7107
7107
  type: "array"
7108
7108
  },
7109
7109
  created_at: {
7110
- description: "Date and time at which the access grant was created.",
7110
+ description: "Date and time at which the Access Grant was created.",
7111
7111
  format: "date-time",
7112
7112
  type: "string"
7113
7113
  },
7114
7114
  display_name: {
7115
- description: "Display name of the access grant.",
7115
+ description: "Display name of the Access Grant.",
7116
7116
  type: "string"
7117
7117
  },
7118
7118
  ends_at: {
7119
- description: "Date and time at which the access grant ends.",
7119
+ description: "Date and time at which the Access Grant ends.",
7120
7120
  format: "date-time",
7121
7121
  type: "string"
7122
7122
  },
7123
7123
  instant_key_url: {
7124
- description: "Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ",
7124
+ description: "Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ",
7125
7125
  format: "uri",
7126
7126
  type: "string"
7127
7127
  },
@@ -7132,7 +7132,7 @@ var openapi_default = {
7132
7132
  "x-deprecated": "Use `space_ids`."
7133
7133
  },
7134
7134
  requested_access_methods: {
7135
- description: "Access methods that the user requested for the access grant.",
7135
+ description: "Access methods that the user requested for the Access Grant.",
7136
7136
  items: {
7137
7137
  properties: {
7138
7138
  created_access_method_ids: {
@@ -7141,7 +7141,7 @@ var openapi_default = {
7141
7141
  type: "array"
7142
7142
  },
7143
7143
  created_at: {
7144
- description: "Date and time at which the requested access method was added to the access grant.",
7144
+ description: "Date and time at which the requested access method was added to the Access Grant.",
7145
7145
  format: "date-time",
7146
7146
  type: "string"
7147
7147
  },
@@ -7166,22 +7166,22 @@ var openapi_default = {
7166
7166
  type: "array"
7167
7167
  },
7168
7168
  space_ids: {
7169
- description: "IDs of the spaces to which the access grant gives access.",
7169
+ description: "IDs of the spaces to which the Access Grant gives access.",
7170
7170
  items: { format: "uuid", type: "string" },
7171
7171
  type: "array"
7172
7172
  },
7173
7173
  starts_at: {
7174
- description: "Date and time at which the access grant starts.",
7174
+ description: "Date and time at which the Access Grant starts.",
7175
7175
  format: "date-time",
7176
7176
  type: "string"
7177
7177
  },
7178
7178
  user_identity_id: {
7179
- description: "ID of user identity to which the access grant gives access.",
7179
+ description: "ID of user identity to which the Access Grant gives access.",
7180
7180
  format: "uuid",
7181
7181
  type: "string"
7182
7182
  },
7183
7183
  workspace_id: {
7184
- description: "ID of the Seam workspace associated with the access grant.",
7184
+ description: "ID of the Seam workspace associated with the Access Grant.",
7185
7185
  format: "uuid",
7186
7186
  type: "string"
7187
7187
  }
@@ -7202,7 +7202,7 @@ var openapi_default = {
7202
7202
  "x-route-path": "/access_grants"
7203
7203
  },
7204
7204
  access_method: {
7205
- description: "Represents an access method for an access grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key.",
7205
+ description: "Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key.",
7206
7206
  properties: {
7207
7207
  access_method_id: {
7208
7208
  description: "ID of the access method.",
@@ -18173,10 +18173,10 @@ var openapi_default = {
18173
18173
  "x-route-path": "/access_codes/unmanaged"
18174
18174
  },
18175
18175
  {
18176
- description: "An access grant was created.",
18176
+ description: "An Access Grant was created.",
18177
18177
  properties: {
18178
18178
  access_grant_id: {
18179
- description: "ID of the affected access grant.",
18179
+ description: "ID of the affected Access Grant.",
18180
18180
  format: "uuid",
18181
18181
  type: "string"
18182
18182
  },
@@ -18214,10 +18214,10 @@ var openapi_default = {
18214
18214
  "x-route-path": "/access_grants"
18215
18215
  },
18216
18216
  {
18217
- description: "An access grant was deleted.",
18217
+ description: "An Access Grant was deleted.",
18218
18218
  properties: {
18219
18219
  access_grant_id: {
18220
- description: "ID of the affected access grant.",
18220
+ description: "ID of the affected Access Grant.",
18221
18221
  format: "uuid",
18222
18222
  type: "string"
18223
18223
  },
@@ -18255,10 +18255,10 @@ var openapi_default = {
18255
18255
  "x-route-path": "/access_grants"
18256
18256
  },
18257
18257
  {
18258
- description: "All access requested for an access grant was successfully granted.",
18258
+ description: "All access requested for an Access Grant was successfully granted.",
18259
18259
  properties: {
18260
18260
  access_grant_id: {
18261
- description: "ID of the affected access grant.",
18261
+ description: "ID of the affected Access Grant.",
18262
18262
  format: "uuid",
18263
18263
  type: "string"
18264
18264
  },
@@ -18299,10 +18299,10 @@ var openapi_default = {
18299
18299
  "x-route-path": "/access_grants"
18300
18300
  },
18301
18301
  {
18302
- description: "Access requested as part of an access grant to a particular door was successfully granted.",
18302
+ description: "Access requested as part of an Access Grant to a particular door was successfully granted.",
18303
18303
  properties: {
18304
18304
  access_grant_id: {
18305
- description: "ID of the affected access grant.",
18305
+ description: "ID of the affected Access Grant.",
18306
18306
  format: "uuid",
18307
18307
  type: "string"
18308
18308
  },
@@ -18349,10 +18349,10 @@ var openapi_default = {
18349
18349
  "x-route-path": "/access_grants"
18350
18350
  },
18351
18351
  {
18352
- description: "Access to a particular door that was requested as part of an access grant was lost.",
18352
+ description: "Access to a particular door that was requested as part of an Access Grant was lost.",
18353
18353
  properties: {
18354
18354
  access_grant_id: {
18355
- description: "ID of the affected access grant.",
18355
+ description: "ID of the affected Access Grant.",
18356
18356
  format: "uuid",
18357
18357
  type: "string"
18358
18358
  },
@@ -18566,7 +18566,7 @@ var openapi_default = {
18566
18566
  "x-route-path": "/access_methods"
18567
18567
  },
18568
18568
  {
18569
- description: "An access method was reissued due to an access grant update.",
18569
+ description: "An access method was reissued due to an Access Grant update.",
18570
18570
  properties: {
18571
18571
  access_method_id: {
18572
18572
  description: "ID of the affected access method.",
@@ -30219,7 +30219,7 @@ var openapi_default = {
30219
30219
  },
30220
30220
  "/access_grants/create": {
30221
30221
  post: {
30222
- description: "Creates a new access grant.",
30222
+ description: "Creates a new Access Grant.",
30223
30223
  operationId: "accessGrantsCreatePost",
30224
30224
  requestBody: {
30225
30225
  content: {
@@ -30386,7 +30386,7 @@ var openapi_default = {
30386
30386
  },
30387
30387
  "/access_grants/delete": {
30388
30388
  delete: {
30389
- description: "Delete an access grant.",
30389
+ description: "Delete an Access Grant.",
30390
30390
  operationId: "accessGrantsDeleteDelete",
30391
30391
  parameters: [
30392
30392
  {
@@ -30394,7 +30394,7 @@ var openapi_default = {
30394
30394
  name: "access_grant_id",
30395
30395
  required: true,
30396
30396
  schema: {
30397
- description: "ID of access grant to delete.",
30397
+ description: "ID of Access Grant to delete.",
30398
30398
  format: "uuid",
30399
30399
  type: "string"
30400
30400
  }
@@ -30431,7 +30431,7 @@ var openapi_default = {
30431
30431
  "x-title": "Delete an Access Grant"
30432
30432
  },
30433
30433
  post: {
30434
- description: "Delete an access grant.",
30434
+ description: "Delete an Access Grant.",
30435
30435
  operationId: "accessGrantsDeletePost",
30436
30436
  requestBody: {
30437
30437
  content: {
@@ -30439,7 +30439,7 @@ var openapi_default = {
30439
30439
  schema: {
30440
30440
  properties: {
30441
30441
  access_grant_id: {
30442
- description: "ID of access grant to delete.",
30442
+ description: "ID of Access Grant to delete.",
30443
30443
  format: "uuid",
30444
30444
  type: "string"
30445
30445
  }
@@ -30483,7 +30483,7 @@ var openapi_default = {
30483
30483
  },
30484
30484
  "/access_grants/get": {
30485
30485
  get: {
30486
- description: "Get an access grant.",
30486
+ description: "Get an Access Grant.",
30487
30487
  operationId: "accessGrantsGetGet",
30488
30488
  parameters: [
30489
30489
  {
@@ -30491,7 +30491,7 @@ var openapi_default = {
30491
30491
  name: "access_grant_id",
30492
30492
  required: true,
30493
30493
  schema: {
30494
- description: "ID of access grant to get.",
30494
+ description: "ID of Access Grant to get.",
30495
30495
  format: "uuid",
30496
30496
  type: "string"
30497
30497
  }
@@ -30532,7 +30532,7 @@ var openapi_default = {
30532
30532
  "x-title": "Get an Access Grant"
30533
30533
  },
30534
30534
  post: {
30535
- description: "Get an access grant.",
30535
+ description: "Get an Access Grant.",
30536
30536
  operationId: "accessGrantsGetPost",
30537
30537
  requestBody: {
30538
30538
  content: {
@@ -30540,7 +30540,7 @@ var openapi_default = {
30540
30540
  schema: {
30541
30541
  properties: {
30542
30542
  access_grant_id: {
30543
- description: "ID of access grant to get.",
30543
+ description: "ID of Access Grant to get.",
30544
30544
  format: "uuid",
30545
30545
  type: "string"
30546
30546
  }
@@ -30588,14 +30588,14 @@ var openapi_default = {
30588
30588
  },
30589
30589
  "/access_grants/list": {
30590
30590
  get: {
30591
- description: "Get an access grant.",
30591
+ description: "Gets an Access Grant.",
30592
30592
  operationId: "accessGrantsListGet",
30593
30593
  parameters: [
30594
30594
  {
30595
30595
  in: "query",
30596
30596
  name: "user_identity_id",
30597
30597
  schema: {
30598
- description: "ID of user identity to filter list of access grants by.",
30598
+ description: "ID of user identity by which you want to filter the list of Access Grants.",
30599
30599
  format: "uuid",
30600
30600
  type: "string"
30601
30601
  }
@@ -30604,7 +30604,7 @@ var openapi_default = {
30604
30604
  in: "query",
30605
30605
  name: "acs_system_id",
30606
30606
  schema: {
30607
- description: "ID of system to filter list of access grants by.",
30607
+ description: "ID of the access system by which you want to filter the list of Access Grants.",
30608
30608
  format: "uuid",
30609
30609
  type: "string"
30610
30610
  }
@@ -30613,7 +30613,7 @@ var openapi_default = {
30613
30613
  in: "query",
30614
30614
  name: "acs_entrance_id",
30615
30615
  schema: {
30616
- description: "ID of entrance to filter list of access grants by.",
30616
+ description: "ID of the entrance by which you want to filter the list of Access Grants.",
30617
30617
  format: "uuid",
30618
30618
  type: "string"
30619
30619
  }
@@ -30632,7 +30632,7 @@ var openapi_default = {
30632
30632
  in: "query",
30633
30633
  name: "space_id",
30634
30634
  schema: {
30635
- description: "ID of space to filter list of access grants by.",
30635
+ description: "ID of the space by which you want to filter the list of Access Grants.",
30636
30636
  format: "uuid",
30637
30637
  type: "string"
30638
30638
  }
@@ -30676,7 +30676,7 @@ var openapi_default = {
30676
30676
  "x-title": "List Access Grants"
30677
30677
  },
30678
30678
  post: {
30679
- description: "Get an access grant.",
30679
+ description: "Gets an Access Grant.",
30680
30680
  operationId: "accessGrantsListPost",
30681
30681
  requestBody: {
30682
30682
  content: {
@@ -30684,12 +30684,12 @@ var openapi_default = {
30684
30684
  schema: {
30685
30685
  properties: {
30686
30686
  acs_entrance_id: {
30687
- description: "ID of entrance to filter list of access grants by.",
30687
+ description: "ID of the entrance by which you want to filter the list of Access Grants.",
30688
30688
  format: "uuid",
30689
30689
  type: "string"
30690
30690
  },
30691
30691
  acs_system_id: {
30692
- description: "ID of system to filter list of access grants by.",
30692
+ description: "ID of the access system by which you want to filter the list of Access Grants.",
30693
30693
  format: "uuid",
30694
30694
  type: "string"
30695
30695
  },
@@ -30700,12 +30700,12 @@ var openapi_default = {
30700
30700
  "x-deprecated": "Use `space_id`."
30701
30701
  },
30702
30702
  space_id: {
30703
- description: "ID of space to filter list of access grants by.",
30703
+ description: "ID of the space by which you want to filter the list of Access Grants.",
30704
30704
  format: "uuid",
30705
30705
  type: "string"
30706
30706
  },
30707
30707
  user_identity_id: {
30708
- description: "ID of user identity to filter list of access grants by.",
30708
+ description: "ID of user identity by which you want to filter the list of Access Grants.",
30709
30709
  format: "uuid",
30710
30710
  type: "string"
30711
30711
  }
@@ -30755,7 +30755,7 @@ var openapi_default = {
30755
30755
  },
30756
30756
  "/access_grants/update": {
30757
30757
  patch: {
30758
- description: "Updates an existing access grant's time window.",
30758
+ description: "Updates an existing Access Grant's time window.",
30759
30759
  operationId: "accessGrantsUpdatePatch",
30760
30760
  requestBody: {
30761
30761
  content: {
@@ -30763,7 +30763,7 @@ var openapi_default = {
30763
30763
  schema: {
30764
30764
  properties: {
30765
30765
  access_grant_id: {
30766
- description: "ID of the access grant to update.",
30766
+ description: "ID of the Access Grant to update.",
30767
30767
  format: "uuid",
30768
30768
  type: "string"
30769
30769
  },
@@ -30817,7 +30817,7 @@ var openapi_default = {
30817
30817
  "x-title": "Update an Access Grant"
30818
30818
  },
30819
30819
  post: {
30820
- description: "Updates an existing access grant's time window.",
30820
+ description: "Updates an existing Access Grant's time window.",
30821
30821
  operationId: "accessGrantsUpdatePost",
30822
30822
  requestBody: {
30823
30823
  content: {
@@ -30825,7 +30825,7 @@ var openapi_default = {
30825
30825
  schema: {
30826
30826
  properties: {
30827
30827
  access_grant_id: {
30828
- description: "ID of the access grant to update.",
30828
+ description: "ID of the Access Grant to update.",
30829
30829
  format: "uuid",
30830
30830
  type: "string"
30831
30831
  },
@@ -30881,7 +30881,7 @@ var openapi_default = {
30881
30881
  },
30882
30882
  "/access_methods/delete": {
30883
30883
  delete: {
30884
- description: "Delete an access method.",
30884
+ description: "Deletes an access method.",
30885
30885
  operationId: "accessMethodsDeleteDelete",
30886
30886
  parameters: [
30887
30887
  {
@@ -30925,7 +30925,7 @@ var openapi_default = {
30925
30925
  "x-title": "Delete an Access Method"
30926
30926
  },
30927
30927
  post: {
30928
- description: "Delete an access method.",
30928
+ description: "Deletes an access method.",
30929
30929
  operationId: "accessMethodsDeletePost",
30930
30930
  requestBody: {
30931
30931
  content: {
@@ -30976,7 +30976,7 @@ var openapi_default = {
30976
30976
  },
30977
30977
  "/access_methods/encode": {
30978
30978
  post: {
30979
- description: "Encodes an existing [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) onto a plastic card placed on the specified [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).",
30979
+ description: "Encodes an existing access method onto a plastic card placed on the specified [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).",
30980
30980
  operationId: "accessMethodsEncodePost",
30981
30981
  requestBody: {
30982
30982
  content: {
@@ -30989,7 +30989,7 @@ var openapi_default = {
30989
30989
  type: "string"
30990
30990
  },
30991
30991
  acs_encoder_id: {
30992
- description: "ID of the `acs_encoder` to use to encode the `acs_credential`.",
30992
+ description: "ID of the `acs_encoder` to use to encode the `access_method`.",
30993
30993
  format: "uuid",
30994
30994
  type: "string"
30995
30995
  }
@@ -31038,7 +31038,7 @@ var openapi_default = {
31038
31038
  },
31039
31039
  "/access_methods/get": {
31040
31040
  get: {
31041
- description: "Get an access method.",
31041
+ description: "Gets an access method.",
31042
31042
  operationId: "accessMethodsGetGet",
31043
31043
  parameters: [
31044
31044
  {
@@ -31088,7 +31088,7 @@ var openapi_default = {
31088
31088
  "x-title": "Get an Access Method"
31089
31089
  },
31090
31090
  post: {
31091
- description: "Get an access method.",
31091
+ description: "Gets an access method.",
31092
31092
  operationId: "accessMethodsGetPost",
31093
31093
  requestBody: {
31094
31094
  content: {
@@ -31145,7 +31145,7 @@ var openapi_default = {
31145
31145
  },
31146
31146
  "/access_methods/list": {
31147
31147
  get: {
31148
- description: "List all access methods, usually filtered by access grant.",
31148
+ description: "Lists all access methods, usually filtered by Access Grant.",
31149
31149
  operationId: "accessMethodsListGet",
31150
31150
  parameters: [
31151
31151
  {
@@ -31153,7 +31153,7 @@ var openapi_default = {
31153
31153
  name: "access_grant_id",
31154
31154
  required: true,
31155
31155
  schema: {
31156
- description: "ID of access grant to list access methods for.",
31156
+ description: "ID of Access Grant to list access methods for.",
31157
31157
  format: "uuid",
31158
31158
  type: "string"
31159
31159
  }
@@ -31226,7 +31226,7 @@ var openapi_default = {
31226
31226
  "x-title": "List Access Methods"
31227
31227
  },
31228
31228
  post: {
31229
- description: "List all access methods, usually filtered by access grant.",
31229
+ description: "Lists all access methods, usually filtered by Access Grant.",
31230
31230
  operationId: "accessMethodsListPost",
31231
31231
  requestBody: {
31232
31232
  content: {
@@ -31234,7 +31234,7 @@ var openapi_default = {
31234
31234
  schema: {
31235
31235
  properties: {
31236
31236
  access_grant_id: {
31237
- description: "ID of access grant to list access methods for.",
31237
+ description: "ID of Access Grant to list access methods for.",
31238
31238
  format: "uuid",
31239
31239
  type: "string"
31240
31240
  },