digicust_types 1.7.1 → 1.7.2

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,6 +1,7 @@
1
1
  export interface MembershipModel {
2
2
  id?: string;
3
3
  userId?: string;
4
- customers?: Array<string>;
5
- projects?: Array<string>;
4
+ customerId?: string;
5
+ projectId?: string;
6
+ role?: "owner" | "member";
6
7
  }
@@ -8,7 +8,7 @@ export interface UserModel {
8
8
  displayName?: string;
9
9
  jobTitle?: string;
10
10
  mobilePhone?: string;
11
- email?: string;
11
+ mail?: string;
12
12
  department?: string;
13
13
  country?: string;
14
14
  city?: string;
@@ -16,5 +16,3 @@ export interface UserModel {
16
16
  subscribeToNewsletter?: boolean;
17
17
  acceptTerms?: boolean;
18
18
  }
19
- export interface DigicustProjectModel {
20
- }
@@ -1,20 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * Information about a user of Digicust
4
- */
5
- // export interface UserModel {
6
- // id?: string
7
- // surname?: string
8
- // givenName?: string
9
- // displayName?: string
10
- // jobTitle?: string
11
- // mobilePhone?: string
12
- // mail?: string
13
- // department?: string
14
- // country?: string
15
- // city?: string
16
- // streetAddress?: string
17
- // subscribeToNewsletter?: boolean
18
- // acceptTerms?: boolean
19
- // }
20
2
  Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",