@seamapi/types 1.260.0 → 1.261.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.
- package/dist/connect.cjs +12 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +85 -87
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +6 -6
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +44 -2
- package/lib/seam/connect/openapi.js +5 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +41 -80
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -1
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +5 -11
- package/src/lib/seam/connect/route-types.ts +41 -80
package/dist/connect.d.cts
CHANGED
|
@@ -1717,13 +1717,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1717
1717
|
}>, {
|
|
1718
1718
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
1719
1719
|
result: z.ZodObject<{
|
|
1720
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
1721
1720
|
card_number: z.ZodNullable<z.ZodString>;
|
|
1722
1721
|
}, "strip", z.ZodTypeAny, {
|
|
1723
|
-
acs_credential_id: string | null;
|
|
1724
1722
|
card_number: string | null;
|
|
1725
1723
|
}, {
|
|
1726
|
-
acs_credential_id: string | null;
|
|
1727
1724
|
card_number: string | null;
|
|
1728
1725
|
}>;
|
|
1729
1726
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1731,7 +1728,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1731
1728
|
action_attempt_id: string;
|
|
1732
1729
|
error: null;
|
|
1733
1730
|
result: {
|
|
1734
|
-
acs_credential_id: string | null;
|
|
1735
1731
|
card_number: string | null;
|
|
1736
1732
|
};
|
|
1737
1733
|
action_type: "READ_CARD";
|
|
@@ -1740,7 +1736,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1740
1736
|
action_attempt_id: string;
|
|
1741
1737
|
error: null;
|
|
1742
1738
|
result: {
|
|
1743
|
-
acs_credential_id: string | null;
|
|
1744
1739
|
card_number: string | null;
|
|
1745
1740
|
};
|
|
1746
1741
|
action_type: "READ_CARD";
|
|
@@ -10694,8 +10689,8 @@ declare const _default: {
|
|
|
10694
10689
|
};
|
|
10695
10690
|
result: {
|
|
10696
10691
|
properties: {
|
|
10697
|
-
acs_credential_id?: never;
|
|
10698
10692
|
card_number?: never;
|
|
10693
|
+
acs_credential_id?: never;
|
|
10699
10694
|
};
|
|
10700
10695
|
type: string;
|
|
10701
10696
|
nullable?: never;
|
|
@@ -10747,6 +10742,45 @@ declare const _default: {
|
|
|
10747
10742
|
};
|
|
10748
10743
|
required: string[];
|
|
10749
10744
|
type: string;
|
|
10745
|
+
} | {
|
|
10746
|
+
description: string;
|
|
10747
|
+
properties: {
|
|
10748
|
+
action_attempt_id: {
|
|
10749
|
+
description: string;
|
|
10750
|
+
format: string;
|
|
10751
|
+
type: string;
|
|
10752
|
+
'x-title': string;
|
|
10753
|
+
};
|
|
10754
|
+
action_type: {
|
|
10755
|
+
enum: string[];
|
|
10756
|
+
type: string;
|
|
10757
|
+
};
|
|
10758
|
+
error: {
|
|
10759
|
+
nullable: boolean;
|
|
10760
|
+
properties?: never;
|
|
10761
|
+
required?: never;
|
|
10762
|
+
type?: never;
|
|
10763
|
+
};
|
|
10764
|
+
result: {
|
|
10765
|
+
properties: {
|
|
10766
|
+
card_number: {
|
|
10767
|
+
description: string;
|
|
10768
|
+
nullable: boolean;
|
|
10769
|
+
type: string;
|
|
10770
|
+
};
|
|
10771
|
+
acs_credential_id?: never;
|
|
10772
|
+
};
|
|
10773
|
+
required: string[];
|
|
10774
|
+
type: string;
|
|
10775
|
+
nullable?: never;
|
|
10776
|
+
};
|
|
10777
|
+
status: {
|
|
10778
|
+
enum: string[];
|
|
10779
|
+
type: string;
|
|
10780
|
+
};
|
|
10781
|
+
};
|
|
10782
|
+
required: string[];
|
|
10783
|
+
type: string;
|
|
10750
10784
|
} | {
|
|
10751
10785
|
description: string;
|
|
10752
10786
|
properties: {
|
|
@@ -17885,11 +17919,14 @@ declare const _default: {
|
|
|
17885
17919
|
type: string;
|
|
17886
17920
|
} | {
|
|
17887
17921
|
properties: {
|
|
17922
|
+
acs_system_id: {
|
|
17923
|
+
format: string;
|
|
17924
|
+
type: string;
|
|
17925
|
+
};
|
|
17888
17926
|
device_id: {
|
|
17889
17927
|
format: string;
|
|
17890
17928
|
type: string;
|
|
17891
17929
|
};
|
|
17892
|
-
acs_system_id?: never;
|
|
17893
17930
|
device_name?: never;
|
|
17894
17931
|
};
|
|
17895
17932
|
required: string[];
|
|
@@ -28328,9 +28365,7 @@ interface Routes {
|
|
|
28328
28365
|
error: null;
|
|
28329
28366
|
action_type: 'READ_CARD';
|
|
28330
28367
|
result: {
|
|
28331
|
-
/**
|
|
28332
|
-
acs_credential_id: string | null;
|
|
28333
|
-
/** A number or sting that physically identifies this card. */
|
|
28368
|
+
/** A number or string that physically identifies this card. */
|
|
28334
28369
|
card_number: string | null;
|
|
28335
28370
|
};
|
|
28336
28371
|
} | {
|
|
@@ -28359,7 +28394,7 @@ interface Routes {
|
|
|
28359
28394
|
result: {
|
|
28360
28395
|
/** Matching acs_credential currently encoded on this card. */
|
|
28361
28396
|
acs_credential_id: string | null;
|
|
28362
|
-
/** A number or
|
|
28397
|
+
/** A number or string that physically identifies this card. */
|
|
28363
28398
|
card_number: string | null;
|
|
28364
28399
|
};
|
|
28365
28400
|
} | {
|
|
@@ -28934,9 +28969,7 @@ interface Routes {
|
|
|
28934
28969
|
error: null;
|
|
28935
28970
|
action_type: 'READ_CARD';
|
|
28936
28971
|
result: {
|
|
28937
|
-
/**
|
|
28938
|
-
acs_credential_id: string | null;
|
|
28939
|
-
/** A number or sting that physically identifies this card. */
|
|
28972
|
+
/** A number or string that physically identifies this card. */
|
|
28940
28973
|
card_number: string | null;
|
|
28941
28974
|
};
|
|
28942
28975
|
} | {
|
|
@@ -28965,7 +28998,7 @@ interface Routes {
|
|
|
28965
28998
|
result: {
|
|
28966
28999
|
/** Matching acs_credential currently encoded on this card. */
|
|
28967
29000
|
acs_credential_id: string | null;
|
|
28968
|
-
/** A number or
|
|
29001
|
+
/** A number or string that physically identifies this card. */
|
|
28969
29002
|
card_number: string | null;
|
|
28970
29003
|
};
|
|
28971
29004
|
} | {
|
|
@@ -29697,9 +29730,7 @@ interface Routes {
|
|
|
29697
29730
|
error: null;
|
|
29698
29731
|
action_type: 'READ_CARD';
|
|
29699
29732
|
result: {
|
|
29700
|
-
/**
|
|
29701
|
-
acs_credential_id: string | null;
|
|
29702
|
-
/** A number or sting that physically identifies this card. */
|
|
29733
|
+
/** A number or string that physically identifies this card. */
|
|
29703
29734
|
card_number: string | null;
|
|
29704
29735
|
};
|
|
29705
29736
|
} | {
|
|
@@ -29728,7 +29759,7 @@ interface Routes {
|
|
|
29728
29759
|
result: {
|
|
29729
29760
|
/** Matching acs_credential currently encoded on this card. */
|
|
29730
29761
|
acs_credential_id: string | null;
|
|
29731
|
-
/** A number or
|
|
29762
|
+
/** A number or string that physically identifies this card. */
|
|
29732
29763
|
card_number: string | null;
|
|
29733
29764
|
};
|
|
29734
29765
|
} | {
|
|
@@ -30290,9 +30321,7 @@ interface Routes {
|
|
|
30290
30321
|
error: null;
|
|
30291
30322
|
action_type: 'READ_CARD';
|
|
30292
30323
|
result: {
|
|
30293
|
-
/**
|
|
30294
|
-
acs_credential_id: string | null;
|
|
30295
|
-
/** A number or sting that physically identifies this card. */
|
|
30324
|
+
/** A number or string that physically identifies this card. */
|
|
30296
30325
|
card_number: string | null;
|
|
30297
30326
|
};
|
|
30298
30327
|
} | {
|
|
@@ -30321,7 +30350,7 @@ interface Routes {
|
|
|
30321
30350
|
result: {
|
|
30322
30351
|
/** Matching acs_credential currently encoded on this card. */
|
|
30323
30352
|
acs_credential_id: string | null;
|
|
30324
|
-
/** A number or
|
|
30353
|
+
/** A number or string that physically identifies this card. */
|
|
30325
30354
|
card_number: string | null;
|
|
30326
30355
|
};
|
|
30327
30356
|
} | {
|
|
@@ -31609,9 +31638,7 @@ interface Routes {
|
|
|
31609
31638
|
error: null;
|
|
31610
31639
|
action_type: 'READ_CARD';
|
|
31611
31640
|
result: {
|
|
31612
|
-
/**
|
|
31613
|
-
acs_credential_id: string | null;
|
|
31614
|
-
/** A number or sting that physically identifies this card. */
|
|
31641
|
+
/** A number or string that physically identifies this card. */
|
|
31615
31642
|
card_number: string | null;
|
|
31616
31643
|
};
|
|
31617
31644
|
} | {
|
|
@@ -31640,7 +31667,7 @@ interface Routes {
|
|
|
31640
31667
|
result: {
|
|
31641
31668
|
/** Matching acs_credential currently encoded on this card. */
|
|
31642
31669
|
acs_credential_id: string | null;
|
|
31643
|
-
/** A number or
|
|
31670
|
+
/** A number or string that physically identifies this card. */
|
|
31644
31671
|
card_number: string | null;
|
|
31645
31672
|
};
|
|
31646
31673
|
} | {
|
|
@@ -32460,6 +32487,7 @@ interface Routes {
|
|
|
32460
32487
|
acs_system_id: string;
|
|
32461
32488
|
device_name: string;
|
|
32462
32489
|
} | {
|
|
32490
|
+
acs_system_id: string;
|
|
32463
32491
|
device_id: string;
|
|
32464
32492
|
};
|
|
32465
32493
|
formData: {};
|
|
@@ -32526,9 +32554,7 @@ interface Routes {
|
|
|
32526
32554
|
error: null;
|
|
32527
32555
|
action_type: 'READ_CARD';
|
|
32528
32556
|
result: {
|
|
32529
|
-
/**
|
|
32530
|
-
acs_credential_id: string | null;
|
|
32531
|
-
/** A number or sting that physically identifies this card. */
|
|
32557
|
+
/** A number or string that physically identifies this card. */
|
|
32532
32558
|
card_number: string | null;
|
|
32533
32559
|
};
|
|
32534
32560
|
} | {
|
|
@@ -32557,7 +32583,7 @@ interface Routes {
|
|
|
32557
32583
|
result: {
|
|
32558
32584
|
/** Matching acs_credential currently encoded on this card. */
|
|
32559
32585
|
acs_credential_id: string | null;
|
|
32560
|
-
/** A number or
|
|
32586
|
+
/** A number or string that physically identifies this card. */
|
|
32561
32587
|
card_number: string | null;
|
|
32562
32588
|
};
|
|
32563
32589
|
} | {
|
|
@@ -34139,9 +34165,7 @@ interface Routes {
|
|
|
34139
34165
|
error: null;
|
|
34140
34166
|
action_type: 'READ_CARD';
|
|
34141
34167
|
result: {
|
|
34142
|
-
/**
|
|
34143
|
-
acs_credential_id: string | null;
|
|
34144
|
-
/** A number or sting that physically identifies this card. */
|
|
34168
|
+
/** A number or string that physically identifies this card. */
|
|
34145
34169
|
card_number: string | null;
|
|
34146
34170
|
};
|
|
34147
34171
|
} | {
|
|
@@ -34170,7 +34194,7 @@ interface Routes {
|
|
|
34170
34194
|
result: {
|
|
34171
34195
|
/** Matching acs_credential currently encoded on this card. */
|
|
34172
34196
|
acs_credential_id: string | null;
|
|
34173
|
-
/** A number or
|
|
34197
|
+
/** A number or string that physically identifies this card. */
|
|
34174
34198
|
card_number: string | null;
|
|
34175
34199
|
};
|
|
34176
34200
|
} | {
|
|
@@ -34594,9 +34618,7 @@ interface Routes {
|
|
|
34594
34618
|
error: null;
|
|
34595
34619
|
action_type: 'READ_CARD';
|
|
34596
34620
|
result: {
|
|
34597
|
-
/**
|
|
34598
|
-
acs_credential_id: string | null;
|
|
34599
|
-
/** A number or sting that physically identifies this card. */
|
|
34621
|
+
/** A number or string that physically identifies this card. */
|
|
34600
34622
|
card_number: string | null;
|
|
34601
34623
|
};
|
|
34602
34624
|
} | {
|
|
@@ -34625,7 +34647,7 @@ interface Routes {
|
|
|
34625
34647
|
result: {
|
|
34626
34648
|
/** Matching acs_credential currently encoded on this card. */
|
|
34627
34649
|
acs_credential_id: string | null;
|
|
34628
|
-
/** A number or
|
|
34650
|
+
/** A number or string that physically identifies this card. */
|
|
34629
34651
|
card_number: string | null;
|
|
34630
34652
|
};
|
|
34631
34653
|
} | {
|
|
@@ -38595,9 +38617,7 @@ interface Routes {
|
|
|
38595
38617
|
error: null;
|
|
38596
38618
|
action_type: 'READ_CARD';
|
|
38597
38619
|
result: {
|
|
38598
|
-
/**
|
|
38599
|
-
acs_credential_id: string | null;
|
|
38600
|
-
/** A number or sting that physically identifies this card. */
|
|
38620
|
+
/** A number or string that physically identifies this card. */
|
|
38601
38621
|
card_number: string | null;
|
|
38602
38622
|
};
|
|
38603
38623
|
} | {
|
|
@@ -38626,7 +38646,7 @@ interface Routes {
|
|
|
38626
38646
|
result: {
|
|
38627
38647
|
/** Matching acs_credential currently encoded on this card. */
|
|
38628
38648
|
acs_credential_id: string | null;
|
|
38629
|
-
/** A number or
|
|
38649
|
+
/** A number or string that physically identifies this card. */
|
|
38630
38650
|
card_number: string | null;
|
|
38631
38651
|
};
|
|
38632
38652
|
} | {
|
|
@@ -39051,9 +39071,7 @@ interface Routes {
|
|
|
39051
39071
|
error: null;
|
|
39052
39072
|
action_type: 'READ_CARD';
|
|
39053
39073
|
result: {
|
|
39054
|
-
/**
|
|
39055
|
-
acs_credential_id: string | null;
|
|
39056
|
-
/** A number or sting that physically identifies this card. */
|
|
39074
|
+
/** A number or string that physically identifies this card. */
|
|
39057
39075
|
card_number: string | null;
|
|
39058
39076
|
};
|
|
39059
39077
|
} | {
|
|
@@ -39082,7 +39100,7 @@ interface Routes {
|
|
|
39082
39100
|
result: {
|
|
39083
39101
|
/** Matching acs_credential currently encoded on this card. */
|
|
39084
39102
|
acs_credential_id: string | null;
|
|
39085
|
-
/** A number or
|
|
39103
|
+
/** A number or string that physically identifies this card. */
|
|
39086
39104
|
card_number: string | null;
|
|
39087
39105
|
};
|
|
39088
39106
|
} | {
|
|
@@ -40449,9 +40467,7 @@ interface Routes {
|
|
|
40449
40467
|
error: null;
|
|
40450
40468
|
action_type: 'READ_CARD';
|
|
40451
40469
|
result: {
|
|
40452
|
-
/**
|
|
40453
|
-
acs_credential_id: string | null;
|
|
40454
|
-
/** A number or sting that physically identifies this card. */
|
|
40470
|
+
/** A number or string that physically identifies this card. */
|
|
40455
40471
|
card_number: string | null;
|
|
40456
40472
|
};
|
|
40457
40473
|
} | {
|
|
@@ -40480,7 +40496,7 @@ interface Routes {
|
|
|
40480
40496
|
result: {
|
|
40481
40497
|
/** Matching acs_credential currently encoded on this card. */
|
|
40482
40498
|
acs_credential_id: string | null;
|
|
40483
|
-
/** A number or
|
|
40499
|
+
/** A number or string that physically identifies this card. */
|
|
40484
40500
|
card_number: string | null;
|
|
40485
40501
|
};
|
|
40486
40502
|
} | {
|
|
@@ -40915,9 +40931,7 @@ interface Routes {
|
|
|
40915
40931
|
error: null;
|
|
40916
40932
|
action_type: 'READ_CARD';
|
|
40917
40933
|
result: {
|
|
40918
|
-
/**
|
|
40919
|
-
acs_credential_id: string | null;
|
|
40920
|
-
/** A number or sting that physically identifies this card. */
|
|
40934
|
+
/** A number or string that physically identifies this card. */
|
|
40921
40935
|
card_number: string | null;
|
|
40922
40936
|
};
|
|
40923
40937
|
} | {
|
|
@@ -40946,7 +40960,7 @@ interface Routes {
|
|
|
40946
40960
|
result: {
|
|
40947
40961
|
/** Matching acs_credential currently encoded on this card. */
|
|
40948
40962
|
acs_credential_id: string | null;
|
|
40949
|
-
/** A number or
|
|
40963
|
+
/** A number or string that physically identifies this card. */
|
|
40950
40964
|
card_number: string | null;
|
|
40951
40965
|
};
|
|
40952
40966
|
} | {
|
|
@@ -41420,9 +41434,7 @@ interface Routes {
|
|
|
41420
41434
|
error: null;
|
|
41421
41435
|
action_type: 'READ_CARD';
|
|
41422
41436
|
result: {
|
|
41423
|
-
/**
|
|
41424
|
-
acs_credential_id: string | null;
|
|
41425
|
-
/** A number or sting that physically identifies this card. */
|
|
41437
|
+
/** A number or string that physically identifies this card. */
|
|
41426
41438
|
card_number: string | null;
|
|
41427
41439
|
};
|
|
41428
41440
|
} | {
|
|
@@ -41451,7 +41463,7 @@ interface Routes {
|
|
|
41451
41463
|
result: {
|
|
41452
41464
|
/** Matching acs_credential currently encoded on this card. */
|
|
41453
41465
|
acs_credential_id: string | null;
|
|
41454
|
-
/** A number or
|
|
41466
|
+
/** A number or string that physically identifies this card. */
|
|
41455
41467
|
card_number: string | null;
|
|
41456
41468
|
};
|
|
41457
41469
|
} | {
|
|
@@ -42058,9 +42070,7 @@ interface Routes {
|
|
|
42058
42070
|
error: null;
|
|
42059
42071
|
action_type: 'READ_CARD';
|
|
42060
42072
|
result: {
|
|
42061
|
-
/**
|
|
42062
|
-
acs_credential_id: string | null;
|
|
42063
|
-
/** A number or sting that physically identifies this card. */
|
|
42073
|
+
/** A number or string that physically identifies this card. */
|
|
42064
42074
|
card_number: string | null;
|
|
42065
42075
|
};
|
|
42066
42076
|
} | {
|
|
@@ -42089,7 +42099,7 @@ interface Routes {
|
|
|
42089
42099
|
result: {
|
|
42090
42100
|
/** Matching acs_credential currently encoded on this card. */
|
|
42091
42101
|
acs_credential_id: string | null;
|
|
42092
|
-
/** A number or
|
|
42102
|
+
/** A number or string that physically identifies this card. */
|
|
42093
42103
|
card_number: string | null;
|
|
42094
42104
|
};
|
|
42095
42105
|
} | {
|
|
@@ -42516,9 +42526,7 @@ interface Routes {
|
|
|
42516
42526
|
error: null;
|
|
42517
42527
|
action_type: 'READ_CARD';
|
|
42518
42528
|
result: {
|
|
42519
|
-
/**
|
|
42520
|
-
acs_credential_id: string | null;
|
|
42521
|
-
/** A number or sting that physically identifies this card. */
|
|
42529
|
+
/** A number or string that physically identifies this card. */
|
|
42522
42530
|
card_number: string | null;
|
|
42523
42531
|
};
|
|
42524
42532
|
} | {
|
|
@@ -42547,7 +42555,7 @@ interface Routes {
|
|
|
42547
42555
|
result: {
|
|
42548
42556
|
/** Matching acs_credential currently encoded on this card. */
|
|
42549
42557
|
acs_credential_id: string | null;
|
|
42550
|
-
/** A number or
|
|
42558
|
+
/** A number or string that physically identifies this card. */
|
|
42551
42559
|
card_number: string | null;
|
|
42552
42560
|
};
|
|
42553
42561
|
} | {
|
|
@@ -43458,9 +43466,7 @@ interface Routes {
|
|
|
43458
43466
|
error: null;
|
|
43459
43467
|
action_type: 'READ_CARD';
|
|
43460
43468
|
result: {
|
|
43461
|
-
/**
|
|
43462
|
-
acs_credential_id: string | null;
|
|
43463
|
-
/** A number or sting that physically identifies this card. */
|
|
43469
|
+
/** A number or string that physically identifies this card. */
|
|
43464
43470
|
card_number: string | null;
|
|
43465
43471
|
};
|
|
43466
43472
|
} | {
|
|
@@ -43489,7 +43495,7 @@ interface Routes {
|
|
|
43489
43495
|
result: {
|
|
43490
43496
|
/** Matching acs_credential currently encoded on this card. */
|
|
43491
43497
|
acs_credential_id: string | null;
|
|
43492
|
-
/** A number or
|
|
43498
|
+
/** A number or string that physically identifies this card. */
|
|
43493
43499
|
card_number: string | null;
|
|
43494
43500
|
};
|
|
43495
43501
|
} | {
|
|
@@ -43918,9 +43924,7 @@ interface Routes {
|
|
|
43918
43924
|
error: null;
|
|
43919
43925
|
action_type: 'READ_CARD';
|
|
43920
43926
|
result: {
|
|
43921
|
-
/**
|
|
43922
|
-
acs_credential_id: string | null;
|
|
43923
|
-
/** A number or sting that physically identifies this card. */
|
|
43927
|
+
/** A number or string that physically identifies this card. */
|
|
43924
43928
|
card_number: string | null;
|
|
43925
43929
|
};
|
|
43926
43930
|
} | {
|
|
@@ -43949,7 +43953,7 @@ interface Routes {
|
|
|
43949
43953
|
result: {
|
|
43950
43954
|
/** Matching acs_credential currently encoded on this card. */
|
|
43951
43955
|
acs_credential_id: string | null;
|
|
43952
|
-
/** A number or
|
|
43956
|
+
/** A number or string that physically identifies this card. */
|
|
43953
43957
|
card_number: string | null;
|
|
43954
43958
|
};
|
|
43955
43959
|
} | {
|
|
@@ -44838,9 +44842,7 @@ interface Routes {
|
|
|
44838
44842
|
error: null;
|
|
44839
44843
|
action_type: 'READ_CARD';
|
|
44840
44844
|
result: {
|
|
44841
|
-
/**
|
|
44842
|
-
acs_credential_id: string | null;
|
|
44843
|
-
/** A number or sting that physically identifies this card. */
|
|
44845
|
+
/** A number or string that physically identifies this card. */
|
|
44844
44846
|
card_number: string | null;
|
|
44845
44847
|
};
|
|
44846
44848
|
} | {
|
|
@@ -44869,7 +44871,7 @@ interface Routes {
|
|
|
44869
44871
|
result: {
|
|
44870
44872
|
/** Matching acs_credential currently encoded on this card. */
|
|
44871
44873
|
acs_credential_id: string | null;
|
|
44872
|
-
/** A number or
|
|
44874
|
+
/** A number or string that physically identifies this card. */
|
|
44873
44875
|
card_number: string | null;
|
|
44874
44876
|
};
|
|
44875
44877
|
} | {
|
|
@@ -45415,9 +45417,7 @@ interface Routes {
|
|
|
45415
45417
|
error: null;
|
|
45416
45418
|
action_type: 'READ_CARD';
|
|
45417
45419
|
result: {
|
|
45418
|
-
/**
|
|
45419
|
-
acs_credential_id: string | null;
|
|
45420
|
-
/** A number or sting that physically identifies this card. */
|
|
45420
|
+
/** A number or string that physically identifies this card. */
|
|
45421
45421
|
card_number: string | null;
|
|
45422
45422
|
};
|
|
45423
45423
|
} | {
|
|
@@ -45446,7 +45446,7 @@ interface Routes {
|
|
|
45446
45446
|
result: {
|
|
45447
45447
|
/** Matching acs_credential currently encoded on this card. */
|
|
45448
45448
|
acs_credential_id: string | null;
|
|
45449
|
-
/** A number or
|
|
45449
|
+
/** A number or string that physically identifies this card. */
|
|
45450
45450
|
card_number: string | null;
|
|
45451
45451
|
};
|
|
45452
45452
|
} | {
|
|
@@ -47340,9 +47340,7 @@ interface Routes {
|
|
|
47340
47340
|
error: null;
|
|
47341
47341
|
action_type: 'READ_CARD';
|
|
47342
47342
|
result: {
|
|
47343
|
-
/**
|
|
47344
|
-
acs_credential_id: string | null;
|
|
47345
|
-
/** A number or sting that physically identifies this card. */
|
|
47343
|
+
/** A number or string that physically identifies this card. */
|
|
47346
47344
|
card_number: string | null;
|
|
47347
47345
|
};
|
|
47348
47346
|
} | {
|
|
@@ -47371,7 +47369,7 @@ interface Routes {
|
|
|
47371
47369
|
result: {
|
|
47372
47370
|
/** Matching acs_credential currently encoded on this card. */
|
|
47373
47371
|
acs_credential_id: string | null;
|
|
47374
|
-
/** A number or
|
|
47372
|
+
/** A number or string that physically identifies this card. */
|
|
47375
47373
|
card_number: string | null;
|
|
47376
47374
|
};
|
|
47377
47375
|
} | {
|
|
@@ -185,13 +185,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
185
185
|
}>, {
|
|
186
186
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
187
187
|
result: z.ZodObject<{
|
|
188
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
189
188
|
card_number: z.ZodNullable<z.ZodString>;
|
|
190
189
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
acs_credential_id: string | null;
|
|
192
190
|
card_number: string | null;
|
|
193
191
|
}, {
|
|
194
|
-
acs_credential_id: string | null;
|
|
195
192
|
card_number: string | null;
|
|
196
193
|
}>;
|
|
197
194
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -199,7 +196,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
199
196
|
status: "success";
|
|
200
197
|
action_attempt_id: string;
|
|
201
198
|
result: {
|
|
202
|
-
acs_credential_id: string | null;
|
|
203
199
|
card_number: string | null;
|
|
204
200
|
};
|
|
205
201
|
action_type: "READ_CARD";
|
|
@@ -208,7 +204,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
208
204
|
status: "success";
|
|
209
205
|
action_attempt_id: string;
|
|
210
206
|
result: {
|
|
211
|
-
acs_credential_id: string | null;
|
|
212
207
|
card_number: string | null;
|
|
213
208
|
};
|
|
214
209
|
action_type: "READ_CARD";
|
|
@@ -14,7 +14,7 @@ const result = z.object({
|
|
|
14
14
|
card_number: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe('A number or
|
|
17
|
+
.describe('A number or string that physically identifies this card.'),
|
|
18
18
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
19
19
|
});
|
|
20
20
|
export const encode_card_action_attempt = z.discriminatedUnion('status', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
|
|
@@ -29,13 +29,10 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
29
29
|
}>, {
|
|
30
30
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
31
31
|
result: z.ZodObject<{
|
|
32
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
33
32
|
card_number: z.ZodNullable<z.ZodString>;
|
|
34
33
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
acs_credential_id: string | null;
|
|
36
34
|
card_number: string | null;
|
|
37
35
|
}, {
|
|
38
|
-
acs_credential_id: string | null;
|
|
39
36
|
card_number: string | null;
|
|
40
37
|
}>;
|
|
41
38
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -43,7 +40,6 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
43
40
|
status: "success";
|
|
44
41
|
action_attempt_id: string;
|
|
45
42
|
result: {
|
|
46
|
-
acs_credential_id: string | null;
|
|
47
43
|
card_number: string | null;
|
|
48
44
|
};
|
|
49
45
|
action_type: "READ_CARD";
|
|
@@ -52,7 +48,6 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
52
48
|
status: "success";
|
|
53
49
|
action_attempt_id: string;
|
|
54
50
|
result: {
|
|
55
|
-
acs_credential_id: string | null;
|
|
56
51
|
card_number: string | null;
|
|
57
52
|
};
|
|
58
53
|
action_type: "READ_CARD";
|
|
@@ -6,15 +6,15 @@ const error = z.object({
|
|
|
6
6
|
message: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const result = z.object({
|
|
9
|
-
acs_credential_id: z
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
// TODO acs_credential_id: z
|
|
10
|
+
// .string()
|
|
11
|
+
// .uuid()
|
|
12
|
+
// .nullable()
|
|
13
|
+
// .describe("Matching acs_credential currently encoded on this card."),
|
|
14
14
|
card_number: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe('A number or
|
|
17
|
+
.describe('A number or string that physically identifies this card.'),
|
|
18
18
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
19
19
|
});
|
|
20
20
|
export const read_card_action_attempt = z.discriminatedUnion('status', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/read-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;AAE1C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"read-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/read-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;AAE1C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,4BAA4B;IAC5B,cAAc;IACd,YAAY;IACZ,gBAAgB;IAChB,0EAA0E;IAC1E,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACrE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;IACvD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,oDAAoD,CAAC;IACjE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,iDAAiD,CAAC;CAC/D,CAAC,CAAA"}
|