@fiado/type-kit 3.1.5 → 3.1.7

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/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
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  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;
37
+ 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
38
  exports.Crypto = __importStar(require("./crypto"));
39
39
  exports.Account = __importStar(require("./account"));
40
40
  exports.Activity = __importStar(require("./activity"));
@@ -100,3 +100,4 @@ exports.PlatformErrorEvents = __importStar(require("./platformErrorEvents"));
100
100
  exports.TeamsConnector = __importStar(require("./teamsConnector"));
101
101
  exports.Funnel = __importStar(require("./funnel"));
102
102
  exports.AiEngine = __importStar(require("./aiEngine"));
103
+ 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,25 @@
1
+ export declare class SentryIssueItem {
2
+ id: string;
3
+ shortId: string;
4
+ title: string;
5
+ culprit: string;
6
+ level: string;
7
+ status: string;
8
+ platform: string;
9
+ firstSeen: string;
10
+ lastSeen: string;
11
+ count: string;
12
+ userCount: number;
13
+ project: {
14
+ id: string;
15
+ name: string;
16
+ slug: string;
17
+ };
18
+ metadata: {
19
+ type?: string;
20
+ value?: string;
21
+ filename?: string;
22
+ function?: string;
23
+ };
24
+ permalink: string;
25
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SentryIssueItem = void 0;
4
+ class SentryIssueItem {
5
+ }
6
+ exports.SentryIssueItem = SentryIssueItem;
@@ -0,0 +1,6 @@
1
+ export declare enum ImpactLevelEnum {
2
+ LOW = "LOW",
3
+ MEDIUM = "MEDIUM",
4
+ HIGH = "HIGH",
5
+ CRITICAL = "CRITICAL"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImpactLevelEnum = void 0;
4
+ var ImpactLevelEnum;
5
+ (function (ImpactLevelEnum) {
6
+ ImpactLevelEnum["LOW"] = "LOW";
7
+ ImpactLevelEnum["MEDIUM"] = "MEDIUM";
8
+ ImpactLevelEnum["HIGH"] = "HIGH";
9
+ ImpactLevelEnum["CRITICAL"] = "CRITICAL";
10
+ })(ImpactLevelEnum || (exports.ImpactLevelEnum = ImpactLevelEnum = {}));
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
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';