@seamapi/types 1.387.0 → 1.388.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.
@@ -8845,6 +8845,12 @@ export interface Routes {
8845
8845
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8846
8846
  message: string;
8847
8847
  warning_code: 'unknown_issue_with_acs_user';
8848
+ } | {
8849
+ /** Date and time at which Seam created the warning. */
8850
+ created_at: string;
8851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8852
+ message: string;
8853
+ warning_code: 'latch_resident_user';
8848
8854
  }>;
8849
8855
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
8850
8856
  errors: Array<{
@@ -14704,6 +14710,12 @@ export interface Routes {
14704
14710
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14705
14711
  message: string;
14706
14712
  warning_code: 'unknown_issue_with_acs_user';
14713
+ } | {
14714
+ /** Date and time at which Seam created the warning. */
14715
+ created_at: string;
14716
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14717
+ message: string;
14718
+ warning_code: 'latch_resident_user';
14707
14719
  }>;
14708
14720
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
14709
14721
  errors: Array<{
@@ -14902,6 +14914,12 @@ export interface Routes {
14902
14914
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14903
14915
  message: string;
14904
14916
  warning_code: 'unknown_issue_with_acs_user';
14917
+ } | {
14918
+ /** Date and time at which Seam created the warning. */
14919
+ created_at: string;
14920
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14921
+ message: string;
14922
+ warning_code: 'latch_resident_user';
14905
14923
  }>;
14906
14924
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
14907
14925
  errors: Array<{
@@ -15096,6 +15114,12 @@ export interface Routes {
15096
15114
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15097
15115
  message: string;
15098
15116
  warning_code: 'unknown_issue_with_acs_user';
15117
+ } | {
15118
+ /** Date and time at which Seam created the warning. */
15119
+ created_at: string;
15120
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15121
+ message: string;
15122
+ warning_code: 'latch_resident_user';
15099
15123
  }>;
15100
15124
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15101
15125
  errors: Array<{
@@ -15399,6 +15423,12 @@ export interface Routes {
15399
15423
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15400
15424
  message: string;
15401
15425
  warning_code: 'unknown_issue_with_acs_user';
15426
+ } | {
15427
+ /** Date and time at which Seam created the warning. */
15428
+ created_at: string;
15429
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15430
+ message: string;
15431
+ warning_code: 'latch_resident_user';
15402
15432
  }>;
15403
15433
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15404
15434
  errors: Array<{
@@ -15583,6 +15613,12 @@ export interface Routes {
15583
15613
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15584
15614
  message: string;
15585
15615
  warning_code: 'unknown_issue_with_acs_user';
15616
+ } | {
15617
+ /** Date and time at which Seam created the warning. */
15618
+ created_at: string;
15619
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15620
+ message: string;
15621
+ warning_code: 'latch_resident_user';
15586
15622
  }>;
15587
15623
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15588
15624
  errors: Array<{
@@ -49163,6 +49199,12 @@ export interface Routes {
49163
49199
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
49164
49200
  message: string;
49165
49201
  warning_code: 'unknown_issue_with_acs_user';
49202
+ } | {
49203
+ /** Date and time at which Seam created the warning. */
49204
+ created_at: string;
49205
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
49206
+ message: string;
49207
+ warning_code: 'latch_resident_user';
49166
49208
  }>;
49167
49209
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
49168
49210
  errors: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.387.0",
3
+ "version": "1.388.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -133,6 +133,14 @@ export const unknown_issue_with_acs_user = common_acs_user_warning
133
133
  'An unknown issue occurred while syncing the state of this [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.',
134
134
  )
135
135
 
136
+ export const latch_resident_user = common_acs_user_warning
137
+ .extend({
138
+ warning_code: z.literal('latch_resident_user'),
139
+ })
140
+ .describe(
141
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
142
+ )
143
+
136
144
  export const acs_users_warning_map = z.object({
137
145
  being_deleted: acs_users_being_deleted.optional().nullable(),
138
146
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
@@ -141,6 +149,7 @@ export const acs_users_warning_map = z.object({
141
149
  unknown_issue_with_acs_user: unknown_issue_with_acs_user
142
150
  .optional()
143
151
  .nullable(),
152
+ latch_resident_user: latch_resident_user.optional().nullable(),
144
153
  })
145
154
 
146
155
  export const acs_users_warnings = z
@@ -148,6 +157,7 @@ export const acs_users_warnings = z
148
157
  acs_users_being_deleted,
149
158
  acs_users_salto_ks_user_not_subscribed,
150
159
  unknown_issue_with_acs_user,
160
+ latch_resident_user,
151
161
  ])
152
162
  .describe(
153
163
  'Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
@@ -3281,6 +3281,29 @@ export default {
3281
3281
  required: ['created_at', 'message', 'warning_code'],
3282
3282
  type: 'object',
3283
3283
  },
3284
+ {
3285
+ description:
3286
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
3287
+ properties: {
3288
+ created_at: {
3289
+ description:
3290
+ 'Date and time at which Seam created the warning.',
3291
+ format: 'date-time',
3292
+ type: 'string',
3293
+ },
3294
+ message: {
3295
+ description:
3296
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
3297
+ type: 'string',
3298
+ },
3299
+ warning_code: {
3300
+ enum: ['latch_resident_user'],
3301
+ type: 'string',
3302
+ },
3303
+ },
3304
+ required: ['created_at', 'message', 'warning_code'],
3305
+ type: 'object',
3306
+ },
3284
3307
  ],
3285
3308
  },
3286
3309
  type: 'array',
@@ -17477,6 +17500,29 @@ export default {
17477
17500
  required: ['created_at', 'message', 'warning_code'],
17478
17501
  type: 'object',
17479
17502
  },
17503
+ {
17504
+ description:
17505
+ 'Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
17506
+ properties: {
17507
+ created_at: {
17508
+ description:
17509
+ 'Date and time at which Seam created the warning.',
17510
+ format: 'date-time',
17511
+ type: 'string',
17512
+ },
17513
+ message: {
17514
+ description:
17515
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
17516
+ type: 'string',
17517
+ },
17518
+ warning_code: {
17519
+ enum: ['latch_resident_user'],
17520
+ type: 'string',
17521
+ },
17522
+ },
17523
+ required: ['created_at', 'message', 'warning_code'],
17524
+ type: 'object',
17525
+ },
17480
17526
  ],
17481
17527
  },
17482
17528
  type: 'array',
@@ -10113,6 +10113,13 @@ export interface Routes {
10113
10113
  message: string
10114
10114
  warning_code: 'unknown_issue_with_acs_user'
10115
10115
  }
10116
+ | {
10117
+ /** Date and time at which Seam created the warning. */
10118
+ created_at: string
10119
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10120
+ message: string
10121
+ warning_code: 'latch_resident_user'
10122
+ }
10116
10123
  >
10117
10124
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
10118
10125
  errors: Array<
@@ -17058,6 +17065,13 @@ export interface Routes {
17058
17065
  message: string
17059
17066
  warning_code: 'unknown_issue_with_acs_user'
17060
17067
  }
17068
+ | {
17069
+ /** Date and time at which Seam created the warning. */
17070
+ created_at: string
17071
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17072
+ message: string
17073
+ warning_code: 'latch_resident_user'
17074
+ }
17061
17075
  >
17062
17076
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17063
17077
  errors: Array<
@@ -17287,6 +17301,13 @@ export interface Routes {
17287
17301
  message: string
17288
17302
  warning_code: 'unknown_issue_with_acs_user'
17289
17303
  }
17304
+ | {
17305
+ /** Date and time at which Seam created the warning. */
17306
+ created_at: string
17307
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17308
+ message: string
17309
+ warning_code: 'latch_resident_user'
17310
+ }
17290
17311
  >
17291
17312
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17292
17313
  errors: Array<
@@ -17512,6 +17533,13 @@ export interface Routes {
17512
17533
  message: string
17513
17534
  warning_code: 'unknown_issue_with_acs_user'
17514
17535
  }
17536
+ | {
17537
+ /** Date and time at which Seam created the warning. */
17538
+ created_at: string
17539
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17540
+ message: string
17541
+ warning_code: 'latch_resident_user'
17542
+ }
17515
17543
  >
17516
17544
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17517
17545
  errors: Array<
@@ -17869,6 +17897,13 @@ export interface Routes {
17869
17897
  message: string
17870
17898
  warning_code: 'unknown_issue_with_acs_user'
17871
17899
  }
17900
+ | {
17901
+ /** Date and time at which Seam created the warning. */
17902
+ created_at: string
17903
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17904
+ message: string
17905
+ warning_code: 'latch_resident_user'
17906
+ }
17872
17907
  >
17873
17908
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17874
17909
  errors: Array<
@@ -18084,6 +18119,13 @@ export interface Routes {
18084
18119
  message: string
18085
18120
  warning_code: 'unknown_issue_with_acs_user'
18086
18121
  }
18122
+ | {
18123
+ /** Date and time at which Seam created the warning. */
18124
+ created_at: string
18125
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18126
+ message: string
18127
+ warning_code: 'latch_resident_user'
18128
+ }
18087
18129
  >
18088
18130
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
18089
18131
  errors: Array<
@@ -58884,6 +58926,13 @@ export interface Routes {
58884
58926
  message: string
58885
58927
  warning_code: 'unknown_issue_with_acs_user'
58886
58928
  }
58929
+ | {
58930
+ /** Date and time at which Seam created the warning. */
58931
+ created_at: string
58932
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58933
+ message: string
58934
+ warning_code: 'latch_resident_user'
58935
+ }
58887
58936
  >
58888
58937
  /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
58889
58938
  errors: Array<