@coast/core-api-types 1.5.52 → 1.5.54

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.
Files changed (29) hide show
  1. package/dist/models/auth/CreateGroupChannelMembership.d.ts +5 -0
  2. package/dist/models/auth/CreateGroupChannelMembership.js +3 -0
  3. package/dist/models/auth/CreateGroupChannelMembership.js.map +1 -0
  4. package/dist/models/auth/DeleteGroupChannelMemberships.d.ts +3 -0
  5. package/dist/models/auth/DeleteGroupChannelMemberships.js +3 -0
  6. package/dist/models/auth/DeleteGroupChannelMemberships.js.map +1 -0
  7. package/dist/models/auth/GroupChannelMembership.d.ts +11 -0
  8. package/dist/models/auth/GroupChannelMembership.js +3 -0
  9. package/dist/models/auth/GroupChannelMembership.js.map +1 -0
  10. package/dist/models/auth/GroupChannelMembershipEntity.d.ts +6 -0
  11. package/dist/models/auth/GroupChannelMembershipEntity.js +3 -0
  12. package/dist/models/auth/GroupChannelMembershipEntity.js.map +1 -0
  13. package/dist/models/auth/ListGroupChannelMemberships.d.ts +4 -0
  14. package/dist/models/auth/ListGroupChannelMemberships.js +3 -0
  15. package/dist/models/auth/ListGroupChannelMemberships.js.map +1 -0
  16. package/dist/models/auth/ListGroupChannelMembershipsResult.d.ts +5 -0
  17. package/dist/models/auth/ListGroupChannelMembershipsResult.js +3 -0
  18. package/dist/models/auth/ListGroupChannelMembershipsResult.js.map +1 -0
  19. package/dist/models/auth/UpdateGroupChannelMembership.d.ts +5 -0
  20. package/dist/models/auth/UpdateGroupChannelMembership.js +3 -0
  21. package/dist/models/auth/UpdateGroupChannelMembership.js.map +1 -0
  22. package/dist/models/automations/action/audit/AnyAutomationActionAuditResult.d.ts +3 -1
  23. package/dist/models/automations/action/audit/CurrentWorkflowEntityUpdateActionAuditResult.d.ts +6 -0
  24. package/dist/models/automations/action/audit/CurrentWorkflowEntityUpdateActionAuditResult.js +3 -0
  25. package/dist/models/automations/action/audit/CurrentWorkflowEntityUpdateActionAuditResult.js.map +1 -0
  26. package/dist/models/automations/action/audit/UpdateRelatedCardQuantityActionAuditResult.d.ts +6 -0
  27. package/dist/models/automations/action/audit/UpdateRelatedCardQuantityActionAuditResult.js +3 -0
  28. package/dist/models/automations/action/audit/UpdateRelatedCardQuantityActionAuditResult.js.map +1 -0
  29. package/package.json +2 -3
@@ -0,0 +1,5 @@
1
+ import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
2
+ import { GroupChannelMembership } from './GroupChannelMembership';
3
+ export interface CreateGroupChannelMembership extends Omit<GroupChannelMembership, 'accessLevel' | 'id'> {
4
+ accessLevelType: AccessLevelType;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateGroupChannelMembership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateGroupChannelMembership.js","sourceRoot":"","sources":["../../../src/models/auth/CreateGroupChannelMembership.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DeleteGroupChannelMemberships {
2
+ ids: number[];
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DeleteGroupChannelMemberships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteGroupChannelMemberships.js","sourceRoot":"","sources":["../../../src/models/auth/DeleteGroupChannelMemberships.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { ConfigAccessLevel } from '@coast/core-types/auth/ConfigAccessLevel';
2
+ import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
3
+ import { UserGroupId } from '@coast/core-types/user/group/UserGroupId';
4
+ import { AccessLevel } from './AccessLevel';
5
+ export interface GroupChannelMembership {
6
+ id: number;
7
+ channelId: WorkspaceId;
8
+ userGroupId: UserGroupId;
9
+ accessLevel: AccessLevel;
10
+ configAccessLevelType?: ConfigAccessLevel;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GroupChannelMembership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupChannelMembership.js","sourceRoot":"","sources":["../../../src/models/auth/GroupChannelMembership.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { PrincipalType } from '@coast/core-types/auth/PrincipalType';
2
+ import { UserGroup } from '../user/group/UserGroup';
3
+ import { ChannelMembership } from './ChannelMembership';
4
+ export interface GroupChannelMembershipEntity extends ChannelMembership<PrincipalType.GROUP> {
5
+ userGroup: UserGroup;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GroupChannelMembershipEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupChannelMembershipEntity.js","sourceRoot":"","sources":["../../../src/models/auth/GroupChannelMembershipEntity.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { OffsetPaginatedRequest } from '../pagination/OffsetPaginatedRequest';
2
+ export interface ListGroupChannelMemberships extends OffsetPaginatedRequest {
3
+ channelId: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListGroupChannelMemberships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListGroupChannelMemberships.js","sourceRoot":"","sources":["../../../src/models/auth/ListGroupChannelMemberships.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
2
+ import { GroupChannelMembership } from './GroupChannelMembership';
3
+ export interface ListGroupChannelMembershipsResult extends OffsetPaginatedResult {
4
+ groupChannelMemberships: GroupChannelMembership[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListGroupChannelMembershipsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListGroupChannelMembershipsResult.js","sourceRoot":"","sources":["../../../src/models/auth/ListGroupChannelMembershipsResult.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
2
+ import { GroupChannelMembership } from './GroupChannelMembership';
3
+ export interface UpdateGroupChannelMembership extends Pick<GroupChannelMembership, 'id' | 'configAccessLevelType'> {
4
+ accessLevelType: AccessLevelType;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateGroupChannelMembership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateGroupChannelMembership.js","sourceRoot":"","sources":["../../../src/models/auth/UpdateGroupChannelMembership.ts"],"names":[],"mappings":""}
@@ -1,9 +1,11 @@
1
1
  import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
2
  import { AutomationActionAuditResult } from './AutomationActionAuditResult';
3
+ import { CurrentWorkflowEntityUpdateActionAuditResult } from './CurrentWorkflowEntityUpdateActionAuditResult';
3
4
  import { SendEmailActionAuditResult } from './SendEmailActionAuditResult';
4
5
  import { SendPushNotificationActionAuditResult } from './SendPushNotificationActionAuditResult';
5
6
  import { SendWebhookActionAuditResult } from './SendWebhookActionAuditResult';
6
7
  import { TriggerRelatedCardAutomationActionAuditResult } from './TriggerRelatedCardAutomationActionAuditResult';
8
+ import { UpdateRelatedCardQuantityActionAuditResult } from './UpdateRelatedCardQuantityActionAuditResult';
7
9
  import { WorkflowEntityCreateActionAuditResult } from './WorkflowEntityCreateActionAuditResult';
8
10
  import { WorkflowEntityUpdateActionAuditResult } from './WorkflowEntityUpdateActionAuditResult';
9
- export type AnyAutomationActionAuditResult = AutomationActionAuditResult<AutomationActionType> | SendEmailActionAuditResult | SendPushNotificationActionAuditResult | SendWebhookActionAuditResult | TriggerRelatedCardAutomationActionAuditResult | WorkflowEntityCreateActionAuditResult | WorkflowEntityUpdateActionAuditResult;
11
+ export type AnyAutomationActionAuditResult = AutomationActionAuditResult<AutomationActionType> | CurrentWorkflowEntityUpdateActionAuditResult | SendEmailActionAuditResult | SendPushNotificationActionAuditResult | SendWebhookActionAuditResult | TriggerRelatedCardAutomationActionAuditResult | UpdateRelatedCardQuantityActionAuditResult | WorkflowEntityCreateActionAuditResult | WorkflowEntityUpdateActionAuditResult;
@@ -0,0 +1,6 @@
1
+ import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
+ import { AutomationActionAuditResult } from './AutomationActionAuditResult';
3
+ export interface CurrentWorkflowEntityUpdateActionAuditResult extends AutomationActionAuditResult<AutomationActionType.UPDATE_CURRENT_WORKFLOW_ENTITY> {
4
+ type: AutomationActionType.UPDATE_CURRENT_WORKFLOW_ENTITY;
5
+ updatedWorkflowEntityId: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CurrentWorkflowEntityUpdateActionAuditResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrentWorkflowEntityUpdateActionAuditResult.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/audit/CurrentWorkflowEntityUpdateActionAuditResult.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
+ import { AutomationActionAuditResult } from './AutomationActionAuditResult';
3
+ export interface UpdateRelatedCardQuantityActionAuditResult extends AutomationActionAuditResult<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY> {
4
+ type: AutomationActionType.UPDATE_RELATED_CARD_QUANTITY;
5
+ updatedWorkflowEntityId: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateRelatedCardQuantityActionAuditResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateRelatedCardQuantityActionAuditResult.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/audit/UpdateRelatedCardQuantityActionAuditResult.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.5.52",
3
+ "version": "1.5.54",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -24,7 +24,7 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@coast/core-types": "0.0.168",
27
- "@coast/core-utils": "0.0.34",
27
+ "@coast/core-utils": "0.0.35",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.91",
30
30
  "@paradoxical-io/types": "^2.1.0",
@@ -35,7 +35,6 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@coast/service-common-scripts": "^1.0.50",
38
- "glob": "^10.5.0",
39
38
  "ts-morph": "^24.0.0",
40
39
  "ts-node": "^10.9.2",
41
40
  "tsx": "^4"