@bondsports/types 0.0.134 → 0.0.135
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 +958 -958
- 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
|
@@ -20,13 +20,6 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
-
export declare enum EConfigurationKeys {
|
|
24
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
25
|
-
}
|
|
26
|
-
export declare enum EFailedPaymentReasons {
|
|
27
|
-
CARD_BLOCKED = "card_blocked_by_bond",
|
|
28
|
-
UNKNOWN = "unknown"
|
|
29
|
-
}
|
|
30
23
|
export declare class FindBookingTypeSettingDto {
|
|
31
24
|
organizationId: number;
|
|
32
25
|
facilityId: number;
|
|
@@ -34,6 +27,13 @@ export declare class FindBookingTypeSettingDto {
|
|
|
34
27
|
bookingDate: string;
|
|
35
28
|
bookingTime: string;
|
|
36
29
|
}
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
+
UNKNOWN = "unknown"
|
|
36
|
+
}
|
|
37
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
38
|
membershipId: number;
|
|
39
39
|
}
|
|
@@ -463,6 +463,24 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
471
|
+
}
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
483
|
+
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
468
486
|
}
|
|
@@ -684,24 +702,6 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -889,50 +889,6 @@ export declare class MoveParticipantDto {
|
|
|
889
889
|
resourceId: number;
|
|
890
890
|
invoiceId: number;
|
|
891
891
|
}
|
|
892
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
893
|
-
organizationId: number;
|
|
894
|
-
programType?: ProgramTypesEnum;
|
|
895
|
-
}
|
|
896
|
-
export declare class FindProgramByIdDto {
|
|
897
|
-
programId: number;
|
|
898
|
-
}
|
|
899
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
900
|
-
programId: number;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
}
|
|
903
|
-
export declare class BaseProgramDto {
|
|
904
|
-
type: ProgramTypesEnum;
|
|
905
|
-
name: string;
|
|
906
|
-
sport: SportsEnum;
|
|
907
|
-
minAge: string;
|
|
908
|
-
maxAge: string;
|
|
909
|
-
gender: GenderEnum;
|
|
910
|
-
level?: LevelOfPlayEnum[];
|
|
911
|
-
description?: string;
|
|
912
|
-
GL?: string;
|
|
913
|
-
status: PublishingStatusEnum;
|
|
914
|
-
organizationId: number;
|
|
915
|
-
userCreatorId: number;
|
|
916
|
-
highlights: ProgramHighlights[];
|
|
917
|
-
longDescription?: string;
|
|
918
|
-
requiredProductIds: number[];
|
|
919
|
-
}
|
|
920
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
921
|
-
}
|
|
922
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
923
|
-
programId: number;
|
|
924
|
-
mainMediaId: number;
|
|
925
|
-
}
|
|
926
|
-
export declare class UpdateProgramStatusDto {
|
|
927
|
-
programId: number;
|
|
928
|
-
status: PublishingStatusEnum;
|
|
929
|
-
}
|
|
930
|
-
export declare class ProgramHighlightDto {
|
|
931
|
-
data: string;
|
|
932
|
-
ordinal: number;
|
|
933
|
-
type: ProgramHighlightTypeEnum;
|
|
934
|
-
title: string;
|
|
935
|
-
}
|
|
936
892
|
export declare class PurchasePaymentDto {
|
|
937
893
|
token: string;
|
|
938
894
|
type: PaymentMethodTypeEnum;
|
|
@@ -1014,6 +970,50 @@ export declare class CreateResourceGroupDto {
|
|
|
1014
970
|
}
|
|
1015
971
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1016
972
|
}
|
|
973
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
974
|
+
organizationId: number;
|
|
975
|
+
programType?: ProgramTypesEnum;
|
|
976
|
+
}
|
|
977
|
+
export declare class FindProgramByIdDto {
|
|
978
|
+
programId: number;
|
|
979
|
+
}
|
|
980
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
981
|
+
programId: number;
|
|
982
|
+
organizationId: number;
|
|
983
|
+
}
|
|
984
|
+
export declare class BaseProgramDto {
|
|
985
|
+
type: ProgramTypesEnum;
|
|
986
|
+
name: string;
|
|
987
|
+
sport: SportsEnum;
|
|
988
|
+
minAge: string;
|
|
989
|
+
maxAge: string;
|
|
990
|
+
gender: GenderEnum;
|
|
991
|
+
level?: LevelOfPlayEnum[];
|
|
992
|
+
description?: string;
|
|
993
|
+
GL?: string;
|
|
994
|
+
status: PublishingStatusEnum;
|
|
995
|
+
organizationId: number;
|
|
996
|
+
userCreatorId: number;
|
|
997
|
+
highlights: ProgramHighlights[];
|
|
998
|
+
longDescription?: string;
|
|
999
|
+
requiredProductIds: number[];
|
|
1000
|
+
}
|
|
1001
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1002
|
+
}
|
|
1003
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1004
|
+
programId: number;
|
|
1005
|
+
mainMediaId: number;
|
|
1006
|
+
}
|
|
1007
|
+
export declare class UpdateProgramStatusDto {
|
|
1008
|
+
programId: number;
|
|
1009
|
+
status: PublishingStatusEnum;
|
|
1010
|
+
}
|
|
1011
|
+
export declare class ProgramHighlightDto {
|
|
1012
|
+
data: string;
|
|
1013
|
+
ordinal: number;
|
|
1014
|
+
type: ProgramHighlightTypeEnum;
|
|
1015
|
+
title: string;
|
|
1016
|
+
}
|
|
1017
1017
|
export declare class ResourceDto {
|
|
1018
1018
|
type: ResourceNameTypeEnum;
|
|
1019
1019
|
id: number;
|
|
@@ -1093,19 +1093,6 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1093
1093
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1094
1094
|
organizationId: number;
|
|
1095
1095
|
}
|
|
1096
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1097
|
-
entityType: ResourceNameTypeEnum;
|
|
1098
|
-
entityId: number;
|
|
1099
|
-
organizationId?: number;
|
|
1100
|
-
userId?: number;
|
|
1101
|
-
customerId?: number;
|
|
1102
|
-
performingUserId: number;
|
|
1103
|
-
description: string;
|
|
1104
|
-
actionType: ActionTypesEnum;
|
|
1105
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1106
|
-
oldValue?: any;
|
|
1107
|
-
newValue?: any;
|
|
1108
|
-
}
|
|
1109
1096
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1110
1097
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1111
1098
|
parentId: number;
|
|
@@ -1119,17 +1106,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1119
1106
|
proudct: Product;
|
|
1120
1107
|
event: Event;
|
|
1121
1108
|
}
|
|
1122
|
-
export declare class Address extends BondBaseEntity {
|
|
1123
|
-
city?: string;
|
|
1124
|
-
street?: string;
|
|
1125
|
-
streetNum?: string;
|
|
1126
|
-
aptNum?: string;
|
|
1127
|
-
zip?: string;
|
|
1128
|
-
country?: string;
|
|
1129
|
-
state?: string;
|
|
1130
|
-
geo: any;
|
|
1131
|
-
deletedAt?: Date;
|
|
1132
|
-
}
|
|
1133
1109
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1134
1110
|
questionId: number;
|
|
1135
1111
|
question?: Questions;
|
|
@@ -1143,6 +1119,30 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1143
1119
|
metaData: any | null;
|
|
1144
1120
|
questionText: string | null;
|
|
1145
1121
|
}
|
|
1122
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1123
|
+
entityType: ResourceNameTypeEnum;
|
|
1124
|
+
entityId: number;
|
|
1125
|
+
organizationId?: number;
|
|
1126
|
+
userId?: number;
|
|
1127
|
+
customerId?: number;
|
|
1128
|
+
performingUserId: number;
|
|
1129
|
+
description: string;
|
|
1130
|
+
actionType: ActionTypesEnum;
|
|
1131
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1132
|
+
oldValue?: any;
|
|
1133
|
+
newValue?: any;
|
|
1134
|
+
}
|
|
1135
|
+
export declare class Address extends BondBaseEntity {
|
|
1136
|
+
city?: string;
|
|
1137
|
+
street?: string;
|
|
1138
|
+
streetNum?: string;
|
|
1139
|
+
aptNum?: string;
|
|
1140
|
+
zip?: string;
|
|
1141
|
+
country?: string;
|
|
1142
|
+
state?: string;
|
|
1143
|
+
geo: any;
|
|
1144
|
+
deletedAt?: Date;
|
|
1145
|
+
}
|
|
1146
1146
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
1147
|
questionnaireId: number;
|
|
1148
1148
|
userId?: number;
|
|
@@ -1190,6 +1190,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1190
1190
|
publicNotes?: string;
|
|
1191
1191
|
slotType?: SlotTypeEnum;
|
|
1192
1192
|
}
|
|
1193
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1194
|
+
area: string;
|
|
1195
|
+
key: string;
|
|
1196
|
+
value: string;
|
|
1197
|
+
}
|
|
1193
1198
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1194
1199
|
parentId: number;
|
|
1195
1200
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1200,11 +1205,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1200
1205
|
endTimeInDay: string;
|
|
1201
1206
|
directBookingFor: DirectBookingTypesEnum;
|
|
1202
1207
|
}
|
|
1203
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1204
|
-
area: string;
|
|
1205
|
-
key: string;
|
|
1206
|
-
value: string;
|
|
1207
|
-
}
|
|
1208
1208
|
export declare class Connection extends BondBaseEntity {
|
|
1209
1209
|
connType: number | null;
|
|
1210
1210
|
from: number | null;
|
|
@@ -1393,10 +1393,6 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1393
1393
|
facilityId: number;
|
|
1394
1394
|
resourceId: number;
|
|
1395
1395
|
}
|
|
1396
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1397
|
-
name: string | null;
|
|
1398
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1399
|
-
}
|
|
1400
1396
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1401
1397
|
userId: number;
|
|
1402
1398
|
invoiceId: number;
|
|
@@ -1411,6 +1407,10 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1411
1407
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1412
1408
|
code: string;
|
|
1413
1409
|
}
|
|
1410
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1411
|
+
name: string | null;
|
|
1412
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1413
|
+
}
|
|
1414
1414
|
export declare class Group extends BondBaseEntity {
|
|
1415
1415
|
name: string;
|
|
1416
1416
|
description?: string;
|
|
@@ -1440,6 +1440,35 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1440
1440
|
discountMethod?: DiscountMethodsEnum;
|
|
1441
1441
|
discountValue?: number;
|
|
1442
1442
|
}
|
|
1443
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1444
|
+
groupId: number;
|
|
1445
|
+
divisionId: number;
|
|
1446
|
+
deletedAt?: Date;
|
|
1447
|
+
}
|
|
1448
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1449
|
+
invoiceId: string | null;
|
|
1450
|
+
price: number | null;
|
|
1451
|
+
status: InvoiceStatusEnum | null;
|
|
1452
|
+
sentForClientDate: Date | null;
|
|
1453
|
+
payingUserId?: number | null;
|
|
1454
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1455
|
+
lineItems: LineItems[];
|
|
1456
|
+
lineItemHistory: LineItemHistory[];
|
|
1457
|
+
paymentStatus: PaymentStatusEnum;
|
|
1458
|
+
paymentMethodId?: string;
|
|
1459
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1460
|
+
paidAmount: number;
|
|
1461
|
+
currency: CurrencyEnum;
|
|
1462
|
+
mainPaymentId: number;
|
|
1463
|
+
isScheduled: boolean;
|
|
1464
|
+
isRefunded: boolean;
|
|
1465
|
+
isVoided: boolean;
|
|
1466
|
+
creatingUserId: number;
|
|
1467
|
+
shiftId: number;
|
|
1468
|
+
platform: PlatformsEnum;
|
|
1469
|
+
invoiceNotes: InvoiceNote[];
|
|
1470
|
+
slots: Slot[];
|
|
1471
|
+
}
|
|
1443
1472
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1444
1473
|
email: string;
|
|
1445
1474
|
status: EEmailStatus;
|
|
@@ -1460,11 +1489,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1460
1489
|
invoiceId: number;
|
|
1461
1490
|
invoice: Invoice;
|
|
1462
1491
|
}
|
|
1463
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1464
|
-
groupId: number;
|
|
1465
|
-
divisionId: number;
|
|
1466
|
-
deletedAt?: Date;
|
|
1467
|
-
}
|
|
1468
1492
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1469
1493
|
invoiceId: number;
|
|
1470
1494
|
paymentId: number;
|
|
@@ -1543,36 +1567,12 @@ export declare class LeagueSeasonRelations {
|
|
|
1543
1567
|
league?: boolean;
|
|
1544
1568
|
facilities?: boolean;
|
|
1545
1569
|
}
|
|
1546
|
-
export declare class
|
|
1547
|
-
invoiceId:
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
sentForClientDate: Date | null;
|
|
1551
|
-
payingUserId?: number | null;
|
|
1552
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1553
|
-
lineItems: LineItems[];
|
|
1554
|
-
lineItemHistory: LineItemHistory[];
|
|
1555
|
-
paymentStatus: PaymentStatusEnum;
|
|
1556
|
-
paymentMethodId?: string;
|
|
1557
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1570
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1571
|
+
invoiceId: number;
|
|
1572
|
+
paymentId: number;
|
|
1573
|
+
lineItemId: number;
|
|
1558
1574
|
paidAmount: number;
|
|
1559
|
-
|
|
1560
|
-
mainPaymentId: number;
|
|
1561
|
-
isScheduled: boolean;
|
|
1562
|
-
isRefunded: boolean;
|
|
1563
|
-
isVoided: boolean;
|
|
1564
|
-
creatingUserId: number;
|
|
1565
|
-
shiftId: number;
|
|
1566
|
-
platform: PlatformsEnum;
|
|
1567
|
-
invoiceNotes: InvoiceNote[];
|
|
1568
|
-
slots: Slot[];
|
|
1569
|
-
}
|
|
1570
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1571
|
-
invoiceId: number;
|
|
1572
|
-
paymentId: number;
|
|
1573
|
-
lineItemId: number;
|
|
1574
|
-
paidAmount: number;
|
|
1575
|
-
unitPaidAmount: number;
|
|
1575
|
+
unitPaidAmount: number;
|
|
1576
1576
|
currency: CurrencyEnum;
|
|
1577
1577
|
payment: Payment;
|
|
1578
1578
|
lineItem: LineItems;
|
|
@@ -1795,6 +1795,15 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1795
1795
|
reason: EFailedPaymentReasons;
|
|
1796
1796
|
errorMessage: string;
|
|
1797
1797
|
}
|
|
1798
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1799
|
+
content: string;
|
|
1800
|
+
creatingUserId: number;
|
|
1801
|
+
user: User;
|
|
1802
|
+
isPublic: boolean;
|
|
1803
|
+
deletedAt: Date;
|
|
1804
|
+
paymentId: number;
|
|
1805
|
+
payment: Payment;
|
|
1806
|
+
}
|
|
1798
1807
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1799
1808
|
paymentPlanId: number;
|
|
1800
1809
|
paymentDate: Date;
|
|
@@ -2381,914 +2390,905 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2381
2390
|
membershipCollectionId?: string;
|
|
2382
2391
|
programsCollectionId?: string;
|
|
2383
2392
|
}
|
|
2384
|
-
export
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
paymentId: number;
|
|
2391
|
-
payment: Payment;
|
|
2392
|
-
}
|
|
2393
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2394
|
-
QUESTION = "question",
|
|
2395
|
-
CITY = "city",
|
|
2396
|
-
MEMBERSHIP = "membership"
|
|
2393
|
+
export interface IEntitlementTerms {
|
|
2394
|
+
type: EntitlementTermsTypesEnum;
|
|
2395
|
+
id?: number;
|
|
2396
|
+
value?: string;
|
|
2397
|
+
minValue?: string;
|
|
2398
|
+
maxValue?: string;
|
|
2397
2399
|
}
|
|
2398
|
-
export
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
TEAM = "team",
|
|
2402
|
-
LEAGUE = "league",
|
|
2403
|
-
USER = "user",
|
|
2404
|
-
ORGANIZATION = "organization",
|
|
2405
|
-
APP = "app",
|
|
2406
|
-
FEED = "feed",
|
|
2407
|
-
MATCH = "match",
|
|
2408
|
-
ROUND = "round",
|
|
2409
|
-
PORTAL = "portal",
|
|
2410
|
-
SEASON = "season",
|
|
2411
|
-
TOURNAMENT = "tournament",
|
|
2412
|
-
MEMBERSHIP = "membership",
|
|
2413
|
-
DIVISION = "division",
|
|
2414
|
-
GAMESLOT = "gameslot",
|
|
2415
|
-
SPACE = "space",
|
|
2416
|
-
RESERVATION = "reservation",
|
|
2417
|
-
INVOICE = "invoice",
|
|
2418
|
-
CUSTOMER = "customer",
|
|
2419
|
-
PACKAGE = "package",
|
|
2420
|
-
FACILITY = "facility",
|
|
2421
|
-
PROGRAM = "program",
|
|
2422
|
-
PROGRAM_SEASON = "program_season",
|
|
2423
|
-
PRODUCT = "product",
|
|
2424
|
-
GROUP = "group",
|
|
2425
|
-
VARIANT = "variant",
|
|
2426
|
-
SLOT = "slot",
|
|
2427
|
-
ADDON = "addon"
|
|
2400
|
+
export interface IQuestionAnswerObject {
|
|
2401
|
+
questionId: number;
|
|
2402
|
+
value: string;
|
|
2428
2403
|
}
|
|
2429
|
-
export
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2404
|
+
export interface ILowestPriceForItem {
|
|
2405
|
+
itemId: number;
|
|
2406
|
+
itemType: ResourceNameTypeEnum;
|
|
2407
|
+
groupId: number;
|
|
2408
|
+
groupName?: string;
|
|
2409
|
+
price: number;
|
|
2410
|
+
overridesPrice: boolean;
|
|
2434
2411
|
}
|
|
2435
|
-
export
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2412
|
+
export interface IResourcesAvailability {
|
|
2413
|
+
resourceType: ResourceNameTypeEnum;
|
|
2414
|
+
quantity: number;
|
|
2415
|
+
resourcesIds: number[];
|
|
2416
|
+
isPunchCard: boolean;
|
|
2417
|
+
resources?: any[];
|
|
2439
2418
|
}
|
|
2440
|
-
export
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
ADVANCED = 3,
|
|
2444
|
-
SEMIPRO = 4,
|
|
2445
|
-
SPECTATOR = 5
|
|
2419
|
+
export interface IPackageResponse {
|
|
2420
|
+
parentProduct: Product;
|
|
2421
|
+
children: IChildProduct[];
|
|
2446
2422
|
}
|
|
2447
|
-
export
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
CLINIC = 3,
|
|
2452
|
-
CAMP = 4,
|
|
2453
|
-
LESSON = 5,
|
|
2454
|
-
CLUB_TEAM = 6
|
|
2423
|
+
export interface IChildProduct {
|
|
2424
|
+
product: Product;
|
|
2425
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2426
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2455
2427
|
}
|
|
2456
|
-
export
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2428
|
+
export interface ISeasonAttendeeInfo {
|
|
2429
|
+
applicationAnswers: Answer[];
|
|
2430
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2431
|
+
invoices: Invoice[];
|
|
2432
|
+
payments: Payment[];
|
|
2433
|
+
products: Product[];
|
|
2434
|
+
redeemNext: ProductsUsers;
|
|
2460
2435
|
}
|
|
2461
|
-
export
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
LACROSSE = 12,
|
|
2474
|
-
PINGPONG = 13,
|
|
2475
|
-
RUGBY = 14,
|
|
2476
|
-
SKEEBALL = 15,
|
|
2477
|
-
TENNIS = 16,
|
|
2478
|
-
VOLLEYBALL = 17,
|
|
2479
|
-
WIFFLEBALL = 18,
|
|
2480
|
-
BADMINTON = 19,
|
|
2481
|
-
FITNESS = 20,
|
|
2482
|
-
GOLF = 21,
|
|
2483
|
-
PILATES = 22,
|
|
2484
|
-
RUNNING = 23,
|
|
2485
|
-
SKIING = 24,
|
|
2486
|
-
SNOWBOARDING = 25,
|
|
2487
|
-
YOGA = 26,
|
|
2488
|
-
BROOMBALL = 27,
|
|
2489
|
-
CRICKET = 28,
|
|
2490
|
-
CROSSFIT = 29,
|
|
2491
|
-
CYCLING = 30,
|
|
2492
|
-
FIELD_HOCKEY = 31,
|
|
2493
|
-
RACQUETBALL = 32,
|
|
2494
|
-
SPINNING = 33,
|
|
2495
|
-
SQUASH = 34,
|
|
2496
|
-
SURFING = 35,
|
|
2497
|
-
SWIMMING = 36,
|
|
2498
|
-
WIND_SURFING = 37,
|
|
2499
|
-
ADVENTURE = 38,
|
|
2500
|
-
BOXING = 39,
|
|
2501
|
-
BASEBALL = 40,
|
|
2502
|
-
DANCE = 41,
|
|
2503
|
-
KICKBOXING = 42,
|
|
2504
|
-
MARTIAL_ARTS = 43,
|
|
2505
|
-
OUTDOORS = 44,
|
|
2506
|
-
ROWING = 45,
|
|
2507
|
-
SAILING = 46,
|
|
2508
|
-
SUP = 47,
|
|
2509
|
-
TRIATHLON = 48,
|
|
2510
|
-
HANDBALL = 49,
|
|
2511
|
-
CATCHBALL = 50,
|
|
2512
|
-
BLITZBALL = 51,
|
|
2513
|
-
ROLLER_DERBY = 52,
|
|
2514
|
-
ICE_SKATING = 53,
|
|
2515
|
-
PICKLEBALL = 54,
|
|
2516
|
-
AXE_THROWING = 55,
|
|
2517
|
-
FURSAL = 56,
|
|
2518
|
-
BIRTHDAY = 57,
|
|
2519
|
-
CORPRATE_EVENTS = 58,
|
|
2520
|
-
OTHER = 999
|
|
2436
|
+
export interface ISeasonAttendeeListInfo {
|
|
2437
|
+
userId: number;
|
|
2438
|
+
userFirstName: string;
|
|
2439
|
+
userLastName: string;
|
|
2440
|
+
userGender: number;
|
|
2441
|
+
userBirthDate: Date;
|
|
2442
|
+
userProfilePicUrl: string;
|
|
2443
|
+
customerId: number;
|
|
2444
|
+
customerEmail: string;
|
|
2445
|
+
paymentStatus: string;
|
|
2446
|
+
productName: string;
|
|
2447
|
+
punchCard: boolean;
|
|
2521
2448
|
}
|
|
2522
|
-
export declare
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
CLOSED = 3,
|
|
2526
|
-
CANCELLED = 4,
|
|
2527
|
-
ARCHIVE = 5,
|
|
2528
|
-
UNPUBLISHED = 6
|
|
2449
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2450
|
+
segmentType: ResourceNameTypeEnum;
|
|
2451
|
+
participantRegisteredDate?: string;
|
|
2529
2452
|
}
|
|
2530
|
-
export declare
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
MAXAGE = 3,
|
|
2534
|
-
GENDER = 4,
|
|
2535
|
-
LEVELOFPLAY = 5,
|
|
2536
|
-
GAMESSEASON = 6,
|
|
2537
|
-
MINWEEK = 7,
|
|
2538
|
-
SURFACE = 8,
|
|
2539
|
-
FORMAT = 9,
|
|
2540
|
-
PLAYERS_PER_TEAM = 10,
|
|
2541
|
-
MATCH_LENGTH = 12
|
|
2453
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2454
|
+
segmentType: ResourceNameTypeEnum;
|
|
2455
|
+
participantRegisteredDate?: string;
|
|
2542
2456
|
}
|
|
2543
|
-
export
|
|
2544
|
-
|
|
2545
|
-
ACCEPTED = 2,
|
|
2546
|
-
DECLINED = 3
|
|
2457
|
+
export interface ITokenResonse {
|
|
2458
|
+
token: string;
|
|
2547
2459
|
}
|
|
2548
|
-
export
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
VOID = "void"
|
|
2460
|
+
export interface IStripeBondInvoices {
|
|
2461
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2462
|
+
bondPaidPayment: Payment;
|
|
2463
|
+
invoice?: Invoice;
|
|
2464
|
+
customer?: Customer;
|
|
2554
2465
|
}
|
|
2555
|
-
export
|
|
2556
|
-
|
|
2466
|
+
export interface IPartialPaymentData {
|
|
2467
|
+
purchasingUserId: number;
|
|
2468
|
+
paymentData: PurchasePaymentDto;
|
|
2469
|
+
amountToPay: number;
|
|
2557
2470
|
}
|
|
2558
|
-
export
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
CANCELED = "Canceled"
|
|
2471
|
+
export interface IPayment {
|
|
2472
|
+
id: number;
|
|
2473
|
+
total: number;
|
|
2474
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2475
|
+
status: PaymentStatusEnum;
|
|
2476
|
+
createdAt: Date;
|
|
2477
|
+
invoices: number[];
|
|
2566
2478
|
}
|
|
2567
|
-
export
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
PENDING = 8
|
|
2479
|
+
export interface IPaginationData<T> {
|
|
2480
|
+
meta: {
|
|
2481
|
+
totalItems: number;
|
|
2482
|
+
itemsPerPage: number;
|
|
2483
|
+
totalPages: number;
|
|
2484
|
+
currentPage: number;
|
|
2485
|
+
};
|
|
2486
|
+
data: T[];
|
|
2576
2487
|
}
|
|
2577
|
-
export
|
|
2578
|
-
|
|
2579
|
-
|
|
2488
|
+
export interface IPricesOfProductsResults {
|
|
2489
|
+
productId: number;
|
|
2490
|
+
userId: number;
|
|
2491
|
+
price: number;
|
|
2492
|
+
groupId?: number;
|
|
2493
|
+
groupName?: string;
|
|
2494
|
+
originalPrice?: number;
|
|
2495
|
+
priceWithoutTax: number;
|
|
2496
|
+
tax: number;
|
|
2497
|
+
isTaxInclusive: boolean;
|
|
2580
2498
|
}
|
|
2581
|
-
export
|
|
2582
|
-
|
|
2583
|
-
|
|
2499
|
+
export interface IPaymentMethodToFundLeft {
|
|
2500
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2501
|
+
paymentMethodId: string;
|
|
2502
|
+
fundLeft: number;
|
|
2503
|
+
ccLast4?: string;
|
|
2504
|
+
ccBrand?: string;
|
|
2584
2505
|
}
|
|
2585
|
-
export
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
EVENT = "event"
|
|
2506
|
+
export interface IVariantsAndTitle {
|
|
2507
|
+
title: VariantTitle;
|
|
2508
|
+
variants: Variant[];
|
|
2589
2509
|
}
|
|
2590
|
-
export
|
|
2591
|
-
|
|
2510
|
+
export interface IProgramSeasonActivityTimes {
|
|
2511
|
+
dayOfWeek: number;
|
|
2512
|
+
open: string;
|
|
2513
|
+
close: string;
|
|
2592
2514
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2515
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2516
|
+
date: string;
|
|
2517
|
+
startTime: string;
|
|
2518
|
+
endTime: string;
|
|
2597
2519
|
}
|
|
2598
|
-
export
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
GOODS = "goods",
|
|
2603
|
-
PACKAGE = "package",
|
|
2604
|
-
REFUND_COMPENSATION = "refund",
|
|
2605
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2606
|
-
PETTY_CASH = "petty_cash",
|
|
2607
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2608
|
-
TAX = "tax"
|
|
2520
|
+
export interface IBlockedDates {
|
|
2521
|
+
name: string;
|
|
2522
|
+
startDate: Date;
|
|
2523
|
+
endDate: Date;
|
|
2609
2524
|
}
|
|
2610
|
-
export
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2525
|
+
export interface ISingleMemberForRenewal {
|
|
2526
|
+
member_id: number;
|
|
2527
|
+
member_membershipId: number;
|
|
2528
|
+
member_userId: number;
|
|
2529
|
+
member_nextPaymentMethodId?: string;
|
|
2530
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2531
|
+
member_answerTitleIds?: number[];
|
|
2532
|
+
member_organizationId: number;
|
|
2533
|
+
product_productPrice: number;
|
|
2534
|
+
product_productId: number;
|
|
2535
|
+
invoice_payingUserId: number;
|
|
2536
|
+
invoice_paymentMethodId: string;
|
|
2537
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2538
|
+
endDate: Date;
|
|
2539
|
+
membership_name: string;
|
|
2540
|
+
user_firstName: string;
|
|
2541
|
+
user_lastName: string;
|
|
2542
|
+
user_email: string;
|
|
2615
2543
|
}
|
|
2616
|
-
export
|
|
2617
|
-
|
|
2618
|
-
|
|
2544
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2545
|
+
package_parentProductId: number;
|
|
2546
|
+
product2_productPrice: number;
|
|
2547
|
+
familyid: number;
|
|
2548
|
+
invoice_id: number;
|
|
2619
2549
|
}
|
|
2620
|
-
export
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2550
|
+
export interface IResourceRegistrationData {
|
|
2551
|
+
id: number;
|
|
2552
|
+
resourceType: ResourceNameTypeEnum;
|
|
2553
|
+
openNumDays?: number;
|
|
2554
|
+
openNumMinutes?: number;
|
|
2555
|
+
openTime?: string;
|
|
2556
|
+
closeNumDays?: number;
|
|
2557
|
+
closeNumMinutes?: number;
|
|
2558
|
+
closeTime?: string;
|
|
2559
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2624
2560
|
}
|
|
2625
|
-
export
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
CHECK = "check",
|
|
2630
|
-
BALANCE = "balance",
|
|
2631
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2632
|
-
OTHER = "other",
|
|
2633
|
-
MIGRATED = "migrated",
|
|
2634
|
-
VOID = "void"
|
|
2561
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2562
|
+
id: number;
|
|
2563
|
+
startDate: string;
|
|
2564
|
+
startTime: string;
|
|
2635
2565
|
}
|
|
2636
|
-
export
|
|
2637
|
-
|
|
2638
|
-
|
|
2566
|
+
export interface IRegistrationConstraintsSetting {
|
|
2567
|
+
numDays?: number;
|
|
2568
|
+
numMinutes?: number;
|
|
2639
2569
|
}
|
|
2640
|
-
export
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2570
|
+
export interface IAttendeeDataToNotify {
|
|
2571
|
+
firstName: string;
|
|
2572
|
+
lastName: string;
|
|
2573
|
+
email: string;
|
|
2574
|
+
sessionName: string;
|
|
2575
|
+
parentSessionName?: string;
|
|
2576
|
+
organizationName: string;
|
|
2577
|
+
programName: string;
|
|
2644
2578
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2579
|
+
export interface IEventInSchedule {
|
|
2580
|
+
eventId: number;
|
|
2581
|
+
eventName: string;
|
|
2582
|
+
eventStartDate: string;
|
|
2583
|
+
eventEndDate: string;
|
|
2584
|
+
eventStartTime: string;
|
|
2585
|
+
eventEndTime: string;
|
|
2586
|
+
programId: number;
|
|
2587
|
+
programName: string;
|
|
2588
|
+
programType: ProgramTypesEnum;
|
|
2589
|
+
sessionId: number;
|
|
2590
|
+
sessionName: string;
|
|
2591
|
+
sports: number;
|
|
2592
|
+
spaces: {
|
|
2593
|
+
spaceId: number;
|
|
2594
|
+
spaceName: string;
|
|
2595
|
+
}[];
|
|
2596
|
+
status?: RegistrationValidationStatusEnum;
|
|
2648
2597
|
}
|
|
2649
|
-
export
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2598
|
+
export interface ISlotInSchedule {
|
|
2599
|
+
facilityId: number;
|
|
2600
|
+
facilityName: string;
|
|
2601
|
+
spaces: ISpaceWithSlots[];
|
|
2653
2602
|
}
|
|
2654
|
-
export
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2603
|
+
export interface ISpaceWithSlots {
|
|
2604
|
+
id: number;
|
|
2605
|
+
name: string;
|
|
2606
|
+
slots: ISlotReservationData[];
|
|
2658
2607
|
}
|
|
2659
|
-
export
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2608
|
+
export interface ISlotReservationData {
|
|
2609
|
+
reservationId: number;
|
|
2610
|
+
reservationName: string;
|
|
2611
|
+
date: string;
|
|
2612
|
+
startTime: string;
|
|
2613
|
+
endTime: string;
|
|
2614
|
+
notes: string;
|
|
2615
|
+
spaceId: number;
|
|
2616
|
+
isRental: boolean;
|
|
2617
|
+
slotType: SlotTypeEnum;
|
|
2618
|
+
slotId: number;
|
|
2619
|
+
eventId: number;
|
|
2620
|
+
isPrivate: boolean;
|
|
2664
2621
|
}
|
|
2665
|
-
export
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2622
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2623
|
+
parentSessionId: number;
|
|
2624
|
+
parentSessionName: string;
|
|
2625
|
+
eventTimezone: string;
|
|
2626
|
+
maxParticipants: number;
|
|
2627
|
+
maxMaleParticipants: number;
|
|
2628
|
+
maxFemaleParticipants: number;
|
|
2629
|
+
isPunchCard: boolean;
|
|
2669
2630
|
}
|
|
2670
|
-
export
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2631
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2632
|
+
id: number;
|
|
2633
|
+
name: string;
|
|
2634
|
+
bookingCreatorId: number;
|
|
2674
2635
|
}
|
|
2675
|
-
export
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2636
|
+
export interface IRawSlotInSchedule {
|
|
2637
|
+
startDate: string;
|
|
2638
|
+
endDate: string;
|
|
2639
|
+
startTime: string;
|
|
2640
|
+
endTime: string;
|
|
2641
|
+
reservationId: number;
|
|
2642
|
+
eventTitle: string;
|
|
2643
|
+
publicNotes: string;
|
|
2644
|
+
spaceId: number;
|
|
2645
|
+
creatorType: ResourceNameTypeEnum;
|
|
2646
|
+
slotType: SlotTypeEnum;
|
|
2647
|
+
slotId: number;
|
|
2648
|
+
eventId: number;
|
|
2649
|
+
isPrivate: boolean;
|
|
2679
2650
|
}
|
|
2680
|
-
export
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2651
|
+
export interface IPurchasedResourcesRaw {
|
|
2652
|
+
purchasedId: number;
|
|
2653
|
+
purchasedProductUserId: number;
|
|
2654
|
+
purchasedResourceId: number;
|
|
2655
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2656
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2657
|
+
pUserId: number;
|
|
2658
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2659
|
+
pUserProductId: number;
|
|
2660
|
+
pUserProductName: string;
|
|
2661
|
+
pUserProductPrice: number;
|
|
2662
|
+
pUserProductPriceCurrency: string;
|
|
2663
|
+
pUserProductQuantity: number;
|
|
2664
|
+
pUserProductQuantityLeft: number;
|
|
2665
|
+
pUserUserId: number;
|
|
2691
2666
|
}
|
|
2692
|
-
export
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2667
|
+
export interface IUsersPasses {
|
|
2668
|
+
userId: number;
|
|
2669
|
+
userFirstName: string;
|
|
2670
|
+
userLastName: string;
|
|
2671
|
+
organizationId: number;
|
|
2672
|
+
programId: number;
|
|
2673
|
+
programName: string;
|
|
2674
|
+
sessionId: number;
|
|
2675
|
+
sessionName: string;
|
|
2676
|
+
productId: number;
|
|
2677
|
+
productName: string;
|
|
2678
|
+
productUserId: number;
|
|
2679
|
+
purchaseDate: Date;
|
|
2680
|
+
passesLeft: number;
|
|
2700
2681
|
}
|
|
2701
|
-
export
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2682
|
+
export interface ISessionsLandingPage {
|
|
2683
|
+
sessionId: number;
|
|
2684
|
+
name: string;
|
|
2685
|
+
startDate: Date;
|
|
2686
|
+
endDate: Date;
|
|
2687
|
+
registrationStartDate: Date;
|
|
2688
|
+
registrationEndDate: Date;
|
|
2689
|
+
sport: SportsEnum;
|
|
2690
|
+
minAge: string;
|
|
2691
|
+
maxAge: string;
|
|
2692
|
+
maxParticipants?: number;
|
|
2693
|
+
gender: GenderEnum;
|
|
2694
|
+
activityTimes: ActivityTimes[];
|
|
2695
|
+
earlyRegistrationStartDate?: Date;
|
|
2696
|
+
earlyRegistrationEndDate?: Date;
|
|
2697
|
+
lateRegistrationStartDate?: Date;
|
|
2698
|
+
lateRegistrationEndDate?: Date;
|
|
2699
|
+
attendeeCount?: number;
|
|
2700
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2706
2701
|
}
|
|
2707
|
-
export
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2702
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2703
|
+
hasRequiredMembership: boolean;
|
|
2704
|
+
hasEntitledPricing: boolean;
|
|
2705
|
+
lowestPrice?: number;
|
|
2706
|
+
products?: ISessionLandingPageProduct[];
|
|
2711
2707
|
}
|
|
2712
|
-
export
|
|
2713
|
-
|
|
2714
|
-
|
|
2708
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2709
|
+
hasRequiredMembership: boolean;
|
|
2710
|
+
hasEntitledPricing: boolean;
|
|
2711
|
+
products?: ISessionLandingPageProduct[];
|
|
2712
|
+
segments?: Event[] | ProgramSeason[];
|
|
2713
|
+
programName: string;
|
|
2714
|
+
programId: number;
|
|
2715
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2716
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2715
2717
|
}
|
|
2716
|
-
export
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2718
|
+
export interface ISlimAddons {
|
|
2719
|
+
addons?: {
|
|
2720
|
+
id: number;
|
|
2721
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2722
|
+
name: string;
|
|
2723
|
+
productType?: ProductTypesEnum;
|
|
2724
|
+
productSubType?: string;
|
|
2725
|
+
}[];
|
|
2722
2726
|
}
|
|
2723
|
-
export
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
PAID_PARKING = 12,
|
|
2736
|
-
ACCESSIBLE = 13
|
|
2727
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2728
|
+
id: number;
|
|
2729
|
+
name: string;
|
|
2730
|
+
startDate?: Date;
|
|
2731
|
+
endDate?: Date;
|
|
2732
|
+
downpayment?: number;
|
|
2733
|
+
description?: string;
|
|
2734
|
+
prices: Price[];
|
|
2735
|
+
productSubType?: ProductSubTypesEnum;
|
|
2736
|
+
punchCard: boolean;
|
|
2737
|
+
isAddon: boolean;
|
|
2738
|
+
defaultPriceId?: number;
|
|
2737
2739
|
}
|
|
2738
|
-
export
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
DIAMOND = "diamond",
|
|
2743
|
-
RINK = "rink",
|
|
2744
|
-
STUDIO = "studio",
|
|
2745
|
-
POOL = "pool",
|
|
2746
|
-
BATTING_CAGE = "batting cage",
|
|
2747
|
-
SHELTER = "shelter",
|
|
2748
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2740
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2741
|
+
destinationId?: string;
|
|
2742
|
+
stripeCustomerId?: string;
|
|
2743
|
+
fee?: number;
|
|
2749
2744
|
}
|
|
2750
|
-
export
|
|
2751
|
-
|
|
2745
|
+
export interface IReservationCreatorData {
|
|
2746
|
+
type: ResourceNameTypeEnum;
|
|
2747
|
+
id: number;
|
|
2748
|
+
organizationId: number;
|
|
2749
|
+
startDate: string;
|
|
2750
|
+
endDate: string;
|
|
2751
|
+
sportId: number;
|
|
2752
2752
|
}
|
|
2753
|
-
export declare enum
|
|
2754
|
-
|
|
2755
|
-
|
|
2753
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2754
|
+
QUESTION = "question",
|
|
2755
|
+
CITY = "city",
|
|
2756
|
+
MEMBERSHIP = "membership"
|
|
2756
2757
|
}
|
|
2757
|
-
export declare enum
|
|
2758
|
-
|
|
2759
|
-
|
|
2758
|
+
export declare enum ResourceNameTypeEnum {
|
|
2759
|
+
EVENT = "event",
|
|
2760
|
+
VENUE = "venue",
|
|
2761
|
+
TEAM = "team",
|
|
2762
|
+
LEAGUE = "league",
|
|
2763
|
+
USER = "user",
|
|
2764
|
+
ORGANIZATION = "organization",
|
|
2765
|
+
APP = "app",
|
|
2766
|
+
FEED = "feed",
|
|
2767
|
+
MATCH = "match",
|
|
2768
|
+
ROUND = "round",
|
|
2769
|
+
PORTAL = "portal",
|
|
2770
|
+
SEASON = "season",
|
|
2771
|
+
TOURNAMENT = "tournament",
|
|
2772
|
+
MEMBERSHIP = "membership",
|
|
2773
|
+
DIVISION = "division",
|
|
2774
|
+
GAMESLOT = "gameslot",
|
|
2775
|
+
SPACE = "space",
|
|
2776
|
+
RESERVATION = "reservation",
|
|
2777
|
+
INVOICE = "invoice",
|
|
2778
|
+
CUSTOMER = "customer",
|
|
2779
|
+
PACKAGE = "package",
|
|
2780
|
+
FACILITY = "facility",
|
|
2781
|
+
PROGRAM = "program",
|
|
2782
|
+
PROGRAM_SEASON = "program_season",
|
|
2783
|
+
PRODUCT = "product",
|
|
2784
|
+
GROUP = "group",
|
|
2785
|
+
VARIANT = "variant",
|
|
2786
|
+
SLOT = "slot",
|
|
2787
|
+
ADDON = "addon"
|
|
2760
2788
|
}
|
|
2761
|
-
export declare enum
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
HARDWOOD = "hardwood",
|
|
2767
|
-
ASPHALT = "asphalt",
|
|
2768
|
-
SAND = "sand",
|
|
2769
|
-
ICE = "ice",
|
|
2770
|
-
SPORT_COURT = "sportCourt"
|
|
2789
|
+
export declare enum DirectBookingTypesEnum {
|
|
2790
|
+
DIRECT_FOR_ALL = "all",
|
|
2791
|
+
DIRECT_FOR_NONE = "none",
|
|
2792
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2793
|
+
NO_SETTING = "no_setting"
|
|
2771
2794
|
}
|
|
2772
|
-
export declare enum
|
|
2773
|
-
|
|
2774
|
-
|
|
2795
|
+
export declare enum GenderEnum {
|
|
2796
|
+
OTHER = 1,
|
|
2797
|
+
MALE = 2,
|
|
2798
|
+
FEMALE = 3
|
|
2775
2799
|
}
|
|
2776
|
-
export declare enum
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2800
|
+
export declare enum LevelOfPlayEnum {
|
|
2801
|
+
BEGINNER = 1,
|
|
2802
|
+
INTERMEDIATE = 2,
|
|
2803
|
+
ADVANCED = 3,
|
|
2804
|
+
SEMIPRO = 4,
|
|
2805
|
+
SPECTATOR = 5
|
|
2780
2806
|
}
|
|
2781
|
-
export declare enum
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2807
|
+
export declare enum ProgramTypesEnum {
|
|
2808
|
+
LEAGUE = 0,
|
|
2809
|
+
TOURNAMENT = 1,
|
|
2810
|
+
CLASS = 2,
|
|
2811
|
+
CLINIC = 3,
|
|
2812
|
+
CAMP = 4,
|
|
2813
|
+
LESSON = 5,
|
|
2814
|
+
CLUB_TEAM = 6
|
|
2788
2815
|
}
|
|
2789
|
-
export declare enum
|
|
2790
|
-
|
|
2791
|
-
|
|
2816
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2817
|
+
ROUND_ROBIN = 1,
|
|
2818
|
+
BRACKETS = 2,
|
|
2819
|
+
CAMP_CLINIC_CLASS = 3
|
|
2792
2820
|
}
|
|
2793
|
-
export declare enum
|
|
2794
|
-
|
|
2821
|
+
export declare enum SportsEnum {
|
|
2822
|
+
SOFTBALL = 1,
|
|
2823
|
+
BASKETBALL = 2,
|
|
2824
|
+
FOOTBALL = 3,
|
|
2825
|
+
SOCCER = 4,
|
|
2826
|
+
BOWLING = 5,
|
|
2827
|
+
BOCCEBALL = 6,
|
|
2828
|
+
CORNHOLE = 7,
|
|
2829
|
+
DODGEBALL = 8,
|
|
2830
|
+
FRISBEE = 9,
|
|
2831
|
+
HOCKEY = 10,
|
|
2832
|
+
KICKBALL = 11,
|
|
2833
|
+
LACROSSE = 12,
|
|
2834
|
+
PINGPONG = 13,
|
|
2835
|
+
RUGBY = 14,
|
|
2836
|
+
SKEEBALL = 15,
|
|
2837
|
+
TENNIS = 16,
|
|
2838
|
+
VOLLEYBALL = 17,
|
|
2839
|
+
WIFFLEBALL = 18,
|
|
2840
|
+
BADMINTON = 19,
|
|
2841
|
+
FITNESS = 20,
|
|
2842
|
+
GOLF = 21,
|
|
2843
|
+
PILATES = 22,
|
|
2844
|
+
RUNNING = 23,
|
|
2845
|
+
SKIING = 24,
|
|
2846
|
+
SNOWBOARDING = 25,
|
|
2847
|
+
YOGA = 26,
|
|
2848
|
+
BROOMBALL = 27,
|
|
2849
|
+
CRICKET = 28,
|
|
2850
|
+
CROSSFIT = 29,
|
|
2851
|
+
CYCLING = 30,
|
|
2852
|
+
FIELD_HOCKEY = 31,
|
|
2853
|
+
RACQUETBALL = 32,
|
|
2854
|
+
SPINNING = 33,
|
|
2855
|
+
SQUASH = 34,
|
|
2856
|
+
SURFING = 35,
|
|
2857
|
+
SWIMMING = 36,
|
|
2858
|
+
WIND_SURFING = 37,
|
|
2859
|
+
ADVENTURE = 38,
|
|
2860
|
+
BOXING = 39,
|
|
2861
|
+
BASEBALL = 40,
|
|
2862
|
+
DANCE = 41,
|
|
2863
|
+
KICKBOXING = 42,
|
|
2864
|
+
MARTIAL_ARTS = 43,
|
|
2865
|
+
OUTDOORS = 44,
|
|
2866
|
+
ROWING = 45,
|
|
2867
|
+
SAILING = 46,
|
|
2868
|
+
SUP = 47,
|
|
2869
|
+
TRIATHLON = 48,
|
|
2870
|
+
HANDBALL = 49,
|
|
2871
|
+
CATCHBALL = 50,
|
|
2872
|
+
BLITZBALL = 51,
|
|
2873
|
+
ROLLER_DERBY = 52,
|
|
2874
|
+
ICE_SKATING = 53,
|
|
2875
|
+
PICKLEBALL = 54,
|
|
2876
|
+
AXE_THROWING = 55,
|
|
2877
|
+
FURSAL = 56,
|
|
2878
|
+
BIRTHDAY = 57,
|
|
2879
|
+
CORPRATE_EVENTS = 58,
|
|
2880
|
+
OTHER = 999
|
|
2795
2881
|
}
|
|
2796
|
-
export declare enum
|
|
2797
|
-
|
|
2882
|
+
export declare enum PublishingStatusEnum {
|
|
2883
|
+
DRAFT = 1,
|
|
2884
|
+
PUBLISHED = 2,
|
|
2885
|
+
CLOSED = 3,
|
|
2886
|
+
CANCELLED = 4,
|
|
2887
|
+
ARCHIVE = 5,
|
|
2888
|
+
UNPUBLISHED = 6
|
|
2798
2889
|
}
|
|
2799
|
-
export declare enum
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2890
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2891
|
+
OTHER = 1,
|
|
2892
|
+
MINAGE = 2,
|
|
2893
|
+
MAXAGE = 3,
|
|
2894
|
+
GENDER = 4,
|
|
2895
|
+
LEVELOFPLAY = 5,
|
|
2896
|
+
GAMESSEASON = 6,
|
|
2897
|
+
MINWEEK = 7,
|
|
2898
|
+
SURFACE = 8,
|
|
2899
|
+
FORMAT = 9,
|
|
2900
|
+
PLAYERS_PER_TEAM = 10,
|
|
2901
|
+
MATCH_LENGTH = 12
|
|
2803
2902
|
}
|
|
2804
|
-
export declare enum
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
CUSTOM = "custom"
|
|
2903
|
+
export declare enum RequestStatusEnum {
|
|
2904
|
+
PENDING = 1,
|
|
2905
|
+
ACCEPTED = 2,
|
|
2906
|
+
DECLINED = 3
|
|
2809
2907
|
}
|
|
2810
|
-
export declare enum
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2908
|
+
export declare enum PaymentStatusEnum {
|
|
2909
|
+
NOT_PAID = "not_paid",
|
|
2910
|
+
PARTIAL_PAYMENT = "partial",
|
|
2911
|
+
FULLY_PAID = "paid",
|
|
2912
|
+
REFUNDED = "refunded",
|
|
2913
|
+
VOID = "void"
|
|
2816
2914
|
}
|
|
2817
|
-
export declare enum
|
|
2818
|
-
|
|
2819
|
-
CLOSED = "closed",
|
|
2820
|
-
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2821
|
-
RECONCILED = "reconciled"
|
|
2915
|
+
export declare enum ReservationExtendedEnum {
|
|
2916
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2822
2917
|
}
|
|
2823
|
-
export declare
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2918
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2919
|
+
export declare enum ReservationStatusEnum {
|
|
2920
|
+
PLANNED = "Planned",
|
|
2921
|
+
APPROVED = "Approved",
|
|
2922
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2923
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2924
|
+
REJECTED = "Rejected",
|
|
2925
|
+
CANCELED = "Canceled"
|
|
2830
2926
|
}
|
|
2831
|
-
export declare enum
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2927
|
+
export declare enum PaymentStatusV1Enum {
|
|
2928
|
+
SENT_TO_CLIENT = 1,
|
|
2929
|
+
SENT_FOR_PAYMENT = 2,
|
|
2930
|
+
ACCEPTED = 3,
|
|
2931
|
+
REJECTED = 4,
|
|
2932
|
+
CANCELLED = 5,
|
|
2933
|
+
FRAUD = 6,
|
|
2934
|
+
NOT_RELEVANT = 7,
|
|
2935
|
+
PENDING = 8
|
|
2837
2936
|
}
|
|
2838
|
-
export declare enum
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
DURATION = "duration"
|
|
2937
|
+
export declare enum PaymentMethodsEnum {
|
|
2938
|
+
STRIPE = 1,
|
|
2939
|
+
CASH = 3
|
|
2842
2940
|
}
|
|
2843
|
-
export declare enum
|
|
2844
|
-
|
|
2845
|
-
|
|
2941
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2942
|
+
CHILD = "child",
|
|
2943
|
+
UPSALE = "upsale"
|
|
2846
2944
|
}
|
|
2847
|
-
export declare enum
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
MONTHLY = "monthly",
|
|
2852
|
-
YEARLY = "yearly"
|
|
2945
|
+
export declare enum AddonTimePeriodEnum {
|
|
2946
|
+
FULL = "full",
|
|
2947
|
+
SESSION = "session",
|
|
2948
|
+
EVENT = "event"
|
|
2853
2949
|
}
|
|
2854
|
-
export declare enum
|
|
2855
|
-
|
|
2856
|
-
AFTER = 2,
|
|
2857
|
-
AT_THE_BEGINING = 3,
|
|
2858
|
-
AT_THE_END = 4
|
|
2950
|
+
export declare enum CurrencyEnum {
|
|
2951
|
+
USD = "USD"
|
|
2859
2952
|
}
|
|
2860
|
-
export declare enum
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2953
|
+
export declare enum NotificationTypeEnum {
|
|
2954
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2955
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2956
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2864
2957
|
}
|
|
2865
|
-
export declare enum
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2958
|
+
export declare enum ProductTypesEnum {
|
|
2959
|
+
RESERVATION = "reservation",
|
|
2960
|
+
REGISTRATION = "registration",
|
|
2961
|
+
MEMBERSHIP = "membership",
|
|
2962
|
+
GOODS = "goods",
|
|
2963
|
+
PACKAGE = "package",
|
|
2964
|
+
REFUND_COMPENSATION = "refund",
|
|
2965
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2966
|
+
PETTY_CASH = "petty_cash",
|
|
2967
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2968
|
+
TAX = "tax"
|
|
2869
2969
|
}
|
|
2870
|
-
export declare enum
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
FRIDAY = 6,
|
|
2876
|
-
SATURDAY = 7,
|
|
2877
|
-
SUNDAY = 8
|
|
2970
|
+
export declare enum InvoiceStatusEnum {
|
|
2971
|
+
ACTIVE = "active",
|
|
2972
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2973
|
+
WAITING_CLIENT = "waitingClient",
|
|
2974
|
+
CANCELED = "canceled"
|
|
2878
2975
|
}
|
|
2879
|
-
export declare enum
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
YES = "yes"
|
|
2976
|
+
export declare enum LineItemsStatusEnum {
|
|
2977
|
+
USER_PRODUCT = "UserProduct",
|
|
2978
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2883
2979
|
}
|
|
2884
|
-
export declare enum
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2980
|
+
export declare enum ProductSubTypesEnum {
|
|
2981
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2982
|
+
SEASON_TEAM = "season_team",
|
|
2983
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2888
2984
|
}
|
|
2889
|
-
export declare enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2985
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2986
|
+
CREDIT_CARD = "card",
|
|
2987
|
+
ACH = "ach",
|
|
2988
|
+
CASH = "cash",
|
|
2989
|
+
CHECK = "check",
|
|
2990
|
+
BALANCE = "balance",
|
|
2991
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2992
|
+
OTHER = "other",
|
|
2993
|
+
MIGRATED = "migrated",
|
|
2994
|
+
VOID = "void"
|
|
2892
2995
|
}
|
|
2893
|
-
export declare enum
|
|
2894
|
-
|
|
2895
|
-
|
|
2996
|
+
export declare enum RefundTypeEnum {
|
|
2997
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2998
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2896
2999
|
}
|
|
2897
|
-
export declare enum
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2902
|
-
APPEND = "append"
|
|
3000
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
3001
|
+
INDIVIDUAL = "individual",
|
|
3002
|
+
FAMILY = "family",
|
|
3003
|
+
ORGANIZATION = "organization"
|
|
2903
3004
|
}
|
|
2904
|
-
export declare enum
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
3005
|
+
export declare enum MembershipTypeEnum {
|
|
3006
|
+
FIXED = "fix_membership",
|
|
3007
|
+
ROLLING = "rolling_membership"
|
|
2908
3008
|
}
|
|
2909
|
-
export declare enum
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
3009
|
+
export declare enum CustomerTypeEnum {
|
|
3010
|
+
USER = "user",
|
|
3011
|
+
FAMILY = "family",
|
|
3012
|
+
ORGANIZATION = "organization"
|
|
2913
3013
|
}
|
|
2914
|
-
export declare enum
|
|
2915
|
-
|
|
2916
|
-
|
|
3014
|
+
export declare enum GroupStatusEnum {
|
|
3015
|
+
ACTIVE = 1,
|
|
3016
|
+
INACTIVE = 2,
|
|
3017
|
+
DRAFT = 3
|
|
2917
3018
|
}
|
|
2918
|
-
export declare enum
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
3019
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
3020
|
+
FUTURE = "future",
|
|
3021
|
+
SUCCEEDED = "succeeded",
|
|
3022
|
+
FAILED = "failed",
|
|
2922
3023
|
CANCELED = "canceled"
|
|
2923
3024
|
}
|
|
2924
|
-
export declare enum
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
DISABLED_EMAIL = 4
|
|
3025
|
+
export declare enum EntryStatusEnum {
|
|
3026
|
+
ENTERED = 1,
|
|
3027
|
+
NOT_ENTERED = 2,
|
|
3028
|
+
CANCELED = 3
|
|
2929
3029
|
}
|
|
2930
|
-
export declare enum
|
|
2931
|
-
|
|
3030
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3031
|
+
ACTIVE = 1,
|
|
3032
|
+
MOVED = 2,
|
|
3033
|
+
CANCELED = 3
|
|
2932
3034
|
}
|
|
2933
|
-
export
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
minValue?: string;
|
|
2938
|
-
maxValue?: string;
|
|
3035
|
+
export declare enum TeamCanJoinEnum {
|
|
3036
|
+
ANYONE = "anyone",
|
|
3037
|
+
BY_INVITE = "byInvite",
|
|
3038
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2939
3039
|
}
|
|
2940
|
-
export
|
|
2941
|
-
|
|
2942
|
-
|
|
3040
|
+
export declare enum TeamMemberStatusEnum {
|
|
3041
|
+
PENDING = 1,
|
|
3042
|
+
ACTIVE = 2,
|
|
3043
|
+
DECLINED = 3,
|
|
3044
|
+
SUSPENDED = 4,
|
|
3045
|
+
INACTIVE = 5,
|
|
3046
|
+
INVITED = 6
|
|
2943
3047
|
}
|
|
2944
|
-
export
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
groupId: number;
|
|
2948
|
-
groupName?: string;
|
|
2949
|
-
price: number;
|
|
2950
|
-
overridesPrice: boolean;
|
|
3048
|
+
export declare enum TeamMemberRoleEnum {
|
|
3049
|
+
NULL = 0,
|
|
3050
|
+
ADMIN = 1
|
|
2951
3051
|
}
|
|
2952
|
-
export
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
3052
|
+
export declare enum DayOfWeekEnum {
|
|
3053
|
+
SUNDAY = 0,
|
|
3054
|
+
MONDAY = 1,
|
|
3055
|
+
TUESDAY = 2,
|
|
3056
|
+
WEDNESDAY = 3,
|
|
3057
|
+
THURSDAY = 4,
|
|
3058
|
+
FRIDAY = 5,
|
|
3059
|
+
SATURDAY = 6
|
|
2958
3060
|
}
|
|
2959
|
-
export
|
|
2960
|
-
|
|
2961
|
-
|
|
3061
|
+
export declare enum ActionTypesEnum {
|
|
3062
|
+
CREATE = "create",
|
|
3063
|
+
READ = "read",
|
|
3064
|
+
UPDATE = "update",
|
|
3065
|
+
DELETE = "delete"
|
|
2962
3066
|
}
|
|
2963
|
-
export
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
3067
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3068
|
+
ADMIN = "admin",
|
|
3069
|
+
BACKOFFICE = "backoffice",
|
|
3070
|
+
CONSUMER = "consumer"
|
|
2967
3071
|
}
|
|
2968
|
-
export
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
invoices: Invoice[];
|
|
2972
|
-
payments: Payment[];
|
|
2973
|
-
products: Product[];
|
|
2974
|
-
redeemNext: ProductsUsers;
|
|
3072
|
+
export declare enum RolesEnum {
|
|
3073
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3074
|
+
BOND_ADMIN = "bondAdmin"
|
|
2975
3075
|
}
|
|
2976
|
-
export
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
userProfilePicUrl: string;
|
|
2983
|
-
customerId: number;
|
|
2984
|
-
customerEmail: string;
|
|
2985
|
-
paymentStatus: string;
|
|
2986
|
-
productName: string;
|
|
2987
|
-
punchCard: boolean;
|
|
3076
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3077
|
+
IN_POOL = 5,
|
|
3078
|
+
ASSIGNED = 1,
|
|
3079
|
+
QUIT = 2,
|
|
3080
|
+
SUSPENDED = 3,
|
|
3081
|
+
INACTIVE = 4
|
|
2988
3082
|
}
|
|
2989
|
-
export declare
|
|
2990
|
-
|
|
2991
|
-
|
|
3083
|
+
export declare enum AmenitiesEnum {
|
|
3084
|
+
HEAT = 1,
|
|
3085
|
+
AC = 2,
|
|
3086
|
+
WIFI = 3,
|
|
3087
|
+
RESTROOMS = 4,
|
|
3088
|
+
DRINKING_FOUNTAIN = 5,
|
|
3089
|
+
PARKING = 6,
|
|
3090
|
+
CONCESSIONS = 7,
|
|
3091
|
+
SHELTER = 8,
|
|
3092
|
+
PORTABLE_RESTROOMS = 9,
|
|
3093
|
+
LIGHTS = 10,
|
|
3094
|
+
LOCKER_ROOM = 11,
|
|
3095
|
+
PAID_PARKING = 12,
|
|
3096
|
+
ACCESSIBLE = 13
|
|
2992
3097
|
}
|
|
2993
|
-
export declare
|
|
2994
|
-
|
|
2995
|
-
|
|
3098
|
+
export declare enum ResourceSubTypeEnum {
|
|
3099
|
+
COURT = "court",
|
|
3100
|
+
FIELD = "field",
|
|
3101
|
+
ROOM = "room",
|
|
3102
|
+
DIAMOND = "diamond",
|
|
3103
|
+
RINK = "rink",
|
|
3104
|
+
STUDIO = "studio",
|
|
3105
|
+
POOL = "pool",
|
|
3106
|
+
BATTING_CAGE = "batting cage",
|
|
3107
|
+
SHELTER = "shelter",
|
|
3108
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2996
3109
|
}
|
|
2997
|
-
export
|
|
2998
|
-
|
|
3110
|
+
export declare enum ResourceTypeEnum {
|
|
3111
|
+
SPACE = "space"
|
|
2999
3112
|
}
|
|
3000
|
-
export
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
invoice?: Invoice;
|
|
3004
|
-
customer?: Customer;
|
|
3113
|
+
export declare enum ResourceAgesEnum {
|
|
3114
|
+
ADULTS = "adults",
|
|
3115
|
+
CHILDREN = "children"
|
|
3005
3116
|
}
|
|
3006
|
-
export
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
amountToPay: number;
|
|
3117
|
+
export declare enum SpacePropertiesEnum {
|
|
3118
|
+
OUTDOOR = "outdoor",
|
|
3119
|
+
INDOOR = "indoor"
|
|
3010
3120
|
}
|
|
3011
|
-
export
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3121
|
+
export declare enum SurfacesEnum {
|
|
3122
|
+
GRASS = "grass",
|
|
3123
|
+
TURF = "turf",
|
|
3124
|
+
FIELD_TURF = "fieldTurf",
|
|
3125
|
+
ASTRO_TURF = "astroTurf",
|
|
3126
|
+
HARDWOOD = "hardwood",
|
|
3127
|
+
ASPHALT = "asphalt",
|
|
3128
|
+
SAND = "sand",
|
|
3129
|
+
ICE = "ice",
|
|
3130
|
+
SPORT_COURT = "sportCourt"
|
|
3018
3131
|
}
|
|
3019
|
-
export
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
itemsPerPage: number;
|
|
3023
|
-
totalPages: number;
|
|
3024
|
-
currentPage: number;
|
|
3025
|
-
};
|
|
3026
|
-
data: T[];
|
|
3132
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3133
|
+
MINUTES = "minutes",
|
|
3134
|
+
DAYS = "days"
|
|
3027
3135
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
groupId?: number;
|
|
3033
|
-
groupName?: string;
|
|
3034
|
-
originalPrice?: number;
|
|
3035
|
-
priceWithoutTax: number;
|
|
3036
|
-
tax: number;
|
|
3037
|
-
isTaxInclusive: boolean;
|
|
3136
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3137
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3138
|
+
OPEN = "open",
|
|
3139
|
+
CLOSED = "closed"
|
|
3038
3140
|
}
|
|
3039
|
-
export
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3141
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3142
|
+
FULL = "full",
|
|
3143
|
+
ALREADY_REGISTERED = "registered",
|
|
3144
|
+
AVAILABLE = "available",
|
|
3145
|
+
NOT_OPEN_YET = "not opened",
|
|
3146
|
+
ALREADY_CLOSED = "closed",
|
|
3147
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3045
3148
|
}
|
|
3046
|
-
export
|
|
3047
|
-
|
|
3048
|
-
|
|
3149
|
+
export declare enum DiscountMethodsEnum {
|
|
3150
|
+
PERCENT = "percent",
|
|
3151
|
+
AMOUNT = "amount"
|
|
3049
3152
|
}
|
|
3050
|
-
export
|
|
3051
|
-
|
|
3052
|
-
open: string;
|
|
3053
|
-
close: string;
|
|
3153
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3154
|
+
ORGANIZATION = "organization"
|
|
3054
3155
|
}
|
|
3055
|
-
export
|
|
3056
|
-
|
|
3057
|
-
startTime: string;
|
|
3058
|
-
endTime: string;
|
|
3156
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3157
|
+
USA = "USA"
|
|
3059
3158
|
}
|
|
3060
|
-
export
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3159
|
+
export declare enum DateTimeFormatsEnum {
|
|
3160
|
+
API_DATE = "YYYY/MM/DD",
|
|
3161
|
+
API_TIME = "HH:mm:ss",
|
|
3162
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3064
3163
|
}
|
|
3065
|
-
export
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3071
|
-
member_answerTitleIds?: number[];
|
|
3072
|
-
member_organizationId: number;
|
|
3073
|
-
product_productPrice: number;
|
|
3074
|
-
product_productId: number;
|
|
3075
|
-
invoice_payingUserId: number;
|
|
3076
|
-
invoice_paymentMethodId: string;
|
|
3077
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3078
|
-
endDate: Date;
|
|
3079
|
-
membership_name: string;
|
|
3080
|
-
user_firstName: string;
|
|
3081
|
-
user_lastName: string;
|
|
3082
|
-
user_email: string;
|
|
3164
|
+
export declare enum SlotTypeEnum {
|
|
3165
|
+
EXTERNAL = "external",
|
|
3166
|
+
INTERNAL = "internal",
|
|
3167
|
+
MAINTENANCE = "maintenance",
|
|
3168
|
+
CUSTOM = "custom"
|
|
3083
3169
|
}
|
|
3084
|
-
export
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3170
|
+
export declare enum PlatformsEnum {
|
|
3171
|
+
CONSUMER = "consumer",
|
|
3172
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3173
|
+
BO = "backoffice",
|
|
3174
|
+
MOBILE = "mobile",
|
|
3175
|
+
CRON = "cron"
|
|
3089
3176
|
}
|
|
3090
|
-
export
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
openTime?: string;
|
|
3096
|
-
closeNumDays?: number;
|
|
3097
|
-
closeNumMinutes?: number;
|
|
3098
|
-
closeTime?: string;
|
|
3099
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3177
|
+
export declare enum ShiftStatusEnum {
|
|
3178
|
+
OPEN = "open",
|
|
3179
|
+
CLOSED = "closed",
|
|
3180
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3181
|
+
RECONCILED = "reconciled"
|
|
3100
3182
|
}
|
|
3101
|
-
export
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3183
|
+
export declare enum EventStatusEnum {
|
|
3184
|
+
OPEN = 1,
|
|
3185
|
+
DRAFT = 2,
|
|
3186
|
+
FULL = 3,
|
|
3187
|
+
CANCELLED = 4,
|
|
3188
|
+
CLOSED = 5,
|
|
3189
|
+
DELETED = 6
|
|
3105
3190
|
}
|
|
3106
|
-
export
|
|
3107
|
-
|
|
3108
|
-
|
|
3191
|
+
export declare enum ReservationTypeEnum {
|
|
3192
|
+
RENTAL = "rental",
|
|
3193
|
+
PROGRAM = "program",
|
|
3194
|
+
MAINTENANCE = "maintenance",
|
|
3195
|
+
CUSTOM = "custom",
|
|
3196
|
+
INTERNAL = "internal"
|
|
3109
3197
|
}
|
|
3110
|
-
export
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
sessionName: string;
|
|
3115
|
-
parentSessionName?: string;
|
|
3116
|
-
organizationName: string;
|
|
3117
|
-
programName: string;
|
|
3198
|
+
export declare enum SlotDurationTypeEnum {
|
|
3199
|
+
DATES = "dates",
|
|
3200
|
+
ALL_DAY = "all day",
|
|
3201
|
+
DURATION = "duration"
|
|
3118
3202
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
eventStartDate: string;
|
|
3123
|
-
eventEndDate: string;
|
|
3124
|
-
eventStartTime: string;
|
|
3125
|
-
eventEndTime: string;
|
|
3126
|
-
programId: number;
|
|
3127
|
-
programName: string;
|
|
3128
|
-
programType: ProgramTypesEnum;
|
|
3129
|
-
sessionId: number;
|
|
3130
|
-
sessionName: string;
|
|
3131
|
-
sports: number;
|
|
3132
|
-
spaces: {
|
|
3133
|
-
spaceId: number;
|
|
3134
|
-
spaceName: string;
|
|
3135
|
-
}[];
|
|
3136
|
-
status?: RegistrationValidationStatusEnum;
|
|
3203
|
+
export declare enum DurationUnitTypesEnum {
|
|
3204
|
+
MINUTES = "minutes",
|
|
3205
|
+
HOURS = "hours"
|
|
3137
3206
|
}
|
|
3138
|
-
export
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3207
|
+
export declare enum FrequencyEnum {
|
|
3208
|
+
NONE = "none",
|
|
3209
|
+
WEEKLY = "weekly",
|
|
3210
|
+
DAILY = "daily",
|
|
3211
|
+
MONTHLY = "monthly",
|
|
3212
|
+
YEARLY = "yearly"
|
|
3142
3213
|
}
|
|
3143
|
-
export
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3214
|
+
export declare enum MaintenanceTimingEnum {
|
|
3215
|
+
BEFORE = 1,
|
|
3216
|
+
AFTER = 2,
|
|
3217
|
+
AT_THE_BEGINING = 3,
|
|
3218
|
+
AT_THE_END = 4
|
|
3219
|
+
}
|
|
3220
|
+
export declare enum CreatorTypeEnum {
|
|
3221
|
+
SPACE = "space",
|
|
3222
|
+
PROGRAM_SEASON = "program_season",
|
|
3223
|
+
SEASON = "season"
|
|
3147
3224
|
}
|
|
3148
|
-
export
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
startTime: string;
|
|
3153
|
-
endTime: string;
|
|
3154
|
-
notes: string;
|
|
3155
|
-
spaceId: number;
|
|
3156
|
-
isRental: boolean;
|
|
3157
|
-
slotType: SlotTypeEnum;
|
|
3158
|
-
slotId: number;
|
|
3159
|
-
eventId: number;
|
|
3160
|
-
isPrivate: boolean;
|
|
3225
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3226
|
+
INDIVIDUAL = "indvidual",
|
|
3227
|
+
CATEGORY = "category",
|
|
3228
|
+
GLOBAL = "global"
|
|
3161
3229
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3230
|
+
export declare enum BondDayOfWeekEnum {
|
|
3231
|
+
MONDAY = 2,
|
|
3232
|
+
TUESDAY = 3,
|
|
3233
|
+
WEDNESDAY = 4,
|
|
3234
|
+
THURSDAY = 5,
|
|
3235
|
+
FRIDAY = 6,
|
|
3236
|
+
SATURDAY = 7,
|
|
3237
|
+
SUNDAY = 8
|
|
3170
3238
|
}
|
|
3171
|
-
export
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3239
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3240
|
+
NEW = "new",
|
|
3241
|
+
NO = "no",
|
|
3242
|
+
YES = "yes"
|
|
3175
3243
|
}
|
|
3176
|
-
export
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
endTime: string;
|
|
3181
|
-
reservationId: number;
|
|
3182
|
-
eventTitle: string;
|
|
3183
|
-
publicNotes: string;
|
|
3184
|
-
spaceId: number;
|
|
3185
|
-
creatorType: ResourceNameTypeEnum;
|
|
3186
|
-
slotType: SlotTypeEnum;
|
|
3187
|
-
slotId: number;
|
|
3188
|
-
eventId: number;
|
|
3189
|
-
isPrivate: boolean;
|
|
3244
|
+
export declare enum ProductPackageLevelEnum {
|
|
3245
|
+
HOUR = "hour",
|
|
3246
|
+
SLOT = "slot",
|
|
3247
|
+
RESERVATION = "reservation"
|
|
3190
3248
|
}
|
|
3191
|
-
export
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
purchasedResourceId: number;
|
|
3195
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3196
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3197
|
-
pUserId: number;
|
|
3198
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3199
|
-
pUserProductId: number;
|
|
3200
|
-
pUserProductName: string;
|
|
3201
|
-
pUserProductPrice: number;
|
|
3202
|
-
pUserProductPriceCurrency: string;
|
|
3203
|
-
pUserProductQuantity: number;
|
|
3204
|
-
pUserProductQuantityLeft: number;
|
|
3205
|
-
pUserUserId: number;
|
|
3249
|
+
export declare enum CancellationStatusEnum {
|
|
3250
|
+
IMMEDIATE = "immediate",
|
|
3251
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3206
3252
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
userLastName: string;
|
|
3211
|
-
organizationId: number;
|
|
3212
|
-
programId: number;
|
|
3213
|
-
programName: string;
|
|
3214
|
-
sessionId: number;
|
|
3215
|
-
sessionName: string;
|
|
3216
|
-
productId: number;
|
|
3217
|
-
productName: string;
|
|
3218
|
-
productUserId: number;
|
|
3219
|
-
purchaseDate: Date;
|
|
3220
|
-
passesLeft: number;
|
|
3253
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3254
|
+
DRAFT = 0,
|
|
3255
|
+
PUBLISHED = 1
|
|
3221
3256
|
}
|
|
3222
|
-
export
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
registrationEndDate: Date;
|
|
3229
|
-
sport: SportsEnum;
|
|
3230
|
-
minAge: string;
|
|
3231
|
-
maxAge: string;
|
|
3232
|
-
maxParticipants?: number;
|
|
3233
|
-
gender: GenderEnum;
|
|
3234
|
-
activityTimes: ActivityTimes[];
|
|
3235
|
-
earlyRegistrationStartDate?: Date;
|
|
3236
|
-
earlyRegistrationEndDate?: Date;
|
|
3237
|
-
lateRegistrationStartDate?: Date;
|
|
3238
|
-
lateRegistrationEndDate?: Date;
|
|
3239
|
-
attendeeCount?: number;
|
|
3240
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3257
|
+
export declare enum FinancialStepEnum {
|
|
3258
|
+
VOID = "void",
|
|
3259
|
+
REFUND = "refund",
|
|
3260
|
+
NONE = "none",
|
|
3261
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3262
|
+
APPEND = "append"
|
|
3241
3263
|
}
|
|
3242
|
-
export
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
products?: ISessionLandingPageProduct[];
|
|
3264
|
+
export declare enum StripeAccountTypesEnum {
|
|
3265
|
+
STRIPE = "stripe",
|
|
3266
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3267
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3247
3268
|
}
|
|
3248
|
-
export
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
segments?: Event[] | ProgramSeason[];
|
|
3253
|
-
programName: string;
|
|
3254
|
-
programId: number;
|
|
3255
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3256
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3269
|
+
export declare enum LinkedAccountStatus {
|
|
3270
|
+
PENDING = 1,
|
|
3271
|
+
ACTIVE = 2,
|
|
3272
|
+
PRE_PENDING = 3
|
|
3257
3273
|
}
|
|
3258
|
-
export
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
timePeriod: AddonTimePeriodEnum;
|
|
3262
|
-
name: string;
|
|
3263
|
-
productType?: ProductTypesEnum;
|
|
3264
|
-
productSubType?: string;
|
|
3265
|
-
}[];
|
|
3274
|
+
export declare enum AddonParentTypeEnum {
|
|
3275
|
+
RESERVATION = "reservation",
|
|
3276
|
+
SLOT = "slot"
|
|
3266
3277
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
downpayment?: number;
|
|
3273
|
-
description?: string;
|
|
3274
|
-
prices: Price[];
|
|
3275
|
-
productSubType?: ProductSubTypesEnum;
|
|
3276
|
-
punchCard: boolean;
|
|
3277
|
-
isAddon: boolean;
|
|
3278
|
-
defaultPriceId?: number;
|
|
3278
|
+
export declare enum EEmailStatus {
|
|
3279
|
+
SENT = "sent",
|
|
3280
|
+
OPENED = "opened",
|
|
3281
|
+
PAID = "paid",
|
|
3282
|
+
CANCELED = "canceled"
|
|
3279
3283
|
}
|
|
3280
|
-
export
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3285
|
+
ENABLED = 1,
|
|
3286
|
+
DISABLED_REDIRECT = 2,
|
|
3287
|
+
DISABLED_INFO_ONLY = 3,
|
|
3288
|
+
DISABLED_EMAIL = 4
|
|
3284
3289
|
}
|
|
3285
|
-
export
|
|
3286
|
-
|
|
3287
|
-
id: number;
|
|
3288
|
-
organizationId: number;
|
|
3289
|
-
startDate: string;
|
|
3290
|
-
endDate: string;
|
|
3291
|
-
sportId: number;
|
|
3290
|
+
export declare enum NotifyMethodEnum {
|
|
3291
|
+
EMAIL = "Email"
|
|
3292
3292
|
}
|
|
3293
3293
|
export declare class ColumnNumericTransformer {
|
|
3294
3294
|
to(data: number): number;
|
|
@@ -3735,6 +3735,16 @@ export declare class VoidLineItemDto {
|
|
|
3735
3735
|
isEdit?: boolean;
|
|
3736
3736
|
amount?: number;
|
|
3737
3737
|
}
|
|
3738
|
+
export interface RefundResult extends PaymentsResults {
|
|
3739
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3740
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3741
|
+
invoice?: Invoice;
|
|
3742
|
+
}
|
|
3743
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3744
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3745
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3746
|
+
totalAmountProcessed: number;
|
|
3747
|
+
}
|
|
3738
3748
|
export interface PaymentResult {
|
|
3739
3749
|
paymentMethodId: string;
|
|
3740
3750
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3760,16 +3770,6 @@ export interface ExtendedLineItems {
|
|
|
3760
3770
|
products: LineItems[];
|
|
3761
3771
|
events: LineItems[];
|
|
3762
3772
|
}
|
|
3763
|
-
export interface RefundResult extends PaymentsResults {
|
|
3764
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3765
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3766
|
-
invoice?: Invoice;
|
|
3767
|
-
}
|
|
3768
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3769
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3770
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3771
|
-
totalAmountProcessed: number;
|
|
3772
|
-
}
|
|
3773
3773
|
export declare class AddonDto extends ProductPricesDto {
|
|
3774
3774
|
id?: number;
|
|
3775
3775
|
}
|
|
@@ -4319,29 +4319,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4319
4319
|
conflictsCount?: number;
|
|
4320
4320
|
conflicts?: Slot[];
|
|
4321
4321
|
}
|
|
4322
|
-
export declare class ChangeRolePermissionsDto {
|
|
4323
|
-
permissionIds: number[];
|
|
4324
|
-
}
|
|
4325
|
-
export declare class CreateRoleDto {
|
|
4326
|
-
name: string;
|
|
4327
|
-
}
|
|
4328
|
-
export declare class Permission extends BondBaseEntity {
|
|
4329
|
-
name: string;
|
|
4330
|
-
deletedAt?: Date;
|
|
4331
|
-
}
|
|
4332
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4333
|
-
name: string;
|
|
4334
|
-
deletedAt?: Date;
|
|
4335
|
-
permissions: Permission[];
|
|
4336
|
-
usersRoles: UserRole[];
|
|
4337
|
-
}
|
|
4338
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4339
|
-
deletedAt?: Date;
|
|
4340
|
-
userId: number;
|
|
4341
|
-
roleId: number;
|
|
4342
|
-
role: Role;
|
|
4343
|
-
user: User;
|
|
4344
|
-
}
|
|
4345
4322
|
export declare type TSlotAndType = {
|
|
4346
4323
|
type: 'slots' | 'slot_addons';
|
|
4347
4324
|
slotsForProduct: {
|
|
@@ -4574,6 +4551,29 @@ export interface AddonMetadata {
|
|
|
4574
4551
|
totalPrice: number;
|
|
4575
4552
|
product?: Product;
|
|
4576
4553
|
}
|
|
4554
|
+
export declare class ChangeRolePermissionsDto {
|
|
4555
|
+
permissionIds: number[];
|
|
4556
|
+
}
|
|
4557
|
+
export declare class CreateRoleDto {
|
|
4558
|
+
name: string;
|
|
4559
|
+
}
|
|
4560
|
+
export declare class Permission extends BondBaseEntity {
|
|
4561
|
+
name: string;
|
|
4562
|
+
deletedAt?: Date;
|
|
4563
|
+
}
|
|
4564
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4565
|
+
name: string;
|
|
4566
|
+
deletedAt?: Date;
|
|
4567
|
+
permissions: Permission[];
|
|
4568
|
+
usersRoles: UserRole[];
|
|
4569
|
+
}
|
|
4570
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4571
|
+
deletedAt?: Date;
|
|
4572
|
+
userId: number;
|
|
4573
|
+
roleId: number;
|
|
4574
|
+
role: Role;
|
|
4575
|
+
user: User;
|
|
4576
|
+
}
|
|
4577
4577
|
export declare class CloseShiftDto {
|
|
4578
4578
|
closingCashAmount: number;
|
|
4579
4579
|
}
|