@bondsports/types 0.0.60 → 0.0.63
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 +448 -448
- 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
|
}
|
|
@@ -674,207 +876,49 @@ export declare class createResourceDto {
|
|
|
674
876
|
export declare class archiveDto {
|
|
675
877
|
isArchive: boolean;
|
|
676
878
|
}
|
|
677
|
-
export declare class
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
678
880
|
organizationId: number;
|
|
679
|
-
|
|
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;
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
694
882
|
}
|
|
695
|
-
export declare class
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
696
884
|
programId: number;
|
|
697
885
|
}
|
|
698
|
-
export declare class
|
|
699
|
-
|
|
700
|
-
isFullFetch?: boolean;
|
|
701
|
-
}
|
|
702
|
-
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
886
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
+
programId: number;
|
|
703
888
|
organizationId: number;
|
|
704
889
|
}
|
|
705
|
-
export declare class
|
|
706
|
-
|
|
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;
|
|
890
|
+
export declare class BaseProgramDto {
|
|
891
|
+
type: ProgramTypesEnum;
|
|
730
892
|
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
893
|
sport: SportsEnum;
|
|
753
894
|
minAge: string;
|
|
754
895
|
maxAge: string;
|
|
755
896
|
gender: GenderEnum;
|
|
756
897
|
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
898
|
description?: string;
|
|
796
|
-
|
|
797
|
-
|
|
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[];
|
|
899
|
+
GL?: string;
|
|
900
|
+
status: PublishingStatusEnum;
|
|
828
901
|
organizationId: number;
|
|
902
|
+
userCreatorId: number;
|
|
903
|
+
highlights: ProgramHighlights[];
|
|
904
|
+
longDescription?: string;
|
|
905
|
+
requiredProductIds: number[];
|
|
829
906
|
}
|
|
830
|
-
export declare class
|
|
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[];
|
|
907
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
853
908
|
}
|
|
854
|
-
export declare class
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
earlyRegistrationStartDate?: Date;
|
|
858
|
-
earlyRegistrationEndDate?: Date;
|
|
859
|
-
lateRegistrationStartDate?: Date;
|
|
860
|
-
lateRegistrationEndDate?: Date;
|
|
909
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
+
programId: number;
|
|
911
|
+
mainMediaId: number;
|
|
861
912
|
}
|
|
862
|
-
export declare class
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
closeRegistrationSpecTime?: string;
|
|
866
|
-
openRegistrationPeriodValue?: number;
|
|
867
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
-
openRegistrationSpecTime?: string;
|
|
869
|
-
productsIdsToUpdate?: number[];
|
|
913
|
+
export declare class UpdateProgramStatusDto {
|
|
914
|
+
programId: number;
|
|
915
|
+
status: PublishingStatusEnum;
|
|
870
916
|
}
|
|
871
|
-
export declare class
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
resourceId: number;
|
|
877
|
-
orderId: number;
|
|
917
|
+
export declare class ProgramHighlightDto {
|
|
918
|
+
data: string;
|
|
919
|
+
ordinal: number;
|
|
920
|
+
type: ProgramHighlightTypeEnum;
|
|
921
|
+
title: string;
|
|
878
922
|
}
|
|
879
923
|
export declare class PurchasePaymentDto {
|
|
880
924
|
token: string;
|
|
@@ -954,50 +998,6 @@ export declare class CreateResourceGroupDto {
|
|
|
954
998
|
}
|
|
955
999
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
956
1000
|
}
|
|
957
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
958
|
-
organizationId: number;
|
|
959
|
-
programType?: ProgramTypesEnum;
|
|
960
|
-
}
|
|
961
|
-
export declare class FindProgramByIdDto {
|
|
962
|
-
programId: number;
|
|
963
|
-
}
|
|
964
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
965
|
-
programId: number;
|
|
966
|
-
organizationId: number;
|
|
967
|
-
}
|
|
968
|
-
export declare class BaseProgramDto {
|
|
969
|
-
type: ProgramTypesEnum;
|
|
970
|
-
name: string;
|
|
971
|
-
sport: SportsEnum;
|
|
972
|
-
minAge: string;
|
|
973
|
-
maxAge: string;
|
|
974
|
-
gender: GenderEnum;
|
|
975
|
-
level?: LevelOfPlayEnum[];
|
|
976
|
-
description?: string;
|
|
977
|
-
GL?: string;
|
|
978
|
-
status: PublishingStatusEnum;
|
|
979
|
-
organizationId: number;
|
|
980
|
-
userCreatorId: number;
|
|
981
|
-
highlights: ProgramHighlights[];
|
|
982
|
-
longDescription?: string;
|
|
983
|
-
requiredProductIds: number[];
|
|
984
|
-
}
|
|
985
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
986
|
-
}
|
|
987
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
988
|
-
programId: number;
|
|
989
|
-
mainMediaId: number;
|
|
990
|
-
}
|
|
991
|
-
export declare class UpdateProgramStatusDto {
|
|
992
|
-
programId: number;
|
|
993
|
-
status: PublishingStatusEnum;
|
|
994
|
-
}
|
|
995
|
-
export declare class ProgramHighlightDto {
|
|
996
|
-
data: string;
|
|
997
|
-
ordinal: number;
|
|
998
|
-
type: ProgramHighlightTypeEnum;
|
|
999
|
-
title: string;
|
|
1000
|
-
}
|
|
1001
1001
|
export declare class ResourceDto {
|
|
1002
1002
|
type: ResourceNameTypeEnum;
|
|
1003
1003
|
id: number;
|
|
@@ -1367,10 +1367,6 @@ 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
|
-
}
|
|
1374
1370
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
1371
|
name: string | null;
|
|
1376
1372
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
@@ -1385,9 +1381,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1385
1381
|
plannedDate: Date;
|
|
1386
1382
|
chargedAt?: Date;
|
|
1387
1383
|
}
|
|
1388
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
-
code: string;
|
|
1390
|
-
}
|
|
1391
1384
|
export declare class Group extends BondBaseEntity {
|
|
1392
1385
|
name: string;
|
|
1393
1386
|
description?: string;
|
|
@@ -1422,6 +1415,13 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1422
1415
|
divisionId: number;
|
|
1423
1416
|
deletedAt?: Date;
|
|
1424
1417
|
}
|
|
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,32 +1469,6 @@ 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
|
-
}
|
|
1498
1472
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1499
1473
|
leagueId: number | null;
|
|
1500
1474
|
name: string | null;
|
|
@@ -1539,6 +1513,32 @@ export declare class LeagueSeasonRelations {
|
|
|
1539
1513
|
league?: boolean;
|
|
1540
1514
|
facilities?: boolean;
|
|
1541
1515
|
}
|
|
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,14 +1737,6 @@ 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
|
-
}
|
|
1748
1740
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
1741
|
organizationId: number;
|
|
1750
1742
|
}
|
|
@@ -1765,18 +1757,20 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1765
1757
|
isMandatory: boolean;
|
|
1766
1758
|
productId: number;
|
|
1767
1759
|
}
|
|
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
|
-
}
|
|
1780
1774
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1781
1775
|
userId: number | null;
|
|
1782
1776
|
ownerId: number | null;
|
|
@@ -1795,6 +1789,12 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1795
1789
|
installmentId: number | null;
|
|
1796
1790
|
orderId: string | null;
|
|
1797
1791
|
}
|
|
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,15 +1876,6 @@ 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
|
-
}
|
|
1888
1879
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1889
1880
|
productId: number;
|
|
1890
1881
|
resourceId: number;
|
|
@@ -1904,6 +1895,15 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1904
1895
|
productId: number;
|
|
1905
1896
|
variantId: number;
|
|
1906
1897
|
}
|
|
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,10 +2034,6 @@ 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
|
-
}
|
|
2041
2037
|
export declare class Questions extends BondBaseEntity {
|
|
2042
2038
|
questionType: string | null;
|
|
2043
2039
|
ordinal: number | null;
|
|
@@ -2068,6 +2064,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2068
2064
|
closeTime?: string;
|
|
2069
2065
|
deletedAt?: Date;
|
|
2070
2066
|
}
|
|
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;
|
|
@@ -2128,6 +2128,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2128
2128
|
purchasedResources: PurchasedResource[];
|
|
2129
2129
|
linkSEO: string;
|
|
2130
2130
|
}
|
|
2131
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
|
+
name: string;
|
|
2133
|
+
facilityId: number;
|
|
2134
|
+
parentSlotId: number;
|
|
2135
|
+
childrenSlotIds: number[];
|
|
2136
|
+
deletedAt?: Date;
|
|
2137
|
+
}
|
|
2131
2138
|
export declare class School extends BondBaseEntity {
|
|
2132
2139
|
name: string | null;
|
|
2133
2140
|
alias: string[] | null;
|
|
@@ -2181,10 +2188,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2181
2188
|
metaData: any | null;
|
|
2182
2189
|
team: Team;
|
|
2183
2190
|
}
|
|
2184
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2185
|
-
blockingSpaceId: number;
|
|
2186
|
-
blockedSpaceId: number;
|
|
2187
|
-
}
|
|
2188
2191
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2189
2192
|
name: string;
|
|
2190
2193
|
facilityId: number;
|
|
@@ -2196,6 +2199,10 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2196
2199
|
subcategories: Subcategory[];
|
|
2197
2200
|
shifts?: Shift[];
|
|
2198
2201
|
}
|
|
2202
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2203
|
+
blockingSpaceId: number;
|
|
2204
|
+
blockedSpaceId: number;
|
|
2205
|
+
}
|
|
2199
2206
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2200
2207
|
stationId: number;
|
|
2201
2208
|
subcategoryId: number;
|
|
@@ -2303,12 +2310,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2303
2310
|
orderNotes: OrderNote[];
|
|
2304
2311
|
invoiceNotes: InvoiceNote[];
|
|
2305
2312
|
}
|
|
2306
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2307
|
-
entityId: number | null;
|
|
2308
|
-
userId: number | null;
|
|
2309
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2310
|
-
user: User;
|
|
2311
|
-
}
|
|
2312
2313
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2313
2314
|
familyAccountId: number;
|
|
2314
2315
|
userId: number;
|
|
@@ -2322,6 +2323,12 @@ export declare class UsersInGroup extends BondBaseEntity {
|
|
|
2322
2323
|
userId: number;
|
|
2323
2324
|
deletedAt?: Date;
|
|
2324
2325
|
}
|
|
2326
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2327
|
+
entityId: number | null;
|
|
2328
|
+
userId: number | null;
|
|
2329
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2330
|
+
user: User;
|
|
2331
|
+
}
|
|
2325
2332
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2326
2333
|
name: string;
|
|
2327
2334
|
variants: Variant[];
|
|
@@ -2340,13 +2347,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2340
2347
|
membershipCollectionId?: string;
|
|
2341
2348
|
programsCollectionId?: string;
|
|
2342
2349
|
}
|
|
2343
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2344
|
-
name: string;
|
|
2345
|
-
facilityId: number;
|
|
2346
|
-
parentSlotId: number;
|
|
2347
|
-
childrenSlotIds: number[];
|
|
2348
|
-
deletedAt?: Date;
|
|
2349
|
-
}
|
|
2350
2350
|
export declare enum EntitlementTermsTypesEnum {
|
|
2351
2351
|
QUESTION = "question",
|
|
2352
2352
|
CITY = "city",
|
|
@@ -3234,22 +3234,11 @@ export interface IReservationCreatorData {
|
|
|
3234
3234
|
endDate: string;
|
|
3235
3235
|
sportId: number;
|
|
3236
3236
|
}
|
|
3237
|
-
export declare class
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
export declare class ProductImportDto {
|
|
3241
|
-
product: Product;
|
|
3242
|
-
prices: Price[];
|
|
3243
|
-
resourceIds: number[];
|
|
3244
|
-
oldId: number;
|
|
3245
|
-
}
|
|
3246
|
-
export declare class PunchPassDto {
|
|
3247
|
-
CustomerID: string;
|
|
3248
|
-
QuantityLeft: number;
|
|
3249
|
-
BondProgramID: number;
|
|
3250
|
-
BondSessionID: number;
|
|
3251
|
-
ProductID: number;
|
|
3237
|
+
export declare class ColumnNumericTransformer {
|
|
3238
|
+
to(data: number): number;
|
|
3239
|
+
from(data: string): number;
|
|
3252
3240
|
}
|
|
3241
|
+
export declare function convertToNumber(data: string): number;
|
|
3253
3242
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3254
3243
|
name?: string;
|
|
3255
3244
|
genderStr?: string;
|
|
@@ -3264,6 +3253,22 @@ export declare class AddFamilyDto {
|
|
|
3264
3253
|
parents: AddImportedCustomerDto[];
|
|
3265
3254
|
children: AddImportedCustomerDto[];
|
|
3266
3255
|
}
|
|
3256
|
+
export declare class ProductIdsDto {
|
|
3257
|
+
productIds?: number[];
|
|
3258
|
+
}
|
|
3259
|
+
export declare class ProductImportDto {
|
|
3260
|
+
product: Product;
|
|
3261
|
+
prices: Price[];
|
|
3262
|
+
resourceIds: number[];
|
|
3263
|
+
oldId: number;
|
|
3264
|
+
}
|
|
3265
|
+
export declare class PunchPassDto {
|
|
3266
|
+
CustomerID: string;
|
|
3267
|
+
QuantityLeft: number;
|
|
3268
|
+
BondProgramID: number;
|
|
3269
|
+
BondSessionID: number;
|
|
3270
|
+
ProductID: number;
|
|
3271
|
+
}
|
|
3267
3272
|
export declare class ImportedSlotProductDto {
|
|
3268
3273
|
slotID?: string;
|
|
3269
3274
|
name?: string;
|
|
@@ -3315,6 +3320,19 @@ export declare class ImportedReservationDto {
|
|
|
3315
3320
|
slots?: ImportedSlotDto[];
|
|
3316
3321
|
addons?: ImportedSlotProductDto[];
|
|
3317
3322
|
}
|
|
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
|
+
}
|
|
3318
3336
|
export declare enum ImportPaymentTypeEnum {
|
|
3319
3337
|
CREDIT_CARD = "card",
|
|
3320
3338
|
ACH = "ach",
|
|
@@ -3350,24 +3368,6 @@ export declare class ImportedPaymentDto {
|
|
|
3350
3368
|
date: string;
|
|
3351
3369
|
time: string;
|
|
3352
3370
|
}
|
|
3353
|
-
export declare class ColumnNumericTransformer {
|
|
3354
|
-
to(data: number): number;
|
|
3355
|
-
from(data: string): number;
|
|
3356
|
-
}
|
|
3357
|
-
export declare function convertToNumber(data: string): number;
|
|
3358
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3359
|
-
entityType: string;
|
|
3360
|
-
entityId: number;
|
|
3361
|
-
}
|
|
3362
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3363
|
-
matchId: number | null;
|
|
3364
|
-
ordinal: number | null;
|
|
3365
|
-
outcomeOrdinal: number | null;
|
|
3366
|
-
resultMetaData: any | null;
|
|
3367
|
-
points: number | null;
|
|
3368
|
-
score: number | null;
|
|
3369
|
-
gameSlotId: number | null;
|
|
3370
|
-
}
|
|
3371
3371
|
export declare class Matches extends BondBaseEntity {
|
|
3372
3372
|
eventId: number | null;
|
|
3373
3373
|
status: number | null;
|
|
@@ -3474,28 +3474,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3474
3474
|
organisationId: number | null;
|
|
3475
3475
|
userId: number | null;
|
|
3476
3476
|
}
|
|
3477
|
-
export declare class RefundDto {
|
|
3478
|
-
orderId: number;
|
|
3479
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3480
|
-
refundLineItemAmountDict?: {
|
|
3481
|
-
[id: number]: number;
|
|
3482
|
-
};
|
|
3483
|
-
refunds: PaymentMethodDto[];
|
|
3484
|
-
refundType: RefundTypeEnum;
|
|
3485
|
-
reasonId: number;
|
|
3486
|
-
note?: string;
|
|
3487
|
-
shiftId?: number;
|
|
3488
|
-
meta?: RevertMetaDto;
|
|
3489
|
-
}
|
|
3490
|
-
export declare class PaymentMethodDto {
|
|
3491
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3492
|
-
amount: number;
|
|
3493
|
-
paymentMethodId?: string;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class RefundLineItemAmountDto {
|
|
3496
|
-
id: number;
|
|
3497
|
-
refundAmount: number;
|
|
3498
|
-
}
|
|
3499
3477
|
export declare class CustomerIdDto {
|
|
3500
3478
|
customerId: number;
|
|
3501
3479
|
}
|
|
@@ -3613,6 +3591,28 @@ export declare class SendRequestDto {
|
|
|
3613
3591
|
sendToEmail: string;
|
|
3614
3592
|
memo?: string;
|
|
3615
3593
|
}
|
|
3594
|
+
export declare class RefundDto {
|
|
3595
|
+
orderId: number;
|
|
3596
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3597
|
+
refundLineItemAmountDict?: {
|
|
3598
|
+
[id: number]: number;
|
|
3599
|
+
};
|
|
3600
|
+
refunds: PaymentMethodDto[];
|
|
3601
|
+
refundType: RefundTypeEnum;
|
|
3602
|
+
reasonId: number;
|
|
3603
|
+
note?: string;
|
|
3604
|
+
shiftId?: number;
|
|
3605
|
+
meta?: RevertMetaDto;
|
|
3606
|
+
}
|
|
3607
|
+
export declare class PaymentMethodDto {
|
|
3608
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3609
|
+
amount: number;
|
|
3610
|
+
paymentMethodId?: string;
|
|
3611
|
+
}
|
|
3612
|
+
export declare class RefundLineItemAmountDto {
|
|
3613
|
+
id: number;
|
|
3614
|
+
refundAmount: number;
|
|
3615
|
+
}
|
|
3616
3616
|
export declare class VoidDto {
|
|
3617
3617
|
lineItems: VoidLineItemDto[];
|
|
3618
3618
|
meta?: RevertMetaDto;
|
|
@@ -3623,6 +3623,95 @@ 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
|
+
}
|
|
3626
3715
|
export declare class LineItemDto {
|
|
3627
3716
|
id?: number;
|
|
3628
3717
|
orderId?: number;
|
|
@@ -4135,92 +4224,3 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4135
4224
|
changeLineItems?: LineItems[];
|
|
4136
4225
|
updatedLineItem?: LineItems;
|
|
4137
4226
|
}
|
|
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
|
-
}
|