@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.
@@ -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
  },
@@ -4127,6 +4175,17 @@ export default {
4127
4175
  created_at: { format: 'date-time', type: 'string' },
4128
4176
  display_name: { minLength: 1, type: 'string' },
4129
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
+ },
4130
4189
  external_type: {
4131
4190
  enum: [
4132
4191
  'pti_card',
@@ -4160,6 +4219,17 @@ export default {
4160
4219
  },
4161
4220
  type: 'object',
4162
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
+ },
4163
4233
  workspace_id: { format: 'uuid', type: 'string' },
4164
4234
  },
4165
4235
  required: [
@@ -4169,6 +4239,8 @@ export default {
4169
4239
  'access_method',
4170
4240
  'created_at',
4171
4241
  'workspace_id',
4242
+ 'errors',
4243
+ 'warnings',
4172
4244
  ],
4173
4245
  type: 'object',
4174
4246
  },
@@ -4277,6 +4349,17 @@ export default {
4277
4349
  created_at: { format: 'date-time', type: 'string' },
4278
4350
  display_name: { minLength: 1, type: 'string' },
4279
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
+ },
4280
4363
  external_type: {
4281
4364
  enum: [
4282
4365
  'pti_card',
@@ -4310,6 +4393,17 @@ export default {
4310
4393
  },
4311
4394
  type: 'object',
4312
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
+ },
4313
4407
  workspace_id: { format: 'uuid', type: 'string' },
4314
4408
  },
4315
4409
  required: [
@@ -4319,6 +4413,8 @@ export default {
4319
4413
  'access_method',
4320
4414
  'created_at',
4321
4415
  'workspace_id',
4416
+ 'errors',
4417
+ 'warnings',
4322
4418
  ],
4323
4419
  type: 'object',
4324
4420
  },
@@ -4411,6 +4507,17 @@ export default {
4411
4507
  created_at: { format: 'date-time', type: 'string' },
4412
4508
  display_name: { minLength: 1, type: 'string' },
4413
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
+ },
4414
4521
  external_type: {
4415
4522
  enum: [
4416
4523
  'pti_card',
@@ -4444,6 +4551,17 @@ export default {
4444
4551
  },
4445
4552
  type: 'object',
4446
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
+ },
4447
4565
  workspace_id: { format: 'uuid', type: 'string' },
4448
4566
  },
4449
4567
  required: [
@@ -4453,6 +4571,8 @@ export default {
4453
4571
  'access_method',
4454
4572
  'created_at',
4455
4573
  'workspace_id',
4574
+ 'errors',
4575
+ 'warnings',
4456
4576
  ],
4457
4577
  type: 'object',
4458
4578
  },
@@ -4522,6 +4642,17 @@ export default {
4522
4642
  created_at: { format: 'date-time', type: 'string' },
4523
4643
  display_name: { minLength: 1, type: 'string' },
4524
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
+ },
4525
4656
  external_type: {
4526
4657
  enum: [
4527
4658
  'pti_card',
@@ -4555,6 +4686,17 @@ export default {
4555
4686
  },
4556
4687
  type: 'object',
4557
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
+ },
4558
4700
  workspace_id: { format: 'uuid', type: 'string' },
4559
4701
  },
4560
4702
  required: [
@@ -4564,6 +4706,8 @@ export default {
4564
4706
  'access_method',
4565
4707
  'created_at',
4566
4708
  'workspace_id',
4709
+ 'errors',
4710
+ 'warnings',
4567
4711
  ],
4568
4712
  type: 'object',
4569
4713
  },
@@ -4627,6 +4771,17 @@ export default {
4627
4771
  created_at: { format: 'date-time', type: 'string' },
4628
4772
  display_name: { minLength: 1, type: 'string' },
4629
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
+ },
4630
4785
  external_type: {
4631
4786
  enum: [
4632
4787
  'pti_card',
@@ -4660,6 +4815,17 @@ export default {
4660
4815
  },
4661
4816
  type: 'object',
4662
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
+ },
4663
4829
  workspace_id: { format: 'uuid', type: 'string' },
4664
4830
  },
4665
4831
  required: [
@@ -4669,6 +4835,8 @@ export default {
4669
4835
  'access_method',
4670
4836
  'created_at',
4671
4837
  'workspace_id',
4838
+ 'errors',
4839
+ 'warnings',
4672
4840
  ],
4673
4841
  type: 'object',
4674
4842
  },
@@ -4735,6 +4903,17 @@ export default {
4735
4903
  created_at: { format: 'date-time', type: 'string' },
4736
4904
  display_name: { minLength: 1, type: 'string' },
4737
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
+ },
4738
4917
  external_type: {
4739
4918
  enum: [
4740
4919
  'pti_card',
@@ -4768,6 +4947,17 @@ export default {
4768
4947
  },
4769
4948
  type: 'object',
4770
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
+ },
4771
4961
  workspace_id: { format: 'uuid', type: 'string' },
4772
4962
  },
4773
4963
  required: [
@@ -4777,6 +4967,8 @@ export default {
4777
4967
  'access_method',
4778
4968
  'created_at',
4779
4969
  'workspace_id',
4970
+ 'errors',
4971
+ 'warnings',
4780
4972
  ],
4781
4973
  type: 'object',
4782
4974
  },
@@ -4840,6 +5032,17 @@ export default {
4840
5032
  created_at: { format: 'date-time', type: 'string' },
4841
5033
  display_name: { minLength: 1, type: 'string' },
4842
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
+ },
4843
5046
  external_type: {
4844
5047
  enum: [
4845
5048
  'pti_card',
@@ -4873,6 +5076,17 @@ export default {
4873
5076
  },
4874
5077
  type: 'object',
4875
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
+ },
4876
5090
  workspace_id: { format: 'uuid', type: 'string' },
4877
5091
  },
4878
5092
  required: [
@@ -4882,6 +5096,8 @@ export default {
4882
5096
  'access_method',
4883
5097
  'created_at',
4884
5098
  'workspace_id',
5099
+ 'errors',
5100
+ 'warnings',
4885
5101
  ],
4886
5102
  type: 'object',
4887
5103
  },
@@ -5201,6 +5417,17 @@ export default {
5201
5417
  created_at: { format: 'date-time', type: 'string' },
5202
5418
  display_name: { minLength: 1, type: 'string' },
5203
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
+ },
5204
5431
  external_type: {
5205
5432
  enum: [
5206
5433
  'pti_card',
@@ -5234,6 +5461,17 @@ export default {
5234
5461
  },
5235
5462
  type: 'object',
5236
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
+ },
5237
5475
  workspace_id: { format: 'uuid', type: 'string' },
5238
5476
  },
5239
5477
  required: [
@@ -5243,6 +5481,8 @@ export default {
5243
5481
  'access_method',
5244
5482
  'created_at',
5245
5483
  'workspace_id',
5484
+ 'errors',
5485
+ 'warnings',
5246
5486
  ],
5247
5487
  type: 'object',
5248
5488
  },
@@ -9327,6 +9567,48 @@ export default {
9327
9567
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
9328
9568
  },
9329
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
+ },
9330
9612
  '/phones/list': {
9331
9613
  post: {
9332
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
  | {
@@ -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
  | {
@@ -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'
@@ -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
  })