@seamapi/types 1.528.0 → 1.529.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.
@@ -17724,6 +17724,8 @@ export type Routes = {
17724
17724
  /** Keys of the access grants associated with this access method (if present). */
17725
17725
  access_grant_keys?: string[] | undefined;
17726
17726
  event_type: 'access_method.issued';
17727
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
17728
+ code?: string | undefined;
17727
17729
  } | {
17728
17730
  /** ID of the event. */
17729
17731
  event_id: string;
@@ -35498,6 +35500,8 @@ export type Routes = {
35498
35500
  /** Keys of the access grants associated with this access method (if present). */
35499
35501
  access_grant_keys?: string[] | undefined;
35500
35502
  event_type: 'access_method.issued';
35503
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
35504
+ code?: string | undefined;
35501
35505
  } | {
35502
35506
  /** ID of the event. */
35503
35507
  event_id: string;
@@ -37392,6 +37396,8 @@ export type Routes = {
37392
37396
  /** Keys of the access grants associated with this access method (if present). */
37393
37397
  access_grant_keys?: string[] | undefined;
37394
37398
  event_type: 'access_method.issued';
37399
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
37400
+ code?: string | undefined;
37395
37401
  } | {
37396
37402
  /** ID of the event. */
37397
37403
  event_id: string;
@@ -56218,6 +56224,8 @@ export type Routes = {
56218
56224
  /** Keys of the access grants associated with this access method (if present). */
56219
56225
  access_grant_keys?: string[] | undefined;
56220
56226
  event_type: 'access_method.issued';
56227
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
56228
+ code?: string | undefined;
56221
56229
  } | {
56222
56230
  /** ID of the event. */
56223
56231
  event_id: string;
@@ -83470,6 +83478,8 @@ export type Routes = {
83470
83478
  /** Keys of the access grants associated with this access method (if present). */
83471
83479
  access_grant_keys?: string[] | undefined;
83472
83480
  event_type: 'access_method.issued';
83481
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
83482
+ code?: string | undefined;
83473
83483
  } | {
83474
83484
  /** ID of the event. */
83475
83485
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.528.0",
3
+ "version": "1.529.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20,6 +20,12 @@ const access_method_event = common_event.extend({
20
20
 
21
21
  export const access_method_issued_event = access_method_event.extend({
22
22
  event_type: z.literal('access_method.issued'),
23
+ code: z
24
+ .string()
25
+ .optional()
26
+ .describe(
27
+ "The actual PIN code for code access methods (only present when mode is 'code').",
28
+ ),
23
29
  }).describe(`
24
30
  ---
25
31
  route_path: /access_methods
@@ -14615,6 +14615,11 @@ export default {
14615
14615
  format: 'uuid',
14616
14616
  type: 'string',
14617
14617
  },
14618
+ code: {
14619
+ description:
14620
+ "The actual PIN code for code access methods (only present when mode is 'code').",
14621
+ type: 'string',
14622
+ },
14618
14623
  created_at: {
14619
14624
  description: 'Date and time at which the event was created.',
14620
14625
  format: 'date-time',
@@ -20597,6 +20597,8 @@ export type Routes = {
20597
20597
  /** Keys of the access grants associated with this access method (if present). */
20598
20598
  access_grant_keys?: string[] | undefined
20599
20599
  event_type: 'access_method.issued'
20600
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
20601
+ code?: string | undefined
20600
20602
  }
20601
20603
  | {
20602
20604
  /** ID of the event. */
@@ -41795,6 +41797,8 @@ export type Routes = {
41795
41797
  /** Keys of the access grants associated with this access method (if present). */
41796
41798
  access_grant_keys?: string[] | undefined
41797
41799
  event_type: 'access_method.issued'
41800
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
41801
+ code?: string | undefined
41798
41802
  }
41799
41803
  | {
41800
41804
  /** ID of the event. */
@@ -44212,6 +44216,8 @@ export type Routes = {
44212
44216
  /** Keys of the access grants associated with this access method (if present). */
44213
44217
  access_grant_keys?: string[] | undefined
44214
44218
  event_type: 'access_method.issued'
44219
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
44220
+ code?: string | undefined
44215
44221
  }
44216
44222
  | {
44217
44223
  /** ID of the event. */
@@ -66903,6 +66909,8 @@ export type Routes = {
66903
66909
  /** Keys of the access grants associated with this access method (if present). */
66904
66910
  access_grant_keys?: string[] | undefined
66905
66911
  event_type: 'access_method.issued'
66912
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
66913
+ code?: string | undefined
66906
66914
  }
66907
66915
  | {
66908
66916
  /** ID of the event. */
@@ -99320,6 +99328,8 @@ export type Routes = {
99320
99328
  /** Keys of the access grants associated with this access method (if present). */
99321
99329
  access_grant_keys?: string[] | undefined
99322
99330
  event_type: 'access_method.issued'
99331
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
99332
+ code?: string | undefined
99323
99333
  }
99324
99334
  | {
99325
99335
  /** ID of the event. */