@fiado/type-kit 1.0.7 → 1.0.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.
Files changed (46) hide show
  1. package/bin/account/dtos/AccountCreateResponse.d.ts +3 -0
  2. package/bin/account/dtos/AccountCreateResponse.js +7 -0
  3. package/bin/account/dtos/PocketCreateResponse.d.ts +2 -0
  4. package/bin/account/dtos/PocketCreateResponse.js +6 -0
  5. package/bin/account/index.d.ts +2 -0
  6. package/bin/account/index.js +2 -0
  7. package/bin/app/index.d.ts +1 -0
  8. package/bin/app/index.js +18 -0
  9. package/bin/card/dtos/CardResponse.d.ts +2 -0
  10. package/bin/card/dtos/CardResponse.js +6 -0
  11. package/bin/card/index.d.ts +1 -0
  12. package/bin/card/index.js +1 -0
  13. package/bin/currency/index.d.ts +1 -0
  14. package/bin/currency/index.js +17 -0
  15. package/bin/directory/index.d.ts +2 -0
  16. package/bin/directory/index.js +3 -1
  17. package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.d.ts +3 -0
  18. package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.js +7 -0
  19. package/bin/exchangeRate/index.d.ts +2 -0
  20. package/bin/exchangeRate/index.js +2 -0
  21. package/bin/identity/dtos/PeopleCreateRequest.d.ts +2 -0
  22. package/bin/identity/dtos/PeopleCreateRequest.js +6 -0
  23. package/bin/identity/index.d.ts +6 -0
  24. package/bin/identity/index.js +24 -0
  25. package/bin/index.d.ts +5 -0
  26. package/bin/index.js +6 -1
  27. package/bin/provider/index.d.ts +1 -0
  28. package/bin/provider/index.js +17 -0
  29. package/package.json +1 -1
  30. package/src/account/dtos/AccountCreateResponse.ts +6 -0
  31. package/src/account/dtos/PocketCreateResponse.ts +5 -0
  32. package/src/account/index.ts +2 -0
  33. package/src/app/index.ts +4 -0
  34. package/src/authentication/dtos/SignUpAdditionalRequest.ts +0 -1
  35. package/src/card/dtos/CardResponse.ts +5 -0
  36. package/src/card/index.ts +1 -0
  37. package/src/currency/dtos/CurrencyResponse.ts +0 -1
  38. package/src/currency/index.ts +3 -0
  39. package/src/directory/index.ts +2 -1
  40. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +5 -0
  41. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +0 -2
  42. package/src/exchangeRate/index.ts +2 -0
  43. package/src/identity/dtos/PeopleCreateRequest.ts +5 -0
  44. package/src/identity/index.ts +11 -0
  45. package/src/index.ts +5 -0
  46. package/src/provider/index.ts +2 -0
@@ -0,0 +1,3 @@
1
+ import { AccountResponse } from "./AccountResponse";
2
+ export declare class AccountCreateResponse extends AccountResponse {
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccountCreateResponse = void 0;
4
+ const AccountResponse_1 = require("./AccountResponse");
5
+ class AccountCreateResponse extends AccountResponse_1.AccountResponse {
6
+ }
7
+ exports.AccountCreateResponse = AccountCreateResponse;
@@ -0,0 +1,2 @@
1
+ export declare class PocketCreateResponse {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PocketCreateResponse = void 0;
4
+ class PocketCreateResponse {
5
+ }
6
+ exports.PocketCreateResponse = PocketCreateResponse;
@@ -1,4 +1,6 @@
1
1
  export * from './dtos/AccountResponse';
2
2
  export * from './dtos/AccountCreateRequest';
3
+ export * from './dtos/AccountCreateResponse';
3
4
  export * from './dtos/PocketCreateRequest';
5
+ export * from './dtos/PocketCreateResponse';
4
6
  export * from './enums/AccountStatus';
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  //dtos
18
18
  __exportStar(require("./dtos/AccountResponse"), exports);
19
19
  __exportStar(require("./dtos/AccountCreateRequest"), exports);
20
+ __exportStar(require("./dtos/AccountCreateResponse"), exports);
20
21
  __exportStar(require("./dtos/PocketCreateRequest"), exports);
22
+ __exportStar(require("./dtos/PocketCreateResponse"), exports);
21
23
  //enums
22
24
  __exportStar(require("./enums/AccountStatus"), exports);
@@ -0,0 +1 @@
1
+ export * from './enums/App';
@@ -0,0 +1,18 @@
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
+ //enums
18
+ __exportStar(require("./enums/App"), exports);
@@ -0,0 +1,2 @@
1
+ export declare class CardResponse {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CardResponse = void 0;
4
+ class CardResponse {
5
+ }
6
+ exports.CardResponse = CardResponse;
@@ -4,6 +4,7 @@ export * from './dtos/CardCreateRequest';
4
4
  export * from './dtos/CardUpdateRequest';
5
5
  export * from './dtos/CardCreateAdditionalRequest';
6
6
  export * from './dtos/CardBalanceResponse';
7
+ export * from './dtos/CardResponse';
7
8
  export * from './enums/CardType';
8
9
  export * from './enums/CardUpdateKey';
9
10
  export * from './enums/IssuanceType';
package/bin/card/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./dtos/CardCreateRequest"), exports);
21
21
  __exportStar(require("./dtos/CardUpdateRequest"), exports);
22
22
  __exportStar(require("./dtos/CardCreateAdditionalRequest"), exports);
23
23
  __exportStar(require("./dtos/CardBalanceResponse"), exports);
24
+ __exportStar(require("./dtos/CardResponse"), exports);
24
25
  //enums
25
26
  __exportStar(require("./enums/CardType"), exports);
26
27
  __exportStar(require("./enums/CardUpdateKey"), exports);
@@ -0,0 +1 @@
1
+ export * from './dtos/CurrencyResponse';
@@ -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/CurrencyResponse"), exports);
@@ -1 +1,3 @@
1
+ export * from './dtos/DirectoryResponse';
2
+ export * from './dtos/External';
1
3
  export * from './enums/TypeOfDirectoryId';
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- //dtos
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -15,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
15
  };
17
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ //dtos
18
+ __exportStar(require("./dtos/DirectoryResponse"), exports);
19
+ __exportStar(require("./dtos/External"), exports);
18
20
  //enums
19
21
  __exportStar(require("./enums/TypeOfDirectoryId"), exports);
@@ -0,0 +1,3 @@
1
+ import { ExchangeRateResponse } from "./ExchangeRateResponse";
2
+ export declare class ExchangeRateCreateResponse extends ExchangeRateResponse {
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExchangeRateCreateResponse = void 0;
4
+ const ExchangeRateResponse_1 = require("./ExchangeRateResponse");
5
+ class ExchangeRateCreateResponse extends ExchangeRateResponse_1.ExchangeRateResponse {
6
+ }
7
+ exports.ExchangeRateCreateResponse = ExchangeRateCreateResponse;
@@ -1,2 +1,4 @@
1
1
  export * from './dtos/ExchangeRateResponse';
2
+ export * from './dtos/ExchangeRateCreateRequest';
3
+ export * from './dtos/ExchangeRateCreateResponse';
2
4
  export * from './enums/ExchangeRateStatus';
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  //dtos
18
18
  __exportStar(require("./dtos/ExchangeRateResponse"), exports);
19
+ __exportStar(require("./dtos/ExchangeRateCreateRequest"), exports);
20
+ __exportStar(require("./dtos/ExchangeRateCreateResponse"), exports);
19
21
  //enums
20
22
  __exportStar(require("./enums/ExchangeRateStatus"), exports);
@@ -0,0 +1,2 @@
1
+ export declare class PeopleCreateRequest {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PeopleCreateRequest = void 0;
4
+ class PeopleCreateRequest {
5
+ }
6
+ exports.PeopleCreateRequest = PeopleCreateRequest;
@@ -0,0 +1,6 @@
1
+ export * from './dtos/IdentificationDocument';
2
+ export * from './dtos/PeopleCreateRequest';
3
+ export * from './dtos/PeopleResponse';
4
+ export * from './dtos/TypeOfDocument';
5
+ export * from './enums/IdentificationDocumentStatus';
6
+ export * from './enums/SexDocument';
@@ -0,0 +1,24 @@
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/IdentificationDocument"), exports);
19
+ __exportStar(require("./dtos/PeopleCreateRequest"), exports);
20
+ __exportStar(require("./dtos/PeopleResponse"), exports);
21
+ __exportStar(require("./dtos/TypeOfDocument"), exports);
22
+ //enums
23
+ __exportStar(require("./enums/IdentificationDocumentStatus"), exports);
24
+ __exportStar(require("./enums/SexDocument"), exports);
package/bin/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  export * as Account from './account';
2
2
  export * as Address from './address';
3
+ export * as App from './app';
3
4
  export * as Authentication from './authentication';
4
5
  export * as Card from './card';
5
6
  export * as Country from './country';
7
+ export * as Currency from './currency';
6
8
  export * as Directory from './directory';
9
+ export * as ExchangeRate from './exchangeRate';
10
+ export * as File from './identity';
11
+ export * as Identity from './provider';
package/bin/index.js CHANGED
@@ -23,10 +23,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Directory = exports.Country = exports.Card = exports.Authentication = exports.Address = exports.Account = void 0;
26
+ exports.Identity = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
27
27
  exports.Account = __importStar(require("./account"));
28
28
  exports.Address = __importStar(require("./address"));
29
+ exports.App = __importStar(require("./app"));
29
30
  exports.Authentication = __importStar(require("./authentication"));
30
31
  exports.Card = __importStar(require("./card"));
31
32
  exports.Country = __importStar(require("./country"));
33
+ exports.Currency = __importStar(require("./currency"));
32
34
  exports.Directory = __importStar(require("./directory"));
35
+ exports.ExchangeRate = __importStar(require("./exchangeRate"));
36
+ exports.File = __importStar(require("./identity"));
37
+ exports.Identity = __importStar(require("./provider"));
@@ -0,0 +1 @@
1
+ export * from './enums/Provider';
@@ -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("./enums/Provider"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,6 @@
1
+ import { AccountResponse } from "./AccountResponse";
2
+
3
+
4
+ export class AccountCreateResponse extends AccountResponse {
5
+
6
+ }
@@ -0,0 +1,5 @@
1
+
2
+
3
+ export class PocketCreateResponse {
4
+
5
+ }
@@ -2,7 +2,9 @@
2
2
  //dtos
3
3
  export * from './dtos/AccountResponse';
4
4
  export * from './dtos/AccountCreateRequest';
5
+ export * from './dtos/AccountCreateResponse';
5
6
  export * from './dtos/PocketCreateRequest';
7
+ export * from './dtos/PocketCreateResponse';
6
8
 
7
9
 
8
10
  //enums
@@ -0,0 +1,4 @@
1
+
2
+
3
+ //enums
4
+ export * from './enums/App';
@@ -26,7 +26,6 @@ export class SignUpAdditionalRequest {
26
26
  })
27
27
  ownerDirectoryId?: string;
28
28
 
29
-
30
29
  @IsOptional()
31
30
  @IsString()
32
31
  ownerRelation: string
@@ -0,0 +1,5 @@
1
+
2
+
3
+ export class CardResponse {
4
+
5
+ }
package/src/card/index.ts CHANGED
@@ -6,6 +6,7 @@ export * from './dtos/CardCreateRequest';
6
6
  export * from './dtos/CardUpdateRequest';
7
7
  export * from './dtos/CardCreateAdditionalRequest';
8
8
  export * from './dtos/CardBalanceResponse';
9
+ export * from './dtos/CardResponse';
9
10
 
10
11
  //enums
11
12
  export * from './enums/CardType';
@@ -1,4 +1,3 @@
1
- import { IsNotEmpty, IsString } from "class-validator";
2
1
 
3
2
  export class CurrencyResponse {
4
3
 
@@ -0,0 +1,3 @@
1
+
2
+
3
+ export * from './dtos/CurrencyResponse';
@@ -1,6 +1,7 @@
1
1
 
2
2
  //dtos
3
-
3
+ export * from './dtos/DirectoryResponse';
4
+ export * from './dtos/External';
4
5
 
5
6
 
6
7
  //enums
@@ -0,0 +1,5 @@
1
+ import { ExchangeRateResponse } from "./ExchangeRateResponse";
2
+
3
+ export class ExchangeRateCreateResponse extends ExchangeRateResponse {
4
+
5
+ }
@@ -1,6 +1,4 @@
1
- import { IsEnum, IsISO8601, IsNumber, IsString, IsUUID, Max, Min, ValidateNested } from "class-validator";
2
1
  import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
3
- import { Type } from "class-transformer";
4
2
  import { CountryId } from "../../country";
5
3
  import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
6
4
 
@@ -1,5 +1,7 @@
1
1
  //dtos
2
2
  export * from './dtos/ExchangeRateResponse';
3
+ export * from './dtos/ExchangeRateCreateRequest';
4
+ export * from './dtos/ExchangeRateCreateResponse';
3
5
 
4
6
 
5
7
 
@@ -0,0 +1,5 @@
1
+
2
+
3
+ export class PeopleCreateRequest {
4
+
5
+ }
@@ -0,0 +1,11 @@
1
+
2
+ //dtos
3
+ export * from './dtos/IdentificationDocument'
4
+ export * from './dtos/PeopleCreateRequest';
5
+ export * from './dtos/PeopleResponse';
6
+ export * from './dtos/TypeOfDocument';
7
+
8
+ //enums
9
+ export * from './enums/IdentificationDocumentStatus';
10
+ export * from './enums/SexDocument';
11
+
package/src/index.ts CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  export * as Account from './account';
4
4
  export * as Address from './address';
5
+ export * as App from './app';
5
6
  export * as Authentication from './authentication';
6
7
  export * as Card from './card';
7
8
  export * as Country from './country';
9
+ export * as Currency from './currency';
8
10
  export * as Directory from './directory';
11
+ export * as ExchangeRate from './exchangeRate';
12
+ export * as File from './identity';
13
+ export * as Identity from './provider';
9
14
 
10
15
 
11
16
 
@@ -0,0 +1,2 @@
1
+
2
+ export * from './enums/Provider';