avvir 8.5.6 → 8.5.7
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.
package/dist/avvir_api.node.js
CHANGED
|
@@ -5638,11 +5638,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5638
5638
|
/* harmony export */ });
|
|
5639
5639
|
var ApiUserPermission = /** @class */ (function () {
|
|
5640
5640
|
function ApiUserPermission(_a) {
|
|
5641
|
-
var id = _a.id, userId = _a.userId,
|
|
5641
|
+
var id = _a.id, userId = _a.userId, firebaseProjectId = _a.firebaseProjectId, firebaseOrganizationId = _a.firebaseOrganizationId, masterformatCode = _a.masterformatCode, permissionType = _a.permissionType, permissionAction = _a.permissionAction, organizationName = _a.organizationName, projectName = _a.projectName, workPackageId = _a.workPackageId;
|
|
5642
5642
|
this.id = id;
|
|
5643
5643
|
this.userId = userId;
|
|
5644
|
-
this.
|
|
5645
|
-
this.
|
|
5644
|
+
this.firebaseProjectId = firebaseProjectId;
|
|
5645
|
+
this.firebaseOrganizationId = firebaseOrganizationId;
|
|
5646
5646
|
this.masterformatCode = masterformatCode;
|
|
5647
5647
|
this.permissionType = permissionType;
|
|
5648
5648
|
this.permissionAction = permissionAction;
|
|
@@ -3,14 +3,14 @@ import type UserPermissionType from "../enums/user_permission_type";
|
|
|
3
3
|
export declare class ApiUserPermission {
|
|
4
4
|
id: number;
|
|
5
5
|
userId: number;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
firebaseProjectId: string;
|
|
7
|
+
firebaseOrganizationId: string;
|
|
8
8
|
masterformatCode: string;
|
|
9
9
|
permissionType: UserPermissionType;
|
|
10
10
|
permissionAction: UserPermissionAction;
|
|
11
11
|
organizationName: string;
|
|
12
12
|
projectName: string;
|
|
13
13
|
workPackageId: number;
|
|
14
|
-
constructor({ id, userId,
|
|
14
|
+
constructor({ id, userId, firebaseProjectId, firebaseOrganizationId, masterformatCode, permissionType, permissionAction, organizationName, projectName, workPackageId }: Partial<ApiUserPermission>);
|
|
15
15
|
}
|
|
16
16
|
export default ApiUserPermission;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export class ApiUserPermission {
|
|
2
|
-
constructor({ id, userId,
|
|
2
|
+
constructor({ id, userId, firebaseProjectId, firebaseOrganizationId, masterformatCode, permissionType, permissionAction, organizationName, projectName, workPackageId }) {
|
|
3
3
|
this.id = id;
|
|
4
4
|
this.userId = userId;
|
|
5
|
-
this.
|
|
6
|
-
this.
|
|
5
|
+
this.firebaseProjectId = firebaseProjectId;
|
|
6
|
+
this.firebaseOrganizationId = firebaseOrganizationId;
|
|
7
7
|
this.masterformatCode = masterformatCode;
|
|
8
8
|
this.permissionType = permissionType;
|
|
9
9
|
this.permissionAction = permissionAction;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "avvir",
|
|
3
3
|
"repository": "git@github.com:Avvir/avvir-javascript-client.git",
|
|
4
|
-
"version": "8.5.
|
|
4
|
+
"version": "8.5.7",
|
|
5
5
|
"description": "Javascript client for Avvir APIs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"chai-almost": "^1.0.1",
|
|
48
48
|
"chai-datetime": "^1.7.0",
|
|
49
49
|
"chai-json-equal": "^0.0.1",
|
|
50
|
-
"chai-roughly": "^1.0.0",
|
|
51
50
|
"chai-spies": "^1.0.0",
|
|
52
51
|
"chai-things": "^0.2.0",
|
|
53
52
|
"deepmerge": "^4.2.2",
|
|
@@ -4,8 +4,8 @@ import type UserPermissionType from "../enums/user_permission_type";
|
|
|
4
4
|
export class ApiUserPermission {
|
|
5
5
|
id: number;
|
|
6
6
|
userId: number;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
firebaseProjectId: string;
|
|
8
|
+
firebaseOrganizationId: string;
|
|
9
9
|
masterformatCode: string;
|
|
10
10
|
permissionType: UserPermissionType;
|
|
11
11
|
permissionAction: UserPermissionAction;
|
|
@@ -16,8 +16,8 @@ export class ApiUserPermission {
|
|
|
16
16
|
constructor({
|
|
17
17
|
id,
|
|
18
18
|
userId,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
firebaseProjectId,
|
|
20
|
+
firebaseOrganizationId,
|
|
21
21
|
masterformatCode,
|
|
22
22
|
permissionType,
|
|
23
23
|
permissionAction,
|
|
@@ -28,8 +28,8 @@ export class ApiUserPermission {
|
|
|
28
28
|
{
|
|
29
29
|
this.id = id;
|
|
30
30
|
this.userId = userId;
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
31
|
+
this.firebaseProjectId = firebaseProjectId;
|
|
32
|
+
this.firebaseOrganizationId = firebaseOrganizationId;
|
|
33
33
|
this.masterformatCode = masterformatCode;
|
|
34
34
|
this.permissionType = permissionType;
|
|
35
35
|
this.permissionAction = permissionAction;
|