@seamapi/types 1.46.0 → 1.48.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 (34) hide show
  1. package/dist/connect.cjs +316 -35
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +445 -34
  4. package/lib/seam/connect/openapi.d.ts +371 -20
  5. package/lib/seam/connect/openapi.js +316 -35
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +74 -14
  8. package/lib/seam/connect/unstable/models/acs/credential.d.ts +4 -4
  9. package/lib/seam/connect/unstable/models/acs/credential.js +1 -0
  10. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
  12. package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
  13. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
  14. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  15. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  16. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  18. package/lib/seam/connect/unstable/models/acs/system.js +1 -0
  19. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
  21. package/lib/seam/connect/unstable/models/acs/user.js +5 -1
  22. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  23. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  24. package/lib/seam/connect/unstable/schemas.js +1 -1
  25. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/openapi.ts +316 -35
  28. package/src/lib/seam/connect/route-types.ts +94 -14
  29. package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -0
  30. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
  31. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  32. package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
  33. package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
  34. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
@@ -100,14 +100,26 @@ export default {
100
100
  connected_account_ids: { items: { type: 'string' }, type: 'array' },
101
101
  created_at: { format: 'date-time', type: 'string' },
102
102
  external_type: {
103
- enum: ['pti_site', 'alta_org', 'salto_site', 'brivo_system'],
103
+ enum: [
104
+ 'pti_site',
105
+ 'alta_org',
106
+ 'salto_site',
107
+ 'brivo_system',
108
+ 'hid_cm_org',
109
+ ],
104
110
  type: 'string',
105
111
  },
106
112
  external_type_display_name: { type: 'string' },
107
113
  name: { type: 'string' },
108
114
  system_type: {
109
115
  description: 'deprecated: use external_type',
110
- enum: ['pti_site', 'alta_org', 'salto_site', 'brivo_system'],
116
+ enum: [
117
+ 'pti_site',
118
+ 'alta_org',
119
+ 'salto_site',
120
+ 'brivo_system',
121
+ 'hid_cm_org',
122
+ ],
111
123
  type: 'string',
112
124
  },
113
125
  system_type_display_name: {
@@ -139,7 +151,10 @@ export default {
139
151
  type: 'string',
140
152
  },
141
153
  email_address: { format: 'email', type: 'string' },
142
- external_type: { enum: ['pti_user', 'brivo_user'], type: 'string' },
154
+ external_type: {
155
+ enum: ['pti_user', 'brivo_user', 'hid_cm_user'],
156
+ type: 'string',
157
+ },
143
158
  external_type_display_name: { type: 'string' },
144
159
  full_name: { type: 'string' },
145
160
  is_suspended: { type: 'boolean' },
@@ -1359,6 +1374,24 @@ export default {
1359
1374
  ],
1360
1375
  type: 'object',
1361
1376
  },
1377
+ device_provider: {
1378
+ properties: {
1379
+ device_provider_name: { type: 'string' },
1380
+ display_name: { type: 'string' },
1381
+ image_url: { type: 'string' },
1382
+ provider_categories: {
1383
+ items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1384
+ type: 'array',
1385
+ },
1386
+ },
1387
+ required: [
1388
+ 'device_provider_name',
1389
+ 'display_name',
1390
+ 'image_url',
1391
+ 'provider_categories',
1392
+ ],
1393
+ type: 'object',
1394
+ },
1362
1395
  event: {
1363
1396
  properties: {
1364
1397
  created_at: { format: 'date-time', type: 'string' },
@@ -3007,8 +3040,41 @@ export default {
3007
3040
  content: {
3008
3041
  'application/json': {
3009
3042
  schema: {
3010
- properties: { ok: { type: 'boolean' } },
3011
- required: ['ok'],
3043
+ properties: {
3044
+ acs_credential: {
3045
+ properties: {
3046
+ acs_credential_id: { format: 'uuid', type: 'string' },
3047
+ acs_system_id: { format: 'uuid', type: 'string' },
3048
+ acs_user_id: { format: 'uuid', type: 'string' },
3049
+ code: { nullable: true, type: 'string' },
3050
+ created_at: { format: 'date-time', type: 'string' },
3051
+ display_name: { minLength: 1, type: 'string' },
3052
+ external_type: {
3053
+ enum: [
3054
+ 'pti_card',
3055
+ 'brivo_credential',
3056
+ 'hid_cm_credential',
3057
+ ],
3058
+ type: 'string',
3059
+ },
3060
+ external_type_display_name: { type: 'string' },
3061
+ workspace_id: { format: 'uuid', type: 'string' },
3062
+ },
3063
+ required: [
3064
+ 'acs_credential_id',
3065
+ 'acs_system_id',
3066
+ 'display_name',
3067
+ 'code',
3068
+ 'external_type',
3069
+ 'external_type_display_name',
3070
+ 'created_at',
3071
+ 'workspace_id',
3072
+ ],
3073
+ type: 'object',
3074
+ },
3075
+ ok: { type: 'boolean' },
3076
+ },
3077
+ required: ['acs_credential', 'ok'],
3012
3078
  type: 'object',
3013
3079
  },
3014
3080
  },
@@ -3048,8 +3114,41 @@ export default {
3048
3114
  content: {
3049
3115
  'application/json': {
3050
3116
  schema: {
3051
- properties: { ok: { type: 'boolean' } },
3052
- required: ['ok'],
3117
+ properties: {
3118
+ acs_credential: {
3119
+ properties: {
3120
+ acs_credential_id: { format: 'uuid', type: 'string' },
3121
+ acs_system_id: { format: 'uuid', type: 'string' },
3122
+ acs_user_id: { format: 'uuid', type: 'string' },
3123
+ code: { nullable: true, type: 'string' },
3124
+ created_at: { format: 'date-time', type: 'string' },
3125
+ display_name: { minLength: 1, type: 'string' },
3126
+ external_type: {
3127
+ enum: [
3128
+ 'pti_card',
3129
+ 'brivo_credential',
3130
+ 'hid_cm_credential',
3131
+ ],
3132
+ type: 'string',
3133
+ },
3134
+ external_type_display_name: { type: 'string' },
3135
+ workspace_id: { format: 'uuid', type: 'string' },
3136
+ },
3137
+ required: [
3138
+ 'acs_credential_id',
3139
+ 'acs_system_id',
3140
+ 'display_name',
3141
+ 'code',
3142
+ 'external_type',
3143
+ 'external_type_display_name',
3144
+ 'created_at',
3145
+ 'workspace_id',
3146
+ ],
3147
+ type: 'object',
3148
+ },
3149
+ ok: { type: 'boolean' },
3150
+ },
3151
+ required: ['acs_credential', 'ok'],
3053
3152
  type: 'object',
3054
3153
  },
3055
3154
  },
@@ -3102,7 +3201,11 @@ export default {
3102
3201
  created_at: { format: 'date-time', type: 'string' },
3103
3202
  display_name: { minLength: 1, type: 'string' },
3104
3203
  external_type: {
3105
- enum: ['pti_card', 'brivo_credential'],
3204
+ enum: [
3205
+ 'pti_card',
3206
+ 'brivo_credential',
3207
+ 'hid_cm_credential',
3208
+ ],
3106
3209
  type: 'string',
3107
3210
  },
3108
3211
  external_type_display_name: { type: 'string' },
@@ -3217,7 +3320,11 @@ export default {
3217
3320
  created_at: { format: 'date-time', type: 'string' },
3218
3321
  display_name: { minLength: 1, type: 'string' },
3219
3322
  external_type: {
3220
- enum: ['pti_card', 'brivo_credential'],
3323
+ enum: [
3324
+ 'pti_card',
3325
+ 'brivo_credential',
3326
+ 'hid_cm_credential',
3327
+ ],
3221
3328
  type: 'string',
3222
3329
  },
3223
3330
  external_type_display_name: { type: 'string' },
@@ -3309,7 +3416,11 @@ export default {
3309
3416
  created_at: { format: 'date-time', type: 'string' },
3310
3417
  display_name: { minLength: 1, type: 'string' },
3311
3418
  external_type: {
3312
- enum: ['pti_card', 'brivo_credential'],
3419
+ enum: [
3420
+ 'pti_card',
3421
+ 'brivo_credential',
3422
+ 'hid_cm_credential',
3423
+ ],
3313
3424
  type: 'string',
3314
3425
  },
3315
3426
  external_type_display_name: { type: 'string' },
@@ -3374,8 +3485,41 @@ export default {
3374
3485
  content: {
3375
3486
  'application/json': {
3376
3487
  schema: {
3377
- properties: { ok: { type: 'boolean' } },
3378
- required: ['ok'],
3488
+ properties: {
3489
+ acs_credential: {
3490
+ properties: {
3491
+ acs_credential_id: { format: 'uuid', type: 'string' },
3492
+ acs_system_id: { format: 'uuid', type: 'string' },
3493
+ acs_user_id: { format: 'uuid', type: 'string' },
3494
+ code: { nullable: true, type: 'string' },
3495
+ created_at: { format: 'date-time', type: 'string' },
3496
+ display_name: { minLength: 1, type: 'string' },
3497
+ external_type: {
3498
+ enum: [
3499
+ 'pti_card',
3500
+ 'brivo_credential',
3501
+ 'hid_cm_credential',
3502
+ ],
3503
+ type: 'string',
3504
+ },
3505
+ external_type_display_name: { type: 'string' },
3506
+ workspace_id: { format: 'uuid', type: 'string' },
3507
+ },
3508
+ required: [
3509
+ 'acs_credential_id',
3510
+ 'acs_system_id',
3511
+ 'display_name',
3512
+ 'code',
3513
+ 'external_type',
3514
+ 'external_type_display_name',
3515
+ 'created_at',
3516
+ 'workspace_id',
3517
+ ],
3518
+ type: 'object',
3519
+ },
3520
+ ok: { type: 'boolean' },
3521
+ },
3522
+ required: ['acs_credential', 'ok'],
3379
3523
  type: 'object',
3380
3524
  },
3381
3525
  },
@@ -3415,8 +3559,41 @@ export default {
3415
3559
  content: {
3416
3560
  'application/json': {
3417
3561
  schema: {
3418
- properties: { ok: { type: 'boolean' } },
3419
- required: ['ok'],
3562
+ properties: {
3563
+ acs_credential: {
3564
+ properties: {
3565
+ acs_credential_id: { format: 'uuid', type: 'string' },
3566
+ acs_system_id: { format: 'uuid', type: 'string' },
3567
+ acs_user_id: { format: 'uuid', type: 'string' },
3568
+ code: { nullable: true, type: 'string' },
3569
+ created_at: { format: 'date-time', type: 'string' },
3570
+ display_name: { minLength: 1, type: 'string' },
3571
+ external_type: {
3572
+ enum: [
3573
+ 'pti_card',
3574
+ 'brivo_credential',
3575
+ 'hid_cm_credential',
3576
+ ],
3577
+ type: 'string',
3578
+ },
3579
+ external_type_display_name: { type: 'string' },
3580
+ workspace_id: { format: 'uuid', type: 'string' },
3581
+ },
3582
+ required: [
3583
+ 'acs_credential_id',
3584
+ 'acs_system_id',
3585
+ 'display_name',
3586
+ 'code',
3587
+ 'external_type',
3588
+ 'external_type_display_name',
3589
+ 'created_at',
3590
+ 'workspace_id',
3591
+ ],
3592
+ type: 'object',
3593
+ },
3594
+ ok: { type: 'boolean' },
3595
+ },
3596
+ required: ['acs_credential', 'ok'],
3420
3597
  type: 'object',
3421
3598
  },
3422
3599
  },
@@ -3437,6 +3614,130 @@ export default {
3437
3614
  'x-fern-sdk-method-name': 'unassign',
3438
3615
  },
3439
3616
  },
3617
+ '/acs/entrances/get': {
3618
+ post: {
3619
+ operationId: 'acsEntrancesGetPost',
3620
+ requestBody: {
3621
+ content: {
3622
+ 'application/json': {
3623
+ schema: {
3624
+ properties: {
3625
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3626
+ },
3627
+ required: ['acs_entrance_id'],
3628
+ type: 'object',
3629
+ },
3630
+ },
3631
+ },
3632
+ },
3633
+ responses: {
3634
+ 200: {
3635
+ content: {
3636
+ 'application/json': {
3637
+ schema: {
3638
+ properties: {
3639
+ acs_entrance: {
3640
+ properties: {
3641
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3642
+ acs_system_id: { format: 'uuid', type: 'string' },
3643
+ created_at: { format: 'date-time', type: 'string' },
3644
+ display_name: { type: 'string' },
3645
+ },
3646
+ required: [
3647
+ 'acs_entrance_id',
3648
+ 'display_name',
3649
+ 'acs_system_id',
3650
+ 'created_at',
3651
+ ],
3652
+ type: 'object',
3653
+ },
3654
+ ok: { type: 'boolean' },
3655
+ },
3656
+ required: ['acs_entrance', 'ok'],
3657
+ type: 'object',
3658
+ },
3659
+ },
3660
+ },
3661
+ description: 'OK',
3662
+ },
3663
+ 400: { description: 'Bad Request' },
3664
+ 401: { description: 'Unauthorized' },
3665
+ },
3666
+ security: [
3667
+ { api_key: [] },
3668
+ { access_token: [] },
3669
+ { user_session: [] },
3670
+ { client_session: [] },
3671
+ ],
3672
+ summary: '/acs/entrances/get',
3673
+ tags: [],
3674
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3675
+ 'x-fern-sdk-method-name': 'get',
3676
+ },
3677
+ },
3678
+ '/acs/entrances/list': {
3679
+ post: {
3680
+ operationId: 'acsEntrancesListPost',
3681
+ requestBody: {
3682
+ content: {
3683
+ 'application/json': {
3684
+ schema: {
3685
+ properties: {
3686
+ acs_system_id: { format: 'uuid', type: 'string' },
3687
+ },
3688
+ type: 'object',
3689
+ },
3690
+ },
3691
+ },
3692
+ },
3693
+ responses: {
3694
+ 200: {
3695
+ content: {
3696
+ 'application/json': {
3697
+ schema: {
3698
+ properties: {
3699
+ acs_entrances: {
3700
+ items: {
3701
+ properties: {
3702
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3703
+ acs_system_id: { format: 'uuid', type: 'string' },
3704
+ created_at: { format: 'date-time', type: 'string' },
3705
+ display_name: { type: 'string' },
3706
+ },
3707
+ required: [
3708
+ 'acs_entrance_id',
3709
+ 'display_name',
3710
+ 'acs_system_id',
3711
+ 'created_at',
3712
+ ],
3713
+ type: 'object',
3714
+ },
3715
+ type: 'array',
3716
+ },
3717
+ ok: { type: 'boolean' },
3718
+ },
3719
+ required: ['acs_entrances', 'ok'],
3720
+ type: 'object',
3721
+ },
3722
+ },
3723
+ },
3724
+ description: 'OK',
3725
+ },
3726
+ 400: { description: 'Bad Request' },
3727
+ 401: { description: 'Unauthorized' },
3728
+ },
3729
+ security: [
3730
+ { api_key: [] },
3731
+ { access_token: [] },
3732
+ { user_session: [] },
3733
+ { client_session: [] },
3734
+ ],
3735
+ summary: '/acs/entrances/list',
3736
+ tags: [],
3737
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3738
+ 'x-fern-sdk-method-name': 'list',
3739
+ },
3740
+ },
3440
3741
  '/acs/systems/get': {
3441
3742
  post: {
3442
3743
  operationId: 'acsSystemsGetPost',
@@ -5397,27 +5698,7 @@ export default {
5397
5698
  schema: {
5398
5699
  properties: {
5399
5700
  device_providers: {
5400
- items: {
5401
- properties: {
5402
- device_provider_name: { type: 'string' },
5403
- display_name: { type: 'string' },
5404
- image_url: { type: 'string' },
5405
- provider_categories: {
5406
- items: {
5407
- enum: ['stable', 'consumer_smartlocks'],
5408
- type: 'string',
5409
- },
5410
- type: 'array',
5411
- },
5412
- },
5413
- required: [
5414
- 'device_provider_name',
5415
- 'display_name',
5416
- 'image_url',
5417
- 'provider_categories',
5418
- ],
5419
- type: 'object',
5420
- },
5701
+ items: { $ref: '#/components/schemas/device_provider' },
5421
5702
  type: 'array',
5422
5703
  },
5423
5704
  ok: { type: 'boolean' },
@@ -587,7 +587,7 @@ export interface Routes {
587
587
  workspace_id: string
588
588
  created_at: string
589
589
  display_name: string
590
- external_type: 'pti_user' | 'brivo_user'
590
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user'
591
591
  external_type_display_name: string
592
592
  is_suspended: boolean
593
593
  full_name?: string | undefined
@@ -620,7 +620,19 @@ export interface Routes {
620
620
  }
621
621
  commonParams: {}
622
622
  formData: {}
623
- jsonResponse: {}
623
+ jsonResponse: {
624
+ acs_credential: {
625
+ acs_credential_id: string
626
+ acs_user_id?: string | undefined
627
+ acs_system_id: string
628
+ display_name: string
629
+ code: string | null
630
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential'
631
+ external_type_display_name: string
632
+ created_at: string
633
+ workspace_id: string
634
+ }
635
+ }
624
636
  }
625
637
  '/acs/credentials/create': {
626
638
  route: '/acs/credentials/create'
@@ -639,7 +651,7 @@ export interface Routes {
639
651
  acs_system_id: string
640
652
  display_name: string
641
653
  code: string | null
642
- external_type: 'pti_card' | 'brivo_credential'
654
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential'
643
655
  external_type_display_name: string
644
656
  created_at: string
645
657
  workspace_id: string
@@ -673,7 +685,7 @@ export interface Routes {
673
685
  acs_system_id: string
674
686
  display_name: string
675
687
  code: string | null
676
- external_type: 'pti_card' | 'brivo_credential'
688
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential'
677
689
  external_type_display_name: string
678
690
  created_at: string
679
691
  workspace_id: string
@@ -704,7 +716,7 @@ export interface Routes {
704
716
  acs_system_id: string
705
717
  display_name: string
706
718
  code: string | null
707
- external_type: 'pti_card' | 'brivo_credential'
719
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential'
708
720
  external_type_display_name: string
709
721
  created_at: string
710
722
  workspace_id: string
@@ -721,7 +733,55 @@ export interface Routes {
721
733
  }
722
734
  commonParams: {}
723
735
  formData: {}
724
- jsonResponse: {}
736
+ jsonResponse: {
737
+ acs_credential: {
738
+ acs_credential_id: string
739
+ acs_user_id?: string | undefined
740
+ acs_system_id: string
741
+ display_name: string
742
+ code: string | null
743
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential'
744
+ external_type_display_name: string
745
+ created_at: string
746
+ workspace_id: string
747
+ }
748
+ }
749
+ }
750
+ '/acs/entrances/get': {
751
+ route: '/acs/entrances/get'
752
+ method: 'GET' | 'POST'
753
+ queryParams: {}
754
+ jsonBody: {}
755
+ commonParams: {
756
+ acs_entrance_id: string
757
+ }
758
+ formData: {}
759
+ jsonResponse: {
760
+ acs_entrance: {
761
+ acs_entrance_id: string
762
+ display_name: string
763
+ acs_system_id: string
764
+ created_at: string
765
+ }
766
+ }
767
+ }
768
+ '/acs/entrances/list': {
769
+ route: '/acs/entrances/list'
770
+ method: 'GET' | 'POST'
771
+ queryParams: {}
772
+ jsonBody: {}
773
+ commonParams: {
774
+ acs_system_id?: string | undefined
775
+ }
776
+ formData: {}
777
+ jsonResponse: {
778
+ acs_entrances: Array<{
779
+ acs_entrance_id: string
780
+ display_name: string
781
+ acs_system_id: string
782
+ created_at: string
783
+ }>
784
+ }
725
785
  }
726
786
  '/acs/systems/get': {
727
787
  route: '/acs/systems/get'
@@ -735,10 +795,20 @@ export interface Routes {
735
795
  jsonResponse: {
736
796
  acs_system: {
737
797
  acs_system_id: string
738
- external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
798
+ external_type:
799
+ | 'pti_site'
800
+ | 'alta_org'
801
+ | 'salto_site'
802
+ | 'brivo_system'
803
+ | 'hid_cm_org'
739
804
  external_type_display_name: string
740
805
  /** deprecated: use external_type */
741
- system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
806
+ system_type:
807
+ | 'pti_site'
808
+ | 'alta_org'
809
+ | 'salto_site'
810
+ | 'brivo_system'
811
+ | 'hid_cm_org'
742
812
  /** deprecated: use external_type_display_name */
743
813
  system_type_display_name: string
744
814
  name: string
@@ -759,10 +829,20 @@ export interface Routes {
759
829
  jsonResponse: {
760
830
  acs_systems: Array<{
761
831
  acs_system_id: string
762
- external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
832
+ external_type:
833
+ | 'pti_site'
834
+ | 'alta_org'
835
+ | 'salto_site'
836
+ | 'brivo_system'
837
+ | 'hid_cm_org'
763
838
  external_type_display_name: string
764
839
  /** deprecated: use external_type */
765
- system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system'
840
+ system_type:
841
+ | 'pti_site'
842
+ | 'alta_org'
843
+ | 'salto_site'
844
+ | 'brivo_system'
845
+ | 'hid_cm_org'
766
846
  /** deprecated: use external_type_display_name */
767
847
  system_type_display_name: string
768
848
  name: string
@@ -805,7 +885,7 @@ export interface Routes {
805
885
  workspace_id: string
806
886
  created_at: string
807
887
  display_name: string
808
- external_type: 'pti_user' | 'brivo_user'
888
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user'
809
889
  external_type_display_name: string
810
890
  is_suspended: boolean
811
891
  full_name?: string | undefined
@@ -843,7 +923,7 @@ export interface Routes {
843
923
  workspace_id: string
844
924
  created_at: string
845
925
  display_name: string
846
- external_type: 'pti_user' | 'brivo_user'
926
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user'
847
927
  external_type_display_name: string
848
928
  is_suspended: boolean
849
929
  full_name?: string | undefined
@@ -870,7 +950,7 @@ export interface Routes {
870
950
  workspace_id: string
871
951
  created_at: string
872
952
  display_name: string
873
- external_type: 'pti_user' | 'brivo_user'
953
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user'
874
954
  external_type_display_name: string
875
955
  is_suspended: boolean
876
956
  full_name?: string | undefined
@@ -8203,7 +8283,7 @@ export interface Routes {
8203
8283
  workspace_id: string
8204
8284
  created_at: string
8205
8285
  display_name: string
8206
- external_type: 'pti_user' | 'brivo_user'
8286
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user'
8207
8287
  external_type_display_name: string
8208
8288
  is_suspended: boolean
8209
8289
  full_name?: string | undefined
@@ -3,6 +3,7 @@ import { z } from 'zod'
3
3
  export const acs_credential_external_type = z.enum([
4
4
  'pti_card',
5
5
  'brivo_credential',
6
+ 'hid_cm_credential',
6
7
  ])
7
8
 
8
9
  export type AcsCredentialExternalType = z.infer<
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod'
2
+
3
+ export const acs_entrance = z.object({
4
+ acs_entrance_id: z.string().uuid(),
5
+ display_name: z.string(),
6
+ acs_system_id: z.string().uuid(),
7
+ created_at: z.string().datetime(),
8
+ })
9
+
10
+ export type AcsEntrance = z.infer<typeof acs_entrance>
@@ -1,4 +1,5 @@
1
1
  export * from './access_group.js'
2
2
  export * from './credential.js'
3
+ export * from './entrance.js'
3
4
  export * from './system.js'
4
5
  export * from './user.js'
@@ -6,6 +6,7 @@ export const acs_system_external_type = z.enum([
6
6
  'alta_org',
7
7
  'salto_site',
8
8
  'brivo_system',
9
+ 'hid_cm_org',
9
10
  ])
10
11
 
11
12
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
@@ -1,6 +1,10 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const acs_user_external_type = z.enum(['pti_user', 'brivo_user'])
3
+ export const acs_user_external_type = z.enum([
4
+ 'pti_user',
5
+ 'brivo_user',
6
+ 'hid_cm_user',
7
+ ])
4
8
 
5
9
  export type AcsUserExternalType = z.infer<typeof acs_user_external_type>
6
10
 
@@ -4,6 +4,7 @@ export {
4
4
  acs_access_group_external_type,
5
5
  acs_credential,
6
6
  acs_credential_external_type,
7
+ acs_entrance,
7
8
  acs_system,
8
9
  acs_system_external_type,
9
10
  acs_user,