@carlosdiazz/lottodiz-shared 3.2.0 → 3.2.2

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 (122) hide show
  1. package/dist/enum/account-owner-type.enum.d.ts +5 -0
  2. package/dist/enum/account-owner-type.enum.js +9 -0
  3. package/dist/enum/index.d.ts +4 -0
  4. package/dist/enum/index.js +4 -0
  5. package/dist/enum/method-valid.d.ts +25 -0
  6. package/dist/enum/method-valid.js +32 -0
  7. package/dist/enum/permission-valid.d.ts +16 -0
  8. package/dist/enum/permission-valid.js +22 -0
  9. package/dist/enum/ticket-status.enum.d.ts +7 -0
  10. package/dist/enum/ticket-status.enum.js +11 -0
  11. package/dist/enum/transaction-type.enum.d.ts +10 -0
  12. package/dist/enum/transaction-type.enum.js +14 -0
  13. package/dist/enum/valid-job.enum.d.ts +5 -1
  14. package/dist/enum/valid-job.enum.js +4 -0
  15. package/dist/enum/wallet-mode.enum.d.ts +4 -0
  16. package/dist/enum/wallet-mode.enum.js +8 -0
  17. package/dist/models/account/account.base.d.ts +21 -0
  18. package/dist/models/account/account.base.js +2 -0
  19. package/dist/models/account/account.controller.d.ts +13 -0
  20. package/dist/models/account/account.controller.js +2 -0
  21. package/dist/models/account/account.datasource.d.ts +13 -0
  22. package/dist/models/account/account.datasource.js +2 -0
  23. package/dist/models/account/account.resolver.d.ts +14 -0
  24. package/dist/models/account/account.resolver.js +2 -0
  25. package/dist/models/account/account.service.d.ts +13 -0
  26. package/dist/models/account/account.service.js +2 -0
  27. package/dist/models/account/create-account.base.d.ts +9 -0
  28. package/dist/models/account/create-account.base.js +2 -0
  29. package/dist/models/account/index.d.ts +9 -0
  30. package/dist/models/account/index.js +25 -0
  31. package/dist/models/account/params-account.base.d.ts +10 -0
  32. package/dist/models/account/params-account.base.js +2 -0
  33. package/dist/models/account/response-account.base.d.ts +5 -0
  34. package/dist/models/account/response-account.base.js +2 -0
  35. package/dist/models/account/update-account.base.d.ts +10 -0
  36. package/dist/models/account/update-account.base.js +2 -0
  37. package/dist/models/account_type/account-type.base.d.ts +22 -0
  38. package/dist/models/account_type/account-type.base.js +2 -0
  39. package/dist/models/account_type/account-type.controller.d.ts +13 -0
  40. package/dist/models/account_type/account-type.controller.js +2 -0
  41. package/dist/models/account_type/account-type.datasource.d.ts +13 -0
  42. package/dist/models/account_type/account-type.datasource.js +2 -0
  43. package/dist/models/account_type/account-type.resolver.d.ts +14 -0
  44. package/dist/models/account_type/account-type.resolver.js +2 -0
  45. package/dist/models/account_type/account-type.service.d.ts +13 -0
  46. package/dist/models/account_type/account-type.service.js +2 -0
  47. package/dist/models/account_type/create-account-type.base.d.ts +9 -0
  48. package/dist/models/account_type/create-account-type.base.js +2 -0
  49. package/dist/models/account_type/index.d.ts +9 -0
  50. package/dist/models/account_type/index.js +25 -0
  51. package/dist/models/account_type/params-account-type.base.d.ts +6 -0
  52. package/dist/models/account_type/params-account-type.base.js +2 -0
  53. package/dist/models/account_type/response-account-type.base.d.ts +5 -0
  54. package/dist/models/account_type/response-account-type.base.js +2 -0
  55. package/dist/models/account_type/update-account-type.base.d.ts +10 -0
  56. package/dist/models/account_type/update-account-type.base.js +2 -0
  57. package/dist/models/index.d.ts +6 -0
  58. package/dist/models/index.js +6 -0
  59. package/dist/models/pos/pos.base.d.ts +2 -0
  60. package/dist/models/report/index.d.ts +6 -0
  61. package/dist/models/report/index.js +22 -0
  62. package/dist/models/report/params-report.base.d.ts +14 -0
  63. package/dist/models/report/params-report.base.js +2 -0
  64. package/dist/models/report/report.base.d.ts +16 -0
  65. package/dist/models/report/report.base.js +2 -0
  66. package/dist/models/report/report.controller.d.ts +6 -0
  67. package/dist/models/report/report.controller.js +2 -0
  68. package/dist/models/report/report.resolver.d.ts +7 -0
  69. package/dist/models/report/report.resolver.js +2 -0
  70. package/dist/models/report/report.service.d.ts +8 -0
  71. package/dist/models/report/report.service.js +2 -0
  72. package/dist/models/report/response-report.base.d.ts +5 -0
  73. package/dist/models/report/response-report.base.js +2 -0
  74. package/dist/models/ticket/create-ticket.base.d.ts +12 -0
  75. package/dist/models/ticket/create-ticket.base.js +2 -0
  76. package/dist/models/ticket/index.d.ts +9 -0
  77. package/dist/models/ticket/index.js +25 -0
  78. package/dist/models/ticket/params-ticket.base.d.ts +12 -0
  79. package/dist/models/ticket/params-ticket.base.js +2 -0
  80. package/dist/models/ticket/response-ticket.base.d.ts +5 -0
  81. package/dist/models/ticket/response-ticket.base.js +2 -0
  82. package/dist/models/ticket/ticket-detail.base.d.ts +10 -0
  83. package/dist/models/ticket/ticket-detail.base.js +2 -0
  84. package/dist/models/ticket/ticket.base.d.ts +16 -0
  85. package/dist/models/ticket/ticket.base.js +2 -0
  86. package/dist/models/ticket/ticket.controller.d.ts +9 -0
  87. package/dist/models/ticket/ticket.controller.js +2 -0
  88. package/dist/models/ticket/ticket.datasource.d.ts +9 -0
  89. package/dist/models/ticket/ticket.datasource.js +2 -0
  90. package/dist/models/ticket/ticket.resolver.d.ts +10 -0
  91. package/dist/models/ticket/ticket.resolver.js +2 -0
  92. package/dist/models/ticket/ticket.service.d.ts +9 -0
  93. package/dist/models/ticket/ticket.service.js +2 -0
  94. package/dist/models/transaction/create-transaction.base.d.ts +10 -0
  95. package/dist/models/transaction/create-transaction.base.js +2 -0
  96. package/dist/models/transaction/index.d.ts +8 -0
  97. package/dist/models/transaction/index.js +24 -0
  98. package/dist/models/transaction/params-transaction.base.d.ts +13 -0
  99. package/dist/models/transaction/params-transaction.base.js +2 -0
  100. package/dist/models/transaction/response-transaction.base.d.ts +5 -0
  101. package/dist/models/transaction/response-transaction.base.js +2 -0
  102. package/dist/models/transaction/transaction.base.d.ts +13 -0
  103. package/dist/models/transaction/transaction.base.js +2 -0
  104. package/dist/models/transaction/transaction.controller.d.ts +7 -0
  105. package/dist/models/transaction/transaction.controller.js +2 -0
  106. package/dist/models/transaction/transaction.datasource.d.ts +9 -0
  107. package/dist/models/transaction/transaction.datasource.js +2 -0
  108. package/dist/models/transaction/transaction.resolver.d.ts +8 -0
  109. package/dist/models/transaction/transaction.resolver.js +2 -0
  110. package/dist/models/transaction/transaction.service.d.ts +9 -0
  111. package/dist/models/transaction/transaction.service.js +2 -0
  112. package/dist/models/wallet/index.d.ts +4 -0
  113. package/dist/models/wallet/index.js +20 -0
  114. package/dist/models/wallet/wallet.base.d.ts +29 -0
  115. package/dist/models/wallet/wallet.base.js +2 -0
  116. package/dist/models/wallet/wallet.controller.d.ts +9 -0
  117. package/dist/models/wallet/wallet.controller.js +2 -0
  118. package/dist/models/wallet/wallet.resolver.d.ts +10 -0
  119. package/dist/models/wallet/wallet.resolver.js +2 -0
  120. package/dist/models/wallet/wallet.service.d.ts +9 -0
  121. package/dist/models/wallet/wallet.service.js +2 -0
  122. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ import { UserInterface } from "../user";
2
+ import { TransactionInterface } from "../transaction";
3
+ import { AdelantoInterface, RetiroInterface, CuadreInterface, RechargeInterface, TransferInterface } from "./wallet.base";
4
+ export interface WalletResolverInterface {
5
+ adelanto(dto: AdelantoInterface, user?: UserInterface): Promise<TransactionInterface>;
6
+ retiro(dto: RetiroInterface, user?: UserInterface): Promise<TransactionInterface>;
7
+ cuadre(dto: CuadreInterface, user?: UserInterface): Promise<TransactionInterface>;
8
+ recharge(dto: RechargeInterface, user?: UserInterface): Promise<TransactionInterface>;
9
+ transfer(dto: TransferInterface, user?: UserInterface): Promise<TransactionInterface>;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { TransactionInterface } from "../transaction";
2
+ import { AdelantoInterface, RetiroInterface, CuadreInterface, RechargeInterface, TransferInterface } from "./wallet.base";
3
+ export interface WalletServiceInterface {
4
+ adelanto(dto: AdelantoInterface): Promise<TransactionInterface>;
5
+ retiro(dto: RetiroInterface): Promise<TransactionInterface>;
6
+ cuadre(dto: CuadreInterface): Promise<TransactionInterface>;
7
+ recharge(dto: RechargeInterface): Promise<TransactionInterface>;
8
+ transfer(dto: TransferInterface): Promise<TransactionInterface>;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,