@bondsports/types 0.0.63 → 0.0.64

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
@@ -454,208 +454,6 @@ export declare class CreateGroupPricingWithProduct {
454
454
  discountValue?: number;
455
455
  discountMethod?: DiscountMethodsEnum;
456
456
  }
457
- export declare class CreateUpdateVariantsDto {
458
- organizationId: number;
459
- parentProductId: number;
460
- variantTitles: VariantTitleDto[];
461
- variants: VariantDto[];
462
- }
463
- export declare class VariantTitleDto {
464
- titleName: string;
465
- titleId: number;
466
- }
467
- export declare class VariantDto {
468
- name: string;
469
- price: number;
470
- variantId: number;
471
- currency: CurrencyEnum;
472
- startDate: Date;
473
- endDate: Date;
474
- }
475
- export declare class FindProgramSeasonsByProgramIdDto {
476
- programId: number;
477
- }
478
- export declare class FindSessionsFiltersDto {
479
- status?: PublishingStatusEnum;
480
- isFullFetch?: boolean;
481
- }
482
- export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
483
- organizationId: number;
484
- }
485
- export declare class DeleteEventAttendeesDto {
486
- eventAttendeeIds: string;
487
- }
488
- export declare class FindProgramSeasonByIdQueryDto {
489
- includeResources?: boolean;
490
- }
491
- export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
492
- seasonId: number;
493
- }
494
- export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
495
- seasonId: number;
496
- }
497
- export declare class DeleteProductDto {
498
- deleteProduct?: boolean;
499
- }
500
- export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
501
- userId: number;
502
- }
503
- export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
504
- isFreeAgentsOnly?: boolean;
505
- isPunchCardUsers?: boolean;
506
- nameEmailSearch?: string;
507
- }
508
- export declare class BaseProgramSeasonDto {
509
- programId: number;
510
- name: string;
511
- status: PublishingStatusEnum;
512
- seasonType: ProgramSeasonTypesEnum;
513
- startDate: Date;
514
- endDate: Date;
515
- description?: string;
516
- GL?: string;
517
- parentSeasonId?: number;
518
- questionnaires?: number[];
519
- maxParticipants?: number;
520
- maxMaleParticipants?: number;
521
- maxFemaleParticipants?: number;
522
- maxWaitlist?: number;
523
- maxMaleWaitlist?: number;
524
- maxFemaleWaitlist?: number;
525
- facilityId?: number;
526
- addressId?: number;
527
- blockedDated?: blockedDatesDto[];
528
- activityTimes: ActivityTimesDto[];
529
- longDescription?: string;
530
- isPunchCard?: boolean;
531
- organizationId: number;
532
- sport: SportsEnum;
533
- minAge: string;
534
- maxAge: string;
535
- gender: GenderEnum;
536
- level?: LevelOfPlayEnum[];
537
- requiredProductIds?: number[];
538
- }
539
- export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
540
- subSeasons?: SubSeasonBasicInfo[];
541
- }
542
- export declare class CreateSessionScheduleDto {
543
- startDate: Date;
544
- endDate: Date;
545
- activityTimes: ActivityTimesDto[];
546
- blockedDated?: blockedDatesDto[];
547
- subSeasons?: SubSeasonBasicInfo[];
548
- }
549
- export declare class SubSeasonBasicInfo {
550
- name: string;
551
- startDate: Date;
552
- endDate: Date;
553
- activityTimes?: ActivityTimesDto[];
554
- }
555
- export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
556
- seasonId: number;
557
- }
558
- export declare class UpdateProgramSeasonStatusDto {
559
- seasonId: number;
560
- status: PublishingStatusEnum;
561
- }
562
- export declare class blockedDatesDto {
563
- name: string;
564
- startDate: Date;
565
- endDate: Date;
566
- }
567
- export declare class ActivityTimesDto {
568
- dayOfWeek: number;
569
- open: string;
570
- close: string;
571
- }
572
- export declare class ShallowUpdateProgramSeasonDto {
573
- seasonId: number;
574
- name: string;
575
- description?: string;
576
- questionnaires?: number[];
577
- maxParticipants?: number;
578
- maxMaleParticipants?: number;
579
- maxFemaleParticipants?: number;
580
- maxWaitlist?: number;
581
- maxMaleWaitlist?: number;
582
- maxFemaleWaitlist?: number;
583
- facilityId?: number;
584
- addressId?: number;
585
- sport?: SportsEnum;
586
- minAge?: string;
587
- maxAge?: string;
588
- gender?: GenderEnum;
589
- level?: LevelOfPlayEnum[];
590
- requiredProductIds?: number[];
591
- subSeasons?: ShallowUpdateSubSeasonDto[];
592
- }
593
- export declare class ShallowUpdateSubSeasonDto {
594
- id: number;
595
- name: string;
596
- }
597
- export declare class SpaceResourcePairDto {
598
- resourceType: ResourceNameTypeEnum;
599
- resourceId: number;
600
- spacesIds: number[];
601
- publicNotes?: string;
602
- privateNotes?: string;
603
- minutesBeforeSlot?: number;
604
- minutesAfterSlot?: number;
605
- }
606
- export declare class BulkSpaceResourceAllocationDto {
607
- spaceResourcePairs: SpaceResourcePairDto[];
608
- organizationId: number;
609
- }
610
- export declare class SingleSpaceAllocationByTimesDto {
611
- date: string;
612
- startTime: string;
613
- endTime: string;
614
- spaceId: number;
615
- publicNotes?: string;
616
- slotType?: SlotTypeEnum;
617
- }
618
- export declare class SpaceAllocationsByTimesDto {
619
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
620
- }
621
- export declare class UpdateSeasonDatesDto {
622
- startDate: Date;
623
- endDate: Date;
624
- }
625
- export declare class MoveAttendeeDto {
626
- userId: number;
627
- resourceType: ResourceNameTypeEnum;
628
- fromResourceIds: number[];
629
- toResourceIds: number[];
630
- }
631
- export declare class UpdateSeasonRegistrationDatesDto {
632
- registrationPeriods: UpdateSeasonDatesDto[];
633
- }
634
- export declare class RegistrationDatesDto {
635
- registrationStartDate: Date;
636
- registrationEndDate: Date;
637
- earlyRegistrationStartDate?: Date;
638
- earlyRegistrationEndDate?: Date;
639
- lateRegistrationStartDate?: Date;
640
- lateRegistrationEndDate?: Date;
641
- }
642
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
643
- closeRegistrationPeriodValue?: number;
644
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
645
- closeRegistrationSpecTime?: string;
646
- openRegistrationPeriodValue?: number;
647
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
648
- openRegistrationSpecTime?: string;
649
- productsIdsToUpdate?: number[];
650
- }
651
- export declare class MoveParticipantDto {
652
- userId: number;
653
- oldProductId: number;
654
- newProductId: number;
655
- moveType: 'session' | 'segment';
656
- resourceId: number;
657
- orderId: number;
658
- }
659
457
  export declare class FindByProductIdDto {
660
458
  productId: number;
661
459
  }
@@ -828,53 +626,255 @@ export declare class GetExtraProductDataDto {
828
626
  includeResources?: boolean;
829
627
  includeArchived?: boolean;
830
628
  }
831
- export declare class GetBySessionType {
832
- sessionType: 'event' | 'segment';
629
+ export declare class GetBySessionType {
630
+ sessionType: 'event' | 'segment';
631
+ }
632
+ export declare class CreateSubcategoryDto {
633
+ productType: ProductTypesEnum;
634
+ name: string;
635
+ stationId?: number;
636
+ ordinal?: number;
637
+ }
638
+ export declare class CreateSubcategoriesDto {
639
+ subcategories: CreateSubcategoryDto[];
640
+ }
641
+ export declare class UpdateSubcategoryDto {
642
+ id: number;
643
+ productType?: ProductTypesEnum;
644
+ name?: string;
645
+ stationId?: number;
646
+ ordinal?: number;
647
+ }
648
+ export declare class GetSubcategoryDto {
649
+ stationId?: number;
650
+ }
651
+ export declare class SetStationSubcategoriesDto {
652
+ stationId: number;
653
+ subcategoryIds?: number[];
654
+ categories?: string[];
655
+ }
656
+ export declare class createRentalProductAddonDto {
657
+ productId: number;
658
+ price: number;
659
+ isFlatPrice: boolean;
660
+ isMandatory: boolean;
661
+ level: ProductPackageLevelEnum;
662
+ }
663
+ export declare class createProductAvailabilityTimesDto {
664
+ availabilityStartDate?: string;
665
+ availabilityEndDate?: string;
666
+ daysOfWeek: number[];
667
+ startTime: string;
668
+ endTime: string;
669
+ }
670
+ export declare class createResourceDto {
671
+ resourceId: number;
672
+ resourceType: ResourceNameTypeEnum;
673
+ }
674
+ export declare class archiveDto {
675
+ isArchive: boolean;
676
+ }
677
+ export declare class CreateUpdateVariantsDto {
678
+ organizationId: number;
679
+ parentProductId: number;
680
+ variantTitles: VariantTitleDto[];
681
+ variants: VariantDto[];
682
+ }
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 FindProgramSeasonsByProgramIdDto {
696
+ programId: number;
697
+ }
698
+ export declare class FindSessionsFiltersDto {
699
+ status?: PublishingStatusEnum;
700
+ isFullFetch?: boolean;
701
+ }
702
+ export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
703
+ organizationId: number;
704
+ }
705
+ export declare class DeleteEventAttendeesDto {
706
+ eventAttendeeIds: string;
707
+ }
708
+ export declare class FindProgramSeasonByIdQueryDto {
709
+ includeResources?: boolean;
710
+ }
711
+ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
712
+ seasonId: number;
713
+ }
714
+ export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
715
+ seasonId: number;
716
+ }
717
+ export declare class DeleteProductDto {
718
+ deleteProduct?: boolean;
719
+ }
720
+ export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
721
+ userId: number;
722
+ }
723
+ export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
724
+ isFreeAgentsOnly?: boolean;
725
+ isPunchCardUsers?: boolean;
726
+ nameEmailSearch?: string;
727
+ }
728
+ export declare class BaseProgramSeasonDto {
729
+ programId: number;
730
+ name: string;
731
+ status: PublishingStatusEnum;
732
+ seasonType: ProgramSeasonTypesEnum;
733
+ startDate: Date;
734
+ endDate: Date;
735
+ description?: string;
736
+ GL?: string;
737
+ parentSeasonId?: number;
738
+ questionnaires?: number[];
739
+ maxParticipants?: number;
740
+ maxMaleParticipants?: number;
741
+ maxFemaleParticipants?: number;
742
+ maxWaitlist?: number;
743
+ maxMaleWaitlist?: number;
744
+ maxFemaleWaitlist?: number;
745
+ facilityId?: number;
746
+ addressId?: number;
747
+ blockedDated?: blockedDatesDto[];
748
+ activityTimes: ActivityTimesDto[];
749
+ longDescription?: string;
750
+ isPunchCard?: boolean;
751
+ organizationId: number;
752
+ sport: SportsEnum;
753
+ minAge: string;
754
+ maxAge: string;
755
+ gender: GenderEnum;
756
+ level?: LevelOfPlayEnum[];
757
+ requiredProductIds?: number[];
758
+ }
759
+ export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
760
+ subSeasons?: SubSeasonBasicInfo[];
761
+ }
762
+ export declare class CreateSessionScheduleDto {
763
+ startDate: Date;
764
+ endDate: Date;
765
+ activityTimes: ActivityTimesDto[];
766
+ blockedDated?: blockedDatesDto[];
767
+ subSeasons?: SubSeasonBasicInfo[];
768
+ }
769
+ export declare class SubSeasonBasicInfo {
770
+ name: string;
771
+ startDate: Date;
772
+ endDate: Date;
773
+ activityTimes?: ActivityTimesDto[];
774
+ }
775
+ export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
776
+ seasonId: number;
833
777
  }
834
- export declare class CreateSubcategoryDto {
835
- productType: ProductTypesEnum;
778
+ export declare class UpdateProgramSeasonStatusDto {
779
+ seasonId: number;
780
+ status: PublishingStatusEnum;
781
+ }
782
+ export declare class blockedDatesDto {
836
783
  name: string;
837
- stationId?: number;
838
- ordinal?: number;
784
+ startDate: Date;
785
+ endDate: Date;
839
786
  }
840
- export declare class CreateSubcategoriesDto {
841
- subcategories: CreateSubcategoryDto[];
787
+ export declare class ActivityTimesDto {
788
+ dayOfWeek: number;
789
+ open: string;
790
+ close: string;
842
791
  }
843
- export declare class UpdateSubcategoryDto {
844
- id: number;
845
- productType?: ProductTypesEnum;
846
- name?: string;
847
- stationId?: number;
848
- ordinal?: number;
792
+ export declare class ShallowUpdateProgramSeasonDto {
793
+ seasonId: number;
794
+ name: string;
795
+ description?: string;
796
+ questionnaires?: number[];
797
+ maxParticipants?: number;
798
+ maxMaleParticipants?: number;
799
+ maxFemaleParticipants?: number;
800
+ maxWaitlist?: number;
801
+ maxMaleWaitlist?: number;
802
+ maxFemaleWaitlist?: number;
803
+ facilityId?: number;
804
+ addressId?: number;
805
+ sport?: SportsEnum;
806
+ minAge?: string;
807
+ maxAge?: string;
808
+ gender?: GenderEnum;
809
+ level?: LevelOfPlayEnum[];
810
+ requiredProductIds?: number[];
811
+ subSeasons?: ShallowUpdateSubSeasonDto[];
849
812
  }
850
- export declare class GetSubcategoryDto {
851
- stationId?: number;
813
+ export declare class ShallowUpdateSubSeasonDto {
814
+ id: number;
815
+ name: string;
852
816
  }
853
- export declare class SetStationSubcategoriesDto {
854
- stationId: number;
855
- subcategoryIds?: number[];
856
- categories?: string[];
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;
857
825
  }
858
- export declare class createRentalProductAddonDto {
859
- productId: number;
860
- price: number;
861
- isFlatPrice: boolean;
862
- isMandatory: boolean;
863
- level: ProductPackageLevelEnum;
826
+ export declare class BulkSpaceResourceAllocationDto {
827
+ spaceResourcePairs: SpaceResourcePairDto[];
828
+ organizationId: number;
864
829
  }
865
- export declare class createProductAvailabilityTimesDto {
866
- availabilityStartDate?: string;
867
- availabilityEndDate?: string;
868
- daysOfWeek: number[];
830
+ export declare class SingleSpaceAllocationByTimesDto {
831
+ date: string;
869
832
  startTime: string;
870
833
  endTime: string;
834
+ spaceId: number;
835
+ publicNotes?: string;
836
+ slotType?: SlotTypeEnum;
871
837
  }
872
- export declare class createResourceDto {
873
- resourceId: number;
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;
874
847
  resourceType: ResourceNameTypeEnum;
848
+ fromResourceIds: number[];
849
+ toResourceIds: number[];
875
850
  }
876
- export declare class archiveDto {
877
- isArchive: boolean;
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
878
  }
879
879
  export declare class FindProgramsByOrganizationIdDto {
880
880
  organizationId: number;
@@ -1367,6 +1367,10 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
1367
1367
  programSeasons: ProgramSeason[];
1368
1368
  linkSEO: string;
1369
1369
  }
1370
+ export declare class FacilityToResource extends BondBaseEntity {
1371
+ facilityId: number;
1372
+ resourceId: number;
1373
+ }
1370
1374
  export declare class FamilyAccount extends BondBaseEntity {
1371
1375
  name: string | null;
1372
1376
  userInFamilyAccounts: UserInFamilyAccount[];
@@ -1381,6 +1385,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1381
1385
  plannedDate: Date;
1382
1386
  chargedAt?: Date;
1383
1387
  }
1388
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1389
+ code: string;
1390
+ }
1384
1391
  export declare class Group extends BondBaseEntity {
1385
1392
  name: string;
1386
1393
  description?: string;
@@ -1415,13 +1422,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
1415
1422
  divisionId: number;
1416
1423
  deletedAt?: Date;
1417
1424
  }
1418
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1419
- code: string;
1420
- }
1421
- export declare class FacilityToResource extends BondBaseEntity {
1422
- facilityId: number;
1423
- resourceId: number;
1424
- }
1425
1425
  export declare class Invoice extends OrganizationConnectionBaseEntity {
1426
1426
  price: number;
1427
1427
  paymentProcessorId: string;
@@ -1469,6 +1469,32 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1469
1469
  invoiceId: number;
1470
1470
  invoice: Invoice;
1471
1471
  }
1472
+ export declare class League extends OrganizationConnectionBaseEntity {
1473
+ name: string | null;
1474
+ description: string | null;
1475
+ allowBookingRequest: boolean | null;
1476
+ addressName: string | null;
1477
+ shortDescription: string | null;
1478
+ waiverDoc: string | null;
1479
+ bookingStateStatus: number | null;
1480
+ timezone: string | null;
1481
+ shortUrl: string | null;
1482
+ leagueType: string | null;
1483
+ addressId: number | null;
1484
+ sportConfigData: any | null;
1485
+ creatorId: number | null;
1486
+ creatorType: string | null;
1487
+ userCreatorId: number | null;
1488
+ ownerId: number | null;
1489
+ sports: number[] | null;
1490
+ mainMediaId: number | null;
1491
+ publishedDate: Date | null;
1492
+ isPublished: boolean | null;
1493
+ isVerified: boolean | null;
1494
+ questionnaireId: number | null;
1495
+ logo?: Media;
1496
+ seasons: LeagueSeason[];
1497
+ }
1472
1498
  export declare class LeagueSeason extends BondBaseEntity {
1473
1499
  leagueId: number | null;
1474
1500
  name: string | null;
@@ -1513,32 +1539,6 @@ export declare class LeagueSeasonRelations {
1513
1539
  league?: boolean;
1514
1540
  facilities?: boolean;
1515
1541
  }
1516
- export declare class League extends OrganizationConnectionBaseEntity {
1517
- name: string | null;
1518
- description: string | null;
1519
- allowBookingRequest: boolean | null;
1520
- addressName: string | null;
1521
- shortDescription: string | null;
1522
- waiverDoc: string | null;
1523
- bookingStateStatus: number | null;
1524
- timezone: string | null;
1525
- shortUrl: string | null;
1526
- leagueType: string | null;
1527
- addressId: number | null;
1528
- sportConfigData: any | null;
1529
- creatorId: number | null;
1530
- creatorType: string | null;
1531
- userCreatorId: number | null;
1532
- ownerId: number | null;
1533
- sports: number[] | null;
1534
- mainMediaId: number | null;
1535
- publishedDate: Date | null;
1536
- isPublished: boolean | null;
1537
- isVerified: boolean | null;
1538
- questionnaireId: number | null;
1539
- logo?: Media;
1540
- seasons: LeagueSeason[];
1541
- }
1542
1542
  export declare class LineItemHistory extends BondBaseEntity {
1543
1543
  orderId: number;
1544
1544
  invoiceId: number;
@@ -1737,6 +1737,14 @@ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1737
1737
  orderId: number;
1738
1738
  order: Order;
1739
1739
  }
1740
+ export declare class OrderToInvoice extends BondBaseEntity {
1741
+ orderId: number;
1742
+ invoiceId: number;
1743
+ order: Order;
1744
+ invoice: Invoice;
1745
+ paidAmount?: number;
1746
+ currency: CurrencyEnum;
1747
+ }
1740
1748
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1741
1749
  organizationId: number;
1742
1750
  }
@@ -1757,20 +1765,18 @@ export declare class PackageV1 extends BondBaseEntity {
1757
1765
  isMandatory: boolean;
1758
1766
  productId: number;
1759
1767
  }
1760
- export declare class OrderToInvoice extends BondBaseEntity {
1761
- orderId: number;
1762
- invoiceId: number;
1763
- order: Order;
1764
- invoice: Invoice;
1765
- paidAmount?: number;
1766
- currency: CurrencyEnum;
1767
- }
1768
1768
  export declare class PasswordReset extends BondBaseEntity {
1769
1769
  token: string | null;
1770
1770
  userId: number | null;
1771
1771
  validUntil: Date | null;
1772
1772
  active: boolean | null;
1773
1773
  }
1774
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1775
+ paymentPlanId: number;
1776
+ paymentDate: Date;
1777
+ deletedAt?: Date;
1778
+ paymentPlan: ProductPaymentPlan;
1779
+ }
1774
1780
  export declare class PaymentV1 extends BondBaseEntity {
1775
1781
  userId: number | null;
1776
1782
  ownerId: number | null;
@@ -1789,12 +1795,6 @@ export declare class PaymentV1 extends BondBaseEntity {
1789
1795
  installmentId: number | null;
1790
1796
  orderId: string | null;
1791
1797
  }
1792
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1793
- paymentPlanId: number;
1794
- paymentDate: Date;
1795
- deletedAt?: Date;
1796
- paymentPlan: ProductPaymentPlan;
1797
- }
1798
1798
  export declare class Price extends OrganizationConnectionBaseEntity {
1799
1799
  productId: number;
1800
1800
  product: Product;
@@ -1876,6 +1876,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1876
1876
  durationDays?: number;
1877
1877
  level?: ProductPackageLevelEnum;
1878
1878
  }
1879
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1880
+ productId: number;
1881
+ maxMonths?: number;
1882
+ dayOfMonth?: number;
1883
+ name: string;
1884
+ deletedAt?: Date;
1885
+ schedule: PaymentPlanSchedule[];
1886
+ product?: Product;
1887
+ }
1879
1888
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1880
1889
  productId: number;
1881
1890
  resourceId: number;
@@ -1895,15 +1904,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1895
1904
  productId: number;
1896
1905
  variantId: number;
1897
1906
  }
1898
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1899
- productId: number;
1900
- maxMonths?: number;
1901
- dayOfMonth?: number;
1902
- name: string;
1903
- deletedAt?: Date;
1904
- schedule: PaymentPlanSchedule[];
1905
- product?: Product;
1906
- }
1907
1907
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1908
1908
  productId: number;
1909
1909
  customerId: number;
@@ -2034,6 +2034,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2034
2034
  product?: Product;
2035
2035
  event?: Event;
2036
2036
  }
2037
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2038
+ title: string | null;
2039
+ answerTitle: AnswerTitle;
2040
+ }
2037
2041
  export declare class Questions extends BondBaseEntity {
2038
2042
  questionType: string | null;
2039
2043
  ordinal: number | null;
@@ -2064,10 +2068,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2064
2068
  closeTime?: string;
2065
2069
  deletedAt?: Date;
2066
2070
  }
2067
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2068
- title: string | null;
2069
- answerTitle: AnswerTitle;
2070
- }
2071
2071
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2072
2072
  name?: string;
2073
2073
  description?: string;
@@ -2188,6 +2188,10 @@ export declare class SeasonTeam extends BondBaseEntity {
2188
2188
  metaData: any | null;
2189
2189
  team: Team;
2190
2190
  }
2191
+ export declare class SpacesDependency extends BondBaseEntity {
2192
+ blockingSpaceId: number;
2193
+ blockedSpaceId: number;
2194
+ }
2191
2195
  export declare class Station extends OrganizationConnectionBaseEntity {
2192
2196
  name: string;
2193
2197
  facilityId: number;
@@ -2199,10 +2203,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2199
2203
  subcategories: Subcategory[];
2200
2204
  shifts?: Shift[];
2201
2205
  }
2202
- export declare class SpacesDependency extends BondBaseEntity {
2203
- blockingSpaceId: number;
2204
- blockedSpaceId: number;
2205
- }
2206
2206
  export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2207
2207
  stationId: number;
2208
2208
  subcategoryId: number;
@@ -2310,6 +2310,12 @@ export declare class User extends BondBaseEntity {
2310
2310
  orderNotes: OrderNote[];
2311
2311
  invoiceNotes: InvoiceNote[];
2312
2312
  }
2313
+ export declare class UserAuthorizations extends BondBaseEntity {
2314
+ entityId: number | null;
2315
+ userId: number | null;
2316
+ entityType: UserAuthorizationsTypeEnum;
2317
+ user: User;
2318
+ }
2313
2319
  export declare class UserInFamilyAccount extends BondBaseEntity {
2314
2320
  familyAccountId: number;
2315
2321
  userId: number;
@@ -2323,12 +2329,6 @@ export declare class UsersInGroup extends BondBaseEntity {
2323
2329
  userId: number;
2324
2330
  deletedAt?: Date;
2325
2331
  }
2326
- export declare class UserAuthorizations extends BondBaseEntity {
2327
- entityId: number | null;
2328
- userId: number | null;
2329
- entityType: UserAuthorizationsTypeEnum;
2330
- user: User;
2331
- }
2332
2332
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2333
2333
  name: string;
2334
2334
  variants: Variant[];
@@ -3253,6 +3253,41 @@ export declare class AddFamilyDto {
3253
3253
  parents: AddImportedCustomerDto[];
3254
3254
  children: AddImportedCustomerDto[];
3255
3255
  }
3256
+ export declare enum ImportPaymentTypeEnum {
3257
+ CREDIT_CARD = "card",
3258
+ ACH = "ach",
3259
+ CASH = "cash",
3260
+ CHECK = "check",
3261
+ CARD_ON_TERMINAL = "card-on-terminal",
3262
+ OTHER = "other"
3263
+ }
3264
+ export declare class ImportedInvoiceLineDto {
3265
+ invoiceID?: string;
3266
+ description: string;
3267
+ createdDate: string;
3268
+ createdTime: string;
3269
+ quantity: string;
3270
+ price: string;
3271
+ total: string;
3272
+ customerID: string;
3273
+ resourceType: string;
3274
+ resourceID: string;
3275
+ }
3276
+ export declare class ImportedInvoiceDto {
3277
+ customerId?: string;
3278
+ total?: string;
3279
+ amountDue?: string;
3280
+ payments?: ImportedPaymentDto[];
3281
+ lines: any;
3282
+ }
3283
+ export declare class ImportedPaymentDto {
3284
+ invoiceID: string;
3285
+ type: ImportPaymentTypeEnum;
3286
+ description: string;
3287
+ paid: string;
3288
+ date: string;
3289
+ time: string;
3290
+ }
3256
3291
  export declare class ProductIdsDto {
3257
3292
  productIds?: number[];
3258
3293
  }
@@ -3333,41 +3368,6 @@ export declare class MatchParticipants extends BondBaseEntity {
3333
3368
  score: number | null;
3334
3369
  gameSlotId: number | null;
3335
3370
  }
3336
- export declare enum ImportPaymentTypeEnum {
3337
- CREDIT_CARD = "card",
3338
- ACH = "ach",
3339
- CASH = "cash",
3340
- CHECK = "check",
3341
- CARD_ON_TERMINAL = "card-on-terminal",
3342
- OTHER = "other"
3343
- }
3344
- export declare class ImportedInvoiceLineDto {
3345
- invoiceID?: string;
3346
- description: string;
3347
- createdDate: string;
3348
- createdTime: string;
3349
- quantity: string;
3350
- price: string;
3351
- total: string;
3352
- customerID: string;
3353
- resourceType: string;
3354
- resourceID: string;
3355
- }
3356
- export declare class ImportedInvoiceDto {
3357
- customerId?: string;
3358
- total?: string;
3359
- amountDue?: string;
3360
- payments?: ImportedPaymentDto[];
3361
- lines: any;
3362
- }
3363
- export declare class ImportedPaymentDto {
3364
- invoiceID: string;
3365
- type: ImportPaymentTypeEnum;
3366
- description: string;
3367
- paid: string;
3368
- date: string;
3369
- time: string;
3370
- }
3371
3371
  export declare class Matches extends BondBaseEntity {
3372
3372
  eventId: number | null;
3373
3373
  status: number | null;
@@ -3623,95 +3623,6 @@ export declare class VoidLineItemDto {
3623
3623
  isEdit?: boolean;
3624
3624
  amount?: number;
3625
3625
  }
3626
- export declare class ChangeRolePermissionsDto {
3627
- permissionIds: number[];
3628
- }
3629
- export declare class CreateRoleDto {
3630
- name: string;
3631
- }
3632
- export declare class Permission extends BondBaseEntity {
3633
- name: string;
3634
- deletedAt?: Date;
3635
- }
3636
- export declare class Role extends OrganizationConnectionBaseEntity {
3637
- name: string;
3638
- deletedAt?: Date;
3639
- permissions: Permission[];
3640
- usersRoles: UserRole[];
3641
- }
3642
- export declare class UserRole extends OrganizationConnectionBaseEntity {
3643
- deletedAt?: Date;
3644
- userId: number;
3645
- roleId: number;
3646
- role: Role;
3647
- user: User;
3648
- }
3649
- export declare class CloseShiftDto {
3650
- closingCashAmount: number;
3651
- }
3652
- export declare class FindShiftsByIdsDto {
3653
- shiftIds: number[];
3654
- }
3655
- export declare class FindShiftsFiltersDto {
3656
- statuses?: string;
3657
- stationIds?: string;
3658
- openingUsersIds?: string;
3659
- closingUsersIds?: string;
3660
- closingManagersIds?: string;
3661
- reconcilingUsersIds?: string;
3662
- startDate?: Date;
3663
- endDate?: Date;
3664
- }
3665
- export declare class FindShiftsFormattedFilters {
3666
- statuses?: string[];
3667
- stationIds?: number[];
3668
- openingUsersIds?: number[];
3669
- closingUsersIds?: number[];
3670
- closingManagersIds?: number[];
3671
- reconcilingUsersIds?: number[];
3672
- startDate?: Date;
3673
- endDate?: Date;
3674
- }
3675
- export declare class ShiftManagementClosingAmount {
3676
- shiftId: number;
3677
- managementClosingCashAmount: number;
3678
- }
3679
- export declare class ManagementClosingOfShiftsDto {
3680
- managementClosingData: ShiftManagementClosingAmount[];
3681
- }
3682
- export declare class OpenShiftDto {
3683
- openingCashAmount: number;
3684
- stationId: number;
3685
- }
3686
- export declare class Shift extends OrganizationConnectionBaseEntity {
3687
- stationId: number;
3688
- station?: Station;
3689
- status: ShiftStatusEnum;
3690
- openingUserId: number;
3691
- openingCashAmount: number;
3692
- openingDate: string;
3693
- openingTime: string;
3694
- closingUserId?: number;
3695
- closingCashAmount?: number;
3696
- closingDate?: string;
3697
- closingTime?: string;
3698
- closingManagerId?: number;
3699
- managementClosingCashAmount?: number;
3700
- managementClosingDate?: string;
3701
- managementClosingTime?: string;
3702
- reconcilingUserId?: number;
3703
- reconciliationAmount?: number;
3704
- reconcilingDate?: string;
3705
- reconcilingTime?: string;
3706
- reconciliationOrderId?: number;
3707
- deletedAt?: Date;
3708
- sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
3709
- currentCashDifference?: number;
3710
- openingUser?: User;
3711
- closingUser?: User;
3712
- closingManager?: User;
3713
- reconcilingUser?: User;
3714
- }
3715
3626
  export declare class LineItemDto {
3716
3627
  id?: number;
3717
3628
  orderId?: number;
@@ -4224,3 +4135,92 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4224
4135
  changeLineItems?: LineItems[];
4225
4136
  updatedLineItem?: LineItems;
4226
4137
  }
4138
+ export declare class ChangeRolePermissionsDto {
4139
+ permissionIds: number[];
4140
+ }
4141
+ export declare class CreateRoleDto {
4142
+ name: string;
4143
+ }
4144
+ export declare class Permission extends BondBaseEntity {
4145
+ name: string;
4146
+ deletedAt?: Date;
4147
+ }
4148
+ export declare class Role extends OrganizationConnectionBaseEntity {
4149
+ name: string;
4150
+ deletedAt?: Date;
4151
+ permissions: Permission[];
4152
+ usersRoles: UserRole[];
4153
+ }
4154
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
4155
+ deletedAt?: Date;
4156
+ userId: number;
4157
+ roleId: number;
4158
+ role: Role;
4159
+ user: User;
4160
+ }
4161
+ export declare class CloseShiftDto {
4162
+ closingCashAmount: number;
4163
+ }
4164
+ export declare class FindShiftsByIdsDto {
4165
+ shiftIds: number[];
4166
+ }
4167
+ export declare class FindShiftsFiltersDto {
4168
+ statuses?: string;
4169
+ stationIds?: string;
4170
+ openingUsersIds?: string;
4171
+ closingUsersIds?: string;
4172
+ closingManagersIds?: string;
4173
+ reconcilingUsersIds?: string;
4174
+ startDate?: Date;
4175
+ endDate?: Date;
4176
+ }
4177
+ export declare class FindShiftsFormattedFilters {
4178
+ statuses?: string[];
4179
+ stationIds?: number[];
4180
+ openingUsersIds?: number[];
4181
+ closingUsersIds?: number[];
4182
+ closingManagersIds?: number[];
4183
+ reconcilingUsersIds?: number[];
4184
+ startDate?: Date;
4185
+ endDate?: Date;
4186
+ }
4187
+ export declare class ShiftManagementClosingAmount {
4188
+ shiftId: number;
4189
+ managementClosingCashAmount: number;
4190
+ }
4191
+ export declare class ManagementClosingOfShiftsDto {
4192
+ managementClosingData: ShiftManagementClosingAmount[];
4193
+ }
4194
+ export declare class OpenShiftDto {
4195
+ openingCashAmount: number;
4196
+ stationId: number;
4197
+ }
4198
+ export declare class Shift extends OrganizationConnectionBaseEntity {
4199
+ stationId: number;
4200
+ station?: Station;
4201
+ status: ShiftStatusEnum;
4202
+ openingUserId: number;
4203
+ openingCashAmount: number;
4204
+ openingDate: string;
4205
+ openingTime: string;
4206
+ closingUserId?: number;
4207
+ closingCashAmount?: number;
4208
+ closingDate?: string;
4209
+ closingTime?: string;
4210
+ closingManagerId?: number;
4211
+ managementClosingCashAmount?: number;
4212
+ managementClosingDate?: string;
4213
+ managementClosingTime?: string;
4214
+ reconcilingUserId?: number;
4215
+ reconciliationAmount?: number;
4216
+ reconcilingDate?: string;
4217
+ reconcilingTime?: string;
4218
+ reconciliationOrderId?: number;
4219
+ deletedAt?: Date;
4220
+ sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4221
+ currentCashDifference?: number;
4222
+ openingUser?: User;
4223
+ closingUser?: User;
4224
+ closingManager?: User;
4225
+ reconcilingUser?: User;
4226
+ }