@seamapi/types 1.550.0 → 1.551.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.
@@ -17753,6 +17753,8 @@ export type Routes = {
17753
17753
  event_type: 'access_method.issued';
17754
17754
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
17755
17755
  code?: string | undefined;
17756
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
17757
+ is_backup_code?: boolean | undefined;
17756
17758
  } | {
17757
17759
  /** ID of the event. */
17758
17760
  event_id: string;
@@ -17819,6 +17821,8 @@ export type Routes = {
17819
17821
  event_type: 'access_method.reissued';
17820
17822
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
17821
17823
  code?: string | undefined;
17824
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
17825
+ is_backup_code?: boolean | undefined;
17822
17826
  } | {
17823
17827
  /** ID of the event. */
17824
17828
  event_id: string;
@@ -35633,6 +35637,8 @@ export type Routes = {
35633
35637
  event_type: 'access_method.issued';
35634
35638
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
35635
35639
  code?: string | undefined;
35640
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
35641
+ is_backup_code?: boolean | undefined;
35636
35642
  } | {
35637
35643
  /** ID of the event. */
35638
35644
  event_id: string;
@@ -35699,6 +35705,8 @@ export type Routes = {
35699
35705
  event_type: 'access_method.reissued';
35700
35706
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
35701
35707
  code?: string | undefined;
35708
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
35709
+ is_backup_code?: boolean | undefined;
35702
35710
  } | {
35703
35711
  /** ID of the event. */
35704
35712
  event_id: string;
@@ -37535,6 +37543,8 @@ export type Routes = {
37535
37543
  event_type: 'access_method.issued';
37536
37544
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
37537
37545
  code?: string | undefined;
37546
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
37547
+ is_backup_code?: boolean | undefined;
37538
37548
  } | {
37539
37549
  /** ID of the event. */
37540
37550
  event_id: string;
@@ -37601,6 +37611,8 @@ export type Routes = {
37601
37611
  event_type: 'access_method.reissued';
37602
37612
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
37603
37613
  code?: string | undefined;
37614
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
37615
+ is_backup_code?: boolean | undefined;
37604
37616
  } | {
37605
37617
  /** ID of the event. */
37606
37618
  event_id: string;
@@ -56372,6 +56384,8 @@ export type Routes = {
56372
56384
  event_type: 'access_method.issued';
56373
56385
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
56374
56386
  code?: string | undefined;
56387
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
56388
+ is_backup_code?: boolean | undefined;
56375
56389
  } | {
56376
56390
  /** ID of the event. */
56377
56391
  event_id: string;
@@ -56438,6 +56452,8 @@ export type Routes = {
56438
56452
  event_type: 'access_method.reissued';
56439
56453
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
56440
56454
  code?: string | undefined;
56455
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
56456
+ is_backup_code?: boolean | undefined;
56441
56457
  } | {
56442
56458
  /** ID of the event. */
56443
56459
  event_id: string;
@@ -83739,6 +83755,8 @@ export type Routes = {
83739
83755
  event_type: 'access_method.issued';
83740
83756
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
83741
83757
  code?: string | undefined;
83758
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
83759
+ is_backup_code?: boolean | undefined;
83742
83760
  } | {
83743
83761
  /** ID of the event. */
83744
83762
  event_id: string;
@@ -83805,6 +83823,8 @@ export type Routes = {
83805
83823
  event_type: 'access_method.reissued';
83806
83824
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
83807
83825
  code?: string | undefined;
83826
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
83827
+ is_backup_code?: boolean | undefined;
83808
83828
  } | {
83809
83829
  /** ID of the event. */
83810
83830
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.550.0",
3
+ "version": "1.551.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -26,6 +26,12 @@ export const access_method_issued_event = access_method_event.extend({
26
26
  .describe(
27
27
  "The actual PIN code for code access methods (only present when mode is 'code').",
28
28
  ),
29
+ is_backup_code: z
30
+ .boolean()
31
+ .optional()
32
+ .describe(
33
+ "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
34
+ ),
29
35
  }).describe(`
30
36
  ---
31
37
  route_path: /access_methods
@@ -75,6 +81,12 @@ export const access_method_reissued_event = access_method_event.extend({
75
81
  .describe(
76
82
  "The actual PIN code for code access methods (only present when mode is 'code').",
77
83
  ),
84
+ is_backup_code: z
85
+ .boolean()
86
+ .optional()
87
+ .describe(
88
+ "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
89
+ ),
78
90
  }).describe(`
79
91
  ---
80
92
  route_path: /access_methods
@@ -14665,6 +14665,11 @@ export default {
14665
14665
  type: 'string',
14666
14666
  },
14667
14667
  event_type: { enum: ['access_method.issued'], type: 'string' },
14668
+ is_backup_code: {
14669
+ description:
14670
+ "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
14671
+ type: 'boolean',
14672
+ },
14668
14673
  occurred_at: {
14669
14674
  description: 'Date and time at which the event occurred.',
14670
14675
  format: 'date-time',
@@ -14895,6 +14900,11 @@ export default {
14895
14900
  type: 'string',
14896
14901
  },
14897
14902
  event_type: { enum: ['access_method.reissued'], type: 'string' },
14903
+ is_backup_code: {
14904
+ description:
14905
+ "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
14906
+ type: 'boolean',
14907
+ },
14898
14908
  occurred_at: {
14899
14909
  description: 'Date and time at which the event occurred.',
14900
14910
  format: 'date-time',
@@ -20680,6 +20680,8 @@ export type Routes = {
20680
20680
  event_type: 'access_method.issued'
20681
20681
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
20682
20682
  code?: string | undefined
20683
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20684
+ is_backup_code?: boolean | undefined
20683
20685
  }
20684
20686
  | {
20685
20687
  /** ID of the event. */
@@ -20750,6 +20752,8 @@ export type Routes = {
20750
20752
  event_type: 'access_method.reissued'
20751
20753
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
20752
20754
  code?: string | undefined
20755
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20756
+ is_backup_code?: boolean | undefined
20753
20757
  }
20754
20758
  | {
20755
20759
  /** ID of the event. */
@@ -42046,6 +42050,8 @@ export type Routes = {
42046
42050
  event_type: 'access_method.issued'
42047
42051
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
42048
42052
  code?: string | undefined
42053
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42054
+ is_backup_code?: boolean | undefined
42049
42055
  }
42050
42056
  | {
42051
42057
  /** ID of the event. */
@@ -42116,6 +42122,8 @@ export type Routes = {
42116
42122
  event_type: 'access_method.reissued'
42117
42123
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
42118
42124
  code?: string | undefined
42125
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42126
+ is_backup_code?: boolean | undefined
42119
42127
  }
42120
42128
  | {
42121
42129
  /** ID of the event. */
@@ -44471,6 +44479,8 @@ export type Routes = {
44471
44479
  event_type: 'access_method.issued'
44472
44480
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
44473
44481
  code?: string | undefined
44482
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44483
+ is_backup_code?: boolean | undefined
44474
44484
  }
44475
44485
  | {
44476
44486
  /** ID of the event. */
@@ -44541,6 +44551,8 @@ export type Routes = {
44541
44551
  event_type: 'access_method.reissued'
44542
44552
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
44543
44553
  code?: string | undefined
44554
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44555
+ is_backup_code?: boolean | undefined
44544
44556
  }
44545
44557
  | {
44546
44558
  /** ID of the event. */
@@ -67201,6 +67213,8 @@ export type Routes = {
67201
67213
  event_type: 'access_method.issued'
67202
67214
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
67203
67215
  code?: string | undefined
67216
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67217
+ is_backup_code?: boolean | undefined
67204
67218
  }
67205
67219
  | {
67206
67220
  /** ID of the event. */
@@ -67271,6 +67285,8 @@ export type Routes = {
67271
67285
  event_type: 'access_method.reissued'
67272
67286
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
67273
67287
  code?: string | undefined
67288
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67289
+ is_backup_code?: boolean | undefined
67274
67290
  }
67275
67291
  | {
67276
67292
  /** ID of the event. */
@@ -99803,6 +99819,8 @@ export type Routes = {
99803
99819
  event_type: 'access_method.issued'
99804
99820
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
99805
99821
  code?: string | undefined
99822
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
99823
+ is_backup_code?: boolean | undefined
99806
99824
  }
99807
99825
  | {
99808
99826
  /** ID of the event. */
@@ -99873,6 +99891,8 @@ export type Routes = {
99873
99891
  event_type: 'access_method.reissued'
99874
99892
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
99875
99893
  code?: string | undefined
99894
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
99895
+ is_backup_code?: boolean | undefined
99876
99896
  }
99877
99897
  | {
99878
99898
  /** ID of the event. */