@bondsports/types 2.4.38-a-2 → 2.4.39

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 (93) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/dto/general.dto.d.ts +1 -1
  3. package/dist/types/entity/Facility.d.ts +0 -4
  4. package/dist/types/entity/Facility.js.map +1 -1
  5. package/dist/types/entity/Invoice.d.ts +0 -1
  6. package/dist/types/entity/Invoice.js.map +1 -1
  7. package/dist/types/facilities/types/facilities.types.d.ts +1 -20
  8. package/dist/types/fee/dto/fee.dto.d.ts +4 -7
  9. package/dist/types/fee/dto/fee.dto.js +0 -11
  10. package/dist/types/fee/dto/fee.dto.js.map +1 -1
  11. package/dist/types/fee/entities/Fee.d.ts +2 -3
  12. package/dist/types/fee/entities/Fee.js.map +1 -1
  13. package/dist/types/fee/types/index.d.ts +0 -1
  14. package/dist/types/fee/types/index.js +0 -1
  15. package/dist/types/fee/types/index.js.map +1 -1
  16. package/dist/types/fee/types/interfaces/fee.interfaces.d.ts +0 -1
  17. package/dist/types/fee/types/interfaces/fee.interfaces.js.map +1 -1
  18. package/dist/types/folders/types/interfaces/folder-content.interfaces.d.ts +8 -0
  19. package/dist/types/index.d.ts +1 -1
  20. package/dist/types/index.js +1 -1
  21. package/dist/types/index.js.map +1 -1
  22. package/dist/types/league-standings/dto/game.dto.d.ts +2 -2
  23. package/dist/types/league-standings/entities/game.entity.d.ts +4 -4
  24. package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.d.ts +43 -3
  25. package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.js +28 -1
  26. package/dist/types/leagues-scheduler/dto/leagues-scheduler.dto.js.map +1 -1
  27. package/dist/types/leagues-scheduler/types/interfaces.d.ts +54 -1
  28. package/dist/types/leagues-scheduler/types/interfaces.js +6 -1
  29. package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
  30. package/dist/types/payment/dto/payment.dto.d.ts +0 -1
  31. package/dist/types/payment/dto/payment.dto.js.map +1 -1
  32. package/dist/types/payment/entities/Payment.d.ts +0 -1
  33. package/dist/types/payment/entities/Payment.js.map +1 -1
  34. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
  35. package/dist/types/public-api/dto/UsagePlanDto.d.ts +4 -0
  36. package/dist/types/public-api/dto/UsagePlanDto.js +11 -0
  37. package/dist/types/public-api/dto/UsagePlanDto.js.map +1 -0
  38. package/dist/types/public-api/dto/index.d.ts +1 -0
  39. package/dist/types/{tip-configurations/entities → public-api/dto}/index.js +1 -1
  40. package/dist/types/public-api/dto/index.js.map +1 -0
  41. package/dist/types/{tip-configurations → public-api}/index.d.ts +0 -1
  42. package/dist/types/{tip-configurations → public-api}/index.js +0 -1
  43. package/dist/types/public-api/index.js.map +1 -0
  44. package/dist/types/public-api/types/enums.d.ts +5 -0
  45. package/dist/types/public-api/types/enums.js +10 -0
  46. package/dist/types/public-api/types/enums.js.map +1 -0
  47. package/dist/types/public-api/types/index.d.ts +1 -0
  48. package/dist/types/{fee/types/enums → public-api/types}/index.js +1 -1
  49. package/dist/types/public-api/types/index.js.map +1 -0
  50. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -2
  51. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  52. package/dist/types/services/interfaces.service.d.ts +15 -0
  53. package/dist/types/session-participants/types/interfaces.d.ts +2 -2
  54. package/package.json +2 -2
  55. package/LICENSE.md +0 -0
  56. package/dist/types/fee/types/enums/fee.enums.d.ts +0 -5
  57. package/dist/types/fee/types/enums/fee.enums.js +0 -10
  58. package/dist/types/fee/types/enums/fee.enums.js.map +0 -1
  59. package/dist/types/fee/types/enums/index.d.ts +0 -1
  60. package/dist/types/fee/types/enums/index.js.map +0 -1
  61. package/dist/types/tip-configurations/dto/index.d.ts +0 -1
  62. package/dist/types/tip-configurations/dto/index.js +0 -18
  63. package/dist/types/tip-configurations/dto/index.js.map +0 -1
  64. package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +0 -43
  65. package/dist/types/tip-configurations/dto/tip-configuration.dto.js +0 -37
  66. package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +0 -1
  67. package/dist/types/tip-configurations/entities/TipConfiguration.d.ts +0 -11
  68. package/dist/types/tip-configurations/entities/TipConfiguration.js +0 -8
  69. package/dist/types/tip-configurations/entities/TipConfiguration.js.map +0 -1
  70. package/dist/types/tip-configurations/entities/index.d.ts +0 -1
  71. package/dist/types/tip-configurations/entities/index.js.map +0 -1
  72. package/dist/types/tip-configurations/index.js.map +0 -1
  73. package/dist/types/tip-configurations/types/consts/index.d.ts +0 -1
  74. package/dist/types/tip-configurations/types/consts/index.js +0 -18
  75. package/dist/types/tip-configurations/types/consts/index.js.map +0 -1
  76. package/dist/types/tip-configurations/types/consts/tip-configuration.consts.d.ts +0 -4
  77. package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js +0 -7
  78. package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js.map +0 -1
  79. package/dist/types/tip-configurations/types/enums/index.d.ts +0 -1
  80. package/dist/types/tip-configurations/types/enums/index.js +0 -18
  81. package/dist/types/tip-configurations/types/enums/index.js.map +0 -1
  82. package/dist/types/tip-configurations/types/enums/tipping-mode.enum.d.ts +0 -9
  83. package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js +0 -15
  84. package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js.map +0 -1
  85. package/dist/types/tip-configurations/types/index.d.ts +0 -3
  86. package/dist/types/tip-configurations/types/index.js +0 -20
  87. package/dist/types/tip-configurations/types/index.js.map +0 -1
  88. package/dist/types/tip-configurations/types/interfaces/index.d.ts +0 -1
  89. package/dist/types/tip-configurations/types/interfaces/index.js +0 -18
  90. package/dist/types/tip-configurations/types/interfaces/index.js.map +0 -1
  91. package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +0 -39
  92. package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js +0 -3
  93. package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js.map +0 -1
@@ -81,7 +81,7 @@ export declare class GenericResponseDto<T = any, E = string> {
81
81
  message?: E;
82
82
  }
83
83
  export declare class CronQueryParamsDto {
84
- dontWait?: boolean;
84
+ dontWait: boolean;
85
85
  }
86
86
  export declare class IncludeAdditionalDataDto {
87
87
  includeAdditionalData?: boolean;
@@ -3,7 +3,6 @@ import { Media } from '../media/entities/Media';
3
3
  import { Product } from '../product-pricing/entities/product.entity';
4
4
  import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
5
5
  import { Resource } from '../resources/entities/Resource';
6
- import { TipConfiguration } from '../tip-configurations/entities/TipConfiguration';
7
6
  import { OpeningTime } from './OpeningTime';
8
7
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
9
8
  export declare class Facility extends OrganizationConnectionBaseEntity {
@@ -31,8 +30,5 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
31
30
  ordinal: number;
32
31
  locationId?: string;
33
32
  linkSEO: string;
34
- tipConfigId: number;
35
- tipConfiguration?: TipConfiguration;
36
- stripeConfigurationId?: string;
37
33
  products: Product[];
38
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAqBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAyD7D;AAzDD,4BAyDC"}
1
+ {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAmBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAmD7D;AAnDD,4BAmDC"}
@@ -53,7 +53,6 @@ export declare class Invoice extends BondBaseEntity {
53
53
  installments?: FutureInstallment[];
54
54
  itemsAmount?: number;
55
55
  totalFeesAmount?: number;
56
- totalTipsAmount?: number;
57
56
  discountAmount?: number;
58
57
  discountSubtotal?: number;
59
58
  subtotal?: number;
@@ -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;CAuG1C;AAvGD,0BAuGC"}
@@ -1,23 +1,4 @@
1
- import { IAddressMandatoryFields } from '../../address/types/address.interfaces';
2
- export interface IUpdateFacilityDetails {
3
- stripeConfigurationId?: string | null;
4
- tipConfigId?: number | null;
5
- address?: IAddressMandatoryFields;
6
- description?: string;
7
- info?: string;
8
- longDescription?: string;
9
- name?: string;
10
- timezone?: string;
11
- }
12
- export interface IFacilityNameAndCoordinates {
1
+ export interface FacilityNameAndCoordinates {
13
2
  coordinates: number[];
14
3
  facilityName: string;
15
4
  }
16
- export type FacilityRelation = 'address' | 'mainMedia' | 'openingTimes' | 'spaces' | 'resources' | 'programSeasons' | 'tipConfiguration' | 'products';
17
- export interface IGetOrganizationFacilitiesOptions {
18
- facilityIds?: number[];
19
- hasLocation?: boolean;
20
- hasStripeConfig?: boolean;
21
- isTipConfigured?: boolean;
22
- relations?: FacilityRelation[];
23
- }
@@ -1,20 +1,17 @@
1
1
  import { Organization } from '../../organization/entities/Organization';
2
2
  import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
3
3
  import { ActivityEnum, PlatformsEnum } from '../../services/enums.service';
4
- import { FeeTypeEnum } from '../types/enums/fee.enums';
5
4
  export declare class FindFeesFiltersDto {
6
5
  platforms?: PlatformsEnum[];
7
6
  paymentMethodTypes?: PaymentMethodTypeEnum[];
8
7
  subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
9
- types?: FeeTypeEnum[];
10
8
  includeInactive?: boolean;
11
9
  isBondFee?: boolean;
12
10
  }
13
11
  export declare class FeeFiltersFieldsDto {
14
12
  platform: PlatformsEnum;
15
- paymentMethodType?: PaymentMethodTypeEnum;
13
+ paymentMethodType: PaymentMethodTypeEnum;
16
14
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
17
- type?: FeeTypeEnum;
18
15
  }
19
16
  export declare class FindFeeFiltersDto extends FeeFiltersFieldsDto {
20
17
  isBondFee?: boolean;
@@ -40,14 +37,14 @@ export declare class FeeFieldsDto {
40
37
  name: string;
41
38
  glCode?: string;
42
39
  platform: PlatformsEnum;
43
- paymentMethodType?: PaymentMethodTypeEnum;
40
+ paymentMethodType: PaymentMethodTypeEnum;
44
41
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
45
42
  max?: number;
46
43
  }
47
44
  export declare class CreateFeeDto extends FeeFieldsDto {
48
45
  organizationId?: number;
49
46
  status?: ActivityEnum;
50
- type?: FeeTypeEnum;
47
+ isBondFee?: boolean;
51
48
  percentageValue?: number;
52
49
  fixValue?: number;
53
50
  min?: number;
@@ -56,7 +53,7 @@ export declare class FeeDto extends FeeFieldsDto {
56
53
  id: number;
57
54
  organizationId: number;
58
55
  status: ActivityEnum;
59
- type: FeeTypeEnum;
56
+ isBondFee: boolean;
60
57
  percentageValue: number;
61
58
  fixValue: number;
62
59
  min: number;
@@ -1,17 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateFeesDto = exports.CreateFeesDto = exports.FeeDto = exports.CreateFeeDto = exports.FeeFieldsDto = exports.UpdateFeeDto = exports.FeesIdsDto = exports.CalculateFeesDto = exports.CalculateFeeDto = exports.FindFeeFiltersDto = exports.FeeFiltersFieldsDto = exports.FindFeesFiltersDto = void 0;
4
- const fee_enums_1 = require("../types/enums/fee.enums");
5
4
  class FindFeesFiltersDto {
6
- constructor() {
7
- this.types = [fee_enums_1.FeeTypeEnum.TRANSACTION];
8
- }
9
5
  }
10
6
  exports.FindFeesFiltersDto = FindFeesFiltersDto;
11
7
  class FeeFiltersFieldsDto {
12
- constructor() {
13
- this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
14
- }
15
8
  }
16
9
  exports.FeeFiltersFieldsDto = FeeFiltersFieldsDto;
17
10
  class FindFeeFiltersDto extends FeeFiltersFieldsDto {
@@ -33,10 +26,6 @@ class FeeFieldsDto {
33
26
  }
34
27
  exports.FeeFieldsDto = FeeFieldsDto;
35
28
  class CreateFeeDto extends FeeFieldsDto {
36
- constructor() {
37
- super(...arguments);
38
- this.type = fee_enums_1.FeeTypeEnum.TRANSACTION;
39
- }
40
29
  }
41
30
  exports.CreateFeeDto = CreateFeeDto;
42
31
  class FeeDto extends FeeFieldsDto {
@@ -1 +1 @@
1
- {"version":3,"file":"fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/fee.dto.ts"],"names":[],"mappings":";;;AAIA,wDAAuD;AAEvD,MAAa,kBAAkB;IAA/B;QAOC,UAAK,GAAmB,CAAC,uBAAW,CAAC,WAAW,CAAC,CAAC;IAKnD,CAAC;CAAA;AAZD,gDAYC;AAED,MAAa,mBAAmB;IAAhC;QAOC,SAAI,GAAiB,uBAAW,CAAC,WAAW,CAAC;IAC9C,CAAC;CAAA;AARD,kDAQC;AAED,MAAa,iBAAkB,SAAQ,mBAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAEvD;AAFD,0CAEC;AAED,MAAa,gBAAiB,SAAQ,mBAAmB;CAMxD;AAND,4CAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,YAAY;CAYxB;AAZD,oCAYC;AAED,MAAa,YAAa,SAAQ,YAAY;IAA9C;;QAKC,SAAI,GAAiB,uBAAW,CAAC,WAAW,CAAC;IAO9C,CAAC;CAAA;AAZD,oCAYC;AAED,MAAa,MAAO,SAAQ,YAAY;CAgBvC;AAhBD,wBAgBC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
1
+ {"version":3,"file":"fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/fee.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,mBAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAEvD;AAFD,0CAEC;AAED,MAAa,gBAAiB,SAAQ,mBAAmB;CAMxD;AAND,4CAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,YAAY;CAYxB;AAZD,oCAYC;AAED,MAAa,YAAa,SAAQ,YAAY;CAY7C;AAZD,oCAYC;AAED,MAAa,MAAO,SAAQ,YAAY;CAgBvC;AAhBD,wBAgBC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
@@ -2,16 +2,15 @@ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConne
2
2
  import { Organization } from '../../organization/entities/Organization';
3
3
  import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
4
4
  import { ActivityEnum, PlatformsEnum } from '../../services/enums.service';
5
- import { FeeTypeEnum } from '../types/enums/fee.enums';
6
5
  export declare class Fee extends OrganizationConnectionBaseEntity {
7
6
  deletedAt?: Date;
8
- type: FeeTypeEnum;
9
7
  name: string;
10
8
  glCode?: string;
11
9
  status: ActivityEnum;
12
10
  platform: PlatformsEnum;
13
- paymentMethodType?: PaymentMethodTypeEnum;
11
+ paymentMethodType: PaymentMethodTypeEnum;
14
12
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
13
+ isBondFee: boolean;
15
14
  percentageValue: number;
16
15
  fixValue: number;
17
16
  min: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Fee.js","sourceRoot":"","sources":["../../../../src/types/fee/entities/Fee.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,GAAI,SAAQ,mEAAgC;CA0BxD;AA1BD,kBA0BC"}
1
+ {"version":3,"file":"Fee.js","sourceRoot":"","sources":["../../../../src/types/fee/entities/Fee.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,GAAI,SAAQ,mEAAgC;CA0BxD;AA1BD,kBA0BC"}
@@ -1,3 +1,2 @@
1
1
  export * from './consts';
2
- export * from './enums';
3
2
  export * from './interfaces';
@@ -15,6 +15,5 @@ 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);
19
18
  __exportStar(require("./interfaces"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B"}
@@ -12,7 +12,6 @@ export interface PaymentFeesResult {
12
12
  export interface SetFeesForPaymentFeesResult {
13
13
  paymentFees: PaymentFee[];
14
14
  totalFeesAmount: number;
15
- totalTipsAmount: number;
16
15
  }
17
16
  export declare class CalculateFeeResult {
18
17
  amount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"fee.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/interfaces/fee.interfaces.ts"],"names":[],"mappings":";;;AAqBA,MAAa,kBAAkB;CAQ9B;AARD,gDAQC"}
1
+ {"version":3,"file":"fee.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/fee/types/interfaces/fee.interfaces.ts"],"names":[],"mappings":";;;AAoBA,MAAa,kBAAkB;CAQ9B;AARD,gDAQC"}
@@ -34,3 +34,11 @@ export interface IGetFolderContentsParams {
34
34
  export interface IGetPaginatedFolderContentsParams extends IGetFolderContentsParams {
35
35
  pagination?: PaginationQuery;
36
36
  }
37
+ /**
38
+ * Metadata structure for team folder content (ContentType.USER in team folders).
39
+ * Used to track the specific purchase associated with a user's team membership.
40
+ */
41
+ export interface ITeamFolderMetadata {
42
+ teamRole?: string;
43
+ productUserId?: number;
44
+ }
@@ -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';
@@ -54,7 +55,6 @@ export * from './shifts';
54
55
  export * from './standings-integration';
55
56
  export * from './taxes';
56
57
  export * from './teams';
57
- export * from './tip-configurations';
58
58
  export * from './user';
59
59
  export * from './user-activities';
60
60
  export * from './user-identification';
@@ -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);
@@ -70,7 +71,6 @@ __exportStar(require("./shifts"), exports);
70
71
  __exportStar(require("./standings-integration"), exports);
71
72
  __exportStar(require("./taxes"), exports);
72
73
  __exportStar(require("./teams"), exports);
73
- __exportStar(require("./tip-configurations"), exports);
74
74
  __exportStar(require("./user"), exports);
75
75
  __exportStar(require("./user-activities"), exports);
76
76
  __exportStar(require("./user-identification"), 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,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
@@ -31,8 +31,8 @@ export declare class UpdateGameDto {
31
31
  export declare class GameShowDto {
32
32
  id: number;
33
33
  stageId: number;
34
- homeTeamId: number;
35
- awayTeamId: number;
34
+ homeTeamId?: number;
35
+ awayTeamId?: number;
36
36
  eventId?: number;
37
37
  homeScore?: number;
38
38
  awayScore?: number;
@@ -6,10 +6,10 @@ export declare class Game extends BondBaseEntity {
6
6
  stageId: number;
7
7
  stage: Stage;
8
8
  eventId?: number;
9
- homeTeamId: number;
10
- homeTeam: CompetitionTeam;
11
- awayTeamId: number;
12
- awayTeam: CompetitionTeam;
9
+ homeTeamId?: number;
10
+ homeTeam?: CompetitionTeam;
11
+ awayTeamId?: number;
12
+ awayTeam?: CompetitionTeam;
13
13
  homeScore?: number;
14
14
  awayScore?: number;
15
15
  status: GameStatusEnum;
@@ -1,6 +1,7 @@
1
- import { IScheduleConfig, IGameSchedule, ITeamSchedule, IDivisionSchedule, IScheduleConflict, IConflictingEvent, IConflictingResource, IGeneratedSchedule, ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum } from '../types/interfaces';
1
+ import { IScheduleConfig, IGameSchedule, ITeamSchedule, IDivisionSchedule, IScheduleConflict, IConflictingEvent, IConflictingResource, IGeneratedSchedule, ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum, InternalConflictTypeEnum } from '../types/interfaces';
2
2
  import { MaintenanceEventDto } from './maintenance-event.dto';
3
- export { ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum } from '../types/interfaces';
3
+ import { ScheduleQualityScoreDto } from './quality-metrics.dto';
4
+ export { ByeWeekPolicyEnum, ScheduleConflictTypeEnum, ValidationSeverityEnum, InternalConflictTypeEnum, } from '../types/interfaces';
4
5
  export { MaintenanceEventDto } from './maintenance-event.dto';
5
6
  /**
6
7
  * Query parameters for deleting a draft schedule
@@ -257,10 +258,49 @@ export declare class UpdateDraftScheduleResponseDto {
257
258
  schedule: GeneratedScheduleDto;
258
259
  status?: string;
259
260
  publishedAt?: string;
260
- qualityMetrics?: any;
261
+ qualityMetrics?: ScheduleQualityScoreDto;
261
262
  metadata: {
262
263
  updatedAt: string;
263
264
  totalGames: number;
264
265
  previousVersion?: number;
265
266
  };
266
267
  }
268
+ /**
269
+ * Request DTO for checking schedule conflicts
270
+ * Accepts a schedule and checks for both internal conflicts (within the schedule)
271
+ * and external conflicts (against other existing events)
272
+ */
273
+ export declare class CheckConflictsRequestDto {
274
+ seasonFolderId: number;
275
+ schedule: GeneratedScheduleDto;
276
+ }
277
+ /**
278
+ * Internal conflict DTO for conflicts within the schedule itself
279
+ */
280
+ export declare class InternalConflictDto {
281
+ type: InternalConflictTypeEnum;
282
+ gameId1: string;
283
+ gameId2: string;
284
+ resourceId?: number;
285
+ teamId?: number;
286
+ date: string;
287
+ description: string;
288
+ }
289
+ /**
290
+ * Metadata DTO for conflict check results
291
+ */
292
+ export declare class ConflictCheckMetadataDto {
293
+ checkedAt: string;
294
+ totalGamesChecked: number;
295
+ internalConflictCount: number;
296
+ externalConflictCount: number;
297
+ }
298
+ /**
299
+ * Response DTO for check conflicts endpoint
300
+ */
301
+ export declare class CheckConflictsResponseDto {
302
+ internalConflicts: InternalConflictDto[];
303
+ externalConflicts: ScheduleConflictDto[];
304
+ totalConflicts: number;
305
+ metadata: ConflictCheckMetadataDto;
306
+ }
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateDraftScheduleResponseDto = exports.UpdateDraftScheduleRequestDto = exports.GetScheduleResponseDto = exports.ScheduleConfigResponseDto = exports.ScheduleConfigRequestDto = exports.PublishScheduleResponseDto = exports.PublishMetadataDto = exports.PublishedSlotDetailsDto = exports.PublishedEventDetailsDto = exports.PublishScheduleRequestDto = exports.GenerateScheduleResponseDto = exports.GenerateScheduleRequestDto = exports.GeneratedScheduleDto = exports.ScheduleConflictDto = exports.ConflictingResourceDto = exports.ConflictingEventDto = exports.DivisionScheduleDto = exports.TeamScheduleDto = exports.GameScheduleDto = exports.ScheduleConfigDto = exports.TimeWindowDto = exports.DeleteDraftScheduleResponseDto = exports.DeleteDraftScheduleQueryDto = exports.MaintenanceEventDto = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = void 0;
3
+ exports.CheckConflictsResponseDto = exports.ConflictCheckMetadataDto = exports.InternalConflictDto = exports.CheckConflictsRequestDto = exports.UpdateDraftScheduleResponseDto = exports.UpdateDraftScheduleRequestDto = exports.GetScheduleResponseDto = exports.ScheduleConfigResponseDto = exports.ScheduleConfigRequestDto = exports.PublishScheduleResponseDto = exports.PublishMetadataDto = exports.PublishedSlotDetailsDto = exports.PublishedEventDetailsDto = exports.PublishScheduleRequestDto = exports.GenerateScheduleResponseDto = exports.GenerateScheduleRequestDto = exports.GeneratedScheduleDto = exports.ScheduleConflictDto = exports.ConflictingResourceDto = exports.ConflictingEventDto = exports.DivisionScheduleDto = exports.TeamScheduleDto = exports.GameScheduleDto = exports.ScheduleConfigDto = exports.TimeWindowDto = exports.DeleteDraftScheduleResponseDto = exports.DeleteDraftScheduleQueryDto = exports.MaintenanceEventDto = exports.InternalConflictTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = void 0;
4
4
  // Re-export enums for backward compatibility
5
5
  var interfaces_1 = require("../types/interfaces");
6
6
  Object.defineProperty(exports, "ByeWeekPolicyEnum", { enumerable: true, get: function () { return interfaces_1.ByeWeekPolicyEnum; } });
7
7
  Object.defineProperty(exports, "ScheduleConflictTypeEnum", { enumerable: true, get: function () { return interfaces_1.ScheduleConflictTypeEnum; } });
8
8
  Object.defineProperty(exports, "ValidationSeverityEnum", { enumerable: true, get: function () { return interfaces_1.ValidationSeverityEnum; } });
9
+ Object.defineProperty(exports, "InternalConflictTypeEnum", { enumerable: true, get: function () { return interfaces_1.InternalConflictTypeEnum; } });
9
10
  // Re-export MaintenanceEventDto for backward compatibility
10
11
  var maintenance_event_dto_1 = require("./maintenance-event.dto");
11
12
  Object.defineProperty(exports, "MaintenanceEventDto", { enumerable: true, get: function () { return maintenance_event_dto_1.MaintenanceEventDto; } });
@@ -148,4 +149,30 @@ exports.UpdateDraftScheduleRequestDto = UpdateDraftScheduleRequestDto;
148
149
  class UpdateDraftScheduleResponseDto {
149
150
  }
150
151
  exports.UpdateDraftScheduleResponseDto = UpdateDraftScheduleResponseDto;
152
+ /**
153
+ * Request DTO for checking schedule conflicts
154
+ * Accepts a schedule and checks for both internal conflicts (within the schedule)
155
+ * and external conflicts (against other existing events)
156
+ */
157
+ class CheckConflictsRequestDto {
158
+ }
159
+ exports.CheckConflictsRequestDto = CheckConflictsRequestDto;
160
+ /**
161
+ * Internal conflict DTO for conflicts within the schedule itself
162
+ */
163
+ class InternalConflictDto {
164
+ }
165
+ exports.InternalConflictDto = InternalConflictDto;
166
+ /**
167
+ * Metadata DTO for conflict check results
168
+ */
169
+ class ConflictCheckMetadataDto {
170
+ }
171
+ exports.ConflictCheckMetadataDto = ConflictCheckMetadataDto;
172
+ /**
173
+ * Response DTO for check conflicts endpoint
174
+ */
175
+ class CheckConflictsResponseDto {
176
+ }
177
+ exports.CheckConflictsResponseDto = CheckConflictsResponseDto;
151
178
  //# sourceMappingURL=leagues-scheduler.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;AAiBA,6CAA6C;AAC7C,kDAA0G;AAAjG,+GAAA,iBAAiB,OAAA;AAAE,sHAAA,wBAAwB,OAAA;AAAE,oHAAA,sBAAsB,OAAA;AAE5E,2DAA2D;AAC3D,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA;AAE5B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;GAEG;AACH,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED;;GAEG;AACH,MAAa,8BAA8B;CAM1C;AAND,wEAMC;AAED,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;GAGG;AACH,MAAa,aAAa;CAUzB;AAVD,sCAUC;AAED;;;GAGG;AACH,MAAa,iBAAiB;CAkC7B;AAlCD,8CAkCC;AAED,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;;GAGG;AACH,MAAa,eAAe;CAsC3B;AAtCD,0CAsCC;AAED;;;GAGG;AACH,MAAa,eAAe;CAY3B;AAZD,0CAYC;AAED;;;GAGG;AACH,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED;;GAEG;AACH,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED;;GAEG;AACH,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED;;;GAGG;AACH,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED;;;GAGG;AACH,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,wBAAwB;AACxB,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,2BAA2B;CAwBvC;AAxBD,kEAwBC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED;;;GAGG;AACH,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED;;;GAGG;AACH,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED;;;GAGG;AACH,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,0BAA0B;CAoBtC;AApBD,gEAoBC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAED;;;GAGG;AACH,MAAa,6BAA6B;CAMzC;AAND,sEAMC;AAED;;;GAGG;AACH,MAAa,8BAA8B;CAkB1C;AAlBD,wEAkBC"}
1
+ {"version":3,"file":"leagues-scheduler.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/leagues-scheduler.dto.ts"],"names":[],"mappings":";;;AAmBA,6CAA6C;AAC7C,kDAK6B;AAJ5B,+GAAA,iBAAiB,OAAA;AACjB,sHAAA,wBAAwB,OAAA;AACxB,oHAAA,sBAAsB,OAAA;AACtB,sHAAA,wBAAwB,OAAA;AAGzB,2DAA2D;AAC3D,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA;AAE5B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;GAEG;AACH,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED;;GAEG;AACH,MAAa,8BAA8B;C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BAAmB;CAc/B;AAdD,kDAcC;AAED;;GAEG;AACH,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAQrC;AARD,8DAQC"}
@@ -98,9 +98,9 @@ export interface IConflictingResource {
98
98
  name: string;
99
99
  }
100
100
  export interface IScheduleConflict {
101
+ gameId: string;
101
102
  type: ScheduleConflictTypeEnum;
102
103
  severity: ValidationSeverityEnum;
103
- gameId: string;
104
104
  conflictingEvent?: IConflictingEvent;
105
105
  resource?: IConflictingResource;
106
106
  startDate?: string;
@@ -294,3 +294,56 @@ export interface IRoundRobinStats {
294
294
  export interface IScheduleCacheInvalidator {
295
295
  invalidateOne: (id: number) => Promise<void>;
296
296
  }
297
+ export declare enum InternalConflictTypeEnum {
298
+ RESOURCE_OVERLAP = "resource_overlap",
299
+ TEAM_DOUBLE_BOOKING = "team_double_booking"
300
+ }
301
+ export interface IInternalConflict {
302
+ gameId1: string;
303
+ gameId2: string;
304
+ resourceId?: number;
305
+ teamId?: number;
306
+ type: InternalConflictTypeEnum;
307
+ date: string;
308
+ description: string;
309
+ }
310
+ export interface IResourceConflictSlot {
311
+ event?: {
312
+ id: number;
313
+ title?: string;
314
+ };
315
+ space?: {
316
+ id: number;
317
+ name?: string;
318
+ };
319
+ startTime?: string;
320
+ endTime?: string;
321
+ }
322
+ export interface IMapResourceConflictsParams {
323
+ gameId: string;
324
+ slots: IResourceConflictSlot[];
325
+ date: string;
326
+ startTime: string;
327
+ endTime: string;
328
+ }
329
+ export interface IFindTeamOverlapsParams {
330
+ teamId: number;
331
+ teamGames: IGameSchedule[];
332
+ date: string;
333
+ reportedConflicts: Set<string>;
334
+ }
335
+ export interface IValidateWindowTimesParams {
336
+ window: ITimeWindow;
337
+ windowIndex: number;
338
+ timeRegex: RegExp;
339
+ }
340
+ export interface IWeeklyCapacityInfo {
341
+ maxCapacityPerWeek: number;
342
+ slotsPerDay: number;
343
+ preferredDays: number[];
344
+ numResources: number;
345
+ }
346
+ export interface ICheckConflictsResult {
347
+ internalConflicts: IInternalConflict[];
348
+ externalConflicts: IScheduleConflict[];
349
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVENT_SUBTYPE_GAME = exports.GameTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = exports.ScheduleStatusEnum = void 0;
3
+ exports.InternalConflictTypeEnum = exports.EVENT_SUBTYPE_GAME = exports.GameTypeEnum = exports.ValidationSeverityEnum = exports.ScheduleConflictTypeEnum = exports.ByeWeekPolicyEnum = exports.ScheduleStatusEnum = void 0;
4
4
  const enums_1 = require("./enums");
5
5
  Object.defineProperty(exports, "ScheduleStatusEnum", { enumerable: true, get: function () { return enums_1.ScheduleStatusEnum; } });
6
6
  Object.defineProperty(exports, "ByeWeekPolicyEnum", { enumerable: true, get: function () { return enums_1.ByeWeekPolicyEnum; } });
@@ -9,4 +9,9 @@ Object.defineProperty(exports, "ValidationSeverityEnum", { enumerable: true, get
9
9
  Object.defineProperty(exports, "GameTypeEnum", { enumerable: true, get: function () { return enums_1.GameTypeEnum; } });
10
10
  // Event subtype constants for leagues scheduler
11
11
  exports.EVENT_SUBTYPE_GAME = 'game';
12
+ var InternalConflictTypeEnum;
13
+ (function (InternalConflictTypeEnum) {
14
+ InternalConflictTypeEnum["RESOURCE_OVERLAP"] = "resource_overlap";
15
+ InternalConflictTypeEnum["TEAM_DOUBLE_BOOKING"] = "team_double_booking";
16
+ })(InternalConflictTypeEnum = exports.InternalConflictTypeEnum || (exports.InternalConflictTypeEnum = {}));
12
17
  //# sourceMappingURL=interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAMiB;AAER,mGAPR,0BAAkB,OAOQ;AAAE,kGAN5B,yBAAiB,OAM4B;AAAE,yGAL/C,gCAAwB,OAK+C;AAAE,uGAJzE,8BAAsB,OAIyE;AAAE,6FAHjG,oBAAY,OAGiG;AAE9G,gDAAgD;AACnC,QAAA,kBAAkB,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAMiB;AAER,mGAPR,0BAAkB,OAOQ;AAAE,kGAN5B,yBAAiB,OAM4B;AAAE,yGAL/C,gCAAwB,OAK+C;AAAE,uGAJzE,8BAAsB,OAIyE;AAAE,6FAHjG,oBAAY,OAGiG;AAE9G,gDAAgD;AACnC,QAAA,kBAAkB,GAAG,MAAM,CAAC;AA2UzC,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
@@ -188,7 +188,6 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
188
188
  invoices: Invoice[];
189
189
  installments?: FutureInstallment[];
190
190
  totalFeesAmount?: number;
191
- tipAmount?: number;
192
191
  lineItems: LineItems[];
193
192
  invoiceToPayments: InvoiceToPayment[];
194
193
  stripePaymentMethodId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,2EAAuG;AAOvG,8EAAyG;AAyBzG,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDA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,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,0BAA2B,SAAQ,4CAAyB;CAIxE;AAJD,gEAIC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,2CAA2C;AAC3C,MAAa,UAAW,SAAQ,kDAA0B;CA0EzD;AA1ED,gCA0EC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
@@ -50,7 +50,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
50
50
  invoices: Invoice[];
51
51
  installments?: FutureInstallment[];
52
52
  totalFeesAmount?: number;
53
- tipAmount?: number;
54
53
  lineItems: LineItems[];
55
54
  mergeId?: number;
56
55
  merge?: CustomerMerge;
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA+E5D;AA/ED,0BA+EC"}
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA6E5D;AA7ED,0BA6EC"}
@@ -82,7 +82,6 @@ export interface ISaveInvoicePayment {
82
82
  notes?: CreateNoteDto[];
83
83
  paymentInfo?: IPurchasePayment;
84
84
  platform?: PlatformsEnum;
85
- tipAmount?: number;
86
85
  }
87
86
  export interface IGetPayment {
88
87
  organizationId?: number;
@@ -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';
@@ -14,5 +14,5 @@ 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("./TipConfiguration"), exports);
17
+ __exportStar(require("./UsagePlanDto"), exports);
18
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"}
@@ -1,3 +1,2 @@
1
1
  export * from './dto';
2
- export * from './entities';
3
2
  export * from './types';
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
- __exportStar(require("./entities"), exports);
19
18
  __exportStar(require("./types"), exports);
20
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"}