@seamapi/types 1.106.0 → 1.108.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.
@@ -3816,6 +3816,17 @@ export default {
3816
3816
  created_at: { format: 'date-time', type: 'string' },
3817
3817
  display_name: { minLength: 1, type: 'string' },
3818
3818
  ends_at: { type: 'string' },
3819
+ errors: {
3820
+ items: {
3821
+ properties: {
3822
+ error_code: { type: 'string' },
3823
+ message: { type: 'string' },
3824
+ },
3825
+ required: ['error_code', 'message'],
3826
+ type: 'object',
3827
+ },
3828
+ type: 'array',
3829
+ },
3819
3830
  external_type: {
3820
3831
  enum: [
3821
3832
  'pti_card',
@@ -3849,6 +3860,17 @@ export default {
3849
3860
  },
3850
3861
  type: 'object',
3851
3862
  },
3863
+ warnings: {
3864
+ items: {
3865
+ properties: {
3866
+ message: { type: 'string' },
3867
+ warning_code: { type: 'string' },
3868
+ },
3869
+ required: ['warning_code', 'message'],
3870
+ type: 'object',
3871
+ },
3872
+ type: 'array',
3873
+ },
3852
3874
  workspace_id: { format: 'uuid', type: 'string' },
3853
3875
  },
3854
3876
  required: [
@@ -3858,6 +3880,8 @@ export default {
3858
3880
  'access_method',
3859
3881
  'created_at',
3860
3882
  'workspace_id',
3883
+ 'errors',
3884
+ 'warnings',
3861
3885
  ],
3862
3886
  type: 'object',
3863
3887
  },
@@ -3921,6 +3945,17 @@ export default {
3921
3945
  created_at: { format: 'date-time', type: 'string' },
3922
3946
  display_name: { minLength: 1, type: 'string' },
3923
3947
  ends_at: { type: 'string' },
3948
+ errors: {
3949
+ items: {
3950
+ properties: {
3951
+ error_code: { type: 'string' },
3952
+ message: { type: 'string' },
3953
+ },
3954
+ required: ['error_code', 'message'],
3955
+ type: 'object',
3956
+ },
3957
+ type: 'array',
3958
+ },
3924
3959
  external_type: {
3925
3960
  enum: [
3926
3961
  'pti_card',
@@ -3954,6 +3989,17 @@ export default {
3954
3989
  },
3955
3990
  type: 'object',
3956
3991
  },
3992
+ warnings: {
3993
+ items: {
3994
+ properties: {
3995
+ message: { type: 'string' },
3996
+ warning_code: { type: 'string' },
3997
+ },
3998
+ required: ['warning_code', 'message'],
3999
+ type: 'object',
4000
+ },
4001
+ type: 'array',
4002
+ },
3957
4003
  workspace_id: { format: 'uuid', type: 'string' },
3958
4004
  },
3959
4005
  required: [
@@ -3963,6 +4009,8 @@ export default {
3963
4009
  'access_method',
3964
4010
  'created_at',
3965
4011
  'workspace_id',
4012
+ 'errors',
4013
+ 'warnings',
3966
4014
  ],
3967
4015
  type: 'object',
3968
4016
  },
@@ -4004,16 +4052,11 @@ export default {
4004
4052
  acs_user_id: { format: 'uuid', type: 'string' },
4005
4053
  code: { pattern: '^\\d+$', type: 'string' },
4006
4054
  ends_at: { format: 'date-time', type: 'string' },
4007
- external_type: {
4008
- enum: [
4009
- 'pti_card',
4010
- 'brivo_credential',
4011
- 'hid_credential',
4012
- 'visionline_card',
4013
- ],
4014
- type: 'string',
4055
+ external_type: { enum: ['visionline_card'], type: 'string' },
4056
+ is_multi_phone_sync_credential: {
4057
+ default: false,
4058
+ type: 'boolean',
4015
4059
  },
4016
- is_multi_phone_sync_credential: { type: 'boolean' },
4017
4060
  starts_at: { format: 'date-time', type: 'string' },
4018
4061
  visionline_metadata: {
4019
4062
  properties: {
@@ -4063,6 +4106,17 @@ export default {
4063
4106
  created_at: { format: 'date-time', type: 'string' },
4064
4107
  display_name: { minLength: 1, type: 'string' },
4065
4108
  ends_at: { type: 'string' },
4109
+ errors: {
4110
+ items: {
4111
+ properties: {
4112
+ error_code: { type: 'string' },
4113
+ message: { type: 'string' },
4114
+ },
4115
+ required: ['error_code', 'message'],
4116
+ type: 'object',
4117
+ },
4118
+ type: 'array',
4119
+ },
4066
4120
  external_type: {
4067
4121
  enum: [
4068
4122
  'pti_card',
@@ -4096,6 +4150,17 @@ export default {
4096
4150
  },
4097
4151
  type: 'object',
4098
4152
  },
4153
+ warnings: {
4154
+ items: {
4155
+ properties: {
4156
+ message: { type: 'string' },
4157
+ warning_code: { type: 'string' },
4158
+ },
4159
+ required: ['warning_code', 'message'],
4160
+ type: 'object',
4161
+ },
4162
+ type: 'array',
4163
+ },
4099
4164
  workspace_id: { format: 'uuid', type: 'string' },
4100
4165
  },
4101
4166
  required: [
@@ -4105,6 +4170,8 @@ export default {
4105
4170
  'access_method',
4106
4171
  'created_at',
4107
4172
  'workspace_id',
4173
+ 'errors',
4174
+ 'warnings',
4108
4175
  ],
4109
4176
  type: 'object',
4110
4177
  },
@@ -4213,6 +4280,17 @@ export default {
4213
4280
  created_at: { format: 'date-time', type: 'string' },
4214
4281
  display_name: { minLength: 1, type: 'string' },
4215
4282
  ends_at: { type: 'string' },
4283
+ errors: {
4284
+ items: {
4285
+ properties: {
4286
+ error_code: { type: 'string' },
4287
+ message: { type: 'string' },
4288
+ },
4289
+ required: ['error_code', 'message'],
4290
+ type: 'object',
4291
+ },
4292
+ type: 'array',
4293
+ },
4216
4294
  external_type: {
4217
4295
  enum: [
4218
4296
  'pti_card',
@@ -4246,6 +4324,17 @@ export default {
4246
4324
  },
4247
4325
  type: 'object',
4248
4326
  },
4327
+ warnings: {
4328
+ items: {
4329
+ properties: {
4330
+ message: { type: 'string' },
4331
+ warning_code: { type: 'string' },
4332
+ },
4333
+ required: ['warning_code', 'message'],
4334
+ type: 'object',
4335
+ },
4336
+ type: 'array',
4337
+ },
4249
4338
  workspace_id: { format: 'uuid', type: 'string' },
4250
4339
  },
4251
4340
  required: [
@@ -4255,6 +4344,8 @@ export default {
4255
4344
  'access_method',
4256
4345
  'created_at',
4257
4346
  'workspace_id',
4347
+ 'errors',
4348
+ 'warnings',
4258
4349
  ],
4259
4350
  type: 'object',
4260
4351
  },
@@ -4347,6 +4438,17 @@ export default {
4347
4438
  created_at: { format: 'date-time', type: 'string' },
4348
4439
  display_name: { minLength: 1, type: 'string' },
4349
4440
  ends_at: { type: 'string' },
4441
+ errors: {
4442
+ items: {
4443
+ properties: {
4444
+ error_code: { type: 'string' },
4445
+ message: { type: 'string' },
4446
+ },
4447
+ required: ['error_code', 'message'],
4448
+ type: 'object',
4449
+ },
4450
+ type: 'array',
4451
+ },
4350
4452
  external_type: {
4351
4453
  enum: [
4352
4454
  'pti_card',
@@ -4380,6 +4482,17 @@ export default {
4380
4482
  },
4381
4483
  type: 'object',
4382
4484
  },
4485
+ warnings: {
4486
+ items: {
4487
+ properties: {
4488
+ message: { type: 'string' },
4489
+ warning_code: { type: 'string' },
4490
+ },
4491
+ required: ['warning_code', 'message'],
4492
+ type: 'object',
4493
+ },
4494
+ type: 'array',
4495
+ },
4383
4496
  workspace_id: { format: 'uuid', type: 'string' },
4384
4497
  },
4385
4498
  required: [
@@ -4389,6 +4502,8 @@ export default {
4389
4502
  'access_method',
4390
4503
  'created_at',
4391
4504
  'workspace_id',
4505
+ 'errors',
4506
+ 'warnings',
4392
4507
  ],
4393
4508
  type: 'object',
4394
4509
  },
@@ -4458,6 +4573,17 @@ export default {
4458
4573
  created_at: { format: 'date-time', type: 'string' },
4459
4574
  display_name: { minLength: 1, type: 'string' },
4460
4575
  ends_at: { type: 'string' },
4576
+ errors: {
4577
+ items: {
4578
+ properties: {
4579
+ error_code: { type: 'string' },
4580
+ message: { type: 'string' },
4581
+ },
4582
+ required: ['error_code', 'message'],
4583
+ type: 'object',
4584
+ },
4585
+ type: 'array',
4586
+ },
4461
4587
  external_type: {
4462
4588
  enum: [
4463
4589
  'pti_card',
@@ -4491,6 +4617,17 @@ export default {
4491
4617
  },
4492
4618
  type: 'object',
4493
4619
  },
4620
+ warnings: {
4621
+ items: {
4622
+ properties: {
4623
+ message: { type: 'string' },
4624
+ warning_code: { type: 'string' },
4625
+ },
4626
+ required: ['warning_code', 'message'],
4627
+ type: 'object',
4628
+ },
4629
+ type: 'array',
4630
+ },
4494
4631
  workspace_id: { format: 'uuid', type: 'string' },
4495
4632
  },
4496
4633
  required: [
@@ -4500,6 +4637,8 @@ export default {
4500
4637
  'access_method',
4501
4638
  'created_at',
4502
4639
  'workspace_id',
4640
+ 'errors',
4641
+ 'warnings',
4503
4642
  ],
4504
4643
  type: 'object',
4505
4644
  },
@@ -4563,6 +4702,17 @@ export default {
4563
4702
  created_at: { format: 'date-time', type: 'string' },
4564
4703
  display_name: { minLength: 1, type: 'string' },
4565
4704
  ends_at: { type: 'string' },
4705
+ errors: {
4706
+ items: {
4707
+ properties: {
4708
+ error_code: { type: 'string' },
4709
+ message: { type: 'string' },
4710
+ },
4711
+ required: ['error_code', 'message'],
4712
+ type: 'object',
4713
+ },
4714
+ type: 'array',
4715
+ },
4566
4716
  external_type: {
4567
4717
  enum: [
4568
4718
  'pti_card',
@@ -4596,6 +4746,17 @@ export default {
4596
4746
  },
4597
4747
  type: 'object',
4598
4748
  },
4749
+ warnings: {
4750
+ items: {
4751
+ properties: {
4752
+ message: { type: 'string' },
4753
+ warning_code: { type: 'string' },
4754
+ },
4755
+ required: ['warning_code', 'message'],
4756
+ type: 'object',
4757
+ },
4758
+ type: 'array',
4759
+ },
4599
4760
  workspace_id: { format: 'uuid', type: 'string' },
4600
4761
  },
4601
4762
  required: [
@@ -4605,6 +4766,8 @@ export default {
4605
4766
  'access_method',
4606
4767
  'created_at',
4607
4768
  'workspace_id',
4769
+ 'errors',
4770
+ 'warnings',
4608
4771
  ],
4609
4772
  type: 'object',
4610
4773
  },
@@ -4671,6 +4834,17 @@ export default {
4671
4834
  created_at: { format: 'date-time', type: 'string' },
4672
4835
  display_name: { minLength: 1, type: 'string' },
4673
4836
  ends_at: { type: 'string' },
4837
+ errors: {
4838
+ items: {
4839
+ properties: {
4840
+ error_code: { type: 'string' },
4841
+ message: { type: 'string' },
4842
+ },
4843
+ required: ['error_code', 'message'],
4844
+ type: 'object',
4845
+ },
4846
+ type: 'array',
4847
+ },
4674
4848
  external_type: {
4675
4849
  enum: [
4676
4850
  'pti_card',
@@ -4704,6 +4878,17 @@ export default {
4704
4878
  },
4705
4879
  type: 'object',
4706
4880
  },
4881
+ warnings: {
4882
+ items: {
4883
+ properties: {
4884
+ message: { type: 'string' },
4885
+ warning_code: { type: 'string' },
4886
+ },
4887
+ required: ['warning_code', 'message'],
4888
+ type: 'object',
4889
+ },
4890
+ type: 'array',
4891
+ },
4707
4892
  workspace_id: { format: 'uuid', type: 'string' },
4708
4893
  },
4709
4894
  required: [
@@ -4713,6 +4898,8 @@ export default {
4713
4898
  'access_method',
4714
4899
  'created_at',
4715
4900
  'workspace_id',
4901
+ 'errors',
4902
+ 'warnings',
4716
4903
  ],
4717
4904
  type: 'object',
4718
4905
  },
@@ -4776,6 +4963,17 @@ export default {
4776
4963
  created_at: { format: 'date-time', type: 'string' },
4777
4964
  display_name: { minLength: 1, type: 'string' },
4778
4965
  ends_at: { type: 'string' },
4966
+ errors: {
4967
+ items: {
4968
+ properties: {
4969
+ error_code: { type: 'string' },
4970
+ message: { type: 'string' },
4971
+ },
4972
+ required: ['error_code', 'message'],
4973
+ type: 'object',
4974
+ },
4975
+ type: 'array',
4976
+ },
4779
4977
  external_type: {
4780
4978
  enum: [
4781
4979
  'pti_card',
@@ -4809,6 +5007,17 @@ export default {
4809
5007
  },
4810
5008
  type: 'object',
4811
5009
  },
5010
+ warnings: {
5011
+ items: {
5012
+ properties: {
5013
+ message: { type: 'string' },
5014
+ warning_code: { type: 'string' },
5015
+ },
5016
+ required: ['warning_code', 'message'],
5017
+ type: 'object',
5018
+ },
5019
+ type: 'array',
5020
+ },
4812
5021
  workspace_id: { format: 'uuid', type: 'string' },
4813
5022
  },
4814
5023
  required: [
@@ -4818,6 +5027,8 @@ export default {
4818
5027
  'access_method',
4819
5028
  'created_at',
4820
5029
  'workspace_id',
5030
+ 'errors',
5031
+ 'warnings',
4821
5032
  ],
4822
5033
  type: 'object',
4823
5034
  },
@@ -5137,6 +5348,17 @@ export default {
5137
5348
  created_at: { format: 'date-time', type: 'string' },
5138
5349
  display_name: { minLength: 1, type: 'string' },
5139
5350
  ends_at: { type: 'string' },
5351
+ errors: {
5352
+ items: {
5353
+ properties: {
5354
+ error_code: { type: 'string' },
5355
+ message: { type: 'string' },
5356
+ },
5357
+ required: ['error_code', 'message'],
5358
+ type: 'object',
5359
+ },
5360
+ type: 'array',
5361
+ },
5140
5362
  external_type: {
5141
5363
  enum: [
5142
5364
  'pti_card',
@@ -5170,6 +5392,17 @@ export default {
5170
5392
  },
5171
5393
  type: 'object',
5172
5394
  },
5395
+ warnings: {
5396
+ items: {
5397
+ properties: {
5398
+ message: { type: 'string' },
5399
+ warning_code: { type: 'string' },
5400
+ },
5401
+ required: ['warning_code', 'message'],
5402
+ type: 'object',
5403
+ },
5404
+ type: 'array',
5405
+ },
5173
5406
  workspace_id: { format: 'uuid', type: 'string' },
5174
5407
  },
5175
5408
  required: [
@@ -5179,6 +5412,8 @@ export default {
5179
5412
  'access_method',
5180
5413
  'created_at',
5181
5414
  'workspace_id',
5415
+ 'errors',
5416
+ 'warnings',
5182
5417
  ],
5183
5418
  type: 'object',
5184
5419
  },
@@ -9258,6 +9493,48 @@ export default {
9258
9493
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
9259
9494
  },
9260
9495
  },
9496
+ '/phones/deactivate': {
9497
+ post: {
9498
+ operationId: 'phonesDeactivatePost',
9499
+ requestBody: {
9500
+ content: {
9501
+ 'application/json': {
9502
+ schema: {
9503
+ properties: { device_id: { type: 'string' } },
9504
+ required: ['device_id'],
9505
+ type: 'object',
9506
+ },
9507
+ },
9508
+ },
9509
+ },
9510
+ responses: {
9511
+ 200: {
9512
+ content: {
9513
+ 'application/json': {
9514
+ schema: {
9515
+ properties: { ok: { type: 'boolean' } },
9516
+ required: ['ok'],
9517
+ type: 'object',
9518
+ },
9519
+ },
9520
+ },
9521
+ description: 'OK',
9522
+ },
9523
+ 400: { description: 'Bad Request' },
9524
+ 401: { description: 'Unauthorized' },
9525
+ },
9526
+ security: [
9527
+ { client_session: [] },
9528
+ { pat_with_workspace: [] },
9529
+ { console_session: [] },
9530
+ { api_key: [] },
9531
+ ],
9532
+ summary: '/phones/deactivate',
9533
+ tags: ['/phones'],
9534
+ 'x-fern-sdk-group-name': ['phones'],
9535
+ 'x-fern-sdk-method-name': 'deactivate',
9536
+ },
9537
+ },
9261
9538
  '/phones/list': {
9262
9539
  post: {
9263
9540
  operationId: 'phonesListPost',