@carlosdiazz/lottodiz-shared 3.4.3 → 3.4.5

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.
@@ -3,3 +3,10 @@ export declare enum AccountOwnerType {
3
3
  GROUP = "GROUP",
4
4
  COMPANY = "COMPANY"
5
5
  }
6
+ export declare enum TypeAccountEnum {
7
+ TREASURY_COMPANY = "TREASURY_COMPANY",
8
+ TREASURY_GROUP = "TREASURY_GROUP",
9
+ RIFERO_SALE = "RIFERO_SALE",
10
+ PREPAGO_SALE = "PREPAGO_SALE",
11
+ PREPAGO_PRIZE = "PREPAGO_PRIZE"
12
+ }
@@ -1,9 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountOwnerType = void 0;
3
+ exports.TypeAccountEnum = exports.AccountOwnerType = void 0;
4
4
  var AccountOwnerType;
5
5
  (function (AccountOwnerType) {
6
6
  AccountOwnerType["POS"] = "POS";
7
7
  AccountOwnerType["GROUP"] = "GROUP";
8
8
  AccountOwnerType["COMPANY"] = "COMPANY";
9
9
  })(AccountOwnerType || (exports.AccountOwnerType = AccountOwnerType = {}));
10
+ var TypeAccountEnum;
11
+ (function (TypeAccountEnum) {
12
+ TypeAccountEnum["TREASURY_COMPANY"] = "TREASURY_COMPANY";
13
+ TypeAccountEnum["TREASURY_GROUP"] = "TREASURY_GROUP";
14
+ TypeAccountEnum["RIFERO_SALE"] = "RIFERO_SALE";
15
+ TypeAccountEnum["PREPAGO_SALE"] = "PREPAGO_SALE";
16
+ TypeAccountEnum["PREPAGO_PRIZE"] = "PREPAGO_PRIZE";
17
+ })(TypeAccountEnum || (exports.TypeAccountEnum = TypeAccountEnum = {}));
@@ -1,8 +1,9 @@
1
+ import { TypeAccountEnum } from "../../enum";
1
2
  import { AccountInterface } from "../account/account.base";
2
3
  export interface AccountTypeInterface {
3
4
  id: string;
4
5
  name: string;
5
- code: string;
6
+ code: TypeAccountEnum;
6
7
  description?: string;
7
8
  allows_negative_balance: boolean;
8
9
  allows_withdrawal: boolean;
@@ -17,7 +18,7 @@ export interface AccountTypeInterface {
17
18
  export interface AccountTypeFormInterface {
18
19
  id: string;
19
20
  name: string;
20
- code: string;
21
+ code: TypeAccountEnum;
21
22
  description?: string;
22
23
  allows_negative_balance: boolean;
23
24
  requires_preload: boolean;
@@ -1,6 +1,7 @@
1
+ import { TypeAccountEnum } from "../../enum";
1
2
  export interface CreateAccountTypeInterface {
2
3
  name: string;
3
- code: string;
4
+ code: TypeAccountEnum;
4
5
  description: string;
5
6
  allows_negative_balance: boolean;
6
7
  allows_sale: boolean;
@@ -1,7 +1,8 @@
1
+ import { TypeAccountEnum } from "../../enum";
1
2
  export interface UpdateAccountTypeInterface {
2
3
  id: string;
3
4
  name?: string;
4
- code?: string;
5
+ code?: TypeAccountEnum;
5
6
  description?: string;
6
7
  allows_negative_balance?: boolean;
7
8
  requires_preload?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,