@coast/core-api-types 1.5.47 → 1.5.49

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,8 @@
1
+ import { SubscriptionPlanPrice } from './SubscriptionPlanPrice';
2
+ export interface SubscriptionAddOn {
3
+ description?: string;
4
+ id: string;
5
+ name: string;
6
+ prices: SubscriptionPlanPrice[];
7
+ quantity?: number;
8
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WorkspaceUserGroupAssociation.js.map
3
+ //# sourceMappingURL=SubscriptionAddOn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionAddOn.js","sourceRoot":"","sources":["../../../src/models/billing/SubscriptionAddOn.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
+ import { SubscriptionPlanPriceInterval } from '@coast/core-types/billing/SubscriptionPlanPriceInterval';
1
2
  export interface SubscriptionItem {
2
3
  amount: number;
3
4
  id: string;
5
+ interval?: SubscriptionPlanPriceInterval;
4
6
  priceId: string;
5
7
  quantity: number;
6
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.5.47",
3
+ "version": "1.5.49",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -1,5 +0,0 @@
1
- import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
2
- import { WorkspaceUserGroupAssociation } from './WorkspaceUserGroupAssociation';
3
- export interface CreateWorkspaceUserGroupAssociation extends Omit<WorkspaceUserGroupAssociation, 'accessLevel'> {
4
- accessLevelType: AccessLevelType;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CreateWorkspaceUserGroupAssociation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateWorkspaceUserGroupAssociation.js","sourceRoot":"","sources":["../../../src/models/auth/CreateWorkspaceUserGroupAssociation.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { WorkspaceUserGroupAssociation } from './WorkspaceUserGroupAssociation';
2
- export interface DeleteWorkspaceUserGroupAssociation extends Omit<WorkspaceUserGroupAssociation, 'accessLevel'> {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=DeleteWorkspaceUserGroupAssociation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeleteWorkspaceUserGroupAssociation.js","sourceRoot":"","sources":["../../../src/models/auth/DeleteWorkspaceUserGroupAssociation.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
2
- import { UserGroupId } from '@coast/core-types/user/group/UserGroupId';
3
- import { AccessLevel } from './AccessLevel';
4
- import { WorkspaceUserGroupAssociationEntity } from './db/WorkspaceUserGroupAssociationEntity';
5
- export interface WorkspaceUserGroupAssociation extends Partial<WorkspaceUserGroupAssociationEntity> {
6
- accessLevel: AccessLevel;
7
- userGroupId: UserGroupId;
8
- workspaceId: WorkspaceId;
9
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceUserGroupAssociation.js","sourceRoot":"","sources":["../../../src/models/auth/WorkspaceUserGroupAssociation.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
2
- import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
3
- import { UserGroupId } from '@coast/core-types/user/group/UserGroupId';
4
- export interface WorkspaceUserGroupAssociationEntity {
5
- accessLevelType: AccessLevelType;
6
- userGroupId: UserGroupId;
7
- workspaceId: WorkspaceId;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WorkspaceUserGroupAssociationEntity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceUserGroupAssociationEntity.js","sourceRoot":"","sources":["../../../../src/models/auth/db/WorkspaceUserGroupAssociationEntity.ts"],"names":[],"mappings":""}