@seamapi/types 1.870.0 → 1.872.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 +438 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1314 -0
- package/dist/index.cjs +438 -30
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +414 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js +108 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +149 -0
- package/lib/seam/connect/models/batch.d.ts +402 -0
- package/lib/seam/connect/openapi.js +302 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +517 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +144 -10
- package/src/lib/seam/connect/openapi.ts +346 -0
- package/src/lib/seam/connect/route-types.ts +594 -0
|
@@ -1578,6 +1578,15 @@ export type Routes = {
|
|
|
1578
1578
|
created_at: string;
|
|
1579
1579
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
1580
1580
|
errors: ({
|
|
1581
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1582
|
+
message: string;
|
|
1583
|
+
/** Indicates that this is an access code error. */
|
|
1584
|
+
is_access_code_error: true;
|
|
1585
|
+
/** Date and time at which Seam created the error. */
|
|
1586
|
+
created_at?: string | undefined;
|
|
1587
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1588
|
+
error_code: 'provider_issue';
|
|
1589
|
+
} | {
|
|
1581
1590
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1582
1591
|
message: string;
|
|
1583
1592
|
/** Indicates that this is an access code error. */
|
|
@@ -1680,6 +1689,17 @@ export type Routes = {
|
|
|
1680
1689
|
created_at?: string | undefined;
|
|
1681
1690
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1682
1691
|
error_code: 'code_modified_external_to_seam';
|
|
1692
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
1693
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
1694
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
1695
|
+
modified_fields?: {
|
|
1696
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
1697
|
+
field: string;
|
|
1698
|
+
/** The previous value of the field. */
|
|
1699
|
+
from: string | null;
|
|
1700
|
+
/** The new value of the field. */
|
|
1701
|
+
to: string | null;
|
|
1702
|
+
}[] | undefined;
|
|
1683
1703
|
} | {
|
|
1684
1704
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1685
1705
|
message: string;
|
|
@@ -1707,6 +1727,15 @@ export type Routes = {
|
|
|
1707
1727
|
created_at?: string | undefined;
|
|
1708
1728
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1709
1729
|
error_code: 'august_lock_temporarily_offline';
|
|
1730
|
+
} | {
|
|
1731
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1732
|
+
message: string;
|
|
1733
|
+
/** Indicates that this is an access code error. */
|
|
1734
|
+
is_access_code_error: true;
|
|
1735
|
+
/** Date and time at which Seam created the error. */
|
|
1736
|
+
created_at?: string | undefined;
|
|
1737
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1738
|
+
error_code: 'access_code_inactive';
|
|
1710
1739
|
} | {
|
|
1711
1740
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1712
1741
|
message: string;
|
|
@@ -1914,6 +1943,13 @@ export type Routes = {
|
|
|
1914
1943
|
})[];
|
|
1915
1944
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
1916
1945
|
warnings: ({
|
|
1946
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
1947
|
+
message: string;
|
|
1948
|
+
/** Date and time at which Seam created the warning. */
|
|
1949
|
+
created_at?: string | undefined;
|
|
1950
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1951
|
+
warning_code: 'provider_issue';
|
|
1952
|
+
} | {
|
|
1917
1953
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
1918
1954
|
message: string;
|
|
1919
1955
|
/** Date and time at which Seam created the warning. */
|
|
@@ -1948,6 +1984,17 @@ export type Routes = {
|
|
|
1948
1984
|
created_at?: string | undefined;
|
|
1949
1985
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1950
1986
|
warning_code: 'code_modified_external_to_seam';
|
|
1987
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
1988
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
1989
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
1990
|
+
modified_fields?: {
|
|
1991
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
1992
|
+
field: string;
|
|
1993
|
+
/** The previous value of the field. */
|
|
1994
|
+
from: string | null;
|
|
1995
|
+
/** The new value of the field. */
|
|
1996
|
+
to: string | null;
|
|
1997
|
+
}[] | undefined;
|
|
1951
1998
|
} | {
|
|
1952
1999
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
1953
2000
|
message: string;
|
|
@@ -2210,6 +2257,15 @@ export type Routes = {
|
|
|
2210
2257
|
created_at: string;
|
|
2211
2258
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
2212
2259
|
errors: ({
|
|
2260
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2261
|
+
message: string;
|
|
2262
|
+
/** Indicates that this is an access code error. */
|
|
2263
|
+
is_access_code_error: true;
|
|
2264
|
+
/** Date and time at which Seam created the error. */
|
|
2265
|
+
created_at?: string | undefined;
|
|
2266
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2267
|
+
error_code: 'provider_issue';
|
|
2268
|
+
} | {
|
|
2213
2269
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2214
2270
|
message: string;
|
|
2215
2271
|
/** Indicates that this is an access code error. */
|
|
@@ -2312,6 +2368,17 @@ export type Routes = {
|
|
|
2312
2368
|
created_at?: string | undefined;
|
|
2313
2369
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2314
2370
|
error_code: 'code_modified_external_to_seam';
|
|
2371
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2372
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
2373
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
2374
|
+
modified_fields?: {
|
|
2375
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
2376
|
+
field: string;
|
|
2377
|
+
/** The previous value of the field. */
|
|
2378
|
+
from: string | null;
|
|
2379
|
+
/** The new value of the field. */
|
|
2380
|
+
to: string | null;
|
|
2381
|
+
}[] | undefined;
|
|
2315
2382
|
} | {
|
|
2316
2383
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2317
2384
|
message: string;
|
|
@@ -2339,6 +2406,15 @@ export type Routes = {
|
|
|
2339
2406
|
created_at?: string | undefined;
|
|
2340
2407
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2341
2408
|
error_code: 'august_lock_temporarily_offline';
|
|
2409
|
+
} | {
|
|
2410
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2411
|
+
message: string;
|
|
2412
|
+
/** Indicates that this is an access code error. */
|
|
2413
|
+
is_access_code_error: true;
|
|
2414
|
+
/** Date and time at which Seam created the error. */
|
|
2415
|
+
created_at?: string | undefined;
|
|
2416
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2417
|
+
error_code: 'access_code_inactive';
|
|
2342
2418
|
} | {
|
|
2343
2419
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2344
2420
|
message: string;
|
|
@@ -2546,6 +2622,13 @@ export type Routes = {
|
|
|
2546
2622
|
})[];
|
|
2547
2623
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
2548
2624
|
warnings: ({
|
|
2625
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2626
|
+
message: string;
|
|
2627
|
+
/** Date and time at which Seam created the warning. */
|
|
2628
|
+
created_at?: string | undefined;
|
|
2629
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2630
|
+
warning_code: 'provider_issue';
|
|
2631
|
+
} | {
|
|
2549
2632
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2550
2633
|
message: string;
|
|
2551
2634
|
/** Date and time at which Seam created the warning. */
|
|
@@ -2580,6 +2663,17 @@ export type Routes = {
|
|
|
2580
2663
|
created_at?: string | undefined;
|
|
2581
2664
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2582
2665
|
warning_code: 'code_modified_external_to_seam';
|
|
2666
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2667
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
2668
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
2669
|
+
modified_fields?: {
|
|
2670
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
2671
|
+
field: string;
|
|
2672
|
+
/** The previous value of the field. */
|
|
2673
|
+
from: string | null;
|
|
2674
|
+
/** The new value of the field. */
|
|
2675
|
+
to: string | null;
|
|
2676
|
+
}[] | undefined;
|
|
2583
2677
|
} | {
|
|
2584
2678
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2585
2679
|
message: string;
|
|
@@ -4362,6 +4456,15 @@ export type Routes = {
|
|
|
4362
4456
|
created_at: string;
|
|
4363
4457
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
4364
4458
|
errors: ({
|
|
4459
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4460
|
+
message: string;
|
|
4461
|
+
/** Indicates that this is an access code error. */
|
|
4462
|
+
is_access_code_error: true;
|
|
4463
|
+
/** Date and time at which Seam created the error. */
|
|
4464
|
+
created_at?: string | undefined;
|
|
4465
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4466
|
+
error_code: 'provider_issue';
|
|
4467
|
+
} | {
|
|
4365
4468
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4366
4469
|
message: string;
|
|
4367
4470
|
/** Indicates that this is an access code error. */
|
|
@@ -4464,6 +4567,17 @@ export type Routes = {
|
|
|
4464
4567
|
created_at?: string | undefined;
|
|
4465
4568
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4466
4569
|
error_code: 'code_modified_external_to_seam';
|
|
4570
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
4571
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
4572
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
4573
|
+
modified_fields?: {
|
|
4574
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
4575
|
+
field: string;
|
|
4576
|
+
/** The previous value of the field. */
|
|
4577
|
+
from: string | null;
|
|
4578
|
+
/** The new value of the field. */
|
|
4579
|
+
to: string | null;
|
|
4580
|
+
}[] | undefined;
|
|
4467
4581
|
} | {
|
|
4468
4582
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4469
4583
|
message: string;
|
|
@@ -4491,6 +4605,15 @@ export type Routes = {
|
|
|
4491
4605
|
created_at?: string | undefined;
|
|
4492
4606
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4493
4607
|
error_code: 'august_lock_temporarily_offline';
|
|
4608
|
+
} | {
|
|
4609
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4610
|
+
message: string;
|
|
4611
|
+
/** Indicates that this is an access code error. */
|
|
4612
|
+
is_access_code_error: true;
|
|
4613
|
+
/** Date and time at which Seam created the error. */
|
|
4614
|
+
created_at?: string | undefined;
|
|
4615
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4616
|
+
error_code: 'access_code_inactive';
|
|
4494
4617
|
} | {
|
|
4495
4618
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4496
4619
|
message: string;
|
|
@@ -4698,6 +4821,13 @@ export type Routes = {
|
|
|
4698
4821
|
})[];
|
|
4699
4822
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
4700
4823
|
warnings: ({
|
|
4824
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4825
|
+
message: string;
|
|
4826
|
+
/** Date and time at which Seam created the warning. */
|
|
4827
|
+
created_at?: string | undefined;
|
|
4828
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4829
|
+
warning_code: 'provider_issue';
|
|
4830
|
+
} | {
|
|
4701
4831
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4702
4832
|
message: string;
|
|
4703
4833
|
/** Date and time at which Seam created the warning. */
|
|
@@ -4732,6 +4862,17 @@ export type Routes = {
|
|
|
4732
4862
|
created_at?: string | undefined;
|
|
4733
4863
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4734
4864
|
warning_code: 'code_modified_external_to_seam';
|
|
4865
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
4866
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
4867
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
4868
|
+
modified_fields?: {
|
|
4869
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
4870
|
+
field: string;
|
|
4871
|
+
/** The previous value of the field. */
|
|
4872
|
+
from: string | null;
|
|
4873
|
+
/** The new value of the field. */
|
|
4874
|
+
to: string | null;
|
|
4875
|
+
}[] | undefined;
|
|
4735
4876
|
} | {
|
|
4736
4877
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4737
4878
|
message: string;
|
|
@@ -5040,6 +5181,15 @@ export type Routes = {
|
|
|
5040
5181
|
created_at: string;
|
|
5041
5182
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
5042
5183
|
errors: ({
|
|
5184
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5185
|
+
message: string;
|
|
5186
|
+
/** Indicates that this is an access code error. */
|
|
5187
|
+
is_access_code_error: true;
|
|
5188
|
+
/** Date and time at which Seam created the error. */
|
|
5189
|
+
created_at?: string | undefined;
|
|
5190
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5191
|
+
error_code: 'provider_issue';
|
|
5192
|
+
} | {
|
|
5043
5193
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5044
5194
|
message: string;
|
|
5045
5195
|
/** Indicates that this is an access code error. */
|
|
@@ -5142,6 +5292,17 @@ export type Routes = {
|
|
|
5142
5292
|
created_at?: string | undefined;
|
|
5143
5293
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5144
5294
|
error_code: 'code_modified_external_to_seam';
|
|
5295
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5296
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
5297
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5298
|
+
modified_fields?: {
|
|
5299
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5300
|
+
field: string;
|
|
5301
|
+
/** The previous value of the field. */
|
|
5302
|
+
from: string | null;
|
|
5303
|
+
/** The new value of the field. */
|
|
5304
|
+
to: string | null;
|
|
5305
|
+
}[] | undefined;
|
|
5145
5306
|
} | {
|
|
5146
5307
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5147
5308
|
message: string;
|
|
@@ -5169,6 +5330,15 @@ export type Routes = {
|
|
|
5169
5330
|
created_at?: string | undefined;
|
|
5170
5331
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5171
5332
|
error_code: 'august_lock_temporarily_offline';
|
|
5333
|
+
} | {
|
|
5334
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5335
|
+
message: string;
|
|
5336
|
+
/** Indicates that this is an access code error. */
|
|
5337
|
+
is_access_code_error: true;
|
|
5338
|
+
/** Date and time at which Seam created the error. */
|
|
5339
|
+
created_at?: string | undefined;
|
|
5340
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5341
|
+
error_code: 'access_code_inactive';
|
|
5172
5342
|
} | {
|
|
5173
5343
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5174
5344
|
message: string;
|
|
@@ -5376,6 +5546,13 @@ export type Routes = {
|
|
|
5376
5546
|
})[];
|
|
5377
5547
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
5378
5548
|
warnings: ({
|
|
5549
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5550
|
+
message: string;
|
|
5551
|
+
/** Date and time at which Seam created the warning. */
|
|
5552
|
+
created_at?: string | undefined;
|
|
5553
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5554
|
+
warning_code: 'provider_issue';
|
|
5555
|
+
} | {
|
|
5379
5556
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5380
5557
|
message: string;
|
|
5381
5558
|
/** Date and time at which Seam created the warning. */
|
|
@@ -5410,6 +5587,17 @@ export type Routes = {
|
|
|
5410
5587
|
created_at?: string | undefined;
|
|
5411
5588
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5412
5589
|
warning_code: 'code_modified_external_to_seam';
|
|
5590
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5591
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
5592
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5593
|
+
modified_fields?: {
|
|
5594
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5595
|
+
field: string;
|
|
5596
|
+
/** The previous value of the field. */
|
|
5597
|
+
from: string | null;
|
|
5598
|
+
/** The new value of the field. */
|
|
5599
|
+
to: string | null;
|
|
5600
|
+
}[] | undefined;
|
|
5413
5601
|
} | {
|
|
5414
5602
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5415
5603
|
message: string;
|
|
@@ -5661,6 +5849,15 @@ export type Routes = {
|
|
|
5661
5849
|
created_at: string;
|
|
5662
5850
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
5663
5851
|
errors: ({
|
|
5852
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5853
|
+
message: string;
|
|
5854
|
+
/** Indicates that this is an access code error. */
|
|
5855
|
+
is_access_code_error: true;
|
|
5856
|
+
/** Date and time at which Seam created the error. */
|
|
5857
|
+
created_at?: string | undefined;
|
|
5858
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5859
|
+
error_code: 'provider_issue';
|
|
5860
|
+
} | {
|
|
5664
5861
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5665
5862
|
message: string;
|
|
5666
5863
|
/** Indicates that this is an access code error. */
|
|
@@ -5763,6 +5960,17 @@ export type Routes = {
|
|
|
5763
5960
|
created_at?: string | undefined;
|
|
5764
5961
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5765
5962
|
error_code: 'code_modified_external_to_seam';
|
|
5963
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5964
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
5965
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5966
|
+
modified_fields?: {
|
|
5967
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5968
|
+
field: string;
|
|
5969
|
+
/** The previous value of the field. */
|
|
5970
|
+
from: string | null;
|
|
5971
|
+
/** The new value of the field. */
|
|
5972
|
+
to: string | null;
|
|
5973
|
+
}[] | undefined;
|
|
5766
5974
|
} | {
|
|
5767
5975
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5768
5976
|
message: string;
|
|
@@ -5790,6 +5998,15 @@ export type Routes = {
|
|
|
5790
5998
|
created_at?: string | undefined;
|
|
5791
5999
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5792
6000
|
error_code: 'august_lock_temporarily_offline';
|
|
6001
|
+
} | {
|
|
6002
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6003
|
+
message: string;
|
|
6004
|
+
/** Indicates that this is an access code error. */
|
|
6005
|
+
is_access_code_error: true;
|
|
6006
|
+
/** Date and time at which Seam created the error. */
|
|
6007
|
+
created_at?: string | undefined;
|
|
6008
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6009
|
+
error_code: 'access_code_inactive';
|
|
5793
6010
|
} | {
|
|
5794
6011
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5795
6012
|
message: string;
|
|
@@ -5997,6 +6214,13 @@ export type Routes = {
|
|
|
5997
6214
|
})[];
|
|
5998
6215
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
5999
6216
|
warnings: ({
|
|
6217
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6218
|
+
message: string;
|
|
6219
|
+
/** Date and time at which Seam created the warning. */
|
|
6220
|
+
created_at?: string | undefined;
|
|
6221
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6222
|
+
warning_code: 'provider_issue';
|
|
6223
|
+
} | {
|
|
6000
6224
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6001
6225
|
message: string;
|
|
6002
6226
|
/** Date and time at which Seam created the warning. */
|
|
@@ -6031,6 +6255,17 @@ export type Routes = {
|
|
|
6031
6255
|
created_at?: string | undefined;
|
|
6032
6256
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6033
6257
|
warning_code: 'code_modified_external_to_seam';
|
|
6258
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6259
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
6260
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6261
|
+
modified_fields?: {
|
|
6262
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6263
|
+
field: string;
|
|
6264
|
+
/** The previous value of the field. */
|
|
6265
|
+
from: string | null;
|
|
6266
|
+
/** The new value of the field. */
|
|
6267
|
+
to: string | null;
|
|
6268
|
+
}[] | undefined;
|
|
6034
6269
|
} | {
|
|
6035
6270
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6036
6271
|
message: string;
|
|
@@ -6259,6 +6494,15 @@ export type Routes = {
|
|
|
6259
6494
|
created_at: string;
|
|
6260
6495
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
6261
6496
|
errors: ({
|
|
6497
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6498
|
+
message: string;
|
|
6499
|
+
/** Indicates that this is an access code error. */
|
|
6500
|
+
is_access_code_error: true;
|
|
6501
|
+
/** Date and time at which Seam created the error. */
|
|
6502
|
+
created_at?: string | undefined;
|
|
6503
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6504
|
+
error_code: 'provider_issue';
|
|
6505
|
+
} | {
|
|
6262
6506
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6263
6507
|
message: string;
|
|
6264
6508
|
/** Indicates that this is an access code error. */
|
|
@@ -6361,6 +6605,17 @@ export type Routes = {
|
|
|
6361
6605
|
created_at?: string | undefined;
|
|
6362
6606
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6363
6607
|
error_code: 'code_modified_external_to_seam';
|
|
6608
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6609
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
6610
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6611
|
+
modified_fields?: {
|
|
6612
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6613
|
+
field: string;
|
|
6614
|
+
/** The previous value of the field. */
|
|
6615
|
+
from: string | null;
|
|
6616
|
+
/** The new value of the field. */
|
|
6617
|
+
to: string | null;
|
|
6618
|
+
}[] | undefined;
|
|
6364
6619
|
} | {
|
|
6365
6620
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6366
6621
|
message: string;
|
|
@@ -6388,6 +6643,15 @@ export type Routes = {
|
|
|
6388
6643
|
created_at?: string | undefined;
|
|
6389
6644
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6390
6645
|
error_code: 'august_lock_temporarily_offline';
|
|
6646
|
+
} | {
|
|
6647
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6648
|
+
message: string;
|
|
6649
|
+
/** Indicates that this is an access code error. */
|
|
6650
|
+
is_access_code_error: true;
|
|
6651
|
+
/** Date and time at which Seam created the error. */
|
|
6652
|
+
created_at?: string | undefined;
|
|
6653
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6654
|
+
error_code: 'access_code_inactive';
|
|
6391
6655
|
} | {
|
|
6392
6656
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6393
6657
|
message: string;
|
|
@@ -6595,6 +6859,13 @@ export type Routes = {
|
|
|
6595
6859
|
})[];
|
|
6596
6860
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
6597
6861
|
warnings: ({
|
|
6862
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6863
|
+
message: string;
|
|
6864
|
+
/** Date and time at which Seam created the warning. */
|
|
6865
|
+
created_at?: string | undefined;
|
|
6866
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6867
|
+
warning_code: 'provider_issue';
|
|
6868
|
+
} | {
|
|
6598
6869
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6599
6870
|
message: string;
|
|
6600
6871
|
/** Date and time at which Seam created the warning. */
|
|
@@ -6629,6 +6900,17 @@ export type Routes = {
|
|
|
6629
6900
|
created_at?: string | undefined;
|
|
6630
6901
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6631
6902
|
warning_code: 'code_modified_external_to_seam';
|
|
6903
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6904
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
6905
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6906
|
+
modified_fields?: {
|
|
6907
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6908
|
+
field: string;
|
|
6909
|
+
/** The previous value of the field. */
|
|
6910
|
+
from: string | null;
|
|
6911
|
+
/** The new value of the field. */
|
|
6912
|
+
to: string | null;
|
|
6913
|
+
}[] | undefined;
|
|
6632
6914
|
} | {
|
|
6633
6915
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6634
6916
|
message: string;
|
|
@@ -6892,6 +7174,15 @@ export type Routes = {
|
|
|
6892
7174
|
created_at: string;
|
|
6893
7175
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
6894
7176
|
errors: ({
|
|
7177
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7178
|
+
message: string;
|
|
7179
|
+
/** Indicates that this is an access code error. */
|
|
7180
|
+
is_access_code_error: true;
|
|
7181
|
+
/** Date and time at which Seam created the error. */
|
|
7182
|
+
created_at?: string | undefined;
|
|
7183
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7184
|
+
error_code: 'provider_issue';
|
|
7185
|
+
} | {
|
|
6895
7186
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6896
7187
|
message: string;
|
|
6897
7188
|
/** Indicates that this is an access code error. */
|
|
@@ -6994,6 +7285,17 @@ export type Routes = {
|
|
|
6994
7285
|
created_at?: string | undefined;
|
|
6995
7286
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6996
7287
|
error_code: 'code_modified_external_to_seam';
|
|
7288
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
7289
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
7290
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
7291
|
+
modified_fields?: {
|
|
7292
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
7293
|
+
field: string;
|
|
7294
|
+
/** The previous value of the field. */
|
|
7295
|
+
from: string | null;
|
|
7296
|
+
/** The new value of the field. */
|
|
7297
|
+
to: string | null;
|
|
7298
|
+
}[] | undefined;
|
|
6997
7299
|
} | {
|
|
6998
7300
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6999
7301
|
message: string;
|
|
@@ -7021,6 +7323,15 @@ export type Routes = {
|
|
|
7021
7323
|
created_at?: string | undefined;
|
|
7022
7324
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7023
7325
|
error_code: 'august_lock_temporarily_offline';
|
|
7326
|
+
} | {
|
|
7327
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7328
|
+
message: string;
|
|
7329
|
+
/** Indicates that this is an access code error. */
|
|
7330
|
+
is_access_code_error: true;
|
|
7331
|
+
/** Date and time at which Seam created the error. */
|
|
7332
|
+
created_at?: string | undefined;
|
|
7333
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7334
|
+
error_code: 'access_code_inactive';
|
|
7024
7335
|
} | {
|
|
7025
7336
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7026
7337
|
message: string;
|
|
@@ -7228,6 +7539,13 @@ export type Routes = {
|
|
|
7228
7539
|
})[];
|
|
7229
7540
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
7230
7541
|
warnings: ({
|
|
7542
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7543
|
+
message: string;
|
|
7544
|
+
/** Date and time at which Seam created the warning. */
|
|
7545
|
+
created_at?: string | undefined;
|
|
7546
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7547
|
+
warning_code: 'provider_issue';
|
|
7548
|
+
} | {
|
|
7231
7549
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7232
7550
|
message: string;
|
|
7233
7551
|
/** Date and time at which Seam created the warning. */
|
|
@@ -7262,6 +7580,17 @@ export type Routes = {
|
|
|
7262
7580
|
created_at?: string | undefined;
|
|
7263
7581
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7264
7582
|
warning_code: 'code_modified_external_to_seam';
|
|
7583
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
7584
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
7585
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
7586
|
+
modified_fields?: {
|
|
7587
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
7588
|
+
field: string;
|
|
7589
|
+
/** The previous value of the field. */
|
|
7590
|
+
from: string | null;
|
|
7591
|
+
/** The new value of the field. */
|
|
7592
|
+
to: string | null;
|
|
7593
|
+
}[] | undefined;
|
|
7265
7594
|
} | {
|
|
7266
7595
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7267
7596
|
message: string;
|
|
@@ -8955,6 +9284,15 @@ export type Routes = {
|
|
|
8955
9284
|
created_at: string;
|
|
8956
9285
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
8957
9286
|
errors: ({
|
|
9287
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9288
|
+
message: string;
|
|
9289
|
+
/** Indicates that this is an access code error. */
|
|
9290
|
+
is_access_code_error: true;
|
|
9291
|
+
/** Date and time at which Seam created the error. */
|
|
9292
|
+
created_at?: string | undefined;
|
|
9293
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9294
|
+
error_code: 'provider_issue';
|
|
9295
|
+
} | {
|
|
8958
9296
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8959
9297
|
message: string;
|
|
8960
9298
|
/** Indicates that this is an access code error. */
|
|
@@ -9057,6 +9395,17 @@ export type Routes = {
|
|
|
9057
9395
|
created_at?: string | undefined;
|
|
9058
9396
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9059
9397
|
error_code: 'code_modified_external_to_seam';
|
|
9398
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9399
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
9400
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
9401
|
+
modified_fields?: {
|
|
9402
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
9403
|
+
field: string;
|
|
9404
|
+
/** The previous value of the field. */
|
|
9405
|
+
from: string | null;
|
|
9406
|
+
/** The new value of the field. */
|
|
9407
|
+
to: string | null;
|
|
9408
|
+
}[] | undefined;
|
|
9060
9409
|
} | {
|
|
9061
9410
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9062
9411
|
message: string;
|
|
@@ -9084,6 +9433,15 @@ export type Routes = {
|
|
|
9084
9433
|
created_at?: string | undefined;
|
|
9085
9434
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9086
9435
|
error_code: 'august_lock_temporarily_offline';
|
|
9436
|
+
} | {
|
|
9437
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9438
|
+
message: string;
|
|
9439
|
+
/** Indicates that this is an access code error. */
|
|
9440
|
+
is_access_code_error: true;
|
|
9441
|
+
/** Date and time at which Seam created the error. */
|
|
9442
|
+
created_at?: string | undefined;
|
|
9443
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9444
|
+
error_code: 'access_code_inactive';
|
|
9087
9445
|
} | {
|
|
9088
9446
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9089
9447
|
message: string;
|
|
@@ -9291,6 +9649,13 @@ export type Routes = {
|
|
|
9291
9649
|
})[];
|
|
9292
9650
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
9293
9651
|
warnings: ({
|
|
9652
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9653
|
+
message: string;
|
|
9654
|
+
/** Date and time at which Seam created the warning. */
|
|
9655
|
+
created_at?: string | undefined;
|
|
9656
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9657
|
+
warning_code: 'provider_issue';
|
|
9658
|
+
} | {
|
|
9294
9659
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9295
9660
|
message: string;
|
|
9296
9661
|
/** Date and time at which Seam created the warning. */
|
|
@@ -9325,6 +9690,17 @@ export type Routes = {
|
|
|
9325
9690
|
created_at?: string | undefined;
|
|
9326
9691
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9327
9692
|
warning_code: 'code_modified_external_to_seam';
|
|
9693
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9694
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
9695
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
9696
|
+
modified_fields?: {
|
|
9697
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
9698
|
+
field: string;
|
|
9699
|
+
/** The previous value of the field. */
|
|
9700
|
+
from: string | null;
|
|
9701
|
+
/** The new value of the field. */
|
|
9702
|
+
to: string | null;
|
|
9703
|
+
}[] | undefined;
|
|
9328
9704
|
} | {
|
|
9329
9705
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9330
9706
|
message: string;
|
|
@@ -9474,6 +9850,15 @@ export type Routes = {
|
|
|
9474
9850
|
created_at: string;
|
|
9475
9851
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
9476
9852
|
errors: ({
|
|
9853
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9854
|
+
message: string;
|
|
9855
|
+
/** Indicates that this is an access code error. */
|
|
9856
|
+
is_access_code_error: true;
|
|
9857
|
+
/** Date and time at which Seam created the error. */
|
|
9858
|
+
created_at?: string | undefined;
|
|
9859
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9860
|
+
error_code: 'provider_issue';
|
|
9861
|
+
} | {
|
|
9477
9862
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9478
9863
|
message: string;
|
|
9479
9864
|
/** Indicates that this is an access code error. */
|
|
@@ -9576,6 +9961,17 @@ export type Routes = {
|
|
|
9576
9961
|
created_at?: string | undefined;
|
|
9577
9962
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9578
9963
|
error_code: 'code_modified_external_to_seam';
|
|
9964
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9965
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
9966
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
9967
|
+
modified_fields?: {
|
|
9968
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
9969
|
+
field: string;
|
|
9970
|
+
/** The previous value of the field. */
|
|
9971
|
+
from: string | null;
|
|
9972
|
+
/** The new value of the field. */
|
|
9973
|
+
to: string | null;
|
|
9974
|
+
}[] | undefined;
|
|
9579
9975
|
} | {
|
|
9580
9976
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9581
9977
|
message: string;
|
|
@@ -9603,6 +9999,15 @@ export type Routes = {
|
|
|
9603
9999
|
created_at?: string | undefined;
|
|
9604
10000
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9605
10001
|
error_code: 'august_lock_temporarily_offline';
|
|
10002
|
+
} | {
|
|
10003
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
10004
|
+
message: string;
|
|
10005
|
+
/** Indicates that this is an access code error. */
|
|
10006
|
+
is_access_code_error: true;
|
|
10007
|
+
/** Date and time at which Seam created the error. */
|
|
10008
|
+
created_at?: string | undefined;
|
|
10009
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10010
|
+
error_code: 'access_code_inactive';
|
|
9606
10011
|
} | {
|
|
9607
10012
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9608
10013
|
message: string;
|
|
@@ -9810,6 +10215,13 @@ export type Routes = {
|
|
|
9810
10215
|
})[];
|
|
9811
10216
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
9812
10217
|
warnings: ({
|
|
10218
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
10219
|
+
message: string;
|
|
10220
|
+
/** Date and time at which Seam created the warning. */
|
|
10221
|
+
created_at?: string | undefined;
|
|
10222
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10223
|
+
warning_code: 'provider_issue';
|
|
10224
|
+
} | {
|
|
9813
10225
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9814
10226
|
message: string;
|
|
9815
10227
|
/** Date and time at which Seam created the warning. */
|
|
@@ -9844,6 +10256,17 @@ export type Routes = {
|
|
|
9844
10256
|
created_at?: string | undefined;
|
|
9845
10257
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9846
10258
|
warning_code: 'code_modified_external_to_seam';
|
|
10259
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
10260
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
10261
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
10262
|
+
modified_fields?: {
|
|
10263
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
10264
|
+
field: string;
|
|
10265
|
+
/** The previous value of the field. */
|
|
10266
|
+
from: string | null;
|
|
10267
|
+
/** The new value of the field. */
|
|
10268
|
+
to: string | null;
|
|
10269
|
+
}[] | undefined;
|
|
9847
10270
|
} | {
|
|
9848
10271
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9849
10272
|
message: string;
|
|
@@ -107387,6 +107810,15 @@ export type Routes = {
|
|
|
107387
107810
|
created_at: string;
|
|
107388
107811
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
107389
107812
|
errors: ({
|
|
107813
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107814
|
+
message: string;
|
|
107815
|
+
/** Indicates that this is an access code error. */
|
|
107816
|
+
is_access_code_error: true;
|
|
107817
|
+
/** Date and time at which Seam created the error. */
|
|
107818
|
+
created_at?: string | undefined;
|
|
107819
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107820
|
+
error_code: 'provider_issue';
|
|
107821
|
+
} | {
|
|
107390
107822
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107391
107823
|
message: string;
|
|
107392
107824
|
/** Indicates that this is an access code error. */
|
|
@@ -107489,6 +107921,17 @@ export type Routes = {
|
|
|
107489
107921
|
created_at?: string | undefined;
|
|
107490
107922
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107491
107923
|
error_code: 'code_modified_external_to_seam';
|
|
107924
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
107925
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
107926
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
107927
|
+
modified_fields?: {
|
|
107928
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
107929
|
+
field: string;
|
|
107930
|
+
/** The previous value of the field. */
|
|
107931
|
+
from: string | null;
|
|
107932
|
+
/** The new value of the field. */
|
|
107933
|
+
to: string | null;
|
|
107934
|
+
}[] | undefined;
|
|
107492
107935
|
} | {
|
|
107493
107936
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107494
107937
|
message: string;
|
|
@@ -107516,6 +107959,15 @@ export type Routes = {
|
|
|
107516
107959
|
created_at?: string | undefined;
|
|
107517
107960
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107518
107961
|
error_code: 'august_lock_temporarily_offline';
|
|
107962
|
+
} | {
|
|
107963
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107964
|
+
message: string;
|
|
107965
|
+
/** Indicates that this is an access code error. */
|
|
107966
|
+
is_access_code_error: true;
|
|
107967
|
+
/** Date and time at which Seam created the error. */
|
|
107968
|
+
created_at?: string | undefined;
|
|
107969
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107970
|
+
error_code: 'access_code_inactive';
|
|
107519
107971
|
} | {
|
|
107520
107972
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107521
107973
|
message: string;
|
|
@@ -107723,6 +108175,13 @@ export type Routes = {
|
|
|
107723
108175
|
})[];
|
|
107724
108176
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
107725
108177
|
warnings: ({
|
|
108178
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108179
|
+
message: string;
|
|
108180
|
+
/** Date and time at which Seam created the warning. */
|
|
108181
|
+
created_at?: string | undefined;
|
|
108182
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108183
|
+
warning_code: 'provider_issue';
|
|
108184
|
+
} | {
|
|
107726
108185
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107727
108186
|
message: string;
|
|
107728
108187
|
/** Date and time at which Seam created the warning. */
|
|
@@ -107757,6 +108216,17 @@ export type Routes = {
|
|
|
107757
108216
|
created_at?: string | undefined;
|
|
107758
108217
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107759
108218
|
warning_code: 'code_modified_external_to_seam';
|
|
108219
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
108220
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
108221
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
108222
|
+
modified_fields?: {
|
|
108223
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
108224
|
+
field: string;
|
|
108225
|
+
/** The previous value of the field. */
|
|
108226
|
+
from: string | null;
|
|
108227
|
+
/** The new value of the field. */
|
|
108228
|
+
to: string | null;
|
|
108229
|
+
}[] | undefined;
|
|
107760
108230
|
} | {
|
|
107761
108231
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107762
108232
|
message: string;
|
|
@@ -107890,6 +108360,15 @@ export type Routes = {
|
|
|
107890
108360
|
created_at: string;
|
|
107891
108361
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
107892
108362
|
errors: ({
|
|
108363
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108364
|
+
message: string;
|
|
108365
|
+
/** Indicates that this is an access code error. */
|
|
108366
|
+
is_access_code_error: true;
|
|
108367
|
+
/** Date and time at which Seam created the error. */
|
|
108368
|
+
created_at?: string | undefined;
|
|
108369
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108370
|
+
error_code: 'provider_issue';
|
|
108371
|
+
} | {
|
|
107893
108372
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107894
108373
|
message: string;
|
|
107895
108374
|
/** Indicates that this is an access code error. */
|
|
@@ -107992,6 +108471,17 @@ export type Routes = {
|
|
|
107992
108471
|
created_at?: string | undefined;
|
|
107993
108472
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107994
108473
|
error_code: 'code_modified_external_to_seam';
|
|
108474
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
108475
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
108476
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
108477
|
+
modified_fields?: {
|
|
108478
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
108479
|
+
field: string;
|
|
108480
|
+
/** The previous value of the field. */
|
|
108481
|
+
from: string | null;
|
|
108482
|
+
/** The new value of the field. */
|
|
108483
|
+
to: string | null;
|
|
108484
|
+
}[] | undefined;
|
|
107995
108485
|
} | {
|
|
107996
108486
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107997
108487
|
message: string;
|
|
@@ -108019,6 +108509,15 @@ export type Routes = {
|
|
|
108019
108509
|
created_at?: string | undefined;
|
|
108020
108510
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108021
108511
|
error_code: 'august_lock_temporarily_offline';
|
|
108512
|
+
} | {
|
|
108513
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108514
|
+
message: string;
|
|
108515
|
+
/** Indicates that this is an access code error. */
|
|
108516
|
+
is_access_code_error: true;
|
|
108517
|
+
/** Date and time at which Seam created the error. */
|
|
108518
|
+
created_at?: string | undefined;
|
|
108519
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108520
|
+
error_code: 'access_code_inactive';
|
|
108022
108521
|
} | {
|
|
108023
108522
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108024
108523
|
message: string;
|
|
@@ -108226,6 +108725,13 @@ export type Routes = {
|
|
|
108226
108725
|
})[];
|
|
108227
108726
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
108228
108727
|
warnings: ({
|
|
108728
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108729
|
+
message: string;
|
|
108730
|
+
/** Date and time at which Seam created the warning. */
|
|
108731
|
+
created_at?: string | undefined;
|
|
108732
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108733
|
+
warning_code: 'provider_issue';
|
|
108734
|
+
} | {
|
|
108229
108735
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108230
108736
|
message: string;
|
|
108231
108737
|
/** Date and time at which Seam created the warning. */
|
|
@@ -108260,6 +108766,17 @@ export type Routes = {
|
|
|
108260
108766
|
created_at?: string | undefined;
|
|
108261
108767
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108262
108768
|
warning_code: 'code_modified_external_to_seam';
|
|
108769
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
108770
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
108771
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
108772
|
+
modified_fields?: {
|
|
108773
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
108774
|
+
field: string;
|
|
108775
|
+
/** The previous value of the field. */
|
|
108776
|
+
from: string | null;
|
|
108777
|
+
/** The new value of the field. */
|
|
108778
|
+
to: string | null;
|
|
108779
|
+
}[] | undefined;
|
|
108263
108780
|
} | {
|
|
108264
108781
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108265
108782
|
message: string;
|