@seamapi/types 1.441.2 → 1.443.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 +127 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1966 -1914
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +127 -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 +81 -0
- package/lib/seam/connect/openapi.js +123 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -1
- 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 +137 -0
- package/src/lib/seam/connect/route-types.ts +36 -1
- 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;
|
|
@@ -21642,6 +21652,7 @@ declare const _default: {
|
|
|
21642
21652
|
nullable?: never;
|
|
21643
21653
|
'x-deprecated'?: never;
|
|
21644
21654
|
items?: never;
|
|
21655
|
+
minLength?: never;
|
|
21645
21656
|
};
|
|
21646
21657
|
} | {
|
|
21647
21658
|
in: string;
|
|
@@ -21654,6 +21665,7 @@ declare const _default: {
|
|
|
21654
21665
|
'x-deprecated': string;
|
|
21655
21666
|
description?: never;
|
|
21656
21667
|
items?: never;
|
|
21668
|
+
minLength?: never;
|
|
21657
21669
|
};
|
|
21658
21670
|
} | {
|
|
21659
21671
|
in: string;
|
|
@@ -21669,6 +21681,20 @@ declare const _default: {
|
|
|
21669
21681
|
deprecated?: never;
|
|
21670
21682
|
nullable?: never;
|
|
21671
21683
|
'x-deprecated'?: never;
|
|
21684
|
+
minLength?: never;
|
|
21685
|
+
};
|
|
21686
|
+
} | {
|
|
21687
|
+
in: string;
|
|
21688
|
+
name: string;
|
|
21689
|
+
schema: {
|
|
21690
|
+
description: string;
|
|
21691
|
+
minLength: number;
|
|
21692
|
+
type: string;
|
|
21693
|
+
format?: never;
|
|
21694
|
+
deprecated?: never;
|
|
21695
|
+
nullable?: never;
|
|
21696
|
+
'x-deprecated'?: never;
|
|
21697
|
+
items?: never;
|
|
21672
21698
|
};
|
|
21673
21699
|
})[];
|
|
21674
21700
|
responses: {
|
|
@@ -21778,6 +21804,11 @@ declare const _default: {
|
|
|
21778
21804
|
type: string;
|
|
21779
21805
|
'x-deprecated': string;
|
|
21780
21806
|
};
|
|
21807
|
+
search: {
|
|
21808
|
+
description: string;
|
|
21809
|
+
minLength: number;
|
|
21810
|
+
type: string;
|
|
21811
|
+
};
|
|
21781
21812
|
space_id: {
|
|
21782
21813
|
description: string;
|
|
21783
21814
|
format: string;
|
|
@@ -29458,6 +29489,11 @@ declare const _default: {
|
|
|
29458
29489
|
'application/json': {
|
|
29459
29490
|
schema: {
|
|
29460
29491
|
properties: {
|
|
29492
|
+
access_method_id: {
|
|
29493
|
+
description: string;
|
|
29494
|
+
format: string;
|
|
29495
|
+
type: string;
|
|
29496
|
+
};
|
|
29461
29497
|
connect_webview_id: {
|
|
29462
29498
|
description: string;
|
|
29463
29499
|
format: string;
|
|
@@ -30664,6 +30700,11 @@ declare const _default: {
|
|
|
30664
30700
|
'application/json': {
|
|
30665
30701
|
schema: {
|
|
30666
30702
|
properties: {
|
|
30703
|
+
access_method_id: {
|
|
30704
|
+
description: string;
|
|
30705
|
+
format: string;
|
|
30706
|
+
type: string;
|
|
30707
|
+
};
|
|
30667
30708
|
connect_webview_id: {
|
|
30668
30709
|
description: string;
|
|
30669
30710
|
format: string;
|
|
@@ -32252,6 +32293,11 @@ declare const _default: {
|
|
|
32252
32293
|
'application/json': {
|
|
32253
32294
|
schema: {
|
|
32254
32295
|
properties: {
|
|
32296
|
+
access_method_id: {
|
|
32297
|
+
description: string;
|
|
32298
|
+
format: string;
|
|
32299
|
+
type: string;
|
|
32300
|
+
};
|
|
32255
32301
|
connect_webview_id: {
|
|
32256
32302
|
description: string;
|
|
32257
32303
|
format: string;
|
|
@@ -33404,6 +33450,11 @@ declare const _default: {
|
|
|
33404
33450
|
'application/json': {
|
|
33405
33451
|
schema: {
|
|
33406
33452
|
properties: {
|
|
33453
|
+
access_method_id: {
|
|
33454
|
+
description: string;
|
|
33455
|
+
format: string;
|
|
33456
|
+
type: string;
|
|
33457
|
+
};
|
|
33407
33458
|
connect_webview_id: {
|
|
33408
33459
|
description: string;
|
|
33409
33460
|
format: string;
|
|
@@ -38028,6 +38079,15 @@ declare const _default: {
|
|
|
38028
38079
|
get: {
|
|
38029
38080
|
description: string;
|
|
38030
38081
|
operationId: string;
|
|
38082
|
+
parameters: {
|
|
38083
|
+
in: string;
|
|
38084
|
+
name: string;
|
|
38085
|
+
schema: {
|
|
38086
|
+
description: string;
|
|
38087
|
+
minLength: number;
|
|
38088
|
+
type: string;
|
|
38089
|
+
};
|
|
38090
|
+
}[];
|
|
38031
38091
|
responses: {
|
|
38032
38092
|
200: {
|
|
38033
38093
|
content: {
|
|
@@ -38083,6 +38143,22 @@ declare const _default: {
|
|
|
38083
38143
|
post: {
|
|
38084
38144
|
description: string;
|
|
38085
38145
|
operationId: string;
|
|
38146
|
+
requestBody: {
|
|
38147
|
+
content: {
|
|
38148
|
+
'application/json': {
|
|
38149
|
+
schema: {
|
|
38150
|
+
properties: {
|
|
38151
|
+
search: {
|
|
38152
|
+
description: string;
|
|
38153
|
+
minLength: number;
|
|
38154
|
+
type: string;
|
|
38155
|
+
};
|
|
38156
|
+
};
|
|
38157
|
+
type: string;
|
|
38158
|
+
};
|
|
38159
|
+
};
|
|
38160
|
+
};
|
|
38161
|
+
};
|
|
38086
38162
|
responses: {
|
|
38087
38163
|
200: {
|
|
38088
38164
|
content: {
|
|
@@ -40157,6 +40233,11 @@ declare const _default: {
|
|
|
40157
40233
|
'application/json': {
|
|
40158
40234
|
schema: {
|
|
40159
40235
|
properties: {
|
|
40236
|
+
access_method_id: {
|
|
40237
|
+
description: string;
|
|
40238
|
+
format: string;
|
|
40239
|
+
type: string;
|
|
40240
|
+
};
|
|
40160
40241
|
connect_webview_id: {
|
|
40161
40242
|
description: string;
|
|
40162
40243
|
format: string;
|