@bondsports/types 2.2.284-a-2 → 2.2.284-a-4
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/events.dto.d.ts +1 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +2 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +56 -2
- package/dist/types/dto/package.dto.js +7 -1
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -54
- package/dist/types/product-pricing/dto/product.dto.js +1 -7
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +1 -2
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +3 -4
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/reservations/dto/calendar-slot.dto.d.ts +33 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js +10 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js.map +1 -0
- package/dist/types/reservations/dto/index.d.ts +1 -0
- package/dist/types/reservations/dto/index.js +1 -0
- package/dist/types/reservations/dto/index.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +4 -55
- package/dist/types/reservations/dto/reservation.dto.js +2 -41
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +2 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +5 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +14 -22
- package/dist/types/resources/dto/resource.dto.d.ts +8 -2
- package/dist/types/resources/dto/resource.dto.js +3 -3
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +3 -2
- package/dist/types/user/dto/userPass.dto.d.ts +6 -7
- package/dist/types/user/dto/userPass.dto.js.map +1 -1
- package/package.json +1 -1
@@ -2,10 +2,9 @@ import { AttendanceDto } from '../attendance/dto/attendance.dto';
|
|
2
2
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
3
3
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
4
4
|
import { Slot } from '../reservations/entities/slot.entity';
|
5
|
-
import { SimpleResourceDto } from '../resources/dto/resource.dto';
|
6
5
|
import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
|
7
6
|
import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
|
8
|
-
import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
|
7
|
+
import { IdDto, PaginationQuery, PaginationRangeQuery, SimpleResourceDto } from './general.dto';
|
9
8
|
export declare class FindEventByIdDto {
|
10
9
|
eventId: number;
|
11
10
|
organizationId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
3
|
+
exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.SimpleResourceDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
4
4
|
class FindOneParams {
|
5
5
|
}
|
6
6
|
exports.FindOneParams = FindOneParams;
|
@@ -52,6 +52,9 @@ exports.IdDto = IdDto;
|
|
52
52
|
class IdAndNameDto extends IdDto {
|
53
53
|
}
|
54
54
|
exports.IdAndNameDto = IdAndNameDto;
|
55
|
+
class SimpleResourceDto extends IdAndNameDto {
|
56
|
+
}
|
57
|
+
exports.SimpleResourceDto = SimpleResourceDto;
|
55
58
|
class AuthenticatedRequestDto {
|
56
59
|
}
|
57
60
|
exports.AuthenticatedRequestDto = AuthenticatedRequestDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA6F;;QAgBzG,iBAAY,GAAI,sCAA8B,CAAC;QAf9C,IAAI,CAAC,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA6F;;QAgBzG,iBAAY,GAAI,sCAA8B,CAAC;QAf9C,IAAI,CAAC,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,iBAAkB,SAAQ,YAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
@@ -1,5 +1,59 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
2
|
+
import { CreateProductAvailabilityTimesDto, CreateRentalProductAddonDto } from '../product-pricing/dto/product.dto';
|
3
|
+
import { CreateOrUpdateResourceSettingDto } from '../resource-settings/dto/create-or-update-resource-setting.dto';
|
4
|
+
import { CreatePaymentPlanDto } from '../payment/dto/payment-plan.dto';
|
5
|
+
import { VariantWithPrice } from './product-variants.dto';
|
6
|
+
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../pricing/dto/pricing.dto';
|
7
|
+
export declare class CreateProductDto {
|
8
|
+
id?: number;
|
9
|
+
organizationId: number;
|
10
|
+
name: string;
|
11
|
+
quantity?: number;
|
12
|
+
isAll?: boolean;
|
13
|
+
isPublic: boolean;
|
14
|
+
startDate?: Date;
|
15
|
+
endDate?: Date;
|
16
|
+
description?: string;
|
17
|
+
resourcesType?: ResourceNameTypeEnum;
|
18
|
+
resourcesIdsToApplyOn?: number[];
|
19
|
+
requiredProductIds?: number[];
|
20
|
+
GL?: string;
|
21
|
+
glIds?: number[];
|
22
|
+
prices: CreatePriceDto[];
|
23
|
+
downpayment?: number;
|
24
|
+
productType: ProductTypesEnum;
|
25
|
+
subProductType?: string;
|
26
|
+
defaultForResourceId?: number;
|
27
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
28
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
29
|
+
variantTitleIds?: number[];
|
30
|
+
variants?: VariantWithPrice[];
|
31
|
+
variantParentId?: number;
|
32
|
+
isAddon?: boolean;
|
33
|
+
isArchive?: boolean;
|
34
|
+
timePeriod?: AddonTimePeriodEnum;
|
35
|
+
isProRated?: boolean;
|
36
|
+
paymentPlan?: CreatePaymentPlanDto;
|
37
|
+
isTaxInclusive?: boolean;
|
38
|
+
tax?: number;
|
39
|
+
sports?: number[];
|
40
|
+
durationMinutes?: number;
|
41
|
+
durationDays?: number;
|
42
|
+
forms?: number[];
|
43
|
+
isForAllCustomers?: boolean;
|
44
|
+
punchCard?: boolean;
|
45
|
+
membershipsAvailableFor?: number[];
|
46
|
+
customersAvailableFor?: number[];
|
47
|
+
addons?: CreateRentalProductAddonDto[];
|
48
|
+
availabilityTimes?: CreateProductAvailabilityTimesDto[];
|
49
|
+
resourceSettings?: CreateOrUpdateResourceSettingDto[];
|
50
|
+
addonsToPackages?: ExistingProductToPackageDto[];
|
51
|
+
}
|
52
|
+
export declare class ProductInPackage extends CreateProductDto {
|
53
|
+
relationType: PackageProductsRelationTypeEnum;
|
54
|
+
amountInPackage?: number;
|
55
|
+
level?: ProductPackageLevelEnum;
|
56
|
+
}
|
3
57
|
export declare class ExistingProductToPackageDto {
|
4
58
|
id: number;
|
5
59
|
relationType: PackageProductsRelationTypeEnum;
|
@@ -1,6 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = void 0;
|
3
|
+
exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = exports.ProductInPackage = exports.CreateProductDto = void 0;
|
4
|
+
class CreateProductDto {
|
5
|
+
}
|
6
|
+
exports.CreateProductDto = CreateProductDto;
|
7
|
+
class ProductInPackage extends CreateProductDto {
|
8
|
+
}
|
9
|
+
exports.ProductInPackage = ProductInPackage;
|
4
10
|
class ExistingProductToPackageDto {
|
5
11
|
}
|
6
12
|
exports.ExistingProductToPackageDto = ExistingProductToPackageDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,gBAAgB;CAsF5B;AAtFD,4CAsFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AACD,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
|
@@ -3,22 +3,19 @@ import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
|
3
3
|
import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
4
4
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
5
5
|
import { SimpleMembershipDto } from '../../dto/membership.dto';
|
6
|
-
import { VariantDto, VariantTitleDto
|
6
|
+
import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
|
7
7
|
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
8
8
|
import { ProductPackage } from '../../entity/ProductPackage';
|
9
9
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
10
10
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
11
11
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
12
|
-
import {
|
12
|
+
import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
13
13
|
import { PriceDto } from '../../pricing/dto/price.dto';
|
14
|
-
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
|
15
|
-
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
16
14
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
17
|
-
import { ActivityEnum, AddonTimePeriodEnum,
|
15
|
+
import { ActivityEnum, AddonTimePeriodEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
18
16
|
import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
|
19
17
|
import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
20
18
|
import { ProductResourceDto } from './product-resource.dto';
|
21
|
-
import { ExistingProductToPackageDto } from '../../dto/package.dto';
|
22
19
|
export declare class FindByProductIdDto {
|
23
20
|
productId: number;
|
24
21
|
}
|
@@ -39,54 +36,6 @@ export declare class CreateRentalProductAddonDto {
|
|
39
36
|
isMandatory?: boolean;
|
40
37
|
level: ProductPackageLevelEnum;
|
41
38
|
}
|
42
|
-
export declare class CreateProductDto {
|
43
|
-
id?: number;
|
44
|
-
organizationId: number;
|
45
|
-
name: string;
|
46
|
-
quantity?: number;
|
47
|
-
isAll?: boolean;
|
48
|
-
isPublic: boolean;
|
49
|
-
startDate?: Date;
|
50
|
-
endDate?: Date;
|
51
|
-
description?: string;
|
52
|
-
resourcesType?: ResourceNameTypeEnum;
|
53
|
-
resourcesIdsToApplyOn?: number[];
|
54
|
-
GL?: string;
|
55
|
-
glIds?: number[];
|
56
|
-
prices: CreatePriceDto[];
|
57
|
-
downpayment?: number;
|
58
|
-
productType: ProductTypesEnum;
|
59
|
-
subProductType?: string;
|
60
|
-
defaultForResourceId?: number;
|
61
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
62
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
63
|
-
variantTitleIds?: number[];
|
64
|
-
variants?: VariantWithPrice[];
|
65
|
-
variantParentId?: number;
|
66
|
-
isAddon?: boolean;
|
67
|
-
isArchive?: boolean;
|
68
|
-
timePeriod?: AddonTimePeriodEnum;
|
69
|
-
isProRated?: boolean;
|
70
|
-
paymentPlan?: CreatePaymentPlanDto;
|
71
|
-
isTaxInclusive?: boolean;
|
72
|
-
tax?: number;
|
73
|
-
sports?: number[];
|
74
|
-
durationMinutes?: number;
|
75
|
-
durationDays?: number;
|
76
|
-
forms?: number[];
|
77
|
-
isForAllCustomers?: boolean;
|
78
|
-
membershipsAvailableFor?: number[];
|
79
|
-
customersAvailableFor?: number[];
|
80
|
-
addons?: CreateRentalProductAddonDto[];
|
81
|
-
availabilityTimes?: CreateProductAvailabilityTimesDto[];
|
82
|
-
resourceSettings?: CreateOrUpdateResourceSettingDto[];
|
83
|
-
addonsToPackages?: ExistingProductToPackageDto[];
|
84
|
-
}
|
85
|
-
export declare class ProductInPackage extends CreateProductDto {
|
86
|
-
relationType: PackageProductsRelationTypeEnum;
|
87
|
-
amountInPackage?: number;
|
88
|
-
level?: ProductPackageLevelEnum;
|
89
|
-
}
|
90
39
|
export declare class ConnectProductResourceDto {
|
91
40
|
productId: number;
|
92
41
|
resourceType: ResourceNameTypeEnum;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.
|
3
|
+
exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class FindByProductIdDto {
|
@@ -15,12 +15,6 @@ exports.ByProductAndOrgDto = ByProductAndOrgDto;
|
|
15
15
|
class CreateRentalProductAddonDto {
|
16
16
|
}
|
17
17
|
exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
|
18
|
-
class CreateProductDto {
|
19
|
-
}
|
20
|
-
exports.CreateProductDto = CreateProductDto;
|
21
|
-
class ProductInPackage extends CreateProductDto {
|
22
|
-
}
|
23
|
-
exports.ProductInPackage = ProductInPackage;
|
24
18
|
class ConnectProductResourceDto {
|
25
19
|
}
|
26
20
|
exports.ConnectProductResourceDto = ConnectProductResourceDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;AAmB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
2
|
-
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
2
|
+
import { IdAndNameDto, PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
3
3
|
import { ProductUserFinancialInfoDto, SimpleProductUserDto } from '../../dto/product-user';
|
4
4
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
5
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
6
6
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
7
7
|
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, PlatformsEnum, ProgramHighlightTypeEnum, ProgramTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
|
8
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
9
8
|
import { SimpleUserDto } from '../../user/dto/user.dto';
|
10
9
|
export declare class FindOrganizationProgramsDto {
|
11
10
|
programType?: ProgramTypesEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,8EAAyG;AAezG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAED,MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AAAvD,4CAAuD;AAEvD,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAMjD;AAND,4CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
|
@@ -1,16 +1,15 @@
|
|
1
1
|
import { SimpleEventDto } from '../../dto/events.dto';
|
2
2
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
4
|
-
import {
|
3
|
+
import { PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
4
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
5
5
|
import { PaymentIdDto } from '../../payment/dto/payment.dto';
|
6
6
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
7
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
7
8
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
8
9
|
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
9
10
|
import { OrderByEnum } from '../../services/enums.service';
|
10
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
11
11
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
12
12
|
import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
|
13
|
-
import { SimpleProductUserDto } from '../../dto/product-user';
|
14
13
|
export declare class PunchPassFinancialInfoDto {
|
15
14
|
price: number;
|
16
15
|
invoiceId: number;
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
4
4
|
const events_dto_1 = require("../../dto/events.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
|
-
const user_dto_1 = require("../../user/dto/user.dto");
|
7
6
|
const product_user_1 = require("../../dto/product-user");
|
7
|
+
const user_dto_1 = require("../../user/dto/user.dto");
|
8
8
|
class PunchPassFinancialInfoDto {
|
9
9
|
}
|
10
10
|
exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAA2E;AAC3E,yDAA8D;AAO9D,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { Event } from '../../entity/Events';
|
2
|
+
import { SportsEnum } from '../../services/enums.service';
|
3
|
+
import { Reservation } from '../entities/reservation.entity';
|
4
|
+
import { Series } from '../entities/series.entity';
|
5
|
+
import { MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
6
|
+
export declare class CalendarSlotDto {
|
7
|
+
id: number;
|
8
|
+
reservationId: number;
|
9
|
+
parentSlotId?: number;
|
10
|
+
eventId: number;
|
11
|
+
title: string;
|
12
|
+
slotType: SlotTypeEnum;
|
13
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
14
|
+
approvalStatus: ReservationStatusEnum;
|
15
|
+
startDate: string;
|
16
|
+
startTime: string;
|
17
|
+
endDate: string;
|
18
|
+
endTime: string;
|
19
|
+
timezone: string;
|
20
|
+
spaceId: number;
|
21
|
+
instructorsIds?: number[];
|
22
|
+
sportId: SportsEnum;
|
23
|
+
colorCodeId?: number;
|
24
|
+
children?: CalendarMaintenanceSlotDto[];
|
25
|
+
conflictsCount?: number;
|
26
|
+
sportIds: SportsEnum[];
|
27
|
+
event: Event;
|
28
|
+
reservation: Reservation;
|
29
|
+
series?: Series;
|
30
|
+
}
|
31
|
+
export declare class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
32
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
33
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CalendarMaintenanceSlotDto = exports.CalendarSlotDto = void 0;
|
4
|
+
class CalendarSlotDto {
|
5
|
+
}
|
6
|
+
exports.CalendarSlotDto = CalendarSlotDto;
|
7
|
+
class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
8
|
+
}
|
9
|
+
exports.CalendarMaintenanceSlotDto = CalendarMaintenanceSlotDto;
|
10
|
+
//# sourceMappingURL=calendar-slot.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAYA,MAAa,eAAe;CA8C3B;AA9CD,0CA8CC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC"}
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./addon.dto"), exports);
|
18
|
+
__exportStar(require("./calendar-slot.dto"), exports);
|
18
19
|
__exportStar(require("./maintenance.dto"), exports);
|
19
20
|
__exportStar(require("./purcased-resource.dto"), exports);
|
20
21
|
__exportStar(require("./reservation.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,uDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,uDAAqC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
2
2
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
3
3
|
import { FacilityDto } from '../../dto/facilities.dto';
|
4
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
4
|
+
import { PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
5
5
|
import { Invoice } from '../../entity/Invoice';
|
6
|
-
import { InvoiceCartDto,
|
6
|
+
import { InvoiceCartDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
|
7
7
|
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
8
8
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
9
9
|
import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
|
@@ -14,16 +14,14 @@ import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.
|
|
14
14
|
import { Product } from '../../product-pricing/entities/Product';
|
15
15
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
16
16
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
17
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
18
17
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
19
18
|
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
20
19
|
import { Reservation } from '../entities/reservation.entity';
|
21
20
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
22
21
|
import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
|
23
|
-
import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IDuplicateReservationItems,
|
22
|
+
import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IDuplicateReservationItems, IEditFinancialDetails, IEditItemsRefundMetadata, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
24
23
|
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
25
24
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
26
|
-
import { SeriesDto } from './series.dto';
|
27
25
|
import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
28
26
|
export declare class ProductPricesDto implements IProductPrice {
|
29
27
|
productId: number;
|
@@ -114,21 +112,12 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto imple
|
|
114
112
|
duplicateDetails?: DuplicatedDetailsDto;
|
115
113
|
combinedSlots?: DraftSlotsDto[];
|
116
114
|
}
|
117
|
-
export declare class ReservationInvoiceDto {
|
118
|
-
reservation: ReservationDto;
|
119
|
-
invoice: InvoiceDto;
|
120
|
-
debug: any;
|
121
|
-
}
|
122
115
|
export declare class CreateReservationCartDto implements ISaveReservationOptions {
|
123
116
|
platform?: PlatformsEnum;
|
124
117
|
shiftId?: number;
|
125
118
|
updatePrices?: UpdateCartPricesDto;
|
126
119
|
addToReservationId?: number;
|
127
120
|
}
|
128
|
-
export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
|
129
|
-
reservation: ReservationDto;
|
130
|
-
slotType?: SlotTypeEnum;
|
131
|
-
}
|
132
121
|
export declare class SingleReservationIncludesDto {
|
133
122
|
includeCustomer?: boolean;
|
134
123
|
includeAddons?: boolean;
|
@@ -151,10 +140,6 @@ declare class UpdatePriceDto {
|
|
151
140
|
export declare class UpdateReservationPriceDto extends UpdatePriceDto {
|
152
141
|
reservation: ReservationDto;
|
153
142
|
}
|
154
|
-
export declare class UpdateSlotsPricesDto extends UpdatePriceDto {
|
155
|
-
slots: SlotDto[];
|
156
|
-
useCurrentProducts?: boolean;
|
157
|
-
}
|
158
143
|
export declare class BookingData {
|
159
144
|
platform: PlatformsEnum;
|
160
145
|
shiftId?: number;
|
@@ -209,12 +194,6 @@ export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
209
194
|
export declare class DuplicateSlotDto extends FindByReservationDto {
|
210
195
|
slotId: number;
|
211
196
|
}
|
212
|
-
export declare class FindByFacilityDto extends FindByReservationDto {
|
213
|
-
facilityId: number;
|
214
|
-
}
|
215
|
-
export declare class FindBySegmentDto extends FindByFacilityDto {
|
216
|
-
segmentId: number;
|
217
|
-
}
|
218
197
|
export declare class FindBySlotIdsDto {
|
219
198
|
slotsIds: number[];
|
220
199
|
}
|
@@ -224,21 +203,11 @@ export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
224
203
|
export declare class FindBySlotDto extends FindByReservationDto {
|
225
204
|
slotId: number;
|
226
205
|
}
|
227
|
-
export declare class AddSlotToSegmentDto {
|
228
|
-
slot: SlotDto;
|
229
|
-
addonIds?: number[];
|
230
|
-
}
|
231
|
-
export declare class UpdateSlotsDto {
|
232
|
-
slots: SlotDto[];
|
233
|
-
}
|
234
206
|
export declare class EditItemsRefundMetaDto {
|
235
207
|
lineItems: RefundAmountDto[];
|
236
208
|
paymentMethods: PaymentMethodDto[];
|
237
209
|
reasonId: number;
|
238
210
|
}
|
239
|
-
export declare class EditSlotsDto extends UpdateSlotsDto {
|
240
|
-
refundMeta?: EditItemsRefundMetaDto;
|
241
|
-
}
|
242
211
|
export declare class EditReservationDetailsDto {
|
243
212
|
name: string;
|
244
213
|
publicNotes?: string;
|
@@ -250,17 +219,9 @@ export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancia
|
|
250
219
|
nextFinancialStep: FinancialStepEnum;
|
251
220
|
invoice: Invoice;
|
252
221
|
}
|
253
|
-
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
254
|
-
updateAddons?: boolean;
|
255
|
-
updateMaintenance?: boolean;
|
256
|
-
}
|
257
222
|
export declare class ReservationNotifyDto {
|
258
223
|
notifyMethods?: NotifyMethodEnum[];
|
259
224
|
}
|
260
|
-
export declare class UpdateReservationInvoiceDto {
|
261
|
-
updateAddons?: boolean;
|
262
|
-
updateMaintenance?: boolean;
|
263
|
-
}
|
264
225
|
export declare class UpdateReservationSlotsColorsDto {
|
265
226
|
slots?: UpdateSlotsColorsDto[];
|
266
227
|
colorCodeId?: number;
|
@@ -272,22 +233,10 @@ export declare class ChargeReservationResultDto extends PurchaseResultDto {
|
|
272
233
|
reservation: Reservation;
|
273
234
|
debug?: any;
|
274
235
|
}
|
275
|
-
export declare class AddSlotToSegmenResultDto {
|
276
|
-
series: SeriesDto;
|
277
|
-
slotTotalPrice: number;
|
278
|
-
addonsTotalPrice: number;
|
279
|
-
debug?: any;
|
280
|
-
}
|
281
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
282
|
-
reservationTotalPrice: number;
|
283
|
-
}
|
284
236
|
export declare class InvoiceReservationItemsDto extends InvoiceCartDto {
|
285
237
|
slotsIds?: number[];
|
286
238
|
addonsIds?: number[];
|
287
239
|
}
|
288
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
289
|
-
slots: SlotDto[];
|
290
|
-
}
|
291
240
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
292
241
|
segments: SegmentDto[];
|
293
242
|
}
|
@@ -410,7 +359,7 @@ export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetad
|
|
410
359
|
lineItems: ReservationItemLineDto[];
|
411
360
|
refundAmount: number;
|
412
361
|
}
|
413
|
-
export declare class EditSlotsFinancialDetailsDto implements
|
362
|
+
export declare class EditSlotsFinancialDetailsDto implements IEditFinancialDetails {
|
414
363
|
nextFinancialStep: FinancialStepEnum;
|
415
364
|
paymentMethods?: PaymentMethodToFundLeftDto[];
|
416
365
|
originalInvoicePrice?: number;
|