@seamapi/types 1.532.0 → 1.533.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.
@@ -17804,6 +17804,8 @@ export type Routes = {
17804
17804
  /** Keys of the access grants associated with this access method (if present). */
17805
17805
  access_grant_keys?: string[] | undefined;
17806
17806
  event_type: 'access_method.reissued';
17807
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
17808
+ code?: string | undefined;
17807
17809
  } | {
17808
17810
  /** ID of the event. */
17809
17811
  event_id: string;
@@ -35629,6 +35631,8 @@ export type Routes = {
35629
35631
  /** Keys of the access grants associated with this access method (if present). */
35630
35632
  access_grant_keys?: string[] | undefined;
35631
35633
  event_type: 'access_method.reissued';
35634
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
35635
+ code?: string | undefined;
35632
35636
  } | {
35633
35637
  /** ID of the event. */
35634
35638
  event_id: string;
@@ -37525,6 +37529,8 @@ export type Routes = {
37525
37529
  /** Keys of the access grants associated with this access method (if present). */
37526
37530
  access_grant_keys?: string[] | undefined;
37527
37531
  event_type: 'access_method.reissued';
37532
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
37533
+ code?: string | undefined;
37528
37534
  } | {
37529
37535
  /** ID of the event. */
37530
37536
  event_id: string;
@@ -56353,6 +56359,8 @@ export type Routes = {
56353
56359
  /** Keys of the access grants associated with this access method (if present). */
56354
56360
  access_grant_keys?: string[] | undefined;
56355
56361
  event_type: 'access_method.reissued';
56362
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
56363
+ code?: string | undefined;
56356
56364
  } | {
56357
56365
  /** ID of the event. */
56358
56366
  event_id: string;
@@ -83626,6 +83634,8 @@ export type Routes = {
83626
83634
  /** Keys of the access grants associated with this access method (if present). */
83627
83635
  access_grant_keys?: string[] | undefined;
83628
83636
  event_type: 'access_method.reissued';
83637
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
83638
+ code?: string | undefined;
83629
83639
  } | {
83630
83640
  /** ID of the event. */
83631
83641
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.532.0",
3
+ "version": "1.533.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -69,6 +69,12 @@ export const access_method_deleted_event = access_method_event.extend({
69
69
 
70
70
  export const access_method_reissued_event = access_method_event.extend({
71
71
  event_type: z.literal('access_method.reissued'),
72
+ code: z
73
+ .string()
74
+ .optional()
75
+ .describe(
76
+ "The actual PIN code for code access methods (only present when mode is 'code').",
77
+ ),
72
78
  }).describe(`
73
79
  ---
74
80
  route_path: /access_methods
@@ -14858,6 +14858,11 @@ export default {
14858
14858
  format: 'uuid',
14859
14859
  type: 'string',
14860
14860
  },
14861
+ code: {
14862
+ description:
14863
+ "The actual PIN code for code access methods (only present when mode is 'code').",
14864
+ type: 'string',
14865
+ },
14861
14866
  created_at: {
14862
14867
  description: 'Date and time at which the event was created.',
14863
14868
  format: 'date-time',
@@ -20685,6 +20685,8 @@ export type Routes = {
20685
20685
  /** Keys of the access grants associated with this access method (if present). */
20686
20686
  access_grant_keys?: string[] | undefined
20687
20687
  event_type: 'access_method.reissued'
20688
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
20689
+ code?: string | undefined
20688
20690
  }
20689
20691
  | {
20690
20692
  /** ID of the event. */
@@ -41948,6 +41950,8 @@ export type Routes = {
41948
41950
  /** Keys of the access grants associated with this access method (if present). */
41949
41951
  access_grant_keys?: string[] | undefined
41950
41952
  event_type: 'access_method.reissued'
41953
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
41954
+ code?: string | undefined
41951
41955
  }
41952
41956
  | {
41953
41957
  /** ID of the event. */
@@ -44367,6 +44371,8 @@ export type Routes = {
44367
44371
  /** Keys of the access grants associated with this access method (if present). */
44368
44372
  access_grant_keys?: string[] | undefined
44369
44373
  event_type: 'access_method.reissued'
44374
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
44375
+ code?: string | undefined
44370
44376
  }
44371
44377
  | {
44372
44378
  /** ID of the event. */
@@ -67060,6 +67066,8 @@ export type Routes = {
67060
67066
  /** Keys of the access grants associated with this access method (if present). */
67061
67067
  access_grant_keys?: string[] | undefined
67062
67068
  event_type: 'access_method.reissued'
67069
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
67070
+ code?: string | undefined
67063
67071
  }
67064
67072
  | {
67065
67073
  /** ID of the event. */
@@ -99504,6 +99512,8 @@ export type Routes = {
99504
99512
  /** Keys of the access grants associated with this access method (if present). */
99505
99513
  access_grant_keys?: string[] | undefined
99506
99514
  event_type: 'access_method.reissued'
99515
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
99516
+ code?: string | undefined
99507
99517
  }
99508
99518
  | {
99509
99519
  /** ID of the event. */