@seamapi/types 1.336.1 → 1.337.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.
@@ -604,6 +604,9 @@ export interface Routes {
604
604
  } | {
605
605
  type: 'incompatible_card_format';
606
606
  message: string;
607
+ } | {
608
+ type: 'credential_cannot_be_reissued';
609
+ message: string;
607
610
  };
608
611
  } | {
609
612
  /** The ID of the action attempt. */
@@ -2011,6 +2014,9 @@ export interface Routes {
2011
2014
  } | {
2012
2015
  type: 'incompatible_card_format';
2013
2016
  message: string;
2017
+ } | {
2018
+ type: 'credential_cannot_be_reissued';
2019
+ message: string;
2014
2020
  };
2015
2021
  } | {
2016
2022
  /** The ID of the action attempt. */
@@ -4224,6 +4230,9 @@ export interface Routes {
4224
4230
  } | {
4225
4231
  type: 'incompatible_card_format';
4226
4232
  message: string;
4233
+ } | {
4234
+ type: 'credential_cannot_be_reissued';
4235
+ message: string;
4227
4236
  };
4228
4237
  } | {
4229
4238
  /** The ID of the action attempt. */
@@ -5618,6 +5627,9 @@ export interface Routes {
5618
5627
  } | {
5619
5628
  type: 'incompatible_card_format';
5620
5629
  message: string;
5630
+ } | {
5631
+ type: 'credential_cannot_be_reissued';
5632
+ message: string;
5621
5633
  };
5622
5634
  } | {
5623
5635
  /** The ID of the action attempt. */
@@ -8210,6 +8222,9 @@ export interface Routes {
8210
8222
  } | {
8211
8223
  type: 'incompatible_card_format';
8212
8224
  message: string;
8225
+ } | {
8226
+ type: 'credential_cannot_be_reissued';
8227
+ message: string;
8213
8228
  };
8214
8229
  } | {
8215
8230
  /** The ID of the action attempt. */
@@ -9122,6 +9137,9 @@ export interface Routes {
9122
9137
  } | {
9123
9138
  type: 'incompatible_card_format';
9124
9139
  message: string;
9140
+ } | {
9141
+ type: 'credential_cannot_be_reissued';
9142
+ message: string;
9125
9143
  };
9126
9144
  } | {
9127
9145
  /** The ID of the action attempt. */
@@ -11449,6 +11467,9 @@ export interface Routes {
11449
11467
  } | {
11450
11468
  type: 'incompatible_card_format';
11451
11469
  message: string;
11470
+ } | {
11471
+ type: 'credential_cannot_be_reissued';
11472
+ message: string;
11452
11473
  };
11453
11474
  } | {
11454
11475
  /** The ID of the action attempt. */
@@ -12313,6 +12334,9 @@ export interface Routes {
12313
12334
  } | {
12314
12335
  type: 'incompatible_card_format';
12315
12336
  message: string;
12337
+ } | {
12338
+ type: 'credential_cannot_be_reissued';
12339
+ message: string;
12316
12340
  };
12317
12341
  } | {
12318
12342
  /** The ID of the action attempt. */
@@ -20578,6 +20602,9 @@ export interface Routes {
20578
20602
  } | {
20579
20603
  type: 'incompatible_card_format';
20580
20604
  message: string;
20605
+ } | {
20606
+ type: 'credential_cannot_be_reissued';
20607
+ message: string;
20581
20608
  };
20582
20609
  } | {
20583
20610
  /** The ID of the action attempt. */
@@ -21444,6 +21471,9 @@ export interface Routes {
21444
21471
  } | {
21445
21472
  type: 'incompatible_card_format';
21446
21473
  message: string;
21474
+ } | {
21475
+ type: 'credential_cannot_be_reissued';
21476
+ message: string;
21447
21477
  };
21448
21478
  } | {
21449
21479
  /** The ID of the action attempt. */
@@ -23675,6 +23705,9 @@ export interface Routes {
23675
23705
  } | {
23676
23706
  type: 'incompatible_card_format';
23677
23707
  message: string;
23708
+ } | {
23709
+ type: 'credential_cannot_be_reissued';
23710
+ message: string;
23678
23711
  };
23679
23712
  } | {
23680
23713
  /** The ID of the action attempt. */
@@ -24552,6 +24585,9 @@ export interface Routes {
24552
24585
  } | {
24553
24586
  type: 'incompatible_card_format';
24554
24587
  message: string;
24588
+ } | {
24589
+ type: 'credential_cannot_be_reissued';
24590
+ message: string;
24555
24591
  };
24556
24592
  } | {
24557
24593
  /** The ID of the action attempt. */
@@ -25468,6 +25504,9 @@ export interface Routes {
25468
25504
  } | {
25469
25505
  type: 'incompatible_card_format';
25470
25506
  message: string;
25507
+ } | {
25508
+ type: 'credential_cannot_be_reissued';
25509
+ message: string;
25471
25510
  };
25472
25511
  } | {
25473
25512
  /** The ID of the action attempt. */
@@ -26767,6 +26806,9 @@ export interface Routes {
26767
26806
  } | {
26768
26807
  type: 'incompatible_card_format';
26769
26808
  message: string;
26809
+ } | {
26810
+ type: 'credential_cannot_be_reissued';
26811
+ message: string;
26770
26812
  };
26771
26813
  } | {
26772
26814
  /** The ID of the action attempt. */
@@ -27639,6 +27681,9 @@ export interface Routes {
27639
27681
  } | {
27640
27682
  type: 'incompatible_card_format';
27641
27683
  message: string;
27684
+ } | {
27685
+ type: 'credential_cannot_be_reissued';
27686
+ message: string;
27642
27687
  };
27643
27688
  } | {
27644
27689
  /** The ID of the action attempt. */
@@ -29216,6 +29261,9 @@ export interface Routes {
29216
29261
  } | {
29217
29262
  type: 'incompatible_card_format';
29218
29263
  message: string;
29264
+ } | {
29265
+ type: 'credential_cannot_be_reissued';
29266
+ message: string;
29219
29267
  };
29220
29268
  } | {
29221
29269
  /** The ID of the action attempt. */
@@ -30092,6 +30140,9 @@ export interface Routes {
30092
30140
  } | {
30093
30141
  type: 'incompatible_card_format';
30094
30142
  message: string;
30143
+ } | {
30144
+ type: 'credential_cannot_be_reissued';
30145
+ message: string;
30095
30146
  };
30096
30147
  } | {
30097
30148
  /** The ID of the action attempt. */
@@ -32285,6 +32336,9 @@ export interface Routes {
32285
32336
  } | {
32286
32337
  type: 'incompatible_card_format';
32287
32338
  message: string;
32339
+ } | {
32340
+ type: 'credential_cannot_be_reissued';
32341
+ message: string;
32288
32342
  };
32289
32343
  } | {
32290
32344
  /** The ID of the action attempt. */
@@ -33337,6 +33391,9 @@ export interface Routes {
33337
33391
  } | {
33338
33392
  type: 'incompatible_card_format';
33339
33393
  message: string;
33394
+ } | {
33395
+ type: 'credential_cannot_be_reissued';
33396
+ message: string;
33340
33397
  };
33341
33398
  } | {
33342
33399
  /** The ID of the action attempt. */
@@ -34232,6 +34289,9 @@ export interface Routes {
34232
34289
  } | {
34233
34290
  type: 'incompatible_card_format';
34234
34291
  message: string;
34292
+ } | {
34293
+ type: 'credential_cannot_be_reissued';
34294
+ message: string;
34235
34295
  };
34236
34296
  } | {
34237
34297
  /** The ID of the action attempt. */
@@ -37105,6 +37165,9 @@ export interface Routes {
37105
37165
  } | {
37106
37166
  type: 'incompatible_card_format';
37107
37167
  message: string;
37168
+ } | {
37169
+ type: 'credential_cannot_be_reissued';
37170
+ message: string;
37108
37171
  };
37109
37172
  } | {
37110
37173
  /** The ID of the action attempt. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.336.1",
3
+ "version": "1.337.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,10 +23,16 @@ const incompatible_card_format_error = z.object({
23
23
  message: z.string(),
24
24
  })
25
25
 
26
+ const credential_cannot_be_reissued = z.object({
27
+ type: z.literal('credential_cannot_be_reissued'),
28
+ message: z.string(),
29
+ })
30
+
26
31
  const error = z.union([
27
32
  ...common_action_attempt_errors,
28
33
  no_credential_on_encoder_error,
29
34
  incompatible_card_format_error,
35
+ credential_cannot_be_reissued,
30
36
  ])
31
37
 
32
38
  const result = acs_credential.or(unmanaged_acs_credential)
@@ -4251,6 +4251,17 @@ export default {
4251
4251
  required: ['type', 'message'],
4252
4252
  type: 'object',
4253
4253
  },
4254
+ {
4255
+ properties: {
4256
+ message: { type: 'string' },
4257
+ type: {
4258
+ enum: ['credential_cannot_be_reissued'],
4259
+ type: 'string',
4260
+ },
4261
+ },
4262
+ required: ['type', 'message'],
4263
+ type: 'object',
4264
+ },
4254
4265
  ],
4255
4266
  },
4256
4267
  result: { nullable: true },
@@ -739,6 +739,10 @@ export interface Routes {
739
739
  type: 'incompatible_card_format'
740
740
  message: string
741
741
  }
742
+ | {
743
+ type: 'credential_cannot_be_reissued'
744
+ message: string
745
+ }
742
746
  }
743
747
  | {
744
748
  /** The ID of the action attempt. */
@@ -2417,6 +2421,10 @@ export interface Routes {
2417
2421
  type: 'incompatible_card_format'
2418
2422
  message: string
2419
2423
  }
2424
+ | {
2425
+ type: 'credential_cannot_be_reissued'
2426
+ message: string
2427
+ }
2420
2428
  }
2421
2429
  | {
2422
2430
  /** The ID of the action attempt. */
@@ -5057,6 +5065,10 @@ export interface Routes {
5057
5065
  type: 'incompatible_card_format'
5058
5066
  message: string
5059
5067
  }
5068
+ | {
5069
+ type: 'credential_cannot_be_reissued'
5070
+ message: string
5071
+ }
5060
5072
  }
5061
5073
  | {
5062
5074
  /** The ID of the action attempt. */
@@ -6722,6 +6734,10 @@ export interface Routes {
6722
6734
  type: 'incompatible_card_format'
6723
6735
  message: string
6724
6736
  }
6737
+ | {
6738
+ type: 'credential_cannot_be_reissued'
6739
+ message: string
6740
+ }
6725
6741
  }
6726
6742
  | {
6727
6743
  /** The ID of the action attempt. */
@@ -9843,6 +9859,10 @@ export interface Routes {
9843
9859
  type: 'incompatible_card_format'
9844
9860
  message: string
9845
9861
  }
9862
+ | {
9863
+ type: 'credential_cannot_be_reissued'
9864
+ message: string
9865
+ }
9846
9866
  }
9847
9867
  | {
9848
9868
  /** The ID of the action attempt. */
@@ -10925,6 +10945,10 @@ export interface Routes {
10925
10945
  type: 'incompatible_card_format'
10926
10946
  message: string
10927
10947
  }
10948
+ | {
10949
+ type: 'credential_cannot_be_reissued'
10950
+ message: string
10951
+ }
10928
10952
  }
10929
10953
  | {
10930
10954
  /** The ID of the action attempt. */
@@ -13788,6 +13812,10 @@ export interface Routes {
13788
13812
  type: 'incompatible_card_format'
13789
13813
  message: string
13790
13814
  }
13815
+ | {
13816
+ type: 'credential_cannot_be_reissued'
13817
+ message: string
13818
+ }
13791
13819
  }
13792
13820
  | {
13793
13821
  /** The ID of the action attempt. */
@@ -14819,6 +14847,10 @@ export interface Routes {
14819
14847
  type: 'incompatible_card_format'
14820
14848
  message: string
14821
14849
  }
14850
+ | {
14851
+ type: 'credential_cannot_be_reissued'
14852
+ message: string
14853
+ }
14822
14854
  }
14823
14855
  | {
14824
14856
  /** The ID of the action attempt. */
@@ -25656,6 +25688,10 @@ export interface Routes {
25656
25688
  type: 'incompatible_card_format'
25657
25689
  message: string
25658
25690
  }
25691
+ | {
25692
+ type: 'credential_cannot_be_reissued'
25693
+ message: string
25694
+ }
25659
25695
  }
25660
25696
  | {
25661
25697
  /** The ID of the action attempt. */
@@ -26689,6 +26725,10 @@ export interface Routes {
26689
26725
  type: 'incompatible_card_format'
26690
26726
  message: string
26691
26727
  }
26728
+ | {
26729
+ type: 'credential_cannot_be_reissued'
26730
+ message: string
26731
+ }
26692
26732
  }
26693
26733
  | {
26694
26734
  /** The ID of the action attempt. */
@@ -29670,6 +29710,10 @@ export interface Routes {
29670
29710
  type: 'incompatible_card_format'
29671
29711
  message: string
29672
29712
  }
29713
+ | {
29714
+ type: 'credential_cannot_be_reissued'
29715
+ message: string
29716
+ }
29673
29717
  }
29674
29718
  | {
29675
29719
  /** The ID of the action attempt. */
@@ -30714,6 +30758,10 @@ export interface Routes {
30714
30758
  type: 'incompatible_card_format'
30715
30759
  message: string
30716
30760
  }
30761
+ | {
30762
+ type: 'credential_cannot_be_reissued'
30763
+ message: string
30764
+ }
30717
30765
  }
30718
30766
  | {
30719
30767
  /** The ID of the action attempt. */
@@ -31797,6 +31845,10 @@ export interface Routes {
31797
31845
  type: 'incompatible_card_format'
31798
31846
  message: string
31799
31847
  }
31848
+ | {
31849
+ type: 'credential_cannot_be_reissued'
31850
+ message: string
31851
+ }
31800
31852
  }
31801
31853
  | {
31802
31854
  /** The ID of the action attempt. */
@@ -33353,6 +33405,10 @@ export interface Routes {
33353
33405
  type: 'incompatible_card_format'
33354
33406
  message: string
33355
33407
  }
33408
+ | {
33409
+ type: 'credential_cannot_be_reissued'
33410
+ message: string
33411
+ }
33356
33412
  }
33357
33413
  | {
33358
33414
  /** The ID of the action attempt. */
@@ -34392,6 +34448,10 @@ export interface Routes {
34392
34448
  type: 'incompatible_card_format'
34393
34449
  message: string
34394
34450
  }
34451
+ | {
34452
+ type: 'credential_cannot_be_reissued'
34453
+ message: string
34454
+ }
34395
34455
  }
34396
34456
  | {
34397
34457
  /** The ID of the action attempt. */
@@ -36354,6 +36414,10 @@ export interface Routes {
36354
36414
  type: 'incompatible_card_format'
36355
36415
  message: string
36356
36416
  }
36417
+ | {
36418
+ type: 'credential_cannot_be_reissued'
36419
+ message: string
36420
+ }
36357
36421
  }
36358
36422
  | {
36359
36423
  /** The ID of the action attempt. */
@@ -37397,6 +37461,10 @@ export interface Routes {
37397
37461
  type: 'incompatible_card_format'
37398
37462
  message: string
37399
37463
  }
37464
+ | {
37465
+ type: 'credential_cannot_be_reissued'
37466
+ message: string
37467
+ }
37400
37468
  }
37401
37469
  | {
37402
37470
  /** The ID of the action attempt. */
@@ -40340,6 +40408,10 @@ export interface Routes {
40340
40408
  type: 'incompatible_card_format'
40341
40409
  message: string
40342
40410
  }
40411
+ | {
40412
+ type: 'credential_cannot_be_reissued'
40413
+ message: string
40414
+ }
40343
40415
  }
40344
40416
  | {
40345
40417
  /** The ID of the action attempt. */
@@ -41559,6 +41631,10 @@ export interface Routes {
41559
41631
  type: 'incompatible_card_format'
41560
41632
  message: string
41561
41633
  }
41634
+ | {
41635
+ type: 'credential_cannot_be_reissued'
41636
+ message: string
41637
+ }
41562
41638
  }
41563
41639
  | {
41564
41640
  /** The ID of the action attempt. */
@@ -42625,6 +42701,10 @@ export interface Routes {
42625
42701
  type: 'incompatible_card_format'
42626
42702
  message: string
42627
42703
  }
42704
+ | {
42705
+ type: 'credential_cannot_be_reissued'
42706
+ message: string
42707
+ }
42628
42708
  }
42629
42709
  | {
42630
42710
  /** The ID of the action attempt. */
@@ -46173,6 +46253,10 @@ export interface Routes {
46173
46253
  type: 'incompatible_card_format'
46174
46254
  message: string
46175
46255
  }
46256
+ | {
46257
+ type: 'credential_cannot_be_reissued'
46258
+ message: string
46259
+ }
46176
46260
  }
46177
46261
  | {
46178
46262
  /** The ID of the action attempt. */