@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
|
@@ -970,6 +970,7 @@ declare const _default: {
|
|
|
970
970
|
device_id?: never;
|
|
971
971
|
new_code?: never;
|
|
972
972
|
original_code?: never;
|
|
973
|
+
reason?: never;
|
|
973
974
|
};
|
|
974
975
|
required: string[];
|
|
975
976
|
type: string;
|
|
@@ -1017,6 +1018,7 @@ declare const _default: {
|
|
|
1017
1018
|
device_id?: never;
|
|
1018
1019
|
new_code?: never;
|
|
1019
1020
|
original_code?: never;
|
|
1021
|
+
reason?: never;
|
|
1020
1022
|
};
|
|
1021
1023
|
required: string[];
|
|
1022
1024
|
type: string;
|
|
@@ -1049,6 +1051,7 @@ declare const _default: {
|
|
|
1049
1051
|
device_id?: never;
|
|
1050
1052
|
new_code?: never;
|
|
1051
1053
|
original_code?: never;
|
|
1054
|
+
reason?: never;
|
|
1052
1055
|
};
|
|
1053
1056
|
required: string[];
|
|
1054
1057
|
type: string;
|
|
@@ -1084,6 +1087,7 @@ declare const _default: {
|
|
|
1084
1087
|
};
|
|
1085
1088
|
failed_devices?: never;
|
|
1086
1089
|
access_method_ids?: never;
|
|
1090
|
+
reason?: never;
|
|
1087
1091
|
};
|
|
1088
1092
|
required: string[];
|
|
1089
1093
|
type: string;
|
|
@@ -1113,6 +1117,41 @@ declare const _default: {
|
|
|
1113
1117
|
access_method_ids?: never;
|
|
1114
1118
|
new_code?: never;
|
|
1115
1119
|
original_code?: never;
|
|
1120
|
+
reason?: never;
|
|
1121
|
+
};
|
|
1122
|
+
required: string[];
|
|
1123
|
+
type: string;
|
|
1124
|
+
} | {
|
|
1125
|
+
description: string;
|
|
1126
|
+
properties: {
|
|
1127
|
+
created_at: {
|
|
1128
|
+
description: string;
|
|
1129
|
+
format: string;
|
|
1130
|
+
type: string;
|
|
1131
|
+
};
|
|
1132
|
+
device_id: {
|
|
1133
|
+
description: string;
|
|
1134
|
+
format: string;
|
|
1135
|
+
type: string;
|
|
1136
|
+
};
|
|
1137
|
+
message: {
|
|
1138
|
+
description: string;
|
|
1139
|
+
type: string;
|
|
1140
|
+
};
|
|
1141
|
+
reason: {
|
|
1142
|
+
description: string;
|
|
1143
|
+
enum: string[];
|
|
1144
|
+
type: string;
|
|
1145
|
+
};
|
|
1146
|
+
warning_code: {
|
|
1147
|
+
description: string;
|
|
1148
|
+
enum: string[];
|
|
1149
|
+
type: string;
|
|
1150
|
+
};
|
|
1151
|
+
failed_devices?: never;
|
|
1152
|
+
access_method_ids?: never;
|
|
1153
|
+
new_code?: never;
|
|
1154
|
+
original_code?: never;
|
|
1116
1155
|
};
|
|
1117
1156
|
required: string[];
|
|
1118
1157
|
type: string;
|
|
@@ -24611,6 +24650,7 @@ declare const _default: {
|
|
|
24611
24650
|
device_id?: never;
|
|
24612
24651
|
new_code?: never;
|
|
24613
24652
|
original_code?: never;
|
|
24653
|
+
reason?: never;
|
|
24614
24654
|
};
|
|
24615
24655
|
required: string[];
|
|
24616
24656
|
type: string;
|
|
@@ -24658,6 +24698,7 @@ declare const _default: {
|
|
|
24658
24698
|
device_id?: never;
|
|
24659
24699
|
new_code?: never;
|
|
24660
24700
|
original_code?: never;
|
|
24701
|
+
reason?: never;
|
|
24661
24702
|
};
|
|
24662
24703
|
required: string[];
|
|
24663
24704
|
type: string;
|
|
@@ -24690,6 +24731,7 @@ declare const _default: {
|
|
|
24690
24731
|
device_id?: never;
|
|
24691
24732
|
new_code?: never;
|
|
24692
24733
|
original_code?: never;
|
|
24734
|
+
reason?: never;
|
|
24693
24735
|
};
|
|
24694
24736
|
required: string[];
|
|
24695
24737
|
type: string;
|
|
@@ -24725,6 +24767,7 @@ declare const _default: {
|
|
|
24725
24767
|
};
|
|
24726
24768
|
failed_devices?: never;
|
|
24727
24769
|
access_method_ids?: never;
|
|
24770
|
+
reason?: never;
|
|
24728
24771
|
};
|
|
24729
24772
|
required: string[];
|
|
24730
24773
|
type: string;
|
|
@@ -24754,6 +24797,41 @@ declare const _default: {
|
|
|
24754
24797
|
access_method_ids?: never;
|
|
24755
24798
|
new_code?: never;
|
|
24756
24799
|
original_code?: never;
|
|
24800
|
+
reason?: never;
|
|
24801
|
+
};
|
|
24802
|
+
required: string[];
|
|
24803
|
+
type: string;
|
|
24804
|
+
} | {
|
|
24805
|
+
description: string;
|
|
24806
|
+
properties: {
|
|
24807
|
+
created_at: {
|
|
24808
|
+
description: string;
|
|
24809
|
+
format: string;
|
|
24810
|
+
type: string;
|
|
24811
|
+
};
|
|
24812
|
+
device_id: {
|
|
24813
|
+
description: string;
|
|
24814
|
+
format: string;
|
|
24815
|
+
type: string;
|
|
24816
|
+
};
|
|
24817
|
+
message: {
|
|
24818
|
+
description: string;
|
|
24819
|
+
type: string;
|
|
24820
|
+
};
|
|
24821
|
+
reason: {
|
|
24822
|
+
description: string;
|
|
24823
|
+
enum: string[];
|
|
24824
|
+
type: string;
|
|
24825
|
+
};
|
|
24826
|
+
warning_code: {
|
|
24827
|
+
description: string;
|
|
24828
|
+
enum: string[];
|
|
24829
|
+
type: string;
|
|
24830
|
+
};
|
|
24831
|
+
failed_devices?: never;
|
|
24832
|
+
access_method_ids?: never;
|
|
24833
|
+
new_code?: never;
|
|
24834
|
+
original_code?: never;
|
|
24757
24835
|
};
|
|
24758
24836
|
required: string[];
|
|
24759
24837
|
type: string;
|
|
@@ -25153,6 +25231,7 @@ declare const _default: {
|
|
|
25153
25231
|
device_id?: never;
|
|
25154
25232
|
new_code?: never;
|
|
25155
25233
|
original_code?: never;
|
|
25234
|
+
reason?: never;
|
|
25156
25235
|
};
|
|
25157
25236
|
required: string[];
|
|
25158
25237
|
type: string;
|
|
@@ -25200,6 +25279,7 @@ declare const _default: {
|
|
|
25200
25279
|
device_id?: never;
|
|
25201
25280
|
new_code?: never;
|
|
25202
25281
|
original_code?: never;
|
|
25282
|
+
reason?: never;
|
|
25203
25283
|
};
|
|
25204
25284
|
required: string[];
|
|
25205
25285
|
type: string;
|
|
@@ -25232,6 +25312,7 @@ declare const _default: {
|
|
|
25232
25312
|
device_id?: never;
|
|
25233
25313
|
new_code?: never;
|
|
25234
25314
|
original_code?: never;
|
|
25315
|
+
reason?: never;
|
|
25235
25316
|
};
|
|
25236
25317
|
required: string[];
|
|
25237
25318
|
type: string;
|
|
@@ -25267,6 +25348,7 @@ declare const _default: {
|
|
|
25267
25348
|
};
|
|
25268
25349
|
failed_devices?: never;
|
|
25269
25350
|
access_method_ids?: never;
|
|
25351
|
+
reason?: never;
|
|
25270
25352
|
};
|
|
25271
25353
|
required: string[];
|
|
25272
25354
|
type: string;
|
|
@@ -25296,6 +25378,41 @@ declare const _default: {
|
|
|
25296
25378
|
access_method_ids?: never;
|
|
25297
25379
|
new_code?: never;
|
|
25298
25380
|
original_code?: never;
|
|
25381
|
+
reason?: never;
|
|
25382
|
+
};
|
|
25383
|
+
required: string[];
|
|
25384
|
+
type: string;
|
|
25385
|
+
} | {
|
|
25386
|
+
description: string;
|
|
25387
|
+
properties: {
|
|
25388
|
+
created_at: {
|
|
25389
|
+
description: string;
|
|
25390
|
+
format: string;
|
|
25391
|
+
type: string;
|
|
25392
|
+
};
|
|
25393
|
+
device_id: {
|
|
25394
|
+
description: string;
|
|
25395
|
+
format: string;
|
|
25396
|
+
type: string;
|
|
25397
|
+
};
|
|
25398
|
+
message: {
|
|
25399
|
+
description: string;
|
|
25400
|
+
type: string;
|
|
25401
|
+
};
|
|
25402
|
+
reason: {
|
|
25403
|
+
description: string;
|
|
25404
|
+
enum: string[];
|
|
25405
|
+
type: string;
|
|
25406
|
+
};
|
|
25407
|
+
warning_code: {
|
|
25408
|
+
description: string;
|
|
25409
|
+
enum: string[];
|
|
25410
|
+
type: string;
|
|
25411
|
+
};
|
|
25412
|
+
failed_devices?: never;
|
|
25413
|
+
access_method_ids?: never;
|
|
25414
|
+
new_code?: never;
|
|
25415
|
+
original_code?: never;
|
|
25299
25416
|
};
|
|
25300
25417
|
required: string[];
|
|
25301
25418
|
type: string;
|
|
@@ -25722,6 +25839,7 @@ declare const _default: {
|
|
|
25722
25839
|
device_id?: never;
|
|
25723
25840
|
new_code?: never;
|
|
25724
25841
|
original_code?: never;
|
|
25842
|
+
reason?: never;
|
|
25725
25843
|
};
|
|
25726
25844
|
required: string[];
|
|
25727
25845
|
type: string;
|
|
@@ -25769,6 +25887,7 @@ declare const _default: {
|
|
|
25769
25887
|
device_id?: never;
|
|
25770
25888
|
new_code?: never;
|
|
25771
25889
|
original_code?: never;
|
|
25890
|
+
reason?: never;
|
|
25772
25891
|
};
|
|
25773
25892
|
required: string[];
|
|
25774
25893
|
type: string;
|
|
@@ -25801,6 +25920,7 @@ declare const _default: {
|
|
|
25801
25920
|
device_id?: never;
|
|
25802
25921
|
new_code?: never;
|
|
25803
25922
|
original_code?: never;
|
|
25923
|
+
reason?: never;
|
|
25804
25924
|
};
|
|
25805
25925
|
required: string[];
|
|
25806
25926
|
type: string;
|
|
@@ -25836,6 +25956,37 @@ declare const _default: {
|
|
|
25836
25956
|
};
|
|
25837
25957
|
failed_devices?: never;
|
|
25838
25958
|
access_method_ids?: never;
|
|
25959
|
+
reason?: never;
|
|
25960
|
+
};
|
|
25961
|
+
required: string[];
|
|
25962
|
+
type: string;
|
|
25963
|
+
} | {
|
|
25964
|
+
description: string;
|
|
25965
|
+
properties: {
|
|
25966
|
+
created_at: {
|
|
25967
|
+
description: string;
|
|
25968
|
+
format: string;
|
|
25969
|
+
type: string;
|
|
25970
|
+
};
|
|
25971
|
+
device_id: {
|
|
25972
|
+
description: string;
|
|
25973
|
+
format: string;
|
|
25974
|
+
type: string;
|
|
25975
|
+
};
|
|
25976
|
+
message: {
|
|
25977
|
+
description: string;
|
|
25978
|
+
type: string;
|
|
25979
|
+
};
|
|
25980
|
+
warning_code: {
|
|
25981
|
+
description: string;
|
|
25982
|
+
enum: string[];
|
|
25983
|
+
type: string;
|
|
25984
|
+
};
|
|
25985
|
+
failed_devices?: never;
|
|
25986
|
+
access_method_ids?: never;
|
|
25987
|
+
new_code?: never;
|
|
25988
|
+
original_code?: never;
|
|
25989
|
+
reason?: never;
|
|
25839
25990
|
};
|
|
25840
25991
|
required: string[];
|
|
25841
25992
|
type: string;
|
|
@@ -25856,6 +26007,11 @@ declare const _default: {
|
|
|
25856
26007
|
description: string;
|
|
25857
26008
|
type: string;
|
|
25858
26009
|
};
|
|
26010
|
+
reason: {
|
|
26011
|
+
description: string;
|
|
26012
|
+
enum: string[];
|
|
26013
|
+
type: string;
|
|
26014
|
+
};
|
|
25859
26015
|
warning_code: {
|
|
25860
26016
|
description: string;
|
|
25861
26017
|
enum: string[];
|
|
@@ -26294,6 +26450,7 @@ declare const _default: {
|
|
|
26294
26450
|
device_id?: never;
|
|
26295
26451
|
new_code?: never;
|
|
26296
26452
|
original_code?: never;
|
|
26453
|
+
reason?: never;
|
|
26297
26454
|
};
|
|
26298
26455
|
required: string[];
|
|
26299
26456
|
type: string;
|
|
@@ -26341,6 +26498,7 @@ declare const _default: {
|
|
|
26341
26498
|
device_id?: never;
|
|
26342
26499
|
new_code?: never;
|
|
26343
26500
|
original_code?: never;
|
|
26501
|
+
reason?: never;
|
|
26344
26502
|
};
|
|
26345
26503
|
required: string[];
|
|
26346
26504
|
type: string;
|
|
@@ -26373,6 +26531,7 @@ declare const _default: {
|
|
|
26373
26531
|
device_id?: never;
|
|
26374
26532
|
new_code?: never;
|
|
26375
26533
|
original_code?: never;
|
|
26534
|
+
reason?: never;
|
|
26376
26535
|
};
|
|
26377
26536
|
required: string[];
|
|
26378
26537
|
type: string;
|
|
@@ -26408,6 +26567,7 @@ declare const _default: {
|
|
|
26408
26567
|
};
|
|
26409
26568
|
failed_devices?: never;
|
|
26410
26569
|
access_method_ids?: never;
|
|
26570
|
+
reason?: never;
|
|
26411
26571
|
};
|
|
26412
26572
|
required: string[];
|
|
26413
26573
|
type: string;
|
|
@@ -26437,6 +26597,41 @@ declare const _default: {
|
|
|
26437
26597
|
access_method_ids?: never;
|
|
26438
26598
|
new_code?: never;
|
|
26439
26599
|
original_code?: never;
|
|
26600
|
+
reason?: never;
|
|
26601
|
+
};
|
|
26602
|
+
required: string[];
|
|
26603
|
+
type: string;
|
|
26604
|
+
} | {
|
|
26605
|
+
description: string;
|
|
26606
|
+
properties: {
|
|
26607
|
+
created_at: {
|
|
26608
|
+
description: string;
|
|
26609
|
+
format: string;
|
|
26610
|
+
type: string;
|
|
26611
|
+
};
|
|
26612
|
+
device_id: {
|
|
26613
|
+
description: string;
|
|
26614
|
+
format: string;
|
|
26615
|
+
type: string;
|
|
26616
|
+
};
|
|
26617
|
+
message: {
|
|
26618
|
+
description: string;
|
|
26619
|
+
type: string;
|
|
26620
|
+
};
|
|
26621
|
+
reason: {
|
|
26622
|
+
description: string;
|
|
26623
|
+
enum: string[];
|
|
26624
|
+
type: string;
|
|
26625
|
+
};
|
|
26626
|
+
warning_code: {
|
|
26627
|
+
description: string;
|
|
26628
|
+
enum: string[];
|
|
26629
|
+
type: string;
|
|
26630
|
+
};
|
|
26631
|
+
failed_devices?: never;
|
|
26632
|
+
access_method_ids?: never;
|
|
26633
|
+
new_code?: never;
|
|
26634
|
+
original_code?: never;
|
|
26440
26635
|
};
|
|
26441
26636
|
required: string[];
|
|
26442
26637
|
type: string;
|
|
@@ -2323,6 +2323,47 @@ export default {
|
|
|
2323
2323
|
],
|
|
2324
2324
|
type: 'object',
|
|
2325
2325
|
},
|
|
2326
|
+
{
|
|
2327
|
+
description: "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
|
|
2328
|
+
properties: {
|
|
2329
|
+
created_at: {
|
|
2330
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2331
|
+
format: 'date-time',
|
|
2332
|
+
type: 'string',
|
|
2333
|
+
},
|
|
2334
|
+
device_id: {
|
|
2335
|
+
description: 'ID of the device whose time constraints the access grant violates.',
|
|
2336
|
+
format: 'uuid',
|
|
2337
|
+
type: 'string',
|
|
2338
|
+
},
|
|
2339
|
+
message: {
|
|
2340
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2341
|
+
type: 'string',
|
|
2342
|
+
},
|
|
2343
|
+
reason: {
|
|
2344
|
+
description: "Specific reason why the grant's times are not programmable on the device.",
|
|
2345
|
+
enum: [
|
|
2346
|
+
'duration_exceeds_max',
|
|
2347
|
+
'times_do_not_match_slots',
|
|
2348
|
+
'ongoing_not_supported',
|
|
2349
|
+
],
|
|
2350
|
+
type: 'string',
|
|
2351
|
+
},
|
|
2352
|
+
warning_code: {
|
|
2353
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2354
|
+
enum: ['device_time_constraints_violated'],
|
|
2355
|
+
type: 'string',
|
|
2356
|
+
},
|
|
2357
|
+
},
|
|
2358
|
+
required: [
|
|
2359
|
+
'created_at',
|
|
2360
|
+
'message',
|
|
2361
|
+
'warning_code',
|
|
2362
|
+
'device_id',
|
|
2363
|
+
'reason',
|
|
2364
|
+
],
|
|
2365
|
+
type: 'object',
|
|
2366
|
+
},
|
|
2326
2367
|
],
|
|
2327
2368
|
},
|
|
2328
2369
|
type: 'array',
|
|
@@ -32668,6 +32709,47 @@ export default {
|
|
|
32668
32709
|
],
|
|
32669
32710
|
type: 'object',
|
|
32670
32711
|
},
|
|
32712
|
+
{
|
|
32713
|
+
description: "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
|
|
32714
|
+
properties: {
|
|
32715
|
+
created_at: {
|
|
32716
|
+
description: 'Date and time at which Seam created the warning.',
|
|
32717
|
+
format: 'date-time',
|
|
32718
|
+
type: 'string',
|
|
32719
|
+
},
|
|
32720
|
+
device_id: {
|
|
32721
|
+
description: 'ID of the device whose time constraints the access grant violates.',
|
|
32722
|
+
format: 'uuid',
|
|
32723
|
+
type: 'string',
|
|
32724
|
+
},
|
|
32725
|
+
message: {
|
|
32726
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
32727
|
+
type: 'string',
|
|
32728
|
+
},
|
|
32729
|
+
reason: {
|
|
32730
|
+
description: "Specific reason why the grant's times are not programmable on the device.",
|
|
32731
|
+
enum: [
|
|
32732
|
+
'duration_exceeds_max',
|
|
32733
|
+
'times_do_not_match_slots',
|
|
32734
|
+
'ongoing_not_supported',
|
|
32735
|
+
],
|
|
32736
|
+
type: 'string',
|
|
32737
|
+
},
|
|
32738
|
+
warning_code: {
|
|
32739
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
32740
|
+
enum: ['device_time_constraints_violated'],
|
|
32741
|
+
type: 'string',
|
|
32742
|
+
},
|
|
32743
|
+
},
|
|
32744
|
+
required: [
|
|
32745
|
+
'created_at',
|
|
32746
|
+
'message',
|
|
32747
|
+
'warning_code',
|
|
32748
|
+
'device_id',
|
|
32749
|
+
'reason',
|
|
32750
|
+
],
|
|
32751
|
+
type: 'object',
|
|
32752
|
+
},
|
|
32671
32753
|
],
|
|
32672
32754
|
},
|
|
32673
32755
|
type: 'array',
|
|
@@ -33249,6 +33331,47 @@ export default {
|
|
|
33249
33331
|
],
|
|
33250
33332
|
type: 'object',
|
|
33251
33333
|
},
|
|
33334
|
+
{
|
|
33335
|
+
description: "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
|
|
33336
|
+
properties: {
|
|
33337
|
+
created_at: {
|
|
33338
|
+
description: 'Date and time at which Seam created the warning.',
|
|
33339
|
+
format: 'date-time',
|
|
33340
|
+
type: 'string',
|
|
33341
|
+
},
|
|
33342
|
+
device_id: {
|
|
33343
|
+
description: 'ID of the device whose time constraints the access grant violates.',
|
|
33344
|
+
format: 'uuid',
|
|
33345
|
+
type: 'string',
|
|
33346
|
+
},
|
|
33347
|
+
message: {
|
|
33348
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
33349
|
+
type: 'string',
|
|
33350
|
+
},
|
|
33351
|
+
reason: {
|
|
33352
|
+
description: "Specific reason why the grant's times are not programmable on the device.",
|
|
33353
|
+
enum: [
|
|
33354
|
+
'duration_exceeds_max',
|
|
33355
|
+
'times_do_not_match_slots',
|
|
33356
|
+
'ongoing_not_supported',
|
|
33357
|
+
],
|
|
33358
|
+
type: 'string',
|
|
33359
|
+
},
|
|
33360
|
+
warning_code: {
|
|
33361
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
33362
|
+
enum: ['device_time_constraints_violated'],
|
|
33363
|
+
type: 'string',
|
|
33364
|
+
},
|
|
33365
|
+
},
|
|
33366
|
+
required: [
|
|
33367
|
+
'created_at',
|
|
33368
|
+
'message',
|
|
33369
|
+
'warning_code',
|
|
33370
|
+
'device_id',
|
|
33371
|
+
'reason',
|
|
33372
|
+
],
|
|
33373
|
+
type: 'object',
|
|
33374
|
+
},
|
|
33252
33375
|
],
|
|
33253
33376
|
},
|
|
33254
33377
|
type: 'array',
|
|
@@ -33872,6 +33995,49 @@ export default {
|
|
|
33872
33995
|
],
|
|
33873
33996
|
type: 'object',
|
|
33874
33997
|
},
|
|
33998
|
+
{
|
|
33999
|
+
description: "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
|
|
34000
|
+
properties: {
|
|
34001
|
+
created_at: {
|
|
34002
|
+
description: 'Date and time at which Seam created the warning.',
|
|
34003
|
+
format: 'date-time',
|
|
34004
|
+
type: 'string',
|
|
34005
|
+
},
|
|
34006
|
+
device_id: {
|
|
34007
|
+
description: 'ID of the device whose time constraints the access grant violates.',
|
|
34008
|
+
format: 'uuid',
|
|
34009
|
+
type: 'string',
|
|
34010
|
+
},
|
|
34011
|
+
message: {
|
|
34012
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
34013
|
+
type: 'string',
|
|
34014
|
+
},
|
|
34015
|
+
reason: {
|
|
34016
|
+
description: "Specific reason why the grant's times are not programmable on the device.",
|
|
34017
|
+
enum: [
|
|
34018
|
+
'duration_exceeds_max',
|
|
34019
|
+
'times_do_not_match_slots',
|
|
34020
|
+
'ongoing_not_supported',
|
|
34021
|
+
],
|
|
34022
|
+
type: 'string',
|
|
34023
|
+
},
|
|
34024
|
+
warning_code: {
|
|
34025
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
34026
|
+
enum: [
|
|
34027
|
+
'device_time_constraints_violated',
|
|
34028
|
+
],
|
|
34029
|
+
type: 'string',
|
|
34030
|
+
},
|
|
34031
|
+
},
|
|
34032
|
+
required: [
|
|
34033
|
+
'created_at',
|
|
34034
|
+
'message',
|
|
34035
|
+
'warning_code',
|
|
34036
|
+
'device_id',
|
|
34037
|
+
'reason',
|
|
34038
|
+
],
|
|
34039
|
+
type: 'object',
|
|
34040
|
+
},
|
|
33875
34041
|
],
|
|
33876
34042
|
},
|
|
33877
34043
|
type: 'array',
|
|
@@ -34481,6 +34647,49 @@ export default {
|
|
|
34481
34647
|
],
|
|
34482
34648
|
type: 'object',
|
|
34483
34649
|
},
|
|
34650
|
+
{
|
|
34651
|
+
description: "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
|
|
34652
|
+
properties: {
|
|
34653
|
+
created_at: {
|
|
34654
|
+
description: 'Date and time at which Seam created the warning.',
|
|
34655
|
+
format: 'date-time',
|
|
34656
|
+
type: 'string',
|
|
34657
|
+
},
|
|
34658
|
+
device_id: {
|
|
34659
|
+
description: 'ID of the device whose time constraints the access grant violates.',
|
|
34660
|
+
format: 'uuid',
|
|
34661
|
+
type: 'string',
|
|
34662
|
+
},
|
|
34663
|
+
message: {
|
|
34664
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
34665
|
+
type: 'string',
|
|
34666
|
+
},
|
|
34667
|
+
reason: {
|
|
34668
|
+
description: "Specific reason why the grant's times are not programmable on the device.",
|
|
34669
|
+
enum: [
|
|
34670
|
+
'duration_exceeds_max',
|
|
34671
|
+
'times_do_not_match_slots',
|
|
34672
|
+
'ongoing_not_supported',
|
|
34673
|
+
],
|
|
34674
|
+
type: 'string',
|
|
34675
|
+
},
|
|
34676
|
+
warning_code: {
|
|
34677
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
34678
|
+
enum: [
|
|
34679
|
+
'device_time_constraints_violated',
|
|
34680
|
+
],
|
|
34681
|
+
type: 'string',
|
|
34682
|
+
},
|
|
34683
|
+
},
|
|
34684
|
+
required: [
|
|
34685
|
+
'created_at',
|
|
34686
|
+
'message',
|
|
34687
|
+
'warning_code',
|
|
34688
|
+
'device_id',
|
|
34689
|
+
'reason',
|
|
34690
|
+
],
|
|
34691
|
+
type: 'object',
|
|
34692
|
+
},
|
|
34484
34693
|
],
|
|
34485
34694
|
},
|
|
34486
34695
|
type: 'array',
|