@bondsports/types 2.4.12-a-1 → 2.4.14-squad-c-1

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 (120) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/auth/auth-headers-names.enum.d.ts +6 -0
  3. package/dist/types/auth/auth-headers-names.enum.js +8 -1
  4. package/dist/types/auth/auth-headers-names.enum.js.map +1 -1
  5. package/dist/types/cart/dto/cart-item.dto.d.ts +3 -5
  6. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  7. package/dist/types/cart/entities/cart-item.entity.d.ts +2 -4
  8. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  9. package/dist/types/cart/types/consts/cart.consts.d.ts +2 -0
  10. package/dist/types/cart/types/consts/cart.consts.js +6 -2
  11. package/dist/types/cart/types/consts/cart.consts.js.map +1 -1
  12. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +0 -1
  13. package/dist/types/customers/dto/add-family-member.dto.d.ts +2 -1
  14. package/dist/types/customers/dto/add-family-member.dto.js.map +1 -1
  15. package/dist/types/customers/dto/customer-response.dto.d.ts +9 -0
  16. package/dist/types/customers/dto/customer-response.dto.js +9 -1
  17. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  18. package/dist/types/customers/types/interfaces.d.ts +3 -10
  19. package/dist/types/entity/Invoice.d.ts +2 -0
  20. package/dist/types/entity/Invoice.js.map +1 -1
  21. package/dist/types/invoice/types/consts/index.d.ts +1 -0
  22. package/dist/types/invoice/types/consts/index.js +1 -0
  23. package/dist/types/invoice/types/consts/index.js.map +1 -1
  24. package/dist/types/invoice/types/consts/invoice-visibility.consts.d.ts +11 -0
  25. package/dist/types/invoice/types/consts/invoice-visibility.consts.js +24 -0
  26. package/dist/types/invoice/types/consts/invoice-visibility.consts.js.map +1 -0
  27. package/dist/types/invoice/types/enums/index.d.ts +1 -0
  28. package/dist/types/invoice/types/enums/index.js +18 -0
  29. package/dist/types/invoice/types/enums/index.js.map +1 -0
  30. package/dist/types/invoice/types/enums/invoice-visibility.enums.d.ts +19 -0
  31. package/dist/types/invoice/types/enums/invoice-visibility.enums.js +25 -0
  32. package/dist/types/invoice/types/enums/invoice-visibility.enums.js.map +1 -0
  33. package/dist/types/invoice/types/index.d.ts +1 -0
  34. package/dist/types/invoice/types/index.js +1 -0
  35. package/dist/types/invoice/types/index.js.map +1 -1
  36. package/dist/types/league-standings/interfaces/competition-team.interface.d.ts +10 -0
  37. package/dist/types/league-standings/interfaces/competition-team.interface.js +3 -0
  38. package/dist/types/league-standings/interfaces/competition-team.interface.js.map +1 -0
  39. package/dist/types/league-standings/interfaces/index.d.ts +4 -0
  40. package/dist/types/league-standings/interfaces/index.js +4 -0
  41. package/dist/types/league-standings/interfaces/index.js.map +1 -1
  42. package/dist/types/league-standings/interfaces/standings.interface.d.ts +4 -0
  43. package/dist/types/league-standings/interfaces/standings.interface.js +3 -0
  44. package/dist/types/league-standings/interfaces/standings.interface.js.map +1 -0
  45. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +0 -4
  46. package/dist/types/payment/types/interfaces/discount.interfaces.js.map +1 -1
  47. package/dist/types/product-pricing/dto/index.d.ts +1 -0
  48. package/dist/types/product-pricing/dto/index.js +1 -0
  49. package/dist/types/product-pricing/dto/index.js.map +1 -1
  50. package/dist/types/product-pricing/dto/product-categories.dto.d.ts +43 -0
  51. package/dist/types/product-pricing/dto/product-categories.dto.js +30 -0
  52. package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -0
  53. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -0
  54. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  55. package/dist/types/product-pricing/dto/product.dto.d.ts +2 -0
  56. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  57. package/dist/types/product-pricing/entities/index.d.ts +1 -0
  58. package/dist/types/product-pricing/entities/index.js +1 -0
  59. package/dist/types/product-pricing/entities/index.js.map +1 -1
  60. package/dist/types/product-pricing/entities/product-category.entity.d.ts +12 -0
  61. package/dist/types/product-pricing/entities/product-category.entity.js +8 -0
  62. package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -0
  63. package/dist/types/product-pricing/entities/product.entity.d.ts +3 -0
  64. package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
  65. package/dist/types/product-pricing/types/consts/index.d.ts +1 -0
  66. package/dist/types/product-pricing/types/consts/index.js +1 -0
  67. package/dist/types/product-pricing/types/consts/index.js.map +1 -1
  68. package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +455 -0
  69. package/dist/types/product-pricing/types/consts/product-category.consts.js +116 -0
  70. package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -0
  71. package/dist/types/product-pricing/types/enums/index.d.ts +1 -0
  72. package/dist/types/product-pricing/types/enums/index.js +1 -0
  73. package/dist/types/product-pricing/types/enums/index.js.map +1 -1
  74. package/dist/types/product-pricing/types/enums/product-categories.enums.d.ts +8 -0
  75. package/dist/types/product-pricing/types/enums/product-categories.enums.js +13 -0
  76. package/dist/types/product-pricing/types/enums/product-categories.enums.js.map +1 -0
  77. package/dist/types/product-pricing/types/enums/product.enums.d.ts +2 -1
  78. package/dist/types/product-pricing/types/enums/product.enums.js +1 -0
  79. package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
  80. package/dist/types/product-pricing/types/interfaces/index.d.ts +1 -0
  81. package/dist/types/product-pricing/types/interfaces/index.js +1 -0
  82. package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
  83. package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +25 -0
  84. package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js +3 -0
  85. package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js.map +1 -0
  86. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +3 -2
  87. package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +0 -1
  88. package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -0
  89. package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
  90. package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +20 -2
  91. package/dist/types/punch-pass/types/interfaces.d.ts +38 -0
  92. package/dist/types/services/enums.service.d.ts +3 -4
  93. package/dist/types/services/enums.service.js +2 -3
  94. package/dist/types/services/enums.service.js.map +1 -1
  95. package/dist/types/services/interfaces.service.d.ts +0 -5
  96. package/dist/types/services/interfaces.service.js.map +1 -1
  97. package/dist/types/session-participants/types/interfaces.d.ts +27 -0
  98. package/dist/types/user/dto/index.d.ts +0 -2
  99. package/dist/types/user/dto/index.js +0 -2
  100. package/dist/types/user/dto/index.js.map +1 -1
  101. package/dist/types/user/dto/user.dto.d.ts +3 -0
  102. package/dist/types/user/dto/user.dto.js +4 -1
  103. package/dist/types/user/dto/user.dto.js.map +1 -1
  104. package/dist/types/user/entities/Athlete.d.ts +0 -2
  105. package/dist/types/user/entities/Athlete.js.map +1 -1
  106. package/dist/types/user/types/index.d.ts +0 -1
  107. package/dist/types/user/types/index.js +0 -1
  108. package/dist/types/user/types/index.js.map +1 -1
  109. package/dist/types/user/types/user.interfaces.d.ts +0 -10
  110. package/package.json +6 -5
  111. package/LICENSE.md +0 -0
  112. package/dist/types/user/dto/athlete.dto.d.ts +0 -14
  113. package/dist/types/user/dto/athlete.dto.js +0 -13
  114. package/dist/types/user/dto/athlete.dto.js.map +0 -1
  115. package/dist/types/user/dto/update-user-profile.dto.d.ts +0 -24
  116. package/dist/types/user/dto/update-user-profile.dto.js +0 -17
  117. package/dist/types/user/dto/update-user-profile.dto.js.map +0 -1
  118. package/dist/types/user/types/user.consts.d.ts +0 -9
  119. package/dist/types/user/types/user.consts.js +0 -25
  120. package/dist/types/user/types/user.consts.js.map +0 -1
@@ -4,3 +4,9 @@ export declare enum AuthHeadersNamesEnum {
4
4
  RefreshToken = "X-BondUserRefreshToken",
5
5
  Username = "X-BondUserUsername"
6
6
  }
7
+ export declare enum AuthCookieNamesEnum {
8
+ AccessToken = "BondUserAccessToken",
9
+ IdToken = "BondUserIdToken",
10
+ RefreshToken = "BondUserRefreshToken",
11
+ Username = "BondUserUsername"
12
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthHeadersNamesEnum = void 0;
3
+ exports.AuthCookieNamesEnum = exports.AuthHeadersNamesEnum = void 0;
4
4
  var AuthHeadersNamesEnum;
5
5
  (function (AuthHeadersNamesEnum) {
6
6
  AuthHeadersNamesEnum["AccessToken"] = "X-BondUserAccessToken";
@@ -8,4 +8,11 @@ var AuthHeadersNamesEnum;
8
8
  AuthHeadersNamesEnum["RefreshToken"] = "X-BondUserRefreshToken";
9
9
  AuthHeadersNamesEnum["Username"] = "X-BondUserUsername";
10
10
  })(AuthHeadersNamesEnum = exports.AuthHeadersNamesEnum || (exports.AuthHeadersNamesEnum = {}));
11
+ var AuthCookieNamesEnum;
12
+ (function (AuthCookieNamesEnum) {
13
+ AuthCookieNamesEnum["AccessToken"] = "BondUserAccessToken";
14
+ AuthCookieNamesEnum["IdToken"] = "BondUserIdToken";
15
+ AuthCookieNamesEnum["RefreshToken"] = "BondUserRefreshToken";
16
+ AuthCookieNamesEnum["Username"] = "BondUserUsername";
17
+ })(AuthCookieNamesEnum = exports.AuthCookieNamesEnum || (exports.AuthCookieNamesEnum = {}));
11
18
  //# sourceMappingURL=auth-headers-names.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-headers-names.enum.js","sourceRoot":"","sources":["../../../src/types/auth/auth-headers-names.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,6DAAqC,CAAA;IACrC,qDAA6B,CAAA;IAC7B,+DAAuC,CAAA;IACvC,uDAA+B,CAAA;AAChC,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B"}
1
+ {"version":3,"file":"auth-headers-names.enum.js","sourceRoot":"","sources":["../../../src/types/auth/auth-headers-names.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,6DAAqC,CAAA;IACrC,qDAA6B,CAAA;IAC7B,+DAAuC,CAAA;IACvC,uDAA+B,CAAA;AAChC,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,0DAAmC,CAAA;IACnC,kDAA2B,CAAA;IAC3B,4DAAqC,CAAA;IACrC,oDAA6B,CAAA;AAC9B,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
@@ -13,9 +13,8 @@ export declare class CartTaxDto extends OrganizationBaseEntityDto {
13
13
  cartId: number;
14
14
  productId: number;
15
15
  price: number;
16
- name: string;
17
- rate?: number;
18
- isInclusive?: boolean;
16
+ percentage?: number;
17
+ isTaxInclusive?: boolean;
19
18
  }
20
19
  export declare class CartDiscountDto extends OrganizationBaseEntityDto {
21
20
  cartId: number;
@@ -58,8 +57,7 @@ export declare class CartItemDto extends SimpleCartItemDto {
58
57
  status: CartStatusEnum;
59
58
  errors?: string[];
60
59
  ordinal?: number;
61
- taxId?: number;
62
- taxItems?: CartTaxDto[];
60
+ taxItem?: CartTaxDto;
63
61
  discounts?: CartDiscountDto[];
64
62
  discountSubtotal?: number;
65
63
  children?: CartItemDto[];
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAWpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CA0B7D;AA1BD,0CA0BC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA4CjD;AA5CD,kCA4CC;AAED,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED,MAAa,cAAe,SAAQ,eAAe;CAUlD;AAVD,wCAUC"}
1
+ {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAWpF,MAAa,UAAW,SAAQ,4CAAyB;CAUxD;AAVD,gCAUC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CA0B7D;AA1BD,0CA0BC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA0CjD;AA1CD,kCA0CC;AAED,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED,MAAa,cAAe,SAAQ,eAAe;CAUlD;AAVD,wCAUC"}
@@ -9,7 +9,6 @@ import { Reason } from '../../organization/entities/Reason';
9
9
  import { Discount } from '../../payment/entities/Discount';
10
10
  import { DiscountOnEnum } from '../../payment/types/enums/discount.enums';
11
11
  import { Product } from '../../product-pricing/entities/product.entity';
12
- import { Tax } from '../../taxes/entities/Tax';
13
12
  import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
14
13
  import { ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
15
14
  import { User } from '../../user/entities/User';
@@ -37,17 +36,16 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
37
36
  parentOrdinal?: number;
38
37
  unique?: string;
39
38
  percentage?: number;
39
+ isTaxInclusive?: boolean;
40
40
  entitlementGroupId?: number;
41
41
  entitlementGroup?: EntitlementGroup;
42
42
  parentId?: number;
43
43
  parent?: CartItem;
44
44
  children?: CartItem[];
45
45
  discounts?: CartItem[];
46
- taxItems?: CartItem[];
46
+ taxItem?: CartItem;
47
47
  discountId?: number;
48
48
  discount?: Discount;
49
- taxId?: number;
50
- tax?: Tax;
51
49
  resources?: PurchaseResourceDto[];
52
50
  parentResourceId?: string;
53
51
  parentResourceType?: ResourceNameTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAQA,oGAAiG;AAejG,MAAa,QAAS,SAAQ,mEAAgC;CAqG7D;AArGD,4BAqGC"}
1
+ {"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAQA,oGAAiG;AAcjG,MAAa,QAAS,SAAQ,mEAAgC;CAmG7D;AAnGD,4BAmGC"}
@@ -1,2 +1,4 @@
1
1
  import { CartDiscountDto } from '../../dto/cart-item.dto';
2
+ import { CartItem } from '../../entities/cart-item.entity';
3
+ export declare const uniqueCartTaxTemplate: (cartItem: CartItem) => string;
2
4
  export declare const uniqueCartDiscountTemplate: (discountItem: CartDiscountDto) => string;
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.uniqueCartDiscountTemplate = void 0;
3
+ exports.uniqueCartDiscountTemplate = exports.uniqueCartTaxTemplate = void 0;
4
+ const uniqueCartTaxTemplate = (cartItem) => {
5
+ return `${cartItem.percentage}_${cartItem.isTaxInclusive}`;
6
+ };
7
+ exports.uniqueCartTaxTemplate = uniqueCartTaxTemplate;
4
8
  const uniqueCartDiscountTemplate = (discountItem) => {
5
- const discountPercentage = `${discountItem.percentage}`;
9
+ const discountPercentage = `${discountItem.percentage}` ?? '';
6
10
  return `${discountItem.discountId}_${discountItem.discount?.type}_${discountPercentage}_${discountItem.actionId}`;
7
11
  };
8
12
  exports.uniqueCartDiscountTemplate = uniqueCartDiscountTemplate;
@@ -1 +1 @@
1
- {"version":3,"file":"cart.consts.js","sourceRoot":"","sources":["../../../../../src/types/cart/types/consts/cart.consts.ts"],"names":[],"mappings":";;;AAEO,MAAM,0BAA0B,GAAG,CAAC,YAA6B,EAAU,EAAE;IACnF,MAAM,kBAAkB,GAAW,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;IAEhE,OAAO,GAAG,YAAY,CAAC,UAAU,IAAI,YAAY,CAAC,QAAQ,EAAE,IAAI,IAAI,kBAAkB,IAAI,YAAY,CAAC,QAAQ,EAAE,CAAC;AACnH,CAAC,CAAC;AAJW,QAAA,0BAA0B,8BAIrC"}
1
+ {"version":3,"file":"cart.consts.js","sourceRoot":"","sources":["../../../../../src/types/cart/types/consts/cart.consts.ts"],"names":[],"mappings":";;;AAGO,MAAM,qBAAqB,GAAG,CAAC,QAAkB,EAAU,EAAE;IACnE,OAAO,GAAG,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;AAC5D,CAAC,CAAC;AAFW,QAAA,qBAAqB,yBAEhC;AAEK,MAAM,0BAA0B,GAAG,CAAC,YAA6B,EAAU,EAAE;IACnF,MAAM,kBAAkB,GAAW,GAAG,YAAY,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC;IAEtE,OAAO,GAAG,YAAY,CAAC,UAAU,IAAI,YAAY,CAAC,QAAQ,EAAE,IAAI,IAAI,kBAAkB,IAAI,YAAY,CAAC,QAAQ,EAAE,CAAC;AACnH,CAAC,CAAC;AAJW,QAAA,0BAA0B,8BAIrC"}
@@ -47,7 +47,6 @@ export interface ICreateCartItem {
47
47
  }
48
48
  export interface IValidateCartOptions {
49
49
  overridePrice?: boolean;
50
- skipUserValidations?: boolean;
51
50
  skipValidations?: boolean;
52
51
  throwError?: boolean;
53
52
  validateWaitlist?: boolean;
@@ -1,11 +1,12 @@
1
1
  import { CreateCustomerDto } from './customer.dto';
2
+ import { SimpleCustomerDto } from './customer-response.dto';
2
3
  export declare class AddMembersDto {
3
4
  customerIds?: number[];
4
5
  customers?: CreateCustomerDto[];
5
6
  }
6
7
  export declare class NewFamilyMembersDto {
7
8
  familyCustomerId: number;
8
- newMembersIds: number[];
9
+ newMembers: SimpleCustomerDto[];
9
10
  }
10
11
  export declare class AddMembersResponseDto {
11
12
  data: NewFamilyMembersDto;
@@ -1 +1 @@
1
- {"version":3,"file":"add-family-member.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/add-family-member.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC"}
1
+ {"version":3,"file":"add-family-member.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/add-family-member.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC"}
@@ -3,6 +3,15 @@ import { MediaDto } from '../../media/dto/media.dto';
3
3
  import { UserPaymentMethodDto } from '../../payment/dtos/user-payment-method.dto';
4
4
  import { CustomerTypeEnum } from '../../services/enums.service';
5
5
  import { CustomerFamilyStatusEnum } from '../types/enums';
6
+ /**
7
+ * DTO representing minimal customer information for public/obscured views.
8
+ * Used when customer details should be partially hidden from viewers
9
+ * (e.g., when viewing an invoice that belongs to another customer).
10
+ */
11
+ export declare class ObfuscatedCustomerDto {
12
+ firstName: string;
13
+ lastName: string;
14
+ }
6
15
  export declare class EmergencyContactDto {
7
16
  customerId: number;
8
17
  name?: string;
@@ -1,7 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomersPaymentMethodsResponseDto = exports.GetCustomerQueryDto = exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
3
+ exports.CustomersPaymentMethodsResponseDto = exports.GetCustomerQueryDto = exports.SimpleCustomerDto = exports.EmergencyContactDto = exports.ObfuscatedCustomerDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
+ /**
6
+ * DTO representing minimal customer information for public/obscured views.
7
+ * Used when customer details should be partially hidden from viewers
8
+ * (e.g., when viewing an invoice that belongs to another customer).
9
+ */
10
+ class ObfuscatedCustomerDto {
11
+ }
12
+ exports.ObfuscatedCustomerDto = ObfuscatedCustomerDto;
5
13
  class EmergencyContactDto {
6
14
  }
7
15
  exports.EmergencyContactDto = EmergencyContactDto;
@@ -1 +1 @@
1
- {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAM9C,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAwB3C;AAxBD,8CAwBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC"}
1
+ {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAM9C;;;;GAIG;AACH,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAwB3C;AAxBD,8CAwBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC"}
@@ -69,14 +69,7 @@ export interface ICustomerColumns {
69
69
  vetted?: boolean;
70
70
  waiverSignedDate?: string;
71
71
  }
72
- export interface IUpdateCustomerFields {
73
- addressId?: number;
74
- colorCodeId?: number;
75
- mainMediaId?: number;
76
- email?: string;
77
- name?: {
78
- firstName: string;
79
- lastName: string;
80
- };
81
- phoneNumber?: string;
72
+ export interface INewFamilyMembers {
73
+ familyCustomerId: number;
74
+ newMembers: Customer[];
82
75
  }
@@ -11,6 +11,7 @@ import { Slot } from '../reservations/entities/slot.entity';
11
11
  import { CurrencyEnum, InvoiceStatusEnum, PlatformsEnum } from '../services/enums.service';
12
12
  import { User } from '../user/entities/User';
13
13
  import { BondBaseEntity } from './BondBaseEntity';
14
+ import { ObfuscatedCustomerDto } from '../customers/dto/customer-response.dto';
14
15
  import { Customer } from './Customer';
15
16
  import { InvoiceNote } from './InvoiceNote';
16
17
  import { InvoiceToPayment } from './InvoiceToPayment';
@@ -57,6 +58,7 @@ export declare class Invoice extends BondBaseEntity {
57
58
  subtotal?: number;
58
59
  subtotalBalance?: number;
59
60
  customer?: Customer;
61
+ obfuscatedCustomer?: ObfuscatedCustomerDto;
60
62
  hasFailedPayments?: boolean;
61
63
  hasFailedInstallments?: boolean;
62
64
  reservations?: Reservation[];
@@ -1 +1 @@
1
- {"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAOlD,MAAa,OAAQ,SAAQ,+BAAc;CAqG1C;AArGD,0BAqGC"}
1
+ {"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CAuG1C;AAvGD,0BAuGC"}
@@ -1 +1,2 @@
1
+ export * from './invoice-visibility.consts';
1
2
  export * from './invoice.consts';
@@ -14,5 +14,6 @@ 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("./invoice-visibility.consts"), exports);
17
18
  __exportStar(require("./invoice.consts"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,mDAAiC"}
@@ -0,0 +1,11 @@
1
+ import { InvoiceViewerRoleEnum, InvoiceVisibilityFieldEnum } from '../enums/invoice-visibility.enums';
2
+ /**
3
+ * Defines which fields are HIDDEN for each role.
4
+ * - Admin has nothing hidden (empty array)
5
+ * - Other customer is most restrictive (fallback)
6
+ *
7
+ * To hide a new field:
8
+ * 1. Add it to InvoiceVisibilityFieldEnum
9
+ * 2. Add it to the roles that should NOT see it below
10
+ */
11
+ export declare const INVOICE_RESTRICT_VISIBILITY_CONFIG: Record<InvoiceViewerRoleEnum, InvoiceVisibilityFieldEnum[]>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.INVOICE_RESTRICT_VISIBILITY_CONFIG = void 0;
4
+ const invoice_visibility_enums_1 = require("../enums/invoice-visibility.enums");
5
+ /**
6
+ * Defines which fields are HIDDEN for each role.
7
+ * - Admin has nothing hidden (empty array)
8
+ * - Other customer is most restrictive (fallback)
9
+ *
10
+ * To hide a new field:
11
+ * 1. Add it to InvoiceVisibilityFieldEnum
12
+ * 2. Add it to the roles that should NOT see it below
13
+ */
14
+ exports.INVOICE_RESTRICT_VISIBILITY_CONFIG = {
15
+ [invoice_visibility_enums_1.InvoiceViewerRoleEnum.ADMIN]: [],
16
+ [invoice_visibility_enums_1.InvoiceViewerRoleEnum.OWNER]: [],
17
+ [invoice_visibility_enums_1.InvoiceViewerRoleEnum.FAMILY_MEMBER]: [],
18
+ [invoice_visibility_enums_1.InvoiceViewerRoleEnum.OTHER_CUSTOMER]: [
19
+ invoice_visibility_enums_1.InvoiceVisibilityFieldEnum.PAYMENTS,
20
+ invoice_visibility_enums_1.InvoiceVisibilityFieldEnum.CUSTOMER_DETAILS,
21
+ invoice_visibility_enums_1.InvoiceVisibilityFieldEnum.SCHEDULED_PAYMENTS,
22
+ ],
23
+ };
24
+ //# sourceMappingURL=invoice-visibility.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice-visibility.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice-visibility.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAsG;AAEtG;;;;;;;;GAQG;AACU,QAAA,kCAAkC,GAAgE;IAC9G,CAAC,gDAAqB,CAAC,KAAK,CAAC,EAAE,EAAE;IACjC,CAAC,gDAAqB,CAAC,KAAK,CAAC,EAAE,EAAE;IACjC,CAAC,gDAAqB,CAAC,aAAa,CAAC,EAAE,EAAE;IACzC,CAAC,gDAAqB,CAAC,cAAc,CAAC,EAAE;QACvC,qDAA0B,CAAC,QAAQ;QACnC,qDAA0B,CAAC,gBAAgB;QAC3C,qDAA0B,CAAC,kBAAkB;KAC7C;CACD,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './invoice-visibility.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("./invoice-visibility.enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Defines the role of the user viewing an invoice.
3
+ * Used to determine what data should be visible to them.
4
+ */
5
+ export declare enum InvoiceViewerRoleEnum {
6
+ ADMIN = "admin",
7
+ OWNER = "owner",
8
+ FAMILY_MEMBER = "familyMember",
9
+ OTHER_CUSTOMER = "other"
10
+ }
11
+ /**
12
+ * Fields that can be hidden based on viewer role.
13
+ * Add new fields here as needed - no refactoring required.
14
+ */
15
+ export declare enum InvoiceVisibilityFieldEnum {
16
+ PAYMENTS = "payments",
17
+ CUSTOMER_DETAILS = "customerDetails",
18
+ SCHEDULED_PAYMENTS = "scheduledPayments"
19
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvoiceVisibilityFieldEnum = exports.InvoiceViewerRoleEnum = void 0;
4
+ /**
5
+ * Defines the role of the user viewing an invoice.
6
+ * Used to determine what data should be visible to them.
7
+ */
8
+ var InvoiceViewerRoleEnum;
9
+ (function (InvoiceViewerRoleEnum) {
10
+ InvoiceViewerRoleEnum["ADMIN"] = "admin";
11
+ InvoiceViewerRoleEnum["OWNER"] = "owner";
12
+ InvoiceViewerRoleEnum["FAMILY_MEMBER"] = "familyMember";
13
+ InvoiceViewerRoleEnum["OTHER_CUSTOMER"] = "other";
14
+ })(InvoiceViewerRoleEnum = exports.InvoiceViewerRoleEnum || (exports.InvoiceViewerRoleEnum = {}));
15
+ /**
16
+ * Fields that can be hidden based on viewer role.
17
+ * Add new fields here as needed - no refactoring required.
18
+ */
19
+ var InvoiceVisibilityFieldEnum;
20
+ (function (InvoiceVisibilityFieldEnum) {
21
+ InvoiceVisibilityFieldEnum["PAYMENTS"] = "payments";
22
+ InvoiceVisibilityFieldEnum["CUSTOMER_DETAILS"] = "customerDetails";
23
+ InvoiceVisibilityFieldEnum["SCHEDULED_PAYMENTS"] = "scheduledPayments";
24
+ })(InvoiceVisibilityFieldEnum = exports.InvoiceVisibilityFieldEnum || (exports.InvoiceVisibilityFieldEnum = {}));
25
+ //# sourceMappingURL=invoice-visibility.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice-visibility.enums.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/enums/invoice-visibility.enums.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,wCAAe,CAAA;IACf,wCAAe,CAAA;IACf,uDAA8B,CAAA;IAC9B,iDAAwB,CAAA;AACzB,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC;AAED;;;GAGG;AACH,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACrC,mDAAqB,CAAA;IACrB,kEAAoC,CAAA;IACpC,sEAAwC,CAAA;AACzC,CAAC,EAJW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAIrC"}
@@ -1,2 +1,3 @@
1
1
  export * from './consts';
2
+ export * from './enums';
2
3
  export * from './interfaces';
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./consts"), exports);
18
+ __exportStar(require("./enums"), exports);
18
19
  __exportStar(require("./interfaces"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
@@ -0,0 +1,10 @@
1
+ import { CompetitionDivision } from '../entities/division.entity';
2
+ import { CompetitionTeam } from '../entities/team.entity';
3
+ export interface ICreateTeamDto {
4
+ divisionId: number;
5
+ folderId: number;
6
+ }
7
+ export interface IAddTeamByFolderIdsResult {
8
+ division: CompetitionDivision;
9
+ team: CompetitionTeam;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=competition-team.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"competition-team.interface.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/competition-team.interface.ts"],"names":[],"mappings":""}
@@ -1,3 +1,7 @@
1
+ export * from './competition-team.interface';
1
2
  export * from './ruleset-defaults.interface';
3
+ export * from './standings.interface';
4
+ export * from './competition-team.interface';
2
5
  export * from './index';
3
6
  export * from './ruleset-defaults.interface';
7
+ export * from './standings.interface';
@@ -14,7 +14,11 @@ 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("./competition-team.interface"), exports);
17
18
  __exportStar(require("./ruleset-defaults.interface"), exports);
19
+ __exportStar(require("./standings.interface"), exports);
20
+ __exportStar(require("./competition-team.interface"), exports);
18
21
  __exportStar(require("./index"), exports);
19
22
  __exportStar(require("./ruleset-defaults.interface"), exports);
23
+ __exportStar(require("./standings.interface"), exports);
20
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,0CAAwB;AACxB,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,+DAA6C;AAC7C,wDAAsC;AACtC,+DAA6C;AAC7C,0CAAwB;AACxB,+DAA6C;AAC7C,wDAAsC"}
@@ -0,0 +1,4 @@
1
+ export interface IStageConfig {
2
+ stageId: number;
3
+ divisionId: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=standings.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standings.interface.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/standings.interface.ts"],"names":[],"mappings":""}
@@ -5,7 +5,6 @@ import { IProductRelatedProgram } from '../../../programs/types/interfaces/progr
5
5
  import { MembershipTypeEnum } from '../../../services/enums.service';
6
6
  import { CreateNoteDto } from '../../dto/payment.dto';
7
7
  import { DiscountOnEnum } from '../enums/discount.enums';
8
- import { Tax } from '../../../taxes/entities/Tax';
9
8
  export interface IRoundingSplit {
10
9
  splitAmount: number;
11
10
  splitsNumber: number;
@@ -67,13 +66,10 @@ export declare class IUserItem {
67
66
  product?: Product;
68
67
  totalQuantity?: number;
69
68
  totalPriceWithoutTax?: number;
70
- subtotal?: number;
71
69
  totalPrice?: number;
72
70
  isTaxInclusive?: boolean;
73
71
  percentage?: number;
74
- tax?: Tax;
75
72
  taxItem?: IUserItem;
76
- taxItems?: IUserItem[];
77
73
  }
78
74
  export interface IFindDiscountsOptions {
79
75
  includeGLCodes?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,+EAA+E;AAE/E,mEAAqE;AAqErE,MAAa,SAAS;CA0BrB;AA1BD,8BA0BC"}
1
+ {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,+EAA+E;AAE/E,mEAAqE;AAoErE,MAAa,SAAS;CAoBrB;AApBD,8BAoBC"}
@@ -1,3 +1,4 @@
1
+ export * from './product-categories.dto';
1
2
  export * from './product-pricing.dto';
2
3
  export * from './product-resource.dto';
3
4
  export * from './product.dto';
@@ -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("./product-categories.dto"), exports);
17
18
  __exportStar(require("./product-pricing.dto"), exports);
18
19
  __exportStar(require("./product-resource.dto"), exports);
19
20
  __exportStar(require("./product.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,yDAAuC;AACvC,gDAA8B;AAC9B,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,gDAA8B;AAC9B,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC"}
@@ -0,0 +1,43 @@
1
+ import { PaginationQuery } from '../../dto/general.dto';
2
+ import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
3
+ import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
4
+ import { OrderByEnum, ProductTypesEnum } from '../../services/enums.service';
5
+ import { CategoryOrderColumnEnum } from '../types/enums/product-categories.enums';
6
+ import { IGetProductCategories } from '../types/interfaces/product-categories.interfaces';
7
+ export declare class UpdateProductCategorySettingsDto<T extends Record<string, unknown> = ISettings> {
8
+ settings?: T;
9
+ }
10
+ export declare class UpdateProductCategoryBaseDto {
11
+ name: string;
12
+ description?: string;
13
+ }
14
+ export declare class CreateProductCategoryDto<T extends Record<string, unknown> = ISettings> extends UpdateProductCategoryBaseDto {
15
+ settings?: T;
16
+ productType: ProductTypesEnum;
17
+ productsIds?: number[];
18
+ }
19
+ export declare class UpdateProductCategoryDto<T extends Record<string, unknown> = ISettings> extends UpdateProductCategoryBaseDto {
20
+ settings?: T;
21
+ productsIds?: number[];
22
+ }
23
+ export declare class ProductCategoryDto<T extends Record<string, unknown> = ISettings> extends OrganizationBaseEntityDto {
24
+ name?: string;
25
+ description?: string;
26
+ productType: ProductTypesEnum;
27
+ settings?: T;
28
+ productsCount?: number;
29
+ }
30
+ export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
31
+ order?: OrderByEnum;
32
+ orderBy?: CategoryOrderColumnEnum;
33
+ search?: string;
34
+ categoriesIds?: number[];
35
+ vipEnabled?: boolean;
36
+ approvalRequired?: boolean;
37
+ }
38
+ export declare class ByOrganizationAndCategoryIdDto extends ByOrganizationIdDto {
39
+ categoryId: number;
40
+ }
41
+ export declare class IncludeProductsCountDto {
42
+ includeProductsCount?: boolean;
43
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
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;
4
+ const general_dto_1 = require("../../dto/general.dto");
5
+ const organization_dto_1 = require("../../organization/dto/organization.dto");
6
+ class UpdateProductCategorySettingsDto {
7
+ }
8
+ exports.UpdateProductCategorySettingsDto = UpdateProductCategorySettingsDto;
9
+ class UpdateProductCategoryBaseDto {
10
+ }
11
+ exports.UpdateProductCategoryBaseDto = UpdateProductCategoryBaseDto;
12
+ class CreateProductCategoryDto extends UpdateProductCategoryBaseDto {
13
+ }
14
+ exports.CreateProductCategoryDto = CreateProductCategoryDto;
15
+ class UpdateProductCategoryDto extends UpdateProductCategoryBaseDto {
16
+ }
17
+ exports.UpdateProductCategoryDto = UpdateProductCategoryDto;
18
+ class ProductCategoryDto extends organization_dto_1.OrganizationBaseEntityDto {
19
+ }
20
+ exports.ProductCategoryDto = ProductCategoryDto;
21
+ class GetProductCategoriesDto extends general_dto_1.PaginationQuery {
22
+ }
23
+ exports.GetProductCategoriesDto = GetProductCategoriesDto;
24
+ class ByOrganizationAndCategoryIdDto extends organization_dto_1.ByOrganizationIdDto {
25
+ }
26
+ exports.ByOrganizationAndCategoryIdDto = ByOrganizationAndCategoryIdDto;
27
+ class IncludeProductsCountDto {
28
+ }
29
+ exports.IncludeProductsCountDto = IncludeProductsCountDto;
30
+ //# sourceMappingURL=product-categories.dto.js.map
@@ -0,0 +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;CAY3D;AAZD,0DAYC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
@@ -79,6 +79,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
79
79
  includeProductResources?: boolean;
80
80
  includeFacilities?: boolean;
81
81
  includeGlCodes?: boolean;
82
+ includeProductCategories?: boolean;
82
83
  includeArchived?: boolean;
83
84
  includeCurrentPrice?: boolean;
84
85
  includePricesSchedule?: boolean;
@@ -103,6 +104,8 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
103
104
  punchPassOnly?: boolean;
104
105
  includePaymentPlan?: boolean;
105
106
  includeResourceSettings?: boolean;
107
+ productCategoryId?: number;
108
+ includeOnlyNotAssignedToCategory?: boolean;
106
109
  }
107
110
  export declare class GetPunchPassProductsByTypeQueryDto extends PaginationQuery implements IGetPunchPassProductsOptions {
108
111
  search?: string;
@@ -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;CAE9C;AAFD,gFAEC;AAED,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;CA0D7D;AA1DD,8DA0DC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAoBtE;AApBD,gFAoBC"}
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;CAE9C;AAFD,gFAEC;AAED,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;CAgE7D;AAhED,8DAgEC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAoBtE;AApBD,gFAoBC"}