@bondsports/types 0.0.51 → 0.0.54
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 +1269 -1270
- 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
|
@@ -9,6 +9,17 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
19
|
+
}
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
22
|
+
}
|
|
12
23
|
export declare class FindBookingTypeSettingDto {
|
|
13
24
|
organizationId: number;
|
|
14
25
|
facilityId: number;
|
|
@@ -272,17 +283,6 @@ export declare class GetGlCodeDto {
|
|
|
272
283
|
createdAt: Date;
|
|
273
284
|
updatedAt: Date;
|
|
274
285
|
}
|
|
275
|
-
export declare class QuestionAnswersDto {
|
|
276
|
-
questionId: number;
|
|
277
|
-
value: any;
|
|
278
|
-
}
|
|
279
|
-
export declare class UserAnswersDto {
|
|
280
|
-
userId: number;
|
|
281
|
-
answers: QuestionAnswersDto[];
|
|
282
|
-
}
|
|
283
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
284
|
-
questionnaireIds: string;
|
|
285
|
-
}
|
|
286
286
|
export declare class FindByProgramSeasonIdDto {
|
|
287
287
|
seasonId: number;
|
|
288
288
|
}
|
|
@@ -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;
|
|
@@ -656,67 +876,11 @@ export declare class MoveParticipantDto {
|
|
|
656
876
|
resourceId: number;
|
|
657
877
|
orderId: number;
|
|
658
878
|
}
|
|
659
|
-
export declare class
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
export declare class FindProgramByIdDto {
|
|
664
|
-
programId: number;
|
|
879
|
+
export declare class PurchasePaymentDto {
|
|
880
|
+
token: string;
|
|
881
|
+
type: PaymentMethodTypeEnum;
|
|
665
882
|
}
|
|
666
|
-
export declare class
|
|
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 CreateResourceGroupDto {
|
|
704
|
-
name: string;
|
|
705
|
-
parentSlotId: number;
|
|
706
|
-
facilityId: number;
|
|
707
|
-
childrenSlotIds: number[];
|
|
708
|
-
}
|
|
709
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
710
|
-
}
|
|
711
|
-
export declare class ResourceDto {
|
|
712
|
-
type: ResourceNameTypeEnum;
|
|
713
|
-
id: number;
|
|
714
|
-
}
|
|
715
|
-
export declare class PurchasePaymentDto {
|
|
716
|
-
token: string;
|
|
717
|
-
type: PaymentMethodTypeEnum;
|
|
718
|
-
}
|
|
719
|
-
export declare class ChargeRentalsReuqestDto {
|
|
883
|
+
export declare class ChargeRentalsReuqestDto {
|
|
720
884
|
organizationId: number;
|
|
721
885
|
userId?: number;
|
|
722
886
|
customerId?: number;
|
|
@@ -782,47 +946,61 @@ export declare class PartialPaymentAsUserDto {
|
|
|
782
946
|
amountToPay: any;
|
|
783
947
|
paymentMethodData: any;
|
|
784
948
|
}
|
|
785
|
-
export declare class
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
export declare class AddACHTokenToCustomerDto {
|
|
789
|
-
publicToken: string;
|
|
790
|
-
accountId: string;
|
|
949
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
950
|
+
organizationId: number;
|
|
951
|
+
programType?: ProgramTypesEnum;
|
|
791
952
|
}
|
|
792
|
-
export declare class
|
|
793
|
-
|
|
953
|
+
export declare class FindProgramByIdDto {
|
|
954
|
+
programId: number;
|
|
794
955
|
}
|
|
795
|
-
export declare class
|
|
796
|
-
|
|
956
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
957
|
+
programId: number;
|
|
958
|
+
organizationId: number;
|
|
797
959
|
}
|
|
798
|
-
export declare class
|
|
960
|
+
export declare class BaseProgramDto {
|
|
961
|
+
type: ProgramTypesEnum;
|
|
962
|
+
name: string;
|
|
963
|
+
sport: SportsEnum;
|
|
964
|
+
minAge: string;
|
|
965
|
+
maxAge: string;
|
|
966
|
+
gender: GenderEnum;
|
|
967
|
+
level?: LevelOfPlayEnum[];
|
|
968
|
+
description?: string;
|
|
969
|
+
GL?: string;
|
|
970
|
+
status: PublishingStatusEnum;
|
|
799
971
|
organizationId: number;
|
|
972
|
+
userCreatorId: number;
|
|
973
|
+
highlights: ProgramHighlights[];
|
|
974
|
+
longDescription?: string;
|
|
975
|
+
requiredProductIds: number[];
|
|
800
976
|
}
|
|
801
|
-
export declare class
|
|
802
|
-
entityType: ResourceNameTypeEnum;
|
|
803
|
-
entityId: number;
|
|
804
|
-
organizationId?: number;
|
|
805
|
-
userId?: number;
|
|
806
|
-
customerId?: number;
|
|
807
|
-
performingUserId: number;
|
|
808
|
-
description: string;
|
|
809
|
-
actionType: ActionTypesEnum;
|
|
810
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
811
|
-
oldValue?: any;
|
|
812
|
-
newValue?: any;
|
|
977
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
813
978
|
}
|
|
814
|
-
export declare class
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
979
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
980
|
+
programId: number;
|
|
981
|
+
mainMediaId: number;
|
|
982
|
+
}
|
|
983
|
+
export declare class UpdateProgramStatusDto {
|
|
984
|
+
programId: number;
|
|
985
|
+
status: PublishingStatusEnum;
|
|
986
|
+
}
|
|
987
|
+
export declare class ProgramHighlightDto {
|
|
988
|
+
data: string;
|
|
989
|
+
ordinal: number;
|
|
990
|
+
type: ProgramHighlightTypeEnum;
|
|
991
|
+
title: string;
|
|
992
|
+
}
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
998
|
+
}
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1000
|
+
}
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
826
1004
|
}
|
|
827
1005
|
export declare class SpaceByIdDto {
|
|
828
1006
|
spaceId: number;
|
|
@@ -880,6 +1058,48 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
880
1058
|
types?: string;
|
|
881
1059
|
resourcesIds?: string;
|
|
882
1060
|
}
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class FindByUserIdDto {
|
|
1069
|
+
userId: number;
|
|
1070
|
+
}
|
|
1071
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
+
familyAccountId?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1075
|
+
organizationId: number;
|
|
1076
|
+
}
|
|
1077
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1078
|
+
entityType: ResourceNameTypeEnum;
|
|
1079
|
+
entityId: number;
|
|
1080
|
+
organizationId?: number;
|
|
1081
|
+
userId?: number;
|
|
1082
|
+
customerId?: number;
|
|
1083
|
+
performingUserId: number;
|
|
1084
|
+
description: string;
|
|
1085
|
+
actionType: ActionTypesEnum;
|
|
1086
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
+
oldValue?: any;
|
|
1088
|
+
newValue?: any;
|
|
1089
|
+
}
|
|
1090
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1092
|
+
parentId: number;
|
|
1093
|
+
dayOfWeek: number;
|
|
1094
|
+
open: string;
|
|
1095
|
+
close: string;
|
|
1096
|
+
deletedAt?: Date;
|
|
1097
|
+
program: ProgramSeason;
|
|
1098
|
+
availabilityStartDate: string;
|
|
1099
|
+
availabilityEndDate: string;
|
|
1100
|
+
proudct: Product;
|
|
1101
|
+
event: Event;
|
|
1102
|
+
}
|
|
883
1103
|
export declare class Address extends BondBaseEntity {
|
|
884
1104
|
city?: string;
|
|
885
1105
|
street?: string;
|
|
@@ -920,291 +1140,71 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
920
1140
|
sports: number | null;
|
|
921
1141
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
922
1142
|
}
|
|
923
|
-
export declare class
|
|
924
|
-
|
|
1143
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
|
+
entityType: ResourceNameTypeEnum;
|
|
1145
|
+
entityId: number;
|
|
1146
|
+
name: string;
|
|
1147
|
+
startDate: Date;
|
|
1148
|
+
endDate: Date;
|
|
1149
|
+
deletedAt?: Date;
|
|
925
1150
|
}
|
|
926
|
-
export declare class
|
|
1151
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
927
1152
|
id: number;
|
|
928
|
-
|
|
929
|
-
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
930
1155
|
}
|
|
931
|
-
export declare class
|
|
932
|
-
|
|
933
|
-
|
|
1156
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1157
|
+
reservationId?: number;
|
|
1158
|
+
color?: string;
|
|
1159
|
+
creatorId?: number;
|
|
1160
|
+
creatorType?: string;
|
|
1161
|
+
startDate?: Date | moment.Moment;
|
|
1162
|
+
endDate?: Date | moment.Moment;
|
|
1163
|
+
timezone?: string;
|
|
1164
|
+
spaceId?: number;
|
|
1165
|
+
percentage?: number;
|
|
1166
|
+
status?: string;
|
|
1167
|
+
originalSessionId?: number;
|
|
1168
|
+
isFinal?: boolean;
|
|
1169
|
+
concurrent?: number;
|
|
1170
|
+
deletedAt?: Date;
|
|
1171
|
+
publicNotes?: string;
|
|
1172
|
+
slotType?: SlotTypeEnum;
|
|
934
1173
|
}
|
|
935
|
-
export declare class
|
|
936
|
-
|
|
937
|
-
|
|
1174
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
|
+
parentId: number;
|
|
1176
|
+
parentType: ResourceNameTypeEnum;
|
|
1177
|
+
startDate: Date;
|
|
1178
|
+
endDate: Date;
|
|
1179
|
+
dayOfWeek: number;
|
|
1180
|
+
startTimeInDay: string;
|
|
1181
|
+
endTimeInDay: string;
|
|
1182
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
938
1183
|
}
|
|
939
|
-
export declare class
|
|
940
|
-
|
|
1184
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
+
area: string;
|
|
1186
|
+
key: string;
|
|
1187
|
+
value: string;
|
|
941
1188
|
}
|
|
942
|
-
export declare class
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
1189
|
+
export declare class Connection extends BondBaseEntity {
|
|
1190
|
+
connType: number | null;
|
|
1191
|
+
from: number | null;
|
|
1192
|
+
fromType: string | null;
|
|
1193
|
+
to: number | null;
|
|
1194
|
+
toType: string | null;
|
|
1195
|
+
status: number | null;
|
|
1196
|
+
creatorId: number | null;
|
|
1197
|
+
creatorType: string | null;
|
|
1198
|
+
userCreatorId: number | null;
|
|
1199
|
+
ownerId: number | null;
|
|
946
1200
|
}
|
|
947
|
-
export declare class
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
quantity?: number;
|
|
955
|
-
isPublic: boolean;
|
|
956
|
-
startDate?: Date;
|
|
957
|
-
endDate?: Date;
|
|
958
|
-
description?: string;
|
|
959
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
960
|
-
resourcesIdsToApplyOn?: number[];
|
|
961
|
-
GL?: string;
|
|
962
|
-
prices: CreatePriceDto[];
|
|
963
|
-
downpayment?: number;
|
|
964
|
-
productType: ProductTypesEnum;
|
|
965
|
-
subProductType?: string;
|
|
966
|
-
defaultForResourceId?: number;
|
|
967
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
968
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
969
|
-
variantTitleIds?: number[];
|
|
970
|
-
variants?: VariantWithPrice[];
|
|
971
|
-
variantParentId?: number;
|
|
972
|
-
isAddon?: boolean;
|
|
973
|
-
isArchive?: boolean;
|
|
974
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
975
|
-
isProRated?: boolean;
|
|
976
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
977
|
-
isTaxInclusive?: boolean;
|
|
978
|
-
tax?: number;
|
|
979
|
-
sports?: number[];
|
|
980
|
-
durationMinutes?: number;
|
|
981
|
-
durationDays?: number;
|
|
982
|
-
forms?: number[];
|
|
983
|
-
isForAllCustomers?: boolean;
|
|
984
|
-
membershipsAvailableFor?: number[];
|
|
985
|
-
customersAvailableFor?: number[];
|
|
986
|
-
addons?: createRentalProductAddonDto[];
|
|
987
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
988
|
-
}
|
|
989
|
-
export declare class VariantWithPrice {
|
|
990
|
-
variantIds: number[];
|
|
991
|
-
price: CreatePriceDto[];
|
|
992
|
-
}
|
|
993
|
-
export declare class CreatePriceDto {
|
|
994
|
-
id?: number;
|
|
995
|
-
price: number;
|
|
996
|
-
currency: CurrencyEnum;
|
|
997
|
-
name: string;
|
|
998
|
-
startDate?: Date;
|
|
999
|
-
endDate?: Date;
|
|
1000
|
-
discountValue?: number;
|
|
1001
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1002
|
-
isDefaultPriceForProduct?: boolean;
|
|
1003
|
-
}
|
|
1004
|
-
export declare class CreatePackageDto {
|
|
1005
|
-
parentProductId: number;
|
|
1006
|
-
productsData?: ProductInPackage[];
|
|
1007
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
1008
|
-
}
|
|
1009
|
-
export declare class CreatePackageToResourceDto {
|
|
1010
|
-
resourceId: number;
|
|
1011
|
-
resourceType: ResourceNameTypeEnum;
|
|
1012
|
-
isCreateToChildProducts: boolean;
|
|
1013
|
-
productsData: ProductInPackage[];
|
|
1014
|
-
}
|
|
1015
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
1016
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1017
|
-
amountInPackage?: number;
|
|
1018
|
-
level?: ProductPackageLevelEnum;
|
|
1019
|
-
}
|
|
1020
|
-
export declare class ExistingProductToPackageDto {
|
|
1021
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1022
|
-
id: number;
|
|
1023
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1024
|
-
level?: ProductPackageLevelEnum;
|
|
1025
|
-
}
|
|
1026
|
-
export declare class ConnectProductResourceDto {
|
|
1027
|
-
productId: number;
|
|
1028
|
-
resourceType: ResourceNameTypeEnum;
|
|
1029
|
-
resourceIds: number[];
|
|
1030
|
-
}
|
|
1031
|
-
export declare class ReturnRequiredProductsDto {
|
|
1032
|
-
userId: number;
|
|
1033
|
-
productId: number;
|
|
1034
|
-
}
|
|
1035
|
-
export declare class FindByProductUserIdsDto {
|
|
1036
|
-
userId: number;
|
|
1037
|
-
organizationId: number;
|
|
1038
|
-
}
|
|
1039
|
-
export declare class AddRequiredProductsDto {
|
|
1040
|
-
productId: number;
|
|
1041
|
-
requiredProductIds: number[];
|
|
1042
|
-
}
|
|
1043
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
1044
|
-
productIds?: number[];
|
|
1045
|
-
includePrices?: boolean;
|
|
1046
|
-
productType?: ProductTypesEnum;
|
|
1047
|
-
includeAddons?: string;
|
|
1048
|
-
}
|
|
1049
|
-
export declare class GetByOrganizationIdDto {
|
|
1050
|
-
organizationId?: number;
|
|
1051
|
-
}
|
|
1052
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
1053
|
-
orderId?: number;
|
|
1054
|
-
}
|
|
1055
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
1056
|
-
productIds?: string;
|
|
1057
|
-
includePrices?: boolean;
|
|
1058
|
-
productType?: string;
|
|
1059
|
-
productSubType?: string;
|
|
1060
|
-
search?: string;
|
|
1061
|
-
includeAddons?: boolean;
|
|
1062
|
-
includeArchived?: boolean;
|
|
1063
|
-
includeAllData?: boolean;
|
|
1064
|
-
resourceIds?: string;
|
|
1065
|
-
sports?: string;
|
|
1066
|
-
}
|
|
1067
|
-
export declare class GetAllVariantTitlesDto {
|
|
1068
|
-
organizationId: number;
|
|
1069
|
-
}
|
|
1070
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
1071
|
-
organizationId: number;
|
|
1072
|
-
}
|
|
1073
|
-
export declare class CreateVariantTitleDto {
|
|
1074
|
-
organizationId: number;
|
|
1075
|
-
title: string;
|
|
1076
|
-
variants: string[];
|
|
1077
|
-
}
|
|
1078
|
-
export declare class UpdateVariantTitleDto {
|
|
1079
|
-
organizationId: number;
|
|
1080
|
-
titleId: number;
|
|
1081
|
-
title: string;
|
|
1082
|
-
variants: string[];
|
|
1083
|
-
}
|
|
1084
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1085
|
-
customerId: number;
|
|
1086
|
-
}
|
|
1087
|
-
export declare class GetExtraProductDataDto {
|
|
1088
|
-
isPublic?: boolean;
|
|
1089
|
-
isGetByChildResources?: boolean;
|
|
1090
|
-
isGetEntitlePricing?: boolean;
|
|
1091
|
-
isGetAddOns?: boolean;
|
|
1092
|
-
includeResources?: boolean;
|
|
1093
|
-
includeArchived?: boolean;
|
|
1094
|
-
}
|
|
1095
|
-
export declare class GetBySessionType {
|
|
1096
|
-
sessionType: 'event' | 'segment';
|
|
1097
|
-
}
|
|
1098
|
-
export declare class CreateSubcategoryDto {
|
|
1099
|
-
productType: ProductTypesEnum;
|
|
1100
|
-
name: string;
|
|
1101
|
-
stationId?: number;
|
|
1102
|
-
ordinal?: number;
|
|
1103
|
-
}
|
|
1104
|
-
export declare class CreateSubcategoriesDto {
|
|
1105
|
-
subcategories: CreateSubcategoryDto[];
|
|
1106
|
-
}
|
|
1107
|
-
export declare class UpdateSubcategoryDto {
|
|
1108
|
-
id: number;
|
|
1109
|
-
productType?: ProductTypesEnum;
|
|
1110
|
-
name?: string;
|
|
1111
|
-
stationId?: number;
|
|
1112
|
-
ordinal?: number;
|
|
1113
|
-
}
|
|
1114
|
-
export declare class GetSubcategoryDto {
|
|
1115
|
-
stationId?: number;
|
|
1116
|
-
}
|
|
1117
|
-
export declare class SetStationSubcategoriesDto {
|
|
1118
|
-
stationId: number;
|
|
1119
|
-
subcategoryIds?: number[];
|
|
1120
|
-
categories?: string[];
|
|
1121
|
-
}
|
|
1122
|
-
export declare class createRentalProductAddonDto {
|
|
1123
|
-
productId: number;
|
|
1124
|
-
price: number;
|
|
1125
|
-
isFlatPrice: boolean;
|
|
1126
|
-
isMandatory: boolean;
|
|
1127
|
-
level: ProductPackageLevelEnum;
|
|
1128
|
-
}
|
|
1129
|
-
export declare class createProductAvailabilityTimesDto {
|
|
1130
|
-
availabilityStartDate?: string;
|
|
1131
|
-
availabilityEndDate?: string;
|
|
1132
|
-
daysOfWeek: number[];
|
|
1133
|
-
startTime: string;
|
|
1134
|
-
endTime: string;
|
|
1135
|
-
}
|
|
1136
|
-
export declare class createResourceDto {
|
|
1137
|
-
resourceId: number;
|
|
1138
|
-
resourceType: ResourceNameTypeEnum;
|
|
1139
|
-
}
|
|
1140
|
-
export declare class archiveDto {
|
|
1141
|
-
isArchive: boolean;
|
|
1142
|
-
}
|
|
1143
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
|
-
entityType: ResourceNameTypeEnum;
|
|
1145
|
-
entityId: number;
|
|
1146
|
-
name: string;
|
|
1147
|
-
startDate: Date;
|
|
1148
|
-
endDate: Date;
|
|
1149
|
-
deletedAt?: Date;
|
|
1150
|
-
}
|
|
1151
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
|
-
id: number;
|
|
1153
|
-
createdAt: Date;
|
|
1154
|
-
updatedAt: Date;
|
|
1155
|
-
}
|
|
1156
|
-
export declare class BookedSessions extends BondBaseEntity {
|
|
1157
|
-
reservationId?: number;
|
|
1158
|
-
color?: string;
|
|
1159
|
-
creatorId?: number;
|
|
1160
|
-
creatorType?: string;
|
|
1161
|
-
startDate?: Date | moment.Moment;
|
|
1162
|
-
endDate?: Date | moment.Moment;
|
|
1163
|
-
timezone?: string;
|
|
1164
|
-
spaceId?: number;
|
|
1165
|
-
percentage?: number;
|
|
1166
|
-
status?: string;
|
|
1167
|
-
originalSessionId?: number;
|
|
1168
|
-
isFinal?: boolean;
|
|
1169
|
-
concurrent?: number;
|
|
1170
|
-
deletedAt?: Date;
|
|
1171
|
-
publicNotes?: string;
|
|
1172
|
-
slotType?: SlotTypeEnum;
|
|
1173
|
-
}
|
|
1174
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
|
-
parentId: number;
|
|
1176
|
-
parentType: ResourceNameTypeEnum;
|
|
1177
|
-
startDate: Date;
|
|
1178
|
-
endDate: Date;
|
|
1179
|
-
dayOfWeek: number;
|
|
1180
|
-
startTimeInDay: string;
|
|
1181
|
-
endTimeInDay: string;
|
|
1182
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1183
|
-
}
|
|
1184
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
-
area: string;
|
|
1186
|
-
key: string;
|
|
1187
|
-
value: string;
|
|
1188
|
-
}
|
|
1189
|
-
export declare class Connection extends BondBaseEntity {
|
|
1190
|
-
connType: number | null;
|
|
1191
|
-
from: number | null;
|
|
1192
|
-
fromType: string | null;
|
|
1193
|
-
to: number | null;
|
|
1194
|
-
toType: string | null;
|
|
1195
|
-
status: number | null;
|
|
1196
|
-
creatorId: number | null;
|
|
1197
|
-
creatorType: string | null;
|
|
1198
|
-
userCreatorId: number | null;
|
|
1199
|
-
ownerId: number | null;
|
|
1200
|
-
}
|
|
1201
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
|
-
creditAmount: number;
|
|
1203
|
-
paymentProcessorId: string;
|
|
1204
|
-
userId: number;
|
|
1205
|
-
invoiceId: number;
|
|
1206
|
-
orderId: number;
|
|
1207
|
-
creditPaymentInvoiceId: number;
|
|
1201
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
|
+
creditAmount: number;
|
|
1203
|
+
paymentProcessorId: string;
|
|
1204
|
+
userId: number;
|
|
1205
|
+
invoiceId: number;
|
|
1206
|
+
orderId: number;
|
|
1207
|
+
creditPaymentInvoiceId: number;
|
|
1208
1208
|
}
|
|
1209
1209
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1210
1210
|
name: string | null;
|
|
@@ -1911,23 +1911,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1911
1911
|
deletedAt?: Date;
|
|
1912
1912
|
product: Product;
|
|
1913
1913
|
}
|
|
1914
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
|
-
productId: number;
|
|
1916
|
-
userId: number;
|
|
1917
|
-
user?: User;
|
|
1918
|
-
paymentStatus: PaymentStatusEnum;
|
|
1919
|
-
productName: string;
|
|
1920
|
-
productPrice: number;
|
|
1921
|
-
productQuantity: number;
|
|
1922
|
-
productQuantityLeft: number;
|
|
1923
|
-
productPriceCurrency: CurrencyEnum;
|
|
1924
|
-
ordinal?: number;
|
|
1925
|
-
purchasedResources: PurchasedResource[];
|
|
1926
|
-
product: Product;
|
|
1927
|
-
lineItem: LineItems;
|
|
1928
|
-
slots?: Slot[];
|
|
1929
|
-
addons?: Addon[];
|
|
1930
|
-
}
|
|
1931
1914
|
export declare class Program extends BondBaseEntity {
|
|
1932
1915
|
type: ProgramTypesEnum;
|
|
1933
1916
|
name: string;
|
|
@@ -1950,6 +1933,23 @@ export declare class Program extends BondBaseEntity {
|
|
|
1950
1933
|
programSeason: ProgramSeason[];
|
|
1951
1934
|
purchasedResources: PurchasedResource[];
|
|
1952
1935
|
}
|
|
1936
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1937
|
+
productId: number;
|
|
1938
|
+
userId: number;
|
|
1939
|
+
user?: User;
|
|
1940
|
+
paymentStatus: PaymentStatusEnum;
|
|
1941
|
+
productName: string;
|
|
1942
|
+
productPrice: number;
|
|
1943
|
+
productQuantity: number;
|
|
1944
|
+
productQuantityLeft: number;
|
|
1945
|
+
productPriceCurrency: CurrencyEnum;
|
|
1946
|
+
ordinal?: number;
|
|
1947
|
+
purchasedResources: PurchasedResource[];
|
|
1948
|
+
product: Product;
|
|
1949
|
+
lineItem: LineItems;
|
|
1950
|
+
slots?: Slot[];
|
|
1951
|
+
addons?: Addon[];
|
|
1952
|
+
}
|
|
1953
1953
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1954
1954
|
type: ProgramHighlightTypeEnum;
|
|
1955
1955
|
ordinal: number | null;
|
|
@@ -2052,6 +2052,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2052
2052
|
ownerId: number | null;
|
|
2053
2053
|
questionnaireId: number | null;
|
|
2054
2054
|
}
|
|
2055
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
|
+
reason: string;
|
|
2057
|
+
ordinal: number;
|
|
2058
|
+
deletedAt: Date;
|
|
2059
|
+
}
|
|
2055
2060
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2056
2061
|
resourceType: ResourceNameTypeEnum;
|
|
2057
2062
|
resourceId: number;
|
|
@@ -2063,11 +2068,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2063
2068
|
closeTime?: string;
|
|
2064
2069
|
deletedAt?: Date;
|
|
2065
2070
|
}
|
|
2066
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2067
|
-
reason: string;
|
|
2068
|
-
ordinal: number;
|
|
2069
|
-
deletedAt: Date;
|
|
2070
|
-
}
|
|
2071
2071
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2072
2072
|
name?: string;
|
|
2073
2073
|
description?: string;
|
|
@@ -2128,13 +2128,6 @@ 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
|
-
}
|
|
2138
2131
|
export declare class School extends BondBaseEntity {
|
|
2139
2132
|
name: string | null;
|
|
2140
2133
|
alias: string[] | null;
|
|
@@ -2157,6 +2150,13 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2157
2150
|
deletedAt?: Date;
|
|
2158
2151
|
purchasedResource: PurchasedResource;
|
|
2159
2152
|
}
|
|
2153
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2154
|
+
name: string;
|
|
2155
|
+
facilityId: number;
|
|
2156
|
+
parentSlotId: number;
|
|
2157
|
+
childrenSlotIds: number[];
|
|
2158
|
+
deletedAt?: Date;
|
|
2159
|
+
}
|
|
2160
2160
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2161
2161
|
name: string | null;
|
|
2162
2162
|
ordinal: number | null;
|
|
@@ -2347,890 +2347,890 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2347
2347
|
membershipCollectionId?: string;
|
|
2348
2348
|
programsCollectionId?: string;
|
|
2349
2349
|
}
|
|
2350
|
-
export
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2350
|
+
export interface IEntitlementTerms {
|
|
2351
|
+
type: EntitlementTermsTypesEnum;
|
|
2352
|
+
id?: number;
|
|
2353
|
+
value?: string;
|
|
2354
|
+
minValue?: string;
|
|
2355
|
+
maxValue?: string;
|
|
2354
2356
|
}
|
|
2355
|
-
export
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
TEAM = "team",
|
|
2359
|
-
LEAGUE = "league",
|
|
2360
|
-
USER = "user",
|
|
2361
|
-
ORGANIZATION = "organization",
|
|
2362
|
-
APP = "app",
|
|
2363
|
-
FEED = "feed",
|
|
2364
|
-
MATCH = "match",
|
|
2365
|
-
ROUND = "round",
|
|
2366
|
-
PORTAL = "portal",
|
|
2367
|
-
SEASON = "season",
|
|
2368
|
-
TOURNAMENT = "tournament",
|
|
2369
|
-
MEMBERSHIP = "membership",
|
|
2370
|
-
DIVISION = "division",
|
|
2371
|
-
GAMESLOT = "gameslot",
|
|
2372
|
-
SPACE = "space",
|
|
2373
|
-
RESERVATION = "reservation",
|
|
2374
|
-
ORDER = "order",
|
|
2375
|
-
CUSTOMER = "customer",
|
|
2376
|
-
PACKAGE = "package",
|
|
2377
|
-
FACILITY = "facility",
|
|
2378
|
-
PROGRAM = "program",
|
|
2379
|
-
PROGRAM_SEASON = "program_season",
|
|
2380
|
-
PRODUCT = "product",
|
|
2381
|
-
GROUP = "group",
|
|
2382
|
-
VARIANT = "variant",
|
|
2383
|
-
SLOT = "slot",
|
|
2384
|
-
ADDON = "addon"
|
|
2357
|
+
export interface IQuestionAnswerObject {
|
|
2358
|
+
questionId: number;
|
|
2359
|
+
value: string;
|
|
2385
2360
|
}
|
|
2386
|
-
export
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2361
|
+
export interface ILowestPriceForItem {
|
|
2362
|
+
itemId: number;
|
|
2363
|
+
itemType: ResourceNameTypeEnum;
|
|
2364
|
+
groupId: number;
|
|
2365
|
+
groupName?: string;
|
|
2366
|
+
price: number;
|
|
2367
|
+
overridesPrice: boolean;
|
|
2391
2368
|
}
|
|
2392
|
-
export
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2369
|
+
export interface IResourcesAvailability {
|
|
2370
|
+
resourceType: ResourceNameTypeEnum;
|
|
2371
|
+
quantity: number;
|
|
2372
|
+
resourcesIds: number[];
|
|
2373
|
+
isPunchCard: boolean;
|
|
2374
|
+
resources?: any[];
|
|
2396
2375
|
}
|
|
2397
|
-
export
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
ADVANCED = 3,
|
|
2401
|
-
SEMIPRO = 4,
|
|
2402
|
-
SPECTATOR = 5
|
|
2376
|
+
export interface IPackageResponse {
|
|
2377
|
+
parentProduct: Product;
|
|
2378
|
+
children: IChildProduct[];
|
|
2403
2379
|
}
|
|
2404
|
-
export
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
CLINIC = 3,
|
|
2409
|
-
CAMP = 4,
|
|
2410
|
-
LESSON = 5,
|
|
2411
|
-
CLUB_TEAM = 6
|
|
2380
|
+
export interface IChildProduct {
|
|
2381
|
+
product: Product;
|
|
2382
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2383
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2412
2384
|
}
|
|
2413
|
-
export
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2385
|
+
export interface ISeasonAttendeeInfo {
|
|
2386
|
+
applicationAnswers: Answer[];
|
|
2387
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2388
|
+
invoices: Order[];
|
|
2389
|
+
payments: Invoice[];
|
|
2390
|
+
products: Product[];
|
|
2391
|
+
redeemNext: ProductsUsers;
|
|
2417
2392
|
}
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
LACROSSE = 12,
|
|
2431
|
-
PINGPONG = 13,
|
|
2432
|
-
RUGBY = 14,
|
|
2433
|
-
SKEEBALL = 15,
|
|
2434
|
-
TENNIS = 16,
|
|
2435
|
-
VOLLEYBALL = 17,
|
|
2436
|
-
WIFFLEBALL = 18,
|
|
2437
|
-
BADMINTON = 19,
|
|
2438
|
-
FITNESS = 20,
|
|
2439
|
-
GOLF = 21,
|
|
2440
|
-
PILATES = 22,
|
|
2441
|
-
RUNNING = 23,
|
|
2442
|
-
SKIING = 24,
|
|
2443
|
-
SNOWBOARDING = 25,
|
|
2444
|
-
YOGA = 26,
|
|
2445
|
-
BROOMBALL = 27,
|
|
2446
|
-
CRICKET = 28,
|
|
2447
|
-
CROSSFIT = 29,
|
|
2448
|
-
CYCLING = 30,
|
|
2449
|
-
FIELD_HOCKEY = 31,
|
|
2450
|
-
RACQUETBALL = 32,
|
|
2451
|
-
SPINNING = 33,
|
|
2452
|
-
SQUASH = 34,
|
|
2453
|
-
SURFING = 35,
|
|
2454
|
-
SWIMMING = 36,
|
|
2455
|
-
WIND_SURFING = 37,
|
|
2456
|
-
ADVENTURE = 38,
|
|
2457
|
-
BOXING = 39,
|
|
2458
|
-
BASEBALL = 40,
|
|
2459
|
-
DANCE = 41,
|
|
2460
|
-
KICKBOXING = 42,
|
|
2461
|
-
MARTIAL_ARTS = 43,
|
|
2462
|
-
OUTDOORS = 44,
|
|
2463
|
-
ROWING = 45,
|
|
2464
|
-
SAILING = 46,
|
|
2465
|
-
SUP = 47,
|
|
2466
|
-
TRIATHLON = 48,
|
|
2467
|
-
HANDBALL = 49,
|
|
2468
|
-
CATCHBALL = 50,
|
|
2469
|
-
BLITZBALL = 51,
|
|
2470
|
-
ROLLER_DERBY = 52,
|
|
2471
|
-
ICE_SKATING = 53,
|
|
2472
|
-
PICKLEBALL = 54,
|
|
2473
|
-
AXE_THROWING = 55,
|
|
2474
|
-
FURSAL = 56,
|
|
2475
|
-
BIRTHDAY = 57,
|
|
2476
|
-
CORPRATE_EVENTS = 58,
|
|
2477
|
-
OTHER = 999
|
|
2393
|
+
export interface ISeasonAttendeeListInfo {
|
|
2394
|
+
userId: number;
|
|
2395
|
+
userFirstName: string;
|
|
2396
|
+
userLastName: string;
|
|
2397
|
+
userGender: number;
|
|
2398
|
+
userBirthDate: Date;
|
|
2399
|
+
userProfilePicUrl: string;
|
|
2400
|
+
customerId: number;
|
|
2401
|
+
customerEmail: string;
|
|
2402
|
+
paymentStatus: string;
|
|
2403
|
+
productName: string;
|
|
2404
|
+
punchCard: boolean;
|
|
2478
2405
|
}
|
|
2479
|
-
export declare
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
CLOSED = 3,
|
|
2483
|
-
CANCELLED = 4,
|
|
2484
|
-
ARCHIVE = 5,
|
|
2485
|
-
UNPUBLISHED = 6
|
|
2406
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2407
|
+
segmentType: ResourceNameTypeEnum;
|
|
2408
|
+
participantRegisteredDate?: string;
|
|
2486
2409
|
}
|
|
2487
|
-
export declare
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
MAXAGE = 3,
|
|
2491
|
-
GENDER = 4,
|
|
2492
|
-
LEVELOFPLAY = 5,
|
|
2493
|
-
GAMESSEASON = 6,
|
|
2494
|
-
MINWEEK = 7,
|
|
2495
|
-
SURFACE = 8,
|
|
2496
|
-
FORMAT = 9,
|
|
2497
|
-
PLAYERS_PER_TEAM = 10,
|
|
2498
|
-
MATCH_LENGTH = 12
|
|
2410
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2411
|
+
segmentType: ResourceNameTypeEnum;
|
|
2412
|
+
participantRegisteredDate?: string;
|
|
2499
2413
|
}
|
|
2500
|
-
export
|
|
2501
|
-
|
|
2502
|
-
ACCEPTED = 2,
|
|
2503
|
-
DECLINED = 3
|
|
2414
|
+
export interface ITokenResonse {
|
|
2415
|
+
token: string;
|
|
2504
2416
|
}
|
|
2505
|
-
export
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
VOID = "void"
|
|
2417
|
+
export interface IStripeBondInvoices {
|
|
2418
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2419
|
+
bondPaidInvoice: Invoice;
|
|
2420
|
+
order?: Order;
|
|
2421
|
+
customer?: Customer;
|
|
2511
2422
|
}
|
|
2512
|
-
export
|
|
2513
|
-
|
|
2423
|
+
export interface IPartialPaymentData {
|
|
2424
|
+
purchasingUserId: number;
|
|
2425
|
+
paymentData: PurchasePaymentDto;
|
|
2426
|
+
amountToPay: number;
|
|
2514
2427
|
}
|
|
2515
|
-
export
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
CANCELED = "Canceled"
|
|
2428
|
+
export interface IPayment {
|
|
2429
|
+
id: number;
|
|
2430
|
+
total: number;
|
|
2431
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2432
|
+
status: PaymentStatusEnum;
|
|
2433
|
+
createdAt: Date;
|
|
2434
|
+
invoices: number[];
|
|
2523
2435
|
}
|
|
2524
|
-
export
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
PENDING = 8
|
|
2436
|
+
export interface IPaginationData<T> {
|
|
2437
|
+
meta: {
|
|
2438
|
+
totalItems: number;
|
|
2439
|
+
itemsPerPage: number;
|
|
2440
|
+
totalPages: number;
|
|
2441
|
+
currentPage: number;
|
|
2442
|
+
};
|
|
2443
|
+
data: T[];
|
|
2533
2444
|
}
|
|
2534
|
-
export
|
|
2535
|
-
|
|
2536
|
-
|
|
2445
|
+
export interface IPricesOfProductsResults {
|
|
2446
|
+
productId: number;
|
|
2447
|
+
userId: number;
|
|
2448
|
+
price: number;
|
|
2449
|
+
groupId?: number;
|
|
2450
|
+
groupName?: string;
|
|
2451
|
+
originalPrice?: number;
|
|
2452
|
+
priceWithoutTax: number;
|
|
2453
|
+
tax: number;
|
|
2454
|
+
isTaxInclusive: boolean;
|
|
2537
2455
|
}
|
|
2538
|
-
export
|
|
2539
|
-
|
|
2540
|
-
|
|
2456
|
+
export interface IPaymentMethodToFundLeft {
|
|
2457
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2458
|
+
paymentMethodId: string;
|
|
2459
|
+
fundLeft: number;
|
|
2460
|
+
ccLast4?: string;
|
|
2461
|
+
ccBrand?: string;
|
|
2541
2462
|
}
|
|
2542
|
-
export
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
EVENT = "event"
|
|
2463
|
+
export interface IVariantsAndTitle {
|
|
2464
|
+
title: VariantTitle;
|
|
2465
|
+
variants: Variant[];
|
|
2546
2466
|
}
|
|
2547
|
-
export
|
|
2548
|
-
|
|
2467
|
+
export interface IProgramSeasonActivityTimes {
|
|
2468
|
+
dayOfWeek: number;
|
|
2469
|
+
open: string;
|
|
2470
|
+
close: string;
|
|
2549
2471
|
}
|
|
2550
|
-
export
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2472
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2473
|
+
date: string;
|
|
2474
|
+
startTime: string;
|
|
2475
|
+
endTime: string;
|
|
2554
2476
|
}
|
|
2555
|
-
export
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
GOODS = "goods",
|
|
2560
|
-
PACKAGE = "package",
|
|
2561
|
-
REFUND_COMPENSATION = "refund",
|
|
2562
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2563
|
-
PETTY_CASH = "petty_cash",
|
|
2564
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2565
|
-
TAX = "tax"
|
|
2477
|
+
export interface IBlockedDates {
|
|
2478
|
+
name: string;
|
|
2479
|
+
startDate: Date;
|
|
2480
|
+
endDate: Date;
|
|
2566
2481
|
}
|
|
2567
|
-
export
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2482
|
+
export interface ISingleMemberForRenewal {
|
|
2483
|
+
member_id: number;
|
|
2484
|
+
member_membershipId: number;
|
|
2485
|
+
member_userId: number;
|
|
2486
|
+
member_nextPaymentMethodId?: string;
|
|
2487
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2488
|
+
member_answerTitleIds?: number[];
|
|
2489
|
+
member_organizationId: number;
|
|
2490
|
+
line_paidAmount: number;
|
|
2491
|
+
line_productId: number;
|
|
2492
|
+
order_payingUserId: number;
|
|
2493
|
+
order_paymentMethodId: string;
|
|
2494
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
2495
|
+
endDate: Date;
|
|
2496
|
+
membership_name: string;
|
|
2497
|
+
user_firstName: string;
|
|
2498
|
+
user_lastName: string;
|
|
2499
|
+
user_email: string;
|
|
2572
2500
|
}
|
|
2573
|
-
export
|
|
2574
|
-
|
|
2575
|
-
|
|
2501
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2502
|
+
package_parentProductId: number;
|
|
2503
|
+
line2_paidAmount: number;
|
|
2504
|
+
familyid: number;
|
|
2505
|
+
order_id: number;
|
|
2576
2506
|
}
|
|
2577
|
-
export
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2507
|
+
export interface IResourceRegistrationData {
|
|
2508
|
+
id: number;
|
|
2509
|
+
resourceType: ResourceNameTypeEnum;
|
|
2510
|
+
openNumDays?: number;
|
|
2511
|
+
openNumMinutes?: number;
|
|
2512
|
+
openTime?: string;
|
|
2513
|
+
closeNumDays?: number;
|
|
2514
|
+
closeNumMinutes?: number;
|
|
2515
|
+
closeTime?: string;
|
|
2516
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2581
2517
|
}
|
|
2582
|
-
export
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
CHECK = "check",
|
|
2587
|
-
BALANCE = "balance",
|
|
2588
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2589
|
-
OTHER = "other",
|
|
2590
|
-
MIGRATED = "migrated",
|
|
2591
|
-
VOID = "void"
|
|
2518
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2519
|
+
id: number;
|
|
2520
|
+
startDate: string;
|
|
2521
|
+
startTime: string;
|
|
2592
2522
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2523
|
+
export interface IRegistrationConstraintsSetting {
|
|
2524
|
+
numDays?: number;
|
|
2525
|
+
numMinutes?: number;
|
|
2596
2526
|
}
|
|
2597
|
-
export
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2527
|
+
export interface IAttendeeDataToNotify {
|
|
2528
|
+
firstName: string;
|
|
2529
|
+
lastName: string;
|
|
2530
|
+
email: string;
|
|
2531
|
+
sessionName: string;
|
|
2532
|
+
parentSessionName?: string;
|
|
2533
|
+
organizationName: string;
|
|
2534
|
+
programName: string;
|
|
2601
2535
|
}
|
|
2602
|
-
export
|
|
2603
|
-
|
|
2604
|
-
|
|
2536
|
+
export interface IEventInSchedule {
|
|
2537
|
+
eventId: number;
|
|
2538
|
+
eventName: string;
|
|
2539
|
+
eventStartDate: string;
|
|
2540
|
+
eventEndDate: string;
|
|
2541
|
+
eventStartTime: string;
|
|
2542
|
+
eventEndTime: string;
|
|
2543
|
+
programId: number;
|
|
2544
|
+
programName: string;
|
|
2545
|
+
programType: ProgramTypesEnum;
|
|
2546
|
+
sessionId: number;
|
|
2547
|
+
sessionName: string;
|
|
2548
|
+
sports: number;
|
|
2549
|
+
spaces: {
|
|
2550
|
+
spaceId: number;
|
|
2551
|
+
spaceName: string;
|
|
2552
|
+
}[];
|
|
2553
|
+
status?: RegistrationValidationStatusEnum;
|
|
2605
2554
|
}
|
|
2606
|
-
export
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2555
|
+
export interface ISlotInSchedule {
|
|
2556
|
+
facilityId: number;
|
|
2557
|
+
facilityName: string;
|
|
2558
|
+
spaces: ISpaceWithSlots[];
|
|
2610
2559
|
}
|
|
2611
|
-
export
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2560
|
+
export interface ISpaceWithSlots {
|
|
2561
|
+
id: number;
|
|
2562
|
+
name: string;
|
|
2563
|
+
slots: ISlotReservationData[];
|
|
2615
2564
|
}
|
|
2616
|
-
export
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2565
|
+
export interface ISlotReservationData {
|
|
2566
|
+
reservationId: number;
|
|
2567
|
+
reservationName: string;
|
|
2568
|
+
date: string;
|
|
2569
|
+
startTime: string;
|
|
2570
|
+
endTime: string;
|
|
2571
|
+
notes: string;
|
|
2572
|
+
spaceId: number;
|
|
2573
|
+
isRental: boolean;
|
|
2574
|
+
slotType: SlotTypeEnum;
|
|
2575
|
+
slotId: number;
|
|
2576
|
+
eventId: number;
|
|
2621
2577
|
}
|
|
2622
|
-
export
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2578
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2579
|
+
parentSessionId: number;
|
|
2580
|
+
parentSessionName: string;
|
|
2581
|
+
eventTimezone: string;
|
|
2582
|
+
maxParticipants: number;
|
|
2583
|
+
maxMaleParticipants: number;
|
|
2584
|
+
maxFemaleParticipants: number;
|
|
2585
|
+
isPunchCard: boolean;
|
|
2626
2586
|
}
|
|
2627
|
-
export
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
}
|
|
2632
|
-
export declare enum TeamCanJoinEnum {
|
|
2633
|
-
ANYONE = "anyone",
|
|
2634
|
-
BY_INVITE = "byInvite",
|
|
2635
|
-
CAPTAIN_APPROVAL = "captainApproval"
|
|
2587
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2588
|
+
id: number;
|
|
2589
|
+
name: string;
|
|
2590
|
+
bookingCreatorId: number;
|
|
2636
2591
|
}
|
|
2637
|
-
export
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2592
|
+
export interface IRawSlotInSchedule {
|
|
2593
|
+
startDate: string;
|
|
2594
|
+
endDate: string;
|
|
2595
|
+
startTime: string;
|
|
2596
|
+
endTime: string;
|
|
2597
|
+
reservationId: number;
|
|
2598
|
+
eventTitle: string;
|
|
2599
|
+
publicNotes: string;
|
|
2600
|
+
spaceId: number;
|
|
2601
|
+
creatorType: ResourceNameTypeEnum;
|
|
2602
|
+
slotType: SlotTypeEnum;
|
|
2603
|
+
slotId: number;
|
|
2604
|
+
eventId: number;
|
|
2644
2605
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2606
|
+
export interface IPurchasedResourcesRaw {
|
|
2607
|
+
purchasedId: number;
|
|
2608
|
+
purchasedProductUserId: number;
|
|
2609
|
+
purchasedResourceId: number;
|
|
2610
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2611
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2612
|
+
pUserId: number;
|
|
2613
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2614
|
+
pUserProductId: number;
|
|
2615
|
+
pUserProductName: string;
|
|
2616
|
+
pUserProductPrice: number;
|
|
2617
|
+
pUserProductPriceCurrency: string;
|
|
2618
|
+
pUserProductQuantity: number;
|
|
2619
|
+
pUserProductQuantityLeft: number;
|
|
2620
|
+
pUserUserId: number;
|
|
2648
2621
|
}
|
|
2649
|
-
export
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2622
|
+
export interface IUsersPasses {
|
|
2623
|
+
userId: number;
|
|
2624
|
+
userFirstName: string;
|
|
2625
|
+
userLastName: string;
|
|
2626
|
+
organizationId: number;
|
|
2627
|
+
programId: number;
|
|
2628
|
+
programName: string;
|
|
2629
|
+
sessionId: number;
|
|
2630
|
+
sessionName: string;
|
|
2631
|
+
productId: number;
|
|
2632
|
+
productName: string;
|
|
2633
|
+
productUserId: number;
|
|
2634
|
+
purchaseDate: Date;
|
|
2635
|
+
passesLeft: number;
|
|
2657
2636
|
}
|
|
2658
|
-
export
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2637
|
+
export interface ISessionsLandingPage {
|
|
2638
|
+
sessionId: number;
|
|
2639
|
+
name: string;
|
|
2640
|
+
startDate: Date;
|
|
2641
|
+
endDate: Date;
|
|
2642
|
+
registrationStartDate: Date;
|
|
2643
|
+
registrationEndDate: Date;
|
|
2644
|
+
sport: SportsEnum;
|
|
2645
|
+
minAge: string;
|
|
2646
|
+
maxAge: string;
|
|
2647
|
+
maxParticipants?: number;
|
|
2648
|
+
gender: GenderEnum;
|
|
2649
|
+
activityTimes: ActivityTimes[];
|
|
2650
|
+
earlyRegistrationStartDate?: Date;
|
|
2651
|
+
earlyRegistrationEndDate?: Date;
|
|
2652
|
+
lateRegistrationStartDate?: Date;
|
|
2653
|
+
lateRegistrationEndDate?: Date;
|
|
2654
|
+
attendeeCount?: number;
|
|
2655
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2663
2656
|
}
|
|
2664
|
-
export
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2657
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2658
|
+
hasRequiredMembership: boolean;
|
|
2659
|
+
hasEntitledPricing: boolean;
|
|
2660
|
+
lowestPrice?: number;
|
|
2661
|
+
products?: ISessionLandingPageProduct[];
|
|
2668
2662
|
}
|
|
2669
|
-
export
|
|
2670
|
-
|
|
2671
|
-
|
|
2663
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2664
|
+
hasRequiredMembership: boolean;
|
|
2665
|
+
hasEntitledPricing: boolean;
|
|
2666
|
+
products?: ISessionLandingPageProduct[];
|
|
2667
|
+
segments?: Event[] | ProgramSeason[];
|
|
2668
|
+
programName: string;
|
|
2669
|
+
programId: number;
|
|
2670
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2671
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2672
2672
|
}
|
|
2673
|
-
export
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2673
|
+
export interface ISlimAddons {
|
|
2674
|
+
addons?: {
|
|
2675
|
+
id: number;
|
|
2676
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2677
|
+
name: string;
|
|
2678
|
+
productType?: ProductTypesEnum;
|
|
2679
|
+
productSubType?: string;
|
|
2680
|
+
}[];
|
|
2679
2681
|
}
|
|
2680
|
-
export
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
PAID_PARKING = 12,
|
|
2693
|
-
ACCESSIBLE = 13
|
|
2682
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2683
|
+
id: number;
|
|
2684
|
+
name: string;
|
|
2685
|
+
startDate?: Date;
|
|
2686
|
+
endDate?: Date;
|
|
2687
|
+
downpayment?: number;
|
|
2688
|
+
description?: string;
|
|
2689
|
+
prices: Price[];
|
|
2690
|
+
productSubType?: ProductSubTypesEnum;
|
|
2691
|
+
punchCard: boolean;
|
|
2692
|
+
isAddon: boolean;
|
|
2693
|
+
defaultPriceId?: number;
|
|
2694
2694
|
}
|
|
2695
|
-
export
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
DIAMOND = "diamond",
|
|
2700
|
-
RINK = "rink",
|
|
2701
|
-
STUDIO = "studio",
|
|
2702
|
-
POOL = "pool",
|
|
2703
|
-
BATTING_CAGE = "batting cage",
|
|
2704
|
-
SHELTER = "shelter",
|
|
2705
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2695
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2696
|
+
destinationId?: string;
|
|
2697
|
+
stripeCustomerId?: string;
|
|
2698
|
+
fee?: number;
|
|
2706
2699
|
}
|
|
2707
|
-
export
|
|
2708
|
-
|
|
2700
|
+
export interface IReservationCreatorData {
|
|
2701
|
+
type: ResourceNameTypeEnum;
|
|
2702
|
+
id: number;
|
|
2703
|
+
organizationId: number;
|
|
2704
|
+
startDate: string;
|
|
2705
|
+
endDate: string;
|
|
2706
|
+
sportId: number;
|
|
2709
2707
|
}
|
|
2710
|
-
export declare enum
|
|
2711
|
-
|
|
2712
|
-
|
|
2708
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2709
|
+
QUESTION = "question",
|
|
2710
|
+
CITY = "city",
|
|
2711
|
+
MEMBERSHIP = "membership"
|
|
2713
2712
|
}
|
|
2714
|
-
export declare enum
|
|
2715
|
-
|
|
2716
|
-
|
|
2713
|
+
export declare enum ResourceNameTypeEnum {
|
|
2714
|
+
EVENT = "event",
|
|
2715
|
+
VENUE = "venue",
|
|
2716
|
+
TEAM = "team",
|
|
2717
|
+
LEAGUE = "league",
|
|
2718
|
+
USER = "user",
|
|
2719
|
+
ORGANIZATION = "organization",
|
|
2720
|
+
APP = "app",
|
|
2721
|
+
FEED = "feed",
|
|
2722
|
+
MATCH = "match",
|
|
2723
|
+
ROUND = "round",
|
|
2724
|
+
PORTAL = "portal",
|
|
2725
|
+
SEASON = "season",
|
|
2726
|
+
TOURNAMENT = "tournament",
|
|
2727
|
+
MEMBERSHIP = "membership",
|
|
2728
|
+
DIVISION = "division",
|
|
2729
|
+
GAMESLOT = "gameslot",
|
|
2730
|
+
SPACE = "space",
|
|
2731
|
+
RESERVATION = "reservation",
|
|
2732
|
+
ORDER = "order",
|
|
2733
|
+
CUSTOMER = "customer",
|
|
2734
|
+
PACKAGE = "package",
|
|
2735
|
+
FACILITY = "facility",
|
|
2736
|
+
PROGRAM = "program",
|
|
2737
|
+
PROGRAM_SEASON = "program_season",
|
|
2738
|
+
PRODUCT = "product",
|
|
2739
|
+
GROUP = "group",
|
|
2740
|
+
VARIANT = "variant",
|
|
2741
|
+
SLOT = "slot",
|
|
2742
|
+
ADDON = "addon"
|
|
2717
2743
|
}
|
|
2718
|
-
export declare enum
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
HARDWOOD = "hardwood",
|
|
2724
|
-
ASPHALT = "asphalt",
|
|
2725
|
-
SAND = "sand",
|
|
2726
|
-
ICE = "ice",
|
|
2727
|
-
SPORT_COURT = "sportCourt"
|
|
2744
|
+
export declare enum DirectBookingTypesEnum {
|
|
2745
|
+
DIRECT_FOR_ALL = "all",
|
|
2746
|
+
DIRECT_FOR_NONE = "none",
|
|
2747
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2748
|
+
NO_SETTING = "no_setting"
|
|
2728
2749
|
}
|
|
2729
|
-
export declare enum
|
|
2730
|
-
|
|
2731
|
-
|
|
2750
|
+
export declare enum GenderEnum {
|
|
2751
|
+
OTHER = 1,
|
|
2752
|
+
MALE = 2,
|
|
2753
|
+
FEMALE = 3
|
|
2732
2754
|
}
|
|
2733
|
-
export declare enum
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2755
|
+
export declare enum LevelOfPlayEnum {
|
|
2756
|
+
BEGINNER = 1,
|
|
2757
|
+
INTERMEDIATE = 2,
|
|
2758
|
+
ADVANCED = 3,
|
|
2759
|
+
SEMIPRO = 4,
|
|
2760
|
+
SPECTATOR = 5
|
|
2737
2761
|
}
|
|
2738
|
-
export declare enum
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2762
|
+
export declare enum ProgramTypesEnum {
|
|
2763
|
+
LEAGUE = 0,
|
|
2764
|
+
TOURNAMENT = 1,
|
|
2765
|
+
CLASS = 2,
|
|
2766
|
+
CLINIC = 3,
|
|
2767
|
+
CAMP = 4,
|
|
2768
|
+
LESSON = 5,
|
|
2769
|
+
CLUB_TEAM = 6
|
|
2745
2770
|
}
|
|
2746
|
-
export declare enum
|
|
2747
|
-
|
|
2748
|
-
|
|
2771
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2772
|
+
ROUND_ROBIN = 1,
|
|
2773
|
+
BRACKETS = 2,
|
|
2774
|
+
CAMP_CLINIC_CLASS = 3
|
|
2749
2775
|
}
|
|
2750
|
-
export declare enum
|
|
2751
|
-
|
|
2776
|
+
export declare enum SportsEnum {
|
|
2777
|
+
SOFTBALL = 1,
|
|
2778
|
+
BASKETBALL = 2,
|
|
2779
|
+
FOOTBALL = 3,
|
|
2780
|
+
SOCCER = 4,
|
|
2781
|
+
BOWLING = 5,
|
|
2782
|
+
BOCCEBALL = 6,
|
|
2783
|
+
CORNHOLE = 7,
|
|
2784
|
+
DODGEBALL = 8,
|
|
2785
|
+
FRISBEE = 9,
|
|
2786
|
+
HOCKEY = 10,
|
|
2787
|
+
KICKBALL = 11,
|
|
2788
|
+
LACROSSE = 12,
|
|
2789
|
+
PINGPONG = 13,
|
|
2790
|
+
RUGBY = 14,
|
|
2791
|
+
SKEEBALL = 15,
|
|
2792
|
+
TENNIS = 16,
|
|
2793
|
+
VOLLEYBALL = 17,
|
|
2794
|
+
WIFFLEBALL = 18,
|
|
2795
|
+
BADMINTON = 19,
|
|
2796
|
+
FITNESS = 20,
|
|
2797
|
+
GOLF = 21,
|
|
2798
|
+
PILATES = 22,
|
|
2799
|
+
RUNNING = 23,
|
|
2800
|
+
SKIING = 24,
|
|
2801
|
+
SNOWBOARDING = 25,
|
|
2802
|
+
YOGA = 26,
|
|
2803
|
+
BROOMBALL = 27,
|
|
2804
|
+
CRICKET = 28,
|
|
2805
|
+
CROSSFIT = 29,
|
|
2806
|
+
CYCLING = 30,
|
|
2807
|
+
FIELD_HOCKEY = 31,
|
|
2808
|
+
RACQUETBALL = 32,
|
|
2809
|
+
SPINNING = 33,
|
|
2810
|
+
SQUASH = 34,
|
|
2811
|
+
SURFING = 35,
|
|
2812
|
+
SWIMMING = 36,
|
|
2813
|
+
WIND_SURFING = 37,
|
|
2814
|
+
ADVENTURE = 38,
|
|
2815
|
+
BOXING = 39,
|
|
2816
|
+
BASEBALL = 40,
|
|
2817
|
+
DANCE = 41,
|
|
2818
|
+
KICKBOXING = 42,
|
|
2819
|
+
MARTIAL_ARTS = 43,
|
|
2820
|
+
OUTDOORS = 44,
|
|
2821
|
+
ROWING = 45,
|
|
2822
|
+
SAILING = 46,
|
|
2823
|
+
SUP = 47,
|
|
2824
|
+
TRIATHLON = 48,
|
|
2825
|
+
HANDBALL = 49,
|
|
2826
|
+
CATCHBALL = 50,
|
|
2827
|
+
BLITZBALL = 51,
|
|
2828
|
+
ROLLER_DERBY = 52,
|
|
2829
|
+
ICE_SKATING = 53,
|
|
2830
|
+
PICKLEBALL = 54,
|
|
2831
|
+
AXE_THROWING = 55,
|
|
2832
|
+
FURSAL = 56,
|
|
2833
|
+
BIRTHDAY = 57,
|
|
2834
|
+
CORPRATE_EVENTS = 58,
|
|
2835
|
+
OTHER = 999
|
|
2752
2836
|
}
|
|
2753
|
-
export declare enum
|
|
2754
|
-
|
|
2837
|
+
export declare enum PublishingStatusEnum {
|
|
2838
|
+
DRAFT = 1,
|
|
2839
|
+
PUBLISHED = 2,
|
|
2840
|
+
CLOSED = 3,
|
|
2841
|
+
CANCELLED = 4,
|
|
2842
|
+
ARCHIVE = 5,
|
|
2843
|
+
UNPUBLISHED = 6
|
|
2755
2844
|
}
|
|
2756
|
-
export declare enum
|
|
2757
|
-
|
|
2758
|
-
|
|
2845
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2846
|
+
OTHER = 1,
|
|
2847
|
+
MINAGE = 2,
|
|
2848
|
+
MAXAGE = 3,
|
|
2849
|
+
GENDER = 4,
|
|
2850
|
+
LEVELOFPLAY = 5,
|
|
2851
|
+
GAMESSEASON = 6,
|
|
2852
|
+
MINWEEK = 7,
|
|
2853
|
+
SURFACE = 8,
|
|
2854
|
+
FORMAT = 9,
|
|
2855
|
+
PLAYERS_PER_TEAM = 10,
|
|
2856
|
+
MATCH_LENGTH = 12
|
|
2759
2857
|
}
|
|
2760
|
-
export declare enum
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
CUSTOM = "custom"
|
|
2858
|
+
export declare enum RequestStatusEnum {
|
|
2859
|
+
PENDING = 1,
|
|
2860
|
+
ACCEPTED = 2,
|
|
2861
|
+
DECLINED = 3
|
|
2765
2862
|
}
|
|
2766
|
-
export declare enum
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2863
|
+
export declare enum PaymentStatusEnum {
|
|
2864
|
+
NOT_PAID = "not_paid",
|
|
2865
|
+
PARTIAL_PAYMENT = "partial",
|
|
2866
|
+
FULLY_PAID = "paid",
|
|
2867
|
+
REFUNDED = "refunded",
|
|
2868
|
+
VOID = "void"
|
|
2771
2869
|
}
|
|
2772
|
-
export declare enum
|
|
2773
|
-
|
|
2774
|
-
CLOSED = "closed",
|
|
2775
|
-
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2776
|
-
RECONCILED = "reconciled"
|
|
2870
|
+
export declare enum ReservationExtendedEnum {
|
|
2871
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2777
2872
|
}
|
|
2778
|
-
export declare
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2873
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2874
|
+
export declare enum ReservationStatusEnum {
|
|
2875
|
+
PLANNED = "Planned",
|
|
2876
|
+
APPROVED = "Approved",
|
|
2877
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2878
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2879
|
+
REJECTED = "Rejected",
|
|
2880
|
+
CANCELED = "Canceled"
|
|
2785
2881
|
}
|
|
2786
|
-
export declare enum
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2882
|
+
export declare enum PaymentStatusV1Enum {
|
|
2883
|
+
SENT_TO_CLIENT = 1,
|
|
2884
|
+
SENT_FOR_PAYMENT = 2,
|
|
2885
|
+
ACCEPTED = 3,
|
|
2886
|
+
REJECTED = 4,
|
|
2887
|
+
CANCELLED = 5,
|
|
2888
|
+
FRAUD = 6,
|
|
2889
|
+
NOT_RELEVANT = 7,
|
|
2890
|
+
PENDING = 8
|
|
2791
2891
|
}
|
|
2792
|
-
export declare enum
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
DURATION = "duration"
|
|
2892
|
+
export declare enum PaymentMethodsEnum {
|
|
2893
|
+
STRIPE = 1,
|
|
2894
|
+
CASH = 3
|
|
2796
2895
|
}
|
|
2797
|
-
export declare enum
|
|
2798
|
-
|
|
2799
|
-
|
|
2896
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2897
|
+
CHILD = "child",
|
|
2898
|
+
UPSALE = "upsale"
|
|
2800
2899
|
}
|
|
2801
|
-
export declare enum
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
MONTHLY = "monthly",
|
|
2806
|
-
YEARLY = "yearly"
|
|
2900
|
+
export declare enum AddonTimePeriodEnum {
|
|
2901
|
+
FULL = "full",
|
|
2902
|
+
SESSION = "session",
|
|
2903
|
+
EVENT = "event"
|
|
2807
2904
|
}
|
|
2808
|
-
export declare enum
|
|
2809
|
-
|
|
2810
|
-
AFTER = 2,
|
|
2811
|
-
AT_THE_BEGINING = 3,
|
|
2812
|
-
AT_THE_END = 4
|
|
2905
|
+
export declare enum CurrencyEnum {
|
|
2906
|
+
USD = "USD"
|
|
2813
2907
|
}
|
|
2814
|
-
export declare enum
|
|
2815
|
-
|
|
2816
|
-
|
|
2908
|
+
export declare enum NotificationTypeEnum {
|
|
2909
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2910
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2911
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2817
2912
|
}
|
|
2818
|
-
export declare enum
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2913
|
+
export declare enum ProductTypesEnum {
|
|
2914
|
+
RESERVATION = "reservation",
|
|
2915
|
+
REGISTRATION = "registration",
|
|
2916
|
+
MEMBERSHIP = "membership",
|
|
2917
|
+
GOODS = "goods",
|
|
2918
|
+
PACKAGE = "package",
|
|
2919
|
+
REFUND_COMPENSATION = "refund",
|
|
2920
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2921
|
+
PETTY_CASH = "petty_cash",
|
|
2922
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2923
|
+
TAX = "tax"
|
|
2822
2924
|
}
|
|
2823
|
-
export declare enum
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
FRIDAY = 6,
|
|
2829
|
-
SATURDAY = 7,
|
|
2830
|
-
SUNDAY = 8
|
|
2925
|
+
export declare enum OrderStatusEnum {
|
|
2926
|
+
ACTIVE = "active",
|
|
2927
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2928
|
+
WAITING_CLIENT = "waitingClient",
|
|
2929
|
+
CANCELED = "canceled"
|
|
2831
2930
|
}
|
|
2832
|
-
export declare enum
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
YES = "yes"
|
|
2931
|
+
export declare enum LineItemsStatusEnum {
|
|
2932
|
+
USER_PRODUCT = "UserProduct",
|
|
2933
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2836
2934
|
}
|
|
2837
|
-
export declare enum
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2935
|
+
export declare enum ProductSubTypesEnum {
|
|
2936
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2937
|
+
SEASON_TEAM = "season_team",
|
|
2938
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2841
2939
|
}
|
|
2842
|
-
export declare enum
|
|
2843
|
-
|
|
2844
|
-
|
|
2940
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2941
|
+
CREDIT_CARD = "card",
|
|
2942
|
+
ACH = "ach",
|
|
2943
|
+
CASH = "cash",
|
|
2944
|
+
CHECK = "check",
|
|
2945
|
+
BALANCE = "balance",
|
|
2946
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2947
|
+
OTHER = "other",
|
|
2948
|
+
MIGRATED = "migrated",
|
|
2949
|
+
VOID = "void"
|
|
2845
2950
|
}
|
|
2846
|
-
export declare enum
|
|
2847
|
-
|
|
2848
|
-
|
|
2951
|
+
export declare enum RefundTypeEnum {
|
|
2952
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2953
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2849
2954
|
}
|
|
2850
|
-
export declare enum
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2855
|
-
APPEND = "append"
|
|
2955
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2956
|
+
INDIVIDUAL = "individual",
|
|
2957
|
+
FAMILY = "family",
|
|
2958
|
+
ORGANIZATION = "organization"
|
|
2856
2959
|
}
|
|
2857
|
-
export declare enum
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
2960
|
+
export declare enum MembershipTypeEnum {
|
|
2961
|
+
FIXED = "fix_membership",
|
|
2962
|
+
ROLLING = "rolling_membership"
|
|
2861
2963
|
}
|
|
2862
|
-
export declare enum
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2964
|
+
export declare enum CustomerTypeEnum {
|
|
2965
|
+
USER = "user",
|
|
2966
|
+
FAMILY = "family",
|
|
2967
|
+
ORGANIZATION = "organization"
|
|
2866
2968
|
}
|
|
2867
|
-
export declare enum
|
|
2868
|
-
|
|
2869
|
-
|
|
2969
|
+
export declare enum GroupStatusEnum {
|
|
2970
|
+
ACTIVE = 1,
|
|
2971
|
+
INACTIVE = 2,
|
|
2972
|
+
DRAFT = 3
|
|
2870
2973
|
}
|
|
2871
|
-
export declare enum
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2974
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
2975
|
+
FUTURE = "future",
|
|
2976
|
+
SUCCEEDED = "succeeded",
|
|
2977
|
+
FAILED = "failed",
|
|
2875
2978
|
CANCELED = "canceled"
|
|
2876
2979
|
}
|
|
2877
|
-
export
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
minValue?: string;
|
|
2882
|
-
maxValue?: string;
|
|
2883
|
-
}
|
|
2884
|
-
export interface IQuestionAnswerObject {
|
|
2885
|
-
questionId: number;
|
|
2886
|
-
value: string;
|
|
2980
|
+
export declare enum EntryStatusEnum {
|
|
2981
|
+
ENTERED = 1,
|
|
2982
|
+
NOT_ENTERED = 2,
|
|
2983
|
+
CANCELED = 3
|
|
2887
2984
|
}
|
|
2888
|
-
export
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
groupName?: string;
|
|
2893
|
-
price: number;
|
|
2894
|
-
overridesPrice: boolean;
|
|
2985
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
2986
|
+
ACTIVE = 1,
|
|
2987
|
+
MOVED = 2,
|
|
2988
|
+
CANCELED = 3
|
|
2895
2989
|
}
|
|
2896
|
-
export
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
isPunchCard: boolean;
|
|
2901
|
-
resources?: any[];
|
|
2990
|
+
export declare enum TeamCanJoinEnum {
|
|
2991
|
+
ANYONE = "anyone",
|
|
2992
|
+
BY_INVITE = "byInvite",
|
|
2993
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2902
2994
|
}
|
|
2903
|
-
export
|
|
2904
|
-
|
|
2905
|
-
|
|
2995
|
+
export declare enum TeamMemberStatusEnum {
|
|
2996
|
+
PENDING = 1,
|
|
2997
|
+
ACTIVE = 2,
|
|
2998
|
+
DECLINED = 3,
|
|
2999
|
+
SUSPENDED = 4,
|
|
3000
|
+
INACTIVE = 5,
|
|
3001
|
+
INVITED = 6
|
|
2906
3002
|
}
|
|
2907
|
-
export
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
3003
|
+
export declare enum TeamMemberRoleEnum {
|
|
3004
|
+
NULL = 0,
|
|
3005
|
+
ADMIN = 1
|
|
2911
3006
|
}
|
|
2912
|
-
export
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
3007
|
+
export declare enum DayOfWeekEnum {
|
|
3008
|
+
SUNDAY = 0,
|
|
3009
|
+
MONDAY = 1,
|
|
3010
|
+
TUESDAY = 2,
|
|
3011
|
+
WEDNESDAY = 3,
|
|
3012
|
+
THURSDAY = 4,
|
|
3013
|
+
FRIDAY = 5,
|
|
3014
|
+
SATURDAY = 6
|
|
2919
3015
|
}
|
|
2920
|
-
export
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
userBirthDate: Date;
|
|
2926
|
-
userProfilePicUrl: string;
|
|
2927
|
-
customerId: number;
|
|
2928
|
-
customerEmail: string;
|
|
2929
|
-
paymentStatus: string;
|
|
2930
|
-
productName: string;
|
|
2931
|
-
punchCard: boolean;
|
|
3016
|
+
export declare enum ActionTypesEnum {
|
|
3017
|
+
CREATE = "create",
|
|
3018
|
+
READ = "read",
|
|
3019
|
+
UPDATE = "update",
|
|
3020
|
+
DELETE = "delete"
|
|
2932
3021
|
}
|
|
2933
|
-
export declare
|
|
2934
|
-
|
|
2935
|
-
|
|
3022
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3023
|
+
ADMIN = "admin",
|
|
3024
|
+
BACKOFFICE = "backoffice",
|
|
3025
|
+
CONSUMER = "consumer"
|
|
2936
3026
|
}
|
|
2937
|
-
export declare
|
|
2938
|
-
|
|
2939
|
-
|
|
3027
|
+
export declare enum RolesEnum {
|
|
3028
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3029
|
+
BOND_ADMIN = "bondAdmin"
|
|
2940
3030
|
}
|
|
2941
|
-
export
|
|
2942
|
-
|
|
3031
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3032
|
+
IN_POOL = 5,
|
|
3033
|
+
ASSIGNED = 1,
|
|
3034
|
+
QUIT = 2,
|
|
3035
|
+
SUSPENDED = 3,
|
|
3036
|
+
INACTIVE = 4
|
|
2943
3037
|
}
|
|
2944
|
-
export
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
3038
|
+
export declare enum AmenitiesEnum {
|
|
3039
|
+
HEAT = 1,
|
|
3040
|
+
AC = 2,
|
|
3041
|
+
WIFI = 3,
|
|
3042
|
+
RESTROOMS = 4,
|
|
3043
|
+
DRINKING_FOUNTAIN = 5,
|
|
3044
|
+
PARKING = 6,
|
|
3045
|
+
CONCESSIONS = 7,
|
|
3046
|
+
SHELTER = 8,
|
|
3047
|
+
PORTABLE_RESTROOMS = 9,
|
|
3048
|
+
LIGHTS = 10,
|
|
3049
|
+
LOCKER_ROOM = 11,
|
|
3050
|
+
PAID_PARKING = 12,
|
|
3051
|
+
ACCESSIBLE = 13
|
|
2949
3052
|
}
|
|
2950
|
-
export
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
3053
|
+
export declare enum ResourceSubTypeEnum {
|
|
3054
|
+
COURT = "court",
|
|
3055
|
+
FIELD = "field",
|
|
3056
|
+
ROOM = "room",
|
|
3057
|
+
DIAMOND = "diamond",
|
|
3058
|
+
RINK = "rink",
|
|
3059
|
+
STUDIO = "studio",
|
|
3060
|
+
POOL = "pool",
|
|
3061
|
+
BATTING_CAGE = "batting cage",
|
|
3062
|
+
SHELTER = "shelter",
|
|
3063
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2954
3064
|
}
|
|
2955
|
-
export
|
|
2956
|
-
|
|
2957
|
-
total: number;
|
|
2958
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2959
|
-
status: PaymentStatusEnum;
|
|
2960
|
-
createdAt: Date;
|
|
2961
|
-
invoices: number[];
|
|
3065
|
+
export declare enum ResourceTypeEnum {
|
|
3066
|
+
SPACE = "space"
|
|
2962
3067
|
}
|
|
2963
|
-
export
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
itemsPerPage: number;
|
|
2967
|
-
totalPages: number;
|
|
2968
|
-
currentPage: number;
|
|
2969
|
-
};
|
|
2970
|
-
data: T[];
|
|
3068
|
+
export declare enum ResourceAgesEnum {
|
|
3069
|
+
ADULTS = "adults",
|
|
3070
|
+
CHILDREN = "children"
|
|
2971
3071
|
}
|
|
2972
|
-
export
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
price: number;
|
|
2976
|
-
groupId?: number;
|
|
2977
|
-
groupName?: string;
|
|
2978
|
-
originalPrice?: number;
|
|
2979
|
-
priceWithoutTax: number;
|
|
2980
|
-
tax: number;
|
|
2981
|
-
isTaxInclusive: boolean;
|
|
3072
|
+
export declare enum SpacePropertiesEnum {
|
|
3073
|
+
OUTDOOR = "outdoor",
|
|
3074
|
+
INDOOR = "indoor"
|
|
2982
3075
|
}
|
|
2983
|
-
export
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
3076
|
+
export declare enum SurfacesEnum {
|
|
3077
|
+
GRASS = "grass",
|
|
3078
|
+
TURF = "turf",
|
|
3079
|
+
FIELD_TURF = "fieldTurf",
|
|
3080
|
+
ASTRO_TURF = "astroTurf",
|
|
3081
|
+
HARDWOOD = "hardwood",
|
|
3082
|
+
ASPHALT = "asphalt",
|
|
3083
|
+
SAND = "sand",
|
|
3084
|
+
ICE = "ice",
|
|
3085
|
+
SPORT_COURT = "sportCourt"
|
|
2989
3086
|
}
|
|
2990
|
-
export
|
|
2991
|
-
|
|
2992
|
-
|
|
3087
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3088
|
+
MINUTES = "minutes",
|
|
3089
|
+
DAYS = "days"
|
|
2993
3090
|
}
|
|
2994
|
-
export
|
|
2995
|
-
|
|
2996
|
-
open
|
|
2997
|
-
|
|
3091
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3092
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3093
|
+
OPEN = "open",
|
|
3094
|
+
CLOSED = "closed"
|
|
2998
3095
|
}
|
|
2999
|
-
export
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3096
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3097
|
+
FULL = "full",
|
|
3098
|
+
ALREADY_REGISTERED = "registered",
|
|
3099
|
+
AVAILABLE = "available",
|
|
3100
|
+
NOT_OPEN_YET = "not opened",
|
|
3101
|
+
ALREADY_CLOSED = "closed",
|
|
3102
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3003
3103
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
endDate: Date;
|
|
3104
|
+
export declare enum DiscountMethodsEnum {
|
|
3105
|
+
PERCENT = "percent",
|
|
3106
|
+
AMOUNT = "amount"
|
|
3008
3107
|
}
|
|
3009
|
-
export
|
|
3010
|
-
|
|
3011
|
-
member_membershipId: number;
|
|
3012
|
-
member_userId: number;
|
|
3013
|
-
member_nextPaymentMethodId?: string;
|
|
3014
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3015
|
-
member_answerTitleIds?: number[];
|
|
3016
|
-
member_organizationId: number;
|
|
3017
|
-
line_paidAmount: number;
|
|
3018
|
-
line_productId: number;
|
|
3019
|
-
order_payingUserId: number;
|
|
3020
|
-
order_paymentMethodId: string;
|
|
3021
|
-
order_paymentType: PaymentMethodTypeEnum;
|
|
3022
|
-
endDate: Date;
|
|
3023
|
-
membership_name: string;
|
|
3024
|
-
user_firstName: string;
|
|
3025
|
-
user_lastName: string;
|
|
3026
|
-
user_email: string;
|
|
3108
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3109
|
+
ORGANIZATION = "organization"
|
|
3027
3110
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
line2_paidAmount: number;
|
|
3031
|
-
familyid: number;
|
|
3032
|
-
order_id: number;
|
|
3111
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3112
|
+
USA = "USA"
|
|
3033
3113
|
}
|
|
3034
|
-
export
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
openNumDays?: number;
|
|
3038
|
-
openNumMinutes?: number;
|
|
3039
|
-
openTime?: string;
|
|
3040
|
-
closeNumDays?: number;
|
|
3041
|
-
closeNumMinutes?: number;
|
|
3042
|
-
closeTime?: string;
|
|
3043
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3114
|
+
export declare enum DateTimeFormatsEnum {
|
|
3115
|
+
API_DATE = "YYYY/MM/DD",
|
|
3116
|
+
API_TIME = "HH:mm:ss"
|
|
3044
3117
|
}
|
|
3045
|
-
export
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3118
|
+
export declare enum SlotTypeEnum {
|
|
3119
|
+
EXTERNAL = "external",
|
|
3120
|
+
INTERNAL = "internal",
|
|
3121
|
+
MAINTENANCE = "maintenance",
|
|
3122
|
+
CUSTOM = "custom"
|
|
3049
3123
|
}
|
|
3050
|
-
export
|
|
3051
|
-
|
|
3052
|
-
|
|
3124
|
+
export declare enum PlatformsEnum {
|
|
3125
|
+
CONSUMER = "consumer",
|
|
3126
|
+
BO = "backoffice",
|
|
3127
|
+
MOBILE = "mobile",
|
|
3128
|
+
CRON = "cron"
|
|
3053
3129
|
}
|
|
3054
|
-
export
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
parentSessionName?: string;
|
|
3060
|
-
organizationName: string;
|
|
3061
|
-
programName: string;
|
|
3130
|
+
export declare enum ShiftStatusEnum {
|
|
3131
|
+
OPEN = "open",
|
|
3132
|
+
CLOSED = "closed",
|
|
3133
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3134
|
+
RECONCILED = "reconciled"
|
|
3062
3135
|
}
|
|
3063
|
-
export
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
programId: number;
|
|
3071
|
-
programName: string;
|
|
3072
|
-
programType: ProgramTypesEnum;
|
|
3073
|
-
sessionId: number;
|
|
3074
|
-
sessionName: string;
|
|
3075
|
-
sports: number;
|
|
3076
|
-
spaces: {
|
|
3077
|
-
spaceId: number;
|
|
3078
|
-
spaceName: string;
|
|
3079
|
-
}[];
|
|
3080
|
-
status?: RegistrationValidationStatusEnum;
|
|
3136
|
+
export declare enum EventStatusEnum {
|
|
3137
|
+
OPEN = 1,
|
|
3138
|
+
DRAFT = 2,
|
|
3139
|
+
FULL = 3,
|
|
3140
|
+
CANCELLED = 4,
|
|
3141
|
+
CLOSED = 5,
|
|
3142
|
+
DELETED = 6
|
|
3081
3143
|
}
|
|
3082
|
-
export
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3144
|
+
export declare enum ReservationTypeEnum {
|
|
3145
|
+
RENTAL = "rental",
|
|
3146
|
+
PROGRAM = "program",
|
|
3147
|
+
MAINTENANCE = "maintenance",
|
|
3148
|
+
CUSTOM = "custom"
|
|
3086
3149
|
}
|
|
3087
|
-
export
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3150
|
+
export declare enum SlotDurationTypeEnum {
|
|
3151
|
+
DATES = "dates",
|
|
3152
|
+
ALL_DAY = "all day",
|
|
3153
|
+
DURATION = "duration"
|
|
3091
3154
|
}
|
|
3092
|
-
export
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
date: string;
|
|
3096
|
-
startTime: string;
|
|
3097
|
-
endTime: string;
|
|
3098
|
-
notes: string;
|
|
3099
|
-
spaceId: number;
|
|
3100
|
-
isRental: boolean;
|
|
3101
|
-
slotType: SlotTypeEnum;
|
|
3102
|
-
slotId: number;
|
|
3103
|
-
eventId: number;
|
|
3155
|
+
export declare enum DurationUnitTypesEnum {
|
|
3156
|
+
MINUTES = "minutes",
|
|
3157
|
+
HOURS = "hours"
|
|
3104
3158
|
}
|
|
3105
|
-
export
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
maxFemaleParticipants: number;
|
|
3112
|
-
isPunchCard: boolean;
|
|
3159
|
+
export declare enum FrequencyEnum {
|
|
3160
|
+
NONE = "none",
|
|
3161
|
+
WEEKLY = "weekly",
|
|
3162
|
+
DAILY = "daily",
|
|
3163
|
+
MONTHLY = "monthly",
|
|
3164
|
+
YEARLY = "yearly"
|
|
3113
3165
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3166
|
+
export declare enum MaintenanceTimingEnum {
|
|
3167
|
+
BEFORE = 1,
|
|
3168
|
+
AFTER = 2,
|
|
3169
|
+
AT_THE_BEGINING = 3,
|
|
3170
|
+
AT_THE_END = 4
|
|
3118
3171
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
startTime: string;
|
|
3123
|
-
endTime: string;
|
|
3124
|
-
reservationId: number;
|
|
3125
|
-
eventTitle: string;
|
|
3126
|
-
publicNotes: string;
|
|
3127
|
-
spaceId: number;
|
|
3128
|
-
creatorType: ResourceNameTypeEnum;
|
|
3129
|
-
slotType: SlotTypeEnum;
|
|
3130
|
-
slotId: number;
|
|
3131
|
-
eventId: number;
|
|
3172
|
+
export declare enum CreatorTypeEnum {
|
|
3173
|
+
SPACE = "space",
|
|
3174
|
+
PROGRAM_SEASON = "program_season"
|
|
3132
3175
|
}
|
|
3133
|
-
export
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3138
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3139
|
-
pUserId: number;
|
|
3140
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3141
|
-
pUserProductId: number;
|
|
3142
|
-
pUserProductName: string;
|
|
3143
|
-
pUserProductPrice: number;
|
|
3144
|
-
pUserProductPriceCurrency: string;
|
|
3145
|
-
pUserProductQuantity: number;
|
|
3146
|
-
pUserProductQuantityLeft: number;
|
|
3147
|
-
pUserUserId: number;
|
|
3176
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3177
|
+
INDIVIDUAL = "indvidual",
|
|
3178
|
+
CATEGORY = "category",
|
|
3179
|
+
GLOBAL = "global"
|
|
3148
3180
|
}
|
|
3149
|
-
export
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
sessionName: string;
|
|
3158
|
-
productId: number;
|
|
3159
|
-
productName: string;
|
|
3160
|
-
productUserId: number;
|
|
3161
|
-
purchaseDate: Date;
|
|
3162
|
-
passesLeft: number;
|
|
3181
|
+
export declare enum BondDayOfWeekEnum {
|
|
3182
|
+
MONDAY = 2,
|
|
3183
|
+
TUESDAY = 3,
|
|
3184
|
+
WEDNESDAY = 4,
|
|
3185
|
+
THURSDAY = 5,
|
|
3186
|
+
FRIDAY = 6,
|
|
3187
|
+
SATURDAY = 7,
|
|
3188
|
+
SUNDAY = 8
|
|
3163
3189
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
endDate: Date;
|
|
3169
|
-
registrationStartDate: Date;
|
|
3170
|
-
registrationEndDate: Date;
|
|
3171
|
-
sport: SportsEnum;
|
|
3172
|
-
minAge: string;
|
|
3173
|
-
maxAge: string;
|
|
3174
|
-
maxParticipants?: number;
|
|
3175
|
-
gender: GenderEnum;
|
|
3176
|
-
activityTimes: ActivityTimes[];
|
|
3177
|
-
earlyRegistrationStartDate?: Date;
|
|
3178
|
-
earlyRegistrationEndDate?: Date;
|
|
3179
|
-
lateRegistrationStartDate?: Date;
|
|
3180
|
-
lateRegistrationEndDate?: Date;
|
|
3181
|
-
attendeeCount?: number;
|
|
3182
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3190
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3191
|
+
NEW = "new",
|
|
3192
|
+
NO = "no",
|
|
3193
|
+
YES = "yes"
|
|
3183
3194
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
products?: ISessionLandingPageProduct[];
|
|
3195
|
+
export declare enum ProductPackageLevelEnum {
|
|
3196
|
+
HOUR = "hour",
|
|
3197
|
+
SLOT = "slot",
|
|
3198
|
+
RESERVATION = "reservation"
|
|
3189
3199
|
}
|
|
3190
|
-
export
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
products?: ISessionLandingPageProduct[];
|
|
3194
|
-
segments?: Event[] | ProgramSeason[];
|
|
3195
|
-
programName: string;
|
|
3196
|
-
programId: number;
|
|
3197
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3198
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3200
|
+
export declare enum CancellationStatusEnum {
|
|
3201
|
+
IMMEDIATE = "immediate",
|
|
3202
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3199
3203
|
}
|
|
3200
|
-
export
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
timePeriod: AddonTimePeriodEnum;
|
|
3204
|
-
name: string;
|
|
3205
|
-
productType?: ProductTypesEnum;
|
|
3206
|
-
productSubType?: string;
|
|
3207
|
-
}[];
|
|
3204
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3205
|
+
DRAFT = 0,
|
|
3206
|
+
PUBLISHED = 1
|
|
3208
3207
|
}
|
|
3209
|
-
export
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
description?: string;
|
|
3216
|
-
prices: Price[];
|
|
3217
|
-
productSubType?: ProductSubTypesEnum;
|
|
3218
|
-
punchCard: boolean;
|
|
3219
|
-
isAddon: boolean;
|
|
3220
|
-
defaultPriceId?: number;
|
|
3208
|
+
export declare enum FinancialStepEnum {
|
|
3209
|
+
VOID = "void",
|
|
3210
|
+
REFUND = "refund",
|
|
3211
|
+
NONE = "none",
|
|
3212
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3213
|
+
APPEND = "append"
|
|
3221
3214
|
}
|
|
3222
|
-
export
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3215
|
+
export declare enum StripeAccountTypesEnum {
|
|
3216
|
+
STRIPE = "stripe",
|
|
3217
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3218
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3226
3219
|
}
|
|
3227
|
-
export
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3220
|
+
export declare enum LinkedAccountStatus {
|
|
3221
|
+
PENDING = 1,
|
|
3222
|
+
ACTIVE = 2,
|
|
3223
|
+
PRE_PENDING = 3
|
|
3224
|
+
}
|
|
3225
|
+
export declare enum AddonParentTypeEnum {
|
|
3226
|
+
RESERVATION = "reservation",
|
|
3227
|
+
SLOT = "slot"
|
|
3228
|
+
}
|
|
3229
|
+
export declare enum EEmailStatus {
|
|
3230
|
+
SENT = "sent",
|
|
3231
|
+
OPENED = "opened",
|
|
3232
|
+
PAID = "paid",
|
|
3233
|
+
CANCELED = "canceled"
|
|
3234
3234
|
}
|
|
3235
3235
|
export declare class ColumnNumericTransformer {
|
|
3236
3236
|
to(data: number): number;
|
|
@@ -3393,17 +3393,6 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3393
3393
|
name: string;
|
|
3394
3394
|
locked?: Date;
|
|
3395
3395
|
}
|
|
3396
|
-
export declare class CreateMonitorConfigDto {
|
|
3397
|
-
facilityId: number;
|
|
3398
|
-
name: string;
|
|
3399
|
-
code: string;
|
|
3400
|
-
config: any;
|
|
3401
|
-
}
|
|
3402
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3403
|
-
facilityId: number;
|
|
3404
|
-
code: string;
|
|
3405
|
-
config?: any;
|
|
3406
|
-
}
|
|
3407
3396
|
export declare class ByOrganizationIdDto {
|
|
3408
3397
|
organizationId: number;
|
|
3409
3398
|
}
|
|
@@ -3472,37 +3461,16 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3472
3461
|
organisationId: number | null;
|
|
3473
3462
|
userId: number | null;
|
|
3474
3463
|
}
|
|
3475
|
-
export declare class
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
};
|
|
3481
|
-
refunds: PaymentMethodDto[];
|
|
3482
|
-
refundType: RefundTypeEnum;
|
|
3483
|
-
reasonId: number;
|
|
3484
|
-
note?: string;
|
|
3485
|
-
shiftId?: number;
|
|
3486
|
-
meta?: RevertMetaDto;
|
|
3487
|
-
}
|
|
3488
|
-
export declare class PaymentMethodDto {
|
|
3489
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3490
|
-
amount: number;
|
|
3491
|
-
paymentMethodId?: string;
|
|
3492
|
-
}
|
|
3493
|
-
export declare class RefundLineItemAmountDto {
|
|
3494
|
-
id: number;
|
|
3495
|
-
refundAmount: number;
|
|
3496
|
-
}
|
|
3497
|
-
export declare class VoidDto {
|
|
3498
|
-
lineItems: VoidLineItemDto[];
|
|
3499
|
-
meta?: RevertMetaDto;
|
|
3464
|
+
export declare class CreateMonitorConfigDto {
|
|
3465
|
+
facilityId: number;
|
|
3466
|
+
name: string;
|
|
3467
|
+
code: string;
|
|
3468
|
+
config: any;
|
|
3500
3469
|
}
|
|
3501
|
-
export declare class
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
amount?: number;
|
|
3470
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3471
|
+
facilityId: number;
|
|
3472
|
+
code: string;
|
|
3473
|
+
config?: any;
|
|
3506
3474
|
}
|
|
3507
3475
|
export declare class CustomerIdDto {
|
|
3508
3476
|
customerId: number;
|
|
@@ -3621,6 +3589,61 @@ export declare class SendRequestDto {
|
|
|
3621
3589
|
sendToEmail: string;
|
|
3622
3590
|
memo?: string;
|
|
3623
3591
|
}
|
|
3592
|
+
export declare class RefundDto {
|
|
3593
|
+
orderId: number;
|
|
3594
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3595
|
+
refundLineItemAmountDict?: {
|
|
3596
|
+
[id: number]: number;
|
|
3597
|
+
};
|
|
3598
|
+
refunds: PaymentMethodDto[];
|
|
3599
|
+
refundType: RefundTypeEnum;
|
|
3600
|
+
reasonId: number;
|
|
3601
|
+
note?: string;
|
|
3602
|
+
shiftId?: number;
|
|
3603
|
+
meta?: RevertMetaDto;
|
|
3604
|
+
}
|
|
3605
|
+
export declare class PaymentMethodDto {
|
|
3606
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3607
|
+
amount: number;
|
|
3608
|
+
paymentMethodId?: string;
|
|
3609
|
+
}
|
|
3610
|
+
export declare class RefundLineItemAmountDto {
|
|
3611
|
+
id: number;
|
|
3612
|
+
refundAmount: number;
|
|
3613
|
+
}
|
|
3614
|
+
export declare class VoidDto {
|
|
3615
|
+
lineItems: VoidLineItemDto[];
|
|
3616
|
+
meta?: RevertMetaDto;
|
|
3617
|
+
}
|
|
3618
|
+
export declare class VoidLineItemDto {
|
|
3619
|
+
id: number;
|
|
3620
|
+
quantity?: number;
|
|
3621
|
+
isEdit?: boolean;
|
|
3622
|
+
amount?: number;
|
|
3623
|
+
}
|
|
3624
|
+
export declare class ChangeRolePermissionsDto {
|
|
3625
|
+
permissionIds: number[];
|
|
3626
|
+
}
|
|
3627
|
+
export declare class CreateRoleDto {
|
|
3628
|
+
name: string;
|
|
3629
|
+
}
|
|
3630
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3631
|
+
name: string;
|
|
3632
|
+
deletedAt?: Date;
|
|
3633
|
+
permissions: Permission[];
|
|
3634
|
+
usersRoles: UserRole[];
|
|
3635
|
+
}
|
|
3636
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3637
|
+
deletedAt?: Date;
|
|
3638
|
+
userId: number;
|
|
3639
|
+
roleId: number;
|
|
3640
|
+
role: Role;
|
|
3641
|
+
user: User;
|
|
3642
|
+
}
|
|
3643
|
+
export declare class Permission extends BondBaseEntity {
|
|
3644
|
+
name: string;
|
|
3645
|
+
deletedAt?: Date;
|
|
3646
|
+
}
|
|
3624
3647
|
export declare class LineItemDto {
|
|
3625
3648
|
id?: number;
|
|
3626
3649
|
orderId?: number;
|
|
@@ -3647,6 +3670,13 @@ export declare class LineItemDto {
|
|
|
3647
3670
|
unitTaxPrice?: number;
|
|
3648
3671
|
parentOrdinal?: number;
|
|
3649
3672
|
}
|
|
3673
|
+
export declare class MaintenanceDto {
|
|
3674
|
+
id?: number;
|
|
3675
|
+
title: string;
|
|
3676
|
+
durationValue: number;
|
|
3677
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3678
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3679
|
+
}
|
|
3650
3680
|
export declare class OrderDto {
|
|
3651
3681
|
orderId?: string | null;
|
|
3652
3682
|
organizationId: number;
|
|
@@ -3696,13 +3726,6 @@ export declare class PurchasedResourceDto {
|
|
|
3696
3726
|
endDate?: string;
|
|
3697
3727
|
endTime?: string;
|
|
3698
3728
|
}
|
|
3699
|
-
export declare class MaintenanceDto {
|
|
3700
|
-
id?: number;
|
|
3701
|
-
title: string;
|
|
3702
|
-
durationValue: number;
|
|
3703
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3704
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3705
|
-
}
|
|
3706
3729
|
export declare class ReservationDto {
|
|
3707
3730
|
id?: number;
|
|
3708
3731
|
organizationId?: number;
|
|
@@ -3833,7 +3856,6 @@ export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
|
3833
3856
|
}
|
|
3834
3857
|
export declare class EditReservationDetailsDto {
|
|
3835
3858
|
name: string;
|
|
3836
|
-
activityType: SportsEnum;
|
|
3837
3859
|
publicNotes?: string;
|
|
3838
3860
|
privateNotes?: string;
|
|
3839
3861
|
}
|
|
@@ -3995,20 +4017,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
3995
4017
|
invoiceId: number;
|
|
3996
4018
|
slotId: number;
|
|
3997
4019
|
}
|
|
3998
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3999
|
-
deletedAt?: Date;
|
|
4000
|
-
reservationId: number;
|
|
4001
|
-
title: string;
|
|
4002
|
-
isPrivate: boolean;
|
|
4003
|
-
resourceIds?: number[];
|
|
4004
|
-
sportId: number;
|
|
4005
|
-
reservation?: Reservation;
|
|
4006
|
-
series?: Series[];
|
|
4007
|
-
addonIds?: number[] | null;
|
|
4008
|
-
publicNotesForSlots?: string;
|
|
4009
|
-
privateNotesForSlots?: string;
|
|
4010
|
-
slots?: Slot[];
|
|
4011
|
-
}
|
|
4012
4020
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4013
4021
|
name?: string;
|
|
4014
4022
|
description?: string;
|
|
@@ -4048,6 +4056,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4048
4056
|
targetGlobalPrice?: number;
|
|
4049
4057
|
slots: Slot[];
|
|
4050
4058
|
}
|
|
4059
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4060
|
+
deletedAt?: Date;
|
|
4061
|
+
reservationId: number;
|
|
4062
|
+
title: string;
|
|
4063
|
+
isPrivate: boolean;
|
|
4064
|
+
resourceIds?: number[];
|
|
4065
|
+
sportId: number;
|
|
4066
|
+
reservation?: Reservation;
|
|
4067
|
+
series?: Series[];
|
|
4068
|
+
addonIds?: number[] | null;
|
|
4069
|
+
publicNotesForSlots?: string;
|
|
4070
|
+
privateNotesForSlots?: string;
|
|
4071
|
+
slots?: Slot[];
|
|
4072
|
+
}
|
|
4051
4073
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4052
4074
|
deletedAt?: Date;
|
|
4053
4075
|
segmentId: number;
|
|
@@ -4134,32 +4156,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4134
4156
|
changeLineItems?: LineItems[];
|
|
4135
4157
|
updatedLineItem?: LineItems;
|
|
4136
4158
|
}
|
|
4137
|
-
export declare class ChangeRolePermissionsDto {
|
|
4138
|
-
permissionIds: number[];
|
|
4139
|
-
}
|
|
4140
|
-
export declare class CreateRoleDto {
|
|
4141
|
-
name: string;
|
|
4142
|
-
}
|
|
4143
|
-
export declare class Permission extends BondBaseEntity {
|
|
4144
|
-
name: string;
|
|
4145
|
-
deletedAt?: Date;
|
|
4146
|
-
}
|
|
4147
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4148
|
-
name: string;
|
|
4149
|
-
deletedAt?: Date;
|
|
4150
|
-
permissions: Permission[];
|
|
4151
|
-
usersRoles: UserRole[];
|
|
4152
|
-
}
|
|
4153
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4154
|
-
deletedAt?: Date;
|
|
4155
|
-
userId: number;
|
|
4156
|
-
roleId: number;
|
|
4157
|
-
role: Role;
|
|
4158
|
-
user: User;
|
|
4159
|
-
}
|
|
4160
4159
|
export declare class CloseShiftDto {
|
|
4161
4160
|
closingCashAmount: number;
|
|
4162
4161
|
}
|
|
4162
|
+
export declare class FindShiftsByIdsDto {
|
|
4163
|
+
shiftIds: number[];
|
|
4164
|
+
}
|
|
4163
4165
|
export declare class FindShiftsFiltersDto {
|
|
4164
4166
|
statuses?: string;
|
|
4165
4167
|
stationIds?: string;
|
|
@@ -4220,6 +4222,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4220
4222
|
closingManager?: User;
|
|
4221
4223
|
reconcilingUser?: User;
|
|
4222
4224
|
}
|
|
4223
|
-
export declare class FindShiftsByIdsDto {
|
|
4224
|
-
shiftIds: number[];
|
|
4225
|
-
}
|