@bondsports/types 0.0.177 → 0.0.179
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 +1264 -1232
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
23
30
|
export declare enum EConfigurationKeys {
|
|
24
31
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
25
32
|
}
|
|
@@ -27,67 +34,6 @@ export declare enum EFailedPaymentReasons {
|
|
|
27
34
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
28
35
|
UNKNOWN = "unknown"
|
|
29
36
|
}
|
|
30
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
-
membershipId: number;
|
|
32
|
-
}
|
|
33
|
-
export declare class ImportProductsFromDB {
|
|
34
|
-
buDate: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportCustomerFromCSV {
|
|
37
|
-
fileName: string;
|
|
38
|
-
startIndex?: number;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
-
resolveInvoices: string;
|
|
42
|
-
}
|
|
43
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
-
membershipId: number;
|
|
45
|
-
onlyDashIds: string;
|
|
46
|
-
}
|
|
47
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
-
facilityId: number;
|
|
49
|
-
}
|
|
50
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
-
customerId: number;
|
|
52
|
-
}
|
|
53
|
-
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
54
|
-
userId: number;
|
|
55
|
-
}
|
|
56
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
57
|
-
nameSearch?: string;
|
|
58
|
-
fuzzy?: string;
|
|
59
|
-
customerType?: CustomerTypeEnum;
|
|
60
|
-
customersIds?: string;
|
|
61
|
-
}
|
|
62
|
-
export declare class AddCustomerNotesDto {
|
|
63
|
-
customerNotes: CustomerNoteDto[];
|
|
64
|
-
}
|
|
65
|
-
export declare class CustomerNoteDto {
|
|
66
|
-
id?: number;
|
|
67
|
-
description: string;
|
|
68
|
-
pinToTop?: boolean;
|
|
69
|
-
}
|
|
70
|
-
export declare class AddEditCustomerDto {
|
|
71
|
-
firstName?: string;
|
|
72
|
-
lastName?: string;
|
|
73
|
-
entityId?: number;
|
|
74
|
-
entityType?: CustomerTypeEnum;
|
|
75
|
-
email?: string;
|
|
76
|
-
color?: string;
|
|
77
|
-
street?: string;
|
|
78
|
-
city?: string;
|
|
79
|
-
state?: string;
|
|
80
|
-
zip?: string;
|
|
81
|
-
phoneNumber?: string;
|
|
82
|
-
mainMediaId?: number;
|
|
83
|
-
creatorId?: number;
|
|
84
|
-
creatorType?: ResourceNameTypeEnum;
|
|
85
|
-
userCreatorId?: number;
|
|
86
|
-
gender?: GenderEnum;
|
|
87
|
-
birthDate?: string;
|
|
88
|
-
emergencyContactName?: string;
|
|
89
|
-
emergencyContactPhone?: string;
|
|
90
|
-
}
|
|
91
37
|
export declare class FindEventByIdDto {
|
|
92
38
|
eventId: number;
|
|
93
39
|
organizationId: number;
|
|
@@ -188,6 +134,67 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
188
134
|
isWaiverSigned?: string;
|
|
189
135
|
statuses?: string;
|
|
190
136
|
}
|
|
137
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
138
|
+
membershipId: number;
|
|
139
|
+
}
|
|
140
|
+
export declare class ImportProductsFromDB {
|
|
141
|
+
buDate: string;
|
|
142
|
+
}
|
|
143
|
+
export declare class ImportCustomerFromCSV {
|
|
144
|
+
fileName: string;
|
|
145
|
+
startIndex?: number;
|
|
146
|
+
}
|
|
147
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
148
|
+
resolveInvoices: string;
|
|
149
|
+
}
|
|
150
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
151
|
+
membershipId: number;
|
|
152
|
+
onlyDashIds: string;
|
|
153
|
+
}
|
|
154
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
155
|
+
facilityId: number;
|
|
156
|
+
}
|
|
157
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
158
|
+
customerId: number;
|
|
159
|
+
}
|
|
160
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
161
|
+
userId: number;
|
|
162
|
+
}
|
|
163
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
164
|
+
nameSearch?: string;
|
|
165
|
+
fuzzy?: string;
|
|
166
|
+
customerType?: CustomerTypeEnum;
|
|
167
|
+
customersIds?: string;
|
|
168
|
+
}
|
|
169
|
+
export declare class AddCustomerNotesDto {
|
|
170
|
+
customerNotes: CustomerNoteDto[];
|
|
171
|
+
}
|
|
172
|
+
export declare class CustomerNoteDto {
|
|
173
|
+
id?: number;
|
|
174
|
+
description: string;
|
|
175
|
+
pinToTop?: boolean;
|
|
176
|
+
}
|
|
177
|
+
export declare class AddEditCustomerDto {
|
|
178
|
+
firstName?: string;
|
|
179
|
+
lastName?: string;
|
|
180
|
+
entityId?: number;
|
|
181
|
+
entityType?: CustomerTypeEnum;
|
|
182
|
+
email?: string;
|
|
183
|
+
color?: string;
|
|
184
|
+
street?: string;
|
|
185
|
+
city?: string;
|
|
186
|
+
state?: string;
|
|
187
|
+
zip?: string;
|
|
188
|
+
phoneNumber?: string;
|
|
189
|
+
mainMediaId?: number;
|
|
190
|
+
creatorId?: number;
|
|
191
|
+
creatorType?: ResourceNameTypeEnum;
|
|
192
|
+
userCreatorId?: number;
|
|
193
|
+
gender?: GenderEnum;
|
|
194
|
+
birthDate?: string;
|
|
195
|
+
emergencyContactName?: string;
|
|
196
|
+
emergencyContactPhone?: string;
|
|
197
|
+
}
|
|
191
198
|
export declare class AddressDto {
|
|
192
199
|
city: string;
|
|
193
200
|
state: string;
|
|
@@ -285,69 +292,6 @@ export declare class GetGlCodeDto {
|
|
|
285
292
|
createdAt: Date;
|
|
286
293
|
updatedAt: Date;
|
|
287
294
|
}
|
|
288
|
-
export declare class CreateMembershipDto {
|
|
289
|
-
organizationId: number;
|
|
290
|
-
name: string;
|
|
291
|
-
description?: string;
|
|
292
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
293
|
-
activity: SportsEnum;
|
|
294
|
-
facilityId: number;
|
|
295
|
-
questionnaires: number[];
|
|
296
|
-
minAgeYears: number;
|
|
297
|
-
maxAgeYears: number;
|
|
298
|
-
gender: GenderEnum;
|
|
299
|
-
maxMembers?: number;
|
|
300
|
-
maxMaleMembers?: number;
|
|
301
|
-
maxFemaleMembers?: number;
|
|
302
|
-
startDate: string;
|
|
303
|
-
endDate: string;
|
|
304
|
-
registrationStartDate?: Date;
|
|
305
|
-
registrationEndDate?: Date;
|
|
306
|
-
membershipType: MembershipTypeEnum;
|
|
307
|
-
durationMonths: number;
|
|
308
|
-
longDescription?: string;
|
|
309
|
-
isAutoRenew?: boolean;
|
|
310
|
-
}
|
|
311
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
312
|
-
id: number;
|
|
313
|
-
}
|
|
314
|
-
export declare class UpdateMembershipMediaDto {
|
|
315
|
-
membershipId: number;
|
|
316
|
-
mediaId: number;
|
|
317
|
-
}
|
|
318
|
-
export declare class FindMembershipByIdDto {
|
|
319
|
-
membershipId: number;
|
|
320
|
-
}
|
|
321
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
322
|
-
organizationId: number;
|
|
323
|
-
}
|
|
324
|
-
export declare class FindMembershipsByUserIdDto {
|
|
325
|
-
userId: number;
|
|
326
|
-
}
|
|
327
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
328
|
-
startDate: string;
|
|
329
|
-
}
|
|
330
|
-
export declare class MembershipIdsDto {
|
|
331
|
-
membershipIds?: number[];
|
|
332
|
-
}
|
|
333
|
-
export declare class MemberIdDto {
|
|
334
|
-
memberId?: number;
|
|
335
|
-
}
|
|
336
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
337
|
-
nameEmailSearch?: string;
|
|
338
|
-
pastMemberships?: string;
|
|
339
|
-
}
|
|
340
|
-
export declare class CancelMembershipDto {
|
|
341
|
-
isImmediatelyCancel: boolean;
|
|
342
|
-
cancellationReason?: string;
|
|
343
|
-
}
|
|
344
|
-
export declare class FindBookingTypeSettingDto {
|
|
345
|
-
organizationId: number;
|
|
346
|
-
facilityId: number;
|
|
347
|
-
spaceId: number;
|
|
348
|
-
bookingDate: string;
|
|
349
|
-
bookingTime: string;
|
|
350
|
-
}
|
|
351
295
|
export declare class FindByProgramSeasonIdDto {
|
|
352
296
|
seasonId: number;
|
|
353
297
|
}
|
|
@@ -421,6 +365,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
421
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
422
366
|
fileName: string;
|
|
423
367
|
}
|
|
368
|
+
export declare class CreateMembershipDto {
|
|
369
|
+
organizationId: number;
|
|
370
|
+
name: string;
|
|
371
|
+
description?: string;
|
|
372
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
373
|
+
activity: SportsEnum;
|
|
374
|
+
facilityId: number;
|
|
375
|
+
questionnaires: number[];
|
|
376
|
+
minAgeYears: number;
|
|
377
|
+
maxAgeYears: number;
|
|
378
|
+
gender: GenderEnum;
|
|
379
|
+
maxMembers?: number;
|
|
380
|
+
maxMaleMembers?: number;
|
|
381
|
+
maxFemaleMembers?: number;
|
|
382
|
+
startDate: string;
|
|
383
|
+
endDate: string;
|
|
384
|
+
registrationStartDate?: Date;
|
|
385
|
+
registrationEndDate?: Date;
|
|
386
|
+
membershipType: MembershipTypeEnum;
|
|
387
|
+
durationMonths: number;
|
|
388
|
+
longDescription?: string;
|
|
389
|
+
isAutoRenew?: boolean;
|
|
390
|
+
}
|
|
391
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
392
|
+
id: number;
|
|
393
|
+
}
|
|
394
|
+
export declare class UpdateMembershipMediaDto {
|
|
395
|
+
membershipId: number;
|
|
396
|
+
mediaId: number;
|
|
397
|
+
}
|
|
398
|
+
export declare class FindMembershipByIdDto {
|
|
399
|
+
membershipId: number;
|
|
400
|
+
}
|
|
401
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
402
|
+
organizationId: number;
|
|
403
|
+
}
|
|
404
|
+
export declare class FindMembershipsByUserIdDto {
|
|
405
|
+
userId: number;
|
|
406
|
+
}
|
|
407
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
408
|
+
startDate: string;
|
|
409
|
+
}
|
|
410
|
+
export declare class MembershipIdsDto {
|
|
411
|
+
membershipIds?: number[];
|
|
412
|
+
}
|
|
413
|
+
export declare class MemberIdDto {
|
|
414
|
+
memberId?: number;
|
|
415
|
+
}
|
|
416
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
417
|
+
nameEmailSearch?: string;
|
|
418
|
+
pastMemberships?: string;
|
|
419
|
+
}
|
|
420
|
+
export declare class CancelMembershipDto {
|
|
421
|
+
isImmediatelyCancel: boolean;
|
|
422
|
+
cancellationReason?: string;
|
|
423
|
+
}
|
|
424
424
|
export declare class CreateEntitlementTermsDto {
|
|
425
425
|
organizationId: number;
|
|
426
426
|
entitlementGroupId: number;
|
|
@@ -722,7 +722,8 @@ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganization
|
|
|
722
722
|
seasonId: number;
|
|
723
723
|
}
|
|
724
724
|
export declare class FindSeasonEventsQueryDto {
|
|
725
|
-
startDateFilter?:
|
|
725
|
+
startDateFilter?: EComparisonFilter;
|
|
726
|
+
endDateFilter?: EComparisonFilter;
|
|
726
727
|
}
|
|
727
728
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
728
729
|
seasonId: number;
|
|
@@ -1013,6 +1014,14 @@ export declare class ResourceDto {
|
|
|
1013
1014
|
type: ResourceNameTypeEnum;
|
|
1014
1015
|
id: number;
|
|
1015
1016
|
}
|
|
1017
|
+
export declare class CreateResourceGroupDto {
|
|
1018
|
+
name: string;
|
|
1019
|
+
parentSlotId: number;
|
|
1020
|
+
facilityId: number;
|
|
1021
|
+
childrenSlotIds: number[];
|
|
1022
|
+
}
|
|
1023
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1024
|
+
}
|
|
1016
1025
|
export declare class SpaceByIdDto {
|
|
1017
1026
|
spaceId: number;
|
|
1018
1027
|
}
|
|
@@ -1079,14 +1088,6 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1079
1088
|
publicToken: string;
|
|
1080
1089
|
accountId: string;
|
|
1081
1090
|
}
|
|
1082
|
-
export declare class CreateResourceGroupDto {
|
|
1083
|
-
name: string;
|
|
1084
|
-
parentSlotId: number;
|
|
1085
|
-
facilityId: number;
|
|
1086
|
-
childrenSlotIds: number[];
|
|
1087
|
-
}
|
|
1088
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1089
|
-
}
|
|
1090
1091
|
export declare class FindByUserIdDto {
|
|
1091
1092
|
userId: number;
|
|
1092
1093
|
}
|
|
@@ -1109,16 +1110,18 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1109
1110
|
oldValue?: any;
|
|
1110
1111
|
newValue?: any;
|
|
1111
1112
|
}
|
|
1112
|
-
export declare class
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
country?: string;
|
|
1119
|
-
state?: string;
|
|
1120
|
-
geo: any;
|
|
1113
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1114
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1115
|
+
parentId: number;
|
|
1116
|
+
dayOfWeek: number;
|
|
1117
|
+
open: string;
|
|
1118
|
+
close: string;
|
|
1121
1119
|
deletedAt?: Date;
|
|
1120
|
+
program: ProgramSeason;
|
|
1121
|
+
availabilityStartDate: string;
|
|
1122
|
+
availabilityEndDate: string;
|
|
1123
|
+
proudct: Product;
|
|
1124
|
+
event: Event;
|
|
1122
1125
|
}
|
|
1123
1126
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1124
1127
|
questionId: number;
|
|
@@ -1133,15 +1136,16 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1133
1136
|
metaData: any | null;
|
|
1134
1137
|
questionText: string | null;
|
|
1135
1138
|
}
|
|
1136
|
-
export declare class
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1139
|
+
export declare class Address extends BondBaseEntity {
|
|
1140
|
+
city?: string;
|
|
1141
|
+
street?: string;
|
|
1142
|
+
streetNum?: string;
|
|
1143
|
+
aptNum?: string;
|
|
1144
|
+
zip?: string;
|
|
1145
|
+
country?: string;
|
|
1146
|
+
state?: string;
|
|
1147
|
+
geo: any;
|
|
1148
|
+
deletedAt?: Date;
|
|
1145
1149
|
}
|
|
1146
1150
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
1151
|
questionnaireId: number;
|
|
@@ -1149,6 +1153,11 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1149
1153
|
answers: Answer[];
|
|
1150
1154
|
questionnaire: Questionnaires;
|
|
1151
1155
|
}
|
|
1156
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1157
|
+
athleteId: number | null;
|
|
1158
|
+
sports: number | null;
|
|
1159
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1160
|
+
}
|
|
1152
1161
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1153
1162
|
entityType: ResourceNameTypeEnum;
|
|
1154
1163
|
entityId: number;
|
|
@@ -1180,18 +1189,15 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1180
1189
|
publicNotes?: string;
|
|
1181
1190
|
slotType?: SlotTypeEnum;
|
|
1182
1191
|
}
|
|
1183
|
-
export declare class
|
|
1184
|
-
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1192
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1185
1193
|
parentId: number;
|
|
1194
|
+
parentType: ResourceNameTypeEnum;
|
|
1195
|
+
startDate: Date;
|
|
1196
|
+
endDate: Date;
|
|
1186
1197
|
dayOfWeek: number;
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
program: ProgramSeason;
|
|
1191
|
-
availabilityStartDate: string;
|
|
1192
|
-
availabilityEndDate: string;
|
|
1193
|
-
proudct: Product;
|
|
1194
|
-
event: Event;
|
|
1198
|
+
startTimeInDay: string;
|
|
1199
|
+
endTimeInDay: string;
|
|
1200
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1195
1201
|
}
|
|
1196
1202
|
export declare class Configuration extends BondBaseEntity {
|
|
1197
1203
|
area: string;
|
|
@@ -1210,16 +1216,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1210
1216
|
userCreatorId: number | null;
|
|
1211
1217
|
ownerId: number | null;
|
|
1212
1218
|
}
|
|
1213
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1214
|
-
parentId: number;
|
|
1215
|
-
parentType: ResourceNameTypeEnum;
|
|
1216
|
-
startDate: Date;
|
|
1217
|
-
endDate: Date;
|
|
1218
|
-
dayOfWeek: number;
|
|
1219
|
-
startTimeInDay: string;
|
|
1220
|
-
endTimeInDay: string;
|
|
1221
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1222
|
-
}
|
|
1223
1219
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1224
1220
|
creditAmount: number;
|
|
1225
1221
|
paymentProcessorId: string;
|
|
@@ -1411,6 +1407,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1411
1407
|
chargedAt?: Date;
|
|
1412
1408
|
originalPlannedDate?: Date;
|
|
1413
1409
|
}
|
|
1410
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
|
+
groupId: number;
|
|
1412
|
+
itemId: number;
|
|
1413
|
+
itemType: ResourceNameTypeEnum;
|
|
1414
|
+
startDate: Date;
|
|
1415
|
+
endDate: Date;
|
|
1416
|
+
price: number;
|
|
1417
|
+
overridesPrice: boolean;
|
|
1418
|
+
deletedAt?: Date;
|
|
1419
|
+
group?: EntitlementGroup;
|
|
1420
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1421
|
+
discountValue?: number;
|
|
1422
|
+
}
|
|
1423
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1424
|
+
code: string;
|
|
1425
|
+
}
|
|
1414
1426
|
export declare class Group extends BondBaseEntity {
|
|
1415
1427
|
name: string;
|
|
1416
1428
|
description?: string;
|
|
@@ -1427,22 +1439,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1427
1439
|
members: ISeasonAttendeeInfo[];
|
|
1428
1440
|
users: User[];
|
|
1429
1441
|
}
|
|
1430
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1431
|
-
code: string;
|
|
1432
|
-
}
|
|
1433
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1434
|
-
groupId: number;
|
|
1435
|
-
itemId: number;
|
|
1436
|
-
itemType: ResourceNameTypeEnum;
|
|
1437
|
-
startDate: Date;
|
|
1438
|
-
endDate: Date;
|
|
1439
|
-
price: number;
|
|
1440
|
-
overridesPrice: boolean;
|
|
1441
|
-
deletedAt?: Date;
|
|
1442
|
-
group?: EntitlementGroup;
|
|
1443
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1444
|
-
discountValue?: number;
|
|
1445
|
-
}
|
|
1446
1442
|
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1447
1443
|
groupId: number;
|
|
1448
1444
|
divisionId: number;
|
|
@@ -1755,12 +1751,6 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1755
1751
|
isMandatory: boolean;
|
|
1756
1752
|
productId: number;
|
|
1757
1753
|
}
|
|
1758
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
|
-
token: string | null;
|
|
1760
|
-
userId: number | null;
|
|
1761
|
-
validUntil: Date | null;
|
|
1762
|
-
active: boolean | null;
|
|
1763
|
-
}
|
|
1764
1754
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1765
1755
|
price: number;
|
|
1766
1756
|
paymentProcessorId: string;
|
|
@@ -1788,6 +1778,12 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1788
1778
|
refundReasonId?: number;
|
|
1789
1779
|
refundNote?: string;
|
|
1790
1780
|
}
|
|
1781
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1782
|
+
token: string | null;
|
|
1783
|
+
userId: number | null;
|
|
1784
|
+
validUntil: Date | null;
|
|
1785
|
+
active: boolean | null;
|
|
1786
|
+
}
|
|
1791
1787
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1792
1788
|
failureIndex: number;
|
|
1793
1789
|
waitingDays: number;
|
|
@@ -1798,6 +1794,12 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1798
1794
|
reason: EFailedPaymentReasons;
|
|
1799
1795
|
errorMessage: string;
|
|
1800
1796
|
}
|
|
1797
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1798
|
+
paymentPlanId: number;
|
|
1799
|
+
paymentDate: Date;
|
|
1800
|
+
deletedAt?: Date;
|
|
1801
|
+
paymentPlan: ProductPaymentPlan;
|
|
1802
|
+
}
|
|
1801
1803
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1802
1804
|
content: string;
|
|
1803
1805
|
creatingUserId: number;
|
|
@@ -1807,12 +1809,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1807
1809
|
paymentId: number;
|
|
1808
1810
|
payment: Payment;
|
|
1809
1811
|
}
|
|
1810
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1811
|
-
paymentPlanId: number;
|
|
1812
|
-
paymentDate: Date;
|
|
1813
|
-
deletedAt?: Date;
|
|
1814
|
-
paymentPlan: ProductPaymentPlan;
|
|
1815
|
-
}
|
|
1816
1812
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1817
1813
|
userId: number | null;
|
|
1818
1814
|
ownerId: number | null;
|
|
@@ -1848,6 +1844,21 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1848
1844
|
discountValue?: number;
|
|
1849
1845
|
taxIncludedPrice?: number;
|
|
1850
1846
|
}
|
|
1847
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1848
|
+
parentProductId: number;
|
|
1849
|
+
childProductId: number;
|
|
1850
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1851
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1852
|
+
deletedAt?: Date;
|
|
1853
|
+
productResource: ProductResource;
|
|
1854
|
+
childProduct: Product;
|
|
1855
|
+
parentProduct: Product;
|
|
1856
|
+
price: number;
|
|
1857
|
+
isFlatPrice: boolean;
|
|
1858
|
+
durationMinutes?: number;
|
|
1859
|
+
durationDays?: number;
|
|
1860
|
+
level?: ProductPackageLevelEnum;
|
|
1861
|
+
}
|
|
1851
1862
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1852
1863
|
name: string;
|
|
1853
1864
|
quantity: number;
|
|
@@ -1898,21 +1909,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1898
1909
|
activityTimes: ActivityTimes[];
|
|
1899
1910
|
purchasedResources: PurchasedResource[];
|
|
1900
1911
|
}
|
|
1901
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1902
|
-
parentProductId: number;
|
|
1903
|
-
childProductId: number;
|
|
1904
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1905
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1906
|
-
deletedAt?: Date;
|
|
1907
|
-
productResource: ProductResource;
|
|
1908
|
-
childProduct: Product;
|
|
1909
|
-
parentProduct: Product;
|
|
1910
|
-
price: number;
|
|
1911
|
-
isFlatPrice: boolean;
|
|
1912
|
-
durationMinutes?: number;
|
|
1913
|
-
durationDays?: number;
|
|
1914
|
-
level?: ProductPackageLevelEnum;
|
|
1915
|
-
}
|
|
1916
1912
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1917
1913
|
productId: number;
|
|
1918
1914
|
maxMonths?: number;
|
|
@@ -1922,6 +1918,10 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
|
|
|
1922
1918
|
schedule: PaymentPlanSchedule[];
|
|
1923
1919
|
product?: Product;
|
|
1924
1920
|
}
|
|
1921
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1922
|
+
productId: number;
|
|
1923
|
+
variantTitleId: number;
|
|
1924
|
+
}
|
|
1925
1925
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
1926
|
productId: number;
|
|
1927
1927
|
resourceId: number;
|
|
@@ -1933,10 +1933,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1933
1933
|
productPackages: ProductPackage[];
|
|
1934
1934
|
resourceName?: string;
|
|
1935
1935
|
}
|
|
1936
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1937
|
-
productId: number;
|
|
1938
|
-
variantTitleId: number;
|
|
1939
|
-
}
|
|
1940
1936
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1941
1937
|
productId: number;
|
|
1942
1938
|
variantId: number;
|
|
@@ -2072,23 +2068,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2072
2068
|
product?: Product;
|
|
2073
2069
|
event?: Event;
|
|
2074
2070
|
}
|
|
2075
|
-
export declare class
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
export declare class Questions extends BondBaseEntity {
|
|
2080
|
-
questionType: string | null;
|
|
2081
|
-
ordinal: number | null;
|
|
2082
|
-
pageOrdinal: number | null;
|
|
2083
|
-
isActive: boolean | null;
|
|
2084
|
-
isMandatory: boolean | null;
|
|
2085
|
-
metaData: any | null;
|
|
2086
|
-
question: string | null;
|
|
2087
|
-
creatorId: number | null;
|
|
2088
|
-
creatorType: string | null;
|
|
2089
|
-
userCreatorId: number | null;
|
|
2090
|
-
ownerId: number | null;
|
|
2091
|
-
questionnaireId: number | null;
|
|
2071
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2072
|
+
reason: string;
|
|
2073
|
+
ordinal: number;
|
|
2074
|
+
deletedAt: Date;
|
|
2092
2075
|
}
|
|
2093
2076
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2094
2077
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -2101,10 +2084,9 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2101
2084
|
closeTime?: string;
|
|
2102
2085
|
deletedAt?: Date;
|
|
2103
2086
|
}
|
|
2104
|
-
export declare class
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
deletedAt: Date;
|
|
2087
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2088
|
+
title: string | null;
|
|
2089
|
+
answerTitle: AnswerTitle;
|
|
2108
2090
|
}
|
|
2109
2091
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2110
2092
|
name?: string;
|
|
@@ -2138,6 +2120,27 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2138
2120
|
publicNotes?: string;
|
|
2139
2121
|
slots?: Slot[];
|
|
2140
2122
|
}
|
|
2123
|
+
export declare class Questions extends BondBaseEntity {
|
|
2124
|
+
questionType: string | null;
|
|
2125
|
+
ordinal: number | null;
|
|
2126
|
+
pageOrdinal: number | null;
|
|
2127
|
+
isActive: boolean | null;
|
|
2128
|
+
isMandatory: boolean | null;
|
|
2129
|
+
metaData: any | null;
|
|
2130
|
+
question: string | null;
|
|
2131
|
+
creatorId: number | null;
|
|
2132
|
+
creatorType: string | null;
|
|
2133
|
+
userCreatorId: number | null;
|
|
2134
|
+
ownerId: number | null;
|
|
2135
|
+
questionnaireId: number | null;
|
|
2136
|
+
}
|
|
2137
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2138
|
+
name: string;
|
|
2139
|
+
facilityId: number;
|
|
2140
|
+
parentSlotId: number;
|
|
2141
|
+
childrenSlotIds: number[];
|
|
2142
|
+
deletedAt?: Date;
|
|
2143
|
+
}
|
|
2141
2144
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2142
2145
|
name: string;
|
|
2143
2146
|
resourceType: ResourceTypeEnum;
|
|
@@ -2166,13 +2169,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2166
2169
|
purchasedResources: PurchasedResource[];
|
|
2167
2170
|
linkSEO: string;
|
|
2168
2171
|
}
|
|
2169
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2170
|
-
name: string;
|
|
2171
|
-
facilityId: number;
|
|
2172
|
-
parentSlotId: number;
|
|
2173
|
-
childrenSlotIds: number[];
|
|
2174
|
-
deletedAt?: Date;
|
|
2175
|
-
}
|
|
2176
2172
|
export declare class School extends BondBaseEntity {
|
|
2177
2173
|
name: string | null;
|
|
2178
2174
|
alias: string[] | null;
|
|
@@ -2300,15 +2296,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2300
2296
|
tokenExpirationDate: Date;
|
|
2301
2297
|
isUsed: boolean;
|
|
2302
2298
|
}
|
|
2303
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2304
|
-
teamId: number | null;
|
|
2305
|
-
userId: number | null;
|
|
2306
|
-
paymentId: number | null;
|
|
2307
|
-
hasPaid: boolean | null;
|
|
2308
|
-
status: TeamMemberStatusEnum | null;
|
|
2309
|
-
role: TeamMemberRoleEnum;
|
|
2310
|
-
user: User;
|
|
2311
|
-
}
|
|
2312
2299
|
export declare class User extends BondBaseEntity {
|
|
2313
2300
|
firstName: string | null;
|
|
2314
2301
|
lastName: string | null;
|
|
@@ -2348,20 +2335,21 @@ export declare class User extends BondBaseEntity {
|
|
|
2348
2335
|
invoiceNotes: InvoiceNote[];
|
|
2349
2336
|
paymentNotes: PaymentNote[];
|
|
2350
2337
|
}
|
|
2338
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2339
|
+
teamId: number | null;
|
|
2340
|
+
userId: number | null;
|
|
2341
|
+
paymentId: number | null;
|
|
2342
|
+
hasPaid: boolean | null;
|
|
2343
|
+
status: TeamMemberStatusEnum | null;
|
|
2344
|
+
role: TeamMemberRoleEnum;
|
|
2345
|
+
user: User;
|
|
2346
|
+
}
|
|
2351
2347
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2352
2348
|
entityId: number | null;
|
|
2353
2349
|
userId: number | null;
|
|
2354
2350
|
entityType: UserAuthorizationsTypeEnum;
|
|
2355
2351
|
user: User;
|
|
2356
2352
|
}
|
|
2357
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2358
|
-
familyAccountId: number;
|
|
2359
|
-
userId: number;
|
|
2360
|
-
isAdmin: boolean;
|
|
2361
|
-
user: User;
|
|
2362
|
-
familyAccount: FamilyAccount;
|
|
2363
|
-
deletedAt?: Date;
|
|
2364
|
-
}
|
|
2365
2353
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
2354
|
userId: number;
|
|
2367
2355
|
failCount: number;
|
|
@@ -2393,909 +2381,923 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2393
2381
|
membershipCollectionId?: string;
|
|
2394
2382
|
programsCollectionId?: string;
|
|
2395
2383
|
}
|
|
2396
|
-
export
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
EVENT = "event",
|
|
2403
|
-
VENUE = "venue",
|
|
2404
|
-
TEAM = "team",
|
|
2405
|
-
LEAGUE = "league",
|
|
2406
|
-
USER = "user",
|
|
2407
|
-
ORGANIZATION = "organization",
|
|
2408
|
-
APP = "app",
|
|
2409
|
-
FEED = "feed",
|
|
2410
|
-
MATCH = "match",
|
|
2411
|
-
ROUND = "round",
|
|
2412
|
-
PORTAL = "portal",
|
|
2413
|
-
SEASON = "season",
|
|
2414
|
-
TOURNAMENT = "tournament",
|
|
2415
|
-
MEMBERSHIP = "membership",
|
|
2416
|
-
DIVISION = "division",
|
|
2417
|
-
GAMESLOT = "gameslot",
|
|
2418
|
-
SPACE = "space",
|
|
2419
|
-
RESERVATION = "reservation",
|
|
2420
|
-
INVOICE = "invoice",
|
|
2421
|
-
CUSTOMER = "customer",
|
|
2422
|
-
PACKAGE = "package",
|
|
2423
|
-
FACILITY = "facility",
|
|
2424
|
-
PROGRAM = "program",
|
|
2425
|
-
PROGRAM_SEASON = "program_season",
|
|
2426
|
-
PRODUCT = "product",
|
|
2427
|
-
GROUP = "group",
|
|
2428
|
-
VARIANT = "variant",
|
|
2429
|
-
SLOT = "slot",
|
|
2430
|
-
ADDON = "addon"
|
|
2431
|
-
}
|
|
2432
|
-
export declare enum DirectBookingTypesEnum {
|
|
2433
|
-
DIRECT_FOR_ALL = "all",
|
|
2434
|
-
DIRECT_FOR_NONE = "none",
|
|
2435
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2436
|
-
NO_SETTING = "no_setting"
|
|
2384
|
+
export interface IEntitlementTerms {
|
|
2385
|
+
type: EntitlementTermsTypesEnum;
|
|
2386
|
+
id?: number;
|
|
2387
|
+
value?: string;
|
|
2388
|
+
minValue?: string;
|
|
2389
|
+
maxValue?: string;
|
|
2437
2390
|
}
|
|
2438
|
-
export
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
FEMALE = 3
|
|
2391
|
+
export interface IQuestionAnswerObject {
|
|
2392
|
+
questionId: number;
|
|
2393
|
+
value: string;
|
|
2442
2394
|
}
|
|
2443
|
-
export
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2395
|
+
export interface ILowestPriceForItem {
|
|
2396
|
+
itemId: number;
|
|
2397
|
+
itemType: ResourceNameTypeEnum;
|
|
2398
|
+
groupId: number;
|
|
2399
|
+
groupName?: string;
|
|
2400
|
+
price: number;
|
|
2401
|
+
overridesPrice: boolean;
|
|
2449
2402
|
}
|
|
2450
|
-
export
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
LESSON = 5,
|
|
2457
|
-
CLUB_TEAM = 6
|
|
2403
|
+
export interface IResourcesAvailability {
|
|
2404
|
+
resourceType: ResourceNameTypeEnum;
|
|
2405
|
+
quantity: number;
|
|
2406
|
+
resourcesIds: number[];
|
|
2407
|
+
isPunchCard: boolean;
|
|
2408
|
+
resources?: any[];
|
|
2458
2409
|
}
|
|
2459
|
-
export
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
CAMP_CLINIC_CLASS = 3
|
|
2410
|
+
export interface IPackageResponse {
|
|
2411
|
+
parentProduct: Product;
|
|
2412
|
+
children: IChildProduct[];
|
|
2463
2413
|
}
|
|
2464
|
-
export
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
SOCCER = 4,
|
|
2469
|
-
BOWLING = 5,
|
|
2470
|
-
BOCCEBALL = 6,
|
|
2471
|
-
CORNHOLE = 7,
|
|
2472
|
-
DODGEBALL = 8,
|
|
2473
|
-
FRISBEE = 9,
|
|
2474
|
-
HOCKEY = 10,
|
|
2475
|
-
KICKBALL = 11,
|
|
2476
|
-
LACROSSE = 12,
|
|
2477
|
-
PINGPONG = 13,
|
|
2478
|
-
RUGBY = 14,
|
|
2479
|
-
SKEEBALL = 15,
|
|
2480
|
-
TENNIS = 16,
|
|
2481
|
-
VOLLEYBALL = 17,
|
|
2482
|
-
WIFFLEBALL = 18,
|
|
2483
|
-
BADMINTON = 19,
|
|
2484
|
-
FITNESS = 20,
|
|
2485
|
-
GOLF = 21,
|
|
2486
|
-
PILATES = 22,
|
|
2487
|
-
RUNNING = 23,
|
|
2488
|
-
SKIING = 24,
|
|
2489
|
-
SNOWBOARDING = 25,
|
|
2490
|
-
YOGA = 26,
|
|
2491
|
-
BROOMBALL = 27,
|
|
2492
|
-
CRICKET = 28,
|
|
2493
|
-
CROSSFIT = 29,
|
|
2494
|
-
CYCLING = 30,
|
|
2495
|
-
FIELD_HOCKEY = 31,
|
|
2496
|
-
RACQUETBALL = 32,
|
|
2497
|
-
SPINNING = 33,
|
|
2498
|
-
SQUASH = 34,
|
|
2499
|
-
SURFING = 35,
|
|
2500
|
-
SWIMMING = 36,
|
|
2501
|
-
WIND_SURFING = 37,
|
|
2502
|
-
ADVENTURE = 38,
|
|
2503
|
-
BOXING = 39,
|
|
2504
|
-
BASEBALL = 40,
|
|
2505
|
-
DANCE = 41,
|
|
2506
|
-
KICKBOXING = 42,
|
|
2507
|
-
MARTIAL_ARTS = 43,
|
|
2508
|
-
OUTDOORS = 44,
|
|
2509
|
-
ROWING = 45,
|
|
2510
|
-
SAILING = 46,
|
|
2511
|
-
SUP = 47,
|
|
2512
|
-
TRIATHLON = 48,
|
|
2513
|
-
HANDBALL = 49,
|
|
2514
|
-
CATCHBALL = 50,
|
|
2515
|
-
BLITZBALL = 51,
|
|
2516
|
-
ROLLER_DERBY = 52,
|
|
2517
|
-
ICE_SKATING = 53,
|
|
2518
|
-
PICKLEBALL = 54,
|
|
2519
|
-
AXE_THROWING = 55,
|
|
2520
|
-
FURSAL = 56,
|
|
2521
|
-
BIRTHDAY = 57,
|
|
2522
|
-
CORPRATE_EVENTS = 58,
|
|
2523
|
-
OTHER = 999
|
|
2414
|
+
export interface IChildProduct {
|
|
2415
|
+
product: Product;
|
|
2416
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2417
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2524
2418
|
}
|
|
2525
|
-
export
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2419
|
+
export interface ISeasonAttendeeInfo {
|
|
2420
|
+
applicationAnswers: Answer[];
|
|
2421
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2422
|
+
invoices: Invoice[];
|
|
2423
|
+
payments: Payment[];
|
|
2424
|
+
products: Product[];
|
|
2425
|
+
redeemNext: ProductsUsers;
|
|
2532
2426
|
}
|
|
2533
|
-
export
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2427
|
+
export interface ISeasonAttendeeListInfo {
|
|
2428
|
+
userId: number;
|
|
2429
|
+
userFirstName: string;
|
|
2430
|
+
userLastName: string;
|
|
2431
|
+
userGender: number;
|
|
2432
|
+
userBirthDate: Date;
|
|
2433
|
+
userProfilePicUrl: string;
|
|
2434
|
+
customerId: number;
|
|
2435
|
+
customerEmail: string;
|
|
2436
|
+
paymentStatus: string;
|
|
2437
|
+
productName: string;
|
|
2438
|
+
punchCard: boolean;
|
|
2545
2439
|
}
|
|
2546
|
-
export declare
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
DECLINED = 3
|
|
2440
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2441
|
+
segmentType: ResourceNameTypeEnum;
|
|
2442
|
+
participantRegisteredDate?: string;
|
|
2550
2443
|
}
|
|
2551
|
-
export declare
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
FULLY_PAID = "paid",
|
|
2555
|
-
REFUNDED = "refunded",
|
|
2556
|
-
VOID = "void"
|
|
2444
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2445
|
+
segmentType: ResourceNameTypeEnum;
|
|
2446
|
+
participantRegisteredDate?: string;
|
|
2557
2447
|
}
|
|
2558
|
-
export
|
|
2559
|
-
|
|
2448
|
+
export interface ITokenResonse {
|
|
2449
|
+
token: string;
|
|
2560
2450
|
}
|
|
2561
|
-
export
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2567
|
-
REJECTED = "Rejected",
|
|
2568
|
-
CANCELED = "Canceled"
|
|
2451
|
+
export interface IStripeBondInvoices {
|
|
2452
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2453
|
+
bondPaidPayment: Payment;
|
|
2454
|
+
invoice?: Invoice;
|
|
2455
|
+
customer?: Customer;
|
|
2569
2456
|
}
|
|
2570
|
-
export
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
REJECTED = 4,
|
|
2575
|
-
CANCELLED = 5,
|
|
2576
|
-
FRAUD = 6,
|
|
2577
|
-
NOT_RELEVANT = 7,
|
|
2578
|
-
PENDING = 8
|
|
2457
|
+
export interface IPartialPaymentData {
|
|
2458
|
+
purchasingUserId: number;
|
|
2459
|
+
paymentData: PurchasePaymentDto;
|
|
2460
|
+
amountToPay: number;
|
|
2579
2461
|
}
|
|
2580
|
-
export
|
|
2581
|
-
|
|
2582
|
-
|
|
2462
|
+
export interface IPayment {
|
|
2463
|
+
id: number;
|
|
2464
|
+
total: number;
|
|
2465
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2466
|
+
status: PaymentStatusEnum;
|
|
2467
|
+
createdAt: Date;
|
|
2468
|
+
invoices: number[];
|
|
2583
2469
|
}
|
|
2584
|
-
export
|
|
2585
|
-
|
|
2586
|
-
|
|
2470
|
+
export interface IPaginationData<T> {
|
|
2471
|
+
meta: {
|
|
2472
|
+
totalItems: number;
|
|
2473
|
+
itemsPerPage: number;
|
|
2474
|
+
totalPages: number;
|
|
2475
|
+
currentPage: number;
|
|
2476
|
+
};
|
|
2477
|
+
data: T[];
|
|
2587
2478
|
}
|
|
2588
|
-
export
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2479
|
+
export interface IPricesOfProductsResults {
|
|
2480
|
+
productId: number;
|
|
2481
|
+
userId: number;
|
|
2482
|
+
price: number;
|
|
2483
|
+
groupId?: number;
|
|
2484
|
+
groupName?: string;
|
|
2485
|
+
originalPrice?: number;
|
|
2486
|
+
priceWithoutTax: number;
|
|
2487
|
+
tax: number;
|
|
2488
|
+
isTaxInclusive: boolean;
|
|
2592
2489
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2490
|
+
export interface IPaymentMethodToFundLeft {
|
|
2491
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2492
|
+
paymentMethodId: string;
|
|
2493
|
+
fundLeft: number;
|
|
2494
|
+
ccLast4?: string;
|
|
2495
|
+
ccBrand?: string;
|
|
2595
2496
|
}
|
|
2596
|
-
export
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2497
|
+
export interface IVariantsAndTitle {
|
|
2498
|
+
title: VariantTitle;
|
|
2499
|
+
variants: Variant[];
|
|
2600
2500
|
}
|
|
2601
|
-
export
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
GOODS = "goods",
|
|
2606
|
-
PACKAGE = "package",
|
|
2607
|
-
REFUND_COMPENSATION = "refund",
|
|
2608
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2609
|
-
PETTY_CASH = "petty_cash",
|
|
2610
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2611
|
-
TAX = "tax"
|
|
2501
|
+
export interface IProgramSeasonActivityTimes {
|
|
2502
|
+
dayOfWeek: number;
|
|
2503
|
+
open: string;
|
|
2504
|
+
close: string;
|
|
2612
2505
|
}
|
|
2613
|
-
export
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
CANCELED = "canceled"
|
|
2506
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2507
|
+
date: string;
|
|
2508
|
+
startTime: string;
|
|
2509
|
+
endTime: string;
|
|
2618
2510
|
}
|
|
2619
|
-
export
|
|
2620
|
-
|
|
2621
|
-
|
|
2511
|
+
export interface IBlockedDates {
|
|
2512
|
+
name: string;
|
|
2513
|
+
startDate: Date;
|
|
2514
|
+
endDate: Date;
|
|
2622
2515
|
}
|
|
2623
|
-
export
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2516
|
+
export interface ISingleMemberForRenewal {
|
|
2517
|
+
member_id: number;
|
|
2518
|
+
member_membershipId: number;
|
|
2519
|
+
member_userId: number;
|
|
2520
|
+
member_nextPaymentMethodId?: string;
|
|
2521
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2522
|
+
member_answerTitleIds?: number[];
|
|
2523
|
+
member_organizationId: number;
|
|
2524
|
+
product_productPrice: number;
|
|
2525
|
+
product_productId: number;
|
|
2526
|
+
invoice_payingUserId: number;
|
|
2527
|
+
invoice_paymentMethodId: string;
|
|
2528
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2529
|
+
endDate: Date;
|
|
2530
|
+
membership_name: string;
|
|
2531
|
+
user_firstName: string;
|
|
2532
|
+
user_lastName: string;
|
|
2533
|
+
user_email: string;
|
|
2627
2534
|
}
|
|
2628
|
-
export
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
BALANCE = "balance",
|
|
2634
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2635
|
-
OTHER = "other",
|
|
2636
|
-
MIGRATED = "migrated",
|
|
2637
|
-
VOID = "void"
|
|
2535
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2536
|
+
package_parentProductId: number;
|
|
2537
|
+
product2_productPrice: number;
|
|
2538
|
+
familyid: number;
|
|
2539
|
+
invoice_id: number;
|
|
2638
2540
|
}
|
|
2639
|
-
export
|
|
2640
|
-
|
|
2641
|
-
|
|
2541
|
+
export interface IResourceRegistrationData {
|
|
2542
|
+
id: number;
|
|
2543
|
+
resourceType: ResourceNameTypeEnum;
|
|
2544
|
+
openNumDays?: number;
|
|
2545
|
+
openNumMinutes?: number;
|
|
2546
|
+
openTime?: string;
|
|
2547
|
+
closeNumDays?: number;
|
|
2548
|
+
closeNumMinutes?: number;
|
|
2549
|
+
closeTime?: string;
|
|
2550
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2642
2551
|
}
|
|
2643
|
-
export
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2552
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2553
|
+
id: number;
|
|
2554
|
+
startDate: string;
|
|
2555
|
+
startTime: string;
|
|
2647
2556
|
}
|
|
2648
|
-
export
|
|
2649
|
-
|
|
2650
|
-
|
|
2557
|
+
export interface IRegistrationConstraintsSetting {
|
|
2558
|
+
numDays?: number;
|
|
2559
|
+
numMinutes?: number;
|
|
2651
2560
|
}
|
|
2652
|
-
export
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2561
|
+
export interface IAttendeeDataToNotify {
|
|
2562
|
+
firstName: string;
|
|
2563
|
+
lastName: string;
|
|
2564
|
+
email: string;
|
|
2565
|
+
sessionName: string;
|
|
2566
|
+
parentSessionName?: string;
|
|
2567
|
+
organizationName: string;
|
|
2568
|
+
programName: string;
|
|
2656
2569
|
}
|
|
2657
|
-
export
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2570
|
+
export interface IEventInSchedule {
|
|
2571
|
+
eventId: number;
|
|
2572
|
+
eventName: string;
|
|
2573
|
+
eventStartDate: string;
|
|
2574
|
+
eventEndDate: string;
|
|
2575
|
+
eventStartTime: string;
|
|
2576
|
+
eventEndTime: string;
|
|
2577
|
+
programId: number;
|
|
2578
|
+
programName: string;
|
|
2579
|
+
programType: ProgramTypesEnum;
|
|
2580
|
+
sessionId: number;
|
|
2581
|
+
sessionName: string;
|
|
2582
|
+
sports: number;
|
|
2583
|
+
spaces: {
|
|
2584
|
+
spaceId: number;
|
|
2585
|
+
spaceName: string;
|
|
2586
|
+
}[];
|
|
2587
|
+
status?: RegistrationValidationStatusEnum;
|
|
2661
2588
|
}
|
|
2662
|
-
export
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
CANCELED = "canceled"
|
|
2589
|
+
export interface ISlotInSchedule {
|
|
2590
|
+
facilityId: number;
|
|
2591
|
+
facilityName: string;
|
|
2592
|
+
spaces: ISpaceWithSlots[];
|
|
2667
2593
|
}
|
|
2668
|
-
export
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2594
|
+
export interface ISpaceWithSlots {
|
|
2595
|
+
id: number;
|
|
2596
|
+
name: string;
|
|
2597
|
+
slots: ISlotReservationData[];
|
|
2672
2598
|
}
|
|
2673
|
-
export
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2599
|
+
export interface ISlotReservationData {
|
|
2600
|
+
reservationId: number;
|
|
2601
|
+
reservationName: string;
|
|
2602
|
+
date: string;
|
|
2603
|
+
startTime: string;
|
|
2604
|
+
endTime: string;
|
|
2605
|
+
notes: string;
|
|
2606
|
+
spaceId: number;
|
|
2607
|
+
isRental: boolean;
|
|
2608
|
+
slotType: SlotTypeEnum;
|
|
2609
|
+
slotId: number;
|
|
2610
|
+
eventId: number;
|
|
2611
|
+
isPrivate: boolean;
|
|
2677
2612
|
}
|
|
2678
|
-
export
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2613
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2614
|
+
parentSessionId: number;
|
|
2615
|
+
parentSessionName: string;
|
|
2616
|
+
eventTimezone: string;
|
|
2617
|
+
maxParticipants: number;
|
|
2618
|
+
maxMaleParticipants: number;
|
|
2619
|
+
maxFemaleParticipants: number;
|
|
2620
|
+
isPunchCard: boolean;
|
|
2682
2621
|
}
|
|
2683
|
-
export
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
SUSPENDED = 4,
|
|
2688
|
-
INACTIVE = 5,
|
|
2689
|
-
INVITED = 6
|
|
2622
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2623
|
+
id: number;
|
|
2624
|
+
name: string;
|
|
2625
|
+
bookingCreatorId: number;
|
|
2690
2626
|
}
|
|
2691
|
-
export
|
|
2692
|
-
|
|
2693
|
-
|
|
2627
|
+
export interface IRawSlotInSchedule {
|
|
2628
|
+
startDate: string;
|
|
2629
|
+
endDate: string;
|
|
2630
|
+
startTime: string;
|
|
2631
|
+
endTime: string;
|
|
2632
|
+
reservationId: number;
|
|
2633
|
+
eventTitle: string;
|
|
2634
|
+
publicNotes: string;
|
|
2635
|
+
spaceId: number;
|
|
2636
|
+
creatorType: ResourceNameTypeEnum;
|
|
2637
|
+
slotType: SlotTypeEnum;
|
|
2638
|
+
slotId: number;
|
|
2639
|
+
eventId: number;
|
|
2640
|
+
isPrivate: boolean;
|
|
2694
2641
|
}
|
|
2695
|
-
export
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2642
|
+
export interface IPurchasedResourcesRaw {
|
|
2643
|
+
purchasedId: number;
|
|
2644
|
+
purchasedProductUserId: number;
|
|
2645
|
+
purchasedResourceId: number;
|
|
2646
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2647
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2648
|
+
pUserId: number;
|
|
2649
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2650
|
+
pUserProductId: number;
|
|
2651
|
+
pUserProductName: string;
|
|
2652
|
+
pUserProductPrice: number;
|
|
2653
|
+
pUserProductPriceCurrency: string;
|
|
2654
|
+
pUserProductQuantity: number;
|
|
2655
|
+
pUserProductQuantityLeft: number;
|
|
2656
|
+
pUserUserId: number;
|
|
2703
2657
|
}
|
|
2704
|
-
export
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2658
|
+
export interface IUsersPasses {
|
|
2659
|
+
userId: number;
|
|
2660
|
+
userFirstName: string;
|
|
2661
|
+
userLastName: string;
|
|
2662
|
+
organizationId: number;
|
|
2663
|
+
programId: number;
|
|
2664
|
+
programName: string;
|
|
2665
|
+
sessionId: number;
|
|
2666
|
+
sessionName: string;
|
|
2667
|
+
productId: number;
|
|
2668
|
+
productName: string;
|
|
2669
|
+
productUserId: number;
|
|
2670
|
+
purchaseDate: Date;
|
|
2671
|
+
passesLeft: number;
|
|
2709
2672
|
}
|
|
2710
|
-
export
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2673
|
+
export interface ISessionsLandingPage {
|
|
2674
|
+
sessionId: number;
|
|
2675
|
+
name: string;
|
|
2676
|
+
startDate: Date;
|
|
2677
|
+
endDate: Date;
|
|
2678
|
+
registrationStartDate: Date;
|
|
2679
|
+
registrationEndDate: Date;
|
|
2680
|
+
sport: SportsEnum;
|
|
2681
|
+
minAge: string;
|
|
2682
|
+
maxAge: string;
|
|
2683
|
+
maxParticipants?: number;
|
|
2684
|
+
gender: GenderEnum;
|
|
2685
|
+
activityTimes: ActivityTimes[];
|
|
2686
|
+
earlyRegistrationStartDate?: Date;
|
|
2687
|
+
earlyRegistrationEndDate?: Date;
|
|
2688
|
+
lateRegistrationStartDate?: Date;
|
|
2689
|
+
lateRegistrationEndDate?: Date;
|
|
2690
|
+
attendeeCount?: number;
|
|
2691
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2714
2692
|
}
|
|
2715
|
-
export
|
|
2716
|
-
|
|
2717
|
-
|
|
2693
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2694
|
+
hasRequiredMembership: boolean;
|
|
2695
|
+
hasEntitledPricing: boolean;
|
|
2696
|
+
lowestPrice?: number;
|
|
2697
|
+
products?: ISessionLandingPageProduct[];
|
|
2718
2698
|
}
|
|
2719
|
-
export
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2699
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2700
|
+
hasRequiredMembership: boolean;
|
|
2701
|
+
hasEntitledPricing: boolean;
|
|
2702
|
+
products?: ISessionLandingPageProduct[];
|
|
2703
|
+
segments?: Event[] | ProgramSeason[];
|
|
2704
|
+
programName: string;
|
|
2705
|
+
programId: number;
|
|
2706
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2707
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2725
2708
|
}
|
|
2726
|
-
export
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
SHELTER = 8,
|
|
2735
|
-
PORTABLE_RESTROOMS = 9,
|
|
2736
|
-
LIGHTS = 10,
|
|
2737
|
-
LOCKER_ROOM = 11,
|
|
2738
|
-
PAID_PARKING = 12,
|
|
2739
|
-
ACCESSIBLE = 13
|
|
2709
|
+
export interface ISlimAddons {
|
|
2710
|
+
addons?: {
|
|
2711
|
+
id: number;
|
|
2712
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2713
|
+
name: string;
|
|
2714
|
+
productType?: ProductTypesEnum;
|
|
2715
|
+
productSubType?: string;
|
|
2716
|
+
}[];
|
|
2740
2717
|
}
|
|
2741
|
-
export
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2718
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2719
|
+
id: number;
|
|
2720
|
+
name: string;
|
|
2721
|
+
startDate?: Date;
|
|
2722
|
+
endDate?: Date;
|
|
2723
|
+
downpayment?: number;
|
|
2724
|
+
description?: string;
|
|
2725
|
+
prices: Price[];
|
|
2726
|
+
productSubType?: ProductSubTypesEnum;
|
|
2727
|
+
punchCard: boolean;
|
|
2728
|
+
isAddon: boolean;
|
|
2729
|
+
defaultPriceId?: number;
|
|
2752
2730
|
}
|
|
2753
|
-
export
|
|
2754
|
-
|
|
2731
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2732
|
+
destinationId?: string;
|
|
2733
|
+
stripeCustomerId?: string;
|
|
2734
|
+
fee?: number;
|
|
2755
2735
|
}
|
|
2756
|
-
export
|
|
2757
|
-
|
|
2758
|
-
|
|
2736
|
+
export interface IReservationCreatorData {
|
|
2737
|
+
type: ResourceNameTypeEnum;
|
|
2738
|
+
id: number;
|
|
2739
|
+
organizationId: number;
|
|
2740
|
+
startDate: string;
|
|
2741
|
+
endDate: string;
|
|
2742
|
+
sportId: number;
|
|
2759
2743
|
}
|
|
2760
|
-
export declare enum
|
|
2761
|
-
|
|
2762
|
-
|
|
2744
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2745
|
+
QUESTION = "question",
|
|
2746
|
+
CITY = "city",
|
|
2747
|
+
MEMBERSHIP = "membership"
|
|
2763
2748
|
}
|
|
2764
|
-
export declare enum
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2749
|
+
export declare enum ResourceNameTypeEnum {
|
|
2750
|
+
EVENT = "event",
|
|
2751
|
+
VENUE = "venue",
|
|
2752
|
+
TEAM = "team",
|
|
2753
|
+
LEAGUE = "league",
|
|
2754
|
+
USER = "user",
|
|
2755
|
+
ORGANIZATION = "organization",
|
|
2756
|
+
APP = "app",
|
|
2757
|
+
FEED = "feed",
|
|
2758
|
+
MATCH = "match",
|
|
2759
|
+
ROUND = "round",
|
|
2760
|
+
PORTAL = "portal",
|
|
2761
|
+
SEASON = "season",
|
|
2762
|
+
TOURNAMENT = "tournament",
|
|
2763
|
+
MEMBERSHIP = "membership",
|
|
2764
|
+
DIVISION = "division",
|
|
2765
|
+
GAMESLOT = "gameslot",
|
|
2766
|
+
SPACE = "space",
|
|
2767
|
+
RESERVATION = "reservation",
|
|
2768
|
+
INVOICE = "invoice",
|
|
2769
|
+
CUSTOMER = "customer",
|
|
2770
|
+
PACKAGE = "package",
|
|
2771
|
+
FACILITY = "facility",
|
|
2772
|
+
PROGRAM = "program",
|
|
2773
|
+
PROGRAM_SEASON = "program_season",
|
|
2774
|
+
PRODUCT = "product",
|
|
2775
|
+
GROUP = "group",
|
|
2776
|
+
VARIANT = "variant",
|
|
2777
|
+
SLOT = "slot",
|
|
2778
|
+
ADDON = "addon"
|
|
2774
2779
|
}
|
|
2775
|
-
export declare enum
|
|
2776
|
-
|
|
2777
|
-
|
|
2780
|
+
export declare enum DirectBookingTypesEnum {
|
|
2781
|
+
DIRECT_FOR_ALL = "all",
|
|
2782
|
+
DIRECT_FOR_NONE = "none",
|
|
2783
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2784
|
+
NO_SETTING = "no_setting"
|
|
2778
2785
|
}
|
|
2779
|
-
export declare enum
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2786
|
+
export declare enum GenderEnum {
|
|
2787
|
+
OTHER = 1,
|
|
2788
|
+
MALE = 2,
|
|
2789
|
+
FEMALE = 3
|
|
2783
2790
|
}
|
|
2784
|
-
export declare enum
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2791
|
+
export declare enum LevelOfPlayEnum {
|
|
2792
|
+
BEGINNER = 1,
|
|
2793
|
+
INTERMEDIATE = 2,
|
|
2794
|
+
ADVANCED = 3,
|
|
2795
|
+
SEMIPRO = 4,
|
|
2796
|
+
SPECTATOR = 5
|
|
2791
2797
|
}
|
|
2792
|
-
export declare enum
|
|
2793
|
-
|
|
2794
|
-
|
|
2798
|
+
export declare enum ProgramTypesEnum {
|
|
2799
|
+
LEAGUE = 0,
|
|
2800
|
+
TOURNAMENT = 1,
|
|
2801
|
+
CLASS = 2,
|
|
2802
|
+
CLINIC = 3,
|
|
2803
|
+
CAMP = 4,
|
|
2804
|
+
LESSON = 5,
|
|
2805
|
+
CLUB_TEAM = 6
|
|
2795
2806
|
}
|
|
2796
|
-
export declare enum
|
|
2797
|
-
|
|
2807
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2808
|
+
ROUND_ROBIN = 1,
|
|
2809
|
+
BRACKETS = 2,
|
|
2810
|
+
CAMP_CLINIC_CLASS = 3
|
|
2798
2811
|
}
|
|
2799
|
-
export declare enum
|
|
2800
|
-
|
|
2812
|
+
export declare enum SportsEnum {
|
|
2813
|
+
SOFTBALL = 1,
|
|
2814
|
+
BASKETBALL = 2,
|
|
2815
|
+
FOOTBALL = 3,
|
|
2816
|
+
SOCCER = 4,
|
|
2817
|
+
BOWLING = 5,
|
|
2818
|
+
BOCCEBALL = 6,
|
|
2819
|
+
CORNHOLE = 7,
|
|
2820
|
+
DODGEBALL = 8,
|
|
2821
|
+
FRISBEE = 9,
|
|
2822
|
+
HOCKEY = 10,
|
|
2823
|
+
KICKBALL = 11,
|
|
2824
|
+
LACROSSE = 12,
|
|
2825
|
+
PINGPONG = 13,
|
|
2826
|
+
RUGBY = 14,
|
|
2827
|
+
SKEEBALL = 15,
|
|
2828
|
+
TENNIS = 16,
|
|
2829
|
+
VOLLEYBALL = 17,
|
|
2830
|
+
WIFFLEBALL = 18,
|
|
2831
|
+
BADMINTON = 19,
|
|
2832
|
+
FITNESS = 20,
|
|
2833
|
+
GOLF = 21,
|
|
2834
|
+
PILATES = 22,
|
|
2835
|
+
RUNNING = 23,
|
|
2836
|
+
SKIING = 24,
|
|
2837
|
+
SNOWBOARDING = 25,
|
|
2838
|
+
YOGA = 26,
|
|
2839
|
+
BROOMBALL = 27,
|
|
2840
|
+
CRICKET = 28,
|
|
2841
|
+
CROSSFIT = 29,
|
|
2842
|
+
CYCLING = 30,
|
|
2843
|
+
FIELD_HOCKEY = 31,
|
|
2844
|
+
RACQUETBALL = 32,
|
|
2845
|
+
SPINNING = 33,
|
|
2846
|
+
SQUASH = 34,
|
|
2847
|
+
SURFING = 35,
|
|
2848
|
+
SWIMMING = 36,
|
|
2849
|
+
WIND_SURFING = 37,
|
|
2850
|
+
ADVENTURE = 38,
|
|
2851
|
+
BOXING = 39,
|
|
2852
|
+
BASEBALL = 40,
|
|
2853
|
+
DANCE = 41,
|
|
2854
|
+
KICKBOXING = 42,
|
|
2855
|
+
MARTIAL_ARTS = 43,
|
|
2856
|
+
OUTDOORS = 44,
|
|
2857
|
+
ROWING = 45,
|
|
2858
|
+
SAILING = 46,
|
|
2859
|
+
SUP = 47,
|
|
2860
|
+
TRIATHLON = 48,
|
|
2861
|
+
HANDBALL = 49,
|
|
2862
|
+
CATCHBALL = 50,
|
|
2863
|
+
BLITZBALL = 51,
|
|
2864
|
+
ROLLER_DERBY = 52,
|
|
2865
|
+
ICE_SKATING = 53,
|
|
2866
|
+
PICKLEBALL = 54,
|
|
2867
|
+
AXE_THROWING = 55,
|
|
2868
|
+
FURSAL = 56,
|
|
2869
|
+
BIRTHDAY = 57,
|
|
2870
|
+
CORPRATE_EVENTS = 58,
|
|
2871
|
+
OTHER = 999
|
|
2801
2872
|
}
|
|
2802
|
-
export declare enum
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2873
|
+
export declare enum PublishingStatusEnum {
|
|
2874
|
+
DRAFT = 1,
|
|
2875
|
+
PUBLISHED = 2,
|
|
2876
|
+
CLOSED = 3,
|
|
2877
|
+
CANCELLED = 4,
|
|
2878
|
+
ARCHIVE = 5,
|
|
2879
|
+
UNPUBLISHED = 6
|
|
2806
2880
|
}
|
|
2807
|
-
export declare enum
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2881
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2882
|
+
OTHER = 1,
|
|
2883
|
+
MINAGE = 2,
|
|
2884
|
+
MAXAGE = 3,
|
|
2885
|
+
GENDER = 4,
|
|
2886
|
+
LEVELOFPLAY = 5,
|
|
2887
|
+
GAMESSEASON = 6,
|
|
2888
|
+
MINWEEK = 7,
|
|
2889
|
+
SURFACE = 8,
|
|
2890
|
+
FORMAT = 9,
|
|
2891
|
+
PLAYERS_PER_TEAM = 10,
|
|
2892
|
+
MATCH_LENGTH = 12
|
|
2812
2893
|
}
|
|
2813
|
-
export declare enum
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
MOBILE = "mobile",
|
|
2818
|
-
CRON = "cron"
|
|
2894
|
+
export declare enum RequestStatusEnum {
|
|
2895
|
+
PENDING = 1,
|
|
2896
|
+
ACCEPTED = 2,
|
|
2897
|
+
DECLINED = 3
|
|
2819
2898
|
}
|
|
2820
|
-
export declare enum
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2899
|
+
export declare enum PaymentStatusEnum {
|
|
2900
|
+
NOT_PAID = "not_paid",
|
|
2901
|
+
PARTIAL_PAYMENT = "partial",
|
|
2902
|
+
FULLY_PAID = "paid",
|
|
2903
|
+
REFUNDED = "refunded",
|
|
2904
|
+
VOID = "void"
|
|
2825
2905
|
}
|
|
2826
|
-
export declare enum
|
|
2827
|
-
|
|
2828
|
-
DRAFT = 2,
|
|
2829
|
-
FULL = 3,
|
|
2830
|
-
CANCELLED = 4,
|
|
2831
|
-
CLOSED = 5,
|
|
2832
|
-
DELETED = 6
|
|
2906
|
+
export declare enum ReservationExtendedEnum {
|
|
2907
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2833
2908
|
}
|
|
2834
|
-
export declare
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2909
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2910
|
+
export declare enum ReservationStatusEnum {
|
|
2911
|
+
PLANNED = "Planned",
|
|
2912
|
+
APPROVED = "Approved",
|
|
2913
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2914
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2915
|
+
REJECTED = "Rejected",
|
|
2916
|
+
CANCELED = "Canceled"
|
|
2840
2917
|
}
|
|
2841
|
-
export declare enum
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2918
|
+
export declare enum PaymentStatusV1Enum {
|
|
2919
|
+
SENT_TO_CLIENT = 1,
|
|
2920
|
+
SENT_FOR_PAYMENT = 2,
|
|
2921
|
+
ACCEPTED = 3,
|
|
2922
|
+
REJECTED = 4,
|
|
2923
|
+
CANCELLED = 5,
|
|
2924
|
+
FRAUD = 6,
|
|
2925
|
+
NOT_RELEVANT = 7,
|
|
2926
|
+
PENDING = 8
|
|
2845
2927
|
}
|
|
2846
|
-
export declare enum
|
|
2847
|
-
|
|
2848
|
-
|
|
2928
|
+
export declare enum PaymentMethodsEnum {
|
|
2929
|
+
STRIPE = 1,
|
|
2930
|
+
CASH = 3
|
|
2849
2931
|
}
|
|
2850
|
-
export declare enum
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
DAILY = "daily",
|
|
2854
|
-
MONTHLY = "monthly",
|
|
2855
|
-
YEARLY = "yearly"
|
|
2932
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2933
|
+
CHILD = "child",
|
|
2934
|
+
UPSALE = "upsale"
|
|
2856
2935
|
}
|
|
2857
|
-
export declare enum
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
AT_THE_END = 4
|
|
2936
|
+
export declare enum AddonTimePeriodEnum {
|
|
2937
|
+
FULL = "full",
|
|
2938
|
+
SESSION = "session",
|
|
2939
|
+
EVENT = "event"
|
|
2862
2940
|
}
|
|
2863
|
-
export declare enum
|
|
2864
|
-
|
|
2865
|
-
PROGRAM_SEASON = "program_season",
|
|
2866
|
-
SEASON = "season"
|
|
2941
|
+
export declare enum CurrencyEnum {
|
|
2942
|
+
USD = "USD"
|
|
2867
2943
|
}
|
|
2868
|
-
export declare enum
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2944
|
+
export declare enum NotificationTypeEnum {
|
|
2945
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2946
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2947
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2872
2948
|
}
|
|
2873
|
-
export declare enum
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2949
|
+
export declare enum ProductTypesEnum {
|
|
2950
|
+
RESERVATION = "reservation",
|
|
2951
|
+
REGISTRATION = "registration",
|
|
2952
|
+
MEMBERSHIP = "membership",
|
|
2953
|
+
GOODS = "goods",
|
|
2954
|
+
PACKAGE = "package",
|
|
2955
|
+
REFUND_COMPENSATION = "refund",
|
|
2956
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2957
|
+
PETTY_CASH = "petty_cash",
|
|
2958
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2959
|
+
TAX = "tax"
|
|
2960
|
+
}
|
|
2961
|
+
export declare enum InvoiceStatusEnum {
|
|
2962
|
+
ACTIVE = "active",
|
|
2963
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2964
|
+
WAITING_CLIENT = "waitingClient",
|
|
2965
|
+
CANCELED = "canceled"
|
|
2881
2966
|
}
|
|
2882
|
-
export declare enum
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
YES = "yes"
|
|
2967
|
+
export declare enum LineItemsStatusEnum {
|
|
2968
|
+
USER_PRODUCT = "UserProduct",
|
|
2969
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2886
2970
|
}
|
|
2887
|
-
export declare enum
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2971
|
+
export declare enum ProductSubTypesEnum {
|
|
2972
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2973
|
+
SEASON_TEAM = "season_team",
|
|
2974
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2891
2975
|
}
|
|
2892
|
-
export declare enum
|
|
2893
|
-
|
|
2894
|
-
|
|
2976
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2977
|
+
CREDIT_CARD = "card",
|
|
2978
|
+
ACH = "ach",
|
|
2979
|
+
CASH = "cash",
|
|
2980
|
+
CHECK = "check",
|
|
2981
|
+
BALANCE = "balance",
|
|
2982
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2983
|
+
OTHER = "other",
|
|
2984
|
+
MIGRATED = "migrated",
|
|
2985
|
+
VOID = "void",
|
|
2986
|
+
GIFT_CARD = "gift-card"
|
|
2895
2987
|
}
|
|
2896
|
-
export declare enum
|
|
2897
|
-
|
|
2898
|
-
|
|
2988
|
+
export declare enum RefundTypeEnum {
|
|
2989
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2990
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2899
2991
|
}
|
|
2900
|
-
export declare enum
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
-
APPEND = "append"
|
|
2992
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2993
|
+
INDIVIDUAL = "individual",
|
|
2994
|
+
FAMILY = "family",
|
|
2995
|
+
ORGANIZATION = "organization"
|
|
2906
2996
|
}
|
|
2907
|
-
export declare enum
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
2997
|
+
export declare enum MembershipTypeEnum {
|
|
2998
|
+
FIXED = "fix_membership",
|
|
2999
|
+
ROLLING = "rolling_membership"
|
|
2911
3000
|
}
|
|
2912
|
-
export declare enum
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
3001
|
+
export declare enum CustomerTypeEnum {
|
|
3002
|
+
USER = "user",
|
|
3003
|
+
FAMILY = "family",
|
|
3004
|
+
ORGANIZATION = "organization"
|
|
2916
3005
|
}
|
|
2917
|
-
export declare enum
|
|
2918
|
-
|
|
2919
|
-
|
|
3006
|
+
export declare enum GroupStatusEnum {
|
|
3007
|
+
ACTIVE = 1,
|
|
3008
|
+
INACTIVE = 2,
|
|
3009
|
+
DRAFT = 3
|
|
2920
3010
|
}
|
|
2921
|
-
export declare enum
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
3011
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
3012
|
+
FUTURE = "future",
|
|
3013
|
+
SUCCEEDED = "succeeded",
|
|
3014
|
+
FAILED = "failed",
|
|
2925
3015
|
CANCELED = "canceled"
|
|
2926
3016
|
}
|
|
2927
|
-
export declare enum
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
DISABLED_EMAIL = 4
|
|
2932
|
-
}
|
|
2933
|
-
export declare enum NotifyMethodEnum {
|
|
2934
|
-
EMAIL = "Email"
|
|
3017
|
+
export declare enum EntryStatusEnum {
|
|
3018
|
+
ENTERED = 1,
|
|
3019
|
+
NOT_ENTERED = 2,
|
|
3020
|
+
CANCELED = 3
|
|
2935
3021
|
}
|
|
2936
|
-
export declare enum
|
|
2937
|
-
|
|
2938
|
-
|
|
3022
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3023
|
+
ACTIVE = 1,
|
|
3024
|
+
MOVED = 2,
|
|
3025
|
+
CANCELED = 3
|
|
2939
3026
|
}
|
|
2940
|
-
export
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
minValue?: string;
|
|
2945
|
-
maxValue?: string;
|
|
3027
|
+
export declare enum TeamCanJoinEnum {
|
|
3028
|
+
ANYONE = "anyone",
|
|
3029
|
+
BY_INVITE = "byInvite",
|
|
3030
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2946
3031
|
}
|
|
2947
|
-
export
|
|
2948
|
-
|
|
2949
|
-
|
|
3032
|
+
export declare enum TeamMemberStatusEnum {
|
|
3033
|
+
PENDING = 1,
|
|
3034
|
+
ACTIVE = 2,
|
|
3035
|
+
DECLINED = 3,
|
|
3036
|
+
SUSPENDED = 4,
|
|
3037
|
+
INACTIVE = 5,
|
|
3038
|
+
INVITED = 6
|
|
2950
3039
|
}
|
|
2951
|
-
export
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
groupId: number;
|
|
2955
|
-
groupName?: string;
|
|
2956
|
-
price: number;
|
|
2957
|
-
overridesPrice: boolean;
|
|
3040
|
+
export declare enum TeamMemberRoleEnum {
|
|
3041
|
+
NULL = 0,
|
|
3042
|
+
ADMIN = 1
|
|
2958
3043
|
}
|
|
2959
|
-
export
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
3044
|
+
export declare enum DayOfWeekEnum {
|
|
3045
|
+
SUNDAY = 0,
|
|
3046
|
+
MONDAY = 1,
|
|
3047
|
+
TUESDAY = 2,
|
|
3048
|
+
WEDNESDAY = 3,
|
|
3049
|
+
THURSDAY = 4,
|
|
3050
|
+
FRIDAY = 5,
|
|
3051
|
+
SATURDAY = 6
|
|
2965
3052
|
}
|
|
2966
|
-
export
|
|
2967
|
-
|
|
2968
|
-
|
|
3053
|
+
export declare enum ActionTypesEnum {
|
|
3054
|
+
CREATE = "create",
|
|
3055
|
+
READ = "read",
|
|
3056
|
+
UPDATE = "update",
|
|
3057
|
+
DELETE = "delete"
|
|
2969
3058
|
}
|
|
2970
|
-
export
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
3059
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3060
|
+
ADMIN = "admin",
|
|
3061
|
+
BACKOFFICE = "backoffice",
|
|
3062
|
+
CONSUMER = "consumer"
|
|
2974
3063
|
}
|
|
2975
|
-
export
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
invoices: Invoice[];
|
|
2979
|
-
payments: Payment[];
|
|
2980
|
-
products: Product[];
|
|
2981
|
-
redeemNext: ProductsUsers;
|
|
3064
|
+
export declare enum RolesEnum {
|
|
3065
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3066
|
+
BOND_ADMIN = "bondAdmin"
|
|
2982
3067
|
}
|
|
2983
|
-
export
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
userProfilePicUrl: string;
|
|
2990
|
-
customerId: number;
|
|
2991
|
-
customerEmail: string;
|
|
2992
|
-
paymentStatus: string;
|
|
2993
|
-
productName: string;
|
|
2994
|
-
punchCard: boolean;
|
|
3068
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3069
|
+
IN_POOL = 5,
|
|
3070
|
+
ASSIGNED = 1,
|
|
3071
|
+
QUIT = 2,
|
|
3072
|
+
SUSPENDED = 3,
|
|
3073
|
+
INACTIVE = 4
|
|
2995
3074
|
}
|
|
2996
|
-
export declare
|
|
2997
|
-
|
|
2998
|
-
|
|
3075
|
+
export declare enum AmenitiesEnum {
|
|
3076
|
+
HEAT = 1,
|
|
3077
|
+
AC = 2,
|
|
3078
|
+
WIFI = 3,
|
|
3079
|
+
RESTROOMS = 4,
|
|
3080
|
+
DRINKING_FOUNTAIN = 5,
|
|
3081
|
+
PARKING = 6,
|
|
3082
|
+
CONCESSIONS = 7,
|
|
3083
|
+
SHELTER = 8,
|
|
3084
|
+
PORTABLE_RESTROOMS = 9,
|
|
3085
|
+
LIGHTS = 10,
|
|
3086
|
+
LOCKER_ROOM = 11,
|
|
3087
|
+
PAID_PARKING = 12,
|
|
3088
|
+
ACCESSIBLE = 13
|
|
2999
3089
|
}
|
|
3000
|
-
export declare
|
|
3001
|
-
|
|
3002
|
-
|
|
3090
|
+
export declare enum ResourceSubTypeEnum {
|
|
3091
|
+
COURT = "court",
|
|
3092
|
+
FIELD = "field",
|
|
3093
|
+
ROOM = "room",
|
|
3094
|
+
DIAMOND = "diamond",
|
|
3095
|
+
RINK = "rink",
|
|
3096
|
+
STUDIO = "studio",
|
|
3097
|
+
POOL = "pool",
|
|
3098
|
+
BATTING_CAGE = "batting cage",
|
|
3099
|
+
SHELTER = "shelter",
|
|
3100
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
3003
3101
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
3102
|
+
export declare enum ResourceTypeEnum {
|
|
3103
|
+
SPACE = "space"
|
|
3006
3104
|
}
|
|
3007
|
-
export
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
invoice?: Invoice;
|
|
3011
|
-
customer?: Customer;
|
|
3105
|
+
export declare enum ResourceAgesEnum {
|
|
3106
|
+
ADULTS = "adults",
|
|
3107
|
+
CHILDREN = "children"
|
|
3012
3108
|
}
|
|
3013
|
-
export
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
amountToPay: number;
|
|
3109
|
+
export declare enum SpacePropertiesEnum {
|
|
3110
|
+
OUTDOOR = "outdoor",
|
|
3111
|
+
INDOOR = "indoor"
|
|
3017
3112
|
}
|
|
3018
|
-
export
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3113
|
+
export declare enum SurfacesEnum {
|
|
3114
|
+
GRASS = "grass",
|
|
3115
|
+
TURF = "turf",
|
|
3116
|
+
FIELD_TURF = "fieldTurf",
|
|
3117
|
+
ASTRO_TURF = "astroTurf",
|
|
3118
|
+
HARDWOOD = "hardwood",
|
|
3119
|
+
ASPHALT = "asphalt",
|
|
3120
|
+
SAND = "sand",
|
|
3121
|
+
ICE = "ice",
|
|
3122
|
+
SPORT_COURT = "sportCourt"
|
|
3025
3123
|
}
|
|
3026
|
-
export
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
itemsPerPage: number;
|
|
3030
|
-
totalPages: number;
|
|
3031
|
-
currentPage: number;
|
|
3032
|
-
};
|
|
3033
|
-
data: T[];
|
|
3124
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3125
|
+
MINUTES = "minutes",
|
|
3126
|
+
DAYS = "days"
|
|
3034
3127
|
}
|
|
3035
|
-
export
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
groupId?: number;
|
|
3040
|
-
groupName?: string;
|
|
3041
|
-
originalPrice?: number;
|
|
3042
|
-
priceWithoutTax: number;
|
|
3043
|
-
tax: number;
|
|
3044
|
-
isTaxInclusive: boolean;
|
|
3128
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3129
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3130
|
+
OPEN = "open",
|
|
3131
|
+
CLOSED = "closed"
|
|
3045
3132
|
}
|
|
3046
|
-
export
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3133
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3134
|
+
FULL = "full",
|
|
3135
|
+
ALREADY_REGISTERED = "registered",
|
|
3136
|
+
AVAILABLE = "available",
|
|
3137
|
+
NOT_OPEN_YET = "not opened",
|
|
3138
|
+
ALREADY_CLOSED = "closed",
|
|
3139
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3052
3140
|
}
|
|
3053
|
-
export
|
|
3054
|
-
|
|
3055
|
-
|
|
3141
|
+
export declare enum DiscountMethodsEnum {
|
|
3142
|
+
PERCENT = "percent",
|
|
3143
|
+
AMOUNT = "amount"
|
|
3056
3144
|
}
|
|
3057
|
-
export
|
|
3058
|
-
|
|
3059
|
-
open: string;
|
|
3060
|
-
close: string;
|
|
3145
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3146
|
+
ORGANIZATION = "organization"
|
|
3061
3147
|
}
|
|
3062
|
-
export
|
|
3063
|
-
|
|
3064
|
-
startTime: string;
|
|
3065
|
-
endTime: string;
|
|
3148
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3149
|
+
USA = "USA"
|
|
3066
3150
|
}
|
|
3067
|
-
export
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3151
|
+
export declare enum DateTimeFormatsEnum {
|
|
3152
|
+
API_DATE = "YYYY/MM/DD",
|
|
3153
|
+
API_TIME = "HH:mm:ss",
|
|
3154
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3071
3155
|
}
|
|
3072
|
-
export
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
-
member_answerTitleIds?: number[];
|
|
3079
|
-
member_organizationId: number;
|
|
3080
|
-
product_productPrice: number;
|
|
3081
|
-
product_productId: number;
|
|
3082
|
-
invoice_payingUserId: number;
|
|
3083
|
-
invoice_paymentMethodId: string;
|
|
3084
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
-
endDate: Date;
|
|
3086
|
-
membership_name: string;
|
|
3087
|
-
user_firstName: string;
|
|
3088
|
-
user_lastName: string;
|
|
3089
|
-
user_email: string;
|
|
3156
|
+
export declare enum SlotTypeEnum {
|
|
3157
|
+
EXTERNAL = "external",
|
|
3158
|
+
INTERNAL = "internal",
|
|
3159
|
+
MAINTENANCE = "maintenance",
|
|
3160
|
+
CUSTOM = "custom"
|
|
3090
3161
|
}
|
|
3091
|
-
export
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3162
|
+
export declare enum PlatformsEnum {
|
|
3163
|
+
CONSUMER = "consumer",
|
|
3164
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3165
|
+
BO = "backoffice",
|
|
3166
|
+
MOBILE = "mobile",
|
|
3167
|
+
CRON = "cron"
|
|
3096
3168
|
}
|
|
3097
|
-
export
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
openTime?: string;
|
|
3103
|
-
closeNumDays?: number;
|
|
3104
|
-
closeNumMinutes?: number;
|
|
3105
|
-
closeTime?: string;
|
|
3106
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3169
|
+
export declare enum ShiftStatusEnum {
|
|
3170
|
+
OPEN = "open",
|
|
3171
|
+
CLOSED = "closed",
|
|
3172
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3173
|
+
RECONCILED = "reconciled"
|
|
3107
3174
|
}
|
|
3108
|
-
export
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3175
|
+
export declare enum EventStatusEnum {
|
|
3176
|
+
OPEN = 1,
|
|
3177
|
+
DRAFT = 2,
|
|
3178
|
+
FULL = 3,
|
|
3179
|
+
CANCELLED = 4,
|
|
3180
|
+
CLOSED = 5,
|
|
3181
|
+
DELETED = 6
|
|
3112
3182
|
}
|
|
3113
|
-
export
|
|
3114
|
-
|
|
3115
|
-
|
|
3183
|
+
export declare enum ReservationTypeEnum {
|
|
3184
|
+
RENTAL = "rental",
|
|
3185
|
+
PROGRAM = "program",
|
|
3186
|
+
MAINTENANCE = "maintenance",
|
|
3187
|
+
CUSTOM = "custom",
|
|
3188
|
+
INTERNAL = "internal"
|
|
3116
3189
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
sessionName: string;
|
|
3122
|
-
parentSessionName?: string;
|
|
3123
|
-
organizationName: string;
|
|
3124
|
-
programName: string;
|
|
3190
|
+
export declare enum SlotDurationTypeEnum {
|
|
3191
|
+
DATES = "dates",
|
|
3192
|
+
ALL_DAY = "all day",
|
|
3193
|
+
DURATION = "duration"
|
|
3125
3194
|
}
|
|
3126
|
-
export
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
eventStartDate: string;
|
|
3130
|
-
eventEndDate: string;
|
|
3131
|
-
eventStartTime: string;
|
|
3132
|
-
eventEndTime: string;
|
|
3133
|
-
programId: number;
|
|
3134
|
-
programName: string;
|
|
3135
|
-
programType: ProgramTypesEnum;
|
|
3136
|
-
sessionId: number;
|
|
3137
|
-
sessionName: string;
|
|
3138
|
-
sports: number;
|
|
3139
|
-
spaces: {
|
|
3140
|
-
spaceId: number;
|
|
3141
|
-
spaceName: string;
|
|
3142
|
-
}[];
|
|
3143
|
-
status?: RegistrationValidationStatusEnum;
|
|
3195
|
+
export declare enum DurationUnitTypesEnum {
|
|
3196
|
+
MINUTES = "minutes",
|
|
3197
|
+
HOURS = "hours"
|
|
3144
3198
|
}
|
|
3145
|
-
export
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3199
|
+
export declare enum FrequencyEnum {
|
|
3200
|
+
NONE = "none",
|
|
3201
|
+
WEEKLY = "weekly",
|
|
3202
|
+
DAILY = "daily",
|
|
3203
|
+
MONTHLY = "monthly",
|
|
3204
|
+
YEARLY = "yearly"
|
|
3149
3205
|
}
|
|
3150
|
-
export
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3206
|
+
export declare enum MaintenanceTimingEnum {
|
|
3207
|
+
BEFORE = 1,
|
|
3208
|
+
AFTER = 2,
|
|
3209
|
+
AT_THE_BEGINING = 3,
|
|
3210
|
+
AT_THE_END = 4
|
|
3154
3211
|
}
|
|
3155
|
-
export
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
startTime: string;
|
|
3160
|
-
endTime: string;
|
|
3161
|
-
notes: string;
|
|
3162
|
-
spaceId: number;
|
|
3163
|
-
isRental: boolean;
|
|
3164
|
-
slotType: SlotTypeEnum;
|
|
3165
|
-
slotId: number;
|
|
3166
|
-
eventId: number;
|
|
3167
|
-
isPrivate: boolean;
|
|
3212
|
+
export declare enum CreatorTypeEnum {
|
|
3213
|
+
SPACE = "space",
|
|
3214
|
+
PROGRAM_SEASON = "program_season",
|
|
3215
|
+
SEASON = "season"
|
|
3168
3216
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
maxParticipants: number;
|
|
3174
|
-
maxMaleParticipants: number;
|
|
3175
|
-
maxFemaleParticipants: number;
|
|
3176
|
-
isPunchCard: boolean;
|
|
3217
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3218
|
+
INDIVIDUAL = "indvidual",
|
|
3219
|
+
CATEGORY = "category",
|
|
3220
|
+
GLOBAL = "global"
|
|
3177
3221
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3222
|
+
export declare enum BondDayOfWeekEnum {
|
|
3223
|
+
MONDAY = 2,
|
|
3224
|
+
TUESDAY = 3,
|
|
3225
|
+
WEDNESDAY = 4,
|
|
3226
|
+
THURSDAY = 5,
|
|
3227
|
+
FRIDAY = 6,
|
|
3228
|
+
SATURDAY = 7,
|
|
3229
|
+
SUNDAY = 8
|
|
3182
3230
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
endTime: string;
|
|
3188
|
-
reservationId: number;
|
|
3189
|
-
eventTitle: string;
|
|
3190
|
-
publicNotes: string;
|
|
3191
|
-
spaceId: number;
|
|
3192
|
-
creatorType: ResourceNameTypeEnum;
|
|
3193
|
-
slotType: SlotTypeEnum;
|
|
3194
|
-
slotId: number;
|
|
3195
|
-
eventId: number;
|
|
3196
|
-
isPrivate: boolean;
|
|
3231
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3232
|
+
NEW = "new",
|
|
3233
|
+
NO = "no",
|
|
3234
|
+
YES = "yes"
|
|
3197
3235
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
pUserProductId: number;
|
|
3207
|
-
pUserProductName: string;
|
|
3208
|
-
pUserProductPrice: number;
|
|
3209
|
-
pUserProductPriceCurrency: string;
|
|
3210
|
-
pUserProductQuantity: number;
|
|
3211
|
-
pUserProductQuantityLeft: number;
|
|
3212
|
-
pUserUserId: number;
|
|
3236
|
+
export declare enum ProductPackageLevelEnum {
|
|
3237
|
+
HOUR = "hour",
|
|
3238
|
+
SLOT = "slot",
|
|
3239
|
+
RESERVATION = "reservation"
|
|
3240
|
+
}
|
|
3241
|
+
export declare enum CancellationStatusEnum {
|
|
3242
|
+
IMMEDIATE = "immediate",
|
|
3243
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3213
3244
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
userLastName: string;
|
|
3218
|
-
organizationId: number;
|
|
3219
|
-
programId: number;
|
|
3220
|
-
programName: string;
|
|
3221
|
-
sessionId: number;
|
|
3222
|
-
sessionName: string;
|
|
3223
|
-
productId: number;
|
|
3224
|
-
productName: string;
|
|
3225
|
-
productUserId: number;
|
|
3226
|
-
purchaseDate: Date;
|
|
3227
|
-
passesLeft: number;
|
|
3245
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3246
|
+
DRAFT = 0,
|
|
3247
|
+
PUBLISHED = 1
|
|
3228
3248
|
}
|
|
3229
|
-
export
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
registrationEndDate: Date;
|
|
3236
|
-
sport: SportsEnum;
|
|
3237
|
-
minAge: string;
|
|
3238
|
-
maxAge: string;
|
|
3239
|
-
maxParticipants?: number;
|
|
3240
|
-
gender: GenderEnum;
|
|
3241
|
-
activityTimes: ActivityTimes[];
|
|
3242
|
-
earlyRegistrationStartDate?: Date;
|
|
3243
|
-
earlyRegistrationEndDate?: Date;
|
|
3244
|
-
lateRegistrationStartDate?: Date;
|
|
3245
|
-
lateRegistrationEndDate?: Date;
|
|
3246
|
-
attendeeCount?: number;
|
|
3247
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3249
|
+
export declare enum FinancialStepEnum {
|
|
3250
|
+
VOID = "void",
|
|
3251
|
+
REFUND = "refund",
|
|
3252
|
+
NONE = "none",
|
|
3253
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3254
|
+
APPEND = "append"
|
|
3248
3255
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
products?: ISessionLandingPageProduct[];
|
|
3256
|
+
export declare enum StripeAccountTypesEnum {
|
|
3257
|
+
STRIPE = "stripe",
|
|
3258
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3259
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3254
3260
|
}
|
|
3255
|
-
export
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
segments?: Event[] | ProgramSeason[];
|
|
3260
|
-
programName: string;
|
|
3261
|
-
programId: number;
|
|
3262
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3261
|
+
export declare enum LinkedAccountStatus {
|
|
3262
|
+
PENDING = 1,
|
|
3263
|
+
ACTIVE = 2,
|
|
3264
|
+
PRE_PENDING = 3
|
|
3264
3265
|
}
|
|
3265
|
-
export
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
-
name: string;
|
|
3270
|
-
productType?: ProductTypesEnum;
|
|
3271
|
-
productSubType?: string;
|
|
3272
|
-
}[];
|
|
3266
|
+
export declare enum AddonParentTypeEnum {
|
|
3267
|
+
RESERVATION = "reservation",
|
|
3268
|
+
SLOT = "slot"
|
|
3273
3269
|
}
|
|
3274
|
-
export
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
downpayment?: number;
|
|
3280
|
-
description?: string;
|
|
3281
|
-
prices: Price[];
|
|
3282
|
-
productSubType?: ProductSubTypesEnum;
|
|
3283
|
-
punchCard: boolean;
|
|
3284
|
-
isAddon: boolean;
|
|
3285
|
-
defaultPriceId?: number;
|
|
3270
|
+
export declare enum EEmailStatus {
|
|
3271
|
+
SENT = "sent",
|
|
3272
|
+
OPENED = "opened",
|
|
3273
|
+
PAID = "paid",
|
|
3274
|
+
CANCELED = "canceled"
|
|
3286
3275
|
}
|
|
3287
|
-
export
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3276
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3277
|
+
ENABLED = 1,
|
|
3278
|
+
DISABLED_REDIRECT = 2,
|
|
3279
|
+
DISABLED_INFO_ONLY = 3,
|
|
3280
|
+
DISABLED_EMAIL = 4
|
|
3291
3281
|
}
|
|
3292
|
-
export
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3282
|
+
export declare enum NotifyMethodEnum {
|
|
3283
|
+
EMAIL = "Email"
|
|
3284
|
+
}
|
|
3285
|
+
export declare enum EComparisonFilter {
|
|
3286
|
+
LessThan = "lt",
|
|
3287
|
+
GreaterOrEqualTo = "gte"
|
|
3288
|
+
}
|
|
3289
|
+
export declare class Athlete extends BondBaseEntity {
|
|
3290
|
+
userId: number | null;
|
|
3291
|
+
metadata: object | null;
|
|
3292
|
+
athleteSports: AthleteSports[];
|
|
3293
|
+
}
|
|
3294
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
3295
|
+
familyAccountId: number;
|
|
3296
|
+
userId: number;
|
|
3297
|
+
isAdmin: boolean;
|
|
3298
|
+
user: User;
|
|
3299
|
+
familyAccount: FamilyAccount;
|
|
3300
|
+
deletedAt?: Date;
|
|
3299
3301
|
}
|
|
3300
3302
|
export declare class ColumnNumericTransformer {
|
|
3301
3303
|
to(data: number): number;
|
|
@@ -3322,7 +3324,8 @@ export declare enum ImportPaymentTypeEnum {
|
|
|
3322
3324
|
CASH = "cash",
|
|
3323
3325
|
CHECK = "check",
|
|
3324
3326
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3325
|
-
OTHER = "other"
|
|
3327
|
+
OTHER = "other",
|
|
3328
|
+
GIFT_CARD = "gift-card"
|
|
3326
3329
|
}
|
|
3327
3330
|
export declare class ImportedInvoiceLineDto {
|
|
3328
3331
|
invoiceID?: string;
|
|
@@ -3449,150 +3452,41 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3449
3452
|
divisionId?: number;
|
|
3450
3453
|
name: string;
|
|
3451
3454
|
}
|
|
3452
|
-
export interface ValidatedMonthAndDay {
|
|
3453
|
-
valid: boolean;
|
|
3454
|
-
month?: number;
|
|
3455
|
-
day?: number;
|
|
3456
|
-
}
|
|
3457
|
-
export interface ValidationReason {
|
|
3458
|
-
valid: boolean;
|
|
3459
|
-
reason?: string;
|
|
3460
|
-
}
|
|
3461
|
-
export declare class Lock extends BondBaseEntity {
|
|
3462
|
-
name: string;
|
|
3463
|
-
locked?: Date;
|
|
3464
|
-
}
|
|
3465
3455
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3466
3456
|
teamId: number | null;
|
|
3467
3457
|
eventId: number | null;
|
|
3468
3458
|
status: number | null;
|
|
3469
3459
|
}
|
|
3470
|
-
export
|
|
3471
|
-
parentId: number;
|
|
3472
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3473
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3474
|
-
id?: number;
|
|
3475
|
-
}
|
|
3476
|
-
export interface PaymentStatusesDict {
|
|
3477
|
-
[id: number]: PaymentStatus[];
|
|
3478
|
-
}
|
|
3479
|
-
export interface PaymentStatusDict {
|
|
3480
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3481
|
-
}
|
|
3482
|
-
export declare class CreateMonitorConfigDto {
|
|
3483
|
-
facilityId: number;
|
|
3460
|
+
export declare class Lock extends BondBaseEntity {
|
|
3484
3461
|
name: string;
|
|
3485
|
-
|
|
3486
|
-
config: any;
|
|
3487
|
-
}
|
|
3488
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3489
|
-
facilityId: number;
|
|
3490
|
-
code: string;
|
|
3491
|
-
config?: any;
|
|
3492
|
-
}
|
|
3493
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
|
-
userId: number;
|
|
3495
|
-
organizationId: number;
|
|
3496
|
-
notifyMetadata?: any;
|
|
3497
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3498
|
-
destination: string;
|
|
3499
|
-
}
|
|
3500
|
-
export declare class ByOrganizationIdDto {
|
|
3501
|
-
organizationId: number;
|
|
3502
|
-
}
|
|
3503
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3504
|
-
organizationId?: number;
|
|
3505
|
-
}
|
|
3506
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3507
|
-
programsIds?: string;
|
|
3508
|
-
sessionsIds?: string;
|
|
3509
|
-
segmentsIds?: string;
|
|
3510
|
-
startDate?: string;
|
|
3511
|
-
endDate?: string;
|
|
3512
|
-
months?: string;
|
|
3513
|
-
dow?: string;
|
|
3514
|
-
}
|
|
3515
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3516
|
-
programsIds?: string;
|
|
3517
|
-
sessionsIds?: string;
|
|
3518
|
-
segmentsIds?: string;
|
|
3519
|
-
startDate?: string;
|
|
3520
|
-
endDate?: string;
|
|
3521
|
-
months?: string;
|
|
3522
|
-
dow?: string;
|
|
3523
|
-
}
|
|
3524
|
-
export declare class Organization extends BondBaseEntity {
|
|
3525
|
-
name: string | null;
|
|
3526
|
-
email: string | null;
|
|
3527
|
-
twitter: string | null;
|
|
3528
|
-
facebook: string | null;
|
|
3529
|
-
instagram: string | null;
|
|
3530
|
-
website: string | null;
|
|
3531
|
-
blog: string | null;
|
|
3532
|
-
phoneNumber: string | null;
|
|
3533
|
-
waiverDoc: string | null;
|
|
3534
|
-
about: string | null;
|
|
3535
|
-
tagline: string | null;
|
|
3536
|
-
status: number | null;
|
|
3537
|
-
addressId: number | null;
|
|
3538
|
-
merchantId: number | null;
|
|
3539
|
-
userCreatorId: number | null;
|
|
3540
|
-
parentId: number | null;
|
|
3541
|
-
paymentSettings: object | null;
|
|
3542
|
-
settings: object | null;
|
|
3543
|
-
isClaimed: boolean | null;
|
|
3544
|
-
sports: number[] | null;
|
|
3545
|
-
mainMediaId: number | null;
|
|
3546
|
-
deletedAt: Date | null;
|
|
3547
|
-
organizationActivityTypes: number[] | null;
|
|
3548
|
-
organizationTypes: number[] | null;
|
|
3549
|
-
organizationAudienceTypes: number[] | null;
|
|
3550
|
-
organizationGenders: number[] | null;
|
|
3551
|
-
questionnaireId: number | null;
|
|
3552
|
-
membershipQuestionnaireId: number | null;
|
|
3553
|
-
feeRate: number;
|
|
3554
|
-
feeAddDollarRate: number;
|
|
3555
|
-
achFeeRate: number;
|
|
3556
|
-
achFeeAddDollarRate: number;
|
|
3557
|
-
maxAchFee: number;
|
|
3558
|
-
cashFeeRate: number;
|
|
3559
|
-
cashFeeAddDollarRate: number;
|
|
3560
|
-
terminalFeeRate: number;
|
|
3561
|
-
terminalFeeAddDollarRate: number;
|
|
3562
|
-
checkFeeRate: number;
|
|
3563
|
-
checkFeeAddDollarRate: number;
|
|
3564
|
-
otherFeeRate: number;
|
|
3565
|
-
otherFeeAddDollarRate: number;
|
|
3566
|
-
balanceFeeRate: number;
|
|
3567
|
-
balanceFeeAddDollarRate: number;
|
|
3568
|
-
address: Address;
|
|
3569
|
-
mainMedia: Media;
|
|
3570
|
-
brandings: OrganizationBranding[];
|
|
3571
|
-
brandingsV2?: OrganizationBranding[];
|
|
3462
|
+
locked?: Date;
|
|
3572
3463
|
}
|
|
3573
|
-
export
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
organization: Organization;
|
|
3464
|
+
export interface ValidatedMonthAndDay {
|
|
3465
|
+
valid: boolean;
|
|
3466
|
+
month?: number;
|
|
3467
|
+
day?: number;
|
|
3578
3468
|
}
|
|
3579
|
-
export
|
|
3580
|
-
|
|
3469
|
+
export interface ValidationReason {
|
|
3470
|
+
valid: boolean;
|
|
3471
|
+
reason?: string;
|
|
3581
3472
|
}
|
|
3582
|
-
export declare class
|
|
3583
|
-
|
|
3584
|
-
|
|
3473
|
+
export declare class CreateMonitorConfigDto {
|
|
3474
|
+
facilityId: number;
|
|
3475
|
+
name: string;
|
|
3476
|
+
code: string;
|
|
3477
|
+
config: any;
|
|
3585
3478
|
}
|
|
3586
|
-
export
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
durations?: Duration[];
|
|
3591
|
-
daysOfWeek?: number[];
|
|
3479
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3480
|
+
facilityId: number;
|
|
3481
|
+
code: string;
|
|
3482
|
+
config?: any;
|
|
3592
3483
|
}
|
|
3593
|
-
export
|
|
3594
|
-
|
|
3595
|
-
|
|
3484
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3485
|
+
userId: number;
|
|
3486
|
+
organizationId: number;
|
|
3487
|
+
notifyMetadata?: any;
|
|
3488
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3489
|
+
destination: string;
|
|
3596
3490
|
}
|
|
3597
3491
|
export declare class CustomerIdDto {
|
|
3598
3492
|
customerId: number;
|
|
@@ -3773,6 +3667,18 @@ export interface ExtendedLineItems {
|
|
|
3773
3667
|
products: LineItems[];
|
|
3774
3668
|
events: LineItems[];
|
|
3775
3669
|
}
|
|
3670
|
+
export interface PaymentStatus {
|
|
3671
|
+
parentId: number;
|
|
3672
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3673
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3674
|
+
id?: number;
|
|
3675
|
+
}
|
|
3676
|
+
export interface PaymentStatusesDict {
|
|
3677
|
+
[id: number]: PaymentStatus[];
|
|
3678
|
+
}
|
|
3679
|
+
export interface PaymentStatusDict {
|
|
3680
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3681
|
+
}
|
|
3776
3682
|
export interface RefundResult extends PaymentsResults {
|
|
3777
3683
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3778
3684
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3783,6 +3689,135 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3783
3689
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3784
3690
|
totalAmountProcessed: number;
|
|
3785
3691
|
}
|
|
3692
|
+
export declare class ByOrganizationIdDto {
|
|
3693
|
+
organizationId: number;
|
|
3694
|
+
}
|
|
3695
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3696
|
+
organizationId?: number;
|
|
3697
|
+
}
|
|
3698
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3699
|
+
programsIds?: string;
|
|
3700
|
+
sessionsIds?: string;
|
|
3701
|
+
segmentsIds?: string;
|
|
3702
|
+
startDate?: string;
|
|
3703
|
+
endDate?: string;
|
|
3704
|
+
months?: string;
|
|
3705
|
+
dow?: string;
|
|
3706
|
+
}
|
|
3707
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3708
|
+
programsIds?: string;
|
|
3709
|
+
sessionsIds?: string;
|
|
3710
|
+
segmentsIds?: string;
|
|
3711
|
+
startDate?: string;
|
|
3712
|
+
endDate?: string;
|
|
3713
|
+
months?: string;
|
|
3714
|
+
dow?: string;
|
|
3715
|
+
}
|
|
3716
|
+
export declare class Organization extends BondBaseEntity {
|
|
3717
|
+
name: string | null;
|
|
3718
|
+
email: string | null;
|
|
3719
|
+
twitter: string | null;
|
|
3720
|
+
facebook: string | null;
|
|
3721
|
+
instagram: string | null;
|
|
3722
|
+
website: string | null;
|
|
3723
|
+
blog: string | null;
|
|
3724
|
+
phoneNumber: string | null;
|
|
3725
|
+
waiverDoc: string | null;
|
|
3726
|
+
about: string | null;
|
|
3727
|
+
tagline: string | null;
|
|
3728
|
+
status: number | null;
|
|
3729
|
+
addressId: number | null;
|
|
3730
|
+
merchantId: number | null;
|
|
3731
|
+
userCreatorId: number | null;
|
|
3732
|
+
parentId: number | null;
|
|
3733
|
+
paymentSettings: object | null;
|
|
3734
|
+
settings: object | null;
|
|
3735
|
+
isClaimed: boolean | null;
|
|
3736
|
+
sports: number[] | null;
|
|
3737
|
+
mainMediaId: number | null;
|
|
3738
|
+
deletedAt: Date | null;
|
|
3739
|
+
organizationActivityTypes: number[] | null;
|
|
3740
|
+
organizationTypes: number[] | null;
|
|
3741
|
+
organizationAudienceTypes: number[] | null;
|
|
3742
|
+
organizationGenders: number[] | null;
|
|
3743
|
+
questionnaireId: number | null;
|
|
3744
|
+
membershipQuestionnaireId: number | null;
|
|
3745
|
+
feeRate: number;
|
|
3746
|
+
feeAddDollarRate: number;
|
|
3747
|
+
achFeeRate: number;
|
|
3748
|
+
achFeeAddDollarRate: number;
|
|
3749
|
+
maxAchFee: number;
|
|
3750
|
+
cashFeeRate: number;
|
|
3751
|
+
cashFeeAddDollarRate: number;
|
|
3752
|
+
terminalFeeRate: number;
|
|
3753
|
+
terminalFeeAddDollarRate: number;
|
|
3754
|
+
checkFeeRate: number;
|
|
3755
|
+
checkFeeAddDollarRate: number;
|
|
3756
|
+
otherFeeRate: number;
|
|
3757
|
+
otherFeeAddDollarRate: number;
|
|
3758
|
+
balanceFeeRate: number;
|
|
3759
|
+
balanceFeeAddDollarRate: number;
|
|
3760
|
+
address: Address;
|
|
3761
|
+
mainMedia: Media;
|
|
3762
|
+
brandings: OrganizationBranding[];
|
|
3763
|
+
brandingsV2?: OrganizationBranding[];
|
|
3764
|
+
}
|
|
3765
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3766
|
+
key?: string;
|
|
3767
|
+
vaule?: string;
|
|
3768
|
+
version: number;
|
|
3769
|
+
organization: Organization;
|
|
3770
|
+
}
|
|
3771
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3772
|
+
mainAdminUserId?: number;
|
|
3773
|
+
}
|
|
3774
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3775
|
+
organisationId: number | null;
|
|
3776
|
+
userId: number | null;
|
|
3777
|
+
}
|
|
3778
|
+
export interface UnallocatedEventsFilters {
|
|
3779
|
+
programsIds?: number[];
|
|
3780
|
+
sessionsIds?: number[];
|
|
3781
|
+
segmentsIds?: number[];
|
|
3782
|
+
durations?: Duration[];
|
|
3783
|
+
daysOfWeek?: number[];
|
|
3784
|
+
}
|
|
3785
|
+
export interface Duration {
|
|
3786
|
+
startDate: string;
|
|
3787
|
+
endDate: string;
|
|
3788
|
+
}
|
|
3789
|
+
export interface IUnallocatedEventRes {
|
|
3790
|
+
id: number;
|
|
3791
|
+
title: string;
|
|
3792
|
+
sports: number[];
|
|
3793
|
+
startDate: string;
|
|
3794
|
+
startDateString: string;
|
|
3795
|
+
startTime: string;
|
|
3796
|
+
endDate: string;
|
|
3797
|
+
endDateString: string;
|
|
3798
|
+
endTime: string;
|
|
3799
|
+
timezone: string;
|
|
3800
|
+
}
|
|
3801
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3802
|
+
data: IUnallocatedEventRes[];
|
|
3803
|
+
}
|
|
3804
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3805
|
+
name: string;
|
|
3806
|
+
deletedAt?: Date;
|
|
3807
|
+
permissions: Permission[];
|
|
3808
|
+
usersRoles: UserRole[];
|
|
3809
|
+
}
|
|
3810
|
+
export declare class Permission extends BondBaseEntity {
|
|
3811
|
+
name: string;
|
|
3812
|
+
deletedAt?: Date;
|
|
3813
|
+
}
|
|
3814
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3815
|
+
deletedAt?: Date;
|
|
3816
|
+
userId: number;
|
|
3817
|
+
roleId: number;
|
|
3818
|
+
role: Role;
|
|
3819
|
+
user: User;
|
|
3820
|
+
}
|
|
3786
3821
|
export declare class AddonDto {
|
|
3787
3822
|
productId: number;
|
|
3788
3823
|
id?: number;
|
|
@@ -3810,6 +3845,32 @@ export declare class EditAddonDto {
|
|
|
3810
3845
|
totalPrice: number;
|
|
3811
3846
|
unitPrice?: number;
|
|
3812
3847
|
}
|
|
3848
|
+
export declare class LineItemDto {
|
|
3849
|
+
id?: number;
|
|
3850
|
+
invoiceId?: number;
|
|
3851
|
+
type: LineItemsStatusEnum;
|
|
3852
|
+
organizationId: number;
|
|
3853
|
+
userId?: number;
|
|
3854
|
+
productId: number;
|
|
3855
|
+
product?: Product;
|
|
3856
|
+
productType: ProductTypesEnum;
|
|
3857
|
+
ordinal?: number;
|
|
3858
|
+
price: number;
|
|
3859
|
+
originalPrice?: number;
|
|
3860
|
+
paidAmount?: number;
|
|
3861
|
+
currency: CurrencyEnum;
|
|
3862
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3863
|
+
isRefunded?: boolean;
|
|
3864
|
+
isTaxInclusive?: boolean;
|
|
3865
|
+
taxPrecent?: number;
|
|
3866
|
+
unitPrice?: number;
|
|
3867
|
+
quantity: number;
|
|
3868
|
+
resources?: PurchasedResourceDto[];
|
|
3869
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3870
|
+
unitPriceWithTax?: number;
|
|
3871
|
+
unitTaxPrice?: number;
|
|
3872
|
+
parentOrdinal?: number;
|
|
3873
|
+
}
|
|
3813
3874
|
export declare class InvoiceDto {
|
|
3814
3875
|
invoiceId?: string | null;
|
|
3815
3876
|
organizationId: number;
|
|
@@ -3851,32 +3912,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3851
3912
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3852
3913
|
segments: SegmentDto[];
|
|
3853
3914
|
}
|
|
3854
|
-
export declare class LineItemDto {
|
|
3855
|
-
id?: number;
|
|
3856
|
-
invoiceId?: number;
|
|
3857
|
-
type: LineItemsStatusEnum;
|
|
3858
|
-
organizationId: number;
|
|
3859
|
-
userId?: number;
|
|
3860
|
-
productId: number;
|
|
3861
|
-
product?: Product;
|
|
3862
|
-
productType: ProductTypesEnum;
|
|
3863
|
-
ordinal?: number;
|
|
3864
|
-
price: number;
|
|
3865
|
-
originalPrice?: number;
|
|
3866
|
-
paidAmount?: number;
|
|
3867
|
-
currency: CurrencyEnum;
|
|
3868
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3869
|
-
isRefunded?: boolean;
|
|
3870
|
-
isTaxInclusive?: boolean;
|
|
3871
|
-
taxPrecent?: number;
|
|
3872
|
-
unitPrice?: number;
|
|
3873
|
-
quantity: number;
|
|
3874
|
-
resources?: PurchasedResourceDto[];
|
|
3875
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3876
|
-
unitPriceWithTax?: number;
|
|
3877
|
-
unitTaxPrice?: number;
|
|
3878
|
-
parentOrdinal?: number;
|
|
3879
|
-
}
|
|
3880
3915
|
export declare class MaintenanceDto {
|
|
3881
3916
|
id?: number;
|
|
3882
3917
|
title: string;
|
|
@@ -4041,7 +4076,8 @@ export declare class ReservationNotifyDto {
|
|
|
4041
4076
|
notifyMethods?: NotifyMethodEnum[];
|
|
4042
4077
|
}
|
|
4043
4078
|
export declare class UpdateReservationInvoiceDto {
|
|
4044
|
-
updateAddons?:
|
|
4079
|
+
updateAddons?: boolean;
|
|
4080
|
+
updateMaintenance?: boolean;
|
|
4045
4081
|
}
|
|
4046
4082
|
export declare class SegmentDto {
|
|
4047
4083
|
id?: number;
|
|
@@ -4337,6 +4373,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4337
4373
|
conflictsCount?: number;
|
|
4338
4374
|
conflicts?: Slot[];
|
|
4339
4375
|
}
|
|
4376
|
+
export declare class ChangeRolePermissionsDto {
|
|
4377
|
+
permissionIds: number[];
|
|
4378
|
+
}
|
|
4379
|
+
export declare class CreateRoleDto {
|
|
4380
|
+
name: string;
|
|
4381
|
+
}
|
|
4340
4382
|
export declare type TSlotAndType = {
|
|
4341
4383
|
type: 'slots' | 'slot_addons';
|
|
4342
4384
|
slotsForProduct: {
|
|
@@ -4569,29 +4611,6 @@ export interface AddonMetadata {
|
|
|
4569
4611
|
totalPrice: number;
|
|
4570
4612
|
product?: Product;
|
|
4571
4613
|
}
|
|
4572
|
-
export declare class ChangeRolePermissionsDto {
|
|
4573
|
-
permissionIds: number[];
|
|
4574
|
-
}
|
|
4575
|
-
export declare class CreateRoleDto {
|
|
4576
|
-
name: string;
|
|
4577
|
-
}
|
|
4578
|
-
export declare class Permission extends BondBaseEntity {
|
|
4579
|
-
name: string;
|
|
4580
|
-
deletedAt?: Date;
|
|
4581
|
-
}
|
|
4582
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4583
|
-
name: string;
|
|
4584
|
-
deletedAt?: Date;
|
|
4585
|
-
permissions: Permission[];
|
|
4586
|
-
usersRoles: UserRole[];
|
|
4587
|
-
}
|
|
4588
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4589
|
-
deletedAt?: Date;
|
|
4590
|
-
userId: number;
|
|
4591
|
-
roleId: number;
|
|
4592
|
-
role: Role;
|
|
4593
|
-
user: User;
|
|
4594
|
-
}
|
|
4595
4614
|
export declare class CloseShiftDto {
|
|
4596
4615
|
closingCashAmount: number;
|
|
4597
4616
|
}
|
|
@@ -4658,3 +4677,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4658
4677
|
closingManager?: User;
|
|
4659
4678
|
reconcilingUser?: User;
|
|
4660
4679
|
}
|
|
4680
|
+
export default interface IWebflowProgram {
|
|
4681
|
+
name: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
activity: string;
|
|
4684
|
+
backgroundImage: string;
|
|
4685
|
+
minAge: string;
|
|
4686
|
+
maxAge: string;
|
|
4687
|
+
shortDescription: string;
|
|
4688
|
+
longDescription: string;
|
|
4689
|
+
programType: string;
|
|
4690
|
+
level: string[];
|
|
4691
|
+
gender: string;
|
|
4692
|
+
}
|