turf-common 1.0.16-beta.49 → 1.0.16-beta.51

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 (37) hide show
  1. package/build/@type.d.ts +8 -0
  2. package/build/@type.js +8 -0
  3. package/build/interface/api/index.d.ts +60 -1
  4. package/build/interface/api/index.js +62 -1
  5. package/package.json +1 -1
  6. package/build/enums/enums.d.ts +0 -16
  7. package/build/enums/enums.js +0 -32
  8. package/build/enums/pricing-plan-status.enum copy.d.ts +0 -4
  9. package/build/enums/pricing-plan-status.enum copy.js +0 -8
  10. package/build/interface/booking-details-model.interface.d.ts +0 -5
  11. package/build/interface/booking-details-model.interface.js +0 -2
  12. package/build/interface/booking-entity-model.interface.d.ts +0 -8
  13. package/build/interface/booking-entity-model.interface.js +0 -2
  14. package/build/interface/cancellation-policy-model.interface.d.ts +0 -4
  15. package/build/interface/cancellation-policy-model.interface.js +0 -2
  16. package/build/interface/charge-model.interface.d.ts +0 -12
  17. package/build/interface/charge-model.interface.js +0 -2
  18. package/build/interface/configuration-model.interface.d.ts +0 -4
  19. package/build/interface/configuration-model.interface.js +0 -2
  20. package/build/interface/interface.d.ts +0 -8
  21. package/build/interface/interface.js +0 -24
  22. package/build/interface/price-model.interface.d.ts +0 -3
  23. package/build/interface/price-model.interface.js +0 -2
  24. package/build/interface/pricing-plan-entity-model.interface.d.ts +0 -13
  25. package/build/interface/pricing-plan-entity-model.interface.js +0 -2
  26. package/build/interface/pricing-plan-model.interface.d.ts +0 -15
  27. package/build/interface/pricing-plan-model.interface.js +0 -2
  28. package/build/interface/subscription-status.interface.d.ts +0 -20
  29. package/build/interface/subscription-status.interface.js +0 -24
  30. package/build/interface/turf-model.interface.d.ts +0 -7
  31. package/build/interface/turf-model.interface.js +0 -2
  32. package/build/interface/user-model.interface.d.ts +0 -3
  33. package/build/interface/user-model.interface.js +0 -2
  34. package/build/models/models.d.ts +0 -4
  35. package/build/models/models.js +0 -20
  36. package/build/types/type.d.ts +0 -4
  37. package/build/types/type.js +0 -20
package/build/@type.d.ts CHANGED
@@ -16,3 +16,11 @@ export * from "./interface/pitch-slab.interface";
16
16
  export * from "./interface/pricing-plan.interface";
17
17
  export * from "./interface/entity/entity-audit-column.interface";
18
18
  export * from "./interface/api";
19
+ export * from "./interface/billing-cycle-dto.interface";
20
+ export * from "./interface/booking-details-with-code.interface";
21
+ export * from "./interface/controller.interface";
22
+ export * from "./interface/get-booking-by-id.interface";
23
+ export * from "./interface/pitch-slab-dto.interface";
24
+ export * from "./interface/upload-multer-file.interface";
25
+ export * from "./interface/user-info-dto.interface";
26
+ export * from "./interface/without-token-registration-entity.types";
package/build/@type.js CHANGED
@@ -32,3 +32,11 @@ __exportStar(require("./interface/pitch-slab.interface"), exports);
32
32
  __exportStar(require("./interface/pricing-plan.interface"), exports);
33
33
  __exportStar(require("./interface/entity/entity-audit-column.interface"), exports);
34
34
  __exportStar(require("./interface/api"), exports);
35
+ __exportStar(require("./interface/billing-cycle-dto.interface"), exports);
36
+ __exportStar(require("./interface/booking-details-with-code.interface"), exports);
37
+ __exportStar(require("./interface/controller.interface"), exports);
38
+ __exportStar(require("./interface/get-booking-by-id.interface"), exports);
39
+ __exportStar(require("./interface/pitch-slab-dto.interface"), exports);
40
+ __exportStar(require("./interface/upload-multer-file.interface"), exports);
41
+ __exportStar(require("./interface/user-info-dto.interface"), exports);
42
+ __exportStar(require("./interface/without-token-registration-entity.types"), exports);
@@ -1 +1,60 @@
1
- export * from "../api";
1
+ export * from "./activate-subscription.interface";
2
+ export * from "./booking-availablity-by-pitch.interface";
3
+ export * from "./cancellation-charges.interface";
4
+ export * from "./create-bank-details.interface";
5
+ export * from "./create-cancellation-policy.interface";
6
+ export * from "./create-coupon.interface";
7
+ export * from "./create-faqs.interface";
8
+ export * from "./create-organization.interface";
9
+ export * from "./create-pricing-plan.interface";
10
+ export * from "./create-recurring-slot-booking.interface";
11
+ export * from "./create-registration-transaction-output.interface";
12
+ export * from "./create-subscription.interface";
13
+ export * from "./delete-bank-details-by-id.interface";
14
+ export * from "./delete-booking-by-codes.interface";
15
+ export * from "./delete-booking-info.interface";
16
+ export * from "./delete-pricing-plan.interface";
17
+ export * from "./get-all-booking-of-turf.interface";
18
+ export * from "./get-bank-detail-by-id.interface";
19
+ export * from "./get-bank-detail-entities.interface";
20
+ export * from "./get-booking-by-organization-id.interface";
21
+ export * from "./get-booking-customers.interface";
22
+ export * from "./get-booking-details-by-id.interface";
23
+ export * from "./get-booking-info.interface";
24
+ export * from "./get-cancellation-policy-entity-by-org-id.interface";
25
+ export * from "./get-collection.interface";
26
+ export * from "./get-cron-job-by-date-range-name-status.interface";
27
+ export * from "./get-current-subscription.interface";
28
+ export * from "./get-organization-by-orgid.interface";
29
+ export * from "./get-price-by-organization-response.interface";
30
+ export * from "./get-price-entity.types";
31
+ export * from "./get-price-query.interface";
32
+ export * from "./get-pricing-plan-by-date-response.interface";
33
+ export * from "./get-pricing-plan-by-id.interface";
34
+ export * from "./get-pricing-plan-entities.interface";
35
+ export * from "./get-registration-by-id.types";
36
+ export * from "./get-registration-entities.interface";
37
+ export * from "./get-subscription-by-org-id.interface";
38
+ export * from "./get-subscription-entities.interface";
39
+ export * from "./get-turf-by-organization.interface";
40
+ export * from "./get-turf-entity-response.interface";
41
+ export * from "./list-of-coupons.interface";
42
+ export * from "./one-slot-booking.interface";
43
+ export * from "./renew-subscription.interface";
44
+ export * from "./setup-registration.interface";
45
+ export * from "./staff-member-list.interface";
46
+ export * from "./update-bank-detail.interface";
47
+ export * from "./update-booking-by-code.interface";
48
+ export * from "./update-configuration.interface";
49
+ export * from "./update-coupon.interface";
50
+ export * from "./update-faqs-steps.interface";
51
+ export * from "./update-faqs.interface";
52
+ export * from "./update-organization.interface";
53
+ export * from "./update-pricing-plan-by-id.interface";
54
+ export * from "./update-recurring-booking.interface";
55
+ export * from "./update-staff-member.interface";
56
+ export * from "./update-subscription.interface";
57
+ export * from "./update-turf-transaction-output";
58
+ export * from "./upgrade-renew-subscription.interface";
59
+ export * from "./upgrade-subscription.interface";
60
+ export * from "./userentity-without-password.interface";
@@ -14,4 +14,65 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../api"), exports);
17
+ __exportStar(require("./activate-subscription.interface"), exports);
18
+ __exportStar(require("./booking-availablity-by-pitch.interface"), exports);
19
+ __exportStar(require("./cancellation-charges.interface"), exports);
20
+ __exportStar(require("./create-bank-details.interface"), exports);
21
+ __exportStar(require("./create-cancellation-policy.interface"), exports);
22
+ __exportStar(require("./create-coupon.interface"), exports);
23
+ __exportStar(require("./create-faqs.interface"), exports);
24
+ __exportStar(require("./create-organization.interface"), exports);
25
+ __exportStar(require("./create-pricing-plan.interface"), exports);
26
+ __exportStar(require("./create-recurring-slot-booking.interface"), exports);
27
+ __exportStar(require("./create-registration-transaction-output.interface"), exports);
28
+ __exportStar(require("./create-subscription.interface"), exports);
29
+ __exportStar(require("./delete-bank-details-by-id.interface"), exports);
30
+ __exportStar(require("./delete-booking-by-codes.interface"), exports);
31
+ __exportStar(require("./delete-booking-info.interface"), exports);
32
+ __exportStar(require("./delete-pricing-plan.interface"), exports);
33
+ __exportStar(require("./get-all-booking-of-turf.interface"), exports);
34
+ __exportStar(require("./get-bank-detail-by-id.interface"), exports);
35
+ __exportStar(require("./get-bank-detail-entities.interface"), exports);
36
+ __exportStar(require("./get-booking-by-organization-id.interface"), exports);
37
+ __exportStar(require("./get-booking-customers.interface"), exports);
38
+ __exportStar(require("./get-booking-details-by-id.interface"), exports);
39
+ __exportStar(require("./get-booking-info.interface"), exports);
40
+ __exportStar(require("./get-cancellation-policy-entity-by-org-id.interface"), exports);
41
+ __exportStar(require("./get-collection.interface"), exports);
42
+ __exportStar(require("./get-cron-job-by-date-range-name-status.interface"), exports);
43
+ __exportStar(require("./get-current-subscription.interface"), exports);
44
+ __exportStar(require("./get-organization-by-orgid.interface"), exports);
45
+ __exportStar(require("./get-price-by-organization-response.interface"), exports);
46
+ __exportStar(require("./get-price-entity.types"), exports);
47
+ __exportStar(require("./get-price-query.interface"), exports);
48
+ __exportStar(require("./get-pricing-plan-by-date-response.interface"), exports);
49
+ __exportStar(require("./get-pricing-plan-by-id.interface"), exports);
50
+ __exportStar(require("./get-pricing-plan-entities.interface"), exports);
51
+ __exportStar(require("./get-registration-by-id.types"), exports);
52
+ __exportStar(require("./get-registration-entities.interface"), exports);
53
+ __exportStar(require("./get-subscription-by-org-id.interface"), exports);
54
+ __exportStar(require("./get-subscription-entities.interface"), exports);
55
+ __exportStar(require("./get-turf-by-organization.interface"), exports);
56
+ __exportStar(require("./get-turf-entity-response.interface"), exports);
57
+ __exportStar(require("./list-of-coupons.interface"), exports);
58
+ __exportStar(require("./one-slot-booking.interface"), exports);
59
+ __exportStar(require("./renew-subscription.interface"), exports);
60
+ __exportStar(require("./setup-registration.interface"), exports);
61
+ __exportStar(require("./staff-member-list.interface"), exports);
62
+ __exportStar(require("./update-bank-detail.interface"), exports);
63
+ __exportStar(require("./update-booking-by-code.interface"), exports);
64
+ __exportStar(require("./update-configuration.interface"), exports);
65
+ __exportStar(require("./update-coupon.interface"), exports);
66
+ __exportStar(require("./update-faqs-steps.interface"), exports);
67
+ __exportStar(require("./update-faqs.interface"), exports);
68
+ __exportStar(require("./update-organization.interface"), exports);
69
+ __exportStar(require("./update-pricing-plan-by-id.interface"), exports);
70
+ // export * from './get-pricing-plan-by-date-response.interface'
71
+ // export * from './get-pricing-plan-entities.interface'
72
+ __exportStar(require("./update-recurring-booking.interface"), exports);
73
+ __exportStar(require("./update-staff-member.interface"), exports);
74
+ __exportStar(require("./update-subscription.interface"), exports);
75
+ __exportStar(require("./update-turf-transaction-output"), exports);
76
+ __exportStar(require("./upgrade-renew-subscription.interface"), exports);
77
+ __exportStar(require("./upgrade-subscription.interface"), exports);
78
+ __exportStar(require("./userentity-without-password.interface"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.16-beta.49",
3
+ "version": "1.0.16-beta.51",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,16 +0,0 @@
1
- export * from "./booking-details-status.enum";
2
- export * from "./booking-history-operation-type.enum";
3
- export * from "./configuration-key.enum";
4
- export * from "./cron-jobs-name.enum";
5
- export * from "./cron-jobs-status.enum";
6
- export * from "./faqs-status.enum";
7
- export * from "./modification-discount-policy.enum";
8
- export * from "./organization-status.enum";
9
- export * from "./payment-mode.enum";
10
- export * from "./pitch-status.enum";
11
- export * from "./pricing-plan-status.enum";
12
- export * from "./registration-status-enum";
13
- export * from "./subscription-status.enum";
14
- export * from "./transaction-type.enum";
15
- export * from "./user-status.enum";
16
- export * from "./valid-type.enum";
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./booking-details-status.enum"), exports);
18
- __exportStar(require("./booking-history-operation-type.enum"), exports);
19
- __exportStar(require("./configuration-key.enum"), exports);
20
- __exportStar(require("./cron-jobs-name.enum"), exports);
21
- __exportStar(require("./cron-jobs-status.enum"), exports);
22
- __exportStar(require("./faqs-status.enum"), exports);
23
- __exportStar(require("./modification-discount-policy.enum"), exports);
24
- __exportStar(require("./organization-status.enum"), exports);
25
- __exportStar(require("./payment-mode.enum"), exports);
26
- __exportStar(require("./pitch-status.enum"), exports);
27
- __exportStar(require("./pricing-plan-status.enum"), exports);
28
- __exportStar(require("./registration-status-enum"), exports);
29
- __exportStar(require("./subscription-status.enum"), exports);
30
- __exportStar(require("./transaction-type.enum"), exports);
31
- __exportStar(require("./user-status.enum"), exports);
32
- __exportStar(require("./valid-type.enum"), exports);
@@ -1,4 +0,0 @@
1
- export declare enum PricingPlanStatus {
2
- ACTIVE = "active",
3
- DEACTIVE = "deactive"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PricingPlanStatus = void 0;
4
- var PricingPlanStatus;
5
- (function (PricingPlanStatus) {
6
- PricingPlanStatus["ACTIVE"] = "active";
7
- PricingPlanStatus["DEACTIVE"] = "deactive";
8
- })(PricingPlanStatus || (exports.PricingPlanStatus = PricingPlanStatus = {}));
@@ -1,5 +0,0 @@
1
- import { ChargesModel } from "../models/charge-model";
2
- import { IBookingDetailsEntity } from "./entity/booking-details-entity.interface";
3
- export interface IBookingDetailsModel extends IBookingDetailsEntity {
4
- assignCharges(chargeModel: ChargesModel): void;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { BookingCode } from "../models/booking-code-model";
2
- import { IBookingsEntity } from "./entity/bookings-entity.interface";
3
- export interface IBookingsEntityModel extends IBookingsEntity {
4
- getTotalCost(): number;
5
- getBookingTimeInMinutes(): number;
6
- isTimeExtended(newBookingEntities: IBookingsEntity[]): boolean;
7
- getBookingCode(): BookingCode;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ICancellationPolicyEntity } from "./entity/cancellation-policy-entity.interface";
2
- export interface ICancellationPolicyModel extends ICancellationPolicyEntity {
3
- unitOfCharges(): string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- export interface IChargeModel {
2
- initialBookingGrossAmount: number;
3
- additionalBookingGrossAmount: number;
4
- cancelledBookingGrossAmount: number;
5
- totalCancellationCharges: number;
6
- refundPayable: number;
7
- netTotal: number;
8
- amountPaid: number;
9
- amountPayable: number;
10
- totalRefundedAmount: number;
11
- couponCode: string;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { IConfigurationsEntity } from "./entity/configurations-entity.interface";
2
- export interface IConfigurationsModel extends IConfigurationsEntity {
3
- isCronJobKey(): boolean;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- export * from "./entity";
2
- export * from "./model";
3
- export * from "./billing-cycle.interface";
4
- export * from "./get-booking-codes-per-thirty-min.interface";
5
- export * from "./get-pricing-plan-by-date-response.interface";
6
- export * from "./get-turf-entity.interface";
7
- export * from "./pitch-slab.interface";
8
- export * from "./pricing-plan.interface";
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entity"), exports);
18
- __exportStar(require("./model"), exports);
19
- __exportStar(require("./billing-cycle.interface"), exports);
20
- __exportStar(require("./get-booking-codes-per-thirty-min.interface"), exports);
21
- __exportStar(require("./get-pricing-plan-by-date-response.interface"), exports);
22
- __exportStar(require("./get-turf-entity.interface"), exports);
23
- __exportStar(require("./pitch-slab.interface"), exports);
24
- __exportStar(require("./pricing-plan.interface"), exports);
@@ -1,3 +0,0 @@
1
- import { IPriceEntity } from "./entity/price-entity.interface";
2
- export interface IPriceModel extends IPriceEntity {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- import { PricingPlanModel } from "../models/pricing-plan-model";
2
- import { IPricingPlanEntity } from "./entity/pricing-plan-entity.interface";
3
- import { GetPricingPlanByDateResponse } from "./get-pricing-plan-by-date-response.interface";
4
- import { IPitchSlab } from "./pitch-slab.interface";
5
- export interface IPricingPlanEntityModel extends IPricingPlanEntity {
6
- getBillingCycleKeys(): string[];
7
- toModel(): PricingPlanModel;
8
- arrayToIndexedObject<T>(arr: T[]): {
9
- [key: string]: T;
10
- };
11
- toObject(): GetPricingPlanByDateResponse;
12
- toPitchSlabs(): IPitchSlab[];
13
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- import { IBillingCycleModel } from "./billing-cycle.interface";
2
- import { IPitchSlab } from "./pitch-slab.interface";
3
- export interface IPringPlanModel {
4
- id: number;
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: {
13
- [key: string]: IBillingCycleModel;
14
- };
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- export declare enum SubscriptionStatus {
2
- ACTIVE = "active",
3
- DEACTIVE = "deactive",
4
- SUSPENDED = "suspended",
5
- ONHOLD = "onhold",
6
- UPGRADE = "upgrade",
7
- UPGRADED = "upgraded",
8
- PAYMENT_DONE = "payment_done",
9
- PAYMENT_PENDING = "payment_pending",
10
- DEACTIVE_ACCOUNT_SUSPENDED = "deactive_account_suspended",
11
- DEACTIVE_EXPIRED = "deactive_expired",
12
- UPGRADE_PAYMENT_PENDING = "upgrade_payment_pending",
13
- UPGRADE_PAYMENT_DONE = "upgrade_payment_done",
14
- UPGRADE_RENEW_PAYMENT_PENDING = "upgrade_renew_payment_pending",
15
- UPGRADE_RENEW_PAYMENT_DONE = "upgrade_renew_payment_done",
16
- REJECT = "reject",
17
- SETUP_INVALID = "setup_invalid",
18
- PAYMENT_INVALID = "payment_invalid",
19
- ACCOUNT_SUSPENDED = "account_suspended"
20
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionStatus = void 0;
4
- var SubscriptionStatus;
5
- (function (SubscriptionStatus) {
6
- SubscriptionStatus["ACTIVE"] = "active";
7
- SubscriptionStatus["DEACTIVE"] = "deactive";
8
- SubscriptionStatus["SUSPENDED"] = "suspended";
9
- SubscriptionStatus["ONHOLD"] = "onhold";
10
- SubscriptionStatus["UPGRADE"] = "upgrade";
11
- SubscriptionStatus["UPGRADED"] = "upgraded";
12
- SubscriptionStatus["PAYMENT_DONE"] = "payment_done";
13
- SubscriptionStatus["PAYMENT_PENDING"] = "payment_pending";
14
- SubscriptionStatus["DEACTIVE_ACCOUNT_SUSPENDED"] = "deactive_account_suspended";
15
- SubscriptionStatus["DEACTIVE_EXPIRED"] = "deactive_expired";
16
- SubscriptionStatus["UPGRADE_PAYMENT_PENDING"] = "upgrade_payment_pending";
17
- SubscriptionStatus["UPGRADE_PAYMENT_DONE"] = "upgrade_payment_done";
18
- SubscriptionStatus["UPGRADE_RENEW_PAYMENT_PENDING"] = "upgrade_renew_payment_pending";
19
- SubscriptionStatus["UPGRADE_RENEW_PAYMENT_DONE"] = "upgrade_renew_payment_done";
20
- SubscriptionStatus["REJECT"] = "reject";
21
- SubscriptionStatus["SETUP_INVALID"] = "setup_invalid";
22
- SubscriptionStatus["PAYMENT_INVALID"] = "payment_invalid";
23
- SubscriptionStatus["ACCOUNT_SUSPENDED"] = "account_suspended";
24
- })(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
@@ -1,7 +0,0 @@
1
- import { IPitchStatus } from "../enums/pitch-status.enum";
2
- import { ITurfEntity } from "./entity/turf-entity.interface";
3
- import { ITurf } from "./get-turf-entity.interface";
4
- export interface ITurfModel extends ITurfEntity {
5
- getPitchStatusCount(): IPitchStatus;
6
- getModifiedTurfEntity(): ITurf;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- import { IUserEntity } from "./entity/user-entity.interface";
2
- export interface IUserModel extends IUserEntity {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export * from "./booking-code-model";
2
- export * from "./charge-model";
3
- export * from "./time-slot-model";
4
- export * from "./entity/index";
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./booking-code-model"), exports);
18
- __exportStar(require("./charge-model"), exports);
19
- __exportStar(require("./time-slot-model"), exports);
20
- __exportStar(require("./entity/index"), exports);
@@ -1,4 +0,0 @@
1
- export * from "./app-badrequest-exception.type";
2
- export * from "./booking-modification.type";
3
- export * from "./bookingdetails-with-booking.type";
4
- export * from "./date-wise-payment-history-data.types";
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./app-badrequest-exception.type"), exports);
18
- __exportStar(require("./booking-modification.type"), exports);
19
- __exportStar(require("./bookingdetails-with-booking.type"), exports);
20
- __exportStar(require("./date-wise-payment-history-data.types"), exports);