@dev-crew-berlin/enter-js-utils 0.93.1 → 0.94.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.
|
@@ -1261,6 +1261,12 @@ export type components = {
|
|
|
1261
1261
|
reference?: string | null;
|
|
1262
1262
|
/** Amount */
|
|
1263
1263
|
amount: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Currency
|
|
1266
|
+
* @default CHF
|
|
1267
|
+
* @enum {string}
|
|
1268
|
+
*/
|
|
1269
|
+
currency?: "USD" | "EUR" | "CHF";
|
|
1264
1270
|
/** Testmode */
|
|
1265
1271
|
testmode: boolean;
|
|
1266
1272
|
};
|
|
@@ -2149,6 +2155,9 @@ export type operations = {
|
|
|
2149
2155
|
/** Rendered Email Content */
|
|
2150
2156
|
rendered_email_content_instances__instance_name__attendees__attendee_id__emails__email_name__render_get: {
|
|
2151
2157
|
parameters: {
|
|
2158
|
+
query?: {
|
|
2159
|
+
mailing_id?: string | null;
|
|
2160
|
+
};
|
|
2152
2161
|
header?: {
|
|
2153
2162
|
"x-enter-device-name"?: string | null;
|
|
2154
2163
|
};
|
package/dist/lib/tokens.js
CHANGED
|
@@ -23,10 +23,7 @@ export function parseRegistrationToken(tokenString, options) {
|
|
|
23
23
|
return success({
|
|
24
24
|
attendeeId: payload.attendee_id,
|
|
25
25
|
sessionType: payload.session_type ?? 'register',
|
|
26
|
-
email: payload.email
|
|
27
|
-
name: payload.email.name,
|
|
28
|
-
mailingId: payload.email.mailing_id
|
|
29
|
-
} : undefined,
|
|
26
|
+
email: payload.email,
|
|
30
27
|
flags: payload.flags ?? {},
|
|
31
28
|
isExpired
|
|
32
29
|
});
|