@bondsports/types 0.0.69 → 0.0.70
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 +331 -331
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -454,6 +454,208 @@ 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
|
+
}
|
|
457
659
|
export declare class FindByProductIdDto {
|
|
458
660
|
productId: number;
|
|
459
661
|
}
|
|
@@ -671,210 +873,8 @@ export declare class createResourceDto {
|
|
|
671
873
|
resourceId: number;
|
|
672
874
|
resourceType: ResourceNameTypeEnum;
|
|
673
875
|
}
|
|
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;
|
|
777
|
-
}
|
|
778
|
-
export declare class UpdateProgramSeasonStatusDto {
|
|
779
|
-
seasonId: number;
|
|
780
|
-
status: PublishingStatusEnum;
|
|
781
|
-
}
|
|
782
|
-
export declare class blockedDatesDto {
|
|
783
|
-
name: string;
|
|
784
|
-
startDate: Date;
|
|
785
|
-
endDate: Date;
|
|
786
|
-
}
|
|
787
|
-
export declare class ActivityTimesDto {
|
|
788
|
-
dayOfWeek: number;
|
|
789
|
-
open: string;
|
|
790
|
-
close: string;
|
|
791
|
-
}
|
|
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[];
|
|
812
|
-
}
|
|
813
|
-
export declare class ShallowUpdateSubSeasonDto {
|
|
814
|
-
id: number;
|
|
815
|
-
name: string;
|
|
816
|
-
}
|
|
817
|
-
export declare class SpaceResourcePairDto {
|
|
818
|
-
resourceType: ResourceNameTypeEnum;
|
|
819
|
-
resourceId: number;
|
|
820
|
-
spacesIds: number[];
|
|
821
|
-
publicNotes?: string;
|
|
822
|
-
privateNotes?: string;
|
|
823
|
-
minutesBeforeSlot?: number;
|
|
824
|
-
minutesAfterSlot?: number;
|
|
825
|
-
}
|
|
826
|
-
export declare class BulkSpaceResourceAllocationDto {
|
|
827
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
828
|
-
organizationId: number;
|
|
829
|
-
}
|
|
830
|
-
export declare class SingleSpaceAllocationByTimesDto {
|
|
831
|
-
date: string;
|
|
832
|
-
startTime: string;
|
|
833
|
-
endTime: string;
|
|
834
|
-
spaceId: number;
|
|
835
|
-
publicNotes?: string;
|
|
836
|
-
slotType?: SlotTypeEnum;
|
|
837
|
-
}
|
|
838
|
-
export declare class SpaceAllocationsByTimesDto {
|
|
839
|
-
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
840
|
-
}
|
|
841
|
-
export declare class UpdateSeasonDatesDto {
|
|
842
|
-
startDate: Date;
|
|
843
|
-
endDate: Date;
|
|
844
|
-
}
|
|
845
|
-
export declare class MoveAttendeeDto {
|
|
846
|
-
userId: number;
|
|
847
|
-
resourceType: ResourceNameTypeEnum;
|
|
848
|
-
fromResourceIds: number[];
|
|
849
|
-
toResourceIds: number[];
|
|
850
|
-
}
|
|
851
|
-
export declare class UpdateSeasonRegistrationDatesDto {
|
|
852
|
-
registrationPeriods: UpdateSeasonDatesDto[];
|
|
853
|
-
}
|
|
854
|
-
export declare class RegistrationDatesDto {
|
|
855
|
-
registrationStartDate: Date;
|
|
856
|
-
registrationEndDate: Date;
|
|
857
|
-
earlyRegistrationStartDate?: Date;
|
|
858
|
-
earlyRegistrationEndDate?: Date;
|
|
859
|
-
lateRegistrationStartDate?: Date;
|
|
860
|
-
lateRegistrationEndDate?: Date;
|
|
861
|
-
}
|
|
862
|
-
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
863
|
-
closeRegistrationPeriodValue?: number;
|
|
864
|
-
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
865
|
-
closeRegistrationSpecTime?: string;
|
|
866
|
-
openRegistrationPeriodValue?: number;
|
|
867
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
-
openRegistrationSpecTime?: string;
|
|
869
|
-
productsIdsToUpdate?: number[];
|
|
870
|
-
}
|
|
871
|
-
export declare class MoveParticipantDto {
|
|
872
|
-
userId: number;
|
|
873
|
-
oldProductId: number;
|
|
874
|
-
newProductId: number;
|
|
875
|
-
moveType: 'session' | 'segment';
|
|
876
|
-
resourceId: number;
|
|
877
|
-
orderId: number;
|
|
876
|
+
export declare class archiveDto {
|
|
877
|
+
isArchive: boolean;
|
|
878
878
|
}
|
|
879
879
|
export declare class FindProgramsByOrganizationIdDto {
|
|
880
880
|
organizationId: number;
|
|
@@ -1704,6 +1704,15 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1704
1704
|
deletedAt?: Date;
|
|
1705
1705
|
facility: Facility;
|
|
1706
1706
|
}
|
|
1707
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1708
|
+
content: string;
|
|
1709
|
+
creatingUserId: number;
|
|
1710
|
+
user: User;
|
|
1711
|
+
isPublic: boolean;
|
|
1712
|
+
deletedAt: Date;
|
|
1713
|
+
orderId: number;
|
|
1714
|
+
order: Order;
|
|
1715
|
+
}
|
|
1707
1716
|
export declare class Order extends BondBaseEntity {
|
|
1708
1717
|
orderId: string | null;
|
|
1709
1718
|
price: number | null;
|
|
@@ -1728,15 +1737,6 @@ export declare class Order extends BondBaseEntity {
|
|
|
1728
1737
|
orderNotes: OrderNote[];
|
|
1729
1738
|
slots: Slot[];
|
|
1730
1739
|
}
|
|
1731
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
-
content: string;
|
|
1733
|
-
creatingUserId: number;
|
|
1734
|
-
user: User;
|
|
1735
|
-
isPublic: boolean;
|
|
1736
|
-
deletedAt: Date;
|
|
1737
|
-
orderId: number;
|
|
1738
|
-
order: Order;
|
|
1739
|
-
}
|
|
1740
1740
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1741
1741
|
orderId: number;
|
|
1742
1742
|
invoiceId: number;
|
|
@@ -1885,10 +1885,6 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
|
|
|
1885
1885
|
schedule: PaymentPlanSchedule[];
|
|
1886
1886
|
product?: Product;
|
|
1887
1887
|
}
|
|
1888
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1889
|
-
productId: number;
|
|
1890
|
-
variantTitleId: number;
|
|
1891
|
-
}
|
|
1892
1888
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1893
1889
|
productId: number;
|
|
1894
1890
|
resourceId: number;
|
|
@@ -1900,6 +1896,10 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1900
1896
|
productPackages: ProductPackage[];
|
|
1901
1897
|
resourceName?: string;
|
|
1902
1898
|
}
|
|
1899
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1900
|
+
productId: number;
|
|
1901
|
+
variantTitleId: number;
|
|
1902
|
+
}
|
|
1903
1903
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1904
1904
|
productId: number;
|
|
1905
1905
|
variantId: 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;
|
|
@@ -2048,10 +2052,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2048
2052
|
ownerId: number | null;
|
|
2049
2053
|
questionnaireId: number | null;
|
|
2050
2054
|
}
|
|
2051
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2052
|
-
title: string | null;
|
|
2053
|
-
answerTitle: AnswerTitle;
|
|
2054
|
-
}
|
|
2055
2055
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
2056
|
reason: string;
|
|
2057
2057
|
ordinal: number;
|
|
@@ -3253,41 +3253,6 @@ 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
|
-
}
|
|
3291
3256
|
export declare class ProductIdsDto {
|
|
3292
3257
|
productIds?: number[];
|
|
3293
3258
|
}
|
|
@@ -3355,10 +3320,6 @@ export declare class ImportedReservationDto {
|
|
|
3355
3320
|
slots?: ImportedSlotDto[];
|
|
3356
3321
|
addons?: ImportedSlotProductDto[];
|
|
3357
3322
|
}
|
|
3358
|
-
export declare class Lock extends BondBaseEntity {
|
|
3359
|
-
name: string;
|
|
3360
|
-
locked?: Date;
|
|
3361
|
-
}
|
|
3362
3323
|
export declare class GameSlots extends BondBaseEntity {
|
|
3363
3324
|
entityType: string;
|
|
3364
3325
|
entityId: number;
|
|
@@ -3372,6 +3333,41 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3372
3333
|
score: number | null;
|
|
3373
3334
|
gameSlotId: number | null;
|
|
3374
3335
|
}
|
|
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
|
+
}
|
|
3375
3371
|
export declare class Matches extends BondBaseEntity {
|
|
3376
3372
|
eventId: number | null;
|
|
3377
3373
|
status: number | null;
|
|
@@ -3395,6 +3391,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3395
3391
|
eventId: number | null;
|
|
3396
3392
|
status: number | null;
|
|
3397
3393
|
}
|
|
3394
|
+
export declare class Lock extends BondBaseEntity {
|
|
3395
|
+
name: string;
|
|
3396
|
+
locked?: Date;
|
|
3397
|
+
}
|
|
3398
3398
|
export declare class CreateMonitorConfigDto {
|
|
3399
3399
|
facilityId: number;
|
|
3400
3400
|
name: string;
|
|
@@ -3406,6 +3406,74 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3406
3406
|
code: string;
|
|
3407
3407
|
config?: any;
|
|
3408
3408
|
}
|
|
3409
|
+
export declare class ByOrganizationIdDto {
|
|
3410
|
+
organizationId: number;
|
|
3411
|
+
}
|
|
3412
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3413
|
+
organizationId?: number;
|
|
3414
|
+
}
|
|
3415
|
+
export declare class Organization extends BondBaseEntity {
|
|
3416
|
+
name: string | null;
|
|
3417
|
+
email: string | null;
|
|
3418
|
+
twitter: string | null;
|
|
3419
|
+
facebook: string | null;
|
|
3420
|
+
instagram: string | null;
|
|
3421
|
+
website: string | null;
|
|
3422
|
+
blog: string | null;
|
|
3423
|
+
phoneNumber: string | null;
|
|
3424
|
+
waiverDoc: string | null;
|
|
3425
|
+
about: string | null;
|
|
3426
|
+
tagline: string | null;
|
|
3427
|
+
status: number | null;
|
|
3428
|
+
addressId: number | null;
|
|
3429
|
+
merchantId: number | null;
|
|
3430
|
+
userCreatorId: number | null;
|
|
3431
|
+
parentId: number | null;
|
|
3432
|
+
paymentSettings: object | null;
|
|
3433
|
+
settings: object | null;
|
|
3434
|
+
isClaimed: boolean | null;
|
|
3435
|
+
sports: number[] | null;
|
|
3436
|
+
mainMediaId: number | null;
|
|
3437
|
+
deletedAt: Date | null;
|
|
3438
|
+
organizationActivityTypes: number[] | null;
|
|
3439
|
+
organizationTypes: number[] | null;
|
|
3440
|
+
organizationAudienceTypes: number[] | null;
|
|
3441
|
+
organizationGenders: number[] | null;
|
|
3442
|
+
questionnaireId: number | null;
|
|
3443
|
+
membershipQuestionnaireId: number | null;
|
|
3444
|
+
feeRate: number;
|
|
3445
|
+
feeAddDollarRate: number;
|
|
3446
|
+
achFeeRate: number;
|
|
3447
|
+
achFeeAddDollarRate: number;
|
|
3448
|
+
maxAchFee: number;
|
|
3449
|
+
cashFeeRate: number;
|
|
3450
|
+
cashFeeAddDollarRate: number;
|
|
3451
|
+
terminalFeeRate: number;
|
|
3452
|
+
terminalFeeAddDollarRate: number;
|
|
3453
|
+
checkFeeRate: number;
|
|
3454
|
+
checkFeeAddDollarRate: number;
|
|
3455
|
+
otherFeeRate: number;
|
|
3456
|
+
otherFeeAddDollarRate: number;
|
|
3457
|
+
balanceFeeRate: number;
|
|
3458
|
+
balanceFeeAddDollarRate: number;
|
|
3459
|
+
address: Address;
|
|
3460
|
+
mainMedia: Media;
|
|
3461
|
+
brandings: OrganizationBranding[];
|
|
3462
|
+
brandingsV2?: OrganizationBranding[];
|
|
3463
|
+
}
|
|
3464
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3465
|
+
key?: string;
|
|
3466
|
+
vaule?: string;
|
|
3467
|
+
version: number;
|
|
3468
|
+
organization: Organization;
|
|
3469
|
+
}
|
|
3470
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
|
+
mainAdminUserId?: number;
|
|
3472
|
+
}
|
|
3473
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3474
|
+
organisationId: number | null;
|
|
3475
|
+
userId: number | null;
|
|
3476
|
+
}
|
|
3409
3477
|
export declare class CustomerIdDto {
|
|
3410
3478
|
customerId: number;
|
|
3411
3479
|
}
|
|
@@ -3555,74 +3623,6 @@ export declare class VoidLineItemDto {
|
|
|
3555
3623
|
isEdit?: boolean;
|
|
3556
3624
|
amount?: number;
|
|
3557
3625
|
}
|
|
3558
|
-
export declare class ByOrganizationIdDto {
|
|
3559
|
-
organizationId: number;
|
|
3560
|
-
}
|
|
3561
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3562
|
-
organizationId?: number;
|
|
3563
|
-
}
|
|
3564
|
-
export declare class Organization extends BondBaseEntity {
|
|
3565
|
-
name: string | null;
|
|
3566
|
-
email: string | null;
|
|
3567
|
-
twitter: string | null;
|
|
3568
|
-
facebook: string | null;
|
|
3569
|
-
instagram: string | null;
|
|
3570
|
-
website: string | null;
|
|
3571
|
-
blog: string | null;
|
|
3572
|
-
phoneNumber: string | null;
|
|
3573
|
-
waiverDoc: string | null;
|
|
3574
|
-
about: string | null;
|
|
3575
|
-
tagline: string | null;
|
|
3576
|
-
status: number | null;
|
|
3577
|
-
addressId: number | null;
|
|
3578
|
-
merchantId: number | null;
|
|
3579
|
-
userCreatorId: number | null;
|
|
3580
|
-
parentId: number | null;
|
|
3581
|
-
paymentSettings: object | null;
|
|
3582
|
-
settings: object | null;
|
|
3583
|
-
isClaimed: boolean | null;
|
|
3584
|
-
sports: number[] | null;
|
|
3585
|
-
mainMediaId: number | null;
|
|
3586
|
-
deletedAt: Date | null;
|
|
3587
|
-
organizationActivityTypes: number[] | null;
|
|
3588
|
-
organizationTypes: number[] | null;
|
|
3589
|
-
organizationAudienceTypes: number[] | null;
|
|
3590
|
-
organizationGenders: number[] | null;
|
|
3591
|
-
questionnaireId: number | null;
|
|
3592
|
-
membershipQuestionnaireId: number | null;
|
|
3593
|
-
feeRate: number;
|
|
3594
|
-
feeAddDollarRate: number;
|
|
3595
|
-
achFeeRate: number;
|
|
3596
|
-
achFeeAddDollarRate: number;
|
|
3597
|
-
maxAchFee: number;
|
|
3598
|
-
cashFeeRate: number;
|
|
3599
|
-
cashFeeAddDollarRate: number;
|
|
3600
|
-
terminalFeeRate: number;
|
|
3601
|
-
terminalFeeAddDollarRate: number;
|
|
3602
|
-
checkFeeRate: number;
|
|
3603
|
-
checkFeeAddDollarRate: number;
|
|
3604
|
-
otherFeeRate: number;
|
|
3605
|
-
otherFeeAddDollarRate: number;
|
|
3606
|
-
balanceFeeRate: number;
|
|
3607
|
-
balanceFeeAddDollarRate: number;
|
|
3608
|
-
address: Address;
|
|
3609
|
-
mainMedia: Media;
|
|
3610
|
-
brandings: OrganizationBranding[];
|
|
3611
|
-
brandingsV2?: OrganizationBranding[];
|
|
3612
|
-
}
|
|
3613
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3614
|
-
key?: string;
|
|
3615
|
-
vaule?: string;
|
|
3616
|
-
version: number;
|
|
3617
|
-
organization: Organization;
|
|
3618
|
-
}
|
|
3619
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3620
|
-
mainAdminUserId?: number;
|
|
3621
|
-
}
|
|
3622
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3623
|
-
organisationId: number | null;
|
|
3624
|
-
userId: number | null;
|
|
3625
|
-
}
|
|
3626
3626
|
export declare class LineItemDto {
|
|
3627
3627
|
id?: number;
|
|
3628
3628
|
orderId?: number;
|
|
@@ -4158,9 +4158,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4158
4158
|
role: Role;
|
|
4159
4159
|
user: User;
|
|
4160
4160
|
}
|
|
4161
|
-
export declare class CloseShiftDto {
|
|
4162
|
-
closingCashAmount: number;
|
|
4163
|
-
}
|
|
4164
4161
|
export declare class FindShiftsByIdsDto {
|
|
4165
4162
|
shiftIds: number[];
|
|
4166
4163
|
}
|
|
@@ -4224,3 +4221,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4224
4221
|
closingManager?: User;
|
|
4225
4222
|
reconcilingUser?: User;
|
|
4226
4223
|
}
|
|
4224
|
+
export declare class CloseShiftDto {
|
|
4225
|
+
closingCashAmount: number;
|
|
4226
|
+
}
|