@bondsports/types 2.4.1 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
1
2
  import { ScheduleDto } from '../../dto/activityTimes.dto';
2
3
  import { ActivityTimes } from '../../entity/ActivityTimes';
3
4
  import { Customer } from '../../entity/Customer';
@@ -54,6 +55,8 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
54
55
  reasonId?: number;
55
56
  priceId?: number;
56
57
  prices?: ItemPriceMetadata[];
58
+ mergeId?: number;
59
+ merge?: CustomerMerge;
57
60
  waitlistChildren?: WaitlistChild[];
58
61
  reason?: Reason;
59
62
  discountAmount?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAcjG,MAAa,QAAS,SAAQ,mEAAgC;CA+F7D;AA/FD,4BA+FC"}
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,3 +1,4 @@
1
+ import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
1
2
  import { UserAnswersDto } from '../../dto/application.dto';
2
3
  import { Customer } from '../../entity/Customer';
3
4
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
@@ -25,6 +26,8 @@ export declare class Cart extends OrganizationConnectionBaseEntity {
25
26
  answers?: UserAnswersDto[];
26
27
  lastActiveTime: Date;
27
28
  lastFetchedTime: Date;
29
+ mergeId?: number;
30
+ merge?: CustomerMerge;
28
31
  cartItems: CartItem[];
29
32
  waitlistEntry?: WaitlistEntry;
30
33
  taxes?: CartTaxDto[];
@@ -1 +1 @@
1
- {"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAkDzD;AAlDD,oBAkDC"}
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"}
@@ -2,5 +2,4 @@ export * from './leagues-scheduler-metadata.dto';
2
2
  export * from './leagues-scheduler-param.dto';
3
3
  export * from './leagues-scheduler.dto';
4
4
  export * from './maintenance-event.dto';
5
- export * from './program-segments-integration.dto';
6
5
  export * from './quality-metrics.dto';
@@ -18,6 +18,5 @@ __exportStar(require("./leagues-scheduler-metadata.dto"), exports);
18
18
  __exportStar(require("./leagues-scheduler-param.dto"), exports);
19
19
  __exportStar(require("./leagues-scheduler.dto"), exports);
20
20
  __exportStar(require("./maintenance-event.dto"), exports);
21
- __exportStar(require("./program-segments-integration.dto"), exports);
22
21
  __exportStar(require("./quality-metrics.dto"), exports);
23
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,0DAAwC;AACxC,qEAAmD;AACnD,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,0DAAwC;AACxC,wDAAsC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -1,44 +0,0 @@
1
- import { GameScheduleDto, ScheduleConfigDto, ScheduleConflictDto } from './leagues-scheduler.dto';
2
- /**
3
- * Request DTO for creating a league segment via Program Segments API
4
- * Used when publishing a schedule to create segments with all events
5
- */
6
- export declare class CreateLeagueSegmentRequestDto {
7
- sessionId: number;
8
- name: string;
9
- startDate: string;
10
- endDate: string;
11
- games: GameScheduleDto[];
12
- leagueConfig: ScheduleConfigDto;
13
- organizationId?: number;
14
- }
15
- /**
16
- * Response DTO from Program Segments API after creating a league segment
17
- * Contains created entities and any conflicts detected
18
- */
19
- export declare class CreateLeagueSegmentResponseDto {
20
- segmentId: number;
21
- eventIds: number[];
22
- slotIds?: number[];
23
- conflicts?: ScheduleConflictDto[];
24
- }
25
- /**
26
- * Batch request for creating multiple league segments at once
27
- * Used when publishing schedules for multiple divisions
28
- */
29
- export declare class BatchCreateLeagueSegmentsRequestDto {
30
- segments: CreateLeagueSegmentRequestDto[];
31
- organizationId: number;
32
- }
33
- /**
34
- * Response DTO for batch segment creation
35
- */
36
- export declare class BatchCreateLeagueSegmentsResponseDto {
37
- successful: CreateLeagueSegmentResponseDto[];
38
- failed?: Array<{
39
- segmentName: string;
40
- error: string;
41
- }>;
42
- totalAttempted: number;
43
- totalSuccessful: number;
44
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchCreateLeagueSegmentsResponseDto = exports.BatchCreateLeagueSegmentsRequestDto = exports.CreateLeagueSegmentResponseDto = exports.CreateLeagueSegmentRequestDto = void 0;
4
- /**
5
- * Request DTO for creating a league segment via Program Segments API
6
- * Used when publishing a schedule to create segments with all events
7
- */
8
- class CreateLeagueSegmentRequestDto {
9
- }
10
- exports.CreateLeagueSegmentRequestDto = CreateLeagueSegmentRequestDto;
11
- /**
12
- * Response DTO from Program Segments API after creating a league segment
13
- * Contains created entities and any conflicts detected
14
- */
15
- class CreateLeagueSegmentResponseDto {
16
- }
17
- exports.CreateLeagueSegmentResponseDto = CreateLeagueSegmentResponseDto;
18
- /**
19
- * Batch request for creating multiple league segments at once
20
- * Used when publishing schedules for multiple divisions
21
- */
22
- class BatchCreateLeagueSegmentsRequestDto {
23
- }
24
- exports.BatchCreateLeagueSegmentsRequestDto = BatchCreateLeagueSegmentsRequestDto;
25
- /**
26
- * Response DTO for batch segment creation
27
- */
28
- class BatchCreateLeagueSegmentsResponseDto {
29
- }
30
- exports.BatchCreateLeagueSegmentsResponseDto = BatchCreateLeagueSegmentsResponseDto;
31
- //# sourceMappingURL=program-segments-integration.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"program-segments-integration.dto.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/dto/program-segments-integration.dto.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACH,MAAa,6BAA6B;CAczC;AAdD,sEAcC;AAED;;;GAGG;AACH,MAAa,8BAA8B;CAQ1C;AARD,wEAQC;AAED;;;GAGG;AACH,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED;;GAEG;AACH,MAAa,oCAAoC;CAWhD;AAXD,oFAWC"}