@unidy.io/sdk 1.1.4 → 1.2.0-alpha
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/cjs/app-globals-DSKjcXX_.js.map +1 -1
- package/dist/cjs/{auth-store-BaxuIp4z.js → auth-store-DC9EVec8.js} +2 -3
- package/dist/cjs/auth-store-DC9EVec8.js.map +1 -0
- package/dist/cjs/{i18n-BoDZ8kd2.js → i18n-BAZB-eHh.js} +2 -8
- package/dist/cjs/{i18n-BoDZ8kd2.js.map → i18n-BAZB-eHh.js.map} +1 -1
- package/dist/cjs/{index-R2MKLaem.js → index-CvFbf5-D.js} +1477 -1105
- package/dist/cjs/index-CvFbf5-D.js.map +1 -0
- package/dist/cjs/index.cjs.js +6 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{newsletter-helpers-DR0vsegt.js → newsletter-helpers-Dj0yYHZf.js} +61 -74
- package/dist/cjs/newsletter-helpers-Dj0yYHZf.js.map +1 -0
- package/dist/cjs/{profile-helpers-B2h2III_.js → profile-helpers-D66Ycaft.js} +3 -3
- package/dist/cjs/{profile-helpers-B2h2III_.js.map → profile-helpers-D66Ycaft.js.map} +1 -1
- package/dist/cjs/u-conditional-render.cjs.entry.js +5 -6
- package/dist/cjs/u-conditional-render.entry.cjs.js.map +1 -1
- package/dist/cjs/u-config.cjs.entry.js +5 -6
- package/dist/cjs/u-config.entry.cjs.js.map +1 -1
- package/dist/cjs/u-email-field.cjs.entry.js +2 -2
- package/dist/cjs/u-error-message.cjs.entry.js +3 -3
- package/dist/cjs/u-error-message.entry.cjs.js.map +1 -1
- package/dist/cjs/u-field.u-raw-field.entry.cjs.js.map +1 -1
- package/dist/cjs/u-field_2.cjs.entry.js +2 -2
- package/dist/cjs/u-full-profile.cjs.entry.js +1 -1
- package/dist/cjs/u-logout-button.cjs.entry.js +6 -7
- package/dist/cjs/u-logout-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-magic-code-field.cjs.entry.js +5 -6
- package/dist/cjs/u-magic-code-field.entry.cjs.js.map +1 -1
- package/dist/cjs/u-missing-field.cjs.entry.js +1 -1
- package/dist/cjs/u-missing-fields-submit-button.cjs.entry.js +9 -5
- package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +5 -6
- package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +6 -7
- package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +5 -6
- package/dist/cjs/u-newsletter-preference-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-resend-doi-button.cjs.entry.js +4 -5
- package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-root.cjs.entry.js +5 -6
- package/dist/cjs/u-newsletter-root.entry.cjs.js.map +1 -1
- package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +4 -5
- package/dist/cjs/u-newsletter-toggle-subscription-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-passkey.cjs.entry.js +5 -6
- package/dist/cjs/u-passkey.entry.cjs.js.map +1 -1
- package/dist/cjs/u-password-field.cjs.entry.js +2 -2
- package/dist/cjs/u-profile.u-submit-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-profile_2.cjs.entry.js +35 -55
- package/dist/cjs/u-registration-button.cjs.entry.js +2 -2
- package/dist/cjs/u-reset-password-button.cjs.entry.js +4 -5
- package/dist/cjs/u-reset-password-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-send-magic-code-button.cjs.entry.js +5 -6
- package/dist/cjs/u-send-magic-code-button.entry.cjs.js.map +1 -1
- package/dist/cjs/u-signed-in.cjs.entry.js +1 -1
- package/dist/cjs/u-signin-root.cjs.entry.js +1 -1
- package/dist/cjs/u-signin-step.cjs.entry.js +5 -6
- package/dist/cjs/u-signin-step.entry.cjs.js.map +1 -1
- package/dist/cjs/u-signin-strategy.cjs.entry.js +1 -1
- package/dist/cjs/u-social-login-button.cjs.entry.js +2 -2
- package/dist/cjs/u-spinner.cjs.entry.js +1 -1
- package/dist/cjs/u-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/u-ticketable-list.cjs.entry.js +39 -29
- package/dist/cjs/u-ticketable-list.entry.cjs.js.map +1 -1
- package/dist/collection/api/base-client.js +129 -0
- package/dist/collection/api/base-client.js.map +1 -0
- package/dist/collection/api/base-service.js +72 -0
- package/dist/collection/api/base-service.js.map +1 -0
- package/dist/collection/api/client.js +18 -139
- package/dist/collection/api/client.js.map +1 -1
- package/dist/collection/api/index.js +25 -5
- package/dist/collection/api/index.js.map +1 -1
- package/dist/collection/api/shared.js +11 -2
- package/dist/collection/api/shared.js.map +1 -1
- package/dist/collection/api/standalone.js +88 -0
- package/dist/collection/api/standalone.js.map +1 -0
- package/dist/collection/auth/api/auth.js +66 -124
- package/dist/collection/auth/api/auth.js.map +1 -1
- package/dist/collection/auth/api/schemas.js +78 -0
- package/dist/collection/auth/api/schemas.js.map +1 -0
- package/dist/collection/auth/auth-helpers.js +47 -36
- package/dist/collection/auth/auth-helpers.js.map +1 -1
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js +4 -1
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js.map +1 -1
- package/dist/collection/auth/components/password-field/password-field.js +1 -1
- package/dist/collection/auth/passkey-auth.js +8 -6
- package/dist/collection/auth/passkey-auth.js.map +1 -1
- package/dist/collection/auth/store/auth-store.js +0 -1
- package/dist/collection/auth/store/auth-store.js.map +1 -1
- package/dist/collection/locales/de.json +0 -1
- package/dist/collection/locales/en.json +0 -1
- package/dist/collection/locales/fr.json +0 -1
- package/dist/collection/locales/it.json +0 -1
- package/dist/collection/locales/nl_be.json +0 -1
- package/dist/collection/locales/ro.json +0 -1
- package/dist/collection/newsletter/api/newsletters.js +192 -167
- package/dist/collection/newsletter/api/newsletters.js.map +1 -1
- package/dist/collection/newsletter/api/schemas.js +112 -0
- package/dist/collection/newsletter/api/schemas.js.map +1 -0
- package/dist/collection/newsletter/newsletter-helpers.js +57 -70
- package/dist/collection/newsletter/newsletter-helpers.js.map +1 -1
- package/dist/collection/profile/api/profile.js +56 -155
- package/dist/collection/profile/api/profile.js.map +1 -1
- package/dist/collection/profile/api/schemas.js +120 -0
- package/dist/collection/profile/api/schemas.js.map +1 -0
- package/dist/collection/profile/components/field/field.css +1 -1
- package/dist/collection/profile/components/profile/profile.js +35 -101
- package/dist/collection/profile/components/profile/profile.js.map +1 -1
- package/dist/collection/shared/components/config/config.js +2 -2
- package/dist/collection/shared/components/error-message/error-message.js +3 -3
- package/dist/collection/shared/components/error-message/error-message.js.map +1 -1
- package/dist/collection/shared/components/spinner/spinner.css +1 -1
- package/dist/collection/shared/components/submit-button/submit-button.css +1 -1
- package/dist/collection/ticketable/api/schemas.js +58 -9
- package/dist/collection/ticketable/api/schemas.js.map +1 -1
- package/dist/collection/ticketable/api/subscriptions.js +13 -44
- package/dist/collection/ticketable/api/subscriptions.js.map +1 -1
- package/dist/collection/ticketable/api/ticketable-service.js +74 -0
- package/dist/collection/ticketable/api/ticketable-service.js.map +1 -0
- package/dist/collection/ticketable/api/tickets.js +13 -45
- package/dist/collection/ticketable/api/tickets.js.map +1 -1
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js +37 -77
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +1 -1
- package/dist/components/auth-store.js +0 -1
- package/dist/components/auth-store.js.map +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/field.js.map +1 -1
- package/dist/components/i18n.js +0 -6
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +1475 -1106
- package/dist/components/index2.js.map +1 -1
- package/dist/components/newsletter-helpers.js +57 -70
- package/dist/components/newsletter-helpers.js.map +1 -1
- package/dist/components/profile.js +34 -54
- package/dist/components/profile.js.map +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/submit-button.js +1 -1
- package/dist/components/submit-button.js.map +1 -1
- package/dist/components/u-config.js +1 -2
- package/dist/components/u-config.js.map +1 -1
- package/dist/components/u-error-message.js +2 -2
- package/dist/components/u-error-message.js.map +1 -1
- package/dist/components/u-logout-button.js +1 -1
- package/dist/components/u-magic-code-field.js +1 -1
- package/dist/components/u-missing-fields-submit-button.js +4 -1
- package/dist/components/u-missing-fields-submit-button.js.map +1 -1
- package/dist/components/u-newsletter-root.js +1 -1
- package/dist/components/u-passkey.js +1 -1
- package/dist/components/u-reset-password-button.js +1 -1
- package/dist/components/u-send-magic-code-button.js +1 -1
- package/dist/components/u-signin-step.js +1 -1
- package/dist/components/u-ticketable-list.js +36 -29
- package/dist/components/u-ticketable-list.js.map +1 -1
- package/dist/esm/app-globals-CPU9ZcqZ.js.map +1 -1
- package/dist/esm/{auth-store-CVvBlKGv.js → auth-store-BMqUdTpC.js} +2 -3
- package/dist/esm/auth-store-BMqUdTpC.js.map +1 -0
- package/dist/esm/{i18n-CLdWzy5J.js → i18n-BANodpxG.js} +2 -8
- package/dist/esm/{i18n-CLdWzy5J.js.map → i18n-BANodpxG.js.map} +1 -1
- package/dist/esm/{index-DSDkaHWI.js → index-2p1QEJrx.js} +1477 -1108
- package/dist/esm/index-2p1QEJrx.js.map +1 -0
- package/dist/esm/index.js +3 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{newsletter-helpers-Dc_24im3.js → newsletter-helpers-D64LTcSM.js} +61 -74
- package/dist/esm/newsletter-helpers-D64LTcSM.js.map +1 -0
- package/dist/esm/{profile-helpers-CglNd6Nw.js → profile-helpers-DAvXZ9Uj.js} +3 -3
- package/dist/esm/{profile-helpers-CglNd6Nw.js.map → profile-helpers-DAvXZ9Uj.js.map} +1 -1
- package/dist/esm/u-conditional-render.entry.js +5 -6
- package/dist/esm/u-conditional-render.entry.js.map +1 -1
- package/dist/esm/u-config.entry.js +4 -5
- package/dist/esm/u-config.entry.js.map +1 -1
- package/dist/esm/u-email-field.entry.js +2 -2
- package/dist/esm/u-error-message.entry.js +3 -3
- package/dist/esm/u-error-message.entry.js.map +1 -1
- package/dist/esm/u-field.u-raw-field.entry.js.map +1 -1
- package/dist/esm/u-field_2.entry.js +2 -2
- package/dist/esm/u-full-profile.entry.js +1 -1
- package/dist/esm/u-logout-button.entry.js +5 -6
- package/dist/esm/u-logout-button.entry.js.map +1 -1
- package/dist/esm/u-magic-code-field.entry.js +4 -5
- package/dist/esm/u-magic-code-field.entry.js.map +1 -1
- package/dist/esm/u-missing-field.entry.js +1 -1
- package/dist/esm/u-missing-fields-submit-button.entry.js +9 -5
- package/dist/esm/u-missing-fields-submit-button.entry.js.map +1 -1
- package/dist/esm/u-newsletter-checkbox.entry.js +5 -6
- package/dist/esm/u-newsletter-checkbox.entry.js.map +1 -1
- package/dist/esm/u-newsletter-logout-button.entry.js +6 -7
- package/dist/esm/u-newsletter-logout-button.entry.js.map +1 -1
- package/dist/esm/u-newsletter-preference-checkbox.entry.js +5 -6
- package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +1 -1
- package/dist/esm/u-newsletter-resend-doi-button.entry.js +4 -5
- package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +1 -1
- package/dist/esm/u-newsletter-root.entry.js +4 -5
- package/dist/esm/u-newsletter-root.entry.js.map +1 -1
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +4 -5
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +1 -1
- package/dist/esm/u-passkey.entry.js +4 -5
- package/dist/esm/u-passkey.entry.js.map +1 -1
- package/dist/esm/u-password-field.entry.js +2 -2
- package/dist/esm/u-profile.u-submit-button.entry.js.map +1 -1
- package/dist/esm/u-profile_2.entry.js +36 -56
- package/dist/esm/u-registration-button.entry.js +2 -2
- package/dist/esm/u-reset-password-button.entry.js +3 -4
- package/dist/esm/u-reset-password-button.entry.js.map +1 -1
- package/dist/esm/u-send-magic-code-button.entry.js +4 -5
- package/dist/esm/u-send-magic-code-button.entry.js.map +1 -1
- package/dist/esm/u-signed-in.entry.js +1 -1
- package/dist/esm/u-signin-root.entry.js +1 -1
- package/dist/esm/u-signin-step.entry.js +4 -5
- package/dist/esm/u-signin-step.entry.js.map +1 -1
- package/dist/esm/u-signin-strategy.entry.js +1 -1
- package/dist/esm/u-social-login-button.entry.js +2 -2
- package/dist/esm/u-spinner.entry.js +1 -1
- package/dist/esm/u-spinner.entry.js.map +1 -1
- package/dist/esm/u-ticketable-list.entry.js +40 -30
- package/dist/esm/u-ticketable-list.entry.js.map +1 -1
- package/dist/sdk/index.esm.js +1 -1
- package/dist/sdk/index.esm.js.map +1 -1
- package/dist/sdk/locales/de.json +0 -1
- package/dist/sdk/locales/en.json +0 -1
- package/dist/sdk/locales/fr.json +0 -1
- package/dist/sdk/locales/it.json +0 -1
- package/dist/sdk/locales/nl_be.json +0 -1
- package/dist/sdk/locales/ro.json +0 -1
- package/dist/sdk/{p-5babee6b.entry.js → p-098eef67.entry.js} +2 -2
- package/dist/sdk/p-0e74de96.entry.js +2 -0
- package/dist/sdk/p-0e74de96.entry.js.map +1 -0
- package/dist/sdk/p-0ed36cbb.entry.js +2 -0
- package/dist/sdk/p-0ed36cbb.entry.js.map +1 -0
- package/dist/sdk/p-1149e044.entry.js +2 -0
- package/dist/sdk/p-1149e044.entry.js.map +1 -0
- package/dist/sdk/p-16d763fd.entry.js +2 -0
- package/dist/sdk/p-16d763fd.entry.js.map +1 -0
- package/dist/sdk/p-1d404c36.entry.js +2 -0
- package/dist/sdk/p-1d404c36.entry.js.map +1 -0
- package/dist/sdk/p-32da9922.entry.js +2 -0
- package/dist/sdk/p-32da9922.entry.js.map +1 -0
- package/dist/sdk/p-3d3a9c90.entry.js +2 -0
- package/dist/sdk/p-3d3a9c90.entry.js.map +1 -0
- package/dist/sdk/p-43024bd6.entry.js +2 -0
- package/dist/sdk/p-43024bd6.entry.js.map +1 -0
- package/dist/sdk/{p-e2e7061b.entry.js → p-5da49d00.entry.js} +2 -2
- package/dist/sdk/{p-f961fbea.entry.js → p-67af762e.entry.js} +2 -2
- package/dist/sdk/{p-f961fbea.entry.js.map → p-67af762e.entry.js.map} +1 -1
- package/dist/sdk/p-7099bd56.entry.js +2 -0
- package/dist/sdk/p-7099bd56.entry.js.map +1 -0
- package/dist/sdk/p-745742f1.entry.js +2 -0
- package/dist/sdk/{p-9e71a36c.entry.js → p-74e6523f.entry.js} +2 -2
- package/dist/sdk/p-86d16818.entry.js +2 -0
- package/dist/sdk/{p-effaf86b.entry.js.map → p-86d16818.entry.js.map} +1 -1
- package/dist/sdk/{p-DA84OuuU.js → p-BasehRhW.js} +2 -2
- package/dist/sdk/{p-DA84OuuU.js.map → p-BasehRhW.js.map} +1 -1
- package/dist/sdk/p-C4aHo4nN.js +2 -0
- package/dist/sdk/p-C4aHo4nN.js.map +1 -0
- package/dist/sdk/p-CFiZLMAA.js.map +1 -1
- package/dist/sdk/p-DGDhaqCd.js +2 -0
- package/dist/sdk/p-DGDhaqCd.js.map +1 -0
- package/dist/sdk/{p-CbRhHGU5.js → p-DSq94RWc.js} +2 -2
- package/dist/sdk/{p-CbRhHGU5.js.map → p-DSq94RWc.js.map} +1 -1
- package/dist/sdk/p-DSwwVdp1.js +2 -0
- package/dist/sdk/p-DSwwVdp1.js.map +1 -0
- package/dist/sdk/p-a037bbe3.entry.js +2 -0
- package/dist/sdk/p-a037bbe3.entry.js.map +1 -0
- package/dist/sdk/p-adcb7911.entry.js +2 -0
- package/dist/sdk/p-adcb7911.entry.js.map +1 -0
- package/dist/sdk/{p-39b61f33.entry.js → p-bbbec3d4.entry.js} +2 -2
- package/dist/sdk/{p-f232929b.entry.js → p-c2fba7c8.entry.js} +2 -2
- package/dist/sdk/p-c4618822.entry.js +2 -0
- package/dist/sdk/p-c4618822.entry.js.map +1 -0
- package/dist/sdk/p-ca4e57f2.entry.js +2 -0
- package/dist/sdk/p-ca4e57f2.entry.js.map +1 -0
- package/dist/sdk/p-ce4ab77c.entry.js +2 -0
- package/dist/sdk/p-ce4ab77c.entry.js.map +1 -0
- package/dist/sdk/p-d143e097.entry.js +2 -0
- package/dist/sdk/p-d143e097.entry.js.map +1 -0
- package/dist/sdk/{p-a69b83ec.entry.js → p-e0d2397c.entry.js} +2 -2
- package/dist/sdk/{p-80034205.entry.js → p-e6beb9d7.entry.js} +2 -2
- package/dist/sdk/p-ecc7fcff.entry.js +2 -0
- package/dist/sdk/p-ecc7fcff.entry.js.map +1 -0
- package/dist/sdk/{p-2cb6a2d0.entry.js → p-f1788e52.entry.js} +2 -2
- package/dist/sdk/p-fb665a5c.entry.js +2 -0
- package/dist/sdk/p-fb665a5c.entry.js.map +1 -0
- package/dist/sdk/p-fc67cf07.entry.js +2 -0
- package/dist/sdk/p-fc67cf07.entry.js.map +1 -0
- package/dist/sdk/sdk.esm.js +1 -1
- package/dist/sdk/u-conditional-render.entry.esm.js.map +1 -1
- package/dist/sdk/u-config.entry.esm.js.map +1 -1
- package/dist/sdk/u-error-message.entry.esm.js.map +1 -1
- package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +1 -1
- package/dist/sdk/u-logout-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-magic-code-field.entry.esm.js.map +1 -1
- package/dist/sdk/u-missing-fields-submit-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-logout-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-root.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-passkey.entry.esm.js.map +1 -1
- package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-reset-password-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-signin-step.entry.esm.js.map +1 -1
- package/dist/sdk/u-spinner.entry.esm.js.map +1 -1
- package/dist/sdk/u-ticketable-list.entry.esm.js.map +1 -1
- package/dist/types/api/base-client.d.ts +54 -0
- package/dist/types/api/base-service.d.ts +62 -0
- package/dist/types/api/client.d.ts +9 -31
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/shared.d.ts +11 -0
- package/dist/types/api/standalone.d.ts +105 -0
- package/dist/types/auth/api/auth.d.ts +71 -287
- package/dist/types/auth/api/schemas.d.ts +572 -0
- package/dist/types/auth/auth-helpers.d.ts +65 -66
- package/dist/types/auth/store/auth-store.d.ts +3 -3
- package/dist/types/components.d.ts +0 -72
- package/dist/types/newsletter/api/newsletters.d.ts +73 -196
- package/dist/types/newsletter/api/schemas.d.ts +192 -0
- package/dist/types/profile/api/profile.d.ts +12 -237
- package/dist/types/profile/api/schemas.d.ts +336 -0
- package/dist/types/profile/components/profile/profile.d.ts +1 -17
- package/dist/types/shared/components/error-message/error-message.d.ts +1 -1
- package/dist/types/ticketable/api/schemas.d.ts +108 -15
- package/dist/types/ticketable/api/subscriptions.d.ts +16 -83
- package/dist/types/ticketable/api/ticketable-service.d.ts +39 -0
- package/dist/types/ticketable/api/tickets.d.ts +16 -85
- package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +2 -12
- package/package.json +5 -1
- package/dist/cjs/auth-NU3DBc-6.js +0 -581
- package/dist/cjs/auth-NU3DBc-6.js.map +0 -1
- package/dist/cjs/auth-store-BaxuIp4z.js.map +0 -1
- package/dist/cjs/index-R2MKLaem.js.map +0 -1
- package/dist/cjs/newsletter-helpers-DR0vsegt.js.map +0 -1
- package/dist/collection/ticketable/api/get-with-schema.js +0 -35
- package/dist/collection/ticketable/api/get-with-schema.js.map +0 -1
- package/dist/components/auth.js +0 -580
- package/dist/components/auth.js.map +0 -1
- package/dist/esm/auth-nsjRdpvS.js +0 -579
- package/dist/esm/auth-nsjRdpvS.js.map +0 -1
- package/dist/esm/auth-store-CVvBlKGv.js.map +0 -1
- package/dist/esm/index-DSDkaHWI.js.map +0 -1
- package/dist/esm/newsletter-helpers-Dc_24im3.js.map +0 -1
- package/dist/sdk/p-0ab98e7a.entry.js +0 -2
- package/dist/sdk/p-0ab98e7a.entry.js.map +0 -1
- package/dist/sdk/p-0d324822.entry.js +0 -2
- package/dist/sdk/p-0d324822.entry.js.map +0 -1
- package/dist/sdk/p-0fb37ee9.entry.js +0 -2
- package/dist/sdk/p-0fb37ee9.entry.js.map +0 -1
- package/dist/sdk/p-3049e73f.entry.js +0 -2
- package/dist/sdk/p-3049e73f.entry.js.map +0 -1
- package/dist/sdk/p-312b919e.entry.js +0 -2
- package/dist/sdk/p-312b919e.entry.js.map +0 -1
- package/dist/sdk/p-319c5d3b.entry.js +0 -2
- package/dist/sdk/p-319c5d3b.entry.js.map +0 -1
- package/dist/sdk/p-34b98f55.entry.js +0 -2
- package/dist/sdk/p-34b98f55.entry.js.map +0 -1
- package/dist/sdk/p-4ec3302d.entry.js +0 -2
- package/dist/sdk/p-4ec3302d.entry.js.map +0 -1
- package/dist/sdk/p-568eabbc.entry.js +0 -2
- package/dist/sdk/p-568eabbc.entry.js.map +0 -1
- package/dist/sdk/p-5b40a68b.entry.js +0 -2
- package/dist/sdk/p-5b40a68b.entry.js.map +0 -1
- package/dist/sdk/p-66587fdd.entry.js +0 -2
- package/dist/sdk/p-66587fdd.entry.js.map +0 -1
- package/dist/sdk/p-88d93d64.entry.js +0 -2
- package/dist/sdk/p-90e2253e.entry.js +0 -2
- package/dist/sdk/p-90e2253e.entry.js.map +0 -1
- package/dist/sdk/p-BiILQPdb.js +0 -2
- package/dist/sdk/p-BiILQPdb.js.map +0 -1
- package/dist/sdk/p-DdUvQelg.js +0 -2
- package/dist/sdk/p-DdUvQelg.js.map +0 -1
- package/dist/sdk/p-PKvQIsOt.js +0 -2
- package/dist/sdk/p-PKvQIsOt.js.map +0 -1
- package/dist/sdk/p-a4f5940f.entry.js +0 -2
- package/dist/sdk/p-a4f5940f.entry.js.map +0 -1
- package/dist/sdk/p-aMrLKr2m.js +0 -2
- package/dist/sdk/p-aMrLKr2m.js.map +0 -1
- package/dist/sdk/p-bfb04b17.entry.js +0 -2
- package/dist/sdk/p-bfb04b17.entry.js.map +0 -1
- package/dist/sdk/p-c6816542.entry.js +0 -2
- package/dist/sdk/p-c6816542.entry.js.map +0 -1
- package/dist/sdk/p-da363474.entry.js +0 -2
- package/dist/sdk/p-da363474.entry.js.map +0 -1
- package/dist/sdk/p-e54d5d38.entry.js +0 -2
- package/dist/sdk/p-e54d5d38.entry.js.map +0 -1
- package/dist/sdk/p-e81bbd62.entry.js +0 -2
- package/dist/sdk/p-e81bbd62.entry.js.map +0 -1
- package/dist/sdk/p-effaf86b.entry.js +0 -2
- package/dist/types/ticketable/api/get-with-schema.d.ts +0 -3
- /package/dist/sdk/{p-5babee6b.entry.js.map → p-098eef67.entry.js.map} +0 -0
- /package/dist/sdk/{p-e2e7061b.entry.js.map → p-5da49d00.entry.js.map} +0 -0
- /package/dist/sdk/{p-88d93d64.entry.js.map → p-745742f1.entry.js.map} +0 -0
- /package/dist/sdk/{p-9e71a36c.entry.js.map → p-74e6523f.entry.js.map} +0 -0
- /package/dist/sdk/{p-39b61f33.entry.js.map → p-bbbec3d4.entry.js.map} +0 -0
- /package/dist/sdk/{p-f232929b.entry.js.map → p-c2fba7c8.entry.js.map} +0 -0
- /package/dist/sdk/{p-a69b83ec.entry.js.map → p-e0d2397c.entry.js.map} +0 -0
- /package/dist/sdk/{p-80034205.entry.js.map → p-e6beb9d7.entry.js.map} +0 -0
- /package/dist/sdk/{p-2cb6a2d0.entry.js.map → p-f1788e52.entry.js.map} +0 -0
|
@@ -1,238 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}>;
|
|
14
|
-
radio_options: z.ZodArray<z.ZodObject<{
|
|
15
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
16
|
-
label: z.ZodString;
|
|
17
|
-
checked: z.ZodBoolean;
|
|
18
|
-
}, z.core.$strict>>;
|
|
19
|
-
}, z.core.$strict>;
|
|
20
|
-
first_name: z.ZodObject<{
|
|
21
|
-
required: z.ZodBoolean;
|
|
22
|
-
label: z.ZodString;
|
|
23
|
-
attr_name: z.ZodString;
|
|
24
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
26
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
27
|
-
type: z.ZodEnum<{
|
|
28
|
-
text: "text";
|
|
29
|
-
textarea: "textarea";
|
|
30
|
-
}>;
|
|
31
|
-
}, z.core.$strict>;
|
|
32
|
-
last_name: z.ZodObject<{
|
|
33
|
-
required: z.ZodBoolean;
|
|
34
|
-
label: z.ZodString;
|
|
35
|
-
attr_name: z.ZodString;
|
|
36
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
38
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
39
|
-
type: z.ZodEnum<{
|
|
40
|
-
text: "text";
|
|
41
|
-
textarea: "textarea";
|
|
42
|
-
}>;
|
|
43
|
-
}, z.core.$strict>;
|
|
44
|
-
email: z.ZodObject<{
|
|
45
|
-
required: z.ZodBoolean;
|
|
46
|
-
label: z.ZodString;
|
|
47
|
-
attr_name: z.ZodString;
|
|
48
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
50
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
51
|
-
type: z.ZodEnum<{
|
|
52
|
-
text: "text";
|
|
53
|
-
textarea: "textarea";
|
|
54
|
-
}>;
|
|
55
|
-
}, z.core.$strict>;
|
|
56
|
-
phone_number: z.ZodObject<{
|
|
57
|
-
required: z.ZodBoolean;
|
|
58
|
-
label: z.ZodString;
|
|
59
|
-
attr_name: z.ZodString;
|
|
60
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
62
|
-
value: z.ZodUnion<readonly [z.ZodNullable<z.ZodString>]>;
|
|
63
|
-
type: z.ZodEnum<{
|
|
64
|
-
tel: "tel";
|
|
65
|
-
}>;
|
|
66
|
-
}, z.core.$strict>;
|
|
67
|
-
company_name: z.ZodObject<{
|
|
68
|
-
required: z.ZodBoolean;
|
|
69
|
-
label: z.ZodString;
|
|
70
|
-
attr_name: z.ZodString;
|
|
71
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
73
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
74
|
-
type: z.ZodEnum<{
|
|
75
|
-
text: "text";
|
|
76
|
-
textarea: "textarea";
|
|
77
|
-
}>;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
address_line_1: z.ZodObject<{
|
|
80
|
-
required: z.ZodBoolean;
|
|
81
|
-
label: z.ZodString;
|
|
82
|
-
attr_name: z.ZodString;
|
|
83
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
85
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
86
|
-
type: z.ZodEnum<{
|
|
87
|
-
text: "text";
|
|
88
|
-
textarea: "textarea";
|
|
89
|
-
}>;
|
|
90
|
-
}, z.core.$strict>;
|
|
91
|
-
address_line_2: z.ZodObject<{
|
|
92
|
-
required: z.ZodBoolean;
|
|
93
|
-
label: z.ZodString;
|
|
94
|
-
attr_name: z.ZodString;
|
|
95
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
97
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
98
|
-
type: z.ZodEnum<{
|
|
99
|
-
text: "text";
|
|
100
|
-
textarea: "textarea";
|
|
101
|
-
}>;
|
|
102
|
-
}, z.core.$strict>;
|
|
103
|
-
city: z.ZodObject<{
|
|
104
|
-
required: z.ZodBoolean;
|
|
105
|
-
label: z.ZodString;
|
|
106
|
-
attr_name: z.ZodString;
|
|
107
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
109
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
110
|
-
type: z.ZodEnum<{
|
|
111
|
-
text: "text";
|
|
112
|
-
textarea: "textarea";
|
|
113
|
-
}>;
|
|
114
|
-
}, z.core.$strict>;
|
|
115
|
-
postal_code: z.ZodObject<{
|
|
116
|
-
required: z.ZodBoolean;
|
|
117
|
-
label: z.ZodString;
|
|
118
|
-
attr_name: z.ZodString;
|
|
119
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
121
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
122
|
-
type: z.ZodEnum<{
|
|
123
|
-
text: "text";
|
|
124
|
-
textarea: "textarea";
|
|
125
|
-
}>;
|
|
126
|
-
}, z.core.$strict>;
|
|
127
|
-
country_code: z.ZodObject<{
|
|
128
|
-
required: z.ZodBoolean;
|
|
129
|
-
label: z.ZodString;
|
|
130
|
-
attr_name: z.ZodString;
|
|
131
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
133
|
-
value: z.ZodNullable<z.ZodString>;
|
|
134
|
-
type: z.ZodEnum<{
|
|
135
|
-
select: "select";
|
|
136
|
-
}>;
|
|
137
|
-
options: z.ZodArray<z.ZodObject<{
|
|
138
|
-
value: z.ZodString;
|
|
139
|
-
label: z.ZodString;
|
|
140
|
-
}, z.core.$strict>>;
|
|
141
|
-
}, z.core.$strict>;
|
|
142
|
-
date_of_birth: z.ZodObject<{
|
|
143
|
-
required: z.ZodBoolean;
|
|
144
|
-
label: z.ZodString;
|
|
145
|
-
attr_name: z.ZodString;
|
|
146
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
148
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
149
|
-
type: z.ZodEnum<{
|
|
150
|
-
date: "date";
|
|
151
|
-
"datetime-local": "datetime-local";
|
|
152
|
-
}>;
|
|
153
|
-
}, z.core.$strict>;
|
|
154
|
-
preferred_language: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
required: z.ZodBoolean;
|
|
156
|
-
label: z.ZodString;
|
|
157
|
-
attr_name: z.ZodString;
|
|
158
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
160
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
161
|
-
type: z.ZodEnum<{
|
|
162
|
-
text: "text";
|
|
163
|
-
textarea: "textarea";
|
|
164
|
-
}>;
|
|
165
|
-
}, z.core.$strict>>;
|
|
166
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
167
|
-
required: z.ZodBoolean;
|
|
168
|
-
label: z.ZodString;
|
|
169
|
-
attr_name: z.ZodString;
|
|
170
|
-
locked: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
-
locked_text: z.ZodOptional<z.ZodString>;
|
|
172
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>]>;
|
|
173
|
-
type: z.ZodEnum<{
|
|
174
|
-
number: "number";
|
|
175
|
-
boolean: "boolean";
|
|
176
|
-
date: "date";
|
|
177
|
-
radio: "radio";
|
|
178
|
-
text: "text";
|
|
179
|
-
textarea: "textarea";
|
|
180
|
-
tel: "tel";
|
|
181
|
-
select: "select";
|
|
182
|
-
"datetime-local": "datetime-local";
|
|
183
|
-
checkbox: "checkbox";
|
|
184
|
-
}>;
|
|
185
|
-
readonly: z.ZodBoolean;
|
|
186
|
-
radio_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
188
|
-
label: z.ZodString;
|
|
189
|
-
checked: z.ZodBoolean;
|
|
190
|
-
}, z.core.$strict>>>;
|
|
191
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
192
|
-
value: z.ZodString;
|
|
193
|
-
label: z.ZodString;
|
|
194
|
-
}, z.core.$strict>>>;
|
|
195
|
-
}, z.core.$strict>>;
|
|
196
|
-
}, z.core.$strip>;
|
|
197
|
-
declare const UserProfileErrorSchema: z.ZodObject<{
|
|
198
|
-
error_identifier: z.ZodString;
|
|
199
|
-
}, z.core.$strict>;
|
|
200
|
-
declare const UserProfileFormErrorSchema: z.ZodPipe<z.ZodObject<{
|
|
201
|
-
errors: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodArray<z.ZodString>], null>>]>>;
|
|
202
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
203
|
-
errors: Record<string, string[] | [number?, string[]?, ...unknown[]][]>;
|
|
204
|
-
flatErrors: {
|
|
205
|
-
[k: string]: string;
|
|
206
|
-
};
|
|
207
|
-
}, {
|
|
208
|
-
errors: Record<string, string[] | [number?, string[]?, ...unknown[]][]>;
|
|
209
|
-
}>>;
|
|
210
|
-
export type UserProfileData = z.infer<typeof UserProfileSchema>;
|
|
211
|
-
export type UserProfileError = z.infer<typeof UserProfileErrorSchema>;
|
|
212
|
-
export type UserProfileFormError = z.infer<typeof UserProfileFormErrorSchema>;
|
|
213
|
-
export type ProfileResult = UserProfileData | UserProfileError | UserProfileFormError | Record<string, string>;
|
|
214
|
-
declare global {
|
|
215
|
-
interface Window {
|
|
216
|
-
UNIDY?: {
|
|
217
|
-
auth?: {
|
|
218
|
-
id_token?: string;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
}
|
|
1
|
+
import { type ApiClientInterface, BaseService, type CommonErrors, type ServiceDependencies, type Payload } from "../../api";
|
|
2
|
+
import { type ProfileErrorResponse, type UserProfileData, type UserProfileFormError } from "./schemas";
|
|
3
|
+
export { UserProfileSchema } from "./schemas";
|
|
4
|
+
export type { UserProfileData, ProfileErrorResponse, UserProfileFormError } from "./schemas";
|
|
5
|
+
export type UpdateProfilePayload = Record<string, unknown>;
|
|
6
|
+
export type ProfileUpdateArgs = Payload<UpdateProfilePayload>;
|
|
7
|
+
export type ProfileGetResult = CommonErrors | ["missing_id_token", null] | ["unauthorized", ProfileErrorResponse] | ["invalid_profile_data", null] | ["server_error", ProfileErrorResponse | null] | [null, UserProfileData];
|
|
8
|
+
export type ProfileUpdateResult = CommonErrors | ["missing_id_token", null] | ["unauthorized", ProfileErrorResponse] | ["invalid_profile_data", null] | ["validation_error", UserProfileFormError] | ["server_error", ProfileErrorResponse | null] | [null, UserProfileData];
|
|
9
|
+
export declare class ProfileService extends BaseService {
|
|
10
|
+
constructor(client: ApiClientInterface, deps?: ServiceDependencies);
|
|
11
|
+
get(): Promise<ProfileGetResult>;
|
|
12
|
+
update(args: ProfileUpdateArgs): Promise<ProfileUpdateResult>;
|
|
222
13
|
}
|
|
223
|
-
type FetchProfileArgs = {
|
|
224
|
-
idToken: string;
|
|
225
|
-
lang?: string;
|
|
226
|
-
};
|
|
227
|
-
type UpdateProfileArgs = {
|
|
228
|
-
idToken: string;
|
|
229
|
-
data: unknown;
|
|
230
|
-
lang?: string;
|
|
231
|
-
};
|
|
232
|
-
export declare class ProfileService {
|
|
233
|
-
private client;
|
|
234
|
-
constructor(client: ApiClient);
|
|
235
|
-
fetchProfile({ idToken, lang }: FetchProfileArgs): Promise<ApiResponse<ProfileResult>>;
|
|
236
|
-
updateProfile({ idToken, data, lang }: UpdateProfileArgs): Promise<ApiResponse<ProfileResult>>;
|
|
237
|
-
}
|
|
238
|
-
export {};
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export declare const FieldTypeEnum: z.ZodEnum<{
|
|
3
|
+
number: "number";
|
|
4
|
+
boolean: "boolean";
|
|
5
|
+
date: "date";
|
|
6
|
+
text: "text";
|
|
7
|
+
textarea: "textarea";
|
|
8
|
+
select: "select";
|
|
9
|
+
radio: "radio";
|
|
10
|
+
"datetime-local": "datetime-local";
|
|
11
|
+
checkbox: "checkbox";
|
|
12
|
+
tel: "tel";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const BaseFieldDataSchema: z.ZodObject<{
|
|
15
|
+
required: z.ZodBoolean;
|
|
16
|
+
label: z.ZodString;
|
|
17
|
+
attr_name: z.ZodString;
|
|
18
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const SelectOptionSchema: z.ZodObject<{
|
|
22
|
+
value: z.ZodString;
|
|
23
|
+
label: z.ZodString;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
export declare const RadioValue: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
26
|
+
export declare const RadioOptionSchema: z.ZodObject<{
|
|
27
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
28
|
+
label: z.ZodString;
|
|
29
|
+
checked: z.ZodBoolean;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
export declare const TextFieldSchema: z.ZodObject<{
|
|
32
|
+
required: z.ZodBoolean;
|
|
33
|
+
label: z.ZodString;
|
|
34
|
+
attr_name: z.ZodString;
|
|
35
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
37
|
+
value: z.ZodNullable<z.ZodString>;
|
|
38
|
+
type: z.ZodEnum<{
|
|
39
|
+
text: "text";
|
|
40
|
+
textarea: "textarea";
|
|
41
|
+
}>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export declare const PhoneFieldSchema: z.ZodObject<{
|
|
44
|
+
required: z.ZodBoolean;
|
|
45
|
+
label: z.ZodString;
|
|
46
|
+
attr_name: z.ZodString;
|
|
47
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
49
|
+
value: z.ZodNullable<z.ZodString>;
|
|
50
|
+
type: z.ZodLiteral<"tel">;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export declare const RadioFieldSchema: z.ZodObject<{
|
|
53
|
+
required: z.ZodBoolean;
|
|
54
|
+
label: z.ZodString;
|
|
55
|
+
attr_name: z.ZodString;
|
|
56
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
58
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
59
|
+
type: z.ZodLiteral<"radio">;
|
|
60
|
+
radio_options: z.ZodArray<z.ZodObject<{
|
|
61
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
62
|
+
label: z.ZodString;
|
|
63
|
+
checked: z.ZodBoolean;
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
|
+
}, z.core.$strict>;
|
|
66
|
+
export declare const SelectFieldSchema: z.ZodObject<{
|
|
67
|
+
required: z.ZodBoolean;
|
|
68
|
+
label: z.ZodString;
|
|
69
|
+
attr_name: z.ZodString;
|
|
70
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
72
|
+
value: z.ZodNullable<z.ZodString>;
|
|
73
|
+
type: z.ZodLiteral<"select">;
|
|
74
|
+
options: z.ZodArray<z.ZodObject<{
|
|
75
|
+
value: z.ZodString;
|
|
76
|
+
label: z.ZodString;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
export declare const DateFieldSchema: z.ZodObject<{
|
|
80
|
+
required: z.ZodBoolean;
|
|
81
|
+
label: z.ZodString;
|
|
82
|
+
attr_name: z.ZodString;
|
|
83
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
85
|
+
value: z.ZodNullable<z.ZodString>;
|
|
86
|
+
type: z.ZodEnum<{
|
|
87
|
+
date: "date";
|
|
88
|
+
"datetime-local": "datetime-local";
|
|
89
|
+
}>;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export declare const CustomFieldSchema: z.ZodObject<{
|
|
92
|
+
required: z.ZodBoolean;
|
|
93
|
+
label: z.ZodString;
|
|
94
|
+
attr_name: z.ZodString;
|
|
95
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
97
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
|
|
98
|
+
type: z.ZodEnum<{
|
|
99
|
+
number: "number";
|
|
100
|
+
boolean: "boolean";
|
|
101
|
+
date: "date";
|
|
102
|
+
text: "text";
|
|
103
|
+
textarea: "textarea";
|
|
104
|
+
select: "select";
|
|
105
|
+
radio: "radio";
|
|
106
|
+
"datetime-local": "datetime-local";
|
|
107
|
+
checkbox: "checkbox";
|
|
108
|
+
tel: "tel";
|
|
109
|
+
}>;
|
|
110
|
+
readonly: z.ZodBoolean;
|
|
111
|
+
radio_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
checked: z.ZodBoolean;
|
|
115
|
+
}, z.core.$strict>>>;
|
|
116
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
+
value: z.ZodString;
|
|
118
|
+
label: z.ZodString;
|
|
119
|
+
}, z.core.$strict>>>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export declare const UserProfileSchema: z.ZodObject<{
|
|
122
|
+
salutation: z.ZodObject<{
|
|
123
|
+
required: z.ZodBoolean;
|
|
124
|
+
label: z.ZodString;
|
|
125
|
+
attr_name: z.ZodString;
|
|
126
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
128
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
129
|
+
type: z.ZodLiteral<"radio">;
|
|
130
|
+
radio_options: z.ZodArray<z.ZodObject<{
|
|
131
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
132
|
+
label: z.ZodString;
|
|
133
|
+
checked: z.ZodBoolean;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
first_name: z.ZodObject<{
|
|
137
|
+
required: z.ZodBoolean;
|
|
138
|
+
label: z.ZodString;
|
|
139
|
+
attr_name: z.ZodString;
|
|
140
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
142
|
+
value: z.ZodNullable<z.ZodString>;
|
|
143
|
+
type: z.ZodEnum<{
|
|
144
|
+
text: "text";
|
|
145
|
+
textarea: "textarea";
|
|
146
|
+
}>;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
last_name: z.ZodObject<{
|
|
149
|
+
required: z.ZodBoolean;
|
|
150
|
+
label: z.ZodString;
|
|
151
|
+
attr_name: z.ZodString;
|
|
152
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
154
|
+
value: z.ZodNullable<z.ZodString>;
|
|
155
|
+
type: z.ZodEnum<{
|
|
156
|
+
text: "text";
|
|
157
|
+
textarea: "textarea";
|
|
158
|
+
}>;
|
|
159
|
+
}, z.core.$strict>;
|
|
160
|
+
email: z.ZodObject<{
|
|
161
|
+
required: z.ZodBoolean;
|
|
162
|
+
label: z.ZodString;
|
|
163
|
+
attr_name: z.ZodString;
|
|
164
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
166
|
+
value: z.ZodNullable<z.ZodString>;
|
|
167
|
+
type: z.ZodEnum<{
|
|
168
|
+
text: "text";
|
|
169
|
+
textarea: "textarea";
|
|
170
|
+
}>;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
phone_number: z.ZodObject<{
|
|
173
|
+
required: z.ZodBoolean;
|
|
174
|
+
label: z.ZodString;
|
|
175
|
+
attr_name: z.ZodString;
|
|
176
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
178
|
+
value: z.ZodNullable<z.ZodString>;
|
|
179
|
+
type: z.ZodLiteral<"tel">;
|
|
180
|
+
}, z.core.$strict>;
|
|
181
|
+
company_name: z.ZodObject<{
|
|
182
|
+
required: z.ZodBoolean;
|
|
183
|
+
label: z.ZodString;
|
|
184
|
+
attr_name: z.ZodString;
|
|
185
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
187
|
+
value: z.ZodNullable<z.ZodString>;
|
|
188
|
+
type: z.ZodEnum<{
|
|
189
|
+
text: "text";
|
|
190
|
+
textarea: "textarea";
|
|
191
|
+
}>;
|
|
192
|
+
}, z.core.$strict>;
|
|
193
|
+
address_line_1: z.ZodObject<{
|
|
194
|
+
required: z.ZodBoolean;
|
|
195
|
+
label: z.ZodString;
|
|
196
|
+
attr_name: z.ZodString;
|
|
197
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
199
|
+
value: z.ZodNullable<z.ZodString>;
|
|
200
|
+
type: z.ZodEnum<{
|
|
201
|
+
text: "text";
|
|
202
|
+
textarea: "textarea";
|
|
203
|
+
}>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
address_line_2: z.ZodObject<{
|
|
206
|
+
required: z.ZodBoolean;
|
|
207
|
+
label: z.ZodString;
|
|
208
|
+
attr_name: z.ZodString;
|
|
209
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
211
|
+
value: z.ZodNullable<z.ZodString>;
|
|
212
|
+
type: z.ZodEnum<{
|
|
213
|
+
text: "text";
|
|
214
|
+
textarea: "textarea";
|
|
215
|
+
}>;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
city: z.ZodObject<{
|
|
218
|
+
required: z.ZodBoolean;
|
|
219
|
+
label: z.ZodString;
|
|
220
|
+
attr_name: z.ZodString;
|
|
221
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
223
|
+
value: z.ZodNullable<z.ZodString>;
|
|
224
|
+
type: z.ZodEnum<{
|
|
225
|
+
text: "text";
|
|
226
|
+
textarea: "textarea";
|
|
227
|
+
}>;
|
|
228
|
+
}, z.core.$strict>;
|
|
229
|
+
postal_code: z.ZodObject<{
|
|
230
|
+
required: z.ZodBoolean;
|
|
231
|
+
label: z.ZodString;
|
|
232
|
+
attr_name: z.ZodString;
|
|
233
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
235
|
+
value: z.ZodNullable<z.ZodString>;
|
|
236
|
+
type: z.ZodEnum<{
|
|
237
|
+
text: "text";
|
|
238
|
+
textarea: "textarea";
|
|
239
|
+
}>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
country_code: z.ZodObject<{
|
|
242
|
+
required: z.ZodBoolean;
|
|
243
|
+
label: z.ZodString;
|
|
244
|
+
attr_name: z.ZodString;
|
|
245
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
247
|
+
value: z.ZodNullable<z.ZodString>;
|
|
248
|
+
type: z.ZodLiteral<"select">;
|
|
249
|
+
options: z.ZodArray<z.ZodObject<{
|
|
250
|
+
value: z.ZodString;
|
|
251
|
+
label: z.ZodString;
|
|
252
|
+
}, z.core.$strict>>;
|
|
253
|
+
}, z.core.$strict>;
|
|
254
|
+
date_of_birth: z.ZodObject<{
|
|
255
|
+
required: z.ZodBoolean;
|
|
256
|
+
label: z.ZodString;
|
|
257
|
+
attr_name: z.ZodString;
|
|
258
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
260
|
+
value: z.ZodNullable<z.ZodString>;
|
|
261
|
+
type: z.ZodEnum<{
|
|
262
|
+
date: "date";
|
|
263
|
+
"datetime-local": "datetime-local";
|
|
264
|
+
}>;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
preferred_language: z.ZodOptional<z.ZodObject<{
|
|
267
|
+
required: z.ZodBoolean;
|
|
268
|
+
label: z.ZodString;
|
|
269
|
+
attr_name: z.ZodString;
|
|
270
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
272
|
+
value: z.ZodNullable<z.ZodString>;
|
|
273
|
+
type: z.ZodEnum<{
|
|
274
|
+
text: "text";
|
|
275
|
+
textarea: "textarea";
|
|
276
|
+
}>;
|
|
277
|
+
}, z.core.$strict>>;
|
|
278
|
+
custom_attributes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
279
|
+
required: z.ZodBoolean;
|
|
280
|
+
label: z.ZodString;
|
|
281
|
+
attr_name: z.ZodString;
|
|
282
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
locked_text: z.ZodOptional<z.ZodString>;
|
|
284
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
|
|
285
|
+
type: z.ZodEnum<{
|
|
286
|
+
number: "number";
|
|
287
|
+
boolean: "boolean";
|
|
288
|
+
date: "date";
|
|
289
|
+
text: "text";
|
|
290
|
+
textarea: "textarea";
|
|
291
|
+
select: "select";
|
|
292
|
+
radio: "radio";
|
|
293
|
+
"datetime-local": "datetime-local";
|
|
294
|
+
checkbox: "checkbox";
|
|
295
|
+
tel: "tel";
|
|
296
|
+
}>;
|
|
297
|
+
readonly: z.ZodBoolean;
|
|
298
|
+
radio_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
value: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"_NOT_SET_">, z.ZodBoolean]>>;
|
|
300
|
+
label: z.ZodString;
|
|
301
|
+
checked: z.ZodBoolean;
|
|
302
|
+
}, z.core.$strict>>>;
|
|
303
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
value: z.ZodString;
|
|
305
|
+
label: z.ZodString;
|
|
306
|
+
}, z.core.$strict>>>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
export declare const ProfileErrorResponseSchema: z.ZodObject<{
|
|
310
|
+
error_identifier: z.ZodString;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
export declare const FormErrorsValue: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodArray<z.ZodString>], null>>]>;
|
|
313
|
+
export declare const FormErrorsRawSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodArray<z.ZodString>], null>>]>>;
|
|
314
|
+
export declare const UserProfileFormErrorSchema: z.ZodPipe<z.ZodObject<{
|
|
315
|
+
errors: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodArray<z.ZodString>], null>>]>>;
|
|
316
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
317
|
+
errors: Record<string, string[] | [number?, string[]?, ...unknown[]][]>;
|
|
318
|
+
flatErrors: {
|
|
319
|
+
[k: string]: string;
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
errors: Record<string, string[] | [number?, string[]?, ...unknown[]][]>;
|
|
323
|
+
}>>;
|
|
324
|
+
export type FieldType = z.infer<typeof FieldTypeEnum>;
|
|
325
|
+
export type UserProfileData = z.infer<typeof UserProfileSchema>;
|
|
326
|
+
export type ProfileErrorResponse = z.infer<typeof ProfileErrorResponseSchema>;
|
|
327
|
+
export type UserProfileFormError = z.infer<typeof UserProfileFormErrorSchema>;
|
|
328
|
+
declare global {
|
|
329
|
+
interface Window {
|
|
330
|
+
UNIDY?: {
|
|
331
|
+
auth?: {
|
|
332
|
+
id_token?: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
}
|
|
@@ -1,26 +1,10 @@
|
|
|
1
|
-
import { type EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import type { ProfileRaw } from "../../store/profile-store";
|
|
3
1
|
export declare class Profile {
|
|
4
2
|
profileId?: string;
|
|
5
3
|
initialData: string | Record<string, string>;
|
|
6
|
-
uProfileSuccess: EventEmitter<{
|
|
7
|
-
message: string;
|
|
8
|
-
payload: ProfileRaw;
|
|
9
|
-
}>;
|
|
10
|
-
uProfileError: EventEmitter<{
|
|
11
|
-
error: string;
|
|
12
|
-
details: {
|
|
13
|
-
fieldErrors?: Record<string, string>;
|
|
14
|
-
flashErrors?: Record<string, string>;
|
|
15
|
-
httpStatus?: number;
|
|
16
|
-
responseData?: unknown;
|
|
17
|
-
};
|
|
18
|
-
}>;
|
|
19
4
|
fetchingProfileData: boolean;
|
|
20
5
|
constructor();
|
|
21
6
|
componentWillLoad(): Promise<void>;
|
|
22
|
-
|
|
23
|
-
fetchProfileData(idToken: string): Promise<void>;
|
|
7
|
+
fetchProfileData(): Promise<void>;
|
|
24
8
|
submitProfile(): Promise<void>;
|
|
25
9
|
componentDidLoad(): void;
|
|
26
10
|
render(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type AuthErrorType = "email" | "password" | "magicCode" | "resetPassword" | "general" | "connection"
|
|
1
|
+
export type AuthErrorType = "email" | "password" | "magicCode" | "resetPassword" | "general" | "connection";
|
|
2
2
|
export declare class ErrorMessage {
|
|
3
3
|
componentClassName: string;
|
|
4
4
|
for: string;
|