Files
gruperly/apps/backend/src/modules/mp/lib/index.ts
Jose Selesan 8c5caecdda feat: add country selection during onboarding and implement payment management features
- Introduced CountryStep component for selecting the country during onboarding, affecting payment currency.
- Updated FirstGroupStep to include country information.
- Enhanced PaymentsProvider to manage payment states and renewals.
- Created PaymentRow component for displaying individual payment details.
- Implemented PaymentsView for listing and filtering payments by group and status.
- Added API endpoints for fetching and creating payments, including batch processing.
- Defined payment schemas for validation and data handling.
- Updated GroupHeader and GroupDetailView to include charging functionality for group members.
2026-10-08 11:42:13 -03:00

30 lines
695 B
TypeScript

export { getMpOAuthConfig, getWebOrigin, type MpOAuthConfig } from './config';
export {
codeChallengeFromVerifier,
newCodeVerifier,
newState,
openToken,
sealToken,
} from './crypto';
export {
createCheckoutPreference,
MP_API_URL,
type MpCreatePreferenceInput,
type MpPreference,
type MpSearchedPayment,
searchMpPaymentByExternalReference,
} from './mp-http';
export {
buildAuthorizationUrl,
exchangeAuthorizationCode,
isGrantRejected,
MP_AUTHORIZE_URL,
MP_SCOPES,
MP_TOKEN_URL,
MpApiError,
type MpAuthorizationUrlInput,
type MpTokenResponse,
refreshMpTokens,
} from './mp-oauth';
export { buildMpReturnUrl, type MpCallbackOutcome } from './return-url';