@seamapi/types 1.561.0 → 1.563.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 +159 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +478 -4
- package/dist/index.cjs +159 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -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 +26 -0
- package/lib/seam/connect/models/batch.d.ts +315 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +11 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +54 -0
- package/lib/seam/connect/models/events/connected-accounts.js +9 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +27 -1
- package/lib/seam/connect/openapi.js +132 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +236 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +14 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +150 -0
- package/src/lib/seam/connect/route-types.ts +269 -0
package/dist/connect.d.cts
CHANGED
|
@@ -400,6 +400,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
400
400
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
401
401
|
is_access_code_error: true;
|
|
402
402
|
created_at?: string | undefined;
|
|
403
|
+
}>, z.ZodObject<{
|
|
404
|
+
message: z.ZodString;
|
|
405
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
406
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
407
|
+
} & {
|
|
408
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
message: string;
|
|
411
|
+
error_code: "kwikset_insufficient_permissions";
|
|
412
|
+
is_access_code_error: true;
|
|
413
|
+
created_at?: string | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
message: string;
|
|
416
|
+
error_code: "kwikset_insufficient_permissions";
|
|
417
|
+
is_access_code_error: true;
|
|
418
|
+
created_at?: string | undefined;
|
|
403
419
|
}>]>;
|
|
404
420
|
type AccessCodeError = z.infer<typeof access_code_error>;
|
|
405
421
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -971,6 +987,22 @@ declare const access_code: z.ZodObject<{
|
|
|
971
987
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
972
988
|
is_access_code_error: true;
|
|
973
989
|
created_at?: string | undefined;
|
|
990
|
+
}>, z.ZodObject<{
|
|
991
|
+
message: z.ZodString;
|
|
992
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
993
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
994
|
+
} & {
|
|
995
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
message: string;
|
|
998
|
+
error_code: "kwikset_insufficient_permissions";
|
|
999
|
+
is_access_code_error: true;
|
|
1000
|
+
created_at?: string | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
message: string;
|
|
1003
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1004
|
+
is_access_code_error: true;
|
|
1005
|
+
created_at?: string | undefined;
|
|
974
1006
|
}>, ...(z.ZodObject<{
|
|
975
1007
|
created_at: z.ZodString;
|
|
976
1008
|
message: z.ZodString;
|
|
@@ -1640,6 +1672,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1640
1672
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1641
1673
|
is_access_code_error: true;
|
|
1642
1674
|
created_at?: string | undefined;
|
|
1675
|
+
} | {
|
|
1676
|
+
message: string;
|
|
1677
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1678
|
+
is_access_code_error: true;
|
|
1679
|
+
created_at?: string | undefined;
|
|
1643
1680
|
} | {
|
|
1644
1681
|
message: string;
|
|
1645
1682
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -1934,6 +1971,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1934
1971
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1935
1972
|
is_access_code_error: true;
|
|
1936
1973
|
created_at?: string | undefined;
|
|
1974
|
+
} | {
|
|
1975
|
+
message: string;
|
|
1976
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1977
|
+
is_access_code_error: true;
|
|
1978
|
+
created_at?: string | undefined;
|
|
1937
1979
|
} | {
|
|
1938
1980
|
message: string;
|
|
1939
1981
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -2474,6 +2516,22 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2474
2516
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
2475
2517
|
is_access_code_error: true;
|
|
2476
2518
|
created_at?: string | undefined;
|
|
2519
|
+
}>, z.ZodObject<{
|
|
2520
|
+
message: z.ZodString;
|
|
2521
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
2522
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
} & {
|
|
2524
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
2525
|
+
}, "strip", z.ZodTypeAny, {
|
|
2526
|
+
message: string;
|
|
2527
|
+
error_code: "kwikset_insufficient_permissions";
|
|
2528
|
+
is_access_code_error: true;
|
|
2529
|
+
created_at?: string | undefined;
|
|
2530
|
+
}, {
|
|
2531
|
+
message: string;
|
|
2532
|
+
error_code: "kwikset_insufficient_permissions";
|
|
2533
|
+
is_access_code_error: true;
|
|
2534
|
+
created_at?: string | undefined;
|
|
2477
2535
|
}>, ...(z.ZodObject<{
|
|
2478
2536
|
created_at: z.ZodString;
|
|
2479
2537
|
message: z.ZodString;
|
|
@@ -3137,6 +3195,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3137
3195
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3138
3196
|
is_access_code_error: true;
|
|
3139
3197
|
created_at?: string | undefined;
|
|
3198
|
+
} | {
|
|
3199
|
+
message: string;
|
|
3200
|
+
error_code: "kwikset_insufficient_permissions";
|
|
3201
|
+
is_access_code_error: true;
|
|
3202
|
+
created_at?: string | undefined;
|
|
3140
3203
|
} | {
|
|
3141
3204
|
message: string;
|
|
3142
3205
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -3422,6 +3485,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3422
3485
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3423
3486
|
is_access_code_error: true;
|
|
3424
3487
|
created_at?: string | undefined;
|
|
3488
|
+
} | {
|
|
3489
|
+
message: string;
|
|
3490
|
+
error_code: "kwikset_insufficient_permissions";
|
|
3491
|
+
is_access_code_error: true;
|
|
3492
|
+
created_at?: string | undefined;
|
|
3425
3493
|
} | {
|
|
3426
3494
|
message: string;
|
|
3427
3495
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -26202,6 +26270,32 @@ declare const batch: z.ZodObject<{
|
|
|
26202
26270
|
occurred_at: string;
|
|
26203
26271
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
26204
26272
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26273
|
+
}>, z.ZodObject<{
|
|
26274
|
+
event_id: z.ZodString;
|
|
26275
|
+
workspace_id: z.ZodString;
|
|
26276
|
+
created_at: z.ZodString;
|
|
26277
|
+
occurred_at: z.ZodString;
|
|
26278
|
+
} & {
|
|
26279
|
+
connected_account_id: z.ZodString;
|
|
26280
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
26281
|
+
} & {
|
|
26282
|
+
event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
|
|
26283
|
+
}, "strip", z.ZodTypeAny, {
|
|
26284
|
+
workspace_id: string;
|
|
26285
|
+
created_at: string;
|
|
26286
|
+
connected_account_id: string;
|
|
26287
|
+
event_id: string;
|
|
26288
|
+
occurred_at: string;
|
|
26289
|
+
event_type: "connected_account.reauthorization_requested";
|
|
26290
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26291
|
+
}, {
|
|
26292
|
+
workspace_id: string;
|
|
26293
|
+
created_at: string;
|
|
26294
|
+
connected_account_id: string;
|
|
26295
|
+
event_id: string;
|
|
26296
|
+
occurred_at: string;
|
|
26297
|
+
event_type: "connected_account.reauthorization_requested";
|
|
26298
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26205
26299
|
}>, ...(z.ZodObject<{
|
|
26206
26300
|
event_id: z.ZodString;
|
|
26207
26301
|
workspace_id: z.ZodString;
|
|
@@ -28104,6 +28198,22 @@ declare const batch: z.ZodObject<{
|
|
|
28104
28198
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
28105
28199
|
is_access_code_error: true;
|
|
28106
28200
|
created_at?: string | undefined;
|
|
28201
|
+
}>, z.ZodObject<{
|
|
28202
|
+
message: z.ZodString;
|
|
28203
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
28204
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
28205
|
+
} & {
|
|
28206
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
28207
|
+
}, "strip", z.ZodTypeAny, {
|
|
28208
|
+
message: string;
|
|
28209
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28210
|
+
is_access_code_error: true;
|
|
28211
|
+
created_at?: string | undefined;
|
|
28212
|
+
}, {
|
|
28213
|
+
message: string;
|
|
28214
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28215
|
+
is_access_code_error: true;
|
|
28216
|
+
created_at?: string | undefined;
|
|
28107
28217
|
}>, ...(z.ZodObject<{
|
|
28108
28218
|
created_at: z.ZodString;
|
|
28109
28219
|
message: z.ZodString;
|
|
@@ -28773,6 +28883,11 @@ declare const batch: z.ZodObject<{
|
|
|
28773
28883
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
28774
28884
|
is_access_code_error: true;
|
|
28775
28885
|
created_at?: string | undefined;
|
|
28886
|
+
} | {
|
|
28887
|
+
message: string;
|
|
28888
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28889
|
+
is_access_code_error: true;
|
|
28890
|
+
created_at?: string | undefined;
|
|
28776
28891
|
} | {
|
|
28777
28892
|
message: string;
|
|
28778
28893
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -29067,6 +29182,11 @@ declare const batch: z.ZodObject<{
|
|
|
29067
29182
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
29068
29183
|
is_access_code_error: true;
|
|
29069
29184
|
created_at?: string | undefined;
|
|
29185
|
+
} | {
|
|
29186
|
+
message: string;
|
|
29187
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29188
|
+
is_access_code_error: true;
|
|
29189
|
+
created_at?: string | undefined;
|
|
29070
29190
|
} | {
|
|
29071
29191
|
message: string;
|
|
29072
29192
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -29605,6 +29725,22 @@ declare const batch: z.ZodObject<{
|
|
|
29605
29725
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
29606
29726
|
is_access_code_error: true;
|
|
29607
29727
|
created_at?: string | undefined;
|
|
29728
|
+
}>, z.ZodObject<{
|
|
29729
|
+
message: z.ZodString;
|
|
29730
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
29731
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
29732
|
+
} & {
|
|
29733
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
29734
|
+
}, "strip", z.ZodTypeAny, {
|
|
29735
|
+
message: string;
|
|
29736
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29737
|
+
is_access_code_error: true;
|
|
29738
|
+
created_at?: string | undefined;
|
|
29739
|
+
}, {
|
|
29740
|
+
message: string;
|
|
29741
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29742
|
+
is_access_code_error: true;
|
|
29743
|
+
created_at?: string | undefined;
|
|
29608
29744
|
}>, ...(z.ZodObject<{
|
|
29609
29745
|
created_at: z.ZodString;
|
|
29610
29746
|
message: z.ZodString;
|
|
@@ -30268,6 +30404,11 @@ declare const batch: z.ZodObject<{
|
|
|
30268
30404
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
30269
30405
|
is_access_code_error: true;
|
|
30270
30406
|
created_at?: string | undefined;
|
|
30407
|
+
} | {
|
|
30408
|
+
message: string;
|
|
30409
|
+
error_code: "kwikset_insufficient_permissions";
|
|
30410
|
+
is_access_code_error: true;
|
|
30411
|
+
created_at?: string | undefined;
|
|
30271
30412
|
} | {
|
|
30272
30413
|
message: string;
|
|
30273
30414
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -30553,6 +30694,11 @@ declare const batch: z.ZodObject<{
|
|
|
30553
30694
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
30554
30695
|
is_access_code_error: true;
|
|
30555
30696
|
created_at?: string | undefined;
|
|
30697
|
+
} | {
|
|
30698
|
+
message: string;
|
|
30699
|
+
error_code: "kwikset_insufficient_permissions";
|
|
30700
|
+
is_access_code_error: true;
|
|
30701
|
+
created_at?: string | undefined;
|
|
30556
30702
|
} | {
|
|
30557
30703
|
message: string;
|
|
30558
30704
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -33670,6 +33816,14 @@ declare const batch: z.ZodObject<{
|
|
|
33670
33816
|
occurred_at: string;
|
|
33671
33817
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
33672
33818
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33819
|
+
} | {
|
|
33820
|
+
workspace_id: string;
|
|
33821
|
+
created_at: string;
|
|
33822
|
+
connected_account_id: string;
|
|
33823
|
+
event_id: string;
|
|
33824
|
+
occurred_at: string;
|
|
33825
|
+
event_type: "connected_account.reauthorization_requested";
|
|
33826
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33673
33827
|
} | {
|
|
33674
33828
|
device_id: string;
|
|
33675
33829
|
workspace_id: string;
|
|
@@ -34244,6 +34398,11 @@ declare const batch: z.ZodObject<{
|
|
|
34244
34398
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
34245
34399
|
is_access_code_error: true;
|
|
34246
34400
|
created_at?: string | undefined;
|
|
34401
|
+
} | {
|
|
34402
|
+
message: string;
|
|
34403
|
+
error_code: "kwikset_insufficient_permissions";
|
|
34404
|
+
is_access_code_error: true;
|
|
34405
|
+
created_at?: string | undefined;
|
|
34247
34406
|
} | {
|
|
34248
34407
|
message: string;
|
|
34249
34408
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -34539,6 +34698,11 @@ declare const batch: z.ZodObject<{
|
|
|
34539
34698
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
34540
34699
|
is_access_code_error: true;
|
|
34541
34700
|
created_at?: string | undefined;
|
|
34701
|
+
} | {
|
|
34702
|
+
message: string;
|
|
34703
|
+
error_code: "kwikset_insufficient_permissions";
|
|
34704
|
+
is_access_code_error: true;
|
|
34705
|
+
created_at?: string | undefined;
|
|
34542
34706
|
} | {
|
|
34543
34707
|
message: string;
|
|
34544
34708
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -37551,6 +37715,14 @@ declare const batch: z.ZodObject<{
|
|
|
37551
37715
|
occurred_at: string;
|
|
37552
37716
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
37553
37717
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37718
|
+
} | {
|
|
37719
|
+
workspace_id: string;
|
|
37720
|
+
created_at: string;
|
|
37721
|
+
connected_account_id: string;
|
|
37722
|
+
event_id: string;
|
|
37723
|
+
occurred_at: string;
|
|
37724
|
+
event_type: "connected_account.reauthorization_requested";
|
|
37725
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
37554
37726
|
} | {
|
|
37555
37727
|
device_id: string;
|
|
37556
37728
|
workspace_id: string;
|
|
@@ -38125,6 +38297,11 @@ declare const batch: z.ZodObject<{
|
|
|
38125
38297
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
38126
38298
|
is_access_code_error: true;
|
|
38127
38299
|
created_at?: string | undefined;
|
|
38300
|
+
} | {
|
|
38301
|
+
message: string;
|
|
38302
|
+
error_code: "kwikset_insufficient_permissions";
|
|
38303
|
+
is_access_code_error: true;
|
|
38304
|
+
created_at?: string | undefined;
|
|
38128
38305
|
} | {
|
|
38129
38306
|
message: string;
|
|
38130
38307
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -38420,6 +38597,11 @@ declare const batch: z.ZodObject<{
|
|
|
38420
38597
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
38421
38598
|
is_access_code_error: true;
|
|
38422
38599
|
created_at?: string | undefined;
|
|
38600
|
+
} | {
|
|
38601
|
+
message: string;
|
|
38602
|
+
error_code: "kwikset_insufficient_permissions";
|
|
38603
|
+
is_access_code_error: true;
|
|
38604
|
+
created_at?: string | undefined;
|
|
38423
38605
|
} | {
|
|
38424
38606
|
message: string;
|
|
38425
38607
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -39012,6 +39194,19 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
|
|
|
39012
39194
|
}[];
|
|
39013
39195
|
};
|
|
39014
39196
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
39197
|
+
}>, z.ZodObject<{
|
|
39198
|
+
created_at: z.ZodString;
|
|
39199
|
+
message: z.ZodString;
|
|
39200
|
+
} & {
|
|
39201
|
+
warning_code: z.ZodLiteral<"account_reauthorization_requested">;
|
|
39202
|
+
}, "strip", z.ZodTypeAny, {
|
|
39203
|
+
message: string;
|
|
39204
|
+
created_at: string;
|
|
39205
|
+
warning_code: "account_reauthorization_requested";
|
|
39206
|
+
}, {
|
|
39207
|
+
message: string;
|
|
39208
|
+
created_at: string;
|
|
39209
|
+
warning_code: "account_reauthorization_requested";
|
|
39015
39210
|
}>]>;
|
|
39016
39211
|
declare const connected_account: z.ZodObject<{
|
|
39017
39212
|
connected_account_id: z.ZodString;
|
|
@@ -39230,6 +39425,19 @@ declare const connected_account: z.ZodObject<{
|
|
|
39230
39425
|
}[];
|
|
39231
39426
|
};
|
|
39232
39427
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
39428
|
+
}>, z.ZodObject<{
|
|
39429
|
+
created_at: z.ZodString;
|
|
39430
|
+
message: z.ZodString;
|
|
39431
|
+
} & {
|
|
39432
|
+
warning_code: z.ZodLiteral<"account_reauthorization_requested">;
|
|
39433
|
+
}, "strip", z.ZodTypeAny, {
|
|
39434
|
+
message: string;
|
|
39435
|
+
created_at: string;
|
|
39436
|
+
warning_code: "account_reauthorization_requested";
|
|
39437
|
+
}, {
|
|
39438
|
+
message: string;
|
|
39439
|
+
created_at: string;
|
|
39440
|
+
warning_code: "account_reauthorization_requested";
|
|
39233
39441
|
}>]>, "many">;
|
|
39234
39442
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
39235
39443
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
@@ -39285,6 +39493,10 @@ declare const connected_account: z.ZodObject<{
|
|
|
39285
39493
|
}[];
|
|
39286
39494
|
};
|
|
39287
39495
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
39496
|
+
} | {
|
|
39497
|
+
message: string;
|
|
39498
|
+
created_at: string;
|
|
39499
|
+
warning_code: "account_reauthorization_requested";
|
|
39288
39500
|
})[];
|
|
39289
39501
|
custom_metadata: Record<string, string | boolean>;
|
|
39290
39502
|
automatically_manage_new_devices: boolean;
|
|
@@ -39349,6 +39561,10 @@ declare const connected_account: z.ZodObject<{
|
|
|
39349
39561
|
}[];
|
|
39350
39562
|
};
|
|
39351
39563
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
39564
|
+
} | {
|
|
39565
|
+
message: string;
|
|
39566
|
+
created_at: string;
|
|
39567
|
+
warning_code: "account_reauthorization_requested";
|
|
39352
39568
|
})[];
|
|
39353
39569
|
custom_metadata: Record<string, string | boolean>;
|
|
39354
39570
|
automatically_manage_new_devices: boolean;
|
|
@@ -49090,6 +49306,32 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
49090
49306
|
occurred_at: string;
|
|
49091
49307
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
49092
49308
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
49309
|
+
}>, z.ZodObject<{
|
|
49310
|
+
event_id: z.ZodString;
|
|
49311
|
+
workspace_id: z.ZodString;
|
|
49312
|
+
created_at: z.ZodString;
|
|
49313
|
+
occurred_at: z.ZodString;
|
|
49314
|
+
} & {
|
|
49315
|
+
connected_account_id: z.ZodString;
|
|
49316
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
49317
|
+
} & {
|
|
49318
|
+
event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
|
|
49319
|
+
}, "strip", z.ZodTypeAny, {
|
|
49320
|
+
workspace_id: string;
|
|
49321
|
+
created_at: string;
|
|
49322
|
+
connected_account_id: string;
|
|
49323
|
+
event_id: string;
|
|
49324
|
+
occurred_at: string;
|
|
49325
|
+
event_type: "connected_account.reauthorization_requested";
|
|
49326
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
49327
|
+
}, {
|
|
49328
|
+
workspace_id: string;
|
|
49329
|
+
created_at: string;
|
|
49330
|
+
connected_account_id: string;
|
|
49331
|
+
event_id: string;
|
|
49332
|
+
occurred_at: string;
|
|
49333
|
+
event_type: "connected_account.reauthorization_requested";
|
|
49334
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
49093
49335
|
}>, ...(z.ZodObject<{
|
|
49094
49336
|
event_id: z.ZodString;
|
|
49095
49337
|
workspace_id: z.ZodString;
|
|
@@ -105278,6 +105520,15 @@ type Routes = {
|
|
|
105278
105520
|
created_at?: string | undefined;
|
|
105279
105521
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105280
105522
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
105523
|
+
} | {
|
|
105524
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105525
|
+
message: string;
|
|
105526
|
+
/** Indicates that this is an access code error. */
|
|
105527
|
+
is_access_code_error: true;
|
|
105528
|
+
/** Date and time at which Seam created the error. */
|
|
105529
|
+
created_at?: string | undefined;
|
|
105530
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105531
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
105281
105532
|
} | {
|
|
105282
105533
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105283
105534
|
message: string;
|
|
@@ -105823,6 +106074,15 @@ type Routes = {
|
|
|
105823
106074
|
created_at?: string | undefined;
|
|
105824
106075
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105825
106076
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
106077
|
+
} | {
|
|
106078
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
106079
|
+
message: string;
|
|
106080
|
+
/** Indicates that this is an access code error. */
|
|
106081
|
+
is_access_code_error: true;
|
|
106082
|
+
/** Date and time at which Seam created the error. */
|
|
106083
|
+
created_at?: string | undefined;
|
|
106084
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
106085
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
105826
106086
|
} | {
|
|
105827
106087
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105828
106088
|
message: string;
|
|
@@ -107622,6 +107882,15 @@ type Routes = {
|
|
|
107622
107882
|
created_at?: string | undefined;
|
|
107623
107883
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107624
107884
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
107885
|
+
} | {
|
|
107886
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107887
|
+
message: string;
|
|
107888
|
+
/** Indicates that this is an access code error. */
|
|
107889
|
+
is_access_code_error: true;
|
|
107890
|
+
/** Date and time at which Seam created the error. */
|
|
107891
|
+
created_at?: string | undefined;
|
|
107892
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107893
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
107625
107894
|
} | {
|
|
107626
107895
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107627
107896
|
message: string;
|
|
@@ -108141,6 +108410,15 @@ type Routes = {
|
|
|
108141
108410
|
created_at?: string | undefined;
|
|
108142
108411
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108143
108412
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
108413
|
+
} | {
|
|
108414
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108415
|
+
message: string;
|
|
108416
|
+
/** Indicates that this is an access code error. */
|
|
108417
|
+
is_access_code_error: true;
|
|
108418
|
+
/** Date and time at which Seam created the error. */
|
|
108419
|
+
created_at?: string | undefined;
|
|
108420
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108421
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
108144
108422
|
} | {
|
|
108145
108423
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108146
108424
|
message: string;
|
|
@@ -108666,6 +108944,15 @@ type Routes = {
|
|
|
108666
108944
|
created_at?: string | undefined;
|
|
108667
108945
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108668
108946
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
108947
|
+
} | {
|
|
108948
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108949
|
+
message: string;
|
|
108950
|
+
/** Indicates that this is an access code error. */
|
|
108951
|
+
is_access_code_error: true;
|
|
108952
|
+
/** Date and time at which Seam created the error. */
|
|
108953
|
+
created_at?: string | undefined;
|
|
108954
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108955
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
108669
108956
|
} | {
|
|
108670
108957
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108671
108958
|
message: string;
|
|
@@ -109169,6 +109456,15 @@ type Routes = {
|
|
|
109169
109456
|
created_at?: string | undefined;
|
|
109170
109457
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109171
109458
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
109459
|
+
} | {
|
|
109460
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109461
|
+
message: string;
|
|
109462
|
+
/** Indicates that this is an access code error. */
|
|
109463
|
+
is_access_code_error: true;
|
|
109464
|
+
/** Date and time at which Seam created the error. */
|
|
109465
|
+
created_at?: string | undefined;
|
|
109466
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109467
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
109172
109468
|
} | {
|
|
109173
109469
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109174
109470
|
message: string;
|
|
@@ -109705,6 +110001,15 @@ type Routes = {
|
|
|
109705
110001
|
created_at?: string | undefined;
|
|
109706
110002
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109707
110003
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
110004
|
+
} | {
|
|
110005
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
110006
|
+
message: string;
|
|
110007
|
+
/** Indicates that this is an access code error. */
|
|
110008
|
+
is_access_code_error: true;
|
|
110009
|
+
/** Date and time at which Seam created the error. */
|
|
110010
|
+
created_at?: string | undefined;
|
|
110011
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
110012
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
109708
110013
|
} | {
|
|
109709
110014
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109710
110015
|
message: string;
|
|
@@ -111491,6 +111796,15 @@ type Routes = {
|
|
|
111491
111796
|
created_at?: string | undefined;
|
|
111492
111797
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111493
111798
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
111799
|
+
} | {
|
|
111800
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111801
|
+
message: string;
|
|
111802
|
+
/** Indicates that this is an access code error. */
|
|
111803
|
+
is_access_code_error: true;
|
|
111804
|
+
/** Date and time at which Seam created the error. */
|
|
111805
|
+
created_at?: string | undefined;
|
|
111806
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111807
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
111494
111808
|
} | {
|
|
111495
111809
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111496
111810
|
message: string;
|
|
@@ -111988,6 +112302,15 @@ type Routes = {
|
|
|
111988
112302
|
created_at?: string | undefined;
|
|
111989
112303
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111990
112304
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
112305
|
+
} | {
|
|
112306
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
112307
|
+
message: string;
|
|
112308
|
+
/** Indicates that this is an access code error. */
|
|
112309
|
+
is_access_code_error: true;
|
|
112310
|
+
/** Date and time at which Seam created the error. */
|
|
112311
|
+
created_at?: string | undefined;
|
|
112312
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112313
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
111991
112314
|
} | {
|
|
111992
112315
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111993
112316
|
message: string;
|
|
@@ -115287,6 +115610,13 @@ type Routes = {
|
|
|
115287
115610
|
subscribed_site_user_count: number;
|
|
115288
115611
|
}[];
|
|
115289
115612
|
};
|
|
115613
|
+
} | {
|
|
115614
|
+
/** Date and time at which Seam created the warning. */
|
|
115615
|
+
created_at: string;
|
|
115616
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115617
|
+
message: string;
|
|
115618
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
115619
|
+
warning_code: 'account_reauthorization_requested';
|
|
115290
115620
|
})[];
|
|
115291
115621
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
115292
115622
|
custom_metadata: {
|
|
@@ -121909,6 +122239,22 @@ type Routes = {
|
|
|
121909
122239
|
[x: string]: string | boolean;
|
|
121910
122240
|
} | undefined;
|
|
121911
122241
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
122242
|
+
} | {
|
|
122243
|
+
/** ID of the event. */
|
|
122244
|
+
event_id: string;
|
|
122245
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
122246
|
+
workspace_id: string;
|
|
122247
|
+
/** Date and time at which the event was created. */
|
|
122248
|
+
created_at: string;
|
|
122249
|
+
/** Date and time at which the event occurred. */
|
|
122250
|
+
occurred_at: string;
|
|
122251
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
122252
|
+
connected_account_id: string;
|
|
122253
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
122254
|
+
connected_account_custom_metadata?: {
|
|
122255
|
+
[x: string]: string | boolean;
|
|
122256
|
+
} | undefined;
|
|
122257
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
121912
122258
|
} | {
|
|
121913
122259
|
/** ID of the event. */
|
|
121914
122260
|
event_id: string;
|
|
@@ -123132,6 +123478,15 @@ type Routes = {
|
|
|
123132
123478
|
created_at?: string | undefined;
|
|
123133
123479
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123134
123480
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
123481
|
+
} | {
|
|
123482
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123483
|
+
message: string;
|
|
123484
|
+
/** Indicates that this is an access code error. */
|
|
123485
|
+
is_access_code_error: true;
|
|
123486
|
+
/** Date and time at which Seam created the error. */
|
|
123487
|
+
created_at?: string | undefined;
|
|
123488
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123489
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
123135
123490
|
} | {
|
|
123136
123491
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123137
123492
|
message: string;
|
|
@@ -123622,6 +123977,15 @@ type Routes = {
|
|
|
123622
123977
|
created_at?: string | undefined;
|
|
123623
123978
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123624
123979
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
123980
|
+
} | {
|
|
123981
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123982
|
+
message: string;
|
|
123983
|
+
/** Indicates that this is an access code error. */
|
|
123984
|
+
is_access_code_error: true;
|
|
123985
|
+
/** Date and time at which Seam created the error. */
|
|
123986
|
+
created_at?: string | undefined;
|
|
123987
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123988
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
123625
123989
|
} | {
|
|
123626
123990
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123627
123991
|
message: string;
|
|
@@ -134457,6 +134821,13 @@ type Routes = {
|
|
|
134457
134821
|
subscribed_site_user_count: number;
|
|
134458
134822
|
}[];
|
|
134459
134823
|
};
|
|
134824
|
+
} | {
|
|
134825
|
+
/** Date and time at which Seam created the warning. */
|
|
134826
|
+
created_at: string;
|
|
134827
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
134828
|
+
message: string;
|
|
134829
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
134830
|
+
warning_code: 'account_reauthorization_requested';
|
|
134460
134831
|
})[];
|
|
134461
134832
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
134462
134833
|
custom_metadata: {
|
|
@@ -134601,6 +134972,13 @@ type Routes = {
|
|
|
134601
134972
|
subscribed_site_user_count: number;
|
|
134602
134973
|
}[];
|
|
134603
134974
|
};
|
|
134975
|
+
} | {
|
|
134976
|
+
/** Date and time at which Seam created the warning. */
|
|
134977
|
+
created_at: string;
|
|
134978
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
134979
|
+
message: string;
|
|
134980
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
134981
|
+
warning_code: 'account_reauthorization_requested';
|
|
134604
134982
|
})[];
|
|
134605
134983
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
134606
134984
|
custom_metadata: {
|
|
@@ -134763,6 +135141,13 @@ type Routes = {
|
|
|
134763
135141
|
subscribed_site_user_count: number;
|
|
134764
135142
|
}[];
|
|
134765
135143
|
};
|
|
135144
|
+
} | {
|
|
135145
|
+
/** Date and time at which Seam created the warning. */
|
|
135146
|
+
created_at: string;
|
|
135147
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
135148
|
+
message: string;
|
|
135149
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
135150
|
+
warning_code: 'account_reauthorization_requested';
|
|
134766
135151
|
})[];
|
|
134767
135152
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
134768
135153
|
custom_metadata: {
|
|
@@ -139797,6 +140182,22 @@ type Routes = {
|
|
|
139797
140182
|
[x: string]: string | boolean;
|
|
139798
140183
|
} | undefined;
|
|
139799
140184
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
140185
|
+
} | {
|
|
140186
|
+
/** ID of the event. */
|
|
140187
|
+
event_id: string;
|
|
140188
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
140189
|
+
workspace_id: string;
|
|
140190
|
+
/** Date and time at which the event was created. */
|
|
140191
|
+
created_at: string;
|
|
140192
|
+
/** Date and time at which the event occurred. */
|
|
140193
|
+
occurred_at: string;
|
|
140194
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
140195
|
+
connected_account_id: string;
|
|
140196
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
140197
|
+
connected_account_custom_metadata?: {
|
|
140198
|
+
[x: string]: string | boolean;
|
|
140199
|
+
} | undefined;
|
|
140200
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
139800
140201
|
} | {
|
|
139801
140202
|
/** ID of the event. */
|
|
139802
140203
|
event_id: string;
|
|
@@ -140776,9 +141177,9 @@ type Routes = {
|
|
|
140776
141177
|
/** IDs of the access codes for which you want to list events. */
|
|
140777
141178
|
access_code_ids?: string[] | undefined;
|
|
140778
141179
|
/** Type of the events that you want to list. */
|
|
140779
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
141180
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
140780
141181
|
/** Types of the events that you want to list. */
|
|
140781
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
|
|
141182
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
|
|
140782
141183
|
/** ID of the connected account for which you want to list events. */
|
|
140783
141184
|
connected_account_id?: string | undefined;
|
|
140784
141185
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -141721,6 +142122,22 @@ type Routes = {
|
|
|
141721
142122
|
[x: string]: string | boolean;
|
|
141722
142123
|
} | undefined;
|
|
141723
142124
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
142125
|
+
} | {
|
|
142126
|
+
/** ID of the event. */
|
|
142127
|
+
event_id: string;
|
|
142128
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
142129
|
+
workspace_id: string;
|
|
142130
|
+
/** Date and time at which the event was created. */
|
|
142131
|
+
created_at: string;
|
|
142132
|
+
/** Date and time at which the event occurred. */
|
|
142133
|
+
occurred_at: string;
|
|
142134
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
142135
|
+
connected_account_id: string;
|
|
142136
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
142137
|
+
connected_account_custom_metadata?: {
|
|
142138
|
+
[x: string]: string | boolean;
|
|
142139
|
+
} | undefined;
|
|
142140
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
141724
142141
|
} | {
|
|
141725
142142
|
/** ID of the event. */
|
|
141726
142143
|
event_id: string;
|
|
@@ -159803,9 +160220,9 @@ type Routes = {
|
|
|
159803
160220
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
159804
160221
|
between?: (string | Date)[] | undefined;
|
|
159805
160222
|
/** Type of the events that you want to list. */
|
|
159806
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
160223
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
159807
160224
|
/** Types of the events that you want to list. */
|
|
159808
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
|
|
160225
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
|
|
159809
160226
|
/** Numerical limit on the number of events to return. */
|
|
159810
160227
|
limit?: number;
|
|
159811
160228
|
};
|
|
@@ -160742,6 +161159,22 @@ type Routes = {
|
|
|
160742
161159
|
[x: string]: string | boolean;
|
|
160743
161160
|
} | undefined;
|
|
160744
161161
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
161162
|
+
} | {
|
|
161163
|
+
/** ID of the event. */
|
|
161164
|
+
event_id: string;
|
|
161165
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
161166
|
+
workspace_id: string;
|
|
161167
|
+
/** Date and time at which the event was created. */
|
|
161168
|
+
created_at: string;
|
|
161169
|
+
/** Date and time at which the event occurred. */
|
|
161170
|
+
occurred_at: string;
|
|
161171
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
161172
|
+
connected_account_id: string;
|
|
161173
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
161174
|
+
connected_account_custom_metadata?: {
|
|
161175
|
+
[x: string]: string | boolean;
|
|
161176
|
+
} | undefined;
|
|
161177
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
160745
161178
|
} | {
|
|
160746
161179
|
/** ID of the event. */
|
|
160747
161180
|
event_id: string;
|
|
@@ -164026,6 +164459,13 @@ type Routes = {
|
|
|
164026
164459
|
subscribed_site_user_count: number;
|
|
164027
164460
|
}[];
|
|
164028
164461
|
};
|
|
164462
|
+
} | {
|
|
164463
|
+
/** Date and time at which Seam created the warning. */
|
|
164464
|
+
created_at: string;
|
|
164465
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
164466
|
+
message: string;
|
|
164467
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
164468
|
+
warning_code: 'account_reauthorization_requested';
|
|
164029
164469
|
})[];
|
|
164030
164470
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
164031
164471
|
custom_metadata: {
|
|
@@ -188397,6 +188837,22 @@ type Routes = {
|
|
|
188397
188837
|
[x: string]: string | boolean;
|
|
188398
188838
|
} | undefined;
|
|
188399
188839
|
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
188840
|
+
} | {
|
|
188841
|
+
/** ID of the event. */
|
|
188842
|
+
event_id: string;
|
|
188843
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
188844
|
+
workspace_id: string;
|
|
188845
|
+
/** Date and time at which the event was created. */
|
|
188846
|
+
created_at: string;
|
|
188847
|
+
/** Date and time at which the event occurred. */
|
|
188848
|
+
occurred_at: string;
|
|
188849
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
188850
|
+
connected_account_id: string;
|
|
188851
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
188852
|
+
connected_account_custom_metadata?: {
|
|
188853
|
+
[x: string]: string | boolean;
|
|
188854
|
+
} | undefined;
|
|
188855
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
188400
188856
|
} | {
|
|
188401
188857
|
/** ID of the event. */
|
|
188402
188858
|
event_id: string;
|
|
@@ -189620,6 +190076,15 @@ type Routes = {
|
|
|
189620
190076
|
created_at?: string | undefined;
|
|
189621
190077
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
189622
190078
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
190079
|
+
} | {
|
|
190080
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190081
|
+
message: string;
|
|
190082
|
+
/** Indicates that this is an access code error. */
|
|
190083
|
+
is_access_code_error: true;
|
|
190084
|
+
/** Date and time at which Seam created the error. */
|
|
190085
|
+
created_at?: string | undefined;
|
|
190086
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
190087
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
189623
190088
|
} | {
|
|
189624
190089
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
189625
190090
|
message: string;
|
|
@@ -190110,6 +190575,15 @@ type Routes = {
|
|
|
190110
190575
|
created_at?: string | undefined;
|
|
190111
190576
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
190112
190577
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
190578
|
+
} | {
|
|
190579
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190580
|
+
message: string;
|
|
190581
|
+
/** Indicates that this is an access code error. */
|
|
190582
|
+
is_access_code_error: true;
|
|
190583
|
+
/** Date and time at which Seam created the error. */
|
|
190584
|
+
created_at?: string | undefined;
|
|
190585
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
190586
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
190113
190587
|
} | {
|
|
190114
190588
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190115
190589
|
message: string;
|