@bondsports/types 0.0.135 → 0.0.136
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 +701 -694
- 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
|
@@ -463,24 +463,6 @@ 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
|
-
}
|
|
484
466
|
export declare class FindByProductIdDto {
|
|
485
467
|
productId: number;
|
|
486
468
|
}
|
|
@@ -702,6 +684,24 @@ export declare class createResourceDto {
|
|
|
702
684
|
export declare class archiveDto {
|
|
703
685
|
isArchive: boolean;
|
|
704
686
|
}
|
|
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
|
}
|
|
@@ -721,6 +721,9 @@ export declare class FindProgramSeasonByIdQueryDto {
|
|
|
721
721
|
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
722
722
|
seasonId: number;
|
|
723
723
|
}
|
|
724
|
+
export declare class FindSeasonEventsQueryDto {
|
|
725
|
+
startDateFilter?: EStartDateFilter;
|
|
726
|
+
}
|
|
724
727
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
725
728
|
seasonId: number;
|
|
726
729
|
}
|
|
@@ -889,6 +892,50 @@ export declare class MoveParticipantDto {
|
|
|
889
892
|
resourceId: number;
|
|
890
893
|
invoiceId: number;
|
|
891
894
|
}
|
|
895
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
+
organizationId: number;
|
|
897
|
+
programType?: ProgramTypesEnum;
|
|
898
|
+
}
|
|
899
|
+
export declare class FindProgramByIdDto {
|
|
900
|
+
programId: number;
|
|
901
|
+
}
|
|
902
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
+
programId: number;
|
|
904
|
+
organizationId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class BaseProgramDto {
|
|
907
|
+
type: ProgramTypesEnum;
|
|
908
|
+
name: string;
|
|
909
|
+
sport: SportsEnum;
|
|
910
|
+
minAge: string;
|
|
911
|
+
maxAge: string;
|
|
912
|
+
gender: GenderEnum;
|
|
913
|
+
level?: LevelOfPlayEnum[];
|
|
914
|
+
description?: string;
|
|
915
|
+
GL?: string;
|
|
916
|
+
status: PublishingStatusEnum;
|
|
917
|
+
organizationId: number;
|
|
918
|
+
userCreatorId: number;
|
|
919
|
+
highlights: ProgramHighlights[];
|
|
920
|
+
longDescription?: string;
|
|
921
|
+
requiredProductIds: number[];
|
|
922
|
+
}
|
|
923
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
+
}
|
|
925
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
+
programId: number;
|
|
927
|
+
mainMediaId: number;
|
|
928
|
+
}
|
|
929
|
+
export declare class UpdateProgramStatusDto {
|
|
930
|
+
programId: number;
|
|
931
|
+
status: PublishingStatusEnum;
|
|
932
|
+
}
|
|
933
|
+
export declare class ProgramHighlightDto {
|
|
934
|
+
data: string;
|
|
935
|
+
ordinal: number;
|
|
936
|
+
type: ProgramHighlightTypeEnum;
|
|
937
|
+
title: string;
|
|
938
|
+
}
|
|
892
939
|
export declare class PurchasePaymentDto {
|
|
893
940
|
token: string;
|
|
894
941
|
type: PaymentMethodTypeEnum;
|
|
@@ -970,50 +1017,6 @@ export declare class CreateResourceGroupDto {
|
|
|
970
1017
|
}
|
|
971
1018
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
972
1019
|
}
|
|
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
1020
|
export declare class ResourceDto {
|
|
1018
1021
|
type: ResourceNameTypeEnum;
|
|
1019
1022
|
id: number;
|
|
@@ -1093,6 +1096,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1093
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1094
1097
|
organizationId: number;
|
|
1095
1098
|
}
|
|
1099
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
+
entityType: ResourceNameTypeEnum;
|
|
1101
|
+
entityId: number;
|
|
1102
|
+
organizationId?: number;
|
|
1103
|
+
userId?: number;
|
|
1104
|
+
customerId?: number;
|
|
1105
|
+
performingUserId: number;
|
|
1106
|
+
description: string;
|
|
1107
|
+
actionType: ActionTypesEnum;
|
|
1108
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
+
oldValue?: any;
|
|
1110
|
+
newValue?: any;
|
|
1111
|
+
}
|
|
1096
1112
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1097
1113
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1098
1114
|
parentId: number;
|
|
@@ -1106,6 +1122,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1106
1122
|
proudct: Product;
|
|
1107
1123
|
event: Event;
|
|
1108
1124
|
}
|
|
1125
|
+
export declare class Address extends BondBaseEntity {
|
|
1126
|
+
city?: string;
|
|
1127
|
+
street?: string;
|
|
1128
|
+
streetNum?: string;
|
|
1129
|
+
aptNum?: string;
|
|
1130
|
+
zip?: string;
|
|
1131
|
+
country?: string;
|
|
1132
|
+
state?: string;
|
|
1133
|
+
geo: any;
|
|
1134
|
+
deletedAt?: Date;
|
|
1135
|
+
}
|
|
1109
1136
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1110
1137
|
questionId: number;
|
|
1111
1138
|
question?: Questions;
|
|
@@ -1119,30 +1146,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1119
1146
|
metaData: any | null;
|
|
1120
1147
|
questionText: string | null;
|
|
1121
1148
|
}
|
|
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
1149
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
1150
|
questionnaireId: number;
|
|
1148
1151
|
userId?: number;
|
|
@@ -1190,11 +1193,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1190
1193
|
publicNotes?: string;
|
|
1191
1194
|
slotType?: SlotTypeEnum;
|
|
1192
1195
|
}
|
|
1193
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1194
|
-
area: string;
|
|
1195
|
-
key: string;
|
|
1196
|
-
value: string;
|
|
1197
|
-
}
|
|
1198
1196
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1199
1197
|
parentId: number;
|
|
1200
1198
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1205,6 +1203,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1205
1203
|
endTimeInDay: string;
|
|
1206
1204
|
directBookingFor: DirectBookingTypesEnum;
|
|
1207
1205
|
}
|
|
1206
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1207
|
+
area: string;
|
|
1208
|
+
key: string;
|
|
1209
|
+
value: string;
|
|
1210
|
+
}
|
|
1208
1211
|
export declare class Connection extends BondBaseEntity {
|
|
1209
1212
|
connType: number | null;
|
|
1210
1213
|
from: number | null;
|
|
@@ -1393,6 +1396,10 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1393
1396
|
facilityId: number;
|
|
1394
1397
|
resourceId: number;
|
|
1395
1398
|
}
|
|
1399
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1400
|
+
name: string | null;
|
|
1401
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1402
|
+
}
|
|
1396
1403
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1397
1404
|
userId: number;
|
|
1398
1405
|
invoiceId: number;
|
|
@@ -1407,10 +1414,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1407
1414
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
1415
|
code: string;
|
|
1409
1416
|
}
|
|
1410
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1411
|
-
name: string | null;
|
|
1412
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1413
|
-
}
|
|
1414
1417
|
export declare class Group extends BondBaseEntity {
|
|
1415
1418
|
name: string;
|
|
1416
1419
|
description?: string;
|
|
@@ -2163,13 +2166,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2163
2166
|
purchasedResources: PurchasedResource[];
|
|
2164
2167
|
linkSEO: string;
|
|
2165
2168
|
}
|
|
2166
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2167
|
-
name: string;
|
|
2168
|
-
facilityId: number;
|
|
2169
|
-
parentSlotId: number;
|
|
2170
|
-
childrenSlotIds: number[];
|
|
2171
|
-
deletedAt?: Date;
|
|
2172
|
-
}
|
|
2173
2169
|
export declare class School extends BondBaseEntity {
|
|
2174
2170
|
name: string | null;
|
|
2175
2171
|
alias: string[] | null;
|
|
@@ -2178,6 +2174,13 @@ export declare class School extends BondBaseEntity {
|
|
|
2178
2174
|
phone: string | null;
|
|
2179
2175
|
dataId: number | null;
|
|
2180
2176
|
}
|
|
2177
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2178
|
+
name: string;
|
|
2179
|
+
facilityId: number;
|
|
2180
|
+
parentSlotId: number;
|
|
2181
|
+
childrenSlotIds: number[];
|
|
2182
|
+
deletedAt?: Date;
|
|
2183
|
+
}
|
|
2181
2184
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2182
2185
|
status: RequestStatusEnum;
|
|
2183
2186
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2390,401 +2393,41 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2390
2393
|
membershipCollectionId?: string;
|
|
2391
2394
|
programsCollectionId?: string;
|
|
2392
2395
|
}
|
|
2393
|
-
export
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
minValue?: string;
|
|
2398
|
-
maxValue?: string;
|
|
2399
|
-
}
|
|
2400
|
-
export interface IQuestionAnswerObject {
|
|
2401
|
-
questionId: number;
|
|
2402
|
-
value: string;
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
2403
2400
|
}
|
|
2404
|
-
export
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
redeemNext: ProductsUsers;
|
|
2435
|
-
}
|
|
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;
|
|
2448
|
-
}
|
|
2449
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2450
|
-
segmentType: ResourceNameTypeEnum;
|
|
2451
|
-
participantRegisteredDate?: string;
|
|
2452
|
-
}
|
|
2453
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2454
|
-
segmentType: ResourceNameTypeEnum;
|
|
2455
|
-
participantRegisteredDate?: string;
|
|
2456
|
-
}
|
|
2457
|
-
export interface ITokenResonse {
|
|
2458
|
-
token: string;
|
|
2459
|
-
}
|
|
2460
|
-
export interface IStripeBondInvoices {
|
|
2461
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2462
|
-
bondPaidPayment: Payment;
|
|
2463
|
-
invoice?: Invoice;
|
|
2464
|
-
customer?: Customer;
|
|
2465
|
-
}
|
|
2466
|
-
export interface IPartialPaymentData {
|
|
2467
|
-
purchasingUserId: number;
|
|
2468
|
-
paymentData: PurchasePaymentDto;
|
|
2469
|
-
amountToPay: number;
|
|
2470
|
-
}
|
|
2471
|
-
export interface IPayment {
|
|
2472
|
-
id: number;
|
|
2473
|
-
total: number;
|
|
2474
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2475
|
-
status: PaymentStatusEnum;
|
|
2476
|
-
createdAt: Date;
|
|
2477
|
-
invoices: number[];
|
|
2478
|
-
}
|
|
2479
|
-
export interface IPaginationData<T> {
|
|
2480
|
-
meta: {
|
|
2481
|
-
totalItems: number;
|
|
2482
|
-
itemsPerPage: number;
|
|
2483
|
-
totalPages: number;
|
|
2484
|
-
currentPage: number;
|
|
2485
|
-
};
|
|
2486
|
-
data: T[];
|
|
2487
|
-
}
|
|
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;
|
|
2498
|
-
}
|
|
2499
|
-
export interface IPaymentMethodToFundLeft {
|
|
2500
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2501
|
-
paymentMethodId: string;
|
|
2502
|
-
fundLeft: number;
|
|
2503
|
-
ccLast4?: string;
|
|
2504
|
-
ccBrand?: string;
|
|
2505
|
-
}
|
|
2506
|
-
export interface IVariantsAndTitle {
|
|
2507
|
-
title: VariantTitle;
|
|
2508
|
-
variants: Variant[];
|
|
2509
|
-
}
|
|
2510
|
-
export interface IProgramSeasonActivityTimes {
|
|
2511
|
-
dayOfWeek: number;
|
|
2512
|
-
open: string;
|
|
2513
|
-
close: string;
|
|
2514
|
-
}
|
|
2515
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2516
|
-
date: string;
|
|
2517
|
-
startTime: string;
|
|
2518
|
-
endTime: string;
|
|
2519
|
-
}
|
|
2520
|
-
export interface IBlockedDates {
|
|
2521
|
-
name: string;
|
|
2522
|
-
startDate: Date;
|
|
2523
|
-
endDate: Date;
|
|
2524
|
-
}
|
|
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;
|
|
2543
|
-
}
|
|
2544
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2545
|
-
package_parentProductId: number;
|
|
2546
|
-
product2_productPrice: number;
|
|
2547
|
-
familyid: number;
|
|
2548
|
-
invoice_id: number;
|
|
2549
|
-
}
|
|
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;
|
|
2560
|
-
}
|
|
2561
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2562
|
-
id: number;
|
|
2563
|
-
startDate: string;
|
|
2564
|
-
startTime: string;
|
|
2565
|
-
}
|
|
2566
|
-
export interface IRegistrationConstraintsSetting {
|
|
2567
|
-
numDays?: number;
|
|
2568
|
-
numMinutes?: number;
|
|
2569
|
-
}
|
|
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;
|
|
2578
|
-
}
|
|
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;
|
|
2597
|
-
}
|
|
2598
|
-
export interface ISlotInSchedule {
|
|
2599
|
-
facilityId: number;
|
|
2600
|
-
facilityName: string;
|
|
2601
|
-
spaces: ISpaceWithSlots[];
|
|
2602
|
-
}
|
|
2603
|
-
export interface ISpaceWithSlots {
|
|
2604
|
-
id: number;
|
|
2605
|
-
name: string;
|
|
2606
|
-
slots: ISlotReservationData[];
|
|
2607
|
-
}
|
|
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;
|
|
2621
|
-
}
|
|
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;
|
|
2630
|
-
}
|
|
2631
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2632
|
-
id: number;
|
|
2633
|
-
name: string;
|
|
2634
|
-
bookingCreatorId: number;
|
|
2635
|
-
}
|
|
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;
|
|
2650
|
-
}
|
|
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;
|
|
2666
|
-
}
|
|
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;
|
|
2681
|
-
}
|
|
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';
|
|
2701
|
-
}
|
|
2702
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2703
|
-
hasRequiredMembership: boolean;
|
|
2704
|
-
hasEntitledPricing: boolean;
|
|
2705
|
-
lowestPrice?: number;
|
|
2706
|
-
products?: ISessionLandingPageProduct[];
|
|
2707
|
-
}
|
|
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[];
|
|
2717
|
-
}
|
|
2718
|
-
export interface ISlimAddons {
|
|
2719
|
-
addons?: {
|
|
2720
|
-
id: number;
|
|
2721
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2722
|
-
name: string;
|
|
2723
|
-
productType?: ProductTypesEnum;
|
|
2724
|
-
productSubType?: string;
|
|
2725
|
-
}[];
|
|
2726
|
-
}
|
|
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;
|
|
2739
|
-
}
|
|
2740
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2741
|
-
destinationId?: string;
|
|
2742
|
-
stripeCustomerId?: string;
|
|
2743
|
-
fee?: number;
|
|
2744
|
-
}
|
|
2745
|
-
export interface IReservationCreatorData {
|
|
2746
|
-
type: ResourceNameTypeEnum;
|
|
2747
|
-
id: number;
|
|
2748
|
-
organizationId: number;
|
|
2749
|
-
startDate: string;
|
|
2750
|
-
endDate: string;
|
|
2751
|
-
sportId: number;
|
|
2752
|
-
}
|
|
2753
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2754
|
-
QUESTION = "question",
|
|
2755
|
-
CITY = "city",
|
|
2756
|
-
MEMBERSHIP = "membership"
|
|
2757
|
-
}
|
|
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"
|
|
2401
|
+
export declare enum ResourceNameTypeEnum {
|
|
2402
|
+
EVENT = "event",
|
|
2403
|
+
VENUE = "venue",
|
|
2404
|
+
TEAM = "team",
|
|
2405
|
+
LEAGUE = "league",
|
|
2406
|
+
USER = "user",
|
|
2407
|
+
ORGANIZATION = "organization",
|
|
2408
|
+
APP = "app",
|
|
2409
|
+
FEED = "feed",
|
|
2410
|
+
MATCH = "match",
|
|
2411
|
+
ROUND = "round",
|
|
2412
|
+
PORTAL = "portal",
|
|
2413
|
+
SEASON = "season",
|
|
2414
|
+
TOURNAMENT = "tournament",
|
|
2415
|
+
MEMBERSHIP = "membership",
|
|
2416
|
+
DIVISION = "division",
|
|
2417
|
+
GAMESLOT = "gameslot",
|
|
2418
|
+
SPACE = "space",
|
|
2419
|
+
RESERVATION = "reservation",
|
|
2420
|
+
INVOICE = "invoice",
|
|
2421
|
+
CUSTOMER = "customer",
|
|
2422
|
+
PACKAGE = "package",
|
|
2423
|
+
FACILITY = "facility",
|
|
2424
|
+
PROGRAM = "program",
|
|
2425
|
+
PROGRAM_SEASON = "program_season",
|
|
2426
|
+
PRODUCT = "product",
|
|
2427
|
+
GROUP = "group",
|
|
2428
|
+
VARIANT = "variant",
|
|
2429
|
+
SLOT = "slot",
|
|
2430
|
+
ADDON = "addon"
|
|
2788
2431
|
}
|
|
2789
2432
|
export declare enum DirectBookingTypesEnum {
|
|
2790
2433
|
DIRECT_FOR_ALL = "all",
|
|
@@ -3146,149 +2789,513 @@ export declare enum RegistrationValidationStatusEnum {
|
|
|
3146
2789
|
ALREADY_CLOSED = "closed",
|
|
3147
2790
|
NO_PRODUCT_FOUND = "no-product-found"
|
|
3148
2791
|
}
|
|
3149
|
-
export declare enum DiscountMethodsEnum {
|
|
3150
|
-
PERCENT = "percent",
|
|
3151
|
-
AMOUNT = "amount"
|
|
2792
|
+
export declare enum DiscountMethodsEnum {
|
|
2793
|
+
PERCENT = "percent",
|
|
2794
|
+
AMOUNT = "amount"
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2797
|
+
ORGANIZATION = "organization"
|
|
2798
|
+
}
|
|
2799
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2800
|
+
USA = "USA"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum DateTimeFormatsEnum {
|
|
2803
|
+
API_DATE = "YYYY/MM/DD",
|
|
2804
|
+
API_TIME = "HH:mm:ss",
|
|
2805
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2806
|
+
}
|
|
2807
|
+
export declare enum SlotTypeEnum {
|
|
2808
|
+
EXTERNAL = "external",
|
|
2809
|
+
INTERNAL = "internal",
|
|
2810
|
+
MAINTENANCE = "maintenance",
|
|
2811
|
+
CUSTOM = "custom"
|
|
2812
|
+
}
|
|
2813
|
+
export declare enum PlatformsEnum {
|
|
2814
|
+
CONSUMER = "consumer",
|
|
2815
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
+
BO = "backoffice",
|
|
2817
|
+
MOBILE = "mobile",
|
|
2818
|
+
CRON = "cron"
|
|
2819
|
+
}
|
|
2820
|
+
export declare enum ShiftStatusEnum {
|
|
2821
|
+
OPEN = "open",
|
|
2822
|
+
CLOSED = "closed",
|
|
2823
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2824
|
+
RECONCILED = "reconciled"
|
|
2825
|
+
}
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2872
|
+
}
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2881
|
+
}
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2886
|
+
}
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2891
|
+
}
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2895
|
+
}
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2906
|
+
}
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2911
|
+
}
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2916
|
+
}
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2920
|
+
}
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2926
|
+
}
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2932
|
+
}
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2939
|
+
}
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2946
|
+
}
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
2958
|
+
}
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
quantity: number;
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
2965
|
+
}
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
2969
|
+
}
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2974
|
+
}
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
2982
|
+
}
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
2995
|
+
}
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
2999
|
+
}
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
3003
|
+
}
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
3006
|
+
}
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
3012
|
+
}
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
3017
|
+
}
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
3025
|
+
}
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
3034
|
+
}
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
3036
|
+
productId: number;
|
|
3037
|
+
userId: number;
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
3045
|
+
}
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
3152
3052
|
}
|
|
3153
|
-
export
|
|
3154
|
-
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
3155
3056
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3158
3061
|
}
|
|
3159
|
-
export
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3163
3066
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
CUSTOM = "custom"
|
|
3067
|
+
export interface IBlockedDates {
|
|
3068
|
+
name: string;
|
|
3069
|
+
startDate: Date;
|
|
3070
|
+
endDate: Date;
|
|
3169
3071
|
}
|
|
3170
|
-
export
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3176
3090
|
}
|
|
3177
|
-
export
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3182
3096
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3099
|
+
resourceType: ResourceNameTypeEnum;
|
|
3100
|
+
openNumDays?: number;
|
|
3101
|
+
openNumMinutes?: number;
|
|
3102
|
+
openTime?: string;
|
|
3103
|
+
closeNumDays?: number;
|
|
3104
|
+
closeNumMinutes?: number;
|
|
3105
|
+
closeTime?: string;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3190
3107
|
}
|
|
3191
|
-
export
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
CUSTOM = "custom",
|
|
3196
|
-
INTERNAL = "internal"
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3197
3112
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
DURATION = "duration"
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3202
3116
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3206
3125
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3213
3144
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
AT_THE_END = 4
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3146
|
+
facilityId: number;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3219
3149
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3152
|
+
name: string;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3224
3154
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3229
3168
|
}
|
|
3230
|
-
export
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3238
3177
|
}
|
|
3239
|
-
export
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3243
3182
|
}
|
|
3244
|
-
export
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3248
3197
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3252
3213
|
}
|
|
3253
|
-
export
|
|
3254
|
-
|
|
3255
|
-
|
|
3214
|
+
export interface IUsersPasses {
|
|
3215
|
+
userId: number;
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3256
3228
|
}
|
|
3257
|
-
export
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3263
3248
|
}
|
|
3264
|
-
export
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3268
3254
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3273
3264
|
}
|
|
3274
|
-
export
|
|
3275
|
-
|
|
3276
|
-
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3277
3273
|
}
|
|
3278
|
-
export
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3276
|
+
name: string;
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3283
3286
|
}
|
|
3284
|
-
export
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
DISABLED_EMAIL = 4
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3289
3291
|
}
|
|
3290
|
-
export
|
|
3291
|
-
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3292
3299
|
}
|
|
3293
3300
|
export declare class ColumnNumericTransformer {
|
|
3294
3301
|
to(data: number): number;
|
|
@@ -3360,57 +3367,6 @@ export declare class PunchPassDto {
|
|
|
3360
3367
|
BondSessionID: number;
|
|
3361
3368
|
ProductID: number;
|
|
3362
3369
|
}
|
|
3363
|
-
export declare class ImportedSlotProductDto {
|
|
3364
|
-
slotID?: string;
|
|
3365
|
-
name?: string;
|
|
3366
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
3367
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3368
|
-
price?: string;
|
|
3369
|
-
minutes?: string;
|
|
3370
|
-
quantity: string;
|
|
3371
|
-
startDate?: string;
|
|
3372
|
-
startTime?: string;
|
|
3373
|
-
endDate?: string;
|
|
3374
|
-
endTime?: string;
|
|
3375
|
-
bondProductId?: number;
|
|
3376
|
-
}
|
|
3377
|
-
export declare class ImportResourceMappingDto {
|
|
3378
|
-
bondResourceID?: string;
|
|
3379
|
-
resourceName?: string;
|
|
3380
|
-
}
|
|
3381
|
-
export declare class ImportProductMappingDto {
|
|
3382
|
-
productID?: string;
|
|
3383
|
-
productName?: string;
|
|
3384
|
-
}
|
|
3385
|
-
export declare class ImportedSlotDto {
|
|
3386
|
-
reservationID: string;
|
|
3387
|
-
bondResourceID: string;
|
|
3388
|
-
resourceName: string;
|
|
3389
|
-
subResourceName: string;
|
|
3390
|
-
startDate: string;
|
|
3391
|
-
startTime: string;
|
|
3392
|
-
endDate: string;
|
|
3393
|
-
endTime: string;
|
|
3394
|
-
sportId?: string;
|
|
3395
|
-
setupDuration: string;
|
|
3396
|
-
setupIncludeInCosts: string;
|
|
3397
|
-
takedownDuration: string;
|
|
3398
|
-
takedownIncludeInCosts: string;
|
|
3399
|
-
slotProduct: ImportedSlotProductDto;
|
|
3400
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3401
|
-
totalPrice: string;
|
|
3402
|
-
}
|
|
3403
|
-
export declare class ImportedReservationDto {
|
|
3404
|
-
name: string;
|
|
3405
|
-
customerId: string;
|
|
3406
|
-
description: string;
|
|
3407
|
-
totalPrice: string;
|
|
3408
|
-
downPayment: string;
|
|
3409
|
-
paid: string;
|
|
3410
|
-
invoiceId: string;
|
|
3411
|
-
slots?: ImportedSlotDto[];
|
|
3412
|
-
addons?: ImportedSlotProductDto[];
|
|
3413
|
-
}
|
|
3414
3370
|
export declare class GameSlots extends BondBaseEntity {
|
|
3415
3371
|
entityType: string;
|
|
3416
3372
|
entityId: number;
|
|
@@ -3735,16 +3691,6 @@ export declare class VoidLineItemDto {
|
|
|
3735
3691
|
isEdit?: boolean;
|
|
3736
3692
|
amount?: number;
|
|
3737
3693
|
}
|
|
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
|
-
}
|
|
3748
3694
|
export interface PaymentResult {
|
|
3749
3695
|
paymentMethodId: string;
|
|
3750
3696
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3770,6 +3716,16 @@ export interface ExtendedLineItems {
|
|
|
3770
3716
|
products: LineItems[];
|
|
3771
3717
|
events: LineItems[];
|
|
3772
3718
|
}
|
|
3719
|
+
export interface RefundResult extends PaymentsResults {
|
|
3720
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3721
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3722
|
+
invoice?: Invoice;
|
|
3723
|
+
}
|
|
3724
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3725
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3726
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3727
|
+
totalAmountProcessed: number;
|
|
3728
|
+
}
|
|
3773
3729
|
export declare class AddonDto extends ProductPricesDto {
|
|
3774
3730
|
id?: number;
|
|
3775
3731
|
}
|
|
@@ -4160,26 +4116,6 @@ export declare class BookingV1Dto {
|
|
|
4160
4116
|
cashPayment: boolean;
|
|
4161
4117
|
requestOnly: boolean;
|
|
4162
4118
|
}
|
|
4163
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4164
|
-
parentId: number;
|
|
4165
|
-
parentType: AddonParentTypeEnum;
|
|
4166
|
-
productId: number;
|
|
4167
|
-
product?: Product;
|
|
4168
|
-
quantity: number;
|
|
4169
|
-
unitPrice: number;
|
|
4170
|
-
totalPrice: number;
|
|
4171
|
-
approvalStatus: ReservationStatusEnum;
|
|
4172
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4173
|
-
level?: ProductPackageLevelEnum;
|
|
4174
|
-
resourceId?: number;
|
|
4175
|
-
resource?: Resource;
|
|
4176
|
-
invoiceId?: number;
|
|
4177
|
-
invoice?: Invoice;
|
|
4178
|
-
productUserId?: number;
|
|
4179
|
-
productUser?: ProductsUsers;
|
|
4180
|
-
previousProductUsersIds?: number[];
|
|
4181
|
-
previousProductUsers?: ProductsUsers[];
|
|
4182
|
-
}
|
|
4183
4119
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4184
4120
|
deletedAt?: Date;
|
|
4185
4121
|
reservationId: number;
|
|
@@ -4574,6 +4510,77 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4574
4510
|
role: Role;
|
|
4575
4511
|
user: User;
|
|
4576
4512
|
}
|
|
4513
|
+
export declare class ImportedSlotProductDto {
|
|
4514
|
+
slotID?: string;
|
|
4515
|
+
name?: string;
|
|
4516
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
4517
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4518
|
+
price?: string;
|
|
4519
|
+
minutes?: string;
|
|
4520
|
+
quantity: string;
|
|
4521
|
+
startDate?: string;
|
|
4522
|
+
startTime?: string;
|
|
4523
|
+
endDate?: string;
|
|
4524
|
+
endTime?: string;
|
|
4525
|
+
bondProductId?: number;
|
|
4526
|
+
}
|
|
4527
|
+
export declare class ImportResourceMappingDto {
|
|
4528
|
+
bondResourceID?: string;
|
|
4529
|
+
resourceName?: string;
|
|
4530
|
+
}
|
|
4531
|
+
export declare class ImportProductMappingDto {
|
|
4532
|
+
productID?: string;
|
|
4533
|
+
productName?: string;
|
|
4534
|
+
}
|
|
4535
|
+
export declare class ImportedSlotDto {
|
|
4536
|
+
reservationID: string;
|
|
4537
|
+
bondResourceID: string;
|
|
4538
|
+
resourceName: string;
|
|
4539
|
+
subResourceName: string;
|
|
4540
|
+
startDate: string;
|
|
4541
|
+
startTime: string;
|
|
4542
|
+
endDate: string;
|
|
4543
|
+
endTime: string;
|
|
4544
|
+
sportId?: string;
|
|
4545
|
+
setupDuration: string;
|
|
4546
|
+
setupIncludeInCosts: string;
|
|
4547
|
+
takedownDuration: string;
|
|
4548
|
+
takedownIncludeInCosts: string;
|
|
4549
|
+
slotProduct: ImportedSlotProductDto;
|
|
4550
|
+
addonProducts: ImportedSlotProductDto[];
|
|
4551
|
+
totalPrice: string;
|
|
4552
|
+
}
|
|
4553
|
+
export declare class ImportedReservationDto {
|
|
4554
|
+
name: string;
|
|
4555
|
+
customerId: string;
|
|
4556
|
+
description: string;
|
|
4557
|
+
totalPrice: string;
|
|
4558
|
+
downPayment: string;
|
|
4559
|
+
paid: string;
|
|
4560
|
+
invoiceId: string;
|
|
4561
|
+
slots?: ImportedSlotDto[];
|
|
4562
|
+
addons?: ImportedSlotProductDto[];
|
|
4563
|
+
}
|
|
4564
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4565
|
+
parentId: number;
|
|
4566
|
+
parentType: AddonParentTypeEnum;
|
|
4567
|
+
productId: number;
|
|
4568
|
+
product?: Product;
|
|
4569
|
+
quantity: number;
|
|
4570
|
+
unitPrice: number;
|
|
4571
|
+
totalPrice: number;
|
|
4572
|
+
approvalStatus: ReservationStatusEnum;
|
|
4573
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4574
|
+
level?: ProductPackageLevelEnum;
|
|
4575
|
+
resourceId?: number;
|
|
4576
|
+
resource?: Resource;
|
|
4577
|
+
invoiceId?: number;
|
|
4578
|
+
invoice?: Invoice;
|
|
4579
|
+
productUserId?: number;
|
|
4580
|
+
productUser?: ProductsUsers;
|
|
4581
|
+
previousProductUsersIds?: number[];
|
|
4582
|
+
previousProductUsers?: ProductsUsers[];
|
|
4583
|
+
}
|
|
4577
4584
|
export declare class CloseShiftDto {
|
|
4578
4585
|
closingCashAmount: number;
|
|
4579
4586
|
}
|