@fiado/type-kit 2.1.27 → 2.1.29

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.
@@ -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);
@@ -6,4 +6,5 @@ export declare class DirectoryBackofficeUpdateRequest {
6
6
  status?: DirectoryBackofficeStatusEnum;
7
7
  identityId?: string;
8
8
  updatedBy?: string;
9
+ typeOfDirectoryId?: string;
9
10
  }
@@ -47,3 +47,8 @@ __decorate([
47
47
  (0, class_validator_1.IsNotEmpty)(),
48
48
  __metadata("design:type", String)
49
49
  ], DirectoryBackofficeUpdateRequest.prototype, "updatedBy", void 0);
50
+ __decorate([
51
+ (0, class_validator_1.IsString)(),
52
+ (0, class_validator_1.IsOptional)(),
53
+ __metadata("design:type", String)
54
+ ], DirectoryBackofficeUpdateRequest.prototype, "typeOfDirectoryId", void 0);
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.27",
3
+ "version": "2.1.29",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -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";
@@ -31,4 +31,10 @@ export class DirectoryBackofficeUpdateRequest {
31
31
  @IsNotEmpty()
32
32
  updatedBy?: string;
33
33
 
34
+ @IsString()
35
+ @IsOptional()
36
+ typeOfDirectoryId?: string;
37
+
38
+
39
+
34
40
  }
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';
@@ -1,13 +0,0 @@
1
- export declare class SignUpBackofficeRequest {
2
- name: string;
3
- phoneNumber: string;
4
- countryOfBirth: string;
5
- MEX_DebitAccountWish: boolean;
6
- USA_DebitAccountWish: boolean;
7
- countryOfDomicile: string;
8
- myReferralCode?: string;
9
- referralCode?: string;
10
- groupId?: string;
11
- isAgent: boolean;
12
- agentGroupId?: string;
13
- }
@@ -1,71 +0,0 @@
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.SignUpBackofficeRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class SignUpBackofficeRequest {
15
- }
16
- exports.SignUpBackofficeRequest = SignUpBackofficeRequest;
17
- __decorate([
18
- (0, class_validator_1.IsString)(),
19
- (0, class_validator_1.IsNotEmpty)(),
20
- __metadata("design:type", String)
21
- ], SignUpBackofficeRequest.prototype, "name", void 0);
22
- __decorate([
23
- (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.IsNotEmpty)(),
25
- __metadata("design:type", String)
26
- ], SignUpBackofficeRequest.prototype, "phoneNumber", void 0);
27
- __decorate([
28
- (0, class_validator_1.IsString)(),
29
- (0, class_validator_1.IsNotEmpty)(),
30
- __metadata("design:type", String)
31
- ], SignUpBackofficeRequest.prototype, "countryOfBirth", void 0);
32
- __decorate([
33
- (0, class_validator_1.IsBoolean)(),
34
- (0, class_validator_1.IsNotEmpty)(),
35
- __metadata("design:type", Boolean)
36
- ], SignUpBackofficeRequest.prototype, "MEX_DebitAccountWish", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsBoolean)(),
39
- (0, class_validator_1.IsNotEmpty)(),
40
- __metadata("design:type", Boolean)
41
- ], SignUpBackofficeRequest.prototype, "USA_DebitAccountWish", void 0);
42
- __decorate([
43
- (0, class_validator_1.IsString)(),
44
- (0, class_validator_1.IsNotEmpty)(),
45
- __metadata("design:type", String)
46
- ], SignUpBackofficeRequest.prototype, "countryOfDomicile", void 0);
47
- __decorate([
48
- (0, class_validator_1.IsString)(),
49
- (0, class_validator_1.IsOptional)(),
50
- __metadata("design:type", String)
51
- ], SignUpBackofficeRequest.prototype, "myReferralCode", void 0);
52
- __decorate([
53
- (0, class_validator_1.IsString)(),
54
- (0, class_validator_1.IsOptional)(),
55
- __metadata("design:type", String)
56
- ], SignUpBackofficeRequest.prototype, "referralCode", void 0);
57
- __decorate([
58
- (0, class_validator_1.IsString)(),
59
- (0, class_validator_1.IsOptional)(),
60
- __metadata("design:type", String)
61
- ], SignUpBackofficeRequest.prototype, "groupId", void 0);
62
- __decorate([
63
- (0, class_validator_1.IsBoolean)(),
64
- (0, class_validator_1.IsNotEmpty)(),
65
- __metadata("design:type", Boolean)
66
- ], SignUpBackofficeRequest.prototype, "isAgent", void 0);
67
- __decorate([
68
- (0, class_validator_1.IsString)(),
69
- (0, class_validator_1.IsOptional)(),
70
- __metadata("design:type", String)
71
- ], SignUpBackofficeRequest.prototype, "agentGroupId", void 0);