@bondsports/types 2.4.83-a-1 → 2.4.83-a-3
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/employees/types/index.d.ts +1 -0
- package/dist/types/employees/types/index.js +1 -0
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -14
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +19 -17
- package/dist/types/product-pricing/dto/product.dto.js +10 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +6 -6
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +12 -1
- package/dist/types/product-pricing/types/enums/product.enums.js +21 -1
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -13
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ 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("./"), exports);
|
|
17
18
|
__exportStar(require("./consts"), exports);
|
|
18
19
|
__exportStar(require("./enums"), exports);
|
|
19
20
|
__exportStar(require("./interfaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qCAAmB;AACnB,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -5,7 +5,7 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
|
5
5
|
import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
|
|
6
6
|
import { ResourceDto } from '../../resources/dto/resource.dto';
|
|
7
7
|
import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
8
|
-
import { OrderByProductEnum } from '../types/enums/product.enums';
|
|
8
|
+
import { OrderByProductEnum, ProductExpandEnum } from '../types/enums/product.enums';
|
|
9
9
|
import { IFindPriceOfProduct, IGetProductsByTypeOptions, IGetPunchPassProductsOptions } from '../types/interfaces/product-pricing.interfaces';
|
|
10
10
|
export declare class FindPriceOfProductDto implements IFindPriceOfProduct {
|
|
11
11
|
id?: number;
|
|
@@ -52,16 +52,9 @@ export declare class GetProductsByTypeDto extends ByOrganizationIdDto {
|
|
|
52
52
|
}
|
|
53
53
|
export declare class GetProductsByTypeQueryDto extends PaginationQuery implements IGetProductsByTypeOptions {
|
|
54
54
|
productIds?: number[];
|
|
55
|
-
|
|
56
|
-
includeProductResources?: boolean;
|
|
57
|
-
includeFacilities?: boolean;
|
|
58
|
-
includeGlCodes?: boolean;
|
|
59
|
-
includeProductCategories?: boolean;
|
|
55
|
+
expand?: ProductExpandEnum[];
|
|
60
56
|
includeArchived?: boolean;
|
|
61
|
-
|
|
62
|
-
includePricesSchedule?: boolean;
|
|
63
|
-
includeEntitlementDiscounts?: boolean;
|
|
64
|
-
includeCustomers?: boolean;
|
|
57
|
+
onlyNonGatedProducts?: boolean;
|
|
65
58
|
onlyValid?: boolean;
|
|
66
59
|
facilitiesIds?: number[];
|
|
67
60
|
resourcesIds?: number[];
|
|
@@ -77,13 +70,9 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
|
77
70
|
sortBy?: OrderByProductEnum;
|
|
78
71
|
order?: OrderByEnum;
|
|
79
72
|
inclusion?: boolean;
|
|
80
|
-
includePunchPass?: boolean;
|
|
81
73
|
punchPassOnly?: boolean;
|
|
82
|
-
includePaymentPlan?: boolean;
|
|
83
|
-
includeResourceSettings?: boolean;
|
|
84
74
|
categoriesIds?: number[];
|
|
85
75
|
includeOnlyNotAssignedToCategory?: boolean;
|
|
86
|
-
includeActivityTimes?: boolean;
|
|
87
76
|
isAvailableOnline?: boolean;
|
|
88
77
|
}
|
|
89
78
|
export declare class GetPunchPassProductsByTypeQueryDto extends PaginationQuery implements IGetPunchPassProductsOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAW9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;
|
|
1
|
+
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAW9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA8C7D;AA9CD,8DA8CC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAsBtE;AAtBD,gFAsBC"}
|
|
@@ -2,20 +2,18 @@ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
|
|
2
2
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
|
3
3
|
import { DurationDto, IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
4
4
|
import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
|
|
5
|
-
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
|
6
5
|
import { ProductPackage } from '../../entity/ProductPackage';
|
|
7
6
|
import { FacilityDto, SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
8
7
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
9
8
|
import { MediaDto } from '../../media/dto/media.dto';
|
|
10
|
-
import { SimpleMembershipDto } from '../../membership/dto/membership.dto';
|
|
11
9
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
12
10
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
|
13
11
|
import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
|
14
12
|
import { PriceDto } from '../../pricing/dto/price.dto';
|
|
15
13
|
import { PunchPassDto } from '../../punch-pass/dto/punch-pass.dto';
|
|
16
14
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
|
17
|
-
import { ActivityEnum, AddonTimePeriodEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
18
|
-
import {
|
|
15
|
+
import { ActivityEnum, AddonTimePeriodEnum, PackageProductsRelationTypeEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
16
|
+
import { IResourcesAvailability } from '../../services/interfaces.service';
|
|
19
17
|
import { TaxDto } from '../../taxes/dto/tax.dto';
|
|
20
18
|
import { IGetResourcesProductsOptions, IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
|
21
19
|
import { ProductCategoryDto } from './product-categories.dto';
|
|
@@ -138,6 +136,21 @@ export declare class SimpleProductDto extends IdAndNameDto {
|
|
|
138
136
|
productPaymentPlans?: PaymentPlanDto[];
|
|
139
137
|
duration?: DurationDto;
|
|
140
138
|
}
|
|
139
|
+
export declare class ProductVariantDto extends IdAndNameDto {
|
|
140
|
+
currPrice?: PriceDto;
|
|
141
|
+
prices?: PriceDto[];
|
|
142
|
+
variantsObj: VariantDto[];
|
|
143
|
+
variantTitlesObj: VariantTitleDto[];
|
|
144
|
+
}
|
|
145
|
+
export declare class AddOnProductDto extends IdAndNameDto {
|
|
146
|
+
prices?: PriceDto[];
|
|
147
|
+
defaultPriceId?: number;
|
|
148
|
+
}
|
|
149
|
+
export declare class ProductAddOnDto {
|
|
150
|
+
product: AddOnProductDto;
|
|
151
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
152
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
153
|
+
}
|
|
141
154
|
export declare class BaseProductDto {
|
|
142
155
|
id: number;
|
|
143
156
|
organizationId: number;
|
|
@@ -146,16 +159,13 @@ export declare class BaseProductDto {
|
|
|
146
159
|
name: string;
|
|
147
160
|
quantity: number;
|
|
148
161
|
isAll: boolean;
|
|
149
|
-
paymentProcessorId?: string;
|
|
150
162
|
startDate?: Date;
|
|
151
163
|
endDate?: Date;
|
|
152
164
|
isPublic: boolean;
|
|
153
165
|
productType?: ProductTypesEnum;
|
|
154
|
-
GL?: string;
|
|
155
166
|
glCodes?: ResourceGlDto[];
|
|
156
167
|
downpayment?: number;
|
|
157
168
|
description?: string;
|
|
158
|
-
mainMediaId?: number;
|
|
159
169
|
mainMedia?: MediaDto;
|
|
160
170
|
prices: PriceDto[];
|
|
161
171
|
currPrice: PriceDto;
|
|
@@ -164,34 +174,26 @@ export declare class BaseProductDto {
|
|
|
164
174
|
requiredProductIds?: number[];
|
|
165
175
|
resources: IResourcesAvailability[];
|
|
166
176
|
resource: ProductResourceDto;
|
|
167
|
-
variantParentId?: number;
|
|
168
177
|
isAddon: boolean;
|
|
169
178
|
isArchive: boolean;
|
|
170
|
-
productVariants:
|
|
171
|
-
variantParentProduct: BaseProductDto;
|
|
179
|
+
productVariants: ProductVariantDto[];
|
|
172
180
|
variantsObj: VariantDto[];
|
|
173
181
|
variantTitlesObj: VariantTitleDto[];
|
|
174
182
|
timePeriod?: AddonTimePeriodEnum;
|
|
175
|
-
deletedAt?: Date;
|
|
176
183
|
isProRated: boolean;
|
|
177
|
-
entitledPrices?: GroupItemsPricing[];
|
|
178
184
|
defaultPriceId?: number;
|
|
179
|
-
tax: number;
|
|
180
185
|
isTaxInclusive: boolean;
|
|
181
186
|
taxes?: TaxDto[];
|
|
182
187
|
defaultPrice?: PriceDto;
|
|
183
|
-
addOns?:
|
|
188
|
+
addOns?: ProductAddOnDto[];
|
|
184
189
|
productResources: ProductResourceDto[];
|
|
185
|
-
parentProductPackages: ProductPackage[];
|
|
186
190
|
childProductPackages: ProductPackage[];
|
|
187
191
|
sports?: number[];
|
|
188
192
|
durationMinutes?: number;
|
|
189
193
|
durationDays?: number;
|
|
190
194
|
forms?: number[];
|
|
191
|
-
isForAllCustomers?: boolean;
|
|
192
195
|
reservedForCustomers?: SimpleCustomerDto[];
|
|
193
196
|
reservedForCustomersIds?: number[];
|
|
194
|
-
reservedForMemberships?: SimpleMembershipDto[];
|
|
195
197
|
activityTimes?: ActivityTimesDto[];
|
|
196
198
|
resourceSettings: ResourceSettingDto[];
|
|
197
199
|
timezone?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserRequiredProductsDto = exports.RequiredProductsByProductIdDto = exports.RequiredProductDto = exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.UsersRequiredProductsByProductIdsDto = exports.UsersRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
|
3
|
+
exports.UserRequiredProductsDto = exports.RequiredProductsByProductIdDto = exports.RequiredProductDto = exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.ProductAddOnDto = exports.AddOnProductDto = exports.ProductVariantDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.UsersRequiredProductsByProductIdsDto = exports.UsersRequiredProductsDto = 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 {
|
|
@@ -45,6 +45,15 @@ exports.GetOrganizationProductsDto = GetOrganizationProductsDto;
|
|
|
45
45
|
class SimpleProductDto extends general_dto_1.IdAndNameDto {
|
|
46
46
|
}
|
|
47
47
|
exports.SimpleProductDto = SimpleProductDto;
|
|
48
|
+
class ProductVariantDto extends general_dto_1.IdAndNameDto {
|
|
49
|
+
}
|
|
50
|
+
exports.ProductVariantDto = ProductVariantDto;
|
|
51
|
+
class AddOnProductDto extends general_dto_1.IdAndNameDto {
|
|
52
|
+
}
|
|
53
|
+
exports.AddOnProductDto = AddOnProductDto;
|
|
54
|
+
class ProductAddOnDto {
|
|
55
|
+
}
|
|
56
|
+
exports.ProductAddOnDto = ProductAddOnDto;
|
|
48
57
|
class BaseProductDto {
|
|
49
58
|
}
|
|
50
59
|
exports.BaseProductDto = BaseProductDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAmF;
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAmF;AAMnF,8EAA8E;AAuB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,oCAAoC;CAMhD;AAND,oFAMC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CA4BlD;AA5BD,wCA4BC;AAED,MAAa,gBAAgB;CAwD5B;AAxDD,4CAwDC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAcjD;AAdD,4CAcC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAQlD;AARD,8CAQC;AAED,MAAa,eAAgB,SAAQ,0BAAY;CAIhD;AAJD,0CAIC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,cAAc;CA0F1B;AA1FD,wCA0FC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAsB7C;AAtBD,gCAsBC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,kBAAmB,SAAQ,UAAU;CAMjD;AAND,gDAMC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
|
|
@@ -186,8 +186,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
186
186
|
}>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
name?: string;
|
|
189
|
-
membershipsIds?: [number, ...number[]];
|
|
190
189
|
id?: string;
|
|
190
|
+
membershipsIds?: [number, ...number[]];
|
|
191
191
|
advanceBookingWindow?: {
|
|
192
192
|
amount?: number;
|
|
193
193
|
unit?: TimeUnit;
|
|
@@ -198,8 +198,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
198
198
|
};
|
|
199
199
|
}, {
|
|
200
200
|
name?: string;
|
|
201
|
-
membershipsIds?: [number, ...number[]];
|
|
202
201
|
id?: string;
|
|
202
|
+
membershipsIds?: [number, ...number[]];
|
|
203
203
|
advanceBookingWindow?: {
|
|
204
204
|
amount?: number;
|
|
205
205
|
unit?: TimeUnit;
|
|
@@ -254,8 +254,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
254
254
|
allowOverlappingStartTimes?: boolean;
|
|
255
255
|
memberships?: [{
|
|
256
256
|
name?: string;
|
|
257
|
-
membershipsIds?: [number, ...number[]];
|
|
258
257
|
id?: string;
|
|
258
|
+
membershipsIds?: [number, ...number[]];
|
|
259
259
|
advanceBookingWindow?: {
|
|
260
260
|
amount?: number;
|
|
261
261
|
unit?: TimeUnit;
|
|
@@ -266,8 +266,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
266
266
|
};
|
|
267
267
|
}, ...{
|
|
268
268
|
name?: string;
|
|
269
|
-
membershipsIds?: [number, ...number[]];
|
|
270
269
|
id?: string;
|
|
270
|
+
membershipsIds?: [number, ...number[]];
|
|
271
271
|
advanceBookingWindow?: {
|
|
272
272
|
amount?: number;
|
|
273
273
|
unit?: TimeUnit;
|
|
@@ -322,8 +322,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
322
322
|
allowOverlappingStartTimes?: boolean;
|
|
323
323
|
memberships?: [{
|
|
324
324
|
name?: string;
|
|
325
|
-
membershipsIds?: [number, ...number[]];
|
|
326
325
|
id?: string;
|
|
326
|
+
membershipsIds?: [number, ...number[]];
|
|
327
327
|
advanceBookingWindow?: {
|
|
328
328
|
amount?: number;
|
|
329
329
|
unit?: TimeUnit;
|
|
@@ -334,8 +334,8 @@ declare const _RESERVATION_SETTINGS_TYPE_SCHEMA: z.ZodObject<{
|
|
|
334
334
|
};
|
|
335
335
|
}, ...{
|
|
336
336
|
name?: string;
|
|
337
|
-
membershipsIds?: [number, ...number[]];
|
|
338
337
|
id?: string;
|
|
338
|
+
membershipsIds?: [number, ...number[]];
|
|
339
339
|
advanceBookingWindow?: {
|
|
340
340
|
amount?: number;
|
|
341
341
|
unit?: TimeUnit;
|
|
@@ -21,8 +21,19 @@ export declare enum ProductExpandEnum {
|
|
|
21
21
|
PRODUCT_PACKAGES = "packages",
|
|
22
22
|
PRICING_SCHEDULE = "pricingSchedule",
|
|
23
23
|
ACTIVITY_TIMES = "activityTimes",
|
|
24
|
-
MEDIA = "media"
|
|
24
|
+
MEDIA = "media",
|
|
25
|
+
RESOURCES = "resources",
|
|
26
|
+
PRODUCT_RESOURCES = "productResources",
|
|
27
|
+
FACILITIES = "facilities",
|
|
28
|
+
GL_CODES = "glCodes",
|
|
29
|
+
PRODUCT_CATEGORIES = "productCategories",
|
|
30
|
+
CUSTOMERS = "customers",
|
|
31
|
+
PAYMENT_PLANS = "paymentPlans",
|
|
32
|
+
RESOURCE_SETTINGS = "resourceSettings",
|
|
33
|
+
PUNCH_PASS = "punchPass",
|
|
34
|
+
VARIANTS = "variants"
|
|
25
35
|
}
|
|
36
|
+
export declare const PUBLIC_PRODUCT_EXPAND_VALUES: ProductExpandEnum[];
|
|
26
37
|
export declare enum ProductBuilderTypeEnum {
|
|
27
38
|
RENTAL = "rental",
|
|
28
39
|
PROGRAM_PUNCH_PASS = "program_punch_pass",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductBuilderTypeEnum = exports.ProductExpandEnum = exports.OrderByProductEnum = exports.ProductStateEnum = void 0;
|
|
3
|
+
exports.ProductBuilderTypeEnum = exports.PUBLIC_PRODUCT_EXPAND_VALUES = exports.ProductExpandEnum = exports.OrderByProductEnum = exports.ProductStateEnum = void 0;
|
|
4
4
|
var ProductStateEnum;
|
|
5
5
|
(function (ProductStateEnum) {
|
|
6
6
|
ProductStateEnum["VALID"] = "valid";
|
|
@@ -28,7 +28,27 @@ var ProductExpandEnum;
|
|
|
28
28
|
ProductExpandEnum["PRICING_SCHEDULE"] = "pricingSchedule";
|
|
29
29
|
ProductExpandEnum["ACTIVITY_TIMES"] = "activityTimes";
|
|
30
30
|
ProductExpandEnum["MEDIA"] = "media";
|
|
31
|
+
ProductExpandEnum["RESOURCES"] = "resources";
|
|
32
|
+
ProductExpandEnum["PRODUCT_RESOURCES"] = "productResources";
|
|
33
|
+
ProductExpandEnum["FACILITIES"] = "facilities";
|
|
34
|
+
ProductExpandEnum["GL_CODES"] = "glCodes";
|
|
35
|
+
ProductExpandEnum["PRODUCT_CATEGORIES"] = "productCategories";
|
|
36
|
+
ProductExpandEnum["CUSTOMERS"] = "customers";
|
|
37
|
+
ProductExpandEnum["PAYMENT_PLANS"] = "paymentPlans";
|
|
38
|
+
ProductExpandEnum["RESOURCE_SETTINGS"] = "resourceSettings";
|
|
39
|
+
ProductExpandEnum["PUNCH_PASS"] = "punchPass";
|
|
40
|
+
ProductExpandEnum["VARIANTS"] = "variants";
|
|
31
41
|
})(ProductExpandEnum = exports.ProductExpandEnum || (exports.ProductExpandEnum = {}));
|
|
42
|
+
exports.PUBLIC_PRODUCT_EXPAND_VALUES = [
|
|
43
|
+
ProductExpandEnum.PRICES,
|
|
44
|
+
ProductExpandEnum.REQUIRED_PRODUCTS,
|
|
45
|
+
ProductExpandEnum.ENTITLEMENT_DISCOUNTS,
|
|
46
|
+
ProductExpandEnum.ACCOUNTING_CODES,
|
|
47
|
+
ProductExpandEnum.PRODUCT_PACKAGES,
|
|
48
|
+
ProductExpandEnum.PRICING_SCHEDULE,
|
|
49
|
+
ProductExpandEnum.ACTIVITY_TIMES,
|
|
50
|
+
ProductExpandEnum.MEDIA,
|
|
51
|
+
];
|
|
32
52
|
var ProductBuilderTypeEnum;
|
|
33
53
|
(function (ProductBuilderTypeEnum) {
|
|
34
54
|
ProductBuilderTypeEnum["RENTAL"] = "rental";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;IAChC,2DAAqC,CAAA;IACrC,+DAAyC,CAAA;AAC1C,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;IAChC,2DAAqC,CAAA;IACrC,+DAAyC,CAAA;AAC1C,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B;AAED,IAAY,iBAmBX;AAnBD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;IAC9C,yDAAoC,CAAA;IACpC,kDAA6B,CAAA;IAC7B,yDAAoC,CAAA;IACpC,qDAAgC,CAAA;IAChC,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,2DAAsC,CAAA;IACtC,8CAAyB,CAAA;IACzB,yCAAoB,CAAA;IACpB,6DAAwC,CAAA;IACxC,4CAAuB,CAAA;IACvB,mDAA8B,CAAA;IAC9B,2DAAsC,CAAA;IACtC,6CAAwB,CAAA;IACxB,0CAAqB,CAAA;AACtB,CAAC,EAnBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAmB5B;AAEY,QAAA,4BAA4B,GAAwB;IAChE,iBAAiB,CAAC,MAAM;IACxB,iBAAiB,CAAC,iBAAiB;IACnC,iBAAiB,CAAC,qBAAqB;IACvC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,cAAc;IAChC,iBAAiB,CAAC,KAAK;CACvB,CAAC;AAEF,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
|
|
@@ -22,22 +22,10 @@ export interface IGetProductsByTypeOptions extends IPagination {
|
|
|
22
22
|
customersIds?: number[];
|
|
23
23
|
excludeProductIds?: number[];
|
|
24
24
|
excludeResourceIds?: number[];
|
|
25
|
+
expand?: ProductExpandEnum[];
|
|
25
26
|
facilitiesIds?: number[];
|
|
26
|
-
includeActivityTimes?: boolean;
|
|
27
27
|
includeArchived?: boolean;
|
|
28
|
-
includeCurrentPrice?: boolean;
|
|
29
|
-
includeCustomers?: boolean;
|
|
30
|
-
includeEntitlementDiscounts?: boolean;
|
|
31
|
-
includeFacilities?: boolean;
|
|
32
|
-
includeGlCodes?: boolean;
|
|
33
28
|
includeOnlyNotAssignedToCategory?: boolean;
|
|
34
|
-
includePaymentPlan?: boolean;
|
|
35
|
-
includePricesSchedule?: boolean;
|
|
36
|
-
includeProductCategories?: boolean;
|
|
37
|
-
includeProductResources?: boolean;
|
|
38
|
-
includePunchPass?: boolean;
|
|
39
|
-
includeResources?: boolean;
|
|
40
|
-
includeResourceSettings?: boolean;
|
|
41
29
|
inclusion?: boolean;
|
|
42
30
|
instructorsIds?: number[];
|
|
43
31
|
isAvailableOnline?: boolean;
|