@seamapi/types 1.154.0 → 1.155.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 +11 -271
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +27 -435
- package/lib/seam/connect/models/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/capability-properties/access-code.js +1 -0
- package/lib/seam/connect/models/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/managed-device.d.ts +9 -9
- package/lib/seam/connect/openapi.d.ts +17 -339
- package/lib/seam/connect/openapi.js +5 -265
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -96
- package/package.json +1 -1
- package/src/lib/seam/connect/models/capability-properties/access-code.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +5 -265
- package/src/lib/seam/connect/route-types.ts +10 -86
|
@@ -1915,18 +1915,6 @@ export interface Routes {
|
|
|
1915
1915
|
}>;
|
|
1916
1916
|
};
|
|
1917
1917
|
};
|
|
1918
|
-
'/connect_webviews/view': {
|
|
1919
|
-
route: '/connect_webviews/view';
|
|
1920
|
-
method: 'GET';
|
|
1921
|
-
queryParams: {
|
|
1922
|
-
connect_webview_id: string;
|
|
1923
|
-
auth_token: string;
|
|
1924
|
-
};
|
|
1925
|
-
jsonBody: {};
|
|
1926
|
-
commonParams: {};
|
|
1927
|
-
formData: {};
|
|
1928
|
-
jsonResponse: {};
|
|
1929
|
-
};
|
|
1930
1918
|
'/connected_accounts/delete': {
|
|
1931
1919
|
route: '/connected_accounts/delete';
|
|
1932
1920
|
method: 'DELETE' | 'POST';
|
|
@@ -2335,7 +2323,7 @@ export interface Routes {
|
|
|
2335
2323
|
}) & ({
|
|
2336
2324
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
2337
2325
|
code_constraints?: (Array<{
|
|
2338
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
2326
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
2339
2327
|
} | {
|
|
2340
2328
|
constraint_type: 'name_length';
|
|
2341
2329
|
min_length?: number | undefined;
|
|
@@ -2869,7 +2857,7 @@ export interface Routes {
|
|
|
2869
2857
|
}) & ({
|
|
2870
2858
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
2871
2859
|
code_constraints?: (Array<{
|
|
2872
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
2860
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
2873
2861
|
} | {
|
|
2874
2862
|
constraint_type: 'name_length';
|
|
2875
2863
|
min_length?: number | undefined;
|
|
@@ -3410,80 +3398,6 @@ export interface Routes {
|
|
|
3410
3398
|
}>;
|
|
3411
3399
|
};
|
|
3412
3400
|
};
|
|
3413
|
-
'/health': {
|
|
3414
|
-
route: '/health';
|
|
3415
|
-
method: 'GET' | 'POST';
|
|
3416
|
-
queryParams: {};
|
|
3417
|
-
jsonBody: {};
|
|
3418
|
-
commonParams: {};
|
|
3419
|
-
formData: {};
|
|
3420
|
-
jsonResponse: {
|
|
3421
|
-
ok: boolean;
|
|
3422
|
-
msg: 'I\u2019m one with the Force. The Force is with me.';
|
|
3423
|
-
last_service_evaluation_at?: string | undefined;
|
|
3424
|
-
service_health_statuses: Array<{
|
|
3425
|
-
service: string;
|
|
3426
|
-
status: 'healthy' | 'degraded' | 'down';
|
|
3427
|
-
description: string;
|
|
3428
|
-
}>;
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
'/health/get_health': {
|
|
3432
|
-
route: '/health/get_health';
|
|
3433
|
-
method: 'GET' | 'POST';
|
|
3434
|
-
queryParams: {};
|
|
3435
|
-
jsonBody: {};
|
|
3436
|
-
commonParams: {};
|
|
3437
|
-
formData: {};
|
|
3438
|
-
jsonResponse: {
|
|
3439
|
-
ok: boolean;
|
|
3440
|
-
msg: 'I\u2019m one with the Force. The Force is with me.';
|
|
3441
|
-
last_service_evaluation_at?: string | undefined;
|
|
3442
|
-
service_health_statuses: Array<{
|
|
3443
|
-
service: string;
|
|
3444
|
-
status: 'healthy' | 'degraded' | 'down';
|
|
3445
|
-
description: string;
|
|
3446
|
-
}>;
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
'/health/get_service_health': {
|
|
3450
|
-
route: '/health/get_service_health';
|
|
3451
|
-
method: 'GET' | 'POST';
|
|
3452
|
-
queryParams: {};
|
|
3453
|
-
jsonBody: {};
|
|
3454
|
-
commonParams: {
|
|
3455
|
-
service: string;
|
|
3456
|
-
};
|
|
3457
|
-
formData: {};
|
|
3458
|
-
jsonResponse: {
|
|
3459
|
-
ok: true;
|
|
3460
|
-
last_service_evaluation_at: string;
|
|
3461
|
-
service_health: {
|
|
3462
|
-
service: string;
|
|
3463
|
-
status: 'healthy' | 'degraded' | 'down';
|
|
3464
|
-
description: string;
|
|
3465
|
-
};
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
'/health/service/[service_name]': {
|
|
3469
|
-
route: '/health/service/[service_name]';
|
|
3470
|
-
method: 'GET' | 'POST';
|
|
3471
|
-
queryParams: {};
|
|
3472
|
-
jsonBody: {};
|
|
3473
|
-
commonParams: {
|
|
3474
|
-
service_name: string;
|
|
3475
|
-
};
|
|
3476
|
-
formData: {};
|
|
3477
|
-
jsonResponse: {
|
|
3478
|
-
ok: true;
|
|
3479
|
-
last_service_evaluation_at: string;
|
|
3480
|
-
service_health: {
|
|
3481
|
-
service: string;
|
|
3482
|
-
status: 'healthy' | 'degraded' | 'down';
|
|
3483
|
-
description: string;
|
|
3484
|
-
};
|
|
3485
|
-
};
|
|
3486
|
-
};
|
|
3487
3401
|
'/locks/get': {
|
|
3488
3402
|
route: '/locks/get';
|
|
3489
3403
|
method: 'GET' | 'POST';
|
|
@@ -3777,7 +3691,7 @@ export interface Routes {
|
|
|
3777
3691
|
}) & ({
|
|
3778
3692
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
3779
3693
|
code_constraints?: (Array<{
|
|
3780
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
3694
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
3781
3695
|
} | {
|
|
3782
3696
|
constraint_type: 'name_length';
|
|
3783
3697
|
min_length?: number | undefined;
|
|
@@ -4286,7 +4200,7 @@ export interface Routes {
|
|
|
4286
4200
|
}) & ({
|
|
4287
4201
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4288
4202
|
code_constraints?: (Array<{
|
|
4289
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
4203
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
4290
4204
|
} | {
|
|
4291
4205
|
constraint_type: 'name_length';
|
|
4292
4206
|
min_length?: number | undefined;
|
|
@@ -4820,7 +4734,7 @@ export interface Routes {
|
|
|
4820
4734
|
}) & ({
|
|
4821
4735
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4822
4736
|
code_constraints?: (Array<{
|
|
4823
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
4737
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
4824
4738
|
} | {
|
|
4825
4739
|
constraint_type: 'name_length';
|
|
4826
4740
|
min_length?: number | undefined;
|
|
@@ -5329,7 +5243,7 @@ export interface Routes {
|
|
|
5329
5243
|
}) & ({
|
|
5330
5244
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
5331
5245
|
code_constraints?: (Array<{
|
|
5332
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
5246
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
5333
5247
|
} | {
|
|
5334
5248
|
constraint_type: 'name_length';
|
|
5335
5249
|
min_length?: number | undefined;
|
|
@@ -6479,7 +6393,7 @@ export interface Routes {
|
|
|
6479
6393
|
}) & ({
|
|
6480
6394
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
6481
6395
|
code_constraints?: (Array<{
|
|
6482
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
6396
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
6483
6397
|
} | {
|
|
6484
6398
|
constraint_type: 'name_length';
|
|
6485
6399
|
min_length?: number | undefined;
|
|
@@ -7089,7 +7003,7 @@ export interface Routes {
|
|
|
7089
7003
|
}) & ({
|
|
7090
7004
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7091
7005
|
code_constraints?: (Array<{
|
|
7092
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
7006
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
7093
7007
|
} | {
|
|
7094
7008
|
constraint_type: 'name_length';
|
|
7095
7009
|
min_length?: number | undefined;
|
|
@@ -7882,7 +7796,7 @@ export interface Routes {
|
|
|
7882
7796
|
}) & ({
|
|
7883
7797
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7884
7798
|
code_constraints?: (Array<{
|
|
7885
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
7799
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
7886
7800
|
} | {
|
|
7887
7801
|
constraint_type: 'name_length';
|
|
7888
7802
|
min_length?: number | undefined;
|
|
@@ -8396,7 +8310,7 @@ export interface Routes {
|
|
|
8396
8310
|
}) & ({
|
|
8397
8311
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
8398
8312
|
code_constraints?: (Array<{
|
|
8399
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
|
|
8313
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
8400
8314
|
} | {
|
|
8401
8315
|
constraint_type: 'name_length';
|
|
8402
8316
|
min_length?: number | undefined;
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ export const access_code_code_constraint = z.object({
|
|
|
10
10
|
'start_date_in_future', // Kwikset
|
|
11
11
|
'no_ascending_or_descending_sequence', // Tedee
|
|
12
12
|
'at_least_three_unique_digits', // Tedee
|
|
13
|
+
'cannot_contain_089', // TTLock (for some cylinder devices only)
|
|
13
14
|
]),
|
|
14
15
|
})
|
|
15
16
|
|
|
@@ -1483,6 +1483,7 @@ export default {
|
|
|
1483
1483
|
'start_date_in_future',
|
|
1484
1484
|
'no_ascending_or_descending_sequence',
|
|
1485
1485
|
'at_least_three_unique_digits',
|
|
1486
|
+
'cannot_contain_089',
|
|
1486
1487
|
],
|
|
1487
1488
|
type: 'string',
|
|
1488
1489
|
},
|
|
@@ -2990,7 +2991,6 @@ export default {
|
|
|
2990
2991
|
tags: ['/access_codes'],
|
|
2991
2992
|
'x-fern-sdk-group-name': ['access_codes'],
|
|
2992
2993
|
'x-fern-sdk-method-name': 'delete',
|
|
2993
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
2994
2994
|
},
|
|
2995
2995
|
},
|
|
2996
2996
|
'/access_codes/generate_code': {
|
|
@@ -3393,7 +3393,6 @@ export default {
|
|
|
3393
3393
|
tags: ['/access_codes'],
|
|
3394
3394
|
'x-fern-sdk-group-name': ['access_codes', 'unmanaged'],
|
|
3395
3395
|
'x-fern-sdk-method-name': 'delete',
|
|
3396
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
3397
3396
|
},
|
|
3398
3397
|
},
|
|
3399
3398
|
'/access_codes/unmanaged/get': {
|
|
@@ -3745,7 +3744,6 @@ export default {
|
|
|
3745
3744
|
tags: ['/access_codes'],
|
|
3746
3745
|
'x-fern-sdk-group-name': ['access_codes'],
|
|
3747
3746
|
'x-fern-sdk-method-name': 'update',
|
|
3748
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
3749
3747
|
},
|
|
3750
3748
|
put: {
|
|
3751
3749
|
operationId: 'accessCodesUpdatePut',
|
|
@@ -6609,9 +6607,10 @@ export default {
|
|
|
6609
6607
|
401: { description: 'Unauthorized' },
|
|
6610
6608
|
},
|
|
6611
6609
|
security: [
|
|
6612
|
-
{
|
|
6613
|
-
{
|
|
6614
|
-
{
|
|
6610
|
+
{ client_session: [] },
|
|
6611
|
+
{ pat_with_workspace: [] },
|
|
6612
|
+
{ console_session: [] },
|
|
6613
|
+
{ api_key: [] },
|
|
6615
6614
|
],
|
|
6616
6615
|
summary: '/connect_webviews/list',
|
|
6617
6616
|
tags: ['/connect_webviews'],
|
|
@@ -6620,34 +6619,6 @@ export default {
|
|
|
6620
6619
|
'x-fern-sdk-return-value': 'connect_webviews',
|
|
6621
6620
|
},
|
|
6622
6621
|
},
|
|
6623
|
-
'/connect_webviews/view': {
|
|
6624
|
-
get: {
|
|
6625
|
-
operationId: 'connectWebviewsViewGet',
|
|
6626
|
-
parameters: [
|
|
6627
|
-
{
|
|
6628
|
-
in: 'query',
|
|
6629
|
-
name: 'connect_webview_id',
|
|
6630
|
-
required: true,
|
|
6631
|
-
schema: { format: 'uuid', type: 'string' },
|
|
6632
|
-
},
|
|
6633
|
-
{
|
|
6634
|
-
in: 'query',
|
|
6635
|
-
name: 'auth_token',
|
|
6636
|
-
required: true,
|
|
6637
|
-
schema: { type: 'string' },
|
|
6638
|
-
},
|
|
6639
|
-
],
|
|
6640
|
-
responses: {
|
|
6641
|
-
200: { description: 'OK' },
|
|
6642
|
-
400: { description: 'Bad Request' },
|
|
6643
|
-
401: { description: 'Unauthorized' },
|
|
6644
|
-
},
|
|
6645
|
-
summary: '/connect_webviews/view',
|
|
6646
|
-
tags: ['/connect_webviews'],
|
|
6647
|
-
'x-fern-sdk-group-name': ['connect_webviews'],
|
|
6648
|
-
'x-fern-sdk-method-name': 'view',
|
|
6649
|
-
},
|
|
6650
|
-
},
|
|
6651
6622
|
'/connected_accounts/delete': {
|
|
6652
6623
|
post: {
|
|
6653
6624
|
operationId: 'connectedAccountsDeletePost',
|
|
@@ -8024,235 +7995,6 @@ export default {
|
|
|
8024
7995
|
'x-fern-sdk-return-value': 'events',
|
|
8025
7996
|
},
|
|
8026
7997
|
},
|
|
8027
|
-
'/health': {
|
|
8028
|
-
get: {
|
|
8029
|
-
operationId: 'healthGet',
|
|
8030
|
-
responses: {
|
|
8031
|
-
200: {
|
|
8032
|
-
content: {
|
|
8033
|
-
'application/json': {
|
|
8034
|
-
schema: {
|
|
8035
|
-
properties: {
|
|
8036
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8037
|
-
msg: {
|
|
8038
|
-
enum: ['I’m one with the Force. The Force is with me.'],
|
|
8039
|
-
type: 'string',
|
|
8040
|
-
},
|
|
8041
|
-
ok: { type: 'boolean' },
|
|
8042
|
-
service_health_statuses: {
|
|
8043
|
-
items: { $ref: '#/components/schemas/service_health' },
|
|
8044
|
-
type: 'array',
|
|
8045
|
-
},
|
|
8046
|
-
},
|
|
8047
|
-
required: ['ok', 'msg', 'service_health_statuses'],
|
|
8048
|
-
type: 'object',
|
|
8049
|
-
},
|
|
8050
|
-
},
|
|
8051
|
-
},
|
|
8052
|
-
description: 'OK',
|
|
8053
|
-
},
|
|
8054
|
-
400: { description: 'Bad Request' },
|
|
8055
|
-
401: { description: 'Unauthorized' },
|
|
8056
|
-
},
|
|
8057
|
-
summary: '/health',
|
|
8058
|
-
tags: ['/health'],
|
|
8059
|
-
'x-fern-ignore': true,
|
|
8060
|
-
},
|
|
8061
|
-
post: {
|
|
8062
|
-
operationId: 'healthPost',
|
|
8063
|
-
responses: {
|
|
8064
|
-
200: {
|
|
8065
|
-
content: {
|
|
8066
|
-
'application/json': {
|
|
8067
|
-
schema: {
|
|
8068
|
-
properties: {
|
|
8069
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8070
|
-
msg: {
|
|
8071
|
-
enum: ['I’m one with the Force. The Force is with me.'],
|
|
8072
|
-
type: 'string',
|
|
8073
|
-
},
|
|
8074
|
-
ok: { type: 'boolean' },
|
|
8075
|
-
service_health_statuses: {
|
|
8076
|
-
items: { $ref: '#/components/schemas/service_health' },
|
|
8077
|
-
type: 'array',
|
|
8078
|
-
},
|
|
8079
|
-
},
|
|
8080
|
-
required: ['ok', 'msg', 'service_health_statuses'],
|
|
8081
|
-
type: 'object',
|
|
8082
|
-
},
|
|
8083
|
-
},
|
|
8084
|
-
},
|
|
8085
|
-
description: 'OK',
|
|
8086
|
-
},
|
|
8087
|
-
400: { description: 'Bad Request' },
|
|
8088
|
-
401: { description: 'Unauthorized' },
|
|
8089
|
-
},
|
|
8090
|
-
summary: '/health',
|
|
8091
|
-
tags: ['/health'],
|
|
8092
|
-
'x-fern-ignore': true,
|
|
8093
|
-
},
|
|
8094
|
-
},
|
|
8095
|
-
'/health/get_health': {
|
|
8096
|
-
get: {
|
|
8097
|
-
operationId: 'healthGetHealthGet',
|
|
8098
|
-
responses: {
|
|
8099
|
-
200: {
|
|
8100
|
-
content: {
|
|
8101
|
-
'application/json': {
|
|
8102
|
-
schema: {
|
|
8103
|
-
properties: {
|
|
8104
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8105
|
-
msg: {
|
|
8106
|
-
enum: ['I’m one with the Force. The Force is with me.'],
|
|
8107
|
-
type: 'string',
|
|
8108
|
-
},
|
|
8109
|
-
ok: { type: 'boolean' },
|
|
8110
|
-
service_health_statuses: {
|
|
8111
|
-
items: { $ref: '#/components/schemas/service_health' },
|
|
8112
|
-
type: 'array',
|
|
8113
|
-
},
|
|
8114
|
-
},
|
|
8115
|
-
required: ['ok', 'msg', 'service_health_statuses'],
|
|
8116
|
-
type: 'object',
|
|
8117
|
-
},
|
|
8118
|
-
},
|
|
8119
|
-
},
|
|
8120
|
-
description: 'OK',
|
|
8121
|
-
},
|
|
8122
|
-
400: { description: 'Bad Request' },
|
|
8123
|
-
401: { description: 'Unauthorized' },
|
|
8124
|
-
},
|
|
8125
|
-
summary: '/health/get_health',
|
|
8126
|
-
tags: ['/health'],
|
|
8127
|
-
'x-fern-ignore': true,
|
|
8128
|
-
},
|
|
8129
|
-
post: {
|
|
8130
|
-
operationId: 'healthGetHealthPost',
|
|
8131
|
-
responses: {
|
|
8132
|
-
200: {
|
|
8133
|
-
content: {
|
|
8134
|
-
'application/json': {
|
|
8135
|
-
schema: {
|
|
8136
|
-
properties: {
|
|
8137
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8138
|
-
msg: {
|
|
8139
|
-
enum: ['I’m one with the Force. The Force is with me.'],
|
|
8140
|
-
type: 'string',
|
|
8141
|
-
},
|
|
8142
|
-
ok: { type: 'boolean' },
|
|
8143
|
-
service_health_statuses: {
|
|
8144
|
-
items: { $ref: '#/components/schemas/service_health' },
|
|
8145
|
-
type: 'array',
|
|
8146
|
-
},
|
|
8147
|
-
},
|
|
8148
|
-
required: ['ok', 'msg', 'service_health_statuses'],
|
|
8149
|
-
type: 'object',
|
|
8150
|
-
},
|
|
8151
|
-
},
|
|
8152
|
-
},
|
|
8153
|
-
description: 'OK',
|
|
8154
|
-
},
|
|
8155
|
-
400: { description: 'Bad Request' },
|
|
8156
|
-
401: { description: 'Unauthorized' },
|
|
8157
|
-
},
|
|
8158
|
-
summary: '/health/get_health',
|
|
8159
|
-
tags: ['/health'],
|
|
8160
|
-
'x-fern-sdk-group-name': ['health'],
|
|
8161
|
-
'x-fern-sdk-method-name': 'get_health',
|
|
8162
|
-
},
|
|
8163
|
-
},
|
|
8164
|
-
'/health/get_service_health': {
|
|
8165
|
-
post: {
|
|
8166
|
-
operationId: 'healthGetServiceHealthPost',
|
|
8167
|
-
requestBody: {
|
|
8168
|
-
content: {
|
|
8169
|
-
'application/json': {
|
|
8170
|
-
schema: {
|
|
8171
|
-
properties: { service: { type: 'string' } },
|
|
8172
|
-
required: ['service'],
|
|
8173
|
-
type: 'object',
|
|
8174
|
-
},
|
|
8175
|
-
},
|
|
8176
|
-
},
|
|
8177
|
-
},
|
|
8178
|
-
responses: {
|
|
8179
|
-
200: {
|
|
8180
|
-
content: {
|
|
8181
|
-
'application/json': {
|
|
8182
|
-
schema: {
|
|
8183
|
-
properties: {
|
|
8184
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8185
|
-
ok: { type: 'boolean' },
|
|
8186
|
-
service_health: {
|
|
8187
|
-
$ref: '#/components/schemas/service_health',
|
|
8188
|
-
},
|
|
8189
|
-
},
|
|
8190
|
-
required: [
|
|
8191
|
-
'ok',
|
|
8192
|
-
'last_service_evaluation_at',
|
|
8193
|
-
'service_health',
|
|
8194
|
-
],
|
|
8195
|
-
type: 'object',
|
|
8196
|
-
},
|
|
8197
|
-
},
|
|
8198
|
-
},
|
|
8199
|
-
description: 'OK',
|
|
8200
|
-
},
|
|
8201
|
-
400: { description: 'Bad Request' },
|
|
8202
|
-
401: { description: 'Unauthorized' },
|
|
8203
|
-
},
|
|
8204
|
-
summary: '/health/get_service_health',
|
|
8205
|
-
tags: ['/health'],
|
|
8206
|
-
'x-fern-sdk-group-name': ['health'],
|
|
8207
|
-
'x-fern-sdk-method-name': 'get_service_health',
|
|
8208
|
-
},
|
|
8209
|
-
},
|
|
8210
|
-
'/health/service/[service_name]': {
|
|
8211
|
-
post: {
|
|
8212
|
-
operationId: 'healthServiceByServiceNamePost',
|
|
8213
|
-
requestBody: {
|
|
8214
|
-
content: {
|
|
8215
|
-
'application/json': {
|
|
8216
|
-
schema: {
|
|
8217
|
-
properties: { service_name: { type: 'string' } },
|
|
8218
|
-
required: ['service_name'],
|
|
8219
|
-
type: 'object',
|
|
8220
|
-
},
|
|
8221
|
-
},
|
|
8222
|
-
},
|
|
8223
|
-
},
|
|
8224
|
-
responses: {
|
|
8225
|
-
200: {
|
|
8226
|
-
content: {
|
|
8227
|
-
'application/json': {
|
|
8228
|
-
schema: {
|
|
8229
|
-
properties: {
|
|
8230
|
-
last_service_evaluation_at: { type: 'string' },
|
|
8231
|
-
ok: { type: 'boolean' },
|
|
8232
|
-
service_health: {
|
|
8233
|
-
$ref: '#/components/schemas/service_health',
|
|
8234
|
-
},
|
|
8235
|
-
},
|
|
8236
|
-
required: [
|
|
8237
|
-
'ok',
|
|
8238
|
-
'last_service_evaluation_at',
|
|
8239
|
-
'service_health',
|
|
8240
|
-
],
|
|
8241
|
-
type: 'object',
|
|
8242
|
-
},
|
|
8243
|
-
},
|
|
8244
|
-
},
|
|
8245
|
-
description: 'OK',
|
|
8246
|
-
},
|
|
8247
|
-
400: { description: 'Bad Request' },
|
|
8248
|
-
401: { description: 'Unauthorized' },
|
|
8249
|
-
},
|
|
8250
|
-
summary: '/health/service/[service_name]',
|
|
8251
|
-
tags: ['/health'],
|
|
8252
|
-
'x-fern-sdk-group-name': ['health', 'service'],
|
|
8253
|
-
'x-fern-sdk-method-name': 'by_service_name',
|
|
8254
|
-
},
|
|
8255
|
-
},
|
|
8256
7998
|
'/locks/get': {
|
|
8257
7999
|
post: {
|
|
8258
8000
|
operationId: 'locksGetPost',
|
|
@@ -8843,7 +8585,6 @@ export default {
|
|
|
8843
8585
|
tags: ['/noise_sensors'],
|
|
8844
8586
|
'x-fern-sdk-group-name': ['noise_sensors', 'noise_thresholds'],
|
|
8845
8587
|
'x-fern-sdk-method-name': 'delete',
|
|
8846
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
8847
8588
|
},
|
|
8848
8589
|
},
|
|
8849
8590
|
'/noise_sensors/noise_thresholds/get': {
|
|
@@ -9051,7 +8792,6 @@ export default {
|
|
|
9051
8792
|
tags: ['/noise_sensors'],
|
|
9052
8793
|
'x-fern-sdk-group-name': ['noise_sensors', 'noise_thresholds'],
|
|
9053
8794
|
'x-fern-sdk-method-name': 'update',
|
|
9054
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
9055
8795
|
},
|
|
9056
8796
|
put: {
|
|
9057
8797
|
operationId: 'noiseSensorsNoiseThresholdsUpdatePut',
|