@fiado/type-kit 3.0.24 → 3.0.25
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.
- package/bin/servicePayment/dtos/FavoriteResponse.d.ts +38 -0
- package/bin/servicePayment/dtos/FavoriteResponse.js +12 -0
- package/bin/servicePayment/enums/ReferenceTypeEnum.d.ts +7 -0
- package/bin/servicePayment/enums/ReferenceTypeEnum.js +11 -0
- package/bin/servicePayment/enums/amountTypeEnum.d.ts +4 -0
- package/bin/servicePayment/enums/amountTypeEnum.js +8 -0
- package/bin/servicePayment/index.d.ts +3 -0
- package/bin/servicePayment/index.js +3 -0
- package/package.json +1 -1
- package/src/servicePayment/dtos/FavoriteResponse.ts +41 -0
- package/src/servicePayment/enums/AmountTypeEnum.ts +4 -0
- package/src/servicePayment/enums/ReferenceTypeEnum.ts +7 -0
- package/src/servicePayment/index.ts +5 -1
|
@@ -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,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,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,8 @@
|
|
|
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';
|
|
4
6
|
export * from './dtos/ReferenceVerificationRequest';
|
|
5
7
|
export * from './dtos/ReferenceVerificationResponse';
|
|
8
|
+
export * from './dtos/FavoriteResponse';
|
|
@@ -16,8 +16,11 @@ 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);
|
|
22
24
|
__exportStar(require("./dtos/ReferenceVerificationRequest"), exports);
|
|
23
25
|
__exportStar(require("./dtos/ReferenceVerificationResponse"), exports);
|
|
26
|
+
__exportStar(require("./dtos/FavoriteResponse"), exports);
|
package/package.json
CHANGED
|
@@ -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 FavoriteResponse {
|
|
40
|
+
items: TransactionModelResponse[]
|
|
41
|
+
}
|
|
@@ -1,8 +1,12 @@
|
|
|
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';
|
|
7
10
|
export * from './dtos/ReferenceVerificationRequest';
|
|
8
|
-
export * from './dtos/ReferenceVerificationResponse';
|
|
11
|
+
export * from './dtos/ReferenceVerificationResponse';
|
|
12
|
+
export * from './dtos/FavoriteResponse';
|