@seamapi/types 1.107.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
  },
@@ -4058,6 +4106,17 @@ export default {
4058
4106
  created_at: { format: 'date-time', type: 'string' },
4059
4107
  display_name: { minLength: 1, type: 'string' },
4060
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
+ },
4061
4120
  external_type: {
4062
4121
  enum: [
4063
4122
  'pti_card',
@@ -4091,6 +4150,17 @@ export default {
4091
4150
  },
4092
4151
  type: 'object',
4093
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
+ },
4094
4164
  workspace_id: { format: 'uuid', type: 'string' },
4095
4165
  },
4096
4166
  required: [
@@ -4100,6 +4170,8 @@ export default {
4100
4170
  'access_method',
4101
4171
  'created_at',
4102
4172
  'workspace_id',
4173
+ 'errors',
4174
+ 'warnings',
4103
4175
  ],
4104
4176
  type: 'object',
4105
4177
  },
@@ -4208,6 +4280,17 @@ export default {
4208
4280
  created_at: { format: 'date-time', type: 'string' },
4209
4281
  display_name: { minLength: 1, type: 'string' },
4210
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
+ },
4211
4294
  external_type: {
4212
4295
  enum: [
4213
4296
  'pti_card',
@@ -4241,6 +4324,17 @@ export default {
4241
4324
  },
4242
4325
  type: 'object',
4243
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
+ },
4244
4338
  workspace_id: { format: 'uuid', type: 'string' },
4245
4339
  },
4246
4340
  required: [
@@ -4250,6 +4344,8 @@ export default {
4250
4344
  'access_method',
4251
4345
  'created_at',
4252
4346
  'workspace_id',
4347
+ 'errors',
4348
+ 'warnings',
4253
4349
  ],
4254
4350
  type: 'object',
4255
4351
  },
@@ -4342,6 +4438,17 @@ export default {
4342
4438
  created_at: { format: 'date-time', type: 'string' },
4343
4439
  display_name: { minLength: 1, type: 'string' },
4344
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
+ },
4345
4452
  external_type: {
4346
4453
  enum: [
4347
4454
  'pti_card',
@@ -4375,6 +4482,17 @@ export default {
4375
4482
  },
4376
4483
  type: 'object',
4377
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
+ },
4378
4496
  workspace_id: { format: 'uuid', type: 'string' },
4379
4497
  },
4380
4498
  required: [
@@ -4384,6 +4502,8 @@ export default {
4384
4502
  'access_method',
4385
4503
  'created_at',
4386
4504
  'workspace_id',
4505
+ 'errors',
4506
+ 'warnings',
4387
4507
  ],
4388
4508
  type: 'object',
4389
4509
  },
@@ -4453,6 +4573,17 @@ export default {
4453
4573
  created_at: { format: 'date-time', type: 'string' },
4454
4574
  display_name: { minLength: 1, type: 'string' },
4455
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
+ },
4456
4587
  external_type: {
4457
4588
  enum: [
4458
4589
  'pti_card',
@@ -4486,6 +4617,17 @@ export default {
4486
4617
  },
4487
4618
  type: 'object',
4488
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
+ },
4489
4631
  workspace_id: { format: 'uuid', type: 'string' },
4490
4632
  },
4491
4633
  required: [
@@ -4495,6 +4637,8 @@ export default {
4495
4637
  'access_method',
4496
4638
  'created_at',
4497
4639
  'workspace_id',
4640
+ 'errors',
4641
+ 'warnings',
4498
4642
  ],
4499
4643
  type: 'object',
4500
4644
  },
@@ -4558,6 +4702,17 @@ export default {
4558
4702
  created_at: { format: 'date-time', type: 'string' },
4559
4703
  display_name: { minLength: 1, type: 'string' },
4560
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
+ },
4561
4716
  external_type: {
4562
4717
  enum: [
4563
4718
  'pti_card',
@@ -4591,6 +4746,17 @@ export default {
4591
4746
  },
4592
4747
  type: 'object',
4593
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
+ },
4594
4760
  workspace_id: { format: 'uuid', type: 'string' },
4595
4761
  },
4596
4762
  required: [
@@ -4600,6 +4766,8 @@ export default {
4600
4766
  'access_method',
4601
4767
  'created_at',
4602
4768
  'workspace_id',
4769
+ 'errors',
4770
+ 'warnings',
4603
4771
  ],
4604
4772
  type: 'object',
4605
4773
  },
@@ -4666,6 +4834,17 @@ export default {
4666
4834
  created_at: { format: 'date-time', type: 'string' },
4667
4835
  display_name: { minLength: 1, type: 'string' },
4668
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
+ },
4669
4848
  external_type: {
4670
4849
  enum: [
4671
4850
  'pti_card',
@@ -4699,6 +4878,17 @@ export default {
4699
4878
  },
4700
4879
  type: 'object',
4701
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
+ },
4702
4892
  workspace_id: { format: 'uuid', type: 'string' },
4703
4893
  },
4704
4894
  required: [
@@ -4708,6 +4898,8 @@ export default {
4708
4898
  'access_method',
4709
4899
  'created_at',
4710
4900
  'workspace_id',
4901
+ 'errors',
4902
+ 'warnings',
4711
4903
  ],
4712
4904
  type: 'object',
4713
4905
  },
@@ -4771,6 +4963,17 @@ export default {
4771
4963
  created_at: { format: 'date-time', type: 'string' },
4772
4964
  display_name: { minLength: 1, type: 'string' },
4773
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
+ },
4774
4977
  external_type: {
4775
4978
  enum: [
4776
4979
  'pti_card',
@@ -4804,6 +5007,17 @@ export default {
4804
5007
  },
4805
5008
  type: 'object',
4806
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
+ },
4807
5021
  workspace_id: { format: 'uuid', type: 'string' },
4808
5022
  },
4809
5023
  required: [
@@ -4813,6 +5027,8 @@ export default {
4813
5027
  'access_method',
4814
5028
  'created_at',
4815
5029
  'workspace_id',
5030
+ 'errors',
5031
+ 'warnings',
4816
5032
  ],
4817
5033
  type: 'object',
4818
5034
  },
@@ -5132,6 +5348,17 @@ export default {
5132
5348
  created_at: { format: 'date-time', type: 'string' },
5133
5349
  display_name: { minLength: 1, type: 'string' },
5134
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
+ },
5135
5362
  external_type: {
5136
5363
  enum: [
5137
5364
  'pti_card',
@@ -5165,6 +5392,17 @@ export default {
5165
5392
  },
5166
5393
  type: 'object',
5167
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
+ },
5168
5406
  workspace_id: { format: 'uuid', type: 'string' },
5169
5407
  },
5170
5408
  required: [
@@ -5174,6 +5412,8 @@ export default {
5174
5412
  'access_method',
5175
5413
  'created_at',
5176
5414
  'workspace_id',
5415
+ 'errors',
5416
+ 'warnings',
5177
5417
  ],
5178
5418
  type: 'object',
5179
5419
  },
@@ -9253,6 +9493,48 @@ export default {
9253
9493
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
9254
9494
  },
9255
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
+ },
9256
9538
  '/phones/list': {
9257
9539
  post: {
9258
9540
  operationId: 'phonesListPost',