@bondsports/types 0.5.0 → 0.6.0
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 +693 -693
- 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,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
23
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
31
|
membershipId: number;
|
|
25
32
|
}
|
|
@@ -222,13 +229,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
222
229
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
223
230
|
nameSearch?: string;
|
|
224
231
|
}
|
|
225
|
-
export declare class FindBookingTypeSettingDto {
|
|
226
|
-
organizationId: number;
|
|
227
|
-
facilityId: number;
|
|
228
|
-
spaceId: number;
|
|
229
|
-
bookingDate: string;
|
|
230
|
-
bookingTime: string;
|
|
231
|
-
}
|
|
232
232
|
export declare class FindFamilyAccountsDto {
|
|
233
233
|
userId: number;
|
|
234
234
|
}
|
|
@@ -920,6 +920,76 @@ export declare class ProgramHighlightDto {
|
|
|
920
920
|
type: ProgramHighlightTypeEnum;
|
|
921
921
|
title: string;
|
|
922
922
|
}
|
|
923
|
+
export declare class PurchasePaymentDto {
|
|
924
|
+
token: string;
|
|
925
|
+
type: PaymentMethodTypeEnum;
|
|
926
|
+
}
|
|
927
|
+
export declare class ChargeRentalsReuqestDto {
|
|
928
|
+
organizationId: number;
|
|
929
|
+
userId?: number;
|
|
930
|
+
customerId?: number;
|
|
931
|
+
orderId: number;
|
|
932
|
+
paymentData: PurchasePaymentDto;
|
|
933
|
+
amountToPay: number;
|
|
934
|
+
total: number;
|
|
935
|
+
platform: PlatformsEnum;
|
|
936
|
+
shiftId?: number;
|
|
937
|
+
}
|
|
938
|
+
export declare class PurchaseRequestDto {
|
|
939
|
+
purchasingUserId: number;
|
|
940
|
+
customerId?: number;
|
|
941
|
+
products: PurchaseProductDto[];
|
|
942
|
+
paymentData: PurchasePaymentDto;
|
|
943
|
+
answers: UserAnswersDto[];
|
|
944
|
+
amountToPay: number;
|
|
945
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
|
+
parentPurchasedId?: number;
|
|
947
|
+
isPartialPayment: boolean;
|
|
948
|
+
existingOrderToken?: string;
|
|
949
|
+
installments?: ScheduledPaymentDto[];
|
|
950
|
+
shiftId?: number;
|
|
951
|
+
orderId?: number;
|
|
952
|
+
}
|
|
953
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
|
+
}
|
|
955
|
+
export declare class PurchaseProductDto {
|
|
956
|
+
id: number;
|
|
957
|
+
resources?: PurchaseResourceDto[];
|
|
958
|
+
userId?: number;
|
|
959
|
+
paymentStatus?: PaymentStatusEnum;
|
|
960
|
+
amountToPay?: number;
|
|
961
|
+
ordinal?: number;
|
|
962
|
+
startDate?: Date;
|
|
963
|
+
quantity?: number;
|
|
964
|
+
}
|
|
965
|
+
export declare class PartialPaymentRequestDto {
|
|
966
|
+
orderId: number;
|
|
967
|
+
amountToPay: number;
|
|
968
|
+
organizationId: number;
|
|
969
|
+
payingUserId: number;
|
|
970
|
+
paymentMethodData: PurchasePaymentDto;
|
|
971
|
+
shiftId?: number;
|
|
972
|
+
}
|
|
973
|
+
export declare class RedeemPunchCardRequestDto {
|
|
974
|
+
products: PurchaseProductDto[];
|
|
975
|
+
answersTitlesIds: number[];
|
|
976
|
+
organizationId: number;
|
|
977
|
+
purchasingUserId: number;
|
|
978
|
+
}
|
|
979
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
980
|
+
orderId: number;
|
|
981
|
+
}
|
|
982
|
+
export declare class AddItemsDto {
|
|
983
|
+
products: PurchaseProductDto[];
|
|
984
|
+
allocateResource: boolean;
|
|
985
|
+
skipMail: boolean;
|
|
986
|
+
}
|
|
987
|
+
export declare class PartialPaymentAsUserDto {
|
|
988
|
+
orderId: any;
|
|
989
|
+
organizationId: any;
|
|
990
|
+
amountToPay: any;
|
|
991
|
+
paymentMethodData: any;
|
|
992
|
+
}
|
|
923
993
|
export declare class CreateResourceGroupDto {
|
|
924
994
|
name: string;
|
|
925
995
|
parentSlotId: number;
|
|
@@ -1041,76 +1111,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1041
1111
|
geo: any;
|
|
1042
1112
|
deletedAt?: Date;
|
|
1043
1113
|
}
|
|
1044
|
-
export declare class PurchasePaymentDto {
|
|
1045
|
-
token: string;
|
|
1046
|
-
type: PaymentMethodTypeEnum;
|
|
1047
|
-
}
|
|
1048
|
-
export declare class ChargeRentalsReuqestDto {
|
|
1049
|
-
organizationId: number;
|
|
1050
|
-
userId?: number;
|
|
1051
|
-
customerId?: number;
|
|
1052
|
-
orderId: number;
|
|
1053
|
-
paymentData: PurchasePaymentDto;
|
|
1054
|
-
amountToPay: number;
|
|
1055
|
-
total: number;
|
|
1056
|
-
platform: PlatformsEnum;
|
|
1057
|
-
shiftId?: number;
|
|
1058
|
-
}
|
|
1059
|
-
export declare class PurchaseRequestDto {
|
|
1060
|
-
purchasingUserId: number;
|
|
1061
|
-
customerId?: number;
|
|
1062
|
-
products: PurchaseProductDto[];
|
|
1063
|
-
paymentData: PurchasePaymentDto;
|
|
1064
|
-
answers: UserAnswersDto[];
|
|
1065
|
-
amountToPay: number;
|
|
1066
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
1067
|
-
parentPurchasedId?: number;
|
|
1068
|
-
isPartialPayment: boolean;
|
|
1069
|
-
existingOrderToken?: string;
|
|
1070
|
-
installments?: ScheduledPaymentDto[];
|
|
1071
|
-
shiftId?: number;
|
|
1072
|
-
orderId?: number;
|
|
1073
|
-
}
|
|
1074
|
-
export declare class PurchaseResourceDto extends ResourceDto {
|
|
1075
|
-
}
|
|
1076
|
-
export declare class PurchaseProductDto {
|
|
1077
|
-
id: number;
|
|
1078
|
-
resources?: PurchaseResourceDto[];
|
|
1079
|
-
userId?: number;
|
|
1080
|
-
paymentStatus?: PaymentStatusEnum;
|
|
1081
|
-
amountToPay?: number;
|
|
1082
|
-
ordinal?: number;
|
|
1083
|
-
startDate?: Date;
|
|
1084
|
-
quantity?: number;
|
|
1085
|
-
}
|
|
1086
|
-
export declare class PartialPaymentRequestDto {
|
|
1087
|
-
orderId: number;
|
|
1088
|
-
amountToPay: number;
|
|
1089
|
-
organizationId: number;
|
|
1090
|
-
payingUserId: number;
|
|
1091
|
-
paymentMethodData: PurchasePaymentDto;
|
|
1092
|
-
shiftId?: number;
|
|
1093
|
-
}
|
|
1094
|
-
export declare class RedeemPunchCardRequestDto {
|
|
1095
|
-
products: PurchaseProductDto[];
|
|
1096
|
-
answersTitlesIds: number[];
|
|
1097
|
-
organizationId: number;
|
|
1098
|
-
purchasingUserId: number;
|
|
1099
|
-
}
|
|
1100
|
-
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
1101
|
-
orderId: number;
|
|
1102
|
-
}
|
|
1103
|
-
export declare class AddItemsDto {
|
|
1104
|
-
products: PurchaseProductDto[];
|
|
1105
|
-
allocateResource: boolean;
|
|
1106
|
-
skipMail: boolean;
|
|
1107
|
-
}
|
|
1108
|
-
export declare class PartialPaymentAsUserDto {
|
|
1109
|
-
orderId: any;
|
|
1110
|
-
organizationId: any;
|
|
1111
|
-
amountToPay: any;
|
|
1112
|
-
paymentMethodData: any;
|
|
1113
|
-
}
|
|
1114
1114
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
1115
|
questionId: number;
|
|
1116
1116
|
question?: Questions;
|
|
@@ -1148,6 +1148,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1148
1148
|
endDate: Date;
|
|
1149
1149
|
deletedAt?: Date;
|
|
1150
1150
|
}
|
|
1151
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
|
+
id: number;
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
1155
|
+
}
|
|
1151
1156
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1152
1157
|
reservationId?: number;
|
|
1153
1158
|
color?: string;
|
|
@@ -1166,11 +1171,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1166
1171
|
publicNotes?: string;
|
|
1167
1172
|
slotType?: SlotTypeEnum;
|
|
1168
1173
|
}
|
|
1169
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1170
|
-
id: number;
|
|
1171
|
-
createdAt: Date;
|
|
1172
|
-
updatedAt: Date;
|
|
1173
|
-
}
|
|
1174
1174
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
1175
|
parentId: number;
|
|
1176
1176
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1367,14 +1367,14 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1367
1367
|
programSeasons: ProgramSeason[];
|
|
1368
1368
|
linkSEO: string;
|
|
1369
1369
|
}
|
|
1370
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1371
|
-
name: string | null;
|
|
1372
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1373
|
-
}
|
|
1374
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1375
1371
|
facilityId: number;
|
|
1376
1372
|
resourceId: number;
|
|
1377
1373
|
}
|
|
1374
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
|
+
}
|
|
1378
1378
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1379
1379
|
userId: number;
|
|
1380
1380
|
orderId: number;
|
|
@@ -1404,11 +1404,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1404
1404
|
members: ISeasonAttendeeInfo[];
|
|
1405
1405
|
users: User[];
|
|
1406
1406
|
}
|
|
1407
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1408
|
-
groupId: number;
|
|
1409
|
-
divisionId: number;
|
|
1410
|
-
deletedAt?: Date;
|
|
1411
|
-
}
|
|
1412
1407
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1413
1408
|
groupId: number;
|
|
1414
1409
|
itemId: number;
|
|
@@ -1422,6 +1417,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1422
1417
|
discountMethod?: DiscountMethodsEnum;
|
|
1423
1418
|
discountValue?: number;
|
|
1424
1419
|
}
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1424
|
+
}
|
|
1425
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
1426
|
price: number;
|
|
1427
1427
|
paymentProcessorId: string;
|
|
@@ -2164,20 +2164,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2164
2164
|
seasonId: number | null;
|
|
2165
2165
|
color: string | null;
|
|
2166
2166
|
}
|
|
2167
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2168
|
-
seasonId: number | null;
|
|
2169
|
-
teamId: number | null;
|
|
2170
|
-
standingPosition: number | null;
|
|
2171
|
-
statistics: any | null;
|
|
2172
|
-
points: number | null;
|
|
2173
|
-
divisionId: number | null;
|
|
2174
|
-
metaData: any | null;
|
|
2175
|
-
team: Team;
|
|
2176
|
-
}
|
|
2177
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2178
|
-
blockingSpaceId: number;
|
|
2179
|
-
blockedSpaceId: number;
|
|
2180
|
-
}
|
|
2181
2167
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2182
2168
|
seasonId?: number;
|
|
2183
2169
|
userId?: number;
|
|
@@ -2193,6 +2179,20 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2193
2179
|
purchasedResource: PurchasedResource;
|
|
2194
2180
|
season: LeagueSeason;
|
|
2195
2181
|
}
|
|
2182
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2183
|
+
seasonId: number | null;
|
|
2184
|
+
teamId: number | null;
|
|
2185
|
+
standingPosition: number | null;
|
|
2186
|
+
statistics: any | null;
|
|
2187
|
+
points: number | null;
|
|
2188
|
+
divisionId: number | null;
|
|
2189
|
+
metaData: any | null;
|
|
2190
|
+
team: Team;
|
|
2191
|
+
}
|
|
2192
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2193
|
+
blockingSpaceId: number;
|
|
2194
|
+
blockedSpaceId: number;
|
|
2195
|
+
}
|
|
2196
2196
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2197
2197
|
name: string;
|
|
2198
2198
|
facilityId: number;
|
|
@@ -2348,401 +2348,41 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2348
2348
|
membershipCollectionId?: string;
|
|
2349
2349
|
programsCollectionId?: string;
|
|
2350
2350
|
}
|
|
2351
|
-
export
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
minValue?: string;
|
|
2356
|
-
maxValue?: string;
|
|
2351
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2352
|
+
QUESTION = "question",
|
|
2353
|
+
CITY = "city",
|
|
2354
|
+
MEMBERSHIP = "membership"
|
|
2357
2355
|
}
|
|
2358
|
-
export
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2389
|
-
invoices: Order[];
|
|
2390
|
-
payments: Invoice[];
|
|
2391
|
-
products: Product[];
|
|
2392
|
-
redeemNext: ProductsUsers;
|
|
2393
|
-
}
|
|
2394
|
-
export interface ISeasonAttendeeListInfo {
|
|
2395
|
-
userId: number;
|
|
2396
|
-
userFirstName: string;
|
|
2397
|
-
userLastName: string;
|
|
2398
|
-
userGender: number;
|
|
2399
|
-
userBirthDate: Date;
|
|
2400
|
-
userProfilePicUrl: string;
|
|
2401
|
-
customerId: number;
|
|
2402
|
-
customerEmail: string;
|
|
2403
|
-
paymentStatus: string;
|
|
2404
|
-
productName: string;
|
|
2405
|
-
punchCard: boolean;
|
|
2406
|
-
}
|
|
2407
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2408
|
-
segmentType: ResourceNameTypeEnum;
|
|
2409
|
-
participantRegisteredDate?: string;
|
|
2410
|
-
}
|
|
2411
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2412
|
-
segmentType: ResourceNameTypeEnum;
|
|
2413
|
-
participantRegisteredDate?: string;
|
|
2414
|
-
}
|
|
2415
|
-
export interface ITokenResonse {
|
|
2416
|
-
token: string;
|
|
2417
|
-
}
|
|
2418
|
-
export interface IStripeBondInvoices {
|
|
2419
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2420
|
-
bondPaidInvoice: Invoice;
|
|
2421
|
-
order?: Order;
|
|
2422
|
-
customer?: Customer;
|
|
2423
|
-
}
|
|
2424
|
-
export interface IPartialPaymentData {
|
|
2425
|
-
purchasingUserId: number;
|
|
2426
|
-
paymentData: PurchasePaymentDto;
|
|
2427
|
-
amountToPay: number;
|
|
2428
|
-
}
|
|
2429
|
-
export interface IPayment {
|
|
2430
|
-
id: number;
|
|
2431
|
-
total: number;
|
|
2432
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2433
|
-
status: PaymentStatusEnum;
|
|
2434
|
-
createdAt: Date;
|
|
2435
|
-
invoices: number[];
|
|
2436
|
-
}
|
|
2437
|
-
export interface IPaginationData<T> {
|
|
2438
|
-
meta: {
|
|
2439
|
-
totalItems: number;
|
|
2440
|
-
itemsPerPage: number;
|
|
2441
|
-
totalPages: number;
|
|
2442
|
-
currentPage: number;
|
|
2443
|
-
};
|
|
2444
|
-
data: T[];
|
|
2445
|
-
}
|
|
2446
|
-
export interface IPricesOfProductsResults {
|
|
2447
|
-
productId: number;
|
|
2448
|
-
userId: number;
|
|
2449
|
-
price: number;
|
|
2450
|
-
groupId?: number;
|
|
2451
|
-
groupName?: string;
|
|
2452
|
-
originalPrice?: number;
|
|
2453
|
-
priceWithoutTax: number;
|
|
2454
|
-
tax: number;
|
|
2455
|
-
isTaxInclusive: boolean;
|
|
2456
|
-
}
|
|
2457
|
-
export interface IPaymentMethodToFundLeft {
|
|
2458
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2459
|
-
paymentMethodId: string;
|
|
2460
|
-
fundLeft: number;
|
|
2461
|
-
ccLast4?: string;
|
|
2462
|
-
ccBrand?: string;
|
|
2463
|
-
}
|
|
2464
|
-
export interface IVariantsAndTitle {
|
|
2465
|
-
title: VariantTitle;
|
|
2466
|
-
variants: Variant[];
|
|
2467
|
-
}
|
|
2468
|
-
export interface IProgramSeasonActivityTimes {
|
|
2469
|
-
dayOfWeek: number;
|
|
2470
|
-
open: string;
|
|
2471
|
-
close: string;
|
|
2472
|
-
}
|
|
2473
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2474
|
-
date: string;
|
|
2475
|
-
startTime: string;
|
|
2476
|
-
endTime: string;
|
|
2477
|
-
}
|
|
2478
|
-
export interface IBlockedDates {
|
|
2479
|
-
name: string;
|
|
2480
|
-
startDate: Date;
|
|
2481
|
-
endDate: Date;
|
|
2482
|
-
}
|
|
2483
|
-
export interface ISingleMemberForRenewal {
|
|
2484
|
-
member_id: number;
|
|
2485
|
-
member_membershipId: number;
|
|
2486
|
-
member_userId: number;
|
|
2487
|
-
member_nextPaymentMethodId?: string;
|
|
2488
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2489
|
-
member_answerTitleIds?: number[];
|
|
2490
|
-
member_organizationId: number;
|
|
2491
|
-
line_paidAmount: number;
|
|
2492
|
-
line_productId: number;
|
|
2493
|
-
order_payingUserId: number;
|
|
2494
|
-
order_paymentMethodId: string;
|
|
2495
|
-
order_paymentType: PaymentMethodTypeEnum;
|
|
2496
|
-
endDate: Date;
|
|
2497
|
-
membership_name: string;
|
|
2498
|
-
user_firstName: string;
|
|
2499
|
-
user_lastName: string;
|
|
2500
|
-
user_email: string;
|
|
2501
|
-
}
|
|
2502
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2503
|
-
package_parentProductId: number;
|
|
2504
|
-
line2_paidAmount: number;
|
|
2505
|
-
familyid: number;
|
|
2506
|
-
order_id: number;
|
|
2507
|
-
}
|
|
2508
|
-
export interface IResourceRegistrationData {
|
|
2509
|
-
id: number;
|
|
2510
|
-
resourceType: ResourceNameTypeEnum;
|
|
2511
|
-
openNumDays?: number;
|
|
2512
|
-
openNumMinutes?: number;
|
|
2513
|
-
openTime?: string;
|
|
2514
|
-
closeNumDays?: number;
|
|
2515
|
-
closeNumMinutes?: number;
|
|
2516
|
-
closeTime?: string;
|
|
2517
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2518
|
-
}
|
|
2519
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2520
|
-
id: number;
|
|
2521
|
-
startDate: string;
|
|
2522
|
-
startTime: string;
|
|
2523
|
-
}
|
|
2524
|
-
export interface IRegistrationConstraintsSetting {
|
|
2525
|
-
numDays?: number;
|
|
2526
|
-
numMinutes?: number;
|
|
2527
|
-
}
|
|
2528
|
-
export interface IAttendeeDataToNotify {
|
|
2529
|
-
firstName: string;
|
|
2530
|
-
lastName: string;
|
|
2531
|
-
email: string;
|
|
2532
|
-
sessionName: string;
|
|
2533
|
-
parentSessionName?: string;
|
|
2534
|
-
organizationName: string;
|
|
2535
|
-
programName: string;
|
|
2536
|
-
}
|
|
2537
|
-
export interface IEventInSchedule {
|
|
2538
|
-
eventId: number;
|
|
2539
|
-
eventName: string;
|
|
2540
|
-
eventStartDate: string;
|
|
2541
|
-
eventEndDate: string;
|
|
2542
|
-
eventStartTime: string;
|
|
2543
|
-
eventEndTime: string;
|
|
2544
|
-
programId: number;
|
|
2545
|
-
programName: string;
|
|
2546
|
-
programType: ProgramTypesEnum;
|
|
2547
|
-
sessionId: number;
|
|
2548
|
-
sessionName: string;
|
|
2549
|
-
sports: number;
|
|
2550
|
-
spaces: {
|
|
2551
|
-
spaceId: number;
|
|
2552
|
-
spaceName: string;
|
|
2553
|
-
}[];
|
|
2554
|
-
status?: RegistrationValidationStatusEnum;
|
|
2555
|
-
}
|
|
2556
|
-
export interface ISlotInSchedule {
|
|
2557
|
-
facilityId: number;
|
|
2558
|
-
facilityName: string;
|
|
2559
|
-
spaces: ISpaceWithSlots[];
|
|
2560
|
-
}
|
|
2561
|
-
export interface ISpaceWithSlots {
|
|
2562
|
-
id: number;
|
|
2563
|
-
name: string;
|
|
2564
|
-
slots: ISlotReservationData[];
|
|
2565
|
-
}
|
|
2566
|
-
export interface ISlotReservationData {
|
|
2567
|
-
reservationId: number;
|
|
2568
|
-
reservationName: string;
|
|
2569
|
-
date: string;
|
|
2570
|
-
startTime: string;
|
|
2571
|
-
endTime: string;
|
|
2572
|
-
notes: string;
|
|
2573
|
-
spaceId: number;
|
|
2574
|
-
isRental: boolean;
|
|
2575
|
-
slotType: SlotTypeEnum;
|
|
2576
|
-
slotId: number;
|
|
2577
|
-
eventId: number;
|
|
2578
|
-
isPrivate: boolean;
|
|
2579
|
-
}
|
|
2580
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2581
|
-
parentSessionId: number;
|
|
2582
|
-
parentSessionName: string;
|
|
2583
|
-
eventTimezone: string;
|
|
2584
|
-
maxParticipants: number;
|
|
2585
|
-
maxMaleParticipants: number;
|
|
2586
|
-
maxFemaleParticipants: number;
|
|
2587
|
-
isPunchCard: boolean;
|
|
2588
|
-
}
|
|
2589
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2590
|
-
id: number;
|
|
2591
|
-
name: string;
|
|
2592
|
-
bookingCreatorId: number;
|
|
2593
|
-
}
|
|
2594
|
-
export interface IRawSlotInSchedule {
|
|
2595
|
-
startDate: string;
|
|
2596
|
-
endDate: string;
|
|
2597
|
-
startTime: string;
|
|
2598
|
-
endTime: string;
|
|
2599
|
-
reservationId: number;
|
|
2600
|
-
eventTitle: string;
|
|
2601
|
-
publicNotes: string;
|
|
2602
|
-
spaceId: number;
|
|
2603
|
-
creatorType: ResourceNameTypeEnum;
|
|
2604
|
-
slotType: SlotTypeEnum;
|
|
2605
|
-
slotId: number;
|
|
2606
|
-
eventId: number;
|
|
2607
|
-
isPrivate: boolean;
|
|
2608
|
-
}
|
|
2609
|
-
export interface IPurchasedResourcesRaw {
|
|
2610
|
-
purchasedId: number;
|
|
2611
|
-
purchasedProductUserId: number;
|
|
2612
|
-
purchasedResourceId: number;
|
|
2613
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2614
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2615
|
-
pUserId: number;
|
|
2616
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2617
|
-
pUserProductId: number;
|
|
2618
|
-
pUserProductName: string;
|
|
2619
|
-
pUserProductPrice: number;
|
|
2620
|
-
pUserProductPriceCurrency: string;
|
|
2621
|
-
pUserProductQuantity: number;
|
|
2622
|
-
pUserProductQuantityLeft: number;
|
|
2623
|
-
pUserUserId: number;
|
|
2624
|
-
}
|
|
2625
|
-
export interface IUsersPasses {
|
|
2626
|
-
userId: number;
|
|
2627
|
-
userFirstName: string;
|
|
2628
|
-
userLastName: string;
|
|
2629
|
-
organizationId: number;
|
|
2630
|
-
programId: number;
|
|
2631
|
-
programName: string;
|
|
2632
|
-
sessionId: number;
|
|
2633
|
-
sessionName: string;
|
|
2634
|
-
productId: number;
|
|
2635
|
-
productName: string;
|
|
2636
|
-
productUserId: number;
|
|
2637
|
-
purchaseDate: Date;
|
|
2638
|
-
passesLeft: number;
|
|
2639
|
-
}
|
|
2640
|
-
export interface ISessionsLandingPage {
|
|
2641
|
-
sessionId: number;
|
|
2642
|
-
name: string;
|
|
2643
|
-
startDate: Date;
|
|
2644
|
-
endDate: Date;
|
|
2645
|
-
registrationStartDate: Date;
|
|
2646
|
-
registrationEndDate: Date;
|
|
2647
|
-
sport: SportsEnum;
|
|
2648
|
-
minAge: string;
|
|
2649
|
-
maxAge: string;
|
|
2650
|
-
maxParticipants?: number;
|
|
2651
|
-
gender: GenderEnum;
|
|
2652
|
-
activityTimes: ActivityTimes[];
|
|
2653
|
-
earlyRegistrationStartDate?: Date;
|
|
2654
|
-
earlyRegistrationEndDate?: Date;
|
|
2655
|
-
lateRegistrationStartDate?: Date;
|
|
2656
|
-
lateRegistrationEndDate?: Date;
|
|
2657
|
-
attendeeCount?: number;
|
|
2658
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2659
|
-
}
|
|
2660
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2661
|
-
hasRequiredMembership: boolean;
|
|
2662
|
-
hasEntitledPricing: boolean;
|
|
2663
|
-
lowestPrice?: number;
|
|
2664
|
-
products?: ISessionLandingPageProduct[];
|
|
2665
|
-
}
|
|
2666
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2667
|
-
hasRequiredMembership: boolean;
|
|
2668
|
-
hasEntitledPricing: boolean;
|
|
2669
|
-
products?: ISessionLandingPageProduct[];
|
|
2670
|
-
segments?: Event[] | ProgramSeason[];
|
|
2671
|
-
programName: string;
|
|
2672
|
-
programId: number;
|
|
2673
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2674
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2675
|
-
}
|
|
2676
|
-
export interface ISlimAddons {
|
|
2677
|
-
addons?: {
|
|
2678
|
-
id: number;
|
|
2679
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2680
|
-
name: string;
|
|
2681
|
-
productType?: ProductTypesEnum;
|
|
2682
|
-
productSubType?: string;
|
|
2683
|
-
}[];
|
|
2684
|
-
}
|
|
2685
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2686
|
-
id: number;
|
|
2687
|
-
name: string;
|
|
2688
|
-
startDate?: Date;
|
|
2689
|
-
endDate?: Date;
|
|
2690
|
-
downpayment?: number;
|
|
2691
|
-
description?: string;
|
|
2692
|
-
prices: Price[];
|
|
2693
|
-
productSubType?: ProductSubTypesEnum;
|
|
2694
|
-
punchCard: boolean;
|
|
2695
|
-
isAddon: boolean;
|
|
2696
|
-
defaultPriceId?: number;
|
|
2697
|
-
}
|
|
2698
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2699
|
-
destinationId?: string;
|
|
2700
|
-
stripeCustomerId?: string;
|
|
2701
|
-
fee?: number;
|
|
2702
|
-
}
|
|
2703
|
-
export interface IReservationCreatorData {
|
|
2704
|
-
type: ResourceNameTypeEnum;
|
|
2705
|
-
id: number;
|
|
2706
|
-
organizationId: number;
|
|
2707
|
-
startDate: string;
|
|
2708
|
-
endDate: string;
|
|
2709
|
-
sportId: number;
|
|
2710
|
-
}
|
|
2711
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2712
|
-
QUESTION = "question",
|
|
2713
|
-
CITY = "city",
|
|
2714
|
-
MEMBERSHIP = "membership"
|
|
2715
|
-
}
|
|
2716
|
-
export declare enum ResourceNameTypeEnum {
|
|
2717
|
-
EVENT = "event",
|
|
2718
|
-
VENUE = "venue",
|
|
2719
|
-
TEAM = "team",
|
|
2720
|
-
LEAGUE = "league",
|
|
2721
|
-
USER = "user",
|
|
2722
|
-
ORGANIZATION = "organization",
|
|
2723
|
-
APP = "app",
|
|
2724
|
-
FEED = "feed",
|
|
2725
|
-
MATCH = "match",
|
|
2726
|
-
ROUND = "round",
|
|
2727
|
-
PORTAL = "portal",
|
|
2728
|
-
SEASON = "season",
|
|
2729
|
-
TOURNAMENT = "tournament",
|
|
2730
|
-
MEMBERSHIP = "membership",
|
|
2731
|
-
DIVISION = "division",
|
|
2732
|
-
GAMESLOT = "gameslot",
|
|
2733
|
-
SPACE = "space",
|
|
2734
|
-
RESERVATION = "reservation",
|
|
2735
|
-
ORDER = "order",
|
|
2736
|
-
CUSTOMER = "customer",
|
|
2737
|
-
PACKAGE = "package",
|
|
2738
|
-
FACILITY = "facility",
|
|
2739
|
-
PROGRAM = "program",
|
|
2740
|
-
PROGRAM_SEASON = "program_season",
|
|
2741
|
-
PRODUCT = "product",
|
|
2742
|
-
GROUP = "group",
|
|
2743
|
-
VARIANT = "variant",
|
|
2744
|
-
SLOT = "slot",
|
|
2745
|
-
ADDON = "addon"
|
|
2356
|
+
export declare enum ResourceNameTypeEnum {
|
|
2357
|
+
EVENT = "event",
|
|
2358
|
+
VENUE = "venue",
|
|
2359
|
+
TEAM = "team",
|
|
2360
|
+
LEAGUE = "league",
|
|
2361
|
+
USER = "user",
|
|
2362
|
+
ORGANIZATION = "organization",
|
|
2363
|
+
APP = "app",
|
|
2364
|
+
FEED = "feed",
|
|
2365
|
+
MATCH = "match",
|
|
2366
|
+
ROUND = "round",
|
|
2367
|
+
PORTAL = "portal",
|
|
2368
|
+
SEASON = "season",
|
|
2369
|
+
TOURNAMENT = "tournament",
|
|
2370
|
+
MEMBERSHIP = "membership",
|
|
2371
|
+
DIVISION = "division",
|
|
2372
|
+
GAMESLOT = "gameslot",
|
|
2373
|
+
SPACE = "space",
|
|
2374
|
+
RESERVATION = "reservation",
|
|
2375
|
+
ORDER = "order",
|
|
2376
|
+
CUSTOMER = "customer",
|
|
2377
|
+
PACKAGE = "package",
|
|
2378
|
+
FACILITY = "facility",
|
|
2379
|
+
PROGRAM = "program",
|
|
2380
|
+
PROGRAM_SEASON = "program_season",
|
|
2381
|
+
PRODUCT = "product",
|
|
2382
|
+
GROUP = "group",
|
|
2383
|
+
VARIANT = "variant",
|
|
2384
|
+
SLOT = "slot",
|
|
2385
|
+
ADDON = "addon"
|
|
2746
2386
|
}
|
|
2747
2387
|
export declare enum DirectBookingTypesEnum {
|
|
2748
2388
|
DIRECT_FOR_ALL = "all",
|
|
@@ -3068,172 +2708,532 @@ export declare enum ResourceSubTypeEnum {
|
|
|
3068
2708
|
export declare enum ResourceTypeEnum {
|
|
3069
2709
|
SPACE = "space"
|
|
3070
2710
|
}
|
|
3071
|
-
export declare enum ResourceAgesEnum {
|
|
3072
|
-
ADULTS = "adults",
|
|
3073
|
-
CHILDREN = "children"
|
|
2711
|
+
export declare enum ResourceAgesEnum {
|
|
2712
|
+
ADULTS = "adults",
|
|
2713
|
+
CHILDREN = "children"
|
|
2714
|
+
}
|
|
2715
|
+
export declare enum SpacePropertiesEnum {
|
|
2716
|
+
OUTDOOR = "outdoor",
|
|
2717
|
+
INDOOR = "indoor"
|
|
2718
|
+
}
|
|
2719
|
+
export declare enum SurfacesEnum {
|
|
2720
|
+
GRASS = "grass",
|
|
2721
|
+
TURF = "turf",
|
|
2722
|
+
FIELD_TURF = "fieldTurf",
|
|
2723
|
+
ASTRO_TURF = "astroTurf",
|
|
2724
|
+
HARDWOOD = "hardwood",
|
|
2725
|
+
ASPHALT = "asphalt",
|
|
2726
|
+
SAND = "sand",
|
|
2727
|
+
ICE = "ice",
|
|
2728
|
+
SPORT_COURT = "sportCourt"
|
|
2729
|
+
}
|
|
2730
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2731
|
+
MINUTES = "minutes",
|
|
2732
|
+
DAYS = "days"
|
|
2733
|
+
}
|
|
2734
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2735
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2736
|
+
OPEN = "open",
|
|
2737
|
+
CLOSED = "closed"
|
|
2738
|
+
}
|
|
2739
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2740
|
+
FULL = "full",
|
|
2741
|
+
ALREADY_REGISTERED = "registered",
|
|
2742
|
+
AVAILABLE = "available",
|
|
2743
|
+
NOT_OPEN_YET = "not opened",
|
|
2744
|
+
ALREADY_CLOSED = "closed",
|
|
2745
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2746
|
+
}
|
|
2747
|
+
export declare enum DiscountMethodsEnum {
|
|
2748
|
+
PERCENT = "percent",
|
|
2749
|
+
AMOUNT = "amount"
|
|
2750
|
+
}
|
|
2751
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2752
|
+
ORGANIZATION = "organization"
|
|
2753
|
+
}
|
|
2754
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2755
|
+
USA = "USA"
|
|
2756
|
+
}
|
|
2757
|
+
export declare enum DateTimeFormatsEnum {
|
|
2758
|
+
API_DATE = "YYYY/MM/DD",
|
|
2759
|
+
API_TIME = "HH:mm:ss"
|
|
2760
|
+
}
|
|
2761
|
+
export declare enum SlotTypeEnum {
|
|
2762
|
+
EXTERNAL = "external",
|
|
2763
|
+
INTERNAL = "internal",
|
|
2764
|
+
MAINTENANCE = "maintenance",
|
|
2765
|
+
CUSTOM = "custom"
|
|
2766
|
+
}
|
|
2767
|
+
export declare enum PlatformsEnum {
|
|
2768
|
+
CONSUMER = "consumer",
|
|
2769
|
+
BO = "backoffice",
|
|
2770
|
+
MOBILE = "mobile",
|
|
2771
|
+
CRON = "cron"
|
|
2772
|
+
}
|
|
2773
|
+
export declare enum ShiftStatusEnum {
|
|
2774
|
+
OPEN = "open",
|
|
2775
|
+
CLOSED = "closed",
|
|
2776
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2777
|
+
RECONCILED = "reconciled"
|
|
2778
|
+
}
|
|
2779
|
+
export declare enum EventStatusEnum {
|
|
2780
|
+
OPEN = 1,
|
|
2781
|
+
DRAFT = 2,
|
|
2782
|
+
FULL = 3,
|
|
2783
|
+
CANCELLED = 4,
|
|
2784
|
+
CLOSED = 5,
|
|
2785
|
+
DELETED = 6
|
|
2786
|
+
}
|
|
2787
|
+
export declare enum ReservationTypeEnum {
|
|
2788
|
+
RENTAL = "rental",
|
|
2789
|
+
PROGRAM = "program",
|
|
2790
|
+
MAINTENANCE = "maintenance",
|
|
2791
|
+
CUSTOM = "custom"
|
|
2792
|
+
}
|
|
2793
|
+
export declare enum SlotDurationTypeEnum {
|
|
2794
|
+
DATES = "dates",
|
|
2795
|
+
ALL_DAY = "all day",
|
|
2796
|
+
DURATION = "duration"
|
|
2797
|
+
}
|
|
2798
|
+
export declare enum DurationUnitTypesEnum {
|
|
2799
|
+
MINUTES = "minutes",
|
|
2800
|
+
HOURS = "hours"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum FrequencyEnum {
|
|
2803
|
+
NONE = "none",
|
|
2804
|
+
WEEKLY = "weekly",
|
|
2805
|
+
DAILY = "daily",
|
|
2806
|
+
MONTHLY = "monthly",
|
|
2807
|
+
YEARLY = "yearly"
|
|
2808
|
+
}
|
|
2809
|
+
export declare enum MaintenanceTimingEnum {
|
|
2810
|
+
BEFORE = 1,
|
|
2811
|
+
AFTER = 2,
|
|
2812
|
+
AT_THE_BEGINING = 3,
|
|
2813
|
+
AT_THE_END = 4
|
|
2814
|
+
}
|
|
2815
|
+
export declare enum CreatorTypeEnum {
|
|
2816
|
+
SPACE = "space",
|
|
2817
|
+
PROGRAM_SEASON = "program_season"
|
|
2818
|
+
}
|
|
2819
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2820
|
+
INDIVIDUAL = "indvidual",
|
|
2821
|
+
CATEGORY = "category",
|
|
2822
|
+
GLOBAL = "global"
|
|
2823
|
+
}
|
|
2824
|
+
export declare enum BondDayOfWeekEnum {
|
|
2825
|
+
MONDAY = 2,
|
|
2826
|
+
TUESDAY = 3,
|
|
2827
|
+
WEDNESDAY = 4,
|
|
2828
|
+
THURSDAY = 5,
|
|
2829
|
+
FRIDAY = 6,
|
|
2830
|
+
SATURDAY = 7,
|
|
2831
|
+
SUNDAY = 8
|
|
2832
|
+
}
|
|
2833
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2834
|
+
NEW = "new",
|
|
2835
|
+
NO = "no",
|
|
2836
|
+
YES = "yes"
|
|
2837
|
+
}
|
|
2838
|
+
export declare enum ProductPackageLevelEnum {
|
|
2839
|
+
HOUR = "hour",
|
|
2840
|
+
SLOT = "slot",
|
|
2841
|
+
RESERVATION = "reservation"
|
|
2842
|
+
}
|
|
2843
|
+
export declare enum CancellationStatusEnum {
|
|
2844
|
+
IMMEDIATE = "immediate",
|
|
2845
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2846
|
+
}
|
|
2847
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2848
|
+
DRAFT = 0,
|
|
2849
|
+
PUBLISHED = 1
|
|
2850
|
+
}
|
|
2851
|
+
export declare enum FinancialStepEnum {
|
|
2852
|
+
VOID = "void",
|
|
2853
|
+
REFUND = "refund",
|
|
2854
|
+
NONE = "none",
|
|
2855
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2856
|
+
APPEND = "append"
|
|
2857
|
+
}
|
|
2858
|
+
export declare enum StripeAccountTypesEnum {
|
|
2859
|
+
STRIPE = "stripe",
|
|
2860
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2861
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum LinkedAccountStatus {
|
|
2864
|
+
PENDING = 1,
|
|
2865
|
+
ACTIVE = 2,
|
|
2866
|
+
PRE_PENDING = 3
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum AddonParentTypeEnum {
|
|
2869
|
+
RESERVATION = "reservation",
|
|
2870
|
+
SLOT = "slot"
|
|
2871
|
+
}
|
|
2872
|
+
export declare enum EEmailStatus {
|
|
2873
|
+
SENT = "sent",
|
|
2874
|
+
OPENED = "opened",
|
|
2875
|
+
PAID = "paid",
|
|
2876
|
+
CANCELED = "canceled"
|
|
2877
|
+
}
|
|
2878
|
+
export interface IEntitlementTerms {
|
|
2879
|
+
type: EntitlementTermsTypesEnum;
|
|
2880
|
+
id?: number;
|
|
2881
|
+
value?: string;
|
|
2882
|
+
minValue?: string;
|
|
2883
|
+
maxValue?: string;
|
|
2884
|
+
}
|
|
2885
|
+
export interface IQuestionAnswerObject {
|
|
2886
|
+
questionId: number;
|
|
2887
|
+
value: string;
|
|
2888
|
+
}
|
|
2889
|
+
export interface ILowestPriceForItem {
|
|
2890
|
+
itemId: number;
|
|
2891
|
+
itemType: ResourceNameTypeEnum;
|
|
2892
|
+
groupId: number;
|
|
2893
|
+
groupName?: string;
|
|
2894
|
+
price: number;
|
|
2895
|
+
overridesPrice: boolean;
|
|
2896
|
+
}
|
|
2897
|
+
export interface IResourcesAvailability {
|
|
2898
|
+
resourceType: ResourceNameTypeEnum;
|
|
2899
|
+
quantity: number;
|
|
2900
|
+
resourcesIds: number[];
|
|
2901
|
+
isPunchCard: boolean;
|
|
2902
|
+
resources?: any[];
|
|
2903
|
+
}
|
|
2904
|
+
export interface IPackageResponse {
|
|
2905
|
+
parentProduct: Product;
|
|
2906
|
+
children: IChildProduct[];
|
|
2907
|
+
}
|
|
2908
|
+
export interface IChildProduct {
|
|
2909
|
+
product: Product;
|
|
2910
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2911
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2912
|
+
}
|
|
2913
|
+
export interface ISeasonAttendeeInfo {
|
|
2914
|
+
applicationAnswers: Answer[];
|
|
2915
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2916
|
+
invoices: Order[];
|
|
2917
|
+
payments: Invoice[];
|
|
2918
|
+
products: Product[];
|
|
2919
|
+
redeemNext: ProductsUsers;
|
|
2920
|
+
}
|
|
2921
|
+
export interface ISeasonAttendeeListInfo {
|
|
2922
|
+
userId: number;
|
|
2923
|
+
userFirstName: string;
|
|
2924
|
+
userLastName: string;
|
|
2925
|
+
userGender: number;
|
|
2926
|
+
userBirthDate: Date;
|
|
2927
|
+
userProfilePicUrl: string;
|
|
2928
|
+
customerId: number;
|
|
2929
|
+
customerEmail: string;
|
|
2930
|
+
paymentStatus: string;
|
|
2931
|
+
productName: string;
|
|
2932
|
+
punchCard: boolean;
|
|
2933
|
+
}
|
|
2934
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2935
|
+
segmentType: ResourceNameTypeEnum;
|
|
2936
|
+
participantRegisteredDate?: string;
|
|
2937
|
+
}
|
|
2938
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2939
|
+
segmentType: ResourceNameTypeEnum;
|
|
2940
|
+
participantRegisteredDate?: string;
|
|
2941
|
+
}
|
|
2942
|
+
export interface ITokenResonse {
|
|
2943
|
+
token: string;
|
|
2944
|
+
}
|
|
2945
|
+
export interface IStripeBondInvoices {
|
|
2946
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2947
|
+
bondPaidInvoice: Invoice;
|
|
2948
|
+
order?: Order;
|
|
2949
|
+
customer?: Customer;
|
|
2950
|
+
}
|
|
2951
|
+
export interface IPartialPaymentData {
|
|
2952
|
+
purchasingUserId: number;
|
|
2953
|
+
paymentData: PurchasePaymentDto;
|
|
2954
|
+
amountToPay: number;
|
|
3074
2955
|
}
|
|
3075
|
-
export
|
|
3076
|
-
|
|
3077
|
-
|
|
2956
|
+
export interface IPayment {
|
|
2957
|
+
id: number;
|
|
2958
|
+
total: number;
|
|
2959
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2960
|
+
status: PaymentStatusEnum;
|
|
2961
|
+
createdAt: Date;
|
|
2962
|
+
invoices: number[];
|
|
3078
2963
|
}
|
|
3079
|
-
export
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
ICE = "ice",
|
|
3088
|
-
SPORT_COURT = "sportCourt"
|
|
2964
|
+
export interface IPaginationData<T> {
|
|
2965
|
+
meta: {
|
|
2966
|
+
totalItems: number;
|
|
2967
|
+
itemsPerPage: number;
|
|
2968
|
+
totalPages: number;
|
|
2969
|
+
currentPage: number;
|
|
2970
|
+
};
|
|
2971
|
+
data: T[];
|
|
3089
2972
|
}
|
|
3090
|
-
export
|
|
3091
|
-
|
|
3092
|
-
|
|
2973
|
+
export interface IPricesOfProductsResults {
|
|
2974
|
+
productId: number;
|
|
2975
|
+
userId: number;
|
|
2976
|
+
price: number;
|
|
2977
|
+
groupId?: number;
|
|
2978
|
+
groupName?: string;
|
|
2979
|
+
originalPrice?: number;
|
|
2980
|
+
priceWithoutTax: number;
|
|
2981
|
+
tax: number;
|
|
2982
|
+
isTaxInclusive: boolean;
|
|
3093
2983
|
}
|
|
3094
|
-
export
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
2984
|
+
export interface IPaymentMethodToFundLeft {
|
|
2985
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2986
|
+
paymentMethodId: string;
|
|
2987
|
+
fundLeft: number;
|
|
2988
|
+
ccLast4?: string;
|
|
2989
|
+
ccBrand?: string;
|
|
3098
2990
|
}
|
|
3099
|
-
export
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
AVAILABLE = "available",
|
|
3103
|
-
NOT_OPEN_YET = "not opened",
|
|
3104
|
-
ALREADY_CLOSED = "closed",
|
|
3105
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2991
|
+
export interface IVariantsAndTitle {
|
|
2992
|
+
title: VariantTitle;
|
|
2993
|
+
variants: Variant[];
|
|
3106
2994
|
}
|
|
3107
|
-
export
|
|
3108
|
-
|
|
3109
|
-
|
|
2995
|
+
export interface IProgramSeasonActivityTimes {
|
|
2996
|
+
dayOfWeek: number;
|
|
2997
|
+
open: string;
|
|
2998
|
+
close: string;
|
|
3110
2999
|
}
|
|
3111
|
-
export
|
|
3112
|
-
|
|
3000
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3001
|
+
date: string;
|
|
3002
|
+
startTime: string;
|
|
3003
|
+
endTime: string;
|
|
3113
3004
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3005
|
+
export interface IBlockedDates {
|
|
3006
|
+
name: string;
|
|
3007
|
+
startDate: Date;
|
|
3008
|
+
endDate: Date;
|
|
3116
3009
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3119
|
-
|
|
3010
|
+
export interface ISingleMemberForRenewal {
|
|
3011
|
+
member_id: number;
|
|
3012
|
+
member_membershipId: number;
|
|
3013
|
+
member_userId: number;
|
|
3014
|
+
member_nextPaymentMethodId?: string;
|
|
3015
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3016
|
+
member_answerTitleIds?: number[];
|
|
3017
|
+
member_organizationId: number;
|
|
3018
|
+
line_paidAmount: number;
|
|
3019
|
+
line_productId: number;
|
|
3020
|
+
order_payingUserId: number;
|
|
3021
|
+
order_paymentMethodId: string;
|
|
3022
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
3023
|
+
endDate: Date;
|
|
3024
|
+
membership_name: string;
|
|
3025
|
+
user_firstName: string;
|
|
3026
|
+
user_lastName: string;
|
|
3027
|
+
user_email: string;
|
|
3120
3028
|
}
|
|
3121
|
-
export
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3029
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3030
|
+
package_parentProductId: number;
|
|
3031
|
+
line2_paidAmount: number;
|
|
3032
|
+
familyid: number;
|
|
3033
|
+
order_id: number;
|
|
3126
3034
|
}
|
|
3127
|
-
export
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3035
|
+
export interface IResourceRegistrationData {
|
|
3036
|
+
id: number;
|
|
3037
|
+
resourceType: ResourceNameTypeEnum;
|
|
3038
|
+
openNumDays?: number;
|
|
3039
|
+
openNumMinutes?: number;
|
|
3040
|
+
openTime?: string;
|
|
3041
|
+
closeNumDays?: number;
|
|
3042
|
+
closeNumMinutes?: number;
|
|
3043
|
+
closeTime?: string;
|
|
3044
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3132
3045
|
}
|
|
3133
|
-
export
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
RECONCILED = "reconciled"
|
|
3046
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3047
|
+
id: number;
|
|
3048
|
+
startDate: string;
|
|
3049
|
+
startTime: string;
|
|
3138
3050
|
}
|
|
3139
|
-
export
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
FULL = 3,
|
|
3143
|
-
CANCELLED = 4,
|
|
3144
|
-
CLOSED = 5,
|
|
3145
|
-
DELETED = 6
|
|
3051
|
+
export interface IRegistrationConstraintsSetting {
|
|
3052
|
+
numDays?: number;
|
|
3053
|
+
numMinutes?: number;
|
|
3146
3054
|
}
|
|
3147
|
-
export
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3055
|
+
export interface IAttendeeDataToNotify {
|
|
3056
|
+
firstName: string;
|
|
3057
|
+
lastName: string;
|
|
3058
|
+
email: string;
|
|
3059
|
+
sessionName: string;
|
|
3060
|
+
parentSessionName?: string;
|
|
3061
|
+
organizationName: string;
|
|
3062
|
+
programName: string;
|
|
3152
3063
|
}
|
|
3153
|
-
export
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3064
|
+
export interface IEventInSchedule {
|
|
3065
|
+
eventId: number;
|
|
3066
|
+
eventName: string;
|
|
3067
|
+
eventStartDate: string;
|
|
3068
|
+
eventEndDate: string;
|
|
3069
|
+
eventStartTime: string;
|
|
3070
|
+
eventEndTime: string;
|
|
3071
|
+
programId: number;
|
|
3072
|
+
programName: string;
|
|
3073
|
+
programType: ProgramTypesEnum;
|
|
3074
|
+
sessionId: number;
|
|
3075
|
+
sessionName: string;
|
|
3076
|
+
sports: number;
|
|
3077
|
+
spaces: {
|
|
3078
|
+
spaceId: number;
|
|
3079
|
+
spaceName: string;
|
|
3080
|
+
}[];
|
|
3081
|
+
status?: RegistrationValidationStatusEnum;
|
|
3157
3082
|
}
|
|
3158
|
-
export
|
|
3159
|
-
|
|
3160
|
-
|
|
3083
|
+
export interface ISlotInSchedule {
|
|
3084
|
+
facilityId: number;
|
|
3085
|
+
facilityName: string;
|
|
3086
|
+
spaces: ISpaceWithSlots[];
|
|
3161
3087
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
MONTHLY = "monthly",
|
|
3167
|
-
YEARLY = "yearly"
|
|
3088
|
+
export interface ISpaceWithSlots {
|
|
3089
|
+
id: number;
|
|
3090
|
+
name: string;
|
|
3091
|
+
slots: ISlotReservationData[];
|
|
3168
3092
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3093
|
+
export interface ISlotReservationData {
|
|
3094
|
+
reservationId: number;
|
|
3095
|
+
reservationName: string;
|
|
3096
|
+
date: string;
|
|
3097
|
+
startTime: string;
|
|
3098
|
+
endTime: string;
|
|
3099
|
+
notes: string;
|
|
3100
|
+
spaceId: number;
|
|
3101
|
+
isRental: boolean;
|
|
3102
|
+
slotType: SlotTypeEnum;
|
|
3103
|
+
slotId: number;
|
|
3104
|
+
eventId: number;
|
|
3105
|
+
isPrivate: boolean;
|
|
3174
3106
|
}
|
|
3175
|
-
export
|
|
3176
|
-
|
|
3177
|
-
|
|
3107
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3108
|
+
parentSessionId: number;
|
|
3109
|
+
parentSessionName: string;
|
|
3110
|
+
eventTimezone: string;
|
|
3111
|
+
maxParticipants: number;
|
|
3112
|
+
maxMaleParticipants: number;
|
|
3113
|
+
maxFemaleParticipants: number;
|
|
3114
|
+
isPunchCard: boolean;
|
|
3178
3115
|
}
|
|
3179
|
-
export
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3116
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3117
|
+
id: number;
|
|
3118
|
+
name: string;
|
|
3119
|
+
bookingCreatorId: number;
|
|
3183
3120
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3121
|
+
export interface IRawSlotInSchedule {
|
|
3122
|
+
startDate: string;
|
|
3123
|
+
endDate: string;
|
|
3124
|
+
startTime: string;
|
|
3125
|
+
endTime: string;
|
|
3126
|
+
reservationId: number;
|
|
3127
|
+
eventTitle: string;
|
|
3128
|
+
publicNotes: string;
|
|
3129
|
+
spaceId: number;
|
|
3130
|
+
creatorType: ResourceNameTypeEnum;
|
|
3131
|
+
slotType: SlotTypeEnum;
|
|
3132
|
+
slotId: number;
|
|
3133
|
+
eventId: number;
|
|
3134
|
+
isPrivate: boolean;
|
|
3192
3135
|
}
|
|
3193
|
-
export
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3136
|
+
export interface IPurchasedResourcesRaw {
|
|
3137
|
+
purchasedId: number;
|
|
3138
|
+
purchasedProductUserId: number;
|
|
3139
|
+
purchasedResourceId: number;
|
|
3140
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3141
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3142
|
+
pUserId: number;
|
|
3143
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3144
|
+
pUserProductId: number;
|
|
3145
|
+
pUserProductName: string;
|
|
3146
|
+
pUserProductPrice: number;
|
|
3147
|
+
pUserProductPriceCurrency: string;
|
|
3148
|
+
pUserProductQuantity: number;
|
|
3149
|
+
pUserProductQuantityLeft: number;
|
|
3150
|
+
pUserUserId: number;
|
|
3197
3151
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3152
|
+
export interface IUsersPasses {
|
|
3153
|
+
userId: number;
|
|
3154
|
+
userFirstName: string;
|
|
3155
|
+
userLastName: string;
|
|
3156
|
+
organizationId: number;
|
|
3157
|
+
programId: number;
|
|
3158
|
+
programName: string;
|
|
3159
|
+
sessionId: number;
|
|
3160
|
+
sessionName: string;
|
|
3161
|
+
productId: number;
|
|
3162
|
+
productName: string;
|
|
3163
|
+
productUserId: number;
|
|
3164
|
+
purchaseDate: Date;
|
|
3165
|
+
passesLeft: number;
|
|
3202
3166
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3167
|
+
export interface ISessionsLandingPage {
|
|
3168
|
+
sessionId: number;
|
|
3169
|
+
name: string;
|
|
3170
|
+
startDate: Date;
|
|
3171
|
+
endDate: Date;
|
|
3172
|
+
registrationStartDate: Date;
|
|
3173
|
+
registrationEndDate: Date;
|
|
3174
|
+
sport: SportsEnum;
|
|
3175
|
+
minAge: string;
|
|
3176
|
+
maxAge: string;
|
|
3177
|
+
maxParticipants?: number;
|
|
3178
|
+
gender: GenderEnum;
|
|
3179
|
+
activityTimes: ActivityTimes[];
|
|
3180
|
+
earlyRegistrationStartDate?: Date;
|
|
3181
|
+
earlyRegistrationEndDate?: Date;
|
|
3182
|
+
lateRegistrationStartDate?: Date;
|
|
3183
|
+
lateRegistrationEndDate?: Date;
|
|
3184
|
+
attendeeCount?: number;
|
|
3185
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3206
3186
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3187
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3188
|
+
hasRequiredMembership: boolean;
|
|
3189
|
+
hasEntitledPricing: boolean;
|
|
3190
|
+
lowestPrice?: number;
|
|
3191
|
+
products?: ISessionLandingPageProduct[];
|
|
3210
3192
|
}
|
|
3211
|
-
export
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3193
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3194
|
+
hasRequiredMembership: boolean;
|
|
3195
|
+
hasEntitledPricing: boolean;
|
|
3196
|
+
products?: ISessionLandingPageProduct[];
|
|
3197
|
+
segments?: Event[] | ProgramSeason[];
|
|
3198
|
+
programName: string;
|
|
3199
|
+
programId: number;
|
|
3200
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3201
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3217
3202
|
}
|
|
3218
|
-
export
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3203
|
+
export interface ISlimAddons {
|
|
3204
|
+
addons?: {
|
|
3205
|
+
id: number;
|
|
3206
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3207
|
+
name: string;
|
|
3208
|
+
productType?: ProductTypesEnum;
|
|
3209
|
+
productSubType?: string;
|
|
3210
|
+
}[];
|
|
3222
3211
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3212
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3213
|
+
id: number;
|
|
3214
|
+
name: string;
|
|
3215
|
+
startDate?: Date;
|
|
3216
|
+
endDate?: Date;
|
|
3217
|
+
downpayment?: number;
|
|
3218
|
+
description?: string;
|
|
3219
|
+
prices: Price[];
|
|
3220
|
+
productSubType?: ProductSubTypesEnum;
|
|
3221
|
+
punchCard: boolean;
|
|
3222
|
+
isAddon: boolean;
|
|
3223
|
+
defaultPriceId?: number;
|
|
3227
3224
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3225
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3226
|
+
destinationId?: string;
|
|
3227
|
+
stripeCustomerId?: string;
|
|
3228
|
+
fee?: number;
|
|
3231
3229
|
}
|
|
3232
|
-
export
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3230
|
+
export interface IReservationCreatorData {
|
|
3231
|
+
type: ResourceNameTypeEnum;
|
|
3232
|
+
id: number;
|
|
3233
|
+
organizationId: number;
|
|
3234
|
+
startDate: string;
|
|
3235
|
+
endDate: string;
|
|
3236
|
+
sportId: number;
|
|
3237
3237
|
}
|
|
3238
3238
|
export declare class ColumnNumericTransformer {
|
|
3239
3239
|
to(data: number): number;
|
|
@@ -3423,6 +3423,11 @@ export declare class CreateMonitorConfigDto {
|
|
|
3423
3423
|
code: string;
|
|
3424
3424
|
config: any;
|
|
3425
3425
|
}
|
|
3426
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3427
|
+
facilityId: number;
|
|
3428
|
+
code: string;
|
|
3429
|
+
config?: any;
|
|
3430
|
+
}
|
|
3426
3431
|
export declare class ByOrganizationIdDto {
|
|
3427
3432
|
organizationId: number;
|
|
3428
3433
|
}
|
|
@@ -3478,11 +3483,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3478
3483
|
brandings: OrganizationBranding[];
|
|
3479
3484
|
brandingsV2?: OrganizationBranding[];
|
|
3480
3485
|
}
|
|
3481
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3482
|
-
facilityId: number;
|
|
3483
|
-
code: string;
|
|
3484
|
-
config?: any;
|
|
3485
|
-
}
|
|
3486
3486
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3487
3487
|
key?: string;
|
|
3488
3488
|
vaule?: string;
|
|
@@ -3645,16 +3645,6 @@ export declare class VoidLineItemDto {
|
|
|
3645
3645
|
isEdit?: boolean;
|
|
3646
3646
|
amount?: number;
|
|
3647
3647
|
}
|
|
3648
|
-
export interface RefundResult extends PaymentsResults {
|
|
3649
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3650
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3651
|
-
order?: Order;
|
|
3652
|
-
}
|
|
3653
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3654
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3655
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3656
|
-
totalAmountProcessed: number;
|
|
3657
|
-
}
|
|
3658
3648
|
export interface PaymentResult {
|
|
3659
3649
|
paymentMethodId: string;
|
|
3660
3650
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3684,6 +3674,16 @@ export declare class FindInvoices extends ByPaymentFilter {
|
|
|
3684
3674
|
id?: number;
|
|
3685
3675
|
months?: string;
|
|
3686
3676
|
}
|
|
3677
|
+
export interface RefundResult extends PaymentsResults {
|
|
3678
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3679
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3680
|
+
order?: Order;
|
|
3681
|
+
}
|
|
3682
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3683
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3684
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3685
|
+
totalAmountProcessed: number;
|
|
3686
|
+
}
|
|
3687
3687
|
export declare class LineItemDto {
|
|
3688
3688
|
id?: number;
|
|
3689
3689
|
orderId?: number;
|
|
@@ -3933,43 +3933,6 @@ export declare class SeriesDto {
|
|
|
3933
3933
|
maintenance?: MaintenanceDto[];
|
|
3934
3934
|
slots?: SlotDto[];
|
|
3935
3935
|
}
|
|
3936
|
-
declare class AnswerDto {
|
|
3937
|
-
questionId: number;
|
|
3938
|
-
value: any;
|
|
3939
|
-
}
|
|
3940
|
-
export declare class BookedSessionDto {
|
|
3941
|
-
startDate: string;
|
|
3942
|
-
endDate: string;
|
|
3943
|
-
timezone: string;
|
|
3944
|
-
spaceId: number;
|
|
3945
|
-
}
|
|
3946
|
-
declare class AddonDto {
|
|
3947
|
-
resourcePackageId: number;
|
|
3948
|
-
resourcePackageAmount: number;
|
|
3949
|
-
resourcePackagePrice: number;
|
|
3950
|
-
}
|
|
3951
|
-
export declare class ReservationV1Dto {
|
|
3952
|
-
organizationId: number;
|
|
3953
|
-
name: string;
|
|
3954
|
-
dayOfWeek: number;
|
|
3955
|
-
startTime: string;
|
|
3956
|
-
description: string;
|
|
3957
|
-
sport: number;
|
|
3958
|
-
price: number;
|
|
3959
|
-
resourcePackageId: number;
|
|
3960
|
-
resourcePackageAmount: number;
|
|
3961
|
-
bookedSessions: BookedSessionDto[];
|
|
3962
|
-
addons: AddonDto[];
|
|
3963
|
-
}
|
|
3964
|
-
export declare class BookingV1Dto {
|
|
3965
|
-
organizationId: number;
|
|
3966
|
-
reservations: ReservationV1Dto[];
|
|
3967
|
-
answers: AnswerDto[];
|
|
3968
|
-
paymentData: PurchasePaymentDto;
|
|
3969
|
-
skipPayment: boolean;
|
|
3970
|
-
cashPayment: boolean;
|
|
3971
|
-
requestOnly: boolean;
|
|
3972
|
-
}
|
|
3973
3936
|
export declare class SlotDateTimeAndSpace {
|
|
3974
3937
|
startDate: string;
|
|
3975
3938
|
startTime?: string;
|
|
@@ -4033,6 +3996,43 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
4033
3996
|
slotDurationType: SlotDurationTypeEnum;
|
|
4034
3997
|
addonsIds?: number[];
|
|
4035
3998
|
}
|
|
3999
|
+
declare class AnswerDto {
|
|
4000
|
+
questionId: number;
|
|
4001
|
+
value: any;
|
|
4002
|
+
}
|
|
4003
|
+
export declare class BookedSessionDto {
|
|
4004
|
+
startDate: string;
|
|
4005
|
+
endDate: string;
|
|
4006
|
+
timezone: string;
|
|
4007
|
+
spaceId: number;
|
|
4008
|
+
}
|
|
4009
|
+
declare class AddonDto {
|
|
4010
|
+
resourcePackageId: number;
|
|
4011
|
+
resourcePackageAmount: number;
|
|
4012
|
+
resourcePackagePrice: number;
|
|
4013
|
+
}
|
|
4014
|
+
export declare class ReservationV1Dto {
|
|
4015
|
+
organizationId: number;
|
|
4016
|
+
name: string;
|
|
4017
|
+
dayOfWeek: number;
|
|
4018
|
+
startTime: string;
|
|
4019
|
+
description: string;
|
|
4020
|
+
sport: number;
|
|
4021
|
+
price: number;
|
|
4022
|
+
resourcePackageId: number;
|
|
4023
|
+
resourcePackageAmount: number;
|
|
4024
|
+
bookedSessions: BookedSessionDto[];
|
|
4025
|
+
addons: AddonDto[];
|
|
4026
|
+
}
|
|
4027
|
+
export declare class BookingV1Dto {
|
|
4028
|
+
organizationId: number;
|
|
4029
|
+
reservations: ReservationV1Dto[];
|
|
4030
|
+
answers: AnswerDto[];
|
|
4031
|
+
paymentData: PurchasePaymentDto;
|
|
4032
|
+
skipPayment: boolean;
|
|
4033
|
+
cashPayment: boolean;
|
|
4034
|
+
requestOnly: boolean;
|
|
4035
|
+
}
|
|
4036
4036
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4037
4037
|
parentId: number;
|
|
4038
4038
|
parentType: AddonParentTypeEnum;
|
|
@@ -4209,12 +4209,6 @@ export interface ILineItemResource {
|
|
|
4209
4209
|
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4210
4210
|
values: TResource[];
|
|
4211
4211
|
}
|
|
4212
|
-
export declare class ChangeRolePermissionsDto {
|
|
4213
|
-
permissionIds: number[];
|
|
4214
|
-
}
|
|
4215
|
-
export declare class CreateRoleDto {
|
|
4216
|
-
name: string;
|
|
4217
|
-
}
|
|
4218
4212
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
|
|
4219
4213
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4220
4214
|
export interface ReservationV1 {
|
|
@@ -4410,6 +4404,12 @@ export interface EditSlotsData {
|
|
|
4410
4404
|
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4411
4405
|
refundResult?: RefundResult;
|
|
4412
4406
|
}
|
|
4407
|
+
export declare class ChangeRolePermissionsDto {
|
|
4408
|
+
permissionIds: number[];
|
|
4409
|
+
}
|
|
4410
|
+
export declare class CreateRoleDto {
|
|
4411
|
+
name: string;
|
|
4412
|
+
}
|
|
4413
4413
|
export declare class Permission extends BondBaseEntity {
|
|
4414
4414
|
name: string;
|
|
4415
4415
|
deletedAt?: Date;
|