@seamapi/types 1.631.0 → 1.633.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 +138 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +446 -0
- package/dist/index.cjs +138 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +203 -0
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.d.ts +119 -0
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +214 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +132 -0
- package/src/lib/seam/connect/route-types.ts +235 -0
|
@@ -11399,6 +11399,13 @@ export type Routes = {
|
|
|
11399
11399
|
created_at: string;
|
|
11400
11400
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11401
11401
|
warning_code: 'lockly_time_zone_not_configured';
|
|
11402
|
+
} | {
|
|
11403
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
11404
|
+
message: string;
|
|
11405
|
+
/** Date and time at which Seam created the warning. */
|
|
11406
|
+
created_at: string;
|
|
11407
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11408
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
11402
11409
|
})[];
|
|
11403
11410
|
/** Date and time at which the device object was created. */
|
|
11404
11411
|
created_at: string;
|
|
@@ -14837,6 +14844,13 @@ export type Routes = {
|
|
|
14837
14844
|
created_at: string;
|
|
14838
14845
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14839
14846
|
warning_code: 'lockly_time_zone_not_configured';
|
|
14847
|
+
} | {
|
|
14848
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14849
|
+
message: string;
|
|
14850
|
+
/** Date and time at which Seam created the warning. */
|
|
14851
|
+
created_at: string;
|
|
14852
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14853
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
14840
14854
|
})[];
|
|
14841
14855
|
/** Date and time at which the device object was created. */
|
|
14842
14856
|
created_at: string;
|
|
@@ -17456,6 +17470,13 @@ export type Routes = {
|
|
|
17456
17470
|
created_at: string;
|
|
17457
17471
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17458
17472
|
warning_code: 'lockly_time_zone_not_configured';
|
|
17473
|
+
} | {
|
|
17474
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
17475
|
+
message: string;
|
|
17476
|
+
/** Date and time at which Seam created the warning. */
|
|
17477
|
+
created_at: string;
|
|
17478
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17479
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
17459
17480
|
})[];
|
|
17460
17481
|
/** Date and time at which the device object was created. */
|
|
17461
17482
|
created_at: string;
|
|
@@ -33734,6 +33755,13 @@ export type Routes = {
|
|
|
33734
33755
|
created_at: string;
|
|
33735
33756
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
33736
33757
|
warning_code: 'lockly_time_zone_not_configured';
|
|
33758
|
+
} | {
|
|
33759
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
33760
|
+
message: string;
|
|
33761
|
+
/** Date and time at which Seam created the warning. */
|
|
33762
|
+
created_at: string;
|
|
33763
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
33764
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
33737
33765
|
})[];
|
|
33738
33766
|
/** Date and time at which the device object was created. */
|
|
33739
33767
|
created_at: string;
|
|
@@ -34997,6 +35025,13 @@ export type Routes = {
|
|
|
34997
35025
|
created_at: string;
|
|
34998
35026
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34999
35027
|
warning_code: 'lockly_time_zone_not_configured';
|
|
35028
|
+
} | {
|
|
35029
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35030
|
+
message: string;
|
|
35031
|
+
/** Date and time at which Seam created the warning. */
|
|
35032
|
+
created_at: string;
|
|
35033
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35034
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
35000
35035
|
})[];
|
|
35001
35036
|
/** Date and time at which the device object was created. */
|
|
35002
35037
|
created_at: string;
|
|
@@ -35446,6 +35481,13 @@ export type Routes = {
|
|
|
35446
35481
|
created_at: string;
|
|
35447
35482
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35448
35483
|
warning_code: 'lockly_time_zone_not_configured';
|
|
35484
|
+
} | {
|
|
35485
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35486
|
+
message: string;
|
|
35487
|
+
/** Date and time at which Seam created the warning. */
|
|
35488
|
+
created_at: string;
|
|
35489
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35490
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
35449
35491
|
})[];
|
|
35450
35492
|
/** Date and time at which the device object was created. */
|
|
35451
35493
|
created_at: string;
|
|
@@ -35879,6 +35921,13 @@ export type Routes = {
|
|
|
35879
35921
|
created_at: string;
|
|
35880
35922
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35881
35923
|
warning_code: 'lockly_time_zone_not_configured';
|
|
35924
|
+
} | {
|
|
35925
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35926
|
+
message: string;
|
|
35927
|
+
/** Date and time at which Seam created the warning. */
|
|
35928
|
+
created_at: string;
|
|
35929
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35930
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
35882
35931
|
})[];
|
|
35883
35932
|
/** Date and time at which the device object was created. */
|
|
35884
35933
|
created_at: string;
|
|
@@ -41219,6 +41268,13 @@ export type Routes = {
|
|
|
41219
41268
|
created_at: string;
|
|
41220
41269
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41221
41270
|
warning_code: 'lockly_time_zone_not_configured';
|
|
41271
|
+
} | {
|
|
41272
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
41273
|
+
message: string;
|
|
41274
|
+
/** Date and time at which Seam created the warning. */
|
|
41275
|
+
created_at: string;
|
|
41276
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41277
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
41222
41278
|
})[];
|
|
41223
41279
|
/** Date and time at which the device object was created. */
|
|
41224
41280
|
created_at: string;
|
|
@@ -42433,6 +42489,13 @@ export type Routes = {
|
|
|
42433
42489
|
created_at: string;
|
|
42434
42490
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
42435
42491
|
warning_code: 'lockly_time_zone_not_configured';
|
|
42492
|
+
} | {
|
|
42493
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
42494
|
+
message: string;
|
|
42495
|
+
/** Date and time at which Seam created the warning. */
|
|
42496
|
+
created_at: string;
|
|
42497
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
42498
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
42436
42499
|
})[];
|
|
42437
42500
|
/** Date and time at which the device object was created. */
|
|
42438
42501
|
created_at: string;
|
|
@@ -43696,6 +43759,13 @@ export type Routes = {
|
|
|
43696
43759
|
created_at: string;
|
|
43697
43760
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
43698
43761
|
warning_code: 'lockly_time_zone_not_configured';
|
|
43762
|
+
} | {
|
|
43763
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
43764
|
+
message: string;
|
|
43765
|
+
/** Date and time at which Seam created the warning. */
|
|
43766
|
+
created_at: string;
|
|
43767
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
43768
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
43699
43769
|
})[];
|
|
43700
43770
|
/** Date and time at which the device object was created. */
|
|
43701
43771
|
created_at: string;
|
|
@@ -44909,6 +44979,13 @@ export type Routes = {
|
|
|
44909
44979
|
created_at: string;
|
|
44910
44980
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44911
44981
|
warning_code: 'lockly_time_zone_not_configured';
|
|
44982
|
+
} | {
|
|
44983
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44984
|
+
message: string;
|
|
44985
|
+
/** Date and time at which Seam created the warning. */
|
|
44986
|
+
created_at: string;
|
|
44987
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44988
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
44912
44989
|
})[];
|
|
44913
44990
|
/** Date and time at which the device object was created. */
|
|
44914
44991
|
created_at: string;
|
|
@@ -51250,6 +51327,13 @@ export type Routes = {
|
|
|
51250
51327
|
created_at: string;
|
|
51251
51328
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
51252
51329
|
warning_code: 'lockly_time_zone_not_configured';
|
|
51330
|
+
} | {
|
|
51331
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
51332
|
+
message: string;
|
|
51333
|
+
/** Date and time at which Seam created the warning. */
|
|
51334
|
+
created_at: string;
|
|
51335
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
51336
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
51253
51337
|
})[];
|
|
51254
51338
|
/** Date and time at which the device object was created. */
|
|
51255
51339
|
created_at: string;
|
|
@@ -52463,6 +52547,13 @@ export type Routes = {
|
|
|
52463
52547
|
created_at: string;
|
|
52464
52548
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
52465
52549
|
warning_code: 'lockly_time_zone_not_configured';
|
|
52550
|
+
} | {
|
|
52551
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
52552
|
+
message: string;
|
|
52553
|
+
/** Date and time at which Seam created the warning. */
|
|
52554
|
+
created_at: string;
|
|
52555
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
52556
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
52466
52557
|
})[];
|
|
52467
52558
|
/** Date and time at which the device object was created. */
|
|
52468
52559
|
created_at: string;
|
|
@@ -57078,6 +57169,73 @@ export type Routes = {
|
|
|
57078
57169
|
};
|
|
57079
57170
|
};
|
|
57080
57171
|
};
|
|
57172
|
+
'/seam/customer/v1/access_grants/list': {
|
|
57173
|
+
route: '/seam/customer/v1/access_grants/list';
|
|
57174
|
+
method: 'GET' | 'POST';
|
|
57175
|
+
queryParams: {};
|
|
57176
|
+
jsonBody: {};
|
|
57177
|
+
commonParams: {};
|
|
57178
|
+
formData: {};
|
|
57179
|
+
jsonResponse: {
|
|
57180
|
+
access_grants: {
|
|
57181
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
57182
|
+
workspace_id: string;
|
|
57183
|
+
/** ID of the Access Grant. */
|
|
57184
|
+
access_grant_id: string;
|
|
57185
|
+
/** Unique key for the access grant within the workspace. */
|
|
57186
|
+
access_grant_key?: string | undefined;
|
|
57187
|
+
/** Reservation key for the access grant. */
|
|
57188
|
+
reservation_key?: string | undefined;
|
|
57189
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
57190
|
+
user_identity_id: string;
|
|
57191
|
+
/**
|
|
57192
|
+
* @deprecated Use `space_ids`.*/
|
|
57193
|
+
location_ids: string[];
|
|
57194
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
57195
|
+
space_ids: string[];
|
|
57196
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
57197
|
+
requested_access_methods: {
|
|
57198
|
+
/** Display name of the access method. */
|
|
57199
|
+
display_name: string;
|
|
57200
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
57201
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
57202
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
57203
|
+
code?: string | undefined;
|
|
57204
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
57205
|
+
created_at: string;
|
|
57206
|
+
/** IDs of the access methods created for the requested access method. */
|
|
57207
|
+
created_access_method_ids: string[];
|
|
57208
|
+
}[];
|
|
57209
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
57210
|
+
access_method_ids: string[];
|
|
57211
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
57212
|
+
client_session_token?: string | undefined;
|
|
57213
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
57214
|
+
name: string | null;
|
|
57215
|
+
/** Display name of the Access Grant. */
|
|
57216
|
+
display_name: string;
|
|
57217
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
57218
|
+
instant_key_url?: string | undefined;
|
|
57219
|
+
/** Date and time at which the Access Grant was created. */
|
|
57220
|
+
created_at: string;
|
|
57221
|
+
/** Date and time at which the Access Grant starts. */
|
|
57222
|
+
starts_at: string;
|
|
57223
|
+
/** Date and time at which the Access Grant ends. */
|
|
57224
|
+
ends_at: string | null;
|
|
57225
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
57226
|
+
warnings: {
|
|
57227
|
+
/** Date and time at which Seam created the warning. */
|
|
57228
|
+
created_at: string;
|
|
57229
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57230
|
+
message: string;
|
|
57231
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57232
|
+
warning_code: 'being_deleted';
|
|
57233
|
+
}[];
|
|
57234
|
+
/** ID of the customization profile associated with the Access Grant. */
|
|
57235
|
+
customization_profile_id?: string | undefined;
|
|
57236
|
+
}[];
|
|
57237
|
+
};
|
|
57238
|
+
};
|
|
57081
57239
|
'/seam/customer/v1/automation_runs/list': {
|
|
57082
57240
|
route: '/seam/customer/v1/automation_runs/list';
|
|
57083
57241
|
method: 'GET' | 'POST';
|
|
@@ -61703,6 +61861,13 @@ export type Routes = {
|
|
|
61703
61861
|
created_at: string;
|
|
61704
61862
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
61705
61863
|
warning_code: 'lockly_time_zone_not_configured';
|
|
61864
|
+
} | {
|
|
61865
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
61866
|
+
message: string;
|
|
61867
|
+
/** Date and time at which Seam created the warning. */
|
|
61868
|
+
created_at: string;
|
|
61869
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
61870
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
61706
61871
|
})[];
|
|
61707
61872
|
/** Date and time at which the device object was created. */
|
|
61708
61873
|
created_at: string;
|
|
@@ -67348,6 +67513,13 @@ export type Routes = {
|
|
|
67348
67513
|
created_at: string;
|
|
67349
67514
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67350
67515
|
warning_code: 'lockly_time_zone_not_configured';
|
|
67516
|
+
} | {
|
|
67517
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67518
|
+
message: string;
|
|
67519
|
+
/** Date and time at which Seam created the warning. */
|
|
67520
|
+
created_at: string;
|
|
67521
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67522
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
67351
67523
|
})[];
|
|
67352
67524
|
/** Date and time at which the device object was created. */
|
|
67353
67525
|
created_at: string;
|
|
@@ -71163,6 +71335,13 @@ export type Routes = {
|
|
|
71163
71335
|
created_at: string;
|
|
71164
71336
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71165
71337
|
warning_code: 'lockly_time_zone_not_configured';
|
|
71338
|
+
} | {
|
|
71339
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71340
|
+
message: string;
|
|
71341
|
+
/** Date and time at which Seam created the warning. */
|
|
71342
|
+
created_at: string;
|
|
71343
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71344
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
71166
71345
|
})[];
|
|
71167
71346
|
/** Date and time at which the device object was created. */
|
|
71168
71347
|
created_at: string;
|
|
@@ -72376,6 +72555,13 @@ export type Routes = {
|
|
|
72376
72555
|
created_at: string;
|
|
72377
72556
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72378
72557
|
warning_code: 'lockly_time_zone_not_configured';
|
|
72558
|
+
} | {
|
|
72559
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72560
|
+
message: string;
|
|
72561
|
+
/** Date and time at which Seam created the warning. */
|
|
72562
|
+
created_at: string;
|
|
72563
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72564
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
72379
72565
|
})[];
|
|
72380
72566
|
/** Date and time at which the device object was created. */
|
|
72381
72567
|
created_at: string;
|
|
@@ -79587,6 +79773,13 @@ export type Routes = {
|
|
|
79587
79773
|
created_at: string;
|
|
79588
79774
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
79589
79775
|
warning_code: 'lockly_time_zone_not_configured';
|
|
79776
|
+
} | {
|
|
79777
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
79778
|
+
message: string;
|
|
79779
|
+
/** Date and time at which Seam created the warning. */
|
|
79780
|
+
created_at: string;
|
|
79781
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
79782
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
79590
79783
|
})[];
|
|
79591
79784
|
/** Date and time at which the device object was created. */
|
|
79592
79785
|
created_at: string;
|
|
@@ -80802,6 +80995,13 @@ export type Routes = {
|
|
|
80802
80995
|
created_at: string;
|
|
80803
80996
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
80804
80997
|
warning_code: 'lockly_time_zone_not_configured';
|
|
80998
|
+
} | {
|
|
80999
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
81000
|
+
message: string;
|
|
81001
|
+
/** Date and time at which Seam created the warning. */
|
|
81002
|
+
created_at: string;
|
|
81003
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
81004
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
80805
81005
|
})[];
|
|
80806
81006
|
/** Date and time at which the device object was created. */
|
|
80807
81007
|
created_at: string;
|
|
@@ -82948,6 +83148,13 @@ export type Routes = {
|
|
|
82948
83148
|
created_at: string;
|
|
82949
83149
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
82950
83150
|
warning_code: 'lockly_time_zone_not_configured';
|
|
83151
|
+
} | {
|
|
83152
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
83153
|
+
message: string;
|
|
83154
|
+
/** Date and time at which Seam created the warning. */
|
|
83155
|
+
created_at: string;
|
|
83156
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83157
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
82951
83158
|
})[];
|
|
82952
83159
|
/** Date and time at which the device object was created. */
|
|
82953
83160
|
created_at: string;
|
|
@@ -85567,6 +85774,13 @@ export type Routes = {
|
|
|
85567
85774
|
created_at: string;
|
|
85568
85775
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85569
85776
|
warning_code: 'lockly_time_zone_not_configured';
|
|
85777
|
+
} | {
|
|
85778
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85779
|
+
message: string;
|
|
85780
|
+
/** Date and time at which Seam created the warning. */
|
|
85781
|
+
created_at: string;
|
|
85782
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85783
|
+
warning_code: 'hub_required_for_addtional_capabilities';
|
|
85570
85784
|
})[];
|
|
85571
85785
|
/** Date and time at which the device object was created. */
|
|
85572
85786
|
created_at: string;
|
package/package.json
CHANGED
|
@@ -420,6 +420,17 @@ export const unknown_issue_with_phone = common_device_warning.extend({
|
|
|
420
420
|
Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
|
|
421
421
|
`)
|
|
422
422
|
|
|
423
|
+
const hub_required_for_addtional_capabilities = common_device_warning.extend({
|
|
424
|
+
warning_code: z
|
|
425
|
+
.literal('hub_required_for_addtional_capabilities')
|
|
426
|
+
.describe(warning_code_description),
|
|
427
|
+
}).describe(`
|
|
428
|
+
---
|
|
429
|
+
variant_group_key: locks
|
|
430
|
+
---
|
|
431
|
+
Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
|
|
432
|
+
`)
|
|
433
|
+
|
|
423
434
|
const device_warning = z.discriminatedUnion('warning_code', [
|
|
424
435
|
partial_backup_access_code_pool,
|
|
425
436
|
many_active_backup_codes,
|
|
@@ -438,6 +449,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
438
449
|
salto_ks_subscription_limit_almost_reached,
|
|
439
450
|
unknown_issue_with_phone,
|
|
440
451
|
lockly_time_zone_not_configured,
|
|
452
|
+
hub_required_for_addtional_capabilities,
|
|
441
453
|
])
|
|
442
454
|
|
|
443
455
|
export type DeviceWarning = z.infer<typeof device_warning>
|
|
@@ -482,6 +494,8 @@ const _device_warning_map = z.object({
|
|
|
482
494
|
lockly_time_zone_not_configured: lockly_time_zone_not_configured
|
|
483
495
|
.optional()
|
|
484
496
|
.nullable(),
|
|
497
|
+
hub_required_for_addtional_capabilities:
|
|
498
|
+
hub_required_for_addtional_capabilities.optional().nullable(),
|
|
485
499
|
})
|
|
486
500
|
|
|
487
501
|
export type DeviceWarningMap = z.infer<typeof _device_warning_map>
|
|
@@ -13145,6 +13145,32 @@ export default {
|
|
|
13145
13145
|
required: ['message', 'created_at', 'warning_code'],
|
|
13146
13146
|
type: 'object',
|
|
13147
13147
|
},
|
|
13148
|
+
{
|
|
13149
|
+
description:
|
|
13150
|
+
'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
|
|
13151
|
+
properties: {
|
|
13152
|
+
created_at: {
|
|
13153
|
+
description:
|
|
13154
|
+
'Date and time at which Seam created the warning.',
|
|
13155
|
+
format: 'date-time',
|
|
13156
|
+
type: 'string',
|
|
13157
|
+
},
|
|
13158
|
+
message: {
|
|
13159
|
+
description:
|
|
13160
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
13161
|
+
type: 'string',
|
|
13162
|
+
},
|
|
13163
|
+
warning_code: {
|
|
13164
|
+
description:
|
|
13165
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13166
|
+
enum: ['hub_required_for_addtional_capabilities'],
|
|
13167
|
+
type: 'string',
|
|
13168
|
+
},
|
|
13169
|
+
},
|
|
13170
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
13171
|
+
type: 'object',
|
|
13172
|
+
'x-variant-group-key': 'locks',
|
|
13173
|
+
},
|
|
13148
13174
|
],
|
|
13149
13175
|
},
|
|
13150
13176
|
type: 'array',
|
|
@@ -25620,6 +25646,32 @@ export default {
|
|
|
25620
25646
|
required: ['message', 'created_at', 'warning_code'],
|
|
25621
25647
|
type: 'object',
|
|
25622
25648
|
},
|
|
25649
|
+
{
|
|
25650
|
+
description:
|
|
25651
|
+
'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
|
|
25652
|
+
properties: {
|
|
25653
|
+
created_at: {
|
|
25654
|
+
description:
|
|
25655
|
+
'Date and time at which Seam created the warning.',
|
|
25656
|
+
format: 'date-time',
|
|
25657
|
+
type: 'string',
|
|
25658
|
+
},
|
|
25659
|
+
message: {
|
|
25660
|
+
description:
|
|
25661
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
25662
|
+
type: 'string',
|
|
25663
|
+
},
|
|
25664
|
+
warning_code: {
|
|
25665
|
+
description:
|
|
25666
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
25667
|
+
enum: ['hub_required_for_addtional_capabilities'],
|
|
25668
|
+
type: 'string',
|
|
25669
|
+
},
|
|
25670
|
+
},
|
|
25671
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
25672
|
+
type: 'object',
|
|
25673
|
+
'x-variant-group-key': 'locks',
|
|
25674
|
+
},
|
|
25623
25675
|
],
|
|
25624
25676
|
},
|
|
25625
25677
|
type: 'array',
|
|
@@ -31292,6 +31344,7 @@ export default {
|
|
|
31292
31344
|
{ pat_with_workspace: [] },
|
|
31293
31345
|
{ console_session_with_workspace: [] },
|
|
31294
31346
|
{ api_key: [] },
|
|
31347
|
+
{ client_session_with_customer: [] },
|
|
31295
31348
|
],
|
|
31296
31349
|
summary: '/access_methods/get_related',
|
|
31297
31350
|
tags: [],
|
|
@@ -31529,6 +31582,7 @@ export default {
|
|
|
31529
31582
|
{ pat_with_workspace: [] },
|
|
31530
31583
|
{ console_session_with_workspace: [] },
|
|
31531
31584
|
{ api_key: [] },
|
|
31585
|
+
{ client_session_with_customer: [] },
|
|
31532
31586
|
],
|
|
31533
31587
|
summary: '/access_methods/get_related',
|
|
31534
31588
|
tags: [],
|
|
@@ -51160,6 +51214,84 @@ export default {
|
|
|
51160
51214
|
'x-undocumented': 'Internal endpoint for Console',
|
|
51161
51215
|
},
|
|
51162
51216
|
},
|
|
51217
|
+
'/seam/customer/v1/access_grants/list': {
|
|
51218
|
+
get: {
|
|
51219
|
+
description: 'Gets an Access Grant.',
|
|
51220
|
+
operationId: 'seamCustomerV1AccessGrantsListGet',
|
|
51221
|
+
parameters: [],
|
|
51222
|
+
responses: {
|
|
51223
|
+
200: {
|
|
51224
|
+
content: {
|
|
51225
|
+
'application/json': {
|
|
51226
|
+
schema: {
|
|
51227
|
+
properties: {
|
|
51228
|
+
access_grants: {
|
|
51229
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
51230
|
+
type: 'array',
|
|
51231
|
+
},
|
|
51232
|
+
ok: { type: 'boolean' },
|
|
51233
|
+
},
|
|
51234
|
+
required: ['access_grants', 'ok'],
|
|
51235
|
+
type: 'object',
|
|
51236
|
+
},
|
|
51237
|
+
},
|
|
51238
|
+
},
|
|
51239
|
+
description: 'OK',
|
|
51240
|
+
},
|
|
51241
|
+
400: { description: 'Bad Request' },
|
|
51242
|
+
401: { description: 'Unauthorized' },
|
|
51243
|
+
},
|
|
51244
|
+
security: [{ client_session_with_customer: [] }],
|
|
51245
|
+
summary: '/seam/customer/v1/access_grants/list',
|
|
51246
|
+
tags: [],
|
|
51247
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'access_grants'],
|
|
51248
|
+
'x-fern-sdk-method-name': 'list',
|
|
51249
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
51250
|
+
'x-response-key': 'access_grants',
|
|
51251
|
+
'x-title': 'List Access Grants (Other Access)',
|
|
51252
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
51253
|
+
},
|
|
51254
|
+
post: {
|
|
51255
|
+
description: 'Gets an Access Grant.',
|
|
51256
|
+
operationId: 'seamCustomerV1AccessGrantsListPost',
|
|
51257
|
+
requestBody: {
|
|
51258
|
+
content: {
|
|
51259
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
51260
|
+
},
|
|
51261
|
+
},
|
|
51262
|
+
responses: {
|
|
51263
|
+
200: {
|
|
51264
|
+
content: {
|
|
51265
|
+
'application/json': {
|
|
51266
|
+
schema: {
|
|
51267
|
+
properties: {
|
|
51268
|
+
access_grants: {
|
|
51269
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
51270
|
+
type: 'array',
|
|
51271
|
+
},
|
|
51272
|
+
ok: { type: 'boolean' },
|
|
51273
|
+
},
|
|
51274
|
+
required: ['access_grants', 'ok'],
|
|
51275
|
+
type: 'object',
|
|
51276
|
+
},
|
|
51277
|
+
},
|
|
51278
|
+
},
|
|
51279
|
+
description: 'OK',
|
|
51280
|
+
},
|
|
51281
|
+
400: { description: 'Bad Request' },
|
|
51282
|
+
401: { description: 'Unauthorized' },
|
|
51283
|
+
},
|
|
51284
|
+
security: [{ client_session_with_customer: [] }],
|
|
51285
|
+
summary: '/seam/customer/v1/access_grants/list',
|
|
51286
|
+
tags: [],
|
|
51287
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'access_grants'],
|
|
51288
|
+
'x-fern-sdk-method-name': 'list',
|
|
51289
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
51290
|
+
'x-response-key': 'access_grants',
|
|
51291
|
+
'x-title': 'List Access Grants (Other Access)',
|
|
51292
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
51293
|
+
},
|
|
51294
|
+
},
|
|
51163
51295
|
'/seam/customer/v1/automation_runs/list': {
|
|
51164
51296
|
get: {
|
|
51165
51297
|
description:
|