@escapenavigator/services 1.0.17 → 1.1.6
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/admins-api/get-profile-token.d.ts +8 -0
- package/dist/api/admins-api/get-profile-token.js +8 -1
- package/dist/api/admins-api/index.d.ts +12 -0
- package/dist/api/admins-api/index.js +13 -1
- package/dist/api/admins-api/login.d.ts +9 -0
- package/dist/api/admins-api/login.js +9 -1
- package/dist/api/admins-api/logout.d.ts +5 -0
- package/dist/api/admins-api/logout.js +8 -1
- package/dist/api/admins-api/me.d.ts +5 -0
- package/dist/api/admins-api/me.js +8 -1
- package/dist/api/agb-api/get-one.d.ts +7 -0
- package/dist/api/agb-api/get-one.js +8 -1
- package/dist/api/agb-api/index.d.ts +8 -0
- package/dist/api/agb-api/index.js +9 -1
- package/dist/api/agb-api/update.d.ts +9 -0
- package/dist/api/agb-api/update.js +9 -1
- package/dist/api/cashboxes-api/create.d.ts +9 -0
- package/dist/api/cashboxes-api/create.js +9 -1
- package/dist/api/cashboxes-api/get-one.d.ts +6 -0
- package/dist/api/cashboxes-api/get-one.js +8 -1
- package/dist/api/cashboxes-api/index.d.ts +14 -0
- package/dist/api/cashboxes-api/index.js +15 -1
- package/dist/api/cashboxes-api/query.d.ts +6 -0
- package/dist/api/cashboxes-api/query.js +8 -1
- package/dist/api/cashboxes-api/recover.d.ts +7 -0
- package/dist/api/cashboxes-api/recover.js +8 -1
- package/dist/api/cashboxes-api/remove.d.ts +7 -0
- package/dist/api/cashboxes-api/remove.js +8 -1
- package/dist/api/cashboxes-api/update.d.ts +10 -0
- package/dist/api/cashboxes-api/update.js +9 -0
- package/dist/api/certificates-api/create.d.ts +9 -0
- package/dist/api/certificates-api/create.js +9 -1
- package/dist/api/certificates-api/get-one.d.ts +7 -0
- package/dist/api/certificates-api/get-one.js +8 -1
- package/dist/api/certificates-api/index.d.ts +15 -0
- package/dist/api/certificates-api/index.js +17 -1
- package/dist/api/certificates-api/query.d.ts +6 -0
- package/dist/api/certificates-api/query.js +8 -1
- package/dist/api/certificates-api/recover.d.ts +7 -0
- package/dist/api/certificates-api/recover.js +8 -1
- package/dist/api/certificates-api/remove.d.ts +7 -0
- package/dist/api/certificates-api/remove.js +8 -1
- package/dist/api/certificates-api/update.d.ts +10 -0
- package/dist/api/certificates-api/update.js +9 -1
- package/dist/api/certificatesales-api/annul.d.ts +10 -0
- package/dist/api/certificatesales-api/annul.js +9 -1
- package/dist/api/certificatesales-api/create.d.ts +9 -0
- package/dist/api/certificatesales-api/create.js +9 -1
- package/dist/api/certificatesales-api/get-one-by-code.d.ts +7 -0
- package/dist/api/certificatesales-api/get-one-by-code.js +8 -0
- package/dist/api/certificatesales-api/get-one.d.ts +7 -0
- package/dist/api/certificatesales-api/get-one.js +8 -1
- package/dist/api/certificatesales-api/index.d.ts +22 -0
- package/dist/api/certificatesales-api/index.js +23 -1
- package/dist/api/certificatesales-api/paginate.d.ts +7 -0
- package/dist/api/certificatesales-api/paginate.js +9 -0
- package/dist/api/certificatesales-api/query.d.ts +7 -0
- package/dist/api/certificatesales-api/query.js +9 -1
- package/dist/api/certificatesales-api/update-expire-date.d.ts +10 -0
- package/dist/api/certificatesales-api/update-expire-date.js +9 -1
- package/dist/api/certificatesales-api/update-status.d.ts +10 -0
- package/dist/api/certificatesales-api/update-status.js +9 -1
- package/dist/api/certificatesales-api/update.d.ts +10 -0
- package/dist/api/certificatesales-api/update.js +9 -1
- package/dist/api/cities-api/get-cities-by-country.d.ts +7 -0
- package/dist/api/cities-api/get-cities-by-country.js +8 -0
- package/dist/api/cities-api/get-city-by-ip.d.ts +6 -0
- package/dist/api/cities-api/get-city-by-ip.js +8 -0
- package/dist/api/cities-api/get-city-by-slug.d.ts +6 -0
- package/dist/api/cities-api/get-city-by-slug.js +8 -0
- package/dist/api/cities-api/get-one.d.ts +6 -0
- package/dist/api/cities-api/get-one.js +8 -0
- package/dist/api/cities-api/get-popular-cities-near.d.ts +6 -0
- package/dist/api/cities-api/get-popular-cities-near.js +8 -0
- package/dist/api/cities-api/index.d.ts +18 -0
- package/dist/api/cities-api/index.js +19 -0
- package/dist/api/cities-api/query.d.ts +7 -0
- package/dist/api/cities-api/query.js +9 -0
- package/dist/api/cities-api/remove.d.ts +7 -0
- package/dist/api/cities-api/remove.js +8 -0
- package/dist/api/cities-api/update.d.ts +10 -0
- package/dist/api/cities-api/update.js +9 -0
- package/dist/api/clients-api/create-from-widget.d.ts +9 -0
- package/dist/api/clients-api/create-from-widget.js +9 -0
- package/dist/api/clients-api/create.d.ts +9 -0
- package/dist/api/clients-api/create.js +9 -1
- package/dist/api/clients-api/get-all.d.ts +6 -0
- package/dist/api/clients-api/get-all.js +9 -0
- package/dist/api/clients-api/get-one.d.ts +7 -0
- package/dist/api/clients-api/get-one.js +8 -1
- package/dist/api/clients-api/index.d.ts +16 -0
- package/dist/api/clients-api/index.js +17 -1
- package/dist/api/clients-api/query.d.ts +7 -0
- package/dist/api/clients-api/query.js +9 -1
- package/dist/api/clients-api/update.d.ts +10 -0
- package/dist/api/clients-api/update.js +9 -1
- package/dist/api/emails-api/index.d.ts +6 -0
- package/dist/api/emails-api/index.js +7 -0
- package/dist/api/emails-api/query.d.ts +7 -0
- package/dist/api/emails-api/query.js +9 -0
- package/dist/api/financeitems-api/create.d.ts +9 -0
- package/dist/api/financeitems-api/create.js +9 -1
- package/dist/api/financeitems-api/get-all.d.ts +6 -0
- package/dist/api/financeitems-api/get-all.js +9 -0
- package/dist/api/financeitems-api/get-one.d.ts +7 -0
- package/dist/api/financeitems-api/get-one.js +8 -1
- package/dist/api/financeitems-api/index.d.ts +14 -0
- package/dist/api/financeitems-api/index.js +15 -1
- package/dist/api/financeitems-api/query.d.ts +6 -0
- package/dist/api/financeitems-api/query.js +9 -1
- package/dist/api/financeitems-api/remove.d.ts +7 -0
- package/dist/api/financeitems-api/remove.js +8 -1
- package/dist/api/images-api/create.d.ts +9 -0
- package/dist/api/images-api/create.js +9 -1
- package/dist/api/images-api/index.d.ts +6 -0
- package/dist/api/images-api/index.js +7 -1
- package/dist/api/index.d.ts +27 -0
- package/dist/api/index.js +45 -1
- package/dist/api/init-client-api.d.ts +62 -0
- package/dist/api/init-client-api.js +67 -1
- package/dist/api/locations-api/create.d.ts +9 -0
- package/dist/api/locations-api/create.js +9 -1
- package/dist/api/locations-api/get-by-coordinates.d.ts +7 -0
- package/dist/api/locations-api/get-by-coordinates.js +8 -0
- package/dist/api/locations-api/get-one.d.ts +7 -0
- package/dist/api/locations-api/get-one.js +8 -1
- package/dist/api/locations-api/index.d.ts +18 -0
- package/dist/api/locations-api/index.js +19 -1
- package/dist/api/locations-api/query.d.ts +6 -0
- package/dist/api/locations-api/query.js +9 -1
- package/dist/api/locations-api/recover.d.ts +7 -0
- package/dist/api/locations-api/recover.js +8 -1
- package/dist/api/locations-api/remove.d.ts +7 -0
- package/dist/api/locations-api/remove.js +8 -1
- package/dist/api/locations-api/update.d.ts +10 -0
- package/dist/api/locations-api/update.js +9 -1
- package/dist/api/order-discounts-api/create.d.ts +9 -0
- package/dist/api/order-discounts-api/create.js +9 -1
- package/dist/api/order-discounts-api/index.d.ts +8 -0
- package/dist/api/order-discounts-api/index.js +9 -1
- package/dist/api/order-discounts-api/remove.d.ts +7 -0
- package/dist/api/order-discounts-api/remove.js +8 -1
- package/dist/api/order-penalties-api/create.d.ts +9 -0
- package/dist/api/order-penalties-api/create.js +9 -1
- package/dist/api/order-penalties-api/index.d.ts +8 -0
- package/dist/api/order-penalties-api/index.js +9 -1
- package/dist/api/order-penalties-api/remove.d.ts +7 -0
- package/dist/api/order-penalties-api/remove.js +8 -1
- package/dist/api/order-upsellings-api/create.d.ts +9 -0
- package/dist/api/order-upsellings-api/create.js +9 -1
- package/dist/api/order-upsellings-api/index.d.ts +8 -0
- package/dist/api/order-upsellings-api/index.js +9 -1
- package/dist/api/order-upsellings-api/remove.d.ts +7 -0
- package/dist/api/order-upsellings-api/remove.js +8 -1
- package/dist/api/orders-api/add-certificate.d.ts +9 -0
- package/dist/api/orders-api/add-certificate.js +9 -1
- package/dist/api/orders-api/create-from-widget.d.ts +8 -0
- package/dist/api/orders-api/create-from-widget.js +9 -1
- package/dist/api/orders-api/create.d.ts +9 -0
- package/dist/api/orders-api/create.js +9 -1
- package/dist/api/orders-api/get-one.d.ts +7 -0
- package/dist/api/orders-api/get-one.js +8 -1
- package/dist/api/orders-api/index.d.ts +26 -0
- package/dist/api/orders-api/index.js +27 -1
- package/dist/api/orders-api/paginate.d.ts +7 -0
- package/dist/api/orders-api/paginate.js +9 -0
- package/dist/api/orders-api/query.d.ts +7 -0
- package/dist/api/orders-api/query.js +9 -1
- package/dist/api/orders-api/remove-certificate.d.ts +9 -0
- package/dist/api/orders-api/remove-certificate.js +9 -1
- package/dist/api/orders-api/remove.d.ts +7 -0
- package/dist/api/orders-api/remove.js +8 -1
- package/dist/api/orders-api/update-slot.d.ts +10 -0
- package/dist/api/orders-api/update-slot.js +9 -1
- package/dist/api/orders-api/update-status.d.ts +10 -0
- package/dist/api/orders-api/update-status.js +9 -1
- package/dist/api/orders-api/update.d.ts +10 -0
- package/dist/api/orders-api/update.js +9 -1
- package/dist/api/partners-api/create.d.ts +9 -0
- package/dist/api/partners-api/create.js +9 -1
- package/dist/api/partners-api/get-all.d.ts +6 -0
- package/dist/api/partners-api/get-all.js +9 -0
- package/dist/api/partners-api/get-one.d.ts +7 -0
- package/dist/api/partners-api/get-one.js +8 -1
- package/dist/api/partners-api/index.d.ts +18 -0
- package/dist/api/partners-api/index.js +19 -1
- package/dist/api/partners-api/query.d.ts +6 -0
- package/dist/api/partners-api/query.js +9 -1
- package/dist/api/partners-api/recover.d.ts +7 -0
- package/dist/api/partners-api/recover.js +8 -1
- package/dist/api/partners-api/remove.d.ts +7 -0
- package/dist/api/partners-api/remove.js +8 -1
- package/dist/api/partners-api/update.d.ts +10 -0
- package/dist/api/partners-api/update.js +9 -1
- package/dist/api/profiles-api/create.d.ts +9 -0
- package/dist/api/profiles-api/create.js +9 -1
- package/dist/api/profiles-api/current.d.ts +7 -0
- package/dist/api/profiles-api/current.js +8 -0
- package/dist/api/profiles-api/get-by-slug.d.ts +7 -0
- package/dist/api/profiles-api/get-by-slug.js +8 -0
- package/dist/api/profiles-api/get-one.d.ts +7 -0
- package/dist/api/profiles-api/get-one.js +8 -1
- package/dist/api/profiles-api/index.d.ts +18 -0
- package/dist/api/profiles-api/index.js +19 -1
- package/dist/api/profiles-api/query.d.ts +8 -0
- package/dist/api/profiles-api/query.js +9 -1
- package/dist/api/profiles-api/remove.d.ts +7 -0
- package/dist/api/profiles-api/remove.js +8 -1
- package/dist/api/profiles-api/update-current.d.ts +9 -0
- package/dist/api/profiles-api/update-current.js +9 -0
- package/dist/api/profiles-api/update.d.ts +10 -0
- package/dist/api/profiles-api/update.js +9 -1
- package/dist/api/questrooms-api/create.d.ts +9 -0
- package/dist/api/questrooms-api/create.js +9 -1
- package/dist/api/questrooms-api/get-by-coordinates.d.ts +7 -0
- package/dist/api/questrooms-api/get-by-coordinates.js +8 -0
- package/dist/api/questrooms-api/get-by-location.d.ts +7 -0
- package/dist/api/questrooms-api/get-by-location.js +8 -0
- package/dist/api/questrooms-api/get-by-slug.d.ts +7 -0
- package/dist/api/questrooms-api/get-by-slug.js +8 -0
- package/dist/api/questrooms-api/get-by-title.d.ts +7 -0
- package/dist/api/questrooms-api/get-by-title.js +8 -0
- package/dist/api/questrooms-api/get-one.d.ts +7 -0
- package/dist/api/questrooms-api/get-one.js +8 -1
- package/dist/api/questrooms-api/index.d.ts +22 -0
- package/dist/api/questrooms-api/index.js +23 -1
- package/dist/api/questrooms-api/query.d.ts +6 -0
- package/dist/api/questrooms-api/query.js +9 -1
- package/dist/api/questrooms-api/recover.d.ts +7 -0
- package/dist/api/questrooms-api/recover.js +8 -1
- package/dist/api/questrooms-api/remove.d.ts +7 -0
- package/dist/api/questrooms-api/remove.js +8 -1
- package/dist/api/questrooms-api/update.d.ts +10 -0
- package/dist/api/questrooms-api/update.js +9 -1
- package/dist/api/registration-requests-api/create.d.ts +9 -0
- package/dist/api/registration-requests-api/create.js +9 -0
- package/dist/api/registration-requests-api/get-one.d.ts +7 -0
- package/dist/api/registration-requests-api/get-one.js +8 -0
- package/dist/api/registration-requests-api/index.d.ts +14 -0
- package/dist/api/registration-requests-api/index.js +15 -0
- package/dist/api/registration-requests-api/query.d.ts +8 -0
- package/dist/api/registration-requests-api/query.js +9 -0
- package/dist/api/registration-requests-api/remove.d.ts +7 -0
- package/dist/api/registration-requests-api/remove.js +8 -0
- package/dist/api/registration-requests-api/update.d.ts +10 -0
- package/dist/api/registration-requests-api/update.js +9 -0
- package/dist/api/roles-api/create.d.ts +9 -0
- package/dist/api/roles-api/create.js +9 -1
- package/dist/api/roles-api/get-one.d.ts +7 -0
- package/dist/api/roles-api/get-one.js +8 -1
- package/dist/api/roles-api/index.d.ts +14 -0
- package/dist/api/roles-api/index.js +15 -1
- package/dist/api/roles-api/query.d.ts +6 -0
- package/dist/api/roles-api/query.js +9 -1
- package/dist/api/roles-api/remove.d.ts +7 -0
- package/dist/api/roles-api/remove.js +8 -1
- package/dist/api/roles-api/update.d.ts +10 -0
- package/dist/api/roles-api/update.js +9 -1
- package/dist/api/slot-templates-api/get.d.ts +8 -0
- package/dist/api/slot-templates-api/get.js +8 -0
- package/dist/api/slot-templates-api/index.d.ts +8 -0
- package/dist/api/slot-templates-api/index.js +9 -0
- package/dist/api/slot-templates-api/update.d.ts +12 -0
- package/dist/api/slot-templates-api/update.js +9 -0
- package/dist/api/slots-api/add-breaks.d.ts +9 -0
- package/dist/api/slots-api/add-breaks.js +9 -0
- package/dist/api/slots-api/add-or-remove-break.d.ts +11 -0
- package/dist/api/slots-api/add-or-remove-break.js +9 -0
- package/dist/api/slots-api/calendar.d.ts +7 -0
- package/dist/api/slots-api/calendar.js +9 -0
- package/dist/api/slots-api/create.d.ts +9 -0
- package/dist/api/slots-api/create.js +9 -0
- package/dist/api/slots-api/daily.d.ts +7 -0
- package/dist/api/slots-api/daily.js +9 -0
- package/dist/api/slots-api/index.d.ts +20 -0
- package/dist/api/slots-api/index.js +21 -1
- package/dist/api/slots-api/remove-breaks.d.ts +9 -0
- package/dist/api/slots-api/remove-breaks.js +9 -0
- package/dist/api/slots-api/remove.d.ts +7 -0
- package/dist/api/slots-api/remove.js +8 -0
- package/dist/api/slots-api/weekly.d.ts +7 -0
- package/dist/api/slots-api/weekly.js +9 -0
- package/dist/api/support/create.d.ts +9 -0
- package/dist/api/support/create.js +9 -1
- package/dist/api/support/index.d.ts +6 -0
- package/dist/api/support/index.js +7 -1
- package/dist/api/tariffs-api/create.d.ts +9 -0
- package/dist/api/tariffs-api/create.js +9 -1
- package/dist/api/tariffs-api/get-one.d.ts +7 -0
- package/dist/api/tariffs-api/get-one.js +8 -1
- package/dist/api/tariffs-api/index.d.ts +14 -0
- package/dist/api/tariffs-api/index.js +15 -1
- package/dist/api/tariffs-api/query.d.ts +6 -0
- package/dist/api/tariffs-api/query.js +9 -1
- package/dist/api/tariffs-api/remove.d.ts +7 -0
- package/dist/api/tariffs-api/remove.js +8 -1
- package/dist/api/tariffs-api/update.d.ts +10 -0
- package/dist/api/tariffs-api/update.js +9 -1
- package/dist/api/transactions-api/create-certificate-payment.d.ts +9 -0
- package/dist/api/transactions-api/create-certificate-payment.js +9 -1
- package/dist/api/transactions-api/create-certificate-refund.d.ts +9 -0
- package/dist/api/transactions-api/create-certificate-refund.js +9 -1
- package/dist/api/transactions-api/create-order-payment.d.ts +9 -0
- package/dist/api/transactions-api/create-order-payment.js +9 -1
- package/dist/api/transactions-api/create-order-refund.d.ts +9 -0
- package/dist/api/transactions-api/create-order-refund.js +9 -1
- package/dist/api/transactions-api/create.d.ts +9 -0
- package/dist/api/transactions-api/create.js +9 -1
- package/dist/api/transactions-api/get-one.d.ts +7 -0
- package/dist/api/transactions-api/get-one.js +8 -1
- package/dist/api/transactions-api/index.d.ts +30 -0
- package/dist/api/transactions-api/index.js +31 -1
- package/dist/api/transactions-api/query.d.ts +7 -0
- package/dist/api/transactions-api/query.js +9 -1
- package/dist/api/transactions-api/remove-certificate-payment.d.ts +7 -0
- package/dist/api/transactions-api/remove-certificate-payment.js +8 -1
- package/dist/api/transactions-api/remove-certificate-refund.d.ts +7 -0
- package/dist/api/transactions-api/remove-certificate-refund.js +8 -1
- package/dist/api/transactions-api/remove-order-payment.d.ts +7 -0
- package/dist/api/transactions-api/remove-order-payment.js +8 -1
- package/dist/api/transactions-api/remove-order-refund.d.ts +7 -0
- package/dist/api/transactions-api/remove-order-refund.js +8 -1
- package/dist/api/transactions-api/remove.d.ts +7 -0
- package/dist/api/transactions-api/remove.js +8 -1
- package/dist/api/transactions-api/update.d.ts +10 -0
- package/dist/api/transactions-api/update.js +9 -1
- package/dist/api/uploads-api/index.d.ts +6 -0
- package/dist/api/uploads-api/index.js +7 -0
- package/dist/api/uploads-api/upload-image.d.ts +9 -0
- package/dist/api/uploads-api/upload-image.js +13 -0
- package/dist/api/upsellings-api/create.d.ts +9 -0
- package/dist/api/upsellings-api/create.js +9 -0
- package/dist/api/upsellings-api/get-one.d.ts +7 -0
- package/dist/api/upsellings-api/get-one.js +8 -0
- package/dist/api/upsellings-api/index.d.ts +14 -0
- package/dist/api/upsellings-api/index.js +15 -0
- package/dist/api/upsellings-api/query.d.ts +6 -0
- package/dist/api/upsellings-api/query.js +9 -0
- package/dist/api/upsellings-api/remove.d.ts +7 -0
- package/dist/api/upsellings-api/remove.js +8 -0
- package/dist/api/upsellings-api/update.d.ts +10 -0
- package/dist/api/upsellings-api/update.js +9 -0
- package/dist/api/user-messages-api/create.d.ts +9 -0
- package/dist/api/user-messages-api/create.js +9 -0
- package/dist/api/user-messages-api/get-one.d.ts +7 -0
- package/dist/api/user-messages-api/get-one.js +8 -0
- package/dist/api/user-messages-api/index.d.ts +12 -0
- package/dist/api/user-messages-api/index.js +13 -0
- package/dist/api/user-messages-api/query.d.ts +7 -0
- package/dist/api/user-messages-api/query.js +9 -0
- package/dist/api/user-messages-api/remove.d.ts +7 -0
- package/dist/api/user-messages-api/remove.js +8 -0
- package/dist/api/users-api/check-token.d.ts +7 -0
- package/dist/api/users-api/check-token.js +8 -1
- package/dist/api/users-api/create.d.ts +9 -0
- package/dist/api/users-api/create.js +9 -0
- package/dist/api/users-api/current-update-password.d.ts +9 -0
- package/dist/api/users-api/current-update-password.js +9 -0
- package/dist/api/users-api/current-update.d.ts +9 -0
- package/dist/api/users-api/current-update.js +9 -0
- package/dist/api/users-api/get-one.d.ts +7 -0
- package/dist/api/users-api/get-one.js +8 -1
- package/dist/api/users-api/index.d.ts +34 -0
- package/dist/api/users-api/index.js +35 -1
- package/dist/api/users-api/login.d.ts +9 -0
- package/dist/api/users-api/login.js +9 -1
- package/dist/api/users-api/logout.d.ts +6 -0
- package/dist/api/users-api/logout.js +8 -1
- package/dist/api/users-api/me.d.ts +6 -0
- package/dist/api/users-api/me.js +8 -1
- package/dist/api/users-api/query.d.ts +6 -0
- package/dist/api/users-api/query.js +9 -1
- package/dist/api/users-api/recover.d.ts +7 -0
- package/dist/api/users-api/recover.js +8 -1
- package/dist/api/users-api/remove.d.ts +7 -0
- package/dist/api/users-api/remove.js +8 -1
- package/dist/api/users-api/send-invite.d.ts +6 -0
- package/dist/api/users-api/send-invite.js +8 -1
- package/dist/api/users-api/send-recover-link.d.ts +8 -0
- package/dist/api/users-api/send-recover-link.js +8 -1
- package/dist/api/users-api/update-password.d.ts +10 -0
- package/dist/api/users-api/update-password.js +9 -1
- package/dist/api/users-api/update.d.ts +10 -0
- package/dist/api/users-api/update.js +9 -1
- package/dist/api/widgets-api/create.d.ts +9 -0
- package/dist/api/widgets-api/create.js +9 -1
- package/dist/api/widgets-api/get-info.d.ts +7 -0
- package/dist/api/widgets-api/get-info.js +8 -1
- package/dist/api/widgets-api/get-one.d.ts +7 -0
- package/dist/api/widgets-api/get-one.js +8 -1
- package/dist/api/widgets-api/index.d.ts +16 -0
- package/dist/api/widgets-api/index.js +17 -1
- package/dist/api/widgets-api/query.d.ts +6 -0
- package/dist/api/widgets-api/query.js +9 -1
- package/dist/api/widgets-api/remove.d.ts +7 -0
- package/dist/api/widgets-api/remove.js +8 -1
- package/dist/api/widgets-api/update.d.ts +10 -0
- package/dist/api/widgets-api/update.js +9 -1
- package/dist/api/widgets-openapi/widget-daily.d.ts +7 -0
- package/dist/api/widgets-openapi/widget-daily.js +9 -0
- package/dist/api/widgets-openapi/widget-weekly.d.ts +7 -0
- package/dist/api/widgets-openapi/widget-weekly.js +9 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +13 -0
- package/dist/hooks/use-api-method/actions/creators/api.d.ts +18 -0
- package/dist/hooks/use-api-method/actions/creators/api.js +22 -0
- package/dist/hooks/use-api-method/actions/types/api.d.ts +5 -0
- package/dist/hooks/use-api-method/actions/types/api.js +9 -0
- package/dist/hooks/use-api-method/actions/types.d.ts +6 -0
- package/dist/hooks/use-api-method/actions/types.js +2 -0
- package/dist/hooks/use-api-method/index.d.ts +24 -0
- package/dist/hooks/use-api-method/index.js +67 -0
- package/dist/hooks/use-api-method/reducers/api.d.ts +23 -0
- package/dist/hooks/use-api-method/reducers/api.js +24 -0
- package/dist/utils/convert-to-options.d.ts +13 -0
- package/dist/utils/convert-to-options.js +8 -1
- package/dist/utils/define-status.d.ts +14 -0
- package/dist/utils/define-status.js +57 -1
- package/dist/utils/enum-to-options.d.ts +5 -0
- package/dist/utils/enum-to-options.js +8 -0
- package/dist/utils/get-handled-error-message.d.ts +1 -0
- package/dist/utils/get-handled-error-message.js +5 -0
- package/dist/utils/get-many.d.ts +1 -0
- package/dist/utils/get-many.js +12 -1
- package/dist/utils/get-one.d.ts +1 -0
- package/dist/utils/get-one.js +12 -1
- package/dist/utils/get-service-error.d.ts +18 -0
- package/dist/utils/get-service-error.js +66 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +15 -0
- package/dist/utils/is-axios-error.d.ts +6 -0
- package/dist/utils/is-axios-error.js +11 -0
- package/dist/utils/is-network-error.d.ts +5 -0
- package/dist/utils/is-network-error.js +18 -0
- package/dist/utils/redirect.d.ts +1 -0
- package/dist/utils/redirect.js +7 -0
- package/dist/utils/serialize-record.d.ts +1 -0
- package/dist/utils/serialize-record.js +8 -0
- package/dist/utils/validate-by-dto.d.ts +1 -0
- package/dist/utils/validate-by-dto.js +16 -0
- package/package.json +10 -45
- package/dist/api/certificatesales-api/recover.js +0 -1
- package/dist/api/certificatesales-api/remove.js +0 -1
- package/dist/api/clients-api/remove.js +0 -1
- package/dist/api/financeitems-api/recover.js +0 -1
- package/dist/api/options-api/create.js +0 -1
- package/dist/api/options-api/get-one.js +0 -1
- package/dist/api/options-api/index.js +0 -1
- package/dist/api/options-api/query.js +0 -1
- package/dist/api/options-api/recover.js +0 -1
- package/dist/api/options-api/remove.js +0 -1
- package/dist/api/options-api/update.js +0 -1
- package/dist/api/order-comments-api/create.js +0 -1
- package/dist/api/order-comments-api/index.js +0 -1
- package/dist/api/order-comments-api/remove.js +0 -1
- package/dist/api/orders-api/update-players.js +0 -1
- package/dist/api/roles-api/recover.js +0 -1
- package/dist/api/slots-api/daily-schedule.js +0 -1
- package/dist/api/tariffs-api/recover.js +0 -1
- package/dist/api/widgets-api/recover.js +0 -1
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.update = void 0;
|
|
4
|
+
const update = ({ id, data }) => ({
|
|
5
|
+
url: `/roles/${id}`,
|
|
6
|
+
method: 'PATCH',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.update = update;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResponseObject } from '@escapenavigator/types/dist/shared/ro';
|
|
2
|
+
import { SlotTemplateResponseObject } from '@escapenavigator/types/dist/slot-template/slot-template.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
/** ID квеста */
|
|
5
|
+
declare type ParamsData = ResponseObject['id'];
|
|
6
|
+
declare type ResponseData = SlotTemplateResponseObject;
|
|
7
|
+
export declare const get: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.slotTemplatesApiDeclaration = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const update_1 = require("./update");
|
|
6
|
+
exports.slotTemplatesApiDeclaration = {
|
|
7
|
+
get: get_1.get,
|
|
8
|
+
update: update_1.update,
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ResponseObject } from '@escapenavigator/types/dist/shared/ro';
|
|
2
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
+
import { UpdateSlotTemplateDto } from '@escapenavigator/types/dist/slot-template/update-slot-template.dto';
|
|
4
|
+
import { ApiMethodDeclaration } from '..';
|
|
5
|
+
/** ID квеста */
|
|
6
|
+
declare type ParamsData = {
|
|
7
|
+
questroomId: ResponseObject['id'];
|
|
8
|
+
data: UpdateSlotTemplateDto;
|
|
9
|
+
};
|
|
10
|
+
declare type ResponseData = SuccessResponseObject;
|
|
11
|
+
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { AddBreaksDto } from '@escapenavigator/types/dist/slot/add-breaks.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: AddBreaksDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = SuccessResponseObject[];
|
|
8
|
+
export declare const addBreaks: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ResponseObject } from '@escapenavigator/types/dist/shared/ro';
|
|
2
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
+
import { AddOrRemoveBreakDto } from '@escapenavigator/types/dist/slot/add-or-remove-break.dto';
|
|
4
|
+
import { ApiMethodDeclaration } from '..';
|
|
5
|
+
declare type ParamsData = {
|
|
6
|
+
id: ResponseObject['id'];
|
|
7
|
+
data: AddOrRemoveBreakDto;
|
|
8
|
+
};
|
|
9
|
+
declare type ResponseData = SuccessResponseObject[];
|
|
10
|
+
export declare const addOrRemoveBreak: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addOrRemoveBreak = void 0;
|
|
4
|
+
const addOrRemoveBreak = ({ id, data }) => ({
|
|
5
|
+
url: `/slots/add-or-remove-break/${id}`,
|
|
6
|
+
method: 'PATCH',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.addOrRemoveBreak = addOrRemoveBreak;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CalendarQueryDto } from '@escapenavigator/types/dist/slot/calendar-query.dto';
|
|
2
|
+
import { SlotResponseObject } from '@escapenavigator/types/dist/slot/slot.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = CalendarQueryDto;
|
|
5
|
+
declare type ResponseData = SlotResponseObject[];
|
|
6
|
+
export declare const calendar: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { CreateSlotDto } from '@escapenavigator/types/dist/slot/create-slot.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateSlotDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = SuccessResponseObject[];
|
|
8
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DailyQueryDto } from '@escapenavigator/types/dist/slot/daily-query.dto';
|
|
2
|
+
import { SlotResponseObject } from '@escapenavigator/types/dist/slot/slot.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = DailyQueryDto;
|
|
5
|
+
declare type ResponseData = SlotResponseObject[];
|
|
6
|
+
export declare const daily: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { addBreaks } from './add-breaks';
|
|
2
|
+
import { addOrRemoveBreak } from './add-or-remove-break';
|
|
3
|
+
import { calendar } from './calendar';
|
|
4
|
+
import { create } from './create';
|
|
5
|
+
import { daily } from './daily';
|
|
6
|
+
import { remove } from './remove';
|
|
7
|
+
import { removeBreaks } from './remove-breaks';
|
|
8
|
+
import { weekly } from './weekly';
|
|
9
|
+
declare type ApiDeclaration = {
|
|
10
|
+
calendar: typeof calendar;
|
|
11
|
+
daily: typeof daily;
|
|
12
|
+
addBreaks: typeof addBreaks;
|
|
13
|
+
addOrRemoveBreak: typeof addOrRemoveBreak;
|
|
14
|
+
removeBreaks: typeof removeBreaks;
|
|
15
|
+
weekly: typeof weekly;
|
|
16
|
+
create: typeof create;
|
|
17
|
+
remove: typeof remove;
|
|
18
|
+
};
|
|
19
|
+
export declare const slotsApiDeclaration: ApiDeclaration;
|
|
20
|
+
export {};
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.slotsApiDeclaration = void 0;
|
|
4
|
+
const add_breaks_1 = require("./add-breaks");
|
|
5
|
+
const add_or_remove_break_1 = require("./add-or-remove-break");
|
|
6
|
+
const calendar_1 = require("./calendar");
|
|
7
|
+
const create_1 = require("./create");
|
|
8
|
+
const daily_1 = require("./daily");
|
|
9
|
+
const remove_1 = require("./remove");
|
|
10
|
+
const remove_breaks_1 = require("./remove-breaks");
|
|
11
|
+
const weekly_1 = require("./weekly");
|
|
12
|
+
exports.slotsApiDeclaration = {
|
|
13
|
+
calendar: calendar_1.calendar,
|
|
14
|
+
daily: daily_1.daily,
|
|
15
|
+
addBreaks: add_breaks_1.addBreaks,
|
|
16
|
+
addOrRemoveBreak: add_or_remove_break_1.addOrRemoveBreak,
|
|
17
|
+
removeBreaks: remove_breaks_1.removeBreaks,
|
|
18
|
+
weekly: weekly_1.weekly,
|
|
19
|
+
create: create_1.create,
|
|
20
|
+
remove: remove_1.remove,
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { RemoveBreaksDto } from '@escapenavigator/types/dist/slot/remove-breaks.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: RemoveBreaksDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = SuccessResponseObject[];
|
|
8
|
+
export declare const removeBreaks: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseObject } from '@escapenavigator/types/dist/shared/ro';
|
|
2
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = ResponseObject['id'];
|
|
5
|
+
declare type ResponseData = SuccessResponseObject[];
|
|
6
|
+
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SlotResponseObject } from '@escapenavigator/types/dist/slot/slot.ro';
|
|
2
|
+
import { WeeklyQueryDto } from '@escapenavigator/types/dist/slot/weekly-query.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = WeeklyQueryDto;
|
|
5
|
+
declare type ResponseData = SlotResponseObject[];
|
|
6
|
+
export declare const weekly: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SuccessResponseObject } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
|
+
import { CreateSupportDto } from '@escapenavigator/types/dist/support/create-support.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateSupportDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = SuccessResponseObject;
|
|
8
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create = void 0;
|
|
4
|
+
const create = ({ data }) => ({
|
|
5
|
+
url: '/support',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.create = create;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.supportApiDeclaration = void 0;
|
|
4
|
+
const create_1 = require("./create");
|
|
5
|
+
exports.supportApiDeclaration = {
|
|
6
|
+
create: create_1.create,
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateTariffDto } from '@escapenavigator/types/dist/tariff/create-tariff.dto';
|
|
2
|
+
import { TariffResponseObject } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateTariffDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = TariffResponseObject;
|
|
8
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create = void 0;
|
|
4
|
+
const create = ({ data }) => ({
|
|
5
|
+
url: '/tariffs',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.create = create;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TariffResponseObject } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
/** ID тарифа */
|
|
4
|
+
declare type ParamsData = number;
|
|
5
|
+
declare type ResponseData = TariffResponseObject;
|
|
6
|
+
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOne = void 0;
|
|
4
|
+
const getOne = (id) => ({
|
|
5
|
+
url: `/tariffs/${id}`,
|
|
6
|
+
method: 'GET',
|
|
7
|
+
});
|
|
8
|
+
exports.getOne = getOne;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { create } from './create';
|
|
2
|
+
import { getOne } from './get-one';
|
|
3
|
+
import { query } from './query';
|
|
4
|
+
import { remove } from './remove';
|
|
5
|
+
import { update } from './update';
|
|
6
|
+
declare type ApiDeclaration = {
|
|
7
|
+
create: typeof create;
|
|
8
|
+
remove: typeof remove;
|
|
9
|
+
update: typeof update;
|
|
10
|
+
query: typeof query;
|
|
11
|
+
getOne: typeof getOne;
|
|
12
|
+
};
|
|
13
|
+
export declare const tariffsApiDeclaration: ApiDeclaration;
|
|
14
|
+
export {};
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tariffsApiDeclaration = void 0;
|
|
4
|
+
const create_1 = require("./create");
|
|
5
|
+
const get_one_1 = require("./get-one");
|
|
6
|
+
const query_1 = require("./query");
|
|
7
|
+
const remove_1 = require("./remove");
|
|
8
|
+
const update_1 = require("./update");
|
|
9
|
+
exports.tariffsApiDeclaration = {
|
|
10
|
+
create: create_1.create,
|
|
11
|
+
remove: remove_1.remove,
|
|
12
|
+
update: update_1.update,
|
|
13
|
+
query: query_1.query,
|
|
14
|
+
getOne: get_one_1.getOne,
|
|
15
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TariffResponseObject } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
declare type ParamsData = undefined;
|
|
4
|
+
declare type ResponseData = TariffResponseObject[];
|
|
5
|
+
export declare const query: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
6
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.query = void 0;
|
|
4
|
+
const query = (params) => ({
|
|
5
|
+
url: '/tariffs',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params,
|
|
8
|
+
});
|
|
9
|
+
exports.query = query;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TariffResponseObject } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
/** ID тарифа */
|
|
4
|
+
declare type ParamsData = number;
|
|
5
|
+
declare type ResponseData = TariffResponseObject;
|
|
6
|
+
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.remove = void 0;
|
|
4
|
+
const remove = (id) => ({
|
|
5
|
+
url: `/tariffs/${id}`,
|
|
6
|
+
method: 'DELETE',
|
|
7
|
+
});
|
|
8
|
+
exports.remove = remove;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TariffResponseObject } from '@escapenavigator/types/dist/tariff/tariff.ro';
|
|
2
|
+
import { UpdateTariffDto } from '@escapenavigator/types/dist/tariff/update-tariff.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: UpdateTariffDto;
|
|
7
|
+
};
|
|
8
|
+
declare type ResponseData = TariffResponseObject;
|
|
9
|
+
export declare const update: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.update = void 0;
|
|
4
|
+
const update = ({ id, data }) => ({
|
|
5
|
+
url: `/tariffs/${id}`,
|
|
6
|
+
method: 'PATCH',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.update = update;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OrderResponseObject } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { CreateCertificateSalePaymentDto } from '@escapenavigator/types/dist/transaction/create-certificate-sale-payment.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateCertificateSalePaymentDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OrderResponseObject;
|
|
8
|
+
export declare const createCertificatePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createCertificatePayment = void 0;
|
|
4
|
+
const createCertificatePayment = ({ data }) => ({
|
|
5
|
+
url: '/transactions/certificate-payment',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.createCertificatePayment = createCertificatePayment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OrderResponseObject } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { CreateCertificateSaleRefundDto } from '@escapenavigator/types/dist/transaction/create-certificate-sale-refund.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateCertificateSaleRefundDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OrderResponseObject;
|
|
8
|
+
export declare const createCertificateRefund: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createCertificateRefund = void 0;
|
|
4
|
+
const createCertificateRefund = ({ data }) => ({
|
|
5
|
+
url: '/transactions/certificate-refund',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.createCertificateRefund = createCertificateRefund;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OrderResponseObject } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { CreateOrderPaymentDto } from '@escapenavigator/types/dist/transaction/create-order-payment.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateOrderPaymentDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OrderResponseObject;
|
|
8
|
+
export declare const createOrderPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createOrderPayment = void 0;
|
|
4
|
+
const createOrderPayment = ({ data }) => ({
|
|
5
|
+
url: '/order-transactions',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.createOrderPayment = createOrderPayment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OrderResponseObject } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { CreateOrderRefundDto } from '@escapenavigator/types/dist/transaction/create-order-refund.dto';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateOrderRefundDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = OrderResponseObject;
|
|
8
|
+
export declare const createOrderRefund: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createOrderRefund = void 0;
|
|
4
|
+
const createOrderRefund = ({ data }) => ({
|
|
5
|
+
url: '/transactions/order-refund',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.createOrderRefund = createOrderRefund;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateTransactionDto } from '@escapenavigator/types/dist/transaction/create-transaction.dto';
|
|
2
|
+
import { TransactionResponseObject } from '@escapenavigator/types/dist/transaction/transaction.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
declare type ParamsData = {
|
|
5
|
+
data: CreateTransactionDto;
|
|
6
|
+
};
|
|
7
|
+
declare type ResponseData = TransactionResponseObject;
|
|
8
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create = void 0;
|
|
4
|
+
const create = ({ data }) => ({
|
|
5
|
+
url: '/transactions',
|
|
6
|
+
method: 'POST',
|
|
7
|
+
data,
|
|
8
|
+
});
|
|
9
|
+
exports.create = create;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TransactionResponseObject } from '@escapenavigator/types/dist/transaction/transaction.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
/** ID транзакции */
|
|
4
|
+
declare type ParamsData = number;
|
|
5
|
+
declare type ResponseData = TransactionResponseObject;
|
|
6
|
+
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOne = void 0;
|
|
4
|
+
const getOne = (id) => ({
|
|
5
|
+
url: `/transactions/${id}`,
|
|
6
|
+
method: 'GET',
|
|
7
|
+
});
|
|
8
|
+
exports.getOne = getOne;
|