@bondsports/types 0.11.0 → 0.12.0

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
@@ -2,6 +2,13 @@ import { BaseEntity } from 'typeorm';
2
2
  import { Stripe } from 'stripe';
3
3
  import moment from 'moment';
4
4
  export { TypesProvider } from './provider';
5
+ export declare class BasicActivityTimesDto {
6
+ dayOfWeek: number;
7
+ close: string;
8
+ open: string;
9
+ availabilityStartDate?: string;
10
+ availabilityEndDate?: string;
11
+ }
5
12
  export declare class QuestionAnswersDto {
6
13
  questionId: number;
7
14
  value: any;
@@ -13,13 +20,6 @@ export declare class UserAnswersDto {
13
20
  export declare class GetByQuestionnaireIdsDto {
14
21
  questionnaireIds: string;
15
22
  }
16
- export declare class BasicActivityTimesDto {
17
- dayOfWeek: number;
18
- close: string;
19
- open: string;
20
- availabilityStartDate?: string;
21
- availabilityEndDate?: string;
22
- }
23
23
  export declare class FindBookingTypeSettingDto {
24
24
  organizationId: number;
25
25
  facilityId: number;
@@ -238,38 +238,6 @@ export declare class UpdateFacilityAmenitiesDto {
238
238
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
239
239
  nameSearch?: string;
240
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
- }
273
241
  export declare class FindOneParams {
274
242
  id: number;
275
243
  }
@@ -282,16 +250,6 @@ export declare class PaginationRangeQuery {
282
250
  endPage: number;
283
251
  itemsPerPage: number;
284
252
  }
285
- export declare class FindGlCodeByOrganizationIdDto {
286
- organizationId: number;
287
- }
288
- export declare class GetGlCodeDto {
289
- id: number;
290
- organizationId: number;
291
- code: string;
292
- createdAt: Date;
293
- updatedAt: Date;
294
- }
295
253
  export declare class FindByProgramSeasonIdDto {
296
254
  seasonId: number;
297
255
  }
@@ -365,6 +323,38 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
365
323
  export declare class MoveTeamOrMembersByCsvDTO {
366
324
  fileName: string;
367
325
  }
326
+ export declare class FindFamilyAccountsDto {
327
+ userId: number;
328
+ }
329
+ export declare class FindFamilyAccountsCustomerDto {
330
+ customerId: number;
331
+ organizationId: number;
332
+ }
333
+ export declare class FindUsersInFamilyAccountDto {
334
+ familyAccountId: number;
335
+ }
336
+ export declare class CreateFamilyAccountDto {
337
+ familyName: string;
338
+ userId: number;
339
+ }
340
+ export declare class UpdateFamilyAccountNameDto {
341
+ familyName: string;
342
+ familyAccountId: number;
343
+ }
344
+ export declare class AddUserToFamilyAccountDto {
345
+ familyAccountId: number;
346
+ isUserAdmin: boolean;
347
+ firstName: string;
348
+ lastName: string;
349
+ gender: GenderEnum;
350
+ birthDate: string;
351
+ sports?: number[];
352
+ email?: string;
353
+ }
354
+ export declare class RemoveUserFromFamilyAccountDto {
355
+ userId: number;
356
+ familyAccountId: number;
357
+ }
368
358
  export declare class CreateMembershipDto {
369
359
  organizationId: number;
370
360
  name: string;
@@ -421,6 +411,16 @@ export declare class CancelMembershipDto {
421
411
  isImmediatelyCancel: boolean;
422
412
  cancellationReason?: string;
423
413
  }
414
+ export declare class FindGlCodeByOrganizationIdDto {
415
+ organizationId: number;
416
+ }
417
+ export declare class GetGlCodeDto {
418
+ id: number;
419
+ organizationId: number;
420
+ code: string;
421
+ createdAt: Date;
422
+ updatedAt: Date;
423
+ }
424
424
  export declare class CreateEntitlementTermsDto {
425
425
  organizationId: number;
426
426
  entitlementGroupId: number;
@@ -481,101 +481,292 @@ export declare class VariantDto {
481
481
  startDate: Date;
482
482
  endDate: Date;
483
483
  }
484
- export declare class FindByProductIdDto {
485
- productId: number;
484
+ export declare class FindProgramSeasonsByProgramIdDto {
485
+ programId: number;
486
486
  }
487
- export declare class FindPriceOfProductDto {
488
- id: number;
489
- userId: number;
490
- resources: ResourceDto[];
487
+ export declare class FindSessionsFiltersDto {
488
+ status?: PublishingStatusEnum;
489
+ isFullFetch?: boolean;
491
490
  }
492
- export declare class FindPricesOfProductsDto {
493
- products: FindPriceOfProductDto[];
494
- answers: UserAnswersDto[];
491
+ export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
492
+ organizationId: number;
495
493
  }
496
- export declare class FindPackageByResourceDto {
497
- resourceType: ResourceNameTypeEnum;
498
- resourceId: number;
494
+ export declare class DeleteEventAttendeesDto {
495
+ eventAttendeeIds: string;
499
496
  }
500
- export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
501
- organizationId: number;
497
+ export declare class FindProgramSeasonByIdQueryDto {
498
+ includeResources?: boolean;
502
499
  }
503
- export declare class CreateProductsDto {
504
- products: CreateProductDto[];
505
- addOnsData?: ProductInPackage[];
506
- addOnIds?: ExistingProductToPackageDto[];
500
+ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
501
+ seasonId: number;
507
502
  }
508
- export declare class CreatePaymentPlanDto extends PaymentPlanDto {
509
- name: string;
503
+ export declare class FindSeasonEventsQueryDto {
504
+ startDateFilter?: EComparisonFilter;
505
+ endDateFilter?: EComparisonFilter;
510
506
  }
511
- export declare class CreateProductDto {
512
- id?: number;
513
- organizationId: number;
507
+ export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
508
+ seasonId: number;
509
+ }
510
+ export declare class FindSessionEventByIdDto {
511
+ seasonId: number;
512
+ eventId: number;
513
+ }
514
+ export declare class DeleteProductDto {
515
+ deleteProduct?: boolean;
516
+ }
517
+ export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
518
+ userId: number;
519
+ }
520
+ export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
521
+ isFreeAgentsOnly?: boolean;
522
+ isPunchCardUsers?: boolean;
523
+ nameEmailSearch?: string;
524
+ }
525
+ export declare class BaseProgramSeasonDto {
526
+ programId: number;
514
527
  name: string;
515
- quantity?: number;
516
- isPublic: boolean;
517
- startDate?: Date;
518
- endDate?: Date;
528
+ status: PublishingStatusEnum;
529
+ seasonType: ProgramSeasonTypesEnum;
530
+ startDate: Date;
531
+ endDate: Date;
519
532
  description?: string;
520
- resourcesType?: ResourceNameTypeEnum;
521
- resourcesIdsToApplyOn?: number[];
522
533
  GL?: string;
523
- prices: CreatePriceDto[];
524
- downpayment?: number;
525
- productType: ProductTypesEnum;
526
- subProductType?: string;
527
- defaultForResourceId?: number;
528
- defaultForResourceType?: ResourceNameTypeEnum;
529
- entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
530
- variantTitleIds?: number[];
531
- variants?: VariantWithPrice[];
532
- variantParentId?: number;
533
- isAddon?: boolean;
534
- isArchive?: boolean;
535
- timePeriod?: AddonTimePeriodEnum;
536
- isProRated?: boolean;
537
- paymentPlan?: CreatePaymentPlanDto;
538
- isTaxInclusive?: boolean;
539
- tax?: number;
540
- sports?: number[];
541
- durationMinutes?: number;
542
- durationDays?: number;
543
- forms?: number[];
544
- isForAllCustomers?: boolean;
545
- membershipsAvailableFor?: number[];
546
- customersAvailableFor?: number[];
547
- addons?: createRentalProductAddonDto[];
548
- availabilityTimes?: createProductAvailabilityTimesDto[];
534
+ parentSeasonId?: number;
535
+ questionnaires?: number[];
536
+ maxParticipants?: number;
537
+ maxMaleParticipants?: number;
538
+ maxFemaleParticipants?: number;
539
+ maxWaitlist?: number;
540
+ maxMaleWaitlist?: number;
541
+ maxFemaleWaitlist?: number;
542
+ facilityId?: number;
543
+ addressId?: number;
544
+ blockedDated?: blockedDatesDto[];
545
+ activityTimes: ActivityTimesDto[];
546
+ longDescription?: string;
547
+ isPunchCard?: boolean;
548
+ organizationId: number;
549
+ sport: SportsEnum;
550
+ minAge: string;
551
+ maxAge: string;
552
+ gender: GenderEnum;
553
+ level?: LevelOfPlayEnum[];
554
+ requiredProductIds?: number[];
549
555
  }
550
- export declare class VariantWithPrice {
551
- variantIds: number[];
552
- price: CreatePriceDto[];
556
+ export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
557
+ subSeasons?: SubSeasonBasicInfo[];
553
558
  }
554
- export declare class CreatePriceDto {
555
- id?: number;
556
- price: number;
557
- currency: CurrencyEnum;
559
+ export declare class CreateSessionScheduleDto {
560
+ startDate: Date;
561
+ endDate: Date;
562
+ activityTimes: ActivityTimesDto[];
563
+ blockedDated?: blockedDatesDto[];
564
+ subSeasons?: SubSeasonBasicInfo[];
565
+ }
566
+ export declare class SubSeasonBasicInfo {
558
567
  name: string;
559
- startDate?: Date;
560
- endDate?: Date;
561
- discountValue?: number;
562
- discountMethod?: DiscountMethodsEnum;
563
- isDefaultPriceForProduct?: boolean;
568
+ startDate: Date;
569
+ endDate: Date;
570
+ activityTimes?: ActivityTimesDto[];
564
571
  }
565
- export declare class CreatePackageDto {
566
- parentProductId: number;
567
- productsData?: ProductInPackage[];
568
- productsIds?: ExistingProductToPackageDto[];
572
+ export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
573
+ seasonId: number;
569
574
  }
570
- export declare class CreatePackageToResourceDto {
571
- resourceId: number;
572
- resourceType: ResourceNameTypeEnum;
573
- isCreateToChildProducts: boolean;
574
- productsData: ProductInPackage[];
575
+ export declare class UpdateProgramSeasonStatusDto {
576
+ seasonId: number;
577
+ status: PublishingStatusEnum;
575
578
  }
576
- export declare class ProductInPackage extends CreateProductDto {
577
- relationType: PackageProductsRelationTypeEnum;
578
- amountInPackage?: number;
579
+ export declare class blockedDatesDto {
580
+ name: string;
581
+ startDate: Date;
582
+ endDate: Date;
583
+ }
584
+ export declare class ActivityTimesDto {
585
+ dayOfWeek: number;
586
+ open: string;
587
+ close: string;
588
+ }
589
+ export declare class ShallowUpdateProgramSeasonDto {
590
+ seasonId: number;
591
+ name: string;
592
+ description?: string;
593
+ questionnaires?: number[];
594
+ maxParticipants?: number;
595
+ maxMaleParticipants?: number;
596
+ maxFemaleParticipants?: number;
597
+ maxWaitlist?: number;
598
+ maxMaleWaitlist?: number;
599
+ maxFemaleWaitlist?: number;
600
+ facilityId?: number;
601
+ addressId?: number;
602
+ sport?: SportsEnum;
603
+ minAge?: string;
604
+ maxAge?: string;
605
+ gender?: GenderEnum;
606
+ level?: LevelOfPlayEnum[];
607
+ requiredProductIds?: number[];
608
+ subSeasons?: ShallowUpdateSubSeasonDto[];
609
+ }
610
+ export declare class ShallowUpdateSubSeasonDto {
611
+ id: number;
612
+ name: string;
613
+ }
614
+ export declare class SpaceResourcePairDto {
615
+ resourceType: ResourceNameTypeEnum;
616
+ resourceId: number;
617
+ spacesIds: number[];
618
+ publicNotes?: string;
619
+ privateNotes?: string;
620
+ maintenance?: MaintenanceDto[];
621
+ }
622
+ export declare class BulkSpaceResourceAllocationDto {
623
+ spaceResourcePairs: SpaceResourcePairDto[];
624
+ organizationId: number;
625
+ }
626
+ export declare class SingleSpaceAllocationByTimesDto {
627
+ date: string;
628
+ startTime: string;
629
+ endTime: string;
630
+ spaceId: number;
631
+ publicNotes?: string;
632
+ slotType?: SlotTypeEnum;
633
+ }
634
+ export declare class SpaceAllocationsByTimesDto {
635
+ spaceAllocations: SingleSpaceAllocationByTimesDto[];
636
+ }
637
+ export declare class UpdateSeasonDatesDto {
638
+ startDate: Date;
639
+ endDate: Date;
640
+ }
641
+ export declare class MoveAttendeeDto {
642
+ userId: number;
643
+ resourceType: ResourceNameTypeEnum;
644
+ fromResourceIds: number[];
645
+ toResourceIds: number[];
646
+ }
647
+ export declare class UpdateSeasonRegistrationDatesDto {
648
+ registrationPeriods: UpdateSeasonDatesDto[];
649
+ }
650
+ export declare class RegistrationDatesDto {
651
+ registrationStartDate: Date;
652
+ registrationEndDate: Date;
653
+ earlyRegistrationStartDate?: Date;
654
+ earlyRegistrationEndDate?: Date;
655
+ lateRegistrationStartDate?: Date;
656
+ lateRegistrationEndDate?: Date;
657
+ }
658
+ export declare class RegistrationSettingsDto extends RegistrationDatesDto {
659
+ closeRegistrationPeriodValue?: number;
660
+ closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
661
+ closeRegistrationSpecTime?: string;
662
+ openRegistrationPeriodValue?: number;
663
+ openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
664
+ openRegistrationSpecTime?: string;
665
+ productsIdsToUpdate?: number[];
666
+ }
667
+ export declare class MoveParticipantDto {
668
+ userId: number;
669
+ oldProductId: number;
670
+ newProductId: number;
671
+ moveType: 'session' | 'segment';
672
+ resourceId: number;
673
+ invoiceId: number;
674
+ }
675
+ export declare class FindByProductIdDto {
676
+ productId: number;
677
+ }
678
+ export declare class FindPriceOfProductDto {
679
+ id: number;
680
+ userId: number;
681
+ resources: ResourceDto[];
682
+ }
683
+ export declare class FindPricesOfProductsDto {
684
+ products: FindPriceOfProductDto[];
685
+ answers: UserAnswersDto[];
686
+ }
687
+ export declare class FindPackageByResourceDto {
688
+ resourceType: ResourceNameTypeEnum;
689
+ resourceId: number;
690
+ }
691
+ export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
692
+ organizationId: number;
693
+ }
694
+ export declare class CreateProductsDto {
695
+ products: CreateProductDto[];
696
+ addOnsData?: ProductInPackage[];
697
+ addOnIds?: ExistingProductToPackageDto[];
698
+ }
699
+ export declare class CreatePaymentPlanDto extends PaymentPlanDto {
700
+ name: string;
701
+ }
702
+ export declare class CreateProductDto {
703
+ id?: number;
704
+ organizationId: number;
705
+ name: string;
706
+ quantity?: number;
707
+ isPublic: boolean;
708
+ startDate?: Date;
709
+ endDate?: Date;
710
+ description?: string;
711
+ resourcesType?: ResourceNameTypeEnum;
712
+ resourcesIdsToApplyOn?: number[];
713
+ GL?: string;
714
+ prices: CreatePriceDto[];
715
+ downpayment?: number;
716
+ productType: ProductTypesEnum;
717
+ subProductType?: string;
718
+ defaultForResourceId?: number;
719
+ defaultForResourceType?: ResourceNameTypeEnum;
720
+ entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
721
+ variantTitleIds?: number[];
722
+ variants?: VariantWithPrice[];
723
+ variantParentId?: number;
724
+ isAddon?: boolean;
725
+ isArchive?: boolean;
726
+ timePeriod?: AddonTimePeriodEnum;
727
+ isProRated?: boolean;
728
+ paymentPlan?: CreatePaymentPlanDto;
729
+ isTaxInclusive?: boolean;
730
+ tax?: number;
731
+ sports?: number[];
732
+ durationMinutes?: number;
733
+ durationDays?: number;
734
+ forms?: number[];
735
+ isForAllCustomers?: boolean;
736
+ membershipsAvailableFor?: number[];
737
+ customersAvailableFor?: number[];
738
+ addons?: createRentalProductAddonDto[];
739
+ availabilityTimes?: createProductAvailabilityTimesDto[];
740
+ }
741
+ export declare class VariantWithPrice {
742
+ variantIds: number[];
743
+ price: CreatePriceDto[];
744
+ }
745
+ export declare class CreatePriceDto {
746
+ id?: number;
747
+ price: number;
748
+ currency: CurrencyEnum;
749
+ name: string;
750
+ startDate?: Date;
751
+ endDate?: Date;
752
+ discountValue?: number;
753
+ discountMethod?: DiscountMethodsEnum;
754
+ isDefaultPriceForProduct?: boolean;
755
+ }
756
+ export declare class CreatePackageDto {
757
+ parentProductId: number;
758
+ productsData?: ProductInPackage[];
759
+ productsIds?: ExistingProductToPackageDto[];
760
+ }
761
+ export declare class CreatePackageToResourceDto {
762
+ resourceId: number;
763
+ resourceType: ResourceNameTypeEnum;
764
+ isCreateToChildProducts: boolean;
765
+ productsData: ProductInPackage[];
766
+ }
767
+ export declare class ProductInPackage extends CreateProductDto {
768
+ relationType: PackageProductsRelationTypeEnum;
769
+ amountInPackage?: number;
579
770
  level?: ProductPackageLevelEnum;
580
771
  }
581
772
  export declare class ExistingProductToPackageDto {
@@ -684,258 +875,67 @@ export declare class SetStationSubcategoriesDto {
684
875
  export declare class createRentalProductAddonDto {
685
876
  productId: number;
686
877
  price: number;
687
- isFlatPrice: boolean;
688
- isMandatory: boolean;
689
- level: ProductPackageLevelEnum;
690
- }
691
- export declare class createProductAvailabilityTimesDto {
692
- availabilityStartDate?: string;
693
- availabilityEndDate?: string;
694
- daysOfWeek: number[];
695
- startTime: string;
696
- endTime: string;
697
- }
698
- export declare class createResourceDto {
699
- resourceId: number;
700
- resourceType: ResourceNameTypeEnum;
701
- }
702
- export declare class archiveDto {
703
- isArchive: boolean;
704
- }
705
- export declare class FindProgramsByOrganizationIdDto {
706
- organizationId: number;
707
- programType?: ProgramTypesEnum;
708
- }
709
- export declare class FindProgramByIdDto {
710
- programId: number;
711
- }
712
- export declare class FindProgramByOrgIdAndIdDto {
713
- programId: number;
714
- organizationId: number;
715
- }
716
- export declare class BaseProgramDto {
717
- type: ProgramTypesEnum;
718
- name: string;
719
- sport: SportsEnum;
720
- minAge: string;
721
- maxAge: string;
722
- gender: GenderEnum;
723
- level?: LevelOfPlayEnum[];
724
- description?: string;
725
- GL?: string;
726
- status: PublishingStatusEnum;
727
- organizationId: number;
728
- userCreatorId: number;
729
- highlights: ProgramHighlights[];
730
- longDescription?: string;
731
- requiredProductIds: number[];
732
- }
733
- export declare class CreateProgramDto extends BaseProgramDto {
734
- }
735
- export declare class UpdateProgramDto extends BaseProgramDto {
736
- programId: number;
737
- mainMediaId: number;
738
- }
739
- export declare class UpdateProgramStatusDto {
740
- programId: number;
741
- status: PublishingStatusEnum;
742
- }
743
- export declare class ProgramHighlightDto {
744
- data: string;
745
- ordinal: number;
746
- type: ProgramHighlightTypeEnum;
747
- title: string;
748
- }
749
- export declare class FindProgramSeasonsByProgramIdDto {
750
- programId: number;
751
- }
752
- export declare class FindSessionsFiltersDto {
753
- status?: PublishingStatusEnum;
754
- isFullFetch?: boolean;
755
- }
756
- export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
757
- organizationId: number;
758
- }
759
- export declare class DeleteEventAttendeesDto {
760
- eventAttendeeIds: string;
761
- }
762
- export declare class FindProgramSeasonByIdQueryDto {
763
- includeResources?: boolean;
764
- }
765
- export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
766
- seasonId: number;
767
- }
768
- export declare class FindSeasonEventsQueryDto {
769
- startDateFilter?: EComparisonFilter;
770
- endDateFilter?: EComparisonFilter;
771
- }
772
- export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
773
- seasonId: number;
774
- }
775
- export declare class FindSessionEventByIdDto {
776
- seasonId: number;
777
- eventId: number;
778
- }
779
- export declare class DeleteProductDto {
780
- deleteProduct?: boolean;
781
- }
782
- export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
783
- userId: number;
784
- }
785
- export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
786
- isFreeAgentsOnly?: boolean;
787
- isPunchCardUsers?: boolean;
788
- nameEmailSearch?: string;
789
- }
790
- export declare class BaseProgramSeasonDto {
791
- programId: number;
792
- name: string;
793
- status: PublishingStatusEnum;
794
- seasonType: ProgramSeasonTypesEnum;
795
- startDate: Date;
796
- endDate: Date;
797
- description?: string;
798
- GL?: string;
799
- parentSeasonId?: number;
800
- questionnaires?: number[];
801
- maxParticipants?: number;
802
- maxMaleParticipants?: number;
803
- maxFemaleParticipants?: number;
804
- maxWaitlist?: number;
805
- maxMaleWaitlist?: number;
806
- maxFemaleWaitlist?: number;
807
- facilityId?: number;
808
- addressId?: number;
809
- blockedDated?: blockedDatesDto[];
810
- activityTimes: ActivityTimesDto[];
811
- longDescription?: string;
812
- isPunchCard?: boolean;
813
- organizationId: number;
814
- sport: SportsEnum;
815
- minAge: string;
816
- maxAge: string;
817
- gender: GenderEnum;
818
- level?: LevelOfPlayEnum[];
819
- requiredProductIds?: number[];
820
- }
821
- export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
822
- subSeasons?: SubSeasonBasicInfo[];
823
- }
824
- export declare class CreateSessionScheduleDto {
825
- startDate: Date;
826
- endDate: Date;
827
- activityTimes: ActivityTimesDto[];
828
- blockedDated?: blockedDatesDto[];
829
- subSeasons?: SubSeasonBasicInfo[];
830
- }
831
- export declare class SubSeasonBasicInfo {
832
- name: string;
833
- startDate: Date;
834
- endDate: Date;
835
- activityTimes?: ActivityTimesDto[];
836
- }
837
- export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
838
- seasonId: number;
839
- }
840
- export declare class UpdateProgramSeasonStatusDto {
841
- seasonId: number;
842
- status: PublishingStatusEnum;
843
- }
844
- export declare class blockedDatesDto {
845
- name: string;
846
- startDate: Date;
847
- endDate: Date;
848
- }
849
- export declare class ActivityTimesDto {
850
- dayOfWeek: number;
851
- open: string;
852
- close: string;
853
- }
854
- export declare class ShallowUpdateProgramSeasonDto {
855
- seasonId: number;
856
- name: string;
857
- description?: string;
858
- questionnaires?: number[];
859
- maxParticipants?: number;
860
- maxMaleParticipants?: number;
861
- maxFemaleParticipants?: number;
862
- maxWaitlist?: number;
863
- maxMaleWaitlist?: number;
864
- maxFemaleWaitlist?: number;
865
- facilityId?: number;
866
- addressId?: number;
867
- sport?: SportsEnum;
868
- minAge?: string;
869
- maxAge?: string;
870
- gender?: GenderEnum;
871
- level?: LevelOfPlayEnum[];
872
- requiredProductIds?: number[];
873
- subSeasons?: ShallowUpdateSubSeasonDto[];
878
+ isFlatPrice: boolean;
879
+ isMandatory: boolean;
880
+ level: ProductPackageLevelEnum;
874
881
  }
875
- export declare class ShallowUpdateSubSeasonDto {
876
- id: number;
877
- name: string;
882
+ export declare class createProductAvailabilityTimesDto {
883
+ availabilityStartDate?: string;
884
+ availabilityEndDate?: string;
885
+ daysOfWeek: number[];
886
+ startTime: string;
887
+ endTime: string;
878
888
  }
879
- export declare class SpaceResourcePairDto {
880
- resourceType: ResourceNameTypeEnum;
889
+ export declare class createResourceDto {
881
890
  resourceId: number;
882
- spacesIds: number[];
883
- publicNotes?: string;
884
- privateNotes?: string;
885
- maintenance?: MaintenanceDto[];
891
+ resourceType: ResourceNameTypeEnum;
886
892
  }
887
- export declare class BulkSpaceResourceAllocationDto {
888
- spaceResourcePairs: SpaceResourcePairDto[];
889
- organizationId: number;
893
+ export declare class archiveDto {
894
+ isArchive: boolean;
890
895
  }
891
- export declare class SingleSpaceAllocationByTimesDto {
892
- date: string;
893
- startTime: string;
894
- endTime: string;
895
- spaceId: number;
896
- publicNotes?: string;
897
- slotType?: SlotTypeEnum;
896
+ export declare class FindProgramsByOrganizationIdDto {
897
+ organizationId: number;
898
+ programType?: ProgramTypesEnum;
898
899
  }
899
- export declare class SpaceAllocationsByTimesDto {
900
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
900
+ export declare class FindProgramByIdDto {
901
+ programId: number;
901
902
  }
902
- export declare class UpdateSeasonDatesDto {
903
- startDate: Date;
904
- endDate: Date;
903
+ export declare class FindProgramByOrgIdAndIdDto {
904
+ programId: number;
905
+ organizationId: number;
905
906
  }
906
- export declare class MoveAttendeeDto {
907
- userId: number;
908
- resourceType: ResourceNameTypeEnum;
909
- fromResourceIds: number[];
910
- toResourceIds: number[];
907
+ export declare class BaseProgramDto {
908
+ type: ProgramTypesEnum;
909
+ name: string;
910
+ sport: SportsEnum;
911
+ minAge: string;
912
+ maxAge: string;
913
+ gender: GenderEnum;
914
+ level?: LevelOfPlayEnum[];
915
+ description?: string;
916
+ GL?: string;
917
+ status: PublishingStatusEnum;
918
+ organizationId: number;
919
+ userCreatorId: number;
920
+ highlights: ProgramHighlights[];
921
+ longDescription?: string;
922
+ requiredProductIds: number[];
911
923
  }
912
- export declare class UpdateSeasonRegistrationDatesDto {
913
- registrationPeriods: UpdateSeasonDatesDto[];
924
+ export declare class CreateProgramDto extends BaseProgramDto {
914
925
  }
915
- export declare class RegistrationDatesDto {
916
- registrationStartDate: Date;
917
- registrationEndDate: Date;
918
- earlyRegistrationStartDate?: Date;
919
- earlyRegistrationEndDate?: Date;
920
- lateRegistrationStartDate?: Date;
921
- lateRegistrationEndDate?: Date;
926
+ export declare class UpdateProgramDto extends BaseProgramDto {
927
+ programId: number;
928
+ mainMediaId: number;
922
929
  }
923
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
924
- closeRegistrationPeriodValue?: number;
925
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
926
- closeRegistrationSpecTime?: string;
927
- openRegistrationPeriodValue?: number;
928
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
929
- openRegistrationSpecTime?: string;
930
- productsIdsToUpdate?: number[];
930
+ export declare class UpdateProgramStatusDto {
931
+ programId: number;
932
+ status: PublishingStatusEnum;
931
933
  }
932
- export declare class MoveParticipantDto {
933
- userId: number;
934
- oldProductId: number;
935
- newProductId: number;
936
- moveType: 'session' | 'segment';
937
- resourceId: number;
938
- invoiceId: number;
934
+ export declare class ProgramHighlightDto {
935
+ data: string;
936
+ ordinal: number;
937
+ type: ProgramHighlightTypeEnum;
938
+ title: string;
939
939
  }
940
940
  export declare class PurchasePaymentDto {
941
941
  token: string;
@@ -1097,19 +1097,6 @@ export declare class FindByFamilyAccountIdDto {
1097
1097
  export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
1098
1098
  organizationId: number;
1099
1099
  }
1100
- export declare class ActivityLogRecord extends BondBaseEntity {
1101
- entityType: ResourceNameTypeEnum;
1102
- entityId: number;
1103
- organizationId?: number;
1104
- userId?: number;
1105
- customerId?: number;
1106
- performingUserId: number;
1107
- description: string;
1108
- actionType: ActionTypesEnum;
1109
- sourcePlatform: ActionSourcePlatformEnum;
1110
- oldValue?: any;
1111
- newValue?: any;
1112
- }
1113
1100
  export declare class ActivityTimes extends BondBaseEntity {
1114
1101
  parentType: ResourceNameTypeEnum | ProductTypesEnum;
1115
1102
  parentId: number;
@@ -1123,18 +1110,18 @@ export declare class ActivityTimes extends BondBaseEntity {
1123
1110
  proudct: Product;
1124
1111
  event: Event;
1125
1112
  }
1126
- export declare class Answer extends OrganizationConnectionBaseEntity {
1127
- questionId: number;
1128
- question?: Questions;
1129
- parentId: number;
1130
- parentType: ResourceNameTypeEnum;
1131
- answerValue: any;
1132
- creatorId: number;
1133
- creatorType: ResourceNameTypeEnum;
1134
- answerTitleId: number;
1135
- answerTitle: AnswerTitle;
1136
- metaData: any | null;
1137
- questionText: string | null;
1113
+ export declare class ActivityLogRecord extends BondBaseEntity {
1114
+ entityType: ResourceNameTypeEnum;
1115
+ entityId: number;
1116
+ organizationId?: number;
1117
+ userId?: number;
1118
+ customerId?: number;
1119
+ performingUserId: number;
1120
+ description: string;
1121
+ actionType: ActionTypesEnum;
1122
+ sourcePlatform: ActionSourcePlatformEnum;
1123
+ oldValue?: any;
1124
+ newValue?: any;
1138
1125
  }
1139
1126
  export declare class Address extends BondBaseEntity {
1140
1127
  city?: string;
@@ -1158,6 +1145,19 @@ export declare class Athlete extends BondBaseEntity {
1158
1145
  metadata: object | null;
1159
1146
  athleteSports: AthleteSports[];
1160
1147
  }
1148
+ export declare class Answer extends OrganizationConnectionBaseEntity {
1149
+ questionId: number;
1150
+ question?: Questions;
1151
+ parentId: number;
1152
+ parentType: ResourceNameTypeEnum;
1153
+ answerValue: any;
1154
+ creatorId: number;
1155
+ creatorType: ResourceNameTypeEnum;
1156
+ answerTitleId: number;
1157
+ answerTitle: AnswerTitle;
1158
+ metaData: any | null;
1159
+ questionText: string | null;
1160
+ }
1161
1161
  export declare class AthleteSports extends BondBaseEntity {
1162
1162
  athleteId: number | null;
1163
1163
  sports: number | null;
@@ -1204,11 +1204,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
1204
1204
  endTimeInDay: string;
1205
1205
  directBookingFor: DirectBookingTypesEnum;
1206
1206
  }
1207
- export declare class Configuration extends BondBaseEntity {
1208
- area: string;
1209
- key: string;
1210
- value: string;
1211
- }
1212
1207
  export declare class Connection extends BondBaseEntity {
1213
1208
  connType: number | null;
1214
1209
  from: number | null;
@@ -1221,13 +1216,10 @@ export declare class Connection extends BondBaseEntity {
1221
1216
  userCreatorId: number | null;
1222
1217
  ownerId: number | null;
1223
1218
  }
1224
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1225
- creditAmount: number;
1226
- paymentProcessorId: string;
1227
- userId: number;
1228
- paymentId: number;
1229
- invoiceId: number;
1230
- creditPaymentId: number;
1219
+ export declare class Configuration extends BondBaseEntity {
1220
+ area: string;
1221
+ key: string;
1222
+ value: string;
1231
1223
  }
1232
1224
  export declare class Customer extends OrganizationConnectionBaseEntity {
1233
1225
  name: string | null;
@@ -1257,6 +1249,14 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1257
1249
  mainMedia: Media;
1258
1250
  reservations?: Reservation[];
1259
1251
  }
1252
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1253
+ creditAmount: number;
1254
+ paymentProcessorId: string;
1255
+ userId: number;
1256
+ paymentId: number;
1257
+ invoiceId: number;
1258
+ creditPaymentId: number;
1259
+ }
1260
1260
  export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1261
1261
  customerId: number;
1262
1262
  userId: number;
@@ -1275,41 +1275,123 @@ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1275
1275
  pinToTop?: boolean;
1276
1276
  customer: Customer;
1277
1277
  }
1278
- export declare class Division extends BondBaseEntity {
1278
+ export declare class Division extends BondBaseEntity {
1279
+ name: string;
1280
+ ordinal?: number;
1281
+ programSeasonId: number;
1282
+ color: string;
1283
+ isDefault: boolean;
1284
+ groups: Group[];
1285
+ }
1286
+ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1287
+ customerId: number;
1288
+ name: string | null;
1289
+ phoneNumber: string | null;
1290
+ customer: Customer;
1291
+ }
1292
+ export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1293
+ name: string | null;
1294
+ }
1295
+ export declare class EventAttendee extends BondBaseEntity {
1296
+ status: RequestStatusEnum | null;
1297
+ hasPaid: boolean | null;
1298
+ paymentId: number | null;
1299
+ attendeeId: number;
1300
+ eventId?: number | null;
1301
+ productUserId?: number;
1302
+ answerTitleIds?: number[];
1303
+ entryStatus?: EntryStatusEnum;
1304
+ addonProductUserIds?: number[];
1305
+ deletedAt?: Date;
1306
+ attendee: User;
1307
+ event: Event;
1308
+ purchasedResource: PurchasedResource;
1309
+ }
1310
+ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1311
+ groupId: number;
1312
+ terms: IEntitlementTerms[];
1313
+ }
1314
+ export declare class Event extends OrganizationConnectionBaseEntity {
1315
+ constructor();
1316
+ defineCalculatedDateTimeProps(): void;
1317
+ title: string | null;
1318
+ description: string | null;
1319
+ eventType: number | null;
1320
+ startDate: Date | null;
1321
+ endDate: Date | null;
1322
+ price: number | null;
1323
+ venueName: string | null;
1324
+ status: EventStatusEnum;
1325
+ private: boolean | null;
1326
+ guestsCanInvite: boolean | null;
1327
+ venueId: number | null;
1328
+ addressId: number | null;
1329
+ participantsLimit: number | null;
1330
+ parentId: number | null;
1331
+ parentType: string | null;
1332
+ timezone: string | null;
1333
+ eventSubType: string | null;
1334
+ eventSubId: number | null;
1335
+ metaData: any | null;
1336
+ groupingId: string | null;
1337
+ redirectUri: string | null;
1338
+ externalId: string | null;
1339
+ paymentSettings: any | null;
1340
+ whoCanJoin: string | null;
1341
+ spaceId?: number;
1342
+ bookedSessionId: number | null;
1343
+ creatorId: number | null;
1344
+ creatorType: string | null;
1345
+ userCreatorId: number | null;
1346
+ ownerId: number | null;
1347
+ sports: number[] | null;
1348
+ isVerified: boolean | null;
1349
+ mainMediaId: number | null;
1350
+ minAge: number | null;
1351
+ maxAge: number | null;
1352
+ gender: number | null;
1353
+ questionnaireId: number | null;
1354
+ eventAttendees: EventAttendee[];
1355
+ deletedAt?: Date;
1356
+ spaces?: IBasicSpaceAndSlotCreator[];
1357
+ startDateString: string;
1358
+ endDateString: string;
1359
+ startTime: string;
1360
+ endTime: string;
1361
+ publicNotes?: string;
1362
+ privateNotes?: string;
1363
+ productResources: ProductResource[];
1364
+ parentSession: ProgramSeason;
1365
+ activityTimes: ActivityTimes[];
1366
+ slots: Slot[];
1367
+ purchasedResources: PurchasedResource[];
1368
+ program?: Program;
1369
+ session?: ProgramSeason;
1370
+ segment?: ProgramSeason;
1371
+ }
1372
+ export declare class Facility extends OrganizationConnectionBaseEntity {
1279
1373
  name: string;
1280
- ordinal?: number;
1281
- programSeasonId: number;
1282
- color: string;
1283
- isDefault: boolean;
1284
- groups: Group[];
1285
- }
1286
- export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1287
- customerId: number;
1288
- name: string | null;
1289
- phoneNumber: string | null;
1290
- customer: Customer;
1291
- }
1292
- export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1293
- name: string | null;
1294
- }
1295
- export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1296
- groupId: number;
1297
- terms: IEntitlementTerms[];
1298
- }
1299
- export declare class EventAttendee extends BondBaseEntity {
1300
- status: RequestStatusEnum | null;
1301
- hasPaid: boolean | null;
1302
- paymentId: number | null;
1303
- attendeeId: number;
1304
- eventId?: number | null;
1305
- productUserId?: number;
1306
- answerTitleIds?: number[];
1307
- entryStatus?: EntryStatusEnum;
1308
- addonProductUserIds?: number[];
1374
+ description?: string;
1375
+ addressId: number;
1376
+ address: Address;
1377
+ amenities?: number[];
1378
+ timezone: string;
1379
+ creatorId: number;
1380
+ creatorType: string;
1381
+ userCreatorId: number;
1382
+ mainMediaId: number;
1383
+ mainMedia: Media;
1384
+ publishedDate?: Date;
1385
+ isPublished: boolean;
1386
+ sports?: number[];
1387
+ info?: string;
1388
+ longDescription?: string;
1309
1389
  deletedAt?: Date;
1310
- attendee: User;
1311
- event: Event;
1312
- purchasedResource: PurchasedResource;
1390
+ openingTimes: OpeningTime[];
1391
+ resources: Resource[];
1392
+ spaces: Resource[];
1393
+ programSeasons: ProgramSeason[];
1394
+ linkSEO: string;
1313
1395
  }
1314
1396
  export declare class FacilityToResource extends BondBaseEntity {
1315
1397
  facilityId: number;
@@ -1330,9 +1412,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1330
1412
  chargedAt?: Date;
1331
1413
  originalPlannedDate?: Date;
1332
1414
  }
1333
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1334
- code: string;
1335
- }
1336
1415
  export declare class Group extends BondBaseEntity {
1337
1416
  name: string;
1338
1417
  description?: string;
@@ -1349,6 +1428,9 @@ export declare class Group extends BondBaseEntity {
1349
1428
  members: ISeasonAttendeeInfo[];
1350
1429
  users: User[];
1351
1430
  }
1431
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1432
+ code: string;
1433
+ }
1352
1434
  export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1353
1435
  groupId: number;
1354
1436
  itemId: number;
@@ -1362,6 +1444,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1362
1444
  discountMethod?: DiscountMethodsEnum;
1363
1445
  discountValue?: number;
1364
1446
  }
1447
+ export declare class GroupsInDivisions extends BondBaseEntity {
1448
+ groupId: number;
1449
+ divisionId: number;
1450
+ deletedAt?: Date;
1451
+ }
1365
1452
  export declare class Invoice extends BondBaseEntity {
1366
1453
  invoiceId: string | null;
1367
1454
  price: number | null;
@@ -1386,22 +1473,6 @@ export declare class Invoice extends BondBaseEntity {
1386
1473
  invoiceNotes: InvoiceNote[];
1387
1474
  slots: Slot[];
1388
1475
  }
1389
- export declare class GroupsInDivisions extends BondBaseEntity {
1390
- groupId: number;
1391
- divisionId: number;
1392
- deletedAt?: Date;
1393
- }
1394
- export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1395
- email: string;
1396
- status: EEmailStatus;
1397
- templateId: string;
1398
- userId: number;
1399
- invoiceId: number;
1400
- paymentId: number;
1401
- sendingUserId: number;
1402
- mailParams?: any;
1403
- memo?: string;
1404
- }
1405
1476
  export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1406
1477
  content: string;
1407
1478
  creatingUserId: number;
@@ -1411,13 +1482,16 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1411
1482
  invoiceId: number;
1412
1483
  invoice: Invoice;
1413
1484
  }
1414
- export declare class InvoiceToPayment extends BondBaseEntity {
1485
+ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1486
+ email: string;
1487
+ status: EEmailStatus;
1488
+ templateId: string;
1489
+ userId: number;
1415
1490
  invoiceId: number;
1416
1491
  paymentId: number;
1417
- invoice: Invoice;
1418
- payment: Payment;
1419
- paidAmount?: number;
1420
- currency: CurrencyEnum;
1492
+ sendingUserId: number;
1493
+ mailParams?: any;
1494
+ memo?: string;
1421
1495
  }
1422
1496
  export declare class League extends OrganizationConnectionBaseEntity {
1423
1497
  name: string | null;
@@ -1445,6 +1519,14 @@ export declare class League extends OrganizationConnectionBaseEntity {
1445
1519
  logo?: Media;
1446
1520
  seasons: LeagueSeason[];
1447
1521
  }
1522
+ export declare class InvoiceToPayment extends BondBaseEntity {
1523
+ invoiceId: number;
1524
+ paymentId: number;
1525
+ invoice: Invoice;
1526
+ payment: Payment;
1527
+ paidAmount?: number;
1528
+ currency: CurrencyEnum;
1529
+ }
1448
1530
  export declare class LeagueSeason extends BondBaseEntity {
1449
1531
  leagueId: number | null;
1450
1532
  name: string | null;
@@ -1570,64 +1652,6 @@ export declare class LinkedAccounts extends BondBaseEntity {
1570
1652
  user: User;
1571
1653
  userId: number | null;
1572
1654
  }
1573
- export declare class Event extends OrganizationConnectionBaseEntity {
1574
- constructor();
1575
- defineCalculatedDateTimeProps(): void;
1576
- title: string | null;
1577
- description: string | null;
1578
- eventType: number | null;
1579
- startDate: Date | null;
1580
- endDate: Date | null;
1581
- price: number | null;
1582
- venueName: string | null;
1583
- status: EventStatusEnum;
1584
- private: boolean | null;
1585
- guestsCanInvite: boolean | null;
1586
- venueId: number | null;
1587
- addressId: number | null;
1588
- participantsLimit: number | null;
1589
- parentId: number | null;
1590
- parentType: string | null;
1591
- timezone: string | null;
1592
- eventSubType: string | null;
1593
- eventSubId: number | null;
1594
- metaData: any | null;
1595
- groupingId: string | null;
1596
- redirectUri: string | null;
1597
- externalId: string | null;
1598
- paymentSettings: any | null;
1599
- whoCanJoin: string | null;
1600
- spaceId?: number;
1601
- bookedSessionId: number | null;
1602
- creatorId: number | null;
1603
- creatorType: string | null;
1604
- userCreatorId: number | null;
1605
- ownerId: number | null;
1606
- sports: number[] | null;
1607
- isVerified: boolean | null;
1608
- mainMediaId: number | null;
1609
- minAge: number | null;
1610
- maxAge: number | null;
1611
- gender: number | null;
1612
- questionnaireId: number | null;
1613
- eventAttendees: EventAttendee[];
1614
- deletedAt?: Date;
1615
- spaces?: IBasicSpaceAndSlotCreator[];
1616
- startDateString: string;
1617
- endDateString: string;
1618
- startTime: string;
1619
- endTime: string;
1620
- publicNotes?: string;
1621
- privateNotes?: string;
1622
- productResources: ProductResource[];
1623
- parentSession: ProgramSeason;
1624
- activityTimes: ActivityTimes[];
1625
- slots: Slot[];
1626
- purchasedResources: PurchasedResource[];
1627
- program?: Program;
1628
- session?: ProgramSeason;
1629
- segment?: ProgramSeason;
1630
- }
1631
1655
  export declare class Media extends BondBaseEntity {
1632
1656
  url: string;
1633
1657
  name: string | null;
@@ -1712,29 +1736,8 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1712
1736
  deletedAt?: Date;
1713
1737
  facility: Facility;
1714
1738
  }
1715
- export declare class Facility extends OrganizationConnectionBaseEntity {
1716
- name: string;
1717
- description?: string;
1718
- addressId: number;
1719
- address: Address;
1720
- amenities?: number[];
1721
- timezone: string;
1722
- creatorId: number;
1723
- creatorType: string;
1724
- userCreatorId: number;
1725
- mainMediaId: number;
1726
- mainMedia: Media;
1727
- publishedDate?: Date;
1728
- isPublished: boolean;
1729
- sports?: number[];
1730
- info?: string;
1731
- longDescription?: string;
1732
- deletedAt?: Date;
1733
- openingTimes: OpeningTime[];
1734
- resources: Resource[];
1735
- spaces: Resource[];
1736
- programSeasons: ProgramSeason[];
1737
- linkSEO: string;
1739
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1740
+ organizationId: number;
1738
1741
  }
1739
1742
  export declare class PackageV1 extends BondBaseEntity {
1740
1743
  name?: string;
@@ -1786,19 +1789,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1786
1789
  refundReasonId?: number;
1787
1790
  refundNote?: string;
1788
1791
  }
1789
- export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1790
- failureIndex: number;
1791
- waitingDays: number;
1792
- }
1793
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1794
- organizationId: number;
1795
- }
1796
- export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1797
- paymentInstallmentId?: number;
1798
- invoiceId: number;
1799
- reason: EFailedPaymentReasons;
1800
- errorMessage: string;
1801
- }
1802
1792
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1803
1793
  content: string;
1804
1794
  creatingUserId: number;
@@ -1808,12 +1798,22 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1808
1798
  paymentId: number;
1809
1799
  payment: Payment;
1810
1800
  }
1801
+ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1802
+ failureIndex: number;
1803
+ waitingDays: number;
1804
+ }
1811
1805
  export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1812
1806
  paymentPlanId: number;
1813
1807
  paymentDate: Date;
1814
1808
  deletedAt?: Date;
1815
1809
  paymentPlan: ProductPaymentPlan;
1816
1810
  }
1811
+ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1812
+ paymentInstallmentId?: number;
1813
+ invoiceId: number;
1814
+ reason: EFailedPaymentReasons;
1815
+ errorMessage: string;
1816
+ }
1817
1817
  export declare class PaymentV1 extends BondBaseEntity {
1818
1818
  userId: number | null;
1819
1819
  ownerId: number | null;
@@ -1966,6 +1966,14 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1966
1966
  slots?: Slot[];
1967
1967
  addons?: Addon[];
1968
1968
  }
1969
+ export declare class ProgramHighlights extends BondBaseEntity {
1970
+ type: ProgramHighlightTypeEnum;
1971
+ ordinal: number | null;
1972
+ title: string | null;
1973
+ data: any | null;
1974
+ program: Program;
1975
+ deletedAt?: Date;
1976
+ }
1969
1977
  export declare class Program extends BondBaseEntity {
1970
1978
  type: ProgramTypesEnum;
1971
1979
  name: string;
@@ -1988,14 +1996,6 @@ export declare class Program extends BondBaseEntity {
1988
1996
  programSeason: ProgramSeason[];
1989
1997
  purchasedResources: PurchasedResource[];
1990
1998
  }
1991
- export declare class ProgramHighlights extends BondBaseEntity {
1992
- type: ProgramHighlightTypeEnum;
1993
- ordinal: number | null;
1994
- title: string | null;
1995
- data: any | null;
1996
- program: Program;
1997
- deletedAt?: Date;
1998
- }
1999
1999
  export declare class ProgramSeason extends BondBaseEntity {
2000
2000
  programId: number;
2001
2001
  name: string;
@@ -2073,24 +2073,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2073
2073
  product?: Product;
2074
2074
  event?: Event;
2075
2075
  }
2076
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2077
- title: string | null;
2078
- answerTitle: AnswerTitle;
2079
- }
2080
- export declare class Questions extends BondBaseEntity {
2081
- questionType: string | null;
2082
- ordinal: number | null;
2083
- pageOrdinal: number | null;
2084
- isActive: boolean | null;
2085
- isMandatory: boolean | null;
2086
- metaData: any | null;
2087
- question: string | null;
2088
- creatorId: number | null;
2089
- creatorType: string | null;
2090
- userCreatorId: number | null;
2091
- ownerId: number | null;
2092
- questionnaireId: number | null;
2093
- }
2094
2076
  export declare class RefundReason extends OrganizationConnectionBaseEntity {
2095
2077
  reason: string;
2096
2078
  ordinal: number;
@@ -2107,6 +2089,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2107
2089
  closeTime?: string;
2108
2090
  deletedAt?: Date;
2109
2091
  }
2092
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2093
+ title: string | null;
2094
+ answerTitle: AnswerTitle;
2095
+ }
2110
2096
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2111
2097
  name?: string;
2112
2098
  description?: string;
@@ -2139,6 +2125,20 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2139
2125
  publicNotes?: string;
2140
2126
  slots?: Slot[];
2141
2127
  }
2128
+ export declare class Questions extends BondBaseEntity {
2129
+ questionType: string | null;
2130
+ ordinal: number | null;
2131
+ pageOrdinal: number | null;
2132
+ isActive: boolean | null;
2133
+ isMandatory: boolean | null;
2134
+ metaData: any | null;
2135
+ question: string | null;
2136
+ creatorId: number | null;
2137
+ creatorType: string | null;
2138
+ userCreatorId: number | null;
2139
+ ownerId: number | null;
2140
+ questionnaireId: number | null;
2141
+ }
2142
2142
  export declare class Resource extends OrganizationConnectionBaseEntity {
2143
2143
  name: string;
2144
2144
  resourceType: ResourceTypeEnum;
@@ -2167,6 +2167,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2167
2167
  purchasedResources: PurchasedResource[];
2168
2168
  linkSEO: string;
2169
2169
  }
2170
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2171
+ name: string;
2172
+ facilityId: number;
2173
+ parentSlotId: number;
2174
+ childrenSlotIds: number[];
2175
+ deletedAt?: Date;
2176
+ }
2170
2177
  export declare class School extends BondBaseEntity {
2171
2178
  name: string | null;
2172
2179
  alias: string[] | null;
@@ -2189,13 +2196,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
2189
2196
  deletedAt?: Date;
2190
2197
  purchasedResource: PurchasedResource;
2191
2198
  }
2192
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2193
- name: string;
2194
- facilityId: number;
2195
- parentSlotId: number;
2196
- childrenSlotIds: number[];
2197
- deletedAt?: Date;
2198
- }
2199
2199
  export declare class SeasonDivisions extends BondBaseEntity {
2200
2200
  name: string | null;
2201
2201
  ordinal: number | null;
@@ -2376,16 +2376,16 @@ export declare class UsersInGroup extends BondBaseEntity {
2376
2376
  userId: number;
2377
2377
  deletedAt?: Date;
2378
2378
  }
2379
- export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2380
- name: string;
2381
- variants: Variant[];
2382
- }
2383
2379
  export declare class Variant extends OrganizationConnectionBaseEntity {
2384
2380
  name: string;
2385
2381
  variantTitleId: number;
2386
2382
  variantTitle: VariantTitle;
2387
2383
  deletedAt?: Date;
2388
2384
  }
2385
+ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2386
+ name: string;
2387
+ variants: Variant[];
2388
+ }
2389
2389
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
2390
2390
  projectToken: string;
2391
2391
  programTypesCollectionId?: string;
@@ -3305,6 +3305,20 @@ export declare class ColumnNumericTransformer {
3305
3305
  from(data: string): number;
3306
3306
  }
3307
3307
  export declare function convertToNumber(data: string): number;
3308
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3309
+ name?: string;
3310
+ genderStr?: string;
3311
+ parentID?: string;
3312
+ partnerID?: string;
3313
+ membershipName?: string;
3314
+ membershipExpDate?: string;
3315
+ membershipCreationDate?: string;
3316
+ bondMembershipID?: number;
3317
+ }
3318
+ export declare class AddFamilyDto {
3319
+ parents: AddImportedCustomerDto[];
3320
+ children: AddImportedCustomerDto[];
3321
+ }
3308
3322
  export declare enum ImportPaymentTypeEnum {
3309
3323
  CREDIT_CARD = "card",
3310
3324
  ACH = "ach",
@@ -3341,6 +3355,22 @@ export declare class ImportedPaymentDto {
3341
3355
  date: string;
3342
3356
  time: string;
3343
3357
  }
3358
+ export declare class ProductIdsDto {
3359
+ productIds?: number[];
3360
+ }
3361
+ export declare class ProductImportDto {
3362
+ product: Product;
3363
+ prices: Price[];
3364
+ resourceIds: number[];
3365
+ oldId: number;
3366
+ }
3367
+ export declare class PunchPassDto {
3368
+ CustomerID: string;
3369
+ QuantityLeft: number;
3370
+ BondProgramID: number;
3371
+ BondSessionID: number;
3372
+ ProductID: number;
3373
+ }
3344
3374
  export declare class ImportedSlotProductDto {
3345
3375
  slotID?: string;
3346
3376
  name?: string;
@@ -3392,39 +3422,36 @@ export declare class ImportedReservationDto {
3392
3422
  slots?: ImportedSlotDto[];
3393
3423
  addons?: ImportedSlotProductDto[];
3394
3424
  }
3395
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3396
- name?: string;
3397
- genderStr?: string;
3398
- parentID?: string;
3399
- partnerID?: string;
3400
- membershipName?: string;
3401
- membershipExpDate?: string;
3402
- membershipCreationDate?: string;
3403
- bondMembershipID?: number;
3404
- }
3405
- export declare class AddFamilyDto {
3406
- parents: AddImportedCustomerDto[];
3407
- children: AddImportedCustomerDto[];
3425
+ export declare class GameSlots extends BondBaseEntity {
3426
+ entityType: string;
3427
+ entityId: number;
3408
3428
  }
3409
- export declare class ProductIdsDto {
3410
- productIds?: number[];
3429
+ export declare class MatchParticipants extends BondBaseEntity {
3430
+ matchId: number | null;
3431
+ ordinal: number | null;
3432
+ outcomeOrdinal: number | null;
3433
+ resultMetaData: any | null;
3434
+ points: number | null;
3435
+ score: number | null;
3436
+ gameSlotId: number | null;
3411
3437
  }
3412
- export declare class ProductImportDto {
3413
- product: Product;
3414
- prices: Price[];
3415
- resourceIds: number[];
3416
- oldId: number;
3438
+ export declare class Matches extends BondBaseEntity {
3439
+ eventId: number | null;
3440
+ status: number | null;
3441
+ excludeStandings: boolean | null;
3417
3442
  }
3418
- export declare class PunchPassDto {
3419
- CustomerID: string;
3420
- QuantityLeft: number;
3421
- BondProgramID: number;
3422
- BondSessionID: number;
3423
- ProductID: number;
3443
+ export declare class RoundEvents extends BaseEntity {
3444
+ roundId: number;
3445
+ eventId: number;
3446
+ seriesId: number | null;
3447
+ createdAt: Date;
3448
+ updatedAt: Date;
3424
3449
  }
3425
- export declare class GameSlots extends BondBaseEntity {
3426
- entityType: string;
3427
- entityId: number;
3450
+ export declare class SeasonRounds extends BondBaseEntity {
3451
+ seasonId: number;
3452
+ ordinal?: number;
3453
+ divisionId?: number;
3454
+ name: string;
3428
3455
  }
3429
3456
  export declare class TeamEvents extends BondBaseEntity {
3430
3457
  teamId: number | null;
@@ -3435,6 +3462,17 @@ export declare class Lock extends BondBaseEntity {
3435
3462
  name: string;
3436
3463
  locked?: Date;
3437
3464
  }
3465
+ export declare class CreateMonitorConfigDto {
3466
+ facilityId: number;
3467
+ name: string;
3468
+ code: string;
3469
+ config: any;
3470
+ }
3471
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3472
+ facilityId: number;
3473
+ code: string;
3474
+ config?: any;
3475
+ }
3438
3476
  export interface ValidatedMonthAndDay {
3439
3477
  valid: boolean;
3440
3478
  month?: number;
@@ -3444,13 +3482,6 @@ export interface ValidationReason {
3444
3482
  valid: boolean;
3445
3483
  reason?: string;
3446
3484
  }
3447
- export declare class RoundEvents extends BaseEntity {
3448
- roundId: number;
3449
- eventId: number;
3450
- seriesId: number | null;
3451
- createdAt: Date;
3452
- updatedAt: Date;
3453
- }
3454
3485
  export interface PaymentStatus {
3455
3486
  parentId: number;
3456
3487
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3463,17 +3494,6 @@ export interface PaymentStatusesDict {
3463
3494
  export interface PaymentStatusDict {
3464
3495
  [id: number]: ReservationPaymentStatusEnum;
3465
3496
  }
3466
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3467
- facilityId: number;
3468
- code: string;
3469
- config?: any;
3470
- }
3471
- export declare class CreateMonitorConfigDto {
3472
- facilityId: number;
3473
- name: string;
3474
- code: string;
3475
- config: any;
3476
- }
3477
3497
  export declare class ByOrganizationIdDto {
3478
3498
  organizationId: number;
3479
3499
  }
@@ -3498,13 +3518,6 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3498
3518
  months?: string;
3499
3519
  dow?: string;
3500
3520
  }
3501
- export declare class NotifyTracker extends BondBaseEntity {
3502
- userId: number;
3503
- organizationId: number;
3504
- notifyMetadata?: any;
3505
- notfiyMethodtype: NotifyMethodEnum;
3506
- destination: string;
3507
- }
3508
3521
  export declare class Organization extends BondBaseEntity {
3509
3522
  name: string | null;
3510
3523
  email: string | null;
@@ -3593,6 +3606,13 @@ export interface IUnallocatedEventRes {
3593
3606
  export interface IUnallocatedEventsIdsRes {
3594
3607
  data: IUnallocatedEventRes[];
3595
3608
  }
3609
+ export declare class NotifyTracker extends BondBaseEntity {
3610
+ userId: number;
3611
+ organizationId: number;
3612
+ notifyMetadata?: any;
3613
+ notfiyMethodtype: NotifyMethodEnum;
3614
+ destination: string;
3615
+ }
3596
3616
  export declare class CustomerIdDto {
3597
3617
  customerId: number;
3598
3618
  }
@@ -4043,6 +4063,17 @@ export declare class UpdateReservationInvoiceDto {
4043
4063
  updateAddons?: boolean;
4044
4064
  updateMaintenance?: boolean;
4045
4065
  }
4066
+ export declare class SegmentDto {
4067
+ id?: number;
4068
+ title: string;
4069
+ isPrivate: boolean;
4070
+ resourceIds: number[];
4071
+ sportId?: number;
4072
+ series: SeriesDto[];
4073
+ addonIds?: number[];
4074
+ publicNotesForSlots?: string;
4075
+ privateNotesForSlots?: string;
4076
+ }
4046
4077
  export declare class SeriesDto {
4047
4078
  id?: number;
4048
4079
  startDate: string;
@@ -4060,17 +4091,6 @@ export declare class SeriesDto {
4060
4091
  maintenance?: MaintenanceDto[];
4061
4092
  slots?: SlotDto[];
4062
4093
  }
4063
- export declare class SegmentDto {
4064
- id?: number;
4065
- title: string;
4066
- isPrivate: boolean;
4067
- resourceIds: number[];
4068
- sportId?: number;
4069
- series: SeriesDto[];
4070
- addonIds?: number[];
4071
- publicNotesForSlots?: string;
4072
- privateNotesForSlots?: string;
4073
- }
4074
4094
  export declare class SlotDateTimeAndSpace {
4075
4095
  startDate: string;
4076
4096
  startTime?: string;
@@ -4569,6 +4589,29 @@ export interface AddonMetadata {
4569
4589
  totalPrice: number;
4570
4590
  product?: Product;
4571
4591
  }
4592
+ export declare class ChangeRolePermissionsDto {
4593
+ permissionIds: number[];
4594
+ }
4595
+ export declare class CreateRoleDto {
4596
+ name: string;
4597
+ }
4598
+ export declare class Permission extends BondBaseEntity {
4599
+ name: string;
4600
+ deletedAt?: Date;
4601
+ }
4602
+ export declare class Role extends OrganizationConnectionBaseEntity {
4603
+ name: string;
4604
+ deletedAt?: Date;
4605
+ permissions: Permission[];
4606
+ usersRoles: UserRole[];
4607
+ }
4608
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
4609
+ deletedAt?: Date;
4610
+ userId: number;
4611
+ roleId: number;
4612
+ role: Role;
4613
+ user: User;
4614
+ }
4572
4615
  export declare class CloseShiftDto {
4573
4616
  closingCashAmount: number;
4574
4617
  }
@@ -4635,29 +4678,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4635
4678
  closingManager?: User;
4636
4679
  reconcilingUser?: User;
4637
4680
  }
4638
- export declare class ChangeRolePermissionsDto {
4639
- permissionIds: number[];
4640
- }
4641
- export declare class CreateRoleDto {
4642
- name: string;
4643
- }
4644
- export declare class Permission extends BondBaseEntity {
4645
- name: string;
4646
- deletedAt?: Date;
4647
- }
4648
- export declare class Role extends OrganizationConnectionBaseEntity {
4649
- name: string;
4650
- deletedAt?: Date;
4651
- permissions: Permission[];
4652
- usersRoles: UserRole[];
4653
- }
4654
- export declare class UserRole extends OrganizationConnectionBaseEntity {
4655
- deletedAt?: Date;
4656
- userId: number;
4657
- roleId: number;
4658
- role: Role;
4659
- user: User;
4660
- }
4661
4681
  export default interface IWebflowProgram {
4662
4682
  name: string;
4663
4683
  id: number;
@@ -4671,23 +4691,3 @@ export default interface IWebflowProgram {
4671
4691
  level: string[];
4672
4692
  gender: string;
4673
4693
  }
4674
- export declare class MatchParticipants extends BondBaseEntity {
4675
- matchId: number | null;
4676
- ordinal: number | null;
4677
- outcomeOrdinal: number | null;
4678
- resultMetaData: any | null;
4679
- points: number | null;
4680
- score: number | null;
4681
- gameSlotId: number | null;
4682
- }
4683
- export declare class Matches extends BondBaseEntity {
4684
- eventId: number | null;
4685
- status: number | null;
4686
- excludeStandings: boolean | null;
4687
- }
4688
- export declare class SeasonRounds extends BondBaseEntity {
4689
- seasonId: number;
4690
- ordinal?: number;
4691
- divisionId?: number;
4692
- name: string;
4693
- }