@bondsports/types 0.0.78 → 0.0.81
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 +357 -357
- 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,226 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
454
454
|
discountValue?: number;
|
|
455
455
|
discountMethod?: DiscountMethodsEnum;
|
|
456
456
|
}
|
|
457
|
+
export declare class FindByProductIdDto {
|
|
458
|
+
productId: number;
|
|
459
|
+
}
|
|
460
|
+
export declare class FindPriceOfProductDto {
|
|
461
|
+
id: number;
|
|
462
|
+
userId: number;
|
|
463
|
+
resources: ResourceDto[];
|
|
464
|
+
}
|
|
465
|
+
export declare class FindPricesOfProductsDto {
|
|
466
|
+
products: FindPriceOfProductDto[];
|
|
467
|
+
answers: UserAnswersDto[];
|
|
468
|
+
}
|
|
469
|
+
export declare class FindPackageByResourceDto {
|
|
470
|
+
resourceType: ResourceNameTypeEnum;
|
|
471
|
+
resourceId: number;
|
|
472
|
+
}
|
|
473
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
474
|
+
organizationId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class CreateProductsDto {
|
|
477
|
+
products: CreateProductDto[];
|
|
478
|
+
addOnsData?: ProductInPackage[];
|
|
479
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
480
|
+
}
|
|
481
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
+
name: string;
|
|
483
|
+
}
|
|
484
|
+
export declare class CreateProductDto {
|
|
485
|
+
id?: number;
|
|
486
|
+
organizationId: number;
|
|
487
|
+
name: string;
|
|
488
|
+
quantity?: number;
|
|
489
|
+
isPublic: boolean;
|
|
490
|
+
startDate?: Date;
|
|
491
|
+
endDate?: Date;
|
|
492
|
+
description?: string;
|
|
493
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
+
resourcesIdsToApplyOn?: number[];
|
|
495
|
+
GL?: string;
|
|
496
|
+
prices: CreatePriceDto[];
|
|
497
|
+
downpayment?: number;
|
|
498
|
+
productType: ProductTypesEnum;
|
|
499
|
+
subProductType?: string;
|
|
500
|
+
defaultForResourceId?: number;
|
|
501
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
+
variantTitleIds?: number[];
|
|
504
|
+
variants?: VariantWithPrice[];
|
|
505
|
+
variantParentId?: number;
|
|
506
|
+
isAddon?: boolean;
|
|
507
|
+
isArchive?: boolean;
|
|
508
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
+
isProRated?: boolean;
|
|
510
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
+
isTaxInclusive?: boolean;
|
|
512
|
+
tax?: number;
|
|
513
|
+
sports?: number[];
|
|
514
|
+
durationMinutes?: number;
|
|
515
|
+
durationDays?: number;
|
|
516
|
+
forms?: number[];
|
|
517
|
+
isForAllCustomers?: boolean;
|
|
518
|
+
membershipsAvailableFor?: number[];
|
|
519
|
+
customersAvailableFor?: number[];
|
|
520
|
+
addons?: createRentalProductAddonDto[];
|
|
521
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
522
|
+
}
|
|
523
|
+
export declare class VariantWithPrice {
|
|
524
|
+
variantIds: number[];
|
|
525
|
+
price: CreatePriceDto[];
|
|
526
|
+
}
|
|
527
|
+
export declare class CreatePriceDto {
|
|
528
|
+
id?: number;
|
|
529
|
+
price: number;
|
|
530
|
+
currency: CurrencyEnum;
|
|
531
|
+
name: string;
|
|
532
|
+
startDate?: Date;
|
|
533
|
+
endDate?: Date;
|
|
534
|
+
discountValue?: number;
|
|
535
|
+
discountMethod?: DiscountMethodsEnum;
|
|
536
|
+
isDefaultPriceForProduct?: boolean;
|
|
537
|
+
}
|
|
538
|
+
export declare class CreatePackageDto {
|
|
539
|
+
parentProductId: number;
|
|
540
|
+
productsData?: ProductInPackage[];
|
|
541
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
542
|
+
}
|
|
543
|
+
export declare class CreatePackageToResourceDto {
|
|
544
|
+
resourceId: number;
|
|
545
|
+
resourceType: ResourceNameTypeEnum;
|
|
546
|
+
isCreateToChildProducts: boolean;
|
|
547
|
+
productsData: ProductInPackage[];
|
|
548
|
+
}
|
|
549
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
550
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
551
|
+
amountInPackage?: number;
|
|
552
|
+
level?: ProductPackageLevelEnum;
|
|
553
|
+
}
|
|
554
|
+
export declare class ExistingProductToPackageDto {
|
|
555
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
556
|
+
id: number;
|
|
557
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
+
level?: ProductPackageLevelEnum;
|
|
559
|
+
}
|
|
560
|
+
export declare class ConnectProductResourceDto {
|
|
561
|
+
productId: number;
|
|
562
|
+
resourceType: ResourceNameTypeEnum;
|
|
563
|
+
resourceIds: number[];
|
|
564
|
+
}
|
|
565
|
+
export declare class ReturnRequiredProductsDto {
|
|
566
|
+
userId: number;
|
|
567
|
+
productId: number;
|
|
568
|
+
}
|
|
569
|
+
export declare class FindByProductUserIdsDto {
|
|
570
|
+
userId: number;
|
|
571
|
+
organizationId: number;
|
|
572
|
+
}
|
|
573
|
+
export declare class AddRequiredProductsDto {
|
|
574
|
+
productId: number;
|
|
575
|
+
requiredProductIds: number[];
|
|
576
|
+
}
|
|
577
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
578
|
+
productIds?: number[];
|
|
579
|
+
includePrices?: boolean;
|
|
580
|
+
productType?: ProductTypesEnum;
|
|
581
|
+
includeAddons?: string;
|
|
582
|
+
}
|
|
583
|
+
export declare class GetByOrganizationIdDto {
|
|
584
|
+
organizationId?: number;
|
|
585
|
+
}
|
|
586
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
587
|
+
orderId?: number;
|
|
588
|
+
}
|
|
589
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
590
|
+
productIds?: string;
|
|
591
|
+
includePrices?: boolean;
|
|
592
|
+
productType?: string;
|
|
593
|
+
productSubType?: string;
|
|
594
|
+
search?: string;
|
|
595
|
+
includeAddons?: boolean;
|
|
596
|
+
includeArchived?: boolean;
|
|
597
|
+
includeAllData?: boolean;
|
|
598
|
+
resourceIds?: string;
|
|
599
|
+
sports?: string;
|
|
600
|
+
}
|
|
601
|
+
export declare class GetAllVariantTitlesDto {
|
|
602
|
+
organizationId: number;
|
|
603
|
+
}
|
|
604
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
605
|
+
organizationId: number;
|
|
606
|
+
}
|
|
607
|
+
export declare class CreateVariantTitleDto {
|
|
608
|
+
organizationId: number;
|
|
609
|
+
title: string;
|
|
610
|
+
variants: string[];
|
|
611
|
+
}
|
|
612
|
+
export declare class UpdateVariantTitleDto {
|
|
613
|
+
organizationId: number;
|
|
614
|
+
titleId: number;
|
|
615
|
+
title: string;
|
|
616
|
+
variants: string[];
|
|
617
|
+
}
|
|
618
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
+
customerId: number;
|
|
620
|
+
}
|
|
621
|
+
export declare class GetExtraProductDataDto {
|
|
622
|
+
isPublic?: boolean;
|
|
623
|
+
isGetByChildResources?: boolean;
|
|
624
|
+
isGetEntitlePricing?: boolean;
|
|
625
|
+
isGetAddOns?: boolean;
|
|
626
|
+
includeResources?: boolean;
|
|
627
|
+
includeArchived?: boolean;
|
|
628
|
+
}
|
|
629
|
+
export declare class GetBySessionType {
|
|
630
|
+
sessionType: 'event' | 'segment';
|
|
631
|
+
}
|
|
632
|
+
export declare class CreateSubcategoryDto {
|
|
633
|
+
productType: ProductTypesEnum;
|
|
634
|
+
name: string;
|
|
635
|
+
stationId?: number;
|
|
636
|
+
ordinal?: number;
|
|
637
|
+
}
|
|
638
|
+
export declare class CreateSubcategoriesDto {
|
|
639
|
+
subcategories: CreateSubcategoryDto[];
|
|
640
|
+
}
|
|
641
|
+
export declare class UpdateSubcategoryDto {
|
|
642
|
+
id: number;
|
|
643
|
+
productType?: ProductTypesEnum;
|
|
644
|
+
name?: string;
|
|
645
|
+
stationId?: number;
|
|
646
|
+
ordinal?: number;
|
|
647
|
+
}
|
|
648
|
+
export declare class GetSubcategoryDto {
|
|
649
|
+
stationId?: number;
|
|
650
|
+
}
|
|
651
|
+
export declare class SetStationSubcategoriesDto {
|
|
652
|
+
stationId: number;
|
|
653
|
+
subcategoryIds?: number[];
|
|
654
|
+
categories?: string[];
|
|
655
|
+
}
|
|
656
|
+
export declare class createRentalProductAddonDto {
|
|
657
|
+
productId: number;
|
|
658
|
+
price: number;
|
|
659
|
+
isFlatPrice: boolean;
|
|
660
|
+
isMandatory: boolean;
|
|
661
|
+
level: ProductPackageLevelEnum;
|
|
662
|
+
}
|
|
663
|
+
export declare class createProductAvailabilityTimesDto {
|
|
664
|
+
availabilityStartDate?: string;
|
|
665
|
+
availabilityEndDate?: string;
|
|
666
|
+
daysOfWeek: number[];
|
|
667
|
+
startTime: string;
|
|
668
|
+
endTime: string;
|
|
669
|
+
}
|
|
670
|
+
export declare class createResourceDto {
|
|
671
|
+
resourceId: number;
|
|
672
|
+
resourceType: ResourceNameTypeEnum;
|
|
673
|
+
}
|
|
674
|
+
export declare class archiveDto {
|
|
675
|
+
isArchive: boolean;
|
|
676
|
+
}
|
|
457
677
|
export declare class CreateUpdateVariantsDto {
|
|
458
678
|
organizationId: number;
|
|
459
679
|
parentProductId: number;
|
|
@@ -594,331 +814,111 @@ export declare class ShallowUpdateSubSeasonDto {
|
|
|
594
814
|
id: number;
|
|
595
815
|
name: string;
|
|
596
816
|
}
|
|
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
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
660
|
-
organizationId: number;
|
|
661
|
-
programType?: ProgramTypesEnum;
|
|
662
|
-
}
|
|
663
|
-
export declare class FindProgramByIdDto {
|
|
664
|
-
programId: number;
|
|
665
|
-
}
|
|
666
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
667
|
-
programId: number;
|
|
668
|
-
organizationId: number;
|
|
669
|
-
}
|
|
670
|
-
export declare class BaseProgramDto {
|
|
671
|
-
type: ProgramTypesEnum;
|
|
672
|
-
name: string;
|
|
673
|
-
sport: SportsEnum;
|
|
674
|
-
minAge: string;
|
|
675
|
-
maxAge: string;
|
|
676
|
-
gender: GenderEnum;
|
|
677
|
-
level?: LevelOfPlayEnum[];
|
|
678
|
-
description?: string;
|
|
679
|
-
GL?: string;
|
|
680
|
-
status: PublishingStatusEnum;
|
|
681
|
-
organizationId: number;
|
|
682
|
-
userCreatorId: number;
|
|
683
|
-
highlights: ProgramHighlights[];
|
|
684
|
-
longDescription?: string;
|
|
685
|
-
requiredProductIds: number[];
|
|
686
|
-
}
|
|
687
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
688
|
-
}
|
|
689
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
690
|
-
programId: number;
|
|
691
|
-
mainMediaId: number;
|
|
692
|
-
}
|
|
693
|
-
export declare class UpdateProgramStatusDto {
|
|
694
|
-
programId: number;
|
|
695
|
-
status: PublishingStatusEnum;
|
|
696
|
-
}
|
|
697
|
-
export declare class ProgramHighlightDto {
|
|
698
|
-
data: string;
|
|
699
|
-
ordinal: number;
|
|
700
|
-
type: ProgramHighlightTypeEnum;
|
|
701
|
-
title: string;
|
|
702
|
-
}
|
|
703
|
-
export declare class FindByProductIdDto {
|
|
704
|
-
productId: number;
|
|
705
|
-
}
|
|
706
|
-
export declare class FindPriceOfProductDto {
|
|
707
|
-
id: number;
|
|
708
|
-
userId: number;
|
|
709
|
-
resources: ResourceDto[];
|
|
710
|
-
}
|
|
711
|
-
export declare class FindPricesOfProductsDto {
|
|
712
|
-
products: FindPriceOfProductDto[];
|
|
713
|
-
answers: UserAnswersDto[];
|
|
714
|
-
}
|
|
715
|
-
export declare class FindPackageByResourceDto {
|
|
716
|
-
resourceType: ResourceNameTypeEnum;
|
|
717
|
-
resourceId: number;
|
|
718
|
-
}
|
|
719
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
720
|
-
organizationId: number;
|
|
721
|
-
}
|
|
722
|
-
export declare class CreateProductsDto {
|
|
723
|
-
products: CreateProductDto[];
|
|
724
|
-
addOnsData?: ProductInPackage[];
|
|
725
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
726
|
-
}
|
|
727
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
728
|
-
name: string;
|
|
729
|
-
}
|
|
730
|
-
export declare class CreateProductDto {
|
|
731
|
-
id?: number;
|
|
732
|
-
organizationId: number;
|
|
733
|
-
name: string;
|
|
734
|
-
quantity?: number;
|
|
735
|
-
isPublic: boolean;
|
|
736
|
-
startDate?: Date;
|
|
737
|
-
endDate?: Date;
|
|
738
|
-
description?: string;
|
|
739
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
740
|
-
resourcesIdsToApplyOn?: number[];
|
|
741
|
-
GL?: string;
|
|
742
|
-
prices: CreatePriceDto[];
|
|
743
|
-
downpayment?: number;
|
|
744
|
-
productType: ProductTypesEnum;
|
|
745
|
-
subProductType?: string;
|
|
746
|
-
defaultForResourceId?: number;
|
|
747
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
748
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
749
|
-
variantTitleIds?: number[];
|
|
750
|
-
variants?: VariantWithPrice[];
|
|
751
|
-
variantParentId?: number;
|
|
752
|
-
isAddon?: boolean;
|
|
753
|
-
isArchive?: boolean;
|
|
754
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
755
|
-
isProRated?: boolean;
|
|
756
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
757
|
-
isTaxInclusive?: boolean;
|
|
758
|
-
tax?: number;
|
|
759
|
-
sports?: number[];
|
|
760
|
-
durationMinutes?: number;
|
|
761
|
-
durationDays?: number;
|
|
762
|
-
forms?: number[];
|
|
763
|
-
isForAllCustomers?: boolean;
|
|
764
|
-
membershipsAvailableFor?: number[];
|
|
765
|
-
customersAvailableFor?: number[];
|
|
766
|
-
addons?: createRentalProductAddonDto[];
|
|
767
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
768
|
-
}
|
|
769
|
-
export declare class VariantWithPrice {
|
|
770
|
-
variantIds: number[];
|
|
771
|
-
price: CreatePriceDto[];
|
|
772
|
-
}
|
|
773
|
-
export declare class CreatePriceDto {
|
|
774
|
-
id?: number;
|
|
775
|
-
price: number;
|
|
776
|
-
currency: CurrencyEnum;
|
|
777
|
-
name: string;
|
|
778
|
-
startDate?: Date;
|
|
779
|
-
endDate?: Date;
|
|
780
|
-
discountValue?: number;
|
|
781
|
-
discountMethod?: DiscountMethodsEnum;
|
|
782
|
-
isDefaultPriceForProduct?: boolean;
|
|
783
|
-
}
|
|
784
|
-
export declare class CreatePackageDto {
|
|
785
|
-
parentProductId: number;
|
|
786
|
-
productsData?: ProductInPackage[];
|
|
787
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
788
|
-
}
|
|
789
|
-
export declare class CreatePackageToResourceDto {
|
|
790
|
-
resourceId: number;
|
|
791
|
-
resourceType: ResourceNameTypeEnum;
|
|
792
|
-
isCreateToChildProducts: boolean;
|
|
793
|
-
productsData: ProductInPackage[];
|
|
794
|
-
}
|
|
795
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
796
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
797
|
-
amountInPackage?: number;
|
|
798
|
-
level?: ProductPackageLevelEnum;
|
|
799
|
-
}
|
|
800
|
-
export declare class ExistingProductToPackageDto {
|
|
801
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
802
|
-
id: number;
|
|
803
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
804
|
-
level?: ProductPackageLevelEnum;
|
|
805
|
-
}
|
|
806
|
-
export declare class ConnectProductResourceDto {
|
|
807
|
-
productId: number;
|
|
808
|
-
resourceType: ResourceNameTypeEnum;
|
|
809
|
-
resourceIds: number[];
|
|
810
|
-
}
|
|
811
|
-
export declare class ReturnRequiredProductsDto {
|
|
812
|
-
userId: number;
|
|
813
|
-
productId: number;
|
|
814
|
-
}
|
|
815
|
-
export declare class FindByProductUserIdsDto {
|
|
816
|
-
userId: number;
|
|
817
|
-
organizationId: number;
|
|
818
|
-
}
|
|
819
|
-
export declare class AddRequiredProductsDto {
|
|
820
|
-
productId: number;
|
|
821
|
-
requiredProductIds: number[];
|
|
822
|
-
}
|
|
823
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
824
|
-
productIds?: number[];
|
|
825
|
-
includePrices?: boolean;
|
|
826
|
-
productType?: ProductTypesEnum;
|
|
827
|
-
includeAddons?: string;
|
|
828
|
-
}
|
|
829
|
-
export declare class GetByOrganizationIdDto {
|
|
830
|
-
organizationId?: number;
|
|
831
|
-
}
|
|
832
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
833
|
-
orderId?: number;
|
|
834
|
-
}
|
|
835
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
836
|
-
productIds?: string;
|
|
837
|
-
includePrices?: boolean;
|
|
838
|
-
productType?: string;
|
|
839
|
-
productSubType?: string;
|
|
840
|
-
search?: string;
|
|
841
|
-
includeAddons?: boolean;
|
|
842
|
-
includeArchived?: boolean;
|
|
843
|
-
includeAllData?: boolean;
|
|
844
|
-
resourceIds?: string;
|
|
845
|
-
sports?: string;
|
|
817
|
+
export declare class SpaceResourcePairDto {
|
|
818
|
+
resourceType: ResourceNameTypeEnum;
|
|
819
|
+
resourceId: number;
|
|
820
|
+
spacesIds: number[];
|
|
821
|
+
publicNotes?: string;
|
|
822
|
+
privateNotes?: string;
|
|
823
|
+
minutesBeforeSlot?: number;
|
|
824
|
+
minutesAfterSlot?: number;
|
|
846
825
|
}
|
|
847
|
-
export declare class
|
|
826
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
827
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
848
828
|
organizationId: number;
|
|
849
829
|
}
|
|
850
|
-
export declare class
|
|
851
|
-
|
|
830
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
831
|
+
date: string;
|
|
832
|
+
startTime: string;
|
|
833
|
+
endTime: string;
|
|
834
|
+
spaceId: number;
|
|
835
|
+
publicNotes?: string;
|
|
836
|
+
slotType?: SlotTypeEnum;
|
|
852
837
|
}
|
|
853
|
-
export declare class
|
|
854
|
-
|
|
855
|
-
title: string;
|
|
856
|
-
variants: string[];
|
|
838
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
839
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
857
840
|
}
|
|
858
|
-
export declare class
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
title: string;
|
|
862
|
-
variants: string[];
|
|
841
|
+
export declare class UpdateSeasonDatesDto {
|
|
842
|
+
startDate: Date;
|
|
843
|
+
endDate: Date;
|
|
863
844
|
}
|
|
864
|
-
export declare class
|
|
865
|
-
|
|
845
|
+
export declare class MoveAttendeeDto {
|
|
846
|
+
userId: number;
|
|
847
|
+
resourceType: ResourceNameTypeEnum;
|
|
848
|
+
fromResourceIds: number[];
|
|
849
|
+
toResourceIds: number[];
|
|
866
850
|
}
|
|
867
|
-
export declare class
|
|
868
|
-
|
|
869
|
-
isGetByChildResources?: boolean;
|
|
870
|
-
isGetEntitlePricing?: boolean;
|
|
871
|
-
isGetAddOns?: boolean;
|
|
872
|
-
includeResources?: boolean;
|
|
873
|
-
includeArchived?: boolean;
|
|
851
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
852
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
874
853
|
}
|
|
875
|
-
export declare class
|
|
876
|
-
|
|
854
|
+
export declare class RegistrationDatesDto {
|
|
855
|
+
registrationStartDate: Date;
|
|
856
|
+
registrationEndDate: Date;
|
|
857
|
+
earlyRegistrationStartDate?: Date;
|
|
858
|
+
earlyRegistrationEndDate?: Date;
|
|
859
|
+
lateRegistrationStartDate?: Date;
|
|
860
|
+
lateRegistrationEndDate?: Date;
|
|
877
861
|
}
|
|
878
|
-
export declare class
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
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[];
|
|
883
870
|
}
|
|
884
|
-
export declare class
|
|
885
|
-
|
|
871
|
+
export declare class MoveParticipantDto {
|
|
872
|
+
userId: number;
|
|
873
|
+
oldProductId: number;
|
|
874
|
+
newProductId: number;
|
|
875
|
+
moveType: 'session' | 'segment';
|
|
876
|
+
resourceId: number;
|
|
877
|
+
orderId: number;
|
|
886
878
|
}
|
|
887
|
-
export declare class
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
name?: string;
|
|
891
|
-
stationId?: number;
|
|
892
|
-
ordinal?: number;
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
+
organizationId: number;
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
893
882
|
}
|
|
894
|
-
export declare class
|
|
895
|
-
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
884
|
+
programId: number;
|
|
896
885
|
}
|
|
897
|
-
export declare class
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
categories?: string[];
|
|
886
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
+
programId: number;
|
|
888
|
+
organizationId: number;
|
|
901
889
|
}
|
|
902
|
-
export declare class
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
890
|
+
export declare class BaseProgramDto {
|
|
891
|
+
type: ProgramTypesEnum;
|
|
892
|
+
name: string;
|
|
893
|
+
sport: SportsEnum;
|
|
894
|
+
minAge: string;
|
|
895
|
+
maxAge: string;
|
|
896
|
+
gender: GenderEnum;
|
|
897
|
+
level?: LevelOfPlayEnum[];
|
|
898
|
+
description?: string;
|
|
899
|
+
GL?: string;
|
|
900
|
+
status: PublishingStatusEnum;
|
|
901
|
+
organizationId: number;
|
|
902
|
+
userCreatorId: number;
|
|
903
|
+
highlights: ProgramHighlights[];
|
|
904
|
+
longDescription?: string;
|
|
905
|
+
requiredProductIds: number[];
|
|
908
906
|
}
|
|
909
|
-
export declare class
|
|
910
|
-
availabilityStartDate?: string;
|
|
911
|
-
availabilityEndDate?: string;
|
|
912
|
-
daysOfWeek: number[];
|
|
913
|
-
startTime: string;
|
|
914
|
-
endTime: string;
|
|
907
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
915
908
|
}
|
|
916
|
-
export declare class
|
|
917
|
-
|
|
918
|
-
|
|
909
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
+
programId: number;
|
|
911
|
+
mainMediaId: number;
|
|
919
912
|
}
|
|
920
|
-
export declare class
|
|
921
|
-
|
|
913
|
+
export declare class UpdateProgramStatusDto {
|
|
914
|
+
programId: number;
|
|
915
|
+
status: PublishingStatusEnum;
|
|
916
|
+
}
|
|
917
|
+
export declare class ProgramHighlightDto {
|
|
918
|
+
data: string;
|
|
919
|
+
ordinal: number;
|
|
920
|
+
type: ProgramHighlightTypeEnum;
|
|
921
|
+
title: string;
|
|
922
922
|
}
|
|
923
923
|
export declare class PurchasePaymentDto {
|
|
924
924
|
token: string;
|
|
@@ -1385,9 +1385,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1385
1385
|
plannedDate: Date;
|
|
1386
1386
|
chargedAt?: Date;
|
|
1387
1387
|
}
|
|
1388
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
-
code: string;
|
|
1390
|
-
}
|
|
1391
1388
|
export declare class Group extends BondBaseEntity {
|
|
1392
1389
|
name: string;
|
|
1393
1390
|
description?: string;
|
|
@@ -1404,6 +1401,9 @@ export declare class Group extends BondBaseEntity {
|
|
|
1404
1401
|
members: ISeasonAttendeeInfo[];
|
|
1405
1402
|
users: User[];
|
|
1406
1403
|
}
|
|
1404
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1405
|
+
code: string;
|
|
1406
|
+
}
|
|
1407
1407
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1408
1408
|
groupId: number;
|
|
1409
1409
|
itemId: number;
|
|
@@ -1912,23 +1912,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1912
1912
|
deletedAt?: Date;
|
|
1913
1913
|
product: Product;
|
|
1914
1914
|
}
|
|
1915
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1916
|
-
productId: number;
|
|
1917
|
-
userId: number;
|
|
1918
|
-
user?: User;
|
|
1919
|
-
paymentStatus: PaymentStatusEnum;
|
|
1920
|
-
productName: string;
|
|
1921
|
-
productPrice: number;
|
|
1922
|
-
productQuantity: number;
|
|
1923
|
-
productQuantityLeft: number;
|
|
1924
|
-
productPriceCurrency: CurrencyEnum;
|
|
1925
|
-
ordinal?: number;
|
|
1926
|
-
purchasedResources: PurchasedResource[];
|
|
1927
|
-
product: Product;
|
|
1928
|
-
lineItem: LineItems;
|
|
1929
|
-
slots?: Slot[];
|
|
1930
|
-
addons?: Addon[];
|
|
1931
|
-
}
|
|
1932
1915
|
export declare class Program extends BondBaseEntity {
|
|
1933
1916
|
type: ProgramTypesEnum;
|
|
1934
1917
|
name: string;
|
|
@@ -2013,6 +1996,23 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2013
1996
|
facility: Facility;
|
|
2014
1997
|
purchasedResources: PurchasedResource[];
|
|
2015
1998
|
}
|
|
1999
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
2000
|
+
productId: number;
|
|
2001
|
+
userId: number;
|
|
2002
|
+
user?: User;
|
|
2003
|
+
paymentStatus: PaymentStatusEnum;
|
|
2004
|
+
productName: string;
|
|
2005
|
+
productPrice: number;
|
|
2006
|
+
productQuantity: number;
|
|
2007
|
+
productQuantityLeft: number;
|
|
2008
|
+
productPriceCurrency: CurrencyEnum;
|
|
2009
|
+
ordinal?: number;
|
|
2010
|
+
purchasedResources: PurchasedResource[];
|
|
2011
|
+
product: Product;
|
|
2012
|
+
lineItem: LineItems;
|
|
2013
|
+
slots?: Slot[];
|
|
2014
|
+
addons?: Addon[];
|
|
2015
|
+
}
|
|
2016
2016
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2017
2017
|
productUserId: number;
|
|
2018
2018
|
resourceId: number;
|
|
@@ -2129,13 +2129,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2129
2129
|
purchasedResources: PurchasedResource[];
|
|
2130
2130
|
linkSEO: string;
|
|
2131
2131
|
}
|
|
2132
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2133
|
-
name: string;
|
|
2134
|
-
facilityId: number;
|
|
2135
|
-
parentSlotId: number;
|
|
2136
|
-
childrenSlotIds: number[];
|
|
2137
|
-
deletedAt?: Date;
|
|
2138
|
-
}
|
|
2139
2132
|
export declare class School extends BondBaseEntity {
|
|
2140
2133
|
name: string | null;
|
|
2141
2134
|
alias: string[] | null;
|
|
@@ -2158,6 +2151,13 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2158
2151
|
deletedAt?: Date;
|
|
2159
2152
|
purchasedResource: PurchasedResource;
|
|
2160
2153
|
}
|
|
2154
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2155
|
+
name: string;
|
|
2156
|
+
facilityId: number;
|
|
2157
|
+
parentSlotId: number;
|
|
2158
|
+
childrenSlotIds: number[];
|
|
2159
|
+
deletedAt?: Date;
|
|
2160
|
+
}
|
|
2161
2161
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2162
2162
|
name: string | null;
|
|
2163
2163
|
ordinal: number | null;
|
|
@@ -2179,6 +2179,10 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2179
2179
|
purchasedResource: PurchasedResource;
|
|
2180
2180
|
season: LeagueSeason;
|
|
2181
2181
|
}
|
|
2182
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2183
|
+
blockingSpaceId: number;
|
|
2184
|
+
blockedSpaceId: number;
|
|
2185
|
+
}
|
|
2182
2186
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2183
2187
|
seasonId: number | null;
|
|
2184
2188
|
teamId: number | null;
|
|
@@ -2189,10 +2193,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2189
2193
|
metaData: any | null;
|
|
2190
2194
|
team: Team;
|
|
2191
2195
|
}
|
|
2192
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2193
|
-
blockingSpaceId: number;
|
|
2194
|
-
blockedSpaceId: number;
|
|
2195
|
-
}
|
|
2196
2196
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2197
2197
|
name: string;
|
|
2198
2198
|
facilityId: number;
|
|
@@ -2317,6 +2317,14 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2317
2317
|
entityType: UserAuthorizationsTypeEnum;
|
|
2318
2318
|
user: User;
|
|
2319
2319
|
}
|
|
2320
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2321
|
+
familyAccountId: number;
|
|
2322
|
+
userId: number;
|
|
2323
|
+
isAdmin: boolean;
|
|
2324
|
+
user: User;
|
|
2325
|
+
familyAccount: FamilyAccount;
|
|
2326
|
+
deletedAt?: Date;
|
|
2327
|
+
}
|
|
2320
2328
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2321
2329
|
groupId: number;
|
|
2322
2330
|
userId: number;
|
|
@@ -2326,14 +2334,6 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2326
2334
|
name: string;
|
|
2327
2335
|
variants: Variant[];
|
|
2328
2336
|
}
|
|
2329
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2330
|
-
familyAccountId: number;
|
|
2331
|
-
userId: number;
|
|
2332
|
-
isAdmin: boolean;
|
|
2333
|
-
user: User;
|
|
2334
|
-
familyAccount: FamilyAccount;
|
|
2335
|
-
deletedAt?: Date;
|
|
2336
|
-
}
|
|
2337
2337
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2338
2338
|
name: string;
|
|
2339
2339
|
variantTitleId: number;
|
|
@@ -3298,13 +3298,6 @@ export declare class ProductImportDto {
|
|
|
3298
3298
|
resourceIds: number[];
|
|
3299
3299
|
oldId: number;
|
|
3300
3300
|
}
|
|
3301
|
-
export declare class PunchPassDto {
|
|
3302
|
-
CustomerID: string;
|
|
3303
|
-
QuantityLeft: number;
|
|
3304
|
-
BondProgramID: number;
|
|
3305
|
-
BondSessionID: number;
|
|
3306
|
-
ProductID: number;
|
|
3307
|
-
}
|
|
3308
3301
|
export declare class ImportedSlotProductDto {
|
|
3309
3302
|
slotID?: string;
|
|
3310
3303
|
name?: string;
|
|
@@ -3356,9 +3349,12 @@ export declare class ImportedReservationDto {
|
|
|
3356
3349
|
slots?: ImportedSlotDto[];
|
|
3357
3350
|
addons?: ImportedSlotProductDto[];
|
|
3358
3351
|
}
|
|
3359
|
-
export declare class
|
|
3360
|
-
|
|
3361
|
-
|
|
3352
|
+
export declare class PunchPassDto {
|
|
3353
|
+
CustomerID: string;
|
|
3354
|
+
QuantityLeft: number;
|
|
3355
|
+
BondProgramID: number;
|
|
3356
|
+
BondSessionID: number;
|
|
3357
|
+
ProductID: number;
|
|
3362
3358
|
}
|
|
3363
3359
|
export declare class GameSlots extends BondBaseEntity {
|
|
3364
3360
|
entityType: string;
|
|
@@ -3396,6 +3392,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3396
3392
|
eventId: number | null;
|
|
3397
3393
|
status: number | null;
|
|
3398
3394
|
}
|
|
3395
|
+
export declare class Lock extends BondBaseEntity {
|
|
3396
|
+
name: string;
|
|
3397
|
+
locked?: Date;
|
|
3398
|
+
}
|
|
3399
3399
|
export interface ValidatedMonthAndDay {
|
|
3400
3400
|
valid: boolean;
|
|
3401
3401
|
month?: number;
|