@seamapi/types 1.968.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.
@@ -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;
@@ -33895,6 +33901,12 @@ export type Routes = {
33895
33901
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33896
33902
  message: string;
33897
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';
33898
33910
  } | {
33899
33911
  /** Date and time at which Seam created the warning. */
33900
33912
  created_at: string;
@@ -34194,6 +34206,12 @@ export type Routes = {
34194
34206
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34195
34207
  message: string;
34196
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';
34197
34215
  } | {
34198
34216
  /** Date and time at which Seam created the warning. */
34199
34217
  created_at: string;
@@ -34481,6 +34499,12 @@ export type Routes = {
34481
34499
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34482
34500
  message: string;
34483
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';
34484
34508
  } | {
34485
34509
  /** Date and time at which Seam created the warning. */
34486
34510
  created_at: string;
@@ -35022,6 +35046,12 @@ export type Routes = {
35022
35046
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35023
35047
  message: string;
35024
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';
35025
35055
  } | {
35026
35056
  /** Date and time at which Seam created the warning. */
35027
35057
  created_at: string;
@@ -35304,6 +35334,12 @@ export type Routes = {
35304
35334
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35305
35335
  message: string;
35306
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';
35307
35343
  } | {
35308
35344
  /** Date and time at which Seam created the warning. */
35309
35345
  created_at: string;
@@ -111014,6 +111050,12 @@ export type Routes = {
111014
111050
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111015
111051
  message: string;
111016
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';
111017
111059
  } | {
111018
111060
  /** Date and time at which Seam created the warning. */
111019
111061
  created_at: string;
@@ -113692,6 +113734,12 @@ export type Routes = {
113692
113734
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113693
113735
  message: string;
113694
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';
113695
113743
  } | {
113696
113744
  /** Date and time at which Seam created the warning. */
113697
113745
  created_at: string;
@@ -115854,6 +115902,12 @@ export type Routes = {
115854
115902
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
115855
115903
  message: string;
115856
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';
115857
115911
  } | {
115858
115912
  /** Date and time at which Seam created the warning. */
115859
115913
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.968.0",
3
+ "version": "1.969.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -149,6 +149,14 @@ const acs_users_salto_ks_user_not_subscribed = common_acs_user_warning
149
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.',
150
150
  )
151
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
+
152
160
  export const unknown_issue_with_acs_user = common_acs_user_warning
153
161
  .extend({
154
162
  warning_code: z.literal('unknown_issue_with_acs_user'),
@@ -170,6 +178,7 @@ const _acs_users_warning_map = z.object({
170
178
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
171
179
  .optional()
172
180
  .nullable(),
181
+ acs_user_inactive: acs_user_inactive.optional().nullable(),
173
182
  unknown_issue_with_acs_user: unknown_issue_with_acs_user
174
183
  .optional()
175
184
  .nullable(),
@@ -180,6 +189,7 @@ export const acs_users_warnings = z
180
189
  .discriminatedUnion('warning_code', [
181
190
  acs_users_being_deleted,
182
191
  acs_users_salto_ks_user_not_subscribed,
192
+ acs_user_inactive,
183
193
  unknown_issue_with_acs_user,
184
194
  latch_resident_user,
185
195
  ])
@@ -5671,6 +5671,29 @@ const openapi: OpenAPISpec = {
5671
5671
  required: ['created_at', 'message', 'warning_code'],
5672
5672
  type: 'object',
5673
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
+ },
5674
5697
  {
5675
5698
  description:
5676
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.',
@@ -32440,6 +32463,29 @@ const openapi: OpenAPISpec = {
32440
32463
  required: ['created_at', 'message', 'warning_code'],
32441
32464
  type: 'object',
32442
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
+ },
32443
32489
  {
32444
32490
  description:
32445
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.',
@@ -27668,6 +27668,13 @@ export type Routes = {
27668
27668
  message: string
27669
27669
  warning_code: 'salto_ks_user_not_subscribed'
27670
27670
  }
27671
+ | {
27672
+ /** Date and time at which Seam created the warning. */
27673
+ created_at: string
27674
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
27675
+ message: string
27676
+ warning_code: 'acs_user_inactive'
27677
+ }
27671
27678
  | {
27672
27679
  /** Date and time at which Seam created the warning. */
27673
27680
  created_at: string
@@ -40371,6 +40378,13 @@ export type Routes = {
40371
40378
  message: string
40372
40379
  warning_code: 'salto_ks_user_not_subscribed'
40373
40380
  }
40381
+ | {
40382
+ /** Date and time at which Seam created the warning. */
40383
+ created_at: string
40384
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40385
+ message: string
40386
+ warning_code: 'acs_user_inactive'
40387
+ }
40374
40388
  | {
40375
40389
  /** Date and time at which Seam created the warning. */
40376
40390
  created_at: string
@@ -40712,6 +40726,13 @@ export type Routes = {
40712
40726
  message: string
40713
40727
  warning_code: 'salto_ks_user_not_subscribed'
40714
40728
  }
40729
+ | {
40730
+ /** Date and time at which Seam created the warning. */
40731
+ created_at: string
40732
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40733
+ message: string
40734
+ warning_code: 'acs_user_inactive'
40735
+ }
40715
40736
  | {
40716
40737
  /** Date and time at which Seam created the warning. */
40717
40738
  created_at: string
@@ -41041,6 +41062,13 @@ export type Routes = {
41041
41062
  message: string
41042
41063
  warning_code: 'salto_ks_user_not_subscribed'
41043
41064
  }
41065
+ | {
41066
+ /** Date and time at which Seam created the warning. */
41067
+ created_at: string
41068
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41069
+ message: string
41070
+ warning_code: 'acs_user_inactive'
41071
+ }
41044
41072
  | {
41045
41073
  /** Date and time at which Seam created the warning. */
41046
41074
  created_at: string
@@ -41675,6 +41703,13 @@ export type Routes = {
41675
41703
  message: string
41676
41704
  warning_code: 'salto_ks_user_not_subscribed'
41677
41705
  }
41706
+ | {
41707
+ /** Date and time at which Seam created the warning. */
41708
+ created_at: string
41709
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41710
+ message: string
41711
+ warning_code: 'acs_user_inactive'
41712
+ }
41678
41713
  | {
41679
41714
  /** Date and time at which Seam created the warning. */
41680
41715
  created_at: string
@@ -41999,6 +42034,13 @@ export type Routes = {
41999
42034
  message: string
42000
42035
  warning_code: 'salto_ks_user_not_subscribed'
42001
42036
  }
42037
+ | {
42038
+ /** Date and time at which Seam created the warning. */
42039
+ created_at: string
42040
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42041
+ message: string
42042
+ warning_code: 'acs_user_inactive'
42043
+ }
42002
42044
  | {
42003
42045
  /** Date and time at which Seam created the warning. */
42004
42046
  created_at: string
@@ -135177,6 +135219,13 @@ export type Routes = {
135177
135219
  message: string
135178
135220
  warning_code: 'salto_ks_user_not_subscribed'
135179
135221
  }
135222
+ | {
135223
+ /** Date and time at which Seam created the warning. */
135224
+ created_at: string
135225
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135226
+ message: string
135227
+ warning_code: 'acs_user_inactive'
135228
+ }
135180
135229
  | {
135181
135230
  /** Date and time at which Seam created the warning. */
135182
135231
  created_at: string
@@ -138529,6 +138578,13 @@ export type Routes = {
138529
138578
  message: string
138530
138579
  warning_code: 'salto_ks_user_not_subscribed'
138531
138580
  }
138581
+ | {
138582
+ /** Date and time at which Seam created the warning. */
138583
+ created_at: string
138584
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138585
+ message: string
138586
+ warning_code: 'acs_user_inactive'
138587
+ }
138532
138588
  | {
138533
138589
  /** Date and time at which Seam created the warning. */
138534
138590
  created_at: string
@@ -141150,6 +141206,13 @@ export type Routes = {
141150
141206
  message: string
141151
141207
  warning_code: 'salto_ks_user_not_subscribed'
141152
141208
  }
141209
+ | {
141210
+ /** Date and time at which Seam created the warning. */
141211
+ created_at: string
141212
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
141213
+ message: string
141214
+ warning_code: 'acs_user_inactive'
141215
+ }
141153
141216
  | {
141154
141217
  /** Date and time at which Seam created the warning. */
141155
141218
  created_at: string