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

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 (21) hide show
  1. package/build/interface/api/get-booking-details-by-id.interface.d.ts +1 -1
  2. package/build/interface/api/get-booking-info.interface.d.ts +1 -1
  3. package/build/interface/api/get-cancellation-policy-entity-by-org-id.interface.d.ts +1 -1
  4. package/build/interface/api/get-collection.interface.d.ts +1 -1
  5. package/build/interface/api/get-cron-job-by-date-range-name-status.interface.d.ts +1 -1
  6. package/build/interface/api/get-current-subscription.interface.d.ts +1 -1
  7. package/build/interface/api/get-organization-by-orgid.interface.d.ts +1 -1
  8. package/build/interface/api/get-price-by-organization-response.interface.d.ts +1 -1
  9. package/build/interface/api/get-price-entity.interface.d.ts +1 -1
  10. package/build/interface/api/get-price-query.interface.d.ts +1 -1
  11. package/build/interface/api/get-pricing-plan-by-id.interface.d.ts +1 -1
  12. package/build/interface/api/get-pricing-plan-entities.interface.d.ts +1 -1
  13. package/build/interface/api/get-registration-by-id.types.d.ts +1 -1
  14. package/build/interface/api/get-registration-entities.interface.d.ts +1 -1
  15. package/build/interface/api/get-subscription-by-org-id.interface.d.ts +1 -1
  16. package/build/interface/api/get-subscription-entities.interface.d.ts +1 -1
  17. package/build/interface/api/get-turf-by-organization.interface.d.ts +1 -1
  18. package/build/interface/api/list-of-coupons.interface.d.ts +1 -1
  19. package/build/interface/api/one-slot-booking.interface.d.ts +1 -1
  20. package/build/interface/api/renew-subscription.interface.d.ts +1 -1
  21. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  import { IGetBookingById } from '../get-booking-by-id.interface';
2
- export interface IGetBookingDetailsById extends IGetBookingById {
2
+ export interface IGetBookingDetailsByIdResponse extends IGetBookingById {
3
3
  }
@@ -1,5 +1,5 @@
1
1
  import { BookingDetailsStatus } from "../../enums/booking-details-status.enum";
2
- export interface IGetBookingInfo {
2
+ export interface IGetBookingInfoResponse {
3
3
  [date: string]: {
4
4
  [time: string]: {
5
5
  price?: number | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ICancellationPolicyEntity, ITurfEntity } from "../../@type";
2
- export interface IGetCancellationPolicyByOrgId {
2
+ export interface IGetCancellationPolicyByOrgIdResponse {
3
3
  turfs: {
4
4
  [turfId: number]: ITurfEntity;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { IBookingPaymentHistoryEntity, ITurfEntity, IUserEntity } from "../../@type";
2
2
  import { IDateWisePaymentHistoryData } from "../../types/date-wise-payment-history-data.types";
3
- export interface IGetCollection {
3
+ export interface IGetCollectionResponse {
4
4
  turfs: {
5
5
  [turfId: number]: ITurfEntity;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { CronJobsNames, CronJobsStatus } from "../../@enum";
2
2
  import { ICronJobsEntity } from "../../@type";
3
- export interface IGetCronJobByDateRangeNameStatus extends Array<ICronJobsEntity> {
3
+ export interface IGetCronJobByDateRangeNameStatusResponse extends Array<ICronJobsEntity> {
4
4
  }
5
5
  export interface IGetCronJobByDateRangeNameStatusRequest {
6
6
  dateRange?: string;
@@ -1,5 +1,5 @@
1
1
  import { ISubscriptionEntity, ISubscriptionPitchMappingEntity } from "../../@type";
2
- export interface IGetCurrentSubscription extends ISubscriptionEntity {
2
+ export interface IGetCurrentSubscriptionResponse extends ISubscriptionEntity {
3
3
  details: ISubscriptionPitchMappingEntity[];
4
4
  next: ISubscriptionEntity | null;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { ITurfEntity } from "../../@type";
2
2
  import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
3
- export interface IGetOrganizationByOrgId {
3
+ export interface IGetOrganizationByOrgIdResponse {
4
4
  id: number;
5
5
  name: string;
6
6
  email: string | null;
@@ -1,4 +1,4 @@
1
- export interface GetPriceByOrganization {
1
+ export interface GetPriceByOrganizationResponse {
2
2
  [key: string]: {
3
3
  name: string;
4
4
  price: Record<string, Record<string, Record<string, string[]>>>;
@@ -1,4 +1,4 @@
1
- export type IGetPriceEntity = {
1
+ export type IGetPriceEntityResponse = {
2
2
  [date: string]: {
3
3
  [time: string]: number;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { ISetPriceRequest } from "./set-price.interface";
2
- export interface IGetPriceQuery {
2
+ export interface IGetPriceQueryResponse {
3
3
  [turfId: string]: {
4
4
  [code: string]: {
5
5
  [time: string]: number;
@@ -1,3 +1,3 @@
1
1
  import { IGetPricingPlanByDateResponse } from './get-pricing-plan-by-date-response.interface';
2
- export interface IGetPricingPlanById extends IGetPricingPlanByDateResponse {
2
+ export interface IGetPricingPlanByIdResponse extends IGetPricingPlanByDateResponse {
3
3
  }
@@ -1,3 +1,3 @@
1
1
  import { IGetPricingPlanByDateResponse } from './get-pricing-plan-by-date-response.interface';
2
- export interface IGetPricingPlanEntities extends IGetPricingPlanByDateResponse {
2
+ export interface IGetPricingPlanEntitiesResponse extends IGetPricingPlanByDateResponse {
3
3
  }
@@ -1,7 +1,7 @@
1
1
  import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
2
  import { OrganizationStatus } from "../../@enum";
3
3
  import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
4
- export interface IGetRegistration {
4
+ export interface IGetRegistrationResponse {
5
5
  [registrationId: string]: {
6
6
  registration: IRegistrationEntity;
7
7
  organization: {
@@ -1,7 +1,7 @@
1
1
  import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
2
  import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
3
3
  import { OrganizationStatus } from "../../@enum";
4
- export interface IGetRegistrationEntityById {
4
+ export interface IGetRegistrationEntityByIdResponse {
5
5
  registration: IRegistrationEntity;
6
6
  organization: {
7
7
  [id: string]: {
@@ -1,3 +1,3 @@
1
1
  import { ISubscriptionEntity } from "../../@type";
2
- export interface IGetSubscriptionByOrgId extends Array<ISubscriptionEntity> {
2
+ export interface IGetSubscriptionByOrgIdResponse extends Array<ISubscriptionEntity> {
3
3
  }
@@ -1,3 +1,3 @@
1
1
  import { ISubscriptionEntity } from "../../@type";
2
- export interface IGetSubscriptionEntities extends Array<ISubscriptionEntity> {
2
+ export interface IGetSubscriptionEntitiesResponse extends Array<ISubscriptionEntity> {
3
3
  }
@@ -1,3 +1,3 @@
1
1
  import { ITurfEntity } from "../../@type";
2
- export interface IGetTurfByOrganization extends ITurfEntity {
2
+ export interface IGetTurfByOrganizationResponse extends ITurfEntity {
3
3
  }
@@ -1,4 +1,4 @@
1
- export interface IListOfCoupons {
1
+ export interface IListOfCouponsResponse {
2
2
  percentage: {
3
3
  values: number[];
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { PaymentMode, BookingDetailsStatus } from "../../@enum";
2
2
  import { IBookingDetailsEntity } from "../../@type";
3
- export interface IOneSlotBooking extends IBookingDetailsEntity {
3
+ export interface ICreateOneSlotBookingResponse extends IBookingDetailsEntity {
4
4
  }
5
5
  export interface ICreateOneSlotBookingDetailsRequest {
6
6
  customerName: string;
@@ -1,5 +1,5 @@
1
1
  import { ISubscriptionEntity, IUpgrade_details } from "../../@type";
2
- export interface IRenewSubscription extends ISubscriptionEntity {
2
+ export interface IRenewSubscriptionResponse extends ISubscriptionEntity {
3
3
  }
4
4
  export interface IRenewSubscriptionRequest {
5
5
  from: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18-beta.10",
3
+ "version": "1.0.18-beta.11",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",