@kipicore/dbcore 1.1.398 → 1.1.399

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,5 +1,6 @@
1
1
  import { INSTITUTE_SUBSCRIPTION_PLAN_STATUS } from '../constants/app';
2
2
  import { IDefaultAttributes } from './commonInterface';
3
+ import { IModulePriceModelAttributes } from './modulePriceInterface';
3
4
  export interface IInstituteSubscriptionPlanModelAttributes extends IDefaultAttributes {
4
5
  id: string;
5
6
  walletTransactionId: string;
@@ -18,4 +19,5 @@ export interface IInstituteSubscriptionPlanModelAttributes extends IDefaultAttri
18
19
  startDate: Date;
19
20
  endDate: Date;
20
21
  lastSubscriptionPlan?: string;
22
+ additionalModuleList: IModulePriceModelAttributes[];
21
23
  }
@@ -136,6 +136,11 @@ InstituteSubscriptionPlanModel.init({
136
136
  allowNull: true,
137
137
  field: 'last_user_subscription_plan',
138
138
  },
139
+ additionalModuleList: {
140
+ type: sequelize_1.DataTypes.JSONB,
141
+ allowNull: true,
142
+ field: 'additional_module_list',
143
+ },
139
144
  }, {
140
145
  modelName: 'InstituteSubscriptionPlanModel',
141
146
  tableName: 'institute_subscription_plans',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.398",
3
+ "version": "1.1.399",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",