@bondsports/types 0.0.187 → 0.0.189

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,49 +95,6 @@ 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
- }
141
98
  export declare class FindEventByIdDto {
142
99
  eventId: number;
143
100
  organizationId: number;
@@ -238,17 +195,48 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
238
195
  isWaiverSigned?: string;
239
196
  statuses?: string;
240
197
  }
241
- export declare class FindOneParams {
242
- id: number;
198
+ export declare class AddressDto {
199
+ city: string;
200
+ state: string;
201
+ country: string;
202
+ geo: number[];
243
203
  }
244
- export declare class PaginationQuery {
245
- page: number;
246
- itemsPerPage: number;
204
+ export declare class OpeningTimeDto {
205
+ open: string;
206
+ close: string;
207
+ dayOfWeek: number;
247
208
  }
248
- export declare class PaginationRangeQuery {
249
- startPage: number;
250
- endPage: number;
251
- itemsPerPage: number;
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[];
234
+ }
235
+ export declare class UpdateFacilityAmenitiesDto {
236
+ amenities: number[];
237
+ }
238
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
239
+ nameSearch?: string;
252
240
  }
253
241
  export declare class FindFamilyAccountsDto {
254
242
  userId: number;
@@ -282,6 +270,18 @@ export declare class RemoveUserFromFamilyAccountDto {
282
270
  userId: number;
283
271
  familyAccountId: number;
284
272
  }
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,6 +684,24 @@ 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
+ }
687
705
  export declare class FindProgramSeasonsByProgramIdDto {
688
706
  programId: number;
689
707
  }
@@ -875,24 +893,6 @@ export declare class MoveParticipantDto {
875
893
  resourceId: number;
876
894
  invoiceId: number;
877
895
  }
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;
@@ -1137,17 +1137,6 @@ 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
- }
1151
1140
  export declare class Answer extends OrganizationConnectionBaseEntity {
1152
1141
  questionId: number;
1153
1142
  question?: Questions;
@@ -1161,11 +1150,22 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1161
1150
  metaData: any | null;
1162
1151
  questionText: string | null;
1163
1152
  }
1153
+ export declare class Athlete extends BondBaseEntity {
1154
+ userId: number | null;
1155
+ metadata: object | null;
1156
+ athleteSports: AthleteSports[];
1157
+ }
1164
1158
  export declare class AthleteSports extends BondBaseEntity {
1165
1159
  athleteId: number | null;
1166
1160
  sports: number | null;
1167
1161
  levelOfPlay: LevelOfPlayEnum | null;
1168
1162
  }
1163
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1164
+ questionnaireId: number;
1165
+ userId?: number;
1166
+ answers: Answer[];
1167
+ questionnaire: Questionnaires;
1168
+ }
1169
1169
  export declare class BlockedDate extends BondBaseEntity {
1170
1170
  entityType: ResourceNameTypeEnum;
1171
1171
  entityId: number;
@@ -1212,6 +1212,14 @@ export declare class Configuration extends BondBaseEntity {
1212
1212
  key: string;
1213
1213
  value: string;
1214
1214
  }
1215
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1216
+ creditAmount: number;
1217
+ paymentProcessorId: string;
1218
+ userId: number;
1219
+ paymentId: number;
1220
+ invoiceId: number;
1221
+ creditPaymentId: number;
1222
+ }
1215
1223
  export declare class Connection extends BondBaseEntity {
1216
1224
  connType: number | null;
1217
1225
  from: number | null;
@@ -1224,14 +1232,6 @@ export declare class Connection extends BondBaseEntity {
1224
1232
  userCreatorId: number | null;
1225
1233
  ownerId: number | null;
1226
1234
  }
1227
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1228
- creditAmount: number;
1229
- paymentProcessorId: string;
1230
- userId: number;
1231
- paymentId: number;
1232
- invoiceId: number;
1233
- creditPaymentId: number;
1234
- }
1235
1235
  export declare class Customer extends OrganizationConnectionBaseEntity {
1236
1236
  name: string | null;
1237
1237
  entityId: number | null;
@@ -1272,12 +1272,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1272
1272
  invoice: Invoice;
1273
1273
  payment: Payment;
1274
1274
  }
1275
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1276
- customerId?: number;
1277
- description: string;
1278
- pinToTop?: boolean;
1279
- customer: Customer;
1280
- }
1281
1275
  export declare class Division extends BondBaseEntity {
1282
1276
  name: string;
1283
1277
  ordinal?: number;
@@ -1286,6 +1280,12 @@ export declare class Division extends BondBaseEntity {
1286
1280
  isDefault: boolean;
1287
1281
  groups: Group[];
1288
1282
  }
1283
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1284
+ customerId?: number;
1285
+ description: string;
1286
+ pinToTop?: boolean;
1287
+ customer: Customer;
1288
+ }
1289
1289
  export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1290
1290
  customerId: number;
1291
1291
  name: string | null;
@@ -1396,6 +1396,10 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
1396
1396
  programSeasons: ProgramSeason[];
1397
1397
  linkSEO: string;
1398
1398
  }
1399
+ export declare class FamilyAccount extends BondBaseEntity {
1400
+ name: string | null;
1401
+ userInFamilyAccounts: UserInFamilyAccount[];
1402
+ }
1399
1403
  export declare class FacilityToResource extends BondBaseEntity {
1400
1404
  facilityId: number;
1401
1405
  resourceId: number;
@@ -1430,10 +1434,6 @@ export declare class Group extends BondBaseEntity {
1430
1434
  members: ISeasonAttendeeInfo[];
1431
1435
  users: User[];
1432
1436
  }
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;
@@ -1447,11 +1447,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1447
1447
  discountMethod?: DiscountMethodsEnum;
1448
1448
  discountValue?: number;
1449
1449
  }
1450
- export declare class GroupsInDivisions extends BondBaseEntity {
1451
- groupId: number;
1452
- divisionId: number;
1453
- deletedAt?: Date;
1454
- }
1455
1450
  export declare class Invoice extends BondBaseEntity {
1456
1451
  invoiceId: string | null;
1457
1452
  price: number | null;
@@ -1476,6 +1471,11 @@ export declare class Invoice extends BondBaseEntity {
1476
1471
  invoiceNotes: InvoiceNote[];
1477
1472
  slots: Slot[];
1478
1473
  }
1474
+ export declare class GroupsInDivisions extends BondBaseEntity {
1475
+ groupId: number;
1476
+ divisionId: number;
1477
+ deletedAt?: Date;
1478
+ }
1479
1479
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1480
1480
  email: string;
1481
1481
  status: EEmailStatus;
@@ -1504,6 +1504,32 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1504
1504
  invoiceId: number;
1505
1505
  invoice: Invoice;
1506
1506
  }
1507
+ export declare class League extends OrganizationConnectionBaseEntity {
1508
+ name: string | null;
1509
+ description: string | null;
1510
+ allowBookingRequest: boolean | null;
1511
+ addressName: string | null;
1512
+ shortDescription: string | null;
1513
+ waiverDoc: string | null;
1514
+ bookingStateStatus: number | null;
1515
+ timezone: string | null;
1516
+ shortUrl: string | null;
1517
+ leagueType: string | null;
1518
+ addressId: number | null;
1519
+ sportConfigData: any | null;
1520
+ creatorId: number | null;
1521
+ creatorType: string | null;
1522
+ userCreatorId: number | null;
1523
+ ownerId: number | null;
1524
+ sports: number[] | null;
1525
+ mainMediaId: number | null;
1526
+ publishedDate: Date | null;
1527
+ isPublished: boolean | null;
1528
+ isVerified: boolean | null;
1529
+ questionnaireId: number | null;
1530
+ logo?: Media;
1531
+ seasons: LeagueSeason[];
1532
+ }
1507
1533
  export declare class LeagueSeason extends BondBaseEntity {
1508
1534
  leagueId: number | null;
1509
1535
  name: string | null;
@@ -1548,32 +1574,6 @@ export declare class LeagueSeasonRelations {
1548
1574
  league?: boolean;
1549
1575
  facilities?: boolean;
1550
1576
  }
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;
1559
- timezone: string | null;
1560
- shortUrl: string | null;
1561
- leagueType: string | null;
1562
- addressId: number | null;
1563
- sportConfigData: any | null;
1564
- creatorId: number | null;
1565
- creatorType: string | null;
1566
- userCreatorId: number | null;
1567
- ownerId: number | null;
1568
- sports: number[] | null;
1569
- mainMediaId: number | null;
1570
- publishedDate: Date | null;
1571
- isPublished: boolean | null;
1572
- isVerified: boolean | null;
1573
- questionnaireId: number | null;
1574
- logo?: Media;
1575
- seasons: LeagueSeason[];
1576
- }
1577
1577
  export declare class LineItemHistory extends BondBaseEntity {
1578
1578
  invoiceId: number;
1579
1579
  paymentId: number;
@@ -1655,6 +1655,25 @@ 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
+ }
1658
1677
  export declare class Membership extends OrganizationConnectionBaseEntity {
1659
1678
  name: string;
1660
1679
  description?: string;
@@ -1703,25 +1722,6 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1703
1722
  cancellationStatus?: CancellationStatusEnum;
1704
1723
  isImported?: boolean;
1705
1724
  }
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[];
1724
- }
1725
1725
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1726
1726
  id: number;
1727
1727
  dayOfWeek: number;
@@ -1733,15 +1733,15 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1733
1733
  deletedAt?: Date;
1734
1734
  facility: Facility;
1735
1735
  }
1736
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1737
+ organizationId: number;
1738
+ }
1736
1739
  export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1737
1740
  email: string | null;
1738
1741
  notificationType: NotificationTypeEnum | null;
1739
1742
  resourceId: number | null;
1740
1743
  resourceType: string | null;
1741
1744
  }
1742
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1743
- organizationId: number;
1744
- }
1745
1745
  export declare class PackageV1 extends BondBaseEntity {
1746
1746
  name?: string;
1747
1747
  description?: string;
@@ -1759,6 +1759,12 @@ 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
+ }
1762
1768
  export declare class Payment extends OrganizationConnectionBaseEntity {
1763
1769
  price: number;
1764
1770
  paymentProcessorId: string;
@@ -1786,12 +1792,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1786
1792
  refundReasonId?: number;
1787
1793
  refundNote?: string;
1788
1794
  }
1789
- export declare class PasswordReset extends BondBaseEntity {
1790
- token: string | null;
1791
- userId: number | null;
1792
- validUntil: Date | null;
1793
- active: boolean | null;
1794
- }
1795
1795
  export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1796
1796
  failureIndex: number;
1797
1797
  waitingDays: number;
@@ -1817,23 +1817,6 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
1817
1817
  deletedAt?: Date;
1818
1818
  paymentPlan: ProductPaymentPlan;
1819
1819
  }
1820
- export declare class Price extends OrganizationConnectionBaseEntity {
1821
- productId: number;
1822
- product: Product;
1823
- name: string | null;
1824
- price: number;
1825
- currency: CurrencyEnum;
1826
- paymentProcessorId: number | null;
1827
- startDate: Date;
1828
- endDate: Date;
1829
- groupId?: number;
1830
- groupName?: string;
1831
- originalPrice?: number;
1832
- deletedAt?: Date;
1833
- discountMethod?: DiscountMethodsEnum;
1834
- discountValue?: number;
1835
- taxIncludedPrice?: number;
1836
- }
1837
1820
  export declare class PaymentV1 extends BondBaseEntity {
1838
1821
  userId: number | null;
1839
1822
  ownerId: number | null;
@@ -1852,6 +1835,23 @@ export declare class PaymentV1 extends BondBaseEntity {
1852
1835
  installmentId: number | null;
1853
1836
  invoiceId: string | null;
1854
1837
  }
1838
+ export declare class Price extends OrganizationConnectionBaseEntity {
1839
+ productId: number;
1840
+ product: Product;
1841
+ name: string | null;
1842
+ price: number;
1843
+ currency: CurrencyEnum;
1844
+ paymentProcessorId: number | null;
1845
+ startDate: Date;
1846
+ endDate: Date;
1847
+ groupId?: number;
1848
+ groupName?: string;
1849
+ originalPrice?: number;
1850
+ deletedAt?: Date;
1851
+ discountMethod?: DiscountMethodsEnum;
1852
+ discountValue?: number;
1853
+ taxIncludedPrice?: number;
1854
+ }
1855
1855
  export declare class Product extends OrganizationConnectionBaseEntity {
1856
1856
  name: string;
1857
1857
  quantity: number;
@@ -1902,6 +1902,15 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1902
1902
  activityTimes: ActivityTimes[];
1903
1903
  purchasedResources: PurchasedResource[];
1904
1904
  }
1905
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1906
+ productId: number;
1907
+ maxMonths?: number;
1908
+ dayOfMonth?: number;
1909
+ name: string;
1910
+ deletedAt?: Date;
1911
+ schedule: PaymentPlanSchedule[];
1912
+ product?: Product;
1913
+ }
1905
1914
  export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1906
1915
  parentProductId: number;
1907
1916
  childProductId: number;
@@ -1917,23 +1926,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1917
1926
  durationDays?: number;
1918
1927
  level?: ProductPackageLevelEnum;
1919
1928
  }
1920
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1921
- productId: number;
1922
- maxMonths?: number;
1923
- dayOfMonth?: number;
1924
- name: string;
1925
- deletedAt?: Date;
1926
- schedule: PaymentPlanSchedule[];
1927
- product?: Product;
1928
- }
1929
- export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1930
- productId: number;
1931
- variantTitleId: number;
1932
- }
1933
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1934
- productId: number;
1935
- variantId: number;
1936
- }
1937
1929
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1938
1930
  productId: number;
1939
1931
  resourceId: number;
@@ -1945,6 +1937,14 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1945
1937
  productPackages: ProductPackage[];
1946
1938
  resourceName?: string;
1947
1939
  }
1940
+ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1941
+ productId: number;
1942
+ variantTitleId: number;
1943
+ }
1944
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1945
+ productId: number;
1946
+ variantId: number;
1947
+ }
1948
1948
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1949
1949
  productId: number;
1950
1950
  customerId: number;
@@ -1991,36 +1991,6 @@ export declare class Program extends BondBaseEntity {
1991
1991
  programSeason: ProgramSeason[];
1992
1992
  purchasedResources: PurchasedResource[];
1993
1993
  }
1994
- export declare class ProgramHighlights extends BondBaseEntity {
1995
- type: ProgramHighlightTypeEnum;
1996
- ordinal: number | null;
1997
- title: string | null;
1998
- data: any | null;
1999
- program: Program;
2000
- deletedAt?: Date;
2001
- }
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;
2023
- }
2024
1994
  export declare class ProgramSeason extends BondBaseEntity {
2025
1995
  programId: number;
2026
1996
  name: string;
@@ -2076,10 +2046,45 @@ export declare class ProgramSeason extends BondBaseEntity {
2076
2046
  facility: Facility;
2077
2047
  purchasedResources: PurchasedResource[];
2078
2048
  }
2049
+ export declare class ProgramHighlights extends BondBaseEntity {
2050
+ type: ProgramHighlightTypeEnum;
2051
+ ordinal: number | null;
2052
+ title: string | null;
2053
+ data: any | null;
2054
+ program: Program;
2055
+ deletedAt?: Date;
2056
+ }
2057
+ export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2058
+ productUserId: number;
2059
+ resourceId: number;
2060
+ resourceType: ResourceNameTypeEnum;
2061
+ status: PurchasedResourceStatusEnum;
2062
+ startDate?: string;
2063
+ startTime?: string;
2064
+ endDate?: string;
2065
+ endTime?: string;
2066
+ productUser?: ProductsUsers;
2067
+ lineItem?: LineItems;
2068
+ eventAttendee?: EventAttendee;
2069
+ seasonAttendee?: SeasonAttendee;
2070
+ leagueAttendee?: SeasonPool;
2071
+ membership?: Membership;
2072
+ program?: Program;
2073
+ programSeason?: ProgramSeason;
2074
+ leagueSeason?: LeagueSeason;
2075
+ space?: Resource;
2076
+ product?: Product;
2077
+ event?: Event;
2078
+ }
2079
2079
  export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2080
2080
  title: string | null;
2081
2081
  answerTitle: AnswerTitle;
2082
2082
  }
2083
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2084
+ reason: string;
2085
+ ordinal: number;
2086
+ deletedAt: Date;
2087
+ }
2083
2088
  export declare class Questions extends BondBaseEntity {
2084
2089
  questionType: string | null;
2085
2090
  ordinal: number | null;
@@ -2094,11 +2099,6 @@ export declare class Questions extends BondBaseEntity {
2094
2099
  ownerId: number | null;
2095
2100
  questionnaireId: number | null;
2096
2101
  }
2097
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2098
- reason: string;
2099
- ordinal: number;
2100
- deletedAt: Date;
2101
- }
2102
2102
  export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2103
2103
  resourceType: ResourceNameTypeEnum;
2104
2104
  resourceId: number;
@@ -2177,6 +2177,14 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2177
2177
  purchasedResources: PurchasedResource[];
2178
2178
  linkSEO: string;
2179
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
+ }
2180
2188
  export declare class SeasonAttendee extends BondBaseEntity {
2181
2189
  status: RequestStatusEnum;
2182
2190
  paymentStatus: PaymentStatusEnum;
@@ -2212,14 +2220,6 @@ export declare class SeasonPool extends BondBaseEntity {
2212
2220
  purchasedResource: PurchasedResource;
2213
2221
  season: LeagueSeason;
2214
2222
  }
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;
2222
- }
2223
2223
  export declare class SeasonTeam extends BondBaseEntity {
2224
2224
  seasonId: number | null;
2225
2225
  teamId: number | null;
@@ -2234,6 +2234,14 @@ export declare class SpacesDependency extends BondBaseEntity {
2234
2234
  blockingSpaceId: number;
2235
2235
  blockedSpaceId: number;
2236
2236
  }
2237
+ export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2238
+ stationId: number;
2239
+ subcategoryId: number;
2240
+ productType: ProductTypesEnum;
2241
+ deletedAt?: Date;
2242
+ station: Station;
2243
+ subcategory: Subcategory;
2244
+ }
2237
2245
  export declare class Station extends OrganizationConnectionBaseEntity {
2238
2246
  name: string;
2239
2247
  facilityId: number;
@@ -2245,14 +2253,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2245
2253
  subcategories: Subcategory[];
2246
2254
  shifts?: Shift[];
2247
2255
  }
2248
- export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2249
- stationId: number;
2250
- subcategoryId: number;
2251
- productType: ProductTypesEnum;
2252
- deletedAt?: Date;
2253
- station: Station;
2254
- subcategory: Subcategory;
2255
- }
2256
2256
  export declare class Subcategory extends OrganizationConnectionBaseEntity {
2257
2257
  productType: ProductTypesEnum;
2258
2258
  name: string;
@@ -2358,6 +2358,14 @@ export declare class UserAuthorizations extends BondBaseEntity {
2358
2358
  entityType: UserAuthorizationsTypeEnum;
2359
2359
  user: User;
2360
2360
  }
2361
+ export declare class UserPaymentMethod extends BondBaseEntity {
2362
+ userId: number;
2363
+ failCount: number;
2364
+ isDefault?: boolean;
2365
+ paymentMethodType: PaymentMethodTypeEnum;
2366
+ paymentMethodId: string;
2367
+ nextAllowedChargeDate?: Date;
2368
+ }
2361
2369
  export declare class UserInFamilyAccount extends BondBaseEntity {
2362
2370
  familyAccountId: number;
2363
2371
  userId: number;
@@ -2371,14 +2379,6 @@ export declare class UsersInGroup extends BondBaseEntity {
2371
2379
  userId: number;
2372
2380
  deletedAt?: Date;
2373
2381
  }
2374
- export declare class UserPaymentMethod extends BondBaseEntity {
2375
- userId: number;
2376
- failCount: number;
2377
- isDefault?: boolean;
2378
- paymentMethodType: PaymentMethodTypeEnum;
2379
- paymentMethodId: string;
2380
- nextAllowedChargeDate?: Date;
2381
- }
2382
2382
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2383
2383
  name: string;
2384
2384
  variants: Variant[];
@@ -2637,6 +2637,7 @@ export declare enum PaymentMethodTypeEnum {
2637
2637
  BALANCE = "balance",
2638
2638
  CARD_ON_TERMINAL = "card-on-terminal",
2639
2639
  OTHER = "other",
2640
+ LOST_DEBT = "lost-debt",
2640
2641
  MIGRATED = "migrated",
2641
2642
  VOID = "void",
2642
2643
  GIFT_CARD = "gift-card"
@@ -3357,13 +3358,6 @@ export declare class ImportedPaymentDto {
3357
3358
  date: string;
3358
3359
  time: string;
3359
3360
  }
3360
- export declare class PunchPassDto {
3361
- CustomerID: string;
3362
- QuantityLeft: number;
3363
- BondProgramID: number;
3364
- BondSessionID: number;
3365
- ProductID: number;
3366
- }
3367
3361
  export declare class ProductIdsDto {
3368
3362
  productIds?: number[];
3369
3363
  }
@@ -3437,6 +3431,18 @@ export declare class MatchParticipants extends BondBaseEntity {
3437
3431
  score: number | null;
3438
3432
  gameSlotId: number | null;
3439
3433
  }
3434
+ export declare class PunchPassDto {
3435
+ CustomerID: string;
3436
+ QuantityLeft: number;
3437
+ BondProgramID: number;
3438
+ BondSessionID: number;
3439
+ ProductID: number;
3440
+ }
3441
+ export declare class Matches extends BondBaseEntity {
3442
+ eventId: number | null;
3443
+ status: number | null;
3444
+ excludeStandings: boolean | null;
3445
+ }
3440
3446
  export declare class RoundEvents extends BaseEntity {
3441
3447
  roundId: number;
3442
3448
  eventId: number;
@@ -3444,10 +3450,10 @@ export declare class RoundEvents extends BaseEntity {
3444
3450
  createdAt: Date;
3445
3451
  updatedAt: Date;
3446
3452
  }
3447
- export declare class Matches extends BondBaseEntity {
3453
+ export declare class TeamEvents extends BondBaseEntity {
3454
+ teamId: number | null;
3448
3455
  eventId: number | null;
3449
3456
  status: number | null;
3450
- excludeStandings: boolean | null;
3451
3457
  }
3452
3458
  export declare class SeasonRounds extends BondBaseEntity {
3453
3459
  seasonId: number;
@@ -3455,15 +3461,19 @@ export declare class SeasonRounds extends BondBaseEntity {
3455
3461
  divisionId?: number;
3456
3462
  name: string;
3457
3463
  }
3458
- export declare class TeamEvents extends BondBaseEntity {
3459
- teamId: number | null;
3460
- eventId: number | null;
3461
- status: number | null;
3462
- }
3463
3464
  export declare class Lock extends BondBaseEntity {
3464
3465
  name: string;
3465
3466
  locked?: Date;
3466
3467
  }
3468
+ export interface ValidatedMonthAndDay {
3469
+ valid: boolean;
3470
+ month?: number;
3471
+ day?: number;
3472
+ }
3473
+ export interface ValidationReason {
3474
+ valid: boolean;
3475
+ reason?: string;
3476
+ }
3467
3477
  export interface PaymentStatus {
3468
3478
  parentId: number;
3469
3479
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3476,14 +3486,11 @@ export interface PaymentStatusesDict {
3476
3486
  export interface PaymentStatusDict {
3477
3487
  [id: number]: ReservationPaymentStatusEnum;
3478
3488
  }
3479
- export interface ValidatedMonthAndDay {
3480
- valid: boolean;
3481
- month?: number;
3482
- day?: number;
3483
- }
3484
- export interface ValidationReason {
3485
- valid: boolean;
3486
- reason?: string;
3489
+ export declare class CreateMonitorConfigDto {
3490
+ facilityId: number;
3491
+ name: string;
3492
+ code: string;
3493
+ config: any;
3487
3494
  }
3488
3495
  export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3489
3496
  facilityId: number;
@@ -3497,11 +3504,29 @@ export declare class NotifyTracker extends BondBaseEntity {
3497
3504
  notfiyMethodtype: NotifyMethodEnum;
3498
3505
  destination: string;
3499
3506
  }
3500
- export declare class CreateMonitorConfigDto {
3501
- facilityId: number;
3502
- name: string;
3503
- code: string;
3504
- config: any;
3507
+ export declare class ByOrganizationIdDto {
3508
+ organizationId: number;
3509
+ }
3510
+ export declare class OptionalFindByOrganizationIdDto {
3511
+ organizationId?: number;
3512
+ }
3513
+ export declare class FindUnallocatedEventsIdsFiltersDto {
3514
+ programsIds?: string;
3515
+ sessionsIds?: string;
3516
+ segmentsIds?: string;
3517
+ startDate?: string;
3518
+ endDate?: string;
3519
+ months?: string;
3520
+ dow?: string;
3521
+ }
3522
+ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3523
+ programsIds?: string;
3524
+ sessionsIds?: string;
3525
+ segmentsIds?: string;
3526
+ startDate?: string;
3527
+ endDate?: string;
3528
+ months?: string;
3529
+ dow?: string;
3505
3530
  }
3506
3531
  export declare class Organization extends BondBaseEntity {
3507
3532
  name: string | null;
@@ -3552,30 +3577,6 @@ export declare class Organization extends BondBaseEntity {
3552
3577
  brandings: OrganizationBranding[];
3553
3578
  brandingsV2?: OrganizationBranding[];
3554
3579
  }
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
- }
3579
3580
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3580
3581
  key?: string;
3581
3582
  vaule?: string;
@@ -3585,6 +3586,10 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
3585
3586
  export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3586
3587
  mainAdminUserId?: number;
3587
3588
  }
3589
+ export declare class OrganizationUsers extends BondBaseEntity {
3590
+ organisationId: number | null;
3591
+ userId: number | null;
3592
+ }
3588
3593
  export interface UnallocatedEventsFilters {
3589
3594
  programsIds?: number[];
3590
3595
  sessionsIds?: number[];
@@ -3611,10 +3616,6 @@ export interface IUnallocatedEventRes {
3611
3616
  export interface IUnallocatedEventsIdsRes {
3612
3617
  data: IUnallocatedEventRes[];
3613
3618
  }
3614
- export declare class OrganizationUsers extends BondBaseEntity {
3615
- organisationId: number | null;
3616
- userId: number | null;
3617
- }
3618
3619
  export declare class CustomerIdDto {
3619
3620
  customerId: number;
3620
3621
  }
@@ -3769,6 +3770,16 @@ export declare class VoidLineItemDto {
3769
3770
  isEdit?: boolean;
3770
3771
  amount?: number;
3771
3772
  }
3773
+ export interface RefundResult extends PaymentsResults {
3774
+ successfulLineItems: RefundLineItemAmountDto[];
3775
+ failedLineItems: RefundLineItemAmountDto[];
3776
+ invoice?: Invoice;
3777
+ }
3778
+ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3779
+ successfulLineItems: Map<number, RefundLineItemAmountDto>;
3780
+ failedLineItems: Map<number, RefundLineItemAmountDto>;
3781
+ totalAmountProcessed: number;
3782
+ }
3772
3783
  export interface PaymentResult {
3773
3784
  paymentMethodId: string;
3774
3785
  paymentMethodType: PaymentMethodTypeEnum;
@@ -3794,16 +3805,6 @@ export interface ExtendedLineItems {
3794
3805
  products: LineItems[];
3795
3806
  events: LineItems[];
3796
3807
  }
3797
- export interface RefundResult extends PaymentsResults {
3798
- successfulLineItems: RefundLineItemAmountDto[];
3799
- failedLineItems: RefundLineItemAmountDto[];
3800
- invoice?: Invoice;
3801
- }
3802
- export interface RefundResultWithLineItemsDict extends PaymentsResults {
3803
- successfulLineItems: Map<number, RefundLineItemAmountDto>;
3804
- failedLineItems: Map<number, RefundLineItemAmountDto>;
3805
- totalAmountProcessed: number;
3806
- }
3807
3808
  export declare class AddonDto {
3808
3809
  productId: number;
3809
3810
  id?: number;
@@ -4078,6 +4079,23 @@ export declare class SegmentDto {
4078
4079
  publicNotesForSlots?: string;
4079
4080
  privateNotesForSlots?: string;
4080
4081
  }
4082
+ export declare class SeriesDto {
4083
+ id?: number;
4084
+ startDate: string;
4085
+ startTime?: string;
4086
+ endDate?: string;
4087
+ endTime?: string;
4088
+ slotDurationType: SlotDurationTypeEnum;
4089
+ durationEndsAfter?: number;
4090
+ durationUnit?: DurationUnitTypesEnum;
4091
+ frequency: FrequencyEnum;
4092
+ repeatEvery?: number;
4093
+ repeatOn?: number[];
4094
+ repeatEndDate?: string;
4095
+ numberOccurrences?: number;
4096
+ maintenance?: MaintenanceDto[];
4097
+ slots?: SlotDto[];
4098
+ }
4081
4099
  export declare class SlotDateTimeAndSpace {
4082
4100
  startDate: string;
4083
4101
  startTime?: string;
@@ -4140,23 +4158,6 @@ export declare class TimeSlotsDto {
4140
4158
  export declare class SlotsIdsDto {
4141
4159
  slotsIds: number[];
4142
4160
  }
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
- }
4160
4161
  declare class AnswerDto {
4161
4162
  questionId: number;
4162
4163
  value: any;
@@ -4194,12 +4195,6 @@ export declare class BookingV1Dto {
4194
4195
  cashPayment: boolean;
4195
4196
  requestOnly: boolean;
4196
4197
  }
4197
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4198
- deletedAt?: Date;
4199
- reservationId: number;
4200
- invoiceId: number;
4201
- slotId: number;
4202
- }
4203
4198
  export declare class Addon extends OrganizationConnectionBaseEntity {
4204
4199
  parentId: number;
4205
4200
  parentType: AddonParentTypeEnum;
@@ -4220,6 +4215,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
4220
4215
  previousProductUsersIds?: number[];
4221
4216
  previousProductUsers?: ProductsUsers[];
4222
4217
  }
4218
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4219
+ deletedAt?: Date;
4220
+ reservationId: number;
4221
+ invoiceId: number;
4222
+ slotId: number;
4223
+ }
4223
4224
  export declare class Reservation extends OrganizationConnectionBaseEntity {
4224
4225
  name?: string;
4225
4226
  description?: string;
@@ -4623,12 +4624,12 @@ export interface OverridePriceMeta {
4623
4624
  quantity: number;
4624
4625
  totalPrice: number;
4625
4626
  }
4626
- export declare class ChangeRolePermissionsDto {
4627
- permissionIds: number[];
4628
- }
4629
4627
  export declare class CreateRoleDto {
4630
4628
  name: string;
4631
4629
  }
4630
+ export declare class ChangeRolePermissionsDto {
4631
+ permissionIds: number[];
4632
+ }
4632
4633
  export declare class Permission extends BondBaseEntity {
4633
4634
  name: string;
4634
4635
  deletedAt?: Date;
@@ -4652,6 +4653,13 @@ export declare class CloseShiftDto {
4652
4653
  export declare class FindShiftsByIdsDto {
4653
4654
  shiftIds: number[];
4654
4655
  }
4656
+ export declare class ShiftManagementClosingAmount {
4657
+ shiftId: number;
4658
+ managementClosingCashAmount: number;
4659
+ }
4660
+ export declare class ManagementClosingOfShiftsDto {
4661
+ managementClosingData: ShiftManagementClosingAmount[];
4662
+ }
4655
4663
  export declare class FindShiftsFiltersDto {
4656
4664
  statuses?: string;
4657
4665
  stationIds?: string;
@@ -4672,13 +4680,6 @@ export declare class FindShiftsFormattedFilters {
4672
4680
  startDate?: Date;
4673
4681
  endDate?: Date;
4674
4682
  }
4675
- export declare class ShiftManagementClosingAmount {
4676
- shiftId: number;
4677
- managementClosingCashAmount: number;
4678
- }
4679
- export declare class ManagementClosingOfShiftsDto {
4680
- managementClosingData: ShiftManagementClosingAmount[];
4681
- }
4682
4683
  export declare class OpenShiftDto {
4683
4684
  openingCashAmount: number;
4684
4685
  stationId: number;