@bondsports/types 0.0.35 → 0.0.36

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
@@ -27,63 +27,48 @@ export declare class FindBookingTypeSettingDto {
27
27
  bookingDate: string;
28
28
  bookingTime: string;
29
29
  }
30
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
31
- membershipId: number;
30
+ export declare class AddressDto {
31
+ city: string;
32
+ state: string;
33
+ country: string;
34
+ geo: number[];
32
35
  }
33
- export declare class ImportProductsFromDB {
34
- buDate: string;
36
+ export declare class OpeningTimeDto {
37
+ open: string;
38
+ close: string;
39
+ dayOfWeek: number;
35
40
  }
36
- export declare class ImportCustomerFromCSV {
37
- fileName: string;
38
- startIndex?: number;
41
+ export declare class CreateFacilityDto {
42
+ name: string;
43
+ sports: number[];
44
+ description?: string;
45
+ longDescription?: string;
46
+ info?: string;
47
+ address: AddressDto;
48
+ timezone: string;
49
+ amenities: number[];
50
+ openingTimes: OpeningTimeDto[];
51
+ resourcesIds?: number[];
39
52
  }
40
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
41
- resolveInvoices: string;
53
+ export declare class UpdateFacilityDetailsDto {
54
+ name?: string;
55
+ description?: string;
56
+ longDescription?: string;
57
+ info?: string;
58
+ address?: AddressDto;
59
+ timezone?: string;
42
60
  }
43
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
44
- membershipId: number;
45
- onlyDashIds: string;
61
+ export declare class UpdateFacilityOpeningTimesDto {
62
+ openingTimes: OpeningTimeDto[];
46
63
  }
47
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
48
- facilityId: number;
64
+ export declare class UpdateFacilitySportsDto {
65
+ sports: number[];
49
66
  }
50
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
51
- customerId: number;
67
+ export declare class UpdateFacilityAmenitiesDto {
68
+ amenities: number[];
52
69
  }
53
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
70
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
54
71
  nameSearch?: string;
55
- fuzzy?: string;
56
- customerType?: CustomerTypeEnum;
57
- customersIds?: string;
58
- }
59
- export declare class AddCustomerNotesDto {
60
- customerNotes: CustomerNoteDto[];
61
- }
62
- export declare class CustomerNoteDto {
63
- id?: number;
64
- description: string;
65
- pinToTop?: boolean;
66
- }
67
- export declare class AddEditCustomerDto {
68
- firstName?: string;
69
- lastName?: string;
70
- entityId?: number;
71
- entityType?: CustomerTypeEnum;
72
- email?: string;
73
- color?: string;
74
- street?: string;
75
- city?: string;
76
- state?: string;
77
- zip?: string;
78
- phoneNumber?: string;
79
- mainMediaId?: number;
80
- creatorId?: number;
81
- creatorType?: ResourceNameTypeEnum;
82
- userCreatorId?: number;
83
- gender?: GenderEnum;
84
- birthDate?: string;
85
- emergencyContactName?: string;
86
- emergencyContactPhone?: string;
87
72
  }
88
73
  export declare class FindEventByIdDto {
89
74
  eventId: number;
@@ -186,49 +171,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
186
171
  isWaiverSigned?: string;
187
172
  statuses?: string;
188
173
  }
189
- export declare class AddressDto {
190
- city: string;
191
- state: string;
192
- country: string;
193
- geo: number[];
194
- }
195
- export declare class OpeningTimeDto {
196
- open: string;
197
- close: string;
198
- dayOfWeek: number;
199
- }
200
- export declare class CreateFacilityDto {
201
- name: string;
202
- sports: number[];
203
- description?: string;
204
- longDescription?: string;
205
- info?: string;
206
- address: AddressDto;
207
- timezone: string;
208
- amenities: number[];
209
- openingTimes: OpeningTimeDto[];
210
- resourcesIds?: number[];
211
- }
212
- export declare class UpdateFacilityDetailsDto {
213
- name?: string;
214
- description?: string;
215
- longDescription?: string;
216
- info?: string;
217
- address?: AddressDto;
218
- timezone?: string;
219
- }
220
- export declare class UpdateFacilityOpeningTimesDto {
221
- openingTimes: OpeningTimeDto[];
222
- }
223
- export declare class UpdateFacilitySportsDto {
224
- sports: number[];
225
- }
226
- export declare class UpdateFacilityAmenitiesDto {
227
- amenities: number[];
228
- }
229
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
230
- nameSearch?: string;
231
- }
232
174
  export declare class FindFamilyAccountsDto {
233
175
  userId: number;
234
176
  }
@@ -283,135 +225,6 @@ export declare class GetGlCodeDto {
283
225
  createdAt: Date;
284
226
  updatedAt: Date;
285
227
  }
286
- export declare class FindByProgramSeasonIdDto {
287
- seasonId: number;
288
- }
289
- export declare class CreateBulkDivisionsDto {
290
- divisions: CreateDivisionDto[];
291
- }
292
- export declare class CreateDivisionDto {
293
- name: string;
294
- ordinal?: number;
295
- programSeasonId: number;
296
- color: string;
297
- isDefault: boolean;
298
- }
299
- export declare class CreateGroupDto {
300
- name: string;
301
- description?: string;
302
- status?: GroupStatusEnum;
303
- maxCapacity?: number;
304
- mainMediaId?: number;
305
- minAgeYears?: number;
306
- maxAgeYears?: number;
307
- gender: GenderEnum;
308
- levelOfPlay?: LevelOfPlayEnum[];
309
- sports: SportsEnum[];
310
- questionnaires?: number[];
311
- captainUserId?: number;
312
- divisionId?: number;
313
- }
314
- export declare class ConnectGroupToDivision {
315
- groupId: number;
316
- divisionId: number;
317
- prevDivisionId: number;
318
- }
319
- export declare class MoveUserInGroups {
320
- userId: number;
321
- groupId?: number;
322
- prevGroupId?: number;
323
- }
324
- export declare class SaveUserAsGroupCaptain {
325
- groupId: number;
326
- userId: number;
327
- }
328
- export declare class CreateTeamInviteDto {
329
- emails: string[];
330
- userCreatorId: number;
331
- }
332
- export declare class TeamByIdDto {
333
- teamId: number;
334
- }
335
- export declare class GetInviteDto extends TeamByIdDto {
336
- inviteToken: string;
337
- }
338
- export declare class JoinTeamDto {
339
- userId: number;
340
- inviteToken?: string;
341
- }
342
- export declare class UserTeamFutureSeasons extends TeamByIdDto {
343
- userId: number;
344
- }
345
- export interface IMoveSeason {
346
- fromSeasonId: number;
347
- toSeasonId: number;
348
- }
349
- export declare class MoveTeamOrMemberDto implements IMoveSeason {
350
- teamId?: number;
351
- memberId?: number;
352
- fromSeasonId: number;
353
- toSeasonId: number;
354
- toDivisionId?: number;
355
- }
356
- export declare class MoveTeamOrMembersByCsvDTO {
357
- fileName: string;
358
- }
359
- export declare class CreateMembershipDto {
360
- organizationId: number;
361
- name: string;
362
- description?: string;
363
- customerTypes: CustomerInMembershipTypeEnum[];
364
- activity: SportsEnum;
365
- facilityId: number;
366
- questionnaires: number[];
367
- minAgeYears: number;
368
- maxAgeYears: number;
369
- gender: GenderEnum;
370
- maxMembers?: number;
371
- maxMaleMembers?: number;
372
- maxFemaleMembers?: number;
373
- startDate: string;
374
- endDate: string;
375
- registrationStartDate?: Date;
376
- registrationEndDate?: Date;
377
- membershipType: MembershipTypeEnum;
378
- durationMonths: number;
379
- longDescription?: string;
380
- isAutoRenew?: boolean;
381
- }
382
- export declare class UpdateMembrshipDto extends CreateMembershipDto {
383
- id: number;
384
- }
385
- export declare class UpdateMembershipMediaDto {
386
- membershipId: number;
387
- mediaId: number;
388
- }
389
- export declare class FindMembershipByIdDto {
390
- membershipId: number;
391
- }
392
- export declare class FindMembershipsByOrganizationIdDto {
393
- organizationId: number;
394
- }
395
- export declare class FindMembershipsByUserIdDto {
396
- userId: number;
397
- }
398
- export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
399
- startDate: string;
400
- }
401
- export declare class MembershipIdsDto {
402
- membershipIds?: number[];
403
- }
404
- export declare class MemberIdDto {
405
- memberId?: number;
406
- }
407
- export declare class FindMembersOptionsDto extends PaginationQuery {
408
- nameEmailSearch?: string;
409
- pastMemberships?: string;
410
- }
411
- export declare class CancelMembershipDto {
412
- isImmediatelyCancel: boolean;
413
- cancellationReason?: string;
414
- }
415
228
  export declare class CreateEntitlementTermsDto {
416
229
  organizationId: number;
417
230
  entitlementGroupId: number;
@@ -674,23 +487,355 @@ export declare class createResourceDto {
674
487
  export declare class archiveDto {
675
488
  isArchive: boolean;
676
489
  }
677
- export declare class CreateUpdateVariantsDto {
490
+ export declare class FindByProgramSeasonIdDto {
491
+ seasonId: number;
492
+ }
493
+ export declare class CreateBulkDivisionsDto {
494
+ divisions: CreateDivisionDto[];
495
+ }
496
+ export declare class CreateDivisionDto {
497
+ name: string;
498
+ ordinal?: number;
499
+ programSeasonId: number;
500
+ color: string;
501
+ isDefault: boolean;
502
+ }
503
+ export declare class CreateGroupDto {
504
+ name: string;
505
+ description?: string;
506
+ status?: GroupStatusEnum;
507
+ maxCapacity?: number;
508
+ mainMediaId?: number;
509
+ minAgeYears?: number;
510
+ maxAgeYears?: number;
511
+ gender: GenderEnum;
512
+ levelOfPlay?: LevelOfPlayEnum[];
513
+ sports: SportsEnum[];
514
+ questionnaires?: number[];
515
+ captainUserId?: number;
516
+ divisionId?: number;
517
+ }
518
+ export declare class ConnectGroupToDivision {
519
+ groupId: number;
520
+ divisionId: number;
521
+ prevDivisionId: number;
522
+ }
523
+ export declare class MoveUserInGroups {
524
+ userId: number;
525
+ groupId?: number;
526
+ prevGroupId?: number;
527
+ }
528
+ export declare class SaveUserAsGroupCaptain {
529
+ groupId: number;
530
+ userId: number;
531
+ }
532
+ export declare class CreateTeamInviteDto {
533
+ emails: string[];
534
+ userCreatorId: number;
535
+ }
536
+ export declare class TeamByIdDto {
537
+ teamId: number;
538
+ }
539
+ export declare class GetInviteDto extends TeamByIdDto {
540
+ inviteToken: string;
541
+ }
542
+ export declare class JoinTeamDto {
543
+ userId: number;
544
+ inviteToken?: string;
545
+ }
546
+ export declare class UserTeamFutureSeasons extends TeamByIdDto {
547
+ userId: number;
548
+ }
549
+ export interface IMoveSeason {
550
+ fromSeasonId: number;
551
+ toSeasonId: number;
552
+ }
553
+ export declare class MoveTeamOrMemberDto implements IMoveSeason {
554
+ teamId?: number;
555
+ memberId?: number;
556
+ fromSeasonId: number;
557
+ toSeasonId: number;
558
+ toDivisionId?: number;
559
+ }
560
+ export declare class MoveTeamOrMembersByCsvDTO {
561
+ fileName: string;
562
+ }
563
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
564
+ membershipId: number;
565
+ }
566
+ export declare class ImportProductsFromDB {
567
+ buDate: string;
568
+ }
569
+ export declare class ImportCustomerFromCSV {
570
+ fileName: string;
571
+ startIndex?: number;
572
+ }
573
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
574
+ resolveInvoices: string;
575
+ }
576
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
577
+ membershipId: number;
578
+ onlyDashIds: string;
579
+ }
580
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
581
+ facilityId: number;
582
+ }
583
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
584
+ customerId: number;
585
+ }
586
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
587
+ nameSearch?: string;
588
+ fuzzy?: string;
589
+ customerType?: CustomerTypeEnum;
590
+ customersIds?: string;
591
+ }
592
+ export declare class AddCustomerNotesDto {
593
+ customerNotes: CustomerNoteDto[];
594
+ }
595
+ export declare class CustomerNoteDto {
596
+ id?: number;
597
+ description: string;
598
+ pinToTop?: boolean;
599
+ }
600
+ export declare class AddEditCustomerDto {
601
+ firstName?: string;
602
+ lastName?: string;
603
+ entityId?: number;
604
+ entityType?: CustomerTypeEnum;
605
+ email?: string;
606
+ color?: string;
607
+ street?: string;
608
+ city?: string;
609
+ state?: string;
610
+ zip?: string;
611
+ phoneNumber?: string;
612
+ mainMediaId?: number;
613
+ creatorId?: number;
614
+ creatorType?: ResourceNameTypeEnum;
615
+ userCreatorId?: number;
616
+ gender?: GenderEnum;
617
+ birthDate?: string;
618
+ emergencyContactName?: string;
619
+ emergencyContactPhone?: string;
620
+ }
621
+ export declare class CreateMembershipDto {
622
+ organizationId: number;
623
+ name: string;
624
+ description?: string;
625
+ customerTypes: CustomerInMembershipTypeEnum[];
626
+ activity: SportsEnum;
627
+ facilityId: number;
628
+ questionnaires: number[];
629
+ minAgeYears: number;
630
+ maxAgeYears: number;
631
+ gender: GenderEnum;
632
+ maxMembers?: number;
633
+ maxMaleMembers?: number;
634
+ maxFemaleMembers?: number;
635
+ startDate: string;
636
+ endDate: string;
637
+ registrationStartDate?: Date;
638
+ registrationEndDate?: Date;
639
+ membershipType: MembershipTypeEnum;
640
+ durationMonths: number;
641
+ longDescription?: string;
642
+ isAutoRenew?: boolean;
643
+ }
644
+ export declare class UpdateMembrshipDto extends CreateMembershipDto {
645
+ id: number;
646
+ }
647
+ export declare class UpdateMembershipMediaDto {
648
+ membershipId: number;
649
+ mediaId: number;
650
+ }
651
+ export declare class FindMembershipByIdDto {
652
+ membershipId: number;
653
+ }
654
+ export declare class FindMembershipsByOrganizationIdDto {
655
+ organizationId: number;
656
+ }
657
+ export declare class FindMembershipsByUserIdDto {
658
+ userId: number;
659
+ }
660
+ export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
661
+ startDate: string;
662
+ }
663
+ export declare class MembershipIdsDto {
664
+ membershipIds?: number[];
665
+ }
666
+ export declare class MemberIdDto {
667
+ memberId?: number;
668
+ }
669
+ export declare class FindMembersOptionsDto extends PaginationQuery {
670
+ nameEmailSearch?: string;
671
+ pastMemberships?: string;
672
+ }
673
+ export declare class CancelMembershipDto {
674
+ isImmediatelyCancel: boolean;
675
+ cancellationReason?: string;
676
+ }
677
+ export declare class CreateUpdateVariantsDto {
678
678
  organizationId: number;
679
679
  parentProductId: number;
680
680
  variantTitles: VariantTitleDto[];
681
681
  variants: VariantDto[];
682
682
  }
683
- export declare class VariantTitleDto {
684
- titleName: string;
685
- titleId: number;
683
+ export declare class VariantTitleDto {
684
+ titleName: string;
685
+ titleId: number;
686
+ }
687
+ export declare class VariantDto {
688
+ name: string;
689
+ price: number;
690
+ variantId: number;
691
+ currency: CurrencyEnum;
692
+ startDate: Date;
693
+ endDate: Date;
694
+ }
695
+ export declare class PurchasePaymentDto {
696
+ token: string;
697
+ type: PaymentMethodTypeEnum;
698
+ }
699
+ export declare class ChargeRentalsReuqestDto {
700
+ organizationId: number;
701
+ userId?: number;
702
+ customerId?: number;
703
+ orderId: number;
704
+ paymentData: PurchasePaymentDto;
705
+ amountToPay: number;
706
+ total: number;
707
+ platform: PlatformsEnum;
708
+ shiftId?: number;
709
+ }
710
+ export declare class PurchaseRequestDto {
711
+ purchasingUserId: number;
712
+ customerId?: number;
713
+ products: PurchaseProductDto[];
714
+ paymentData: PurchasePaymentDto;
715
+ answers: UserAnswersDto[];
716
+ amountToPay: number;
717
+ parentPurchasedType?: ResourceNameTypeEnum;
718
+ parentPurchasedId?: number;
719
+ isPartialPayment: boolean;
720
+ existingOrderToken?: string;
721
+ installments?: ScheduledPaymentDto[];
722
+ shiftId?: number;
723
+ orderId?: number;
724
+ }
725
+ export declare class PurchaseResourceDto extends ResourceDto {
726
+ }
727
+ export declare class PurchaseProductDto {
728
+ id: number;
729
+ resources?: PurchaseResourceDto[];
730
+ userId?: number;
731
+ paymentStatus?: PaymentStatusEnum;
732
+ amountToPay?: number;
733
+ ordinal?: number;
734
+ startDate?: Date;
735
+ quantity?: number;
736
+ }
737
+ export declare class PartialPaymentRequestDto {
738
+ orderId: number;
739
+ amountToPay: number;
740
+ organizationId: number;
741
+ payingUserId: number;
742
+ paymentMethodData: PurchasePaymentDto;
743
+ shiftId?: number;
744
+ }
745
+ export declare class RedeemPunchCardRequestDto {
746
+ products: PurchaseProductDto[];
747
+ answersTitlesIds: number[];
748
+ organizationId: number;
749
+ purchasingUserId: number;
750
+ }
751
+ export declare class OrderIdDto extends ByOrganizationIdDto {
752
+ orderId: number;
753
+ }
754
+ export declare class AddItemsDto {
755
+ products: PurchaseProductDto[];
756
+ allocateResource: boolean;
757
+ skipMail: boolean;
758
+ }
759
+ export declare class PartialPaymentAsUserDto {
760
+ orderId: any;
761
+ organizationId: any;
762
+ amountToPay: any;
763
+ paymentMethodData: any;
764
+ }
765
+ export declare class CreateResourceGroupDto {
766
+ name: string;
767
+ parentSlotId: number;
768
+ facilityId: number;
769
+ childrenSlotIds: number[];
770
+ }
771
+ export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
772
+ }
773
+ export declare class ResourceDto {
774
+ type: ResourceNameTypeEnum;
775
+ id: number;
776
+ }
777
+ export declare class SpaceByIdDto {
778
+ spaceId: number;
686
779
  }
687
- export declare class VariantDto {
780
+ export declare class CreateSpaceDto {
688
781
  name: string;
689
- price: number;
690
- variantId: number;
691
- currency: CurrencyEnum;
692
- startDate: Date;
693
- endDate: Date;
782
+ sports: number[];
783
+ description?: string;
784
+ longDescription?: string;
785
+ spaceType: ResourceSubTypeEnum;
786
+ isAddon?: boolean;
787
+ properties: SpacePropertiesEnum;
788
+ width?: number;
789
+ length?: number;
790
+ surface?: SurfacesEnum;
791
+ ages?: ResourceAgesEnum;
792
+ amenities: number[];
793
+ activityTimes: BasicActivityTimesDto[];
794
+ facilitiesIds: number[];
795
+ resourceGroupId?: number;
796
+ blockedResourcesIds?: number[];
797
+ }
798
+ export declare class UpdateSpaceDetailsDto {
799
+ name: string;
800
+ description?: string;
801
+ longDescription?: string;
802
+ isAddon?: boolean;
803
+ facilitiesIds: number[];
804
+ }
805
+ export declare class UpdateSpacePropertiesDto {
806
+ properties: SpacePropertiesEnum;
807
+ width?: number;
808
+ length?: number;
809
+ surface?: SurfacesEnum;
810
+ ages?: ResourceAgesEnum;
811
+ }
812
+ export declare class UpdateSpaceTimesDto {
813
+ activityTimes: BasicActivityTimesDto[];
814
+ }
815
+ export declare class UpdateSpaceRelationshipsDto {
816
+ resourceGroupId?: number;
817
+ blockedResourcesIds?: number[];
818
+ }
819
+ export declare class SaveSpaceDependenciesDto {
820
+ blockedSpacesIds: number[];
821
+ parentSpaceId?: number;
822
+ }
823
+ export declare class FacilitySlotsScheduleQueryParams {
824
+ spacesIds?: string;
825
+ futureHoursLimit?: number;
826
+ }
827
+ export declare class FindResourcesOptionsDto extends PaginationQuery {
828
+ nameSearch?: string;
829
+ facilitiesIds?: string;
830
+ types?: string;
831
+ resourcesIds?: string;
832
+ }
833
+ export declare class StripeCustomerIdDto {
834
+ userId: number;
835
+ }
836
+ export declare class AddACHTokenToCustomerDto {
837
+ publicToken: string;
838
+ accountId: string;
694
839
  }
695
840
  export declare class FindProgramSeasonsByProgramIdDto {
696
841
  programId: number;
@@ -804,266 +949,77 @@ export declare class ShallowUpdateProgramSeasonDto {
804
949
  addressId?: number;
805
950
  sport?: SportsEnum;
806
951
  minAge?: string;
807
- maxAge?: string;
808
- gender?: GenderEnum;
809
- level?: LevelOfPlayEnum[];
810
- requiredProductIds?: number[];
811
- subSeasons?: ShallowUpdateSubSeasonDto[];
812
- }
813
- export declare class ShallowUpdateSubSeasonDto {
814
- id: number;
815
- name: string;
816
- }
817
- export declare class SpaceResourcePairDto {
818
- resourceType: ResourceNameTypeEnum;
819
- resourceId: number;
820
- spacesIds: number[];
821
- publicNotes?: string;
822
- privateNotes?: string;
823
- minutesBeforeSlot?: number;
824
- minutesAfterSlot?: number;
825
- }
826
- export declare class BulkSpaceResourceAllocationDto {
827
- spaceResourcePairs: SpaceResourcePairDto[];
828
- organizationId: number;
829
- }
830
- export declare class SingleSpaceAllocationByTimesDto {
831
- date: string;
832
- startTime: string;
833
- endTime: string;
834
- spaceId: number;
835
- publicNotes?: string;
836
- slotType?: SlotTypeEnum;
837
- }
838
- export declare class SpaceAllocationsByTimesDto {
839
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
840
- }
841
- export declare class UpdateSeasonDatesDto {
842
- startDate: Date;
843
- endDate: Date;
844
- }
845
- export declare class MoveAttendeeDto {
846
- userId: number;
847
- resourceType: ResourceNameTypeEnum;
848
- fromResourceIds: number[];
849
- toResourceIds: number[];
850
- }
851
- export declare class UpdateSeasonRegistrationDatesDto {
852
- registrationPeriods: UpdateSeasonDatesDto[];
853
- }
854
- export declare class RegistrationDatesDto {
855
- registrationStartDate: Date;
856
- registrationEndDate: Date;
857
- earlyRegistrationStartDate?: Date;
858
- earlyRegistrationEndDate?: Date;
859
- lateRegistrationStartDate?: Date;
860
- lateRegistrationEndDate?: Date;
861
- }
862
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
863
- closeRegistrationPeriodValue?: number;
864
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
865
- closeRegistrationSpecTime?: string;
866
- openRegistrationPeriodValue?: number;
867
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
868
- openRegistrationSpecTime?: string;
869
- productsIdsToUpdate?: number[];
870
- }
871
- export declare class MoveParticipantDto {
872
- userId: number;
873
- oldProductId: number;
874
- newProductId: number;
875
- moveType: 'session' | 'segment';
876
- resourceId: number;
877
- orderId: number;
878
- }
879
- export declare class FindProgramsByOrganizationIdDto {
880
- organizationId: number;
881
- programType?: ProgramTypesEnum;
882
- }
883
- export declare class FindProgramByIdDto {
884
- programId: number;
885
- }
886
- export declare class FindProgramByOrgIdAndIdDto {
887
- programId: number;
888
- organizationId: number;
889
- }
890
- export declare class BaseProgramDto {
891
- type: ProgramTypesEnum;
892
- name: string;
893
- sport: SportsEnum;
894
- minAge: string;
895
- maxAge: string;
896
- gender: GenderEnum;
897
- level?: LevelOfPlayEnum[];
898
- description?: string;
899
- GL?: string;
900
- status: PublishingStatusEnum;
901
- organizationId: number;
902
- userCreatorId: number;
903
- highlights: ProgramHighlights[];
904
- longDescription?: string;
905
- requiredProductIds: number[];
906
- }
907
- export declare class CreateProgramDto extends BaseProgramDto {
908
- }
909
- export declare class UpdateProgramDto extends BaseProgramDto {
910
- programId: number;
911
- mainMediaId: number;
912
- }
913
- export declare class UpdateProgramStatusDto {
914
- programId: number;
915
- status: PublishingStatusEnum;
916
- }
917
- export declare class ProgramHighlightDto {
918
- data: string;
919
- ordinal: number;
920
- type: ProgramHighlightTypeEnum;
921
- title: string;
922
- }
923
- export declare class PurchasePaymentDto {
924
- token: string;
925
- type: PaymentMethodTypeEnum;
926
- }
927
- export declare class ChargeRentalsReuqestDto {
928
- organizationId: number;
929
- userId?: number;
930
- customerId?: number;
931
- orderId: number;
932
- paymentData: PurchasePaymentDto;
933
- amountToPay: number;
934
- total: number;
935
- platform: PlatformsEnum;
936
- shiftId?: number;
937
- }
938
- export declare class PurchaseRequestDto {
939
- purchasingUserId: number;
940
- customerId?: number;
941
- products: PurchaseProductDto[];
942
- paymentData: PurchasePaymentDto;
943
- answers: UserAnswersDto[];
944
- amountToPay: number;
945
- parentPurchasedType?: ResourceNameTypeEnum;
946
- parentPurchasedId?: number;
947
- isPartialPayment: boolean;
948
- existingOrderToken?: string;
949
- installments?: ScheduledPaymentDto[];
950
- shiftId?: number;
951
- orderId?: number;
952
- }
953
- export declare class PurchaseResourceDto extends ResourceDto {
954
- }
955
- export declare class PurchaseProductDto {
956
- id: number;
957
- resources?: PurchaseResourceDto[];
958
- userId?: number;
959
- paymentStatus?: PaymentStatusEnum;
960
- amountToPay?: number;
961
- ordinal?: number;
962
- startDate?: Date;
963
- quantity?: number;
964
- }
965
- export declare class PartialPaymentRequestDto {
966
- orderId: number;
967
- amountToPay: number;
968
- organizationId: number;
969
- payingUserId: number;
970
- paymentMethodData: PurchasePaymentDto;
971
- shiftId?: number;
972
- }
973
- export declare class RedeemPunchCardRequestDto {
974
- products: PurchaseProductDto[];
975
- answersTitlesIds: number[];
976
- organizationId: number;
977
- purchasingUserId: number;
978
- }
979
- export declare class OrderIdDto extends ByOrganizationIdDto {
980
- orderId: number;
981
- }
982
- export declare class AddItemsDto {
983
- products: PurchaseProductDto[];
984
- allocateResource: boolean;
985
- skipMail: boolean;
986
- }
987
- export declare class PartialPaymentAsUserDto {
988
- orderId: any;
989
- organizationId: any;
990
- amountToPay: any;
991
- paymentMethodData: any;
952
+ maxAge?: string;
953
+ gender?: GenderEnum;
954
+ level?: LevelOfPlayEnum[];
955
+ requiredProductIds?: number[];
956
+ subSeasons?: ShallowUpdateSubSeasonDto[];
992
957
  }
993
- export declare class CreateResourceGroupDto {
958
+ export declare class ShallowUpdateSubSeasonDto {
959
+ id: number;
994
960
  name: string;
995
- parentSlotId: number;
996
- facilityId: number;
997
- childrenSlotIds: number[];
998
961
  }
999
- export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
962
+ export declare class SpaceResourcePairDto {
963
+ resourceType: ResourceNameTypeEnum;
964
+ resourceId: number;
965
+ spacesIds: number[];
966
+ publicNotes?: string;
967
+ privateNotes?: string;
968
+ minutesBeforeSlot?: number;
969
+ minutesAfterSlot?: number;
1000
970
  }
1001
- export declare class ResourceDto {
1002
- type: ResourceNameTypeEnum;
1003
- id: number;
971
+ export declare class BulkSpaceResourceAllocationDto {
972
+ spaceResourcePairs: SpaceResourcePairDto[];
973
+ organizationId: number;
1004
974
  }
1005
- export declare class SpaceByIdDto {
975
+ export declare class SingleSpaceAllocationByTimesDto {
976
+ date: string;
977
+ startTime: string;
978
+ endTime: string;
1006
979
  spaceId: number;
980
+ publicNotes?: string;
981
+ slotType?: SlotTypeEnum;
1007
982
  }
1008
- export declare class CreateSpaceDto {
1009
- name: string;
1010
- sports: number[];
1011
- description?: string;
1012
- longDescription?: string;
1013
- spaceType: ResourceSubTypeEnum;
1014
- isAddon?: boolean;
1015
- properties: SpacePropertiesEnum;
1016
- width?: number;
1017
- length?: number;
1018
- surface?: SurfacesEnum;
1019
- ages?: ResourceAgesEnum;
1020
- amenities: number[];
1021
- activityTimes: BasicActivityTimesDto[];
1022
- facilitiesIds: number[];
1023
- resourceGroupId?: number;
1024
- blockedResourcesIds?: number[];
1025
- }
1026
- export declare class UpdateSpaceDetailsDto {
1027
- name: string;
1028
- description?: string;
1029
- longDescription?: string;
1030
- isAddon?: boolean;
1031
- facilitiesIds: number[];
1032
- }
1033
- export declare class UpdateSpacePropertiesDto {
1034
- properties: SpacePropertiesEnum;
1035
- width?: number;
1036
- length?: number;
1037
- surface?: SurfacesEnum;
1038
- ages?: ResourceAgesEnum;
983
+ export declare class SpaceAllocationsByTimesDto {
984
+ spaceAllocations: SingleSpaceAllocationByTimesDto[];
1039
985
  }
1040
- export declare class UpdateSpaceTimesDto {
1041
- activityTimes: BasicActivityTimesDto[];
986
+ export declare class UpdateSeasonDatesDto {
987
+ startDate: Date;
988
+ endDate: Date;
1042
989
  }
1043
- export declare class UpdateSpaceRelationshipsDto {
1044
- resourceGroupId?: number;
1045
- blockedResourcesIds?: number[];
990
+ export declare class MoveAttendeeDto {
991
+ userId: number;
992
+ resourceType: ResourceNameTypeEnum;
993
+ fromResourceIds: number[];
994
+ toResourceIds: number[];
1046
995
  }
1047
- export declare class SaveSpaceDependenciesDto {
1048
- blockedSpacesIds: number[];
1049
- parentSpaceId?: number;
996
+ export declare class UpdateSeasonRegistrationDatesDto {
997
+ registrationPeriods: UpdateSeasonDatesDto[];
1050
998
  }
1051
- export declare class FacilitySlotsScheduleQueryParams {
1052
- spacesIds?: string;
1053
- futureHoursLimit?: number;
999
+ export declare class RegistrationDatesDto {
1000
+ registrationStartDate: Date;
1001
+ registrationEndDate: Date;
1002
+ earlyRegistrationStartDate?: Date;
1003
+ earlyRegistrationEndDate?: Date;
1004
+ lateRegistrationStartDate?: Date;
1005
+ lateRegistrationEndDate?: Date;
1054
1006
  }
1055
- export declare class FindResourcesOptionsDto extends PaginationQuery {
1056
- nameSearch?: string;
1057
- facilitiesIds?: string;
1058
- types?: string;
1059
- resourcesIds?: string;
1007
+ export declare class RegistrationSettingsDto extends RegistrationDatesDto {
1008
+ closeRegistrationPeriodValue?: number;
1009
+ closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
1010
+ closeRegistrationSpecTime?: string;
1011
+ openRegistrationPeriodValue?: number;
1012
+ openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
1013
+ openRegistrationSpecTime?: string;
1014
+ productsIdsToUpdate?: number[];
1060
1015
  }
1061
- export declare class StripeCustomerIdDto {
1016
+ export declare class MoveParticipantDto {
1062
1017
  userId: number;
1063
- }
1064
- export declare class AddACHTokenToCustomerDto {
1065
- publicToken: string;
1066
- accountId: string;
1018
+ oldProductId: number;
1019
+ newProductId: number;
1020
+ moveType: 'session' | 'segment';
1021
+ resourceId: number;
1022
+ orderId: number;
1067
1023
  }
1068
1024
  export declare class FindByUserIdDto {
1069
1025
  userId: number;
@@ -1140,14 +1096,6 @@ export declare class AthleteSports extends BondBaseEntity {
1140
1096
  sports: number | null;
1141
1097
  levelOfPlay: LevelOfPlayEnum | null;
1142
1098
  }
1143
- export declare class BlockedDate extends BondBaseEntity {
1144
- entityType: ResourceNameTypeEnum;
1145
- entityId: number;
1146
- name: string;
1147
- startDate: Date;
1148
- endDate: Date;
1149
- deletedAt?: Date;
1150
- }
1151
1099
  export declare class BondBaseEntity extends BaseEntity {
1152
1100
  id: number;
1153
1101
  createdAt: Date;
@@ -1246,6 +1194,14 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1246
1194
  order: Order;
1247
1195
  invoice: Invoice;
1248
1196
  }
1197
+ export declare class BlockedDate extends BondBaseEntity {
1198
+ entityType: ResourceNameTypeEnum;
1199
+ entityId: number;
1200
+ name: string;
1201
+ startDate: Date;
1202
+ endDate: Date;
1203
+ deletedAt?: Date;
1204
+ }
1249
1205
  export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1250
1206
  customerId?: number;
1251
1207
  description: string;
@@ -1371,10 +1327,6 @@ export declare class FacilityToResource extends BondBaseEntity {
1371
1327
  facilityId: number;
1372
1328
  resourceId: number;
1373
1329
  }
1374
- export declare class FamilyAccount extends BondBaseEntity {
1375
- name: string | null;
1376
- userInFamilyAccounts: UserInFamilyAccount[];
1377
- }
1378
1330
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1379
1331
  userId: number;
1380
1332
  orderId: number;
@@ -1417,11 +1369,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1417
1369
  discountMethod?: DiscountMethodsEnum;
1418
1370
  discountValue?: number;
1419
1371
  }
1420
- export declare class GroupsInDivisions extends BondBaseEntity {
1421
- groupId: number;
1422
- divisionId: number;
1423
- deletedAt?: Date;
1424
- }
1425
1372
  export declare class Invoice extends OrganizationConnectionBaseEntity {
1426
1373
  price: number;
1427
1374
  paymentProcessorId: string;
@@ -1449,6 +1396,11 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
1449
1396
  refundReasonId?: number;
1450
1397
  refundNote?: string;
1451
1398
  }
1399
+ export declare class GroupsInDivisions extends BondBaseEntity {
1400
+ groupId: number;
1401
+ divisionId: number;
1402
+ deletedAt?: Date;
1403
+ }
1452
1404
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1453
1405
  email: string;
1454
1406
  status: EEmailStatus;
@@ -1619,24 +1571,9 @@ export declare class LinkedAccounts extends BondBaseEntity {
1619
1571
  user: User;
1620
1572
  userId: number | null;
1621
1573
  }
1622
- export declare class Media extends BondBaseEntity {
1623
- url: string;
1574
+ export declare class FamilyAccount extends BondBaseEntity {
1624
1575
  name: string | null;
1625
- title: string | null;
1626
- mediaKey: string | null;
1627
- description: string | null;
1628
- provider: string | null;
1629
- mediaType: number;
1630
- fileType: string | null;
1631
- isDefault: boolean | null;
1632
- creatorId: number | null;
1633
- creatorType: string | null;
1634
- userCreatorId: number | null;
1635
- ownerId: number | null;
1636
- createdBy: number | null;
1637
- users: User[];
1638
- programs: Program[];
1639
- memberships: Membership[];
1576
+ userInFamilyAccounts: UserInFamilyAccount[];
1640
1577
  }
1641
1578
  export declare class Membership extends OrganizationConnectionBaseEntity {
1642
1579
  name: string;
@@ -1721,6 +1658,25 @@ export declare class Order extends BondBaseEntity {
1721
1658
  orderNotes: OrderNote[];
1722
1659
  slots: Slot[];
1723
1660
  }
1661
+ export declare class Media extends BondBaseEntity {
1662
+ url: string;
1663
+ name: string | null;
1664
+ title: string | null;
1665
+ mediaKey: string | null;
1666
+ description: string | null;
1667
+ provider: string | null;
1668
+ mediaType: number;
1669
+ fileType: string | null;
1670
+ isDefault: boolean | null;
1671
+ creatorId: number | null;
1672
+ creatorType: string | null;
1673
+ userCreatorId: number | null;
1674
+ ownerId: number | null;
1675
+ createdBy: number | null;
1676
+ users: User[];
1677
+ programs: Program[];
1678
+ memberships: Membership[];
1679
+ }
1724
1680
  export declare class OrderNote extends OrganizationConnectionBaseEntity {
1725
1681
  content: string;
1726
1682
  creatingUserId: number;
@@ -1730,6 +1686,12 @@ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1730
1686
  orderId: number;
1731
1687
  order: Order;
1732
1688
  }
1689
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1690
+ email: string | null;
1691
+ notificationType: NotificationTypeEnum | null;
1692
+ resourceId: number | null;
1693
+ resourceType: string | null;
1694
+ }
1733
1695
  export declare class OrderToInvoice extends BondBaseEntity {
1734
1696
  orderId: number;
1735
1697
  invoiceId: number;
@@ -1789,70 +1751,20 @@ export declare class PaymentV1 extends BondBaseEntity {
1789
1751
  orderId: string | null;
1790
1752
  }
1791
1753
  export declare class Price extends OrganizationConnectionBaseEntity {
1792
- productId: number;
1793
- product: Product;
1794
- name: string | null;
1795
- price: number;
1796
- currency: CurrencyEnum;
1797
- paymentProcessorId: number | null;
1798
- startDate: Date;
1799
- endDate: Date;
1800
- groupId?: number;
1801
- groupName?: string;
1802
- originalPrice?: number;
1803
- deletedAt?: Date;
1804
- discountMethod?: DiscountMethodsEnum;
1805
- discountValue?: number;
1806
- }
1807
- export declare class Product extends OrganizationConnectionBaseEntity {
1808
- name: string;
1809
- quantity: number;
1810
- paymentProcessorId?: string;
1811
- startDate?: Date;
1812
- endDate?: Date;
1813
- isPublic: boolean;
1814
- productType?: ProductTypesEnum;
1815
- GL?: string;
1816
- downpayment?: number;
1817
- description?: string;
1818
- prices: Price[];
1819
- currPrice: Price;
1820
- productSubType?: ProductSubTypesEnum;
1821
- punchCard: boolean;
1822
- requiredProductIds?: number[];
1823
- lineItems: LineItems[];
1824
- resources: IResourcesAvailability[];
1825
- variantParentId?: number;
1826
- isAddon: boolean;
1827
- isArchive: boolean;
1828
- productVariants: Product[];
1829
- variantParentProduct: Product;
1830
- variantsObj: Variant[];
1831
- variantTitlesObj: VariantTitle[];
1832
- timePeriod?: AddonTimePeriodEnum;
1833
- deletedAt?: Date;
1834
- productsUsers: ProductsUsers[];
1835
- isProRated: boolean;
1836
- entitledPrices?: GroupItemsPricing[];
1837
- defaultPriceId?: number;
1838
- tax: number;
1839
- isTaxInclusive: boolean;
1840
- defaultPrice?: Price;
1841
- addOns?: IChildProduct[];
1842
- productPaymentPlan?: ProductPaymentPlan;
1843
- productResources: ProductResource[];
1844
- parentProductPackages: ProductPackage[];
1845
- childProductPackages: ProductPackage[];
1846
- sports?: number[] | null;
1847
- durationMinutes?: number;
1848
- durationDays?: number;
1849
- forms?: number[] | null;
1850
- isForAllCustomers?: boolean;
1851
- productsReservedForCustomers: ProductsReservedForCustomers[];
1852
- reservedForCustomers: Customer[];
1853
- reservedForMemberships: Membership[];
1854
- activityTimes: ActivityTimes[];
1855
- purchasedResources: PurchasedResource[];
1754
+ productId: number;
1755
+ product: Product;
1756
+ name: string | null;
1757
+ price: number;
1758
+ currency: CurrencyEnum;
1759
+ paymentProcessorId: number | null;
1760
+ startDate: Date;
1761
+ endDate: Date;
1762
+ groupId?: number;
1763
+ groupName?: string;
1764
+ originalPrice?: number;
1765
+ deletedAt?: Date;
1766
+ discountMethod?: DiscountMethodsEnum;
1767
+ discountValue?: number;
1856
1768
  }
1857
1769
  export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1858
1770
  parentProductId: number;
@@ -1943,6 +1855,56 @@ export declare class Program extends BondBaseEntity {
1943
1855
  programSeason: ProgramSeason[];
1944
1856
  purchasedResources: PurchasedResource[];
1945
1857
  }
1858
+ export declare class Product extends OrganizationConnectionBaseEntity {
1859
+ name: string;
1860
+ quantity: number;
1861
+ paymentProcessorId?: string;
1862
+ startDate?: Date;
1863
+ endDate?: Date;
1864
+ isPublic: boolean;
1865
+ productType?: ProductTypesEnum;
1866
+ GL?: string;
1867
+ downpayment?: number;
1868
+ description?: string;
1869
+ prices: Price[];
1870
+ currPrice: Price;
1871
+ productSubType?: ProductSubTypesEnum;
1872
+ punchCard: boolean;
1873
+ requiredProductIds?: number[];
1874
+ lineItems: LineItems[];
1875
+ resources: IResourcesAvailability[];
1876
+ variantParentId?: number;
1877
+ isAddon: boolean;
1878
+ isArchive: boolean;
1879
+ productVariants: Product[];
1880
+ variantParentProduct: Product;
1881
+ variantsObj: Variant[];
1882
+ variantTitlesObj: VariantTitle[];
1883
+ timePeriod?: AddonTimePeriodEnum;
1884
+ deletedAt?: Date;
1885
+ productsUsers: ProductsUsers[];
1886
+ isProRated: boolean;
1887
+ entitledPrices?: GroupItemsPricing[];
1888
+ defaultPriceId?: number;
1889
+ tax: number;
1890
+ isTaxInclusive: boolean;
1891
+ defaultPrice?: Price;
1892
+ addOns?: IChildProduct[];
1893
+ productPaymentPlan?: ProductPaymentPlan;
1894
+ productResources: ProductResource[];
1895
+ parentProductPackages: ProductPackage[];
1896
+ childProductPackages: ProductPackage[];
1897
+ sports?: number[] | null;
1898
+ durationMinutes?: number;
1899
+ durationDays?: number;
1900
+ forms?: number[] | null;
1901
+ isForAllCustomers?: boolean;
1902
+ productsReservedForCustomers: ProductsReservedForCustomers[];
1903
+ reservedForCustomers: Customer[];
1904
+ reservedForMemberships: Membership[];
1905
+ activityTimes: ActivityTimes[];
1906
+ purchasedResources: PurchasedResource[];
1907
+ }
1946
1908
  export declare class ProgramHighlights extends BondBaseEntity {
1947
1909
  type: ProgramHighlightTypeEnum;
1948
1910
  ordinal: number | null;
@@ -2150,12 +2112,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
2150
2112
  deletedAt?: Date;
2151
2113
  purchasedResource: PurchasedResource;
2152
2114
  }
2153
- export declare class SeasonDivisions extends BondBaseEntity {
2154
- name: string | null;
2155
- ordinal: number | null;
2156
- seasonId: number | null;
2157
- color: string | null;
2158
- }
2159
2115
  export declare class SeasonPool extends BondBaseEntity {
2160
2116
  seasonId?: number;
2161
2117
  userId?: number;
@@ -2212,6 +2168,12 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2212
2168
  stationToSubcategories: StationToSubcategory[];
2213
2169
  stations: Station[];
2214
2170
  }
2171
+ export declare class SeasonDivisions extends BondBaseEntity {
2172
+ name: string | null;
2173
+ ordinal: number | null;
2174
+ seasonId: number | null;
2175
+ color: string | null;
2176
+ }
2215
2177
  export declare class Team extends BondBaseEntity {
2216
2178
  name: string | null;
2217
2179
  description: string | null;
@@ -2317,19 +2279,13 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
2317
2279
  familyAccount: FamilyAccount;
2318
2280
  deletedAt?: Date;
2319
2281
  }
2320
- export declare class UsersInGroup extends BondBaseEntity {
2321
- groupId: number;
2322
- userId: number;
2323
- deletedAt?: Date;
2324
- }
2325
2282
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2326
2283
  name: string;
2327
2284
  variants: Variant[];
2328
2285
  }
2329
- export declare class Variant extends OrganizationConnectionBaseEntity {
2330
- name: string;
2331
- variantTitleId: number;
2332
- variantTitle: VariantTitle;
2286
+ export declare class UsersInGroup extends BondBaseEntity {
2287
+ groupId: number;
2288
+ userId: number;
2333
2289
  deletedAt?: Date;
2334
2290
  }
2335
2291
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
@@ -2340,11 +2296,55 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2340
2296
  membershipCollectionId?: string;
2341
2297
  programsCollectionId?: string;
2342
2298
  }
2343
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
2344
- email: string | null;
2345
- notificationType: NotificationTypeEnum | null;
2346
- resourceId: number | null;
2347
- resourceType: string | null;
2299
+ export declare class FindProgramsByOrganizationIdDto {
2300
+ organizationId: number;
2301
+ programType?: ProgramTypesEnum;
2302
+ }
2303
+ export declare class FindProgramByIdDto {
2304
+ programId: number;
2305
+ }
2306
+ export declare class FindProgramByOrgIdAndIdDto {
2307
+ programId: number;
2308
+ organizationId: number;
2309
+ }
2310
+ export declare class BaseProgramDto {
2311
+ type: ProgramTypesEnum;
2312
+ name: string;
2313
+ sport: SportsEnum;
2314
+ minAge: string;
2315
+ maxAge: string;
2316
+ gender: GenderEnum;
2317
+ level?: LevelOfPlayEnum[];
2318
+ description?: string;
2319
+ GL?: string;
2320
+ status: PublishingStatusEnum;
2321
+ organizationId: number;
2322
+ userCreatorId: number;
2323
+ highlights: ProgramHighlights[];
2324
+ longDescription?: string;
2325
+ requiredProductIds: number[];
2326
+ }
2327
+ export declare class CreateProgramDto extends BaseProgramDto {
2328
+ }
2329
+ export declare class UpdateProgramDto extends BaseProgramDto {
2330
+ programId: number;
2331
+ mainMediaId: number;
2332
+ }
2333
+ export declare class UpdateProgramStatusDto {
2334
+ programId: number;
2335
+ status: PublishingStatusEnum;
2336
+ }
2337
+ export declare class ProgramHighlightDto {
2338
+ data: string;
2339
+ ordinal: number;
2340
+ type: ProgramHighlightTypeEnum;
2341
+ title: string;
2342
+ }
2343
+ export declare class Variant extends OrganizationConnectionBaseEntity {
2344
+ name: string;
2345
+ variantTitleId: number;
2346
+ variantTitle: VariantTitle;
2347
+ deletedAt?: Date;
2348
2348
  }
2349
2349
  export declare enum EntitlementTermsTypesEnum {
2350
2350
  QUESTION = "question",
@@ -3204,153 +3204,37 @@ export interface ISlimAddons {
3204
3204
  productSubType?: string;
3205
3205
  }[];
3206
3206
  }
3207
- export interface ISessionLandingPageProduct extends ISlimAddons {
3208
- id: number;
3209
- name: string;
3210
- startDate?: Date;
3211
- endDate?: Date;
3212
- downpayment?: number;
3213
- description?: string;
3214
- prices: Price[];
3215
- productSubType?: ProductSubTypesEnum;
3216
- punchCard: boolean;
3217
- isAddon: boolean;
3218
- defaultPriceId?: number;
3219
- }
3220
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3221
- destinationId?: string;
3222
- stripeCustomerId?: string;
3223
- fee?: number;
3224
- }
3225
- export interface IReservationCreatorData {
3226
- type: ResourceNameTypeEnum;
3227
- id: number;
3228
- organizationId: number;
3229
- startDate: string;
3230
- endDate: string;
3231
- sportId: number;
3232
- }
3233
- export declare class ColumnNumericTransformer {
3234
- to(data: number): number;
3235
- from(data: string): number;
3236
- }
3237
- export declare function convertToNumber(data: string): number;
3238
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3239
- name?: string;
3240
- genderStr?: string;
3241
- parentID?: string;
3242
- partnerID?: string;
3243
- membershipName?: string;
3244
- membershipExpDate?: string;
3245
- membershipCreationDate?: string;
3246
- bondMembershipID?: number;
3247
- }
3248
- export declare class AddFamilyDto {
3249
- parents: AddImportedCustomerDto[];
3250
- children: AddImportedCustomerDto[];
3251
- }
3252
- export declare enum ImportPaymentTypeEnum {
3253
- CREDIT_CARD = "card",
3254
- ACH = "ach",
3255
- CASH = "cash",
3256
- CHECK = "check",
3257
- CARD_ON_TERMINAL = "card-on-terminal",
3258
- OTHER = "other"
3259
- }
3260
- export declare class ImportedInvoiceLineDto {
3261
- invoiceID?: string;
3262
- description: string;
3263
- createdDate: string;
3264
- createdTime: string;
3265
- quantity: string;
3266
- price: string;
3267
- total: string;
3268
- customerID: string;
3269
- resourceType: string;
3270
- resourceID: string;
3271
- }
3272
- export declare class ImportedInvoiceDto {
3273
- customerId?: string;
3274
- total?: string;
3275
- amountDue?: string;
3276
- payments?: ImportedPaymentDto[];
3277
- lines: any;
3278
- }
3279
- export declare class ImportedPaymentDto {
3280
- invoiceID: string;
3281
- type: ImportPaymentTypeEnum;
3282
- description: string;
3283
- paid: string;
3284
- date: string;
3285
- time: string;
3286
- }
3287
- export declare class ProductIdsDto {
3288
- productIds?: number[];
3289
- }
3290
- export declare class ProductImportDto {
3291
- product: Product;
3292
- prices: Price[];
3293
- resourceIds: number[];
3294
- oldId: number;
3295
- }
3296
- export declare class PunchPassDto {
3297
- CustomerID: string;
3298
- QuantityLeft: number;
3299
- BondProgramID: number;
3300
- BondSessionID: number;
3301
- ProductID: number;
3302
- }
3303
- export declare class ImportedSlotProductDto {
3304
- slotID?: string;
3305
- name?: string;
3306
- pricingType?: 'Hourly' | 'Flat';
3307
- appliesTo?: 'slot' | 'addon' | 'reservation';
3308
- price?: string;
3309
- minutes?: string;
3310
- quantity: string;
3311
- startDate?: string;
3312
- startTime?: string;
3313
- endDate?: string;
3314
- endTime?: string;
3315
- bondProductId?: number;
3316
- }
3317
- export declare class ImportResourceMappingDto {
3318
- bondResourceID?: string;
3319
- resourceName?: string;
3320
- }
3321
- export declare class ImportProductMappingDto {
3322
- productID?: string;
3323
- productName?: string;
3207
+ export interface ISessionLandingPageProduct extends ISlimAddons {
3208
+ id: number;
3209
+ name: string;
3210
+ startDate?: Date;
3211
+ endDate?: Date;
3212
+ downpayment?: number;
3213
+ description?: string;
3214
+ prices: Price[];
3215
+ productSubType?: ProductSubTypesEnum;
3216
+ punchCard: boolean;
3217
+ isAddon: boolean;
3218
+ defaultPriceId?: number;
3324
3219
  }
3325
- export declare class ImportedSlotDto {
3326
- reservationID: string;
3327
- bondResourceID: string;
3328
- resourceName: string;
3329
- subResourceName: string;
3220
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3221
+ destinationId?: string;
3222
+ stripeCustomerId?: string;
3223
+ fee?: number;
3224
+ }
3225
+ export interface IReservationCreatorData {
3226
+ type: ResourceNameTypeEnum;
3227
+ id: number;
3228
+ organizationId: number;
3330
3229
  startDate: string;
3331
- startTime: string;
3332
3230
  endDate: string;
3333
- endTime: string;
3334
- sportId?: string;
3335
- setupDuration: string;
3336
- setupIncludeInCosts: string;
3337
- takedownDuration: string;
3338
- takedownIncludeInCosts: string;
3339
- slotProduct: ImportedSlotProductDto;
3340
- addonProducts: ImportedSlotProductDto[];
3341
- totalPrice: string;
3231
+ sportId: number;
3342
3232
  }
3343
- export declare class ImportedReservationDto {
3344
- name: string;
3345
- customerId: string;
3346
- description: string;
3347
- totalPrice: string;
3348
- downPayment: string;
3349
- paid: string;
3350
- invoiceId: string;
3351
- slots?: ImportedSlotDto[];
3352
- addons?: ImportedSlotProductDto[];
3233
+ export declare class ColumnNumericTransformer {
3234
+ to(data: number): number;
3235
+ from(data: string): number;
3353
3236
  }
3237
+ export declare function convertToNumber(data: string): number;
3354
3238
  export declare class GameSlots extends BondBaseEntity {
3355
3239
  entityType: string;
3356
3240
  entityId: number;
@@ -3841,6 +3725,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
3841
3725
  export declare class AddAddonsDto {
3842
3726
  addons: ProductPricesDto[];
3843
3727
  }
3728
+ export declare class SegmentDto {
3729
+ id?: number;
3730
+ title: string;
3731
+ isPrivate: boolean;
3732
+ resourceIds: number[];
3733
+ sportId?: number;
3734
+ series: SeriesDto[];
3735
+ addonIds?: number[];
3736
+ publicNotesForSlots?: string;
3737
+ privateNotesForSlots?: string;
3738
+ }
3844
3739
  export declare class SeriesDto {
3845
3740
  id?: number;
3846
3741
  startDate: string;
@@ -3909,7 +3804,7 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
3909
3804
  maintenanceTiming?: MaintenanceTimingEnum;
3910
3805
  durationValue?: number;
3911
3806
  orderId?: number;
3912
- paymentStatus: PaymentStatusEnum;
3807
+ paymentStatus: ReservationPaymentStatusEnum;
3913
3808
  approvalStatus: ReservationStatusEnum;
3914
3809
  displayName?: string;
3915
3810
  internalName?: string;
@@ -3921,17 +3816,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
3921
3816
  slotDurationType: SlotDurationTypeEnum;
3922
3817
  addonsIds?: number[];
3923
3818
  }
3924
- export declare class SegmentDto {
3925
- id?: number;
3926
- title: string;
3927
- isPrivate: boolean;
3928
- resourceIds: number[];
3929
- sportId?: number;
3930
- series: SeriesDto[];
3931
- addonIds?: number[];
3932
- publicNotesForSlots?: string;
3933
- privateNotesForSlots?: string;
3934
- }
3935
3819
  declare class AnswerDto {
3936
3820
  questionId: number;
3937
3821
  value: any;
@@ -3987,12 +3871,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
3987
3871
  productUserId?: number;
3988
3872
  productUser?: ProductsUsers;
3989
3873
  }
3990
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
3991
- deletedAt?: Date;
3992
- reservationId: number;
3993
- invoiceId: number;
3994
- slotId: number;
3995
- }
3996
3874
  export declare class Reservation extends OrganizationConnectionBaseEntity {
3997
3875
  name?: string;
3998
3876
  description?: string;
@@ -4032,6 +3910,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4032
3910
  targetGlobalPrice?: number;
4033
3911
  slots: Slot[];
4034
3912
  }
3913
+ export declare class Segment extends OrganizationConnectionBaseEntity {
3914
+ deletedAt?: Date;
3915
+ reservationId: number;
3916
+ title: string;
3917
+ isPrivate: boolean;
3918
+ resourceIds?: number[];
3919
+ sportId: number;
3920
+ reservation?: Reservation;
3921
+ series?: Series[];
3922
+ addonIds?: number[] | null;
3923
+ publicNotesForSlots?: string;
3924
+ privateNotesForSlots?: string;
3925
+ slots?: Slot[];
3926
+ }
4035
3927
  export declare class Series extends OrganizationConnectionBaseEntity {
4036
3928
  deletedAt?: Date;
4037
3929
  segmentId: number;
@@ -4051,20 +3943,6 @@ export declare class Series extends OrganizationConnectionBaseEntity {
4051
3943
  numberOccurrences?: number;
4052
3944
  resources?: Resource[];
4053
3945
  }
4054
- export declare class Segment extends OrganizationConnectionBaseEntity {
4055
- deletedAt?: Date;
4056
- reservationId: number;
4057
- title: string;
4058
- isPrivate: boolean;
4059
- resourceIds?: number[];
4060
- sportId: number;
4061
- reservation?: Reservation;
4062
- series?: Series[];
4063
- addonIds?: number[] | null;
4064
- publicNotesForSlots?: string;
4065
- privateNotesForSlots?: string;
4066
- slots?: Slot[];
4067
- }
4068
3946
  export declare class Slot extends OrganizationConnectionBaseEntity {
4069
3947
  constructor();
4070
3948
  defineIsReverted(): void;
@@ -4132,6 +4010,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4132
4010
  changeLineItems?: LineItems[];
4133
4011
  updatedLineItem?: LineItems;
4134
4012
  }
4013
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4014
+ deletedAt?: Date;
4015
+ reservationId: number;
4016
+ invoiceId: number;
4017
+ slotId: number;
4018
+ }
4135
4019
  export declare class ChangeRolePermissionsDto {
4136
4020
  permissionIds: number[];
4137
4021
  }
@@ -4155,12 +4039,139 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4155
4039
  role: Role;
4156
4040
  user: User;
4157
4041
  }
4042
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
4043
+ name?: string;
4044
+ genderStr?: string;
4045
+ parentID?: string;
4046
+ partnerID?: string;
4047
+ membershipName?: string;
4048
+ membershipExpDate?: string;
4049
+ membershipCreationDate?: string;
4050
+ bondMembershipID?: number;
4051
+ }
4052
+ export declare class AddFamilyDto {
4053
+ parents: AddImportedCustomerDto[];
4054
+ children: AddImportedCustomerDto[];
4055
+ }
4056
+ export declare enum ImportPaymentTypeEnum {
4057
+ CREDIT_CARD = "card",
4058
+ ACH = "ach",
4059
+ CASH = "cash",
4060
+ CHECK = "check",
4061
+ CARD_ON_TERMINAL = "card-on-terminal",
4062
+ OTHER = "other"
4063
+ }
4064
+ export declare class ImportedInvoiceLineDto {
4065
+ invoiceID?: string;
4066
+ description: string;
4067
+ createdDate: string;
4068
+ createdTime: string;
4069
+ quantity: string;
4070
+ price: string;
4071
+ total: string;
4072
+ customerID: string;
4073
+ resourceType: string;
4074
+ resourceID: string;
4075
+ }
4076
+ export declare class ImportedInvoiceDto {
4077
+ customerId?: string;
4078
+ total?: string;
4079
+ amountDue?: string;
4080
+ payments?: ImportedPaymentDto[];
4081
+ lines: any;
4082
+ }
4083
+ export declare class ImportedPaymentDto {
4084
+ invoiceID: string;
4085
+ type: ImportPaymentTypeEnum;
4086
+ description: string;
4087
+ paid: string;
4088
+ date: string;
4089
+ time: string;
4090
+ }
4091
+ export declare class ProductIdsDto {
4092
+ productIds?: number[];
4093
+ }
4094
+ export declare class ProductImportDto {
4095
+ product: Product;
4096
+ prices: Price[];
4097
+ resourceIds: number[];
4098
+ oldId: number;
4099
+ }
4100
+ export declare class PunchPassDto {
4101
+ CustomerID: string;
4102
+ QuantityLeft: number;
4103
+ BondProgramID: number;
4104
+ BondSessionID: number;
4105
+ ProductID: number;
4106
+ }
4107
+ export declare class ImportedSlotProductDto {
4108
+ slotID?: string;
4109
+ name?: string;
4110
+ pricingType?: 'Hourly' | 'Flat';
4111
+ appliesTo?: 'slot' | 'addon' | 'reservation';
4112
+ price?: string;
4113
+ minutes?: string;
4114
+ quantity: string;
4115
+ startDate?: string;
4116
+ startTime?: string;
4117
+ endDate?: string;
4118
+ endTime?: string;
4119
+ bondProductId?: number;
4120
+ }
4121
+ export declare class ImportResourceMappingDto {
4122
+ bondResourceID?: string;
4123
+ resourceName?: string;
4124
+ }
4125
+ export declare class ImportProductMappingDto {
4126
+ productID?: string;
4127
+ productName?: string;
4128
+ }
4129
+ export declare class ImportedSlotDto {
4130
+ reservationID: string;
4131
+ bondResourceID: string;
4132
+ resourceName: string;
4133
+ subResourceName: string;
4134
+ startDate: string;
4135
+ startTime: string;
4136
+ endDate: string;
4137
+ endTime: string;
4138
+ sportId?: string;
4139
+ setupDuration: string;
4140
+ setupIncludeInCosts: string;
4141
+ takedownDuration: string;
4142
+ takedownIncludeInCosts: string;
4143
+ slotProduct: ImportedSlotProductDto;
4144
+ addonProducts: ImportedSlotProductDto[];
4145
+ totalPrice: string;
4146
+ }
4147
+ export declare class ImportedReservationDto {
4148
+ name: string;
4149
+ customerId: string;
4150
+ description: string;
4151
+ totalPrice: string;
4152
+ downPayment: string;
4153
+ paid: string;
4154
+ invoiceId: string;
4155
+ slots?: ImportedSlotDto[];
4156
+ addons?: ImportedSlotProductDto[];
4157
+ }
4158
4158
  export declare class CloseShiftDto {
4159
4159
  closingCashAmount: number;
4160
4160
  }
4161
4161
  export declare class FindShiftsByIdsDto {
4162
4162
  shiftIds: number[];
4163
4163
  }
4164
+ export declare class ShiftManagementClosingAmount {
4165
+ shiftId: number;
4166
+ managementClosingCashAmount: number;
4167
+ }
4168
+ export declare class ManagementClosingOfShiftsDto {
4169
+ managementClosingData: ShiftManagementClosingAmount[];
4170
+ }
4171
+ export declare class OpenShiftDto {
4172
+ openingCashAmount: number;
4173
+ stationId: number;
4174
+ }
4164
4175
  export declare class FindShiftsFiltersDto {
4165
4176
  statuses?: string;
4166
4177
  stationIds?: string;
@@ -4181,17 +4192,6 @@ export declare class FindShiftsFormattedFilters {
4181
4192
  startDate?: Date;
4182
4193
  endDate?: Date;
4183
4194
  }
4184
- export declare class ShiftManagementClosingAmount {
4185
- shiftId: number;
4186
- managementClosingCashAmount: number;
4187
- }
4188
- export declare class ManagementClosingOfShiftsDto {
4189
- managementClosingData: ShiftManagementClosingAmount[];
4190
- }
4191
- export declare class OpenShiftDto {
4192
- openingCashAmount: number;
4193
- stationId: number;
4194
- }
4195
4195
  export declare class Shift extends OrganizationConnectionBaseEntity {
4196
4196
  stationId: number;
4197
4197
  station?: Station;