@ahomevilla-hotel/node-sdk 2025.7.0-6.160841 → 2025.7.0-7.81647
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/api.d.ts +28 -0
- package/dist/api.js +46 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +28 -0
- package/dist/esm/api.js +30 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/add-translation-dto.d.ts +31 -0
- package/dist/esm/models/add-translation-dto.js +14 -0
- package/dist/esm/models/admin-update-user-dto.d.ts +39 -0
- package/dist/esm/models/admin-update-user-dto.js +23 -0
- package/dist/esm/models/amenities-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/amenities-pagination-result-dto.js +14 -0
- package/dist/esm/models/amenity-translation-dto.d.ts +38 -0
- package/dist/esm/models/amenity-translation-dto.js +22 -0
- package/dist/esm/models/amenity.d.ts +89 -0
- package/dist/esm/models/amenity.js +23 -0
- package/dist/esm/models/analytics-summary-dto.d.ts +50 -0
- package/dist/esm/models/analytics-summary-dto.js +14 -0
- package/dist/esm/models/block-activity.d.ts +93 -0
- package/dist/esm/models/block-activity.js +22 -0
- package/dist/esm/models/block-or-unblock-user-dto.d.ts +38 -0
- package/dist/esm/models/block-or-unblock-user-dto.js +22 -0
- package/dist/esm/models/booking.d.ts +265 -0
- package/dist/esm/models/booking.js +70 -0
- package/dist/esm/models/bookings-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/bookings-pagination-result-dto.js +14 -0
- package/dist/esm/models/branch-detail.d.ts +158 -0
- package/dist/esm/models/branch-detail.js +22 -0
- package/dist/esm/models/branch-translation-dto.d.ts +57 -0
- package/dist/esm/models/branch-translation-dto.js +22 -0
- package/dist/esm/models/branch-translations-inner.d.ts +56 -0
- package/dist/esm/models/branch-translations-inner.js +22 -0
- package/dist/esm/models/branch.d.ts +137 -0
- package/dist/esm/models/branch.js +22 -0
- package/dist/esm/models/branches-infinite-pagination-result-dto.d.ts +31 -0
- package/dist/esm/models/branches-infinite-pagination-result-dto.js +14 -0
- package/dist/esm/models/branches-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/branches-pagination-result-dto.js +14 -0
- package/dist/esm/models/cancel-booking-dto.d.ts +24 -0
- package/dist/esm/models/cancel-booking-dto.js +14 -0
- package/dist/esm/models/cancel-payment-request-dto.d.ts +30 -0
- package/dist/esm/models/cancel-payment-request-dto.js +14 -0
- package/dist/esm/models/change-password-dto.d.ts +36 -0
- package/dist/esm/models/change-password-dto.js +14 -0
- package/dist/esm/models/confirm-payment-webhook-dto.d.ts +42 -0
- package/dist/esm/models/confirm-payment-webhook-dto.js +14 -0
- package/dist/esm/models/create-amenity-dto.d.ts +59 -0
- package/dist/esm/models/create-amenity-dto.js +23 -0
- package/dist/esm/models/create-booking-at-hotel-dto.d.ts +118 -0
- package/dist/esm/models/create-booking-at-hotel-dto.js +23 -0
- package/dist/esm/models/create-booking-online-dto.d.ts +142 -0
- package/dist/esm/models/create-booking-online-dto.js +36 -0
- package/dist/esm/models/create-branch-dto.d.ts +86 -0
- package/dist/esm/models/create-branch-dto.js +14 -0
- package/dist/esm/models/create-hotel-room-dto.d.ts +59 -0
- package/dist/esm/models/create-hotel-room-dto.js +24 -0
- package/dist/esm/models/create-payment-request-dto.d.ts +79 -0
- package/dist/esm/models/create-payment-request-dto.js +14 -0
- package/dist/esm/models/create-province-dto.d.ts +43 -0
- package/dist/esm/models/create-province-dto.js +14 -0
- package/dist/esm/models/create-room-detail-dto.d.ts +135 -0
- package/dist/esm/models/create-room-detail-dto.js +34 -0
- package/dist/esm/models/create-room-price-history-dto.d.ts +73 -0
- package/dist/esm/models/create-room-price-history-dto.js +14 -0
- package/dist/esm/models/create-room-promotion-dto.d.ts +114 -0
- package/dist/esm/models/create-room-promotion-dto.js +32 -0
- package/dist/esm/models/create-user-dto.d.ts +42 -0
- package/dist/esm/models/create-user-dto.js +14 -0
- package/dist/esm/models/delete-user-dto.d.ts +24 -0
- package/dist/esm/models/delete-user-dto.js +14 -0
- package/dist/esm/models/detail-translation-content.d.ts +42 -0
- package/dist/esm/models/detail-translation-content.js +14 -0
- package/dist/esm/models/filter-amenity-dto.d.ts +39 -0
- package/dist/esm/models/filter-amenity-dto.js +23 -0
- package/dist/esm/models/filter-bookings-dto.d.ts +128 -0
- package/dist/esm/models/filter-bookings-dto.js +61 -0
- package/dist/esm/models/filter-branches-dto.d.ts +54 -0
- package/dist/esm/models/filter-branches-dto.js +14 -0
- package/dist/esm/models/filter-hotel-room-dto.d.ts +52 -0
- package/dist/esm/models/filter-hotel-room-dto.js +24 -0
- package/dist/esm/models/filter-my-bookings-dto.d.ts +37 -0
- package/dist/esm/models/filter-my-bookings-dto.js +27 -0
- package/dist/esm/models/filter-provinces-dto.d.ts +24 -0
- package/dist/esm/models/filter-provinces-dto.js +14 -0
- package/dist/esm/models/filter-room-detail-dto.d.ts +160 -0
- package/dist/esm/models/filter-room-detail-dto.js +44 -0
- package/dist/esm/models/filter-room-promotion-dto.d.ts +65 -0
- package/dist/esm/models/filter-room-promotion-dto.js +32 -0
- package/dist/esm/models/filter-user-dto.d.ts +57 -0
- package/dist/esm/models/filter-user-dto.js +23 -0
- package/dist/esm/models/get-analytics-query-dto.d.ts +57 -0
- package/dist/esm/models/get-analytics-query-dto.js +23 -0
- package/dist/esm/models/get-translations-request-dto.d.ts +24 -0
- package/dist/esm/models/get-translations-request-dto.js +14 -0
- package/dist/esm/models/guest-detail.d.ts +52 -0
- package/dist/esm/models/guest-detail.js +23 -0
- package/dist/esm/models/hotel-room-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/hotel-room-pagination-result-dto.js +14 -0
- package/dist/esm/models/hotel-room-translation-dto.d.ts +38 -0
- package/dist/esm/models/hotel-room-translation-dto.js +22 -0
- package/dist/esm/models/hotel-room.d.ts +103 -0
- package/dist/esm/models/hotel-room.js +24 -0
- package/dist/esm/models/image-upload-response-dto.d.ts +30 -0
- package/dist/esm/models/image-upload-response-dto.js +14 -0
- package/dist/esm/models/image.d.ts +30 -0
- package/dist/esm/models/image.js +14 -0
- package/dist/esm/models/immediate-delete-rooms-dto.d.ts +24 -0
- package/dist/esm/models/immediate-delete-rooms-dto.js +14 -0
- package/dist/esm/models/index.d.ts +126 -0
- package/dist/esm/models/index.js +126 -0
- package/dist/esm/models/initiate-forgot-password-email-dto.d.ts +24 -0
- package/dist/esm/models/initiate-forgot-password-email-dto.js +14 -0
- package/dist/esm/models/list-translation-response-dto.d.ts +32 -0
- package/dist/esm/models/list-translation-response-dto.js +14 -0
- package/dist/esm/models/list-translation-result.d.ts +25 -0
- package/dist/esm/models/list-translation-result.js +14 -0
- package/dist/esm/models/login-dto.d.ts +30 -0
- package/dist/esm/models/login-dto.js +14 -0
- package/dist/esm/models/login-response-dto.d.ts +36 -0
- package/dist/esm/models/login-response-dto.js +14 -0
- package/dist/esm/models/logout-response-dto.d.ts +24 -0
- package/dist/esm/models/logout-response-dto.js +14 -0
- package/dist/esm/models/near-by.d.ts +30 -0
- package/dist/esm/models/near-by.js +14 -0
- package/dist/esm/models/occupancy-rate-response-dto.d.ts +42 -0
- package/dist/esm/models/occupancy-rate-response-dto.js +14 -0
- package/dist/esm/models/promotion-translation-dto.d.ts +44 -0
- package/dist/esm/models/promotion-translation-dto.js +22 -0
- package/dist/esm/models/promotion-translation.d.ts +50 -0
- package/dist/esm/models/promotion-translation.js +22 -0
- package/dist/esm/models/province-count.d.ts +24 -0
- package/dist/esm/models/province-count.js +14 -0
- package/dist/esm/models/province-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/province-pagination-result-dto.js +14 -0
- package/dist/esm/models/province-translation-dto.d.ts +38 -0
- package/dist/esm/models/province-translation-dto.js +22 -0
- package/dist/esm/models/province-translations-inner.d.ts +30 -0
- package/dist/esm/models/province-translations-inner.js +14 -0
- package/dist/esm/models/province.d.ts +80 -0
- package/dist/esm/models/province.js +14 -0
- package/dist/esm/models/query-amenity-dto.d.ts +42 -0
- package/dist/esm/models/query-amenity-dto.js +14 -0
- package/dist/esm/models/query-bookings-dto.d.ts +42 -0
- package/dist/esm/models/query-bookings-dto.js +14 -0
- package/dist/esm/models/query-branches-dto.d.ts +42 -0
- package/dist/esm/models/query-branches-dto.js +14 -0
- package/dist/esm/models/query-hotel-room-dto.d.ts +42 -0
- package/dist/esm/models/query-hotel-room-dto.js +14 -0
- package/dist/esm/models/query-my-bookings-dto.d.ts +36 -0
- package/dist/esm/models/query-my-bookings-dto.js +14 -0
- package/dist/esm/models/query-provinces-dto.d.ts +42 -0
- package/dist/esm/models/query-provinces-dto.js +14 -0
- package/dist/esm/models/query-room-detail-dto.d.ts +42 -0
- package/dist/esm/models/query-room-detail-dto.js +14 -0
- package/dist/esm/models/query-room-promotion-dto.d.ts +42 -0
- package/dist/esm/models/query-room-promotion-dto.js +14 -0
- package/dist/esm/models/query-users-dto.d.ts +42 -0
- package/dist/esm/models/query-users-dto.js +14 -0
- package/dist/esm/models/refresh-token-dto.d.ts +24 -0
- package/dist/esm/models/refresh-token-dto.js +14 -0
- package/dist/esm/models/refresh-token-response-dto.d.ts +36 -0
- package/dist/esm/models/refresh-token-response-dto.js +14 -0
- package/dist/esm/models/register-dto.d.ts +39 -0
- package/dist/esm/models/register-dto.js +22 -0
- package/dist/esm/models/register-response-dto.d.ts +50 -0
- package/dist/esm/models/register-response-dto.js +22 -0
- package/dist/esm/models/reset-password-with-otpemail-dto.d.ts +36 -0
- package/dist/esm/models/reset-password-with-otpemail-dto.js +14 -0
- package/dist/esm/models/response-status.d.ts +36 -0
- package/dist/esm/models/response-status.js +14 -0
- package/dist/esm/models/response-with-message.d.ts +30 -0
- package/dist/esm/models/response-with-message.js +14 -0
- package/dist/esm/models/revenue-by-room-type-dto.d.ts +51 -0
- package/dist/esm/models/revenue-by-room-type-dto.js +23 -0
- package/dist/esm/models/revenue-timeline-dto.d.ts +37 -0
- package/dist/esm/models/revenue-timeline-dto.js +14 -0
- package/dist/esm/models/revoke-session-response-dto.d.ts +24 -0
- package/dist/esm/models/revoke-session-response-dto.js +14 -0
- package/dist/esm/models/room-detail-infinite-pagination-result-dto.d.ts +31 -0
- package/dist/esm/models/room-detail-infinite-pagination-result-dto.js +14 -0
- package/dist/esm/models/room-detail-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/room-detail-pagination-result-dto.js +14 -0
- package/dist/esm/models/room-detail-translation-dto.d.ts +44 -0
- package/dist/esm/models/room-detail-translation-dto.js +22 -0
- package/dist/esm/models/room-detail.d.ts +203 -0
- package/dist/esm/models/room-detail.js +34 -0
- package/dist/esm/models/room-performance-dto.d.ts +69 -0
- package/dist/esm/models/room-performance-dto.js +23 -0
- package/dist/esm/models/room-price-history-translation-dto.d.ts +44 -0
- package/dist/esm/models/room-price-history-translation-dto.js +22 -0
- package/dist/esm/models/room-price-history-translations-inner.d.ts +36 -0
- package/dist/esm/models/room-price-history-translations-inner.js +14 -0
- package/dist/esm/models/room-price-history.d.ts +116 -0
- package/dist/esm/models/room-price-history.js +14 -0
- package/dist/esm/models/room-promotion-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/room-promotion-pagination-result-dto.js +14 -0
- package/dist/esm/models/room-promotion.d.ts +151 -0
- package/dist/esm/models/room-promotion.js +32 -0
- package/dist/esm/models/session-response-dto.d.ts +24 -0
- package/dist/esm/models/session-response-dto.js +14 -0
- package/dist/esm/models/sort-amenity-dto.d.ts +38 -0
- package/dist/esm/models/sort-amenity-dto.js +22 -0
- package/dist/esm/models/sort-bookings-dto.d.ts +38 -0
- package/dist/esm/models/sort-bookings-dto.js +22 -0
- package/dist/esm/models/sort-branch-dto.d.ts +38 -0
- package/dist/esm/models/sort-branch-dto.js +22 -0
- package/dist/esm/models/sort-hotel-room-dto.d.ts +38 -0
- package/dist/esm/models/sort-hotel-room-dto.js +22 -0
- package/dist/esm/models/sort-province-dto.d.ts +38 -0
- package/dist/esm/models/sort-province-dto.js +22 -0
- package/dist/esm/models/sort-room-detail-dto.d.ts +38 -0
- package/dist/esm/models/sort-room-detail-dto.js +22 -0
- package/dist/esm/models/sort-room-promotion-dto.d.ts +38 -0
- package/dist/esm/models/sort-room-promotion-dto.js +22 -0
- package/dist/esm/models/sort-user-dto.d.ts +38 -0
- package/dist/esm/models/sort-user-dto.js +22 -0
- package/dist/esm/models/term.d.ts +61 -0
- package/dist/esm/models/term.js +14 -0
- package/dist/esm/models/translation-content.d.ts +24 -0
- package/dist/esm/models/translation-content.js +14 -0
- package/dist/esm/models/translation-data.d.ts +37 -0
- package/dist/esm/models/translation-data.js +14 -0
- package/dist/esm/models/update-amenity-dto.d.ts +59 -0
- package/dist/esm/models/update-amenity-dto.js +23 -0
- package/dist/esm/models/update-booking-status-dto.d.ts +37 -0
- package/dist/esm/models/update-booking-status-dto.js +27 -0
- package/dist/esm/models/update-branch-dto.d.ts +99 -0
- package/dist/esm/models/update-branch-dto.js +14 -0
- package/dist/esm/models/update-hotel-room-dto.d.ts +53 -0
- package/dist/esm/models/update-hotel-room-dto.js +24 -0
- package/dist/esm/models/update-profile-dto.d.ts +63 -0
- package/dist/esm/models/update-profile-dto.js +22 -0
- package/dist/esm/models/update-province-dto.d.ts +43 -0
- package/dist/esm/models/update-province-dto.js +14 -0
- package/dist/esm/models/update-room-detail-dto.d.ts +153 -0
- package/dist/esm/models/update-room-detail-dto.js +34 -0
- package/dist/esm/models/update-room-price-history-dto.d.ts +67 -0
- package/dist/esm/models/update-room-price-history-dto.js +14 -0
- package/dist/esm/models/update-room-promotion-dto.d.ts +114 -0
- package/dist/esm/models/update-room-promotion-dto.js +32 -0
- package/dist/esm/models/user-count.d.ts +24 -0
- package/dist/esm/models/user-count.js +14 -0
- package/dist/esm/models/user-detail.d.ts +216 -0
- package/dist/esm/models/user-detail.js +41 -0
- package/dist/esm/models/user.d.ts +154 -0
- package/dist/esm/models/user.js +41 -0
- package/dist/esm/models/users-pagination-result-dto-meta.d.ts +42 -0
- package/dist/esm/models/users-pagination-result-dto-meta.js +14 -0
- package/dist/esm/models/users-pagination-result-dto.d.ts +32 -0
- package/dist/esm/models/users-pagination-result-dto.js +14 -0
- package/dist/esm/models/verification-email-dto.d.ts +58 -0
- package/dist/esm/models/verification-email-dto.js +31 -0
- package/dist/esm/models/verify-code-dto.d.ts +36 -0
- package/dist/esm/models/verify-code-dto.js +14 -0
- package/dist/esm/models/verify-code-response-dto.d.ts +44 -0
- package/dist/esm/models/verify-code-response-dto.js +22 -0
- package/dist/esm/models/verify-email-dto.d.ts +30 -0
- package/dist/esm/models/verify-email-dto.js +14 -0
- package/dist/esm/models/verify-email-otp.d.ts +30 -0
- package/dist/esm/models/verify-email-otp.js +14 -0
- package/dist/esm/services/amenities-api.d.ts +306 -0
- package/dist/esm/services/amenities-api.js +414 -0
- package/dist/esm/services/analytics-api.d.ts +392 -0
- package/dist/esm/services/analytics-api.js +446 -0
- package/dist/esm/services/app-api.d.ts +65 -0
- package/dist/esm/services/app-api.js +117 -0
- package/dist/esm/services/auth-api.d.ts +648 -0
- package/dist/esm/services/auth-api.js +974 -0
- package/dist/esm/services/booking-api.d.ts +453 -0
- package/dist/esm/services/booking-api.js +622 -0
- package/dist/esm/services/branches-api.d.ts +515 -0
- package/dist/esm/services/branches-api.js +696 -0
- package/dist/esm/services/email-api.d.ts +88 -0
- package/dist/esm/services/email-api.js +129 -0
- package/dist/esm/services/images-api.d.ts +145 -0
- package/dist/esm/services/images-api.js +246 -0
- package/dist/esm/services/pay-osapi.d.ts +227 -0
- package/dist/esm/services/pay-osapi.js +329 -0
- package/dist/esm/services/poeditor-api.d.ts +135 -0
- package/dist/esm/services/poeditor-api.js +196 -0
- package/dist/esm/services/provinces-api.d.ts +381 -0
- package/dist/esm/services/provinces-api.js +539 -0
- package/dist/esm/services/room-details-api.d.ts +452 -0
- package/dist/esm/services/room-details-api.js +620 -0
- package/dist/esm/services/room-price-histories-api.d.ts +235 -0
- package/dist/esm/services/room-price-histories-api.js +333 -0
- package/dist/esm/services/room-promotions-api.d.ts +435 -0
- package/dist/esm/services/room-promotions-api.js +610 -0
- package/dist/esm/services/rooms-api.d.ts +475 -0
- package/dist/esm/services/rooms-api.js +672 -0
- package/dist/esm/services/users-api.d.ts +366 -0
- package/dist/esm/services/users-api.js +487 -0
- package/dist/esm/services/verification-api.d.ts +135 -0
- package/dist/esm/services/verification-api.js +196 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/add-translation-dto.d.ts +31 -0
- package/dist/models/add-translation-dto.js +15 -0
- package/dist/models/admin-update-user-dto.d.ts +39 -0
- package/dist/models/admin-update-user-dto.js +26 -0
- package/dist/models/amenities-pagination-result-dto.d.ts +32 -0
- package/dist/models/amenities-pagination-result-dto.js +15 -0
- package/dist/models/amenity-translation-dto.d.ts +38 -0
- package/dist/models/amenity-translation-dto.js +25 -0
- package/dist/models/amenity.d.ts +89 -0
- package/dist/models/amenity.js +26 -0
- package/dist/models/analytics-summary-dto.d.ts +50 -0
- package/dist/models/analytics-summary-dto.js +15 -0
- package/dist/models/block-activity.d.ts +93 -0
- package/dist/models/block-activity.js +25 -0
- package/dist/models/block-or-unblock-user-dto.d.ts +38 -0
- package/dist/models/block-or-unblock-user-dto.js +25 -0
- package/dist/models/booking.d.ts +265 -0
- package/dist/models/booking.js +73 -0
- package/dist/models/bookings-pagination-result-dto.d.ts +32 -0
- package/dist/models/bookings-pagination-result-dto.js +15 -0
- package/dist/models/branch-detail.d.ts +158 -0
- package/dist/models/branch-detail.js +25 -0
- package/dist/models/branch-translation-dto.d.ts +57 -0
- package/dist/models/branch-translation-dto.js +25 -0
- package/dist/models/branch-translations-inner.d.ts +56 -0
- package/dist/models/branch-translations-inner.js +25 -0
- package/dist/models/branch.d.ts +137 -0
- package/dist/models/branch.js +25 -0
- package/dist/models/branches-infinite-pagination-result-dto.d.ts +31 -0
- package/dist/models/branches-infinite-pagination-result-dto.js +15 -0
- package/dist/models/branches-pagination-result-dto.d.ts +32 -0
- package/dist/models/branches-pagination-result-dto.js +15 -0
- package/dist/models/cancel-booking-dto.d.ts +24 -0
- package/dist/models/cancel-booking-dto.js +15 -0
- package/dist/models/cancel-payment-request-dto.d.ts +30 -0
- package/dist/models/cancel-payment-request-dto.js +15 -0
- package/dist/models/change-password-dto.d.ts +36 -0
- package/dist/models/change-password-dto.js +15 -0
- package/dist/models/confirm-payment-webhook-dto.d.ts +42 -0
- package/dist/models/confirm-payment-webhook-dto.js +15 -0
- package/dist/models/create-amenity-dto.d.ts +59 -0
- package/dist/models/create-amenity-dto.js +26 -0
- package/dist/models/create-booking-at-hotel-dto.d.ts +118 -0
- package/dist/models/create-booking-at-hotel-dto.js +26 -0
- package/dist/models/create-booking-online-dto.d.ts +142 -0
- package/dist/models/create-booking-online-dto.js +39 -0
- package/dist/models/create-branch-dto.d.ts +86 -0
- package/dist/models/create-branch-dto.js +15 -0
- package/dist/models/create-hotel-room-dto.d.ts +59 -0
- package/dist/models/create-hotel-room-dto.js +27 -0
- package/dist/models/create-payment-request-dto.d.ts +79 -0
- package/dist/models/create-payment-request-dto.js +15 -0
- package/dist/models/create-province-dto.d.ts +43 -0
- package/dist/models/create-province-dto.js +15 -0
- package/dist/models/create-room-detail-dto.d.ts +135 -0
- package/dist/models/create-room-detail-dto.js +37 -0
- package/dist/models/create-room-price-history-dto.d.ts +73 -0
- package/dist/models/create-room-price-history-dto.js +15 -0
- package/dist/models/create-room-promotion-dto.d.ts +114 -0
- package/dist/models/create-room-promotion-dto.js +35 -0
- package/dist/models/create-user-dto.d.ts +42 -0
- package/dist/models/create-user-dto.js +15 -0
- package/dist/models/delete-user-dto.d.ts +24 -0
- package/dist/models/delete-user-dto.js +15 -0
- package/dist/models/detail-translation-content.d.ts +42 -0
- package/dist/models/detail-translation-content.js +15 -0
- package/dist/models/filter-amenity-dto.d.ts +39 -0
- package/dist/models/filter-amenity-dto.js +26 -0
- package/dist/models/filter-bookings-dto.d.ts +128 -0
- package/dist/models/filter-bookings-dto.js +64 -0
- package/dist/models/filter-branches-dto.d.ts +54 -0
- package/dist/models/filter-branches-dto.js +15 -0
- package/dist/models/filter-hotel-room-dto.d.ts +52 -0
- package/dist/models/filter-hotel-room-dto.js +27 -0
- package/dist/models/filter-my-bookings-dto.d.ts +37 -0
- package/dist/models/filter-my-bookings-dto.js +30 -0
- package/dist/models/filter-provinces-dto.d.ts +24 -0
- package/dist/models/filter-provinces-dto.js +15 -0
- package/dist/models/filter-room-detail-dto.d.ts +160 -0
- package/dist/models/filter-room-detail-dto.js +47 -0
- package/dist/models/filter-room-promotion-dto.d.ts +65 -0
- package/dist/models/filter-room-promotion-dto.js +35 -0
- package/dist/models/filter-user-dto.d.ts +57 -0
- package/dist/models/filter-user-dto.js +26 -0
- package/dist/models/get-analytics-query-dto.d.ts +57 -0
- package/dist/models/get-analytics-query-dto.js +26 -0
- package/dist/models/get-translations-request-dto.d.ts +24 -0
- package/dist/models/get-translations-request-dto.js +15 -0
- package/dist/models/guest-detail.d.ts +52 -0
- package/dist/models/guest-detail.js +26 -0
- package/dist/models/hotel-room-pagination-result-dto.d.ts +32 -0
- package/dist/models/hotel-room-pagination-result-dto.js +15 -0
- package/dist/models/hotel-room-translation-dto.d.ts +38 -0
- package/dist/models/hotel-room-translation-dto.js +25 -0
- package/dist/models/hotel-room.d.ts +103 -0
- package/dist/models/hotel-room.js +27 -0
- package/dist/models/image-upload-response-dto.d.ts +30 -0
- package/dist/models/image-upload-response-dto.js +15 -0
- package/dist/models/image.d.ts +30 -0
- package/dist/models/image.js +15 -0
- package/dist/models/immediate-delete-rooms-dto.d.ts +24 -0
- package/dist/models/immediate-delete-rooms-dto.js +15 -0
- package/dist/models/index.d.ts +126 -0
- package/dist/models/index.js +142 -0
- package/dist/models/initiate-forgot-password-email-dto.d.ts +24 -0
- package/dist/models/initiate-forgot-password-email-dto.js +15 -0
- package/dist/models/list-translation-response-dto.d.ts +32 -0
- package/dist/models/list-translation-response-dto.js +15 -0
- package/dist/models/list-translation-result.d.ts +25 -0
- package/dist/models/list-translation-result.js +15 -0
- package/dist/models/login-dto.d.ts +30 -0
- package/dist/models/login-dto.js +15 -0
- package/dist/models/login-response-dto.d.ts +36 -0
- package/dist/models/login-response-dto.js +15 -0
- package/dist/models/logout-response-dto.d.ts +24 -0
- package/dist/models/logout-response-dto.js +15 -0
- package/dist/models/near-by.d.ts +30 -0
- package/dist/models/near-by.js +15 -0
- package/dist/models/occupancy-rate-response-dto.d.ts +42 -0
- package/dist/models/occupancy-rate-response-dto.js +15 -0
- package/dist/models/promotion-translation-dto.d.ts +44 -0
- package/dist/models/promotion-translation-dto.js +25 -0
- package/dist/models/promotion-translation.d.ts +50 -0
- package/dist/models/promotion-translation.js +25 -0
- package/dist/models/province-count.d.ts +24 -0
- package/dist/models/province-count.js +15 -0
- package/dist/models/province-pagination-result-dto.d.ts +32 -0
- package/dist/models/province-pagination-result-dto.js +15 -0
- package/dist/models/province-translation-dto.d.ts +38 -0
- package/dist/models/province-translation-dto.js +25 -0
- package/dist/models/province-translations-inner.d.ts +30 -0
- package/dist/models/province-translations-inner.js +15 -0
- package/dist/models/province.d.ts +80 -0
- package/dist/models/province.js +15 -0
- package/dist/models/query-amenity-dto.d.ts +42 -0
- package/dist/models/query-amenity-dto.js +15 -0
- package/dist/models/query-bookings-dto.d.ts +42 -0
- package/dist/models/query-bookings-dto.js +15 -0
- package/dist/models/query-branches-dto.d.ts +42 -0
- package/dist/models/query-branches-dto.js +15 -0
- package/dist/models/query-hotel-room-dto.d.ts +42 -0
- package/dist/models/query-hotel-room-dto.js +15 -0
- package/dist/models/query-my-bookings-dto.d.ts +36 -0
- package/dist/models/query-my-bookings-dto.js +15 -0
- package/dist/models/query-provinces-dto.d.ts +42 -0
- package/dist/models/query-provinces-dto.js +15 -0
- package/dist/models/query-room-detail-dto.d.ts +42 -0
- package/dist/models/query-room-detail-dto.js +15 -0
- package/dist/models/query-room-promotion-dto.d.ts +42 -0
- package/dist/models/query-room-promotion-dto.js +15 -0
- package/dist/models/query-users-dto.d.ts +42 -0
- package/dist/models/query-users-dto.js +15 -0
- package/dist/models/refresh-token-dto.d.ts +24 -0
- package/dist/models/refresh-token-dto.js +15 -0
- package/dist/models/refresh-token-response-dto.d.ts +36 -0
- package/dist/models/refresh-token-response-dto.js +15 -0
- package/dist/models/register-dto.d.ts +39 -0
- package/dist/models/register-dto.js +25 -0
- package/dist/models/register-response-dto.d.ts +50 -0
- package/dist/models/register-response-dto.js +25 -0
- package/dist/models/reset-password-with-otpemail-dto.d.ts +36 -0
- package/dist/models/reset-password-with-otpemail-dto.js +15 -0
- package/dist/models/response-status.d.ts +36 -0
- package/dist/models/response-status.js +15 -0
- package/dist/models/response-with-message.d.ts +30 -0
- package/dist/models/response-with-message.js +15 -0
- package/dist/models/revenue-by-room-type-dto.d.ts +51 -0
- package/dist/models/revenue-by-room-type-dto.js +26 -0
- package/dist/models/revenue-timeline-dto.d.ts +37 -0
- package/dist/models/revenue-timeline-dto.js +15 -0
- package/dist/models/revoke-session-response-dto.d.ts +24 -0
- package/dist/models/revoke-session-response-dto.js +15 -0
- package/dist/models/room-detail-infinite-pagination-result-dto.d.ts +31 -0
- package/dist/models/room-detail-infinite-pagination-result-dto.js +15 -0
- package/dist/models/room-detail-pagination-result-dto.d.ts +32 -0
- package/dist/models/room-detail-pagination-result-dto.js +15 -0
- package/dist/models/room-detail-translation-dto.d.ts +44 -0
- package/dist/models/room-detail-translation-dto.js +25 -0
- package/dist/models/room-detail.d.ts +203 -0
- package/dist/models/room-detail.js +37 -0
- package/dist/models/room-performance-dto.d.ts +69 -0
- package/dist/models/room-performance-dto.js +26 -0
- package/dist/models/room-price-history-translation-dto.d.ts +44 -0
- package/dist/models/room-price-history-translation-dto.js +25 -0
- package/dist/models/room-price-history-translations-inner.d.ts +36 -0
- package/dist/models/room-price-history-translations-inner.js +15 -0
- package/dist/models/room-price-history.d.ts +116 -0
- package/dist/models/room-price-history.js +15 -0
- package/dist/models/room-promotion-pagination-result-dto.d.ts +32 -0
- package/dist/models/room-promotion-pagination-result-dto.js +15 -0
- package/dist/models/room-promotion.d.ts +151 -0
- package/dist/models/room-promotion.js +35 -0
- package/dist/models/session-response-dto.d.ts +24 -0
- package/dist/models/session-response-dto.js +15 -0
- package/dist/models/sort-amenity-dto.d.ts +38 -0
- package/dist/models/sort-amenity-dto.js +25 -0
- package/dist/models/sort-bookings-dto.d.ts +38 -0
- package/dist/models/sort-bookings-dto.js +25 -0
- package/dist/models/sort-branch-dto.d.ts +38 -0
- package/dist/models/sort-branch-dto.js +25 -0
- package/dist/models/sort-hotel-room-dto.d.ts +38 -0
- package/dist/models/sort-hotel-room-dto.js +25 -0
- package/dist/models/sort-province-dto.d.ts +38 -0
- package/dist/models/sort-province-dto.js +25 -0
- package/dist/models/sort-room-detail-dto.d.ts +38 -0
- package/dist/models/sort-room-detail-dto.js +25 -0
- package/dist/models/sort-room-promotion-dto.d.ts +38 -0
- package/dist/models/sort-room-promotion-dto.js +25 -0
- package/dist/models/sort-user-dto.d.ts +38 -0
- package/dist/models/sort-user-dto.js +25 -0
- package/dist/models/term.d.ts +61 -0
- package/dist/models/term.js +15 -0
- package/dist/models/translation-content.d.ts +24 -0
- package/dist/models/translation-content.js +15 -0
- package/dist/models/translation-data.d.ts +37 -0
- package/dist/models/translation-data.js +15 -0
- package/dist/models/update-amenity-dto.d.ts +59 -0
- package/dist/models/update-amenity-dto.js +26 -0
- package/dist/models/update-booking-status-dto.d.ts +37 -0
- package/dist/models/update-booking-status-dto.js +30 -0
- package/dist/models/update-branch-dto.d.ts +99 -0
- package/dist/models/update-branch-dto.js +15 -0
- package/dist/models/update-hotel-room-dto.d.ts +53 -0
- package/dist/models/update-hotel-room-dto.js +27 -0
- package/dist/models/update-profile-dto.d.ts +63 -0
- package/dist/models/update-profile-dto.js +25 -0
- package/dist/models/update-province-dto.d.ts +43 -0
- package/dist/models/update-province-dto.js +15 -0
- package/dist/models/update-room-detail-dto.d.ts +153 -0
- package/dist/models/update-room-detail-dto.js +37 -0
- package/dist/models/update-room-price-history-dto.d.ts +67 -0
- package/dist/models/update-room-price-history-dto.js +15 -0
- package/dist/models/update-room-promotion-dto.d.ts +114 -0
- package/dist/models/update-room-promotion-dto.js +35 -0
- package/dist/models/user-count.d.ts +24 -0
- package/dist/models/user-count.js +15 -0
- package/dist/models/user-detail.d.ts +216 -0
- package/dist/models/user-detail.js +44 -0
- package/dist/models/user.d.ts +154 -0
- package/dist/models/user.js +44 -0
- package/dist/models/users-pagination-result-dto-meta.d.ts +42 -0
- package/dist/models/users-pagination-result-dto-meta.js +15 -0
- package/dist/models/users-pagination-result-dto.d.ts +32 -0
- package/dist/models/users-pagination-result-dto.js +15 -0
- package/dist/models/verification-email-dto.d.ts +58 -0
- package/dist/models/verification-email-dto.js +34 -0
- package/dist/models/verify-code-dto.d.ts +36 -0
- package/dist/models/verify-code-dto.js +15 -0
- package/dist/models/verify-code-response-dto.d.ts +44 -0
- package/dist/models/verify-code-response-dto.js +25 -0
- package/dist/models/verify-email-dto.d.ts +30 -0
- package/dist/models/verify-email-dto.js +15 -0
- package/dist/models/verify-email-otp.d.ts +30 -0
- package/dist/models/verify-email-otp.js +15 -0
- package/dist/services/amenities-api.d.ts +306 -0
- package/dist/services/amenities-api.js +421 -0
- package/dist/services/analytics-api.d.ts +392 -0
- package/dist/services/analytics-api.js +453 -0
- package/dist/services/app-api.d.ts +65 -0
- package/dist/services/app-api.js +124 -0
- package/dist/services/auth-api.d.ts +648 -0
- package/dist/services/auth-api.js +981 -0
- package/dist/services/booking-api.d.ts +453 -0
- package/dist/services/booking-api.js +629 -0
- package/dist/services/branches-api.d.ts +515 -0
- package/dist/services/branches-api.js +703 -0
- package/dist/services/email-api.d.ts +88 -0
- package/dist/services/email-api.js +136 -0
- package/dist/services/images-api.d.ts +145 -0
- package/dist/services/images-api.js +253 -0
- package/dist/services/pay-osapi.d.ts +227 -0
- package/dist/services/pay-osapi.js +336 -0
- package/dist/services/poeditor-api.d.ts +135 -0
- package/dist/services/poeditor-api.js +203 -0
- package/dist/services/provinces-api.d.ts +381 -0
- package/dist/services/provinces-api.js +546 -0
- package/dist/services/room-details-api.d.ts +452 -0
- package/dist/services/room-details-api.js +627 -0
- package/dist/services/room-price-histories-api.d.ts +235 -0
- package/dist/services/room-price-histories-api.js +340 -0
- package/dist/services/room-promotions-api.d.ts +435 -0
- package/dist/services/room-promotions-api.js +617 -0
- package/dist/services/rooms-api.d.ts +475 -0
- package/dist/services/rooms-api.js +679 -0
- package/dist/services/users-api.d.ts +366 -0
- package/dist/services/users-api.js +494 -0
- package/dist/services/verification-api.d.ts +135 -0
- package/dist/services/verification-api.js +203 -0
- package/package.json +3 -2
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AHomeVilla documentation
|
|
3
|
+
* This is AHomeVilla\'s APIs description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { ChangePasswordDto } from '../models';
|
|
16
|
+
import type { InitiateForgotPasswordEmailDto } from '../models';
|
|
17
|
+
import type { LoginDto } from '../models';
|
|
18
|
+
import type { LoginResponseDto } from '../models';
|
|
19
|
+
import type { LogoutResponseDto } from '../models';
|
|
20
|
+
import type { RefreshTokenDto } from '../models';
|
|
21
|
+
import type { RefreshTokenResponseDto } from '../models';
|
|
22
|
+
import type { RegisterDto } from '../models';
|
|
23
|
+
import type { RegisterResponseDto } from '../models';
|
|
24
|
+
import type { ResetPasswordWithOTPEmailDto } from '../models';
|
|
25
|
+
import type { RevokeSessionResponseDto } from '../models';
|
|
26
|
+
import type { SessionResponseDto } from '../models';
|
|
27
|
+
import type { UpdateProfileDto } from '../models';
|
|
28
|
+
import type { User } from '../models';
|
|
29
|
+
import type { VerifyEmailDto } from '../models';
|
|
30
|
+
/**
|
|
31
|
+
* AuthApi - axios parameter creator
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Change user password
|
|
38
|
+
* @param {ChangePasswordDto} changePasswordDto
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
authControllerChangePassword: (changePasswordDto: ChangePasswordDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieve all active sessions for the current user
|
|
45
|
+
* @summary Get active sessions
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
authControllerGetActiveSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Get current user profile
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
authControllerGetProfile: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Get analytics data for user sessions. Requires ADMIN role.
|
|
59
|
+
* @summary Get session analytics
|
|
60
|
+
* @param {string} userId
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
authControllerGetSessionAnalytics: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
* Get suspicious activities for a specific user. Requires ADMIN role.
|
|
67
|
+
* @summary Get suspicious activities
|
|
68
|
+
* @param {string} userId
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
authControllerGetSuspiciousActivities: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Initiate forgot password process
|
|
76
|
+
* @param {InitiateForgotPasswordEmailDto} initiateForgotPasswordEmailDto
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
authControllerInitiateForgotPassword: (initiateForgotPasswordEmailDto: InitiateForgotPasswordEmailDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @param {string} userAgent
|
|
84
|
+
* @param {LoginDto} loginDto
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
authControllerLogin: (userAgent: string, loginDto: LoginDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
|
+
/**
|
|
90
|
+
* Revoke the current refresh token, effectively logging out the user
|
|
91
|
+
* @summary Logout user
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
authControllerLogout: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
|
+
/**
|
|
97
|
+
* Exchange a valid refresh token for a new access token and refresh token pair
|
|
98
|
+
* @summary Refresh access token
|
|
99
|
+
* @param {RefreshTokenDto} refreshTokenDto
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
authControllerRefreshTokens: (refreshTokenDto: RefreshTokenDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param {RegisterDto} registerDto
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
authControllerRegister: (registerDto: RegisterDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Reset password using OTP
|
|
114
|
+
* @param {ResetPasswordWithOTPEmailDto} resetPasswordWithOTPEmailDto
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
authControllerResetPasswordWithOTP: (resetPasswordWithOTPEmailDto: ResetPasswordWithOTPEmailDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
|
+
/**
|
|
120
|
+
* Revoke a specific session by its ID
|
|
121
|
+
* @summary Revoke specific session
|
|
122
|
+
* @param {string} sessionId
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
authControllerRevokeSession: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary Update user profile
|
|
130
|
+
* @param {UpdateProfileDto} updateProfileDto
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
authControllerUpdateProfile: (updateProfileDto: UpdateProfileDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Verify email with OTP code
|
|
138
|
+
* @param {VerifyEmailDto} verifyEmailDto
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
authControllerVerifyEmail: (verifyEmailDto: VerifyEmailDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* AuthApi - functional programming interface
|
|
146
|
+
* @export
|
|
147
|
+
*/
|
|
148
|
+
export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @summary Change user password
|
|
152
|
+
* @param {ChangePasswordDto} changePasswordDto
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
authControllerChangePassword(changePasswordDto: ChangePasswordDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
157
|
+
/**
|
|
158
|
+
* Retrieve all active sessions for the current user
|
|
159
|
+
* @summary Get active sessions
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
authControllerGetActiveSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponseDto>>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary Get current user profile
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
authControllerGetProfile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
|
|
171
|
+
/**
|
|
172
|
+
* Get analytics data for user sessions. Requires ADMIN role.
|
|
173
|
+
* @summary Get session analytics
|
|
174
|
+
* @param {string} userId
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
authControllerGetSessionAnalytics(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
179
|
+
/**
|
|
180
|
+
* Get suspicious activities for a specific user. Requires ADMIN role.
|
|
181
|
+
* @summary Get suspicious activities
|
|
182
|
+
* @param {string} userId
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
authControllerGetSuspiciousActivities(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary Initiate forgot password process
|
|
190
|
+
* @param {InitiateForgotPasswordEmailDto} initiateForgotPasswordEmailDto
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
authControllerInitiateForgotPassword(initiateForgotPasswordEmailDto: InitiateForgotPasswordEmailDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @param {string} userAgent
|
|
198
|
+
* @param {LoginDto} loginDto
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
authControllerLogin(userAgent: string, loginDto: LoginDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponseDto>>;
|
|
203
|
+
/**
|
|
204
|
+
* Revoke the current refresh token, effectively logging out the user
|
|
205
|
+
* @summary Logout user
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogoutResponseDto>>;
|
|
210
|
+
/**
|
|
211
|
+
* Exchange a valid refresh token for a new access token and refresh token pair
|
|
212
|
+
* @summary Refresh access token
|
|
213
|
+
* @param {RefreshTokenDto} refreshTokenDto
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
authControllerRefreshTokens(refreshTokenDto: RefreshTokenDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefreshTokenResponseDto>>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @param {RegisterDto} registerDto
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
authControllerRegister(registerDto: RegisterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterResponseDto>>;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @summary Reset password using OTP
|
|
228
|
+
* @param {ResetPasswordWithOTPEmailDto} resetPasswordWithOTPEmailDto
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
authControllerResetPasswordWithOTP(resetPasswordWithOTPEmailDto: ResetPasswordWithOTPEmailDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
233
|
+
/**
|
|
234
|
+
* Revoke a specific session by its ID
|
|
235
|
+
* @summary Revoke specific session
|
|
236
|
+
* @param {string} sessionId
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
authControllerRevokeSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RevokeSessionResponseDto>>;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @summary Update user profile
|
|
244
|
+
* @param {UpdateProfileDto} updateProfileDto
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
authControllerUpdateProfile(updateProfileDto: UpdateProfileDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @summary Verify email with OTP code
|
|
252
|
+
* @param {VerifyEmailDto} verifyEmailDto
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
authControllerVerifyEmail(verifyEmailDto: VerifyEmailDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* AuthApi - factory interface
|
|
260
|
+
* @export
|
|
261
|
+
*/
|
|
262
|
+
export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @summary Change user password
|
|
266
|
+
* @param {AuthApiAuthControllerChangePasswordRequest} requestParameters Request parameters.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
authControllerChangePassword(requestParameters: AuthApiAuthControllerChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
271
|
+
/**
|
|
272
|
+
* Retrieve all active sessions for the current user
|
|
273
|
+
* @summary Get active sessions
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
authControllerGetActiveSessions(options?: RawAxiosRequestConfig): AxiosPromise<SessionResponseDto>;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @summary Get current user profile
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
authControllerGetProfile(options?: RawAxiosRequestConfig): AxiosPromise<User>;
|
|
285
|
+
/**
|
|
286
|
+
* Get analytics data for user sessions. Requires ADMIN role.
|
|
287
|
+
* @summary Get session analytics
|
|
288
|
+
* @param {AuthApiAuthControllerGetSessionAnalyticsRequest} requestParameters Request parameters.
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
authControllerGetSessionAnalytics(requestParameters: AuthApiAuthControllerGetSessionAnalyticsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
293
|
+
/**
|
|
294
|
+
* Get suspicious activities for a specific user. Requires ADMIN role.
|
|
295
|
+
* @summary Get suspicious activities
|
|
296
|
+
* @param {AuthApiAuthControllerGetSuspiciousActivitiesRequest} requestParameters Request parameters.
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
authControllerGetSuspiciousActivities(requestParameters: AuthApiAuthControllerGetSuspiciousActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @summary Initiate forgot password process
|
|
304
|
+
* @param {AuthApiAuthControllerInitiateForgotPasswordRequest} requestParameters Request parameters.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
authControllerInitiateForgotPassword(requestParameters: AuthApiAuthControllerInitiateForgotPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @param {AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
authControllerLogin(requestParameters: AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponseDto>;
|
|
316
|
+
/**
|
|
317
|
+
* Revoke the current refresh token, effectively logging out the user
|
|
318
|
+
* @summary Logout user
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<LogoutResponseDto>;
|
|
323
|
+
/**
|
|
324
|
+
* Exchange a valid refresh token for a new access token and refresh token pair
|
|
325
|
+
* @summary Refresh access token
|
|
326
|
+
* @param {AuthApiAuthControllerRefreshTokensRequest} requestParameters Request parameters.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
authControllerRefreshTokens(requestParameters: AuthApiAuthControllerRefreshTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<RefreshTokenResponseDto>;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @param {AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
authControllerRegister(requestParameters: AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<RegisterResponseDto>;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @summary Reset password using OTP
|
|
341
|
+
* @param {AuthApiAuthControllerResetPasswordWithOTPRequest} requestParameters Request parameters.
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
authControllerResetPasswordWithOTP(requestParameters: AuthApiAuthControllerResetPasswordWithOTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
346
|
+
/**
|
|
347
|
+
* Revoke a specific session by its ID
|
|
348
|
+
* @summary Revoke specific session
|
|
349
|
+
* @param {AuthApiAuthControllerRevokeSessionRequest} requestParameters Request parameters.
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
authControllerRevokeSession(requestParameters: AuthApiAuthControllerRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<RevokeSessionResponseDto>;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @summary Update user profile
|
|
357
|
+
* @param {AuthApiAuthControllerUpdateProfileRequest} requestParameters Request parameters.
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
authControllerUpdateProfile(requestParameters: AuthApiAuthControllerUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @summary Verify email with OTP code
|
|
365
|
+
* @param {AuthApiAuthControllerVerifyEmailRequest} requestParameters Request parameters.
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
authControllerVerifyEmail(requestParameters: AuthApiAuthControllerVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Request parameters for authControllerChangePassword operation in AuthApi.
|
|
373
|
+
* @export
|
|
374
|
+
* @interface AuthApiAuthControllerChangePasswordRequest
|
|
375
|
+
*/
|
|
376
|
+
export interface AuthApiAuthControllerChangePasswordRequest {
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {ChangePasswordDto}
|
|
380
|
+
* @memberof AuthApiAuthControllerChangePassword
|
|
381
|
+
*/
|
|
382
|
+
readonly changePasswordDto: ChangePasswordDto;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Request parameters for authControllerGetSessionAnalytics operation in AuthApi.
|
|
386
|
+
* @export
|
|
387
|
+
* @interface AuthApiAuthControllerGetSessionAnalyticsRequest
|
|
388
|
+
*/
|
|
389
|
+
export interface AuthApiAuthControllerGetSessionAnalyticsRequest {
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @type {string}
|
|
393
|
+
* @memberof AuthApiAuthControllerGetSessionAnalytics
|
|
394
|
+
*/
|
|
395
|
+
readonly userId: string;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Request parameters for authControllerGetSuspiciousActivities operation in AuthApi.
|
|
399
|
+
* @export
|
|
400
|
+
* @interface AuthApiAuthControllerGetSuspiciousActivitiesRequest
|
|
401
|
+
*/
|
|
402
|
+
export interface AuthApiAuthControllerGetSuspiciousActivitiesRequest {
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @type {string}
|
|
406
|
+
* @memberof AuthApiAuthControllerGetSuspiciousActivities
|
|
407
|
+
*/
|
|
408
|
+
readonly userId: string;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Request parameters for authControllerInitiateForgotPassword operation in AuthApi.
|
|
412
|
+
* @export
|
|
413
|
+
* @interface AuthApiAuthControllerInitiateForgotPasswordRequest
|
|
414
|
+
*/
|
|
415
|
+
export interface AuthApiAuthControllerInitiateForgotPasswordRequest {
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {InitiateForgotPasswordEmailDto}
|
|
419
|
+
* @memberof AuthApiAuthControllerInitiateForgotPassword
|
|
420
|
+
*/
|
|
421
|
+
readonly initiateForgotPasswordEmailDto: InitiateForgotPasswordEmailDto;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Request parameters for authControllerLogin operation in AuthApi.
|
|
425
|
+
* @export
|
|
426
|
+
* @interface AuthApiAuthControllerLoginRequest
|
|
427
|
+
*/
|
|
428
|
+
export interface AuthApiAuthControllerLoginRequest {
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof AuthApiAuthControllerLogin
|
|
433
|
+
*/
|
|
434
|
+
readonly userAgent: string;
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @type {LoginDto}
|
|
438
|
+
* @memberof AuthApiAuthControllerLogin
|
|
439
|
+
*/
|
|
440
|
+
readonly loginDto: LoginDto;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Request parameters for authControllerRefreshTokens operation in AuthApi.
|
|
444
|
+
* @export
|
|
445
|
+
* @interface AuthApiAuthControllerRefreshTokensRequest
|
|
446
|
+
*/
|
|
447
|
+
export interface AuthApiAuthControllerRefreshTokensRequest {
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {RefreshTokenDto}
|
|
451
|
+
* @memberof AuthApiAuthControllerRefreshTokens
|
|
452
|
+
*/
|
|
453
|
+
readonly refreshTokenDto: RefreshTokenDto;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Request parameters for authControllerRegister operation in AuthApi.
|
|
457
|
+
* @export
|
|
458
|
+
* @interface AuthApiAuthControllerRegisterRequest
|
|
459
|
+
*/
|
|
460
|
+
export interface AuthApiAuthControllerRegisterRequest {
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {RegisterDto}
|
|
464
|
+
* @memberof AuthApiAuthControllerRegister
|
|
465
|
+
*/
|
|
466
|
+
readonly registerDto: RegisterDto;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Request parameters for authControllerResetPasswordWithOTP operation in AuthApi.
|
|
470
|
+
* @export
|
|
471
|
+
* @interface AuthApiAuthControllerResetPasswordWithOTPRequest
|
|
472
|
+
*/
|
|
473
|
+
export interface AuthApiAuthControllerResetPasswordWithOTPRequest {
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {ResetPasswordWithOTPEmailDto}
|
|
477
|
+
* @memberof AuthApiAuthControllerResetPasswordWithOTP
|
|
478
|
+
*/
|
|
479
|
+
readonly resetPasswordWithOTPEmailDto: ResetPasswordWithOTPEmailDto;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Request parameters for authControllerRevokeSession operation in AuthApi.
|
|
483
|
+
* @export
|
|
484
|
+
* @interface AuthApiAuthControllerRevokeSessionRequest
|
|
485
|
+
*/
|
|
486
|
+
export interface AuthApiAuthControllerRevokeSessionRequest {
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof AuthApiAuthControllerRevokeSession
|
|
491
|
+
*/
|
|
492
|
+
readonly sessionId: string;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Request parameters for authControllerUpdateProfile operation in AuthApi.
|
|
496
|
+
* @export
|
|
497
|
+
* @interface AuthApiAuthControllerUpdateProfileRequest
|
|
498
|
+
*/
|
|
499
|
+
export interface AuthApiAuthControllerUpdateProfileRequest {
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @type {UpdateProfileDto}
|
|
503
|
+
* @memberof AuthApiAuthControllerUpdateProfile
|
|
504
|
+
*/
|
|
505
|
+
readonly updateProfileDto: UpdateProfileDto;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Request parameters for authControllerVerifyEmail operation in AuthApi.
|
|
509
|
+
* @export
|
|
510
|
+
* @interface AuthApiAuthControllerVerifyEmailRequest
|
|
511
|
+
*/
|
|
512
|
+
export interface AuthApiAuthControllerVerifyEmailRequest {
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {VerifyEmailDto}
|
|
516
|
+
* @memberof AuthApiAuthControllerVerifyEmail
|
|
517
|
+
*/
|
|
518
|
+
readonly verifyEmailDto: VerifyEmailDto;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* AuthApi - object-oriented interface
|
|
522
|
+
* @export
|
|
523
|
+
* @class AuthApi
|
|
524
|
+
* @extends {BaseAPI}
|
|
525
|
+
*/
|
|
526
|
+
export declare class AuthApi extends BaseAPI {
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @summary Change user password
|
|
530
|
+
* @param {AuthApiAuthControllerChangePasswordRequest} requestParameters Request parameters.
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
* @memberof AuthApi
|
|
534
|
+
*/
|
|
535
|
+
authControllerChangePassword(requestParameters: AuthApiAuthControllerChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
536
|
+
/**
|
|
537
|
+
* Retrieve all active sessions for the current user
|
|
538
|
+
* @summary Get active sessions
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
* @memberof AuthApi
|
|
542
|
+
*/
|
|
543
|
+
authControllerGetActiveSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponseDto, any>>;
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @summary Get current user profile
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
* @memberof AuthApi
|
|
550
|
+
*/
|
|
551
|
+
authControllerGetProfile(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any>>;
|
|
552
|
+
/**
|
|
553
|
+
* Get analytics data for user sessions. Requires ADMIN role.
|
|
554
|
+
* @summary Get session analytics
|
|
555
|
+
* @param {AuthApiAuthControllerGetSessionAnalyticsRequest} requestParameters Request parameters.
|
|
556
|
+
* @param {*} [options] Override http request option.
|
|
557
|
+
* @throws {RequiredError}
|
|
558
|
+
* @memberof AuthApi
|
|
559
|
+
*/
|
|
560
|
+
authControllerGetSessionAnalytics(requestParameters: AuthApiAuthControllerGetSessionAnalyticsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
561
|
+
/**
|
|
562
|
+
* Get suspicious activities for a specific user. Requires ADMIN role.
|
|
563
|
+
* @summary Get suspicious activities
|
|
564
|
+
* @param {AuthApiAuthControllerGetSuspiciousActivitiesRequest} requestParameters Request parameters.
|
|
565
|
+
* @param {*} [options] Override http request option.
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
* @memberof AuthApi
|
|
568
|
+
*/
|
|
569
|
+
authControllerGetSuspiciousActivities(requestParameters: AuthApiAuthControllerGetSuspiciousActivitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @summary Initiate forgot password process
|
|
573
|
+
* @param {AuthApiAuthControllerInitiateForgotPasswordRequest} requestParameters Request parameters.
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
* @memberof AuthApi
|
|
577
|
+
*/
|
|
578
|
+
authControllerInitiateForgotPassword(requestParameters: AuthApiAuthControllerInitiateForgotPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @param {AuthApiAuthControllerLoginRequest} requestParameters Request parameters.
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
* @memberof AuthApi
|
|
585
|
+
*/
|
|
586
|
+
authControllerLogin(requestParameters: AuthApiAuthControllerLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponseDto, any>>;
|
|
587
|
+
/**
|
|
588
|
+
* Revoke the current refresh token, effectively logging out the user
|
|
589
|
+
* @summary Logout user
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
* @memberof AuthApi
|
|
593
|
+
*/
|
|
594
|
+
authControllerLogout(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogoutResponseDto, any>>;
|
|
595
|
+
/**
|
|
596
|
+
* Exchange a valid refresh token for a new access token and refresh token pair
|
|
597
|
+
* @summary Refresh access token
|
|
598
|
+
* @param {AuthApiAuthControllerRefreshTokensRequest} requestParameters Request parameters.
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
* @memberof AuthApi
|
|
602
|
+
*/
|
|
603
|
+
authControllerRefreshTokens(requestParameters: AuthApiAuthControllerRefreshTokensRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshTokenResponseDto, any>>;
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @param {AuthApiAuthControllerRegisterRequest} requestParameters Request parameters.
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
* @memberof AuthApi
|
|
610
|
+
*/
|
|
611
|
+
authControllerRegister(requestParameters: AuthApiAuthControllerRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterResponseDto, any>>;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @summary Reset password using OTP
|
|
615
|
+
* @param {AuthApiAuthControllerResetPasswordWithOTPRequest} requestParameters Request parameters.
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
* @memberof AuthApi
|
|
619
|
+
*/
|
|
620
|
+
authControllerResetPasswordWithOTP(requestParameters: AuthApiAuthControllerResetPasswordWithOTPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
621
|
+
/**
|
|
622
|
+
* Revoke a specific session by its ID
|
|
623
|
+
* @summary Revoke specific session
|
|
624
|
+
* @param {AuthApiAuthControllerRevokeSessionRequest} requestParameters Request parameters.
|
|
625
|
+
* @param {*} [options] Override http request option.
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
* @memberof AuthApi
|
|
628
|
+
*/
|
|
629
|
+
authControllerRevokeSession(requestParameters: AuthApiAuthControllerRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeSessionResponseDto, any>>;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @summary Update user profile
|
|
633
|
+
* @param {AuthApiAuthControllerUpdateProfileRequest} requestParameters Request parameters.
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
* @memberof AuthApi
|
|
637
|
+
*/
|
|
638
|
+
authControllerUpdateProfile(requestParameters: AuthApiAuthControllerUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any>>;
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @summary Verify email with OTP code
|
|
642
|
+
* @param {AuthApiAuthControllerVerifyEmailRequest} requestParameters Request parameters.
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof AuthApi
|
|
646
|
+
*/
|
|
647
|
+
authControllerVerifyEmail(requestParameters: AuthApiAuthControllerVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
648
|
+
}
|