@seamapi/types 1.106.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
  },
@@ -4051,16 +4099,11 @@ var openapi_default = {
4051
4099
  acs_user_id: { format: "uuid", type: "string" },
4052
4100
  code: { pattern: "^\\d+$", type: "string" },
4053
4101
  ends_at: { format: "date-time", type: "string" },
4054
- external_type: {
4055
- enum: [
4056
- "pti_card",
4057
- "brivo_credential",
4058
- "hid_credential",
4059
- "visionline_card"
4060
- ],
4061
- type: "string"
4102
+ external_type: { enum: ["visionline_card"], type: "string" },
4103
+ is_multi_phone_sync_credential: {
4104
+ default: false,
4105
+ type: "boolean"
4062
4106
  },
4063
- is_multi_phone_sync_credential: { type: "boolean" },
4064
4107
  starts_at: { format: "date-time", type: "string" },
4065
4108
  visionline_metadata: {
4066
4109
  properties: {
@@ -4110,6 +4153,17 @@ var openapi_default = {
4110
4153
  created_at: { format: "date-time", type: "string" },
4111
4154
  display_name: { minLength: 1, type: "string" },
4112
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
+ },
4113
4167
  external_type: {
4114
4168
  enum: [
4115
4169
  "pti_card",
@@ -4143,6 +4197,17 @@ var openapi_default = {
4143
4197
  },
4144
4198
  type: "object"
4145
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
+ },
4146
4211
  workspace_id: { format: "uuid", type: "string" }
4147
4212
  },
4148
4213
  required: [
@@ -4151,7 +4216,9 @@ var openapi_default = {
4151
4216
  "display_name",
4152
4217
  "access_method",
4153
4218
  "created_at",
4154
- "workspace_id"
4219
+ "workspace_id",
4220
+ "errors",
4221
+ "warnings"
4155
4222
  ],
4156
4223
  type: "object"
4157
4224
  },
@@ -4260,6 +4327,17 @@ var openapi_default = {
4260
4327
  created_at: { format: "date-time", type: "string" },
4261
4328
  display_name: { minLength: 1, type: "string" },
4262
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
+ },
4263
4341
  external_type: {
4264
4342
  enum: [
4265
4343
  "pti_card",
@@ -4293,6 +4371,17 @@ var openapi_default = {
4293
4371
  },
4294
4372
  type: "object"
4295
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
+ },
4296
4385
  workspace_id: { format: "uuid", type: "string" }
4297
4386
  },
4298
4387
  required: [
@@ -4301,7 +4390,9 @@ var openapi_default = {
4301
4390
  "display_name",
4302
4391
  "access_method",
4303
4392
  "created_at",
4304
- "workspace_id"
4393
+ "workspace_id",
4394
+ "errors",
4395
+ "warnings"
4305
4396
  ],
4306
4397
  type: "object"
4307
4398
  },
@@ -4394,6 +4485,17 @@ var openapi_default = {
4394
4485
  created_at: { format: "date-time", type: "string" },
4395
4486
  display_name: { minLength: 1, type: "string" },
4396
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
+ },
4397
4499
  external_type: {
4398
4500
  enum: [
4399
4501
  "pti_card",
@@ -4427,6 +4529,17 @@ var openapi_default = {
4427
4529
  },
4428
4530
  type: "object"
4429
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
+ },
4430
4543
  workspace_id: { format: "uuid", type: "string" }
4431
4544
  },
4432
4545
  required: [
@@ -4435,7 +4548,9 @@ var openapi_default = {
4435
4548
  "display_name",
4436
4549
  "access_method",
4437
4550
  "created_at",
4438
- "workspace_id"
4551
+ "workspace_id",
4552
+ "errors",
4553
+ "warnings"
4439
4554
  ],
4440
4555
  type: "object"
4441
4556
  },
@@ -4505,6 +4620,17 @@ var openapi_default = {
4505
4620
  created_at: { format: "date-time", type: "string" },
4506
4621
  display_name: { minLength: 1, type: "string" },
4507
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
+ },
4508
4634
  external_type: {
4509
4635
  enum: [
4510
4636
  "pti_card",
@@ -4538,6 +4664,17 @@ var openapi_default = {
4538
4664
  },
4539
4665
  type: "object"
4540
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
+ },
4541
4678
  workspace_id: { format: "uuid", type: "string" }
4542
4679
  },
4543
4680
  required: [
@@ -4546,7 +4683,9 @@ var openapi_default = {
4546
4683
  "display_name",
4547
4684
  "access_method",
4548
4685
  "created_at",
4549
- "workspace_id"
4686
+ "workspace_id",
4687
+ "errors",
4688
+ "warnings"
4550
4689
  ],
4551
4690
  type: "object"
4552
4691
  },
@@ -4610,6 +4749,17 @@ var openapi_default = {
4610
4749
  created_at: { format: "date-time", type: "string" },
4611
4750
  display_name: { minLength: 1, type: "string" },
4612
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
+ },
4613
4763
  external_type: {
4614
4764
  enum: [
4615
4765
  "pti_card",
@@ -4643,6 +4793,17 @@ var openapi_default = {
4643
4793
  },
4644
4794
  type: "object"
4645
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
+ },
4646
4807
  workspace_id: { format: "uuid", type: "string" }
4647
4808
  },
4648
4809
  required: [
@@ -4651,7 +4812,9 @@ var openapi_default = {
4651
4812
  "display_name",
4652
4813
  "access_method",
4653
4814
  "created_at",
4654
- "workspace_id"
4815
+ "workspace_id",
4816
+ "errors",
4817
+ "warnings"
4655
4818
  ],
4656
4819
  type: "object"
4657
4820
  },
@@ -4718,6 +4881,17 @@ var openapi_default = {
4718
4881
  created_at: { format: "date-time", type: "string" },
4719
4882
  display_name: { minLength: 1, type: "string" },
4720
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
+ },
4721
4895
  external_type: {
4722
4896
  enum: [
4723
4897
  "pti_card",
@@ -4751,6 +4925,17 @@ var openapi_default = {
4751
4925
  },
4752
4926
  type: "object"
4753
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
+ },
4754
4939
  workspace_id: { format: "uuid", type: "string" }
4755
4940
  },
4756
4941
  required: [
@@ -4759,7 +4944,9 @@ var openapi_default = {
4759
4944
  "display_name",
4760
4945
  "access_method",
4761
4946
  "created_at",
4762
- "workspace_id"
4947
+ "workspace_id",
4948
+ "errors",
4949
+ "warnings"
4763
4950
  ],
4764
4951
  type: "object"
4765
4952
  },
@@ -4823,6 +5010,17 @@ var openapi_default = {
4823
5010
  created_at: { format: "date-time", type: "string" },
4824
5011
  display_name: { minLength: 1, type: "string" },
4825
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
+ },
4826
5024
  external_type: {
4827
5025
  enum: [
4828
5026
  "pti_card",
@@ -4856,6 +5054,17 @@ var openapi_default = {
4856
5054
  },
4857
5055
  type: "object"
4858
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
+ },
4859
5068
  workspace_id: { format: "uuid", type: "string" }
4860
5069
  },
4861
5070
  required: [
@@ -4864,7 +5073,9 @@ var openapi_default = {
4864
5073
  "display_name",
4865
5074
  "access_method",
4866
5075
  "created_at",
4867
- "workspace_id"
5076
+ "workspace_id",
5077
+ "errors",
5078
+ "warnings"
4868
5079
  ],
4869
5080
  type: "object"
4870
5081
  },
@@ -5184,6 +5395,17 @@ var openapi_default = {
5184
5395
  created_at: { format: "date-time", type: "string" },
5185
5396
  display_name: { minLength: 1, type: "string" },
5186
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
+ },
5187
5409
  external_type: {
5188
5410
  enum: [
5189
5411
  "pti_card",
@@ -5217,6 +5439,17 @@ var openapi_default = {
5217
5439
  },
5218
5440
  type: "object"
5219
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
+ },
5220
5453
  workspace_id: { format: "uuid", type: "string" }
5221
5454
  },
5222
5455
  required: [
@@ -5225,7 +5458,9 @@ var openapi_default = {
5225
5458
  "display_name",
5226
5459
  "access_method",
5227
5460
  "created_at",
5228
- "workspace_id"
5461
+ "workspace_id",
5462
+ "errors",
5463
+ "warnings"
5229
5464
  ],
5230
5465
  type: "object"
5231
5466
  },
@@ -9305,6 +9540,48 @@ var openapi_default = {
9305
9540
  "x-fern-sdk-method-name": "trigger_noise_threshold"
9306
9541
  }
9307
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
+ },
9308
9585
  "/phones/list": {
9309
9586
  post: {
9310
9587
  operationId: "phonesListPost",