@seamapi/types 1.700.0 → 1.702.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.
@@ -13599,6 +13599,57 @@ export default {
13599
13599
  type: 'object',
13600
13600
  'x-route-path': '/access_grants',
13601
13601
  },
13602
+ {
13603
+ description: 'One or more requested access methods could not be created for an Access Grant.',
13604
+ properties: {
13605
+ access_grant_id: {
13606
+ description: 'ID of the affected Access Grant.',
13607
+ format: 'uuid',
13608
+ type: 'string',
13609
+ },
13610
+ created_at: {
13611
+ description: 'Date and time at which the event was created.',
13612
+ format: 'date-time',
13613
+ type: 'string',
13614
+ },
13615
+ error_message: {
13616
+ description: 'Description of why the access methods could not be created.',
13617
+ type: 'string',
13618
+ },
13619
+ event_id: {
13620
+ description: 'ID of the event.',
13621
+ format: 'uuid',
13622
+ type: 'string',
13623
+ },
13624
+ event_type: {
13625
+ enum: [
13626
+ 'access_grant.could_not_create_requested_access_methods',
13627
+ ],
13628
+ type: 'string',
13629
+ },
13630
+ occurred_at: {
13631
+ description: 'Date and time at which the event occurred.',
13632
+ format: 'date-time',
13633
+ type: 'string',
13634
+ },
13635
+ workspace_id: {
13636
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
13637
+ format: 'uuid',
13638
+ type: 'string',
13639
+ },
13640
+ },
13641
+ required: [
13642
+ 'event_id',
13643
+ 'workspace_id',
13644
+ 'created_at',
13645
+ 'occurred_at',
13646
+ 'access_grant_id',
13647
+ 'event_type',
13648
+ 'error_message',
13649
+ ],
13650
+ type: 'object',
13651
+ 'x-route-path': '/access_grants',
13652
+ },
13602
13653
  {
13603
13654
  description: 'An access method was issued.',
13604
13655
  properties: {
@@ -26866,6 +26917,25 @@ export default {
26866
26917
  type: 'string',
26867
26918
  },
26868
26919
  },
26920
+ {
26921
+ in: 'query',
26922
+ name: 'limit',
26923
+ schema: {
26924
+ default: 500,
26925
+ description: 'Numerical limit on the number of access grants to return.',
26926
+ format: 'float',
26927
+ type: 'number',
26928
+ },
26929
+ },
26930
+ {
26931
+ in: 'query',
26932
+ name: 'page_cursor',
26933
+ schema: {
26934
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
26935
+ nullable: true,
26936
+ type: 'string',
26937
+ },
26938
+ },
26869
26939
  {
26870
26940
  in: 'query',
26871
26941
  name: 'user_identity_id',
@@ -26940,8 +27010,9 @@ export default {
26940
27010
  type: 'array',
26941
27011
  },
26942
27012
  ok: { type: 'boolean' },
27013
+ pagination: { $ref: '#/components/schemas/pagination' },
26943
27014
  },
26944
- required: ['access_grants', 'ok'],
27015
+ required: ['access_grants', 'pagination', 'ok'],
26945
27016
  type: 'object',
26946
27017
  },
26947
27018
  },
@@ -26992,12 +27063,23 @@ export default {
26992
27063
  description: 'Customer key for which you want to list access grants.',
26993
27064
  type: 'string',
26994
27065
  },
27066
+ limit: {
27067
+ default: 500,
27068
+ description: 'Numerical limit on the number of access grants to return.',
27069
+ format: 'float',
27070
+ type: 'number',
27071
+ },
26995
27072
  location_id: {
26996
27073
  deprecated: true,
26997
27074
  format: 'uuid',
26998
27075
  type: 'string',
26999
27076
  'x-deprecated': 'Use `space_id`.',
27000
27077
  },
27078
+ page_cursor: {
27079
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
27080
+ nullable: true,
27081
+ type: 'string',
27082
+ },
27001
27083
  reservation_key: {
27002
27084
  description: 'Filter Access Grants by reservation_key.',
27003
27085
  type: 'string',
@@ -27029,8 +27111,9 @@ export default {
27029
27111
  type: 'array',
27030
27112
  },
27031
27113
  ok: { type: 'boolean' },
27114
+ pagination: { $ref: '#/components/schemas/pagination' },
27032
27115
  },
27033
- required: ['access_grants', 'ok'],
27116
+ required: ['access_grants', 'pagination', 'ok'],
27034
27117
  type: 'object',
27035
27118
  },
27036
27119
  },
@@ -43686,6 +43769,7 @@ export default {
43686
43769
  'access_grant.access_granted_to_door',
43687
43770
  'access_grant.access_to_door_lost',
43688
43771
  'access_grant.access_times_changed',
43772
+ 'access_grant.could_not_create_requested_access_methods',
43689
43773
  'access_method.issued',
43690
43774
  'access_method.revoked',
43691
43775
  'access_method.card_encoding_required',
@@ -43792,6 +43876,7 @@ export default {
43792
43876
  'access_grant.access_granted_to_door',
43793
43877
  'access_grant.access_to_door_lost',
43794
43878
  'access_grant.access_times_changed',
43879
+ 'access_grant.could_not_create_requested_access_methods',
43795
43880
  'access_method.issued',
43796
43881
  'access_method.revoked',
43797
43882
  'access_method.card_encoding_required',
@@ -44077,6 +44162,7 @@ export default {
44077
44162
  'access_grant.access_granted_to_door',
44078
44163
  'access_grant.access_to_door_lost',
44079
44164
  'access_grant.access_times_changed',
44165
+ 'access_grant.could_not_create_requested_access_methods',
44080
44166
  'access_method.issued',
44081
44167
  'access_method.revoked',
44082
44168
  'access_method.card_encoding_required',
@@ -44179,6 +44265,7 @@ export default {
44179
44265
  'access_grant.access_granted_to_door',
44180
44266
  'access_grant.access_to_door_lost',
44181
44267
  'access_grant.access_times_changed',
44268
+ 'access_grant.could_not_create_requested_access_methods',
44182
44269
  'access_method.issued',
44183
44270
  'access_method.revoked',
44184
44271
  'access_method.card_encoding_required',
@@ -50992,6 +51079,7 @@ export default {
50992
51079
  'access_grant.access_granted_to_door',
50993
51080
  'access_grant.access_to_door_lost',
50994
51081
  'access_grant.access_times_changed',
51082
+ 'access_grant.could_not_create_requested_access_methods',
50995
51083
  'access_method.issued',
50996
51084
  'access_method.revoked',
50997
51085
  'access_method.card_encoding_required',
@@ -51099,6 +51187,7 @@ export default {
51099
51187
  'access_grant.access_granted_to_door',
51100
51188
  'access_grant.access_to_door_lost',
51101
51189
  'access_grant.access_times_changed',
51190
+ 'access_grant.could_not_create_requested_access_methods',
51102
51191
  'access_method.issued',
51103
51192
  'access_method.revoked',
51104
51193
  'access_method.card_encoding_required',
@@ -51267,6 +51356,7 @@ export default {
51267
51356
  'access_grant.access_granted_to_door',
51268
51357
  'access_grant.access_to_door_lost',
51269
51358
  'access_grant.access_times_changed',
51359
+ 'access_grant.could_not_create_requested_access_methods',
51270
51360
  'access_method.issued',
51271
51361
  'access_method.revoked',
51272
51362
  'access_method.card_encoding_required',
@@ -51369,6 +51459,7 @@ export default {
51369
51459
  'access_grant.access_granted_to_door',
51370
51460
  'access_grant.access_to_door_lost',
51371
51461
  'access_grant.access_times_changed',
51462
+ 'access_grant.could_not_create_requested_access_methods',
51372
51463
  'access_method.issued',
51373
51464
  'access_method.revoked',
51374
51465
  'access_method.card_encoding_required',