ia-common 1.0.1-beta.15 → 1.0.1-beta.17

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/build/@type.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from "./interface/without-token-registration-entity.interface";
6
6
  export * from "./interface/modify-entity.interface";
7
7
  export * from "./interface/modify.interface";
8
8
  export * from "./interface/update-user-info.interface";
9
+ export * from "./interface/user-entity-without-password.interface";
package/build/@type.js CHANGED
@@ -22,3 +22,4 @@ __exportStar(require("./interface/without-token-registration-entity.interface"),
22
22
  __exportStar(require("./interface/modify-entity.interface"), exports);
23
23
  __exportStar(require("./interface/modify.interface"), exports);
24
24
  __exportStar(require("./interface/update-user-info.interface"), exports);
25
+ __exportStar(require("./interface/user-entity-without-password.interface"), exports);
@@ -0,0 +1,7 @@
1
+ import { IBankDetailEntity } from "../entity";
2
+ import { Modify } from "../modify.interface";
3
+ export interface IGetBankDetailsEntitiesResponse extends Modify<IBankDetailEntity, {
4
+ createdOn: string;
5
+ updatedOn: string;
6
+ }> {
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { IModifyEntity, IOrganizationEntity, IRegistrationEntity, ISubscriptionEntity, IUserEntityWithoutPassword } from "../../@type";
2
+ export interface IOrganizationWithOwners extends IModifyEntity<IOrganizationEntity> {
3
+ owners: {
4
+ [userId: string]: IModifyEntity<IUserEntityWithoutPassword>;
5
+ };
6
+ }
7
+ export interface IGetRegistrationById {
8
+ registration: IRegistrationEntity;
9
+ organization: {
10
+ [id: string]: IOrganizationWithOwners;
11
+ };
12
+ subscription: {
13
+ [id: string]: IModifyEntity<ISubscriptionEntity>;
14
+ };
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { IModifyEntity, IOrganizationWithOwners, IRegistrationEntity, ISubscriptionEntity } from "../../@type";
2
+ export interface IGetRegistrationResponse {
3
+ [registrationId: string]: {
4
+ registration: IRegistrationEntity;
5
+ organization: {
6
+ [id: string]: IOrganizationWithOwners;
7
+ };
8
+ subscription: {
9
+ [id: string]: IModifyEntity<ISubscriptionEntity>;
10
+ };
11
+ };
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,3 +9,8 @@ export * from "./update-bank-details.interface";
9
9
  export * from "./update-pricing-plan.interface";
10
10
  export * from "./update-subscription.interface";
11
11
  export * from "./get-pricing-plan-by-date.interface";
12
+ export * from "./get-bank-details.interface";
13
+ export * from "./get-registration-by-id.interface";
14
+ export * from "./get-registration-with-organization-owners.interface";
15
+ export * from "./remove-bank-details-by-id.interface";
16
+ export * from "./update-pricing-plan-by-id.interface";
@@ -25,3 +25,8 @@ __exportStar(require("./update-bank-details.interface"), exports);
25
25
  __exportStar(require("./update-pricing-plan.interface"), exports);
26
26
  __exportStar(require("./update-subscription.interface"), exports);
27
27
  __exportStar(require("./get-pricing-plan-by-date.interface"), exports);
28
+ __exportStar(require("./get-bank-details.interface"), exports);
29
+ __exportStar(require("./get-registration-by-id.interface"), exports);
30
+ __exportStar(require("./get-registration-with-organization-owners.interface"), exports);
31
+ __exportStar(require("./remove-bank-details-by-id.interface"), exports);
32
+ __exportStar(require("./update-pricing-plan-by-id.interface"), exports);
@@ -0,0 +1,7 @@
1
+ import { IBankDetailEntity } from "../entity";
2
+ import { Modify } from "../modify.interface";
3
+ export interface IRemoveBankDetailsById extends Modify<IBankDetailEntity, {
4
+ createdOn: string;
5
+ updatedOn: string;
6
+ }> {
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { IPricingPlanEntity } from "../entity";
2
+ import { Modify } from "../modify.interface";
3
+ export interface IUpdatePricingPlanByIdResponse extends Modify<IPricingPlanEntity, {
4
+ createdOn: string;
5
+ updatedOn: string;
6
+ }> {
7
+ }
8
+ export interface IUpdatePricingPlanByIdRequest {
9
+ effectiveFromDate?: number;
10
+ effectiveToDate?: number;
11
+ basePrice?: number;
12
+ billingCycle?: IBillingCycleDto;
13
+ }
14
+ export interface IBillingCycleDto {
15
+ noOfMonths: number;
16
+ discount: string;
17
+ name: string;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IUserEntity } from "./entity";
2
+ export interface IUserEntityWithoutPassword extends Omit<IUserEntity, "password"> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-common",
3
- "version": "1.0.1-beta.15",
3
+ "version": "1.0.1-beta.17",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",