@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.
package/dist/connect.cjs CHANGED
@@ -1099,7 +1099,10 @@ var openapi_default = {
1099
1099
  },
1100
1100
  schlage_metadata: {
1101
1101
  properties: {
1102
- access_code_length: { type: "number" },
1102
+ access_code_length: {
1103
+ nullable: true,
1104
+ type: "number"
1105
+ },
1103
1106
  device_id: { type: "string" },
1104
1107
  device_name: { type: "string" },
1105
1108
  model: { type: "string" }
@@ -3863,6 +3866,17 @@ var openapi_default = {
3863
3866
  created_at: { format: "date-time", type: "string" },
3864
3867
  display_name: { minLength: 1, type: "string" },
3865
3868
  ends_at: { type: "string" },
3869
+ errors: {
3870
+ items: {
3871
+ properties: {
3872
+ error_code: { type: "string" },
3873
+ message: { type: "string" }
3874
+ },
3875
+ required: ["error_code", "message"],
3876
+ type: "object"
3877
+ },
3878
+ type: "array"
3879
+ },
3866
3880
  external_type: {
3867
3881
  enum: [
3868
3882
  "pti_card",
@@ -3896,6 +3910,17 @@ var openapi_default = {
3896
3910
  },
3897
3911
  type: "object"
3898
3912
  },
3913
+ warnings: {
3914
+ items: {
3915
+ properties: {
3916
+ message: { type: "string" },
3917
+ warning_code: { type: "string" }
3918
+ },
3919
+ required: ["warning_code", "message"],
3920
+ type: "object"
3921
+ },
3922
+ type: "array"
3923
+ },
3899
3924
  workspace_id: { format: "uuid", type: "string" }
3900
3925
  },
3901
3926
  required: [
@@ -3904,7 +3929,9 @@ var openapi_default = {
3904
3929
  "display_name",
3905
3930
  "access_method",
3906
3931
  "created_at",
3907
- "workspace_id"
3932
+ "workspace_id",
3933
+ "errors",
3934
+ "warnings"
3908
3935
  ],
3909
3936
  type: "object"
3910
3937
  },
@@ -3968,6 +3995,17 @@ var openapi_default = {
3968
3995
  created_at: { format: "date-time", type: "string" },
3969
3996
  display_name: { minLength: 1, type: "string" },
3970
3997
  ends_at: { type: "string" },
3998
+ errors: {
3999
+ items: {
4000
+ properties: {
4001
+ error_code: { type: "string" },
4002
+ message: { type: "string" }
4003
+ },
4004
+ required: ["error_code", "message"],
4005
+ type: "object"
4006
+ },
4007
+ type: "array"
4008
+ },
3971
4009
  external_type: {
3972
4010
  enum: [
3973
4011
  "pti_card",
@@ -4001,6 +4039,17 @@ var openapi_default = {
4001
4039
  },
4002
4040
  type: "object"
4003
4041
  },
4042
+ warnings: {
4043
+ items: {
4044
+ properties: {
4045
+ message: { type: "string" },
4046
+ warning_code: { type: "string" }
4047
+ },
4048
+ required: ["warning_code", "message"],
4049
+ type: "object"
4050
+ },
4051
+ type: "array"
4052
+ },
4004
4053
  workspace_id: { format: "uuid", type: "string" }
4005
4054
  },
4006
4055
  required: [
@@ -4009,7 +4058,9 @@ var openapi_default = {
4009
4058
  "display_name",
4010
4059
  "access_method",
4011
4060
  "created_at",
4012
- "workspace_id"
4061
+ "workspace_id",
4062
+ "errors",
4063
+ "warnings"
4013
4064
  ],
4014
4065
  type: "object"
4015
4066
  },
@@ -4105,6 +4156,17 @@ var openapi_default = {
4105
4156
  created_at: { format: "date-time", type: "string" },
4106
4157
  display_name: { minLength: 1, type: "string" },
4107
4158
  ends_at: { type: "string" },
4159
+ errors: {
4160
+ items: {
4161
+ properties: {
4162
+ error_code: { type: "string" },
4163
+ message: { type: "string" }
4164
+ },
4165
+ required: ["error_code", "message"],
4166
+ type: "object"
4167
+ },
4168
+ type: "array"
4169
+ },
4108
4170
  external_type: {
4109
4171
  enum: [
4110
4172
  "pti_card",
@@ -4138,6 +4200,17 @@ var openapi_default = {
4138
4200
  },
4139
4201
  type: "object"
4140
4202
  },
4203
+ warnings: {
4204
+ items: {
4205
+ properties: {
4206
+ message: { type: "string" },
4207
+ warning_code: { type: "string" }
4208
+ },
4209
+ required: ["warning_code", "message"],
4210
+ type: "object"
4211
+ },
4212
+ type: "array"
4213
+ },
4141
4214
  workspace_id: { format: "uuid", type: "string" }
4142
4215
  },
4143
4216
  required: [
@@ -4146,7 +4219,9 @@ var openapi_default = {
4146
4219
  "display_name",
4147
4220
  "access_method",
4148
4221
  "created_at",
4149
- "workspace_id"
4222
+ "workspace_id",
4223
+ "errors",
4224
+ "warnings"
4150
4225
  ],
4151
4226
  type: "object"
4152
4227
  },
@@ -4255,6 +4330,17 @@ var openapi_default = {
4255
4330
  created_at: { format: "date-time", type: "string" },
4256
4331
  display_name: { minLength: 1, type: "string" },
4257
4332
  ends_at: { type: "string" },
4333
+ errors: {
4334
+ items: {
4335
+ properties: {
4336
+ error_code: { type: "string" },
4337
+ message: { type: "string" }
4338
+ },
4339
+ required: ["error_code", "message"],
4340
+ type: "object"
4341
+ },
4342
+ type: "array"
4343
+ },
4258
4344
  external_type: {
4259
4345
  enum: [
4260
4346
  "pti_card",
@@ -4288,6 +4374,17 @@ var openapi_default = {
4288
4374
  },
4289
4375
  type: "object"
4290
4376
  },
4377
+ warnings: {
4378
+ items: {
4379
+ properties: {
4380
+ message: { type: "string" },
4381
+ warning_code: { type: "string" }
4382
+ },
4383
+ required: ["warning_code", "message"],
4384
+ type: "object"
4385
+ },
4386
+ type: "array"
4387
+ },
4291
4388
  workspace_id: { format: "uuid", type: "string" }
4292
4389
  },
4293
4390
  required: [
@@ -4296,7 +4393,9 @@ var openapi_default = {
4296
4393
  "display_name",
4297
4394
  "access_method",
4298
4395
  "created_at",
4299
- "workspace_id"
4396
+ "workspace_id",
4397
+ "errors",
4398
+ "warnings"
4300
4399
  ],
4301
4400
  type: "object"
4302
4401
  },
@@ -4389,6 +4488,17 @@ var openapi_default = {
4389
4488
  created_at: { format: "date-time", type: "string" },
4390
4489
  display_name: { minLength: 1, type: "string" },
4391
4490
  ends_at: { type: "string" },
4491
+ errors: {
4492
+ items: {
4493
+ properties: {
4494
+ error_code: { type: "string" },
4495
+ message: { type: "string" }
4496
+ },
4497
+ required: ["error_code", "message"],
4498
+ type: "object"
4499
+ },
4500
+ type: "array"
4501
+ },
4392
4502
  external_type: {
4393
4503
  enum: [
4394
4504
  "pti_card",
@@ -4422,6 +4532,17 @@ var openapi_default = {
4422
4532
  },
4423
4533
  type: "object"
4424
4534
  },
4535
+ warnings: {
4536
+ items: {
4537
+ properties: {
4538
+ message: { type: "string" },
4539
+ warning_code: { type: "string" }
4540
+ },
4541
+ required: ["warning_code", "message"],
4542
+ type: "object"
4543
+ },
4544
+ type: "array"
4545
+ },
4425
4546
  workspace_id: { format: "uuid", type: "string" }
4426
4547
  },
4427
4548
  required: [
@@ -4430,7 +4551,9 @@ var openapi_default = {
4430
4551
  "display_name",
4431
4552
  "access_method",
4432
4553
  "created_at",
4433
- "workspace_id"
4554
+ "workspace_id",
4555
+ "errors",
4556
+ "warnings"
4434
4557
  ],
4435
4558
  type: "object"
4436
4559
  },
@@ -4500,6 +4623,17 @@ var openapi_default = {
4500
4623
  created_at: { format: "date-time", type: "string" },
4501
4624
  display_name: { minLength: 1, type: "string" },
4502
4625
  ends_at: { type: "string" },
4626
+ errors: {
4627
+ items: {
4628
+ properties: {
4629
+ error_code: { type: "string" },
4630
+ message: { type: "string" }
4631
+ },
4632
+ required: ["error_code", "message"],
4633
+ type: "object"
4634
+ },
4635
+ type: "array"
4636
+ },
4503
4637
  external_type: {
4504
4638
  enum: [
4505
4639
  "pti_card",
@@ -4533,6 +4667,17 @@ var openapi_default = {
4533
4667
  },
4534
4668
  type: "object"
4535
4669
  },
4670
+ warnings: {
4671
+ items: {
4672
+ properties: {
4673
+ message: { type: "string" },
4674
+ warning_code: { type: "string" }
4675
+ },
4676
+ required: ["warning_code", "message"],
4677
+ type: "object"
4678
+ },
4679
+ type: "array"
4680
+ },
4536
4681
  workspace_id: { format: "uuid", type: "string" }
4537
4682
  },
4538
4683
  required: [
@@ -4541,7 +4686,9 @@ var openapi_default = {
4541
4686
  "display_name",
4542
4687
  "access_method",
4543
4688
  "created_at",
4544
- "workspace_id"
4689
+ "workspace_id",
4690
+ "errors",
4691
+ "warnings"
4545
4692
  ],
4546
4693
  type: "object"
4547
4694
  },
@@ -4605,6 +4752,17 @@ var openapi_default = {
4605
4752
  created_at: { format: "date-time", type: "string" },
4606
4753
  display_name: { minLength: 1, type: "string" },
4607
4754
  ends_at: { type: "string" },
4755
+ errors: {
4756
+ items: {
4757
+ properties: {
4758
+ error_code: { type: "string" },
4759
+ message: { type: "string" }
4760
+ },
4761
+ required: ["error_code", "message"],
4762
+ type: "object"
4763
+ },
4764
+ type: "array"
4765
+ },
4608
4766
  external_type: {
4609
4767
  enum: [
4610
4768
  "pti_card",
@@ -4638,6 +4796,17 @@ var openapi_default = {
4638
4796
  },
4639
4797
  type: "object"
4640
4798
  },
4799
+ warnings: {
4800
+ items: {
4801
+ properties: {
4802
+ message: { type: "string" },
4803
+ warning_code: { type: "string" }
4804
+ },
4805
+ required: ["warning_code", "message"],
4806
+ type: "object"
4807
+ },
4808
+ type: "array"
4809
+ },
4641
4810
  workspace_id: { format: "uuid", type: "string" }
4642
4811
  },
4643
4812
  required: [
@@ -4646,7 +4815,9 @@ var openapi_default = {
4646
4815
  "display_name",
4647
4816
  "access_method",
4648
4817
  "created_at",
4649
- "workspace_id"
4818
+ "workspace_id",
4819
+ "errors",
4820
+ "warnings"
4650
4821
  ],
4651
4822
  type: "object"
4652
4823
  },
@@ -4713,6 +4884,17 @@ var openapi_default = {
4713
4884
  created_at: { format: "date-time", type: "string" },
4714
4885
  display_name: { minLength: 1, type: "string" },
4715
4886
  ends_at: { type: "string" },
4887
+ errors: {
4888
+ items: {
4889
+ properties: {
4890
+ error_code: { type: "string" },
4891
+ message: { type: "string" }
4892
+ },
4893
+ required: ["error_code", "message"],
4894
+ type: "object"
4895
+ },
4896
+ type: "array"
4897
+ },
4716
4898
  external_type: {
4717
4899
  enum: [
4718
4900
  "pti_card",
@@ -4746,6 +4928,17 @@ var openapi_default = {
4746
4928
  },
4747
4929
  type: "object"
4748
4930
  },
4931
+ warnings: {
4932
+ items: {
4933
+ properties: {
4934
+ message: { type: "string" },
4935
+ warning_code: { type: "string" }
4936
+ },
4937
+ required: ["warning_code", "message"],
4938
+ type: "object"
4939
+ },
4940
+ type: "array"
4941
+ },
4749
4942
  workspace_id: { format: "uuid", type: "string" }
4750
4943
  },
4751
4944
  required: [
@@ -4754,7 +4947,9 @@ var openapi_default = {
4754
4947
  "display_name",
4755
4948
  "access_method",
4756
4949
  "created_at",
4757
- "workspace_id"
4950
+ "workspace_id",
4951
+ "errors",
4952
+ "warnings"
4758
4953
  ],
4759
4954
  type: "object"
4760
4955
  },
@@ -4818,6 +5013,17 @@ var openapi_default = {
4818
5013
  created_at: { format: "date-time", type: "string" },
4819
5014
  display_name: { minLength: 1, type: "string" },
4820
5015
  ends_at: { type: "string" },
5016
+ errors: {
5017
+ items: {
5018
+ properties: {
5019
+ error_code: { type: "string" },
5020
+ message: { type: "string" }
5021
+ },
5022
+ required: ["error_code", "message"],
5023
+ type: "object"
5024
+ },
5025
+ type: "array"
5026
+ },
4821
5027
  external_type: {
4822
5028
  enum: [
4823
5029
  "pti_card",
@@ -4851,6 +5057,17 @@ var openapi_default = {
4851
5057
  },
4852
5058
  type: "object"
4853
5059
  },
5060
+ warnings: {
5061
+ items: {
5062
+ properties: {
5063
+ message: { type: "string" },
5064
+ warning_code: { type: "string" }
5065
+ },
5066
+ required: ["warning_code", "message"],
5067
+ type: "object"
5068
+ },
5069
+ type: "array"
5070
+ },
4854
5071
  workspace_id: { format: "uuid", type: "string" }
4855
5072
  },
4856
5073
  required: [
@@ -4859,7 +5076,9 @@ var openapi_default = {
4859
5076
  "display_name",
4860
5077
  "access_method",
4861
5078
  "created_at",
4862
- "workspace_id"
5079
+ "workspace_id",
5080
+ "errors",
5081
+ "warnings"
4863
5082
  ],
4864
5083
  type: "object"
4865
5084
  },
@@ -5179,6 +5398,17 @@ var openapi_default = {
5179
5398
  created_at: { format: "date-time", type: "string" },
5180
5399
  display_name: { minLength: 1, type: "string" },
5181
5400
  ends_at: { type: "string" },
5401
+ errors: {
5402
+ items: {
5403
+ properties: {
5404
+ error_code: { type: "string" },
5405
+ message: { type: "string" }
5406
+ },
5407
+ required: ["error_code", "message"],
5408
+ type: "object"
5409
+ },
5410
+ type: "array"
5411
+ },
5182
5412
  external_type: {
5183
5413
  enum: [
5184
5414
  "pti_card",
@@ -5212,6 +5442,17 @@ var openapi_default = {
5212
5442
  },
5213
5443
  type: "object"
5214
5444
  },
5445
+ warnings: {
5446
+ items: {
5447
+ properties: {
5448
+ message: { type: "string" },
5449
+ warning_code: { type: "string" }
5450
+ },
5451
+ required: ["warning_code", "message"],
5452
+ type: "object"
5453
+ },
5454
+ type: "array"
5455
+ },
5215
5456
  workspace_id: { format: "uuid", type: "string" }
5216
5457
  },
5217
5458
  required: [
@@ -5220,7 +5461,9 @@ var openapi_default = {
5220
5461
  "display_name",
5221
5462
  "access_method",
5222
5463
  "created_at",
5223
- "workspace_id"
5464
+ "workspace_id",
5465
+ "errors",
5466
+ "warnings"
5224
5467
  ],
5225
5468
  type: "object"
5226
5469
  },
@@ -9300,6 +9543,48 @@ var openapi_default = {
9300
9543
  "x-fern-sdk-method-name": "trigger_noise_threshold"
9301
9544
  }
9302
9545
  },
9546
+ "/phones/deactivate": {
9547
+ post: {
9548
+ operationId: "phonesDeactivatePost",
9549
+ requestBody: {
9550
+ content: {
9551
+ "application/json": {
9552
+ schema: {
9553
+ properties: { device_id: { type: "string" } },
9554
+ required: ["device_id"],
9555
+ type: "object"
9556
+ }
9557
+ }
9558
+ }
9559
+ },
9560
+ responses: {
9561
+ 200: {
9562
+ content: {
9563
+ "application/json": {
9564
+ schema: {
9565
+ properties: { ok: { type: "boolean" } },
9566
+ required: ["ok"],
9567
+ type: "object"
9568
+ }
9569
+ }
9570
+ },
9571
+ description: "OK"
9572
+ },
9573
+ 400: { description: "Bad Request" },
9574
+ 401: { description: "Unauthorized" }
9575
+ },
9576
+ security: [
9577
+ { client_session: [] },
9578
+ { pat_with_workspace: [] },
9579
+ { console_session: [] },
9580
+ { api_key: [] }
9581
+ ],
9582
+ summary: "/phones/deactivate",
9583
+ tags: ["/phones"],
9584
+ "x-fern-sdk-group-name": ["phones"],
9585
+ "x-fern-sdk-method-name": "deactivate"
9586
+ }
9587
+ },
9303
9588
  "/phones/list": {
9304
9589
  post: {
9305
9590
  operationId: "phonesListPost",