@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' },
@@ -1355,6 +1370,24 @@ export default {
1355
1370
  ],
1356
1371
  type: 'object',
1357
1372
  },
1373
+ device_provider: {
1374
+ properties: {
1375
+ device_provider_name: { type: 'string' },
1376
+ display_name: { type: 'string' },
1377
+ image_url: { type: 'string' },
1378
+ provider_categories: {
1379
+ items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1380
+ type: 'array',
1381
+ },
1382
+ },
1383
+ required: [
1384
+ 'device_provider_name',
1385
+ 'display_name',
1386
+ 'image_url',
1387
+ 'provider_categories',
1388
+ ],
1389
+ type: 'object',
1390
+ },
1358
1391
  event: {
1359
1392
  properties: {
1360
1393
  created_at: { format: 'date-time', type: 'string' },
@@ -3003,8 +3036,41 @@ export default {
3003
3036
  content: {
3004
3037
  'application/json': {
3005
3038
  schema: {
3006
- properties: { ok: { type: 'boolean' } },
3007
- required: ['ok'],
3039
+ properties: {
3040
+ acs_credential: {
3041
+ properties: {
3042
+ acs_credential_id: { format: 'uuid', type: 'string' },
3043
+ acs_system_id: { format: 'uuid', type: 'string' },
3044
+ acs_user_id: { format: 'uuid', type: 'string' },
3045
+ code: { nullable: true, type: 'string' },
3046
+ created_at: { format: 'date-time', type: 'string' },
3047
+ display_name: { minLength: 1, type: 'string' },
3048
+ external_type: {
3049
+ enum: [
3050
+ 'pti_card',
3051
+ 'brivo_credential',
3052
+ 'hid_cm_credential',
3053
+ ],
3054
+ type: 'string',
3055
+ },
3056
+ external_type_display_name: { type: 'string' },
3057
+ workspace_id: { format: 'uuid', type: 'string' },
3058
+ },
3059
+ required: [
3060
+ 'acs_credential_id',
3061
+ 'acs_system_id',
3062
+ 'display_name',
3063
+ 'code',
3064
+ 'external_type',
3065
+ 'external_type_display_name',
3066
+ 'created_at',
3067
+ 'workspace_id',
3068
+ ],
3069
+ type: 'object',
3070
+ },
3071
+ ok: { type: 'boolean' },
3072
+ },
3073
+ required: ['acs_credential', 'ok'],
3008
3074
  type: 'object',
3009
3075
  },
3010
3076
  },
@@ -3044,8 +3110,41 @@ export default {
3044
3110
  content: {
3045
3111
  'application/json': {
3046
3112
  schema: {
3047
- properties: { ok: { type: 'boolean' } },
3048
- required: ['ok'],
3113
+ properties: {
3114
+ acs_credential: {
3115
+ properties: {
3116
+ acs_credential_id: { format: 'uuid', type: 'string' },
3117
+ acs_system_id: { format: 'uuid', type: 'string' },
3118
+ acs_user_id: { format: 'uuid', type: 'string' },
3119
+ code: { nullable: true, type: 'string' },
3120
+ created_at: { format: 'date-time', type: 'string' },
3121
+ display_name: { minLength: 1, type: 'string' },
3122
+ external_type: {
3123
+ enum: [
3124
+ 'pti_card',
3125
+ 'brivo_credential',
3126
+ 'hid_cm_credential',
3127
+ ],
3128
+ type: 'string',
3129
+ },
3130
+ external_type_display_name: { type: 'string' },
3131
+ workspace_id: { format: 'uuid', type: 'string' },
3132
+ },
3133
+ required: [
3134
+ 'acs_credential_id',
3135
+ 'acs_system_id',
3136
+ 'display_name',
3137
+ 'code',
3138
+ 'external_type',
3139
+ 'external_type_display_name',
3140
+ 'created_at',
3141
+ 'workspace_id',
3142
+ ],
3143
+ type: 'object',
3144
+ },
3145
+ ok: { type: 'boolean' },
3146
+ },
3147
+ required: ['acs_credential', 'ok'],
3049
3148
  type: 'object',
3050
3149
  },
3051
3150
  },
@@ -3098,7 +3197,11 @@ export default {
3098
3197
  created_at: { format: 'date-time', type: 'string' },
3099
3198
  display_name: { minLength: 1, type: 'string' },
3100
3199
  external_type: {
3101
- enum: ['pti_card', 'brivo_credential'],
3200
+ enum: [
3201
+ 'pti_card',
3202
+ 'brivo_credential',
3203
+ 'hid_cm_credential',
3204
+ ],
3102
3205
  type: 'string',
3103
3206
  },
3104
3207
  external_type_display_name: { type: 'string' },
@@ -3213,7 +3316,11 @@ export default {
3213
3316
  created_at: { format: 'date-time', type: 'string' },
3214
3317
  display_name: { minLength: 1, type: 'string' },
3215
3318
  external_type: {
3216
- enum: ['pti_card', 'brivo_credential'],
3319
+ enum: [
3320
+ 'pti_card',
3321
+ 'brivo_credential',
3322
+ 'hid_cm_credential',
3323
+ ],
3217
3324
  type: 'string',
3218
3325
  },
3219
3326
  external_type_display_name: { type: 'string' },
@@ -3305,7 +3412,11 @@ export default {
3305
3412
  created_at: { format: 'date-time', type: 'string' },
3306
3413
  display_name: { minLength: 1, type: 'string' },
3307
3414
  external_type: {
3308
- enum: ['pti_card', 'brivo_credential'],
3415
+ enum: [
3416
+ 'pti_card',
3417
+ 'brivo_credential',
3418
+ 'hid_cm_credential',
3419
+ ],
3309
3420
  type: 'string',
3310
3421
  },
3311
3422
  external_type_display_name: { type: 'string' },
@@ -3370,8 +3481,41 @@ export default {
3370
3481
  content: {
3371
3482
  'application/json': {
3372
3483
  schema: {
3373
- properties: { ok: { type: 'boolean' } },
3374
- required: ['ok'],
3484
+ properties: {
3485
+ acs_credential: {
3486
+ properties: {
3487
+ acs_credential_id: { format: 'uuid', type: 'string' },
3488
+ acs_system_id: { format: 'uuid', type: 'string' },
3489
+ acs_user_id: { format: 'uuid', type: 'string' },
3490
+ code: { nullable: true, type: 'string' },
3491
+ created_at: { format: 'date-time', type: 'string' },
3492
+ display_name: { minLength: 1, type: 'string' },
3493
+ external_type: {
3494
+ enum: [
3495
+ 'pti_card',
3496
+ 'brivo_credential',
3497
+ 'hid_cm_credential',
3498
+ ],
3499
+ type: 'string',
3500
+ },
3501
+ external_type_display_name: { type: 'string' },
3502
+ workspace_id: { format: 'uuid', type: 'string' },
3503
+ },
3504
+ required: [
3505
+ 'acs_credential_id',
3506
+ 'acs_system_id',
3507
+ 'display_name',
3508
+ 'code',
3509
+ 'external_type',
3510
+ 'external_type_display_name',
3511
+ 'created_at',
3512
+ 'workspace_id',
3513
+ ],
3514
+ type: 'object',
3515
+ },
3516
+ ok: { type: 'boolean' },
3517
+ },
3518
+ required: ['acs_credential', 'ok'],
3375
3519
  type: 'object',
3376
3520
  },
3377
3521
  },
@@ -3411,8 +3555,41 @@ export default {
3411
3555
  content: {
3412
3556
  'application/json': {
3413
3557
  schema: {
3414
- properties: { ok: { type: 'boolean' } },
3415
- required: ['ok'],
3558
+ properties: {
3559
+ acs_credential: {
3560
+ properties: {
3561
+ acs_credential_id: { format: 'uuid', type: 'string' },
3562
+ acs_system_id: { format: 'uuid', type: 'string' },
3563
+ acs_user_id: { format: 'uuid', type: 'string' },
3564
+ code: { nullable: true, type: 'string' },
3565
+ created_at: { format: 'date-time', type: 'string' },
3566
+ display_name: { minLength: 1, type: 'string' },
3567
+ external_type: {
3568
+ enum: [
3569
+ 'pti_card',
3570
+ 'brivo_credential',
3571
+ 'hid_cm_credential',
3572
+ ],
3573
+ type: 'string',
3574
+ },
3575
+ external_type_display_name: { type: 'string' },
3576
+ workspace_id: { format: 'uuid', type: 'string' },
3577
+ },
3578
+ required: [
3579
+ 'acs_credential_id',
3580
+ 'acs_system_id',
3581
+ 'display_name',
3582
+ 'code',
3583
+ 'external_type',
3584
+ 'external_type_display_name',
3585
+ 'created_at',
3586
+ 'workspace_id',
3587
+ ],
3588
+ type: 'object',
3589
+ },
3590
+ ok: { type: 'boolean' },
3591
+ },
3592
+ required: ['acs_credential', 'ok'],
3416
3593
  type: 'object',
3417
3594
  },
3418
3595
  },
@@ -3433,6 +3610,130 @@ export default {
3433
3610
  'x-fern-sdk-method-name': 'unassign',
3434
3611
  },
3435
3612
  },
3613
+ '/acs/entrances/get': {
3614
+ post: {
3615
+ operationId: 'acsEntrancesGetPost',
3616
+ requestBody: {
3617
+ content: {
3618
+ 'application/json': {
3619
+ schema: {
3620
+ properties: {
3621
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3622
+ },
3623
+ required: ['acs_entrance_id'],
3624
+ type: 'object',
3625
+ },
3626
+ },
3627
+ },
3628
+ },
3629
+ responses: {
3630
+ 200: {
3631
+ content: {
3632
+ 'application/json': {
3633
+ schema: {
3634
+ properties: {
3635
+ acs_entrance: {
3636
+ properties: {
3637
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3638
+ acs_system_id: { format: 'uuid', type: 'string' },
3639
+ created_at: { format: 'date-time', type: 'string' },
3640
+ display_name: { type: 'string' },
3641
+ },
3642
+ required: [
3643
+ 'acs_entrance_id',
3644
+ 'display_name',
3645
+ 'acs_system_id',
3646
+ 'created_at',
3647
+ ],
3648
+ type: 'object',
3649
+ },
3650
+ ok: { type: 'boolean' },
3651
+ },
3652
+ required: ['acs_entrance', 'ok'],
3653
+ type: 'object',
3654
+ },
3655
+ },
3656
+ },
3657
+ description: 'OK',
3658
+ },
3659
+ 400: { description: 'Bad Request' },
3660
+ 401: { description: 'Unauthorized' },
3661
+ },
3662
+ security: [
3663
+ { api_key: [] },
3664
+ { access_token: [] },
3665
+ { user_session: [] },
3666
+ { client_session: [] },
3667
+ ],
3668
+ summary: '/acs/entrances/get',
3669
+ tags: [],
3670
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3671
+ 'x-fern-sdk-method-name': 'get',
3672
+ },
3673
+ },
3674
+ '/acs/entrances/list': {
3675
+ post: {
3676
+ operationId: 'acsEntrancesListPost',
3677
+ requestBody: {
3678
+ content: {
3679
+ 'application/json': {
3680
+ schema: {
3681
+ properties: {
3682
+ acs_system_id: { format: 'uuid', type: 'string' },
3683
+ },
3684
+ type: 'object',
3685
+ },
3686
+ },
3687
+ },
3688
+ },
3689
+ responses: {
3690
+ 200: {
3691
+ content: {
3692
+ 'application/json': {
3693
+ schema: {
3694
+ properties: {
3695
+ acs_entrances: {
3696
+ items: {
3697
+ properties: {
3698
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3699
+ acs_system_id: { format: 'uuid', type: 'string' },
3700
+ created_at: { format: 'date-time', type: 'string' },
3701
+ display_name: { type: 'string' },
3702
+ },
3703
+ required: [
3704
+ 'acs_entrance_id',
3705
+ 'display_name',
3706
+ 'acs_system_id',
3707
+ 'created_at',
3708
+ ],
3709
+ type: 'object',
3710
+ },
3711
+ type: 'array',
3712
+ },
3713
+ ok: { type: 'boolean' },
3714
+ },
3715
+ required: ['acs_entrances', 'ok'],
3716
+ type: 'object',
3717
+ },
3718
+ },
3719
+ },
3720
+ description: 'OK',
3721
+ },
3722
+ 400: { description: 'Bad Request' },
3723
+ 401: { description: 'Unauthorized' },
3724
+ },
3725
+ security: [
3726
+ { api_key: [] },
3727
+ { access_token: [] },
3728
+ { user_session: [] },
3729
+ { client_session: [] },
3730
+ ],
3731
+ summary: '/acs/entrances/list',
3732
+ tags: [],
3733
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3734
+ 'x-fern-sdk-method-name': 'list',
3735
+ },
3736
+ },
3436
3737
  '/acs/systems/get': {
3437
3738
  post: {
3438
3739
  operationId: 'acsSystemsGetPost',
@@ -5392,27 +5693,7 @@ export default {
5392
5693
  schema: {
5393
5694
  properties: {
5394
5695
  device_providers: {
5395
- items: {
5396
- properties: {
5397
- device_provider_name: { type: 'string' },
5398
- display_name: { type: 'string' },
5399
- image_url: { type: 'string' },
5400
- provider_categories: {
5401
- items: {
5402
- enum: ['stable', 'consumer_smartlocks'],
5403
- type: 'string',
5404
- },
5405
- type: 'array',
5406
- },
5407
- },
5408
- required: [
5409
- 'device_provider_name',
5410
- 'display_name',
5411
- 'image_url',
5412
- 'provider_categories',
5413
- ],
5414
- type: 'object',
5415
- },
5696
+ items: { $ref: '#/components/schemas/device_provider' },
5416
5697
  type: 'array',
5417
5698
  },
5418
5699
  ok: { type: 'boolean' },