@seamapi/types 1.46.0 → 1.47.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 (30) hide show
  1. package/dist/connect.cjs +204 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +324 -10
  4. package/lib/seam/connect/openapi.d.ts +266 -0
  5. package/lib/seam/connect/openapi.js +204 -7
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +58 -10
  8. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
  9. package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
  10. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
  11. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  12. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  13. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  15. package/lib/seam/connect/unstable/models/acs/system.js +1 -0
  16. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
  18. package/lib/seam/connect/unstable/models/acs/user.js +5 -1
  19. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  20. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  21. package/lib/seam/connect/unstable/schemas.js +1 -1
  22. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/openapi.ts +204 -7
  25. package/src/lib/seam/connect/route-types.ts +78 -10
  26. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
  27. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  28. package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
  29. package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
  30. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
@@ -4953,6 +4953,47 @@ declare const _default: {
4953
4953
  'application/json': {
4954
4954
  schema: {
4955
4955
  properties: {
4956
+ acs_credential: {
4957
+ properties: {
4958
+ acs_credential_id: {
4959
+ format: string;
4960
+ type: string;
4961
+ };
4962
+ acs_system_id: {
4963
+ format: string;
4964
+ type: string;
4965
+ };
4966
+ acs_user_id: {
4967
+ format: string;
4968
+ type: string;
4969
+ };
4970
+ code: {
4971
+ nullable: boolean;
4972
+ type: string;
4973
+ };
4974
+ created_at: {
4975
+ format: string;
4976
+ type: string;
4977
+ };
4978
+ display_name: {
4979
+ minLength: number;
4980
+ type: string;
4981
+ };
4982
+ external_type: {
4983
+ enum: string[];
4984
+ type: string;
4985
+ };
4986
+ external_type_display_name: {
4987
+ type: string;
4988
+ };
4989
+ workspace_id: {
4990
+ format: string;
4991
+ type: string;
4992
+ };
4993
+ };
4994
+ required: string[];
4995
+ type: string;
4996
+ };
4956
4997
  ok: {
4957
4998
  type: string;
4958
4999
  };
@@ -5019,6 +5060,47 @@ declare const _default: {
5019
5060
  'application/json': {
5020
5061
  schema: {
5021
5062
  properties: {
5063
+ acs_credential: {
5064
+ properties: {
5065
+ acs_credential_id: {
5066
+ format: string;
5067
+ type: string;
5068
+ };
5069
+ acs_system_id: {
5070
+ format: string;
5071
+ type: string;
5072
+ };
5073
+ acs_user_id: {
5074
+ format: string;
5075
+ type: string;
5076
+ };
5077
+ code: {
5078
+ nullable: boolean;
5079
+ type: string;
5080
+ };
5081
+ created_at: {
5082
+ format: string;
5083
+ type: string;
5084
+ };
5085
+ display_name: {
5086
+ minLength: number;
5087
+ type: string;
5088
+ };
5089
+ external_type: {
5090
+ enum: string[];
5091
+ type: string;
5092
+ };
5093
+ external_type_display_name: {
5094
+ type: string;
5095
+ };
5096
+ workspace_id: {
5097
+ format: string;
5098
+ type: string;
5099
+ };
5100
+ };
5101
+ required: string[];
5102
+ type: string;
5103
+ };
5022
5104
  ok: {
5023
5105
  type: string;
5024
5106
  };
@@ -5059,6 +5141,190 @@ declare const _default: {
5059
5141
  'x-fern-sdk-method-name': string;
5060
5142
  };
5061
5143
  };
5144
+ '/acs/entrances/get': {
5145
+ post: {
5146
+ operationId: string;
5147
+ requestBody: {
5148
+ content: {
5149
+ 'application/json': {
5150
+ schema: {
5151
+ properties: {
5152
+ acs_entrance_id: {
5153
+ format: string;
5154
+ type: string;
5155
+ };
5156
+ };
5157
+ required: string[];
5158
+ type: string;
5159
+ };
5160
+ };
5161
+ };
5162
+ };
5163
+ responses: {
5164
+ 200: {
5165
+ content: {
5166
+ 'application/json': {
5167
+ schema: {
5168
+ properties: {
5169
+ acs_entrance: {
5170
+ properties: {
5171
+ acs_entrance_id: {
5172
+ format: string;
5173
+ type: string;
5174
+ };
5175
+ acs_system_id: {
5176
+ format: string;
5177
+ type: string;
5178
+ };
5179
+ created_at: {
5180
+ format: string;
5181
+ type: string;
5182
+ };
5183
+ display_name: {
5184
+ type: string;
5185
+ };
5186
+ };
5187
+ required: string[];
5188
+ type: string;
5189
+ };
5190
+ ok: {
5191
+ type: string;
5192
+ };
5193
+ };
5194
+ required: string[];
5195
+ type: string;
5196
+ };
5197
+ };
5198
+ };
5199
+ description: string;
5200
+ };
5201
+ 400: {
5202
+ description: string;
5203
+ };
5204
+ 401: {
5205
+ description: string;
5206
+ };
5207
+ };
5208
+ security: ({
5209
+ api_key: never[];
5210
+ access_token?: never;
5211
+ user_session?: never;
5212
+ client_session?: never;
5213
+ } | {
5214
+ access_token: never[];
5215
+ api_key?: never;
5216
+ user_session?: never;
5217
+ client_session?: never;
5218
+ } | {
5219
+ user_session: never[];
5220
+ api_key?: never;
5221
+ access_token?: never;
5222
+ client_session?: never;
5223
+ } | {
5224
+ client_session: never[];
5225
+ api_key?: never;
5226
+ access_token?: never;
5227
+ user_session?: never;
5228
+ })[];
5229
+ summary: string;
5230
+ tags: never[];
5231
+ 'x-fern-sdk-group-name': string[];
5232
+ 'x-fern-sdk-method-name': string;
5233
+ };
5234
+ };
5235
+ '/acs/entrances/list': {
5236
+ post: {
5237
+ operationId: string;
5238
+ requestBody: {
5239
+ content: {
5240
+ 'application/json': {
5241
+ schema: {
5242
+ properties: {
5243
+ acs_system_id: {
5244
+ format: string;
5245
+ type: string;
5246
+ };
5247
+ };
5248
+ type: string;
5249
+ };
5250
+ };
5251
+ };
5252
+ };
5253
+ responses: {
5254
+ 200: {
5255
+ content: {
5256
+ 'application/json': {
5257
+ schema: {
5258
+ properties: {
5259
+ acs_entrances: {
5260
+ items: {
5261
+ properties: {
5262
+ acs_entrance_id: {
5263
+ format: string;
5264
+ type: string;
5265
+ };
5266
+ acs_system_id: {
5267
+ format: string;
5268
+ type: string;
5269
+ };
5270
+ created_at: {
5271
+ format: string;
5272
+ type: string;
5273
+ };
5274
+ display_name: {
5275
+ type: string;
5276
+ };
5277
+ };
5278
+ required: string[];
5279
+ type: string;
5280
+ };
5281
+ type: string;
5282
+ };
5283
+ ok: {
5284
+ type: string;
5285
+ };
5286
+ };
5287
+ required: string[];
5288
+ type: string;
5289
+ };
5290
+ };
5291
+ };
5292
+ description: string;
5293
+ };
5294
+ 400: {
5295
+ description: string;
5296
+ };
5297
+ 401: {
5298
+ description: string;
5299
+ };
5300
+ };
5301
+ security: ({
5302
+ api_key: never[];
5303
+ access_token?: never;
5304
+ user_session?: never;
5305
+ client_session?: never;
5306
+ } | {
5307
+ access_token: never[];
5308
+ api_key?: never;
5309
+ user_session?: never;
5310
+ client_session?: never;
5311
+ } | {
5312
+ user_session: never[];
5313
+ api_key?: never;
5314
+ access_token?: never;
5315
+ client_session?: never;
5316
+ } | {
5317
+ client_session: never[];
5318
+ api_key?: never;
5319
+ access_token?: never;
5320
+ user_session?: never;
5321
+ })[];
5322
+ summary: string;
5323
+ tags: never[];
5324
+ 'x-fern-sdk-group-name': string[];
5325
+ 'x-fern-sdk-method-name': string;
5326
+ };
5327
+ };
5062
5328
  '/acs/systems/get': {
5063
5329
  post: {
5064
5330
  operationId: string;
@@ -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' },
@@ -3370,8 +3385,37 @@ export default {
3370
3385
  content: {
3371
3386
  'application/json': {
3372
3387
  schema: {
3373
- properties: { ok: { type: 'boolean' } },
3374
- required: ['ok'],
3388
+ properties: {
3389
+ acs_credential: {
3390
+ properties: {
3391
+ acs_credential_id: { format: 'uuid', type: 'string' },
3392
+ acs_system_id: { format: 'uuid', type: 'string' },
3393
+ acs_user_id: { format: 'uuid', type: 'string' },
3394
+ code: { nullable: true, type: 'string' },
3395
+ created_at: { format: 'date-time', type: 'string' },
3396
+ display_name: { minLength: 1, type: 'string' },
3397
+ external_type: {
3398
+ enum: ['pti_card', 'brivo_credential'],
3399
+ type: 'string',
3400
+ },
3401
+ external_type_display_name: { type: 'string' },
3402
+ workspace_id: { format: 'uuid', type: 'string' },
3403
+ },
3404
+ required: [
3405
+ 'acs_credential_id',
3406
+ 'acs_system_id',
3407
+ 'display_name',
3408
+ 'code',
3409
+ 'external_type',
3410
+ 'external_type_display_name',
3411
+ 'created_at',
3412
+ 'workspace_id',
3413
+ ],
3414
+ type: 'object',
3415
+ },
3416
+ ok: { type: 'boolean' },
3417
+ },
3418
+ required: ['acs_credential', 'ok'],
3375
3419
  type: 'object',
3376
3420
  },
3377
3421
  },
@@ -3411,8 +3455,37 @@ export default {
3411
3455
  content: {
3412
3456
  'application/json': {
3413
3457
  schema: {
3414
- properties: { ok: { type: 'boolean' } },
3415
- required: ['ok'],
3458
+ properties: {
3459
+ acs_credential: {
3460
+ properties: {
3461
+ acs_credential_id: { format: 'uuid', type: 'string' },
3462
+ acs_system_id: { format: 'uuid', type: 'string' },
3463
+ acs_user_id: { format: 'uuid', type: 'string' },
3464
+ code: { nullable: true, type: 'string' },
3465
+ created_at: { format: 'date-time', type: 'string' },
3466
+ display_name: { minLength: 1, type: 'string' },
3467
+ external_type: {
3468
+ enum: ['pti_card', 'brivo_credential'],
3469
+ type: 'string',
3470
+ },
3471
+ external_type_display_name: { type: 'string' },
3472
+ workspace_id: { format: 'uuid', type: 'string' },
3473
+ },
3474
+ required: [
3475
+ 'acs_credential_id',
3476
+ 'acs_system_id',
3477
+ 'display_name',
3478
+ 'code',
3479
+ 'external_type',
3480
+ 'external_type_display_name',
3481
+ 'created_at',
3482
+ 'workspace_id',
3483
+ ],
3484
+ type: 'object',
3485
+ },
3486
+ ok: { type: 'boolean' },
3487
+ },
3488
+ required: ['acs_credential', 'ok'],
3416
3489
  type: 'object',
3417
3490
  },
3418
3491
  },
@@ -3433,6 +3506,130 @@ export default {
3433
3506
  'x-fern-sdk-method-name': 'unassign',
3434
3507
  },
3435
3508
  },
3509
+ '/acs/entrances/get': {
3510
+ post: {
3511
+ operationId: 'acsEntrancesGetPost',
3512
+ requestBody: {
3513
+ content: {
3514
+ 'application/json': {
3515
+ schema: {
3516
+ properties: {
3517
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3518
+ },
3519
+ required: ['acs_entrance_id'],
3520
+ type: 'object',
3521
+ },
3522
+ },
3523
+ },
3524
+ },
3525
+ responses: {
3526
+ 200: {
3527
+ content: {
3528
+ 'application/json': {
3529
+ schema: {
3530
+ properties: {
3531
+ acs_entrance: {
3532
+ properties: {
3533
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3534
+ acs_system_id: { format: 'uuid', type: 'string' },
3535
+ created_at: { format: 'date-time', type: 'string' },
3536
+ display_name: { type: 'string' },
3537
+ },
3538
+ required: [
3539
+ 'acs_entrance_id',
3540
+ 'display_name',
3541
+ 'acs_system_id',
3542
+ 'created_at',
3543
+ ],
3544
+ type: 'object',
3545
+ },
3546
+ ok: { type: 'boolean' },
3547
+ },
3548
+ required: ['acs_entrance', 'ok'],
3549
+ type: 'object',
3550
+ },
3551
+ },
3552
+ },
3553
+ description: 'OK',
3554
+ },
3555
+ 400: { description: 'Bad Request' },
3556
+ 401: { description: 'Unauthorized' },
3557
+ },
3558
+ security: [
3559
+ { api_key: [] },
3560
+ { access_token: [] },
3561
+ { user_session: [] },
3562
+ { client_session: [] },
3563
+ ],
3564
+ summary: '/acs/entrances/get',
3565
+ tags: [],
3566
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3567
+ 'x-fern-sdk-method-name': 'get',
3568
+ },
3569
+ },
3570
+ '/acs/entrances/list': {
3571
+ post: {
3572
+ operationId: 'acsEntrancesListPost',
3573
+ requestBody: {
3574
+ content: {
3575
+ 'application/json': {
3576
+ schema: {
3577
+ properties: {
3578
+ acs_system_id: { format: 'uuid', type: 'string' },
3579
+ },
3580
+ type: 'object',
3581
+ },
3582
+ },
3583
+ },
3584
+ },
3585
+ responses: {
3586
+ 200: {
3587
+ content: {
3588
+ 'application/json': {
3589
+ schema: {
3590
+ properties: {
3591
+ acs_entrances: {
3592
+ items: {
3593
+ properties: {
3594
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3595
+ acs_system_id: { format: 'uuid', type: 'string' },
3596
+ created_at: { format: 'date-time', type: 'string' },
3597
+ display_name: { type: 'string' },
3598
+ },
3599
+ required: [
3600
+ 'acs_entrance_id',
3601
+ 'display_name',
3602
+ 'acs_system_id',
3603
+ 'created_at',
3604
+ ],
3605
+ type: 'object',
3606
+ },
3607
+ type: 'array',
3608
+ },
3609
+ ok: { type: 'boolean' },
3610
+ },
3611
+ required: ['acs_entrances', 'ok'],
3612
+ type: 'object',
3613
+ },
3614
+ },
3615
+ },
3616
+ description: 'OK',
3617
+ },
3618
+ 400: { description: 'Bad Request' },
3619
+ 401: { description: 'Unauthorized' },
3620
+ },
3621
+ security: [
3622
+ { api_key: [] },
3623
+ { access_token: [] },
3624
+ { user_session: [] },
3625
+ { client_session: [] },
3626
+ ],
3627
+ summary: '/acs/entrances/list',
3628
+ tags: [],
3629
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3630
+ 'x-fern-sdk-method-name': 'list',
3631
+ },
3632
+ },
3436
3633
  '/acs/systems/get': {
3437
3634
  post: {
3438
3635
  operationId: 'acsSystemsGetPost',