@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
|
@@ -23296,6 +23296,12 @@ export type Routes = {
|
|
|
23296
23296
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23297
23297
|
message: string;
|
|
23298
23298
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
23299
|
+
} | {
|
|
23300
|
+
/** Date and time at which Seam created the warning. */
|
|
23301
|
+
created_at: string;
|
|
23302
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23303
|
+
message: string;
|
|
23304
|
+
warning_code: 'acs_user_inactive';
|
|
23299
23305
|
} | {
|
|
23300
23306
|
/** Date and time at which Seam created the warning. */
|
|
23301
23307
|
created_at: string;
|
|
@@ -23491,6 +23497,11 @@ export type Routes = {
|
|
|
23491
23497
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
23492
23498
|
audit_openings?: (boolean | undefined) | undefined;
|
|
23493
23499
|
} | undefined;
|
|
23500
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
23501
|
+
salto_ks_metadata?: {
|
|
23502
|
+
/** 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. */
|
|
23503
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
23504
|
+
} | undefined;
|
|
23494
23505
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
23495
23506
|
full_name?: string | undefined;
|
|
23496
23507
|
/**
|
|
@@ -33890,6 +33901,12 @@ export type Routes = {
|
|
|
33890
33901
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
33891
33902
|
message: string;
|
|
33892
33903
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
33904
|
+
} | {
|
|
33905
|
+
/** Date and time at which Seam created the warning. */
|
|
33906
|
+
created_at: string;
|
|
33907
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
33908
|
+
message: string;
|
|
33909
|
+
warning_code: 'acs_user_inactive';
|
|
33893
33910
|
} | {
|
|
33894
33911
|
/** Date and time at which Seam created the warning. */
|
|
33895
33912
|
created_at: string;
|
|
@@ -34085,6 +34102,11 @@ export type Routes = {
|
|
|
34085
34102
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34086
34103
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34087
34104
|
} | undefined;
|
|
34105
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34106
|
+
salto_ks_metadata?: {
|
|
34107
|
+
/** 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. */
|
|
34108
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34109
|
+
} | undefined;
|
|
34088
34110
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34089
34111
|
full_name?: string | undefined;
|
|
34090
34112
|
/**
|
|
@@ -34184,6 +34206,12 @@ export type Routes = {
|
|
|
34184
34206
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34185
34207
|
message: string;
|
|
34186
34208
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
34209
|
+
} | {
|
|
34210
|
+
/** Date and time at which Seam created the warning. */
|
|
34211
|
+
created_at: string;
|
|
34212
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34213
|
+
message: string;
|
|
34214
|
+
warning_code: 'acs_user_inactive';
|
|
34187
34215
|
} | {
|
|
34188
34216
|
/** Date and time at which Seam created the warning. */
|
|
34189
34217
|
created_at: string;
|
|
@@ -34379,6 +34407,11 @@ export type Routes = {
|
|
|
34379
34407
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34380
34408
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34381
34409
|
} | undefined;
|
|
34410
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34411
|
+
salto_ks_metadata?: {
|
|
34412
|
+
/** 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. */
|
|
34413
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34414
|
+
} | undefined;
|
|
34382
34415
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34383
34416
|
full_name?: string | undefined;
|
|
34384
34417
|
/**
|
|
@@ -34466,6 +34499,12 @@ export type Routes = {
|
|
|
34466
34499
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34467
34500
|
message: string;
|
|
34468
34501
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
34502
|
+
} | {
|
|
34503
|
+
/** Date and time at which Seam created the warning. */
|
|
34504
|
+
created_at: string;
|
|
34505
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34506
|
+
message: string;
|
|
34507
|
+
warning_code: 'acs_user_inactive';
|
|
34469
34508
|
} | {
|
|
34470
34509
|
/** Date and time at which Seam created the warning. */
|
|
34471
34510
|
created_at: string;
|
|
@@ -34661,6 +34700,11 @@ export type Routes = {
|
|
|
34661
34700
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34662
34701
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34663
34702
|
} | undefined;
|
|
34703
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34704
|
+
salto_ks_metadata?: {
|
|
34705
|
+
/** 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. */
|
|
34706
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34707
|
+
} | undefined;
|
|
34664
34708
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34665
34709
|
full_name?: string | undefined;
|
|
34666
34710
|
/**
|
|
@@ -35002,6 +35046,12 @@ export type Routes = {
|
|
|
35002
35046
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35003
35047
|
message: string;
|
|
35004
35048
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
35049
|
+
} | {
|
|
35050
|
+
/** Date and time at which Seam created the warning. */
|
|
35051
|
+
created_at: string;
|
|
35052
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35053
|
+
message: string;
|
|
35054
|
+
warning_code: 'acs_user_inactive';
|
|
35005
35055
|
} | {
|
|
35006
35056
|
/** Date and time at which Seam created the warning. */
|
|
35007
35057
|
created_at: string;
|
|
@@ -35197,6 +35247,11 @@ export type Routes = {
|
|
|
35197
35247
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
35198
35248
|
audit_openings?: (boolean | undefined) | undefined;
|
|
35199
35249
|
} | undefined;
|
|
35250
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35251
|
+
salto_ks_metadata?: {
|
|
35252
|
+
/** 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. */
|
|
35253
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
35254
|
+
} | undefined;
|
|
35200
35255
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35201
35256
|
full_name?: string | undefined;
|
|
35202
35257
|
/**
|
|
@@ -35279,6 +35334,12 @@ export type Routes = {
|
|
|
35279
35334
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35280
35335
|
message: string;
|
|
35281
35336
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
35337
|
+
} | {
|
|
35338
|
+
/** Date and time at which Seam created the warning. */
|
|
35339
|
+
created_at: string;
|
|
35340
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35341
|
+
message: string;
|
|
35342
|
+
warning_code: 'acs_user_inactive';
|
|
35282
35343
|
} | {
|
|
35283
35344
|
/** Date and time at which Seam created the warning. */
|
|
35284
35345
|
created_at: string;
|
|
@@ -35474,6 +35535,11 @@ export type Routes = {
|
|
|
35474
35535
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
35475
35536
|
audit_openings?: (boolean | undefined) | undefined;
|
|
35476
35537
|
} | undefined;
|
|
35538
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35539
|
+
salto_ks_metadata?: {
|
|
35540
|
+
/** 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. */
|
|
35541
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
35542
|
+
} | undefined;
|
|
35477
35543
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35478
35544
|
full_name?: string | undefined;
|
|
35479
35545
|
/**
|
|
@@ -110984,6 +111050,12 @@ export type Routes = {
|
|
|
110984
111050
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
110985
111051
|
message: string;
|
|
110986
111052
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
111053
|
+
} | {
|
|
111054
|
+
/** Date and time at which Seam created the warning. */
|
|
111055
|
+
created_at: string;
|
|
111056
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
111057
|
+
message: string;
|
|
111058
|
+
warning_code: 'acs_user_inactive';
|
|
110987
111059
|
} | {
|
|
110988
111060
|
/** Date and time at which Seam created the warning. */
|
|
110989
111061
|
created_at: string;
|
|
@@ -111179,6 +111251,11 @@ export type Routes = {
|
|
|
111179
111251
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
111180
111252
|
audit_openings?: (boolean | undefined) | undefined;
|
|
111181
111253
|
} | undefined;
|
|
111254
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
111255
|
+
salto_ks_metadata?: {
|
|
111256
|
+
/** 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. */
|
|
111257
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
111258
|
+
} | undefined;
|
|
111182
111259
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
111183
111260
|
full_name?: string | undefined;
|
|
111184
111261
|
/**
|
|
@@ -113657,6 +113734,12 @@ export type Routes = {
|
|
|
113657
113734
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
113658
113735
|
message: string;
|
|
113659
113736
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
113737
|
+
} | {
|
|
113738
|
+
/** Date and time at which Seam created the warning. */
|
|
113739
|
+
created_at: string;
|
|
113740
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
113741
|
+
message: string;
|
|
113742
|
+
warning_code: 'acs_user_inactive';
|
|
113660
113743
|
} | {
|
|
113661
113744
|
/** Date and time at which Seam created the warning. */
|
|
113662
113745
|
created_at: string;
|
|
@@ -113852,6 +113935,11 @@ export type Routes = {
|
|
|
113852
113935
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
113853
113936
|
audit_openings?: (boolean | undefined) | undefined;
|
|
113854
113937
|
} | undefined;
|
|
113938
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
113939
|
+
salto_ks_metadata?: {
|
|
113940
|
+
/** 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. */
|
|
113941
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
113942
|
+
} | undefined;
|
|
113855
113943
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
113856
113944
|
full_name?: string | undefined;
|
|
113857
113945
|
/**
|
|
@@ -115814,6 +115902,12 @@ export type Routes = {
|
|
|
115814
115902
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115815
115903
|
message: string;
|
|
115816
115904
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
115905
|
+
} | {
|
|
115906
|
+
/** Date and time at which Seam created the warning. */
|
|
115907
|
+
created_at: string;
|
|
115908
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115909
|
+
message: string;
|
|
115910
|
+
warning_code: 'acs_user_inactive';
|
|
115817
115911
|
} | {
|
|
115818
115912
|
/** Date and time at which Seam created the warning. */
|
|
115819
115913
|
created_at: string;
|
|
@@ -116009,6 +116103,11 @@ export type Routes = {
|
|
|
116009
116103
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
116010
116104
|
audit_openings?: (boolean | undefined) | undefined;
|
|
116011
116105
|
} | undefined;
|
|
116106
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
116107
|
+
salto_ks_metadata?: {
|
|
116108
|
+
/** 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. */
|
|
116109
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
116110
|
+
} | undefined;
|
|
116012
116111
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
116013
116112
|
full_name?: string | undefined;
|
|
116014
116113
|
/**
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { loose_phone_number } from '../../phone-number.js'
|
|
4
4
|
import { schedule } from '../../schedule.js'
|
|
5
|
+
import { acs_user_salto_ks_metadata } from '../metadata/salto.js'
|
|
5
6
|
import { acs_user_salto_space_metadata } from '../metadata/salto-space.js'
|
|
6
7
|
import { acs_user_pending_mutations } from './pending-mutations.js'
|
|
7
8
|
|
|
@@ -148,6 +149,14 @@ const acs_users_salto_ks_user_not_subscribed = common_acs_user_warning
|
|
|
148
149
|
'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.',
|
|
149
150
|
)
|
|
150
151
|
|
|
152
|
+
export const acs_user_inactive = common_acs_user_warning
|
|
153
|
+
.extend({
|
|
154
|
+
warning_code: z.literal('acs_user_inactive'),
|
|
155
|
+
})
|
|
156
|
+
.describe(
|
|
157
|
+
'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.',
|
|
158
|
+
)
|
|
159
|
+
|
|
151
160
|
export const unknown_issue_with_acs_user = common_acs_user_warning
|
|
152
161
|
.extend({
|
|
153
162
|
warning_code: z.literal('unknown_issue_with_acs_user'),
|
|
@@ -169,6 +178,7 @@ const _acs_users_warning_map = z.object({
|
|
|
169
178
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
|
|
170
179
|
.optional()
|
|
171
180
|
.nullable(),
|
|
181
|
+
acs_user_inactive: acs_user_inactive.optional().nullable(),
|
|
172
182
|
unknown_issue_with_acs_user: unknown_issue_with_acs_user
|
|
173
183
|
.optional()
|
|
174
184
|
.nullable(),
|
|
@@ -179,6 +189,7 @@ export const acs_users_warnings = z
|
|
|
179
189
|
.discriminatedUnion('warning_code', [
|
|
180
190
|
acs_users_being_deleted,
|
|
181
191
|
acs_users_salto_ks_user_not_subscribed,
|
|
192
|
+
acs_user_inactive,
|
|
182
193
|
unknown_issue_with_acs_user,
|
|
183
194
|
latch_resident_user,
|
|
184
195
|
])
|
|
@@ -333,6 +344,11 @@ const common_acs_user = z
|
|
|
333
344
|
.describe(
|
|
334
345
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
335
346
|
),
|
|
347
|
+
salto_ks_metadata: acs_user_salto_ks_metadata
|
|
348
|
+
.optional()
|
|
349
|
+
.describe(
|
|
350
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
351
|
+
),
|
|
336
352
|
})
|
|
337
353
|
.merge(user_fields)
|
|
338
354
|
|
|
@@ -41,3 +41,19 @@ export const acs_entrance_salto_ks_metadata = z
|
|
|
41
41
|
export type AcsEntranceSaltoKSMetadata = z.infer<
|
|
42
42
|
typeof acs_entrance_salto_ks_metadata
|
|
43
43
|
>
|
|
44
|
+
|
|
45
|
+
export const acs_user_salto_ks_metadata = z
|
|
46
|
+
.object({
|
|
47
|
+
is_subscribed: z
|
|
48
|
+
.boolean()
|
|
49
|
+
.optional()
|
|
50
|
+
.describe(
|
|
51
|
+
"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.",
|
|
52
|
+
),
|
|
53
|
+
})
|
|
54
|
+
.partial()
|
|
55
|
+
.describe(
|
|
56
|
+
'Salto KS-specific metadata associated with the access system user.',
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
export type AcsUserSaltoKSMetadata = z.infer<typeof acs_user_salto_ks_metadata>
|
|
@@ -5569,6 +5569,18 @@ const openapi: OpenAPISpec = {
|
|
|
5569
5569
|
'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`).',
|
|
5570
5570
|
type: 'string',
|
|
5571
5571
|
},
|
|
5572
|
+
salto_ks_metadata: {
|
|
5573
|
+
description:
|
|
5574
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
5575
|
+
properties: {
|
|
5576
|
+
is_subscribed: {
|
|
5577
|
+
description:
|
|
5578
|
+
"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.",
|
|
5579
|
+
type: 'boolean',
|
|
5580
|
+
},
|
|
5581
|
+
},
|
|
5582
|
+
type: 'object',
|
|
5583
|
+
},
|
|
5572
5584
|
salto_space_metadata: {
|
|
5573
5585
|
description:
|
|
5574
5586
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
@@ -5659,6 +5671,29 @@ const openapi: OpenAPISpec = {
|
|
|
5659
5671
|
required: ['created_at', 'message', 'warning_code'],
|
|
5660
5672
|
type: 'object',
|
|
5661
5673
|
},
|
|
5674
|
+
{
|
|
5675
|
+
description:
|
|
5676
|
+
'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.',
|
|
5677
|
+
properties: {
|
|
5678
|
+
created_at: {
|
|
5679
|
+
description:
|
|
5680
|
+
'Date and time at which Seam created the warning.',
|
|
5681
|
+
format: 'date-time',
|
|
5682
|
+
type: 'string',
|
|
5683
|
+
},
|
|
5684
|
+
message: {
|
|
5685
|
+
description:
|
|
5686
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
5687
|
+
type: 'string',
|
|
5688
|
+
},
|
|
5689
|
+
warning_code: {
|
|
5690
|
+
enum: ['acs_user_inactive'],
|
|
5691
|
+
type: 'string',
|
|
5692
|
+
},
|
|
5693
|
+
},
|
|
5694
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
5695
|
+
type: 'object',
|
|
5696
|
+
},
|
|
5662
5697
|
{
|
|
5663
5698
|
description:
|
|
5664
5699
|
'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.',
|
|
@@ -32326,6 +32361,18 @@ const openapi: OpenAPISpec = {
|
|
|
32326
32361
|
'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`).',
|
|
32327
32362
|
type: 'string',
|
|
32328
32363
|
},
|
|
32364
|
+
salto_ks_metadata: {
|
|
32365
|
+
description:
|
|
32366
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
32367
|
+
properties: {
|
|
32368
|
+
is_subscribed: {
|
|
32369
|
+
description:
|
|
32370
|
+
"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.",
|
|
32371
|
+
type: 'boolean',
|
|
32372
|
+
},
|
|
32373
|
+
},
|
|
32374
|
+
type: 'object',
|
|
32375
|
+
},
|
|
32329
32376
|
salto_space_metadata: {
|
|
32330
32377
|
description:
|
|
32331
32378
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
@@ -32416,6 +32463,29 @@ const openapi: OpenAPISpec = {
|
|
|
32416
32463
|
required: ['created_at', 'message', 'warning_code'],
|
|
32417
32464
|
type: 'object',
|
|
32418
32465
|
},
|
|
32466
|
+
{
|
|
32467
|
+
description:
|
|
32468
|
+
'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.',
|
|
32469
|
+
properties: {
|
|
32470
|
+
created_at: {
|
|
32471
|
+
description:
|
|
32472
|
+
'Date and time at which Seam created the warning.',
|
|
32473
|
+
format: 'date-time',
|
|
32474
|
+
type: 'string',
|
|
32475
|
+
},
|
|
32476
|
+
message: {
|
|
32477
|
+
description:
|
|
32478
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
32479
|
+
type: 'string',
|
|
32480
|
+
},
|
|
32481
|
+
warning_code: {
|
|
32482
|
+
enum: ['acs_user_inactive'],
|
|
32483
|
+
type: 'string',
|
|
32484
|
+
},
|
|
32485
|
+
},
|
|
32486
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
32487
|
+
type: 'object',
|
|
32488
|
+
},
|
|
32419
32489
|
{
|
|
32420
32490
|
description:
|
|
32421
32491
|
'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.',
|