@bondsports/types 0.0.131 → 0.0.133
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 +1017 -1017
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,24 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
|
-
export declare class FindBookingTypeSettingDto {
|
|
24
|
-
organizationId: number;
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
12
|
export declare enum EConfigurationKeys {
|
|
31
13
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
14
|
}
|
|
@@ -292,79 +274,6 @@ export declare class GetGlCodeDto {
|
|
|
292
274
|
createdAt: Date;
|
|
293
275
|
updatedAt: Date;
|
|
294
276
|
}
|
|
295
|
-
export declare class FindByProgramSeasonIdDto {
|
|
296
|
-
seasonId: number;
|
|
297
|
-
}
|
|
298
|
-
export declare class CreateBulkDivisionsDto {
|
|
299
|
-
divisions: CreateDivisionDto[];
|
|
300
|
-
}
|
|
301
|
-
export declare class CreateDivisionDto {
|
|
302
|
-
name: string;
|
|
303
|
-
ordinal?: number;
|
|
304
|
-
programSeasonId: number;
|
|
305
|
-
color: string;
|
|
306
|
-
isDefault: boolean;
|
|
307
|
-
}
|
|
308
|
-
export declare class CreateGroupDto {
|
|
309
|
-
name: string;
|
|
310
|
-
description?: string;
|
|
311
|
-
status?: GroupStatusEnum;
|
|
312
|
-
maxCapacity?: number;
|
|
313
|
-
mainMediaId?: number;
|
|
314
|
-
minAgeYears?: number;
|
|
315
|
-
maxAgeYears?: number;
|
|
316
|
-
gender: GenderEnum;
|
|
317
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
318
|
-
sports: SportsEnum[];
|
|
319
|
-
questionnaires?: number[];
|
|
320
|
-
captainUserId?: number;
|
|
321
|
-
divisionId?: number;
|
|
322
|
-
}
|
|
323
|
-
export declare class ConnectGroupToDivision {
|
|
324
|
-
groupId: number;
|
|
325
|
-
divisionId: number;
|
|
326
|
-
prevDivisionId: number;
|
|
327
|
-
}
|
|
328
|
-
export declare class MoveUserInGroups {
|
|
329
|
-
userId: number;
|
|
330
|
-
groupId?: number;
|
|
331
|
-
prevGroupId?: number;
|
|
332
|
-
}
|
|
333
|
-
export declare class SaveUserAsGroupCaptain {
|
|
334
|
-
groupId: number;
|
|
335
|
-
userId: number;
|
|
336
|
-
}
|
|
337
|
-
export declare class CreateTeamInviteDto {
|
|
338
|
-
emails: string[];
|
|
339
|
-
userCreatorId: number;
|
|
340
|
-
}
|
|
341
|
-
export declare class TeamByIdDto {
|
|
342
|
-
teamId: number;
|
|
343
|
-
}
|
|
344
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
345
|
-
inviteToken: string;
|
|
346
|
-
}
|
|
347
|
-
export declare class JoinTeamDto {
|
|
348
|
-
userId: number;
|
|
349
|
-
inviteToken?: string;
|
|
350
|
-
}
|
|
351
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
352
|
-
userId: number;
|
|
353
|
-
}
|
|
354
|
-
export interface IMoveSeason {
|
|
355
|
-
fromSeasonId: number;
|
|
356
|
-
toSeasonId: number;
|
|
357
|
-
}
|
|
358
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
359
|
-
teamId?: number;
|
|
360
|
-
memberId?: number;
|
|
361
|
-
fromSeasonId: number;
|
|
362
|
-
toSeasonId: number;
|
|
363
|
-
toDivisionId?: number;
|
|
364
|
-
}
|
|
365
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
|
-
fileName: string;
|
|
367
|
-
}
|
|
368
277
|
export declare class CreateMembershipDto {
|
|
369
278
|
organizationId: number;
|
|
370
279
|
name: string;
|
|
@@ -421,6 +330,13 @@ export declare class CancelMembershipDto {
|
|
|
421
330
|
isImmediatelyCancel: boolean;
|
|
422
331
|
cancellationReason?: string;
|
|
423
332
|
}
|
|
333
|
+
export declare class FindBookingTypeSettingDto {
|
|
334
|
+
organizationId: number;
|
|
335
|
+
facilityId: number;
|
|
336
|
+
spaceId: number;
|
|
337
|
+
bookingDate: string;
|
|
338
|
+
bookingTime: string;
|
|
339
|
+
}
|
|
424
340
|
export declare class CreateEntitlementTermsDto {
|
|
425
341
|
organizationId: number;
|
|
426
342
|
entitlementGroupId: number;
|
|
@@ -463,6 +379,17 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
379
|
discountValue?: number;
|
|
464
380
|
discountMethod?: DiscountMethodsEnum;
|
|
465
381
|
}
|
|
382
|
+
export declare class QuestionAnswersDto {
|
|
383
|
+
questionId: number;
|
|
384
|
+
value: any;
|
|
385
|
+
}
|
|
386
|
+
export declare class UserAnswersDto {
|
|
387
|
+
userId: number;
|
|
388
|
+
answers: QuestionAnswersDto[];
|
|
389
|
+
}
|
|
390
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
391
|
+
questionnaireIds: string;
|
|
392
|
+
}
|
|
466
393
|
export declare class FindByProductIdDto {
|
|
467
394
|
productId: number;
|
|
468
395
|
}
|
|
@@ -1093,6 +1020,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1093
1020
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1094
1021
|
organizationId: number;
|
|
1095
1022
|
}
|
|
1023
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1024
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1025
|
+
parentId: number;
|
|
1026
|
+
dayOfWeek: number;
|
|
1027
|
+
open: string;
|
|
1028
|
+
close: string;
|
|
1029
|
+
deletedAt?: Date;
|
|
1030
|
+
program: ProgramSeason;
|
|
1031
|
+
availabilityStartDate: string;
|
|
1032
|
+
availabilityEndDate: string;
|
|
1033
|
+
proudct: Product;
|
|
1034
|
+
event: Event;
|
|
1035
|
+
}
|
|
1096
1036
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1097
1037
|
entityType: ResourceNameTypeEnum;
|
|
1098
1038
|
entityId: number;
|
|
@@ -1106,18 +1046,78 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1106
1046
|
oldValue?: any;
|
|
1107
1047
|
newValue?: any;
|
|
1108
1048
|
}
|
|
1109
|
-
export declare class
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1049
|
+
export declare class FindByProgramSeasonIdDto {
|
|
1050
|
+
seasonId: number;
|
|
1051
|
+
}
|
|
1052
|
+
export declare class CreateBulkDivisionsDto {
|
|
1053
|
+
divisions: CreateDivisionDto[];
|
|
1054
|
+
}
|
|
1055
|
+
export declare class CreateDivisionDto {
|
|
1056
|
+
name: string;
|
|
1057
|
+
ordinal?: number;
|
|
1058
|
+
programSeasonId: number;
|
|
1059
|
+
color: string;
|
|
1060
|
+
isDefault: boolean;
|
|
1061
|
+
}
|
|
1062
|
+
export declare class CreateGroupDto {
|
|
1063
|
+
name: string;
|
|
1064
|
+
description?: string;
|
|
1065
|
+
status?: GroupStatusEnum;
|
|
1066
|
+
maxCapacity?: number;
|
|
1067
|
+
mainMediaId?: number;
|
|
1068
|
+
minAgeYears?: number;
|
|
1069
|
+
maxAgeYears?: number;
|
|
1070
|
+
gender: GenderEnum;
|
|
1071
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1072
|
+
sports: SportsEnum[];
|
|
1073
|
+
questionnaires?: number[];
|
|
1074
|
+
captainUserId?: number;
|
|
1075
|
+
divisionId?: number;
|
|
1076
|
+
}
|
|
1077
|
+
export declare class ConnectGroupToDivision {
|
|
1078
|
+
groupId: number;
|
|
1079
|
+
divisionId: number;
|
|
1080
|
+
prevDivisionId: number;
|
|
1081
|
+
}
|
|
1082
|
+
export declare class MoveUserInGroups {
|
|
1083
|
+
userId: number;
|
|
1084
|
+
groupId?: number;
|
|
1085
|
+
prevGroupId?: number;
|
|
1086
|
+
}
|
|
1087
|
+
export declare class SaveUserAsGroupCaptain {
|
|
1088
|
+
groupId: number;
|
|
1089
|
+
userId: number;
|
|
1090
|
+
}
|
|
1091
|
+
export declare class CreateTeamInviteDto {
|
|
1092
|
+
emails: string[];
|
|
1093
|
+
userCreatorId: number;
|
|
1094
|
+
}
|
|
1095
|
+
export declare class TeamByIdDto {
|
|
1096
|
+
teamId: number;
|
|
1097
|
+
}
|
|
1098
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
1099
|
+
inviteToken: string;
|
|
1100
|
+
}
|
|
1101
|
+
export declare class JoinTeamDto {
|
|
1102
|
+
userId: number;
|
|
1103
|
+
inviteToken?: string;
|
|
1104
|
+
}
|
|
1105
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
1106
|
+
userId: number;
|
|
1107
|
+
}
|
|
1108
|
+
export interface IMoveSeason {
|
|
1109
|
+
fromSeasonId: number;
|
|
1110
|
+
toSeasonId: number;
|
|
1111
|
+
}
|
|
1112
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
1113
|
+
teamId?: number;
|
|
1114
|
+
memberId?: number;
|
|
1115
|
+
fromSeasonId: number;
|
|
1116
|
+
toSeasonId: number;
|
|
1117
|
+
toDivisionId?: number;
|
|
1118
|
+
}
|
|
1119
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
1120
|
+
fileName: string;
|
|
1121
1121
|
}
|
|
1122
1122
|
export declare class Address extends BondBaseEntity {
|
|
1123
1123
|
city?: string;
|
|
@@ -1292,21 +1292,6 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1292
1292
|
groupId: number;
|
|
1293
1293
|
terms: IEntitlementTerms[];
|
|
1294
1294
|
}
|
|
1295
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1296
|
-
status: RequestStatusEnum | null;
|
|
1297
|
-
hasPaid: boolean | null;
|
|
1298
|
-
paymentId: number | null;
|
|
1299
|
-
attendeeId: number;
|
|
1300
|
-
eventId?: number | null;
|
|
1301
|
-
productUserId?: number;
|
|
1302
|
-
answerTitleIds?: number[];
|
|
1303
|
-
entryStatus?: EntryStatusEnum;
|
|
1304
|
-
addonProductUserIds?: number[];
|
|
1305
|
-
deletedAt?: Date;
|
|
1306
|
-
attendee: User;
|
|
1307
|
-
event: Event;
|
|
1308
|
-
purchasedResource: PurchasedResource;
|
|
1309
|
-
}
|
|
1310
1295
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1311
1296
|
constructor();
|
|
1312
1297
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1393,21 +1378,25 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1393
1378
|
facilityId: number;
|
|
1394
1379
|
resourceId: number;
|
|
1395
1380
|
}
|
|
1381
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1382
|
+
status: RequestStatusEnum | null;
|
|
1383
|
+
hasPaid: boolean | null;
|
|
1384
|
+
paymentId: number | null;
|
|
1385
|
+
attendeeId: number;
|
|
1386
|
+
eventId?: number | null;
|
|
1387
|
+
productUserId?: number;
|
|
1388
|
+
answerTitleIds?: number[];
|
|
1389
|
+
entryStatus?: EntryStatusEnum;
|
|
1390
|
+
addonProductUserIds?: number[];
|
|
1391
|
+
deletedAt?: Date;
|
|
1392
|
+
attendee: User;
|
|
1393
|
+
event: Event;
|
|
1394
|
+
purchasedResource: PurchasedResource;
|
|
1395
|
+
}
|
|
1396
1396
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1397
1397
|
name: string | null;
|
|
1398
1398
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1399
1399
|
}
|
|
1400
|
-
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1401
|
-
userId: number;
|
|
1402
|
-
invoiceId: number;
|
|
1403
|
-
paymentMethodId: string;
|
|
1404
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1405
|
-
price: number;
|
|
1406
|
-
status: FutureInstallmentStatusEnum;
|
|
1407
|
-
plannedDate: Date;
|
|
1408
|
-
chargedAt?: Date;
|
|
1409
|
-
originalPlannedDate?: Date;
|
|
1410
|
-
}
|
|
1411
1400
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1412
1401
|
code: string;
|
|
1413
1402
|
}
|
|
@@ -1440,15 +1429,26 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1440
1429
|
discountMethod?: DiscountMethodsEnum;
|
|
1441
1430
|
discountValue?: number;
|
|
1442
1431
|
}
|
|
1443
|
-
export declare class
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1432
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1433
|
+
userId: number;
|
|
1434
|
+
invoiceId: number;
|
|
1435
|
+
paymentMethodId: string;
|
|
1436
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1437
|
+
price: number;
|
|
1438
|
+
status: FutureInstallmentStatusEnum;
|
|
1439
|
+
plannedDate: Date;
|
|
1440
|
+
chargedAt?: Date;
|
|
1441
|
+
originalPlannedDate?: Date;
|
|
1442
|
+
}
|
|
1443
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1444
|
+
groupId: number;
|
|
1445
|
+
divisionId: number;
|
|
1446
|
+
deletedAt?: Date;
|
|
1447
|
+
}
|
|
1448
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1449
|
+
invoiceId: string | null;
|
|
1450
|
+
price: number | null;
|
|
1451
|
+
status: InvoiceStatusEnum | null;
|
|
1452
1452
|
sentForClientDate: Date | null;
|
|
1453
1453
|
payingUserId?: number | null;
|
|
1454
1454
|
invoiceToPayments: InvoiceToPayment[];
|
|
@@ -1721,17 +1721,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1721
1721
|
resourceId: number | null;
|
|
1722
1722
|
resourceType: string | null;
|
|
1723
1723
|
}
|
|
1724
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1725
|
-
id: number;
|
|
1726
|
-
dayOfWeek: number;
|
|
1727
|
-
open: string;
|
|
1728
|
-
close: string;
|
|
1729
|
-
facilityId: number;
|
|
1730
|
-
createdAt: Date;
|
|
1731
|
-
updatedAt: Date;
|
|
1732
|
-
deletedAt?: Date;
|
|
1733
|
-
facility: Facility;
|
|
1734
|
-
}
|
|
1735
1724
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1736
1725
|
organizationId: number;
|
|
1737
1726
|
}
|
|
@@ -1758,6 +1747,17 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1758
1747
|
validUntil: Date | null;
|
|
1759
1748
|
active: boolean | null;
|
|
1760
1749
|
}
|
|
1750
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1751
|
+
id: number;
|
|
1752
|
+
dayOfWeek: number;
|
|
1753
|
+
open: string;
|
|
1754
|
+
close: string;
|
|
1755
|
+
facilityId: number;
|
|
1756
|
+
createdAt: Date;
|
|
1757
|
+
updatedAt: Date;
|
|
1758
|
+
deletedAt?: Date;
|
|
1759
|
+
facility: Facility;
|
|
1760
|
+
}
|
|
1761
1761
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1762
1762
|
price: number;
|
|
1763
1763
|
paymentProcessorId: string;
|
|
@@ -2288,15 +2288,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2288
2288
|
gender: number | null;
|
|
2289
2289
|
questionnaireId: number | null;
|
|
2290
2290
|
}
|
|
2291
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2292
|
-
email: string;
|
|
2293
|
-
teamId: number;
|
|
2294
|
-
invitedUserId?: number;
|
|
2295
|
-
userCreatorId: number;
|
|
2296
|
-
token: string;
|
|
2297
|
-
tokenExpirationDate: Date;
|
|
2298
|
-
isUsed: boolean;
|
|
2299
|
-
}
|
|
2300
2291
|
export declare class TeamMember extends BondBaseEntity {
|
|
2301
2292
|
teamId: number | null;
|
|
2302
2293
|
userId: number | null;
|
|
@@ -2345,6 +2336,15 @@ export declare class User extends BondBaseEntity {
|
|
|
2345
2336
|
invoiceNotes: InvoiceNote[];
|
|
2346
2337
|
paymentNotes: PaymentNote[];
|
|
2347
2338
|
}
|
|
2339
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2340
|
+
email: string;
|
|
2341
|
+
teamId: number;
|
|
2342
|
+
invitedUserId?: number;
|
|
2343
|
+
userCreatorId: number;
|
|
2344
|
+
token: string;
|
|
2345
|
+
tokenExpirationDate: Date;
|
|
2346
|
+
isUsed: boolean;
|
|
2347
|
+
}
|
|
2348
2348
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2349
2349
|
entityId: number | null;
|
|
2350
2350
|
userId: number | null;
|
|
@@ -2390,925 +2390,911 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2390
2390
|
membershipCollectionId?: string;
|
|
2391
2391
|
programsCollectionId?: string;
|
|
2392
2392
|
}
|
|
2393
|
-
export
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2393
|
+
export interface IEntitlementTerms {
|
|
2394
|
+
type: EntitlementTermsTypesEnum;
|
|
2395
|
+
id?: number;
|
|
2396
|
+
value?: string;
|
|
2397
|
+
minValue?: string;
|
|
2398
|
+
maxValue?: string;
|
|
2397
2399
|
}
|
|
2398
|
-
export
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
TEAM = "team",
|
|
2402
|
-
LEAGUE = "league",
|
|
2403
|
-
USER = "user",
|
|
2404
|
-
ORGANIZATION = "organization",
|
|
2405
|
-
APP = "app",
|
|
2406
|
-
FEED = "feed",
|
|
2407
|
-
MATCH = "match",
|
|
2408
|
-
ROUND = "round",
|
|
2409
|
-
PORTAL = "portal",
|
|
2410
|
-
SEASON = "season",
|
|
2411
|
-
TOURNAMENT = "tournament",
|
|
2412
|
-
MEMBERSHIP = "membership",
|
|
2413
|
-
DIVISION = "division",
|
|
2414
|
-
GAMESLOT = "gameslot",
|
|
2415
|
-
SPACE = "space",
|
|
2416
|
-
RESERVATION = "reservation",
|
|
2417
|
-
INVOICE = "invoice",
|
|
2418
|
-
CUSTOMER = "customer",
|
|
2419
|
-
PACKAGE = "package",
|
|
2420
|
-
FACILITY = "facility",
|
|
2421
|
-
PROGRAM = "program",
|
|
2422
|
-
PROGRAM_SEASON = "program_season",
|
|
2423
|
-
PRODUCT = "product",
|
|
2424
|
-
GROUP = "group",
|
|
2425
|
-
VARIANT = "variant",
|
|
2426
|
-
SLOT = "slot",
|
|
2427
|
-
ADDON = "addon"
|
|
2400
|
+
export interface IQuestionAnswerObject {
|
|
2401
|
+
questionId: number;
|
|
2402
|
+
value: string;
|
|
2428
2403
|
}
|
|
2429
|
-
export
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2404
|
+
export interface ILowestPriceForItem {
|
|
2405
|
+
itemId: number;
|
|
2406
|
+
itemType: ResourceNameTypeEnum;
|
|
2407
|
+
groupId: number;
|
|
2408
|
+
groupName?: string;
|
|
2409
|
+
price: number;
|
|
2410
|
+
overridesPrice: boolean;
|
|
2434
2411
|
}
|
|
2435
|
-
export
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2412
|
+
export interface IResourcesAvailability {
|
|
2413
|
+
resourceType: ResourceNameTypeEnum;
|
|
2414
|
+
quantity: number;
|
|
2415
|
+
resourcesIds: number[];
|
|
2416
|
+
isPunchCard: boolean;
|
|
2417
|
+
resources?: any[];
|
|
2439
2418
|
}
|
|
2440
|
-
export
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
ADVANCED = 3,
|
|
2444
|
-
SEMIPRO = 4,
|
|
2445
|
-
SPECTATOR = 5
|
|
2419
|
+
export interface IPackageResponse {
|
|
2420
|
+
parentProduct: Product;
|
|
2421
|
+
children: IChildProduct[];
|
|
2446
2422
|
}
|
|
2447
|
-
export
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
CLINIC = 3,
|
|
2452
|
-
CAMP = 4,
|
|
2453
|
-
LESSON = 5,
|
|
2454
|
-
CLUB_TEAM = 6
|
|
2423
|
+
export interface IChildProduct {
|
|
2424
|
+
product: Product;
|
|
2425
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2426
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2455
2427
|
}
|
|
2456
|
-
export
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2428
|
+
export interface ISeasonAttendeeInfo {
|
|
2429
|
+
applicationAnswers: Answer[];
|
|
2430
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2431
|
+
invoices: Invoice[];
|
|
2432
|
+
payments: Payment[];
|
|
2433
|
+
products: Product[];
|
|
2434
|
+
redeemNext: ProductsUsers;
|
|
2460
2435
|
}
|
|
2461
|
-
export
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
LACROSSE = 12,
|
|
2474
|
-
PINGPONG = 13,
|
|
2475
|
-
RUGBY = 14,
|
|
2476
|
-
SKEEBALL = 15,
|
|
2477
|
-
TENNIS = 16,
|
|
2478
|
-
VOLLEYBALL = 17,
|
|
2479
|
-
WIFFLEBALL = 18,
|
|
2480
|
-
BADMINTON = 19,
|
|
2481
|
-
FITNESS = 20,
|
|
2482
|
-
GOLF = 21,
|
|
2483
|
-
PILATES = 22,
|
|
2484
|
-
RUNNING = 23,
|
|
2485
|
-
SKIING = 24,
|
|
2486
|
-
SNOWBOARDING = 25,
|
|
2487
|
-
YOGA = 26,
|
|
2488
|
-
BROOMBALL = 27,
|
|
2489
|
-
CRICKET = 28,
|
|
2490
|
-
CROSSFIT = 29,
|
|
2491
|
-
CYCLING = 30,
|
|
2492
|
-
FIELD_HOCKEY = 31,
|
|
2493
|
-
RACQUETBALL = 32,
|
|
2494
|
-
SPINNING = 33,
|
|
2495
|
-
SQUASH = 34,
|
|
2496
|
-
SURFING = 35,
|
|
2497
|
-
SWIMMING = 36,
|
|
2498
|
-
WIND_SURFING = 37,
|
|
2499
|
-
ADVENTURE = 38,
|
|
2500
|
-
BOXING = 39,
|
|
2501
|
-
BASEBALL = 40,
|
|
2502
|
-
DANCE = 41,
|
|
2503
|
-
KICKBOXING = 42,
|
|
2504
|
-
MARTIAL_ARTS = 43,
|
|
2505
|
-
OUTDOORS = 44,
|
|
2506
|
-
ROWING = 45,
|
|
2507
|
-
SAILING = 46,
|
|
2508
|
-
SUP = 47,
|
|
2509
|
-
TRIATHLON = 48,
|
|
2510
|
-
HANDBALL = 49,
|
|
2511
|
-
CATCHBALL = 50,
|
|
2512
|
-
BLITZBALL = 51,
|
|
2513
|
-
ROLLER_DERBY = 52,
|
|
2514
|
-
ICE_SKATING = 53,
|
|
2515
|
-
PICKLEBALL = 54,
|
|
2516
|
-
AXE_THROWING = 55,
|
|
2517
|
-
FURSAL = 56,
|
|
2518
|
-
BIRTHDAY = 57,
|
|
2519
|
-
CORPRATE_EVENTS = 58,
|
|
2520
|
-
OTHER = 999
|
|
2436
|
+
export interface ISeasonAttendeeListInfo {
|
|
2437
|
+
userId: number;
|
|
2438
|
+
userFirstName: string;
|
|
2439
|
+
userLastName: string;
|
|
2440
|
+
userGender: number;
|
|
2441
|
+
userBirthDate: Date;
|
|
2442
|
+
userProfilePicUrl: string;
|
|
2443
|
+
customerId: number;
|
|
2444
|
+
customerEmail: string;
|
|
2445
|
+
paymentStatus: string;
|
|
2446
|
+
productName: string;
|
|
2447
|
+
punchCard: boolean;
|
|
2521
2448
|
}
|
|
2522
|
-
export declare
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
CLOSED = 3,
|
|
2526
|
-
CANCELLED = 4,
|
|
2527
|
-
ARCHIVE = 5,
|
|
2528
|
-
UNPUBLISHED = 6
|
|
2449
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2450
|
+
segmentType: ResourceNameTypeEnum;
|
|
2451
|
+
participantRegisteredDate?: string;
|
|
2529
2452
|
}
|
|
2530
|
-
export declare
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
MAXAGE = 3,
|
|
2534
|
-
GENDER = 4,
|
|
2535
|
-
LEVELOFPLAY = 5,
|
|
2536
|
-
GAMESSEASON = 6,
|
|
2537
|
-
MINWEEK = 7,
|
|
2538
|
-
SURFACE = 8,
|
|
2539
|
-
FORMAT = 9,
|
|
2540
|
-
PLAYERS_PER_TEAM = 10,
|
|
2541
|
-
MATCH_LENGTH = 12
|
|
2453
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2454
|
+
segmentType: ResourceNameTypeEnum;
|
|
2455
|
+
participantRegisteredDate?: string;
|
|
2542
2456
|
}
|
|
2543
|
-
export
|
|
2544
|
-
|
|
2545
|
-
ACCEPTED = 2,
|
|
2546
|
-
DECLINED = 3
|
|
2457
|
+
export interface ITokenResonse {
|
|
2458
|
+
token: string;
|
|
2547
2459
|
}
|
|
2548
|
-
export
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
VOID = "void"
|
|
2460
|
+
export interface IStripeBondInvoices {
|
|
2461
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2462
|
+
bondPaidPayment: Payment;
|
|
2463
|
+
invoice?: Invoice;
|
|
2464
|
+
customer?: Customer;
|
|
2554
2465
|
}
|
|
2555
|
-
export
|
|
2556
|
-
|
|
2466
|
+
export interface IPartialPaymentData {
|
|
2467
|
+
purchasingUserId: number;
|
|
2468
|
+
paymentData: PurchasePaymentDto;
|
|
2469
|
+
amountToPay: number;
|
|
2557
2470
|
}
|
|
2558
|
-
export
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
CANCELED = "Canceled"
|
|
2471
|
+
export interface IPayment {
|
|
2472
|
+
id: number;
|
|
2473
|
+
total: number;
|
|
2474
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2475
|
+
status: PaymentStatusEnum;
|
|
2476
|
+
createdAt: Date;
|
|
2477
|
+
invoices: number[];
|
|
2566
2478
|
}
|
|
2567
|
-
export
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
PENDING = 8
|
|
2479
|
+
export interface IPaginationData<T> {
|
|
2480
|
+
meta: {
|
|
2481
|
+
totalItems: number;
|
|
2482
|
+
itemsPerPage: number;
|
|
2483
|
+
totalPages: number;
|
|
2484
|
+
currentPage: number;
|
|
2485
|
+
};
|
|
2486
|
+
data: T[];
|
|
2576
2487
|
}
|
|
2577
|
-
export
|
|
2578
|
-
|
|
2579
|
-
|
|
2488
|
+
export interface IPricesOfProductsResults {
|
|
2489
|
+
productId: number;
|
|
2490
|
+
userId: number;
|
|
2491
|
+
price: number;
|
|
2492
|
+
groupId?: number;
|
|
2493
|
+
groupName?: string;
|
|
2494
|
+
originalPrice?: number;
|
|
2495
|
+
priceWithoutTax: number;
|
|
2496
|
+
tax: number;
|
|
2497
|
+
isTaxInclusive: boolean;
|
|
2580
2498
|
}
|
|
2581
|
-
export
|
|
2582
|
-
|
|
2583
|
-
|
|
2499
|
+
export interface IPaymentMethodToFundLeft {
|
|
2500
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2501
|
+
paymentMethodId: string;
|
|
2502
|
+
fundLeft: number;
|
|
2503
|
+
ccLast4?: string;
|
|
2504
|
+
ccBrand?: string;
|
|
2584
2505
|
}
|
|
2585
|
-
export
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
EVENT = "event"
|
|
2506
|
+
export interface IVariantsAndTitle {
|
|
2507
|
+
title: VariantTitle;
|
|
2508
|
+
variants: Variant[];
|
|
2589
2509
|
}
|
|
2590
|
-
export
|
|
2591
|
-
|
|
2510
|
+
export interface IProgramSeasonActivityTimes {
|
|
2511
|
+
dayOfWeek: number;
|
|
2512
|
+
open: string;
|
|
2513
|
+
close: string;
|
|
2592
2514
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2515
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2516
|
+
date: string;
|
|
2517
|
+
startTime: string;
|
|
2518
|
+
endTime: string;
|
|
2597
2519
|
}
|
|
2598
|
-
export
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
GOODS = "goods",
|
|
2603
|
-
PACKAGE = "package",
|
|
2604
|
-
REFUND_COMPENSATION = "refund",
|
|
2605
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2606
|
-
PETTY_CASH = "petty_cash",
|
|
2607
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2608
|
-
TAX = "tax"
|
|
2520
|
+
export interface IBlockedDates {
|
|
2521
|
+
name: string;
|
|
2522
|
+
startDate: Date;
|
|
2523
|
+
endDate: Date;
|
|
2609
2524
|
}
|
|
2610
|
-
export
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2525
|
+
export interface ISingleMemberForRenewal {
|
|
2526
|
+
member_id: number;
|
|
2527
|
+
member_membershipId: number;
|
|
2528
|
+
member_userId: number;
|
|
2529
|
+
member_nextPaymentMethodId?: string;
|
|
2530
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2531
|
+
member_answerTitleIds?: number[];
|
|
2532
|
+
member_organizationId: number;
|
|
2533
|
+
product_productPrice: number;
|
|
2534
|
+
product_productId: number;
|
|
2535
|
+
invoice_payingUserId: number;
|
|
2536
|
+
invoice_paymentMethodId: string;
|
|
2537
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2538
|
+
endDate: Date;
|
|
2539
|
+
membership_name: string;
|
|
2540
|
+
user_firstName: string;
|
|
2541
|
+
user_lastName: string;
|
|
2542
|
+
user_email: string;
|
|
2615
2543
|
}
|
|
2616
|
-
export
|
|
2617
|
-
|
|
2618
|
-
|
|
2544
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2545
|
+
package_parentProductId: number;
|
|
2546
|
+
product2_productPrice: number;
|
|
2547
|
+
familyid: number;
|
|
2548
|
+
invoice_id: number;
|
|
2619
2549
|
}
|
|
2620
|
-
export
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2550
|
+
export interface IResourceRegistrationData {
|
|
2551
|
+
id: number;
|
|
2552
|
+
resourceType: ResourceNameTypeEnum;
|
|
2553
|
+
openNumDays?: number;
|
|
2554
|
+
openNumMinutes?: number;
|
|
2555
|
+
openTime?: string;
|
|
2556
|
+
closeNumDays?: number;
|
|
2557
|
+
closeNumMinutes?: number;
|
|
2558
|
+
closeTime?: string;
|
|
2559
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2624
2560
|
}
|
|
2625
|
-
export
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
CHECK = "check",
|
|
2630
|
-
BALANCE = "balance",
|
|
2631
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2632
|
-
OTHER = "other",
|
|
2633
|
-
MIGRATED = "migrated",
|
|
2634
|
-
VOID = "void"
|
|
2561
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2562
|
+
id: number;
|
|
2563
|
+
startDate: string;
|
|
2564
|
+
startTime: string;
|
|
2635
2565
|
}
|
|
2636
|
-
export
|
|
2637
|
-
|
|
2638
|
-
|
|
2566
|
+
export interface IRegistrationConstraintsSetting {
|
|
2567
|
+
numDays?: number;
|
|
2568
|
+
numMinutes?: number;
|
|
2639
2569
|
}
|
|
2640
|
-
export
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2570
|
+
export interface IAttendeeDataToNotify {
|
|
2571
|
+
firstName: string;
|
|
2572
|
+
lastName: string;
|
|
2573
|
+
email: string;
|
|
2574
|
+
sessionName: string;
|
|
2575
|
+
parentSessionName?: string;
|
|
2576
|
+
organizationName: string;
|
|
2577
|
+
programName: string;
|
|
2644
2578
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2579
|
+
export interface IEventInSchedule {
|
|
2580
|
+
eventId: number;
|
|
2581
|
+
eventName: string;
|
|
2582
|
+
eventStartDate: string;
|
|
2583
|
+
eventEndDate: string;
|
|
2584
|
+
eventStartTime: string;
|
|
2585
|
+
eventEndTime: string;
|
|
2586
|
+
programId: number;
|
|
2587
|
+
programName: string;
|
|
2588
|
+
programType: ProgramTypesEnum;
|
|
2589
|
+
sessionId: number;
|
|
2590
|
+
sessionName: string;
|
|
2591
|
+
sports: number;
|
|
2592
|
+
spaces: {
|
|
2593
|
+
spaceId: number;
|
|
2594
|
+
spaceName: string;
|
|
2595
|
+
}[];
|
|
2596
|
+
status?: RegistrationValidationStatusEnum;
|
|
2648
2597
|
}
|
|
2649
|
-
export
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2598
|
+
export interface ISlotInSchedule {
|
|
2599
|
+
facilityId: number;
|
|
2600
|
+
facilityName: string;
|
|
2601
|
+
spaces: ISpaceWithSlots[];
|
|
2653
2602
|
}
|
|
2654
|
-
export
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2603
|
+
export interface ISpaceWithSlots {
|
|
2604
|
+
id: number;
|
|
2605
|
+
name: string;
|
|
2606
|
+
slots: ISlotReservationData[];
|
|
2658
2607
|
}
|
|
2659
|
-
export
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2608
|
+
export interface ISlotReservationData {
|
|
2609
|
+
reservationId: number;
|
|
2610
|
+
reservationName: string;
|
|
2611
|
+
date: string;
|
|
2612
|
+
startTime: string;
|
|
2613
|
+
endTime: string;
|
|
2614
|
+
notes: string;
|
|
2615
|
+
spaceId: number;
|
|
2616
|
+
isRental: boolean;
|
|
2617
|
+
slotType: SlotTypeEnum;
|
|
2618
|
+
slotId: number;
|
|
2619
|
+
eventId: number;
|
|
2620
|
+
isPrivate: boolean;
|
|
2664
2621
|
}
|
|
2665
|
-
export
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2622
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2623
|
+
parentSessionId: number;
|
|
2624
|
+
parentSessionName: string;
|
|
2625
|
+
eventTimezone: string;
|
|
2626
|
+
maxParticipants: number;
|
|
2627
|
+
maxMaleParticipants: number;
|
|
2628
|
+
maxFemaleParticipants: number;
|
|
2629
|
+
isPunchCard: boolean;
|
|
2669
2630
|
}
|
|
2670
|
-
export
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
}
|
|
2675
|
-
export declare enum TeamCanJoinEnum {
|
|
2676
|
-
ANYONE = "anyone",
|
|
2677
|
-
BY_INVITE = "byInvite",
|
|
2678
|
-
CAPTAIN_APPROVAL = "captainApproval"
|
|
2679
|
-
}
|
|
2680
|
-
export declare enum TeamMemberStatusEnum {
|
|
2681
|
-
PENDING = 1,
|
|
2682
|
-
ACTIVE = 2,
|
|
2683
|
-
DECLINED = 3,
|
|
2684
|
-
SUSPENDED = 4,
|
|
2685
|
-
INACTIVE = 5,
|
|
2686
|
-
INVITED = 6
|
|
2631
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2632
|
+
id: number;
|
|
2633
|
+
name: string;
|
|
2634
|
+
bookingCreatorId: number;
|
|
2687
2635
|
}
|
|
2688
|
-
export
|
|
2689
|
-
|
|
2690
|
-
|
|
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;
|
|
2691
2650
|
}
|
|
2692
|
-
export
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
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;
|
|
2700
2666
|
}
|
|
2701
|
-
export
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
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;
|
|
2706
2681
|
}
|
|
2707
|
-
export
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
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';
|
|
2711
2701
|
}
|
|
2712
|
-
export
|
|
2713
|
-
|
|
2714
|
-
|
|
2702
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2703
|
+
hasRequiredMembership: boolean;
|
|
2704
|
+
hasEntitledPricing: boolean;
|
|
2705
|
+
lowestPrice?: number;
|
|
2706
|
+
products?: ISessionLandingPageProduct[];
|
|
2715
2707
|
}
|
|
2716
|
-
export
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
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[];
|
|
2722
2717
|
}
|
|
2723
|
-
export
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
SHELTER = 8,
|
|
2732
|
-
PORTABLE_RESTROOMS = 9,
|
|
2733
|
-
LIGHTS = 10,
|
|
2734
|
-
LOCKER_ROOM = 11,
|
|
2735
|
-
PAID_PARKING = 12,
|
|
2736
|
-
ACCESSIBLE = 13
|
|
2718
|
+
export interface ISlimAddons {
|
|
2719
|
+
addons?: {
|
|
2720
|
+
id: number;
|
|
2721
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2722
|
+
name: string;
|
|
2723
|
+
productType?: ProductTypesEnum;
|
|
2724
|
+
productSubType?: string;
|
|
2725
|
+
}[];
|
|
2737
2726
|
}
|
|
2738
|
-
export
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
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;
|
|
2749
2739
|
}
|
|
2750
|
-
export
|
|
2751
|
-
|
|
2740
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2741
|
+
destinationId?: string;
|
|
2742
|
+
stripeCustomerId?: string;
|
|
2743
|
+
fee?: number;
|
|
2752
2744
|
}
|
|
2753
|
-
export
|
|
2754
|
-
|
|
2755
|
-
|
|
2745
|
+
export interface IReservationCreatorData {
|
|
2746
|
+
type: ResourceNameTypeEnum;
|
|
2747
|
+
id: number;
|
|
2748
|
+
organizationId: number;
|
|
2749
|
+
startDate: string;
|
|
2750
|
+
endDate: string;
|
|
2751
|
+
sportId: number;
|
|
2756
2752
|
}
|
|
2757
|
-
export declare enum
|
|
2758
|
-
|
|
2759
|
-
|
|
2753
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2754
|
+
QUESTION = "question",
|
|
2755
|
+
CITY = "city",
|
|
2756
|
+
MEMBERSHIP = "membership"
|
|
2760
2757
|
}
|
|
2761
|
-
export declare enum
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
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"
|
|
2771
2788
|
}
|
|
2772
|
-
export declare enum
|
|
2773
|
-
|
|
2774
|
-
|
|
2789
|
+
export declare enum DirectBookingTypesEnum {
|
|
2790
|
+
DIRECT_FOR_ALL = "all",
|
|
2791
|
+
DIRECT_FOR_NONE = "none",
|
|
2792
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2793
|
+
NO_SETTING = "no_setting"
|
|
2775
2794
|
}
|
|
2776
|
-
export declare enum
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2795
|
+
export declare enum GenderEnum {
|
|
2796
|
+
OTHER = 1,
|
|
2797
|
+
MALE = 2,
|
|
2798
|
+
FEMALE = 3
|
|
2780
2799
|
}
|
|
2781
|
-
export declare enum
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2800
|
+
export declare enum LevelOfPlayEnum {
|
|
2801
|
+
BEGINNER = 1,
|
|
2802
|
+
INTERMEDIATE = 2,
|
|
2803
|
+
ADVANCED = 3,
|
|
2804
|
+
SEMIPRO = 4,
|
|
2805
|
+
SPECTATOR = 5
|
|
2788
2806
|
}
|
|
2789
|
-
export declare enum
|
|
2790
|
-
|
|
2791
|
-
|
|
2807
|
+
export declare enum ProgramTypesEnum {
|
|
2808
|
+
LEAGUE = 0,
|
|
2809
|
+
TOURNAMENT = 1,
|
|
2810
|
+
CLASS = 2,
|
|
2811
|
+
CLINIC = 3,
|
|
2812
|
+
CAMP = 4,
|
|
2813
|
+
LESSON = 5,
|
|
2814
|
+
CLUB_TEAM = 6
|
|
2792
2815
|
}
|
|
2793
|
-
export declare enum
|
|
2794
|
-
|
|
2816
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2817
|
+
ROUND_ROBIN = 1,
|
|
2818
|
+
BRACKETS = 2,
|
|
2819
|
+
CAMP_CLINIC_CLASS = 3
|
|
2795
2820
|
}
|
|
2796
|
-
export declare enum
|
|
2797
|
-
|
|
2821
|
+
export declare enum SportsEnum {
|
|
2822
|
+
SOFTBALL = 1,
|
|
2823
|
+
BASKETBALL = 2,
|
|
2824
|
+
FOOTBALL = 3,
|
|
2825
|
+
SOCCER = 4,
|
|
2826
|
+
BOWLING = 5,
|
|
2827
|
+
BOCCEBALL = 6,
|
|
2828
|
+
CORNHOLE = 7,
|
|
2829
|
+
DODGEBALL = 8,
|
|
2830
|
+
FRISBEE = 9,
|
|
2831
|
+
HOCKEY = 10,
|
|
2832
|
+
KICKBALL = 11,
|
|
2833
|
+
LACROSSE = 12,
|
|
2834
|
+
PINGPONG = 13,
|
|
2835
|
+
RUGBY = 14,
|
|
2836
|
+
SKEEBALL = 15,
|
|
2837
|
+
TENNIS = 16,
|
|
2838
|
+
VOLLEYBALL = 17,
|
|
2839
|
+
WIFFLEBALL = 18,
|
|
2840
|
+
BADMINTON = 19,
|
|
2841
|
+
FITNESS = 20,
|
|
2842
|
+
GOLF = 21,
|
|
2843
|
+
PILATES = 22,
|
|
2844
|
+
RUNNING = 23,
|
|
2845
|
+
SKIING = 24,
|
|
2846
|
+
SNOWBOARDING = 25,
|
|
2847
|
+
YOGA = 26,
|
|
2848
|
+
BROOMBALL = 27,
|
|
2849
|
+
CRICKET = 28,
|
|
2850
|
+
CROSSFIT = 29,
|
|
2851
|
+
CYCLING = 30,
|
|
2852
|
+
FIELD_HOCKEY = 31,
|
|
2853
|
+
RACQUETBALL = 32,
|
|
2854
|
+
SPINNING = 33,
|
|
2855
|
+
SQUASH = 34,
|
|
2856
|
+
SURFING = 35,
|
|
2857
|
+
SWIMMING = 36,
|
|
2858
|
+
WIND_SURFING = 37,
|
|
2859
|
+
ADVENTURE = 38,
|
|
2860
|
+
BOXING = 39,
|
|
2861
|
+
BASEBALL = 40,
|
|
2862
|
+
DANCE = 41,
|
|
2863
|
+
KICKBOXING = 42,
|
|
2864
|
+
MARTIAL_ARTS = 43,
|
|
2865
|
+
OUTDOORS = 44,
|
|
2866
|
+
ROWING = 45,
|
|
2867
|
+
SAILING = 46,
|
|
2868
|
+
SUP = 47,
|
|
2869
|
+
TRIATHLON = 48,
|
|
2870
|
+
HANDBALL = 49,
|
|
2871
|
+
CATCHBALL = 50,
|
|
2872
|
+
BLITZBALL = 51,
|
|
2873
|
+
ROLLER_DERBY = 52,
|
|
2874
|
+
ICE_SKATING = 53,
|
|
2875
|
+
PICKLEBALL = 54,
|
|
2876
|
+
AXE_THROWING = 55,
|
|
2877
|
+
FURSAL = 56,
|
|
2878
|
+
BIRTHDAY = 57,
|
|
2879
|
+
CORPRATE_EVENTS = 58,
|
|
2880
|
+
OTHER = 999
|
|
2798
2881
|
}
|
|
2799
|
-
export declare enum
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2882
|
+
export declare enum PublishingStatusEnum {
|
|
2883
|
+
DRAFT = 1,
|
|
2884
|
+
PUBLISHED = 2,
|
|
2885
|
+
CLOSED = 3,
|
|
2886
|
+
CANCELLED = 4,
|
|
2887
|
+
ARCHIVE = 5,
|
|
2888
|
+
UNPUBLISHED = 6
|
|
2803
2889
|
}
|
|
2804
|
-
export declare enum
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2890
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2891
|
+
OTHER = 1,
|
|
2892
|
+
MINAGE = 2,
|
|
2893
|
+
MAXAGE = 3,
|
|
2894
|
+
GENDER = 4,
|
|
2895
|
+
LEVELOFPLAY = 5,
|
|
2896
|
+
GAMESSEASON = 6,
|
|
2897
|
+
MINWEEK = 7,
|
|
2898
|
+
SURFACE = 8,
|
|
2899
|
+
FORMAT = 9,
|
|
2900
|
+
PLAYERS_PER_TEAM = 10,
|
|
2901
|
+
MATCH_LENGTH = 12
|
|
2809
2902
|
}
|
|
2810
|
-
export declare enum
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
MOBILE = "mobile",
|
|
2815
|
-
CRON = "cron"
|
|
2903
|
+
export declare enum RequestStatusEnum {
|
|
2904
|
+
PENDING = 1,
|
|
2905
|
+
ACCEPTED = 2,
|
|
2906
|
+
DECLINED = 3
|
|
2816
2907
|
}
|
|
2817
|
-
export declare enum
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2908
|
+
export declare enum PaymentStatusEnum {
|
|
2909
|
+
NOT_PAID = "not_paid",
|
|
2910
|
+
PARTIAL_PAYMENT = "partial",
|
|
2911
|
+
FULLY_PAID = "paid",
|
|
2912
|
+
REFUNDED = "refunded",
|
|
2913
|
+
VOID = "void"
|
|
2822
2914
|
}
|
|
2823
|
-
export declare enum
|
|
2824
|
-
|
|
2825
|
-
DRAFT = 2,
|
|
2826
|
-
FULL = 3,
|
|
2827
|
-
CANCELLED = 4,
|
|
2828
|
-
CLOSED = 5,
|
|
2829
|
-
DELETED = 6
|
|
2915
|
+
export declare enum ReservationExtendedEnum {
|
|
2916
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2830
2917
|
}
|
|
2831
|
-
export declare
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2918
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2919
|
+
export declare enum ReservationStatusEnum {
|
|
2920
|
+
PLANNED = "Planned",
|
|
2921
|
+
APPROVED = "Approved",
|
|
2922
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2923
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2924
|
+
REJECTED = "Rejected",
|
|
2925
|
+
CANCELED = "Canceled"
|
|
2837
2926
|
}
|
|
2838
|
-
export declare enum
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2927
|
+
export declare enum PaymentStatusV1Enum {
|
|
2928
|
+
SENT_TO_CLIENT = 1,
|
|
2929
|
+
SENT_FOR_PAYMENT = 2,
|
|
2930
|
+
ACCEPTED = 3,
|
|
2931
|
+
REJECTED = 4,
|
|
2932
|
+
CANCELLED = 5,
|
|
2933
|
+
FRAUD = 6,
|
|
2934
|
+
NOT_RELEVANT = 7,
|
|
2935
|
+
PENDING = 8
|
|
2842
2936
|
}
|
|
2843
|
-
export declare enum
|
|
2844
|
-
|
|
2845
|
-
|
|
2937
|
+
export declare enum PaymentMethodsEnum {
|
|
2938
|
+
STRIPE = 1,
|
|
2939
|
+
CASH = 3
|
|
2846
2940
|
}
|
|
2847
|
-
export declare enum
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
DAILY = "daily",
|
|
2851
|
-
MONTHLY = "monthly",
|
|
2852
|
-
YEARLY = "yearly"
|
|
2941
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2942
|
+
CHILD = "child",
|
|
2943
|
+
UPSALE = "upsale"
|
|
2853
2944
|
}
|
|
2854
|
-
export declare enum
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
AT_THE_END = 4
|
|
2945
|
+
export declare enum AddonTimePeriodEnum {
|
|
2946
|
+
FULL = "full",
|
|
2947
|
+
SESSION = "session",
|
|
2948
|
+
EVENT = "event"
|
|
2859
2949
|
}
|
|
2860
|
-
export declare enum
|
|
2861
|
-
|
|
2862
|
-
PROGRAM_SEASON = "program_season",
|
|
2863
|
-
SEASON = "season"
|
|
2950
|
+
export declare enum CurrencyEnum {
|
|
2951
|
+
USD = "USD"
|
|
2864
2952
|
}
|
|
2865
|
-
export declare enum
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2953
|
+
export declare enum NotificationTypeEnum {
|
|
2954
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2955
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2956
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2869
2957
|
}
|
|
2870
|
-
export declare enum
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2958
|
+
export declare enum ProductTypesEnum {
|
|
2959
|
+
RESERVATION = "reservation",
|
|
2960
|
+
REGISTRATION = "registration",
|
|
2961
|
+
MEMBERSHIP = "membership",
|
|
2962
|
+
GOODS = "goods",
|
|
2963
|
+
PACKAGE = "package",
|
|
2964
|
+
REFUND_COMPENSATION = "refund",
|
|
2965
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2966
|
+
PETTY_CASH = "petty_cash",
|
|
2967
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2968
|
+
TAX = "tax"
|
|
2878
2969
|
}
|
|
2879
|
-
export declare enum
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2970
|
+
export declare enum InvoiceStatusEnum {
|
|
2971
|
+
ACTIVE = "active",
|
|
2972
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2973
|
+
WAITING_CLIENT = "waitingClient",
|
|
2974
|
+
CANCELED = "canceled"
|
|
2883
2975
|
}
|
|
2884
|
-
export declare enum
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
RESERVATION = "reservation"
|
|
2976
|
+
export declare enum LineItemsStatusEnum {
|
|
2977
|
+
USER_PRODUCT = "UserProduct",
|
|
2978
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2888
2979
|
}
|
|
2889
|
-
export declare enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2980
|
+
export declare enum ProductSubTypesEnum {
|
|
2981
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2982
|
+
SEASON_TEAM = "season_team",
|
|
2983
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2892
2984
|
}
|
|
2893
|
-
export declare enum
|
|
2894
|
-
|
|
2895
|
-
|
|
2985
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2986
|
+
CREDIT_CARD = "card",
|
|
2987
|
+
ACH = "ach",
|
|
2988
|
+
CASH = "cash",
|
|
2989
|
+
CHECK = "check",
|
|
2990
|
+
BALANCE = "balance",
|
|
2991
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2992
|
+
OTHER = "other",
|
|
2993
|
+
MIGRATED = "migrated",
|
|
2994
|
+
VOID = "void"
|
|
2896
2995
|
}
|
|
2897
|
-
export declare enum
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
NONE = "none",
|
|
2901
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2902
|
-
APPEND = "append"
|
|
2996
|
+
export declare enum RefundTypeEnum {
|
|
2997
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2998
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2903
2999
|
}
|
|
2904
|
-
export declare enum
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
3000
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
3001
|
+
INDIVIDUAL = "individual",
|
|
3002
|
+
FAMILY = "family",
|
|
3003
|
+
ORGANIZATION = "organization"
|
|
2908
3004
|
}
|
|
2909
|
-
export declare enum
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
PRE_PENDING = 3
|
|
3005
|
+
export declare enum MembershipTypeEnum {
|
|
3006
|
+
FIXED = "fix_membership",
|
|
3007
|
+
ROLLING = "rolling_membership"
|
|
2913
3008
|
}
|
|
2914
|
-
export declare enum
|
|
2915
|
-
|
|
2916
|
-
|
|
3009
|
+
export declare enum CustomerTypeEnum {
|
|
3010
|
+
USER = "user",
|
|
3011
|
+
FAMILY = "family",
|
|
3012
|
+
ORGANIZATION = "organization"
|
|
2917
3013
|
}
|
|
2918
|
-
export declare enum
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
CANCELED = "canceled"
|
|
3014
|
+
export declare enum GroupStatusEnum {
|
|
3015
|
+
ACTIVE = 1,
|
|
3016
|
+
INACTIVE = 2,
|
|
3017
|
+
DRAFT = 3
|
|
2923
3018
|
}
|
|
2924
|
-
export declare enum
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
3019
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
3020
|
+
FUTURE = "future",
|
|
3021
|
+
SUCCEEDED = "succeeded",
|
|
3022
|
+
FAILED = "failed",
|
|
3023
|
+
CANCELED = "canceled"
|
|
2929
3024
|
}
|
|
2930
|
-
export declare enum
|
|
2931
|
-
|
|
3025
|
+
export declare enum EntryStatusEnum {
|
|
3026
|
+
ENTERED = 1,
|
|
3027
|
+
NOT_ENTERED = 2,
|
|
3028
|
+
CANCELED = 3
|
|
2932
3029
|
}
|
|
2933
|
-
export
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
minValue?: string;
|
|
2938
|
-
maxValue?: string;
|
|
3030
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3031
|
+
ACTIVE = 1,
|
|
3032
|
+
MOVED = 2,
|
|
3033
|
+
CANCELED = 3
|
|
2939
3034
|
}
|
|
2940
|
-
export
|
|
2941
|
-
|
|
2942
|
-
|
|
3035
|
+
export declare enum TeamCanJoinEnum {
|
|
3036
|
+
ANYONE = "anyone",
|
|
3037
|
+
BY_INVITE = "byInvite",
|
|
3038
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2943
3039
|
}
|
|
2944
|
-
export
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
3040
|
+
export declare enum TeamMemberStatusEnum {
|
|
3041
|
+
PENDING = 1,
|
|
3042
|
+
ACTIVE = 2,
|
|
3043
|
+
DECLINED = 3,
|
|
3044
|
+
SUSPENDED = 4,
|
|
3045
|
+
INACTIVE = 5,
|
|
3046
|
+
INVITED = 6
|
|
2951
3047
|
}
|
|
2952
|
-
export
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
resourcesIds: number[];
|
|
2956
|
-
isPunchCard: boolean;
|
|
2957
|
-
resources?: any[];
|
|
3048
|
+
export declare enum TeamMemberRoleEnum {
|
|
3049
|
+
NULL = 0,
|
|
3050
|
+
ADMIN = 1
|
|
2958
3051
|
}
|
|
2959
|
-
export
|
|
2960
|
-
|
|
2961
|
-
|
|
3052
|
+
export declare enum DayOfWeekEnum {
|
|
3053
|
+
SUNDAY = 0,
|
|
3054
|
+
MONDAY = 1,
|
|
3055
|
+
TUESDAY = 2,
|
|
3056
|
+
WEDNESDAY = 3,
|
|
3057
|
+
THURSDAY = 4,
|
|
3058
|
+
FRIDAY = 5,
|
|
3059
|
+
SATURDAY = 6
|
|
2962
3060
|
}
|
|
2963
|
-
export
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
3061
|
+
export declare enum ActionTypesEnum {
|
|
3062
|
+
CREATE = "create",
|
|
3063
|
+
READ = "read",
|
|
3064
|
+
UPDATE = "update",
|
|
3065
|
+
DELETE = "delete"
|
|
2967
3066
|
}
|
|
2968
|
-
export
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
payments: Payment[];
|
|
2973
|
-
products: Product[];
|
|
2974
|
-
redeemNext: ProductsUsers;
|
|
3067
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3068
|
+
ADMIN = "admin",
|
|
3069
|
+
BACKOFFICE = "backoffice",
|
|
3070
|
+
CONSUMER = "consumer"
|
|
2975
3071
|
}
|
|
2976
|
-
export
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
userLastName: string;
|
|
2980
|
-
userGender: number;
|
|
2981
|
-
userBirthDate: Date;
|
|
2982
|
-
userProfilePicUrl: string;
|
|
2983
|
-
customerId: number;
|
|
2984
|
-
customerEmail: string;
|
|
2985
|
-
paymentStatus: string;
|
|
2986
|
-
productName: string;
|
|
2987
|
-
punchCard: boolean;
|
|
3072
|
+
export declare enum RolesEnum {
|
|
3073
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3074
|
+
BOND_ADMIN = "bondAdmin"
|
|
2988
3075
|
}
|
|
2989
|
-
export declare
|
|
2990
|
-
|
|
2991
|
-
|
|
3076
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3077
|
+
IN_POOL = 5,
|
|
3078
|
+
ASSIGNED = 1,
|
|
3079
|
+
QUIT = 2,
|
|
3080
|
+
SUSPENDED = 3,
|
|
3081
|
+
INACTIVE = 4
|
|
2992
3082
|
}
|
|
2993
|
-
export declare
|
|
2994
|
-
|
|
2995
|
-
|
|
3083
|
+
export declare enum AmenitiesEnum {
|
|
3084
|
+
HEAT = 1,
|
|
3085
|
+
AC = 2,
|
|
3086
|
+
WIFI = 3,
|
|
3087
|
+
RESTROOMS = 4,
|
|
3088
|
+
DRINKING_FOUNTAIN = 5,
|
|
3089
|
+
PARKING = 6,
|
|
3090
|
+
CONCESSIONS = 7,
|
|
3091
|
+
SHELTER = 8,
|
|
3092
|
+
PORTABLE_RESTROOMS = 9,
|
|
3093
|
+
LIGHTS = 10,
|
|
3094
|
+
LOCKER_ROOM = 11,
|
|
3095
|
+
PAID_PARKING = 12,
|
|
3096
|
+
ACCESSIBLE = 13
|
|
2996
3097
|
}
|
|
2997
|
-
export
|
|
2998
|
-
|
|
3098
|
+
export declare enum ResourceSubTypeEnum {
|
|
3099
|
+
COURT = "court",
|
|
3100
|
+
FIELD = "field",
|
|
3101
|
+
ROOM = "room",
|
|
3102
|
+
DIAMOND = "diamond",
|
|
3103
|
+
RINK = "rink",
|
|
3104
|
+
STUDIO = "studio",
|
|
3105
|
+
POOL = "pool",
|
|
3106
|
+
BATTING_CAGE = "batting cage",
|
|
3107
|
+
SHELTER = "shelter",
|
|
3108
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2999
3109
|
}
|
|
3000
|
-
export
|
|
3001
|
-
|
|
3002
|
-
bondPaidPayment: Payment;
|
|
3003
|
-
invoice?: Invoice;
|
|
3004
|
-
customer?: Customer;
|
|
3110
|
+
export declare enum ResourceTypeEnum {
|
|
3111
|
+
SPACE = "space"
|
|
3005
3112
|
}
|
|
3006
|
-
export
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
amountToPay: number;
|
|
3113
|
+
export declare enum ResourceAgesEnum {
|
|
3114
|
+
ADULTS = "adults",
|
|
3115
|
+
CHILDREN = "children"
|
|
3010
3116
|
}
|
|
3011
|
-
export
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
3015
|
-
status: PaymentStatusEnum;
|
|
3016
|
-
createdAt: Date;
|
|
3017
|
-
invoices: number[];
|
|
3117
|
+
export declare enum SpacePropertiesEnum {
|
|
3118
|
+
OUTDOOR = "outdoor",
|
|
3119
|
+
INDOOR = "indoor"
|
|
3018
3120
|
}
|
|
3019
|
-
export
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3121
|
+
export declare enum SurfacesEnum {
|
|
3122
|
+
GRASS = "grass",
|
|
3123
|
+
TURF = "turf",
|
|
3124
|
+
FIELD_TURF = "fieldTurf",
|
|
3125
|
+
ASTRO_TURF = "astroTurf",
|
|
3126
|
+
HARDWOOD = "hardwood",
|
|
3127
|
+
ASPHALT = "asphalt",
|
|
3128
|
+
SAND = "sand",
|
|
3129
|
+
ICE = "ice",
|
|
3130
|
+
SPORT_COURT = "sportCourt"
|
|
3027
3131
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
price: number;
|
|
3032
|
-
groupId?: number;
|
|
3033
|
-
groupName?: string;
|
|
3034
|
-
originalPrice?: number;
|
|
3035
|
-
priceWithoutTax: number;
|
|
3036
|
-
tax: number;
|
|
3037
|
-
isTaxInclusive: boolean;
|
|
3132
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3133
|
+
MINUTES = "minutes",
|
|
3134
|
+
DAYS = "days"
|
|
3038
3135
|
}
|
|
3039
|
-
export
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
ccLast4?: string;
|
|
3044
|
-
ccBrand?: string;
|
|
3136
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3137
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3138
|
+
OPEN = "open",
|
|
3139
|
+
CLOSED = "closed"
|
|
3045
3140
|
}
|
|
3046
|
-
export
|
|
3047
|
-
|
|
3048
|
-
|
|
3141
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3142
|
+
FULL = "full",
|
|
3143
|
+
ALREADY_REGISTERED = "registered",
|
|
3144
|
+
AVAILABLE = "available",
|
|
3145
|
+
NOT_OPEN_YET = "not opened",
|
|
3146
|
+
ALREADY_CLOSED = "closed",
|
|
3147
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3049
3148
|
}
|
|
3050
|
-
export
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
close: string;
|
|
3149
|
+
export declare enum DiscountMethodsEnum {
|
|
3150
|
+
PERCENT = "percent",
|
|
3151
|
+
AMOUNT = "amount"
|
|
3054
3152
|
}
|
|
3055
|
-
export
|
|
3056
|
-
|
|
3057
|
-
startTime: string;
|
|
3058
|
-
endTime: string;
|
|
3153
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3154
|
+
ORGANIZATION = "organization"
|
|
3059
3155
|
}
|
|
3060
|
-
export
|
|
3061
|
-
|
|
3062
|
-
startDate: Date;
|
|
3063
|
-
endDate: Date;
|
|
3156
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3157
|
+
USA = "USA"
|
|
3064
3158
|
}
|
|
3065
|
-
export
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
member_nextPaymentMethodId?: string;
|
|
3070
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3071
|
-
member_answerTitleIds?: number[];
|
|
3072
|
-
member_organizationId: number;
|
|
3073
|
-
product_productPrice: number;
|
|
3074
|
-
product_productId: number;
|
|
3075
|
-
invoice_payingUserId: number;
|
|
3076
|
-
invoice_paymentMethodId: string;
|
|
3077
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3078
|
-
endDate: Date;
|
|
3079
|
-
membership_name: string;
|
|
3080
|
-
user_firstName: string;
|
|
3081
|
-
user_lastName: string;
|
|
3082
|
-
user_email: string;
|
|
3159
|
+
export declare enum DateTimeFormatsEnum {
|
|
3160
|
+
API_DATE = "YYYY/MM/DD",
|
|
3161
|
+
API_TIME = "HH:mm:ss",
|
|
3162
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3083
3163
|
}
|
|
3084
|
-
export
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3164
|
+
export declare enum SlotTypeEnum {
|
|
3165
|
+
EXTERNAL = "external",
|
|
3166
|
+
INTERNAL = "internal",
|
|
3167
|
+
MAINTENANCE = "maintenance",
|
|
3168
|
+
CUSTOM = "custom"
|
|
3089
3169
|
}
|
|
3090
|
-
export
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
closeNumDays?: number;
|
|
3097
|
-
closeNumMinutes?: number;
|
|
3098
|
-
closeTime?: string;
|
|
3099
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3170
|
+
export declare enum PlatformsEnum {
|
|
3171
|
+
CONSUMER = "consumer",
|
|
3172
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3173
|
+
BO = "backoffice",
|
|
3174
|
+
MOBILE = "mobile",
|
|
3175
|
+
CRON = "cron"
|
|
3100
3176
|
}
|
|
3101
|
-
export
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3177
|
+
export declare enum ShiftStatusEnum {
|
|
3178
|
+
OPEN = "open",
|
|
3179
|
+
CLOSED = "closed",
|
|
3180
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3181
|
+
RECONCILED = "reconciled"
|
|
3105
3182
|
}
|
|
3106
|
-
export
|
|
3107
|
-
|
|
3108
|
-
|
|
3183
|
+
export declare enum EventStatusEnum {
|
|
3184
|
+
OPEN = 1,
|
|
3185
|
+
DRAFT = 2,
|
|
3186
|
+
FULL = 3,
|
|
3187
|
+
CANCELLED = 4,
|
|
3188
|
+
CLOSED = 5,
|
|
3189
|
+
DELETED = 6
|
|
3109
3190
|
}
|
|
3110
|
-
export
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
organizationName: string;
|
|
3117
|
-
programName: string;
|
|
3191
|
+
export declare enum ReservationTypeEnum {
|
|
3192
|
+
RENTAL = "rental",
|
|
3193
|
+
PROGRAM = "program",
|
|
3194
|
+
MAINTENANCE = "maintenance",
|
|
3195
|
+
CUSTOM = "custom",
|
|
3196
|
+
INTERNAL = "internal"
|
|
3118
3197
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
eventEndDate: string;
|
|
3124
|
-
eventStartTime: string;
|
|
3125
|
-
eventEndTime: string;
|
|
3126
|
-
programId: number;
|
|
3127
|
-
programName: string;
|
|
3128
|
-
programType: ProgramTypesEnum;
|
|
3129
|
-
sessionId: number;
|
|
3130
|
-
sessionName: string;
|
|
3131
|
-
sports: number;
|
|
3132
|
-
spaces: {
|
|
3133
|
-
spaceId: number;
|
|
3134
|
-
spaceName: string;
|
|
3135
|
-
}[];
|
|
3136
|
-
status?: RegistrationValidationStatusEnum;
|
|
3198
|
+
export declare enum SlotDurationTypeEnum {
|
|
3199
|
+
DATES = "dates",
|
|
3200
|
+
ALL_DAY = "all day",
|
|
3201
|
+
DURATION = "duration"
|
|
3137
3202
|
}
|
|
3138
|
-
export
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
spaces: ISpaceWithSlots[];
|
|
3203
|
+
export declare enum DurationUnitTypesEnum {
|
|
3204
|
+
MINUTES = "minutes",
|
|
3205
|
+
HOURS = "hours"
|
|
3142
3206
|
}
|
|
3143
|
-
export
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3207
|
+
export declare enum FrequencyEnum {
|
|
3208
|
+
NONE = "none",
|
|
3209
|
+
WEEKLY = "weekly",
|
|
3210
|
+
DAILY = "daily",
|
|
3211
|
+
MONTHLY = "monthly",
|
|
3212
|
+
YEARLY = "yearly"
|
|
3147
3213
|
}
|
|
3148
|
-
export
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
endTime: string;
|
|
3154
|
-
notes: string;
|
|
3155
|
-
spaceId: number;
|
|
3156
|
-
isRental: boolean;
|
|
3157
|
-
slotType: SlotTypeEnum;
|
|
3158
|
-
slotId: number;
|
|
3159
|
-
eventId: number;
|
|
3160
|
-
isPrivate: boolean;
|
|
3214
|
+
export declare enum MaintenanceTimingEnum {
|
|
3215
|
+
BEFORE = 1,
|
|
3216
|
+
AFTER = 2,
|
|
3217
|
+
AT_THE_BEGINING = 3,
|
|
3218
|
+
AT_THE_END = 4
|
|
3161
3219
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
maxParticipants: number;
|
|
3167
|
-
maxMaleParticipants: number;
|
|
3168
|
-
maxFemaleParticipants: number;
|
|
3169
|
-
isPunchCard: boolean;
|
|
3220
|
+
export declare enum CreatorTypeEnum {
|
|
3221
|
+
SPACE = "space",
|
|
3222
|
+
PROGRAM_SEASON = "program_season",
|
|
3223
|
+
SEASON = "season"
|
|
3170
3224
|
}
|
|
3171
|
-
export
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3225
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3226
|
+
INDIVIDUAL = "indvidual",
|
|
3227
|
+
CATEGORY = "category",
|
|
3228
|
+
GLOBAL = "global"
|
|
3175
3229
|
}
|
|
3176
|
-
export
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
spaceId: number;
|
|
3185
|
-
creatorType: ResourceNameTypeEnum;
|
|
3186
|
-
slotType: SlotTypeEnum;
|
|
3187
|
-
slotId: number;
|
|
3188
|
-
eventId: number;
|
|
3189
|
-
isPrivate: boolean;
|
|
3230
|
+
export declare enum BondDayOfWeekEnum {
|
|
3231
|
+
MONDAY = 2,
|
|
3232
|
+
TUESDAY = 3,
|
|
3233
|
+
WEDNESDAY = 4,
|
|
3234
|
+
THURSDAY = 5,
|
|
3235
|
+
FRIDAY = 6,
|
|
3236
|
+
SATURDAY = 7,
|
|
3237
|
+
SUNDAY = 8
|
|
3190
3238
|
}
|
|
3191
|
-
export
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3196
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3197
|
-
pUserId: number;
|
|
3198
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3199
|
-
pUserProductId: number;
|
|
3200
|
-
pUserProductName: string;
|
|
3201
|
-
pUserProductPrice: number;
|
|
3202
|
-
pUserProductPriceCurrency: string;
|
|
3203
|
-
pUserProductQuantity: number;
|
|
3204
|
-
pUserProductQuantityLeft: number;
|
|
3205
|
-
pUserUserId: number;
|
|
3239
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3240
|
+
NEW = "new",
|
|
3241
|
+
NO = "no",
|
|
3242
|
+
YES = "yes"
|
|
3206
3243
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
organizationId: number;
|
|
3212
|
-
programId: number;
|
|
3213
|
-
programName: string;
|
|
3214
|
-
sessionId: number;
|
|
3215
|
-
sessionName: string;
|
|
3216
|
-
productId: number;
|
|
3217
|
-
productName: string;
|
|
3218
|
-
productUserId: number;
|
|
3219
|
-
purchaseDate: Date;
|
|
3220
|
-
passesLeft: number;
|
|
3244
|
+
export declare enum ProductPackageLevelEnum {
|
|
3245
|
+
HOUR = "hour",
|
|
3246
|
+
SLOT = "slot",
|
|
3247
|
+
RESERVATION = "reservation"
|
|
3221
3248
|
}
|
|
3222
|
-
export
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
startDate: Date;
|
|
3226
|
-
endDate: Date;
|
|
3227
|
-
registrationStartDate: Date;
|
|
3228
|
-
registrationEndDate: Date;
|
|
3229
|
-
sport: SportsEnum;
|
|
3230
|
-
minAge: string;
|
|
3231
|
-
maxAge: string;
|
|
3232
|
-
maxParticipants?: number;
|
|
3233
|
-
gender: GenderEnum;
|
|
3234
|
-
activityTimes: ActivityTimes[];
|
|
3235
|
-
earlyRegistrationStartDate?: Date;
|
|
3236
|
-
earlyRegistrationEndDate?: Date;
|
|
3237
|
-
lateRegistrationStartDate?: Date;
|
|
3238
|
-
lateRegistrationEndDate?: Date;
|
|
3239
|
-
attendeeCount?: number;
|
|
3240
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3249
|
+
export declare enum CancellationStatusEnum {
|
|
3250
|
+
IMMEDIATE = "immediate",
|
|
3251
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3241
3252
|
}
|
|
3242
|
-
export
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
lowestPrice?: number;
|
|
3246
|
-
products?: ISessionLandingPageProduct[];
|
|
3253
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3254
|
+
DRAFT = 0,
|
|
3255
|
+
PUBLISHED = 1
|
|
3247
3256
|
}
|
|
3248
|
-
export
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
programId: number;
|
|
3255
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3256
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3257
|
+
export declare enum FinancialStepEnum {
|
|
3258
|
+
VOID = "void",
|
|
3259
|
+
REFUND = "refund",
|
|
3260
|
+
NONE = "none",
|
|
3261
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3262
|
+
APPEND = "append"
|
|
3257
3263
|
}
|
|
3258
|
-
export
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
name: string;
|
|
3263
|
-
productType?: ProductTypesEnum;
|
|
3264
|
-
productSubType?: string;
|
|
3265
|
-
}[];
|
|
3264
|
+
export declare enum StripeAccountTypesEnum {
|
|
3265
|
+
STRIPE = "stripe",
|
|
3266
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3267
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3266
3268
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
endDate?: Date;
|
|
3272
|
-
downpayment?: number;
|
|
3273
|
-
description?: string;
|
|
3274
|
-
prices: Price[];
|
|
3275
|
-
productSubType?: ProductSubTypesEnum;
|
|
3276
|
-
punchCard: boolean;
|
|
3277
|
-
isAddon: boolean;
|
|
3278
|
-
defaultPriceId?: number;
|
|
3269
|
+
export declare enum LinkedAccountStatus {
|
|
3270
|
+
PENDING = 1,
|
|
3271
|
+
ACTIVE = 2,
|
|
3272
|
+
PRE_PENDING = 3
|
|
3279
3273
|
}
|
|
3280
|
-
export
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
fee?: number;
|
|
3274
|
+
export declare enum AddonParentTypeEnum {
|
|
3275
|
+
RESERVATION = "reservation",
|
|
3276
|
+
SLOT = "slot"
|
|
3284
3277
|
}
|
|
3285
|
-
export
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3278
|
+
export declare enum EEmailStatus {
|
|
3279
|
+
SENT = "sent",
|
|
3280
|
+
OPENED = "opened",
|
|
3281
|
+
PAID = "paid",
|
|
3282
|
+
CANCELED = "canceled"
|
|
3283
|
+
}
|
|
3284
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3285
|
+
ENABLED = 1,
|
|
3286
|
+
DISABLED_REDIRECT = 2,
|
|
3287
|
+
DISABLED_INFO_ONLY = 3,
|
|
3288
|
+
DISABLED_EMAIL = 4
|
|
3289
|
+
}
|
|
3290
|
+
export declare enum NotifyMethodEnum {
|
|
3291
|
+
EMAIL = "Email"
|
|
3292
3292
|
}
|
|
3293
3293
|
export declare class ColumnNumericTransformer {
|
|
3294
3294
|
to(data: number): number;
|
|
3295
3295
|
from(data: string): number;
|
|
3296
3296
|
}
|
|
3297
3297
|
export declare function convertToNumber(data: string): number;
|
|
3298
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3299
|
-
name?: string;
|
|
3300
|
-
genderStr?: string;
|
|
3301
|
-
parentID?: string;
|
|
3302
|
-
partnerID?: string;
|
|
3303
|
-
membershipName?: string;
|
|
3304
|
-
membershipExpDate?: string;
|
|
3305
|
-
membershipCreationDate?: string;
|
|
3306
|
-
bondMembershipID?: number;
|
|
3307
|
-
}
|
|
3308
|
-
export declare class AddFamilyDto {
|
|
3309
|
-
parents: AddImportedCustomerDto[];
|
|
3310
|
-
children: AddImportedCustomerDto[];
|
|
3311
|
-
}
|
|
3312
3298
|
export declare enum ImportPaymentTypeEnum {
|
|
3313
3299
|
CREDIT_CARD = "card",
|
|
3314
3300
|
ACH = "ach",
|
|
@@ -3436,41 +3422,20 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3436
3422
|
createdAt: Date;
|
|
3437
3423
|
updatedAt: Date;
|
|
3438
3424
|
}
|
|
3439
|
-
export declare class
|
|
3440
|
-
seasonId: number;
|
|
3441
|
-
ordinal?: number;
|
|
3442
|
-
divisionId?: number;
|
|
3425
|
+
export declare class Lock extends BondBaseEntity {
|
|
3443
3426
|
name: string;
|
|
3427
|
+
locked?: Date;
|
|
3444
3428
|
}
|
|
3445
3429
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3446
3430
|
teamId: number | null;
|
|
3447
3431
|
eventId: number | null;
|
|
3448
3432
|
status: number | null;
|
|
3449
3433
|
}
|
|
3450
|
-
export declare class
|
|
3434
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3435
|
+
seasonId: number;
|
|
3436
|
+
ordinal?: number;
|
|
3437
|
+
divisionId?: number;
|
|
3451
3438
|
name: string;
|
|
3452
|
-
locked?: Date;
|
|
3453
|
-
}
|
|
3454
|
-
export interface ValidatedMonthAndDay {
|
|
3455
|
-
valid: boolean;
|
|
3456
|
-
month?: number;
|
|
3457
|
-
day?: number;
|
|
3458
|
-
}
|
|
3459
|
-
export interface ValidationReason {
|
|
3460
|
-
valid: boolean;
|
|
3461
|
-
reason?: string;
|
|
3462
|
-
}
|
|
3463
|
-
export interface PaymentStatus {
|
|
3464
|
-
parentId: number;
|
|
3465
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3466
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3467
|
-
id?: number;
|
|
3468
|
-
}
|
|
3469
|
-
export interface PaymentStatusesDict {
|
|
3470
|
-
[id: number]: PaymentStatus[];
|
|
3471
|
-
}
|
|
3472
|
-
export interface PaymentStatusDict {
|
|
3473
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3474
3439
|
}
|
|
3475
3440
|
export declare class CreateMonitorConfigDto {
|
|
3476
3441
|
facilityId: number;
|
|
@@ -3478,11 +3443,6 @@ export declare class CreateMonitorConfigDto {
|
|
|
3478
3443
|
code: string;
|
|
3479
3444
|
config: any;
|
|
3480
3445
|
}
|
|
3481
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3482
|
-
facilityId: number;
|
|
3483
|
-
code: string;
|
|
3484
|
-
config?: any;
|
|
3485
|
-
}
|
|
3486
3446
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3487
3447
|
userId: number;
|
|
3488
3448
|
organizationId: number;
|
|
@@ -3490,6 +3450,11 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3490
3450
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3491
3451
|
destination: string;
|
|
3492
3452
|
}
|
|
3453
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3454
|
+
facilityId: number;
|
|
3455
|
+
code: string;
|
|
3456
|
+
config?: any;
|
|
3457
|
+
}
|
|
3493
3458
|
export declare class ByOrganizationIdDto {
|
|
3494
3459
|
organizationId: number;
|
|
3495
3460
|
}
|
|
@@ -3587,6 +3552,27 @@ export interface Duration {
|
|
|
3587
3552
|
startDate: string;
|
|
3588
3553
|
endDate: string;
|
|
3589
3554
|
}
|
|
3555
|
+
export interface ValidatedMonthAndDay {
|
|
3556
|
+
valid: boolean;
|
|
3557
|
+
month?: number;
|
|
3558
|
+
day?: number;
|
|
3559
|
+
}
|
|
3560
|
+
export interface ValidationReason {
|
|
3561
|
+
valid: boolean;
|
|
3562
|
+
reason?: string;
|
|
3563
|
+
}
|
|
3564
|
+
export interface PaymentStatus {
|
|
3565
|
+
parentId: number;
|
|
3566
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3567
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3568
|
+
id?: number;
|
|
3569
|
+
}
|
|
3570
|
+
export interface PaymentStatusesDict {
|
|
3571
|
+
[id: number]: PaymentStatus[];
|
|
3572
|
+
}
|
|
3573
|
+
export interface PaymentStatusDict {
|
|
3574
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3575
|
+
}
|
|
3590
3576
|
export declare class CustomerIdDto {
|
|
3591
3577
|
customerId: number;
|
|
3592
3578
|
}
|
|
@@ -3735,6 +3721,16 @@ export declare class VoidLineItemDto {
|
|
|
3735
3721
|
isEdit?: boolean;
|
|
3736
3722
|
amount?: number;
|
|
3737
3723
|
}
|
|
3724
|
+
export interface RefundResult extends PaymentsResults {
|
|
3725
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3726
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3727
|
+
invoice?: Invoice;
|
|
3728
|
+
}
|
|
3729
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3730
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3731
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3732
|
+
totalAmountProcessed: number;
|
|
3733
|
+
}
|
|
3738
3734
|
export interface PaymentResult {
|
|
3739
3735
|
paymentMethodId: string;
|
|
3740
3736
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3760,34 +3756,6 @@ export interface ExtendedLineItems {
|
|
|
3760
3756
|
products: LineItems[];
|
|
3761
3757
|
events: LineItems[];
|
|
3762
3758
|
}
|
|
3763
|
-
export interface RefundResult extends PaymentsResults {
|
|
3764
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3765
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3766
|
-
invoice?: Invoice;
|
|
3767
|
-
}
|
|
3768
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3769
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3770
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3771
|
-
totalAmountProcessed: number;
|
|
3772
|
-
}
|
|
3773
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
3774
|
-
id?: number;
|
|
3775
|
-
}
|
|
3776
|
-
export declare class AddAddonsDto {
|
|
3777
|
-
addons: AddonDto[];
|
|
3778
|
-
}
|
|
3779
|
-
export declare class EditAddonsDto {
|
|
3780
|
-
addons: EditAddonDto[];
|
|
3781
|
-
}
|
|
3782
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3783
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3784
|
-
}
|
|
3785
|
-
export declare class EditAddonDto {
|
|
3786
|
-
id: number;
|
|
3787
|
-
quantity: number;
|
|
3788
|
-
totalPrice: number;
|
|
3789
|
-
unitPrice?: number;
|
|
3790
|
-
}
|
|
3791
3759
|
export declare class InvoiceDto {
|
|
3792
3760
|
invoiceId?: string | null;
|
|
3793
3761
|
organizationId: number;
|
|
@@ -3870,6 +3838,24 @@ export declare class PurchasedResourceDto {
|
|
|
3870
3838
|
endDate?: string;
|
|
3871
3839
|
endTime?: string;
|
|
3872
3840
|
}
|
|
3841
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3842
|
+
id?: number;
|
|
3843
|
+
}
|
|
3844
|
+
export declare class AddAddonsDto {
|
|
3845
|
+
addons: AddonDto[];
|
|
3846
|
+
}
|
|
3847
|
+
export declare class EditAddonsDto {
|
|
3848
|
+
addons: EditAddonDto[];
|
|
3849
|
+
}
|
|
3850
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3851
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3852
|
+
}
|
|
3853
|
+
export declare class EditAddonDto {
|
|
3854
|
+
id: number;
|
|
3855
|
+
quantity: number;
|
|
3856
|
+
totalPrice: number;
|
|
3857
|
+
unitPrice?: number;
|
|
3858
|
+
}
|
|
3873
3859
|
export declare class ReservationDto {
|
|
3874
3860
|
id?: number;
|
|
3875
3861
|
organizationId?: number;
|
|
@@ -4557,9 +4543,19 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4557
4543
|
export declare class CreateRoleDto {
|
|
4558
4544
|
name: string;
|
|
4559
4545
|
}
|
|
4560
|
-
export declare class
|
|
4561
|
-
name
|
|
4562
|
-
|
|
4546
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
4547
|
+
name?: string;
|
|
4548
|
+
genderStr?: string;
|
|
4549
|
+
parentID?: string;
|
|
4550
|
+
partnerID?: string;
|
|
4551
|
+
membershipName?: string;
|
|
4552
|
+
membershipExpDate?: string;
|
|
4553
|
+
membershipCreationDate?: string;
|
|
4554
|
+
bondMembershipID?: number;
|
|
4555
|
+
}
|
|
4556
|
+
export declare class AddFamilyDto {
|
|
4557
|
+
parents: AddImportedCustomerDto[];
|
|
4558
|
+
children: AddImportedCustomerDto[];
|
|
4563
4559
|
}
|
|
4564
4560
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4565
4561
|
name: string;
|
|
@@ -4567,6 +4563,10 @@ export declare class Role extends OrganizationConnectionBaseEntity {
|
|
|
4567
4563
|
permissions: Permission[];
|
|
4568
4564
|
usersRoles: UserRole[];
|
|
4569
4565
|
}
|
|
4566
|
+
export declare class Permission extends BondBaseEntity {
|
|
4567
|
+
name: string;
|
|
4568
|
+
deletedAt?: Date;
|
|
4569
|
+
}
|
|
4570
4570
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4571
4571
|
deletedAt?: Date;
|
|
4572
4572
|
userId: number;
|