@abyss-project/main 1.0.9 → 1.0.11

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.
Files changed (283) hide show
  1. package/README.md +1 -1
  2. package/dist/api/application.admin.api.d.ts +8 -8
  3. package/dist/api/application.admin.api.js +35 -35
  4. package/dist/api/application.api.d.ts +7 -7
  5. package/dist/api/application.api.js +31 -31
  6. package/dist/api/auth.api.d.ts +10 -10
  7. package/dist/api/auth.api.js +57 -57
  8. package/dist/api/billing.api.d.ts +4 -4
  9. package/dist/api/billing.api.js +16 -16
  10. package/dist/api/gift-code.admin.api.d.ts +8 -8
  11. package/dist/api/gift-code.admin.api.js +34 -34
  12. package/dist/api/gift-code.api.d.ts +4 -4
  13. package/dist/api/gift-code.api.js +20 -20
  14. package/dist/api/index.d.ts +23 -23
  15. package/dist/api/index.js +39 -39
  16. package/dist/api/metrics.admin.api.d.ts +4 -4
  17. package/dist/api/metrics.admin.api.js +16 -16
  18. package/dist/api/monitor.api.d.ts +2 -2
  19. package/dist/api/monitor.api.js +8 -8
  20. package/dist/api/newsletter.admin.api.d.ts +6 -6
  21. package/dist/api/newsletter.admin.api.js +25 -25
  22. package/dist/api/project-access.admin.api.d.ts +13 -13
  23. package/dist/api/project-access.admin.api.js +52 -52
  24. package/dist/api/project-access.api.d.ts +14 -14
  25. package/dist/api/project-access.api.js +59 -59
  26. package/dist/api/project.admin.api.d.ts +7 -7
  27. package/dist/api/project.admin.api.js +34 -34
  28. package/dist/api/project.api.d.ts +14 -14
  29. package/dist/api/project.api.js +62 -62
  30. package/dist/api/user-credit-purchase.admin.api.d.ts +7 -7
  31. package/dist/api/user-credit-purchase.admin.api.js +28 -28
  32. package/dist/api/user-credit-purchase.api.d.ts +3 -3
  33. package/dist/api/user-credit-purchase.api.js +14 -14
  34. package/dist/api/user-notification.admin.api.d.ts +5 -5
  35. package/dist/api/user-notification.admin.api.js +20 -20
  36. package/dist/api/user-notification.api.d.ts +4 -4
  37. package/dist/api/user-notification.api.js +18 -18
  38. package/dist/api/user-ticket.admin.api.d.ts +11 -11
  39. package/dist/api/user-ticket.admin.api.js +49 -49
  40. package/dist/api/user-ticket.api.d.ts +10 -10
  41. package/dist/api/user-ticket.api.js +45 -45
  42. package/dist/api/user-transaction.admin.api.d.ts +5 -5
  43. package/dist/api/user-transaction.admin.api.js +20 -20
  44. package/dist/api/user-transaction.api.d.ts +3 -3
  45. package/dist/api/user-transaction.api.js +14 -14
  46. package/dist/api/user.admin.api.d.ts +11 -11
  47. package/dist/api/user.admin.api.js +46 -46
  48. package/dist/api/user.api.d.ts +19 -19
  49. package/dist/api/user.api.js +84 -84
  50. package/dist/front/index.d.ts +1 -1
  51. package/dist/front/index.js +17 -17
  52. package/dist/front/redirection.d.ts +2 -2
  53. package/dist/front/redirection.js +5 -5
  54. package/dist/index.d.ts +21 -21
  55. package/dist/index.js +91 -89
  56. package/dist/translate/en.translate.d.ts +182 -182
  57. package/dist/translate/en.translate.js +186 -186
  58. package/dist/translate/fr.translate.d.ts +182 -182
  59. package/dist/translate/fr.translate.js +186 -186
  60. package/dist/translate/index.d.ts +2 -2
  61. package/dist/translate/index.js +18 -18
  62. package/dist/types/enum/abyss-service.enum.d.ts +12 -11
  63. package/dist/types/enum/abyss-service.enum.js +16 -15
  64. package/dist/types/enum/api-error.enum.d.ts +39 -39
  65. package/dist/types/enum/api-error.enum.js +44 -44
  66. package/dist/types/enum/billing-product.enum.d.ts +8 -8
  67. package/dist/types/enum/billing-product.enum.js +12 -12
  68. package/dist/types/enum/gift-code-type.enum.d.ts +3 -3
  69. package/dist/types/enum/gift-code-type.enum.js +7 -7
  70. package/dist/types/enum/index.d.ts +18 -18
  71. package/dist/types/enum/index.js +34 -34
  72. package/dist/types/enum/newsletter-type.enum.d.ts +4 -4
  73. package/dist/types/enum/newsletter-type.enum.js +8 -8
  74. package/dist/types/enum/oauth-account-type.enum.d.ts +3 -3
  75. package/dist/types/enum/oauth-account-type.enum.js +7 -7
  76. package/dist/types/enum/project-access-permission.enum.d.ts +13 -13
  77. package/dist/types/enum/project-access-permission.enum.js +17 -17
  78. package/dist/types/enum/project-application-access-permission.enum.d.ts +38 -38
  79. package/dist/types/enum/project-application-access-permission.enum.js +42 -42
  80. package/dist/types/enum/subscription-level.enum.d.ts +55 -55
  81. package/dist/types/enum/subscription-level.enum.js +128 -128
  82. package/dist/types/enum/token-type.enum.d.ts +5 -5
  83. package/dist/types/enum/token-type.enum.js +9 -9
  84. package/dist/types/enum/user-credit-purchase-currency.enum.d.ts +5 -5
  85. package/dist/types/enum/user-credit-purchase-currency.enum.js +9 -9
  86. package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +3 -3
  87. package/dist/types/enum/user-credit-purchase-payment-method.enum.js +7 -7
  88. package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +8 -8
  89. package/dist/types/enum/user-credit-purchase-platform.enum.js +12 -12
  90. package/dist/types/enum/user-language.enum.d.ts +4 -4
  91. package/dist/types/enum/user-language.enum.js +8 -8
  92. package/dist/types/enum/user-notification-content-type.enum.d.ts +286 -286
  93. package/dist/types/enum/user-notification-content-type.enum.js +51 -51
  94. package/dist/types/enum/user-notification-type.enum.d.ts +6 -6
  95. package/dist/types/enum/user-notification-type.enum.js +10 -10
  96. package/dist/types/enum/user-ticket-category.enum.d.ts +9 -9
  97. package/dist/types/enum/user-ticket-category.enum.js +13 -13
  98. package/dist/types/enum/user-transaction-type.enum.d.ts +14 -14
  99. package/dist/types/enum/user-transaction-type.enum.js +18 -18
  100. package/dist/types/index.d.ts +9 -9
  101. package/dist/types/index.js +21 -21
  102. package/dist/types/interface/api/index.d.ts +48 -48
  103. package/dist/types/interface/api/index.js +64 -64
  104. package/dist/types/interface/api/requests/application.admin.request.d.ts +36 -36
  105. package/dist/types/interface/api/requests/application.admin.request.js +2 -2
  106. package/dist/types/interface/api/requests/application.request.d.ts +34 -34
  107. package/dist/types/interface/api/requests/application.request.js +2 -2
  108. package/dist/types/interface/api/requests/auth.request.d.ts +40 -40
  109. package/dist/types/interface/api/requests/auth.request.js +2 -2
  110. package/dist/types/interface/api/requests/billing.request.d.ts +9 -9
  111. package/dist/types/interface/api/requests/billing.request.js +2 -2
  112. package/dist/types/interface/api/requests/gift-code.admin.request.d.ts +53 -53
  113. package/dist/types/interface/api/requests/gift-code.admin.request.js +2 -2
  114. package/dist/types/interface/api/requests/gift-code.request.d.ts +12 -12
  115. package/dist/types/interface/api/requests/gift-code.request.js +2 -2
  116. package/dist/types/interface/api/requests/newsletter.admin.request.d.ts +21 -21
  117. package/dist/types/interface/api/requests/newsletter.admin.request.js +2 -2
  118. package/dist/types/interface/api/requests/project-access.admin.request.d.ts +80 -80
  119. package/dist/types/interface/api/requests/project-access.admin.request.js +2 -2
  120. package/dist/types/interface/api/requests/project-access.request.d.ts +78 -78
  121. package/dist/types/interface/api/requests/project-access.request.js +2 -2
  122. package/dist/types/interface/api/requests/project.admin.request.d.ts +32 -32
  123. package/dist/types/interface/api/requests/project.admin.request.js +2 -2
  124. package/dist/types/interface/api/requests/project.request.d.ts +60 -60
  125. package/dist/types/interface/api/requests/project.request.js +2 -2
  126. package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +43 -43
  127. package/dist/types/interface/api/requests/user-credit-purchase.admin.request.js +2 -2
  128. package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +10 -10
  129. package/dist/types/interface/api/requests/user-credit-purchase.request.js +2 -2
  130. package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +27 -27
  131. package/dist/types/interface/api/requests/user-notification.admin.request.js +2 -2
  132. package/dist/types/interface/api/requests/user-notification.request.d.ts +14 -14
  133. package/dist/types/interface/api/requests/user-notification.request.js +2 -2
  134. package/dist/types/interface/api/requests/user-ticket.admin.request.d.ts +61 -61
  135. package/dist/types/interface/api/requests/user-ticket.admin.request.js +2 -2
  136. package/dist/types/interface/api/requests/user-ticket.request.d.ts +50 -50
  137. package/dist/types/interface/api/requests/user-ticket.request.js +2 -2
  138. package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +31 -31
  139. package/dist/types/interface/api/requests/user-transaction.admin.request.js +2 -2
  140. package/dist/types/interface/api/requests/user-transaction.request.d.ts +8 -8
  141. package/dist/types/interface/api/requests/user-transaction.request.js +2 -2
  142. package/dist/types/interface/api/requests/user.admin.request.d.ts +53 -53
  143. package/dist/types/interface/api/requests/user.admin.request.js +2 -2
  144. package/dist/types/interface/api/requests/user.request.d.ts +85 -85
  145. package/dist/types/interface/api/requests/user.request.js +2 -2
  146. package/dist/types/interface/api/responses/application.admin.response.d.ts +28 -28
  147. package/dist/types/interface/api/responses/application.admin.response.js +2 -2
  148. package/dist/types/interface/api/responses/application.response.d.ts +25 -25
  149. package/dist/types/interface/api/responses/application.response.js +2 -2
  150. package/dist/types/interface/api/responses/auth.response.d.ts +42 -42
  151. package/dist/types/interface/api/responses/auth.response.js +2 -2
  152. package/dist/types/interface/api/responses/billing.response.d.ts +18 -18
  153. package/dist/types/interface/api/responses/billing.response.js +2 -2
  154. package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +25 -25
  155. package/dist/types/interface/api/responses/gift-code.admin.response.js +2 -2
  156. package/dist/types/interface/api/responses/gift-code.response.d.ts +12 -12
  157. package/dist/types/interface/api/responses/gift-code.response.js +2 -2
  158. package/dist/types/interface/api/responses/metrics.admin.response.d.ts +40 -40
  159. package/dist/types/interface/api/responses/metrics.admin.response.js +2 -2
  160. package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
  161. package/dist/types/interface/api/responses/monitor.response.js +2 -2
  162. package/dist/types/interface/api/responses/newsletter.admin.response.d.ts +17 -17
  163. package/dist/types/interface/api/responses/newsletter.admin.response.js +2 -2
  164. package/dist/types/interface/api/responses/project-access.admin.response.d.ts +51 -51
  165. package/dist/types/interface/api/responses/project-access.admin.response.js +2 -2
  166. package/dist/types/interface/api/responses/project-access.response.d.ts +49 -49
  167. package/dist/types/interface/api/responses/project-access.response.js +2 -2
  168. package/dist/types/interface/api/responses/project.admin.response.d.ts +54 -54
  169. package/dist/types/interface/api/responses/project.admin.response.js +2 -2
  170. package/dist/types/interface/api/responses/project.response.d.ts +94 -94
  171. package/dist/types/interface/api/responses/project.response.js +2 -2
  172. package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +22 -22
  173. package/dist/types/interface/api/responses/user-credit-purchase.admin.response.js +2 -2
  174. package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +8 -8
  175. package/dist/types/interface/api/responses/user-credit-purchase.response.js +2 -2
  176. package/dist/types/interface/api/responses/user-notification.admin.response.d.ts +19 -19
  177. package/dist/types/interface/api/responses/user-notification.admin.response.js +2 -2
  178. package/dist/types/interface/api/responses/user-notification.response.d.ts +13 -13
  179. package/dist/types/interface/api/responses/user-notification.response.js +2 -2
  180. package/dist/types/interface/api/responses/user-ticket.admin.response.d.ts +38 -38
  181. package/dist/types/interface/api/responses/user-ticket.admin.response.js +2 -2
  182. package/dist/types/interface/api/responses/user-ticket.response.d.ts +34 -34
  183. package/dist/types/interface/api/responses/user-ticket.response.js +2 -2
  184. package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +13 -13
  185. package/dist/types/interface/api/responses/user-transaction.admin.response.js +2 -2
  186. package/dist/types/interface/api/responses/user-transaction.response.d.ts +11 -11
  187. package/dist/types/interface/api/responses/user-transaction.response.js +2 -2
  188. package/dist/types/interface/api/responses/user.admin.response.d.ts +45 -45
  189. package/dist/types/interface/api/responses/user.admin.response.js +2 -2
  190. package/dist/types/interface/api/responses/user.response.d.ts +85 -85
  191. package/dist/types/interface/api/responses/user.response.js +2 -2
  192. package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
  193. package/dist/types/interface/api/type-message/api-error.js +2 -2
  194. package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
  195. package/dist/types/interface/api/type-message/base-order.js +2 -2
  196. package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
  197. package/dist/types/interface/api/type-message/base-paginate.js +2 -2
  198. package/dist/types/interface/api/type-message/response.d.ts +5 -5
  199. package/dist/types/interface/api/type-message/response.js +2 -2
  200. package/dist/types/interface/index.d.ts +21 -21
  201. package/dist/types/interface/index.js +37 -37
  202. package/dist/types/interface/models/application.model.d.ts +14 -14
  203. package/dist/types/interface/models/application.model.js +2 -2
  204. package/dist/types/interface/models/gift-code-activation.model.d.ts +13 -13
  205. package/dist/types/interface/models/gift-code-activation.model.js +2 -2
  206. package/dist/types/interface/models/gift-code.model.d.ts +18 -18
  207. package/dist/types/interface/models/gift-code.model.js +2 -2
  208. package/dist/types/interface/models/newsletter-history.model.d.ts +8 -8
  209. package/dist/types/interface/models/newsletter-history.model.js +2 -2
  210. package/dist/types/interface/models/newsletter-member.model.d.ts +7 -7
  211. package/dist/types/interface/models/newsletter-member.model.js +2 -2
  212. package/dist/types/interface/models/oauth-account.model.d.ts +17 -17
  213. package/dist/types/interface/models/oauth-account.model.js +2 -2
  214. package/dist/types/interface/models/project-access.model.d.ts +19 -19
  215. package/dist/types/interface/models/project-access.model.js +2 -2
  216. package/dist/types/interface/models/project-application-access.model.d.ts +13 -13
  217. package/dist/types/interface/models/project-application-access.model.js +2 -2
  218. package/dist/types/interface/models/project-authentication-session.model.d.ts +10 -10
  219. package/dist/types/interface/models/project-authentication-session.model.js +2 -2
  220. package/dist/types/interface/models/project-authentication.model.d.ts +10 -10
  221. package/dist/types/interface/models/project-authentication.model.js +2 -2
  222. package/dist/types/interface/models/project.model.d.ts +20 -20
  223. package/dist/types/interface/models/project.model.js +2 -2
  224. package/dist/types/interface/models/subscription.model.d.ts +16 -16
  225. package/dist/types/interface/models/subscription.model.js +2 -2
  226. package/dist/types/interface/models/token-history.model.d.ts +44 -44
  227. package/dist/types/interface/models/token-history.model.js +2 -2
  228. package/dist/types/interface/models/user-credit-purchase.model.d.ts +22 -22
  229. package/dist/types/interface/models/user-credit-purchase.model.js +2 -2
  230. package/dist/types/interface/models/user-notification.model.d.ts +14 -14
  231. package/dist/types/interface/models/user-notification.model.js +2 -2
  232. package/dist/types/interface/models/user-ticket-message-attachment.model.d.ts +14 -14
  233. package/dist/types/interface/models/user-ticket-message-attachment.model.js +2 -2
  234. package/dist/types/interface/models/user-ticket-message.model.d.ts +14 -14
  235. package/dist/types/interface/models/user-ticket-message.model.js +2 -2
  236. package/dist/types/interface/models/user-ticket.model.d.ts +15 -15
  237. package/dist/types/interface/models/user-ticket.model.js +2 -2
  238. package/dist/types/interface/models/user-transaction.model.d.ts +19 -19
  239. package/dist/types/interface/models/user-transaction.model.js +2 -2
  240. package/dist/types/interface/models/user.model.d.ts +34 -34
  241. package/dist/types/interface/models/user.model.js +2 -2
  242. package/dist/types/models/index.d.ts +1 -1
  243. package/dist/types/models/index.js +17 -17
  244. package/dist/types/models/transfer.model.d.ts +36 -36
  245. package/dist/types/models/transfer.model.js +73 -73
  246. package/dist/types/session.d.ts +26 -26
  247. package/dist/types/session.js +2 -2
  248. package/dist/types/utils/billing.util.d.ts +2 -2
  249. package/dist/types/utils/billing.util.js +33 -33
  250. package/dist/types/utils/convert-query.util.d.ts +2 -2
  251. package/dist/types/utils/convert-query.util.js +2 -2
  252. package/dist/types/utils/index.d.ts +6 -6
  253. package/dist/types/utils/index.js +21 -21
  254. package/dist/types/utils/notifications.type-util.d.ts +8 -8
  255. package/dist/types/utils/notifications.type-util.js +2 -2
  256. package/dist/types/utils/overwrite.util.d.ts +9 -9
  257. package/dist/types/utils/overwrite.util.js +2 -2
  258. package/dist/types/utils/require-one.util.d.ts +6 -6
  259. package/dist/types/utils/require-one.util.js +2 -2
  260. package/dist/utils/array.utils.d.ts +1 -1
  261. package/dist/utils/array.utils.js +7 -7
  262. package/dist/utils/byte.utils.d.ts +2 -2
  263. package/dist/utils/byte.utils.js +71 -71
  264. package/dist/utils/duration.utils.d.ts +1 -1
  265. package/dist/utils/duration.utils.js +10 -10
  266. package/dist/utils/enum-to-array.utils.d.ts +2 -2
  267. package/dist/utils/enum-to-array.utils.js +14 -14
  268. package/dist/utils/error.utils.d.ts +15 -15
  269. package/dist/utils/error.utils.js +24 -24
  270. package/dist/utils/import.utils.d.ts +1 -1
  271. package/dist/utils/import.utils.js +7 -7
  272. package/dist/utils/index.d.ts +9 -9
  273. package/dist/utils/index.js +25 -25
  274. package/dist/utils/is-valid-object.utils.d.ts +1 -1
  275. package/dist/utils/is-valid-object.utils.js +12 -12
  276. package/dist/utils/notification.utils.d.ts +3 -3
  277. package/dist/utils/notification.utils.js +11 -11
  278. package/dist/utils/sleep.utils.d.ts +1 -1
  279. package/dist/utils/sleep.utils.js +9 -9
  280. package/dist/utils/subscription.utils.d.ts +6 -6
  281. package/dist/utils/subscription.utils.js +41 -41
  282. package/package.json +5 -5
  283. package/tsconfig.json +105 -105
@@ -1,286 +1,286 @@
1
- export declare enum UserNotificationContentType {
2
- USER_CREDIT_PURCHASE = "user-credit-purchase",
3
- USER_TICKET_RESPONSE = "user-ticket-response",
4
- INVITE_USER_PROJECT = "invite-user-project",
5
- PROJECT_SET_OWNERSHIP = "project-set-ownership",
6
- USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED = "user-subscription-no-funds-auto-renew-disabled",
7
- USER_SUBSCRIPTION_EXPIRATION = "user-subscription-expiration",
8
- USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW = "user-subscription-expiration-without-auto-renew",
9
- USER_SUBSCRIPTION_RENEW_SUCCESS = "user-subscription-renew-success",
10
- USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "user-subscription-auto-renew-success",
11
- USER_SUBSCRIPTION_CREATE = "user-subscription-create",
12
- USER_SUBSCRIPTION_AUTO_RENEW_ENABLED = "user-subscription-auto-renew-enabled",
13
- USER_SUBSCRIPTION_AUTO_RENEW_DISABLED = "user-subscription-auto-renew-disabled",
14
- USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "user-subscription-create-without-auto-renew",
15
- PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED = "project-subscription-auto-renew-enabled",
16
- PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED = "project-subscription-auto-renew-disabled",
17
- PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED = "project-subscription-no-funds-auto-renew-disabled",
18
- PROJECT_SUBSCRIPTION_EXPIRATION = "project-subscription-expiration",
19
- PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW = "project-subscription-expiration-without-auto-renew",
20
- PROJECT_SUBSCRIPTION_RENEW_SUCCESS = "project-subscription-renew-success",
21
- PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "project-subscription-auto-renew-success",
22
- PROJECT_SUBSCRIPTION_CREATE = "project-subscription-create",
23
- PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "project-subscription-create-without-auto-renew",
24
- CREATE_CLOUD_SHARE = "create-cloud-share",
25
- DELETE_CLOUD_SHARE = "delete-cloud-share",
26
- CREATE_CLOUD = "create-cloud",
27
- DELETE_CLOUD = "delete-cloud",
28
- JOIN_CLOUD_SHARE = "join-cloud-share",
29
- DECLINE_CLOUD_SHARE = "decline-cloud-share",
30
- LEAVE_CLOUD_SHARE = "leave-cloud-share",
31
- ADMIN_CREATE_CLOUD = "admin-create-cloud",
32
- ADMIN_DELETE_CLOUD = "admin-delete-cloud",
33
- WEBHOOK_UNDELIVERABLE = "webhook-undeliverable",
34
- WEBHOOK_UNDELIVERABLE_DISABLE = "webhook-undeliverable-disable",
35
- CRON_TASK_FAILED = "cron-task-failed",
36
- CRON_TASK_DISABLED = "cron-task-disabled",
37
- INVITE_EVENT = "invite-event",
38
- CHANGE_OWNER_EVENT = "change-owner-event",
39
- CREATE_POLL_EVENT = "create-poll-event",
40
- BANK_CONNECTION_EXPIRE = "bank-connection-expire",
41
- BANK_CONNECTION_SUCCESS = "bank-connection-success",
42
- SPOTLIGHT_PROJECT_NEW_POST = "spotlight-project-new-post"
43
- }
44
- export declare class UserNotificationContentTypeData implements Record<UserNotificationContentType, Record<string, string>> {
45
- [UserNotificationContentType.USER_CREDIT_PURCHASE]: {
46
- amount: string;
47
- };
48
- [UserNotificationContentType.USER_TICKET_RESPONSE]: {
49
- ticketTitle: string;
50
- ticketId: string;
51
- };
52
- [UserNotificationContentType.INVITE_USER_PROJECT]: {
53
- projectId: string;
54
- projectAccessId: string;
55
- projectName: string;
56
- userId: string;
57
- };
58
- [UserNotificationContentType.PROJECT_SET_OWNERSHIP]: {
59
- projectId: string;
60
- projectName: string;
61
- userId: string;
62
- };
63
- [UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
64
- missingCredit: string;
65
- endDate: string;
66
- renewDate: string;
67
- level: string;
68
- };
69
- [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
70
- endDate: string;
71
- level: string;
72
- };
73
- [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
74
- endDate: string;
75
- level: string;
76
- };
77
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
78
- missingCredit: string;
79
- endDate: string;
80
- renewDate: string;
81
- projectId: string;
82
- projectName: string;
83
- level: string;
84
- };
85
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
86
- endDate: string;
87
- projectId: string;
88
- projectName: string;
89
- level: string;
90
- };
91
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
92
- endDate: string;
93
- projectId: string;
94
- projectName: string;
95
- level: string;
96
- };
97
- [UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION]: {
98
- endDate: string;
99
- renewDate: string;
100
- creditPrice: string;
101
- level: string;
102
- };
103
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION]: {
104
- endDate: string;
105
- renewDate: string;
106
- creditPrice: string;
107
- projectId: string;
108
- projectName: string;
109
- level: string;
110
- };
111
- [UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
112
- endDate: string;
113
- renewDate: string;
114
- creditPrice: string;
115
- level: string;
116
- };
117
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
118
- endDate: string;
119
- renewDate: string;
120
- creditPrice: string;
121
- projectId: string;
122
- projectName: string;
123
- level: string;
124
- };
125
- [UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS]: {
126
- newEndDate: string;
127
- renewDate: string;
128
- renewCreditPrice: string;
129
- level: string;
130
- };
131
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS]: {
132
- newEndDate: string;
133
- renewDate: string;
134
- renewCreditPrice: string;
135
- projectId: string;
136
- projectName: string;
137
- level: string;
138
- usernameRenew: string;
139
- };
140
- [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
141
- newEndDate: string;
142
- renewDate: string;
143
- renewCreditPrice: string;
144
- level: string;
145
- };
146
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
147
- newEndDate: string;
148
- renewDate: string;
149
- renewCreditPrice: string;
150
- projectId: string;
151
- projectName: string;
152
- level: string;
153
- usernameRenew: string;
154
- };
155
- [UserNotificationContentType.USER_SUBSCRIPTION_CREATE]: {
156
- endDate: string;
157
- level: string;
158
- creditPrice: string;
159
- };
160
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE]: {
161
- endDate: string;
162
- level: string;
163
- creditPrice: string;
164
- projectId: string;
165
- projectName: string;
166
- usernameRenew: string;
167
- };
168
- [UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
169
- endDate: string;
170
- level: string;
171
- creditPrice: string;
172
- };
173
- [UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
174
- endDate: string;
175
- level: string;
176
- creditPrice: string;
177
- projectId: string;
178
- projectName: string;
179
- usernameRenew: string;
180
- };
181
- [UserNotificationContentType.CREATE_CLOUD_SHARE]: {
182
- cloudName: string;
183
- userId: string;
184
- cloudId: string;
185
- cloudShareId: string;
186
- cloudShareName: string;
187
- };
188
- [UserNotificationContentType.DELETE_CLOUD_SHARE]: {
189
- cloudName: string;
190
- userId: string;
191
- cloudId: string;
192
- cloudShareName: string;
193
- };
194
- [UserNotificationContentType.CREATE_CLOUD]: {
195
- cloudName: string;
196
- cloudId: string;
197
- };
198
- [UserNotificationContentType.DELETE_CLOUD]: {
199
- cloudName: string;
200
- };
201
- [UserNotificationContentType.ADMIN_CREATE_CLOUD]: {
202
- cloudName: string;
203
- cloudId: string;
204
- };
205
- [UserNotificationContentType.ADMIN_DELETE_CLOUD]: {
206
- cloudName: string;
207
- };
208
- [UserNotificationContentType.JOIN_CLOUD_SHARE]: {
209
- userId: string;
210
- cloudName: string;
211
- cloudId: string;
212
- };
213
- [UserNotificationContentType.DECLINE_CLOUD_SHARE]: {
214
- userId: string;
215
- cloudName: string;
216
- cloudId: string;
217
- };
218
- [UserNotificationContentType.LEAVE_CLOUD_SHARE]: {
219
- userId: string;
220
- cloudName: string;
221
- cloudId: string;
222
- };
223
- [UserNotificationContentType.WEBHOOK_UNDELIVERABLE]: {
224
- projectId: string;
225
- applicationId: string;
226
- webhookId: string;
227
- applicationWebhookId: string;
228
- applicationWebhookName: string;
229
- groupId: string;
230
- totalFailureInRow: string;
231
- };
232
- [UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE]: {
233
- projectId: string;
234
- applicationId: string;
235
- webhookId: string;
236
- applicationWebhookId: string;
237
- applicationWebhookName: string;
238
- };
239
- [UserNotificationContentType.CRON_TASK_FAILED]: {
240
- projectId: string;
241
- applicationId: string;
242
- applicationCronTaskId: string;
243
- applicationCronTaskHistoryId: string;
244
- applicationCronTaskName: string;
245
- totalFailureInRow: string;
246
- };
247
- [UserNotificationContentType.CRON_TASK_DISABLED]: {
248
- projectId: string;
249
- applicationId: string;
250
- applicationCronTaskId: string;
251
- applicationCronTaskHistoryId: string;
252
- applicationCronTaskName: string;
253
- };
254
- [UserNotificationContentType.INVITE_EVENT]: {
255
- eventId: string;
256
- eventName: string;
257
- userId: string;
258
- };
259
- [UserNotificationContentType.CHANGE_OWNER_EVENT]: {
260
- eventId: string;
261
- eventName: string;
262
- userId: string;
263
- };
264
- [UserNotificationContentType.CREATE_POLL_EVENT]: {
265
- eventId: string;
266
- eventName: string;
267
- eventPollId: string;
268
- evenPollOwnerId: string;
269
- };
270
- [UserNotificationContentType.BANK_CONNECTION_SUCCESS]: {
271
- bankConnectionId: string;
272
- bankName: string;
273
- logoUrl?: string;
274
- };
275
- [UserNotificationContentType.BANK_CONNECTION_EXPIRE]: {
276
- bankConnectionId: string;
277
- bankName: string;
278
- logoUrl?: string;
279
- };
280
- [UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST]: {
281
- projectId: string;
282
- projectName: string;
283
- postTitle: string;
284
- projectSlug: string;
285
- };
286
- }
1
+ export declare enum UserNotificationContentType {
2
+ USER_CREDIT_PURCHASE = "user-credit-purchase",
3
+ USER_TICKET_RESPONSE = "user-ticket-response",
4
+ INVITE_USER_PROJECT = "invite-user-project",
5
+ PROJECT_SET_OWNERSHIP = "project-set-ownership",
6
+ USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED = "user-subscription-no-funds-auto-renew-disabled",
7
+ USER_SUBSCRIPTION_EXPIRATION = "user-subscription-expiration",
8
+ USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW = "user-subscription-expiration-without-auto-renew",
9
+ USER_SUBSCRIPTION_RENEW_SUCCESS = "user-subscription-renew-success",
10
+ USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "user-subscription-auto-renew-success",
11
+ USER_SUBSCRIPTION_CREATE = "user-subscription-create",
12
+ USER_SUBSCRIPTION_AUTO_RENEW_ENABLED = "user-subscription-auto-renew-enabled",
13
+ USER_SUBSCRIPTION_AUTO_RENEW_DISABLED = "user-subscription-auto-renew-disabled",
14
+ USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "user-subscription-create-without-auto-renew",
15
+ PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED = "project-subscription-auto-renew-enabled",
16
+ PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED = "project-subscription-auto-renew-disabled",
17
+ PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED = "project-subscription-no-funds-auto-renew-disabled",
18
+ PROJECT_SUBSCRIPTION_EXPIRATION = "project-subscription-expiration",
19
+ PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW = "project-subscription-expiration-without-auto-renew",
20
+ PROJECT_SUBSCRIPTION_RENEW_SUCCESS = "project-subscription-renew-success",
21
+ PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "project-subscription-auto-renew-success",
22
+ PROJECT_SUBSCRIPTION_CREATE = "project-subscription-create",
23
+ PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "project-subscription-create-without-auto-renew",
24
+ CREATE_CLOUD_SHARE = "create-cloud-share",
25
+ DELETE_CLOUD_SHARE = "delete-cloud-share",
26
+ CREATE_CLOUD = "create-cloud",
27
+ DELETE_CLOUD = "delete-cloud",
28
+ JOIN_CLOUD_SHARE = "join-cloud-share",
29
+ DECLINE_CLOUD_SHARE = "decline-cloud-share",
30
+ LEAVE_CLOUD_SHARE = "leave-cloud-share",
31
+ ADMIN_CREATE_CLOUD = "admin-create-cloud",
32
+ ADMIN_DELETE_CLOUD = "admin-delete-cloud",
33
+ WEBHOOK_UNDELIVERABLE = "webhook-undeliverable",
34
+ WEBHOOK_UNDELIVERABLE_DISABLE = "webhook-undeliverable-disable",
35
+ CRON_TASK_FAILED = "cron-task-failed",
36
+ CRON_TASK_DISABLED = "cron-task-disabled",
37
+ INVITE_EVENT = "invite-event",
38
+ CHANGE_OWNER_EVENT = "change-owner-event",
39
+ CREATE_POLL_EVENT = "create-poll-event",
40
+ BANK_CONNECTION_EXPIRE = "bank-connection-expire",
41
+ BANK_CONNECTION_SUCCESS = "bank-connection-success",
42
+ SPOTLIGHT_PROJECT_NEW_POST = "spotlight-project-new-post"
43
+ }
44
+ export declare class UserNotificationContentTypeData implements Record<UserNotificationContentType, Record<string, string>> {
45
+ [UserNotificationContentType.USER_CREDIT_PURCHASE]: {
46
+ amount: string;
47
+ };
48
+ [UserNotificationContentType.USER_TICKET_RESPONSE]: {
49
+ ticketTitle: string;
50
+ ticketId: string;
51
+ };
52
+ [UserNotificationContentType.INVITE_USER_PROJECT]: {
53
+ projectId: string;
54
+ projectAccessId: string;
55
+ projectName: string;
56
+ userId: string;
57
+ };
58
+ [UserNotificationContentType.PROJECT_SET_OWNERSHIP]: {
59
+ projectId: string;
60
+ projectName: string;
61
+ userId: string;
62
+ };
63
+ [UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
64
+ missingCredit: string;
65
+ endDate: string;
66
+ renewDate: string;
67
+ level: string;
68
+ };
69
+ [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
70
+ endDate: string;
71
+ level: string;
72
+ };
73
+ [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
74
+ endDate: string;
75
+ level: string;
76
+ };
77
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
78
+ missingCredit: string;
79
+ endDate: string;
80
+ renewDate: string;
81
+ projectId: string;
82
+ projectName: string;
83
+ level: string;
84
+ };
85
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
86
+ endDate: string;
87
+ projectId: string;
88
+ projectName: string;
89
+ level: string;
90
+ };
91
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
92
+ endDate: string;
93
+ projectId: string;
94
+ projectName: string;
95
+ level: string;
96
+ };
97
+ [UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION]: {
98
+ endDate: string;
99
+ renewDate: string;
100
+ creditPrice: string;
101
+ level: string;
102
+ };
103
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION]: {
104
+ endDate: string;
105
+ renewDate: string;
106
+ creditPrice: string;
107
+ projectId: string;
108
+ projectName: string;
109
+ level: string;
110
+ };
111
+ [UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
112
+ endDate: string;
113
+ renewDate: string;
114
+ creditPrice: string;
115
+ level: string;
116
+ };
117
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
118
+ endDate: string;
119
+ renewDate: string;
120
+ creditPrice: string;
121
+ projectId: string;
122
+ projectName: string;
123
+ level: string;
124
+ };
125
+ [UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS]: {
126
+ newEndDate: string;
127
+ renewDate: string;
128
+ renewCreditPrice: string;
129
+ level: string;
130
+ };
131
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS]: {
132
+ newEndDate: string;
133
+ renewDate: string;
134
+ renewCreditPrice: string;
135
+ projectId: string;
136
+ projectName: string;
137
+ level: string;
138
+ usernameRenew: string;
139
+ };
140
+ [UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
141
+ newEndDate: string;
142
+ renewDate: string;
143
+ renewCreditPrice: string;
144
+ level: string;
145
+ };
146
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
147
+ newEndDate: string;
148
+ renewDate: string;
149
+ renewCreditPrice: string;
150
+ projectId: string;
151
+ projectName: string;
152
+ level: string;
153
+ usernameRenew: string;
154
+ };
155
+ [UserNotificationContentType.USER_SUBSCRIPTION_CREATE]: {
156
+ endDate: string;
157
+ level: string;
158
+ creditPrice: string;
159
+ };
160
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE]: {
161
+ endDate: string;
162
+ level: string;
163
+ creditPrice: string;
164
+ projectId: string;
165
+ projectName: string;
166
+ usernameRenew: string;
167
+ };
168
+ [UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
169
+ endDate: string;
170
+ level: string;
171
+ creditPrice: string;
172
+ };
173
+ [UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
174
+ endDate: string;
175
+ level: string;
176
+ creditPrice: string;
177
+ projectId: string;
178
+ projectName: string;
179
+ usernameRenew: string;
180
+ };
181
+ [UserNotificationContentType.CREATE_CLOUD_SHARE]: {
182
+ cloudName: string;
183
+ userId: string;
184
+ cloudId: string;
185
+ cloudShareId: string;
186
+ cloudShareName: string;
187
+ };
188
+ [UserNotificationContentType.DELETE_CLOUD_SHARE]: {
189
+ cloudName: string;
190
+ userId: string;
191
+ cloudId: string;
192
+ cloudShareName: string;
193
+ };
194
+ [UserNotificationContentType.CREATE_CLOUD]: {
195
+ cloudName: string;
196
+ cloudId: string;
197
+ };
198
+ [UserNotificationContentType.DELETE_CLOUD]: {
199
+ cloudName: string;
200
+ };
201
+ [UserNotificationContentType.ADMIN_CREATE_CLOUD]: {
202
+ cloudName: string;
203
+ cloudId: string;
204
+ };
205
+ [UserNotificationContentType.ADMIN_DELETE_CLOUD]: {
206
+ cloudName: string;
207
+ };
208
+ [UserNotificationContentType.JOIN_CLOUD_SHARE]: {
209
+ userId: string;
210
+ cloudName: string;
211
+ cloudId: string;
212
+ };
213
+ [UserNotificationContentType.DECLINE_CLOUD_SHARE]: {
214
+ userId: string;
215
+ cloudName: string;
216
+ cloudId: string;
217
+ };
218
+ [UserNotificationContentType.LEAVE_CLOUD_SHARE]: {
219
+ userId: string;
220
+ cloudName: string;
221
+ cloudId: string;
222
+ };
223
+ [UserNotificationContentType.WEBHOOK_UNDELIVERABLE]: {
224
+ projectId: string;
225
+ applicationId: string;
226
+ webhookId: string;
227
+ applicationWebhookId: string;
228
+ applicationWebhookName: string;
229
+ groupId: string;
230
+ totalFailureInRow: string;
231
+ };
232
+ [UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE]: {
233
+ projectId: string;
234
+ applicationId: string;
235
+ webhookId: string;
236
+ applicationWebhookId: string;
237
+ applicationWebhookName: string;
238
+ };
239
+ [UserNotificationContentType.CRON_TASK_FAILED]: {
240
+ projectId: string;
241
+ applicationId: string;
242
+ applicationCronTaskId: string;
243
+ applicationCronTaskHistoryId: string;
244
+ applicationCronTaskName: string;
245
+ totalFailureInRow: string;
246
+ };
247
+ [UserNotificationContentType.CRON_TASK_DISABLED]: {
248
+ projectId: string;
249
+ applicationId: string;
250
+ applicationCronTaskId: string;
251
+ applicationCronTaskHistoryId: string;
252
+ applicationCronTaskName: string;
253
+ };
254
+ [UserNotificationContentType.INVITE_EVENT]: {
255
+ eventId: string;
256
+ eventName: string;
257
+ userId: string;
258
+ };
259
+ [UserNotificationContentType.CHANGE_OWNER_EVENT]: {
260
+ eventId: string;
261
+ eventName: string;
262
+ userId: string;
263
+ };
264
+ [UserNotificationContentType.CREATE_POLL_EVENT]: {
265
+ eventId: string;
266
+ eventName: string;
267
+ eventPollId: string;
268
+ evenPollOwnerId: string;
269
+ };
270
+ [UserNotificationContentType.BANK_CONNECTION_SUCCESS]: {
271
+ bankConnectionId: string;
272
+ bankName: string;
273
+ logoUrl?: string;
274
+ };
275
+ [UserNotificationContentType.BANK_CONNECTION_EXPIRE]: {
276
+ bankConnectionId: string;
277
+ bankName: string;
278
+ logoUrl?: string;
279
+ };
280
+ [UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST]: {
281
+ projectId: string;
282
+ projectName: string;
283
+ postTitle: string;
284
+ projectSlug: string;
285
+ };
286
+ }