@seamapi/types 1.327.0 → 1.328.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 +761 -371
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +102 -14
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +5 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -3
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential-pool.js +5 -1
- package/lib/seam/connect/models/acs/acs-credential-pool.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +12 -5
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -5
- package/lib/seam/connect/models/acs/acs-entrance.js +7 -4
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +6 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.js +7 -4
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -3
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js +5 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.js +5 -1
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +5 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +5 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +5 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +5 -1
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +5 -1
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +5 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.js +119 -68
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/acs/access_groups.js +7 -4
- package/lib/seam/connect/models/events/acs/access_groups.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +14 -8
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/encoders.js +14 -8
- package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
- package/lib/seam/connect/models/events/acs/systems.js +21 -12
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.js +7 -4
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.js +28 -16
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/client-sessions.js +7 -4
- package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.js +14 -8
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +45 -25
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +214 -119
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +7 -4
- package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/models/events/phones.js +7 -4
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.js +5 -1
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js +5 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +8 -8
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +7 -4
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/models/webhooks/webhook.js +5 -1
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.js +5 -1
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +53 -4
- package/lib/seam/connect/openapi.js +102 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +49 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +5 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -3
- package/src/lib/seam/connect/models/acs/acs-credential-pool.ts +5 -1
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +38 -35
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +31 -30
- package/src/lib/seam/connect/models/acs/acs-system.ts +6 -4
- package/src/lib/seam/connect/models/acs/acs-user.ts +10 -9
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +5 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +5 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +5 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +5 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +5 -1
- package/src/lib/seam/connect/models/devices/device.ts +5 -1
- package/src/lib/seam/connect/models/devices/phone.ts +5 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +5 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +139 -117
- package/src/lib/seam/connect/models/events/acs/access_groups.ts +8 -5
- package/src/lib/seam/connect/models/events/acs/credentials.ts +16 -14
- package/src/lib/seam/connect/models/events/acs/encoders.ts +16 -14
- package/src/lib/seam/connect/models/events/acs/systems.ts +24 -21
- package/src/lib/seam/connect/models/events/acs/users.ts +8 -7
- package/src/lib/seam/connect/models/events/action-attempts.ts +32 -24
- package/src/lib/seam/connect/models/events/client-sessions.ts +8 -7
- package/src/lib/seam/connect/models/events/connect-webviews.ts +16 -13
- package/src/lib/seam/connect/models/events/connected-accounts.ts +55 -44
- package/src/lib/seam/connect/models/events/devices.ts +339 -301
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +8 -6
- package/src/lib/seam/connect/models/events/phones.ts +8 -5
- package/src/lib/seam/connect/models/events/seam-event.ts +5 -1
- package/src/lib/seam/connect/models/noise-sensors/noise-threshold.ts +5 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +60 -62
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +35 -34
- package/src/lib/seam/connect/models/webhooks/webhook.ts +5 -1
- package/src/lib/seam/connect/models/workspaces/workspace.ts +5 -1
- package/src/lib/seam/connect/openapi.ts +102 -6
- package/src/lib/seam/connect/route-types.ts +49 -5
|
@@ -25,6 +25,7 @@ export interface Routes {
|
|
|
25
25
|
commonParams: {};
|
|
26
26
|
formData: {};
|
|
27
27
|
jsonResponse: {
|
|
28
|
+
/** */
|
|
28
29
|
action_attempt: {
|
|
29
30
|
/** The ID of the action attempt. */
|
|
30
31
|
action_attempt_id: string;
|
|
@@ -817,6 +818,7 @@ export interface Routes {
|
|
|
817
818
|
message: string;
|
|
818
819
|
};
|
|
819
820
|
};
|
|
821
|
+
/** */
|
|
820
822
|
access_code: {
|
|
821
823
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
822
824
|
common_code_key: string | null;
|
|
@@ -1102,6 +1104,7 @@ export interface Routes {
|
|
|
1102
1104
|
};
|
|
1103
1105
|
formData: {};
|
|
1104
1106
|
jsonResponse: {
|
|
1107
|
+
/** */
|
|
1105
1108
|
action_attempt: {
|
|
1106
1109
|
/** The ID of the action attempt. */
|
|
1107
1110
|
action_attempt_id: string;
|
|
@@ -1924,6 +1927,7 @@ export interface Routes {
|
|
|
1924
1927
|
};
|
|
1925
1928
|
formData: {};
|
|
1926
1929
|
jsonResponse: {
|
|
1930
|
+
/** */
|
|
1927
1931
|
access_code: {
|
|
1928
1932
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
1929
1933
|
common_code_key: string | null;
|
|
@@ -2194,6 +2198,7 @@ export interface Routes {
|
|
|
2194
2198
|
commonParams: {};
|
|
2195
2199
|
formData: {};
|
|
2196
2200
|
jsonResponse: {
|
|
2201
|
+
/** */
|
|
2197
2202
|
backup_access_code: {
|
|
2198
2203
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
2199
2204
|
common_code_key: string | null;
|
|
@@ -2316,6 +2321,7 @@ export interface Routes {
|
|
|
2316
2321
|
/** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
|
|
2317
2322
|
is_offline_access_code: boolean;
|
|
2318
2323
|
};
|
|
2324
|
+
/** */
|
|
2319
2325
|
access_code: {
|
|
2320
2326
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
2321
2327
|
common_code_key: string | null;
|
|
@@ -2452,6 +2458,7 @@ export interface Routes {
|
|
|
2452
2458
|
commonParams: {};
|
|
2453
2459
|
formData: {};
|
|
2454
2460
|
jsonResponse: {
|
|
2461
|
+
/** */
|
|
2455
2462
|
access_code: {
|
|
2456
2463
|
/** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
|
|
2457
2464
|
type: 'time_bound' | 'ongoing';
|
|
@@ -2580,6 +2587,7 @@ export interface Routes {
|
|
|
2580
2587
|
};
|
|
2581
2588
|
formData: {};
|
|
2582
2589
|
jsonResponse: {
|
|
2590
|
+
/** */
|
|
2583
2591
|
action_attempt: {
|
|
2584
2592
|
/** The ID of the action attempt. */
|
|
2585
2593
|
action_attempt_id: string;
|
|
@@ -3386,6 +3394,7 @@ export interface Routes {
|
|
|
3386
3394
|
};
|
|
3387
3395
|
formData: {};
|
|
3388
3396
|
jsonResponse: {
|
|
3397
|
+
/** */
|
|
3389
3398
|
access_code: {
|
|
3390
3399
|
/** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
|
|
3391
3400
|
type: 'time_bound' | 'ongoing';
|
|
@@ -3644,6 +3653,7 @@ export interface Routes {
|
|
|
3644
3653
|
commonParams: {};
|
|
3645
3654
|
formData: {};
|
|
3646
3655
|
jsonResponse: {
|
|
3656
|
+
/** */
|
|
3647
3657
|
action_attempt: {
|
|
3648
3658
|
/** The ID of the action attempt. */
|
|
3649
3659
|
action_attempt_id: string;
|
|
@@ -4612,7 +4622,6 @@ export interface Routes {
|
|
|
4612
4622
|
} | undefined;
|
|
4613
4623
|
dormakaba_community_metadata?: {
|
|
4614
4624
|
access_point_name: string;
|
|
4615
|
-
common_area_number?: number | undefined;
|
|
4616
4625
|
} | undefined;
|
|
4617
4626
|
assa_abloy_vostio_metadata?: {
|
|
4618
4627
|
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
@@ -4875,6 +4884,7 @@ export interface Routes {
|
|
|
4875
4884
|
};
|
|
4876
4885
|
formData: {};
|
|
4877
4886
|
jsonResponse: {
|
|
4887
|
+
/** */
|
|
4878
4888
|
acs_credential_provisioning_automation: {
|
|
4879
4889
|
acs_credential_provisioning_automation_id: string;
|
|
4880
4890
|
credential_manager_acs_system_id: string;
|
|
@@ -5556,7 +5566,6 @@ export interface Routes {
|
|
|
5556
5566
|
} | undefined;
|
|
5557
5567
|
dormakaba_community_metadata?: {
|
|
5558
5568
|
access_point_name: string;
|
|
5559
|
-
common_area_number?: number | undefined;
|
|
5560
5569
|
} | undefined;
|
|
5561
5570
|
assa_abloy_vostio_metadata?: {
|
|
5562
5571
|
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
@@ -6037,6 +6046,7 @@ export interface Routes {
|
|
|
6037
6046
|
};
|
|
6038
6047
|
formData: {};
|
|
6039
6048
|
jsonResponse: {
|
|
6049
|
+
/** */
|
|
6040
6050
|
action_attempt: {
|
|
6041
6051
|
/** The ID of the action attempt. */
|
|
6042
6052
|
action_attempt_id: string;
|
|
@@ -6888,6 +6898,7 @@ export interface Routes {
|
|
|
6888
6898
|
};
|
|
6889
6899
|
formData: {};
|
|
6890
6900
|
jsonResponse: {
|
|
6901
|
+
/** */
|
|
6891
6902
|
action_attempt: {
|
|
6892
6903
|
/** The ID of the action attempt. */
|
|
6893
6904
|
action_attempt_id: string;
|
|
@@ -7811,7 +7822,6 @@ export interface Routes {
|
|
|
7811
7822
|
} | undefined;
|
|
7812
7823
|
dormakaba_community_metadata?: {
|
|
7813
7824
|
access_point_name: string;
|
|
7814
|
-
common_area_number?: number | undefined;
|
|
7815
7825
|
} | undefined;
|
|
7816
7826
|
assa_abloy_vostio_metadata?: {
|
|
7817
7827
|
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
@@ -7890,7 +7900,6 @@ export interface Routes {
|
|
|
7890
7900
|
} | undefined;
|
|
7891
7901
|
dormakaba_community_metadata?: {
|
|
7892
7902
|
access_point_name: string;
|
|
7893
|
-
common_area_number?: number | undefined;
|
|
7894
7903
|
} | undefined;
|
|
7895
7904
|
assa_abloy_vostio_metadata?: {
|
|
7896
7905
|
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
@@ -8809,7 +8818,6 @@ export interface Routes {
|
|
|
8809
8818
|
} | undefined;
|
|
8810
8819
|
dormakaba_community_metadata?: {
|
|
8811
8820
|
access_point_name: string;
|
|
8812
|
-
common_area_number?: number | undefined;
|
|
8813
8821
|
} | undefined;
|
|
8814
8822
|
assa_abloy_vostio_metadata?: {
|
|
8815
8823
|
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
@@ -9122,6 +9130,7 @@ export interface Routes {
|
|
|
9122
9130
|
};
|
|
9123
9131
|
formData: {};
|
|
9124
9132
|
jsonResponse: {
|
|
9133
|
+
/** */
|
|
9125
9134
|
action_attempt: {
|
|
9126
9135
|
/** The ID of the action attempt. */
|
|
9127
9136
|
action_attempt_id: string;
|
|
@@ -10734,6 +10743,7 @@ export interface Routes {
|
|
|
10734
10743
|
commonParams: {};
|
|
10735
10744
|
formData: {};
|
|
10736
10745
|
jsonResponse: {
|
|
10746
|
+
/** */
|
|
10737
10747
|
client_session: {
|
|
10738
10748
|
client_session_id: string;
|
|
10739
10749
|
workspace_id: string;
|
|
@@ -10770,6 +10780,7 @@ export interface Routes {
|
|
|
10770
10780
|
};
|
|
10771
10781
|
formData: {};
|
|
10772
10782
|
jsonResponse: {
|
|
10783
|
+
/** */
|
|
10773
10784
|
client_session: {
|
|
10774
10785
|
client_session_id: string;
|
|
10775
10786
|
workspace_id: string;
|
|
@@ -10798,6 +10809,7 @@ export interface Routes {
|
|
|
10798
10809
|
commonParams: {};
|
|
10799
10810
|
formData: {};
|
|
10800
10811
|
jsonResponse: {
|
|
10812
|
+
/** */
|
|
10801
10813
|
client_session: {
|
|
10802
10814
|
client_session_id: string;
|
|
10803
10815
|
workspace_id: string;
|
|
@@ -10826,6 +10838,7 @@ export interface Routes {
|
|
|
10826
10838
|
};
|
|
10827
10839
|
formData: {};
|
|
10828
10840
|
jsonResponse: {
|
|
10841
|
+
/** */
|
|
10829
10842
|
client_session: {
|
|
10830
10843
|
client_session_id: string;
|
|
10831
10844
|
workspace_id: string;
|
|
@@ -10896,6 +10909,7 @@ export interface Routes {
|
|
|
10896
10909
|
commonParams: {};
|
|
10897
10910
|
formData: {};
|
|
10898
10911
|
jsonResponse: {
|
|
10912
|
+
/** */
|
|
10899
10913
|
connect_webview: {
|
|
10900
10914
|
connect_webview_id: string;
|
|
10901
10915
|
workspace_id: string;
|
|
@@ -10944,6 +10958,7 @@ export interface Routes {
|
|
|
10944
10958
|
};
|
|
10945
10959
|
formData: {};
|
|
10946
10960
|
jsonResponse: {
|
|
10961
|
+
/** */
|
|
10947
10962
|
connect_webview: {
|
|
10948
10963
|
connect_webview_id: string;
|
|
10949
10964
|
workspace_id: string;
|
|
@@ -11036,6 +11051,7 @@ export interface Routes {
|
|
|
11036
11051
|
};
|
|
11037
11052
|
formData: {};
|
|
11038
11053
|
jsonResponse: {
|
|
11054
|
+
/** */
|
|
11039
11055
|
connected_account: {
|
|
11040
11056
|
connected_account_id?: string | undefined;
|
|
11041
11057
|
created_at?: string | undefined;
|
|
@@ -11121,6 +11137,7 @@ export interface Routes {
|
|
|
11121
11137
|
commonParams: {};
|
|
11122
11138
|
formData: {};
|
|
11123
11139
|
jsonResponse: {
|
|
11140
|
+
/** */
|
|
11124
11141
|
connected_account: {
|
|
11125
11142
|
connected_account_id?: string | undefined;
|
|
11126
11143
|
created_at?: string | undefined;
|
|
@@ -11173,6 +11190,7 @@ export interface Routes {
|
|
|
11173
11190
|
};
|
|
11174
11191
|
formData: {};
|
|
11175
11192
|
jsonResponse: {
|
|
11193
|
+
/** */
|
|
11176
11194
|
device: {
|
|
11177
11195
|
/** Unique identifier for the device. */
|
|
11178
11196
|
device_id: string;
|
|
@@ -12447,6 +12465,7 @@ export interface Routes {
|
|
|
12447
12465
|
};
|
|
12448
12466
|
formData: {};
|
|
12449
12467
|
jsonResponse: {
|
|
12468
|
+
/** */
|
|
12450
12469
|
device: {
|
|
12451
12470
|
/** Unique identifier for the device. */
|
|
12452
12471
|
device_id: string;
|
|
@@ -12845,6 +12864,7 @@ export interface Routes {
|
|
|
12845
12864
|
};
|
|
12846
12865
|
formData: {};
|
|
12847
12866
|
jsonResponse: {
|
|
12867
|
+
/** */
|
|
12848
12868
|
event?: ({
|
|
12849
12869
|
/** ID of the event. */
|
|
12850
12870
|
event_id: string;
|
|
@@ -15188,6 +15208,7 @@ export interface Routes {
|
|
|
15188
15208
|
};
|
|
15189
15209
|
formData: {};
|
|
15190
15210
|
jsonResponse: {
|
|
15211
|
+
/** */
|
|
15191
15212
|
lock: {
|
|
15192
15213
|
/** Unique identifier for the device. */
|
|
15193
15214
|
device_id: string;
|
|
@@ -15769,6 +15790,7 @@ export interface Routes {
|
|
|
15769
15790
|
can_simulate_connection?: boolean | undefined;
|
|
15770
15791
|
can_simulate_disconnection?: boolean | undefined;
|
|
15771
15792
|
};
|
|
15793
|
+
/** */
|
|
15772
15794
|
device: {
|
|
15773
15795
|
/** Unique identifier for the device. */
|
|
15774
15796
|
device_id: string;
|
|
@@ -17562,6 +17584,7 @@ export interface Routes {
|
|
|
17562
17584
|
commonParams: {};
|
|
17563
17585
|
formData: {};
|
|
17564
17586
|
jsonResponse: {
|
|
17587
|
+
/** */
|
|
17565
17588
|
action_attempt: {
|
|
17566
17589
|
/** The ID of the action attempt. */
|
|
17567
17590
|
action_attempt_id: string;
|
|
@@ -18367,6 +18390,7 @@ export interface Routes {
|
|
|
18367
18390
|
commonParams: {};
|
|
18368
18391
|
formData: {};
|
|
18369
18392
|
jsonResponse: {
|
|
18393
|
+
/** */
|
|
18370
18394
|
action_attempt: {
|
|
18371
18395
|
/** The ID of the action attempt. */
|
|
18372
18396
|
action_attempt_id: string;
|
|
@@ -19171,6 +19195,7 @@ export interface Routes {
|
|
|
19171
19195
|
};
|
|
19172
19196
|
formData: {};
|
|
19173
19197
|
jsonResponse: {
|
|
19198
|
+
/** */
|
|
19174
19199
|
network: {
|
|
19175
19200
|
network_id: string;
|
|
19176
19201
|
workspace_id: string;
|
|
@@ -20410,6 +20435,7 @@ export interface Routes {
|
|
|
20410
20435
|
commonParams: {};
|
|
20411
20436
|
formData: {};
|
|
20412
20437
|
jsonResponse: {
|
|
20438
|
+
/** */
|
|
20413
20439
|
action_attempt: {
|
|
20414
20440
|
/** The ID of the action attempt. */
|
|
20415
20441
|
action_attempt_id: string;
|
|
@@ -21202,6 +21228,7 @@ export interface Routes {
|
|
|
21202
21228
|
message: string;
|
|
21203
21229
|
};
|
|
21204
21230
|
};
|
|
21231
|
+
/** */
|
|
21205
21232
|
noise_threshold: {
|
|
21206
21233
|
noise_threshold_id: string;
|
|
21207
21234
|
device_id: string;
|
|
@@ -21225,6 +21252,7 @@ export interface Routes {
|
|
|
21225
21252
|
commonParams: {};
|
|
21226
21253
|
formData: {};
|
|
21227
21254
|
jsonResponse: {
|
|
21255
|
+
/** */
|
|
21228
21256
|
action_attempt: {
|
|
21229
21257
|
/** The ID of the action attempt. */
|
|
21230
21258
|
action_attempt_id: string;
|
|
@@ -22029,6 +22057,7 @@ export interface Routes {
|
|
|
22029
22057
|
};
|
|
22030
22058
|
formData: {};
|
|
22031
22059
|
jsonResponse: {
|
|
22060
|
+
/** */
|
|
22032
22061
|
noise_threshold: {
|
|
22033
22062
|
noise_threshold_id: string;
|
|
22034
22063
|
device_id: string;
|
|
@@ -22079,6 +22108,7 @@ export interface Routes {
|
|
|
22079
22108
|
commonParams: {};
|
|
22080
22109
|
formData: {};
|
|
22081
22110
|
jsonResponse: {
|
|
22111
|
+
/** */
|
|
22082
22112
|
action_attempt: {
|
|
22083
22113
|
/** The ID of the action attempt. */
|
|
22084
22114
|
action_attempt_id: string;
|
|
@@ -23054,6 +23084,7 @@ export interface Routes {
|
|
|
23054
23084
|
commonParams: {};
|
|
23055
23085
|
formData: {};
|
|
23056
23086
|
jsonResponse: {
|
|
23087
|
+
/** */
|
|
23057
23088
|
phone: {
|
|
23058
23089
|
/** Unique identifier for the device. */
|
|
23059
23090
|
device_id: string;
|
|
@@ -23190,6 +23221,7 @@ export interface Routes {
|
|
|
23190
23221
|
commonParams: {};
|
|
23191
23222
|
formData: {};
|
|
23192
23223
|
jsonResponse: {
|
|
23224
|
+
/** */
|
|
23193
23225
|
action_attempt: {
|
|
23194
23226
|
/** The ID of the action attempt. */
|
|
23195
23227
|
action_attempt_id: string;
|
|
@@ -24001,6 +24033,7 @@ export interface Routes {
|
|
|
24001
24033
|
commonParams: {};
|
|
24002
24034
|
formData: {};
|
|
24003
24035
|
jsonResponse: {
|
|
24036
|
+
/** */
|
|
24004
24037
|
action_attempt: {
|
|
24005
24038
|
/** The ID of the action attempt. */
|
|
24006
24039
|
action_attempt_id: string;
|
|
@@ -24853,6 +24886,7 @@ export interface Routes {
|
|
|
24853
24886
|
};
|
|
24854
24887
|
formData: {};
|
|
24855
24888
|
jsonResponse: {
|
|
24889
|
+
/** */
|
|
24856
24890
|
thermostat: {
|
|
24857
24891
|
/** Unique identifier for the device. */
|
|
24858
24892
|
device_id: string;
|
|
@@ -25453,6 +25487,7 @@ export interface Routes {
|
|
|
25453
25487
|
commonParams: {};
|
|
25454
25488
|
formData: {};
|
|
25455
25489
|
jsonResponse: {
|
|
25490
|
+
/** */
|
|
25456
25491
|
action_attempt: {
|
|
25457
25492
|
/** The ID of the action attempt. */
|
|
25458
25493
|
action_attempt_id: string;
|
|
@@ -26268,6 +26303,7 @@ export interface Routes {
|
|
|
26268
26303
|
commonParams: {};
|
|
26269
26304
|
formData: {};
|
|
26270
26305
|
jsonResponse: {
|
|
26306
|
+
/** */
|
|
26271
26307
|
action_attempt: {
|
|
26272
26308
|
/** The ID of the action attempt. */
|
|
26273
26309
|
action_attempt_id: string;
|
|
@@ -28274,6 +28310,7 @@ export interface Routes {
|
|
|
28274
28310
|
commonParams: {};
|
|
28275
28311
|
formData: {};
|
|
28276
28312
|
jsonResponse: {
|
|
28313
|
+
/** */
|
|
28277
28314
|
action_attempt: {
|
|
28278
28315
|
/** The ID of the action attempt. */
|
|
28279
28316
|
action_attempt_id: string;
|
|
@@ -29265,6 +29302,7 @@ export interface Routes {
|
|
|
29265
29302
|
commonParams: {};
|
|
29266
29303
|
formData: {};
|
|
29267
29304
|
jsonResponse: {
|
|
29305
|
+
/** */
|
|
29268
29306
|
action_attempt: {
|
|
29269
29307
|
/** The ID of the action attempt. */
|
|
29270
29308
|
action_attempt_id: string;
|
|
@@ -30099,6 +30137,7 @@ export interface Routes {
|
|
|
30099
30137
|
commonParams: {};
|
|
30100
30138
|
formData: {};
|
|
30101
30139
|
jsonResponse: {
|
|
30140
|
+
/** */
|
|
30102
30141
|
action_attempt: {
|
|
30103
30142
|
/** The ID of the action attempt. */
|
|
30104
30143
|
action_attempt_id: string;
|
|
@@ -32637,6 +32676,7 @@ export interface Routes {
|
|
|
32637
32676
|
commonParams: {};
|
|
32638
32677
|
formData: {};
|
|
32639
32678
|
jsonResponse: {
|
|
32679
|
+
/** */
|
|
32640
32680
|
webhook: {
|
|
32641
32681
|
webhook_id: string;
|
|
32642
32682
|
url: string;
|
|
@@ -32666,6 +32706,7 @@ export interface Routes {
|
|
|
32666
32706
|
};
|
|
32667
32707
|
formData: {};
|
|
32668
32708
|
jsonResponse: {
|
|
32709
|
+
/** */
|
|
32669
32710
|
webhook: {
|
|
32670
32711
|
webhook_id: string;
|
|
32671
32712
|
url: string;
|
|
@@ -32720,6 +32761,7 @@ export interface Routes {
|
|
|
32720
32761
|
commonParams: {};
|
|
32721
32762
|
formData: {};
|
|
32722
32763
|
jsonResponse: {
|
|
32764
|
+
/** */
|
|
32723
32765
|
workspace: {
|
|
32724
32766
|
workspace_id: string;
|
|
32725
32767
|
name: string;
|
|
@@ -32739,6 +32781,7 @@ export interface Routes {
|
|
|
32739
32781
|
commonParams: {};
|
|
32740
32782
|
formData: {};
|
|
32741
32783
|
jsonResponse: {
|
|
32784
|
+
/** */
|
|
32742
32785
|
workspace: {
|
|
32743
32786
|
workspace_id: string;
|
|
32744
32787
|
name: string;
|
|
@@ -32777,6 +32820,7 @@ export interface Routes {
|
|
|
32777
32820
|
commonParams: {};
|
|
32778
32821
|
formData: {};
|
|
32779
32822
|
jsonResponse: {
|
|
32823
|
+
/** */
|
|
32780
32824
|
action_attempt: {
|
|
32781
32825
|
/** The ID of the action attempt. */
|
|
32782
32826
|
action_attempt_id: string;
|
package/package.json
CHANGED
|
@@ -138,6 +138,10 @@ export const access_code = z.object({
|
|
|
138
138
|
.describe(
|
|
139
139
|
'Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.',
|
|
140
140
|
),
|
|
141
|
-
})
|
|
141
|
+
}).describe(`
|
|
142
|
+
---
|
|
143
|
+
route_path: /access_codes
|
|
144
|
+
---
|
|
145
|
+
`)
|
|
142
146
|
|
|
143
147
|
export type AccessCode = z.infer<typeof access_code>
|
|
@@ -19,6 +19,10 @@ export const unmanaged_access_code = access_code
|
|
|
19
19
|
.extend({
|
|
20
20
|
is_managed: z.literal(false),
|
|
21
21
|
status: z.enum(['set']),
|
|
22
|
-
})
|
|
22
|
+
}).describe(`
|
|
23
|
+
---
|
|
24
|
+
route_path: /access_codes/unmanaged
|
|
25
|
+
---
|
|
26
|
+
`)
|
|
23
27
|
|
|
24
28
|
export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>
|
|
@@ -100,9 +100,13 @@ const common_acs_access_group = z.object({
|
|
|
100
100
|
|
|
101
101
|
export const acs_access_group = common_acs_access_group.extend({
|
|
102
102
|
is_managed: z.literal(true),
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
}).describe(`
|
|
104
|
+
---
|
|
105
|
+
route_path: /acs/access_groups
|
|
106
|
+
---
|
|
107
|
+
Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
|
|
108
|
+
The \`acs_access_group\` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
109
|
+
`)
|
|
106
110
|
export const unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
107
111
|
is_managed: z.literal(false),
|
|
108
112
|
})
|
|
@@ -14,6 +14,10 @@ export const acs_credential_pool = z.object({
|
|
|
14
14
|
external_type_display_name: z.string(),
|
|
15
15
|
created_at: z.string().datetime(),
|
|
16
16
|
workspace_id: z.string().uuid(),
|
|
17
|
-
})
|
|
17
|
+
}).describe(`
|
|
18
|
+
---
|
|
19
|
+
route_path: /acs/credential_pools
|
|
20
|
+
---
|
|
21
|
+
`)
|
|
18
22
|
|
|
19
23
|
export type AcsCredentialPool = z.output<typeof acs_credential_pool>
|
|
@@ -6,42 +6,45 @@ export const acs_credential_provisioning_automation = z.object({
|
|
|
6
6
|
user_identity_id: z.string().uuid(),
|
|
7
7
|
created_at: z.string().datetime(),
|
|
8
8
|
workspace_id: z.string().uuid(),
|
|
9
|
-
})
|
|
9
|
+
}).describe(`
|
|
10
|
+
---
|
|
11
|
+
route_path: /acs/credential_provisioning_automations
|
|
12
|
+
---
|
|
13
|
+
`)
|
|
10
14
|
|
|
11
|
-
export const enrollment_automation = z
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
)
|
|
15
|
+
export const enrollment_automation = z.object({
|
|
16
|
+
enrollment_automation_id: z
|
|
17
|
+
.string()
|
|
18
|
+
.uuid()
|
|
19
|
+
.describe('ID of the enrollment automation.'),
|
|
20
|
+
credential_manager_acs_system_id: z
|
|
21
|
+
.string()
|
|
22
|
+
.uuid()
|
|
23
|
+
.describe(
|
|
24
|
+
'ID of the associated [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) that serves as the credential manager.',
|
|
25
|
+
),
|
|
26
|
+
user_identity_id: z
|
|
27
|
+
.string()
|
|
28
|
+
.uuid()
|
|
29
|
+
.describe(
|
|
30
|
+
'ID of the associated [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
31
|
+
),
|
|
32
|
+
created_at: z
|
|
33
|
+
.string()
|
|
34
|
+
.datetime()
|
|
35
|
+
.describe('Date and time at which the enrollment automation was created.'),
|
|
36
|
+
workspace_id: z
|
|
37
|
+
.string()
|
|
38
|
+
.uuid()
|
|
39
|
+
.describe(
|
|
40
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the enrollment automation.',
|
|
41
|
+
),
|
|
42
|
+
}).describe(`
|
|
43
|
+
---
|
|
44
|
+
route_path: /user_identities/enrollment_automations
|
|
45
|
+
---
|
|
46
|
+
Represents an [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) within the [Seam mobile access solution](https://docs.seam.co/latest/capability-guides/mobile-access-in-development).
|
|
47
|
+
`)
|
|
45
48
|
|
|
46
49
|
export type EnrollmentAutomation = z.output<typeof enrollment_automation>
|
|
47
50
|
|
|
@@ -9,35 +9,36 @@ import {
|
|
|
9
9
|
} from './metadata/index.js'
|
|
10
10
|
import { acs_entrance_salto_space_metadata } from './metadata/salto-space.js'
|
|
11
11
|
|
|
12
|
-
export const acs_entrance = z
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
z.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
)
|
|
12
|
+
export const acs_entrance = z.object({
|
|
13
|
+
acs_system_id: z
|
|
14
|
+
.string()
|
|
15
|
+
.uuid()
|
|
16
|
+
.describe('ID of the access control system that contains the entrance.'),
|
|
17
|
+
acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
|
|
18
|
+
created_at: z
|
|
19
|
+
.string()
|
|
20
|
+
.datetime()
|
|
21
|
+
.describe('Date and time at which the entrance was created.'),
|
|
22
|
+
display_name: z.string().describe('Display name for the entrance.'),
|
|
23
|
+
errors: z.array(
|
|
24
|
+
z.object({
|
|
25
|
+
error_code: z.string(),
|
|
26
|
+
message: z.string(),
|
|
27
|
+
}),
|
|
28
|
+
),
|
|
29
|
+
latch_metadata: acs_entrance_latch_metadata.optional(),
|
|
30
|
+
visionline_metadata: acs_entrance_visionline_metadata.optional(),
|
|
31
|
+
salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
|
|
32
|
+
dormakaba_community_metadata:
|
|
33
|
+
acs_entrance_dormakaba_community_metadata.optional(),
|
|
34
|
+
assa_abloy_vostio_metadata:
|
|
35
|
+
acs_entrance_assa_abloy_vostio_metadata.optional(),
|
|
36
|
+
salto_space_metadata: acs_entrance_salto_space_metadata.optional(),
|
|
37
|
+
}).describe(`
|
|
38
|
+
---
|
|
39
|
+
route_path: /acs/entrances
|
|
40
|
+
---
|
|
41
|
+
Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
42
|
+
`)
|
|
42
43
|
|
|
43
44
|
export type AcsEntrance = z.infer<typeof acs_entrance>
|
|
@@ -296,9 +296,11 @@ export const acs_system = z
|
|
|
296
296
|
.array(acs_system_warning)
|
|
297
297
|
.describe('Warnings associated with the `acs_system`.'),
|
|
298
298
|
})
|
|
299
|
-
.merge(acs_system_capability_flags)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
299
|
+
.merge(acs_system_capability_flags).describe(`
|
|
300
|
+
---
|
|
301
|
+
route_path: /acs/systems
|
|
302
|
+
---
|
|
303
|
+
Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
304
|
+
`)
|
|
303
305
|
|
|
304
306
|
export type AcsSystem = z.output<typeof acs_system>
|
|
@@ -273,15 +273,16 @@ const common_acs_user = z
|
|
|
273
273
|
})
|
|
274
274
|
.merge(user_fields)
|
|
275
275
|
|
|
276
|
-
export const acs_user = common_acs_user
|
|
277
|
-
.
|
|
278
|
-
z.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
276
|
+
export const acs_user = common_acs_user.merge(
|
|
277
|
+
z.object({
|
|
278
|
+
is_managed: z.literal(true),
|
|
279
|
+
}),
|
|
280
|
+
).describe(`
|
|
281
|
+
---
|
|
282
|
+
route_path: /acs/users
|
|
283
|
+
---
|
|
284
|
+
Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
285
|
+
`)
|
|
285
286
|
|
|
286
287
|
export const unmanaged_acs_user = common_acs_user
|
|
287
288
|
.merge(
|