@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.
@@ -6,7 +6,7 @@ const access_grant_event = common_event.extend({
6
6
  access_grant_id: z
7
7
  .string()
8
8
  .uuid()
9
- .describe('ID of the affected access grant.'),
9
+ .describe('ID of the affected Access Grant.'),
10
10
  })
11
11
 
12
12
  export const access_grant_created_event = access_grant_event.extend({
@@ -15,7 +15,7 @@ export const access_grant_created_event = access_grant_event.extend({
15
15
  ---
16
16
  route_path: /access_grants
17
17
  ---
18
- An access grant was created.
18
+ An Access Grant was created.
19
19
  `)
20
20
 
21
21
  export const access_grant_deleted_event = access_grant_event.extend({
@@ -24,7 +24,7 @@ export const access_grant_deleted_event = access_grant_event.extend({
24
24
  ---
25
25
  route_path: /access_grants
26
26
  ---
27
- An access grant was deleted.
27
+ An Access Grant was deleted.
28
28
  `)
29
29
 
30
30
  export const access_grant_access_granted_to_all_doors_event =
@@ -34,7 +34,7 @@ export const access_grant_access_granted_to_all_doors_event =
34
34
  ---
35
35
  route_path: /access_grants
36
36
  ---
37
- All access requested for an access grant was successfully granted.
37
+ All access requested for an Access Grant was successfully granted.
38
38
  `)
39
39
 
40
40
  export type AccessGrantAccessGrantedToAllDoorsEvent = z.infer<
@@ -56,7 +56,7 @@ export const access_grant_access_granted_to_door_event =
56
56
  ---
57
57
  route_path: /access_grants
58
58
  ---
59
- Access requested as part of an access grant to a particular door was successfully granted.
59
+ Access requested as part of an Access Grant to a particular door was successfully granted.
60
60
  `)
61
61
 
62
62
  export type AccessGrantAccessGrantedToDoorEvent = z.infer<
@@ -72,7 +72,7 @@ export const access_grant_access_to_door_lost_event = access_grant_event.extend(
72
72
  ---
73
73
  route_path: /access_grants
74
74
  ---
75
- Access to a particular door that was requested as part of an access grant was lost.
75
+ Access to a particular door that was requested as part of an Access Grant was lost.
76
76
  `)
77
77
 
78
78
  export type AccessGrantAccessToDoorLostEvent = z.infer<
@@ -58,7 +58,7 @@ export const access_method_reissued_event = access_method_event.extend({
58
58
  ---
59
59
  route_path: /access_methods
60
60
  ---
61
- An access method was reissued due to an access grant update.
61
+ An access method was reissued due to an Access Grant update.
62
62
  `)
63
63
 
64
64
  export type AccessMethodRevokedEvent = z.infer<
@@ -1815,36 +1815,36 @@ export default {
1815
1815
  },
1816
1816
  access_grant: {
1817
1817
  description:
1818
- '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.',
1818
+ '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.',
1819
1819
  properties: {
1820
1820
  access_grant_id: {
1821
- description: 'ID of the access grant.',
1821
+ description: 'ID of the Access Grant.',
1822
1822
  format: 'uuid',
1823
1823
  type: 'string',
1824
1824
  },
1825
1825
  access_method_ids: {
1826
1826
  description:
1827
- 'IDs of the access methods created for the access grant.',
1827
+ 'IDs of the access methods created for the Access Grant.',
1828
1828
  items: { format: 'uuid', type: 'string' },
1829
1829
  type: 'array',
1830
1830
  },
1831
1831
  created_at: {
1832
- description: 'Date and time at which the access grant was created.',
1832
+ description: 'Date and time at which the Access Grant was created.',
1833
1833
  format: 'date-time',
1834
1834
  type: 'string',
1835
1835
  },
1836
1836
  display_name: {
1837
- description: 'Display name of the access grant.',
1837
+ description: 'Display name of the Access Grant.',
1838
1838
  type: 'string',
1839
1839
  },
1840
1840
  ends_at: {
1841
- description: 'Date and time at which the access grant ends.',
1841
+ description: 'Date and time at which the Access Grant ends.',
1842
1842
  format: 'date-time',
1843
1843
  type: 'string',
1844
1844
  },
1845
1845
  instant_key_url: {
1846
1846
  description:
1847
- 'Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ',
1847
+ 'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
1848
1848
  format: 'uri',
1849
1849
  type: 'string',
1850
1850
  },
@@ -1856,7 +1856,7 @@ export default {
1856
1856
  },
1857
1857
  requested_access_methods: {
1858
1858
  description:
1859
- 'Access methods that the user requested for the access grant.',
1859
+ 'Access methods that the user requested for the Access Grant.',
1860
1860
  items: {
1861
1861
  properties: {
1862
1862
  created_access_method_ids: {
@@ -1867,7 +1867,7 @@ export default {
1867
1867
  },
1868
1868
  created_at: {
1869
1869
  description:
1870
- 'Date and time at which the requested access method was added to the access grant.',
1870
+ 'Date and time at which the requested access method was added to the Access Grant.',
1871
1871
  format: 'date-time',
1872
1872
  type: 'string',
1873
1873
  },
@@ -1894,24 +1894,24 @@ export default {
1894
1894
  },
1895
1895
  space_ids: {
1896
1896
  description:
1897
- 'IDs of the spaces to which the access grant gives access.',
1897
+ 'IDs of the spaces to which the Access Grant gives access.',
1898
1898
  items: { format: 'uuid', type: 'string' },
1899
1899
  type: 'array',
1900
1900
  },
1901
1901
  starts_at: {
1902
- description: 'Date and time at which the access grant starts.',
1902
+ description: 'Date and time at which the Access Grant starts.',
1903
1903
  format: 'date-time',
1904
1904
  type: 'string',
1905
1905
  },
1906
1906
  user_identity_id: {
1907
1907
  description:
1908
- 'ID of user identity to which the access grant gives access.',
1908
+ 'ID of user identity to which the Access Grant gives access.',
1909
1909
  format: 'uuid',
1910
1910
  type: 'string',
1911
1911
  },
1912
1912
  workspace_id: {
1913
1913
  description:
1914
- 'ID of the Seam workspace associated with the access grant.',
1914
+ 'ID of the Seam workspace associated with the Access Grant.',
1915
1915
  format: 'uuid',
1916
1916
  type: 'string',
1917
1917
  },
@@ -1933,7 +1933,7 @@ export default {
1933
1933
  },
1934
1934
  access_method: {
1935
1935
  description:
1936
- '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.',
1936
+ '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.',
1937
1937
  properties: {
1938
1938
  access_method_id: {
1939
1939
  description: 'ID of the access method.',
@@ -14227,10 +14227,10 @@ export default {
14227
14227
  'x-route-path': '/access_codes/unmanaged',
14228
14228
  },
14229
14229
  {
14230
- description: 'An access grant was created.',
14230
+ description: 'An Access Grant was created.',
14231
14231
  properties: {
14232
14232
  access_grant_id: {
14233
- description: 'ID of the affected access grant.',
14233
+ description: 'ID of the affected Access Grant.',
14234
14234
  format: 'uuid',
14235
14235
  type: 'string',
14236
14236
  },
@@ -14269,10 +14269,10 @@ export default {
14269
14269
  'x-route-path': '/access_grants',
14270
14270
  },
14271
14271
  {
14272
- description: 'An access grant was deleted.',
14272
+ description: 'An Access Grant was deleted.',
14273
14273
  properties: {
14274
14274
  access_grant_id: {
14275
- description: 'ID of the affected access grant.',
14275
+ description: 'ID of the affected Access Grant.',
14276
14276
  format: 'uuid',
14277
14277
  type: 'string',
14278
14278
  },
@@ -14312,10 +14312,10 @@ export default {
14312
14312
  },
14313
14313
  {
14314
14314
  description:
14315
- 'All access requested for an access grant was successfully granted.',
14315
+ 'All access requested for an Access Grant was successfully granted.',
14316
14316
  properties: {
14317
14317
  access_grant_id: {
14318
- description: 'ID of the affected access grant.',
14318
+ description: 'ID of the affected Access Grant.',
14319
14319
  format: 'uuid',
14320
14320
  type: 'string',
14321
14321
  },
@@ -14358,10 +14358,10 @@ export default {
14358
14358
  },
14359
14359
  {
14360
14360
  description:
14361
- 'Access requested as part of an access grant to a particular door was successfully granted.',
14361
+ 'Access requested as part of an Access Grant to a particular door was successfully granted.',
14362
14362
  properties: {
14363
14363
  access_grant_id: {
14364
- description: 'ID of the affected access grant.',
14364
+ description: 'ID of the affected Access Grant.',
14365
14365
  format: 'uuid',
14366
14366
  type: 'string',
14367
14367
  },
@@ -14411,10 +14411,10 @@ export default {
14411
14411
  },
14412
14412
  {
14413
14413
  description:
14414
- 'Access to a particular door that was requested as part of an access grant was lost.',
14414
+ 'Access to a particular door that was requested as part of an Access Grant was lost.',
14415
14415
  properties: {
14416
14416
  access_grant_id: {
14417
- description: 'ID of the affected access grant.',
14417
+ description: 'ID of the affected Access Grant.',
14418
14418
  format: 'uuid',
14419
14419
  type: 'string',
14420
14420
  },
@@ -14636,7 +14636,7 @@ export default {
14636
14636
  },
14637
14637
  {
14638
14638
  description:
14639
- 'An access method was reissued due to an access grant update.',
14639
+ 'An access method was reissued due to an Access Grant update.',
14640
14640
  properties: {
14641
14641
  access_method_id: {
14642
14642
  description: 'ID of the affected access method.',
@@ -27503,7 +27503,7 @@ export default {
27503
27503
  },
27504
27504
  '/access_grants/create': {
27505
27505
  post: {
27506
- description: 'Creates a new access grant.',
27506
+ description: 'Creates a new Access Grant.',
27507
27507
  operationId: 'accessGrantsCreatePost',
27508
27508
  requestBody: {
27509
27509
  content: {
@@ -27683,7 +27683,7 @@ export default {
27683
27683
  },
27684
27684
  '/access_grants/delete': {
27685
27685
  delete: {
27686
- description: 'Delete an access grant.',
27686
+ description: 'Delete an Access Grant.',
27687
27687
  operationId: 'accessGrantsDeleteDelete',
27688
27688
  parameters: [
27689
27689
  {
@@ -27691,7 +27691,7 @@ export default {
27691
27691
  name: 'access_grant_id',
27692
27692
  required: true,
27693
27693
  schema: {
27694
- description: 'ID of access grant to delete.',
27694
+ description: 'ID of Access Grant to delete.',
27695
27695
  format: 'uuid',
27696
27696
  type: 'string',
27697
27697
  },
@@ -27728,7 +27728,7 @@ export default {
27728
27728
  'x-title': 'Delete an Access Grant',
27729
27729
  },
27730
27730
  post: {
27731
- description: 'Delete an access grant.',
27731
+ description: 'Delete an Access Grant.',
27732
27732
  operationId: 'accessGrantsDeletePost',
27733
27733
  requestBody: {
27734
27734
  content: {
@@ -27736,7 +27736,7 @@ export default {
27736
27736
  schema: {
27737
27737
  properties: {
27738
27738
  access_grant_id: {
27739
- description: 'ID of access grant to delete.',
27739
+ description: 'ID of Access Grant to delete.',
27740
27740
  format: 'uuid',
27741
27741
  type: 'string',
27742
27742
  },
@@ -27780,7 +27780,7 @@ export default {
27780
27780
  },
27781
27781
  '/access_grants/get': {
27782
27782
  get: {
27783
- description: 'Get an access grant.',
27783
+ description: 'Get an Access Grant.',
27784
27784
  operationId: 'accessGrantsGetGet',
27785
27785
  parameters: [
27786
27786
  {
@@ -27788,7 +27788,7 @@ export default {
27788
27788
  name: 'access_grant_id',
27789
27789
  required: true,
27790
27790
  schema: {
27791
- description: 'ID of access grant to get.',
27791
+ description: 'ID of Access Grant to get.',
27792
27792
  format: 'uuid',
27793
27793
  type: 'string',
27794
27794
  },
@@ -27829,7 +27829,7 @@ export default {
27829
27829
  'x-title': 'Get an Access Grant',
27830
27830
  },
27831
27831
  post: {
27832
- description: 'Get an access grant.',
27832
+ description: 'Get an Access Grant.',
27833
27833
  operationId: 'accessGrantsGetPost',
27834
27834
  requestBody: {
27835
27835
  content: {
@@ -27837,7 +27837,7 @@ export default {
27837
27837
  schema: {
27838
27838
  properties: {
27839
27839
  access_grant_id: {
27840
- description: 'ID of access grant to get.',
27840
+ description: 'ID of Access Grant to get.',
27841
27841
  format: 'uuid',
27842
27842
  type: 'string',
27843
27843
  },
@@ -27885,7 +27885,7 @@ export default {
27885
27885
  },
27886
27886
  '/access_grants/list': {
27887
27887
  get: {
27888
- description: 'Get an access grant.',
27888
+ description: 'Gets an Access Grant.',
27889
27889
  operationId: 'accessGrantsListGet',
27890
27890
  parameters: [
27891
27891
  {
@@ -27893,7 +27893,7 @@ export default {
27893
27893
  name: 'user_identity_id',
27894
27894
  schema: {
27895
27895
  description:
27896
- 'ID of user identity to filter list of access grants by.',
27896
+ 'ID of user identity by which you want to filter the list of Access Grants.',
27897
27897
  format: 'uuid',
27898
27898
  type: 'string',
27899
27899
  },
@@ -27902,7 +27902,8 @@ export default {
27902
27902
  in: 'query',
27903
27903
  name: 'acs_system_id',
27904
27904
  schema: {
27905
- description: 'ID of system to filter list of access grants by.',
27905
+ description:
27906
+ 'ID of the access system by which you want to filter the list of Access Grants.',
27906
27907
  format: 'uuid',
27907
27908
  type: 'string',
27908
27909
  },
@@ -27911,7 +27912,8 @@ export default {
27911
27912
  in: 'query',
27912
27913
  name: 'acs_entrance_id',
27913
27914
  schema: {
27914
- description: 'ID of entrance to filter list of access grants by.',
27915
+ description:
27916
+ 'ID of the entrance by which you want to filter the list of Access Grants.',
27915
27917
  format: 'uuid',
27916
27918
  type: 'string',
27917
27919
  },
@@ -27930,7 +27932,8 @@ export default {
27930
27932
  in: 'query',
27931
27933
  name: 'space_id',
27932
27934
  schema: {
27933
- description: 'ID of space to filter list of access grants by.',
27935
+ description:
27936
+ 'ID of the space by which you want to filter the list of Access Grants.',
27934
27937
  format: 'uuid',
27935
27938
  type: 'string',
27936
27939
  },
@@ -27974,7 +27977,7 @@ export default {
27974
27977
  'x-title': 'List Access Grants',
27975
27978
  },
27976
27979
  post: {
27977
- description: 'Get an access grant.',
27980
+ description: 'Gets an Access Grant.',
27978
27981
  operationId: 'accessGrantsListPost',
27979
27982
  requestBody: {
27980
27983
  content: {
@@ -27983,13 +27986,13 @@ export default {
27983
27986
  properties: {
27984
27987
  acs_entrance_id: {
27985
27988
  description:
27986
- 'ID of entrance to filter list of access grants by.',
27989
+ 'ID of the entrance by which you want to filter the list of Access Grants.',
27987
27990
  format: 'uuid',
27988
27991
  type: 'string',
27989
27992
  },
27990
27993
  acs_system_id: {
27991
27994
  description:
27992
- 'ID of system to filter list of access grants by.',
27995
+ 'ID of the access system by which you want to filter the list of Access Grants.',
27993
27996
  format: 'uuid',
27994
27997
  type: 'string',
27995
27998
  },
@@ -28001,13 +28004,13 @@ export default {
28001
28004
  },
28002
28005
  space_id: {
28003
28006
  description:
28004
- 'ID of space to filter list of access grants by.',
28007
+ 'ID of the space by which you want to filter the list of Access Grants.',
28005
28008
  format: 'uuid',
28006
28009
  type: 'string',
28007
28010
  },
28008
28011
  user_identity_id: {
28009
28012
  description:
28010
- 'ID of user identity to filter list of access grants by.',
28013
+ 'ID of user identity by which you want to filter the list of Access Grants.',
28011
28014
  format: 'uuid',
28012
28015
  type: 'string',
28013
28016
  },
@@ -28057,7 +28060,7 @@ export default {
28057
28060
  },
28058
28061
  '/access_grants/update': {
28059
28062
  patch: {
28060
- description: "Updates an existing access grant's time window.",
28063
+ description: "Updates an existing Access Grant's time window.",
28061
28064
  operationId: 'accessGrantsUpdatePatch',
28062
28065
  requestBody: {
28063
28066
  content: {
@@ -28065,7 +28068,7 @@ export default {
28065
28068
  schema: {
28066
28069
  properties: {
28067
28070
  access_grant_id: {
28068
- description: 'ID of the access grant to update.',
28071
+ description: 'ID of the Access Grant to update.',
28069
28072
  format: 'uuid',
28070
28073
  type: 'string',
28071
28074
  },
@@ -28121,7 +28124,7 @@ export default {
28121
28124
  'x-title': 'Update an Access Grant',
28122
28125
  },
28123
28126
  post: {
28124
- description: "Updates an existing access grant's time window.",
28127
+ description: "Updates an existing Access Grant's time window.",
28125
28128
  operationId: 'accessGrantsUpdatePost',
28126
28129
  requestBody: {
28127
28130
  content: {
@@ -28129,7 +28132,7 @@ export default {
28129
28132
  schema: {
28130
28133
  properties: {
28131
28134
  access_grant_id: {
28132
- description: 'ID of the access grant to update.',
28135
+ description: 'ID of the Access Grant to update.',
28133
28136
  format: 'uuid',
28134
28137
  type: 'string',
28135
28138
  },
@@ -28187,7 +28190,7 @@ export default {
28187
28190
  },
28188
28191
  '/access_methods/delete': {
28189
28192
  delete: {
28190
- description: 'Delete an access method.',
28193
+ description: 'Deletes an access method.',
28191
28194
  operationId: 'accessMethodsDeleteDelete',
28192
28195
  parameters: [
28193
28196
  {
@@ -28231,7 +28234,7 @@ export default {
28231
28234
  'x-title': 'Delete an Access Method',
28232
28235
  },
28233
28236
  post: {
28234
- description: 'Delete an access method.',
28237
+ description: 'Deletes an access method.',
28235
28238
  operationId: 'accessMethodsDeletePost',
28236
28239
  requestBody: {
28237
28240
  content: {
@@ -28283,7 +28286,7 @@ export default {
28283
28286
  '/access_methods/encode': {
28284
28287
  post: {
28285
28288
  description:
28286
- '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).',
28289
+ '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).',
28287
28290
  operationId: 'accessMethodsEncodePost',
28288
28291
  requestBody: {
28289
28292
  content: {
@@ -28298,7 +28301,7 @@ export default {
28298
28301
  },
28299
28302
  acs_encoder_id: {
28300
28303
  description:
28301
- 'ID of the `acs_encoder` to use to encode the `acs_credential`.',
28304
+ 'ID of the `acs_encoder` to use to encode the `access_method`.',
28302
28305
  format: 'uuid',
28303
28306
  type: 'string',
28304
28307
  },
@@ -28347,7 +28350,7 @@ export default {
28347
28350
  },
28348
28351
  '/access_methods/get': {
28349
28352
  get: {
28350
- description: 'Get an access method.',
28353
+ description: 'Gets an access method.',
28351
28354
  operationId: 'accessMethodsGetGet',
28352
28355
  parameters: [
28353
28356
  {
@@ -28397,7 +28400,7 @@ export default {
28397
28400
  'x-title': 'Get an Access Method',
28398
28401
  },
28399
28402
  post: {
28400
- description: 'Get an access method.',
28403
+ description: 'Gets an access method.',
28401
28404
  operationId: 'accessMethodsGetPost',
28402
28405
  requestBody: {
28403
28406
  content: {
@@ -28455,7 +28458,7 @@ export default {
28455
28458
  '/access_methods/list': {
28456
28459
  get: {
28457
28460
  description:
28458
- 'List all access methods, usually filtered by access grant.',
28461
+ 'Lists all access methods, usually filtered by Access Grant.',
28459
28462
  operationId: 'accessMethodsListGet',
28460
28463
  parameters: [
28461
28464
  {
@@ -28463,7 +28466,7 @@ export default {
28463
28466
  name: 'access_grant_id',
28464
28467
  required: true,
28465
28468
  schema: {
28466
- description: 'ID of access grant to list access methods for.',
28469
+ description: 'ID of Access Grant to list access methods for.',
28467
28470
  format: 'uuid',
28468
28471
  type: 'string',
28469
28472
  },
@@ -28540,7 +28543,7 @@ export default {
28540
28543
  },
28541
28544
  post: {
28542
28545
  description:
28543
- 'List all access methods, usually filtered by access grant.',
28546
+ 'Lists all access methods, usually filtered by Access Grant.',
28544
28547
  operationId: 'accessMethodsListPost',
28545
28548
  requestBody: {
28546
28549
  content: {
@@ -28549,7 +28552,7 @@ export default {
28549
28552
  properties: {
28550
28553
  access_grant_id: {
28551
28554
  description:
28552
- 'ID of access grant to list access methods for.',
28555
+ 'ID of Access Grant to list access methods for.',
28553
28556
  format: 'uuid',
28554
28557
  type: 'string',
28555
28558
  },