@bondsports/types 0.0.70 → 0.0.73
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 +328 -327
- 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,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
|
}
|
|
@@ -862,19 +660,221 @@ export declare class createRentalProductAddonDto {
|
|
|
862
660
|
isMandatory: boolean;
|
|
863
661
|
level: ProductPackageLevelEnum;
|
|
864
662
|
}
|
|
865
|
-
export declare class createProductAvailabilityTimesDto {
|
|
866
|
-
availabilityStartDate?: string;
|
|
867
|
-
availabilityEndDate?: string;
|
|
868
|
-
daysOfWeek: number[];
|
|
869
|
-
startTime: string;
|
|
870
|
-
endTime: string;
|
|
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;
|
|
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[];
|
|
871
870
|
}
|
|
872
|
-
export declare class
|
|
871
|
+
export declare class MoveParticipantDto {
|
|
872
|
+
userId: number;
|
|
873
|
+
oldProductId: number;
|
|
874
|
+
newProductId: number;
|
|
875
|
+
moveType: 'session' | 'segment';
|
|
873
876
|
resourceId: number;
|
|
874
|
-
|
|
875
|
-
}
|
|
876
|
-
export declare class archiveDto {
|
|
877
|
-
isArchive: boolean;
|
|
877
|
+
orderId: number;
|
|
878
878
|
}
|
|
879
879
|
export declare class FindProgramsByOrganizationIdDto {
|
|
880
880
|
organizationId: number;
|
|
@@ -1246,12 +1246,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1246
1246
|
order: Order;
|
|
1247
1247
|
invoice: Invoice;
|
|
1248
1248
|
}
|
|
1249
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
-
customerId?: number;
|
|
1251
|
-
description: string;
|
|
1252
|
-
pinToTop?: boolean;
|
|
1253
|
-
customer: Customer;
|
|
1254
|
-
}
|
|
1255
1249
|
export declare class Division extends BondBaseEntity {
|
|
1256
1250
|
name: string;
|
|
1257
1251
|
ordinal?: number;
|
|
@@ -1266,6 +1260,12 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1266
1260
|
phoneNumber: string | null;
|
|
1267
1261
|
customer: Customer;
|
|
1268
1262
|
}
|
|
1263
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1264
|
+
customerId?: number;
|
|
1265
|
+
description: string;
|
|
1266
|
+
pinToTop?: boolean;
|
|
1267
|
+
customer: Customer;
|
|
1268
|
+
}
|
|
1269
1269
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
1270
|
name: string | null;
|
|
1271
1271
|
}
|
|
@@ -1704,15 +1704,6 @@ 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
|
-
}
|
|
1716
1707
|
export declare class Order extends BondBaseEntity {
|
|
1717
1708
|
orderId: string | null;
|
|
1718
1709
|
price: number | null;
|
|
@@ -1737,6 +1728,15 @@ export declare class Order extends BondBaseEntity {
|
|
|
1737
1728
|
orderNotes: OrderNote[];
|
|
1738
1729
|
slots: Slot[];
|
|
1739
1730
|
}
|
|
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;
|
|
@@ -1810,6 +1810,7 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1810
1810
|
deletedAt?: Date;
|
|
1811
1811
|
discountMethod?: DiscountMethodsEnum;
|
|
1812
1812
|
discountValue?: number;
|
|
1813
|
+
taxIncludedPrice?: number;
|
|
1813
1814
|
}
|
|
1814
1815
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1815
1816
|
name: string;
|
|
@@ -2253,15 +2254,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2253
2254
|
gender: number | null;
|
|
2254
2255
|
questionnaireId: number | null;
|
|
2255
2256
|
}
|
|
2256
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2257
|
-
email: string;
|
|
2258
|
-
teamId: number;
|
|
2259
|
-
invitedUserId?: number;
|
|
2260
|
-
userCreatorId: number;
|
|
2261
|
-
token: string;
|
|
2262
|
-
tokenExpirationDate: Date;
|
|
2263
|
-
isUsed: boolean;
|
|
2264
|
-
}
|
|
2265
2257
|
export declare class TeamMember extends BondBaseEntity {
|
|
2266
2258
|
teamId: number | null;
|
|
2267
2259
|
userId: number | null;
|
|
@@ -2310,6 +2302,15 @@ export declare class User extends BondBaseEntity {
|
|
|
2310
2302
|
orderNotes: OrderNote[];
|
|
2311
2303
|
invoiceNotes: InvoiceNote[];
|
|
2312
2304
|
}
|
|
2305
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2306
|
+
email: string;
|
|
2307
|
+
teamId: number;
|
|
2308
|
+
invitedUserId?: number;
|
|
2309
|
+
userCreatorId: number;
|
|
2310
|
+
token: string;
|
|
2311
|
+
tokenExpirationDate: Date;
|
|
2312
|
+
isUsed: boolean;
|
|
2313
|
+
}
|
|
2313
2314
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
2315
|
entityId: number | null;
|
|
2315
2316
|
userId: number | null;
|
|
@@ -3239,6 +3240,41 @@ export declare class ColumnNumericTransformer {
|
|
|
3239
3240
|
from(data: string): number;
|
|
3240
3241
|
}
|
|
3241
3242
|
export declare function convertToNumber(data: string): number;
|
|
3243
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3244
|
+
CREDIT_CARD = "card",
|
|
3245
|
+
ACH = "ach",
|
|
3246
|
+
CASH = "cash",
|
|
3247
|
+
CHECK = "check",
|
|
3248
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3249
|
+
OTHER = "other"
|
|
3250
|
+
}
|
|
3251
|
+
export declare class ImportedInvoiceLineDto {
|
|
3252
|
+
invoiceID?: string;
|
|
3253
|
+
description: string;
|
|
3254
|
+
createdDate: string;
|
|
3255
|
+
createdTime: string;
|
|
3256
|
+
quantity: string;
|
|
3257
|
+
price: string;
|
|
3258
|
+
total: string;
|
|
3259
|
+
customerID: string;
|
|
3260
|
+
resourceType: string;
|
|
3261
|
+
resourceID: string;
|
|
3262
|
+
}
|
|
3263
|
+
export declare class ImportedInvoiceDto {
|
|
3264
|
+
customerId?: string;
|
|
3265
|
+
total?: string;
|
|
3266
|
+
amountDue?: string;
|
|
3267
|
+
payments?: ImportedPaymentDto[];
|
|
3268
|
+
lines: any;
|
|
3269
|
+
}
|
|
3270
|
+
export declare class ImportedPaymentDto {
|
|
3271
|
+
invoiceID: string;
|
|
3272
|
+
type: ImportPaymentTypeEnum;
|
|
3273
|
+
description: string;
|
|
3274
|
+
paid: string;
|
|
3275
|
+
date: string;
|
|
3276
|
+
time: string;
|
|
3277
|
+
}
|
|
3242
3278
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3243
3279
|
name?: string;
|
|
3244
3280
|
genderStr?: string;
|
|
@@ -3269,6 +3305,19 @@ export declare class PunchPassDto {
|
|
|
3269
3305
|
BondSessionID: number;
|
|
3270
3306
|
ProductID: number;
|
|
3271
3307
|
}
|
|
3308
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3309
|
+
entityType: string;
|
|
3310
|
+
entityId: number;
|
|
3311
|
+
}
|
|
3312
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3313
|
+
matchId: number | null;
|
|
3314
|
+
ordinal: number | null;
|
|
3315
|
+
outcomeOrdinal: number | null;
|
|
3316
|
+
resultMetaData: any | null;
|
|
3317
|
+
points: number | null;
|
|
3318
|
+
score: number | null;
|
|
3319
|
+
gameSlotId: number | null;
|
|
3320
|
+
}
|
|
3272
3321
|
export declare class ImportedSlotProductDto {
|
|
3273
3322
|
slotID?: string;
|
|
3274
3323
|
name?: string;
|
|
@@ -3320,54 +3369,6 @@ export declare class ImportedReservationDto {
|
|
|
3320
3369
|
slots?: ImportedSlotDto[];
|
|
3321
3370
|
addons?: ImportedSlotProductDto[];
|
|
3322
3371
|
}
|
|
3323
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3324
|
-
entityType: string;
|
|
3325
|
-
entityId: number;
|
|
3326
|
-
}
|
|
3327
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3328
|
-
matchId: number | null;
|
|
3329
|
-
ordinal: number | null;
|
|
3330
|
-
outcomeOrdinal: number | null;
|
|
3331
|
-
resultMetaData: any | null;
|
|
3332
|
-
points: number | null;
|
|
3333
|
-
score: number | null;
|
|
3334
|
-
gameSlotId: number | null;
|
|
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
|
-
}
|
|
3371
3372
|
export declare class Matches extends BondBaseEntity {
|
|
3372
3373
|
eventId: number | null;
|
|
3373
3374
|
status: number | null;
|
|
@@ -3470,10 +3471,6 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3470
3471
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
3472
|
mainAdminUserId?: number;
|
|
3472
3473
|
}
|
|
3473
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3474
|
-
organisationId: number | null;
|
|
3475
|
-
userId: number | null;
|
|
3476
|
-
}
|
|
3477
3474
|
export declare class CustomerIdDto {
|
|
3478
3475
|
customerId: number;
|
|
3479
3476
|
}
|
|
@@ -3591,6 +3588,16 @@ export declare class SendRequestDto {
|
|
|
3591
3588
|
sendToEmail: string;
|
|
3592
3589
|
memo?: string;
|
|
3593
3590
|
}
|
|
3591
|
+
export declare class VoidDto {
|
|
3592
|
+
lineItems: VoidLineItemDto[];
|
|
3593
|
+
meta?: RevertMetaDto;
|
|
3594
|
+
}
|
|
3595
|
+
export declare class VoidLineItemDto {
|
|
3596
|
+
id: number;
|
|
3597
|
+
quantity?: number;
|
|
3598
|
+
isEdit?: boolean;
|
|
3599
|
+
amount?: number;
|
|
3600
|
+
}
|
|
3594
3601
|
export declare class RefundDto {
|
|
3595
3602
|
orderId: number;
|
|
3596
3603
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -3613,15 +3620,9 @@ export declare class RefundLineItemAmountDto {
|
|
|
3613
3620
|
id: number;
|
|
3614
3621
|
refundAmount: number;
|
|
3615
3622
|
}
|
|
3616
|
-
export declare class
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
}
|
|
3620
|
-
export declare class VoidLineItemDto {
|
|
3621
|
-
id: number;
|
|
3622
|
-
quantity?: number;
|
|
3623
|
-
isEdit?: boolean;
|
|
3624
|
-
amount?: number;
|
|
3623
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3624
|
+
organisationId: number | null;
|
|
3625
|
+
userId: number | null;
|
|
3625
3626
|
}
|
|
3626
3627
|
export declare class LineItemDto {
|
|
3627
3628
|
id?: number;
|
|
@@ -3656,6 +3657,14 @@ export declare class MaintenanceDto {
|
|
|
3656
3657
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3657
3658
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3658
3659
|
}
|
|
3660
|
+
export declare class PurchasedResourceDto {
|
|
3661
|
+
resourceId?: number;
|
|
3662
|
+
resourceType: ResourceNameTypeEnum;
|
|
3663
|
+
startDate?: string;
|
|
3664
|
+
startTime?: string;
|
|
3665
|
+
endDate?: string;
|
|
3666
|
+
endTime?: string;
|
|
3667
|
+
}
|
|
3659
3668
|
export declare class OrderDto {
|
|
3660
3669
|
orderId?: string | null;
|
|
3661
3670
|
organizationId: number;
|
|
@@ -3697,14 +3706,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3697
3706
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3698
3707
|
segments: SegmentDto[];
|
|
3699
3708
|
}
|
|
3700
|
-
export declare class PurchasedResourceDto {
|
|
3701
|
-
resourceId?: number;
|
|
3702
|
-
resourceType: ResourceNameTypeEnum;
|
|
3703
|
-
startDate?: string;
|
|
3704
|
-
startTime?: string;
|
|
3705
|
-
endDate?: string;
|
|
3706
|
-
endTime?: string;
|
|
3707
|
-
}
|
|
3708
3709
|
export declare class ReservationDto {
|
|
3709
3710
|
id?: number;
|
|
3710
3711
|
organizationId?: number;
|
|
@@ -3935,6 +3936,24 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3935
3936
|
slotDurationType: SlotDurationTypeEnum;
|
|
3936
3937
|
addonsIds?: number[];
|
|
3937
3938
|
}
|
|
3939
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3940
|
+
parentId: number;
|
|
3941
|
+
parentType: AddonParentTypeEnum;
|
|
3942
|
+
productId: number;
|
|
3943
|
+
product?: Product;
|
|
3944
|
+
quantity: number;
|
|
3945
|
+
unitPrice: number;
|
|
3946
|
+
totalPrice: number;
|
|
3947
|
+
approvalStatus: ReservationStatusEnum;
|
|
3948
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3949
|
+
level?: ProductPackageLevelEnum;
|
|
3950
|
+
resourceId?: number;
|
|
3951
|
+
resource?: Resource;
|
|
3952
|
+
orderId?: number;
|
|
3953
|
+
order?: Order;
|
|
3954
|
+
productUserId?: number;
|
|
3955
|
+
productUser?: ProductsUsers;
|
|
3956
|
+
}
|
|
3938
3957
|
declare class AnswerDto {
|
|
3939
3958
|
questionId: number;
|
|
3940
3959
|
value: any;
|
|
@@ -3972,24 +3991,6 @@ export declare class BookingV1Dto {
|
|
|
3972
3991
|
cashPayment: boolean;
|
|
3973
3992
|
requestOnly: boolean;
|
|
3974
3993
|
}
|
|
3975
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3976
|
-
parentId: number;
|
|
3977
|
-
parentType: AddonParentTypeEnum;
|
|
3978
|
-
productId: number;
|
|
3979
|
-
product?: Product;
|
|
3980
|
-
quantity: number;
|
|
3981
|
-
unitPrice: number;
|
|
3982
|
-
totalPrice: number;
|
|
3983
|
-
approvalStatus: ReservationStatusEnum;
|
|
3984
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3985
|
-
level?: ProductPackageLevelEnum;
|
|
3986
|
-
resourceId?: number;
|
|
3987
|
-
resource?: Resource;
|
|
3988
|
-
orderId?: number;
|
|
3989
|
-
order?: Order;
|
|
3990
|
-
productUserId?: number;
|
|
3991
|
-
productUser?: ProductsUsers;
|
|
3992
|
-
}
|
|
3993
3994
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3994
3995
|
deletedAt?: Date;
|
|
3995
3996
|
reservationId: number;
|
|
@@ -4158,6 +4159,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4158
4159
|
role: Role;
|
|
4159
4160
|
user: User;
|
|
4160
4161
|
}
|
|
4162
|
+
export declare class CloseShiftDto {
|
|
4163
|
+
closingCashAmount: number;
|
|
4164
|
+
}
|
|
4161
4165
|
export declare class FindShiftsByIdsDto {
|
|
4162
4166
|
shiftIds: number[];
|
|
4163
4167
|
}
|
|
@@ -4221,6 +4225,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4221
4225
|
closingManager?: User;
|
|
4222
4226
|
reconcilingUser?: User;
|
|
4223
4227
|
}
|
|
4224
|
-
export declare class CloseShiftDto {
|
|
4225
|
-
closingCashAmount: number;
|
|
4226
|
-
}
|