@seamapi/types 1.67.0 → 1.69.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 (37) hide show
  1. package/dist/connect.cjs +132 -34
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +205 -38
  4. package/dist/devicedb.cjs +6 -0
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +62 -0
  7. package/lib/seam/connect/openapi.d.ts +143 -11
  8. package/lib/seam/connect/openapi.js +120 -22
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +62 -27
  11. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +6 -6
  12. package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -7
  13. package/lib/seam/connect/unstable/models/acs/credential.js +3 -2
  14. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/acs/user.d.ts +18 -9
  16. package/lib/seam/connect/unstable/models/acs/user.js +2 -3
  17. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/schedule.d.ts +21 -0
  19. package/lib/seam/connect/unstable/models/schedule.js +12 -0
  20. package/lib/seam/connect/unstable/models/schedule.js.map +1 -0
  21. package/lib/seam/devicedb/public-models/device-model-v1.d.ts +10 -0
  22. package/lib/seam/devicedb/public-models/manufacturer.d.ts +4 -0
  23. package/lib/seam/devicedb/public-models/manufacturer.js +2 -0
  24. package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
  25. package/lib/seam/devicedb/route-specs.d.ts +42 -0
  26. package/lib/seam/devicedb/route-specs.js +8 -0
  27. package/lib/seam/devicedb/route-specs.js.map +1 -1
  28. package/lib/seam/devicedb/route-types.d.ts +6 -0
  29. package/package.json +1 -1
  30. package/src/lib/seam/connect/openapi.ts +120 -22
  31. package/src/lib/seam/connect/route-types.ts +121 -27
  32. package/src/lib/seam/connect/unstable/models/acs/credential.ts +3 -2
  33. package/src/lib/seam/connect/unstable/models/acs/user.ts +3 -3
  34. package/src/lib/seam/connect/unstable/models/schedule.ts +13 -0
  35. package/src/lib/seam/devicedb/public-models/manufacturer.ts +2 -0
  36. package/src/lib/seam/devicedb/route-specs.ts +8 -0
  37. package/src/lib/seam/devicedb/route-types.ts +30 -0
@@ -218,6 +218,14 @@ export default {
218
218
  },
219
219
  acs_user: {
220
220
  properties: {
221
+ access_schedule: {
222
+ properties: {
223
+ ends_at: { format: 'date-time', type: 'string' },
224
+ starts_at: { format: 'date-time', type: 'string' },
225
+ },
226
+ required: ['starts_at', 'ends_at'],
227
+ type: 'object',
228
+ },
221
229
  acs_system_id: { format: 'uuid', type: 'string' },
222
230
  acs_user_id: { format: 'uuid', type: 'string' },
223
231
  created_at: { format: 'date-time', type: 'string' },
@@ -228,7 +236,6 @@ export default {
228
236
  type: 'string',
229
237
  },
230
238
  email_address: { format: 'email', type: 'string' },
231
- ends_at: { format: 'date-time', type: 'string' },
232
239
  external_type: {
233
240
  enum: ['pti_user', 'brivo_user', 'hid_cm_user', 'salto_site_user'],
234
241
  type: 'string',
@@ -237,9 +244,7 @@ export default {
237
244
  full_name: { type: 'string' },
238
245
  hid_acs_system_id: { format: 'uuid', type: 'string' },
239
246
  is_suspended: { type: 'boolean' },
240
- is_virtual: { type: 'boolean' },
241
247
  phone_number: { nullable: true, type: 'string' },
242
- starts_at: { format: 'date-time', type: 'string' },
243
248
  workspace_id: { format: 'uuid', type: 'string' },
244
249
  },
245
250
  required: [
@@ -249,7 +254,6 @@ export default {
249
254
  'created_at',
250
255
  'display_name',
251
256
  'is_suspended',
252
- 'is_virtual',
253
257
  ],
254
258
  type: 'object',
255
259
  },
@@ -3597,6 +3601,7 @@ export default {
3597
3601
  'pti_card',
3598
3602
  'brivo_credential',
3599
3603
  'hid_credential',
3604
+ 'visionline_card',
3600
3605
  ],
3601
3606
  type: 'string',
3602
3607
  },
@@ -3608,8 +3613,6 @@ export default {
3608
3613
  'acs_system_id',
3609
3614
  'display_name',
3610
3615
  'access_method',
3611
- 'external_type',
3612
- 'external_type_display_name',
3613
3616
  'created_at',
3614
3617
  'workspace_id',
3615
3618
  ],
@@ -3679,6 +3682,7 @@ export default {
3679
3682
  'pti_card',
3680
3683
  'brivo_credential',
3681
3684
  'hid_credential',
3685
+ 'visionline_card',
3682
3686
  ],
3683
3687
  type: 'string',
3684
3688
  },
@@ -3690,8 +3694,6 @@ export default {
3690
3694
  'acs_system_id',
3691
3695
  'display_name',
3692
3696
  'access_method',
3693
- 'external_type',
3694
- 'external_type_display_name',
3695
3697
  'created_at',
3696
3698
  'workspace_id',
3697
3699
  ],
@@ -3733,7 +3735,23 @@ export default {
3733
3735
  type: 'string',
3734
3736
  },
3735
3737
  acs_user_id: { format: 'uuid', type: 'string' },
3738
+ assa_abloy_credential_service_mobile_endpoint_id: {
3739
+ format: 'uuid',
3740
+ type: 'string',
3741
+ },
3742
+ card_format: { enum: ['TLCode', 'rfid48'], type: 'string' },
3736
3743
  code: { pattern: '^\\d+$', type: 'string' },
3744
+ external_type: {
3745
+ enum: [
3746
+ 'pti_card',
3747
+ 'brivo_credential',
3748
+ 'hid_credential',
3749
+ 'visionline_card',
3750
+ ],
3751
+ type: 'string',
3752
+ },
3753
+ is_multi_phone_sync_credential: { type: 'boolean' },
3754
+ is_override_key: { type: 'boolean' },
3737
3755
  },
3738
3756
  required: ['acs_user_id', 'access_method'],
3739
3757
  type: 'object',
@@ -3768,6 +3786,7 @@ export default {
3768
3786
  'pti_card',
3769
3787
  'brivo_credential',
3770
3788
  'hid_credential',
3789
+ 'visionline_card',
3771
3790
  ],
3772
3791
  type: 'string',
3773
3792
  },
@@ -3779,8 +3798,6 @@ export default {
3779
3798
  'acs_system_id',
3780
3799
  'display_name',
3781
3800
  'access_method',
3782
- 'external_type',
3783
- 'external_type_display_name',
3784
3801
  'created_at',
3785
3802
  'workspace_id',
3786
3803
  ],
@@ -3895,6 +3912,7 @@ export default {
3895
3912
  'pti_card',
3896
3913
  'brivo_credential',
3897
3914
  'hid_credential',
3915
+ 'visionline_card',
3898
3916
  ],
3899
3917
  type: 'string',
3900
3918
  },
@@ -3906,8 +3924,6 @@ export default {
3906
3924
  'acs_system_id',
3907
3925
  'display_name',
3908
3926
  'access_method',
3909
- 'external_type',
3910
- 'external_type_display_name',
3911
3927
  'created_at',
3912
3928
  'workspace_id',
3913
3929
  ],
@@ -3999,6 +4015,7 @@ export default {
3999
4015
  'pti_card',
4000
4016
  'brivo_credential',
4001
4017
  'hid_credential',
4018
+ 'visionline_card',
4002
4019
  ],
4003
4020
  type: 'string',
4004
4021
  },
@@ -4010,8 +4027,6 @@ export default {
4010
4027
  'acs_system_id',
4011
4028
  'display_name',
4012
4029
  'access_method',
4013
- 'external_type',
4014
- 'external_type_display_name',
4015
4030
  'created_at',
4016
4031
  'workspace_id',
4017
4032
  ],
@@ -4087,6 +4102,7 @@ export default {
4087
4102
  'pti_card',
4088
4103
  'brivo_credential',
4089
4104
  'hid_credential',
4105
+ 'visionline_card',
4090
4106
  ],
4091
4107
  type: 'string',
4092
4108
  },
@@ -4098,8 +4114,6 @@ export default {
4098
4114
  'acs_system_id',
4099
4115
  'display_name',
4100
4116
  'access_method',
4101
- 'external_type',
4102
- 'external_type_display_name',
4103
4117
  'created_at',
4104
4118
  'workspace_id',
4105
4119
  ],
@@ -4169,6 +4183,7 @@ export default {
4169
4183
  'pti_card',
4170
4184
  'brivo_credential',
4171
4185
  'hid_credential',
4186
+ 'visionline_card',
4172
4187
  ],
4173
4188
  type: 'string',
4174
4189
  },
@@ -4180,8 +4195,6 @@ export default {
4180
4195
  'acs_system_id',
4181
4196
  'display_name',
4182
4197
  'access_method',
4183
- 'external_type',
4184
- 'external_type_display_name',
4185
4198
  'created_at',
4186
4199
  'workspace_id',
4187
4200
  ],
@@ -4254,6 +4267,7 @@ export default {
4254
4267
  'pti_card',
4255
4268
  'brivo_credential',
4256
4269
  'hid_credential',
4270
+ 'visionline_card',
4257
4271
  ],
4258
4272
  type: 'string',
4259
4273
  },
@@ -4265,8 +4279,6 @@ export default {
4265
4279
  'acs_system_id',
4266
4280
  'display_name',
4267
4281
  'access_method',
4268
- 'external_type',
4269
- 'external_type_display_name',
4270
4282
  'created_at',
4271
4283
  'workspace_id',
4272
4284
  ],
@@ -4336,6 +4348,7 @@ export default {
4336
4348
  'pti_card',
4337
4349
  'brivo_credential',
4338
4350
  'hid_credential',
4351
+ 'visionline_card',
4339
4352
  ],
4340
4353
  type: 'string',
4341
4354
  },
@@ -4347,8 +4360,6 @@ export default {
4347
4360
  'acs_system_id',
4348
4361
  'display_name',
4349
4362
  'access_method',
4350
- 'external_type',
4351
- 'external_type_display_name',
4352
4363
  'created_at',
4353
4364
  'workspace_id',
4354
4365
  ],
@@ -4734,6 +4745,7 @@ export default {
4734
4745
  email_address: { format: 'email', type: 'string' },
4735
4746
  full_name: { type: 'string' },
4736
4747
  phone_number: { nullable: true, type: 'string' },
4748
+ user_identity_id: { format: 'uuid', type: 'string' },
4737
4749
  },
4738
4750
  required: ['acs_system_id'],
4739
4751
  type: 'object',
@@ -9393,6 +9405,92 @@ export default {
9393
9405
  'x-fern-sdk-method-name': 'create',
9394
9406
  },
9395
9407
  },
9408
+ '/user_identities/enrollment_automations/launch': {
9409
+ post: {
9410
+ operationId: 'userIdentitiesEnrollmentAutomationsLaunchPost',
9411
+ requestBody: {
9412
+ content: {
9413
+ 'application/json': {
9414
+ schema: {
9415
+ properties: {
9416
+ acs_credential_pool_id: { format: 'uuid', type: 'string' },
9417
+ create_credential_manager_user: { type: 'boolean' },
9418
+ credential_manager_acs_system_id: {
9419
+ format: 'uuid',
9420
+ type: 'string',
9421
+ },
9422
+ credential_manager_acs_user_id: {
9423
+ format: 'uuid',
9424
+ type: 'string',
9425
+ },
9426
+ user_identity_id: { format: 'uuid', type: 'string' },
9427
+ },
9428
+ required: [
9429
+ 'user_identity_id',
9430
+ 'credential_manager_acs_system_id',
9431
+ ],
9432
+ type: 'object',
9433
+ },
9434
+ },
9435
+ },
9436
+ },
9437
+ responses: {
9438
+ 200: {
9439
+ content: {
9440
+ 'application/json': {
9441
+ schema: {
9442
+ properties: {
9443
+ enrollment_automation: {
9444
+ properties: {
9445
+ acs_credential_provisioning_automation_id: {
9446
+ format: 'uuid',
9447
+ type: 'string',
9448
+ },
9449
+ created_at: { format: 'date-time', type: 'string' },
9450
+ credential_manager_acs_system_id: {
9451
+ format: 'uuid',
9452
+ type: 'string',
9453
+ },
9454
+ enrollment_automation_id: {
9455
+ format: 'uuid',
9456
+ type: 'string',
9457
+ },
9458
+ user_identity_id: { format: 'uuid', type: 'string' },
9459
+ workspace_id: { format: 'uuid', type: 'string' },
9460
+ },
9461
+ required: [
9462
+ 'acs_credential_provisioning_automation_id',
9463
+ 'credential_manager_acs_system_id',
9464
+ 'user_identity_id',
9465
+ 'created_at',
9466
+ 'workspace_id',
9467
+ 'enrollment_automation_id',
9468
+ ],
9469
+ type: 'object',
9470
+ },
9471
+ ok: { type: 'boolean' },
9472
+ },
9473
+ required: ['enrollment_automation', 'ok'],
9474
+ type: 'object',
9475
+ },
9476
+ },
9477
+ },
9478
+ description: 'OK',
9479
+ },
9480
+ 400: { description: 'Bad Request' },
9481
+ 401: { description: 'Unauthorized' },
9482
+ },
9483
+ security: [
9484
+ { pat_with_workspace: [] },
9485
+ { console_session: [] },
9486
+ { api_key: [] },
9487
+ ],
9488
+ summary: '/user_identities/enrollment_automations/launch',
9489
+ tags: [],
9490
+ 'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
9491
+ 'x-fern-sdk-method-name': 'launch',
9492
+ },
9493
+ },
9396
9494
  '/user_identities/get': {
9397
9495
  post: {
9398
9496
  operationId: 'userIdentitiesGetPost',