@seamapi/types 1.263.1 → 1.264.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.
- package/dist/connect.cjs +438 -84
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3745 -454
- package/lib/seam/connect/models/acs/acs-credential.d.ts +83 -0
- package/lib/seam/connect/models/acs/acs-credential.js +38 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +862 -53
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
- package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
- package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
- package/lib/seam/connect/models/action-attempts/index.js +1 -0
- package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-card.d.ts +875 -0
- package/lib/seam/connect/models/action-attempts/{read-card.js → scan-card.js} +8 -12
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +308 -38
- package/lib/seam/connect/openapi.js +368 -42
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2522 -362
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +48 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
- package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/{read-card.ts → scan-card.ts} +15 -12
- package/src/lib/seam/connect/openapi.ts +373 -44
- package/src/lib/seam/connect/route-types.ts +3362 -502
- package/src/lib/seam/connect/schemas.ts +3 -0
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -91
- package/lib/seam/connect/models/action-attempts/read-card.js.map +0 -1
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
-
action_attempt_id: z.ZodString;
|
|
4
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
5
|
-
}, {
|
|
6
|
-
status: z.ZodLiteral<"pending">;
|
|
7
|
-
result: z.ZodNull;
|
|
8
|
-
error: z.ZodNull;
|
|
9
|
-
}>, {
|
|
10
|
-
action_type: z.ZodLiteral<"READ_CARD">;
|
|
11
|
-
}>, "strip", z.ZodTypeAny, {
|
|
12
|
-
error: null;
|
|
13
|
-
status: "pending";
|
|
14
|
-
action_attempt_id: string;
|
|
15
|
-
result: null;
|
|
16
|
-
action_type: "READ_CARD";
|
|
17
|
-
}, {
|
|
18
|
-
error: null;
|
|
19
|
-
status: "pending";
|
|
20
|
-
action_attempt_id: string;
|
|
21
|
-
result: null;
|
|
22
|
-
action_type: "READ_CARD";
|
|
23
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
24
|
-
action_attempt_id: z.ZodString;
|
|
25
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
26
|
-
}, {
|
|
27
|
-
status: z.ZodLiteral<"success">;
|
|
28
|
-
error: z.ZodNull;
|
|
29
|
-
}>, {
|
|
30
|
-
action_type: z.ZodLiteral<"READ_CARD">;
|
|
31
|
-
result: z.ZodObject<{
|
|
32
|
-
card_number: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
card_number: string | null;
|
|
35
|
-
}, {
|
|
36
|
-
card_number: string | null;
|
|
37
|
-
}>;
|
|
38
|
-
}>, "strip", z.ZodTypeAny, {
|
|
39
|
-
error: null;
|
|
40
|
-
status: "success";
|
|
41
|
-
action_attempt_id: string;
|
|
42
|
-
result: {
|
|
43
|
-
card_number: string | null;
|
|
44
|
-
};
|
|
45
|
-
action_type: "READ_CARD";
|
|
46
|
-
}, {
|
|
47
|
-
error: null;
|
|
48
|
-
status: "success";
|
|
49
|
-
action_attempt_id: string;
|
|
50
|
-
result: {
|
|
51
|
-
card_number: string | null;
|
|
52
|
-
};
|
|
53
|
-
action_type: "READ_CARD";
|
|
54
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
|
-
action_attempt_id: z.ZodString;
|
|
56
|
-
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
57
|
-
}, {
|
|
58
|
-
status: z.ZodLiteral<"error">;
|
|
59
|
-
result: z.ZodNull;
|
|
60
|
-
}>, {
|
|
61
|
-
action_type: z.ZodLiteral<"READ_CARD">;
|
|
62
|
-
error: z.ZodObject<{
|
|
63
|
-
type: z.ZodLiteral<"no_card_on_encoder">;
|
|
64
|
-
message: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
type: "no_card_on_encoder";
|
|
67
|
-
message: string;
|
|
68
|
-
}, {
|
|
69
|
-
type: "no_card_on_encoder";
|
|
70
|
-
message: string;
|
|
71
|
-
}>;
|
|
72
|
-
}>, "strip", z.ZodTypeAny, {
|
|
73
|
-
error: {
|
|
74
|
-
type: "no_card_on_encoder";
|
|
75
|
-
message: string;
|
|
76
|
-
};
|
|
77
|
-
status: "error";
|
|
78
|
-
action_attempt_id: string;
|
|
79
|
-
result: null;
|
|
80
|
-
action_type: "READ_CARD";
|
|
81
|
-
}, {
|
|
82
|
-
error: {
|
|
83
|
-
type: "no_card_on_encoder";
|
|
84
|
-
message: string;
|
|
85
|
-
};
|
|
86
|
-
status: "error";
|
|
87
|
-
action_attempt_id: string;
|
|
88
|
-
result: null;
|
|
89
|
-
action_type: "READ_CARD";
|
|
90
|
-
}>]>;
|
|
91
|
-
export type ReadCardActionAttempt = z.infer<typeof read_card_action_attempt>;
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|