@bondsports/types 0.0.77 → 0.0.78
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 +2035 -2035
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,2351 +2,2351 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class
|
|
6
|
-
entityType: ResourceNameTypeEnum;
|
|
7
|
-
entityId: number;
|
|
8
|
-
organizationId?: number;
|
|
9
|
-
userId?: number;
|
|
10
|
-
customerId?: number;
|
|
11
|
-
performingUserId: number;
|
|
12
|
-
description: string;
|
|
13
|
-
actionType: ActionTypesEnum;
|
|
14
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
15
|
-
oldValue?: any;
|
|
16
|
-
newValue?: any;
|
|
17
|
-
}
|
|
18
|
-
export declare class ActivityTimes extends BondBaseEntity {
|
|
19
|
-
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
20
|
-
parentId: number;
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
21
6
|
dayOfWeek: number;
|
|
22
|
-
open: string;
|
|
23
7
|
close: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
availabilityEndDate: string;
|
|
28
|
-
proudct: Product;
|
|
29
|
-
event: Event;
|
|
30
|
-
}
|
|
31
|
-
export declare class Address extends BondBaseEntity {
|
|
32
|
-
city?: string;
|
|
33
|
-
street?: string;
|
|
34
|
-
streetNum?: string;
|
|
35
|
-
aptNum?: string;
|
|
36
|
-
zip?: string;
|
|
37
|
-
country?: string;
|
|
38
|
-
state?: string;
|
|
39
|
-
geo: any;
|
|
40
|
-
deletedAt?: Date;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
41
11
|
}
|
|
42
|
-
export declare class
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
43
13
|
questionId: number;
|
|
44
|
-
|
|
45
|
-
parentId: number;
|
|
46
|
-
parentType: ResourceNameTypeEnum;
|
|
47
|
-
answerValue: any;
|
|
48
|
-
creatorId: number;
|
|
49
|
-
creatorType: ResourceNameTypeEnum;
|
|
50
|
-
answerTitleId: number;
|
|
51
|
-
answerTitle: AnswerTitle;
|
|
52
|
-
metaData: any | null;
|
|
53
|
-
questionText: string | null;
|
|
14
|
+
value: any;
|
|
54
15
|
}
|
|
55
|
-
export declare class
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
answers: Answer[];
|
|
59
|
-
questionnaire: Questionnaires;
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
60
19
|
}
|
|
61
|
-
export declare class
|
|
62
|
-
|
|
63
|
-
metadata: object | null;
|
|
64
|
-
athleteSports: AthleteSports[];
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
65
22
|
}
|
|
66
|
-
export declare class
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
70
29
|
}
|
|
71
|
-
export declare class
|
|
72
|
-
|
|
73
|
-
entityId: number;
|
|
74
|
-
name: string;
|
|
75
|
-
startDate: Date;
|
|
76
|
-
endDate: Date;
|
|
77
|
-
deletedAt?: Date;
|
|
30
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
+
membershipId: number;
|
|
78
32
|
}
|
|
79
|
-
export declare class
|
|
80
|
-
|
|
81
|
-
createdAt: Date;
|
|
82
|
-
updatedAt: Date;
|
|
33
|
+
export declare class ImportProductsFromDB {
|
|
34
|
+
buDate: string;
|
|
83
35
|
}
|
|
84
|
-
export declare class
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
creatorId?: number;
|
|
88
|
-
creatorType?: string;
|
|
89
|
-
startDate?: Date | moment.Moment;
|
|
90
|
-
endDate?: Date | moment.Moment;
|
|
91
|
-
timezone?: string;
|
|
92
|
-
spaceId?: number;
|
|
93
|
-
percentage?: number;
|
|
94
|
-
status?: string;
|
|
95
|
-
originalSessionId?: number;
|
|
96
|
-
isFinal?: boolean;
|
|
97
|
-
concurrent?: number;
|
|
98
|
-
deletedAt?: Date;
|
|
99
|
-
publicNotes?: string;
|
|
100
|
-
slotType?: SlotTypeEnum;
|
|
36
|
+
export declare class ImportCustomerFromCSV {
|
|
37
|
+
fileName: string;
|
|
38
|
+
startIndex?: number;
|
|
101
39
|
}
|
|
102
|
-
export declare class
|
|
103
|
-
|
|
104
|
-
parentType: ResourceNameTypeEnum;
|
|
105
|
-
startDate: Date;
|
|
106
|
-
endDate: Date;
|
|
107
|
-
dayOfWeek: number;
|
|
108
|
-
startTimeInDay: string;
|
|
109
|
-
endTimeInDay: string;
|
|
110
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
40
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
+
resolveInvoices: string;
|
|
111
42
|
}
|
|
112
|
-
export declare class
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
value: string;
|
|
43
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
+
membershipId: number;
|
|
45
|
+
onlyDashIds: string;
|
|
116
46
|
}
|
|
117
|
-
export declare class
|
|
118
|
-
|
|
119
|
-
from: number | null;
|
|
120
|
-
fromType: string | null;
|
|
121
|
-
to: number | null;
|
|
122
|
-
toType: string | null;
|
|
123
|
-
status: number | null;
|
|
124
|
-
creatorId: number | null;
|
|
125
|
-
creatorType: string | null;
|
|
126
|
-
userCreatorId: number | null;
|
|
127
|
-
ownerId: number | null;
|
|
47
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
+
facilityId: number;
|
|
128
49
|
}
|
|
129
|
-
export declare class
|
|
130
|
-
|
|
131
|
-
entityId: number | null;
|
|
132
|
-
addressId: number | null;
|
|
133
|
-
entityType: CustomerTypeEnum | null;
|
|
134
|
-
customerId: string | null;
|
|
135
|
-
email: string | null;
|
|
136
|
-
color: string | null;
|
|
137
|
-
phoneNumber: string | null;
|
|
138
|
-
mainMediaId: number | null;
|
|
139
|
-
creatorId: number | null;
|
|
140
|
-
creatorType: ResourceNameTypeEnum | null;
|
|
141
|
-
userCreatorId: number | null;
|
|
142
|
-
ownerId: number | null;
|
|
143
|
-
vetted: boolean | null;
|
|
144
|
-
firstName: string | null;
|
|
145
|
-
lastName: string | null;
|
|
146
|
-
waiverSignedDate: string | null;
|
|
147
|
-
balance: number | null;
|
|
148
|
-
storedCredit: number;
|
|
149
|
-
members: (User & Customer)[];
|
|
150
|
-
emergencyContacts: EmergencyContact[];
|
|
151
|
-
customerNotes: CustomerNote[];
|
|
152
|
-
customerCreditTransactions: CustomerCreditTransaction[];
|
|
153
|
-
productsReservedFor: ProductsReservedForCustomers[];
|
|
154
|
-
mainMedia: Media;
|
|
155
|
-
reservations?: Reservation[];
|
|
50
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
+
customerId: number;
|
|
156
52
|
}
|
|
157
|
-
export declare class
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
orderId: number;
|
|
163
|
-
creditPaymentInvoiceId: number;
|
|
53
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
+
nameSearch?: string;
|
|
55
|
+
fuzzy?: string;
|
|
56
|
+
customerType?: CustomerTypeEnum;
|
|
57
|
+
customersIds?: string;
|
|
164
58
|
}
|
|
165
|
-
export declare class
|
|
166
|
-
|
|
167
|
-
userId: number;
|
|
168
|
-
amount: number;
|
|
169
|
-
invoiceId?: number;
|
|
170
|
-
orderId?: number;
|
|
171
|
-
description?: string;
|
|
172
|
-
deletedAt?: Date;
|
|
173
|
-
customer: Customer;
|
|
174
|
-
order: Order;
|
|
175
|
-
invoice: Invoice;
|
|
59
|
+
export declare class AddCustomerNotesDto {
|
|
60
|
+
customerNotes: CustomerNoteDto[];
|
|
176
61
|
}
|
|
177
|
-
export declare class
|
|
178
|
-
|
|
62
|
+
export declare class CustomerNoteDto {
|
|
63
|
+
id?: number;
|
|
179
64
|
description: string;
|
|
180
65
|
pinToTop?: boolean;
|
|
181
|
-
customer: Customer;
|
|
182
66
|
}
|
|
183
|
-
export declare class
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
67
|
+
export declare class AddEditCustomerDto {
|
|
68
|
+
firstName?: string;
|
|
69
|
+
lastName?: string;
|
|
70
|
+
entityId?: number;
|
|
71
|
+
entityType?: CustomerTypeEnum;
|
|
72
|
+
email?: string;
|
|
73
|
+
color?: string;
|
|
74
|
+
street?: string;
|
|
75
|
+
city?: string;
|
|
76
|
+
state?: string;
|
|
77
|
+
zip?: string;
|
|
78
|
+
phoneNumber?: string;
|
|
79
|
+
mainMediaId?: number;
|
|
80
|
+
creatorId?: number;
|
|
81
|
+
creatorType?: ResourceNameTypeEnum;
|
|
82
|
+
userCreatorId?: number;
|
|
83
|
+
gender?: GenderEnum;
|
|
84
|
+
birthDate?: string;
|
|
85
|
+
emergencyContactName?: string;
|
|
86
|
+
emergencyContactPhone?: string;
|
|
190
87
|
}
|
|
191
|
-
export declare class
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
phoneNumber: string | null;
|
|
195
|
-
customer: Customer;
|
|
88
|
+
export declare class FindEventByIdDto {
|
|
89
|
+
eventId: number;
|
|
90
|
+
organizationId: number;
|
|
196
91
|
}
|
|
197
|
-
export declare class
|
|
198
|
-
|
|
199
|
-
|
|
92
|
+
export declare class UpdateEventDto {
|
|
93
|
+
name: string;
|
|
94
|
+
startDate: string;
|
|
95
|
+
endDate: string;
|
|
96
|
+
startTime: string;
|
|
97
|
+
endTime: string;
|
|
98
|
+
spacesIds?: number[];
|
|
99
|
+
publicNotes?: string;
|
|
100
|
+
privateNotes?: string;
|
|
101
|
+
isInformAttendees?: boolean;
|
|
102
|
+
minutesBeforeSlot?: number;
|
|
103
|
+
minutesAfterSlot?: number;
|
|
200
104
|
}
|
|
201
|
-
export declare class
|
|
202
|
-
|
|
105
|
+
export declare class AddEventToSessionDto {
|
|
106
|
+
eventsData: UpdateEventDto[];
|
|
203
107
|
}
|
|
204
|
-
export declare class
|
|
205
|
-
|
|
206
|
-
hasPaid: boolean | null;
|
|
207
|
-
paymentId: number | null;
|
|
208
|
-
attendeeId: number;
|
|
209
|
-
eventId?: number | null;
|
|
210
|
-
productUserId?: number;
|
|
211
|
-
answerTitleIds?: number[];
|
|
212
|
-
entryStatus?: EntryStatusEnum;
|
|
213
|
-
addonProductUserIds?: number[];
|
|
214
|
-
deletedAt?: Date;
|
|
215
|
-
attendee: User;
|
|
216
|
-
event: Event;
|
|
217
|
-
purchasedResource: PurchasedResource;
|
|
108
|
+
export declare class EventsIdsQueryDto {
|
|
109
|
+
eventsIds: string;
|
|
218
110
|
}
|
|
219
|
-
export declare class
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
startDate: Date | null;
|
|
226
|
-
endDate: Date | null;
|
|
227
|
-
price: number | null;
|
|
228
|
-
venueName: string | null;
|
|
229
|
-
status: EventStatusEnum;
|
|
230
|
-
private: boolean | null;
|
|
231
|
-
guestsCanInvite: boolean | null;
|
|
232
|
-
venueId: number | null;
|
|
233
|
-
addressId: number | null;
|
|
234
|
-
participantsLimit: number | null;
|
|
235
|
-
parentId: number | null;
|
|
236
|
-
parentType: string | null;
|
|
237
|
-
timezone: string | null;
|
|
238
|
-
eventSubType: string | null;
|
|
239
|
-
eventSubId: number | null;
|
|
240
|
-
metaData: any | null;
|
|
241
|
-
groupingId: string | null;
|
|
242
|
-
redirectUri: string | null;
|
|
243
|
-
externalId: string | null;
|
|
244
|
-
paymentSettings: any | null;
|
|
245
|
-
whoCanJoin: string | null;
|
|
246
|
-
spaceId?: number;
|
|
247
|
-
bookedSessionId: number | null;
|
|
248
|
-
creatorId: number | null;
|
|
249
|
-
creatorType: string | null;
|
|
250
|
-
userCreatorId: number | null;
|
|
251
|
-
ownerId: number | null;
|
|
252
|
-
sports: number[] | null;
|
|
253
|
-
isVerified: boolean | null;
|
|
254
|
-
mainMediaId: number | null;
|
|
255
|
-
minAge: number | null;
|
|
256
|
-
maxAge: number | null;
|
|
257
|
-
gender: number | null;
|
|
258
|
-
questionnaireId: number | null;
|
|
259
|
-
eventAttendees: EventAttendee[];
|
|
260
|
-
deletedAt?: Date;
|
|
261
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
262
|
-
startDateString: string;
|
|
263
|
-
endDateString: string;
|
|
264
|
-
startTime: string;
|
|
265
|
-
endTime: string;
|
|
111
|
+
export declare class UpdateMultipleEventsDto {
|
|
112
|
+
eventsIds: number[];
|
|
113
|
+
name?: string;
|
|
114
|
+
startTime?: string;
|
|
115
|
+
endTime?: string;
|
|
116
|
+
spacesIds?: number[];
|
|
266
117
|
publicNotes?: string;
|
|
267
118
|
privateNotes?: string;
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
slots: Slot[];
|
|
272
|
-
purchasedResources: PurchasedResource[];
|
|
273
|
-
}
|
|
274
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
275
|
-
name: string;
|
|
276
|
-
description?: string;
|
|
277
|
-
addressId: number;
|
|
278
|
-
address: Address;
|
|
279
|
-
amenities?: number[];
|
|
280
|
-
timezone: string;
|
|
281
|
-
creatorId: number;
|
|
282
|
-
creatorType: string;
|
|
283
|
-
userCreatorId: number;
|
|
284
|
-
mainMediaId: number;
|
|
285
|
-
mainMedia: Media;
|
|
286
|
-
publishedDate?: Date;
|
|
287
|
-
isPublished: boolean;
|
|
288
|
-
sports?: number[];
|
|
289
|
-
info?: string;
|
|
290
|
-
longDescription?: string;
|
|
291
|
-
deletedAt?: Date;
|
|
292
|
-
openingTimes: OpeningTime[];
|
|
293
|
-
resources: Resource[];
|
|
294
|
-
spaces: Resource[];
|
|
295
|
-
programSeasons: ProgramSeason[];
|
|
296
|
-
linkSEO: string;
|
|
119
|
+
isInformAttendees?: boolean;
|
|
120
|
+
minutesBeforeSlot?: number;
|
|
121
|
+
minutesAfterSlot?: number;
|
|
297
122
|
}
|
|
298
|
-
export declare class
|
|
123
|
+
export declare class FindByFacilityIdDto {
|
|
299
124
|
facilityId: number;
|
|
300
|
-
resourceId: number;
|
|
301
125
|
}
|
|
302
|
-
export declare class
|
|
303
|
-
|
|
304
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
126
|
+
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
127
|
+
organizationId: number;
|
|
305
128
|
}
|
|
306
|
-
export declare class
|
|
307
|
-
|
|
129
|
+
export declare class FacilityEventsScheduleQueryParams {
|
|
130
|
+
programsIds?: string;
|
|
131
|
+
startDate?: string;
|
|
132
|
+
endDate?: string;
|
|
308
133
|
}
|
|
309
|
-
export declare class
|
|
310
|
-
|
|
311
|
-
orderId: number;
|
|
312
|
-
paymentMethodId: string;
|
|
313
|
-
paymentType: PaymentMethodTypeEnum;
|
|
314
|
-
price: number;
|
|
315
|
-
status: FutureInstallmentStatusEnum;
|
|
316
|
-
plannedDate: Date;
|
|
317
|
-
chargedAt?: Date;
|
|
134
|
+
export declare class ProgramLandingPageDto {
|
|
135
|
+
programId: number;
|
|
318
136
|
}
|
|
319
|
-
export declare class
|
|
320
|
-
|
|
321
|
-
description?: string;
|
|
322
|
-
status: GroupStatusEnum;
|
|
323
|
-
maxCapacity?: number;
|
|
324
|
-
mainMediaId?: number;
|
|
325
|
-
minAgeYears?: number;
|
|
326
|
-
maxAgeYears?: number;
|
|
327
|
-
gender: GenderEnum;
|
|
328
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
329
|
-
sports: SportsEnum[];
|
|
330
|
-
questionnaires?: number[];
|
|
331
|
-
captainUserId?: number;
|
|
332
|
-
members: ISeasonAttendeeInfo[];
|
|
333
|
-
users: User[];
|
|
137
|
+
export declare class ProgramLandingPageQueryDto {
|
|
138
|
+
futureLimit?: number;
|
|
334
139
|
}
|
|
335
|
-
export declare class
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
140
|
+
export declare class ProgramSessionLandingPageDto {
|
|
141
|
+
programId: number;
|
|
142
|
+
sessionId: number;
|
|
143
|
+
}
|
|
144
|
+
export interface IEventOfSessionDetails {
|
|
145
|
+
id: number;
|
|
146
|
+
name: string;
|
|
147
|
+
programId: number;
|
|
148
|
+
programType: ProgramTypesEnum;
|
|
149
|
+
sessionId: number;
|
|
150
|
+
sessionName: string;
|
|
151
|
+
isPublic: boolean;
|
|
339
152
|
startDate: Date;
|
|
340
153
|
endDate: Date;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
groupId: number;
|
|
350
|
-
divisionId: number;
|
|
351
|
-
deletedAt?: Date;
|
|
154
|
+
startTime: string;
|
|
155
|
+
endTime: string;
|
|
156
|
+
resources: IBasicSpaceAndSlotCreator[];
|
|
157
|
+
attenedanceCount: number;
|
|
158
|
+
checkedInCount: number;
|
|
159
|
+
missingPaymentCount: number;
|
|
160
|
+
publicNotes: string;
|
|
161
|
+
privateNotes: string;
|
|
352
162
|
}
|
|
353
|
-
export
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
163
|
+
export interface IAttendeeOfEvent {
|
|
164
|
+
eventId: number;
|
|
165
|
+
userId: number;
|
|
166
|
+
lastName: string;
|
|
167
|
+
firstName: string;
|
|
168
|
+
birthDate: string;
|
|
169
|
+
mediaURL: string;
|
|
170
|
+
signedWaiver: string;
|
|
171
|
+
entryStatus: EntryStatusEnum;
|
|
357
172
|
paymentStatus: PaymentStatusEnum;
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
notes?: string;
|
|
366
|
-
isRefunded: boolean;
|
|
367
|
-
lineItemHistory: LineItemHistory[];
|
|
368
|
-
receiptUrl?: string;
|
|
369
|
-
paymentProcessorTransactionId?: string;
|
|
370
|
-
creatingUserId: number;
|
|
371
|
-
shiftId: number;
|
|
372
|
-
platform: PlatformsEnum;
|
|
373
|
-
ccLast4: string;
|
|
374
|
-
ccBrand: string;
|
|
375
|
-
invoiceNotes: InvoiceNote[];
|
|
376
|
-
parentInvoiceId?: number;
|
|
377
|
-
refundReasonId?: number;
|
|
378
|
-
refundNote?: string;
|
|
173
|
+
addOns: {
|
|
174
|
+
productId: number;
|
|
175
|
+
productName: string;
|
|
176
|
+
}[];
|
|
177
|
+
totalPasses?: number;
|
|
178
|
+
leftPasses?: number;
|
|
179
|
+
addonProductUserIds: number[];
|
|
379
180
|
}
|
|
380
|
-
export declare class
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
sendingUserId: number;
|
|
388
|
-
mailParams?: any;
|
|
389
|
-
memo?: string;
|
|
181
|
+
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
182
|
+
nameSearch?: string;
|
|
183
|
+
isCheckedIn?: string;
|
|
184
|
+
isNotCheckedIn?: string;
|
|
185
|
+
hasAddons?: string;
|
|
186
|
+
isWaiverSigned?: string;
|
|
187
|
+
statuses?: string;
|
|
390
188
|
}
|
|
391
|
-
export declare class
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
deletedAt: Date;
|
|
397
|
-
invoiceId: number;
|
|
398
|
-
invoice: Invoice;
|
|
189
|
+
export declare class AddressDto {
|
|
190
|
+
city: string;
|
|
191
|
+
state: string;
|
|
192
|
+
country: string;
|
|
193
|
+
geo: number[];
|
|
399
194
|
}
|
|
400
|
-
export declare class
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
addressName: string | null;
|
|
405
|
-
shortDescription: string | null;
|
|
406
|
-
waiverDoc: string | null;
|
|
407
|
-
bookingStateStatus: number | null;
|
|
408
|
-
timezone: string | null;
|
|
409
|
-
shortUrl: string | null;
|
|
410
|
-
leagueType: string | null;
|
|
411
|
-
addressId: number | null;
|
|
412
|
-
sportConfigData: any | null;
|
|
413
|
-
creatorId: number | null;
|
|
414
|
-
creatorType: string | null;
|
|
415
|
-
userCreatorId: number | null;
|
|
416
|
-
ownerId: number | null;
|
|
417
|
-
sports: number[] | null;
|
|
418
|
-
mainMediaId: number | null;
|
|
419
|
-
publishedDate: Date | null;
|
|
420
|
-
isPublished: boolean | null;
|
|
421
|
-
isVerified: boolean | null;
|
|
422
|
-
questionnaireId: number | null;
|
|
423
|
-
logo?: Media;
|
|
424
|
-
seasons: LeagueSeason[];
|
|
195
|
+
export declare class OpeningTimeDto {
|
|
196
|
+
open: string;
|
|
197
|
+
close: string;
|
|
198
|
+
dayOfWeek: number;
|
|
425
199
|
}
|
|
426
|
-
export declare class
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
priceLateTeam: number | null;
|
|
438
|
-
priceEarlyTeamMember: number | null;
|
|
439
|
-
priceRegularTeamMember: number | null;
|
|
440
|
-
priceLateTeamMember: number | null;
|
|
441
|
-
priceEarlyGroup: number | null;
|
|
442
|
-
priceRegularGroup: number | null;
|
|
443
|
-
priceLateGroup: number | null;
|
|
444
|
-
earlyRegistrationEnds: Date | null;
|
|
445
|
-
regularRegistrationEnds: Date | null;
|
|
446
|
-
lateRegistrationEnds: Date | null;
|
|
447
|
-
registrationStatus: number | null;
|
|
448
|
-
description: string | null;
|
|
449
|
-
addressName: string | null;
|
|
450
|
-
registrationOpen: Date | null;
|
|
451
|
-
connectedSeasonId: number | null;
|
|
452
|
-
tournamentType: boolean | null;
|
|
453
|
-
playoffType: boolean | null;
|
|
454
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
455
|
-
rosterStatus: string | null;
|
|
456
|
-
metaData: any | null;
|
|
457
|
-
inviteSendDate: Date | null;
|
|
458
|
-
maxNumParticipants: number | null;
|
|
459
|
-
programId: number | null;
|
|
460
|
-
minNumParticipants: number | null;
|
|
461
|
-
league: League;
|
|
462
|
-
facilities: Facility[];
|
|
463
|
-
seasonAttendees: SeasonAttendee[];
|
|
464
|
-
purchasedResources: PurchasedResource[];
|
|
200
|
+
export declare class CreateFacilityDto {
|
|
201
|
+
name: string;
|
|
202
|
+
sports: number[];
|
|
203
|
+
description?: string;
|
|
204
|
+
longDescription?: string;
|
|
205
|
+
info?: string;
|
|
206
|
+
address: AddressDto;
|
|
207
|
+
timezone: string;
|
|
208
|
+
amenities: number[];
|
|
209
|
+
openingTimes: OpeningTimeDto[];
|
|
210
|
+
resourcesIds?: number[];
|
|
465
211
|
}
|
|
466
|
-
export declare class
|
|
467
|
-
|
|
468
|
-
|
|
212
|
+
export declare class UpdateFacilityDetailsDto {
|
|
213
|
+
name?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
longDescription?: string;
|
|
216
|
+
info?: string;
|
|
217
|
+
address?: AddressDto;
|
|
218
|
+
timezone?: string;
|
|
469
219
|
}
|
|
470
|
-
export declare class
|
|
471
|
-
|
|
472
|
-
invoiceId: number;
|
|
473
|
-
lineItemId: number;
|
|
474
|
-
paidAmount: number;
|
|
475
|
-
unitPaidAmount: number;
|
|
476
|
-
currency: CurrencyEnum;
|
|
477
|
-
invoice: Invoice;
|
|
478
|
-
lineItem: LineItems;
|
|
220
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
+
openingTimes: OpeningTimeDto[];
|
|
479
222
|
}
|
|
480
|
-
export declare class
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
entitlementGroupId?: number;
|
|
495
|
-
entitlementGroups: EntitlementGroup;
|
|
496
|
-
price: number;
|
|
497
|
-
originalPrice?: number;
|
|
498
|
-
paidAmount?: number;
|
|
499
|
-
totalPaid?: number;
|
|
500
|
-
totalQuantity?: number;
|
|
501
|
-
totalPrice?: number;
|
|
502
|
-
currency: CurrencyEnum;
|
|
503
|
-
paymentStatus: PaymentStatusEnum;
|
|
504
|
-
productSubType?: ProductSubTypesEnum;
|
|
505
|
-
product: Product;
|
|
223
|
+
export declare class UpdateFacilitySportsDto {
|
|
224
|
+
sports: number[];
|
|
225
|
+
}
|
|
226
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
+
amenities: number[];
|
|
228
|
+
}
|
|
229
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
+
nameSearch?: string;
|
|
231
|
+
}
|
|
232
|
+
export declare class FindFamilyAccountsDto {
|
|
233
|
+
userId: number;
|
|
234
|
+
}
|
|
235
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
+
customerId: number;
|
|
506
237
|
organizationId: number;
|
|
507
|
-
parentLineItemId?: number;
|
|
508
|
-
taxLineItem?: LineItems;
|
|
509
|
-
children?: LineItems[];
|
|
510
|
-
previousPurchaseProducUserId?: number;
|
|
511
|
-
discountDescription?: string;
|
|
512
|
-
productUser?: ProductsUsers;
|
|
513
|
-
resourceRedeemedForDiscount?: number;
|
|
514
|
-
redeemableProduct: Product[];
|
|
515
|
-
isRefunded: boolean;
|
|
516
|
-
isPartiallyRefund: boolean;
|
|
517
|
-
isVoided: boolean;
|
|
518
|
-
isPartiallyVoided: boolean;
|
|
519
|
-
wasReverted: boolean;
|
|
520
|
-
isEdit: boolean;
|
|
521
|
-
purchasedResources: PurchasedResource[];
|
|
522
|
-
isTaxInclusive?: boolean;
|
|
523
|
-
taxPrecent?: number;
|
|
524
|
-
unitPrice?: number;
|
|
525
|
-
quantity?: number;
|
|
526
|
-
customerFirstName?: string;
|
|
527
|
-
customerLastName?: string;
|
|
528
|
-
displayFullPrice?: number;
|
|
529
|
-
displayTotalPriceWithTax?: number;
|
|
530
|
-
displayTotalPaid?: number;
|
|
531
|
-
displayTotalQuantity?: number;
|
|
532
|
-
displayUnitPrice?: number;
|
|
533
|
-
displayQuantity?: number;
|
|
534
238
|
}
|
|
535
|
-
export declare class
|
|
239
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
+
familyAccountId: number;
|
|
241
|
+
}
|
|
242
|
+
export declare class CreateFamilyAccountDto {
|
|
243
|
+
familyName: string;
|
|
244
|
+
userId: number;
|
|
245
|
+
}
|
|
246
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
+
familyName: string;
|
|
248
|
+
familyAccountId: number;
|
|
249
|
+
}
|
|
250
|
+
export declare class AddUserToFamilyAccountDto {
|
|
251
|
+
familyAccountId: number;
|
|
252
|
+
isUserAdmin: boolean;
|
|
253
|
+
firstName: string;
|
|
254
|
+
lastName: string;
|
|
255
|
+
gender: GenderEnum;
|
|
256
|
+
birthDate: string;
|
|
257
|
+
sports?: number[];
|
|
258
|
+
email?: string;
|
|
259
|
+
}
|
|
260
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
+
userId: number;
|
|
262
|
+
familyAccountId: number;
|
|
263
|
+
}
|
|
264
|
+
export declare class FindOneParams {
|
|
536
265
|
id: number;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
266
|
+
}
|
|
267
|
+
export declare class PaginationQuery {
|
|
268
|
+
page: number;
|
|
269
|
+
itemsPerPage: number;
|
|
270
|
+
}
|
|
271
|
+
export declare class PaginationRangeQuery {
|
|
272
|
+
startPage: number;
|
|
273
|
+
endPage: number;
|
|
274
|
+
itemsPerPage: number;
|
|
275
|
+
}
|
|
276
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
+
organizationId: number;
|
|
278
|
+
}
|
|
279
|
+
export declare class GetGlCodeDto {
|
|
280
|
+
id: number;
|
|
281
|
+
organizationId: number;
|
|
282
|
+
code: string;
|
|
546
283
|
createdAt: Date;
|
|
547
284
|
updatedAt: Date;
|
|
548
|
-
user: User;
|
|
549
|
-
userId: number | null;
|
|
550
285
|
}
|
|
551
|
-
export declare class
|
|
552
|
-
|
|
553
|
-
name: string | null;
|
|
554
|
-
title: string | null;
|
|
555
|
-
mediaKey: string | null;
|
|
556
|
-
description: string | null;
|
|
557
|
-
provider: string | null;
|
|
558
|
-
mediaType: number;
|
|
559
|
-
fileType: string | null;
|
|
560
|
-
isDefault: boolean | null;
|
|
561
|
-
creatorId: number | null;
|
|
562
|
-
creatorType: string | null;
|
|
563
|
-
userCreatorId: number | null;
|
|
564
|
-
ownerId: number | null;
|
|
565
|
-
createdBy: number | null;
|
|
566
|
-
users: User[];
|
|
567
|
-
programs: Program[];
|
|
568
|
-
memberships: Membership[];
|
|
286
|
+
export declare class FindByProgramSeasonIdDto {
|
|
287
|
+
seasonId: number;
|
|
569
288
|
}
|
|
570
|
-
export declare class
|
|
289
|
+
export declare class CreateBulkDivisionsDto {
|
|
290
|
+
divisions: CreateDivisionDto[];
|
|
291
|
+
}
|
|
292
|
+
export declare class CreateDivisionDto {
|
|
293
|
+
name: string;
|
|
294
|
+
ordinal?: number;
|
|
295
|
+
programSeasonId: number;
|
|
296
|
+
color: string;
|
|
297
|
+
isDefault: boolean;
|
|
298
|
+
}
|
|
299
|
+
export declare class CreateGroupDto {
|
|
571
300
|
name: string;
|
|
572
301
|
description?: string;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
facilityId?: number;
|
|
577
|
-
facilityName?: string;
|
|
578
|
-
questionnaires?: number[];
|
|
302
|
+
status?: GroupStatusEnum;
|
|
303
|
+
maxCapacity?: number;
|
|
304
|
+
mainMediaId?: number;
|
|
579
305
|
minAgeYears?: number;
|
|
580
306
|
maxAgeYears?: number;
|
|
581
307
|
gender: GenderEnum;
|
|
582
|
-
|
|
583
|
-
|
|
308
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
309
|
+
sports: SportsEnum[];
|
|
310
|
+
questionnaires?: number[];
|
|
311
|
+
captainUserId?: number;
|
|
312
|
+
divisionId?: number;
|
|
313
|
+
}
|
|
314
|
+
export declare class ConnectGroupToDivision {
|
|
315
|
+
groupId: number;
|
|
316
|
+
divisionId: number;
|
|
317
|
+
prevDivisionId: number;
|
|
318
|
+
}
|
|
319
|
+
export declare class MoveUserInGroups {
|
|
320
|
+
userId: number;
|
|
321
|
+
groupId?: number;
|
|
322
|
+
prevGroupId?: number;
|
|
323
|
+
}
|
|
324
|
+
export declare class SaveUserAsGroupCaptain {
|
|
325
|
+
groupId: number;
|
|
326
|
+
userId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class CreateTeamInviteDto {
|
|
329
|
+
emails: string[];
|
|
330
|
+
userCreatorId: number;
|
|
331
|
+
}
|
|
332
|
+
export declare class TeamByIdDto {
|
|
333
|
+
teamId: number;
|
|
334
|
+
}
|
|
335
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
336
|
+
inviteToken: string;
|
|
337
|
+
}
|
|
338
|
+
export declare class JoinTeamDto {
|
|
339
|
+
userId: number;
|
|
340
|
+
inviteToken?: string;
|
|
341
|
+
}
|
|
342
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
343
|
+
userId: number;
|
|
344
|
+
}
|
|
345
|
+
export interface IMoveSeason {
|
|
346
|
+
fromSeasonId: number;
|
|
347
|
+
toSeasonId: number;
|
|
348
|
+
}
|
|
349
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
350
|
+
teamId?: number;
|
|
351
|
+
memberId?: number;
|
|
352
|
+
fromSeasonId: number;
|
|
353
|
+
toSeasonId: number;
|
|
354
|
+
toDivisionId?: number;
|
|
355
|
+
}
|
|
356
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
357
|
+
fileName: string;
|
|
358
|
+
}
|
|
359
|
+
export declare class CreateMembershipDto {
|
|
360
|
+
organizationId: number;
|
|
361
|
+
name: string;
|
|
362
|
+
description?: string;
|
|
363
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
364
|
+
activity: SportsEnum;
|
|
365
|
+
facilityId: number;
|
|
366
|
+
questionnaires: number[];
|
|
367
|
+
minAgeYears: number;
|
|
368
|
+
maxAgeYears: number;
|
|
369
|
+
gender: GenderEnum;
|
|
370
|
+
maxMembers?: number;
|
|
371
|
+
maxMaleMembers?: number;
|
|
584
372
|
maxFemaleMembers?: number;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
startDate?: string;
|
|
588
|
-
endDate?: string;
|
|
373
|
+
startDate: string;
|
|
374
|
+
endDate: string;
|
|
589
375
|
registrationStartDate?: Date;
|
|
590
376
|
registrationEndDate?: Date;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
members: MembershipMember[];
|
|
377
|
+
membershipType: MembershipTypeEnum;
|
|
378
|
+
durationMonths: number;
|
|
594
379
|
longDescription?: string;
|
|
595
380
|
isAutoRenew?: boolean;
|
|
596
|
-
purchasedResources: PurchasedResource[];
|
|
597
381
|
}
|
|
598
|
-
export declare class
|
|
599
|
-
|
|
382
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
383
|
+
id: number;
|
|
384
|
+
}
|
|
385
|
+
export declare class UpdateMembershipMediaDto {
|
|
600
386
|
membershipId: number;
|
|
601
|
-
|
|
602
|
-
|
|
387
|
+
mediaId: number;
|
|
388
|
+
}
|
|
389
|
+
export declare class FindMembershipByIdDto {
|
|
390
|
+
membershipId: number;
|
|
391
|
+
}
|
|
392
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
393
|
+
organizationId: number;
|
|
394
|
+
}
|
|
395
|
+
export declare class FindMembershipsByUserIdDto {
|
|
603
396
|
userId: number;
|
|
604
|
-
membershipType: MembershipTypeEnum;
|
|
605
|
-
durationMonths?: number;
|
|
606
|
-
startDate?: string;
|
|
607
|
-
endDate?: string;
|
|
608
|
-
renewalOfMemberId?: number;
|
|
609
|
-
isAutoRenew?: boolean;
|
|
610
|
-
nextPaymentMethodId?: string;
|
|
611
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
612
|
-
answerTitleIds?: number[];
|
|
613
|
-
cancelledAt?: Date | null;
|
|
614
|
-
cancellationReason?: string;
|
|
615
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
616
|
-
isImported?: boolean;
|
|
617
397
|
}
|
|
618
|
-
export declare class
|
|
619
|
-
|
|
620
|
-
notificationType: NotificationTypeEnum | null;
|
|
621
|
-
resourceId: number | null;
|
|
622
|
-
resourceType: string | null;
|
|
398
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
399
|
+
startDate: string;
|
|
623
400
|
}
|
|
624
|
-
export declare class
|
|
625
|
-
|
|
626
|
-
dayOfWeek: number;
|
|
627
|
-
open: string;
|
|
628
|
-
close: string;
|
|
629
|
-
facilityId: number;
|
|
630
|
-
createdAt: Date;
|
|
631
|
-
updatedAt: Date;
|
|
632
|
-
deletedAt?: Date;
|
|
633
|
-
facility: Facility;
|
|
401
|
+
export declare class MembershipIdsDto {
|
|
402
|
+
membershipIds?: number[];
|
|
634
403
|
}
|
|
635
|
-
export declare class
|
|
636
|
-
|
|
637
|
-
price: number | null;
|
|
638
|
-
status: OrderStatusEnum | null;
|
|
639
|
-
sentForClientDate: Date | null;
|
|
640
|
-
payingUserId?: number | null;
|
|
641
|
-
orderToInvoices: OrderToInvoice[];
|
|
642
|
-
lineItems: LineItems[];
|
|
643
|
-
lineItemHistory: LineItemHistory[];
|
|
644
|
-
paymentStatus: PaymentStatusEnum;
|
|
645
|
-
paymentMethodId?: string;
|
|
646
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
647
|
-
paidAmount: number;
|
|
648
|
-
currency: CurrencyEnum;
|
|
649
|
-
mainInvoiceId: number;
|
|
650
|
-
isScheduled: boolean;
|
|
651
|
-
isRefunded: boolean;
|
|
652
|
-
isVoided: boolean;
|
|
653
|
-
creatingUserId: number;
|
|
654
|
-
shiftId: number;
|
|
655
|
-
platform: PlatformsEnum;
|
|
656
|
-
orderNotes: OrderNote[];
|
|
657
|
-
slots: Slot[];
|
|
404
|
+
export declare class MemberIdDto {
|
|
405
|
+
memberId?: number;
|
|
658
406
|
}
|
|
659
|
-
export declare class
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
user: User;
|
|
663
|
-
isPublic: boolean;
|
|
664
|
-
deletedAt: Date;
|
|
665
|
-
orderId: number;
|
|
666
|
-
order: Order;
|
|
407
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
408
|
+
nameEmailSearch?: string;
|
|
409
|
+
pastMemberships?: string;
|
|
667
410
|
}
|
|
668
|
-
export declare class
|
|
411
|
+
export declare class CancelMembershipDto {
|
|
412
|
+
isImmediatelyCancel: boolean;
|
|
413
|
+
cancellationReason?: string;
|
|
414
|
+
}
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
669
416
|
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
670
419
|
}
|
|
671
|
-
export declare class
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
422
|
+
}
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
426
|
+
}
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
679
428
|
organizationId: number;
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
isMandatory: boolean;
|
|
686
|
-
productId: number;
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
687
434
|
}
|
|
688
|
-
export declare class
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
order: Order;
|
|
692
|
-
invoice: Invoice;
|
|
693
|
-
paidAmount?: number;
|
|
694
|
-
currency: CurrencyEnum;
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
695
438
|
}
|
|
696
|
-
export declare class
|
|
697
|
-
|
|
698
|
-
userId: number | null;
|
|
699
|
-
validUntil: Date | null;
|
|
700
|
-
active: boolean | null;
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
|
+
name: string;
|
|
701
441
|
}
|
|
702
|
-
export declare class
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
deletedAt?: Date;
|
|
706
|
-
paymentPlan: ProductPaymentPlan;
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
707
445
|
}
|
|
708
|
-
export declare class
|
|
709
|
-
|
|
710
|
-
ownerId: number | null;
|
|
711
|
-
parentId: number | null;
|
|
712
|
-
parentType: string | null;
|
|
713
|
-
idAtProvider: string | null;
|
|
714
|
-
providerType: number | null;
|
|
715
|
-
providerExtraData: string | null;
|
|
716
|
-
requestData: string | null;
|
|
717
|
-
responseData: string | null;
|
|
718
|
-
status: number | null;
|
|
719
|
-
price: number | null;
|
|
720
|
-
currency: string | null;
|
|
721
|
-
locked: boolean | null;
|
|
722
|
-
numberOfTries: number | null;
|
|
723
|
-
installmentId: number | null;
|
|
724
|
-
orderId: string | null;
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
725
448
|
}
|
|
726
|
-
export declare class
|
|
727
|
-
|
|
728
|
-
product: Product;
|
|
729
|
-
name: string | null;
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
730
451
|
price: number;
|
|
731
|
-
currency: CurrencyEnum;
|
|
732
|
-
paymentProcessorId: number | null;
|
|
733
|
-
startDate: Date;
|
|
734
|
-
endDate: Date;
|
|
735
|
-
groupId?: number;
|
|
736
|
-
groupName?: string;
|
|
737
|
-
originalPrice?: number;
|
|
738
|
-
deletedAt?: Date;
|
|
739
|
-
discountMethod?: DiscountMethodsEnum;
|
|
740
|
-
discountValue?: number;
|
|
741
|
-
taxIncludedPrice?: number;
|
|
742
|
-
}
|
|
743
|
-
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
744
|
-
name: string;
|
|
745
|
-
quantity: number;
|
|
746
|
-
paymentProcessorId?: string;
|
|
747
452
|
startDate?: Date;
|
|
748
453
|
endDate?: Date;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
GL?: string;
|
|
752
|
-
downpayment?: number;
|
|
753
|
-
description?: string;
|
|
754
|
-
prices: Price[];
|
|
755
|
-
currPrice: Price;
|
|
756
|
-
productSubType?: ProductSubTypesEnum;
|
|
757
|
-
punchCard: boolean;
|
|
758
|
-
requiredProductIds?: number[];
|
|
759
|
-
lineItems: LineItems[];
|
|
760
|
-
resources: IResourcesAvailability[];
|
|
761
|
-
variantParentId?: number;
|
|
762
|
-
isAddon: boolean;
|
|
763
|
-
isArchive: boolean;
|
|
764
|
-
productVariants: Product[];
|
|
765
|
-
variantParentProduct: Product;
|
|
766
|
-
variantsObj: Variant[];
|
|
767
|
-
variantTitlesObj: VariantTitle[];
|
|
768
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
769
|
-
deletedAt?: Date;
|
|
770
|
-
productsUsers: ProductsUsers[];
|
|
771
|
-
isProRated: boolean;
|
|
772
|
-
entitledPrices?: GroupItemsPricing[];
|
|
773
|
-
defaultPriceId?: number;
|
|
774
|
-
tax: number;
|
|
775
|
-
isTaxInclusive: boolean;
|
|
776
|
-
defaultPrice?: Price;
|
|
777
|
-
addOns?: IChildProduct[];
|
|
778
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
779
|
-
productResources: ProductResource[];
|
|
780
|
-
parentProductPackages: ProductPackage[];
|
|
781
|
-
childProductPackages: ProductPackage[];
|
|
782
|
-
sports?: number[] | null;
|
|
783
|
-
durationMinutes?: number;
|
|
784
|
-
durationDays?: number;
|
|
785
|
-
forms?: number[] | null;
|
|
786
|
-
isForAllCustomers?: boolean;
|
|
787
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
788
|
-
reservedForCustomers: Customer[];
|
|
789
|
-
reservedForMemberships: Membership[];
|
|
790
|
-
activityTimes: ActivityTimes[];
|
|
791
|
-
purchasedResources: PurchasedResource[];
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
792
456
|
}
|
|
793
|
-
export declare class
|
|
457
|
+
export declare class CreateUpdateVariantsDto {
|
|
458
|
+
organizationId: number;
|
|
794
459
|
parentProductId: number;
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
timePeriod: AddonTimePeriodEnum;
|
|
798
|
-
deletedAt?: Date;
|
|
799
|
-
productResource: ProductResource;
|
|
800
|
-
childProduct: Product;
|
|
801
|
-
parentProduct: Product;
|
|
802
|
-
price: number;
|
|
803
|
-
isFlatPrice: boolean;
|
|
804
|
-
durationMinutes?: number;
|
|
805
|
-
durationDays?: number;
|
|
806
|
-
level?: ProductPackageLevelEnum;
|
|
460
|
+
variantTitles: VariantTitleDto[];
|
|
461
|
+
variants: VariantDto[];
|
|
807
462
|
}
|
|
808
|
-
export declare class
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
463
|
+
export declare class VariantTitleDto {
|
|
464
|
+
titleName: string;
|
|
465
|
+
titleId: number;
|
|
466
|
+
}
|
|
467
|
+
export declare class VariantDto {
|
|
812
468
|
name: string;
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
469
|
+
price: number;
|
|
470
|
+
variantId: number;
|
|
471
|
+
currency: CurrencyEnum;
|
|
472
|
+
startDate: Date;
|
|
473
|
+
endDate: Date;
|
|
816
474
|
}
|
|
817
|
-
export declare class
|
|
818
|
-
|
|
819
|
-
resourceId: number;
|
|
820
|
-
resourceType: ResourceNameTypeEnum;
|
|
821
|
-
deletedAt?: Date;
|
|
822
|
-
programSeason: ProgramSeason;
|
|
823
|
-
event: Event;
|
|
824
|
-
product: Product;
|
|
825
|
-
productPackages: ProductPackage[];
|
|
826
|
-
resourceName?: string;
|
|
475
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
476
|
+
programId: number;
|
|
827
477
|
}
|
|
828
|
-
export declare class
|
|
829
|
-
|
|
830
|
-
|
|
478
|
+
export declare class FindSessionsFiltersDto {
|
|
479
|
+
status?: PublishingStatusEnum;
|
|
480
|
+
isFullFetch?: boolean;
|
|
831
481
|
}
|
|
832
|
-
export declare class
|
|
833
|
-
|
|
834
|
-
variantId: number;
|
|
482
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
483
|
+
organizationId: number;
|
|
835
484
|
}
|
|
836
|
-
export declare class
|
|
837
|
-
|
|
838
|
-
customerId: number;
|
|
839
|
-
customer: Customer;
|
|
840
|
-
deletedAt?: Date;
|
|
841
|
-
product: Product;
|
|
485
|
+
export declare class DeleteEventAttendeesDto {
|
|
486
|
+
eventAttendeeIds: string;
|
|
842
487
|
}
|
|
843
|
-
export declare class
|
|
844
|
-
|
|
845
|
-
userId: number;
|
|
846
|
-
user?: User;
|
|
847
|
-
paymentStatus: PaymentStatusEnum;
|
|
848
|
-
productName: string;
|
|
849
|
-
productPrice: number;
|
|
850
|
-
productQuantity: number;
|
|
851
|
-
productQuantityLeft: number;
|
|
852
|
-
productPriceCurrency: CurrencyEnum;
|
|
853
|
-
ordinal?: number;
|
|
854
|
-
purchasedResources: PurchasedResource[];
|
|
855
|
-
product: Product;
|
|
856
|
-
lineItem: LineItems;
|
|
857
|
-
slots?: Slot[];
|
|
858
|
-
addons?: Addon[];
|
|
488
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
489
|
+
includeResources?: boolean;
|
|
859
490
|
}
|
|
860
|
-
export declare class
|
|
861
|
-
|
|
862
|
-
name: string;
|
|
863
|
-
sport: SportsEnum;
|
|
864
|
-
minAge: string;
|
|
865
|
-
maxAge: string;
|
|
866
|
-
gender: GenderEnum;
|
|
867
|
-
level: LevelOfPlayEnum[] | null;
|
|
868
|
-
description: string | null;
|
|
869
|
-
GL?: string | null;
|
|
870
|
-
status: PublishingStatusEnum;
|
|
871
|
-
mainMedia: Media;
|
|
872
|
-
organizationId: number;
|
|
873
|
-
userCreatorId: number;
|
|
874
|
-
programHighlights: ProgramHighlights[];
|
|
875
|
-
linkSEO: string;
|
|
876
|
-
longDescription?: string;
|
|
877
|
-
requiredProductIds: number[] | null;
|
|
878
|
-
deletedAt?: Date;
|
|
879
|
-
programSeason: ProgramSeason[];
|
|
880
|
-
purchasedResources: PurchasedResource[];
|
|
491
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
492
|
+
seasonId: number;
|
|
881
493
|
}
|
|
882
|
-
export declare class
|
|
883
|
-
|
|
884
|
-
ordinal: number | null;
|
|
885
|
-
title: string | null;
|
|
886
|
-
data: any | null;
|
|
887
|
-
program: Program;
|
|
888
|
-
deletedAt?: Date;
|
|
494
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
495
|
+
seasonId: number;
|
|
889
496
|
}
|
|
890
|
-
export declare class
|
|
497
|
+
export declare class DeleteProductDto {
|
|
498
|
+
deleteProduct?: boolean;
|
|
499
|
+
}
|
|
500
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
501
|
+
userId: number;
|
|
502
|
+
}
|
|
503
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
504
|
+
isFreeAgentsOnly?: boolean;
|
|
505
|
+
isPunchCardUsers?: boolean;
|
|
506
|
+
nameEmailSearch?: string;
|
|
507
|
+
}
|
|
508
|
+
export declare class BaseProgramSeasonDto {
|
|
891
509
|
programId: number;
|
|
892
510
|
name: string;
|
|
893
|
-
description: string | null;
|
|
894
|
-
GL?: string | null;
|
|
895
511
|
status: PublishingStatusEnum;
|
|
512
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
896
513
|
startDate: Date;
|
|
897
514
|
endDate: Date;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
515
|
+
description?: string;
|
|
516
|
+
GL?: string;
|
|
517
|
+
parentSeasonId?: number;
|
|
518
|
+
questionnaires?: number[];
|
|
519
|
+
maxParticipants?: number;
|
|
520
|
+
maxMaleParticipants?: number;
|
|
521
|
+
maxFemaleParticipants?: number;
|
|
522
|
+
maxWaitlist?: number;
|
|
523
|
+
maxMaleWaitlist?: number;
|
|
524
|
+
maxFemaleWaitlist?: number;
|
|
525
|
+
facilityId?: number;
|
|
526
|
+
addressId?: number;
|
|
527
|
+
blockedDated?: blockedDatesDto[];
|
|
528
|
+
activityTimes: ActivityTimesDto[];
|
|
529
|
+
longDescription?: string;
|
|
530
|
+
isPunchCard?: boolean;
|
|
909
531
|
organizationId: number;
|
|
910
|
-
facilityId: number | null;
|
|
911
|
-
facilityName?: string;
|
|
912
|
-
addressId: number | null;
|
|
913
532
|
sport: SportsEnum;
|
|
914
533
|
minAge: string;
|
|
915
534
|
maxAge: string;
|
|
916
535
|
gender: GenderEnum;
|
|
917
|
-
level
|
|
918
|
-
blockedDated: BlockedDate[];
|
|
919
|
-
seasonAttendees: SeasonAttendee[];
|
|
920
|
-
products: Product[];
|
|
921
|
-
linkSEO: string;
|
|
922
|
-
address: Address;
|
|
923
|
-
defaultProductId?: number;
|
|
924
|
-
longDescription?: string;
|
|
925
|
-
isPunchCard?: boolean;
|
|
926
|
-
deletedAt?: Date;
|
|
927
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
928
|
-
program: Program;
|
|
929
|
-
spaces?: Resource[];
|
|
930
|
-
earlyRegistrationStartDate?: Date;
|
|
931
|
-
earlyRegistrationEndDate?: Date;
|
|
932
|
-
lateRegistrationStartDate?: Date;
|
|
933
|
-
lateRegistrationEndDate?: Date;
|
|
536
|
+
level?: LevelOfPlayEnum[];
|
|
934
537
|
requiredProductIds?: number[];
|
|
935
|
-
registrationConstraints?: RegistrationConstraint;
|
|
936
|
-
sessionSegments: ProgramSeason[];
|
|
937
|
-
sessionEvents: Event[];
|
|
938
|
-
parentSession: ProgramSeason;
|
|
939
|
-
activityTimes: ActivityTimes[];
|
|
940
|
-
productResources: ProductResource[];
|
|
941
|
-
facility: Facility;
|
|
942
|
-
purchasedResources: PurchasedResource[];
|
|
943
538
|
}
|
|
944
|
-
export declare class
|
|
945
|
-
|
|
946
|
-
resourceId: number;
|
|
947
|
-
resourceType: ResourceNameTypeEnum;
|
|
948
|
-
status: PurchasedResourceStatusEnum;
|
|
949
|
-
startDate?: string;
|
|
950
|
-
startTime?: string;
|
|
951
|
-
endDate?: string;
|
|
952
|
-
endTime?: string;
|
|
953
|
-
productUser?: ProductsUsers;
|
|
954
|
-
lineItem?: LineItems;
|
|
955
|
-
eventAttendee?: EventAttendee;
|
|
956
|
-
seasonAttendee?: SeasonAttendee;
|
|
957
|
-
leagueAttendee?: SeasonPool;
|
|
958
|
-
membership?: Membership;
|
|
959
|
-
program?: Program;
|
|
960
|
-
programSeason?: ProgramSeason;
|
|
961
|
-
leagueSeason?: LeagueSeason;
|
|
962
|
-
space?: Resource;
|
|
963
|
-
product?: Product;
|
|
964
|
-
event?: Event;
|
|
539
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
540
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
965
541
|
}
|
|
966
|
-
export declare class
|
|
967
|
-
|
|
968
|
-
|
|
542
|
+
export declare class CreateSessionScheduleDto {
|
|
543
|
+
startDate: Date;
|
|
544
|
+
endDate: Date;
|
|
545
|
+
activityTimes: ActivityTimesDto[];
|
|
546
|
+
blockedDated?: blockedDatesDto[];
|
|
547
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
969
548
|
}
|
|
970
|
-
export declare class
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
isMandatory: boolean | null;
|
|
976
|
-
metaData: any | null;
|
|
977
|
-
question: string | null;
|
|
978
|
-
creatorId: number | null;
|
|
979
|
-
creatorType: string | null;
|
|
980
|
-
userCreatorId: number | null;
|
|
981
|
-
ownerId: number | null;
|
|
982
|
-
questionnaireId: number | null;
|
|
549
|
+
export declare class SubSeasonBasicInfo {
|
|
550
|
+
name: string;
|
|
551
|
+
startDate: Date;
|
|
552
|
+
endDate: Date;
|
|
553
|
+
activityTimes?: ActivityTimesDto[];
|
|
983
554
|
}
|
|
984
|
-
export declare class
|
|
985
|
-
|
|
986
|
-
ordinal: number;
|
|
987
|
-
deletedAt: Date;
|
|
555
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
556
|
+
seasonId: number;
|
|
988
557
|
}
|
|
989
|
-
export declare class
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
openNumDays?: number;
|
|
993
|
-
openNumMinutes?: number;
|
|
994
|
-
openTime?: string;
|
|
995
|
-
closeNumDays?: number;
|
|
996
|
-
closeNumMinutes?: number;
|
|
997
|
-
closeTime?: string;
|
|
998
|
-
deletedAt?: Date;
|
|
558
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
559
|
+
seasonId: number;
|
|
560
|
+
status: PublishingStatusEnum;
|
|
999
561
|
}
|
|
1000
|
-
export declare class
|
|
1001
|
-
name
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
status?: string;
|
|
1005
|
-
privacySetting?: string;
|
|
1006
|
-
reservationType?: string;
|
|
1007
|
-
orderId?: string;
|
|
1008
|
-
customerId?: number;
|
|
1009
|
-
length?: number;
|
|
1010
|
-
price?: number;
|
|
1011
|
-
sessions?: number;
|
|
1012
|
-
percentage?: number;
|
|
1013
|
-
paymentStatus?: number;
|
|
1014
|
-
paymentId?: number;
|
|
1015
|
-
startTime?: string;
|
|
1016
|
-
dayOfWeek?: number;
|
|
1017
|
-
resourcePackageId?: number;
|
|
1018
|
-
resourcePackageAmount?: number;
|
|
1019
|
-
startDate?: Date;
|
|
1020
|
-
endDate?: Date;
|
|
1021
|
-
originalReservationId?: number;
|
|
1022
|
-
creatorId?: number;
|
|
1023
|
-
creatorType?: string;
|
|
1024
|
-
userCreatorId?: number;
|
|
1025
|
-
ownerId?: number;
|
|
1026
|
-
sportType?: number;
|
|
1027
|
-
participantType?: string;
|
|
1028
|
-
deletedAt?: Date;
|
|
1029
|
-
publicNotes?: string;
|
|
1030
|
-
slots?: Slot[];
|
|
562
|
+
export declare class blockedDatesDto {
|
|
563
|
+
name: string;
|
|
564
|
+
startDate: Date;
|
|
565
|
+
endDate: Date;
|
|
1031
566
|
}
|
|
1032
|
-
export declare class
|
|
567
|
+
export declare class ActivityTimesDto {
|
|
568
|
+
dayOfWeek: number;
|
|
569
|
+
open: string;
|
|
570
|
+
close: string;
|
|
571
|
+
}
|
|
572
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
573
|
+
seasonId: number;
|
|
1033
574
|
name: string;
|
|
1034
|
-
resourceType: ResourceTypeEnum;
|
|
1035
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
1036
575
|
description?: string;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
slots?: Slot[];
|
|
1054
|
-
addons?: Addon[];
|
|
1055
|
-
facilityId: number;
|
|
1056
|
-
facility: Facility;
|
|
1057
|
-
purchasedResources: PurchasedResource[];
|
|
1058
|
-
linkSEO: string;
|
|
576
|
+
questionnaires?: number[];
|
|
577
|
+
maxParticipants?: number;
|
|
578
|
+
maxMaleParticipants?: number;
|
|
579
|
+
maxFemaleParticipants?: number;
|
|
580
|
+
maxWaitlist?: number;
|
|
581
|
+
maxMaleWaitlist?: number;
|
|
582
|
+
maxFemaleWaitlist?: number;
|
|
583
|
+
facilityId?: number;
|
|
584
|
+
addressId?: number;
|
|
585
|
+
sport?: SportsEnum;
|
|
586
|
+
minAge?: string;
|
|
587
|
+
maxAge?: string;
|
|
588
|
+
gender?: GenderEnum;
|
|
589
|
+
level?: LevelOfPlayEnum[];
|
|
590
|
+
requiredProductIds?: number[];
|
|
591
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
1059
592
|
}
|
|
1060
|
-
export declare class
|
|
593
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
594
|
+
id: number;
|
|
1061
595
|
name: string;
|
|
1062
|
-
facilityId: number;
|
|
1063
|
-
parentSlotId: number;
|
|
1064
|
-
childrenSlotIds: number[];
|
|
1065
|
-
deletedAt?: Date;
|
|
1066
|
-
}
|
|
1067
|
-
export declare class School extends BondBaseEntity {
|
|
1068
|
-
name: string | null;
|
|
1069
|
-
alias: string[] | null;
|
|
1070
|
-
addressId: number | null;
|
|
1071
|
-
website: string | null;
|
|
1072
|
-
phone: string | null;
|
|
1073
|
-
dataId: number | null;
|
|
1074
596
|
}
|
|
1075
|
-
export declare class
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
season: ProgramSeason;
|
|
1084
|
-
productUserId?: number;
|
|
1085
|
-
answerTitleIds?: number[];
|
|
1086
|
-
deletedAt?: Date;
|
|
1087
|
-
purchasedResource: PurchasedResource;
|
|
597
|
+
export declare class SpaceResourcePairDto {
|
|
598
|
+
resourceType: ResourceNameTypeEnum;
|
|
599
|
+
resourceId: number;
|
|
600
|
+
spacesIds: number[];
|
|
601
|
+
publicNotes?: string;
|
|
602
|
+
privateNotes?: string;
|
|
603
|
+
minutesBeforeSlot?: number;
|
|
604
|
+
minutesAfterSlot?: number;
|
|
1088
605
|
}
|
|
1089
|
-
export declare class
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
seasonId: number | null;
|
|
1093
|
-
color: string | null;
|
|
606
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
607
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
608
|
+
organizationId: number;
|
|
1094
609
|
}
|
|
1095
|
-
export declare class
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
1103
|
-
metadata?: any;
|
|
1104
|
-
paymentId?: number;
|
|
1105
|
-
externalAssign?: boolean;
|
|
1106
|
-
productUserId?: number;
|
|
1107
|
-
purchasedResource: PurchasedResource;
|
|
1108
|
-
season: LeagueSeason;
|
|
610
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
611
|
+
date: string;
|
|
612
|
+
startTime: string;
|
|
613
|
+
endTime: string;
|
|
614
|
+
spaceId: number;
|
|
615
|
+
publicNotes?: string;
|
|
616
|
+
slotType?: SlotTypeEnum;
|
|
1109
617
|
}
|
|
1110
|
-
export declare class
|
|
1111
|
-
|
|
1112
|
-
teamId: number | null;
|
|
1113
|
-
standingPosition: number | null;
|
|
1114
|
-
statistics: any | null;
|
|
1115
|
-
points: number | null;
|
|
1116
|
-
divisionId: number | null;
|
|
1117
|
-
metaData: any | null;
|
|
1118
|
-
team: Team;
|
|
618
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
619
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
1119
620
|
}
|
|
1120
|
-
export declare class
|
|
1121
|
-
|
|
1122
|
-
|
|
621
|
+
export declare class UpdateSeasonDatesDto {
|
|
622
|
+
startDate: Date;
|
|
623
|
+
endDate: Date;
|
|
1123
624
|
}
|
|
1124
|
-
export declare class
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
processorSerialNumber: string | null;
|
|
1130
|
-
currentOpenShift?: Shift;
|
|
1131
|
-
stationToSubcategories: StationToSubcategory[];
|
|
1132
|
-
subcategories: Subcategory[];
|
|
1133
|
-
shifts?: Shift[];
|
|
625
|
+
export declare class MoveAttendeeDto {
|
|
626
|
+
userId: number;
|
|
627
|
+
resourceType: ResourceNameTypeEnum;
|
|
628
|
+
fromResourceIds: number[];
|
|
629
|
+
toResourceIds: number[];
|
|
1134
630
|
}
|
|
1135
|
-
export declare class
|
|
1136
|
-
|
|
1137
|
-
subcategoryId: number;
|
|
1138
|
-
productType: ProductTypesEnum;
|
|
1139
|
-
deletedAt?: Date;
|
|
1140
|
-
station: Station;
|
|
1141
|
-
subcategory: Subcategory;
|
|
631
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
632
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
1142
633
|
}
|
|
1143
|
-
export declare class
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
634
|
+
export declare class RegistrationDatesDto {
|
|
635
|
+
registrationStartDate: Date;
|
|
636
|
+
registrationEndDate: Date;
|
|
637
|
+
earlyRegistrationStartDate?: Date;
|
|
638
|
+
earlyRegistrationEndDate?: Date;
|
|
639
|
+
lateRegistrationStartDate?: Date;
|
|
640
|
+
lateRegistrationEndDate?: Date;
|
|
1150
641
|
}
|
|
1151
|
-
export declare class
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
logoId: number | null;
|
|
1160
|
-
addressId: number | null;
|
|
1161
|
-
price: number | null;
|
|
1162
|
-
private: boolean | null;
|
|
1163
|
-
returnOverride: boolean | null;
|
|
1164
|
-
organizationId: number | null;
|
|
1165
|
-
whoCanJoin: TeamCanJoinEnum | null;
|
|
1166
|
-
whoCanInvite: string | null;
|
|
1167
|
-
metadata: any | null;
|
|
1168
|
-
externalId: string | null;
|
|
1169
|
-
paymentSettings: any | null;
|
|
1170
|
-
isClaimed: boolean | null;
|
|
1171
|
-
creatorId: number | null;
|
|
1172
|
-
creatorType: string | null;
|
|
1173
|
-
userCreatorId: number | null;
|
|
1174
|
-
ownerId: number | null;
|
|
1175
|
-
mainMediaId: number | null;
|
|
1176
|
-
publishedDate: Date | null;
|
|
1177
|
-
isPublished: boolean | null;
|
|
1178
|
-
levelOfPlay: number[] | null;
|
|
1179
|
-
sports: number | null;
|
|
1180
|
-
minAge: number | null;
|
|
1181
|
-
maxAge: number | null;
|
|
1182
|
-
gender: number | null;
|
|
1183
|
-
questionnaireId: number | null;
|
|
1184
|
-
}
|
|
1185
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
1186
|
-
email: string;
|
|
1187
|
-
teamId: number;
|
|
1188
|
-
invitedUserId?: number;
|
|
1189
|
-
userCreatorId: number;
|
|
1190
|
-
token: string;
|
|
1191
|
-
tokenExpirationDate: Date;
|
|
1192
|
-
isUsed: boolean;
|
|
1193
|
-
}
|
|
1194
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
1195
|
-
teamId: number | null;
|
|
1196
|
-
userId: number | null;
|
|
1197
|
-
paymentId: number | null;
|
|
1198
|
-
hasPaid: boolean | null;
|
|
1199
|
-
status: TeamMemberStatusEnum | null;
|
|
1200
|
-
role: TeamMemberRoleEnum;
|
|
1201
|
-
user: User;
|
|
1202
|
-
}
|
|
1203
|
-
export declare class User extends BondBaseEntity {
|
|
1204
|
-
firstName: string | null;
|
|
1205
|
-
lastName: string | null;
|
|
1206
|
-
email: string | null;
|
|
1207
|
-
phoneNumber: string | null;
|
|
1208
|
-
about: string | null;
|
|
1209
|
-
password: string | null;
|
|
1210
|
-
passwordResetToken: string | null;
|
|
1211
|
-
passwordResetExpires: Date | null;
|
|
1212
|
-
status: string | null;
|
|
1213
|
-
pushNotifications: boolean | null;
|
|
1214
|
-
notificationSettings: any | null;
|
|
1215
|
-
addressId: number | null;
|
|
1216
|
-
address: Address;
|
|
1217
|
-
currentAddressId: number | null;
|
|
1218
|
-
merchantId: number | null;
|
|
1219
|
-
loginToken: string | null;
|
|
1220
|
-
gender: GenderEnum | null;
|
|
1221
|
-
height: number | null;
|
|
1222
|
-
weight: number | null;
|
|
1223
|
-
birthDate: Date | null;
|
|
1224
|
-
lastLogin: Date | null;
|
|
1225
|
-
lastInteractionDay: Date | null;
|
|
1226
|
-
createAsId: number | null;
|
|
1227
|
-
createAsType: ResourceNameTypeEnum | null;
|
|
1228
|
-
motto: string | null;
|
|
1229
|
-
privateProfile: boolean | null;
|
|
1230
|
-
allowMultiSignHack: boolean | null;
|
|
1231
|
-
deletedAt: Date | null;
|
|
1232
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1233
|
-
athlete: Athlete;
|
|
1234
|
-
eventAttendees: EventAttendee[];
|
|
1235
|
-
seasonAttendees: SeasonAttendee[];
|
|
1236
|
-
linkedAccounts: LinkedAccounts[];
|
|
1237
|
-
profilePicture: Media;
|
|
1238
|
-
usersRoles: UserRole[];
|
|
1239
|
-
orderNotes: OrderNote[];
|
|
1240
|
-
invoiceNotes: InvoiceNote[];
|
|
642
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
643
|
+
closeRegistrationPeriodValue?: number;
|
|
644
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
645
|
+
closeRegistrationSpecTime?: string;
|
|
646
|
+
openRegistrationPeriodValue?: number;
|
|
647
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
648
|
+
openRegistrationSpecTime?: string;
|
|
649
|
+
productsIdsToUpdate?: number[];
|
|
1241
650
|
}
|
|
1242
|
-
export declare class
|
|
1243
|
-
familyAccountId: number;
|
|
651
|
+
export declare class MoveParticipantDto {
|
|
1244
652
|
userId: number;
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
653
|
+
oldProductId: number;
|
|
654
|
+
newProductId: number;
|
|
655
|
+
moveType: 'session' | 'segment';
|
|
656
|
+
resourceId: number;
|
|
657
|
+
orderId: number;
|
|
1249
658
|
}
|
|
1250
|
-
export declare class
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
1254
|
-
user: User;
|
|
659
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
660
|
+
organizationId: number;
|
|
661
|
+
programType?: ProgramTypesEnum;
|
|
1255
662
|
}
|
|
1256
|
-
export declare class
|
|
1257
|
-
|
|
1258
|
-
userId: number;
|
|
1259
|
-
deletedAt?: Date;
|
|
663
|
+
export declare class FindProgramByIdDto {
|
|
664
|
+
programId: number;
|
|
1260
665
|
}
|
|
1261
|
-
export declare class
|
|
1262
|
-
|
|
1263
|
-
|
|
666
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
667
|
+
programId: number;
|
|
668
|
+
organizationId: number;
|
|
1264
669
|
}
|
|
1265
|
-
export declare class
|
|
670
|
+
export declare class BaseProgramDto {
|
|
671
|
+
type: ProgramTypesEnum;
|
|
1266
672
|
name: string;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
dayOfWeek: number;
|
|
1281
|
-
close: string;
|
|
1282
|
-
open: string;
|
|
1283
|
-
availabilityStartDate?: string;
|
|
1284
|
-
availabilityEndDate?: string;
|
|
1285
|
-
}
|
|
1286
|
-
export declare class QuestionAnswersDto {
|
|
1287
|
-
questionId: number;
|
|
1288
|
-
value: any;
|
|
1289
|
-
}
|
|
1290
|
-
export declare class UserAnswersDto {
|
|
1291
|
-
userId: number;
|
|
1292
|
-
answers: QuestionAnswersDto[];
|
|
673
|
+
sport: SportsEnum;
|
|
674
|
+
minAge: string;
|
|
675
|
+
maxAge: string;
|
|
676
|
+
gender: GenderEnum;
|
|
677
|
+
level?: LevelOfPlayEnum[];
|
|
678
|
+
description?: string;
|
|
679
|
+
GL?: string;
|
|
680
|
+
status: PublishingStatusEnum;
|
|
681
|
+
organizationId: number;
|
|
682
|
+
userCreatorId: number;
|
|
683
|
+
highlights: ProgramHighlights[];
|
|
684
|
+
longDescription?: string;
|
|
685
|
+
requiredProductIds: number[];
|
|
1293
686
|
}
|
|
1294
|
-
export declare class
|
|
1295
|
-
questionnaireIds: string;
|
|
687
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1296
688
|
}
|
|
1297
|
-
export declare class
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
spaceId: number;
|
|
1301
|
-
bookingDate: string;
|
|
1302
|
-
bookingTime: string;
|
|
689
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
690
|
+
programId: number;
|
|
691
|
+
mainMediaId: number;
|
|
1303
692
|
}
|
|
1304
|
-
export declare class
|
|
1305
|
-
|
|
693
|
+
export declare class UpdateProgramStatusDto {
|
|
694
|
+
programId: number;
|
|
695
|
+
status: PublishingStatusEnum;
|
|
1306
696
|
}
|
|
1307
|
-
export declare class
|
|
1308
|
-
|
|
697
|
+
export declare class ProgramHighlightDto {
|
|
698
|
+
data: string;
|
|
699
|
+
ordinal: number;
|
|
700
|
+
type: ProgramHighlightTypeEnum;
|
|
701
|
+
title: string;
|
|
1309
702
|
}
|
|
1310
|
-
export declare class
|
|
1311
|
-
|
|
1312
|
-
startIndex?: number;
|
|
703
|
+
export declare class FindByProductIdDto {
|
|
704
|
+
productId: number;
|
|
1313
705
|
}
|
|
1314
|
-
export declare class
|
|
1315
|
-
|
|
706
|
+
export declare class FindPriceOfProductDto {
|
|
707
|
+
id: number;
|
|
708
|
+
userId: number;
|
|
709
|
+
resources: ResourceDto[];
|
|
1316
710
|
}
|
|
1317
|
-
export declare class
|
|
1318
|
-
|
|
1319
|
-
|
|
711
|
+
export declare class FindPricesOfProductsDto {
|
|
712
|
+
products: FindPriceOfProductDto[];
|
|
713
|
+
answers: UserAnswersDto[];
|
|
1320
714
|
}
|
|
1321
|
-
export declare class
|
|
1322
|
-
|
|
715
|
+
export declare class FindPackageByResourceDto {
|
|
716
|
+
resourceType: ResourceNameTypeEnum;
|
|
717
|
+
resourceId: number;
|
|
1323
718
|
}
|
|
1324
|
-
export declare class
|
|
1325
|
-
|
|
719
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
720
|
+
organizationId: number;
|
|
1326
721
|
}
|
|
1327
|
-
export declare class
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
customersIds?: string;
|
|
722
|
+
export declare class CreateProductsDto {
|
|
723
|
+
products: CreateProductDto[];
|
|
724
|
+
addOnsData?: ProductInPackage[];
|
|
725
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
1332
726
|
}
|
|
1333
|
-
export declare class
|
|
1334
|
-
|
|
727
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
728
|
+
name: string;
|
|
1335
729
|
}
|
|
1336
|
-
export declare class
|
|
730
|
+
export declare class CreateProductDto {
|
|
1337
731
|
id?: number;
|
|
1338
|
-
description: string;
|
|
1339
|
-
pinToTop?: boolean;
|
|
1340
|
-
}
|
|
1341
|
-
export declare class AddEditCustomerDto {
|
|
1342
|
-
firstName?: string;
|
|
1343
|
-
lastName?: string;
|
|
1344
|
-
entityId?: number;
|
|
1345
|
-
entityType?: CustomerTypeEnum;
|
|
1346
|
-
email?: string;
|
|
1347
|
-
color?: string;
|
|
1348
|
-
street?: string;
|
|
1349
|
-
city?: string;
|
|
1350
|
-
state?: string;
|
|
1351
|
-
zip?: string;
|
|
1352
|
-
phoneNumber?: string;
|
|
1353
|
-
mainMediaId?: number;
|
|
1354
|
-
creatorId?: number;
|
|
1355
|
-
creatorType?: ResourceNameTypeEnum;
|
|
1356
|
-
userCreatorId?: number;
|
|
1357
|
-
gender?: GenderEnum;
|
|
1358
|
-
birthDate?: string;
|
|
1359
|
-
emergencyContactName?: string;
|
|
1360
|
-
emergencyContactPhone?: string;
|
|
1361
|
-
}
|
|
1362
|
-
export declare class FindEventByIdDto {
|
|
1363
|
-
eventId: number;
|
|
1364
732
|
organizationId: number;
|
|
1365
|
-
}
|
|
1366
|
-
export declare class UpdateEventDto {
|
|
1367
733
|
name: string;
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
734
|
+
quantity?: number;
|
|
735
|
+
isPublic: boolean;
|
|
736
|
+
startDate?: Date;
|
|
737
|
+
endDate?: Date;
|
|
738
|
+
description?: string;
|
|
739
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
740
|
+
resourcesIdsToApplyOn?: number[];
|
|
741
|
+
GL?: string;
|
|
742
|
+
prices: CreatePriceDto[];
|
|
743
|
+
downpayment?: number;
|
|
744
|
+
productType: ProductTypesEnum;
|
|
745
|
+
subProductType?: string;
|
|
746
|
+
defaultForResourceId?: number;
|
|
747
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
748
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
749
|
+
variantTitleIds?: number[];
|
|
750
|
+
variants?: VariantWithPrice[];
|
|
751
|
+
variantParentId?: number;
|
|
752
|
+
isAddon?: boolean;
|
|
753
|
+
isArchive?: boolean;
|
|
754
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
755
|
+
isProRated?: boolean;
|
|
756
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
757
|
+
isTaxInclusive?: boolean;
|
|
758
|
+
tax?: number;
|
|
759
|
+
sports?: number[];
|
|
760
|
+
durationMinutes?: number;
|
|
761
|
+
durationDays?: number;
|
|
762
|
+
forms?: number[];
|
|
763
|
+
isForAllCustomers?: boolean;
|
|
764
|
+
membershipsAvailableFor?: number[];
|
|
765
|
+
customersAvailableFor?: number[];
|
|
766
|
+
addons?: createRentalProductAddonDto[];
|
|
767
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
1399
768
|
}
|
|
1400
|
-
export declare class
|
|
1401
|
-
|
|
769
|
+
export declare class VariantWithPrice {
|
|
770
|
+
variantIds: number[];
|
|
771
|
+
price: CreatePriceDto[];
|
|
1402
772
|
}
|
|
1403
|
-
export declare class
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
773
|
+
export declare class CreatePriceDto {
|
|
774
|
+
id?: number;
|
|
775
|
+
price: number;
|
|
776
|
+
currency: CurrencyEnum;
|
|
777
|
+
name: string;
|
|
778
|
+
startDate?: Date;
|
|
779
|
+
endDate?: Date;
|
|
780
|
+
discountValue?: number;
|
|
781
|
+
discountMethod?: DiscountMethodsEnum;
|
|
782
|
+
isDefaultPriceForProduct?: boolean;
|
|
1407
783
|
}
|
|
1408
|
-
export declare class
|
|
1409
|
-
|
|
784
|
+
export declare class CreatePackageDto {
|
|
785
|
+
parentProductId: number;
|
|
786
|
+
productsData?: ProductInPackage[];
|
|
787
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
1410
788
|
}
|
|
1411
|
-
export declare class
|
|
1412
|
-
|
|
789
|
+
export declare class CreatePackageToResourceDto {
|
|
790
|
+
resourceId: number;
|
|
791
|
+
resourceType: ResourceNameTypeEnum;
|
|
792
|
+
isCreateToChildProducts: boolean;
|
|
793
|
+
productsData: ProductInPackage[];
|
|
1413
794
|
}
|
|
1414
|
-
export declare class
|
|
1415
|
-
|
|
1416
|
-
|
|
795
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
796
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
797
|
+
amountInPackage?: number;
|
|
798
|
+
level?: ProductPackageLevelEnum;
|
|
1417
799
|
}
|
|
1418
|
-
export
|
|
800
|
+
export declare class ExistingProductToPackageDto {
|
|
801
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1419
802
|
id: number;
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
programType: ProgramTypesEnum;
|
|
1423
|
-
sessionId: number;
|
|
1424
|
-
sessionName: string;
|
|
1425
|
-
isPublic: boolean;
|
|
1426
|
-
startDate: Date;
|
|
1427
|
-
endDate: Date;
|
|
1428
|
-
startTime: string;
|
|
1429
|
-
endTime: string;
|
|
1430
|
-
resources: IBasicSpaceAndSlotCreator[];
|
|
1431
|
-
attenedanceCount: number;
|
|
1432
|
-
checkedInCount: number;
|
|
1433
|
-
missingPaymentCount: number;
|
|
1434
|
-
publicNotes: string;
|
|
1435
|
-
privateNotes: string;
|
|
803
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
804
|
+
level?: ProductPackageLevelEnum;
|
|
1436
805
|
}
|
|
1437
|
-
export
|
|
1438
|
-
|
|
806
|
+
export declare class ConnectProductResourceDto {
|
|
807
|
+
productId: number;
|
|
808
|
+
resourceType: ResourceNameTypeEnum;
|
|
809
|
+
resourceIds: number[];
|
|
810
|
+
}
|
|
811
|
+
export declare class ReturnRequiredProductsDto {
|
|
1439
812
|
userId: number;
|
|
1440
|
-
|
|
1441
|
-
firstName: string;
|
|
1442
|
-
birthDate: string;
|
|
1443
|
-
mediaURL: string;
|
|
1444
|
-
signedWaiver: string;
|
|
1445
|
-
entryStatus: EntryStatusEnum;
|
|
1446
|
-
paymentStatus: PaymentStatusEnum;
|
|
1447
|
-
addOns: {
|
|
1448
|
-
productId: number;
|
|
1449
|
-
productName: string;
|
|
1450
|
-
}[];
|
|
1451
|
-
totalPasses?: number;
|
|
1452
|
-
leftPasses?: number;
|
|
1453
|
-
addonProductUserIds: number[];
|
|
813
|
+
productId: number;
|
|
1454
814
|
}
|
|
1455
|
-
export declare class
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
isNotCheckedIn?: string;
|
|
1459
|
-
hasAddons?: string;
|
|
1460
|
-
isWaiverSigned?: string;
|
|
1461
|
-
statuses?: string;
|
|
815
|
+
export declare class FindByProductUserIdsDto {
|
|
816
|
+
userId: number;
|
|
817
|
+
organizationId: number;
|
|
1462
818
|
}
|
|
1463
|
-
export declare class
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
country: string;
|
|
1467
|
-
geo: number[];
|
|
819
|
+
export declare class AddRequiredProductsDto {
|
|
820
|
+
productId: number;
|
|
821
|
+
requiredProductIds: number[];
|
|
1468
822
|
}
|
|
1469
|
-
export declare class
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
823
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
824
|
+
productIds?: number[];
|
|
825
|
+
includePrices?: boolean;
|
|
826
|
+
productType?: ProductTypesEnum;
|
|
827
|
+
includeAddons?: string;
|
|
1473
828
|
}
|
|
1474
|
-
export declare class
|
|
1475
|
-
|
|
1476
|
-
sports: number[];
|
|
1477
|
-
description?: string;
|
|
1478
|
-
longDescription?: string;
|
|
1479
|
-
info?: string;
|
|
1480
|
-
address: AddressDto;
|
|
1481
|
-
timezone: string;
|
|
1482
|
-
amenities: number[];
|
|
1483
|
-
openingTimes: OpeningTimeDto[];
|
|
1484
|
-
resourcesIds?: number[];
|
|
829
|
+
export declare class GetByOrganizationIdDto {
|
|
830
|
+
organizationId?: number;
|
|
1485
831
|
}
|
|
1486
|
-
export declare class
|
|
1487
|
-
|
|
1488
|
-
description?: string;
|
|
1489
|
-
longDescription?: string;
|
|
1490
|
-
info?: string;
|
|
1491
|
-
address?: AddressDto;
|
|
1492
|
-
timezone?: string;
|
|
832
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
833
|
+
orderId?: number;
|
|
1493
834
|
}
|
|
1494
|
-
export declare class
|
|
1495
|
-
|
|
835
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
836
|
+
productIds?: string;
|
|
837
|
+
includePrices?: boolean;
|
|
838
|
+
productType?: string;
|
|
839
|
+
productSubType?: string;
|
|
840
|
+
search?: string;
|
|
841
|
+
includeAddons?: boolean;
|
|
842
|
+
includeArchived?: boolean;
|
|
843
|
+
includeAllData?: boolean;
|
|
844
|
+
resourceIds?: string;
|
|
845
|
+
sports?: string;
|
|
1496
846
|
}
|
|
1497
|
-
export declare class
|
|
1498
|
-
|
|
847
|
+
export declare class GetAllVariantTitlesDto {
|
|
848
|
+
organizationId: number;
|
|
1499
849
|
}
|
|
1500
|
-
export declare class
|
|
1501
|
-
|
|
850
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
851
|
+
organizationId: number;
|
|
1502
852
|
}
|
|
1503
|
-
export declare class
|
|
1504
|
-
|
|
853
|
+
export declare class CreateVariantTitleDto {
|
|
854
|
+
organizationId: number;
|
|
855
|
+
title: string;
|
|
856
|
+
variants: string[];
|
|
1505
857
|
}
|
|
1506
|
-
export declare class
|
|
1507
|
-
|
|
858
|
+
export declare class UpdateVariantTitleDto {
|
|
859
|
+
organizationId: number;
|
|
860
|
+
titleId: number;
|
|
861
|
+
title: string;
|
|
862
|
+
variants: string[];
|
|
1508
863
|
}
|
|
1509
|
-
export declare class
|
|
864
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1510
865
|
customerId: number;
|
|
1511
|
-
organizationId: number;
|
|
1512
866
|
}
|
|
1513
|
-
export declare class
|
|
1514
|
-
|
|
867
|
+
export declare class GetExtraProductDataDto {
|
|
868
|
+
isPublic?: boolean;
|
|
869
|
+
isGetByChildResources?: boolean;
|
|
870
|
+
isGetEntitlePricing?: boolean;
|
|
871
|
+
isGetAddOns?: boolean;
|
|
872
|
+
includeResources?: boolean;
|
|
873
|
+
includeArchived?: boolean;
|
|
1515
874
|
}
|
|
1516
|
-
export declare class
|
|
1517
|
-
|
|
1518
|
-
userId: number;
|
|
875
|
+
export declare class GetBySessionType {
|
|
876
|
+
sessionType: 'event' | 'segment';
|
|
1519
877
|
}
|
|
1520
|
-
export declare class
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
familyAccountId: number;
|
|
1526
|
-
isUserAdmin: boolean;
|
|
1527
|
-
firstName: string;
|
|
1528
|
-
lastName: string;
|
|
1529
|
-
gender: GenderEnum;
|
|
1530
|
-
birthDate: string;
|
|
1531
|
-
sports?: number[];
|
|
1532
|
-
email?: string;
|
|
878
|
+
export declare class CreateSubcategoryDto {
|
|
879
|
+
productType: ProductTypesEnum;
|
|
880
|
+
name: string;
|
|
881
|
+
stationId?: number;
|
|
882
|
+
ordinal?: number;
|
|
1533
883
|
}
|
|
1534
|
-
export declare class
|
|
1535
|
-
|
|
1536
|
-
familyAccountId: number;
|
|
884
|
+
export declare class CreateSubcategoriesDto {
|
|
885
|
+
subcategories: CreateSubcategoryDto[];
|
|
1537
886
|
}
|
|
1538
|
-
export declare class
|
|
887
|
+
export declare class UpdateSubcategoryDto {
|
|
1539
888
|
id: number;
|
|
889
|
+
productType?: ProductTypesEnum;
|
|
890
|
+
name?: string;
|
|
891
|
+
stationId?: number;
|
|
892
|
+
ordinal?: number;
|
|
1540
893
|
}
|
|
1541
|
-
export declare class
|
|
1542
|
-
|
|
1543
|
-
itemsPerPage: number;
|
|
894
|
+
export declare class GetSubcategoryDto {
|
|
895
|
+
stationId?: number;
|
|
1544
896
|
}
|
|
1545
|
-
export declare class
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
897
|
+
export declare class SetStationSubcategoriesDto {
|
|
898
|
+
stationId: number;
|
|
899
|
+
subcategoryIds?: number[];
|
|
900
|
+
categories?: string[];
|
|
1549
901
|
}
|
|
1550
|
-
export declare class
|
|
1551
|
-
|
|
902
|
+
export declare class createRentalProductAddonDto {
|
|
903
|
+
productId: number;
|
|
904
|
+
price: number;
|
|
905
|
+
isFlatPrice: boolean;
|
|
906
|
+
isMandatory: boolean;
|
|
907
|
+
level: ProductPackageLevelEnum;
|
|
1552
908
|
}
|
|
1553
|
-
export declare class
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
909
|
+
export declare class createProductAvailabilityTimesDto {
|
|
910
|
+
availabilityStartDate?: string;
|
|
911
|
+
availabilityEndDate?: string;
|
|
912
|
+
daysOfWeek: number[];
|
|
913
|
+
startTime: string;
|
|
914
|
+
endTime: string;
|
|
1559
915
|
}
|
|
1560
|
-
export declare class
|
|
1561
|
-
|
|
916
|
+
export declare class createResourceDto {
|
|
917
|
+
resourceId: number;
|
|
918
|
+
resourceType: ResourceNameTypeEnum;
|
|
1562
919
|
}
|
|
1563
|
-
export declare class
|
|
1564
|
-
|
|
920
|
+
export declare class archiveDto {
|
|
921
|
+
isArchive: boolean;
|
|
1565
922
|
}
|
|
1566
|
-
export declare class
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
programSeasonId: number;
|
|
1570
|
-
color: string;
|
|
1571
|
-
isDefault: boolean;
|
|
923
|
+
export declare class PurchasePaymentDto {
|
|
924
|
+
token: string;
|
|
925
|
+
type: PaymentMethodTypeEnum;
|
|
1572
926
|
}
|
|
1573
|
-
export declare class
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
sports: SportsEnum[];
|
|
1584
|
-
questionnaires?: number[];
|
|
1585
|
-
captainUserId?: number;
|
|
1586
|
-
divisionId?: number;
|
|
927
|
+
export declare class ChargeRentalsReuqestDto {
|
|
928
|
+
organizationId: number;
|
|
929
|
+
userId?: number;
|
|
930
|
+
customerId?: number;
|
|
931
|
+
orderId: number;
|
|
932
|
+
paymentData: PurchasePaymentDto;
|
|
933
|
+
amountToPay: number;
|
|
934
|
+
total: number;
|
|
935
|
+
platform: PlatformsEnum;
|
|
936
|
+
shiftId?: number;
|
|
1587
937
|
}
|
|
1588
|
-
export declare class
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
938
|
+
export declare class PurchaseRequestDto {
|
|
939
|
+
purchasingUserId: number;
|
|
940
|
+
customerId?: number;
|
|
941
|
+
products: PurchaseProductDto[];
|
|
942
|
+
paymentData: PurchasePaymentDto;
|
|
943
|
+
answers: UserAnswersDto[];
|
|
944
|
+
amountToPay: number;
|
|
945
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
|
+
parentPurchasedId?: number;
|
|
947
|
+
isPartialPayment: boolean;
|
|
948
|
+
existingOrderToken?: string;
|
|
949
|
+
installments?: ScheduledPaymentDto[];
|
|
950
|
+
shiftId?: number;
|
|
951
|
+
orderId?: number;
|
|
1592
952
|
}
|
|
1593
|
-
export declare class
|
|
1594
|
-
userId: number;
|
|
1595
|
-
groupId?: number;
|
|
1596
|
-
prevGroupId?: number;
|
|
953
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
1597
954
|
}
|
|
1598
|
-
export declare class
|
|
1599
|
-
|
|
1600
|
-
|
|
955
|
+
export declare class PurchaseProductDto {
|
|
956
|
+
id: number;
|
|
957
|
+
resources?: PurchaseResourceDto[];
|
|
958
|
+
userId?: number;
|
|
959
|
+
paymentStatus?: PaymentStatusEnum;
|
|
960
|
+
amountToPay?: number;
|
|
961
|
+
ordinal?: number;
|
|
962
|
+
startDate?: Date;
|
|
963
|
+
quantity?: number;
|
|
1601
964
|
}
|
|
1602
|
-
export declare class
|
|
1603
|
-
|
|
1604
|
-
|
|
965
|
+
export declare class PartialPaymentRequestDto {
|
|
966
|
+
orderId: number;
|
|
967
|
+
amountToPay: number;
|
|
968
|
+
organizationId: number;
|
|
969
|
+
payingUserId: number;
|
|
970
|
+
paymentMethodData: PurchasePaymentDto;
|
|
971
|
+
shiftId?: number;
|
|
1605
972
|
}
|
|
1606
|
-
export declare class
|
|
1607
|
-
|
|
973
|
+
export declare class RedeemPunchCardRequestDto {
|
|
974
|
+
products: PurchaseProductDto[];
|
|
975
|
+
answersTitlesIds: number[];
|
|
976
|
+
organizationId: number;
|
|
977
|
+
purchasingUserId: number;
|
|
1608
978
|
}
|
|
1609
|
-
export declare class
|
|
1610
|
-
|
|
979
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
980
|
+
orderId: number;
|
|
1611
981
|
}
|
|
1612
|
-
export declare class
|
|
1613
|
-
|
|
1614
|
-
|
|
982
|
+
export declare class AddItemsDto {
|
|
983
|
+
products: PurchaseProductDto[];
|
|
984
|
+
allocateResource: boolean;
|
|
985
|
+
skipMail: boolean;
|
|
1615
986
|
}
|
|
1616
|
-
export declare class
|
|
1617
|
-
|
|
987
|
+
export declare class PartialPaymentAsUserDto {
|
|
988
|
+
orderId: any;
|
|
989
|
+
organizationId: any;
|
|
990
|
+
amountToPay: any;
|
|
991
|
+
paymentMethodData: any;
|
|
1618
992
|
}
|
|
1619
|
-
export
|
|
1620
|
-
|
|
1621
|
-
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
1622
998
|
}
|
|
1623
|
-
export declare class
|
|
1624
|
-
teamId?: number;
|
|
1625
|
-
memberId?: number;
|
|
1626
|
-
fromSeasonId: number;
|
|
1627
|
-
toSeasonId: number;
|
|
1628
|
-
toDivisionId?: number;
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1629
1000
|
}
|
|
1630
|
-
export declare class
|
|
1631
|
-
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
1632
1004
|
}
|
|
1633
|
-
export declare class
|
|
1634
|
-
|
|
1005
|
+
export declare class SpaceByIdDto {
|
|
1006
|
+
spaceId: number;
|
|
1007
|
+
}
|
|
1008
|
+
export declare class CreateSpaceDto {
|
|
1635
1009
|
name: string;
|
|
1010
|
+
sports: number[];
|
|
1636
1011
|
description?: string;
|
|
1637
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1638
|
-
activity: SportsEnum;
|
|
1639
|
-
facilityId: number;
|
|
1640
|
-
questionnaires: number[];
|
|
1641
|
-
minAgeYears: number;
|
|
1642
|
-
maxAgeYears: number;
|
|
1643
|
-
gender: GenderEnum;
|
|
1644
|
-
maxMembers?: number;
|
|
1645
|
-
maxMaleMembers?: number;
|
|
1646
|
-
maxFemaleMembers?: number;
|
|
1647
|
-
startDate: string;
|
|
1648
|
-
endDate: string;
|
|
1649
|
-
registrationStartDate?: Date;
|
|
1650
|
-
registrationEndDate?: Date;
|
|
1651
|
-
membershipType: MembershipTypeEnum;
|
|
1652
|
-
durationMonths: number;
|
|
1653
1012
|
longDescription?: string;
|
|
1654
|
-
|
|
1013
|
+
spaceType: ResourceSubTypeEnum;
|
|
1014
|
+
isAddon?: boolean;
|
|
1015
|
+
properties: SpacePropertiesEnum;
|
|
1016
|
+
width?: number;
|
|
1017
|
+
length?: number;
|
|
1018
|
+
surface?: SurfacesEnum;
|
|
1019
|
+
ages?: ResourceAgesEnum;
|
|
1020
|
+
amenities: number[];
|
|
1021
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1022
|
+
facilitiesIds: number[];
|
|
1023
|
+
resourceGroupId?: number;
|
|
1024
|
+
blockedResourcesIds?: number[];
|
|
1655
1025
|
}
|
|
1656
|
-
export declare class
|
|
1657
|
-
|
|
1026
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1027
|
+
name: string;
|
|
1028
|
+
description?: string;
|
|
1029
|
+
longDescription?: string;
|
|
1030
|
+
isAddon?: boolean;
|
|
1031
|
+
facilitiesIds: number[];
|
|
1658
1032
|
}
|
|
1659
|
-
export declare class
|
|
1660
|
-
|
|
1661
|
-
|
|
1033
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1034
|
+
properties: SpacePropertiesEnum;
|
|
1035
|
+
width?: number;
|
|
1036
|
+
length?: number;
|
|
1037
|
+
surface?: SurfacesEnum;
|
|
1038
|
+
ages?: ResourceAgesEnum;
|
|
1662
1039
|
}
|
|
1663
|
-
export declare class
|
|
1664
|
-
|
|
1040
|
+
export declare class UpdateSpaceTimesDto {
|
|
1041
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1665
1042
|
}
|
|
1666
|
-
export declare class
|
|
1667
|
-
|
|
1043
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1044
|
+
resourceGroupId?: number;
|
|
1045
|
+
blockedResourcesIds?: number[];
|
|
1668
1046
|
}
|
|
1669
|
-
export declare class
|
|
1670
|
-
|
|
1047
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1048
|
+
blockedSpacesIds: number[];
|
|
1049
|
+
parentSpaceId?: number;
|
|
1671
1050
|
}
|
|
1672
|
-
export declare class
|
|
1673
|
-
|
|
1051
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1052
|
+
spacesIds?: string;
|
|
1053
|
+
futureHoursLimit?: number;
|
|
1674
1054
|
}
|
|
1675
|
-
export declare class
|
|
1676
|
-
|
|
1055
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1056
|
+
nameSearch?: string;
|
|
1057
|
+
facilitiesIds?: string;
|
|
1058
|
+
types?: string;
|
|
1059
|
+
resourcesIds?: string;
|
|
1677
1060
|
}
|
|
1678
|
-
export declare class
|
|
1679
|
-
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1680
1063
|
}
|
|
1681
|
-
export declare class
|
|
1682
|
-
|
|
1683
|
-
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1684
1067
|
}
|
|
1685
|
-
export declare class
|
|
1686
|
-
|
|
1687
|
-
cancellationReason?: string;
|
|
1068
|
+
export declare class FindByUserIdDto {
|
|
1069
|
+
userId: number;
|
|
1688
1070
|
}
|
|
1689
|
-
export declare class
|
|
1071
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
+
familyAccountId?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1690
1075
|
organizationId: number;
|
|
1691
|
-
entitlementGroupId: number;
|
|
1692
|
-
terms: IEntitlementTerms[];
|
|
1693
1076
|
}
|
|
1694
|
-
export declare class
|
|
1695
|
-
|
|
1077
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1078
|
+
entityType: ResourceNameTypeEnum;
|
|
1079
|
+
entityId: number;
|
|
1080
|
+
organizationId?: number;
|
|
1081
|
+
userId?: number;
|
|
1082
|
+
customerId?: number;
|
|
1083
|
+
performingUserId: number;
|
|
1084
|
+
description: string;
|
|
1085
|
+
actionType: ActionTypesEnum;
|
|
1086
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
+
oldValue?: any;
|
|
1088
|
+
newValue?: any;
|
|
1696
1089
|
}
|
|
1697
|
-
export declare class
|
|
1698
|
-
|
|
1699
|
-
|
|
1090
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1092
|
+
parentId: number;
|
|
1093
|
+
dayOfWeek: number;
|
|
1094
|
+
open: string;
|
|
1095
|
+
close: string;
|
|
1096
|
+
deletedAt?: Date;
|
|
1097
|
+
program: ProgramSeason;
|
|
1098
|
+
availabilityStartDate: string;
|
|
1099
|
+
availabilityEndDate: string;
|
|
1100
|
+
proudct: Product;
|
|
1101
|
+
event: Event;
|
|
1700
1102
|
}
|
|
1701
|
-
export declare class
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1103
|
+
export declare class Address extends BondBaseEntity {
|
|
1104
|
+
city?: string;
|
|
1105
|
+
street?: string;
|
|
1106
|
+
streetNum?: string;
|
|
1107
|
+
aptNum?: string;
|
|
1108
|
+
zip?: string;
|
|
1109
|
+
country?: string;
|
|
1110
|
+
state?: string;
|
|
1111
|
+
geo: any;
|
|
1112
|
+
deletedAt?: Date;
|
|
1708
1113
|
}
|
|
1709
|
-
export declare class
|
|
1710
|
-
|
|
1711
|
-
|
|
1114
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
|
+
questionId: number;
|
|
1116
|
+
question?: Questions;
|
|
1117
|
+
parentId: number;
|
|
1118
|
+
parentType: ResourceNameTypeEnum;
|
|
1119
|
+
answerValue: any;
|
|
1120
|
+
creatorId: number;
|
|
1121
|
+
creatorType: ResourceNameTypeEnum;
|
|
1122
|
+
answerTitleId: number;
|
|
1123
|
+
answerTitle: AnswerTitle;
|
|
1124
|
+
metaData: any | null;
|
|
1125
|
+
questionText: string | null;
|
|
1712
1126
|
}
|
|
1713
|
-
export declare class
|
|
1127
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1128
|
+
questionnaireId: number;
|
|
1129
|
+
userId?: number;
|
|
1130
|
+
answers: Answer[];
|
|
1131
|
+
questionnaire: Questionnaires;
|
|
1132
|
+
}
|
|
1133
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1134
|
+
userId: number | null;
|
|
1135
|
+
metadata: object | null;
|
|
1136
|
+
athleteSports: AthleteSports[];
|
|
1137
|
+
}
|
|
1138
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
|
+
athleteId: number | null;
|
|
1140
|
+
sports: number | null;
|
|
1141
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
|
+
}
|
|
1143
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
|
+
entityType: ResourceNameTypeEnum;
|
|
1145
|
+
entityId: number;
|
|
1714
1146
|
name: string;
|
|
1147
|
+
startDate: Date;
|
|
1148
|
+
endDate: Date;
|
|
1149
|
+
deletedAt?: Date;
|
|
1715
1150
|
}
|
|
1716
|
-
export declare class
|
|
1717
|
-
|
|
1718
|
-
|
|
1151
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
|
+
id: number;
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
1719
1155
|
}
|
|
1720
|
-
export declare class
|
|
1721
|
-
|
|
1156
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1157
|
+
reservationId?: number;
|
|
1158
|
+
color?: string;
|
|
1159
|
+
creatorId?: number;
|
|
1160
|
+
creatorType?: string;
|
|
1161
|
+
startDate?: Date | moment.Moment;
|
|
1162
|
+
endDate?: Date | moment.Moment;
|
|
1163
|
+
timezone?: string;
|
|
1164
|
+
spaceId?: number;
|
|
1165
|
+
percentage?: number;
|
|
1166
|
+
status?: string;
|
|
1167
|
+
originalSessionId?: number;
|
|
1168
|
+
isFinal?: boolean;
|
|
1169
|
+
concurrent?: number;
|
|
1170
|
+
deletedAt?: Date;
|
|
1171
|
+
publicNotes?: string;
|
|
1172
|
+
slotType?: SlotTypeEnum;
|
|
1722
1173
|
}
|
|
1723
|
-
export declare class
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
startDate
|
|
1727
|
-
endDate
|
|
1728
|
-
|
|
1729
|
-
|
|
1174
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
|
+
parentId: number;
|
|
1176
|
+
parentType: ResourceNameTypeEnum;
|
|
1177
|
+
startDate: Date;
|
|
1178
|
+
endDate: Date;
|
|
1179
|
+
dayOfWeek: number;
|
|
1180
|
+
startTimeInDay: string;
|
|
1181
|
+
endTimeInDay: string;
|
|
1182
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1730
1183
|
}
|
|
1731
|
-
export declare class
|
|
1732
|
-
|
|
1184
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
+
area: string;
|
|
1186
|
+
key: string;
|
|
1187
|
+
value: string;
|
|
1733
1188
|
}
|
|
1734
|
-
export declare class
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1189
|
+
export declare class Connection extends BondBaseEntity {
|
|
1190
|
+
connType: number | null;
|
|
1191
|
+
from: number | null;
|
|
1192
|
+
fromType: string | null;
|
|
1193
|
+
to: number | null;
|
|
1194
|
+
toType: string | null;
|
|
1195
|
+
status: number | null;
|
|
1196
|
+
creatorId: number | null;
|
|
1197
|
+
creatorType: string | null;
|
|
1198
|
+
userCreatorId: number | null;
|
|
1199
|
+
ownerId: number | null;
|
|
1738
1200
|
}
|
|
1739
|
-
export declare class
|
|
1740
|
-
|
|
1741
|
-
|
|
1201
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
|
+
creditAmount: number;
|
|
1203
|
+
paymentProcessorId: string;
|
|
1204
|
+
userId: number;
|
|
1205
|
+
invoiceId: number;
|
|
1206
|
+
orderId: number;
|
|
1207
|
+
creditPaymentInvoiceId: number;
|
|
1742
1208
|
}
|
|
1743
|
-
export declare class
|
|
1744
|
-
|
|
1745
|
-
|
|
1209
|
+
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1210
|
+
name: string | null;
|
|
1211
|
+
entityId: number | null;
|
|
1212
|
+
addressId: number | null;
|
|
1213
|
+
entityType: CustomerTypeEnum | null;
|
|
1214
|
+
customerId: string | null;
|
|
1215
|
+
email: string | null;
|
|
1216
|
+
color: string | null;
|
|
1217
|
+
phoneNumber: string | null;
|
|
1218
|
+
mainMediaId: number | null;
|
|
1219
|
+
creatorId: number | null;
|
|
1220
|
+
creatorType: ResourceNameTypeEnum | null;
|
|
1221
|
+
userCreatorId: number | null;
|
|
1222
|
+
ownerId: number | null;
|
|
1223
|
+
vetted: boolean | null;
|
|
1224
|
+
firstName: string | null;
|
|
1225
|
+
lastName: string | null;
|
|
1226
|
+
waiverSignedDate: string | null;
|
|
1227
|
+
balance: number | null;
|
|
1228
|
+
storedCredit: number;
|
|
1229
|
+
members: (User & Customer)[];
|
|
1230
|
+
emergencyContacts: EmergencyContact[];
|
|
1231
|
+
customerNotes: CustomerNote[];
|
|
1232
|
+
customerCreditTransactions: CustomerCreditTransaction[];
|
|
1233
|
+
productsReservedFor: ProductsReservedForCustomers[];
|
|
1234
|
+
mainMedia: Media;
|
|
1235
|
+
reservations?: Reservation[];
|
|
1746
1236
|
}
|
|
1747
|
-
export declare class
|
|
1748
|
-
|
|
1237
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1238
|
+
customerId: number;
|
|
1239
|
+
userId: number;
|
|
1240
|
+
amount: number;
|
|
1241
|
+
invoiceId?: number;
|
|
1242
|
+
orderId?: number;
|
|
1243
|
+
description?: string;
|
|
1244
|
+
deletedAt?: Date;
|
|
1245
|
+
customer: Customer;
|
|
1246
|
+
order: Order;
|
|
1247
|
+
invoice: Invoice;
|
|
1749
1248
|
}
|
|
1750
|
-
export declare class
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1249
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
+
customerId?: number;
|
|
1251
|
+
description: string;
|
|
1252
|
+
pinToTop?: boolean;
|
|
1253
|
+
customer: Customer;
|
|
1754
1254
|
}
|
|
1755
|
-
export declare class
|
|
1255
|
+
export declare class Division extends BondBaseEntity {
|
|
1756
1256
|
name: string;
|
|
1257
|
+
ordinal?: number;
|
|
1258
|
+
programSeasonId: number;
|
|
1259
|
+
color: string;
|
|
1260
|
+
isDefault: boolean;
|
|
1261
|
+
groups: Group[];
|
|
1757
1262
|
}
|
|
1758
|
-
export declare class
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
isPublic: boolean;
|
|
1764
|
-
startDate?: Date;
|
|
1765
|
-
endDate?: Date;
|
|
1766
|
-
description?: string;
|
|
1767
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
1768
|
-
resourcesIdsToApplyOn?: number[];
|
|
1769
|
-
GL?: string;
|
|
1770
|
-
prices: CreatePriceDto[];
|
|
1771
|
-
downpayment?: number;
|
|
1772
|
-
productType: ProductTypesEnum;
|
|
1773
|
-
subProductType?: string;
|
|
1774
|
-
defaultForResourceId?: number;
|
|
1775
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
1776
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
1777
|
-
variantTitleIds?: number[];
|
|
1778
|
-
variants?: VariantWithPrice[];
|
|
1779
|
-
variantParentId?: number;
|
|
1780
|
-
isAddon?: boolean;
|
|
1781
|
-
isArchive?: boolean;
|
|
1782
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1783
|
-
isProRated?: boolean;
|
|
1784
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
1785
|
-
isTaxInclusive?: boolean;
|
|
1786
|
-
tax?: number;
|
|
1787
|
-
sports?: number[];
|
|
1788
|
-
durationMinutes?: number;
|
|
1789
|
-
durationDays?: number;
|
|
1790
|
-
forms?: number[];
|
|
1791
|
-
isForAllCustomers?: boolean;
|
|
1792
|
-
membershipsAvailableFor?: number[];
|
|
1793
|
-
customersAvailableFor?: number[];
|
|
1794
|
-
addons?: createRentalProductAddonDto[];
|
|
1795
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
1796
|
-
}
|
|
1797
|
-
export declare class VariantWithPrice {
|
|
1798
|
-
variantIds: number[];
|
|
1799
|
-
price: CreatePriceDto[];
|
|
1263
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
|
+
customerId: number;
|
|
1265
|
+
name: string | null;
|
|
1266
|
+
phoneNumber: string | null;
|
|
1267
|
+
customer: Customer;
|
|
1800
1268
|
}
|
|
1801
|
-
export declare class
|
|
1802
|
-
|
|
1803
|
-
price: number;
|
|
1804
|
-
currency: CurrencyEnum;
|
|
1805
|
-
name: string;
|
|
1806
|
-
startDate?: Date;
|
|
1807
|
-
endDate?: Date;
|
|
1808
|
-
discountValue?: number;
|
|
1809
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1810
|
-
isDefaultPriceForProduct?: boolean;
|
|
1269
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
|
+
name: string | null;
|
|
1811
1271
|
}
|
|
1812
|
-
export declare class
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
1272
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
groupId: number;
|
|
1274
|
+
terms: IEntitlementTerms[];
|
|
1816
1275
|
}
|
|
1817
|
-
export declare class
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1276
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
|
+
status: RequestStatusEnum | null;
|
|
1278
|
+
hasPaid: boolean | null;
|
|
1279
|
+
paymentId: number | null;
|
|
1280
|
+
attendeeId: number;
|
|
1281
|
+
eventId?: number | null;
|
|
1282
|
+
productUserId?: number;
|
|
1283
|
+
answerTitleIds?: number[];
|
|
1284
|
+
entryStatus?: EntryStatusEnum;
|
|
1285
|
+
addonProductUserIds?: number[];
|
|
1286
|
+
deletedAt?: Date;
|
|
1287
|
+
attendee: User;
|
|
1288
|
+
event: Event;
|
|
1289
|
+
purchasedResource: PurchasedResource;
|
|
1822
1290
|
}
|
|
1823
|
-
export declare class
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1291
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1292
|
+
constructor();
|
|
1293
|
+
defineCalculatedDateTimeProps(): void;
|
|
1294
|
+
title: string | null;
|
|
1295
|
+
description: string | null;
|
|
1296
|
+
eventType: number | null;
|
|
1297
|
+
startDate: Date | null;
|
|
1298
|
+
endDate: Date | null;
|
|
1299
|
+
price: number | null;
|
|
1300
|
+
venueName: string | null;
|
|
1301
|
+
status: EventStatusEnum;
|
|
1302
|
+
private: boolean | null;
|
|
1303
|
+
guestsCanInvite: boolean | null;
|
|
1304
|
+
venueId: number | null;
|
|
1305
|
+
addressId: number | null;
|
|
1306
|
+
participantsLimit: number | null;
|
|
1307
|
+
parentId: number | null;
|
|
1308
|
+
parentType: string | null;
|
|
1309
|
+
timezone: string | null;
|
|
1310
|
+
eventSubType: string | null;
|
|
1311
|
+
eventSubId: number | null;
|
|
1312
|
+
metaData: any | null;
|
|
1313
|
+
groupingId: string | null;
|
|
1314
|
+
redirectUri: string | null;
|
|
1315
|
+
externalId: string | null;
|
|
1316
|
+
paymentSettings: any | null;
|
|
1317
|
+
whoCanJoin: string | null;
|
|
1318
|
+
spaceId?: number;
|
|
1319
|
+
bookedSessionId: number | null;
|
|
1320
|
+
creatorId: number | null;
|
|
1321
|
+
creatorType: string | null;
|
|
1322
|
+
userCreatorId: number | null;
|
|
1323
|
+
ownerId: number | null;
|
|
1324
|
+
sports: number[] | null;
|
|
1325
|
+
isVerified: boolean | null;
|
|
1326
|
+
mainMediaId: number | null;
|
|
1327
|
+
minAge: number | null;
|
|
1328
|
+
maxAge: number | null;
|
|
1329
|
+
gender: number | null;
|
|
1330
|
+
questionnaireId: number | null;
|
|
1331
|
+
eventAttendees: EventAttendee[];
|
|
1332
|
+
deletedAt?: Date;
|
|
1333
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1334
|
+
startDateString: string;
|
|
1335
|
+
endDateString: string;
|
|
1336
|
+
startTime: string;
|
|
1337
|
+
endTime: string;
|
|
1338
|
+
publicNotes?: string;
|
|
1339
|
+
privateNotes?: string;
|
|
1340
|
+
productResources: ProductResource[];
|
|
1341
|
+
parentSession: ProgramSeason;
|
|
1342
|
+
activityTimes: ActivityTimes[];
|
|
1343
|
+
slots: Slot[];
|
|
1344
|
+
purchasedResources: PurchasedResource[];
|
|
1827
1345
|
}
|
|
1828
|
-
export declare class
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1346
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
|
+
name: string;
|
|
1348
|
+
description?: string;
|
|
1349
|
+
addressId: number;
|
|
1350
|
+
address: Address;
|
|
1351
|
+
amenities?: number[];
|
|
1352
|
+
timezone: string;
|
|
1353
|
+
creatorId: number;
|
|
1354
|
+
creatorType: string;
|
|
1355
|
+
userCreatorId: number;
|
|
1356
|
+
mainMediaId: number;
|
|
1357
|
+
mainMedia: Media;
|
|
1358
|
+
publishedDate?: Date;
|
|
1359
|
+
isPublished: boolean;
|
|
1360
|
+
sports?: number[];
|
|
1361
|
+
info?: string;
|
|
1362
|
+
longDescription?: string;
|
|
1363
|
+
deletedAt?: Date;
|
|
1364
|
+
openingTimes: OpeningTime[];
|
|
1365
|
+
resources: Resource[];
|
|
1366
|
+
spaces: Resource[];
|
|
1367
|
+
programSeasons: ProgramSeason[];
|
|
1368
|
+
linkSEO: string;
|
|
1833
1369
|
}
|
|
1834
|
-
export declare class
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
resourceIds: number[];
|
|
1370
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
|
+
facilityId: number;
|
|
1372
|
+
resourceId: number;
|
|
1838
1373
|
}
|
|
1839
|
-
export declare class
|
|
1840
|
-
|
|
1841
|
-
|
|
1374
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1842
1377
|
}
|
|
1843
|
-
export declare class
|
|
1378
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1844
1379
|
userId: number;
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
productIds?: number[];
|
|
1853
|
-
includePrices?: boolean;
|
|
1854
|
-
productType?: ProductTypesEnum;
|
|
1855
|
-
includeAddons?: string;
|
|
1856
|
-
}
|
|
1857
|
-
export declare class GetByOrganizationIdDto {
|
|
1858
|
-
organizationId?: number;
|
|
1859
|
-
}
|
|
1860
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
1861
|
-
orderId?: number;
|
|
1862
|
-
}
|
|
1863
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
1864
|
-
productIds?: string;
|
|
1865
|
-
includePrices?: boolean;
|
|
1866
|
-
productType?: string;
|
|
1867
|
-
productSubType?: string;
|
|
1868
|
-
search?: string;
|
|
1869
|
-
includeAddons?: boolean;
|
|
1870
|
-
includeArchived?: boolean;
|
|
1871
|
-
includeAllData?: boolean;
|
|
1872
|
-
resourceIds?: string;
|
|
1873
|
-
sports?: string;
|
|
1874
|
-
}
|
|
1875
|
-
export declare class GetAllVariantTitlesDto {
|
|
1876
|
-
organizationId: number;
|
|
1380
|
+
orderId: number;
|
|
1381
|
+
paymentMethodId: string;
|
|
1382
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1383
|
+
price: number;
|
|
1384
|
+
status: FutureInstallmentStatusEnum;
|
|
1385
|
+
plannedDate: Date;
|
|
1386
|
+
chargedAt?: Date;
|
|
1877
1387
|
}
|
|
1878
|
-
export declare class
|
|
1879
|
-
|
|
1388
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
+
code: string;
|
|
1880
1390
|
}
|
|
1881
|
-
export declare class
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1391
|
+
export declare class Group extends BondBaseEntity {
|
|
1392
|
+
name: string;
|
|
1393
|
+
description?: string;
|
|
1394
|
+
status: GroupStatusEnum;
|
|
1395
|
+
maxCapacity?: number;
|
|
1396
|
+
mainMediaId?: number;
|
|
1397
|
+
minAgeYears?: number;
|
|
1398
|
+
maxAgeYears?: number;
|
|
1399
|
+
gender: GenderEnum;
|
|
1400
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1401
|
+
sports: SportsEnum[];
|
|
1402
|
+
questionnaires?: number[];
|
|
1403
|
+
captainUserId?: number;
|
|
1404
|
+
members: ISeasonAttendeeInfo[];
|
|
1405
|
+
users: User[];
|
|
1885
1406
|
}
|
|
1886
|
-
export declare class
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1407
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1408
|
+
groupId: number;
|
|
1409
|
+
itemId: number;
|
|
1410
|
+
itemType: ResourceNameTypeEnum;
|
|
1411
|
+
startDate: Date;
|
|
1412
|
+
endDate: Date;
|
|
1413
|
+
price: number;
|
|
1414
|
+
overridesPrice: boolean;
|
|
1415
|
+
deletedAt?: Date;
|
|
1416
|
+
group?: EntitlementGroup;
|
|
1417
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1418
|
+
discountValue?: number;
|
|
1891
1419
|
}
|
|
1892
|
-
export declare class
|
|
1893
|
-
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1894
1424
|
}
|
|
1895
|
-
export declare class
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1425
|
+
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
|
+
price: number;
|
|
1427
|
+
paymentProcessorId: string;
|
|
1428
|
+
orderToInvoices: OrderToInvoice[];
|
|
1429
|
+
paymentStatus: PaymentStatusEnum;
|
|
1430
|
+
bondFee?: number;
|
|
1431
|
+
stripeFee?: number;
|
|
1432
|
+
currency: CurrencyEnum;
|
|
1433
|
+
payingUserId?: number;
|
|
1434
|
+
paymentMethodId?: string;
|
|
1435
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1436
|
+
fundLeft: number;
|
|
1437
|
+
notes?: string;
|
|
1438
|
+
isRefunded: boolean;
|
|
1439
|
+
lineItemHistory: LineItemHistory[];
|
|
1440
|
+
receiptUrl?: string;
|
|
1441
|
+
paymentProcessorTransactionId?: string;
|
|
1442
|
+
creatingUserId: number;
|
|
1443
|
+
shiftId: number;
|
|
1444
|
+
platform: PlatformsEnum;
|
|
1445
|
+
ccLast4: string;
|
|
1446
|
+
ccBrand: string;
|
|
1447
|
+
invoiceNotes: InvoiceNote[];
|
|
1448
|
+
parentInvoiceId?: number;
|
|
1449
|
+
refundReasonId?: number;
|
|
1450
|
+
refundNote?: string;
|
|
1902
1451
|
}
|
|
1903
|
-
export declare class
|
|
1904
|
-
|
|
1452
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1453
|
+
email: string;
|
|
1454
|
+
status: EEmailStatus;
|
|
1455
|
+
templateId: string;
|
|
1456
|
+
userId: number;
|
|
1457
|
+
invoiceId: number;
|
|
1458
|
+
paymentId: number;
|
|
1459
|
+
sendingUserId: number;
|
|
1460
|
+
mailParams?: any;
|
|
1461
|
+
memo?: string;
|
|
1905
1462
|
}
|
|
1906
|
-
export declare class
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1463
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1464
|
+
content: string;
|
|
1465
|
+
creatingUserId: number;
|
|
1466
|
+
user: User;
|
|
1467
|
+
isPublic: boolean;
|
|
1468
|
+
deletedAt: Date;
|
|
1469
|
+
invoiceId: number;
|
|
1470
|
+
invoice: Invoice;
|
|
1911
1471
|
}
|
|
1912
|
-
export declare class
|
|
1913
|
-
|
|
1472
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1473
|
+
name: string | null;
|
|
1474
|
+
description: string | null;
|
|
1475
|
+
allowBookingRequest: boolean | null;
|
|
1476
|
+
addressName: string | null;
|
|
1477
|
+
shortDescription: string | null;
|
|
1478
|
+
waiverDoc: string | null;
|
|
1479
|
+
bookingStateStatus: number | null;
|
|
1480
|
+
timezone: string | null;
|
|
1481
|
+
shortUrl: string | null;
|
|
1482
|
+
leagueType: string | null;
|
|
1483
|
+
addressId: number | null;
|
|
1484
|
+
sportConfigData: any | null;
|
|
1485
|
+
creatorId: number | null;
|
|
1486
|
+
creatorType: string | null;
|
|
1487
|
+
userCreatorId: number | null;
|
|
1488
|
+
ownerId: number | null;
|
|
1489
|
+
sports: number[] | null;
|
|
1490
|
+
mainMediaId: number | null;
|
|
1491
|
+
publishedDate: Date | null;
|
|
1492
|
+
isPublished: boolean | null;
|
|
1493
|
+
isVerified: boolean | null;
|
|
1494
|
+
questionnaireId: number | null;
|
|
1495
|
+
logo?: Media;
|
|
1496
|
+
seasons: LeagueSeason[];
|
|
1914
1497
|
}
|
|
1915
|
-
export declare class
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1498
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
1499
|
+
leagueId: number | null;
|
|
1500
|
+
name: string | null;
|
|
1501
|
+
status: number | null;
|
|
1502
|
+
startDate: Date | null;
|
|
1503
|
+
endDate: Date | null;
|
|
1504
|
+
priceEarlySingle: number | null;
|
|
1505
|
+
priceRegularSingle: number | null;
|
|
1506
|
+
priceLateSingle: number | null;
|
|
1507
|
+
priceEarlyTeam: number | null;
|
|
1508
|
+
priceRegularTeam: number | null;
|
|
1509
|
+
priceLateTeam: number | null;
|
|
1510
|
+
priceEarlyTeamMember: number | null;
|
|
1511
|
+
priceRegularTeamMember: number | null;
|
|
1512
|
+
priceLateTeamMember: number | null;
|
|
1513
|
+
priceEarlyGroup: number | null;
|
|
1514
|
+
priceRegularGroup: number | null;
|
|
1515
|
+
priceLateGroup: number | null;
|
|
1516
|
+
earlyRegistrationEnds: Date | null;
|
|
1517
|
+
regularRegistrationEnds: Date | null;
|
|
1518
|
+
lateRegistrationEnds: Date | null;
|
|
1519
|
+
registrationStatus: number | null;
|
|
1520
|
+
description: string | null;
|
|
1521
|
+
addressName: string | null;
|
|
1522
|
+
registrationOpen: Date | null;
|
|
1523
|
+
connectedSeasonId: number | null;
|
|
1524
|
+
tournamentType: boolean | null;
|
|
1525
|
+
playoffType: boolean | null;
|
|
1526
|
+
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1527
|
+
rosterStatus: string | null;
|
|
1528
|
+
metaData: any | null;
|
|
1529
|
+
inviteSendDate: Date | null;
|
|
1530
|
+
maxNumParticipants: number | null;
|
|
1531
|
+
programId: number | null;
|
|
1532
|
+
minNumParticipants: number | null;
|
|
1533
|
+
league: League;
|
|
1534
|
+
facilities: Facility[];
|
|
1535
|
+
seasonAttendees: SeasonAttendee[];
|
|
1536
|
+
purchasedResources: PurchasedResource[];
|
|
1921
1537
|
}
|
|
1922
|
-
export declare class
|
|
1923
|
-
|
|
1538
|
+
export declare class LeagueSeasonRelations {
|
|
1539
|
+
league?: boolean;
|
|
1540
|
+
facilities?: boolean;
|
|
1924
1541
|
}
|
|
1925
|
-
export declare class
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1542
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
+
orderId: number;
|
|
1544
|
+
invoiceId: number;
|
|
1545
|
+
lineItemId: number;
|
|
1546
|
+
paidAmount: number;
|
|
1547
|
+
unitPaidAmount: number;
|
|
1548
|
+
currency: CurrencyEnum;
|
|
1549
|
+
invoice: Invoice;
|
|
1550
|
+
lineItem: LineItems;
|
|
1929
1551
|
}
|
|
1930
|
-
export declare class
|
|
1552
|
+
export declare class LineItems extends BondBaseEntity {
|
|
1553
|
+
constructor();
|
|
1554
|
+
defineIsReverted(): void;
|
|
1555
|
+
isReverted: boolean;
|
|
1556
|
+
orderId: number;
|
|
1557
|
+
order: Order;
|
|
1558
|
+
lineItemsHistory: LineItemHistory[];
|
|
1559
|
+
type: LineItemsStatusEnum | null;
|
|
1560
|
+
userId: number | null;
|
|
1931
1561
|
productId: number;
|
|
1562
|
+
paymentProcessorId: string;
|
|
1563
|
+
productType: ProductTypesEnum;
|
|
1564
|
+
productUserId?: number;
|
|
1565
|
+
ordinal: number | null;
|
|
1566
|
+
entitlementGroupId?: number;
|
|
1567
|
+
entitlementGroups: EntitlementGroup;
|
|
1932
1568
|
price: number;
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1569
|
+
originalPrice?: number;
|
|
1570
|
+
paidAmount?: number;
|
|
1571
|
+
totalPaid?: number;
|
|
1572
|
+
totalQuantity?: number;
|
|
1573
|
+
totalPrice?: number;
|
|
1574
|
+
currency: CurrencyEnum;
|
|
1575
|
+
paymentStatus: PaymentStatusEnum;
|
|
1576
|
+
productSubType?: ProductSubTypesEnum;
|
|
1577
|
+
product: Product;
|
|
1578
|
+
organizationId: number;
|
|
1579
|
+
parentLineItemId?: number;
|
|
1580
|
+
taxLineItem?: LineItems;
|
|
1581
|
+
children?: LineItems[];
|
|
1582
|
+
previousPurchaseProducUserId?: number;
|
|
1583
|
+
discountDescription?: string;
|
|
1584
|
+
productUser?: ProductsUsers;
|
|
1585
|
+
resourceRedeemedForDiscount?: number;
|
|
1586
|
+
redeemableProduct: Product[];
|
|
1587
|
+
isRefunded: boolean;
|
|
1588
|
+
isPartiallyRefund: boolean;
|
|
1589
|
+
isVoided: boolean;
|
|
1590
|
+
isPartiallyVoided: boolean;
|
|
1591
|
+
wasReverted: boolean;
|
|
1592
|
+
isEdit: boolean;
|
|
1593
|
+
purchasedResources: PurchasedResource[];
|
|
1594
|
+
isTaxInclusive?: boolean;
|
|
1595
|
+
taxPrecent?: number;
|
|
1596
|
+
unitPrice?: number;
|
|
1597
|
+
quantity?: number;
|
|
1598
|
+
customerFirstName?: string;
|
|
1599
|
+
customerLastName?: string;
|
|
1600
|
+
displayFullPrice?: number;
|
|
1601
|
+
displayTotalPriceWithTax?: number;
|
|
1602
|
+
displayTotalPaid?: number;
|
|
1603
|
+
displayTotalQuantity?: number;
|
|
1604
|
+
displayUnitPrice?: number;
|
|
1605
|
+
displayQuantity?: number;
|
|
1950
1606
|
}
|
|
1951
|
-
export declare class
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1607
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
|
+
id: number;
|
|
1609
|
+
provider: string;
|
|
1610
|
+
providerId: string | null;
|
|
1611
|
+
parentId: number | null;
|
|
1612
|
+
parentType: string | null;
|
|
1613
|
+
status: number | null;
|
|
1614
|
+
token: string | null;
|
|
1615
|
+
refreshToken: string | null;
|
|
1616
|
+
tokenCreatedAt: Date | null;
|
|
1617
|
+
tokenValidUpTo: Date | null;
|
|
1618
|
+
createdAt: Date;
|
|
1619
|
+
updatedAt: Date;
|
|
1620
|
+
user: User;
|
|
1621
|
+
userId: number | null;
|
|
1956
1622
|
}
|
|
1957
|
-
export declare class
|
|
1958
|
-
|
|
1959
|
-
|
|
1623
|
+
export declare class Media extends BondBaseEntity {
|
|
1624
|
+
url: string;
|
|
1625
|
+
name: string | null;
|
|
1626
|
+
title: string | null;
|
|
1627
|
+
mediaKey: string | null;
|
|
1628
|
+
description: string | null;
|
|
1629
|
+
provider: string | null;
|
|
1630
|
+
mediaType: number;
|
|
1631
|
+
fileType: string | null;
|
|
1632
|
+
isDefault: boolean | null;
|
|
1633
|
+
creatorId: number | null;
|
|
1634
|
+
creatorType: string | null;
|
|
1635
|
+
userCreatorId: number | null;
|
|
1636
|
+
ownerId: number | null;
|
|
1637
|
+
createdBy: number | null;
|
|
1638
|
+
users: User[];
|
|
1639
|
+
programs: Program[];
|
|
1640
|
+
memberships: Membership[];
|
|
1960
1641
|
}
|
|
1961
|
-
export declare class
|
|
1642
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1962
1643
|
name: string;
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1644
|
+
description?: string;
|
|
1645
|
+
mainMedia?: Media;
|
|
1646
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1647
|
+
activity?: SportsEnum;
|
|
1648
|
+
facilityId?: number;
|
|
1649
|
+
facilityName?: string;
|
|
1650
|
+
questionnaires?: number[];
|
|
1651
|
+
minAgeYears?: number;
|
|
1652
|
+
maxAgeYears?: number;
|
|
1653
|
+
gender: GenderEnum;
|
|
1654
|
+
maxMembers?: number;
|
|
1655
|
+
maxMaleMembers?: number;
|
|
1656
|
+
maxFemaleMembers?: number;
|
|
1657
|
+
membershipType: MembershipTypeEnum;
|
|
1658
|
+
durationMonths?: number;
|
|
1659
|
+
startDate?: string;
|
|
1660
|
+
endDate?: string;
|
|
1661
|
+
registrationStartDate?: Date;
|
|
1662
|
+
registrationEndDate?: Date;
|
|
1663
|
+
package?: IPackageResponse;
|
|
1664
|
+
tags: any[];
|
|
1665
|
+
members: MembershipMember[];
|
|
1666
|
+
longDescription?: string;
|
|
1667
|
+
isAutoRenew?: boolean;
|
|
1668
|
+
purchasedResources: PurchasedResource[];
|
|
1978
1669
|
}
|
|
1979
|
-
export declare class
|
|
1980
|
-
|
|
1670
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1671
|
+
membership: Membership;
|
|
1672
|
+
membershipId: number;
|
|
1673
|
+
productUserId: number;
|
|
1674
|
+
productUser?: ProductsUsers;
|
|
1675
|
+
userId: number;
|
|
1676
|
+
membershipType: MembershipTypeEnum;
|
|
1677
|
+
durationMonths?: number;
|
|
1678
|
+
startDate?: string;
|
|
1679
|
+
endDate?: string;
|
|
1680
|
+
renewalOfMemberId?: number;
|
|
1681
|
+
isAutoRenew?: boolean;
|
|
1682
|
+
nextPaymentMethodId?: string;
|
|
1683
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1684
|
+
answerTitleIds?: number[];
|
|
1685
|
+
cancelledAt?: Date | null;
|
|
1686
|
+
cancellationReason?: string;
|
|
1687
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1688
|
+
isImported?: boolean;
|
|
1981
1689
|
}
|
|
1982
|
-
export declare class
|
|
1983
|
-
|
|
1690
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1691
|
+
email: string | null;
|
|
1692
|
+
notificationType: NotificationTypeEnum | null;
|
|
1693
|
+
resourceId: number | null;
|
|
1694
|
+
resourceType: string | null;
|
|
1984
1695
|
}
|
|
1985
|
-
export declare class
|
|
1986
|
-
|
|
1696
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1697
|
+
id: number;
|
|
1698
|
+
dayOfWeek: number;
|
|
1699
|
+
open: string;
|
|
1700
|
+
close: string;
|
|
1701
|
+
facilityId: number;
|
|
1702
|
+
createdAt: Date;
|
|
1703
|
+
updatedAt: Date;
|
|
1704
|
+
deletedAt?: Date;
|
|
1705
|
+
facility: Facility;
|
|
1987
1706
|
}
|
|
1988
|
-
export declare class
|
|
1989
|
-
|
|
1707
|
+
export declare class Order extends BondBaseEntity {
|
|
1708
|
+
orderId: string | null;
|
|
1709
|
+
price: number | null;
|
|
1710
|
+
status: OrderStatusEnum | null;
|
|
1711
|
+
sentForClientDate: Date | null;
|
|
1712
|
+
payingUserId?: number | null;
|
|
1713
|
+
orderToInvoices: OrderToInvoice[];
|
|
1714
|
+
lineItems: LineItems[];
|
|
1715
|
+
lineItemHistory: LineItemHistory[];
|
|
1716
|
+
paymentStatus: PaymentStatusEnum;
|
|
1717
|
+
paymentMethodId?: string;
|
|
1718
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1719
|
+
paidAmount: number;
|
|
1720
|
+
currency: CurrencyEnum;
|
|
1721
|
+
mainInvoiceId: number;
|
|
1722
|
+
isScheduled: boolean;
|
|
1723
|
+
isRefunded: boolean;
|
|
1724
|
+
isVoided: boolean;
|
|
1725
|
+
creatingUserId: number;
|
|
1726
|
+
shiftId: number;
|
|
1727
|
+
platform: PlatformsEnum;
|
|
1728
|
+
orderNotes: OrderNote[];
|
|
1729
|
+
slots: Slot[];
|
|
1990
1730
|
}
|
|
1991
|
-
export declare class
|
|
1992
|
-
|
|
1731
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
+
content: string;
|
|
1733
|
+
creatingUserId: number;
|
|
1734
|
+
user: User;
|
|
1735
|
+
isPublic: boolean;
|
|
1736
|
+
deletedAt: Date;
|
|
1737
|
+
orderId: number;
|
|
1738
|
+
order: Order;
|
|
1993
1739
|
}
|
|
1994
|
-
export declare class
|
|
1995
|
-
|
|
1740
|
+
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1741
|
+
orderId: number;
|
|
1742
|
+
invoiceId: number;
|
|
1743
|
+
order: Order;
|
|
1744
|
+
invoice: Invoice;
|
|
1745
|
+
paidAmount?: number;
|
|
1746
|
+
currency: CurrencyEnum;
|
|
1996
1747
|
}
|
|
1997
|
-
export declare class
|
|
1998
|
-
|
|
1999
|
-
isPunchCardUsers?: boolean;
|
|
2000
|
-
nameEmailSearch?: string;
|
|
1748
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
|
+
organizationId: number;
|
|
2001
1750
|
}
|
|
2002
|
-
export declare class
|
|
2003
|
-
|
|
2004
|
-
name: string;
|
|
2005
|
-
status: PublishingStatusEnum;
|
|
2006
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
2007
|
-
startDate: Date;
|
|
2008
|
-
endDate: Date;
|
|
1751
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
|
+
name?: string;
|
|
2009
1753
|
description?: string;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
maxFemaleParticipants?: number;
|
|
2016
|
-
maxWaitlist?: number;
|
|
2017
|
-
maxMaleWaitlist?: number;
|
|
2018
|
-
maxFemaleWaitlist?: number;
|
|
2019
|
-
facilityId?: number;
|
|
2020
|
-
addressId?: number;
|
|
2021
|
-
blockedDated?: blockedDatesDto[];
|
|
2022
|
-
activityTimes: ActivityTimesDto[];
|
|
2023
|
-
longDescription?: string;
|
|
2024
|
-
isPunchCard?: boolean;
|
|
1754
|
+
price: number;
|
|
1755
|
+
status: string;
|
|
1756
|
+
percentage: number;
|
|
1757
|
+
quantity: number;
|
|
1758
|
+
duration: number;
|
|
2025
1759
|
organizationId: number;
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
2034
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
2035
|
-
}
|
|
2036
|
-
export declare class CreateSessionScheduleDto {
|
|
2037
|
-
startDate: Date;
|
|
2038
|
-
endDate: Date;
|
|
2039
|
-
activityTimes: ActivityTimesDto[];
|
|
2040
|
-
blockedDated?: blockedDatesDto[];
|
|
2041
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
1760
|
+
creatorId: number;
|
|
1761
|
+
creatorType: string;
|
|
1762
|
+
userCreatorId: number;
|
|
1763
|
+
ownerId: number;
|
|
1764
|
+
addon: boolean;
|
|
1765
|
+
isMandatory: boolean;
|
|
1766
|
+
productId: number;
|
|
2042
1767
|
}
|
|
2043
|
-
export declare class
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
1768
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1769
|
+
token: string | null;
|
|
1770
|
+
userId: number | null;
|
|
1771
|
+
validUntil: Date | null;
|
|
1772
|
+
active: boolean | null;
|
|
2048
1773
|
}
|
|
2049
|
-
export declare class
|
|
2050
|
-
|
|
1774
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
|
+
paymentPlanId: number;
|
|
1776
|
+
paymentDate: Date;
|
|
1777
|
+
deletedAt?: Date;
|
|
1778
|
+
paymentPlan: ProductPaymentPlan;
|
|
2051
1779
|
}
|
|
2052
|
-
export declare class
|
|
2053
|
-
|
|
2054
|
-
|
|
1780
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1781
|
+
userId: number | null;
|
|
1782
|
+
ownerId: number | null;
|
|
1783
|
+
parentId: number | null;
|
|
1784
|
+
parentType: string | null;
|
|
1785
|
+
idAtProvider: string | null;
|
|
1786
|
+
providerType: number | null;
|
|
1787
|
+
providerExtraData: string | null;
|
|
1788
|
+
requestData: string | null;
|
|
1789
|
+
responseData: string | null;
|
|
1790
|
+
status: number | null;
|
|
1791
|
+
price: number | null;
|
|
1792
|
+
currency: string | null;
|
|
1793
|
+
locked: boolean | null;
|
|
1794
|
+
numberOfTries: number | null;
|
|
1795
|
+
installmentId: number | null;
|
|
1796
|
+
orderId: string | null;
|
|
2055
1797
|
}
|
|
2056
|
-
export declare class
|
|
2057
|
-
|
|
1798
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1799
|
+
productId: number;
|
|
1800
|
+
product: Product;
|
|
1801
|
+
name: string | null;
|
|
1802
|
+
price: number;
|
|
1803
|
+
currency: CurrencyEnum;
|
|
1804
|
+
paymentProcessorId: number | null;
|
|
2058
1805
|
startDate: Date;
|
|
2059
1806
|
endDate: Date;
|
|
1807
|
+
groupId?: number;
|
|
1808
|
+
groupName?: string;
|
|
1809
|
+
originalPrice?: number;
|
|
1810
|
+
deletedAt?: Date;
|
|
1811
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1812
|
+
discountValue?: number;
|
|
1813
|
+
taxIncludedPrice?: number;
|
|
2060
1814
|
}
|
|
2061
|
-
export declare class
|
|
2062
|
-
dayOfWeek: number;
|
|
2063
|
-
open: string;
|
|
2064
|
-
close: string;
|
|
2065
|
-
}
|
|
2066
|
-
export declare class ShallowUpdateProgramSeasonDto {
|
|
2067
|
-
seasonId: number;
|
|
1815
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
2068
1816
|
name: string;
|
|
1817
|
+
quantity: number;
|
|
1818
|
+
paymentProcessorId?: string;
|
|
1819
|
+
startDate?: Date;
|
|
1820
|
+
endDate?: Date;
|
|
1821
|
+
isPublic: boolean;
|
|
1822
|
+
productType?: ProductTypesEnum;
|
|
1823
|
+
GL?: string;
|
|
1824
|
+
downpayment?: number;
|
|
2069
1825
|
description?: string;
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
maxWaitlist?: number;
|
|
2075
|
-
maxMaleWaitlist?: number;
|
|
2076
|
-
maxFemaleWaitlist?: number;
|
|
2077
|
-
facilityId?: number;
|
|
2078
|
-
addressId?: number;
|
|
2079
|
-
sport?: SportsEnum;
|
|
2080
|
-
minAge?: string;
|
|
2081
|
-
maxAge?: string;
|
|
2082
|
-
gender?: GenderEnum;
|
|
2083
|
-
level?: LevelOfPlayEnum[];
|
|
1826
|
+
prices: Price[];
|
|
1827
|
+
currPrice: Price;
|
|
1828
|
+
productSubType?: ProductSubTypesEnum;
|
|
1829
|
+
punchCard: boolean;
|
|
2084
1830
|
requiredProductIds?: number[];
|
|
2085
|
-
|
|
1831
|
+
lineItems: LineItems[];
|
|
1832
|
+
resources: IResourcesAvailability[];
|
|
1833
|
+
variantParentId?: number;
|
|
1834
|
+
isAddon: boolean;
|
|
1835
|
+
isArchive: boolean;
|
|
1836
|
+
productVariants: Product[];
|
|
1837
|
+
variantParentProduct: Product;
|
|
1838
|
+
variantsObj: Variant[];
|
|
1839
|
+
variantTitlesObj: VariantTitle[];
|
|
1840
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1841
|
+
deletedAt?: Date;
|
|
1842
|
+
productsUsers: ProductsUsers[];
|
|
1843
|
+
isProRated: boolean;
|
|
1844
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1845
|
+
defaultPriceId?: number;
|
|
1846
|
+
tax: number;
|
|
1847
|
+
isTaxInclusive: boolean;
|
|
1848
|
+
defaultPrice?: Price;
|
|
1849
|
+
addOns?: IChildProduct[];
|
|
1850
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1851
|
+
productResources: ProductResource[];
|
|
1852
|
+
parentProductPackages: ProductPackage[];
|
|
1853
|
+
childProductPackages: ProductPackage[];
|
|
1854
|
+
sports?: number[] | null;
|
|
1855
|
+
durationMinutes?: number;
|
|
1856
|
+
durationDays?: number;
|
|
1857
|
+
forms?: number[] | null;
|
|
1858
|
+
isForAllCustomers?: boolean;
|
|
1859
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1860
|
+
reservedForCustomers: Customer[];
|
|
1861
|
+
reservedForMemberships: Membership[];
|
|
1862
|
+
activityTimes: ActivityTimes[];
|
|
1863
|
+
purchasedResources: PurchasedResource[];
|
|
2086
1864
|
}
|
|
2087
|
-
export declare class
|
|
2088
|
-
|
|
1865
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1866
|
+
parentProductId: number;
|
|
1867
|
+
childProductId: number;
|
|
1868
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1869
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1870
|
+
deletedAt?: Date;
|
|
1871
|
+
productResource: ProductResource;
|
|
1872
|
+
childProduct: Product;
|
|
1873
|
+
parentProduct: Product;
|
|
1874
|
+
price: number;
|
|
1875
|
+
isFlatPrice: boolean;
|
|
1876
|
+
durationMinutes?: number;
|
|
1877
|
+
durationDays?: number;
|
|
1878
|
+
level?: ProductPackageLevelEnum;
|
|
1879
|
+
}
|
|
1880
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1881
|
+
productId: number;
|
|
1882
|
+
maxMonths?: number;
|
|
1883
|
+
dayOfMonth?: number;
|
|
2089
1884
|
name: string;
|
|
1885
|
+
deletedAt?: Date;
|
|
1886
|
+
schedule: PaymentPlanSchedule[];
|
|
1887
|
+
product?: Product;
|
|
2090
1888
|
}
|
|
2091
|
-
export declare class
|
|
2092
|
-
|
|
1889
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1890
|
+
productId: number;
|
|
2093
1891
|
resourceId: number;
|
|
2094
|
-
spacesIds: number[];
|
|
2095
|
-
publicNotes?: string;
|
|
2096
|
-
privateNotes?: string;
|
|
2097
|
-
minutesBeforeSlot?: number;
|
|
2098
|
-
minutesAfterSlot?: number;
|
|
2099
|
-
}
|
|
2100
|
-
export declare class BulkSpaceResourceAllocationDto {
|
|
2101
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
2102
|
-
organizationId: number;
|
|
2103
|
-
}
|
|
2104
|
-
export declare class SingleSpaceAllocationByTimesDto {
|
|
2105
|
-
date: string;
|
|
2106
|
-
startTime: string;
|
|
2107
|
-
endTime: string;
|
|
2108
|
-
spaceId: number;
|
|
2109
|
-
publicNotes?: string;
|
|
2110
|
-
slotType?: SlotTypeEnum;
|
|
2111
|
-
}
|
|
2112
|
-
export declare class SpaceAllocationsByTimesDto {
|
|
2113
|
-
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
2114
|
-
}
|
|
2115
|
-
export declare class UpdateSeasonDatesDto {
|
|
2116
|
-
startDate: Date;
|
|
2117
|
-
endDate: Date;
|
|
2118
|
-
}
|
|
2119
|
-
export declare class MoveAttendeeDto {
|
|
2120
|
-
userId: number;
|
|
2121
1892
|
resourceType: ResourceNameTypeEnum;
|
|
2122
|
-
|
|
2123
|
-
|
|
1893
|
+
deletedAt?: Date;
|
|
1894
|
+
programSeason: ProgramSeason;
|
|
1895
|
+
event: Event;
|
|
1896
|
+
product: Product;
|
|
1897
|
+
productPackages: ProductPackage[];
|
|
1898
|
+
resourceName?: string;
|
|
2124
1899
|
}
|
|
2125
|
-
export declare class
|
|
2126
|
-
|
|
1900
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1901
|
+
productId: number;
|
|
1902
|
+
variantTitleId: number;
|
|
2127
1903
|
}
|
|
2128
|
-
export declare class
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
earlyRegistrationStartDate?: Date;
|
|
2132
|
-
earlyRegistrationEndDate?: Date;
|
|
2133
|
-
lateRegistrationStartDate?: Date;
|
|
2134
|
-
lateRegistrationEndDate?: Date;
|
|
1904
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1905
|
+
productId: number;
|
|
1906
|
+
variantId: number;
|
|
2135
1907
|
}
|
|
2136
|
-
export declare class
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
openRegistrationSpecTime?: string;
|
|
2143
|
-
productsIdsToUpdate?: number[];
|
|
1908
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1909
|
+
productId: number;
|
|
1910
|
+
customerId: number;
|
|
1911
|
+
customer: Customer;
|
|
1912
|
+
deletedAt?: Date;
|
|
1913
|
+
product: Product;
|
|
2144
1914
|
}
|
|
2145
|
-
export declare class
|
|
1915
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1916
|
+
productId: number;
|
|
2146
1917
|
userId: number;
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
1918
|
+
user?: User;
|
|
1919
|
+
paymentStatus: PaymentStatusEnum;
|
|
1920
|
+
productName: string;
|
|
1921
|
+
productPrice: number;
|
|
1922
|
+
productQuantity: number;
|
|
1923
|
+
productQuantityLeft: number;
|
|
1924
|
+
productPriceCurrency: CurrencyEnum;
|
|
1925
|
+
ordinal?: number;
|
|
1926
|
+
purchasedResources: PurchasedResource[];
|
|
1927
|
+
product: Product;
|
|
1928
|
+
lineItem: LineItems;
|
|
1929
|
+
slots?: Slot[];
|
|
1930
|
+
addons?: Addon[];
|
|
2152
1931
|
}
|
|
2153
|
-
export declare class
|
|
1932
|
+
export declare class Program extends BondBaseEntity {
|
|
1933
|
+
type: ProgramTypesEnum;
|
|
1934
|
+
name: string;
|
|
1935
|
+
sport: SportsEnum;
|
|
1936
|
+
minAge: string;
|
|
1937
|
+
maxAge: string;
|
|
1938
|
+
gender: GenderEnum;
|
|
1939
|
+
level: LevelOfPlayEnum[] | null;
|
|
1940
|
+
description: string | null;
|
|
1941
|
+
GL?: string | null;
|
|
1942
|
+
status: PublishingStatusEnum;
|
|
1943
|
+
mainMedia: Media;
|
|
2154
1944
|
organizationId: number;
|
|
2155
|
-
|
|
1945
|
+
userCreatorId: number;
|
|
1946
|
+
programHighlights: ProgramHighlights[];
|
|
1947
|
+
linkSEO: string;
|
|
1948
|
+
longDescription?: string;
|
|
1949
|
+
requiredProductIds: number[] | null;
|
|
1950
|
+
deletedAt?: Date;
|
|
1951
|
+
programSeason: ProgramSeason[];
|
|
1952
|
+
purchasedResources: PurchasedResource[];
|
|
2156
1953
|
}
|
|
2157
|
-
export declare class
|
|
2158
|
-
|
|
1954
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1955
|
+
type: ProgramHighlightTypeEnum;
|
|
1956
|
+
ordinal: number | null;
|
|
1957
|
+
title: string | null;
|
|
1958
|
+
data: any | null;
|
|
1959
|
+
program: Program;
|
|
1960
|
+
deletedAt?: Date;
|
|
2159
1961
|
}
|
|
2160
|
-
export declare class
|
|
1962
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
2161
1963
|
programId: number;
|
|
2162
|
-
organizationId: number;
|
|
2163
|
-
}
|
|
2164
|
-
export declare class BaseProgramDto {
|
|
2165
|
-
type: ProgramTypesEnum;
|
|
2166
1964
|
name: string;
|
|
1965
|
+
description: string | null;
|
|
1966
|
+
GL?: string | null;
|
|
1967
|
+
status: PublishingStatusEnum;
|
|
1968
|
+
startDate: Date;
|
|
1969
|
+
endDate: Date;
|
|
1970
|
+
registrationStartDate: Date | null;
|
|
1971
|
+
registrationEndDate: Date | null;
|
|
1972
|
+
questionnaires: number[] | null;
|
|
1973
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
1974
|
+
parentSeasonId: number | null;
|
|
1975
|
+
maxParticipants: number | null;
|
|
1976
|
+
maxMaleParticipants: number | null;
|
|
1977
|
+
maxFemaleParticipants: number | null;
|
|
1978
|
+
maxWaitlist: number | null;
|
|
1979
|
+
maxMaleWaitlist: number | null;
|
|
1980
|
+
maxFemaleWaitlist: number | null;
|
|
1981
|
+
organizationId: number;
|
|
1982
|
+
facilityId: number | null;
|
|
1983
|
+
facilityName?: string;
|
|
1984
|
+
addressId: number | null;
|
|
2167
1985
|
sport: SportsEnum;
|
|
2168
1986
|
minAge: string;
|
|
2169
1987
|
maxAge: string;
|
|
2170
1988
|
gender: GenderEnum;
|
|
2171
|
-
level
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
1989
|
+
level: LevelOfPlayEnum[] | null;
|
|
1990
|
+
blockedDated: BlockedDate[];
|
|
1991
|
+
seasonAttendees: SeasonAttendee[];
|
|
1992
|
+
products: Product[];
|
|
1993
|
+
linkSEO: string;
|
|
1994
|
+
address: Address;
|
|
1995
|
+
defaultProductId?: number;
|
|
2178
1996
|
longDescription?: string;
|
|
2179
|
-
|
|
1997
|
+
isPunchCard?: boolean;
|
|
1998
|
+
deletedAt?: Date;
|
|
1999
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2000
|
+
program: Program;
|
|
2001
|
+
spaces?: Resource[];
|
|
2002
|
+
earlyRegistrationStartDate?: Date;
|
|
2003
|
+
earlyRegistrationEndDate?: Date;
|
|
2004
|
+
lateRegistrationStartDate?: Date;
|
|
2005
|
+
lateRegistrationEndDate?: Date;
|
|
2006
|
+
requiredProductIds?: number[];
|
|
2007
|
+
registrationConstraints?: RegistrationConstraint;
|
|
2008
|
+
sessionSegments: ProgramSeason[];
|
|
2009
|
+
sessionEvents: Event[];
|
|
2010
|
+
parentSession: ProgramSeason;
|
|
2011
|
+
activityTimes: ActivityTimes[];
|
|
2012
|
+
productResources: ProductResource[];
|
|
2013
|
+
facility: Facility;
|
|
2014
|
+
purchasedResources: PurchasedResource[];
|
|
2180
2015
|
}
|
|
2181
|
-
export declare class
|
|
2016
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2017
|
+
productUserId: number;
|
|
2018
|
+
resourceId: number;
|
|
2019
|
+
resourceType: ResourceNameTypeEnum;
|
|
2020
|
+
status: PurchasedResourceStatusEnum;
|
|
2021
|
+
startDate?: string;
|
|
2022
|
+
startTime?: string;
|
|
2023
|
+
endDate?: string;
|
|
2024
|
+
endTime?: string;
|
|
2025
|
+
productUser?: ProductsUsers;
|
|
2026
|
+
lineItem?: LineItems;
|
|
2027
|
+
eventAttendee?: EventAttendee;
|
|
2028
|
+
seasonAttendee?: SeasonAttendee;
|
|
2029
|
+
leagueAttendee?: SeasonPool;
|
|
2030
|
+
membership?: Membership;
|
|
2031
|
+
program?: Program;
|
|
2032
|
+
programSeason?: ProgramSeason;
|
|
2033
|
+
leagueSeason?: LeagueSeason;
|
|
2034
|
+
space?: Resource;
|
|
2035
|
+
product?: Product;
|
|
2036
|
+
event?: Event;
|
|
2182
2037
|
}
|
|
2183
|
-
export declare class
|
|
2184
|
-
|
|
2185
|
-
|
|
2038
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2039
|
+
title: string | null;
|
|
2040
|
+
answerTitle: AnswerTitle;
|
|
2186
2041
|
}
|
|
2187
|
-
export declare class
|
|
2188
|
-
|
|
2189
|
-
|
|
2042
|
+
export declare class Questions extends BondBaseEntity {
|
|
2043
|
+
questionType: string | null;
|
|
2044
|
+
ordinal: number | null;
|
|
2045
|
+
pageOrdinal: number | null;
|
|
2046
|
+
isActive: boolean | null;
|
|
2047
|
+
isMandatory: boolean | null;
|
|
2048
|
+
metaData: any | null;
|
|
2049
|
+
question: string | null;
|
|
2050
|
+
creatorId: number | null;
|
|
2051
|
+
creatorType: string | null;
|
|
2052
|
+
userCreatorId: number | null;
|
|
2053
|
+
ownerId: number | null;
|
|
2054
|
+
questionnaireId: number | null;
|
|
2190
2055
|
}
|
|
2191
|
-
export declare class
|
|
2192
|
-
|
|
2056
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2057
|
+
reason: string;
|
|
2193
2058
|
ordinal: number;
|
|
2194
|
-
|
|
2195
|
-
title: string;
|
|
2196
|
-
}
|
|
2197
|
-
export declare class PurchasePaymentDto {
|
|
2198
|
-
token: string;
|
|
2199
|
-
type: PaymentMethodTypeEnum;
|
|
2059
|
+
deletedAt: Date;
|
|
2200
2060
|
}
|
|
2201
|
-
export declare class
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2061
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2062
|
+
resourceType: ResourceNameTypeEnum;
|
|
2063
|
+
resourceId: number;
|
|
2064
|
+
openNumDays?: number;
|
|
2065
|
+
openNumMinutes?: number;
|
|
2066
|
+
openTime?: string;
|
|
2067
|
+
closeNumDays?: number;
|
|
2068
|
+
closeNumMinutes?: number;
|
|
2069
|
+
closeTime?: string;
|
|
2070
|
+
deletedAt?: Date;
|
|
2211
2071
|
}
|
|
2212
|
-
export declare class
|
|
2213
|
-
|
|
2072
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2073
|
+
name?: string;
|
|
2074
|
+
description?: string;
|
|
2075
|
+
color?: string;
|
|
2076
|
+
status?: string;
|
|
2077
|
+
privacySetting?: string;
|
|
2078
|
+
reservationType?: string;
|
|
2079
|
+
orderId?: string;
|
|
2214
2080
|
customerId?: number;
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2081
|
+
length?: number;
|
|
2082
|
+
price?: number;
|
|
2083
|
+
sessions?: number;
|
|
2084
|
+
percentage?: number;
|
|
2085
|
+
paymentStatus?: number;
|
|
2086
|
+
paymentId?: number;
|
|
2087
|
+
startTime?: string;
|
|
2088
|
+
dayOfWeek?: number;
|
|
2089
|
+
resourcePackageId?: number;
|
|
2090
|
+
resourcePackageAmount?: number;
|
|
2091
|
+
startDate?: Date;
|
|
2092
|
+
endDate?: Date;
|
|
2093
|
+
originalReservationId?: number;
|
|
2094
|
+
creatorId?: number;
|
|
2095
|
+
creatorType?: string;
|
|
2096
|
+
userCreatorId?: number;
|
|
2097
|
+
ownerId?: number;
|
|
2098
|
+
sportType?: number;
|
|
2099
|
+
participantType?: string;
|
|
2100
|
+
deletedAt?: Date;
|
|
2101
|
+
publicNotes?: string;
|
|
2102
|
+
slots?: Slot[];
|
|
2228
2103
|
}
|
|
2229
|
-
export declare class
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2104
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2105
|
+
name: string;
|
|
2106
|
+
resourceType: ResourceTypeEnum;
|
|
2107
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2108
|
+
description?: string;
|
|
2109
|
+
longDescription?: string;
|
|
2110
|
+
surface?: SurfacesEnum;
|
|
2111
|
+
properties?: SpacePropertiesEnum[];
|
|
2112
|
+
mainMediaId?: number;
|
|
2113
|
+
mainMedia: Media;
|
|
2114
|
+
sports: SportsEnum[];
|
|
2115
|
+
width?: number;
|
|
2116
|
+
length?: number;
|
|
2117
|
+
amenities?: AmenitiesEnum[];
|
|
2118
|
+
parentSpaceId?: number;
|
|
2235
2119
|
ordinal?: number;
|
|
2236
|
-
|
|
2237
|
-
|
|
2120
|
+
isAddOn: boolean;
|
|
2121
|
+
ages?: ResourceAgesEnum;
|
|
2122
|
+
deletedAt?: Date;
|
|
2123
|
+
activityTimes: ActivityTimes[];
|
|
2124
|
+
facilities: Facility[];
|
|
2125
|
+
slots?: Slot[];
|
|
2126
|
+
addons?: Addon[];
|
|
2127
|
+
facilityId: number;
|
|
2128
|
+
facility: Facility;
|
|
2129
|
+
purchasedResources: PurchasedResource[];
|
|
2130
|
+
linkSEO: string;
|
|
2238
2131
|
}
|
|
2239
|
-
export declare class
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
shiftId?: number;
|
|
2132
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2133
|
+
name: string;
|
|
2134
|
+
facilityId: number;
|
|
2135
|
+
parentSlotId: number;
|
|
2136
|
+
childrenSlotIds: number[];
|
|
2137
|
+
deletedAt?: Date;
|
|
2246
2138
|
}
|
|
2247
|
-
export declare class
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2139
|
+
export declare class School extends BondBaseEntity {
|
|
2140
|
+
name: string | null;
|
|
2141
|
+
alias: string[] | null;
|
|
2142
|
+
addressId: number | null;
|
|
2143
|
+
website: string | null;
|
|
2144
|
+
phone: string | null;
|
|
2145
|
+
dataId: number | null;
|
|
2252
2146
|
}
|
|
2253
|
-
export declare class
|
|
2254
|
-
|
|
2147
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2148
|
+
status: RequestStatusEnum;
|
|
2149
|
+
paymentStatus: PaymentStatusEnum;
|
|
2150
|
+
paymentId?: number;
|
|
2151
|
+
productId?: number;
|
|
2152
|
+
attendeeId: number;
|
|
2153
|
+
attendee: User;
|
|
2154
|
+
seasonId: number;
|
|
2155
|
+
season: ProgramSeason;
|
|
2156
|
+
productUserId?: number;
|
|
2157
|
+
answerTitleIds?: number[];
|
|
2158
|
+
deletedAt?: Date;
|
|
2159
|
+
purchasedResource: PurchasedResource;
|
|
2255
2160
|
}
|
|
2256
|
-
export declare class
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2161
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2162
|
+
name: string | null;
|
|
2163
|
+
ordinal: number | null;
|
|
2164
|
+
seasonId: number | null;
|
|
2165
|
+
color: string | null;
|
|
2166
|
+
}
|
|
2167
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2168
|
+
seasonId?: number;
|
|
2169
|
+
userId?: number;
|
|
2170
|
+
status?: number;
|
|
2171
|
+
entityId?: number;
|
|
2172
|
+
entityType?: string;
|
|
2173
|
+
groupId?: string;
|
|
2174
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2175
|
+
metadata?: any;
|
|
2176
|
+
paymentId?: number;
|
|
2177
|
+
externalAssign?: boolean;
|
|
2178
|
+
productUserId?: number;
|
|
2179
|
+
purchasedResource: PurchasedResource;
|
|
2180
|
+
season: LeagueSeason;
|
|
2260
2181
|
}
|
|
2261
|
-
export declare class
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2182
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2183
|
+
seasonId: number | null;
|
|
2184
|
+
teamId: number | null;
|
|
2185
|
+
standingPosition: number | null;
|
|
2186
|
+
statistics: any | null;
|
|
2187
|
+
points: number | null;
|
|
2188
|
+
divisionId: number | null;
|
|
2189
|
+
metaData: any | null;
|
|
2190
|
+
team: Team;
|
|
2266
2191
|
}
|
|
2267
|
-
export declare class
|
|
2192
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2193
|
+
blockingSpaceId: number;
|
|
2194
|
+
blockedSpaceId: number;
|
|
2195
|
+
}
|
|
2196
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2268
2197
|
name: string;
|
|
2269
|
-
parentSlotId: number;
|
|
2270
2198
|
facilityId: number;
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
}
|
|
2279
|
-
export declare class SpaceByIdDto {
|
|
2280
|
-
spaceId: number;
|
|
2199
|
+
processorTerminalId: string | null;
|
|
2200
|
+
terminaLabel: string | null;
|
|
2201
|
+
processorSerialNumber: string | null;
|
|
2202
|
+
currentOpenShift?: Shift;
|
|
2203
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2204
|
+
subcategories: Subcategory[];
|
|
2205
|
+
shifts?: Shift[];
|
|
2281
2206
|
}
|
|
2282
|
-
export declare class
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
properties: SpacePropertiesEnum;
|
|
2290
|
-
width?: number;
|
|
2291
|
-
length?: number;
|
|
2292
|
-
surface?: SurfacesEnum;
|
|
2293
|
-
ages?: ResourceAgesEnum;
|
|
2294
|
-
amenities: number[];
|
|
2295
|
-
activityTimes: BasicActivityTimesDto[];
|
|
2296
|
-
facilitiesIds: number[];
|
|
2297
|
-
resourceGroupId?: number;
|
|
2298
|
-
blockedResourcesIds?: number[];
|
|
2207
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2208
|
+
stationId: number;
|
|
2209
|
+
subcategoryId: number;
|
|
2210
|
+
productType: ProductTypesEnum;
|
|
2211
|
+
deletedAt?: Date;
|
|
2212
|
+
station: Station;
|
|
2213
|
+
subcategory: Subcategory;
|
|
2299
2214
|
}
|
|
2300
|
-
export declare class
|
|
2215
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2216
|
+
productType: ProductTypesEnum;
|
|
2301
2217
|
name: string;
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
}
|
|
2307
|
-
export declare class UpdateSpacePropertiesDto {
|
|
2308
|
-
properties: SpacePropertiesEnum;
|
|
2309
|
-
width?: number;
|
|
2310
|
-
length?: number;
|
|
2311
|
-
surface?: SurfacesEnum;
|
|
2312
|
-
ages?: ResourceAgesEnum;
|
|
2218
|
+
ordinal?: number;
|
|
2219
|
+
deletedAt?: Date;
|
|
2220
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2221
|
+
stations: Station[];
|
|
2313
2222
|
}
|
|
2314
|
-
export declare class
|
|
2315
|
-
|
|
2223
|
+
export declare class Team extends BondBaseEntity {
|
|
2224
|
+
name: string | null;
|
|
2225
|
+
description: string | null;
|
|
2226
|
+
status: number | null;
|
|
2227
|
+
capacity: number | null;
|
|
2228
|
+
allowNewMembers: boolean | null;
|
|
2229
|
+
membersCanInvite: boolean | null;
|
|
2230
|
+
inviteOnly: boolean | null;
|
|
2231
|
+
logoId: number | null;
|
|
2232
|
+
addressId: number | null;
|
|
2233
|
+
price: number | null;
|
|
2234
|
+
private: boolean | null;
|
|
2235
|
+
returnOverride: boolean | null;
|
|
2236
|
+
organizationId: number | null;
|
|
2237
|
+
whoCanJoin: TeamCanJoinEnum | null;
|
|
2238
|
+
whoCanInvite: string | null;
|
|
2239
|
+
metadata: any | null;
|
|
2240
|
+
externalId: string | null;
|
|
2241
|
+
paymentSettings: any | null;
|
|
2242
|
+
isClaimed: boolean | null;
|
|
2243
|
+
creatorId: number | null;
|
|
2244
|
+
creatorType: string | null;
|
|
2245
|
+
userCreatorId: number | null;
|
|
2246
|
+
ownerId: number | null;
|
|
2247
|
+
mainMediaId: number | null;
|
|
2248
|
+
publishedDate: Date | null;
|
|
2249
|
+
isPublished: boolean | null;
|
|
2250
|
+
levelOfPlay: number[] | null;
|
|
2251
|
+
sports: number | null;
|
|
2252
|
+
minAge: number | null;
|
|
2253
|
+
maxAge: number | null;
|
|
2254
|
+
gender: number | null;
|
|
2255
|
+
questionnaireId: number | null;
|
|
2316
2256
|
}
|
|
2317
|
-
export declare class
|
|
2318
|
-
|
|
2319
|
-
|
|
2257
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2258
|
+
email: string;
|
|
2259
|
+
teamId: number;
|
|
2260
|
+
invitedUserId?: number;
|
|
2261
|
+
userCreatorId: number;
|
|
2262
|
+
token: string;
|
|
2263
|
+
tokenExpirationDate: Date;
|
|
2264
|
+
isUsed: boolean;
|
|
2320
2265
|
}
|
|
2321
|
-
export declare class
|
|
2322
|
-
|
|
2323
|
-
|
|
2266
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2267
|
+
teamId: number | null;
|
|
2268
|
+
userId: number | null;
|
|
2269
|
+
paymentId: number | null;
|
|
2270
|
+
hasPaid: boolean | null;
|
|
2271
|
+
status: TeamMemberStatusEnum | null;
|
|
2272
|
+
role: TeamMemberRoleEnum;
|
|
2273
|
+
user: User;
|
|
2324
2274
|
}
|
|
2325
|
-
export declare class
|
|
2326
|
-
|
|
2327
|
-
|
|
2275
|
+
export declare class User extends BondBaseEntity {
|
|
2276
|
+
firstName: string | null;
|
|
2277
|
+
lastName: string | null;
|
|
2278
|
+
email: string | null;
|
|
2279
|
+
phoneNumber: string | null;
|
|
2280
|
+
about: string | null;
|
|
2281
|
+
password: string | null;
|
|
2282
|
+
passwordResetToken: string | null;
|
|
2283
|
+
passwordResetExpires: Date | null;
|
|
2284
|
+
status: string | null;
|
|
2285
|
+
pushNotifications: boolean | null;
|
|
2286
|
+
notificationSettings: any | null;
|
|
2287
|
+
addressId: number | null;
|
|
2288
|
+
address: Address;
|
|
2289
|
+
currentAddressId: number | null;
|
|
2290
|
+
merchantId: number | null;
|
|
2291
|
+
loginToken: string | null;
|
|
2292
|
+
gender: GenderEnum | null;
|
|
2293
|
+
height: number | null;
|
|
2294
|
+
weight: number | null;
|
|
2295
|
+
birthDate: Date | null;
|
|
2296
|
+
lastLogin: Date | null;
|
|
2297
|
+
lastInteractionDay: Date | null;
|
|
2298
|
+
createAsId: number | null;
|
|
2299
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
2300
|
+
motto: string | null;
|
|
2301
|
+
privateProfile: boolean | null;
|
|
2302
|
+
allowMultiSignHack: boolean | null;
|
|
2303
|
+
deletedAt: Date | null;
|
|
2304
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2305
|
+
athlete: Athlete;
|
|
2306
|
+
eventAttendees: EventAttendee[];
|
|
2307
|
+
seasonAttendees: SeasonAttendee[];
|
|
2308
|
+
linkedAccounts: LinkedAccounts[];
|
|
2309
|
+
profilePicture: Media;
|
|
2310
|
+
usersRoles: UserRole[];
|
|
2311
|
+
orderNotes: OrderNote[];
|
|
2312
|
+
invoiceNotes: InvoiceNote[];
|
|
2328
2313
|
}
|
|
2329
|
-
export declare class
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2314
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2315
|
+
entityId: number | null;
|
|
2316
|
+
userId: number | null;
|
|
2317
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2318
|
+
user: User;
|
|
2334
2319
|
}
|
|
2335
|
-
export declare class
|
|
2320
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2321
|
+
groupId: number;
|
|
2336
2322
|
userId: number;
|
|
2323
|
+
deletedAt?: Date;
|
|
2337
2324
|
}
|
|
2338
|
-
export declare class
|
|
2339
|
-
|
|
2340
|
-
|
|
2325
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2326
|
+
name: string;
|
|
2327
|
+
variants: Variant[];
|
|
2341
2328
|
}
|
|
2342
|
-
export declare class
|
|
2329
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2330
|
+
familyAccountId: number;
|
|
2343
2331
|
userId: number;
|
|
2332
|
+
isAdmin: boolean;
|
|
2333
|
+
user: User;
|
|
2334
|
+
familyAccount: FamilyAccount;
|
|
2335
|
+
deletedAt?: Date;
|
|
2344
2336
|
}
|
|
2345
|
-
export declare class
|
|
2346
|
-
|
|
2337
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2338
|
+
name: string;
|
|
2339
|
+
variantTitleId: number;
|
|
2340
|
+
variantTitle: VariantTitle;
|
|
2341
|
+
deletedAt?: Date;
|
|
2347
2342
|
}
|
|
2348
|
-
export declare class
|
|
2349
|
-
|
|
2343
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2344
|
+
projectToken: string;
|
|
2345
|
+
programTypesCollectionId?: string;
|
|
2346
|
+
programTagsCollectionId?: string;
|
|
2347
|
+
sportsCollectionId?: string;
|
|
2348
|
+
membershipCollectionId?: string;
|
|
2349
|
+
programsCollectionId?: string;
|
|
2350
2350
|
}
|
|
2351
2351
|
export declare enum EntitlementTermsTypesEnum {
|
|
2352
2352
|
QUESTION = "question",
|
|
@@ -3356,6 +3356,10 @@ export declare class ImportedReservationDto {
|
|
|
3356
3356
|
slots?: ImportedSlotDto[];
|
|
3357
3357
|
addons?: ImportedSlotProductDto[];
|
|
3358
3358
|
}
|
|
3359
|
+
export declare class Lock extends BondBaseEntity {
|
|
3360
|
+
name: string;
|
|
3361
|
+
locked?: Date;
|
|
3362
|
+
}
|
|
3359
3363
|
export declare class GameSlots extends BondBaseEntity {
|
|
3360
3364
|
entityType: string;
|
|
3361
3365
|
entityId: number;
|
|
@@ -3392,10 +3396,6 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3392
3396
|
eventId: number | null;
|
|
3393
3397
|
status: number | null;
|
|
3394
3398
|
}
|
|
3395
|
-
export declare class Lock extends BondBaseEntity {
|
|
3396
|
-
name: string;
|
|
3397
|
-
locked?: Date;
|
|
3398
|
-
}
|
|
3399
3399
|
export interface ValidatedMonthAndDay {
|
|
3400
3400
|
valid: boolean;
|
|
3401
3401
|
month?: number;
|
|
@@ -4404,6 +4404,16 @@ export interface EditSlotsData {
|
|
|
4404
4404
|
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4405
4405
|
refundResult?: RefundResult;
|
|
4406
4406
|
}
|
|
4407
|
+
export declare class ChangeRolePermissionsDto {
|
|
4408
|
+
permissionIds: number[];
|
|
4409
|
+
}
|
|
4410
|
+
export declare class CreateRoleDto {
|
|
4411
|
+
name: string;
|
|
4412
|
+
}
|
|
4413
|
+
export declare class Permission extends BondBaseEntity {
|
|
4414
|
+
name: string;
|
|
4415
|
+
deletedAt?: Date;
|
|
4416
|
+
}
|
|
4407
4417
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4408
4418
|
name: string;
|
|
4409
4419
|
deletedAt?: Date;
|
|
@@ -4417,19 +4427,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4417
4427
|
role: Role;
|
|
4418
4428
|
user: User;
|
|
4419
4429
|
}
|
|
4420
|
-
export declare class Permission extends BondBaseEntity {
|
|
4421
|
-
name: string;
|
|
4422
|
-
deletedAt?: Date;
|
|
4423
|
-
}
|
|
4424
|
-
export declare class ChangeRolePermissionsDto {
|
|
4425
|
-
permissionIds: number[];
|
|
4426
|
-
}
|
|
4427
|
-
export declare class CreateRoleDto {
|
|
4428
|
-
name: string;
|
|
4429
|
-
}
|
|
4430
4430
|
export declare class CloseShiftDto {
|
|
4431
4431
|
closingCashAmount: number;
|
|
4432
4432
|
}
|
|
4433
|
+
export declare class FindShiftsByIdsDto {
|
|
4434
|
+
shiftIds: number[];
|
|
4435
|
+
}
|
|
4433
4436
|
export declare class FindShiftsFiltersDto {
|
|
4434
4437
|
statuses?: string;
|
|
4435
4438
|
stationIds?: string;
|
|
@@ -4450,9 +4453,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4450
4453
|
startDate?: Date;
|
|
4451
4454
|
endDate?: Date;
|
|
4452
4455
|
}
|
|
4453
|
-
export declare class FindShiftsByIdsDto {
|
|
4454
|
-
shiftIds: number[];
|
|
4455
|
-
}
|
|
4456
4456
|
export declare class ShiftManagementClosingAmount {
|
|
4457
4457
|
shiftId: number;
|
|
4458
4458
|
managementClosingCashAmount: number;
|