@seamapi/types 1.790.0 → 1.791.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 +4 -31
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -216
- package/dist/index.cjs +4 -31
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -15
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +0 -15
- package/lib/seam/connect/models/action-attempts/encode-credential.js +2 -13
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +0 -21
- package/lib/seam/connect/openapi.js +2 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -180
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +2 -20
- package/src/lib/seam/connect/openapi.ts +2 -21
- package/src/lib/seam/connect/route-types.ts +30 -210
|
@@ -2754,15 +2754,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2754
2754
|
}, {
|
|
2755
2755
|
message: string;
|
|
2756
2756
|
type: "encoding_interrupted";
|
|
2757
|
-
}>, z.ZodObject<{
|
|
2758
|
-
type: z.ZodLiteral<"credential_being_deleted">;
|
|
2759
|
-
message: z.ZodString;
|
|
2760
|
-
}, "strip", z.ZodTypeAny, {
|
|
2761
|
-
message: string;
|
|
2762
|
-
type: "credential_being_deleted";
|
|
2763
|
-
}, {
|
|
2764
|
-
message: string;
|
|
2765
|
-
type: "credential_being_deleted";
|
|
2766
2757
|
}>, z.ZodObject<{
|
|
2767
2758
|
type: z.ZodLiteral<"credential_deleted">;
|
|
2768
2759
|
message: z.ZodString;
|
|
@@ -2803,9 +2794,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2803
2794
|
} | {
|
|
2804
2795
|
message: string;
|
|
2805
2796
|
type: "encoding_interrupted";
|
|
2806
|
-
} | {
|
|
2807
|
-
message: string;
|
|
2808
|
-
type: "credential_being_deleted";
|
|
2809
2797
|
} | {
|
|
2810
2798
|
message: string;
|
|
2811
2799
|
type: "credential_deleted";
|
|
@@ -2842,9 +2830,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2842
2830
|
} | {
|
|
2843
2831
|
message: string;
|
|
2844
2832
|
type: "encoding_interrupted";
|
|
2845
|
-
} | {
|
|
2846
|
-
message: string;
|
|
2847
|
-
type: "credential_being_deleted";
|
|
2848
2833
|
} | {
|
|
2849
2834
|
message: string;
|
|
2850
2835
|
type: "credential_deleted";
|
|
@@ -1033,15 +1033,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1033
1033
|
}, {
|
|
1034
1034
|
message: string;
|
|
1035
1035
|
type: "encoding_interrupted";
|
|
1036
|
-
}>, z.ZodObject<{
|
|
1037
|
-
type: z.ZodLiteral<"credential_being_deleted">;
|
|
1038
|
-
message: z.ZodString;
|
|
1039
|
-
}, "strip", z.ZodTypeAny, {
|
|
1040
|
-
message: string;
|
|
1041
|
-
type: "credential_being_deleted";
|
|
1042
|
-
}, {
|
|
1043
|
-
message: string;
|
|
1044
|
-
type: "credential_being_deleted";
|
|
1045
1036
|
}>, z.ZodObject<{
|
|
1046
1037
|
type: z.ZodLiteral<"credential_deleted">;
|
|
1047
1038
|
message: z.ZodString;
|
|
@@ -1082,9 +1073,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1082
1073
|
} | {
|
|
1083
1074
|
message: string;
|
|
1084
1075
|
type: "encoding_interrupted";
|
|
1085
|
-
} | {
|
|
1086
|
-
message: string;
|
|
1087
|
-
type: "credential_being_deleted";
|
|
1088
1076
|
} | {
|
|
1089
1077
|
message: string;
|
|
1090
1078
|
type: "credential_deleted";
|
|
@@ -1121,9 +1109,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1121
1109
|
} | {
|
|
1122
1110
|
message: string;
|
|
1123
1111
|
type: "encoding_interrupted";
|
|
1124
|
-
} | {
|
|
1125
|
-
message: string;
|
|
1126
|
-
type: "credential_being_deleted";
|
|
1127
1112
|
} | {
|
|
1128
1113
|
message: string;
|
|
1129
1114
|
type: "credential_deleted";
|
|
@@ -74,26 +74,16 @@ const encoding_interrupted_error = z
|
|
|
74
74
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
75
75
|
})
|
|
76
76
|
.describe('Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.');
|
|
77
|
-
const credential_being_deleted_error = z
|
|
78
|
-
.object({
|
|
79
|
-
type: z
|
|
80
|
-
.literal('credential_being_deleted')
|
|
81
|
-
.describe('Error type to indicate that the credential is being deleted and can no longer be encoded.'),
|
|
82
|
-
message: z
|
|
83
|
-
.string()
|
|
84
|
-
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
85
|
-
})
|
|
86
|
-
.describe('Error to indicate that the credential is being deleted and can no longer be encoded.');
|
|
87
77
|
const credential_deleted_error = z
|
|
88
78
|
.object({
|
|
89
79
|
type: z
|
|
90
80
|
.literal('credential_deleted')
|
|
91
|
-
.describe('Error type to indicate that the credential was deleted
|
|
81
|
+
.describe('Error type to indicate that the credential was deleted and can no longer be encoded.'),
|
|
92
82
|
message: z
|
|
93
83
|
.string()
|
|
94
84
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
95
85
|
})
|
|
96
|
-
.describe('Error to indicate that the credential was deleted
|
|
86
|
+
.describe('Error to indicate that the credential was deleted and can no longer be encoded.');
|
|
97
87
|
const error = z.union([
|
|
98
88
|
...common_action_attempt_errors,
|
|
99
89
|
no_credential_on_encoder_error,
|
|
@@ -103,7 +93,6 @@ const error = z.union([
|
|
|
103
93
|
encoder_communication_timeout,
|
|
104
94
|
bridge_disconnected_error,
|
|
105
95
|
encoding_interrupted_error,
|
|
106
|
-
credential_being_deleted_error,
|
|
107
96
|
credential_deleted_error,
|
|
108
97
|
]);
|
|
109
98
|
const result = acs_credential
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CAAA;AAEH,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,yEAAyE,CAC1E;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,oEAAoE,CACrE,CAAA;AAEH,MAAM,wBAAwB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,oBAAoB,CAAC;SAC7B,QAAQ,CAAC,wDAAwD,CAAC;IACrE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mDAAmD,CAAC,CAAA;AAEhE,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,uEAAuE,CACxE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,kEAAkE,CAAC,CAAA;AAE/E,MAAM,yBAAyB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,qBAAqB,CAAC;SAC9B,QAAQ,CACP,wGAAwG,CACzG;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,mGAAmG,CACpG,CAAA;AAEH,MAAM,0BAA0B,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CACP,0IAA0I,CAC3I;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,qIAAqI,CACtI,CAAA;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts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AAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;IAC7B,wBAAwB;IACxB,6BAA6B;IAC7B,yBAAyB;IACzB,0BAA0B;IAC1B,wBAAwB;CACzB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,4HAA4H,CAC7H,CAAA;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,4EAA4E,CAC7E;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2EAA2E,CAC5E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
|
|
@@ -10333,15 +10333,6 @@ export declare const batch: z.ZodObject<{
|
|
|
10333
10333
|
}, {
|
|
10334
10334
|
message: string;
|
|
10335
10335
|
type: "encoding_interrupted";
|
|
10336
|
-
}>, z.ZodObject<{
|
|
10337
|
-
type: z.ZodLiteral<"credential_being_deleted">;
|
|
10338
|
-
message: z.ZodString;
|
|
10339
|
-
}, "strip", z.ZodTypeAny, {
|
|
10340
|
-
message: string;
|
|
10341
|
-
type: "credential_being_deleted";
|
|
10342
|
-
}, {
|
|
10343
|
-
message: string;
|
|
10344
|
-
type: "credential_being_deleted";
|
|
10345
10336
|
}>, z.ZodObject<{
|
|
10346
10337
|
type: z.ZodLiteral<"credential_deleted">;
|
|
10347
10338
|
message: z.ZodString;
|
|
@@ -10382,9 +10373,6 @@ export declare const batch: z.ZodObject<{
|
|
|
10382
10373
|
} | {
|
|
10383
10374
|
message: string;
|
|
10384
10375
|
type: "encoding_interrupted";
|
|
10385
|
-
} | {
|
|
10386
|
-
message: string;
|
|
10387
|
-
type: "credential_being_deleted";
|
|
10388
10376
|
} | {
|
|
10389
10377
|
message: string;
|
|
10390
10378
|
type: "credential_deleted";
|
|
@@ -10421,9 +10409,6 @@ export declare const batch: z.ZodObject<{
|
|
|
10421
10409
|
} | {
|
|
10422
10410
|
message: string;
|
|
10423
10411
|
type: "encoding_interrupted";
|
|
10424
|
-
} | {
|
|
10425
|
-
message: string;
|
|
10426
|
-
type: "credential_being_deleted";
|
|
10427
10412
|
} | {
|
|
10428
10413
|
message: string;
|
|
10429
10414
|
type: "credential_deleted";
|
|
@@ -27266,9 +27251,6 @@ export declare const batch: z.ZodObject<{
|
|
|
27266
27251
|
} | {
|
|
27267
27252
|
message: string;
|
|
27268
27253
|
type: "encoding_interrupted";
|
|
27269
|
-
} | {
|
|
27270
|
-
message: string;
|
|
27271
|
-
type: "credential_being_deleted";
|
|
27272
27254
|
} | {
|
|
27273
27255
|
message: string;
|
|
27274
27256
|
type: "credential_deleted";
|
|
@@ -32147,9 +32129,6 @@ export declare const batch: z.ZodObject<{
|
|
|
32147
32129
|
} | {
|
|
32148
32130
|
message: string;
|
|
32149
32131
|
type: "encoding_interrupted";
|
|
32150
|
-
} | {
|
|
32151
|
-
message: string;
|
|
32152
|
-
type: "credential_being_deleted";
|
|
32153
32132
|
} | {
|
|
32154
32133
|
message: string;
|
|
32155
32134
|
type: "credential_deleted";
|
|
@@ -7132,30 +7132,14 @@ export default {
|
|
|
7132
7132
|
type: 'object',
|
|
7133
7133
|
},
|
|
7134
7134
|
{
|
|
7135
|
-
description: 'Error to indicate that the credential
|
|
7135
|
+
description: 'Error to indicate that the credential was deleted and can no longer be encoded.',
|
|
7136
7136
|
properties: {
|
|
7137
7137
|
message: {
|
|
7138
7138
|
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7139
7139
|
type: 'string',
|
|
7140
7140
|
},
|
|
7141
7141
|
type: {
|
|
7142
|
-
description: 'Error type to indicate that the credential
|
|
7143
|
-
enum: ['credential_being_deleted'],
|
|
7144
|
-
type: 'string',
|
|
7145
|
-
},
|
|
7146
|
-
},
|
|
7147
|
-
required: ['type', 'message'],
|
|
7148
|
-
type: 'object',
|
|
7149
|
-
},
|
|
7150
|
-
{
|
|
7151
|
-
description: 'Error to indicate that the credential was deleted while encoding was in progress.',
|
|
7152
|
-
properties: {
|
|
7153
|
-
message: {
|
|
7154
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7155
|
-
type: 'string',
|
|
7156
|
-
},
|
|
7157
|
-
type: {
|
|
7158
|
-
description: 'Error type to indicate that the credential was deleted while encoding was in progress.',
|
|
7142
|
+
description: 'Error type to indicate that the credential was deleted and can no longer be encoded.',
|
|
7159
7143
|
enum: ['credential_deleted'],
|
|
7160
7144
|
type: 'string',
|
|
7161
7145
|
},
|