@bondsports/types 2.3.15-team-c-1 → 2.3.15-team-c-2

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.
@@ -48,4 +48,6 @@ export declare class Organization extends BondBaseEntity {
48
48
  paymentMethods: OrganizationPaymentMethod[];
49
49
  colorCodes: ColorCode[];
50
50
  timezone?: string;
51
+ GA4MeasurementId?: string;
52
+ GTMContainerId?: string;
51
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;CAyF/C;AAzFD,oCAyFC"}
1
+ {"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;CA8F/C;AA9FD,oCA8FC"}
@@ -1,10 +1,10 @@
1
1
  import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
- import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
4
+ import { ActivityEnum, OrderByEnum, ProductTypesEnum, ProgramTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
5
5
  import { ResourceDto } from '../../resources/dto/resource.dto';
6
6
  import { OrderByProductEnum } from '../types/enums/product.enums';
7
- import { IFindPriceOfProduct, IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
7
+ import { IFindPriceOfProduct, IGetProductsByTypeOptions, IGetPunchPassProductsOptions } from '../types/interfaces/product-pricing.interfaces';
8
8
  export declare class FindPriceOfProductDto implements IFindPriceOfProduct {
9
9
  id?: number;
10
10
  productId: number;
@@ -100,3 +100,14 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
100
100
  includePunchPass?: boolean;
101
101
  punchPassOnly?: boolean;
102
102
  }
103
+ export declare class GetPunchPassProductsByTypeQueryDto extends PaginationQuery implements IGetPunchPassProductsOptions {
104
+ search?: string;
105
+ includeArchived?: boolean;
106
+ statuses?: ActivityEnum[];
107
+ programsIds?: number[];
108
+ programTypes?: ProgramTypesEnum[];
109
+ sessionsIds?: number[];
110
+ resourcesIds?: number[];
111
+ sortBy?: OrderByProductEnum;
112
+ order?: OrderByEnum;
113
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveMultipleProductsDto = exports.ArchiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsOptionsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = void 0;
3
+ exports.GetPunchPassProductsByTypeQueryDto = exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveMultipleProductsDto = exports.ArchiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsOptionsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = 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 FindPriceOfProductDto {
@@ -54,4 +54,7 @@ exports.GetProductsByTypeDto = GetProductsByTypeDto;
54
54
  class GetProductsByTypeQueryDto extends general_dto_1.PaginationQuery {
55
55
  }
56
56
  exports.GetProductsByTypeQueryDto = GetProductsByTypeQueryDto;
57
+ class GetPunchPassProductsByTypeQueryDto extends general_dto_1.PaginationQuery {
58
+ }
59
+ exports.GetPunchPassProductsByTypeQueryDto = GetPunchPassProductsByTypeQueryDto;
57
60
  //# sourceMappingURL=product-pricing.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,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;CAE9C;AAFD,gFAEC;AACD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;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;CAsD7D;AAtDD,8DAsDC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAiB9E,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;CAE9C;AAFD,gFAEC;AACD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;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;CAsD7D;AAtDD,8DAsDC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAkBtE;AAlBD,gFAkBC"}
@@ -8,7 +8,8 @@ export declare enum OrderByProductEnum {
8
8
  PRICE = "price",
9
9
  DURATION = "duration",
10
10
  PRODUCT_SUB_TYPE = "productSubType",
11
- STATUS = "status"
11
+ STATUS = "status",
12
+ PRODUCT_STATUS = "productStatus"
12
13
  }
13
14
  export declare enum ProductBuilderTypeEnum {
14
15
  RENTAL = "rental",
@@ -14,6 +14,7 @@ var OrderByProductEnum;
14
14
  OrderByProductEnum["DURATION"] = "duration";
15
15
  OrderByProductEnum["PRODUCT_SUB_TYPE"] = "productSubType";
16
16
  OrderByProductEnum["STATUS"] = "status";
17
+ OrderByProductEnum["PRODUCT_STATUS"] = "productStatus";
17
18
  })(OrderByProductEnum = exports.OrderByProductEnum || (exports.OrderByProductEnum = {}));
18
19
  var ProductBuilderTypeEnum;
19
20
  (function (ProductBuilderTypeEnum) {
@@ -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,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;AAClB,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
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,kBAQX;AARD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;AACjC,CAAC,EARW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQ7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
@@ -1,7 +1,7 @@
1
1
  import { QuestionAnswersDto } from '../../../dto/application.dto';
2
2
  import { ActivityTimes } from '../../../entity/ActivityTimes';
3
3
  import { Price } from '../../../pricing/entities/Price';
4
- import { ActivityEnum, OrderByEnum, SportsEnum } from '../../../services/enums.service';
4
+ import { ActivityEnum, OrderByEnum, ProgramTypesEnum, SportsEnum } from '../../../services/enums.service';
5
5
  import { IPagination } from '../../../util/models/interfaces/general.interfaces';
6
6
  import { OrderByProductEnum } from '../enums/product.enums';
7
7
  import { IProductResource } from './product-resource.interfaces';
@@ -40,6 +40,17 @@ export interface IGetProductsByTypeOptions extends IPagination {
40
40
  includePunchPass?: boolean;
41
41
  punchPassOnly?: boolean;
42
42
  }
43
+ export interface IGetPunchPassProductsOptions extends IPagination {
44
+ search?: string;
45
+ statuses?: ActivityEnum[];
46
+ includeArchived?: boolean;
47
+ programsIds?: number[];
48
+ programTypes?: ProgramTypesEnum[];
49
+ sessionsIds?: number[];
50
+ resourcesIds?: number[];
51
+ sortBy?: OrderByProductEnum;
52
+ order?: OrderByEnum;
53
+ }
43
54
  export interface IPricingSchedule {
44
55
  groupId: string;
45
56
  prices: Price[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.3.15-team-c-1",
3
+ "version": "2.3.15-team-c-2",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {