@bondsports/types 0.0.96 → 0.0.100
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 +2115 -2083
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,13 +2,6 @@ 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 BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -20,6 +13,18 @@ export declare class UserAnswersDto {
|
|
|
20
13
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
14
|
questionnaireIds: string;
|
|
22
15
|
}
|
|
16
|
+
export declare class FindOneParams {
|
|
17
|
+
id: number;
|
|
18
|
+
}
|
|
19
|
+
export declare class PaginationQuery {
|
|
20
|
+
page: number;
|
|
21
|
+
itemsPerPage: number;
|
|
22
|
+
}
|
|
23
|
+
export declare class PaginationRangeQuery {
|
|
24
|
+
startPage: number;
|
|
25
|
+
endPage: number;
|
|
26
|
+
itemsPerPage: number;
|
|
27
|
+
}
|
|
23
28
|
export declare class FindBookingTypeSettingDto {
|
|
24
29
|
organizationId: number;
|
|
25
30
|
facilityId: number;
|
|
@@ -27,165 +32,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
32
|
bookingDate: string;
|
|
28
33
|
bookingTime: string;
|
|
29
34
|
}
|
|
30
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
-
membershipId: number;
|
|
32
|
-
}
|
|
33
|
-
export declare class ImportProductsFromDB {
|
|
34
|
-
buDate: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportCustomerFromCSV {
|
|
37
|
-
fileName: string;
|
|
38
|
-
startIndex?: number;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
-
resolveInvoices: string;
|
|
42
|
-
}
|
|
43
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
-
membershipId: number;
|
|
45
|
-
onlyDashIds: string;
|
|
46
|
-
}
|
|
47
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
-
facilityId: number;
|
|
49
|
-
}
|
|
50
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
-
customerId: number;
|
|
52
|
-
}
|
|
53
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
-
nameSearch?: string;
|
|
55
|
-
fuzzy?: string;
|
|
56
|
-
customerType?: CustomerTypeEnum;
|
|
57
|
-
customersIds?: string;
|
|
58
|
-
}
|
|
59
|
-
export declare class AddCustomerNotesDto {
|
|
60
|
-
customerNotes: CustomerNoteDto[];
|
|
61
|
-
}
|
|
62
|
-
export declare class CustomerNoteDto {
|
|
63
|
-
id?: number;
|
|
64
|
-
description: string;
|
|
65
|
-
pinToTop?: boolean;
|
|
66
|
-
}
|
|
67
|
-
export declare class AddEditCustomerDto {
|
|
68
|
-
firstName?: string;
|
|
69
|
-
lastName?: string;
|
|
70
|
-
entityId?: number;
|
|
71
|
-
entityType?: CustomerTypeEnum;
|
|
72
|
-
email?: string;
|
|
73
|
-
color?: string;
|
|
74
|
-
street?: string;
|
|
75
|
-
city?: string;
|
|
76
|
-
state?: string;
|
|
77
|
-
zip?: string;
|
|
78
|
-
phoneNumber?: string;
|
|
79
|
-
mainMediaId?: number;
|
|
80
|
-
creatorId?: number;
|
|
81
|
-
creatorType?: ResourceNameTypeEnum;
|
|
82
|
-
userCreatorId?: number;
|
|
83
|
-
gender?: GenderEnum;
|
|
84
|
-
birthDate?: string;
|
|
85
|
-
emergencyContactName?: string;
|
|
86
|
-
emergencyContactPhone?: string;
|
|
87
|
-
}
|
|
88
|
-
export declare class FindEventByIdDto {
|
|
89
|
-
eventId: number;
|
|
90
|
-
organizationId: number;
|
|
91
|
-
}
|
|
92
|
-
export declare class UpdateEventDto {
|
|
93
|
-
name: string;
|
|
94
|
-
startDate: string;
|
|
95
|
-
endDate: string;
|
|
96
|
-
startTime: string;
|
|
97
|
-
endTime: string;
|
|
98
|
-
spacesIds?: number[];
|
|
99
|
-
publicNotes?: string;
|
|
100
|
-
privateNotes?: string;
|
|
101
|
-
isInformAttendees?: boolean;
|
|
102
|
-
minutesBeforeSlot?: number;
|
|
103
|
-
minutesAfterSlot?: number;
|
|
104
|
-
}
|
|
105
|
-
export declare class AddEventToSessionDto {
|
|
106
|
-
eventsData: UpdateEventDto[];
|
|
107
|
-
}
|
|
108
|
-
export declare class EventsIdsQueryDto {
|
|
109
|
-
eventsIds: string;
|
|
110
|
-
}
|
|
111
|
-
export declare class UpdateMultipleEventsDto {
|
|
112
|
-
eventsIds: number[];
|
|
113
|
-
name?: string;
|
|
114
|
-
startTime?: string;
|
|
115
|
-
endTime?: string;
|
|
116
|
-
spacesIds?: number[];
|
|
117
|
-
publicNotes?: string;
|
|
118
|
-
privateNotes?: string;
|
|
119
|
-
isInformAttendees?: boolean;
|
|
120
|
-
minutesBeforeSlot?: number;
|
|
121
|
-
minutesAfterSlot?: number;
|
|
122
|
-
}
|
|
123
|
-
export declare class FindByFacilityIdDto {
|
|
124
|
-
facilityId: number;
|
|
125
|
-
}
|
|
126
|
-
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
127
|
-
organizationId: number;
|
|
128
|
-
}
|
|
129
|
-
export declare class FacilityEventsScheduleQueryParams {
|
|
130
|
-
programsIds?: string;
|
|
131
|
-
startDate?: string;
|
|
132
|
-
endDate?: string;
|
|
133
|
-
}
|
|
134
|
-
export declare class ProgramLandingPageDto {
|
|
135
|
-
programId: number;
|
|
136
|
-
}
|
|
137
|
-
export declare class ProgramLandingPageQueryDto {
|
|
138
|
-
futureLimit?: number;
|
|
139
|
-
}
|
|
140
|
-
export declare class ProgramSessionLandingPageDto {
|
|
141
|
-
programId: number;
|
|
142
|
-
sessionId: number;
|
|
143
|
-
}
|
|
144
|
-
export interface IEventOfSessionDetails {
|
|
145
|
-
id: number;
|
|
146
|
-
name: string;
|
|
147
|
-
programId: number;
|
|
148
|
-
programType: ProgramTypesEnum;
|
|
149
|
-
sessionId: number;
|
|
150
|
-
sessionName: string;
|
|
151
|
-
isPublic: boolean;
|
|
152
|
-
startDate: Date;
|
|
153
|
-
endDate: Date;
|
|
154
|
-
startTime: string;
|
|
155
|
-
endTime: string;
|
|
156
|
-
resources: IBasicSpaceAndSlotCreator[];
|
|
157
|
-
attenedanceCount: number;
|
|
158
|
-
checkedInCount: number;
|
|
159
|
-
missingPaymentCount: number;
|
|
160
|
-
publicNotes: string;
|
|
161
|
-
privateNotes: string;
|
|
162
|
-
}
|
|
163
|
-
export interface IAttendeeOfEvent {
|
|
164
|
-
eventId: number;
|
|
165
|
-
userId: number;
|
|
166
|
-
lastName: string;
|
|
167
|
-
firstName: string;
|
|
168
|
-
birthDate: string;
|
|
169
|
-
mediaURL: string;
|
|
170
|
-
signedWaiver: string;
|
|
171
|
-
entryStatus: EntryStatusEnum;
|
|
172
|
-
paymentStatus: PaymentStatusEnum;
|
|
173
|
-
addOns: {
|
|
174
|
-
productId: number;
|
|
175
|
-
productName: string;
|
|
176
|
-
}[];
|
|
177
|
-
totalPasses?: number;
|
|
178
|
-
leftPasses?: number;
|
|
179
|
-
addonProductUserIds: number[];
|
|
180
|
-
}
|
|
181
|
-
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
182
|
-
nameSearch?: string;
|
|
183
|
-
isCheckedIn?: string;
|
|
184
|
-
isNotCheckedIn?: string;
|
|
185
|
-
hasAddons?: string;
|
|
186
|
-
isWaiverSigned?: string;
|
|
187
|
-
statuses?: string;
|
|
188
|
-
}
|
|
189
35
|
export declare class AddressDto {
|
|
190
36
|
city: string;
|
|
191
37
|
state: string;
|
|
@@ -229,60 +75,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
75
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
76
|
nameSearch?: string;
|
|
231
77
|
}
|
|
232
|
-
export declare class FindFamilyAccountsDto {
|
|
233
|
-
userId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
-
customerId: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
}
|
|
239
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
-
familyAccountId: number;
|
|
241
|
-
}
|
|
242
|
-
export declare class CreateFamilyAccountDto {
|
|
243
|
-
familyName: string;
|
|
244
|
-
userId: number;
|
|
245
|
-
}
|
|
246
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
-
familyName: string;
|
|
248
|
-
familyAccountId: number;
|
|
249
|
-
}
|
|
250
|
-
export declare class AddUserToFamilyAccountDto {
|
|
251
|
-
familyAccountId: number;
|
|
252
|
-
isUserAdmin: boolean;
|
|
253
|
-
firstName: string;
|
|
254
|
-
lastName: string;
|
|
255
|
-
gender: GenderEnum;
|
|
256
|
-
birthDate: string;
|
|
257
|
-
sports?: number[];
|
|
258
|
-
email?: string;
|
|
259
|
-
}
|
|
260
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
-
userId: number;
|
|
262
|
-
familyAccountId: number;
|
|
263
|
-
}
|
|
264
|
-
export declare class FindOneParams {
|
|
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;
|
|
278
|
-
}
|
|
279
|
-
export declare class GetGlCodeDto {
|
|
280
|
-
id: number;
|
|
281
|
-
organizationId: number;
|
|
282
|
-
code: string;
|
|
283
|
-
createdAt: Date;
|
|
284
|
-
updatedAt: Date;
|
|
285
|
-
}
|
|
286
78
|
export declare class FindByProgramSeasonIdDto {
|
|
287
79
|
seasonId: number;
|
|
288
80
|
}
|
|
@@ -356,323 +148,248 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
356
148
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
357
149
|
fileName: string;
|
|
358
150
|
}
|
|
359
|
-
export declare class
|
|
151
|
+
export declare class BasicActivityTimesDto {
|
|
152
|
+
dayOfWeek: number;
|
|
153
|
+
close: string;
|
|
154
|
+
open: string;
|
|
155
|
+
availabilityStartDate?: string;
|
|
156
|
+
availabilityEndDate?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
159
|
+
programId: number;
|
|
160
|
+
}
|
|
161
|
+
export declare class FindSessionsFiltersDto {
|
|
162
|
+
status?: PublishingStatusEnum;
|
|
163
|
+
isFullFetch?: boolean;
|
|
164
|
+
}
|
|
165
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
360
166
|
organizationId: number;
|
|
361
|
-
name: string;
|
|
362
|
-
description?: string;
|
|
363
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
364
|
-
activity: SportsEnum;
|
|
365
|
-
facilityId: number;
|
|
366
|
-
questionnaires: number[];
|
|
367
|
-
minAgeYears: number;
|
|
368
|
-
maxAgeYears: number;
|
|
369
|
-
gender: GenderEnum;
|
|
370
|
-
maxMembers?: number;
|
|
371
|
-
maxMaleMembers?: number;
|
|
372
|
-
maxFemaleMembers?: number;
|
|
373
|
-
startDate: string;
|
|
374
|
-
endDate: string;
|
|
375
|
-
registrationStartDate?: Date;
|
|
376
|
-
registrationEndDate?: Date;
|
|
377
|
-
membershipType: MembershipTypeEnum;
|
|
378
|
-
durationMonths: number;
|
|
379
|
-
longDescription?: string;
|
|
380
|
-
isAutoRenew?: boolean;
|
|
381
167
|
}
|
|
382
|
-
export declare class
|
|
383
|
-
|
|
168
|
+
export declare class DeleteEventAttendeesDto {
|
|
169
|
+
eventAttendeeIds: string;
|
|
384
170
|
}
|
|
385
|
-
export declare class
|
|
386
|
-
|
|
387
|
-
mediaId: number;
|
|
171
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
172
|
+
includeResources?: boolean;
|
|
388
173
|
}
|
|
389
|
-
export declare class
|
|
390
|
-
|
|
174
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
175
|
+
seasonId: number;
|
|
391
176
|
}
|
|
392
|
-
export declare class
|
|
393
|
-
|
|
177
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
178
|
+
seasonId: number;
|
|
394
179
|
}
|
|
395
|
-
export declare class
|
|
180
|
+
export declare class DeleteProductDto {
|
|
181
|
+
deleteProduct?: boolean;
|
|
182
|
+
}
|
|
183
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
396
184
|
userId: number;
|
|
397
185
|
}
|
|
398
|
-
export declare class
|
|
399
|
-
|
|
186
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
187
|
+
isFreeAgentsOnly?: boolean;
|
|
188
|
+
isPunchCardUsers?: boolean;
|
|
189
|
+
nameEmailSearch?: string;
|
|
400
190
|
}
|
|
401
|
-
export declare class
|
|
402
|
-
|
|
191
|
+
export declare class BaseProgramSeasonDto {
|
|
192
|
+
programId: number;
|
|
193
|
+
name: string;
|
|
194
|
+
status: PublishingStatusEnum;
|
|
195
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
196
|
+
startDate: Date;
|
|
197
|
+
endDate: Date;
|
|
198
|
+
description?: string;
|
|
199
|
+
GL?: string;
|
|
200
|
+
parentSeasonId?: number;
|
|
201
|
+
questionnaires?: number[];
|
|
202
|
+
maxParticipants?: number;
|
|
203
|
+
maxMaleParticipants?: number;
|
|
204
|
+
maxFemaleParticipants?: number;
|
|
205
|
+
maxWaitlist?: number;
|
|
206
|
+
maxMaleWaitlist?: number;
|
|
207
|
+
maxFemaleWaitlist?: number;
|
|
208
|
+
facilityId?: number;
|
|
209
|
+
addressId?: number;
|
|
210
|
+
blockedDated?: blockedDatesDto[];
|
|
211
|
+
activityTimes: ActivityTimesDto[];
|
|
212
|
+
longDescription?: string;
|
|
213
|
+
isPunchCard?: boolean;
|
|
214
|
+
organizationId: number;
|
|
215
|
+
sport: SportsEnum;
|
|
216
|
+
minAge: string;
|
|
217
|
+
maxAge: string;
|
|
218
|
+
gender: GenderEnum;
|
|
219
|
+
level?: LevelOfPlayEnum[];
|
|
220
|
+
requiredProductIds?: number[];
|
|
403
221
|
}
|
|
404
|
-
export declare class
|
|
405
|
-
|
|
222
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
223
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
406
224
|
}
|
|
407
|
-
export declare class
|
|
408
|
-
|
|
409
|
-
|
|
225
|
+
export declare class CreateSessionScheduleDto {
|
|
226
|
+
startDate: Date;
|
|
227
|
+
endDate: Date;
|
|
228
|
+
activityTimes: ActivityTimesDto[];
|
|
229
|
+
blockedDated?: blockedDatesDto[];
|
|
230
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
410
231
|
}
|
|
411
|
-
export declare class
|
|
412
|
-
|
|
413
|
-
|
|
232
|
+
export declare class SubSeasonBasicInfo {
|
|
233
|
+
name: string;
|
|
234
|
+
startDate: Date;
|
|
235
|
+
endDate: Date;
|
|
236
|
+
activityTimes?: ActivityTimesDto[];
|
|
414
237
|
}
|
|
415
|
-
export declare class
|
|
416
|
-
|
|
417
|
-
entitlementGroupId: number;
|
|
418
|
-
terms: IEntitlementTerms[];
|
|
238
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
239
|
+
seasonId: number;
|
|
419
240
|
}
|
|
420
|
-
export declare class
|
|
421
|
-
|
|
241
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
242
|
+
seasonId: number;
|
|
243
|
+
status: PublishingStatusEnum;
|
|
422
244
|
}
|
|
423
|
-
export declare class
|
|
424
|
-
|
|
425
|
-
|
|
245
|
+
export declare class blockedDatesDto {
|
|
246
|
+
name: string;
|
|
247
|
+
startDate: Date;
|
|
248
|
+
endDate: Date;
|
|
426
249
|
}
|
|
427
|
-
export declare class
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
itemIds: number[];
|
|
432
|
-
itemType?: ResourceNameTypeEnum;
|
|
433
|
-
startDate?: Date;
|
|
250
|
+
export declare class ActivityTimesDto {
|
|
251
|
+
dayOfWeek: number;
|
|
252
|
+
open: string;
|
|
253
|
+
close: string;
|
|
434
254
|
}
|
|
435
|
-
export declare class
|
|
436
|
-
|
|
437
|
-
|
|
255
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
256
|
+
seasonId: number;
|
|
257
|
+
name: string;
|
|
258
|
+
description?: string;
|
|
259
|
+
questionnaires?: number[];
|
|
260
|
+
maxParticipants?: number;
|
|
261
|
+
maxMaleParticipants?: number;
|
|
262
|
+
maxFemaleParticipants?: number;
|
|
263
|
+
maxWaitlist?: number;
|
|
264
|
+
maxMaleWaitlist?: number;
|
|
265
|
+
maxFemaleWaitlist?: number;
|
|
266
|
+
facilityId?: number;
|
|
267
|
+
addressId?: number;
|
|
268
|
+
sport?: SportsEnum;
|
|
269
|
+
minAge?: string;
|
|
270
|
+
maxAge?: string;
|
|
271
|
+
gender?: GenderEnum;
|
|
272
|
+
level?: LevelOfPlayEnum[];
|
|
273
|
+
requiredProductIds?: number[];
|
|
274
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
438
275
|
}
|
|
439
|
-
export declare class
|
|
276
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
277
|
+
id: number;
|
|
440
278
|
name: string;
|
|
441
279
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
|
|
444
|
-
|
|
280
|
+
export declare class SpaceResourcePairDto {
|
|
281
|
+
resourceType: ResourceNameTypeEnum;
|
|
282
|
+
resourceId: number;
|
|
283
|
+
spacesIds: number[];
|
|
284
|
+
publicNotes?: string;
|
|
285
|
+
privateNotes?: string;
|
|
286
|
+
minutesBeforeSlot?: number;
|
|
287
|
+
minutesAfterSlot?: number;
|
|
445
288
|
}
|
|
446
|
-
export declare class
|
|
447
|
-
|
|
289
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
290
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
291
|
+
organizationId: number;
|
|
448
292
|
}
|
|
449
|
-
export declare class
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
293
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
294
|
+
date: string;
|
|
295
|
+
startTime: string;
|
|
296
|
+
endTime: string;
|
|
297
|
+
spaceId: number;
|
|
298
|
+
publicNotes?: string;
|
|
299
|
+
slotType?: SlotTypeEnum;
|
|
456
300
|
}
|
|
457
|
-
export declare class
|
|
458
|
-
|
|
301
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
302
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
459
303
|
}
|
|
460
|
-
export declare class
|
|
461
|
-
|
|
304
|
+
export declare class UpdateSeasonDatesDto {
|
|
305
|
+
startDate: Date;
|
|
306
|
+
endDate: Date;
|
|
307
|
+
}
|
|
308
|
+
export declare class MoveAttendeeDto {
|
|
462
309
|
userId: number;
|
|
463
|
-
|
|
310
|
+
resourceType: ResourceNameTypeEnum;
|
|
311
|
+
fromResourceIds: number[];
|
|
312
|
+
toResourceIds: number[];
|
|
464
313
|
}
|
|
465
|
-
export declare class
|
|
466
|
-
|
|
467
|
-
answers: UserAnswersDto[];
|
|
314
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
315
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
468
316
|
}
|
|
469
|
-
export declare class
|
|
470
|
-
|
|
317
|
+
export declare class RegistrationDatesDto {
|
|
318
|
+
registrationStartDate: Date;
|
|
319
|
+
registrationEndDate: Date;
|
|
320
|
+
earlyRegistrationStartDate?: Date;
|
|
321
|
+
earlyRegistrationEndDate?: Date;
|
|
322
|
+
lateRegistrationStartDate?: Date;
|
|
323
|
+
lateRegistrationEndDate?: Date;
|
|
324
|
+
}
|
|
325
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
326
|
+
closeRegistrationPeriodValue?: number;
|
|
327
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
328
|
+
closeRegistrationSpecTime?: string;
|
|
329
|
+
openRegistrationPeriodValue?: number;
|
|
330
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
331
|
+
openRegistrationSpecTime?: string;
|
|
332
|
+
productsIdsToUpdate?: number[];
|
|
333
|
+
}
|
|
334
|
+
export declare class MoveParticipantDto {
|
|
335
|
+
userId: number;
|
|
336
|
+
oldProductId: number;
|
|
337
|
+
newProductId: number;
|
|
338
|
+
moveType: 'session' | 'segment';
|
|
471
339
|
resourceId: number;
|
|
340
|
+
orderId: number;
|
|
472
341
|
}
|
|
473
|
-
export declare class
|
|
342
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
474
343
|
organizationId: number;
|
|
344
|
+
programType?: ProgramTypesEnum;
|
|
475
345
|
}
|
|
476
|
-
export declare class
|
|
477
|
-
|
|
478
|
-
addOnsData?: ProductInPackage[];
|
|
479
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
480
|
-
}
|
|
481
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
-
name: string;
|
|
346
|
+
export declare class FindProgramByIdDto {
|
|
347
|
+
programId: number;
|
|
483
348
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
|
|
349
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
350
|
+
programId: number;
|
|
486
351
|
organizationId: number;
|
|
352
|
+
}
|
|
353
|
+
export declare class BaseProgramDto {
|
|
354
|
+
type: ProgramTypesEnum;
|
|
487
355
|
name: string;
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
356
|
+
sport: SportsEnum;
|
|
357
|
+
minAge: string;
|
|
358
|
+
maxAge: string;
|
|
359
|
+
gender: GenderEnum;
|
|
360
|
+
level?: LevelOfPlayEnum[];
|
|
492
361
|
description?: string;
|
|
493
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
-
resourcesIdsToApplyOn?: number[];
|
|
495
362
|
GL?: string;
|
|
496
|
-
|
|
497
|
-
downpayment?: number;
|
|
498
|
-
productType: ProductTypesEnum;
|
|
499
|
-
subProductType?: string;
|
|
500
|
-
defaultForResourceId?: number;
|
|
501
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
-
variantTitleIds?: number[];
|
|
504
|
-
variants?: VariantWithPrice[];
|
|
505
|
-
variantParentId?: number;
|
|
506
|
-
isAddon?: boolean;
|
|
507
|
-
isArchive?: boolean;
|
|
508
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
-
isProRated?: boolean;
|
|
510
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
-
isTaxInclusive?: boolean;
|
|
512
|
-
tax?: number;
|
|
513
|
-
sports?: number[];
|
|
514
|
-
durationMinutes?: number;
|
|
515
|
-
durationDays?: number;
|
|
516
|
-
forms?: number[];
|
|
517
|
-
isForAllCustomers?: boolean;
|
|
518
|
-
membershipsAvailableFor?: number[];
|
|
519
|
-
customersAvailableFor?: number[];
|
|
520
|
-
addons?: createRentalProductAddonDto[];
|
|
521
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
522
|
-
}
|
|
523
|
-
export declare class VariantWithPrice {
|
|
524
|
-
variantIds: number[];
|
|
525
|
-
price: CreatePriceDto[];
|
|
526
|
-
}
|
|
527
|
-
export declare class CreatePriceDto {
|
|
528
|
-
id?: number;
|
|
529
|
-
price: number;
|
|
530
|
-
currency: CurrencyEnum;
|
|
531
|
-
name: string;
|
|
532
|
-
startDate?: Date;
|
|
533
|
-
endDate?: Date;
|
|
534
|
-
discountValue?: number;
|
|
535
|
-
discountMethod?: DiscountMethodsEnum;
|
|
536
|
-
isDefaultPriceForProduct?: boolean;
|
|
537
|
-
}
|
|
538
|
-
export declare class CreatePackageDto {
|
|
539
|
-
parentProductId: number;
|
|
540
|
-
productsData?: ProductInPackage[];
|
|
541
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
542
|
-
}
|
|
543
|
-
export declare class CreatePackageToResourceDto {
|
|
544
|
-
resourceId: number;
|
|
545
|
-
resourceType: ResourceNameTypeEnum;
|
|
546
|
-
isCreateToChildProducts: boolean;
|
|
547
|
-
productsData: ProductInPackage[];
|
|
548
|
-
}
|
|
549
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
550
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
551
|
-
amountInPackage?: number;
|
|
552
|
-
level?: ProductPackageLevelEnum;
|
|
553
|
-
}
|
|
554
|
-
export declare class ExistingProductToPackageDto {
|
|
555
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
556
|
-
id: number;
|
|
557
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
-
level?: ProductPackageLevelEnum;
|
|
559
|
-
}
|
|
560
|
-
export declare class ConnectProductResourceDto {
|
|
561
|
-
productId: number;
|
|
562
|
-
resourceType: ResourceNameTypeEnum;
|
|
563
|
-
resourceIds: number[];
|
|
564
|
-
}
|
|
565
|
-
export declare class ReturnRequiredProductsDto {
|
|
566
|
-
userId: number;
|
|
567
|
-
productId: number;
|
|
568
|
-
}
|
|
569
|
-
export declare class FindByProductUserIdsDto {
|
|
570
|
-
userId: number;
|
|
363
|
+
status: PublishingStatusEnum;
|
|
571
364
|
organizationId: number;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
365
|
+
userCreatorId: number;
|
|
366
|
+
highlights: ProgramHighlights[];
|
|
367
|
+
longDescription?: string;
|
|
575
368
|
requiredProductIds: number[];
|
|
576
369
|
}
|
|
577
|
-
export declare class
|
|
578
|
-
productIds?: number[];
|
|
579
|
-
includePrices?: boolean;
|
|
580
|
-
productType?: ProductTypesEnum;
|
|
581
|
-
includeAddons?: string;
|
|
582
|
-
}
|
|
583
|
-
export declare class GetByOrganizationIdDto {
|
|
584
|
-
organizationId?: number;
|
|
585
|
-
}
|
|
586
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
587
|
-
orderId?: number;
|
|
588
|
-
}
|
|
589
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
590
|
-
productIds?: string;
|
|
591
|
-
includePrices?: boolean;
|
|
592
|
-
productType?: string;
|
|
593
|
-
productSubType?: string;
|
|
594
|
-
search?: string;
|
|
595
|
-
includeAddons?: boolean;
|
|
596
|
-
includeArchived?: boolean;
|
|
597
|
-
includeAllData?: boolean;
|
|
598
|
-
resourceIds?: string;
|
|
599
|
-
sports?: string;
|
|
600
|
-
}
|
|
601
|
-
export declare class GetAllVariantTitlesDto {
|
|
602
|
-
organizationId: number;
|
|
370
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
603
371
|
}
|
|
604
|
-
export declare class
|
|
605
|
-
|
|
372
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
373
|
+
programId: number;
|
|
374
|
+
mainMediaId: number;
|
|
606
375
|
}
|
|
607
|
-
export declare class
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
variants: string[];
|
|
376
|
+
export declare class UpdateProgramStatusDto {
|
|
377
|
+
programId: number;
|
|
378
|
+
status: PublishingStatusEnum;
|
|
611
379
|
}
|
|
612
|
-
export declare class
|
|
613
|
-
|
|
614
|
-
|
|
380
|
+
export declare class ProgramHighlightDto {
|
|
381
|
+
data: string;
|
|
382
|
+
ordinal: number;
|
|
383
|
+
type: ProgramHighlightTypeEnum;
|
|
615
384
|
title: string;
|
|
616
|
-
variants: string[];
|
|
617
|
-
}
|
|
618
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
-
customerId: number;
|
|
620
|
-
}
|
|
621
|
-
export declare class GetExtraProductDataDto {
|
|
622
|
-
isPublic?: boolean;
|
|
623
|
-
isGetByChildResources?: boolean;
|
|
624
|
-
isGetEntitlePricing?: boolean;
|
|
625
|
-
isGetAddOns?: boolean;
|
|
626
|
-
includeResources?: boolean;
|
|
627
|
-
includeArchived?: boolean;
|
|
628
|
-
}
|
|
629
|
-
export declare class GetBySessionType {
|
|
630
|
-
sessionType: 'event' | 'segment';
|
|
631
385
|
}
|
|
632
|
-
export declare class
|
|
633
|
-
productType: ProductTypesEnum;
|
|
386
|
+
export declare class CreateResourceGroupDto {
|
|
634
387
|
name: string;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
export declare class CreateSubcategoriesDto {
|
|
639
|
-
subcategories: CreateSubcategoryDto[];
|
|
640
|
-
}
|
|
641
|
-
export declare class UpdateSubcategoryDto {
|
|
642
|
-
id: number;
|
|
643
|
-
productType?: ProductTypesEnum;
|
|
644
|
-
name?: string;
|
|
645
|
-
stationId?: number;
|
|
646
|
-
ordinal?: number;
|
|
647
|
-
}
|
|
648
|
-
export declare class GetSubcategoryDto {
|
|
649
|
-
stationId?: number;
|
|
650
|
-
}
|
|
651
|
-
export declare class SetStationSubcategoriesDto {
|
|
652
|
-
stationId: number;
|
|
653
|
-
subcategoryIds?: number[];
|
|
654
|
-
categories?: string[];
|
|
655
|
-
}
|
|
656
|
-
export declare class createRentalProductAddonDto {
|
|
657
|
-
productId: number;
|
|
658
|
-
price: number;
|
|
659
|
-
isFlatPrice: boolean;
|
|
660
|
-
isMandatory: boolean;
|
|
661
|
-
level: ProductPackageLevelEnum;
|
|
662
|
-
}
|
|
663
|
-
export declare class createProductAvailabilityTimesDto {
|
|
664
|
-
availabilityStartDate?: string;
|
|
665
|
-
availabilityEndDate?: string;
|
|
666
|
-
daysOfWeek: number[];
|
|
667
|
-
startTime: string;
|
|
668
|
-
endTime: string;
|
|
669
|
-
}
|
|
670
|
-
export declare class createResourceDto {
|
|
671
|
-
resourceId: number;
|
|
672
|
-
resourceType: ResourceNameTypeEnum;
|
|
388
|
+
parentSlotId: number;
|
|
389
|
+
facilityId: number;
|
|
390
|
+
childrenSlotIds: number[];
|
|
673
391
|
}
|
|
674
|
-
export declare class
|
|
675
|
-
isArchive: boolean;
|
|
392
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
676
393
|
}
|
|
677
394
|
export declare class CreateUpdateVariantsDto {
|
|
678
395
|
organizationId: number;
|
|
@@ -692,275 +409,62 @@ export declare class VariantDto {
|
|
|
692
409
|
startDate: Date;
|
|
693
410
|
endDate: Date;
|
|
694
411
|
}
|
|
695
|
-
export declare class
|
|
696
|
-
|
|
697
|
-
}
|
|
698
|
-
export declare class FindSessionsFiltersDto {
|
|
699
|
-
status?: PublishingStatusEnum;
|
|
700
|
-
isFullFetch?: boolean;
|
|
412
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
413
|
+
organizationId: number;
|
|
701
414
|
}
|
|
702
|
-
export declare class
|
|
415
|
+
export declare class GetGlCodeDto {
|
|
416
|
+
id: number;
|
|
703
417
|
organizationId: number;
|
|
418
|
+
code: string;
|
|
419
|
+
createdAt: Date;
|
|
420
|
+
updatedAt: Date;
|
|
704
421
|
}
|
|
705
|
-
export declare class
|
|
706
|
-
|
|
422
|
+
export declare class ResourceDto {
|
|
423
|
+
type: ResourceNameTypeEnum;
|
|
424
|
+
id: number;
|
|
707
425
|
}
|
|
708
|
-
export declare class
|
|
709
|
-
|
|
426
|
+
export declare class PurchasePaymentDto {
|
|
427
|
+
token: string;
|
|
428
|
+
type: PaymentMethodTypeEnum;
|
|
710
429
|
}
|
|
711
|
-
export declare class
|
|
712
|
-
|
|
430
|
+
export declare class ChargeRentalsReuqestDto {
|
|
431
|
+
organizationId: number;
|
|
432
|
+
userId?: number;
|
|
433
|
+
customerId?: number;
|
|
434
|
+
orderId: number;
|
|
435
|
+
paymentData: PurchasePaymentDto;
|
|
436
|
+
amountToPay: number;
|
|
437
|
+
total: number;
|
|
438
|
+
platform: PlatformsEnum;
|
|
439
|
+
shiftId?: number;
|
|
713
440
|
}
|
|
714
|
-
export declare class
|
|
715
|
-
|
|
441
|
+
export declare class PurchaseRequestDto {
|
|
442
|
+
purchasingUserId: number;
|
|
443
|
+
customerId?: number;
|
|
444
|
+
products: PurchaseProductDto[];
|
|
445
|
+
paymentData: PurchasePaymentDto;
|
|
446
|
+
answers: UserAnswersDto[];
|
|
447
|
+
amountToPay: number;
|
|
448
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
449
|
+
parentPurchasedId?: number;
|
|
450
|
+
isPartialPayment: boolean;
|
|
451
|
+
existingOrderToken?: string;
|
|
452
|
+
installments?: ScheduledPaymentDto[];
|
|
453
|
+
shiftId?: number;
|
|
454
|
+
orderId?: number;
|
|
455
|
+
platform?: PlatformsEnum;
|
|
716
456
|
}
|
|
717
|
-
export declare class
|
|
718
|
-
deleteProduct?: boolean;
|
|
457
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
719
458
|
}
|
|
720
|
-
export declare class
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
programId: number;
|
|
730
|
-
name: string;
|
|
731
|
-
status: PublishingStatusEnum;
|
|
732
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
733
|
-
startDate: Date;
|
|
734
|
-
endDate: Date;
|
|
735
|
-
description?: string;
|
|
736
|
-
GL?: string;
|
|
737
|
-
parentSeasonId?: number;
|
|
738
|
-
questionnaires?: number[];
|
|
739
|
-
maxParticipants?: number;
|
|
740
|
-
maxMaleParticipants?: number;
|
|
741
|
-
maxFemaleParticipants?: number;
|
|
742
|
-
maxWaitlist?: number;
|
|
743
|
-
maxMaleWaitlist?: number;
|
|
744
|
-
maxFemaleWaitlist?: number;
|
|
745
|
-
facilityId?: number;
|
|
746
|
-
addressId?: number;
|
|
747
|
-
blockedDated?: blockedDatesDto[];
|
|
748
|
-
activityTimes: ActivityTimesDto[];
|
|
749
|
-
longDescription?: string;
|
|
750
|
-
isPunchCard?: boolean;
|
|
751
|
-
organizationId: number;
|
|
752
|
-
sport: SportsEnum;
|
|
753
|
-
minAge: string;
|
|
754
|
-
maxAge: string;
|
|
755
|
-
gender: GenderEnum;
|
|
756
|
-
level?: LevelOfPlayEnum[];
|
|
757
|
-
requiredProductIds?: number[];
|
|
758
|
-
}
|
|
759
|
-
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
760
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
761
|
-
}
|
|
762
|
-
export declare class CreateSessionScheduleDto {
|
|
763
|
-
startDate: Date;
|
|
764
|
-
endDate: Date;
|
|
765
|
-
activityTimes: ActivityTimesDto[];
|
|
766
|
-
blockedDated?: blockedDatesDto[];
|
|
767
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
768
|
-
}
|
|
769
|
-
export declare class SubSeasonBasicInfo {
|
|
770
|
-
name: string;
|
|
771
|
-
startDate: Date;
|
|
772
|
-
endDate: Date;
|
|
773
|
-
activityTimes?: ActivityTimesDto[];
|
|
774
|
-
}
|
|
775
|
-
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
776
|
-
seasonId: number;
|
|
777
|
-
}
|
|
778
|
-
export declare class UpdateProgramSeasonStatusDto {
|
|
779
|
-
seasonId: number;
|
|
780
|
-
status: PublishingStatusEnum;
|
|
781
|
-
}
|
|
782
|
-
export declare class blockedDatesDto {
|
|
783
|
-
name: string;
|
|
784
|
-
startDate: Date;
|
|
785
|
-
endDate: Date;
|
|
786
|
-
}
|
|
787
|
-
export declare class ActivityTimesDto {
|
|
788
|
-
dayOfWeek: number;
|
|
789
|
-
open: string;
|
|
790
|
-
close: string;
|
|
791
|
-
}
|
|
792
|
-
export declare class ShallowUpdateProgramSeasonDto {
|
|
793
|
-
seasonId: number;
|
|
794
|
-
name: string;
|
|
795
|
-
description?: string;
|
|
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[];
|
|
812
|
-
}
|
|
813
|
-
export declare class ShallowUpdateSubSeasonDto {
|
|
814
|
-
id: number;
|
|
815
|
-
name: string;
|
|
816
|
-
}
|
|
817
|
-
export declare class SpaceResourcePairDto {
|
|
818
|
-
resourceType: ResourceNameTypeEnum;
|
|
819
|
-
resourceId: number;
|
|
820
|
-
spacesIds: number[];
|
|
821
|
-
publicNotes?: string;
|
|
822
|
-
privateNotes?: string;
|
|
823
|
-
minutesBeforeSlot?: number;
|
|
824
|
-
minutesAfterSlot?: number;
|
|
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;
|
|
837
|
-
}
|
|
838
|
-
export declare class SpaceAllocationsByTimesDto {
|
|
839
|
-
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
840
|
-
}
|
|
841
|
-
export declare class UpdateSeasonDatesDto {
|
|
842
|
-
startDate: Date;
|
|
843
|
-
endDate: Date;
|
|
844
|
-
}
|
|
845
|
-
export declare class MoveAttendeeDto {
|
|
846
|
-
userId: number;
|
|
847
|
-
resourceType: ResourceNameTypeEnum;
|
|
848
|
-
fromResourceIds: number[];
|
|
849
|
-
toResourceIds: number[];
|
|
850
|
-
}
|
|
851
|
-
export declare class UpdateSeasonRegistrationDatesDto {
|
|
852
|
-
registrationPeriods: UpdateSeasonDatesDto[];
|
|
853
|
-
}
|
|
854
|
-
export declare class RegistrationDatesDto {
|
|
855
|
-
registrationStartDate: Date;
|
|
856
|
-
registrationEndDate: Date;
|
|
857
|
-
earlyRegistrationStartDate?: Date;
|
|
858
|
-
earlyRegistrationEndDate?: Date;
|
|
859
|
-
lateRegistrationStartDate?: Date;
|
|
860
|
-
lateRegistrationEndDate?: Date;
|
|
861
|
-
}
|
|
862
|
-
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
863
|
-
closeRegistrationPeriodValue?: number;
|
|
864
|
-
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
865
|
-
closeRegistrationSpecTime?: string;
|
|
866
|
-
openRegistrationPeriodValue?: number;
|
|
867
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
-
openRegistrationSpecTime?: string;
|
|
869
|
-
productsIdsToUpdate?: number[];
|
|
870
|
-
}
|
|
871
|
-
export declare class MoveParticipantDto {
|
|
872
|
-
userId: number;
|
|
873
|
-
oldProductId: number;
|
|
874
|
-
newProductId: number;
|
|
875
|
-
moveType: 'session' | 'segment';
|
|
876
|
-
resourceId: number;
|
|
877
|
-
orderId: number;
|
|
878
|
-
}
|
|
879
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
-
organizationId: number;
|
|
881
|
-
programType?: ProgramTypesEnum;
|
|
882
|
-
}
|
|
883
|
-
export declare class FindProgramByIdDto {
|
|
884
|
-
programId: number;
|
|
885
|
-
}
|
|
886
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
-
programId: number;
|
|
888
|
-
organizationId: number;
|
|
889
|
-
}
|
|
890
|
-
export declare class BaseProgramDto {
|
|
891
|
-
type: ProgramTypesEnum;
|
|
892
|
-
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
|
-
description?: string;
|
|
899
|
-
GL?: string;
|
|
900
|
-
status: PublishingStatusEnum;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
userCreatorId: number;
|
|
903
|
-
highlights: ProgramHighlights[];
|
|
904
|
-
longDescription?: string;
|
|
905
|
-
requiredProductIds: number[];
|
|
906
|
-
}
|
|
907
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
-
}
|
|
909
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
-
programId: number;
|
|
911
|
-
mainMediaId: number;
|
|
912
|
-
}
|
|
913
|
-
export declare class UpdateProgramStatusDto {
|
|
914
|
-
programId: number;
|
|
915
|
-
status: PublishingStatusEnum;
|
|
916
|
-
}
|
|
917
|
-
export declare class ProgramHighlightDto {
|
|
918
|
-
data: string;
|
|
919
|
-
ordinal: number;
|
|
920
|
-
type: ProgramHighlightTypeEnum;
|
|
921
|
-
title: string;
|
|
922
|
-
}
|
|
923
|
-
export declare class PurchasePaymentDto {
|
|
924
|
-
token: string;
|
|
925
|
-
type: PaymentMethodTypeEnum;
|
|
926
|
-
}
|
|
927
|
-
export declare class ChargeRentalsReuqestDto {
|
|
928
|
-
organizationId: number;
|
|
929
|
-
userId?: number;
|
|
930
|
-
customerId?: number;
|
|
931
|
-
orderId: number;
|
|
932
|
-
paymentData: PurchasePaymentDto;
|
|
933
|
-
amountToPay: number;
|
|
934
|
-
total: number;
|
|
935
|
-
platform: PlatformsEnum;
|
|
936
|
-
shiftId?: number;
|
|
937
|
-
}
|
|
938
|
-
export declare class PurchaseRequestDto {
|
|
939
|
-
purchasingUserId: number;
|
|
940
|
-
customerId?: number;
|
|
941
|
-
products: PurchaseProductDto[];
|
|
942
|
-
paymentData: PurchasePaymentDto;
|
|
943
|
-
answers: UserAnswersDto[];
|
|
944
|
-
amountToPay: number;
|
|
945
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
|
-
parentPurchasedId?: number;
|
|
947
|
-
isPartialPayment: boolean;
|
|
948
|
-
existingOrderToken?: string;
|
|
949
|
-
installments?: ScheduledPaymentDto[];
|
|
950
|
-
shiftId?: number;
|
|
951
|
-
orderId?: number;
|
|
952
|
-
}
|
|
953
|
-
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
|
-
}
|
|
955
|
-
export declare class PurchaseProductDto {
|
|
956
|
-
id: number;
|
|
957
|
-
resources?: PurchaseResourceDto[];
|
|
958
|
-
userId?: number;
|
|
959
|
-
paymentStatus?: PaymentStatusEnum;
|
|
960
|
-
amountToPay?: number;
|
|
961
|
-
ordinal?: number;
|
|
962
|
-
startDate?: Date;
|
|
963
|
-
quantity?: number;
|
|
459
|
+
export declare class PurchaseProductDto {
|
|
460
|
+
id: number;
|
|
461
|
+
resources?: PurchaseResourceDto[];
|
|
462
|
+
userId?: number;
|
|
463
|
+
paymentStatus?: PaymentStatusEnum;
|
|
464
|
+
amountToPay?: number;
|
|
465
|
+
ordinal?: number;
|
|
466
|
+
startDate?: Date;
|
|
467
|
+
quantity?: number;
|
|
964
468
|
}
|
|
965
469
|
export declare class PartialPaymentRequestDto {
|
|
966
470
|
orderId: number;
|
|
@@ -989,18 +493,16 @@ export declare class PartialPaymentAsUserDto {
|
|
|
989
493
|
organizationId: any;
|
|
990
494
|
amountToPay: any;
|
|
991
495
|
paymentMethodData: any;
|
|
496
|
+
platform?: PlatformsEnum;
|
|
992
497
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
parentSlotId: number;
|
|
996
|
-
facilityId: number;
|
|
997
|
-
childrenSlotIds: number[];
|
|
498
|
+
export declare class FindByUserIdDto {
|
|
499
|
+
userId: number;
|
|
998
500
|
}
|
|
999
|
-
export declare class
|
|
501
|
+
export declare class FindByFamilyAccountIdDto {
|
|
502
|
+
familyAccountId?: number;
|
|
1000
503
|
}
|
|
1001
|
-
export declare class
|
|
1002
|
-
|
|
1003
|
-
id: number;
|
|
504
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
505
|
+
organizationId: number;
|
|
1004
506
|
}
|
|
1005
507
|
export declare class SpaceByIdDto {
|
|
1006
508
|
spaceId: number;
|
|
@@ -1068,27 +570,37 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1068
570
|
publicToken: string;
|
|
1069
571
|
accountId: string;
|
|
1070
572
|
}
|
|
1071
|
-
export declare class
|
|
573
|
+
export declare class FindFamilyAccountsDto {
|
|
1072
574
|
userId: number;
|
|
1073
575
|
}
|
|
1074
|
-
export declare class
|
|
1075
|
-
|
|
1076
|
-
}
|
|
1077
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
576
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
577
|
+
customerId: number;
|
|
1078
578
|
organizationId: number;
|
|
1079
579
|
}
|
|
1080
|
-
export declare class
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
580
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
581
|
+
familyAccountId: number;
|
|
582
|
+
}
|
|
583
|
+
export declare class CreateFamilyAccountDto {
|
|
584
|
+
familyName: string;
|
|
585
|
+
userId: number;
|
|
586
|
+
}
|
|
587
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
588
|
+
familyName: string;
|
|
589
|
+
familyAccountId: number;
|
|
590
|
+
}
|
|
591
|
+
export declare class AddUserToFamilyAccountDto {
|
|
592
|
+
familyAccountId: number;
|
|
593
|
+
isUserAdmin: boolean;
|
|
594
|
+
firstName: string;
|
|
595
|
+
lastName: string;
|
|
596
|
+
gender: GenderEnum;
|
|
597
|
+
birthDate: string;
|
|
598
|
+
sports?: number[];
|
|
599
|
+
email?: string;
|
|
600
|
+
}
|
|
601
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
602
|
+
userId: number;
|
|
603
|
+
familyAccountId: number;
|
|
1092
604
|
}
|
|
1093
605
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1094
606
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1103,17 +615,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1103
615
|
proudct: Product;
|
|
1104
616
|
event: Event;
|
|
1105
617
|
}
|
|
1106
|
-
export declare class Address extends BondBaseEntity {
|
|
1107
|
-
city?: string;
|
|
1108
|
-
street?: string;
|
|
1109
|
-
streetNum?: string;
|
|
1110
|
-
aptNum?: string;
|
|
1111
|
-
zip?: string;
|
|
1112
|
-
country?: string;
|
|
1113
|
-
state?: string;
|
|
1114
|
-
geo: any;
|
|
1115
|
-
deletedAt?: Date;
|
|
1116
|
-
}
|
|
1117
618
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1118
619
|
questionId: number;
|
|
1119
620
|
question?: Questions;
|
|
@@ -1127,62 +628,58 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1127
628
|
metaData: any | null;
|
|
1128
629
|
questionText: string | null;
|
|
1129
630
|
}
|
|
631
|
+
export declare class Address extends BondBaseEntity {
|
|
632
|
+
city?: string;
|
|
633
|
+
street?: string;
|
|
634
|
+
streetNum?: string;
|
|
635
|
+
aptNum?: string;
|
|
636
|
+
zip?: string;
|
|
637
|
+
country?: string;
|
|
638
|
+
state?: string;
|
|
639
|
+
geo: any;
|
|
640
|
+
deletedAt?: Date;
|
|
641
|
+
}
|
|
1130
642
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
643
|
questionnaireId: number;
|
|
1132
644
|
userId?: number;
|
|
1133
645
|
answers: Answer[];
|
|
1134
646
|
questionnaire: Questionnaires;
|
|
1135
647
|
}
|
|
1136
|
-
export declare class
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
648
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
649
|
+
entityType: ResourceNameTypeEnum;
|
|
650
|
+
entityId: number;
|
|
651
|
+
organizationId?: number;
|
|
652
|
+
userId?: number;
|
|
653
|
+
customerId?: number;
|
|
654
|
+
performingUserId: number;
|
|
655
|
+
description: string;
|
|
656
|
+
actionType: ActionTypesEnum;
|
|
657
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
658
|
+
oldValue?: any;
|
|
659
|
+
newValue?: any;
|
|
1140
660
|
}
|
|
1141
661
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1142
662
|
athleteId: number | null;
|
|
1143
663
|
sports: number | null;
|
|
1144
664
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1145
665
|
}
|
|
1146
|
-
export declare class
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
startDate: Date;
|
|
1151
|
-
endDate: Date;
|
|
1152
|
-
deletedAt?: Date;
|
|
666
|
+
export declare class Athlete extends BondBaseEntity {
|
|
667
|
+
userId: number | null;
|
|
668
|
+
metadata: object | null;
|
|
669
|
+
athleteSports: AthleteSports[];
|
|
1153
670
|
}
|
|
1154
671
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1155
672
|
id: number;
|
|
1156
673
|
createdAt: Date;
|
|
1157
674
|
updatedAt: Date;
|
|
1158
675
|
}
|
|
1159
|
-
export declare class
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
creatorType?: string;
|
|
1164
|
-
startDate?: Date | moment.Moment;
|
|
1165
|
-
endDate?: Date | moment.Moment;
|
|
1166
|
-
timezone?: string;
|
|
1167
|
-
spaceId?: number;
|
|
1168
|
-
percentage?: number;
|
|
1169
|
-
status?: string;
|
|
1170
|
-
originalSessionId?: number;
|
|
1171
|
-
isFinal?: boolean;
|
|
1172
|
-
concurrent?: number;
|
|
1173
|
-
deletedAt?: Date;
|
|
1174
|
-
publicNotes?: string;
|
|
1175
|
-
slotType?: SlotTypeEnum;
|
|
1176
|
-
}
|
|
1177
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1178
|
-
parentId: number;
|
|
1179
|
-
parentType: ResourceNameTypeEnum;
|
|
676
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
677
|
+
entityType: ResourceNameTypeEnum;
|
|
678
|
+
entityId: number;
|
|
679
|
+
name: string;
|
|
1180
680
|
startDate: Date;
|
|
1181
681
|
endDate: Date;
|
|
1182
|
-
|
|
1183
|
-
startTimeInDay: string;
|
|
1184
|
-
endTimeInDay: string;
|
|
1185
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
682
|
+
deletedAt?: Date;
|
|
1186
683
|
}
|
|
1187
684
|
export declare class Connection extends BondBaseEntity {
|
|
1188
685
|
connType: number | null;
|
|
@@ -1196,6 +693,53 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1196
693
|
userCreatorId: number | null;
|
|
1197
694
|
ownerId: number | null;
|
|
1198
695
|
}
|
|
696
|
+
export declare class Configuration extends BondBaseEntity {
|
|
697
|
+
area: string;
|
|
698
|
+
key: string;
|
|
699
|
+
value: string;
|
|
700
|
+
}
|
|
701
|
+
export declare class CreateEntitlementTermsDto {
|
|
702
|
+
organizationId: number;
|
|
703
|
+
entitlementGroupId: number;
|
|
704
|
+
terms: IEntitlementTerms[];
|
|
705
|
+
}
|
|
706
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
707
|
+
entitlementGroupId: number;
|
|
708
|
+
}
|
|
709
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
710
|
+
user: any;
|
|
711
|
+
userVariables: IQuestionAnswerObject[];
|
|
712
|
+
}
|
|
713
|
+
export declare class FindLowestPriceDto {
|
|
714
|
+
organizationId: number;
|
|
715
|
+
user?: any;
|
|
716
|
+
answers?: IQuestionAnswerObject[];
|
|
717
|
+
itemIds: number[];
|
|
718
|
+
itemType?: ResourceNameTypeEnum;
|
|
719
|
+
startDate?: Date;
|
|
720
|
+
}
|
|
721
|
+
export declare class FindGroupItemsPricingsDto {
|
|
722
|
+
groupsIds: number[];
|
|
723
|
+
itemsIds: number[];
|
|
724
|
+
}
|
|
725
|
+
export declare class CreateEntitlementGroupDto {
|
|
726
|
+
name: string;
|
|
727
|
+
}
|
|
728
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
729
|
+
itemIds: number[];
|
|
730
|
+
itemType: string;
|
|
731
|
+
}
|
|
732
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
733
|
+
groupid: number;
|
|
734
|
+
}
|
|
735
|
+
export declare class CreateGroupPricingWithProduct {
|
|
736
|
+
groupId: number;
|
|
737
|
+
price: number;
|
|
738
|
+
startDate?: Date;
|
|
739
|
+
endDate?: Date;
|
|
740
|
+
discountValue?: number;
|
|
741
|
+
discountMethod?: DiscountMethodsEnum;
|
|
742
|
+
}
|
|
1199
743
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1200
744
|
creditAmount: number;
|
|
1201
745
|
paymentProcessorId: string;
|
|
@@ -1204,10 +748,13 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1204
748
|
orderId: number;
|
|
1205
749
|
creditPaymentInvoiceId: number;
|
|
1206
750
|
}
|
|
1207
|
-
export declare class
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
751
|
+
export declare class Division extends BondBaseEntity {
|
|
752
|
+
name: string;
|
|
753
|
+
ordinal?: number;
|
|
754
|
+
programSeasonId: number;
|
|
755
|
+
color: string;
|
|
756
|
+
isDefault: boolean;
|
|
757
|
+
groups: Group[];
|
|
1211
758
|
}
|
|
1212
759
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
760
|
name: string | null;
|
|
@@ -1237,59 +784,18 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1237
784
|
mainMedia: Media;
|
|
1238
785
|
reservations?: Reservation[];
|
|
1239
786
|
}
|
|
1240
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1241
|
-
customerId: number;
|
|
1242
|
-
userId: number;
|
|
1243
|
-
amount: number;
|
|
1244
|
-
invoiceId?: number;
|
|
1245
|
-
orderId?: number;
|
|
1246
|
-
description?: string;
|
|
1247
|
-
deletedAt?: Date;
|
|
1248
|
-
customer: Customer;
|
|
1249
|
-
order: Order;
|
|
1250
|
-
invoice: Invoice;
|
|
1251
|
-
}
|
|
1252
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
-
customerId?: number;
|
|
1254
|
-
description: string;
|
|
1255
|
-
pinToTop?: boolean;
|
|
1256
|
-
customer: Customer;
|
|
1257
|
-
}
|
|
1258
|
-
export declare class Division extends BondBaseEntity {
|
|
1259
|
-
name: string;
|
|
1260
|
-
ordinal?: number;
|
|
1261
|
-
programSeasonId: number;
|
|
1262
|
-
color: string;
|
|
1263
|
-
isDefault: boolean;
|
|
1264
|
-
groups: Group[];
|
|
1265
|
-
}
|
|
1266
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1267
|
-
customerId: number;
|
|
1268
|
-
name: string | null;
|
|
1269
|
-
phoneNumber: string | null;
|
|
1270
|
-
customer: Customer;
|
|
1271
|
-
}
|
|
1272
787
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
788
|
name: string | null;
|
|
1274
789
|
}
|
|
1275
|
-
export declare class
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
eventId?: number | null;
|
|
1285
|
-
productUserId?: number;
|
|
1286
|
-
answerTitleIds?: number[];
|
|
1287
|
-
entryStatus?: EntryStatusEnum;
|
|
1288
|
-
addonProductUserIds?: number[];
|
|
1289
|
-
deletedAt?: Date;
|
|
1290
|
-
attendee: User;
|
|
1291
|
-
event: Event;
|
|
1292
|
-
purchasedResource: PurchasedResource;
|
|
790
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
791
|
+
parentId: number;
|
|
792
|
+
parentType: ResourceNameTypeEnum;
|
|
793
|
+
startDate: Date;
|
|
794
|
+
endDate: Date;
|
|
795
|
+
dayOfWeek: number;
|
|
796
|
+
startTimeInDay: string;
|
|
797
|
+
endTimeInDay: string;
|
|
798
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1293
799
|
}
|
|
1294
800
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1295
801
|
constructor();
|
|
@@ -1346,33 +852,26 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1346
852
|
slots: Slot[];
|
|
1347
853
|
purchasedResources: PurchasedResource[];
|
|
1348
854
|
}
|
|
1349
|
-
export declare class
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
amenities?: number[];
|
|
1355
|
-
timezone: string;
|
|
1356
|
-
creatorId: number;
|
|
1357
|
-
creatorType: string;
|
|
1358
|
-
userCreatorId: number;
|
|
1359
|
-
mainMediaId: number;
|
|
1360
|
-
mainMedia: Media;
|
|
1361
|
-
publishedDate?: Date;
|
|
1362
|
-
isPublished: boolean;
|
|
1363
|
-
sports?: number[];
|
|
1364
|
-
info?: string;
|
|
1365
|
-
longDescription?: string;
|
|
1366
|
-
deletedAt?: Date;
|
|
1367
|
-
openingTimes: OpeningTime[];
|
|
1368
|
-
resources: Resource[];
|
|
1369
|
-
spaces: Resource[];
|
|
1370
|
-
programSeasons: ProgramSeason[];
|
|
1371
|
-
linkSEO: string;
|
|
855
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
856
|
+
customerId: number;
|
|
857
|
+
name: string | null;
|
|
858
|
+
phoneNumber: string | null;
|
|
859
|
+
customer: Customer;
|
|
1372
860
|
}
|
|
1373
|
-
export declare class
|
|
1374
|
-
|
|
1375
|
-
|
|
861
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
862
|
+
status: RequestStatusEnum | null;
|
|
863
|
+
hasPaid: boolean | null;
|
|
864
|
+
paymentId: number | null;
|
|
865
|
+
attendeeId: number;
|
|
866
|
+
eventId?: number | null;
|
|
867
|
+
productUserId?: number;
|
|
868
|
+
answerTitleIds?: number[];
|
|
869
|
+
entryStatus?: EntryStatusEnum;
|
|
870
|
+
addonProductUserIds?: number[];
|
|
871
|
+
deletedAt?: Date;
|
|
872
|
+
attendee: User;
|
|
873
|
+
event: Event;
|
|
874
|
+
purchasedResource: PurchasedResource;
|
|
1376
875
|
}
|
|
1377
876
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1378
877
|
name: string | null;
|
|
@@ -1391,21 +890,10 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1391
890
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1392
891
|
code: string;
|
|
1393
892
|
}
|
|
1394
|
-
export declare class
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
maxCapacity?: number;
|
|
1399
|
-
mainMediaId?: number;
|
|
1400
|
-
minAgeYears?: number;
|
|
1401
|
-
maxAgeYears?: number;
|
|
1402
|
-
gender: GenderEnum;
|
|
1403
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1404
|
-
sports: SportsEnum[];
|
|
1405
|
-
questionnaires?: number[];
|
|
1406
|
-
captainUserId?: number;
|
|
1407
|
-
members: ISeasonAttendeeInfo[];
|
|
1408
|
-
users: User[];
|
|
893
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
894
|
+
groupId: number;
|
|
895
|
+
divisionId: number;
|
|
896
|
+
deletedAt?: Date;
|
|
1409
897
|
}
|
|
1410
898
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
899
|
groupId: number;
|
|
@@ -1420,11 +908,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1420
908
|
discountMethod?: DiscountMethodsEnum;
|
|
1421
909
|
discountValue?: number;
|
|
1422
910
|
}
|
|
1423
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1424
|
-
groupId: number;
|
|
1425
|
-
divisionId: number;
|
|
1426
|
-
deletedAt?: Date;
|
|
1427
|
-
}
|
|
1428
911
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1429
912
|
price: number;
|
|
1430
913
|
paymentProcessorId: string;
|
|
@@ -1452,6 +935,15 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1452
935
|
refundReasonId?: number;
|
|
1453
936
|
refundNote?: string;
|
|
1454
937
|
}
|
|
938
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
939
|
+
content: string;
|
|
940
|
+
creatingUserId: number;
|
|
941
|
+
user: User;
|
|
942
|
+
isPublic: boolean;
|
|
943
|
+
deletedAt: Date;
|
|
944
|
+
invoiceId: number;
|
|
945
|
+
invoice: Invoice;
|
|
946
|
+
}
|
|
1455
947
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1456
948
|
email: string;
|
|
1457
949
|
status: EEmailStatus;
|
|
@@ -1463,13 +955,26 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1463
955
|
mailParams?: any;
|
|
1464
956
|
memo?: string;
|
|
1465
957
|
}
|
|
1466
|
-
export declare class
|
|
1467
|
-
|
|
1468
|
-
creatingUserId: number;
|
|
1469
|
-
user: User;
|
|
1470
|
-
isPublic: boolean;
|
|
1471
|
-
deletedAt: Date;
|
|
958
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
959
|
+
orderId: number;
|
|
1472
960
|
invoiceId: number;
|
|
961
|
+
lineItemId: number;
|
|
962
|
+
paidAmount: number;
|
|
963
|
+
unitPaidAmount: number;
|
|
964
|
+
currency: CurrencyEnum;
|
|
965
|
+
invoice: Invoice;
|
|
966
|
+
lineItem: LineItems;
|
|
967
|
+
}
|
|
968
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
969
|
+
customerId: number;
|
|
970
|
+
userId: number;
|
|
971
|
+
amount: number;
|
|
972
|
+
invoiceId?: number;
|
|
973
|
+
orderId?: number;
|
|
974
|
+
description?: string;
|
|
975
|
+
deletedAt?: Date;
|
|
976
|
+
customer: Customer;
|
|
977
|
+
order: Order;
|
|
1473
978
|
invoice: Invoice;
|
|
1474
979
|
}
|
|
1475
980
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
@@ -1542,15 +1047,24 @@ export declare class LeagueSeasonRelations {
|
|
|
1542
1047
|
league?: boolean;
|
|
1543
1048
|
facilities?: boolean;
|
|
1544
1049
|
}
|
|
1545
|
-
export declare class
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1050
|
+
export declare class Media extends BondBaseEntity {
|
|
1051
|
+
url: string;
|
|
1052
|
+
name: string | null;
|
|
1053
|
+
title: string | null;
|
|
1054
|
+
mediaKey: string | null;
|
|
1055
|
+
description: string | null;
|
|
1056
|
+
provider: string | null;
|
|
1057
|
+
mediaType: number;
|
|
1058
|
+
fileType: string | null;
|
|
1059
|
+
isDefault: boolean | null;
|
|
1060
|
+
creatorId: number | null;
|
|
1061
|
+
creatorType: string | null;
|
|
1062
|
+
userCreatorId: number | null;
|
|
1063
|
+
ownerId: number | null;
|
|
1064
|
+
createdBy: number | null;
|
|
1065
|
+
users: User[];
|
|
1066
|
+
programs: Program[];
|
|
1067
|
+
memberships: Membership[];
|
|
1554
1068
|
}
|
|
1555
1069
|
export declare class LineItems extends BondBaseEntity {
|
|
1556
1070
|
constructor();
|
|
@@ -1607,40 +1121,35 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1607
1121
|
displayUnitPrice?: number;
|
|
1608
1122
|
displayQuantity?: number;
|
|
1609
1123
|
}
|
|
1610
|
-
export declare class
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1124
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1125
|
+
name: string;
|
|
1126
|
+
description?: string;
|
|
1127
|
+
addressId: number;
|
|
1128
|
+
address: Address;
|
|
1129
|
+
amenities?: number[];
|
|
1130
|
+
timezone: string;
|
|
1131
|
+
creatorId: number;
|
|
1132
|
+
creatorType: string;
|
|
1133
|
+
userCreatorId: number;
|
|
1134
|
+
mainMediaId: number;
|
|
1135
|
+
mainMedia: Media;
|
|
1136
|
+
publishedDate?: Date;
|
|
1137
|
+
isPublished: boolean;
|
|
1138
|
+
sports?: number[];
|
|
1139
|
+
info?: string;
|
|
1140
|
+
longDescription?: string;
|
|
1141
|
+
deletedAt?: Date;
|
|
1142
|
+
openingTimes: OpeningTime[];
|
|
1143
|
+
resources: Resource[];
|
|
1144
|
+
spaces: Resource[];
|
|
1145
|
+
programSeasons: ProgramSeason[];
|
|
1146
|
+
linkSEO: string;
|
|
1625
1147
|
}
|
|
1626
|
-
export declare class
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
description: string | null;
|
|
1632
|
-
provider: string | null;
|
|
1633
|
-
mediaType: number;
|
|
1634
|
-
fileType: string | null;
|
|
1635
|
-
isDefault: boolean | null;
|
|
1636
|
-
creatorId: number | null;
|
|
1637
|
-
creatorType: string | null;
|
|
1638
|
-
userCreatorId: number | null;
|
|
1639
|
-
ownerId: number | null;
|
|
1640
|
-
createdBy: number | null;
|
|
1641
|
-
users: User[];
|
|
1642
|
-
programs: Program[];
|
|
1643
|
-
memberships: Membership[];
|
|
1148
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1149
|
+
customerId?: number;
|
|
1150
|
+
description: string;
|
|
1151
|
+
pinToTop?: boolean;
|
|
1152
|
+
customer: Customer;
|
|
1644
1153
|
}
|
|
1645
1154
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1646
1155
|
name: string;
|
|
@@ -1670,267 +1179,487 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1670
1179
|
isAutoRenew?: boolean;
|
|
1671
1180
|
purchasedResources: PurchasedResource[];
|
|
1672
1181
|
}
|
|
1673
|
-
export declare class
|
|
1674
|
-
membership: Membership;
|
|
1675
|
-
membershipId: number;
|
|
1676
|
-
productUserId: number;
|
|
1677
|
-
productUser?: ProductsUsers;
|
|
1678
|
-
userId: number;
|
|
1679
|
-
membershipType: MembershipTypeEnum;
|
|
1680
|
-
durationMonths?: number;
|
|
1681
|
-
startDate?: string;
|
|
1682
|
-
endDate?: string;
|
|
1683
|
-
renewalOfMemberId?: number;
|
|
1684
|
-
isAutoRenew?: boolean;
|
|
1685
|
-
nextPaymentMethodId?: string;
|
|
1686
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1687
|
-
answerTitleIds?: number[];
|
|
1688
|
-
cancelledAt?: Date | null;
|
|
1689
|
-
cancellationReason?: string;
|
|
1690
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1691
|
-
isImported?: boolean;
|
|
1692
|
-
}
|
|
1693
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1694
|
-
email: string | null;
|
|
1695
|
-
notificationType: NotificationTypeEnum | null;
|
|
1696
|
-
resourceId: number | null;
|
|
1697
|
-
resourceType: string | null;
|
|
1698
|
-
}
|
|
1699
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1182
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1700
1183
|
id: number;
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1184
|
+
provider: string;
|
|
1185
|
+
providerId: string | null;
|
|
1186
|
+
parentId: number | null;
|
|
1187
|
+
parentType: string | null;
|
|
1188
|
+
status: number | null;
|
|
1189
|
+
token: string | null;
|
|
1190
|
+
refreshToken: string | null;
|
|
1191
|
+
tokenCreatedAt: Date | null;
|
|
1192
|
+
tokenValidUpTo: Date | null;
|
|
1705
1193
|
createdAt: Date;
|
|
1706
1194
|
updatedAt: Date;
|
|
1707
|
-
deletedAt?: Date;
|
|
1708
|
-
facility: Facility;
|
|
1709
|
-
}
|
|
1710
|
-
export declare class Order extends BondBaseEntity {
|
|
1711
|
-
orderId: string | null;
|
|
1712
|
-
price: number | null;
|
|
1713
|
-
status: OrderStatusEnum | null;
|
|
1714
|
-
sentForClientDate: Date | null;
|
|
1715
|
-
payingUserId?: number | null;
|
|
1716
|
-
orderToInvoices: OrderToInvoice[];
|
|
1717
|
-
lineItems: LineItems[];
|
|
1718
|
-
lineItemHistory: LineItemHistory[];
|
|
1719
|
-
paymentStatus: PaymentStatusEnum;
|
|
1720
|
-
paymentMethodId?: string;
|
|
1721
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1722
|
-
paidAmount: number;
|
|
1723
|
-
currency: CurrencyEnum;
|
|
1724
|
-
mainInvoiceId: number;
|
|
1725
|
-
isScheduled: boolean;
|
|
1726
|
-
isRefunded: boolean;
|
|
1727
|
-
isVoided: boolean;
|
|
1728
|
-
creatingUserId: number;
|
|
1729
|
-
shiftId: number;
|
|
1730
|
-
platform: PlatformsEnum;
|
|
1731
|
-
orderNotes: OrderNote[];
|
|
1732
|
-
slots: Slot[];
|
|
1733
|
-
}
|
|
1734
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1735
|
-
content: string;
|
|
1736
|
-
creatingUserId: number;
|
|
1737
1195
|
user: User;
|
|
1738
|
-
|
|
1739
|
-
deletedAt: Date;
|
|
1740
|
-
orderId: number;
|
|
1741
|
-
order: Order;
|
|
1196
|
+
userId: number | null;
|
|
1742
1197
|
}
|
|
1743
|
-
export declare class
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
order: Order;
|
|
1747
|
-
invoice: Invoice;
|
|
1748
|
-
paidAmount?: number;
|
|
1749
|
-
currency: CurrencyEnum;
|
|
1198
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1199
|
+
groupId: number;
|
|
1200
|
+
terms: IEntitlementTerms[];
|
|
1750
1201
|
}
|
|
1751
|
-
export declare class
|
|
1752
|
-
|
|
1202
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1203
|
+
reservationId?: number;
|
|
1204
|
+
color?: string;
|
|
1205
|
+
creatorId?: number;
|
|
1206
|
+
creatorType?: string;
|
|
1207
|
+
startDate?: Date | moment.Moment;
|
|
1208
|
+
endDate?: Date | moment.Moment;
|
|
1209
|
+
timezone?: string;
|
|
1210
|
+
spaceId?: number;
|
|
1211
|
+
percentage?: number;
|
|
1212
|
+
status?: string;
|
|
1213
|
+
originalSessionId?: number;
|
|
1214
|
+
isFinal?: boolean;
|
|
1215
|
+
concurrent?: number;
|
|
1216
|
+
deletedAt?: Date;
|
|
1217
|
+
publicNotes?: string;
|
|
1218
|
+
slotType?: SlotTypeEnum;
|
|
1753
1219
|
}
|
|
1754
|
-
export declare class
|
|
1755
|
-
name?: string;
|
|
1756
|
-
description?: string;
|
|
1757
|
-
price: number;
|
|
1758
|
-
status: string;
|
|
1759
|
-
percentage: number;
|
|
1760
|
-
quantity: number;
|
|
1761
|
-
duration: number;
|
|
1762
|
-
organizationId: number;
|
|
1763
|
-
creatorId: number;
|
|
1764
|
-
creatorType: string;
|
|
1765
|
-
userCreatorId: number;
|
|
1766
|
-
ownerId: number;
|
|
1767
|
-
addon: boolean;
|
|
1768
|
-
isMandatory: boolean;
|
|
1220
|
+
export declare class FindByProductIdDto {
|
|
1769
1221
|
productId: number;
|
|
1770
1222
|
}
|
|
1771
|
-
export declare class
|
|
1772
|
-
|
|
1773
|
-
userId: number
|
|
1774
|
-
|
|
1775
|
-
active: boolean | null;
|
|
1223
|
+
export declare class FindPriceOfProductDto {
|
|
1224
|
+
id: number;
|
|
1225
|
+
userId: number;
|
|
1226
|
+
resources: ResourceDto[];
|
|
1776
1227
|
}
|
|
1777
|
-
export declare class
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
deletedAt?: Date;
|
|
1781
|
-
paymentPlan: ProductPaymentPlan;
|
|
1228
|
+
export declare class FindPricesOfProductsDto {
|
|
1229
|
+
products: FindPriceOfProductDto[];
|
|
1230
|
+
answers: UserAnswersDto[];
|
|
1782
1231
|
}
|
|
1783
|
-
export declare class
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
parentId: number | null;
|
|
1787
|
-
parentType: string | null;
|
|
1788
|
-
idAtProvider: string | null;
|
|
1789
|
-
providerType: number | null;
|
|
1790
|
-
providerExtraData: string | null;
|
|
1791
|
-
requestData: string | null;
|
|
1792
|
-
responseData: string | null;
|
|
1793
|
-
status: number | null;
|
|
1794
|
-
price: number | null;
|
|
1795
|
-
currency: string | null;
|
|
1796
|
-
locked: boolean | null;
|
|
1797
|
-
numberOfTries: number | null;
|
|
1798
|
-
installmentId: number | null;
|
|
1799
|
-
orderId: string | null;
|
|
1232
|
+
export declare class FindPackageByResourceDto {
|
|
1233
|
+
resourceType: ResourceNameTypeEnum;
|
|
1234
|
+
resourceId: number;
|
|
1800
1235
|
}
|
|
1801
|
-
export declare class
|
|
1802
|
-
|
|
1803
|
-
product: Product;
|
|
1804
|
-
name: string | null;
|
|
1805
|
-
price: number;
|
|
1806
|
-
currency: CurrencyEnum;
|
|
1807
|
-
paymentProcessorId: number | null;
|
|
1808
|
-
startDate: Date;
|
|
1809
|
-
endDate: Date;
|
|
1810
|
-
groupId?: number;
|
|
1811
|
-
groupName?: string;
|
|
1812
|
-
originalPrice?: number;
|
|
1813
|
-
deletedAt?: Date;
|
|
1814
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1815
|
-
discountValue?: number;
|
|
1816
|
-
taxIncludedPrice?: number;
|
|
1236
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
1237
|
+
organizationId: number;
|
|
1817
1238
|
}
|
|
1818
|
-
export declare class
|
|
1239
|
+
export declare class CreateProductsDto {
|
|
1240
|
+
products: CreateProductDto[];
|
|
1241
|
+
addOnsData?: ProductInPackage[];
|
|
1242
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
1243
|
+
}
|
|
1244
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
1819
1245
|
name: string;
|
|
1820
|
-
|
|
1821
|
-
|
|
1246
|
+
}
|
|
1247
|
+
export declare class CreateProductDto {
|
|
1248
|
+
id?: number;
|
|
1249
|
+
organizationId: number;
|
|
1250
|
+
name: string;
|
|
1251
|
+
quantity?: number;
|
|
1252
|
+
isPublic: boolean;
|
|
1822
1253
|
startDate?: Date;
|
|
1823
1254
|
endDate?: Date;
|
|
1824
|
-
|
|
1825
|
-
|
|
1255
|
+
description?: string;
|
|
1256
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
1257
|
+
resourcesIdsToApplyOn?: number[];
|
|
1826
1258
|
GL?: string;
|
|
1259
|
+
prices: CreatePriceDto[];
|
|
1827
1260
|
downpayment?: number;
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
resources: IResourcesAvailability[];
|
|
1261
|
+
productType: ProductTypesEnum;
|
|
1262
|
+
subProductType?: string;
|
|
1263
|
+
defaultForResourceId?: number;
|
|
1264
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
1265
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
1266
|
+
variantTitleIds?: number[];
|
|
1267
|
+
variants?: VariantWithPrice[];
|
|
1836
1268
|
variantParentId?: number;
|
|
1837
|
-
isAddon
|
|
1838
|
-
isArchive
|
|
1839
|
-
productVariants: Product[];
|
|
1840
|
-
variantParentProduct: Product;
|
|
1841
|
-
variantsObj: Variant[];
|
|
1842
|
-
variantTitlesObj: VariantTitle[];
|
|
1269
|
+
isAddon?: boolean;
|
|
1270
|
+
isArchive?: boolean;
|
|
1843
1271
|
timePeriod?: AddonTimePeriodEnum;
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
tax: number;
|
|
1850
|
-
isTaxInclusive: boolean;
|
|
1851
|
-
defaultPrice?: Price;
|
|
1852
|
-
addOns?: IChildProduct[];
|
|
1853
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
1854
|
-
productResources: ProductResource[];
|
|
1855
|
-
parentProductPackages: ProductPackage[];
|
|
1856
|
-
childProductPackages: ProductPackage[];
|
|
1857
|
-
sports?: number[] | null;
|
|
1272
|
+
isProRated?: boolean;
|
|
1273
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
1274
|
+
isTaxInclusive?: boolean;
|
|
1275
|
+
tax?: number;
|
|
1276
|
+
sports?: number[];
|
|
1858
1277
|
durationMinutes?: number;
|
|
1859
1278
|
durationDays?: number;
|
|
1860
|
-
forms?: number[]
|
|
1279
|
+
forms?: number[];
|
|
1861
1280
|
isForAllCustomers?: boolean;
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
purchasedResources: PurchasedResource[];
|
|
1281
|
+
membershipsAvailableFor?: number[];
|
|
1282
|
+
customersAvailableFor?: number[];
|
|
1283
|
+
addons?: createRentalProductAddonDto[];
|
|
1284
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
1867
1285
|
}
|
|
1868
|
-
export declare class
|
|
1286
|
+
export declare class VariantWithPrice {
|
|
1287
|
+
variantIds: number[];
|
|
1288
|
+
price: CreatePriceDto[];
|
|
1289
|
+
}
|
|
1290
|
+
export declare class CreatePriceDto {
|
|
1291
|
+
id?: number;
|
|
1292
|
+
price: number;
|
|
1293
|
+
currency: CurrencyEnum;
|
|
1294
|
+
name: string;
|
|
1295
|
+
startDate?: Date;
|
|
1296
|
+
endDate?: Date;
|
|
1297
|
+
discountValue?: number;
|
|
1298
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1299
|
+
isDefaultPriceForProduct?: boolean;
|
|
1300
|
+
}
|
|
1301
|
+
export declare class CreatePackageDto {
|
|
1869
1302
|
parentProductId: number;
|
|
1870
|
-
|
|
1303
|
+
productsData?: ProductInPackage[];
|
|
1304
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
1305
|
+
}
|
|
1306
|
+
export declare class CreatePackageToResourceDto {
|
|
1307
|
+
resourceId: number;
|
|
1308
|
+
resourceType: ResourceNameTypeEnum;
|
|
1309
|
+
isCreateToChildProducts: boolean;
|
|
1310
|
+
productsData: ProductInPackage[];
|
|
1311
|
+
}
|
|
1312
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
1871
1313
|
relationType: PackageProductsRelationTypeEnum;
|
|
1872
|
-
|
|
1873
|
-
deletedAt?: Date;
|
|
1874
|
-
productResource: ProductResource;
|
|
1875
|
-
childProduct: Product;
|
|
1876
|
-
parentProduct: Product;
|
|
1877
|
-
price: number;
|
|
1878
|
-
isFlatPrice: boolean;
|
|
1879
|
-
durationMinutes?: number;
|
|
1880
|
-
durationDays?: number;
|
|
1314
|
+
amountInPackage?: number;
|
|
1881
1315
|
level?: ProductPackageLevelEnum;
|
|
1882
1316
|
}
|
|
1883
|
-
export declare class
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
deletedAt?: Date;
|
|
1889
|
-
schedule: PaymentPlanSchedule[];
|
|
1890
|
-
product?: Product;
|
|
1317
|
+
export declare class ExistingProductToPackageDto {
|
|
1318
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1319
|
+
id: number;
|
|
1320
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1321
|
+
level?: ProductPackageLevelEnum;
|
|
1891
1322
|
}
|
|
1892
|
-
export declare class
|
|
1323
|
+
export declare class ConnectProductResourceDto {
|
|
1893
1324
|
productId: number;
|
|
1894
|
-
resourceId: number;
|
|
1895
1325
|
resourceType: ResourceNameTypeEnum;
|
|
1896
|
-
|
|
1897
|
-
programSeason: ProgramSeason;
|
|
1898
|
-
event: Event;
|
|
1899
|
-
product: Product;
|
|
1900
|
-
productPackages: ProductPackage[];
|
|
1901
|
-
resourceName?: string;
|
|
1326
|
+
resourceIds: number[];
|
|
1902
1327
|
}
|
|
1903
|
-
export declare class
|
|
1328
|
+
export declare class ReturnRequiredProductsDto {
|
|
1329
|
+
userId: number;
|
|
1904
1330
|
productId: number;
|
|
1905
|
-
variantTitleId: number;
|
|
1906
1331
|
}
|
|
1907
|
-
export declare class
|
|
1908
|
-
|
|
1909
|
-
|
|
1332
|
+
export declare class FindByProductUserIdsDto {
|
|
1333
|
+
userId: number;
|
|
1334
|
+
organizationId: number;
|
|
1910
1335
|
}
|
|
1911
|
-
export declare class
|
|
1336
|
+
export declare class AddRequiredProductsDto {
|
|
1912
1337
|
productId: number;
|
|
1913
|
-
|
|
1914
|
-
customer: Customer;
|
|
1915
|
-
deletedAt?: Date;
|
|
1916
|
-
product: Product;
|
|
1338
|
+
requiredProductIds: number[];
|
|
1917
1339
|
}
|
|
1918
|
-
export declare class
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1340
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
1341
|
+
productIds?: number[];
|
|
1342
|
+
includePrices?: boolean;
|
|
1343
|
+
productType?: ProductTypesEnum;
|
|
1344
|
+
includeAddons?: string;
|
|
1345
|
+
}
|
|
1346
|
+
export declare class GetByOrganizationIdDto {
|
|
1347
|
+
organizationId?: number;
|
|
1348
|
+
}
|
|
1349
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
1350
|
+
orderId?: number;
|
|
1351
|
+
}
|
|
1352
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
1353
|
+
productIds?: string;
|
|
1354
|
+
includePrices?: boolean;
|
|
1355
|
+
productType?: string;
|
|
1356
|
+
productSubType?: string;
|
|
1357
|
+
search?: string;
|
|
1358
|
+
includeAddons?: boolean;
|
|
1359
|
+
includeArchived?: boolean;
|
|
1360
|
+
includeAllData?: boolean;
|
|
1361
|
+
resourceIds?: string;
|
|
1362
|
+
sports?: string;
|
|
1363
|
+
}
|
|
1364
|
+
export declare class GetAllVariantTitlesDto {
|
|
1365
|
+
organizationId: number;
|
|
1366
|
+
}
|
|
1367
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
1368
|
+
organizationId: number;
|
|
1369
|
+
}
|
|
1370
|
+
export declare class CreateVariantTitleDto {
|
|
1371
|
+
organizationId: number;
|
|
1372
|
+
title: string;
|
|
1373
|
+
variants: string[];
|
|
1374
|
+
}
|
|
1375
|
+
export declare class UpdateVariantTitleDto {
|
|
1376
|
+
organizationId: number;
|
|
1377
|
+
titleId: number;
|
|
1378
|
+
title: string;
|
|
1379
|
+
variants: string[];
|
|
1380
|
+
}
|
|
1381
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1382
|
+
customerId: number;
|
|
1383
|
+
}
|
|
1384
|
+
export declare class GetExtraProductDataDto {
|
|
1385
|
+
isPublic?: boolean;
|
|
1386
|
+
isGetByChildResources?: boolean;
|
|
1387
|
+
isGetEntitlePricing?: boolean;
|
|
1388
|
+
isGetAddOns?: boolean;
|
|
1389
|
+
includeResources?: boolean;
|
|
1390
|
+
includeArchived?: boolean;
|
|
1391
|
+
}
|
|
1392
|
+
export declare class GetBySessionType {
|
|
1393
|
+
sessionType: 'event' | 'segment';
|
|
1394
|
+
}
|
|
1395
|
+
export declare class CreateSubcategoryDto {
|
|
1396
|
+
productType: ProductTypesEnum;
|
|
1397
|
+
name: string;
|
|
1398
|
+
stationId?: number;
|
|
1928
1399
|
ordinal?: number;
|
|
1929
|
-
|
|
1400
|
+
}
|
|
1401
|
+
export declare class CreateSubcategoriesDto {
|
|
1402
|
+
subcategories: CreateSubcategoryDto[];
|
|
1403
|
+
}
|
|
1404
|
+
export declare class UpdateSubcategoryDto {
|
|
1405
|
+
id: number;
|
|
1406
|
+
productType?: ProductTypesEnum;
|
|
1407
|
+
name?: string;
|
|
1408
|
+
stationId?: number;
|
|
1409
|
+
ordinal?: number;
|
|
1410
|
+
}
|
|
1411
|
+
export declare class GetSubcategoryDto {
|
|
1412
|
+
stationId?: number;
|
|
1413
|
+
}
|
|
1414
|
+
export declare class SetStationSubcategoriesDto {
|
|
1415
|
+
stationId: number;
|
|
1416
|
+
subcategoryIds?: number[];
|
|
1417
|
+
categories?: string[];
|
|
1418
|
+
}
|
|
1419
|
+
export declare class createRentalProductAddonDto {
|
|
1420
|
+
productId: number;
|
|
1421
|
+
price: number;
|
|
1422
|
+
isFlatPrice: boolean;
|
|
1423
|
+
isMandatory: boolean;
|
|
1424
|
+
level: ProductPackageLevelEnum;
|
|
1425
|
+
}
|
|
1426
|
+
export declare class createProductAvailabilityTimesDto {
|
|
1427
|
+
availabilityStartDate?: string;
|
|
1428
|
+
availabilityEndDate?: string;
|
|
1429
|
+
daysOfWeek: number[];
|
|
1430
|
+
startTime: string;
|
|
1431
|
+
endTime: string;
|
|
1432
|
+
}
|
|
1433
|
+
export declare class createResourceDto {
|
|
1434
|
+
resourceId: number;
|
|
1435
|
+
resourceType: ResourceNameTypeEnum;
|
|
1436
|
+
}
|
|
1437
|
+
export declare class archiveDto {
|
|
1438
|
+
isArchive: boolean;
|
|
1439
|
+
}
|
|
1440
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1441
|
+
email: string | null;
|
|
1442
|
+
notificationType: NotificationTypeEnum | null;
|
|
1443
|
+
resourceId: number | null;
|
|
1444
|
+
resourceType: string | null;
|
|
1445
|
+
}
|
|
1446
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1447
|
+
name?: string;
|
|
1448
|
+
description?: string;
|
|
1449
|
+
price: number;
|
|
1450
|
+
status: string;
|
|
1451
|
+
percentage: number;
|
|
1452
|
+
quantity: number;
|
|
1453
|
+
duration: number;
|
|
1454
|
+
organizationId: number;
|
|
1455
|
+
creatorId: number;
|
|
1456
|
+
creatorType: string;
|
|
1457
|
+
userCreatorId: number;
|
|
1458
|
+
ownerId: number;
|
|
1459
|
+
addon: boolean;
|
|
1460
|
+
isMandatory: boolean;
|
|
1461
|
+
productId: number;
|
|
1462
|
+
}
|
|
1463
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1464
|
+
facilityId: number;
|
|
1465
|
+
resourceId: number;
|
|
1466
|
+
}
|
|
1467
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1468
|
+
id: number;
|
|
1469
|
+
dayOfWeek: number;
|
|
1470
|
+
open: string;
|
|
1471
|
+
close: string;
|
|
1472
|
+
facilityId: number;
|
|
1473
|
+
createdAt: Date;
|
|
1474
|
+
updatedAt: Date;
|
|
1475
|
+
deletedAt?: Date;
|
|
1476
|
+
facility: Facility;
|
|
1477
|
+
}
|
|
1478
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1479
|
+
paymentPlanId: number;
|
|
1480
|
+
paymentDate: Date;
|
|
1481
|
+
deletedAt?: Date;
|
|
1482
|
+
paymentPlan: ProductPaymentPlan;
|
|
1483
|
+
}
|
|
1484
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1485
|
+
userId: number | null;
|
|
1486
|
+
ownerId: number | null;
|
|
1487
|
+
parentId: number | null;
|
|
1488
|
+
parentType: string | null;
|
|
1489
|
+
idAtProvider: string | null;
|
|
1490
|
+
providerType: number | null;
|
|
1491
|
+
providerExtraData: string | null;
|
|
1492
|
+
requestData: string | null;
|
|
1493
|
+
responseData: string | null;
|
|
1494
|
+
status: number | null;
|
|
1495
|
+
price: number | null;
|
|
1496
|
+
currency: string | null;
|
|
1497
|
+
locked: boolean | null;
|
|
1498
|
+
numberOfTries: number | null;
|
|
1499
|
+
installmentId: number | null;
|
|
1500
|
+
orderId: string | null;
|
|
1501
|
+
}
|
|
1502
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1503
|
+
parentProductId: number;
|
|
1504
|
+
childProductId: number;
|
|
1505
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1506
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1507
|
+
deletedAt?: Date;
|
|
1508
|
+
productResource: ProductResource;
|
|
1509
|
+
childProduct: Product;
|
|
1510
|
+
parentProduct: Product;
|
|
1511
|
+
price: number;
|
|
1512
|
+
isFlatPrice: boolean;
|
|
1513
|
+
durationMinutes?: number;
|
|
1514
|
+
durationDays?: number;
|
|
1515
|
+
level?: ProductPackageLevelEnum;
|
|
1516
|
+
}
|
|
1517
|
+
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1518
|
+
orderId: number;
|
|
1519
|
+
invoiceId: number;
|
|
1520
|
+
order: Order;
|
|
1521
|
+
invoice: Invoice;
|
|
1522
|
+
paidAmount?: number;
|
|
1523
|
+
currency: CurrencyEnum;
|
|
1524
|
+
}
|
|
1525
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1526
|
+
productId: number;
|
|
1527
|
+
variantTitleId: number;
|
|
1528
|
+
}
|
|
1529
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1530
|
+
productId: number;
|
|
1531
|
+
resourceId: number;
|
|
1532
|
+
resourceType: ResourceNameTypeEnum;
|
|
1533
|
+
deletedAt?: Date;
|
|
1534
|
+
programSeason: ProgramSeason;
|
|
1535
|
+
event: Event;
|
|
1930
1536
|
product: Product;
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1537
|
+
productPackages: ProductPackage[];
|
|
1538
|
+
resourceName?: string;
|
|
1539
|
+
}
|
|
1540
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1541
|
+
productId: number;
|
|
1542
|
+
variantId: number;
|
|
1543
|
+
}
|
|
1544
|
+
export declare class Order extends BondBaseEntity {
|
|
1545
|
+
orderId: string | null;
|
|
1546
|
+
price: number | null;
|
|
1547
|
+
status: OrderStatusEnum | null;
|
|
1548
|
+
sentForClientDate: Date | null;
|
|
1549
|
+
payingUserId?: number | null;
|
|
1550
|
+
orderToInvoices: OrderToInvoice[];
|
|
1551
|
+
lineItems: LineItems[];
|
|
1552
|
+
lineItemHistory: LineItemHistory[];
|
|
1553
|
+
paymentStatus: PaymentStatusEnum;
|
|
1554
|
+
paymentMethodId?: string;
|
|
1555
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1556
|
+
paidAmount: number;
|
|
1557
|
+
currency: CurrencyEnum;
|
|
1558
|
+
mainInvoiceId: number;
|
|
1559
|
+
isScheduled: boolean;
|
|
1560
|
+
isRefunded: boolean;
|
|
1561
|
+
isVoided: boolean;
|
|
1562
|
+
creatingUserId: number;
|
|
1563
|
+
shiftId: number;
|
|
1564
|
+
platform: PlatformsEnum;
|
|
1565
|
+
orderNotes: OrderNote[];
|
|
1566
|
+
slots: Slot[];
|
|
1567
|
+
}
|
|
1568
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1569
|
+
membership: Membership;
|
|
1570
|
+
membershipId: number;
|
|
1571
|
+
productUserId: number;
|
|
1572
|
+
productUser?: ProductsUsers;
|
|
1573
|
+
userId: number;
|
|
1574
|
+
membershipType: MembershipTypeEnum;
|
|
1575
|
+
durationMonths?: number;
|
|
1576
|
+
startDate?: string;
|
|
1577
|
+
endDate?: string;
|
|
1578
|
+
renewalOfMemberId?: number;
|
|
1579
|
+
isAutoRenew?: boolean;
|
|
1580
|
+
nextPaymentMethodId?: string;
|
|
1581
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1582
|
+
answerTitleIds?: number[];
|
|
1583
|
+
cancelledAt?: Date | null;
|
|
1584
|
+
cancellationReason?: string;
|
|
1585
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1586
|
+
isImported?: boolean;
|
|
1587
|
+
}
|
|
1588
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1589
|
+
productId: number;
|
|
1590
|
+
maxMonths?: number;
|
|
1591
|
+
dayOfMonth?: number;
|
|
1592
|
+
name: string;
|
|
1593
|
+
deletedAt?: Date;
|
|
1594
|
+
schedule: PaymentPlanSchedule[];
|
|
1595
|
+
product?: Product;
|
|
1596
|
+
}
|
|
1597
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1598
|
+
content: string;
|
|
1599
|
+
creatingUserId: number;
|
|
1600
|
+
user: User;
|
|
1601
|
+
isPublic: boolean;
|
|
1602
|
+
deletedAt: Date;
|
|
1603
|
+
orderId: number;
|
|
1604
|
+
order: Order;
|
|
1605
|
+
}
|
|
1606
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
1607
|
+
membershipId: number;
|
|
1608
|
+
}
|
|
1609
|
+
export declare class ImportProductsFromDB {
|
|
1610
|
+
buDate: string;
|
|
1611
|
+
}
|
|
1612
|
+
export declare class ImportCustomerFromCSV {
|
|
1613
|
+
fileName: string;
|
|
1614
|
+
startIndex?: number;
|
|
1615
|
+
}
|
|
1616
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
1617
|
+
resolveInvoices: string;
|
|
1618
|
+
}
|
|
1619
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
1620
|
+
membershipId: number;
|
|
1621
|
+
onlyDashIds: string;
|
|
1622
|
+
}
|
|
1623
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
1624
|
+
facilityId: number;
|
|
1625
|
+
}
|
|
1626
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
1627
|
+
customerId: number;
|
|
1628
|
+
}
|
|
1629
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
1630
|
+
nameSearch?: string;
|
|
1631
|
+
fuzzy?: string;
|
|
1632
|
+
customerType?: CustomerTypeEnum;
|
|
1633
|
+
customersIds?: string;
|
|
1634
|
+
}
|
|
1635
|
+
export declare class AddCustomerNotesDto {
|
|
1636
|
+
customerNotes: CustomerNoteDto[];
|
|
1637
|
+
}
|
|
1638
|
+
export declare class CustomerNoteDto {
|
|
1639
|
+
id?: number;
|
|
1640
|
+
description: string;
|
|
1641
|
+
pinToTop?: boolean;
|
|
1642
|
+
}
|
|
1643
|
+
export declare class AddEditCustomerDto {
|
|
1644
|
+
firstName?: string;
|
|
1645
|
+
lastName?: string;
|
|
1646
|
+
entityId?: number;
|
|
1647
|
+
entityType?: CustomerTypeEnum;
|
|
1648
|
+
email?: string;
|
|
1649
|
+
color?: string;
|
|
1650
|
+
street?: string;
|
|
1651
|
+
city?: string;
|
|
1652
|
+
state?: string;
|
|
1653
|
+
zip?: string;
|
|
1654
|
+
phoneNumber?: string;
|
|
1655
|
+
mainMediaId?: number;
|
|
1656
|
+
creatorId?: number;
|
|
1657
|
+
creatorType?: ResourceNameTypeEnum;
|
|
1658
|
+
userCreatorId?: number;
|
|
1659
|
+
gender?: GenderEnum;
|
|
1660
|
+
birthDate?: string;
|
|
1661
|
+
emergencyContactName?: string;
|
|
1662
|
+
emergencyContactPhone?: string;
|
|
1934
1663
|
}
|
|
1935
1664
|
export declare class Program extends BondBaseEntity {
|
|
1936
1665
|
type: ProgramTypesEnum;
|
|
@@ -1954,6 +1683,79 @@ export declare class Program extends BondBaseEntity {
|
|
|
1954
1683
|
programSeason: ProgramSeason[];
|
|
1955
1684
|
purchasedResources: PurchasedResource[];
|
|
1956
1685
|
}
|
|
1686
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1687
|
+
name: string;
|
|
1688
|
+
quantity: number;
|
|
1689
|
+
paymentProcessorId?: string;
|
|
1690
|
+
startDate?: Date;
|
|
1691
|
+
endDate?: Date;
|
|
1692
|
+
isPublic: boolean;
|
|
1693
|
+
productType?: ProductTypesEnum;
|
|
1694
|
+
GL?: string;
|
|
1695
|
+
downpayment?: number;
|
|
1696
|
+
description?: string;
|
|
1697
|
+
prices: Price[];
|
|
1698
|
+
currPrice: Price;
|
|
1699
|
+
productSubType?: ProductSubTypesEnum;
|
|
1700
|
+
punchCard: boolean;
|
|
1701
|
+
requiredProductIds?: number[];
|
|
1702
|
+
lineItems: LineItems[];
|
|
1703
|
+
resources: IResourcesAvailability[];
|
|
1704
|
+
variantParentId?: number;
|
|
1705
|
+
isAddon: boolean;
|
|
1706
|
+
isArchive: boolean;
|
|
1707
|
+
productVariants: Product[];
|
|
1708
|
+
variantParentProduct: Product;
|
|
1709
|
+
variantsObj: Variant[];
|
|
1710
|
+
variantTitlesObj: VariantTitle[];
|
|
1711
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1712
|
+
deletedAt?: Date;
|
|
1713
|
+
productsUsers: ProductsUsers[];
|
|
1714
|
+
isProRated: boolean;
|
|
1715
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1716
|
+
defaultPriceId?: number;
|
|
1717
|
+
tax: number;
|
|
1718
|
+
isTaxInclusive: boolean;
|
|
1719
|
+
defaultPrice?: Price;
|
|
1720
|
+
addOns?: IChildProduct[];
|
|
1721
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1722
|
+
productResources: ProductResource[];
|
|
1723
|
+
parentProductPackages: ProductPackage[];
|
|
1724
|
+
childProductPackages: ProductPackage[];
|
|
1725
|
+
sports?: number[] | null;
|
|
1726
|
+
durationMinutes?: number;
|
|
1727
|
+
durationDays?: number;
|
|
1728
|
+
forms?: number[] | null;
|
|
1729
|
+
isForAllCustomers?: boolean;
|
|
1730
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1731
|
+
reservedForCustomers: Customer[];
|
|
1732
|
+
reservedForMemberships: Membership[];
|
|
1733
|
+
activityTimes: ActivityTimes[];
|
|
1734
|
+
purchasedResources: PurchasedResource[];
|
|
1735
|
+
}
|
|
1736
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1737
|
+
productId: number;
|
|
1738
|
+
userId: number;
|
|
1739
|
+
user?: User;
|
|
1740
|
+
paymentStatus: PaymentStatusEnum;
|
|
1741
|
+
productName: string;
|
|
1742
|
+
productPrice: number;
|
|
1743
|
+
productQuantity: number;
|
|
1744
|
+
productQuantityLeft: number;
|
|
1745
|
+
productPriceCurrency: CurrencyEnum;
|
|
1746
|
+
ordinal?: number;
|
|
1747
|
+
purchasedResources: PurchasedResource[];
|
|
1748
|
+
product: Product;
|
|
1749
|
+
lineItem: LineItems;
|
|
1750
|
+
slots?: Slot[];
|
|
1751
|
+
addons?: Addon[];
|
|
1752
|
+
}
|
|
1753
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1754
|
+
token: string | null;
|
|
1755
|
+
userId: number | null;
|
|
1756
|
+
validUntil: Date | null;
|
|
1757
|
+
active: boolean | null;
|
|
1758
|
+
}
|
|
1957
1759
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1958
1760
|
type: ProgramHighlightTypeEnum;
|
|
1959
1761
|
ordinal: number | null;
|
|
@@ -2016,6 +1818,10 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2016
1818
|
facility: Facility;
|
|
2017
1819
|
purchasedResources: PurchasedResource[];
|
|
2018
1820
|
}
|
|
1821
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1822
|
+
title: string | null;
|
|
1823
|
+
answerTitle: AnswerTitle;
|
|
1824
|
+
}
|
|
2019
1825
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2020
1826
|
productUserId: number;
|
|
2021
1827
|
resourceId: number;
|
|
@@ -2038,28 +1844,29 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2038
1844
|
product?: Product;
|
|
2039
1845
|
event?: Event;
|
|
2040
1846
|
}
|
|
2041
|
-
export declare class
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
ordinal: number | null;
|
|
2048
|
-
pageOrdinal: number | null;
|
|
2049
|
-
isActive: boolean | null;
|
|
2050
|
-
isMandatory: boolean | null;
|
|
2051
|
-
metaData: any | null;
|
|
2052
|
-
question: string | null;
|
|
2053
|
-
creatorId: number | null;
|
|
2054
|
-
creatorType: string | null;
|
|
2055
|
-
userCreatorId: number | null;
|
|
2056
|
-
ownerId: number | null;
|
|
2057
|
-
questionnaireId: number | null;
|
|
1847
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1848
|
+
productId: number;
|
|
1849
|
+
customerId: number;
|
|
1850
|
+
customer: Customer;
|
|
1851
|
+
deletedAt?: Date;
|
|
1852
|
+
product: Product;
|
|
2058
1853
|
}
|
|
2059
|
-
export declare class
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
1854
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1855
|
+
productId: number;
|
|
1856
|
+
product: Product;
|
|
1857
|
+
name: string | null;
|
|
1858
|
+
price: number;
|
|
1859
|
+
currency: CurrencyEnum;
|
|
1860
|
+
paymentProcessorId: number | null;
|
|
1861
|
+
startDate: Date;
|
|
1862
|
+
endDate: Date;
|
|
1863
|
+
groupId?: number;
|
|
1864
|
+
groupName?: string;
|
|
1865
|
+
originalPrice?: number;
|
|
1866
|
+
deletedAt?: Date;
|
|
1867
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1868
|
+
discountValue?: number;
|
|
1869
|
+
taxIncludedPrice?: number;
|
|
2063
1870
|
}
|
|
2064
1871
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2065
1872
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -2072,37 +1879,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2072
1879
|
closeTime?: string;
|
|
2073
1880
|
deletedAt?: Date;
|
|
2074
1881
|
}
|
|
2075
|
-
export declare class
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
status?: string;
|
|
2080
|
-
privacySetting?: string;
|
|
2081
|
-
reservationType?: string;
|
|
2082
|
-
orderId?: string;
|
|
2083
|
-
customerId?: number;
|
|
2084
|
-
length?: number;
|
|
2085
|
-
price?: number;
|
|
2086
|
-
sessions?: number;
|
|
2087
|
-
percentage?: number;
|
|
2088
|
-
paymentStatus?: number;
|
|
2089
|
-
paymentId?: number;
|
|
2090
|
-
startTime?: string;
|
|
2091
|
-
dayOfWeek?: number;
|
|
2092
|
-
resourcePackageId?: number;
|
|
2093
|
-
resourcePackageAmount?: number;
|
|
2094
|
-
startDate?: Date;
|
|
2095
|
-
endDate?: Date;
|
|
2096
|
-
originalReservationId?: number;
|
|
2097
|
-
creatorId?: number;
|
|
2098
|
-
creatorType?: string;
|
|
2099
|
-
userCreatorId?: number;
|
|
2100
|
-
ownerId?: number;
|
|
2101
|
-
sportType?: number;
|
|
2102
|
-
participantType?: string;
|
|
2103
|
-
deletedAt?: Date;
|
|
2104
|
-
publicNotes?: string;
|
|
2105
|
-
slots?: Slot[];
|
|
1882
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
1883
|
+
reason: string;
|
|
1884
|
+
ordinal: number;
|
|
1885
|
+
deletedAt: Date;
|
|
2106
1886
|
}
|
|
2107
1887
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2108
1888
|
name: string;
|
|
@@ -2132,34 +1912,25 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2132
1912
|
purchasedResources: PurchasedResource[];
|
|
2133
1913
|
linkSEO: string;
|
|
2134
1914
|
}
|
|
2135
|
-
export declare class
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
parentSlotId: number;
|
|
2139
|
-
childrenSlotIds: number[];
|
|
2140
|
-
deletedAt?: Date;
|
|
2141
|
-
}
|
|
2142
|
-
export declare class School extends BondBaseEntity {
|
|
2143
|
-
name: string | null;
|
|
2144
|
-
alias: string[] | null;
|
|
2145
|
-
addressId: number | null;
|
|
2146
|
-
website: string | null;
|
|
2147
|
-
phone: string | null;
|
|
2148
|
-
dataId: number | null;
|
|
1915
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
1916
|
+
blockingSpaceId: number;
|
|
1917
|
+
blockedSpaceId: number;
|
|
2149
1918
|
}
|
|
2150
|
-
export declare class
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
1919
|
+
export declare class Group extends BondBaseEntity {
|
|
1920
|
+
name: string;
|
|
1921
|
+
description?: string;
|
|
1922
|
+
status: GroupStatusEnum;
|
|
1923
|
+
maxCapacity?: number;
|
|
1924
|
+
mainMediaId?: number;
|
|
1925
|
+
minAgeYears?: number;
|
|
1926
|
+
maxAgeYears?: number;
|
|
1927
|
+
gender: GenderEnum;
|
|
1928
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1929
|
+
sports: SportsEnum[];
|
|
1930
|
+
questionnaires?: number[];
|
|
1931
|
+
captainUserId?: number;
|
|
1932
|
+
members: ISeasonAttendeeInfo[];
|
|
1933
|
+
users: User[];
|
|
2163
1934
|
}
|
|
2164
1935
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2165
1936
|
name: string | null;
|
|
@@ -2167,45 +1938,23 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2167
1938
|
seasonId: number | null;
|
|
2168
1939
|
color: string | null;
|
|
2169
1940
|
}
|
|
2170
|
-
export declare class SeasonPool extends BondBaseEntity {
|
|
2171
|
-
seasonId?: number;
|
|
2172
|
-
userId?: number;
|
|
2173
|
-
status?: number;
|
|
2174
|
-
entityId?: number;
|
|
2175
|
-
entityType?: string;
|
|
2176
|
-
groupId?: string;
|
|
2177
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2178
|
-
metadata?: any;
|
|
2179
|
-
paymentId?: number;
|
|
2180
|
-
externalAssign?: boolean;
|
|
2181
|
-
productUserId?: number;
|
|
2182
|
-
purchasedResource: PurchasedResource;
|
|
2183
|
-
season: LeagueSeason;
|
|
2184
|
-
}
|
|
2185
1941
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2186
1942
|
seasonId: number | null;
|
|
2187
1943
|
teamId: number | null;
|
|
2188
|
-
standingPosition: number | null;
|
|
2189
|
-
statistics: any | null;
|
|
2190
|
-
points: number | null;
|
|
2191
|
-
divisionId: number | null;
|
|
2192
|
-
metaData: any | null;
|
|
2193
|
-
team: Team;
|
|
2194
|
-
}
|
|
2195
|
-
export declare class
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
processorTerminalId: string | null;
|
|
2203
|
-
terminaLabel: string | null;
|
|
2204
|
-
processorSerialNumber: string | null;
|
|
2205
|
-
currentOpenShift?: Shift;
|
|
2206
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2207
|
-
subcategories: Subcategory[];
|
|
2208
|
-
shifts?: Shift[];
|
|
1944
|
+
standingPosition: number | null;
|
|
1945
|
+
statistics: any | null;
|
|
1946
|
+
points: number | null;
|
|
1947
|
+
divisionId: number | null;
|
|
1948
|
+
metaData: any | null;
|
|
1949
|
+
team: Team;
|
|
1950
|
+
}
|
|
1951
|
+
export declare class School extends BondBaseEntity {
|
|
1952
|
+
name: string | null;
|
|
1953
|
+
alias: string[] | null;
|
|
1954
|
+
addressId: number | null;
|
|
1955
|
+
website: string | null;
|
|
1956
|
+
phone: string | null;
|
|
1957
|
+
dataId: number | null;
|
|
2209
1958
|
}
|
|
2210
1959
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2211
1960
|
stationId: number;
|
|
@@ -2223,6 +1972,53 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2223
1972
|
stationToSubcategories: StationToSubcategory[];
|
|
2224
1973
|
stations: Station[];
|
|
2225
1974
|
}
|
|
1975
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
1976
|
+
seasonId?: number;
|
|
1977
|
+
userId?: number;
|
|
1978
|
+
status?: number;
|
|
1979
|
+
entityId?: number;
|
|
1980
|
+
entityType?: string;
|
|
1981
|
+
groupId?: string;
|
|
1982
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
1983
|
+
metadata?: any;
|
|
1984
|
+
paymentId?: number;
|
|
1985
|
+
externalAssign?: boolean;
|
|
1986
|
+
productUserId?: number;
|
|
1987
|
+
purchasedResource: PurchasedResource;
|
|
1988
|
+
season: LeagueSeason;
|
|
1989
|
+
}
|
|
1990
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
1991
|
+
name?: string;
|
|
1992
|
+
description?: string;
|
|
1993
|
+
color?: string;
|
|
1994
|
+
status?: string;
|
|
1995
|
+
privacySetting?: string;
|
|
1996
|
+
reservationType?: string;
|
|
1997
|
+
orderId?: string;
|
|
1998
|
+
customerId?: number;
|
|
1999
|
+
length?: number;
|
|
2000
|
+
price?: number;
|
|
2001
|
+
sessions?: number;
|
|
2002
|
+
percentage?: number;
|
|
2003
|
+
paymentStatus?: number;
|
|
2004
|
+
paymentId?: number;
|
|
2005
|
+
startTime?: string;
|
|
2006
|
+
dayOfWeek?: number;
|
|
2007
|
+
resourcePackageId?: number;
|
|
2008
|
+
resourcePackageAmount?: number;
|
|
2009
|
+
startDate?: Date;
|
|
2010
|
+
endDate?: Date;
|
|
2011
|
+
originalReservationId?: number;
|
|
2012
|
+
creatorId?: number;
|
|
2013
|
+
creatorType?: string;
|
|
2014
|
+
userCreatorId?: number;
|
|
2015
|
+
ownerId?: number;
|
|
2016
|
+
sportType?: number;
|
|
2017
|
+
participantType?: string;
|
|
2018
|
+
deletedAt?: Date;
|
|
2019
|
+
publicNotes?: string;
|
|
2020
|
+
slots?: Slot[];
|
|
2021
|
+
}
|
|
2226
2022
|
export declare class Team extends BondBaseEntity {
|
|
2227
2023
|
name: string | null;
|
|
2228
2024
|
description: string | null;
|
|
@@ -2257,6 +2053,13 @@ export declare class Team extends BondBaseEntity {
|
|
|
2257
2053
|
gender: number | null;
|
|
2258
2054
|
questionnaireId: number | null;
|
|
2259
2055
|
}
|
|
2056
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2057
|
+
name: string;
|
|
2058
|
+
facilityId: number;
|
|
2059
|
+
parentSlotId: number;
|
|
2060
|
+
childrenSlotIds: number[];
|
|
2061
|
+
deletedAt?: Date;
|
|
2062
|
+
}
|
|
2260
2063
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2261
2064
|
email: string;
|
|
2262
2065
|
teamId: number;
|
|
@@ -2275,6 +2078,20 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2275
2078
|
role: TeamMemberRoleEnum;
|
|
2276
2079
|
user: User;
|
|
2277
2080
|
}
|
|
2081
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2082
|
+
status: RequestStatusEnum;
|
|
2083
|
+
paymentStatus: PaymentStatusEnum;
|
|
2084
|
+
paymentId?: number;
|
|
2085
|
+
productId?: number;
|
|
2086
|
+
attendeeId: number;
|
|
2087
|
+
attendee: User;
|
|
2088
|
+
seasonId: number;
|
|
2089
|
+
season: ProgramSeason;
|
|
2090
|
+
productUserId?: number;
|
|
2091
|
+
answerTitleIds?: number[];
|
|
2092
|
+
deletedAt?: Date;
|
|
2093
|
+
purchasedResource: PurchasedResource;
|
|
2094
|
+
}
|
|
2278
2095
|
export declare class User extends BondBaseEntity {
|
|
2279
2096
|
firstName: string | null;
|
|
2280
2097
|
lastName: string | null;
|
|
@@ -2314,42 +2131,227 @@ export declare class User extends BondBaseEntity {
|
|
|
2314
2131
|
orderNotes: OrderNote[];
|
|
2315
2132
|
invoiceNotes: InvoiceNote[];
|
|
2316
2133
|
}
|
|
2317
|
-
export declare class
|
|
2318
|
-
|
|
2319
|
-
userId: number
|
|
2320
|
-
|
|
2321
|
-
|
|
2134
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2135
|
+
groupId: number;
|
|
2136
|
+
userId: number;
|
|
2137
|
+
deletedAt?: Date;
|
|
2138
|
+
}
|
|
2139
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2140
|
+
name: string;
|
|
2141
|
+
facilityId: number;
|
|
2142
|
+
processorTerminalId: string | null;
|
|
2143
|
+
terminaLabel: string | null;
|
|
2144
|
+
processorSerialNumber: string | null;
|
|
2145
|
+
currentOpenShift?: Shift;
|
|
2146
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2147
|
+
subcategories: Subcategory[];
|
|
2148
|
+
shifts?: Shift[];
|
|
2149
|
+
}
|
|
2150
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2151
|
+
projectToken: string;
|
|
2152
|
+
programTypesCollectionId?: string;
|
|
2153
|
+
programTagsCollectionId?: string;
|
|
2154
|
+
sportsCollectionId?: string;
|
|
2155
|
+
membershipCollectionId?: string;
|
|
2156
|
+
programsCollectionId?: string;
|
|
2157
|
+
}
|
|
2158
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
2159
|
+
organizationId: number;
|
|
2160
|
+
}
|
|
2161
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2162
|
+
name: string;
|
|
2163
|
+
variants: Variant[];
|
|
2164
|
+
}
|
|
2165
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2166
|
+
entityId: number | null;
|
|
2167
|
+
userId: number | null;
|
|
2168
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2169
|
+
user: User;
|
|
2170
|
+
}
|
|
2171
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2172
|
+
familyAccountId: number;
|
|
2173
|
+
userId: number;
|
|
2174
|
+
isAdmin: boolean;
|
|
2175
|
+
user: User;
|
|
2176
|
+
familyAccount: FamilyAccount;
|
|
2177
|
+
deletedAt?: Date;
|
|
2178
|
+
}
|
|
2179
|
+
export declare class Questions extends BondBaseEntity {
|
|
2180
|
+
questionType: string | null;
|
|
2181
|
+
ordinal: number | null;
|
|
2182
|
+
pageOrdinal: number | null;
|
|
2183
|
+
isActive: boolean | null;
|
|
2184
|
+
isMandatory: boolean | null;
|
|
2185
|
+
metaData: any | null;
|
|
2186
|
+
question: string | null;
|
|
2187
|
+
creatorId: number | null;
|
|
2188
|
+
creatorType: string | null;
|
|
2189
|
+
userCreatorId: number | null;
|
|
2190
|
+
ownerId: number | null;
|
|
2191
|
+
questionnaireId: number | null;
|
|
2192
|
+
}
|
|
2193
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2194
|
+
name: string;
|
|
2195
|
+
variantTitleId: number;
|
|
2196
|
+
variantTitle: VariantTitle;
|
|
2197
|
+
deletedAt?: Date;
|
|
2198
|
+
}
|
|
2199
|
+
export declare class FindEventByIdDto {
|
|
2200
|
+
eventId: number;
|
|
2201
|
+
organizationId: number;
|
|
2202
|
+
}
|
|
2203
|
+
export declare class UpdateEventDto {
|
|
2204
|
+
name: string;
|
|
2205
|
+
startDate: string;
|
|
2206
|
+
endDate: string;
|
|
2207
|
+
startTime: string;
|
|
2208
|
+
endTime: string;
|
|
2209
|
+
spacesIds?: number[];
|
|
2210
|
+
publicNotes?: string;
|
|
2211
|
+
privateNotes?: string;
|
|
2212
|
+
isInformAttendees?: boolean;
|
|
2213
|
+
minutesBeforeSlot?: number;
|
|
2214
|
+
minutesAfterSlot?: number;
|
|
2215
|
+
}
|
|
2216
|
+
export declare class AddEventToSessionDto {
|
|
2217
|
+
eventsData: UpdateEventDto[];
|
|
2218
|
+
}
|
|
2219
|
+
export declare class EventsIdsQueryDto {
|
|
2220
|
+
eventsIds: string;
|
|
2221
|
+
}
|
|
2222
|
+
export declare class UpdateMultipleEventsDto {
|
|
2223
|
+
eventsIds: number[];
|
|
2224
|
+
name?: string;
|
|
2225
|
+
startTime?: string;
|
|
2226
|
+
endTime?: string;
|
|
2227
|
+
spacesIds?: number[];
|
|
2228
|
+
publicNotes?: string;
|
|
2229
|
+
privateNotes?: string;
|
|
2230
|
+
isInformAttendees?: boolean;
|
|
2231
|
+
minutesBeforeSlot?: number;
|
|
2232
|
+
minutesAfterSlot?: number;
|
|
2233
|
+
}
|
|
2234
|
+
export declare class FindByFacilityIdDto {
|
|
2235
|
+
facilityId: number;
|
|
2236
|
+
}
|
|
2237
|
+
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
2238
|
+
organizationId: number;
|
|
2239
|
+
}
|
|
2240
|
+
export declare class FacilityEventsScheduleQueryParams {
|
|
2241
|
+
programsIds?: string;
|
|
2242
|
+
startDate?: string;
|
|
2243
|
+
endDate?: string;
|
|
2244
|
+
}
|
|
2245
|
+
export declare class ProgramLandingPageDto {
|
|
2246
|
+
programId: number;
|
|
2247
|
+
}
|
|
2248
|
+
export declare class ProgramLandingPageQueryDto {
|
|
2249
|
+
futureLimit?: number;
|
|
2250
|
+
}
|
|
2251
|
+
export declare class ProgramSessionLandingPageDto {
|
|
2252
|
+
programId: number;
|
|
2253
|
+
sessionId: number;
|
|
2254
|
+
}
|
|
2255
|
+
export interface IEventOfSessionDetails {
|
|
2256
|
+
id: number;
|
|
2257
|
+
name: string;
|
|
2258
|
+
programId: number;
|
|
2259
|
+
programType: ProgramTypesEnum;
|
|
2260
|
+
sessionId: number;
|
|
2261
|
+
sessionName: string;
|
|
2262
|
+
isPublic: boolean;
|
|
2263
|
+
startDate: Date;
|
|
2264
|
+
endDate: Date;
|
|
2265
|
+
startTime: string;
|
|
2266
|
+
endTime: string;
|
|
2267
|
+
resources: IBasicSpaceAndSlotCreator[];
|
|
2268
|
+
attenedanceCount: number;
|
|
2269
|
+
checkedInCount: number;
|
|
2270
|
+
missingPaymentCount: number;
|
|
2271
|
+
publicNotes: string;
|
|
2272
|
+
privateNotes: string;
|
|
2273
|
+
}
|
|
2274
|
+
export interface IAttendeeOfEvent {
|
|
2275
|
+
eventId: number;
|
|
2276
|
+
userId: number;
|
|
2277
|
+
lastName: string;
|
|
2278
|
+
firstName: string;
|
|
2279
|
+
birthDate: string;
|
|
2280
|
+
mediaURL: string;
|
|
2281
|
+
signedWaiver: string;
|
|
2282
|
+
entryStatus: EntryStatusEnum;
|
|
2283
|
+
paymentStatus: PaymentStatusEnum;
|
|
2284
|
+
addOns: {
|
|
2285
|
+
productId: number;
|
|
2286
|
+
productName: string;
|
|
2287
|
+
}[];
|
|
2288
|
+
totalPasses?: number;
|
|
2289
|
+
leftPasses?: number;
|
|
2290
|
+
addonProductUserIds: number[];
|
|
2291
|
+
}
|
|
2292
|
+
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
2293
|
+
nameSearch?: string;
|
|
2294
|
+
isCheckedIn?: string;
|
|
2295
|
+
isNotCheckedIn?: string;
|
|
2296
|
+
hasAddons?: string;
|
|
2297
|
+
isWaiverSigned?: string;
|
|
2298
|
+
statuses?: string;
|
|
2299
|
+
}
|
|
2300
|
+
export declare class CreateMembershipDto {
|
|
2301
|
+
organizationId: number;
|
|
2302
|
+
name: string;
|
|
2303
|
+
description?: string;
|
|
2304
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
2305
|
+
activity: SportsEnum;
|
|
2306
|
+
facilityId: number;
|
|
2307
|
+
questionnaires: number[];
|
|
2308
|
+
minAgeYears: number;
|
|
2309
|
+
maxAgeYears: number;
|
|
2310
|
+
gender: GenderEnum;
|
|
2311
|
+
maxMembers?: number;
|
|
2312
|
+
maxMaleMembers?: number;
|
|
2313
|
+
maxFemaleMembers?: number;
|
|
2314
|
+
startDate: string;
|
|
2315
|
+
endDate: string;
|
|
2316
|
+
registrationStartDate?: Date;
|
|
2317
|
+
registrationEndDate?: Date;
|
|
2318
|
+
membershipType: MembershipTypeEnum;
|
|
2319
|
+
durationMonths: number;
|
|
2320
|
+
longDescription?: string;
|
|
2321
|
+
isAutoRenew?: boolean;
|
|
2322
|
+
}
|
|
2323
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
2324
|
+
id: number;
|
|
2322
2325
|
}
|
|
2323
|
-
export declare class
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
isAdmin: boolean;
|
|
2327
|
-
user: User;
|
|
2328
|
-
familyAccount: FamilyAccount;
|
|
2329
|
-
deletedAt?: Date;
|
|
2326
|
+
export declare class UpdateMembershipMediaDto {
|
|
2327
|
+
membershipId: number;
|
|
2328
|
+
mediaId: number;
|
|
2330
2329
|
}
|
|
2331
|
-
export declare class
|
|
2332
|
-
|
|
2330
|
+
export declare class FindMembershipByIdDto {
|
|
2331
|
+
membershipId: number;
|
|
2332
|
+
}
|
|
2333
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
2334
|
+
organizationId: number;
|
|
2335
|
+
}
|
|
2336
|
+
export declare class FindMembershipsByUserIdDto {
|
|
2333
2337
|
userId: number;
|
|
2334
|
-
deletedAt?: Date;
|
|
2335
2338
|
}
|
|
2336
|
-
export declare class
|
|
2337
|
-
|
|
2338
|
-
variants: Variant[];
|
|
2339
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
2340
|
+
startDate: string;
|
|
2339
2341
|
}
|
|
2340
|
-
export declare class
|
|
2341
|
-
|
|
2342
|
-
variantTitleId: number;
|
|
2343
|
-
variantTitle: VariantTitle;
|
|
2344
|
-
deletedAt?: Date;
|
|
2342
|
+
export declare class MembershipIdsDto {
|
|
2343
|
+
membershipIds?: number[];
|
|
2345
2344
|
}
|
|
2346
|
-
export declare class
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2345
|
+
export declare class MemberIdDto {
|
|
2346
|
+
memberId?: number;
|
|
2347
|
+
}
|
|
2348
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
2349
|
+
nameEmailSearch?: string;
|
|
2350
|
+
pastMemberships?: string;
|
|
2351
|
+
}
|
|
2352
|
+
export declare class CancelMembershipDto {
|
|
2353
|
+
isImmediatelyCancel: boolean;
|
|
2354
|
+
cancellationReason?: string;
|
|
2353
2355
|
}
|
|
2354
2356
|
export declare enum EntitlementTermsTypesEnum {
|
|
2355
2357
|
QUESTION = "question",
|
|
@@ -2769,6 +2771,7 @@ export declare enum SlotTypeEnum {
|
|
|
2769
2771
|
}
|
|
2770
2772
|
export declare enum PlatformsEnum {
|
|
2771
2773
|
CONSUMER = "consumer",
|
|
2774
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2772
2775
|
BO = "backoffice",
|
|
2773
2776
|
MOBILE = "mobile",
|
|
2774
2777
|
CRON = "cron"
|
|
@@ -3238,11 +3241,29 @@ export interface IReservationCreatorData {
|
|
|
3238
3241
|
endDate: string;
|
|
3239
3242
|
sportId: number;
|
|
3240
3243
|
}
|
|
3241
|
-
export declare class
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3245
|
+
name?: string;
|
|
3246
|
+
genderStr?: string;
|
|
3247
|
+
parentID?: string;
|
|
3248
|
+
partnerID?: string;
|
|
3249
|
+
membershipName?: string;
|
|
3250
|
+
membershipExpDate?: string;
|
|
3251
|
+
membershipCreationDate?: string;
|
|
3252
|
+
bondMembershipID?: number;
|
|
3253
|
+
}
|
|
3254
|
+
export declare class AddFamilyDto {
|
|
3255
|
+
parents: AddImportedCustomerDto[];
|
|
3256
|
+
children: AddImportedCustomerDto[];
|
|
3257
|
+
}
|
|
3258
|
+
export declare class ProductIdsDto {
|
|
3259
|
+
productIds?: number[];
|
|
3260
|
+
}
|
|
3261
|
+
export declare class ProductImportDto {
|
|
3262
|
+
product: Product;
|
|
3263
|
+
prices: Price[];
|
|
3264
|
+
resourceIds: number[];
|
|
3265
|
+
oldId: number;
|
|
3244
3266
|
}
|
|
3245
|
-
export declare function convertToNumber(data: string): number;
|
|
3246
3267
|
export declare enum ImportPaymentTypeEnum {
|
|
3247
3268
|
CREDIT_CARD = "card",
|
|
3248
3269
|
ACH = "ach",
|
|
@@ -3278,15 +3299,6 @@ export declare class ImportedPaymentDto {
|
|
|
3278
3299
|
date: string;
|
|
3279
3300
|
time: string;
|
|
3280
3301
|
}
|
|
3281
|
-
export declare class ProductIdsDto {
|
|
3282
|
-
productIds?: number[];
|
|
3283
|
-
}
|
|
3284
|
-
export declare class ProductImportDto {
|
|
3285
|
-
product: Product;
|
|
3286
|
-
prices: Price[];
|
|
3287
|
-
resourceIds: number[];
|
|
3288
|
-
oldId: number;
|
|
3289
|
-
}
|
|
3290
3302
|
export declare class PunchPassDto {
|
|
3291
3303
|
CustomerID: string;
|
|
3292
3304
|
QuantityLeft: number;
|
|
@@ -3294,20 +3306,6 @@ export declare class PunchPassDto {
|
|
|
3294
3306
|
BondSessionID: number;
|
|
3295
3307
|
ProductID: number;
|
|
3296
3308
|
}
|
|
3297
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3298
|
-
name?: string;
|
|
3299
|
-
genderStr?: string;
|
|
3300
|
-
parentID?: string;
|
|
3301
|
-
partnerID?: string;
|
|
3302
|
-
membershipName?: string;
|
|
3303
|
-
membershipExpDate?: string;
|
|
3304
|
-
membershipCreationDate?: string;
|
|
3305
|
-
bondMembershipID?: number;
|
|
3306
|
-
}
|
|
3307
|
-
export declare class AddFamilyDto {
|
|
3308
|
-
parents: AddImportedCustomerDto[];
|
|
3309
|
-
children: AddImportedCustomerDto[];
|
|
3310
|
-
}
|
|
3311
3309
|
export declare class ImportedSlotProductDto {
|
|
3312
3310
|
slotID?: string;
|
|
3313
3311
|
name?: string;
|
|
@@ -3359,145 +3357,54 @@ export declare class ImportedReservationDto {
|
|
|
3359
3357
|
slots?: ImportedSlotDto[];
|
|
3360
3358
|
addons?: ImportedSlotProductDto[];
|
|
3361
3359
|
}
|
|
3362
|
-
export
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
resultMetaData: any | null;
|
|
3371
|
-
points: number | null;
|
|
3372
|
-
score: number | null;
|
|
3373
|
-
gameSlotId: number | null;
|
|
3374
|
-
}
|
|
3375
|
-
export declare class Matches extends BondBaseEntity {
|
|
3376
|
-
eventId: number | null;
|
|
3377
|
-
status: number | null;
|
|
3378
|
-
excludeStandings: boolean | null;
|
|
3379
|
-
}
|
|
3380
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3381
|
-
roundId: number;
|
|
3382
|
-
eventId: number;
|
|
3383
|
-
seriesId: number | null;
|
|
3384
|
-
createdAt: Date;
|
|
3385
|
-
updatedAt: Date;
|
|
3386
|
-
}
|
|
3387
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3388
|
-
seasonId: number;
|
|
3389
|
-
ordinal?: number;
|
|
3390
|
-
divisionId?: number;
|
|
3391
|
-
name: string;
|
|
3392
|
-
}
|
|
3393
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3394
|
-
teamId: number | null;
|
|
3395
|
-
eventId: number | null;
|
|
3396
|
-
status: number | null;
|
|
3397
|
-
}
|
|
3398
|
-
export declare class Lock extends BondBaseEntity {
|
|
3399
|
-
name: string;
|
|
3400
|
-
locked?: Date;
|
|
3401
|
-
}
|
|
3402
|
-
export interface ValidatedMonthAndDay {
|
|
3403
|
-
valid: boolean;
|
|
3404
|
-
month?: number;
|
|
3405
|
-
day?: number;
|
|
3406
|
-
}
|
|
3407
|
-
export interface ValidationReason {
|
|
3408
|
-
valid: boolean;
|
|
3409
|
-
reason?: string;
|
|
3410
|
-
}
|
|
3411
|
-
export interface PaymentStatus {
|
|
3412
|
-
parentId: number;
|
|
3413
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3414
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3415
|
-
id?: number;
|
|
3416
|
-
}
|
|
3417
|
-
export interface PaymentStatusesDict {
|
|
3418
|
-
[id: number]: PaymentStatus[];
|
|
3419
|
-
}
|
|
3420
|
-
export interface PaymentStatusDict {
|
|
3421
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
|
-
}
|
|
3423
|
-
export declare class CreateMonitorConfigDto {
|
|
3424
|
-
facilityId: number;
|
|
3425
|
-
name: string;
|
|
3426
|
-
code: string;
|
|
3427
|
-
config: any;
|
|
3428
|
-
}
|
|
3429
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3430
|
-
facilityId: number;
|
|
3431
|
-
code: string;
|
|
3432
|
-
config?: any;
|
|
3433
|
-
}
|
|
3434
|
-
export declare class ByOrganizationIdDto {
|
|
3435
|
-
organizationId: number;
|
|
3436
|
-
}
|
|
3437
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
-
organizationId?: number;
|
|
3360
|
+
export interface PaymentResult {
|
|
3361
|
+
paymentMethodId: string;
|
|
3362
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3363
|
+
amount: number;
|
|
3364
|
+
receiptId?: number;
|
|
3365
|
+
paymentMethod4Digits?: string;
|
|
3366
|
+
errorMessage?: string;
|
|
3367
|
+
wasSuccessful: boolean;
|
|
3439
3368
|
}
|
|
3440
|
-
export
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
twitter: string | null;
|
|
3444
|
-
facebook: string | null;
|
|
3445
|
-
instagram: string | null;
|
|
3446
|
-
website: string | null;
|
|
3447
|
-
blog: string | null;
|
|
3448
|
-
phoneNumber: string | null;
|
|
3449
|
-
waiverDoc: string | null;
|
|
3450
|
-
about: string | null;
|
|
3451
|
-
tagline: string | null;
|
|
3452
|
-
status: number | null;
|
|
3453
|
-
addressId: number | null;
|
|
3454
|
-
merchantId: number | null;
|
|
3455
|
-
userCreatorId: number | null;
|
|
3456
|
-
parentId: number | null;
|
|
3457
|
-
paymentSettings: object | null;
|
|
3458
|
-
settings: object | null;
|
|
3459
|
-
isClaimed: boolean | null;
|
|
3460
|
-
sports: number[] | null;
|
|
3461
|
-
mainMediaId: number | null;
|
|
3462
|
-
deletedAt: Date | null;
|
|
3463
|
-
organizationActivityTypes: number[] | null;
|
|
3464
|
-
organizationTypes: number[] | null;
|
|
3465
|
-
organizationAudienceTypes: number[] | null;
|
|
3466
|
-
organizationGenders: number[] | null;
|
|
3467
|
-
questionnaireId: number | null;
|
|
3468
|
-
membershipQuestionnaireId: number | null;
|
|
3469
|
-
feeRate: number;
|
|
3470
|
-
feeAddDollarRate: number;
|
|
3471
|
-
achFeeRate: number;
|
|
3472
|
-
achFeeAddDollarRate: number;
|
|
3473
|
-
maxAchFee: number;
|
|
3474
|
-
cashFeeRate: number;
|
|
3475
|
-
cashFeeAddDollarRate: number;
|
|
3476
|
-
terminalFeeRate: number;
|
|
3477
|
-
terminalFeeAddDollarRate: number;
|
|
3478
|
-
checkFeeRate: number;
|
|
3479
|
-
checkFeeAddDollarRate: number;
|
|
3480
|
-
otherFeeRate: number;
|
|
3481
|
-
otherFeeAddDollarRate: number;
|
|
3482
|
-
balanceFeeRate: number;
|
|
3483
|
-
balanceFeeAddDollarRate: number;
|
|
3484
|
-
address: Address;
|
|
3485
|
-
mainMedia: Media;
|
|
3486
|
-
brandings: OrganizationBranding[];
|
|
3487
|
-
brandingsV2?: OrganizationBranding[];
|
|
3369
|
+
export interface PaymentsResults {
|
|
3370
|
+
success: PaymentResult[];
|
|
3371
|
+
failed: PaymentResult[];
|
|
3488
3372
|
}
|
|
3489
|
-
export
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
version: number;
|
|
3493
|
-
organization: Organization;
|
|
3373
|
+
export interface OrderPaymentSum {
|
|
3374
|
+
priceSum: number;
|
|
3375
|
+
paidSum: number;
|
|
3494
3376
|
}
|
|
3495
|
-
export
|
|
3496
|
-
|
|
3377
|
+
export interface ExtendedLineItems {
|
|
3378
|
+
memberships: LineItems[];
|
|
3379
|
+
programs: LineItems[];
|
|
3380
|
+
leagues: LineItems[];
|
|
3381
|
+
rentals: LineItems[];
|
|
3382
|
+
products: LineItems[];
|
|
3383
|
+
events: LineItems[];
|
|
3497
3384
|
}
|
|
3498
|
-
export declare class
|
|
3499
|
-
|
|
3500
|
-
|
|
3385
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3386
|
+
paymentType?: string;
|
|
3387
|
+
paymentStatus?: string;
|
|
3388
|
+
}
|
|
3389
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3390
|
+
}
|
|
3391
|
+
export declare class FindInvoices extends ByPaymentFilter {
|
|
3392
|
+
id?: number;
|
|
3393
|
+
months?: string;
|
|
3394
|
+
}
|
|
3395
|
+
export interface RefundResult extends PaymentsResults {
|
|
3396
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3397
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3398
|
+
order?: Order;
|
|
3399
|
+
}
|
|
3400
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3401
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3402
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3403
|
+
totalAmountProcessed: number;
|
|
3404
|
+
}
|
|
3405
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3406
|
+
entityType: string;
|
|
3407
|
+
entityId: number;
|
|
3501
3408
|
}
|
|
3502
3409
|
export declare class CustomerIdDto {
|
|
3503
3410
|
customerId: number;
|
|
@@ -3530,12 +3437,6 @@ export declare class DiscountDto {
|
|
|
3530
3437
|
export declare class LineItemIdDto {
|
|
3531
3438
|
lineItemId: number;
|
|
3532
3439
|
}
|
|
3533
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3534
|
-
paymentType?: string;
|
|
3535
|
-
paymentStatus?: string;
|
|
3536
|
-
}
|
|
3537
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3538
|
-
}
|
|
3539
3440
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3540
3441
|
userId: number;
|
|
3541
3442
|
}
|
|
@@ -3616,297 +3517,110 @@ export declare class SendRequestDto {
|
|
|
3616
3517
|
sendToEmail: string;
|
|
3617
3518
|
memo?: string;
|
|
3618
3519
|
}
|
|
3619
|
-
export declare class
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
refundLineItemAmountDict?: {
|
|
3623
|
-
[id: number]: number;
|
|
3624
|
-
};
|
|
3625
|
-
refunds: PaymentMethodDto[];
|
|
3626
|
-
refundType: RefundTypeEnum;
|
|
3627
|
-
reasonId: number;
|
|
3628
|
-
note?: string;
|
|
3629
|
-
shiftId?: number;
|
|
3630
|
-
meta?: RevertMetaDto;
|
|
3631
|
-
}
|
|
3632
|
-
export declare class PaymentMethodDto {
|
|
3633
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3634
|
-
amount: number;
|
|
3635
|
-
paymentMethodId?: string;
|
|
3636
|
-
}
|
|
3637
|
-
export declare class RefundLineItemAmountDto {
|
|
3638
|
-
id: number;
|
|
3639
|
-
refundAmount: number;
|
|
3640
|
-
}
|
|
3641
|
-
export declare class VoidDto {
|
|
3642
|
-
lineItems: VoidLineItemDto[];
|
|
3643
|
-
meta?: RevertMetaDto;
|
|
3644
|
-
}
|
|
3645
|
-
export declare class VoidLineItemDto {
|
|
3646
|
-
id: number;
|
|
3647
|
-
quantity?: number;
|
|
3648
|
-
isEdit?: boolean;
|
|
3649
|
-
amount?: number;
|
|
3650
|
-
}
|
|
3651
|
-
export interface PaymentResult {
|
|
3652
|
-
paymentMethodId: string;
|
|
3653
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3654
|
-
amount: number;
|
|
3655
|
-
receiptId?: number;
|
|
3656
|
-
paymentMethod4Digits?: string;
|
|
3657
|
-
errorMessage?: string;
|
|
3658
|
-
wasSuccessful: boolean;
|
|
3659
|
-
}
|
|
3660
|
-
export interface PaymentsResults {
|
|
3661
|
-
success: PaymentResult[];
|
|
3662
|
-
failed: PaymentResult[];
|
|
3663
|
-
}
|
|
3664
|
-
export interface OrderPaymentSum {
|
|
3665
|
-
priceSum: number;
|
|
3666
|
-
paidSum: number;
|
|
3667
|
-
}
|
|
3668
|
-
export interface ExtendedLineItems {
|
|
3669
|
-
memberships: LineItems[];
|
|
3670
|
-
programs: LineItems[];
|
|
3671
|
-
leagues: LineItems[];
|
|
3672
|
-
rentals: LineItems[];
|
|
3673
|
-
products: LineItems[];
|
|
3674
|
-
events: LineItems[];
|
|
3675
|
-
}
|
|
3676
|
-
export declare class FindInvoices extends ByPaymentFilter {
|
|
3677
|
-
id?: number;
|
|
3678
|
-
months?: string;
|
|
3679
|
-
}
|
|
3680
|
-
export interface RefundResult extends PaymentsResults {
|
|
3681
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3682
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3683
|
-
order?: Order;
|
|
3684
|
-
}
|
|
3685
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3686
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3687
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3688
|
-
totalAmountProcessed: number;
|
|
3689
|
-
}
|
|
3690
|
-
export declare class MaintenanceDto {
|
|
3691
|
-
id?: number;
|
|
3692
|
-
title: string;
|
|
3693
|
-
durationValue: number;
|
|
3694
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3695
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3696
|
-
}
|
|
3697
|
-
export declare class LineItemDto {
|
|
3698
|
-
id?: number;
|
|
3699
|
-
orderId?: number;
|
|
3700
|
-
type: LineItemsStatusEnum;
|
|
3701
|
-
organizationId: number;
|
|
3702
|
-
userId?: number;
|
|
3703
|
-
productId: number;
|
|
3704
|
-
product?: Product;
|
|
3705
|
-
productType: ProductTypesEnum;
|
|
3706
|
-
ordinal?: number;
|
|
3707
|
-
price: number;
|
|
3708
|
-
originalPrice?: number;
|
|
3709
|
-
paidAmount?: number;
|
|
3710
|
-
currency: CurrencyEnum;
|
|
3711
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3712
|
-
isRefunded?: boolean;
|
|
3713
|
-
isTaxInclusive?: boolean;
|
|
3714
|
-
taxPrecent?: number;
|
|
3715
|
-
unitPrice?: number;
|
|
3716
|
-
quantity: number;
|
|
3717
|
-
resources?: PurchasedResourceDto[];
|
|
3718
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3719
|
-
unitPriceWithTax?: number;
|
|
3720
|
-
unitTaxPrice?: number;
|
|
3721
|
-
parentOrdinal?: number;
|
|
3722
|
-
}
|
|
3723
|
-
export declare class OrderDto {
|
|
3724
|
-
orderId?: string | null;
|
|
3725
|
-
organizationId: number;
|
|
3726
|
-
price: number | null;
|
|
3727
|
-
totalTax?: number;
|
|
3728
|
-
totalWithoutTax?: number;
|
|
3729
|
-
status?: OrderStatusEnum;
|
|
3730
|
-
lineItems: LineItemDto[];
|
|
3731
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3732
|
-
currency: CurrencyEnum;
|
|
3733
|
-
creatingUserId?: number;
|
|
3734
|
-
platform?: PlatformsEnum;
|
|
3735
|
-
}
|
|
3736
|
-
export declare class BaseInvoiceDto {
|
|
3737
|
-
platform: PlatformsEnum;
|
|
3738
|
-
shiftId?: number;
|
|
3739
|
-
}
|
|
3740
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3741
|
-
purchasingUserId: number;
|
|
3742
|
-
slots: number[];
|
|
3743
|
-
}
|
|
3744
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3745
|
-
reservationTotalPrice: number;
|
|
3746
|
-
}
|
|
3747
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3748
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3749
|
-
addToOrderId?: number;
|
|
3750
|
-
}
|
|
3751
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3752
|
-
isInvoiced: boolean;
|
|
3753
|
-
}
|
|
3754
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3755
|
-
slotsIds?: number[];
|
|
3756
|
-
addonsIds?: number[];
|
|
3757
|
-
}
|
|
3758
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3759
|
-
slots: SlotDto[];
|
|
3760
|
-
}
|
|
3761
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3762
|
-
segments: SegmentDto[];
|
|
3763
|
-
}
|
|
3764
|
-
export declare class PurchasedResourceDto {
|
|
3765
|
-
resourceId?: number;
|
|
3766
|
-
resourceType: ResourceNameTypeEnum;
|
|
3767
|
-
startDate?: string;
|
|
3768
|
-
startTime?: string;
|
|
3769
|
-
endDate?: string;
|
|
3770
|
-
endTime?: string;
|
|
3771
|
-
}
|
|
3772
|
-
export declare class ReservationDto {
|
|
3773
|
-
id?: number;
|
|
3774
|
-
organizationId?: number;
|
|
3775
|
-
name: string;
|
|
3776
|
-
reservationType: ReservationTypeEnum;
|
|
3777
|
-
customerId?: number;
|
|
3778
|
-
segments: SegmentDto[];
|
|
3779
|
-
description?: string;
|
|
3780
|
-
status?: ReservationStatusEnum;
|
|
3781
|
-
privacySetting?: string;
|
|
3782
|
-
orderId?: string;
|
|
3783
|
-
price?: number;
|
|
3784
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3785
|
-
creatorId?: number;
|
|
3786
|
-
creatorType?: ResourceNameTypeEnum;
|
|
3787
|
-
publicNotes?: string;
|
|
3788
|
-
privateNotes?: string;
|
|
3789
|
-
forms?: number[] | null;
|
|
3790
|
-
addons?: ProductPricesDto[];
|
|
3791
|
-
userId?: number;
|
|
3792
|
-
overrideProductsPrice?: ProductPricesDto[];
|
|
3793
|
-
targetGlobalPrice?: number;
|
|
3794
|
-
}
|
|
3795
|
-
export declare class SaveReservationDto {
|
|
3796
|
-
reservation: ReservationDto;
|
|
3797
|
-
slotType?: SlotTypeEnum;
|
|
3798
|
-
}
|
|
3799
|
-
export declare class SingleReservationIncludesDto {
|
|
3800
|
-
includeCustomer?: boolean;
|
|
3801
|
-
includeAddons?: boolean;
|
|
3802
|
-
includeSeries?: boolean;
|
|
3803
|
-
includeInvoices?: boolean;
|
|
3804
|
-
includePayments?: boolean;
|
|
3805
|
-
includeAnswers?: boolean;
|
|
3806
|
-
buildTree?: boolean;
|
|
3807
|
-
}
|
|
3808
|
-
export declare class CategoryPricesDto {
|
|
3809
|
-
slot: number;
|
|
3810
|
-
addon: number;
|
|
3811
|
-
}
|
|
3812
|
-
export declare class ProductPricesDto {
|
|
3813
|
-
productId: number;
|
|
3814
|
-
price?: number;
|
|
3815
|
-
quantity?: number;
|
|
3816
|
-
totalPrice?: number;
|
|
3817
|
-
}
|
|
3818
|
-
declare class UpdatePriceDto {
|
|
3819
|
-
type: UpdatePricesTypeEnum;
|
|
3820
|
-
globalPrice?: number;
|
|
3821
|
-
category?: CategoryPricesDto;
|
|
3822
|
-
products?: ProductPricesDto[];
|
|
3823
|
-
}
|
|
3824
|
-
export declare class UpdateReservationPriceDto extends UpdatePriceDto {
|
|
3825
|
-
reservation: ReservationDto;
|
|
3826
|
-
}
|
|
3827
|
-
export declare class UpdateSlotsPricesDto extends UpdatePriceDto {
|
|
3828
|
-
slots: SlotDto[];
|
|
3829
|
-
useCurrentProducts?: boolean;
|
|
3520
|
+
export declare class VoidDto {
|
|
3521
|
+
lineItems: VoidLineItemDto[];
|
|
3522
|
+
meta?: RevertMetaDto;
|
|
3830
3523
|
}
|
|
3831
|
-
export declare class
|
|
3832
|
-
|
|
3524
|
+
export declare class VoidLineItemDto {
|
|
3525
|
+
id: number;
|
|
3526
|
+
quantity?: number;
|
|
3527
|
+
isEdit?: boolean;
|
|
3528
|
+
amount?: number;
|
|
3529
|
+
}
|
|
3530
|
+
export declare class RefundDto {
|
|
3531
|
+
orderId: number;
|
|
3532
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3533
|
+
refundLineItemAmountDict?: {
|
|
3534
|
+
[id: number]: number;
|
|
3535
|
+
};
|
|
3536
|
+
refunds: PaymentMethodDto[];
|
|
3537
|
+
refundType: RefundTypeEnum;
|
|
3538
|
+
reasonId: number;
|
|
3539
|
+
note?: string;
|
|
3833
3540
|
shiftId?: number;
|
|
3834
|
-
|
|
3835
|
-
amountToPay: number;
|
|
3836
|
-
total: number;
|
|
3837
|
-
purchasingUserId: number;
|
|
3541
|
+
meta?: RevertMetaDto;
|
|
3838
3542
|
}
|
|
3839
|
-
export declare class
|
|
3840
|
-
|
|
3841
|
-
|
|
3543
|
+
export declare class PaymentMethodDto {
|
|
3544
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3545
|
+
amount: number;
|
|
3546
|
+
paymentMethodId?: string;
|
|
3842
3547
|
}
|
|
3843
|
-
export declare class
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
endDate?: string;
|
|
3847
|
-
status?: string;
|
|
3848
|
-
paymentStatus?: string;
|
|
3849
|
-
customerName?: string;
|
|
3548
|
+
export declare class RefundLineItemAmountDto {
|
|
3549
|
+
id: number;
|
|
3550
|
+
refundAmount: number;
|
|
3850
3551
|
}
|
|
3851
|
-
export declare class
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
limit: number;
|
|
3855
|
-
includeBlocking: string;
|
|
3856
|
-
onlyActiveSessions?: string;
|
|
3857
|
-
resourcesIds?: string;
|
|
3858
|
-
resourcesTypes?: string;
|
|
3859
|
-
reservationStatuses?: string;
|
|
3552
|
+
export declare class Lock extends BondBaseEntity {
|
|
3553
|
+
name: string;
|
|
3554
|
+
locked?: Date;
|
|
3860
3555
|
}
|
|
3861
|
-
export declare class
|
|
3862
|
-
|
|
3556
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3557
|
+
matchId: number | null;
|
|
3558
|
+
ordinal: number | null;
|
|
3559
|
+
outcomeOrdinal: number | null;
|
|
3560
|
+
resultMetaData: any | null;
|
|
3561
|
+
points: number | null;
|
|
3562
|
+
score: number | null;
|
|
3563
|
+
gameSlotId: number | null;
|
|
3863
3564
|
}
|
|
3864
|
-
export declare class
|
|
3865
|
-
|
|
3565
|
+
export declare class Matches extends BondBaseEntity {
|
|
3566
|
+
eventId: number | null;
|
|
3567
|
+
status: number | null;
|
|
3568
|
+
excludeStandings: boolean | null;
|
|
3866
3569
|
}
|
|
3867
|
-
export declare class
|
|
3868
|
-
|
|
3570
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3571
|
+
roundId: number;
|
|
3572
|
+
eventId: number;
|
|
3573
|
+
seriesId: number | null;
|
|
3574
|
+
createdAt: Date;
|
|
3575
|
+
updatedAt: Date;
|
|
3869
3576
|
}
|
|
3870
|
-
export declare class
|
|
3871
|
-
|
|
3577
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3578
|
+
seasonId: number;
|
|
3579
|
+
ordinal?: number;
|
|
3580
|
+
divisionId?: number;
|
|
3581
|
+
name: string;
|
|
3872
3582
|
}
|
|
3873
|
-
export declare class
|
|
3874
|
-
|
|
3583
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3584
|
+
teamId: number | null;
|
|
3585
|
+
eventId: number | null;
|
|
3586
|
+
status: number | null;
|
|
3875
3587
|
}
|
|
3876
|
-
export declare class
|
|
3877
|
-
|
|
3588
|
+
export declare class ByOrganizationIdDto {
|
|
3589
|
+
organizationId: number;
|
|
3878
3590
|
}
|
|
3879
|
-
export declare class
|
|
3880
|
-
|
|
3881
|
-
addonIds?: number[];
|
|
3591
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3592
|
+
organizationId?: number;
|
|
3882
3593
|
}
|
|
3883
|
-
export declare class
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
debug?: any;
|
|
3594
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3595
|
+
facilityId: number;
|
|
3596
|
+
code: string;
|
|
3597
|
+
config?: any;
|
|
3888
3598
|
}
|
|
3889
|
-
export
|
|
3890
|
-
|
|
3599
|
+
export interface ValidatedMonthAndDay {
|
|
3600
|
+
valid: boolean;
|
|
3601
|
+
month?: number;
|
|
3602
|
+
day?: number;
|
|
3891
3603
|
}
|
|
3892
|
-
export
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
reasonId: number;
|
|
3604
|
+
export interface ValidationReason {
|
|
3605
|
+
valid: boolean;
|
|
3606
|
+
reason?: string;
|
|
3896
3607
|
}
|
|
3897
|
-
export declare class
|
|
3898
|
-
|
|
3608
|
+
export declare class ColumnNumericTransformer {
|
|
3609
|
+
to(data: number): number;
|
|
3610
|
+
from(data: string): number;
|
|
3899
3611
|
}
|
|
3900
|
-
export declare
|
|
3612
|
+
export declare function convertToNumber(data: string): number;
|
|
3613
|
+
export declare class CreateMonitorConfigDto {
|
|
3614
|
+
facilityId: number;
|
|
3901
3615
|
name: string;
|
|
3902
|
-
|
|
3903
|
-
|
|
3616
|
+
code: string;
|
|
3617
|
+
config: any;
|
|
3904
3618
|
}
|
|
3905
|
-
export declare class
|
|
3906
|
-
|
|
3619
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3620
|
+
id?: number;
|
|
3907
3621
|
}
|
|
3908
3622
|
export declare class AddAddonsDto {
|
|
3909
|
-
addons:
|
|
3623
|
+
addons: AddonDto[];
|
|
3910
3624
|
}
|
|
3911
3625
|
export declare class EditAddonsDto {
|
|
3912
3626
|
addons: EditAddonDto[];
|
|
@@ -3916,308 +3630,258 @@ export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
|
3916
3630
|
}
|
|
3917
3631
|
export declare class EditAddonDto {
|
|
3918
3632
|
id: number;
|
|
3633
|
+
quantity: number;
|
|
3634
|
+
totalPrice: number;
|
|
3919
3635
|
unitPrice?: number;
|
|
3920
|
-
quantity?: number;
|
|
3921
|
-
}
|
|
3922
|
-
export declare class SegmentDto {
|
|
3923
|
-
id?: number;
|
|
3924
|
-
title: string;
|
|
3925
|
-
isPrivate: boolean;
|
|
3926
|
-
resourceIds: number[];
|
|
3927
|
-
sportId?: number;
|
|
3928
|
-
series: SeriesDto[];
|
|
3929
|
-
addonIds?: number[];
|
|
3930
|
-
publicNotesForSlots?: string;
|
|
3931
|
-
privateNotesForSlots?: string;
|
|
3932
|
-
}
|
|
3933
|
-
export declare class SeriesDto {
|
|
3934
|
-
id?: number;
|
|
3935
|
-
startDate: string;
|
|
3936
|
-
startTime?: string;
|
|
3937
|
-
endDate?: string;
|
|
3938
|
-
endTime?: string;
|
|
3939
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3940
|
-
durationEndsAfter?: number;
|
|
3941
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3942
|
-
frequency: FrequencyEnum;
|
|
3943
|
-
repeatEvery?: number;
|
|
3944
|
-
repeatOn?: number[];
|
|
3945
|
-
repeatEndDate?: string;
|
|
3946
|
-
numberOccurrences?: number;
|
|
3947
|
-
maintenance?: MaintenanceDto[];
|
|
3948
|
-
slots?: SlotDto[];
|
|
3949
|
-
}
|
|
3950
|
-
export declare class SlotDateTimeAndSpace {
|
|
3951
|
-
startDate: string;
|
|
3952
|
-
startTime?: string;
|
|
3953
|
-
endDate?: string;
|
|
3954
|
-
endTime?: string;
|
|
3955
|
-
spaceId: number;
|
|
3956
3636
|
}
|
|
3957
|
-
export declare class
|
|
3637
|
+
export declare class LineItemDto {
|
|
3958
3638
|
id?: number;
|
|
3959
|
-
reservationId?: number;
|
|
3960
|
-
occurrence?: number;
|
|
3961
|
-
title: string;
|
|
3962
|
-
creatorId?: number;
|
|
3963
|
-
creatorType?: string;
|
|
3964
|
-
userCreatorId?: number;
|
|
3965
|
-
timezone?: string;
|
|
3966
|
-
publicNotes?: string;
|
|
3967
|
-
privateNotes?: string;
|
|
3968
|
-
slotType: SlotTypeEnum;
|
|
3969
|
-
product?: Product;
|
|
3970
|
-
priceOverrideMeta?: {
|
|
3971
|
-
unitPrice: number;
|
|
3972
|
-
quantity: number;
|
|
3973
|
-
totalPrice: number;
|
|
3974
|
-
};
|
|
3975
|
-
addonPriceOverrideMeta?: {
|
|
3976
|
-
[addonProductId: number]: {
|
|
3977
|
-
unitPrice: number;
|
|
3978
|
-
quantity: number;
|
|
3979
|
-
totalPrice: number;
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
|
-
addonProducts?: Product[];
|
|
3983
|
-
addonCalculatedPrice?: {
|
|
3984
|
-
productId: number;
|
|
3985
|
-
quantity: number;
|
|
3986
|
-
unitPrice: number;
|
|
3987
|
-
totalPrice: number;
|
|
3988
|
-
displayTotalWithTax?: number;
|
|
3989
|
-
displayUnitTax?: number;
|
|
3990
|
-
}[];
|
|
3991
|
-
addonsProductUserIds?: number[];
|
|
3992
|
-
segmentId?: number;
|
|
3993
|
-
seriesId?: number;
|
|
3994
|
-
eventId?: number;
|
|
3995
|
-
sportIds: number[];
|
|
3996
|
-
parentSlotId?: number;
|
|
3997
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
3998
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
3999
|
-
durationValue?: number;
|
|
4000
3639
|
orderId?: number;
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
3640
|
+
type: LineItemsStatusEnum;
|
|
3641
|
+
organizationId: number;
|
|
3642
|
+
userId?: number;
|
|
3643
|
+
productId: number;
|
|
3644
|
+
product?: Product;
|
|
3645
|
+
productType: ProductTypesEnum;
|
|
3646
|
+
ordinal?: number;
|
|
3647
|
+
price: number;
|
|
3648
|
+
originalPrice?: number;
|
|
3649
|
+
paidAmount?: number;
|
|
3650
|
+
currency: CurrencyEnum;
|
|
3651
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3652
|
+
isRefunded?: boolean;
|
|
3653
|
+
isTaxInclusive?: boolean;
|
|
3654
|
+
taxPrecent?: number;
|
|
3655
|
+
unitPrice?: number;
|
|
3656
|
+
quantity: number;
|
|
3657
|
+
resources?: PurchasedResourceDto[];
|
|
3658
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3659
|
+
unitPriceWithTax?: number;
|
|
3660
|
+
unitTaxPrice?: number;
|
|
3661
|
+
parentOrdinal?: number;
|
|
3662
|
+
}
|
|
3663
|
+
export declare class OrderDto {
|
|
3664
|
+
orderId?: string | null;
|
|
3665
|
+
organizationId: number;
|
|
3666
|
+
price: number | null;
|
|
3667
|
+
totalTax?: number;
|
|
3668
|
+
totalWithoutTax?: number;
|
|
3669
|
+
status?: OrderStatusEnum;
|
|
3670
|
+
lineItems: LineItemDto[];
|
|
3671
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3672
|
+
currency: CurrencyEnum;
|
|
3673
|
+
creatingUserId?: number;
|
|
3674
|
+
platform?: PlatformsEnum;
|
|
4012
3675
|
}
|
|
4013
|
-
declare class
|
|
4014
|
-
|
|
4015
|
-
|
|
3676
|
+
export declare class BaseInvoiceDto {
|
|
3677
|
+
platform: PlatformsEnum;
|
|
3678
|
+
shiftId?: number;
|
|
4016
3679
|
}
|
|
4017
|
-
export declare class
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
timezone: string;
|
|
4021
|
-
spaceId: number;
|
|
3680
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3681
|
+
purchasingUserId: number;
|
|
3682
|
+
slots: number[];
|
|
4022
3683
|
}
|
|
4023
|
-
declare class
|
|
4024
|
-
|
|
4025
|
-
resourcePackageAmount: number;
|
|
4026
|
-
resourcePackagePrice: number;
|
|
3684
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3685
|
+
reservationTotalPrice: number;
|
|
4027
3686
|
}
|
|
4028
|
-
export declare class
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
dayOfWeek: number;
|
|
4032
|
-
startTime: string;
|
|
4033
|
-
description: string;
|
|
4034
|
-
sport: number;
|
|
4035
|
-
price: number;
|
|
4036
|
-
resourcePackageId: number;
|
|
4037
|
-
resourcePackageAmount: number;
|
|
4038
|
-
bookedSessions: BookedSessionDto[];
|
|
4039
|
-
addons: AddonDto[];
|
|
3687
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3688
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3689
|
+
addToOrderId?: number;
|
|
4040
3690
|
}
|
|
4041
|
-
export declare class
|
|
4042
|
-
|
|
4043
|
-
reservations: ReservationV1Dto[];
|
|
4044
|
-
answers: AnswerDto[];
|
|
4045
|
-
paymentData: PurchasePaymentDto;
|
|
4046
|
-
skipPayment: boolean;
|
|
4047
|
-
cashPayment: boolean;
|
|
4048
|
-
requestOnly: boolean;
|
|
3691
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3692
|
+
isInvoiced: boolean;
|
|
4049
3693
|
}
|
|
4050
|
-
export declare class
|
|
3694
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3695
|
+
slotsIds?: number[];
|
|
3696
|
+
addonsIds?: number[];
|
|
3697
|
+
}
|
|
3698
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3699
|
+
slots: SlotDto[];
|
|
3700
|
+
}
|
|
3701
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3702
|
+
segments: SegmentDto[];
|
|
3703
|
+
}
|
|
3704
|
+
export interface PaymentStatus {
|
|
4051
3705
|
parentId: number;
|
|
4052
|
-
parentType: AddonParentTypeEnum;
|
|
4053
|
-
productId: number;
|
|
4054
|
-
product?: Product;
|
|
4055
|
-
quantity: number;
|
|
4056
|
-
unitPrice: number;
|
|
4057
|
-
totalPrice: number;
|
|
4058
|
-
approvalStatus: ReservationStatusEnum;
|
|
4059
3706
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
resource?: Resource;
|
|
4063
|
-
orderId?: number;
|
|
4064
|
-
order?: Order;
|
|
4065
|
-
productUserId?: number;
|
|
4066
|
-
productUser?: ProductsUsers;
|
|
3707
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3708
|
+
id?: number;
|
|
4067
3709
|
}
|
|
4068
|
-
export
|
|
4069
|
-
|
|
4070
|
-
reservationId: number;
|
|
4071
|
-
invoiceId: number;
|
|
4072
|
-
slotId: number;
|
|
3710
|
+
export interface PaymentStatusesDict {
|
|
3711
|
+
[id: number]: PaymentStatus[];
|
|
4073
3712
|
}
|
|
4074
|
-
export
|
|
4075
|
-
|
|
3713
|
+
export interface PaymentStatusDict {
|
|
3714
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3715
|
+
}
|
|
3716
|
+
export declare class ReservationDto {
|
|
3717
|
+
id?: number;
|
|
3718
|
+
organizationId?: number;
|
|
3719
|
+
name: string;
|
|
3720
|
+
reservationType: ReservationTypeEnum;
|
|
3721
|
+
customerId?: number;
|
|
3722
|
+
segments: SegmentDto[];
|
|
4076
3723
|
description?: string;
|
|
4077
|
-
|
|
3724
|
+
status?: ReservationStatusEnum;
|
|
4078
3725
|
privacySetting?: string;
|
|
4079
|
-
reservationType?: ReservationTypeEnum;
|
|
4080
3726
|
orderId?: string;
|
|
4081
|
-
customerId?: number;
|
|
4082
|
-
customer?: Customer;
|
|
4083
3727
|
price?: number;
|
|
4084
3728
|
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4085
|
-
startTime?: string;
|
|
4086
|
-
startDate?: Date;
|
|
4087
|
-
endDate?: Date;
|
|
4088
3729
|
creatorId?: number;
|
|
4089
3730
|
creatorType?: ResourceNameTypeEnum;
|
|
4090
|
-
userCreatorId?: number;
|
|
4091
|
-
sportType?: number;
|
|
4092
|
-
deletedAt?: Date;
|
|
4093
3731
|
publicNotes?: string;
|
|
4094
3732
|
privateNotes?: string;
|
|
4095
3733
|
forms?: number[] | null;
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
addons: Addon[];
|
|
4100
|
-
overrideProductsPrice: {
|
|
4101
|
-
productId: number;
|
|
4102
|
-
price: number;
|
|
4103
|
-
}[];
|
|
3734
|
+
addons?: AddonDto[];
|
|
3735
|
+
userId?: number;
|
|
3736
|
+
overrideProductsPrice?: ProductPricesDto[];
|
|
4104
3737
|
targetGlobalPrice?: number;
|
|
4105
|
-
slots: Slot[];
|
|
4106
3738
|
}
|
|
4107
|
-
export declare class
|
|
4108
|
-
|
|
3739
|
+
export declare class SaveReservationDto {
|
|
3740
|
+
reservation: ReservationDto;
|
|
3741
|
+
slotType?: SlotTypeEnum;
|
|
3742
|
+
}
|
|
3743
|
+
export declare class SingleReservationIncludesDto {
|
|
3744
|
+
includeCustomer?: boolean;
|
|
3745
|
+
includeAddons?: boolean;
|
|
3746
|
+
includeSeries?: boolean;
|
|
3747
|
+
includeInvoices?: boolean;
|
|
3748
|
+
includePayments?: boolean;
|
|
3749
|
+
includeAnswers?: boolean;
|
|
3750
|
+
buildTree?: boolean;
|
|
3751
|
+
}
|
|
3752
|
+
export declare class CategoryPricesDto {
|
|
3753
|
+
slot: number;
|
|
3754
|
+
addon: number;
|
|
3755
|
+
}
|
|
3756
|
+
export declare class ProductPricesDto {
|
|
3757
|
+
productId: number;
|
|
3758
|
+
price?: number;
|
|
3759
|
+
quantity?: number;
|
|
3760
|
+
totalPrice?: number;
|
|
3761
|
+
}
|
|
3762
|
+
declare class UpdatePriceDto {
|
|
3763
|
+
type: UpdatePricesTypeEnum;
|
|
3764
|
+
globalPrice?: number;
|
|
3765
|
+
category?: CategoryPricesDto;
|
|
3766
|
+
products?: ProductPricesDto[];
|
|
3767
|
+
}
|
|
3768
|
+
export declare class UpdateReservationPriceDto extends UpdatePriceDto {
|
|
3769
|
+
reservation: ReservationDto;
|
|
3770
|
+
}
|
|
3771
|
+
export declare class UpdateSlotsPricesDto extends UpdatePriceDto {
|
|
3772
|
+
slots: SlotDto[];
|
|
3773
|
+
useCurrentProducts?: boolean;
|
|
3774
|
+
}
|
|
3775
|
+
export declare class BookingData {
|
|
3776
|
+
platform: PlatformsEnum;
|
|
3777
|
+
shiftId?: number;
|
|
3778
|
+
paymentData: PurchasePaymentDto;
|
|
3779
|
+
amountToPay: number;
|
|
3780
|
+
total: number;
|
|
3781
|
+
purchasingUserId: number;
|
|
3782
|
+
}
|
|
3783
|
+
export declare class BookingDto extends BookingData {
|
|
3784
|
+
reservation: ReservationDto;
|
|
3785
|
+
orderId?: number;
|
|
3786
|
+
}
|
|
3787
|
+
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
3788
|
+
resourcesIds?: string;
|
|
3789
|
+
startDate?: string;
|
|
3790
|
+
endDate?: string;
|
|
3791
|
+
status?: string;
|
|
3792
|
+
paymentStatus?: string;
|
|
3793
|
+
customerName?: string;
|
|
3794
|
+
}
|
|
3795
|
+
export declare class FindSlotsByFacilityIdFiltersDto {
|
|
3796
|
+
startDate: string;
|
|
3797
|
+
endDate: string;
|
|
3798
|
+
limit: number;
|
|
3799
|
+
resourcesIds?: string;
|
|
3800
|
+
resourcesTypes?: string;
|
|
3801
|
+
reservationStatuses?: string;
|
|
3802
|
+
includeBlocking?: boolean;
|
|
3803
|
+
onlyActiveSessions?: boolean;
|
|
3804
|
+
checkConflicts?: boolean;
|
|
3805
|
+
}
|
|
3806
|
+
export declare class getSlotsSlotCardDto {
|
|
3807
|
+
includeConflicts?: boolean;
|
|
3808
|
+
}
|
|
3809
|
+
export declare class getSlotFQueryParamsDto {
|
|
3810
|
+
addProduct?: boolean;
|
|
3811
|
+
}
|
|
3812
|
+
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
4109
3813
|
reservationId: number;
|
|
4110
|
-
title: string;
|
|
4111
|
-
isPrivate: boolean;
|
|
4112
|
-
resourceIds?: number[];
|
|
4113
|
-
sportId: number;
|
|
4114
|
-
reservation?: Reservation;
|
|
4115
|
-
series?: Series[];
|
|
4116
|
-
addonIds?: number[] | null;
|
|
4117
|
-
publicNotesForSlots?: string;
|
|
4118
|
-
privateNotesForSlots?: string;
|
|
4119
|
-
slots?: Slot[];
|
|
4120
3814
|
}
|
|
4121
|
-
export declare class
|
|
4122
|
-
|
|
3815
|
+
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
3816
|
+
facilityId: number;
|
|
3817
|
+
}
|
|
3818
|
+
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
4123
3819
|
segmentId: number;
|
|
4124
|
-
segment?: Segment;
|
|
4125
|
-
slots?: Slot[];
|
|
4126
|
-
slotDurationType: string;
|
|
4127
|
-
durationEndsAfter: number;
|
|
4128
|
-
durationUnit: string;
|
|
4129
|
-
startDate?: Date;
|
|
4130
|
-
endDate?: Date;
|
|
4131
|
-
startTime: string;
|
|
4132
|
-
endTime: string;
|
|
4133
|
-
frequency: string;
|
|
4134
|
-
repeatEvery: number;
|
|
4135
|
-
repeatOn?: number[];
|
|
4136
|
-
repeatEndDate?: Date;
|
|
4137
|
-
numberOccurrences?: number;
|
|
4138
|
-
resources?: Resource[];
|
|
4139
3820
|
}
|
|
4140
|
-
export declare class
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
3821
|
+
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
3822
|
+
status: ReservationStatusEnum;
|
|
3823
|
+
}
|
|
3824
|
+
export declare class FindBySlotDto extends FindByReservationDto {
|
|
3825
|
+
slotId: number;
|
|
3826
|
+
}
|
|
3827
|
+
export declare class AddSlotToSegmentDto {
|
|
3828
|
+
slot: SlotDto;
|
|
3829
|
+
addonIds?: number[];
|
|
3830
|
+
}
|
|
3831
|
+
export declare class AddSlotToSegmenResultDto {
|
|
3832
|
+
series: SeriesDto;
|
|
3833
|
+
slotTotalPrice: number;
|
|
3834
|
+
addonsTotalPrice: number;
|
|
3835
|
+
debug?: any;
|
|
3836
|
+
}
|
|
3837
|
+
export declare class UpdateSlotsDto {
|
|
3838
|
+
slots: SlotDto[];
|
|
3839
|
+
}
|
|
3840
|
+
export declare class EditItemsRefundMetaDto {
|
|
3841
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3842
|
+
paymentMethods: PaymentMethodDto[];
|
|
3843
|
+
reasonId: number;
|
|
3844
|
+
}
|
|
3845
|
+
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3846
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3847
|
+
}
|
|
3848
|
+
export declare class EditReservationDetailsDto {
|
|
3849
|
+
name: string;
|
|
4158
3850
|
publicNotes?: string;
|
|
4159
3851
|
privateNotes?: string;
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
addonsMetadata: {
|
|
4168
|
-
productId: number;
|
|
4169
|
-
quantity: number;
|
|
4170
|
-
unitPrice: number;
|
|
4171
|
-
totalPrice: number;
|
|
4172
|
-
}[];
|
|
4173
|
-
segmentId: number;
|
|
4174
|
-
segment: Segment;
|
|
4175
|
-
eventId: number;
|
|
4176
|
-
event: Event;
|
|
4177
|
-
sportIds: number[];
|
|
4178
|
-
parentSlotId?: number;
|
|
4179
|
-
maintenanceDurationdurationType: string;
|
|
4180
|
-
maintenanceTiming: number;
|
|
4181
|
-
durationValue: number;
|
|
4182
|
-
seriesId?: number;
|
|
4183
|
-
series?: Series;
|
|
4184
|
-
orderId?: number;
|
|
4185
|
-
order?: Order;
|
|
4186
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4187
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4188
|
-
displayName?: string;
|
|
4189
|
-
internalName?: string;
|
|
4190
|
-
activityTypes?: number[] | null;
|
|
4191
|
-
hourlyRate: number;
|
|
4192
|
-
totalPrice: number;
|
|
4193
|
-
isConsumerVisible: boolean;
|
|
4194
|
-
isMonitorVisible: boolean;
|
|
3852
|
+
}
|
|
3853
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3854
|
+
updateAddons?: boolean;
|
|
3855
|
+
}
|
|
3856
|
+
export declare class SegmentDto {
|
|
3857
|
+
id?: number;
|
|
3858
|
+
title: string;
|
|
4195
3859
|
isPrivate: boolean;
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
slotDurationType: string;
|
|
4203
|
-
changeLineItemIds?: number[];
|
|
4204
|
-
changeLineItems?: LineItems[];
|
|
4205
|
-
updatedLineItem?: LineItems;
|
|
3860
|
+
resourceIds: number[];
|
|
3861
|
+
sportId?: number;
|
|
3862
|
+
series: SeriesDto[];
|
|
3863
|
+
addonIds?: number[];
|
|
3864
|
+
publicNotesForSlots?: string;
|
|
3865
|
+
privateNotesForSlots?: string;
|
|
4206
3866
|
}
|
|
4207
|
-
export declare
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
3867
|
+
export declare class SeriesDto {
|
|
3868
|
+
id?: number;
|
|
3869
|
+
startDate: string;
|
|
3870
|
+
startTime?: string;
|
|
3871
|
+
endDate?: string;
|
|
3872
|
+
endTime?: string;
|
|
3873
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3874
|
+
durationEndsAfter?: number;
|
|
3875
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3876
|
+
frequency: FrequencyEnum;
|
|
3877
|
+
repeatEvery?: number;
|
|
3878
|
+
repeatOn?: number[];
|
|
3879
|
+
repeatEndDate?: string;
|
|
3880
|
+
numberOccurrences?: number;
|
|
3881
|
+
maintenance?: MaintenanceDto[];
|
|
3882
|
+
slots?: SlotDto[];
|
|
4219
3883
|
}
|
|
4220
|
-
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto |
|
|
3884
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4221
3885
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4222
3886
|
export interface ReservationV1 {
|
|
4223
3887
|
id: number;
|
|
@@ -4303,14 +3967,12 @@ export interface FindSlotsByFacilityIdFilters {
|
|
|
4303
3967
|
startDate: string;
|
|
4304
3968
|
endDate: string;
|
|
4305
3969
|
limit: number;
|
|
4306
|
-
includeBlocking: boolean;
|
|
4307
|
-
onlyActiveSessions?: boolean;
|
|
4308
3970
|
resourcesIds?: number[];
|
|
4309
3971
|
resourcesTypes?: ResourceTypeEnum[];
|
|
4310
3972
|
reservationStatuses?: ReservationStatusEnum[];
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
3973
|
+
includeBlocking?: boolean;
|
|
3974
|
+
onlyActiveSessions?: boolean;
|
|
3975
|
+
checkConflicts?: boolean;
|
|
4314
3976
|
}
|
|
4315
3977
|
export interface PriceFields {
|
|
4316
3978
|
unitPrice: string;
|
|
@@ -4389,21 +4051,23 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4389
4051
|
order: OrderDto;
|
|
4390
4052
|
debug?: any;
|
|
4391
4053
|
}
|
|
4392
|
-
interface ValidateEditItemsResult {
|
|
4054
|
+
export interface ValidateEditItemsResult {
|
|
4393
4055
|
nextFinancialStep: FinancialStepEnum;
|
|
4394
4056
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4395
4057
|
originalInvoicePrice?: number;
|
|
4396
4058
|
updatedInvoicePrice?: number;
|
|
4059
|
+
originalItemsPrice?: number;
|
|
4060
|
+
updatedItemsPrice?: number;
|
|
4397
4061
|
priceChange?: number;
|
|
4062
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4063
|
+
editData?: EditItemsData;
|
|
4398
4064
|
}
|
|
4399
4065
|
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4400
4066
|
slots: SlotDto[];
|
|
4401
4067
|
refundMetadata?: EditSlotsRefundMetadata;
|
|
4402
|
-
editData?: EditSlotsData;
|
|
4403
4068
|
}
|
|
4404
4069
|
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4405
4070
|
refundMetadata?: EditAddonsRefundMetadata;
|
|
4406
|
-
editData?: EditAddonsData;
|
|
4407
4071
|
}
|
|
4408
4072
|
export interface EditSlotsRefundMetadata {
|
|
4409
4073
|
lineItems: SlotsLineItemData[];
|
|
@@ -4413,42 +4077,240 @@ export interface EditAddonsRefundMetadata {
|
|
|
4413
4077
|
lineItems: AddonsLineItemData[];
|
|
4414
4078
|
refundAmount: number;
|
|
4415
4079
|
}
|
|
4416
|
-
export interface
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
newLineItems?: LineItemDto[];
|
|
4080
|
+
export interface EditItemsRefundMetadata {
|
|
4081
|
+
lineItems: ReservationItemLineItemData[];
|
|
4082
|
+
refundAmount: number;
|
|
4420
4083
|
}
|
|
4421
|
-
export interface
|
|
4084
|
+
export interface EditItemsData {
|
|
4422
4085
|
order?: Order;
|
|
4086
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4087
|
+
newLineItems?: LineItemDto[];
|
|
4423
4088
|
}
|
|
4424
4089
|
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4425
4090
|
refundResult?: RefundResult;
|
|
4426
4091
|
}
|
|
4092
|
+
export interface TimeSlotConflicts {
|
|
4093
|
+
timeSlot: TimeSlotDto;
|
|
4094
|
+
conflicts: Slot[];
|
|
4095
|
+
}
|
|
4096
|
+
export interface AddonMetadata {
|
|
4097
|
+
productId: number;
|
|
4098
|
+
quantity: number;
|
|
4099
|
+
unitPrice: number;
|
|
4100
|
+
totalPrice: number;
|
|
4101
|
+
}
|
|
4427
4102
|
export declare class ChangeRolePermissionsDto {
|
|
4428
4103
|
permissionIds: number[];
|
|
4429
4104
|
}
|
|
4430
|
-
export declare class
|
|
4431
|
-
name: string;
|
|
4105
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4106
|
+
name: string;
|
|
4107
|
+
deletedAt?: Date;
|
|
4108
|
+
permissions: Permission[];
|
|
4109
|
+
usersRoles: UserRole[];
|
|
4110
|
+
}
|
|
4111
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4112
|
+
deletedAt?: Date;
|
|
4113
|
+
userId: number;
|
|
4114
|
+
roleId: number;
|
|
4115
|
+
role: Role;
|
|
4116
|
+
user: User;
|
|
4117
|
+
}
|
|
4118
|
+
export declare class CreateRoleDto {
|
|
4119
|
+
name: string;
|
|
4120
|
+
}
|
|
4121
|
+
export declare class SlotDateTimeAndSpace {
|
|
4122
|
+
startDate: string;
|
|
4123
|
+
startTime?: string;
|
|
4124
|
+
endDate?: string;
|
|
4125
|
+
endTime?: string;
|
|
4126
|
+
spaceId: number;
|
|
4127
|
+
}
|
|
4128
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4129
|
+
id?: number;
|
|
4130
|
+
reservationId?: number;
|
|
4131
|
+
occurrence?: number;
|
|
4132
|
+
title: string;
|
|
4133
|
+
creatorId?: number;
|
|
4134
|
+
creatorType?: string;
|
|
4135
|
+
userCreatorId?: number;
|
|
4136
|
+
timezone?: string;
|
|
4137
|
+
publicNotes?: string;
|
|
4138
|
+
privateNotes?: string;
|
|
4139
|
+
slotType: SlotTypeEnum;
|
|
4140
|
+
product?: Product;
|
|
4141
|
+
priceOverrideMeta?: {
|
|
4142
|
+
unitPrice: number;
|
|
4143
|
+
quantity: number;
|
|
4144
|
+
totalPrice: number;
|
|
4145
|
+
};
|
|
4146
|
+
addonPriceOverrideMeta?: {
|
|
4147
|
+
[addonProductId: number]: {
|
|
4148
|
+
unitPrice: number;
|
|
4149
|
+
quantity: number;
|
|
4150
|
+
totalPrice: number;
|
|
4151
|
+
};
|
|
4152
|
+
};
|
|
4153
|
+
addonProducts?: Product[];
|
|
4154
|
+
addonCalculatedPrice?: {
|
|
4155
|
+
productId: number;
|
|
4156
|
+
quantity: number;
|
|
4157
|
+
unitPrice: number;
|
|
4158
|
+
totalPrice: number;
|
|
4159
|
+
displayTotalWithTax?: number;
|
|
4160
|
+
displayUnitTax?: number;
|
|
4161
|
+
}[];
|
|
4162
|
+
addonsProductUserIds?: number[];
|
|
4163
|
+
segmentId?: number;
|
|
4164
|
+
seriesId?: number;
|
|
4165
|
+
eventId?: number;
|
|
4166
|
+
sportIds: number[];
|
|
4167
|
+
parentSlotId?: number;
|
|
4168
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4169
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4170
|
+
durationValue?: number;
|
|
4171
|
+
orderId?: number;
|
|
4172
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4173
|
+
approvalStatus: ReservationStatusEnum;
|
|
4174
|
+
displayName?: string;
|
|
4175
|
+
internalName?: string;
|
|
4176
|
+
totalPrice?: number;
|
|
4177
|
+
relevantProducts?: Product[];
|
|
4178
|
+
maintenance?: MaintenanceDto[];
|
|
4179
|
+
maintenanceSlots?: SlotDto[];
|
|
4180
|
+
isPrivate: boolean;
|
|
4181
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4182
|
+
addonsIds?: number[];
|
|
4183
|
+
}
|
|
4184
|
+
export declare class TimeSlotDto {
|
|
4185
|
+
id?: number;
|
|
4186
|
+
resourceId: number;
|
|
4187
|
+
startDate: string;
|
|
4188
|
+
startTime: string;
|
|
4189
|
+
endDate: string;
|
|
4190
|
+
endTime: string;
|
|
4191
|
+
}
|
|
4192
|
+
export declare class TimeSlotsDto {
|
|
4193
|
+
timeSlots: TimeSlotDto[];
|
|
4194
|
+
}
|
|
4195
|
+
export declare class SlotsIdsDto {
|
|
4196
|
+
slotsIds: number[];
|
|
4197
|
+
}
|
|
4198
|
+
declare class AnswerDto {
|
|
4199
|
+
questionId: number;
|
|
4200
|
+
value: any;
|
|
4201
|
+
}
|
|
4202
|
+
export declare class BookedSessionDto {
|
|
4203
|
+
startDate: string;
|
|
4204
|
+
endDate: string;
|
|
4205
|
+
timezone: string;
|
|
4206
|
+
spaceId: number;
|
|
4207
|
+
}
|
|
4208
|
+
export declare class ReservationV1Dto {
|
|
4209
|
+
organizationId: number;
|
|
4210
|
+
name: string;
|
|
4211
|
+
dayOfWeek: number;
|
|
4212
|
+
startTime: string;
|
|
4213
|
+
description: string;
|
|
4214
|
+
sport: number;
|
|
4215
|
+
price: number;
|
|
4216
|
+
resourcePackageId: number;
|
|
4217
|
+
resourcePackageAmount: number;
|
|
4218
|
+
bookedSessions: BookedSessionDto[];
|
|
4219
|
+
addons: AddonDto[];
|
|
4220
|
+
}
|
|
4221
|
+
export declare class BookingV1Dto {
|
|
4222
|
+
organizationId: number;
|
|
4223
|
+
reservations: ReservationV1Dto[];
|
|
4224
|
+
answers: AnswerDto[];
|
|
4225
|
+
paymentData: PurchasePaymentDto;
|
|
4226
|
+
skipPayment: boolean;
|
|
4227
|
+
cashPayment: boolean;
|
|
4228
|
+
requestOnly: boolean;
|
|
4229
|
+
}
|
|
4230
|
+
export declare class Permission extends BondBaseEntity {
|
|
4231
|
+
name: string;
|
|
4232
|
+
deletedAt?: Date;
|
|
4233
|
+
}
|
|
4234
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4235
|
+
mainAdminUserId?: number;
|
|
4236
|
+
}
|
|
4237
|
+
export declare type TSlotAndType = {
|
|
4238
|
+
type: 'slots' | 'slot_addons';
|
|
4239
|
+
slotsForProduct: {
|
|
4240
|
+
[productId: number]: {
|
|
4241
|
+
product: Product;
|
|
4242
|
+
slots: SlotDto[];
|
|
4243
|
+
};
|
|
4244
|
+
};
|
|
4245
|
+
};
|
|
4246
|
+
export interface ILineItemResource {
|
|
4247
|
+
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4248
|
+
values: TResource[];
|
|
4249
|
+
}
|
|
4250
|
+
export declare class Organization extends BondBaseEntity {
|
|
4251
|
+
name: string | null;
|
|
4252
|
+
email: string | null;
|
|
4253
|
+
twitter: string | null;
|
|
4254
|
+
facebook: string | null;
|
|
4255
|
+
instagram: string | null;
|
|
4256
|
+
website: string | null;
|
|
4257
|
+
blog: string | null;
|
|
4258
|
+
phoneNumber: string | null;
|
|
4259
|
+
waiverDoc: string | null;
|
|
4260
|
+
about: string | null;
|
|
4261
|
+
tagline: string | null;
|
|
4262
|
+
status: number | null;
|
|
4263
|
+
addressId: number | null;
|
|
4264
|
+
merchantId: number | null;
|
|
4265
|
+
userCreatorId: number | null;
|
|
4266
|
+
parentId: number | null;
|
|
4267
|
+
paymentSettings: object | null;
|
|
4268
|
+
settings: object | null;
|
|
4269
|
+
isClaimed: boolean | null;
|
|
4270
|
+
sports: number[] | null;
|
|
4271
|
+
mainMediaId: number | null;
|
|
4272
|
+
deletedAt: Date | null;
|
|
4273
|
+
organizationActivityTypes: number[] | null;
|
|
4274
|
+
organizationTypes: number[] | null;
|
|
4275
|
+
organizationAudienceTypes: number[] | null;
|
|
4276
|
+
organizationGenders: number[] | null;
|
|
4277
|
+
questionnaireId: number | null;
|
|
4278
|
+
membershipQuestionnaireId: number | null;
|
|
4279
|
+
feeRate: number;
|
|
4280
|
+
feeAddDollarRate: number;
|
|
4281
|
+
achFeeRate: number;
|
|
4282
|
+
achFeeAddDollarRate: number;
|
|
4283
|
+
maxAchFee: number;
|
|
4284
|
+
cashFeeRate: number;
|
|
4285
|
+
cashFeeAddDollarRate: number;
|
|
4286
|
+
terminalFeeRate: number;
|
|
4287
|
+
terminalFeeAddDollarRate: number;
|
|
4288
|
+
checkFeeRate: number;
|
|
4289
|
+
checkFeeAddDollarRate: number;
|
|
4290
|
+
otherFeeRate: number;
|
|
4291
|
+
otherFeeAddDollarRate: number;
|
|
4292
|
+
balanceFeeRate: number;
|
|
4293
|
+
balanceFeeAddDollarRate: number;
|
|
4294
|
+
address: Address;
|
|
4295
|
+
mainMedia: Media;
|
|
4296
|
+
brandings: OrganizationBranding[];
|
|
4297
|
+
brandingsV2?: OrganizationBranding[];
|
|
4432
4298
|
}
|
|
4433
|
-
export declare class
|
|
4434
|
-
|
|
4435
|
-
deletedAt?: Date;
|
|
4299
|
+
export declare class CloseShiftDto {
|
|
4300
|
+
closingCashAmount: number;
|
|
4436
4301
|
}
|
|
4437
|
-
export declare class
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4302
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
4303
|
+
key?: string;
|
|
4304
|
+
vaule?: string;
|
|
4305
|
+
version: number;
|
|
4306
|
+
organization: Organization;
|
|
4442
4307
|
}
|
|
4443
|
-
export declare class
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
roleId: number;
|
|
4447
|
-
role: Role;
|
|
4448
|
-
user: User;
|
|
4308
|
+
export declare class ShiftManagementClosingAmount {
|
|
4309
|
+
shiftId: number;
|
|
4310
|
+
managementClosingCashAmount: number;
|
|
4449
4311
|
}
|
|
4450
|
-
export declare class
|
|
4451
|
-
|
|
4312
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4313
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4452
4314
|
}
|
|
4453
4315
|
export declare class FindShiftsByIdsDto {
|
|
4454
4316
|
shiftIds: number[];
|
|
@@ -4473,13 +4335,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4473
4335
|
startDate?: Date;
|
|
4474
4336
|
endDate?: Date;
|
|
4475
4337
|
}
|
|
4476
|
-
export declare class ShiftManagementClosingAmount {
|
|
4477
|
-
shiftId: number;
|
|
4478
|
-
managementClosingCashAmount: number;
|
|
4479
|
-
}
|
|
4480
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4481
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4482
|
-
}
|
|
4483
4338
|
export declare class OpenShiftDto {
|
|
4484
4339
|
openingCashAmount: number;
|
|
4485
4340
|
stationId: number;
|
|
@@ -4513,3 +4368,180 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4513
4368
|
closingManager?: User;
|
|
4514
4369
|
reconcilingUser?: User;
|
|
4515
4370
|
}
|
|
4371
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
4372
|
+
organisationId: number | null;
|
|
4373
|
+
userId: number | null;
|
|
4374
|
+
}
|
|
4375
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4376
|
+
deletedAt?: Date;
|
|
4377
|
+
reservationId: number;
|
|
4378
|
+
invoiceId: number;
|
|
4379
|
+
slotId: number;
|
|
4380
|
+
}
|
|
4381
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4382
|
+
deletedAt?: Date;
|
|
4383
|
+
reservationId: number;
|
|
4384
|
+
title: string;
|
|
4385
|
+
isPrivate: boolean;
|
|
4386
|
+
resourceIds?: number[];
|
|
4387
|
+
sportId: number;
|
|
4388
|
+
reservation?: Reservation;
|
|
4389
|
+
series?: Series[];
|
|
4390
|
+
addonIds?: number[] | null;
|
|
4391
|
+
publicNotesForSlots?: string;
|
|
4392
|
+
privateNotesForSlots?: string;
|
|
4393
|
+
slots?: Slot[];
|
|
4394
|
+
}
|
|
4395
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4396
|
+
deletedAt?: Date;
|
|
4397
|
+
segmentId: number;
|
|
4398
|
+
segment?: Segment;
|
|
4399
|
+
slots?: Slot[];
|
|
4400
|
+
slotDurationType: string;
|
|
4401
|
+
durationEndsAfter: number;
|
|
4402
|
+
durationUnit: string;
|
|
4403
|
+
startDate?: Date;
|
|
4404
|
+
endDate?: Date;
|
|
4405
|
+
startTime: string;
|
|
4406
|
+
endTime: string;
|
|
4407
|
+
frequency: string;
|
|
4408
|
+
repeatEvery: number;
|
|
4409
|
+
repeatOn?: number[];
|
|
4410
|
+
repeatEndDate?: Date;
|
|
4411
|
+
numberOccurrences?: number;
|
|
4412
|
+
resources?: Resource[];
|
|
4413
|
+
}
|
|
4414
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4415
|
+
parentId: number;
|
|
4416
|
+
parentType: AddonParentTypeEnum;
|
|
4417
|
+
productId: number;
|
|
4418
|
+
product?: Product;
|
|
4419
|
+
quantity: number;
|
|
4420
|
+
unitPrice: number;
|
|
4421
|
+
totalPrice: number;
|
|
4422
|
+
approvalStatus: ReservationStatusEnum;
|
|
4423
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4424
|
+
level?: ProductPackageLevelEnum;
|
|
4425
|
+
resourceId?: number;
|
|
4426
|
+
resource?: Resource;
|
|
4427
|
+
orderId?: number;
|
|
4428
|
+
order?: Order;
|
|
4429
|
+
productUserId?: number;
|
|
4430
|
+
productUser?: ProductsUsers;
|
|
4431
|
+
previousProductUsersIds?: number[];
|
|
4432
|
+
previousProductUsers?: ProductsUsers[];
|
|
4433
|
+
}
|
|
4434
|
+
export declare class MaintenanceDto {
|
|
4435
|
+
id?: number;
|
|
4436
|
+
title: string;
|
|
4437
|
+
durationValue: number;
|
|
4438
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4439
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4440
|
+
}
|
|
4441
|
+
export declare class PurchasedResourceDto {
|
|
4442
|
+
resourceId?: number;
|
|
4443
|
+
resourceType: ResourceNameTypeEnum;
|
|
4444
|
+
startDate?: string;
|
|
4445
|
+
startTime?: string;
|
|
4446
|
+
endDate?: string;
|
|
4447
|
+
endTime?: string;
|
|
4448
|
+
}
|
|
4449
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4450
|
+
name?: string;
|
|
4451
|
+
description?: string;
|
|
4452
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4453
|
+
privacySetting?: string;
|
|
4454
|
+
reservationType?: ReservationTypeEnum;
|
|
4455
|
+
orderId?: string;
|
|
4456
|
+
customerId?: number;
|
|
4457
|
+
customer?: Customer;
|
|
4458
|
+
price?: number;
|
|
4459
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4460
|
+
startTime?: string;
|
|
4461
|
+
startDate?: Date;
|
|
4462
|
+
endDate?: Date;
|
|
4463
|
+
creatorId?: number;
|
|
4464
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4465
|
+
userCreatorId?: number;
|
|
4466
|
+
sportType?: number;
|
|
4467
|
+
deletedAt?: Date;
|
|
4468
|
+
publicNotes?: string;
|
|
4469
|
+
privateNotes?: string;
|
|
4470
|
+
forms?: number[] | null;
|
|
4471
|
+
answerTitleIds?: number[] | null;
|
|
4472
|
+
segments?: Segment[];
|
|
4473
|
+
migrationStatus?: string;
|
|
4474
|
+
addons: Addon[];
|
|
4475
|
+
overrideProductsPrice: {
|
|
4476
|
+
productId: number;
|
|
4477
|
+
price: number;
|
|
4478
|
+
}[];
|
|
4479
|
+
targetGlobalPrice?: number;
|
|
4480
|
+
slots: Slot[];
|
|
4481
|
+
}
|
|
4482
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4483
|
+
constructor();
|
|
4484
|
+
defineIsReverted(): void;
|
|
4485
|
+
isReverted: boolean;
|
|
4486
|
+
reservationId: number;
|
|
4487
|
+
reservation: Reservation;
|
|
4488
|
+
title?: string;
|
|
4489
|
+
creatorId?: number;
|
|
4490
|
+
creatorType?: string;
|
|
4491
|
+
userCreatorId?: number;
|
|
4492
|
+
startDate: Date;
|
|
4493
|
+
endDate: Date;
|
|
4494
|
+
startTime: string;
|
|
4495
|
+
endTime: string;
|
|
4496
|
+
timezone?: string;
|
|
4497
|
+
spaceId?: number;
|
|
4498
|
+
resource?: Resource;
|
|
4499
|
+
deletedAt?: Date;
|
|
4500
|
+
publicNotes?: string;
|
|
4501
|
+
privateNotes?: string;
|
|
4502
|
+
slotType: SlotTypeEnum;
|
|
4503
|
+
productsUserId?: number;
|
|
4504
|
+
productUser?: ProductsUsers;
|
|
4505
|
+
product?: Product;
|
|
4506
|
+
addonsProductUserIds?: number[] | null;
|
|
4507
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4508
|
+
addonProducts?: Product[];
|
|
4509
|
+
addonsMetadata: AddonMetadata[];
|
|
4510
|
+
segmentId: number;
|
|
4511
|
+
segment: Segment;
|
|
4512
|
+
eventId: number;
|
|
4513
|
+
event: Event;
|
|
4514
|
+
sportIds: number[];
|
|
4515
|
+
parentSlotId?: number;
|
|
4516
|
+
parent?: Slot;
|
|
4517
|
+
children?: Slot[];
|
|
4518
|
+
maintenanceDurationdurationType: string;
|
|
4519
|
+
maintenanceTiming: number;
|
|
4520
|
+
durationValue: number;
|
|
4521
|
+
seriesId?: number;
|
|
4522
|
+
series?: Series;
|
|
4523
|
+
orderId?: number;
|
|
4524
|
+
order?: Order;
|
|
4525
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4526
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4527
|
+
displayName?: string;
|
|
4528
|
+
internalName?: string;
|
|
4529
|
+
activityTypes?: number[] | null;
|
|
4530
|
+
hourlyRate: number;
|
|
4531
|
+
totalPrice: number;
|
|
4532
|
+
isConsumerVisible: boolean;
|
|
4533
|
+
isMonitorVisible: boolean;
|
|
4534
|
+
isPrivate: boolean;
|
|
4535
|
+
occurrence?: number;
|
|
4536
|
+
maintenance?: Slot[];
|
|
4537
|
+
productMetadata: {
|
|
4538
|
+
productId: number;
|
|
4539
|
+
price: number;
|
|
4540
|
+
};
|
|
4541
|
+
slotDurationType: string;
|
|
4542
|
+
changeLineItemIds?: number[];
|
|
4543
|
+
changeLineItems?: LineItems[];
|
|
4544
|
+
updatedLineItem?: LineItems;
|
|
4545
|
+
conflictsCount?: number;
|
|
4546
|
+
conflicts?: Slot[];
|
|
4547
|
+
}
|