@bondsports/types 0.0.125 → 0.0.127

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
@@ -9,13 +9,6 @@ export declare class BasicActivityTimesDto {
9
9
  availabilityStartDate?: string;
10
10
  availabilityEndDate?: string;
11
11
  }
12
- export declare class FindBookingTypeSettingDto {
13
- organizationId: number;
14
- facilityId: number;
15
- spaceId: number;
16
- bookingDate: string;
17
- bookingTime: string;
18
- }
19
12
  export declare class QuestionAnswersDto {
20
13
  questionId: number;
21
14
  value: any;
@@ -94,6 +87,13 @@ export declare class AddEditCustomerDto {
94
87
  emergencyContactName?: string;
95
88
  emergencyContactPhone?: string;
96
89
  }
90
+ export declare class FindBookingTypeSettingDto {
91
+ organizationId: number;
92
+ facilityId: number;
93
+ spaceId: number;
94
+ bookingDate: string;
95
+ bookingTime: string;
96
+ }
97
97
  export declare class FindEventByIdDto {
98
98
  eventId: number;
99
99
  organizationId: number;
@@ -194,49 +194,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
194
194
  isWaiverSigned?: string;
195
195
  statuses?: string;
196
196
  }
197
- export declare class AddressDto {
198
- city: string;
199
- state: string;
200
- country: string;
201
- geo: number[];
202
- }
203
- export declare class OpeningTimeDto {
204
- open: string;
205
- close: string;
206
- dayOfWeek: number;
207
- }
208
- export declare class CreateFacilityDto {
209
- name: string;
210
- sports: number[];
211
- description?: string;
212
- longDescription?: string;
213
- info?: string;
214
- address: AddressDto;
215
- timezone: string;
216
- amenities: number[];
217
- openingTimes: OpeningTimeDto[];
218
- resourcesIds?: number[];
219
- }
220
- export declare class UpdateFacilityDetailsDto {
221
- name?: string;
222
- description?: string;
223
- longDescription?: string;
224
- info?: string;
225
- address?: AddressDto;
226
- timezone?: string;
227
- }
228
- export declare class UpdateFacilityOpeningTimesDto {
229
- openingTimes: OpeningTimeDto[];
230
- }
231
- export declare class UpdateFacilitySportsDto {
232
- sports: number[];
233
- }
234
- export declare class UpdateFacilityAmenitiesDto {
235
- amenities: number[];
236
- }
237
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
238
- nameSearch?: string;
239
- }
240
197
  export declare class FindFamilyAccountsDto {
241
198
  userId: number;
242
199
  }
@@ -281,6 +238,49 @@ export declare class PaginationRangeQuery {
281
238
  endPage: number;
282
239
  itemsPerPage: number;
283
240
  }
241
+ export declare class AddressDto {
242
+ city: string;
243
+ state: string;
244
+ country: string;
245
+ geo: number[];
246
+ }
247
+ export declare class OpeningTimeDto {
248
+ open: string;
249
+ close: string;
250
+ dayOfWeek: number;
251
+ }
252
+ export declare class CreateFacilityDto {
253
+ name: string;
254
+ sports: number[];
255
+ description?: string;
256
+ longDescription?: string;
257
+ info?: string;
258
+ address: AddressDto;
259
+ timezone: string;
260
+ amenities: number[];
261
+ openingTimes: OpeningTimeDto[];
262
+ resourcesIds?: number[];
263
+ }
264
+ export declare class UpdateFacilityDetailsDto {
265
+ name?: string;
266
+ description?: string;
267
+ longDescription?: string;
268
+ info?: string;
269
+ address?: AddressDto;
270
+ timezone?: string;
271
+ }
272
+ export declare class UpdateFacilityOpeningTimesDto {
273
+ openingTimes: OpeningTimeDto[];
274
+ }
275
+ export declare class UpdateFacilitySportsDto {
276
+ sports: number[];
277
+ }
278
+ export declare class UpdateFacilityAmenitiesDto {
279
+ amenities: number[];
280
+ }
281
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
282
+ nameSearch?: string;
283
+ }
284
284
  export declare class FindGlCodeByOrganizationIdDto {
285
285
  organizationId: number;
286
286
  }
@@ -888,50 +888,6 @@ export declare class MoveParticipantDto {
888
888
  resourceId: number;
889
889
  invoiceId: number;
890
890
  }
891
- export declare class FindProgramsByOrganizationIdDto {
892
- organizationId: number;
893
- programType?: ProgramTypesEnum;
894
- }
895
- export declare class FindProgramByIdDto {
896
- programId: number;
897
- }
898
- export declare class FindProgramByOrgIdAndIdDto {
899
- programId: number;
900
- organizationId: number;
901
- }
902
- export declare class BaseProgramDto {
903
- type: ProgramTypesEnum;
904
- name: string;
905
- sport: SportsEnum;
906
- minAge: string;
907
- maxAge: string;
908
- gender: GenderEnum;
909
- level?: LevelOfPlayEnum[];
910
- description?: string;
911
- GL?: string;
912
- status: PublishingStatusEnum;
913
- organizationId: number;
914
- userCreatorId: number;
915
- highlights: ProgramHighlights[];
916
- longDescription?: string;
917
- requiredProductIds: number[];
918
- }
919
- export declare class CreateProgramDto extends BaseProgramDto {
920
- }
921
- export declare class UpdateProgramDto extends BaseProgramDto {
922
- programId: number;
923
- mainMediaId: number;
924
- }
925
- export declare class UpdateProgramStatusDto {
926
- programId: number;
927
- status: PublishingStatusEnum;
928
- }
929
- export declare class ProgramHighlightDto {
930
- data: string;
931
- ordinal: number;
932
- type: ProgramHighlightTypeEnum;
933
- title: string;
934
- }
935
891
  export declare class PurchasePaymentDto {
936
892
  token: string;
937
893
  type: PaymentMethodTypeEnum;
@@ -1013,6 +969,50 @@ export declare class CreateResourceGroupDto {
1013
969
  }
1014
970
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
1015
971
  }
972
+ export declare class FindProgramsByOrganizationIdDto {
973
+ organizationId: number;
974
+ programType?: ProgramTypesEnum;
975
+ }
976
+ export declare class FindProgramByIdDto {
977
+ programId: number;
978
+ }
979
+ export declare class FindProgramByOrgIdAndIdDto {
980
+ programId: number;
981
+ organizationId: number;
982
+ }
983
+ export declare class BaseProgramDto {
984
+ type: ProgramTypesEnum;
985
+ name: string;
986
+ sport: SportsEnum;
987
+ minAge: string;
988
+ maxAge: string;
989
+ gender: GenderEnum;
990
+ level?: LevelOfPlayEnum[];
991
+ description?: string;
992
+ GL?: string;
993
+ status: PublishingStatusEnum;
994
+ organizationId: number;
995
+ userCreatorId: number;
996
+ highlights: ProgramHighlights[];
997
+ longDescription?: string;
998
+ requiredProductIds: number[];
999
+ }
1000
+ export declare class CreateProgramDto extends BaseProgramDto {
1001
+ }
1002
+ export declare class UpdateProgramDto extends BaseProgramDto {
1003
+ programId: number;
1004
+ mainMediaId: number;
1005
+ }
1006
+ export declare class UpdateProgramStatusDto {
1007
+ programId: number;
1008
+ status: PublishingStatusEnum;
1009
+ }
1010
+ export declare class ProgramHighlightDto {
1011
+ data: string;
1012
+ ordinal: number;
1013
+ type: ProgramHighlightTypeEnum;
1014
+ title: string;
1015
+ }
1016
1016
  export declare class ResourceDto {
1017
1017
  type: ResourceNameTypeEnum;
1018
1018
  id: number;
@@ -1216,13 +1216,23 @@ export declare class Connection extends BondBaseEntity {
1216
1216
  userCreatorId: number | null;
1217
1217
  ownerId: number | null;
1218
1218
  }
1219
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1220
- creditAmount: number;
1221
- paymentProcessorId: string;
1219
+ export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1220
+ customerId: number;
1222
1221
  userId: number;
1223
- paymentId: number;
1224
- invoiceId: number;
1225
- creditPaymentId: number;
1222
+ amount: number;
1223
+ paymentId?: number;
1224
+ invoiceId?: number;
1225
+ description?: string;
1226
+ deletedAt?: Date;
1227
+ customer: Customer;
1228
+ invoice: Invoice;
1229
+ payment: Payment;
1230
+ }
1231
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1232
+ customerId?: number;
1233
+ description: string;
1234
+ pinToTop?: boolean;
1235
+ customer: Customer;
1226
1236
  }
1227
1237
  export declare class Customer extends OrganizationConnectionBaseEntity {
1228
1238
  name: string | null;
@@ -1252,24 +1262,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1252
1262
  mainMedia: Media;
1253
1263
  reservations?: Reservation[];
1254
1264
  }
1255
- export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1256
- customerId: number;
1257
- userId: number;
1258
- amount: number;
1259
- paymentId?: number;
1260
- invoiceId?: number;
1261
- description?: string;
1262
- deletedAt?: Date;
1263
- customer: Customer;
1264
- invoice: Invoice;
1265
- payment: Payment;
1266
- }
1267
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1268
- customerId?: number;
1269
- description: string;
1270
- pinToTop?: boolean;
1271
- customer: Customer;
1272
- }
1273
1265
  export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1274
1266
  customerId: number;
1275
1267
  name: string | null;
@@ -1279,6 +1271,22 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1279
1271
  export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1280
1272
  name: string | null;
1281
1273
  }
1274
+ export declare class Division extends BondBaseEntity {
1275
+ name: string;
1276
+ ordinal?: number;
1277
+ programSeasonId: number;
1278
+ color: string;
1279
+ isDefault: boolean;
1280
+ groups: Group[];
1281
+ }
1282
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1283
+ creditAmount: number;
1284
+ paymentProcessorId: string;
1285
+ userId: number;
1286
+ paymentId: number;
1287
+ invoiceId: number;
1288
+ creditPaymentId: number;
1289
+ }
1282
1290
  export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1283
1291
  groupId: number;
1284
1292
  terms: IEntitlementTerms[];
@@ -1298,18 +1306,42 @@ export declare class EventAttendee extends BondBaseEntity {
1298
1306
  event: Event;
1299
1307
  purchasedResource: PurchasedResource;
1300
1308
  }
1301
- export declare class Division extends BondBaseEntity {
1309
+ export declare class Facility extends OrganizationConnectionBaseEntity {
1302
1310
  name: string;
1303
- ordinal?: number;
1304
- programSeasonId: number;
1305
- color: string;
1306
- isDefault: boolean;
1307
- groups: Group[];
1308
- }
1309
- export declare class Event extends OrganizationConnectionBaseEntity {
1310
- constructor();
1311
- defineCalculatedDateTimeProps(): void;
1312
- title: string | null;
1311
+ description?: string;
1312
+ addressId: number;
1313
+ address: Address;
1314
+ amenities?: number[];
1315
+ timezone: string;
1316
+ creatorId: number;
1317
+ creatorType: string;
1318
+ userCreatorId: number;
1319
+ mainMediaId: number;
1320
+ mainMedia: Media;
1321
+ publishedDate?: Date;
1322
+ isPublished: boolean;
1323
+ sports?: number[];
1324
+ info?: string;
1325
+ longDescription?: string;
1326
+ deletedAt?: Date;
1327
+ openingTimes: OpeningTime[];
1328
+ resources: Resource[];
1329
+ spaces: Resource[];
1330
+ programSeasons: ProgramSeason[];
1331
+ linkSEO: string;
1332
+ }
1333
+ export declare class FacilityToResource extends BondBaseEntity {
1334
+ facilityId: number;
1335
+ resourceId: number;
1336
+ }
1337
+ export declare class FamilyAccount extends BondBaseEntity {
1338
+ name: string | null;
1339
+ userInFamilyAccounts: UserInFamilyAccount[];
1340
+ }
1341
+ export declare class Event extends OrganizationConnectionBaseEntity {
1342
+ constructor();
1343
+ defineCalculatedDateTimeProps(): void;
1344
+ title: string | null;
1313
1345
  description: string | null;
1314
1346
  eventType: number | null;
1315
1347
  startDate: Date | null;
@@ -1364,38 +1396,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
1364
1396
  session?: ProgramSeason;
1365
1397
  segment?: ProgramSeason;
1366
1398
  }
1367
- export declare class Facility extends OrganizationConnectionBaseEntity {
1368
- name: string;
1369
- description?: string;
1370
- addressId: number;
1371
- address: Address;
1372
- amenities?: number[];
1373
- timezone: string;
1374
- creatorId: number;
1375
- creatorType: string;
1376
- userCreatorId: number;
1377
- mainMediaId: number;
1378
- mainMedia: Media;
1379
- publishedDate?: Date;
1380
- isPublished: boolean;
1381
- sports?: number[];
1382
- info?: string;
1383
- longDescription?: string;
1384
- deletedAt?: Date;
1385
- openingTimes: OpeningTime[];
1386
- resources: Resource[];
1387
- spaces: Resource[];
1388
- programSeasons: ProgramSeason[];
1389
- linkSEO: string;
1390
- }
1391
- export declare class FacilityToResource extends BondBaseEntity {
1392
- facilityId: number;
1393
- resourceId: number;
1394
- }
1395
- export declare class FamilyAccount extends BondBaseEntity {
1396
- name: string | null;
1397
- userInFamilyAccounts: UserInFamilyAccount[];
1398
- }
1399
1399
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1400
1400
  userId: number;
1401
1401
  invoiceId: number;
@@ -1407,9 +1407,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1407
1407
  chargedAt?: Date;
1408
1408
  originalPlannedDate?: Date;
1409
1409
  }
1410
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1411
- code: string;
1412
- }
1413
1410
  export declare class Group extends BondBaseEntity {
1414
1411
  name: string;
1415
1412
  description?: string;
@@ -1439,6 +1436,9 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1439
1436
  discountMethod?: DiscountMethodsEnum;
1440
1437
  discountValue?: number;
1441
1438
  }
1439
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1440
+ code: string;
1441
+ }
1442
1442
  export declare class GroupsInDivisions extends BondBaseEntity {
1443
1443
  groupId: number;
1444
1444
  divisionId: number;
@@ -1468,6 +1468,15 @@ export declare class Invoice extends BondBaseEntity {
1468
1468
  invoiceNotes: InvoiceNote[];
1469
1469
  slots: Slot[];
1470
1470
  }
1471
+ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1472
+ content: string;
1473
+ creatingUserId: number;
1474
+ user: User;
1475
+ isPublic: boolean;
1476
+ deletedAt: Date;
1477
+ invoiceId: number;
1478
+ invoice: Invoice;
1479
+ }
1471
1480
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1472
1481
  email: string;
1473
1482
  status: EEmailStatus;
@@ -1479,15 +1488,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1479
1488
  mailParams?: any;
1480
1489
  memo?: string;
1481
1490
  }
1482
- export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1483
- content: string;
1484
- creatingUserId: number;
1485
- user: User;
1486
- isPublic: boolean;
1487
- deletedAt: Date;
1488
- invoiceId: number;
1489
- invoice: Invoice;
1490
- }
1491
1491
  export declare class InvoiceToPayment extends BondBaseEntity {
1492
1492
  invoiceId: number;
1493
1493
  paymentId: number;
@@ -1496,6 +1496,32 @@ export declare class InvoiceToPayment extends BondBaseEntity {
1496
1496
  paidAmount?: number;
1497
1497
  currency: CurrencyEnum;
1498
1498
  }
1499
+ export declare class League extends OrganizationConnectionBaseEntity {
1500
+ name: string | null;
1501
+ description: string | null;
1502
+ allowBookingRequest: boolean | null;
1503
+ addressName: string | null;
1504
+ shortDescription: string | null;
1505
+ waiverDoc: string | null;
1506
+ bookingStateStatus: number | null;
1507
+ timezone: string | null;
1508
+ shortUrl: string | null;
1509
+ leagueType: string | null;
1510
+ addressId: number | null;
1511
+ sportConfigData: any | null;
1512
+ creatorId: number | null;
1513
+ creatorType: string | null;
1514
+ userCreatorId: number | null;
1515
+ ownerId: number | null;
1516
+ sports: number[] | null;
1517
+ mainMediaId: number | null;
1518
+ publishedDate: Date | null;
1519
+ isPublished: boolean | null;
1520
+ isVerified: boolean | null;
1521
+ questionnaireId: number | null;
1522
+ logo?: Media;
1523
+ seasons: LeagueSeason[];
1524
+ }
1499
1525
  export declare class LeagueSeason extends BondBaseEntity {
1500
1526
  leagueId: number | null;
1501
1527
  name: string | null;
@@ -1595,42 +1621,6 @@ export declare class LineItems extends BondBaseEntity {
1595
1621
  displayUnitPrice?: number;
1596
1622
  displayQuantity?: number;
1597
1623
  }
1598
- export declare class LineItemHistory extends BondBaseEntity {
1599
- invoiceId: number;
1600
- paymentId: number;
1601
- lineItemId: number;
1602
- paidAmount: number;
1603
- unitPaidAmount: number;
1604
- currency: CurrencyEnum;
1605
- payment: Payment;
1606
- lineItem: LineItems;
1607
- }
1608
- export declare class League extends OrganizationConnectionBaseEntity {
1609
- name: string | null;
1610
- description: string | null;
1611
- allowBookingRequest: boolean | null;
1612
- addressName: string | null;
1613
- shortDescription: string | null;
1614
- waiverDoc: string | null;
1615
- bookingStateStatus: number | null;
1616
- timezone: string | null;
1617
- shortUrl: string | null;
1618
- leagueType: string | null;
1619
- addressId: number | null;
1620
- sportConfigData: any | null;
1621
- creatorId: number | null;
1622
- creatorType: string | null;
1623
- userCreatorId: number | null;
1624
- ownerId: number | null;
1625
- sports: number[] | null;
1626
- mainMediaId: number | null;
1627
- publishedDate: Date | null;
1628
- isPublished: boolean | null;
1629
- isVerified: boolean | null;
1630
- questionnaireId: number | null;
1631
- logo?: Media;
1632
- seasons: LeagueSeason[];
1633
- }
1634
1624
  export declare class LinkedAccounts extends BondBaseEntity {
1635
1625
  id: number;
1636
1626
  provider: string;
@@ -1647,6 +1637,35 @@ export declare class LinkedAccounts extends BondBaseEntity {
1647
1637
  user: User;
1648
1638
  userId: number | null;
1649
1639
  }
1640
+ export declare class Media extends BondBaseEntity {
1641
+ url: string;
1642
+ name: string | null;
1643
+ title: string | null;
1644
+ mediaKey: string | null;
1645
+ description: string | null;
1646
+ provider: string | null;
1647
+ mediaType: number;
1648
+ fileType: string | null;
1649
+ isDefault: boolean | null;
1650
+ creatorId: number | null;
1651
+ creatorType: string | null;
1652
+ userCreatorId: number | null;
1653
+ ownerId: number | null;
1654
+ createdBy: number | null;
1655
+ users: User[];
1656
+ programs: Program[];
1657
+ memberships: Membership[];
1658
+ }
1659
+ export declare class LineItemHistory extends BondBaseEntity {
1660
+ invoiceId: number;
1661
+ paymentId: number;
1662
+ lineItemId: number;
1663
+ paidAmount: number;
1664
+ unitPaidAmount: number;
1665
+ currency: CurrencyEnum;
1666
+ payment: Payment;
1667
+ lineItem: LineItems;
1668
+ }
1650
1669
  export declare class Membership extends OrganizationConnectionBaseEntity {
1651
1670
  name: string;
1652
1671
  description?: string;
@@ -1701,6 +1720,9 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
1701
1720
  resourceId: number | null;
1702
1721
  resourceType: string | null;
1703
1722
  }
1723
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1724
+ organizationId: number;
1725
+ }
1704
1726
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1705
1727
  id: number;
1706
1728
  dayOfWeek: number;
@@ -1712,9 +1734,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1712
1734
  deletedAt?: Date;
1713
1735
  facility: Facility;
1714
1736
  }
1715
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1716
- organizationId: number;
1717
- }
1718
1737
  export declare class PackageV1 extends BondBaseEntity {
1719
1738
  name?: string;
1720
1739
  description?: string;
@@ -1738,6 +1757,10 @@ export declare class PasswordReset extends BondBaseEntity {
1738
1757
  validUntil: Date | null;
1739
1758
  active: boolean | null;
1740
1759
  }
1760
+ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1761
+ failureIndex: number;
1762
+ waitingDays: number;
1763
+ }
1741
1764
  export declare class Payment extends OrganizationConnectionBaseEntity {
1742
1765
  price: number;
1743
1766
  paymentProcessorId: string;
@@ -1765,16 +1788,18 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1765
1788
  refundReasonId?: number;
1766
1789
  refundNote?: string;
1767
1790
  }
1768
- export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1769
- failureIndex: number;
1770
- waitingDays: number;
1771
- }
1772
1791
  export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1773
1792
  paymentInstallmentId?: number;
1774
1793
  invoiceId: number;
1775
1794
  reason: string;
1776
1795
  errorMessage: string;
1777
1796
  }
1797
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1798
+ paymentPlanId: number;
1799
+ paymentDate: Date;
1800
+ deletedAt?: Date;
1801
+ paymentPlan: ProductPaymentPlan;
1802
+ }
1778
1803
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1779
1804
  content: string;
1780
1805
  creatingUserId: number;
@@ -1784,30 +1809,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1784
1809
  paymentId: number;
1785
1810
  payment: Payment;
1786
1811
  }
1787
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1788
- paymentPlanId: number;
1789
- paymentDate: Date;
1790
- deletedAt?: Date;
1791
- paymentPlan: ProductPaymentPlan;
1792
- }
1793
- export declare class PaymentV1 extends BondBaseEntity {
1794
- userId: number | null;
1795
- ownerId: number | null;
1796
- parentId: number | null;
1797
- parentType: string | null;
1798
- idAtProvider: string | null;
1799
- providerType: number | null;
1800
- providerExtraData: string | null;
1801
- requestData: string | null;
1802
- responseData: string | null;
1803
- status: number | null;
1804
- price: number | null;
1805
- currency: string | null;
1806
- locked: boolean | null;
1807
- numberOfTries: number | null;
1808
- installmentId: number | null;
1809
- invoiceId: string | null;
1810
- }
1811
1812
  export declare class Price extends OrganizationConnectionBaseEntity {
1812
1813
  productId: number;
1813
1814
  product: Product;
@@ -1890,6 +1891,24 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1890
1891
  durationDays?: number;
1891
1892
  level?: ProductPackageLevelEnum;
1892
1893
  }
1894
+ export declare class PaymentV1 extends BondBaseEntity {
1895
+ userId: number | null;
1896
+ ownerId: number | null;
1897
+ parentId: number | null;
1898
+ parentType: string | null;
1899
+ idAtProvider: string | null;
1900
+ providerType: number | null;
1901
+ providerExtraData: string | null;
1902
+ requestData: string | null;
1903
+ responseData: string | null;
1904
+ status: number | null;
1905
+ price: number | null;
1906
+ currency: string | null;
1907
+ locked: boolean | null;
1908
+ numberOfTries: number | null;
1909
+ installmentId: number | null;
1910
+ invoiceId: string | null;
1911
+ }
1893
1912
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1894
1913
  productId: number;
1895
1914
  maxMonths?: number;
@@ -1910,14 +1929,14 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1910
1929
  productPackages: ProductPackage[];
1911
1930
  resourceName?: string;
1912
1931
  }
1913
- export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1914
- productId: number;
1915
- variantTitleId: number;
1916
- }
1917
1932
  export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1918
1933
  productId: number;
1919
1934
  variantId: number;
1920
1935
  }
1936
+ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1937
+ productId: number;
1938
+ variantTitleId: number;
1939
+ }
1921
1940
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1922
1941
  productId: number;
1923
1942
  customerId: number;
@@ -1964,14 +1983,6 @@ export declare class Program extends BondBaseEntity {
1964
1983
  programSeason: ProgramSeason[];
1965
1984
  purchasedResources: PurchasedResource[];
1966
1985
  }
1967
- export declare class ProgramHighlights extends BondBaseEntity {
1968
- type: ProgramHighlightTypeEnum;
1969
- ordinal: number | null;
1970
- title: string | null;
1971
- data: any | null;
1972
- program: Program;
1973
- deletedAt?: Date;
1974
- }
1975
1986
  export declare class ProgramSeason extends BondBaseEntity {
1976
1987
  programId: number;
1977
1988
  name: string;
@@ -2027,24 +2038,13 @@ export declare class ProgramSeason extends BondBaseEntity {
2027
2038
  facility: Facility;
2028
2039
  purchasedResources: PurchasedResource[];
2029
2040
  }
2030
- export declare class Media extends BondBaseEntity {
2031
- url: string;
2032
- name: string | null;
2041
+ export declare class ProgramHighlights extends BondBaseEntity {
2042
+ type: ProgramHighlightTypeEnum;
2043
+ ordinal: number | null;
2033
2044
  title: string | null;
2034
- mediaKey: string | null;
2035
- description: string | null;
2036
- provider: string | null;
2037
- mediaType: number;
2038
- fileType: string | null;
2039
- isDefault: boolean | null;
2040
- creatorId: number | null;
2041
- creatorType: string | null;
2042
- userCreatorId: number | null;
2043
- ownerId: number | null;
2044
- createdBy: number | null;
2045
- users: User[];
2046
- programs: Program[];
2047
- memberships: Membership[];
2045
+ data: any | null;
2046
+ program: Program;
2047
+ deletedAt?: Date;
2048
2048
  }
2049
2049
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2050
2050
  productUserId: number;
@@ -2068,6 +2068,21 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2068
2068
  product?: Product;
2069
2069
  event?: Event;
2070
2070
  }
2071
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2072
+ title: string | null;
2073
+ answerTitle: AnswerTitle;
2074
+ }
2075
+ export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2076
+ resourceType: ResourceNameTypeEnum;
2077
+ resourceId: number;
2078
+ openNumDays?: number;
2079
+ openNumMinutes?: number;
2080
+ openTime?: string;
2081
+ closeNumDays?: number;
2082
+ closeNumMinutes?: number;
2083
+ closeTime?: string;
2084
+ deletedAt?: Date;
2085
+ }
2071
2086
  export declare class Questions extends BondBaseEntity {
2072
2087
  questionType: string | null;
2073
2088
  ordinal: number | null;
@@ -2082,22 +2097,6 @@ export declare class Questions extends BondBaseEntity {
2082
2097
  ownerId: number | null;
2083
2098
  questionnaireId: number | null;
2084
2099
  }
2085
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2086
- reason: string;
2087
- ordinal: number;
2088
- deletedAt: Date;
2089
- }
2090
- export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2091
- resourceType: ResourceNameTypeEnum;
2092
- resourceId: number;
2093
- openNumDays?: number;
2094
- openNumMinutes?: number;
2095
- openTime?: string;
2096
- closeNumDays?: number;
2097
- closeNumMinutes?: number;
2098
- closeTime?: string;
2099
- deletedAt?: Date;
2100
- }
2101
2100
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2102
2101
  name?: string;
2103
2102
  description?: string;
@@ -2130,6 +2129,18 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2130
2129
  publicNotes?: string;
2131
2130
  slots?: Slot[];
2132
2131
  }
2132
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2133
+ reason: string;
2134
+ ordinal: number;
2135
+ deletedAt: Date;
2136
+ }
2137
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2138
+ name: string;
2139
+ facilityId: number;
2140
+ parentSlotId: number;
2141
+ childrenSlotIds: number[];
2142
+ deletedAt?: Date;
2143
+ }
2133
2144
  export declare class Resource extends OrganizationConnectionBaseEntity {
2134
2145
  name: string;
2135
2146
  resourceType: ResourceTypeEnum;
@@ -2158,13 +2169,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2158
2169
  purchasedResources: PurchasedResource[];
2159
2170
  linkSEO: string;
2160
2171
  }
2161
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2162
- name: string;
2163
- facilityId: number;
2164
- parentSlotId: number;
2165
- childrenSlotIds: number[];
2166
- deletedAt?: Date;
2167
- }
2168
2172
  export declare class School extends BondBaseEntity {
2169
2173
  name: string | null;
2170
2174
  alias: string[] | null;
@@ -2193,20 +2197,9 @@ export declare class SeasonDivisions extends BondBaseEntity {
2193
2197
  seasonId: number | null;
2194
2198
  color: string | null;
2195
2199
  }
2196
- export declare class SeasonPool extends BondBaseEntity {
2197
- seasonId?: number;
2198
- userId?: number;
2199
- status?: number;
2200
- entityId?: number;
2201
- entityType?: string;
2202
- groupId?: string;
2203
- paymentStatus?: PaymentStatusV1Enum;
2204
- metadata?: any;
2205
- paymentId?: number;
2206
- externalAssign?: boolean;
2207
- productUserId?: number;
2208
- purchasedResource: PurchasedResource;
2209
- season: LeagueSeason;
2200
+ export declare class SpacesDependency extends BondBaseEntity {
2201
+ blockingSpaceId: number;
2202
+ blockedSpaceId: number;
2210
2203
  }
2211
2204
  export declare class SeasonTeam extends BondBaseEntity {
2212
2205
  seasonId: number | null;
@@ -2218,9 +2211,13 @@ export declare class SeasonTeam extends BondBaseEntity {
2218
2211
  metaData: any | null;
2219
2212
  team: Team;
2220
2213
  }
2221
- export declare class SpacesDependency extends BondBaseEntity {
2222
- blockingSpaceId: number;
2223
- blockedSpaceId: number;
2214
+ export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2215
+ stationId: number;
2216
+ subcategoryId: number;
2217
+ productType: ProductTypesEnum;
2218
+ deletedAt?: Date;
2219
+ station: Station;
2220
+ subcategory: Subcategory;
2224
2221
  }
2225
2222
  export declare class Station extends OrganizationConnectionBaseEntity {
2226
2223
  name: string;
@@ -2233,14 +2230,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2233
2230
  subcategories: Subcategory[];
2234
2231
  shifts?: Shift[];
2235
2232
  }
2236
- export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2237
- stationId: number;
2238
- subcategoryId: number;
2239
- productType: ProductTypesEnum;
2240
- deletedAt?: Date;
2241
- station: Station;
2242
- subcategory: Subcategory;
2243
- }
2244
2233
  export declare class Subcategory extends OrganizationConnectionBaseEntity {
2245
2234
  productType: ProductTypesEnum;
2246
2235
  name: string;
@@ -2292,6 +2281,21 @@ export declare class TeamInvite extends BondBaseEntity {
2292
2281
  tokenExpirationDate: Date;
2293
2282
  isUsed: boolean;
2294
2283
  }
2284
+ export declare class SeasonPool extends BondBaseEntity {
2285
+ seasonId?: number;
2286
+ userId?: number;
2287
+ status?: number;
2288
+ entityId?: number;
2289
+ entityType?: string;
2290
+ groupId?: string;
2291
+ paymentStatus?: PaymentStatusV1Enum;
2292
+ metadata?: any;
2293
+ paymentId?: number;
2294
+ externalAssign?: boolean;
2295
+ productUserId?: number;
2296
+ purchasedResource: PurchasedResource;
2297
+ season: LeagueSeason;
2298
+ }
2295
2299
  export declare class TeamMember extends BondBaseEntity {
2296
2300
  teamId: number | null;
2297
2301
  userId: number | null;
@@ -2301,6 +2305,20 @@ export declare class TeamMember extends BondBaseEntity {
2301
2305
  role: TeamMemberRoleEnum;
2302
2306
  user: User;
2303
2307
  }
2308
+ export declare class UserAuthorizations extends BondBaseEntity {
2309
+ entityId: number | null;
2310
+ userId: number | null;
2311
+ entityType: UserAuthorizationsTypeEnum;
2312
+ user: User;
2313
+ }
2314
+ export declare class UserPaymentMethod extends BondBaseEntity {
2315
+ userId: number;
2316
+ failCount: number;
2317
+ isDefault?: boolean;
2318
+ paymentMethodType: PaymentMethodTypeEnum;
2319
+ paymentMethodId: string;
2320
+ nextAllowedChargeDate?: Date;
2321
+ }
2304
2322
  export declare class User extends BondBaseEntity {
2305
2323
  firstName: string | null;
2306
2324
  lastName: string | null;
@@ -2340,32 +2358,11 @@ export declare class User extends BondBaseEntity {
2340
2358
  invoiceNotes: InvoiceNote[];
2341
2359
  paymentNotes: PaymentNote[];
2342
2360
  }
2343
- export declare class UserAuthorizations extends BondBaseEntity {
2344
- entityId: number | null;
2345
- userId: number | null;
2346
- entityType: UserAuthorizationsTypeEnum;
2347
- user: User;
2348
- }
2349
- export declare class UserInFamilyAccount extends BondBaseEntity {
2350
- familyAccountId: number;
2361
+ export declare class UsersInGroup extends BondBaseEntity {
2362
+ groupId: number;
2351
2363
  userId: number;
2352
- isAdmin: boolean;
2353
- user: User;
2354
- familyAccount: FamilyAccount;
2355
2364
  deletedAt?: Date;
2356
2365
  }
2357
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2358
- title: string | null;
2359
- answerTitle: AnswerTitle;
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
- }
2369
2366
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2370
2367
  name: string;
2371
2368
  variants: Variant[];
@@ -2376,6 +2373,14 @@ export declare class Variant extends OrganizationConnectionBaseEntity {
2376
2373
  variantTitle: VariantTitle;
2377
2374
  deletedAt?: Date;
2378
2375
  }
2376
+ export declare class UserInFamilyAccount extends BondBaseEntity {
2377
+ familyAccountId: number;
2378
+ userId: number;
2379
+ isAdmin: boolean;
2380
+ user: User;
2381
+ familyAccount: FamilyAccount;
2382
+ deletedAt?: Date;
2383
+ }
2379
2384
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
2380
2385
  projectToken: string;
2381
2386
  programTypesCollectionId?: string;
@@ -2384,424 +2389,59 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2384
2389
  membershipCollectionId?: string;
2385
2390
  programsCollectionId?: string;
2386
2391
  }
2387
- export declare class UsersInGroup extends BondBaseEntity {
2388
- groupId: number;
2389
- userId: number;
2390
- deletedAt?: Date;
2391
- }
2392
- export interface IEntitlementTerms {
2393
- type: EntitlementTermsTypesEnum;
2394
- id?: number;
2395
- value?: string;
2396
- minValue?: string;
2397
- maxValue?: string;
2392
+ export declare enum EntitlementTermsTypesEnum {
2393
+ QUESTION = "question",
2394
+ CITY = "city",
2395
+ MEMBERSHIP = "membership"
2398
2396
  }
2399
- export interface IQuestionAnswerObject {
2400
- questionId: number;
2401
- value: string;
2397
+ export declare enum ResourceNameTypeEnum {
2398
+ EVENT = "event",
2399
+ VENUE = "venue",
2400
+ TEAM = "team",
2401
+ LEAGUE = "league",
2402
+ USER = "user",
2403
+ ORGANIZATION = "organization",
2404
+ APP = "app",
2405
+ FEED = "feed",
2406
+ MATCH = "match",
2407
+ ROUND = "round",
2408
+ PORTAL = "portal",
2409
+ SEASON = "season",
2410
+ TOURNAMENT = "tournament",
2411
+ MEMBERSHIP = "membership",
2412
+ DIVISION = "division",
2413
+ GAMESLOT = "gameslot",
2414
+ SPACE = "space",
2415
+ RESERVATION = "reservation",
2416
+ INVOICE = "invoice",
2417
+ CUSTOMER = "customer",
2418
+ PACKAGE = "package",
2419
+ FACILITY = "facility",
2420
+ PROGRAM = "program",
2421
+ PROGRAM_SEASON = "program_season",
2422
+ PRODUCT = "product",
2423
+ GROUP = "group",
2424
+ VARIANT = "variant",
2425
+ SLOT = "slot",
2426
+ ADDON = "addon"
2402
2427
  }
2403
- export interface ILowestPriceForItem {
2404
- itemId: number;
2405
- itemType: ResourceNameTypeEnum;
2406
- groupId: number;
2407
- groupName?: string;
2408
- price: number;
2409
- overridesPrice: boolean;
2428
+ export declare enum DirectBookingTypesEnum {
2429
+ DIRECT_FOR_ALL = "all",
2430
+ DIRECT_FOR_NONE = "none",
2431
+ DIRECT_VETTED_ONLY = "vetted_only",
2432
+ NO_SETTING = "no_setting"
2410
2433
  }
2411
- export interface IResourcesAvailability {
2412
- resourceType: ResourceNameTypeEnum;
2413
- quantity: number;
2414
- resourcesIds: number[];
2415
- isPunchCard: boolean;
2416
- resources?: any[];
2434
+ export declare enum GenderEnum {
2435
+ OTHER = 1,
2436
+ MALE = 2,
2437
+ FEMALE = 3
2417
2438
  }
2418
- export interface IPackageResponse {
2419
- parentProduct: Product;
2420
- children: IChildProduct[];
2421
- }
2422
- export interface IChildProduct {
2423
- product: Product;
2424
- relationType: PackageProductsRelationTypeEnum;
2425
- timePeriod?: AddonTimePeriodEnum;
2426
- }
2427
- export interface ISeasonAttendeeInfo {
2428
- applicationAnswers: Answer[];
2429
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2430
- invoices: Invoice[];
2431
- payments: Payment[];
2432
- products: Product[];
2433
- redeemNext: ProductsUsers;
2434
- }
2435
- export interface ISeasonAttendeeListInfo {
2436
- userId: number;
2437
- userFirstName: string;
2438
- userLastName: string;
2439
- userGender: number;
2440
- userBirthDate: Date;
2441
- userProfilePicUrl: string;
2442
- customerId: number;
2443
- customerEmail: string;
2444
- paymentStatus: string;
2445
- productName: string;
2446
- punchCard: boolean;
2447
- }
2448
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2449
- segmentType: ResourceNameTypeEnum;
2450
- participantRegisteredDate?: string;
2451
- }
2452
- export declare class EventAsSeasonSegment extends Event {
2453
- segmentType: ResourceNameTypeEnum;
2454
- participantRegisteredDate?: string;
2455
- }
2456
- export interface ITokenResonse {
2457
- token: string;
2458
- }
2459
- export interface IStripeBondInvoices {
2460
- paidStripePaymentIntent: Stripe.PaymentIntent;
2461
- bondPaidPayment: Payment;
2462
- invoice?: Invoice;
2463
- customer?: Customer;
2464
- }
2465
- export interface IPartialPaymentData {
2466
- purchasingUserId: number;
2467
- paymentData: PurchasePaymentDto;
2468
- amountToPay: number;
2469
- }
2470
- export interface IPayment {
2471
- id: number;
2472
- total: number;
2473
- paymentMethod: PaymentMethodTypeEnum;
2474
- status: PaymentStatusEnum;
2475
- createdAt: Date;
2476
- invoices: number[];
2477
- }
2478
- export interface IPaginationData<T> {
2479
- meta: {
2480
- totalItems: number;
2481
- itemsPerPage: number;
2482
- totalPages: number;
2483
- currentPage: number;
2484
- };
2485
- data: T[];
2486
- }
2487
- export interface IPricesOfProductsResults {
2488
- productId: number;
2489
- userId: number;
2490
- price: number;
2491
- groupId?: number;
2492
- groupName?: string;
2493
- originalPrice?: number;
2494
- priceWithoutTax: number;
2495
- tax: number;
2496
- isTaxInclusive: boolean;
2497
- }
2498
- export interface IPaymentMethodToFundLeft {
2499
- paymentType: PaymentMethodTypeEnum;
2500
- paymentMethodId: string;
2501
- fundLeft: number;
2502
- ccLast4?: string;
2503
- ccBrand?: string;
2504
- }
2505
- export interface IVariantsAndTitle {
2506
- title: VariantTitle;
2507
- variants: Variant[];
2508
- }
2509
- export interface IProgramSeasonActivityTimes {
2510
- dayOfWeek: number;
2511
- open: string;
2512
- close: string;
2513
- }
2514
- export interface IProgramSeasonActivityTimesAsDates {
2515
- date: string;
2516
- startTime: string;
2517
- endTime: string;
2518
- }
2519
- export interface IBlockedDates {
2520
- name: string;
2521
- startDate: Date;
2522
- endDate: Date;
2523
- }
2524
- export interface ISingleMemberForRenewal {
2525
- member_id: number;
2526
- member_membershipId: number;
2527
- member_userId: number;
2528
- member_nextPaymentMethodId?: string;
2529
- member_nextPaymentType?: PaymentMethodTypeEnum;
2530
- member_answerTitleIds?: number[];
2531
- member_organizationId: number;
2532
- product_productPrice: number;
2533
- product_productId: number;
2534
- invoice_payingUserId: number;
2535
- invoice_paymentMethodId: string;
2536
- invoice_paymentType: PaymentMethodTypeEnum;
2537
- endDate: Date;
2538
- membership_name: string;
2539
- user_firstName: string;
2540
- user_lastName: string;
2541
- user_email: string;
2542
- }
2543
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2544
- package_parentProductId: number;
2545
- product2_productPrice: number;
2546
- familyid: number;
2547
- invoice_id: number;
2548
- }
2549
- export interface IResourceRegistrationData {
2550
- id: number;
2551
- resourceType: ResourceNameTypeEnum;
2552
- openNumDays?: number;
2553
- openNumMinutes?: number;
2554
- openTime?: string;
2555
- closeNumDays?: number;
2556
- closeNumMinutes?: number;
2557
- closeTime?: string;
2558
- registrationWindowStatus?: RegistrationWindowStatusEnum;
2559
- }
2560
- export interface IResourceDataForConstraintsCalc {
2561
- id: number;
2562
- startDate: string;
2563
- startTime: string;
2564
- }
2565
- export interface IRegistrationConstraintsSetting {
2566
- numDays?: number;
2567
- numMinutes?: number;
2568
- }
2569
- export interface IAttendeeDataToNotify {
2570
- firstName: string;
2571
- lastName: string;
2572
- email: string;
2573
- sessionName: string;
2574
- parentSessionName?: string;
2575
- organizationName: string;
2576
- programName: string;
2577
- }
2578
- export interface IEventInSchedule {
2579
- eventId: number;
2580
- eventName: string;
2581
- eventStartDate: string;
2582
- eventEndDate: string;
2583
- eventStartTime: string;
2584
- eventEndTime: string;
2585
- programId: number;
2586
- programName: string;
2587
- programType: ProgramTypesEnum;
2588
- sessionId: number;
2589
- sessionName: string;
2590
- sports: number;
2591
- spaces: {
2592
- spaceId: number;
2593
- spaceName: string;
2594
- }[];
2595
- status?: RegistrationValidationStatusEnum;
2596
- }
2597
- export interface ISlotInSchedule {
2598
- facilityId: number;
2599
- facilityName: string;
2600
- spaces: ISpaceWithSlots[];
2601
- }
2602
- export interface ISpaceWithSlots {
2603
- id: number;
2604
- name: string;
2605
- slots: ISlotReservationData[];
2606
- }
2607
- export interface ISlotReservationData {
2608
- reservationId: number;
2609
- reservationName: string;
2610
- date: string;
2611
- startTime: string;
2612
- endTime: string;
2613
- notes: string;
2614
- spaceId: number;
2615
- isRental: boolean;
2616
- slotType: SlotTypeEnum;
2617
- slotId: number;
2618
- eventId: number;
2619
- isPrivate: boolean;
2620
- }
2621
- export interface IRawEventInSchedule extends IEventInSchedule {
2622
- parentSessionId: number;
2623
- parentSessionName: string;
2624
- eventTimezone: string;
2625
- maxParticipants: number;
2626
- maxMaleParticipants: number;
2627
- maxFemaleParticipants: number;
2628
- isPunchCard: boolean;
2629
- }
2630
- export interface IBasicSpaceAndSlotCreator {
2631
- id: number;
2632
- name: string;
2633
- bookingCreatorId: number;
2634
- }
2635
- export interface IRawSlotInSchedule {
2636
- startDate: string;
2637
- endDate: string;
2638
- startTime: string;
2639
- endTime: string;
2640
- reservationId: number;
2641
- eventTitle: string;
2642
- publicNotes: string;
2643
- spaceId: number;
2644
- creatorType: ResourceNameTypeEnum;
2645
- slotType: SlotTypeEnum;
2646
- slotId: number;
2647
- eventId: number;
2648
- isPrivate: boolean;
2649
- }
2650
- export interface IPurchasedResourcesRaw {
2651
- purchasedId: number;
2652
- purchasedProductUserId: number;
2653
- purchasedResourceId: number;
2654
- purchasedResourceType: ResourceNameTypeEnum;
2655
- purchasedStatus: PurchasedResourceStatusEnum;
2656
- pUserId: number;
2657
- pUserPaymentStatus: PaymentStatusEnum;
2658
- pUserProductId: number;
2659
- pUserProductName: string;
2660
- pUserProductPrice: number;
2661
- pUserProductPriceCurrency: string;
2662
- pUserProductQuantity: number;
2663
- pUserProductQuantityLeft: number;
2664
- pUserUserId: number;
2665
- }
2666
- export interface IUsersPasses {
2667
- userId: number;
2668
- userFirstName: string;
2669
- userLastName: string;
2670
- organizationId: number;
2671
- programId: number;
2672
- programName: string;
2673
- sessionId: number;
2674
- sessionName: string;
2675
- productId: number;
2676
- productName: string;
2677
- productUserId: number;
2678
- purchaseDate: Date;
2679
- passesLeft: number;
2680
- }
2681
- export interface ISessionsLandingPage {
2682
- sessionId: number;
2683
- name: string;
2684
- startDate: Date;
2685
- endDate: Date;
2686
- registrationStartDate: Date;
2687
- registrationEndDate: Date;
2688
- sport: SportsEnum;
2689
- minAge: string;
2690
- maxAge: string;
2691
- maxParticipants?: number;
2692
- gender: GenderEnum;
2693
- activityTimes: ActivityTimes[];
2694
- earlyRegistrationStartDate?: Date;
2695
- earlyRegistrationEndDate?: Date;
2696
- lateRegistrationStartDate?: Date;
2697
- lateRegistrationEndDate?: Date;
2698
- attendeeCount?: number;
2699
- segmentsOrEvents: 'segment' | 'event';
2700
- }
2701
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2702
- hasRequiredMembership: boolean;
2703
- hasEntitledPricing: boolean;
2704
- lowestPrice?: number;
2705
- products?: ISessionLandingPageProduct[];
2706
- }
2707
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2708
- hasRequiredMembership: boolean;
2709
- hasEntitledPricing: boolean;
2710
- products?: ISessionLandingPageProduct[];
2711
- segments?: Event[] | ProgramSeason[];
2712
- programName: string;
2713
- programId: number;
2714
- levelOfPlay: LevelOfPlayEnum[];
2715
- registrationConstraints: IResourceRegistrationData[];
2716
- }
2717
- export interface ISlimAddons {
2718
- addons?: {
2719
- id: number;
2720
- timePeriod: AddonTimePeriodEnum;
2721
- name: string;
2722
- productType?: ProductTypesEnum;
2723
- productSubType?: string;
2724
- }[];
2725
- }
2726
- export interface ISessionLandingPageProduct extends ISlimAddons {
2727
- id: number;
2728
- name: string;
2729
- startDate?: Date;
2730
- endDate?: Date;
2731
- downpayment?: number;
2732
- description?: string;
2733
- prices: Price[];
2734
- productSubType?: ProductSubTypesEnum;
2735
- punchCard: boolean;
2736
- isAddon: boolean;
2737
- defaultPriceId?: number;
2738
- }
2739
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2740
- destinationId?: string;
2741
- stripeCustomerId?: string;
2742
- fee?: number;
2743
- }
2744
- export interface IReservationCreatorData {
2745
- type: ResourceNameTypeEnum;
2746
- id: number;
2747
- organizationId: number;
2748
- startDate: string;
2749
- endDate: string;
2750
- sportId: number;
2751
- }
2752
- export declare enum EntitlementTermsTypesEnum {
2753
- QUESTION = "question",
2754
- CITY = "city",
2755
- MEMBERSHIP = "membership"
2756
- }
2757
- export declare enum ResourceNameTypeEnum {
2758
- EVENT = "event",
2759
- VENUE = "venue",
2760
- TEAM = "team",
2761
- LEAGUE = "league",
2762
- USER = "user",
2763
- ORGANIZATION = "organization",
2764
- APP = "app",
2765
- FEED = "feed",
2766
- MATCH = "match",
2767
- ROUND = "round",
2768
- PORTAL = "portal",
2769
- SEASON = "season",
2770
- TOURNAMENT = "tournament",
2771
- MEMBERSHIP = "membership",
2772
- DIVISION = "division",
2773
- GAMESLOT = "gameslot",
2774
- SPACE = "space",
2775
- RESERVATION = "reservation",
2776
- INVOICE = "invoice",
2777
- CUSTOMER = "customer",
2778
- PACKAGE = "package",
2779
- FACILITY = "facility",
2780
- PROGRAM = "program",
2781
- PROGRAM_SEASON = "program_season",
2782
- PRODUCT = "product",
2783
- GROUP = "group",
2784
- VARIANT = "variant",
2785
- SLOT = "slot",
2786
- ADDON = "addon"
2787
- }
2788
- export declare enum DirectBookingTypesEnum {
2789
- DIRECT_FOR_ALL = "all",
2790
- DIRECT_FOR_NONE = "none",
2791
- DIRECT_VETTED_ONLY = "vetted_only",
2792
- NO_SETTING = "no_setting"
2793
- }
2794
- export declare enum GenderEnum {
2795
- OTHER = 1,
2796
- MALE = 2,
2797
- FEMALE = 3
2798
- }
2799
- export declare enum LevelOfPlayEnum {
2800
- BEGINNER = 1,
2801
- INTERMEDIATE = 2,
2802
- ADVANCED = 3,
2803
- SEMIPRO = 4,
2804
- SPECTATOR = 5
2439
+ export declare enum LevelOfPlayEnum {
2440
+ BEGINNER = 1,
2441
+ INTERMEDIATE = 2,
2442
+ ADVANCED = 3,
2443
+ SEMIPRO = 4,
2444
+ SPECTATOR = 5
2805
2445
  }
2806
2446
  export declare enum ProgramTypesEnum {
2807
2447
  LEAGUE = 0,
@@ -3179,121 +2819,495 @@ export declare enum ShiftStatusEnum {
3179
2819
  MANAGMENT_CLOSED = "closed_by_manager",
3180
2820
  RECONCILED = "reconciled"
3181
2821
  }
3182
- export declare enum EventStatusEnum {
3183
- OPEN = 1,
3184
- DRAFT = 2,
3185
- FULL = 3,
3186
- CANCELLED = 4,
3187
- CLOSED = 5,
3188
- DELETED = 6
2822
+ export declare enum EventStatusEnum {
2823
+ OPEN = 1,
2824
+ DRAFT = 2,
2825
+ FULL = 3,
2826
+ CANCELLED = 4,
2827
+ CLOSED = 5,
2828
+ DELETED = 6
2829
+ }
2830
+ export declare enum ReservationTypeEnum {
2831
+ RENTAL = "rental",
2832
+ PROGRAM = "program",
2833
+ MAINTENANCE = "maintenance",
2834
+ CUSTOM = "custom",
2835
+ INTERNAL = "internal"
2836
+ }
2837
+ export declare enum SlotDurationTypeEnum {
2838
+ DATES = "dates",
2839
+ ALL_DAY = "all day",
2840
+ DURATION = "duration"
2841
+ }
2842
+ export declare enum DurationUnitTypesEnum {
2843
+ MINUTES = "minutes",
2844
+ HOURS = "hours"
2845
+ }
2846
+ export declare enum FrequencyEnum {
2847
+ NONE = "none",
2848
+ WEEKLY = "weekly",
2849
+ DAILY = "daily",
2850
+ MONTHLY = "monthly",
2851
+ YEARLY = "yearly"
2852
+ }
2853
+ export declare enum MaintenanceTimingEnum {
2854
+ BEFORE = 1,
2855
+ AFTER = 2,
2856
+ AT_THE_BEGINING = 3,
2857
+ AT_THE_END = 4
2858
+ }
2859
+ export declare enum CreatorTypeEnum {
2860
+ SPACE = "space",
2861
+ PROGRAM_SEASON = "program_season",
2862
+ SEASON = "season"
2863
+ }
2864
+ export declare enum UpdatePricesTypeEnum {
2865
+ INDIVIDUAL = "indvidual",
2866
+ CATEGORY = "category",
2867
+ GLOBAL = "global"
2868
+ }
2869
+ export declare enum BondDayOfWeekEnum {
2870
+ MONDAY = 2,
2871
+ TUESDAY = 3,
2872
+ WEDNESDAY = 4,
2873
+ THURSDAY = 5,
2874
+ FRIDAY = 6,
2875
+ SATURDAY = 7,
2876
+ SUNDAY = 8
2877
+ }
2878
+ export declare enum ReservationMigrationStatusEnum {
2879
+ NEW = "new",
2880
+ NO = "no",
2881
+ YES = "yes"
2882
+ }
2883
+ export declare enum ProductPackageLevelEnum {
2884
+ HOUR = "hour",
2885
+ SLOT = "slot",
2886
+ RESERVATION = "reservation"
2887
+ }
2888
+ export declare enum CancellationStatusEnum {
2889
+ IMMEDIATE = "immediate",
2890
+ AUTO_RENEWAL = "auto_renewal"
2891
+ }
2892
+ export declare enum SeasonScheduleStatusEnum {
2893
+ DRAFT = 0,
2894
+ PUBLISHED = 1
2895
+ }
2896
+ export declare enum FinancialStepEnum {
2897
+ VOID = "void",
2898
+ REFUND = "refund",
2899
+ NONE = "none",
2900
+ REFUND_AND_VOID = "refund-and-void",
2901
+ APPEND = "append"
2902
+ }
2903
+ export declare enum StripeAccountTypesEnum {
2904
+ STRIPE = "stripe",
2905
+ STRIPE_CUSTOM = "stripe:account:custom",
2906
+ STRIPE_CUSTOMER = "stripe:customer"
2907
+ }
2908
+ export declare enum LinkedAccountStatus {
2909
+ PENDING = 1,
2910
+ ACTIVE = 2,
2911
+ PRE_PENDING = 3
2912
+ }
2913
+ export declare enum AddonParentTypeEnum {
2914
+ RESERVATION = "reservation",
2915
+ SLOT = "slot"
2916
+ }
2917
+ export declare enum EEmailStatus {
2918
+ SENT = "sent",
2919
+ OPENED = "opened",
2920
+ PAID = "paid",
2921
+ CANCELED = "canceled"
2922
+ }
2923
+ export declare enum PaymentSettingStatusEnum {
2924
+ ENABLED = 1,
2925
+ DISABLED_REDIRECT = 2,
2926
+ DISABLED_INFO_ONLY = 3,
2927
+ DISABLED_EMAIL = 4
2928
+ }
2929
+ export declare enum NotifyMethodEnum {
2930
+ EMAIL = "Email"
2931
+ }
2932
+ export interface IEntitlementTerms {
2933
+ type: EntitlementTermsTypesEnum;
2934
+ id?: number;
2935
+ value?: string;
2936
+ minValue?: string;
2937
+ maxValue?: string;
2938
+ }
2939
+ export interface IQuestionAnswerObject {
2940
+ questionId: number;
2941
+ value: string;
2942
+ }
2943
+ export interface ILowestPriceForItem {
2944
+ itemId: number;
2945
+ itemType: ResourceNameTypeEnum;
2946
+ groupId: number;
2947
+ groupName?: string;
2948
+ price: number;
2949
+ overridesPrice: boolean;
2950
+ }
2951
+ export interface IResourcesAvailability {
2952
+ resourceType: ResourceNameTypeEnum;
2953
+ quantity: number;
2954
+ resourcesIds: number[];
2955
+ isPunchCard: boolean;
2956
+ resources?: any[];
2957
+ }
2958
+ export interface IPackageResponse {
2959
+ parentProduct: Product;
2960
+ children: IChildProduct[];
2961
+ }
2962
+ export interface IChildProduct {
2963
+ product: Product;
2964
+ relationType: PackageProductsRelationTypeEnum;
2965
+ timePeriod?: AddonTimePeriodEnum;
2966
+ }
2967
+ export interface ISeasonAttendeeInfo {
2968
+ applicationAnswers: Answer[];
2969
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2970
+ invoices: Invoice[];
2971
+ payments: Payment[];
2972
+ products: Product[];
2973
+ redeemNext: ProductsUsers;
2974
+ }
2975
+ export interface ISeasonAttendeeListInfo {
2976
+ userId: number;
2977
+ userFirstName: string;
2978
+ userLastName: string;
2979
+ userGender: number;
2980
+ userBirthDate: Date;
2981
+ userProfilePicUrl: string;
2982
+ customerId: number;
2983
+ customerEmail: string;
2984
+ paymentStatus: string;
2985
+ productName: string;
2986
+ punchCard: boolean;
2987
+ }
2988
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2989
+ segmentType: ResourceNameTypeEnum;
2990
+ participantRegisteredDate?: string;
2991
+ }
2992
+ export declare class EventAsSeasonSegment extends Event {
2993
+ segmentType: ResourceNameTypeEnum;
2994
+ participantRegisteredDate?: string;
2995
+ }
2996
+ export interface ITokenResonse {
2997
+ token: string;
2998
+ }
2999
+ export interface IStripeBondInvoices {
3000
+ paidStripePaymentIntent: Stripe.PaymentIntent;
3001
+ bondPaidPayment: Payment;
3002
+ invoice?: Invoice;
3003
+ customer?: Customer;
3004
+ }
3005
+ export interface IPartialPaymentData {
3006
+ purchasingUserId: number;
3007
+ paymentData: PurchasePaymentDto;
3008
+ amountToPay: number;
3009
+ }
3010
+ export interface IPayment {
3011
+ id: number;
3012
+ total: number;
3013
+ paymentMethod: PaymentMethodTypeEnum;
3014
+ status: PaymentStatusEnum;
3015
+ createdAt: Date;
3016
+ invoices: number[];
3017
+ }
3018
+ export interface IPaginationData<T> {
3019
+ meta: {
3020
+ totalItems: number;
3021
+ itemsPerPage: number;
3022
+ totalPages: number;
3023
+ currentPage: number;
3024
+ };
3025
+ data: T[];
3026
+ }
3027
+ export interface IPricesOfProductsResults {
3028
+ productId: number;
3029
+ userId: number;
3030
+ price: number;
3031
+ groupId?: number;
3032
+ groupName?: string;
3033
+ originalPrice?: number;
3034
+ priceWithoutTax: number;
3035
+ tax: number;
3036
+ isTaxInclusive: boolean;
3037
+ }
3038
+ export interface IPaymentMethodToFundLeft {
3039
+ paymentType: PaymentMethodTypeEnum;
3040
+ paymentMethodId: string;
3041
+ fundLeft: number;
3042
+ ccLast4?: string;
3043
+ ccBrand?: string;
3044
+ }
3045
+ export interface IVariantsAndTitle {
3046
+ title: VariantTitle;
3047
+ variants: Variant[];
3048
+ }
3049
+ export interface IProgramSeasonActivityTimes {
3050
+ dayOfWeek: number;
3051
+ open: string;
3052
+ close: string;
3053
+ }
3054
+ export interface IProgramSeasonActivityTimesAsDates {
3055
+ date: string;
3056
+ startTime: string;
3057
+ endTime: string;
3058
+ }
3059
+ export interface IBlockedDates {
3060
+ name: string;
3061
+ startDate: Date;
3062
+ endDate: Date;
3063
+ }
3064
+ export interface ISingleMemberForRenewal {
3065
+ member_id: number;
3066
+ member_membershipId: number;
3067
+ member_userId: number;
3068
+ member_nextPaymentMethodId?: string;
3069
+ member_nextPaymentType?: PaymentMethodTypeEnum;
3070
+ member_answerTitleIds?: number[];
3071
+ member_organizationId: number;
3072
+ product_productPrice: number;
3073
+ product_productId: number;
3074
+ invoice_payingUserId: number;
3075
+ invoice_paymentMethodId: string;
3076
+ invoice_paymentType: PaymentMethodTypeEnum;
3077
+ endDate: Date;
3078
+ membership_name: string;
3079
+ user_firstName: string;
3080
+ user_lastName: string;
3081
+ user_email: string;
3189
3082
  }
3190
- export declare enum ReservationTypeEnum {
3191
- RENTAL = "rental",
3192
- PROGRAM = "program",
3193
- MAINTENANCE = "maintenance",
3194
- CUSTOM = "custom",
3195
- INTERNAL = "internal"
3083
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3084
+ package_parentProductId: number;
3085
+ product2_productPrice: number;
3086
+ familyid: number;
3087
+ invoice_id: number;
3196
3088
  }
3197
- export declare enum SlotDurationTypeEnum {
3198
- DATES = "dates",
3199
- ALL_DAY = "all day",
3200
- DURATION = "duration"
3089
+ export interface IResourceRegistrationData {
3090
+ id: number;
3091
+ resourceType: ResourceNameTypeEnum;
3092
+ openNumDays?: number;
3093
+ openNumMinutes?: number;
3094
+ openTime?: string;
3095
+ closeNumDays?: number;
3096
+ closeNumMinutes?: number;
3097
+ closeTime?: string;
3098
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
3201
3099
  }
3202
- export declare enum DurationUnitTypesEnum {
3203
- MINUTES = "minutes",
3204
- HOURS = "hours"
3100
+ export interface IResourceDataForConstraintsCalc {
3101
+ id: number;
3102
+ startDate: string;
3103
+ startTime: string;
3205
3104
  }
3206
- export declare enum FrequencyEnum {
3207
- NONE = "none",
3208
- WEEKLY = "weekly",
3209
- DAILY = "daily",
3210
- MONTHLY = "monthly",
3211
- YEARLY = "yearly"
3105
+ export interface IRegistrationConstraintsSetting {
3106
+ numDays?: number;
3107
+ numMinutes?: number;
3212
3108
  }
3213
- export declare enum MaintenanceTimingEnum {
3214
- BEFORE = 1,
3215
- AFTER = 2,
3216
- AT_THE_BEGINING = 3,
3217
- AT_THE_END = 4
3109
+ export interface IAttendeeDataToNotify {
3110
+ firstName: string;
3111
+ lastName: string;
3112
+ email: string;
3113
+ sessionName: string;
3114
+ parentSessionName?: string;
3115
+ organizationName: string;
3116
+ programName: string;
3218
3117
  }
3219
- export declare enum CreatorTypeEnum {
3220
- SPACE = "space",
3221
- PROGRAM_SEASON = "program_season",
3222
- SEASON = "season"
3118
+ export interface IEventInSchedule {
3119
+ eventId: number;
3120
+ eventName: string;
3121
+ eventStartDate: string;
3122
+ eventEndDate: string;
3123
+ eventStartTime: string;
3124
+ eventEndTime: string;
3125
+ programId: number;
3126
+ programName: string;
3127
+ programType: ProgramTypesEnum;
3128
+ sessionId: number;
3129
+ sessionName: string;
3130
+ sports: number;
3131
+ spaces: {
3132
+ spaceId: number;
3133
+ spaceName: string;
3134
+ }[];
3135
+ status?: RegistrationValidationStatusEnum;
3223
3136
  }
3224
- export declare enum UpdatePricesTypeEnum {
3225
- INDIVIDUAL = "indvidual",
3226
- CATEGORY = "category",
3227
- GLOBAL = "global"
3137
+ export interface ISlotInSchedule {
3138
+ facilityId: number;
3139
+ facilityName: string;
3140
+ spaces: ISpaceWithSlots[];
3228
3141
  }
3229
- export declare enum BondDayOfWeekEnum {
3230
- MONDAY = 2,
3231
- TUESDAY = 3,
3232
- WEDNESDAY = 4,
3233
- THURSDAY = 5,
3234
- FRIDAY = 6,
3235
- SATURDAY = 7,
3236
- SUNDAY = 8
3142
+ export interface ISpaceWithSlots {
3143
+ id: number;
3144
+ name: string;
3145
+ slots: ISlotReservationData[];
3237
3146
  }
3238
- export declare enum ReservationMigrationStatusEnum {
3239
- NEW = "new",
3240
- NO = "no",
3241
- YES = "yes"
3147
+ export interface ISlotReservationData {
3148
+ reservationId: number;
3149
+ reservationName: string;
3150
+ date: string;
3151
+ startTime: string;
3152
+ endTime: string;
3153
+ notes: string;
3154
+ spaceId: number;
3155
+ isRental: boolean;
3156
+ slotType: SlotTypeEnum;
3157
+ slotId: number;
3158
+ eventId: number;
3159
+ isPrivate: boolean;
3242
3160
  }
3243
- export declare enum ProductPackageLevelEnum {
3244
- HOUR = "hour",
3245
- SLOT = "slot",
3246
- RESERVATION = "reservation"
3161
+ export interface IRawEventInSchedule extends IEventInSchedule {
3162
+ parentSessionId: number;
3163
+ parentSessionName: string;
3164
+ eventTimezone: string;
3165
+ maxParticipants: number;
3166
+ maxMaleParticipants: number;
3167
+ maxFemaleParticipants: number;
3168
+ isPunchCard: boolean;
3247
3169
  }
3248
- export declare enum CancellationStatusEnum {
3249
- IMMEDIATE = "immediate",
3250
- AUTO_RENEWAL = "auto_renewal"
3170
+ export interface IBasicSpaceAndSlotCreator {
3171
+ id: number;
3172
+ name: string;
3173
+ bookingCreatorId: number;
3251
3174
  }
3252
- export declare enum SeasonScheduleStatusEnum {
3253
- DRAFT = 0,
3254
- PUBLISHED = 1
3175
+ export interface IRawSlotInSchedule {
3176
+ startDate: string;
3177
+ endDate: string;
3178
+ startTime: string;
3179
+ endTime: string;
3180
+ reservationId: number;
3181
+ eventTitle: string;
3182
+ publicNotes: string;
3183
+ spaceId: number;
3184
+ creatorType: ResourceNameTypeEnum;
3185
+ slotType: SlotTypeEnum;
3186
+ slotId: number;
3187
+ eventId: number;
3188
+ isPrivate: boolean;
3255
3189
  }
3256
- export declare enum FinancialStepEnum {
3257
- VOID = "void",
3258
- REFUND = "refund",
3259
- NONE = "none",
3260
- REFUND_AND_VOID = "refund-and-void",
3261
- APPEND = "append"
3190
+ export interface IPurchasedResourcesRaw {
3191
+ purchasedId: number;
3192
+ purchasedProductUserId: number;
3193
+ purchasedResourceId: number;
3194
+ purchasedResourceType: ResourceNameTypeEnum;
3195
+ purchasedStatus: PurchasedResourceStatusEnum;
3196
+ pUserId: number;
3197
+ pUserPaymentStatus: PaymentStatusEnum;
3198
+ pUserProductId: number;
3199
+ pUserProductName: string;
3200
+ pUserProductPrice: number;
3201
+ pUserProductPriceCurrency: string;
3202
+ pUserProductQuantity: number;
3203
+ pUserProductQuantityLeft: number;
3204
+ pUserUserId: number;
3262
3205
  }
3263
- export declare enum StripeAccountTypesEnum {
3264
- STRIPE = "stripe",
3265
- STRIPE_CUSTOM = "stripe:account:custom",
3266
- STRIPE_CUSTOMER = "stripe:customer"
3206
+ export interface IUsersPasses {
3207
+ userId: number;
3208
+ userFirstName: string;
3209
+ userLastName: string;
3210
+ organizationId: number;
3211
+ programId: number;
3212
+ programName: string;
3213
+ sessionId: number;
3214
+ sessionName: string;
3215
+ productId: number;
3216
+ productName: string;
3217
+ productUserId: number;
3218
+ purchaseDate: Date;
3219
+ passesLeft: number;
3267
3220
  }
3268
- export declare enum LinkedAccountStatus {
3269
- PENDING = 1,
3270
- ACTIVE = 2,
3271
- PRE_PENDING = 3
3221
+ export interface ISessionsLandingPage {
3222
+ sessionId: number;
3223
+ name: string;
3224
+ startDate: Date;
3225
+ endDate: Date;
3226
+ registrationStartDate: Date;
3227
+ registrationEndDate: Date;
3228
+ sport: SportsEnum;
3229
+ minAge: string;
3230
+ maxAge: string;
3231
+ maxParticipants?: number;
3232
+ gender: GenderEnum;
3233
+ activityTimes: ActivityTimes[];
3234
+ earlyRegistrationStartDate?: Date;
3235
+ earlyRegistrationEndDate?: Date;
3236
+ lateRegistrationStartDate?: Date;
3237
+ lateRegistrationEndDate?: Date;
3238
+ attendeeCount?: number;
3239
+ segmentsOrEvents: 'segment' | 'event';
3272
3240
  }
3273
- export declare enum AddonParentTypeEnum {
3274
- RESERVATION = "reservation",
3275
- SLOT = "slot"
3241
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3242
+ hasRequiredMembership: boolean;
3243
+ hasEntitledPricing: boolean;
3244
+ lowestPrice?: number;
3245
+ products?: ISessionLandingPageProduct[];
3246
+ }
3247
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3248
+ hasRequiredMembership: boolean;
3249
+ hasEntitledPricing: boolean;
3250
+ products?: ISessionLandingPageProduct[];
3251
+ segments?: Event[] | ProgramSeason[];
3252
+ programName: string;
3253
+ programId: number;
3254
+ levelOfPlay: LevelOfPlayEnum[];
3255
+ registrationConstraints: IResourceRegistrationData[];
3276
3256
  }
3277
- export declare enum EEmailStatus {
3278
- SENT = "sent",
3279
- OPENED = "opened",
3280
- PAID = "paid",
3281
- CANCELED = "canceled"
3257
+ export interface ISlimAddons {
3258
+ addons?: {
3259
+ id: number;
3260
+ timePeriod: AddonTimePeriodEnum;
3261
+ name: string;
3262
+ productType?: ProductTypesEnum;
3263
+ productSubType?: string;
3264
+ }[];
3282
3265
  }
3283
- export declare enum PaymentSettingStatusEnum {
3284
- ENABLED = 1,
3285
- DISABLED_REDIRECT = 2,
3286
- DISABLED_INFO_ONLY = 3,
3287
- DISABLED_EMAIL = 4
3266
+ export interface ISessionLandingPageProduct extends ISlimAddons {
3267
+ id: number;
3268
+ name: string;
3269
+ startDate?: Date;
3270
+ endDate?: Date;
3271
+ downpayment?: number;
3272
+ description?: string;
3273
+ prices: Price[];
3274
+ productSubType?: ProductSubTypesEnum;
3275
+ punchCard: boolean;
3276
+ isAddon: boolean;
3277
+ defaultPriceId?: number;
3288
3278
  }
3289
- export declare enum NotifyMethodEnum {
3290
- EMAIL = "Email"
3279
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3280
+ destinationId?: string;
3281
+ stripeCustomerId?: string;
3282
+ fee?: number;
3283
+ }
3284
+ export interface IReservationCreatorData {
3285
+ type: ResourceNameTypeEnum;
3286
+ id: number;
3287
+ organizationId: number;
3288
+ startDate: string;
3289
+ endDate: string;
3290
+ sportId: number;
3291
3291
  }
3292
3292
  export declare class ColumnNumericTransformer {
3293
3293
  to(data: number): number;
3294
3294
  from(data: string): number;
3295
3295
  }
3296
3296
  export declare function convertToNumber(data: string): number;
3297
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3298
+ name?: string;
3299
+ genderStr?: string;
3300
+ parentID?: string;
3301
+ partnerID?: string;
3302
+ membershipName?: string;
3303
+ membershipExpDate?: string;
3304
+ membershipCreationDate?: string;
3305
+ bondMembershipID?: number;
3306
+ }
3307
+ export declare class AddFamilyDto {
3308
+ parents: AddImportedCustomerDto[];
3309
+ children: AddImportedCustomerDto[];
3310
+ }
3297
3311
  export declare enum ImportPaymentTypeEnum {
3298
3312
  CREDIT_CARD = "card",
3299
3313
  ACH = "ach",
@@ -3329,20 +3343,6 @@ export declare class ImportedPaymentDto {
3329
3343
  date: string;
3330
3344
  time: string;
3331
3345
  }
3332
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3333
- name?: string;
3334
- genderStr?: string;
3335
- parentID?: string;
3336
- partnerID?: string;
3337
- membershipName?: string;
3338
- membershipExpDate?: string;
3339
- membershipCreationDate?: string;
3340
- bondMembershipID?: number;
3341
- }
3342
- export declare class AddFamilyDto {
3343
- parents: AddImportedCustomerDto[];
3344
- children: AddImportedCustomerDto[];
3345
- }
3346
3346
  export declare class ProductIdsDto {
3347
3347
  productIds?: number[];
3348
3348
  }
@@ -3352,17 +3352,6 @@ export declare class ProductImportDto {
3352
3352
  resourceIds: number[];
3353
3353
  oldId: number;
3354
3354
  }
3355
- export declare class GameSlots extends BondBaseEntity {
3356
- entityType: string;
3357
- entityId: number;
3358
- }
3359
- export declare class PunchPassDto {
3360
- CustomerID: string;
3361
- QuantityLeft: number;
3362
- BondProgramID: number;
3363
- BondSessionID: number;
3364
- ProductID: number;
3365
- }
3366
3355
  export declare class ImportedSlotProductDto {
3367
3356
  slotID?: string;
3368
3357
  name?: string;
@@ -3414,6 +3403,21 @@ export declare class ImportedReservationDto {
3414
3403
  slots?: ImportedSlotDto[];
3415
3404
  addons?: ImportedSlotProductDto[];
3416
3405
  }
3406
+ export declare class Lock extends BondBaseEntity {
3407
+ name: string;
3408
+ locked?: Date;
3409
+ }
3410
+ export declare class PunchPassDto {
3411
+ CustomerID: string;
3412
+ QuantityLeft: number;
3413
+ BondProgramID: number;
3414
+ BondSessionID: number;
3415
+ ProductID: number;
3416
+ }
3417
+ export declare class GameSlots extends BondBaseEntity {
3418
+ entityType: string;
3419
+ entityId: number;
3420
+ }
3417
3421
  export declare class MatchParticipants extends BondBaseEntity {
3418
3422
  matchId: number | null;
3419
3423
  ordinal: number | null;
@@ -3441,15 +3445,6 @@ export declare class SeasonRounds extends BondBaseEntity {
3441
3445
  divisionId?: number;
3442
3446
  name: string;
3443
3447
  }
3444
- export declare class TeamEvents extends BondBaseEntity {
3445
- teamId: number | null;
3446
- eventId: number | null;
3447
- status: number | null;
3448
- }
3449
- export declare class Lock extends BondBaseEntity {
3450
- name: string;
3451
- locked?: Date;
3452
- }
3453
3448
  export interface ValidatedMonthAndDay {
3454
3449
  valid: boolean;
3455
3450
  month?: number;
@@ -3459,6 +3454,12 @@ export interface ValidationReason {
3459
3454
  valid: boolean;
3460
3455
  reason?: string;
3461
3456
  }
3457
+ export declare class CreateMonitorConfigDto {
3458
+ facilityId: number;
3459
+ name: string;
3460
+ code: string;
3461
+ config: any;
3462
+ }
3462
3463
  export interface PaymentStatus {
3463
3464
  parentId: number;
3464
3465
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3471,16 +3472,10 @@ export interface PaymentStatusesDict {
3471
3472
  export interface PaymentStatusDict {
3472
3473
  [id: number]: ReservationPaymentStatusEnum;
3473
3474
  }
3474
- export declare class CreateMonitorConfigDto {
3475
- facilityId: number;
3476
- name: string;
3477
- code: string;
3478
- config: any;
3479
- }
3480
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3481
- facilityId: number;
3482
- code: string;
3483
- config?: any;
3475
+ export declare class TeamEvents extends BondBaseEntity {
3476
+ teamId: number | null;
3477
+ eventId: number | null;
3478
+ status: number | null;
3484
3479
  }
3485
3480
  export declare class NotifyTracker extends BondBaseEntity {
3486
3481
  userId: number;
@@ -3489,6 +3484,11 @@ export declare class NotifyTracker extends BondBaseEntity {
3489
3484
  notfiyMethodtype: NotifyMethodEnum;
3490
3485
  destination: string;
3491
3486
  }
3487
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3488
+ facilityId: number;
3489
+ code: string;
3490
+ config?: any;
3491
+ }
3492
3492
  export declare class ByOrganizationIdDto {
3493
3493
  organizationId: number;
3494
3494
  }
@@ -3513,12 +3513,6 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3513
3513
  months?: string;
3514
3514
  dow?: string;
3515
3515
  }
3516
- export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3517
- key?: string;
3518
- vaule?: string;
3519
- version: number;
3520
- organization: Organization;
3521
- }
3522
3516
  export declare class Organization extends BondBaseEntity {
3523
3517
  name: string | null;
3524
3518
  email: string | null;
@@ -3568,24 +3562,16 @@ export declare class Organization extends BondBaseEntity {
3568
3562
  brandings: OrganizationBranding[];
3569
3563
  brandingsV2?: OrganizationBranding[];
3570
3564
  }
3565
+ export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3566
+ key?: string;
3567
+ vaule?: string;
3568
+ version: number;
3569
+ organization: Organization;
3570
+ }
3571
3571
  export declare class OrganizationUsers extends BondBaseEntity {
3572
3572
  organisationId: number | null;
3573
3573
  userId: number | null;
3574
3574
  }
3575
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3576
- mainAdminUserId?: number;
3577
- }
3578
- export interface UnallocatedEventsFilters {
3579
- programsIds?: number[];
3580
- sessionsIds?: number[];
3581
- segmentsIds?: number[];
3582
- durations?: Duration[];
3583
- daysOfWeek?: number[];
3584
- }
3585
- export interface Duration {
3586
- startDate: string;
3587
- endDate: string;
3588
- }
3589
3575
  export declare class CustomerIdDto {
3590
3576
  customerId: number;
3591
3577
  }
@@ -3702,6 +3688,20 @@ export declare class SendRequestDto {
3702
3688
  sendToEmail: string;
3703
3689
  memo?: string;
3704
3690
  }
3691
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3692
+ mainAdminUserId?: number;
3693
+ }
3694
+ export interface UnallocatedEventsFilters {
3695
+ programsIds?: number[];
3696
+ sessionsIds?: number[];
3697
+ segmentsIds?: number[];
3698
+ durations?: Duration[];
3699
+ daysOfWeek?: number[];
3700
+ }
3701
+ export interface Duration {
3702
+ startDate: string;
3703
+ endDate: string;
3704
+ }
3705
3705
  export declare class RefundDto {
3706
3706
  invoiceId: number;
3707
3707
  lineItems: RefundLineItemAmountDto[];
@@ -3724,6 +3724,26 @@ export declare class RefundLineItemAmountDto {
3724
3724
  id: number;
3725
3725
  refundAmount: number;
3726
3726
  }
3727
+ export declare class VoidDto {
3728
+ lineItems: VoidLineItemDto[];
3729
+ meta?: RevertMetaDto;
3730
+ }
3731
+ export declare class VoidLineItemDto {
3732
+ id: number;
3733
+ quantity?: number;
3734
+ isEdit?: boolean;
3735
+ amount?: number;
3736
+ }
3737
+ export interface RefundResult extends PaymentsResults {
3738
+ successfulLineItems: RefundLineItemAmountDto[];
3739
+ failedLineItems: RefundLineItemAmountDto[];
3740
+ invoice?: Invoice;
3741
+ }
3742
+ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3743
+ successfulLineItems: Map<number, RefundLineItemAmountDto>;
3744
+ failedLineItems: Map<number, RefundLineItemAmountDto>;
3745
+ totalAmountProcessed: number;
3746
+ }
3727
3747
  export interface PaymentResult {
3728
3748
  paymentMethodId: string;
3729
3749
  paymentMethodType: PaymentMethodTypeEnum;
@@ -3749,26 +3769,6 @@ export interface ExtendedLineItems {
3749
3769
  products: LineItems[];
3750
3770
  events: LineItems[];
3751
3771
  }
3752
- export declare class VoidDto {
3753
- lineItems: VoidLineItemDto[];
3754
- meta?: RevertMetaDto;
3755
- }
3756
- export declare class VoidLineItemDto {
3757
- id: number;
3758
- quantity?: number;
3759
- isEdit?: boolean;
3760
- amount?: number;
3761
- }
3762
- export interface RefundResult extends PaymentsResults {
3763
- successfulLineItems: RefundLineItemAmountDto[];
3764
- failedLineItems: RefundLineItemAmountDto[];
3765
- invoice?: Invoice;
3766
- }
3767
- export interface RefundResultWithLineItemsDict extends PaymentsResults {
3768
- successfulLineItems: Map<number, RefundLineItemAmountDto>;
3769
- failedLineItems: Map<number, RefundLineItemAmountDto>;
3770
- totalAmountProcessed: number;
3771
- }
3772
3772
  export declare class AddonDto extends ProductPricesDto {
3773
3773
  id?: number;
3774
3774
  }
@@ -3869,6 +3869,17 @@ export declare class PurchasedResourceDto {
3869
3869
  endDate?: string;
3870
3870
  endTime?: string;
3871
3871
  }
3872
+ export declare class SegmentDto {
3873
+ id?: number;
3874
+ title: string;
3875
+ isPrivate: boolean;
3876
+ resourceIds: number[];
3877
+ sportId?: number;
3878
+ series: SeriesDto[];
3879
+ addonIds?: number[];
3880
+ publicNotesForSlots?: string;
3881
+ privateNotesForSlots?: string;
3882
+ }
3872
3883
  export declare class ReservationDto {
3873
3884
  id?: number;
3874
3885
  organizationId?: number;
@@ -4016,17 +4027,6 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
4016
4027
  export declare class ReservationNotifyDto {
4017
4028
  notifyMethods?: NotifyMethodEnum[];
4018
4029
  }
4019
- export declare class SegmentDto {
4020
- id?: number;
4021
- title: string;
4022
- isPrivate: boolean;
4023
- resourceIds: number[];
4024
- sportId?: number;
4025
- series: SeriesDto[];
4026
- addonIds?: number[];
4027
- publicNotesForSlots?: string;
4028
- privateNotesForSlots?: string;
4029
- }
4030
4030
  export declare class SeriesDto {
4031
4031
  id?: number;
4032
4032
  startDate: string;
@@ -4085,7 +4085,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
4085
4085
  displayTotalWithTax?: number;
4086
4086
  displayUnitTax?: number;
4087
4087
  }[];
4088
- addonsProductUserIds?: number[];
4089
4088
  segmentId?: number;
4090
4089
  seriesId?: number;
4091
4090
  eventId?: number;
@@ -4105,6 +4104,7 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
4105
4104
  maintenanceSlots?: SlotDto[];
4106
4105
  isPrivate: boolean;
4107
4106
  slotDurationType: SlotDurationTypeEnum;
4107
+ addons?: AddonDto[];
4108
4108
  addonsIds?: number[];
4109
4109
  }
4110
4110
  export declare class TimeSlotDto {
@@ -4159,26 +4159,6 @@ export declare class BookingV1Dto {
4159
4159
  cashPayment: boolean;
4160
4160
  requestOnly: boolean;
4161
4161
  }
4162
- export declare class Addon extends OrganizationConnectionBaseEntity {
4163
- parentId: number;
4164
- parentType: AddonParentTypeEnum;
4165
- productId: number;
4166
- product?: Product;
4167
- quantity: number;
4168
- unitPrice: number;
4169
- totalPrice: number;
4170
- approvalStatus: ReservationStatusEnum;
4171
- paymentStatus: ReservationPaymentStatusEnum;
4172
- level?: ProductPackageLevelEnum;
4173
- resourceId?: number;
4174
- resource?: Resource;
4175
- invoiceId?: number;
4176
- invoice?: Invoice;
4177
- productUserId?: number;
4178
- productUser?: ProductsUsers;
4179
- previousProductUsersIds?: number[];
4180
- previousProductUsers?: ProductsUsers[];
4181
- }
4182
4162
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4183
4163
  deletedAt?: Date;
4184
4164
  reservationId: number;
@@ -4218,6 +4198,26 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4218
4198
  targetGlobalPrice?: number;
4219
4199
  slots: Slot[];
4220
4200
  }
4201
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4202
+ parentId: number;
4203
+ parentType: AddonParentTypeEnum;
4204
+ productId: number;
4205
+ product?: Product;
4206
+ quantity: number;
4207
+ unitPrice: number;
4208
+ totalPrice: number;
4209
+ approvalStatus: ReservationStatusEnum;
4210
+ paymentStatus: ReservationPaymentStatusEnum;
4211
+ level?: ProductPackageLevelEnum;
4212
+ resourceId?: number;
4213
+ resource?: Resource;
4214
+ invoiceId?: number;
4215
+ invoice?: Invoice;
4216
+ productUserId?: number;
4217
+ productUser?: ProductsUsers;
4218
+ previousProductUsersIds?: number[];
4219
+ previousProductUsers?: ProductsUsers[];
4220
+ }
4221
4221
  export declare class Segment extends OrganizationConnectionBaseEntity {
4222
4222
  deletedAt?: Date;
4223
4223
  reservationId: number;
@@ -4251,87 +4251,6 @@ export declare class Series extends OrganizationConnectionBaseEntity {
4251
4251
  numberOccurrences?: number;
4252
4252
  resources?: Resource[];
4253
4253
  }
4254
- export declare class Slot extends OrganizationConnectionBaseEntity {
4255
- constructor();
4256
- defineIsReverted(): void;
4257
- isReverted: boolean;
4258
- reservationId: number;
4259
- reservation: Reservation;
4260
- title?: string;
4261
- creatorId?: number;
4262
- creatorType?: string;
4263
- userCreatorId?: number;
4264
- startDate: Date;
4265
- endDate: Date;
4266
- startTime: string;
4267
- endTime: string;
4268
- timezone?: string;
4269
- spaceId?: number;
4270
- resource?: Resource;
4271
- deletedAt?: Date;
4272
- publicNotes?: string;
4273
- privateNotes?: string;
4274
- slotType: SlotTypeEnum;
4275
- productsUserId?: number;
4276
- productUser?: ProductsUsers;
4277
- product?: Product;
4278
- addonsProductUserIds?: number[] | null;
4279
- addonsProductUsers?: ProductsUsers[];
4280
- addonProducts?: Product[];
4281
- addonsMetadata: AddonMetadata[];
4282
- segmentId: number;
4283
- segment: Segment;
4284
- eventId: number;
4285
- event: Event;
4286
- sportIds: number[];
4287
- parentSlotId?: number;
4288
- parent?: Slot;
4289
- children?: Slot[];
4290
- maintenanceDurationdurationType: string;
4291
- maintenanceTiming: number;
4292
- durationValue: number;
4293
- seriesId?: number;
4294
- series?: Series;
4295
- invoiceId?: number;
4296
- invoice?: Invoice;
4297
- paymentStatus: ReservationPaymentStatusEnum;
4298
- approvalStatus?: ReservationStatusEnum;
4299
- displayName?: string;
4300
- internalName?: string;
4301
- activityTypes?: number[] | null;
4302
- hourlyRate: number;
4303
- totalPrice: number;
4304
- isConsumerVisible: boolean;
4305
- isMonitorVisible: boolean;
4306
- isPrivate: boolean;
4307
- occurrence?: number;
4308
- maintenance?: Slot[];
4309
- productMetadata: {
4310
- productId: number;
4311
- price: number;
4312
- };
4313
- slotDurationType: string;
4314
- previousProductUsersIds?: number[];
4315
- previousProductUsers?: ProductsUsers[];
4316
- changeLineItemIds?: number[];
4317
- changeLineItems?: LineItems[];
4318
- updatedLineItem?: LineItems;
4319
- conflictsCount?: number;
4320
- conflicts?: Slot[];
4321
- }
4322
- export declare type TSlotAndType = {
4323
- type: 'slots' | 'slot_addons';
4324
- slotsForProduct: {
4325
- [productId: number]: {
4326
- product: Product;
4327
- slots: SlotDto[];
4328
- };
4329
- };
4330
- };
4331
- export interface ILineItemResource {
4332
- type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
4333
- values: TResource[];
4334
- }
4335
4254
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
4336
4255
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
4337
4256
  export interface ReservationV1 {
@@ -4447,9 +4366,6 @@ export interface LineItemPrice {
4447
4366
  currency: string;
4448
4367
  totalPrice: number;
4449
4368
  }
4450
- export interface CalendarCardAddon extends ProductsUsers {
4451
- price: LineItemPrice;
4452
- }
4453
4369
  export interface CalendarSlotCard extends Slot {
4454
4370
  reservation: Reservation & {
4455
4371
  resources?: {
@@ -4457,7 +4373,6 @@ export interface CalendarSlotCard extends Slot {
4457
4373
  name: string;
4458
4374
  }[];
4459
4375
  };
4460
- addons: CalendarCardAddon[];
4461
4376
  invoice: Invoice;
4462
4377
  price: LineItemPrice;
4463
4378
  totalSlotsInSeries?: number;
@@ -4555,22 +4470,98 @@ export interface AddonMetadata {
4555
4470
  totalPrice: number;
4556
4471
  product?: Product;
4557
4472
  }
4558
- export declare class ChangeRolePermissionsDto {
4559
- permissionIds: number[];
4560
- }
4561
4473
  export declare class CreateRoleDto {
4562
4474
  name: string;
4563
4475
  }
4476
+ export declare type TSlotAndType = {
4477
+ type: 'slots' | 'slot_addons';
4478
+ slotsForProduct: {
4479
+ [productId: number]: {
4480
+ product: Product;
4481
+ slots: SlotDto[];
4482
+ };
4483
+ };
4484
+ };
4485
+ export interface ILineItemResource {
4486
+ type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4487
+ values: TResource[];
4488
+ }
4489
+ export declare class Slot extends OrganizationConnectionBaseEntity {
4490
+ constructor();
4491
+ defineIsReverted(): void;
4492
+ isReverted: boolean;
4493
+ reservationId: number;
4494
+ reservation: Reservation;
4495
+ title?: string;
4496
+ creatorId?: number;
4497
+ creatorType?: string;
4498
+ userCreatorId?: number;
4499
+ startDate: Date;
4500
+ endDate: Date;
4501
+ startTime: string;
4502
+ endTime: string;
4503
+ timezone?: string;
4504
+ spaceId?: number;
4505
+ resource?: Resource;
4506
+ deletedAt?: Date;
4507
+ publicNotes?: string;
4508
+ privateNotes?: string;
4509
+ slotType: SlotTypeEnum;
4510
+ productsUserId?: number;
4511
+ productUser?: ProductsUsers;
4512
+ product?: Product;
4513
+ addons: Addon[];
4514
+ addonsProductUserIds?: number[] | null;
4515
+ addonsMetadata: AddonMetadata[];
4516
+ segmentId: number;
4517
+ segment: Segment;
4518
+ eventId: number;
4519
+ event: Event;
4520
+ sportIds: number[];
4521
+ parentSlotId?: number;
4522
+ parent?: Slot;
4523
+ children?: Slot[];
4524
+ maintenanceDurationdurationType: string;
4525
+ maintenanceTiming: number;
4526
+ durationValue: number;
4527
+ seriesId?: number;
4528
+ series?: Series;
4529
+ invoiceId?: number;
4530
+ invoice?: Invoice;
4531
+ paymentStatus: ReservationPaymentStatusEnum;
4532
+ approvalStatus?: ReservationStatusEnum;
4533
+ displayName?: string;
4534
+ internalName?: string;
4535
+ activityTypes?: number[] | null;
4536
+ hourlyRate: number;
4537
+ totalPrice: number;
4538
+ isConsumerVisible: boolean;
4539
+ isMonitorVisible: boolean;
4540
+ isPrivate: boolean;
4541
+ occurrence?: number;
4542
+ maintenance?: Slot[];
4543
+ productMetadata: {
4544
+ productId: number;
4545
+ price: number;
4546
+ };
4547
+ slotDurationType: string;
4548
+ previousProductUsersIds?: number[];
4549
+ previousProductUsers?: ProductsUsers[];
4550
+ changeLineItemIds?: number[];
4551
+ changeLineItems?: LineItems[];
4552
+ updatedLineItem?: LineItems;
4553
+ conflictsCount?: number;
4554
+ conflicts?: Slot[];
4555
+ }
4556
+ export declare class ChangeRolePermissionsDto {
4557
+ permissionIds: number[];
4558
+ }
4564
4559
  export declare class Role extends OrganizationConnectionBaseEntity {
4565
4560
  name: string;
4566
4561
  deletedAt?: Date;
4567
4562
  permissions: Permission[];
4568
4563
  usersRoles: UserRole[];
4569
4564
  }
4570
- export declare class Permission extends BondBaseEntity {
4571
- name: string;
4572
- deletedAt?: Date;
4573
- }
4574
4565
  export declare class UserRole extends OrganizationConnectionBaseEntity {
4575
4566
  deletedAt?: Date;
4576
4567
  userId: number;
@@ -4578,12 +4569,45 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4578
4569
  role: Role;
4579
4570
  user: User;
4580
4571
  }
4581
- export declare class CloseShiftDto {
4582
- closingCashAmount: number;
4572
+ export declare class Permission extends BondBaseEntity {
4573
+ name: string;
4574
+ deletedAt?: Date;
4575
+ }
4576
+ export declare class Shift extends OrganizationConnectionBaseEntity {
4577
+ stationId: number;
4578
+ station?: Station;
4579
+ status: ShiftStatusEnum;
4580
+ openingUserId: number;
4581
+ openingCashAmount: number;
4582
+ openingDate: string;
4583
+ openingTime: string;
4584
+ closingUserId?: number;
4585
+ closingCashAmount?: number;
4586
+ closingDate?: string;
4587
+ closingTime?: string;
4588
+ closingManagerId?: number;
4589
+ managementClosingCashAmount?: number;
4590
+ managementClosingDate?: string;
4591
+ managementClosingTime?: string;
4592
+ reconcilingUserId?: number;
4593
+ reconciliationAmount?: number;
4594
+ reconcilingDate?: string;
4595
+ reconcilingTime?: string;
4596
+ reconciliationInvoiceId?: number;
4597
+ deletedAt?: Date;
4598
+ sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4599
+ currentCashDifference?: number;
4600
+ openingUser?: User;
4601
+ closingUser?: User;
4602
+ closingManager?: User;
4603
+ reconcilingUser?: User;
4583
4604
  }
4584
4605
  export declare class FindShiftsByIdsDto {
4585
4606
  shiftIds: number[];
4586
4607
  }
4608
+ export declare class CloseShiftDto {
4609
+ closingCashAmount: number;
4610
+ }
4587
4611
  export declare class FindShiftsFiltersDto {
4588
4612
  statuses?: string;
4589
4613
  stationIds?: string;
@@ -4611,35 +4635,6 @@ export declare class ShiftManagementClosingAmount {
4611
4635
  export declare class ManagementClosingOfShiftsDto {
4612
4636
  managementClosingData: ShiftManagementClosingAmount[];
4613
4637
  }
4614
- export declare class Shift extends OrganizationConnectionBaseEntity {
4615
- stationId: number;
4616
- station?: Station;
4617
- status: ShiftStatusEnum;
4618
- openingUserId: number;
4619
- openingCashAmount: number;
4620
- openingDate: string;
4621
- openingTime: string;
4622
- closingUserId?: number;
4623
- closingCashAmount?: number;
4624
- closingDate?: string;
4625
- closingTime?: string;
4626
- closingManagerId?: number;
4627
- managementClosingCashAmount?: number;
4628
- managementClosingDate?: string;
4629
- managementClosingTime?: string;
4630
- reconcilingUserId?: number;
4631
- reconciliationAmount?: number;
4632
- reconcilingDate?: string;
4633
- reconcilingTime?: string;
4634
- reconciliationInvoiceId?: number;
4635
- deletedAt?: Date;
4636
- sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4637
- currentCashDifference?: number;
4638
- openingUser?: User;
4639
- closingUser?: User;
4640
- closingManager?: User;
4641
- reconcilingUser?: User;
4642
- }
4643
4638
  export declare class OpenShiftDto {
4644
4639
  openingCashAmount: number;
4645
4640
  stationId: number;