@bondsports/types 0.0.185 → 0.0.187

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.
package/build/index.d.ts CHANGED
@@ -95,6 +95,49 @@ export declare class AddEditCustomerDto {
95
95
  emergencyContactName?: string;
96
96
  emergencyContactPhone?: string;
97
97
  }
98
+ export declare class AddressDto {
99
+ city: string;
100
+ state: string;
101
+ country: string;
102
+ geo: number[];
103
+ }
104
+ export declare class OpeningTimeDto {
105
+ open: string;
106
+ close: string;
107
+ dayOfWeek: number;
108
+ }
109
+ export declare class CreateFacilityDto {
110
+ name: string;
111
+ sports: number[];
112
+ description?: string;
113
+ longDescription?: string;
114
+ info?: string;
115
+ address: AddressDto;
116
+ timezone: string;
117
+ amenities: number[];
118
+ openingTimes: OpeningTimeDto[];
119
+ resourcesIds?: number[];
120
+ }
121
+ export declare class UpdateFacilityDetailsDto {
122
+ name?: string;
123
+ description?: string;
124
+ longDescription?: string;
125
+ info?: string;
126
+ address?: AddressDto;
127
+ timezone?: string;
128
+ }
129
+ export declare class UpdateFacilityOpeningTimesDto {
130
+ openingTimes: OpeningTimeDto[];
131
+ }
132
+ export declare class UpdateFacilitySportsDto {
133
+ sports: number[];
134
+ }
135
+ export declare class UpdateFacilityAmenitiesDto {
136
+ amenities: number[];
137
+ }
138
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
139
+ nameSearch?: string;
140
+ }
98
141
  export declare class FindEventByIdDto {
99
142
  eventId: number;
100
143
  organizationId: number;
@@ -195,48 +238,17 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
195
238
  isWaiverSigned?: string;
196
239
  statuses?: string;
197
240
  }
198
- export declare class AddressDto {
199
- city: string;
200
- state: string;
201
- country: string;
202
- geo: number[];
203
- }
204
- export declare class OpeningTimeDto {
205
- open: string;
206
- close: string;
207
- dayOfWeek: number;
208
- }
209
- export declare class CreateFacilityDto {
210
- name: string;
211
- sports: number[];
212
- description?: string;
213
- longDescription?: string;
214
- info?: string;
215
- address: AddressDto;
216
- timezone: string;
217
- amenities: number[];
218
- openingTimes: OpeningTimeDto[];
219
- resourcesIds?: number[];
220
- }
221
- export declare class UpdateFacilityDetailsDto {
222
- name?: string;
223
- description?: string;
224
- longDescription?: string;
225
- info?: string;
226
- address?: AddressDto;
227
- timezone?: string;
228
- }
229
- export declare class UpdateFacilityOpeningTimesDto {
230
- openingTimes: OpeningTimeDto[];
231
- }
232
- export declare class UpdateFacilitySportsDto {
233
- sports: number[];
241
+ export declare class FindOneParams {
242
+ id: number;
234
243
  }
235
- export declare class UpdateFacilityAmenitiesDto {
236
- amenities: number[];
244
+ export declare class PaginationQuery {
245
+ page: number;
246
+ itemsPerPage: number;
237
247
  }
238
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
239
- nameSearch?: string;
248
+ export declare class PaginationRangeQuery {
249
+ startPage: number;
250
+ endPage: number;
251
+ itemsPerPage: number;
240
252
  }
241
253
  export declare class FindFamilyAccountsDto {
242
254
  userId: number;
@@ -270,18 +282,6 @@ export declare class RemoveUserFromFamilyAccountDto {
270
282
  userId: number;
271
283
  familyAccountId: number;
272
284
  }
273
- export declare class FindOneParams {
274
- id: number;
275
- }
276
- export declare class PaginationQuery {
277
- page: number;
278
- itemsPerPage: number;
279
- }
280
- export declare class PaginationRangeQuery {
281
- startPage: number;
282
- endPage: number;
283
- itemsPerPage: number;
284
- }
285
285
  export declare class FindGlCodeByOrganizationIdDto {
286
286
  organizationId: number;
287
287
  }
@@ -684,24 +684,6 @@ export declare class createResourceDto {
684
684
  export declare class archiveDto {
685
685
  isArchive: boolean;
686
686
  }
687
- export declare class CreateUpdateVariantsDto {
688
- organizationId: number;
689
- parentProductId: number;
690
- variantTitles: VariantTitleDto[];
691
- variants: VariantDto[];
692
- }
693
- export declare class VariantTitleDto {
694
- titleName: string;
695
- titleId: number;
696
- }
697
- export declare class VariantDto {
698
- name: string;
699
- price: number;
700
- variantId: number;
701
- currency: CurrencyEnum;
702
- startDate: Date;
703
- endDate: Date;
704
- }
705
687
  export declare class FindProgramSeasonsByProgramIdDto {
706
688
  programId: number;
707
689
  }
@@ -893,6 +875,24 @@ export declare class MoveParticipantDto {
893
875
  resourceId: number;
894
876
  invoiceId: number;
895
877
  }
878
+ export declare class CreateUpdateVariantsDto {
879
+ organizationId: number;
880
+ parentProductId: number;
881
+ variantTitles: VariantTitleDto[];
882
+ variants: VariantDto[];
883
+ }
884
+ export declare class VariantTitleDto {
885
+ titleName: string;
886
+ titleId: number;
887
+ }
888
+ export declare class VariantDto {
889
+ name: string;
890
+ price: number;
891
+ variantId: number;
892
+ currency: CurrencyEnum;
893
+ startDate: Date;
894
+ endDate: Date;
895
+ }
896
896
  export declare class FindProgramsByOrganizationIdDto {
897
897
  organizationId: number;
898
898
  programType?: ProgramTypesEnum;
@@ -1025,16 +1025,6 @@ export declare class ResourceDto {
1025
1025
  type: ResourceNameTypeEnum;
1026
1026
  id: number;
1027
1027
  }
1028
- export declare class StripeCustomerIdDto {
1029
- userId: number;
1030
- }
1031
- export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
1032
- paymentMethodId: string;
1033
- }
1034
- export declare class AddACHTokenToCustomerDto {
1035
- publicToken: string;
1036
- accountId: string;
1037
- }
1038
1028
  export declare class SpaceByIdDto {
1039
1029
  spaceId: number;
1040
1030
  }
@@ -1091,6 +1081,16 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1091
1081
  types?: string;
1092
1082
  resourcesIds?: string;
1093
1083
  }
1084
+ export declare class StripeCustomerIdDto {
1085
+ userId: number;
1086
+ }
1087
+ export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
1088
+ paymentMethodId: string;
1089
+ }
1090
+ export declare class AddACHTokenToCustomerDto {
1091
+ publicToken: string;
1092
+ accountId: string;
1093
+ }
1094
1094
  export declare class FindByUserIdDto {
1095
1095
  userId: number;
1096
1096
  }
@@ -1137,6 +1137,17 @@ export declare class Address extends BondBaseEntity {
1137
1137
  geo: any;
1138
1138
  deletedAt?: Date;
1139
1139
  }
1140
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1141
+ questionnaireId: number;
1142
+ userId?: number;
1143
+ answers: Answer[];
1144
+ questionnaire: Questionnaires;
1145
+ }
1146
+ export declare class Athlete extends BondBaseEntity {
1147
+ userId: number | null;
1148
+ metadata: object | null;
1149
+ athleteSports: AthleteSports[];
1150
+ }
1140
1151
  export declare class Answer extends OrganizationConnectionBaseEntity {
1141
1152
  questionId: number;
1142
1153
  question?: Questions;
@@ -1150,16 +1161,10 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1150
1161
  metaData: any | null;
1151
1162
  questionText: string | null;
1152
1163
  }
1153
- export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1154
- questionnaireId: number;
1155
- userId?: number;
1156
- answers: Answer[];
1157
- questionnaire: Questionnaires;
1158
- }
1159
- export declare class Athlete extends BondBaseEntity {
1160
- userId: number | null;
1161
- metadata: object | null;
1162
- athleteSports: AthleteSports[];
1164
+ export declare class AthleteSports extends BondBaseEntity {
1165
+ athleteId: number | null;
1166
+ sports: number | null;
1167
+ levelOfPlay: LevelOfPlayEnum | null;
1163
1168
  }
1164
1169
  export declare class BlockedDate extends BondBaseEntity {
1165
1170
  entityType: ResourceNameTypeEnum;
@@ -1169,11 +1174,6 @@ export declare class BlockedDate extends BondBaseEntity {
1169
1174
  endDate: Date;
1170
1175
  deletedAt?: Date;
1171
1176
  }
1172
- export declare class AthleteSports extends BondBaseEntity {
1173
- athleteId: number | null;
1174
- sports: number | null;
1175
- levelOfPlay: LevelOfPlayEnum | null;
1176
- }
1177
1177
  export declare class BondBaseEntity extends BaseEntity {
1178
1178
  id: number;
1179
1179
  createdAt: Date;
@@ -1197,11 +1197,6 @@ export declare class BookedSessions extends BondBaseEntity {
1197
1197
  publicNotes?: string;
1198
1198
  slotType?: SlotTypeEnum;
1199
1199
  }
1200
- export declare class Configuration extends BondBaseEntity {
1201
- area: string;
1202
- key: string;
1203
- value: string;
1204
- }
1205
1200
  export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1206
1201
  parentId: number;
1207
1202
  parentType: ResourceNameTypeEnum;
@@ -1212,6 +1207,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
1212
1207
  endTimeInDay: string;
1213
1208
  directBookingFor: DirectBookingTypesEnum;
1214
1209
  }
1210
+ export declare class Configuration extends BondBaseEntity {
1211
+ area: string;
1212
+ key: string;
1213
+ value: string;
1214
+ }
1215
1215
  export declare class Connection extends BondBaseEntity {
1216
1216
  connType: number | null;
1217
1217
  from: number | null;
@@ -1400,13 +1400,6 @@ export declare class FacilityToResource extends BondBaseEntity {
1400
1400
  facilityId: number;
1401
1401
  resourceId: number;
1402
1402
  }
1403
- export declare class FamilyAccount extends BondBaseEntity {
1404
- name: string | null;
1405
- userInFamilyAccounts: UserInFamilyAccount[];
1406
- }
1407
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1408
- code: string;
1409
- }
1410
1403
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1411
1404
  userId: number;
1412
1405
  invoiceId: number;
@@ -1418,6 +1411,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1418
1411
  chargedAt?: Date;
1419
1412
  originalPlannedDate?: Date;
1420
1413
  }
1414
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1415
+ code: string;
1416
+ }
1421
1417
  export declare class Group extends BondBaseEntity {
1422
1418
  name: string;
1423
1419
  description?: string;
@@ -1434,6 +1430,10 @@ export declare class Group extends BondBaseEntity {
1434
1430
  members: ISeasonAttendeeInfo[];
1435
1431
  users: User[];
1436
1432
  }
1433
+ export declare class FamilyAccount extends BondBaseEntity {
1434
+ name: string | null;
1435
+ userInFamilyAccounts: UserInFamilyAccount[];
1436
+ }
1437
1437
  export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1438
1438
  groupId: number;
1439
1439
  itemId: number;
@@ -1487,6 +1487,14 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1487
1487
  mailParams?: any;
1488
1488
  memo?: string;
1489
1489
  }
1490
+ export declare class InvoiceToPayment extends BondBaseEntity {
1491
+ invoiceId: number;
1492
+ paymentId: number;
1493
+ invoice: Invoice;
1494
+ payment: Payment;
1495
+ paidAmount?: number;
1496
+ currency: CurrencyEnum;
1497
+ }
1490
1498
  export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1491
1499
  content: string;
1492
1500
  creatingUserId: number;
@@ -1496,22 +1504,58 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1496
1504
  invoiceId: number;
1497
1505
  invoice: Invoice;
1498
1506
  }
1499
- export declare class InvoiceToPayment extends BondBaseEntity {
1500
- invoiceId: number;
1501
- paymentId: number;
1502
- invoice: Invoice;
1503
- payment: Payment;
1504
- paidAmount?: number;
1505
- currency: CurrencyEnum;
1506
- }
1507
- export declare class League extends OrganizationConnectionBaseEntity {
1507
+ export declare class LeagueSeason extends BondBaseEntity {
1508
+ leagueId: number | null;
1508
1509
  name: string | null;
1510
+ status: number | null;
1511
+ startDate: Date | null;
1512
+ endDate: Date | null;
1513
+ priceEarlySingle: number | null;
1514
+ priceRegularSingle: number | null;
1515
+ priceLateSingle: number | null;
1516
+ priceEarlyTeam: number | null;
1517
+ priceRegularTeam: number | null;
1518
+ priceLateTeam: number | null;
1519
+ priceEarlyTeamMember: number | null;
1520
+ priceRegularTeamMember: number | null;
1521
+ priceLateTeamMember: number | null;
1522
+ priceEarlyGroup: number | null;
1523
+ priceRegularGroup: number | null;
1524
+ priceLateGroup: number | null;
1525
+ earlyRegistrationEnds: Date | null;
1526
+ regularRegistrationEnds: Date | null;
1527
+ lateRegistrationEnds: Date | null;
1528
+ registrationStatus: number | null;
1509
1529
  description: string | null;
1510
- allowBookingRequest: boolean | null;
1511
1530
  addressName: string | null;
1512
- shortDescription: string | null;
1513
- waiverDoc: string | null;
1514
- bookingStateStatus: number | null;
1531
+ registrationOpen: Date | null;
1532
+ connectedSeasonId: number | null;
1533
+ tournamentType: boolean | null;
1534
+ playoffType: boolean | null;
1535
+ scheduleStatus: SeasonScheduleStatusEnum;
1536
+ rosterStatus: string | null;
1537
+ metaData: any | null;
1538
+ inviteSendDate: Date | null;
1539
+ maxNumParticipants: number | null;
1540
+ programId: number | null;
1541
+ minNumParticipants: number | null;
1542
+ league: League;
1543
+ facilities: Facility[];
1544
+ seasonAttendees: SeasonAttendee[];
1545
+ purchasedResources: PurchasedResource[];
1546
+ }
1547
+ export declare class LeagueSeasonRelations {
1548
+ league?: boolean;
1549
+ facilities?: boolean;
1550
+ }
1551
+ export declare class League extends OrganizationConnectionBaseEntity {
1552
+ name: string | null;
1553
+ description: string | null;
1554
+ allowBookingRequest: boolean | null;
1555
+ addressName: string | null;
1556
+ shortDescription: string | null;
1557
+ waiverDoc: string | null;
1558
+ bookingStateStatus: number | null;
1515
1559
  timezone: string | null;
1516
1560
  shortUrl: string | null;
1517
1561
  leagueType: string | null;
@@ -1540,50 +1584,6 @@ export declare class LineItemHistory extends BondBaseEntity {
1540
1584
  payment: Payment;
1541
1585
  lineItem: LineItems;
1542
1586
  }
1543
- export declare class LeagueSeason extends BondBaseEntity {
1544
- leagueId: number | null;
1545
- name: string | null;
1546
- status: number | null;
1547
- startDate: Date | null;
1548
- endDate: Date | null;
1549
- priceEarlySingle: number | null;
1550
- priceRegularSingle: number | null;
1551
- priceLateSingle: number | null;
1552
- priceEarlyTeam: number | null;
1553
- priceRegularTeam: number | null;
1554
- priceLateTeam: number | null;
1555
- priceEarlyTeamMember: number | null;
1556
- priceRegularTeamMember: number | null;
1557
- priceLateTeamMember: number | null;
1558
- priceEarlyGroup: number | null;
1559
- priceRegularGroup: number | null;
1560
- priceLateGroup: number | null;
1561
- earlyRegistrationEnds: Date | null;
1562
- regularRegistrationEnds: Date | null;
1563
- lateRegistrationEnds: Date | null;
1564
- registrationStatus: number | null;
1565
- description: string | null;
1566
- addressName: string | null;
1567
- registrationOpen: Date | null;
1568
- connectedSeasonId: number | null;
1569
- tournamentType: boolean | null;
1570
- playoffType: boolean | null;
1571
- scheduleStatus: SeasonScheduleStatusEnum;
1572
- rosterStatus: string | null;
1573
- metaData: any | null;
1574
- inviteSendDate: Date | null;
1575
- maxNumParticipants: number | null;
1576
- programId: number | null;
1577
- minNumParticipants: number | null;
1578
- league: League;
1579
- facilities: Facility[];
1580
- seasonAttendees: SeasonAttendee[];
1581
- purchasedResources: PurchasedResource[];
1582
- }
1583
- export declare class LeagueSeasonRelations {
1584
- league?: boolean;
1585
- facilities?: boolean;
1586
- }
1587
1587
  export declare class LineItems extends BondBaseEntity {
1588
1588
  constructor();
1589
1589
  defineIsReverted(): void;
@@ -1655,25 +1655,6 @@ export declare class LinkedAccounts extends BondBaseEntity {
1655
1655
  user: User;
1656
1656
  userId: number | null;
1657
1657
  }
1658
- export declare class Media extends BondBaseEntity {
1659
- url: string;
1660
- name: string | null;
1661
- title: string | null;
1662
- mediaKey: string | null;
1663
- description: string | null;
1664
- provider: string | null;
1665
- mediaType: number;
1666
- fileType: string | null;
1667
- isDefault: boolean | null;
1668
- creatorId: number | null;
1669
- creatorType: string | null;
1670
- userCreatorId: number | null;
1671
- ownerId: number | null;
1672
- createdBy: number | null;
1673
- users: User[];
1674
- programs: Program[];
1675
- memberships: Membership[];
1676
- }
1677
1658
  export declare class Membership extends OrganizationConnectionBaseEntity {
1678
1659
  name: string;
1679
1660
  description?: string;
@@ -1722,11 +1703,24 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1722
1703
  cancellationStatus?: CancellationStatusEnum;
1723
1704
  isImported?: boolean;
1724
1705
  }
1725
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1726
- email: string | null;
1727
- notificationType: NotificationTypeEnum | null;
1728
- resourceId: number | null;
1729
- resourceType: string | null;
1706
+ export declare class Media extends BondBaseEntity {
1707
+ url: string;
1708
+ name: string | null;
1709
+ title: string | null;
1710
+ mediaKey: string | null;
1711
+ description: string | null;
1712
+ provider: string | null;
1713
+ mediaType: number;
1714
+ fileType: string | null;
1715
+ isDefault: boolean | null;
1716
+ creatorId: number | null;
1717
+ creatorType: string | null;
1718
+ userCreatorId: number | null;
1719
+ ownerId: number | null;
1720
+ createdBy: number | null;
1721
+ users: User[];
1722
+ programs: Program[];
1723
+ memberships: Membership[];
1730
1724
  }
1731
1725
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1732
1726
  id: number;
@@ -1739,6 +1733,12 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1739
1733
  deletedAt?: Date;
1740
1734
  facility: Facility;
1741
1735
  }
1736
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1737
+ email: string | null;
1738
+ notificationType: NotificationTypeEnum | null;
1739
+ resourceId: number | null;
1740
+ resourceType: string | null;
1741
+ }
1742
1742
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1743
1743
  organizationId: number;
1744
1744
  }
@@ -1759,12 +1759,6 @@ export declare class PackageV1 extends BondBaseEntity {
1759
1759
  isMandatory: boolean;
1760
1760
  productId: number;
1761
1761
  }
1762
- export declare class PasswordReset extends BondBaseEntity {
1763
- token: string | null;
1764
- userId: number | null;
1765
- validUntil: Date | null;
1766
- active: boolean | null;
1767
- }
1768
1762
  export declare class Payment extends OrganizationConnectionBaseEntity {
1769
1763
  price: number;
1770
1764
  paymentProcessorId: string;
@@ -1792,21 +1786,21 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1792
1786
  refundReasonId?: number;
1793
1787
  refundNote?: string;
1794
1788
  }
1795
- export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1796
- paymentInstallmentId?: number;
1797
- invoiceId: number;
1798
- reason: EFailedPaymentReasons;
1799
- errorMessage: string;
1789
+ export declare class PasswordReset extends BondBaseEntity {
1790
+ token: string | null;
1791
+ userId: number | null;
1792
+ validUntil: Date | null;
1793
+ active: boolean | null;
1800
1794
  }
1801
1795
  export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1802
1796
  failureIndex: number;
1803
1797
  waitingDays: number;
1804
1798
  }
1805
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1806
- paymentPlanId: number;
1807
- paymentDate: Date;
1808
- deletedAt?: Date;
1809
- paymentPlan: ProductPaymentPlan;
1799
+ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1800
+ paymentInstallmentId?: number;
1801
+ invoiceId: number;
1802
+ reason: EFailedPaymentReasons;
1803
+ errorMessage: string;
1810
1804
  }
1811
1805
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1812
1806
  content: string;
@@ -1817,6 +1811,12 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1817
1811
  paymentId: number;
1818
1812
  payment: Payment;
1819
1813
  }
1814
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1815
+ paymentPlanId: number;
1816
+ paymentDate: Date;
1817
+ deletedAt?: Date;
1818
+ paymentPlan: ProductPaymentPlan;
1819
+ }
1820
1820
  export declare class Price extends OrganizationConnectionBaseEntity {
1821
1821
  productId: number;
1822
1822
  product: Product;
@@ -1917,17 +1917,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1917
1917
  durationDays?: number;
1918
1918
  level?: ProductPackageLevelEnum;
1919
1919
  }
1920
- export declare class ProductResource extends OrganizationConnectionBaseEntity {
1921
- productId: number;
1922
- resourceId: number;
1923
- resourceType: ResourceNameTypeEnum;
1924
- deletedAt?: Date;
1925
- programSeason: ProgramSeason;
1926
- event: Event;
1927
- product: Product;
1928
- productPackages: ProductPackage[];
1929
- resourceName?: string;
1930
- }
1931
1920
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1932
1921
  productId: number;
1933
1922
  maxMonths?: number;
@@ -1945,6 +1934,24 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1945
1934
  productId: number;
1946
1935
  variantId: number;
1947
1936
  }
1937
+ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1938
+ productId: number;
1939
+ resourceId: number;
1940
+ resourceType: ResourceNameTypeEnum;
1941
+ deletedAt?: Date;
1942
+ programSeason: ProgramSeason;
1943
+ event: Event;
1944
+ product: Product;
1945
+ productPackages: ProductPackage[];
1946
+ resourceName?: string;
1947
+ }
1948
+ export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1949
+ productId: number;
1950
+ customerId: number;
1951
+ customer: Customer;
1952
+ deletedAt?: Date;
1953
+ product: Product;
1954
+ }
1948
1955
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1949
1956
  productId: number;
1950
1957
  userId: number;
@@ -1962,13 +1969,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1962
1969
  slots?: Slot[];
1963
1970
  addons?: Addon[];
1964
1971
  }
1965
- export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1966
- productId: number;
1967
- customerId: number;
1968
- customer: Customer;
1969
- deletedAt?: Date;
1970
- product: Product;
1971
- }
1972
1972
  export declare class Program extends BondBaseEntity {
1973
1973
  type: ProgramTypesEnum;
1974
1974
  name: string;
@@ -1999,9 +1999,27 @@ export declare class ProgramHighlights extends BondBaseEntity {
1999
1999
  program: Program;
2000
2000
  deletedAt?: Date;
2001
2001
  }
2002
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2003
- title: string | null;
2004
- answerTitle: AnswerTitle;
2002
+ export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2003
+ productUserId: number;
2004
+ resourceId: number;
2005
+ resourceType: ResourceNameTypeEnum;
2006
+ status: PurchasedResourceStatusEnum;
2007
+ startDate?: string;
2008
+ startTime?: string;
2009
+ endDate?: string;
2010
+ endTime?: string;
2011
+ productUser?: ProductsUsers;
2012
+ lineItem?: LineItems;
2013
+ eventAttendee?: EventAttendee;
2014
+ seasonAttendee?: SeasonAttendee;
2015
+ leagueAttendee?: SeasonPool;
2016
+ membership?: Membership;
2017
+ program?: Program;
2018
+ programSeason?: ProgramSeason;
2019
+ leagueSeason?: LeagueSeason;
2020
+ space?: Resource;
2021
+ product?: Product;
2022
+ event?: Event;
2005
2023
  }
2006
2024
  export declare class ProgramSeason extends BondBaseEntity {
2007
2025
  programId: number;
@@ -2058,27 +2076,9 @@ export declare class ProgramSeason extends BondBaseEntity {
2058
2076
  facility: Facility;
2059
2077
  purchasedResources: PurchasedResource[];
2060
2078
  }
2061
- export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2062
- productUserId: number;
2063
- resourceId: number;
2064
- resourceType: ResourceNameTypeEnum;
2065
- status: PurchasedResourceStatusEnum;
2066
- startDate?: string;
2067
- startTime?: string;
2068
- endDate?: string;
2069
- endTime?: string;
2070
- productUser?: ProductsUsers;
2071
- lineItem?: LineItems;
2072
- eventAttendee?: EventAttendee;
2073
- seasonAttendee?: SeasonAttendee;
2074
- leagueAttendee?: SeasonPool;
2075
- membership?: Membership;
2076
- program?: Program;
2077
- programSeason?: ProgramSeason;
2078
- leagueSeason?: LeagueSeason;
2079
- space?: Resource;
2080
- product?: Product;
2081
- event?: Event;
2079
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2080
+ title: string | null;
2081
+ answerTitle: AnswerTitle;
2082
2082
  }
2083
2083
  export declare class Questions extends BondBaseEntity {
2084
2084
  questionType: string | null;
@@ -2094,6 +2094,11 @@ export declare class Questions extends BondBaseEntity {
2094
2094
  ownerId: number | null;
2095
2095
  questionnaireId: number | null;
2096
2096
  }
2097
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2098
+ reason: string;
2099
+ ordinal: number;
2100
+ deletedAt: Date;
2101
+ }
2097
2102
  export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2098
2103
  resourceType: ResourceNameTypeEnum;
2099
2104
  resourceId: number;
@@ -2105,11 +2110,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2105
2110
  closeTime?: string;
2106
2111
  deletedAt?: Date;
2107
2112
  }
2108
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2109
- reason: string;
2110
- ordinal: number;
2111
- deletedAt: Date;
2112
- }
2113
2113
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2114
2114
  name?: string;
2115
2115
  description?: string;
@@ -2142,6 +2142,13 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2142
2142
  publicNotes?: string;
2143
2143
  slots?: Slot[];
2144
2144
  }
2145
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2146
+ name: string;
2147
+ facilityId: number;
2148
+ parentSlotId: number;
2149
+ childrenSlotIds: number[];
2150
+ deletedAt?: Date;
2151
+ }
2145
2152
  export declare class Resource extends OrganizationConnectionBaseEntity {
2146
2153
  name: string;
2147
2154
  resourceType: ResourceTypeEnum;
@@ -2170,21 +2177,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2170
2177
  purchasedResources: PurchasedResource[];
2171
2178
  linkSEO: string;
2172
2179
  }
2173
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2174
- name: string;
2175
- facilityId: number;
2176
- parentSlotId: number;
2177
- childrenSlotIds: number[];
2178
- deletedAt?: Date;
2179
- }
2180
- export declare class School extends BondBaseEntity {
2181
- name: string | null;
2182
- alias: string[] | null;
2183
- addressId: number | null;
2184
- website: string | null;
2185
- phone: string | null;
2186
- dataId: number | null;
2187
- }
2188
2180
  export declare class SeasonAttendee extends BondBaseEntity {
2189
2181
  status: RequestStatusEnum;
2190
2182
  paymentStatus: PaymentStatusEnum;
@@ -2220,9 +2212,13 @@ export declare class SeasonPool extends BondBaseEntity {
2220
2212
  purchasedResource: PurchasedResource;
2221
2213
  season: LeagueSeason;
2222
2214
  }
2223
- export declare class SpacesDependency extends BondBaseEntity {
2224
- blockingSpaceId: number;
2225
- blockedSpaceId: number;
2215
+ export declare class School extends BondBaseEntity {
2216
+ name: string | null;
2217
+ alias: string[] | null;
2218
+ addressId: number | null;
2219
+ website: string | null;
2220
+ phone: string | null;
2221
+ dataId: number | null;
2226
2222
  }
2227
2223
  export declare class SeasonTeam extends BondBaseEntity {
2228
2224
  seasonId: number | null;
@@ -2234,6 +2230,10 @@ export declare class SeasonTeam extends BondBaseEntity {
2234
2230
  metaData: any | null;
2235
2231
  team: Team;
2236
2232
  }
2233
+ export declare class SpacesDependency extends BondBaseEntity {
2234
+ blockingSpaceId: number;
2235
+ blockedSpaceId: number;
2236
+ }
2237
2237
  export declare class Station extends OrganizationConnectionBaseEntity {
2238
2238
  name: string;
2239
2239
  facilityId: number;
@@ -2253,6 +2253,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
2253
2253
  station: Station;
2254
2254
  subcategory: Subcategory;
2255
2255
  }
2256
+ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2257
+ productType: ProductTypesEnum;
2258
+ name: string;
2259
+ ordinal?: number;
2260
+ deletedAt?: Date;
2261
+ stationToSubcategories: StationToSubcategory[];
2262
+ stations: Station[];
2263
+ }
2256
2264
  export declare class Team extends BondBaseEntity {
2257
2265
  name: string | null;
2258
2266
  description: string | null;
@@ -2287,14 +2295,6 @@ export declare class Team extends BondBaseEntity {
2287
2295
  gender: number | null;
2288
2296
  questionnaireId: number | null;
2289
2297
  }
2290
- export declare class Subcategory extends OrganizationConnectionBaseEntity {
2291
- productType: ProductTypesEnum;
2292
- name: string;
2293
- ordinal?: number;
2294
- deletedAt?: Date;
2295
- stationToSubcategories: StationToSubcategory[];
2296
- stations: Station[];
2297
- }
2298
2298
  export declare class TeamInvite extends BondBaseEntity {
2299
2299
  email: string;
2300
2300
  teamId: number;
@@ -2313,12 +2313,6 @@ export declare class TeamMember extends BondBaseEntity {
2313
2313
  role: TeamMemberRoleEnum;
2314
2314
  user: User;
2315
2315
  }
2316
- export declare class UserAuthorizations extends BondBaseEntity {
2317
- entityId: number | null;
2318
- userId: number | null;
2319
- entityType: UserAuthorizationsTypeEnum;
2320
- user: User;
2321
- }
2322
2316
  export declare class User extends BondBaseEntity {
2323
2317
  firstName: string | null;
2324
2318
  lastName: string | null;
@@ -2358,6 +2352,12 @@ export declare class User extends BondBaseEntity {
2358
2352
  invoiceNotes: InvoiceNote[];
2359
2353
  paymentNotes: PaymentNote[];
2360
2354
  }
2355
+ export declare class UserAuthorizations extends BondBaseEntity {
2356
+ entityId: number | null;
2357
+ userId: number | null;
2358
+ entityType: UserAuthorizationsTypeEnum;
2359
+ user: User;
2360
+ }
2361
2361
  export declare class UserInFamilyAccount extends BondBaseEntity {
2362
2362
  familyAccountId: number;
2363
2363
  userId: number;
@@ -2366,6 +2366,11 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
2366
2366
  familyAccount: FamilyAccount;
2367
2367
  deletedAt?: Date;
2368
2368
  }
2369
+ export declare class UsersInGroup extends BondBaseEntity {
2370
+ groupId: number;
2371
+ userId: number;
2372
+ deletedAt?: Date;
2373
+ }
2369
2374
  export declare class UserPaymentMethod extends BondBaseEntity {
2370
2375
  userId: number;
2371
2376
  failCount: number;
@@ -2374,11 +2379,6 @@ export declare class UserPaymentMethod extends BondBaseEntity {
2374
2379
  paymentMethodId: string;
2375
2380
  nextAllowedChargeDate?: Date;
2376
2381
  }
2377
- export declare class UsersInGroup extends BondBaseEntity {
2378
- groupId: number;
2379
- userId: number;
2380
- deletedAt?: Date;
2381
- }
2382
2382
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2383
2383
  name: string;
2384
2384
  variants: Variant[];
@@ -3307,6 +3307,123 @@ export declare class ColumnNumericTransformer {
3307
3307
  from(data: string): number;
3308
3308
  }
3309
3309
  export declare function convertToNumber(data: string): number;
3310
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3311
+ name?: string;
3312
+ genderStr?: string;
3313
+ parentID?: string;
3314
+ partnerID?: string;
3315
+ membershipName?: string;
3316
+ membershipExpDate?: string;
3317
+ membershipCreationDate?: string;
3318
+ bondMembershipID?: number;
3319
+ }
3320
+ export declare class AddFamilyDto {
3321
+ parents: AddImportedCustomerDto[];
3322
+ children: AddImportedCustomerDto[];
3323
+ }
3324
+ export declare enum ImportPaymentTypeEnum {
3325
+ CREDIT_CARD = "card",
3326
+ ACH = "ach",
3327
+ CASH = "cash",
3328
+ CHECK = "check",
3329
+ CARD_ON_TERMINAL = "card-on-terminal",
3330
+ OTHER = "other",
3331
+ GIFT_CARD = "gift-card"
3332
+ }
3333
+ export declare class ImportedInvoiceLineDto {
3334
+ invoiceID?: string;
3335
+ description: string;
3336
+ createdDate: string;
3337
+ createdTime: string;
3338
+ quantity: string;
3339
+ price: string;
3340
+ total: string;
3341
+ customerID: string;
3342
+ resourceType: string;
3343
+ resourceID: string;
3344
+ }
3345
+ export declare class ImportedInvoiceDto {
3346
+ customerId?: string;
3347
+ total?: string;
3348
+ amountDue?: string;
3349
+ payments?: ImportedPaymentDto[];
3350
+ lines: any;
3351
+ }
3352
+ export declare class ImportedPaymentDto {
3353
+ invoiceID: string;
3354
+ type: ImportPaymentTypeEnum;
3355
+ description: string;
3356
+ paid: string;
3357
+ date: string;
3358
+ time: string;
3359
+ }
3360
+ export declare class PunchPassDto {
3361
+ CustomerID: string;
3362
+ QuantityLeft: number;
3363
+ BondProgramID: number;
3364
+ BondSessionID: number;
3365
+ ProductID: number;
3366
+ }
3367
+ export declare class ProductIdsDto {
3368
+ productIds?: number[];
3369
+ }
3370
+ export declare class ProductImportDto {
3371
+ product: Product;
3372
+ prices: Price[];
3373
+ resourceIds: number[];
3374
+ oldId: number;
3375
+ }
3376
+ export declare class ImportedSlotProductDto {
3377
+ slotID?: string;
3378
+ name?: string;
3379
+ pricingType?: 'Hourly' | 'Flat';
3380
+ appliesTo?: 'slot' | 'addon' | 'reservation';
3381
+ price?: string;
3382
+ minutes?: string;
3383
+ quantity: string;
3384
+ startDate?: string;
3385
+ startTime?: string;
3386
+ endDate?: string;
3387
+ endTime?: string;
3388
+ bondProductId?: number;
3389
+ }
3390
+ export declare class ImportResourceMappingDto {
3391
+ bondResourceID?: string;
3392
+ resourceName?: string;
3393
+ }
3394
+ export declare class ImportProductMappingDto {
3395
+ productID?: string;
3396
+ productName?: string;
3397
+ }
3398
+ export declare class ImportedSlotDto {
3399
+ reservationID: string;
3400
+ bondResourceID: string;
3401
+ resourceName: string;
3402
+ subResourceName: string;
3403
+ startDate: string;
3404
+ startTime: string;
3405
+ endDate: string;
3406
+ endTime: string;
3407
+ sportId?: string;
3408
+ setupDuration: string;
3409
+ setupIncludeInCosts: string;
3410
+ takedownDuration: string;
3411
+ takedownIncludeInCosts: string;
3412
+ slotProduct: ImportedSlotProductDto;
3413
+ addonProducts: ImportedSlotProductDto[];
3414
+ totalPrice: string;
3415
+ }
3416
+ export declare class ImportedReservationDto {
3417
+ name: string;
3418
+ customerId: string;
3419
+ description: string;
3420
+ totalPrice: string;
3421
+ downPayment: string;
3422
+ paid: string;
3423
+ invoiceId: string;
3424
+ slots?: ImportedSlotDto[];
3425
+ addons?: ImportedSlotProductDto[];
3426
+ }
3310
3427
  export declare class GameSlots extends BondBaseEntity {
3311
3428
  entityType: string;
3312
3429
  entityId: number;
@@ -3320,12 +3437,6 @@ export declare class MatchParticipants extends BondBaseEntity {
3320
3437
  score: number | null;
3321
3438
  gameSlotId: number | null;
3322
3439
  }
3323
- export declare class SeasonRounds extends BondBaseEntity {
3324
- seasonId: number;
3325
- ordinal?: number;
3326
- divisionId?: number;
3327
- name: string;
3328
- }
3329
3440
  export declare class RoundEvents extends BaseEntity {
3330
3441
  roundId: number;
3331
3442
  eventId: number;
@@ -3338,6 +3449,12 @@ export declare class Matches extends BondBaseEntity {
3338
3449
  status: number | null;
3339
3450
  excludeStandings: boolean | null;
3340
3451
  }
3452
+ export declare class SeasonRounds extends BondBaseEntity {
3453
+ seasonId: number;
3454
+ ordinal?: number;
3455
+ divisionId?: number;
3456
+ name: string;
3457
+ }
3341
3458
  export declare class TeamEvents extends BondBaseEntity {
3342
3459
  teamId: number | null;
3343
3460
  eventId: number | null;
@@ -3347,15 +3464,6 @@ export declare class Lock extends BondBaseEntity {
3347
3464
  name: string;
3348
3465
  locked?: Date;
3349
3466
  }
3350
- export interface ValidatedMonthAndDay {
3351
- valid: boolean;
3352
- month?: number;
3353
- day?: number;
3354
- }
3355
- export interface ValidationReason {
3356
- valid: boolean;
3357
- reason?: string;
3358
- }
3359
3467
  export interface PaymentStatus {
3360
3468
  parentId: number;
3361
3469
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3368,47 +3476,32 @@ export interface PaymentStatusesDict {
3368
3476
  export interface PaymentStatusDict {
3369
3477
  [id: number]: ReservationPaymentStatusEnum;
3370
3478
  }
3371
- export declare class CreateMonitorConfigDto {
3372
- facilityId: number;
3373
- name: string;
3374
- code: string;
3375
- config: any;
3376
- }
3377
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3378
- facilityId: number;
3379
- code: string;
3380
- config?: any;
3381
- }
3382
- export declare class NotifyTracker extends BondBaseEntity {
3383
- userId: number;
3384
- organizationId: number;
3385
- notifyMetadata?: any;
3386
- notfiyMethodtype: NotifyMethodEnum;
3387
- destination: string;
3388
- }
3389
- export declare class ByOrganizationIdDto {
3390
- organizationId: number;
3479
+ export interface ValidatedMonthAndDay {
3480
+ valid: boolean;
3481
+ month?: number;
3482
+ day?: number;
3391
3483
  }
3392
- export declare class OptionalFindByOrganizationIdDto {
3393
- organizationId?: number;
3484
+ export interface ValidationReason {
3485
+ valid: boolean;
3486
+ reason?: string;
3394
3487
  }
3395
- export declare class FindUnallocatedEventsIdsFiltersDto {
3396
- programsIds?: string;
3397
- sessionsIds?: string;
3398
- segmentsIds?: string;
3399
- startDate?: string;
3400
- endDate?: string;
3401
- months?: string;
3402
- dow?: string;
3488
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3489
+ facilityId: number;
3490
+ code: string;
3491
+ config?: any;
3403
3492
  }
3404
- export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3405
- programsIds?: string;
3406
- sessionsIds?: string;
3407
- segmentsIds?: string;
3408
- startDate?: string;
3409
- endDate?: string;
3410
- months?: string;
3411
- dow?: string;
3493
+ export declare class NotifyTracker extends BondBaseEntity {
3494
+ userId: number;
3495
+ organizationId: number;
3496
+ notifyMetadata?: any;
3497
+ notfiyMethodtype: NotifyMethodEnum;
3498
+ destination: string;
3499
+ }
3500
+ export declare class CreateMonitorConfigDto {
3501
+ facilityId: number;
3502
+ name: string;
3503
+ code: string;
3504
+ config: any;
3412
3505
  }
3413
3506
  export declare class Organization extends BondBaseEntity {
3414
3507
  name: string | null;
@@ -3459,6 +3552,30 @@ export declare class Organization extends BondBaseEntity {
3459
3552
  brandings: OrganizationBranding[];
3460
3553
  brandingsV2?: OrganizationBranding[];
3461
3554
  }
3555
+ export declare class ByOrganizationIdDto {
3556
+ organizationId: number;
3557
+ }
3558
+ export declare class OptionalFindByOrganizationIdDto {
3559
+ organizationId?: number;
3560
+ }
3561
+ export declare class FindUnallocatedEventsIdsFiltersDto {
3562
+ programsIds?: string;
3563
+ sessionsIds?: string;
3564
+ segmentsIds?: string;
3565
+ startDate?: string;
3566
+ endDate?: string;
3567
+ months?: string;
3568
+ dow?: string;
3569
+ }
3570
+ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3571
+ programsIds?: string;
3572
+ sessionsIds?: string;
3573
+ segmentsIds?: string;
3574
+ startDate?: string;
3575
+ endDate?: string;
3576
+ months?: string;
3577
+ dow?: string;
3578
+ }
3462
3579
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3463
3580
  key?: string;
3464
3581
  vaule?: string;
@@ -3468,10 +3585,6 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
3468
3585
  export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3469
3586
  mainAdminUserId?: number;
3470
3587
  }
3471
- export declare class OrganizationUsers extends BondBaseEntity {
3472
- organisationId: number | null;
3473
- userId: number | null;
3474
- }
3475
3588
  export interface UnallocatedEventsFilters {
3476
3589
  programsIds?: number[];
3477
3590
  sessionsIds?: number[];
@@ -3498,6 +3611,10 @@ export interface IUnallocatedEventRes {
3498
3611
  export interface IUnallocatedEventsIdsRes {
3499
3612
  data: IUnallocatedEventRes[];
3500
3613
  }
3614
+ export declare class OrganizationUsers extends BondBaseEntity {
3615
+ organisationId: number | null;
3616
+ userId: number | null;
3617
+ }
3501
3618
  export declare class CustomerIdDto {
3502
3619
  customerId: number;
3503
3620
  }
@@ -3755,13 +3872,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3755
3872
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3756
3873
  segments: SegmentDto[];
3757
3874
  }
3758
- export declare class MaintenanceDto {
3759
- id?: number;
3760
- title: string;
3761
- durationValue: number;
3762
- maintenanceDurationdurationType: DurationUnitTypesEnum;
3763
- maintenanceTiming: MaintenanceTimingEnum;
3764
- }
3765
3875
  export declare class LineItemDto {
3766
3876
  id?: number;
3767
3877
  invoiceId?: number;
@@ -3787,6 +3897,14 @@ export declare class LineItemDto {
3787
3897
  unitPriceWithTax?: number;
3788
3898
  unitTaxPrice?: number;
3789
3899
  parentOrdinal?: number;
3900
+ totalPrice?: number;
3901
+ }
3902
+ export declare class MaintenanceDto {
3903
+ id?: number;
3904
+ title: string;
3905
+ durationValue: number;
3906
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3907
+ maintenanceTiming: MaintenanceTimingEnum;
3790
3908
  }
3791
3909
  export declare class PurchasedResourceDto {
3792
3910
  resourceId?: number;
@@ -3838,6 +3956,7 @@ export declare class CategoryPricesDto {
3838
3956
  }
3839
3957
  export declare class ProductPricesDto {
3840
3958
  productId: number;
3959
+ product?: Product;
3841
3960
  price?: number;
3842
3961
  quantity?: number;
3843
3962
  totalPrice?: number;
@@ -3948,23 +4067,6 @@ export declare class UpdateReservationInvoiceDto {
3948
4067
  updateAddons?: boolean;
3949
4068
  updateMaintenance?: boolean;
3950
4069
  }
3951
- export declare class SeriesDto {
3952
- id?: number;
3953
- startDate: string;
3954
- startTime?: string;
3955
- endDate?: string;
3956
- endTime?: string;
3957
- slotDurationType: SlotDurationTypeEnum;
3958
- durationEndsAfter?: number;
3959
- durationUnit?: DurationUnitTypesEnum;
3960
- frequency: FrequencyEnum;
3961
- repeatEvery?: number;
3962
- repeatOn?: number[];
3963
- repeatEndDate?: string;
3964
- numberOccurrences?: number;
3965
- maintenance?: MaintenanceDto[];
3966
- slots?: SlotDto[];
3967
- }
3968
4070
  export declare class SegmentDto {
3969
4071
  id?: number;
3970
4072
  title: string;
@@ -3996,17 +4098,9 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
3996
4098
  privateNotes?: string;
3997
4099
  slotType: SlotTypeEnum;
3998
4100
  product?: Product;
3999
- priceOverrideMeta?: {
4000
- unitPrice: number;
4001
- quantity: number;
4002
- totalPrice: number;
4003
- };
4101
+ priceOverrideMeta?: OverridePriceMeta;
4004
4102
  addonPriceOverrideMeta?: {
4005
- [addonProductId: number]: {
4006
- unitPrice: number;
4007
- quantity: number;
4008
- totalPrice: number;
4009
- };
4103
+ [addonProductId: number]: OverridePriceMeta;
4010
4104
  };
4011
4105
  addonProducts?: Product[];
4012
4106
  segmentId?: number;
@@ -4046,6 +4140,23 @@ export declare class TimeSlotsDto {
4046
4140
  export declare class SlotsIdsDto {
4047
4141
  slotsIds: number[];
4048
4142
  }
4143
+ export declare class SeriesDto {
4144
+ id?: number;
4145
+ startDate: string;
4146
+ startTime?: string;
4147
+ endDate?: string;
4148
+ endTime?: string;
4149
+ slotDurationType: SlotDurationTypeEnum;
4150
+ durationEndsAfter?: number;
4151
+ durationUnit?: DurationUnitTypesEnum;
4152
+ frequency: FrequencyEnum;
4153
+ repeatEvery?: number;
4154
+ repeatOn?: number[];
4155
+ repeatEndDate?: string;
4156
+ numberOccurrences?: number;
4157
+ maintenance?: MaintenanceDto[];
4158
+ slots?: SlotDto[];
4159
+ }
4049
4160
  declare class AnswerDto {
4050
4161
  questionId: number;
4051
4162
  value: any;
@@ -4083,6 +4194,12 @@ export declare class BookingV1Dto {
4083
4194
  cashPayment: boolean;
4084
4195
  requestOnly: boolean;
4085
4196
  }
4197
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4198
+ deletedAt?: Date;
4199
+ reservationId: number;
4200
+ invoiceId: number;
4201
+ slotId: number;
4202
+ }
4086
4203
  export declare class Addon extends OrganizationConnectionBaseEntity {
4087
4204
  parentId: number;
4088
4205
  parentType: AddonParentTypeEnum;
@@ -4103,12 +4220,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
4103
4220
  previousProductUsersIds?: number[];
4104
4221
  previousProductUsers?: ProductsUsers[];
4105
4222
  }
4106
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4107
- deletedAt?: Date;
4108
- reservationId: number;
4109
- invoiceId: number;
4110
- slotId: number;
4111
- }
4112
4223
  export declare class Reservation extends OrganizationConnectionBaseEntity {
4113
4224
  name?: string;
4114
4225
  description?: string;
@@ -4242,6 +4353,13 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4242
4353
  conflictsCount?: number;
4243
4354
  conflicts?: Slot[];
4244
4355
  }
4356
+ export declare enum LineItemResourceEnum {
4357
+ SEGMENTS = "segments",
4358
+ SERIES = "series",
4359
+ SLOTS = "slots",
4360
+ RESERVATION_ADDONS = "reservation_addons",
4361
+ SLOT_ADDONS = "slot_addons"
4362
+ }
4245
4363
  export declare type TSlotAndType = {
4246
4364
  type: 'slots' | 'slot_addons';
4247
4365
  slotsForProduct: {
@@ -4254,6 +4372,32 @@ export declare type TSlotAndType = {
4254
4372
  export interface ILineItemResource {
4255
4373
  type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4256
4374
  values: TResource[];
4375
+ dtoValues: TDtoResource[];
4376
+ }
4377
+ export interface GeneratedLineItems {
4378
+ lineItems: LineItemDto[];
4379
+ childItemToParent: Map<LineItemDto, LineItemDto>;
4380
+ lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
4381
+ }
4382
+ export interface GeneratedInvoice {
4383
+ invoice: InvoiceDto;
4384
+ lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
4385
+ }
4386
+ export interface OverridePricingResult {
4387
+ overrideProductsPricing: OverrideProductsPricing;
4388
+ lineItemDtoToResourceDto?: Map<LineItemDto, ILineItemResource>;
4389
+ totalPrice?: number;
4390
+ }
4391
+ export interface OverrideLineItemPrice {
4392
+ invoice: InvoiceDto;
4393
+ lineItem: LineItemDto;
4394
+ ratio: number;
4395
+ overrideProductsPricing: OverrideProductsPricing;
4396
+ isLastLineItem?: boolean;
4397
+ priceLeft?: number;
4398
+ }
4399
+ export interface OverrideProductsPricing {
4400
+ [productInfo: string]: ProductPricesDto;
4257
4401
  }
4258
4402
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
4259
4403
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
@@ -4474,6 +4618,11 @@ export interface AddonMetadata {
4474
4618
  totalPrice: number;
4475
4619
  product?: Product;
4476
4620
  }
4621
+ export interface OverridePriceMeta {
4622
+ unitPrice: number;
4623
+ quantity: number;
4624
+ totalPrice: number;
4625
+ }
4477
4626
  export declare class ChangeRolePermissionsDto {
4478
4627
  permissionIds: number[];
4479
4628
  }
@@ -4497,12 +4646,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4497
4646
  role: Role;
4498
4647
  user: User;
4499
4648
  }
4500
- export declare class FindShiftsByIdsDto {
4501
- shiftIds: number[];
4502
- }
4503
4649
  export declare class CloseShiftDto {
4504
4650
  closingCashAmount: number;
4505
4651
  }
4652
+ export declare class FindShiftsByIdsDto {
4653
+ shiftIds: number[];
4654
+ }
4506
4655
  export declare class FindShiftsFiltersDto {
4507
4656
  statuses?: string;
4508
4657
  stationIds?: string;
@@ -4576,120 +4725,3 @@ export default interface IWebflowProgram {
4576
4725
  level: string[];
4577
4726
  gender: string;
4578
4727
  }
4579
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
4580
- name?: string;
4581
- genderStr?: string;
4582
- parentID?: string;
4583
- partnerID?: string;
4584
- membershipName?: string;
4585
- membershipExpDate?: string;
4586
- membershipCreationDate?: string;
4587
- bondMembershipID?: number;
4588
- }
4589
- export declare class AddFamilyDto {
4590
- parents: AddImportedCustomerDto[];
4591
- children: AddImportedCustomerDto[];
4592
- }
4593
- export declare class ProductIdsDto {
4594
- productIds?: number[];
4595
- }
4596
- export declare class ProductImportDto {
4597
- product: Product;
4598
- prices: Price[];
4599
- resourceIds: number[];
4600
- oldId: number;
4601
- }
4602
- export declare enum ImportPaymentTypeEnum {
4603
- CREDIT_CARD = "card",
4604
- ACH = "ach",
4605
- CASH = "cash",
4606
- CHECK = "check",
4607
- CARD_ON_TERMINAL = "card-on-terminal",
4608
- OTHER = "other",
4609
- GIFT_CARD = "gift-card"
4610
- }
4611
- export declare class ImportedInvoiceLineDto {
4612
- invoiceID?: string;
4613
- description: string;
4614
- createdDate: string;
4615
- createdTime: string;
4616
- quantity: string;
4617
- price: string;
4618
- total: string;
4619
- customerID: string;
4620
- resourceType: string;
4621
- resourceID: string;
4622
- }
4623
- export declare class ImportedInvoiceDto {
4624
- customerId?: string;
4625
- total?: string;
4626
- amountDue?: string;
4627
- payments?: ImportedPaymentDto[];
4628
- lines: any;
4629
- }
4630
- export declare class ImportedPaymentDto {
4631
- invoiceID: string;
4632
- type: ImportPaymentTypeEnum;
4633
- description: string;
4634
- paid: string;
4635
- date: string;
4636
- time: string;
4637
- }
4638
- export declare class PunchPassDto {
4639
- CustomerID: string;
4640
- QuantityLeft: number;
4641
- BondProgramID: number;
4642
- BondSessionID: number;
4643
- ProductID: number;
4644
- }
4645
- export declare class ImportedSlotProductDto {
4646
- slotID?: string;
4647
- name?: string;
4648
- pricingType?: 'Hourly' | 'Flat';
4649
- appliesTo?: 'slot' | 'addon' | 'reservation';
4650
- price?: string;
4651
- minutes?: string;
4652
- quantity: string;
4653
- startDate?: string;
4654
- startTime?: string;
4655
- endDate?: string;
4656
- endTime?: string;
4657
- bondProductId?: number;
4658
- }
4659
- export declare class ImportResourceMappingDto {
4660
- bondResourceID?: string;
4661
- resourceName?: string;
4662
- }
4663
- export declare class ImportProductMappingDto {
4664
- productID?: string;
4665
- productName?: string;
4666
- }
4667
- export declare class ImportedSlotDto {
4668
- reservationID: string;
4669
- bondResourceID: string;
4670
- resourceName: string;
4671
- subResourceName: string;
4672
- startDate: string;
4673
- startTime: string;
4674
- endDate: string;
4675
- endTime: string;
4676
- sportId?: string;
4677
- setupDuration: string;
4678
- setupIncludeInCosts: string;
4679
- takedownDuration: string;
4680
- takedownIncludeInCosts: string;
4681
- slotProduct: ImportedSlotProductDto;
4682
- addonProducts: ImportedSlotProductDto[];
4683
- totalPrice: string;
4684
- }
4685
- export declare class ImportedReservationDto {
4686
- name: string;
4687
- customerId: string;
4688
- description: string;
4689
- totalPrice: string;
4690
- downPayment: string;
4691
- paid: string;
4692
- invoiceId: string;
4693
- slots?: ImportedSlotDto[];
4694
- addons?: ImportedSlotProductDto[];
4695
- }