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

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 (40) hide show
  1. package/build/@enum.d.ts +1 -0
  2. package/build/@enum.js +1 -0
  3. package/build/enums/booking-fetch-filter.enum.d.ts +5 -0
  4. package/build/enums/booking-fetch-filter.enum.js +9 -0
  5. package/build/enums/valid-coupon-type.enum.d.ts +4 -0
  6. package/build/enums/valid-coupon-type.enum.js +8 -0
  7. package/build/interface/api/activate-subscription.interface.d.ts +4 -0
  8. package/build/interface/api/booking-availablity-by-pitch.interface.d.ts +11 -0
  9. package/build/interface/api/cancellation-charges.interface.d.ts +11 -0
  10. package/build/interface/api/create-bank-details.interface.d.ts +11 -1
  11. package/build/interface/api/create-cancellation-policy.interface.d.ts +10 -1
  12. package/build/interface/api/create-coupon.interface.d.ts +6 -1
  13. package/build/interface/api/create-faqs.interface.d.ts +10 -1
  14. package/build/interface/api/create-organization.interface.d.ts +17 -1
  15. package/build/interface/api/create-recurring-slot-booking.interface.d.ts +24 -1
  16. package/build/interface/api/create-subscription.interface.d.ts +13 -1
  17. package/build/interface/api/get-booking-by-organization-id.interface.d.ts +4 -0
  18. package/build/interface/api/get-collection.interface.d.ts +6 -0
  19. package/build/interface/api/get-price-entity.interface.d.ts +10 -0
  20. package/build/interface/api/get-price-entity.interface.js +2 -0
  21. package/build/interface/api/get-price-query.interface.d.ts +3 -0
  22. package/build/interface/api/index.d.ts +2 -1
  23. package/build/interface/api/index.js +2 -1
  24. package/build/interface/api/one-slot-booking.interface.d.ts +21 -0
  25. package/build/interface/api/renew-subscription.interface.d.ts +14 -1
  26. package/build/interface/api/set-price.interface.d.ts +6 -0
  27. package/build/interface/api/set-price.interface.js +2 -0
  28. package/build/interface/api/update-bank-detail.interface.d.ts +11 -1
  29. package/build/interface/api/update-configuration.interface.d.ts +1 -1
  30. package/build/interface/api/update-coupon.interface.d.ts +3 -0
  31. package/build/interface/api/update-faqs-steps.interface.d.ts +5 -0
  32. package/build/interface/api/update-organization.interface.d.ts +12 -0
  33. package/build/interface/api/update-pricing-plan-by-id.interface.d.ts +11 -1
  34. package/build/interface/api/update-recurring-booking.interface.d.ts +16 -1
  35. package/build/interface/api/update-subscription.interface.d.ts +14 -0
  36. package/build/interface/api/update-turf-transaction-output.d.ts +8 -8
  37. package/build/interface/api/upgrade-renew-subscription.interface.d.ts +5 -1
  38. package/build/interface/api/upgrade-subscription.interface.d.ts +16 -1
  39. package/build/interface/dto/update-booking-by-code-dto.interface.d.ts +5 -7
  40. package/package.json +1 -1
package/build/@enum.d.ts CHANGED
@@ -15,3 +15,4 @@ export * from "./enums/transaction-type.enum";
15
15
  export * from "./enums/user-status.enum";
16
16
  export * from "./enums/valid-type.enum";
17
17
  export * from "./enums/modification-discount-policy.enum";
18
+ export * from "./enums/valid-coupon-type.enum";
package/build/@enum.js CHANGED
@@ -31,3 +31,4 @@ __exportStar(require("./enums/transaction-type.enum"), exports);
31
31
  __exportStar(require("./enums/user-status.enum"), exports);
32
32
  __exportStar(require("./enums/valid-type.enum"), exports);
33
33
  __exportStar(require("./enums/modification-discount-policy.enum"), exports);
34
+ __exportStar(require("./enums/valid-coupon-type.enum"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum BookingFetchFilter {
2
+ PENDING_PAYMENT = "pending_payment",
3
+ PENDING_REFUND = "pending_refund",
4
+ FULL_REFUND = "full_refund"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingFetchFilter = void 0;
4
+ var BookingFetchFilter;
5
+ (function (BookingFetchFilter) {
6
+ BookingFetchFilter["PENDING_PAYMENT"] = "pending_payment";
7
+ BookingFetchFilter["PENDING_REFUND"] = "pending_refund";
8
+ BookingFetchFilter["FULL_REFUND"] = "full_refund";
9
+ })(BookingFetchFilter || (exports.BookingFetchFilter = BookingFetchFilter = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum ValidCouponType {
2
+ PERCENTAGE = "percentage",
3
+ UNIT = "unit"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidCouponType = void 0;
4
+ var ValidCouponType;
5
+ (function (ValidCouponType) {
6
+ ValidCouponType["PERCENTAGE"] = "percentage";
7
+ ValidCouponType["UNIT"] = "unit";
8
+ })(ValidCouponType || (exports.ValidCouponType = ValidCouponType = {}));
@@ -1,3 +1,7 @@
1
1
  import { ISubscriptionEntity } from "../../@type";
2
2
  export interface IActivateSubscription extends Array<ISubscriptionEntity> {
3
3
  }
4
+ export interface IActivateSubscriptionRequest {
5
+ dateCode?: number;
6
+ organizationId?: number;
7
+ }
@@ -26,3 +26,14 @@ export interface IBookingByPitches {
26
26
  to: string;
27
27
  pitch: number[];
28
28
  }
29
+ export interface IBookingAvailabilityByPitchRequest {
30
+ slot: IBookingAvailabilitySlotRequest[];
31
+ bookingCode?: string;
32
+ }
33
+ export interface IBookingAvailabilitySlotRequest {
34
+ fromDate: number;
35
+ toDate: number;
36
+ weekdays: number[];
37
+ from: string;
38
+ to: string;
39
+ }
@@ -4,3 +4,14 @@ export interface ICancellationCharges {
4
4
  cancellationUnit: string;
5
5
  };
6
6
  }
7
+ export interface ICancellationChargesDtoRequest {
8
+ data?: {
9
+ [key: string]: string;
10
+ };
11
+ new_slot?: ICancellationChargesSlot;
12
+ }
13
+ export interface ICancellationChargesSlot {
14
+ date: number;
15
+ from: string;
16
+ to: string;
17
+ }
@@ -1,3 +1,13 @@
1
- import { IBankDetailsEntity } from '../../@type';
1
+ import { IBankDetailsEntity, IUploadedMulterFile } from "../../@type";
2
2
  export interface ICreateBankDetail extends IBankDetailsEntity {
3
3
  }
4
+ export interface ICreateBankDetailRequest {
5
+ qrCode?: IUploadedMulterFile;
6
+ bankName: string;
7
+ accountName: string;
8
+ accountNo: string;
9
+ ifscCode: string;
10
+ upiId?: string;
11
+ bankAddress?: string;
12
+ branch: string;
13
+ }
@@ -1,3 +1,12 @@
1
- import { ICancellationPolicyEntity } from '../../@type';
1
+ import { ICancellationPolicyEntity } from "../../@type";
2
2
  export interface ICreateCancellationPolicy extends Array<ICancellationPolicyEntity> {
3
3
  }
4
+ export interface ICreateCancellationPolicyDtoRequest {
5
+ adhocRefund: boolean;
6
+ cancellationPolicy?: ICancellationPolicyDetailsRequest[];
7
+ }
8
+ export interface ICancellationPolicyDetailsRequest {
9
+ from: number;
10
+ to: number;
11
+ charges: string;
12
+ }
@@ -1,3 +1,8 @@
1
- import { ICouponEntity } from '../../@type';
1
+ import { ICouponEntity } from "../../@type";
2
+ import { ValidCouponType } from "../../enums/valid-coupon-type.enum";
2
3
  export interface ICreateCoupon extends ICouponEntity {
3
4
  }
5
+ export interface ICreateCouponDtoRequest {
6
+ type: ValidCouponType;
7
+ value: number;
8
+ }
@@ -1,3 +1,12 @@
1
- import { IFaqsEntity } from '../../@type';
1
+ import { IFaqsEntity } from "../../@type";
2
2
  export interface ICreateFaqs extends IFaqsEntity {
3
3
  }
4
+ export interface ICreateFaqsRequest {
5
+ module: string;
6
+ question: string;
7
+ index: string;
8
+ steps: IStepsRequest[];
9
+ }
10
+ export interface IStepsRequest {
11
+ text: string;
12
+ }
@@ -1,3 +1,19 @@
1
- import { IOrganizationEntity } from '../../@type';
1
+ import { IOrganizationEntity } from "../../@type";
2
2
  export interface ICreateOrganization extends IOrganizationEntity {
3
3
  }
4
+ export interface ICreateOrganizationRequest {
5
+ name: string;
6
+ owner: ICreateOrganizationUserInfo[];
7
+ email?: string;
8
+ phone?: number;
9
+ type: string;
10
+ pan: string;
11
+ gst?: string;
12
+ deed?: string;
13
+ }
14
+ export interface ICreateOrganizationUserInfo {
15
+ first_name: string;
16
+ last_name: string;
17
+ email?: string;
18
+ phone?: number;
19
+ }
@@ -1,3 +1,26 @@
1
- import { IBookingDetailsEntity } from '../../@type';
1
+ import { PaymentMode, BookingDetailsStatus } from "../../@enum";
2
+ import { IBookingDetailsEntity } from "../../@type";
2
3
  export interface ICreateRecurringSlotBooking extends IBookingDetailsEntity {
3
4
  }
5
+ export interface ICreateRecurringSlotsBookingDetailsResponse {
6
+ customerName: string;
7
+ contact: number;
8
+ email?: string | null;
9
+ paymentMode: PaymentMode;
10
+ couponCode?: string;
11
+ totalCost: number;
12
+ discountedCost: number;
13
+ amountPaid: number;
14
+ pitchId: number;
15
+ status: BookingDetailsStatus;
16
+ sport: string;
17
+ remarks?: string | null;
18
+ slot: IRecurringSlot[];
19
+ }
20
+ export declare class IRecurringSlot {
21
+ fromDate: number;
22
+ toDate: number;
23
+ weekdays: number[];
24
+ from: string;
25
+ to: string;
26
+ }
@@ -1,3 +1,15 @@
1
- import { ISubscriptionEntity } from '../../@type';
1
+ import { ISubscriptionEntity } from "../../@type";
2
2
  export interface ICreateSubscription extends Array<ISubscriptionEntity> {
3
3
  }
4
+ export interface ICreateSubscriptionRequest {
5
+ from: string;
6
+ to: string;
7
+ pricingPlanId: number;
8
+ type: string;
9
+ grossAmount: number;
10
+ discount: string;
11
+ netAmount: number;
12
+ amountPaid: number;
13
+ noOfPitches: number;
14
+ remarks?: string;
15
+ }
@@ -1,6 +1,7 @@
1
1
  import { ITurf } from "../../@type";
2
2
  import { IBookingDetailsWithBooking } from "../../types/bookingdetails-with-booking.type";
3
3
  import { UserType } from "../../enums/valid-type.enum";
4
+ import { BookingFetchFilter } from "../../enums/booking-fetch-filter.enum";
4
5
  export interface IGetBookingsByOrganizationId {
5
6
  turfs: {
6
7
  [turfId: number]: ITurf;
@@ -17,3 +18,6 @@ export interface IGetBookingsByOrganizationId {
17
18
  };
18
19
  };
19
20
  }
21
+ export interface IGetBookingsByOrganizationIdRequest {
22
+ fetch: BookingFetchFilter[];
23
+ }
@@ -10,3 +10,9 @@ export interface IGetCollection {
10
10
  total: IDateWisePaymentHistoryData;
11
11
  payments: IBookingPaymentHistoryEntity[];
12
12
  }
13
+ export interface IGetCollectionRequest {
14
+ fromDateCode?: string;
15
+ toDateCode?: string;
16
+ turfIds?: number[];
17
+ total?: boolean;
18
+ }
@@ -0,0 +1,10 @@
1
+ export type IGetPriceEntity = {
2
+ [date: string]: {
3
+ [time: string]: number;
4
+ };
5
+ };
6
+ export interface IGetPriceEntityRequest {
7
+ turfId: number;
8
+ weekdays: number[];
9
+ months: number[];
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import { ISetPriceRequest } from "./set-price.interface";
1
2
  export interface IGetPriceQuery {
2
3
  [turfId: string]: {
3
4
  [code: string]: {
@@ -5,3 +6,5 @@ export interface IGetPriceQuery {
5
6
  };
6
7
  };
7
8
  }
9
+ export interface IGetPriceQueryRequest extends ISetPriceRequest {
10
+ }
@@ -27,7 +27,7 @@ export * from "./get-cron-job-by-date-range-name-status.interface";
27
27
  export * from "./get-current-subscription.interface";
28
28
  export * from "./get-organization-by-orgid.interface";
29
29
  export * from "./get-price-by-organization-response.interface";
30
- export * from "./get-price-entity.types";
30
+ export * from "./get-price-entity.interface";
31
31
  export * from "./get-price-query.interface";
32
32
  export * from "./get-pricing-plan-by-date-response.interface";
33
33
  export * from "./get-pricing-plan-by-id.interface";
@@ -63,3 +63,4 @@ export * from "./delete-booking-by-codes-response.interface";
63
63
  export * from "./update-booking-by-code-response.interface";
64
64
  export * from "./login-response.interface";
65
65
  export * from "./create-turf.interface";
66
+ export * from "./set-price.interface";
@@ -43,7 +43,7 @@ __exportStar(require("./get-cron-job-by-date-range-name-status.interface"), expo
43
43
  __exportStar(require("./get-current-subscription.interface"), exports);
44
44
  __exportStar(require("./get-organization-by-orgid.interface"), exports);
45
45
  __exportStar(require("./get-price-by-organization-response.interface"), exports);
46
- __exportStar(require("./get-price-entity.types"), exports);
46
+ __exportStar(require("./get-price-entity.interface"), exports);
47
47
  __exportStar(require("./get-price-query.interface"), exports);
48
48
  __exportStar(require("./get-pricing-plan-by-date-response.interface"), exports);
49
49
  __exportStar(require("./get-pricing-plan-by-id.interface"), exports);
@@ -81,3 +81,4 @@ __exportStar(require("./delete-booking-by-codes-response.interface"), exports);
81
81
  __exportStar(require("./update-booking-by-code-response.interface"), exports);
82
82
  __exportStar(require("./login-response.interface"), exports);
83
83
  __exportStar(require("./create-turf.interface"), exports);
84
+ __exportStar(require("./set-price.interface"), exports);
@@ -1,3 +1,24 @@
1
+ import { PaymentMode, BookingDetailsStatus } from "../../@enum";
1
2
  import { IBookingDetailsEntity } from "../../@type";
2
3
  export interface IOneSlotBooking extends IBookingDetailsEntity {
3
4
  }
5
+ export interface ICreateOneSlotBookingDetailsRequest {
6
+ customerName: string;
7
+ contact: number;
8
+ email?: string | null;
9
+ paymentMode: PaymentMode;
10
+ couponCode: string;
11
+ totalCost?: number;
12
+ discountedCost: number;
13
+ amountPaid: number;
14
+ pitchId: number;
15
+ status: BookingDetailsStatus;
16
+ sport: string;
17
+ remarks?: string | null;
18
+ slot: ICreateOneSlot[];
19
+ }
20
+ export interface ICreateOneSlot {
21
+ date: number;
22
+ from: string;
23
+ to: string;
24
+ }
@@ -1,3 +1,16 @@
1
- import { ISubscriptionEntity } from "../../@type";
1
+ import { ISubscriptionEntity, IUpgrade_details } from "../../@type";
2
2
  export interface IRenewSubscription extends ISubscriptionEntity {
3
3
  }
4
+ export interface IRenewSubscriptionRequest {
5
+ from: string;
6
+ to: string;
7
+ pricingPlanId: number;
8
+ type: string;
9
+ grossAmount: number;
10
+ discount: string;
11
+ netAmount: number;
12
+ amountPaid: number;
13
+ remarks?: string;
14
+ pitchCount?: number;
15
+ upgrade_details?: IUpgrade_details[];
16
+ }
@@ -0,0 +1,6 @@
1
+ export interface ISetPriceRequest {
2
+ from: string;
3
+ to: string;
4
+ monthWeekDays: number[];
5
+ price: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,13 @@
1
- import { IBankDetailsEntity } from "../../@type";
1
+ import { IBankDetailsEntity, IUploadedMulterFile } from "../../@type";
2
2
  export interface IUpdateBankDetail extends IBankDetailsEntity {
3
3
  }
4
+ export interface IUpdateBankDetailRequest {
5
+ qrCode?: IUploadedMulterFile;
6
+ bankName: string;
7
+ accountName: string;
8
+ accountNo: string;
9
+ ifscCode: string;
10
+ upiId?: string;
11
+ bankAddress?: string;
12
+ branch: string;
13
+ }
@@ -5,5 +5,5 @@ export interface IUpdateConfiguration extends Array<IConfigurationsEntity> {
5
5
  export interface IUpdateConfigurationRequest {
6
6
  key: ConfigurationKey;
7
7
  value: string;
8
- description: string;
8
+ description?: string;
9
9
  }
@@ -1,3 +1,6 @@
1
1
  import { ICouponEntity } from "../../@type";
2
2
  export interface IUpdateCoupon extends ICouponEntity {
3
3
  }
4
+ export interface IUpdateCouponRequest {
5
+ value: number;
6
+ }
@@ -1,3 +1,8 @@
1
1
  import { IFaqsEntity } from "../../@type";
2
2
  export interface IUpdateFaqsSteps extends IFaqsEntity {
3
3
  }
4
+ export interface IUpdateFaqsRequest {
5
+ module?: string;
6
+ question?: string;
7
+ text?: string;
8
+ }
@@ -1,6 +1,18 @@
1
+ import { OrganizationStatus } from "../../@enum";
1
2
  import { IOrganizationEntity } from "../../@type";
2
3
  import { IUserInfo } from "../user-info-dto.interface";
3
4
  export interface IUpdateOrganization extends IOrganizationEntity {
4
5
  imageUrl?: string;
5
6
  owners?: IUserInfo[];
6
7
  }
8
+ export interface IUpdateOrganizationRequest {
9
+ name?: string;
10
+ owners?: IUserInfo[];
11
+ email?: string;
12
+ phone?: number;
13
+ type?: string;
14
+ pan?: string;
15
+ gst?: string;
16
+ deed?: string;
17
+ status?: OrganizationStatus;
18
+ }
@@ -1,7 +1,17 @@
1
- import { IPricingPlanEntity } from "../../@type";
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
4
  export interface IUpdatePricingPlanById extends IPricingPlanEntity {
5
5
  pitch_slab?: IPitchSlabDto;
6
6
  billing_cycle?: IBillingCycleDto;
7
7
  }
8
+ export interface IUpdatePricingPlanByIdRequest {
9
+ effective_from_date?: number;
10
+ effective_to_date?: number;
11
+ base_price?: number;
12
+ unit?: string;
13
+ pitch_slab?: {
14
+ [key: string]: IPitchSlab;
15
+ };
16
+ billing_cycle?: IBillingCycleDto;
17
+ }
@@ -1,4 +1,4 @@
1
- import { BookingDetailsStatus } from "../../@enum";
1
+ 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";
@@ -35,3 +35,18 @@ export interface IUpdateRecurringBooking extends IBookingDetailsEntity {
35
35
  delete_slot?: IDeleteBookingByCodesDto;
36
36
  update_slot?: IUpdateBookingByCodesDto;
37
37
  }
38
+ export interface IUpdateRecurringSlotBookingDetailsRequest {
39
+ customerName?: string;
40
+ contact?: number;
41
+ email?: string;
42
+ paymentMode?: PaymentMode;
43
+ couponCode?: string;
44
+ amountPaid?: number;
45
+ status?: BookingDetailsStatus;
46
+ advancePayment?: number;
47
+ refundedAmount?: number;
48
+ refundedMode?: PaymentMode;
49
+ delete_slot?: IDeleteBookingByCodesDto;
50
+ update_slot?: IUpdateBookingByCodesDto;
51
+ remarks?: string | null;
52
+ }
@@ -1,4 +1,18 @@
1
+ import { SubscriptionStatus } from "../../@enum";
1
2
  import { ISubscriptionEntity } from "../../@type";
2
3
  export interface IUpdateSubscription extends ISubscriptionEntity {
3
4
  advanceAmount?: number;
4
5
  }
6
+ export interface IUpdateSubscriptionDtoRequest {
7
+ from?: string;
8
+ to?: string;
9
+ type?: string;
10
+ grossAmount?: number;
11
+ discount?: string;
12
+ netAmount?: number;
13
+ amountPaid?: number;
14
+ advanceAmount?: number;
15
+ status?: SubscriptionStatus;
16
+ noOfPitches?: number;
17
+ remarks?: string;
18
+ }
@@ -4,16 +4,16 @@ import { PitchSports } from "../../enums/pitch-sports.enum";
4
4
  export interface UpdateTurfTransactionOutput extends ITurfEntity {
5
5
  }
6
6
  export interface UpdateTurfDetailsRequest {
7
- turfName: string;
8
- pitches: IUpdatePitches[];
9
- address: string;
7
+ turfName?: string;
8
+ pitches?: IUpdatePitches[];
9
+ address?: string;
10
10
  }
11
11
  export interface IUpdatePitches {
12
- number: number;
13
- name: string;
14
- operations: PitchOperations;
15
- status: string;
16
- sports: IUpdateSports[];
12
+ number?: number;
13
+ name?: string;
14
+ operations?: PitchOperations;
15
+ status?: string;
16
+ sports?: IUpdateSports[];
17
17
  }
18
18
  export interface IUpdateSports {
19
19
  name: PitchSports;
@@ -1,3 +1,7 @@
1
- import { ISubscriptionEntity } from "../../@type";
1
+ import { IRenewSubscriptionRequest, ISubscriptionEntity, IUpgradeSubscriptionRequest } from "../../@type";
2
2
  export interface IUpgradeRenewSubscription extends ISubscriptionEntity {
3
3
  }
4
+ export interface IUpgradeRenewSubscriptionRequest {
5
+ upgradeSubscription: IUpgradeSubscriptionRequest;
6
+ renewSubscription: IRenewSubscriptionRequest;
7
+ }
@@ -1,3 +1,18 @@
1
- import { ISubscriptionEntity } from "../../@type";
1
+ import { ISubscriptionEntity, IUpdatePitches } from "../../@type";
2
2
  export interface IUpgradeSubscription extends ISubscriptionEntity {
3
3
  }
4
+ export interface IUpgradeSubscriptionRequest {
5
+ pricingPlanId: number;
6
+ pitchCount: number;
7
+ grossAmount: number;
8
+ netAmount: number;
9
+ discount: string;
10
+ upgrade_details?: IUpgrade_details[];
11
+ }
12
+ export interface IUpgrade_details {
13
+ turfId?: number;
14
+ turfName?: string;
15
+ status?: string;
16
+ pitches?: IUpdatePitches[];
17
+ address?: string;
18
+ }
@@ -5,11 +5,9 @@ export interface IUpdateBookingByCodesDto {
5
5
  refund_amount: number;
6
6
  refund_mode: PaymentMode;
7
7
  pitchId: number;
8
- slot: [
9
- {
10
- date: number;
11
- from: string;
12
- to: string;
13
- }
14
- ];
8
+ slot: {
9
+ date: number;
10
+ from: string;
11
+ to: string;
12
+ }[];
15
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18-beta.3",
3
+ "version": "1.0.18-beta.5",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",