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.
- package/build/interface/api/get-organization-by-orgid.interface.d.ts +2 -2
- package/build/interface/api/get-price-by-organization-response.interface.d.ts +1 -1
- package/build/interface/api/get-registration-by-id.types.d.ts +2 -2
- package/build/interface/api/get-registration-entities.interface.d.ts +2 -2
- package/build/interface/api/setup-registration.interface.d.ts +1 -1
- package/build/interface/api/staff-member-list.interface.d.ts +1 -1
- package/build/interface/api/update-bank-detail.interface.d.ts +1 -1
- package/build/interface/api/update-configuration.interface.d.ts +1 -1
- package/build/interface/api/update-coupon.interface.d.ts +1 -1
- package/build/interface/api/update-faqs-steps.interface.d.ts +1 -1
- package/build/interface/api/update-faqs.interface.d.ts +1 -1
- package/build/interface/api/update-organization.interface.d.ts +1 -1
- package/build/interface/api/update-pricing-plan-by-id.interface.d.ts +1 -1
- package/build/interface/api/update-recurring-booking.interface.d.ts +1 -1
- package/build/interface/api/update-registration-entities.interface.d.ts +1 -1
- package/build/interface/api/update-staff-member.interface.d.ts +2 -2
- package/build/interface/api/update-staff-member.interface.js +5 -5
- package/build/interface/api/update-subscription.interface.d.ts +2 -2
- package/build/interface/api/upgrade-renew-subscription.interface.d.ts +1 -1
- package/build/interface/api/upgrade-subscription.interface.d.ts +1 -1
- package/build/interface/api/userentity-without-password.interface.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITurfEntity } from "../../@type";
|
|
2
|
-
import {
|
|
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?:
|
|
19
|
+
owners?: IUserEntityWithoutPasswordResponse[];
|
|
20
20
|
turfs?: ITurfEntity[];
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
|
|
2
2
|
import { OrganizationStatus } from "../../@enum";
|
|
3
|
-
import {
|
|
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]:
|
|
30
|
+
[userId: string]: IUserEntityWithoutPasswordResponse;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRegistrationEntity, ISubscriptionEntity, ITurf } from "../../@type";
|
|
2
|
-
import {
|
|
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]:
|
|
29
|
+
[userId: string]: IUserEntityWithoutPasswordResponse;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBankDetailsEntity, IUploadedMulterFile } from "../../@type";
|
|
2
|
-
export interface
|
|
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
|
|
3
|
+
export interface IUpdateConfigurationResponse extends Array<IConfigurationsEntity> {
|
|
4
4
|
}
|
|
5
5
|
export interface IUpdateConfigurationRequest {
|
|
6
6
|
key: ConfigurationKey;
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
4
|
-
var
|
|
5
|
-
function
|
|
3
|
+
exports.IUpdateStaffMemberRequest = void 0;
|
|
4
|
+
var IUpdateStaffMemberRequest = /** @class */ (function () {
|
|
5
|
+
function IUpdateStaffMemberRequest() {
|
|
6
6
|
}
|
|
7
|
-
return
|
|
7
|
+
return IUpdateStaffMemberRequest;
|
|
8
8
|
}());
|
|
9
|
-
exports.
|
|
9
|
+
exports.IUpdateStaffMemberRequest = IUpdateStaffMemberRequest;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SubscriptionStatus } from "../../@enum";
|
|
2
2
|
import { ISubscriptionEntity } from "../../@type";
|
|
3
|
-
export interface
|
|
3
|
+
export interface IUpdateSubscriptionResponse extends ISubscriptionEntity {
|
|
4
4
|
advanceAmount?: number;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
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
|
|
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
|
|
2
|
+
export interface IUpgradeSubscriptionResponse extends ISubscriptionEntity {
|
|
3
3
|
}
|
|
4
4
|
export interface IUpgradeSubscriptionRequest {
|
|
5
5
|
pricingPlanId: number;
|