@veruna/api-contracts 6.8.0 → 6.10.0
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/build/controllers/index.d.ts +3 -0
- package/build/controllers/index.js +10 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/payment.controllers.d.ts +2 -0
- package/build/controllers/payment.controllers.js +6 -0
- package/build/controllers/payment.controllers.js.map +1 -0
- package/build/controllers/plans.controllers.d.ts +3 -0
- package/build/controllers/plans.controllers.js +7 -0
- package/build/controllers/plans.controllers.js.map +1 -0
- package/build/controllers/subscription.controllers.d.ts +1 -0
- package/build/controllers/subscription.controllers.js +5 -0
- package/build/controllers/subscription.controllers.js.map +1 -0
- package/build/locales/en.d.ts +25 -0
- package/build/locales/en.js +25 -0
- package/build/locales/en.js.map +1 -1
- package/build/locales/index.d.ts +50 -0
- package/build/locales/ru.d.ts +25 -0
- package/build/locales/ru.js +25 -0
- package/build/locales/ru.js.map +1 -1
- package/build/locales/validation.d.ts +702 -0
- package/build/locales/validation.js +532 -2
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +167 -90
- package/build/rest-api.js +167 -90
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +3 -0
- package/build/routes/index.js +9 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/payment.routes.d.ts +13 -0
- package/build/routes/payment.routes.js +17 -0
- package/build/routes/payment.routes.js.map +1 -0
- package/build/routes/plans.routes.d.ts +9 -0
- package/build/routes/plans.routes.js +13 -0
- package/build/routes/plans.routes.js.map +1 -0
- package/build/routes/subscription.routes.d.ts +8 -0
- package/build/routes/subscription.routes.js +12 -0
- package/build/routes/subscription.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/admin-file/commands/admin-file-delete-by-key.command.js +1 -1
- package/build/v1/admin-file/commands/admin-file-delete-by-key.command.js.map +1 -1
- package/build/v1/admin-file/commands/admin-file-upload.command.js +1 -1
- package/build/v1/admin-file/commands/admin-file-upload.command.js.map +1 -1
- package/build/v1/admin-file/queries/admin-file-get-by-key.query.js +1 -1
- package/build/v1/admin-file/queries/admin-file-get-by-key.query.js.map +1 -1
- package/build/v1/admin-file/queries/admin-file-list.query.js +1 -1
- package/build/v1/admin-file/queries/admin-file-list.query.js.map +1 -1
- package/build/v1/analytics/queries/list-messages.query.js +1 -1
- package/build/v1/analytics/queries/list-messages.query.js.map +1 -1
- package/build/v1/analytics/queries/message-details.query.js +1 -1
- package/build/v1/analytics/queries/message-details.query.js.map +1 -1
- package/build/v1/analytics/queries/requests-chart.query.js +1 -1
- package/build/v1/analytics/queries/requests-chart.query.js.map +1 -1
- package/build/v1/analytics/queries/spend-chart.query.js +1 -1
- package/build/v1/analytics/queries/spend-chart.query.js.map +1 -1
- package/build/v1/antifraud/admin/commands/admin-set-preset.command.js +1 -1
- package/build/v1/antifraud/admin/commands/admin-set-preset.command.js.map +1 -1
- package/build/v1/antifraud/admin/queries/admin-get-preset-history.query.js +1 -1
- package/build/v1/antifraud/admin/queries/admin-get-preset-history.query.js.map +1 -1
- package/build/v1/antifraud/admin/queries/admin-get-settings.query.js +1 -1
- package/build/v1/antifraud/admin/queries/admin-get-settings.query.js.map +1 -1
- package/build/v1/assistants/catalog/queries/catalog-long-reg.query.js +1 -1
- package/build/v1/assistants/catalog/queries/catalog-long-reg.query.js.map +1 -1
- package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.js +1 -1
- package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.js.map +1 -1
- package/build/v1/assistants/catalog/queries/catalog-short-reg.query.js +1 -1
- package/build/v1/assistants/catalog/queries/catalog-short-reg.query.js.map +1 -1
- package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.js +1 -1
- package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.js.map +1 -1
- package/build/v1/avatar/commands/avatar-delete.command.js +1 -1
- package/build/v1/avatar/commands/avatar-delete.command.js.map +1 -1
- package/build/v1/avatar/commands/avatar-upload.command.js +1 -1
- package/build/v1/avatar/commands/avatar-upload.command.js.map +1 -1
- package/build/v1/billing/commands/admin-create-markup-tier.command.js +1 -1
- package/build/v1/billing/commands/admin-create-markup-tier.command.js.map +1 -1
- package/build/v1/billing/commands/admin-delete-markup-tier.command.js +1 -1
- package/build/v1/billing/commands/admin-delete-markup-tier.command.js.map +1 -1
- package/build/v1/billing/commands/admin-update-markup-tier.command.js +1 -1
- package/build/v1/billing/commands/admin-update-markup-tier.command.js.map +1 -1
- package/build/v1/billing/queries/admin-list-markup-tiers.query.js +1 -1
- package/build/v1/billing/queries/admin-list-markup-tiers.query.js.map +1 -1
- package/build/v1/chat/commands/delete-homeless-chats.command.js +1 -1
- package/build/v1/chat/commands/delete-homeless-chats.command.js.map +1 -1
- package/build/v1/chat/queries/get-chat-history.query.js +1 -1
- package/build/v1/chat/queries/get-chat-history.query.js.map +1 -1
- package/build/v1/chat/queries/get-generating-chats.query.js +1 -1
- package/build/v1/chat/queries/get-generating-chats.query.js.map +1 -1
- package/build/v1/chat/queries/search-chats.query.js +1 -1
- package/build/v1/chat/queries/search-chats.query.js.map +1 -1
- package/build/v1/chat-project/commands/create-project.command.js +1 -1
- package/build/v1/chat-project/commands/create-project.command.js.map +1 -1
- package/build/v1/chat-project/commands/delete-folder-chats.command.js +1 -1
- package/build/v1/chat-project/commands/delete-folder-chats.command.js.map +1 -1
- package/build/v1/chat-project/commands/delete-project.command.js +1 -1
- package/build/v1/chat-project/commands/delete-project.command.js.map +1 -1
- package/build/v1/chat-project/commands/organize.command.js +1 -1
- package/build/v1/chat-project/commands/organize.command.js.map +1 -1
- package/build/v1/chat-project/commands/update-project.command.js +1 -1
- package/build/v1/chat-project/commands/update-project.command.js.map +1 -1
- package/build/v1/chat-project/queries/get-project-chats.query.js +1 -1
- package/build/v1/chat-project/queries/get-project-chats.query.js.map +1 -1
- package/build/v1/chat-project/queries/get-project.query.js +1 -1
- package/build/v1/chat-project/queries/get-project.query.js.map +1 -1
- package/build/v1/chat-project/queries/get-projects.query.js +1 -1
- package/build/v1/chat-project/queries/get-projects.query.js.map +1 -1
- package/build/v1/client-file/commands/client-file-attach.command.js +1 -1
- package/build/v1/client-file/commands/client-file-attach.command.js.map +1 -1
- package/build/v1/client-file/commands/client-file-delete.command.js +1 -1
- package/build/v1/client-file/commands/client-file-delete.command.js.map +1 -1
- package/build/v1/client-file/commands/client-file-upload.command.js +1 -1
- package/build/v1/client-file/commands/client-file-upload.command.js.map +1 -1
- package/build/v1/client-file/commands/user-file-delete.command.js +1 -1
- package/build/v1/client-file/commands/user-file-delete.command.js.map +1 -1
- package/build/v1/client-file/queries/client-file-list.query.js +1 -1
- package/build/v1/client-file/queries/client-file-list.query.js.map +1 -1
- package/build/v1/client-file/queries/user-files-list.query.js +1 -1
- package/build/v1/client-file/queries/user-files-list.query.js.map +1 -1
- package/build/v1/client-file/queries/user-files-stats.query.js +1 -1
- package/build/v1/client-file/queries/user-files-stats.query.js.map +1 -1
- package/build/v1/daily-rewards/commands/admin-upsert-reward-config.command.js +1 -1
- package/build/v1/daily-rewards/commands/admin-upsert-reward-config.command.js.map +1 -1
- package/build/v1/daily-rewards/commands/claim-daily-reward.command.js +1 -1
- package/build/v1/daily-rewards/commands/claim-daily-reward.command.js.map +1 -1
- package/build/v1/daily-rewards/commands/restore-streak-with-grace.command.js +1 -1
- package/build/v1/daily-rewards/commands/restore-streak-with-grace.command.js.map +1 -1
- package/build/v1/daily-rewards/queries/admin-get-reward-configs.query.js +1 -1
- package/build/v1/daily-rewards/queries/admin-get-reward-configs.query.js.map +1 -1
- package/build/v1/daily-rewards/queries/get-claim-history.query.js +1 -1
- package/build/v1/daily-rewards/queries/get-claim-history.query.js.map +1 -1
- package/build/v1/daily-rewards/queries/get-reward-table.query.js +1 -1
- package/build/v1/daily-rewards/queries/get-reward-table.query.js.map +1 -1
- package/build/v1/daily-rewards/queries/get-streak-status.query.js +1 -1
- package/build/v1/daily-rewards/queries/get-streak-status.query.js.map +1 -1
- package/build/v1/index.d.ts +3 -0
- package/build/v1/index.js +3 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/model-route/admin/commands/create-model-route.command.js +1 -1
- package/build/v1/model-route/admin/commands/create-model-route.command.js.map +1 -1
- package/build/v1/notifications/commands/update-notification-settings.command.js +1 -1
- package/build/v1/notifications/commands/update-notification-settings.command.js.map +1 -1
- package/build/v1/notifications/queries/get-notification-settings.query.js +1 -1
- package/build/v1/notifications/queries/get-notification-settings.query.js.map +1 -1
- package/build/v1/payment/commands/charge-saved-method.command.d.ts +15 -0
- package/build/v1/payment/commands/charge-saved-method.command.js +25 -0
- package/build/v1/payment/commands/charge-saved-method.command.js.map +1 -0
- package/build/v1/payment/commands/check-webhook.command.d.ts +20 -0
- package/build/v1/payment/commands/check-webhook.command.js +14 -0
- package/build/v1/payment/commands/check-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/confirm-webhook.command.d.ts +19 -0
- package/build/v1/payment/commands/confirm-webhook.command.js +14 -0
- package/build/v1/payment/commands/confirm-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/create-order.command.d.ts +25 -0
- package/build/v1/payment/commands/create-order.command.js +43 -0
- package/build/v1/payment/commands/create-order.command.js.map +1 -0
- package/build/v1/payment/commands/fail-webhook.command.d.ts +21 -0
- package/build/v1/payment/commands/fail-webhook.command.js +14 -0
- package/build/v1/payment/commands/fail-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/index.d.ts +10 -0
- package/build/v1/payment/commands/index.js +27 -0
- package/build/v1/payment/commands/index.js.map +1 -0
- package/build/v1/payment/commands/mark-order-fulfilled.command.d.ts +13 -0
- package/build/v1/payment/commands/mark-order-fulfilled.command.js +19 -0
- package/build/v1/payment/commands/mark-order-fulfilled.command.js.map +1 -0
- package/build/v1/payment/commands/pay-webhook.command.d.ts +25 -0
- package/build/v1/payment/commands/pay-webhook.command.js +14 -0
- package/build/v1/payment/commands/pay-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/recurrent-webhook.command.d.ts +22 -0
- package/build/v1/payment/commands/recurrent-webhook.command.js +14 -0
- package/build/v1/payment/commands/recurrent-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/refund-webhook.command.d.ts +18 -0
- package/build/v1/payment/commands/refund-webhook.command.js +14 -0
- package/build/v1/payment/commands/refund-webhook.command.js.map +1 -0
- package/build/v1/payment/commands/revoke-saved-method.command.d.ts +15 -0
- package/build/v1/payment/commands/revoke-saved-method.command.js +24 -0
- package/build/v1/payment/commands/revoke-saved-method.command.js.map +1 -0
- package/build/v1/payment/index.d.ts +6 -0
- package/build/v1/payment/index.js +28 -0
- package/build/v1/payment/index.js.map +1 -0
- package/build/v1/payment/payment.errors.d.ts +16 -0
- package/build/v1/payment/payment.errors.js +69 -0
- package/build/v1/payment/payment.errors.js.map +1 -0
- package/build/v1/payment/queries/get-checkout-config.query.d.ts +20 -0
- package/build/v1/payment/queries/get-checkout-config.query.js +23 -0
- package/build/v1/payment/queries/get-checkout-config.query.js.map +1 -0
- package/build/v1/payment/queries/get-order.query.d.ts +29 -0
- package/build/v1/payment/queries/get-order.query.js +18 -0
- package/build/v1/payment/queries/get-order.query.js.map +1 -0
- package/build/v1/payment/queries/get-paid-unfulfilled-orders.query.d.ts +29 -0
- package/build/v1/payment/queries/get-paid-unfulfilled-orders.query.js +15 -0
- package/build/v1/payment/queries/get-paid-unfulfilled-orders.query.js.map +1 -0
- package/build/v1/payment/queries/get-saved-methods.query.d.ts +33 -0
- package/build/v1/payment/queries/get-saved-methods.query.js +30 -0
- package/build/v1/payment/queries/get-saved-methods.query.js.map +1 -0
- package/build/v1/payment/queries/index.d.ts +4 -0
- package/build/v1/payment/queries/index.js +21 -0
- package/build/v1/payment/queries/index.js.map +1 -0
- package/build/v1/payment/schemas/charge-initiator.enum.d.ts +4 -0
- package/build/v1/payment/schemas/charge-initiator.enum.js +9 -0
- package/build/v1/payment/schemas/charge-initiator.enum.js.map +1 -0
- package/build/v1/payment/schemas/cloudpayments-webhook.schemas.d.ts +106 -0
- package/build/v1/payment/schemas/cloudpayments-webhook.schemas.js +134 -0
- package/build/v1/payment/schemas/cloudpayments-webhook.schemas.js.map +1 -0
- package/build/v1/payment/schemas/cp-decline-codes.d.ts +4 -0
- package/build/v1/payment/schemas/cp-decline-codes.js +45 -0
- package/build/v1/payment/schemas/cp-decline-codes.js.map +1 -0
- package/build/v1/payment/schemas/cp-transaction-status.enum.d.ts +10 -0
- package/build/v1/payment/schemas/cp-transaction-status.enum.js +16 -0
- package/build/v1/payment/schemas/cp-transaction-status.enum.js.map +1 -0
- package/build/v1/payment/schemas/currency.enum.d.ts +3 -0
- package/build/v1/payment/schemas/currency.enum.js +8 -0
- package/build/v1/payment/schemas/currency.enum.js.map +1 -0
- package/build/v1/payment/schemas/decline-kind.enum.d.ts +6 -0
- package/build/v1/payment/schemas/decline-kind.enum.js +11 -0
- package/build/v1/payment/schemas/decline-kind.enum.js.map +1 -0
- package/build/v1/payment/schemas/dunning-stopped-reason.enum.d.ts +8 -0
- package/build/v1/payment/schemas/dunning-stopped-reason.enum.js +13 -0
- package/build/v1/payment/schemas/dunning-stopped-reason.enum.js.map +1 -0
- package/build/v1/payment/schemas/index.d.ts +12 -0
- package/build/v1/payment/schemas/index.js +29 -0
- package/build/v1/payment/schemas/index.js.map +1 -0
- package/build/v1/payment/schemas/order-kind.enum.d.ts +6 -0
- package/build/v1/payment/schemas/order-kind.enum.js +11 -0
- package/build/v1/payment/schemas/order-kind.enum.js.map +1 -0
- package/build/v1/payment/schemas/order-status.enum.d.ts +7 -0
- package/build/v1/payment/schemas/order-status.enum.js +12 -0
- package/build/v1/payment/schemas/order-status.enum.js.map +1 -0
- package/build/v1/payment/schemas/payment-provider.enum.d.ts +3 -0
- package/build/v1/payment/schemas/payment-provider.enum.js +8 -0
- package/build/v1/payment/schemas/payment-provider.enum.js.map +1 -0
- package/build/v1/payment/schemas/payment-status.enum.d.ts +7 -0
- package/build/v1/payment/schemas/payment-status.enum.js +12 -0
- package/build/v1/payment/schemas/payment-status.enum.js.map +1 -0
- package/build/v1/payment/schemas/saved-method-status.enum.d.ts +5 -0
- package/build/v1/payment/schemas/saved-method-status.enum.js +10 -0
- package/build/v1/payment/schemas/saved-method-status.enum.js.map +1 -0
- package/build/v1/plans/commands/admin-create-plan.command.d.ts +60 -0
- package/build/v1/plans/commands/admin-create-plan.command.js +14 -0
- package/build/v1/plans/commands/admin-create-plan.command.js.map +1 -0
- package/build/v1/plans/commands/admin-delete-plan.command.d.ts +12 -0
- package/build/v1/plans/commands/admin-delete-plan.command.js +15 -0
- package/build/v1/plans/commands/admin-delete-plan.command.js.map +1 -0
- package/build/v1/plans/commands/admin-update-plan.command.d.ts +59 -0
- package/build/v1/plans/commands/admin-update-plan.command.js +14 -0
- package/build/v1/plans/commands/admin-update-plan.command.js.map +1 -0
- package/build/v1/plans/commands/index.d.ts +3 -0
- package/build/v1/plans/commands/index.js +20 -0
- package/build/v1/plans/commands/index.js.map +1 -0
- package/build/v1/plans/index.d.ts +6 -0
- package/build/v1/plans/index.js +28 -0
- package/build/v1/plans/index.js.map +1 -0
- package/build/v1/plans/plans.errors.d.ts +11 -0
- package/build/v1/plans/plans.errors.js +44 -0
- package/build/v1/plans/plans.errors.js.map +1 -0
- package/build/v1/plans/queries/admin-get-plan-by-id.query.d.ts +41 -0
- package/build/v1/plans/queries/admin-get-plan-by-id.query.js +15 -0
- package/build/v1/plans/queries/admin-get-plan-by-id.query.js.map +1 -0
- package/build/v1/plans/queries/index.d.ts +2 -0
- package/build/v1/plans/queries/index.js +19 -0
- package/build/v1/plans/queries/index.js.map +1 -0
- package/build/v1/plans/queries/list-plans.query.d.ts +115 -0
- package/build/v1/plans/queries/list-plans.query.js +22 -0
- package/build/v1/plans/queries/list-plans.query.js.map +1 -0
- package/build/v1/plans/schemas/admin-delete-plan.schema.d.ts +4 -0
- package/build/v1/plans/schemas/admin-delete-plan.schema.js +8 -0
- package/build/v1/plans/schemas/admin-delete-plan.schema.js.map +1 -0
- package/build/v1/plans/schemas/index.d.ts +5 -0
- package/build/v1/plans/schemas/index.js +22 -0
- package/build/v1/plans/schemas/index.js.map +1 -0
- package/build/v1/plans/schemas/plan-feature.enum.d.ts +5 -0
- package/build/v1/plans/schemas/plan-feature.enum.js +10 -0
- package/build/v1/plans/schemas/plan-feature.enum.js.map +1 -0
- package/build/v1/plans/schemas/plan-status.enum.d.ts +5 -0
- package/build/v1/plans/schemas/plan-status.enum.js +10 -0
- package/build/v1/plans/schemas/plan-status.enum.js.map +1 -0
- package/build/v1/plans/schemas/plan-type.enum.d.ts +5 -0
- package/build/v1/plans/schemas/plan-type.enum.js +10 -0
- package/build/v1/plans/schemas/plan-type.enum.js.map +1 -0
- package/build/v1/plans/schemas/plan.schema.d.ts +270 -0
- package/build/v1/plans/schemas/plan.schema.js +249 -0
- package/build/v1/plans/schemas/plan.schema.js.map +1 -0
- package/build/v1/seo-pages/admin/commands/create-page.command.d.ts +2 -0
- package/build/v1/seo-pages/admin/commands/update-page.command.d.ts +2 -0
- package/build/v1/seo-pages/admin/queries/get-page.query.d.ts +1 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.d.ts +1 -0
- package/build/v1/seo-pages/public/queries/get-page-by-alias.query.d.ts +1 -0
- package/build/v1/seo-pages/schemas/create-page-request.schema.d.ts +2 -0
- package/build/v1/seo-pages/schemas/create-page-request.schema.js +6 -1
- package/build/v1/seo-pages/schemas/create-page-request.schema.js.map +1 -1
- package/build/v1/seo-pages/schemas/index.d.ts +1 -0
- package/build/v1/seo-pages/schemas/index.js +3 -1
- package/build/v1/seo-pages/schemas/index.js.map +1 -1
- package/build/v1/seo-pages/schemas/page-block.enum.d.ts +10 -0
- package/build/v1/seo-pages/schemas/page-block.enum.js +15 -0
- package/build/v1/seo-pages/schemas/page-block.enum.js.map +1 -0
- package/build/v1/seo-pages/schemas/page-response.schema.d.ts +3 -0
- package/build/v1/seo-pages/schemas/page-response.schema.js +2 -0
- package/build/v1/seo-pages/schemas/page-response.schema.js.map +1 -1
- package/build/v1/seo-pages/schemas/update-page-request.schema.d.ts +2 -0
- package/build/v1/seo-pages/schemas/update-page-request.schema.js +5 -0
- package/build/v1/seo-pages/schemas/update-page-request.schema.js.map +1 -1
- package/build/v1/settings/commands/update-user-setting.command.js +1 -1
- package/build/v1/settings/commands/update-user-setting.command.js.map +1 -1
- package/build/v1/settings/queries/get-user-settings.query.js +1 -1
- package/build/v1/settings/queries/get-user-settings.query.js.map +1 -1
- package/build/v1/subscription/commands/buy-package.command.d.ts +19 -0
- package/build/v1/subscription/commands/buy-package.command.js +14 -0
- package/build/v1/subscription/commands/buy-package.command.js.map +1 -0
- package/build/v1/subscription/commands/cancel-subscription.command.d.ts +13 -0
- package/build/v1/subscription/commands/cancel-subscription.command.js +15 -0
- package/build/v1/subscription/commands/cancel-subscription.command.js.map +1 -0
- package/build/v1/subscription/commands/change-subscription.command.d.ts +18 -0
- package/build/v1/subscription/commands/change-subscription.command.js +14 -0
- package/build/v1/subscription/commands/change-subscription.command.js.map +1 -0
- package/build/v1/subscription/commands/checkout.command.d.ts +20 -0
- package/build/v1/subscription/commands/checkout.command.js +14 -0
- package/build/v1/subscription/commands/checkout.command.js.map +1 -0
- package/build/v1/subscription/commands/index.d.ts +5 -0
- package/build/v1/subscription/commands/index.js +22 -0
- package/build/v1/subscription/commands/index.js.map +1 -0
- package/build/v1/subscription/commands/uncancel-subscription.command.d.ts +12 -0
- package/build/v1/subscription/commands/uncancel-subscription.command.js +15 -0
- package/build/v1/subscription/commands/uncancel-subscription.command.js.map +1 -0
- package/build/v1/subscription/index.d.ts +6 -0
- package/build/v1/subscription/index.js +26 -0
- package/build/v1/subscription/index.js.map +1 -0
- package/build/v1/subscription/queries/get-my-subscription.query.d.ts +35 -0
- package/build/v1/subscription/queries/get-my-subscription.query.js +15 -0
- package/build/v1/subscription/queries/get-my-subscription.query.js.map +1 -0
- package/build/v1/subscription/queries/get-subscription-change-preview.query.d.ts +24 -0
- package/build/v1/subscription/queries/get-subscription-change-preview.query.js +35 -0
- package/build/v1/subscription/queries/get-subscription-change-preview.query.js.map +1 -0
- package/build/v1/subscription/queries/index.d.ts +2 -0
- package/build/v1/subscription/queries/index.js +19 -0
- package/build/v1/subscription/queries/index.js.map +1 -0
- package/build/v1/subscription/schemas/charge-status.enum.d.ts +5 -0
- package/build/v1/subscription/schemas/charge-status.enum.js +10 -0
- package/build/v1/subscription/schemas/charge-status.enum.js.map +1 -0
- package/build/v1/subscription/schemas/index.d.ts +6 -0
- package/build/v1/subscription/schemas/index.js +23 -0
- package/build/v1/subscription/schemas/index.js.map +1 -0
- package/build/v1/subscription/schemas/plan-transition-kind.enum.d.ts +6 -0
- package/build/v1/subscription/schemas/plan-transition-kind.enum.js +11 -0
- package/build/v1/subscription/schemas/plan-transition-kind.enum.js.map +1 -0
- package/build/v1/subscription/schemas/purchase-kind.enum.d.ts +6 -0
- package/build/v1/subscription/schemas/purchase-kind.enum.js +11 -0
- package/build/v1/subscription/schemas/purchase-kind.enum.js.map +1 -0
- package/build/v1/subscription/schemas/subscription-status.enum.d.ts +8 -0
- package/build/v1/subscription/schemas/subscription-status.enum.js +13 -0
- package/build/v1/subscription/schemas/subscription-status.enum.js.map +1 -0
- package/build/v1/subscription/schemas/subscription.schema.d.ts +110 -0
- package/build/v1/subscription/schemas/subscription.schema.js +113 -0
- package/build/v1/subscription/schemas/subscription.schema.js.map +1 -0
- package/build/v1/subscription/schemas/user-package-status.enum.d.ts +6 -0
- package/build/v1/subscription/schemas/user-package-status.enum.js +11 -0
- package/build/v1/subscription/schemas/user-package-status.enum.js.map +1 -0
- package/build/v1/subscription/subscription.errors.d.ts +17 -0
- package/build/v1/subscription/subscription.errors.js +74 -0
- package/build/v1/subscription/subscription.errors.js.map +1 -0
- package/build/v1/tasks/commands/admin-create-task-definition.command.js +1 -1
- package/build/v1/tasks/commands/admin-create-task-definition.command.js.map +1 -1
- package/build/v1/tasks/commands/admin-delete-task-definition.command.js +1 -1
- package/build/v1/tasks/commands/admin-delete-task-definition.command.js.map +1 -1
- package/build/v1/tasks/commands/admin-update-task-definition.command.js +1 -1
- package/build/v1/tasks/commands/admin-update-task-definition.command.js.map +1 -1
- package/build/v1/tasks/commands/claim-task.command.js +1 -1
- package/build/v1/tasks/commands/claim-task.command.js.map +1 -1
- package/build/v1/tasks/commands/verify-task.command.js +1 -1
- package/build/v1/tasks/commands/verify-task.command.js.map +1 -1
- package/build/v1/tasks/queries/get-admin-task-definitions.query.js +1 -1
- package/build/v1/tasks/queries/get-admin-task-definitions.query.js.map +1 -1
- package/build/v1/tasks/queries/get-user-tasks.query.js +1 -1
- package/build/v1/tasks/queries/get-user-tasks.query.js.map +1 -1
- package/build/v1/telegram-auth/commands/exchange-telegram-auth.command.js +1 -1
- package/build/v1/telegram-auth/commands/exchange-telegram-auth.command.js.map +1 -1
- package/build/v1/telegram-auth/commands/init-telegram-auth.command.js +1 -1
- package/build/v1/telegram-auth/commands/init-telegram-auth.command.js.map +1 -1
- package/build/v1/telegram-auth/queries/get-telegram-auth-status.query.js +1 -1
- package/build/v1/telegram-auth/queries/get-telegram-auth-status.query.js.map +1 -1
- package/build/v1/unregistered-users/commands/authenticate.command.js +1 -1
- package/build/v1/unregistered-users/commands/authenticate.command.js.map +1 -1
- package/build/v1/verification/commands/cancel-verification.command.js +1 -1
- package/build/v1/verification/commands/cancel-verification.command.js.map +1 -1
- package/build/v1/verification/commands/resend.command.js +1 -1
- package/build/v1/verification/commands/resend.command.js.map +1 -1
- package/build/v1/verification/queries/get-active-verifications.query.js +1 -1
- package/build/v1/verification/queries/get-active-verifications.query.js.map +1 -1
- package/build/v1/vk-auth/commands/exchange-vk-auth.command.js +1 -1
- package/build/v1/vk-auth/commands/exchange-vk-auth.command.js.map +1 -1
- package/build/v1/vk-auth/commands/init-vk-auth.command.js +1 -1
- package/build/v1/vk-auth/commands/init-vk-auth.command.js.map +1 -1
- package/build/v1/vk-auth/queries/get-vk-auth-status.query.js +1 -1
- package/build/v1/vk-auth/queries/get-vk-auth-status.query.js.map +1 -1
- package/build/v1/vk-auth/queries/handle-vk-auth-callback.query.js +1 -1
- package/build/v1/vk-auth/queries/handle-vk-auth-callback.query.js.map +1 -1
- package/build/v1/wallet/schemas/balance-type-code.enum.d.ts +5 -1
- package/build/v1/wallet/schemas/balance-type-code.enum.js +4 -0
- package/build/v1/wallet/schemas/balance-type-code.enum.js.map +1 -1
- package/build/v1/wallet/schemas/source-type.enum.d.ts +2 -1
- package/build/v1/wallet/schemas/source-type.enum.js +1 -0
- package/build/v1/wallet/schemas/source-type.enum.js.map +1 -1
- package/build/v1/web-notifications/commands/mark-web-notifications-read-up-to.command.js +1 -1
- package/build/v1/web-notifications/commands/mark-web-notifications-read-up-to.command.js.map +1 -1
- package/build/v1/web-notifications/queries/get-web-notifications.query.js +1 -1
- package/build/v1/web-notifications/queries/get-web-notifications.query.js.map +1 -1
- package/build/v1/web-notifications/queries/get-web-unread-count.query.js +1 -1
- package/build/v1/web-notifications/queries/get-web-unread-count.query.js.map +1 -1
- package/build/v1/yandex-auth/commands/exchange-yandex-auth.command.js +1 -1
- package/build/v1/yandex-auth/commands/exchange-yandex-auth.command.js.map +1 -1
- package/build/v1/yandex-auth/commands/init-yandex-auth.command.js +1 -1
- package/build/v1/yandex-auth/commands/init-yandex-auth.command.js.map +1 -1
- package/build/v1/yandex-auth/queries/get-yandex-auth-status.query.js +1 -1
- package/build/v1/yandex-auth/queries/get-yandex-auth-status.query.js.map +1 -1
- package/build/v1/yandex-auth/queries/handle-yandex-auth-callback.query.js +1 -1
- package/build/v1/yandex-auth/queries/handle-yandex-auth-callback.query.js.map +1 -1
- package/package.json +1 -1
package/build/rest-api.d.ts
CHANGED
|
@@ -71,22 +71,39 @@ export declare const REST_API: {
|
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
+
readonly UNREG_USERS: {
|
|
75
|
+
readonly UNREG: {
|
|
76
|
+
readonly AUTHENTICATE: "/api/v1/unreg/";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
74
79
|
readonly NOTIFICATIONS: {
|
|
75
|
-
readonly
|
|
80
|
+
readonly REG: {
|
|
81
|
+
readonly SETTINGS: "/api/v1/notifications/settings";
|
|
82
|
+
};
|
|
76
83
|
};
|
|
77
84
|
readonly SETTINGS: {
|
|
78
|
-
readonly
|
|
85
|
+
readonly REG: {
|
|
86
|
+
readonly ROOT: "/api/v1/settings";
|
|
87
|
+
};
|
|
79
88
|
};
|
|
80
89
|
readonly WEB_NOTIFICATIONS: {
|
|
81
|
-
readonly
|
|
82
|
-
|
|
83
|
-
|
|
90
|
+
readonly REG: {
|
|
91
|
+
readonly LIST: "/api/v1/web-notifications/";
|
|
92
|
+
readonly READ_UP_TO: "/api/v1/web-notifications/read-up-to";
|
|
93
|
+
readonly UNREAD_COUNT: "/api/v1/web-notifications/unread-count";
|
|
94
|
+
};
|
|
84
95
|
};
|
|
85
96
|
readonly ATTRIBUTION: {
|
|
86
|
-
readonly
|
|
97
|
+
readonly PUBLIC: {
|
|
98
|
+
readonly CLICK: (token: string) => string;
|
|
99
|
+
};
|
|
87
100
|
};
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
101
|
+
readonly VERIFICATION: {
|
|
102
|
+
readonly REG: {
|
|
103
|
+
readonly RESEND: "/api/v1/verification/resend";
|
|
104
|
+
readonly ACTIVE: "/api/v1/verification/active";
|
|
105
|
+
readonly CANCEL: (requestId: string) => string;
|
|
106
|
+
};
|
|
90
107
|
};
|
|
91
108
|
readonly BLOG: {
|
|
92
109
|
readonly ADMIN: {
|
|
@@ -133,15 +150,13 @@ export declare const REST_API: {
|
|
|
133
150
|
readonly DELETE: (uuid: string) => string;
|
|
134
151
|
readonly TOGGLE_FAVORITE: (uuid: string) => string;
|
|
135
152
|
};
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
readonly
|
|
142
|
-
|
|
143
|
-
readonly LONG: "/api/v1/unreg/assistants/catalog/longislandicedtea";
|
|
144
|
-
};
|
|
153
|
+
readonly REG: {
|
|
154
|
+
readonly CATALOG_SHORT: "/api/v1/assistants/catalog/short";
|
|
155
|
+
readonly CATALOG_LONG: "/api/v1/assistants/catalog/longislandicedtea";
|
|
156
|
+
};
|
|
157
|
+
readonly UNREG: {
|
|
158
|
+
readonly CATALOG_SHORT: "/api/v1/unreg/assistants/catalog/short";
|
|
159
|
+
readonly CATALOG_LONG: "/api/v1/unreg/assistants/catalog/longislandicedtea";
|
|
145
160
|
};
|
|
146
161
|
};
|
|
147
162
|
readonly ASSISTANT_CATEGORIES: {
|
|
@@ -242,16 +257,20 @@ export declare const REST_API: {
|
|
|
242
257
|
readonly LIST_CLIENT_FILES: "/file-api/s2s/files/client-files/:chatId";
|
|
243
258
|
};
|
|
244
259
|
readonly ADMIN_FILE: {
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
260
|
+
readonly ADMIN: {
|
|
261
|
+
readonly UPLOAD: `/file-api/v1/admin/file/${string}`;
|
|
262
|
+
readonly LIST: "/file-api/v1/admin/file";
|
|
263
|
+
readonly GET_BY_KEY: "/file-api/v1/admin/file";
|
|
264
|
+
readonly DELETE_BY_KEY: "/file-api/v1/admin/file";
|
|
265
|
+
};
|
|
249
266
|
};
|
|
250
267
|
readonly CLIENT_FILE: {
|
|
251
|
-
readonly
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
268
|
+
readonly REG: {
|
|
269
|
+
readonly UPLOAD: (chatId: string) => string;
|
|
270
|
+
readonly LIST: (chatId: string) => string;
|
|
271
|
+
readonly DELETE: (chatId: string, fileId: string) => string;
|
|
272
|
+
readonly ATTACH: (chatId: string) => string;
|
|
273
|
+
};
|
|
255
274
|
readonly UNREG: {
|
|
256
275
|
readonly UPLOAD: (chatId: string) => string;
|
|
257
276
|
readonly LIST: (chatId: string) => string;
|
|
@@ -259,13 +278,17 @@ export declare const REST_API: {
|
|
|
259
278
|
};
|
|
260
279
|
};
|
|
261
280
|
readonly USER_FILES: {
|
|
262
|
-
readonly
|
|
263
|
-
|
|
264
|
-
|
|
281
|
+
readonly REG: {
|
|
282
|
+
readonly LIST: "/file-api/v1/client/files";
|
|
283
|
+
readonly STATS: "/file-api/v1/client/files/stats";
|
|
284
|
+
readonly DELETE: (fileId: string) => string;
|
|
285
|
+
};
|
|
265
286
|
};
|
|
266
287
|
readonly AVATAR: {
|
|
267
|
-
readonly
|
|
268
|
-
|
|
288
|
+
readonly REG: {
|
|
289
|
+
readonly UPLOAD: "/file-api/v1/avatar";
|
|
290
|
+
readonly DELETE: (uuid: string) => string;
|
|
291
|
+
};
|
|
269
292
|
};
|
|
270
293
|
readonly AVATAR_S2S: {
|
|
271
294
|
readonly ATTACH: "/file-api/s2s/avatar/attach";
|
|
@@ -273,14 +296,16 @@ export declare const REST_API: {
|
|
|
273
296
|
readonly RELEASE_BY_UUID: "/file-api/s2s/avatar/release-by-uuid";
|
|
274
297
|
};
|
|
275
298
|
readonly CHAT_PROJECT: {
|
|
276
|
-
readonly
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
299
|
+
readonly REG: {
|
|
300
|
+
readonly CREATE: "/api/v1/projects/";
|
|
301
|
+
readonly GET_ALL: "/api/v1/projects/";
|
|
302
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
|
303
|
+
readonly UPDATE: (uuid: string) => string;
|
|
304
|
+
readonly DELETE: (uuid: string) => string;
|
|
305
|
+
readonly GET_CHATS: (uuid: string) => string;
|
|
306
|
+
readonly DELETE_CHATS: (uuid: string) => string;
|
|
307
|
+
readonly ORGANIZE: "/api/v1/projects/organize";
|
|
308
|
+
};
|
|
284
309
|
};
|
|
285
310
|
readonly CHAT: {
|
|
286
311
|
readonly UNREG: {
|
|
@@ -293,11 +318,11 @@ export declare const REST_API: {
|
|
|
293
318
|
readonly GET_BY_ID: (chatId: string) => string;
|
|
294
319
|
readonly DELETE: (chatId: string) => string;
|
|
295
320
|
readonly UPDATE_TITLE: (chatId: string) => string;
|
|
321
|
+
readonly HISTORY: "/api/v1/chat/history";
|
|
322
|
+
readonly SEARCH: "/api/v1/chat/search";
|
|
323
|
+
readonly GENERATING: "/api/v1/chat/generating";
|
|
324
|
+
readonly DELETE_HOMELESS: "/api/v1/chat/homeless";
|
|
296
325
|
};
|
|
297
|
-
readonly HISTORY: "/api/v1/chat/history";
|
|
298
|
-
readonly SEARCH: "/api/v1/chat/search";
|
|
299
|
-
readonly GENERATING: "/api/v1/chat/generating";
|
|
300
|
-
readonly DELETE_HOMELESS: "/api/v1/chat/homeless";
|
|
301
326
|
};
|
|
302
327
|
readonly MESSAGE: {
|
|
303
328
|
readonly UNREG: {
|
|
@@ -331,11 +356,6 @@ export declare const REST_API: {
|
|
|
331
356
|
readonly PREVIEW: "/api/v1/unreg/open-graph";
|
|
332
357
|
};
|
|
333
358
|
};
|
|
334
|
-
readonly VERIFICATION: {
|
|
335
|
-
readonly RESEND: "/api/v1/verification/resend";
|
|
336
|
-
readonly ACTIVE: "/api/v1/verification/active";
|
|
337
|
-
readonly CANCEL: (requestId: string) => string;
|
|
338
|
-
};
|
|
339
359
|
readonly WALLET: {
|
|
340
360
|
readonly REG: {
|
|
341
361
|
readonly BALANCE: "/api/v1/wallet/balance";
|
|
@@ -351,47 +371,57 @@ export declare const REST_API: {
|
|
|
351
371
|
};
|
|
352
372
|
};
|
|
353
373
|
readonly ANALYTICS: {
|
|
354
|
-
readonly
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
374
|
+
readonly REG: {
|
|
375
|
+
readonly SPEND_CHART: "/api/v1/analytics/spend-chart";
|
|
376
|
+
readonly REQUESTS_CHART: "/api/v1/analytics/requests-chart";
|
|
377
|
+
readonly MESSAGES: "/api/v1/analytics/messages";
|
|
378
|
+
readonly MESSAGE_DETAILS: (messageId: string) => string;
|
|
379
|
+
};
|
|
358
380
|
};
|
|
359
381
|
readonly BILLING_ADMIN: {
|
|
360
|
-
readonly
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
382
|
+
readonly ADMIN: {
|
|
383
|
+
readonly MARKUP_TIERS: "/api/v1/admin/billing/markup-tiers";
|
|
384
|
+
readonly MARKUP_TIER_BY_ID: (id: string) => string;
|
|
385
|
+
readonly TRANSACTIONS: "/api/v1/admin/billing/transactions";
|
|
386
|
+
readonly USER_BALANCE: (userId: string) => string;
|
|
387
|
+
};
|
|
364
388
|
};
|
|
365
389
|
readonly DAILY_REWARDS: {
|
|
366
|
-
readonly
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
390
|
+
readonly REG: {
|
|
391
|
+
readonly STATUS: "/api/v1/daily-rewards/status";
|
|
392
|
+
readonly CLAIM: "/api/v1/daily-rewards/claim";
|
|
393
|
+
readonly GRACE: "/api/v1/daily-rewards/grace";
|
|
394
|
+
readonly HISTORY: "/api/v1/daily-rewards/history";
|
|
395
|
+
readonly REWARD_TABLE: "/api/v1/daily-rewards/reward-table";
|
|
396
|
+
};
|
|
371
397
|
readonly UNREG: {
|
|
372
398
|
readonly REWARD_TABLE: "/api/v1/unreg/daily-rewards/reward-table";
|
|
373
399
|
};
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
400
|
+
readonly ADMIN: {
|
|
401
|
+
readonly REWARD_CONFIGS: "/api/v1/admin/daily-rewards/reward-configs";
|
|
402
|
+
readonly REWARD_CONFIG_BY_ID: (id: string) => string;
|
|
403
|
+
};
|
|
378
404
|
};
|
|
379
405
|
readonly TASKS: {
|
|
380
|
-
readonly
|
|
381
|
-
|
|
382
|
-
|
|
406
|
+
readonly REG: {
|
|
407
|
+
readonly LIST: "/api/v1/tasks";
|
|
408
|
+
readonly VERIFY: (taskDefinitionId: string) => string;
|
|
409
|
+
readonly CLAIM: (taskDefinitionId: string) => string;
|
|
410
|
+
};
|
|
383
411
|
readonly UNREG: {
|
|
384
412
|
readonly LIST: "/api/v1/unreg/tasks";
|
|
385
413
|
};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
414
|
+
readonly ADMIN: {
|
|
415
|
+
readonly TASKS: "/api/v1/admin/tasks";
|
|
416
|
+
readonly TASK_BY_ID: (id: string) => string;
|
|
417
|
+
};
|
|
390
418
|
};
|
|
391
419
|
readonly TELEGRAM_AUTH: {
|
|
392
|
-
readonly
|
|
393
|
-
|
|
394
|
-
|
|
420
|
+
readonly PUBLIC: {
|
|
421
|
+
readonly INIT: "/api/v1/auth/telegram/init";
|
|
422
|
+
readonly STATUS: (uuid: string) => string;
|
|
423
|
+
readonly EXCHANGE: "/api/v1/auth/telegram/exchange";
|
|
424
|
+
};
|
|
395
425
|
};
|
|
396
426
|
readonly TELEGRAM_PROFILE: {
|
|
397
427
|
readonly REG: {
|
|
@@ -405,10 +435,12 @@ export declare const REST_API: {
|
|
|
405
435
|
};
|
|
406
436
|
};
|
|
407
437
|
readonly VK_AUTH: {
|
|
408
|
-
readonly
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
438
|
+
readonly PUBLIC: {
|
|
439
|
+
readonly INIT: "/api/v1/auth/vk/init";
|
|
440
|
+
readonly CALLBACK: "/api/v1/auth/vk/callback";
|
|
441
|
+
readonly STATUS: (uuid: string) => string;
|
|
442
|
+
readonly EXCHANGE: "/api/v1/auth/vk/exchange";
|
|
443
|
+
};
|
|
412
444
|
};
|
|
413
445
|
readonly VK_PROFILE: {
|
|
414
446
|
readonly REG: {
|
|
@@ -422,10 +454,12 @@ export declare const REST_API: {
|
|
|
422
454
|
};
|
|
423
455
|
};
|
|
424
456
|
readonly YANDEX_AUTH: {
|
|
425
|
-
readonly
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
457
|
+
readonly PUBLIC: {
|
|
458
|
+
readonly INIT: "/api/v1/auth/yandex/init";
|
|
459
|
+
readonly CALLBACK: "/api/v1/auth/yandex/callback";
|
|
460
|
+
readonly STATUS: (uuid: string) => string;
|
|
461
|
+
readonly EXCHANGE: "/api/v1/auth/yandex/exchange";
|
|
462
|
+
};
|
|
429
463
|
};
|
|
430
464
|
readonly YANDEX_PROFILE: {
|
|
431
465
|
readonly REG: {
|
|
@@ -439,16 +473,59 @@ export declare const REST_API: {
|
|
|
439
473
|
};
|
|
440
474
|
};
|
|
441
475
|
readonly MODEL_ROUTES: {
|
|
442
|
-
readonly
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
476
|
+
readonly ADMIN: {
|
|
477
|
+
readonly CREATE: "/api/v1/admin/model-routes";
|
|
478
|
+
readonly LIST_BY_MODEL: (modelUuid: string) => string;
|
|
479
|
+
readonly GET_BY_UUID: (uuid: string) => string;
|
|
480
|
+
readonly UPDATE: (uuid: string) => string;
|
|
481
|
+
readonly DELETE: (uuid: string) => string;
|
|
482
|
+
};
|
|
447
483
|
};
|
|
448
484
|
readonly ANTIFRAUD_ADMIN: {
|
|
449
|
-
readonly
|
|
450
|
-
|
|
451
|
-
|
|
485
|
+
readonly ADMIN: {
|
|
486
|
+
readonly SETTINGS: "/api/v1/admin/antifraud/settings";
|
|
487
|
+
readonly PRESET: "/api/v1/admin/antifraud/preset";
|
|
488
|
+
readonly HISTORY: "/api/v1/admin/antifraud/history";
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
readonly PLANS: {
|
|
492
|
+
readonly REG: {
|
|
493
|
+
readonly LIST: "/api/v1/plans/list";
|
|
494
|
+
};
|
|
495
|
+
readonly UNREG: {
|
|
496
|
+
readonly LIST: "/api/v1/unreg/plans/list";
|
|
497
|
+
};
|
|
498
|
+
readonly ADMIN: {
|
|
499
|
+
readonly CREATE: "/api/v1/admin/plans";
|
|
500
|
+
readonly UPDATE: (id: string) => string;
|
|
501
|
+
readonly DELETE: (id: string) => string;
|
|
502
|
+
readonly GET_BY_ID: (id: string) => string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
readonly SUBSCRIPTION: {
|
|
506
|
+
readonly REG: {
|
|
507
|
+
readonly ME: "/api/v1/subscription/me";
|
|
508
|
+
readonly CHECKOUT: "/api/v1/subscription/checkout";
|
|
509
|
+
readonly CHANGE: "/api/v1/subscription/change";
|
|
510
|
+
readonly CANCEL: "/api/v1/subscription/cancel";
|
|
511
|
+
readonly UNCANCEL: "/api/v1/subscription/uncancel";
|
|
512
|
+
readonly PACKAGE: "/api/v1/subscription/package";
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
readonly PAYMENT: {
|
|
516
|
+
readonly REG: {
|
|
517
|
+
readonly CHECKOUT_CONFIG: "/api/v1/payment/checkout-config";
|
|
518
|
+
readonly SAVED_METHODS: "/api/v1/payment/saved-methods";
|
|
519
|
+
readonly REVOKE_SAVED_METHOD: (id: string) => string;
|
|
520
|
+
};
|
|
521
|
+
readonly WEBHOOKS: {
|
|
522
|
+
readonly CHECK: "/api/v1/payment/webhooks/check";
|
|
523
|
+
readonly PAY: "/api/v1/payment/webhooks/pay";
|
|
524
|
+
readonly FAIL: "/api/v1/payment/webhooks/fail";
|
|
525
|
+
readonly CONFIRM: "/api/v1/payment/webhooks/confirm";
|
|
526
|
+
readonly REFUND: "/api/v1/payment/webhooks/refund";
|
|
527
|
+
readonly RECURRENT: "/api/v1/payment/webhooks/recurrent";
|
|
528
|
+
};
|
|
452
529
|
};
|
|
453
530
|
};
|
|
454
531
|
readonly S2S: {
|