@bondsports/types 0.0.184 → 0.0.185

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
@@ -20,6 +20,13 @@ export declare class UserAnswersDto {
20
20
  export declare class GetByQuestionnaireIdsDto {
21
21
  questionnaireIds: string;
22
22
  }
23
+ export declare class FindBookingTypeSettingDto {
24
+ organizationId: number;
25
+ facilityId: number;
26
+ spaceId: number;
27
+ bookingDate: string;
28
+ bookingTime: string;
29
+ }
23
30
  export declare enum EConfigurationKeys {
24
31
  MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
25
32
  }
@@ -27,12 +34,66 @@ export declare enum EFailedPaymentReasons {
27
34
  CARD_BLOCKED = "card_blocked_by_bond",
28
35
  UNKNOWN = "unknown"
29
36
  }
30
- export declare class FindBookingTypeSettingDto {
31
- organizationId: number;
37
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
38
+ membershipId: number;
39
+ }
40
+ export declare class ImportProductsFromDB {
41
+ buDate: string;
42
+ }
43
+ export declare class ImportCustomerFromCSV {
44
+ fileName: string;
45
+ startIndex?: number;
46
+ }
47
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
48
+ resolveInvoices: string;
49
+ }
50
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
51
+ membershipId: number;
52
+ onlyDashIds: string;
53
+ }
54
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
32
55
  facilityId: number;
33
- spaceId: number;
34
- bookingDate: string;
35
- bookingTime: string;
56
+ }
57
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
58
+ customerId: number;
59
+ }
60
+ export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
61
+ userId: number;
62
+ }
63
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
64
+ nameSearch?: string;
65
+ fuzzy?: string;
66
+ customerType?: CustomerTypeEnum;
67
+ customersIds?: string;
68
+ }
69
+ export declare class AddCustomerNotesDto {
70
+ customerNotes: CustomerNoteDto[];
71
+ }
72
+ export declare class CustomerNoteDto {
73
+ id?: number;
74
+ description: string;
75
+ pinToTop?: boolean;
76
+ }
77
+ export declare class AddEditCustomerDto {
78
+ firstName?: string;
79
+ lastName?: string;
80
+ entityId?: number;
81
+ entityType?: CustomerTypeEnum;
82
+ email?: string;
83
+ color?: string;
84
+ street?: string;
85
+ city?: string;
86
+ state?: string;
87
+ zip?: string;
88
+ phoneNumber?: string;
89
+ mainMediaId?: number;
90
+ creatorId?: number;
91
+ creatorType?: ResourceNameTypeEnum;
92
+ userCreatorId?: number;
93
+ gender?: GenderEnum;
94
+ birthDate?: string;
95
+ emergencyContactName?: string;
96
+ emergencyContactPhone?: string;
36
97
  }
37
98
  export declare class FindEventByIdDto {
38
99
  eventId: number;
@@ -134,38 +195,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
134
195
  isWaiverSigned?: string;
135
196
  statuses?: string;
136
197
  }
137
- export declare class FindFamilyAccountsDto {
138
- userId: number;
139
- }
140
- export declare class FindFamilyAccountsCustomerDto {
141
- customerId: number;
142
- organizationId: number;
143
- }
144
- export declare class FindUsersInFamilyAccountDto {
145
- familyAccountId: number;
146
- }
147
- export declare class CreateFamilyAccountDto {
148
- familyName: string;
149
- userId: number;
150
- }
151
- export declare class UpdateFamilyAccountNameDto {
152
- familyName: string;
153
- familyAccountId: number;
154
- }
155
- export declare class AddUserToFamilyAccountDto {
156
- familyAccountId: number;
157
- isUserAdmin: boolean;
158
- firstName: string;
159
- lastName: string;
160
- gender: GenderEnum;
161
- birthDate: string;
162
- sports?: number[];
163
- email?: string;
164
- }
165
- export declare class RemoveUserFromFamilyAccountDto {
166
- userId: number;
167
- familyAccountId: number;
168
- }
169
198
  export declare class AddressDto {
170
199
  city: string;
171
200
  state: string;
@@ -209,6 +238,38 @@ export declare class UpdateFacilityAmenitiesDto {
209
238
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
210
239
  nameSearch?: string;
211
240
  }
241
+ export declare class FindFamilyAccountsDto {
242
+ userId: number;
243
+ }
244
+ export declare class FindFamilyAccountsCustomerDto {
245
+ customerId: number;
246
+ organizationId: number;
247
+ }
248
+ export declare class FindUsersInFamilyAccountDto {
249
+ familyAccountId: number;
250
+ }
251
+ export declare class CreateFamilyAccountDto {
252
+ familyName: string;
253
+ userId: number;
254
+ }
255
+ export declare class UpdateFamilyAccountNameDto {
256
+ familyName: string;
257
+ familyAccountId: number;
258
+ }
259
+ export declare class AddUserToFamilyAccountDto {
260
+ familyAccountId: number;
261
+ isUserAdmin: boolean;
262
+ firstName: string;
263
+ lastName: string;
264
+ gender: GenderEnum;
265
+ birthDate: string;
266
+ sports?: number[];
267
+ email?: string;
268
+ }
269
+ export declare class RemoveUserFromFamilyAccountDto {
270
+ userId: number;
271
+ familyAccountId: number;
272
+ }
212
273
  export declare class FindOneParams {
213
274
  id: number;
214
275
  }
@@ -304,6 +365,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
304
365
  export declare class MoveTeamOrMembersByCsvDTO {
305
366
  fileName: string;
306
367
  }
368
+ export declare class CreateMembershipDto {
369
+ organizationId: number;
370
+ name: string;
371
+ description?: string;
372
+ customerTypes: CustomerInMembershipTypeEnum[];
373
+ activity: SportsEnum;
374
+ facilityId: number;
375
+ questionnaires: number[];
376
+ minAgeYears: number;
377
+ maxAgeYears: number;
378
+ gender: GenderEnum;
379
+ maxMembers?: number;
380
+ maxMaleMembers?: number;
381
+ maxFemaleMembers?: number;
382
+ startDate: string;
383
+ endDate: string;
384
+ registrationStartDate?: Date;
385
+ registrationEndDate?: Date;
386
+ membershipType: MembershipTypeEnum;
387
+ durationMonths: number;
388
+ longDescription?: string;
389
+ isAutoRenew?: boolean;
390
+ }
391
+ export declare class UpdateMembrshipDto extends CreateMembershipDto {
392
+ id: number;
393
+ }
394
+ export declare class UpdateMembershipMediaDto {
395
+ membershipId: number;
396
+ mediaId: number;
397
+ }
398
+ export declare class FindMembershipByIdDto {
399
+ membershipId: number;
400
+ }
401
+ export declare class FindMembershipsByOrganizationIdDto {
402
+ organizationId: number;
403
+ }
404
+ export declare class FindMembershipsByUserIdDto {
405
+ userId: number;
406
+ }
407
+ export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
408
+ startDate: string;
409
+ }
410
+ export declare class MembershipIdsDto {
411
+ membershipIds?: number[];
412
+ }
413
+ export declare class MemberIdDto {
414
+ memberId?: number;
415
+ }
416
+ export declare class FindMembersOptionsDto extends PaginationQuery {
417
+ nameEmailSearch?: string;
418
+ pastMemberships?: string;
419
+ }
420
+ export declare class CancelMembershipDto {
421
+ isImmediatelyCancel: boolean;
422
+ cancellationReason?: string;
423
+ }
307
424
  export declare class CreateEntitlementTermsDto {
308
425
  organizationId: number;
309
426
  entitlementGroupId: number;
@@ -567,80 +684,42 @@ export declare class createResourceDto {
567
684
  export declare class archiveDto {
568
685
  isArchive: boolean;
569
686
  }
570
- export declare class CreateMembershipDto {
687
+ export declare class CreateUpdateVariantsDto {
571
688
  organizationId: number;
572
- name: string;
573
- description?: string;
574
- customerTypes: CustomerInMembershipTypeEnum[];
575
- activity: SportsEnum;
576
- facilityId: number;
577
- questionnaires: number[];
578
- minAgeYears: number;
579
- maxAgeYears: number;
580
- gender: GenderEnum;
581
- maxMembers?: number;
582
- maxMaleMembers?: number;
583
- maxFemaleMembers?: number;
584
- startDate: string;
585
- endDate: string;
586
- registrationStartDate?: Date;
587
- registrationEndDate?: Date;
588
- membershipType: MembershipTypeEnum;
589
- durationMonths: number;
590
- longDescription?: string;
591
- isAutoRenew?: boolean;
689
+ parentProductId: number;
690
+ variantTitles: VariantTitleDto[];
691
+ variants: VariantDto[];
592
692
  }
593
- export declare class UpdateMembrshipDto extends CreateMembershipDto {
594
- id: number;
693
+ export declare class VariantTitleDto {
694
+ titleName: string;
695
+ titleId: number;
595
696
  }
596
- export declare class UpdateMembershipMediaDto {
597
- membershipId: number;
598
- mediaId: number;
697
+ export declare class VariantDto {
698
+ name: string;
699
+ price: number;
700
+ variantId: number;
701
+ currency: CurrencyEnum;
702
+ startDate: Date;
703
+ endDate: Date;
599
704
  }
600
- export declare class FindMembershipByIdDto {
601
- membershipId: number;
705
+ export declare class FindProgramSeasonsByProgramIdDto {
706
+ programId: number;
602
707
  }
603
- export declare class FindMembershipsByOrganizationIdDto {
604
- organizationId: number;
708
+ export declare class FindSessionsFiltersDto {
709
+ status?: PublishingStatusEnum;
710
+ isFullFetch?: boolean;
605
711
  }
606
- export declare class FindMembershipsByUserIdDto {
607
- userId: number;
712
+ export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
713
+ organizationId: number;
608
714
  }
609
- export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
610
- startDate: string;
715
+ export declare class DeleteEventAttendeesDto {
716
+ eventAttendeeIds: string;
611
717
  }
612
- export declare class MembershipIdsDto {
613
- membershipIds?: number[];
718
+ export declare class FindProgramSeasonByIdQueryDto {
719
+ includeResources?: boolean;
614
720
  }
615
- export declare class MemberIdDto {
616
- memberId?: number;
617
- }
618
- export declare class FindMembersOptionsDto extends PaginationQuery {
619
- nameEmailSearch?: string;
620
- pastMemberships?: string;
621
- }
622
- export declare class CancelMembershipDto {
623
- isImmediatelyCancel: boolean;
624
- cancellationReason?: string;
625
- }
626
- export declare class FindProgramSeasonsByProgramIdDto {
627
- programId: number;
628
- }
629
- export declare class FindSessionsFiltersDto {
630
- status?: PublishingStatusEnum;
631
- isFullFetch?: boolean;
632
- }
633
- export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
634
- organizationId: number;
635
- }
636
- export declare class DeleteEventAttendeesDto {
637
- eventAttendeeIds: string;
638
- }
639
- export declare class FindProgramSeasonByIdQueryDto {
640
- includeResources?: boolean;
641
- }
642
- export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
643
- seasonId: number;
721
+ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
722
+ seasonId: number;
644
723
  }
645
724
  export declare class FindSeasonEventsQueryDto {
646
725
  startDateFilter?: EComparisonFilter;
@@ -858,24 +937,6 @@ export declare class ProgramHighlightDto {
858
937
  type: ProgramHighlightTypeEnum;
859
938
  title: string;
860
939
  }
861
- export declare class CreateUpdateVariantsDto {
862
- organizationId: number;
863
- parentProductId: number;
864
- variantTitles: VariantTitleDto[];
865
- variants: VariantDto[];
866
- }
867
- export declare class VariantTitleDto {
868
- titleName: string;
869
- titleId: number;
870
- }
871
- export declare class VariantDto {
872
- name: string;
873
- price: number;
874
- variantId: number;
875
- currency: CurrencyEnum;
876
- startDate: Date;
877
- endDate: Date;
878
- }
879
940
  export declare class PurchasePaymentDto {
880
941
  token: string;
881
942
  type: PaymentMethodTypeEnum;
@@ -950,70 +1011,8 @@ export declare class PartialPaymentAsUserDto {
950
1011
  platform?: PlatformsEnum;
951
1012
  }
952
1013
  export declare class ValidateParticipantDto {
953
- customerIds: number[];
954
1014
  products: PurchaseProductDto[];
955
1015
  }
956
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
957
- membershipId: number;
958
- }
959
- export declare class ImportProductsFromDB {
960
- buDate: string;
961
- }
962
- export declare class ImportCustomerFromCSV {
963
- fileName: string;
964
- startIndex?: number;
965
- }
966
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
967
- resolveInvoices: string;
968
- }
969
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
970
- membershipId: number;
971
- onlyDashIds: string;
972
- }
973
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
974
- facilityId: number;
975
- }
976
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
977
- customerId: number;
978
- }
979
- export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
980
- userId: number;
981
- }
982
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
983
- nameSearch?: string;
984
- fuzzy?: string;
985
- customerType?: CustomerTypeEnum;
986
- customersIds?: string;
987
- }
988
- export declare class AddCustomerNotesDto {
989
- customerNotes: CustomerNoteDto[];
990
- }
991
- export declare class CustomerNoteDto {
992
- id?: number;
993
- description: string;
994
- pinToTop?: boolean;
995
- }
996
- export declare class AddEditCustomerDto {
997
- firstName?: string;
998
- lastName?: string;
999
- entityId?: number;
1000
- entityType?: CustomerTypeEnum;
1001
- email?: string;
1002
- color?: string;
1003
- street?: string;
1004
- city?: string;
1005
- state?: string;
1006
- zip?: string;
1007
- phoneNumber?: string;
1008
- mainMediaId?: number;
1009
- creatorId?: number;
1010
- creatorType?: ResourceNameTypeEnum;
1011
- userCreatorId?: number;
1012
- gender?: GenderEnum;
1013
- birthDate?: string;
1014
- emergencyContactName?: string;
1015
- emergencyContactPhone?: string;
1016
- }
1017
1016
  export declare class CreateResourceGroupDto {
1018
1017
  name: string;
1019
1018
  parentSlotId: number;
@@ -1022,6 +1021,20 @@ export declare class CreateResourceGroupDto {
1022
1021
  }
1023
1022
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
1024
1023
  }
1024
+ export declare class ResourceDto {
1025
+ type: ResourceNameTypeEnum;
1026
+ id: number;
1027
+ }
1028
+ export declare class StripeCustomerIdDto {
1029
+ userId: number;
1030
+ }
1031
+ export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
1032
+ paymentMethodId: string;
1033
+ }
1034
+ export declare class AddACHTokenToCustomerDto {
1035
+ publicToken: string;
1036
+ accountId: string;
1037
+ }
1025
1038
  export declare class SpaceByIdDto {
1026
1039
  spaceId: number;
1027
1040
  }
@@ -1078,20 +1091,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1078
1091
  types?: string;
1079
1092
  resourcesIds?: string;
1080
1093
  }
1081
- export declare class StripeCustomerIdDto {
1082
- userId: number;
1083
- }
1084
- export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
1085
- paymentMethodId: string;
1086
- }
1087
- export declare class AddACHTokenToCustomerDto {
1088
- publicToken: string;
1089
- accountId: string;
1090
- }
1091
- export declare class ResourceDto {
1092
- type: ResourceNameTypeEnum;
1093
- id: number;
1094
- }
1095
1094
  export declare class FindByUserIdDto {
1096
1095
  userId: number;
1097
1096
  }
@@ -1162,11 +1161,6 @@ export declare class Athlete extends BondBaseEntity {
1162
1161
  metadata: object | null;
1163
1162
  athleteSports: AthleteSports[];
1164
1163
  }
1165
- export declare class AthleteSports extends BondBaseEntity {
1166
- athleteId: number | null;
1167
- sports: number | null;
1168
- levelOfPlay: LevelOfPlayEnum | null;
1169
- }
1170
1164
  export declare class BlockedDate extends BondBaseEntity {
1171
1165
  entityType: ResourceNameTypeEnum;
1172
1166
  entityId: number;
@@ -1175,26 +1169,16 @@ export declare class BlockedDate extends BondBaseEntity {
1175
1169
  endDate: Date;
1176
1170
  deletedAt?: Date;
1177
1171
  }
1172
+ export declare class AthleteSports extends BondBaseEntity {
1173
+ athleteId: number | null;
1174
+ sports: number | null;
1175
+ levelOfPlay: LevelOfPlayEnum | null;
1176
+ }
1178
1177
  export declare class BondBaseEntity extends BaseEntity {
1179
1178
  id: number;
1180
1179
  createdAt: Date;
1181
1180
  updatedAt: Date;
1182
1181
  }
1183
- export declare class Configuration extends BondBaseEntity {
1184
- area: string;
1185
- key: string;
1186
- value: string;
1187
- }
1188
- export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1189
- parentId: number;
1190
- parentType: ResourceNameTypeEnum;
1191
- startDate: Date;
1192
- endDate: Date;
1193
- dayOfWeek: number;
1194
- startTimeInDay: string;
1195
- endTimeInDay: string;
1196
- directBookingFor: DirectBookingTypesEnum;
1197
- }
1198
1182
  export declare class BookedSessions extends BondBaseEntity {
1199
1183
  reservationId?: number;
1200
1184
  color?: string;
@@ -1213,6 +1197,21 @@ export declare class BookedSessions extends BondBaseEntity {
1213
1197
  publicNotes?: string;
1214
1198
  slotType?: SlotTypeEnum;
1215
1199
  }
1200
+ export declare class Configuration extends BondBaseEntity {
1201
+ area: string;
1202
+ key: string;
1203
+ value: string;
1204
+ }
1205
+ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1206
+ parentId: number;
1207
+ parentType: ResourceNameTypeEnum;
1208
+ startDate: Date;
1209
+ endDate: Date;
1210
+ dayOfWeek: number;
1211
+ startTimeInDay: string;
1212
+ endTimeInDay: string;
1213
+ directBookingFor: DirectBookingTypesEnum;
1214
+ }
1216
1215
  export declare class Connection extends BondBaseEntity {
1217
1216
  connType: number | null;
1218
1217
  from: number | null;
@@ -1233,24 +1232,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1233
1232
  invoiceId: number;
1234
1233
  creditPaymentId: number;
1235
1234
  }
1236
- export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1237
- customerId: number;
1238
- userId: number;
1239
- amount: number;
1240
- paymentId?: number;
1241
- invoiceId?: number;
1242
- description?: string;
1243
- deletedAt?: Date;
1244
- customer: Customer;
1245
- invoice: Invoice;
1246
- payment: Payment;
1247
- }
1248
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1249
- customerId?: number;
1250
- description: string;
1251
- pinToTop?: boolean;
1252
- customer: Customer;
1253
- }
1254
1235
  export declare class Customer extends OrganizationConnectionBaseEntity {
1255
1236
  name: string | null;
1256
1237
  entityId: number | null;
@@ -1279,6 +1260,24 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1279
1260
  mainMedia: Media;
1280
1261
  reservations?: Reservation[];
1281
1262
  }
1263
+ export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1264
+ customerId: number;
1265
+ userId: number;
1266
+ amount: number;
1267
+ paymentId?: number;
1268
+ invoiceId?: number;
1269
+ description?: string;
1270
+ deletedAt?: Date;
1271
+ customer: Customer;
1272
+ invoice: Invoice;
1273
+ payment: Payment;
1274
+ }
1275
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1276
+ customerId?: number;
1277
+ description: string;
1278
+ pinToTop?: boolean;
1279
+ customer: Customer;
1280
+ }
1282
1281
  export declare class Division extends BondBaseEntity {
1283
1282
  name: string;
1284
1283
  ordinal?: number;
@@ -1296,6 +1295,10 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1296
1295
  export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1297
1296
  name: string | null;
1298
1297
  }
1298
+ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1299
+ groupId: number;
1300
+ terms: IEntitlementTerms[];
1301
+ }
1299
1302
  export declare class EventAttendee extends BondBaseEntity {
1300
1303
  status: RequestStatusEnum | null;
1301
1304
  hasPaid: boolean | null;
@@ -1311,10 +1314,6 @@ export declare class EventAttendee extends BondBaseEntity {
1311
1314
  event: Event;
1312
1315
  purchasedResource: PurchasedResource;
1313
1316
  }
1314
- export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1315
- groupId: number;
1316
- terms: IEntitlementTerms[];
1317
- }
1318
1317
  export declare class Event extends OrganizationConnectionBaseEntity {
1319
1318
  constructor();
1320
1319
  defineCalculatedDateTimeProps(): void;
@@ -1405,6 +1404,9 @@ export declare class FamilyAccount extends BondBaseEntity {
1405
1404
  name: string | null;
1406
1405
  userInFamilyAccounts: UserInFamilyAccount[];
1407
1406
  }
1407
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1408
+ code: string;
1409
+ }
1408
1410
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1409
1411
  userId: number;
1410
1412
  invoiceId: number;
@@ -1416,9 +1418,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1416
1418
  chargedAt?: Date;
1417
1419
  originalPlannedDate?: Date;
1418
1420
  }
1419
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1420
- code: string;
1421
- }
1422
1421
  export declare class Group extends BondBaseEntity {
1423
1422
  name: string;
1424
1423
  description?: string;
@@ -1477,6 +1476,17 @@ export declare class Invoice extends BondBaseEntity {
1477
1476
  invoiceNotes: InvoiceNote[];
1478
1477
  slots: Slot[];
1479
1478
  }
1479
+ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1480
+ email: string;
1481
+ status: EEmailStatus;
1482
+ templateId: string;
1483
+ userId: number;
1484
+ invoiceId: number;
1485
+ paymentId: number;
1486
+ sendingUserId: number;
1487
+ mailParams?: any;
1488
+ memo?: string;
1489
+ }
1480
1490
  export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1481
1491
  content: string;
1482
1492
  creatingUserId: number;
@@ -1494,27 +1504,52 @@ export declare class InvoiceToPayment extends BondBaseEntity {
1494
1504
  paidAmount?: number;
1495
1505
  currency: CurrencyEnum;
1496
1506
  }
1497
- export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1498
- email: string;
1499
- status: EEmailStatus;
1500
- templateId: string;
1501
- userId: number;
1502
- invoiceId: number;
1503
- paymentId: number;
1504
- sendingUserId: number;
1505
- mailParams?: any;
1506
- memo?: string;
1507
- }
1508
- export declare class LeagueSeason extends BondBaseEntity {
1509
- leagueId: number | null;
1507
+ export declare class League extends OrganizationConnectionBaseEntity {
1510
1508
  name: string | null;
1511
- status: number | null;
1512
- startDate: Date | null;
1513
- endDate: Date | null;
1514
- priceEarlySingle: number | null;
1515
- priceRegularSingle: number | null;
1516
- priceLateSingle: number | null;
1517
- priceEarlyTeam: number | 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
+ }
1533
+ export declare class LineItemHistory extends BondBaseEntity {
1534
+ invoiceId: number;
1535
+ paymentId: number;
1536
+ lineItemId: number;
1537
+ paidAmount: number;
1538
+ unitPaidAmount: number;
1539
+ currency: CurrencyEnum;
1540
+ payment: Payment;
1541
+ lineItem: LineItems;
1542
+ }
1543
+ export declare class LeagueSeason extends BondBaseEntity {
1544
+ leagueId: number | null;
1545
+ name: string | null;
1546
+ status: number | null;
1547
+ startDate: Date | null;
1548
+ endDate: Date | null;
1549
+ priceEarlySingle: number | null;
1550
+ priceRegularSingle: number | null;
1551
+ priceLateSingle: number | null;
1552
+ priceEarlyTeam: number | null;
1518
1553
  priceRegularTeam: number | null;
1519
1554
  priceLateTeam: number | null;
1520
1555
  priceEarlyTeamMember: number | null;
@@ -1549,58 +1584,6 @@ export declare class LeagueSeasonRelations {
1549
1584
  league?: boolean;
1550
1585
  facilities?: boolean;
1551
1586
  }
1552
- export declare class LineItemHistory extends BondBaseEntity {
1553
- invoiceId: number;
1554
- paymentId: number;
1555
- lineItemId: number;
1556
- paidAmount: number;
1557
- unitPaidAmount: number;
1558
- currency: CurrencyEnum;
1559
- payment: Payment;
1560
- lineItem: LineItems;
1561
- }
1562
- export declare class League extends OrganizationConnectionBaseEntity {
1563
- name: string | null;
1564
- description: string | null;
1565
- allowBookingRequest: boolean | null;
1566
- addressName: string | null;
1567
- shortDescription: string | null;
1568
- waiverDoc: string | null;
1569
- bookingStateStatus: number | null;
1570
- timezone: string | null;
1571
- shortUrl: string | null;
1572
- leagueType: string | null;
1573
- addressId: number | null;
1574
- sportConfigData: any | null;
1575
- creatorId: number | null;
1576
- creatorType: string | null;
1577
- userCreatorId: number | null;
1578
- ownerId: number | null;
1579
- sports: number[] | null;
1580
- mainMediaId: number | null;
1581
- publishedDate: Date | null;
1582
- isPublished: boolean | null;
1583
- isVerified: boolean | null;
1584
- questionnaireId: number | null;
1585
- logo?: Media;
1586
- seasons: LeagueSeason[];
1587
- }
1588
- export declare class LinkedAccounts extends BondBaseEntity {
1589
- id: number;
1590
- provider: string;
1591
- providerId: string | null;
1592
- parentId: number | null;
1593
- parentType: string | null;
1594
- status: number | null;
1595
- token: string | null;
1596
- refreshToken: string | null;
1597
- tokenCreatedAt: Date | null;
1598
- tokenValidUpTo: Date | null;
1599
- createdAt: Date;
1600
- updatedAt: Date;
1601
- user: User;
1602
- userId: number | null;
1603
- }
1604
1587
  export declare class LineItems extends BondBaseEntity {
1605
1588
  constructor();
1606
1589
  defineIsReverted(): void;
@@ -1656,6 +1639,22 @@ export declare class LineItems extends BondBaseEntity {
1656
1639
  displayUnitPrice?: number;
1657
1640
  displayQuantity?: number;
1658
1641
  }
1642
+ export declare class LinkedAccounts extends BondBaseEntity {
1643
+ id: number;
1644
+ provider: string;
1645
+ providerId: string | null;
1646
+ parentId: number | null;
1647
+ parentType: string | null;
1648
+ status: number | null;
1649
+ token: string | null;
1650
+ refreshToken: string | null;
1651
+ tokenCreatedAt: Date | null;
1652
+ tokenValidUpTo: Date | null;
1653
+ createdAt: Date;
1654
+ updatedAt: Date;
1655
+ user: User;
1656
+ userId: number | null;
1657
+ }
1659
1658
  export declare class Media extends BondBaseEntity {
1660
1659
  url: string;
1661
1660
  name: string | null;
@@ -1793,16 +1792,22 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1793
1792
  refundReasonId?: number;
1794
1793
  refundNote?: string;
1795
1794
  }
1796
- export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1797
- failureIndex: number;
1798
- waitingDays: number;
1799
- }
1800
1795
  export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1801
1796
  paymentInstallmentId?: number;
1802
1797
  invoiceId: number;
1803
1798
  reason: EFailedPaymentReasons;
1804
1799
  errorMessage: string;
1805
1800
  }
1801
+ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1802
+ failureIndex: number;
1803
+ waitingDays: number;
1804
+ }
1805
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1806
+ paymentPlanId: number;
1807
+ paymentDate: Date;
1808
+ deletedAt?: Date;
1809
+ paymentPlan: ProductPaymentPlan;
1810
+ }
1806
1811
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1807
1812
  content: string;
1808
1813
  creatingUserId: number;
@@ -1812,11 +1817,22 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1812
1817
  paymentId: number;
1813
1818
  payment: Payment;
1814
1819
  }
1815
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1816
- paymentPlanId: number;
1817
- paymentDate: Date;
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;
1818
1832
  deletedAt?: Date;
1819
- paymentPlan: ProductPaymentPlan;
1833
+ discountMethod?: DiscountMethodsEnum;
1834
+ discountValue?: number;
1835
+ taxIncludedPrice?: number;
1820
1836
  }
1821
1837
  export declare class PaymentV1 extends BondBaseEntity {
1822
1838
  userId: number | null;
@@ -1836,38 +1852,6 @@ export declare class PaymentV1 extends BondBaseEntity {
1836
1852
  installmentId: number | null;
1837
1853
  invoiceId: string | null;
1838
1854
  }
1839
- export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1840
- parentProductId: number;
1841
- childProductId: number;
1842
- relationType: PackageProductsRelationTypeEnum;
1843
- timePeriod: AddonTimePeriodEnum;
1844
- deletedAt?: Date;
1845
- productResource: ProductResource;
1846
- childProduct: Product;
1847
- parentProduct: Product;
1848
- price: number;
1849
- isFlatPrice: boolean;
1850
- durationMinutes?: number;
1851
- durationDays?: number;
1852
- level?: ProductPackageLevelEnum;
1853
- }
1854
- export declare class Price extends OrganizationConnectionBaseEntity {
1855
- productId: number;
1856
- product: Product;
1857
- name: string | null;
1858
- price: number;
1859
- currency: CurrencyEnum;
1860
- paymentProcessorId: number | null;
1861
- startDate: Date;
1862
- endDate: Date;
1863
- groupId?: number;
1864
- groupName?: string;
1865
- originalPrice?: number;
1866
- deletedAt?: Date;
1867
- discountMethod?: DiscountMethodsEnum;
1868
- discountValue?: number;
1869
- taxIncludedPrice?: number;
1870
- }
1871
1855
  export declare class Product extends OrganizationConnectionBaseEntity {
1872
1856
  name: string;
1873
1857
  quantity: number;
@@ -1918,14 +1902,20 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1918
1902
  activityTimes: ActivityTimes[];
1919
1903
  purchasedResources: PurchasedResource[];
1920
1904
  }
1921
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1922
- productId: number;
1923
- maxMonths?: number;
1924
- dayOfMonth?: number;
1925
- name: string;
1905
+ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1906
+ parentProductId: number;
1907
+ childProductId: number;
1908
+ relationType: PackageProductsRelationTypeEnum;
1909
+ timePeriod: AddonTimePeriodEnum;
1926
1910
  deletedAt?: Date;
1927
- schedule: PaymentPlanSchedule[];
1928
- product?: Product;
1911
+ productResource: ProductResource;
1912
+ childProduct: Product;
1913
+ parentProduct: Product;
1914
+ price: number;
1915
+ isFlatPrice: boolean;
1916
+ durationMinutes?: number;
1917
+ durationDays?: number;
1918
+ level?: ProductPackageLevelEnum;
1929
1919
  }
1930
1920
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1931
1921
  productId: number;
@@ -1938,16 +1928,22 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1938
1928
  productPackages: ProductPackage[];
1939
1929
  resourceName?: string;
1940
1930
  }
1931
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1932
+ productId: number;
1933
+ maxMonths?: number;
1934
+ dayOfMonth?: number;
1935
+ name: string;
1936
+ deletedAt?: Date;
1937
+ schedule: PaymentPlanSchedule[];
1938
+ product?: Product;
1939
+ }
1941
1940
  export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1942
1941
  productId: number;
1943
1942
  variantTitleId: number;
1944
1943
  }
1945
- export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1944
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1946
1945
  productId: number;
1947
- customerId: number;
1948
- customer: Customer;
1949
- deletedAt?: Date;
1950
- product: Product;
1946
+ variantId: number;
1951
1947
  }
1952
1948
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1953
1949
  productId: number;
@@ -1966,6 +1962,13 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1966
1962
  slots?: Slot[];
1967
1963
  addons?: Addon[];
1968
1964
  }
1965
+ export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1966
+ productId: number;
1967
+ customerId: number;
1968
+ customer: Customer;
1969
+ deletedAt?: Date;
1970
+ product: Product;
1971
+ }
1969
1972
  export declare class Program extends BondBaseEntity {
1970
1973
  type: ProgramTypesEnum;
1971
1974
  name: string;
@@ -1988,10 +1991,6 @@ export declare class Program extends BondBaseEntity {
1988
1991
  programSeason: ProgramSeason[];
1989
1992
  purchasedResources: PurchasedResource[];
1990
1993
  }
1991
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1992
- productId: number;
1993
- variantId: number;
1994
- }
1995
1994
  export declare class ProgramHighlights extends BondBaseEntity {
1996
1995
  type: ProgramHighlightTypeEnum;
1997
1996
  ordinal: number | null;
@@ -2000,6 +1999,10 @@ export declare class ProgramHighlights extends BondBaseEntity {
2000
1999
  program: Program;
2001
2000
  deletedAt?: Date;
2002
2001
  }
2002
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2003
+ title: string | null;
2004
+ answerTitle: AnswerTitle;
2005
+ }
2003
2006
  export declare class ProgramSeason extends BondBaseEntity {
2004
2007
  programId: number;
2005
2008
  name: string;
@@ -2055,10 +2058,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2055
2058
  facility: Facility;
2056
2059
  purchasedResources: PurchasedResource[];
2057
2060
  }
2058
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2059
- title: string | null;
2060
- answerTitle: AnswerTitle;
2061
- }
2062
2061
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2063
2062
  productUserId: number;
2064
2063
  resourceId: number;
@@ -2095,11 +2094,6 @@ export declare class Questions extends BondBaseEntity {
2095
2094
  ownerId: number | null;
2096
2095
  questionnaireId: number | null;
2097
2096
  }
2098
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2099
- reason: string;
2100
- ordinal: number;
2101
- deletedAt: Date;
2102
- }
2103
2097
  export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2104
2098
  resourceType: ResourceNameTypeEnum;
2105
2099
  resourceId: number;
@@ -2111,6 +2105,11 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2111
2105
  closeTime?: string;
2112
2106
  deletedAt?: Date;
2113
2107
  }
2108
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2109
+ reason: string;
2110
+ ordinal: number;
2111
+ deletedAt: Date;
2112
+ }
2114
2113
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2115
2114
  name?: string;
2116
2115
  description?: string;
@@ -2178,6 +2177,14 @@ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2178
2177
  childrenSlotIds: number[];
2179
2178
  deletedAt?: Date;
2180
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
+ }
2181
2188
  export declare class SeasonAttendee extends BondBaseEntity {
2182
2189
  status: RequestStatusEnum;
2183
2190
  paymentStatus: PaymentStatusEnum;
@@ -2192,15 +2199,7 @@ export declare class SeasonAttendee extends BondBaseEntity {
2192
2199
  deletedAt?: Date;
2193
2200
  purchasedResource: PurchasedResource;
2194
2201
  }
2195
- export declare class School extends BondBaseEntity {
2196
- name: string | null;
2197
- alias: string[] | null;
2198
- addressId: number | null;
2199
- website: string | null;
2200
- phone: string | null;
2201
- dataId: number | null;
2202
- }
2203
- export declare class SeasonDivisions extends BondBaseEntity {
2202
+ export declare class SeasonDivisions extends BondBaseEntity {
2204
2203
  name: string | null;
2205
2204
  ordinal: number | null;
2206
2205
  seasonId: number | null;
@@ -2221,6 +2220,10 @@ export declare class SeasonPool extends BondBaseEntity {
2221
2220
  purchasedResource: PurchasedResource;
2222
2221
  season: LeagueSeason;
2223
2222
  }
2223
+ export declare class SpacesDependency extends BondBaseEntity {
2224
+ blockingSpaceId: number;
2225
+ blockedSpaceId: number;
2226
+ }
2224
2227
  export declare class SeasonTeam extends BondBaseEntity {
2225
2228
  seasonId: number | null;
2226
2229
  teamId: number | null;
@@ -2231,10 +2234,6 @@ export declare class SeasonTeam extends BondBaseEntity {
2231
2234
  metaData: any | null;
2232
2235
  team: Team;
2233
2236
  }
2234
- export declare class SpacesDependency extends BondBaseEntity {
2235
- blockingSpaceId: number;
2236
- blockedSpaceId: number;
2237
- }
2238
2237
  export declare class Station extends OrganizationConnectionBaseEntity {
2239
2238
  name: string;
2240
2239
  facilityId: number;
@@ -2254,23 +2253,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
2254
2253
  station: Station;
2255
2254
  subcategory: Subcategory;
2256
2255
  }
2257
- export declare class Subcategory extends OrganizationConnectionBaseEntity {
2258
- productType: ProductTypesEnum;
2259
- name: string;
2260
- ordinal?: number;
2261
- deletedAt?: Date;
2262
- stationToSubcategories: StationToSubcategory[];
2263
- stations: Station[];
2264
- }
2265
- export declare class TeamInvite extends BondBaseEntity {
2266
- email: string;
2267
- teamId: number;
2268
- invitedUserId?: number;
2269
- userCreatorId: number;
2270
- token: string;
2271
- tokenExpirationDate: Date;
2272
- isUsed: boolean;
2273
- }
2274
2256
  export declare class Team extends BondBaseEntity {
2275
2257
  name: string | null;
2276
2258
  description: string | null;
@@ -2305,6 +2287,23 @@ export declare class Team extends BondBaseEntity {
2305
2287
  gender: number | null;
2306
2288
  questionnaireId: number | null;
2307
2289
  }
2290
+ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2291
+ productType: ProductTypesEnum;
2292
+ name: string;
2293
+ ordinal?: number;
2294
+ deletedAt?: Date;
2295
+ stationToSubcategories: StationToSubcategory[];
2296
+ stations: Station[];
2297
+ }
2298
+ export declare class TeamInvite extends BondBaseEntity {
2299
+ email: string;
2300
+ teamId: number;
2301
+ invitedUserId?: number;
2302
+ userCreatorId: number;
2303
+ token: string;
2304
+ tokenExpirationDate: Date;
2305
+ isUsed: boolean;
2306
+ }
2308
2307
  export declare class TeamMember extends BondBaseEntity {
2309
2308
  teamId: number | null;
2310
2309
  userId: number | null;
@@ -2314,6 +2313,12 @@ export declare class TeamMember extends BondBaseEntity {
2314
2313
  role: TeamMemberRoleEnum;
2315
2314
  user: User;
2316
2315
  }
2316
+ export declare class UserAuthorizations extends BondBaseEntity {
2317
+ entityId: number | null;
2318
+ userId: number | null;
2319
+ entityType: UserAuthorizationsTypeEnum;
2320
+ user: User;
2321
+ }
2317
2322
  export declare class User extends BondBaseEntity {
2318
2323
  firstName: string | null;
2319
2324
  lastName: string | null;
@@ -2361,12 +2366,6 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
2361
2366
  familyAccount: FamilyAccount;
2362
2367
  deletedAt?: Date;
2363
2368
  }
2364
- export declare class UserAuthorizations extends BondBaseEntity {
2365
- entityId: number | null;
2366
- userId: number | null;
2367
- entityType: UserAuthorizationsTypeEnum;
2368
- user: User;
2369
- }
2370
2369
  export declare class UserPaymentMethod extends BondBaseEntity {
2371
2370
  userId: number;
2372
2371
  failCount: number;
@@ -3303,127 +3302,15 @@ export interface IReservationCreatorData {
3303
3302
  endDate: string;
3304
3303
  sportId: number;
3305
3304
  }
3306
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3307
- name?: string;
3308
- genderStr?: string;
3309
- parentID?: string;
3310
- partnerID?: string;
3311
- membershipName?: string;
3312
- membershipExpDate?: string;
3313
- membershipCreationDate?: string;
3314
- bondMembershipID?: number;
3315
- }
3316
- export declare class AddFamilyDto {
3317
- parents: AddImportedCustomerDto[];
3318
- children: AddImportedCustomerDto[];
3319
- }
3320
- export declare class PunchPassDto {
3321
- CustomerID: string;
3322
- QuantityLeft: number;
3323
- BondProgramID: number;
3324
- BondSessionID: number;
3325
- ProductID: number;
3326
- }
3327
- export declare class ProductIdsDto {
3328
- productIds?: number[];
3329
- }
3330
- export declare class ProductImportDto {
3331
- product: Product;
3332
- prices: Price[];
3333
- resourceIds: number[];
3334
- oldId: number;
3335
- }
3336
- export declare class ImportedSlotProductDto {
3337
- slotID?: string;
3338
- name?: string;
3339
- pricingType?: 'Hourly' | 'Flat';
3340
- appliesTo?: 'slot' | 'addon' | 'reservation';
3341
- price?: string;
3342
- minutes?: string;
3343
- quantity: string;
3344
- startDate?: string;
3345
- startTime?: string;
3346
- endDate?: string;
3347
- endTime?: string;
3348
- bondProductId?: number;
3349
- }
3350
- export declare class ImportResourceMappingDto {
3351
- bondResourceID?: string;
3352
- resourceName?: string;
3353
- }
3354
- export declare class ImportProductMappingDto {
3355
- productID?: string;
3356
- productName?: string;
3357
- }
3358
- export declare class ImportedSlotDto {
3359
- reservationID: string;
3360
- bondResourceID: string;
3361
- resourceName: string;
3362
- subResourceName: string;
3363
- startDate: string;
3364
- startTime: string;
3365
- endDate: string;
3366
- endTime: string;
3367
- sportId?: string;
3368
- setupDuration: string;
3369
- setupIncludeInCosts: string;
3370
- takedownDuration: string;
3371
- takedownIncludeInCosts: string;
3372
- slotProduct: ImportedSlotProductDto;
3373
- addonProducts: ImportedSlotProductDto[];
3374
- totalPrice: string;
3375
- }
3376
- export declare class ImportedReservationDto {
3377
- name: string;
3378
- customerId: string;
3379
- description: string;
3380
- totalPrice: string;
3381
- downPayment: string;
3382
- paid: string;
3383
- invoiceId: string;
3384
- slots?: ImportedSlotDto[];
3385
- addons?: ImportedSlotProductDto[];
3305
+ export declare class ColumnNumericTransformer {
3306
+ to(data: number): number;
3307
+ from(data: string): number;
3386
3308
  }
3309
+ export declare function convertToNumber(data: string): number;
3387
3310
  export declare class GameSlots extends BondBaseEntity {
3388
3311
  entityType: string;
3389
3312
  entityId: number;
3390
3313
  }
3391
- export declare enum ImportPaymentTypeEnum {
3392
- CREDIT_CARD = "card",
3393
- ACH = "ach",
3394
- CASH = "cash",
3395
- CHECK = "check",
3396
- CARD_ON_TERMINAL = "card-on-terminal",
3397
- OTHER = "other",
3398
- GIFT_CARD = "gift-card"
3399
- }
3400
- export declare class ImportedInvoiceLineDto {
3401
- invoiceID?: string;
3402
- description: string;
3403
- createdDate: string;
3404
- createdTime: string;
3405
- quantity: string;
3406
- price: string;
3407
- total: string;
3408
- customerID: string;
3409
- resourceType: string;
3410
- resourceID: string;
3411
- }
3412
- export declare class ImportedInvoiceDto {
3413
- customerId?: string;
3414
- total?: string;
3415
- amountDue?: string;
3416
- payments?: ImportedPaymentDto[];
3417
- lines: any;
3418
- }
3419
- export declare class ImportedPaymentDto {
3420
- invoiceID: string;
3421
- type: ImportPaymentTypeEnum;
3422
- description: string;
3423
- paid: string;
3424
- date: string;
3425
- time: string;
3426
- }
3427
3314
  export declare class MatchParticipants extends BondBaseEntity {
3428
3315
  matchId: number | null;
3429
3316
  ordinal: number | null;
@@ -3433,10 +3320,11 @@ export declare class MatchParticipants extends BondBaseEntity {
3433
3320
  score: number | null;
3434
3321
  gameSlotId: number | null;
3435
3322
  }
3436
- export declare class Matches extends BondBaseEntity {
3437
- eventId: number | null;
3438
- status: number | null;
3439
- excludeStandings: boolean | null;
3323
+ export declare class SeasonRounds extends BondBaseEntity {
3324
+ seasonId: number;
3325
+ ordinal?: number;
3326
+ divisionId?: number;
3327
+ name: string;
3440
3328
  }
3441
3329
  export declare class RoundEvents extends BaseEntity {
3442
3330
  roundId: number;
@@ -3445,11 +3333,10 @@ export declare class RoundEvents extends BaseEntity {
3445
3333
  createdAt: Date;
3446
3334
  updatedAt: Date;
3447
3335
  }
3448
- export declare class SeasonRounds extends BondBaseEntity {
3449
- seasonId: number;
3450
- ordinal?: number;
3451
- divisionId?: number;
3452
- name: string;
3336
+ export declare class Matches extends BondBaseEntity {
3337
+ eventId: number | null;
3338
+ status: number | null;
3339
+ excludeStandings: boolean | null;
3453
3340
  }
3454
3341
  export declare class TeamEvents extends BondBaseEntity {
3455
3342
  teamId: number | null;
@@ -3469,17 +3356,6 @@ export interface ValidationReason {
3469
3356
  valid: boolean;
3470
3357
  reason?: string;
3471
3358
  }
3472
- export declare class ColumnNumericTransformer {
3473
- to(data: number): number;
3474
- from(data: string): number;
3475
- }
3476
- export declare function convertToNumber(data: string): number;
3477
- export declare class CreateMonitorConfigDto {
3478
- facilityId: number;
3479
- name: string;
3480
- code: string;
3481
- config: any;
3482
- }
3483
3359
  export interface PaymentStatus {
3484
3360
  parentId: number;
3485
3361
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3492,6 +3368,17 @@ export interface PaymentStatusesDict {
3492
3368
  export interface PaymentStatusDict {
3493
3369
  [id: number]: ReservationPaymentStatusEnum;
3494
3370
  }
3371
+ export declare class CreateMonitorConfigDto {
3372
+ facilityId: number;
3373
+ name: string;
3374
+ code: string;
3375
+ config: any;
3376
+ }
3377
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3378
+ facilityId: number;
3379
+ code: string;
3380
+ config?: any;
3381
+ }
3495
3382
  export declare class NotifyTracker extends BondBaseEntity {
3496
3383
  userId: number;
3497
3384
  organizationId: number;
@@ -3499,11 +3386,6 @@ export declare class NotifyTracker extends BondBaseEntity {
3499
3386
  notfiyMethodtype: NotifyMethodEnum;
3500
3387
  destination: string;
3501
3388
  }
3502
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3503
- facilityId: number;
3504
- code: string;
3505
- config?: any;
3506
- }
3507
3389
  export declare class ByOrganizationIdDto {
3508
3390
  organizationId: number;
3509
3391
  }
@@ -3590,28 +3472,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
3590
3472
  organisationId: number | null;
3591
3473
  userId: number | null;
3592
3474
  }
3593
- export declare class RefundDto {
3594
- invoiceId: number;
3595
- lineItems: RefundLineItemAmountDto[];
3596
- refundLineItemAmountDict?: {
3597
- [id: number]: number;
3598
- };
3599
- refunds: PaymentMethodDto[];
3600
- refundType: RefundTypeEnum;
3601
- reasonId: number;
3602
- note?: string;
3603
- shiftId?: number;
3604
- meta?: RevertMetaDto;
3605
- }
3606
- export declare class PaymentMethodDto {
3607
- paymentMethodType: PaymentMethodTypeEnum;
3608
- amount: number;
3609
- paymentMethodId?: string;
3610
- }
3611
- export declare class RefundLineItemAmountDto {
3612
- id: number;
3613
- refundAmount: number;
3614
- }
3615
3475
  export interface UnallocatedEventsFilters {
3616
3476
  programsIds?: number[];
3617
3477
  sessionsIds?: number[];
@@ -3760,17 +3620,39 @@ export declare class SendRequestDto {
3760
3620
  sendToEmail: string;
3761
3621
  memo?: string;
3762
3622
  }
3763
- export declare class VoidDto {
3764
- lineItems: VoidLineItemDto[];
3765
- meta?: RevertMetaDto;
3766
- }
3767
- export declare class VoidLineItemDto {
3768
- id: number;
3769
- quantity?: number;
3770
- isEdit?: boolean;
3771
- amount?: number;
3772
- }
3773
- export interface PaymentResult {
3623
+ export declare class RefundDto {
3624
+ invoiceId: number;
3625
+ lineItems: RefundLineItemAmountDto[];
3626
+ refundLineItemAmountDict?: {
3627
+ [id: number]: number;
3628
+ };
3629
+ refunds: PaymentMethodDto[];
3630
+ refundType: RefundTypeEnum;
3631
+ reasonId: number;
3632
+ note?: string;
3633
+ shiftId?: number;
3634
+ meta?: RevertMetaDto;
3635
+ }
3636
+ export declare class PaymentMethodDto {
3637
+ paymentMethodType: PaymentMethodTypeEnum;
3638
+ amount: number;
3639
+ paymentMethodId?: string;
3640
+ }
3641
+ export declare class RefundLineItemAmountDto {
3642
+ id: number;
3643
+ refundAmount: number;
3644
+ }
3645
+ export declare class VoidDto {
3646
+ lineItems: VoidLineItemDto[];
3647
+ meta?: RevertMetaDto;
3648
+ }
3649
+ export declare class VoidLineItemDto {
3650
+ id: number;
3651
+ quantity?: number;
3652
+ isEdit?: boolean;
3653
+ amount?: number;
3654
+ }
3655
+ export interface PaymentResult {
3774
3656
  paymentMethodId: string;
3775
3657
  paymentMethodType: PaymentMethodTypeEnum;
3776
3658
  amount: number;
@@ -3805,97 +3687,32 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3805
3687
  failedLineItems: Map<number, RefundLineItemAmountDto>;
3806
3688
  totalAmountProcessed: number;
3807
3689
  }
3808
- export declare class Reservation extends OrganizationConnectionBaseEntity {
3809
- name?: string;
3810
- description?: string;
3811
- approvalStatus?: ReservationStatusEnum;
3812
- privacySetting?: string;
3813
- reservationType?: ReservationTypeEnum;
3814
- invoiceId?: string;
3815
- customerId?: number;
3816
- customer?: Customer;
3817
- price?: number;
3818
- paymentStatus?: ReservationPaymentStatusEnum;
3819
- startTime?: string;
3820
- startDate?: Date;
3821
- endDate?: Date;
3822
- creatorId?: number;
3823
- creatorType?: ResourceNameTypeEnum;
3824
- userCreatorId?: number;
3825
- sportType?: number;
3826
- deletedAt?: Date;
3827
- publicNotes?: string;
3828
- privateNotes?: string;
3829
- forms?: number[] | null;
3830
- answerTitleIds?: number[] | null;
3831
- segments?: Segment[];
3832
- migrationStatus?: string;
3833
- addons: Addon[];
3834
- overrideProductsPrice: {
3835
- productId: number;
3836
- price: number;
3837
- }[];
3838
- targetGlobalPrice?: number;
3839
- slots: Slot[];
3840
- }
3841
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
3842
- deletedAt?: Date;
3843
- reservationId: number;
3844
- invoiceId: number;
3845
- slotId: number;
3846
- }
3847
- export declare class Addon extends OrganizationConnectionBaseEntity {
3848
- parentId: number;
3849
- parentType: AddonParentTypeEnum;
3690
+ export declare class AddonDto {
3850
3691
  productId: number;
3692
+ id?: number;
3693
+ unitPrice?: number;
3694
+ quantity?: number;
3695
+ totalPrice?: number;
3851
3696
  product?: Product;
3852
- quantity: number;
3853
- unitPrice: number;
3854
- totalPrice: number;
3855
- approvalStatus: ReservationStatusEnum;
3856
- paymentStatus: ReservationPaymentStatusEnum;
3857
- level?: ProductPackageLevelEnum;
3858
- resourceId?: number;
3859
- resource?: Resource;
3860
- invoiceId?: number;
3861
- invoice?: Invoice;
3862
- productUserId?: number;
3863
- productUser?: ProductsUsers;
3864
- previousProductUsersIds?: number[];
3865
- previousProductUsers?: ProductsUsers[];
3697
+ parentProduct?: Product;
3698
+ displayTotalWithTax?: number;
3699
+ displayTotalPrice?: number;
3700
+ displayUnitTax?: number;
3866
3701
  }
3867
- export declare class Segment extends OrganizationConnectionBaseEntity {
3868
- deletedAt?: Date;
3869
- reservationId: number;
3870
- title: string;
3871
- isPrivate: boolean;
3872
- resourceIds?: number[];
3873
- sportId: number;
3874
- reservation?: Reservation;
3875
- series?: Series[];
3876
- addonIds?: number[] | null;
3877
- publicNotesForSlots?: string;
3878
- privateNotesForSlots?: string;
3879
- slots?: Slot[];
3702
+ export declare class AddAddonsDto {
3703
+ addons: AddonDto[];
3880
3704
  }
3881
- export declare class Series extends OrganizationConnectionBaseEntity {
3882
- deletedAt?: Date;
3883
- segmentId: number;
3884
- segment?: Segment;
3885
- slots?: Slot[];
3886
- slotDurationType: string;
3887
- durationEndsAfter: number;
3888
- durationUnit: string;
3889
- startDate?: Date;
3890
- endDate?: Date;
3891
- startTime: string;
3892
- endTime: string;
3893
- frequency: string;
3894
- repeatEvery: number;
3895
- repeatOn?: number[];
3896
- repeatEndDate?: Date;
3897
- numberOccurrences?: number;
3898
- resources?: Resource[];
3705
+ export declare class EditAddonsDto {
3706
+ addons: EditAddonDto[];
3707
+ }
3708
+ export declare class EditReservationAddonsDto extends EditAddonsDto {
3709
+ refundMeta?: EditItemsRefundMetaDto;
3710
+ }
3711
+ export declare class EditAddonDto {
3712
+ id: number;
3713
+ quantity: number;
3714
+ totalPrice: number;
3715
+ unitPrice?: number;
3899
3716
  }
3900
3717
  export declare class InvoiceDto {
3901
3718
  invoiceId?: string | null;
@@ -3938,99 +3755,12 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3938
3755
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3939
3756
  segments: SegmentDto[];
3940
3757
  }
3941
- export declare class AddonDto {
3942
- productId: number;
3758
+ export declare class MaintenanceDto {
3943
3759
  id?: number;
3944
- unitPrice?: number;
3945
- quantity?: number;
3946
- totalPrice?: number;
3947
- product?: Product;
3948
- parentProduct?: Product;
3949
- displayTotalWithTax?: number;
3950
- displayTotalPrice?: number;
3951
- displayUnitTax?: number;
3952
- }
3953
- export declare class AddAddonsDto {
3954
- addons: AddonDto[];
3955
- }
3956
- export declare class EditAddonsDto {
3957
- addons: EditAddonDto[];
3958
- }
3959
- export declare class EditReservationAddonsDto extends EditAddonsDto {
3960
- refundMeta?: EditItemsRefundMetaDto;
3961
- }
3962
- export declare class EditAddonDto {
3963
- id: number;
3964
- quantity: number;
3965
- totalPrice: number;
3966
- unitPrice?: number;
3967
- }
3968
- export declare class Slot extends OrganizationConnectionBaseEntity {
3969
- constructor();
3970
- defineIsReverted(): void;
3971
- isReverted: boolean;
3972
- reservationId: number;
3973
- reservation: Reservation;
3974
- title?: string;
3975
- creatorId?: number;
3976
- creatorType?: string;
3977
- userCreatorId?: number;
3978
- startDate: Date;
3979
- endDate: Date;
3980
- startTime: string;
3981
- endTime: string;
3982
- timezone?: string;
3983
- spaceId?: number;
3984
- resource?: Resource;
3985
- deletedAt?: Date;
3986
- publicNotes?: string;
3987
- privateNotes?: string;
3988
- slotType: SlotTypeEnum;
3989
- productsUserId?: number;
3990
- productUser?: ProductsUsers;
3991
- product?: Product;
3992
- addons: Addon[];
3993
- addonsProductUserIds?: number[] | null;
3994
- addonsMetadata: AddonMetadata[];
3995
- segmentId: number;
3996
- segment: Segment;
3997
- eventId: number;
3998
- event: Event;
3999
- sportIds: number[];
4000
- parentSlotId?: number;
4001
- parent?: Slot;
4002
- children?: Slot[];
4003
- maintenanceDurationdurationType: string;
4004
- maintenanceTiming: number;
3760
+ title: string;
4005
3761
  durationValue: number;
4006
- seriesId?: number;
4007
- series?: Series;
4008
- invoiceId?: number;
4009
- invoice?: Invoice;
4010
- paymentStatus: ReservationPaymentStatusEnum;
4011
- approvalStatus?: ReservationStatusEnum;
4012
- displayName?: string;
4013
- internalName?: string;
4014
- activityTypes?: number[] | null;
4015
- hourlyRate: number;
4016
- totalPrice: number;
4017
- isConsumerVisible: boolean;
4018
- isMonitorVisible: boolean;
4019
- isPrivate: boolean;
4020
- occurrence?: number;
4021
- maintenance?: Slot[];
4022
- productMetadata: {
4023
- productId: number;
4024
- price: number;
4025
- };
4026
- slotDurationType: string;
4027
- previousProductUsersIds?: number[];
4028
- previousProductUsers?: ProductsUsers[];
4029
- changeLineItemIds?: number[];
4030
- changeLineItems?: LineItems[];
4031
- updatedLineItem?: LineItems;
4032
- conflictsCount?: number;
4033
- conflicts?: Slot[];
3762
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3763
+ maintenanceTiming: MaintenanceTimingEnum;
4034
3764
  }
4035
3765
  export declare class LineItemDto {
4036
3766
  id?: number;
@@ -4058,13 +3788,6 @@ export declare class LineItemDto {
4058
3788
  unitTaxPrice?: number;
4059
3789
  parentOrdinal?: number;
4060
3790
  }
4061
- export declare class MaintenanceDto {
4062
- id?: number;
4063
- title: string;
4064
- durationValue: number;
4065
- maintenanceDurationdurationType: DurationUnitTypesEnum;
4066
- maintenanceTiming: MaintenanceTimingEnum;
4067
- }
4068
3791
  export declare class PurchasedResourceDto {
4069
3792
  resourceId?: number;
4070
3793
  resourceType: ResourceNameTypeEnum;
@@ -4225,17 +3948,6 @@ export declare class UpdateReservationInvoiceDto {
4225
3948
  updateAddons?: boolean;
4226
3949
  updateMaintenance?: boolean;
4227
3950
  }
4228
- export declare class SegmentDto {
4229
- id?: number;
4230
- title: string;
4231
- isPrivate: boolean;
4232
- resourceIds: number[];
4233
- sportId?: number;
4234
- series: SeriesDto[];
4235
- addonIds?: number[];
4236
- publicNotesForSlots?: string;
4237
- privateNotesForSlots?: string;
4238
- }
4239
3951
  export declare class SeriesDto {
4240
3952
  id?: number;
4241
3953
  startDate: string;
@@ -4253,6 +3965,17 @@ export declare class SeriesDto {
4253
3965
  maintenance?: MaintenanceDto[];
4254
3966
  slots?: SlotDto[];
4255
3967
  }
3968
+ export declare class SegmentDto {
3969
+ id?: number;
3970
+ title: string;
3971
+ isPrivate: boolean;
3972
+ resourceIds: number[];
3973
+ sportId?: number;
3974
+ series: SeriesDto[];
3975
+ addonIds?: number[];
3976
+ publicNotesForSlots?: string;
3977
+ privateNotesForSlots?: string;
3978
+ }
4256
3979
  export declare class SlotDateTimeAndSpace {
4257
3980
  startDate: string;
4258
3981
  startTime?: string;
@@ -4273,92 +3996,251 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
4273
3996
  privateNotes?: string;
4274
3997
  slotType: SlotTypeEnum;
4275
3998
  product?: Product;
4276
- priceOverrideMeta?: {
4277
- unitPrice: number;
4278
- quantity: number;
4279
- totalPrice: number;
4280
- };
4281
- addonPriceOverrideMeta?: {
4282
- [addonProductId: number]: {
4283
- unitPrice: number;
4284
- quantity: number;
4285
- totalPrice: number;
4286
- };
4287
- };
4288
- addonProducts?: Product[];
4289
- segmentId?: number;
4290
- seriesId?: number;
4291
- eventId?: number;
3999
+ priceOverrideMeta?: {
4000
+ unitPrice: number;
4001
+ quantity: number;
4002
+ totalPrice: number;
4003
+ };
4004
+ addonPriceOverrideMeta?: {
4005
+ [addonProductId: number]: {
4006
+ unitPrice: number;
4007
+ quantity: number;
4008
+ totalPrice: number;
4009
+ };
4010
+ };
4011
+ addonProducts?: Product[];
4012
+ segmentId?: number;
4013
+ seriesId?: number;
4014
+ eventId?: number;
4015
+ sportIds: number[];
4016
+ parentSlotId?: number;
4017
+ maintenanceDurationdurationType?: DurationUnitTypesEnum;
4018
+ maintenanceTiming?: MaintenanceTimingEnum;
4019
+ durationValue?: number;
4020
+ invoicId?: number;
4021
+ paymentStatus: ReservationPaymentStatusEnum;
4022
+ approvalStatus: ReservationStatusEnum;
4023
+ displayName?: string;
4024
+ internalName?: string;
4025
+ totalPrice?: number;
4026
+ relevantProducts?: Product[];
4027
+ maintenance?: MaintenanceDto[];
4028
+ maintenanceSlots?: SlotDto[];
4029
+ isPrivate: boolean;
4030
+ slotDurationType: SlotDurationTypeEnum;
4031
+ addons?: AddonDto[];
4032
+ addonsIds?: number[];
4033
+ }
4034
+ export declare class TimeSlotDto {
4035
+ id?: number;
4036
+ resourceId: number;
4037
+ startDate: string;
4038
+ startTime: string;
4039
+ endDate: string;
4040
+ endTime: string;
4041
+ parentSlotId?: number;
4042
+ }
4043
+ export declare class TimeSlotsDto {
4044
+ timeSlots: TimeSlotDto[];
4045
+ }
4046
+ export declare class SlotsIdsDto {
4047
+ slotsIds: number[];
4048
+ }
4049
+ declare class AnswerDto {
4050
+ questionId: number;
4051
+ value: any;
4052
+ }
4053
+ export declare class BookedSessionDto {
4054
+ startDate: string;
4055
+ endDate: string;
4056
+ timezone: string;
4057
+ spaceId: number;
4058
+ }
4059
+ declare class AddonV1Dto {
4060
+ resourcePackageId: number;
4061
+ resourcePackageAmount: number;
4062
+ resourcePackagePrice: number;
4063
+ }
4064
+ export declare class ReservationV1Dto {
4065
+ organizationId: number;
4066
+ name: string;
4067
+ dayOfWeek: number;
4068
+ startTime: string;
4069
+ description: string;
4070
+ sport: number;
4071
+ price: number;
4072
+ resourcePackageId: number;
4073
+ resourcePackageAmount: number;
4074
+ bookedSessions: BookedSessionDto[];
4075
+ addons: AddonV1Dto[];
4076
+ }
4077
+ export declare class BookingV1Dto {
4078
+ organizationId: number;
4079
+ reservations: ReservationV1Dto[];
4080
+ answers: AnswerDto[];
4081
+ paymentData: PurchasePaymentDto;
4082
+ skipPayment: boolean;
4083
+ cashPayment: boolean;
4084
+ requestOnly: boolean;
4085
+ }
4086
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4087
+ parentId: number;
4088
+ parentType: AddonParentTypeEnum;
4089
+ productId: number;
4090
+ product?: Product;
4091
+ quantity: number;
4092
+ unitPrice: number;
4093
+ totalPrice: number;
4094
+ approvalStatus: ReservationStatusEnum;
4095
+ paymentStatus: ReservationPaymentStatusEnum;
4096
+ level?: ProductPackageLevelEnum;
4097
+ resourceId?: number;
4098
+ resource?: Resource;
4099
+ invoiceId?: number;
4100
+ invoice?: Invoice;
4101
+ productUserId?: number;
4102
+ productUser?: ProductsUsers;
4103
+ previousProductUsersIds?: number[];
4104
+ previousProductUsers?: ProductsUsers[];
4105
+ }
4106
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4107
+ deletedAt?: Date;
4108
+ reservationId: number;
4109
+ invoiceId: number;
4110
+ slotId: number;
4111
+ }
4112
+ export declare class Reservation extends OrganizationConnectionBaseEntity {
4113
+ name?: string;
4114
+ description?: string;
4115
+ approvalStatus?: ReservationStatusEnum;
4116
+ privacySetting?: string;
4117
+ reservationType?: ReservationTypeEnum;
4118
+ invoiceId?: string;
4119
+ customerId?: number;
4120
+ customer?: Customer;
4121
+ price?: number;
4122
+ paymentStatus?: ReservationPaymentStatusEnum;
4123
+ startTime?: string;
4124
+ startDate?: Date;
4125
+ endDate?: Date;
4126
+ creatorId?: number;
4127
+ creatorType?: ResourceNameTypeEnum;
4128
+ userCreatorId?: number;
4129
+ sportType?: number;
4130
+ deletedAt?: Date;
4131
+ publicNotes?: string;
4132
+ privateNotes?: string;
4133
+ forms?: number[] | null;
4134
+ answerTitleIds?: number[] | null;
4135
+ segments?: Segment[];
4136
+ migrationStatus?: string;
4137
+ addons: Addon[];
4138
+ overrideProductsPrice: {
4139
+ productId: number;
4140
+ price: number;
4141
+ }[];
4142
+ targetGlobalPrice?: number;
4143
+ slots: Slot[];
4144
+ }
4145
+ export declare class Segment extends OrganizationConnectionBaseEntity {
4146
+ deletedAt?: Date;
4147
+ reservationId: number;
4148
+ title: string;
4149
+ isPrivate: boolean;
4150
+ resourceIds?: number[];
4151
+ sportId: number;
4152
+ reservation?: Reservation;
4153
+ series?: Series[];
4154
+ addonIds?: number[] | null;
4155
+ publicNotesForSlots?: string;
4156
+ privateNotesForSlots?: string;
4157
+ slots?: Slot[];
4158
+ }
4159
+ export declare class Series extends OrganizationConnectionBaseEntity {
4160
+ deletedAt?: Date;
4161
+ segmentId: number;
4162
+ segment?: Segment;
4163
+ slots?: Slot[];
4164
+ slotDurationType: string;
4165
+ durationEndsAfter: number;
4166
+ durationUnit: string;
4167
+ startDate?: Date;
4168
+ endDate?: Date;
4169
+ startTime: string;
4170
+ endTime: string;
4171
+ frequency: string;
4172
+ repeatEvery: number;
4173
+ repeatOn?: number[];
4174
+ repeatEndDate?: Date;
4175
+ numberOccurrences?: number;
4176
+ resources?: Resource[];
4177
+ }
4178
+ export declare class Slot extends OrganizationConnectionBaseEntity {
4179
+ constructor();
4180
+ defineIsReverted(): void;
4181
+ isReverted: boolean;
4182
+ reservationId: number;
4183
+ reservation: Reservation;
4184
+ title?: string;
4185
+ creatorId?: number;
4186
+ creatorType?: string;
4187
+ userCreatorId?: number;
4188
+ startDate: Date;
4189
+ endDate: Date;
4190
+ startTime: string;
4191
+ endTime: string;
4192
+ timezone?: string;
4193
+ spaceId?: number;
4194
+ resource?: Resource;
4195
+ deletedAt?: Date;
4196
+ publicNotes?: string;
4197
+ privateNotes?: string;
4198
+ slotType: SlotTypeEnum;
4199
+ productsUserId?: number;
4200
+ productUser?: ProductsUsers;
4201
+ product?: Product;
4202
+ addons: Addon[];
4203
+ addonsProductUserIds?: number[] | null;
4204
+ addonsMetadata: AddonMetadata[];
4205
+ segmentId: number;
4206
+ segment: Segment;
4207
+ eventId: number;
4208
+ event: Event;
4292
4209
  sportIds: number[];
4293
4210
  parentSlotId?: number;
4294
- maintenanceDurationdurationType?: DurationUnitTypesEnum;
4295
- maintenanceTiming?: MaintenanceTimingEnum;
4296
- durationValue?: number;
4297
- invoicId?: number;
4211
+ parent?: Slot;
4212
+ children?: Slot[];
4213
+ maintenanceDurationdurationType: string;
4214
+ maintenanceTiming: number;
4215
+ durationValue: number;
4216
+ seriesId?: number;
4217
+ series?: Series;
4218
+ invoiceId?: number;
4219
+ invoice?: Invoice;
4298
4220
  paymentStatus: ReservationPaymentStatusEnum;
4299
- approvalStatus: ReservationStatusEnum;
4221
+ approvalStatus?: ReservationStatusEnum;
4300
4222
  displayName?: string;
4301
4223
  internalName?: string;
4302
- totalPrice?: number;
4303
- relevantProducts?: Product[];
4304
- maintenance?: MaintenanceDto[];
4305
- maintenanceSlots?: SlotDto[];
4224
+ activityTypes?: number[] | null;
4225
+ hourlyRate: number;
4226
+ totalPrice: number;
4227
+ isConsumerVisible: boolean;
4228
+ isMonitorVisible: boolean;
4306
4229
  isPrivate: boolean;
4307
- slotDurationType: SlotDurationTypeEnum;
4308
- addons?: AddonDto[];
4309
- addonsIds?: number[];
4310
- }
4311
- export declare class TimeSlotDto {
4312
- id?: number;
4313
- resourceId: number;
4314
- startDate: string;
4315
- startTime: string;
4316
- endDate: string;
4317
- endTime: string;
4318
- parentSlotId?: number;
4319
- }
4320
- export declare class TimeSlotsDto {
4321
- timeSlots: TimeSlotDto[];
4322
- }
4323
- export declare class SlotsIdsDto {
4324
- slotsIds: number[];
4325
- }
4326
- declare class AnswerDto {
4327
- questionId: number;
4328
- value: any;
4329
- }
4330
- export declare class BookedSessionDto {
4331
- startDate: string;
4332
- endDate: string;
4333
- timezone: string;
4334
- spaceId: number;
4335
- }
4336
- declare class AddonV1Dto {
4337
- resourcePackageId: number;
4338
- resourcePackageAmount: number;
4339
- resourcePackagePrice: number;
4340
- }
4341
- export declare class ReservationV1Dto {
4342
- organizationId: number;
4343
- name: string;
4344
- dayOfWeek: number;
4345
- startTime: string;
4346
- description: string;
4347
- sport: number;
4348
- price: number;
4349
- resourcePackageId: number;
4350
- resourcePackageAmount: number;
4351
- bookedSessions: BookedSessionDto[];
4352
- addons: AddonV1Dto[];
4353
- }
4354
- export declare class BookingV1Dto {
4355
- organizationId: number;
4356
- reservations: ReservationV1Dto[];
4357
- answers: AnswerDto[];
4358
- paymentData: PurchasePaymentDto;
4359
- skipPayment: boolean;
4360
- cashPayment: boolean;
4361
- requestOnly: boolean;
4230
+ occurrence?: number;
4231
+ maintenance?: Slot[];
4232
+ productMetadata: {
4233
+ productId: number;
4234
+ price: number;
4235
+ };
4236
+ slotDurationType: string;
4237
+ previousProductUsersIds?: number[];
4238
+ previousProductUsers?: ProductsUsers[];
4239
+ changeLineItemIds?: number[];
4240
+ changeLineItems?: LineItems[];
4241
+ updatedLineItem?: LineItems;
4242
+ conflictsCount?: number;
4243
+ conflicts?: Slot[];
4362
4244
  }
4363
4245
  export declare type TSlotAndType = {
4364
4246
  type: 'slots' | 'slot_addons';
@@ -4592,12 +4474,12 @@ export interface AddonMetadata {
4592
4474
  totalPrice: number;
4593
4475
  product?: Product;
4594
4476
  }
4595
- export declare class CreateRoleDto {
4596
- name: string;
4597
- }
4598
4477
  export declare class ChangeRolePermissionsDto {
4599
4478
  permissionIds: number[];
4600
4479
  }
4480
+ export declare class CreateRoleDto {
4481
+ name: string;
4482
+ }
4601
4483
  export declare class Permission extends BondBaseEntity {
4602
4484
  name: string;
4603
4485
  deletedAt?: Date;
@@ -4615,12 +4497,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4615
4497
  role: Role;
4616
4498
  user: User;
4617
4499
  }
4618
- export declare class CloseShiftDto {
4619
- closingCashAmount: number;
4620
- }
4621
4500
  export declare class FindShiftsByIdsDto {
4622
4501
  shiftIds: number[];
4623
4502
  }
4503
+ export declare class CloseShiftDto {
4504
+ closingCashAmount: number;
4505
+ }
4624
4506
  export declare class FindShiftsFiltersDto {
4625
4507
  statuses?: string;
4626
4508
  stationIds?: string;
@@ -4694,3 +4576,120 @@ export default interface IWebflowProgram {
4694
4576
  level: string[];
4695
4577
  gender: string;
4696
4578
  }
4579
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
4580
+ name?: string;
4581
+ genderStr?: string;
4582
+ parentID?: string;
4583
+ partnerID?: string;
4584
+ membershipName?: string;
4585
+ membershipExpDate?: string;
4586
+ membershipCreationDate?: string;
4587
+ bondMembershipID?: number;
4588
+ }
4589
+ export declare class AddFamilyDto {
4590
+ parents: AddImportedCustomerDto[];
4591
+ children: AddImportedCustomerDto[];
4592
+ }
4593
+ export declare class ProductIdsDto {
4594
+ productIds?: number[];
4595
+ }
4596
+ export declare class ProductImportDto {
4597
+ product: Product;
4598
+ prices: Price[];
4599
+ resourceIds: number[];
4600
+ oldId: number;
4601
+ }
4602
+ export declare enum ImportPaymentTypeEnum {
4603
+ CREDIT_CARD = "card",
4604
+ ACH = "ach",
4605
+ CASH = "cash",
4606
+ CHECK = "check",
4607
+ CARD_ON_TERMINAL = "card-on-terminal",
4608
+ OTHER = "other",
4609
+ GIFT_CARD = "gift-card"
4610
+ }
4611
+ export declare class ImportedInvoiceLineDto {
4612
+ invoiceID?: string;
4613
+ description: string;
4614
+ createdDate: string;
4615
+ createdTime: string;
4616
+ quantity: string;
4617
+ price: string;
4618
+ total: string;
4619
+ customerID: string;
4620
+ resourceType: string;
4621
+ resourceID: string;
4622
+ }
4623
+ export declare class ImportedInvoiceDto {
4624
+ customerId?: string;
4625
+ total?: string;
4626
+ amountDue?: string;
4627
+ payments?: ImportedPaymentDto[];
4628
+ lines: any;
4629
+ }
4630
+ export declare class ImportedPaymentDto {
4631
+ invoiceID: string;
4632
+ type: ImportPaymentTypeEnum;
4633
+ description: string;
4634
+ paid: string;
4635
+ date: string;
4636
+ time: string;
4637
+ }
4638
+ export declare class PunchPassDto {
4639
+ CustomerID: string;
4640
+ QuantityLeft: number;
4641
+ BondProgramID: number;
4642
+ BondSessionID: number;
4643
+ ProductID: number;
4644
+ }
4645
+ export declare class ImportedSlotProductDto {
4646
+ slotID?: string;
4647
+ name?: string;
4648
+ pricingType?: 'Hourly' | 'Flat';
4649
+ appliesTo?: 'slot' | 'addon' | 'reservation';
4650
+ price?: string;
4651
+ minutes?: string;
4652
+ quantity: string;
4653
+ startDate?: string;
4654
+ startTime?: string;
4655
+ endDate?: string;
4656
+ endTime?: string;
4657
+ bondProductId?: number;
4658
+ }
4659
+ export declare class ImportResourceMappingDto {
4660
+ bondResourceID?: string;
4661
+ resourceName?: string;
4662
+ }
4663
+ export declare class ImportProductMappingDto {
4664
+ productID?: string;
4665
+ productName?: string;
4666
+ }
4667
+ export declare class ImportedSlotDto {
4668
+ reservationID: string;
4669
+ bondResourceID: string;
4670
+ resourceName: string;
4671
+ subResourceName: string;
4672
+ startDate: string;
4673
+ startTime: string;
4674
+ endDate: string;
4675
+ endTime: string;
4676
+ sportId?: string;
4677
+ setupDuration: string;
4678
+ setupIncludeInCosts: string;
4679
+ takedownDuration: string;
4680
+ takedownIncludeInCosts: string;
4681
+ slotProduct: ImportedSlotProductDto;
4682
+ addonProducts: ImportedSlotProductDto[];
4683
+ totalPrice: string;
4684
+ }
4685
+ export declare class ImportedReservationDto {
4686
+ name: string;
4687
+ customerId: string;
4688
+ description: string;
4689
+ totalPrice: string;
4690
+ downPayment: string;
4691
+ paid: string;
4692
+ invoiceId: string;
4693
+ slots?: ImportedSlotDto[];
4694
+ addons?: ImportedSlotProductDto[];
4695
+ }