@seamapi/types 1.261.1 → 1.262.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 +2 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +67 -25
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +42 -0
- package/lib/seam/connect/openapi.js +1 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +1 -1
- package/src/lib/seam/connect/route-types.ts +20 -20
package/dist/connect.d.cts
CHANGED
|
@@ -1748,21 +1748,21 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1748
1748
|
}>, {
|
|
1749
1749
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
1750
1750
|
error: z.ZodObject<{
|
|
1751
|
-
type: z.
|
|
1751
|
+
type: z.ZodLiteral<"no_card_on_encoder">;
|
|
1752
1752
|
message: z.ZodString;
|
|
1753
1753
|
}, "strip", z.ZodTypeAny, {
|
|
1754
1754
|
message: string;
|
|
1755
|
-
type:
|
|
1755
|
+
type: "no_card_on_encoder";
|
|
1756
1756
|
}, {
|
|
1757
1757
|
message: string;
|
|
1758
|
-
type:
|
|
1758
|
+
type: "no_card_on_encoder";
|
|
1759
1759
|
}>;
|
|
1760
1760
|
}>, "strip", z.ZodTypeAny, {
|
|
1761
1761
|
status: "error";
|
|
1762
1762
|
action_attempt_id: string;
|
|
1763
1763
|
error: {
|
|
1764
1764
|
message: string;
|
|
1765
|
-
type:
|
|
1765
|
+
type: "no_card_on_encoder";
|
|
1766
1766
|
};
|
|
1767
1767
|
result: null;
|
|
1768
1768
|
action_type: "READ_CARD";
|
|
@@ -1771,7 +1771,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1771
1771
|
action_attempt_id: string;
|
|
1772
1772
|
error: {
|
|
1773
1773
|
message: string;
|
|
1774
|
-
type:
|
|
1774
|
+
type: "no_card_on_encoder";
|
|
1775
1775
|
};
|
|
1776
1776
|
result: null;
|
|
1777
1777
|
action_type: "READ_CARD";
|
|
@@ -10723,6 +10723,7 @@ declare const _default: {
|
|
|
10723
10723
|
};
|
|
10724
10724
|
type: {
|
|
10725
10725
|
type: string;
|
|
10726
|
+
enum?: never;
|
|
10726
10727
|
};
|
|
10727
10728
|
};
|
|
10728
10729
|
required: string[];
|
|
@@ -10781,6 +10782,46 @@ declare const _default: {
|
|
|
10781
10782
|
};
|
|
10782
10783
|
required: string[];
|
|
10783
10784
|
type: string;
|
|
10785
|
+
} | {
|
|
10786
|
+
description: string;
|
|
10787
|
+
properties: {
|
|
10788
|
+
action_attempt_id: {
|
|
10789
|
+
description: string;
|
|
10790
|
+
format: string;
|
|
10791
|
+
type: string;
|
|
10792
|
+
'x-title': string;
|
|
10793
|
+
};
|
|
10794
|
+
action_type: {
|
|
10795
|
+
enum: string[];
|
|
10796
|
+
type: string;
|
|
10797
|
+
};
|
|
10798
|
+
error: {
|
|
10799
|
+
properties: {
|
|
10800
|
+
message: {
|
|
10801
|
+
type: string;
|
|
10802
|
+
};
|
|
10803
|
+
type: {
|
|
10804
|
+
enum: string[];
|
|
10805
|
+
type: string;
|
|
10806
|
+
};
|
|
10807
|
+
};
|
|
10808
|
+
required: string[];
|
|
10809
|
+
type: string;
|
|
10810
|
+
nullable?: never;
|
|
10811
|
+
};
|
|
10812
|
+
result: {
|
|
10813
|
+
nullable: boolean;
|
|
10814
|
+
properties?: never;
|
|
10815
|
+
type?: never;
|
|
10816
|
+
required?: never;
|
|
10817
|
+
};
|
|
10818
|
+
status: {
|
|
10819
|
+
enum: string[];
|
|
10820
|
+
type: string;
|
|
10821
|
+
};
|
|
10822
|
+
};
|
|
10823
|
+
required: string[];
|
|
10824
|
+
type: string;
|
|
10784
10825
|
} | {
|
|
10785
10826
|
description: string;
|
|
10786
10827
|
properties: {
|
|
@@ -10908,6 +10949,7 @@ declare const _default: {
|
|
|
10908
10949
|
};
|
|
10909
10950
|
type: {
|
|
10910
10951
|
type: string;
|
|
10952
|
+
enum?: never;
|
|
10911
10953
|
};
|
|
10912
10954
|
};
|
|
10913
10955
|
required: string[];
|
|
@@ -28375,7 +28417,7 @@ interface Routes {
|
|
|
28375
28417
|
result: null;
|
|
28376
28418
|
action_type: 'READ_CARD';
|
|
28377
28419
|
error: {
|
|
28378
|
-
type:
|
|
28420
|
+
type: 'no_card_on_encoder';
|
|
28379
28421
|
message: string;
|
|
28380
28422
|
};
|
|
28381
28423
|
} | {
|
|
@@ -28979,7 +29021,7 @@ interface Routes {
|
|
|
28979
29021
|
result: null;
|
|
28980
29022
|
action_type: 'READ_CARD';
|
|
28981
29023
|
error: {
|
|
28982
|
-
type:
|
|
29024
|
+
type: 'no_card_on_encoder';
|
|
28983
29025
|
message: string;
|
|
28984
29026
|
};
|
|
28985
29027
|
} | {
|
|
@@ -29740,7 +29782,7 @@ interface Routes {
|
|
|
29740
29782
|
result: null;
|
|
29741
29783
|
action_type: 'READ_CARD';
|
|
29742
29784
|
error: {
|
|
29743
|
-
type:
|
|
29785
|
+
type: 'no_card_on_encoder';
|
|
29744
29786
|
message: string;
|
|
29745
29787
|
};
|
|
29746
29788
|
} | {
|
|
@@ -30331,7 +30373,7 @@ interface Routes {
|
|
|
30331
30373
|
result: null;
|
|
30332
30374
|
action_type: 'READ_CARD';
|
|
30333
30375
|
error: {
|
|
30334
|
-
type:
|
|
30376
|
+
type: 'no_card_on_encoder';
|
|
30335
30377
|
message: string;
|
|
30336
30378
|
};
|
|
30337
30379
|
} | {
|
|
@@ -31648,7 +31690,7 @@ interface Routes {
|
|
|
31648
31690
|
result: null;
|
|
31649
31691
|
action_type: 'READ_CARD';
|
|
31650
31692
|
error: {
|
|
31651
|
-
type:
|
|
31693
|
+
type: 'no_card_on_encoder';
|
|
31652
31694
|
message: string;
|
|
31653
31695
|
};
|
|
31654
31696
|
} | {
|
|
@@ -32564,7 +32606,7 @@ interface Routes {
|
|
|
32564
32606
|
result: null;
|
|
32565
32607
|
action_type: 'READ_CARD';
|
|
32566
32608
|
error: {
|
|
32567
|
-
type:
|
|
32609
|
+
type: 'no_card_on_encoder';
|
|
32568
32610
|
message: string;
|
|
32569
32611
|
};
|
|
32570
32612
|
} | {
|
|
@@ -34175,7 +34217,7 @@ interface Routes {
|
|
|
34175
34217
|
result: null;
|
|
34176
34218
|
action_type: 'READ_CARD';
|
|
34177
34219
|
error: {
|
|
34178
|
-
type:
|
|
34220
|
+
type: 'no_card_on_encoder';
|
|
34179
34221
|
message: string;
|
|
34180
34222
|
};
|
|
34181
34223
|
} | {
|
|
@@ -34628,7 +34670,7 @@ interface Routes {
|
|
|
34628
34670
|
result: null;
|
|
34629
34671
|
action_type: 'READ_CARD';
|
|
34630
34672
|
error: {
|
|
34631
|
-
type:
|
|
34673
|
+
type: 'no_card_on_encoder';
|
|
34632
34674
|
message: string;
|
|
34633
34675
|
};
|
|
34634
34676
|
} | {
|
|
@@ -38627,7 +38669,7 @@ interface Routes {
|
|
|
38627
38669
|
result: null;
|
|
38628
38670
|
action_type: 'READ_CARD';
|
|
38629
38671
|
error: {
|
|
38630
|
-
type:
|
|
38672
|
+
type: 'no_card_on_encoder';
|
|
38631
38673
|
message: string;
|
|
38632
38674
|
};
|
|
38633
38675
|
} | {
|
|
@@ -39081,7 +39123,7 @@ interface Routes {
|
|
|
39081
39123
|
result: null;
|
|
39082
39124
|
action_type: 'READ_CARD';
|
|
39083
39125
|
error: {
|
|
39084
|
-
type:
|
|
39126
|
+
type: 'no_card_on_encoder';
|
|
39085
39127
|
message: string;
|
|
39086
39128
|
};
|
|
39087
39129
|
} | {
|
|
@@ -40477,7 +40519,7 @@ interface Routes {
|
|
|
40477
40519
|
result: null;
|
|
40478
40520
|
action_type: 'READ_CARD';
|
|
40479
40521
|
error: {
|
|
40480
|
-
type:
|
|
40522
|
+
type: 'no_card_on_encoder';
|
|
40481
40523
|
message: string;
|
|
40482
40524
|
};
|
|
40483
40525
|
} | {
|
|
@@ -40941,7 +40983,7 @@ interface Routes {
|
|
|
40941
40983
|
result: null;
|
|
40942
40984
|
action_type: 'READ_CARD';
|
|
40943
40985
|
error: {
|
|
40944
|
-
type:
|
|
40986
|
+
type: 'no_card_on_encoder';
|
|
40945
40987
|
message: string;
|
|
40946
40988
|
};
|
|
40947
40989
|
} | {
|
|
@@ -41444,7 +41486,7 @@ interface Routes {
|
|
|
41444
41486
|
result: null;
|
|
41445
41487
|
action_type: 'READ_CARD';
|
|
41446
41488
|
error: {
|
|
41447
|
-
type:
|
|
41489
|
+
type: 'no_card_on_encoder';
|
|
41448
41490
|
message: string;
|
|
41449
41491
|
};
|
|
41450
41492
|
} | {
|
|
@@ -42080,7 +42122,7 @@ interface Routes {
|
|
|
42080
42122
|
result: null;
|
|
42081
42123
|
action_type: 'READ_CARD';
|
|
42082
42124
|
error: {
|
|
42083
|
-
type:
|
|
42125
|
+
type: 'no_card_on_encoder';
|
|
42084
42126
|
message: string;
|
|
42085
42127
|
};
|
|
42086
42128
|
} | {
|
|
@@ -42536,7 +42578,7 @@ interface Routes {
|
|
|
42536
42578
|
result: null;
|
|
42537
42579
|
action_type: 'READ_CARD';
|
|
42538
42580
|
error: {
|
|
42539
|
-
type:
|
|
42581
|
+
type: 'no_card_on_encoder';
|
|
42540
42582
|
message: string;
|
|
42541
42583
|
};
|
|
42542
42584
|
} | {
|
|
@@ -43476,7 +43518,7 @@ interface Routes {
|
|
|
43476
43518
|
result: null;
|
|
43477
43519
|
action_type: 'READ_CARD';
|
|
43478
43520
|
error: {
|
|
43479
|
-
type:
|
|
43521
|
+
type: 'no_card_on_encoder';
|
|
43480
43522
|
message: string;
|
|
43481
43523
|
};
|
|
43482
43524
|
} | {
|
|
@@ -43934,7 +43976,7 @@ interface Routes {
|
|
|
43934
43976
|
result: null;
|
|
43935
43977
|
action_type: 'READ_CARD';
|
|
43936
43978
|
error: {
|
|
43937
|
-
type:
|
|
43979
|
+
type: 'no_card_on_encoder';
|
|
43938
43980
|
message: string;
|
|
43939
43981
|
};
|
|
43940
43982
|
} | {
|
|
@@ -44852,7 +44894,7 @@ interface Routes {
|
|
|
44852
44894
|
result: null;
|
|
44853
44895
|
action_type: 'READ_CARD';
|
|
44854
44896
|
error: {
|
|
44855
|
-
type:
|
|
44897
|
+
type: 'no_card_on_encoder';
|
|
44856
44898
|
message: string;
|
|
44857
44899
|
};
|
|
44858
44900
|
} | {
|
|
@@ -45427,7 +45469,7 @@ interface Routes {
|
|
|
45427
45469
|
result: null;
|
|
45428
45470
|
action_type: 'READ_CARD';
|
|
45429
45471
|
error: {
|
|
45430
|
-
type:
|
|
45472
|
+
type: 'no_card_on_encoder';
|
|
45431
45473
|
message: string;
|
|
45432
45474
|
};
|
|
45433
45475
|
} | {
|
|
@@ -47350,7 +47392,7 @@ interface Routes {
|
|
|
47350
47392
|
result: null;
|
|
47351
47393
|
action_type: 'READ_CARD';
|
|
47352
47394
|
error: {
|
|
47353
|
-
type:
|
|
47395
|
+
type: 'no_card_on_encoder';
|
|
47354
47396
|
message: string;
|
|
47355
47397
|
};
|
|
47356
47398
|
} | {
|
|
@@ -216,18 +216,18 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
216
216
|
}>, {
|
|
217
217
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
218
218
|
error: z.ZodObject<{
|
|
219
|
-
type: z.
|
|
219
|
+
type: z.ZodLiteral<"no_card_on_encoder">;
|
|
220
220
|
message: z.ZodString;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
type:
|
|
222
|
+
type: "no_card_on_encoder";
|
|
223
223
|
message: string;
|
|
224
224
|
}, {
|
|
225
|
-
type:
|
|
225
|
+
type: "no_card_on_encoder";
|
|
226
226
|
message: string;
|
|
227
227
|
}>;
|
|
228
228
|
}>, "strip", z.ZodTypeAny, {
|
|
229
229
|
error: {
|
|
230
|
-
type:
|
|
230
|
+
type: "no_card_on_encoder";
|
|
231
231
|
message: string;
|
|
232
232
|
};
|
|
233
233
|
status: "error";
|
|
@@ -236,7 +236,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
236
236
|
action_type: "READ_CARD";
|
|
237
237
|
}, {
|
|
238
238
|
error: {
|
|
239
|
-
type:
|
|
239
|
+
type: "no_card_on_encoder";
|
|
240
240
|
message: string;
|
|
241
241
|
};
|
|
242
242
|
status: "error";
|
|
@@ -60,18 +60,18 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
60
60
|
}>, {
|
|
61
61
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
62
62
|
error: z.ZodObject<{
|
|
63
|
-
type: z.
|
|
63
|
+
type: z.ZodLiteral<"no_card_on_encoder">;
|
|
64
64
|
message: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
type:
|
|
66
|
+
type: "no_card_on_encoder";
|
|
67
67
|
message: string;
|
|
68
68
|
}, {
|
|
69
|
-
type:
|
|
69
|
+
type: "no_card_on_encoder";
|
|
70
70
|
message: string;
|
|
71
71
|
}>;
|
|
72
72
|
}>, "strip", z.ZodTypeAny, {
|
|
73
73
|
error: {
|
|
74
|
-
type:
|
|
74
|
+
type: "no_card_on_encoder";
|
|
75
75
|
message: string;
|
|
76
76
|
};
|
|
77
77
|
status: "error";
|
|
@@ -80,7 +80,7 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
80
80
|
action_type: "READ_CARD";
|
|
81
81
|
}, {
|
|
82
82
|
error: {
|
|
83
|
-
type:
|
|
83
|
+
type: "no_card_on_encoder";
|
|
84
84
|
message: string;
|
|
85
85
|
};
|
|
86
86
|
status: "error";
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
|
|
3
3
|
const action_type = z.literal('READ_CARD');
|
|
4
4
|
const error = z.object({
|
|
5
|
-
type: z.
|
|
5
|
+
type: z.literal('no_card_on_encoder'),
|
|
6
6
|
message: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const result = z.object({
|
|
@@ -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,
|
|
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,OAAO,CAAC,oBAAoB,CAAC;IACrC,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"}
|
|
@@ -978,6 +978,7 @@ declare const _default: {
|
|
|
978
978
|
};
|
|
979
979
|
type: {
|
|
980
980
|
type: string;
|
|
981
|
+
enum?: never;
|
|
981
982
|
};
|
|
982
983
|
};
|
|
983
984
|
required: string[];
|
|
@@ -1036,6 +1037,46 @@ declare const _default: {
|
|
|
1036
1037
|
};
|
|
1037
1038
|
required: string[];
|
|
1038
1039
|
type: string;
|
|
1040
|
+
} | {
|
|
1041
|
+
description: string;
|
|
1042
|
+
properties: {
|
|
1043
|
+
action_attempt_id: {
|
|
1044
|
+
description: string;
|
|
1045
|
+
format: string;
|
|
1046
|
+
type: string;
|
|
1047
|
+
'x-title': string;
|
|
1048
|
+
};
|
|
1049
|
+
action_type: {
|
|
1050
|
+
enum: string[];
|
|
1051
|
+
type: string;
|
|
1052
|
+
};
|
|
1053
|
+
error: {
|
|
1054
|
+
properties: {
|
|
1055
|
+
message: {
|
|
1056
|
+
type: string;
|
|
1057
|
+
};
|
|
1058
|
+
type: {
|
|
1059
|
+
enum: string[];
|
|
1060
|
+
type: string;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
required: string[];
|
|
1064
|
+
type: string;
|
|
1065
|
+
nullable?: never;
|
|
1066
|
+
};
|
|
1067
|
+
result: {
|
|
1068
|
+
nullable: boolean;
|
|
1069
|
+
properties?: never;
|
|
1070
|
+
type?: never;
|
|
1071
|
+
required?: never;
|
|
1072
|
+
};
|
|
1073
|
+
status: {
|
|
1074
|
+
enum: string[];
|
|
1075
|
+
type: string;
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
required: string[];
|
|
1079
|
+
type: string;
|
|
1039
1080
|
} | {
|
|
1040
1081
|
description: string;
|
|
1041
1082
|
properties: {
|
|
@@ -1163,6 +1204,7 @@ declare const _default: {
|
|
|
1163
1204
|
};
|
|
1164
1205
|
type: {
|
|
1165
1206
|
type: string;
|
|
1207
|
+
enum?: never;
|
|
1166
1208
|
};
|
|
1167
1209
|
};
|
|
1168
1210
|
required: string[];
|