@seamapi/types 1.358.0 → 1.360.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 +532 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2726 -1075
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +188 -128
- package/lib/seam/connect/models/events/devices.js +10 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
- package/lib/seam/connect/openapi.d.ts +482 -4
- package/lib/seam/connect/openapi.js +469 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +601 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/models/events/devices.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +502 -2
- package/src/lib/seam/connect/route-types.ts +633 -0
|
@@ -1057,15 +1057,34 @@ export interface Routes {
|
|
|
1057
1057
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1058
1058
|
error_code: 'subscription_required';
|
|
1059
1059
|
} | {
|
|
1060
|
+
/** Date and time at which Seam created the error. */
|
|
1061
|
+
created_at: string;
|
|
1060
1062
|
message: string;
|
|
1061
1063
|
is_connected_account_error: true;
|
|
1062
1064
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1063
1065
|
error_code: 'account_disconnected';
|
|
1064
1066
|
} | {
|
|
1067
|
+
/** Date and time at which Seam created the error. */
|
|
1068
|
+
created_at: string;
|
|
1065
1069
|
message: string;
|
|
1066
1070
|
is_connected_account_error: true;
|
|
1067
1071
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1068
1072
|
error_code: 'invalid_credentials';
|
|
1073
|
+
} | {
|
|
1074
|
+
/** Date and time at which Seam created the error. */
|
|
1075
|
+
created_at: string;
|
|
1076
|
+
message: string;
|
|
1077
|
+
is_connected_account_error: true;
|
|
1078
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1079
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
1080
|
+
salto_ks_metadata: {
|
|
1081
|
+
sites: Array<{
|
|
1082
|
+
site_id: string;
|
|
1083
|
+
site_name: string;
|
|
1084
|
+
subscribed_site_user_count: number;
|
|
1085
|
+
site_user_subscription_limit: number;
|
|
1086
|
+
}>;
|
|
1087
|
+
};
|
|
1069
1088
|
}>;
|
|
1070
1089
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
1071
1090
|
warnings: Array<{
|
|
@@ -1343,15 +1362,34 @@ export interface Routes {
|
|
|
1343
1362
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1344
1363
|
error_code: 'subscription_required';
|
|
1345
1364
|
} | {
|
|
1365
|
+
/** Date and time at which Seam created the error. */
|
|
1366
|
+
created_at: string;
|
|
1346
1367
|
message: string;
|
|
1347
1368
|
is_connected_account_error: true;
|
|
1348
1369
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1349
1370
|
error_code: 'account_disconnected';
|
|
1350
1371
|
} | {
|
|
1372
|
+
/** Date and time at which Seam created the error. */
|
|
1373
|
+
created_at: string;
|
|
1351
1374
|
message: string;
|
|
1352
1375
|
is_connected_account_error: true;
|
|
1353
1376
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1354
1377
|
error_code: 'invalid_credentials';
|
|
1378
|
+
} | {
|
|
1379
|
+
/** Date and time at which Seam created the error. */
|
|
1380
|
+
created_at: string;
|
|
1381
|
+
message: string;
|
|
1382
|
+
is_connected_account_error: true;
|
|
1383
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1384
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
1385
|
+
salto_ks_metadata: {
|
|
1386
|
+
sites: Array<{
|
|
1387
|
+
site_id: string;
|
|
1388
|
+
site_name: string;
|
|
1389
|
+
subscribed_site_user_count: number;
|
|
1390
|
+
site_user_subscription_limit: number;
|
|
1391
|
+
}>;
|
|
1392
|
+
};
|
|
1355
1393
|
}>;
|
|
1356
1394
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
1357
1395
|
warnings: Array<{
|
|
@@ -2502,15 +2540,34 @@ export interface Routes {
|
|
|
2502
2540
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2503
2541
|
error_code: 'subscription_required';
|
|
2504
2542
|
} | {
|
|
2543
|
+
/** Date and time at which Seam created the error. */
|
|
2544
|
+
created_at: string;
|
|
2505
2545
|
message: string;
|
|
2506
2546
|
is_connected_account_error: true;
|
|
2507
2547
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2508
2548
|
error_code: 'account_disconnected';
|
|
2509
2549
|
} | {
|
|
2550
|
+
/** Date and time at which Seam created the error. */
|
|
2551
|
+
created_at: string;
|
|
2510
2552
|
message: string;
|
|
2511
2553
|
is_connected_account_error: true;
|
|
2512
2554
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2513
2555
|
error_code: 'invalid_credentials';
|
|
2556
|
+
} | {
|
|
2557
|
+
/** Date and time at which Seam created the error. */
|
|
2558
|
+
created_at: string;
|
|
2559
|
+
message: string;
|
|
2560
|
+
is_connected_account_error: true;
|
|
2561
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2562
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
2563
|
+
salto_ks_metadata: {
|
|
2564
|
+
sites: Array<{
|
|
2565
|
+
site_id: string;
|
|
2566
|
+
site_name: string;
|
|
2567
|
+
subscribed_site_user_count: number;
|
|
2568
|
+
site_user_subscription_limit: number;
|
|
2569
|
+
}>;
|
|
2570
|
+
};
|
|
2514
2571
|
}>;
|
|
2515
2572
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2516
2573
|
warnings: Array<{
|
|
@@ -2775,15 +2832,34 @@ export interface Routes {
|
|
|
2775
2832
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2776
2833
|
error_code: 'subscription_required';
|
|
2777
2834
|
} | {
|
|
2835
|
+
/** Date and time at which Seam created the error. */
|
|
2836
|
+
created_at: string;
|
|
2778
2837
|
message: string;
|
|
2779
2838
|
is_connected_account_error: true;
|
|
2780
2839
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2781
2840
|
error_code: 'account_disconnected';
|
|
2782
2841
|
} | {
|
|
2842
|
+
/** Date and time at which Seam created the error. */
|
|
2843
|
+
created_at: string;
|
|
2783
2844
|
message: string;
|
|
2784
2845
|
is_connected_account_error: true;
|
|
2785
2846
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2786
2847
|
error_code: 'invalid_credentials';
|
|
2848
|
+
} | {
|
|
2849
|
+
/** Date and time at which Seam created the error. */
|
|
2850
|
+
created_at: string;
|
|
2851
|
+
message: string;
|
|
2852
|
+
is_connected_account_error: true;
|
|
2853
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2854
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
2855
|
+
salto_ks_metadata: {
|
|
2856
|
+
sites: Array<{
|
|
2857
|
+
site_id: string;
|
|
2858
|
+
site_name: string;
|
|
2859
|
+
subscribed_site_user_count: number;
|
|
2860
|
+
site_user_subscription_limit: number;
|
|
2861
|
+
}>;
|
|
2862
|
+
};
|
|
2787
2863
|
}>;
|
|
2788
2864
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2789
2865
|
warnings: Array<{
|
|
@@ -3047,15 +3123,34 @@ export interface Routes {
|
|
|
3047
3123
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3048
3124
|
error_code: 'subscription_required';
|
|
3049
3125
|
} | {
|
|
3126
|
+
/** Date and time at which Seam created the error. */
|
|
3127
|
+
created_at: string;
|
|
3050
3128
|
message: string;
|
|
3051
3129
|
is_connected_account_error: true;
|
|
3052
3130
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3053
3131
|
error_code: 'account_disconnected';
|
|
3054
3132
|
} | {
|
|
3133
|
+
/** Date and time at which Seam created the error. */
|
|
3134
|
+
created_at: string;
|
|
3055
3135
|
message: string;
|
|
3056
3136
|
is_connected_account_error: true;
|
|
3057
3137
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3058
3138
|
error_code: 'invalid_credentials';
|
|
3139
|
+
} | {
|
|
3140
|
+
/** Date and time at which Seam created the error. */
|
|
3141
|
+
created_at: string;
|
|
3142
|
+
message: string;
|
|
3143
|
+
is_connected_account_error: true;
|
|
3144
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3145
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
3146
|
+
salto_ks_metadata: {
|
|
3147
|
+
sites: Array<{
|
|
3148
|
+
site_id: string;
|
|
3149
|
+
site_name: string;
|
|
3150
|
+
subscribed_site_user_count: number;
|
|
3151
|
+
site_user_subscription_limit: number;
|
|
3152
|
+
}>;
|
|
3153
|
+
};
|
|
3059
3154
|
}>;
|
|
3060
3155
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
3061
3156
|
warnings: Array<{
|
|
@@ -3307,15 +3402,34 @@ export interface Routes {
|
|
|
3307
3402
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3308
3403
|
error_code: 'subscription_required';
|
|
3309
3404
|
} | {
|
|
3405
|
+
/** Date and time at which Seam created the error. */
|
|
3406
|
+
created_at: string;
|
|
3310
3407
|
message: string;
|
|
3311
3408
|
is_connected_account_error: true;
|
|
3312
3409
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3313
3410
|
error_code: 'account_disconnected';
|
|
3314
3411
|
} | {
|
|
3412
|
+
/** Date and time at which Seam created the error. */
|
|
3413
|
+
created_at: string;
|
|
3315
3414
|
message: string;
|
|
3316
3415
|
is_connected_account_error: true;
|
|
3317
3416
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3318
3417
|
error_code: 'invalid_credentials';
|
|
3418
|
+
} | {
|
|
3419
|
+
/** Date and time at which Seam created the error. */
|
|
3420
|
+
created_at: string;
|
|
3421
|
+
message: string;
|
|
3422
|
+
is_connected_account_error: true;
|
|
3423
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3424
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
3425
|
+
salto_ks_metadata: {
|
|
3426
|
+
sites: Array<{
|
|
3427
|
+
site_id: string;
|
|
3428
|
+
site_name: string;
|
|
3429
|
+
subscribed_site_user_count: number;
|
|
3430
|
+
site_user_subscription_limit: number;
|
|
3431
|
+
}>;
|
|
3432
|
+
};
|
|
3319
3433
|
}>;
|
|
3320
3434
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
3321
3435
|
warnings: Array<{
|
|
@@ -3575,15 +3689,34 @@ export interface Routes {
|
|
|
3575
3689
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3576
3690
|
error_code: 'subscription_required';
|
|
3577
3691
|
} | {
|
|
3692
|
+
/** Date and time at which Seam created the error. */
|
|
3693
|
+
created_at: string;
|
|
3578
3694
|
message: string;
|
|
3579
3695
|
is_connected_account_error: true;
|
|
3580
3696
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3581
3697
|
error_code: 'account_disconnected';
|
|
3582
3698
|
} | {
|
|
3699
|
+
/** Date and time at which Seam created the error. */
|
|
3700
|
+
created_at: string;
|
|
3583
3701
|
message: string;
|
|
3584
3702
|
is_connected_account_error: true;
|
|
3585
3703
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3586
3704
|
error_code: 'invalid_credentials';
|
|
3705
|
+
} | {
|
|
3706
|
+
/** Date and time at which Seam created the error. */
|
|
3707
|
+
created_at: string;
|
|
3708
|
+
message: string;
|
|
3709
|
+
is_connected_account_error: true;
|
|
3710
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3711
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
3712
|
+
salto_ks_metadata: {
|
|
3713
|
+
sites: Array<{
|
|
3714
|
+
site_id: string;
|
|
3715
|
+
site_name: string;
|
|
3716
|
+
subscribed_site_user_count: number;
|
|
3717
|
+
site_user_subscription_limit: number;
|
|
3718
|
+
}>;
|
|
3719
|
+
};
|
|
3587
3720
|
}>;
|
|
3588
3721
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
3589
3722
|
warnings: Array<{
|
|
@@ -4710,15 +4843,34 @@ export interface Routes {
|
|
|
4710
4843
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4711
4844
|
error_code: 'subscription_required';
|
|
4712
4845
|
} | {
|
|
4846
|
+
/** Date and time at which Seam created the error. */
|
|
4847
|
+
created_at: string;
|
|
4713
4848
|
message: string;
|
|
4714
4849
|
is_connected_account_error: true;
|
|
4715
4850
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4716
4851
|
error_code: 'account_disconnected';
|
|
4717
4852
|
} | {
|
|
4853
|
+
/** Date and time at which Seam created the error. */
|
|
4854
|
+
created_at: string;
|
|
4718
4855
|
message: string;
|
|
4719
4856
|
is_connected_account_error: true;
|
|
4720
4857
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4721
4858
|
error_code: 'invalid_credentials';
|
|
4859
|
+
} | {
|
|
4860
|
+
/** Date and time at which Seam created the error. */
|
|
4861
|
+
created_at: string;
|
|
4862
|
+
message: string;
|
|
4863
|
+
is_connected_account_error: true;
|
|
4864
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4865
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
4866
|
+
salto_ks_metadata: {
|
|
4867
|
+
sites: Array<{
|
|
4868
|
+
site_id: string;
|
|
4869
|
+
site_name: string;
|
|
4870
|
+
subscribed_site_user_count: number;
|
|
4871
|
+
site_user_subscription_limit: number;
|
|
4872
|
+
}>;
|
|
4873
|
+
};
|
|
4722
4874
|
}>;
|
|
4723
4875
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
4724
4876
|
warnings: Array<{
|
|
@@ -4960,15 +5112,34 @@ export interface Routes {
|
|
|
4960
5112
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4961
5113
|
error_code: 'subscription_required';
|
|
4962
5114
|
} | {
|
|
5115
|
+
/** Date and time at which Seam created the error. */
|
|
5116
|
+
created_at: string;
|
|
4963
5117
|
message: string;
|
|
4964
5118
|
is_connected_account_error: true;
|
|
4965
5119
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4966
5120
|
error_code: 'account_disconnected';
|
|
4967
5121
|
} | {
|
|
5122
|
+
/** Date and time at which Seam created the error. */
|
|
5123
|
+
created_at: string;
|
|
4968
5124
|
message: string;
|
|
4969
5125
|
is_connected_account_error: true;
|
|
4970
5126
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4971
5127
|
error_code: 'invalid_credentials';
|
|
5128
|
+
} | {
|
|
5129
|
+
/** Date and time at which Seam created the error. */
|
|
5130
|
+
created_at: string;
|
|
5131
|
+
message: string;
|
|
5132
|
+
is_connected_account_error: true;
|
|
5133
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5134
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
5135
|
+
salto_ks_metadata: {
|
|
5136
|
+
sites: Array<{
|
|
5137
|
+
site_id: string;
|
|
5138
|
+
site_name: string;
|
|
5139
|
+
subscribed_site_user_count: number;
|
|
5140
|
+
site_user_subscription_limit: number;
|
|
5141
|
+
}>;
|
|
5142
|
+
};
|
|
4972
5143
|
}>;
|
|
4973
5144
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
4974
5145
|
warnings: Array<{
|
|
@@ -13009,24 +13180,61 @@ export interface Routes {
|
|
|
13009
13180
|
account_type?: string | undefined;
|
|
13010
13181
|
account_type_display_name: string;
|
|
13011
13182
|
errors: Array<{
|
|
13183
|
+
/** Date and time at which Seam created the error. */
|
|
13184
|
+
created_at: string;
|
|
13012
13185
|
message: string;
|
|
13013
13186
|
is_connected_account_error: true;
|
|
13014
13187
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13015
13188
|
error_code: 'account_disconnected';
|
|
13016
13189
|
} | {
|
|
13190
|
+
/** Date and time at which Seam created the error. */
|
|
13191
|
+
created_at: string;
|
|
13017
13192
|
message: string;
|
|
13018
13193
|
is_connected_account_error: true;
|
|
13019
13194
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13020
13195
|
error_code: 'invalid_credentials';
|
|
13196
|
+
} | {
|
|
13197
|
+
/** Date and time at which Seam created the error. */
|
|
13198
|
+
created_at: string;
|
|
13199
|
+
message: string;
|
|
13200
|
+
is_connected_account_error: true;
|
|
13201
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13202
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
13203
|
+
salto_ks_metadata: {
|
|
13204
|
+
sites: Array<{
|
|
13205
|
+
site_id: string;
|
|
13206
|
+
site_name: string;
|
|
13207
|
+
subscribed_site_user_count: number;
|
|
13208
|
+
site_user_subscription_limit: number;
|
|
13209
|
+
}>;
|
|
13210
|
+
};
|
|
13021
13211
|
}>;
|
|
13022
13212
|
warnings: Array<{
|
|
13213
|
+
/** Date and time at which Seam created the warning. */
|
|
13214
|
+
created_at: string;
|
|
13023
13215
|
message: string;
|
|
13024
13216
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13025
13217
|
warning_code: 'scheduled_maintenance_window';
|
|
13026
13218
|
} | {
|
|
13219
|
+
/** Date and time at which Seam created the warning. */
|
|
13220
|
+
created_at: string;
|
|
13027
13221
|
message: string;
|
|
13028
13222
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13029
13223
|
warning_code: 'unknown_issue_with_connected_account';
|
|
13224
|
+
} | {
|
|
13225
|
+
/** Date and time at which Seam created the warning. */
|
|
13226
|
+
created_at: string;
|
|
13227
|
+
message: string;
|
|
13228
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13229
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
13230
|
+
salto_ks_metadata: {
|
|
13231
|
+
sites: Array<{
|
|
13232
|
+
site_id: string;
|
|
13233
|
+
site_name: string;
|
|
13234
|
+
site_user_subscription_limit: number;
|
|
13235
|
+
subscribed_site_user_count: number;
|
|
13236
|
+
}>;
|
|
13237
|
+
};
|
|
13030
13238
|
}>;
|
|
13031
13239
|
custom_metadata: Record<string, string | boolean>;
|
|
13032
13240
|
automatically_manage_new_devices: boolean;
|
|
@@ -13059,24 +13267,61 @@ export interface Routes {
|
|
|
13059
13267
|
account_type?: string | undefined;
|
|
13060
13268
|
account_type_display_name: string;
|
|
13061
13269
|
errors: Array<{
|
|
13270
|
+
/** Date and time at which Seam created the error. */
|
|
13271
|
+
created_at: string;
|
|
13062
13272
|
message: string;
|
|
13063
13273
|
is_connected_account_error: true;
|
|
13064
13274
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13065
13275
|
error_code: 'account_disconnected';
|
|
13066
13276
|
} | {
|
|
13277
|
+
/** Date and time at which Seam created the error. */
|
|
13278
|
+
created_at: string;
|
|
13067
13279
|
message: string;
|
|
13068
13280
|
is_connected_account_error: true;
|
|
13069
13281
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13070
13282
|
error_code: 'invalid_credentials';
|
|
13283
|
+
} | {
|
|
13284
|
+
/** Date and time at which Seam created the error. */
|
|
13285
|
+
created_at: string;
|
|
13286
|
+
message: string;
|
|
13287
|
+
is_connected_account_error: true;
|
|
13288
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13289
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
13290
|
+
salto_ks_metadata: {
|
|
13291
|
+
sites: Array<{
|
|
13292
|
+
site_id: string;
|
|
13293
|
+
site_name: string;
|
|
13294
|
+
subscribed_site_user_count: number;
|
|
13295
|
+
site_user_subscription_limit: number;
|
|
13296
|
+
}>;
|
|
13297
|
+
};
|
|
13071
13298
|
}>;
|
|
13072
13299
|
warnings: Array<{
|
|
13300
|
+
/** Date and time at which Seam created the warning. */
|
|
13301
|
+
created_at: string;
|
|
13073
13302
|
message: string;
|
|
13074
13303
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13075
13304
|
warning_code: 'scheduled_maintenance_window';
|
|
13076
13305
|
} | {
|
|
13306
|
+
/** Date and time at which Seam created the warning. */
|
|
13307
|
+
created_at: string;
|
|
13077
13308
|
message: string;
|
|
13078
13309
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13079
13310
|
warning_code: 'unknown_issue_with_connected_account';
|
|
13311
|
+
} | {
|
|
13312
|
+
/** Date and time at which Seam created the warning. */
|
|
13313
|
+
created_at: string;
|
|
13314
|
+
message: string;
|
|
13315
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13316
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
13317
|
+
salto_ks_metadata: {
|
|
13318
|
+
sites: Array<{
|
|
13319
|
+
site_id: string;
|
|
13320
|
+
site_name: string;
|
|
13321
|
+
site_user_subscription_limit: number;
|
|
13322
|
+
subscribed_site_user_count: number;
|
|
13323
|
+
}>;
|
|
13324
|
+
};
|
|
13080
13325
|
}>;
|
|
13081
13326
|
custom_metadata: Record<string, string | boolean>;
|
|
13082
13327
|
automatically_manage_new_devices: boolean;
|
|
@@ -13109,24 +13354,61 @@ export interface Routes {
|
|
|
13109
13354
|
account_type?: string | undefined;
|
|
13110
13355
|
account_type_display_name: string;
|
|
13111
13356
|
errors: Array<{
|
|
13357
|
+
/** Date and time at which Seam created the error. */
|
|
13358
|
+
created_at: string;
|
|
13112
13359
|
message: string;
|
|
13113
13360
|
is_connected_account_error: true;
|
|
13114
13361
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13115
13362
|
error_code: 'account_disconnected';
|
|
13116
13363
|
} | {
|
|
13364
|
+
/** Date and time at which Seam created the error. */
|
|
13365
|
+
created_at: string;
|
|
13117
13366
|
message: string;
|
|
13118
13367
|
is_connected_account_error: true;
|
|
13119
13368
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13120
13369
|
error_code: 'invalid_credentials';
|
|
13370
|
+
} | {
|
|
13371
|
+
/** Date and time at which Seam created the error. */
|
|
13372
|
+
created_at: string;
|
|
13373
|
+
message: string;
|
|
13374
|
+
is_connected_account_error: true;
|
|
13375
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13376
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
13377
|
+
salto_ks_metadata: {
|
|
13378
|
+
sites: Array<{
|
|
13379
|
+
site_id: string;
|
|
13380
|
+
site_name: string;
|
|
13381
|
+
subscribed_site_user_count: number;
|
|
13382
|
+
site_user_subscription_limit: number;
|
|
13383
|
+
}>;
|
|
13384
|
+
};
|
|
13121
13385
|
}>;
|
|
13122
13386
|
warnings: Array<{
|
|
13387
|
+
/** Date and time at which Seam created the warning. */
|
|
13388
|
+
created_at: string;
|
|
13123
13389
|
message: string;
|
|
13124
13390
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13125
13391
|
warning_code: 'scheduled_maintenance_window';
|
|
13126
13392
|
} | {
|
|
13393
|
+
/** Date and time at which Seam created the warning. */
|
|
13394
|
+
created_at: string;
|
|
13127
13395
|
message: string;
|
|
13128
13396
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13129
13397
|
warning_code: 'unknown_issue_with_connected_account';
|
|
13398
|
+
} | {
|
|
13399
|
+
/** Date and time at which Seam created the warning. */
|
|
13400
|
+
created_at: string;
|
|
13401
|
+
message: string;
|
|
13402
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13403
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
13404
|
+
salto_ks_metadata: {
|
|
13405
|
+
sites: Array<{
|
|
13406
|
+
site_id: string;
|
|
13407
|
+
site_name: string;
|
|
13408
|
+
site_user_subscription_limit: number;
|
|
13409
|
+
subscribed_site_user_count: number;
|
|
13410
|
+
}>;
|
|
13411
|
+
};
|
|
13130
13412
|
}>;
|
|
13131
13413
|
custom_metadata: Record<string, string | boolean>;
|
|
13132
13414
|
automatically_manage_new_devices: boolean;
|
|
@@ -13716,15 +13998,34 @@ export interface Routes {
|
|
|
13716
13998
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13717
13999
|
error_code: 'subscription_required';
|
|
13718
14000
|
} | {
|
|
14001
|
+
/** Date and time at which Seam created the error. */
|
|
14002
|
+
created_at: string;
|
|
13719
14003
|
message: string;
|
|
13720
14004
|
is_connected_account_error: true;
|
|
13721
14005
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13722
14006
|
error_code: 'account_disconnected';
|
|
13723
14007
|
} | {
|
|
14008
|
+
/** Date and time at which Seam created the error. */
|
|
14009
|
+
created_at: string;
|
|
13724
14010
|
message: string;
|
|
13725
14011
|
is_connected_account_error: true;
|
|
13726
14012
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13727
14013
|
error_code: 'invalid_credentials';
|
|
14014
|
+
} | {
|
|
14015
|
+
/** Date and time at which Seam created the error. */
|
|
14016
|
+
created_at: string;
|
|
14017
|
+
message: string;
|
|
14018
|
+
is_connected_account_error: true;
|
|
14019
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14020
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
14021
|
+
salto_ks_metadata: {
|
|
14022
|
+
sites: Array<{
|
|
14023
|
+
site_id: string;
|
|
14024
|
+
site_name: string;
|
|
14025
|
+
subscribed_site_user_count: number;
|
|
14026
|
+
site_user_subscription_limit: number;
|
|
14027
|
+
}>;
|
|
14028
|
+
};
|
|
13728
14029
|
}>;
|
|
13729
14030
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
13730
14031
|
warnings: Array<{
|
|
@@ -14406,15 +14707,34 @@ export interface Routes {
|
|
|
14406
14707
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14407
14708
|
error_code: 'subscription_required';
|
|
14408
14709
|
} | {
|
|
14710
|
+
/** Date and time at which Seam created the error. */
|
|
14711
|
+
created_at: string;
|
|
14409
14712
|
message: string;
|
|
14410
14713
|
is_connected_account_error: true;
|
|
14411
14714
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14412
14715
|
error_code: 'account_disconnected';
|
|
14413
14716
|
} | {
|
|
14717
|
+
/** Date and time at which Seam created the error. */
|
|
14718
|
+
created_at: string;
|
|
14414
14719
|
message: string;
|
|
14415
14720
|
is_connected_account_error: true;
|
|
14416
14721
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14417
14722
|
error_code: 'invalid_credentials';
|
|
14723
|
+
} | {
|
|
14724
|
+
/** Date and time at which Seam created the error. */
|
|
14725
|
+
created_at: string;
|
|
14726
|
+
message: string;
|
|
14727
|
+
is_connected_account_error: true;
|
|
14728
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14729
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
14730
|
+
salto_ks_metadata: {
|
|
14731
|
+
sites: Array<{
|
|
14732
|
+
site_id: string;
|
|
14733
|
+
site_name: string;
|
|
14734
|
+
subscribed_site_user_count: number;
|
|
14735
|
+
site_user_subscription_limit: number;
|
|
14736
|
+
}>;
|
|
14737
|
+
};
|
|
14418
14738
|
}>;
|
|
14419
14739
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
14420
14740
|
warnings: Array<{
|
|
@@ -14655,15 +14975,34 @@ export interface Routes {
|
|
|
14655
14975
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14656
14976
|
error_code: 'subscription_required';
|
|
14657
14977
|
} | {
|
|
14978
|
+
/** Date and time at which Seam created the error. */
|
|
14979
|
+
created_at: string;
|
|
14658
14980
|
message: string;
|
|
14659
14981
|
is_connected_account_error: true;
|
|
14660
14982
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14661
14983
|
error_code: 'account_disconnected';
|
|
14662
14984
|
} | {
|
|
14985
|
+
/** Date and time at which Seam created the error. */
|
|
14986
|
+
created_at: string;
|
|
14663
14987
|
message: string;
|
|
14664
14988
|
is_connected_account_error: true;
|
|
14665
14989
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14666
14990
|
error_code: 'invalid_credentials';
|
|
14991
|
+
} | {
|
|
14992
|
+
/** Date and time at which Seam created the error. */
|
|
14993
|
+
created_at: string;
|
|
14994
|
+
message: string;
|
|
14995
|
+
is_connected_account_error: true;
|
|
14996
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14997
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
14998
|
+
salto_ks_metadata: {
|
|
14999
|
+
sites: Array<{
|
|
15000
|
+
site_id: string;
|
|
15001
|
+
site_name: string;
|
|
15002
|
+
subscribed_site_user_count: number;
|
|
15003
|
+
site_user_subscription_limit: number;
|
|
15004
|
+
}>;
|
|
15005
|
+
};
|
|
14667
15006
|
}>;
|
|
14668
15007
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
14669
15008
|
warnings: Array<{
|
|
@@ -14913,15 +15252,34 @@ export interface Routes {
|
|
|
14913
15252
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14914
15253
|
error_code: 'subscription_required';
|
|
14915
15254
|
} | {
|
|
15255
|
+
/** Date and time at which Seam created the error. */
|
|
15256
|
+
created_at: string;
|
|
14916
15257
|
message: string;
|
|
14917
15258
|
is_connected_account_error: true;
|
|
14918
15259
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14919
15260
|
error_code: 'account_disconnected';
|
|
14920
15261
|
} | {
|
|
15262
|
+
/** Date and time at which Seam created the error. */
|
|
15263
|
+
created_at: string;
|
|
14921
15264
|
message: string;
|
|
14922
15265
|
is_connected_account_error: true;
|
|
14923
15266
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14924
15267
|
error_code: 'invalid_credentials';
|
|
15268
|
+
} | {
|
|
15269
|
+
/** Date and time at which Seam created the error. */
|
|
15270
|
+
created_at: string;
|
|
15271
|
+
message: string;
|
|
15272
|
+
is_connected_account_error: true;
|
|
15273
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15274
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
15275
|
+
salto_ks_metadata: {
|
|
15276
|
+
sites: Array<{
|
|
15277
|
+
site_id: string;
|
|
15278
|
+
site_name: string;
|
|
15279
|
+
subscribed_site_user_count: number;
|
|
15280
|
+
site_user_subscription_limit: number;
|
|
15281
|
+
}>;
|
|
15282
|
+
};
|
|
14925
15283
|
}>;
|
|
14926
15284
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
14927
15285
|
warnings: Array<{
|
|
@@ -16258,6 +16616,22 @@ export interface Routes {
|
|
|
16258
16616
|
temperature_celsius: number;
|
|
16259
16617
|
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
16260
16618
|
temperature_fahrenheit: number;
|
|
16619
|
+
} | {
|
|
16620
|
+
/** ID of the event. */
|
|
16621
|
+
event_id: string;
|
|
16622
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
16623
|
+
workspace_id: string;
|
|
16624
|
+
/** Date and time at which the event was created. */
|
|
16625
|
+
created_at: string;
|
|
16626
|
+
/** Date and time at which the event occurred. */
|
|
16627
|
+
occurred_at: string;
|
|
16628
|
+
/** ID of the device. */
|
|
16629
|
+
device_id: string;
|
|
16630
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
16631
|
+
connected_account_id: string;
|
|
16632
|
+
event_type: 'device.name_changed';
|
|
16633
|
+
/** The new name of the device. */
|
|
16634
|
+
new_name: string;
|
|
16261
16635
|
} | {
|
|
16262
16636
|
/** ID of the event. */
|
|
16263
16637
|
event_id: string;
|
|
@@ -16301,8 +16675,8 @@ export interface Routes {
|
|
|
16301
16675
|
acs_system_ids?: string[] | undefined;
|
|
16302
16676
|
access_code_id?: string | undefined;
|
|
16303
16677
|
access_code_ids?: string[] | undefined;
|
|
16304
|
-
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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
16305
|
-
event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
|
|
16678
|
+
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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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;
|
|
16679
|
+
event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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;
|
|
16306
16680
|
connected_account_id?: string | undefined;
|
|
16307
16681
|
connect_webview_id?: string | undefined;
|
|
16308
16682
|
limit?: number;
|
|
@@ -17470,6 +17844,22 @@ export interface Routes {
|
|
|
17470
17844
|
temperature_celsius: number;
|
|
17471
17845
|
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
17472
17846
|
temperature_fahrenheit: number;
|
|
17847
|
+
} | {
|
|
17848
|
+
/** ID of the event. */
|
|
17849
|
+
event_id: string;
|
|
17850
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
17851
|
+
workspace_id: string;
|
|
17852
|
+
/** Date and time at which the event was created. */
|
|
17853
|
+
created_at: string;
|
|
17854
|
+
/** Date and time at which the event occurred. */
|
|
17855
|
+
occurred_at: string;
|
|
17856
|
+
/** ID of the device. */
|
|
17857
|
+
device_id: string;
|
|
17858
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
17859
|
+
connected_account_id: string;
|
|
17860
|
+
event_type: 'device.name_changed';
|
|
17861
|
+
/** The new name of the device. */
|
|
17862
|
+
new_name: string;
|
|
17473
17863
|
} | {
|
|
17474
17864
|
/** ID of the event. */
|
|
17475
17865
|
event_id: string;
|
|
@@ -18069,15 +18459,34 @@ export interface Routes {
|
|
|
18069
18459
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18070
18460
|
error_code: 'subscription_required';
|
|
18071
18461
|
} | {
|
|
18462
|
+
/** Date and time at which Seam created the error. */
|
|
18463
|
+
created_at: string;
|
|
18072
18464
|
message: string;
|
|
18073
18465
|
is_connected_account_error: true;
|
|
18074
18466
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18075
18467
|
error_code: 'account_disconnected';
|
|
18076
18468
|
} | {
|
|
18469
|
+
/** Date and time at which Seam created the error. */
|
|
18470
|
+
created_at: string;
|
|
18077
18471
|
message: string;
|
|
18078
18472
|
is_connected_account_error: true;
|
|
18079
18473
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18080
18474
|
error_code: 'invalid_credentials';
|
|
18475
|
+
} | {
|
|
18476
|
+
/** Date and time at which Seam created the error. */
|
|
18477
|
+
created_at: string;
|
|
18478
|
+
message: string;
|
|
18479
|
+
is_connected_account_error: true;
|
|
18480
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18481
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
18482
|
+
salto_ks_metadata: {
|
|
18483
|
+
sites: Array<{
|
|
18484
|
+
site_id: string;
|
|
18485
|
+
site_name: string;
|
|
18486
|
+
subscribed_site_user_count: number;
|
|
18487
|
+
site_user_subscription_limit: number;
|
|
18488
|
+
}>;
|
|
18489
|
+
};
|
|
18081
18490
|
}>;
|
|
18082
18491
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
18083
18492
|
warnings: Array<{
|
|
@@ -18723,15 +19132,34 @@ export interface Routes {
|
|
|
18723
19132
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18724
19133
|
error_code: 'subscription_required';
|
|
18725
19134
|
} | {
|
|
19135
|
+
/** Date and time at which Seam created the error. */
|
|
19136
|
+
created_at: string;
|
|
18726
19137
|
message: string;
|
|
18727
19138
|
is_connected_account_error: true;
|
|
18728
19139
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18729
19140
|
error_code: 'account_disconnected';
|
|
18730
19141
|
} | {
|
|
19142
|
+
/** Date and time at which Seam created the error. */
|
|
19143
|
+
created_at: string;
|
|
18731
19144
|
message: string;
|
|
18732
19145
|
is_connected_account_error: true;
|
|
18733
19146
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18734
19147
|
error_code: 'invalid_credentials';
|
|
19148
|
+
} | {
|
|
19149
|
+
/** Date and time at which Seam created the error. */
|
|
19150
|
+
created_at: string;
|
|
19151
|
+
message: string;
|
|
19152
|
+
is_connected_account_error: true;
|
|
19153
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19154
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
19155
|
+
salto_ks_metadata: {
|
|
19156
|
+
sites: Array<{
|
|
19157
|
+
site_id: string;
|
|
19158
|
+
site_name: string;
|
|
19159
|
+
subscribed_site_user_count: number;
|
|
19160
|
+
site_user_subscription_limit: number;
|
|
19161
|
+
}>;
|
|
19162
|
+
};
|
|
18735
19163
|
}>;
|
|
18736
19164
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
18737
19165
|
warnings: Array<{
|
|
@@ -19413,15 +19841,34 @@ export interface Routes {
|
|
|
19413
19841
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19414
19842
|
error_code: 'subscription_required';
|
|
19415
19843
|
} | {
|
|
19844
|
+
/** Date and time at which Seam created the error. */
|
|
19845
|
+
created_at: string;
|
|
19416
19846
|
message: string;
|
|
19417
19847
|
is_connected_account_error: true;
|
|
19418
19848
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19419
19849
|
error_code: 'account_disconnected';
|
|
19420
19850
|
} | {
|
|
19851
|
+
/** Date and time at which Seam created the error. */
|
|
19852
|
+
created_at: string;
|
|
19421
19853
|
message: string;
|
|
19422
19854
|
is_connected_account_error: true;
|
|
19423
19855
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19424
19856
|
error_code: 'invalid_credentials';
|
|
19857
|
+
} | {
|
|
19858
|
+
/** Date and time at which Seam created the error. */
|
|
19859
|
+
created_at: string;
|
|
19860
|
+
message: string;
|
|
19861
|
+
is_connected_account_error: true;
|
|
19862
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19863
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
19864
|
+
salto_ks_metadata: {
|
|
19865
|
+
sites: Array<{
|
|
19866
|
+
site_id: string;
|
|
19867
|
+
site_name: string;
|
|
19868
|
+
subscribed_site_user_count: number;
|
|
19869
|
+
site_user_subscription_limit: number;
|
|
19870
|
+
}>;
|
|
19871
|
+
};
|
|
19425
19872
|
}>;
|
|
19426
19873
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
19427
19874
|
warnings: Array<{
|
|
@@ -20066,15 +20513,34 @@ export interface Routes {
|
|
|
20066
20513
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20067
20514
|
error_code: 'subscription_required';
|
|
20068
20515
|
} | {
|
|
20516
|
+
/** Date and time at which Seam created the error. */
|
|
20517
|
+
created_at: string;
|
|
20069
20518
|
message: string;
|
|
20070
20519
|
is_connected_account_error: true;
|
|
20071
20520
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20072
20521
|
error_code: 'account_disconnected';
|
|
20073
20522
|
} | {
|
|
20523
|
+
/** Date and time at which Seam created the error. */
|
|
20524
|
+
created_at: string;
|
|
20074
20525
|
message: string;
|
|
20075
20526
|
is_connected_account_error: true;
|
|
20076
20527
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20077
20528
|
error_code: 'invalid_credentials';
|
|
20529
|
+
} | {
|
|
20530
|
+
/** Date and time at which Seam created the error. */
|
|
20531
|
+
created_at: string;
|
|
20532
|
+
message: string;
|
|
20533
|
+
is_connected_account_error: true;
|
|
20534
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20535
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
20536
|
+
salto_ks_metadata: {
|
|
20537
|
+
sites: Array<{
|
|
20538
|
+
site_id: string;
|
|
20539
|
+
site_name: string;
|
|
20540
|
+
subscribed_site_user_count: number;
|
|
20541
|
+
site_user_subscription_limit: number;
|
|
20542
|
+
}>;
|
|
20543
|
+
};
|
|
20078
20544
|
}>;
|
|
20079
20545
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
20080
20546
|
warnings: Array<{
|
|
@@ -22527,15 +22993,34 @@ export interface Routes {
|
|
|
22527
22993
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22528
22994
|
error_code: 'subscription_required';
|
|
22529
22995
|
} | {
|
|
22996
|
+
/** Date and time at which Seam created the error. */
|
|
22997
|
+
created_at: string;
|
|
22530
22998
|
message: string;
|
|
22531
22999
|
is_connected_account_error: true;
|
|
22532
23000
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22533
23001
|
error_code: 'account_disconnected';
|
|
22534
23002
|
} | {
|
|
23003
|
+
/** Date and time at which Seam created the error. */
|
|
23004
|
+
created_at: string;
|
|
22535
23005
|
message: string;
|
|
22536
23006
|
is_connected_account_error: true;
|
|
22537
23007
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22538
23008
|
error_code: 'invalid_credentials';
|
|
23009
|
+
} | {
|
|
23010
|
+
/** Date and time at which Seam created the error. */
|
|
23011
|
+
created_at: string;
|
|
23012
|
+
message: string;
|
|
23013
|
+
is_connected_account_error: true;
|
|
23014
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23015
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
23016
|
+
salto_ks_metadata: {
|
|
23017
|
+
sites: Array<{
|
|
23018
|
+
site_id: string;
|
|
23019
|
+
site_name: string;
|
|
23020
|
+
subscribed_site_user_count: number;
|
|
23021
|
+
site_user_subscription_limit: number;
|
|
23022
|
+
}>;
|
|
23023
|
+
};
|
|
22539
23024
|
}>;
|
|
22540
23025
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
22541
23026
|
warnings: Array<{
|
|
@@ -23180,15 +23665,34 @@ export interface Routes {
|
|
|
23180
23665
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23181
23666
|
error_code: 'subscription_required';
|
|
23182
23667
|
} | {
|
|
23668
|
+
/** Date and time at which Seam created the error. */
|
|
23669
|
+
created_at: string;
|
|
23183
23670
|
message: string;
|
|
23184
23671
|
is_connected_account_error: true;
|
|
23185
23672
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23186
23673
|
error_code: 'account_disconnected';
|
|
23187
23674
|
} | {
|
|
23675
|
+
/** Date and time at which Seam created the error. */
|
|
23676
|
+
created_at: string;
|
|
23188
23677
|
message: string;
|
|
23189
23678
|
is_connected_account_error: true;
|
|
23190
23679
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23191
23680
|
error_code: 'invalid_credentials';
|
|
23681
|
+
} | {
|
|
23682
|
+
/** Date and time at which Seam created the error. */
|
|
23683
|
+
created_at: string;
|
|
23684
|
+
message: string;
|
|
23685
|
+
is_connected_account_error: true;
|
|
23686
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23687
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
23688
|
+
salto_ks_metadata: {
|
|
23689
|
+
sites: Array<{
|
|
23690
|
+
site_id: string;
|
|
23691
|
+
site_name: string;
|
|
23692
|
+
subscribed_site_user_count: number;
|
|
23693
|
+
site_user_subscription_limit: number;
|
|
23694
|
+
}>;
|
|
23695
|
+
};
|
|
23192
23696
|
}>;
|
|
23193
23697
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
23194
23698
|
warnings: Array<{
|
|
@@ -28613,15 +29117,34 @@ export interface Routes {
|
|
|
28613
29117
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28614
29118
|
error_code: 'subscription_required';
|
|
28615
29119
|
} | {
|
|
29120
|
+
/** Date and time at which Seam created the error. */
|
|
29121
|
+
created_at: string;
|
|
28616
29122
|
message: string;
|
|
28617
29123
|
is_connected_account_error: true;
|
|
28618
29124
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28619
29125
|
error_code: 'account_disconnected';
|
|
28620
29126
|
} | {
|
|
29127
|
+
/** Date and time at which Seam created the error. */
|
|
29128
|
+
created_at: string;
|
|
28621
29129
|
message: string;
|
|
28622
29130
|
is_connected_account_error: true;
|
|
28623
29131
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28624
29132
|
error_code: 'invalid_credentials';
|
|
29133
|
+
} | {
|
|
29134
|
+
/** Date and time at which Seam created the error. */
|
|
29135
|
+
created_at: string;
|
|
29136
|
+
message: string;
|
|
29137
|
+
is_connected_account_error: true;
|
|
29138
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29139
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
29140
|
+
salto_ks_metadata: {
|
|
29141
|
+
sites: Array<{
|
|
29142
|
+
site_id: string;
|
|
29143
|
+
site_name: string;
|
|
29144
|
+
subscribed_site_user_count: number;
|
|
29145
|
+
site_user_subscription_limit: number;
|
|
29146
|
+
}>;
|
|
29147
|
+
};
|
|
28625
29148
|
}>;
|
|
28626
29149
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
28627
29150
|
warnings: Array<{
|
|
@@ -31055,15 +31578,34 @@ export interface Routes {
|
|
|
31055
31578
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31056
31579
|
error_code: 'subscription_required';
|
|
31057
31580
|
} | {
|
|
31581
|
+
/** Date and time at which Seam created the error. */
|
|
31582
|
+
created_at: string;
|
|
31058
31583
|
message: string;
|
|
31059
31584
|
is_connected_account_error: true;
|
|
31060
31585
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31061
31586
|
error_code: 'account_disconnected';
|
|
31062
31587
|
} | {
|
|
31588
|
+
/** Date and time at which Seam created the error. */
|
|
31589
|
+
created_at: string;
|
|
31063
31590
|
message: string;
|
|
31064
31591
|
is_connected_account_error: true;
|
|
31065
31592
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31066
31593
|
error_code: 'invalid_credentials';
|
|
31594
|
+
} | {
|
|
31595
|
+
/** Date and time at which Seam created the error. */
|
|
31596
|
+
created_at: string;
|
|
31597
|
+
message: string;
|
|
31598
|
+
is_connected_account_error: true;
|
|
31599
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31600
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
31601
|
+
salto_ks_metadata: {
|
|
31602
|
+
sites: Array<{
|
|
31603
|
+
site_id: string;
|
|
31604
|
+
site_name: string;
|
|
31605
|
+
subscribed_site_user_count: number;
|
|
31606
|
+
site_user_subscription_limit: number;
|
|
31607
|
+
}>;
|
|
31608
|
+
};
|
|
31067
31609
|
}>;
|
|
31068
31610
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
31069
31611
|
warnings: Array<{
|
|
@@ -31708,15 +32250,34 @@ export interface Routes {
|
|
|
31708
32250
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31709
32251
|
error_code: 'subscription_required';
|
|
31710
32252
|
} | {
|
|
32253
|
+
/** Date and time at which Seam created the error. */
|
|
32254
|
+
created_at: string;
|
|
31711
32255
|
message: string;
|
|
31712
32256
|
is_connected_account_error: true;
|
|
31713
32257
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31714
32258
|
error_code: 'account_disconnected';
|
|
31715
32259
|
} | {
|
|
32260
|
+
/** Date and time at which Seam created the error. */
|
|
32261
|
+
created_at: string;
|
|
31716
32262
|
message: string;
|
|
31717
32263
|
is_connected_account_error: true;
|
|
31718
32264
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31719
32265
|
error_code: 'invalid_credentials';
|
|
32266
|
+
} | {
|
|
32267
|
+
/** Date and time at which Seam created the error. */
|
|
32268
|
+
created_at: string;
|
|
32269
|
+
message: string;
|
|
32270
|
+
is_connected_account_error: true;
|
|
32271
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32272
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
32273
|
+
salto_ks_metadata: {
|
|
32274
|
+
sites: Array<{
|
|
32275
|
+
site_id: string;
|
|
32276
|
+
site_name: string;
|
|
32277
|
+
subscribed_site_user_count: number;
|
|
32278
|
+
site_user_subscription_limit: number;
|
|
32279
|
+
}>;
|
|
32280
|
+
};
|
|
31720
32281
|
}>;
|
|
31721
32282
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
31722
32283
|
warnings: Array<{
|
|
@@ -35535,15 +36096,34 @@ export interface Routes {
|
|
|
35535
36096
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35536
36097
|
error_code: 'subscription_required';
|
|
35537
36098
|
} | {
|
|
36099
|
+
/** Date and time at which Seam created the error. */
|
|
36100
|
+
created_at: string;
|
|
35538
36101
|
message: string;
|
|
35539
36102
|
is_connected_account_error: true;
|
|
35540
36103
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35541
36104
|
error_code: 'account_disconnected';
|
|
35542
36105
|
} | {
|
|
36106
|
+
/** Date and time at which Seam created the error. */
|
|
36107
|
+
created_at: string;
|
|
35543
36108
|
message: string;
|
|
35544
36109
|
is_connected_account_error: true;
|
|
35545
36110
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35546
36111
|
error_code: 'invalid_credentials';
|
|
36112
|
+
} | {
|
|
36113
|
+
/** Date and time at which Seam created the error. */
|
|
36114
|
+
created_at: string;
|
|
36115
|
+
message: string;
|
|
36116
|
+
is_connected_account_error: true;
|
|
36117
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36118
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
36119
|
+
salto_ks_metadata: {
|
|
36120
|
+
sites: Array<{
|
|
36121
|
+
site_id: string;
|
|
36122
|
+
site_name: string;
|
|
36123
|
+
subscribed_site_user_count: number;
|
|
36124
|
+
site_user_subscription_limit: number;
|
|
36125
|
+
}>;
|
|
36126
|
+
};
|
|
35547
36127
|
}>;
|
|
35548
36128
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
35549
36129
|
warnings: Array<{
|
|
@@ -36190,15 +36770,34 @@ export interface Routes {
|
|
|
36190
36770
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36191
36771
|
error_code: 'subscription_required';
|
|
36192
36772
|
} | {
|
|
36773
|
+
/** Date and time at which Seam created the error. */
|
|
36774
|
+
created_at: string;
|
|
36193
36775
|
message: string;
|
|
36194
36776
|
is_connected_account_error: true;
|
|
36195
36777
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36196
36778
|
error_code: 'account_disconnected';
|
|
36197
36779
|
} | {
|
|
36780
|
+
/** Date and time at which Seam created the error. */
|
|
36781
|
+
created_at: string;
|
|
36198
36782
|
message: string;
|
|
36199
36783
|
is_connected_account_error: true;
|
|
36200
36784
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36201
36785
|
error_code: 'invalid_credentials';
|
|
36786
|
+
} | {
|
|
36787
|
+
/** Date and time at which Seam created the error. */
|
|
36788
|
+
created_at: string;
|
|
36789
|
+
message: string;
|
|
36790
|
+
is_connected_account_error: true;
|
|
36791
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36792
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
36793
|
+
salto_ks_metadata: {
|
|
36794
|
+
sites: Array<{
|
|
36795
|
+
site_id: string;
|
|
36796
|
+
site_name: string;
|
|
36797
|
+
subscribed_site_user_count: number;
|
|
36798
|
+
site_user_subscription_limit: number;
|
|
36799
|
+
}>;
|
|
36800
|
+
};
|
|
36202
36801
|
}>;
|
|
36203
36802
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
36204
36803
|
warnings: Array<{
|