@bondsports/types 0.0.71 → 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 +2162 -2161
- 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
|
-
|
|
32
|
-
|
|
66
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
67
|
+
athleteId: number | null;
|
|
68
|
+
sports: number | null;
|
|
69
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
33
70
|
}
|
|
34
|
-
export declare class
|
|
71
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
72
|
+
entityType: ResourceNameTypeEnum;
|
|
73
|
+
entityId: number;
|
|
35
74
|
name: string;
|
|
36
|
-
startDate:
|
|
37
|
-
endDate:
|
|
38
|
-
|
|
39
|
-
endTime: string;
|
|
40
|
-
spacesIds?: number[];
|
|
41
|
-
publicNotes?: string;
|
|
42
|
-
privateNotes?: string;
|
|
43
|
-
isInformAttendees?: boolean;
|
|
44
|
-
minutesBeforeSlot?: number;
|
|
45
|
-
minutesAfterSlot?: number;
|
|
46
|
-
}
|
|
47
|
-
export declare class AddEventToSessionDto {
|
|
48
|
-
eventsData: UpdateEventDto[];
|
|
75
|
+
startDate: Date;
|
|
76
|
+
endDate: Date;
|
|
77
|
+
deletedAt?: Date;
|
|
49
78
|
}
|
|
50
|
-
export declare class
|
|
51
|
-
|
|
79
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
80
|
+
id: number;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
updatedAt: Date;
|
|
52
83
|
}
|
|
53
|
-
export declare class
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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;
|
|
59
99
|
publicNotes?: string;
|
|
60
|
-
|
|
61
|
-
isInformAttendees?: boolean;
|
|
62
|
-
minutesBeforeSlot?: number;
|
|
63
|
-
minutesAfterSlot?: number;
|
|
100
|
+
slotType?: SlotTypeEnum;
|
|
64
101
|
}
|
|
65
|
-
export declare class
|
|
66
|
-
|
|
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;
|
|
67
111
|
}
|
|
68
|
-
export declare class
|
|
69
|
-
|
|
112
|
+
export declare class Configuration extends BondBaseEntity {
|
|
113
|
+
area: string;
|
|
114
|
+
key: string;
|
|
115
|
+
value: string;
|
|
70
116
|
}
|
|
71
|
-
export declare class
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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;
|
|
75
128
|
}
|
|
76
|
-
export declare class
|
|
77
|
-
|
|
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;
|
|
78
136
|
}
|
|
79
|
-
export declare class
|
|
80
|
-
|
|
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[];
|
|
81
164
|
}
|
|
82
|
-
export declare class
|
|
83
|
-
|
|
84
|
-
|
|
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;
|
|
85
176
|
}
|
|
86
|
-
export
|
|
87
|
-
|
|
177
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
178
|
+
customerId?: number;
|
|
179
|
+
description: string;
|
|
180
|
+
pinToTop?: boolean;
|
|
181
|
+
customer: Customer;
|
|
182
|
+
}
|
|
183
|
+
export declare class Division extends BondBaseEntity {
|
|
88
184
|
name: string;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
startDate: Date;
|
|
95
|
-
endDate: Date;
|
|
96
|
-
startTime: string;
|
|
97
|
-
endTime: string;
|
|
98
|
-
resources: IBasicSpaceAndSlotCreator[];
|
|
99
|
-
attenedanceCount: number;
|
|
100
|
-
checkedInCount: number;
|
|
101
|
-
missingPaymentCount: number;
|
|
102
|
-
publicNotes: string;
|
|
103
|
-
privateNotes: string;
|
|
185
|
+
ordinal?: number;
|
|
186
|
+
programSeasonId: number;
|
|
187
|
+
color: string;
|
|
188
|
+
isDefault: boolean;
|
|
189
|
+
groups: Group[];
|
|
104
190
|
}
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
birthDate: string;
|
|
111
|
-
mediaURL: string;
|
|
112
|
-
signedWaiver: string;
|
|
113
|
-
entryStatus: EntryStatusEnum;
|
|
114
|
-
paymentStatus: PaymentStatusEnum;
|
|
115
|
-
addOns: {
|
|
116
|
-
productId: number;
|
|
117
|
-
productName: string;
|
|
118
|
-
}[];
|
|
119
|
-
totalPasses?: number;
|
|
120
|
-
leftPasses?: number;
|
|
121
|
-
addonProductUserIds: number[];
|
|
191
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
192
|
+
customerId: number;
|
|
193
|
+
name: string | null;
|
|
194
|
+
phoneNumber: string | null;
|
|
195
|
+
customer: Customer;
|
|
122
196
|
}
|
|
123
|
-
export declare class
|
|
124
|
-
|
|
125
|
-
isCheckedIn?: string;
|
|
126
|
-
isNotCheckedIn?: string;
|
|
127
|
-
hasAddons?: string;
|
|
128
|
-
isWaiverSigned?: string;
|
|
129
|
-
statuses?: string;
|
|
197
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
198
|
+
name: string | null;
|
|
130
199
|
}
|
|
131
|
-
export declare class
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
country: string;
|
|
135
|
-
geo: number[];
|
|
200
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
201
|
+
groupId: number;
|
|
202
|
+
terms: IEntitlementTerms[];
|
|
136
203
|
}
|
|
137
|
-
export declare class
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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;
|
|
251
|
+
publicNotes?: string;
|
|
252
|
+
privateNotes?: string;
|
|
253
|
+
productResources: ProductResource[];
|
|
254
|
+
parentSession: ProgramSeason;
|
|
255
|
+
activityTimes: ActivityTimes[];
|
|
256
|
+
slots: Slot[];
|
|
257
|
+
purchasedResources: PurchasedResource[];
|
|
141
258
|
}
|
|
142
|
-
export declare class
|
|
259
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
143
260
|
name: string;
|
|
144
|
-
sports: number[];
|
|
145
261
|
description?: string;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
262
|
+
addressId: number;
|
|
263
|
+
address: Address;
|
|
264
|
+
amenities?: number[];
|
|
149
265
|
timezone: string;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
266
|
+
creatorId: number;
|
|
267
|
+
creatorType: string;
|
|
268
|
+
userCreatorId: number;
|
|
269
|
+
mainMediaId: number;
|
|
270
|
+
mainMedia: Media;
|
|
271
|
+
publishedDate?: Date;
|
|
272
|
+
isPublished: boolean;
|
|
273
|
+
sports?: number[];
|
|
158
274
|
info?: string;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
275
|
+
longDescription?: string;
|
|
276
|
+
deletedAt?: Date;
|
|
277
|
+
openingTimes: OpeningTime[];
|
|
278
|
+
resources: Resource[];
|
|
279
|
+
spaces: Resource[];
|
|
280
|
+
programSeasons: ProgramSeason[];
|
|
281
|
+
linkSEO: string;
|
|
164
282
|
}
|
|
165
|
-
export declare class
|
|
166
|
-
|
|
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;
|
|
167
297
|
}
|
|
168
|
-
export declare class
|
|
169
|
-
|
|
298
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
299
|
+
facilityId: number;
|
|
300
|
+
resourceId: number;
|
|
170
301
|
}
|
|
171
|
-
export declare class
|
|
172
|
-
|
|
302
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
303
|
+
name: string | null;
|
|
304
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
173
305
|
}
|
|
174
|
-
export declare class
|
|
175
|
-
|
|
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;
|
|
176
315
|
}
|
|
177
|
-
export declare class
|
|
178
|
-
|
|
316
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
317
|
+
code: string;
|
|
179
318
|
}
|
|
180
|
-
export declare class
|
|
181
|
-
|
|
182
|
-
|
|
319
|
+
export declare class Group extends BondBaseEntity {
|
|
320
|
+
name: string;
|
|
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[];
|
|
183
334
|
}
|
|
184
|
-
export declare class
|
|
185
|
-
|
|
335
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
336
|
+
groupId: number;
|
|
337
|
+
itemId: number;
|
|
338
|
+
itemType: ResourceNameTypeEnum;
|
|
339
|
+
startDate: Date;
|
|
340
|
+
endDate: Date;
|
|
341
|
+
price: number;
|
|
342
|
+
overridesPrice: boolean;
|
|
343
|
+
deletedAt?: Date;
|
|
344
|
+
group?: EntitlementGroup;
|
|
345
|
+
discountMethod?: DiscountMethodsEnum;
|
|
346
|
+
discountValue?: number;
|
|
186
347
|
}
|
|
187
|
-
export declare class
|
|
188
|
-
|
|
189
|
-
|
|
348
|
+
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
349
|
+
price: number;
|
|
350
|
+
paymentProcessorId: string;
|
|
351
|
+
orderToInvoices: OrderToInvoice[];
|
|
352
|
+
paymentStatus: PaymentStatusEnum;
|
|
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;
|
|
190
374
|
}
|
|
191
|
-
export declare class
|
|
192
|
-
|
|
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;
|
|
193
385
|
}
|
|
194
|
-
export declare class
|
|
195
|
-
|
|
386
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
387
|
+
groupId: number;
|
|
388
|
+
divisionId: number;
|
|
389
|
+
deletedAt?: Date;
|
|
196
390
|
}
|
|
197
|
-
export declare class
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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;
|
|
202
399
|
}
|
|
203
|
-
export declare class
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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[];
|
|
210
425
|
}
|
|
211
|
-
export declare class
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
618
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
619
|
+
email: string | null;
|
|
620
|
+
notificationType: NotificationTypeEnum | null;
|
|
621
|
+
resourceId: number | null;
|
|
622
|
+
resourceType: string | null;
|
|
403
623
|
}
|
|
404
|
-
export declare class
|
|
405
|
-
|
|
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;
|
|
406
634
|
}
|
|
407
|
-
export declare class
|
|
408
|
-
|
|
409
|
-
|
|
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[];
|
|
410
658
|
}
|
|
411
|
-
export declare class
|
|
412
|
-
|
|
413
|
-
|
|
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;
|
|
414
667
|
}
|
|
415
|
-
export declare class
|
|
416
|
-
|
|
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;
|
|
417
675
|
}
|
|
418
|
-
export declare class
|
|
419
|
-
|
|
420
|
-
userId: number;
|
|
421
|
-
resources: ResourceDto[];
|
|
676
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
677
|
+
organizationId: number;
|
|
422
678
|
}
|
|
423
|
-
export declare class
|
|
424
|
-
|
|
425
|
-
|
|
679
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
680
|
+
token: string | null;
|
|
681
|
+
userId: number | null;
|
|
682
|
+
validUntil: Date | null;
|
|
683
|
+
active: boolean | null;
|
|
426
684
|
}
|
|
427
|
-
export declare class
|
|
428
|
-
|
|
429
|
-
|
|
685
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
686
|
+
paymentPlanId: number;
|
|
687
|
+
paymentDate: Date;
|
|
688
|
+
deletedAt?: Date;
|
|
689
|
+
paymentPlan: ProductPaymentPlan;
|
|
430
690
|
}
|
|
431
|
-
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;
|
|
432
699
|
organizationId: number;
|
|
700
|
+
creatorId: number;
|
|
701
|
+
creatorType: string;
|
|
702
|
+
userCreatorId: number;
|
|
703
|
+
ownerId: number;
|
|
704
|
+
addon: boolean;
|
|
705
|
+
isMandatory: boolean;
|
|
706
|
+
productId: number;
|
|
433
707
|
}
|
|
434
|
-
export declare class
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
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;
|
|
438
725
|
}
|
|
439
|
-
export declare class
|
|
440
|
-
|
|
726
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
727
|
+
productId: number;
|
|
728
|
+
product: Product;
|
|
729
|
+
name: string | null;
|
|
730
|
+
price: number;
|
|
731
|
+
currency: CurrencyEnum;
|
|
732
|
+
paymentProcessorId: number | null;
|
|
733
|
+
startDate: Date;
|
|
734
|
+
endDate: Date;
|
|
735
|
+
groupId?: number;
|
|
736
|
+
groupName?: string;
|
|
737
|
+
originalPrice?: number;
|
|
738
|
+
deletedAt?: Date;
|
|
739
|
+
discountMethod?: DiscountMethodsEnum;
|
|
740
|
+
discountValue?: number;
|
|
741
|
+
taxIncludedPrice?: number;
|
|
441
742
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
id?: number;
|
|
444
|
-
organizationId: number;
|
|
743
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
445
744
|
name: string;
|
|
446
|
-
quantity
|
|
447
|
-
|
|
745
|
+
quantity: number;
|
|
746
|
+
paymentProcessorId?: string;
|
|
448
747
|
startDate?: Date;
|
|
449
748
|
endDate?: Date;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
resourcesIdsToApplyOn?: number[];
|
|
749
|
+
isPublic: boolean;
|
|
750
|
+
productType?: ProductTypesEnum;
|
|
453
751
|
GL?: string;
|
|
454
|
-
prices: CreatePriceDto[];
|
|
455
752
|
downpayment?: number;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
753
|
+
description?: string;
|
|
754
|
+
prices: Price[];
|
|
755
|
+
currPrice: Price;
|
|
756
|
+
productSubType?: ProductSubTypesEnum;
|
|
757
|
+
punchCard: boolean;
|
|
758
|
+
requiredProductIds?: number[];
|
|
759
|
+
lineItems: LineItems[];
|
|
760
|
+
resources: IResourcesAvailability[];
|
|
463
761
|
variantParentId?: number;
|
|
464
|
-
isAddon
|
|
465
|
-
isArchive
|
|
762
|
+
isAddon: boolean;
|
|
763
|
+
isArchive: boolean;
|
|
764
|
+
productVariants: Product[];
|
|
765
|
+
variantParentProduct: Product;
|
|
766
|
+
variantsObj: Variant[];
|
|
767
|
+
variantTitlesObj: VariantTitle[];
|
|
466
768
|
timePeriod?: AddonTimePeriodEnum;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
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;
|
|
472
783
|
durationMinutes?: number;
|
|
473
784
|
durationDays?: number;
|
|
474
|
-
forms?: number[];
|
|
785
|
+
forms?: number[] | null;
|
|
475
786
|
isForAllCustomers?: boolean;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
export declare class VariantWithPrice {
|
|
482
|
-
variantIds: number[];
|
|
483
|
-
price: CreatePriceDto[];
|
|
484
|
-
}
|
|
485
|
-
export declare class CreatePriceDto {
|
|
486
|
-
id?: number;
|
|
487
|
-
price: number;
|
|
488
|
-
currency: CurrencyEnum;
|
|
489
|
-
name: string;
|
|
490
|
-
startDate?: Date;
|
|
491
|
-
endDate?: Date;
|
|
492
|
-
discountValue?: number;
|
|
493
|
-
discountMethod?: DiscountMethodsEnum;
|
|
494
|
-
isDefaultPriceForProduct?: boolean;
|
|
787
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
788
|
+
reservedForCustomers: Customer[];
|
|
789
|
+
reservedForMemberships: Membership[];
|
|
790
|
+
activityTimes: ActivityTimes[];
|
|
791
|
+
purchasedResources: PurchasedResource[];
|
|
495
792
|
}
|
|
496
|
-
export declare class
|
|
793
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
497
794
|
parentProductId: number;
|
|
498
|
-
|
|
499
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
500
|
-
}
|
|
501
|
-
export declare class CreatePackageToResourceDto {
|
|
502
|
-
resourceId: number;
|
|
503
|
-
resourceType: ResourceNameTypeEnum;
|
|
504
|
-
isCreateToChildProducts: boolean;
|
|
505
|
-
productsData: ProductInPackage[];
|
|
506
|
-
}
|
|
507
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
795
|
+
childProductId: number;
|
|
508
796
|
relationType: PackageProductsRelationTypeEnum;
|
|
509
|
-
|
|
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;
|
|
510
806
|
level?: ProductPackageLevelEnum;
|
|
511
807
|
}
|
|
512
|
-
export declare class
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
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;
|
|
517
816
|
}
|
|
518
|
-
export declare class
|
|
817
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
519
818
|
productId: number;
|
|
819
|
+
resourceId: number;
|
|
520
820
|
resourceType: ResourceNameTypeEnum;
|
|
521
|
-
|
|
821
|
+
deletedAt?: Date;
|
|
822
|
+
programSeason: ProgramSeason;
|
|
823
|
+
event: Event;
|
|
824
|
+
product: Product;
|
|
825
|
+
productPackages: ProductPackage[];
|
|
826
|
+
resourceName?: string;
|
|
522
827
|
}
|
|
523
|
-
export declare class
|
|
524
|
-
userId: number;
|
|
828
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
525
829
|
productId: number;
|
|
830
|
+
variantTitleId: number;
|
|
526
831
|
}
|
|
527
|
-
export declare class
|
|
528
|
-
userId: number;
|
|
529
|
-
organizationId: number;
|
|
530
|
-
}
|
|
531
|
-
export declare class AddRequiredProductsDto {
|
|
832
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
532
833
|
productId: number;
|
|
533
|
-
|
|
534
|
-
}
|
|
535
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
536
|
-
productIds?: number[];
|
|
537
|
-
includePrices?: boolean;
|
|
538
|
-
productType?: ProductTypesEnum;
|
|
539
|
-
includeAddons?: string;
|
|
540
|
-
}
|
|
541
|
-
export declare class GetByOrganizationIdDto {
|
|
542
|
-
organizationId?: number;
|
|
543
|
-
}
|
|
544
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
545
|
-
orderId?: number;
|
|
546
|
-
}
|
|
547
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
548
|
-
productIds?: string;
|
|
549
|
-
includePrices?: boolean;
|
|
550
|
-
productType?: string;
|
|
551
|
-
productSubType?: string;
|
|
552
|
-
search?: string;
|
|
553
|
-
includeAddons?: boolean;
|
|
554
|
-
includeArchived?: boolean;
|
|
555
|
-
includeAllData?: boolean;
|
|
556
|
-
resourceIds?: string;
|
|
557
|
-
sports?: string;
|
|
558
|
-
}
|
|
559
|
-
export declare class GetAllVariantTitlesDto {
|
|
560
|
-
organizationId: number;
|
|
561
|
-
}
|
|
562
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
563
|
-
organizationId: number;
|
|
834
|
+
variantId: number;
|
|
564
835
|
}
|
|
565
|
-
export declare class
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
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[];
|
|
569
852
|
}
|
|
570
|
-
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;
|
|
571
865
|
organizationId: number;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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[];
|
|
575
874
|
}
|
|
576
|
-
export declare class
|
|
875
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
876
|
+
productId: number;
|
|
577
877
|
customerId: number;
|
|
878
|
+
customer: Customer;
|
|
879
|
+
deletedAt?: Date;
|
|
880
|
+
product: Product;
|
|
578
881
|
}
|
|
579
|
-
export declare class
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
export declare class GetBySessionType {
|
|
588
|
-
sessionType: 'event' | 'segment';
|
|
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;
|
|
589
889
|
}
|
|
590
|
-
export declare class
|
|
591
|
-
|
|
890
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
891
|
+
programId: number;
|
|
592
892
|
name: string;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
893
|
+
description: string | null;
|
|
894
|
+
GL?: string | null;
|
|
895
|
+
status: PublishingStatusEnum;
|
|
896
|
+
startDate: Date;
|
|
897
|
+
endDate: Date;
|
|
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;
|
|
909
|
+
organizationId: number;
|
|
910
|
+
facilityId: number | null;
|
|
911
|
+
facilityName?: string;
|
|
912
|
+
addressId: number | null;
|
|
913
|
+
sport: SportsEnum;
|
|
914
|
+
minAge: string;
|
|
915
|
+
maxAge: string;
|
|
916
|
+
gender: GenderEnum;
|
|
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;
|
|
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[];
|
|
627
943
|
}
|
|
628
|
-
export declare class
|
|
944
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
945
|
+
productUserId: number;
|
|
629
946
|
resourceId: number;
|
|
630
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;
|
|
631
965
|
}
|
|
632
|
-
export declare class
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
export declare class CreateEntitlementTermsDto {
|
|
636
|
-
organizationId: number;
|
|
637
|
-
entitlementGroupId: number;
|
|
638
|
-
terms: IEntitlementTerms[];
|
|
639
|
-
}
|
|
640
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
641
|
-
entitlementGroupId: number;
|
|
642
|
-
}
|
|
643
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
644
|
-
user: any;
|
|
645
|
-
userVariables: IQuestionAnswerObject[];
|
|
646
|
-
}
|
|
647
|
-
export declare class FindLowestPriceDto {
|
|
648
|
-
organizationId: number;
|
|
649
|
-
user?: any;
|
|
650
|
-
answers?: IQuestionAnswerObject[];
|
|
651
|
-
itemIds: number[];
|
|
652
|
-
itemType?: ResourceNameTypeEnum;
|
|
653
|
-
startDate?: Date;
|
|
654
|
-
}
|
|
655
|
-
export declare class FindGroupItemsPricingsDto {
|
|
656
|
-
groupsIds: number[];
|
|
657
|
-
itemsIds: number[];
|
|
966
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
967
|
+
title: string | null;
|
|
968
|
+
answerTitle: AnswerTitle;
|
|
658
969
|
}
|
|
659
|
-
export declare class
|
|
660
|
-
|
|
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;
|
|
661
983
|
}
|
|
662
|
-
export declare class
|
|
663
|
-
|
|
664
|
-
|
|
984
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
985
|
+
reason: string;
|
|
986
|
+
ordinal: number;
|
|
987
|
+
deletedAt: Date;
|
|
665
988
|
}
|
|
666
|
-
export declare class
|
|
667
|
-
|
|
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;
|
|
668
999
|
}
|
|
669
|
-
export declare class
|
|
670
|
-
|
|
671
|
-
|
|
1000
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
1001
|
+
name?: string;
|
|
1002
|
+
description?: string;
|
|
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;
|
|
672
1019
|
startDate?: Date;
|
|
673
1020
|
endDate?: Date;
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
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[];
|
|
682
1031
|
}
|
|
683
|
-
export declare class
|
|
684
|
-
|
|
685
|
-
|
|
1032
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
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;
|
|
686
1059
|
}
|
|
687
|
-
export declare class
|
|
1060
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
688
1061
|
name: string;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
endDate: Date;
|
|
1062
|
+
facilityId: number;
|
|
1063
|
+
parentSlotId: number;
|
|
1064
|
+
childrenSlotIds: number[];
|
|
1065
|
+
deletedAt?: Date;
|
|
694
1066
|
}
|
|
695
|
-
export declare class
|
|
696
|
-
|
|
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;
|
|
697
1080
|
}
|
|
698
|
-
export declare class
|
|
699
|
-
|
|
700
|
-
|
|
1081
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
1082
|
+
name: string | null;
|
|
1083
|
+
ordinal: number | null;
|
|
1084
|
+
seasonId: number | null;
|
|
1085
|
+
color: string | null;
|
|
701
1086
|
}
|
|
702
|
-
export declare class
|
|
703
|
-
|
|
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;
|
|
704
1094
|
}
|
|
705
|
-
export declare class
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
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;
|
|
713
1109
|
}
|
|
714
|
-
export declare class
|
|
715
|
-
seasonId: number;
|
|
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;
|
|
716
1119
|
}
|
|
717
|
-
export declare class
|
|
718
|
-
|
|
1120
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
1121
|
+
blockingSpaceId: number;
|
|
1122
|
+
blockedSpaceId: number;
|
|
719
1123
|
}
|
|
720
|
-
export declare class
|
|
721
|
-
|
|
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[];
|
|
722
1134
|
}
|
|
723
|
-
export declare class
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
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;
|
|
727
1142
|
}
|
|
728
|
-
export declare class
|
|
729
|
-
|
|
1143
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
1144
|
+
productType: ProductTypesEnum;
|
|
730
1145
|
name: string;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
description?: string;
|
|
736
|
-
GL?: string;
|
|
737
|
-
parentSeasonId?: number;
|
|
738
|
-
questionnaires?: number[];
|
|
739
|
-
maxParticipants?: number;
|
|
740
|
-
maxMaleParticipants?: number;
|
|
741
|
-
maxFemaleParticipants?: number;
|
|
742
|
-
maxWaitlist?: number;
|
|
743
|
-
maxMaleWaitlist?: number;
|
|
744
|
-
maxFemaleWaitlist?: number;
|
|
745
|
-
facilityId?: number;
|
|
746
|
-
addressId?: number;
|
|
747
|
-
blockedDated?: blockedDatesDto[];
|
|
748
|
-
activityTimes: ActivityTimesDto[];
|
|
749
|
-
longDescription?: string;
|
|
750
|
-
isPunchCard?: boolean;
|
|
751
|
-
organizationId: number;
|
|
752
|
-
sport: SportsEnum;
|
|
753
|
-
minAge: string;
|
|
754
|
-
maxAge: string;
|
|
755
|
-
gender: GenderEnum;
|
|
756
|
-
level?: LevelOfPlayEnum[];
|
|
757
|
-
requiredProductIds?: number[];
|
|
1146
|
+
ordinal?: number;
|
|
1147
|
+
deletedAt?: Date;
|
|
1148
|
+
stationToSubcategories: StationToSubcategory[];
|
|
1149
|
+
stations: Station[];
|
|
758
1150
|
}
|
|
759
|
-
export declare class
|
|
760
|
-
|
|
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;
|
|
761
1184
|
}
|
|
762
|
-
export declare class
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
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;
|
|
768
1193
|
}
|
|
769
|
-
export declare class
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
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;
|
|
774
1202
|
}
|
|
775
|
-
export declare class
|
|
776
|
-
|
|
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[];
|
|
777
1241
|
}
|
|
778
|
-
export declare class
|
|
779
|
-
|
|
780
|
-
|
|
1242
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
1243
|
+
entityId: number | null;
|
|
1244
|
+
userId: number | null;
|
|
1245
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
1246
|
+
user: User;
|
|
781
1247
|
}
|
|
782
|
-
export declare class
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
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;
|
|
786
1255
|
}
|
|
787
|
-
export declare class
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
1256
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
1257
|
+
groupId: number;
|
|
1258
|
+
userId: number;
|
|
1259
|
+
deletedAt?: Date;
|
|
791
1260
|
}
|
|
792
|
-
export declare class
|
|
793
|
-
seasonId: number;
|
|
1261
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
794
1262
|
name: string;
|
|
795
|
-
|
|
796
|
-
questionnaires?: number[];
|
|
797
|
-
maxParticipants?: number;
|
|
798
|
-
maxMaleParticipants?: number;
|
|
799
|
-
maxFemaleParticipants?: number;
|
|
800
|
-
maxWaitlist?: number;
|
|
801
|
-
maxMaleWaitlist?: number;
|
|
802
|
-
maxFemaleWaitlist?: number;
|
|
803
|
-
facilityId?: number;
|
|
804
|
-
addressId?: number;
|
|
805
|
-
sport?: SportsEnum;
|
|
806
|
-
minAge?: string;
|
|
807
|
-
maxAge?: string;
|
|
808
|
-
gender?: GenderEnum;
|
|
809
|
-
level?: LevelOfPlayEnum[];
|
|
810
|
-
requiredProductIds?: number[];
|
|
811
|
-
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
1263
|
+
variants: Variant[];
|
|
812
1264
|
}
|
|
813
|
-
export declare class
|
|
814
|
-
id: number;
|
|
1265
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
815
1266
|
name: string;
|
|
1267
|
+
variantTitleId: number;
|
|
1268
|
+
variantTitle: VariantTitle;
|
|
1269
|
+
deletedAt?: Date;
|
|
816
1270
|
}
|
|
817
|
-
export declare class
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
minutesAfterSlot?: number;
|
|
825
|
-
}
|
|
826
|
-
export declare class BulkSpaceResourceAllocationDto {
|
|
827
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
828
|
-
organizationId: number;
|
|
829
|
-
}
|
|
830
|
-
export declare class SingleSpaceAllocationByTimesDto {
|
|
831
|
-
date: string;
|
|
832
|
-
startTime: string;
|
|
833
|
-
endTime: string;
|
|
834
|
-
spaceId: number;
|
|
835
|
-
publicNotes?: string;
|
|
836
|
-
slotType?: SlotTypeEnum;
|
|
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;
|
|
837
1278
|
}
|
|
838
|
-
export declare class
|
|
839
|
-
|
|
1279
|
+
export declare class BasicActivityTimesDto {
|
|
1280
|
+
dayOfWeek: number;
|
|
1281
|
+
close: string;
|
|
1282
|
+
open: string;
|
|
1283
|
+
availabilityStartDate?: string;
|
|
1284
|
+
availabilityEndDate?: string;
|
|
840
1285
|
}
|
|
841
|
-
export declare class
|
|
842
|
-
|
|
843
|
-
|
|
1286
|
+
export declare class QuestionAnswersDto {
|
|
1287
|
+
questionId: number;
|
|
1288
|
+
value: any;
|
|
844
1289
|
}
|
|
845
|
-
export declare class
|
|
1290
|
+
export declare class UserAnswersDto {
|
|
846
1291
|
userId: number;
|
|
847
|
-
|
|
848
|
-
fromResourceIds: number[];
|
|
849
|
-
toResourceIds: number[];
|
|
1292
|
+
answers: QuestionAnswersDto[];
|
|
850
1293
|
}
|
|
851
|
-
export declare class
|
|
852
|
-
|
|
1294
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
1295
|
+
questionnaireIds: string;
|
|
853
1296
|
}
|
|
854
|
-
export declare class
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
lateRegistrationEndDate?: Date;
|
|
1297
|
+
export declare class FindBookingTypeSettingDto {
|
|
1298
|
+
organizationId: number;
|
|
1299
|
+
facilityId: number;
|
|
1300
|
+
spaceId: number;
|
|
1301
|
+
bookingDate: string;
|
|
1302
|
+
bookingTime: string;
|
|
861
1303
|
}
|
|
862
|
-
export declare class
|
|
863
|
-
|
|
864
|
-
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
865
|
-
closeRegistrationSpecTime?: string;
|
|
866
|
-
openRegistrationPeriodValue?: number;
|
|
867
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
-
openRegistrationSpecTime?: string;
|
|
869
|
-
productsIdsToUpdate?: number[];
|
|
1304
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
1305
|
+
membershipId: number;
|
|
870
1306
|
}
|
|
871
|
-
export declare class
|
|
872
|
-
|
|
873
|
-
oldProductId: number;
|
|
874
|
-
newProductId: number;
|
|
875
|
-
moveType: 'session' | 'segment';
|
|
876
|
-
resourceId: number;
|
|
877
|
-
orderId: number;
|
|
1307
|
+
export declare class ImportProductsFromDB {
|
|
1308
|
+
buDate: string;
|
|
878
1309
|
}
|
|
879
|
-
export declare class
|
|
880
|
-
|
|
881
|
-
|
|
1310
|
+
export declare class ImportCustomerFromCSV {
|
|
1311
|
+
fileName: string;
|
|
1312
|
+
startIndex?: number;
|
|
882
1313
|
}
|
|
883
|
-
export declare class
|
|
884
|
-
|
|
1314
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
1315
|
+
resolveInvoices: string;
|
|
885
1316
|
}
|
|
886
|
-
export declare class
|
|
887
|
-
|
|
888
|
-
|
|
1317
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
1318
|
+
membershipId: number;
|
|
1319
|
+
onlyDashIds: string;
|
|
889
1320
|
}
|
|
890
|
-
export declare class
|
|
891
|
-
|
|
892
|
-
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
|
-
description?: string;
|
|
899
|
-
GL?: string;
|
|
900
|
-
status: PublishingStatusEnum;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
userCreatorId: number;
|
|
903
|
-
highlights: ProgramHighlights[];
|
|
904
|
-
longDescription?: string;
|
|
905
|
-
requiredProductIds: number[];
|
|
1321
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
1322
|
+
facilityId: number;
|
|
906
1323
|
}
|
|
907
|
-
export declare class
|
|
1324
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
1325
|
+
customerId: number;
|
|
908
1326
|
}
|
|
909
|
-
export declare class
|
|
910
|
-
|
|
911
|
-
|
|
1327
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
1328
|
+
nameSearch?: string;
|
|
1329
|
+
fuzzy?: string;
|
|
1330
|
+
customerType?: CustomerTypeEnum;
|
|
1331
|
+
customersIds?: string;
|
|
912
1332
|
}
|
|
913
|
-
export declare class
|
|
914
|
-
|
|
915
|
-
status: PublishingStatusEnum;
|
|
1333
|
+
export declare class AddCustomerNotesDto {
|
|
1334
|
+
customerNotes: CustomerNoteDto[];
|
|
916
1335
|
}
|
|
917
|
-
export declare class
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
title: string;
|
|
1336
|
+
export declare class CustomerNoteDto {
|
|
1337
|
+
id?: number;
|
|
1338
|
+
description: string;
|
|
1339
|
+
pinToTop?: boolean;
|
|
922
1340
|
}
|
|
923
|
-
export declare class
|
|
924
|
-
|
|
925
|
-
|
|
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;
|
|
926
1361
|
}
|
|
927
|
-
export declare class
|
|
1362
|
+
export declare class FindEventByIdDto {
|
|
1363
|
+
eventId: number;
|
|
928
1364
|
organizationId: number;
|
|
929
|
-
userId?: number;
|
|
930
|
-
customerId?: number;
|
|
931
|
-
orderId: number;
|
|
932
|
-
paymentData: PurchasePaymentDto;
|
|
933
|
-
amountToPay: number;
|
|
934
|
-
total: number;
|
|
935
|
-
platform: PlatformsEnum;
|
|
936
|
-
shiftId?: number;
|
|
937
1365
|
}
|
|
938
|
-
export declare class
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
shiftId?: number;
|
|
951
|
-
orderId?: number;
|
|
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;
|
|
952
1378
|
}
|
|
953
|
-
export declare class
|
|
1379
|
+
export declare class AddEventToSessionDto {
|
|
1380
|
+
eventsData: UpdateEventDto[];
|
|
954
1381
|
}
|
|
955
|
-
export declare class
|
|
956
|
-
|
|
957
|
-
resources?: PurchaseResourceDto[];
|
|
958
|
-
userId?: number;
|
|
959
|
-
paymentStatus?: PaymentStatusEnum;
|
|
960
|
-
amountToPay?: number;
|
|
961
|
-
ordinal?: number;
|
|
962
|
-
startDate?: Date;
|
|
963
|
-
quantity?: number;
|
|
1382
|
+
export declare class EventsIdsQueryDto {
|
|
1383
|
+
eventsIds: string;
|
|
964
1384
|
}
|
|
965
|
-
export declare class
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
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;
|
|
972
1396
|
}
|
|
973
|
-
export declare class
|
|
974
|
-
|
|
975
|
-
|
|
1397
|
+
export declare class FindByFacilityIdDto {
|
|
1398
|
+
facilityId: number;
|
|
1399
|
+
}
|
|
1400
|
+
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
976
1401
|
organizationId: number;
|
|
977
|
-
purchasingUserId: number;
|
|
978
1402
|
}
|
|
979
|
-
export declare class
|
|
980
|
-
|
|
1403
|
+
export declare class FacilityEventsScheduleQueryParams {
|
|
1404
|
+
programsIds?: string;
|
|
1405
|
+
startDate?: string;
|
|
1406
|
+
endDate?: string;
|
|
981
1407
|
}
|
|
982
|
-
export declare class
|
|
983
|
-
|
|
984
|
-
allocateResource: boolean;
|
|
985
|
-
skipMail: boolean;
|
|
1408
|
+
export declare class ProgramLandingPageDto {
|
|
1409
|
+
programId: number;
|
|
986
1410
|
}
|
|
987
|
-
export declare class
|
|
988
|
-
|
|
989
|
-
organizationId: any;
|
|
990
|
-
amountToPay: any;
|
|
991
|
-
paymentMethodData: any;
|
|
1411
|
+
export declare class ProgramLandingPageQueryDto {
|
|
1412
|
+
futureLimit?: number;
|
|
992
1413
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
facilityId: number;
|
|
997
|
-
childrenSlotIds: number[];
|
|
998
|
-
}
|
|
999
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1414
|
+
export declare class ProgramSessionLandingPageDto {
|
|
1415
|
+
programId: number;
|
|
1416
|
+
sessionId: number;
|
|
1000
1417
|
}
|
|
1001
|
-
export
|
|
1002
|
-
type: ResourceNameTypeEnum;
|
|
1418
|
+
export interface IEventOfSessionDetails {
|
|
1003
1419
|
id: number;
|
|
1004
|
-
}
|
|
1005
|
-
export declare class SpaceByIdDto {
|
|
1006
|
-
spaceId: number;
|
|
1007
|
-
}
|
|
1008
|
-
export declare class CreateSpaceDto {
|
|
1009
|
-
name: string;
|
|
1010
|
-
sports: number[];
|
|
1011
|
-
description?: string;
|
|
1012
|
-
longDescription?: string;
|
|
1013
|
-
spaceType: ResourceSubTypeEnum;
|
|
1014
|
-
isAddon?: boolean;
|
|
1015
|
-
properties: SpacePropertiesEnum;
|
|
1016
|
-
width?: number;
|
|
1017
|
-
length?: number;
|
|
1018
|
-
surface?: SurfacesEnum;
|
|
1019
|
-
ages?: ResourceAgesEnum;
|
|
1020
|
-
amenities: number[];
|
|
1021
|
-
activityTimes: BasicActivityTimesDto[];
|
|
1022
|
-
facilitiesIds: number[];
|
|
1023
|
-
resourceGroupId?: number;
|
|
1024
|
-
blockedResourcesIds?: number[];
|
|
1025
|
-
}
|
|
1026
|
-
export declare class UpdateSpaceDetailsDto {
|
|
1027
1420
|
name: string;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1421
|
+
programId: number;
|
|
1422
|
+
programType: ProgramTypesEnum;
|
|
1423
|
+
sessionId: number;
|
|
1424
|
+
sessionName: string;
|
|
1425
|
+
isPublic: boolean;
|
|
1426
|
+
startDate: Date;
|
|
1427
|
+
endDate: Date;
|
|
1428
|
+
startTime: string;
|
|
1429
|
+
endTime: string;
|
|
1430
|
+
resources: IBasicSpaceAndSlotCreator[];
|
|
1431
|
+
attenedanceCount: number;
|
|
1432
|
+
checkedInCount: number;
|
|
1433
|
+
missingPaymentCount: number;
|
|
1434
|
+
publicNotes: string;
|
|
1435
|
+
privateNotes: string;
|
|
1039
1436
|
}
|
|
1040
|
-
export
|
|
1041
|
-
|
|
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[];
|
|
1042
1454
|
}
|
|
1043
|
-
export declare class
|
|
1044
|
-
|
|
1045
|
-
|
|
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;
|
|
1046
1462
|
}
|
|
1047
|
-
export declare class
|
|
1048
|
-
|
|
1049
|
-
parentSpaceId?: number;
|
|
1463
|
+
export declare class FindFamilyAccountsDto {
|
|
1464
|
+
userId: number;
|
|
1050
1465
|
}
|
|
1051
|
-
export declare class
|
|
1052
|
-
|
|
1053
|
-
|
|
1466
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
1467
|
+
customerId: number;
|
|
1468
|
+
organizationId: number;
|
|
1054
1469
|
}
|
|
1055
|
-
export declare class
|
|
1056
|
-
|
|
1057
|
-
facilitiesIds?: string;
|
|
1058
|
-
types?: string;
|
|
1059
|
-
resourcesIds?: string;
|
|
1470
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
1471
|
+
familyAccountId: number;
|
|
1060
1472
|
}
|
|
1061
|
-
export declare class
|
|
1473
|
+
export declare class CreateFamilyAccountDto {
|
|
1474
|
+
familyName: string;
|
|
1062
1475
|
userId: number;
|
|
1063
1476
|
}
|
|
1064
|
-
export declare class
|
|
1065
|
-
|
|
1066
|
-
|
|
1477
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
1478
|
+
familyName: string;
|
|
1479
|
+
familyAccountId: number;
|
|
1067
1480
|
}
|
|
1068
|
-
export declare class
|
|
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;
|
|
1490
|
+
}
|
|
1491
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
1069
1492
|
userId: number;
|
|
1493
|
+
familyAccountId: number;
|
|
1070
1494
|
}
|
|
1071
|
-
export declare class
|
|
1072
|
-
|
|
1495
|
+
export declare class FindOneParams {
|
|
1496
|
+
id: number;
|
|
1073
1497
|
}
|
|
1074
|
-
export declare class
|
|
1075
|
-
|
|
1498
|
+
export declare class PaginationQuery {
|
|
1499
|
+
page: number;
|
|
1500
|
+
itemsPerPage: number;
|
|
1076
1501
|
}
|
|
1077
|
-
export declare class
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
userId?: number;
|
|
1082
|
-
customerId?: number;
|
|
1083
|
-
performingUserId: number;
|
|
1084
|
-
description: string;
|
|
1085
|
-
actionType: ActionTypesEnum;
|
|
1086
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
-
oldValue?: any;
|
|
1088
|
-
newValue?: any;
|
|
1502
|
+
export declare class PaginationRangeQuery {
|
|
1503
|
+
startPage: number;
|
|
1504
|
+
endPage: number;
|
|
1505
|
+
itemsPerPage: number;
|
|
1089
1506
|
}
|
|
1090
|
-
export declare class
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1507
|
+
export declare class AddressDto {
|
|
1508
|
+
city: string;
|
|
1509
|
+
state: string;
|
|
1510
|
+
country: string;
|
|
1511
|
+
geo: number[];
|
|
1512
|
+
}
|
|
1513
|
+
export declare class OpeningTimeDto {
|
|
1094
1514
|
open: string;
|
|
1095
1515
|
close: string;
|
|
1096
|
-
|
|
1097
|
-
program: ProgramSeason;
|
|
1098
|
-
availabilityStartDate: string;
|
|
1099
|
-
availabilityEndDate: string;
|
|
1100
|
-
proudct: Product;
|
|
1101
|
-
event: Event;
|
|
1516
|
+
dayOfWeek: number;
|
|
1102
1517
|
}
|
|
1103
|
-
export declare class
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1518
|
+
export declare class CreateFacilityDto {
|
|
1519
|
+
name: string;
|
|
1520
|
+
sports: number[];
|
|
1521
|
+
description?: string;
|
|
1522
|
+
longDescription?: string;
|
|
1523
|
+
info?: string;
|
|
1524
|
+
address: AddressDto;
|
|
1525
|
+
timezone: string;
|
|
1526
|
+
amenities: number[];
|
|
1527
|
+
openingTimes: OpeningTimeDto[];
|
|
1528
|
+
resourcesIds?: number[];
|
|
1113
1529
|
}
|
|
1114
|
-
export declare class
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1530
|
+
export declare class UpdateFacilityDetailsDto {
|
|
1531
|
+
name?: string;
|
|
1532
|
+
description?: string;
|
|
1533
|
+
longDescription?: string;
|
|
1534
|
+
info?: string;
|
|
1535
|
+
address?: AddressDto;
|
|
1536
|
+
timezone?: string;
|
|
1119
1537
|
}
|
|
1120
|
-
export declare class
|
|
1121
|
-
|
|
1122
|
-
question?: Questions;
|
|
1123
|
-
parentId: number;
|
|
1124
|
-
parentType: ResourceNameTypeEnum;
|
|
1125
|
-
answerValue: any;
|
|
1126
|
-
creatorId: number;
|
|
1127
|
-
creatorType: ResourceNameTypeEnum;
|
|
1128
|
-
answerTitleId: number;
|
|
1129
|
-
answerTitle: AnswerTitle;
|
|
1130
|
-
metaData: any | null;
|
|
1131
|
-
questionText: string | null;
|
|
1538
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
1539
|
+
openingTimes: OpeningTimeDto[];
|
|
1132
1540
|
}
|
|
1133
|
-
export declare class
|
|
1134
|
-
|
|
1135
|
-
metadata: object | null;
|
|
1136
|
-
athleteSports: AthleteSports[];
|
|
1541
|
+
export declare class UpdateFacilitySportsDto {
|
|
1542
|
+
sports: number[];
|
|
1137
1543
|
}
|
|
1138
|
-
export declare class
|
|
1139
|
-
|
|
1140
|
-
sports: number | null;
|
|
1141
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1544
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
1545
|
+
amenities: number[];
|
|
1142
1546
|
}
|
|
1143
|
-
export declare class
|
|
1144
|
-
|
|
1145
|
-
entityId: number;
|
|
1146
|
-
name: string;
|
|
1147
|
-
startDate: Date;
|
|
1148
|
-
endDate: Date;
|
|
1149
|
-
deletedAt?: Date;
|
|
1547
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
1548
|
+
nameSearch?: string;
|
|
1150
1549
|
}
|
|
1151
|
-
export declare class
|
|
1550
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
1551
|
+
organizationId: number;
|
|
1552
|
+
}
|
|
1553
|
+
export declare class GetGlCodeDto {
|
|
1152
1554
|
id: number;
|
|
1555
|
+
organizationId: number;
|
|
1556
|
+
code: string;
|
|
1153
1557
|
createdAt: Date;
|
|
1154
1558
|
updatedAt: Date;
|
|
1155
1559
|
}
|
|
1156
|
-
export declare class
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1560
|
+
export declare class CreateMembershipDto {
|
|
1561
|
+
organizationId: number;
|
|
1562
|
+
name: string;
|
|
1563
|
+
description?: string;
|
|
1564
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1565
|
+
activity: SportsEnum;
|
|
1566
|
+
facilityId: number;
|
|
1567
|
+
questionnaires: number[];
|
|
1568
|
+
minAgeYears: number;
|
|
1569
|
+
maxAgeYears: number;
|
|
1570
|
+
gender: GenderEnum;
|
|
1571
|
+
maxMembers?: number;
|
|
1572
|
+
maxMaleMembers?: number;
|
|
1573
|
+
maxFemaleMembers?: number;
|
|
1574
|
+
startDate: string;
|
|
1575
|
+
endDate: string;
|
|
1576
|
+
registrationStartDate?: Date;
|
|
1577
|
+
registrationEndDate?: Date;
|
|
1578
|
+
membershipType: MembershipTypeEnum;
|
|
1579
|
+
durationMonths: number;
|
|
1580
|
+
longDescription?: string;
|
|
1581
|
+
isAutoRenew?: boolean;
|
|
1173
1582
|
}
|
|
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;
|
|
1583
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
1584
|
+
id: number;
|
|
1183
1585
|
}
|
|
1184
|
-
export declare class
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
value: string;
|
|
1586
|
+
export declare class UpdateMembershipMediaDto {
|
|
1587
|
+
membershipId: number;
|
|
1588
|
+
mediaId: number;
|
|
1188
1589
|
}
|
|
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;
|
|
1590
|
+
export declare class FindMembershipByIdDto {
|
|
1591
|
+
membershipId: number;
|
|
1200
1592
|
}
|
|
1201
|
-
export declare class
|
|
1202
|
-
|
|
1203
|
-
|
|
1593
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
1594
|
+
organizationId: number;
|
|
1595
|
+
}
|
|
1596
|
+
export declare class FindMembershipsByUserIdDto {
|
|
1204
1597
|
userId: number;
|
|
1205
|
-
invoiceId: number;
|
|
1206
|
-
orderId: number;
|
|
1207
|
-
creditPaymentInvoiceId: number;
|
|
1208
1598
|
}
|
|
1209
|
-
export declare class
|
|
1210
|
-
|
|
1211
|
-
entityId: number | null;
|
|
1212
|
-
addressId: number | null;
|
|
1213
|
-
entityType: CustomerTypeEnum | null;
|
|
1214
|
-
customerId: string | null;
|
|
1215
|
-
email: string | null;
|
|
1216
|
-
color: string | null;
|
|
1217
|
-
phoneNumber: string | null;
|
|
1218
|
-
mainMediaId: number | null;
|
|
1219
|
-
creatorId: number | null;
|
|
1220
|
-
creatorType: ResourceNameTypeEnum | null;
|
|
1221
|
-
userCreatorId: number | null;
|
|
1222
|
-
ownerId: number | null;
|
|
1223
|
-
vetted: boolean | null;
|
|
1224
|
-
firstName: string | null;
|
|
1225
|
-
lastName: string | null;
|
|
1226
|
-
waiverSignedDate: string | null;
|
|
1227
|
-
balance: number | null;
|
|
1228
|
-
storedCredit: number;
|
|
1229
|
-
members: (User & Customer)[];
|
|
1230
|
-
emergencyContacts: EmergencyContact[];
|
|
1231
|
-
customerNotes: CustomerNote[];
|
|
1232
|
-
customerCreditTransactions: CustomerCreditTransaction[];
|
|
1233
|
-
productsReservedFor: ProductsReservedForCustomers[];
|
|
1234
|
-
mainMedia: Media;
|
|
1235
|
-
reservations?: Reservation[];
|
|
1599
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
1600
|
+
startDate: string;
|
|
1236
1601
|
}
|
|
1237
|
-
export declare class
|
|
1238
|
-
|
|
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;
|
|
1602
|
+
export declare class MembershipIdsDto {
|
|
1603
|
+
membershipIds?: number[];
|
|
1248
1604
|
}
|
|
1249
|
-
export declare class
|
|
1250
|
-
|
|
1251
|
-
description: string;
|
|
1252
|
-
pinToTop?: boolean;
|
|
1253
|
-
customer: Customer;
|
|
1605
|
+
export declare class MemberIdDto {
|
|
1606
|
+
memberId?: number;
|
|
1254
1607
|
}
|
|
1255
|
-
export declare class
|
|
1608
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
1609
|
+
nameEmailSearch?: string;
|
|
1610
|
+
pastMemberships?: string;
|
|
1611
|
+
}
|
|
1612
|
+
export declare class CancelMembershipDto {
|
|
1613
|
+
isImmediatelyCancel: boolean;
|
|
1614
|
+
cancellationReason?: string;
|
|
1615
|
+
}
|
|
1616
|
+
export declare class FindByProgramSeasonIdDto {
|
|
1617
|
+
seasonId: number;
|
|
1618
|
+
}
|
|
1619
|
+
export declare class CreateBulkDivisionsDto {
|
|
1620
|
+
divisions: CreateDivisionDto[];
|
|
1621
|
+
}
|
|
1622
|
+
export declare class CreateDivisionDto {
|
|
1256
1623
|
name: string;
|
|
1257
1624
|
ordinal?: number;
|
|
1258
1625
|
programSeasonId: number;
|
|
1259
1626
|
color: string;
|
|
1260
1627
|
isDefault: boolean;
|
|
1261
|
-
groups: Group[];
|
|
1262
|
-
}
|
|
1263
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
|
-
customerId: number;
|
|
1265
|
-
name: string | null;
|
|
1266
|
-
phoneNumber: string | null;
|
|
1267
|
-
customer: Customer;
|
|
1268
1628
|
}
|
|
1269
|
-
export declare class
|
|
1270
|
-
name: string
|
|
1629
|
+
export declare class CreateGroupDto {
|
|
1630
|
+
name: string;
|
|
1631
|
+
description?: string;
|
|
1632
|
+
status?: GroupStatusEnum;
|
|
1633
|
+
maxCapacity?: number;
|
|
1634
|
+
mainMediaId?: number;
|
|
1635
|
+
minAgeYears?: number;
|
|
1636
|
+
maxAgeYears?: number;
|
|
1637
|
+
gender: GenderEnum;
|
|
1638
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1639
|
+
sports: SportsEnum[];
|
|
1640
|
+
questionnaires?: number[];
|
|
1641
|
+
captainUserId?: number;
|
|
1642
|
+
divisionId?: number;
|
|
1271
1643
|
}
|
|
1272
|
-
export declare class
|
|
1644
|
+
export declare class ConnectGroupToDivision {
|
|
1273
1645
|
groupId: number;
|
|
1274
|
-
|
|
1646
|
+
divisionId: number;
|
|
1647
|
+
prevDivisionId: number;
|
|
1275
1648
|
}
|
|
1276
|
-
export declare class
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
attendeeId: number;
|
|
1281
|
-
eventId?: number | null;
|
|
1282
|
-
productUserId?: number;
|
|
1283
|
-
answerTitleIds?: number[];
|
|
1284
|
-
entryStatus?: EntryStatusEnum;
|
|
1285
|
-
addonProductUserIds?: number[];
|
|
1286
|
-
deletedAt?: Date;
|
|
1287
|
-
attendee: User;
|
|
1288
|
-
event: Event;
|
|
1289
|
-
purchasedResource: PurchasedResource;
|
|
1649
|
+
export declare class MoveUserInGroups {
|
|
1650
|
+
userId: number;
|
|
1651
|
+
groupId?: number;
|
|
1652
|
+
prevGroupId?: number;
|
|
1290
1653
|
}
|
|
1291
|
-
export declare class
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
title: string | null;
|
|
1295
|
-
description: string | null;
|
|
1296
|
-
eventType: number | null;
|
|
1297
|
-
startDate: Date | null;
|
|
1298
|
-
endDate: Date | null;
|
|
1299
|
-
price: number | null;
|
|
1300
|
-
venueName: string | null;
|
|
1301
|
-
status: EventStatusEnum;
|
|
1302
|
-
private: boolean | null;
|
|
1303
|
-
guestsCanInvite: boolean | null;
|
|
1304
|
-
venueId: number | null;
|
|
1305
|
-
addressId: number | null;
|
|
1306
|
-
participantsLimit: number | null;
|
|
1307
|
-
parentId: number | null;
|
|
1308
|
-
parentType: string | null;
|
|
1309
|
-
timezone: string | null;
|
|
1310
|
-
eventSubType: string | null;
|
|
1311
|
-
eventSubId: number | null;
|
|
1312
|
-
metaData: any | null;
|
|
1313
|
-
groupingId: string | null;
|
|
1314
|
-
redirectUri: string | null;
|
|
1315
|
-
externalId: string | null;
|
|
1316
|
-
paymentSettings: any | null;
|
|
1317
|
-
whoCanJoin: string | null;
|
|
1318
|
-
spaceId?: number;
|
|
1319
|
-
bookedSessionId: number | null;
|
|
1320
|
-
creatorId: number | null;
|
|
1321
|
-
creatorType: string | null;
|
|
1322
|
-
userCreatorId: number | null;
|
|
1323
|
-
ownerId: number | null;
|
|
1324
|
-
sports: number[] | null;
|
|
1325
|
-
isVerified: boolean | null;
|
|
1326
|
-
mainMediaId: number | null;
|
|
1327
|
-
minAge: number | null;
|
|
1328
|
-
maxAge: number | null;
|
|
1329
|
-
gender: number | null;
|
|
1330
|
-
questionnaireId: number | null;
|
|
1331
|
-
eventAttendees: EventAttendee[];
|
|
1332
|
-
deletedAt?: Date;
|
|
1333
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1334
|
-
startDateString: string;
|
|
1335
|
-
endDateString: string;
|
|
1336
|
-
startTime: string;
|
|
1337
|
-
endTime: string;
|
|
1338
|
-
publicNotes?: string;
|
|
1339
|
-
privateNotes?: string;
|
|
1340
|
-
productResources: ProductResource[];
|
|
1341
|
-
parentSession: ProgramSeason;
|
|
1342
|
-
activityTimes: ActivityTimes[];
|
|
1343
|
-
slots: Slot[];
|
|
1344
|
-
purchasedResources: PurchasedResource[];
|
|
1654
|
+
export declare class SaveUserAsGroupCaptain {
|
|
1655
|
+
groupId: number;
|
|
1656
|
+
userId: number;
|
|
1345
1657
|
}
|
|
1346
|
-
export declare class
|
|
1347
|
-
|
|
1348
|
-
description?: string;
|
|
1349
|
-
addressId: number;
|
|
1350
|
-
address: Address;
|
|
1351
|
-
amenities?: number[];
|
|
1352
|
-
timezone: string;
|
|
1353
|
-
creatorId: number;
|
|
1354
|
-
creatorType: string;
|
|
1658
|
+
export declare class CreateTeamInviteDto {
|
|
1659
|
+
emails: string[];
|
|
1355
1660
|
userCreatorId: number;
|
|
1356
|
-
mainMediaId: number;
|
|
1357
|
-
mainMedia: Media;
|
|
1358
|
-
publishedDate?: Date;
|
|
1359
|
-
isPublished: boolean;
|
|
1360
|
-
sports?: number[];
|
|
1361
|
-
info?: string;
|
|
1362
|
-
longDescription?: string;
|
|
1363
|
-
deletedAt?: Date;
|
|
1364
|
-
openingTimes: OpeningTime[];
|
|
1365
|
-
resources: Resource[];
|
|
1366
|
-
spaces: Resource[];
|
|
1367
|
-
programSeasons: ProgramSeason[];
|
|
1368
|
-
linkSEO: string;
|
|
1369
1661
|
}
|
|
1370
|
-
export declare class
|
|
1371
|
-
|
|
1372
|
-
resourceId: number;
|
|
1662
|
+
export declare class TeamByIdDto {
|
|
1663
|
+
teamId: number;
|
|
1373
1664
|
}
|
|
1374
|
-
export declare class
|
|
1375
|
-
|
|
1376
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1665
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
1666
|
+
inviteToken: string;
|
|
1377
1667
|
}
|
|
1378
|
-
export declare class
|
|
1668
|
+
export declare class JoinTeamDto {
|
|
1379
1669
|
userId: number;
|
|
1380
|
-
|
|
1381
|
-
paymentMethodId: string;
|
|
1382
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1383
|
-
price: number;
|
|
1384
|
-
status: FutureInstallmentStatusEnum;
|
|
1385
|
-
plannedDate: Date;
|
|
1386
|
-
chargedAt?: Date;
|
|
1670
|
+
inviteToken?: string;
|
|
1387
1671
|
}
|
|
1388
|
-
export declare class
|
|
1389
|
-
|
|
1672
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
1673
|
+
userId: number;
|
|
1390
1674
|
}
|
|
1391
|
-
export
|
|
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 {
|
|
1392
1714
|
name: string;
|
|
1393
|
-
description?: string;
|
|
1394
|
-
status: GroupStatusEnum;
|
|
1395
|
-
maxCapacity?: number;
|
|
1396
|
-
mainMediaId?: number;
|
|
1397
|
-
minAgeYears?: number;
|
|
1398
|
-
maxAgeYears?: number;
|
|
1399
|
-
gender: GenderEnum;
|
|
1400
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1401
|
-
sports: SportsEnum[];
|
|
1402
|
-
questionnaires?: number[];
|
|
1403
|
-
captainUserId?: number;
|
|
1404
|
-
members: ISeasonAttendeeInfo[];
|
|
1405
|
-
users: User[];
|
|
1406
1715
|
}
|
|
1407
|
-
export declare class
|
|
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 {
|
|
1408
1724
|
groupId: number;
|
|
1409
|
-
itemId: number;
|
|
1410
|
-
itemType: ResourceNameTypeEnum;
|
|
1411
|
-
startDate: Date;
|
|
1412
|
-
endDate: Date;
|
|
1413
1725
|
price: number;
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
group?: EntitlementGroup;
|
|
1417
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1726
|
+
startDate?: Date;
|
|
1727
|
+
endDate?: Date;
|
|
1418
1728
|
discountValue?: number;
|
|
1729
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1419
1730
|
}
|
|
1420
|
-
export declare class
|
|
1421
|
-
|
|
1422
|
-
divisionId: number;
|
|
1423
|
-
deletedAt?: Date;
|
|
1424
|
-
}
|
|
1425
|
-
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
|
-
price: number;
|
|
1427
|
-
paymentProcessorId: string;
|
|
1428
|
-
orderToInvoices: OrderToInvoice[];
|
|
1429
|
-
paymentStatus: PaymentStatusEnum;
|
|
1430
|
-
bondFee?: number;
|
|
1431
|
-
stripeFee?: number;
|
|
1432
|
-
currency: CurrencyEnum;
|
|
1433
|
-
payingUserId?: number;
|
|
1434
|
-
paymentMethodId?: string;
|
|
1435
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1436
|
-
fundLeft: number;
|
|
1437
|
-
notes?: string;
|
|
1438
|
-
isRefunded: boolean;
|
|
1439
|
-
lineItemHistory: LineItemHistory[];
|
|
1440
|
-
receiptUrl?: string;
|
|
1441
|
-
paymentProcessorTransactionId?: string;
|
|
1442
|
-
creatingUserId: number;
|
|
1443
|
-
shiftId: number;
|
|
1444
|
-
platform: PlatformsEnum;
|
|
1445
|
-
ccLast4: string;
|
|
1446
|
-
ccBrand: string;
|
|
1447
|
-
invoiceNotes: InvoiceNote[];
|
|
1448
|
-
parentInvoiceId?: number;
|
|
1449
|
-
refundReasonId?: number;
|
|
1450
|
-
refundNote?: string;
|
|
1731
|
+
export declare class FindByProductIdDto {
|
|
1732
|
+
productId: number;
|
|
1451
1733
|
}
|
|
1452
|
-
export declare class
|
|
1453
|
-
|
|
1454
|
-
status: EEmailStatus;
|
|
1455
|
-
templateId: string;
|
|
1734
|
+
export declare class FindPriceOfProductDto {
|
|
1735
|
+
id: number;
|
|
1456
1736
|
userId: number;
|
|
1457
|
-
|
|
1458
|
-
paymentId: number;
|
|
1459
|
-
sendingUserId: number;
|
|
1460
|
-
mailParams?: any;
|
|
1461
|
-
memo?: string;
|
|
1737
|
+
resources: ResourceDto[];
|
|
1462
1738
|
}
|
|
1463
|
-
export declare class
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
user: User;
|
|
1467
|
-
isPublic: boolean;
|
|
1468
|
-
deletedAt: Date;
|
|
1469
|
-
invoiceId: number;
|
|
1470
|
-
invoice: Invoice;
|
|
1739
|
+
export declare class FindPricesOfProductsDto {
|
|
1740
|
+
products: FindPriceOfProductDto[];
|
|
1741
|
+
answers: UserAnswersDto[];
|
|
1471
1742
|
}
|
|
1472
|
-
export declare class
|
|
1473
|
-
|
|
1474
|
-
|
|
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[];
|
|
1743
|
+
export declare class FindPackageByResourceDto {
|
|
1744
|
+
resourceType: ResourceNameTypeEnum;
|
|
1745
|
+
resourceId: number;
|
|
1497
1746
|
}
|
|
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[];
|
|
1747
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
1748
|
+
organizationId: number;
|
|
1537
1749
|
}
|
|
1538
|
-
export declare class
|
|
1539
|
-
|
|
1540
|
-
|
|
1750
|
+
export declare class CreateProductsDto {
|
|
1751
|
+
products: CreateProductDto[];
|
|
1752
|
+
addOnsData?: ProductInPackage[];
|
|
1753
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
1541
1754
|
}
|
|
1542
|
-
export declare class
|
|
1543
|
-
|
|
1544
|
-
invoiceId: number;
|
|
1545
|
-
lineItemId: number;
|
|
1546
|
-
paidAmount: number;
|
|
1547
|
-
unitPaidAmount: number;
|
|
1548
|
-
currency: CurrencyEnum;
|
|
1549
|
-
invoice: Invoice;
|
|
1550
|
-
lineItem: LineItems;
|
|
1755
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
1756
|
+
name: string;
|
|
1551
1757
|
}
|
|
1552
|
-
export declare class
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
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;
|
|
1563
1772
|
productType: ProductTypesEnum;
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
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;
|
|
1568
1803
|
price: number;
|
|
1569
|
-
originalPrice?: number;
|
|
1570
|
-
paidAmount?: number;
|
|
1571
|
-
totalPaid?: number;
|
|
1572
|
-
totalQuantity?: number;
|
|
1573
|
-
totalPrice?: number;
|
|
1574
1804
|
currency: CurrencyEnum;
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
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;
|
|
1805
|
+
name: string;
|
|
1806
|
+
startDate?: Date;
|
|
1807
|
+
endDate?: Date;
|
|
1808
|
+
discountValue?: number;
|
|
1809
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1810
|
+
isDefaultPriceForProduct?: boolean;
|
|
1606
1811
|
}
|
|
1607
|
-
export declare class
|
|
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;
|
|
1608
1830
|
id: number;
|
|
1609
|
-
|
|
1610
|
-
|
|
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;
|
|
1831
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1832
|
+
level?: ProductPackageLevelEnum;
|
|
1622
1833
|
}
|
|
1623
|
-
export declare class
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
mediaKey: string | null;
|
|
1628
|
-
description: string | null;
|
|
1629
|
-
provider: string | null;
|
|
1630
|
-
mediaType: number;
|
|
1631
|
-
fileType: string | null;
|
|
1632
|
-
isDefault: boolean | null;
|
|
1633
|
-
creatorId: number | null;
|
|
1634
|
-
creatorType: string | null;
|
|
1635
|
-
userCreatorId: number | null;
|
|
1636
|
-
ownerId: number | null;
|
|
1637
|
-
createdBy: number | null;
|
|
1638
|
-
users: User[];
|
|
1639
|
-
programs: Program[];
|
|
1640
|
-
memberships: Membership[];
|
|
1834
|
+
export declare class ConnectProductResourceDto {
|
|
1835
|
+
productId: number;
|
|
1836
|
+
resourceType: ResourceNameTypeEnum;
|
|
1837
|
+
resourceIds: number[];
|
|
1641
1838
|
}
|
|
1642
|
-
export declare class
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
mainMedia?: Media;
|
|
1646
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1647
|
-
activity?: SportsEnum;
|
|
1648
|
-
facilityId?: number;
|
|
1649
|
-
facilityName?: string;
|
|
1650
|
-
questionnaires?: number[];
|
|
1651
|
-
minAgeYears?: number;
|
|
1652
|
-
maxAgeYears?: number;
|
|
1653
|
-
gender: GenderEnum;
|
|
1654
|
-
maxMembers?: number;
|
|
1655
|
-
maxMaleMembers?: number;
|
|
1656
|
-
maxFemaleMembers?: number;
|
|
1657
|
-
membershipType: MembershipTypeEnum;
|
|
1658
|
-
durationMonths?: number;
|
|
1659
|
-
startDate?: string;
|
|
1660
|
-
endDate?: string;
|
|
1661
|
-
registrationStartDate?: Date;
|
|
1662
|
-
registrationEndDate?: Date;
|
|
1663
|
-
package?: IPackageResponse;
|
|
1664
|
-
tags: any[];
|
|
1665
|
-
members: MembershipMember[];
|
|
1666
|
-
longDescription?: string;
|
|
1667
|
-
isAutoRenew?: boolean;
|
|
1668
|
-
purchasedResources: PurchasedResource[];
|
|
1839
|
+
export declare class ReturnRequiredProductsDto {
|
|
1840
|
+
userId: number;
|
|
1841
|
+
productId: number;
|
|
1669
1842
|
}
|
|
1670
|
-
export declare class
|
|
1671
|
-
membership: Membership;
|
|
1672
|
-
membershipId: number;
|
|
1673
|
-
productUserId: number;
|
|
1674
|
-
productUser?: ProductsUsers;
|
|
1843
|
+
export declare class FindByProductUserIdsDto {
|
|
1675
1844
|
userId: number;
|
|
1676
|
-
|
|
1677
|
-
durationMonths?: number;
|
|
1678
|
-
startDate?: string;
|
|
1679
|
-
endDate?: string;
|
|
1680
|
-
renewalOfMemberId?: number;
|
|
1681
|
-
isAutoRenew?: boolean;
|
|
1682
|
-
nextPaymentMethodId?: string;
|
|
1683
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1684
|
-
answerTitleIds?: number[];
|
|
1685
|
-
cancelledAt?: Date | null;
|
|
1686
|
-
cancellationReason?: string;
|
|
1687
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1688
|
-
isImported?: boolean;
|
|
1845
|
+
organizationId: number;
|
|
1689
1846
|
}
|
|
1690
|
-
export declare class
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
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;
|
|
1695
1874
|
}
|
|
1696
|
-
export declare class
|
|
1697
|
-
|
|
1698
|
-
dayOfWeek: number;
|
|
1699
|
-
open: string;
|
|
1700
|
-
close: string;
|
|
1701
|
-
facilityId: number;
|
|
1702
|
-
createdAt: Date;
|
|
1703
|
-
updatedAt: Date;
|
|
1704
|
-
deletedAt?: Date;
|
|
1705
|
-
facility: Facility;
|
|
1875
|
+
export declare class GetAllVariantTitlesDto {
|
|
1876
|
+
organizationId: number;
|
|
1706
1877
|
}
|
|
1707
|
-
export declare class
|
|
1708
|
-
|
|
1709
|
-
price: number | null;
|
|
1710
|
-
status: OrderStatusEnum | null;
|
|
1711
|
-
sentForClientDate: Date | null;
|
|
1712
|
-
payingUserId?: number | null;
|
|
1713
|
-
orderToInvoices: OrderToInvoice[];
|
|
1714
|
-
lineItems: LineItems[];
|
|
1715
|
-
lineItemHistory: LineItemHistory[];
|
|
1716
|
-
paymentStatus: PaymentStatusEnum;
|
|
1717
|
-
paymentMethodId?: string;
|
|
1718
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1719
|
-
paidAmount: number;
|
|
1720
|
-
currency: CurrencyEnum;
|
|
1721
|
-
mainInvoiceId: number;
|
|
1722
|
-
isScheduled: boolean;
|
|
1723
|
-
isRefunded: boolean;
|
|
1724
|
-
isVoided: boolean;
|
|
1725
|
-
creatingUserId: number;
|
|
1726
|
-
shiftId: number;
|
|
1727
|
-
platform: PlatformsEnum;
|
|
1728
|
-
orderNotes: OrderNote[];
|
|
1729
|
-
slots: Slot[];
|
|
1878
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
1879
|
+
organizationId: number;
|
|
1730
1880
|
}
|
|
1731
|
-
export declare class
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
invoice: Invoice;
|
|
1736
|
-
paidAmount?: number;
|
|
1737
|
-
currency: CurrencyEnum;
|
|
1881
|
+
export declare class CreateVariantTitleDto {
|
|
1882
|
+
organizationId: number;
|
|
1883
|
+
title: string;
|
|
1884
|
+
variants: string[];
|
|
1738
1885
|
}
|
|
1739
|
-
export declare class
|
|
1886
|
+
export declare class UpdateVariantTitleDto {
|
|
1740
1887
|
organizationId: number;
|
|
1888
|
+
titleId: number;
|
|
1889
|
+
title: string;
|
|
1890
|
+
variants: string[];
|
|
1741
1891
|
}
|
|
1742
|
-
export declare class
|
|
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;
|
|
1902
|
+
}
|
|
1903
|
+
export declare class GetBySessionType {
|
|
1904
|
+
sessionType: 'event' | 'segment';
|
|
1905
|
+
}
|
|
1906
|
+
export declare class CreateSubcategoryDto {
|
|
1907
|
+
productType: ProductTypesEnum;
|
|
1908
|
+
name: string;
|
|
1909
|
+
stationId?: number;
|
|
1910
|
+
ordinal?: number;
|
|
1911
|
+
}
|
|
1912
|
+
export declare class CreateSubcategoriesDto {
|
|
1913
|
+
subcategories: CreateSubcategoryDto[];
|
|
1914
|
+
}
|
|
1915
|
+
export declare class UpdateSubcategoryDto {
|
|
1916
|
+
id: number;
|
|
1917
|
+
productType?: ProductTypesEnum;
|
|
1743
1918
|
name?: string;
|
|
1744
|
-
|
|
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;
|
|
1745
1932
|
price: number;
|
|
1746
|
-
|
|
1747
|
-
percentage: number;
|
|
1748
|
-
quantity: number;
|
|
1749
|
-
duration: number;
|
|
1750
|
-
organizationId: number;
|
|
1751
|
-
creatorId: number;
|
|
1752
|
-
creatorType: string;
|
|
1753
|
-
userCreatorId: number;
|
|
1754
|
-
ownerId: number;
|
|
1755
|
-
addon: boolean;
|
|
1933
|
+
isFlatPrice: boolean;
|
|
1756
1934
|
isMandatory: boolean;
|
|
1757
|
-
|
|
1935
|
+
level: ProductPackageLevelEnum;
|
|
1758
1936
|
}
|
|
1759
|
-
export declare class
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1937
|
+
export declare class createProductAvailabilityTimesDto {
|
|
1938
|
+
availabilityStartDate?: string;
|
|
1939
|
+
availabilityEndDate?: string;
|
|
1940
|
+
daysOfWeek: number[];
|
|
1941
|
+
startTime: string;
|
|
1942
|
+
endTime: string;
|
|
1764
1943
|
}
|
|
1765
|
-
export declare class
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
user: User;
|
|
1769
|
-
isPublic: boolean;
|
|
1770
|
-
deletedAt: Date;
|
|
1771
|
-
orderId: number;
|
|
1772
|
-
order: Order;
|
|
1944
|
+
export declare class createResourceDto {
|
|
1945
|
+
resourceId: number;
|
|
1946
|
+
resourceType: ResourceNameTypeEnum;
|
|
1773
1947
|
}
|
|
1774
|
-
export declare class
|
|
1775
|
-
|
|
1776
|
-
ownerId: number | null;
|
|
1777
|
-
parentId: number | null;
|
|
1778
|
-
parentType: string | null;
|
|
1779
|
-
idAtProvider: string | null;
|
|
1780
|
-
providerType: number | null;
|
|
1781
|
-
providerExtraData: string | null;
|
|
1782
|
-
requestData: string | null;
|
|
1783
|
-
responseData: string | null;
|
|
1784
|
-
status: number | null;
|
|
1785
|
-
price: number | null;
|
|
1786
|
-
currency: string | null;
|
|
1787
|
-
locked: boolean | null;
|
|
1788
|
-
numberOfTries: number | null;
|
|
1789
|
-
installmentId: number | null;
|
|
1790
|
-
orderId: string | null;
|
|
1948
|
+
export declare class archiveDto {
|
|
1949
|
+
isArchive: boolean;
|
|
1791
1950
|
}
|
|
1792
|
-
export declare class
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1951
|
+
export declare class CreateUpdateVariantsDto {
|
|
1952
|
+
organizationId: number;
|
|
1953
|
+
parentProductId: number;
|
|
1954
|
+
variantTitles: VariantTitleDto[];
|
|
1955
|
+
variants: VariantDto[];
|
|
1797
1956
|
}
|
|
1798
|
-
export declare class
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
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
|
-
}
|
|
1814
|
-
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1815
|
-
name: string;
|
|
1816
|
-
quantity: number;
|
|
1817
|
-
paymentProcessorId?: string;
|
|
1818
|
-
startDate?: Date;
|
|
1819
|
-
endDate?: Date;
|
|
1820
|
-
isPublic: boolean;
|
|
1821
|
-
productType?: ProductTypesEnum;
|
|
1822
|
-
GL?: string;
|
|
1823
|
-
downpayment?: number;
|
|
1824
|
-
description?: string;
|
|
1825
|
-
prices: Price[];
|
|
1826
|
-
currPrice: Price;
|
|
1827
|
-
productSubType?: ProductSubTypesEnum;
|
|
1828
|
-
punchCard: boolean;
|
|
1829
|
-
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
1968
|
}
|
|
1864
|
-
export declare class
|
|
1865
|
-
|
|
1866
|
-
childProductId: number;
|
|
1867
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1868
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1869
|
-
deletedAt?: Date;
|
|
1870
|
-
productResource: ProductResource;
|
|
1871
|
-
childProduct: Product;
|
|
1872
|
-
parentProduct: Product;
|
|
1873
|
-
price: number;
|
|
1874
|
-
isFlatPrice: boolean;
|
|
1875
|
-
durationMinutes?: number;
|
|
1876
|
-
durationDays?: number;
|
|
1877
|
-
level?: ProductPackageLevelEnum;
|
|
1969
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
1970
|
+
programId: number;
|
|
1878
1971
|
}
|
|
1879
|
-
export declare class
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
dayOfMonth?: number;
|
|
1883
|
-
name: string;
|
|
1884
|
-
deletedAt?: Date;
|
|
1885
|
-
schedule: PaymentPlanSchedule[];
|
|
1886
|
-
product?: Product;
|
|
1972
|
+
export declare class FindSessionsFiltersDto {
|
|
1973
|
+
status?: PublishingStatusEnum;
|
|
1974
|
+
isFullFetch?: boolean;
|
|
1887
1975
|
}
|
|
1888
|
-
export declare class
|
|
1889
|
-
|
|
1890
|
-
resourceId: number;
|
|
1891
|
-
resourceType: ResourceNameTypeEnum;
|
|
1892
|
-
deletedAt?: Date;
|
|
1893
|
-
programSeason: ProgramSeason;
|
|
1894
|
-
event: Event;
|
|
1895
|
-
product: Product;
|
|
1896
|
-
productPackages: ProductPackage[];
|
|
1897
|
-
resourceName?: string;
|
|
1976
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
1977
|
+
organizationId: number;
|
|
1898
1978
|
}
|
|
1899
|
-
export declare class
|
|
1900
|
-
|
|
1901
|
-
variantTitleId: number;
|
|
1979
|
+
export declare class DeleteEventAttendeesDto {
|
|
1980
|
+
eventAttendeeIds: string;
|
|
1902
1981
|
}
|
|
1903
|
-
export declare class
|
|
1904
|
-
|
|
1905
|
-
variantId: number;
|
|
1982
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
1983
|
+
includeResources?: boolean;
|
|
1906
1984
|
}
|
|
1907
|
-
export declare class
|
|
1908
|
-
|
|
1909
|
-
customerId: number;
|
|
1910
|
-
customer: Customer;
|
|
1911
|
-
deletedAt?: Date;
|
|
1912
|
-
product: Product;
|
|
1985
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
1986
|
+
seasonId: number;
|
|
1913
1987
|
}
|
|
1914
|
-
export declare class
|
|
1915
|
-
|
|
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 {
|
|
1916
1995
|
userId: number;
|
|
1917
|
-
user?: User;
|
|
1918
|
-
paymentStatus: PaymentStatusEnum;
|
|
1919
|
-
productName: string;
|
|
1920
|
-
productPrice: number;
|
|
1921
|
-
productQuantity: number;
|
|
1922
|
-
productQuantityLeft: number;
|
|
1923
|
-
productPriceCurrency: CurrencyEnum;
|
|
1924
|
-
ordinal?: number;
|
|
1925
|
-
purchasedResources: PurchasedResource[];
|
|
1926
|
-
product: Product;
|
|
1927
|
-
lineItem: LineItems;
|
|
1928
|
-
slots?: Slot[];
|
|
1929
|
-
addons?: Addon[];
|
|
1930
1996
|
}
|
|
1931
|
-
export declare class
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
data: any | null;
|
|
1936
|
-
program: Program;
|
|
1937
|
-
deletedAt?: Date;
|
|
1997
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
1998
|
+
isFreeAgentsOnly?: boolean;
|
|
1999
|
+
isPunchCardUsers?: boolean;
|
|
2000
|
+
nameEmailSearch?: string;
|
|
1938
2001
|
}
|
|
1939
|
-
export declare class
|
|
2002
|
+
export declare class BaseProgramSeasonDto {
|
|
1940
2003
|
programId: number;
|
|
1941
2004
|
name: string;
|
|
1942
|
-
description: string | null;
|
|
1943
|
-
GL?: string | null;
|
|
1944
2005
|
status: PublishingStatusEnum;
|
|
2006
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
1945
2007
|
startDate: Date;
|
|
1946
2008
|
endDate: Date;
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
2009
|
+
description?: string;
|
|
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;
|
|
1958
2025
|
organizationId: number;
|
|
1959
|
-
facilityId: number | null;
|
|
1960
|
-
facilityName?: string;
|
|
1961
|
-
addressId: number | null;
|
|
1962
2026
|
sport: SportsEnum;
|
|
1963
2027
|
minAge: string;
|
|
1964
2028
|
maxAge: string;
|
|
1965
2029
|
gender: GenderEnum;
|
|
1966
|
-
level
|
|
1967
|
-
blockedDated: BlockedDate[];
|
|
1968
|
-
seasonAttendees: SeasonAttendee[];
|
|
1969
|
-
products: Product[];
|
|
1970
|
-
linkSEO: string;
|
|
1971
|
-
address: Address;
|
|
1972
|
-
defaultProductId?: number;
|
|
1973
|
-
longDescription?: string;
|
|
1974
|
-
isPunchCard?: boolean;
|
|
1975
|
-
deletedAt?: Date;
|
|
1976
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
1977
|
-
program: Program;
|
|
1978
|
-
spaces?: Resource[];
|
|
1979
|
-
earlyRegistrationStartDate?: Date;
|
|
1980
|
-
earlyRegistrationEndDate?: Date;
|
|
1981
|
-
lateRegistrationStartDate?: Date;
|
|
1982
|
-
lateRegistrationEndDate?: Date;
|
|
2030
|
+
level?: LevelOfPlayEnum[];
|
|
1983
2031
|
requiredProductIds?: number[];
|
|
1984
|
-
registrationConstraints?: RegistrationConstraint;
|
|
1985
|
-
sessionSegments: ProgramSeason[];
|
|
1986
|
-
sessionEvents: Event[];
|
|
1987
|
-
parentSession: ProgramSeason;
|
|
1988
|
-
activityTimes: ActivityTimes[];
|
|
1989
|
-
productResources: ProductResource[];
|
|
1990
|
-
facility: Facility;
|
|
1991
|
-
purchasedResources: PurchasedResource[];
|
|
1992
2032
|
}
|
|
1993
|
-
export declare class
|
|
1994
|
-
|
|
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 {
|
|
1995
2044
|
name: string;
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
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;
|
|
2003
2054
|
status: PublishingStatusEnum;
|
|
2004
|
-
mainMedia: Media;
|
|
2005
|
-
organizationId: number;
|
|
2006
|
-
userCreatorId: number;
|
|
2007
|
-
programHighlights: ProgramHighlights[];
|
|
2008
|
-
linkSEO: string;
|
|
2009
|
-
longDescription?: string;
|
|
2010
|
-
requiredProductIds: number[] | null;
|
|
2011
|
-
deletedAt?: Date;
|
|
2012
|
-
programSeason: ProgramSeason[];
|
|
2013
|
-
purchasedResources: PurchasedResource[];
|
|
2014
2055
|
}
|
|
2015
|
-
export declare class
|
|
2016
|
-
|
|
2017
|
-
|
|
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;
|
|
2065
|
+
}
|
|
2066
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
2067
|
+
seasonId: number;
|
|
2068
|
+
name: string;
|
|
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[];
|
|
2086
|
+
}
|
|
2087
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
2088
|
+
id: number;
|
|
2089
|
+
name: string;
|
|
2090
|
+
}
|
|
2091
|
+
export declare class SpaceResourcePairDto {
|
|
2018
2092
|
resourceType: ResourceNameTypeEnum;
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
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;
|
|
2093
|
+
resourceId: number;
|
|
2094
|
+
spacesIds: number[];
|
|
2095
|
+
publicNotes?: string;
|
|
2096
|
+
privateNotes?: string;
|
|
2097
|
+
minutesBeforeSlot?: number;
|
|
2098
|
+
minutesAfterSlot?: number;
|
|
2036
2099
|
}
|
|
2037
|
-
export declare class
|
|
2038
|
-
|
|
2039
|
-
|
|
2100
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
2101
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
2102
|
+
organizationId: number;
|
|
2040
2103
|
}
|
|
2041
|
-
export declare class
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
userCreatorId: number | null;
|
|
2052
|
-
ownerId: number | null;
|
|
2053
|
-
questionnaireId: number | null;
|
|
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[];
|
|
2054
2114
|
}
|
|
2055
|
-
export declare class
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
deletedAt: Date;
|
|
2115
|
+
export declare class UpdateSeasonDatesDto {
|
|
2116
|
+
startDate: Date;
|
|
2117
|
+
endDate: Date;
|
|
2059
2118
|
}
|
|
2060
|
-
export declare class
|
|
2119
|
+
export declare class MoveAttendeeDto {
|
|
2120
|
+
userId: number;
|
|
2061
2121
|
resourceType: ResourceNameTypeEnum;
|
|
2122
|
+
fromResourceIds: number[];
|
|
2123
|
+
toResourceIds: number[];
|
|
2124
|
+
}
|
|
2125
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
2126
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
2127
|
+
}
|
|
2128
|
+
export declare class RegistrationDatesDto {
|
|
2129
|
+
registrationStartDate: Date;
|
|
2130
|
+
registrationEndDate: Date;
|
|
2131
|
+
earlyRegistrationStartDate?: Date;
|
|
2132
|
+
earlyRegistrationEndDate?: Date;
|
|
2133
|
+
lateRegistrationStartDate?: Date;
|
|
2134
|
+
lateRegistrationEndDate?: Date;
|
|
2135
|
+
}
|
|
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 {
|
|
2146
|
+
userId: number;
|
|
2147
|
+
oldProductId: number;
|
|
2148
|
+
newProductId: number;
|
|
2149
|
+
moveType: 'session' | 'segment';
|
|
2062
2150
|
resourceId: number;
|
|
2063
|
-
|
|
2064
|
-
openNumMinutes?: number;
|
|
2065
|
-
openTime?: string;
|
|
2066
|
-
closeNumDays?: number;
|
|
2067
|
-
closeNumMinutes?: number;
|
|
2068
|
-
closeTime?: string;
|
|
2069
|
-
deletedAt?: Date;
|
|
2151
|
+
orderId: number;
|
|
2070
2152
|
}
|
|
2071
|
-
export declare class
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
orderId?: string;
|
|
2153
|
+
export declare class PurchasePaymentDto {
|
|
2154
|
+
token: string;
|
|
2155
|
+
type: PaymentMethodTypeEnum;
|
|
2156
|
+
}
|
|
2157
|
+
export declare class ChargeRentalsReuqestDto {
|
|
2158
|
+
organizationId: number;
|
|
2159
|
+
userId?: number;
|
|
2079
2160
|
customerId?: number;
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
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[];
|
|
2161
|
+
orderId: number;
|
|
2162
|
+
paymentData: PurchasePaymentDto;
|
|
2163
|
+
amountToPay: number;
|
|
2164
|
+
total: number;
|
|
2165
|
+
platform: PlatformsEnum;
|
|
2166
|
+
shiftId?: number;
|
|
2102
2167
|
}
|
|
2103
|
-
export declare class
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
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;
|
|
2118
2191
|
ordinal?: number;
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
deletedAt?: Date;
|
|
2122
|
-
activityTimes: ActivityTimes[];
|
|
2123
|
-
facilities: Facility[];
|
|
2124
|
-
slots?: Slot[];
|
|
2125
|
-
addons?: Addon[];
|
|
2126
|
-
facilityId: number;
|
|
2127
|
-
facility: Facility;
|
|
2128
|
-
purchasedResources: PurchasedResource[];
|
|
2129
|
-
linkSEO: string;
|
|
2192
|
+
startDate?: Date;
|
|
2193
|
+
quantity?: number;
|
|
2130
2194
|
}
|
|
2131
|
-
export declare class
|
|
2195
|
+
export declare class PartialPaymentRequestDto {
|
|
2196
|
+
orderId: number;
|
|
2197
|
+
amountToPay: number;
|
|
2198
|
+
organizationId: number;
|
|
2199
|
+
payingUserId: number;
|
|
2200
|
+
paymentMethodData: PurchasePaymentDto;
|
|
2201
|
+
shiftId?: number;
|
|
2202
|
+
}
|
|
2203
|
+
export declare class RedeemPunchCardRequestDto {
|
|
2204
|
+
products: PurchaseProductDto[];
|
|
2205
|
+
answersTitlesIds: number[];
|
|
2206
|
+
organizationId: number;
|
|
2207
|
+
purchasingUserId: number;
|
|
2208
|
+
}
|
|
2209
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
2210
|
+
orderId: number;
|
|
2211
|
+
}
|
|
2212
|
+
export declare class AddItemsDto {
|
|
2213
|
+
products: PurchaseProductDto[];
|
|
2214
|
+
allocateResource: boolean;
|
|
2215
|
+
skipMail: boolean;
|
|
2216
|
+
}
|
|
2217
|
+
export declare class PartialPaymentAsUserDto {
|
|
2218
|
+
orderId: any;
|
|
2219
|
+
organizationId: any;
|
|
2220
|
+
amountToPay: any;
|
|
2221
|
+
paymentMethodData: any;
|
|
2222
|
+
}
|
|
2223
|
+
export declare class CreateResourceGroupDto {
|
|
2132
2224
|
name: string;
|
|
2133
|
-
facilityId: number;
|
|
2134
2225
|
parentSlotId: number;
|
|
2226
|
+
facilityId: number;
|
|
2135
2227
|
childrenSlotIds: number[];
|
|
2136
|
-
deletedAt?: Date;
|
|
2137
2228
|
}
|
|
2138
|
-
export declare class
|
|
2139
|
-
name: string | null;
|
|
2140
|
-
alias: string[] | null;
|
|
2141
|
-
addressId: number | null;
|
|
2142
|
-
website: string | null;
|
|
2143
|
-
phone: string | null;
|
|
2144
|
-
dataId: number | null;
|
|
2229
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
2145
2230
|
}
|
|
2146
|
-
export declare class
|
|
2147
|
-
|
|
2148
|
-
|
|
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;
|
|
2231
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
2232
|
+
organizationId: number;
|
|
2233
|
+
programType?: ProgramTypesEnum;
|
|
2159
2234
|
}
|
|
2160
|
-
export declare class
|
|
2161
|
-
|
|
2162
|
-
ordinal: number | null;
|
|
2163
|
-
seasonId: number | null;
|
|
2164
|
-
color: string | null;
|
|
2235
|
+
export declare class FindProgramByIdDto {
|
|
2236
|
+
programId: number;
|
|
2165
2237
|
}
|
|
2166
|
-
export declare class
|
|
2167
|
-
|
|
2168
|
-
|
|
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;
|
|
2238
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
2239
|
+
programId: number;
|
|
2240
|
+
organizationId: number;
|
|
2180
2241
|
}
|
|
2181
|
-
export declare class
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2242
|
+
export declare class BaseProgramDto {
|
|
2243
|
+
type: ProgramTypesEnum;
|
|
2244
|
+
name: string;
|
|
2245
|
+
sport: SportsEnum;
|
|
2246
|
+
minAge: string;
|
|
2247
|
+
maxAge: string;
|
|
2248
|
+
gender: GenderEnum;
|
|
2249
|
+
level?: LevelOfPlayEnum[];
|
|
2250
|
+
description?: string;
|
|
2251
|
+
GL?: string;
|
|
2252
|
+
status: PublishingStatusEnum;
|
|
2253
|
+
organizationId: number;
|
|
2254
|
+
userCreatorId: number;
|
|
2255
|
+
highlights: ProgramHighlights[];
|
|
2256
|
+
longDescription?: string;
|
|
2257
|
+
requiredProductIds: number[];
|
|
2258
|
+
}
|
|
2259
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
2260
|
+
}
|
|
2261
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
2262
|
+
programId: number;
|
|
2263
|
+
mainMediaId: number;
|
|
2264
|
+
}
|
|
2265
|
+
export declare class UpdateProgramStatusDto {
|
|
2266
|
+
programId: number;
|
|
2267
|
+
status: PublishingStatusEnum;
|
|
2190
2268
|
}
|
|
2191
|
-
export declare class
|
|
2192
|
-
|
|
2193
|
-
|
|
2269
|
+
export declare class ProgramHighlightDto {
|
|
2270
|
+
data: string;
|
|
2271
|
+
ordinal: number;
|
|
2272
|
+
type: ProgramHighlightTypeEnum;
|
|
2273
|
+
title: string;
|
|
2194
2274
|
}
|
|
2195
|
-
export declare class
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
processorTerminalId: string | null;
|
|
2199
|
-
terminaLabel: string | null;
|
|
2200
|
-
processorSerialNumber: string | null;
|
|
2201
|
-
currentOpenShift?: Shift;
|
|
2202
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2203
|
-
subcategories: Subcategory[];
|
|
2204
|
-
shifts?: Shift[];
|
|
2275
|
+
export declare class ResourceDto {
|
|
2276
|
+
type: ResourceNameTypeEnum;
|
|
2277
|
+
id: number;
|
|
2205
2278
|
}
|
|
2206
|
-
export declare class
|
|
2207
|
-
|
|
2208
|
-
subcategoryId: number;
|
|
2209
|
-
productType: ProductTypesEnum;
|
|
2210
|
-
deletedAt?: Date;
|
|
2211
|
-
station: Station;
|
|
2212
|
-
subcategory: Subcategory;
|
|
2279
|
+
export declare class SpaceByIdDto {
|
|
2280
|
+
spaceId: number;
|
|
2213
2281
|
}
|
|
2214
|
-
export declare class
|
|
2215
|
-
productType: ProductTypesEnum;
|
|
2282
|
+
export declare class CreateSpaceDto {
|
|
2216
2283
|
name: string;
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2284
|
+
sports: number[];
|
|
2285
|
+
description?: string;
|
|
2286
|
+
longDescription?: string;
|
|
2287
|
+
spaceType: ResourceSubTypeEnum;
|
|
2288
|
+
isAddon?: boolean;
|
|
2289
|
+
properties: SpacePropertiesEnum;
|
|
2290
|
+
width?: number;
|
|
2291
|
+
length?: number;
|
|
2292
|
+
surface?: SurfacesEnum;
|
|
2293
|
+
ages?: ResourceAgesEnum;
|
|
2294
|
+
amenities: number[];
|
|
2295
|
+
activityTimes: BasicActivityTimesDto[];
|
|
2296
|
+
facilitiesIds: number[];
|
|
2297
|
+
resourceGroupId?: number;
|
|
2298
|
+
blockedResourcesIds?: number[];
|
|
2221
2299
|
}
|
|
2222
|
-
export declare class
|
|
2223
|
-
name: string
|
|
2224
|
-
description
|
|
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;
|
|
2300
|
+
export declare class UpdateSpaceDetailsDto {
|
|
2301
|
+
name: string;
|
|
2302
|
+
description?: string;
|
|
2303
|
+
longDescription?: string;
|
|
2304
|
+
isAddon?: boolean;
|
|
2305
|
+
facilitiesIds: number[];
|
|
2255
2306
|
}
|
|
2256
|
-
export declare class
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
tokenExpirationDate: Date;
|
|
2263
|
-
isUsed: boolean;
|
|
2307
|
+
export declare class UpdateSpacePropertiesDto {
|
|
2308
|
+
properties: SpacePropertiesEnum;
|
|
2309
|
+
width?: number;
|
|
2310
|
+
length?: number;
|
|
2311
|
+
surface?: SurfacesEnum;
|
|
2312
|
+
ages?: ResourceAgesEnum;
|
|
2264
2313
|
}
|
|
2265
|
-
export declare class
|
|
2266
|
-
|
|
2267
|
-
userId: number | null;
|
|
2268
|
-
paymentId: number | null;
|
|
2269
|
-
hasPaid: boolean | null;
|
|
2270
|
-
status: TeamMemberStatusEnum | null;
|
|
2271
|
-
role: TeamMemberRoleEnum;
|
|
2272
|
-
user: User;
|
|
2314
|
+
export declare class UpdateSpaceTimesDto {
|
|
2315
|
+
activityTimes: BasicActivityTimesDto[];
|
|
2273
2316
|
}
|
|
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[];
|
|
2317
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
2318
|
+
resourceGroupId?: number;
|
|
2319
|
+
blockedResourcesIds?: number[];
|
|
2312
2320
|
}
|
|
2313
|
-
export declare class
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
-
user: User;
|
|
2321
|
+
export declare class SaveSpaceDependenciesDto {
|
|
2322
|
+
blockedSpacesIds: number[];
|
|
2323
|
+
parentSpaceId?: number;
|
|
2318
2324
|
}
|
|
2319
|
-
export declare class
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
isAdmin: boolean;
|
|
2323
|
-
user: User;
|
|
2324
|
-
familyAccount: FamilyAccount;
|
|
2325
|
-
deletedAt?: Date;
|
|
2325
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
2326
|
+
spacesIds?: string;
|
|
2327
|
+
futureHoursLimit?: number;
|
|
2326
2328
|
}
|
|
2327
|
-
export declare class
|
|
2328
|
-
|
|
2329
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
2330
|
+
nameSearch?: string;
|
|
2331
|
+
facilitiesIds?: string;
|
|
2332
|
+
types?: string;
|
|
2333
|
+
resourcesIds?: string;
|
|
2334
|
+
}
|
|
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",
|
|
@@ -3253,12 +3254,40 @@ export declare class AddFamilyDto {
|
|
|
3253
3254
|
parents: AddImportedCustomerDto[];
|
|
3254
3255
|
children: AddImportedCustomerDto[];
|
|
3255
3256
|
}
|
|
3256
|
-
export declare
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3257
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3258
|
+
CREDIT_CARD = "card",
|
|
3259
|
+
ACH = "ach",
|
|
3260
|
+
CASH = "cash",
|
|
3261
|
+
CHECK = "check",
|
|
3262
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3263
|
+
OTHER = "other"
|
|
3264
|
+
}
|
|
3265
|
+
export declare class ImportedInvoiceLineDto {
|
|
3266
|
+
invoiceID?: string;
|
|
3267
|
+
description: string;
|
|
3268
|
+
createdDate: string;
|
|
3269
|
+
createdTime: string;
|
|
3270
|
+
quantity: string;
|
|
3271
|
+
price: string;
|
|
3272
|
+
total: string;
|
|
3273
|
+
customerID: string;
|
|
3274
|
+
resourceType: string;
|
|
3275
|
+
resourceID: string;
|
|
3276
|
+
}
|
|
3277
|
+
export declare class ImportedInvoiceDto {
|
|
3278
|
+
customerId?: string;
|
|
3279
|
+
total?: string;
|
|
3280
|
+
amountDue?: string;
|
|
3281
|
+
payments?: ImportedPaymentDto[];
|
|
3282
|
+
lines: any;
|
|
3283
|
+
}
|
|
3284
|
+
export declare class ImportedPaymentDto {
|
|
3285
|
+
invoiceID: string;
|
|
3286
|
+
type: ImportPaymentTypeEnum;
|
|
3287
|
+
description: string;
|
|
3288
|
+
paid: string;
|
|
3289
|
+
date: string;
|
|
3290
|
+
time: string;
|
|
3262
3291
|
}
|
|
3263
3292
|
export declare class ProductIdsDto {
|
|
3264
3293
|
productIds?: number[];
|
|
@@ -3269,6 +3298,13 @@ export declare class ProductImportDto {
|
|
|
3269
3298
|
resourceIds: number[];
|
|
3270
3299
|
oldId: number;
|
|
3271
3300
|
}
|
|
3301
|
+
export declare class PunchPassDto {
|
|
3302
|
+
CustomerID: string;
|
|
3303
|
+
QuantityLeft: number;
|
|
3304
|
+
BondProgramID: number;
|
|
3305
|
+
BondSessionID: number;
|
|
3306
|
+
ProductID: number;
|
|
3307
|
+
}
|
|
3272
3308
|
export declare class ImportedSlotProductDto {
|
|
3273
3309
|
slotID?: string;
|
|
3274
3310
|
name?: string;
|
|
@@ -3320,41 +3356,6 @@ export declare class ImportedReservationDto {
|
|
|
3320
3356
|
slots?: ImportedSlotDto[];
|
|
3321
3357
|
addons?: ImportedSlotProductDto[];
|
|
3322
3358
|
}
|
|
3323
|
-
export declare enum ImportPaymentTypeEnum {
|
|
3324
|
-
CREDIT_CARD = "card",
|
|
3325
|
-
ACH = "ach",
|
|
3326
|
-
CASH = "cash",
|
|
3327
|
-
CHECK = "check",
|
|
3328
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3329
|
-
OTHER = "other"
|
|
3330
|
-
}
|
|
3331
|
-
export declare class ImportedInvoiceLineDto {
|
|
3332
|
-
invoiceID?: string;
|
|
3333
|
-
description: string;
|
|
3334
|
-
createdDate: string;
|
|
3335
|
-
createdTime: string;
|
|
3336
|
-
quantity: string;
|
|
3337
|
-
price: string;
|
|
3338
|
-
total: string;
|
|
3339
|
-
customerID: string;
|
|
3340
|
-
resourceType: string;
|
|
3341
|
-
resourceID: string;
|
|
3342
|
-
}
|
|
3343
|
-
export declare class ImportedInvoiceDto {
|
|
3344
|
-
customerId?: string;
|
|
3345
|
-
total?: string;
|
|
3346
|
-
amountDue?: string;
|
|
3347
|
-
payments?: ImportedPaymentDto[];
|
|
3348
|
-
lines: any;
|
|
3349
|
-
}
|
|
3350
|
-
export declare class ImportedPaymentDto {
|
|
3351
|
-
invoiceID: string;
|
|
3352
|
-
type: ImportPaymentTypeEnum;
|
|
3353
|
-
description: string;
|
|
3354
|
-
paid: string;
|
|
3355
|
-
date: string;
|
|
3356
|
-
time: string;
|
|
3357
|
-
}
|
|
3358
3359
|
export declare class GameSlots extends BondBaseEntity {
|
|
3359
3360
|
entityType: string;
|
|
3360
3361
|
entityId: number;
|
|
@@ -3406,74 +3407,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3406
3407
|
code: string;
|
|
3407
3408
|
config?: any;
|
|
3408
3409
|
}
|
|
3409
|
-
export declare class ByOrganizationIdDto {
|
|
3410
|
-
organizationId: number;
|
|
3411
|
-
}
|
|
3412
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3413
|
-
organizationId?: number;
|
|
3414
|
-
}
|
|
3415
|
-
export declare class Organization extends BondBaseEntity {
|
|
3416
|
-
name: string | null;
|
|
3417
|
-
email: string | null;
|
|
3418
|
-
twitter: string | null;
|
|
3419
|
-
facebook: string | null;
|
|
3420
|
-
instagram: string | null;
|
|
3421
|
-
website: string | null;
|
|
3422
|
-
blog: string | null;
|
|
3423
|
-
phoneNumber: string | null;
|
|
3424
|
-
waiverDoc: string | null;
|
|
3425
|
-
about: string | null;
|
|
3426
|
-
tagline: string | null;
|
|
3427
|
-
status: number | null;
|
|
3428
|
-
addressId: number | null;
|
|
3429
|
-
merchantId: number | null;
|
|
3430
|
-
userCreatorId: number | null;
|
|
3431
|
-
parentId: number | null;
|
|
3432
|
-
paymentSettings: object | null;
|
|
3433
|
-
settings: object | null;
|
|
3434
|
-
isClaimed: boolean | null;
|
|
3435
|
-
sports: number[] | null;
|
|
3436
|
-
mainMediaId: number | null;
|
|
3437
|
-
deletedAt: Date | null;
|
|
3438
|
-
organizationActivityTypes: number[] | null;
|
|
3439
|
-
organizationTypes: number[] | null;
|
|
3440
|
-
organizationAudienceTypes: number[] | null;
|
|
3441
|
-
organizationGenders: number[] | null;
|
|
3442
|
-
questionnaireId: number | null;
|
|
3443
|
-
membershipQuestionnaireId: number | null;
|
|
3444
|
-
feeRate: number;
|
|
3445
|
-
feeAddDollarRate: number;
|
|
3446
|
-
achFeeRate: number;
|
|
3447
|
-
achFeeAddDollarRate: number;
|
|
3448
|
-
maxAchFee: number;
|
|
3449
|
-
cashFeeRate: number;
|
|
3450
|
-
cashFeeAddDollarRate: number;
|
|
3451
|
-
terminalFeeRate: number;
|
|
3452
|
-
terminalFeeAddDollarRate: number;
|
|
3453
|
-
checkFeeRate: number;
|
|
3454
|
-
checkFeeAddDollarRate: number;
|
|
3455
|
-
otherFeeRate: number;
|
|
3456
|
-
otherFeeAddDollarRate: number;
|
|
3457
|
-
balanceFeeRate: number;
|
|
3458
|
-
balanceFeeAddDollarRate: number;
|
|
3459
|
-
address: Address;
|
|
3460
|
-
mainMedia: Media;
|
|
3461
|
-
brandings: OrganizationBranding[];
|
|
3462
|
-
brandingsV2?: OrganizationBranding[];
|
|
3463
|
-
}
|
|
3464
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3465
|
-
key?: string;
|
|
3466
|
-
vaule?: string;
|
|
3467
|
-
version: number;
|
|
3468
|
-
organization: Organization;
|
|
3469
|
-
}
|
|
3470
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3471
|
-
organisationId: number | null;
|
|
3472
|
-
userId: number | null;
|
|
3473
|
-
}
|
|
3474
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3475
|
-
mainAdminUserId?: number;
|
|
3476
|
-
}
|
|
3477
3410
|
export declare class CustomerIdDto {
|
|
3478
3411
|
customerId: number;
|
|
3479
3412
|
}
|
|
@@ -3623,6 +3556,97 @@ export declare class VoidLineItemDto {
|
|
|
3623
3556
|
isEdit?: boolean;
|
|
3624
3557
|
amount?: number;
|
|
3625
3558
|
}
|
|
3559
|
+
export declare class ByOrganizationIdDto {
|
|
3560
|
+
organizationId: number;
|
|
3561
|
+
}
|
|
3562
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3563
|
+
organizationId?: number;
|
|
3564
|
+
}
|
|
3565
|
+
export declare class Organization extends BondBaseEntity {
|
|
3566
|
+
name: string | null;
|
|
3567
|
+
email: string | null;
|
|
3568
|
+
twitter: string | null;
|
|
3569
|
+
facebook: string | null;
|
|
3570
|
+
instagram: string | null;
|
|
3571
|
+
website: string | null;
|
|
3572
|
+
blog: string | null;
|
|
3573
|
+
phoneNumber: string | null;
|
|
3574
|
+
waiverDoc: string | null;
|
|
3575
|
+
about: string | null;
|
|
3576
|
+
tagline: string | null;
|
|
3577
|
+
status: number | null;
|
|
3578
|
+
addressId: number | null;
|
|
3579
|
+
merchantId: number | null;
|
|
3580
|
+
userCreatorId: number | null;
|
|
3581
|
+
parentId: number | null;
|
|
3582
|
+
paymentSettings: object | null;
|
|
3583
|
+
settings: object | null;
|
|
3584
|
+
isClaimed: boolean | null;
|
|
3585
|
+
sports: number[] | null;
|
|
3586
|
+
mainMediaId: number | null;
|
|
3587
|
+
deletedAt: Date | null;
|
|
3588
|
+
organizationActivityTypes: number[] | null;
|
|
3589
|
+
organizationTypes: number[] | null;
|
|
3590
|
+
organizationAudienceTypes: number[] | null;
|
|
3591
|
+
organizationGenders: number[] | null;
|
|
3592
|
+
questionnaireId: number | null;
|
|
3593
|
+
membershipQuestionnaireId: number | null;
|
|
3594
|
+
feeRate: number;
|
|
3595
|
+
feeAddDollarRate: number;
|
|
3596
|
+
achFeeRate: number;
|
|
3597
|
+
achFeeAddDollarRate: number;
|
|
3598
|
+
maxAchFee: number;
|
|
3599
|
+
cashFeeRate: number;
|
|
3600
|
+
cashFeeAddDollarRate: number;
|
|
3601
|
+
terminalFeeRate: number;
|
|
3602
|
+
terminalFeeAddDollarRate: number;
|
|
3603
|
+
checkFeeRate: number;
|
|
3604
|
+
checkFeeAddDollarRate: number;
|
|
3605
|
+
otherFeeRate: number;
|
|
3606
|
+
otherFeeAddDollarRate: number;
|
|
3607
|
+
balanceFeeRate: number;
|
|
3608
|
+
balanceFeeAddDollarRate: number;
|
|
3609
|
+
address: Address;
|
|
3610
|
+
mainMedia: Media;
|
|
3611
|
+
brandings: OrganizationBranding[];
|
|
3612
|
+
brandingsV2?: OrganizationBranding[];
|
|
3613
|
+
}
|
|
3614
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3615
|
+
key?: string;
|
|
3616
|
+
vaule?: string;
|
|
3617
|
+
version: number;
|
|
3618
|
+
organization: Organization;
|
|
3619
|
+
}
|
|
3620
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3621
|
+
mainAdminUserId?: number;
|
|
3622
|
+
}
|
|
3623
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3624
|
+
organisationId: number | null;
|
|
3625
|
+
userId: number | null;
|
|
3626
|
+
}
|
|
3627
|
+
export declare class ChangeRolePermissionsDto {
|
|
3628
|
+
permissionIds: number[];
|
|
3629
|
+
}
|
|
3630
|
+
export declare class CreateRoleDto {
|
|
3631
|
+
name: string;
|
|
3632
|
+
}
|
|
3633
|
+
export declare class Permission extends BondBaseEntity {
|
|
3634
|
+
name: string;
|
|
3635
|
+
deletedAt?: Date;
|
|
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,31 +4159,8 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4135
4159
|
changeLineItems?: LineItems[];
|
|
4136
4160
|
updatedLineItem?: LineItems;
|
|
4137
4161
|
}
|
|
4138
|
-
export declare class
|
|
4139
|
-
|
|
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
|
-
export declare class FindShiftsByIdsDto {
|
|
4162
|
-
shiftIds: number[];
|
|
4162
|
+
export declare class CloseShiftDto {
|
|
4163
|
+
closingCashAmount: number;
|
|
4163
4164
|
}
|
|
4164
4165
|
export declare class FindShiftsFiltersDto {
|
|
4165
4166
|
statuses?: string;
|
|
@@ -4192,6 +4193,9 @@ export declare class OpenShiftDto {
|
|
|
4192
4193
|
openingCashAmount: number;
|
|
4193
4194
|
stationId: number;
|
|
4194
4195
|
}
|
|
4196
|
+
export declare class FindShiftsByIdsDto {
|
|
4197
|
+
shiftIds: number[];
|
|
4198
|
+
}
|
|
4195
4199
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4200
|
stationId: number;
|
|
4197
4201
|
station?: Station;
|
|
@@ -4221,6 +4225,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4221
4225
|
closingManager?: User;
|
|
4222
4226
|
reconcilingUser?: User;
|
|
4223
4227
|
}
|
|
4224
|
-
export declare class CloseShiftDto {
|
|
4225
|
-
closingCashAmount: number;
|
|
4226
|
-
}
|