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