@seamapi/types 1.261.1 → 1.262.1

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.
@@ -97,7 +97,7 @@ export interface Routes {
97
97
  result: null;
98
98
  action_type: 'READ_CARD';
99
99
  error: {
100
- type: string;
100
+ type: 'no_card_on_encoder';
101
101
  message: string;
102
102
  };
103
103
  } | {
@@ -701,7 +701,7 @@ export interface Routes {
701
701
  result: null;
702
702
  action_type: 'READ_CARD';
703
703
  error: {
704
- type: string;
704
+ type: 'no_card_on_encoder';
705
705
  message: string;
706
706
  };
707
707
  } | {
@@ -1462,7 +1462,7 @@ export interface Routes {
1462
1462
  result: null;
1463
1463
  action_type: 'READ_CARD';
1464
1464
  error: {
1465
- type: string;
1465
+ type: 'no_card_on_encoder';
1466
1466
  message: string;
1467
1467
  };
1468
1468
  } | {
@@ -2053,7 +2053,7 @@ export interface Routes {
2053
2053
  result: null;
2054
2054
  action_type: 'READ_CARD';
2055
2055
  error: {
2056
- type: string;
2056
+ type: 'no_card_on_encoder';
2057
2057
  message: string;
2058
2058
  };
2059
2059
  } | {
@@ -3370,7 +3370,7 @@ export interface Routes {
3370
3370
  result: null;
3371
3371
  action_type: 'READ_CARD';
3372
3372
  error: {
3373
- type: string;
3373
+ type: 'no_card_on_encoder';
3374
3374
  message: string;
3375
3375
  };
3376
3376
  } | {
@@ -4286,7 +4286,7 @@ export interface Routes {
4286
4286
  result: null;
4287
4287
  action_type: 'READ_CARD';
4288
4288
  error: {
4289
- type: string;
4289
+ type: 'no_card_on_encoder';
4290
4290
  message: string;
4291
4291
  };
4292
4292
  } | {
@@ -5897,7 +5897,7 @@ export interface Routes {
5897
5897
  result: null;
5898
5898
  action_type: 'READ_CARD';
5899
5899
  error: {
5900
- type: string;
5900
+ type: 'no_card_on_encoder';
5901
5901
  message: string;
5902
5902
  };
5903
5903
  } | {
@@ -6350,7 +6350,7 @@ export interface Routes {
6350
6350
  result: null;
6351
6351
  action_type: 'READ_CARD';
6352
6352
  error: {
6353
- type: string;
6353
+ type: 'no_card_on_encoder';
6354
6354
  message: string;
6355
6355
  };
6356
6356
  } | {
@@ -10349,7 +10349,7 @@ export interface Routes {
10349
10349
  result: null;
10350
10350
  action_type: 'READ_CARD';
10351
10351
  error: {
10352
- type: string;
10352
+ type: 'no_card_on_encoder';
10353
10353
  message: string;
10354
10354
  };
10355
10355
  } | {
@@ -10803,7 +10803,7 @@ export interface Routes {
10803
10803
  result: null;
10804
10804
  action_type: 'READ_CARD';
10805
10805
  error: {
10806
- type: string;
10806
+ type: 'no_card_on_encoder';
10807
10807
  message: string;
10808
10808
  };
10809
10809
  } | {
@@ -12199,7 +12199,7 @@ export interface Routes {
12199
12199
  result: null;
12200
12200
  action_type: 'READ_CARD';
12201
12201
  error: {
12202
- type: string;
12202
+ type: 'no_card_on_encoder';
12203
12203
  message: string;
12204
12204
  };
12205
12205
  } | {
@@ -12663,7 +12663,7 @@ export interface Routes {
12663
12663
  result: null;
12664
12664
  action_type: 'READ_CARD';
12665
12665
  error: {
12666
- type: string;
12666
+ type: 'no_card_on_encoder';
12667
12667
  message: string;
12668
12668
  };
12669
12669
  } | {
@@ -13166,7 +13166,7 @@ export interface Routes {
13166
13166
  result: null;
13167
13167
  action_type: 'READ_CARD';
13168
13168
  error: {
13169
- type: string;
13169
+ type: 'no_card_on_encoder';
13170
13170
  message: string;
13171
13171
  };
13172
13172
  } | {
@@ -13802,7 +13802,7 @@ export interface Routes {
13802
13802
  result: null;
13803
13803
  action_type: 'READ_CARD';
13804
13804
  error: {
13805
- type: string;
13805
+ type: 'no_card_on_encoder';
13806
13806
  message: string;
13807
13807
  };
13808
13808
  } | {
@@ -14258,7 +14258,7 @@ export interface Routes {
14258
14258
  result: null;
14259
14259
  action_type: 'READ_CARD';
14260
14260
  error: {
14261
- type: string;
14261
+ type: 'no_card_on_encoder';
14262
14262
  message: string;
14263
14263
  };
14264
14264
  } | {
@@ -15198,7 +15198,7 @@ export interface Routes {
15198
15198
  result: null;
15199
15199
  action_type: 'READ_CARD';
15200
15200
  error: {
15201
- type: string;
15201
+ type: 'no_card_on_encoder';
15202
15202
  message: string;
15203
15203
  };
15204
15204
  } | {
@@ -15656,7 +15656,7 @@ export interface Routes {
15656
15656
  result: null;
15657
15657
  action_type: 'READ_CARD';
15658
15658
  error: {
15659
- type: string;
15659
+ type: 'no_card_on_encoder';
15660
15660
  message: string;
15661
15661
  };
15662
15662
  } | {
@@ -16574,7 +16574,7 @@ export interface Routes {
16574
16574
  result: null;
16575
16575
  action_type: 'READ_CARD';
16576
16576
  error: {
16577
- type: string;
16577
+ type: 'no_card_on_encoder';
16578
16578
  message: string;
16579
16579
  };
16580
16580
  } | {
@@ -17149,7 +17149,7 @@ export interface Routes {
17149
17149
  result: null;
17150
17150
  action_type: 'READ_CARD';
17151
17151
  error: {
17152
- type: string;
17152
+ type: 'no_card_on_encoder';
17153
17153
  message: string;
17154
17154
  };
17155
17155
  } | {
@@ -19072,7 +19072,7 @@ export interface Routes {
19072
19072
  result: null;
19073
19073
  action_type: 'READ_CARD';
19074
19074
  error: {
19075
- type: string;
19075
+ type: 'no_card_on_encoder';
19076
19076
  message: string;
19077
19077
  };
19078
19078
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.261.1",
3
+ "version": "1.262.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9,7 +9,7 @@ import {
9
9
  const action_type = z.literal('READ_CARD')
10
10
 
11
11
  const error = z.object({
12
- type: z.string(), // TODO This should be typed properly with the possible errors
12
+ type: z.literal('no_card_on_encoder'),
13
13
  message: z.string(),
14
14
  })
15
15