@seamapi/types 1.967.0 → 1.969.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 +77 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +167 -0
- package/dist/index.cjs +77 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +119 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +11 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +8 -0
- package/lib/seam/connect/models/acs/metadata/salto.js +9 -0
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.js +60 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +70 -0
- package/src/lib/seam/connect/route-types.ts +126 -0
|
@@ -150,6 +150,20 @@ declare const _acs_users_error_map: z.ZodObject<{
|
|
|
150
150
|
} | null | undefined;
|
|
151
151
|
}>;
|
|
152
152
|
export type AcsUsersErrorMap = z.infer<typeof _acs_users_error_map>;
|
|
153
|
+
export declare const acs_user_inactive: z.ZodObject<{
|
|
154
|
+
created_at: z.ZodString;
|
|
155
|
+
message: z.ZodString;
|
|
156
|
+
} & {
|
|
157
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
message: string;
|
|
160
|
+
created_at: string;
|
|
161
|
+
warning_code: "acs_user_inactive";
|
|
162
|
+
}, {
|
|
163
|
+
message: string;
|
|
164
|
+
created_at: string;
|
|
165
|
+
warning_code: "acs_user_inactive";
|
|
166
|
+
}>;
|
|
153
167
|
export declare const unknown_issue_with_acs_user: z.ZodObject<{
|
|
154
168
|
created_at: z.ZodString;
|
|
155
169
|
message: z.ZodString;
|
|
@@ -207,6 +221,20 @@ declare const _acs_users_warning_map: z.ZodObject<{
|
|
|
207
221
|
created_at: string;
|
|
208
222
|
warning_code: "salto_ks_user_not_subscribed";
|
|
209
223
|
}>>>;
|
|
224
|
+
acs_user_inactive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
225
|
+
created_at: z.ZodString;
|
|
226
|
+
message: z.ZodString;
|
|
227
|
+
} & {
|
|
228
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
message: string;
|
|
231
|
+
created_at: string;
|
|
232
|
+
warning_code: "acs_user_inactive";
|
|
233
|
+
}, {
|
|
234
|
+
message: string;
|
|
235
|
+
created_at: string;
|
|
236
|
+
warning_code: "acs_user_inactive";
|
|
237
|
+
}>>>;
|
|
210
238
|
unknown_issue_with_acs_user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
211
239
|
created_at: z.ZodString;
|
|
212
240
|
message: z.ZodString;
|
|
@@ -246,6 +274,11 @@ declare const _acs_users_warning_map: z.ZodObject<{
|
|
|
246
274
|
created_at: string;
|
|
247
275
|
warning_code: "salto_ks_user_not_subscribed";
|
|
248
276
|
} | null | undefined;
|
|
277
|
+
acs_user_inactive?: {
|
|
278
|
+
message: string;
|
|
279
|
+
created_at: string;
|
|
280
|
+
warning_code: "acs_user_inactive";
|
|
281
|
+
} | null | undefined;
|
|
249
282
|
unknown_issue_with_acs_user?: {
|
|
250
283
|
message: string;
|
|
251
284
|
created_at: string;
|
|
@@ -267,6 +300,11 @@ declare const _acs_users_warning_map: z.ZodObject<{
|
|
|
267
300
|
created_at: string;
|
|
268
301
|
warning_code: "salto_ks_user_not_subscribed";
|
|
269
302
|
} | null | undefined;
|
|
303
|
+
acs_user_inactive?: {
|
|
304
|
+
message: string;
|
|
305
|
+
created_at: string;
|
|
306
|
+
warning_code: "acs_user_inactive";
|
|
307
|
+
} | null | undefined;
|
|
270
308
|
unknown_issue_with_acs_user?: {
|
|
271
309
|
message: string;
|
|
272
310
|
created_at: string;
|
|
@@ -307,6 +345,19 @@ export declare const acs_users_warnings: z.ZodDiscriminatedUnion<"warning_code",
|
|
|
307
345
|
}>, z.ZodObject<{
|
|
308
346
|
created_at: z.ZodString;
|
|
309
347
|
message: z.ZodString;
|
|
348
|
+
} & {
|
|
349
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
350
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
|
+
message: string;
|
|
352
|
+
created_at: string;
|
|
353
|
+
warning_code: "acs_user_inactive";
|
|
354
|
+
}, {
|
|
355
|
+
message: string;
|
|
356
|
+
created_at: string;
|
|
357
|
+
warning_code: "acs_user_inactive";
|
|
358
|
+
}>, z.ZodObject<{
|
|
359
|
+
created_at: z.ZodString;
|
|
360
|
+
message: z.ZodString;
|
|
310
361
|
} & {
|
|
311
362
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_user">;
|
|
312
363
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -385,6 +436,19 @@ export declare const acs_user: z.ZodObject<{
|
|
|
385
436
|
}>, z.ZodObject<{
|
|
386
437
|
created_at: z.ZodString;
|
|
387
438
|
message: z.ZodString;
|
|
439
|
+
} & {
|
|
440
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
441
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
|
+
message: string;
|
|
443
|
+
created_at: string;
|
|
444
|
+
warning_code: "acs_user_inactive";
|
|
445
|
+
}, {
|
|
446
|
+
message: string;
|
|
447
|
+
created_at: string;
|
|
448
|
+
warning_code: "acs_user_inactive";
|
|
449
|
+
}>, z.ZodObject<{
|
|
450
|
+
created_at: z.ZodString;
|
|
451
|
+
message: z.ZodString;
|
|
388
452
|
} & {
|
|
389
453
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_user">;
|
|
390
454
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -787,6 +851,13 @@ export declare const acs_user: z.ZodObject<{
|
|
|
787
851
|
user_id?: string | undefined;
|
|
788
852
|
audit_openings?: boolean | undefined;
|
|
789
853
|
}>>;
|
|
854
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
856
|
+
}, "strip", z.ZodTypeAny, {
|
|
857
|
+
is_subscribed?: boolean | undefined;
|
|
858
|
+
}, {
|
|
859
|
+
is_subscribed?: boolean | undefined;
|
|
860
|
+
}>>;
|
|
790
861
|
} & {
|
|
791
862
|
full_name: z.ZodOptional<z.ZodString>;
|
|
792
863
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -832,6 +903,10 @@ export declare const acs_user: z.ZodObject<{
|
|
|
832
903
|
message: string;
|
|
833
904
|
created_at: string;
|
|
834
905
|
warning_code: "salto_ks_user_not_subscribed";
|
|
906
|
+
} | {
|
|
907
|
+
message: string;
|
|
908
|
+
created_at: string;
|
|
909
|
+
warning_code: "acs_user_inactive";
|
|
835
910
|
} | {
|
|
836
911
|
message: string;
|
|
837
912
|
created_at: string;
|
|
@@ -845,6 +920,9 @@ export declare const acs_user: z.ZodObject<{
|
|
|
845
920
|
acs_user_id: string;
|
|
846
921
|
acs_system_id: string;
|
|
847
922
|
last_successful_sync_at: string | null;
|
|
923
|
+
salto_ks_metadata?: {
|
|
924
|
+
is_subscribed?: boolean | undefined;
|
|
925
|
+
} | undefined;
|
|
848
926
|
email?: string | undefined;
|
|
849
927
|
pending_mutations?: ({
|
|
850
928
|
message: string;
|
|
@@ -979,6 +1057,10 @@ export declare const acs_user: z.ZodObject<{
|
|
|
979
1057
|
message: string;
|
|
980
1058
|
created_at: string;
|
|
981
1059
|
warning_code: "salto_ks_user_not_subscribed";
|
|
1060
|
+
} | {
|
|
1061
|
+
message: string;
|
|
1062
|
+
created_at: string;
|
|
1063
|
+
warning_code: "acs_user_inactive";
|
|
982
1064
|
} | {
|
|
983
1065
|
message: string;
|
|
984
1066
|
created_at: string;
|
|
@@ -992,6 +1074,9 @@ export declare const acs_user: z.ZodObject<{
|
|
|
992
1074
|
acs_user_id: string;
|
|
993
1075
|
acs_system_id: string;
|
|
994
1076
|
last_successful_sync_at: string | null;
|
|
1077
|
+
salto_ks_metadata?: {
|
|
1078
|
+
is_subscribed?: boolean | undefined;
|
|
1079
|
+
} | undefined;
|
|
995
1080
|
email?: string | undefined;
|
|
996
1081
|
pending_mutations?: ({
|
|
997
1082
|
message: string;
|
|
@@ -1142,6 +1227,19 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1142
1227
|
}>, z.ZodObject<{
|
|
1143
1228
|
created_at: z.ZodString;
|
|
1144
1229
|
message: z.ZodString;
|
|
1230
|
+
} & {
|
|
1231
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
1232
|
+
}, "strip", z.ZodTypeAny, {
|
|
1233
|
+
message: string;
|
|
1234
|
+
created_at: string;
|
|
1235
|
+
warning_code: "acs_user_inactive";
|
|
1236
|
+
}, {
|
|
1237
|
+
message: string;
|
|
1238
|
+
created_at: string;
|
|
1239
|
+
warning_code: "acs_user_inactive";
|
|
1240
|
+
}>, z.ZodObject<{
|
|
1241
|
+
created_at: z.ZodString;
|
|
1242
|
+
message: z.ZodString;
|
|
1145
1243
|
} & {
|
|
1146
1244
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_user">;
|
|
1147
1245
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1544,6 +1642,13 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1544
1642
|
user_id?: string | undefined;
|
|
1545
1643
|
audit_openings?: boolean | undefined;
|
|
1546
1644
|
}>>;
|
|
1645
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
1646
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1647
|
+
}, "strip", z.ZodTypeAny, {
|
|
1648
|
+
is_subscribed?: boolean | undefined;
|
|
1649
|
+
}, {
|
|
1650
|
+
is_subscribed?: boolean | undefined;
|
|
1651
|
+
}>>;
|
|
1547
1652
|
} & {
|
|
1548
1653
|
full_name: z.ZodOptional<z.ZodString>;
|
|
1549
1654
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -1589,6 +1694,10 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1589
1694
|
message: string;
|
|
1590
1695
|
created_at: string;
|
|
1591
1696
|
warning_code: "salto_ks_user_not_subscribed";
|
|
1697
|
+
} | {
|
|
1698
|
+
message: string;
|
|
1699
|
+
created_at: string;
|
|
1700
|
+
warning_code: "acs_user_inactive";
|
|
1592
1701
|
} | {
|
|
1593
1702
|
message: string;
|
|
1594
1703
|
created_at: string;
|
|
@@ -1602,6 +1711,9 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1602
1711
|
acs_user_id: string;
|
|
1603
1712
|
acs_system_id: string;
|
|
1604
1713
|
last_successful_sync_at: string | null;
|
|
1714
|
+
salto_ks_metadata?: {
|
|
1715
|
+
is_subscribed?: boolean | undefined;
|
|
1716
|
+
} | undefined;
|
|
1605
1717
|
email?: string | undefined;
|
|
1606
1718
|
pending_mutations?: ({
|
|
1607
1719
|
message: string;
|
|
@@ -1736,6 +1848,10 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1736
1848
|
message: string;
|
|
1737
1849
|
created_at: string;
|
|
1738
1850
|
warning_code: "salto_ks_user_not_subscribed";
|
|
1851
|
+
} | {
|
|
1852
|
+
message: string;
|
|
1853
|
+
created_at: string;
|
|
1854
|
+
warning_code: "acs_user_inactive";
|
|
1739
1855
|
} | {
|
|
1740
1856
|
message: string;
|
|
1741
1857
|
created_at: string;
|
|
@@ -1749,6 +1865,9 @@ export declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
1749
1865
|
acs_user_id: string;
|
|
1750
1866
|
acs_system_id: string;
|
|
1751
1867
|
last_successful_sync_at: string | null;
|
|
1868
|
+
salto_ks_metadata?: {
|
|
1869
|
+
is_subscribed?: boolean | undefined;
|
|
1870
|
+
} | undefined;
|
|
1752
1871
|
email?: string | undefined;
|
|
1753
1872
|
pending_mutations?: ({
|
|
1754
1873
|
message: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { loose_phone_number } from '../../phone-number.js';
|
|
3
3
|
import { schedule } from '../../schedule.js';
|
|
4
|
+
import { acs_user_salto_ks_metadata } from '../metadata/salto.js';
|
|
4
5
|
import { acs_user_salto_space_metadata } from '../metadata/salto-space.js';
|
|
5
6
|
import { acs_user_pending_mutations } from './pending-mutations.js';
|
|
6
7
|
export const acs_user_external_type = z.enum([
|
|
@@ -116,6 +117,11 @@ const acs_users_salto_ks_user_not_subscribed = common_acs_user_warning
|
|
|
116
117
|
warning_code: z.literal('salto_ks_user_not_subscribed'),
|
|
117
118
|
})
|
|
118
119
|
.describe('Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) is not subscribed on Salto KS, so they cannot unlock doors or perform any actions. This occurs when the their access schedule hasn’t started yet, if their access schedule has ended, if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.');
|
|
120
|
+
export const acs_user_inactive = common_acs_user_warning
|
|
121
|
+
.extend({
|
|
122
|
+
warning_code: z.literal('acs_user_inactive'),
|
|
123
|
+
})
|
|
124
|
+
.describe('Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access—for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.');
|
|
119
125
|
export const unknown_issue_with_acs_user = common_acs_user_warning
|
|
120
126
|
.extend({
|
|
121
127
|
warning_code: z.literal('unknown_issue_with_acs_user'),
|
|
@@ -131,6 +137,7 @@ const _acs_users_warning_map = z.object({
|
|
|
131
137
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
|
|
132
138
|
.optional()
|
|
133
139
|
.nullable(),
|
|
140
|
+
acs_user_inactive: acs_user_inactive.optional().nullable(),
|
|
134
141
|
unknown_issue_with_acs_user: unknown_issue_with_acs_user
|
|
135
142
|
.optional()
|
|
136
143
|
.nullable(),
|
|
@@ -140,6 +147,7 @@ export const acs_users_warnings = z
|
|
|
140
147
|
.discriminatedUnion('warning_code', [
|
|
141
148
|
acs_users_being_deleted,
|
|
142
149
|
acs_users_salto_ks_user_not_subscribed,
|
|
150
|
+
acs_user_inactive,
|
|
143
151
|
unknown_issue_with_acs_user,
|
|
144
152
|
latch_resident_user,
|
|
145
153
|
])
|
|
@@ -246,6 +254,9 @@ const common_acs_user = z
|
|
|
246
254
|
salto_space_metadata: acs_user_salto_space_metadata
|
|
247
255
|
.optional()
|
|
248
256
|
.describe('Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).'),
|
|
257
|
+
salto_ks_metadata: acs_user_salto_ks_metadata
|
|
258
|
+
.optional()
|
|
259
|
+
.describe('Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).'),
|
|
249
260
|
})
|
|
250
261
|
.merge(user_fields);
|
|
251
262
|
export const acs_user = common_acs_user.merge(z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MA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K,CAAC;CAC7B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;;CAMV,CAAC,CAAA"}
|
|
@@ -28,3 +28,11 @@ export declare const acs_entrance_salto_ks_metadata: z.ZodObject<{
|
|
|
28
28
|
intrusion_alarm?: boolean | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
export type AcsEntranceSaltoKSMetadata = z.infer<typeof acs_entrance_salto_ks_metadata>;
|
|
31
|
+
export declare const acs_user_salto_ks_metadata: z.ZodObject<{
|
|
32
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
is_subscribed?: boolean | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
is_subscribed?: boolean | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
export type AcsUserSaltoKSMetadata = z.infer<typeof acs_user_salto_ks_metadata>;
|
|
@@ -36,4 +36,13 @@ export const acs_entrance_salto_ks_metadata = z
|
|
|
36
36
|
})
|
|
37
37
|
.partial()
|
|
38
38
|
.describe('Salto KS-specific metadata associated with the entrance.');
|
|
39
|
+
export const acs_user_salto_ks_metadata = z
|
|
40
|
+
.object({
|
|
41
|
+
is_subscribed: z
|
|
42
|
+
.boolean()
|
|
43
|
+
.optional()
|
|
44
|
+
.describe("Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked."),
|
|
45
|
+
})
|
|
46
|
+
.partial()
|
|
47
|
+
.describe('Salto KS-specific metadata associated with the access system user.');
|
|
39
48
|
//# sourceMappingURL=salto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"salto.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE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AE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,MAAM,EAAE,CAAC;SACN,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;IAClE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0CAA0C,CAAC;IACvD,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,0CAA0C,CAAC;IACvD,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;CACvE,CAAC;KACD,OAAO,EAAE;KACT,QAAQ,CAAC,0DAA0D,CAAC,CAAA;AAMvE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;SACb,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8bAA8b,CAC/b;CACJ,CAAC;KACD,OAAO,EAAE;KACT,QAAQ,CACP,oEAAoE,CACrE,CAAA"}
|
|
@@ -4914,6 +4914,16 @@ const openapi = {
|
|
|
4914
4914
|
description: 'Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|
|
4915
4915
|
type: 'string',
|
|
4916
4916
|
},
|
|
4917
|
+
salto_ks_metadata: {
|
|
4918
|
+
description: 'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
4919
|
+
properties: {
|
|
4920
|
+
is_subscribed: {
|
|
4921
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
4922
|
+
type: 'boolean',
|
|
4923
|
+
},
|
|
4924
|
+
},
|
|
4925
|
+
type: 'object',
|
|
4926
|
+
},
|
|
4917
4927
|
salto_space_metadata: {
|
|
4918
4928
|
description: 'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
4919
4929
|
properties: {
|
|
@@ -4990,6 +5000,26 @@ const openapi = {
|
|
|
4990
5000
|
required: ['created_at', 'message', 'warning_code'],
|
|
4991
5001
|
type: 'object',
|
|
4992
5002
|
},
|
|
5003
|
+
{
|
|
5004
|
+
description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access—for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.',
|
|
5005
|
+
properties: {
|
|
5006
|
+
created_at: {
|
|
5007
|
+
description: 'Date and time at which Seam created the warning.',
|
|
5008
|
+
format: 'date-time',
|
|
5009
|
+
type: 'string',
|
|
5010
|
+
},
|
|
5011
|
+
message: {
|
|
5012
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
5013
|
+
type: 'string',
|
|
5014
|
+
},
|
|
5015
|
+
warning_code: {
|
|
5016
|
+
enum: ['acs_user_inactive'],
|
|
5017
|
+
type: 'string',
|
|
5018
|
+
},
|
|
5019
|
+
},
|
|
5020
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
5021
|
+
type: 'object',
|
|
5022
|
+
},
|
|
4993
5023
|
{
|
|
4994
5024
|
description: 'An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.',
|
|
4995
5025
|
properties: {
|
|
@@ -28934,6 +28964,16 @@ const openapi = {
|
|
|
28934
28964
|
description: 'Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|
|
28935
28965
|
type: 'string',
|
|
28936
28966
|
},
|
|
28967
|
+
salto_ks_metadata: {
|
|
28968
|
+
description: 'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
28969
|
+
properties: {
|
|
28970
|
+
is_subscribed: {
|
|
28971
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
28972
|
+
type: 'boolean',
|
|
28973
|
+
},
|
|
28974
|
+
},
|
|
28975
|
+
type: 'object',
|
|
28976
|
+
},
|
|
28937
28977
|
salto_space_metadata: {
|
|
28938
28978
|
description: 'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
28939
28979
|
properties: {
|
|
@@ -29010,6 +29050,26 @@ const openapi = {
|
|
|
29010
29050
|
required: ['created_at', 'message', 'warning_code'],
|
|
29011
29051
|
type: 'object',
|
|
29012
29052
|
},
|
|
29053
|
+
{
|
|
29054
|
+
description: 'Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access—for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.',
|
|
29055
|
+
properties: {
|
|
29056
|
+
created_at: {
|
|
29057
|
+
description: 'Date and time at which Seam created the warning.',
|
|
29058
|
+
format: 'date-time',
|
|
29059
|
+
type: 'string',
|
|
29060
|
+
},
|
|
29061
|
+
message: {
|
|
29062
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
29063
|
+
type: 'string',
|
|
29064
|
+
},
|
|
29065
|
+
warning_code: {
|
|
29066
|
+
enum: ['acs_user_inactive'],
|
|
29067
|
+
type: 'string',
|
|
29068
|
+
},
|
|
29069
|
+
},
|
|
29070
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
29071
|
+
type: 'object',
|
|
29072
|
+
},
|
|
29013
29073
|
{
|
|
29014
29074
|
description: 'An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.',
|
|
29015
29075
|
properties: {
|