@bondsports/types 0.0.132 → 0.0.134
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 +814 -814
- 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,6 +9,17 @@ 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
|
+
}
|
|
12
23
|
export declare enum EConfigurationKeys {
|
|
13
24
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
14
25
|
}
|
|
@@ -16,6 +27,13 @@ export declare enum EFailedPaymentReasons {
|
|
|
16
27
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
17
28
|
UNKNOWN = "unknown"
|
|
18
29
|
}
|
|
30
|
+
export declare class FindBookingTypeSettingDto {
|
|
31
|
+
organizationId: number;
|
|
32
|
+
facilityId: number;
|
|
33
|
+
spaceId: number;
|
|
34
|
+
bookingDate: string;
|
|
35
|
+
bookingTime: string;
|
|
36
|
+
}
|
|
19
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
20
38
|
membershipId: number;
|
|
21
39
|
}
|
|
@@ -274,6 +292,79 @@ export declare class GetGlCodeDto {
|
|
|
274
292
|
createdAt: Date;
|
|
275
293
|
updatedAt: Date;
|
|
276
294
|
}
|
|
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
|
+
}
|
|
277
368
|
export declare class CreateMembershipDto {
|
|
278
369
|
organizationId: number;
|
|
279
370
|
name: string;
|
|
@@ -330,13 +421,6 @@ export declare class CancelMembershipDto {
|
|
|
330
421
|
isImmediatelyCancel: boolean;
|
|
331
422
|
cancellationReason?: string;
|
|
332
423
|
}
|
|
333
|
-
export declare class FindBookingTypeSettingDto {
|
|
334
|
-
organizationId: number;
|
|
335
|
-
facilityId: number;
|
|
336
|
-
spaceId: number;
|
|
337
|
-
bookingDate: string;
|
|
338
|
-
bookingTime: string;
|
|
339
|
-
}
|
|
340
424
|
export declare class CreateEntitlementTermsDto {
|
|
341
425
|
organizationId: number;
|
|
342
426
|
entitlementGroupId: number;
|
|
@@ -379,17 +463,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
379
463
|
discountValue?: number;
|
|
380
464
|
discountMethod?: DiscountMethodsEnum;
|
|
381
465
|
}
|
|
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
|
-
}
|
|
393
466
|
export declare class FindByProductIdDto {
|
|
394
467
|
productId: number;
|
|
395
468
|
}
|
|
@@ -1020,19 +1093,6 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1020
1093
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1021
1094
|
organizationId: number;
|
|
1022
1095
|
}
|
|
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
|
-
}
|
|
1036
1096
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1037
1097
|
entityType: ResourceNameTypeEnum;
|
|
1038
1098
|
entityId: number;
|
|
@@ -1046,78 +1106,18 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1046
1106
|
oldValue?: any;
|
|
1047
1107
|
newValue?: any;
|
|
1048
1108
|
}
|
|
1049
|
-
export declare class
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
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;
|
|
1109
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1110
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1111
|
+
parentId: number;
|
|
1112
|
+
dayOfWeek: number;
|
|
1113
|
+
open: string;
|
|
1114
|
+
close: string;
|
|
1115
|
+
deletedAt?: Date;
|
|
1116
|
+
program: ProgramSeason;
|
|
1117
|
+
availabilityStartDate: string;
|
|
1118
|
+
availabilityEndDate: string;
|
|
1119
|
+
proudct: Product;
|
|
1120
|
+
event: Event;
|
|
1121
1121
|
}
|
|
1122
1122
|
export declare class Address extends BondBaseEntity {
|
|
1123
1123
|
city?: string;
|
|
@@ -1292,6 +1292,21 @@ 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
|
+
}
|
|
1295
1310
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1296
1311
|
constructor();
|
|
1297
1312
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1378,25 +1393,21 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1378
1393
|
facilityId: number;
|
|
1379
1394
|
resourceId: number;
|
|
1380
1395
|
}
|
|
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
|
+
}
|
|
1400
1411
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1401
1412
|
code: string;
|
|
1402
1413
|
}
|
|
@@ -1429,50 +1440,10 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1429
1440
|
discountMethod?: DiscountMethodsEnum;
|
|
1430
1441
|
discountValue?: number;
|
|
1431
1442
|
}
|
|
1432
|
-
export declare class
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
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
|
-
sentForClientDate: Date | null;
|
|
1453
|
-
payingUserId?: number | null;
|
|
1454
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1455
|
-
lineItems: LineItems[];
|
|
1456
|
-
lineItemHistory: LineItemHistory[];
|
|
1457
|
-
paymentStatus: PaymentStatusEnum;
|
|
1458
|
-
paymentMethodId?: string;
|
|
1459
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1460
|
-
paidAmount: number;
|
|
1461
|
-
currency: CurrencyEnum;
|
|
1462
|
-
mainPaymentId: number;
|
|
1463
|
-
isScheduled: boolean;
|
|
1464
|
-
isRefunded: boolean;
|
|
1465
|
-
isVoided: boolean;
|
|
1466
|
-
creatingUserId: number;
|
|
1467
|
-
shiftId: number;
|
|
1468
|
-
platform: PlatformsEnum;
|
|
1469
|
-
invoiceNotes: InvoiceNote[];
|
|
1470
|
-
slots: Slot[];
|
|
1471
|
-
}
|
|
1472
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1473
|
-
email: string;
|
|
1474
|
-
status: EEmailStatus;
|
|
1475
|
-
templateId: string;
|
|
1443
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1444
|
+
email: string;
|
|
1445
|
+
status: EEmailStatus;
|
|
1446
|
+
templateId: string;
|
|
1476
1447
|
userId: number;
|
|
1477
1448
|
invoiceId: number;
|
|
1478
1449
|
paymentId: number;
|
|
@@ -1489,6 +1460,11 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1489
1460
|
invoiceId: number;
|
|
1490
1461
|
invoice: Invoice;
|
|
1491
1462
|
}
|
|
1463
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1464
|
+
groupId: number;
|
|
1465
|
+
divisionId: number;
|
|
1466
|
+
deletedAt?: Date;
|
|
1467
|
+
}
|
|
1492
1468
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1493
1469
|
invoiceId: number;
|
|
1494
1470
|
paymentId: number;
|
|
@@ -1567,6 +1543,30 @@ export declare class LeagueSeasonRelations {
|
|
|
1567
1543
|
league?: boolean;
|
|
1568
1544
|
facilities?: boolean;
|
|
1569
1545
|
}
|
|
1546
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1547
|
+
invoiceId: string | null;
|
|
1548
|
+
price: number | null;
|
|
1549
|
+
status: InvoiceStatusEnum | null;
|
|
1550
|
+
sentForClientDate: Date | null;
|
|
1551
|
+
payingUserId?: number | null;
|
|
1552
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1553
|
+
lineItems: LineItems[];
|
|
1554
|
+
lineItemHistory: LineItemHistory[];
|
|
1555
|
+
paymentStatus: PaymentStatusEnum;
|
|
1556
|
+
paymentMethodId?: string;
|
|
1557
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1558
|
+
paidAmount: number;
|
|
1559
|
+
currency: CurrencyEnum;
|
|
1560
|
+
mainPaymentId: number;
|
|
1561
|
+
isScheduled: boolean;
|
|
1562
|
+
isRefunded: boolean;
|
|
1563
|
+
isVoided: boolean;
|
|
1564
|
+
creatingUserId: number;
|
|
1565
|
+
shiftId: number;
|
|
1566
|
+
platform: PlatformsEnum;
|
|
1567
|
+
invoiceNotes: InvoiceNote[];
|
|
1568
|
+
slots: Slot[];
|
|
1569
|
+
}
|
|
1570
1570
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1571
1571
|
invoiceId: number;
|
|
1572
1572
|
paymentId: number;
|
|
@@ -1721,6 +1721,17 @@ 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
|
+
}
|
|
1724
1735
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1725
1736
|
organizationId: number;
|
|
1726
1737
|
}
|
|
@@ -1747,17 +1758,6 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1747
1758
|
validUntil: Date | null;
|
|
1748
1759
|
active: boolean | null;
|
|
1749
1760
|
}
|
|
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;
|
|
@@ -1795,15 +1795,6 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1795
1795
|
reason: EFailedPaymentReasons;
|
|
1796
1796
|
errorMessage: string;
|
|
1797
1797
|
}
|
|
1798
|
-
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1799
|
-
content: string;
|
|
1800
|
-
creatingUserId: number;
|
|
1801
|
-
user: User;
|
|
1802
|
-
isPublic: boolean;
|
|
1803
|
-
deletedAt: Date;
|
|
1804
|
-
paymentId: number;
|
|
1805
|
-
payment: Payment;
|
|
1806
|
-
}
|
|
1807
1798
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1808
1799
|
paymentPlanId: number;
|
|
1809
1800
|
paymentDate: Date;
|
|
@@ -2288,6 +2279,15 @@ export declare class Team extends BondBaseEntity {
|
|
|
2288
2279
|
gender: number | null;
|
|
2289
2280
|
questionnaireId: number | null;
|
|
2290
2281
|
}
|
|
2282
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2283
|
+
email: string;
|
|
2284
|
+
teamId: number;
|
|
2285
|
+
invitedUserId?: number;
|
|
2286
|
+
userCreatorId: number;
|
|
2287
|
+
token: string;
|
|
2288
|
+
tokenExpirationDate: Date;
|
|
2289
|
+
isUsed: boolean;
|
|
2290
|
+
}
|
|
2291
2291
|
export declare class TeamMember extends BondBaseEntity {
|
|
2292
2292
|
teamId: number | null;
|
|
2293
2293
|
userId: number | null;
|
|
@@ -2336,15 +2336,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2336
2336
|
invoiceNotes: InvoiceNote[];
|
|
2337
2337
|
paymentNotes: PaymentNote[];
|
|
2338
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
2339
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2349
2340
|
entityId: number | null;
|
|
2350
2341
|
userId: number | null;
|
|
@@ -2390,433 +2381,82 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2390
2381
|
membershipCollectionId?: string;
|
|
2391
2382
|
programsCollectionId?: string;
|
|
2392
2383
|
}
|
|
2393
|
-
export
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
questionId: number;
|
|
2402
|
-
value: string;
|
|
2403
|
-
}
|
|
2404
|
-
export interface ILowestPriceForItem {
|
|
2405
|
-
itemId: number;
|
|
2406
|
-
itemType: ResourceNameTypeEnum;
|
|
2407
|
-
groupId: number;
|
|
2408
|
-
groupName?: string;
|
|
2409
|
-
price: number;
|
|
2410
|
-
overridesPrice: boolean;
|
|
2411
|
-
}
|
|
2412
|
-
export interface IResourcesAvailability {
|
|
2413
|
-
resourceType: ResourceNameTypeEnum;
|
|
2414
|
-
quantity: number;
|
|
2415
|
-
resourcesIds: number[];
|
|
2416
|
-
isPunchCard: boolean;
|
|
2417
|
-
resources?: any[];
|
|
2418
|
-
}
|
|
2419
|
-
export interface IPackageResponse {
|
|
2420
|
-
parentProduct: Product;
|
|
2421
|
-
children: IChildProduct[];
|
|
2422
|
-
}
|
|
2423
|
-
export interface IChildProduct {
|
|
2424
|
-
product: Product;
|
|
2425
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2426
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2384
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
2385
|
+
content: string;
|
|
2386
|
+
creatingUserId: number;
|
|
2387
|
+
user: User;
|
|
2388
|
+
isPublic: boolean;
|
|
2389
|
+
deletedAt: Date;
|
|
2390
|
+
paymentId: number;
|
|
2391
|
+
payment: Payment;
|
|
2427
2392
|
}
|
|
2428
|
-
export
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
payments: Payment[];
|
|
2433
|
-
products: Product[];
|
|
2434
|
-
redeemNext: ProductsUsers;
|
|
2393
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2394
|
+
QUESTION = "question",
|
|
2395
|
+
CITY = "city",
|
|
2396
|
+
MEMBERSHIP = "membership"
|
|
2435
2397
|
}
|
|
2436
|
-
export
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2398
|
+
export declare enum ResourceNameTypeEnum {
|
|
2399
|
+
EVENT = "event",
|
|
2400
|
+
VENUE = "venue",
|
|
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"
|
|
2448
2428
|
}
|
|
2449
|
-
export declare
|
|
2450
|
-
|
|
2451
|
-
|
|
2429
|
+
export declare enum DirectBookingTypesEnum {
|
|
2430
|
+
DIRECT_FOR_ALL = "all",
|
|
2431
|
+
DIRECT_FOR_NONE = "none",
|
|
2432
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2433
|
+
NO_SETTING = "no_setting"
|
|
2452
2434
|
}
|
|
2453
|
-
export declare
|
|
2454
|
-
|
|
2455
|
-
|
|
2435
|
+
export declare enum GenderEnum {
|
|
2436
|
+
OTHER = 1,
|
|
2437
|
+
MALE = 2,
|
|
2438
|
+
FEMALE = 3
|
|
2456
2439
|
}
|
|
2457
|
-
export
|
|
2458
|
-
|
|
2440
|
+
export declare enum LevelOfPlayEnum {
|
|
2441
|
+
BEGINNER = 1,
|
|
2442
|
+
INTERMEDIATE = 2,
|
|
2443
|
+
ADVANCED = 3,
|
|
2444
|
+
SEMIPRO = 4,
|
|
2445
|
+
SPECTATOR = 5
|
|
2459
2446
|
}
|
|
2460
|
-
export
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2447
|
+
export declare enum ProgramTypesEnum {
|
|
2448
|
+
LEAGUE = 0,
|
|
2449
|
+
TOURNAMENT = 1,
|
|
2450
|
+
CLASS = 2,
|
|
2451
|
+
CLINIC = 3,
|
|
2452
|
+
CAMP = 4,
|
|
2453
|
+
LESSON = 5,
|
|
2454
|
+
CLUB_TEAM = 6
|
|
2465
2455
|
}
|
|
2466
|
-
export
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
}
|
|
2471
|
-
export interface IPayment {
|
|
2472
|
-
id: number;
|
|
2473
|
-
total: number;
|
|
2474
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2475
|
-
status: PaymentStatusEnum;
|
|
2476
|
-
createdAt: Date;
|
|
2477
|
-
invoices: number[];
|
|
2478
|
-
}
|
|
2479
|
-
export interface IPaginationData<T> {
|
|
2480
|
-
meta: {
|
|
2481
|
-
totalItems: number;
|
|
2482
|
-
itemsPerPage: number;
|
|
2483
|
-
totalPages: number;
|
|
2484
|
-
currentPage: number;
|
|
2485
|
-
};
|
|
2486
|
-
data: T[];
|
|
2487
|
-
}
|
|
2488
|
-
export interface IPricesOfProductsResults {
|
|
2489
|
-
productId: number;
|
|
2490
|
-
userId: number;
|
|
2491
|
-
price: number;
|
|
2492
|
-
groupId?: number;
|
|
2493
|
-
groupName?: string;
|
|
2494
|
-
originalPrice?: number;
|
|
2495
|
-
priceWithoutTax: number;
|
|
2496
|
-
tax: number;
|
|
2497
|
-
isTaxInclusive: boolean;
|
|
2498
|
-
}
|
|
2499
|
-
export interface IPaymentMethodToFundLeft {
|
|
2500
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2501
|
-
paymentMethodId: string;
|
|
2502
|
-
fundLeft: number;
|
|
2503
|
-
ccLast4?: string;
|
|
2504
|
-
ccBrand?: string;
|
|
2505
|
-
}
|
|
2506
|
-
export interface IVariantsAndTitle {
|
|
2507
|
-
title: VariantTitle;
|
|
2508
|
-
variants: Variant[];
|
|
2509
|
-
}
|
|
2510
|
-
export interface IProgramSeasonActivityTimes {
|
|
2511
|
-
dayOfWeek: number;
|
|
2512
|
-
open: string;
|
|
2513
|
-
close: string;
|
|
2514
|
-
}
|
|
2515
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2516
|
-
date: string;
|
|
2517
|
-
startTime: string;
|
|
2518
|
-
endTime: string;
|
|
2519
|
-
}
|
|
2520
|
-
export interface IBlockedDates {
|
|
2521
|
-
name: string;
|
|
2522
|
-
startDate: Date;
|
|
2523
|
-
endDate: Date;
|
|
2524
|
-
}
|
|
2525
|
-
export interface ISingleMemberForRenewal {
|
|
2526
|
-
member_id: number;
|
|
2527
|
-
member_membershipId: number;
|
|
2528
|
-
member_userId: number;
|
|
2529
|
-
member_nextPaymentMethodId?: string;
|
|
2530
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2531
|
-
member_answerTitleIds?: number[];
|
|
2532
|
-
member_organizationId: number;
|
|
2533
|
-
product_productPrice: number;
|
|
2534
|
-
product_productId: number;
|
|
2535
|
-
invoice_payingUserId: number;
|
|
2536
|
-
invoice_paymentMethodId: string;
|
|
2537
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2538
|
-
endDate: Date;
|
|
2539
|
-
membership_name: string;
|
|
2540
|
-
user_firstName: string;
|
|
2541
|
-
user_lastName: string;
|
|
2542
|
-
user_email: string;
|
|
2543
|
-
}
|
|
2544
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2545
|
-
package_parentProductId: number;
|
|
2546
|
-
product2_productPrice: number;
|
|
2547
|
-
familyid: number;
|
|
2548
|
-
invoice_id: number;
|
|
2549
|
-
}
|
|
2550
|
-
export interface IResourceRegistrationData {
|
|
2551
|
-
id: number;
|
|
2552
|
-
resourceType: ResourceNameTypeEnum;
|
|
2553
|
-
openNumDays?: number;
|
|
2554
|
-
openNumMinutes?: number;
|
|
2555
|
-
openTime?: string;
|
|
2556
|
-
closeNumDays?: number;
|
|
2557
|
-
closeNumMinutes?: number;
|
|
2558
|
-
closeTime?: string;
|
|
2559
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2560
|
-
}
|
|
2561
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2562
|
-
id: number;
|
|
2563
|
-
startDate: string;
|
|
2564
|
-
startTime: string;
|
|
2565
|
-
}
|
|
2566
|
-
export interface IRegistrationConstraintsSetting {
|
|
2567
|
-
numDays?: number;
|
|
2568
|
-
numMinutes?: number;
|
|
2569
|
-
}
|
|
2570
|
-
export interface IAttendeeDataToNotify {
|
|
2571
|
-
firstName: string;
|
|
2572
|
-
lastName: string;
|
|
2573
|
-
email: string;
|
|
2574
|
-
sessionName: string;
|
|
2575
|
-
parentSessionName?: string;
|
|
2576
|
-
organizationName: string;
|
|
2577
|
-
programName: string;
|
|
2578
|
-
}
|
|
2579
|
-
export interface IEventInSchedule {
|
|
2580
|
-
eventId: number;
|
|
2581
|
-
eventName: string;
|
|
2582
|
-
eventStartDate: string;
|
|
2583
|
-
eventEndDate: string;
|
|
2584
|
-
eventStartTime: string;
|
|
2585
|
-
eventEndTime: string;
|
|
2586
|
-
programId: number;
|
|
2587
|
-
programName: string;
|
|
2588
|
-
programType: ProgramTypesEnum;
|
|
2589
|
-
sessionId: number;
|
|
2590
|
-
sessionName: string;
|
|
2591
|
-
sports: number;
|
|
2592
|
-
spaces: {
|
|
2593
|
-
spaceId: number;
|
|
2594
|
-
spaceName: string;
|
|
2595
|
-
}[];
|
|
2596
|
-
status?: RegistrationValidationStatusEnum;
|
|
2597
|
-
}
|
|
2598
|
-
export interface ISlotInSchedule {
|
|
2599
|
-
facilityId: number;
|
|
2600
|
-
facilityName: string;
|
|
2601
|
-
spaces: ISpaceWithSlots[];
|
|
2602
|
-
}
|
|
2603
|
-
export interface ISpaceWithSlots {
|
|
2604
|
-
id: number;
|
|
2605
|
-
name: string;
|
|
2606
|
-
slots: ISlotReservationData[];
|
|
2607
|
-
}
|
|
2608
|
-
export interface ISlotReservationData {
|
|
2609
|
-
reservationId: number;
|
|
2610
|
-
reservationName: string;
|
|
2611
|
-
date: string;
|
|
2612
|
-
startTime: string;
|
|
2613
|
-
endTime: string;
|
|
2614
|
-
notes: string;
|
|
2615
|
-
spaceId: number;
|
|
2616
|
-
isRental: boolean;
|
|
2617
|
-
slotType: SlotTypeEnum;
|
|
2618
|
-
slotId: number;
|
|
2619
|
-
eventId: number;
|
|
2620
|
-
isPrivate: boolean;
|
|
2621
|
-
}
|
|
2622
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2623
|
-
parentSessionId: number;
|
|
2624
|
-
parentSessionName: string;
|
|
2625
|
-
eventTimezone: string;
|
|
2626
|
-
maxParticipants: number;
|
|
2627
|
-
maxMaleParticipants: number;
|
|
2628
|
-
maxFemaleParticipants: number;
|
|
2629
|
-
isPunchCard: boolean;
|
|
2630
|
-
}
|
|
2631
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2632
|
-
id: number;
|
|
2633
|
-
name: string;
|
|
2634
|
-
bookingCreatorId: number;
|
|
2635
|
-
}
|
|
2636
|
-
export interface IRawSlotInSchedule {
|
|
2637
|
-
startDate: string;
|
|
2638
|
-
endDate: string;
|
|
2639
|
-
startTime: string;
|
|
2640
|
-
endTime: string;
|
|
2641
|
-
reservationId: number;
|
|
2642
|
-
eventTitle: string;
|
|
2643
|
-
publicNotes: string;
|
|
2644
|
-
spaceId: number;
|
|
2645
|
-
creatorType: ResourceNameTypeEnum;
|
|
2646
|
-
slotType: SlotTypeEnum;
|
|
2647
|
-
slotId: number;
|
|
2648
|
-
eventId: number;
|
|
2649
|
-
isPrivate: boolean;
|
|
2650
|
-
}
|
|
2651
|
-
export interface IPurchasedResourcesRaw {
|
|
2652
|
-
purchasedId: number;
|
|
2653
|
-
purchasedProductUserId: number;
|
|
2654
|
-
purchasedResourceId: number;
|
|
2655
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2656
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2657
|
-
pUserId: number;
|
|
2658
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2659
|
-
pUserProductId: number;
|
|
2660
|
-
pUserProductName: string;
|
|
2661
|
-
pUserProductPrice: number;
|
|
2662
|
-
pUserProductPriceCurrency: string;
|
|
2663
|
-
pUserProductQuantity: number;
|
|
2664
|
-
pUserProductQuantityLeft: number;
|
|
2665
|
-
pUserUserId: number;
|
|
2666
|
-
}
|
|
2667
|
-
export interface IUsersPasses {
|
|
2668
|
-
userId: number;
|
|
2669
|
-
userFirstName: string;
|
|
2670
|
-
userLastName: string;
|
|
2671
|
-
organizationId: number;
|
|
2672
|
-
programId: number;
|
|
2673
|
-
programName: string;
|
|
2674
|
-
sessionId: number;
|
|
2675
|
-
sessionName: string;
|
|
2676
|
-
productId: number;
|
|
2677
|
-
productName: string;
|
|
2678
|
-
productUserId: number;
|
|
2679
|
-
purchaseDate: Date;
|
|
2680
|
-
passesLeft: number;
|
|
2681
|
-
}
|
|
2682
|
-
export interface ISessionsLandingPage {
|
|
2683
|
-
sessionId: number;
|
|
2684
|
-
name: string;
|
|
2685
|
-
startDate: Date;
|
|
2686
|
-
endDate: Date;
|
|
2687
|
-
registrationStartDate: Date;
|
|
2688
|
-
registrationEndDate: Date;
|
|
2689
|
-
sport: SportsEnum;
|
|
2690
|
-
minAge: string;
|
|
2691
|
-
maxAge: string;
|
|
2692
|
-
maxParticipants?: number;
|
|
2693
|
-
gender: GenderEnum;
|
|
2694
|
-
activityTimes: ActivityTimes[];
|
|
2695
|
-
earlyRegistrationStartDate?: Date;
|
|
2696
|
-
earlyRegistrationEndDate?: Date;
|
|
2697
|
-
lateRegistrationStartDate?: Date;
|
|
2698
|
-
lateRegistrationEndDate?: Date;
|
|
2699
|
-
attendeeCount?: number;
|
|
2700
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2701
|
-
}
|
|
2702
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2703
|
-
hasRequiredMembership: boolean;
|
|
2704
|
-
hasEntitledPricing: boolean;
|
|
2705
|
-
lowestPrice?: number;
|
|
2706
|
-
products?: ISessionLandingPageProduct[];
|
|
2707
|
-
}
|
|
2708
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2709
|
-
hasRequiredMembership: boolean;
|
|
2710
|
-
hasEntitledPricing: boolean;
|
|
2711
|
-
products?: ISessionLandingPageProduct[];
|
|
2712
|
-
segments?: Event[] | ProgramSeason[];
|
|
2713
|
-
programName: string;
|
|
2714
|
-
programId: number;
|
|
2715
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2716
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2717
|
-
}
|
|
2718
|
-
export interface ISlimAddons {
|
|
2719
|
-
addons?: {
|
|
2720
|
-
id: number;
|
|
2721
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2722
|
-
name: string;
|
|
2723
|
-
productType?: ProductTypesEnum;
|
|
2724
|
-
productSubType?: string;
|
|
2725
|
-
}[];
|
|
2726
|
-
}
|
|
2727
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2728
|
-
id: number;
|
|
2729
|
-
name: string;
|
|
2730
|
-
startDate?: Date;
|
|
2731
|
-
endDate?: Date;
|
|
2732
|
-
downpayment?: number;
|
|
2733
|
-
description?: string;
|
|
2734
|
-
prices: Price[];
|
|
2735
|
-
productSubType?: ProductSubTypesEnum;
|
|
2736
|
-
punchCard: boolean;
|
|
2737
|
-
isAddon: boolean;
|
|
2738
|
-
defaultPriceId?: number;
|
|
2739
|
-
}
|
|
2740
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2741
|
-
destinationId?: string;
|
|
2742
|
-
stripeCustomerId?: string;
|
|
2743
|
-
fee?: number;
|
|
2744
|
-
}
|
|
2745
|
-
export interface IReservationCreatorData {
|
|
2746
|
-
type: ResourceNameTypeEnum;
|
|
2747
|
-
id: number;
|
|
2748
|
-
organizationId: number;
|
|
2749
|
-
startDate: string;
|
|
2750
|
-
endDate: string;
|
|
2751
|
-
sportId: number;
|
|
2752
|
-
}
|
|
2753
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2754
|
-
QUESTION = "question",
|
|
2755
|
-
CITY = "city",
|
|
2756
|
-
MEMBERSHIP = "membership"
|
|
2757
|
-
}
|
|
2758
|
-
export declare enum ResourceNameTypeEnum {
|
|
2759
|
-
EVENT = "event",
|
|
2760
|
-
VENUE = "venue",
|
|
2761
|
-
TEAM = "team",
|
|
2762
|
-
LEAGUE = "league",
|
|
2763
|
-
USER = "user",
|
|
2764
|
-
ORGANIZATION = "organization",
|
|
2765
|
-
APP = "app",
|
|
2766
|
-
FEED = "feed",
|
|
2767
|
-
MATCH = "match",
|
|
2768
|
-
ROUND = "round",
|
|
2769
|
-
PORTAL = "portal",
|
|
2770
|
-
SEASON = "season",
|
|
2771
|
-
TOURNAMENT = "tournament",
|
|
2772
|
-
MEMBERSHIP = "membership",
|
|
2773
|
-
DIVISION = "division",
|
|
2774
|
-
GAMESLOT = "gameslot",
|
|
2775
|
-
SPACE = "space",
|
|
2776
|
-
RESERVATION = "reservation",
|
|
2777
|
-
INVOICE = "invoice",
|
|
2778
|
-
CUSTOMER = "customer",
|
|
2779
|
-
PACKAGE = "package",
|
|
2780
|
-
FACILITY = "facility",
|
|
2781
|
-
PROGRAM = "program",
|
|
2782
|
-
PROGRAM_SEASON = "program_season",
|
|
2783
|
-
PRODUCT = "product",
|
|
2784
|
-
GROUP = "group",
|
|
2785
|
-
VARIANT = "variant",
|
|
2786
|
-
SLOT = "slot",
|
|
2787
|
-
ADDON = "addon"
|
|
2788
|
-
}
|
|
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"
|
|
2794
|
-
}
|
|
2795
|
-
export declare enum GenderEnum {
|
|
2796
|
-
OTHER = 1,
|
|
2797
|
-
MALE = 2,
|
|
2798
|
-
FEMALE = 3
|
|
2799
|
-
}
|
|
2800
|
-
export declare enum LevelOfPlayEnum {
|
|
2801
|
-
BEGINNER = 1,
|
|
2802
|
-
INTERMEDIATE = 2,
|
|
2803
|
-
ADVANCED = 3,
|
|
2804
|
-
SEMIPRO = 4,
|
|
2805
|
-
SPECTATOR = 5
|
|
2806
|
-
}
|
|
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
|
|
2815
|
-
}
|
|
2816
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2817
|
-
ROUND_ROBIN = 1,
|
|
2818
|
-
BRACKETS = 2,
|
|
2819
|
-
CAMP_CLINIC_CLASS = 3
|
|
2456
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2457
|
+
ROUND_ROBIN = 1,
|
|
2458
|
+
BRACKETS = 2,
|
|
2459
|
+
CAMP_CLINIC_CLASS = 3
|
|
2820
2460
|
}
|
|
2821
2461
|
export declare enum SportsEnum {
|
|
2822
2462
|
SOFTBALL = 1,
|
|
@@ -3161,140 +2801,514 @@ export declare enum DateTimeFormatsEnum {
|
|
|
3161
2801
|
API_TIME = "HH:mm:ss",
|
|
3162
2802
|
DB_DATE = "YYYY-MM-DD"
|
|
3163
2803
|
}
|
|
3164
|
-
export declare enum SlotTypeEnum {
|
|
3165
|
-
EXTERNAL = "external",
|
|
3166
|
-
INTERNAL = "internal",
|
|
3167
|
-
MAINTENANCE = "maintenance",
|
|
3168
|
-
CUSTOM = "custom"
|
|
2804
|
+
export declare enum SlotTypeEnum {
|
|
2805
|
+
EXTERNAL = "external",
|
|
2806
|
+
INTERNAL = "internal",
|
|
2807
|
+
MAINTENANCE = "maintenance",
|
|
2808
|
+
CUSTOM = "custom"
|
|
2809
|
+
}
|
|
2810
|
+
export declare enum PlatformsEnum {
|
|
2811
|
+
CONSUMER = "consumer",
|
|
2812
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2813
|
+
BO = "backoffice",
|
|
2814
|
+
MOBILE = "mobile",
|
|
2815
|
+
CRON = "cron"
|
|
2816
|
+
}
|
|
2817
|
+
export declare enum ShiftStatusEnum {
|
|
2818
|
+
OPEN = "open",
|
|
2819
|
+
CLOSED = "closed",
|
|
2820
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2821
|
+
RECONCILED = "reconciled"
|
|
2822
|
+
}
|
|
2823
|
+
export declare enum EventStatusEnum {
|
|
2824
|
+
OPEN = 1,
|
|
2825
|
+
DRAFT = 2,
|
|
2826
|
+
FULL = 3,
|
|
2827
|
+
CANCELLED = 4,
|
|
2828
|
+
CLOSED = 5,
|
|
2829
|
+
DELETED = 6
|
|
2830
|
+
}
|
|
2831
|
+
export declare enum ReservationTypeEnum {
|
|
2832
|
+
RENTAL = "rental",
|
|
2833
|
+
PROGRAM = "program",
|
|
2834
|
+
MAINTENANCE = "maintenance",
|
|
2835
|
+
CUSTOM = "custom",
|
|
2836
|
+
INTERNAL = "internal"
|
|
2837
|
+
}
|
|
2838
|
+
export declare enum SlotDurationTypeEnum {
|
|
2839
|
+
DATES = "dates",
|
|
2840
|
+
ALL_DAY = "all day",
|
|
2841
|
+
DURATION = "duration"
|
|
2842
|
+
}
|
|
2843
|
+
export declare enum DurationUnitTypesEnum {
|
|
2844
|
+
MINUTES = "minutes",
|
|
2845
|
+
HOURS = "hours"
|
|
2846
|
+
}
|
|
2847
|
+
export declare enum FrequencyEnum {
|
|
2848
|
+
NONE = "none",
|
|
2849
|
+
WEEKLY = "weekly",
|
|
2850
|
+
DAILY = "daily",
|
|
2851
|
+
MONTHLY = "monthly",
|
|
2852
|
+
YEARLY = "yearly"
|
|
2853
|
+
}
|
|
2854
|
+
export declare enum MaintenanceTimingEnum {
|
|
2855
|
+
BEFORE = 1,
|
|
2856
|
+
AFTER = 2,
|
|
2857
|
+
AT_THE_BEGINING = 3,
|
|
2858
|
+
AT_THE_END = 4
|
|
2859
|
+
}
|
|
2860
|
+
export declare enum CreatorTypeEnum {
|
|
2861
|
+
SPACE = "space",
|
|
2862
|
+
PROGRAM_SEASON = "program_season",
|
|
2863
|
+
SEASON = "season"
|
|
2864
|
+
}
|
|
2865
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2866
|
+
INDIVIDUAL = "indvidual",
|
|
2867
|
+
CATEGORY = "category",
|
|
2868
|
+
GLOBAL = "global"
|
|
2869
|
+
}
|
|
2870
|
+
export declare enum BondDayOfWeekEnum {
|
|
2871
|
+
MONDAY = 2,
|
|
2872
|
+
TUESDAY = 3,
|
|
2873
|
+
WEDNESDAY = 4,
|
|
2874
|
+
THURSDAY = 5,
|
|
2875
|
+
FRIDAY = 6,
|
|
2876
|
+
SATURDAY = 7,
|
|
2877
|
+
SUNDAY = 8
|
|
2878
|
+
}
|
|
2879
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2880
|
+
NEW = "new",
|
|
2881
|
+
NO = "no",
|
|
2882
|
+
YES = "yes"
|
|
2883
|
+
}
|
|
2884
|
+
export declare enum ProductPackageLevelEnum {
|
|
2885
|
+
HOUR = "hour",
|
|
2886
|
+
SLOT = "slot",
|
|
2887
|
+
RESERVATION = "reservation"
|
|
2888
|
+
}
|
|
2889
|
+
export declare enum CancellationStatusEnum {
|
|
2890
|
+
IMMEDIATE = "immediate",
|
|
2891
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2892
|
+
}
|
|
2893
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2894
|
+
DRAFT = 0,
|
|
2895
|
+
PUBLISHED = 1
|
|
2896
|
+
}
|
|
2897
|
+
export declare enum FinancialStepEnum {
|
|
2898
|
+
VOID = "void",
|
|
2899
|
+
REFUND = "refund",
|
|
2900
|
+
NONE = "none",
|
|
2901
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2902
|
+
APPEND = "append"
|
|
2903
|
+
}
|
|
2904
|
+
export declare enum StripeAccountTypesEnum {
|
|
2905
|
+
STRIPE = "stripe",
|
|
2906
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2907
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2908
|
+
}
|
|
2909
|
+
export declare enum LinkedAccountStatus {
|
|
2910
|
+
PENDING = 1,
|
|
2911
|
+
ACTIVE = 2,
|
|
2912
|
+
PRE_PENDING = 3
|
|
2913
|
+
}
|
|
2914
|
+
export declare enum AddonParentTypeEnum {
|
|
2915
|
+
RESERVATION = "reservation",
|
|
2916
|
+
SLOT = "slot"
|
|
2917
|
+
}
|
|
2918
|
+
export declare enum EEmailStatus {
|
|
2919
|
+
SENT = "sent",
|
|
2920
|
+
OPENED = "opened",
|
|
2921
|
+
PAID = "paid",
|
|
2922
|
+
CANCELED = "canceled"
|
|
2923
|
+
}
|
|
2924
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2925
|
+
ENABLED = 1,
|
|
2926
|
+
DISABLED_REDIRECT = 2,
|
|
2927
|
+
DISABLED_INFO_ONLY = 3,
|
|
2928
|
+
DISABLED_EMAIL = 4
|
|
2929
|
+
}
|
|
2930
|
+
export declare enum NotifyMethodEnum {
|
|
2931
|
+
EMAIL = "Email"
|
|
2932
|
+
}
|
|
2933
|
+
export interface IEntitlementTerms {
|
|
2934
|
+
type: EntitlementTermsTypesEnum;
|
|
2935
|
+
id?: number;
|
|
2936
|
+
value?: string;
|
|
2937
|
+
minValue?: string;
|
|
2938
|
+
maxValue?: string;
|
|
2939
|
+
}
|
|
2940
|
+
export interface IQuestionAnswerObject {
|
|
2941
|
+
questionId: number;
|
|
2942
|
+
value: string;
|
|
2943
|
+
}
|
|
2944
|
+
export interface ILowestPriceForItem {
|
|
2945
|
+
itemId: number;
|
|
2946
|
+
itemType: ResourceNameTypeEnum;
|
|
2947
|
+
groupId: number;
|
|
2948
|
+
groupName?: string;
|
|
2949
|
+
price: number;
|
|
2950
|
+
overridesPrice: boolean;
|
|
2951
|
+
}
|
|
2952
|
+
export interface IResourcesAvailability {
|
|
2953
|
+
resourceType: ResourceNameTypeEnum;
|
|
2954
|
+
quantity: number;
|
|
2955
|
+
resourcesIds: number[];
|
|
2956
|
+
isPunchCard: boolean;
|
|
2957
|
+
resources?: any[];
|
|
2958
|
+
}
|
|
2959
|
+
export interface IPackageResponse {
|
|
2960
|
+
parentProduct: Product;
|
|
2961
|
+
children: IChildProduct[];
|
|
2962
|
+
}
|
|
2963
|
+
export interface IChildProduct {
|
|
2964
|
+
product: Product;
|
|
2965
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2966
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2967
|
+
}
|
|
2968
|
+
export interface ISeasonAttendeeInfo {
|
|
2969
|
+
applicationAnswers: Answer[];
|
|
2970
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2971
|
+
invoices: Invoice[];
|
|
2972
|
+
payments: Payment[];
|
|
2973
|
+
products: Product[];
|
|
2974
|
+
redeemNext: ProductsUsers;
|
|
2975
|
+
}
|
|
2976
|
+
export interface ISeasonAttendeeListInfo {
|
|
2977
|
+
userId: number;
|
|
2978
|
+
userFirstName: string;
|
|
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;
|
|
2988
|
+
}
|
|
2989
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2990
|
+
segmentType: ResourceNameTypeEnum;
|
|
2991
|
+
participantRegisteredDate?: string;
|
|
2992
|
+
}
|
|
2993
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2994
|
+
segmentType: ResourceNameTypeEnum;
|
|
2995
|
+
participantRegisteredDate?: string;
|
|
2996
|
+
}
|
|
2997
|
+
export interface ITokenResonse {
|
|
2998
|
+
token: string;
|
|
2999
|
+
}
|
|
3000
|
+
export interface IStripeBondInvoices {
|
|
3001
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3002
|
+
bondPaidPayment: Payment;
|
|
3003
|
+
invoice?: Invoice;
|
|
3004
|
+
customer?: Customer;
|
|
3005
|
+
}
|
|
3006
|
+
export interface IPartialPaymentData {
|
|
3007
|
+
purchasingUserId: number;
|
|
3008
|
+
paymentData: PurchasePaymentDto;
|
|
3009
|
+
amountToPay: number;
|
|
3010
|
+
}
|
|
3011
|
+
export interface IPayment {
|
|
3012
|
+
id: number;
|
|
3013
|
+
total: number;
|
|
3014
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3015
|
+
status: PaymentStatusEnum;
|
|
3016
|
+
createdAt: Date;
|
|
3017
|
+
invoices: number[];
|
|
3018
|
+
}
|
|
3019
|
+
export interface IPaginationData<T> {
|
|
3020
|
+
meta: {
|
|
3021
|
+
totalItems: number;
|
|
3022
|
+
itemsPerPage: number;
|
|
3023
|
+
totalPages: number;
|
|
3024
|
+
currentPage: number;
|
|
3025
|
+
};
|
|
3026
|
+
data: T[];
|
|
3027
|
+
}
|
|
3028
|
+
export interface IPricesOfProductsResults {
|
|
3029
|
+
productId: number;
|
|
3030
|
+
userId: number;
|
|
3031
|
+
price: number;
|
|
3032
|
+
groupId?: number;
|
|
3033
|
+
groupName?: string;
|
|
3034
|
+
originalPrice?: number;
|
|
3035
|
+
priceWithoutTax: number;
|
|
3036
|
+
tax: number;
|
|
3037
|
+
isTaxInclusive: boolean;
|
|
3038
|
+
}
|
|
3039
|
+
export interface IPaymentMethodToFundLeft {
|
|
3040
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3041
|
+
paymentMethodId: string;
|
|
3042
|
+
fundLeft: number;
|
|
3043
|
+
ccLast4?: string;
|
|
3044
|
+
ccBrand?: string;
|
|
3045
|
+
}
|
|
3046
|
+
export interface IVariantsAndTitle {
|
|
3047
|
+
title: VariantTitle;
|
|
3048
|
+
variants: Variant[];
|
|
3049
|
+
}
|
|
3050
|
+
export interface IProgramSeasonActivityTimes {
|
|
3051
|
+
dayOfWeek: number;
|
|
3052
|
+
open: string;
|
|
3053
|
+
close: string;
|
|
3054
|
+
}
|
|
3055
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3056
|
+
date: string;
|
|
3057
|
+
startTime: string;
|
|
3058
|
+
endTime: string;
|
|
3059
|
+
}
|
|
3060
|
+
export interface IBlockedDates {
|
|
3061
|
+
name: string;
|
|
3062
|
+
startDate: Date;
|
|
3063
|
+
endDate: Date;
|
|
3169
3064
|
}
|
|
3170
|
-
export
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3065
|
+
export interface ISingleMemberForRenewal {
|
|
3066
|
+
member_id: number;
|
|
3067
|
+
member_membershipId: number;
|
|
3068
|
+
member_userId: number;
|
|
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;
|
|
3176
3083
|
}
|
|
3177
|
-
export
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3084
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3085
|
+
package_parentProductId: number;
|
|
3086
|
+
product2_productPrice: number;
|
|
3087
|
+
familyid: number;
|
|
3088
|
+
invoice_id: number;
|
|
3182
3089
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3090
|
+
export interface IResourceRegistrationData {
|
|
3091
|
+
id: number;
|
|
3092
|
+
resourceType: ResourceNameTypeEnum;
|
|
3093
|
+
openNumDays?: number;
|
|
3094
|
+
openNumMinutes?: number;
|
|
3095
|
+
openTime?: string;
|
|
3096
|
+
closeNumDays?: number;
|
|
3097
|
+
closeNumMinutes?: number;
|
|
3098
|
+
closeTime?: string;
|
|
3099
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3190
3100
|
}
|
|
3191
|
-
export
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
CUSTOM = "custom",
|
|
3196
|
-
INTERNAL = "internal"
|
|
3101
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3102
|
+
id: number;
|
|
3103
|
+
startDate: string;
|
|
3104
|
+
startTime: string;
|
|
3197
3105
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
DURATION = "duration"
|
|
3106
|
+
export interface IRegistrationConstraintsSetting {
|
|
3107
|
+
numDays?: number;
|
|
3108
|
+
numMinutes?: number;
|
|
3202
3109
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3110
|
+
export interface IAttendeeDataToNotify {
|
|
3111
|
+
firstName: string;
|
|
3112
|
+
lastName: string;
|
|
3113
|
+
email: string;
|
|
3114
|
+
sessionName: string;
|
|
3115
|
+
parentSessionName?: string;
|
|
3116
|
+
organizationName: string;
|
|
3117
|
+
programName: string;
|
|
3206
3118
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3119
|
+
export interface IEventInSchedule {
|
|
3120
|
+
eventId: number;
|
|
3121
|
+
eventName: string;
|
|
3122
|
+
eventStartDate: string;
|
|
3123
|
+
eventEndDate: string;
|
|
3124
|
+
eventStartTime: string;
|
|
3125
|
+
eventEndTime: string;
|
|
3126
|
+
programId: number;
|
|
3127
|
+
programName: string;
|
|
3128
|
+
programType: ProgramTypesEnum;
|
|
3129
|
+
sessionId: number;
|
|
3130
|
+
sessionName: string;
|
|
3131
|
+
sports: number;
|
|
3132
|
+
spaces: {
|
|
3133
|
+
spaceId: number;
|
|
3134
|
+
spaceName: string;
|
|
3135
|
+
}[];
|
|
3136
|
+
status?: RegistrationValidationStatusEnum;
|
|
3213
3137
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
AT_THE_END = 4
|
|
3138
|
+
export interface ISlotInSchedule {
|
|
3139
|
+
facilityId: number;
|
|
3140
|
+
facilityName: string;
|
|
3141
|
+
spaces: ISpaceWithSlots[];
|
|
3219
3142
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3143
|
+
export interface ISpaceWithSlots {
|
|
3144
|
+
id: number;
|
|
3145
|
+
name: string;
|
|
3146
|
+
slots: ISlotReservationData[];
|
|
3224
3147
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3148
|
+
export interface ISlotReservationData {
|
|
3149
|
+
reservationId: number;
|
|
3150
|
+
reservationName: string;
|
|
3151
|
+
date: string;
|
|
3152
|
+
startTime: string;
|
|
3153
|
+
endTime: string;
|
|
3154
|
+
notes: string;
|
|
3155
|
+
spaceId: number;
|
|
3156
|
+
isRental: boolean;
|
|
3157
|
+
slotType: SlotTypeEnum;
|
|
3158
|
+
slotId: number;
|
|
3159
|
+
eventId: number;
|
|
3160
|
+
isPrivate: boolean;
|
|
3229
3161
|
}
|
|
3230
|
-
export
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3162
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3163
|
+
parentSessionId: number;
|
|
3164
|
+
parentSessionName: string;
|
|
3165
|
+
eventTimezone: string;
|
|
3166
|
+
maxParticipants: number;
|
|
3167
|
+
maxMaleParticipants: number;
|
|
3168
|
+
maxFemaleParticipants: number;
|
|
3169
|
+
isPunchCard: boolean;
|
|
3238
3170
|
}
|
|
3239
|
-
export
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3171
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3172
|
+
id: number;
|
|
3173
|
+
name: string;
|
|
3174
|
+
bookingCreatorId: number;
|
|
3243
3175
|
}
|
|
3244
|
-
export
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3176
|
+
export interface IRawSlotInSchedule {
|
|
3177
|
+
startDate: string;
|
|
3178
|
+
endDate: string;
|
|
3179
|
+
startTime: string;
|
|
3180
|
+
endTime: string;
|
|
3181
|
+
reservationId: number;
|
|
3182
|
+
eventTitle: string;
|
|
3183
|
+
publicNotes: string;
|
|
3184
|
+
spaceId: number;
|
|
3185
|
+
creatorType: ResourceNameTypeEnum;
|
|
3186
|
+
slotType: SlotTypeEnum;
|
|
3187
|
+
slotId: number;
|
|
3188
|
+
eventId: number;
|
|
3189
|
+
isPrivate: boolean;
|
|
3248
3190
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3191
|
+
export interface IPurchasedResourcesRaw {
|
|
3192
|
+
purchasedId: number;
|
|
3193
|
+
purchasedProductUserId: number;
|
|
3194
|
+
purchasedResourceId: number;
|
|
3195
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3196
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3197
|
+
pUserId: number;
|
|
3198
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3199
|
+
pUserProductId: number;
|
|
3200
|
+
pUserProductName: string;
|
|
3201
|
+
pUserProductPrice: number;
|
|
3202
|
+
pUserProductPriceCurrency: string;
|
|
3203
|
+
pUserProductQuantity: number;
|
|
3204
|
+
pUserProductQuantityLeft: number;
|
|
3205
|
+
pUserUserId: number;
|
|
3252
3206
|
}
|
|
3253
|
-
export
|
|
3254
|
-
|
|
3255
|
-
|
|
3207
|
+
export interface IUsersPasses {
|
|
3208
|
+
userId: number;
|
|
3209
|
+
userFirstName: string;
|
|
3210
|
+
userLastName: string;
|
|
3211
|
+
organizationId: number;
|
|
3212
|
+
programId: number;
|
|
3213
|
+
programName: string;
|
|
3214
|
+
sessionId: number;
|
|
3215
|
+
sessionName: string;
|
|
3216
|
+
productId: number;
|
|
3217
|
+
productName: string;
|
|
3218
|
+
productUserId: number;
|
|
3219
|
+
purchaseDate: Date;
|
|
3220
|
+
passesLeft: number;
|
|
3256
3221
|
}
|
|
3257
|
-
export
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3222
|
+
export interface ISessionsLandingPage {
|
|
3223
|
+
sessionId: number;
|
|
3224
|
+
name: string;
|
|
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';
|
|
3263
3241
|
}
|
|
3264
|
-
export
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3242
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3243
|
+
hasRequiredMembership: boolean;
|
|
3244
|
+
hasEntitledPricing: boolean;
|
|
3245
|
+
lowestPrice?: number;
|
|
3246
|
+
products?: ISessionLandingPageProduct[];
|
|
3268
3247
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3248
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3249
|
+
hasRequiredMembership: boolean;
|
|
3250
|
+
hasEntitledPricing: boolean;
|
|
3251
|
+
products?: ISessionLandingPageProduct[];
|
|
3252
|
+
segments?: Event[] | ProgramSeason[];
|
|
3253
|
+
programName: string;
|
|
3254
|
+
programId: number;
|
|
3255
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3256
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3273
3257
|
}
|
|
3274
|
-
export
|
|
3275
|
-
|
|
3276
|
-
|
|
3258
|
+
export interface ISlimAddons {
|
|
3259
|
+
addons?: {
|
|
3260
|
+
id: number;
|
|
3261
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3262
|
+
name: string;
|
|
3263
|
+
productType?: ProductTypesEnum;
|
|
3264
|
+
productSubType?: string;
|
|
3265
|
+
}[];
|
|
3277
3266
|
}
|
|
3278
|
-
export
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3267
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3268
|
+
id: number;
|
|
3269
|
+
name: string;
|
|
3270
|
+
startDate?: Date;
|
|
3271
|
+
endDate?: Date;
|
|
3272
|
+
downpayment?: number;
|
|
3273
|
+
description?: string;
|
|
3274
|
+
prices: Price[];
|
|
3275
|
+
productSubType?: ProductSubTypesEnum;
|
|
3276
|
+
punchCard: boolean;
|
|
3277
|
+
isAddon: boolean;
|
|
3278
|
+
defaultPriceId?: number;
|
|
3283
3279
|
}
|
|
3284
|
-
export
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
DISABLED_EMAIL = 4
|
|
3280
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3281
|
+
destinationId?: string;
|
|
3282
|
+
stripeCustomerId?: string;
|
|
3283
|
+
fee?: number;
|
|
3289
3284
|
}
|
|
3290
|
-
export
|
|
3291
|
-
|
|
3285
|
+
export interface IReservationCreatorData {
|
|
3286
|
+
type: ResourceNameTypeEnum;
|
|
3287
|
+
id: number;
|
|
3288
|
+
organizationId: number;
|
|
3289
|
+
startDate: string;
|
|
3290
|
+
endDate: string;
|
|
3291
|
+
sportId: number;
|
|
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
|
+
}
|
|
3298
3312
|
export declare enum ImportPaymentTypeEnum {
|
|
3299
3313
|
CREDIT_CARD = "card",
|
|
3300
3314
|
ACH = "ach",
|
|
@@ -3422,20 +3436,41 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3422
3436
|
createdAt: Date;
|
|
3423
3437
|
updatedAt: Date;
|
|
3424
3438
|
}
|
|
3425
|
-
export declare class
|
|
3439
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3440
|
+
seasonId: number;
|
|
3441
|
+
ordinal?: number;
|
|
3442
|
+
divisionId?: number;
|
|
3426
3443
|
name: string;
|
|
3427
|
-
locked?: Date;
|
|
3428
3444
|
}
|
|
3429
3445
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3430
3446
|
teamId: number | null;
|
|
3431
3447
|
eventId: number | null;
|
|
3432
3448
|
status: number | null;
|
|
3433
3449
|
}
|
|
3434
|
-
export declare class
|
|
3435
|
-
seasonId: number;
|
|
3436
|
-
ordinal?: number;
|
|
3437
|
-
divisionId?: number;
|
|
3450
|
+
export declare class Lock extends BondBaseEntity {
|
|
3438
3451
|
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;
|
|
3439
3474
|
}
|
|
3440
3475
|
export declare class CreateMonitorConfigDto {
|
|
3441
3476
|
facilityId: number;
|
|
@@ -3443,6 +3478,11 @@ export declare class CreateMonitorConfigDto {
|
|
|
3443
3478
|
code: string;
|
|
3444
3479
|
config: any;
|
|
3445
3480
|
}
|
|
3481
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3482
|
+
facilityId: number;
|
|
3483
|
+
code: string;
|
|
3484
|
+
config?: any;
|
|
3485
|
+
}
|
|
3446
3486
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3447
3487
|
userId: number;
|
|
3448
3488
|
organizationId: number;
|
|
@@ -3450,11 +3490,6 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3450
3490
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3451
3491
|
destination: string;
|
|
3452
3492
|
}
|
|
3453
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3454
|
-
facilityId: number;
|
|
3455
|
-
code: string;
|
|
3456
|
-
config?: any;
|
|
3457
|
-
}
|
|
3458
3493
|
export declare class ByOrganizationIdDto {
|
|
3459
3494
|
organizationId: number;
|
|
3460
3495
|
}
|
|
@@ -3552,27 +3587,6 @@ export interface Duration {
|
|
|
3552
3587
|
startDate: string;
|
|
3553
3588
|
endDate: string;
|
|
3554
3589
|
}
|
|
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
|
-
}
|
|
3576
3590
|
export declare class CustomerIdDto {
|
|
3577
3591
|
customerId: number;
|
|
3578
3592
|
}
|
|
@@ -3721,16 +3735,6 @@ export declare class VoidLineItemDto {
|
|
|
3721
3735
|
isEdit?: boolean;
|
|
3722
3736
|
amount?: number;
|
|
3723
3737
|
}
|
|
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
|
-
}
|
|
3734
3738
|
export interface PaymentResult {
|
|
3735
3739
|
paymentMethodId: string;
|
|
3736
3740
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3756,6 +3760,34 @@ export interface ExtendedLineItems {
|
|
|
3756
3760
|
products: LineItems[];
|
|
3757
3761
|
events: LineItems[];
|
|
3758
3762
|
}
|
|
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
|
+
}
|
|
3759
3791
|
export declare class InvoiceDto {
|
|
3760
3792
|
invoiceId?: string | null;
|
|
3761
3793
|
organizationId: number;
|
|
@@ -3838,24 +3870,6 @@ export declare class PurchasedResourceDto {
|
|
|
3838
3870
|
endDate?: string;
|
|
3839
3871
|
endTime?: string;
|
|
3840
3872
|
}
|
|
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
|
-
}
|
|
3859
3873
|
export declare class ReservationDto {
|
|
3860
3874
|
id?: number;
|
|
3861
3875
|
organizationId?: number;
|
|
@@ -4305,6 +4319,29 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4305
4319
|
conflictsCount?: number;
|
|
4306
4320
|
conflicts?: Slot[];
|
|
4307
4321
|
}
|
|
4322
|
+
export declare class ChangeRolePermissionsDto {
|
|
4323
|
+
permissionIds: number[];
|
|
4324
|
+
}
|
|
4325
|
+
export declare class CreateRoleDto {
|
|
4326
|
+
name: string;
|
|
4327
|
+
}
|
|
4328
|
+
export declare class Permission extends BondBaseEntity {
|
|
4329
|
+
name: string;
|
|
4330
|
+
deletedAt?: Date;
|
|
4331
|
+
}
|
|
4332
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4333
|
+
name: string;
|
|
4334
|
+
deletedAt?: Date;
|
|
4335
|
+
permissions: Permission[];
|
|
4336
|
+
usersRoles: UserRole[];
|
|
4337
|
+
}
|
|
4338
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4339
|
+
deletedAt?: Date;
|
|
4340
|
+
userId: number;
|
|
4341
|
+
roleId: number;
|
|
4342
|
+
role: Role;
|
|
4343
|
+
user: User;
|
|
4344
|
+
}
|
|
4308
4345
|
export declare type TSlotAndType = {
|
|
4309
4346
|
type: 'slots' | 'slot_addons';
|
|
4310
4347
|
slotsForProduct: {
|
|
@@ -4537,43 +4574,6 @@ export interface AddonMetadata {
|
|
|
4537
4574
|
totalPrice: number;
|
|
4538
4575
|
product?: Product;
|
|
4539
4576
|
}
|
|
4540
|
-
export declare class ChangeRolePermissionsDto {
|
|
4541
|
-
permissionIds: number[];
|
|
4542
|
-
}
|
|
4543
|
-
export declare class CreateRoleDto {
|
|
4544
|
-
name: string;
|
|
4545
|
-
}
|
|
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[];
|
|
4559
|
-
}
|
|
4560
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4561
|
-
name: string;
|
|
4562
|
-
deletedAt?: Date;
|
|
4563
|
-
permissions: Permission[];
|
|
4564
|
-
usersRoles: UserRole[];
|
|
4565
|
-
}
|
|
4566
|
-
export declare class Permission extends BondBaseEntity {
|
|
4567
|
-
name: string;
|
|
4568
|
-
deletedAt?: Date;
|
|
4569
|
-
}
|
|
4570
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4571
|
-
deletedAt?: Date;
|
|
4572
|
-
userId: number;
|
|
4573
|
-
roleId: number;
|
|
4574
|
-
role: Role;
|
|
4575
|
-
user: User;
|
|
4576
|
-
}
|
|
4577
4577
|
export declare class CloseShiftDto {
|
|
4578
4578
|
closingCashAmount: number;
|
|
4579
4579
|
}
|