@bondsports/types 0.0.48 → 0.0.51
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 +508 -507
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,17 +9,6 @@ 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
|
-
}
|
|
23
12
|
export declare class FindBookingTypeSettingDto {
|
|
24
13
|
organizationId: number;
|
|
25
14
|
facilityId: number;
|
|
@@ -283,6 +272,17 @@ export declare class GetGlCodeDto {
|
|
|
283
272
|
createdAt: Date;
|
|
284
273
|
updatedAt: Date;
|
|
285
274
|
}
|
|
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,226 +454,6 @@ 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
|
-
}
|
|
677
457
|
export declare class CreateUpdateVariantsDto {
|
|
678
458
|
organizationId: number;
|
|
679
459
|
parentProductId: number;
|
|
@@ -920,6 +700,18 @@ export declare class ProgramHighlightDto {
|
|
|
920
700
|
type: ProgramHighlightTypeEnum;
|
|
921
701
|
title: string;
|
|
922
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
|
+
}
|
|
923
715
|
export declare class PurchasePaymentDto {
|
|
924
716
|
token: string;
|
|
925
717
|
type: PaymentMethodTypeEnum;
|
|
@@ -990,17 +782,47 @@ export declare class PartialPaymentAsUserDto {
|
|
|
990
782
|
amountToPay: any;
|
|
991
783
|
paymentMethodData: any;
|
|
992
784
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
parentSlotId: number;
|
|
996
|
-
facilityId: number;
|
|
997
|
-
childrenSlotIds: number[];
|
|
785
|
+
export declare class StripeCustomerIdDto {
|
|
786
|
+
userId: number;
|
|
998
787
|
}
|
|
999
|
-
export declare class
|
|
788
|
+
export declare class AddACHTokenToCustomerDto {
|
|
789
|
+
publicToken: string;
|
|
790
|
+
accountId: string;
|
|
1000
791
|
}
|
|
1001
|
-
export declare class
|
|
1002
|
-
|
|
1003
|
-
|
|
792
|
+
export declare class FindByUserIdDto {
|
|
793
|
+
userId: number;
|
|
794
|
+
}
|
|
795
|
+
export declare class FindByFamilyAccountIdDto {
|
|
796
|
+
familyAccountId?: number;
|
|
797
|
+
}
|
|
798
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
799
|
+
organizationId: number;
|
|
800
|
+
}
|
|
801
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
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;
|
|
813
|
+
}
|
|
814
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
815
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
816
|
+
parentId: number;
|
|
817
|
+
dayOfWeek: number;
|
|
818
|
+
open: string;
|
|
819
|
+
close: string;
|
|
820
|
+
deletedAt?: Date;
|
|
821
|
+
program: ProgramSeason;
|
|
822
|
+
availabilityStartDate: string;
|
|
823
|
+
availabilityEndDate: string;
|
|
824
|
+
proudct: Product;
|
|
825
|
+
event: Event;
|
|
1004
826
|
}
|
|
1005
827
|
export declare class SpaceByIdDto {
|
|
1006
828
|
spaceId: number;
|
|
@@ -1058,47 +880,16 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1058
880
|
types?: string;
|
|
1059
881
|
resourcesIds?: string;
|
|
1060
882
|
}
|
|
1061
|
-
export declare class
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
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;
|
|
883
|
+
export declare class Address extends BondBaseEntity {
|
|
884
|
+
city?: string;
|
|
885
|
+
street?: string;
|
|
886
|
+
streetNum?: string;
|
|
887
|
+
aptNum?: string;
|
|
888
|
+
zip?: string;
|
|
889
|
+
country?: string;
|
|
890
|
+
state?: string;
|
|
891
|
+
geo: any;
|
|
1096
892
|
deletedAt?: Date;
|
|
1097
|
-
program: ProgramSeason;
|
|
1098
|
-
availabilityStartDate: string;
|
|
1099
|
-
availabilityEndDate: string;
|
|
1100
|
-
proudct: Product;
|
|
1101
|
-
event: Event;
|
|
1102
893
|
}
|
|
1103
894
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1104
895
|
questionId: number;
|
|
@@ -1124,22 +915,231 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1124
915
|
metadata: object | null;
|
|
1125
916
|
athleteSports: AthleteSports[];
|
|
1126
917
|
}
|
|
1127
|
-
export declare class Address extends BondBaseEntity {
|
|
1128
|
-
city?: string;
|
|
1129
|
-
street?: string;
|
|
1130
|
-
streetNum?: string;
|
|
1131
|
-
aptNum?: string;
|
|
1132
|
-
zip?: string;
|
|
1133
|
-
country?: string;
|
|
1134
|
-
state?: string;
|
|
1135
|
-
geo: any;
|
|
1136
|
-
deletedAt?: Date;
|
|
1137
|
-
}
|
|
1138
918
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
919
|
athleteId: number | null;
|
|
1140
920
|
sports: number | null;
|
|
1141
921
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
922
|
}
|
|
923
|
+
export declare class FindByProductIdDto {
|
|
924
|
+
productId: number;
|
|
925
|
+
}
|
|
926
|
+
export declare class FindPriceOfProductDto {
|
|
927
|
+
id: number;
|
|
928
|
+
userId: number;
|
|
929
|
+
resources: ResourceDto[];
|
|
930
|
+
}
|
|
931
|
+
export declare class FindPricesOfProductsDto {
|
|
932
|
+
products: FindPriceOfProductDto[];
|
|
933
|
+
answers: UserAnswersDto[];
|
|
934
|
+
}
|
|
935
|
+
export declare class FindPackageByResourceDto {
|
|
936
|
+
resourceType: ResourceNameTypeEnum;
|
|
937
|
+
resourceId: number;
|
|
938
|
+
}
|
|
939
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
940
|
+
organizationId: number;
|
|
941
|
+
}
|
|
942
|
+
export declare class CreateProductsDto {
|
|
943
|
+
products: CreateProductDto[];
|
|
944
|
+
addOnsData?: ProductInPackage[];
|
|
945
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
946
|
+
}
|
|
947
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
948
|
+
name: string;
|
|
949
|
+
}
|
|
950
|
+
export declare class CreateProductDto {
|
|
951
|
+
id?: number;
|
|
952
|
+
organizationId: number;
|
|
953
|
+
name: string;
|
|
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
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1144
|
entityType: ResourceNameTypeEnum;
|
|
1145
1145
|
entityId: number;
|
|
@@ -1539,6 +1539,16 @@ export declare class LeagueSeasonRelations {
|
|
|
1539
1539
|
league?: boolean;
|
|
1540
1540
|
facilities?: boolean;
|
|
1541
1541
|
}
|
|
1542
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
+
orderId: number;
|
|
1544
|
+
invoiceId: number;
|
|
1545
|
+
lineItemId: number;
|
|
1546
|
+
paidAmount: number;
|
|
1547
|
+
unitPaidAmount: number;
|
|
1548
|
+
currency: CurrencyEnum;
|
|
1549
|
+
invoice: Invoice;
|
|
1550
|
+
lineItem: LineItems;
|
|
1551
|
+
}
|
|
1542
1552
|
export declare class LineItems extends BondBaseEntity {
|
|
1543
1553
|
constructor();
|
|
1544
1554
|
defineIsReverted(): void;
|
|
@@ -1594,16 +1604,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1594
1604
|
displayUnitPrice?: number;
|
|
1595
1605
|
displayQuantity?: number;
|
|
1596
1606
|
}
|
|
1597
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1598
|
-
orderId: number;
|
|
1599
|
-
invoiceId: number;
|
|
1600
|
-
lineItemId: number;
|
|
1601
|
-
paidAmount: number;
|
|
1602
|
-
unitPaidAmount: number;
|
|
1603
|
-
currency: CurrencyEnum;
|
|
1604
|
-
invoice: Invoice;
|
|
1605
|
-
lineItem: LineItems;
|
|
1606
|
-
}
|
|
1607
1607
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
1608
|
id: number;
|
|
1609
1609
|
provider: string;
|
|
@@ -1911,6 +1911,23 @@ 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
|
+
}
|
|
1914
1931
|
export declare class Program extends BondBaseEntity {
|
|
1915
1932
|
type: ProgramTypesEnum;
|
|
1916
1933
|
name: string;
|
|
@@ -1933,23 +1950,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1933
1950
|
programSeason: ProgramSeason[];
|
|
1934
1951
|
purchasedResources: PurchasedResource[];
|
|
1935
1952
|
}
|
|
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;
|
|
@@ -2038,11 +2038,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2038
2038
|
title: string | null;
|
|
2039
2039
|
answerTitle: AnswerTitle;
|
|
2040
2040
|
}
|
|
2041
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2042
|
-
reason: string;
|
|
2043
|
-
ordinal: number;
|
|
2044
|
-
deletedAt: Date;
|
|
2045
|
-
}
|
|
2046
2041
|
export declare class Questions extends BondBaseEntity {
|
|
2047
2042
|
questionType: string | null;
|
|
2048
2043
|
ordinal: number | null;
|
|
@@ -2068,6 +2063,11 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2068
2063
|
closeTime?: string;
|
|
2069
2064
|
deletedAt?: Date;
|
|
2070
2065
|
}
|
|
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;
|
|
@@ -2380,7 +2380,8 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2380
2380
|
PRODUCT = "product",
|
|
2381
2381
|
GROUP = "group",
|
|
2382
2382
|
VARIANT = "variant",
|
|
2383
|
-
SLOT = "slot"
|
|
2383
|
+
SLOT = "slot",
|
|
2384
|
+
ADDON = "addon"
|
|
2384
2385
|
}
|
|
2385
2386
|
export declare enum DirectBookingTypesEnum {
|
|
2386
2387
|
DIRECT_FOR_ALL = "all",
|
|
@@ -3231,6 +3232,11 @@ export interface IReservationCreatorData {
|
|
|
3231
3232
|
endDate: string;
|
|
3232
3233
|
sportId: number;
|
|
3233
3234
|
}
|
|
3235
|
+
export declare class ColumnNumericTransformer {
|
|
3236
|
+
to(data: number): number;
|
|
3237
|
+
from(data: string): number;
|
|
3238
|
+
}
|
|
3239
|
+
export declare function convertToNumber(data: string): number;
|
|
3234
3240
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3235
3241
|
name?: string;
|
|
3236
3242
|
genderStr?: string;
|
|
@@ -3347,10 +3353,6 @@ export declare class ImportedReservationDto {
|
|
|
3347
3353
|
slots?: ImportedSlotDto[];
|
|
3348
3354
|
addons?: ImportedSlotProductDto[];
|
|
3349
3355
|
}
|
|
3350
|
-
export declare class Lock extends BondBaseEntity {
|
|
3351
|
-
name: string;
|
|
3352
|
-
locked?: Date;
|
|
3353
|
-
}
|
|
3354
3356
|
export declare class GameSlots extends BondBaseEntity {
|
|
3355
3357
|
entityType: string;
|
|
3356
3358
|
entityId: number;
|
|
@@ -3364,39 +3366,143 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3364
3366
|
score: number | null;
|
|
3365
3367
|
gameSlotId: number | null;
|
|
3366
3368
|
}
|
|
3367
|
-
export declare class Matches extends BondBaseEntity {
|
|
3368
|
-
eventId: number | null;
|
|
3369
|
-
status: number | null;
|
|
3370
|
-
excludeStandings: boolean | null;
|
|
3369
|
+
export declare class Matches extends BondBaseEntity {
|
|
3370
|
+
eventId: number | null;
|
|
3371
|
+
status: number | null;
|
|
3372
|
+
excludeStandings: boolean | null;
|
|
3373
|
+
}
|
|
3374
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3375
|
+
roundId: number;
|
|
3376
|
+
eventId: number;
|
|
3377
|
+
seriesId: number | null;
|
|
3378
|
+
createdAt: Date;
|
|
3379
|
+
updatedAt: Date;
|
|
3380
|
+
}
|
|
3381
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3382
|
+
seasonId: number;
|
|
3383
|
+
ordinal?: number;
|
|
3384
|
+
divisionId?: number;
|
|
3385
|
+
name: string;
|
|
3386
|
+
}
|
|
3387
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3388
|
+
teamId: number | null;
|
|
3389
|
+
eventId: number | null;
|
|
3390
|
+
status: number | null;
|
|
3391
|
+
}
|
|
3392
|
+
export declare class Lock extends BondBaseEntity {
|
|
3393
|
+
name: string;
|
|
3394
|
+
locked?: Date;
|
|
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
|
+
export declare class ByOrganizationIdDto {
|
|
3408
|
+
organizationId: number;
|
|
3409
|
+
}
|
|
3410
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3411
|
+
organizationId?: number;
|
|
3412
|
+
}
|
|
3413
|
+
export declare class Organization extends BondBaseEntity {
|
|
3414
|
+
name: string | null;
|
|
3415
|
+
email: string | null;
|
|
3416
|
+
twitter: string | null;
|
|
3417
|
+
facebook: string | null;
|
|
3418
|
+
instagram: string | null;
|
|
3419
|
+
website: string | null;
|
|
3420
|
+
blog: string | null;
|
|
3421
|
+
phoneNumber: string | null;
|
|
3422
|
+
waiverDoc: string | null;
|
|
3423
|
+
about: string | null;
|
|
3424
|
+
tagline: string | null;
|
|
3425
|
+
status: number | null;
|
|
3426
|
+
addressId: number | null;
|
|
3427
|
+
merchantId: number | null;
|
|
3428
|
+
userCreatorId: number | null;
|
|
3429
|
+
parentId: number | null;
|
|
3430
|
+
paymentSettings: object | null;
|
|
3431
|
+
settings: object | null;
|
|
3432
|
+
isClaimed: boolean | null;
|
|
3433
|
+
sports: number[] | null;
|
|
3434
|
+
mainMediaId: number | null;
|
|
3435
|
+
deletedAt: Date | null;
|
|
3436
|
+
organizationActivityTypes: number[] | null;
|
|
3437
|
+
organizationTypes: number[] | null;
|
|
3438
|
+
organizationAudienceTypes: number[] | null;
|
|
3439
|
+
organizationGenders: number[] | null;
|
|
3440
|
+
questionnaireId: number | null;
|
|
3441
|
+
membershipQuestionnaireId: number | null;
|
|
3442
|
+
feeRate: number;
|
|
3443
|
+
feeAddDollarRate: number;
|
|
3444
|
+
achFeeRate: number;
|
|
3445
|
+
achFeeAddDollarRate: number;
|
|
3446
|
+
maxAchFee: number;
|
|
3447
|
+
cashFeeRate: number;
|
|
3448
|
+
cashFeeAddDollarRate: number;
|
|
3449
|
+
terminalFeeRate: number;
|
|
3450
|
+
terminalFeeAddDollarRate: number;
|
|
3451
|
+
checkFeeRate: number;
|
|
3452
|
+
checkFeeAddDollarRate: number;
|
|
3453
|
+
otherFeeRate: number;
|
|
3454
|
+
otherFeeAddDollarRate: number;
|
|
3455
|
+
balanceFeeRate: number;
|
|
3456
|
+
balanceFeeAddDollarRate: number;
|
|
3457
|
+
address: Address;
|
|
3458
|
+
mainMedia: Media;
|
|
3459
|
+
brandings: OrganizationBranding[];
|
|
3460
|
+
brandingsV2?: OrganizationBranding[];
|
|
3461
|
+
}
|
|
3462
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3463
|
+
key?: string;
|
|
3464
|
+
vaule?: string;
|
|
3465
|
+
version: number;
|
|
3466
|
+
organization: Organization;
|
|
3467
|
+
}
|
|
3468
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3469
|
+
mainAdminUserId?: number;
|
|
3470
|
+
}
|
|
3471
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3472
|
+
organisationId: number | null;
|
|
3473
|
+
userId: number | null;
|
|
3371
3474
|
}
|
|
3372
|
-
export declare class
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3475
|
+
export declare class RefundDto {
|
|
3476
|
+
orderId: number;
|
|
3477
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3478
|
+
refundLineItemAmountDict?: {
|
|
3479
|
+
[id: number]: number;
|
|
3480
|
+
};
|
|
3481
|
+
refunds: PaymentMethodDto[];
|
|
3482
|
+
refundType: RefundTypeEnum;
|
|
3483
|
+
reasonId: number;
|
|
3484
|
+
note?: string;
|
|
3485
|
+
shiftId?: number;
|
|
3486
|
+
meta?: RevertMetaDto;
|
|
3378
3487
|
}
|
|
3379
|
-
export declare class
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
name: string;
|
|
3488
|
+
export declare class PaymentMethodDto {
|
|
3489
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3490
|
+
amount: number;
|
|
3491
|
+
paymentMethodId?: string;
|
|
3384
3492
|
}
|
|
3385
|
-
export declare class
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
status: number | null;
|
|
3493
|
+
export declare class RefundLineItemAmountDto {
|
|
3494
|
+
id: number;
|
|
3495
|
+
refundAmount: number;
|
|
3389
3496
|
}
|
|
3390
|
-
export declare class
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
code: string;
|
|
3394
|
-
config: any;
|
|
3497
|
+
export declare class VoidDto {
|
|
3498
|
+
lineItems: VoidLineItemDto[];
|
|
3499
|
+
meta?: RevertMetaDto;
|
|
3395
3500
|
}
|
|
3396
|
-
export declare class
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3501
|
+
export declare class VoidLineItemDto {
|
|
3502
|
+
id: number;
|
|
3503
|
+
quantity?: number;
|
|
3504
|
+
isEdit?: boolean;
|
|
3505
|
+
amount?: number;
|
|
3400
3506
|
}
|
|
3401
3507
|
export declare class CustomerIdDto {
|
|
3402
3508
|
customerId: number;
|
|
@@ -3515,129 +3621,6 @@ export declare class SendRequestDto {
|
|
|
3515
3621
|
sendToEmail: string;
|
|
3516
3622
|
memo?: string;
|
|
3517
3623
|
}
|
|
3518
|
-
export declare class RefundDto {
|
|
3519
|
-
orderId: number;
|
|
3520
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3521
|
-
refundLineItemAmountDict?: {
|
|
3522
|
-
[id: number]: number;
|
|
3523
|
-
};
|
|
3524
|
-
refunds: PaymentMethodDto[];
|
|
3525
|
-
refundType: RefundTypeEnum;
|
|
3526
|
-
reasonId: number;
|
|
3527
|
-
note?: string;
|
|
3528
|
-
shiftId?: number;
|
|
3529
|
-
meta?: RevertMetaDto;
|
|
3530
|
-
}
|
|
3531
|
-
export declare class PaymentMethodDto {
|
|
3532
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3533
|
-
amount: number;
|
|
3534
|
-
paymentMethodId?: string;
|
|
3535
|
-
}
|
|
3536
|
-
export declare class RefundLineItemAmountDto {
|
|
3537
|
-
id: number;
|
|
3538
|
-
refundAmount: number;
|
|
3539
|
-
}
|
|
3540
|
-
export declare class ByOrganizationIdDto {
|
|
3541
|
-
organizationId: number;
|
|
3542
|
-
}
|
|
3543
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3544
|
-
organizationId?: number;
|
|
3545
|
-
}
|
|
3546
|
-
export declare class VoidDto {
|
|
3547
|
-
lineItems: VoidLineItemDto[];
|
|
3548
|
-
meta?: RevertMetaDto;
|
|
3549
|
-
}
|
|
3550
|
-
export declare class VoidLineItemDto {
|
|
3551
|
-
id: number;
|
|
3552
|
-
quantity?: number;
|
|
3553
|
-
isEdit?: boolean;
|
|
3554
|
-
amount?: number;
|
|
3555
|
-
}
|
|
3556
|
-
export declare class Organization extends BondBaseEntity {
|
|
3557
|
-
name: string | null;
|
|
3558
|
-
email: string | null;
|
|
3559
|
-
twitter: string | null;
|
|
3560
|
-
facebook: string | null;
|
|
3561
|
-
instagram: string | null;
|
|
3562
|
-
website: string | null;
|
|
3563
|
-
blog: string | null;
|
|
3564
|
-
phoneNumber: string | null;
|
|
3565
|
-
waiverDoc: string | null;
|
|
3566
|
-
about: string | null;
|
|
3567
|
-
tagline: string | null;
|
|
3568
|
-
status: number | null;
|
|
3569
|
-
addressId: number | null;
|
|
3570
|
-
merchantId: number | null;
|
|
3571
|
-
userCreatorId: number | null;
|
|
3572
|
-
parentId: number | null;
|
|
3573
|
-
paymentSettings: object | null;
|
|
3574
|
-
settings: object | null;
|
|
3575
|
-
isClaimed: boolean | null;
|
|
3576
|
-
sports: number[] | null;
|
|
3577
|
-
mainMediaId: number | null;
|
|
3578
|
-
deletedAt: Date | null;
|
|
3579
|
-
organizationActivityTypes: number[] | null;
|
|
3580
|
-
organizationTypes: number[] | null;
|
|
3581
|
-
organizationAudienceTypes: number[] | null;
|
|
3582
|
-
organizationGenders: number[] | null;
|
|
3583
|
-
questionnaireId: number | null;
|
|
3584
|
-
membershipQuestionnaireId: number | null;
|
|
3585
|
-
feeRate: number;
|
|
3586
|
-
feeAddDollarRate: number;
|
|
3587
|
-
achFeeRate: number;
|
|
3588
|
-
achFeeAddDollarRate: number;
|
|
3589
|
-
maxAchFee: number;
|
|
3590
|
-
cashFeeRate: number;
|
|
3591
|
-
cashFeeAddDollarRate: number;
|
|
3592
|
-
terminalFeeRate: number;
|
|
3593
|
-
terminalFeeAddDollarRate: number;
|
|
3594
|
-
checkFeeRate: number;
|
|
3595
|
-
checkFeeAddDollarRate: number;
|
|
3596
|
-
otherFeeRate: number;
|
|
3597
|
-
otherFeeAddDollarRate: number;
|
|
3598
|
-
balanceFeeRate: number;
|
|
3599
|
-
balanceFeeAddDollarRate: number;
|
|
3600
|
-
address: Address;
|
|
3601
|
-
mainMedia: Media;
|
|
3602
|
-
brandings: OrganizationBranding[];
|
|
3603
|
-
brandingsV2?: OrganizationBranding[];
|
|
3604
|
-
}
|
|
3605
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3606
|
-
key?: string;
|
|
3607
|
-
vaule?: string;
|
|
3608
|
-
version: number;
|
|
3609
|
-
organization: Organization;
|
|
3610
|
-
}
|
|
3611
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3612
|
-
mainAdminUserId?: number;
|
|
3613
|
-
}
|
|
3614
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3615
|
-
organisationId: number | null;
|
|
3616
|
-
userId: number | null;
|
|
3617
|
-
}
|
|
3618
|
-
export declare class ChangeRolePermissionsDto {
|
|
3619
|
-
permissionIds: number[];
|
|
3620
|
-
}
|
|
3621
|
-
export declare class CreateRoleDto {
|
|
3622
|
-
name: string;
|
|
3623
|
-
}
|
|
3624
|
-
export declare class Permission extends BondBaseEntity {
|
|
3625
|
-
name: string;
|
|
3626
|
-
deletedAt?: Date;
|
|
3627
|
-
}
|
|
3628
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3629
|
-
name: string;
|
|
3630
|
-
deletedAt?: Date;
|
|
3631
|
-
permissions: Permission[];
|
|
3632
|
-
usersRoles: UserRole[];
|
|
3633
|
-
}
|
|
3634
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3635
|
-
deletedAt?: Date;
|
|
3636
|
-
userId: number;
|
|
3637
|
-
roleId: number;
|
|
3638
|
-
role: Role;
|
|
3639
|
-
user: User;
|
|
3640
|
-
}
|
|
3641
3624
|
export declare class LineItemDto {
|
|
3642
3625
|
id?: number;
|
|
3643
3626
|
orderId?: number;
|
|
@@ -3664,13 +3647,6 @@ export declare class LineItemDto {
|
|
|
3664
3647
|
unitTaxPrice?: number;
|
|
3665
3648
|
parentOrdinal?: number;
|
|
3666
3649
|
}
|
|
3667
|
-
export declare class MaintenanceDto {
|
|
3668
|
-
id?: number;
|
|
3669
|
-
title: string;
|
|
3670
|
-
durationValue: number;
|
|
3671
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3672
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3673
|
-
}
|
|
3674
3650
|
export declare class OrderDto {
|
|
3675
3651
|
orderId?: string | null;
|
|
3676
3652
|
organizationId: number;
|
|
@@ -3720,6 +3696,13 @@ export declare class PurchasedResourceDto {
|
|
|
3720
3696
|
endDate?: string;
|
|
3721
3697
|
endTime?: string;
|
|
3722
3698
|
}
|
|
3699
|
+
export declare class MaintenanceDto {
|
|
3700
|
+
id?: number;
|
|
3701
|
+
title: string;
|
|
3702
|
+
durationValue: number;
|
|
3703
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3704
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3705
|
+
}
|
|
3723
3706
|
export declare class ReservationDto {
|
|
3724
3707
|
id?: number;
|
|
3725
3708
|
organizationId?: number;
|
|
@@ -4012,6 +3995,20 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4012
3995
|
invoiceId: number;
|
|
4013
3996
|
slotId: number;
|
|
4014
3997
|
}
|
|
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
|
+
}
|
|
4015
4012
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4016
4013
|
name?: string;
|
|
4017
4014
|
description?: string;
|
|
@@ -4051,20 +4048,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4051
4048
|
targetGlobalPrice?: number;
|
|
4052
4049
|
slots: Slot[];
|
|
4053
4050
|
}
|
|
4054
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4055
|
-
deletedAt?: Date;
|
|
4056
|
-
reservationId: number;
|
|
4057
|
-
title: string;
|
|
4058
|
-
isPrivate: boolean;
|
|
4059
|
-
resourceIds?: number[];
|
|
4060
|
-
sportId: number;
|
|
4061
|
-
reservation?: Reservation;
|
|
4062
|
-
series?: Series[];
|
|
4063
|
-
addonIds?: number[] | null;
|
|
4064
|
-
publicNotesForSlots?: string;
|
|
4065
|
-
privateNotesForSlots?: string;
|
|
4066
|
-
slots?: Slot[];
|
|
4067
|
-
}
|
|
4068
4051
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4069
4052
|
deletedAt?: Date;
|
|
4070
4053
|
segmentId: number;
|
|
@@ -4151,17 +4134,32 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4151
4134
|
changeLineItems?: LineItems[];
|
|
4152
4135
|
updatedLineItem?: LineItems;
|
|
4153
4136
|
}
|
|
4154
|
-
export declare class
|
|
4155
|
-
|
|
4156
|
-
|
|
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;
|
|
4157
4159
|
}
|
|
4158
|
-
export declare function convertToNumber(data: string): number;
|
|
4159
4160
|
export declare class CloseShiftDto {
|
|
4160
4161
|
closingCashAmount: number;
|
|
4161
4162
|
}
|
|
4162
|
-
export declare class FindShiftsByIdsDto {
|
|
4163
|
-
shiftIds: number[];
|
|
4164
|
-
}
|
|
4165
4163
|
export declare class FindShiftsFiltersDto {
|
|
4166
4164
|
statuses?: string;
|
|
4167
4165
|
stationIds?: string;
|
|
@@ -4222,3 +4220,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4222
4220
|
closingManager?: User;
|
|
4223
4221
|
reconcilingUser?: User;
|
|
4224
4222
|
}
|
|
4223
|
+
export declare class FindShiftsByIdsDto {
|
|
4224
|
+
shiftIds: number[];
|
|
4225
|
+
}
|