@fiado/type-kit 3.1.6 → 3.1.8

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,8 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.CardUpdateKeyConstraint = exports.IsReasonRequiredForCancelledStatusConstraint = void 0;
10
- exports.IsValueValid = IsValueValid;
9
+ exports.IsValueValid = exports.CardUpdateKeyConstraint = exports.IsReasonRequiredForCancelledStatusConstraint = void 0;
11
10
  const class_validator_1 = require("class-validator");
12
11
  const Status_1 = require("../enums/Status");
13
12
  const UpdateKey_1 = require("../enums/UpdateKey");
@@ -71,3 +70,4 @@ function IsValueValid(validationOptions) {
71
70
  });
72
71
  };
73
72
  }
73
+ exports.IsValueValid = IsValueValid;
@@ -6,8 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.IsPhoneNumberConstraint = void 0;
10
- exports.IsPhoneNumberFiado = IsPhoneNumberFiado;
9
+ exports.IsPhoneNumberFiado = exports.IsPhoneNumberConstraint = void 0;
11
10
  const class_validator_1 = require("class-validator");
12
11
  const regex_1 = require("../../helpers/constans/regex");
13
12
  let IsPhoneNumberConstraint = class IsPhoneNumberConstraint {
@@ -37,3 +36,4 @@ function IsPhoneNumberFiado(validationOptions) {
37
36
  });
38
37
  };
39
38
  }
39
+ exports.IsPhoneNumberFiado = IsPhoneNumberFiado;
package/bin/index.d.ts CHANGED
@@ -63,3 +63,4 @@ export * as PlatformErrorEvents from './platformErrorEvents';
63
63
  export * as TeamsConnector from './teamsConnector';
64
64
  export * as Funnel from './funnel';
65
65
  export * as AiEngine from './aiEngine';
66
+ export * as Sentry from './sentry';
package/bin/index.js CHANGED
@@ -15,26 +15,16 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
35
25
  Object.defineProperty(exports, "__esModule", { value: true });
36
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;
37
- exports.AiEngine = 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;
27
+ exports.Sentry = exports.AiEngine = 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;
38
28
  exports.Crypto = __importStar(require("./crypto"));
39
29
  exports.Account = __importStar(require("./account"));
40
30
  exports.Activity = __importStar(require("./activity"));
@@ -100,3 +90,4 @@ exports.PlatformErrorEvents = __importStar(require("./platformErrorEvents"));
100
90
  exports.TeamsConnector = __importStar(require("./teamsConnector"));
101
91
  exports.Funnel = __importStar(require("./funnel"));
102
92
  exports.AiEngine = __importStar(require("./aiEngine"));
93
+ exports.Sentry = __importStar(require("./sentry"));
@@ -0,0 +1,13 @@
1
+ export interface SentryErrorOrigin {
2
+ layer: string;
3
+ class: string;
4
+ method: string;
5
+ }
6
+ export declare class SentryAnalysisResult {
7
+ rootCause: string;
8
+ errorOrigin: SentryErrorOrigin;
9
+ suggestedFix: string[];
10
+ impactLevel: string;
11
+ executiveSummary: string;
12
+ issueInsights: string;
13
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SentryAnalysisResult = void 0;
4
+ class SentryAnalysisResult {
5
+ }
6
+ exports.SentryAnalysisResult = SentryAnalysisResult;
@@ -0,0 +1,3 @@
1
+ export declare class SentryIssueAnalyzeRequest {
2
+ issueId: string;
3
+ }
@@ -0,0 +1,21 @@
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.SentryIssueAnalyzeRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class SentryIssueAnalyzeRequest {
15
+ }
16
+ exports.SentryIssueAnalyzeRequest = SentryIssueAnalyzeRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], SentryIssueAnalyzeRequest.prototype, "issueId", void 0);
@@ -0,0 +1,6 @@
1
+ import { SentryAnalysisResult } from "./SentryAnalysisResult";
2
+ export declare class SentryIssueAnalyzeResponse {
3
+ issueId: string;
4
+ analyzedAt: string;
5
+ analysis: SentryAnalysisResult;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SentryIssueAnalyzeResponse = void 0;
4
+ class SentryIssueAnalyzeResponse {
5
+ }
6
+ exports.SentryIssueAnalyzeResponse = SentryIssueAnalyzeResponse;
@@ -0,0 +1,3 @@
1
+ export * from './dtos/SentryIssueAnalyzeRequest';
2
+ export * from './dtos/SentryIssueAnalyzeResponse';
3
+ export * from './dtos/SentryAnalysisResult';
@@ -0,0 +1,20 @@
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/SentryIssueAnalyzeRequest"), exports);
19
+ __exportStar(require("./dtos/SentryIssueAnalyzeResponse"), exports);
20
+ __exportStar(require("./dtos/SentryAnalysisResult"), exports);
@@ -1,4 +1,5 @@
1
1
  export declare enum BusinessNameEnum {
2
2
  FIADOSA = "FIADOSA",
3
- PAGO_CONFIADO = "PAGO_CONFIADO"
3
+ PAGO_CONFIADO = "PAGO_CONFIADO",
4
+ FIADOINC = "FIADO_INC"
4
5
  }
@@ -5,4 +5,5 @@ var BusinessNameEnum;
5
5
  (function (BusinessNameEnum) {
6
6
  BusinessNameEnum["FIADOSA"] = "FIADOSA";
7
7
  BusinessNameEnum["PAGO_CONFIADO"] = "PAGO_CONFIADO";
8
+ BusinessNameEnum["FIADOINC"] = "FIADO_INC";
8
9
  })(BusinessNameEnum || (exports.BusinessNameEnum = BusinessNameEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
package/src/index.ts CHANGED
@@ -63,3 +63,4 @@ export * as PlatformErrorEvents from './platformErrorEvents';
63
63
  export * as TeamsConnector from './teamsConnector';
64
64
  export * as Funnel from './funnel';
65
65
  export * as AiEngine from './aiEngine';
66
+ export * as Sentry from './sentry';
@@ -0,0 +1,14 @@
1
+ export interface SentryErrorOrigin {
2
+ layer: string;
3
+ class: string;
4
+ method: string;
5
+ }
6
+
7
+ export class SentryAnalysisResult {
8
+ rootCause: string;
9
+ errorOrigin: SentryErrorOrigin;
10
+ suggestedFix: string[];
11
+ impactLevel: string;
12
+ executiveSummary: string;
13
+ issueInsights: string;
14
+ }
@@ -0,0 +1,7 @@
1
+ import { IsNotEmpty, IsString } from "class-validator";
2
+
3
+ export class SentryIssueAnalyzeRequest {
4
+ @IsString()
5
+ @IsNotEmpty()
6
+ issueId: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { SentryAnalysisResult } from "./SentryAnalysisResult";
2
+
3
+ export class SentryIssueAnalyzeResponse {
4
+ issueId: string;
5
+ analyzedAt: string;
6
+ analysis: SentryAnalysisResult;
7
+ }
@@ -0,0 +1,4 @@
1
+ //dtos
2
+ export * from './dtos/SentryIssueAnalyzeRequest';
3
+ export * from './dtos/SentryIssueAnalyzeResponse';
4
+ export * from './dtos/SentryAnalysisResult';
@@ -1,4 +1,5 @@
1
1
  export enum BusinessNameEnum {
2
2
  FIADOSA = "FIADOSA",
3
3
  PAGO_CONFIADO = "PAGO_CONFIADO",
4
+ FIADOINC = "FIADO_INC"
4
5
  }