@lukiteam/churos-be-general 0.0.1

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 (201) hide show
  1. package/README.md +1 -0
  2. package/dist/constants/param-key.d.ts +4 -0
  3. package/dist/constants/param-key.js +8 -0
  4. package/dist/constants/param-key.js.map +1 -0
  5. package/dist/constants/rabbitmq.d.ts +9 -0
  6. package/dist/constants/rabbitmq.js +14 -0
  7. package/dist/constants/rabbitmq.js.map +1 -0
  8. package/dist/constants/redis-key.d.ts +12 -0
  9. package/dist/constants/redis-key.js +16 -0
  10. package/dist/constants/redis-key.js.map +1 -0
  11. package/dist/i18n/admin.paths.d.ts +1 -0
  12. package/dist/i18n/admin.paths.js +6 -0
  13. package/dist/i18n/admin.paths.js.map +1 -0
  14. package/dist/i18n/mobile.paths.d.ts +1 -0
  15. package/dist/i18n/mobile.paths.js +6 -0
  16. package/dist/i18n/mobile.paths.js.map +1 -0
  17. package/dist/i18n/notification.paths.d.ts +1 -0
  18. package/dist/i18n/notification.paths.js +6 -0
  19. package/dist/i18n/notification.paths.js.map +1 -0
  20. package/dist/index.d.ts +64 -0
  21. package/dist/index.js +114 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/locales/admin/ar/common.json +60 -0
  24. package/dist/locales/admin/en/common.json +60 -0
  25. package/dist/locales/admin/es/common.json +60 -0
  26. package/dist/locales/admin/fr/common.json +60 -0
  27. package/dist/locales/admin/pt/common.json +60 -0
  28. package/dist/locales/admin/ru/common.json +60 -0
  29. package/dist/locales/admin/tr/common.json +60 -0
  30. package/dist/locales/mobile/ar/common.json +100 -0
  31. package/dist/locales/mobile/en/common.json +99 -0
  32. package/dist/locales/mobile/es/common.json +100 -0
  33. package/dist/locales/mobile/fr/common.json +100 -0
  34. package/dist/locales/mobile/pt/common.json +100 -0
  35. package/dist/locales/mobile/ru/common.json +100 -0
  36. package/dist/locales/mobile/tr/common.json +100 -0
  37. package/dist/locales/notification/ar/common.json +52 -0
  38. package/dist/locales/notification/en/common.json +52 -0
  39. package/dist/locales/notification/es/common.json +52 -0
  40. package/dist/locales/notification/fr/common.json +52 -0
  41. package/dist/locales/notification/pt/common.json +52 -0
  42. package/dist/locales/notification/ru/common.json +52 -0
  43. package/dist/locales/notification/tr/common.json +52 -0
  44. package/dist/models/dto/firebase-object.dto.d.ts +10 -0
  45. package/dist/models/dto/firebase-object.dto.js +10 -0
  46. package/dist/models/dto/firebase-object.dto.js.map +1 -0
  47. package/dist/models/dto/notification-data.dto.d.ts +5 -0
  48. package/dist/models/dto/notification-data.dto.js +3 -0
  49. package/dist/models/dto/notification-data.dto.js.map +1 -0
  50. package/dist/models/dto/notification-object.dto.d.ts +36 -0
  51. package/dist/models/dto/notification-object.dto.js +41 -0
  52. package/dist/models/dto/notification-object.dto.js.map +1 -0
  53. package/dist/models/dto/notification-revoke.dto.d.ts +13 -0
  54. package/dist/models/dto/notification-revoke.dto.js +7 -0
  55. package/dist/models/dto/notification-revoke.dto.js.map +1 -0
  56. package/dist/models/enum/index.d.ts +200 -0
  57. package/dist/models/enum/index.js +252 -0
  58. package/dist/models/enum/index.js.map +1 -0
  59. package/dist/mongo/index.d.ts +86 -0
  60. package/dist/mongo/index.js +86 -0
  61. package/dist/mongo/index.js.map +1 -0
  62. package/dist/mongo/interfaces/repository.interface.d.ts +11 -0
  63. package/dist/mongo/interfaces/repository.interface.js +3 -0
  64. package/dist/mongo/interfaces/repository.interface.js.map +1 -0
  65. package/dist/mongo/repositories/base.repository.d.ts +71 -0
  66. package/dist/mongo/repositories/base.repository.js +247 -0
  67. package/dist/mongo/repositories/base.repository.js.map +1 -0
  68. package/dist/mongo/repositories/repository.factory.d.ts +5 -0
  69. package/dist/mongo/repositories/repository.factory.js +25 -0
  70. package/dist/mongo/repositories/repository.factory.js.map +1 -0
  71. package/dist/mongo/schema/admin/forbidden-word-record.entity.d.ts +35 -0
  72. package/dist/mongo/schema/admin/forbidden-word-record.entity.js +46 -0
  73. package/dist/mongo/schema/admin/forbidden-word-record.entity.js.map +1 -0
  74. package/dist/mongo/schema/admin/member-config.entity.d.ts +42 -0
  75. package/dist/mongo/schema/admin/member-config.entity.js +77 -0
  76. package/dist/mongo/schema/admin/member-config.entity.js.map +1 -0
  77. package/dist/mongo/schema/admin/member-roles.entity.d.ts +33 -0
  78. package/dist/mongo/schema/admin/member-roles.entity.js +38 -0
  79. package/dist/mongo/schema/admin/member-roles.entity.js.map +1 -0
  80. package/dist/mongo/schema/admin/member.entity.d.ts +48 -0
  81. package/dist/mongo/schema/admin/member.entity.js +105 -0
  82. package/dist/mongo/schema/admin/member.entity.js.map +1 -0
  83. package/dist/mongo/schema/admin/rights.entity.d.ts +33 -0
  84. package/dist/mongo/schema/admin/rights.entity.js +37 -0
  85. package/dist/mongo/schema/admin/rights.entity.js.map +1 -0
  86. package/dist/mongo/schema/admin/roles-rights.entity.d.ts +33 -0
  87. package/dist/mongo/schema/admin/roles-rights.entity.js +38 -0
  88. package/dist/mongo/schema/admin/roles-rights.entity.js.map +1 -0
  89. package/dist/mongo/schema/admin/roles.entity.d.ts +32 -0
  90. package/dist/mongo/schema/admin/roles.entity.js +33 -0
  91. package/dist/mongo/schema/admin/roles.entity.js.map +1 -0
  92. package/dist/mongo/schema/mobile/forbidden-word.entity.d.ts +33 -0
  93. package/dist/mongo/schema/mobile/forbidden-word.entity.js +40 -0
  94. package/dist/mongo/schema/mobile/forbidden-word.entity.js.map +1 -0
  95. package/dist/mongo/schema/mobile/member-cache.entity.d.ts +57 -0
  96. package/dist/mongo/schema/mobile/member-cache.entity.js +137 -0
  97. package/dist/mongo/schema/mobile/member-cache.entity.js.map +1 -0
  98. package/dist/mongo/schema/mobile/member-config.entity.d.ts +49 -0
  99. package/dist/mongo/schema/mobile/member-config.entity.js +105 -0
  100. package/dist/mongo/schema/mobile/member-config.entity.js.map +1 -0
  101. package/dist/mongo/schema/mobile/member-view.entity.d.ts +36 -0
  102. package/dist/mongo/schema/mobile/member-view.entity.js +56 -0
  103. package/dist/mongo/schema/mobile/member-view.entity.js.map +1 -0
  104. package/dist/mongo/schema/mobile/spend-log.entity.d.ts +35 -0
  105. package/dist/mongo/schema/mobile/spend-log.entity.js +45 -0
  106. package/dist/mongo/schema/mobile/spend-log.entity.js.map +1 -0
  107. package/dist/mongo/schema/mobile/view-data.entity.d.ts +36 -0
  108. package/dist/mongo/schema/mobile/view-data.entity.js +50 -0
  109. package/dist/mongo/schema/mobile/view-data.entity.js.map +1 -0
  110. package/dist/mongo/schema/notification/contents.entity.d.ts +32 -0
  111. package/dist/mongo/schema/notification/contents.entity.js +36 -0
  112. package/dist/mongo/schema/notification/contents.entity.js.map +1 -0
  113. package/dist/mongo/schema/notification/defined-texts.entity.d.ts +33 -0
  114. package/dist/mongo/schema/notification/defined-texts.entity.js +37 -0
  115. package/dist/mongo/schema/notification/defined-texts.entity.js.map +1 -0
  116. package/dist/mongo/schema/notification/filter.dto.d.ts +6 -0
  117. package/dist/mongo/schema/notification/filter.dto.js +7 -0
  118. package/dist/mongo/schema/notification/filter.dto.js.map +1 -0
  119. package/dist/mongo/schema/notification/member-notification.entity.d.ts +55 -0
  120. package/dist/mongo/schema/notification/member-notification.entity.js +91 -0
  121. package/dist/mongo/schema/notification/member-notification.entity.js.map +1 -0
  122. package/dist/mongo/schema/notification/notification.entity.d.ts +44 -0
  123. package/dist/mongo/schema/notification/notification.entity.js +73 -0
  124. package/dist/mongo/schema/notification/notification.entity.js.map +1 -0
  125. package/dist/mongo/schema/system-log.entity.d.ts +37 -0
  126. package/dist/mongo/schema/system-log.entity.js +53 -0
  127. package/dist/mongo/schema/system-log.entity.js.map +1 -0
  128. package/dist/mongo/unit-of-work/unit-of-work.interface.d.ts +7 -0
  129. package/dist/mongo/unit-of-work/unit-of-work.interface.js +3 -0
  130. package/dist/mongo/unit-of-work/unit-of-work.interface.js.map +1 -0
  131. package/dist/mongo/unit-of-work/unit-of-work.module.d.ts +2 -0
  132. package/dist/mongo/unit-of-work/unit-of-work.module.js +29 -0
  133. package/dist/mongo/unit-of-work/unit-of-work.module.js.map +1 -0
  134. package/dist/mongo/unit-of-work/unit-of-work.service.d.ts +19 -0
  135. package/dist/mongo/unit-of-work/unit-of-work.service.js +104 -0
  136. package/dist/mongo/unit-of-work/unit-of-work.service.js.map +1 -0
  137. package/dist/postgresql/entity/blocked-phone.entity.d.ts +9 -0
  138. package/dist/postgresql/entity/blocked-phone.entity.js +44 -0
  139. package/dist/postgresql/entity/blocked-phone.entity.js.map +1 -0
  140. package/dist/postgresql/entity/feedback-and-complaint.entity.d.ts +14 -0
  141. package/dist/postgresql/entity/feedback-and-complaint.entity.js +64 -0
  142. package/dist/postgresql/entity/feedback-and-complaint.entity.js.map +1 -0
  143. package/dist/postgresql/entity/member-blocked.entity.d.ts +11 -0
  144. package/dist/postgresql/entity/member-blocked.entity.js +58 -0
  145. package/dist/postgresql/entity/member-blocked.entity.js.map +1 -0
  146. package/dist/postgresql/entity/member-config.entity.d.ts +16 -0
  147. package/dist/postgresql/entity/member-config.entity.js +79 -0
  148. package/dist/postgresql/entity/member-config.entity.js.map +1 -0
  149. package/dist/postgresql/entity/member-connections.entity.d.ts +7 -0
  150. package/dist/postgresql/entity/member-connections.entity.js +39 -0
  151. package/dist/postgresql/entity/member-connections.entity.js.map +1 -0
  152. package/dist/postgresql/entity/member-liked.entity.d.ts +9 -0
  153. package/dist/postgresql/entity/member-liked.entity.js +50 -0
  154. package/dist/postgresql/entity/member-liked.entity.js.map +1 -0
  155. package/dist/postgresql/entity/member-subscription.entity.d.ts +12 -0
  156. package/dist/postgresql/entity/member-subscription.entity.js +64 -0
  157. package/dist/postgresql/entity/member-subscription.entity.js.map +1 -0
  158. package/dist/postgresql/entity/member-verification.entity.d.ts +8 -0
  159. package/dist/postgresql/entity/member-verification.entity.js +42 -0
  160. package/dist/postgresql/entity/member-verification.entity.js.map +1 -0
  161. package/dist/postgresql/entity/member.entity.d.ts +36 -0
  162. package/dist/postgresql/entity/member.entity.js +161 -0
  163. package/dist/postgresql/entity/member.entity.js.map +1 -0
  164. package/dist/postgresql/entity/message.entity.d.ts +13 -0
  165. package/dist/postgresql/entity/message.entity.js +73 -0
  166. package/dist/postgresql/entity/message.entity.js.map +1 -0
  167. package/dist/postgresql/entity/mission.entity.d.ts +12 -0
  168. package/dist/postgresql/entity/mission.entity.js +60 -0
  169. package/dist/postgresql/entity/mission.entity.js.map +1 -0
  170. package/dist/postgresql/entity/notification.entity.d.ts +8 -0
  171. package/dist/postgresql/entity/notification.entity.js +42 -0
  172. package/dist/postgresql/entity/notification.entity.js.map +1 -0
  173. package/dist/postgresql/entity/payment.entity.d.ts +14 -0
  174. package/dist/postgresql/entity/payment.entity.js +96 -0
  175. package/dist/postgresql/entity/payment.entity.js.map +1 -0
  176. package/dist/postgresql/entity/product-purchase.entity.d.ts +12 -0
  177. package/dist/postgresql/entity/product-purchase.entity.js +54 -0
  178. package/dist/postgresql/entity/product-purchase.entity.js.map +1 -0
  179. package/dist/postgresql/entity/purchase.entity.d.ts +15 -0
  180. package/dist/postgresql/entity/purchase.entity.js +73 -0
  181. package/dist/postgresql/entity/purchase.entity.js.map +1 -0
  182. package/dist/postgresql/entity/swipe-countries.entity.d.ts +8 -0
  183. package/dist/postgresql/entity/swipe-countries.entity.js +36 -0
  184. package/dist/postgresql/entity/swipe-countries.entity.js.map +1 -0
  185. package/dist/postgresql/entity/system-logs.entity.d.ts +12 -0
  186. package/dist/postgresql/entity/system-logs.entity.js +74 -0
  187. package/dist/postgresql/entity/system-logs.entity.js.map +1 -0
  188. package/dist/postgresql/entity/system-settings.entity.d.ts +8 -0
  189. package/dist/postgresql/entity/system-settings.entity.js +38 -0
  190. package/dist/postgresql/entity/system-settings.entity.js.map +1 -0
  191. package/dist/postgresql/entity/wallet-detail.entity.d.ts +10 -0
  192. package/dist/postgresql/entity/wallet-detail.entity.js +50 -0
  193. package/dist/postgresql/entity/wallet-detail.entity.js.map +1 -0
  194. package/dist/postgresql/entity/wallet.entity.d.ts +11 -0
  195. package/dist/postgresql/entity/wallet.entity.js +56 -0
  196. package/dist/postgresql/entity/wallet.entity.js.map +1 -0
  197. package/dist/postgresql/index.d.ts +19 -0
  198. package/dist/postgresql/index.js +36 -0
  199. package/dist/postgresql/index.js.map +1 -0
  200. package/dist/tsconfig.tsbuildinfo +1 -0
  201. package/package.json +43 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # churos-be-general
@@ -0,0 +1,4 @@
1
+ export declare const DEEPLINK: {
2
+ MESSAGE_SCREEN: (id: number) => string;
3
+ OTHER_PROFILE: (id: number) => string;
4
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEEPLINK = void 0;
4
+ exports.DEEPLINK = {
5
+ MESSAGE_SCREEN: (id) => `churosapp://messagescreen/${id}`,
6
+ OTHER_PROFILE: (id) => `churosapp://otherprofile/${id}`,
7
+ };
8
+ //# sourceMappingURL=param-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"param-key.js","sourceRoot":"","sources":["../../src/constants/param-key.ts"],"names":[],"mappings":";;;AACa,QAAA,QAAQ,GAAG;IACpB,cAAc,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,6BAA6B,EAAE,EAAE;IACjE,aAAa,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,4BAA4B,EAAE,EAAE;CAClE,CAAA"}
@@ -0,0 +1,9 @@
1
+ export declare enum IRabbitTopics {
2
+ like_operation = "like_operation",
3
+ send_notification = "send_notification",
4
+ send_general_notification = "send_general_notification",
5
+ elk_operation = "elk_operation",
6
+ member_login = "member_login",
7
+ member_remove = "member_remove",
8
+ notification_revoke_operation = "notification_revoke_operation"
9
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IRabbitTopics = void 0;
4
+ var IRabbitTopics;
5
+ (function (IRabbitTopics) {
6
+ IRabbitTopics["like_operation"] = "like_operation";
7
+ IRabbitTopics["send_notification"] = "send_notification";
8
+ IRabbitTopics["send_general_notification"] = "send_general_notification";
9
+ IRabbitTopics["elk_operation"] = "elk_operation";
10
+ IRabbitTopics["member_login"] = "member_login";
11
+ IRabbitTopics["member_remove"] = "member_remove";
12
+ IRabbitTopics["notification_revoke_operation"] = "notification_revoke_operation";
13
+ })(IRabbitTopics = exports.IRabbitTopics || (exports.IRabbitTopics = {}));
14
+ //# sourceMappingURL=rabbitmq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rabbitmq.js","sourceRoot":"","sources":["../../src/constants/rabbitmq.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAQX;AARD,WAAY,aAAa;IACrB,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;IACvC,wEAAuD,CAAA;IACvD,gDAA+B,CAAA;IAC/B,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,gFAA+D,CAAA;AACnE,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB"}
@@ -0,0 +1,12 @@
1
+ export declare const REDIS_KEY: {
2
+ user: (userId: string | number) => string;
3
+ token_list: (memberId: string) => string;
4
+ new_user_pass_check: (phoneNumber: string) => string;
5
+ system_settings: (key: string) => string;
6
+ otp_verify: (member_id: string, gsm: string) => string;
7
+ otp_verify_code: (member_id: string, gsm: string) => string;
8
+ member_blocked: (member_id: number | string) => string;
9
+ subscription: (member_id: number | string) => string;
10
+ forbidden_words: () => string;
11
+ forbidden_version: () => string;
12
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REDIS_KEY = void 0;
4
+ exports.REDIS_KEY = {
5
+ user: (userId) => `user:${userId}`,
6
+ token_list: (memberId) => `token_list:${memberId}`,
7
+ new_user_pass_check: (phoneNumber) => `new_user_pass_check:${phoneNumber}`,
8
+ system_settings: (key) => `system_settings:${key}`,
9
+ otp_verify: (member_id, gsm) => `otp:verify:${member_id}:${gsm}`,
10
+ otp_verify_code: (member_id, gsm) => `otp:verify:code:${member_id}:${gsm}`,
11
+ member_blocked: (member_id) => `member:blocked:${member_id}`,
12
+ subscription: (member_id) => `subscription:member_id:${member_id}`,
13
+ forbidden_words: () => 'forbidden:words',
14
+ forbidden_version: () => 'forbidden:version',
15
+ };
16
+ //# sourceMappingURL=redis-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis-key.js","sourceRoot":"","sources":["../../src/constants/redis-key.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE,CAAC,MAAuB,EAAE,EAAE,CAAC,QAAQ,MAAM,EAAE;IACnD,UAAU,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,cAAc,QAAQ,EAAE;IAC1D,mBAAmB,EAAE,CAAC,WAAmB,EAAE,EAAE,CAAC,uBAAuB,WAAW,EAAE;IAClF,eAAe,EAAE,CAAC,GAAW,EAAE,EAAE,CAAC,mBAAmB,GAAG,EAAE;IAE1D,UAAU,EAAE,CAAC,SAAiB,EAAE,GAAW,EAAE,EAAE,CAAC,cAAc,SAAS,IAAI,GAAG,EAAE;IAChF,eAAe,EAAE,CAAC,SAAiB,EAAE,GAAW,EAAE,EAAE,CAAC,mBAAmB,SAAS,IAAI,GAAG,EAAE;IAE1F,cAAc,EAAE,CAAC,SAA0B,EAAE,EAAE,CAAC,kBAAkB,SAAS,EAAE;IAE7E,YAAY,EAAE,CAAC,SAA0B,EAAE,EAAE,CAAC,0BAA0B,SAAS,EAAE;IAEnF,eAAe,EAAE,GAAG,EAAE,CAAC,iBAAiB;IACxC,iBAAiB,EAAE,GAAG,EAAE,CAAC,mBAAmB;CAC/C,CAAA"}
@@ -0,0 +1 @@
1
+ export declare const ADMIN_I18N_PATH: string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADMIN_I18N_PATH = void 0;
4
+ const path_1 = require("path");
5
+ exports.ADMIN_I18N_PATH = (0, path_1.join)(__dirname, '..', 'locales', 'admin');
6
+ //# sourceMappingURL=admin.paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.paths.js","sourceRoot":"","sources":["../../src/i18n/admin.paths.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,eAAe,GAAG,IAAA,WAAI,EACjC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,OAAO,CACR,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const MOBILE_I18N_PATH: string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MOBILE_I18N_PATH = void 0;
4
+ const path_1 = require("path");
5
+ exports.MOBILE_I18N_PATH = (0, path_1.join)(__dirname, '..', 'locales', 'mobile');
6
+ //# sourceMappingURL=mobile.paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobile.paths.js","sourceRoot":"","sources":["../../src/i18n/mobile.paths.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,gBAAgB,GAAG,IAAA,WAAI,EAClC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,QAAQ,CACT,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const NOTIFICATION_I18N_PATH: string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NOTIFICATION_I18N_PATH = void 0;
4
+ const path_1 = require("path");
5
+ exports.NOTIFICATION_I18N_PATH = (0, path_1.join)(__dirname, '..', 'locales', 'notification');
6
+ //# sourceMappingURL=notification.paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.paths.js","sourceRoot":"","sources":["../../src/i18n/notification.paths.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,sBAAsB,GAAG,IAAA,WAAI,EACtC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,cAAc,CACjB,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { POSTGRES_ENTITIES } from "./postgresql/index";
2
+ import { MONGO_SCHEMAS } from "./mongo/index";
3
+ export { POSTGRES_ENTITIES };
4
+ export { MONGO_SCHEMAS };
5
+ export * from './mongo/unit-of-work/unit-of-work.service';
6
+ export * from './mongo/unit-of-work/unit-of-work.interface';
7
+ export * from './mongo/repositories/base.repository';
8
+ export * from './mongo/repositories/repository.factory';
9
+ export * from './mongo/unit-of-work/unit-of-work.module';
10
+ export * from './models/enum';
11
+ export * from './models/dto/notification-object.dto';
12
+ export * from './models/dto/firebase-object.dto';
13
+ export * from './models/dto/notification-data.dto';
14
+ export * from './models/dto/notification-revoke.dto';
15
+ export * from './constants/param-key';
16
+ export * from './constants/rabbitmq';
17
+ export * from './i18n/mobile.paths';
18
+ export * from './i18n/admin.paths';
19
+ export * from './i18n/notification.paths';
20
+ export { default as BlockedPhone } from './postgresql/entity/blocked-phone.entity';
21
+ export { default as FeedbackAndComplaint } from './postgresql/entity/feedback-and-complaint.entity';
22
+ export { default as MemberBlocked } from './postgresql/entity/member-blocked.entity';
23
+ export { default as MemberConfig } from './postgresql/entity/member-config.entity';
24
+ export { default as MemberConnections } from './postgresql/entity/member-connections.entity';
25
+ export { default as MemberLiked } from './postgresql/entity/member-liked.entity';
26
+ export { default as Member } from './postgresql/entity/member.entity';
27
+ export { default as Message } from './postgresql/entity/message.entity';
28
+ export { default as ProductPurchase } from './postgresql/entity/product-purchase.entity';
29
+ export { default as Purchase } from './postgresql/entity/purchase.entity';
30
+ export { default as SystemLogs } from './postgresql/entity/system-logs.entity';
31
+ export { default as SystemSettings } from './postgresql/entity/system-settings.entity';
32
+ export { default as MemberSubscription } from './postgresql/entity/member-subscription.entity';
33
+ export { Contents, ContentsSchema, } from './mongo/schema/notification/contents.entity';
34
+ export type { ContentsDocument } from './mongo/schema/notification/contents.entity';
35
+ export { DefinedTexts, DefinedTextsSchema, } from './mongo/schema/notification/defined-texts.entity';
36
+ export type { DefinedTextsDocument } from './mongo/schema/notification/defined-texts.entity';
37
+ export { MemberConfigs, MemberConfigSchema, } from './mongo/schema/admin/member-config.entity';
38
+ export type { MemberConfigDocument } from './mongo/schema/admin/member-config.entity';
39
+ export { MemberRoles, MemberRolesSchema, } from './mongo/schema/admin/member-roles.entity';
40
+ export type { MemberRolesDocument } from './mongo/schema/admin/member-roles.entity';
41
+ export { Notifications, NotificationSchema, } from './mongo/schema/notification/notification.entity';
42
+ export type { NotificationDocument } from './mongo/schema/notification/notification.entity';
43
+ export { Rights, RightsSchema, } from './mongo/schema/admin/rights.entity';
44
+ export type { RightsDocument } from './mongo/schema/admin/rights.entity';
45
+ export { RolesRights, RolesRightsSchema, } from './mongo/schema/admin/roles-rights.entity';
46
+ export type { RolesRightsDocument } from './mongo/schema/admin/roles-rights.entity';
47
+ export { Roles, RolesSchema, } from './mongo/schema/admin/roles.entity';
48
+ export type { RolesDocument } from './mongo/schema/admin/roles.entity';
49
+ export { SpendLog, SpendLogSchema, } from './mongo/schema/mobile/spend-log.entity';
50
+ export type { SpendLogDocument } from './mongo/schema/mobile/spend-log.entity';
51
+ export { SystemLog, SystemLogSchema, } from './mongo/schema/system-log.entity';
52
+ export type { SystemLogDocument } from './mongo/schema/system-log.entity';
53
+ export { Members, MemberSchema, } from './mongo/schema/admin/member.entity';
54
+ export type { MemberDocument } from './mongo/schema/admin/member.entity';
55
+ export { MemberCache, MemberCacheSchema } from './mongo/schema/mobile/member-cache.entity';
56
+ export type { MemberCacheDocument } from './mongo/schema/mobile/member-cache.entity';
57
+ export { MemberView, MemberViewSchema } from './mongo/schema/mobile/member-view.entity';
58
+ export type { MemberViewDocument } from './mongo/schema/mobile/member-view.entity';
59
+ export { MemberNotification, MemberNotificationSchema, } from './mongo/schema/notification/member-notification.entity';
60
+ export type { MemberNotificationDocument } from './mongo/schema/notification/member-notification.entity';
61
+ export { ForbiddenWord, ForbiddenWordSchema, } from './mongo/schema/mobile/forbidden-word.entity';
62
+ export type { ForbiddenWordDocument } from './mongo/schema/mobile/forbidden-word.entity';
63
+ export { ForbiddenWordRecord, ForbiddenWordRecordSchema, } from './mongo/schema/admin/forbidden-word-record.entity';
64
+ export type { ForbiddenWordRecordDocument } from './mongo/schema/admin/forbidden-word-record.entity';
package/dist/index.js ADDED
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.ForbiddenWordRecordSchema = exports.ForbiddenWordRecord = exports.ForbiddenWordSchema = exports.ForbiddenWord = exports.MemberNotificationSchema = exports.MemberNotification = exports.MemberViewSchema = exports.MemberView = exports.MemberCacheSchema = exports.MemberCache = exports.MemberSchema = exports.Members = exports.SystemLogSchema = exports.SystemLog = exports.SpendLogSchema = exports.SpendLog = exports.RolesSchema = exports.Roles = exports.RolesRightsSchema = exports.RolesRights = exports.RightsSchema = exports.Rights = exports.NotificationSchema = exports.Notifications = exports.MemberRolesSchema = exports.MemberRoles = exports.MemberConfigSchema = exports.MemberConfigs = exports.DefinedTextsSchema = exports.DefinedTexts = exports.ContentsSchema = exports.Contents = exports.MemberSubscription = exports.SystemSettings = exports.SystemLogs = exports.Purchase = exports.ProductPurchase = exports.Message = exports.Member = exports.MemberLiked = exports.MemberConnections = exports.MemberConfig = exports.MemberBlocked = exports.FeedbackAndComplaint = exports.BlockedPhone = exports.MONGO_SCHEMAS = exports.POSTGRES_ENTITIES = void 0;
21
+ const index_1 = require("./postgresql/index");
22
+ Object.defineProperty(exports, "POSTGRES_ENTITIES", { enumerable: true, get: function () { return index_1.POSTGRES_ENTITIES; } });
23
+ const index_2 = require("./mongo/index");
24
+ Object.defineProperty(exports, "MONGO_SCHEMAS", { enumerable: true, get: function () { return index_2.MONGO_SCHEMAS; } });
25
+ __exportStar(require("./mongo/unit-of-work/unit-of-work.service"), exports);
26
+ __exportStar(require("./mongo/unit-of-work/unit-of-work.interface"), exports);
27
+ __exportStar(require("./mongo/repositories/base.repository"), exports);
28
+ __exportStar(require("./mongo/repositories/repository.factory"), exports);
29
+ __exportStar(require("./mongo/unit-of-work/unit-of-work.module"), exports);
30
+ __exportStar(require("./models/enum"), exports);
31
+ __exportStar(require("./models/dto/notification-object.dto"), exports);
32
+ __exportStar(require("./models/dto/firebase-object.dto"), exports);
33
+ __exportStar(require("./models/dto/notification-data.dto"), exports);
34
+ __exportStar(require("./models/dto/notification-revoke.dto"), exports);
35
+ __exportStar(require("./constants/param-key"), exports);
36
+ __exportStar(require("./constants/rabbitmq"), exports);
37
+ __exportStar(require("./i18n/mobile.paths"), exports);
38
+ __exportStar(require("./i18n/admin.paths"), exports);
39
+ __exportStar(require("./i18n/notification.paths"), exports);
40
+ var blocked_phone_entity_1 = require("./postgresql/entity/blocked-phone.entity");
41
+ Object.defineProperty(exports, "BlockedPhone", { enumerable: true, get: function () { return __importDefault(blocked_phone_entity_1).default; } });
42
+ var feedback_and_complaint_entity_1 = require("./postgresql/entity/feedback-and-complaint.entity");
43
+ Object.defineProperty(exports, "FeedbackAndComplaint", { enumerable: true, get: function () { return __importDefault(feedback_and_complaint_entity_1).default; } });
44
+ var member_blocked_entity_1 = require("./postgresql/entity/member-blocked.entity");
45
+ Object.defineProperty(exports, "MemberBlocked", { enumerable: true, get: function () { return __importDefault(member_blocked_entity_1).default; } });
46
+ var member_config_entity_1 = require("./postgresql/entity/member-config.entity");
47
+ Object.defineProperty(exports, "MemberConfig", { enumerable: true, get: function () { return __importDefault(member_config_entity_1).default; } });
48
+ var member_connections_entity_1 = require("./postgresql/entity/member-connections.entity");
49
+ Object.defineProperty(exports, "MemberConnections", { enumerable: true, get: function () { return __importDefault(member_connections_entity_1).default; } });
50
+ var member_liked_entity_1 = require("./postgresql/entity/member-liked.entity");
51
+ Object.defineProperty(exports, "MemberLiked", { enumerable: true, get: function () { return __importDefault(member_liked_entity_1).default; } });
52
+ var member_entity_1 = require("./postgresql/entity/member.entity");
53
+ Object.defineProperty(exports, "Member", { enumerable: true, get: function () { return __importDefault(member_entity_1).default; } });
54
+ var message_entity_1 = require("./postgresql/entity/message.entity");
55
+ Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return __importDefault(message_entity_1).default; } });
56
+ var product_purchase_entity_1 = require("./postgresql/entity/product-purchase.entity");
57
+ Object.defineProperty(exports, "ProductPurchase", { enumerable: true, get: function () { return __importDefault(product_purchase_entity_1).default; } });
58
+ var purchase_entity_1 = require("./postgresql/entity/purchase.entity");
59
+ Object.defineProperty(exports, "Purchase", { enumerable: true, get: function () { return __importDefault(purchase_entity_1).default; } });
60
+ var system_logs_entity_1 = require("./postgresql/entity/system-logs.entity");
61
+ Object.defineProperty(exports, "SystemLogs", { enumerable: true, get: function () { return __importDefault(system_logs_entity_1).default; } });
62
+ var system_settings_entity_1 = require("./postgresql/entity/system-settings.entity");
63
+ Object.defineProperty(exports, "SystemSettings", { enumerable: true, get: function () { return __importDefault(system_settings_entity_1).default; } });
64
+ var member_subscription_entity_1 = require("./postgresql/entity/member-subscription.entity");
65
+ Object.defineProperty(exports, "MemberSubscription", { enumerable: true, get: function () { return __importDefault(member_subscription_entity_1).default; } });
66
+ var contents_entity_1 = require("./mongo/schema/notification/contents.entity");
67
+ Object.defineProperty(exports, "Contents", { enumerable: true, get: function () { return contents_entity_1.Contents; } });
68
+ Object.defineProperty(exports, "ContentsSchema", { enumerable: true, get: function () { return contents_entity_1.ContentsSchema; } });
69
+ var defined_texts_entity_1 = require("./mongo/schema/notification/defined-texts.entity");
70
+ Object.defineProperty(exports, "DefinedTexts", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTexts; } });
71
+ Object.defineProperty(exports, "DefinedTextsSchema", { enumerable: true, get: function () { return defined_texts_entity_1.DefinedTextsSchema; } });
72
+ var member_config_entity_2 = require("./mongo/schema/admin/member-config.entity");
73
+ Object.defineProperty(exports, "MemberConfigs", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigs; } });
74
+ Object.defineProperty(exports, "MemberConfigSchema", { enumerable: true, get: function () { return member_config_entity_2.MemberConfigSchema; } });
75
+ var member_roles_entity_1 = require("./mongo/schema/admin/member-roles.entity");
76
+ Object.defineProperty(exports, "MemberRoles", { enumerable: true, get: function () { return member_roles_entity_1.MemberRoles; } });
77
+ Object.defineProperty(exports, "MemberRolesSchema", { enumerable: true, get: function () { return member_roles_entity_1.MemberRolesSchema; } });
78
+ var notification_entity_1 = require("./mongo/schema/notification/notification.entity");
79
+ Object.defineProperty(exports, "Notifications", { enumerable: true, get: function () { return notification_entity_1.Notifications; } });
80
+ Object.defineProperty(exports, "NotificationSchema", { enumerable: true, get: function () { return notification_entity_1.NotificationSchema; } });
81
+ var rights_entity_1 = require("./mongo/schema/admin/rights.entity");
82
+ Object.defineProperty(exports, "Rights", { enumerable: true, get: function () { return rights_entity_1.Rights; } });
83
+ Object.defineProperty(exports, "RightsSchema", { enumerable: true, get: function () { return rights_entity_1.RightsSchema; } });
84
+ var roles_rights_entity_1 = require("./mongo/schema/admin/roles-rights.entity");
85
+ Object.defineProperty(exports, "RolesRights", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRights; } });
86
+ Object.defineProperty(exports, "RolesRightsSchema", { enumerable: true, get: function () { return roles_rights_entity_1.RolesRightsSchema; } });
87
+ var roles_entity_1 = require("./mongo/schema/admin/roles.entity");
88
+ Object.defineProperty(exports, "Roles", { enumerable: true, get: function () { return roles_entity_1.Roles; } });
89
+ Object.defineProperty(exports, "RolesSchema", { enumerable: true, get: function () { return roles_entity_1.RolesSchema; } });
90
+ var spend_log_entity_1 = require("./mongo/schema/mobile/spend-log.entity");
91
+ Object.defineProperty(exports, "SpendLog", { enumerable: true, get: function () { return spend_log_entity_1.SpendLog; } });
92
+ Object.defineProperty(exports, "SpendLogSchema", { enumerable: true, get: function () { return spend_log_entity_1.SpendLogSchema; } });
93
+ var system_log_entity_1 = require("./mongo/schema/system-log.entity");
94
+ Object.defineProperty(exports, "SystemLog", { enumerable: true, get: function () { return system_log_entity_1.SystemLog; } });
95
+ Object.defineProperty(exports, "SystemLogSchema", { enumerable: true, get: function () { return system_log_entity_1.SystemLogSchema; } });
96
+ var member_entity_2 = require("./mongo/schema/admin/member.entity");
97
+ Object.defineProperty(exports, "Members", { enumerable: true, get: function () { return member_entity_2.Members; } });
98
+ Object.defineProperty(exports, "MemberSchema", { enumerable: true, get: function () { return member_entity_2.MemberSchema; } });
99
+ var member_cache_entity_1 = require("./mongo/schema/mobile/member-cache.entity");
100
+ Object.defineProperty(exports, "MemberCache", { enumerable: true, get: function () { return member_cache_entity_1.MemberCache; } });
101
+ Object.defineProperty(exports, "MemberCacheSchema", { enumerable: true, get: function () { return member_cache_entity_1.MemberCacheSchema; } });
102
+ var member_view_entity_1 = require("./mongo/schema/mobile/member-view.entity");
103
+ Object.defineProperty(exports, "MemberView", { enumerable: true, get: function () { return member_view_entity_1.MemberView; } });
104
+ Object.defineProperty(exports, "MemberViewSchema", { enumerable: true, get: function () { return member_view_entity_1.MemberViewSchema; } });
105
+ var member_notification_entity_1 = require("./mongo/schema/notification/member-notification.entity");
106
+ Object.defineProperty(exports, "MemberNotification", { enumerable: true, get: function () { return member_notification_entity_1.MemberNotification; } });
107
+ Object.defineProperty(exports, "MemberNotificationSchema", { enumerable: true, get: function () { return member_notification_entity_1.MemberNotificationSchema; } });
108
+ var forbidden_word_entity_1 = require("./mongo/schema/mobile/forbidden-word.entity");
109
+ Object.defineProperty(exports, "ForbiddenWord", { enumerable: true, get: function () { return forbidden_word_entity_1.ForbiddenWord; } });
110
+ Object.defineProperty(exports, "ForbiddenWordSchema", { enumerable: true, get: function () { return forbidden_word_entity_1.ForbiddenWordSchema; } });
111
+ var forbidden_word_record_entity_1 = require("./mongo/schema/admin/forbidden-word-record.entity");
112
+ Object.defineProperty(exports, "ForbiddenWordRecord", { enumerable: true, get: function () { return forbidden_word_record_entity_1.ForbiddenWordRecord; } });
113
+ Object.defineProperty(exports, "ForbiddenWordRecordSchema", { enumerable: true, get: function () { return forbidden_word_record_entity_1.ForbiddenWordRecordSchema; } });
114
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,8CAAuD;AAG9C,kGAHA,yBAAiB,OAGA;AAF1B,yCAA8C;AAGrC,8FAHA,qBAAa,OAGA;AAEtB,4EAA0D;AAC1D,8EAA4D;AAC5D,uEAAqD;AACrD,0EAAwD;AACxD,2EAAyD;AAEzD,gDAA8B;AAE9B,uEAAqD;AACrD,mEAAiD;AACjD,qEAAmD;AACnD,uEAAqD;AAGrD,wDAAsC;AACtC,uDAAqC;AAErC,sDAAoC;AACpC,qDAAmC;AACnC,4DAA0C;AAE1C,iFAAmF;AAA1E,qIAAA,OAAO,OAAgB;AAChC,mGAAoG;AAA3F,sJAAA,OAAO,OAAwB;AACxC,mFAAqF;AAA5E,uIAAA,OAAO,OAAiB;AACjC,iFAAmF;AAA1E,qIAAA,OAAO,OAAgB;AAChC,2FAA6F;AAApF,+IAAA,OAAO,OAAqB;AACrC,+EAAiF;AAAxE,mIAAA,OAAO,OAAe;AAC/B,mEAAsE;AAA7D,wHAAA,OAAO,OAAU;AAC1B,qEAAwE;AAA/D,0HAAA,OAAO,OAAW;AAC3B,uFAAyF;AAAhF,2IAAA,OAAO,OAAmB;AACnC,uEAA0E;AAAjE,4HAAA,OAAO,OAAY;AAC5B,6EAA+E;AAAtE,iIAAA,OAAO,OAAc;AAC9B,qFAAuF;AAA9E,yIAAA,OAAO,OAAkB;AAClC,6FAA+F;AAAtF,iJAAA,OAAO,OAAsB;AAEtC,+EAGqD;AAFjD,2GAAA,QAAQ,OAAA;AACR,iHAAA,cAAc,OAAA;AAKlB,yFAG0D;AAFtD,oHAAA,YAAY,OAAA;AACZ,0HAAA,kBAAkB,OAAA;AAKtB,kFAGmD;AAF/C,qHAAA,aAAa,OAAA;AACb,0HAAA,kBAAkB,OAAA;AAKtB,gFAGkD;AAF9C,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAKrB,uFAGyD;AAFrD,oHAAA,aAAa,OAAA;AACb,yHAAA,kBAAkB,OAAA;AAKtB,oEAG4C;AAFxC,uGAAA,MAAM,OAAA;AACN,6GAAA,YAAY,OAAA;AAKhB,gFAGkD;AAF9C,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAKrB,kEAG2C;AAFvC,qGAAA,KAAK,OAAA;AACL,2GAAA,WAAW,OAAA;AAKf,2EAGgD;AAF5C,4GAAA,QAAQ,OAAA;AACR,kHAAA,cAAc,OAAA;AAKlB,sEAG0C;AAFtC,8GAAA,SAAS,OAAA;AACT,oHAAA,eAAe,OAAA;AAKnB,oEAG4C;AAFxC,wGAAA,OAAO,OAAA;AACP,6GAAA,YAAY,OAAA;AAKhB,iFAGkD;AAF9C,kHAAA,WAAW,OAAA;AACX,wHAAA,iBAAiB,OAAA;AAIrB,+EAGiD;AAF7C,gHAAA,UAAU,OAAA;AACV,sHAAA,gBAAgB,OAAA;AAIpB,qGAGgE;AAF5D,gIAAA,kBAAkB,OAAA;AAClB,sIAAA,wBAAwB,OAAA;AAI5B,qFAGqD;AAFjD,sHAAA,aAAa,OAAA;AACb,4HAAA,mBAAmB,OAAA;AAIvB,kGAG2D;AAFvD,mIAAA,mBAAmB,OAAA;AACnB,yIAAA,yBAAyB,OAAA"}
@@ -0,0 +1,60 @@
1
+ {
2
+ "auth": {
3
+ "password-wrong": "لقد أدخلت كلمة مرور خاطئة.",
4
+ "user-not-found": "لم يتم العثور على المستخدم.",
5
+ "password-username-wrong": "اسم المستخدم أو كلمة المرور غير صحيحة.",
6
+ "user-info-not-found": "لا يمكن الوصول إلى معلومات المستخدم.",
7
+ "password-detail": "يجب أن تتكون كلمة المرور من 6 أحرف على الأقل.",
8
+ "old-new-password": "لا يمكن أن تكون كلمة المرور القديمة والجديدة متطابقتين.",
9
+ "agency-inactive": "وكالتك غير مفعّلة. يرجى التواصل مع مدير الوكالة.",
10
+ "password-change-error": "حدث خطأ أثناء تغيير كلمة المرور."
11
+ },
12
+ "blocked-phone": {
13
+ "phone-id-empty": "لا يمكن أن يكون معرف الهاتف فارغًا.",
14
+ "phone-already-blocked": "تم حظر الدخول باستخدام هذا الهاتف مسبقًا."
15
+ },
16
+ "feedback-complaint": {
17
+ "complaint-not-found": "لم يتم العثور على الشكوى أو الملاحظة.",
18
+ "error-status-update": "حدث خطأ أثناء تحديث الحالة.",
19
+ "feedback-limit": "لقد وصلت إلى الحد اليومي للإبلاغ/التعليقات."
20
+ },
21
+ "member-config": {
22
+ "update-jwt-token": "فشل تحديث رمز الـ JWT!"
23
+ },
24
+ "member-roles": {
25
+ "id-not-found": "لم يتم العثور على دور العضو أو معرفه."
26
+ },
27
+ "roles-rights": {
28
+ "role-right-not-found": "لم يتم العثور على الدور أو الصلاحية."
29
+ },
30
+ "wallet": {
31
+ "coins-min-amount": "يجب أن يكون عدد العملات أكبر من 0.",
32
+ "operation_error": "حدث خطأ أثناء عملية العملات."
33
+ },
34
+ "jwt-strategy": {
35
+ "not-authorized": "ليست لديك الصلاحيات الكافية لتنفيذ هذا الإجراء."
36
+ },
37
+ "jwt-authentication": {
38
+ "unauthorized": "دخول غير مصرح به!",
39
+ "credentials-verification": "فشل التحقق من بيانات الاعتماد.",
40
+ "another-device": "تم تسجيل خروجك لأنه تم الدخول من جهاز آخر. يرجى تسجيل الدخول مرة أخرى."
41
+ },
42
+ "year": {
43
+ "required": "السنة مطلوبة",
44
+ "must-be-number": "يجب أن تكون السنة رقمًا",
45
+ "min": "يجب أن تكون السنة على الأقل {min}",
46
+ "max": "لا يمكن أن تكون السنة أكبر من {max}"
47
+ },
48
+ "agency": {
49
+ "exists": "المستخدم مضاف بالفعل إلى وكالتك.",
50
+ "another-agency": "المستخدم مسجل في وكالة أخرى.",
51
+ "publisher-not-found": "لم يتم العثور على الناشر.",
52
+ "agency-not-found": "لم يتم العثور على الوكالة.",
53
+ "publisher-conflict": "لا يمكن إضافة هذا المستخدم لأن حسابًا آخر من نفس الجهاز مسجل في وكالة أخرى.",
54
+ "report-not-found": "حدث خطأ أثناء جلب تقرير الوكالة. حاول مرة أخرى.",
55
+ "invalid-agent": "طلب غير صالح. حاول مرة أخرى.",
56
+ "failed-to-delete": "حدث خطأ أثناء حذف الناشر. حاول مرة أخرى.",
57
+ "failed-to-update": "حدث خطأ أثناء تحديث معلومات الناشر. حاول مرة أخرى.",
58
+ "unexpected-error": "حدث خطأ غير متوقع. حاول مرة أخرى."
59
+ }
60
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "auth": {
3
+ "password-wrong": "You entered an incorrect password.",
4
+ "user-not-found": "User not found.",
5
+ "password-username-wrong": "Incorrect username or password.",
6
+ "user-info-not-found": "User information cannot be retrieved.",
7
+ "password-detail": "Password must be at least 6 characters.",
8
+ "old-new-password": "The old password and new password cannot be the same.",
9
+ "agency-inactive": "Your agency is not active. Please contact your agency manager.",
10
+ "password-change-error": "An error occurred while changing the password."
11
+ },
12
+ "blocked-phone": {
13
+ "phone-id-empty": "Phone ID parameter cannot be empty.",
14
+ "phone-already-blocked": "Login with this phone is already blocked."
15
+ },
16
+ "feedback-complaint": {
17
+ "complaint-not-found": "Such a complaint/feedback was not found.",
18
+ "error-status-update": "An error occurred while updating the status.",
19
+ "feedback-limit": "You have reached the daily feedback/complaint limit."
20
+ },
21
+ "member-config": {
22
+ "update-jwt-token": "JWT token could not be updated!"
23
+ },
24
+ "member-roles": {
25
+ "id-not-found": "Role or member ID not found."
26
+ },
27
+ "roles-rights": {
28
+ "role-right-not-found": "Role or right not found."
29
+ },
30
+ "wallet": {
31
+ "coins-min-amount": "Coins amount must be greater than 0.",
32
+ "operation_error": "An error occurred during the coin transaction."
33
+ },
34
+ "jwt-strategy": {
35
+ "not-authorized": "You do not have sufficient permission to perform this action."
36
+ },
37
+ "jwt-authentication": {
38
+ "unauthorized": "Unauthorized access!",
39
+ "credentials-verification": "Authentication failed.",
40
+ "another-device": "You were logged out because a login occurred from another device. Please log in again."
41
+ },
42
+ "year": {
43
+ "required": "Year is required",
44
+ "must-be-number": "Year must be a number",
45
+ "min": "Year must be at least {min}",
46
+ "max": "Year cannot be greater than {max}"
47
+ },
48
+ "agency": {
49
+ "exists": "The publisher is already added to your agency.",
50
+ "another-agency": "The publisher is registered in another agency.",
51
+ "publisher-not-found": "Publisher not found.",
52
+ "agency-not-found": "Agency not found.",
53
+ "publisher-conflict": "This user cannot be added to this agency because a different account from the same device is registered in another agency.",
54
+ "report-not-found": "An error occurred while retrieving the agency report. Please try again.",
55
+ "invalid-agent": "Invalid request. Please try again.",
56
+ "failed-to-delete": "An error occurred while deleting the publisher. Please try again.",
57
+ "failed-to-update": "An error occurred while updating the publisher information. Please try again.",
58
+ "unexpected-error": "An unexpected error occurred. Please try again."
59
+ }
60
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "auth": {
3
+ "password-wrong": "Has introducido una contraseña incorrecta.",
4
+ "user-not-found": "Usuario no encontrado.",
5
+ "password-username-wrong": "Nombre de usuario o contraseña incorrectos.",
6
+ "user-info-not-found": "No se puede acceder a la información del usuario.",
7
+ "password-detail": "La contraseña debe tener al menos 6 caracteres.",
8
+ "old-new-password": "La contraseña antigua y la nueva no pueden ser iguales.",
9
+ "agency-inactive": "Tu agencia no está activa. Contacta con tu administrador.",
10
+ "password-change-error": "Ocurrió un error al cambiar la contraseña."
11
+ },
12
+ "blocked-phone": {
13
+ "phone-id-empty": "El parámetro Phone ID no puede estar vacío.",
14
+ "phone-already-blocked": "El acceso con este teléfono ya está bloqueado."
15
+ },
16
+ "feedback-complaint": {
17
+ "complaint-not-found": "No se encontró esta queja/comentario.",
18
+ "error-status-update": "Error al actualizar el estado.",
19
+ "feedback-limit": "Has alcanzado el límite diario de comentarios/quejas."
20
+ },
21
+ "member-config": {
22
+ "update-jwt-token": "¡No se pudo actualizar el token JWT!"
23
+ },
24
+ "member-roles": {
25
+ "id-not-found": "No se encontró el rol o el ID del miembro."
26
+ },
27
+ "roles-rights": {
28
+ "role-right-not-found": "No se encontró el rol o el permiso."
29
+ },
30
+ "wallet": {
31
+ "coins-min-amount": "La cantidad de monedas debe ser mayor que 0.",
32
+ "operation_error": "Ocurrió un error durante la operación de monedas."
33
+ },
34
+ "jwt-strategy": {
35
+ "not-authorized": "No tienes permisos suficientes para realizar esta acción."
36
+ },
37
+ "jwt-authentication": {
38
+ "unauthorized": "¡Acceso no autorizado!",
39
+ "credentials-verification": "Falló la verificación de credenciales.",
40
+ "another-device": "Se cerró tu sesión porque se inició sesión desde otro dispositivo. Por favor, inicia sesión nuevamente."
41
+ },
42
+ "year": {
43
+ "required": "El año es obligatorio",
44
+ "must-be-number": "El año debe ser un número",
45
+ "min": "El año debe ser al menos {min}",
46
+ "max": "El año no puede ser mayor que {max}"
47
+ },
48
+ "agency": {
49
+ "exists": "El usuario ya está agregado en tu agencia.",
50
+ "another-agency": "El usuario está registrado en otra agencia.",
51
+ "publisher-not-found": "No se encontró al publicador.",
52
+ "agency-not-found": "No se encontró la agencia.",
53
+ "publisher-conflict": "Este usuario no puede ser agregado porque otro usuario en el mismo dispositivo está registrado en otra agencia.",
54
+ "report-not-found": "Error al obtener el informe de la agencia. Intenta nuevamente.",
55
+ "invalid-agent": "Solicitud inválida. Intenta nuevamente.",
56
+ "failed-to-delete": "Ocurrió un error al eliminar al publicador. Intenta nuevamente.",
57
+ "failed-to-update": "Ocurrió un error al actualizar la información del publicador. Intenta nuevamente.",
58
+ "unexpected-error": "Ocurrió un error inesperado. Intenta nuevamente."
59
+ }
60
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "auth": {
3
+ "password-wrong": "Vous avez saisi un mot de passe incorrect.",
4
+ "user-not-found": "Utilisateur introuvable.",
5
+ "password-username-wrong": "Nom d'utilisateur ou mot de passe incorrect.",
6
+ "user-info-not-found": "Impossible d'accéder aux informations de l'utilisateur.",
7
+ "password-detail": "Le mot de passe doit contenir au moins 6 caractères.",
8
+ "old-new-password": "L'ancien et le nouveau mot de passe ne peuvent pas être identiques.",
9
+ "agency-inactive": "Votre agence n'est pas active. Veuillez contacter votre gestionnaire.",
10
+ "password-change-error": "Une erreur s'est produite lors du changement de mot de passe."
11
+ },
12
+ "blocked-phone": {
13
+ "phone-id-empty": "Le champ Phone ID ne peut pas être vide.",
14
+ "phone-already-blocked": "La connexion avec ce téléphone est déjà bloquée."
15
+ },
16
+ "feedback-complaint": {
17
+ "complaint-not-found": "Aucune plainte/commentaire trouvé.",
18
+ "error-status-update": "Une erreur s'est produite lors de la mise à jour du statut.",
19
+ "feedback-limit": "Vous avez atteint la limite quotidienne de commentaires/plaintes."
20
+ },
21
+ "member-config": {
22
+ "update-jwt-token": "Impossible de mettre à jour le jeton JWT !"
23
+ },
24
+ "member-roles": {
25
+ "id-not-found": "Rôle ou ID du membre introuvable."
26
+ },
27
+ "roles-rights": {
28
+ "role-right-not-found": "Rôle ou permission introuvable."
29
+ },
30
+ "wallet": {
31
+ "coins-min-amount": "Le montant des pièces doit être supérieur à 0.",
32
+ "operation_error": "Une erreur s'est produite lors de l'opération de pièces."
33
+ },
34
+ "jwt-strategy": {
35
+ "not-authorized": "Vous n'avez pas l'autorisation nécessaire pour effectuer cette action."
36
+ },
37
+ "jwt-authentication": {
38
+ "unauthorized": "Accès non autorisé !",
39
+ "credentials-verification": "Échec de la vérification des identifiants.",
40
+ "another-device": "Vous avez été déconnecté car une connexion a eu lieu depuis un autre appareil. Veuillez vous reconnecter."
41
+ },
42
+ "year": {
43
+ "required": "L'année est obligatoire",
44
+ "must-be-number": "L'année doit être un nombre",
45
+ "min": "L'année doit être au moins {min}",
46
+ "max": "L'année ne peut pas dépasser {max}"
47
+ },
48
+ "agency": {
49
+ "exists": "L'utilisateur est déjà ajouté à votre agence.",
50
+ "another-agency": "L'utilisateur est inscrit dans une autre agence.",
51
+ "publisher-not-found": "Publicateur introuvable.",
52
+ "agency-not-found": "Agence introuvable.",
53
+ "publisher-conflict": "Cet utilisateur ne peut pas être ajouté car un autre compte du même appareil est inscrit dans une autre agence.",
54
+ "report-not-found": "Erreur lors de l'obtention du rapport de l'agence. Veuillez réessayer.",
55
+ "invalid-agent": "Requête invalide. Veuillez réessayer.",
56
+ "failed-to-delete": "Erreur lors de la suppression du publicateur. Veuillez réessayer.",
57
+ "failed-to-update": "Erreur lors de la mise à jour des informations du publicateur. Veuillez réessayer.",
58
+ "unexpected-error": "Une erreur inattendue s'est produite. Veuillez réessayer."
59
+ }
60
+ }