@seamapi/types 1.445.0 → 1.446.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 (30) hide show
  1. package/dist/connect.cjs +148 -103
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +230 -135
  4. package/dist/index.cjs +148 -103
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
  7. package/lib/seam/connect/models/access-grants/access-grant.js +16 -12
  8. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-method.js +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -1
  11. package/lib/seam/connect/models/batches/batch.d.ts +5 -0
  12. package/lib/seam/connect/models/batches/spaces.d.ts +5 -0
  13. package/lib/seam/connect/models/events/access-grants.js +6 -6
  14. package/lib/seam/connect/models/events/access-methods.js +1 -1
  15. package/lib/seam/connect/models/spaces/space.d.ts +3 -0
  16. package/lib/seam/connect/models/spaces/space.js +4 -0
  17. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +86 -38
  19. package/lib/seam/connect/openapi.js +140 -96
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +133 -97
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/access-grants/access-grant.ts +16 -12
  24. package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -1
  25. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -1
  26. package/src/lib/seam/connect/models/events/access-grants.ts +6 -6
  27. package/src/lib/seam/connect/models/events/access-methods.ts +1 -1
  28. package/src/lib/seam/connect/models/spaces/space.ts +4 -0
  29. package/src/lib/seam/connect/openapi.ts +147 -96
  30. package/src/lib/seam/connect/route-types.ts +144 -104
@@ -1815,36 +1815,41 @@ 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
+ access_grant_key: {
1826
+ description:
1827
+ 'Unique key for the access grant within the workspace.',
1828
+ type: 'string',
1829
+ },
1825
1830
  access_method_ids: {
1826
1831
  description:
1827
- 'IDs of the access methods created for the access grant.',
1832
+ 'IDs of the access methods created for the Access Grant.',
1828
1833
  items: { format: 'uuid', type: 'string' },
1829
1834
  type: 'array',
1830
1835
  },
1831
1836
  created_at: {
1832
- description: 'Date and time at which the access grant was created.',
1837
+ description: 'Date and time at which the Access Grant was created.',
1833
1838
  format: 'date-time',
1834
1839
  type: 'string',
1835
1840
  },
1836
1841
  display_name: {
1837
- description: 'Display name of the access grant.',
1842
+ description: 'Display name of the Access Grant.',
1838
1843
  type: 'string',
1839
1844
  },
1840
1845
  ends_at: {
1841
- description: 'Date and time at which the access grant ends.',
1846
+ description: 'Date and time at which the Access Grant ends.',
1842
1847
  format: 'date-time',
1843
1848
  type: 'string',
1844
1849
  },
1845
1850
  instant_key_url: {
1846
1851
  description:
1847
- 'Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ',
1852
+ 'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
1848
1853
  format: 'uri',
1849
1854
  type: 'string',
1850
1855
  },
@@ -1856,7 +1861,7 @@ export default {
1856
1861
  },
1857
1862
  requested_access_methods: {
1858
1863
  description:
1859
- 'Access methods that the user requested for the access grant.',
1864
+ 'Access methods that the user requested for the Access Grant.',
1860
1865
  items: {
1861
1866
  properties: {
1862
1867
  created_access_method_ids: {
@@ -1867,7 +1872,7 @@ export default {
1867
1872
  },
1868
1873
  created_at: {
1869
1874
  description:
1870
- 'Date and time at which the requested access method was added to the access grant.',
1875
+ 'Date and time at which the requested access method was added to the Access Grant.',
1871
1876
  format: 'date-time',
1872
1877
  type: 'string',
1873
1878
  },
@@ -1894,24 +1899,24 @@ export default {
1894
1899
  },
1895
1900
  space_ids: {
1896
1901
  description:
1897
- 'IDs of the spaces to which the access grant gives access.',
1902
+ 'IDs of the spaces to which the Access Grant gives access.',
1898
1903
  items: { format: 'uuid', type: 'string' },
1899
1904
  type: 'array',
1900
1905
  },
1901
1906
  starts_at: {
1902
- description: 'Date and time at which the access grant starts.',
1907
+ description: 'Date and time at which the Access Grant starts.',
1903
1908
  format: 'date-time',
1904
1909
  type: 'string',
1905
1910
  },
1906
1911
  user_identity_id: {
1907
1912
  description:
1908
- 'ID of user identity to which the access grant gives access.',
1913
+ 'ID of user identity to which the Access Grant gives access.',
1909
1914
  format: 'uuid',
1910
1915
  type: 'string',
1911
1916
  },
1912
1917
  workspace_id: {
1913
1918
  description:
1914
- 'ID of the Seam workspace associated with the access grant.',
1919
+ 'ID of the Seam workspace associated with the Access Grant.',
1915
1920
  format: 'uuid',
1916
1921
  type: 'string',
1917
1922
  },
@@ -1933,7 +1938,7 @@ export default {
1933
1938
  },
1934
1939
  access_method: {
1935
1940
  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.',
1941
+ '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
1942
  properties: {
1938
1943
  access_method_id: {
1939
1944
  description: 'ID of the access method.',
@@ -14227,10 +14232,10 @@ export default {
14227
14232
  'x-route-path': '/access_codes/unmanaged',
14228
14233
  },
14229
14234
  {
14230
- description: 'An access grant was created.',
14235
+ description: 'An Access Grant was created.',
14231
14236
  properties: {
14232
14237
  access_grant_id: {
14233
- description: 'ID of the affected access grant.',
14238
+ description: 'ID of the affected Access Grant.',
14234
14239
  format: 'uuid',
14235
14240
  type: 'string',
14236
14241
  },
@@ -14269,10 +14274,10 @@ export default {
14269
14274
  'x-route-path': '/access_grants',
14270
14275
  },
14271
14276
  {
14272
- description: 'An access grant was deleted.',
14277
+ description: 'An Access Grant was deleted.',
14273
14278
  properties: {
14274
14279
  access_grant_id: {
14275
- description: 'ID of the affected access grant.',
14280
+ description: 'ID of the affected Access Grant.',
14276
14281
  format: 'uuid',
14277
14282
  type: 'string',
14278
14283
  },
@@ -14312,10 +14317,10 @@ export default {
14312
14317
  },
14313
14318
  {
14314
14319
  description:
14315
- 'All access requested for an access grant was successfully granted.',
14320
+ 'All access requested for an Access Grant was successfully granted.',
14316
14321
  properties: {
14317
14322
  access_grant_id: {
14318
- description: 'ID of the affected access grant.',
14323
+ description: 'ID of the affected Access Grant.',
14319
14324
  format: 'uuid',
14320
14325
  type: 'string',
14321
14326
  },
@@ -14358,10 +14363,10 @@ export default {
14358
14363
  },
14359
14364
  {
14360
14365
  description:
14361
- 'Access requested as part of an access grant to a particular door was successfully granted.',
14366
+ 'Access requested as part of an Access Grant to a particular door was successfully granted.',
14362
14367
  properties: {
14363
14368
  access_grant_id: {
14364
- description: 'ID of the affected access grant.',
14369
+ description: 'ID of the affected Access Grant.',
14365
14370
  format: 'uuid',
14366
14371
  type: 'string',
14367
14372
  },
@@ -14411,10 +14416,10 @@ export default {
14411
14416
  },
14412
14417
  {
14413
14418
  description:
14414
- 'Access to a particular door that was requested as part of an access grant was lost.',
14419
+ 'Access to a particular door that was requested as part of an Access Grant was lost.',
14415
14420
  properties: {
14416
14421
  access_grant_id: {
14417
- description: 'ID of the affected access grant.',
14422
+ description: 'ID of the affected Access Grant.',
14418
14423
  format: 'uuid',
14419
14424
  type: 'string',
14420
14425
  },
@@ -14636,7 +14641,7 @@ export default {
14636
14641
  },
14637
14642
  {
14638
14643
  description:
14639
- 'An access method was reissued due to an access grant update.',
14644
+ 'An access method was reissued due to an Access Grant update.',
14640
14645
  properties: {
14641
14646
  access_method_id: {
14642
14647
  description: 'ID of the affected access method.',
@@ -20059,6 +20064,10 @@ export default {
20059
20064
  format: 'uuid',
20060
20065
  type: 'string',
20061
20066
  },
20067
+ space_key: {
20068
+ description: 'Unique key for the space within the workspace.',
20069
+ type: 'string',
20070
+ },
20062
20071
  workspace_id: {
20063
20072
  description:
20064
20073
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.',
@@ -27503,7 +27512,7 @@ export default {
27503
27512
  },
27504
27513
  '/access_grants/create': {
27505
27514
  post: {
27506
- description: 'Creates a new access grant.',
27515
+ description: 'Creates a new Access Grant.',
27507
27516
  operationId: 'accessGrantsCreatePost',
27508
27517
  requestBody: {
27509
27518
  content: {
@@ -27559,6 +27568,11 @@ export default {
27559
27568
  },
27560
27569
  {
27561
27570
  properties: {
27571
+ access_grant_key: {
27572
+ description:
27573
+ 'Unique key for the access grant within the workspace.',
27574
+ type: 'string',
27575
+ },
27562
27576
  acs_entrance_ids: {
27563
27577
  default: [],
27564
27578
  description:
@@ -27683,7 +27697,7 @@ export default {
27683
27697
  },
27684
27698
  '/access_grants/delete': {
27685
27699
  delete: {
27686
- description: 'Delete an access grant.',
27700
+ description: 'Delete an Access Grant.',
27687
27701
  operationId: 'accessGrantsDeleteDelete',
27688
27702
  parameters: [
27689
27703
  {
@@ -27691,7 +27705,7 @@ export default {
27691
27705
  name: 'access_grant_id',
27692
27706
  required: true,
27693
27707
  schema: {
27694
- description: 'ID of access grant to delete.',
27708
+ description: 'ID of Access Grant to delete.',
27695
27709
  format: 'uuid',
27696
27710
  type: 'string',
27697
27711
  },
@@ -27728,7 +27742,7 @@ export default {
27728
27742
  'x-title': 'Delete an Access Grant',
27729
27743
  },
27730
27744
  post: {
27731
- description: 'Delete an access grant.',
27745
+ description: 'Delete an Access Grant.',
27732
27746
  operationId: 'accessGrantsDeletePost',
27733
27747
  requestBody: {
27734
27748
  content: {
@@ -27736,7 +27750,7 @@ export default {
27736
27750
  schema: {
27737
27751
  properties: {
27738
27752
  access_grant_id: {
27739
- description: 'ID of access grant to delete.',
27753
+ description: 'ID of Access Grant to delete.',
27740
27754
  format: 'uuid',
27741
27755
  type: 'string',
27742
27756
  },
@@ -27780,20 +27794,8 @@ export default {
27780
27794
  },
27781
27795
  '/access_grants/get': {
27782
27796
  get: {
27783
- description: 'Get an access grant.',
27797
+ description: 'Get an Access Grant.',
27784
27798
  operationId: 'accessGrantsGetGet',
27785
- parameters: [
27786
- {
27787
- in: 'query',
27788
- name: 'access_grant_id',
27789
- required: true,
27790
- schema: {
27791
- description: 'ID of access grant to get.',
27792
- format: 'uuid',
27793
- type: 'string',
27794
- },
27795
- },
27796
- ],
27797
27799
  responses: {
27798
27800
  200: {
27799
27801
  content: {
@@ -27829,21 +27831,35 @@ export default {
27829
27831
  'x-title': 'Get an Access Grant',
27830
27832
  },
27831
27833
  post: {
27832
- description: 'Get an access grant.',
27834
+ description: 'Get an Access Grant.',
27833
27835
  operationId: 'accessGrantsGetPost',
27834
27836
  requestBody: {
27835
27837
  content: {
27836
27838
  'application/json': {
27837
27839
  schema: {
27838
- properties: {
27839
- access_grant_id: {
27840
- description: 'ID of access grant to get.',
27841
- format: 'uuid',
27842
- type: 'string',
27840
+ oneOf: [
27841
+ {
27842
+ properties: {
27843
+ access_grant_id: {
27844
+ description: 'ID of Access Grant to get.',
27845
+ format: 'uuid',
27846
+ type: 'string',
27847
+ },
27848
+ },
27849
+ required: ['access_grant_id'],
27850
+ type: 'object',
27843
27851
  },
27844
- },
27845
- required: ['access_grant_id'],
27846
- type: 'object',
27852
+ {
27853
+ properties: {
27854
+ access_grant_key: {
27855
+ description: 'Unique key of Access Grant to get.',
27856
+ type: 'string',
27857
+ },
27858
+ },
27859
+ required: ['access_grant_key'],
27860
+ type: 'object',
27861
+ },
27862
+ ],
27847
27863
  },
27848
27864
  },
27849
27865
  },
@@ -27885,7 +27901,7 @@ export default {
27885
27901
  },
27886
27902
  '/access_grants/list': {
27887
27903
  get: {
27888
- description: 'Get an access grant.',
27904
+ description: 'Gets an Access Grant.',
27889
27905
  operationId: 'accessGrantsListGet',
27890
27906
  parameters: [
27891
27907
  {
@@ -27893,7 +27909,7 @@ export default {
27893
27909
  name: 'user_identity_id',
27894
27910
  schema: {
27895
27911
  description:
27896
- 'ID of user identity to filter list of access grants by.',
27912
+ 'ID of user identity by which you want to filter the list of Access Grants.',
27897
27913
  format: 'uuid',
27898
27914
  type: 'string',
27899
27915
  },
@@ -27902,7 +27918,8 @@ export default {
27902
27918
  in: 'query',
27903
27919
  name: 'acs_system_id',
27904
27920
  schema: {
27905
- description: 'ID of system to filter list of access grants by.',
27921
+ description:
27922
+ 'ID of the access system by which you want to filter the list of Access Grants.',
27906
27923
  format: 'uuid',
27907
27924
  type: 'string',
27908
27925
  },
@@ -27911,7 +27928,8 @@ export default {
27911
27928
  in: 'query',
27912
27929
  name: 'acs_entrance_id',
27913
27930
  schema: {
27914
- description: 'ID of entrance to filter list of access grants by.',
27931
+ description:
27932
+ 'ID of the entrance by which you want to filter the list of Access Grants.',
27915
27933
  format: 'uuid',
27916
27934
  type: 'string',
27917
27935
  },
@@ -27930,11 +27948,20 @@ export default {
27930
27948
  in: 'query',
27931
27949
  name: 'space_id',
27932
27950
  schema: {
27933
- description: 'ID of space to filter list of access grants by.',
27951
+ description:
27952
+ 'ID of the space by which you want to filter the list of Access Grants.',
27934
27953
  format: 'uuid',
27935
27954
  type: 'string',
27936
27955
  },
27937
27956
  },
27957
+ {
27958
+ in: 'query',
27959
+ name: 'access_grant_key',
27960
+ schema: {
27961
+ description: 'Filter Access Grants by access_grant_key.',
27962
+ type: 'string',
27963
+ },
27964
+ },
27938
27965
  ],
27939
27966
  responses: {
27940
27967
  200: {
@@ -27974,22 +28001,26 @@ export default {
27974
28001
  'x-title': 'List Access Grants',
27975
28002
  },
27976
28003
  post: {
27977
- description: 'Get an access grant.',
28004
+ description: 'Gets an Access Grant.',
27978
28005
  operationId: 'accessGrantsListPost',
27979
28006
  requestBody: {
27980
28007
  content: {
27981
28008
  'application/json': {
27982
28009
  schema: {
27983
28010
  properties: {
28011
+ access_grant_key: {
28012
+ description: 'Filter Access Grants by access_grant_key.',
28013
+ type: 'string',
28014
+ },
27984
28015
  acs_entrance_id: {
27985
28016
  description:
27986
- 'ID of entrance to filter list of access grants by.',
28017
+ 'ID of the entrance by which you want to filter the list of Access Grants.',
27987
28018
  format: 'uuid',
27988
28019
  type: 'string',
27989
28020
  },
27990
28021
  acs_system_id: {
27991
28022
  description:
27992
- 'ID of system to filter list of access grants by.',
28023
+ 'ID of the access system by which you want to filter the list of Access Grants.',
27993
28024
  format: 'uuid',
27994
28025
  type: 'string',
27995
28026
  },
@@ -28001,13 +28032,13 @@ export default {
28001
28032
  },
28002
28033
  space_id: {
28003
28034
  description:
28004
- 'ID of space to filter list of access grants by.',
28035
+ 'ID of the space by which you want to filter the list of Access Grants.',
28005
28036
  format: 'uuid',
28006
28037
  type: 'string',
28007
28038
  },
28008
28039
  user_identity_id: {
28009
28040
  description:
28010
- 'ID of user identity to filter list of access grants by.',
28041
+ 'ID of user identity by which you want to filter the list of Access Grants.',
28011
28042
  format: 'uuid',
28012
28043
  type: 'string',
28013
28044
  },
@@ -28057,7 +28088,7 @@ export default {
28057
28088
  },
28058
28089
  '/access_grants/update': {
28059
28090
  patch: {
28060
- description: "Updates an existing access grant's time window.",
28091
+ description: "Updates an existing Access Grant's time window.",
28061
28092
  operationId: 'accessGrantsUpdatePatch',
28062
28093
  requestBody: {
28063
28094
  content: {
@@ -28065,7 +28096,7 @@ export default {
28065
28096
  schema: {
28066
28097
  properties: {
28067
28098
  access_grant_id: {
28068
- description: 'ID of the access grant to update.',
28099
+ description: 'ID of the Access Grant to update.',
28069
28100
  format: 'uuid',
28070
28101
  type: 'string',
28071
28102
  },
@@ -28121,7 +28152,7 @@ export default {
28121
28152
  'x-title': 'Update an Access Grant',
28122
28153
  },
28123
28154
  post: {
28124
- description: "Updates an existing access grant's time window.",
28155
+ description: "Updates an existing Access Grant's time window.",
28125
28156
  operationId: 'accessGrantsUpdatePost',
28126
28157
  requestBody: {
28127
28158
  content: {
@@ -28129,7 +28160,7 @@ export default {
28129
28160
  schema: {
28130
28161
  properties: {
28131
28162
  access_grant_id: {
28132
- description: 'ID of the access grant to update.',
28163
+ description: 'ID of the Access Grant to update.',
28133
28164
  format: 'uuid',
28134
28165
  type: 'string',
28135
28166
  },
@@ -28187,7 +28218,7 @@ export default {
28187
28218
  },
28188
28219
  '/access_methods/delete': {
28189
28220
  delete: {
28190
- description: 'Delete an access method.',
28221
+ description: 'Deletes an access method.',
28191
28222
  operationId: 'accessMethodsDeleteDelete',
28192
28223
  parameters: [
28193
28224
  {
@@ -28231,7 +28262,7 @@ export default {
28231
28262
  'x-title': 'Delete an Access Method',
28232
28263
  },
28233
28264
  post: {
28234
- description: 'Delete an access method.',
28265
+ description: 'Deletes an access method.',
28235
28266
  operationId: 'accessMethodsDeletePost',
28236
28267
  requestBody: {
28237
28268
  content: {
@@ -28283,7 +28314,7 @@ export default {
28283
28314
  '/access_methods/encode': {
28284
28315
  post: {
28285
28316
  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).',
28317
+ '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
28318
  operationId: 'accessMethodsEncodePost',
28288
28319
  requestBody: {
28289
28320
  content: {
@@ -28298,7 +28329,7 @@ export default {
28298
28329
  },
28299
28330
  acs_encoder_id: {
28300
28331
  description:
28301
- 'ID of the `acs_encoder` to use to encode the `acs_credential`.',
28332
+ 'ID of the `acs_encoder` to use to encode the `access_method`.',
28302
28333
  format: 'uuid',
28303
28334
  type: 'string',
28304
28335
  },
@@ -28347,7 +28378,7 @@ export default {
28347
28378
  },
28348
28379
  '/access_methods/get': {
28349
28380
  get: {
28350
- description: 'Get an access method.',
28381
+ description: 'Gets an access method.',
28351
28382
  operationId: 'accessMethodsGetGet',
28352
28383
  parameters: [
28353
28384
  {
@@ -28397,7 +28428,7 @@ export default {
28397
28428
  'x-title': 'Get an Access Method',
28398
28429
  },
28399
28430
  post: {
28400
- description: 'Get an access method.',
28431
+ description: 'Gets an access method.',
28401
28432
  operationId: 'accessMethodsGetPost',
28402
28433
  requestBody: {
28403
28434
  content: {
@@ -28455,7 +28486,7 @@ export default {
28455
28486
  '/access_methods/list': {
28456
28487
  get: {
28457
28488
  description:
28458
- 'List all access methods, usually filtered by access grant.',
28489
+ 'Lists all access methods, usually filtered by Access Grant.',
28459
28490
  operationId: 'accessMethodsListGet',
28460
28491
  parameters: [
28461
28492
  {
@@ -28463,7 +28494,7 @@ export default {
28463
28494
  name: 'access_grant_id',
28464
28495
  required: true,
28465
28496
  schema: {
28466
- description: 'ID of access grant to list access methods for.',
28497
+ description: 'ID of Access Grant to list access methods for.',
28467
28498
  format: 'uuid',
28468
28499
  type: 'string',
28469
28500
  },
@@ -28540,7 +28571,7 @@ export default {
28540
28571
  },
28541
28572
  post: {
28542
28573
  description:
28543
- 'List all access methods, usually filtered by access grant.',
28574
+ 'Lists all access methods, usually filtered by Access Grant.',
28544
28575
  operationId: 'accessMethodsListPost',
28545
28576
  requestBody: {
28546
28577
  content: {
@@ -28549,7 +28580,7 @@ export default {
28549
28580
  properties: {
28550
28581
  access_grant_id: {
28551
28582
  description:
28552
- 'ID of access grant to list access methods for.',
28583
+ 'ID of Access Grant to list access methods for.',
28553
28584
  format: 'uuid',
28554
28585
  type: 'string',
28555
28586
  },
@@ -47022,6 +47053,11 @@ export default {
47022
47053
  description: 'Name of the space that you want to create.',
47023
47054
  type: 'string',
47024
47055
  },
47056
+ space_key: {
47057
+ description:
47058
+ 'Unique key for the space within the workspace.',
47059
+ type: 'string',
47060
+ },
47025
47061
  },
47026
47062
  required: ['name'],
47027
47063
  type: 'object',
@@ -47167,18 +47203,6 @@ export default {
47167
47203
  get: {
47168
47204
  description: 'Gets a space.',
47169
47205
  operationId: 'spacesGetGet',
47170
- parameters: [
47171
- {
47172
- in: 'query',
47173
- name: 'space_id',
47174
- required: true,
47175
- schema: {
47176
- description: 'ID of the space that you want to get.',
47177
- format: 'uuid',
47178
- type: 'string',
47179
- },
47180
- },
47181
- ],
47182
47206
  responses: {
47183
47207
  200: {
47184
47208
  content: {
@@ -47219,15 +47243,30 @@ export default {
47219
47243
  content: {
47220
47244
  'application/json': {
47221
47245
  schema: {
47222
- properties: {
47223
- space_id: {
47224
- description: 'ID of the space that you want to get.',
47225
- format: 'uuid',
47226
- type: 'string',
47246
+ oneOf: [
47247
+ {
47248
+ properties: {
47249
+ space_id: {
47250
+ description: 'ID of the space that you want to get.',
47251
+ format: 'uuid',
47252
+ type: 'string',
47253
+ },
47254
+ },
47255
+ required: ['space_id'],
47256
+ type: 'object',
47227
47257
  },
47228
- },
47229
- required: ['space_id'],
47230
- type: 'object',
47258
+ {
47259
+ properties: {
47260
+ space_key: {
47261
+ description:
47262
+ 'Unique key of the space that you want to get.',
47263
+ type: 'string',
47264
+ },
47265
+ },
47266
+ required: ['space_key'],
47267
+ type: 'object',
47268
+ },
47269
+ ],
47231
47270
  },
47232
47271
  },
47233
47272
  },
@@ -47466,6 +47505,14 @@ export default {
47466
47505
  type: 'string',
47467
47506
  },
47468
47507
  },
47508
+ {
47509
+ in: 'query',
47510
+ name: 'space_key',
47511
+ schema: {
47512
+ description: 'Filter spaces by space_key.',
47513
+ type: 'string',
47514
+ },
47515
+ },
47469
47516
  ],
47470
47517
  responses: {
47471
47518
  200: {
@@ -47517,6 +47564,10 @@ export default {
47517
47564
  minLength: 1,
47518
47565
  type: 'string',
47519
47566
  },
47567
+ space_key: {
47568
+ description: 'Filter spaces by space_key.',
47569
+ type: 'string',
47570
+ },
47520
47571
  },
47521
47572
  type: 'object',
47522
47573
  },