@seamapi/types 1.967.0 → 1.968.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.
@@ -23491,6 +23491,11 @@ export type Routes = {
23491
23491
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
23492
23492
  audit_openings?: (boolean | undefined) | undefined;
23493
23493
  } | undefined;
23494
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
23495
+ salto_ks_metadata?: {
23496
+ /** 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. */
23497
+ is_subscribed?: (boolean | undefined) | undefined;
23498
+ } | undefined;
23494
23499
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
23495
23500
  full_name?: string | undefined;
23496
23501
  /**
@@ -34085,6 +34090,11 @@ export type Routes = {
34085
34090
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
34086
34091
  audit_openings?: (boolean | undefined) | undefined;
34087
34092
  } | undefined;
34093
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34094
+ salto_ks_metadata?: {
34095
+ /** 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. */
34096
+ is_subscribed?: (boolean | undefined) | undefined;
34097
+ } | undefined;
34088
34098
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34089
34099
  full_name?: string | undefined;
34090
34100
  /**
@@ -34379,6 +34389,11 @@ export type Routes = {
34379
34389
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
34380
34390
  audit_openings?: (boolean | undefined) | undefined;
34381
34391
  } | undefined;
34392
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34393
+ salto_ks_metadata?: {
34394
+ /** 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. */
34395
+ is_subscribed?: (boolean | undefined) | undefined;
34396
+ } | undefined;
34382
34397
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34383
34398
  full_name?: string | undefined;
34384
34399
  /**
@@ -34661,6 +34676,11 @@ export type Routes = {
34661
34676
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
34662
34677
  audit_openings?: (boolean | undefined) | undefined;
34663
34678
  } | undefined;
34679
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34680
+ salto_ks_metadata?: {
34681
+ /** 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. */
34682
+ is_subscribed?: (boolean | undefined) | undefined;
34683
+ } | undefined;
34664
34684
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
34665
34685
  full_name?: string | undefined;
34666
34686
  /**
@@ -35197,6 +35217,11 @@ export type Routes = {
35197
35217
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
35198
35218
  audit_openings?: (boolean | undefined) | undefined;
35199
35219
  } | undefined;
35220
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
35221
+ salto_ks_metadata?: {
35222
+ /** 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. */
35223
+ is_subscribed?: (boolean | undefined) | undefined;
35224
+ } | undefined;
35200
35225
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
35201
35226
  full_name?: string | undefined;
35202
35227
  /**
@@ -35474,6 +35499,11 @@ export type Routes = {
35474
35499
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
35475
35500
  audit_openings?: (boolean | undefined) | undefined;
35476
35501
  } | undefined;
35502
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
35503
+ salto_ks_metadata?: {
35504
+ /** 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. */
35505
+ is_subscribed?: (boolean | undefined) | undefined;
35506
+ } | undefined;
35477
35507
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
35478
35508
  full_name?: string | undefined;
35479
35509
  /**
@@ -111179,6 +111209,11 @@ export type Routes = {
111179
111209
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
111180
111210
  audit_openings?: (boolean | undefined) | undefined;
111181
111211
  } | undefined;
111212
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
111213
+ salto_ks_metadata?: {
111214
+ /** 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. */
111215
+ is_subscribed?: (boolean | undefined) | undefined;
111216
+ } | undefined;
111182
111217
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
111183
111218
  full_name?: string | undefined;
111184
111219
  /**
@@ -113852,6 +113887,11 @@ export type Routes = {
113852
113887
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
113853
113888
  audit_openings?: (boolean | undefined) | undefined;
113854
113889
  } | undefined;
113890
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
113891
+ salto_ks_metadata?: {
113892
+ /** 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. */
113893
+ is_subscribed?: (boolean | undefined) | undefined;
113894
+ } | undefined;
113855
113895
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
113856
113896
  full_name?: string | undefined;
113857
113897
  /**
@@ -116009,6 +116049,11 @@ export type Routes = {
116009
116049
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
116010
116050
  audit_openings?: (boolean | undefined) | undefined;
116011
116051
  } | undefined;
116052
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
116053
+ salto_ks_metadata?: {
116054
+ /** 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. */
116055
+ is_subscribed?: (boolean | undefined) | undefined;
116056
+ } | undefined;
116012
116057
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
116013
116058
  full_name?: string | undefined;
116014
116059
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.967.0",
3
+ "version": "1.968.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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
 
@@ -333,6 +334,11 @@ const common_acs_user = z
333
334
  .describe(
334
335
  'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
335
336
  ),
337
+ salto_ks_metadata: acs_user_salto_ks_metadata
338
+ .optional()
339
+ .describe(
340
+ 'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
341
+ ),
336
342
  })
337
343
  .merge(user_fields)
338
344
 
@@ -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).',
@@ -32326,6 +32338,18 @@ const openapi: OpenAPISpec = {
32326
32338
  '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
32339
  type: 'string',
32328
32340
  },
32341
+ salto_ks_metadata: {
32342
+ description:
32343
+ 'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
32344
+ properties: {
32345
+ is_subscribed: {
32346
+ description:
32347
+ "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.",
32348
+ type: 'boolean',
32349
+ },
32350
+ },
32351
+ type: 'object',
32352
+ },
32329
32353
  salto_space_metadata: {
32330
32354
  description:
32331
32355
  'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
@@ -27886,6 +27886,13 @@ export type Routes = {
27886
27886
  audit_openings?: (boolean | undefined) | undefined
27887
27887
  }
27888
27888
  | undefined
27889
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
27890
+ salto_ks_metadata?:
27891
+ | {
27892
+ /** 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. */
27893
+ is_subscribed?: (boolean | undefined) | undefined
27894
+ }
27895
+ | undefined
27889
27896
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
27890
27897
  full_name?: string | undefined
27891
27898
  /**
@@ -40582,6 +40589,13 @@ export type Routes = {
40582
40589
  audit_openings?: (boolean | undefined) | undefined
40583
40590
  }
40584
40591
  | undefined
40592
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
40593
+ salto_ks_metadata?:
40594
+ | {
40595
+ /** 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. */
40596
+ is_subscribed?: (boolean | undefined) | undefined
40597
+ }
40598
+ | undefined
40585
40599
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
40586
40600
  full_name?: string | undefined
40587
40601
  /**
@@ -40916,6 +40930,13 @@ export type Routes = {
40916
40930
  audit_openings?: (boolean | undefined) | undefined
40917
40931
  }
40918
40932
  | undefined
40933
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
40934
+ salto_ks_metadata?:
40935
+ | {
40936
+ /** 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. */
40937
+ is_subscribed?: (boolean | undefined) | undefined
40938
+ }
40939
+ | undefined
40919
40940
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
40920
40941
  full_name?: string | undefined
40921
40942
  /**
@@ -41238,6 +41259,13 @@ export type Routes = {
41238
41259
  audit_openings?: (boolean | undefined) | undefined
41239
41260
  }
41240
41261
  | undefined
41262
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
41263
+ salto_ks_metadata?:
41264
+ | {
41265
+ /** 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. */
41266
+ is_subscribed?: (boolean | undefined) | undefined
41267
+ }
41268
+ | undefined
41241
41269
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
41242
41270
  full_name?: string | undefined
41243
41271
  /**
@@ -41865,6 +41893,13 @@ export type Routes = {
41865
41893
  audit_openings?: (boolean | undefined) | undefined
41866
41894
  }
41867
41895
  | undefined
41896
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
41897
+ salto_ks_metadata?:
41898
+ | {
41899
+ /** 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. */
41900
+ is_subscribed?: (boolean | undefined) | undefined
41901
+ }
41902
+ | undefined
41868
41903
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
41869
41904
  full_name?: string | undefined
41870
41905
  /**
@@ -42182,6 +42217,13 @@ export type Routes = {
42182
42217
  audit_openings?: (boolean | undefined) | undefined
42183
42218
  }
42184
42219
  | undefined
42220
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
42221
+ salto_ks_metadata?:
42222
+ | {
42223
+ /** 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. */
42224
+ is_subscribed?: (boolean | undefined) | undefined
42225
+ }
42226
+ | undefined
42185
42227
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
42186
42228
  full_name?: string | undefined
42187
42229
  /**
@@ -135353,6 +135395,13 @@ export type Routes = {
135353
135395
  audit_openings?: (boolean | undefined) | undefined
135354
135396
  }
135355
135397
  | undefined
135398
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
135399
+ salto_ks_metadata?:
135400
+ | {
135401
+ /** 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. */
135402
+ is_subscribed?: (boolean | undefined) | undefined
135403
+ }
135404
+ | undefined
135356
135405
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
135357
135406
  full_name?: string | undefined
135358
135407
  /**
@@ -138702,6 +138751,13 @@ export type Routes = {
138702
138751
  audit_openings?: (boolean | undefined) | undefined
138703
138752
  }
138704
138753
  | undefined
138754
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
138755
+ salto_ks_metadata?:
138756
+ | {
138757
+ /** 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. */
138758
+ is_subscribed?: (boolean | undefined) | undefined
138759
+ }
138760
+ | undefined
138705
138761
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
138706
138762
  full_name?: string | undefined
138707
138763
  /**
@@ -141316,6 +141372,13 @@ export type Routes = {
141316
141372
  audit_openings?: (boolean | undefined) | undefined
141317
141373
  }
141318
141374
  | undefined
141375
+ /** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
141376
+ salto_ks_metadata?:
141377
+ | {
141378
+ /** 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. */
141379
+ is_subscribed?: (boolean | undefined) | undefined
141380
+ }
141381
+ | undefined
141319
141382
  /** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
141320
141383
  full_name?: string | undefined
141321
141384
  /**