@seamapi/types 1.107.0 → 1.108.1

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.
@@ -1052,7 +1052,10 @@ export default {
1052
1052
  },
1053
1053
  schlage_metadata: {
1054
1054
  properties: {
1055
- access_code_length: { type: 'number' },
1055
+ access_code_length: {
1056
+ nullable: true,
1057
+ type: 'number',
1058
+ },
1056
1059
  device_id: { type: 'string' },
1057
1060
  device_name: { type: 'string' },
1058
1061
  model: { type: 'string' },
@@ -3816,6 +3819,17 @@ export default {
3816
3819
  created_at: { format: 'date-time', type: 'string' },
3817
3820
  display_name: { minLength: 1, type: 'string' },
3818
3821
  ends_at: { type: 'string' },
3822
+ errors: {
3823
+ items: {
3824
+ properties: {
3825
+ error_code: { type: 'string' },
3826
+ message: { type: 'string' },
3827
+ },
3828
+ required: ['error_code', 'message'],
3829
+ type: 'object',
3830
+ },
3831
+ type: 'array',
3832
+ },
3819
3833
  external_type: {
3820
3834
  enum: [
3821
3835
  'pti_card',
@@ -3849,6 +3863,17 @@ export default {
3849
3863
  },
3850
3864
  type: 'object',
3851
3865
  },
3866
+ warnings: {
3867
+ items: {
3868
+ properties: {
3869
+ message: { type: 'string' },
3870
+ warning_code: { type: 'string' },
3871
+ },
3872
+ required: ['warning_code', 'message'],
3873
+ type: 'object',
3874
+ },
3875
+ type: 'array',
3876
+ },
3852
3877
  workspace_id: { format: 'uuid', type: 'string' },
3853
3878
  },
3854
3879
  required: [
@@ -3858,6 +3883,8 @@ export default {
3858
3883
  'access_method',
3859
3884
  'created_at',
3860
3885
  'workspace_id',
3886
+ 'errors',
3887
+ 'warnings',
3861
3888
  ],
3862
3889
  type: 'object',
3863
3890
  },
@@ -3921,6 +3948,17 @@ export default {
3921
3948
  created_at: { format: 'date-time', type: 'string' },
3922
3949
  display_name: { minLength: 1, type: 'string' },
3923
3950
  ends_at: { type: 'string' },
3951
+ errors: {
3952
+ items: {
3953
+ properties: {
3954
+ error_code: { type: 'string' },
3955
+ message: { type: 'string' },
3956
+ },
3957
+ required: ['error_code', 'message'],
3958
+ type: 'object',
3959
+ },
3960
+ type: 'array',
3961
+ },
3924
3962
  external_type: {
3925
3963
  enum: [
3926
3964
  'pti_card',
@@ -3954,6 +3992,17 @@ export default {
3954
3992
  },
3955
3993
  type: 'object',
3956
3994
  },
3995
+ warnings: {
3996
+ items: {
3997
+ properties: {
3998
+ message: { type: 'string' },
3999
+ warning_code: { type: 'string' },
4000
+ },
4001
+ required: ['warning_code', 'message'],
4002
+ type: 'object',
4003
+ },
4004
+ type: 'array',
4005
+ },
3957
4006
  workspace_id: { format: 'uuid', type: 'string' },
3958
4007
  },
3959
4008
  required: [
@@ -3963,6 +4012,8 @@ export default {
3963
4012
  'access_method',
3964
4013
  'created_at',
3965
4014
  'workspace_id',
4015
+ 'errors',
4016
+ 'warnings',
3966
4017
  ],
3967
4018
  type: 'object',
3968
4019
  },
@@ -4058,6 +4109,17 @@ export default {
4058
4109
  created_at: { format: 'date-time', type: 'string' },
4059
4110
  display_name: { minLength: 1, type: 'string' },
4060
4111
  ends_at: { type: 'string' },
4112
+ errors: {
4113
+ items: {
4114
+ properties: {
4115
+ error_code: { type: 'string' },
4116
+ message: { type: 'string' },
4117
+ },
4118
+ required: ['error_code', 'message'],
4119
+ type: 'object',
4120
+ },
4121
+ type: 'array',
4122
+ },
4061
4123
  external_type: {
4062
4124
  enum: [
4063
4125
  'pti_card',
@@ -4091,6 +4153,17 @@ export default {
4091
4153
  },
4092
4154
  type: 'object',
4093
4155
  },
4156
+ warnings: {
4157
+ items: {
4158
+ properties: {
4159
+ message: { type: 'string' },
4160
+ warning_code: { type: 'string' },
4161
+ },
4162
+ required: ['warning_code', 'message'],
4163
+ type: 'object',
4164
+ },
4165
+ type: 'array',
4166
+ },
4094
4167
  workspace_id: { format: 'uuid', type: 'string' },
4095
4168
  },
4096
4169
  required: [
@@ -4100,6 +4173,8 @@ export default {
4100
4173
  'access_method',
4101
4174
  'created_at',
4102
4175
  'workspace_id',
4176
+ 'errors',
4177
+ 'warnings',
4103
4178
  ],
4104
4179
  type: 'object',
4105
4180
  },
@@ -4208,6 +4283,17 @@ export default {
4208
4283
  created_at: { format: 'date-time', type: 'string' },
4209
4284
  display_name: { minLength: 1, type: 'string' },
4210
4285
  ends_at: { type: 'string' },
4286
+ errors: {
4287
+ items: {
4288
+ properties: {
4289
+ error_code: { type: 'string' },
4290
+ message: { type: 'string' },
4291
+ },
4292
+ required: ['error_code', 'message'],
4293
+ type: 'object',
4294
+ },
4295
+ type: 'array',
4296
+ },
4211
4297
  external_type: {
4212
4298
  enum: [
4213
4299
  'pti_card',
@@ -4241,6 +4327,17 @@ export default {
4241
4327
  },
4242
4328
  type: 'object',
4243
4329
  },
4330
+ warnings: {
4331
+ items: {
4332
+ properties: {
4333
+ message: { type: 'string' },
4334
+ warning_code: { type: 'string' },
4335
+ },
4336
+ required: ['warning_code', 'message'],
4337
+ type: 'object',
4338
+ },
4339
+ type: 'array',
4340
+ },
4244
4341
  workspace_id: { format: 'uuid', type: 'string' },
4245
4342
  },
4246
4343
  required: [
@@ -4250,6 +4347,8 @@ export default {
4250
4347
  'access_method',
4251
4348
  'created_at',
4252
4349
  'workspace_id',
4350
+ 'errors',
4351
+ 'warnings',
4253
4352
  ],
4254
4353
  type: 'object',
4255
4354
  },
@@ -4342,6 +4441,17 @@ export default {
4342
4441
  created_at: { format: 'date-time', type: 'string' },
4343
4442
  display_name: { minLength: 1, type: 'string' },
4344
4443
  ends_at: { type: 'string' },
4444
+ errors: {
4445
+ items: {
4446
+ properties: {
4447
+ error_code: { type: 'string' },
4448
+ message: { type: 'string' },
4449
+ },
4450
+ required: ['error_code', 'message'],
4451
+ type: 'object',
4452
+ },
4453
+ type: 'array',
4454
+ },
4345
4455
  external_type: {
4346
4456
  enum: [
4347
4457
  'pti_card',
@@ -4375,6 +4485,17 @@ export default {
4375
4485
  },
4376
4486
  type: 'object',
4377
4487
  },
4488
+ warnings: {
4489
+ items: {
4490
+ properties: {
4491
+ message: { type: 'string' },
4492
+ warning_code: { type: 'string' },
4493
+ },
4494
+ required: ['warning_code', 'message'],
4495
+ type: 'object',
4496
+ },
4497
+ type: 'array',
4498
+ },
4378
4499
  workspace_id: { format: 'uuid', type: 'string' },
4379
4500
  },
4380
4501
  required: [
@@ -4384,6 +4505,8 @@ export default {
4384
4505
  'access_method',
4385
4506
  'created_at',
4386
4507
  'workspace_id',
4508
+ 'errors',
4509
+ 'warnings',
4387
4510
  ],
4388
4511
  type: 'object',
4389
4512
  },
@@ -4453,6 +4576,17 @@ export default {
4453
4576
  created_at: { format: 'date-time', type: 'string' },
4454
4577
  display_name: { minLength: 1, type: 'string' },
4455
4578
  ends_at: { type: 'string' },
4579
+ errors: {
4580
+ items: {
4581
+ properties: {
4582
+ error_code: { type: 'string' },
4583
+ message: { type: 'string' },
4584
+ },
4585
+ required: ['error_code', 'message'],
4586
+ type: 'object',
4587
+ },
4588
+ type: 'array',
4589
+ },
4456
4590
  external_type: {
4457
4591
  enum: [
4458
4592
  'pti_card',
@@ -4486,6 +4620,17 @@ export default {
4486
4620
  },
4487
4621
  type: 'object',
4488
4622
  },
4623
+ warnings: {
4624
+ items: {
4625
+ properties: {
4626
+ message: { type: 'string' },
4627
+ warning_code: { type: 'string' },
4628
+ },
4629
+ required: ['warning_code', 'message'],
4630
+ type: 'object',
4631
+ },
4632
+ type: 'array',
4633
+ },
4489
4634
  workspace_id: { format: 'uuid', type: 'string' },
4490
4635
  },
4491
4636
  required: [
@@ -4495,6 +4640,8 @@ export default {
4495
4640
  'access_method',
4496
4641
  'created_at',
4497
4642
  'workspace_id',
4643
+ 'errors',
4644
+ 'warnings',
4498
4645
  ],
4499
4646
  type: 'object',
4500
4647
  },
@@ -4558,6 +4705,17 @@ export default {
4558
4705
  created_at: { format: 'date-time', type: 'string' },
4559
4706
  display_name: { minLength: 1, type: 'string' },
4560
4707
  ends_at: { type: 'string' },
4708
+ errors: {
4709
+ items: {
4710
+ properties: {
4711
+ error_code: { type: 'string' },
4712
+ message: { type: 'string' },
4713
+ },
4714
+ required: ['error_code', 'message'],
4715
+ type: 'object',
4716
+ },
4717
+ type: 'array',
4718
+ },
4561
4719
  external_type: {
4562
4720
  enum: [
4563
4721
  'pti_card',
@@ -4591,6 +4749,17 @@ export default {
4591
4749
  },
4592
4750
  type: 'object',
4593
4751
  },
4752
+ warnings: {
4753
+ items: {
4754
+ properties: {
4755
+ message: { type: 'string' },
4756
+ warning_code: { type: 'string' },
4757
+ },
4758
+ required: ['warning_code', 'message'],
4759
+ type: 'object',
4760
+ },
4761
+ type: 'array',
4762
+ },
4594
4763
  workspace_id: { format: 'uuid', type: 'string' },
4595
4764
  },
4596
4765
  required: [
@@ -4600,6 +4769,8 @@ export default {
4600
4769
  'access_method',
4601
4770
  'created_at',
4602
4771
  'workspace_id',
4772
+ 'errors',
4773
+ 'warnings',
4603
4774
  ],
4604
4775
  type: 'object',
4605
4776
  },
@@ -4666,6 +4837,17 @@ export default {
4666
4837
  created_at: { format: 'date-time', type: 'string' },
4667
4838
  display_name: { minLength: 1, type: 'string' },
4668
4839
  ends_at: { type: 'string' },
4840
+ errors: {
4841
+ items: {
4842
+ properties: {
4843
+ error_code: { type: 'string' },
4844
+ message: { type: 'string' },
4845
+ },
4846
+ required: ['error_code', 'message'],
4847
+ type: 'object',
4848
+ },
4849
+ type: 'array',
4850
+ },
4669
4851
  external_type: {
4670
4852
  enum: [
4671
4853
  'pti_card',
@@ -4699,6 +4881,17 @@ export default {
4699
4881
  },
4700
4882
  type: 'object',
4701
4883
  },
4884
+ warnings: {
4885
+ items: {
4886
+ properties: {
4887
+ message: { type: 'string' },
4888
+ warning_code: { type: 'string' },
4889
+ },
4890
+ required: ['warning_code', 'message'],
4891
+ type: 'object',
4892
+ },
4893
+ type: 'array',
4894
+ },
4702
4895
  workspace_id: { format: 'uuid', type: 'string' },
4703
4896
  },
4704
4897
  required: [
@@ -4708,6 +4901,8 @@ export default {
4708
4901
  'access_method',
4709
4902
  'created_at',
4710
4903
  'workspace_id',
4904
+ 'errors',
4905
+ 'warnings',
4711
4906
  ],
4712
4907
  type: 'object',
4713
4908
  },
@@ -4771,6 +4966,17 @@ export default {
4771
4966
  created_at: { format: 'date-time', type: 'string' },
4772
4967
  display_name: { minLength: 1, type: 'string' },
4773
4968
  ends_at: { type: 'string' },
4969
+ errors: {
4970
+ items: {
4971
+ properties: {
4972
+ error_code: { type: 'string' },
4973
+ message: { type: 'string' },
4974
+ },
4975
+ required: ['error_code', 'message'],
4976
+ type: 'object',
4977
+ },
4978
+ type: 'array',
4979
+ },
4774
4980
  external_type: {
4775
4981
  enum: [
4776
4982
  'pti_card',
@@ -4804,6 +5010,17 @@ export default {
4804
5010
  },
4805
5011
  type: 'object',
4806
5012
  },
5013
+ warnings: {
5014
+ items: {
5015
+ properties: {
5016
+ message: { type: 'string' },
5017
+ warning_code: { type: 'string' },
5018
+ },
5019
+ required: ['warning_code', 'message'],
5020
+ type: 'object',
5021
+ },
5022
+ type: 'array',
5023
+ },
4807
5024
  workspace_id: { format: 'uuid', type: 'string' },
4808
5025
  },
4809
5026
  required: [
@@ -4813,6 +5030,8 @@ export default {
4813
5030
  'access_method',
4814
5031
  'created_at',
4815
5032
  'workspace_id',
5033
+ 'errors',
5034
+ 'warnings',
4816
5035
  ],
4817
5036
  type: 'object',
4818
5037
  },
@@ -5132,6 +5351,17 @@ export default {
5132
5351
  created_at: { format: 'date-time', type: 'string' },
5133
5352
  display_name: { minLength: 1, type: 'string' },
5134
5353
  ends_at: { type: 'string' },
5354
+ errors: {
5355
+ items: {
5356
+ properties: {
5357
+ error_code: { type: 'string' },
5358
+ message: { type: 'string' },
5359
+ },
5360
+ required: ['error_code', 'message'],
5361
+ type: 'object',
5362
+ },
5363
+ type: 'array',
5364
+ },
5135
5365
  external_type: {
5136
5366
  enum: [
5137
5367
  'pti_card',
@@ -5165,6 +5395,17 @@ export default {
5165
5395
  },
5166
5396
  type: 'object',
5167
5397
  },
5398
+ warnings: {
5399
+ items: {
5400
+ properties: {
5401
+ message: { type: 'string' },
5402
+ warning_code: { type: 'string' },
5403
+ },
5404
+ required: ['warning_code', 'message'],
5405
+ type: 'object',
5406
+ },
5407
+ type: 'array',
5408
+ },
5168
5409
  workspace_id: { format: 'uuid', type: 'string' },
5169
5410
  },
5170
5411
  required: [
@@ -5174,6 +5415,8 @@ export default {
5174
5415
  'access_method',
5175
5416
  'created_at',
5176
5417
  'workspace_id',
5418
+ 'errors',
5419
+ 'warnings',
5177
5420
  ],
5178
5421
  type: 'object',
5179
5422
  },
@@ -9253,6 +9496,48 @@ export default {
9253
9496
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
9254
9497
  },
9255
9498
  },
9499
+ '/phones/deactivate': {
9500
+ post: {
9501
+ operationId: 'phonesDeactivatePost',
9502
+ requestBody: {
9503
+ content: {
9504
+ 'application/json': {
9505
+ schema: {
9506
+ properties: { device_id: { type: 'string' } },
9507
+ required: ['device_id'],
9508
+ type: 'object',
9509
+ },
9510
+ },
9511
+ },
9512
+ },
9513
+ responses: {
9514
+ 200: {
9515
+ content: {
9516
+ 'application/json': {
9517
+ schema: {
9518
+ properties: { ok: { type: 'boolean' } },
9519
+ required: ['ok'],
9520
+ type: 'object',
9521
+ },
9522
+ },
9523
+ },
9524
+ description: 'OK',
9525
+ },
9526
+ 400: { description: 'Bad Request' },
9527
+ 401: { description: 'Unauthorized' },
9528
+ },
9529
+ security: [
9530
+ { client_session: [] },
9531
+ { pat_with_workspace: [] },
9532
+ { console_session: [] },
9533
+ { api_key: [] },
9534
+ ],
9535
+ summary: '/phones/deactivate',
9536
+ tags: ['/phones'],
9537
+ 'x-fern-sdk-group-name': ['phones'],
9538
+ 'x-fern-sdk-method-name': 'deactivate',
9539
+ },
9540
+ },
9256
9541
  '/phones/list': {
9257
9542
  post: {
9258
9543
  operationId: 'phonesListPost',