@fiado/type-kit 3.0.21 → 3.0.23

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 (31) hide show
  1. package/bin/funnel/dtos/AttributionCreateRequest.d.ts +20 -0
  2. package/bin/funnel/dtos/AttributionCreateRequest.js +94 -0
  3. package/bin/funnel/dtos/AttributionCreateResponse.d.ts +8 -0
  4. package/bin/funnel/dtos/AttributionCreateResponse.js +9 -0
  5. package/bin/funnel/dtos/AttributionDetailResponse.d.ts +23 -0
  6. package/bin/funnel/dtos/AttributionDetailResponse.js +9 -0
  7. package/bin/funnel/dtos/AttributionListResponse.d.ts +12 -0
  8. package/bin/funnel/dtos/AttributionListResponse.js +9 -0
  9. package/bin/funnel/dtos/AttributionStatsResponse.d.ts +26 -0
  10. package/bin/funnel/dtos/AttributionStatsResponse.js +9 -0
  11. package/bin/funnel/index.d.ts +5 -0
  12. package/bin/funnel/index.js +22 -0
  13. package/bin/index.d.ts +1 -0
  14. package/bin/index.js +2 -1
  15. package/bin/servicePayment/dtos/ReferenceVerificationRequest.d.ts +5 -0
  16. package/bin/servicePayment/dtos/ReferenceVerificationRequest.js +31 -0
  17. package/bin/servicePayment/dtos/ReferenceVerificationResponse.d.ts +4 -0
  18. package/bin/servicePayment/dtos/ReferenceVerificationResponse.js +6 -0
  19. package/bin/servicePayment/index.d.ts +2 -0
  20. package/bin/servicePayment/index.js +2 -0
  21. package/package.json +1 -1
  22. package/src/funnel/dtos/AttributionCreateRequest.ts +67 -0
  23. package/src/funnel/dtos/AttributionCreateResponse.ts +8 -0
  24. package/src/funnel/dtos/AttributionDetailResponse.ts +23 -0
  25. package/src/funnel/dtos/AttributionListResponse.ts +13 -0
  26. package/src/funnel/dtos/AttributionStatsResponse.ts +11 -0
  27. package/src/funnel/index.ts +6 -0
  28. package/src/index.ts +1 -0
  29. package/src/servicePayment/dtos/ReferenceVerificationRequest.ts +17 -0
  30. package/src/servicePayment/dtos/ReferenceVerificationResponse.ts +5 -0
  31. package/src/servicePayment/index.ts +3 -1
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Request para crear un registro de atribución de AppsFlyer
3
+ */
4
+ export declare class AttributionCreateRequest {
5
+ directoryId: string;
6
+ phoneNumber?: string;
7
+ referralCode?: string;
8
+ promotionName?: string;
9
+ placement?: string;
10
+ campaignMonth?: string;
11
+ sharedBy?: string;
12
+ geoSegment?: string;
13
+ mediaSource?: string;
14
+ campaign?: string;
15
+ clickTime?: string;
16
+ installTime?: string;
17
+ isFirstLaunch?: boolean;
18
+ afStatus?: string;
19
+ shortlink?: string;
20
+ }
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AttributionCreateRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * Request para crear un registro de atribución de AppsFlyer
16
+ */
17
+ class AttributionCreateRequest {
18
+ }
19
+ exports.AttributionCreateRequest = AttributionCreateRequest;
20
+ __decorate([
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], AttributionCreateRequest.prototype, "directoryId", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_validator_1.IsString)(),
28
+ __metadata("design:type", String)
29
+ ], AttributionCreateRequest.prototype, "phoneNumber", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsOptional)(),
32
+ (0, class_validator_1.IsString)(),
33
+ __metadata("design:type", String)
34
+ ], AttributionCreateRequest.prototype, "referralCode", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_validator_1.IsString)(),
38
+ __metadata("design:type", String)
39
+ ], AttributionCreateRequest.prototype, "promotionName", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsString)(),
43
+ __metadata("design:type", String)
44
+ ], AttributionCreateRequest.prototype, "placement", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsString)(),
48
+ __metadata("design:type", String)
49
+ ], AttributionCreateRequest.prototype, "campaignMonth", void 0);
50
+ __decorate([
51
+ (0, class_validator_1.IsOptional)(),
52
+ (0, class_validator_1.IsString)(),
53
+ __metadata("design:type", String)
54
+ ], AttributionCreateRequest.prototype, "sharedBy", void 0);
55
+ __decorate([
56
+ (0, class_validator_1.IsOptional)(),
57
+ (0, class_validator_1.IsString)(),
58
+ __metadata("design:type", String)
59
+ ], AttributionCreateRequest.prototype, "geoSegment", void 0);
60
+ __decorate([
61
+ (0, class_validator_1.IsOptional)(),
62
+ (0, class_validator_1.IsString)(),
63
+ __metadata("design:type", String)
64
+ ], AttributionCreateRequest.prototype, "mediaSource", void 0);
65
+ __decorate([
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsString)(),
68
+ __metadata("design:type", String)
69
+ ], AttributionCreateRequest.prototype, "campaign", void 0);
70
+ __decorate([
71
+ (0, class_validator_1.IsOptional)(),
72
+ (0, class_validator_1.IsString)(),
73
+ __metadata("design:type", String)
74
+ ], AttributionCreateRequest.prototype, "clickTime", void 0);
75
+ __decorate([
76
+ (0, class_validator_1.IsOptional)(),
77
+ (0, class_validator_1.IsString)(),
78
+ __metadata("design:type", String)
79
+ ], AttributionCreateRequest.prototype, "installTime", void 0);
80
+ __decorate([
81
+ (0, class_validator_1.IsOptional)(),
82
+ (0, class_validator_1.IsBoolean)(),
83
+ __metadata("design:type", Boolean)
84
+ ], AttributionCreateRequest.prototype, "isFirstLaunch", void 0);
85
+ __decorate([
86
+ (0, class_validator_1.IsOptional)(),
87
+ (0, class_validator_1.IsString)(),
88
+ __metadata("design:type", String)
89
+ ], AttributionCreateRequest.prototype, "afStatus", void 0);
90
+ __decorate([
91
+ (0, class_validator_1.IsOptional)(),
92
+ (0, class_validator_1.IsString)(),
93
+ __metadata("design:type", String)
94
+ ], AttributionCreateRequest.prototype, "shortlink", void 0);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Response de creación de registro de atribución
3
+ */
4
+ export declare class AttributionCreateResponse {
5
+ id: string;
6
+ directoryId: string;
7
+ createdAt: number;
8
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttributionCreateResponse = void 0;
4
+ /**
5
+ * Response de creación de registro de atribución
6
+ */
7
+ class AttributionCreateResponse {
8
+ }
9
+ exports.AttributionCreateResponse = AttributionCreateResponse;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Response con detalle completo de un registro de atribución
3
+ */
4
+ export declare class AttributionDetailResponse {
5
+ id: string;
6
+ directoryId: string;
7
+ phoneNumber: string | null;
8
+ referralCode: string | null;
9
+ promotionName: string | null;
10
+ placement: string | null;
11
+ campaignMonth: string | null;
12
+ sharedBy: string | null;
13
+ geoSegment: string | null;
14
+ mediaSource: string | null;
15
+ campaign: string | null;
16
+ clickTime: string | null;
17
+ installTime: string | null;
18
+ isFirstLaunch: boolean | null;
19
+ afStatus: string | null;
20
+ shortlink: string | null;
21
+ createdAt: number;
22
+ updatedAt: number;
23
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttributionDetailResponse = void 0;
4
+ /**
5
+ * Response con detalle completo de un registro de atribución
6
+ */
7
+ class AttributionDetailResponse {
8
+ }
9
+ exports.AttributionDetailResponse = AttributionDetailResponse;
@@ -0,0 +1,12 @@
1
+ import { AttributionDetailResponse } from './AttributionDetailResponse';
2
+ /**
3
+ * Response con listado paginado de registros de atribución
4
+ */
5
+ export declare class AttributionListResponse {
6
+ items: AttributionDetailResponse[];
7
+ pagination: {
8
+ page: number;
9
+ limit: number;
10
+ total: number;
11
+ };
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttributionListResponse = void 0;
4
+ /**
5
+ * Response con listado paginado de registros de atribución
6
+ */
7
+ class AttributionListResponse {
8
+ }
9
+ exports.AttributionListResponse = AttributionListResponse;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Response con estadísticas agregadas de atribución
3
+ */
4
+ export declare class AttributionStatsResponse {
5
+ totalRecords: number;
6
+ byCampaign: {
7
+ campaign: string;
8
+ count: number;
9
+ }[];
10
+ byMediaSource: {
11
+ mediaSource: string;
12
+ count: number;
13
+ }[];
14
+ byGeoSegment: {
15
+ geoSegment: string;
16
+ count: number;
17
+ }[];
18
+ byAfStatus: {
19
+ afStatus: string;
20
+ count: number;
21
+ }[];
22
+ byCampaignMonth: {
23
+ campaignMonth: string;
24
+ count: number;
25
+ }[];
26
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttributionStatsResponse = void 0;
4
+ /**
5
+ * Response con estadísticas agregadas de atribución
6
+ */
7
+ class AttributionStatsResponse {
8
+ }
9
+ exports.AttributionStatsResponse = AttributionStatsResponse;
@@ -0,0 +1,5 @@
1
+ export * from './dtos/AttributionCreateRequest';
2
+ export * from './dtos/AttributionCreateResponse';
3
+ export * from './dtos/AttributionDetailResponse';
4
+ export * from './dtos/AttributionListResponse';
5
+ export * from './dtos/AttributionStatsResponse';
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // dtos
18
+ __exportStar(require("./dtos/AttributionCreateRequest"), exports);
19
+ __exportStar(require("./dtos/AttributionCreateResponse"), exports);
20
+ __exportStar(require("./dtos/AttributionDetailResponse"), exports);
21
+ __exportStar(require("./dtos/AttributionListResponse"), exports);
22
+ __exportStar(require("./dtos/AttributionStatsResponse"), exports);
package/bin/index.d.ts CHANGED
@@ -61,3 +61,4 @@ export * as Credit from './credit';
61
61
  export * as CreditEngine from './creditEngine';
62
62
  export * as PlatformErrorEvents from './platformErrorEvents';
63
63
  export * as TeamsConnector from './teamsConnector';
64
+ export * as Funnel from './funnel';
package/bin/index.js CHANGED
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Collector = exports.Pricelist = exports.Company = exports.Services = exports.AccountIssuanceBusiness = exports.AppSelectionData = exports.Device = exports.Observations = exports.IssuanceBusiness = exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = exports.Crypto = void 0;
27
- exports.TeamsConnector = exports.PlatformErrorEvents = exports.CreditEngine = exports.Credit = exports.ComissionBusiness = exports.ReferralBusiness = exports.ZendeskMessaging = exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = void 0;
27
+ exports.Funnel = exports.TeamsConnector = exports.PlatformErrorEvents = exports.CreditEngine = exports.Credit = exports.ComissionBusiness = exports.ReferralBusiness = exports.ZendeskMessaging = exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = void 0;
28
28
  exports.Crypto = __importStar(require("./crypto"));
29
29
  exports.Account = __importStar(require("./account"));
30
30
  exports.Activity = __importStar(require("./activity"));
@@ -88,3 +88,4 @@ exports.Credit = __importStar(require("./credit"));
88
88
  exports.CreditEngine = __importStar(require("./creditEngine"));
89
89
  exports.PlatformErrorEvents = __importStar(require("./platformErrorEvents"));
90
90
  exports.TeamsConnector = __importStar(require("./teamsConnector"));
91
+ exports.Funnel = __importStar(require("./funnel"));
@@ -0,0 +1,5 @@
1
+ export declare class ReferenceVerificationRequest {
2
+ idProducto: number;
3
+ idServicio: number;
4
+ referenceNumber: string;
5
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReferenceVerificationRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ReferenceVerificationRequest {
15
+ }
16
+ exports.ReferenceVerificationRequest = ReferenceVerificationRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsNumber)(),
20
+ __metadata("design:type", Number)
21
+ ], ReferenceVerificationRequest.prototype, "idProducto", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsNumber)(),
25
+ __metadata("design:type", Number)
26
+ ], ReferenceVerificationRequest.prototype, "idServicio", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ (0, class_validator_1.Length)(1, 100),
30
+ __metadata("design:type", String)
31
+ ], ReferenceVerificationRequest.prototype, "referenceNumber", void 0);
@@ -0,0 +1,4 @@
1
+ export declare class ReferenceVerificationResponse {
2
+ amount: number | null;
3
+ validReference: boolean;
4
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReferenceVerificationResponse = void 0;
4
+ class ReferenceVerificationResponse {
5
+ }
6
+ exports.ReferenceVerificationResponse = ReferenceVerificationResponse;
@@ -1,3 +1,5 @@
1
1
  export * from './enums/ServicePaymentStatusEnum';
2
2
  export * from './dtos/ServicePaymentRequest';
3
3
  export * from './dtos/GetCatalogParams';
4
+ export * from './dtos/ReferenceVerificationRequest';
5
+ export * from './dtos/ReferenceVerificationResponse';
@@ -19,3 +19,5 @@ __exportStar(require("./enums/ServicePaymentStatusEnum"), exports);
19
19
  //DTOs
20
20
  __exportStar(require("./dtos/ServicePaymentRequest"), exports);
21
21
  __exportStar(require("./dtos/GetCatalogParams"), exports);
22
+ __exportStar(require("./dtos/ReferenceVerificationRequest"), exports);
23
+ __exportStar(require("./dtos/ReferenceVerificationResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.0.21",
3
+ "version": "3.0.23",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,67 @@
1
+ import { IsBoolean, IsNotEmpty, IsOptional, IsString } from 'class-validator';
2
+
3
+ /**
4
+ * Request para crear un registro de atribución de AppsFlyer
5
+ */
6
+ export class AttributionCreateRequest {
7
+
8
+ @IsNotEmpty()
9
+ @IsString()
10
+ directoryId: string;
11
+
12
+ @IsOptional()
13
+ @IsString()
14
+ phoneNumber?: string;
15
+
16
+ @IsOptional()
17
+ @IsString()
18
+ referralCode?: string;
19
+
20
+ @IsOptional()
21
+ @IsString()
22
+ promotionName?: string;
23
+
24
+ @IsOptional()
25
+ @IsString()
26
+ placement?: string;
27
+
28
+ @IsOptional()
29
+ @IsString()
30
+ campaignMonth?: string;
31
+
32
+ @IsOptional()
33
+ @IsString()
34
+ sharedBy?: string;
35
+
36
+ @IsOptional()
37
+ @IsString()
38
+ geoSegment?: string;
39
+
40
+ @IsOptional()
41
+ @IsString()
42
+ mediaSource?: string;
43
+
44
+ @IsOptional()
45
+ @IsString()
46
+ campaign?: string;
47
+
48
+ @IsOptional()
49
+ @IsString()
50
+ clickTime?: string;
51
+
52
+ @IsOptional()
53
+ @IsString()
54
+ installTime?: string;
55
+
56
+ @IsOptional()
57
+ @IsBoolean()
58
+ isFirstLaunch?: boolean;
59
+
60
+ @IsOptional()
61
+ @IsString()
62
+ afStatus?: string;
63
+
64
+ @IsOptional()
65
+ @IsString()
66
+ shortlink?: string;
67
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Response de creación de registro de atribución
3
+ */
4
+ export class AttributionCreateResponse {
5
+ id: string;
6
+ directoryId: string;
7
+ createdAt: number;
8
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Response con detalle completo de un registro de atribución
3
+ */
4
+ export class AttributionDetailResponse {
5
+ id: string;
6
+ directoryId: string;
7
+ phoneNumber: string | null;
8
+ referralCode: string | null;
9
+ promotionName: string | null;
10
+ placement: string | null;
11
+ campaignMonth: string | null;
12
+ sharedBy: string | null;
13
+ geoSegment: string | null;
14
+ mediaSource: string | null;
15
+ campaign: string | null;
16
+ clickTime: string | null;
17
+ installTime: string | null;
18
+ isFirstLaunch: boolean | null;
19
+ afStatus: string | null;
20
+ shortlink: string | null;
21
+ createdAt: number;
22
+ updatedAt: number;
23
+ }
@@ -0,0 +1,13 @@
1
+ import { AttributionDetailResponse } from './AttributionDetailResponse';
2
+
3
+ /**
4
+ * Response con listado paginado de registros de atribución
5
+ */
6
+ export class AttributionListResponse {
7
+ items: AttributionDetailResponse[];
8
+ pagination: {
9
+ page: number;
10
+ limit: number;
11
+ total: number;
12
+ };
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Response con estadísticas agregadas de atribución
3
+ */
4
+ export class AttributionStatsResponse {
5
+ totalRecords: number;
6
+ byCampaign: { campaign: string; count: number }[];
7
+ byMediaSource: { mediaSource: string; count: number }[];
8
+ byGeoSegment: { geoSegment: string; count: number }[];
9
+ byAfStatus: { afStatus: string; count: number }[];
10
+ byCampaignMonth: { campaignMonth: string; count: number }[];
11
+ }
@@ -0,0 +1,6 @@
1
+ // dtos
2
+ export * from './dtos/AttributionCreateRequest';
3
+ export * from './dtos/AttributionCreateResponse';
4
+ export * from './dtos/AttributionDetailResponse';
5
+ export * from './dtos/AttributionListResponse';
6
+ export * from './dtos/AttributionStatsResponse';
package/src/index.ts CHANGED
@@ -61,3 +61,4 @@ export * as Credit from './credit';
61
61
  export * as CreditEngine from './creditEngine';
62
62
  export * as PlatformErrorEvents from './platformErrorEvents';
63
63
  export * as TeamsConnector from './teamsConnector';
64
+ export * as Funnel from './funnel';
@@ -0,0 +1,17 @@
1
+
2
+ import { IsNotEmpty, IsNumber, Length } from 'class-validator';
3
+
4
+ export class ReferenceVerificationRequest {
5
+
6
+ @IsNotEmpty()
7
+ @IsNumber()
8
+ idProducto: number;
9
+
10
+ @IsNotEmpty()
11
+ @IsNumber()
12
+ idServicio: number;
13
+
14
+ @IsNotEmpty()
15
+ @Length(1, 100)
16
+ referenceNumber: string;
17
+ }
@@ -0,0 +1,5 @@
1
+
2
+ export class ReferenceVerificationResponse {
3
+ amount: number | null;
4
+ validReference: boolean;
5
+ }
@@ -3,4 +3,6 @@ export * from './enums/ServicePaymentStatusEnum';
3
3
 
4
4
  //DTOs
5
5
  export * from './dtos/ServicePaymentRequest';
6
- export * from './dtos/GetCatalogParams';
6
+ export * from './dtos/GetCatalogParams';
7
+ export * from './dtos/ReferenceVerificationRequest';
8
+ export * from './dtos/ReferenceVerificationResponse';