turf-common 1.0.16-beta.47 → 1.0.16-beta.48

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 (139) hide show
  1. package/build/interface/api/activate-subscription.interface.d.ts +3 -0
  2. package/build/interface/api/activate-subscription.interface.js +2 -0
  3. package/build/interface/api/booking-availablity-by-pitch.interface.d.ts +31 -0
  4. package/build/interface/api/booking-availablity-by-pitch.interface.js +2 -0
  5. package/build/interface/api/cancellation-charges.interface.d.ts +6 -0
  6. package/build/interface/api/cancellation-charges.interface.js +2 -0
  7. package/build/interface/api/create-bank-details.interface.d.ts +3 -0
  8. package/build/interface/api/create-bank-details.interface.js +2 -0
  9. package/build/interface/api/create-cancellation-policy.interface.d.ts +3 -0
  10. package/build/interface/api/create-cancellation-policy.interface.js +2 -0
  11. package/build/interface/api/create-coupon.interface.d.ts +3 -0
  12. package/build/interface/api/create-coupon.interface.js +2 -0
  13. package/build/interface/api/create-faqs.interface.d.ts +3 -0
  14. package/build/interface/api/create-faqs.interface.js +2 -0
  15. package/build/interface/api/create-organization.interface.d.ts +3 -0
  16. package/build/interface/api/create-organization.interface.js +2 -0
  17. package/build/interface/api/create-pricing-plan.interface.d.ts +3 -0
  18. package/build/interface/api/create-pricing-plan.interface.js +2 -0
  19. package/build/interface/api/create-recurring-slot-booking.interface.d.ts +3 -0
  20. package/build/interface/api/create-recurring-slot-booking.interface.js +2 -0
  21. package/build/interface/api/create-registration-transaction-output.interface.d.ts +2 -0
  22. package/build/interface/api/create-registration-transaction-output.interface.js +2 -0
  23. package/build/interface/api/create-subscription.interface.d.ts +3 -0
  24. package/build/interface/api/create-subscription.interface.js +2 -0
  25. package/build/interface/api/delete-bank-details-by-id.interface.d.ts +3 -0
  26. package/build/interface/api/delete-bank-details-by-id.interface.js +2 -0
  27. package/build/interface/api/delete-booking-by-codes.interface.d.ts +7 -0
  28. package/build/interface/api/delete-booking-by-codes.interface.js +2 -0
  29. package/build/interface/api/delete-booking-info.interface.d.ts +3 -0
  30. package/build/interface/api/delete-booking-info.interface.js +2 -0
  31. package/build/interface/api/delete-pricing-plan.interface.d.ts +3 -0
  32. package/build/interface/api/delete-pricing-plan.interface.js +2 -0
  33. package/build/interface/api/get-all-booking-of-turf.interface.d.ts +16 -0
  34. package/build/interface/api/get-all-booking-of-turf.interface.js +2 -0
  35. package/build/interface/api/get-bank-detail-by-id.interface.d.ts +3 -0
  36. package/build/interface/api/get-bank-detail-by-id.interface.js +2 -0
  37. package/build/interface/api/get-bank-detail-entities.interface.d.ts +3 -0
  38. package/build/interface/api/get-bank-detail-entities.interface.js +2 -0
  39. package/build/interface/api/get-booking-by-organization-id.interface.d.ts +19 -0
  40. package/build/interface/api/get-booking-by-organization-id.interface.js +2 -0
  41. package/build/interface/api/get-booking-customers.interface.d.ts +3 -0
  42. package/build/interface/api/get-booking-customers.interface.js +2 -0
  43. package/build/interface/api/get-booking-details-by-id.interface.d.ts +3 -0
  44. package/build/interface/api/get-booking-details-by-id.interface.js +2 -0
  45. package/build/interface/api/get-booking-info.interface.d.ts +11 -0
  46. package/build/interface/api/get-booking-info.interface.js +2 -0
  47. package/build/interface/api/get-cancellation-policy-entity-by-org-id.interface.d.ts +9 -0
  48. package/build/interface/api/get-cancellation-policy-entity-by-org-id.interface.js +2 -0
  49. package/build/interface/api/get-collection.interface.d.ts +12 -0
  50. package/build/interface/api/get-collection.interface.js +2 -0
  51. package/build/interface/api/get-cron-job-by-date-range-name-status.interface.d.ts +3 -0
  52. package/build/interface/api/get-cron-job-by-date-range-name-status.interface.js +2 -0
  53. package/build/interface/api/get-current-subscription.interface.d.ts +5 -0
  54. package/build/interface/api/get-current-subscription.interface.js +2 -0
  55. package/build/interface/api/get-organization-by-orgid.interface.d.ts +21 -0
  56. package/build/interface/api/get-organization-by-orgid.interface.js +2 -0
  57. package/build/interface/api/get-price-by-organization-response.interface.d.ts +6 -0
  58. package/build/interface/api/get-price-by-organization-response.interface.js +2 -0
  59. package/build/interface/api/get-price-entity.types.d.ts +5 -0
  60. package/build/interface/api/get-price-entity.types.js +2 -0
  61. package/build/interface/api/get-price-query.interface.d.ts +7 -0
  62. package/build/interface/api/get-price-query.interface.js +2 -0
  63. package/build/interface/api/get-pricing-plan-by-date-response.interface.d.ts +23 -0
  64. package/build/interface/api/get-pricing-plan-by-date-response.interface.js +2 -0
  65. package/build/interface/api/get-pricing-plan-by-id.interface.d.ts +3 -0
  66. package/build/interface/api/get-pricing-plan-by-id.interface.js +2 -0
  67. package/build/interface/api/get-pricing-plan-entities.interface.d.ts +3 -0
  68. package/build/interface/api/get-pricing-plan-entities.interface.js +2 -0
  69. package/build/interface/api/get-registration-by-id.types.d.ts +38 -0
  70. package/build/interface/api/get-registration-by-id.types.js +2 -0
  71. package/build/interface/api/get-registration-entities.interface.d.ts +36 -0
  72. package/build/interface/api/get-registration-entities.interface.js +2 -0
  73. package/build/interface/api/get-subscription-by-org-id.interface.d.ts +3 -0
  74. package/build/interface/api/get-subscription-by-org-id.interface.js +2 -0
  75. package/build/interface/api/get-subscription-entities.interface.d.ts +3 -0
  76. package/build/interface/api/get-subscription-entities.interface.js +2 -0
  77. package/build/interface/api/get-turf-by-organization.interface.d.ts +3 -0
  78. package/build/interface/api/get-turf-by-organization.interface.js +2 -0
  79. package/build/interface/api/get-turf-entity-response.interface.d.ts +3 -0
  80. package/build/interface/api/get-turf-entity-response.interface.js +2 -0
  81. package/build/interface/api/list-of-coupons.interface.d.ts +8 -0
  82. package/build/interface/api/list-of-coupons.interface.js +2 -0
  83. package/build/interface/api/one-slot-booking.interface.d.ts +3 -0
  84. package/build/interface/api/one-slot-booking.interface.js +2 -0
  85. package/build/interface/api/renew-subscription.interface.d.ts +3 -0
  86. package/build/interface/api/renew-subscription.interface.js +2 -0
  87. package/build/interface/api/setup-registration.interface.d.ts +5 -0
  88. package/build/interface/api/setup-registration.interface.js +2 -0
  89. package/build/interface/api/staff-member-list.interface.d.ts +10 -0
  90. package/build/interface/api/staff-member-list.interface.js +2 -0
  91. package/build/interface/api/update-bank-detail.interface.d.ts +3 -0
  92. package/build/interface/api/update-bank-detail.interface.js +2 -0
  93. package/build/interface/api/update-booking-by-code.interface.d.ts +15 -0
  94. package/build/interface/api/update-booking-by-code.interface.js +2 -0
  95. package/build/interface/api/update-configuration.interface.d.ts +3 -0
  96. package/build/interface/api/update-configuration.interface.js +2 -0
  97. package/build/interface/api/update-coupon.interface.d.ts +3 -0
  98. package/build/interface/api/update-coupon.interface.js +2 -0
  99. package/build/interface/api/update-faqs-steps.interface.d.ts +3 -0
  100. package/build/interface/api/update-faqs-steps.interface.js +2 -0
  101. package/build/interface/api/update-faqs.interface.d.ts +3 -0
  102. package/build/interface/api/update-faqs.interface.js +2 -0
  103. package/build/interface/api/update-organization.interface.d.ts +6 -0
  104. package/build/interface/api/update-organization.interface.js +2 -0
  105. package/build/interface/api/update-pricing-plan-by-id.interface.d.ts +7 -0
  106. package/build/interface/api/update-pricing-plan-by-id.interface.js +2 -0
  107. package/build/interface/api/update-recurring-booking.interface.d.ts +37 -0
  108. package/build/interface/api/update-recurring-booking.interface.js +2 -0
  109. package/build/interface/api/update-registration-entities.interface.d.ts +3 -0
  110. package/build/interface/api/update-registration-entities.interface.js +2 -0
  111. package/build/interface/api/update-staff-member.interface.d.ts +23 -0
  112. package/build/interface/api/update-staff-member.interface.js +2 -0
  113. package/build/interface/api/update-subscription.interface.d.ts +4 -0
  114. package/build/interface/api/update-subscription.interface.js +2 -0
  115. package/build/interface/api/update-turf-transaction-output.d.ts +3 -0
  116. package/build/interface/api/update-turf-transaction-output.js +2 -0
  117. package/build/interface/api/upgrade-renew-subscription.interface.d.ts +3 -0
  118. package/build/interface/api/upgrade-renew-subscription.interface.js +2 -0
  119. package/build/interface/api/upgrade-subscription.interface.d.ts +3 -0
  120. package/build/interface/api/upgrade-subscription.interface.js +2 -0
  121. package/build/interface/api/userentity-without-password.interface.d.ts +3 -0
  122. package/build/interface/api/userentity-without-password.interface.js +2 -0
  123. package/build/interface/billing-cycle-dto.interface.d.ts +8 -0
  124. package/build/interface/billing-cycle-dto.interface.js +2 -0
  125. package/build/interface/booking-details-with-code.interface.d.ts +31 -0
  126. package/build/interface/booking-details-with-code.interface.js +2 -0
  127. package/build/interface/controller.interface.d.ts +6 -0
  128. package/build/interface/controller.interface.js +2 -0
  129. package/build/interface/get-booking-by-id.interface.d.ts +56 -0
  130. package/build/interface/get-booking-by-id.interface.js +2 -0
  131. package/build/interface/pitch-slab-dto.interface.d.ts +8 -0
  132. package/build/interface/pitch-slab-dto.interface.js +2 -0
  133. package/build/interface/upload-multer-file.interface.d.ts +9 -0
  134. package/build/interface/upload-multer-file.interface.js +2 -0
  135. package/build/interface/user-info-dto.interface.d.ts +16 -0
  136. package/build/interface/user-info-dto.interface.js +2 -0
  137. package/build/interface/without-token-registration-entity.types.d.ts +3 -0
  138. package/build/interface/without-token-registration-entity.types.js +2 -0
  139. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { ISubscriptionEntity } from "../../@type";
2
+ export interface IActivateSubscription extends Array<ISubscriptionEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ export interface IBookingAvailabilityByPitch {
2
+ available: {
3
+ [key: string]: {
4
+ from: string;
5
+ to: string;
6
+ pitch: number[];
7
+ price: number;
8
+ }[];
9
+ };
10
+ notavailable: {
11
+ [key: string]: {
12
+ from: string;
13
+ to: string;
14
+ pitch: number[];
15
+ }[];
16
+ };
17
+ pricenotavailable: {
18
+ [key: string]: {
19
+ from: string;
20
+ to: string;
21
+ pitch: number[];
22
+ }[];
23
+ };
24
+ totalPrice: number;
25
+ activePitches: {
26
+ [key: number]: {
27
+ name: string;
28
+ sports: string;
29
+ };
30
+ };
31
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface ICancellationCharges {
2
+ [key: string]: {
3
+ cancellationCharges: number;
4
+ cancellationUnit: string;
5
+ };
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBankDetailsEntity } from '../../@type';
2
+ export interface ICreateBankDetail extends IBankDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ICancellationPolicyEntity } from '../../@type';
2
+ export interface ICreateCancellationPolicy extends Array<ICancellationPolicyEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ICouponEntity } from '../../@type';
2
+ export interface ICreateCoupon extends ICouponEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IFaqsEntity } from '../../@type';
2
+ export interface ICreateFaqs extends IFaqsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IOrganizationEntity } from '../../@type';
2
+ export interface ICreateOrganization extends IOrganizationEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IPricingPlanEntity } from '../../@type';
2
+ export interface ICreatePricingPlan extends IPricingPlanEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBookingDetailsEntity } from '../../@type';
2
+ export interface ICreateRecurringSlotBooking extends IBookingDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import { IWithoutTokenRegistrationEntity } from '../without-token-registration-entity.types';
2
+ export type CreateRegistrationTransactionOutput = IWithoutTokenRegistrationEntity;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ISubscriptionEntity } from '../../@type';
2
+ export interface ICreateSubscription extends Array<ISubscriptionEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBankDetailsEntity } from '../../@type';
2
+ export interface IDeleteBankDetailsById extends IBankDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { PaymentMode } from '../../@enum';
2
+ export interface IDeleteBookingByCodes {
3
+ bookingCodes: string;
4
+ cancellation_amount: number;
5
+ refund_amount: number;
6
+ refund_mode: PaymentMode;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBookingDetailsEntity } from "../../@type";
2
+ export interface IDeleteBookingInfo extends IBookingDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IPricingPlanEntity } from "../../@type";
2
+ export interface IRemovePricingPlanById extends IPricingPlanEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import { ITurf } from "../../@type";
2
+ import { IBookingDetailsWithCode } from "../booking-details-with-code.interface";
3
+ export interface IGetAllBookingOfTurf {
4
+ turfs: {
5
+ [turfId: number]: ITurf;
6
+ };
7
+ bookings: {
8
+ [turfId: string]: {
9
+ [pitchCode: string]: {
10
+ [date: string]: {
11
+ [timeSlotCode: string]: IBookingDetailsWithCode;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBankDetailsEntity } from "../../@type";
2
+ export interface IGetBankDetailById extends IBankDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBankDetailsEntity } from "../../@type";
2
+ export interface IGetBankDetailsEntities extends IBankDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import { ITurf } from "../../@type";
2
+ import { IBookingDetailsWithBooking } from "../../types/bookingdetails-with-booking.type";
3
+ import { UserType } from "../../enums/valid-type.enum";
4
+ export interface IGetBookingsByOrganizationId {
5
+ turfs: {
6
+ [turfId: number]: ITurf;
7
+ };
8
+ pending_refund: IBookingDetailsWithBooking;
9
+ full_refund: IBookingDetailsWithBooking;
10
+ pending_payment: IBookingDetailsWithBooking;
11
+ user: {
12
+ [userId: string]: {
13
+ id: number;
14
+ firstname: string;
15
+ email: string;
16
+ type: UserType;
17
+ };
18
+ };
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBookingCustomerEntity } from "../../@type";
2
+ export interface IGetBookingCustomers extends Array<IBookingCustomerEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IGetBookingById } from '../get-booking-by-id.interface';
2
+ export interface IGetBookingDetailsById extends IGetBookingById {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { BookingDetailsStatus } from "../../enums/booking-details-status.enum";
2
+ export interface IGetBookingInfo {
3
+ [date: string]: {
4
+ [time: string]: {
5
+ price?: number | undefined;
6
+ bookingId?: number | undefined;
7
+ status?: BookingDetailsStatus | undefined;
8
+ actualPrice?: number | undefined;
9
+ };
10
+ };
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { ICancellationPolicyEntity, ITurfEntity } from "../../@type";
2
+ export interface IGetCancellationPolicyByOrgId {
3
+ turfs: {
4
+ [turfId: number]: ITurfEntity;
5
+ };
6
+ cancellationPolicy: {
7
+ [turfId: string]: ICancellationPolicyEntity[];
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { IBookingPaymentHistoryEntity, ITurfEntity, IUserEntity } from "../../@type";
2
+ import { IDateWisePaymentHistoryData } from "../../types/date-wise-payment-history-data.types";
3
+ export interface IGetCollection {
4
+ turfs: {
5
+ [turfId: number]: ITurfEntity;
6
+ };
7
+ users: {
8
+ [key: number]: IUserEntity;
9
+ };
10
+ total: IDateWisePaymentHistoryData;
11
+ payments: IBookingPaymentHistoryEntity[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ICronJobsEntity } from "../../@type";
2
+ export interface IGetCronJobByDateRangeNameStatus extends Array<ICronJobsEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { ISubscriptionEntity, ISubscriptionPitchMappingEntity } from "../../@type";
2
+ export interface IGetCurrentSubscription extends ISubscriptionEntity {
3
+ details: ISubscriptionPitchMappingEntity[];
4
+ next: ISubscriptionEntity | null;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ import { ITurfEntity } from "../../@type";
2
+ import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
3
+ export interface IGetOrganizationByOrgId {
4
+ id: number;
5
+ name: string;
6
+ email: string;
7
+ contact_no: string;
8
+ type: string;
9
+ pan_no: string;
10
+ pan_file_path: string;
11
+ gst_no: string;
12
+ gst_file_path: string;
13
+ deed: any;
14
+ deed_file_path: any;
15
+ createdOn: Date;
16
+ updatedOn: Date;
17
+ createdBy: number;
18
+ updatedBy: number;
19
+ owners?: IUserEntityWithoutPassword[];
20
+ turfs?: ITurfEntity[];
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface GetPriceByOrganization {
2
+ [key: string]: {
3
+ name: string;
4
+ price: Record<string, Record<string, Record<string, string[]>>>;
5
+ };
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type IGetPriceEntity = {
2
+ [date: string]: {
3
+ [time: string]: number;
4
+ };
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface IGetPriceQuery {
2
+ [turfId: string]: {
3
+ [code: string]: {
4
+ [time: string]: number;
5
+ };
6
+ };
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ export interface IGetPricingPlanByDateResponse {
2
+ id: number;
3
+ effective_from_date: number;
4
+ effective_to_date: number;
5
+ base_price: number;
6
+ unit: string;
7
+ pitch_slab: {
8
+ [key: string]: {
9
+ from: number;
10
+ to: number;
11
+ discount: string;
12
+ };
13
+ };
14
+ billing_cycle: {
15
+ [key: string]: {
16
+ from: number;
17
+ to: number;
18
+ discount: string;
19
+ name: string;
20
+ key: string;
21
+ };
22
+ };
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IGetPricingPlanByDateResponse } from './get-pricing-plan-by-date-response.interface';
2
+ export interface IGetPricingPlanById extends IGetPricingPlanByDateResponse {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IGetPricingPlanByDateResponse } from './get-pricing-plan-by-date-response.interface';
2
+ export interface IGetPricingPlanEntities extends IGetPricingPlanByDateResponse {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
+ import { OrganizationStatus } from "../../@enum";
3
+ import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
4
+ export interface IGetRegistration {
5
+ [registrationId: string]: {
6
+ registration: IRegistrationEntity;
7
+ organization: {
8
+ [id: string]: {
9
+ id: number;
10
+ name: string;
11
+ email: string;
12
+ contact_no: string;
13
+ type: string;
14
+ pan_no: string;
15
+ pan_file_path: string;
16
+ gst_no: string;
17
+ gst_file_path: string;
18
+ deed: string;
19
+ deed_file_path: string;
20
+ createdBy: number;
21
+ createdOn: Date;
22
+ updatedBy: number;
23
+ updatedOn: Date;
24
+ status: OrganizationStatus;
25
+ registrationId: number;
26
+ turfs: {
27
+ [turfId: string]: ITurf;
28
+ };
29
+ owners: {
30
+ [userId: string]: IUserEntityWithoutPassword;
31
+ };
32
+ };
33
+ };
34
+ subscription: {
35
+ [id: string]: ISubscriptionEntity;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
2
+ import { IUserEntityWithoutPassword } from "./userentity-without-password.interface";
3
+ import { OrganizationStatus } from "../../@enum";
4
+ export interface IGetRegistrationEntityById {
5
+ registration: IRegistrationEntity;
6
+ organization: {
7
+ [id: string]: {
8
+ id: number;
9
+ name: string;
10
+ email: string;
11
+ contact_no: string;
12
+ type: string;
13
+ pan_no: string;
14
+ pan_file_path: string;
15
+ gst_no: string;
16
+ gst_file_path: string;
17
+ deed: string;
18
+ deed_file_path: string;
19
+ createdBy: number;
20
+ createdOn: Date;
21
+ updatedBy: number;
22
+ updatedOn: Date;
23
+ status: OrganizationStatus;
24
+ registrationId: number;
25
+ turfs: {
26
+ [turfId: string]: ITurf;
27
+ };
28
+ owners: {
29
+ [userId: string]: IUserEntityWithoutPassword;
30
+ };
31
+ };
32
+ };
33
+ subscription: {
34
+ [id: string]: ISubscriptionEntity;
35
+ };
36
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ISubscriptionEntity } from "../../@type";
2
+ export interface IGetSubscriptionByOrgId extends Array<ISubscriptionEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ISubscriptionEntity } from "../../@type";
2
+ export interface IGetSubscriptionEntities extends Array<ISubscriptionEntity> {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ITurfEntity } from "../../@type";
2
+ export interface IGetTurfByOrganization extends ITurfEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ITurf } from "../../@type";
2
+ export interface IGetTurfEntityResponse extends ITurf {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface IListOfCoupons {
2
+ percentage: {
3
+ values: number[];
4
+ };
5
+ unit: {
6
+ values: number[];
7
+ };
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { IBookingDetailsEntity } from "../../@type";
2
+ export interface IOneSlotBooking extends IBookingDetailsEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { ISubscriptionEntity } from "../../@type";
2
+ export interface IRenewSubscription extends ISubscriptionEntity {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface ISetupRegistration {
2
+ turf: boolean;
3
+ 'organization-profile': boolean;
4
+ subscription: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });