@escapenavigator/services 1.10.112 → 1.10.114
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/admin-announcements-api/create.d.ts +9 -0
- package/dist/api/{certificatesales-api → admin-announcements-api}/create.js +1 -1
- package/dist/api/admin-announcements-api/index.d.ts +12 -0
- package/dist/api/admin-announcements-api/index.js +13 -0
- package/dist/api/admin-announcements-api/query.d.ts +8 -0
- package/dist/api/admin-announcements-api/query.js +9 -0
- package/dist/api/{certificates-api → admin-announcements-api}/remove.d.ts +2 -3
- package/dist/api/{certificates-api → admin-announcements-api}/remove.js +1 -1
- package/dist/api/admin-announcements-api/update.d.ts +10 -0
- package/dist/api/{certificates-api → admin-announcements-api}/update.js +1 -1
- package/dist/api/admins-api/get-aggregator-statistics-constants.d.ts +1 -1
- package/dist/api/admins-api/index.d.ts +11 -9
- package/dist/api/admins-api/index.js +11 -9
- package/dist/api/admins-api/refill-orders-certificates-analytics.d.ts +11 -0
- package/dist/api/admins-api/refill-orders-certificates-analytics.js +12 -0
- package/dist/api/agregator-api/index.d.ts +2 -2
- package/dist/api/agregator-api/index.js +2 -2
- package/dist/api/agregator-api/players/add-like.d.ts +1 -1
- package/dist/api/agregator-api/reviews/original-review.js +1 -1
- package/dist/api/agregator-api/reviews/reviews-city.d.ts +1 -1
- package/dist/api/agregator-api/reviews/reviews-questroom.d.ts +1 -1
- package/dist/api/certificate-designs-api/create.d.ts +9 -0
- package/dist/api/{certificates-api/create-inside.js → certificate-designs-api/create.js} +4 -4
- package/dist/api/certificate-designs-api/get-all.d.ts +5 -0
- package/dist/api/certificate-designs-api/get-all.js +8 -0
- package/dist/api/certificate-designs-api/index.d.ts +12 -0
- package/dist/api/certificate-designs-api/index.js +13 -0
- package/dist/api/certificate-designs-api/remove.d.ts +5 -0
- package/dist/api/certificate-designs-api/remove.js +8 -0
- package/dist/api/certificate-designs-api/update.d.ts +10 -0
- package/dist/api/{certificates-api/update-inside.js → certificate-designs-api/update.js} +4 -4
- package/dist/api/certificate-nominals-api/create.d.ts +9 -0
- package/dist/api/certificate-nominals-api/create.js +12 -0
- package/dist/api/certificate-nominals-api/get-all.d.ts +5 -0
- package/dist/api/certificate-nominals-api/get-all.js +8 -0
- package/dist/api/certificate-nominals-api/index.d.ts +12 -0
- package/dist/api/certificate-nominals-api/index.js +13 -0
- package/dist/api/certificate-nominals-api/remove.d.ts +5 -0
- package/dist/api/certificate-nominals-api/remove.js +8 -0
- package/dist/api/certificate-nominals-api/update.d.ts +10 -0
- package/dist/api/certificate-nominals-api/update.js +12 -0
- package/dist/api/certificate-settings-api/get.d.ts +5 -0
- package/dist/api/certificate-settings-api/get.js +8 -0
- package/dist/api/certificate-settings-api/index.d.ts +8 -0
- package/dist/api/certificate-settings-api/index.js +9 -0
- package/dist/api/certificate-settings-api/update.d.ts +9 -0
- package/dist/api/certificate-settings-api/update.js +12 -0
- package/dist/api/certificates-api/index.d.ts +0 -20
- package/dist/api/certificates-api/index.js +0 -20
- package/dist/api/certificatesales-api/index.d.ts +6 -8
- package/dist/api/certificatesales-api/index.js +6 -8
- package/dist/api/certificatesales-api/promocodes/create-promocode.d.ts +1 -1
- package/dist/api/certificatesales-api/resend.d.ts +1 -1
- package/dist/api/clients-api/create-complaint.d.ts +1 -1
- package/dist/api/clients-api/get-billing-defaults.d.ts +12 -0
- package/dist/api/clients-api/get-billing-defaults.js +8 -0
- package/dist/api/clients-api/get-utm-touchpoints.d.ts +23 -0
- package/dist/api/clients-api/get-utm-touchpoints.js +8 -0
- package/dist/api/clients-api/index.d.ts +6 -0
- package/dist/api/clients-api/index.js +6 -0
- package/dist/api/clients-api/suggest-utm.d.ts +11 -0
- package/dist/api/clients-api/suggest-utm.js +13 -0
- package/dist/api/cron-parser-api/parse-all.d.ts +1 -1
- package/dist/api/cross-sale-api/get-birthday-marketing.d.ts +15 -0
- package/dist/api/cross-sale-api/get-birthday-marketing.js +9 -0
- package/dist/api/cross-sale-api/get-custom-client-booking-email.d.ts +7 -0
- package/dist/api/cross-sale-api/get-custom-client-booking-email.js +9 -0
- package/dist/api/cross-sale-api/index.d.ts +8 -0
- package/dist/api/cross-sale-api/index.js +8 -0
- package/dist/api/cross-sale-api/update-birthday-marketing.d.ts +15 -0
- package/dist/api/cross-sale-api/update-birthday-marketing.js +9 -0
- package/dist/api/cross-sale-api/update-custom-client-booking-email.d.ts +7 -0
- package/dist/api/cross-sale-api/update-custom-client-booking-email.js +9 -0
- package/dist/api/dashboard-api/get-unread-announcements.d.ts +6 -0
- package/dist/api/dashboard-api/get-unread-announcements.js +8 -0
- package/dist/api/dashboard-api/index.d.ts +4 -0
- package/dist/api/dashboard-api/index.js +4 -0
- package/dist/api/dashboard-api/mark-all-announcements-read.d.ts +6 -0
- package/dist/api/dashboard-api/mark-all-announcements-read.js +8 -0
- package/dist/api/index.d.ts +21 -1
- package/dist/api/index.js +48 -10
- package/dist/api/init-client-api.d.ts +15 -1
- package/dist/api/init-client-api.js +15 -1
- package/dist/api/landing-reviews-api/update.d.ts +1 -1
- package/dist/api/marketing-email-variables-api/get.d.ts +13 -0
- package/dist/api/marketing-email-variables-api/get.js +16 -0
- package/dist/api/marketing-email-variables-api/index.d.ts +6 -0
- package/dist/api/marketing-email-variables-api/index.js +7 -0
- package/dist/api/marketing-emails-unsubscribe-api/confirm.d.ts +15 -0
- package/dist/api/marketing-emails-unsubscribe-api/confirm.js +17 -0
- package/dist/api/marketing-emails-unsubscribe-api/index.d.ts +8 -0
- package/dist/api/marketing-emails-unsubscribe-api/index.js +9 -0
- package/dist/api/marketing-emails-unsubscribe-api/preview.d.ts +18 -0
- package/dist/api/marketing-emails-unsubscribe-api/preview.js +18 -0
- package/dist/api/openapi-widget-api/certificates/create-certificate-shop.d.ts +11 -0
- package/dist/api/openapi-widget-api/certificates/create-certificate-shop.js +13 -0
- package/dist/api/openapi-widget-api/external/index.d.ts +3 -3
- package/dist/api/openapi-widget-api/external/index.js +7 -7
- package/dist/api/openapi-widget-api/index.d.ts +28 -10
- package/dist/api/openapi-widget-api/index.js +28 -10
- package/dist/api/openapi-widget-api/order-groups/capture-paypal-order-group.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/capture-paypal-order-group.js +23 -0
- package/dist/api/openapi-widget-api/order-groups/find-order-group.d.ts +8 -0
- package/dist/api/openapi-widget-api/order-groups/find-order-group.js +11 -0
- package/dist/api/openapi-widget-api/order-groups/get-order-group-payment-methods.d.ts +8 -0
- package/dist/api/openapi-widget-api/order-groups/get-order-group-payment-methods.js +11 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-confirm-without-payment.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-confirm-without-payment.js +23 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-paypal.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-paypal.js +23 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-square.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-square.js +23 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-stripe.d.ts +9 -0
- package/dist/api/openapi-widget-api/order-groups/order-group-payment-stripe.js +23 -0
- package/dist/api/openapi-widget-api/widget/resolve-promocode.d.ts +7 -0
- package/dist/api/openapi-widget-api/widget/resolve-promocode.js +9 -0
- package/dist/api/openapi-widget-api/widget/validate-phone.d.ts +7 -0
- package/dist/api/openapi-widget-api/widget/validate-phone.js +9 -0
- package/dist/api/order-certificate-uploads-api/create.d.ts +1 -1
- package/dist/api/order-certificates-api/create.d.ts +2 -2
- package/dist/api/order-certificates-api/remove.d.ts +2 -2
- package/dist/api/order-discounts-api/create.d.ts +2 -2
- package/dist/api/order-discounts-api/remove.d.ts +2 -2
- package/dist/api/order-emails-api/toggle.d.ts +1 -1
- package/dist/api/order-groups-api/create-certificate.d.ts +10 -0
- package/dist/api/order-groups-api/create-certificate.js +12 -0
- package/dist/api/order-groups-api/create-closing-document.d.ts +10 -0
- package/dist/api/order-groups-api/create-closing-document.js +12 -0
- package/dist/api/order-groups-api/create-discount.d.ts +10 -0
- package/dist/api/order-groups-api/create-discount.js +12 -0
- package/dist/api/order-groups-api/create-invoice.d.ts +10 -0
- package/dist/api/order-groups-api/create-invoice.js +12 -0
- package/dist/api/order-groups-api/create-promocode.d.ts +10 -0
- package/dist/api/order-groups-api/create-promocode.js +12 -0
- package/dist/api/order-groups-api/create-refund-promocode.d.ts +10 -0
- package/dist/api/order-groups-api/create-refund-promocode.js +12 -0
- package/dist/api/order-groups-api/create-refund.d.ts +10 -0
- package/dist/api/order-groups-api/create-refund.js +12 -0
- package/dist/api/order-groups-api/create-stripe-refund.d.ts +10 -0
- package/dist/api/order-groups-api/create-stripe-refund.js +12 -0
- package/dist/api/order-groups-api/create-transaction.d.ts +10 -0
- package/dist/api/order-groups-api/create-transaction.js +12 -0
- package/dist/api/order-groups-api/create.d.ts +9 -0
- package/dist/api/{certificates-api → order-groups-api}/create.js +1 -1
- package/dist/api/order-groups-api/get-one.d.ts +8 -0
- package/dist/api/order-groups-api/get-one.js +11 -0
- package/dist/api/order-groups-api/index.d.ts +42 -0
- package/dist/api/order-groups-api/index.js +43 -0
- package/dist/api/order-groups-api/mark-invoice-paid.d.ts +9 -0
- package/dist/api/order-groups-api/mark-invoice-paid.js +11 -0
- package/dist/api/order-groups-api/query.d.ts +8 -0
- package/dist/api/order-groups-api/query.js +12 -0
- package/dist/api/order-groups-api/remove-certificate.d.ts +9 -0
- package/dist/api/order-groups-api/remove-certificate.js +11 -0
- package/dist/api/order-groups-api/remove-discount.d.ts +9 -0
- package/dist/api/order-groups-api/remove-discount.js +11 -0
- package/dist/api/order-groups-api/remove-order.d.ts +11 -0
- package/dist/api/order-groups-api/remove-order.js +11 -0
- package/dist/api/order-groups-api/remove-promocode.d.ts +9 -0
- package/dist/api/order-groups-api/remove-promocode.js +11 -0
- package/dist/api/order-groups-api/remove-transaction.d.ts +9 -0
- package/dist/api/order-groups-api/remove-transaction.js +11 -0
- package/dist/api/order-groups-api/resend-closing-document.d.ts +10 -0
- package/dist/api/order-groups-api/resend-closing-document.js +12 -0
- package/dist/api/order-penalties-api/create.d.ts +2 -2
- package/dist/api/order-penalties-api/remove.d.ts +2 -2
- package/dist/api/order-products-api/create.d.ts +2 -2
- package/dist/api/order-products-api/remove.d.ts +2 -2
- package/dist/api/order-promocodes-api/create-refund.d.ts +2 -2
- package/dist/api/order-promocodes-api/create.d.ts +2 -2
- package/dist/api/order-promocodes-api/remove-refund.d.ts +2 -2
- package/dist/api/order-promocodes-api/remove.d.ts +2 -2
- package/dist/api/order-transactions-api/create-order-closing-document.d.ts +10 -0
- package/dist/api/order-transactions-api/create-order-closing-document.js +12 -0
- package/dist/api/order-transactions-api/create-order-invoice.d.ts +1 -1
- package/dist/api/order-transactions-api/create-order-payment.d.ts +1 -1
- package/dist/api/order-transactions-api/create-order-refund.d.ts +1 -1
- package/dist/api/order-transactions-api/create-order-stripe-refund.d.ts +1 -1
- package/dist/api/order-transactions-api/index.d.ts +7 -1
- package/dist/api/order-transactions-api/index.js +7 -1
- package/dist/api/order-transactions-api/mark-invoice-paid.d.ts +8 -0
- package/dist/api/order-transactions-api/mark-invoice-paid.js +11 -0
- package/dist/api/order-transactions-api/resend-order-closing-document.d.ts +10 -0
- package/dist/api/order-transactions-api/resend-order-closing-document.js +12 -0
- package/dist/api/order-upsellings-api/create.d.ts +2 -2
- package/dist/api/order-upsellings-api/remove.d.ts +2 -2
- package/dist/api/orders-api/book-immediately.d.ts +2 -2
- package/dist/api/orders-api/cancel.d.ts +2 -2
- package/dist/api/orders-api/confirm.d.ts +2 -2
- package/dist/api/orders-api/create.d.ts +9 -2
- package/dist/api/orders-api/dashboard/get-orders-for-dashboard.d.ts +3 -2
- package/dist/api/orders-api/fast-stat.d.ts +10 -1
- package/dist/api/orders-api/get-cancel-preview.d.ts +12 -0
- package/dist/api/orders-api/get-cancel-preview.js +25 -0
- package/dist/api/orders-api/index.d.ts +21 -17
- package/dist/api/orders-api/index.js +21 -17
- package/dist/api/orders-api/query-light.d.ts +8 -0
- package/dist/api/orders-api/query-light.js +9 -0
- package/dist/api/orders-api/remove.d.ts +2 -2
- package/dist/api/orders-api/transactions/delete-transaction.d.ts +2 -2
- package/dist/api/orders-api/transactions/recover-transaction.d.ts +2 -2
- package/dist/api/orders-api/update-players.d.ts +2 -2
- package/dist/api/orders-api/update-slot.d.ts +2 -2
- package/dist/api/orders-api/update.d.ts +2 -2
- package/dist/api/orders-api/workers/add-worker.d.ts +1 -1
- package/dist/api/products-api/get-all-movements.d.ts +1 -0
- package/dist/api/products-api/remove.d.ts +1 -1
- package/dist/api/profiles-api/current/get-current-commission.d.ts +6 -0
- package/dist/api/profiles-api/current/get-current-commission.js +8 -0
- package/dist/api/profiles-api/email/get-emails-by-client.d.ts +13 -0
- package/dist/api/profiles-api/email/get-emails-by-client.js +16 -0
- package/dist/api/profiles-api/email/get-profile-emails-summary.d.ts +12 -0
- package/dist/api/profiles-api/email/get-profile-emails-summary.js +9 -0
- package/dist/api/profiles-api/email/resend-profile-email.d.ts +8 -0
- package/dist/api/profiles-api/email/resend-profile-email.js +11 -0
- package/dist/api/profiles-api/email-senders/add-email-domain.d.ts +9 -0
- package/dist/api/profiles-api/email-senders/add-email-domain.js +12 -0
- package/dist/api/profiles-api/email-senders/create-email-sender.d.ts +9 -0
- package/dist/api/profiles-api/email-senders/create-email-sender.js +12 -0
- package/dist/api/profiles-api/email-senders/get-email-domains.d.ts +6 -0
- package/dist/api/profiles-api/email-senders/get-email-domains.js +8 -0
- package/dist/api/profiles-api/email-senders/get-email-senders.d.ts +6 -0
- package/dist/api/profiles-api/email-senders/get-email-senders.js +8 -0
- package/dist/api/profiles-api/email-senders/recheck-email-domain.d.ts +8 -0
- package/dist/api/profiles-api/email-senders/recheck-email-domain.js +11 -0
- package/dist/api/profiles-api/email-senders/remove-email-domain.d.ts +6 -0
- package/dist/api/profiles-api/email-senders/remove-email-domain.js +8 -0
- package/dist/api/profiles-api/email-senders/remove-email-sender.d.ts +6 -0
- package/dist/api/profiles-api/email-senders/remove-email-sender.js +8 -0
- package/dist/api/profiles-api/email-senders/set-default-email-sender.d.ts +8 -0
- package/dist/api/profiles-api/email-senders/set-default-email-sender.js +11 -0
- package/dist/api/profiles-api/email-senders/update-email-sender.d.ts +10 -0
- package/dist/api/profiles-api/email-senders/update-email-sender.js +12 -0
- package/dist/api/profiles-api/index.d.ts +79 -11
- package/dist/api/profiles-api/index.js +85 -17
- package/dist/api/profiles-api/marketing-email-campaign/cancel-marketing-email-campaign.d.ts +10 -0
- package/dist/api/profiles-api/marketing-email-campaign/cancel-marketing-email-campaign.js +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/create-marketing-email-campaign.d.ts +9 -0
- package/dist/api/profiles-api/marketing-email-campaign/create-marketing-email-campaign.js +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/get-marketing-email-campaign.d.ts +6 -0
- package/dist/api/profiles-api/marketing-email-campaign/get-marketing-email-campaign.js +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/pause-marketing-email-campaign.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/pause-marketing-email-campaign.js +11 -0
- package/dist/api/profiles-api/marketing-email-campaign/preflight-marketing-email-campaign.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/preflight-marketing-email-campaign.js +11 -0
- package/dist/api/profiles-api/marketing-email-campaign/preview-marketing-email-campaign-v2.d.ts +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/preview-marketing-email-campaign-v2.js +16 -0
- package/dist/api/profiles-api/marketing-email-campaign/preview-marketing-email-segment.d.ts +9 -0
- package/dist/api/profiles-api/marketing-email-campaign/preview-marketing-email-segment.js +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/query-marketing-email-campaigns.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/query-marketing-email-campaigns.js +9 -0
- package/dist/api/profiles-api/marketing-email-campaign/resume-marketing-email-campaign.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/resume-marketing-email-campaign.js +11 -0
- package/dist/api/profiles-api/marketing-email-campaign/schedule-marketing-email-campaign.d.ts +10 -0
- package/dist/api/profiles-api/marketing-email-campaign/schedule-marketing-email-campaign.js +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/send-marketing-email-campaign.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/send-marketing-email-campaign.js +11 -0
- package/dist/api/profiles-api/marketing-email-campaign/send-test-marketing-email-campaign.d.ts +10 -0
- package/dist/api/profiles-api/marketing-email-campaign/send-test-marketing-email-campaign.js +12 -0
- package/dist/api/profiles-api/marketing-email-campaign/unschedule-marketing-email-campaign.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-campaign/unschedule-marketing-email-campaign.js +11 -0
- package/dist/api/profiles-api/marketing-email-campaign/update-marketing-email-campaign.d.ts +10 -0
- package/dist/api/profiles-api/marketing-email-campaign/update-marketing-email-campaign.js +12 -0
- package/dist/api/profiles-api/marketing-email-template/create-marketing-email-template.d.ts +9 -0
- package/dist/api/profiles-api/marketing-email-template/create-marketing-email-template.js +12 -0
- package/dist/api/profiles-api/marketing-email-template/delete-marketing-email-template.d.ts +9 -0
- package/dist/api/profiles-api/marketing-email-template/delete-marketing-email-template.js +11 -0
- package/dist/api/profiles-api/marketing-email-template/duplicate-marketing-email-template.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-template/duplicate-marketing-email-template.js +11 -0
- package/dist/api/profiles-api/marketing-email-template/get-marketing-email-template.d.ts +6 -0
- package/dist/api/profiles-api/marketing-email-template/get-marketing-email-template.js +8 -0
- package/dist/api/profiles-api/marketing-email-template/query-marketing-email-templates.d.ts +8 -0
- package/dist/api/profiles-api/marketing-email-template/query-marketing-email-templates.js +9 -0
- package/dist/api/profiles-api/marketing-email-template/update-marketing-email-template.d.ts +10 -0
- package/dist/api/profiles-api/marketing-email-template/update-marketing-email-template.js +12 -0
- package/dist/api/profiles-api/notification-chanel/query.d.ts +1 -1
- package/dist/api/profiles-api/profile-sms/get-sms-settings.d.ts +1 -1
- package/dist/api/profiles-api/profile-sms/query-order-sms-logs.d.ts +2 -2
- package/dist/api/profiles-api/profile-sms/query-sms-logs-by-client.d.ts +12 -0
- package/dist/api/profiles-api/profile-sms/query-sms-logs-by-client.js +12 -0
- package/dist/api/profiles-api/profile-sms/send-order-client-email.d.ts +1 -1
- package/dist/api/profiles-api/profile-sms/send-order-client-sms.d.ts +1 -1
- package/dist/api/profiles-api/profile-sms/update-sms-settings.d.ts +1 -1
- package/dist/api/profiles-api/subscription/update-subscription.d.ts +3 -0
- package/dist/api/questrooms-api/index.d.ts +4 -4
- package/dist/api/questrooms-api/index.js +4 -4
- package/dist/api/questrooms-api/query.d.ts +1 -1
- package/dist/api/questrooms-api/update-for-admin.d.ts +1 -1
- package/dist/api/questrooms-api/update-integration.d.ts +1 -1
- package/dist/api/statistics-api/index.d.ts +2 -0
- package/dist/api/statistics-api/index.js +2 -0
- package/dist/api/statistics-api/promocodes-report.d.ts +9 -0
- package/dist/api/statistics-api/promocodes-report.js +12 -0
- package/dist/api/transactions-api/create-certificate-payment.d.ts +1 -1
- package/dist/api/transactions-api/create-certificate-refund.d.ts +1 -1
- package/dist/api/users-api/index.d.ts +14 -14
- package/dist/api/users-api/index.js +14 -14
- package/dist/api/users-api/task/update-task-status.d.ts +1 -1
- package/dist/hooks/use-api-method/actions/creators/api.d.ts +1 -1
- package/dist/hooks/use-api-method/actions/types/api.js +1 -1
- package/dist/hooks/use-api-method/index.js +21 -10
- package/dist/hooks/use-api-method/reducers/api.d.ts +1 -1
- package/package.json +7 -30
- package/dist/api/certificates-api/create-inside.d.ts +0 -9
- package/dist/api/certificates-api/create.d.ts +0 -9
- package/dist/api/certificates-api/find-or-create-certificate-service.d.ts +0 -6
- package/dist/api/certificates-api/find-or-create-certificate-service.js +0 -8
- package/dist/api/certificates-api/get-all-inside.d.ts +0 -6
- package/dist/api/certificates-api/get-all-inside.js +0 -8
- package/dist/api/certificates-api/recover.d.ts +0 -7
- package/dist/api/certificates-api/recover.js +0 -8
- package/dist/api/certificates-api/remove-inside.d.ts +0 -7
- package/dist/api/certificates-api/remove-inside.js +0 -8
- package/dist/api/certificates-api/update-certificate-service.d.ts +0 -9
- package/dist/api/certificates-api/update-certificate-service.js +0 -12
- package/dist/api/certificates-api/update-inside.d.ts +0 -10
- package/dist/api/certificates-api/update.d.ts +0 -10
- package/dist/api/certificatesales-api/create.d.ts +0 -9
- package/dist/api/openapi-widget-api/certificates/create-certificate.d.ts +0 -7
- package/dist/api/openapi-widget-api/certificates/create-certificate.js +0 -9
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.capturePaypalOrderGroup = void 0;
|
|
15
|
+
var capturePaypalOrderGroup = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/capture/paypal"),
|
|
19
|
+
method: 'PATCH',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.capturePaypalOrderGroup = capturePaypalOrderGroup;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OpenapiOrderGroupRO } from '@escapenavigator/types/dist/openapi/order-groups/openapi-order-group.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = OpenapiOrderGroupRO;
|
|
7
|
+
export declare const findOrderGroup: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findOrderGroup = void 0;
|
|
4
|
+
var findOrderGroup = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/openapi/order-groups/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.findOrderGroup = findOrderGroup;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OpenapiGetPaymentMethodsRO } from '@escapenavigator/types/dist/openapi/shared/openapi-get-payment-methods.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '../..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = OpenapiGetPaymentMethodsRO[];
|
|
7
|
+
export declare const getOrderGroupPaymentMethods: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOrderGroupPaymentMethods = void 0;
|
|
4
|
+
var getOrderGroupPaymentMethods = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/openapi/order-groups/".concat(id, "/payment-method"),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.getOrderGroupPaymentMethods = getOrderGroupPaymentMethods;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiConfirmOrderGroupWithoutPaymentDto } from '@escapenavigator/types/dist/openapi/order-groups/openapi-confirm-order-group-without-payment.dto';
|
|
2
|
+
import { OpenapiOrderGroupRO } from '@escapenavigator/types/dist/openapi/order-groups/openapi-order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiConfirmOrderGroupWithoutPaymentDto & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OpenapiOrderGroupRO;
|
|
8
|
+
export declare const orderGroupConfirmWithoutPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.orderGroupConfirmWithoutPayment = void 0;
|
|
15
|
+
var orderGroupConfirmWithoutPayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/confirm-without-payment"),
|
|
19
|
+
method: 'PATCH',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupConfirmWithoutPayment = orderGroupConfirmWithoutPayment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiCreateOrderGroupPaymentDto } from '@escapenavigator/types/dist/openapi/order-groups/openapi-create-order-group-payment.dto';
|
|
2
|
+
import { OpenapiCreatePaymentRO } from '@escapenavigator/types/dist/openapi/shared/openapi-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateOrderGroupPaymentDto & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OpenapiCreatePaymentRO;
|
|
8
|
+
export declare const orderGroupPaypalPayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.orderGroupPaypalPayment = void 0;
|
|
15
|
+
var orderGroupPaypalPayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/paypal"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupPaypalPayment = orderGroupPaypalPayment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiCreateOrderGroupPaymentDto } from '@escapenavigator/types/dist/openapi/order-groups/openapi-create-order-group-payment.dto';
|
|
2
|
+
import { OpenapiOrderGroupRO } from '@escapenavigator/types/dist/openapi/order-groups/openapi-order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateOrderGroupPaymentDto & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OpenapiOrderGroupRO;
|
|
8
|
+
export declare const orderGroupSquarePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.orderGroupSquarePayment = void 0;
|
|
15
|
+
var orderGroupSquarePayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/square"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupSquarePayment = orderGroupSquarePayment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OpenapiCreateOrderGroupPaymentDto } from '@escapenavigator/types/dist/openapi/order-groups/openapi-create-order-group-payment.dto';
|
|
2
|
+
import { OpenapiCreatePaymentRO } from '@escapenavigator/types/dist/openapi/shared/openapi-create-payment.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiCreateOrderGroupPaymentDto & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OpenapiCreatePaymentRO;
|
|
8
|
+
export declare const orderGroupStripePayment: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.orderGroupStripePayment = void 0;
|
|
15
|
+
var orderGroupStripePayment = function (_a) {
|
|
16
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
17
|
+
return ({
|
|
18
|
+
url: "/openapi/order-groups/".concat(id, "/payment/stripe"),
|
|
19
|
+
method: 'POST',
|
|
20
|
+
data: data,
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.orderGroupStripePayment = orderGroupStripePayment;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiResolvePromocodeDto } from '@escapenavigator/types/dist/openapi/widget/openapi-resolve-promocode.dto';
|
|
2
|
+
import { OpenapiResolvePromocodeRO } from '@escapenavigator/types/dist/openapi/widget/openapi-resolve-promocode.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiResolvePromocodeDto;
|
|
5
|
+
type ResponseData = OpenapiResolvePromocodeRO;
|
|
6
|
+
export declare const resolvePromocode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolvePromocode = void 0;
|
|
4
|
+
var resolvePromocode = function (params) { return ({
|
|
5
|
+
url: '/openapi/widget/resolve-promocode',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.resolvePromocode = resolvePromocode;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OpenapiValidatePhoneDto } from '@escapenavigator/types/dist/openapi/widget/openapi-validate-phone.dto';
|
|
2
|
+
import { OpenapiValidatePhoneRO } from '@escapenavigator/types/dist/openapi/widget/openapi-validate-phone.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '../..';
|
|
4
|
+
type ParamsData = OpenapiValidatePhoneDto;
|
|
5
|
+
type ResponseData = OpenapiValidatePhoneRO;
|
|
6
|
+
export declare const validatePhone: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validatePhone = void 0;
|
|
4
|
+
var validatePhone = function (params) { return ({
|
|
5
|
+
url: '/openapi/widget/validate-phone',
|
|
6
|
+
method: 'GET',
|
|
7
|
+
params: params,
|
|
8
|
+
}); };
|
|
9
|
+
exports.validatePhone = validatePhone;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateOrderCertificateDto } from '@escapenavigator/types/dist/order-certificate/create-order-certificate.dto';
|
|
2
1
|
import { OrderRO } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { CreateOrderCertificateDto } from '@escapenavigator/types/dist/order-certificate/create-order-certificate.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
type ParamsData = {
|
|
5
5
|
data: CreateOrderCertificateDto;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CreateOrderCertificateDto } from '@escapenavigator/types/dist/order-certificate/create-order-certificate.dto';
|
|
2
|
-
import {
|
|
2
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
type ParamsData = {
|
|
5
5
|
data: CreateOrderCertificateDto;
|
|
6
6
|
};
|
|
7
|
-
type ResponseData =
|
|
7
|
+
type ResponseData = SuccessRO;
|
|
8
8
|
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
9
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
/** ID скидки */
|
|
4
4
|
type ParamsData = number;
|
|
5
|
-
type ResponseData =
|
|
5
|
+
type ResponseData = SuccessRO;
|
|
6
6
|
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CreateOrderDiscountDto } from '@escapenavigator/types/dist/order-discount/create-order-discount.dto';
|
|
2
|
-
import {
|
|
2
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
type ParamsData = {
|
|
5
5
|
data: CreateOrderDiscountDto;
|
|
6
6
|
};
|
|
7
|
-
type ResponseData =
|
|
7
|
+
type ResponseData = SuccessRO;
|
|
8
8
|
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
9
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SuccessRO } from '@escapenavigator/types/dist/shared/success.ro';
|
|
2
2
|
import { ApiMethodDeclaration } from '..';
|
|
3
3
|
/** ID скидки */
|
|
4
4
|
type ParamsData = number;
|
|
5
|
-
type ResponseData =
|
|
5
|
+
type ResponseData = SuccessRO;
|
|
6
6
|
export declare const remove: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
7
7
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ToggleDto } from '@escapenavigator/types/dist/order-emails/toggle.dto';
|
|
2
1
|
import { OrderRO } from '@escapenavigator/types/dist/order/order.ro';
|
|
2
|
+
import { ToggleDto } from '@escapenavigator/types/dist/order-emails/toggle.dto';
|
|
3
3
|
import { ApiMethodDeclaration } from '..';
|
|
4
4
|
type ParamsData = {
|
|
5
5
|
data: ToggleDto;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupCertificateDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupCertificateDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createCertificate: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createCertificate = void 0;
|
|
4
|
+
var createCertificate = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/certificates"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createCertificate = createCertificate;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateOrderGroupClosingDocumentDto } from '@escapenavigator/types/dist/order-group/create-order-group-closing-document.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateOrderGroupClosingDocumentDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createClosingDocument: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createClosingDocument = void 0;
|
|
4
|
+
var createClosingDocument = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/closing-document"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createClosingDocument = createClosingDocument;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupDiscountDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupDiscountDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createDiscount: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createDiscount = void 0;
|
|
4
|
+
var createDiscount = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/discounts"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createDiscount = createDiscount;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateOrderGroupInvoiceDto } from '@escapenavigator/types/dist/order-group/create-order-group-invoice.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateOrderGroupInvoiceDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createInvoice: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createInvoice = void 0;
|
|
4
|
+
var createInvoice = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/invoice"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createInvoice = createInvoice;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupPromocodeDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupPromocodeDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createPromocode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createPromocode = void 0;
|
|
4
|
+
var createPromocode = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/promocodes"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createPromocode = createPromocode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupRefundPromocodeDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupRefundPromocodeDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createRefundPromocode: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRefundPromocode = void 0;
|
|
4
|
+
var createRefundPromocode = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/refund-promocode"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createRefundPromocode = createRefundPromocode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupRefundDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupRefundDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createRefund: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRefund = void 0;
|
|
4
|
+
var createRefund = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/refund"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createRefund = createRefund;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupStripeRefundDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupStripeRefundDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createStripeRefund: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createStripeRefund = void 0;
|
|
4
|
+
var createStripeRefund = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/stripe-refund"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createStripeRefund = createStripeRefund;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateGroupTransactionDto } from '@escapenavigator/types/dist/order-group/group-transaction.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
id: number;
|
|
6
|
+
data: CreateGroupTransactionDto;
|
|
7
|
+
};
|
|
8
|
+
type ResponseData = OrderGroupRO;
|
|
9
|
+
export declare const createTransaction: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createTransaction = void 0;
|
|
4
|
+
var createTransaction = function (_a) {
|
|
5
|
+
var id = _a.id, data = _a.data;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id, "/transactions"),
|
|
8
|
+
method: 'POST',
|
|
9
|
+
data: data,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.createTransaction = createTransaction;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateOrderGroupDto } from '@escapenavigator/types/dist/order-group/create-order-group.dto';
|
|
2
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
3
|
+
import { ApiMethodDeclaration } from '..';
|
|
4
|
+
type ParamsData = {
|
|
5
|
+
data: CreateOrderGroupDto;
|
|
6
|
+
};
|
|
7
|
+
type ResponseData = OrderGroupRO;
|
|
8
|
+
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OrderGroupRO } from '@escapenavigator/types/dist/order-group/order-group.ro';
|
|
2
|
+
import { ApiMethodDeclaration } from '..';
|
|
3
|
+
type ParamsData = {
|
|
4
|
+
id: number;
|
|
5
|
+
};
|
|
6
|
+
type ResponseData = OrderGroupRO;
|
|
7
|
+
export declare const getOne: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOne = void 0;
|
|
4
|
+
var getOne = function (_a) {
|
|
5
|
+
var id = _a.id;
|
|
6
|
+
return ({
|
|
7
|
+
url: "/order-groups/".concat(id),
|
|
8
|
+
method: 'GET',
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.getOne = getOne;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { create } from './create';
|
|
2
|
+
import { createCertificate } from './create-certificate';
|
|
3
|
+
import { createClosingDocument } from './create-closing-document';
|
|
4
|
+
import { createDiscount } from './create-discount';
|
|
5
|
+
import { createInvoice } from './create-invoice';
|
|
6
|
+
import { createPromocode } from './create-promocode';
|
|
7
|
+
import { createRefund } from './create-refund';
|
|
8
|
+
import { createRefundPromocode } from './create-refund-promocode';
|
|
9
|
+
import { createStripeRefund } from './create-stripe-refund';
|
|
10
|
+
import { createTransaction } from './create-transaction';
|
|
11
|
+
import { getOne } from './get-one';
|
|
12
|
+
import { markInvoicePaid } from './mark-invoice-paid';
|
|
13
|
+
import { query } from './query';
|
|
14
|
+
import { removeCertificate } from './remove-certificate';
|
|
15
|
+
import { removeDiscount } from './remove-discount';
|
|
16
|
+
import { removeOrder } from './remove-order';
|
|
17
|
+
import { removePromocode } from './remove-promocode';
|
|
18
|
+
import { removeTransaction } from './remove-transaction';
|
|
19
|
+
import { resendClosingDocument } from './resend-closing-document';
|
|
20
|
+
type ApiDeclaration = {
|
|
21
|
+
create: typeof create;
|
|
22
|
+
getOne: typeof getOne;
|
|
23
|
+
query: typeof query;
|
|
24
|
+
removeOrder: typeof removeOrder;
|
|
25
|
+
createTransaction: typeof createTransaction;
|
|
26
|
+
createRefund: typeof createRefund;
|
|
27
|
+
createStripeRefund: typeof createStripeRefund;
|
|
28
|
+
createRefundPromocode: typeof createRefundPromocode;
|
|
29
|
+
createInvoice: typeof createInvoice;
|
|
30
|
+
createClosingDocument: typeof createClosingDocument;
|
|
31
|
+
resendClosingDocument: typeof resendClosingDocument;
|
|
32
|
+
createDiscount: typeof createDiscount;
|
|
33
|
+
createPromocode: typeof createPromocode;
|
|
34
|
+
createCertificate: typeof createCertificate;
|
|
35
|
+
removeTransaction: typeof removeTransaction;
|
|
36
|
+
removeDiscount: typeof removeDiscount;
|
|
37
|
+
removePromocode: typeof removePromocode;
|
|
38
|
+
removeCertificate: typeof removeCertificate;
|
|
39
|
+
markInvoicePaid: typeof markInvoicePaid;
|
|
40
|
+
};
|
|
41
|
+
export declare const orderGroupsApiDeclaration: ApiDeclaration;
|
|
42
|
+
export {};
|