@seamapi/types 1.1001.0 → 1.1002.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.
@@ -40204,6 +40204,80 @@ const openapi = {
40204
40204
  get: {
40205
40205
  description: 'Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
40206
40206
  operationId: 'acsCredentialsListGet',
40207
+ parameters: [
40208
+ {
40209
+ in: 'query',
40210
+ name: 'acs_user_id',
40211
+ schema: {
40212
+ description: 'ID of the access system user for which you want to retrieve all credentials.',
40213
+ format: 'uuid',
40214
+ type: 'string',
40215
+ },
40216
+ },
40217
+ {
40218
+ in: 'query',
40219
+ name: 'acs_system_id',
40220
+ schema: {
40221
+ description: 'ID of the access system for which you want to retrieve all credentials.',
40222
+ format: 'uuid',
40223
+ type: 'string',
40224
+ },
40225
+ },
40226
+ {
40227
+ in: 'query',
40228
+ name: 'user_identity_id',
40229
+ schema: {
40230
+ description: 'ID of the user identity for which you want to retrieve all credentials.',
40231
+ format: 'uuid',
40232
+ type: 'string',
40233
+ },
40234
+ },
40235
+ {
40236
+ in: 'query',
40237
+ name: 'limit',
40238
+ schema: {
40239
+ default: 500,
40240
+ description: 'Number of credentials to return.',
40241
+ format: 'float',
40242
+ type: 'number',
40243
+ },
40244
+ },
40245
+ {
40246
+ in: 'query',
40247
+ name: 'created_before',
40248
+ schema: {
40249
+ description: 'Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created.',
40250
+ format: 'date-time',
40251
+ type: 'string',
40252
+ },
40253
+ },
40254
+ {
40255
+ in: 'query',
40256
+ name: 'is_multi_phone_sync_credential',
40257
+ schema: {
40258
+ description: 'Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.',
40259
+ type: 'boolean',
40260
+ },
40261
+ },
40262
+ {
40263
+ in: 'query',
40264
+ name: 'search',
40265
+ schema: {
40266
+ description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40267
+ minLength: 1,
40268
+ type: 'string',
40269
+ },
40270
+ },
40271
+ {
40272
+ in: 'query',
40273
+ name: 'page_cursor',
40274
+ schema: {
40275
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
40276
+ nullable: true,
40277
+ type: 'string',
40278
+ },
40279
+ },
40280
+ ],
40207
40281
  responses: {
40208
40282
  '200': {
40209
40283
  content: {
@@ -40249,92 +40323,49 @@ const openapi = {
40249
40323
  content: {
40250
40324
  'application/json': {
40251
40325
  schema: {
40252
- allOf: [
40253
- {
40254
- oneOf: [
40255
- {
40256
- properties: {
40257
- acs_user_id: {
40258
- description: 'ID of the access system user for which you want to retrieve all credentials.',
40259
- format: 'uuid',
40260
- type: 'string',
40261
- },
40262
- },
40263
- required: ['acs_user_id'],
40264
- type: 'object',
40265
- },
40266
- {
40267
- properties: {
40268
- acs_system_id: {
40269
- description: 'ID of the access system for which you want to retrieve all credentials.',
40270
- format: 'uuid',
40271
- type: 'string',
40272
- },
40273
- },
40274
- required: ['acs_system_id'],
40275
- type: 'object',
40276
- },
40277
- {
40278
- properties: {
40279
- acs_system_id: {
40280
- description: 'ID of the access system for which you want to retrieve all credentials.',
40281
- format: 'uuid',
40282
- type: 'string',
40283
- },
40284
- acs_user_id: {
40285
- description: 'ID of the access system user for which you want to retrieve all credentials.',
40286
- format: 'uuid',
40287
- type: 'string',
40288
- },
40289
- },
40290
- required: ['acs_user_id', 'acs_system_id'],
40291
- type: 'object',
40292
- },
40293
- {
40294
- properties: {
40295
- user_identity_id: {
40296
- description: 'ID of the user identity for which you want to retrieve all credentials.',
40297
- format: 'uuid',
40298
- type: 'string',
40299
- },
40300
- },
40301
- required: ['user_identity_id'],
40302
- type: 'object',
40303
- },
40304
- { properties: {}, type: 'object' },
40305
- ],
40326
+ properties: {
40327
+ acs_system_id: {
40328
+ description: 'ID of the access system for which you want to retrieve all credentials.',
40329
+ format: 'uuid',
40330
+ type: 'string',
40306
40331
  },
40307
- {
40308
- properties: {
40309
- created_before: {
40310
- description: 'Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created.',
40311
- format: 'date-time',
40312
- type: 'string',
40313
- },
40314
- is_multi_phone_sync_credential: {
40315
- description: 'Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.',
40316
- type: 'boolean',
40317
- },
40318
- limit: {
40319
- default: 500,
40320
- description: 'Number of credentials to return.',
40321
- format: 'float',
40322
- type: 'number',
40323
- },
40324
- page_cursor: {
40325
- description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
40326
- nullable: true,
40327
- type: 'string',
40328
- },
40329
- search: {
40330
- description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40331
- minLength: 1,
40332
- type: 'string',
40333
- },
40334
- },
40335
- type: 'object',
40332
+ acs_user_id: {
40333
+ description: 'ID of the access system user for which you want to retrieve all credentials.',
40334
+ format: 'uuid',
40335
+ type: 'string',
40336
40336
  },
40337
- ],
40337
+ created_before: {
40338
+ description: 'Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created.',
40339
+ format: 'date-time',
40340
+ type: 'string',
40341
+ },
40342
+ is_multi_phone_sync_credential: {
40343
+ description: 'Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.',
40344
+ type: 'boolean',
40345
+ },
40346
+ limit: {
40347
+ default: 500,
40348
+ description: 'Number of credentials to return.',
40349
+ format: 'float',
40350
+ type: 'number',
40351
+ },
40352
+ page_cursor: {
40353
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
40354
+ nullable: true,
40355
+ type: 'string',
40356
+ },
40357
+ search: {
40358
+ description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40359
+ minLength: 1,
40360
+ type: 'string',
40361
+ },
40362
+ user_identity_id: {
40363
+ description: 'ID of the user identity for which you want to retrieve all credentials.',
40364
+ format: 'uuid',
40365
+ type: 'string',
40366
+ },
40367
+ },
40368
+ type: 'object',
40338
40369
  },
40339
40370
  },
40340
40371
  },
@@ -40726,6 +40757,44 @@ const openapi = {
40726
40757
  get: {
40727
40758
  description: 'Returns a list of all unmanaged [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
40728
40759
  operationId: 'acsCredentialsUnmanagedListGet',
40760
+ parameters: [
40761
+ {
40762
+ in: 'query',
40763
+ name: 'acs_user_id',
40764
+ schema: {
40765
+ description: 'ID of the access system user for which you want to retrieve all credentials.',
40766
+ format: 'uuid',
40767
+ type: 'string',
40768
+ },
40769
+ },
40770
+ {
40771
+ in: 'query',
40772
+ name: 'acs_system_id',
40773
+ schema: {
40774
+ description: 'ID of the access system for which you want to retrieve all credentials.',
40775
+ format: 'uuid',
40776
+ type: 'string',
40777
+ },
40778
+ },
40779
+ {
40780
+ in: 'query',
40781
+ name: 'user_identity_id',
40782
+ schema: {
40783
+ description: 'ID of the user identity for which you want to retrieve all credentials.',
40784
+ format: 'uuid',
40785
+ type: 'string',
40786
+ },
40787
+ },
40788
+ {
40789
+ in: 'query',
40790
+ name: 'search',
40791
+ schema: {
40792
+ description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40793
+ minLength: 1,
40794
+ type: 'string',
40795
+ },
40796
+ },
40797
+ ],
40729
40798
  responses: {
40730
40799
  '200': {
40731
40800
  content: {
@@ -40771,75 +40840,29 @@ const openapi = {
40771
40840
  content: {
40772
40841
  'application/json': {
40773
40842
  schema: {
40774
- allOf: [
40775
- {
40776
- oneOf: [
40777
- {
40778
- description: 'ID of the access system user for which you want to list unmanaged credentials.',
40779
- properties: {
40780
- acs_user_id: {
40781
- description: 'ID of the access system user for which you want to retrieve all credentials.',
40782
- format: 'uuid',
40783
- type: 'string',
40784
- },
40785
- },
40786
- required: ['acs_user_id'],
40787
- type: 'object',
40788
- },
40789
- {
40790
- description: 'ID of the access system for which you want to list unmanaged credentials.',
40791
- properties: {
40792
- acs_system_id: {
40793
- description: 'ID of the access system for which you want to retrieve all credentials.',
40794
- format: 'uuid',
40795
- type: 'string',
40796
- },
40797
- },
40798
- required: ['acs_system_id'],
40799
- type: 'object',
40800
- },
40801
- {
40802
- description: 'ID of the access system and ID of the access system user for which you want to list unmanaged credentials.',
40803
- properties: {
40804
- acs_system_id: {
40805
- description: 'ID of the access system for which you want to retrieve all credentials.',
40806
- format: 'uuid',
40807
- type: 'string',
40808
- },
40809
- acs_user_id: {
40810
- description: 'ID of the access system user for which you want to retrieve all credentials.',
40811
- format: 'uuid',
40812
- type: 'string',
40813
- },
40814
- },
40815
- required: ['acs_user_id', 'acs_system_id'],
40816
- type: 'object',
40817
- },
40818
- {
40819
- description: 'ID of the user identity for which you want to list unmanaged credentials.',
40820
- properties: {
40821
- user_identity_id: {
40822
- description: 'ID of the user identity for which you want to retrieve all credentials.',
40823
- format: 'uuid',
40824
- type: 'string',
40825
- },
40826
- },
40827
- required: ['user_identity_id'],
40828
- type: 'object',
40829
- },
40830
- ],
40843
+ properties: {
40844
+ acs_system_id: {
40845
+ description: 'ID of the access system for which you want to retrieve all credentials.',
40846
+ format: 'uuid',
40847
+ type: 'string',
40831
40848
  },
40832
- {
40833
- properties: {
40834
- search: {
40835
- description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40836
- minLength: 1,
40837
- type: 'string',
40838
- },
40839
- },
40840
- type: 'object',
40849
+ acs_user_id: {
40850
+ description: 'ID of the access system user for which you want to retrieve all credentials.',
40851
+ format: 'uuid',
40852
+ type: 'string',
40841
40853
  },
40842
- ],
40854
+ search: {
40855
+ description: 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
40856
+ minLength: 1,
40857
+ type: 'string',
40858
+ },
40859
+ user_identity_id: {
40860
+ description: 'ID of the user identity for which you want to retrieve all credentials.',
40861
+ format: 'uuid',
40862
+ type: 'string',
40863
+ },
40864
+ },
40865
+ type: 'object',
40843
40866
  },
40844
40867
  },
40845
40868
  },
@@ -41184,6 +41207,54 @@ const openapi = {
41184
41207
  get: {
41185
41208
  description: 'Returns a list of all [encoders](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).',
41186
41209
  operationId: 'acsEncodersListGet',
41210
+ parameters: [
41211
+ {
41212
+ in: 'query',
41213
+ name: 'acs_system_id',
41214
+ schema: {
41215
+ description: 'ID of the access system for which you want to retrieve all encoders.',
41216
+ format: 'uuid',
41217
+ type: 'string',
41218
+ },
41219
+ },
41220
+ {
41221
+ in: 'query',
41222
+ name: 'acs_system_ids',
41223
+ schema: {
41224
+ description: 'IDs of the access systems for which you want to retrieve all encoders.',
41225
+ items: { format: 'uuid', type: 'string' },
41226
+ type: 'array',
41227
+ },
41228
+ },
41229
+ {
41230
+ in: 'query',
41231
+ name: 'acs_encoder_ids',
41232
+ schema: {
41233
+ description: 'IDs of the encoders that you want to retrieve.',
41234
+ items: { format: 'uuid', type: 'string' },
41235
+ type: 'array',
41236
+ },
41237
+ },
41238
+ {
41239
+ in: 'query',
41240
+ name: 'limit',
41241
+ schema: {
41242
+ default: 500,
41243
+ description: 'Number of encoders to return.',
41244
+ format: 'float',
41245
+ type: 'number',
41246
+ },
41247
+ },
41248
+ {
41249
+ in: 'query',
41250
+ name: 'page_cursor',
41251
+ schema: {
41252
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
41253
+ nullable: true,
41254
+ type: 'string',
41255
+ },
41256
+ },
41257
+ ],
41187
41258
  responses: {
41188
41259
  '200': {
41189
41260
  content: {
@@ -41230,61 +41301,35 @@ const openapi = {
41230
41301
  content: {
41231
41302
  'application/json': {
41232
41303
  schema: {
41233
- allOf: [
41234
- {
41235
- oneOf: [
41236
- {
41237
- properties: {
41238
- acs_system_id: {
41239
- description: 'ID of the access system for which you want to retrieve all encoders.',
41240
- format: 'uuid',
41241
- type: 'string',
41242
- },
41243
- },
41244
- required: ['acs_system_id'],
41245
- type: 'object',
41246
- },
41247
- {
41248
- properties: {
41249
- acs_system_ids: {
41250
- description: 'IDs of the access systems for which you want to retrieve all encoders.',
41251
- items: { format: 'uuid', type: 'string' },
41252
- type: 'array',
41253
- },
41254
- },
41255
- required: ['acs_system_ids'],
41256
- type: 'object',
41257
- },
41258
- {
41259
- properties: {
41260
- acs_encoder_ids: {
41261
- description: 'IDs of the encoders that you want to retrieve.',
41262
- items: { format: 'uuid', type: 'string' },
41263
- type: 'array',
41264
- },
41265
- },
41266
- required: ['acs_encoder_ids'],
41267
- type: 'object',
41268
- },
41269
- ],
41304
+ properties: {
41305
+ acs_encoder_ids: {
41306
+ description: 'IDs of the encoders that you want to retrieve.',
41307
+ items: { format: 'uuid', type: 'string' },
41308
+ type: 'array',
41270
41309
  },
41271
- {
41272
- properties: {
41273
- limit: {
41274
- default: 500,
41275
- description: 'Number of encoders to return.',
41276
- format: 'float',
41277
- type: 'number',
41278
- },
41279
- page_cursor: {
41280
- description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
41281
- nullable: true,
41282
- type: 'string',
41283
- },
41284
- },
41285
- type: 'object',
41310
+ acs_system_id: {
41311
+ description: 'ID of the access system for which you want to retrieve all encoders.',
41312
+ format: 'uuid',
41313
+ type: 'string',
41286
41314
  },
41287
- ],
41315
+ acs_system_ids: {
41316
+ description: 'IDs of the access systems for which you want to retrieve all encoders.',
41317
+ items: { format: 'uuid', type: 'string' },
41318
+ type: 'array',
41319
+ },
41320
+ limit: {
41321
+ default: 500,
41322
+ description: 'Number of encoders to return.',
41323
+ format: 'float',
41324
+ type: 'number',
41325
+ },
41326
+ page_cursor: {
41327
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
41328
+ nullable: true,
41329
+ type: 'string',
41330
+ },
41331
+ },
41332
+ type: 'object',
41288
41333
  },
41289
41334
  },
41290
41335
  },
@@ -53929,12 +53974,7 @@ const openapi = {
53929
53974
  name: 'between',
53930
53975
  schema: {
53931
53976
  description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
53932
- items: {
53933
- oneOf: [
53934
- { type: 'string' },
53935
- { format: 'date-time', type: 'string' },
53936
- ],
53937
- },
53977
+ items: { type: 'string' },
53938
53978
  maxItems: 2,
53939
53979
  minItems: 2,
53940
53980
  type: 'array',
@@ -54501,12 +54541,7 @@ const openapi = {
54501
54541
  },
54502
54542
  between: {
54503
54543
  description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
54504
- items: {
54505
- oneOf: [
54506
- { type: 'string' },
54507
- { format: 'date-time', type: 'string' },
54508
- ],
54509
- },
54544
+ items: { type: 'string' },
54510
54545
  maxItems: 2,
54511
54546
  minItems: 2,
54512
54547
  type: 'array',
@@ -66636,12 +66671,7 @@ const openapi = {
66636
66671
  required: false,
66637
66672
  schema: {
66638
66673
  description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
66639
- items: {
66640
- oneOf: [
66641
- { type: 'string' },
66642
- { format: 'date-time', type: 'string' },
66643
- ],
66644
- },
66674
+ items: { type: 'string' },
66645
66675
  maxItems: 2,
66646
66676
  minItems: 2,
66647
66677
  type: 'array',
@@ -66947,12 +66977,7 @@ const openapi = {
66947
66977
  properties: {
66948
66978
  between: {
66949
66979
  description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
66950
- items: {
66951
- oneOf: [
66952
- { type: 'string' },
66953
- { format: 'date-time', type: 'string' },
66954
- ],
66955
- },
66980
+ items: { type: 'string' },
66956
66981
  maxItems: 2,
66957
66982
  minItems: 2,
66958
66983
  type: 'array',
@@ -69500,12 +69525,7 @@ const openapi = {
69500
69525
  name: 'between',
69501
69526
  schema: {
69502
69527
  description: 'Lower and upper timestamps to filter reservations whose time range overlaps with the given interval.',
69503
- items: {
69504
- oneOf: [
69505
- { type: 'string' },
69506
- { format: 'date-time', type: 'string' },
69507
- ],
69508
- },
69528
+ items: { type: 'string' },
69509
69529
  maxItems: 2,
69510
69530
  minItems: 2,
69511
69531
  type: 'array',
@@ -69772,12 +69792,7 @@ const openapi = {
69772
69792
  properties: {
69773
69793
  between: {
69774
69794
  description: 'Lower and upper timestamps to filter reservations whose time range overlaps with the given interval.',
69775
- items: {
69776
- oneOf: [
69777
- { type: 'string' },
69778
- { format: 'date-time', type: 'string' },
69779
- ],
69780
- },
69795
+ items: { type: 'string' },
69781
69796
  maxItems: 2,
69782
69797
  minItems: 2,
69783
69798
  type: 'array',