@seamapi/types 1.810.0 → 1.812.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 +232 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +390 -0
- package/dist/index.cjs +232 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +96 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +22 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +43 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +195 -0
- package/lib/seam/connect/openapi.js +209 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +121 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +30 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +239 -0
- package/src/lib/seam/connect/route-types.ts +165 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4072,6 +4072,25 @@ declare const access_grant: z.ZodObject<{
|
|
|
4072
4072
|
device_id: string;
|
|
4073
4073
|
created_at: string;
|
|
4074
4074
|
warning_code: "device_does_not_support_access_codes";
|
|
4075
|
+
}>, z.ZodObject<{
|
|
4076
|
+
created_at: z.ZodString;
|
|
4077
|
+
message: z.ZodString;
|
|
4078
|
+
} & {
|
|
4079
|
+
warning_code: z.ZodLiteral<"device_time_constraints_violated">;
|
|
4080
|
+
device_id: z.ZodString;
|
|
4081
|
+
reason: z.ZodEnum<["duration_exceeds_max", "times_do_not_match_slots", "ongoing_not_supported"]>;
|
|
4082
|
+
}, "strip", z.ZodTypeAny, {
|
|
4083
|
+
message: string;
|
|
4084
|
+
device_id: string;
|
|
4085
|
+
created_at: string;
|
|
4086
|
+
warning_code: "device_time_constraints_violated";
|
|
4087
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
4088
|
+
}, {
|
|
4089
|
+
message: string;
|
|
4090
|
+
device_id: string;
|
|
4091
|
+
created_at: string;
|
|
4092
|
+
warning_code: "device_time_constraints_violated";
|
|
4093
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
4075
4094
|
}>]>, "many">;
|
|
4076
4095
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
4077
4096
|
created_at: z.ZodString;
|
|
@@ -4231,6 +4250,12 @@ declare const access_grant: z.ZodObject<{
|
|
|
4231
4250
|
device_id: string;
|
|
4232
4251
|
created_at: string;
|
|
4233
4252
|
warning_code: "device_does_not_support_access_codes";
|
|
4253
|
+
} | {
|
|
4254
|
+
message: string;
|
|
4255
|
+
device_id: string;
|
|
4256
|
+
created_at: string;
|
|
4257
|
+
warning_code: "device_time_constraints_violated";
|
|
4258
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
4234
4259
|
})[];
|
|
4235
4260
|
space_ids: string[];
|
|
4236
4261
|
pending_mutations: ({
|
|
@@ -4321,6 +4346,12 @@ declare const access_grant: z.ZodObject<{
|
|
|
4321
4346
|
device_id: string;
|
|
4322
4347
|
created_at: string;
|
|
4323
4348
|
warning_code: "device_does_not_support_access_codes";
|
|
4349
|
+
} | {
|
|
4350
|
+
message: string;
|
|
4351
|
+
device_id: string;
|
|
4352
|
+
created_at: string;
|
|
4353
|
+
warning_code: "device_time_constraints_violated";
|
|
4354
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
4324
4355
|
})[];
|
|
4325
4356
|
space_ids: string[];
|
|
4326
4357
|
pending_mutations: ({
|
|
@@ -29457,6 +29488,25 @@ declare const batch: z.ZodObject<{
|
|
|
29457
29488
|
device_id: string;
|
|
29458
29489
|
created_at: string;
|
|
29459
29490
|
warning_code: "device_does_not_support_access_codes";
|
|
29491
|
+
}>, z.ZodObject<{
|
|
29492
|
+
created_at: z.ZodString;
|
|
29493
|
+
message: z.ZodString;
|
|
29494
|
+
} & {
|
|
29495
|
+
warning_code: z.ZodLiteral<"device_time_constraints_violated">;
|
|
29496
|
+
device_id: z.ZodString;
|
|
29497
|
+
reason: z.ZodEnum<["duration_exceeds_max", "times_do_not_match_slots", "ongoing_not_supported"]>;
|
|
29498
|
+
}, "strip", z.ZodTypeAny, {
|
|
29499
|
+
message: string;
|
|
29500
|
+
device_id: string;
|
|
29501
|
+
created_at: string;
|
|
29502
|
+
warning_code: "device_time_constraints_violated";
|
|
29503
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
29504
|
+
}, {
|
|
29505
|
+
message: string;
|
|
29506
|
+
device_id: string;
|
|
29507
|
+
created_at: string;
|
|
29508
|
+
warning_code: "device_time_constraints_violated";
|
|
29509
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
29460
29510
|
}>]>, "many">;
|
|
29461
29511
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
29462
29512
|
created_at: z.ZodString;
|
|
@@ -29616,6 +29666,12 @@ declare const batch: z.ZodObject<{
|
|
|
29616
29666
|
device_id: string;
|
|
29617
29667
|
created_at: string;
|
|
29618
29668
|
warning_code: "device_does_not_support_access_codes";
|
|
29669
|
+
} | {
|
|
29670
|
+
message: string;
|
|
29671
|
+
device_id: string;
|
|
29672
|
+
created_at: string;
|
|
29673
|
+
warning_code: "device_time_constraints_violated";
|
|
29674
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
29619
29675
|
})[];
|
|
29620
29676
|
space_ids: string[];
|
|
29621
29677
|
pending_mutations: ({
|
|
@@ -29706,6 +29762,12 @@ declare const batch: z.ZodObject<{
|
|
|
29706
29762
|
device_id: string;
|
|
29707
29763
|
created_at: string;
|
|
29708
29764
|
warning_code: "device_does_not_support_access_codes";
|
|
29765
|
+
} | {
|
|
29766
|
+
message: string;
|
|
29767
|
+
device_id: string;
|
|
29768
|
+
created_at: string;
|
|
29769
|
+
warning_code: "device_time_constraints_violated";
|
|
29770
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
29709
29771
|
})[];
|
|
29710
29772
|
space_ids: string[];
|
|
29711
29773
|
pending_mutations: ({
|
|
@@ -41002,6 +41064,12 @@ declare const batch: z.ZodObject<{
|
|
|
41002
41064
|
device_id: string;
|
|
41003
41065
|
created_at: string;
|
|
41004
41066
|
warning_code: "device_does_not_support_access_codes";
|
|
41067
|
+
} | {
|
|
41068
|
+
message: string;
|
|
41069
|
+
device_id: string;
|
|
41070
|
+
created_at: string;
|
|
41071
|
+
warning_code: "device_time_constraints_violated";
|
|
41072
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
41005
41073
|
})[];
|
|
41006
41074
|
space_ids: string[];
|
|
41007
41075
|
pending_mutations: ({
|
|
@@ -45944,6 +46012,12 @@ declare const batch: z.ZodObject<{
|
|
|
45944
46012
|
device_id: string;
|
|
45945
46013
|
created_at: string;
|
|
45946
46014
|
warning_code: "device_does_not_support_access_codes";
|
|
46015
|
+
} | {
|
|
46016
|
+
message: string;
|
|
46017
|
+
device_id: string;
|
|
46018
|
+
created_at: string;
|
|
46019
|
+
warning_code: "device_time_constraints_violated";
|
|
46020
|
+
reason: "duration_exceeds_max" | "times_do_not_match_slots" | "ongoing_not_supported";
|
|
45947
46021
|
})[];
|
|
45948
46022
|
space_ids: string[];
|
|
45949
46023
|
pending_mutations: ({
|
|
@@ -64475,6 +64549,7 @@ declare const _default: {
|
|
|
64475
64549
|
device_id?: never;
|
|
64476
64550
|
new_code?: never;
|
|
64477
64551
|
original_code?: never;
|
|
64552
|
+
reason?: never;
|
|
64478
64553
|
};
|
|
64479
64554
|
required: string[];
|
|
64480
64555
|
type: string;
|
|
@@ -64522,6 +64597,7 @@ declare const _default: {
|
|
|
64522
64597
|
device_id?: never;
|
|
64523
64598
|
new_code?: never;
|
|
64524
64599
|
original_code?: never;
|
|
64600
|
+
reason?: never;
|
|
64525
64601
|
};
|
|
64526
64602
|
required: string[];
|
|
64527
64603
|
type: string;
|
|
@@ -64554,6 +64630,7 @@ declare const _default: {
|
|
|
64554
64630
|
device_id?: never;
|
|
64555
64631
|
new_code?: never;
|
|
64556
64632
|
original_code?: never;
|
|
64633
|
+
reason?: never;
|
|
64557
64634
|
};
|
|
64558
64635
|
required: string[];
|
|
64559
64636
|
type: string;
|
|
@@ -64589,6 +64666,37 @@ declare const _default: {
|
|
|
64589
64666
|
};
|
|
64590
64667
|
failed_devices?: never;
|
|
64591
64668
|
access_method_ids?: never;
|
|
64669
|
+
reason?: never;
|
|
64670
|
+
};
|
|
64671
|
+
required: string[];
|
|
64672
|
+
type: string;
|
|
64673
|
+
} | {
|
|
64674
|
+
description: string;
|
|
64675
|
+
properties: {
|
|
64676
|
+
created_at: {
|
|
64677
|
+
description: string;
|
|
64678
|
+
format: string;
|
|
64679
|
+
type: string;
|
|
64680
|
+
};
|
|
64681
|
+
device_id: {
|
|
64682
|
+
description: string;
|
|
64683
|
+
format: string;
|
|
64684
|
+
type: string;
|
|
64685
|
+
};
|
|
64686
|
+
message: {
|
|
64687
|
+
description: string;
|
|
64688
|
+
type: string;
|
|
64689
|
+
};
|
|
64690
|
+
warning_code: {
|
|
64691
|
+
description: string;
|
|
64692
|
+
enum: string[];
|
|
64693
|
+
type: string;
|
|
64694
|
+
};
|
|
64695
|
+
failed_devices?: never;
|
|
64696
|
+
access_method_ids?: never;
|
|
64697
|
+
new_code?: never;
|
|
64698
|
+
original_code?: never;
|
|
64699
|
+
reason?: never;
|
|
64592
64700
|
};
|
|
64593
64701
|
required: string[];
|
|
64594
64702
|
type: string;
|
|
@@ -64609,6 +64717,11 @@ declare const _default: {
|
|
|
64609
64717
|
description: string;
|
|
64610
64718
|
type: string;
|
|
64611
64719
|
};
|
|
64720
|
+
reason: {
|
|
64721
|
+
description: string;
|
|
64722
|
+
enum: string[];
|
|
64723
|
+
type: string;
|
|
64724
|
+
};
|
|
64612
64725
|
warning_code: {
|
|
64613
64726
|
description: string;
|
|
64614
64727
|
enum: string[];
|
|
@@ -88116,6 +88229,7 @@ declare const _default: {
|
|
|
88116
88229
|
device_id?: never;
|
|
88117
88230
|
new_code?: never;
|
|
88118
88231
|
original_code?: never;
|
|
88232
|
+
reason?: never;
|
|
88119
88233
|
};
|
|
88120
88234
|
required: string[];
|
|
88121
88235
|
type: string;
|
|
@@ -88163,6 +88277,7 @@ declare const _default: {
|
|
|
88163
88277
|
device_id?: never;
|
|
88164
88278
|
new_code?: never;
|
|
88165
88279
|
original_code?: never;
|
|
88280
|
+
reason?: never;
|
|
88166
88281
|
};
|
|
88167
88282
|
required: string[];
|
|
88168
88283
|
type: string;
|
|
@@ -88195,6 +88310,7 @@ declare const _default: {
|
|
|
88195
88310
|
device_id?: never;
|
|
88196
88311
|
new_code?: never;
|
|
88197
88312
|
original_code?: never;
|
|
88313
|
+
reason?: never;
|
|
88198
88314
|
};
|
|
88199
88315
|
required: string[];
|
|
88200
88316
|
type: string;
|
|
@@ -88230,6 +88346,7 @@ declare const _default: {
|
|
|
88230
88346
|
};
|
|
88231
88347
|
failed_devices?: never;
|
|
88232
88348
|
access_method_ids?: never;
|
|
88349
|
+
reason?: never;
|
|
88233
88350
|
};
|
|
88234
88351
|
required: string[];
|
|
88235
88352
|
type: string;
|
|
@@ -88259,6 +88376,41 @@ declare const _default: {
|
|
|
88259
88376
|
access_method_ids?: never;
|
|
88260
88377
|
new_code?: never;
|
|
88261
88378
|
original_code?: never;
|
|
88379
|
+
reason?: never;
|
|
88380
|
+
};
|
|
88381
|
+
required: string[];
|
|
88382
|
+
type: string;
|
|
88383
|
+
} | {
|
|
88384
|
+
description: string;
|
|
88385
|
+
properties: {
|
|
88386
|
+
created_at: {
|
|
88387
|
+
description: string;
|
|
88388
|
+
format: string;
|
|
88389
|
+
type: string;
|
|
88390
|
+
};
|
|
88391
|
+
device_id: {
|
|
88392
|
+
description: string;
|
|
88393
|
+
format: string;
|
|
88394
|
+
type: string;
|
|
88395
|
+
};
|
|
88396
|
+
message: {
|
|
88397
|
+
description: string;
|
|
88398
|
+
type: string;
|
|
88399
|
+
};
|
|
88400
|
+
reason: {
|
|
88401
|
+
description: string;
|
|
88402
|
+
enum: string[];
|
|
88403
|
+
type: string;
|
|
88404
|
+
};
|
|
88405
|
+
warning_code: {
|
|
88406
|
+
description: string;
|
|
88407
|
+
enum: string[];
|
|
88408
|
+
type: string;
|
|
88409
|
+
};
|
|
88410
|
+
failed_devices?: never;
|
|
88411
|
+
access_method_ids?: never;
|
|
88412
|
+
new_code?: never;
|
|
88413
|
+
original_code?: never;
|
|
88262
88414
|
};
|
|
88263
88415
|
required: string[];
|
|
88264
88416
|
type: string;
|
|
@@ -88658,6 +88810,7 @@ declare const _default: {
|
|
|
88658
88810
|
device_id?: never;
|
|
88659
88811
|
new_code?: never;
|
|
88660
88812
|
original_code?: never;
|
|
88813
|
+
reason?: never;
|
|
88661
88814
|
};
|
|
88662
88815
|
required: string[];
|
|
88663
88816
|
type: string;
|
|
@@ -88705,6 +88858,7 @@ declare const _default: {
|
|
|
88705
88858
|
device_id?: never;
|
|
88706
88859
|
new_code?: never;
|
|
88707
88860
|
original_code?: never;
|
|
88861
|
+
reason?: never;
|
|
88708
88862
|
};
|
|
88709
88863
|
required: string[];
|
|
88710
88864
|
type: string;
|
|
@@ -88737,6 +88891,7 @@ declare const _default: {
|
|
|
88737
88891
|
device_id?: never;
|
|
88738
88892
|
new_code?: never;
|
|
88739
88893
|
original_code?: never;
|
|
88894
|
+
reason?: never;
|
|
88740
88895
|
};
|
|
88741
88896
|
required: string[];
|
|
88742
88897
|
type: string;
|
|
@@ -88772,6 +88927,37 @@ declare const _default: {
|
|
|
88772
88927
|
};
|
|
88773
88928
|
failed_devices?: never;
|
|
88774
88929
|
access_method_ids?: never;
|
|
88930
|
+
reason?: never;
|
|
88931
|
+
};
|
|
88932
|
+
required: string[];
|
|
88933
|
+
type: string;
|
|
88934
|
+
} | {
|
|
88935
|
+
description: string;
|
|
88936
|
+
properties: {
|
|
88937
|
+
created_at: {
|
|
88938
|
+
description: string;
|
|
88939
|
+
format: string;
|
|
88940
|
+
type: string;
|
|
88941
|
+
};
|
|
88942
|
+
device_id: {
|
|
88943
|
+
description: string;
|
|
88944
|
+
format: string;
|
|
88945
|
+
type: string;
|
|
88946
|
+
};
|
|
88947
|
+
message: {
|
|
88948
|
+
description: string;
|
|
88949
|
+
type: string;
|
|
88950
|
+
};
|
|
88951
|
+
warning_code: {
|
|
88952
|
+
description: string;
|
|
88953
|
+
enum: string[];
|
|
88954
|
+
type: string;
|
|
88955
|
+
};
|
|
88956
|
+
failed_devices?: never;
|
|
88957
|
+
access_method_ids?: never;
|
|
88958
|
+
new_code?: never;
|
|
88959
|
+
original_code?: never;
|
|
88960
|
+
reason?: never;
|
|
88775
88961
|
};
|
|
88776
88962
|
required: string[];
|
|
88777
88963
|
type: string;
|
|
@@ -88792,6 +88978,11 @@ declare const _default: {
|
|
|
88792
88978
|
description: string;
|
|
88793
88979
|
type: string;
|
|
88794
88980
|
};
|
|
88981
|
+
reason: {
|
|
88982
|
+
description: string;
|
|
88983
|
+
enum: string[];
|
|
88984
|
+
type: string;
|
|
88985
|
+
};
|
|
88795
88986
|
warning_code: {
|
|
88796
88987
|
description: string;
|
|
88797
88988
|
enum: string[];
|
|
@@ -89227,6 +89418,7 @@ declare const _default: {
|
|
|
89227
89418
|
device_id?: never;
|
|
89228
89419
|
new_code?: never;
|
|
89229
89420
|
original_code?: never;
|
|
89421
|
+
reason?: never;
|
|
89230
89422
|
};
|
|
89231
89423
|
required: string[];
|
|
89232
89424
|
type: string;
|
|
@@ -89274,6 +89466,7 @@ declare const _default: {
|
|
|
89274
89466
|
device_id?: never;
|
|
89275
89467
|
new_code?: never;
|
|
89276
89468
|
original_code?: never;
|
|
89469
|
+
reason?: never;
|
|
89277
89470
|
};
|
|
89278
89471
|
required: string[];
|
|
89279
89472
|
type: string;
|
|
@@ -89306,6 +89499,7 @@ declare const _default: {
|
|
|
89306
89499
|
device_id?: never;
|
|
89307
89500
|
new_code?: never;
|
|
89308
89501
|
original_code?: never;
|
|
89502
|
+
reason?: never;
|
|
89309
89503
|
};
|
|
89310
89504
|
required: string[];
|
|
89311
89505
|
type: string;
|
|
@@ -89341,6 +89535,7 @@ declare const _default: {
|
|
|
89341
89535
|
};
|
|
89342
89536
|
failed_devices?: never;
|
|
89343
89537
|
access_method_ids?: never;
|
|
89538
|
+
reason?: never;
|
|
89344
89539
|
};
|
|
89345
89540
|
required: string[];
|
|
89346
89541
|
type: string;
|
|
@@ -89370,6 +89565,41 @@ declare const _default: {
|
|
|
89370
89565
|
access_method_ids?: never;
|
|
89371
89566
|
new_code?: never;
|
|
89372
89567
|
original_code?: never;
|
|
89568
|
+
reason?: never;
|
|
89569
|
+
};
|
|
89570
|
+
required: string[];
|
|
89571
|
+
type: string;
|
|
89572
|
+
} | {
|
|
89573
|
+
description: string;
|
|
89574
|
+
properties: {
|
|
89575
|
+
created_at: {
|
|
89576
|
+
description: string;
|
|
89577
|
+
format: string;
|
|
89578
|
+
type: string;
|
|
89579
|
+
};
|
|
89580
|
+
device_id: {
|
|
89581
|
+
description: string;
|
|
89582
|
+
format: string;
|
|
89583
|
+
type: string;
|
|
89584
|
+
};
|
|
89585
|
+
message: {
|
|
89586
|
+
description: string;
|
|
89587
|
+
type: string;
|
|
89588
|
+
};
|
|
89589
|
+
reason: {
|
|
89590
|
+
description: string;
|
|
89591
|
+
enum: string[];
|
|
89592
|
+
type: string;
|
|
89593
|
+
};
|
|
89594
|
+
warning_code: {
|
|
89595
|
+
description: string;
|
|
89596
|
+
enum: string[];
|
|
89597
|
+
type: string;
|
|
89598
|
+
};
|
|
89599
|
+
failed_devices?: never;
|
|
89600
|
+
access_method_ids?: never;
|
|
89601
|
+
new_code?: never;
|
|
89602
|
+
original_code?: never;
|
|
89373
89603
|
};
|
|
89374
89604
|
required: string[];
|
|
89375
89605
|
type: string;
|
|
@@ -89799,6 +90029,7 @@ declare const _default: {
|
|
|
89799
90029
|
device_id?: never;
|
|
89800
90030
|
new_code?: never;
|
|
89801
90031
|
original_code?: never;
|
|
90032
|
+
reason?: never;
|
|
89802
90033
|
};
|
|
89803
90034
|
required: string[];
|
|
89804
90035
|
type: string;
|
|
@@ -89846,6 +90077,7 @@ declare const _default: {
|
|
|
89846
90077
|
device_id?: never;
|
|
89847
90078
|
new_code?: never;
|
|
89848
90079
|
original_code?: never;
|
|
90080
|
+
reason?: never;
|
|
89849
90081
|
};
|
|
89850
90082
|
required: string[];
|
|
89851
90083
|
type: string;
|
|
@@ -89878,6 +90110,7 @@ declare const _default: {
|
|
|
89878
90110
|
device_id?: never;
|
|
89879
90111
|
new_code?: never;
|
|
89880
90112
|
original_code?: never;
|
|
90113
|
+
reason?: never;
|
|
89881
90114
|
};
|
|
89882
90115
|
required: string[];
|
|
89883
90116
|
type: string;
|
|
@@ -89913,6 +90146,7 @@ declare const _default: {
|
|
|
89913
90146
|
};
|
|
89914
90147
|
failed_devices?: never;
|
|
89915
90148
|
access_method_ids?: never;
|
|
90149
|
+
reason?: never;
|
|
89916
90150
|
};
|
|
89917
90151
|
required: string[];
|
|
89918
90152
|
type: string;
|
|
@@ -89942,6 +90176,41 @@ declare const _default: {
|
|
|
89942
90176
|
access_method_ids?: never;
|
|
89943
90177
|
new_code?: never;
|
|
89944
90178
|
original_code?: never;
|
|
90179
|
+
reason?: never;
|
|
90180
|
+
};
|
|
90181
|
+
required: string[];
|
|
90182
|
+
type: string;
|
|
90183
|
+
} | {
|
|
90184
|
+
description: string;
|
|
90185
|
+
properties: {
|
|
90186
|
+
created_at: {
|
|
90187
|
+
description: string;
|
|
90188
|
+
format: string;
|
|
90189
|
+
type: string;
|
|
90190
|
+
};
|
|
90191
|
+
device_id: {
|
|
90192
|
+
description: string;
|
|
90193
|
+
format: string;
|
|
90194
|
+
type: string;
|
|
90195
|
+
};
|
|
90196
|
+
message: {
|
|
90197
|
+
description: string;
|
|
90198
|
+
type: string;
|
|
90199
|
+
};
|
|
90200
|
+
reason: {
|
|
90201
|
+
description: string;
|
|
90202
|
+
enum: string[];
|
|
90203
|
+
type: string;
|
|
90204
|
+
};
|
|
90205
|
+
warning_code: {
|
|
90206
|
+
description: string;
|
|
90207
|
+
enum: string[];
|
|
90208
|
+
type: string;
|
|
90209
|
+
};
|
|
90210
|
+
failed_devices?: never;
|
|
90211
|
+
access_method_ids?: never;
|
|
90212
|
+
new_code?: never;
|
|
90213
|
+
original_code?: never;
|
|
89945
90214
|
};
|
|
89946
90215
|
required: string[];
|
|
89947
90216
|
type: string;
|
|
@@ -148822,6 +149091,17 @@ type Routes = {
|
|
|
148822
149091
|
warning_code: 'device_does_not_support_access_codes';
|
|
148823
149092
|
/** ID of the device that does not support access codes. */
|
|
148824
149093
|
device_id: string;
|
|
149094
|
+
} | {
|
|
149095
|
+
/** Date and time at which Seam created the warning. */
|
|
149096
|
+
created_at: string;
|
|
149097
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
149098
|
+
message: string;
|
|
149099
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
149100
|
+
warning_code: 'device_time_constraints_violated';
|
|
149101
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
149102
|
+
device_id: string;
|
|
149103
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
149104
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
148825
149105
|
})[];
|
|
148826
149106
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
148827
149107
|
errors: {
|
|
@@ -149019,6 +149299,17 @@ type Routes = {
|
|
|
149019
149299
|
warning_code: 'device_does_not_support_access_codes';
|
|
149020
149300
|
/** ID of the device that does not support access codes. */
|
|
149021
149301
|
device_id: string;
|
|
149302
|
+
} | {
|
|
149303
|
+
/** Date and time at which Seam created the warning. */
|
|
149304
|
+
created_at: string;
|
|
149305
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
149306
|
+
message: string;
|
|
149307
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
149308
|
+
warning_code: 'device_time_constraints_violated';
|
|
149309
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
149310
|
+
device_id: string;
|
|
149311
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
149312
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
149022
149313
|
})[];
|
|
149023
149314
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
149024
149315
|
errors: {
|
|
@@ -151308,6 +151599,17 @@ type Routes = {
|
|
|
151308
151599
|
warning_code: 'device_does_not_support_access_codes';
|
|
151309
151600
|
/** ID of the device that does not support access codes. */
|
|
151310
151601
|
device_id: string;
|
|
151602
|
+
} | {
|
|
151603
|
+
/** Date and time at which Seam created the warning. */
|
|
151604
|
+
created_at: string;
|
|
151605
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
151606
|
+
message: string;
|
|
151607
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
151608
|
+
warning_code: 'device_time_constraints_violated';
|
|
151609
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
151610
|
+
device_id: string;
|
|
151611
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
151612
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
151311
151613
|
})[];
|
|
151312
151614
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
151313
151615
|
errors: {
|
|
@@ -151507,6 +151809,17 @@ type Routes = {
|
|
|
151507
151809
|
warning_code: 'device_does_not_support_access_codes';
|
|
151508
151810
|
/** ID of the device that does not support access codes. */
|
|
151509
151811
|
device_id: string;
|
|
151812
|
+
} | {
|
|
151813
|
+
/** Date and time at which Seam created the warning. */
|
|
151814
|
+
created_at: string;
|
|
151815
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
151816
|
+
message: string;
|
|
151817
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
151818
|
+
warning_code: 'device_time_constraints_violated';
|
|
151819
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
151820
|
+
device_id: string;
|
|
151821
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
151822
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
151510
151823
|
})[];
|
|
151511
151824
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
151512
151825
|
errors: {
|
|
@@ -151680,6 +151993,17 @@ type Routes = {
|
|
|
151680
151993
|
warning_code: 'device_does_not_support_access_codes';
|
|
151681
151994
|
/** ID of the device that does not support access codes. */
|
|
151682
151995
|
device_id: string;
|
|
151996
|
+
} | {
|
|
151997
|
+
/** Date and time at which Seam created the warning. */
|
|
151998
|
+
created_at: string;
|
|
151999
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
152000
|
+
message: string;
|
|
152001
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
152002
|
+
warning_code: 'device_time_constraints_violated';
|
|
152003
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
152004
|
+
device_id: string;
|
|
152005
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
152006
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
151683
152007
|
})[];
|
|
151684
152008
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
151685
152009
|
errors: {
|
|
@@ -151862,6 +152186,17 @@ type Routes = {
|
|
|
151862
152186
|
warning_code: 'device_does_not_support_access_codes';
|
|
151863
152187
|
/** ID of the device that does not support access codes. */
|
|
151864
152188
|
device_id: string;
|
|
152189
|
+
} | {
|
|
152190
|
+
/** Date and time at which Seam created the warning. */
|
|
152191
|
+
created_at: string;
|
|
152192
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
152193
|
+
message: string;
|
|
152194
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
152195
|
+
warning_code: 'device_time_constraints_violated';
|
|
152196
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
152197
|
+
device_id: string;
|
|
152198
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
152199
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
151865
152200
|
})[];
|
|
151866
152201
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
151867
152202
|
errors: {
|
|
@@ -155065,6 +155400,17 @@ type Routes = {
|
|
|
155065
155400
|
warning_code: 'device_does_not_support_access_codes';
|
|
155066
155401
|
/** ID of the device that does not support access codes. */
|
|
155067
155402
|
device_id: string;
|
|
155403
|
+
} | {
|
|
155404
|
+
/** Date and time at which Seam created the warning. */
|
|
155405
|
+
created_at: string;
|
|
155406
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
155407
|
+
message: string;
|
|
155408
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
155409
|
+
warning_code: 'device_time_constraints_violated';
|
|
155410
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
155411
|
+
device_id: string;
|
|
155412
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
155413
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
155068
155414
|
})[];
|
|
155069
155415
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
155070
155416
|
errors: {
|
|
@@ -199475,6 +199821,17 @@ type Routes = {
|
|
|
199475
199821
|
warning_code: 'device_does_not_support_access_codes';
|
|
199476
199822
|
/** ID of the device that does not support access codes. */
|
|
199477
199823
|
device_id: string;
|
|
199824
|
+
} | {
|
|
199825
|
+
/** Date and time at which Seam created the warning. */
|
|
199826
|
+
created_at: string;
|
|
199827
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
199828
|
+
message: string;
|
|
199829
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
199830
|
+
warning_code: 'device_time_constraints_violated';
|
|
199831
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
199832
|
+
device_id: string;
|
|
199833
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
199834
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
199478
199835
|
})[];
|
|
199479
199836
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
199480
199837
|
errors: {
|
|
@@ -205115,6 +205472,17 @@ type Routes = {
|
|
|
205115
205472
|
warning_code: 'device_does_not_support_access_codes';
|
|
205116
205473
|
/** ID of the device that does not support access codes. */
|
|
205117
205474
|
device_id: string;
|
|
205475
|
+
} | {
|
|
205476
|
+
/** Date and time at which Seam created the warning. */
|
|
205477
|
+
created_at: string;
|
|
205478
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
205479
|
+
message: string;
|
|
205480
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
205481
|
+
warning_code: 'device_time_constraints_violated';
|
|
205482
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
205483
|
+
device_id: string;
|
|
205484
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
205485
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
205118
205486
|
})[];
|
|
205119
205487
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
205120
205488
|
errors: {
|
|
@@ -205568,6 +205936,17 @@ type Routes = {
|
|
|
205568
205936
|
warning_code: 'device_does_not_support_access_codes';
|
|
205569
205937
|
/** ID of the device that does not support access codes. */
|
|
205570
205938
|
device_id: string;
|
|
205939
|
+
} | {
|
|
205940
|
+
/** Date and time at which Seam created the warning. */
|
|
205941
|
+
created_at: string;
|
|
205942
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
205943
|
+
message: string;
|
|
205944
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
205945
|
+
warning_code: 'device_time_constraints_violated';
|
|
205946
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
205947
|
+
device_id: string;
|
|
205948
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
205949
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
205571
205950
|
})[];
|
|
205572
205951
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
205573
205952
|
errors: {
|
|
@@ -233981,6 +234360,17 @@ type Routes = {
|
|
|
233981
234360
|
warning_code: 'device_does_not_support_access_codes';
|
|
233982
234361
|
/** ID of the device that does not support access codes. */
|
|
233983
234362
|
device_id: string;
|
|
234363
|
+
} | {
|
|
234364
|
+
/** Date and time at which Seam created the warning. */
|
|
234365
|
+
created_at: string;
|
|
234366
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
234367
|
+
message: string;
|
|
234368
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
234369
|
+
warning_code: 'device_time_constraints_violated';
|
|
234370
|
+
/** ID of the device whose time constraints the access grant violates. */
|
|
234371
|
+
device_id: string;
|
|
234372
|
+
/** Specific reason why the grant's times are not programmable on the device. */
|
|
234373
|
+
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
233984
234374
|
})[];
|
|
233985
234375
|
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
233986
234376
|
errors: {
|