@fiado/type-kit 2.1.28 → 2.1.30

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.
@@ -2,4 +2,5 @@ export declare class SignUpBackofficeRequest {
2
2
  fullName: string;
3
3
  jobTitle: string;
4
4
  email: string;
5
+ appDirectoryId?: string;
5
6
  }
@@ -28,3 +28,8 @@ __decorate([
28
28
  (0, class_validator_1.IsNotEmpty)(),
29
29
  __metadata("design:type", String)
30
30
  ], SignUpBackofficeRequest.prototype, "email", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ __metadata("design:type", String)
35
+ ], SignUpBackofficeRequest.prototype, "appDirectoryId", void 0);
@@ -0,0 +1,8 @@
1
+ export declare class JwkKey {
2
+ kty: string;
3
+ use: string;
4
+ alg: string;
5
+ kid: string;
6
+ n: string;
7
+ e: string;
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JwkKey = void 0;
4
+ class JwkKey {
5
+ }
6
+ exports.JwkKey = JwkKey;
@@ -0,0 +1 @@
1
+ export * from "./dtos/JwkKey";
@@ -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/JwkKey"), exports);
package/bin/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * as Crypto from './crypto';
1
2
  export * as Account from './account';
2
3
  export * as Activity from './activity';
3
4
  export * as Beneficiary from './beneficiary';
package/bin/index.js CHANGED
@@ -33,8 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.InvoiceCollector = 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 = void 0;
37
- exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = void 0;
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.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = void 0;
38
+ exports.Crypto = __importStar(require("./crypto"));
38
39
  exports.Account = __importStar(require("./account"));
39
40
  exports.Activity = __importStar(require("./activity"));
40
41
  exports.Beneficiary = __importStar(require("./beneficiary"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.1.28",
3
+ "version": "2.1.30",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- import { IsNotEmpty, IsString } from 'class-validator';
3
+ import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
4
4
 
5
5
  export class SignUpBackofficeRequest {
6
6
 
@@ -14,5 +14,9 @@ export class SignUpBackofficeRequest {
14
14
  @IsString()
15
15
  @IsNotEmpty()
16
16
  email: string;
17
-
17
+
18
+ @IsString()
19
+ @IsOptional()
20
+ appDirectoryId?: string;
21
+
18
22
  }
@@ -0,0 +1,8 @@
1
+ export class JwkKey {
2
+ kty: string; // Key Type (e.g., "RSA")
3
+ use: string; // Public Key Use (e.g., "enc" for encryption)
4
+ alg: string; // Algorithm (e.g., "RSA-OAEP-256")
5
+ kid: string; // Key ID
6
+ n: string; // RSA modulus (Base64URL encoded)
7
+ e: string; // RSA exponent (Base64URL encoded)
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./dtos/JwkKey";
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Company } from './company/enums/Company';
2
2
 
3
+ export * as Crypto from './crypto';
3
4
  export * as Account from './account';
4
5
  export * as Activity from './activity';
5
6
  export * as Beneficiary from './beneficiary';
@@ -54,4 +55,4 @@ export * as DirectorySetting from './directorySetting';
54
55
  export * as Cnbv from './cnbv';
55
56
  export * as PayrollBusiness from './payroll-business';
56
57
  export * as Event from './event';
57
- export * as NotificationWS from './notificationWS';
58
+ export * as NotificationWS from './notificationWS';