@fiado/type-kit 3.0.15 → 3.0.16

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
@@ -60,3 +60,4 @@ export * as ComissionBusiness from './comission-business';
60
60
  export * as Credit from './credit';
61
61
  export * as CreditEngine from './creditEngine';
62
62
  export * as PlatformErrorEvents from './platformErrorEvents';
63
+ export * as TeamsConnector from './teamsConnector';
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.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.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"));
@@ -97,3 +97,4 @@ exports.ComissionBusiness = __importStar(require("./comission-business"));
97
97
  exports.Credit = __importStar(require("./credit"));
98
98
  exports.CreditEngine = __importStar(require("./creditEngine"));
99
99
  exports.PlatformErrorEvents = __importStar(require("./platformErrorEvents"));
100
+ exports.TeamsConnector = __importStar(require("./teamsConnector"));
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Metadata adicional para notificaciones de Teams
3
+ */
4
+ export interface NotificationMetadata {
5
+ origin?: string;
6
+ severity?: 'info' | 'warning' | 'error' | 'critical';
7
+ requestId?: string;
8
+ traceId?: string;
9
+ timestamp?: string;
10
+ [key: string]: unknown;
11
+ }
12
+ /**
13
+ * Mensaje para publicar notificaciones al teams-connector via SQS
14
+ */
15
+ export declare class TeamsNotificationRequest {
16
+ /** Texto del mensaje de notificación */
17
+ message: string;
18
+ /** Nombre del canal de Teams */
19
+ channel: string;
20
+ /** Título opcional del mensaje */
21
+ title?: string;
22
+ /** Metadata adicional de contexto */
23
+ metadata?: NotificationMetadata;
24
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TeamsNotificationRequest = void 0;
4
+ /**
5
+ * Mensaje para publicar notificaciones al teams-connector via SQS
6
+ */
7
+ class TeamsNotificationRequest {
8
+ }
9
+ exports.TeamsNotificationRequest = TeamsNotificationRequest;
@@ -0,0 +1 @@
1
+ export * from './dtos/internal/TeamsNotificationRequest';
@@ -0,0 +1,17 @@
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
+ __exportStar(require("./dtos/internal/TeamsNotificationRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.0.15",
3
+ "version": "3.0.16",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
package/src/index.ts CHANGED
@@ -60,3 +60,4 @@ export * as ComissionBusiness from './comission-business';
60
60
  export * as Credit from './credit';
61
61
  export * as CreditEngine from './creditEngine';
62
62
  export * as PlatformErrorEvents from './platformErrorEvents';
63
+ export * as TeamsConnector from './teamsConnector';
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Metadata adicional para notificaciones de Teams
3
+ */
4
+ export interface NotificationMetadata {
5
+ origin?: string;
6
+ severity?: 'info' | 'warning' | 'error' | 'critical';
7
+ requestId?: string;
8
+ traceId?: string;
9
+ timestamp?: string;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ /**
14
+ * Mensaje para publicar notificaciones al teams-connector via SQS
15
+ */
16
+ export class TeamsNotificationRequest {
17
+ /** Texto del mensaje de notificación */
18
+ message: string;
19
+ /** Nombre del canal de Teams */
20
+ channel: string;
21
+ /** Título opcional del mensaje */
22
+ title?: string;
23
+ /** Metadata adicional de contexto */
24
+ metadata?: NotificationMetadata;
25
+ }
@@ -0,0 +1 @@
1
+ export * from './dtos/internal/TeamsNotificationRequest';