turf-common 1.0.18-beta.11 → 1.0.18-beta.12

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 (22) hide show
  1. package/build/interface/api/get-organization-by-orgid.interface.d.ts +2 -2
  2. package/build/interface/api/get-price-by-organization-response.interface.d.ts +1 -1
  3. package/build/interface/api/get-registration-by-id.types.d.ts +2 -2
  4. package/build/interface/api/get-registration-entities.interface.d.ts +2 -2
  5. package/build/interface/api/setup-registration.interface.d.ts +1 -1
  6. package/build/interface/api/staff-member-list.interface.d.ts +1 -1
  7. package/build/interface/api/update-bank-detail.interface.d.ts +1 -1
  8. package/build/interface/api/update-configuration.interface.d.ts +1 -1
  9. package/build/interface/api/update-coupon.interface.d.ts +1 -1
  10. package/build/interface/api/update-faqs-steps.interface.d.ts +1 -1
  11. package/build/interface/api/update-faqs.interface.d.ts +1 -1
  12. package/build/interface/api/update-organization.interface.d.ts +1 -1
  13. package/build/interface/api/update-pricing-plan-by-id.interface.d.ts +1 -1
  14. package/build/interface/api/update-recurring-booking.interface.d.ts +1 -1
  15. package/build/interface/api/update-registration-entities.interface.d.ts +1 -1
  16. package/build/interface/api/update-staff-member.interface.d.ts +2 -2
  17. package/build/interface/api/update-staff-member.interface.js +5 -5
  18. package/build/interface/api/update-subscription.interface.d.ts +2 -2
  19. package/build/interface/api/upgrade-renew-subscription.interface.d.ts +1 -1
  20. package/build/interface/api/upgrade-subscription.interface.d.ts +1 -1
  21. package/build/interface/api/userentity-without-password.interface.d.ts +1 -1
  22. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { ITurfEntity } from "../../@type";
2
- import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
2
+ import { IUserEntityWithoutPasswordResponse } from "./userentity-without-password.interface";
3
3
  export interface IGetOrganizationByOrgIdResponse {
4
4
  id: number;
5
5
  name: string;
@@ -16,6 +16,6 @@ export interface IGetOrganizationByOrgIdResponse {
16
16
  updatedOn: Date;
17
17
  createdBy: number;
18
18
  updatedBy: number;
19
- owners?: IUserEntityWithoutPassword[];
19
+ owners?: IUserEntityWithoutPasswordResponse[];
20
20
  turfs?: ITurfEntity[];
21
21
  }
@@ -1,4 +1,4 @@
1
- export interface GetPriceByOrganizationResponse {
1
+ export interface IGetPriceByOrganizationResponse {
2
2
  [key: string]: {
3
3
  name: string;
4
4
  price: Record<string, Record<string, Record<string, string[]>>>;
@@ -1,6 +1,6 @@
1
1
  import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
2
  import { OrganizationStatus } from "../../@enum";
3
- import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
3
+ import { IUserEntityWithoutPasswordResponse } from "./userentity-without-password.interface";
4
4
  export interface IGetRegistrationResponse {
5
5
  [registrationId: string]: {
6
6
  registration: IRegistrationEntity;
@@ -27,7 +27,7 @@ export interface IGetRegistrationResponse {
27
27
  [turfId: string]: ITurf;
28
28
  };
29
29
  owners: {
30
- [userId: string]: IUserEntityWithoutPassword;
30
+ [userId: string]: IUserEntityWithoutPasswordResponse;
31
31
  };
32
32
  };
33
33
  };
@@ -1,5 +1,5 @@
1
1
  import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
- import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
2
+ import { IUserEntityWithoutPasswordResponse } from "./userentity-without-password.interface";
3
3
  import { OrganizationStatus } from "../../@enum";
4
4
  export interface IGetRegistrationEntityByIdResponse {
5
5
  registration: IRegistrationEntity;
@@ -26,7 +26,7 @@ export interface IGetRegistrationEntityByIdResponse {
26
26
  [turfId: string]: ITurf;
27
27
  };
28
28
  owners: {
29
- [userId: string]: IUserEntityWithoutPassword;
29
+ [userId: string]: IUserEntityWithoutPasswordResponse;
30
30
  };
31
31
  };
32
32
  };
@@ -1,4 +1,4 @@
1
- export interface ISetupRegistration {
1
+ export interface ISetupRegistrationResponse {
2
2
  turf: boolean;
3
3
  'organization-profile': boolean;
4
4
  subscription: boolean;
@@ -1,5 +1,5 @@
1
1
  import { UserStatus } from "../../@enum";
2
- export interface IStaffMemberList {
2
+ export interface IStaffMemberListResponse {
3
3
  id: number;
4
4
  firstname: string;
5
5
  lastname: string;
@@ -1,5 +1,5 @@
1
1
  import { IBankDetailsEntity, IUploadedMulterFile } from "../../@type";
2
- export interface IUpdateBankDetail extends IBankDetailsEntity {
2
+ export interface IUpdateBankDetailResponse extends IBankDetailsEntity {
3
3
  }
4
4
  export interface IUpdateBankDetailRequest {
5
5
  qrCode?: IUploadedMulterFile;
@@ -1,6 +1,6 @@
1
1
  import { ConfigurationKey } from "../../@enum";
2
2
  import { IConfigurationsEntity } from "../../@type";
3
- export interface IUpdateConfiguration extends Array<IConfigurationsEntity> {
3
+ export interface IUpdateConfigurationResponse extends Array<IConfigurationsEntity> {
4
4
  }
5
5
  export interface IUpdateConfigurationRequest {
6
6
  key: ConfigurationKey;
@@ -1,5 +1,5 @@
1
1
  import { ICouponEntity } from "../../@type";
2
- export interface IUpdateCoupon extends ICouponEntity {
2
+ export interface IUpdateCouponResponse extends ICouponEntity {
3
3
  }
4
4
  export interface IUpdateCouponRequest {
5
5
  value: number;
@@ -1,5 +1,5 @@
1
1
  import { IFaqsEntity } from "../../@type";
2
- export interface IUpdateFaqsSteps extends IFaqsEntity {
2
+ export interface IUpdateFaqsStepsResponse extends IFaqsEntity {
3
3
  }
4
4
  export interface IUpdateFaqsRequest {
5
5
  module?: string;
@@ -1,3 +1,3 @@
1
1
  import { IFaqsEntity } from "../../@type";
2
- export interface IUpdateFaqs extends IFaqsEntity {
2
+ export interface IUpdateFaqsResponse extends IFaqsEntity {
3
3
  }
@@ -1,7 +1,7 @@
1
1
  import { OrganizationStatus } from "../../@enum";
2
2
  import { IOrganizationEntity } from "../../@type";
3
3
  import { IUserInfo } from "../user-info-dto.interface";
4
- export interface IUpdateOrganization extends IOrganizationEntity {
4
+ export interface IUpdateOrganizationResponse extends IOrganizationEntity {
5
5
  imageUrl?: string;
6
6
  owners?: IUserInfo[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { IPitchSlab, IPricingPlanEntity } from "../../@type";
2
2
  import { IPitchSlabDto } from "../pitch-slab-dto.interface";
3
3
  import { IBillingCycleDto } from "../billing-cycle-dto.interface";
4
- export interface IUpdatePricingPlanById extends IPricingPlanEntity {
4
+ export interface IUpdatePricingPlanByIdResponse extends IPricingPlanEntity {
5
5
  pitch_slab?: IPitchSlabDto;
6
6
  billing_cycle?: IBillingCycleDto;
7
7
  }
@@ -2,7 +2,7 @@ import { BookingDetailsStatus, PaymentMode } from "../../@enum";
2
2
  import { IBookingDetailsEntity } from "../../@type";
3
3
  import { IDeleteBookingByCodesDto } from "../dto/delete-booking-by-codes-dto.interface";
4
4
  import { IUpdateBookingByCodesDto } from "../dto/update-booking-by-code-dto.interface";
5
- export interface IUpdateRecurringBooking extends IBookingDetailsEntity {
5
+ export interface IUpdateRecurringBookingResponse extends IBookingDetailsEntity {
6
6
  id: number;
7
7
  turfId: number;
8
8
  pitchId: number;
@@ -1,6 +1,6 @@
1
1
  import { RegistrationStatus } from "../../@enum";
2
2
  import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
3
- export interface IUpdateRegistrationEntities extends IWithoutTokenRegistrationEntity {
3
+ export interface IUpdateRegistrationEntitiesResponse extends IWithoutTokenRegistrationEntity {
4
4
  }
5
5
  export interface IUpdateRegistrationRequest {
6
6
  status?: RegistrationStatus;
@@ -1,5 +1,5 @@
1
1
  import { UserStatus, UserType } from "../../@enum";
2
- export interface IUpdateStaffMember {
2
+ export interface IUpdateStaffMemberResponse {
3
3
  createdOn: Date;
4
4
  updatedOn: Date;
5
5
  createdBy: number;
@@ -21,7 +21,7 @@ export interface IUpdateStaffMember {
21
21
  imageUrl: null | string;
22
22
  turfids?: string[];
23
23
  }
24
- export declare class IUpdateStaffMemberDtoRequest {
24
+ export declare class IUpdateStaffMemberRequest {
25
25
  firstname?: string;
26
26
  lastname?: string;
27
27
  phone?: number;
@@ -1,9 +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() {
3
+ exports.IUpdateStaffMemberRequest = void 0;
4
+ var IUpdateStaffMemberRequest = /** @class */ (function () {
5
+ function IUpdateStaffMemberRequest() {
6
6
  }
7
- return IUpdateStaffMemberDtoRequest;
7
+ return IUpdateStaffMemberRequest;
8
8
  }());
9
- exports.IUpdateStaffMemberDtoRequest = IUpdateStaffMemberDtoRequest;
9
+ exports.IUpdateStaffMemberRequest = IUpdateStaffMemberRequest;
@@ -1,9 +1,9 @@
1
1
  import { SubscriptionStatus } from "../../@enum";
2
2
  import { ISubscriptionEntity } from "../../@type";
3
- export interface IUpdateSubscription extends ISubscriptionEntity {
3
+ export interface IUpdateSubscriptionResponse extends ISubscriptionEntity {
4
4
  advanceAmount?: number;
5
5
  }
6
- export interface IUpdateSubscriptionDtoRequest {
6
+ export interface IUpdateSubscriptionRequest {
7
7
  from?: string;
8
8
  to?: string;
9
9
  type?: string;
@@ -1,5 +1,5 @@
1
1
  import { IRenewSubscriptionRequest, ISubscriptionEntity, IUpgradeSubscriptionRequest } from "../../@type";
2
- export interface IUpgradeRenewSubscription extends ISubscriptionEntity {
2
+ export interface IUpgradeRenewSubscriptionResponse extends ISubscriptionEntity {
3
3
  }
4
4
  export interface IUpgradeRenewSubscriptionRequest {
5
5
  upgradeSubscription: IUpgradeSubscriptionRequest;
@@ -1,5 +1,5 @@
1
1
  import { ISubscriptionEntity, IUpdatePitches } from "../../@type";
2
- export interface IUpgradeSubscription extends ISubscriptionEntity {
2
+ export interface IUpgradeSubscriptionResponse extends ISubscriptionEntity {
3
3
  }
4
4
  export interface IUpgradeSubscriptionRequest {
5
5
  pricingPlanId: number;
@@ -1,3 +1,3 @@
1
1
  import { IUserEntity } from "../../@type";
2
- export interface IUserEntityWithoutPassword extends Omit<IUserEntity, "password"> {
2
+ export interface IUserEntityWithoutPasswordResponse extends Omit<IUserEntity, "password"> {
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18-beta.11",
3
+ "version": "1.0.18-beta.12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",