@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.
@@ -1088,7 +1088,10 @@ export default {
1088
1088
  },
1089
1089
  schlage_metadata: {
1090
1090
  properties: {
1091
- access_code_length: { type: 'number' },
1091
+ access_code_length: {
1092
+ nullable: true,
1093
+ type: 'number',
1094
+ },
1092
1095
  device_id: { type: 'string' },
1093
1096
  device_name: { type: 'string' },
1094
1097
  model: { type: 'string' },
@@ -3885,6 +3888,17 @@ export default {
3885
3888
  created_at: { format: 'date-time', type: 'string' },
3886
3889
  display_name: { minLength: 1, type: 'string' },
3887
3890
  ends_at: { type: 'string' },
3891
+ errors: {
3892
+ items: {
3893
+ properties: {
3894
+ error_code: { type: 'string' },
3895
+ message: { type: 'string' },
3896
+ },
3897
+ required: ['error_code', 'message'],
3898
+ type: 'object',
3899
+ },
3900
+ type: 'array',
3901
+ },
3888
3902
  external_type: {
3889
3903
  enum: [
3890
3904
  'pti_card',
@@ -3918,6 +3932,17 @@ export default {
3918
3932
  },
3919
3933
  type: 'object',
3920
3934
  },
3935
+ warnings: {
3936
+ items: {
3937
+ properties: {
3938
+ message: { type: 'string' },
3939
+ warning_code: { type: 'string' },
3940
+ },
3941
+ required: ['warning_code', 'message'],
3942
+ type: 'object',
3943
+ },
3944
+ type: 'array',
3945
+ },
3921
3946
  workspace_id: { format: 'uuid', type: 'string' },
3922
3947
  },
3923
3948
  required: [
@@ -3927,6 +3952,8 @@ export default {
3927
3952
  'access_method',
3928
3953
  'created_at',
3929
3954
  'workspace_id',
3955
+ 'errors',
3956
+ 'warnings',
3930
3957
  ],
3931
3958
  type: 'object',
3932
3959
  },
@@ -3990,6 +4017,17 @@ export default {
3990
4017
  created_at: { format: 'date-time', type: 'string' },
3991
4018
  display_name: { minLength: 1, type: 'string' },
3992
4019
  ends_at: { type: 'string' },
4020
+ errors: {
4021
+ items: {
4022
+ properties: {
4023
+ error_code: { type: 'string' },
4024
+ message: { type: 'string' },
4025
+ },
4026
+ required: ['error_code', 'message'],
4027
+ type: 'object',
4028
+ },
4029
+ type: 'array',
4030
+ },
3993
4031
  external_type: {
3994
4032
  enum: [
3995
4033
  'pti_card',
@@ -4023,6 +4061,17 @@ export default {
4023
4061
  },
4024
4062
  type: 'object',
4025
4063
  },
4064
+ warnings: {
4065
+ items: {
4066
+ properties: {
4067
+ message: { type: 'string' },
4068
+ warning_code: { type: 'string' },
4069
+ },
4070
+ required: ['warning_code', 'message'],
4071
+ type: 'object',
4072
+ },
4073
+ type: 'array',
4074
+ },
4026
4075
  workspace_id: { format: 'uuid', type: 'string' },
4027
4076
  },
4028
4077
  required: [
@@ -4032,6 +4081,8 @@ export default {
4032
4081
  'access_method',
4033
4082
  'created_at',
4034
4083
  'workspace_id',
4084
+ 'errors',
4085
+ 'warnings',
4035
4086
  ],
4036
4087
  type: 'object',
4037
4088
  },
@@ -4127,6 +4178,17 @@ export default {
4127
4178
  created_at: { format: 'date-time', type: 'string' },
4128
4179
  display_name: { minLength: 1, type: 'string' },
4129
4180
  ends_at: { type: 'string' },
4181
+ errors: {
4182
+ items: {
4183
+ properties: {
4184
+ error_code: { type: 'string' },
4185
+ message: { type: 'string' },
4186
+ },
4187
+ required: ['error_code', 'message'],
4188
+ type: 'object',
4189
+ },
4190
+ type: 'array',
4191
+ },
4130
4192
  external_type: {
4131
4193
  enum: [
4132
4194
  'pti_card',
@@ -4160,6 +4222,17 @@ export default {
4160
4222
  },
4161
4223
  type: 'object',
4162
4224
  },
4225
+ warnings: {
4226
+ items: {
4227
+ properties: {
4228
+ message: { type: 'string' },
4229
+ warning_code: { type: 'string' },
4230
+ },
4231
+ required: ['warning_code', 'message'],
4232
+ type: 'object',
4233
+ },
4234
+ type: 'array',
4235
+ },
4163
4236
  workspace_id: { format: 'uuid', type: 'string' },
4164
4237
  },
4165
4238
  required: [
@@ -4169,6 +4242,8 @@ export default {
4169
4242
  'access_method',
4170
4243
  'created_at',
4171
4244
  'workspace_id',
4245
+ 'errors',
4246
+ 'warnings',
4172
4247
  ],
4173
4248
  type: 'object',
4174
4249
  },
@@ -4277,6 +4352,17 @@ export default {
4277
4352
  created_at: { format: 'date-time', type: 'string' },
4278
4353
  display_name: { minLength: 1, type: 'string' },
4279
4354
  ends_at: { type: 'string' },
4355
+ errors: {
4356
+ items: {
4357
+ properties: {
4358
+ error_code: { type: 'string' },
4359
+ message: { type: 'string' },
4360
+ },
4361
+ required: ['error_code', 'message'],
4362
+ type: 'object',
4363
+ },
4364
+ type: 'array',
4365
+ },
4280
4366
  external_type: {
4281
4367
  enum: [
4282
4368
  'pti_card',
@@ -4310,6 +4396,17 @@ export default {
4310
4396
  },
4311
4397
  type: 'object',
4312
4398
  },
4399
+ warnings: {
4400
+ items: {
4401
+ properties: {
4402
+ message: { type: 'string' },
4403
+ warning_code: { type: 'string' },
4404
+ },
4405
+ required: ['warning_code', 'message'],
4406
+ type: 'object',
4407
+ },
4408
+ type: 'array',
4409
+ },
4313
4410
  workspace_id: { format: 'uuid', type: 'string' },
4314
4411
  },
4315
4412
  required: [
@@ -4319,6 +4416,8 @@ export default {
4319
4416
  'access_method',
4320
4417
  'created_at',
4321
4418
  'workspace_id',
4419
+ 'errors',
4420
+ 'warnings',
4322
4421
  ],
4323
4422
  type: 'object',
4324
4423
  },
@@ -4411,6 +4510,17 @@ export default {
4411
4510
  created_at: { format: 'date-time', type: 'string' },
4412
4511
  display_name: { minLength: 1, type: 'string' },
4413
4512
  ends_at: { type: 'string' },
4513
+ errors: {
4514
+ items: {
4515
+ properties: {
4516
+ error_code: { type: 'string' },
4517
+ message: { type: 'string' },
4518
+ },
4519
+ required: ['error_code', 'message'],
4520
+ type: 'object',
4521
+ },
4522
+ type: 'array',
4523
+ },
4414
4524
  external_type: {
4415
4525
  enum: [
4416
4526
  'pti_card',
@@ -4444,6 +4554,17 @@ export default {
4444
4554
  },
4445
4555
  type: 'object',
4446
4556
  },
4557
+ warnings: {
4558
+ items: {
4559
+ properties: {
4560
+ message: { type: 'string' },
4561
+ warning_code: { type: 'string' },
4562
+ },
4563
+ required: ['warning_code', 'message'],
4564
+ type: 'object',
4565
+ },
4566
+ type: 'array',
4567
+ },
4447
4568
  workspace_id: { format: 'uuid', type: 'string' },
4448
4569
  },
4449
4570
  required: [
@@ -4453,6 +4574,8 @@ export default {
4453
4574
  'access_method',
4454
4575
  'created_at',
4455
4576
  'workspace_id',
4577
+ 'errors',
4578
+ 'warnings',
4456
4579
  ],
4457
4580
  type: 'object',
4458
4581
  },
@@ -4522,6 +4645,17 @@ export default {
4522
4645
  created_at: { format: 'date-time', type: 'string' },
4523
4646
  display_name: { minLength: 1, type: 'string' },
4524
4647
  ends_at: { type: 'string' },
4648
+ errors: {
4649
+ items: {
4650
+ properties: {
4651
+ error_code: { type: 'string' },
4652
+ message: { type: 'string' },
4653
+ },
4654
+ required: ['error_code', 'message'],
4655
+ type: 'object',
4656
+ },
4657
+ type: 'array',
4658
+ },
4525
4659
  external_type: {
4526
4660
  enum: [
4527
4661
  'pti_card',
@@ -4555,6 +4689,17 @@ export default {
4555
4689
  },
4556
4690
  type: 'object',
4557
4691
  },
4692
+ warnings: {
4693
+ items: {
4694
+ properties: {
4695
+ message: { type: 'string' },
4696
+ warning_code: { type: 'string' },
4697
+ },
4698
+ required: ['warning_code', 'message'],
4699
+ type: 'object',
4700
+ },
4701
+ type: 'array',
4702
+ },
4558
4703
  workspace_id: { format: 'uuid', type: 'string' },
4559
4704
  },
4560
4705
  required: [
@@ -4564,6 +4709,8 @@ export default {
4564
4709
  'access_method',
4565
4710
  'created_at',
4566
4711
  'workspace_id',
4712
+ 'errors',
4713
+ 'warnings',
4567
4714
  ],
4568
4715
  type: 'object',
4569
4716
  },
@@ -4627,6 +4774,17 @@ export default {
4627
4774
  created_at: { format: 'date-time', type: 'string' },
4628
4775
  display_name: { minLength: 1, type: 'string' },
4629
4776
  ends_at: { type: 'string' },
4777
+ errors: {
4778
+ items: {
4779
+ properties: {
4780
+ error_code: { type: 'string' },
4781
+ message: { type: 'string' },
4782
+ },
4783
+ required: ['error_code', 'message'],
4784
+ type: 'object',
4785
+ },
4786
+ type: 'array',
4787
+ },
4630
4788
  external_type: {
4631
4789
  enum: [
4632
4790
  'pti_card',
@@ -4660,6 +4818,17 @@ export default {
4660
4818
  },
4661
4819
  type: 'object',
4662
4820
  },
4821
+ warnings: {
4822
+ items: {
4823
+ properties: {
4824
+ message: { type: 'string' },
4825
+ warning_code: { type: 'string' },
4826
+ },
4827
+ required: ['warning_code', 'message'],
4828
+ type: 'object',
4829
+ },
4830
+ type: 'array',
4831
+ },
4663
4832
  workspace_id: { format: 'uuid', type: 'string' },
4664
4833
  },
4665
4834
  required: [
@@ -4669,6 +4838,8 @@ export default {
4669
4838
  'access_method',
4670
4839
  'created_at',
4671
4840
  'workspace_id',
4841
+ 'errors',
4842
+ 'warnings',
4672
4843
  ],
4673
4844
  type: 'object',
4674
4845
  },
@@ -4735,6 +4906,17 @@ export default {
4735
4906
  created_at: { format: 'date-time', type: 'string' },
4736
4907
  display_name: { minLength: 1, type: 'string' },
4737
4908
  ends_at: { type: 'string' },
4909
+ errors: {
4910
+ items: {
4911
+ properties: {
4912
+ error_code: { type: 'string' },
4913
+ message: { type: 'string' },
4914
+ },
4915
+ required: ['error_code', 'message'],
4916
+ type: 'object',
4917
+ },
4918
+ type: 'array',
4919
+ },
4738
4920
  external_type: {
4739
4921
  enum: [
4740
4922
  'pti_card',
@@ -4768,6 +4950,17 @@ export default {
4768
4950
  },
4769
4951
  type: 'object',
4770
4952
  },
4953
+ warnings: {
4954
+ items: {
4955
+ properties: {
4956
+ message: { type: 'string' },
4957
+ warning_code: { type: 'string' },
4958
+ },
4959
+ required: ['warning_code', 'message'],
4960
+ type: 'object',
4961
+ },
4962
+ type: 'array',
4963
+ },
4771
4964
  workspace_id: { format: 'uuid', type: 'string' },
4772
4965
  },
4773
4966
  required: [
@@ -4777,6 +4970,8 @@ export default {
4777
4970
  'access_method',
4778
4971
  'created_at',
4779
4972
  'workspace_id',
4973
+ 'errors',
4974
+ 'warnings',
4780
4975
  ],
4781
4976
  type: 'object',
4782
4977
  },
@@ -4840,6 +5035,17 @@ export default {
4840
5035
  created_at: { format: 'date-time', type: 'string' },
4841
5036
  display_name: { minLength: 1, type: 'string' },
4842
5037
  ends_at: { type: 'string' },
5038
+ errors: {
5039
+ items: {
5040
+ properties: {
5041
+ error_code: { type: 'string' },
5042
+ message: { type: 'string' },
5043
+ },
5044
+ required: ['error_code', 'message'],
5045
+ type: 'object',
5046
+ },
5047
+ type: 'array',
5048
+ },
4843
5049
  external_type: {
4844
5050
  enum: [
4845
5051
  'pti_card',
@@ -4873,6 +5079,17 @@ export default {
4873
5079
  },
4874
5080
  type: 'object',
4875
5081
  },
5082
+ warnings: {
5083
+ items: {
5084
+ properties: {
5085
+ message: { type: 'string' },
5086
+ warning_code: { type: 'string' },
5087
+ },
5088
+ required: ['warning_code', 'message'],
5089
+ type: 'object',
5090
+ },
5091
+ type: 'array',
5092
+ },
4876
5093
  workspace_id: { format: 'uuid', type: 'string' },
4877
5094
  },
4878
5095
  required: [
@@ -4882,6 +5099,8 @@ export default {
4882
5099
  'access_method',
4883
5100
  'created_at',
4884
5101
  'workspace_id',
5102
+ 'errors',
5103
+ 'warnings',
4885
5104
  ],
4886
5105
  type: 'object',
4887
5106
  },
@@ -5201,6 +5420,17 @@ export default {
5201
5420
  created_at: { format: 'date-time', type: 'string' },
5202
5421
  display_name: { minLength: 1, type: 'string' },
5203
5422
  ends_at: { type: 'string' },
5423
+ errors: {
5424
+ items: {
5425
+ properties: {
5426
+ error_code: { type: 'string' },
5427
+ message: { type: 'string' },
5428
+ },
5429
+ required: ['error_code', 'message'],
5430
+ type: 'object',
5431
+ },
5432
+ type: 'array',
5433
+ },
5204
5434
  external_type: {
5205
5435
  enum: [
5206
5436
  'pti_card',
@@ -5234,6 +5464,17 @@ export default {
5234
5464
  },
5235
5465
  type: 'object',
5236
5466
  },
5467
+ warnings: {
5468
+ items: {
5469
+ properties: {
5470
+ message: { type: 'string' },
5471
+ warning_code: { type: 'string' },
5472
+ },
5473
+ required: ['warning_code', 'message'],
5474
+ type: 'object',
5475
+ },
5476
+ type: 'array',
5477
+ },
5237
5478
  workspace_id: { format: 'uuid', type: 'string' },
5238
5479
  },
5239
5480
  required: [
@@ -5243,6 +5484,8 @@ export default {
5243
5484
  'access_method',
5244
5485
  'created_at',
5245
5486
  'workspace_id',
5487
+ 'errors',
5488
+ 'warnings',
5246
5489
  ],
5247
5490
  type: 'object',
5248
5491
  },
@@ -9327,6 +9570,48 @@ export default {
9327
9570
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
9328
9571
  },
9329
9572
  },
9573
+ '/phones/deactivate': {
9574
+ post: {
9575
+ operationId: 'phonesDeactivatePost',
9576
+ requestBody: {
9577
+ content: {
9578
+ 'application/json': {
9579
+ schema: {
9580
+ properties: { device_id: { type: 'string' } },
9581
+ required: ['device_id'],
9582
+ type: 'object',
9583
+ },
9584
+ },
9585
+ },
9586
+ },
9587
+ responses: {
9588
+ 200: {
9589
+ content: {
9590
+ 'application/json': {
9591
+ schema: {
9592
+ properties: { ok: { type: 'boolean' } },
9593
+ required: ['ok'],
9594
+ type: 'object',
9595
+ },
9596
+ },
9597
+ },
9598
+ description: 'OK',
9599
+ },
9600
+ 400: { description: 'Bad Request' },
9601
+ 401: { description: 'Unauthorized' },
9602
+ },
9603
+ security: [
9604
+ { client_session: [] },
9605
+ { pat_with_workspace: [] },
9606
+ { console_session: [] },
9607
+ { api_key: [] },
9608
+ ],
9609
+ summary: '/phones/deactivate',
9610
+ tags: ['/phones'],
9611
+ 'x-fern-sdk-group-name': ['phones'],
9612
+ 'x-fern-sdk-method-name': 'deactivate',
9613
+ },
9614
+ },
9330
9615
  '/phones/list': {
9331
9616
  post: {
9332
9617
  operationId: 'phonesListPost',
@@ -850,6 +850,14 @@ export interface Routes {
850
850
  workspace_id: string
851
851
  starts_at?: string | undefined
852
852
  ends_at?: string | undefined
853
+ errors: Array<{
854
+ error_code: string
855
+ message: string
856
+ }>
857
+ warnings: Array<{
858
+ warning_code: string
859
+ message: string
860
+ }>
853
861
  is_multi_phone_sync_credential?: boolean | undefined
854
862
  visionline_metadata?:
855
863
  | {
@@ -909,6 +917,14 @@ export interface Routes {
909
917
  workspace_id: string
910
918
  starts_at?: string | undefined
911
919
  ends_at?: string | undefined
920
+ errors: Array<{
921
+ error_code: string
922
+ message: string
923
+ }>
924
+ warnings: Array<{
925
+ warning_code: string
926
+ message: string
927
+ }>
912
928
  is_multi_phone_sync_credential?: boolean | undefined
913
929
  visionline_metadata?:
914
930
  | {
@@ -963,6 +979,14 @@ export interface Routes {
963
979
  workspace_id: string
964
980
  starts_at?: string | undefined
965
981
  ends_at?: string | undefined
982
+ errors: Array<{
983
+ error_code: string
984
+ message: string
985
+ }>
986
+ warnings: Array<{
987
+ warning_code: string
988
+ message: string
989
+ }>
966
990
  is_multi_phone_sync_credential?: boolean | undefined
967
991
  visionline_metadata?:
968
992
  | {
@@ -1017,6 +1041,14 @@ export interface Routes {
1017
1041
  workspace_id: string
1018
1042
  starts_at?: string | undefined
1019
1043
  ends_at?: string | undefined
1044
+ errors: Array<{
1045
+ error_code: string
1046
+ message: string
1047
+ }>
1048
+ warnings: Array<{
1049
+ warning_code: string
1050
+ message: string
1051
+ }>
1020
1052
  is_multi_phone_sync_credential?: boolean | undefined
1021
1053
  visionline_metadata?:
1022
1054
  | {
@@ -1061,6 +1093,14 @@ export interface Routes {
1061
1093
  workspace_id: string
1062
1094
  starts_at?: string | undefined
1063
1095
  ends_at?: string | undefined
1096
+ errors: Array<{
1097
+ error_code: string
1098
+ message: string
1099
+ }>
1100
+ warnings: Array<{
1101
+ warning_code: string
1102
+ message: string
1103
+ }>
1064
1104
  is_multi_phone_sync_credential?: boolean | undefined
1065
1105
  visionline_metadata?:
1066
1106
  | {
@@ -1105,6 +1145,14 @@ export interface Routes {
1105
1145
  workspace_id: string
1106
1146
  starts_at?: string | undefined
1107
1147
  ends_at?: string | undefined
1148
+ errors: Array<{
1149
+ error_code: string
1150
+ message: string
1151
+ }>
1152
+ warnings: Array<{
1153
+ warning_code: string
1154
+ message: string
1155
+ }>
1108
1156
  is_multi_phone_sync_credential?: boolean | undefined
1109
1157
  visionline_metadata?:
1110
1158
  | {
@@ -1228,6 +1276,14 @@ export interface Routes {
1228
1276
  workspace_id: string
1229
1277
  starts_at?: string | undefined
1230
1278
  ends_at?: string | undefined
1279
+ errors: Array<{
1280
+ error_code: string
1281
+ message: string
1282
+ }>
1283
+ warnings: Array<{
1284
+ warning_code: string
1285
+ message: string
1286
+ }>
1231
1287
  is_multi_phone_sync_credential?: boolean | undefined
1232
1288
  visionline_metadata?:
1233
1289
  | {
@@ -2246,7 +2302,7 @@ export interface Routes {
2246
2302
  | {
2247
2303
  device_id: string
2248
2304
  device_name: string
2249
- access_code_length: number
2305
+ access_code_length: number | null
2250
2306
  model?: string | undefined
2251
2307
  }
2252
2308
  | undefined
@@ -3043,7 +3099,7 @@ export interface Routes {
3043
3099
  | {
3044
3100
  device_id: string
3045
3101
  device_name: string
3046
- access_code_length: number
3102
+ access_code_length: number | null
3047
3103
  model?: string | undefined
3048
3104
  }
3049
3105
  | undefined
@@ -4339,7 +4395,7 @@ export interface Routes {
4339
4395
  | {
4340
4396
  device_id: string
4341
4397
  device_name: string
4342
- access_code_length: number
4398
+ access_code_length: number | null
4343
4399
  model?: string | undefined
4344
4400
  }
4345
4401
  | undefined
@@ -5009,7 +5065,7 @@ export interface Routes {
5009
5065
  | {
5010
5066
  device_id: string
5011
5067
  device_name: string
5012
- access_code_length: number
5068
+ access_code_length: number | null
5013
5069
  model?: string | undefined
5014
5070
  }
5015
5071
  | undefined
@@ -5806,7 +5862,7 @@ export interface Routes {
5806
5862
  | {
5807
5863
  device_id: string
5808
5864
  device_name: string
5809
- access_code_length: number
5865
+ access_code_length: number | null
5810
5866
  model?: string | undefined
5811
5867
  }
5812
5868
  | undefined
@@ -6476,7 +6532,7 @@ export interface Routes {
6476
6532
  | {
6477
6533
  device_id: string
6478
6534
  device_name: string
6479
- access_code_length: number
6535
+ access_code_length: number | null
6480
6536
  model?: string | undefined
6481
6537
  }
6482
6538
  | undefined
@@ -7318,6 +7374,17 @@ export interface Routes {
7318
7374
  formData: {}
7319
7375
  jsonResponse: {}
7320
7376
  }
7377
+ '/phones/deactivate': {
7378
+ route: '/phones/deactivate'
7379
+ method: 'DELETE' | 'POST'
7380
+ queryParams: {}
7381
+ jsonBody: {
7382
+ device_id: string
7383
+ }
7384
+ commonParams: {}
7385
+ formData: {}
7386
+ jsonResponse: {}
7387
+ }
7321
7388
  '/phones/list': {
7322
7389
  route: '/phones/list'
7323
7390
  method: 'GET' | 'POST'
@@ -7771,7 +7838,7 @@ export interface Routes {
7771
7838
  | {
7772
7839
  device_id: string
7773
7840
  device_name: string
7774
- access_code_length: number
7841
+ access_code_length: number | null
7775
7842
  model?: string | undefined
7776
7843
  }
7777
7844
  | undefined
@@ -8598,7 +8665,7 @@ export interface Routes {
8598
8665
  | {
8599
8666
  device_id: string
8600
8667
  device_name: string
8601
- access_code_length: number
8668
+ access_code_length: number | null
8602
8669
  model?: string | undefined
8603
8670
  }
8604
8671
  | undefined
@@ -9495,7 +9562,7 @@ export interface Routes {
9495
9562
  | {
9496
9563
  device_id: string
9497
9564
  device_name: string
9498
- access_code_length: number
9565
+ access_code_length: number | null
9499
9566
  model?: string | undefined
9500
9567
  }
9501
9568
  | undefined