@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 +296 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +439 -2
- package/lib/seam/connect/openapi.d.ts +370 -0
- package/lib/seam/connect/openapi.js +286 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +69 -2
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +36 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +8 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +286 -9
- package/src/lib/seam/connect/route-types.ts +69 -9
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +12 -0
|
@@ -3885,6 +3885,17 @@ export default {
|
|
|
3885
3885
|
created_at: { format: 'date-time', type: 'string' },
|
|
3886
3886
|
display_name: { minLength: 1, type: 'string' },
|
|
3887
3887
|
ends_at: { type: 'string' },
|
|
3888
|
+
errors: {
|
|
3889
|
+
items: {
|
|
3890
|
+
properties: {
|
|
3891
|
+
error_code: { type: 'string' },
|
|
3892
|
+
message: { type: 'string' },
|
|
3893
|
+
},
|
|
3894
|
+
required: ['error_code', 'message'],
|
|
3895
|
+
type: 'object',
|
|
3896
|
+
},
|
|
3897
|
+
type: 'array',
|
|
3898
|
+
},
|
|
3888
3899
|
external_type: {
|
|
3889
3900
|
enum: [
|
|
3890
3901
|
'pti_card',
|
|
@@ -3918,6 +3929,17 @@ export default {
|
|
|
3918
3929
|
},
|
|
3919
3930
|
type: 'object',
|
|
3920
3931
|
},
|
|
3932
|
+
warnings: {
|
|
3933
|
+
items: {
|
|
3934
|
+
properties: {
|
|
3935
|
+
message: { type: 'string' },
|
|
3936
|
+
warning_code: { type: 'string' },
|
|
3937
|
+
},
|
|
3938
|
+
required: ['warning_code', 'message'],
|
|
3939
|
+
type: 'object',
|
|
3940
|
+
},
|
|
3941
|
+
type: 'array',
|
|
3942
|
+
},
|
|
3921
3943
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3922
3944
|
},
|
|
3923
3945
|
required: [
|
|
@@ -3927,6 +3949,8 @@ export default {
|
|
|
3927
3949
|
'access_method',
|
|
3928
3950
|
'created_at',
|
|
3929
3951
|
'workspace_id',
|
|
3952
|
+
'errors',
|
|
3953
|
+
'warnings',
|
|
3930
3954
|
],
|
|
3931
3955
|
type: 'object',
|
|
3932
3956
|
},
|
|
@@ -3990,6 +4014,17 @@ export default {
|
|
|
3990
4014
|
created_at: { format: 'date-time', type: 'string' },
|
|
3991
4015
|
display_name: { minLength: 1, type: 'string' },
|
|
3992
4016
|
ends_at: { type: 'string' },
|
|
4017
|
+
errors: {
|
|
4018
|
+
items: {
|
|
4019
|
+
properties: {
|
|
4020
|
+
error_code: { type: 'string' },
|
|
4021
|
+
message: { type: 'string' },
|
|
4022
|
+
},
|
|
4023
|
+
required: ['error_code', 'message'],
|
|
4024
|
+
type: 'object',
|
|
4025
|
+
},
|
|
4026
|
+
type: 'array',
|
|
4027
|
+
},
|
|
3993
4028
|
external_type: {
|
|
3994
4029
|
enum: [
|
|
3995
4030
|
'pti_card',
|
|
@@ -4023,6 +4058,17 @@ export default {
|
|
|
4023
4058
|
},
|
|
4024
4059
|
type: 'object',
|
|
4025
4060
|
},
|
|
4061
|
+
warnings: {
|
|
4062
|
+
items: {
|
|
4063
|
+
properties: {
|
|
4064
|
+
message: { type: 'string' },
|
|
4065
|
+
warning_code: { type: 'string' },
|
|
4066
|
+
},
|
|
4067
|
+
required: ['warning_code', 'message'],
|
|
4068
|
+
type: 'object',
|
|
4069
|
+
},
|
|
4070
|
+
type: 'array',
|
|
4071
|
+
},
|
|
4026
4072
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4027
4073
|
},
|
|
4028
4074
|
required: [
|
|
@@ -4032,6 +4078,8 @@ export default {
|
|
|
4032
4078
|
'access_method',
|
|
4033
4079
|
'created_at',
|
|
4034
4080
|
'workspace_id',
|
|
4081
|
+
'errors',
|
|
4082
|
+
'warnings',
|
|
4035
4083
|
],
|
|
4036
4084
|
type: 'object',
|
|
4037
4085
|
},
|
|
@@ -4073,16 +4121,11 @@ export default {
|
|
|
4073
4121
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4074
4122
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
4075
4123
|
ends_at: { format: 'date-time', type: 'string' },
|
|
4076
|
-
external_type: {
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
'hid_credential',
|
|
4081
|
-
'visionline_card',
|
|
4082
|
-
],
|
|
4083
|
-
type: 'string',
|
|
4124
|
+
external_type: { enum: ['visionline_card'], type: 'string' },
|
|
4125
|
+
is_multi_phone_sync_credential: {
|
|
4126
|
+
default: false,
|
|
4127
|
+
type: 'boolean',
|
|
4084
4128
|
},
|
|
4085
|
-
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4086
4129
|
starts_at: { format: 'date-time', type: 'string' },
|
|
4087
4130
|
visionline_metadata: {
|
|
4088
4131
|
properties: {
|
|
@@ -4132,6 +4175,17 @@ export default {
|
|
|
4132
4175
|
created_at: { format: 'date-time', type: 'string' },
|
|
4133
4176
|
display_name: { minLength: 1, type: 'string' },
|
|
4134
4177
|
ends_at: { type: 'string' },
|
|
4178
|
+
errors: {
|
|
4179
|
+
items: {
|
|
4180
|
+
properties: {
|
|
4181
|
+
error_code: { type: 'string' },
|
|
4182
|
+
message: { type: 'string' },
|
|
4183
|
+
},
|
|
4184
|
+
required: ['error_code', 'message'],
|
|
4185
|
+
type: 'object',
|
|
4186
|
+
},
|
|
4187
|
+
type: 'array',
|
|
4188
|
+
},
|
|
4135
4189
|
external_type: {
|
|
4136
4190
|
enum: [
|
|
4137
4191
|
'pti_card',
|
|
@@ -4165,6 +4219,17 @@ export default {
|
|
|
4165
4219
|
},
|
|
4166
4220
|
type: 'object',
|
|
4167
4221
|
},
|
|
4222
|
+
warnings: {
|
|
4223
|
+
items: {
|
|
4224
|
+
properties: {
|
|
4225
|
+
message: { type: 'string' },
|
|
4226
|
+
warning_code: { type: 'string' },
|
|
4227
|
+
},
|
|
4228
|
+
required: ['warning_code', 'message'],
|
|
4229
|
+
type: 'object',
|
|
4230
|
+
},
|
|
4231
|
+
type: 'array',
|
|
4232
|
+
},
|
|
4168
4233
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4169
4234
|
},
|
|
4170
4235
|
required: [
|
|
@@ -4174,6 +4239,8 @@ export default {
|
|
|
4174
4239
|
'access_method',
|
|
4175
4240
|
'created_at',
|
|
4176
4241
|
'workspace_id',
|
|
4242
|
+
'errors',
|
|
4243
|
+
'warnings',
|
|
4177
4244
|
],
|
|
4178
4245
|
type: 'object',
|
|
4179
4246
|
},
|
|
@@ -4282,6 +4349,17 @@ export default {
|
|
|
4282
4349
|
created_at: { format: 'date-time', type: 'string' },
|
|
4283
4350
|
display_name: { minLength: 1, type: 'string' },
|
|
4284
4351
|
ends_at: { type: 'string' },
|
|
4352
|
+
errors: {
|
|
4353
|
+
items: {
|
|
4354
|
+
properties: {
|
|
4355
|
+
error_code: { type: 'string' },
|
|
4356
|
+
message: { type: 'string' },
|
|
4357
|
+
},
|
|
4358
|
+
required: ['error_code', 'message'],
|
|
4359
|
+
type: 'object',
|
|
4360
|
+
},
|
|
4361
|
+
type: 'array',
|
|
4362
|
+
},
|
|
4285
4363
|
external_type: {
|
|
4286
4364
|
enum: [
|
|
4287
4365
|
'pti_card',
|
|
@@ -4315,6 +4393,17 @@ export default {
|
|
|
4315
4393
|
},
|
|
4316
4394
|
type: 'object',
|
|
4317
4395
|
},
|
|
4396
|
+
warnings: {
|
|
4397
|
+
items: {
|
|
4398
|
+
properties: {
|
|
4399
|
+
message: { type: 'string' },
|
|
4400
|
+
warning_code: { type: 'string' },
|
|
4401
|
+
},
|
|
4402
|
+
required: ['warning_code', 'message'],
|
|
4403
|
+
type: 'object',
|
|
4404
|
+
},
|
|
4405
|
+
type: 'array',
|
|
4406
|
+
},
|
|
4318
4407
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4319
4408
|
},
|
|
4320
4409
|
required: [
|
|
@@ -4324,6 +4413,8 @@ export default {
|
|
|
4324
4413
|
'access_method',
|
|
4325
4414
|
'created_at',
|
|
4326
4415
|
'workspace_id',
|
|
4416
|
+
'errors',
|
|
4417
|
+
'warnings',
|
|
4327
4418
|
],
|
|
4328
4419
|
type: 'object',
|
|
4329
4420
|
},
|
|
@@ -4416,6 +4507,17 @@ export default {
|
|
|
4416
4507
|
created_at: { format: 'date-time', type: 'string' },
|
|
4417
4508
|
display_name: { minLength: 1, type: 'string' },
|
|
4418
4509
|
ends_at: { type: 'string' },
|
|
4510
|
+
errors: {
|
|
4511
|
+
items: {
|
|
4512
|
+
properties: {
|
|
4513
|
+
error_code: { type: 'string' },
|
|
4514
|
+
message: { type: 'string' },
|
|
4515
|
+
},
|
|
4516
|
+
required: ['error_code', 'message'],
|
|
4517
|
+
type: 'object',
|
|
4518
|
+
},
|
|
4519
|
+
type: 'array',
|
|
4520
|
+
},
|
|
4419
4521
|
external_type: {
|
|
4420
4522
|
enum: [
|
|
4421
4523
|
'pti_card',
|
|
@@ -4449,6 +4551,17 @@ export default {
|
|
|
4449
4551
|
},
|
|
4450
4552
|
type: 'object',
|
|
4451
4553
|
},
|
|
4554
|
+
warnings: {
|
|
4555
|
+
items: {
|
|
4556
|
+
properties: {
|
|
4557
|
+
message: { type: 'string' },
|
|
4558
|
+
warning_code: { type: 'string' },
|
|
4559
|
+
},
|
|
4560
|
+
required: ['warning_code', 'message'],
|
|
4561
|
+
type: 'object',
|
|
4562
|
+
},
|
|
4563
|
+
type: 'array',
|
|
4564
|
+
},
|
|
4452
4565
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4453
4566
|
},
|
|
4454
4567
|
required: [
|
|
@@ -4458,6 +4571,8 @@ export default {
|
|
|
4458
4571
|
'access_method',
|
|
4459
4572
|
'created_at',
|
|
4460
4573
|
'workspace_id',
|
|
4574
|
+
'errors',
|
|
4575
|
+
'warnings',
|
|
4461
4576
|
],
|
|
4462
4577
|
type: 'object',
|
|
4463
4578
|
},
|
|
@@ -4527,6 +4642,17 @@ export default {
|
|
|
4527
4642
|
created_at: { format: 'date-time', type: 'string' },
|
|
4528
4643
|
display_name: { minLength: 1, type: 'string' },
|
|
4529
4644
|
ends_at: { type: 'string' },
|
|
4645
|
+
errors: {
|
|
4646
|
+
items: {
|
|
4647
|
+
properties: {
|
|
4648
|
+
error_code: { type: 'string' },
|
|
4649
|
+
message: { type: 'string' },
|
|
4650
|
+
},
|
|
4651
|
+
required: ['error_code', 'message'],
|
|
4652
|
+
type: 'object',
|
|
4653
|
+
},
|
|
4654
|
+
type: 'array',
|
|
4655
|
+
},
|
|
4530
4656
|
external_type: {
|
|
4531
4657
|
enum: [
|
|
4532
4658
|
'pti_card',
|
|
@@ -4560,6 +4686,17 @@ export default {
|
|
|
4560
4686
|
},
|
|
4561
4687
|
type: 'object',
|
|
4562
4688
|
},
|
|
4689
|
+
warnings: {
|
|
4690
|
+
items: {
|
|
4691
|
+
properties: {
|
|
4692
|
+
message: { type: 'string' },
|
|
4693
|
+
warning_code: { type: 'string' },
|
|
4694
|
+
},
|
|
4695
|
+
required: ['warning_code', 'message'],
|
|
4696
|
+
type: 'object',
|
|
4697
|
+
},
|
|
4698
|
+
type: 'array',
|
|
4699
|
+
},
|
|
4563
4700
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4564
4701
|
},
|
|
4565
4702
|
required: [
|
|
@@ -4569,6 +4706,8 @@ export default {
|
|
|
4569
4706
|
'access_method',
|
|
4570
4707
|
'created_at',
|
|
4571
4708
|
'workspace_id',
|
|
4709
|
+
'errors',
|
|
4710
|
+
'warnings',
|
|
4572
4711
|
],
|
|
4573
4712
|
type: 'object',
|
|
4574
4713
|
},
|
|
@@ -4632,6 +4771,17 @@ export default {
|
|
|
4632
4771
|
created_at: { format: 'date-time', type: 'string' },
|
|
4633
4772
|
display_name: { minLength: 1, type: 'string' },
|
|
4634
4773
|
ends_at: { type: 'string' },
|
|
4774
|
+
errors: {
|
|
4775
|
+
items: {
|
|
4776
|
+
properties: {
|
|
4777
|
+
error_code: { type: 'string' },
|
|
4778
|
+
message: { type: 'string' },
|
|
4779
|
+
},
|
|
4780
|
+
required: ['error_code', 'message'],
|
|
4781
|
+
type: 'object',
|
|
4782
|
+
},
|
|
4783
|
+
type: 'array',
|
|
4784
|
+
},
|
|
4635
4785
|
external_type: {
|
|
4636
4786
|
enum: [
|
|
4637
4787
|
'pti_card',
|
|
@@ -4665,6 +4815,17 @@ export default {
|
|
|
4665
4815
|
},
|
|
4666
4816
|
type: 'object',
|
|
4667
4817
|
},
|
|
4818
|
+
warnings: {
|
|
4819
|
+
items: {
|
|
4820
|
+
properties: {
|
|
4821
|
+
message: { type: 'string' },
|
|
4822
|
+
warning_code: { type: 'string' },
|
|
4823
|
+
},
|
|
4824
|
+
required: ['warning_code', 'message'],
|
|
4825
|
+
type: 'object',
|
|
4826
|
+
},
|
|
4827
|
+
type: 'array',
|
|
4828
|
+
},
|
|
4668
4829
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4669
4830
|
},
|
|
4670
4831
|
required: [
|
|
@@ -4674,6 +4835,8 @@ export default {
|
|
|
4674
4835
|
'access_method',
|
|
4675
4836
|
'created_at',
|
|
4676
4837
|
'workspace_id',
|
|
4838
|
+
'errors',
|
|
4839
|
+
'warnings',
|
|
4677
4840
|
],
|
|
4678
4841
|
type: 'object',
|
|
4679
4842
|
},
|
|
@@ -4740,6 +4903,17 @@ export default {
|
|
|
4740
4903
|
created_at: { format: 'date-time', type: 'string' },
|
|
4741
4904
|
display_name: { minLength: 1, type: 'string' },
|
|
4742
4905
|
ends_at: { type: 'string' },
|
|
4906
|
+
errors: {
|
|
4907
|
+
items: {
|
|
4908
|
+
properties: {
|
|
4909
|
+
error_code: { type: 'string' },
|
|
4910
|
+
message: { type: 'string' },
|
|
4911
|
+
},
|
|
4912
|
+
required: ['error_code', 'message'],
|
|
4913
|
+
type: 'object',
|
|
4914
|
+
},
|
|
4915
|
+
type: 'array',
|
|
4916
|
+
},
|
|
4743
4917
|
external_type: {
|
|
4744
4918
|
enum: [
|
|
4745
4919
|
'pti_card',
|
|
@@ -4773,6 +4947,17 @@ export default {
|
|
|
4773
4947
|
},
|
|
4774
4948
|
type: 'object',
|
|
4775
4949
|
},
|
|
4950
|
+
warnings: {
|
|
4951
|
+
items: {
|
|
4952
|
+
properties: {
|
|
4953
|
+
message: { type: 'string' },
|
|
4954
|
+
warning_code: { type: 'string' },
|
|
4955
|
+
},
|
|
4956
|
+
required: ['warning_code', 'message'],
|
|
4957
|
+
type: 'object',
|
|
4958
|
+
},
|
|
4959
|
+
type: 'array',
|
|
4960
|
+
},
|
|
4776
4961
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4777
4962
|
},
|
|
4778
4963
|
required: [
|
|
@@ -4782,6 +4967,8 @@ export default {
|
|
|
4782
4967
|
'access_method',
|
|
4783
4968
|
'created_at',
|
|
4784
4969
|
'workspace_id',
|
|
4970
|
+
'errors',
|
|
4971
|
+
'warnings',
|
|
4785
4972
|
],
|
|
4786
4973
|
type: 'object',
|
|
4787
4974
|
},
|
|
@@ -4845,6 +5032,17 @@ export default {
|
|
|
4845
5032
|
created_at: { format: 'date-time', type: 'string' },
|
|
4846
5033
|
display_name: { minLength: 1, type: 'string' },
|
|
4847
5034
|
ends_at: { type: 'string' },
|
|
5035
|
+
errors: {
|
|
5036
|
+
items: {
|
|
5037
|
+
properties: {
|
|
5038
|
+
error_code: { type: 'string' },
|
|
5039
|
+
message: { type: 'string' },
|
|
5040
|
+
},
|
|
5041
|
+
required: ['error_code', 'message'],
|
|
5042
|
+
type: 'object',
|
|
5043
|
+
},
|
|
5044
|
+
type: 'array',
|
|
5045
|
+
},
|
|
4848
5046
|
external_type: {
|
|
4849
5047
|
enum: [
|
|
4850
5048
|
'pti_card',
|
|
@@ -4878,6 +5076,17 @@ export default {
|
|
|
4878
5076
|
},
|
|
4879
5077
|
type: 'object',
|
|
4880
5078
|
},
|
|
5079
|
+
warnings: {
|
|
5080
|
+
items: {
|
|
5081
|
+
properties: {
|
|
5082
|
+
message: { type: 'string' },
|
|
5083
|
+
warning_code: { type: 'string' },
|
|
5084
|
+
},
|
|
5085
|
+
required: ['warning_code', 'message'],
|
|
5086
|
+
type: 'object',
|
|
5087
|
+
},
|
|
5088
|
+
type: 'array',
|
|
5089
|
+
},
|
|
4881
5090
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
4882
5091
|
},
|
|
4883
5092
|
required: [
|
|
@@ -4887,6 +5096,8 @@ export default {
|
|
|
4887
5096
|
'access_method',
|
|
4888
5097
|
'created_at',
|
|
4889
5098
|
'workspace_id',
|
|
5099
|
+
'errors',
|
|
5100
|
+
'warnings',
|
|
4890
5101
|
],
|
|
4891
5102
|
type: 'object',
|
|
4892
5103
|
},
|
|
@@ -5206,6 +5417,17 @@ export default {
|
|
|
5206
5417
|
created_at: { format: 'date-time', type: 'string' },
|
|
5207
5418
|
display_name: { minLength: 1, type: 'string' },
|
|
5208
5419
|
ends_at: { type: 'string' },
|
|
5420
|
+
errors: {
|
|
5421
|
+
items: {
|
|
5422
|
+
properties: {
|
|
5423
|
+
error_code: { type: 'string' },
|
|
5424
|
+
message: { type: 'string' },
|
|
5425
|
+
},
|
|
5426
|
+
required: ['error_code', 'message'],
|
|
5427
|
+
type: 'object',
|
|
5428
|
+
},
|
|
5429
|
+
type: 'array',
|
|
5430
|
+
},
|
|
5209
5431
|
external_type: {
|
|
5210
5432
|
enum: [
|
|
5211
5433
|
'pti_card',
|
|
@@ -5239,6 +5461,17 @@ export default {
|
|
|
5239
5461
|
},
|
|
5240
5462
|
type: 'object',
|
|
5241
5463
|
},
|
|
5464
|
+
warnings: {
|
|
5465
|
+
items: {
|
|
5466
|
+
properties: {
|
|
5467
|
+
message: { type: 'string' },
|
|
5468
|
+
warning_code: { type: 'string' },
|
|
5469
|
+
},
|
|
5470
|
+
required: ['warning_code', 'message'],
|
|
5471
|
+
type: 'object',
|
|
5472
|
+
},
|
|
5473
|
+
type: 'array',
|
|
5474
|
+
},
|
|
5242
5475
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
5243
5476
|
},
|
|
5244
5477
|
required: [
|
|
@@ -5248,6 +5481,8 @@ export default {
|
|
|
5248
5481
|
'access_method',
|
|
5249
5482
|
'created_at',
|
|
5250
5483
|
'workspace_id',
|
|
5484
|
+
'errors',
|
|
5485
|
+
'warnings',
|
|
5251
5486
|
],
|
|
5252
5487
|
type: 'object',
|
|
5253
5488
|
},
|
|
@@ -9332,6 +9567,48 @@ export default {
|
|
|
9332
9567
|
'x-fern-sdk-method-name': 'trigger_noise_threshold',
|
|
9333
9568
|
},
|
|
9334
9569
|
},
|
|
9570
|
+
'/phones/deactivate': {
|
|
9571
|
+
post: {
|
|
9572
|
+
operationId: 'phonesDeactivatePost',
|
|
9573
|
+
requestBody: {
|
|
9574
|
+
content: {
|
|
9575
|
+
'application/json': {
|
|
9576
|
+
schema: {
|
|
9577
|
+
properties: { device_id: { type: 'string' } },
|
|
9578
|
+
required: ['device_id'],
|
|
9579
|
+
type: 'object',
|
|
9580
|
+
},
|
|
9581
|
+
},
|
|
9582
|
+
},
|
|
9583
|
+
},
|
|
9584
|
+
responses: {
|
|
9585
|
+
200: {
|
|
9586
|
+
content: {
|
|
9587
|
+
'application/json': {
|
|
9588
|
+
schema: {
|
|
9589
|
+
properties: { ok: { type: 'boolean' } },
|
|
9590
|
+
required: ['ok'],
|
|
9591
|
+
type: 'object',
|
|
9592
|
+
},
|
|
9593
|
+
},
|
|
9594
|
+
},
|
|
9595
|
+
description: 'OK',
|
|
9596
|
+
},
|
|
9597
|
+
400: { description: 'Bad Request' },
|
|
9598
|
+
401: { description: 'Unauthorized' },
|
|
9599
|
+
},
|
|
9600
|
+
security: [
|
|
9601
|
+
{ client_session: [] },
|
|
9602
|
+
{ pat_with_workspace: [] },
|
|
9603
|
+
{ console_session: [] },
|
|
9604
|
+
{ api_key: [] },
|
|
9605
|
+
],
|
|
9606
|
+
summary: '/phones/deactivate',
|
|
9607
|
+
tags: ['/phones'],
|
|
9608
|
+
'x-fern-sdk-group-name': ['phones'],
|
|
9609
|
+
'x-fern-sdk-method-name': 'deactivate',
|
|
9610
|
+
},
|
|
9611
|
+
},
|
|
9335
9612
|
'/phones/list': {
|
|
9336
9613
|
post: {
|
|
9337
9614
|
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
|
| {
|
|
@@ -870,15 +878,8 @@ export interface Routes {
|
|
|
870
878
|
acs_user_id: string
|
|
871
879
|
access_method: 'code' | 'card' | 'mobile_key'
|
|
872
880
|
code?: string | undefined
|
|
873
|
-
is_multi_phone_sync_credential?: boolean
|
|
874
|
-
external_type?:
|
|
875
|
-
| (
|
|
876
|
-
| 'pti_card'
|
|
877
|
-
| 'brivo_credential'
|
|
878
|
-
| 'hid_credential'
|
|
879
|
-
| 'visionline_card'
|
|
880
|
-
)
|
|
881
|
-
| undefined
|
|
881
|
+
is_multi_phone_sync_credential?: boolean
|
|
882
|
+
external_type?: 'visionline_card' | undefined
|
|
882
883
|
visionline_metadata?:
|
|
883
884
|
| {
|
|
884
885
|
assa_abloy_credential_service_mobile_endpoint_id?:
|
|
@@ -916,6 +917,14 @@ export interface Routes {
|
|
|
916
917
|
workspace_id: string
|
|
917
918
|
starts_at?: string | undefined
|
|
918
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
|
+
}>
|
|
919
928
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
920
929
|
visionline_metadata?:
|
|
921
930
|
| {
|
|
@@ -970,6 +979,14 @@ export interface Routes {
|
|
|
970
979
|
workspace_id: string
|
|
971
980
|
starts_at?: string | undefined
|
|
972
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
|
+
}>
|
|
973
990
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
974
991
|
visionline_metadata?:
|
|
975
992
|
| {
|
|
@@ -1024,6 +1041,14 @@ export interface Routes {
|
|
|
1024
1041
|
workspace_id: string
|
|
1025
1042
|
starts_at?: string | undefined
|
|
1026
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
|
+
}>
|
|
1027
1052
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1028
1053
|
visionline_metadata?:
|
|
1029
1054
|
| {
|
|
@@ -1068,6 +1093,14 @@ export interface Routes {
|
|
|
1068
1093
|
workspace_id: string
|
|
1069
1094
|
starts_at?: string | undefined
|
|
1070
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
|
+
}>
|
|
1071
1104
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1072
1105
|
visionline_metadata?:
|
|
1073
1106
|
| {
|
|
@@ -1112,6 +1145,14 @@ export interface Routes {
|
|
|
1112
1145
|
workspace_id: string
|
|
1113
1146
|
starts_at?: string | undefined
|
|
1114
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
|
+
}>
|
|
1115
1156
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1116
1157
|
visionline_metadata?:
|
|
1117
1158
|
| {
|
|
@@ -1235,6 +1276,14 @@ export interface Routes {
|
|
|
1235
1276
|
workspace_id: string
|
|
1236
1277
|
starts_at?: string | undefined
|
|
1237
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
|
+
}>
|
|
1238
1287
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
1239
1288
|
visionline_metadata?:
|
|
1240
1289
|
| {
|
|
@@ -7325,6 +7374,17 @@ export interface Routes {
|
|
|
7325
7374
|
formData: {}
|
|
7326
7375
|
jsonResponse: {}
|
|
7327
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
|
+
}
|
|
7328
7388
|
'/phones/list': {
|
|
7329
7389
|
route: '/phones/list'
|
|
7330
7390
|
method: 'GET' | 'POST'
|
|
@@ -43,6 +43,18 @@ export const acs_credential = z.object({
|
|
|
43
43
|
workspace_id: z.string().uuid(),
|
|
44
44
|
starts_at: z.string().optional(),
|
|
45
45
|
ends_at: z.string().optional(),
|
|
46
|
+
errors: z.array(
|
|
47
|
+
z.object({
|
|
48
|
+
error_code: z.string(),
|
|
49
|
+
message: z.string(),
|
|
50
|
+
}),
|
|
51
|
+
),
|
|
52
|
+
warnings: z.array(
|
|
53
|
+
z.object({
|
|
54
|
+
warning_code: z.string(),
|
|
55
|
+
message: z.string(),
|
|
56
|
+
}),
|
|
57
|
+
),
|
|
46
58
|
is_multi_phone_sync_credential: z.boolean().optional(),
|
|
47
59
|
visionline_metadata: acs_credential_visionline_metadata.optional(),
|
|
48
60
|
})
|