@bondsports/types 2.4.38-a-2 → 2.4.38-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.
Files changed (46) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/dto/cart.dto.d.ts +1 -0
  3. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  4. package/dist/types/cart/entities/cart.entity.d.ts +1 -0
  5. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  6. package/dist/types/dto/index.d.ts +1 -0
  7. package/dist/types/dto/index.js +1 -0
  8. package/dist/types/dto/index.js.map +1 -1
  9. package/dist/types/dto/station.dto.d.ts +6 -0
  10. package/dist/types/dto/station.dto.js +8 -0
  11. package/dist/types/dto/station.dto.js.map +1 -0
  12. package/dist/types/entity/Invoice.d.ts +1 -0
  13. package/dist/types/entity/Invoice.js.map +1 -1
  14. package/dist/types/entity/Station.d.ts +4 -0
  15. package/dist/types/entity/Station.js.map +1 -1
  16. package/dist/types/index.d.ts +1 -0
  17. package/dist/types/index.js +1 -0
  18. package/dist/types/index.js.map +1 -1
  19. package/dist/types/product-pricing/dto/product-categories.dto.d.ts +15 -0
  20. package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
  21. package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
  22. package/dist/types/product-pricing/entities/index.d.ts +1 -0
  23. package/dist/types/product-pricing/entities/index.js +1 -0
  24. package/dist/types/product-pricing/entities/index.js.map +1 -1
  25. package/dist/types/product-pricing/entities/product-category.entity.d.ts +6 -0
  26. package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
  27. package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +12 -0
  28. package/dist/types/product-pricing/entities/station-to-product-category.entity.js +8 -0
  29. package/dist/types/product-pricing/entities/station-to-product-category.entity.js.map +1 -0
  30. package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +10 -0
  31. package/dist/types/public-api/dto/UsagePlanDto.d.ts +4 -0
  32. package/dist/types/public-api/dto/UsagePlanDto.js +11 -0
  33. package/dist/types/public-api/dto/UsagePlanDto.js.map +1 -0
  34. package/dist/types/public-api/dto/index.d.ts +1 -0
  35. package/dist/types/public-api/dto/index.js +18 -0
  36. package/dist/types/public-api/dto/index.js.map +1 -0
  37. package/dist/types/public-api/index.d.ts +2 -0
  38. package/dist/types/public-api/index.js +19 -0
  39. package/dist/types/public-api/index.js.map +1 -0
  40. package/dist/types/public-api/types/enums.d.ts +5 -0
  41. package/dist/types/public-api/types/enums.js +10 -0
  42. package/dist/types/public-api/types/enums.js.map +1 -0
  43. package/dist/types/public-api/types/index.d.ts +1 -0
  44. package/dist/types/public-api/types/index.js +18 -0
  45. package/dist/types/public-api/types/index.js.map +1 -0
  46. package/package.json +2 -2
@@ -34,6 +34,7 @@ export declare class CartDto extends SimpleCartDto {
34
34
  discounts?: CartDiscountDto[];
35
35
  discountSubtotal?: number;
36
36
  subtotal?: number;
37
+ tippableAmount?: number;
37
38
  downpayment?: number;
38
39
  }
39
40
  export declare class OrganizationCartDto extends CartDto {
@@ -1 +1 @@
1
- {"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AASzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAoCzC;AApCD,0BAoCC;AAED,MAAa,mBAAoB,SAAQ,OAAO;CAAG;AAAnD,kDAAmD;AAEnD,MAAa,aAAa;CASzB;AATD,sCASC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA8BjC;AA9BD,sDA8BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAkBhC;AAlBD,oDAkBC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
1
+ {"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AASzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAsCzC;AAtCD,0BAsCC;AAED,MAAa,mBAAoB,SAAQ,OAAO;CAAG;AAAnD,kDAAmD;AAEnD,MAAa,aAAa;CASzB;AATD,sCASC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA8BjC;AA9BD,sDA8BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAkBhC;AAlBD,oDAkBC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
@@ -36,4 +36,5 @@ export declare class Cart extends OrganizationConnectionBaseEntity {
36
36
  discountAmount?: number;
37
37
  discountSubtotal?: number;
38
38
  subtotal?: number;
39
+ tippableAmount?: number;
39
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAsDzD;AAtDD,oBAsDC"}
1
+ {"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAwDzD;AAxDD,oBAwDC"}
@@ -17,5 +17,6 @@ export * from './registration.dto';
17
17
  export * from './rental.dto';
18
18
  export * from './response.dto';
19
19
  export * from './slots.dto';
20
+ export * from './station.dto';
20
21
  export * from './stripe.dto';
21
22
  export * from './userPaymentMethod.dto';
@@ -33,6 +33,7 @@ __exportStar(require("./registration.dto"), exports);
33
33
  __exportStar(require("./rental.dto"), exports);
34
34
  __exportStar(require("./response.dto"), exports);
35
35
  __exportStar(require("./slots.dto"), exports);
36
+ __exportStar(require("./station.dto"), exports);
36
37
  __exportStar(require("./stripe.dto"), exports);
37
38
  __exportStar(require("./userPaymentMethod.dto"), exports);
38
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC"}
@@ -0,0 +1,6 @@
1
+ import { OrganizationBaseEntityDto } from '../organization/dto/organization.dto';
2
+ export declare class StationDto extends OrganizationBaseEntityDto {
3
+ name: string;
4
+ facilityId: number;
5
+ terminaLabel: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StationDto = void 0;
4
+ const organization_dto_1 = require("../organization/dto/organization.dto");
5
+ class StationDto extends organization_dto_1.OrganizationBaseEntityDto {
6
+ }
7
+ exports.StationDto = StationDto;
8
+ //# sourceMappingURL=station.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"station.dto.js","sourceRoot":"","sources":["../../../src/types/dto/station.dto.ts"],"names":[],"mappings":";;;AACA,2EAAiF;AAEjF,MAAa,UAAW,SAAQ,4CAAyB;CAMxD;AAND,gCAMC"}
@@ -58,6 +58,7 @@ export declare class Invoice extends BondBaseEntity {
58
58
  discountSubtotal?: number;
59
59
  subtotal?: number;
60
60
  subtotalBalance?: number;
61
+ tippableAmount?: number;
61
62
  customer?: Customer;
62
63
  obfuscatedCustomer?: ObfuscatedCustomerDto;
63
64
  hasFailedPayments?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CAyG1C;AAzGD,0BAyGC"}
1
+ {"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CA2G1C;AA3GD,0BA2GC"}
@@ -1,3 +1,5 @@
1
+ import { ProductCategory } from '../product-pricing/entities/product-category.entity';
2
+ import { StationToProductCategory } from '../product-pricing/entities/station-to-product-category.entity';
1
3
  import { Shift } from '../shifts/entities/shift.entity';
2
4
  import { Facility } from './Facility';
3
5
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
@@ -13,5 +15,7 @@ export declare class Station extends OrganizationConnectionBaseEntity {
13
15
  currentOpenShift?: Shift;
14
16
  stationToSubcategories: StationToSubcategory[];
15
17
  subcategories: Subcategory[];
18
+ stationToProductCategories: StationToProductCategory[];
19
+ productCategories: ProductCategory[];
16
20
  shifts?: Shift[];
17
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAKA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAoB5D;AApBD,0BAoBC"}
1
+ {"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAOA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
@@ -41,6 +41,7 @@ export * from './pricing';
41
41
  export * from './product-pricing';
42
42
  export * from './programs';
43
43
  export * from './programs-seasons';
44
+ export * from './public-api';
44
45
  export * from './punch-pass';
45
46
  export * from './purchase';
46
47
  export * from './questionnaires';
@@ -57,6 +57,7 @@ __exportStar(require("./pricing"), exports);
57
57
  __exportStar(require("./product-pricing"), exports);
58
58
  __exportStar(require("./programs"), exports);
59
59
  __exportStar(require("./programs-seasons"), exports);
60
+ __exportStar(require("./public-api"), exports);
60
61
  __exportStar(require("./punch-pass"), exports);
61
62
  __exportStar(require("./purchase"), exports);
62
63
  __exportStar(require("./questionnaires"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
@@ -1,4 +1,5 @@
1
1
  import { PaginationQuery } from '../../dto/general.dto';
2
+ import { StationDto } from '../../dto/station.dto';
2
3
  import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
3
4
  import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
4
5
  import { OrderByEnum, ProductTypesEnum, ResourceTypeEnum } from '../../services/enums.service';
@@ -15,10 +16,16 @@ export declare class CreateProductCategoryDto<T extends Record<string, unknown>
15
16
  settings?: T;
16
17
  productType: ProductTypesEnum;
17
18
  productsIds?: number[];
19
+ ordinal?: number;
20
+ isTipEligible?: boolean;
21
+ stationIds?: number[];
18
22
  }
19
23
  export declare class UpdateProductCategoryDto<T extends Record<string, unknown> = ISettings> extends UpdateProductCategoryBaseDto {
20
24
  settings?: T;
21
25
  productsIds?: number[];
26
+ ordinal?: number;
27
+ isTipEligible?: boolean;
28
+ stationIds?: number[];
22
29
  }
23
30
  export declare class ProductCategoryDto<T extends Record<string, unknown> = ISettings> extends OrganizationBaseEntityDto {
24
31
  name?: string;
@@ -26,6 +33,9 @@ export declare class ProductCategoryDto<T extends Record<string, unknown> = ISet
26
33
  productType: ProductTypesEnum;
27
34
  settings?: T;
28
35
  productsCount?: number;
36
+ ordinal?: number;
37
+ isTipEligible: boolean;
38
+ stations?: StationDto[];
29
39
  }
30
40
  export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
31
41
  order?: OrderByEnum;
@@ -35,10 +45,15 @@ export declare class GetProductCategoriesDto extends PaginationQuery implements
35
45
  vipEnabled?: boolean;
36
46
  approvalRequired?: boolean;
37
47
  resourceTypes?: ResourceTypeEnum[];
48
+ stationId?: number;
49
+ isTipEligible?: boolean;
38
50
  }
39
51
  export declare class ByOrganizationAndCategoryIdDto extends ByOrganizationIdDto {
40
52
  categoryId: number;
41
53
  }
54
+ export declare class GetStationProductCategoriesDto {
55
+ stationId: number;
56
+ }
42
57
  export declare class IncludeProductsCountDto {
43
58
  includeProductsCount?: boolean;
44
59
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IncludeProductsCountDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = void 0;
3
+ exports.IncludeProductsCountDto = exports.GetStationProductCategoriesDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = 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 UpdateProductCategorySettingsDto {
@@ -24,6 +24,9 @@ exports.GetProductCategoriesDto = GetProductCategoriesDto;
24
24
  class ByOrganizationAndCategoryIdDto extends organization_dto_1.ByOrganizationIdDto {
25
25
  }
26
26
  exports.ByOrganizationAndCategoryIdDto = ByOrganizationAndCategoryIdDto;
27
+ class GetStationProductCategoriesDto {
28
+ }
29
+ exports.GetStationProductCategoriesDto = GetStationProductCategoriesDto;
27
30
  class IncludeProductsCountDto {
28
31
  }
29
32
  exports.IncludeProductsCountDto = IncludeProductsCountDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAMrC;AARD,4DAQC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAIrC;AAND,4DAMC;AAED,MAAa,kBAAkE,SAAQ,4CAAyB;CAU/G;AAVD,gDAUC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAc3D;AAdD,0DAcC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
1
+ {"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,kBAAkE,SAAQ,4CAAyB;CAgB/G;AAhBD,gDAgBC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;CAE1C;AAFD,wEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
@@ -1,3 +1,4 @@
1
1
  export * from './product-category.entity';
2
2
  export * from './product-to-facility.entity';
3
3
  export * from './product.entity';
4
+ export * from './station-to-product-category.entity';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./product-category.entity"), exports);
18
18
  __exportStar(require("./product-to-facility.entity"), exports);
19
19
  __exportStar(require("./product.entity"), exports);
20
+ __exportStar(require("./station-to-product-category.entity"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,uEAAqD"}
@@ -1,12 +1,18 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
2
  import { ProductTypesEnum } from '../../services/enums.service';
3
3
  import { Product } from './product.entity';
4
+ import { Station } from '../../entity/Station';
5
+ import { StationToProductCategory } from './station-to-product-category.entity';
4
6
  export declare class ProductCategory extends OrganizationConnectionBaseEntity {
5
7
  name: string;
6
8
  description?: string;
7
9
  productType: ProductTypesEnum;
8
10
  settings?: unknown;
11
+ ordinal?: number;
12
+ isTipEligible: boolean;
9
13
  deletedAt?: Date;
10
14
  products?: Product[];
15
+ stationToProductCategories?: StationToProductCategory[];
16
+ stations?: Station[];
11
17
  productsCount?: number;
12
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,eAAgB,SAAQ,mEAAgC;CAcpE;AAdD,0CAcC"}
1
+ {"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,eAAgB,SAAQ,mEAAgC;CAsBpE;AAtBD,0CAsBC"}
@@ -0,0 +1,12 @@
1
+ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
+ import { Station } from '../../entity/Station';
3
+ import { ProductTypesEnum } from '../../services/enums.service';
4
+ import { ProductCategory } from './product-category.entity';
5
+ export declare class StationToProductCategory extends OrganizationConnectionBaseEntity {
6
+ stationId: number;
7
+ productCategoryId: number;
8
+ productType: ProductTypesEnum;
9
+ deletedAt?: Date;
10
+ station: Station;
11
+ productCategory: ProductCategory;
12
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StationToProductCategory = void 0;
4
+ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
5
+ class StationToProductCategory extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
6
+ }
7
+ exports.StationToProductCategory = StationToProductCategory;
8
+ //# sourceMappingURL=station-to-product-category.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"station-to-product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/station-to-product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,wBAAyB,SAAQ,mEAAgC;CAY7E;AAZD,4DAYC"}
@@ -6,10 +6,12 @@ import { CategoryOrderColumnEnum } from '../enums/product-categories.enums';
6
6
  export interface IGetProductCategories extends IPagination {
7
7
  approvalRequired?: boolean;
8
8
  categoriesIds?: number[];
9
+ isTipEligible?: boolean;
9
10
  order?: OrderByEnum;
10
11
  orderBy?: CategoryOrderColumnEnum;
11
12
  resourceTypes?: ResourceTypeEnum[];
12
13
  search?: string;
14
+ stationId?: number;
13
15
  vipEnabled?: boolean;
14
16
  }
15
17
  export interface ISettingValidationIssue {
@@ -24,3 +26,11 @@ export interface ISettingsValidationResult<T = ISettings> {
24
26
  export interface IRawProductCategoryData extends BondBaseEntity {
25
27
  productsCount: number;
26
28
  }
29
+ export interface IItemWithProductCategory {
30
+ product?: {
31
+ productCategory?: {
32
+ isTipEligible?: boolean;
33
+ };
34
+ };
35
+ totalPrice?: number;
36
+ }
@@ -0,0 +1,4 @@
1
+ import { ApiGatewayUsagePlanName } from '../types/enums';
2
+ export declare class UsagePlanDto {
3
+ usagePlan: ApiGatewayUsagePlanName;
4
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UsagePlanDto = void 0;
4
+ const enums_1 = require("../types/enums");
5
+ class UsagePlanDto {
6
+ constructor() {
7
+ this.usagePlan = enums_1.ApiGatewayUsagePlanName.Enterprise;
8
+ }
9
+ }
10
+ exports.UsagePlanDto = UsagePlanDto;
11
+ //# sourceMappingURL=UsagePlanDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UsagePlanDto.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/UsagePlanDto.ts"],"names":[],"mappings":";;;AAAA,0CAAyD;AAEzD,MAAa,YAAY;IAAzB;QACC,cAAS,GAA4B,+BAAuB,CAAC,UAAU,CAAC;IACzE,CAAC;CAAA;AAFD,oCAEC"}
@@ -0,0 +1 @@
1
+ export * from './UsagePlanDto';
@@ -0,0 +1,18 @@
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("./UsagePlanDto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
@@ -0,0 +1,2 @@
1
+ export * from './dto';
2
+ export * from './types';
@@ -0,0 +1,19 @@
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("./dto"), exports);
18
+ __exportStar(require("./types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/public-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
@@ -0,0 +1,5 @@
1
+ export declare enum ApiGatewayUsagePlanName {
2
+ Enterprise = "enterprise",
3
+ Pro = "pro",
4
+ Free = "free"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiGatewayUsagePlanName = void 0;
4
+ var ApiGatewayUsagePlanName;
5
+ (function (ApiGatewayUsagePlanName) {
6
+ ApiGatewayUsagePlanName["Enterprise"] = "enterprise";
7
+ ApiGatewayUsagePlanName["Pro"] = "pro";
8
+ ApiGatewayUsagePlanName["Free"] = "free";
9
+ })(ApiGatewayUsagePlanName = exports.ApiGatewayUsagePlanName || (exports.ApiGatewayUsagePlanName = {}));
10
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/public-api/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAClC,oDAAyB,CAAA;IACzB,sCAAW,CAAA;IACX,wCAAa,CAAA;AACd,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
@@ -0,0 +1 @@
1
+ export * from './enums';
@@ -0,0 +1,18 @@
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("./enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/public-api/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.38-a-2",
3
+ "version": "2.4.38-a-4",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -51,5 +51,5 @@
51
51
  "ts-node": "^10.8.0",
52
52
  "typescript": "^4.4.3"
53
53
  },
54
- "gitHead": "224be5269e66207b6710709999997ee0e8258bdb"
54
+ "gitHead": "de9bfaf72472bf990a1a880d7d2641dedbe0b863"
55
55
  }