@fiado/type-kit 1.0.14 → 1.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.
@@ -1,4 +1,4 @@
1
- export declare enum CardIssuanceEnum {
1
+ export declare enum CardIssuanceStatus {
2
2
  IN_PROCESS = "IN_PROCESS",
3
3
  COMPLETED = "COMPLETED",
4
4
  FAILED = "FAILED"
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CardIssuanceEnum = void 0;
4
- var CardIssuanceEnum;
5
- (function (CardIssuanceEnum) {
6
- CardIssuanceEnum["IN_PROCESS"] = "IN_PROCESS";
7
- CardIssuanceEnum["COMPLETED"] = "COMPLETED";
8
- CardIssuanceEnum["FAILED"] = "FAILED";
9
- })(CardIssuanceEnum || (exports.CardIssuanceEnum = CardIssuanceEnum = {}));
3
+ exports.CardIssuanceStatus = void 0;
4
+ var CardIssuanceStatus;
5
+ (function (CardIssuanceStatus) {
6
+ CardIssuanceStatus["IN_PROCESS"] = "IN_PROCESS";
7
+ CardIssuanceStatus["COMPLETED"] = "COMPLETED";
8
+ CardIssuanceStatus["FAILED"] = "FAILED";
9
+ })(CardIssuanceStatus || (exports.CardIssuanceStatus = CardIssuanceStatus = {}));
@@ -0,0 +1,15 @@
1
+ import { TypeOfDirectoryId } from "../directory";
2
+ import { Status } from "../directory/enums/Status";
3
+ export interface TokenPayload {
4
+ directoryId: string;
5
+ typeOfDirectoryId: TypeOfDirectoryId;
6
+ sub: string;
7
+ app: string;
8
+ issuer: string;
9
+ scope: string;
10
+ phoneNumber?: string | null;
11
+ status: Status | null;
12
+ id: string;
13
+ profileId?: string | null;
14
+ email?: string | null;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './TokenPayload';
@@ -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("./TokenPayload"), exports);
package/bin/index.d.ts CHANGED
@@ -9,3 +9,4 @@ export * as Directory from './directory';
9
9
  export * as ExchangeRate from './exchangeRate';
10
10
  export * as File from './identity';
11
11
  export * as Identity from './provider';
12
+ export * as Header from './header';
package/bin/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
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;
26
+ exports.Header = 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
29
  exports.App = __importStar(require("./app"));
@@ -35,3 +35,4 @@ exports.Directory = __importStar(require("./directory"));
35
35
  exports.ExchangeRate = __importStar(require("./exchangeRate"));
36
36
  exports.File = __importStar(require("./identity"));
37
37
  exports.Identity = __importStar(require("./provider"));
38
+ exports.Header = __importStar(require("./header"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,5 +1,5 @@
1
1
 
2
- export enum CardIssuanceEnum {
2
+ export enum CardIssuanceStatus {
3
3
  IN_PROCESS = "IN_PROCESS",
4
4
  COMPLETED = "COMPLETED",
5
5
  FAILED = "FAILED"
@@ -0,0 +1,16 @@
1
+ import { TypeOfDirectoryId } from "../directory";
2
+ import { Status } from "../directory/enums/Status";
3
+
4
+ export interface TokenPayload {
5
+ directoryId: string;
6
+ typeOfDirectoryId: TypeOfDirectoryId;
7
+ sub: string;
8
+ app: string;
9
+ issuer: string;
10
+ scope: string;
11
+ phoneNumber?: string | null;
12
+ status: Status | null;
13
+ id: string;
14
+ profileId?: string | null;
15
+ email?: string | null;
16
+ }
@@ -0,0 +1,3 @@
1
+
2
+
3
+ export * from './TokenPayload'
package/src/index.ts CHANGED
@@ -11,6 +11,7 @@ export * as Directory from './directory';
11
11
  export * as ExchangeRate from './exchangeRate';
12
12
  export * as File from './identity';
13
13
  export * as Identity from './provider';
14
+ export * as Header from './header';
14
15
 
15
16
 
16
17