@seamapi/types 1.870.0 → 1.871.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 +137 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +646 -0
- package/dist/index.cjs +137 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +204 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +23 -0
- 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 +76 -0
- package/lib/seam/connect/models/batch.d.ts +200 -0
- package/lib/seam/connect/openapi.js +116 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +242 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +34 -0
- package/src/lib/seam/connect/openapi.ts +128 -0
- package/src/lib/seam/connect/route-types.ts +286 -0
|
@@ -1943,6 +1943,19 @@ export type Routes = {
|
|
|
1943
1943
|
created_at?: string | undefined
|
|
1944
1944
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1945
1945
|
error_code: 'code_modified_external_to_seam'
|
|
1946
|
+
/** 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. */
|
|
1947
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
1948
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
1949
|
+
modified_fields?:
|
|
1950
|
+
| {
|
|
1951
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
1952
|
+
field: string
|
|
1953
|
+
/** The previous value of the field. */
|
|
1954
|
+
from: string | null
|
|
1955
|
+
/** The new value of the field. */
|
|
1956
|
+
to: string | null
|
|
1957
|
+
}[]
|
|
1958
|
+
| undefined
|
|
1946
1959
|
}
|
|
1947
1960
|
| {
|
|
1948
1961
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -2242,6 +2255,19 @@ export type Routes = {
|
|
|
2242
2255
|
created_at?: string | undefined
|
|
2243
2256
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2244
2257
|
warning_code: 'code_modified_external_to_seam'
|
|
2258
|
+
/** 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. */
|
|
2259
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
2260
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
2261
|
+
modified_fields?:
|
|
2262
|
+
| {
|
|
2263
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
2264
|
+
field: string
|
|
2265
|
+
/** The previous value of the field. */
|
|
2266
|
+
from: string | null
|
|
2267
|
+
/** The new value of the field. */
|
|
2268
|
+
to: string | null
|
|
2269
|
+
}[]
|
|
2270
|
+
| undefined
|
|
2245
2271
|
}
|
|
2246
2272
|
| {
|
|
2247
2273
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -2638,6 +2664,19 @@ export type Routes = {
|
|
|
2638
2664
|
created_at?: string | undefined
|
|
2639
2665
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2640
2666
|
error_code: 'code_modified_external_to_seam'
|
|
2667
|
+
/** 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. */
|
|
2668
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
2669
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
2670
|
+
modified_fields?:
|
|
2671
|
+
| {
|
|
2672
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
2673
|
+
field: string
|
|
2674
|
+
/** The previous value of the field. */
|
|
2675
|
+
from: string | null
|
|
2676
|
+
/** The new value of the field. */
|
|
2677
|
+
to: string | null
|
|
2678
|
+
}[]
|
|
2679
|
+
| undefined
|
|
2641
2680
|
}
|
|
2642
2681
|
| {
|
|
2643
2682
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -2937,6 +2976,19 @@ export type Routes = {
|
|
|
2937
2976
|
created_at?: string | undefined
|
|
2938
2977
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2939
2978
|
warning_code: 'code_modified_external_to_seam'
|
|
2979
|
+
/** 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. */
|
|
2980
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
2981
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
2982
|
+
modified_fields?:
|
|
2983
|
+
| {
|
|
2984
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
2985
|
+
field: string
|
|
2986
|
+
/** The previous value of the field. */
|
|
2987
|
+
from: string | null
|
|
2988
|
+
/** The new value of the field. */
|
|
2989
|
+
to: string | null
|
|
2990
|
+
}[]
|
|
2991
|
+
| undefined
|
|
2940
2992
|
}
|
|
2941
2993
|
| {
|
|
2942
2994
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -5105,6 +5157,19 @@ export type Routes = {
|
|
|
5105
5157
|
created_at?: string | undefined
|
|
5106
5158
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5107
5159
|
error_code: 'code_modified_external_to_seam'
|
|
5160
|
+
/** 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. */
|
|
5161
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
5162
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5163
|
+
modified_fields?:
|
|
5164
|
+
| {
|
|
5165
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5166
|
+
field: string
|
|
5167
|
+
/** The previous value of the field. */
|
|
5168
|
+
from: string | null
|
|
5169
|
+
/** The new value of the field. */
|
|
5170
|
+
to: string | null
|
|
5171
|
+
}[]
|
|
5172
|
+
| undefined
|
|
5108
5173
|
}
|
|
5109
5174
|
| {
|
|
5110
5175
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -5404,6 +5469,19 @@ export type Routes = {
|
|
|
5404
5469
|
created_at?: string | undefined
|
|
5405
5470
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5406
5471
|
warning_code: 'code_modified_external_to_seam'
|
|
5472
|
+
/** 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. */
|
|
5473
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
5474
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5475
|
+
modified_fields?:
|
|
5476
|
+
| {
|
|
5477
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5478
|
+
field: string
|
|
5479
|
+
/** The previous value of the field. */
|
|
5480
|
+
from: string | null
|
|
5481
|
+
/** The new value of the field. */
|
|
5482
|
+
to: string | null
|
|
5483
|
+
}[]
|
|
5484
|
+
| undefined
|
|
5407
5485
|
}
|
|
5408
5486
|
| {
|
|
5409
5487
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -5887,6 +5965,19 @@ export type Routes = {
|
|
|
5887
5965
|
created_at?: string | undefined
|
|
5888
5966
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5889
5967
|
error_code: 'code_modified_external_to_seam'
|
|
5968
|
+
/** 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. */
|
|
5969
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
5970
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
5971
|
+
modified_fields?:
|
|
5972
|
+
| {
|
|
5973
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
5974
|
+
field: string
|
|
5975
|
+
/** The previous value of the field. */
|
|
5976
|
+
from: string | null
|
|
5977
|
+
/** The new value of the field. */
|
|
5978
|
+
to: string | null
|
|
5979
|
+
}[]
|
|
5980
|
+
| undefined
|
|
5890
5981
|
}
|
|
5891
5982
|
| {
|
|
5892
5983
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6186,6 +6277,19 @@ export type Routes = {
|
|
|
6186
6277
|
created_at?: string | undefined
|
|
6187
6278
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6188
6279
|
warning_code: 'code_modified_external_to_seam'
|
|
6280
|
+
/** 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. */
|
|
6281
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
6282
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6283
|
+
modified_fields?:
|
|
6284
|
+
| {
|
|
6285
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6286
|
+
field: string
|
|
6287
|
+
/** The previous value of the field. */
|
|
6288
|
+
from: string | null
|
|
6289
|
+
/** The new value of the field. */
|
|
6290
|
+
to: string | null
|
|
6291
|
+
}[]
|
|
6292
|
+
| undefined
|
|
6189
6293
|
}
|
|
6190
6294
|
| {
|
|
6191
6295
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6571,6 +6675,19 @@ export type Routes = {
|
|
|
6571
6675
|
created_at?: string | undefined
|
|
6572
6676
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6573
6677
|
error_code: 'code_modified_external_to_seam'
|
|
6678
|
+
/** 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. */
|
|
6679
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
6680
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6681
|
+
modified_fields?:
|
|
6682
|
+
| {
|
|
6683
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6684
|
+
field: string
|
|
6685
|
+
/** The previous value of the field. */
|
|
6686
|
+
from: string | null
|
|
6687
|
+
/** The new value of the field. */
|
|
6688
|
+
to: string | null
|
|
6689
|
+
}[]
|
|
6690
|
+
| undefined
|
|
6574
6691
|
}
|
|
6575
6692
|
| {
|
|
6576
6693
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6870,6 +6987,19 @@ export type Routes = {
|
|
|
6870
6987
|
created_at?: string | undefined
|
|
6871
6988
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6872
6989
|
warning_code: 'code_modified_external_to_seam'
|
|
6990
|
+
/** 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. */
|
|
6991
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
6992
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
6993
|
+
modified_fields?:
|
|
6994
|
+
| {
|
|
6995
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
6996
|
+
field: string
|
|
6997
|
+
/** The previous value of the field. */
|
|
6998
|
+
from: string | null
|
|
6999
|
+
/** The new value of the field. */
|
|
7000
|
+
to: string | null
|
|
7001
|
+
}[]
|
|
7002
|
+
| undefined
|
|
6873
7003
|
}
|
|
6874
7004
|
| {
|
|
6875
7005
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7232,6 +7362,19 @@ export type Routes = {
|
|
|
7232
7362
|
created_at?: string | undefined
|
|
7233
7363
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7234
7364
|
error_code: 'code_modified_external_to_seam'
|
|
7365
|
+
/** 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. */
|
|
7366
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
7367
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
7368
|
+
modified_fields?:
|
|
7369
|
+
| {
|
|
7370
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
7371
|
+
field: string
|
|
7372
|
+
/** The previous value of the field. */
|
|
7373
|
+
from: string | null
|
|
7374
|
+
/** The new value of the field. */
|
|
7375
|
+
to: string | null
|
|
7376
|
+
}[]
|
|
7377
|
+
| undefined
|
|
7235
7378
|
}
|
|
7236
7379
|
| {
|
|
7237
7380
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7531,6 +7674,19 @@ export type Routes = {
|
|
|
7531
7674
|
created_at?: string | undefined
|
|
7532
7675
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7533
7676
|
warning_code: 'code_modified_external_to_seam'
|
|
7677
|
+
/** 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. */
|
|
7678
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
7679
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
7680
|
+
modified_fields?:
|
|
7681
|
+
| {
|
|
7682
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
7683
|
+
field: string
|
|
7684
|
+
/** The previous value of the field. */
|
|
7685
|
+
from: string | null
|
|
7686
|
+
/** The new value of the field. */
|
|
7687
|
+
to: string | null
|
|
7688
|
+
}[]
|
|
7689
|
+
| undefined
|
|
7534
7690
|
}
|
|
7535
7691
|
| {
|
|
7536
7692
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7928,6 +8084,19 @@ export type Routes = {
|
|
|
7928
8084
|
created_at?: string | undefined
|
|
7929
8085
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7930
8086
|
error_code: 'code_modified_external_to_seam'
|
|
8087
|
+
/** 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. */
|
|
8088
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
8089
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
8090
|
+
modified_fields?:
|
|
8091
|
+
| {
|
|
8092
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
8093
|
+
field: string
|
|
8094
|
+
/** The previous value of the field. */
|
|
8095
|
+
from: string | null
|
|
8096
|
+
/** The new value of the field. */
|
|
8097
|
+
to: string | null
|
|
8098
|
+
}[]
|
|
8099
|
+
| undefined
|
|
7931
8100
|
}
|
|
7932
8101
|
| {
|
|
7933
8102
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -8227,6 +8396,19 @@ export type Routes = {
|
|
|
8227
8396
|
created_at?: string | undefined
|
|
8228
8397
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
8229
8398
|
warning_code: 'code_modified_external_to_seam'
|
|
8399
|
+
/** 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. */
|
|
8400
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
8401
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
8402
|
+
modified_fields?:
|
|
8403
|
+
| {
|
|
8404
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
8405
|
+
field: string
|
|
8406
|
+
/** The previous value of the field. */
|
|
8407
|
+
from: string | null
|
|
8408
|
+
/** The new value of the field. */
|
|
8409
|
+
to: string | null
|
|
8410
|
+
}[]
|
|
8411
|
+
| undefined
|
|
8230
8412
|
}
|
|
8231
8413
|
| {
|
|
8232
8414
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10299,6 +10481,19 @@ export type Routes = {
|
|
|
10299
10481
|
created_at?: string | undefined
|
|
10300
10482
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10301
10483
|
error_code: 'code_modified_external_to_seam'
|
|
10484
|
+
/** 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. */
|
|
10485
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
10486
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
10487
|
+
modified_fields?:
|
|
10488
|
+
| {
|
|
10489
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
10490
|
+
field: string
|
|
10491
|
+
/** The previous value of the field. */
|
|
10492
|
+
from: string | null
|
|
10493
|
+
/** The new value of the field. */
|
|
10494
|
+
to: string | null
|
|
10495
|
+
}[]
|
|
10496
|
+
| undefined
|
|
10302
10497
|
}
|
|
10303
10498
|
| {
|
|
10304
10499
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10598,6 +10793,19 @@ export type Routes = {
|
|
|
10598
10793
|
created_at?: string | undefined
|
|
10599
10794
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10600
10795
|
warning_code: 'code_modified_external_to_seam'
|
|
10796
|
+
/** 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. */
|
|
10797
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
10798
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
10799
|
+
modified_fields?:
|
|
10800
|
+
| {
|
|
10801
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
10802
|
+
field: string
|
|
10803
|
+
/** The previous value of the field. */
|
|
10804
|
+
from: string | null
|
|
10805
|
+
/** The new value of the field. */
|
|
10806
|
+
to: string | null
|
|
10807
|
+
}[]
|
|
10808
|
+
| undefined
|
|
10601
10809
|
}
|
|
10602
10810
|
| {
|
|
10603
10811
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10874,6 +11082,19 @@ export type Routes = {
|
|
|
10874
11082
|
created_at?: string | undefined
|
|
10875
11083
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10876
11084
|
error_code: 'code_modified_external_to_seam'
|
|
11085
|
+
/** 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. */
|
|
11086
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
11087
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
11088
|
+
modified_fields?:
|
|
11089
|
+
| {
|
|
11090
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
11091
|
+
field: string
|
|
11092
|
+
/** The previous value of the field. */
|
|
11093
|
+
from: string | null
|
|
11094
|
+
/** The new value of the field. */
|
|
11095
|
+
to: string | null
|
|
11096
|
+
}[]
|
|
11097
|
+
| undefined
|
|
10877
11098
|
}
|
|
10878
11099
|
| {
|
|
10879
11100
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -11173,6 +11394,19 @@ export type Routes = {
|
|
|
11173
11394
|
created_at?: string | undefined
|
|
11174
11395
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11175
11396
|
warning_code: 'code_modified_external_to_seam'
|
|
11397
|
+
/** 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. */
|
|
11398
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
11399
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
11400
|
+
modified_fields?:
|
|
11401
|
+
| {
|
|
11402
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
11403
|
+
field: string
|
|
11404
|
+
/** The previous value of the field. */
|
|
11405
|
+
from: string | null
|
|
11406
|
+
/** The new value of the field. */
|
|
11407
|
+
to: string | null
|
|
11408
|
+
}[]
|
|
11409
|
+
| undefined
|
|
11176
11410
|
}
|
|
11177
11411
|
| {
|
|
11178
11412
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -128569,6 +128803,19 @@ export type Routes = {
|
|
|
128569
128803
|
created_at?: string | undefined
|
|
128570
128804
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
128571
128805
|
error_code: 'code_modified_external_to_seam'
|
|
128806
|
+
/** 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. */
|
|
128807
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
128808
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
128809
|
+
modified_fields?:
|
|
128810
|
+
| {
|
|
128811
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
128812
|
+
field: string
|
|
128813
|
+
/** The previous value of the field. */
|
|
128814
|
+
from: string | null
|
|
128815
|
+
/** The new value of the field. */
|
|
128816
|
+
to: string | null
|
|
128817
|
+
}[]
|
|
128818
|
+
| undefined
|
|
128572
128819
|
}
|
|
128573
128820
|
| {
|
|
128574
128821
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -128868,6 +129115,19 @@ export type Routes = {
|
|
|
128868
129115
|
created_at?: string | undefined
|
|
128869
129116
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
128870
129117
|
warning_code: 'code_modified_external_to_seam'
|
|
129118
|
+
/** 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. */
|
|
129119
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
129120
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
129121
|
+
modified_fields?:
|
|
129122
|
+
| {
|
|
129123
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
129124
|
+
field: string
|
|
129125
|
+
/** The previous value of the field. */
|
|
129126
|
+
from: string | null
|
|
129127
|
+
/** The new value of the field. */
|
|
129128
|
+
to: string | null
|
|
129129
|
+
}[]
|
|
129130
|
+
| undefined
|
|
128871
129131
|
}
|
|
128872
129132
|
| {
|
|
128873
129133
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -129130,6 +129390,19 @@ export type Routes = {
|
|
|
129130
129390
|
created_at?: string | undefined
|
|
129131
129391
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
129132
129392
|
error_code: 'code_modified_external_to_seam'
|
|
129393
|
+
/** 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. */
|
|
129394
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
129395
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
129396
|
+
modified_fields?:
|
|
129397
|
+
| {
|
|
129398
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
129399
|
+
field: string
|
|
129400
|
+
/** The previous value of the field. */
|
|
129401
|
+
from: string | null
|
|
129402
|
+
/** The new value of the field. */
|
|
129403
|
+
to: string | null
|
|
129404
|
+
}[]
|
|
129405
|
+
| undefined
|
|
129133
129406
|
}
|
|
129134
129407
|
| {
|
|
129135
129408
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -129429,6 +129702,19 @@ export type Routes = {
|
|
|
129429
129702
|
created_at?: string | undefined
|
|
129430
129703
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
129431
129704
|
warning_code: 'code_modified_external_to_seam'
|
|
129705
|
+
/** 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. */
|
|
129706
|
+
change_type?: ('modified' | 'removed') | undefined
|
|
129707
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
129708
|
+
modified_fields?:
|
|
129709
|
+
| {
|
|
129710
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
129711
|
+
field: string
|
|
129712
|
+
/** The previous value of the field. */
|
|
129713
|
+
from: string | null
|
|
129714
|
+
/** The new value of the field. */
|
|
129715
|
+
to: string | null
|
|
129716
|
+
}[]
|
|
129717
|
+
| undefined
|
|
129432
129718
|
}
|
|
129433
129719
|
| {
|
|
129434
129720
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|