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