@fiado/type-kit 1.0.20 → 1.0.21

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,10 @@
1
+ import { RelationStatus } from "../enums/RelationStatus";
2
+ import { RelationType } from "../enums/RelationType";
3
+ export declare class GroupDirectoryRelationsResponse {
4
+ PK: string;
5
+ SK: string;
6
+ directoryId: string;
7
+ groupId: string;
8
+ relationType: RelationType;
9
+ status: RelationStatus;
10
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupDirectoryRelationsResponse = void 0;
4
+ class GroupDirectoryRelationsResponse {
5
+ }
6
+ exports.GroupDirectoryRelationsResponse = GroupDirectoryRelationsResponse;
@@ -0,0 +1,5 @@
1
+ export declare enum RelationStatus {
2
+ ACTIVE = "ACTIVE",
3
+ INACTIVE = "INACTIVE",
4
+ PENDING = "PENDING"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelationStatus = void 0;
4
+ var RelationStatus;
5
+ (function (RelationStatus) {
6
+ RelationStatus["ACTIVE"] = "ACTIVE";
7
+ RelationStatus["INACTIVE"] = "INACTIVE";
8
+ RelationStatus["PENDING"] = "PENDING";
9
+ })(RelationStatus || (exports.RelationStatus = RelationStatus = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum RelationType {
2
+ MEMBER = "MEMBER",
3
+ OWNER = "OWNER",
4
+ AFFILIATE = "AFFILIATE"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelationType = void 0;
4
+ var RelationType;
5
+ (function (RelationType) {
6
+ RelationType["MEMBER"] = "MEMBER";
7
+ RelationType["OWNER"] = "OWNER";
8
+ RelationType["AFFILIATE"] = "AFFILIATE";
9
+ })(RelationType || (exports.RelationType = RelationType = {}));
@@ -1,2 +1,4 @@
1
1
  export * from './dtos/GroupResponse';
2
2
  export * from './enums/GroupStatus';
3
+ export * from './enums/RelationType';
4
+ export * from './enums/RelationStatus';
@@ -18,3 +18,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  __exportStar(require("./dtos/GroupResponse"), exports);
19
19
  //enums
20
20
  __exportStar(require("./enums/GroupStatus"), exports);
21
+ __exportStar(require("./enums/RelationType"), exports);
22
+ __exportStar(require("./enums/RelationStatus"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,14 @@
1
+ import { RelationStatus } from "../enums/RelationStatus"
2
+ import { RelationType } from "../enums/RelationType"
3
+
4
+
5
+
6
+ export class GroupDirectoryRelationsResponse {
7
+
8
+ PK: string
9
+ SK: string
10
+ directoryId: string
11
+ groupId: string
12
+ relationType: RelationType
13
+ status: RelationStatus
14
+ }
@@ -0,0 +1,9 @@
1
+
2
+
3
+
4
+ export enum RelationStatus {
5
+
6
+ ACTIVE = 'ACTIVE',
7
+ INACTIVE = 'INACTIVE',
8
+ PENDING = 'PENDING',
9
+ }
@@ -0,0 +1,10 @@
1
+
2
+
3
+
4
+ export enum RelationType {
5
+
6
+ MEMBER = 'MEMBER',
7
+ OWNER = 'OWNER',
8
+ AFFILIATE = 'AFFILIATE',
9
+
10
+ }
@@ -6,5 +6,7 @@ export * from './dtos/GroupResponse';
6
6
 
7
7
  //enums
8
8
  export * from './enums/GroupStatus';
9
+ export * from './enums/RelationType';
10
+ export * from './enums/RelationStatus';
9
11
 
10
12