@seamapi/types 1.1128.0 → 1.1130.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.
@@ -13452,6 +13452,15 @@ export type Routes = {
13452
13452
  device_id: string;
13453
13453
  /** Specific reason why the grant's times are not programmable on the device. */
13454
13454
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
13455
+ } | {
13456
+ /** Date and time at which Seam created the warning. */
13457
+ created_at: string;
13458
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13459
+ message: string;
13460
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13461
+ warning_code: 'access_revoked';
13462
+ /** ID of the access method whose access was revoked. */
13463
+ access_method_id: string;
13455
13464
  })[];
13456
13465
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13457
13466
  errors: ({
@@ -13673,6 +13682,15 @@ export type Routes = {
13673
13682
  device_id: string;
13674
13683
  /** Specific reason why the grant's times are not programmable on the device. */
13675
13684
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
13685
+ } | {
13686
+ /** Date and time at which Seam created the warning. */
13687
+ created_at: string;
13688
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13689
+ message: string;
13690
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13691
+ warning_code: 'access_revoked';
13692
+ /** ID of the access method whose access was revoked. */
13693
+ access_method_id: string;
13676
13694
  })[];
13677
13695
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13678
13696
  errors: ({
@@ -16517,6 +16535,15 @@ export type Routes = {
16517
16535
  device_id: string;
16518
16536
  /** Specific reason why the grant's times are not programmable on the device. */
16519
16537
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
16538
+ } | {
16539
+ /** Date and time at which Seam created the warning. */
16540
+ created_at: string;
16541
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16542
+ message: string;
16543
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16544
+ warning_code: 'access_revoked';
16545
+ /** ID of the access method whose access was revoked. */
16546
+ access_method_id: string;
16520
16547
  })[];
16521
16548
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
16522
16549
  errors: ({
@@ -16740,6 +16767,15 @@ export type Routes = {
16740
16767
  device_id: string;
16741
16768
  /** Specific reason why the grant's times are not programmable on the device. */
16742
16769
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
16770
+ } | {
16771
+ /** Date and time at which Seam created the warning. */
16772
+ created_at: string;
16773
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16774
+ message: string;
16775
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16776
+ warning_code: 'access_revoked';
16777
+ /** ID of the access method whose access was revoked. */
16778
+ access_method_id: string;
16743
16779
  })[];
16744
16780
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
16745
16781
  errors: ({
@@ -16935,6 +16971,15 @@ export type Routes = {
16935
16971
  device_id: string;
16936
16972
  /** Specific reason why the grant's times are not programmable on the device. */
16937
16973
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
16974
+ } | {
16975
+ /** Date and time at which Seam created the warning. */
16976
+ created_at: string;
16977
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16978
+ message: string;
16979
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16980
+ warning_code: 'access_revoked';
16981
+ /** ID of the access method whose access was revoked. */
16982
+ access_method_id: string;
16938
16983
  })[];
16939
16984
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
16940
16985
  errors: ({
@@ -17139,6 +17184,15 @@ export type Routes = {
17139
17184
  device_id: string;
17140
17185
  /** Specific reason why the grant's times are not programmable on the device. */
17141
17186
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
17187
+ } | {
17188
+ /** Date and time at which Seam created the warning. */
17189
+ created_at: string;
17190
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17191
+ message: string;
17192
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17193
+ warning_code: 'access_revoked';
17194
+ /** ID of the access method whose access was revoked. */
17195
+ access_method_id: string;
17142
17196
  })[];
17143
17197
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
17144
17198
  errors: ({
@@ -23785,6 +23839,15 @@ export type Routes = {
23785
23839
  device_id: string;
23786
23840
  /** Specific reason why the grant's times are not programmable on the device. */
23787
23841
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
23842
+ } | {
23843
+ /** Date and time at which Seam created the warning. */
23844
+ created_at: string;
23845
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23846
+ message: string;
23847
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23848
+ warning_code: 'access_revoked';
23849
+ /** ID of the access method whose access was revoked. */
23850
+ access_method_id: string;
23788
23851
  })[];
23789
23852
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
23790
23853
  errors: ({
@@ -91039,6 +91102,15 @@ export type Routes = {
91039
91102
  device_id: string;
91040
91103
  /** Specific reason why the grant's times are not programmable on the device. */
91041
91104
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
91105
+ } | {
91106
+ /** Date and time at which Seam created the warning. */
91107
+ created_at: string;
91108
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
91109
+ message: string;
91110
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
91111
+ warning_code: 'access_revoked';
91112
+ /** ID of the access method whose access was revoked. */
91113
+ access_method_id: string;
91042
91114
  })[];
91043
91115
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
91044
91116
  errors: ({
@@ -98673,6 +98745,15 @@ export type Routes = {
98673
98745
  device_id: string;
98674
98746
  /** Specific reason why the grant's times are not programmable on the device. */
98675
98747
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
98748
+ } | {
98749
+ /** Date and time at which Seam created the warning. */
98750
+ created_at: string;
98751
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
98752
+ message: string;
98753
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
98754
+ warning_code: 'access_revoked';
98755
+ /** ID of the access method whose access was revoked. */
98756
+ access_method_id: string;
98676
98757
  })[];
98677
98758
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
98678
98759
  errors: ({
@@ -99203,6 +99284,15 @@ export type Routes = {
99203
99284
  device_id: string;
99204
99285
  /** Specific reason why the grant's times are not programmable on the device. */
99205
99286
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
99287
+ } | {
99288
+ /** Date and time at which Seam created the warning. */
99289
+ created_at: string;
99290
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99291
+ message: string;
99292
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99293
+ warning_code: 'access_revoked';
99294
+ /** ID of the access method whose access was revoked. */
99295
+ access_method_id: string;
99206
99296
  })[];
99207
99297
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
99208
99298
  errors: ({
@@ -151146,6 +151236,8 @@ export type Routes = {
151146
151236
  phone_number?: (string | null) | undefined;
151147
151237
  /** Full name of the user associated with the new user identity. */
151148
151238
  full_name?: (string | null) | undefined;
151239
+ /** Customer key of the customer that owns the new user identity. Set it when the user identity will be used in access grants created through that customer's client session or Customer Portal. */
151240
+ customer_key?: string | undefined;
151149
151241
  /** List of access system IDs to associate with the new user identity through access system users. If there's no user with the same email address or phone number in the specified access systems, a new access system user is created. If there is an existing user with the same email or phone number in the specified access systems, the user is linked to the user identity. */
151150
151242
  acs_system_ids?: string[] | undefined;
151151
151243
  };
@@ -163155,6 +163247,15 @@ export type Routes = {
163155
163247
  device_id: string;
163156
163248
  /** Specific reason why the grant's times are not programmable on the device. */
163157
163249
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
163250
+ } | {
163251
+ /** Date and time at which Seam created the warning. */
163252
+ created_at: string;
163253
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
163254
+ message: string;
163255
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
163256
+ warning_code: 'access_revoked';
163257
+ /** ID of the access method whose access was revoked. */
163258
+ access_method_id: string;
163158
163259
  })[];
163159
163260
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
163160
163261
  errors: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1128.0",
3
+ "version": "1.1130.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -215,6 +215,20 @@ const device_time_constraints_violated = common_access_grant_warning
215
215
  "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
216
216
  )
217
217
 
218
+ const access_revoked = common_access_grant_warning
219
+ .extend({
220
+ warning_code: z
221
+ .literal('access_revoked')
222
+ .describe(warning_code_description),
223
+ access_method_id: z
224
+ .string()
225
+ .uuid()
226
+ .describe('ID of the access method whose access was revoked.'),
227
+ })
228
+ .describe(
229
+ "Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.",
230
+ )
231
+
218
232
  const access_grant_warning = z
219
233
  .discriminatedUnion('warning_code', [
220
234
  being_deleted,
@@ -224,6 +238,7 @@ const access_grant_warning = z
224
238
  requested_code_unavailable,
225
239
  device_does_not_support_access_codes,
226
240
  device_time_constraints_violated,
241
+ access_revoked,
227
242
  ])
228
243
  .describe(
229
244
  'Warning associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access).',
@@ -250,6 +265,10 @@ const _access_grant_warning_map = z.object({
250
265
  .record(z.string().uuid(), device_time_constraints_violated)
251
266
  .optional()
252
267
  .nullable(),
268
+ access_revoked_by_access_method: z
269
+ .record(z.string().uuid(), access_revoked)
270
+ .optional()
271
+ .nullable(),
253
272
  })
254
273
 
255
274
  export type AccessGrantWarningMap = z.infer<typeof _access_grant_warning_map>
@@ -2421,6 +2421,42 @@ const openapi: OpenAPISpec = {
2421
2421
  ],
2422
2422
  type: 'object',
2423
2423
  },
2424
+ {
2425
+ description:
2426
+ "Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.",
2427
+ properties: {
2428
+ access_method_id: {
2429
+ description:
2430
+ 'ID of the access method whose access was revoked.',
2431
+ format: 'uuid',
2432
+ type: 'string',
2433
+ },
2434
+ created_at: {
2435
+ description:
2436
+ 'Date and time at which Seam created the warning.',
2437
+ format: 'date-time',
2438
+ type: 'string',
2439
+ },
2440
+ message: {
2441
+ description:
2442
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2443
+ type: 'string',
2444
+ },
2445
+ warning_code: {
2446
+ description:
2447
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2448
+ enum: ['access_revoked'],
2449
+ type: 'string',
2450
+ },
2451
+ },
2452
+ required: [
2453
+ 'created_at',
2454
+ 'message',
2455
+ 'warning_code',
2456
+ 'access_method_id',
2457
+ ],
2458
+ type: 'object',
2459
+ },
2424
2460
  ],
2425
2461
  },
2426
2462
  type: 'array',
@@ -37613,6 +37649,42 @@ const openapi: OpenAPISpec = {
37613
37649
  ],
37614
37650
  type: 'object',
37615
37651
  },
37652
+ {
37653
+ description:
37654
+ "Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.",
37655
+ properties: {
37656
+ access_method_id: {
37657
+ description:
37658
+ 'ID of the access method whose access was revoked.',
37659
+ format: 'uuid',
37660
+ type: 'string',
37661
+ },
37662
+ created_at: {
37663
+ description:
37664
+ 'Date and time at which Seam created the warning.',
37665
+ format: 'date-time',
37666
+ type: 'string',
37667
+ },
37668
+ message: {
37669
+ description:
37670
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
37671
+ type: 'string',
37672
+ },
37673
+ warning_code: {
37674
+ description:
37675
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
37676
+ enum: ['access_revoked'],
37677
+ type: 'string',
37678
+ },
37679
+ },
37680
+ required: [
37681
+ 'created_at',
37682
+ 'message',
37683
+ 'warning_code',
37684
+ 'access_method_id',
37685
+ ],
37686
+ type: 'object',
37687
+ },
37616
37688
  ],
37617
37689
  },
37618
37690
  type: 'array',
@@ -75434,6 +75506,12 @@ const openapi: OpenAPISpec = {
75434
75506
  items: { format: 'uuid', type: 'string' },
75435
75507
  type: 'array',
75436
75508
  },
75509
+ customer_key: {
75510
+ description:
75511
+ "Customer key of the customer that owns the new user identity. Set it when the user identity will be used in access grants created through that customer's client session or Customer Portal.",
75512
+ minLength: 1,
75513
+ type: 'string',
75514
+ },
75437
75515
  email_address: {
75438
75516
  description:
75439
75517
  'Unique email address for the new user identity.',
@@ -15332,6 +15332,16 @@ export type Routes = {
15332
15332
  | 'times_do_not_match_slots'
15333
15333
  | 'ongoing_not_supported'
15334
15334
  }
15335
+ | {
15336
+ /** Date and time at which Seam created the warning. */
15337
+ created_at: string
15338
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15339
+ message: string
15340
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15341
+ warning_code: 'access_revoked'
15342
+ /** ID of the access method whose access was revoked. */
15343
+ access_method_id: string
15344
+ }
15335
15345
  )[]
15336
15346
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15337
15347
  errors: (
@@ -15574,6 +15584,16 @@ export type Routes = {
15574
15584
  | 'times_do_not_match_slots'
15575
15585
  | 'ongoing_not_supported'
15576
15586
  }
15587
+ | {
15588
+ /** Date and time at which Seam created the warning. */
15589
+ created_at: string
15590
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15591
+ message: string
15592
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15593
+ warning_code: 'access_revoked'
15594
+ /** ID of the access method whose access was revoked. */
15595
+ access_method_id: string
15596
+ }
15577
15597
  )[]
15578
15598
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15579
15599
  errors: (
@@ -19158,6 +19178,16 @@ export type Routes = {
19158
19178
  | 'times_do_not_match_slots'
19159
19179
  | 'ongoing_not_supported'
19160
19180
  }
19181
+ | {
19182
+ /** Date and time at which Seam created the warning. */
19183
+ created_at: string
19184
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19185
+ message: string
19186
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19187
+ warning_code: 'access_revoked'
19188
+ /** ID of the access method whose access was revoked. */
19189
+ access_method_id: string
19190
+ }
19161
19191
  )[]
19162
19192
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
19163
19193
  errors: (
@@ -19400,6 +19430,16 @@ export type Routes = {
19400
19430
  | 'times_do_not_match_slots'
19401
19431
  | 'ongoing_not_supported'
19402
19432
  }
19433
+ | {
19434
+ /** Date and time at which Seam created the warning. */
19435
+ created_at: string
19436
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19437
+ message: string
19438
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19439
+ warning_code: 'access_revoked'
19440
+ /** ID of the access method whose access was revoked. */
19441
+ access_method_id: string
19442
+ }
19403
19443
  )[]
19404
19444
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
19405
19445
  errors: (
@@ -19614,6 +19654,16 @@ export type Routes = {
19614
19654
  | 'times_do_not_match_slots'
19615
19655
  | 'ongoing_not_supported'
19616
19656
  }
19657
+ | {
19658
+ /** Date and time at which Seam created the warning. */
19659
+ created_at: string
19660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19661
+ message: string
19662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19663
+ warning_code: 'access_revoked'
19664
+ /** ID of the access method whose access was revoked. */
19665
+ access_method_id: string
19666
+ }
19617
19667
  )[]
19618
19668
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
19619
19669
  errors: (
@@ -19837,6 +19887,16 @@ export type Routes = {
19837
19887
  | 'times_do_not_match_slots'
19838
19888
  | 'ongoing_not_supported'
19839
19889
  }
19890
+ | {
19891
+ /** Date and time at which Seam created the warning. */
19892
+ created_at: string
19893
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19894
+ message: string
19895
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19896
+ warning_code: 'access_revoked'
19897
+ /** ID of the access method whose access was revoked. */
19898
+ access_method_id: string
19899
+ }
19840
19900
  )[]
19841
19901
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
19842
19902
  errors: (
@@ -27760,6 +27820,16 @@ export type Routes = {
27760
27820
  | 'times_do_not_match_slots'
27761
27821
  | 'ongoing_not_supported'
27762
27822
  }
27823
+ | {
27824
+ /** Date and time at which Seam created the warning. */
27825
+ created_at: string
27826
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
27827
+ message: string
27828
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27829
+ warning_code: 'access_revoked'
27830
+ /** ID of the access method whose access was revoked. */
27831
+ access_method_id: string
27832
+ }
27763
27833
  )[]
27764
27834
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
27765
27835
  errors: (
@@ -108622,6 +108692,16 @@ export type Routes = {
108622
108692
  | 'times_do_not_match_slots'
108623
108693
  | 'ongoing_not_supported'
108624
108694
  }
108695
+ | {
108696
+ /** Date and time at which Seam created the warning. */
108697
+ created_at: string
108698
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108699
+ message: string
108700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108701
+ warning_code: 'access_revoked'
108702
+ /** ID of the access method whose access was revoked. */
108703
+ access_method_id: string
108704
+ }
108625
108705
  )[]
108626
108706
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
108627
108707
  errors: (
@@ -117673,6 +117753,16 @@ export type Routes = {
117673
117753
  | 'times_do_not_match_slots'
117674
117754
  | 'ongoing_not_supported'
117675
117755
  }
117756
+ | {
117757
+ /** Date and time at which Seam created the warning. */
117758
+ created_at: string
117759
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117760
+ message: string
117761
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117762
+ warning_code: 'access_revoked'
117763
+ /** ID of the access method whose access was revoked. */
117764
+ access_method_id: string
117765
+ }
117676
117766
  )[]
117677
117767
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
117678
117768
  errors: (
@@ -118262,6 +118352,16 @@ export type Routes = {
118262
118352
  | 'times_do_not_match_slots'
118263
118353
  | 'ongoing_not_supported'
118264
118354
  }
118355
+ | {
118356
+ /** Date and time at which Seam created the warning. */
118357
+ created_at: string
118358
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118359
+ message: string
118360
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118361
+ warning_code: 'access_revoked'
118362
+ /** ID of the access method whose access was revoked. */
118363
+ access_method_id: string
118364
+ }
118265
118365
  )[]
118266
118366
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
118267
118367
  errors: (
@@ -179061,6 +179161,8 @@ export type Routes = {
179061
179161
  phone_number?: (string | null) | undefined
179062
179162
  /** Full name of the user associated with the new user identity. */
179063
179163
  full_name?: (string | null) | undefined
179164
+ /** Customer key of the customer that owns the new user identity. Set it when the user identity will be used in access grants created through that customer's client session or Customer Portal. */
179165
+ customer_key?: string | undefined
179064
179166
  /** List of access system IDs to associate with the new user identity through access system users. If there's no user with the same email address or phone number in the specified access systems, a new access system user is created. If there is an existing user with the same email or phone number in the specified access systems, the user is linked to the user identity. */
179065
179167
  acs_system_ids?: string[] | undefined
179066
179168
  }
@@ -193553,6 +193655,16 @@ export type Routes = {
193553
193655
  | 'times_do_not_match_slots'
193554
193656
  | 'ongoing_not_supported'
193555
193657
  }
193658
+ | {
193659
+ /** Date and time at which Seam created the warning. */
193660
+ created_at: string
193661
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
193662
+ message: string
193663
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
193664
+ warning_code: 'access_revoked'
193665
+ /** ID of the access method whose access was revoked. */
193666
+ access_method_id: string
193667
+ }
193556
193668
  )[]
193557
193669
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
193558
193670
  errors: (