@seamapi/types 1.442.0 → 1.444.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 +131 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1935 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +131 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +50 -0
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +143 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -16,7 +16,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
16
16
|
is_being_activated: boolean;
|
|
17
17
|
provider_state?: any;
|
|
18
18
|
}>;
|
|
19
|
-
acs_credentials: z.ZodArray<z.ZodObject<
|
|
19
|
+
acs_credentials: z.ZodArray<z.ZodObject<Omit<{
|
|
20
20
|
acs_credential_id: z.ZodString;
|
|
21
21
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
22
22
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -47,12 +47,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
47
47
|
message: string;
|
|
48
48
|
error_code: string;
|
|
49
49
|
}>, "many">;
|
|
50
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
50
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
51
51
|
created_at: z.ZodString;
|
|
52
52
|
message: z.ZodString;
|
|
53
|
-
}
|
|
53
|
+
} & {
|
|
54
54
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
55
|
-
}
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
message: string;
|
|
57
57
|
created_at: string;
|
|
58
58
|
warning_code: "waiting_to_be_issued";
|
|
@@ -60,12 +60,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
60
60
|
message: string;
|
|
61
61
|
created_at: string;
|
|
62
62
|
warning_code: "waiting_to_be_issued";
|
|
63
|
-
}>, z.ZodObject<
|
|
63
|
+
}>, z.ZodObject<{
|
|
64
64
|
created_at: z.ZodString;
|
|
65
65
|
message: z.ZodString;
|
|
66
|
-
}
|
|
66
|
+
} & {
|
|
67
67
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
68
|
-
}
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
message: string;
|
|
70
70
|
created_at: string;
|
|
71
71
|
warning_code: "schedule_externally_modified";
|
|
@@ -73,12 +73,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
73
73
|
message: string;
|
|
74
74
|
created_at: string;
|
|
75
75
|
warning_code: "schedule_externally_modified";
|
|
76
|
-
}>, z.ZodObject<
|
|
76
|
+
}>, z.ZodObject<{
|
|
77
77
|
created_at: z.ZodString;
|
|
78
78
|
message: z.ZodString;
|
|
79
|
-
}
|
|
79
|
+
} & {
|
|
80
80
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
81
|
-
}
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
message: string;
|
|
83
83
|
created_at: string;
|
|
84
84
|
warning_code: "schedule_modified";
|
|
@@ -86,12 +86,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
86
86
|
message: string;
|
|
87
87
|
created_at: string;
|
|
88
88
|
warning_code: "schedule_modified";
|
|
89
|
-
}>, z.ZodObject<
|
|
89
|
+
}>, z.ZodObject<{
|
|
90
90
|
created_at: z.ZodString;
|
|
91
91
|
message: z.ZodString;
|
|
92
|
-
}
|
|
92
|
+
} & {
|
|
93
93
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
94
|
-
}
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
message: string;
|
|
96
96
|
created_at: string;
|
|
97
97
|
warning_code: "being_deleted";
|
|
@@ -99,12 +99,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
99
99
|
message: string;
|
|
100
100
|
created_at: string;
|
|
101
101
|
warning_code: "being_deleted";
|
|
102
|
-
}>, z.ZodObject<
|
|
102
|
+
}>, z.ZodObject<{
|
|
103
103
|
created_at: z.ZodString;
|
|
104
104
|
message: z.ZodString;
|
|
105
|
-
}
|
|
105
|
+
} & {
|
|
106
106
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
107
|
-
}
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
message: string;
|
|
109
109
|
created_at: string;
|
|
110
110
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -112,12 +112,12 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
112
112
|
message: string;
|
|
113
113
|
created_at: string;
|
|
114
114
|
warning_code: "unknown_issue_with_acs_credential";
|
|
115
|
-
}>, z.ZodObject<
|
|
115
|
+
}>, z.ZodObject<{
|
|
116
116
|
created_at: z.ZodString;
|
|
117
117
|
message: z.ZodString;
|
|
118
|
-
}
|
|
118
|
+
} & {
|
|
119
119
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
120
|
-
}
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
message: string;
|
|
122
122
|
created_at: string;
|
|
123
123
|
warning_code: "needs_to_be_reissued";
|
|
@@ -179,11 +179,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
179
179
|
key_issuing_request_id?: string | undefined;
|
|
180
180
|
door_names?: string[] | undefined;
|
|
181
181
|
}>>;
|
|
182
|
-
}
|
|
182
|
+
} & {
|
|
183
183
|
is_managed: z.ZodLiteral<true>;
|
|
184
|
-
}
|
|
184
|
+
}, "acs_credential_id"> & {
|
|
185
185
|
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
186
|
-
acs_entrances: z.ZodArray<z.ZodObject<
|
|
186
|
+
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
187
187
|
acs_system_id: z.ZodString;
|
|
188
188
|
acs_entrance_id: z.ZodString;
|
|
189
189
|
created_at: z.ZodString;
|
|
@@ -310,11 +310,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
310
310
|
ext_door_id: string;
|
|
311
311
|
door_description?: string | undefined;
|
|
312
312
|
}>>;
|
|
313
|
-
}
|
|
313
|
+
} & {
|
|
314
314
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
315
315
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
316
316
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
-
}
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
display_name: string;
|
|
319
319
|
created_at: string;
|
|
320
320
|
errors: {
|
|
@@ -419,7 +419,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
419
419
|
door_description?: string | undefined;
|
|
420
420
|
} | undefined;
|
|
421
421
|
}>, "many">;
|
|
422
|
-
}
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
423
|
display_name: string;
|
|
424
424
|
workspace_id: string;
|
|
425
425
|
created_at: string;
|
|
@@ -955,7 +955,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
955
955
|
is_being_activated: boolean;
|
|
956
956
|
provider_state?: any;
|
|
957
957
|
}>;
|
|
958
|
-
acs_credentials: z.ZodArray<z.ZodObject<
|
|
958
|
+
acs_credentials: z.ZodArray<z.ZodObject<Omit<{
|
|
959
959
|
acs_credential_id: z.ZodString;
|
|
960
960
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
961
961
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -986,12 +986,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
986
986
|
message: string;
|
|
987
987
|
error_code: string;
|
|
988
988
|
}>, "many">;
|
|
989
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
989
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
990
990
|
created_at: z.ZodString;
|
|
991
991
|
message: z.ZodString;
|
|
992
|
-
}
|
|
992
|
+
} & {
|
|
993
993
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
994
|
-
}
|
|
994
|
+
}, "strip", z.ZodTypeAny, {
|
|
995
995
|
message: string;
|
|
996
996
|
created_at: string;
|
|
997
997
|
warning_code: "waiting_to_be_issued";
|
|
@@ -999,12 +999,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
999
999
|
message: string;
|
|
1000
1000
|
created_at: string;
|
|
1001
1001
|
warning_code: "waiting_to_be_issued";
|
|
1002
|
-
}>, z.ZodObject<
|
|
1002
|
+
}>, z.ZodObject<{
|
|
1003
1003
|
created_at: z.ZodString;
|
|
1004
1004
|
message: z.ZodString;
|
|
1005
|
-
}
|
|
1005
|
+
} & {
|
|
1006
1006
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
1007
|
-
}
|
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
|
1008
1008
|
message: string;
|
|
1009
1009
|
created_at: string;
|
|
1010
1010
|
warning_code: "schedule_externally_modified";
|
|
@@ -1012,12 +1012,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1012
1012
|
message: string;
|
|
1013
1013
|
created_at: string;
|
|
1014
1014
|
warning_code: "schedule_externally_modified";
|
|
1015
|
-
}>, z.ZodObject<
|
|
1015
|
+
}>, z.ZodObject<{
|
|
1016
1016
|
created_at: z.ZodString;
|
|
1017
1017
|
message: z.ZodString;
|
|
1018
|
-
}
|
|
1018
|
+
} & {
|
|
1019
1019
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
1020
|
-
}
|
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
|
1021
1021
|
message: string;
|
|
1022
1022
|
created_at: string;
|
|
1023
1023
|
warning_code: "schedule_modified";
|
|
@@ -1025,12 +1025,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1025
1025
|
message: string;
|
|
1026
1026
|
created_at: string;
|
|
1027
1027
|
warning_code: "schedule_modified";
|
|
1028
|
-
}>, z.ZodObject<
|
|
1028
|
+
}>, z.ZodObject<{
|
|
1029
1029
|
created_at: z.ZodString;
|
|
1030
1030
|
message: z.ZodString;
|
|
1031
|
-
}
|
|
1031
|
+
} & {
|
|
1032
1032
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
1033
|
-
}
|
|
1033
|
+
}, "strip", z.ZodTypeAny, {
|
|
1034
1034
|
message: string;
|
|
1035
1035
|
created_at: string;
|
|
1036
1036
|
warning_code: "being_deleted";
|
|
@@ -1038,12 +1038,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1038
1038
|
message: string;
|
|
1039
1039
|
created_at: string;
|
|
1040
1040
|
warning_code: "being_deleted";
|
|
1041
|
-
}>, z.ZodObject<
|
|
1041
|
+
}>, z.ZodObject<{
|
|
1042
1042
|
created_at: z.ZodString;
|
|
1043
1043
|
message: z.ZodString;
|
|
1044
|
-
}
|
|
1044
|
+
} & {
|
|
1045
1045
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
1046
|
-
}
|
|
1046
|
+
}, "strip", z.ZodTypeAny, {
|
|
1047
1047
|
message: string;
|
|
1048
1048
|
created_at: string;
|
|
1049
1049
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -1051,12 +1051,12 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1051
1051
|
message: string;
|
|
1052
1052
|
created_at: string;
|
|
1053
1053
|
warning_code: "unknown_issue_with_acs_credential";
|
|
1054
|
-
}>, z.ZodObject<
|
|
1054
|
+
}>, z.ZodObject<{
|
|
1055
1055
|
created_at: z.ZodString;
|
|
1056
1056
|
message: z.ZodString;
|
|
1057
|
-
}
|
|
1057
|
+
} & {
|
|
1058
1058
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
1059
|
-
}
|
|
1059
|
+
}, "strip", z.ZodTypeAny, {
|
|
1060
1060
|
message: string;
|
|
1061
1061
|
created_at: string;
|
|
1062
1062
|
warning_code: "needs_to_be_reissued";
|
|
@@ -1118,11 +1118,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1118
1118
|
key_issuing_request_id?: string | undefined;
|
|
1119
1119
|
door_names?: string[] | undefined;
|
|
1120
1120
|
}>>;
|
|
1121
|
-
}
|
|
1121
|
+
} & {
|
|
1122
1122
|
is_managed: z.ZodLiteral<true>;
|
|
1123
|
-
}
|
|
1123
|
+
}, "acs_credential_id"> & {
|
|
1124
1124
|
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
1125
|
-
acs_entrances: z.ZodArray<z.ZodObject<
|
|
1125
|
+
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
1126
1126
|
acs_system_id: z.ZodString;
|
|
1127
1127
|
acs_entrance_id: z.ZodString;
|
|
1128
1128
|
created_at: z.ZodString;
|
|
@@ -1249,11 +1249,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1249
1249
|
ext_door_id: string;
|
|
1250
1250
|
door_description?: string | undefined;
|
|
1251
1251
|
}>>;
|
|
1252
|
-
}
|
|
1252
|
+
} & {
|
|
1253
1253
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
1254
1254
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
1255
1255
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
1256
|
-
}
|
|
1256
|
+
}, "strip", z.ZodTypeAny, {
|
|
1257
1257
|
display_name: string;
|
|
1258
1258
|
created_at: string;
|
|
1259
1259
|
errors: {
|
|
@@ -1358,7 +1358,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1358
1358
|
door_description?: string | undefined;
|
|
1359
1359
|
} | undefined;
|
|
1360
1360
|
}>, "many">;
|
|
1361
|
-
}
|
|
1361
|
+
}, "strip", z.ZodTypeAny, {
|
|
1362
1362
|
display_name: string;
|
|
1363
1363
|
workspace_id: string;
|
|
1364
1364
|
created_at: string;
|
|
@@ -5,17 +5,23 @@ export declare const space: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
display_name: z.ZodString;
|
|
7
7
|
created_at: z.ZodString;
|
|
8
|
+
device_count: z.ZodNumber;
|
|
9
|
+
acs_entrance_count: z.ZodNumber;
|
|
8
10
|
}, "strip", z.ZodTypeAny, {
|
|
9
11
|
name: string;
|
|
10
12
|
display_name: string;
|
|
11
13
|
workspace_id: string;
|
|
12
14
|
created_at: string;
|
|
13
15
|
space_id: string;
|
|
16
|
+
device_count: number;
|
|
17
|
+
acs_entrance_count: number;
|
|
14
18
|
}, {
|
|
15
19
|
name: string;
|
|
16
20
|
display_name: string;
|
|
17
21
|
workspace_id: string;
|
|
18
22
|
created_at: string;
|
|
19
23
|
space_id: string;
|
|
24
|
+
device_count: number;
|
|
25
|
+
acs_entrance_count: number;
|
|
20
26
|
}>;
|
|
21
27
|
export type Space = z.infer<typeof space>;
|
|
@@ -11,6 +11,8 @@ export const space = z.object({
|
|
|
11
11
|
.string()
|
|
12
12
|
.datetime()
|
|
13
13
|
.describe('Date and time at which the space was created.'),
|
|
14
|
+
device_count: z.number().describe('Number of devices in the space.'),
|
|
15
|
+
acs_entrance_count: z.number().describe('Number of entrances in the space.'),
|
|
14
16
|
}).describe(`
|
|
15
17
|
---
|
|
16
18
|
draft: Early access.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const user_identity_error_map: z.ZodObject<{
|
|
3
|
-
issue_with_acs_user: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<
|
|
3
|
+
issue_with_acs_user: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4
4
|
created_at: z.ZodString;
|
|
5
5
|
message: z.ZodString;
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
7
|
error_code: z.ZodLiteral<"issue_with_acs_user">;
|
|
8
8
|
acs_user_id: z.ZodString;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
message: string;
|
|
12
12
|
created_at: string;
|
|
13
13
|
error_code: "issue_with_acs_user";
|
|
@@ -39,12 +39,12 @@ export declare const user_identity_error_map: z.ZodObject<{
|
|
|
39
39
|
}>;
|
|
40
40
|
export type UserIdentityErrorMap = z.infer<typeof user_identity_error_map>;
|
|
41
41
|
export declare const user_identity_warning_map: z.ZodObject<{
|
|
42
|
-
user_identity_being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
42
|
+
user_identity_being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
43
43
|
created_at: z.ZodString;
|
|
44
44
|
message: z.ZodString;
|
|
45
|
-
}
|
|
45
|
+
} & {
|
|
46
46
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
47
|
-
}
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
message: string;
|
|
49
49
|
created_at: string;
|
|
50
50
|
warning_code: "being_deleted";
|
|
@@ -53,12 +53,12 @@ export declare const user_identity_warning_map: z.ZodObject<{
|
|
|
53
53
|
created_at: string;
|
|
54
54
|
warning_code: "being_deleted";
|
|
55
55
|
}>>>;
|
|
56
|
-
acs_user_profile_does_not_match_user_identity: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
56
|
+
acs_user_profile_does_not_match_user_identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
57
57
|
created_at: z.ZodString;
|
|
58
58
|
message: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
} & {
|
|
60
60
|
warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
|
|
61
|
-
}
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
message: string;
|
|
63
63
|
created_at: string;
|
|
64
64
|
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
@@ -100,14 +100,14 @@ export declare const user_identity: z.ZodObject<{
|
|
|
100
100
|
full_name: z.ZodNullable<z.ZodString>;
|
|
101
101
|
created_at: z.ZodString;
|
|
102
102
|
workspace_id: z.ZodString;
|
|
103
|
-
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<
|
|
103
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
104
104
|
created_at: z.ZodString;
|
|
105
105
|
message: z.ZodString;
|
|
106
|
-
}
|
|
106
|
+
} & {
|
|
107
107
|
error_code: z.ZodLiteral<"issue_with_acs_user">;
|
|
108
108
|
acs_user_id: z.ZodString;
|
|
109
109
|
acs_system_id: z.ZodString;
|
|
110
|
-
}
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
message: string;
|
|
112
112
|
created_at: string;
|
|
113
113
|
error_code: "issue_with_acs_user";
|
|
@@ -120,12 +120,12 @@ export declare const user_identity: z.ZodObject<{
|
|
|
120
120
|
acs_system_id: string;
|
|
121
121
|
acs_user_id: string;
|
|
122
122
|
}>]>, "many">;
|
|
123
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
123
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
124
124
|
created_at: z.ZodString;
|
|
125
125
|
message: z.ZodString;
|
|
126
|
-
}
|
|
126
|
+
} & {
|
|
127
127
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
128
|
-
}
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
129
|
message: string;
|
|
130
130
|
created_at: string;
|
|
131
131
|
warning_code: "being_deleted";
|
|
@@ -133,12 +133,12 @@ export declare const user_identity: z.ZodObject<{
|
|
|
133
133
|
message: string;
|
|
134
134
|
created_at: string;
|
|
135
135
|
warning_code: "being_deleted";
|
|
136
|
-
}>, z.ZodObject<
|
|
136
|
+
}>, z.ZodObject<{
|
|
137
137
|
created_at: z.ZodString;
|
|
138
138
|
message: z.ZodString;
|
|
139
|
-
}
|
|
139
|
+
} & {
|
|
140
140
|
warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
|
|
141
|
-
}
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
message: string;
|
|
143
143
|
created_at: string;
|
|
144
144
|
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
@@ -11045,11 +11045,21 @@ declare const _default: {
|
|
|
11045
11045
|
space: {
|
|
11046
11046
|
description: string;
|
|
11047
11047
|
properties: {
|
|
11048
|
+
acs_entrance_count: {
|
|
11049
|
+
description: string;
|
|
11050
|
+
format: string;
|
|
11051
|
+
type: string;
|
|
11052
|
+
};
|
|
11048
11053
|
created_at: {
|
|
11049
11054
|
description: string;
|
|
11050
11055
|
format: string;
|
|
11051
11056
|
type: string;
|
|
11052
11057
|
};
|
|
11058
|
+
device_count: {
|
|
11059
|
+
description: string;
|
|
11060
|
+
format: string;
|
|
11061
|
+
type: string;
|
|
11062
|
+
};
|
|
11053
11063
|
display_name: {
|
|
11054
11064
|
description: string;
|
|
11055
11065
|
type: string;
|
|
@@ -17504,6 +17514,21 @@ declare const _default: {
|
|
|
17504
17514
|
format: string;
|
|
17505
17515
|
type: string;
|
|
17506
17516
|
};
|
|
17517
|
+
acs_entrance_id: {
|
|
17518
|
+
description: string;
|
|
17519
|
+
format: string;
|
|
17520
|
+
type: string;
|
|
17521
|
+
};
|
|
17522
|
+
device_id: {
|
|
17523
|
+
description: string;
|
|
17524
|
+
format: string;
|
|
17525
|
+
type: string;
|
|
17526
|
+
};
|
|
17527
|
+
space_id: {
|
|
17528
|
+
description: string;
|
|
17529
|
+
format: string;
|
|
17530
|
+
type: string;
|
|
17531
|
+
};
|
|
17507
17532
|
};
|
|
17508
17533
|
required: string[];
|
|
17509
17534
|
type: string;
|
|
@@ -29479,6 +29504,11 @@ declare const _default: {
|
|
|
29479
29504
|
'application/json': {
|
|
29480
29505
|
schema: {
|
|
29481
29506
|
properties: {
|
|
29507
|
+
access_method_id: {
|
|
29508
|
+
description: string;
|
|
29509
|
+
format: string;
|
|
29510
|
+
type: string;
|
|
29511
|
+
};
|
|
29482
29512
|
connect_webview_id: {
|
|
29483
29513
|
description: string;
|
|
29484
29514
|
format: string;
|
|
@@ -30685,6 +30715,11 @@ declare const _default: {
|
|
|
30685
30715
|
'application/json': {
|
|
30686
30716
|
schema: {
|
|
30687
30717
|
properties: {
|
|
30718
|
+
access_method_id: {
|
|
30719
|
+
description: string;
|
|
30720
|
+
format: string;
|
|
30721
|
+
type: string;
|
|
30722
|
+
};
|
|
30688
30723
|
connect_webview_id: {
|
|
30689
30724
|
description: string;
|
|
30690
30725
|
format: string;
|
|
@@ -32273,6 +32308,11 @@ declare const _default: {
|
|
|
32273
32308
|
'application/json': {
|
|
32274
32309
|
schema: {
|
|
32275
32310
|
properties: {
|
|
32311
|
+
access_method_id: {
|
|
32312
|
+
description: string;
|
|
32313
|
+
format: string;
|
|
32314
|
+
type: string;
|
|
32315
|
+
};
|
|
32276
32316
|
connect_webview_id: {
|
|
32277
32317
|
description: string;
|
|
32278
32318
|
format: string;
|
|
@@ -33425,6 +33465,11 @@ declare const _default: {
|
|
|
33425
33465
|
'application/json': {
|
|
33426
33466
|
schema: {
|
|
33427
33467
|
properties: {
|
|
33468
|
+
access_method_id: {
|
|
33469
|
+
description: string;
|
|
33470
|
+
format: string;
|
|
33471
|
+
type: string;
|
|
33472
|
+
};
|
|
33428
33473
|
connect_webview_id: {
|
|
33429
33474
|
description: string;
|
|
33430
33475
|
format: string;
|
|
@@ -40203,6 +40248,11 @@ declare const _default: {
|
|
|
40203
40248
|
'application/json': {
|
|
40204
40249
|
schema: {
|
|
40205
40250
|
properties: {
|
|
40251
|
+
access_method_id: {
|
|
40252
|
+
description: string;
|
|
40253
|
+
format: string;
|
|
40254
|
+
type: string;
|
|
40255
|
+
};
|
|
40206
40256
|
connect_webview_id: {
|
|
40207
40257
|
description: string;
|
|
40208
40258
|
format: string;
|