@fiado/type-kit 3.0.24 → 3.0.27

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.
@@ -0,0 +1,38 @@
1
+ import { CurrencyId } from '../../currency';
2
+ import { Provider } from '../../provider/enums/Provider';
3
+ import { AmountTypeEnum } from '../enums/AmountTypeEnum';
4
+ import { ReferenceTypeEnum } from '../enums/ReferenceTypeEnum';
5
+ export declare class ProductoDTO {
6
+ idServicio: number;
7
+ amountType: AmountTypeEnum;
8
+ fee: number;
9
+ hasDigitoVerificador: boolean;
10
+ idCatTipoServicio: number;
11
+ idProducto: string;
12
+ legend: string;
13
+ logoSrc: string;
14
+ precio: number;
15
+ producto: string;
16
+ refSrc: string;
17
+ servicio: string;
18
+ showAyuda: boolean;
19
+ tipoFront: number;
20
+ tipoReferencia: ReferenceTypeEnum;
21
+ verificateReference: boolean;
22
+ default: boolean;
23
+ }
24
+ export declare class TransactionModelResponse {
25
+ category: string;
26
+ subcategory: string;
27
+ logo: string;
28
+ description: string;
29
+ paymentAccountNumber: string;
30
+ provider: Provider;
31
+ benefitId: string;
32
+ productoDTOList: ProductoDTO[];
33
+ currencyId: CurrencyId;
34
+ serviceCountryId: string;
35
+ }
36
+ export declare class FavoriteResponse {
37
+ items: TransactionModelResponse[];
38
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FavoriteResponse = exports.TransactionModelResponse = exports.ProductoDTO = void 0;
4
+ class ProductoDTO {
5
+ }
6
+ exports.ProductoDTO = ProductoDTO;
7
+ class TransactionModelResponse {
8
+ }
9
+ exports.TransactionModelResponse = TransactionModelResponse;
10
+ class FavoriteResponse {
11
+ }
12
+ exports.FavoriteResponse = FavoriteResponse;
@@ -0,0 +1,10 @@
1
+ import { CurrencyId } from '../../currency/enums/CurrencyId';
2
+ export declare class GetFavoritesParams {
3
+ directoryId: string;
4
+ pageSize?: number;
5
+ category?: string;
6
+ subcategory?: string;
7
+ currencyId?: CurrencyId;
8
+ serviceCountryId?: string;
9
+ benefitId?: string;
10
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFavoritesParams = void 0;
4
+ class GetFavoritesParams {
5
+ }
6
+ exports.GetFavoritesParams = GetFavoritesParams;
@@ -0,0 +1,38 @@
1
+ import { CurrencyId } from '../../currency';
2
+ import { Provider } from '../../provider/enums/Provider';
3
+ import { AmountTypeEnum } from '../enums/AmountTypeEnum';
4
+ import { ReferenceTypeEnum } from '../enums/ReferenceTypeEnum';
5
+ export declare class ProductoDTO {
6
+ idServicio: number;
7
+ amountType: AmountTypeEnum;
8
+ fee: number;
9
+ hasDigitoVerificador: boolean;
10
+ idCatTipoServicio: number;
11
+ idProducto: string;
12
+ legend: string;
13
+ logoSrc: string;
14
+ precio: number;
15
+ producto: string;
16
+ refSrc: string;
17
+ servicio: string;
18
+ showAyuda: boolean;
19
+ tipoFront: number;
20
+ tipoReferencia: ReferenceTypeEnum;
21
+ verificateReference: boolean;
22
+ default: boolean;
23
+ }
24
+ export declare class TransactionModelResponse {
25
+ category: string;
26
+ subcategory: string;
27
+ logo: string;
28
+ description: string;
29
+ paymentAccountNumber: string;
30
+ provider: Provider;
31
+ benefitId: string;
32
+ productoDTOList: ProductoDTO[];
33
+ currencyId: CurrencyId;
34
+ serviceCountryId: string;
35
+ }
36
+ export declare class GetFavoritesParamsResponse {
37
+ items: TransactionModelResponse[];
38
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFavoritesParamsResponse = exports.TransactionModelResponse = exports.ProductoDTO = void 0;
4
+ class ProductoDTO {
5
+ }
6
+ exports.ProductoDTO = ProductoDTO;
7
+ class TransactionModelResponse {
8
+ }
9
+ exports.TransactionModelResponse = TransactionModelResponse;
10
+ class GetFavoritesParamsResponse {
11
+ }
12
+ exports.GetFavoritesParamsResponse = GetFavoritesParamsResponse;
@@ -0,0 +1,10 @@
1
+ import { CurrencyId } from '../../currency/enums/CurrencyId';
2
+ export declare class GetTransactionsParams {
3
+ directoryId: string;
4
+ pageSize?: number;
5
+ category?: string;
6
+ subcategory?: string;
7
+ currencyId?: CurrencyId;
8
+ serviceCountryId?: string;
9
+ benefitId?: string;
10
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTransactionsParams = void 0;
4
+ class GetTransactionsParams {
5
+ }
6
+ exports.GetTransactionsParams = GetTransactionsParams;
@@ -0,0 +1,7 @@
1
+ export declare enum ReferenceTypeEnum {
2
+ PHONE = "PHONE",
3
+ CLIENT_NUMBER = "CLIENT_NUMBER",
4
+ BARCODE = "BARCODE",
5
+ PHONE_AND_REFERENCE = "PHONE_AND_REFERENCE",
6
+ REFERENCE_AND_BARCODE = "REFERENCE_AND_BARCODE"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReferenceTypeEnum = void 0;
4
+ var ReferenceTypeEnum;
5
+ (function (ReferenceTypeEnum) {
6
+ ReferenceTypeEnum["PHONE"] = "PHONE";
7
+ ReferenceTypeEnum["CLIENT_NUMBER"] = "CLIENT_NUMBER";
8
+ ReferenceTypeEnum["BARCODE"] = "BARCODE";
9
+ ReferenceTypeEnum["PHONE_AND_REFERENCE"] = "PHONE_AND_REFERENCE";
10
+ ReferenceTypeEnum["REFERENCE_AND_BARCODE"] = "REFERENCE_AND_BARCODE";
11
+ })(ReferenceTypeEnum || (exports.ReferenceTypeEnum = ReferenceTypeEnum = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum AmountTypeEnum {
2
+ FIXED = "FIXED",
3
+ VARIABLE = "VARIABLE"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AmountTypeEnum = void 0;
4
+ var AmountTypeEnum;
5
+ (function (AmountTypeEnum) {
6
+ AmountTypeEnum["FIXED"] = "FIXED";
7
+ AmountTypeEnum["VARIABLE"] = "VARIABLE";
8
+ })(AmountTypeEnum || (exports.AmountTypeEnum = AmountTypeEnum = {}));
@@ -1,5 +1,9 @@
1
1
  export * from './enums/ServicePaymentStatusEnum';
2
+ export * from './enums/ReferenceTypeEnum';
3
+ export * from './enums/AmountTypeEnum';
2
4
  export * from './dtos/ServicePaymentRequest';
3
5
  export * from './dtos/GetCatalogParams';
6
+ export * from './dtos/GetFavoritesParams';
4
7
  export * from './dtos/ReferenceVerificationRequest';
5
8
  export * from './dtos/ReferenceVerificationResponse';
9
+ export * from './dtos/GetFavoritesParamsResponse';
@@ -16,8 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  //Enums
18
18
  __exportStar(require("./enums/ServicePaymentStatusEnum"), exports);
19
+ __exportStar(require("./enums/ReferenceTypeEnum"), exports);
20
+ __exportStar(require("./enums/AmountTypeEnum"), exports);
19
21
  //DTOs
20
22
  __exportStar(require("./dtos/ServicePaymentRequest"), exports);
21
23
  __exportStar(require("./dtos/GetCatalogParams"), exports);
24
+ __exportStar(require("./dtos/GetFavoritesParams"), exports);
22
25
  __exportStar(require("./dtos/ReferenceVerificationRequest"), exports);
23
26
  __exportStar(require("./dtos/ReferenceVerificationResponse"), exports);
27
+ __exportStar(require("./dtos/GetFavoritesParamsResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.0.24",
3
+ "version": "3.0.27",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,11 @@
1
+ import { CurrencyId } from '../../currency/enums/CurrencyId';
2
+
3
+ export class GetFavoritesParams {
4
+ directoryId: string;
5
+ pageSize?: number;
6
+ category?: string;
7
+ subcategory?: string;
8
+ currencyId?: CurrencyId;
9
+ serviceCountryId?: string;
10
+ benefitId?:string
11
+ }
@@ -0,0 +1,41 @@
1
+ import { CurrencyId } from '../../currency';
2
+ import { Provider } from '../../provider/enums/Provider';
3
+ import { AmountTypeEnum } from '../enums/AmountTypeEnum';
4
+ import { ReferenceTypeEnum } from '../enums/ReferenceTypeEnum';
5
+
6
+ export class ProductoDTO {
7
+ idServicio: number;
8
+ amountType: AmountTypeEnum;
9
+ fee: number;
10
+ hasDigitoVerificador: boolean;
11
+ idCatTipoServicio: number;
12
+ idProducto: string;
13
+ legend: string;
14
+ logoSrc: string;
15
+ precio: number;
16
+ producto: string;
17
+ refSrc: string;
18
+ servicio: string;
19
+ showAyuda: boolean;
20
+ tipoFront: number;
21
+ tipoReferencia: ReferenceTypeEnum;
22
+ verificateReference: boolean;
23
+ default: boolean
24
+ }
25
+
26
+ export class TransactionModelResponse {
27
+ category: string;
28
+ subcategory: string;
29
+ logo: string;
30
+ description: string;
31
+ paymentAccountNumber: string;
32
+ provider: Provider;
33
+ benefitId: string;
34
+ productoDTOList: ProductoDTO[];
35
+ currencyId: CurrencyId;
36
+ serviceCountryId: string;
37
+ }
38
+
39
+ export class GetFavoritesParamsResponse {
40
+ items: TransactionModelResponse[]
41
+ }
@@ -0,0 +1,4 @@
1
+ export enum AmountTypeEnum {
2
+ FIXED = 'FIXED',
3
+ VARIABLE = 'VARIABLE',
4
+ }
@@ -0,0 +1,7 @@
1
+ export enum ReferenceTypeEnum {
2
+ PHONE = 'PHONE',
3
+ CLIENT_NUMBER = 'CLIENT_NUMBER',
4
+ BARCODE = 'BARCODE',
5
+ PHONE_AND_REFERENCE = 'PHONE_AND_REFERENCE',
6
+ REFERENCE_AND_BARCODE = 'REFERENCE_AND_BARCODE',
7
+ }
@@ -1,8 +1,13 @@
1
1
  //Enums
2
2
  export * from './enums/ServicePaymentStatusEnum';
3
+ export * from './enums/ReferenceTypeEnum';
4
+ export * from './enums/AmountTypeEnum';
5
+
3
6
 
4
7
  //DTOs
5
8
  export * from './dtos/ServicePaymentRequest';
6
9
  export * from './dtos/GetCatalogParams';
10
+ export * from './dtos/GetFavoritesParams';
7
11
  export * from './dtos/ReferenceVerificationRequest';
8
- export * from './dtos/ReferenceVerificationResponse';
12
+ export * from './dtos/ReferenceVerificationResponse';
13
+ export * from './dtos/GetFavoritesParamsResponse';