@carlosdiazz/lottodiz-shared 3.2.1 → 3.2.3

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.
@@ -6,6 +6,9 @@ export declare class MethodValid {
6
6
  static JOB_CREATE_VIDEO_ID: string;
7
7
  static JOB_CREATE_OBS_CONFIG: string;
8
8
  static JOB_CREATE_REMOVE_TEMPORARY_CODE: string;
9
+ static JOB_CREATE_TICKET: string;
10
+ static JOB_CREATE_PRIZE: string;
11
+ static JOB_CREATE_SUMMARY: string;
9
12
  static PERMISSION_FIND_ALL: string;
10
13
  static ROLE_CREATE: string;
11
14
  static ROLE_FIND_ONE: string;
@@ -11,6 +11,9 @@ MethodValid.JOB_CREATE_DRAW_WEBSCRAPING = "JOB_CREATE_DRAW_WEBSCRAPING";
11
11
  MethodValid.JOB_CREATE_VIDEO_ID = "JOB_CREATE_VIDEO_ID";
12
12
  MethodValid.JOB_CREATE_OBS_CONFIG = "JOB_CREATE_OBS_CONFIG";
13
13
  MethodValid.JOB_CREATE_REMOVE_TEMPORARY_CODE = "JOB_CREATE_REMOVE_TEMPORARY_CODE";
14
+ MethodValid.JOB_CREATE_TICKET = "JOB_CREATE_TICKET";
15
+ MethodValid.JOB_CREATE_PRIZE = "JOB_CREATE_PRIZE";
16
+ MethodValid.JOB_CREATE_SUMMARY = "JOB_CREATE_SUMMARY";
14
17
  //PERMISSION
15
18
  MethodValid.PERMISSION_FIND_ALL = "PERMISSION_FIND_ALL";
16
19
  //ROLE
@@ -1,7 +1,8 @@
1
1
  import { AccountOwnerType } from "../../enum";
2
+ import { AccountTypeInterface } from "../account_type";
2
3
  export interface AccountInterface {
3
4
  id: string;
4
- id_account_type: string;
5
+ account_type?: AccountTypeInterface;
5
6
  owner_type: AccountOwnerType;
6
7
  owner_id: string;
7
8
  balance: number;
@@ -1,3 +1,4 @@
1
+ import { AccountInterface } from "../account/account.base";
1
2
  export interface AccountTypeInterface {
2
3
  id: string;
3
4
  name: string;
@@ -7,6 +8,7 @@ export interface AccountTypeInterface {
7
8
  requires_preload: boolean;
8
9
  allows_withdrawal: boolean;
9
10
  active: boolean;
11
+ account?: AccountInterface[];
10
12
  create_at: Date;
11
13
  update_at: Date;
12
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,