@bondsports/types 0.0.72 → 0.0.75
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 +2400 -2132
- 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;
|
|
41
|
-
}
|
|
42
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
43
|
-
questionnaireId: number;
|
|
44
|
-
userId?: number;
|
|
45
|
-
answers: Answer[];
|
|
46
|
-
questionnaire: Questionnaires;
|
|
47
|
-
}
|
|
48
|
-
export declare class Athlete extends BondBaseEntity {
|
|
49
|
-
userId: number | null;
|
|
50
|
-
metadata: object | null;
|
|
51
|
-
athleteSports: AthleteSports[];
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
52
11
|
}
|
|
53
|
-
export declare class
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
54
13
|
questionId: number;
|
|
55
|
-
|
|
56
|
-
parentId: number;
|
|
57
|
-
parentType: ResourceNameTypeEnum;
|
|
58
|
-
answerValue: any;
|
|
59
|
-
creatorId: number;
|
|
60
|
-
creatorType: ResourceNameTypeEnum;
|
|
61
|
-
answerTitleId: number;
|
|
62
|
-
answerTitle: AnswerTitle;
|
|
63
|
-
metaData: any | null;
|
|
64
|
-
questionText: string | null;
|
|
14
|
+
value: any;
|
|
65
15
|
}
|
|
66
|
-
export declare class
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
70
19
|
}
|
|
71
|
-
export declare class
|
|
72
|
-
|
|
73
|
-
entityId: number;
|
|
74
|
-
name: string;
|
|
75
|
-
startDate: Date;
|
|
76
|
-
endDate: Date;
|
|
77
|
-
deletedAt?: Date;
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
78
22
|
}
|
|
79
|
-
export declare class
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
83
29
|
}
|
|
84
|
-
export declare class
|
|
85
|
-
|
|
86
|
-
color?: string;
|
|
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;
|
|
30
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
+
membershipId: number;
|
|
101
32
|
}
|
|
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;
|
|
33
|
+
export declare class ImportProductsFromDB {
|
|
34
|
+
buDate: string;
|
|
111
35
|
}
|
|
112
|
-
export declare class
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
value: string;
|
|
36
|
+
export declare class ImportCustomerFromCSV {
|
|
37
|
+
fileName: string;
|
|
38
|
+
startIndex?: number;
|
|
116
39
|
}
|
|
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;
|
|
40
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
+
resolveInvoices: string;
|
|
128
42
|
}
|
|
129
|
-
export declare class
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
userId: number;
|
|
133
|
-
invoiceId: number;
|
|
134
|
-
orderId: number;
|
|
135
|
-
creditPaymentInvoiceId: number;
|
|
43
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
+
membershipId: number;
|
|
45
|
+
onlyDashIds: string;
|
|
136
46
|
}
|
|
137
|
-
export declare class
|
|
138
|
-
|
|
139
|
-
entityId: number | null;
|
|
140
|
-
addressId: number | null;
|
|
141
|
-
entityType: CustomerTypeEnum | null;
|
|
142
|
-
customerId: string | null;
|
|
143
|
-
email: string | null;
|
|
144
|
-
color: string | null;
|
|
145
|
-
phoneNumber: string | null;
|
|
146
|
-
mainMediaId: number | null;
|
|
147
|
-
creatorId: number | null;
|
|
148
|
-
creatorType: ResourceNameTypeEnum | null;
|
|
149
|
-
userCreatorId: number | null;
|
|
150
|
-
ownerId: number | null;
|
|
151
|
-
vetted: boolean | null;
|
|
152
|
-
firstName: string | null;
|
|
153
|
-
lastName: string | null;
|
|
154
|
-
waiverSignedDate: string | null;
|
|
155
|
-
balance: number | null;
|
|
156
|
-
storedCredit: number;
|
|
157
|
-
members: (User & Customer)[];
|
|
158
|
-
emergencyContacts: EmergencyContact[];
|
|
159
|
-
customerNotes: CustomerNote[];
|
|
160
|
-
customerCreditTransactions: CustomerCreditTransaction[];
|
|
161
|
-
productsReservedFor: ProductsReservedForCustomers[];
|
|
162
|
-
mainMedia: Media;
|
|
163
|
-
reservations?: Reservation[];
|
|
47
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
+
facilityId: number;
|
|
164
49
|
}
|
|
165
|
-
export declare class
|
|
50
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
166
51
|
customerId: number;
|
|
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;
|
|
176
52
|
}
|
|
177
|
-
export declare class
|
|
178
|
-
|
|
53
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
+
nameSearch?: string;
|
|
55
|
+
fuzzy?: string;
|
|
56
|
+
customerType?: CustomerTypeEnum;
|
|
57
|
+
customersIds?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare class AddCustomerNotesDto {
|
|
60
|
+
customerNotes: CustomerNoteDto[];
|
|
61
|
+
}
|
|
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
|
-
name: string
|
|
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;
|
|
199
104
|
}
|
|
200
|
-
export declare class
|
|
201
|
-
|
|
202
|
-
terms: IEntitlementTerms[];
|
|
105
|
+
export declare class AddEventToSessionDto {
|
|
106
|
+
eventsData: UpdateEventDto[];
|
|
203
107
|
}
|
|
204
|
-
export declare class
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
venueName: string | null;
|
|
214
|
-
status: EventStatusEnum;
|
|
215
|
-
private: boolean | null;
|
|
216
|
-
guestsCanInvite: boolean | null;
|
|
217
|
-
venueId: number | null;
|
|
218
|
-
addressId: number | null;
|
|
219
|
-
participantsLimit: number | null;
|
|
220
|
-
parentId: number | null;
|
|
221
|
-
parentType: string | null;
|
|
222
|
-
timezone: string | null;
|
|
223
|
-
eventSubType: string | null;
|
|
224
|
-
eventSubId: number | null;
|
|
225
|
-
metaData: any | null;
|
|
226
|
-
groupingId: string | null;
|
|
227
|
-
redirectUri: string | null;
|
|
228
|
-
externalId: string | null;
|
|
229
|
-
paymentSettings: any | null;
|
|
230
|
-
whoCanJoin: string | null;
|
|
231
|
-
spaceId?: number;
|
|
232
|
-
bookedSessionId: number | null;
|
|
233
|
-
creatorId: number | null;
|
|
234
|
-
creatorType: string | null;
|
|
235
|
-
userCreatorId: number | null;
|
|
236
|
-
ownerId: number | null;
|
|
237
|
-
sports: number[] | null;
|
|
238
|
-
isVerified: boolean | null;
|
|
239
|
-
mainMediaId: number | null;
|
|
240
|
-
minAge: number | null;
|
|
241
|
-
maxAge: number | null;
|
|
242
|
-
gender: number | null;
|
|
243
|
-
questionnaireId: number | null;
|
|
244
|
-
eventAttendees: EventAttendee[];
|
|
245
|
-
deletedAt?: Date;
|
|
246
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
247
|
-
startDateString: string;
|
|
248
|
-
endDateString: string;
|
|
249
|
-
startTime: string;
|
|
250
|
-
endTime: string;
|
|
108
|
+
export declare class EventsIdsQueryDto {
|
|
109
|
+
eventsIds: string;
|
|
110
|
+
}
|
|
111
|
+
export declare class UpdateMultipleEventsDto {
|
|
112
|
+
eventsIds: number[];
|
|
113
|
+
name?: string;
|
|
114
|
+
startTime?: string;
|
|
115
|
+
endTime?: string;
|
|
116
|
+
spacesIds?: number[];
|
|
251
117
|
publicNotes?: string;
|
|
252
118
|
privateNotes?: string;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
slots: Slot[];
|
|
257
|
-
purchasedResources: PurchasedResource[];
|
|
119
|
+
isInformAttendees?: boolean;
|
|
120
|
+
minutesBeforeSlot?: number;
|
|
121
|
+
minutesAfterSlot?: number;
|
|
258
122
|
}
|
|
259
|
-
export declare class
|
|
260
|
-
|
|
261
|
-
description?: string;
|
|
262
|
-
addressId: number;
|
|
263
|
-
address: Address;
|
|
264
|
-
amenities?: number[];
|
|
265
|
-
timezone: string;
|
|
266
|
-
creatorId: number;
|
|
267
|
-
creatorType: string;
|
|
268
|
-
userCreatorId: number;
|
|
269
|
-
mainMediaId: number;
|
|
270
|
-
mainMedia: Media;
|
|
271
|
-
publishedDate?: Date;
|
|
272
|
-
isPublished: boolean;
|
|
273
|
-
sports?: number[];
|
|
274
|
-
info?: string;
|
|
275
|
-
longDescription?: string;
|
|
276
|
-
deletedAt?: Date;
|
|
277
|
-
openingTimes: OpeningTime[];
|
|
278
|
-
resources: Resource[];
|
|
279
|
-
spaces: Resource[];
|
|
280
|
-
programSeasons: ProgramSeason[];
|
|
281
|
-
linkSEO: string;
|
|
123
|
+
export declare class FindByFacilityIdDto {
|
|
124
|
+
facilityId: number;
|
|
282
125
|
}
|
|
283
|
-
export declare class
|
|
284
|
-
|
|
285
|
-
hasPaid: boolean | null;
|
|
286
|
-
paymentId: number | null;
|
|
287
|
-
attendeeId: number;
|
|
288
|
-
eventId?: number | null;
|
|
289
|
-
productUserId?: number;
|
|
290
|
-
answerTitleIds?: number[];
|
|
291
|
-
entryStatus?: EntryStatusEnum;
|
|
292
|
-
addonProductUserIds?: number[];
|
|
293
|
-
deletedAt?: Date;
|
|
294
|
-
attendee: User;
|
|
295
|
-
event: Event;
|
|
296
|
-
purchasedResource: PurchasedResource;
|
|
126
|
+
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
127
|
+
organizationId: number;
|
|
297
128
|
}
|
|
298
|
-
export declare class
|
|
299
|
-
|
|
300
|
-
|
|
129
|
+
export declare class FacilityEventsScheduleQueryParams {
|
|
130
|
+
programsIds?: string;
|
|
131
|
+
startDate?: string;
|
|
132
|
+
endDate?: string;
|
|
301
133
|
}
|
|
302
|
-
export declare class
|
|
303
|
-
|
|
304
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
134
|
+
export declare class ProgramLandingPageDto {
|
|
135
|
+
programId: number;
|
|
305
136
|
}
|
|
306
|
-
export declare class
|
|
307
|
-
|
|
308
|
-
orderId: number;
|
|
309
|
-
paymentMethodId: string;
|
|
310
|
-
paymentType: PaymentMethodTypeEnum;
|
|
311
|
-
price: number;
|
|
312
|
-
status: FutureInstallmentStatusEnum;
|
|
313
|
-
plannedDate: Date;
|
|
314
|
-
chargedAt?: Date;
|
|
137
|
+
export declare class ProgramLandingPageQueryDto {
|
|
138
|
+
futureLimit?: number;
|
|
315
139
|
}
|
|
316
|
-
export declare class
|
|
317
|
-
|
|
140
|
+
export declare class ProgramSessionLandingPageDto {
|
|
141
|
+
programId: number;
|
|
142
|
+
sessionId: number;
|
|
318
143
|
}
|
|
319
|
-
export
|
|
144
|
+
export interface IEventOfSessionDetails {
|
|
145
|
+
id: number;
|
|
320
146
|
name: string;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
maxAgeYears?: number;
|
|
327
|
-
gender: GenderEnum;
|
|
328
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
329
|
-
sports: SportsEnum[];
|
|
330
|
-
questionnaires?: number[];
|
|
331
|
-
captainUserId?: number;
|
|
332
|
-
members: ISeasonAttendeeInfo[];
|
|
333
|
-
users: User[];
|
|
334
|
-
}
|
|
335
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
336
|
-
groupId: number;
|
|
337
|
-
itemId: number;
|
|
338
|
-
itemType: ResourceNameTypeEnum;
|
|
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
|
-
|
|
154
|
+
startTime: string;
|
|
155
|
+
endTime: string;
|
|
156
|
+
resources: IBasicSpaceAndSlotCreator[];
|
|
157
|
+
attenedanceCount: number;
|
|
158
|
+
checkedInCount: number;
|
|
159
|
+
missingPaymentCount: number;
|
|
160
|
+
publicNotes: string;
|
|
161
|
+
privateNotes: string;
|
|
347
162
|
}
|
|
348
|
-
export
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
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;
|
|
352
172
|
paymentStatus: PaymentStatusEnum;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
notes?: string;
|
|
361
|
-
isRefunded: boolean;
|
|
362
|
-
lineItemHistory: LineItemHistory[];
|
|
363
|
-
receiptUrl?: string;
|
|
364
|
-
paymentProcessorTransactionId?: string;
|
|
365
|
-
creatingUserId: number;
|
|
366
|
-
shiftId: number;
|
|
367
|
-
platform: PlatformsEnum;
|
|
368
|
-
ccLast4: string;
|
|
369
|
-
ccBrand: string;
|
|
370
|
-
invoiceNotes: InvoiceNote[];
|
|
371
|
-
parentInvoiceId?: number;
|
|
372
|
-
refundReasonId?: number;
|
|
373
|
-
refundNote?: string;
|
|
173
|
+
addOns: {
|
|
174
|
+
productId: number;
|
|
175
|
+
productName: string;
|
|
176
|
+
}[];
|
|
177
|
+
totalPasses?: number;
|
|
178
|
+
leftPasses?: number;
|
|
179
|
+
addonProductUserIds: number[];
|
|
374
180
|
}
|
|
375
|
-
export declare class
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
sendingUserId: number;
|
|
383
|
-
mailParams?: any;
|
|
384
|
-
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;
|
|
385
188
|
}
|
|
386
|
-
export declare class
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
189
|
+
export declare class AddressDto {
|
|
190
|
+
city: string;
|
|
191
|
+
state: string;
|
|
192
|
+
country: string;
|
|
193
|
+
geo: number[];
|
|
390
194
|
}
|
|
391
|
-
export declare class
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
isPublic: boolean;
|
|
396
|
-
deletedAt: Date;
|
|
397
|
-
invoiceId: number;
|
|
398
|
-
invoice: Invoice;
|
|
195
|
+
export declare class OpeningTimeDto {
|
|
196
|
+
open: string;
|
|
197
|
+
close: string;
|
|
198
|
+
dayOfWeek: number;
|
|
399
199
|
}
|
|
400
|
-
export declare class
|
|
401
|
-
name: string | null;
|
|
402
|
-
description: string | null;
|
|
403
|
-
allowBookingRequest: boolean | null;
|
|
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[];
|
|
425
|
-
}
|
|
426
|
-
export declare class LeagueSeason extends BondBaseEntity {
|
|
427
|
-
leagueId: number | null;
|
|
428
|
-
name: string | null;
|
|
429
|
-
status: number | null;
|
|
430
|
-
startDate: Date | null;
|
|
431
|
-
endDate: Date | null;
|
|
432
|
-
priceEarlySingle: number | null;
|
|
433
|
-
priceRegularSingle: number | null;
|
|
434
|
-
priceLateSingle: number | null;
|
|
435
|
-
priceEarlyTeam: number | null;
|
|
436
|
-
priceRegularTeam: number | null;
|
|
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[];
|
|
465
|
-
}
|
|
466
|
-
export declare class LeagueSeasonRelations {
|
|
467
|
-
league?: boolean;
|
|
468
|
-
facilities?: boolean;
|
|
469
|
-
}
|
|
470
|
-
export declare class LineItems extends BondBaseEntity {
|
|
471
|
-
constructor();
|
|
472
|
-
defineIsReverted(): void;
|
|
473
|
-
isReverted: boolean;
|
|
474
|
-
orderId: number;
|
|
475
|
-
order: Order;
|
|
476
|
-
lineItemsHistory: LineItemHistory[];
|
|
477
|
-
type: LineItemsStatusEnum | null;
|
|
478
|
-
userId: number | null;
|
|
479
|
-
productId: number;
|
|
480
|
-
paymentProcessorId: string;
|
|
481
|
-
productType: ProductTypesEnum;
|
|
482
|
-
productUserId?: number;
|
|
483
|
-
ordinal: number | null;
|
|
484
|
-
entitlementGroupId?: number;
|
|
485
|
-
entitlementGroups: EntitlementGroup;
|
|
486
|
-
price: number;
|
|
487
|
-
originalPrice?: number;
|
|
488
|
-
paidAmount?: number;
|
|
489
|
-
totalPaid?: number;
|
|
490
|
-
totalQuantity?: number;
|
|
491
|
-
totalPrice?: number;
|
|
492
|
-
currency: CurrencyEnum;
|
|
493
|
-
paymentStatus: PaymentStatusEnum;
|
|
494
|
-
productSubType?: ProductSubTypesEnum;
|
|
495
|
-
product: Product;
|
|
496
|
-
organizationId: number;
|
|
497
|
-
parentLineItemId?: number;
|
|
498
|
-
taxLineItem?: LineItems;
|
|
499
|
-
children?: LineItems[];
|
|
500
|
-
previousPurchaseProducUserId?: number;
|
|
501
|
-
discountDescription?: string;
|
|
502
|
-
productUser?: ProductsUsers;
|
|
503
|
-
resourceRedeemedForDiscount?: number;
|
|
504
|
-
redeemableProduct: Product[];
|
|
505
|
-
isRefunded: boolean;
|
|
506
|
-
isPartiallyRefund: boolean;
|
|
507
|
-
isVoided: boolean;
|
|
508
|
-
isPartiallyVoided: boolean;
|
|
509
|
-
wasReverted: boolean;
|
|
510
|
-
isEdit: boolean;
|
|
511
|
-
purchasedResources: PurchasedResource[];
|
|
512
|
-
isTaxInclusive?: boolean;
|
|
513
|
-
taxPrecent?: number;
|
|
514
|
-
unitPrice?: number;
|
|
515
|
-
quantity?: number;
|
|
516
|
-
customerFirstName?: string;
|
|
517
|
-
customerLastName?: string;
|
|
518
|
-
displayFullPrice?: number;
|
|
519
|
-
displayTotalPriceWithTax?: number;
|
|
520
|
-
displayTotalPaid?: number;
|
|
521
|
-
displayTotalQuantity?: number;
|
|
522
|
-
displayUnitPrice?: number;
|
|
523
|
-
displayQuantity?: number;
|
|
524
|
-
}
|
|
525
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
526
|
-
orderId: number;
|
|
527
|
-
invoiceId: number;
|
|
528
|
-
lineItemId: number;
|
|
529
|
-
paidAmount: number;
|
|
530
|
-
unitPaidAmount: number;
|
|
531
|
-
currency: CurrencyEnum;
|
|
532
|
-
invoice: Invoice;
|
|
533
|
-
lineItem: LineItems;
|
|
534
|
-
}
|
|
535
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
536
|
-
id: number;
|
|
537
|
-
provider: string;
|
|
538
|
-
providerId: string | null;
|
|
539
|
-
parentId: number | null;
|
|
540
|
-
parentType: string | null;
|
|
541
|
-
status: number | null;
|
|
542
|
-
token: string | null;
|
|
543
|
-
refreshToken: string | null;
|
|
544
|
-
tokenCreatedAt: Date | null;
|
|
545
|
-
tokenValidUpTo: Date | null;
|
|
546
|
-
createdAt: Date;
|
|
547
|
-
updatedAt: Date;
|
|
548
|
-
user: User;
|
|
549
|
-
userId: number | null;
|
|
550
|
-
}
|
|
551
|
-
export declare class Media extends BondBaseEntity {
|
|
552
|
-
url: string;
|
|
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[];
|
|
569
|
-
}
|
|
570
|
-
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
571
|
-
name: string;
|
|
572
|
-
description?: string;
|
|
573
|
-
mainMedia?: Media;
|
|
574
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
575
|
-
activity?: SportsEnum;
|
|
576
|
-
facilityId?: number;
|
|
577
|
-
facilityName?: string;
|
|
578
|
-
questionnaires?: number[];
|
|
579
|
-
minAgeYears?: number;
|
|
580
|
-
maxAgeYears?: number;
|
|
581
|
-
gender: GenderEnum;
|
|
582
|
-
maxMembers?: number;
|
|
583
|
-
maxMaleMembers?: number;
|
|
584
|
-
maxFemaleMembers?: number;
|
|
585
|
-
membershipType: MembershipTypeEnum;
|
|
586
|
-
durationMonths?: number;
|
|
587
|
-
startDate?: string;
|
|
588
|
-
endDate?: string;
|
|
589
|
-
registrationStartDate?: Date;
|
|
590
|
-
registrationEndDate?: Date;
|
|
591
|
-
package?: IPackageResponse;
|
|
592
|
-
tags: any[];
|
|
593
|
-
members: MembershipMember[];
|
|
594
|
-
longDescription?: string;
|
|
595
|
-
isAutoRenew?: boolean;
|
|
596
|
-
purchasedResources: PurchasedResource[];
|
|
597
|
-
}
|
|
598
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
599
|
-
membership: Membership;
|
|
600
|
-
membershipId: number;
|
|
601
|
-
productUserId: number;
|
|
602
|
-
productUser?: ProductsUsers;
|
|
603
|
-
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
|
-
}
|
|
618
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
619
|
-
email: string | null;
|
|
620
|
-
notificationType: NotificationTypeEnum | null;
|
|
621
|
-
resourceId: number | null;
|
|
622
|
-
resourceType: string | null;
|
|
623
|
-
}
|
|
624
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
625
|
-
id: number;
|
|
626
|
-
dayOfWeek: number;
|
|
627
|
-
open: string;
|
|
628
|
-
close: string;
|
|
629
|
-
facilityId: number;
|
|
630
|
-
createdAt: Date;
|
|
631
|
-
updatedAt: Date;
|
|
632
|
-
deletedAt?: Date;
|
|
633
|
-
facility: Facility;
|
|
634
|
-
}
|
|
635
|
-
export declare class Order extends BondBaseEntity {
|
|
636
|
-
orderId: string | null;
|
|
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[];
|
|
658
|
-
}
|
|
659
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
660
|
-
content: string;
|
|
661
|
-
creatingUserId: number;
|
|
662
|
-
user: User;
|
|
663
|
-
isPublic: boolean;
|
|
664
|
-
deletedAt: Date;
|
|
665
|
-
orderId: number;
|
|
666
|
-
order: Order;
|
|
667
|
-
}
|
|
668
|
-
export declare class OrderToInvoice extends BondBaseEntity {
|
|
669
|
-
orderId: number;
|
|
670
|
-
invoiceId: number;
|
|
671
|
-
order: Order;
|
|
672
|
-
invoice: Invoice;
|
|
673
|
-
paidAmount?: number;
|
|
674
|
-
currency: CurrencyEnum;
|
|
675
|
-
}
|
|
676
|
-
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
677
|
-
organizationId: number;
|
|
678
|
-
}
|
|
679
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
680
|
-
token: string | null;
|
|
681
|
-
userId: number | null;
|
|
682
|
-
validUntil: Date | null;
|
|
683
|
-
active: boolean | null;
|
|
684
|
-
}
|
|
685
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
686
|
-
paymentPlanId: number;
|
|
687
|
-
paymentDate: Date;
|
|
688
|
-
deletedAt?: Date;
|
|
689
|
-
paymentPlan: ProductPaymentPlan;
|
|
690
|
-
}
|
|
691
|
-
export declare class PackageV1 extends BondBaseEntity {
|
|
692
|
-
name?: string;
|
|
693
|
-
description?: string;
|
|
694
|
-
price: number;
|
|
695
|
-
status: string;
|
|
696
|
-
percentage: number;
|
|
697
|
-
quantity: number;
|
|
698
|
-
duration: number;
|
|
699
|
-
organizationId: number;
|
|
700
|
-
creatorId: number;
|
|
701
|
-
creatorType: string;
|
|
702
|
-
userCreatorId: number;
|
|
703
|
-
ownerId: number;
|
|
704
|
-
addon: boolean;
|
|
705
|
-
isMandatory: boolean;
|
|
706
|
-
productId: number;
|
|
707
|
-
}
|
|
708
|
-
export declare class PaymentV1 extends BondBaseEntity {
|
|
709
|
-
userId: number | null;
|
|
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;
|
|
725
|
-
}
|
|
726
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
727
|
-
productId: number;
|
|
728
|
-
product: Product;
|
|
729
|
-
name: string | null;
|
|
730
|
-
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 {
|
|
200
|
+
export declare class CreateFacilityDto {
|
|
744
201
|
name: string;
|
|
745
|
-
|
|
746
|
-
paymentProcessorId?: string;
|
|
747
|
-
startDate?: Date;
|
|
748
|
-
endDate?: Date;
|
|
749
|
-
isPublic: boolean;
|
|
750
|
-
productType?: ProductTypesEnum;
|
|
751
|
-
GL?: string;
|
|
752
|
-
downpayment?: number;
|
|
202
|
+
sports: number[];
|
|
753
203
|
description?: string;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
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[];
|
|
204
|
+
longDescription?: string;
|
|
205
|
+
info?: string;
|
|
206
|
+
address: AddressDto;
|
|
207
|
+
timezone: string;
|
|
208
|
+
amenities: number[];
|
|
209
|
+
openingTimes: OpeningTimeDto[];
|
|
210
|
+
resourcesIds?: number[];
|
|
792
211
|
}
|
|
793
|
-
export declare class
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
childProduct: Product;
|
|
801
|
-
parentProduct: Product;
|
|
802
|
-
price: number;
|
|
803
|
-
isFlatPrice: boolean;
|
|
804
|
-
durationMinutes?: number;
|
|
805
|
-
durationDays?: number;
|
|
806
|
-
level?: ProductPackageLevelEnum;
|
|
212
|
+
export declare class UpdateFacilityDetailsDto {
|
|
213
|
+
name?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
longDescription?: string;
|
|
216
|
+
info?: string;
|
|
217
|
+
address?: AddressDto;
|
|
218
|
+
timezone?: string;
|
|
807
219
|
}
|
|
808
|
-
export declare class
|
|
809
|
-
|
|
810
|
-
maxMonths?: number;
|
|
811
|
-
dayOfMonth?: number;
|
|
812
|
-
name: string;
|
|
813
|
-
deletedAt?: Date;
|
|
814
|
-
schedule: PaymentPlanSchedule[];
|
|
815
|
-
product?: Product;
|
|
220
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
+
openingTimes: OpeningTimeDto[];
|
|
816
222
|
}
|
|
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;
|
|
223
|
+
export declare class UpdateFacilitySportsDto {
|
|
224
|
+
sports: number[];
|
|
827
225
|
}
|
|
828
|
-
export declare class
|
|
829
|
-
|
|
830
|
-
variantTitleId: number;
|
|
226
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
+
amenities: number[];
|
|
831
228
|
}
|
|
832
|
-
export declare class
|
|
833
|
-
|
|
834
|
-
variantId: number;
|
|
229
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
+
nameSearch?: string;
|
|
835
231
|
}
|
|
836
|
-
export declare class
|
|
837
|
-
productId: number;
|
|
232
|
+
export declare class FindFamilyAccountsDto {
|
|
838
233
|
userId: number;
|
|
839
|
-
user?: User;
|
|
840
|
-
paymentStatus: PaymentStatusEnum;
|
|
841
|
-
productName: string;
|
|
842
|
-
productPrice: number;
|
|
843
|
-
productQuantity: number;
|
|
844
|
-
productQuantityLeft: number;
|
|
845
|
-
productPriceCurrency: CurrencyEnum;
|
|
846
|
-
ordinal?: number;
|
|
847
|
-
purchasedResources: PurchasedResource[];
|
|
848
|
-
product: Product;
|
|
849
|
-
lineItem: LineItems;
|
|
850
|
-
slots?: Slot[];
|
|
851
|
-
addons?: Addon[];
|
|
852
234
|
}
|
|
853
|
-
export declare class
|
|
854
|
-
|
|
855
|
-
name: string;
|
|
856
|
-
sport: SportsEnum;
|
|
857
|
-
minAge: string;
|
|
858
|
-
maxAge: string;
|
|
859
|
-
gender: GenderEnum;
|
|
860
|
-
level: LevelOfPlayEnum[] | null;
|
|
861
|
-
description: string | null;
|
|
862
|
-
GL?: string | null;
|
|
863
|
-
status: PublishingStatusEnum;
|
|
864
|
-
mainMedia: Media;
|
|
235
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
+
customerId: number;
|
|
865
237
|
organizationId: number;
|
|
866
|
-
userCreatorId: number;
|
|
867
|
-
programHighlights: ProgramHighlights[];
|
|
868
|
-
linkSEO: string;
|
|
869
|
-
longDescription?: string;
|
|
870
|
-
requiredProductIds: number[] | null;
|
|
871
|
-
deletedAt?: Date;
|
|
872
|
-
programSeason: ProgramSeason[];
|
|
873
|
-
purchasedResources: PurchasedResource[];
|
|
874
238
|
}
|
|
875
|
-
export declare class
|
|
876
|
-
|
|
877
|
-
customerId: number;
|
|
878
|
-
customer: Customer;
|
|
879
|
-
deletedAt?: Date;
|
|
880
|
-
product: Product;
|
|
239
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
+
familyAccountId: number;
|
|
881
241
|
}
|
|
882
|
-
export declare class
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
title: string | null;
|
|
886
|
-
data: any | null;
|
|
887
|
-
program: Program;
|
|
888
|
-
deletedAt?: Date;
|
|
242
|
+
export declare class CreateFamilyAccountDto {
|
|
243
|
+
familyName: string;
|
|
244
|
+
userId: number;
|
|
889
245
|
}
|
|
890
|
-
export declare class
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
registrationEndDate: Date | null;
|
|
900
|
-
questionnaires: number[] | null;
|
|
901
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
902
|
-
parentSeasonId: number | null;
|
|
903
|
-
maxParticipants: number | null;
|
|
904
|
-
maxMaleParticipants: number | null;
|
|
905
|
-
maxFemaleParticipants: number | null;
|
|
906
|
-
maxWaitlist: number | null;
|
|
907
|
-
maxMaleWaitlist: number | null;
|
|
908
|
-
maxFemaleWaitlist: number | null;
|
|
909
|
-
organizationId: number;
|
|
910
|
-
facilityId: number | null;
|
|
911
|
-
facilityName?: string;
|
|
912
|
-
addressId: number | null;
|
|
913
|
-
sport: SportsEnum;
|
|
914
|
-
minAge: string;
|
|
915
|
-
maxAge: string;
|
|
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;
|
|
916
255
|
gender: GenderEnum;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
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;
|
|
934
|
-
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[];
|
|
256
|
+
birthDate: string;
|
|
257
|
+
sports?: number[];
|
|
258
|
+
email?: string;
|
|
943
259
|
}
|
|
944
|
-
export declare class
|
|
945
|
-
|
|
946
|
-
|
|
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;
|
|
260
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
+
userId: number;
|
|
262
|
+
familyAccountId: number;
|
|
965
263
|
}
|
|
966
|
-
export declare class
|
|
967
|
-
|
|
968
|
-
answerTitle: AnswerTitle;
|
|
264
|
+
export declare class FindOneParams {
|
|
265
|
+
id: number;
|
|
969
266
|
}
|
|
970
|
-
export declare class
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
pageOrdinal: number | null;
|
|
974
|
-
isActive: boolean | null;
|
|
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;
|
|
267
|
+
export declare class PaginationQuery {
|
|
268
|
+
page: number;
|
|
269
|
+
itemsPerPage: number;
|
|
983
270
|
}
|
|
984
|
-
export declare class
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
271
|
+
export declare class PaginationRangeQuery {
|
|
272
|
+
startPage: number;
|
|
273
|
+
endPage: number;
|
|
274
|
+
itemsPerPage: number;
|
|
988
275
|
}
|
|
989
|
-
export declare class
|
|
990
|
-
|
|
991
|
-
resourceId: number;
|
|
992
|
-
openNumDays?: number;
|
|
993
|
-
openNumMinutes?: number;
|
|
994
|
-
openTime?: string;
|
|
995
|
-
closeNumDays?: number;
|
|
996
|
-
closeNumMinutes?: number;
|
|
997
|
-
closeTime?: string;
|
|
998
|
-
deletedAt?: Date;
|
|
276
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
+
organizationId: number;
|
|
999
278
|
}
|
|
1000
|
-
export declare class
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
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[];
|
|
279
|
+
export declare class GetGlCodeDto {
|
|
280
|
+
id: number;
|
|
281
|
+
organizationId: number;
|
|
282
|
+
code: string;
|
|
283
|
+
createdAt: Date;
|
|
284
|
+
updatedAt: Date;
|
|
1031
285
|
}
|
|
1032
|
-
export declare class
|
|
286
|
+
export declare class FindByProgramSeasonIdDto {
|
|
287
|
+
seasonId: number;
|
|
288
|
+
}
|
|
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 {
|
|
1033
300
|
name: string;
|
|
1034
|
-
resourceType: ResourceTypeEnum;
|
|
1035
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
1036
301
|
description?: string;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
properties?: SpacePropertiesEnum[];
|
|
302
|
+
status?: GroupStatusEnum;
|
|
303
|
+
maxCapacity?: number;
|
|
1040
304
|
mainMediaId?: number;
|
|
1041
|
-
|
|
305
|
+
minAgeYears?: number;
|
|
306
|
+
maxAgeYears?: number;
|
|
307
|
+
gender: GenderEnum;
|
|
308
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1042
309
|
sports: SportsEnum[];
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
parentSpaceId?: number;
|
|
1047
|
-
ordinal?: number;
|
|
1048
|
-
isAddOn: boolean;
|
|
1049
|
-
ages?: ResourceAgesEnum;
|
|
1050
|
-
deletedAt?: Date;
|
|
1051
|
-
activityTimes: ActivityTimes[];
|
|
1052
|
-
facilities: Facility[];
|
|
1053
|
-
slots?: Slot[];
|
|
1054
|
-
addons?: Addon[];
|
|
1055
|
-
facilityId: number;
|
|
1056
|
-
facility: Facility;
|
|
1057
|
-
purchasedResources: PurchasedResource[];
|
|
1058
|
-
linkSEO: string;
|
|
310
|
+
questionnaires?: number[];
|
|
311
|
+
captainUserId?: number;
|
|
312
|
+
divisionId?: number;
|
|
1059
313
|
}
|
|
1060
|
-
export declare class
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
childrenSlotIds: number[];
|
|
1065
|
-
deletedAt?: Date;
|
|
314
|
+
export declare class ConnectGroupToDivision {
|
|
315
|
+
groupId: number;
|
|
316
|
+
divisionId: number;
|
|
317
|
+
prevDivisionId: number;
|
|
1066
318
|
}
|
|
1067
|
-
export declare class
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
productId?: number;
|
|
1072
|
-
attendeeId: number;
|
|
1073
|
-
attendee: User;
|
|
1074
|
-
seasonId: number;
|
|
1075
|
-
season: ProgramSeason;
|
|
1076
|
-
productUserId?: number;
|
|
1077
|
-
answerTitleIds?: number[];
|
|
1078
|
-
deletedAt?: Date;
|
|
1079
|
-
purchasedResource: PurchasedResource;
|
|
319
|
+
export declare class MoveUserInGroups {
|
|
320
|
+
userId: number;
|
|
321
|
+
groupId?: number;
|
|
322
|
+
prevGroupId?: number;
|
|
1080
323
|
}
|
|
1081
|
-
export declare class
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
seasonId: number | null;
|
|
1085
|
-
color: string | null;
|
|
324
|
+
export declare class SaveUserAsGroupCaptain {
|
|
325
|
+
groupId: number;
|
|
326
|
+
userId: number;
|
|
1086
327
|
}
|
|
1087
|
-
export declare class
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
addressId: number | null;
|
|
1091
|
-
website: string | null;
|
|
1092
|
-
phone: string | null;
|
|
1093
|
-
dataId: number | null;
|
|
328
|
+
export declare class CreateTeamInviteDto {
|
|
329
|
+
emails: string[];
|
|
330
|
+
userCreatorId: number;
|
|
1094
331
|
}
|
|
1095
|
-
export declare class
|
|
1096
|
-
|
|
1097
|
-
userId?: number;
|
|
1098
|
-
status?: number;
|
|
1099
|
-
entityId?: number;
|
|
1100
|
-
entityType?: string;
|
|
1101
|
-
groupId?: string;
|
|
1102
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
1103
|
-
metadata?: any;
|
|
1104
|
-
paymentId?: number;
|
|
1105
|
-
externalAssign?: boolean;
|
|
1106
|
-
productUserId?: number;
|
|
1107
|
-
purchasedResource: PurchasedResource;
|
|
1108
|
-
season: LeagueSeason;
|
|
332
|
+
export declare class TeamByIdDto {
|
|
333
|
+
teamId: number;
|
|
1109
334
|
}
|
|
1110
|
-
export declare class
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
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;
|
|
1119
344
|
}
|
|
1120
|
-
export
|
|
1121
|
-
|
|
1122
|
-
|
|
345
|
+
export interface IMoveSeason {
|
|
346
|
+
fromSeasonId: number;
|
|
347
|
+
toSeasonId: number;
|
|
1123
348
|
}
|
|
1124
|
-
export declare class
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
currentOpenShift?: Shift;
|
|
1131
|
-
stationToSubcategories: StationToSubcategory[];
|
|
1132
|
-
subcategories: Subcategory[];
|
|
1133
|
-
shifts?: Shift[];
|
|
349
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
350
|
+
teamId?: number;
|
|
351
|
+
memberId?: number;
|
|
352
|
+
fromSeasonId: number;
|
|
353
|
+
toSeasonId: number;
|
|
354
|
+
toDivisionId?: number;
|
|
1134
355
|
}
|
|
1135
|
-
export declare class
|
|
1136
|
-
|
|
1137
|
-
subcategoryId: number;
|
|
1138
|
-
productType: ProductTypesEnum;
|
|
1139
|
-
deletedAt?: Date;
|
|
1140
|
-
station: Station;
|
|
1141
|
-
subcategory: Subcategory;
|
|
356
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
357
|
+
fileName: string;
|
|
1142
358
|
}
|
|
1143
|
-
export declare class
|
|
1144
|
-
|
|
359
|
+
export declare class CreateMembershipDto {
|
|
360
|
+
organizationId: number;
|
|
1145
361
|
name: string;
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
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;
|
|
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;
|
|
372
|
+
maxFemaleMembers?: number;
|
|
373
|
+
startDate: string;
|
|
374
|
+
endDate: string;
|
|
375
|
+
registrationStartDate?: Date;
|
|
376
|
+
registrationEndDate?: Date;
|
|
377
|
+
membershipType: MembershipTypeEnum;
|
|
378
|
+
durationMonths: number;
|
|
379
|
+
longDescription?: string;
|
|
380
|
+
isAutoRenew?: boolean;
|
|
1184
381
|
}
|
|
1185
|
-
export declare class
|
|
1186
|
-
|
|
1187
|
-
teamId: number;
|
|
1188
|
-
invitedUserId?: number;
|
|
1189
|
-
userCreatorId: number;
|
|
1190
|
-
token: string;
|
|
1191
|
-
tokenExpirationDate: Date;
|
|
1192
|
-
isUsed: boolean;
|
|
382
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
383
|
+
id: number;
|
|
1193
384
|
}
|
|
1194
|
-
export declare class
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
paymentId: number | null;
|
|
1198
|
-
hasPaid: boolean | null;
|
|
1199
|
-
status: TeamMemberStatusEnum | null;
|
|
1200
|
-
role: TeamMemberRoleEnum;
|
|
1201
|
-
user: User;
|
|
385
|
+
export declare class UpdateMembershipMediaDto {
|
|
386
|
+
membershipId: number;
|
|
387
|
+
mediaId: number;
|
|
1202
388
|
}
|
|
1203
|
-
export declare class
|
|
1204
|
-
|
|
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[];
|
|
389
|
+
export declare class FindMembershipByIdDto {
|
|
390
|
+
membershipId: number;
|
|
1241
391
|
}
|
|
1242
|
-
export declare class
|
|
1243
|
-
|
|
1244
|
-
userId: number | null;
|
|
1245
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
1246
|
-
user: User;
|
|
392
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
393
|
+
organizationId: number;
|
|
1247
394
|
}
|
|
1248
|
-
export declare class
|
|
1249
|
-
familyAccountId: number;
|
|
395
|
+
export declare class FindMembershipsByUserIdDto {
|
|
1250
396
|
userId: number;
|
|
1251
|
-
isAdmin: boolean;
|
|
1252
|
-
user: User;
|
|
1253
|
-
familyAccount: FamilyAccount;
|
|
1254
|
-
deletedAt?: Date;
|
|
1255
397
|
}
|
|
1256
|
-
export declare class
|
|
1257
|
-
|
|
1258
|
-
userId: number;
|
|
1259
|
-
deletedAt?: Date;
|
|
398
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
399
|
+
startDate: string;
|
|
1260
400
|
}
|
|
1261
|
-
export declare class
|
|
1262
|
-
|
|
1263
|
-
variants: Variant[];
|
|
401
|
+
export declare class MembershipIdsDto {
|
|
402
|
+
membershipIds?: number[];
|
|
1264
403
|
}
|
|
1265
|
-
export declare class
|
|
1266
|
-
|
|
1267
|
-
variantTitleId: number;
|
|
1268
|
-
variantTitle: VariantTitle;
|
|
1269
|
-
deletedAt?: Date;
|
|
404
|
+
export declare class MemberIdDto {
|
|
405
|
+
memberId?: number;
|
|
1270
406
|
}
|
|
1271
|
-
export declare class
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
programTagsCollectionId?: string;
|
|
1275
|
-
sportsCollectionId?: string;
|
|
1276
|
-
membershipCollectionId?: string;
|
|
1277
|
-
programsCollectionId?: string;
|
|
407
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
408
|
+
nameEmailSearch?: string;
|
|
409
|
+
pastMemberships?: string;
|
|
1278
410
|
}
|
|
1279
|
-
export declare class
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
open: string;
|
|
1283
|
-
availabilityStartDate?: string;
|
|
1284
|
-
availabilityEndDate?: string;
|
|
411
|
+
export declare class CancelMembershipDto {
|
|
412
|
+
isImmediatelyCancel: boolean;
|
|
413
|
+
cancellationReason?: string;
|
|
1285
414
|
}
|
|
1286
|
-
export declare class
|
|
1287
|
-
|
|
1288
|
-
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
416
|
+
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
1289
419
|
}
|
|
1290
|
-
export declare class
|
|
1291
|
-
|
|
1292
|
-
answers: QuestionAnswersDto[];
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
1293
422
|
}
|
|
1294
|
-
export declare class
|
|
1295
|
-
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
1296
426
|
}
|
|
1297
|
-
export declare class
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
1298
428
|
organizationId: number;
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
434
|
+
}
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
438
|
+
}
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
|
+
name: string;
|
|
441
|
+
}
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
445
|
+
}
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
448
|
+
}
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
451
|
+
price: number;
|
|
452
|
+
startDate?: Date;
|
|
453
|
+
endDate?: Date;
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1303
456
|
}
|
|
1304
|
-
export declare class
|
|
1305
|
-
|
|
457
|
+
export declare class FindByProductIdDto {
|
|
458
|
+
productId: number;
|
|
1306
459
|
}
|
|
1307
|
-
export declare class
|
|
1308
|
-
|
|
460
|
+
export declare class FindPriceOfProductDto {
|
|
461
|
+
id: number;
|
|
462
|
+
userId: number;
|
|
463
|
+
resources: ResourceDto[];
|
|
1309
464
|
}
|
|
1310
|
-
export declare class
|
|
1311
|
-
|
|
1312
|
-
|
|
465
|
+
export declare class FindPricesOfProductsDto {
|
|
466
|
+
products: FindPriceOfProductDto[];
|
|
467
|
+
answers: UserAnswersDto[];
|
|
1313
468
|
}
|
|
1314
|
-
export declare class
|
|
1315
|
-
|
|
469
|
+
export declare class FindPackageByResourceDto {
|
|
470
|
+
resourceType: ResourceNameTypeEnum;
|
|
471
|
+
resourceId: number;
|
|
1316
472
|
}
|
|
1317
|
-
export declare class
|
|
1318
|
-
|
|
1319
|
-
onlyDashIds: string;
|
|
473
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
474
|
+
organizationId: number;
|
|
1320
475
|
}
|
|
1321
|
-
export declare class
|
|
1322
|
-
|
|
476
|
+
export declare class CreateProductsDto {
|
|
477
|
+
products: CreateProductDto[];
|
|
478
|
+
addOnsData?: ProductInPackage[];
|
|
479
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
1323
480
|
}
|
|
1324
|
-
export declare class
|
|
1325
|
-
|
|
481
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
+
name: string;
|
|
1326
483
|
}
|
|
1327
|
-
export declare class
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
484
|
+
export declare class CreateProductDto {
|
|
485
|
+
id?: number;
|
|
486
|
+
organizationId: number;
|
|
487
|
+
name: string;
|
|
488
|
+
quantity?: number;
|
|
489
|
+
isPublic: boolean;
|
|
490
|
+
startDate?: Date;
|
|
491
|
+
endDate?: Date;
|
|
492
|
+
description?: string;
|
|
493
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
+
resourcesIdsToApplyOn?: number[];
|
|
495
|
+
GL?: string;
|
|
496
|
+
prices: CreatePriceDto[];
|
|
497
|
+
downpayment?: number;
|
|
498
|
+
productType: ProductTypesEnum;
|
|
499
|
+
subProductType?: string;
|
|
500
|
+
defaultForResourceId?: number;
|
|
501
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
+
variantTitleIds?: number[];
|
|
504
|
+
variants?: VariantWithPrice[];
|
|
505
|
+
variantParentId?: number;
|
|
506
|
+
isAddon?: boolean;
|
|
507
|
+
isArchive?: boolean;
|
|
508
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
+
isProRated?: boolean;
|
|
510
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
+
isTaxInclusive?: boolean;
|
|
512
|
+
tax?: number;
|
|
513
|
+
sports?: number[];
|
|
514
|
+
durationMinutes?: number;
|
|
515
|
+
durationDays?: number;
|
|
516
|
+
forms?: number[];
|
|
517
|
+
isForAllCustomers?: boolean;
|
|
518
|
+
membershipsAvailableFor?: number[];
|
|
519
|
+
customersAvailableFor?: number[];
|
|
520
|
+
addons?: createRentalProductAddonDto[];
|
|
521
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
1332
522
|
}
|
|
1333
|
-
export declare class
|
|
1334
|
-
|
|
523
|
+
export declare class VariantWithPrice {
|
|
524
|
+
variantIds: number[];
|
|
525
|
+
price: CreatePriceDto[];
|
|
1335
526
|
}
|
|
1336
|
-
export declare class
|
|
527
|
+
export declare class CreatePriceDto {
|
|
1337
528
|
id?: number;
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
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;
|
|
529
|
+
price: number;
|
|
530
|
+
currency: CurrencyEnum;
|
|
531
|
+
name: string;
|
|
532
|
+
startDate?: Date;
|
|
533
|
+
endDate?: Date;
|
|
534
|
+
discountValue?: number;
|
|
535
|
+
discountMethod?: DiscountMethodsEnum;
|
|
536
|
+
isDefaultPriceForProduct?: boolean;
|
|
1361
537
|
}
|
|
1362
|
-
export declare class
|
|
1363
|
-
|
|
1364
|
-
|
|
538
|
+
export declare class CreatePackageDto {
|
|
539
|
+
parentProductId: number;
|
|
540
|
+
productsData?: ProductInPackage[];
|
|
541
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
1365
542
|
}
|
|
1366
|
-
export declare class
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
endTime: string;
|
|
1372
|
-
spacesIds?: number[];
|
|
1373
|
-
publicNotes?: string;
|
|
1374
|
-
privateNotes?: string;
|
|
1375
|
-
isInformAttendees?: boolean;
|
|
1376
|
-
minutesBeforeSlot?: number;
|
|
1377
|
-
minutesAfterSlot?: number;
|
|
543
|
+
export declare class CreatePackageToResourceDto {
|
|
544
|
+
resourceId: number;
|
|
545
|
+
resourceType: ResourceNameTypeEnum;
|
|
546
|
+
isCreateToChildProducts: boolean;
|
|
547
|
+
productsData: ProductInPackage[];
|
|
1378
548
|
}
|
|
1379
|
-
export declare class
|
|
1380
|
-
|
|
549
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
550
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
551
|
+
amountInPackage?: number;
|
|
552
|
+
level?: ProductPackageLevelEnum;
|
|
1381
553
|
}
|
|
1382
|
-
export declare class
|
|
1383
|
-
|
|
554
|
+
export declare class ExistingProductToPackageDto {
|
|
555
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
556
|
+
id: number;
|
|
557
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
+
level?: ProductPackageLevelEnum;
|
|
1384
559
|
}
|
|
1385
|
-
export declare class
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
endTime?: string;
|
|
1390
|
-
spacesIds?: number[];
|
|
1391
|
-
publicNotes?: string;
|
|
1392
|
-
privateNotes?: string;
|
|
1393
|
-
isInformAttendees?: boolean;
|
|
1394
|
-
minutesBeforeSlot?: number;
|
|
1395
|
-
minutesAfterSlot?: number;
|
|
560
|
+
export declare class ConnectProductResourceDto {
|
|
561
|
+
productId: number;
|
|
562
|
+
resourceType: ResourceNameTypeEnum;
|
|
563
|
+
resourceIds: number[];
|
|
1396
564
|
}
|
|
1397
|
-
export declare class
|
|
1398
|
-
|
|
565
|
+
export declare class ReturnRequiredProductsDto {
|
|
566
|
+
userId: number;
|
|
567
|
+
productId: number;
|
|
1399
568
|
}
|
|
1400
|
-
export declare class
|
|
569
|
+
export declare class FindByProductUserIdsDto {
|
|
570
|
+
userId: number;
|
|
1401
571
|
organizationId: number;
|
|
1402
572
|
}
|
|
1403
|
-
export declare class
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
endDate?: string;
|
|
1407
|
-
}
|
|
1408
|
-
export declare class ProgramLandingPageDto {
|
|
1409
|
-
programId: number;
|
|
573
|
+
export declare class AddRequiredProductsDto {
|
|
574
|
+
productId: number;
|
|
575
|
+
requiredProductIds: number[];
|
|
1410
576
|
}
|
|
1411
|
-
export declare class
|
|
1412
|
-
|
|
577
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
578
|
+
productIds?: number[];
|
|
579
|
+
includePrices?: boolean;
|
|
580
|
+
productType?: ProductTypesEnum;
|
|
581
|
+
includeAddons?: string;
|
|
1413
582
|
}
|
|
1414
|
-
export declare class
|
|
1415
|
-
|
|
1416
|
-
sessionId: number;
|
|
583
|
+
export declare class GetByOrganizationIdDto {
|
|
584
|
+
organizationId?: number;
|
|
1417
585
|
}
|
|
1418
|
-
export
|
|
1419
|
-
|
|
1420
|
-
name: string;
|
|
1421
|
-
programId: number;
|
|
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;
|
|
586
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
587
|
+
orderId?: number;
|
|
1436
588
|
}
|
|
1437
|
-
export
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
productId: number;
|
|
1449
|
-
productName: string;
|
|
1450
|
-
}[];
|
|
1451
|
-
totalPasses?: number;
|
|
1452
|
-
leftPasses?: number;
|
|
1453
|
-
addonProductUserIds: number[];
|
|
589
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
590
|
+
productIds?: string;
|
|
591
|
+
includePrices?: boolean;
|
|
592
|
+
productType?: string;
|
|
593
|
+
productSubType?: string;
|
|
594
|
+
search?: string;
|
|
595
|
+
includeAddons?: boolean;
|
|
596
|
+
includeArchived?: boolean;
|
|
597
|
+
includeAllData?: boolean;
|
|
598
|
+
resourceIds?: string;
|
|
599
|
+
sports?: string;
|
|
1454
600
|
}
|
|
1455
|
-
export declare class
|
|
1456
|
-
|
|
1457
|
-
isCheckedIn?: string;
|
|
1458
|
-
isNotCheckedIn?: string;
|
|
1459
|
-
hasAddons?: string;
|
|
1460
|
-
isWaiverSigned?: string;
|
|
1461
|
-
statuses?: string;
|
|
601
|
+
export declare class GetAllVariantTitlesDto {
|
|
602
|
+
organizationId: number;
|
|
1462
603
|
}
|
|
1463
|
-
export declare class
|
|
1464
|
-
|
|
604
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
605
|
+
organizationId: number;
|
|
1465
606
|
}
|
|
1466
|
-
export declare class
|
|
1467
|
-
customerId: number;
|
|
607
|
+
export declare class CreateVariantTitleDto {
|
|
1468
608
|
organizationId: number;
|
|
609
|
+
title: string;
|
|
610
|
+
variants: string[];
|
|
1469
611
|
}
|
|
1470
|
-
export declare class
|
|
1471
|
-
|
|
612
|
+
export declare class UpdateVariantTitleDto {
|
|
613
|
+
organizationId: number;
|
|
614
|
+
titleId: number;
|
|
615
|
+
title: string;
|
|
616
|
+
variants: string[];
|
|
1472
617
|
}
|
|
1473
|
-
export declare class
|
|
1474
|
-
|
|
1475
|
-
userId: number;
|
|
618
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
+
customerId: number;
|
|
1476
620
|
}
|
|
1477
|
-
export declare class
|
|
1478
|
-
|
|
1479
|
-
|
|
621
|
+
export declare class GetExtraProductDataDto {
|
|
622
|
+
isPublic?: boolean;
|
|
623
|
+
isGetByChildResources?: boolean;
|
|
624
|
+
isGetEntitlePricing?: boolean;
|
|
625
|
+
isGetAddOns?: boolean;
|
|
626
|
+
includeResources?: boolean;
|
|
627
|
+
includeArchived?: boolean;
|
|
1480
628
|
}
|
|
1481
|
-
export declare class
|
|
1482
|
-
|
|
1483
|
-
isUserAdmin: boolean;
|
|
1484
|
-
firstName: string;
|
|
1485
|
-
lastName: string;
|
|
1486
|
-
gender: GenderEnum;
|
|
1487
|
-
birthDate: string;
|
|
1488
|
-
sports?: number[];
|
|
1489
|
-
email?: string;
|
|
629
|
+
export declare class GetBySessionType {
|
|
630
|
+
sessionType: 'event' | 'segment';
|
|
1490
631
|
}
|
|
1491
|
-
export declare class
|
|
1492
|
-
|
|
1493
|
-
|
|
632
|
+
export declare class CreateSubcategoryDto {
|
|
633
|
+
productType: ProductTypesEnum;
|
|
634
|
+
name: string;
|
|
635
|
+
stationId?: number;
|
|
636
|
+
ordinal?: number;
|
|
1494
637
|
}
|
|
1495
|
-
export declare class
|
|
638
|
+
export declare class CreateSubcategoriesDto {
|
|
639
|
+
subcategories: CreateSubcategoryDto[];
|
|
640
|
+
}
|
|
641
|
+
export declare class UpdateSubcategoryDto {
|
|
1496
642
|
id: number;
|
|
643
|
+
productType?: ProductTypesEnum;
|
|
644
|
+
name?: string;
|
|
645
|
+
stationId?: number;
|
|
646
|
+
ordinal?: number;
|
|
1497
647
|
}
|
|
1498
|
-
export declare class
|
|
1499
|
-
|
|
1500
|
-
itemsPerPage: number;
|
|
648
|
+
export declare class GetSubcategoryDto {
|
|
649
|
+
stationId?: number;
|
|
1501
650
|
}
|
|
1502
|
-
export declare class
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
651
|
+
export declare class SetStationSubcategoriesDto {
|
|
652
|
+
stationId: number;
|
|
653
|
+
subcategoryIds?: number[];
|
|
654
|
+
categories?: string[];
|
|
1506
655
|
}
|
|
1507
|
-
export declare class
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
656
|
+
export declare class createRentalProductAddonDto {
|
|
657
|
+
productId: number;
|
|
658
|
+
price: number;
|
|
659
|
+
isFlatPrice: boolean;
|
|
660
|
+
isMandatory: boolean;
|
|
661
|
+
level: ProductPackageLevelEnum;
|
|
1512
662
|
}
|
|
1513
|
-
export declare class
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
663
|
+
export declare class createProductAvailabilityTimesDto {
|
|
664
|
+
availabilityStartDate?: string;
|
|
665
|
+
availabilityEndDate?: string;
|
|
666
|
+
daysOfWeek: number[];
|
|
667
|
+
startTime: string;
|
|
668
|
+
endTime: string;
|
|
1517
669
|
}
|
|
1518
|
-
export declare class
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
description?: string;
|
|
1522
|
-
longDescription?: string;
|
|
1523
|
-
info?: string;
|
|
1524
|
-
address: AddressDto;
|
|
1525
|
-
timezone: string;
|
|
1526
|
-
amenities: number[];
|
|
1527
|
-
openingTimes: OpeningTimeDto[];
|
|
1528
|
-
resourcesIds?: number[];
|
|
670
|
+
export declare class createResourceDto {
|
|
671
|
+
resourceId: number;
|
|
672
|
+
resourceType: ResourceNameTypeEnum;
|
|
1529
673
|
}
|
|
1530
|
-
export declare class
|
|
1531
|
-
|
|
1532
|
-
description?: string;
|
|
1533
|
-
longDescription?: string;
|
|
1534
|
-
info?: string;
|
|
1535
|
-
address?: AddressDto;
|
|
1536
|
-
timezone?: string;
|
|
674
|
+
export declare class archiveDto {
|
|
675
|
+
isArchive: boolean;
|
|
1537
676
|
}
|
|
1538
|
-
export declare class
|
|
1539
|
-
|
|
677
|
+
export declare class CreateUpdateVariantsDto {
|
|
678
|
+
organizationId: number;
|
|
679
|
+
parentProductId: number;
|
|
680
|
+
variantTitles: VariantTitleDto[];
|
|
681
|
+
variants: VariantDto[];
|
|
1540
682
|
}
|
|
1541
|
-
export declare class
|
|
1542
|
-
|
|
683
|
+
export declare class VariantTitleDto {
|
|
684
|
+
titleName: string;
|
|
685
|
+
titleId: number;
|
|
1543
686
|
}
|
|
1544
|
-
export declare class
|
|
1545
|
-
|
|
687
|
+
export declare class VariantDto {
|
|
688
|
+
name: string;
|
|
689
|
+
price: number;
|
|
690
|
+
variantId: number;
|
|
691
|
+
currency: CurrencyEnum;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
1546
694
|
}
|
|
1547
|
-
export declare class
|
|
1548
|
-
|
|
695
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
|
+
programId: number;
|
|
1549
697
|
}
|
|
1550
|
-
export declare class
|
|
1551
|
-
|
|
698
|
+
export declare class FindSessionsFiltersDto {
|
|
699
|
+
status?: PublishingStatusEnum;
|
|
700
|
+
isFullFetch?: boolean;
|
|
1552
701
|
}
|
|
1553
|
-
export declare class
|
|
1554
|
-
id: number;
|
|
702
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
1555
703
|
organizationId: number;
|
|
1556
|
-
code: string;
|
|
1557
|
-
createdAt: Date;
|
|
1558
|
-
updatedAt: Date;
|
|
1559
704
|
}
|
|
1560
|
-
export declare class
|
|
1561
|
-
|
|
1562
|
-
name: string;
|
|
1563
|
-
description?: string;
|
|
1564
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1565
|
-
activity: SportsEnum;
|
|
1566
|
-
facilityId: number;
|
|
1567
|
-
questionnaires: number[];
|
|
1568
|
-
minAgeYears: number;
|
|
1569
|
-
maxAgeYears: number;
|
|
1570
|
-
gender: GenderEnum;
|
|
1571
|
-
maxMembers?: number;
|
|
1572
|
-
maxMaleMembers?: number;
|
|
1573
|
-
maxFemaleMembers?: number;
|
|
1574
|
-
startDate: string;
|
|
1575
|
-
endDate: string;
|
|
1576
|
-
registrationStartDate?: Date;
|
|
1577
|
-
registrationEndDate?: Date;
|
|
1578
|
-
membershipType: MembershipTypeEnum;
|
|
1579
|
-
durationMonths: number;
|
|
1580
|
-
longDescription?: string;
|
|
1581
|
-
isAutoRenew?: boolean;
|
|
705
|
+
export declare class DeleteEventAttendeesDto {
|
|
706
|
+
eventAttendeeIds: string;
|
|
1582
707
|
}
|
|
1583
|
-
export declare class
|
|
1584
|
-
|
|
708
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
709
|
+
includeResources?: boolean;
|
|
1585
710
|
}
|
|
1586
|
-
export declare class
|
|
1587
|
-
|
|
1588
|
-
mediaId: number;
|
|
711
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
|
+
seasonId: number;
|
|
1589
713
|
}
|
|
1590
|
-
export declare class
|
|
1591
|
-
|
|
714
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
|
+
seasonId: number;
|
|
1592
716
|
}
|
|
1593
|
-
export declare class
|
|
1594
|
-
|
|
717
|
+
export declare class DeleteProductDto {
|
|
718
|
+
deleteProduct?: boolean;
|
|
1595
719
|
}
|
|
1596
|
-
export declare class
|
|
720
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
1597
721
|
userId: number;
|
|
1598
722
|
}
|
|
1599
|
-
export declare class
|
|
1600
|
-
|
|
723
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
724
|
+
isFreeAgentsOnly?: boolean;
|
|
725
|
+
isPunchCardUsers?: boolean;
|
|
726
|
+
nameEmailSearch?: string;
|
|
1601
727
|
}
|
|
1602
|
-
export declare class
|
|
1603
|
-
|
|
728
|
+
export declare class BaseProgramSeasonDto {
|
|
729
|
+
programId: number;
|
|
730
|
+
name: string;
|
|
731
|
+
status: PublishingStatusEnum;
|
|
732
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
733
|
+
startDate: Date;
|
|
734
|
+
endDate: Date;
|
|
735
|
+
description?: string;
|
|
736
|
+
GL?: string;
|
|
737
|
+
parentSeasonId?: number;
|
|
738
|
+
questionnaires?: number[];
|
|
739
|
+
maxParticipants?: number;
|
|
740
|
+
maxMaleParticipants?: number;
|
|
741
|
+
maxFemaleParticipants?: number;
|
|
742
|
+
maxWaitlist?: number;
|
|
743
|
+
maxMaleWaitlist?: number;
|
|
744
|
+
maxFemaleWaitlist?: number;
|
|
745
|
+
facilityId?: number;
|
|
746
|
+
addressId?: number;
|
|
747
|
+
blockedDated?: blockedDatesDto[];
|
|
748
|
+
activityTimes: ActivityTimesDto[];
|
|
749
|
+
longDescription?: string;
|
|
750
|
+
isPunchCard?: boolean;
|
|
751
|
+
organizationId: number;
|
|
752
|
+
sport: SportsEnum;
|
|
753
|
+
minAge: string;
|
|
754
|
+
maxAge: string;
|
|
755
|
+
gender: GenderEnum;
|
|
756
|
+
level?: LevelOfPlayEnum[];
|
|
757
|
+
requiredProductIds?: number[];
|
|
1604
758
|
}
|
|
1605
|
-
export declare class
|
|
1606
|
-
|
|
759
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
760
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
1607
761
|
}
|
|
1608
|
-
export declare class
|
|
1609
|
-
|
|
1610
|
-
|
|
762
|
+
export declare class CreateSessionScheduleDto {
|
|
763
|
+
startDate: Date;
|
|
764
|
+
endDate: Date;
|
|
765
|
+
activityTimes: ActivityTimesDto[];
|
|
766
|
+
blockedDated?: blockedDatesDto[];
|
|
767
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
1611
768
|
}
|
|
1612
|
-
export declare class
|
|
1613
|
-
|
|
1614
|
-
|
|
769
|
+
export declare class SubSeasonBasicInfo {
|
|
770
|
+
name: string;
|
|
771
|
+
startDate: Date;
|
|
772
|
+
endDate: Date;
|
|
773
|
+
activityTimes?: ActivityTimesDto[];
|
|
1615
774
|
}
|
|
1616
|
-
export declare class
|
|
775
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
1617
776
|
seasonId: number;
|
|
1618
777
|
}
|
|
1619
|
-
export declare class
|
|
1620
|
-
|
|
778
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
779
|
+
seasonId: number;
|
|
780
|
+
status: PublishingStatusEnum;
|
|
1621
781
|
}
|
|
1622
|
-
export declare class
|
|
782
|
+
export declare class blockedDatesDto {
|
|
1623
783
|
name: string;
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
color: string;
|
|
1627
|
-
isDefault: boolean;
|
|
784
|
+
startDate: Date;
|
|
785
|
+
endDate: Date;
|
|
1628
786
|
}
|
|
1629
|
-
export declare class
|
|
787
|
+
export declare class ActivityTimesDto {
|
|
788
|
+
dayOfWeek: number;
|
|
789
|
+
open: string;
|
|
790
|
+
close: string;
|
|
791
|
+
}
|
|
792
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
793
|
+
seasonId: number;
|
|
1630
794
|
name: string;
|
|
1631
795
|
description?: string;
|
|
1632
|
-
status?: GroupStatusEnum;
|
|
1633
|
-
maxCapacity?: number;
|
|
1634
|
-
mainMediaId?: number;
|
|
1635
|
-
minAgeYears?: number;
|
|
1636
|
-
maxAgeYears?: number;
|
|
1637
|
-
gender: GenderEnum;
|
|
1638
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1639
|
-
sports: SportsEnum[];
|
|
1640
796
|
questionnaires?: number[];
|
|
1641
|
-
|
|
1642
|
-
|
|
797
|
+
maxParticipants?: number;
|
|
798
|
+
maxMaleParticipants?: number;
|
|
799
|
+
maxFemaleParticipants?: number;
|
|
800
|
+
maxWaitlist?: number;
|
|
801
|
+
maxMaleWaitlist?: number;
|
|
802
|
+
maxFemaleWaitlist?: number;
|
|
803
|
+
facilityId?: number;
|
|
804
|
+
addressId?: number;
|
|
805
|
+
sport?: SportsEnum;
|
|
806
|
+
minAge?: string;
|
|
807
|
+
maxAge?: string;
|
|
808
|
+
gender?: GenderEnum;
|
|
809
|
+
level?: LevelOfPlayEnum[];
|
|
810
|
+
requiredProductIds?: number[];
|
|
811
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
1643
812
|
}
|
|
1644
|
-
export declare class
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
prevDivisionId: number;
|
|
813
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
814
|
+
id: number;
|
|
815
|
+
name: string;
|
|
1648
816
|
}
|
|
1649
|
-
export declare class
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
817
|
+
export declare class SpaceResourcePairDto {
|
|
818
|
+
resourceType: ResourceNameTypeEnum;
|
|
819
|
+
resourceId: number;
|
|
820
|
+
spacesIds: number[];
|
|
821
|
+
publicNotes?: string;
|
|
822
|
+
privateNotes?: string;
|
|
823
|
+
minutesBeforeSlot?: number;
|
|
824
|
+
minutesAfterSlot?: number;
|
|
1653
825
|
}
|
|
1654
|
-
export declare class
|
|
1655
|
-
|
|
1656
|
-
|
|
826
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
827
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
828
|
+
organizationId: number;
|
|
1657
829
|
}
|
|
1658
|
-
export declare class
|
|
1659
|
-
|
|
1660
|
-
|
|
830
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
831
|
+
date: string;
|
|
832
|
+
startTime: string;
|
|
833
|
+
endTime: string;
|
|
834
|
+
spaceId: number;
|
|
835
|
+
publicNotes?: string;
|
|
836
|
+
slotType?: SlotTypeEnum;
|
|
1661
837
|
}
|
|
1662
|
-
export declare class
|
|
1663
|
-
|
|
838
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
839
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
1664
840
|
}
|
|
1665
|
-
export declare class
|
|
1666
|
-
|
|
841
|
+
export declare class UpdateSeasonDatesDto {
|
|
842
|
+
startDate: Date;
|
|
843
|
+
endDate: Date;
|
|
1667
844
|
}
|
|
1668
|
-
export declare class
|
|
845
|
+
export declare class MoveAttendeeDto {
|
|
1669
846
|
userId: number;
|
|
1670
|
-
|
|
847
|
+
resourceType: ResourceNameTypeEnum;
|
|
848
|
+
fromResourceIds: number[];
|
|
849
|
+
toResourceIds: number[];
|
|
1671
850
|
}
|
|
1672
|
-
export declare class
|
|
1673
|
-
|
|
851
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
852
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
1674
853
|
}
|
|
1675
|
-
export
|
|
1676
|
-
|
|
1677
|
-
|
|
854
|
+
export declare class RegistrationDatesDto {
|
|
855
|
+
registrationStartDate: Date;
|
|
856
|
+
registrationEndDate: Date;
|
|
857
|
+
earlyRegistrationStartDate?: Date;
|
|
858
|
+
earlyRegistrationEndDate?: Date;
|
|
859
|
+
lateRegistrationStartDate?: Date;
|
|
860
|
+
lateRegistrationEndDate?: Date;
|
|
1678
861
|
}
|
|
1679
|
-
export declare class
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
862
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
863
|
+
closeRegistrationPeriodValue?: number;
|
|
864
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
865
|
+
closeRegistrationSpecTime?: string;
|
|
866
|
+
openRegistrationPeriodValue?: number;
|
|
867
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
+
openRegistrationSpecTime?: string;
|
|
869
|
+
productsIdsToUpdate?: number[];
|
|
1685
870
|
}
|
|
1686
|
-
export declare class
|
|
1687
|
-
|
|
871
|
+
export declare class MoveParticipantDto {
|
|
872
|
+
userId: number;
|
|
873
|
+
oldProductId: number;
|
|
874
|
+
newProductId: number;
|
|
875
|
+
moveType: 'session' | 'segment';
|
|
876
|
+
resourceId: number;
|
|
877
|
+
orderId: number;
|
|
1688
878
|
}
|
|
1689
|
-
export declare class
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
1690
880
|
organizationId: number;
|
|
1691
|
-
|
|
1692
|
-
terms: IEntitlementTerms[];
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
1693
882
|
}
|
|
1694
|
-
export declare class
|
|
1695
|
-
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
884
|
+
programId: number;
|
|
1696
885
|
}
|
|
1697
|
-
export declare class
|
|
1698
|
-
|
|
1699
|
-
|
|
886
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
+
programId: number;
|
|
888
|
+
organizationId: number;
|
|
1700
889
|
}
|
|
1701
|
-
export declare class
|
|
890
|
+
export declare class BaseProgramDto {
|
|
891
|
+
type: ProgramTypesEnum;
|
|
892
|
+
name: string;
|
|
893
|
+
sport: SportsEnum;
|
|
894
|
+
minAge: string;
|
|
895
|
+
maxAge: string;
|
|
896
|
+
gender: GenderEnum;
|
|
897
|
+
level?: LevelOfPlayEnum[];
|
|
898
|
+
description?: string;
|
|
899
|
+
GL?: string;
|
|
900
|
+
status: PublishingStatusEnum;
|
|
1702
901
|
organizationId: number;
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
startDate?: Date;
|
|
902
|
+
userCreatorId: number;
|
|
903
|
+
highlights: ProgramHighlights[];
|
|
904
|
+
longDescription?: string;
|
|
905
|
+
requiredProductIds: number[];
|
|
1708
906
|
}
|
|
1709
|
-
export declare class
|
|
1710
|
-
groupsIds: number[];
|
|
1711
|
-
itemsIds: number[];
|
|
907
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1712
908
|
}
|
|
1713
|
-
export declare class
|
|
1714
|
-
|
|
909
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
+
programId: number;
|
|
911
|
+
mainMediaId: number;
|
|
1715
912
|
}
|
|
1716
|
-
export declare class
|
|
1717
|
-
|
|
1718
|
-
|
|
913
|
+
export declare class UpdateProgramStatusDto {
|
|
914
|
+
programId: number;
|
|
915
|
+
status: PublishingStatusEnum;
|
|
1719
916
|
}
|
|
1720
|
-
export declare class
|
|
1721
|
-
|
|
917
|
+
export declare class ProgramHighlightDto {
|
|
918
|
+
data: string;
|
|
919
|
+
ordinal: number;
|
|
920
|
+
type: ProgramHighlightTypeEnum;
|
|
921
|
+
title: string;
|
|
1722
922
|
}
|
|
1723
|
-
export declare class
|
|
1724
|
-
|
|
1725
|
-
|
|
923
|
+
export declare class PurchasePaymentDto {
|
|
924
|
+
token: string;
|
|
925
|
+
type: PaymentMethodTypeEnum;
|
|
926
|
+
}
|
|
927
|
+
export declare class ChargeRentalsReuqestDto {
|
|
928
|
+
organizationId: number;
|
|
929
|
+
userId?: number;
|
|
930
|
+
customerId?: number;
|
|
931
|
+
orderId: number;
|
|
932
|
+
paymentData: PurchasePaymentDto;
|
|
933
|
+
amountToPay: number;
|
|
934
|
+
total: number;
|
|
935
|
+
platform: PlatformsEnum;
|
|
936
|
+
shiftId?: number;
|
|
937
|
+
}
|
|
938
|
+
export declare class PurchaseRequestDto {
|
|
939
|
+
purchasingUserId: number;
|
|
940
|
+
customerId?: number;
|
|
941
|
+
products: PurchaseProductDto[];
|
|
942
|
+
paymentData: PurchasePaymentDto;
|
|
943
|
+
answers: UserAnswersDto[];
|
|
944
|
+
amountToPay: number;
|
|
945
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
|
+
parentPurchasedId?: number;
|
|
947
|
+
isPartialPayment: boolean;
|
|
948
|
+
existingOrderToken?: string;
|
|
949
|
+
installments?: ScheduledPaymentDto[];
|
|
950
|
+
shiftId?: number;
|
|
951
|
+
orderId?: number;
|
|
952
|
+
}
|
|
953
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
|
+
}
|
|
955
|
+
export declare class PurchaseProductDto {
|
|
956
|
+
id: number;
|
|
957
|
+
resources?: PurchaseResourceDto[];
|
|
958
|
+
userId?: number;
|
|
959
|
+
paymentStatus?: PaymentStatusEnum;
|
|
960
|
+
amountToPay?: number;
|
|
961
|
+
ordinal?: number;
|
|
1726
962
|
startDate?: Date;
|
|
1727
|
-
|
|
1728
|
-
discountValue?: number;
|
|
1729
|
-
discountMethod?: DiscountMethodsEnum;
|
|
963
|
+
quantity?: number;
|
|
1730
964
|
}
|
|
1731
|
-
export declare class
|
|
1732
|
-
|
|
965
|
+
export declare class PartialPaymentRequestDto {
|
|
966
|
+
orderId: number;
|
|
967
|
+
amountToPay: number;
|
|
968
|
+
organizationId: number;
|
|
969
|
+
payingUserId: number;
|
|
970
|
+
paymentMethodData: PurchasePaymentDto;
|
|
971
|
+
shiftId?: number;
|
|
972
|
+
}
|
|
973
|
+
export declare class RedeemPunchCardRequestDto {
|
|
974
|
+
products: PurchaseProductDto[];
|
|
975
|
+
answersTitlesIds: number[];
|
|
976
|
+
organizationId: number;
|
|
977
|
+
purchasingUserId: number;
|
|
978
|
+
}
|
|
979
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
980
|
+
orderId: number;
|
|
981
|
+
}
|
|
982
|
+
export declare class AddItemsDto {
|
|
983
|
+
products: PurchaseProductDto[];
|
|
984
|
+
allocateResource: boolean;
|
|
985
|
+
skipMail: boolean;
|
|
1733
986
|
}
|
|
1734
|
-
export declare class
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
987
|
+
export declare class PartialPaymentAsUserDto {
|
|
988
|
+
orderId: any;
|
|
989
|
+
organizationId: any;
|
|
990
|
+
amountToPay: any;
|
|
991
|
+
paymentMethodData: any;
|
|
1738
992
|
}
|
|
1739
|
-
export declare class
|
|
1740
|
-
|
|
1741
|
-
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
1742
998
|
}
|
|
1743
|
-
export declare class
|
|
1744
|
-
resourceType: ResourceNameTypeEnum;
|
|
1745
|
-
resourceId: number;
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1746
1000
|
}
|
|
1747
|
-
export declare class
|
|
1748
|
-
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
1749
1004
|
}
|
|
1750
|
-
export declare class
|
|
1751
|
-
|
|
1752
|
-
addOnsData?: ProductInPackage[];
|
|
1753
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
1005
|
+
export declare class SpaceByIdDto {
|
|
1006
|
+
spaceId: number;
|
|
1754
1007
|
}
|
|
1755
|
-
export declare class
|
|
1008
|
+
export declare class CreateSpaceDto {
|
|
1756
1009
|
name: string;
|
|
1010
|
+
sports: number[];
|
|
1011
|
+
description?: string;
|
|
1012
|
+
longDescription?: string;
|
|
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[];
|
|
1757
1025
|
}
|
|
1758
|
-
export declare class
|
|
1759
|
-
id?: number;
|
|
1760
|
-
organizationId: number;
|
|
1026
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1761
1027
|
name: string;
|
|
1762
|
-
quantity?: number;
|
|
1763
|
-
isPublic: boolean;
|
|
1764
|
-
startDate?: Date;
|
|
1765
|
-
endDate?: Date;
|
|
1766
1028
|
description?: string;
|
|
1767
|
-
|
|
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;
|
|
1029
|
+
longDescription?: string;
|
|
1780
1030
|
isAddon?: boolean;
|
|
1781
|
-
|
|
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[];
|
|
1031
|
+
facilitiesIds: number[];
|
|
1800
1032
|
}
|
|
1801
|
-
export declare class
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
endDate?: Date;
|
|
1808
|
-
discountValue?: number;
|
|
1809
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1810
|
-
isDefaultPriceForProduct?: boolean;
|
|
1033
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1034
|
+
properties: SpacePropertiesEnum;
|
|
1035
|
+
width?: number;
|
|
1036
|
+
length?: number;
|
|
1037
|
+
surface?: SurfacesEnum;
|
|
1038
|
+
ages?: ResourceAgesEnum;
|
|
1811
1039
|
}
|
|
1812
|
-
export declare class
|
|
1813
|
-
|
|
1814
|
-
productsData?: ProductInPackage[];
|
|
1815
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
1040
|
+
export declare class UpdateSpaceTimesDto {
|
|
1041
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1816
1042
|
}
|
|
1817
|
-
export declare class
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
isCreateToChildProducts: boolean;
|
|
1821
|
-
productsData: ProductInPackage[];
|
|
1043
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1044
|
+
resourceGroupId?: number;
|
|
1045
|
+
blockedResourcesIds?: number[];
|
|
1822
1046
|
}
|
|
1823
|
-
export declare class
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
level?: ProductPackageLevelEnum;
|
|
1047
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1048
|
+
blockedSpacesIds: number[];
|
|
1049
|
+
parentSpaceId?: number;
|
|
1827
1050
|
}
|
|
1828
|
-
export declare class
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1832
|
-
level?: ProductPackageLevelEnum;
|
|
1051
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1052
|
+
spacesIds?: string;
|
|
1053
|
+
futureHoursLimit?: number;
|
|
1833
1054
|
}
|
|
1834
|
-
export declare class
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1055
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1056
|
+
nameSearch?: string;
|
|
1057
|
+
facilitiesIds?: string;
|
|
1058
|
+
types?: string;
|
|
1059
|
+
resourcesIds?: string;
|
|
1838
1060
|
}
|
|
1839
|
-
export declare class
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1840
1062
|
userId: number;
|
|
1841
|
-
productId: number;
|
|
1842
1063
|
}
|
|
1843
|
-
export declare class
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class FindByUserIdDto {
|
|
1844
1069
|
userId: number;
|
|
1845
|
-
organizationId: number;
|
|
1846
1070
|
}
|
|
1847
|
-
export declare class
|
|
1848
|
-
|
|
1849
|
-
requiredProductIds: number[];
|
|
1071
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
+
familyAccountId?: number;
|
|
1850
1073
|
}
|
|
1851
|
-
export declare class
|
|
1852
|
-
|
|
1853
|
-
includePrices?: boolean;
|
|
1854
|
-
productType?: ProductTypesEnum;
|
|
1855
|
-
includeAddons?: string;
|
|
1074
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1075
|
+
organizationId: number;
|
|
1856
1076
|
}
|
|
1857
|
-
export declare class
|
|
1077
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1078
|
+
entityType: ResourceNameTypeEnum;
|
|
1079
|
+
entityId: number;
|
|
1858
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;
|
|
1859
1089
|
}
|
|
1860
|
-
export declare class
|
|
1861
|
-
|
|
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;
|
|
1102
|
+
}
|
|
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;
|
|
1113
|
+
}
|
|
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;
|
|
1126
|
+
}
|
|
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;
|
|
1146
|
+
name: string;
|
|
1147
|
+
startDate: Date;
|
|
1148
|
+
endDate: Date;
|
|
1149
|
+
deletedAt?: Date;
|
|
1150
|
+
}
|
|
1151
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
|
+
id: number;
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
1155
|
+
}
|
|
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;
|
|
1862
1173
|
}
|
|
1863
|
-
export declare class
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
resourceIds?: string;
|
|
1873
|
-
sports?: string;
|
|
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;
|
|
1874
1183
|
}
|
|
1875
|
-
export declare class
|
|
1876
|
-
|
|
1184
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
+
area: string;
|
|
1186
|
+
key: string;
|
|
1187
|
+
value: string;
|
|
1877
1188
|
}
|
|
1878
|
-
export declare class
|
|
1879
|
-
|
|
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;
|
|
1880
1200
|
}
|
|
1881
|
-
export declare class
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
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;
|
|
1885
1208
|
}
|
|
1886
|
-
export declare class
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
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[];
|
|
1891
1236
|
}
|
|
1892
|
-
export declare class
|
|
1237
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1893
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;
|
|
1894
1248
|
}
|
|
1895
|
-
export declare class
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
includeResources?: boolean;
|
|
1901
|
-
includeArchived?: boolean;
|
|
1902
|
-
}
|
|
1903
|
-
export declare class GetBySessionType {
|
|
1904
|
-
sessionType: 'event' | 'segment';
|
|
1249
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
+
customerId?: number;
|
|
1251
|
+
description: string;
|
|
1252
|
+
pinToTop?: boolean;
|
|
1253
|
+
customer: Customer;
|
|
1905
1254
|
}
|
|
1906
|
-
export declare class
|
|
1907
|
-
productType: ProductTypesEnum;
|
|
1255
|
+
export declare class Division extends BondBaseEntity {
|
|
1908
1256
|
name: string;
|
|
1909
|
-
stationId?: number;
|
|
1910
1257
|
ordinal?: number;
|
|
1258
|
+
programSeasonId: number;
|
|
1259
|
+
color: string;
|
|
1260
|
+
isDefault: boolean;
|
|
1261
|
+
groups: Group[];
|
|
1911
1262
|
}
|
|
1912
|
-
export declare class
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
productType?: ProductTypesEnum;
|
|
1918
|
-
name?: string;
|
|
1919
|
-
stationId?: number;
|
|
1920
|
-
ordinal?: number;
|
|
1263
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
|
+
customerId: number;
|
|
1265
|
+
name: string | null;
|
|
1266
|
+
phoneNumber: string | null;
|
|
1267
|
+
customer: Customer;
|
|
1921
1268
|
}
|
|
1922
|
-
export declare class
|
|
1923
|
-
|
|
1269
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
|
+
name: string | null;
|
|
1924
1271
|
}
|
|
1925
|
-
export declare class
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
categories?: string[];
|
|
1272
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
groupId: number;
|
|
1274
|
+
terms: IEntitlementTerms[];
|
|
1929
1275
|
}
|
|
1930
|
-
export declare class
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
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;
|
|
1936
1290
|
}
|
|
1937
|
-
export declare class
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
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;
|
|
1941
1336
|
startTime: string;
|
|
1942
1337
|
endTime: string;
|
|
1338
|
+
publicNotes?: string;
|
|
1339
|
+
privateNotes?: string;
|
|
1340
|
+
productResources: ProductResource[];
|
|
1341
|
+
parentSession: ProgramSeason;
|
|
1342
|
+
activityTimes: ActivityTimes[];
|
|
1343
|
+
slots: Slot[];
|
|
1344
|
+
purchasedResources: PurchasedResource[];
|
|
1943
1345
|
}
|
|
1944
|
-
export declare class
|
|
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;
|
|
1369
|
+
}
|
|
1370
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
|
+
facilityId: number;
|
|
1945
1372
|
resourceId: number;
|
|
1946
|
-
resourceType: ResourceNameTypeEnum;
|
|
1947
1373
|
}
|
|
1948
|
-
export declare class
|
|
1949
|
-
|
|
1374
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1950
1377
|
}
|
|
1951
|
-
export declare class
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1378
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1379
|
+
userId: number;
|
|
1380
|
+
orderId: number;
|
|
1381
|
+
paymentMethodId: string;
|
|
1382
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1383
|
+
price: number;
|
|
1384
|
+
status: FutureInstallmentStatusEnum;
|
|
1385
|
+
plannedDate: Date;
|
|
1386
|
+
chargedAt?: Date;
|
|
1956
1387
|
}
|
|
1957
|
-
export declare class
|
|
1958
|
-
|
|
1959
|
-
titleId: number;
|
|
1388
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
+
code: string;
|
|
1960
1390
|
}
|
|
1961
|
-
export declare class
|
|
1391
|
+
export declare class Group extends BondBaseEntity {
|
|
1962
1392
|
name: string;
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
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[];
|
|
1406
|
+
}
|
|
1407
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1408
|
+
groupId: number;
|
|
1409
|
+
itemId: number;
|
|
1410
|
+
itemType: ResourceNameTypeEnum;
|
|
1966
1411
|
startDate: Date;
|
|
1967
1412
|
endDate: Date;
|
|
1413
|
+
price: number;
|
|
1414
|
+
overridesPrice: boolean;
|
|
1415
|
+
deletedAt?: Date;
|
|
1416
|
+
group?: EntitlementGroup;
|
|
1417
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1418
|
+
discountValue?: number;
|
|
1968
1419
|
}
|
|
1969
|
-
export declare class
|
|
1970
|
-
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1971
1424
|
}
|
|
1972
|
-
export declare class
|
|
1973
|
-
|
|
1974
|
-
|
|
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;
|
|
1975
1451
|
}
|
|
1976
|
-
export declare class
|
|
1977
|
-
|
|
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;
|
|
1978
1462
|
}
|
|
1979
|
-
export declare class
|
|
1980
|
-
|
|
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;
|
|
1981
1471
|
}
|
|
1982
|
-
export declare class
|
|
1983
|
-
|
|
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[];
|
|
1984
1497
|
}
|
|
1985
|
-
export declare class
|
|
1986
|
-
|
|
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[];
|
|
1987
1537
|
}
|
|
1988
|
-
export declare class
|
|
1989
|
-
|
|
1538
|
+
export declare class LeagueSeasonRelations {
|
|
1539
|
+
league?: boolean;
|
|
1540
|
+
facilities?: boolean;
|
|
1990
1541
|
}
|
|
1991
|
-
export declare class
|
|
1992
|
-
|
|
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;
|
|
1993
1551
|
}
|
|
1994
|
-
export declare class
|
|
1995
|
-
|
|
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;
|
|
1561
|
+
productId: number;
|
|
1562
|
+
paymentProcessorId: string;
|
|
1563
|
+
productType: ProductTypesEnum;
|
|
1564
|
+
productUserId?: number;
|
|
1565
|
+
ordinal: number | null;
|
|
1566
|
+
entitlementGroupId?: number;
|
|
1567
|
+
entitlementGroups: EntitlementGroup;
|
|
1568
|
+
price: number;
|
|
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;
|
|
1606
|
+
}
|
|
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;
|
|
1996
1622
|
}
|
|
1997
|
-
export declare class
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
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[];
|
|
2001
1641
|
}
|
|
2002
|
-
export declare class
|
|
2003
|
-
programId: number;
|
|
1642
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
2004
1643
|
name: string;
|
|
2005
|
-
status: PublishingStatusEnum;
|
|
2006
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
2007
|
-
startDate: Date;
|
|
2008
|
-
endDate: Date;
|
|
2009
1644
|
description?: string;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
maxParticipants?: number;
|
|
2014
|
-
maxMaleParticipants?: number;
|
|
2015
|
-
maxFemaleParticipants?: number;
|
|
2016
|
-
maxWaitlist?: number;
|
|
2017
|
-
maxMaleWaitlist?: number;
|
|
2018
|
-
maxFemaleWaitlist?: number;
|
|
1645
|
+
mainMedia?: Media;
|
|
1646
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1647
|
+
activity?: SportsEnum;
|
|
2019
1648
|
facilityId?: number;
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
isPunchCard?: boolean;
|
|
2025
|
-
organizationId: number;
|
|
2026
|
-
sport: SportsEnum;
|
|
2027
|
-
minAge: string;
|
|
2028
|
-
maxAge: string;
|
|
1649
|
+
facilityName?: string;
|
|
1650
|
+
questionnaires?: number[];
|
|
1651
|
+
minAgeYears?: number;
|
|
1652
|
+
maxAgeYears?: number;
|
|
2029
1653
|
gender: GenderEnum;
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
startDate: Date;
|
|
2046
|
-
endDate: Date;
|
|
2047
|
-
activityTimes?: ActivityTimesDto[];
|
|
2048
|
-
}
|
|
2049
|
-
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
2050
|
-
seasonId: number;
|
|
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[];
|
|
2051
1669
|
}
|
|
2052
|
-
export declare class
|
|
2053
|
-
|
|
2054
|
-
|
|
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;
|
|
2055
1689
|
}
|
|
2056
|
-
export declare class
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
1690
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1691
|
+
email: string | null;
|
|
1692
|
+
notificationType: NotificationTypeEnum | null;
|
|
1693
|
+
resourceId: number | null;
|
|
1694
|
+
resourceType: string | null;
|
|
2060
1695
|
}
|
|
2061
|
-
export declare class
|
|
1696
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1697
|
+
id: number;
|
|
2062
1698
|
dayOfWeek: number;
|
|
2063
1699
|
open: string;
|
|
2064
1700
|
close: string;
|
|
1701
|
+
facilityId: number;
|
|
1702
|
+
createdAt: Date;
|
|
1703
|
+
updatedAt: Date;
|
|
1704
|
+
deletedAt?: Date;
|
|
1705
|
+
facility: Facility;
|
|
2065
1706
|
}
|
|
2066
|
-
export declare class
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
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[];
|
|
2086
1730
|
}
|
|
2087
|
-
export declare class
|
|
2088
|
-
|
|
2089
|
-
|
|
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;
|
|
2090
1739
|
}
|
|
2091
|
-
export declare class
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
minutesAfterSlot?: number;
|
|
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;
|
|
2099
1747
|
}
|
|
2100
|
-
export declare class
|
|
2101
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
1748
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
2102
1749
|
organizationId: number;
|
|
2103
1750
|
}
|
|
2104
|
-
export declare class
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
1751
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
|
+
name?: string;
|
|
1753
|
+
description?: string;
|
|
1754
|
+
price: number;
|
|
1755
|
+
status: string;
|
|
1756
|
+
percentage: number;
|
|
1757
|
+
quantity: number;
|
|
1758
|
+
duration: number;
|
|
1759
|
+
organizationId: number;
|
|
1760
|
+
creatorId: number;
|
|
1761
|
+
creatorType: string;
|
|
1762
|
+
userCreatorId: number;
|
|
1763
|
+
ownerId: number;
|
|
1764
|
+
addon: boolean;
|
|
1765
|
+
isMandatory: boolean;
|
|
1766
|
+
productId: number;
|
|
2111
1767
|
}
|
|
2112
|
-
export declare class
|
|
2113
|
-
|
|
1768
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1769
|
+
token: string | null;
|
|
1770
|
+
userId: number | null;
|
|
1771
|
+
validUntil: Date | null;
|
|
1772
|
+
active: boolean | null;
|
|
1773
|
+
}
|
|
1774
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
|
+
paymentPlanId: number;
|
|
1776
|
+
paymentDate: Date;
|
|
1777
|
+
deletedAt?: Date;
|
|
1778
|
+
paymentPlan: ProductPaymentPlan;
|
|
1779
|
+
}
|
|
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;
|
|
2114
1797
|
}
|
|
2115
|
-
export declare class
|
|
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;
|
|
2116
1805
|
startDate: Date;
|
|
2117
1806
|
endDate: Date;
|
|
1807
|
+
groupId?: number;
|
|
1808
|
+
groupName?: string;
|
|
1809
|
+
originalPrice?: number;
|
|
1810
|
+
deletedAt?: Date;
|
|
1811
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1812
|
+
discountValue?: number;
|
|
1813
|
+
taxIncludedPrice?: number;
|
|
2118
1814
|
}
|
|
2119
|
-
export declare class
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
1815
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
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;
|
|
1825
|
+
description?: string;
|
|
1826
|
+
prices: Price[];
|
|
1827
|
+
currPrice: Price;
|
|
1828
|
+
productSubType?: ProductSubTypesEnum;
|
|
1829
|
+
punchCard: boolean;
|
|
1830
|
+
requiredProductIds?: number[];
|
|
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[];
|
|
2127
1864
|
}
|
|
2128
|
-
export declare class
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
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;
|
|
2135
1879
|
}
|
|
2136
|
-
export declare class
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
1880
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1881
|
+
productId: number;
|
|
1882
|
+
maxMonths?: number;
|
|
1883
|
+
dayOfMonth?: number;
|
|
1884
|
+
name: string;
|
|
1885
|
+
deletedAt?: Date;
|
|
1886
|
+
schedule: PaymentPlanSchedule[];
|
|
1887
|
+
product?: Product;
|
|
2144
1888
|
}
|
|
2145
|
-
export declare class
|
|
2146
|
-
|
|
2147
|
-
oldProductId: number;
|
|
2148
|
-
newProductId: number;
|
|
2149
|
-
moveType: 'session' | 'segment';
|
|
1889
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1890
|
+
productId: number;
|
|
2150
1891
|
resourceId: number;
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
1892
|
+
resourceType: ResourceNameTypeEnum;
|
|
1893
|
+
deletedAt?: Date;
|
|
1894
|
+
programSeason: ProgramSeason;
|
|
1895
|
+
event: Event;
|
|
1896
|
+
product: Product;
|
|
1897
|
+
productPackages: ProductPackage[];
|
|
1898
|
+
resourceName?: string;
|
|
2156
1899
|
}
|
|
2157
|
-
export declare class
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
customerId?: number;
|
|
2161
|
-
orderId: number;
|
|
2162
|
-
paymentData: PurchasePaymentDto;
|
|
2163
|
-
amountToPay: number;
|
|
2164
|
-
total: number;
|
|
2165
|
-
platform: PlatformsEnum;
|
|
2166
|
-
shiftId?: number;
|
|
1900
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1901
|
+
productId: number;
|
|
1902
|
+
variantTitleId: number;
|
|
2167
1903
|
}
|
|
2168
|
-
export declare class
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
products: PurchaseProductDto[];
|
|
2172
|
-
paymentData: PurchasePaymentDto;
|
|
2173
|
-
answers: UserAnswersDto[];
|
|
2174
|
-
amountToPay: number;
|
|
2175
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
2176
|
-
parentPurchasedId?: number;
|
|
2177
|
-
isPartialPayment: boolean;
|
|
2178
|
-
existingOrderToken?: string;
|
|
2179
|
-
installments?: ScheduledPaymentDto[];
|
|
2180
|
-
shiftId?: number;
|
|
2181
|
-
orderId?: number;
|
|
1904
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1905
|
+
productId: number;
|
|
1906
|
+
variantId: number;
|
|
2182
1907
|
}
|
|
2183
|
-
export declare class
|
|
1908
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1909
|
+
productId: number;
|
|
1910
|
+
customerId: number;
|
|
1911
|
+
customer: Customer;
|
|
1912
|
+
deletedAt?: Date;
|
|
1913
|
+
product: Product;
|
|
2184
1914
|
}
|
|
2185
|
-
export declare class
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
paymentStatus
|
|
2190
|
-
|
|
1915
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1916
|
+
productId: number;
|
|
1917
|
+
userId: number;
|
|
1918
|
+
user?: User;
|
|
1919
|
+
paymentStatus: PaymentStatusEnum;
|
|
1920
|
+
productName: string;
|
|
1921
|
+
productPrice: number;
|
|
1922
|
+
productQuantity: number;
|
|
1923
|
+
productQuantityLeft: number;
|
|
1924
|
+
productPriceCurrency: CurrencyEnum;
|
|
2191
1925
|
ordinal?: number;
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
amountToPay: number;
|
|
2198
|
-
organizationId: number;
|
|
2199
|
-
payingUserId: number;
|
|
2200
|
-
paymentMethodData: PurchasePaymentDto;
|
|
2201
|
-
shiftId?: number;
|
|
2202
|
-
}
|
|
2203
|
-
export declare class RedeemPunchCardRequestDto {
|
|
2204
|
-
products: PurchaseProductDto[];
|
|
2205
|
-
answersTitlesIds: number[];
|
|
2206
|
-
organizationId: number;
|
|
2207
|
-
purchasingUserId: number;
|
|
2208
|
-
}
|
|
2209
|
-
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
2210
|
-
orderId: number;
|
|
2211
|
-
}
|
|
2212
|
-
export declare class AddItemsDto {
|
|
2213
|
-
products: PurchaseProductDto[];
|
|
2214
|
-
allocateResource: boolean;
|
|
2215
|
-
skipMail: boolean;
|
|
2216
|
-
}
|
|
2217
|
-
export declare class PartialPaymentAsUserDto {
|
|
2218
|
-
orderId: any;
|
|
2219
|
-
organizationId: any;
|
|
2220
|
-
amountToPay: any;
|
|
2221
|
-
paymentMethodData: any;
|
|
1926
|
+
purchasedResources: PurchasedResource[];
|
|
1927
|
+
product: Product;
|
|
1928
|
+
lineItem: LineItems;
|
|
1929
|
+
slots?: Slot[];
|
|
1930
|
+
addons?: Addon[];
|
|
2222
1931
|
}
|
|
2223
|
-
export declare class
|
|
1932
|
+
export declare class Program extends BondBaseEntity {
|
|
1933
|
+
type: ProgramTypesEnum;
|
|
2224
1934
|
name: string;
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
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;
|
|
2232
1944
|
organizationId: number;
|
|
2233
|
-
|
|
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[];
|
|
2234
1953
|
}
|
|
2235
|
-
export declare class
|
|
2236
|
-
|
|
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;
|
|
2237
1961
|
}
|
|
2238
|
-
export declare class
|
|
1962
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
2239
1963
|
programId: number;
|
|
2240
|
-
organizationId: number;
|
|
2241
|
-
}
|
|
2242
|
-
export declare class BaseProgramDto {
|
|
2243
|
-
type: ProgramTypesEnum;
|
|
2244
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;
|
|
2245
1985
|
sport: SportsEnum;
|
|
2246
1986
|
minAge: string;
|
|
2247
1987
|
maxAge: string;
|
|
2248
1988
|
gender: GenderEnum;
|
|
2249
|
-
level
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
1989
|
+
level: LevelOfPlayEnum[] | null;
|
|
1990
|
+
blockedDated: BlockedDate[];
|
|
1991
|
+
seasonAttendees: SeasonAttendee[];
|
|
1992
|
+
products: Product[];
|
|
1993
|
+
linkSEO: string;
|
|
1994
|
+
address: Address;
|
|
1995
|
+
defaultProductId?: number;
|
|
2256
1996
|
longDescription?: string;
|
|
2257
|
-
|
|
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[];
|
|
2258
2015
|
}
|
|
2259
|
-
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;
|
|
2260
2037
|
}
|
|
2261
|
-
export declare class
|
|
2262
|
-
|
|
2263
|
-
|
|
2038
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2039
|
+
title: string | null;
|
|
2040
|
+
answerTitle: AnswerTitle;
|
|
2264
2041
|
}
|
|
2265
|
-
export declare class
|
|
2266
|
-
|
|
2267
|
-
|
|
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;
|
|
2268
2055
|
}
|
|
2269
|
-
export declare class
|
|
2270
|
-
|
|
2056
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2057
|
+
reason: string;
|
|
2271
2058
|
ordinal: number;
|
|
2272
|
-
|
|
2273
|
-
title: string;
|
|
2059
|
+
deletedAt: Date;
|
|
2274
2060
|
}
|
|
2275
|
-
export declare class
|
|
2276
|
-
|
|
2277
|
-
|
|
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;
|
|
2278
2071
|
}
|
|
2279
|
-
export declare class
|
|
2280
|
-
|
|
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;
|
|
2080
|
+
customerId?: number;
|
|
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[];
|
|
2281
2103
|
}
|
|
2282
|
-
export declare class
|
|
2104
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2283
2105
|
name: string;
|
|
2284
|
-
|
|
2106
|
+
resourceType: ResourceTypeEnum;
|
|
2107
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2285
2108
|
description?: string;
|
|
2286
2109
|
longDescription?: string;
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2110
|
+
surface?: SurfacesEnum;
|
|
2111
|
+
properties?: SpacePropertiesEnum[];
|
|
2112
|
+
mainMediaId?: number;
|
|
2113
|
+
mainMedia: Media;
|
|
2114
|
+
sports: SportsEnum[];
|
|
2290
2115
|
width?: number;
|
|
2291
2116
|
length?: number;
|
|
2292
|
-
|
|
2117
|
+
amenities?: AmenitiesEnum[];
|
|
2118
|
+
parentSpaceId?: number;
|
|
2119
|
+
ordinal?: number;
|
|
2120
|
+
isAddOn: boolean;
|
|
2293
2121
|
ages?: ResourceAgesEnum;
|
|
2294
|
-
|
|
2295
|
-
activityTimes:
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
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;
|
|
2131
|
+
}
|
|
2132
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2133
|
+
name: string;
|
|
2134
|
+
facilityId: number;
|
|
2135
|
+
parentSlotId: number;
|
|
2136
|
+
childrenSlotIds: number[];
|
|
2137
|
+
deletedAt?: Date;
|
|
2138
|
+
}
|
|
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;
|
|
2146
|
+
}
|
|
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;
|
|
2160
|
+
}
|
|
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;
|
|
2181
|
+
}
|
|
2182
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2183
|
+
seasonId: number | null;
|
|
2184
|
+
teamId: number | null;
|
|
2185
|
+
standingPosition: number | null;
|
|
2186
|
+
statistics: any | null;
|
|
2187
|
+
points: number | null;
|
|
2188
|
+
divisionId: number | null;
|
|
2189
|
+
metaData: any | null;
|
|
2190
|
+
team: Team;
|
|
2191
|
+
}
|
|
2192
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2193
|
+
blockingSpaceId: number;
|
|
2194
|
+
blockedSpaceId: number;
|
|
2299
2195
|
}
|
|
2300
|
-
export declare class
|
|
2196
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2301
2197
|
name: string;
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2198
|
+
facilityId: 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[];
|
|
2306
2206
|
}
|
|
2307
|
-
export declare class
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
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;
|
|
2313
2214
|
}
|
|
2314
|
-
export declare class
|
|
2315
|
-
|
|
2215
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2216
|
+
productType: ProductTypesEnum;
|
|
2217
|
+
name: string;
|
|
2218
|
+
ordinal?: number;
|
|
2219
|
+
deletedAt?: Date;
|
|
2220
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2221
|
+
stations: Station[];
|
|
2316
2222
|
}
|
|
2317
|
-
export declare class
|
|
2318
|
-
|
|
2319
|
-
|
|
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;
|
|
2320
2256
|
}
|
|
2321
|
-
export declare class
|
|
2322
|
-
|
|
2323
|
-
|
|
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;
|
|
2324
2265
|
}
|
|
2325
|
-
export declare class
|
|
2326
|
-
|
|
2327
|
-
|
|
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;
|
|
2328
2274
|
}
|
|
2329
|
-
export declare class
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
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[];
|
|
2334
2313
|
}
|
|
2335
|
-
export declare class
|
|
2336
|
-
|
|
2314
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2315
|
+
entityId: number | null;
|
|
2316
|
+
userId: number | null;
|
|
2317
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2318
|
+
user: User;
|
|
2337
2319
|
}
|
|
2338
|
-
export declare class
|
|
2339
|
-
|
|
2340
|
-
|
|
2320
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2321
|
+
familyAccountId: number;
|
|
2322
|
+
userId: number;
|
|
2323
|
+
isAdmin: boolean;
|
|
2324
|
+
user: User;
|
|
2325
|
+
familyAccount: FamilyAccount;
|
|
2326
|
+
deletedAt?: Date;
|
|
2341
2327
|
}
|
|
2342
|
-
export declare class
|
|
2328
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2329
|
+
groupId: number;
|
|
2343
2330
|
userId: number;
|
|
2331
|
+
deletedAt?: Date;
|
|
2344
2332
|
}
|
|
2345
|
-
export declare class
|
|
2346
|
-
|
|
2333
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2334
|
+
name: string;
|
|
2335
|
+
variants: Variant[];
|
|
2347
2336
|
}
|
|
2348
|
-
export declare class
|
|
2349
|
-
|
|
2337
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2338
|
+
name: string;
|
|
2339
|
+
variantTitleId: number;
|
|
2340
|
+
variantTitle: VariantTitle;
|
|
2341
|
+
deletedAt?: Date;
|
|
2342
|
+
}
|
|
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",
|
|
@@ -3396,16 +3396,105 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3396
3396
|
name: string;
|
|
3397
3397
|
locked?: Date;
|
|
3398
3398
|
}
|
|
3399
|
+
export interface ValidatedMonthAndDay {
|
|
3400
|
+
valid: boolean;
|
|
3401
|
+
month?: number;
|
|
3402
|
+
day?: number;
|
|
3403
|
+
}
|
|
3404
|
+
export interface ValidationReason {
|
|
3405
|
+
valid: boolean;
|
|
3406
|
+
reason?: string;
|
|
3407
|
+
}
|
|
3408
|
+
export interface PaymentStatus {
|
|
3409
|
+
parentId: number;
|
|
3410
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3411
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3412
|
+
id?: number;
|
|
3413
|
+
}
|
|
3414
|
+
export interface PaymentStatusesDict {
|
|
3415
|
+
[id: number]: PaymentStatus[];
|
|
3416
|
+
}
|
|
3417
|
+
export interface PaymentStatusDict {
|
|
3418
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3419
|
+
}
|
|
3399
3420
|
export declare class CreateMonitorConfigDto {
|
|
3400
3421
|
facilityId: number;
|
|
3401
3422
|
name: string;
|
|
3402
3423
|
code: string;
|
|
3403
3424
|
config: any;
|
|
3404
3425
|
}
|
|
3405
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3406
|
-
facilityId: number;
|
|
3407
|
-
code: string;
|
|
3408
|
-
config?: any;
|
|
3426
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3427
|
+
facilityId: number;
|
|
3428
|
+
code: string;
|
|
3429
|
+
config?: any;
|
|
3430
|
+
}
|
|
3431
|
+
export declare class ByOrganizationIdDto {
|
|
3432
|
+
organizationId: number;
|
|
3433
|
+
}
|
|
3434
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3435
|
+
organizationId?: number;
|
|
3436
|
+
}
|
|
3437
|
+
export declare class Organization extends BondBaseEntity {
|
|
3438
|
+
name: string | null;
|
|
3439
|
+
email: string | null;
|
|
3440
|
+
twitter: string | null;
|
|
3441
|
+
facebook: string | null;
|
|
3442
|
+
instagram: string | null;
|
|
3443
|
+
website: string | null;
|
|
3444
|
+
blog: string | null;
|
|
3445
|
+
phoneNumber: string | null;
|
|
3446
|
+
waiverDoc: string | null;
|
|
3447
|
+
about: string | null;
|
|
3448
|
+
tagline: string | null;
|
|
3449
|
+
status: number | null;
|
|
3450
|
+
addressId: number | null;
|
|
3451
|
+
merchantId: number | null;
|
|
3452
|
+
userCreatorId: number | null;
|
|
3453
|
+
parentId: number | null;
|
|
3454
|
+
paymentSettings: object | null;
|
|
3455
|
+
settings: object | null;
|
|
3456
|
+
isClaimed: boolean | null;
|
|
3457
|
+
sports: number[] | null;
|
|
3458
|
+
mainMediaId: number | null;
|
|
3459
|
+
deletedAt: Date | null;
|
|
3460
|
+
organizationActivityTypes: number[] | null;
|
|
3461
|
+
organizationTypes: number[] | null;
|
|
3462
|
+
organizationAudienceTypes: number[] | null;
|
|
3463
|
+
organizationGenders: number[] | null;
|
|
3464
|
+
questionnaireId: number | null;
|
|
3465
|
+
membershipQuestionnaireId: number | null;
|
|
3466
|
+
feeRate: number;
|
|
3467
|
+
feeAddDollarRate: number;
|
|
3468
|
+
achFeeRate: number;
|
|
3469
|
+
achFeeAddDollarRate: number;
|
|
3470
|
+
maxAchFee: number;
|
|
3471
|
+
cashFeeRate: number;
|
|
3472
|
+
cashFeeAddDollarRate: number;
|
|
3473
|
+
terminalFeeRate: number;
|
|
3474
|
+
terminalFeeAddDollarRate: number;
|
|
3475
|
+
checkFeeRate: number;
|
|
3476
|
+
checkFeeAddDollarRate: number;
|
|
3477
|
+
otherFeeRate: number;
|
|
3478
|
+
otherFeeAddDollarRate: number;
|
|
3479
|
+
balanceFeeRate: number;
|
|
3480
|
+
balanceFeeAddDollarRate: number;
|
|
3481
|
+
address: Address;
|
|
3482
|
+
mainMedia: Media;
|
|
3483
|
+
brandings: OrganizationBranding[];
|
|
3484
|
+
brandingsV2?: OrganizationBranding[];
|
|
3485
|
+
}
|
|
3486
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3487
|
+
key?: string;
|
|
3488
|
+
vaule?: string;
|
|
3489
|
+
version: number;
|
|
3490
|
+
organization: Organization;
|
|
3491
|
+
}
|
|
3492
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3493
|
+
mainAdminUserId?: number;
|
|
3494
|
+
}
|
|
3495
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3496
|
+
organisationId: number | null;
|
|
3497
|
+
userId: number | null;
|
|
3409
3498
|
}
|
|
3410
3499
|
export declare class CustomerIdDto {
|
|
3411
3500
|
customerId: number;
|
|
@@ -3556,96 +3645,44 @@ export declare class VoidLineItemDto {
|
|
|
3556
3645
|
isEdit?: boolean;
|
|
3557
3646
|
amount?: number;
|
|
3558
3647
|
}
|
|
3559
|
-
export
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
deletedAt: Date | null;
|
|
3588
|
-
organizationActivityTypes: number[] | null;
|
|
3589
|
-
organizationTypes: number[] | null;
|
|
3590
|
-
organizationAudienceTypes: number[] | null;
|
|
3591
|
-
organizationGenders: number[] | null;
|
|
3592
|
-
questionnaireId: number | null;
|
|
3593
|
-
membershipQuestionnaireId: number | null;
|
|
3594
|
-
feeRate: number;
|
|
3595
|
-
feeAddDollarRate: number;
|
|
3596
|
-
achFeeRate: number;
|
|
3597
|
-
achFeeAddDollarRate: number;
|
|
3598
|
-
maxAchFee: number;
|
|
3599
|
-
cashFeeRate: number;
|
|
3600
|
-
cashFeeAddDollarRate: number;
|
|
3601
|
-
terminalFeeRate: number;
|
|
3602
|
-
terminalFeeAddDollarRate: number;
|
|
3603
|
-
checkFeeRate: number;
|
|
3604
|
-
checkFeeAddDollarRate: number;
|
|
3605
|
-
otherFeeRate: number;
|
|
3606
|
-
otherFeeAddDollarRate: number;
|
|
3607
|
-
balanceFeeRate: number;
|
|
3608
|
-
balanceFeeAddDollarRate: number;
|
|
3609
|
-
address: Address;
|
|
3610
|
-
mainMedia: Media;
|
|
3611
|
-
brandings: OrganizationBranding[];
|
|
3612
|
-
brandingsV2?: OrganizationBranding[];
|
|
3613
|
-
}
|
|
3614
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3615
|
-
key?: string;
|
|
3616
|
-
vaule?: string;
|
|
3617
|
-
version: number;
|
|
3618
|
-
organization: Organization;
|
|
3619
|
-
}
|
|
3620
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3621
|
-
mainAdminUserId?: number;
|
|
3622
|
-
}
|
|
3623
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3624
|
-
organisationId: number | null;
|
|
3625
|
-
userId: number | null;
|
|
3626
|
-
}
|
|
3627
|
-
export declare class ChangeRolePermissionsDto {
|
|
3628
|
-
permissionIds: number[];
|
|
3629
|
-
}
|
|
3630
|
-
export declare class CreateRoleDto {
|
|
3631
|
-
name: string;
|
|
3632
|
-
}
|
|
3633
|
-
export declare class Permission extends BondBaseEntity {
|
|
3634
|
-
name: string;
|
|
3635
|
-
deletedAt?: Date;
|
|
3648
|
+
export interface PaymentResult {
|
|
3649
|
+
paymentMethodId: string;
|
|
3650
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3651
|
+
amount: number;
|
|
3652
|
+
receiptId?: number;
|
|
3653
|
+
paymentMethod4Digits?: string;
|
|
3654
|
+
errorMessage?: string;
|
|
3655
|
+
wasSuccessful: boolean;
|
|
3656
|
+
}
|
|
3657
|
+
export interface PaymentsResults {
|
|
3658
|
+
success: PaymentResult[];
|
|
3659
|
+
failed: PaymentResult[];
|
|
3660
|
+
}
|
|
3661
|
+
export interface OrderPaymentSum {
|
|
3662
|
+
priceSum: number;
|
|
3663
|
+
paidSum: number;
|
|
3664
|
+
}
|
|
3665
|
+
export interface ExtendedLineItems {
|
|
3666
|
+
memberships: LineItems[];
|
|
3667
|
+
programs: LineItems[];
|
|
3668
|
+
leagues: LineItems[];
|
|
3669
|
+
rentals: LineItems[];
|
|
3670
|
+
products: LineItems[];
|
|
3671
|
+
events: LineItems[];
|
|
3672
|
+
}
|
|
3673
|
+
export declare class FindInvoices extends ByPaymentFilter {
|
|
3674
|
+
id?: number;
|
|
3675
|
+
months?: string;
|
|
3636
3676
|
}
|
|
3637
|
-
export
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
role: Role;
|
|
3642
|
-
user: User;
|
|
3677
|
+
export interface RefundResult extends PaymentsResults {
|
|
3678
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3679
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3680
|
+
order?: Order;
|
|
3643
3681
|
}
|
|
3644
|
-
export
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
usersRoles: UserRole[];
|
|
3682
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3683
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3684
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3685
|
+
totalAmountProcessed: number;
|
|
3649
3686
|
}
|
|
3650
3687
|
export declare class LineItemDto {
|
|
3651
3688
|
id?: number;
|
|
@@ -4020,20 +4057,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4020
4057
|
invoiceId: number;
|
|
4021
4058
|
slotId: number;
|
|
4022
4059
|
}
|
|
4023
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4024
|
-
deletedAt?: Date;
|
|
4025
|
-
reservationId: number;
|
|
4026
|
-
title: string;
|
|
4027
|
-
isPrivate: boolean;
|
|
4028
|
-
resourceIds?: number[];
|
|
4029
|
-
sportId: number;
|
|
4030
|
-
reservation?: Reservation;
|
|
4031
|
-
series?: Series[];
|
|
4032
|
-
addonIds?: number[] | null;
|
|
4033
|
-
publicNotesForSlots?: string;
|
|
4034
|
-
privateNotesForSlots?: string;
|
|
4035
|
-
slots?: Slot[];
|
|
4036
|
-
}
|
|
4037
4060
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4038
4061
|
name?: string;
|
|
4039
4062
|
description?: string;
|
|
@@ -4073,6 +4096,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4073
4096
|
targetGlobalPrice?: number;
|
|
4074
4097
|
slots: Slot[];
|
|
4075
4098
|
}
|
|
4099
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4100
|
+
deletedAt?: Date;
|
|
4101
|
+
reservationId: number;
|
|
4102
|
+
title: string;
|
|
4103
|
+
isPrivate: boolean;
|
|
4104
|
+
resourceIds?: number[];
|
|
4105
|
+
sportId: number;
|
|
4106
|
+
reservation?: Reservation;
|
|
4107
|
+
series?: Series[];
|
|
4108
|
+
addonIds?: number[] | null;
|
|
4109
|
+
publicNotesForSlots?: string;
|
|
4110
|
+
privateNotesForSlots?: string;
|
|
4111
|
+
slots?: Slot[];
|
|
4112
|
+
}
|
|
4076
4113
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4077
4114
|
deletedAt?: Date;
|
|
4078
4115
|
segmentId: number;
|
|
@@ -4159,9 +4196,243 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4159
4196
|
changeLineItems?: LineItems[];
|
|
4160
4197
|
updatedLineItem?: LineItems;
|
|
4161
4198
|
}
|
|
4199
|
+
export declare type TSlotAndType = {
|
|
4200
|
+
type: 'slots' | 'slot_addons';
|
|
4201
|
+
slotsForProduct: {
|
|
4202
|
+
[productId: number]: {
|
|
4203
|
+
product: Product;
|
|
4204
|
+
slots: SlotDto[];
|
|
4205
|
+
};
|
|
4206
|
+
};
|
|
4207
|
+
};
|
|
4208
|
+
export interface ILineItemResource {
|
|
4209
|
+
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4210
|
+
values: TResource[];
|
|
4211
|
+
}
|
|
4212
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
|
|
4213
|
+
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4214
|
+
export interface ReservationV1 {
|
|
4215
|
+
id: number;
|
|
4216
|
+
price: number;
|
|
4217
|
+
status: string;
|
|
4218
|
+
sentForClientDate?: string;
|
|
4219
|
+
sentForAdminDate?: string;
|
|
4220
|
+
name?: string;
|
|
4221
|
+
}
|
|
4222
|
+
export declare class SlotDateDto {
|
|
4223
|
+
startDate: moment.Moment;
|
|
4224
|
+
endDate: moment.Moment;
|
|
4225
|
+
}
|
|
4226
|
+
export interface IProductQuantity {
|
|
4227
|
+
productId: number;
|
|
4228
|
+
quantity?: number;
|
|
4229
|
+
unitPrice?: number;
|
|
4230
|
+
}
|
|
4231
|
+
export interface SlotsLineItemData extends BaseReservationItemLineItemData {
|
|
4232
|
+
slotIds: number[];
|
|
4233
|
+
}
|
|
4234
|
+
export interface AddonsLineItemData extends BaseReservationItemLineItemData {
|
|
4235
|
+
addonsIds: number[];
|
|
4236
|
+
}
|
|
4237
|
+
export declare type ReservationItemLineItemData = BaseReservationItemLineItemData | SlotsLineItemData | AddonsLineItemData;
|
|
4238
|
+
export interface BaseReservationItemLineItemData {
|
|
4239
|
+
id: number;
|
|
4240
|
+
amount: number;
|
|
4241
|
+
amountPaid: number;
|
|
4242
|
+
quantity: number;
|
|
4243
|
+
canVoid: boolean;
|
|
4244
|
+
canRefund: boolean;
|
|
4245
|
+
isEdit?: boolean;
|
|
4246
|
+
}
|
|
4247
|
+
export interface IRemoveSlotsFinancialData {
|
|
4248
|
+
paymentMethods: IPaymentMethodToFundLeft[];
|
|
4249
|
+
lineItems: SlotsLineItemData[];
|
|
4250
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4251
|
+
}
|
|
4252
|
+
export interface IRemoveAddonsFinancialData {
|
|
4253
|
+
paymentMethods: IPaymentMethodToFundLeft[];
|
|
4254
|
+
lineItems: AddonsLineItemData[];
|
|
4255
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4256
|
+
}
|
|
4257
|
+
export interface ReservationData {
|
|
4258
|
+
id: number;
|
|
4259
|
+
reservationName: string;
|
|
4260
|
+
customerId: number;
|
|
4261
|
+
customerFirstName: string;
|
|
4262
|
+
customerLastName: string;
|
|
4263
|
+
spaces: SpaceInReservation[];
|
|
4264
|
+
startDate: string;
|
|
4265
|
+
endDate: string;
|
|
4266
|
+
price: number;
|
|
4267
|
+
status: ReservationStatusEnum;
|
|
4268
|
+
paymentStatus: PaymentStatusEnum;
|
|
4269
|
+
frequencies: FrequencyInReservation[];
|
|
4270
|
+
reservationType: ReservationTypeEnum;
|
|
4271
|
+
}
|
|
4272
|
+
export interface SpaceInReservation {
|
|
4273
|
+
reservationId: number;
|
|
4274
|
+
spaceId: number;
|
|
4275
|
+
spaceName: string;
|
|
4276
|
+
}
|
|
4277
|
+
export interface FrequencyInReservation {
|
|
4278
|
+
reservationId: number;
|
|
4279
|
+
frequency?: string;
|
|
4280
|
+
repeatEvery?: number;
|
|
4281
|
+
repeatOn?: number[];
|
|
4282
|
+
repeatEndDate?: string;
|
|
4283
|
+
}
|
|
4284
|
+
export interface FindReservationsByOrganizationIdFilters extends PaginationQuery {
|
|
4285
|
+
resourcesIds?: string;
|
|
4286
|
+
datesRange?: {
|
|
4287
|
+
startDate: string;
|
|
4288
|
+
endDate: string;
|
|
4289
|
+
};
|
|
4290
|
+
approvalStatuses?: string[];
|
|
4291
|
+
paymentStatuses?: string[];
|
|
4292
|
+
customerName?: string;
|
|
4293
|
+
}
|
|
4294
|
+
export interface FindSlotsByFacilityIdFilters {
|
|
4295
|
+
startDate: string;
|
|
4296
|
+
endDate: string;
|
|
4297
|
+
limit: number;
|
|
4298
|
+
includeBlocking: boolean;
|
|
4299
|
+
onlyActiveSessions?: boolean;
|
|
4300
|
+
resourcesIds?: number[];
|
|
4301
|
+
resourcesTypes?: ResourceTypeEnum[];
|
|
4302
|
+
reservationStatuses?: ReservationStatusEnum[];
|
|
4303
|
+
}
|
|
4304
|
+
export interface ResourceSlots extends Resource {
|
|
4305
|
+
slots: Slot[];
|
|
4306
|
+
}
|
|
4307
|
+
export interface PriceFields {
|
|
4308
|
+
unitPrice: string;
|
|
4309
|
+
price: string;
|
|
4310
|
+
totalTax: string;
|
|
4311
|
+
quantity: string;
|
|
4312
|
+
isTaxInclusive: boolean;
|
|
4313
|
+
currency: string;
|
|
4314
|
+
}
|
|
4315
|
+
export interface LineItemPrice {
|
|
4316
|
+
unitPrice: number;
|
|
4317
|
+
unitTax: number;
|
|
4318
|
+
isTaxInclusive: boolean;
|
|
4319
|
+
unitPricePerHour: number;
|
|
4320
|
+
taxPerHour: number;
|
|
4321
|
+
quantity: number;
|
|
4322
|
+
currency: string;
|
|
4323
|
+
totalPrice: number;
|
|
4324
|
+
}
|
|
4325
|
+
export interface CalendarCardAddon extends ProductsUsers {
|
|
4326
|
+
price: LineItemPrice;
|
|
4327
|
+
}
|
|
4328
|
+
export interface CalendarSlotCard extends Slot {
|
|
4329
|
+
reservation: Reservation & {
|
|
4330
|
+
resources?: {
|
|
4331
|
+
id: number;
|
|
4332
|
+
name: string;
|
|
4333
|
+
}[];
|
|
4334
|
+
};
|
|
4335
|
+
addons: CalendarCardAddon[];
|
|
4336
|
+
invoice: Order;
|
|
4337
|
+
price: LineItemPrice;
|
|
4338
|
+
totalSlotsInSeries?: number;
|
|
4339
|
+
slotIndexInSeries?: number;
|
|
4340
|
+
}
|
|
4341
|
+
declare type IPartialInvoice = Pick<Order, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4342
|
+
export declare type IPartialPayment = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4343
|
+
export interface IInvoice extends IPartialInvoice {
|
|
4344
|
+
lineItemsCount: number;
|
|
4345
|
+
}
|
|
4346
|
+
export interface SingleReservation {
|
|
4347
|
+
id: number;
|
|
4348
|
+
name: string;
|
|
4349
|
+
organizationId: number;
|
|
4350
|
+
description: string;
|
|
4351
|
+
updatedAt: Date;
|
|
4352
|
+
privateNotes: string;
|
|
4353
|
+
publicNotes: string;
|
|
4354
|
+
approvalStatus: string;
|
|
4355
|
+
paymentStatus: PaymentStatusEnum;
|
|
4356
|
+
reservationType: ReservationTypeEnum;
|
|
4357
|
+
sports: number[];
|
|
4358
|
+
addonsProductUserIds: number[];
|
|
4359
|
+
facilityId?: number;
|
|
4360
|
+
customerId: number;
|
|
4361
|
+
customer?: Customer;
|
|
4362
|
+
invoices?: IInvoice[];
|
|
4363
|
+
payments?: IPartialPayment[];
|
|
4364
|
+
addons?: Addon[];
|
|
4365
|
+
answers?: Answer[];
|
|
4366
|
+
series: Series[];
|
|
4367
|
+
segments?: Segment[];
|
|
4368
|
+
}
|
|
4369
|
+
export interface UpdateReservationResult {
|
|
4370
|
+
reservation: Reservation;
|
|
4371
|
+
order?: Order;
|
|
4372
|
+
debug?: any;
|
|
4373
|
+
}
|
|
4374
|
+
export interface UpdateSlotPricesResult {
|
|
4375
|
+
reservation: ReservationDto;
|
|
4376
|
+
slots: SlotDto[];
|
|
4377
|
+
order: OrderDto;
|
|
4378
|
+
debug?: any;
|
|
4379
|
+
}
|
|
4380
|
+
export interface UpdateSlotsAddonsResult {
|
|
4381
|
+
slots: SlotDto[];
|
|
4382
|
+
order: OrderDto;
|
|
4383
|
+
debug?: any;
|
|
4384
|
+
}
|
|
4385
|
+
export interface ValidateEditSlotsResult {
|
|
4386
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4387
|
+
slots: SlotDto[];
|
|
4388
|
+
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4389
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4390
|
+
originalInvoicePrice?: number;
|
|
4391
|
+
updatedInvoicePrice?: number;
|
|
4392
|
+
priceChange?: number;
|
|
4393
|
+
editData?: EditSlotsData;
|
|
4394
|
+
}
|
|
4395
|
+
export interface EditSlotsRefundMetadata {
|
|
4396
|
+
lineItems: SlotsLineItemData[];
|
|
4397
|
+
refundAmount: number;
|
|
4398
|
+
}
|
|
4399
|
+
export interface EditSlotsData {
|
|
4400
|
+
order?: Order;
|
|
4401
|
+
editSlotsLineItems?: SlotsLineItemData[];
|
|
4402
|
+
newLineItems?: LineItemDto[];
|
|
4403
|
+
}
|
|
4404
|
+
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4405
|
+
refundResult?: RefundResult;
|
|
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
|
+
}
|
|
4417
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4418
|
+
name: string;
|
|
4419
|
+
deletedAt?: Date;
|
|
4420
|
+
permissions: Permission[];
|
|
4421
|
+
usersRoles: UserRole[];
|
|
4422
|
+
}
|
|
4423
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4424
|
+
deletedAt?: Date;
|
|
4425
|
+
userId: number;
|
|
4426
|
+
roleId: number;
|
|
4427
|
+
role: Role;
|
|
4428
|
+
user: User;
|
|
4429
|
+
}
|
|
4162
4430
|
export declare class CloseShiftDto {
|
|
4163
4431
|
closingCashAmount: number;
|
|
4164
4432
|
}
|
|
4433
|
+
export declare class FindShiftsByIdsDto {
|
|
4434
|
+
shiftIds: number[];
|
|
4435
|
+
}
|
|
4165
4436
|
export declare class FindShiftsFiltersDto {
|
|
4166
4437
|
statuses?: string;
|
|
4167
4438
|
stationIds?: string;
|
|
@@ -4193,9 +4464,6 @@ export declare class OpenShiftDto {
|
|
|
4193
4464
|
openingCashAmount: number;
|
|
4194
4465
|
stationId: number;
|
|
4195
4466
|
}
|
|
4196
|
-
export declare class FindShiftsByIdsDto {
|
|
4197
|
-
shiftIds: number[];
|
|
4198
|
-
}
|
|
4199
4467
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4200
4468
|
stationId: number;
|
|
4201
4469
|
station?: Station;
|