turf-common 1.0.18-beta.5 → 1.0.18-beta.7

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,3 +1,13 @@
1
- import { IPricingPlanEntity } from '../../@type';
1
+ import { IPricingPlanEntity, IBillingCycleDto, IPitchSlab } from "../../@type";
2
2
  export interface ICreatePricingPlan extends IPricingPlanEntity {
3
3
  }
4
+ export interface ICreatePricingPlanDtoRequest {
5
+ effective_from_date: number;
6
+ effective_to_date: number;
7
+ base_price: number;
8
+ unit: string;
9
+ pitch_slab: {
10
+ [key: string]: IPitchSlab;
11
+ };
12
+ billing_cycle: IBillingCycleDto;
13
+ }
@@ -1,2 +1,11 @@
1
- import { IWithoutTokenRegistrationEntity } from '../without-token-registration-entity.types';
1
+ import { OrganizationStatus } from "../../@enum";
2
+ import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
2
3
  export type CreateRegistrationTransactionOutput = IWithoutTokenRegistrationEntity;
4
+ export interface ICreateRegistrationRequest {
5
+ name: string;
6
+ contact: string;
7
+ email: string;
8
+ pitchPlan: string;
9
+ status: OrganizationStatus;
10
+ comments?: string;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { UserType } from "../../@enum";
2
+ export interface IUserRequest {
3
+ firstname: string;
4
+ lastname: string;
5
+ password: string;
6
+ phone: number;
7
+ email: string;
8
+ turfids: string[];
9
+ type: UserType;
10
+ comments?: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,9 @@
1
+ import { CronJobsNames, CronJobsStatus } from "../../@enum";
1
2
  import { ICronJobsEntity } from "../../@type";
2
3
  export interface IGetCronJobByDateRangeNameStatus extends Array<ICronJobsEntity> {
3
4
  }
5
+ export interface IGetCronJobByDateRangeNameStatusRequest {
6
+ dateRange?: string;
7
+ name?: CronJobsNames[];
8
+ status?: CronJobsStatus[];
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface IManualTriggerCronJobRequest {
2
+ fromDateCode?: string;
3
+ toDateCode?: string;
4
+ organizationIds?: number[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,7 @@
1
- import { IWithoutTokenRegistrationEntity } from '../without-token-registration-entity.types';
1
+ import { RegistrationStatus } from "../../@enum";
2
+ import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
2
3
  export interface IUpdateRegistrationEntities extends IWithoutTokenRegistrationEntity {
3
4
  }
5
+ export interface IUpdateRegistrationRequest {
6
+ status?: RegistrationStatus;
7
+ }
@@ -21,3 +21,11 @@ export interface IUpdateStaffMember {
21
21
  imageUrl: null | string;
22
22
  turfids?: string[];
23
23
  }
24
+ export declare class IUpdateStaffMemberDtoRequest {
25
+ firstname?: string;
26
+ lastname?: string;
27
+ phone?: number;
28
+ turfids?: string[];
29
+ email?: string[];
30
+ password?: string;
31
+ }
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IUpdateStaffMemberDtoRequest = void 0;
4
+ var IUpdateStaffMemberDtoRequest = /** @class */ (function () {
5
+ function IUpdateStaffMemberDtoRequest() {
6
+ }
7
+ return IUpdateStaffMemberDtoRequest;
8
+ }());
9
+ exports.IUpdateStaffMemberDtoRequest = IUpdateStaffMemberDtoRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18-beta.5",
3
+ "version": "1.0.18-beta.7",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",