@coast/core-api-types 1.2.9 → 1.2.11
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/models/auth/ChannelMembershipEntity.d.ts +0 -1
- package/dist/models/auth/ChannelMembershipEntity.js +0 -1
- package/dist/models/auth/CreateWorkspaceUserGroupAssociation.d.ts +5 -0
- package/dist/models/auth/DeleteChannelMembership.d.ts +5 -0
- package/dist/models/auth/DeleteWorkspaceUserGroupAssociation.d.ts +3 -0
- package/dist/models/auth/WorkspaceUserGroupAssociation.d.ts +9 -0
- package/dist/models/auth/db/WorkspaceUserGroupAssociationEntity.d.ts +8 -0
- package/dist/models/channel/WorkspaceId.d.ts +2 -0
- package/dist/models/common/EventKey.d.ts +1 -0
- package/dist/models/common/EventKey.js +1 -0
- package/dist/models/user/group/CreateUserGroupUserAssociation.d.ts +3 -0
- package/dist/models/user/group/DeleteUserGroupUserAssociation.d.ts +3 -0
- package/dist/models/user/group/DeleteUserGroupUserAssociation.js +2 -0
- package/dist/models/user/group/ListUserGroupUserAssociations.d.ts +6 -0
- package/dist/models/user/group/ListUserGroupUserAssociations.js +2 -0
- package/dist/models/user/group/ListUserGroupUserAssociationsResult.d.ts +5 -0
- package/dist/models/user/group/ListUserGroupUserAssociationsResult.js +2 -0
- package/dist/models/user/group/UserGroupUserAssociation.d.ts +7 -0
- package/dist/models/user/group/UserGroupUserAssociation.js +2 -0
- package/dist/models/user/group/db/{UserGroupAssociationEntity.d.ts → UserGroupUserAssociationEntity.d.ts} +1 -1
- package/dist/models/user/group/db/UserGroupUserAssociationEntity.js +2 -0
- package/package.json +1 -1
- package/dist/models/channel/ChannelId.d.ts +0 -2
- package/dist/models/user/group/CreateUserGroupAssociation.d.ts +0 -3
- package/dist/models/user/group/DeleteUserGroupAssociation.d.ts +0 -3
- package/dist/models/user/group/ListUserGroupAssociations.d.ts +0 -6
- package/dist/models/user/group/ListUserGroupAssociationsResult.d.ts +0 -5
- package/dist/models/user/group/UserGroupAssociation.d.ts +0 -7
- /package/dist/models/{channel/ChannelId.js → auth/CreateWorkspaceUserGroupAssociation.js} +0 -0
- /package/dist/models/{user/group/CreateUserGroupAssociation.js → auth/DeleteChannelMembership.js} +0 -0
- /package/dist/models/{user/group/DeleteUserGroupAssociation.js → auth/DeleteWorkspaceUserGroupAssociation.js} +0 -0
- /package/dist/models/{user/group/ListUserGroupAssociations.js → auth/WorkspaceUserGroupAssociation.js} +0 -0
- /package/dist/models/{user/group/ListUserGroupAssociationsResult.js → auth/db/WorkspaceUserGroupAssociationEntity.js} +0 -0
- /package/dist/models/{user/group/UserGroupAssociation.js → channel/WorkspaceId.js} +0 -0
- /package/dist/models/user/group/{db/UserGroupAssociationEntity.js → CreateUserGroupUserAssociation.js} +0 -0
|
@@ -3,6 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ChannelMembershipEntity = void 0;
|
|
4
4
|
var ChannelMembershipEntity;
|
|
5
5
|
(function (ChannelMembershipEntity) {
|
|
6
|
-
ChannelMembershipEntity["BUSINESS"] = "BUSINESS";
|
|
7
6
|
ChannelMembershipEntity["USER"] = "USER";
|
|
8
7
|
})(ChannelMembershipEntity || (exports.ChannelMembershipEntity = ChannelMembershipEntity = {}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AccessLevelType } from './AccessLevelType';
|
|
2
|
+
import { WorkspaceUserGroupAssociation } from './WorkspaceUserGroupAssociation';
|
|
3
|
+
export interface CreateWorkspaceUserGroupAssociation extends Omit<WorkspaceUserGroupAssociation, 'accessLevel'> {
|
|
4
|
+
accessLevelType: AccessLevelType;
|
|
5
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WorkspaceId } from '../channel/WorkspaceId';
|
|
2
|
+
import { UserGroupId } from '../user/group/UserGroupId';
|
|
3
|
+
import { AccessLevel } from './AccessLevel';
|
|
4
|
+
import { WorkspaceUserGroupAssociationEntity } from './db/WorkspaceUserGroupAssociationEntity';
|
|
5
|
+
export interface WorkspaceUserGroupAssociation extends Partial<WorkspaceUserGroupAssociationEntity> {
|
|
6
|
+
workspaceId: WorkspaceId;
|
|
7
|
+
userGroupId: UserGroupId;
|
|
8
|
+
accessLevel: AccessLevel;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WorkspaceId } from '../../channel/WorkspaceId';
|
|
2
|
+
import { UserGroupId } from '../../user/group/UserGroupId';
|
|
3
|
+
import { AccessLevelType } from '../AccessLevelType';
|
|
4
|
+
export interface WorkspaceUserGroupAssociationEntity {
|
|
5
|
+
workspaceId: WorkspaceId;
|
|
6
|
+
userGroupId: UserGroupId;
|
|
7
|
+
accessLevelType: AccessLevelType;
|
|
8
|
+
}
|
|
@@ -21,6 +21,7 @@ export declare enum EventKey {
|
|
|
21
21
|
CHANNEL_SOFT_REMOVED = "afterSoftRemove_Channel",
|
|
22
22
|
CHANNEL_ACCOUNTING_UPDATED = "channelAccountingUpdated",
|
|
23
23
|
CHANNEL_MEMBERSHIP_INSERTED = "afterInsert_ChannelMembership",
|
|
24
|
+
CHANNEL_MEMBERSHIP_REMOVED_BATCH = "afterRemove_ChannelMembership_batch",
|
|
24
25
|
CLIENT_EVENT_CREATED = "afterInsert_ClientEvent",
|
|
25
26
|
ENTITY_RECURRENCE_INSERTED = "afterInsert_EntityRecurrence",
|
|
26
27
|
INTEGRATION_UPDATED = "afterUpdate_Integration",
|
|
@@ -25,6 +25,7 @@ var EventKey;
|
|
|
25
25
|
EventKey["CHANNEL_SOFT_REMOVED"] = "afterSoftRemove_Channel";
|
|
26
26
|
EventKey["CHANNEL_ACCOUNTING_UPDATED"] = "channelAccountingUpdated";
|
|
27
27
|
EventKey["CHANNEL_MEMBERSHIP_INSERTED"] = "afterInsert_ChannelMembership";
|
|
28
|
+
EventKey["CHANNEL_MEMBERSHIP_REMOVED_BATCH"] = "afterRemove_ChannelMembership_batch";
|
|
28
29
|
EventKey["CLIENT_EVENT_CREATED"] = "afterInsert_ClientEvent";
|
|
29
30
|
EventKey["ENTITY_RECURRENCE_INSERTED"] = "afterInsert_EntityRecurrence";
|
|
30
31
|
EventKey["INTEGRATION_UPDATED"] = "afterUpdate_Integration";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Intersection } from 'src/utils/Intersection';
|
|
2
|
+
import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
|
|
3
|
+
import { UserGroupUserAssociation } from './UserGroupUserAssociation';
|
|
4
|
+
export interface ListUserGroupUserAssociations extends Intersection<Omit<UserGroupUserAssociation, 'userId'>, OffsetPaginatedRequest> {
|
|
5
|
+
userFirstOrLastName?: string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
|
|
2
|
+
import { UserGroupUserAssociation } from './UserGroupUserAssociation';
|
|
3
|
+
export interface ListUserGroupUserAssociationsResult extends OffsetPaginatedResult {
|
|
4
|
+
userGroupUserAssociations: UserGroupUserAssociation[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UserId } from '../UserId';
|
|
2
|
+
import { UserGroupUserAssociationEntity } from './db/UserGroupUserAssociationEntity';
|
|
3
|
+
import { UserGroupId } from './UserGroupId';
|
|
4
|
+
export interface UserGroupUserAssociation extends Partial<UserGroupUserAssociationEntity> {
|
|
5
|
+
userId: UserId;
|
|
6
|
+
userGroupId: UserGroupId;
|
|
7
|
+
}
|
|
@@ -2,7 +2,7 @@ import { User } from '../../User';
|
|
|
2
2
|
import { UserId } from '../../UserId';
|
|
3
3
|
import { UserGroup } from '../UserGroup';
|
|
4
4
|
import { UserGroupId } from '../UserGroupId';
|
|
5
|
-
export interface
|
|
5
|
+
export interface UserGroupUserAssociationEntity {
|
|
6
6
|
userId: UserId;
|
|
7
7
|
userGroupId: UserGroupId;
|
|
8
8
|
userGroup: UserGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Intersection } from 'src/utils/Intersection';
|
|
2
|
-
import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
|
|
3
|
-
import { UserGroupAssociation } from './UserGroupAssociation';
|
|
4
|
-
export interface ListUserGroupAssociations extends Intersection<Omit<UserGroupAssociation, 'userId'>, OffsetPaginatedRequest> {
|
|
5
|
-
userFirstOrLastName?: string;
|
|
6
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
|
|
2
|
-
import { UserGroupAssociation } from './UserGroupAssociation';
|
|
3
|
-
export interface ListUserGroupAssociationsResult extends OffsetPaginatedResult {
|
|
4
|
-
userGroupAssociations: UserGroupAssociation[];
|
|
5
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { UserId } from '../UserId';
|
|
2
|
-
import { UserGroupAssociationEntity } from './db/UserGroupAssociationEntity';
|
|
3
|
-
import { UserGroupId } from './UserGroupId';
|
|
4
|
-
export interface UserGroupAssociation extends Partial<UserGroupAssociationEntity> {
|
|
5
|
-
userId: UserId;
|
|
6
|
-
userGroupId: UserGroupId;
|
|
7
|
-
}
|
|
File without changes
|
/package/dist/models/{user/group/CreateUserGroupAssociation.js → auth/DeleteChannelMembership.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|