@bondsports/types 0.0.110 → 0.0.111
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 +2220 -2222
- 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,66 +2,65 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
close: string;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
10
11
|
}
|
|
11
|
-
export declare class
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
14
15
|
}
|
|
15
|
-
export declare class
|
|
16
|
-
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
17
19
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
|
|
20
|
-
onlyDashIds: string;
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
21
22
|
}
|
|
22
|
-
export declare class
|
|
23
|
-
|
|
23
|
+
export declare class FindFamilyAccountsDto {
|
|
24
|
+
userId: number;
|
|
24
25
|
}
|
|
25
|
-
export declare class
|
|
26
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
26
27
|
customerId: number;
|
|
28
|
+
organizationId: number;
|
|
27
29
|
}
|
|
28
|
-
export declare class
|
|
30
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
31
|
+
familyAccountId: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class CreateFamilyAccountDto {
|
|
34
|
+
familyName: string;
|
|
29
35
|
userId: number;
|
|
30
36
|
}
|
|
31
|
-
export declare class
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
customerType?: CustomerTypeEnum;
|
|
35
|
-
customersIds?: string;
|
|
37
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
38
|
+
familyName: string;
|
|
39
|
+
familyAccountId: number;
|
|
36
40
|
}
|
|
37
|
-
export declare class
|
|
38
|
-
|
|
41
|
+
export declare class AddUserToFamilyAccountDto {
|
|
42
|
+
familyAccountId: number;
|
|
43
|
+
isUserAdmin: boolean;
|
|
44
|
+
firstName: string;
|
|
45
|
+
lastName: string;
|
|
46
|
+
gender: GenderEnum;
|
|
47
|
+
birthDate: string;
|
|
48
|
+
sports?: number[];
|
|
49
|
+
email?: string;
|
|
39
50
|
}
|
|
40
|
-
export declare class
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pinToTop?: boolean;
|
|
51
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
52
|
+
userId: number;
|
|
53
|
+
familyAccountId: number;
|
|
44
54
|
}
|
|
45
|
-
export declare class
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
state?: string;
|
|
55
|
-
zip?: string;
|
|
56
|
-
phoneNumber?: string;
|
|
57
|
-
mainMediaId?: number;
|
|
58
|
-
creatorId?: number;
|
|
59
|
-
creatorType?: ResourceNameTypeEnum;
|
|
60
|
-
userCreatorId?: number;
|
|
61
|
-
gender?: GenderEnum;
|
|
62
|
-
birthDate?: string;
|
|
63
|
-
emergencyContactName?: string;
|
|
64
|
-
emergencyContactPhone?: string;
|
|
55
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
56
|
+
organizationId: number;
|
|
57
|
+
}
|
|
58
|
+
export declare class GetGlCodeDto {
|
|
59
|
+
id: number;
|
|
60
|
+
organizationId: number;
|
|
61
|
+
code: string;
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
updatedAt: Date;
|
|
65
64
|
}
|
|
66
65
|
export declare class FindEventByIdDto {
|
|
67
66
|
eventId: number;
|
|
@@ -163,109 +162,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
163
162
|
isWaiverSigned?: string;
|
|
164
163
|
statuses?: string;
|
|
165
164
|
}
|
|
166
|
-
export declare class BasicActivityTimesDto {
|
|
167
|
-
dayOfWeek: number;
|
|
168
|
-
close: string;
|
|
169
|
-
open: string;
|
|
170
|
-
availabilityStartDate?: string;
|
|
171
|
-
availabilityEndDate?: string;
|
|
172
|
-
}
|
|
173
|
-
export declare class QuestionAnswersDto {
|
|
174
|
-
questionId: number;
|
|
175
|
-
value: any;
|
|
176
|
-
}
|
|
177
|
-
export declare class UserAnswersDto {
|
|
178
|
-
userId: number;
|
|
179
|
-
answers: QuestionAnswersDto[];
|
|
180
|
-
}
|
|
181
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
182
|
-
questionnaireIds: string;
|
|
183
|
-
}
|
|
184
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
185
|
-
organizationId: number;
|
|
186
|
-
}
|
|
187
|
-
export declare class GetGlCodeDto {
|
|
188
|
-
id: number;
|
|
189
|
-
organizationId: number;
|
|
190
|
-
code: string;
|
|
191
|
-
createdAt: Date;
|
|
192
|
-
updatedAt: Date;
|
|
193
|
-
}
|
|
194
|
-
export declare class AddressDto {
|
|
195
|
-
city: string;
|
|
196
|
-
state: string;
|
|
197
|
-
country: string;
|
|
198
|
-
geo: number[];
|
|
199
|
-
}
|
|
200
|
-
export declare class OpeningTimeDto {
|
|
201
|
-
open: string;
|
|
202
|
-
close: string;
|
|
203
|
-
dayOfWeek: number;
|
|
204
|
-
}
|
|
205
|
-
export declare class CreateFacilityDto {
|
|
206
|
-
name: string;
|
|
207
|
-
sports: number[];
|
|
208
|
-
description?: string;
|
|
209
|
-
longDescription?: string;
|
|
210
|
-
info?: string;
|
|
211
|
-
address: AddressDto;
|
|
212
|
-
timezone: string;
|
|
213
|
-
amenities: number[];
|
|
214
|
-
openingTimes: OpeningTimeDto[];
|
|
215
|
-
resourcesIds?: number[];
|
|
216
|
-
}
|
|
217
|
-
export declare class UpdateFacilityDetailsDto {
|
|
218
|
-
name?: string;
|
|
219
|
-
description?: string;
|
|
220
|
-
longDescription?: string;
|
|
221
|
-
info?: string;
|
|
222
|
-
address?: AddressDto;
|
|
223
|
-
timezone?: string;
|
|
224
|
-
}
|
|
225
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
226
|
-
openingTimes: OpeningTimeDto[];
|
|
227
|
-
}
|
|
228
|
-
export declare class UpdateFacilitySportsDto {
|
|
229
|
-
sports: number[];
|
|
230
|
-
}
|
|
231
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
232
|
-
amenities: number[];
|
|
233
|
-
}
|
|
234
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
235
|
-
nameSearch?: string;
|
|
236
|
-
}
|
|
237
|
-
export declare class FindFamilyAccountsDto {
|
|
238
|
-
userId: number;
|
|
239
|
-
}
|
|
240
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
241
|
-
customerId: number;
|
|
242
|
-
organizationId: number;
|
|
243
|
-
}
|
|
244
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
245
|
-
familyAccountId: number;
|
|
246
|
-
}
|
|
247
|
-
export declare class CreateFamilyAccountDto {
|
|
248
|
-
familyName: string;
|
|
249
|
-
userId: number;
|
|
250
|
-
}
|
|
251
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
252
|
-
familyName: string;
|
|
253
|
-
familyAccountId: number;
|
|
254
|
-
}
|
|
255
|
-
export declare class AddUserToFamilyAccountDto {
|
|
256
|
-
familyAccountId: number;
|
|
257
|
-
isUserAdmin: boolean;
|
|
258
|
-
firstName: string;
|
|
259
|
-
lastName: string;
|
|
260
|
-
gender: GenderEnum;
|
|
261
|
-
birthDate: string;
|
|
262
|
-
sports?: number[];
|
|
263
|
-
email?: string;
|
|
264
|
-
}
|
|
265
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
266
|
-
userId: number;
|
|
267
|
-
familyAccountId: number;
|
|
268
|
-
}
|
|
269
165
|
export declare class FindByProgramSeasonIdDto {
|
|
270
166
|
seasonId: number;
|
|
271
167
|
}
|
|
@@ -339,77 +235,116 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
339
235
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
340
236
|
fileName: string;
|
|
341
237
|
}
|
|
342
|
-
export declare class
|
|
238
|
+
export declare class CreateMembershipDto {
|
|
239
|
+
organizationId: number;
|
|
240
|
+
name: string;
|
|
241
|
+
description?: string;
|
|
242
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
243
|
+
activity: SportsEnum;
|
|
244
|
+
facilityId: number;
|
|
245
|
+
questionnaires: number[];
|
|
246
|
+
minAgeYears: number;
|
|
247
|
+
maxAgeYears: number;
|
|
248
|
+
gender: GenderEnum;
|
|
249
|
+
maxMembers?: number;
|
|
250
|
+
maxMaleMembers?: number;
|
|
251
|
+
maxFemaleMembers?: number;
|
|
252
|
+
startDate: string;
|
|
253
|
+
endDate: string;
|
|
254
|
+
registrationStartDate?: Date;
|
|
255
|
+
registrationEndDate?: Date;
|
|
256
|
+
membershipType: MembershipTypeEnum;
|
|
257
|
+
durationMonths: number;
|
|
258
|
+
longDescription?: string;
|
|
259
|
+
isAutoRenew?: boolean;
|
|
260
|
+
}
|
|
261
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
343
262
|
id: number;
|
|
344
263
|
}
|
|
345
|
-
export declare class
|
|
346
|
-
|
|
347
|
-
|
|
264
|
+
export declare class UpdateMembershipMediaDto {
|
|
265
|
+
membershipId: number;
|
|
266
|
+
mediaId: number;
|
|
348
267
|
}
|
|
349
|
-
export declare class
|
|
350
|
-
|
|
351
|
-
endPage: number;
|
|
352
|
-
itemsPerPage: number;
|
|
268
|
+
export declare class FindMembershipByIdDto {
|
|
269
|
+
membershipId: number;
|
|
353
270
|
}
|
|
354
|
-
export declare class
|
|
271
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
355
272
|
organizationId: number;
|
|
356
|
-
parentProductId: number;
|
|
357
|
-
variantTitles: VariantTitleDto[];
|
|
358
|
-
variants: VariantDto[];
|
|
359
273
|
}
|
|
360
|
-
export declare class
|
|
361
|
-
|
|
362
|
-
titleId: number;
|
|
274
|
+
export declare class FindMembershipsByUserIdDto {
|
|
275
|
+
userId: number;
|
|
363
276
|
}
|
|
364
|
-
export declare class
|
|
365
|
-
|
|
366
|
-
price: number;
|
|
367
|
-
variantId: number;
|
|
368
|
-
currency: CurrencyEnum;
|
|
369
|
-
startDate: Date;
|
|
370
|
-
endDate: Date;
|
|
277
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
278
|
+
startDate: string;
|
|
371
279
|
}
|
|
372
|
-
export declare class
|
|
373
|
-
|
|
374
|
-
entitlementGroupId: number;
|
|
375
|
-
terms: IEntitlementTerms[];
|
|
280
|
+
export declare class MembershipIdsDto {
|
|
281
|
+
membershipIds?: number[];
|
|
376
282
|
}
|
|
377
|
-
export declare class
|
|
378
|
-
|
|
283
|
+
export declare class MemberIdDto {
|
|
284
|
+
memberId?: number;
|
|
379
285
|
}
|
|
380
|
-
export declare class
|
|
381
|
-
|
|
382
|
-
|
|
286
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
287
|
+
nameEmailSearch?: string;
|
|
288
|
+
pastMemberships?: string;
|
|
383
289
|
}
|
|
384
|
-
export declare class
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
answers?: IQuestionAnswerObject[];
|
|
388
|
-
itemIds: number[];
|
|
389
|
-
itemType?: ResourceNameTypeEnum;
|
|
390
|
-
startDate?: Date;
|
|
290
|
+
export declare class CancelMembershipDto {
|
|
291
|
+
isImmediatelyCancel: boolean;
|
|
292
|
+
cancellationReason?: string;
|
|
391
293
|
}
|
|
392
|
-
export declare class
|
|
393
|
-
|
|
394
|
-
|
|
294
|
+
export declare class AddressDto {
|
|
295
|
+
city: string;
|
|
296
|
+
state: string;
|
|
297
|
+
country: string;
|
|
298
|
+
geo: number[];
|
|
395
299
|
}
|
|
396
|
-
export declare class
|
|
300
|
+
export declare class OpeningTimeDto {
|
|
301
|
+
open: string;
|
|
302
|
+
close: string;
|
|
303
|
+
dayOfWeek: number;
|
|
304
|
+
}
|
|
305
|
+
export declare class CreateFacilityDto {
|
|
397
306
|
name: string;
|
|
307
|
+
sports: number[];
|
|
308
|
+
description?: string;
|
|
309
|
+
longDescription?: string;
|
|
310
|
+
info?: string;
|
|
311
|
+
address: AddressDto;
|
|
312
|
+
timezone: string;
|
|
313
|
+
amenities: number[];
|
|
314
|
+
openingTimes: OpeningTimeDto[];
|
|
315
|
+
resourcesIds?: number[];
|
|
398
316
|
}
|
|
399
|
-
export declare class
|
|
400
|
-
|
|
401
|
-
|
|
317
|
+
export declare class UpdateFacilityDetailsDto {
|
|
318
|
+
name?: string;
|
|
319
|
+
description?: string;
|
|
320
|
+
longDescription?: string;
|
|
321
|
+
info?: string;
|
|
322
|
+
address?: AddressDto;
|
|
323
|
+
timezone?: string;
|
|
402
324
|
}
|
|
403
|
-
export declare class
|
|
404
|
-
|
|
325
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
326
|
+
openingTimes: OpeningTimeDto[];
|
|
405
327
|
}
|
|
406
|
-
export declare class
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
328
|
+
export declare class UpdateFacilitySportsDto {
|
|
329
|
+
sports: number[];
|
|
330
|
+
}
|
|
331
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
332
|
+
amenities: number[];
|
|
333
|
+
}
|
|
334
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
335
|
+
nameSearch?: string;
|
|
336
|
+
}
|
|
337
|
+
export declare class FindOneParams {
|
|
338
|
+
id: number;
|
|
339
|
+
}
|
|
340
|
+
export declare class PaginationQuery {
|
|
341
|
+
page: number;
|
|
342
|
+
itemsPerPage: number;
|
|
343
|
+
}
|
|
344
|
+
export declare class PaginationRangeQuery {
|
|
345
|
+
startPage: number;
|
|
346
|
+
endPage: number;
|
|
347
|
+
itemsPerPage: number;
|
|
413
348
|
}
|
|
414
349
|
export declare class FindByProductIdDto {
|
|
415
350
|
productId: number;
|
|
@@ -632,49 +567,23 @@ export declare class createResourceDto {
|
|
|
632
567
|
export declare class archiveDto {
|
|
633
568
|
isArchive: boolean;
|
|
634
569
|
}
|
|
635
|
-
export declare class
|
|
570
|
+
export declare class CreateUpdateVariantsDto {
|
|
636
571
|
organizationId: number;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
programId: number;
|
|
572
|
+
parentProductId: number;
|
|
573
|
+
variantTitles: VariantTitleDto[];
|
|
574
|
+
variants: VariantDto[];
|
|
641
575
|
}
|
|
642
|
-
export declare class
|
|
643
|
-
|
|
644
|
-
|
|
576
|
+
export declare class VariantTitleDto {
|
|
577
|
+
titleName: string;
|
|
578
|
+
titleId: number;
|
|
645
579
|
}
|
|
646
|
-
export declare class
|
|
647
|
-
type: ProgramTypesEnum;
|
|
580
|
+
export declare class VariantDto {
|
|
648
581
|
name: string;
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
description?: string;
|
|
655
|
-
GL?: string;
|
|
656
|
-
status: PublishingStatusEnum;
|
|
657
|
-
organizationId: number;
|
|
658
|
-
userCreatorId: number;
|
|
659
|
-
highlights: ProgramHighlights[];
|
|
660
|
-
longDescription?: string;
|
|
661
|
-
requiredProductIds: number[];
|
|
662
|
-
}
|
|
663
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
664
|
-
}
|
|
665
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
666
|
-
programId: number;
|
|
667
|
-
mainMediaId: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class UpdateProgramStatusDto {
|
|
670
|
-
programId: number;
|
|
671
|
-
status: PublishingStatusEnum;
|
|
672
|
-
}
|
|
673
|
-
export declare class ProgramHighlightDto {
|
|
674
|
-
data: string;
|
|
675
|
-
ordinal: number;
|
|
676
|
-
type: ProgramHighlightTypeEnum;
|
|
677
|
-
title: string;
|
|
582
|
+
price: number;
|
|
583
|
+
variantId: number;
|
|
584
|
+
currency: CurrencyEnum;
|
|
585
|
+
startDate: Date;
|
|
586
|
+
endDate: Date;
|
|
678
587
|
}
|
|
679
588
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
680
589
|
programId: number;
|
|
@@ -859,77 +768,59 @@ export declare class MoveParticipantDto {
|
|
|
859
768
|
resourceId: number;
|
|
860
769
|
invoiceId: number;
|
|
861
770
|
}
|
|
862
|
-
export declare class
|
|
863
|
-
|
|
864
|
-
|
|
771
|
+
export declare class CreateResourceGroupDto {
|
|
772
|
+
name: string;
|
|
773
|
+
parentSlotId: number;
|
|
774
|
+
facilityId: number;
|
|
775
|
+
childrenSlotIds: number[];
|
|
865
776
|
}
|
|
866
|
-
export declare class
|
|
777
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
778
|
+
}
|
|
779
|
+
export declare class CreateEntitlementTermsDto {
|
|
867
780
|
organizationId: number;
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
invoiceId: number;
|
|
871
|
-
paymentData: PurchasePaymentDto;
|
|
872
|
-
amountToPay: number;
|
|
873
|
-
total: number;
|
|
874
|
-
platform: PlatformsEnum;
|
|
875
|
-
shiftId?: number;
|
|
781
|
+
entitlementGroupId: number;
|
|
782
|
+
terms: IEntitlementTerms[];
|
|
876
783
|
}
|
|
877
|
-
export declare class
|
|
878
|
-
|
|
879
|
-
customerId?: number;
|
|
880
|
-
products: PurchaseProductDto[];
|
|
881
|
-
paymentData: PurchasePaymentDto;
|
|
882
|
-
answers: UserAnswersDto[];
|
|
883
|
-
amountToPay: number;
|
|
884
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
885
|
-
parentPurchasedId?: number;
|
|
886
|
-
isPartialPayment: boolean;
|
|
887
|
-
existingInvoiceToken?: string;
|
|
888
|
-
installments?: ScheduledPaymentDto[];
|
|
889
|
-
shiftId?: number;
|
|
890
|
-
invoiceId?: number;
|
|
891
|
-
platform?: PlatformsEnum;
|
|
784
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
785
|
+
entitlementGroupId: number;
|
|
892
786
|
}
|
|
893
|
-
export declare class
|
|
787
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
788
|
+
user: any;
|
|
789
|
+
userVariables: IQuestionAnswerObject[];
|
|
894
790
|
}
|
|
895
|
-
export declare class
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
ordinal?: number;
|
|
791
|
+
export declare class FindLowestPriceDto {
|
|
792
|
+
organizationId: number;
|
|
793
|
+
user?: any;
|
|
794
|
+
answers?: IQuestionAnswerObject[];
|
|
795
|
+
itemIds: number[];
|
|
796
|
+
itemType?: ResourceNameTypeEnum;
|
|
902
797
|
startDate?: Date;
|
|
903
|
-
quantity?: number;
|
|
904
798
|
}
|
|
905
|
-
export declare class
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
organizationId: number;
|
|
909
|
-
payingUserId: number;
|
|
910
|
-
paymentMethodData: PurchasePaymentDto;
|
|
911
|
-
shiftId?: number;
|
|
799
|
+
export declare class FindGroupItemsPricingsDto {
|
|
800
|
+
groupsIds: number[];
|
|
801
|
+
itemsIds: number[];
|
|
912
802
|
}
|
|
913
|
-
export declare class
|
|
914
|
-
|
|
915
|
-
answersTitlesIds: number[];
|
|
916
|
-
organizationId: number;
|
|
917
|
-
purchasingUserId: number;
|
|
803
|
+
export declare class CreateEntitlementGroupDto {
|
|
804
|
+
name: string;
|
|
918
805
|
}
|
|
919
|
-
export declare class
|
|
920
|
-
|
|
806
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
807
|
+
itemIds: number[];
|
|
808
|
+
itemType: string;
|
|
921
809
|
}
|
|
922
|
-
export declare class
|
|
923
|
-
|
|
924
|
-
allocateResource: boolean;
|
|
925
|
-
skipMail: boolean;
|
|
810
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
811
|
+
groupid: number;
|
|
926
812
|
}
|
|
927
|
-
export declare class
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
813
|
+
export declare class CreateGroupPricingWithProduct {
|
|
814
|
+
groupId: number;
|
|
815
|
+
price: number;
|
|
816
|
+
startDate?: Date;
|
|
817
|
+
endDate?: Date;
|
|
818
|
+
discountValue?: number;
|
|
819
|
+
discountMethod?: DiscountMethodsEnum;
|
|
820
|
+
}
|
|
821
|
+
export declare class ResourceDto {
|
|
822
|
+
type: ResourceNameTypeEnum;
|
|
823
|
+
id: number;
|
|
933
824
|
}
|
|
934
825
|
export declare class SpaceByIdDto {
|
|
935
826
|
spaceId: number;
|
|
@@ -987,24 +878,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
987
878
|
types?: string;
|
|
988
879
|
resourcesIds?: string;
|
|
989
880
|
}
|
|
990
|
-
export declare class StripeCustomerIdDto {
|
|
991
|
-
userId: number;
|
|
992
|
-
}
|
|
993
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
994
|
-
paymentMethodId: string;
|
|
995
|
-
}
|
|
996
|
-
export declare class AddACHTokenToCustomerDto {
|
|
997
|
-
publicToken: string;
|
|
998
|
-
accountId: string;
|
|
999
|
-
}
|
|
1000
|
-
export declare class CreateResourceGroupDto {
|
|
1001
|
-
name: string;
|
|
1002
|
-
parentSlotId: number;
|
|
1003
|
-
facilityId: number;
|
|
1004
|
-
childrenSlotIds: number[];
|
|
1005
|
-
}
|
|
1006
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1007
|
-
}
|
|
1008
881
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1009
882
|
entityType: ResourceNameTypeEnum;
|
|
1010
883
|
entityId: number;
|
|
@@ -1027,18 +900,87 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1027
900
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1028
901
|
organizationId: number;
|
|
1029
902
|
}
|
|
1030
|
-
export declare class
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
903
|
+
export declare class StripeCustomerIdDto {
|
|
904
|
+
userId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
907
|
+
paymentMethodId: string;
|
|
908
|
+
}
|
|
909
|
+
export declare class AddACHTokenToCustomerDto {
|
|
910
|
+
publicToken: string;
|
|
911
|
+
accountId: string;
|
|
912
|
+
}
|
|
913
|
+
export declare class PurchasePaymentDto {
|
|
914
|
+
token: string;
|
|
915
|
+
type: PaymentMethodTypeEnum;
|
|
916
|
+
}
|
|
917
|
+
export declare class ChargeRentalsReuqestDto {
|
|
918
|
+
organizationId: number;
|
|
919
|
+
userId?: number;
|
|
920
|
+
customerId?: number;
|
|
921
|
+
invoiceId: number;
|
|
922
|
+
paymentData: PurchasePaymentDto;
|
|
923
|
+
amountToPay: number;
|
|
924
|
+
total: number;
|
|
925
|
+
platform: PlatformsEnum;
|
|
926
|
+
shiftId?: number;
|
|
927
|
+
}
|
|
928
|
+
export declare class PurchaseRequestDto {
|
|
929
|
+
purchasingUserId: number;
|
|
930
|
+
customerId?: number;
|
|
931
|
+
products: PurchaseProductDto[];
|
|
932
|
+
paymentData: PurchasePaymentDto;
|
|
933
|
+
answers: UserAnswersDto[];
|
|
934
|
+
amountToPay: number;
|
|
935
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
936
|
+
parentPurchasedId?: number;
|
|
937
|
+
isPartialPayment: boolean;
|
|
938
|
+
existingInvoiceToken?: string;
|
|
939
|
+
installments?: ScheduledPaymentDto[];
|
|
940
|
+
shiftId?: number;
|
|
941
|
+
invoiceId?: number;
|
|
942
|
+
platform?: PlatformsEnum;
|
|
943
|
+
}
|
|
944
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
945
|
+
}
|
|
946
|
+
export declare class PurchaseProductDto {
|
|
947
|
+
id: number;
|
|
948
|
+
resources?: PurchaseResourceDto[];
|
|
949
|
+
userId?: number;
|
|
950
|
+
paymentStatus?: PaymentStatusEnum;
|
|
951
|
+
amountToPay?: number;
|
|
952
|
+
ordinal?: number;
|
|
953
|
+
startDate?: Date;
|
|
954
|
+
quantity?: number;
|
|
955
|
+
}
|
|
956
|
+
export declare class PartialPaymentRequestDto {
|
|
957
|
+
invoiceId: number;
|
|
958
|
+
amountToPay: number;
|
|
959
|
+
organizationId: number;
|
|
960
|
+
payingUserId: number;
|
|
961
|
+
paymentMethodData: PurchasePaymentDto;
|
|
962
|
+
shiftId?: number;
|
|
963
|
+
}
|
|
964
|
+
export declare class RedeemPunchCardRequestDto {
|
|
965
|
+
products: PurchaseProductDto[];
|
|
966
|
+
answersTitlesIds: number[];
|
|
967
|
+
organizationId: number;
|
|
968
|
+
purchasingUserId: number;
|
|
969
|
+
}
|
|
970
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
971
|
+
invoiceId: number;
|
|
972
|
+
}
|
|
973
|
+
export declare class AddItemsDto {
|
|
974
|
+
products: PurchaseProductDto[];
|
|
975
|
+
allocateResource: boolean;
|
|
976
|
+
skipMail: boolean;
|
|
977
|
+
}
|
|
978
|
+
export declare class PartialPaymentAsUserDto {
|
|
979
|
+
invoiceId: any;
|
|
980
|
+
organizationId: any;
|
|
981
|
+
amountToPay: any;
|
|
982
|
+
paymentMethodData: any;
|
|
983
|
+
platform?: PlatformsEnum;
|
|
1042
984
|
}
|
|
1043
985
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1044
986
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1053,12 +995,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1053
995
|
proudct: Product;
|
|
1054
996
|
event: Event;
|
|
1055
997
|
}
|
|
1056
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1057
|
-
questionnaireId: number;
|
|
1058
|
-
userId?: number;
|
|
1059
|
-
answers: Answer[];
|
|
1060
|
-
questionnaire: Questionnaires;
|
|
1061
|
-
}
|
|
1062
998
|
export declare class Address extends BondBaseEntity {
|
|
1063
999
|
city?: string;
|
|
1064
1000
|
street?: string;
|
|
@@ -1070,6 +1006,25 @@ export declare class Address extends BondBaseEntity {
|
|
|
1070
1006
|
geo: any;
|
|
1071
1007
|
deletedAt?: Date;
|
|
1072
1008
|
}
|
|
1009
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1010
|
+
questionId: number;
|
|
1011
|
+
question?: Questions;
|
|
1012
|
+
parentId: number;
|
|
1013
|
+
parentType: ResourceNameTypeEnum;
|
|
1014
|
+
answerValue: any;
|
|
1015
|
+
creatorId: number;
|
|
1016
|
+
creatorType: ResourceNameTypeEnum;
|
|
1017
|
+
answerTitleId: number;
|
|
1018
|
+
answerTitle: AnswerTitle;
|
|
1019
|
+
metaData: any | null;
|
|
1020
|
+
questionText: string | null;
|
|
1021
|
+
}
|
|
1022
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1023
|
+
questionnaireId: number;
|
|
1024
|
+
userId?: number;
|
|
1025
|
+
answers: Answer[];
|
|
1026
|
+
questionnaire: Questionnaires;
|
|
1027
|
+
}
|
|
1073
1028
|
export declare class Athlete extends BondBaseEntity {
|
|
1074
1029
|
userId: number | null;
|
|
1075
1030
|
metadata: object | null;
|
|
@@ -1080,28 +1035,66 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1080
1035
|
sports: number | null;
|
|
1081
1036
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1082
1037
|
}
|
|
1083
|
-
export declare class
|
|
1084
|
-
|
|
1038
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
1039
|
+
membershipId: number;
|
|
1040
|
+
}
|
|
1041
|
+
export declare class ImportProductsFromDB {
|
|
1042
|
+
buDate: string;
|
|
1043
|
+
}
|
|
1044
|
+
export declare class ImportCustomerFromCSV {
|
|
1045
|
+
fileName: string;
|
|
1046
|
+
startIndex?: number;
|
|
1047
|
+
}
|
|
1048
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
1049
|
+
resolveInvoices: string;
|
|
1050
|
+
}
|
|
1051
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
1052
|
+
membershipId: number;
|
|
1053
|
+
onlyDashIds: string;
|
|
1054
|
+
}
|
|
1055
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
1056
|
+
facilityId: number;
|
|
1057
|
+
}
|
|
1058
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
1059
|
+
customerId: number;
|
|
1060
|
+
}
|
|
1061
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
1065
|
+
nameSearch?: string;
|
|
1066
|
+
fuzzy?: string;
|
|
1067
|
+
customerType?: CustomerTypeEnum;
|
|
1068
|
+
customersIds?: string;
|
|
1069
|
+
}
|
|
1070
|
+
export declare class AddCustomerNotesDto {
|
|
1071
|
+
customerNotes: CustomerNoteDto[];
|
|
1072
|
+
}
|
|
1073
|
+
export declare class CustomerNoteDto {
|
|
1074
|
+
id?: number;
|
|
1075
|
+
description: string;
|
|
1076
|
+
pinToTop?: boolean;
|
|
1077
|
+
}
|
|
1078
|
+
export declare class AddEditCustomerDto {
|
|
1079
|
+
firstName?: string;
|
|
1080
|
+
lastName?: string;
|
|
1081
|
+
entityId?: number;
|
|
1082
|
+
entityType?: CustomerTypeEnum;
|
|
1083
|
+
email?: string;
|
|
1085
1084
|
color?: string;
|
|
1085
|
+
street?: string;
|
|
1086
|
+
city?: string;
|
|
1087
|
+
state?: string;
|
|
1088
|
+
zip?: string;
|
|
1089
|
+
phoneNumber?: string;
|
|
1090
|
+
mainMediaId?: number;
|
|
1086
1091
|
creatorId?: number;
|
|
1087
|
-
creatorType?:
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
status?: string;
|
|
1094
|
-
originalSessionId?: number;
|
|
1095
|
-
isFinal?: boolean;
|
|
1096
|
-
concurrent?: number;
|
|
1097
|
-
deletedAt?: Date;
|
|
1098
|
-
publicNotes?: string;
|
|
1099
|
-
slotType?: SlotTypeEnum;
|
|
1100
|
-
}
|
|
1101
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1102
|
-
id: number;
|
|
1103
|
-
createdAt: Date;
|
|
1104
|
-
updatedAt: Date;
|
|
1092
|
+
creatorType?: ResourceNameTypeEnum;
|
|
1093
|
+
userCreatorId?: number;
|
|
1094
|
+
gender?: GenderEnum;
|
|
1095
|
+
birthDate?: string;
|
|
1096
|
+
emergencyContactName?: string;
|
|
1097
|
+
emergencyContactPhone?: string;
|
|
1105
1098
|
}
|
|
1106
1099
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1107
1100
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1111,6 +1104,24 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1111
1104
|
endDate: Date;
|
|
1112
1105
|
deletedAt?: Date;
|
|
1113
1106
|
}
|
|
1107
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1108
|
+
area: string;
|
|
1109
|
+
key: string;
|
|
1110
|
+
value: string;
|
|
1111
|
+
}
|
|
1112
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1113
|
+
creditAmount: number;
|
|
1114
|
+
paymentProcessorId: string;
|
|
1115
|
+
userId: number;
|
|
1116
|
+
paymentId: number;
|
|
1117
|
+
invoiceId: number;
|
|
1118
|
+
creditPaymentId: number;
|
|
1119
|
+
}
|
|
1120
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1121
|
+
id: number;
|
|
1122
|
+
createdAt: Date;
|
|
1123
|
+
updatedAt: Date;
|
|
1124
|
+
}
|
|
1114
1125
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1115
1126
|
parentId: number;
|
|
1116
1127
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1121,29 +1132,23 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1121
1132
|
endTimeInDay: string;
|
|
1122
1133
|
directBookingFor: DirectBookingTypesEnum;
|
|
1123
1134
|
}
|
|
1124
|
-
export declare class
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1135
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1136
|
+
customerId: number;
|
|
1137
|
+
userId: number;
|
|
1138
|
+
amount: number;
|
|
1139
|
+
paymentId?: number;
|
|
1140
|
+
invoiceId?: number;
|
|
1141
|
+
description?: string;
|
|
1142
|
+
deletedAt?: Date;
|
|
1143
|
+
customer: Customer;
|
|
1144
|
+
invoice: Invoice;
|
|
1145
|
+
payment: Payment;
|
|
1130
1146
|
}
|
|
1131
|
-
export declare class
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
export declare class Connection extends BondBaseEntity {
|
|
1137
|
-
connType: number | null;
|
|
1138
|
-
from: number | null;
|
|
1139
|
-
fromType: string | null;
|
|
1140
|
-
to: number | null;
|
|
1141
|
-
toType: string | null;
|
|
1142
|
-
status: number | null;
|
|
1143
|
-
creatorId: number | null;
|
|
1144
|
-
creatorType: string | null;
|
|
1145
|
-
userCreatorId: number | null;
|
|
1146
|
-
ownerId: number | null;
|
|
1147
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1148
|
+
customerId?: number;
|
|
1149
|
+
description: string;
|
|
1150
|
+
pinToTop?: boolean;
|
|
1151
|
+
customer: Customer;
|
|
1147
1152
|
}
|
|
1148
1153
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1149
1154
|
name: string | null;
|
|
@@ -1181,36 +1186,93 @@ export declare class Division extends BondBaseEntity {
|
|
|
1181
1186
|
isDefault: boolean;
|
|
1182
1187
|
groups: Group[];
|
|
1183
1188
|
}
|
|
1184
|
-
export declare class
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1189
|
+
export declare class Connection extends BondBaseEntity {
|
|
1190
|
+
connType: number | null;
|
|
1191
|
+
from: number | null;
|
|
1192
|
+
fromType: string | null;
|
|
1193
|
+
to: number | null;
|
|
1194
|
+
toType: string | null;
|
|
1195
|
+
status: number | null;
|
|
1196
|
+
creatorId: number | null;
|
|
1197
|
+
creatorType: string | null;
|
|
1198
|
+
userCreatorId: number | null;
|
|
1199
|
+
ownerId: number | null;
|
|
1195
1200
|
}
|
|
1196
|
-
export declare class
|
|
1197
|
-
customerId
|
|
1198
|
-
|
|
1199
|
-
|
|
1201
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1202
|
+
customerId: number;
|
|
1203
|
+
name: string | null;
|
|
1204
|
+
phoneNumber: string | null;
|
|
1200
1205
|
customer: Customer;
|
|
1201
1206
|
}
|
|
1202
|
-
export declare class
|
|
1203
|
-
|
|
1207
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1208
|
+
status: RequestStatusEnum | null;
|
|
1209
|
+
hasPaid: boolean | null;
|
|
1210
|
+
paymentId: number | null;
|
|
1211
|
+
attendeeId: number;
|
|
1212
|
+
eventId?: number | null;
|
|
1213
|
+
productUserId?: number;
|
|
1214
|
+
answerTitleIds?: number[];
|
|
1215
|
+
entryStatus?: EntryStatusEnum;
|
|
1216
|
+
addonProductUserIds?: number[];
|
|
1217
|
+
deletedAt?: Date;
|
|
1218
|
+
attendee: User;
|
|
1219
|
+
event: Event;
|
|
1220
|
+
purchasedResource: PurchasedResource;
|
|
1204
1221
|
}
|
|
1205
1222
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1206
1223
|
groupId: number;
|
|
1207
1224
|
terms: IEntitlementTerms[];
|
|
1208
1225
|
}
|
|
1209
|
-
export declare class
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1226
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
1227
|
+
organizationId: number;
|
|
1228
|
+
programType?: ProgramTypesEnum;
|
|
1229
|
+
}
|
|
1230
|
+
export declare class FindProgramByIdDto {
|
|
1231
|
+
programId: number;
|
|
1232
|
+
}
|
|
1233
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
1234
|
+
programId: number;
|
|
1235
|
+
organizationId: number;
|
|
1236
|
+
}
|
|
1237
|
+
export declare class BaseProgramDto {
|
|
1238
|
+
type: ProgramTypesEnum;
|
|
1239
|
+
name: string;
|
|
1240
|
+
sport: SportsEnum;
|
|
1241
|
+
minAge: string;
|
|
1242
|
+
maxAge: string;
|
|
1243
|
+
gender: GenderEnum;
|
|
1244
|
+
level?: LevelOfPlayEnum[];
|
|
1245
|
+
description?: string;
|
|
1246
|
+
GL?: string;
|
|
1247
|
+
status: PublishingStatusEnum;
|
|
1248
|
+
organizationId: number;
|
|
1249
|
+
userCreatorId: number;
|
|
1250
|
+
highlights: ProgramHighlights[];
|
|
1251
|
+
longDescription?: string;
|
|
1252
|
+
requiredProductIds: number[];
|
|
1253
|
+
}
|
|
1254
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1255
|
+
}
|
|
1256
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1257
|
+
programId: number;
|
|
1258
|
+
mainMediaId: number;
|
|
1259
|
+
}
|
|
1260
|
+
export declare class UpdateProgramStatusDto {
|
|
1261
|
+
programId: number;
|
|
1262
|
+
status: PublishingStatusEnum;
|
|
1263
|
+
}
|
|
1264
|
+
export declare class ProgramHighlightDto {
|
|
1265
|
+
data: string;
|
|
1266
|
+
ordinal: number;
|
|
1267
|
+
type: ProgramHighlightTypeEnum;
|
|
1268
|
+
title: string;
|
|
1269
|
+
}
|
|
1270
|
+
export declare class FindBookingTypeSettingDto {
|
|
1271
|
+
organizationId: number;
|
|
1272
|
+
facilityId: number;
|
|
1273
|
+
spaceId: number;
|
|
1274
|
+
bookingDate: string;
|
|
1275
|
+
bookingTime: string;
|
|
1214
1276
|
}
|
|
1215
1277
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1216
1278
|
name: string;
|
|
@@ -1236,28 +1298,87 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1236
1298
|
programSeasons: ProgramSeason[];
|
|
1237
1299
|
linkSEO: string;
|
|
1238
1300
|
}
|
|
1239
|
-
export declare class
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1301
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1302
|
+
name: string | null;
|
|
1303
|
+
}
|
|
1304
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1305
|
+
name: string | null;
|
|
1306
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1307
|
+
}
|
|
1308
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1309
|
+
code: string;
|
|
1310
|
+
}
|
|
1311
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1312
|
+
reservationId?: number;
|
|
1313
|
+
color?: string;
|
|
1314
|
+
creatorId?: number;
|
|
1315
|
+
creatorType?: string;
|
|
1316
|
+
startDate?: Date | moment.Moment;
|
|
1317
|
+
endDate?: Date | moment.Moment;
|
|
1318
|
+
timezone?: string;
|
|
1319
|
+
spaceId?: number;
|
|
1320
|
+
percentage?: number;
|
|
1321
|
+
status?: string;
|
|
1322
|
+
originalSessionId?: number;
|
|
1323
|
+
isFinal?: boolean;
|
|
1324
|
+
concurrent?: number;
|
|
1249
1325
|
deletedAt?: Date;
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
purchasedResource: PurchasedResource;
|
|
1326
|
+
publicNotes?: string;
|
|
1327
|
+
slotType?: SlotTypeEnum;
|
|
1253
1328
|
}
|
|
1254
|
-
export declare class
|
|
1255
|
-
|
|
1256
|
-
|
|
1329
|
+
export declare class Group extends BondBaseEntity {
|
|
1330
|
+
name: string;
|
|
1331
|
+
description?: string;
|
|
1332
|
+
status: GroupStatusEnum;
|
|
1333
|
+
maxCapacity?: number;
|
|
1334
|
+
mainMediaId?: number;
|
|
1335
|
+
minAgeYears?: number;
|
|
1336
|
+
maxAgeYears?: number;
|
|
1337
|
+
gender: GenderEnum;
|
|
1338
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1339
|
+
sports: SportsEnum[];
|
|
1340
|
+
questionnaires?: number[];
|
|
1341
|
+
captainUserId?: number;
|
|
1342
|
+
members: ISeasonAttendeeInfo[];
|
|
1343
|
+
users: User[];
|
|
1344
|
+
}
|
|
1345
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1346
|
+
groupId: number;
|
|
1347
|
+
itemId: number;
|
|
1348
|
+
itemType: ResourceNameTypeEnum;
|
|
1349
|
+
startDate: Date;
|
|
1350
|
+
endDate: Date;
|
|
1351
|
+
price: number;
|
|
1352
|
+
overridesPrice: boolean;
|
|
1353
|
+
deletedAt?: Date;
|
|
1354
|
+
group?: EntitlementGroup;
|
|
1355
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1356
|
+
discountValue?: number;
|
|
1357
|
+
}
|
|
1358
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1359
|
+
groupId: number;
|
|
1360
|
+
divisionId: number;
|
|
1361
|
+
deletedAt?: Date;
|
|
1362
|
+
}
|
|
1363
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1364
|
+
email: string;
|
|
1365
|
+
status: EEmailStatus;
|
|
1366
|
+
templateId: string;
|
|
1257
1367
|
userId: number;
|
|
1368
|
+
invoiceId: number;
|
|
1258
1369
|
paymentId: number;
|
|
1370
|
+
sendingUserId: number;
|
|
1371
|
+
mailParams?: any;
|
|
1372
|
+
memo?: string;
|
|
1373
|
+
}
|
|
1374
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1375
|
+
content: string;
|
|
1376
|
+
creatingUserId: number;
|
|
1377
|
+
user: User;
|
|
1378
|
+
isPublic: boolean;
|
|
1379
|
+
deletedAt: Date;
|
|
1259
1380
|
invoiceId: number;
|
|
1260
|
-
|
|
1381
|
+
invoice: Invoice;
|
|
1261
1382
|
}
|
|
1262
1383
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1263
1384
|
constructor();
|
|
@@ -1314,181 +1435,31 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1314
1435
|
slots: Slot[];
|
|
1315
1436
|
purchasedResources: PurchasedResource[];
|
|
1316
1437
|
}
|
|
1317
|
-
export declare class
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
minAgeYears: number;
|
|
1343
|
-
maxAgeYears: number;
|
|
1344
|
-
gender: GenderEnum;
|
|
1345
|
-
maxMembers?: number;
|
|
1346
|
-
maxMaleMembers?: number;
|
|
1347
|
-
maxFemaleMembers?: number;
|
|
1348
|
-
startDate: string;
|
|
1349
|
-
endDate: string;
|
|
1350
|
-
registrationStartDate?: Date;
|
|
1351
|
-
registrationEndDate?: Date;
|
|
1352
|
-
membershipType: MembershipTypeEnum;
|
|
1353
|
-
durationMonths: number;
|
|
1354
|
-
longDescription?: string;
|
|
1355
|
-
isAutoRenew?: boolean;
|
|
1356
|
-
}
|
|
1357
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
1358
|
-
id: number;
|
|
1359
|
-
}
|
|
1360
|
-
export declare class UpdateMembershipMediaDto {
|
|
1361
|
-
membershipId: number;
|
|
1362
|
-
mediaId: number;
|
|
1363
|
-
}
|
|
1364
|
-
export declare class FindMembershipByIdDto {
|
|
1365
|
-
membershipId: number;
|
|
1366
|
-
}
|
|
1367
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
1368
|
-
organizationId: number;
|
|
1369
|
-
}
|
|
1370
|
-
export declare class FindMembershipsByUserIdDto {
|
|
1371
|
-
userId: number;
|
|
1372
|
-
}
|
|
1373
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
1374
|
-
startDate: string;
|
|
1375
|
-
}
|
|
1376
|
-
export declare class MembershipIdsDto {
|
|
1377
|
-
membershipIds?: number[];
|
|
1378
|
-
}
|
|
1379
|
-
export declare class MemberIdDto {
|
|
1380
|
-
memberId?: number;
|
|
1381
|
-
}
|
|
1382
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
1383
|
-
nameEmailSearch?: string;
|
|
1384
|
-
pastMemberships?: string;
|
|
1385
|
-
}
|
|
1386
|
-
export declare class CancelMembershipDto {
|
|
1387
|
-
isImmediatelyCancel: boolean;
|
|
1388
|
-
cancellationReason?: string;
|
|
1389
|
-
}
|
|
1390
|
-
export declare class ResourceDto {
|
|
1391
|
-
type: ResourceNameTypeEnum;
|
|
1392
|
-
id: number;
|
|
1393
|
-
}
|
|
1394
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1395
|
-
groupId: number;
|
|
1396
|
-
divisionId: number;
|
|
1397
|
-
deletedAt?: Date;
|
|
1398
|
-
}
|
|
1399
|
-
export declare class Invoice extends BondBaseEntity {
|
|
1400
|
-
invoiceId: string | null;
|
|
1401
|
-
price: number | null;
|
|
1402
|
-
status: InvoiceStatusEnum | null;
|
|
1403
|
-
sentForClientDate: Date | null;
|
|
1404
|
-
payingUserId?: number | null;
|
|
1405
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1406
|
-
lineItems: LineItems[];
|
|
1407
|
-
lineItemHistory: LineItemHistory[];
|
|
1408
|
-
paymentStatus: PaymentStatusEnum;
|
|
1409
|
-
paymentMethodId?: string;
|
|
1410
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1411
|
-
paidAmount: number;
|
|
1412
|
-
currency: CurrencyEnum;
|
|
1413
|
-
mainPaymentId: number;
|
|
1414
|
-
isScheduled: boolean;
|
|
1415
|
-
isRefunded: boolean;
|
|
1416
|
-
isVoided: boolean;
|
|
1417
|
-
creatingUserId: number;
|
|
1418
|
-
shiftId: number;
|
|
1419
|
-
platform: PlatformsEnum;
|
|
1420
|
-
invoiceNotes: InvoiceNote[];
|
|
1421
|
-
slots: Slot[];
|
|
1422
|
-
}
|
|
1423
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1424
|
-
name: string | null;
|
|
1425
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1426
|
-
}
|
|
1427
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1428
|
-
email: string;
|
|
1429
|
-
status: EEmailStatus;
|
|
1430
|
-
templateId: string;
|
|
1431
|
-
userId: number;
|
|
1432
|
-
invoiceId: number;
|
|
1433
|
-
paymentId: number;
|
|
1434
|
-
sendingUserId: number;
|
|
1435
|
-
mailParams?: any;
|
|
1436
|
-
memo?: string;
|
|
1437
|
-
}
|
|
1438
|
-
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1439
|
-
name: string | null;
|
|
1440
|
-
description: string | null;
|
|
1441
|
-
allowBookingRequest: boolean | null;
|
|
1442
|
-
addressName: string | null;
|
|
1443
|
-
shortDescription: string | null;
|
|
1444
|
-
waiverDoc: string | null;
|
|
1445
|
-
bookingStateStatus: number | null;
|
|
1446
|
-
timezone: string | null;
|
|
1447
|
-
shortUrl: string | null;
|
|
1448
|
-
leagueType: string | null;
|
|
1449
|
-
addressId: number | null;
|
|
1450
|
-
sportConfigData: any | null;
|
|
1451
|
-
creatorId: number | null;
|
|
1452
|
-
creatorType: string | null;
|
|
1453
|
-
userCreatorId: number | null;
|
|
1454
|
-
ownerId: number | null;
|
|
1455
|
-
sports: number[] | null;
|
|
1456
|
-
mainMediaId: number | null;
|
|
1457
|
-
publishedDate: Date | null;
|
|
1458
|
-
isPublished: boolean | null;
|
|
1459
|
-
isVerified: boolean | null;
|
|
1460
|
-
questionnaireId: number | null;
|
|
1461
|
-
logo?: Media;
|
|
1462
|
-
seasons: LeagueSeason[];
|
|
1463
|
-
}
|
|
1464
|
-
export declare class Group extends BondBaseEntity {
|
|
1465
|
-
name: string;
|
|
1466
|
-
description?: string;
|
|
1467
|
-
status: GroupStatusEnum;
|
|
1468
|
-
maxCapacity?: number;
|
|
1469
|
-
mainMediaId?: number;
|
|
1470
|
-
minAgeYears?: number;
|
|
1471
|
-
maxAgeYears?: number;
|
|
1472
|
-
gender: GenderEnum;
|
|
1473
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1474
|
-
sports: SportsEnum[];
|
|
1475
|
-
questionnaires?: number[];
|
|
1476
|
-
captainUserId?: number;
|
|
1477
|
-
members: ISeasonAttendeeInfo[];
|
|
1478
|
-
users: User[];
|
|
1479
|
-
}
|
|
1480
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1481
|
-
groupId: number;
|
|
1482
|
-
itemId: number;
|
|
1483
|
-
itemType: ResourceNameTypeEnum;
|
|
1484
|
-
startDate: Date;
|
|
1485
|
-
endDate: Date;
|
|
1486
|
-
price: number;
|
|
1487
|
-
overridesPrice: boolean;
|
|
1488
|
-
deletedAt?: Date;
|
|
1489
|
-
group?: EntitlementGroup;
|
|
1490
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1491
|
-
discountValue?: number;
|
|
1438
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1439
|
+
name: string | null;
|
|
1440
|
+
description: string | null;
|
|
1441
|
+
allowBookingRequest: boolean | null;
|
|
1442
|
+
addressName: string | null;
|
|
1443
|
+
shortDescription: string | null;
|
|
1444
|
+
waiverDoc: string | null;
|
|
1445
|
+
bookingStateStatus: number | null;
|
|
1446
|
+
timezone: string | null;
|
|
1447
|
+
shortUrl: string | null;
|
|
1448
|
+
leagueType: string | null;
|
|
1449
|
+
addressId: number | null;
|
|
1450
|
+
sportConfigData: any | null;
|
|
1451
|
+
creatorId: number | null;
|
|
1452
|
+
creatorType: string | null;
|
|
1453
|
+
userCreatorId: number | null;
|
|
1454
|
+
ownerId: number | null;
|
|
1455
|
+
sports: number[] | null;
|
|
1456
|
+
mainMediaId: number | null;
|
|
1457
|
+
publishedDate: Date | null;
|
|
1458
|
+
isPublished: boolean | null;
|
|
1459
|
+
isVerified: boolean | null;
|
|
1460
|
+
questionnaireId: number | null;
|
|
1461
|
+
logo?: Media;
|
|
1462
|
+
seasons: LeagueSeason[];
|
|
1492
1463
|
}
|
|
1493
1464
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1494
1465
|
leagueId: number | null;
|
|
@@ -1534,15 +1505,112 @@ export declare class LeagueSeasonRelations {
|
|
|
1534
1505
|
league?: boolean;
|
|
1535
1506
|
facilities?: boolean;
|
|
1536
1507
|
}
|
|
1537
|
-
export declare class
|
|
1508
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1509
|
+
membership: Membership;
|
|
1510
|
+
membershipId: number;
|
|
1511
|
+
productUserId: number;
|
|
1512
|
+
productUser?: ProductsUsers;
|
|
1513
|
+
userId: number;
|
|
1514
|
+
membershipType: MembershipTypeEnum;
|
|
1515
|
+
durationMonths?: number;
|
|
1516
|
+
startDate?: string;
|
|
1517
|
+
endDate?: string;
|
|
1518
|
+
renewalOfMemberId?: number;
|
|
1519
|
+
isAutoRenew?: boolean;
|
|
1520
|
+
nextPaymentMethodId?: string;
|
|
1521
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1522
|
+
answerTitleIds?: number[];
|
|
1523
|
+
cancelledAt?: Date | null;
|
|
1524
|
+
cancellationReason?: string;
|
|
1525
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1526
|
+
isImported?: boolean;
|
|
1527
|
+
}
|
|
1528
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1538
1529
|
invoiceId: number;
|
|
1539
1530
|
paymentId: number;
|
|
1540
|
-
|
|
1541
|
-
paidAmount: number;
|
|
1542
|
-
unitPaidAmount: number;
|
|
1543
|
-
currency: CurrencyEnum;
|
|
1531
|
+
invoice: Invoice;
|
|
1544
1532
|
payment: Payment;
|
|
1545
|
-
|
|
1533
|
+
paidAmount?: number;
|
|
1534
|
+
currency: CurrencyEnum;
|
|
1535
|
+
}
|
|
1536
|
+
export declare class Media extends BondBaseEntity {
|
|
1537
|
+
url: string;
|
|
1538
|
+
name: string | null;
|
|
1539
|
+
title: string | null;
|
|
1540
|
+
mediaKey: string | null;
|
|
1541
|
+
description: string | null;
|
|
1542
|
+
provider: string | null;
|
|
1543
|
+
mediaType: number;
|
|
1544
|
+
fileType: string | null;
|
|
1545
|
+
isDefault: boolean | null;
|
|
1546
|
+
creatorId: number | null;
|
|
1547
|
+
creatorType: string | null;
|
|
1548
|
+
userCreatorId: number | null;
|
|
1549
|
+
ownerId: number | null;
|
|
1550
|
+
createdBy: number | null;
|
|
1551
|
+
users: User[];
|
|
1552
|
+
programs: Program[];
|
|
1553
|
+
memberships: Membership[];
|
|
1554
|
+
}
|
|
1555
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1556
|
+
id: number;
|
|
1557
|
+
provider: string;
|
|
1558
|
+
providerId: string | null;
|
|
1559
|
+
parentId: number | null;
|
|
1560
|
+
parentType: string | null;
|
|
1561
|
+
status: number | null;
|
|
1562
|
+
token: string | null;
|
|
1563
|
+
refreshToken: string | null;
|
|
1564
|
+
tokenCreatedAt: Date | null;
|
|
1565
|
+
tokenValidUpTo: Date | null;
|
|
1566
|
+
createdAt: Date;
|
|
1567
|
+
updatedAt: Date;
|
|
1568
|
+
user: User;
|
|
1569
|
+
userId: number | null;
|
|
1570
|
+
}
|
|
1571
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1572
|
+
name: string;
|
|
1573
|
+
description?: string;
|
|
1574
|
+
mainMedia?: Media;
|
|
1575
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1576
|
+
activity?: SportsEnum;
|
|
1577
|
+
facilityId?: number;
|
|
1578
|
+
facilityName?: string;
|
|
1579
|
+
questionnaires?: number[];
|
|
1580
|
+
minAgeYears?: number;
|
|
1581
|
+
maxAgeYears?: number;
|
|
1582
|
+
gender: GenderEnum;
|
|
1583
|
+
maxMembers?: number;
|
|
1584
|
+
maxMaleMembers?: number;
|
|
1585
|
+
maxFemaleMembers?: number;
|
|
1586
|
+
membershipType: MembershipTypeEnum;
|
|
1587
|
+
durationMonths?: number;
|
|
1588
|
+
startDate?: string;
|
|
1589
|
+
endDate?: string;
|
|
1590
|
+
registrationStartDate?: Date;
|
|
1591
|
+
registrationEndDate?: Date;
|
|
1592
|
+
package?: IPackageResponse;
|
|
1593
|
+
tags: any[];
|
|
1594
|
+
members: MembershipMember[];
|
|
1595
|
+
longDescription?: string;
|
|
1596
|
+
isAutoRenew?: boolean;
|
|
1597
|
+
purchasedResources: PurchasedResource[];
|
|
1598
|
+
}
|
|
1599
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1600
|
+
userId: number;
|
|
1601
|
+
invoiceId: number;
|
|
1602
|
+
paymentMethodId: string;
|
|
1603
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1604
|
+
price: number;
|
|
1605
|
+
status: FutureInstallmentStatusEnum;
|
|
1606
|
+
plannedDate: Date;
|
|
1607
|
+
chargedAt?: Date;
|
|
1608
|
+
}
|
|
1609
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1610
|
+
email: string | null;
|
|
1611
|
+
notificationType: NotificationTypeEnum | null;
|
|
1612
|
+
resourceId: number | null;
|
|
1613
|
+
resourceType: string | null;
|
|
1546
1614
|
}
|
|
1547
1615
|
export declare class LineItems extends BondBaseEntity {
|
|
1548
1616
|
constructor();
|
|
@@ -1599,62 +1667,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1599
1667
|
displayUnitPrice?: number;
|
|
1600
1668
|
displayQuantity?: number;
|
|
1601
1669
|
}
|
|
1602
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1603
|
-
invoiceId: number;
|
|
1604
|
-
paymentId: number;
|
|
1605
|
-
invoice: Invoice;
|
|
1606
|
-
payment: Payment;
|
|
1607
|
-
paidAmount?: number;
|
|
1608
|
-
currency: CurrencyEnum;
|
|
1609
|
-
}
|
|
1610
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1611
|
-
membership: Membership;
|
|
1612
|
-
membershipId: number;
|
|
1613
|
-
productUserId: number;
|
|
1614
|
-
productUser?: ProductsUsers;
|
|
1615
|
-
userId: number;
|
|
1616
|
-
membershipType: MembershipTypeEnum;
|
|
1617
|
-
durationMonths?: number;
|
|
1618
|
-
startDate?: string;
|
|
1619
|
-
endDate?: string;
|
|
1620
|
-
renewalOfMemberId?: number;
|
|
1621
|
-
isAutoRenew?: boolean;
|
|
1622
|
-
nextPaymentMethodId?: string;
|
|
1623
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1624
|
-
answerTitleIds?: number[];
|
|
1625
|
-
cancelledAt?: Date | null;
|
|
1626
|
-
cancellationReason?: string;
|
|
1627
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1628
|
-
isImported?: boolean;
|
|
1629
|
-
}
|
|
1630
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1631
|
-
content: string;
|
|
1632
|
-
creatingUserId: number;
|
|
1633
|
-
user: User;
|
|
1634
|
-
isPublic: boolean;
|
|
1635
|
-
deletedAt: Date;
|
|
1636
|
-
invoiceId: number;
|
|
1637
|
-
invoice: Invoice;
|
|
1638
|
-
}
|
|
1639
|
-
export declare class Media extends BondBaseEntity {
|
|
1640
|
-
url: string;
|
|
1641
|
-
name: string | null;
|
|
1642
|
-
title: string | null;
|
|
1643
|
-
mediaKey: string | null;
|
|
1644
|
-
description: string | null;
|
|
1645
|
-
provider: string | null;
|
|
1646
|
-
mediaType: number;
|
|
1647
|
-
fileType: string | null;
|
|
1648
|
-
isDefault: boolean | null;
|
|
1649
|
-
creatorId: number | null;
|
|
1650
|
-
creatorType: string | null;
|
|
1651
|
-
userCreatorId: number | null;
|
|
1652
|
-
ownerId: number | null;
|
|
1653
|
-
createdBy: number | null;
|
|
1654
|
-
users: User[];
|
|
1655
|
-
programs: Program[];
|
|
1656
|
-
memberships: Membership[];
|
|
1657
|
-
}
|
|
1658
1670
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1659
1671
|
id: number;
|
|
1660
1672
|
dayOfWeek: number;
|
|
@@ -1666,9 +1678,73 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1666
1678
|
deletedAt?: Date;
|
|
1667
1679
|
facility: Facility;
|
|
1668
1680
|
}
|
|
1681
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1682
|
+
token: string | null;
|
|
1683
|
+
userId: number | null;
|
|
1684
|
+
validUntil: Date | null;
|
|
1685
|
+
active: boolean | null;
|
|
1686
|
+
}
|
|
1687
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1688
|
+
content: string;
|
|
1689
|
+
creatingUserId: number;
|
|
1690
|
+
user: User;
|
|
1691
|
+
isPublic: boolean;
|
|
1692
|
+
deletedAt: Date;
|
|
1693
|
+
paymentId: number;
|
|
1694
|
+
payment: Payment;
|
|
1695
|
+
}
|
|
1669
1696
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1670
1697
|
organizationId: number;
|
|
1671
1698
|
}
|
|
1699
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1700
|
+
facilityId: number;
|
|
1701
|
+
resourceId: number;
|
|
1702
|
+
}
|
|
1703
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1704
|
+
invoiceId: number;
|
|
1705
|
+
paymentId: number;
|
|
1706
|
+
lineItemId: number;
|
|
1707
|
+
paidAmount: number;
|
|
1708
|
+
unitPaidAmount: number;
|
|
1709
|
+
currency: CurrencyEnum;
|
|
1710
|
+
payment: Payment;
|
|
1711
|
+
lineItem: LineItems;
|
|
1712
|
+
}
|
|
1713
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1714
|
+
userId: number | null;
|
|
1715
|
+
ownerId: number | null;
|
|
1716
|
+
parentId: number | null;
|
|
1717
|
+
parentType: string | null;
|
|
1718
|
+
idAtProvider: string | null;
|
|
1719
|
+
providerType: number | null;
|
|
1720
|
+
providerExtraData: string | null;
|
|
1721
|
+
requestData: string | null;
|
|
1722
|
+
responseData: string | null;
|
|
1723
|
+
status: number | null;
|
|
1724
|
+
price: number | null;
|
|
1725
|
+
currency: string | null;
|
|
1726
|
+
locked: boolean | null;
|
|
1727
|
+
numberOfTries: number | null;
|
|
1728
|
+
installmentId: number | null;
|
|
1729
|
+
invoiceId: string | null;
|
|
1730
|
+
}
|
|
1731
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1732
|
+
productId: number;
|
|
1733
|
+
product: Product;
|
|
1734
|
+
name: string | null;
|
|
1735
|
+
price: number;
|
|
1736
|
+
currency: CurrencyEnum;
|
|
1737
|
+
paymentProcessorId: number | null;
|
|
1738
|
+
startDate: Date;
|
|
1739
|
+
endDate: Date;
|
|
1740
|
+
groupId?: number;
|
|
1741
|
+
groupName?: string;
|
|
1742
|
+
originalPrice?: number;
|
|
1743
|
+
deletedAt?: Date;
|
|
1744
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1745
|
+
discountValue?: number;
|
|
1746
|
+
taxIncludedPrice?: number;
|
|
1747
|
+
}
|
|
1672
1748
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1673
1749
|
name?: string;
|
|
1674
1750
|
description?: string;
|
|
@@ -1686,56 +1762,90 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1686
1762
|
isMandatory: boolean;
|
|
1687
1763
|
productId: number;
|
|
1688
1764
|
}
|
|
1689
|
-
export declare class
|
|
1765
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1690
1766
|
name: string;
|
|
1767
|
+
quantity: number;
|
|
1768
|
+
paymentProcessorId?: string;
|
|
1769
|
+
startDate?: Date;
|
|
1770
|
+
endDate?: Date;
|
|
1771
|
+
isPublic: boolean;
|
|
1772
|
+
productType?: ProductTypesEnum;
|
|
1773
|
+
GL?: string;
|
|
1774
|
+
downpayment?: number;
|
|
1691
1775
|
description?: string;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1776
|
+
prices: Price[];
|
|
1777
|
+
currPrice: Price;
|
|
1778
|
+
productSubType?: ProductSubTypesEnum;
|
|
1779
|
+
punchCard: boolean;
|
|
1780
|
+
requiredProductIds?: number[];
|
|
1781
|
+
lineItems: LineItems[];
|
|
1782
|
+
resources: IResourcesAvailability[];
|
|
1783
|
+
variantParentId?: number;
|
|
1784
|
+
isAddon: boolean;
|
|
1785
|
+
isArchive: boolean;
|
|
1786
|
+
productVariants: Product[];
|
|
1787
|
+
variantParentProduct: Product;
|
|
1788
|
+
variantsObj: Variant[];
|
|
1789
|
+
variantTitlesObj: VariantTitle[];
|
|
1790
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1791
|
+
deletedAt?: Date;
|
|
1792
|
+
productsUsers: ProductsUsers[];
|
|
1793
|
+
isProRated: boolean;
|
|
1794
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1795
|
+
defaultPriceId?: number;
|
|
1796
|
+
tax: number;
|
|
1797
|
+
isTaxInclusive: boolean;
|
|
1798
|
+
defaultPrice?: Price;
|
|
1799
|
+
addOns?: IChildProduct[];
|
|
1800
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1801
|
+
productResources: ProductResource[];
|
|
1802
|
+
parentProductPackages: ProductPackage[];
|
|
1803
|
+
childProductPackages: ProductPackage[];
|
|
1804
|
+
sports?: number[] | null;
|
|
1805
|
+
durationMinutes?: number;
|
|
1806
|
+
durationDays?: number;
|
|
1807
|
+
forms?: number[] | null;
|
|
1808
|
+
isForAllCustomers?: boolean;
|
|
1809
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1810
|
+
reservedForCustomers: Customer[];
|
|
1811
|
+
reservedForMemberships: Membership[];
|
|
1812
|
+
activityTimes: ActivityTimes[];
|
|
1715
1813
|
purchasedResources: PurchasedResource[];
|
|
1716
1814
|
}
|
|
1717
|
-
export declare class
|
|
1815
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1718
1816
|
productId: number;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
currency: CurrencyEnum;
|
|
1723
|
-
paymentProcessorId: number | null;
|
|
1724
|
-
startDate: Date;
|
|
1725
|
-
endDate: Date;
|
|
1726
|
-
groupId?: number;
|
|
1727
|
-
groupName?: string;
|
|
1728
|
-
originalPrice?: number;
|
|
1817
|
+
maxMonths?: number;
|
|
1818
|
+
dayOfMonth?: number;
|
|
1819
|
+
name: string;
|
|
1729
1820
|
deletedAt?: Date;
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
taxIncludedPrice?: number;
|
|
1821
|
+
schedule: PaymentPlanSchedule[];
|
|
1822
|
+
product?: Product;
|
|
1733
1823
|
}
|
|
1734
|
-
export declare class
|
|
1735
|
-
|
|
1736
|
-
|
|
1824
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1825
|
+
productId: number;
|
|
1826
|
+
resourceId: number;
|
|
1827
|
+
resourceType: ResourceNameTypeEnum;
|
|
1737
1828
|
deletedAt?: Date;
|
|
1738
|
-
|
|
1829
|
+
programSeason: ProgramSeason;
|
|
1830
|
+
event: Event;
|
|
1831
|
+
product: Product;
|
|
1832
|
+
productPackages: ProductPackage[];
|
|
1833
|
+
resourceName?: string;
|
|
1834
|
+
}
|
|
1835
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1836
|
+
parentProductId: number;
|
|
1837
|
+
childProductId: number;
|
|
1838
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1839
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1840
|
+
deletedAt?: Date;
|
|
1841
|
+
productResource: ProductResource;
|
|
1842
|
+
childProduct: Product;
|
|
1843
|
+
parentProduct: Product;
|
|
1844
|
+
price: number;
|
|
1845
|
+
isFlatPrice: boolean;
|
|
1846
|
+
durationMinutes?: number;
|
|
1847
|
+
durationDays?: number;
|
|
1848
|
+
level?: ProductPackageLevelEnum;
|
|
1739
1849
|
}
|
|
1740
1850
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1741
1851
|
price: number;
|
|
@@ -1764,82 +1874,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1764
1874
|
refundReasonId?: number;
|
|
1765
1875
|
refundNote?: string;
|
|
1766
1876
|
}
|
|
1767
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1768
|
-
id: number;
|
|
1769
|
-
provider: string;
|
|
1770
|
-
providerId: string | null;
|
|
1771
|
-
parentId: number | null;
|
|
1772
|
-
parentType: string | null;
|
|
1773
|
-
status: number | null;
|
|
1774
|
-
token: string | null;
|
|
1775
|
-
refreshToken: string | null;
|
|
1776
|
-
tokenCreatedAt: Date | null;
|
|
1777
|
-
tokenValidUpTo: Date | null;
|
|
1778
|
-
createdAt: Date;
|
|
1779
|
-
updatedAt: Date;
|
|
1780
|
-
user: User;
|
|
1781
|
-
userId: number | null;
|
|
1782
|
-
}
|
|
1783
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1784
|
-
token: string | null;
|
|
1785
|
-
userId: number | null;
|
|
1786
|
-
validUntil: Date | null;
|
|
1787
|
-
active: boolean | null;
|
|
1788
|
-
}
|
|
1789
|
-
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1790
|
-
content: string;
|
|
1791
|
-
creatingUserId: number;
|
|
1792
|
-
user: User;
|
|
1793
|
-
isPublic: boolean;
|
|
1794
|
-
deletedAt: Date;
|
|
1795
|
-
paymentId: number;
|
|
1796
|
-
payment: Payment;
|
|
1797
|
-
}
|
|
1798
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1799
|
-
parentProductId: number;
|
|
1800
|
-
childProductId: number;
|
|
1801
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1802
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1803
|
-
deletedAt?: Date;
|
|
1804
|
-
productResource: ProductResource;
|
|
1805
|
-
childProduct: Product;
|
|
1806
|
-
parentProduct: Product;
|
|
1807
|
-
price: number;
|
|
1808
|
-
isFlatPrice: boolean;
|
|
1809
|
-
durationMinutes?: number;
|
|
1810
|
-
durationDays?: number;
|
|
1811
|
-
level?: ProductPackageLevelEnum;
|
|
1812
|
-
}
|
|
1813
|
-
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1814
|
-
productId: number;
|
|
1815
|
-
resourceId: number;
|
|
1816
|
-
resourceType: ResourceNameTypeEnum;
|
|
1817
|
-
deletedAt?: Date;
|
|
1818
|
-
programSeason: ProgramSeason;
|
|
1819
|
-
event: Event;
|
|
1820
|
-
product: Product;
|
|
1821
|
-
productPackages: ProductPackage[];
|
|
1822
|
-
resourceName?: string;
|
|
1823
|
-
}
|
|
1824
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1825
|
-
productId: number;
|
|
1826
|
-
customerId: number;
|
|
1827
|
-
customer: Customer;
|
|
1828
|
-
deletedAt?: Date;
|
|
1829
|
-
product: Product;
|
|
1830
|
-
}
|
|
1831
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1832
|
-
productId: number;
|
|
1833
|
-
variantId: number;
|
|
1834
|
-
}
|
|
1835
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1836
|
-
type: ProgramHighlightTypeEnum;
|
|
1837
|
-
ordinal: number | null;
|
|
1838
|
-
title: string | null;
|
|
1839
|
-
data: any | null;
|
|
1840
|
-
program: Program;
|
|
1841
|
-
deletedAt?: Date;
|
|
1842
|
-
}
|
|
1843
1877
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1844
1878
|
productId: number;
|
|
1845
1879
|
userId: number;
|
|
@@ -1857,50 +1891,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1857
1891
|
slots?: Slot[];
|
|
1858
1892
|
addons?: Addon[];
|
|
1859
1893
|
}
|
|
1860
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1861
|
-
productUserId: number;
|
|
1862
|
-
resourceId: number;
|
|
1863
|
-
resourceType: ResourceNameTypeEnum;
|
|
1864
|
-
status: PurchasedResourceStatusEnum;
|
|
1865
|
-
startDate?: string;
|
|
1866
|
-
startTime?: string;
|
|
1867
|
-
endDate?: string;
|
|
1868
|
-
endTime?: string;
|
|
1869
|
-
productUser?: ProductsUsers;
|
|
1870
|
-
lineItem?: LineItems;
|
|
1871
|
-
eventAttendee?: EventAttendee;
|
|
1872
|
-
seasonAttendee?: SeasonAttendee;
|
|
1873
|
-
leagueAttendee?: SeasonPool;
|
|
1874
|
-
membership?: Membership;
|
|
1875
|
-
program?: Program;
|
|
1876
|
-
programSeason?: ProgramSeason;
|
|
1877
|
-
leagueSeason?: LeagueSeason;
|
|
1878
|
-
space?: Resource;
|
|
1879
|
-
product?: Product;
|
|
1880
|
-
event?: Event;
|
|
1881
|
-
}
|
|
1882
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1883
|
-
productId: number;
|
|
1884
|
-
variantTitleId: number;
|
|
1885
|
-
}
|
|
1886
|
-
export declare class Questions extends BondBaseEntity {
|
|
1887
|
-
questionType: string | null;
|
|
1888
|
-
ordinal: number | null;
|
|
1889
|
-
pageOrdinal: number | null;
|
|
1890
|
-
isActive: boolean | null;
|
|
1891
|
-
isMandatory: boolean | null;
|
|
1892
|
-
metaData: any | null;
|
|
1893
|
-
question: string | null;
|
|
1894
|
-
creatorId: number | null;
|
|
1895
|
-
creatorType: string | null;
|
|
1896
|
-
userCreatorId: number | null;
|
|
1897
|
-
ownerId: number | null;
|
|
1898
|
-
questionnaireId: number | null;
|
|
1899
|
-
}
|
|
1900
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1901
|
-
title: string | null;
|
|
1902
|
-
answerTitle: AnswerTitle;
|
|
1903
|
-
}
|
|
1904
1894
|
export declare class Program extends BondBaseEntity {
|
|
1905
1895
|
type: ProgramTypesEnum;
|
|
1906
1896
|
name: string;
|
|
@@ -1923,6 +1913,129 @@ export declare class Program extends BondBaseEntity {
|
|
|
1923
1913
|
programSeason: ProgramSeason[];
|
|
1924
1914
|
purchasedResources: PurchasedResource[];
|
|
1925
1915
|
}
|
|
1916
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
1917
|
+
programId: number;
|
|
1918
|
+
name: string;
|
|
1919
|
+
description: string | null;
|
|
1920
|
+
GL?: string | null;
|
|
1921
|
+
status: PublishingStatusEnum;
|
|
1922
|
+
startDate: Date;
|
|
1923
|
+
endDate: Date;
|
|
1924
|
+
registrationStartDate: Date | null;
|
|
1925
|
+
registrationEndDate: Date | null;
|
|
1926
|
+
questionnaires: number[] | null;
|
|
1927
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
1928
|
+
parentSeasonId: number | null;
|
|
1929
|
+
maxParticipants: number | null;
|
|
1930
|
+
maxMaleParticipants: number | null;
|
|
1931
|
+
maxFemaleParticipants: number | null;
|
|
1932
|
+
maxWaitlist: number | null;
|
|
1933
|
+
maxMaleWaitlist: number | null;
|
|
1934
|
+
maxFemaleWaitlist: number | null;
|
|
1935
|
+
organizationId: number;
|
|
1936
|
+
facilityId: number | null;
|
|
1937
|
+
facilityName?: string;
|
|
1938
|
+
addressId: number | null;
|
|
1939
|
+
sport: SportsEnum;
|
|
1940
|
+
minAge: string;
|
|
1941
|
+
maxAge: string;
|
|
1942
|
+
gender: GenderEnum;
|
|
1943
|
+
level: LevelOfPlayEnum[] | null;
|
|
1944
|
+
blockedDated: BlockedDate[];
|
|
1945
|
+
seasonAttendees: SeasonAttendee[];
|
|
1946
|
+
products: Product[];
|
|
1947
|
+
linkSEO: string;
|
|
1948
|
+
address: Address;
|
|
1949
|
+
defaultProductId?: number;
|
|
1950
|
+
longDescription?: string;
|
|
1951
|
+
isPunchCard?: boolean;
|
|
1952
|
+
deletedAt?: Date;
|
|
1953
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
1954
|
+
program: Program;
|
|
1955
|
+
spaces?: Resource[];
|
|
1956
|
+
earlyRegistrationStartDate?: Date;
|
|
1957
|
+
earlyRegistrationEndDate?: Date;
|
|
1958
|
+
lateRegistrationStartDate?: Date;
|
|
1959
|
+
lateRegistrationEndDate?: Date;
|
|
1960
|
+
requiredProductIds?: number[];
|
|
1961
|
+
registrationConstraints?: RegistrationConstraint;
|
|
1962
|
+
sessionSegments: ProgramSeason[];
|
|
1963
|
+
sessionEvents: Event[];
|
|
1964
|
+
parentSession: ProgramSeason;
|
|
1965
|
+
activityTimes: ActivityTimes[];
|
|
1966
|
+
productResources: ProductResource[];
|
|
1967
|
+
facility: Facility;
|
|
1968
|
+
purchasedResources: PurchasedResource[];
|
|
1969
|
+
}
|
|
1970
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1971
|
+
productId: number;
|
|
1972
|
+
variantTitleId: number;
|
|
1973
|
+
}
|
|
1974
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1975
|
+
invoiceId: string | null;
|
|
1976
|
+
price: number | null;
|
|
1977
|
+
status: InvoiceStatusEnum | null;
|
|
1978
|
+
sentForClientDate: Date | null;
|
|
1979
|
+
payingUserId?: number | null;
|
|
1980
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1981
|
+
lineItems: LineItems[];
|
|
1982
|
+
lineItemHistory: LineItemHistory[];
|
|
1983
|
+
paymentStatus: PaymentStatusEnum;
|
|
1984
|
+
paymentMethodId?: string;
|
|
1985
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1986
|
+
paidAmount: number;
|
|
1987
|
+
currency: CurrencyEnum;
|
|
1988
|
+
mainPaymentId: number;
|
|
1989
|
+
isScheduled: boolean;
|
|
1990
|
+
isRefunded: boolean;
|
|
1991
|
+
isVoided: boolean;
|
|
1992
|
+
creatingUserId: number;
|
|
1993
|
+
shiftId: number;
|
|
1994
|
+
platform: PlatformsEnum;
|
|
1995
|
+
invoiceNotes: InvoiceNote[];
|
|
1996
|
+
slots: Slot[];
|
|
1997
|
+
}
|
|
1998
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1999
|
+
title: string | null;
|
|
2000
|
+
answerTitle: AnswerTitle;
|
|
2001
|
+
}
|
|
2002
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2003
|
+
resourceType: ResourceNameTypeEnum;
|
|
2004
|
+
resourceId: number;
|
|
2005
|
+
openNumDays?: number;
|
|
2006
|
+
openNumMinutes?: number;
|
|
2007
|
+
openTime?: string;
|
|
2008
|
+
closeNumDays?: number;
|
|
2009
|
+
closeNumMinutes?: number;
|
|
2010
|
+
closeTime?: string;
|
|
2011
|
+
deletedAt?: Date;
|
|
2012
|
+
}
|
|
2013
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
2014
|
+
productId: number;
|
|
2015
|
+
variantId: number;
|
|
2016
|
+
}
|
|
2017
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2018
|
+
productUserId: number;
|
|
2019
|
+
resourceId: number;
|
|
2020
|
+
resourceType: ResourceNameTypeEnum;
|
|
2021
|
+
status: PurchasedResourceStatusEnum;
|
|
2022
|
+
startDate?: string;
|
|
2023
|
+
startTime?: string;
|
|
2024
|
+
endDate?: string;
|
|
2025
|
+
endTime?: string;
|
|
2026
|
+
productUser?: ProductsUsers;
|
|
2027
|
+
lineItem?: LineItems;
|
|
2028
|
+
eventAttendee?: EventAttendee;
|
|
2029
|
+
seasonAttendee?: SeasonAttendee;
|
|
2030
|
+
leagueAttendee?: SeasonPool;
|
|
2031
|
+
membership?: Membership;
|
|
2032
|
+
program?: Program;
|
|
2033
|
+
programSeason?: ProgramSeason;
|
|
2034
|
+
leagueSeason?: LeagueSeason;
|
|
2035
|
+
space?: Resource;
|
|
2036
|
+
product?: Product;
|
|
2037
|
+
event?: Event;
|
|
2038
|
+
}
|
|
1926
2039
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
1927
2040
|
name: string;
|
|
1928
2041
|
resourceType: ResourceTypeEnum;
|
|
@@ -1951,6 +2064,11 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
1951
2064
|
purchasedResources: PurchasedResource[];
|
|
1952
2065
|
linkSEO: string;
|
|
1953
2066
|
}
|
|
2067
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2068
|
+
reason: string;
|
|
2069
|
+
ordinal: number;
|
|
2070
|
+
deletedAt: Date;
|
|
2071
|
+
}
|
|
1954
2072
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
1955
2073
|
name?: string;
|
|
1956
2074
|
description?: string;
|
|
@@ -1983,152 +2101,28 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
1983
2101
|
publicNotes?: string;
|
|
1984
2102
|
slots?: Slot[];
|
|
1985
2103
|
}
|
|
1986
|
-
export declare class
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
isPublic: boolean;
|
|
1993
|
-
productType?: ProductTypesEnum;
|
|
1994
|
-
GL?: string;
|
|
1995
|
-
downpayment?: number;
|
|
1996
|
-
description?: string;
|
|
1997
|
-
prices: Price[];
|
|
1998
|
-
currPrice: Price;
|
|
1999
|
-
productSubType?: ProductSubTypesEnum;
|
|
2000
|
-
punchCard: boolean;
|
|
2001
|
-
requiredProductIds?: number[];
|
|
2002
|
-
lineItems: LineItems[];
|
|
2003
|
-
resources: IResourcesAvailability[];
|
|
2004
|
-
variantParentId?: number;
|
|
2005
|
-
isAddon: boolean;
|
|
2006
|
-
isArchive: boolean;
|
|
2007
|
-
productVariants: Product[];
|
|
2008
|
-
variantParentProduct: Product;
|
|
2009
|
-
variantsObj: Variant[];
|
|
2010
|
-
variantTitlesObj: VariantTitle[];
|
|
2011
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2104
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2105
|
+
type: ProgramHighlightTypeEnum;
|
|
2106
|
+
ordinal: number | null;
|
|
2107
|
+
title: string | null;
|
|
2108
|
+
data: any | null;
|
|
2109
|
+
program: Program;
|
|
2012
2110
|
deletedAt?: Date;
|
|
2013
|
-
productsUsers: ProductsUsers[];
|
|
2014
|
-
isProRated: boolean;
|
|
2015
|
-
entitledPrices?: GroupItemsPricing[];
|
|
2016
|
-
defaultPriceId?: number;
|
|
2017
|
-
tax: number;
|
|
2018
|
-
isTaxInclusive: boolean;
|
|
2019
|
-
defaultPrice?: Price;
|
|
2020
|
-
addOns?: IChildProduct[];
|
|
2021
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
2022
|
-
productResources: ProductResource[];
|
|
2023
|
-
parentProductPackages: ProductPackage[];
|
|
2024
|
-
childProductPackages: ProductPackage[];
|
|
2025
|
-
sports?: number[] | null;
|
|
2026
|
-
durationMinutes?: number;
|
|
2027
|
-
durationDays?: number;
|
|
2028
|
-
forms?: number[] | null;
|
|
2029
|
-
isForAllCustomers?: boolean;
|
|
2030
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
2031
|
-
reservedForCustomers: Customer[];
|
|
2032
|
-
reservedForMemberships: Membership[];
|
|
2033
|
-
activityTimes: ActivityTimes[];
|
|
2034
|
-
purchasedResources: PurchasedResource[];
|
|
2035
|
-
}
|
|
2036
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2037
|
-
reason: string;
|
|
2038
|
-
ordinal: number;
|
|
2039
|
-
deletedAt: Date;
|
|
2040
|
-
}
|
|
2041
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2042
|
-
resourceType: ResourceNameTypeEnum;
|
|
2043
|
-
resourceId: number;
|
|
2044
|
-
openNumDays?: number;
|
|
2045
|
-
openNumMinutes?: number;
|
|
2046
|
-
openTime?: string;
|
|
2047
|
-
closeNumDays?: number;
|
|
2048
|
-
closeNumMinutes?: number;
|
|
2049
|
-
closeTime?: string;
|
|
2050
|
-
deletedAt?: Date;
|
|
2051
|
-
}
|
|
2052
|
-
export declare class PaymentV1 extends BondBaseEntity {
|
|
2053
|
-
userId: number | null;
|
|
2054
|
-
ownerId: number | null;
|
|
2055
|
-
parentId: number | null;
|
|
2056
|
-
parentType: string | null;
|
|
2057
|
-
idAtProvider: string | null;
|
|
2058
|
-
providerType: number | null;
|
|
2059
|
-
providerExtraData: string | null;
|
|
2060
|
-
requestData: string | null;
|
|
2061
|
-
responseData: string | null;
|
|
2062
|
-
status: number | null;
|
|
2063
|
-
price: number | null;
|
|
2064
|
-
currency: string | null;
|
|
2065
|
-
locked: boolean | null;
|
|
2066
|
-
numberOfTries: number | null;
|
|
2067
|
-
installmentId: number | null;
|
|
2068
|
-
invoiceId: string | null;
|
|
2069
2111
|
}
|
|
2070
|
-
export declare class
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
product?: Product;
|
|
2112
|
+
export declare class School extends BondBaseEntity {
|
|
2113
|
+
name: string | null;
|
|
2114
|
+
alias: string[] | null;
|
|
2115
|
+
addressId: number | null;
|
|
2116
|
+
website: string | null;
|
|
2117
|
+
phone: string | null;
|
|
2118
|
+
dataId: number | null;
|
|
2078
2119
|
}
|
|
2079
|
-
export declare class
|
|
2080
|
-
programId: number;
|
|
2120
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2081
2121
|
name: string;
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
startDate: Date;
|
|
2086
|
-
endDate: Date;
|
|
2087
|
-
registrationStartDate: Date | null;
|
|
2088
|
-
registrationEndDate: Date | null;
|
|
2089
|
-
questionnaires: number[] | null;
|
|
2090
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
2091
|
-
parentSeasonId: number | null;
|
|
2092
|
-
maxParticipants: number | null;
|
|
2093
|
-
maxMaleParticipants: number | null;
|
|
2094
|
-
maxFemaleParticipants: number | null;
|
|
2095
|
-
maxWaitlist: number | null;
|
|
2096
|
-
maxMaleWaitlist: number | null;
|
|
2097
|
-
maxFemaleWaitlist: number | null;
|
|
2098
|
-
organizationId: number;
|
|
2099
|
-
facilityId: number | null;
|
|
2100
|
-
facilityName?: string;
|
|
2101
|
-
addressId: number | null;
|
|
2102
|
-
sport: SportsEnum;
|
|
2103
|
-
minAge: string;
|
|
2104
|
-
maxAge: string;
|
|
2105
|
-
gender: GenderEnum;
|
|
2106
|
-
level: LevelOfPlayEnum[] | null;
|
|
2107
|
-
blockedDated: BlockedDate[];
|
|
2108
|
-
seasonAttendees: SeasonAttendee[];
|
|
2109
|
-
products: Product[];
|
|
2110
|
-
linkSEO: string;
|
|
2111
|
-
address: Address;
|
|
2112
|
-
defaultProductId?: number;
|
|
2113
|
-
longDescription?: string;
|
|
2114
|
-
isPunchCard?: boolean;
|
|
2122
|
+
facilityId: number;
|
|
2123
|
+
parentSlotId: number;
|
|
2124
|
+
childrenSlotIds: number[];
|
|
2115
2125
|
deletedAt?: Date;
|
|
2116
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2117
|
-
program: Program;
|
|
2118
|
-
spaces?: Resource[];
|
|
2119
|
-
earlyRegistrationStartDate?: Date;
|
|
2120
|
-
earlyRegistrationEndDate?: Date;
|
|
2121
|
-
lateRegistrationStartDate?: Date;
|
|
2122
|
-
lateRegistrationEndDate?: Date;
|
|
2123
|
-
requiredProductIds?: number[];
|
|
2124
|
-
registrationConstraints?: RegistrationConstraint;
|
|
2125
|
-
sessionSegments: ProgramSeason[];
|
|
2126
|
-
sessionEvents: Event[];
|
|
2127
|
-
parentSession: ProgramSeason;
|
|
2128
|
-
activityTimes: ActivityTimes[];
|
|
2129
|
-
productResources: ProductResource[];
|
|
2130
|
-
facility: Facility;
|
|
2131
|
-
purchasedResources: PurchasedResource[];
|
|
2132
2126
|
}
|
|
2133
2127
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2134
2128
|
status: RequestStatusEnum;
|
|
@@ -2144,38 +2138,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2144
2138
|
deletedAt?: Date;
|
|
2145
2139
|
purchasedResource: PurchasedResource;
|
|
2146
2140
|
}
|
|
2147
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
2148
|
-
email: string | null;
|
|
2149
|
-
notificationType: NotificationTypeEnum | null;
|
|
2150
|
-
resourceId: number | null;
|
|
2151
|
-
resourceType: string | null;
|
|
2152
|
-
}
|
|
2153
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2154
|
-
name: string | null;
|
|
2155
|
-
ordinal: number | null;
|
|
2156
|
-
seasonId: number | null;
|
|
2157
|
-
color: string | null;
|
|
2158
|
-
}
|
|
2159
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2160
|
-
stationId: number;
|
|
2161
|
-
subcategoryId: number;
|
|
2162
|
-
productType: ProductTypesEnum;
|
|
2163
|
-
deletedAt?: Date;
|
|
2164
|
-
station: Station;
|
|
2165
|
-
subcategory: Subcategory;
|
|
2166
|
-
}
|
|
2167
|
-
export declare class School extends BondBaseEntity {
|
|
2168
|
-
name: string | null;
|
|
2169
|
-
alias: string[] | null;
|
|
2170
|
-
addressId: number | null;
|
|
2171
|
-
website: string | null;
|
|
2172
|
-
phone: string | null;
|
|
2173
|
-
dataId: number | null;
|
|
2174
|
-
}
|
|
2175
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2176
|
-
blockingSpaceId: number;
|
|
2177
|
-
blockedSpaceId: number;
|
|
2178
|
-
}
|
|
2179
2141
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2180
2142
|
seasonId: number | null;
|
|
2181
2143
|
teamId: number | null;
|
|
@@ -2186,60 +2148,13 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2186
2148
|
metaData: any | null;
|
|
2187
2149
|
team: Team;
|
|
2188
2150
|
}
|
|
2189
|
-
export declare class
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
phoneNumber: string | null;
|
|
2194
|
-
about: string | null;
|
|
2195
|
-
password: string | null;
|
|
2196
|
-
passwordResetToken: string | null;
|
|
2197
|
-
passwordResetExpires: Date | null;
|
|
2198
|
-
status: string | null;
|
|
2199
|
-
pushNotifications: boolean | null;
|
|
2200
|
-
notificationSettings: any | null;
|
|
2201
|
-
addressId: number | null;
|
|
2202
|
-
address: Address;
|
|
2203
|
-
currentAddressId: number | null;
|
|
2204
|
-
merchantId: number | null;
|
|
2205
|
-
loginToken: string | null;
|
|
2206
|
-
gender: GenderEnum | null;
|
|
2207
|
-
height: number | null;
|
|
2208
|
-
weight: number | null;
|
|
2209
|
-
birthDate: Date | null;
|
|
2210
|
-
lastLogin: Date | null;
|
|
2211
|
-
lastInteractionDay: Date | null;
|
|
2212
|
-
createAsId: number | null;
|
|
2213
|
-
createAsType: ResourceNameTypeEnum | null;
|
|
2214
|
-
motto: string | null;
|
|
2215
|
-
privateProfile: boolean | null;
|
|
2216
|
-
allowMultiSignHack: boolean | null;
|
|
2217
|
-
deletedAt: Date | null;
|
|
2218
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2219
|
-
athlete: Athlete;
|
|
2220
|
-
eventAttendees: EventAttendee[];
|
|
2221
|
-
seasonAttendees: SeasonAttendee[];
|
|
2222
|
-
linkedAccounts: LinkedAccounts[];
|
|
2223
|
-
profilePicture: Media;
|
|
2224
|
-
usersRoles: UserRole[];
|
|
2225
|
-
invoiceNotes: InvoiceNote[];
|
|
2226
|
-
paymentNotes: PaymentNote[];
|
|
2227
|
-
}
|
|
2228
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2229
|
-
name: string;
|
|
2230
|
-
facilityId: number;
|
|
2231
|
-
parentSlotId: number;
|
|
2232
|
-
childrenSlotIds: number[];
|
|
2151
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2152
|
+
stationId: number;
|
|
2153
|
+
subcategoryId: number;
|
|
2154
|
+
productType: ProductTypesEnum;
|
|
2233
2155
|
deletedAt?: Date;
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
teamId: number | null;
|
|
2237
|
-
userId: number | null;
|
|
2238
|
-
paymentId: number | null;
|
|
2239
|
-
hasPaid: boolean | null;
|
|
2240
|
-
status: TeamMemberStatusEnum | null;
|
|
2241
|
-
role: TeamMemberRoleEnum;
|
|
2242
|
-
user: User;
|
|
2156
|
+
station: Station;
|
|
2157
|
+
subcategory: Subcategory;
|
|
2243
2158
|
}
|
|
2244
2159
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2245
2160
|
productType: ProductTypesEnum;
|
|
@@ -2249,28 +2164,14 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2249
2164
|
stationToSubcategories: StationToSubcategory[];
|
|
2250
2165
|
stations: Station[];
|
|
2251
2166
|
}
|
|
2252
|
-
export declare class
|
|
2253
|
-
|
|
2254
|
-
variants: Variant[];
|
|
2255
|
-
}
|
|
2256
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2257
|
-
entityId: number | null;
|
|
2167
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2168
|
+
teamId: number | null;
|
|
2258
2169
|
userId: number | null;
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
familyAccountId: number;
|
|
2264
|
-
userId: number;
|
|
2265
|
-
isAdmin: boolean;
|
|
2170
|
+
paymentId: number | null;
|
|
2171
|
+
hasPaid: boolean | null;
|
|
2172
|
+
status: TeamMemberStatusEnum | null;
|
|
2173
|
+
role: TeamMemberRoleEnum;
|
|
2266
2174
|
user: User;
|
|
2267
|
-
familyAccount: FamilyAccount;
|
|
2268
|
-
deletedAt?: Date;
|
|
2269
|
-
}
|
|
2270
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2271
|
-
groupId: number;
|
|
2272
|
-
userId: number;
|
|
2273
|
-
deletedAt?: Date;
|
|
2274
2175
|
}
|
|
2275
2176
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2276
2177
|
name: string;
|
|
@@ -2283,21 +2184,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2283
2184
|
subcategories: Subcategory[];
|
|
2284
2185
|
shifts?: Shift[];
|
|
2285
2186
|
}
|
|
2286
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2287
|
-
name: string;
|
|
2288
|
-
variantTitleId: number;
|
|
2289
|
-
variantTitle: VariantTitle;
|
|
2290
|
-
deletedAt?: Date;
|
|
2291
|
-
}
|
|
2292
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2293
|
-
email: string;
|
|
2294
|
-
teamId: number;
|
|
2295
|
-
invitedUserId?: number;
|
|
2296
|
-
userCreatorId: number;
|
|
2297
|
-
token: string;
|
|
2298
|
-
tokenExpirationDate: Date;
|
|
2299
|
-
isUsed: boolean;
|
|
2300
|
-
}
|
|
2301
2187
|
export declare class Team extends BondBaseEntity {
|
|
2302
2188
|
name: string | null;
|
|
2303
2189
|
description: string | null;
|
|
@@ -2332,6 +2218,128 @@ export declare class Team extends BondBaseEntity {
|
|
|
2332
2218
|
gender: number | null;
|
|
2333
2219
|
questionnaireId: number | null;
|
|
2334
2220
|
}
|
|
2221
|
+
export declare class User extends BondBaseEntity {
|
|
2222
|
+
firstName: string | null;
|
|
2223
|
+
lastName: string | null;
|
|
2224
|
+
email: string | null;
|
|
2225
|
+
phoneNumber: string | null;
|
|
2226
|
+
about: string | null;
|
|
2227
|
+
password: string | null;
|
|
2228
|
+
passwordResetToken: string | null;
|
|
2229
|
+
passwordResetExpires: Date | null;
|
|
2230
|
+
status: string | null;
|
|
2231
|
+
pushNotifications: boolean | null;
|
|
2232
|
+
notificationSettings: any | null;
|
|
2233
|
+
addressId: number | null;
|
|
2234
|
+
address: Address;
|
|
2235
|
+
currentAddressId: number | null;
|
|
2236
|
+
merchantId: number | null;
|
|
2237
|
+
loginToken: string | null;
|
|
2238
|
+
gender: GenderEnum | null;
|
|
2239
|
+
height: number | null;
|
|
2240
|
+
weight: number | null;
|
|
2241
|
+
birthDate: Date | null;
|
|
2242
|
+
lastLogin: Date | null;
|
|
2243
|
+
lastInteractionDay: Date | null;
|
|
2244
|
+
createAsId: number | null;
|
|
2245
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
2246
|
+
motto: string | null;
|
|
2247
|
+
privateProfile: boolean | null;
|
|
2248
|
+
allowMultiSignHack: boolean | null;
|
|
2249
|
+
deletedAt: Date | null;
|
|
2250
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2251
|
+
athlete: Athlete;
|
|
2252
|
+
eventAttendees: EventAttendee[];
|
|
2253
|
+
seasonAttendees: SeasonAttendee[];
|
|
2254
|
+
linkedAccounts: LinkedAccounts[];
|
|
2255
|
+
profilePicture: Media;
|
|
2256
|
+
usersRoles: UserRole[];
|
|
2257
|
+
invoiceNotes: InvoiceNote[];
|
|
2258
|
+
paymentNotes: PaymentNote[];
|
|
2259
|
+
}
|
|
2260
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2261
|
+
email: string;
|
|
2262
|
+
teamId: number;
|
|
2263
|
+
invitedUserId?: number;
|
|
2264
|
+
userCreatorId: number;
|
|
2265
|
+
token: string;
|
|
2266
|
+
tokenExpirationDate: Date;
|
|
2267
|
+
isUsed: boolean;
|
|
2268
|
+
}
|
|
2269
|
+
export declare class Questions extends BondBaseEntity {
|
|
2270
|
+
questionType: string | null;
|
|
2271
|
+
ordinal: number | null;
|
|
2272
|
+
pageOrdinal: number | null;
|
|
2273
|
+
isActive: boolean | null;
|
|
2274
|
+
isMandatory: boolean | null;
|
|
2275
|
+
metaData: any | null;
|
|
2276
|
+
question: string | null;
|
|
2277
|
+
creatorId: number | null;
|
|
2278
|
+
creatorType: string | null;
|
|
2279
|
+
userCreatorId: number | null;
|
|
2280
|
+
ownerId: number | null;
|
|
2281
|
+
questionnaireId: number | null;
|
|
2282
|
+
}
|
|
2283
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2284
|
+
blockingSpaceId: number;
|
|
2285
|
+
blockedSpaceId: number;
|
|
2286
|
+
}
|
|
2287
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2288
|
+
groupId: number;
|
|
2289
|
+
userId: number;
|
|
2290
|
+
deletedAt?: Date;
|
|
2291
|
+
}
|
|
2292
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2293
|
+
name: string;
|
|
2294
|
+
variantTitleId: number;
|
|
2295
|
+
variantTitle: VariantTitle;
|
|
2296
|
+
deletedAt?: Date;
|
|
2297
|
+
}
|
|
2298
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2299
|
+
entityId: number | null;
|
|
2300
|
+
userId: number | null;
|
|
2301
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2302
|
+
user: User;
|
|
2303
|
+
}
|
|
2304
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2305
|
+
name: string | null;
|
|
2306
|
+
ordinal: number | null;
|
|
2307
|
+
seasonId: number | null;
|
|
2308
|
+
color: string | null;
|
|
2309
|
+
}
|
|
2310
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2311
|
+
name: string;
|
|
2312
|
+
variants: Variant[];
|
|
2313
|
+
}
|
|
2314
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2315
|
+
familyAccountId: number;
|
|
2316
|
+
userId: number;
|
|
2317
|
+
isAdmin: boolean;
|
|
2318
|
+
user: User;
|
|
2319
|
+
familyAccount: FamilyAccount;
|
|
2320
|
+
deletedAt?: Date;
|
|
2321
|
+
}
|
|
2322
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2323
|
+
projectToken: string;
|
|
2324
|
+
programTypesCollectionId?: string;
|
|
2325
|
+
programTagsCollectionId?: string;
|
|
2326
|
+
sportsCollectionId?: string;
|
|
2327
|
+
membershipCollectionId?: string;
|
|
2328
|
+
programsCollectionId?: string;
|
|
2329
|
+
}
|
|
2330
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
2331
|
+
paymentPlanId: number;
|
|
2332
|
+
paymentDate: Date;
|
|
2333
|
+
deletedAt?: Date;
|
|
2334
|
+
paymentPlan: ProductPaymentPlan;
|
|
2335
|
+
}
|
|
2336
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2337
|
+
productId: number;
|
|
2338
|
+
customerId: number;
|
|
2339
|
+
customer: Customer;
|
|
2340
|
+
deletedAt?: Date;
|
|
2341
|
+
product: Product;
|
|
2342
|
+
}
|
|
2335
2343
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2336
2344
|
seasonId?: number;
|
|
2337
2345
|
userId?: number;
|
|
@@ -2347,441 +2355,73 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2347
2355
|
purchasedResource: PurchasedResource;
|
|
2348
2356
|
season: LeagueSeason;
|
|
2349
2357
|
}
|
|
2350
|
-
export declare
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
sportsCollectionId?: string;
|
|
2355
|
-
membershipCollectionId?: string;
|
|
2356
|
-
programsCollectionId?: string;
|
|
2357
|
-
}
|
|
2358
|
-
export interface IEntitlementTerms {
|
|
2359
|
-
type: EntitlementTermsTypesEnum;
|
|
2360
|
-
id?: number;
|
|
2361
|
-
value?: string;
|
|
2362
|
-
minValue?: string;
|
|
2363
|
-
maxValue?: string;
|
|
2364
|
-
}
|
|
2365
|
-
export interface IQuestionAnswerObject {
|
|
2366
|
-
questionId: number;
|
|
2367
|
-
value: string;
|
|
2368
|
-
}
|
|
2369
|
-
export interface ILowestPriceForItem {
|
|
2370
|
-
itemId: number;
|
|
2371
|
-
itemType: ResourceNameTypeEnum;
|
|
2372
|
-
groupId: number;
|
|
2373
|
-
groupName?: string;
|
|
2374
|
-
price: number;
|
|
2375
|
-
overridesPrice: boolean;
|
|
2376
|
-
}
|
|
2377
|
-
export interface IResourcesAvailability {
|
|
2378
|
-
resourceType: ResourceNameTypeEnum;
|
|
2379
|
-
quantity: number;
|
|
2380
|
-
resourcesIds: number[];
|
|
2381
|
-
isPunchCard: boolean;
|
|
2382
|
-
resources?: any[];
|
|
2383
|
-
}
|
|
2384
|
-
export interface IPackageResponse {
|
|
2385
|
-
parentProduct: Product;
|
|
2386
|
-
children: IChildProduct[];
|
|
2358
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2359
|
+
QUESTION = "question",
|
|
2360
|
+
CITY = "city",
|
|
2361
|
+
MEMBERSHIP = "membership"
|
|
2387
2362
|
}
|
|
2388
|
-
export
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2363
|
+
export declare enum ResourceNameTypeEnum {
|
|
2364
|
+
EVENT = "event",
|
|
2365
|
+
VENUE = "venue",
|
|
2366
|
+
TEAM = "team",
|
|
2367
|
+
LEAGUE = "league",
|
|
2368
|
+
USER = "user",
|
|
2369
|
+
ORGANIZATION = "organization",
|
|
2370
|
+
APP = "app",
|
|
2371
|
+
FEED = "feed",
|
|
2372
|
+
MATCH = "match",
|
|
2373
|
+
ROUND = "round",
|
|
2374
|
+
PORTAL = "portal",
|
|
2375
|
+
SEASON = "season",
|
|
2376
|
+
TOURNAMENT = "tournament",
|
|
2377
|
+
MEMBERSHIP = "membership",
|
|
2378
|
+
DIVISION = "division",
|
|
2379
|
+
GAMESLOT = "gameslot",
|
|
2380
|
+
SPACE = "space",
|
|
2381
|
+
RESERVATION = "reservation",
|
|
2382
|
+
INVOICE = "invoice",
|
|
2383
|
+
CUSTOMER = "customer",
|
|
2384
|
+
PACKAGE = "package",
|
|
2385
|
+
FACILITY = "facility",
|
|
2386
|
+
PROGRAM = "program",
|
|
2387
|
+
PROGRAM_SEASON = "program_season",
|
|
2388
|
+
PRODUCT = "product",
|
|
2389
|
+
GROUP = "group",
|
|
2390
|
+
VARIANT = "variant",
|
|
2391
|
+
SLOT = "slot",
|
|
2392
|
+
ADDON = "addon"
|
|
2392
2393
|
}
|
|
2393
|
-
export
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
products: Product[];
|
|
2399
|
-
redeemNext: ProductsUsers;
|
|
2394
|
+
export declare enum DirectBookingTypesEnum {
|
|
2395
|
+
DIRECT_FOR_ALL = "all",
|
|
2396
|
+
DIRECT_FOR_NONE = "none",
|
|
2397
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2398
|
+
NO_SETTING = "no_setting"
|
|
2400
2399
|
}
|
|
2401
|
-
export
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
userGender: number;
|
|
2406
|
-
userBirthDate: Date;
|
|
2407
|
-
userProfilePicUrl: string;
|
|
2408
|
-
customerId: number;
|
|
2409
|
-
customerEmail: string;
|
|
2410
|
-
paymentStatus: string;
|
|
2411
|
-
productName: string;
|
|
2412
|
-
punchCard: boolean;
|
|
2400
|
+
export declare enum GenderEnum {
|
|
2401
|
+
OTHER = 1,
|
|
2402
|
+
MALE = 2,
|
|
2403
|
+
FEMALE = 3
|
|
2413
2404
|
}
|
|
2414
|
-
export declare
|
|
2415
|
-
|
|
2416
|
-
|
|
2405
|
+
export declare enum LevelOfPlayEnum {
|
|
2406
|
+
BEGINNER = 1,
|
|
2407
|
+
INTERMEDIATE = 2,
|
|
2408
|
+
ADVANCED = 3,
|
|
2409
|
+
SEMIPRO = 4,
|
|
2410
|
+
SPECTATOR = 5
|
|
2417
2411
|
}
|
|
2418
|
-
export declare
|
|
2419
|
-
|
|
2420
|
-
|
|
2412
|
+
export declare enum ProgramTypesEnum {
|
|
2413
|
+
LEAGUE = 0,
|
|
2414
|
+
TOURNAMENT = 1,
|
|
2415
|
+
CLASS = 2,
|
|
2416
|
+
CLINIC = 3,
|
|
2417
|
+
CAMP = 4,
|
|
2418
|
+
LESSON = 5,
|
|
2419
|
+
CLUB_TEAM = 6
|
|
2421
2420
|
}
|
|
2422
|
-
export
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2427
|
-
bondPaidPayment: Payment;
|
|
2428
|
-
invoice?: Invoice;
|
|
2429
|
-
customer?: Customer;
|
|
2430
|
-
}
|
|
2431
|
-
export interface IPartialPaymentData {
|
|
2432
|
-
purchasingUserId: number;
|
|
2433
|
-
paymentData: PurchasePaymentDto;
|
|
2434
|
-
amountToPay: number;
|
|
2435
|
-
}
|
|
2436
|
-
export interface IPayment {
|
|
2437
|
-
id: number;
|
|
2438
|
-
total: number;
|
|
2439
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2440
|
-
status: PaymentStatusEnum;
|
|
2441
|
-
createdAt: Date;
|
|
2442
|
-
invoices: number[];
|
|
2443
|
-
}
|
|
2444
|
-
export interface IPaginationData<T> {
|
|
2445
|
-
meta: {
|
|
2446
|
-
totalItems: number;
|
|
2447
|
-
itemsPerPage: number;
|
|
2448
|
-
totalPages: number;
|
|
2449
|
-
currentPage: number;
|
|
2450
|
-
};
|
|
2451
|
-
data: T[];
|
|
2452
|
-
}
|
|
2453
|
-
export interface IPricesOfProductsResults {
|
|
2454
|
-
productId: number;
|
|
2455
|
-
userId: number;
|
|
2456
|
-
price: number;
|
|
2457
|
-
groupId?: number;
|
|
2458
|
-
groupName?: string;
|
|
2459
|
-
originalPrice?: number;
|
|
2460
|
-
priceWithoutTax: number;
|
|
2461
|
-
tax: number;
|
|
2462
|
-
isTaxInclusive: boolean;
|
|
2463
|
-
}
|
|
2464
|
-
export interface IPaymentMethodToFundLeft {
|
|
2465
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2466
|
-
paymentMethodId: string;
|
|
2467
|
-
fundLeft: number;
|
|
2468
|
-
ccLast4?: string;
|
|
2469
|
-
ccBrand?: string;
|
|
2470
|
-
}
|
|
2471
|
-
export interface IVariantsAndTitle {
|
|
2472
|
-
title: VariantTitle;
|
|
2473
|
-
variants: Variant[];
|
|
2474
|
-
}
|
|
2475
|
-
export interface IProgramSeasonActivityTimes {
|
|
2476
|
-
dayOfWeek: number;
|
|
2477
|
-
open: string;
|
|
2478
|
-
close: string;
|
|
2479
|
-
}
|
|
2480
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2481
|
-
date: string;
|
|
2482
|
-
startTime: string;
|
|
2483
|
-
endTime: string;
|
|
2484
|
-
}
|
|
2485
|
-
export interface IBlockedDates {
|
|
2486
|
-
name: string;
|
|
2487
|
-
startDate: Date;
|
|
2488
|
-
endDate: Date;
|
|
2489
|
-
}
|
|
2490
|
-
export interface ISingleMemberForRenewal {
|
|
2491
|
-
member_id: number;
|
|
2492
|
-
member_membershipId: number;
|
|
2493
|
-
member_userId: number;
|
|
2494
|
-
member_nextPaymentMethodId?: string;
|
|
2495
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2496
|
-
member_answerTitleIds?: number[];
|
|
2497
|
-
member_organizationId: number;
|
|
2498
|
-
line_paidAmount: number;
|
|
2499
|
-
line_productId: number;
|
|
2500
|
-
invoice_payingUserId: number;
|
|
2501
|
-
invoice_paymentMethodId: string;
|
|
2502
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2503
|
-
endDate: Date;
|
|
2504
|
-
membership_name: string;
|
|
2505
|
-
user_firstName: string;
|
|
2506
|
-
user_lastName: string;
|
|
2507
|
-
user_email: string;
|
|
2508
|
-
}
|
|
2509
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2510
|
-
package_parentProductId: number;
|
|
2511
|
-
line2_paidAmount: number;
|
|
2512
|
-
familyid: number;
|
|
2513
|
-
invoice_id: number;
|
|
2514
|
-
}
|
|
2515
|
-
export interface IResourceRegistrationData {
|
|
2516
|
-
id: number;
|
|
2517
|
-
resourceType: ResourceNameTypeEnum;
|
|
2518
|
-
openNumDays?: number;
|
|
2519
|
-
openNumMinutes?: number;
|
|
2520
|
-
openTime?: string;
|
|
2521
|
-
closeNumDays?: number;
|
|
2522
|
-
closeNumMinutes?: number;
|
|
2523
|
-
closeTime?: string;
|
|
2524
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2525
|
-
}
|
|
2526
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2527
|
-
id: number;
|
|
2528
|
-
startDate: string;
|
|
2529
|
-
startTime: string;
|
|
2530
|
-
}
|
|
2531
|
-
export interface IRegistrationConstraintsSetting {
|
|
2532
|
-
numDays?: number;
|
|
2533
|
-
numMinutes?: number;
|
|
2534
|
-
}
|
|
2535
|
-
export interface IAttendeeDataToNotify {
|
|
2536
|
-
firstName: string;
|
|
2537
|
-
lastName: string;
|
|
2538
|
-
email: string;
|
|
2539
|
-
sessionName: string;
|
|
2540
|
-
parentSessionName?: string;
|
|
2541
|
-
organizationName: string;
|
|
2542
|
-
programName: string;
|
|
2543
|
-
}
|
|
2544
|
-
export interface IEventInSchedule {
|
|
2545
|
-
eventId: number;
|
|
2546
|
-
eventName: string;
|
|
2547
|
-
eventStartDate: string;
|
|
2548
|
-
eventEndDate: string;
|
|
2549
|
-
eventStartTime: string;
|
|
2550
|
-
eventEndTime: string;
|
|
2551
|
-
programId: number;
|
|
2552
|
-
programName: string;
|
|
2553
|
-
programType: ProgramTypesEnum;
|
|
2554
|
-
sessionId: number;
|
|
2555
|
-
sessionName: string;
|
|
2556
|
-
sports: number;
|
|
2557
|
-
spaces: {
|
|
2558
|
-
spaceId: number;
|
|
2559
|
-
spaceName: string;
|
|
2560
|
-
}[];
|
|
2561
|
-
status?: RegistrationValidationStatusEnum;
|
|
2562
|
-
}
|
|
2563
|
-
export interface ISlotInSchedule {
|
|
2564
|
-
facilityId: number;
|
|
2565
|
-
facilityName: string;
|
|
2566
|
-
spaces: ISpaceWithSlots[];
|
|
2567
|
-
}
|
|
2568
|
-
export interface ISpaceWithSlots {
|
|
2569
|
-
id: number;
|
|
2570
|
-
name: string;
|
|
2571
|
-
slots: ISlotReservationData[];
|
|
2572
|
-
}
|
|
2573
|
-
export interface ISlotReservationData {
|
|
2574
|
-
reservationId: number;
|
|
2575
|
-
reservationName: string;
|
|
2576
|
-
date: string;
|
|
2577
|
-
startTime: string;
|
|
2578
|
-
endTime: string;
|
|
2579
|
-
notes: string;
|
|
2580
|
-
spaceId: number;
|
|
2581
|
-
isRental: boolean;
|
|
2582
|
-
slotType: SlotTypeEnum;
|
|
2583
|
-
slotId: number;
|
|
2584
|
-
eventId: number;
|
|
2585
|
-
isPrivate: boolean;
|
|
2586
|
-
}
|
|
2587
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2588
|
-
parentSessionId: number;
|
|
2589
|
-
parentSessionName: string;
|
|
2590
|
-
eventTimezone: string;
|
|
2591
|
-
maxParticipants: number;
|
|
2592
|
-
maxMaleParticipants: number;
|
|
2593
|
-
maxFemaleParticipants: number;
|
|
2594
|
-
isPunchCard: boolean;
|
|
2595
|
-
}
|
|
2596
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2597
|
-
id: number;
|
|
2598
|
-
name: string;
|
|
2599
|
-
bookingCreatorId: number;
|
|
2600
|
-
}
|
|
2601
|
-
export interface IRawSlotInSchedule {
|
|
2602
|
-
startDate: string;
|
|
2603
|
-
endDate: string;
|
|
2604
|
-
startTime: string;
|
|
2605
|
-
endTime: string;
|
|
2606
|
-
reservationId: number;
|
|
2607
|
-
eventTitle: string;
|
|
2608
|
-
publicNotes: string;
|
|
2609
|
-
spaceId: number;
|
|
2610
|
-
creatorType: ResourceNameTypeEnum;
|
|
2611
|
-
slotType: SlotTypeEnum;
|
|
2612
|
-
slotId: number;
|
|
2613
|
-
eventId: number;
|
|
2614
|
-
isPrivate: boolean;
|
|
2615
|
-
}
|
|
2616
|
-
export interface IPurchasedResourcesRaw {
|
|
2617
|
-
purchasedId: number;
|
|
2618
|
-
purchasedProductUserId: number;
|
|
2619
|
-
purchasedResourceId: number;
|
|
2620
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2621
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2622
|
-
pUserId: number;
|
|
2623
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2624
|
-
pUserProductId: number;
|
|
2625
|
-
pUserProductName: string;
|
|
2626
|
-
pUserProductPrice: number;
|
|
2627
|
-
pUserProductPriceCurrency: string;
|
|
2628
|
-
pUserProductQuantity: number;
|
|
2629
|
-
pUserProductQuantityLeft: number;
|
|
2630
|
-
pUserUserId: number;
|
|
2631
|
-
}
|
|
2632
|
-
export interface IUsersPasses {
|
|
2633
|
-
userId: number;
|
|
2634
|
-
userFirstName: string;
|
|
2635
|
-
userLastName: string;
|
|
2636
|
-
organizationId: number;
|
|
2637
|
-
programId: number;
|
|
2638
|
-
programName: string;
|
|
2639
|
-
sessionId: number;
|
|
2640
|
-
sessionName: string;
|
|
2641
|
-
productId: number;
|
|
2642
|
-
productName: string;
|
|
2643
|
-
productUserId: number;
|
|
2644
|
-
purchaseDate: Date;
|
|
2645
|
-
passesLeft: number;
|
|
2646
|
-
}
|
|
2647
|
-
export interface ISessionsLandingPage {
|
|
2648
|
-
sessionId: number;
|
|
2649
|
-
name: string;
|
|
2650
|
-
startDate: Date;
|
|
2651
|
-
endDate: Date;
|
|
2652
|
-
registrationStartDate: Date;
|
|
2653
|
-
registrationEndDate: Date;
|
|
2654
|
-
sport: SportsEnum;
|
|
2655
|
-
minAge: string;
|
|
2656
|
-
maxAge: string;
|
|
2657
|
-
maxParticipants?: number;
|
|
2658
|
-
gender: GenderEnum;
|
|
2659
|
-
activityTimes: ActivityTimes[];
|
|
2660
|
-
earlyRegistrationStartDate?: Date;
|
|
2661
|
-
earlyRegistrationEndDate?: Date;
|
|
2662
|
-
lateRegistrationStartDate?: Date;
|
|
2663
|
-
lateRegistrationEndDate?: Date;
|
|
2664
|
-
attendeeCount?: number;
|
|
2665
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2666
|
-
}
|
|
2667
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2668
|
-
hasRequiredMembership: boolean;
|
|
2669
|
-
hasEntitledPricing: boolean;
|
|
2670
|
-
lowestPrice?: number;
|
|
2671
|
-
products?: ISessionLandingPageProduct[];
|
|
2672
|
-
}
|
|
2673
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2674
|
-
hasRequiredMembership: boolean;
|
|
2675
|
-
hasEntitledPricing: boolean;
|
|
2676
|
-
products?: ISessionLandingPageProduct[];
|
|
2677
|
-
segments?: Event[] | ProgramSeason[];
|
|
2678
|
-
programName: string;
|
|
2679
|
-
programId: number;
|
|
2680
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2681
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2682
|
-
}
|
|
2683
|
-
export interface ISlimAddons {
|
|
2684
|
-
addons?: {
|
|
2685
|
-
id: number;
|
|
2686
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2687
|
-
name: string;
|
|
2688
|
-
productType?: ProductTypesEnum;
|
|
2689
|
-
productSubType?: string;
|
|
2690
|
-
}[];
|
|
2691
|
-
}
|
|
2692
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2693
|
-
id: number;
|
|
2694
|
-
name: string;
|
|
2695
|
-
startDate?: Date;
|
|
2696
|
-
endDate?: Date;
|
|
2697
|
-
downpayment?: number;
|
|
2698
|
-
description?: string;
|
|
2699
|
-
prices: Price[];
|
|
2700
|
-
productSubType?: ProductSubTypesEnum;
|
|
2701
|
-
punchCard: boolean;
|
|
2702
|
-
isAddon: boolean;
|
|
2703
|
-
defaultPriceId?: number;
|
|
2704
|
-
}
|
|
2705
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2706
|
-
destinationId?: string;
|
|
2707
|
-
stripeCustomerId?: string;
|
|
2708
|
-
fee?: number;
|
|
2709
|
-
}
|
|
2710
|
-
export interface IReservationCreatorData {
|
|
2711
|
-
type: ResourceNameTypeEnum;
|
|
2712
|
-
id: number;
|
|
2713
|
-
organizationId: number;
|
|
2714
|
-
startDate: string;
|
|
2715
|
-
endDate: string;
|
|
2716
|
-
sportId: number;
|
|
2717
|
-
}
|
|
2718
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2719
|
-
QUESTION = "question",
|
|
2720
|
-
CITY = "city",
|
|
2721
|
-
MEMBERSHIP = "membership"
|
|
2722
|
-
}
|
|
2723
|
-
export declare enum ResourceNameTypeEnum {
|
|
2724
|
-
EVENT = "event",
|
|
2725
|
-
VENUE = "venue",
|
|
2726
|
-
TEAM = "team",
|
|
2727
|
-
LEAGUE = "league",
|
|
2728
|
-
USER = "user",
|
|
2729
|
-
ORGANIZATION = "organization",
|
|
2730
|
-
APP = "app",
|
|
2731
|
-
FEED = "feed",
|
|
2732
|
-
MATCH = "match",
|
|
2733
|
-
ROUND = "round",
|
|
2734
|
-
PORTAL = "portal",
|
|
2735
|
-
SEASON = "season",
|
|
2736
|
-
TOURNAMENT = "tournament",
|
|
2737
|
-
MEMBERSHIP = "membership",
|
|
2738
|
-
DIVISION = "division",
|
|
2739
|
-
GAMESLOT = "gameslot",
|
|
2740
|
-
SPACE = "space",
|
|
2741
|
-
RESERVATION = "reservation",
|
|
2742
|
-
INVOICE = "invoice",
|
|
2743
|
-
CUSTOMER = "customer",
|
|
2744
|
-
PACKAGE = "package",
|
|
2745
|
-
FACILITY = "facility",
|
|
2746
|
-
PROGRAM = "program",
|
|
2747
|
-
PROGRAM_SEASON = "program_season",
|
|
2748
|
-
PRODUCT = "product",
|
|
2749
|
-
GROUP = "group",
|
|
2750
|
-
VARIANT = "variant",
|
|
2751
|
-
SLOT = "slot",
|
|
2752
|
-
ADDON = "addon"
|
|
2753
|
-
}
|
|
2754
|
-
export declare enum DirectBookingTypesEnum {
|
|
2755
|
-
DIRECT_FOR_ALL = "all",
|
|
2756
|
-
DIRECT_FOR_NONE = "none",
|
|
2757
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2758
|
-
NO_SETTING = "no_setting"
|
|
2759
|
-
}
|
|
2760
|
-
export declare enum GenderEnum {
|
|
2761
|
-
OTHER = 1,
|
|
2762
|
-
MALE = 2,
|
|
2763
|
-
FEMALE = 3
|
|
2764
|
-
}
|
|
2765
|
-
export declare enum LevelOfPlayEnum {
|
|
2766
|
-
BEGINNER = 1,
|
|
2767
|
-
INTERMEDIATE = 2,
|
|
2768
|
-
ADVANCED = 3,
|
|
2769
|
-
SEMIPRO = 4,
|
|
2770
|
-
SPECTATOR = 5
|
|
2771
|
-
}
|
|
2772
|
-
export declare enum ProgramTypesEnum {
|
|
2773
|
-
LEAGUE = 0,
|
|
2774
|
-
TOURNAMENT = 1,
|
|
2775
|
-
CLASS = 2,
|
|
2776
|
-
CLINIC = 3,
|
|
2777
|
-
CAMP = 4,
|
|
2778
|
-
LESSON = 5,
|
|
2779
|
-
CLUB_TEAM = 6
|
|
2780
|
-
}
|
|
2781
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2782
|
-
ROUND_ROBIN = 1,
|
|
2783
|
-
BRACKETS = 2,
|
|
2784
|
-
CAMP_CLINIC_CLASS = 3
|
|
2421
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2422
|
+
ROUND_ROBIN = 1,
|
|
2423
|
+
BRACKETS = 2,
|
|
2424
|
+
CAMP_CLINIC_CLASS = 3
|
|
2785
2425
|
}
|
|
2786
2426
|
export declare enum SportsEnum {
|
|
2787
2427
|
SOFTBALL = 1,
|
|
@@ -3145,164 +2785,478 @@ export declare enum ShiftStatusEnum {
|
|
|
3145
2785
|
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3146
2786
|
RECONCILED = "reconciled"
|
|
3147
2787
|
}
|
|
3148
|
-
export declare enum EventStatusEnum {
|
|
3149
|
-
OPEN = 1,
|
|
3150
|
-
DRAFT = 2,
|
|
3151
|
-
FULL = 3,
|
|
3152
|
-
CANCELLED = 4,
|
|
3153
|
-
CLOSED = 5,
|
|
3154
|
-
DELETED = 6
|
|
2788
|
+
export declare enum EventStatusEnum {
|
|
2789
|
+
OPEN = 1,
|
|
2790
|
+
DRAFT = 2,
|
|
2791
|
+
FULL = 3,
|
|
2792
|
+
CANCELLED = 4,
|
|
2793
|
+
CLOSED = 5,
|
|
2794
|
+
DELETED = 6
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum ReservationTypeEnum {
|
|
2797
|
+
RENTAL = "rental",
|
|
2798
|
+
PROGRAM = "program",
|
|
2799
|
+
MAINTENANCE = "maintenance",
|
|
2800
|
+
CUSTOM = "custom",
|
|
2801
|
+
INTERNAL = "internal"
|
|
2802
|
+
}
|
|
2803
|
+
export declare enum SlotDurationTypeEnum {
|
|
2804
|
+
DATES = "dates",
|
|
2805
|
+
ALL_DAY = "all day",
|
|
2806
|
+
DURATION = "duration"
|
|
2807
|
+
}
|
|
2808
|
+
export declare enum DurationUnitTypesEnum {
|
|
2809
|
+
MINUTES = "minutes",
|
|
2810
|
+
HOURS = "hours"
|
|
2811
|
+
}
|
|
2812
|
+
export declare enum FrequencyEnum {
|
|
2813
|
+
NONE = "none",
|
|
2814
|
+
WEEKLY = "weekly",
|
|
2815
|
+
DAILY = "daily",
|
|
2816
|
+
MONTHLY = "monthly",
|
|
2817
|
+
YEARLY = "yearly"
|
|
2818
|
+
}
|
|
2819
|
+
export declare enum MaintenanceTimingEnum {
|
|
2820
|
+
BEFORE = 1,
|
|
2821
|
+
AFTER = 2,
|
|
2822
|
+
AT_THE_BEGINING = 3,
|
|
2823
|
+
AT_THE_END = 4
|
|
2824
|
+
}
|
|
2825
|
+
export declare enum CreatorTypeEnum {
|
|
2826
|
+
SPACE = "space",
|
|
2827
|
+
PROGRAM_SEASON = "program_season",
|
|
2828
|
+
SEASON = "season"
|
|
2829
|
+
}
|
|
2830
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2831
|
+
INDIVIDUAL = "indvidual",
|
|
2832
|
+
CATEGORY = "category",
|
|
2833
|
+
GLOBAL = "global"
|
|
2834
|
+
}
|
|
2835
|
+
export declare enum BondDayOfWeekEnum {
|
|
2836
|
+
MONDAY = 2,
|
|
2837
|
+
TUESDAY = 3,
|
|
2838
|
+
WEDNESDAY = 4,
|
|
2839
|
+
THURSDAY = 5,
|
|
2840
|
+
FRIDAY = 6,
|
|
2841
|
+
SATURDAY = 7,
|
|
2842
|
+
SUNDAY = 8
|
|
2843
|
+
}
|
|
2844
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2845
|
+
NEW = "new",
|
|
2846
|
+
NO = "no",
|
|
2847
|
+
YES = "yes"
|
|
2848
|
+
}
|
|
2849
|
+
export declare enum ProductPackageLevelEnum {
|
|
2850
|
+
HOUR = "hour",
|
|
2851
|
+
SLOT = "slot",
|
|
2852
|
+
RESERVATION = "reservation"
|
|
2853
|
+
}
|
|
2854
|
+
export declare enum CancellationStatusEnum {
|
|
2855
|
+
IMMEDIATE = "immediate",
|
|
2856
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2857
|
+
}
|
|
2858
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2859
|
+
DRAFT = 0,
|
|
2860
|
+
PUBLISHED = 1
|
|
2861
|
+
}
|
|
2862
|
+
export declare enum FinancialStepEnum {
|
|
2863
|
+
VOID = "void",
|
|
2864
|
+
REFUND = "refund",
|
|
2865
|
+
NONE = "none",
|
|
2866
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2867
|
+
APPEND = "append"
|
|
2868
|
+
}
|
|
2869
|
+
export declare enum StripeAccountTypesEnum {
|
|
2870
|
+
STRIPE = "stripe",
|
|
2871
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2872
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2873
|
+
}
|
|
2874
|
+
export declare enum LinkedAccountStatus {
|
|
2875
|
+
PENDING = 1,
|
|
2876
|
+
ACTIVE = 2,
|
|
2877
|
+
PRE_PENDING = 3
|
|
2878
|
+
}
|
|
2879
|
+
export declare enum AddonParentTypeEnum {
|
|
2880
|
+
RESERVATION = "reservation",
|
|
2881
|
+
SLOT = "slot"
|
|
2882
|
+
}
|
|
2883
|
+
export declare enum EEmailStatus {
|
|
2884
|
+
SENT = "sent",
|
|
2885
|
+
OPENED = "opened",
|
|
2886
|
+
PAID = "paid",
|
|
2887
|
+
CANCELED = "canceled"
|
|
2888
|
+
}
|
|
2889
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2890
|
+
ENABLED = 1,
|
|
2891
|
+
DISABLED_REDIRECT = 2,
|
|
2892
|
+
DISABLED_INFO_ONLY = 3,
|
|
2893
|
+
DISABLED_EMAIL = 4
|
|
2894
|
+
}
|
|
2895
|
+
export interface IEntitlementTerms {
|
|
2896
|
+
type: EntitlementTermsTypesEnum;
|
|
2897
|
+
id?: number;
|
|
2898
|
+
value?: string;
|
|
2899
|
+
minValue?: string;
|
|
2900
|
+
maxValue?: string;
|
|
2901
|
+
}
|
|
2902
|
+
export interface IQuestionAnswerObject {
|
|
2903
|
+
questionId: number;
|
|
2904
|
+
value: string;
|
|
2905
|
+
}
|
|
2906
|
+
export interface ILowestPriceForItem {
|
|
2907
|
+
itemId: number;
|
|
2908
|
+
itemType: ResourceNameTypeEnum;
|
|
2909
|
+
groupId: number;
|
|
2910
|
+
groupName?: string;
|
|
2911
|
+
price: number;
|
|
2912
|
+
overridesPrice: boolean;
|
|
2913
|
+
}
|
|
2914
|
+
export interface IResourcesAvailability {
|
|
2915
|
+
resourceType: ResourceNameTypeEnum;
|
|
2916
|
+
quantity: number;
|
|
2917
|
+
resourcesIds: number[];
|
|
2918
|
+
isPunchCard: boolean;
|
|
2919
|
+
resources?: any[];
|
|
2920
|
+
}
|
|
2921
|
+
export interface IPackageResponse {
|
|
2922
|
+
parentProduct: Product;
|
|
2923
|
+
children: IChildProduct[];
|
|
2924
|
+
}
|
|
2925
|
+
export interface IChildProduct {
|
|
2926
|
+
product: Product;
|
|
2927
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2928
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2929
|
+
}
|
|
2930
|
+
export interface ISeasonAttendeeInfo {
|
|
2931
|
+
applicationAnswers: Answer[];
|
|
2932
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2933
|
+
invoices: Invoice[];
|
|
2934
|
+
payments: Payment[];
|
|
2935
|
+
products: Product[];
|
|
2936
|
+
redeemNext: ProductsUsers;
|
|
2937
|
+
}
|
|
2938
|
+
export interface ISeasonAttendeeListInfo {
|
|
2939
|
+
userId: number;
|
|
2940
|
+
userFirstName: string;
|
|
2941
|
+
userLastName: string;
|
|
2942
|
+
userGender: number;
|
|
2943
|
+
userBirthDate: Date;
|
|
2944
|
+
userProfilePicUrl: string;
|
|
2945
|
+
customerId: number;
|
|
2946
|
+
customerEmail: string;
|
|
2947
|
+
paymentStatus: string;
|
|
2948
|
+
productName: string;
|
|
2949
|
+
punchCard: boolean;
|
|
2950
|
+
}
|
|
2951
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2952
|
+
segmentType: ResourceNameTypeEnum;
|
|
2953
|
+
participantRegisteredDate?: string;
|
|
2954
|
+
}
|
|
2955
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2956
|
+
segmentType: ResourceNameTypeEnum;
|
|
2957
|
+
participantRegisteredDate?: string;
|
|
2958
|
+
}
|
|
2959
|
+
export interface ITokenResonse {
|
|
2960
|
+
token: string;
|
|
2961
|
+
}
|
|
2962
|
+
export interface IStripeBondInvoices {
|
|
2963
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2964
|
+
bondPaidPayment: Payment;
|
|
2965
|
+
invoice?: Invoice;
|
|
2966
|
+
customer?: Customer;
|
|
2967
|
+
}
|
|
2968
|
+
export interface IPartialPaymentData {
|
|
2969
|
+
purchasingUserId: number;
|
|
2970
|
+
paymentData: PurchasePaymentDto;
|
|
2971
|
+
amountToPay: number;
|
|
2972
|
+
}
|
|
2973
|
+
export interface IPayment {
|
|
2974
|
+
id: number;
|
|
2975
|
+
total: number;
|
|
2976
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2977
|
+
status: PaymentStatusEnum;
|
|
2978
|
+
createdAt: Date;
|
|
2979
|
+
invoices: number[];
|
|
2980
|
+
}
|
|
2981
|
+
export interface IPaginationData<T> {
|
|
2982
|
+
meta: {
|
|
2983
|
+
totalItems: number;
|
|
2984
|
+
itemsPerPage: number;
|
|
2985
|
+
totalPages: number;
|
|
2986
|
+
currentPage: number;
|
|
2987
|
+
};
|
|
2988
|
+
data: T[];
|
|
2989
|
+
}
|
|
2990
|
+
export interface IPricesOfProductsResults {
|
|
2991
|
+
productId: number;
|
|
2992
|
+
userId: number;
|
|
2993
|
+
price: number;
|
|
2994
|
+
groupId?: number;
|
|
2995
|
+
groupName?: string;
|
|
2996
|
+
originalPrice?: number;
|
|
2997
|
+
priceWithoutTax: number;
|
|
2998
|
+
tax: number;
|
|
2999
|
+
isTaxInclusive: boolean;
|
|
3000
|
+
}
|
|
3001
|
+
export interface IPaymentMethodToFundLeft {
|
|
3002
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3003
|
+
paymentMethodId: string;
|
|
3004
|
+
fundLeft: number;
|
|
3005
|
+
ccLast4?: string;
|
|
3006
|
+
ccBrand?: string;
|
|
3007
|
+
}
|
|
3008
|
+
export interface IVariantsAndTitle {
|
|
3009
|
+
title: VariantTitle;
|
|
3010
|
+
variants: Variant[];
|
|
3011
|
+
}
|
|
3012
|
+
export interface IProgramSeasonActivityTimes {
|
|
3013
|
+
dayOfWeek: number;
|
|
3014
|
+
open: string;
|
|
3015
|
+
close: string;
|
|
3016
|
+
}
|
|
3017
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3018
|
+
date: string;
|
|
3019
|
+
startTime: string;
|
|
3020
|
+
endTime: string;
|
|
3021
|
+
}
|
|
3022
|
+
export interface IBlockedDates {
|
|
3023
|
+
name: string;
|
|
3024
|
+
startDate: Date;
|
|
3025
|
+
endDate: Date;
|
|
3026
|
+
}
|
|
3027
|
+
export interface ISingleMemberForRenewal {
|
|
3028
|
+
member_id: number;
|
|
3029
|
+
member_membershipId: number;
|
|
3030
|
+
member_userId: number;
|
|
3031
|
+
member_nextPaymentMethodId?: string;
|
|
3032
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3033
|
+
member_answerTitleIds?: number[];
|
|
3034
|
+
member_organizationId: number;
|
|
3035
|
+
line_paidAmount: number;
|
|
3036
|
+
line_productId: number;
|
|
3037
|
+
invoice_payingUserId: number;
|
|
3038
|
+
invoice_paymentMethodId: string;
|
|
3039
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3040
|
+
endDate: Date;
|
|
3041
|
+
membership_name: string;
|
|
3042
|
+
user_firstName: string;
|
|
3043
|
+
user_lastName: string;
|
|
3044
|
+
user_email: string;
|
|
3045
|
+
}
|
|
3046
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3047
|
+
package_parentProductId: number;
|
|
3048
|
+
line2_paidAmount: number;
|
|
3049
|
+
familyid: number;
|
|
3050
|
+
invoice_id: number;
|
|
3155
3051
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3052
|
+
export interface IResourceRegistrationData {
|
|
3053
|
+
id: number;
|
|
3054
|
+
resourceType: ResourceNameTypeEnum;
|
|
3055
|
+
openNumDays?: number;
|
|
3056
|
+
openNumMinutes?: number;
|
|
3057
|
+
openTime?: string;
|
|
3058
|
+
closeNumDays?: number;
|
|
3059
|
+
closeNumMinutes?: number;
|
|
3060
|
+
closeTime?: string;
|
|
3061
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3161
3062
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3063
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3064
|
+
id: number;
|
|
3065
|
+
startDate: string;
|
|
3066
|
+
startTime: string;
|
|
3166
3067
|
}
|
|
3167
|
-
export
|
|
3168
|
-
|
|
3169
|
-
|
|
3068
|
+
export interface IRegistrationConstraintsSetting {
|
|
3069
|
+
numDays?: number;
|
|
3070
|
+
numMinutes?: number;
|
|
3170
3071
|
}
|
|
3171
|
-
export
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3072
|
+
export interface IAttendeeDataToNotify {
|
|
3073
|
+
firstName: string;
|
|
3074
|
+
lastName: string;
|
|
3075
|
+
email: string;
|
|
3076
|
+
sessionName: string;
|
|
3077
|
+
parentSessionName?: string;
|
|
3078
|
+
organizationName: string;
|
|
3079
|
+
programName: string;
|
|
3177
3080
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3081
|
+
export interface IEventInSchedule {
|
|
3082
|
+
eventId: number;
|
|
3083
|
+
eventName: string;
|
|
3084
|
+
eventStartDate: string;
|
|
3085
|
+
eventEndDate: string;
|
|
3086
|
+
eventStartTime: string;
|
|
3087
|
+
eventEndTime: string;
|
|
3088
|
+
programId: number;
|
|
3089
|
+
programName: string;
|
|
3090
|
+
programType: ProgramTypesEnum;
|
|
3091
|
+
sessionId: number;
|
|
3092
|
+
sessionName: string;
|
|
3093
|
+
sports: number;
|
|
3094
|
+
spaces: {
|
|
3095
|
+
spaceId: number;
|
|
3096
|
+
spaceName: string;
|
|
3097
|
+
}[];
|
|
3098
|
+
status?: RegistrationValidationStatusEnum;
|
|
3183
3099
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3100
|
+
export interface ISlotInSchedule {
|
|
3101
|
+
facilityId: number;
|
|
3102
|
+
facilityName: string;
|
|
3103
|
+
spaces: ISpaceWithSlots[];
|
|
3187
3104
|
}
|
|
3188
|
-
export
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3105
|
+
export interface ISpaceWithSlots {
|
|
3106
|
+
id: number;
|
|
3107
|
+
name: string;
|
|
3108
|
+
slots: ISlotReservationData[];
|
|
3192
3109
|
}
|
|
3193
|
-
export
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3110
|
+
export interface ISlotReservationData {
|
|
3111
|
+
reservationId: number;
|
|
3112
|
+
reservationName: string;
|
|
3113
|
+
date: string;
|
|
3114
|
+
startTime: string;
|
|
3115
|
+
endTime: string;
|
|
3116
|
+
notes: string;
|
|
3117
|
+
spaceId: number;
|
|
3118
|
+
isRental: boolean;
|
|
3119
|
+
slotType: SlotTypeEnum;
|
|
3120
|
+
slotId: number;
|
|
3121
|
+
eventId: number;
|
|
3122
|
+
isPrivate: boolean;
|
|
3201
3123
|
}
|
|
3202
|
-
export
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3124
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3125
|
+
parentSessionId: number;
|
|
3126
|
+
parentSessionName: string;
|
|
3127
|
+
eventTimezone: string;
|
|
3128
|
+
maxParticipants: number;
|
|
3129
|
+
maxMaleParticipants: number;
|
|
3130
|
+
maxFemaleParticipants: number;
|
|
3131
|
+
isPunchCard: boolean;
|
|
3206
3132
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3133
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3134
|
+
id: number;
|
|
3135
|
+
name: string;
|
|
3136
|
+
bookingCreatorId: number;
|
|
3211
3137
|
}
|
|
3212
|
-
export
|
|
3213
|
-
|
|
3214
|
-
|
|
3138
|
+
export interface IRawSlotInSchedule {
|
|
3139
|
+
startDate: string;
|
|
3140
|
+
endDate: string;
|
|
3141
|
+
startTime: string;
|
|
3142
|
+
endTime: string;
|
|
3143
|
+
reservationId: number;
|
|
3144
|
+
eventTitle: string;
|
|
3145
|
+
publicNotes: string;
|
|
3146
|
+
spaceId: number;
|
|
3147
|
+
creatorType: ResourceNameTypeEnum;
|
|
3148
|
+
slotType: SlotTypeEnum;
|
|
3149
|
+
slotId: number;
|
|
3150
|
+
eventId: number;
|
|
3151
|
+
isPrivate: boolean;
|
|
3215
3152
|
}
|
|
3216
|
-
export
|
|
3217
|
-
|
|
3218
|
-
|
|
3153
|
+
export interface IPurchasedResourcesRaw {
|
|
3154
|
+
purchasedId: number;
|
|
3155
|
+
purchasedProductUserId: number;
|
|
3156
|
+
purchasedResourceId: number;
|
|
3157
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3158
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3159
|
+
pUserId: number;
|
|
3160
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3161
|
+
pUserProductId: number;
|
|
3162
|
+
pUserProductName: string;
|
|
3163
|
+
pUserProductPrice: number;
|
|
3164
|
+
pUserProductPriceCurrency: string;
|
|
3165
|
+
pUserProductQuantity: number;
|
|
3166
|
+
pUserProductQuantityLeft: number;
|
|
3167
|
+
pUserUserId: number;
|
|
3219
3168
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3169
|
+
export interface IUsersPasses {
|
|
3170
|
+
userId: number;
|
|
3171
|
+
userFirstName: string;
|
|
3172
|
+
userLastName: string;
|
|
3173
|
+
organizationId: number;
|
|
3174
|
+
programId: number;
|
|
3175
|
+
programName: string;
|
|
3176
|
+
sessionId: number;
|
|
3177
|
+
sessionName: string;
|
|
3178
|
+
productId: number;
|
|
3179
|
+
productName: string;
|
|
3180
|
+
productUserId: number;
|
|
3181
|
+
purchaseDate: Date;
|
|
3182
|
+
passesLeft: number;
|
|
3226
3183
|
}
|
|
3227
|
-
export
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3184
|
+
export interface ISessionsLandingPage {
|
|
3185
|
+
sessionId: number;
|
|
3186
|
+
name: string;
|
|
3187
|
+
startDate: Date;
|
|
3188
|
+
endDate: Date;
|
|
3189
|
+
registrationStartDate: Date;
|
|
3190
|
+
registrationEndDate: Date;
|
|
3191
|
+
sport: SportsEnum;
|
|
3192
|
+
minAge: string;
|
|
3193
|
+
maxAge: string;
|
|
3194
|
+
maxParticipants?: number;
|
|
3195
|
+
gender: GenderEnum;
|
|
3196
|
+
activityTimes: ActivityTimes[];
|
|
3197
|
+
earlyRegistrationStartDate?: Date;
|
|
3198
|
+
earlyRegistrationEndDate?: Date;
|
|
3199
|
+
lateRegistrationStartDate?: Date;
|
|
3200
|
+
lateRegistrationEndDate?: Date;
|
|
3201
|
+
attendeeCount?: number;
|
|
3202
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3231
3203
|
}
|
|
3232
|
-
export
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3204
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3205
|
+
hasRequiredMembership: boolean;
|
|
3206
|
+
hasEntitledPricing: boolean;
|
|
3207
|
+
lowestPrice?: number;
|
|
3208
|
+
products?: ISessionLandingPageProduct[];
|
|
3236
3209
|
}
|
|
3237
|
-
export
|
|
3238
|
-
|
|
3239
|
-
|
|
3210
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3211
|
+
hasRequiredMembership: boolean;
|
|
3212
|
+
hasEntitledPricing: boolean;
|
|
3213
|
+
products?: ISessionLandingPageProduct[];
|
|
3214
|
+
segments?: Event[] | ProgramSeason[];
|
|
3215
|
+
programName: string;
|
|
3216
|
+
programId: number;
|
|
3217
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3218
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3240
3219
|
}
|
|
3241
|
-
export
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3220
|
+
export interface ISlimAddons {
|
|
3221
|
+
addons?: {
|
|
3222
|
+
id: number;
|
|
3223
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3224
|
+
name: string;
|
|
3225
|
+
productType?: ProductTypesEnum;
|
|
3226
|
+
productSubType?: string;
|
|
3227
|
+
}[];
|
|
3246
3228
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3229
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3230
|
+
id: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate?: Date;
|
|
3233
|
+
endDate?: Date;
|
|
3234
|
+
downpayment?: number;
|
|
3235
|
+
description?: string;
|
|
3236
|
+
prices: Price[];
|
|
3237
|
+
productSubType?: ProductSubTypesEnum;
|
|
3238
|
+
punchCard: boolean;
|
|
3239
|
+
isAddon: boolean;
|
|
3240
|
+
defaultPriceId?: number;
|
|
3252
3241
|
}
|
|
3253
|
-
export
|
|
3254
|
-
|
|
3242
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3243
|
+
destinationId?: string;
|
|
3244
|
+
stripeCustomerId?: string;
|
|
3245
|
+
fee?: number;
|
|
3255
3246
|
}
|
|
3256
|
-
export
|
|
3257
|
-
|
|
3258
|
-
|
|
3247
|
+
export interface IReservationCreatorData {
|
|
3248
|
+
type: ResourceNameTypeEnum;
|
|
3249
|
+
id: number;
|
|
3250
|
+
organizationId: number;
|
|
3251
|
+
startDate: string;
|
|
3252
|
+
endDate: string;
|
|
3253
|
+
sportId: number;
|
|
3259
3254
|
}
|
|
3260
3255
|
export declare class ColumnNumericTransformer {
|
|
3261
3256
|
to(data: number): number;
|
|
3262
3257
|
from(data: string): number;
|
|
3263
3258
|
}
|
|
3264
3259
|
export declare function convertToNumber(data: string): number;
|
|
3265
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3266
|
-
matchId: number | null;
|
|
3267
|
-
ordinal: number | null;
|
|
3268
|
-
outcomeOrdinal: number | null;
|
|
3269
|
-
resultMetaData: any | null;
|
|
3270
|
-
points: number | null;
|
|
3271
|
-
score: number | null;
|
|
3272
|
-
gameSlotId: number | null;
|
|
3273
|
-
}
|
|
3274
|
-
export interface ValidatedMonthAndDay {
|
|
3275
|
-
valid: boolean;
|
|
3276
|
-
month?: number;
|
|
3277
|
-
day?: number;
|
|
3278
|
-
}
|
|
3279
|
-
export interface ValidationReason {
|
|
3280
|
-
valid: boolean;
|
|
3281
|
-
reason?: string;
|
|
3282
|
-
}
|
|
3283
|
-
export declare class Matches extends BondBaseEntity {
|
|
3284
|
-
eventId: number | null;
|
|
3285
|
-
status: number | null;
|
|
3286
|
-
excludeStandings: boolean | null;
|
|
3287
|
-
}
|
|
3288
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3289
|
-
teamId: number | null;
|
|
3290
|
-
eventId: number | null;
|
|
3291
|
-
status: number | null;
|
|
3292
|
-
}
|
|
3293
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3294
|
-
seasonId: number;
|
|
3295
|
-
ordinal?: number;
|
|
3296
|
-
divisionId?: number;
|
|
3297
|
-
name: string;
|
|
3298
|
-
}
|
|
3299
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3300
|
-
roundId: number;
|
|
3301
|
-
eventId: number;
|
|
3302
|
-
seriesId: number | null;
|
|
3303
|
-
createdAt: Date;
|
|
3304
|
-
updatedAt: Date;
|
|
3305
|
-
}
|
|
3306
3260
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3307
3261
|
name?: string;
|
|
3308
3262
|
genderStr?: string;
|
|
@@ -3317,22 +3271,49 @@ export declare class AddFamilyDto {
|
|
|
3317
3271
|
parents: AddImportedCustomerDto[];
|
|
3318
3272
|
children: AddImportedCustomerDto[];
|
|
3319
3273
|
}
|
|
3320
|
-
export
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3274
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3275
|
+
CREDIT_CARD = "card",
|
|
3276
|
+
ACH = "ach",
|
|
3277
|
+
CASH = "cash",
|
|
3278
|
+
CHECK = "check",
|
|
3279
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3280
|
+
OTHER = "other"
|
|
3325
3281
|
}
|
|
3326
|
-
export
|
|
3327
|
-
|
|
3282
|
+
export declare class ImportedInvoiceLineDto {
|
|
3283
|
+
invoiceID?: string;
|
|
3284
|
+
description: string;
|
|
3285
|
+
createdDate: string;
|
|
3286
|
+
createdTime: string;
|
|
3287
|
+
quantity: string;
|
|
3288
|
+
price: string;
|
|
3289
|
+
total: string;
|
|
3290
|
+
customerID: string;
|
|
3291
|
+
resourceType: string;
|
|
3292
|
+
resourceID: string;
|
|
3328
3293
|
}
|
|
3329
|
-
export
|
|
3330
|
-
|
|
3294
|
+
export declare class ImportedInvoiceDto {
|
|
3295
|
+
customerId?: string;
|
|
3296
|
+
total?: string;
|
|
3297
|
+
amountDue?: string;
|
|
3298
|
+
payments?: ImportedPaymentDto[];
|
|
3299
|
+
lines: any;
|
|
3331
3300
|
}
|
|
3332
|
-
export declare class
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3301
|
+
export declare class ImportedPaymentDto {
|
|
3302
|
+
invoiceID: string;
|
|
3303
|
+
type: ImportPaymentTypeEnum;
|
|
3304
|
+
description: string;
|
|
3305
|
+
paid: string;
|
|
3306
|
+
date: string;
|
|
3307
|
+
time: string;
|
|
3308
|
+
}
|
|
3309
|
+
export declare class ProductIdsDto {
|
|
3310
|
+
productIds?: number[];
|
|
3311
|
+
}
|
|
3312
|
+
export declare class ProductImportDto {
|
|
3313
|
+
product: Product;
|
|
3314
|
+
prices: Price[];
|
|
3315
|
+
resourceIds: number[];
|
|
3316
|
+
oldId: number;
|
|
3336
3317
|
}
|
|
3337
3318
|
export declare class ImportedSlotProductDto {
|
|
3338
3319
|
slotID?: string;
|
|
@@ -3385,10 +3366,6 @@ export declare class ImportedReservationDto {
|
|
|
3385
3366
|
slots?: ImportedSlotDto[];
|
|
3386
3367
|
addons?: ImportedSlotProductDto[];
|
|
3387
3368
|
}
|
|
3388
|
-
export declare class Lock extends BondBaseEntity {
|
|
3389
|
-
name: string;
|
|
3390
|
-
locked?: Date;
|
|
3391
|
-
}
|
|
3392
3369
|
export declare class PunchPassDto {
|
|
3393
3370
|
CustomerID: string;
|
|
3394
3371
|
QuantityLeft: number;
|
|
@@ -3396,146 +3373,40 @@ export declare class PunchPassDto {
|
|
|
3396
3373
|
BondSessionID: number;
|
|
3397
3374
|
ProductID: number;
|
|
3398
3375
|
}
|
|
3399
|
-
export declare class
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
export declare class ProductImportDto {
|
|
3403
|
-
product: Product;
|
|
3404
|
-
prices: Price[];
|
|
3405
|
-
resourceIds: number[];
|
|
3406
|
-
oldId: number;
|
|
3407
|
-
}
|
|
3408
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3409
|
-
key?: string;
|
|
3410
|
-
vaule?: string;
|
|
3411
|
-
version: number;
|
|
3412
|
-
organization: Organization;
|
|
3413
|
-
}
|
|
3414
|
-
export declare class Organization extends BondBaseEntity {
|
|
3415
|
-
name: string | null;
|
|
3416
|
-
email: string | null;
|
|
3417
|
-
twitter: string | null;
|
|
3418
|
-
facebook: string | null;
|
|
3419
|
-
instagram: string | null;
|
|
3420
|
-
website: string | null;
|
|
3421
|
-
blog: string | null;
|
|
3422
|
-
phoneNumber: string | null;
|
|
3423
|
-
waiverDoc: string | null;
|
|
3424
|
-
about: string | null;
|
|
3425
|
-
tagline: string | null;
|
|
3426
|
-
status: number | null;
|
|
3427
|
-
addressId: number | null;
|
|
3428
|
-
merchantId: number | null;
|
|
3429
|
-
userCreatorId: number | null;
|
|
3430
|
-
parentId: number | null;
|
|
3431
|
-
paymentSettings: object | null;
|
|
3432
|
-
settings: object | null;
|
|
3433
|
-
isClaimed: boolean | null;
|
|
3434
|
-
sports: number[] | null;
|
|
3435
|
-
mainMediaId: number | null;
|
|
3436
|
-
deletedAt: Date | null;
|
|
3437
|
-
organizationActivityTypes: number[] | null;
|
|
3438
|
-
organizationTypes: number[] | null;
|
|
3439
|
-
organizationAudienceTypes: number[] | null;
|
|
3440
|
-
organizationGenders: number[] | null;
|
|
3441
|
-
questionnaireId: number | null;
|
|
3442
|
-
membershipQuestionnaireId: number | null;
|
|
3443
|
-
feeRate: number;
|
|
3444
|
-
feeAddDollarRate: number;
|
|
3445
|
-
achFeeRate: number;
|
|
3446
|
-
achFeeAddDollarRate: number;
|
|
3447
|
-
maxAchFee: number;
|
|
3448
|
-
cashFeeRate: number;
|
|
3449
|
-
cashFeeAddDollarRate: number;
|
|
3450
|
-
terminalFeeRate: number;
|
|
3451
|
-
terminalFeeAddDollarRate: number;
|
|
3452
|
-
checkFeeRate: number;
|
|
3453
|
-
checkFeeAddDollarRate: number;
|
|
3454
|
-
otherFeeRate: number;
|
|
3455
|
-
otherFeeAddDollarRate: number;
|
|
3456
|
-
balanceFeeRate: number;
|
|
3457
|
-
balanceFeeAddDollarRate: number;
|
|
3458
|
-
address: Address;
|
|
3459
|
-
mainMedia: Media;
|
|
3460
|
-
brandings: OrganizationBranding[];
|
|
3461
|
-
brandingsV2?: OrganizationBranding[];
|
|
3462
|
-
}
|
|
3463
|
-
export interface RefundResult extends PaymentsResults {
|
|
3464
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3465
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3466
|
-
invoice?: Invoice;
|
|
3467
|
-
}
|
|
3468
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3469
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3470
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3471
|
-
totalAmountProcessed: number;
|
|
3472
|
-
}
|
|
3473
|
-
export declare class ByOrganizationIdDto {
|
|
3474
|
-
organizationId: number;
|
|
3475
|
-
}
|
|
3476
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3477
|
-
organizationId?: number;
|
|
3478
|
-
}
|
|
3479
|
-
export interface PaymentResult {
|
|
3480
|
-
paymentMethodId: string;
|
|
3481
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3482
|
-
amount: number;
|
|
3483
|
-
receiptId?: number;
|
|
3484
|
-
paymentMethod4Digits?: string;
|
|
3485
|
-
errorMessage?: string;
|
|
3486
|
-
wasSuccessful: boolean;
|
|
3487
|
-
}
|
|
3488
|
-
export interface PaymentsResults {
|
|
3489
|
-
success: PaymentResult[];
|
|
3490
|
-
failed: PaymentResult[];
|
|
3491
|
-
}
|
|
3492
|
-
export interface InvoicePaymentSum {
|
|
3493
|
-
priceSum: number;
|
|
3494
|
-
paidSum: number;
|
|
3495
|
-
}
|
|
3496
|
-
export interface ExtendedLineItems {
|
|
3497
|
-
memberships: LineItems[];
|
|
3498
|
-
programs: LineItems[];
|
|
3499
|
-
leagues: LineItems[];
|
|
3500
|
-
rentals: LineItems[];
|
|
3501
|
-
products: LineItems[];
|
|
3502
|
-
events: LineItems[];
|
|
3503
|
-
}
|
|
3504
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3505
|
-
organisationId: number | null;
|
|
3506
|
-
userId: number | null;
|
|
3507
|
-
}
|
|
3508
|
-
export declare class VoidDto {
|
|
3509
|
-
lineItems: VoidLineItemDto[];
|
|
3510
|
-
meta?: RevertMetaDto;
|
|
3376
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3377
|
+
entityType: string;
|
|
3378
|
+
entityId: number;
|
|
3511
3379
|
}
|
|
3512
|
-
export declare class
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
isEdit?: boolean;
|
|
3516
|
-
amount?: number;
|
|
3380
|
+
export declare class Lock extends BondBaseEntity {
|
|
3381
|
+
name: string;
|
|
3382
|
+
locked?: Date;
|
|
3517
3383
|
}
|
|
3518
|
-
export declare class
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
[id: number]: number;
|
|
3523
|
-
};
|
|
3524
|
-
refunds: PaymentMethodDto[];
|
|
3525
|
-
refundType: RefundTypeEnum;
|
|
3526
|
-
reasonId: number;
|
|
3527
|
-
note?: string;
|
|
3528
|
-
shiftId?: number;
|
|
3529
|
-
meta?: RevertMetaDto;
|
|
3384
|
+
export declare class Matches extends BondBaseEntity {
|
|
3385
|
+
eventId: number | null;
|
|
3386
|
+
status: number | null;
|
|
3387
|
+
excludeStandings: boolean | null;
|
|
3530
3388
|
}
|
|
3531
|
-
export declare class
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3389
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3390
|
+
matchId: number | null;
|
|
3391
|
+
ordinal: number | null;
|
|
3392
|
+
outcomeOrdinal: number | null;
|
|
3393
|
+
resultMetaData: any | null;
|
|
3394
|
+
points: number | null;
|
|
3395
|
+
score: number | null;
|
|
3396
|
+
gameSlotId: number | null;
|
|
3535
3397
|
}
|
|
3536
|
-
export declare class
|
|
3537
|
-
|
|
3538
|
-
|
|
3398
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3399
|
+
seasonId: number;
|
|
3400
|
+
ordinal?: number;
|
|
3401
|
+
divisionId?: number;
|
|
3402
|
+
name: string;
|
|
3403
|
+
}
|
|
3404
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3405
|
+
roundId: number;
|
|
3406
|
+
eventId: number;
|
|
3407
|
+
seriesId: number | null;
|
|
3408
|
+
createdAt: Date;
|
|
3409
|
+
updatedAt: Date;
|
|
3539
3410
|
}
|
|
3540
3411
|
export declare class CreateMonitorConfigDto {
|
|
3541
3412
|
facilityId: number;
|
|
@@ -3543,30 +3414,36 @@ export declare class CreateMonitorConfigDto {
|
|
|
3543
3414
|
code: string;
|
|
3544
3415
|
config: any;
|
|
3545
3416
|
}
|
|
3546
|
-
export declare class
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3551
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3417
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3418
|
+
teamId: number | null;
|
|
3419
|
+
eventId: number | null;
|
|
3420
|
+
status: number | null;
|
|
3552
3421
|
}
|
|
3553
|
-
export
|
|
3554
|
-
|
|
3422
|
+
export interface ValidatedMonthAndDay {
|
|
3423
|
+
valid: boolean;
|
|
3424
|
+
month?: number;
|
|
3425
|
+
day?: number;
|
|
3555
3426
|
}
|
|
3556
|
-
export
|
|
3557
|
-
|
|
3427
|
+
export interface ValidationReason {
|
|
3428
|
+
valid: boolean;
|
|
3429
|
+
reason?: string;
|
|
3558
3430
|
}
|
|
3559
|
-
export declare class
|
|
3560
|
-
|
|
3431
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3432
|
+
facilityId: number;
|
|
3433
|
+
code: string;
|
|
3434
|
+
config?: any;
|
|
3561
3435
|
}
|
|
3562
|
-
export
|
|
3563
|
-
|
|
3436
|
+
export interface PaymentStatus {
|
|
3437
|
+
parentId: number;
|
|
3438
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3439
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3440
|
+
id?: number;
|
|
3564
3441
|
}
|
|
3565
|
-
export
|
|
3566
|
-
id: number;
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3442
|
+
export interface PaymentStatusesDict {
|
|
3443
|
+
[id: number]: PaymentStatus[];
|
|
3444
|
+
}
|
|
3445
|
+
export interface PaymentStatusDict {
|
|
3446
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3570
3447
|
}
|
|
3571
3448
|
export declare class CustomerIdDto {
|
|
3572
3449
|
customerId: number;
|
|
@@ -3596,12 +3473,6 @@ export declare class DiscountDto {
|
|
|
3596
3473
|
export declare class LineItemIdDto {
|
|
3597
3474
|
lineItemId: number;
|
|
3598
3475
|
}
|
|
3599
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3600
|
-
paymentType?: string;
|
|
3601
|
-
paymentStatus?: string;
|
|
3602
|
-
}
|
|
3603
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3604
|
-
}
|
|
3605
3476
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3606
3477
|
userId: number;
|
|
3607
3478
|
}
|
|
@@ -3671,50 +3542,285 @@ export declare class NotePrivacyDto {
|
|
|
3671
3542
|
export declare class RevertMetaDto {
|
|
3672
3543
|
removedResources: RemoveResourceDto[];
|
|
3673
3544
|
}
|
|
3674
|
-
export declare class RemoveResourceDto {
|
|
3675
|
-
resourceType: ResourceNameTypeEnum;
|
|
3676
|
-
resourceId: number;
|
|
3677
|
-
lineItemId: number;
|
|
3545
|
+
export declare class RemoveResourceDto {
|
|
3546
|
+
resourceType: ResourceNameTypeEnum;
|
|
3547
|
+
resourceId: number;
|
|
3548
|
+
lineItemId: number;
|
|
3549
|
+
}
|
|
3550
|
+
export declare class SendRequestDto {
|
|
3551
|
+
invoiceId: number;
|
|
3552
|
+
userId: number;
|
|
3553
|
+
sendToEmail: string;
|
|
3554
|
+
memo?: string;
|
|
3555
|
+
}
|
|
3556
|
+
export declare class VoidDto {
|
|
3557
|
+
lineItems: VoidLineItemDto[];
|
|
3558
|
+
meta?: RevertMetaDto;
|
|
3559
|
+
}
|
|
3560
|
+
export declare class VoidLineItemDto {
|
|
3561
|
+
id: number;
|
|
3562
|
+
quantity?: number;
|
|
3563
|
+
isEdit?: boolean;
|
|
3564
|
+
amount?: number;
|
|
3565
|
+
}
|
|
3566
|
+
export declare class RefundDto {
|
|
3567
|
+
invoiceId: number;
|
|
3568
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3569
|
+
refundLineItemAmountDict?: {
|
|
3570
|
+
[id: number]: number;
|
|
3571
|
+
};
|
|
3572
|
+
refunds: PaymentMethodDto[];
|
|
3573
|
+
refundType: RefundTypeEnum;
|
|
3574
|
+
reasonId: number;
|
|
3575
|
+
note?: string;
|
|
3576
|
+
shiftId?: number;
|
|
3577
|
+
meta?: RevertMetaDto;
|
|
3578
|
+
}
|
|
3579
|
+
export declare class PaymentMethodDto {
|
|
3580
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3581
|
+
amount: number;
|
|
3582
|
+
paymentMethodId?: string;
|
|
3583
|
+
}
|
|
3584
|
+
export declare class RefundLineItemAmountDto {
|
|
3585
|
+
id: number;
|
|
3586
|
+
refundAmount: number;
|
|
3587
|
+
}
|
|
3588
|
+
export interface PaymentResult {
|
|
3589
|
+
paymentMethodId: string;
|
|
3590
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3591
|
+
amount: number;
|
|
3592
|
+
receiptId?: number;
|
|
3593
|
+
paymentMethod4Digits?: string;
|
|
3594
|
+
errorMessage?: string;
|
|
3595
|
+
wasSuccessful: boolean;
|
|
3596
|
+
}
|
|
3597
|
+
export interface PaymentsResults {
|
|
3598
|
+
success: PaymentResult[];
|
|
3599
|
+
failed: PaymentResult[];
|
|
3600
|
+
}
|
|
3601
|
+
export interface InvoicePaymentSum {
|
|
3602
|
+
priceSum: number;
|
|
3603
|
+
paidSum: number;
|
|
3604
|
+
}
|
|
3605
|
+
export interface ExtendedLineItems {
|
|
3606
|
+
memberships: LineItems[];
|
|
3607
|
+
programs: LineItems[];
|
|
3608
|
+
leagues: LineItems[];
|
|
3609
|
+
rentals: LineItems[];
|
|
3610
|
+
products: LineItems[];
|
|
3611
|
+
events: LineItems[];
|
|
3612
|
+
}
|
|
3613
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3614
|
+
paymentType?: string;
|
|
3615
|
+
paymentStatus?: string;
|
|
3616
|
+
}
|
|
3617
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3618
|
+
id?: number;
|
|
3619
|
+
months?: string;
|
|
3620
|
+
}
|
|
3621
|
+
export declare class Organization extends BondBaseEntity {
|
|
3622
|
+
name: string | null;
|
|
3623
|
+
email: string | null;
|
|
3624
|
+
twitter: string | null;
|
|
3625
|
+
facebook: string | null;
|
|
3626
|
+
instagram: string | null;
|
|
3627
|
+
website: string | null;
|
|
3628
|
+
blog: string | null;
|
|
3629
|
+
phoneNumber: string | null;
|
|
3630
|
+
waiverDoc: string | null;
|
|
3631
|
+
about: string | null;
|
|
3632
|
+
tagline: string | null;
|
|
3633
|
+
status: number | null;
|
|
3634
|
+
addressId: number | null;
|
|
3635
|
+
merchantId: number | null;
|
|
3636
|
+
userCreatorId: number | null;
|
|
3637
|
+
parentId: number | null;
|
|
3638
|
+
paymentSettings: object | null;
|
|
3639
|
+
settings: object | null;
|
|
3640
|
+
isClaimed: boolean | null;
|
|
3641
|
+
sports: number[] | null;
|
|
3642
|
+
mainMediaId: number | null;
|
|
3643
|
+
deletedAt: Date | null;
|
|
3644
|
+
organizationActivityTypes: number[] | null;
|
|
3645
|
+
organizationTypes: number[] | null;
|
|
3646
|
+
organizationAudienceTypes: number[] | null;
|
|
3647
|
+
organizationGenders: number[] | null;
|
|
3648
|
+
questionnaireId: number | null;
|
|
3649
|
+
membershipQuestionnaireId: number | null;
|
|
3650
|
+
feeRate: number;
|
|
3651
|
+
feeAddDollarRate: number;
|
|
3652
|
+
achFeeRate: number;
|
|
3653
|
+
achFeeAddDollarRate: number;
|
|
3654
|
+
maxAchFee: number;
|
|
3655
|
+
cashFeeRate: number;
|
|
3656
|
+
cashFeeAddDollarRate: number;
|
|
3657
|
+
terminalFeeRate: number;
|
|
3658
|
+
terminalFeeAddDollarRate: number;
|
|
3659
|
+
checkFeeRate: number;
|
|
3660
|
+
checkFeeAddDollarRate: number;
|
|
3661
|
+
otherFeeRate: number;
|
|
3662
|
+
otherFeeAddDollarRate: number;
|
|
3663
|
+
balanceFeeRate: number;
|
|
3664
|
+
balanceFeeAddDollarRate: number;
|
|
3665
|
+
address: Address;
|
|
3666
|
+
mainMedia: Media;
|
|
3667
|
+
brandings: OrganizationBranding[];
|
|
3668
|
+
brandingsV2?: OrganizationBranding[];
|
|
3669
|
+
}
|
|
3670
|
+
export interface RefundResult extends PaymentsResults {
|
|
3671
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3672
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3673
|
+
invoice?: Invoice;
|
|
3674
|
+
}
|
|
3675
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3676
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3677
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3678
|
+
totalAmountProcessed: number;
|
|
3679
|
+
}
|
|
3680
|
+
export declare class ByOrganizationIdDto {
|
|
3681
|
+
organizationId: number;
|
|
3682
|
+
}
|
|
3683
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3684
|
+
organizationId?: number;
|
|
3685
|
+
}
|
|
3686
|
+
export declare class ChangeRolePermissionsDto {
|
|
3687
|
+
permissionIds: number[];
|
|
3688
|
+
}
|
|
3689
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3690
|
+
key?: string;
|
|
3691
|
+
vaule?: string;
|
|
3692
|
+
version: number;
|
|
3693
|
+
organization: Organization;
|
|
3694
|
+
}
|
|
3695
|
+
export declare class CreateRoleDto {
|
|
3696
|
+
name: string;
|
|
3697
|
+
}
|
|
3698
|
+
export declare class Permission extends BondBaseEntity {
|
|
3699
|
+
name: string;
|
|
3700
|
+
deletedAt?: Date;
|
|
3701
|
+
}
|
|
3702
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3703
|
+
name: string;
|
|
3704
|
+
deletedAt?: Date;
|
|
3705
|
+
permissions: Permission[];
|
|
3706
|
+
usersRoles: UserRole[];
|
|
3707
|
+
}
|
|
3708
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3709
|
+
deletedAt?: Date;
|
|
3710
|
+
userId: number;
|
|
3711
|
+
roleId: number;
|
|
3712
|
+
role: Role;
|
|
3713
|
+
user: User;
|
|
3678
3714
|
}
|
|
3679
|
-
export declare class
|
|
3715
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3716
|
+
deletedAt?: Date;
|
|
3717
|
+
reservationId: number;
|
|
3680
3718
|
invoiceId: number;
|
|
3681
|
-
|
|
3682
|
-
sendToEmail: string;
|
|
3683
|
-
memo?: string;
|
|
3719
|
+
slotId: number;
|
|
3684
3720
|
}
|
|
3685
|
-
export declare class
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
type: LineItemsStatusEnum;
|
|
3689
|
-
organizationId: number;
|
|
3690
|
-
userId?: number;
|
|
3721
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3722
|
+
parentId: number;
|
|
3723
|
+
parentType: AddonParentTypeEnum;
|
|
3691
3724
|
productId: number;
|
|
3692
3725
|
product?: Product;
|
|
3693
|
-
productType: ProductTypesEnum;
|
|
3694
|
-
ordinal?: number;
|
|
3695
|
-
price: number;
|
|
3696
|
-
originalPrice?: number;
|
|
3697
|
-
paidAmount?: number;
|
|
3698
|
-
currency: CurrencyEnum;
|
|
3699
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3700
|
-
isRefunded?: boolean;
|
|
3701
|
-
isTaxInclusive?: boolean;
|
|
3702
|
-
taxPrecent?: number;
|
|
3703
|
-
unitPrice?: number;
|
|
3704
3726
|
quantity: number;
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
}
|
|
3711
|
-
export declare class PurchasedResourceDto {
|
|
3727
|
+
unitPrice: number;
|
|
3728
|
+
totalPrice: number;
|
|
3729
|
+
approvalStatus: ReservationStatusEnum;
|
|
3730
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3731
|
+
level?: ProductPackageLevelEnum;
|
|
3712
3732
|
resourceId?: number;
|
|
3713
|
-
|
|
3714
|
-
|
|
3733
|
+
resource?: Resource;
|
|
3734
|
+
invoiceId?: number;
|
|
3735
|
+
invoice?: Invoice;
|
|
3736
|
+
productUserId?: number;
|
|
3737
|
+
productUser?: ProductsUsers;
|
|
3738
|
+
previousProductUsersIds?: number[];
|
|
3739
|
+
previousProductUsers?: ProductsUsers[];
|
|
3740
|
+
}
|
|
3741
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3742
|
+
name?: string;
|
|
3743
|
+
description?: string;
|
|
3744
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3745
|
+
privacySetting?: string;
|
|
3746
|
+
reservationType?: ReservationTypeEnum;
|
|
3747
|
+
invoiceId?: string;
|
|
3748
|
+
customerId?: number;
|
|
3749
|
+
customer?: Customer;
|
|
3750
|
+
price?: number;
|
|
3751
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3715
3752
|
startTime?: string;
|
|
3716
|
-
|
|
3717
|
-
|
|
3753
|
+
startDate?: Date;
|
|
3754
|
+
endDate?: Date;
|
|
3755
|
+
creatorId?: number;
|
|
3756
|
+
creatorType?: ResourceNameTypeEnum;
|
|
3757
|
+
userCreatorId?: number;
|
|
3758
|
+
sportType?: number;
|
|
3759
|
+
deletedAt?: Date;
|
|
3760
|
+
publicNotes?: string;
|
|
3761
|
+
privateNotes?: string;
|
|
3762
|
+
forms?: number[] | null;
|
|
3763
|
+
answerTitleIds?: number[] | null;
|
|
3764
|
+
segments?: Segment[];
|
|
3765
|
+
migrationStatus?: string;
|
|
3766
|
+
addons: Addon[];
|
|
3767
|
+
overrideProductsPrice: {
|
|
3768
|
+
productId: number;
|
|
3769
|
+
price: number;
|
|
3770
|
+
}[];
|
|
3771
|
+
targetGlobalPrice?: number;
|
|
3772
|
+
slots: Slot[];
|
|
3773
|
+
}
|
|
3774
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3775
|
+
deletedAt?: Date;
|
|
3776
|
+
reservationId: number;
|
|
3777
|
+
title: string;
|
|
3778
|
+
isPrivate: boolean;
|
|
3779
|
+
resourceIds?: number[];
|
|
3780
|
+
sportId: number;
|
|
3781
|
+
reservation?: Reservation;
|
|
3782
|
+
series?: Series[];
|
|
3783
|
+
addonIds?: number[] | null;
|
|
3784
|
+
publicNotesForSlots?: string;
|
|
3785
|
+
privateNotesForSlots?: string;
|
|
3786
|
+
slots?: Slot[];
|
|
3787
|
+
}
|
|
3788
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
3789
|
+
deletedAt?: Date;
|
|
3790
|
+
segmentId: number;
|
|
3791
|
+
segment?: Segment;
|
|
3792
|
+
slots?: Slot[];
|
|
3793
|
+
slotDurationType: string;
|
|
3794
|
+
durationEndsAfter: number;
|
|
3795
|
+
durationUnit: string;
|
|
3796
|
+
startDate?: Date;
|
|
3797
|
+
endDate?: Date;
|
|
3798
|
+
startTime: string;
|
|
3799
|
+
endTime: string;
|
|
3800
|
+
frequency: string;
|
|
3801
|
+
repeatEvery: number;
|
|
3802
|
+
repeatOn?: number[];
|
|
3803
|
+
repeatEndDate?: Date;
|
|
3804
|
+
numberOccurrences?: number;
|
|
3805
|
+
resources?: Resource[];
|
|
3806
|
+
}
|
|
3807
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3808
|
+
id?: number;
|
|
3809
|
+
}
|
|
3810
|
+
export declare class AddAddonsDto {
|
|
3811
|
+
addons: AddonDto[];
|
|
3812
|
+
}
|
|
3813
|
+
export declare class EditAddonsDto {
|
|
3814
|
+
addons: EditAddonDto[];
|
|
3815
|
+
}
|
|
3816
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3817
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3818
|
+
}
|
|
3819
|
+
export declare class EditAddonDto {
|
|
3820
|
+
id: number;
|
|
3821
|
+
quantity: number;
|
|
3822
|
+
totalPrice: number;
|
|
3823
|
+
unitPrice?: number;
|
|
3718
3824
|
}
|
|
3719
3825
|
export declare class InvoiceDto {
|
|
3720
3826
|
invoiceId?: string | null;
|
|
@@ -3757,57 +3863,116 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3757
3863
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3758
3864
|
segments: SegmentDto[];
|
|
3759
3865
|
}
|
|
3760
|
-
export declare
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3866
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3867
|
+
constructor();
|
|
3868
|
+
defineIsReverted(): void;
|
|
3869
|
+
isReverted: boolean;
|
|
3870
|
+
reservationId: number;
|
|
3871
|
+
reservation: Reservation;
|
|
3872
|
+
title?: string;
|
|
3873
|
+
creatorId?: number;
|
|
3874
|
+
creatorType?: string;
|
|
3875
|
+
userCreatorId?: number;
|
|
3876
|
+
startDate: Date;
|
|
3877
|
+
endDate: Date;
|
|
3878
|
+
startTime: string;
|
|
3879
|
+
endTime: string;
|
|
3880
|
+
timezone?: string;
|
|
3881
|
+
spaceId?: number;
|
|
3882
|
+
resource?: Resource;
|
|
3883
|
+
deletedAt?: Date;
|
|
3884
|
+
publicNotes?: string;
|
|
3885
|
+
privateNotes?: string;
|
|
3886
|
+
slotType: SlotTypeEnum;
|
|
3887
|
+
productsUserId?: number;
|
|
3888
|
+
productUser?: ProductsUsers;
|
|
3889
|
+
product?: Product;
|
|
3890
|
+
addonsProductUserIds?: number[] | null;
|
|
3891
|
+
addonsProductUsers?: ProductsUsers[];
|
|
3892
|
+
addonProducts?: Product[];
|
|
3893
|
+
addonsMetadata: AddonMetadata[];
|
|
3894
|
+
segmentId: number;
|
|
3895
|
+
segment: Segment;
|
|
3896
|
+
eventId: number;
|
|
3897
|
+
event: Event;
|
|
3898
|
+
sportIds: number[];
|
|
3899
|
+
parentSlotId?: number;
|
|
3900
|
+
parent?: Slot;
|
|
3901
|
+
children?: Slot[];
|
|
3902
|
+
maintenanceDurationdurationType: string;
|
|
3903
|
+
maintenanceTiming: number;
|
|
3904
|
+
durationValue: number;
|
|
3905
|
+
seriesId?: number;
|
|
3906
|
+
series?: Series;
|
|
3907
|
+
invoiceId?: number;
|
|
3908
|
+
invoice?: Invoice;
|
|
3909
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3910
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3911
|
+
displayName?: string;
|
|
3912
|
+
internalName?: string;
|
|
3913
|
+
activityTypes?: number[] | null;
|
|
3914
|
+
hourlyRate: number;
|
|
3915
|
+
totalPrice: number;
|
|
3916
|
+
isConsumerVisible: boolean;
|
|
3917
|
+
isMonitorVisible: boolean;
|
|
3918
|
+
isPrivate: boolean;
|
|
3919
|
+
occurrence?: number;
|
|
3920
|
+
maintenance?: Slot[];
|
|
3921
|
+
productMetadata: {
|
|
3922
|
+
productId: number;
|
|
3923
|
+
price: number;
|
|
3924
|
+
};
|
|
3925
|
+
slotDurationType: string;
|
|
3926
|
+
changeLineItemIds?: number[];
|
|
3927
|
+
changeLineItems?: LineItems[];
|
|
3928
|
+
updatedLineItem?: LineItems;
|
|
3929
|
+
conflictsCount?: number;
|
|
3930
|
+
conflicts?: Slot[];
|
|
3786
3931
|
}
|
|
3787
|
-
export declare class
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3932
|
+
export declare class LineItemDto {
|
|
3933
|
+
id?: number;
|
|
3934
|
+
invoiceId?: number;
|
|
3935
|
+
type: LineItemsStatusEnum;
|
|
3936
|
+
organizationId: number;
|
|
3937
|
+
userId?: number;
|
|
3938
|
+
productId: number;
|
|
3939
|
+
product?: Product;
|
|
3940
|
+
productType: ProductTypesEnum;
|
|
3941
|
+
ordinal?: number;
|
|
3942
|
+
price: number;
|
|
3943
|
+
originalPrice?: number;
|
|
3944
|
+
paidAmount?: number;
|
|
3945
|
+
currency: CurrencyEnum;
|
|
3946
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3947
|
+
isRefunded?: boolean;
|
|
3948
|
+
isTaxInclusive?: boolean;
|
|
3949
|
+
taxPrecent?: number;
|
|
3950
|
+
unitPrice?: number;
|
|
3951
|
+
quantity: number;
|
|
3952
|
+
resources?: PurchasedResourceDto[];
|
|
3953
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3954
|
+
unitPriceWithTax?: number;
|
|
3955
|
+
unitTaxPrice?: number;
|
|
3956
|
+
parentOrdinal?: number;
|
|
3794
3957
|
}
|
|
3795
|
-
export declare class
|
|
3958
|
+
export declare class SegmentDto {
|
|
3796
3959
|
id?: number;
|
|
3797
|
-
|
|
3960
|
+
title: string;
|
|
3961
|
+
isPrivate: boolean;
|
|
3962
|
+
resourceIds: number[];
|
|
3963
|
+
sportId?: number;
|
|
3964
|
+
series: SeriesDto[];
|
|
3965
|
+
addonIds?: number[];
|
|
3966
|
+
publicNotesForSlots?: string;
|
|
3967
|
+
privateNotesForSlots?: string;
|
|
3968
|
+
}
|
|
3969
|
+
export declare class PurchasedResourceDto {
|
|
3970
|
+
resourceId?: number;
|
|
3971
|
+
resourceType: ResourceNameTypeEnum;
|
|
3972
|
+
startDate?: string;
|
|
3798
3973
|
startTime?: string;
|
|
3799
3974
|
endDate?: string;
|
|
3800
3975
|
endTime?: string;
|
|
3801
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3802
|
-
durationEndsAfter?: number;
|
|
3803
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3804
|
-
frequency: FrequencyEnum;
|
|
3805
|
-
repeatEvery?: number;
|
|
3806
|
-
repeatOn?: number[];
|
|
3807
|
-
repeatEndDate?: string;
|
|
3808
|
-
numberOccurrences?: number;
|
|
3809
|
-
maintenance?: MaintenanceDto[];
|
|
3810
|
-
slots?: SlotDto[];
|
|
3811
3976
|
}
|
|
3812
3977
|
export declare class ReservationDto {
|
|
3813
3978
|
id?: number;
|
|
@@ -3953,8 +4118,66 @@ export declare class EditReservationDetailsDto {
|
|
|
3953
4118
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3954
4119
|
updateAddons?: boolean;
|
|
3955
4120
|
}
|
|
3956
|
-
export declare class
|
|
3957
|
-
|
|
4121
|
+
export declare class SeriesDto {
|
|
4122
|
+
id?: number;
|
|
4123
|
+
startDate: string;
|
|
4124
|
+
startTime?: string;
|
|
4125
|
+
endDate?: string;
|
|
4126
|
+
endTime?: string;
|
|
4127
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4128
|
+
durationEndsAfter?: number;
|
|
4129
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4130
|
+
frequency: FrequencyEnum;
|
|
4131
|
+
repeatEvery?: number;
|
|
4132
|
+
repeatOn?: number[];
|
|
4133
|
+
repeatEndDate?: string;
|
|
4134
|
+
numberOccurrences?: number;
|
|
4135
|
+
maintenance?: MaintenanceDto[];
|
|
4136
|
+
slots?: SlotDto[];
|
|
4137
|
+
}
|
|
4138
|
+
declare class AnswerDto {
|
|
4139
|
+
questionId: number;
|
|
4140
|
+
value: any;
|
|
4141
|
+
}
|
|
4142
|
+
export declare class BookedSessionDto {
|
|
4143
|
+
startDate: string;
|
|
4144
|
+
endDate: string;
|
|
4145
|
+
timezone: string;
|
|
4146
|
+
spaceId: number;
|
|
4147
|
+
}
|
|
4148
|
+
declare class AddonV1Dto {
|
|
4149
|
+
resourcePackageId: number;
|
|
4150
|
+
resourcePackageAmount: number;
|
|
4151
|
+
resourcePackagePrice: number;
|
|
4152
|
+
}
|
|
4153
|
+
export declare class ReservationV1Dto {
|
|
4154
|
+
organizationId: number;
|
|
4155
|
+
name: string;
|
|
4156
|
+
dayOfWeek: number;
|
|
4157
|
+
startTime: string;
|
|
4158
|
+
description: string;
|
|
4159
|
+
sport: number;
|
|
4160
|
+
price: number;
|
|
4161
|
+
resourcePackageId: number;
|
|
4162
|
+
resourcePackageAmount: number;
|
|
4163
|
+
bookedSessions: BookedSessionDto[];
|
|
4164
|
+
addons: AddonV1Dto[];
|
|
4165
|
+
}
|
|
4166
|
+
export declare class BookingV1Dto {
|
|
4167
|
+
organizationId: number;
|
|
4168
|
+
reservations: ReservationV1Dto[];
|
|
4169
|
+
answers: AnswerDto[];
|
|
4170
|
+
paymentData: PurchasePaymentDto;
|
|
4171
|
+
skipPayment: boolean;
|
|
4172
|
+
cashPayment: boolean;
|
|
4173
|
+
requestOnly: boolean;
|
|
4174
|
+
}
|
|
4175
|
+
export declare class MaintenanceDto {
|
|
4176
|
+
id?: number;
|
|
4177
|
+
title: string;
|
|
4178
|
+
durationValue: number;
|
|
4179
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4180
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3958
4181
|
}
|
|
3959
4182
|
export declare type TSlotAndType = {
|
|
3960
4183
|
type: 'slots' | 'slot_addons';
|
|
@@ -3969,32 +4192,6 @@ export interface ILineItemResource {
|
|
|
3969
4192
|
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
3970
4193
|
values: TResource[];
|
|
3971
4194
|
}
|
|
3972
|
-
export declare class ChangeRolePermissionsDto {
|
|
3973
|
-
permissionIds: number[];
|
|
3974
|
-
}
|
|
3975
|
-
export declare class CreateRoleDto {
|
|
3976
|
-
name: string;
|
|
3977
|
-
}
|
|
3978
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3979
|
-
parentId: number;
|
|
3980
|
-
parentType: AddonParentTypeEnum;
|
|
3981
|
-
productId: number;
|
|
3982
|
-
product?: Product;
|
|
3983
|
-
quantity: number;
|
|
3984
|
-
unitPrice: number;
|
|
3985
|
-
totalPrice: number;
|
|
3986
|
-
approvalStatus: ReservationStatusEnum;
|
|
3987
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3988
|
-
level?: ProductPackageLevelEnum;
|
|
3989
|
-
resourceId?: number;
|
|
3990
|
-
resource?: Resource;
|
|
3991
|
-
invoiceId?: number;
|
|
3992
|
-
invoice?: Invoice;
|
|
3993
|
-
productUserId?: number;
|
|
3994
|
-
productUser?: ProductsUsers;
|
|
3995
|
-
previousProductUsersIds?: number[];
|
|
3996
|
-
previousProductUsers?: ProductsUsers[];
|
|
3997
|
-
}
|
|
3998
4195
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
3999
4196
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4000
4197
|
export interface ReservationV1 {
|
|
@@ -4147,281 +4344,76 @@ export interface SingleReservation {
|
|
|
4147
4344
|
customerId: number;
|
|
4148
4345
|
customer?: Customer;
|
|
4149
4346
|
invoices?: IInvoice[];
|
|
4150
|
-
payments?: IPartialPayment[];
|
|
4151
|
-
addons?: Addon[];
|
|
4152
|
-
answers?: Answer[];
|
|
4153
|
-
series: Series[];
|
|
4154
|
-
segments?: Segment[];
|
|
4155
|
-
}
|
|
4156
|
-
export interface UpdateReservationResult {
|
|
4157
|
-
reservation: Reservation;
|
|
4158
|
-
invoice?: Invoice;
|
|
4159
|
-
debug?: any;
|
|
4160
|
-
}
|
|
4161
|
-
export interface UpdateSlotPricesResult {
|
|
4162
|
-
reservation: ReservationDto;
|
|
4163
|
-
slots: SlotDto[];
|
|
4164
|
-
invoice: InvoiceDto;
|
|
4165
|
-
debug?: any;
|
|
4166
|
-
}
|
|
4167
|
-
export interface UpdateSlotsAddonsResult {
|
|
4168
|
-
slots: SlotDto[];
|
|
4169
|
-
invoice: InvoiceDto;
|
|
4170
|
-
debug?: any;
|
|
4171
|
-
}
|
|
4172
|
-
export interface ValidateEditItemsResult {
|
|
4173
|
-
nextFinancialStep: FinancialStepEnum;
|
|
4174
|
-
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4175
|
-
originalInvoicePrice?: number;
|
|
4176
|
-
updatedInvoicePrice?: number;
|
|
4177
|
-
originalItemsPrice?: number;
|
|
4178
|
-
updatedItemsPrice?: number;
|
|
4179
|
-
priceChange?: number;
|
|
4180
|
-
refundMetadata?: EditItemsRefundMetadata;
|
|
4181
|
-
editData?: EditItemsData;
|
|
4182
|
-
}
|
|
4183
|
-
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4184
|
-
slots: SlotDto[];
|
|
4185
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4186
|
-
}
|
|
4187
|
-
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4188
|
-
refundMetadata?: EditAddonsRefundMetadata;
|
|
4189
|
-
}
|
|
4190
|
-
export interface EditSlotsRefundMetadata {
|
|
4191
|
-
lineItems: SlotsLineItemData[];
|
|
4192
|
-
refundAmount: number;
|
|
4193
|
-
}
|
|
4194
|
-
export interface EditAddonsRefundMetadata {
|
|
4195
|
-
lineItems: AddonsLineItemData[];
|
|
4196
|
-
refundAmount: number;
|
|
4197
|
-
}
|
|
4198
|
-
export interface EditItemsRefundMetadata {
|
|
4199
|
-
lineItems: ReservationItemLineItemData[];
|
|
4200
|
-
refundAmount: number;
|
|
4201
|
-
}
|
|
4202
|
-
export interface EditItemsData {
|
|
4203
|
-
invoice?: Invoice;
|
|
4204
|
-
editLineItems?: ReservationItemLineItemData[];
|
|
4205
|
-
newLineItems?: LineItemDto[];
|
|
4206
|
-
}
|
|
4207
|
-
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4208
|
-
refundResult?: RefundResult;
|
|
4209
|
-
}
|
|
4210
|
-
export interface TimeSlotConflicts {
|
|
4211
|
-
timeSlot: TimeSlotDto;
|
|
4212
|
-
conflicts: Slot[];
|
|
4213
|
-
}
|
|
4214
|
-
export interface AddonMetadata {
|
|
4215
|
-
productId: number;
|
|
4216
|
-
quantity: number;
|
|
4217
|
-
unitPrice: number;
|
|
4218
|
-
totalPrice: number;
|
|
4219
|
-
product?: Product;
|
|
4220
|
-
}
|
|
4221
|
-
declare class AnswerDto {
|
|
4222
|
-
questionId: number;
|
|
4223
|
-
value: any;
|
|
4224
|
-
}
|
|
4225
|
-
export declare class BookedSessionDto {
|
|
4226
|
-
startDate: string;
|
|
4227
|
-
endDate: string;
|
|
4228
|
-
timezone: string;
|
|
4229
|
-
spaceId: number;
|
|
4230
|
-
}
|
|
4231
|
-
declare class AddonV1Dto {
|
|
4232
|
-
resourcePackageId: number;
|
|
4233
|
-
resourcePackageAmount: number;
|
|
4234
|
-
resourcePackagePrice: number;
|
|
4235
|
-
}
|
|
4236
|
-
export declare class ReservationV1Dto {
|
|
4237
|
-
organizationId: number;
|
|
4238
|
-
name: string;
|
|
4239
|
-
dayOfWeek: number;
|
|
4240
|
-
startTime: string;
|
|
4241
|
-
description: string;
|
|
4242
|
-
sport: number;
|
|
4243
|
-
price: number;
|
|
4244
|
-
resourcePackageId: number;
|
|
4245
|
-
resourcePackageAmount: number;
|
|
4246
|
-
bookedSessions: BookedSessionDto[];
|
|
4247
|
-
addons: AddonV1Dto[];
|
|
4248
|
-
}
|
|
4249
|
-
export declare class BookingV1Dto {
|
|
4250
|
-
organizationId: number;
|
|
4251
|
-
reservations: ReservationV1Dto[];
|
|
4252
|
-
answers: AnswerDto[];
|
|
4253
|
-
paymentData: PurchasePaymentDto;
|
|
4254
|
-
skipPayment: boolean;
|
|
4255
|
-
cashPayment: boolean;
|
|
4256
|
-
requestOnly: boolean;
|
|
4257
|
-
}
|
|
4258
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4259
|
-
name?: string;
|
|
4260
|
-
description?: string;
|
|
4261
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4262
|
-
privacySetting?: string;
|
|
4263
|
-
reservationType?: ReservationTypeEnum;
|
|
4264
|
-
invoiceId?: string;
|
|
4265
|
-
customerId?: number;
|
|
4266
|
-
customer?: Customer;
|
|
4267
|
-
price?: number;
|
|
4268
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4269
|
-
startTime?: string;
|
|
4270
|
-
startDate?: Date;
|
|
4271
|
-
endDate?: Date;
|
|
4272
|
-
creatorId?: number;
|
|
4273
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4274
|
-
userCreatorId?: number;
|
|
4275
|
-
sportType?: number;
|
|
4276
|
-
deletedAt?: Date;
|
|
4277
|
-
publicNotes?: string;
|
|
4278
|
-
privateNotes?: string;
|
|
4279
|
-
forms?: number[] | null;
|
|
4280
|
-
answerTitleIds?: number[] | null;
|
|
4347
|
+
payments?: IPartialPayment[];
|
|
4348
|
+
addons?: Addon[];
|
|
4349
|
+
answers?: Answer[];
|
|
4350
|
+
series: Series[];
|
|
4281
4351
|
segments?: Segment[];
|
|
4282
|
-
migrationStatus?: string;
|
|
4283
|
-
addons: Addon[];
|
|
4284
|
-
overrideProductsPrice: {
|
|
4285
|
-
productId: number;
|
|
4286
|
-
price: number;
|
|
4287
|
-
}[];
|
|
4288
|
-
targetGlobalPrice?: number;
|
|
4289
|
-
slots: Slot[];
|
|
4290
4352
|
}
|
|
4291
|
-
export
|
|
4292
|
-
|
|
4293
|
-
|
|
4353
|
+
export interface UpdateReservationResult {
|
|
4354
|
+
reservation: Reservation;
|
|
4355
|
+
invoice?: Invoice;
|
|
4356
|
+
debug?: any;
|
|
4294
4357
|
}
|
|
4295
|
-
export
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
slotDurationType: string;
|
|
4301
|
-
durationEndsAfter: number;
|
|
4302
|
-
durationUnit: string;
|
|
4303
|
-
startDate?: Date;
|
|
4304
|
-
endDate?: Date;
|
|
4305
|
-
startTime: string;
|
|
4306
|
-
endTime: string;
|
|
4307
|
-
frequency: string;
|
|
4308
|
-
repeatEvery: number;
|
|
4309
|
-
repeatOn?: number[];
|
|
4310
|
-
repeatEndDate?: Date;
|
|
4311
|
-
numberOccurrences?: number;
|
|
4312
|
-
resources?: Resource[];
|
|
4358
|
+
export interface UpdateSlotPricesResult {
|
|
4359
|
+
reservation: ReservationDto;
|
|
4360
|
+
slots: SlotDto[];
|
|
4361
|
+
invoice: InvoiceDto;
|
|
4362
|
+
debug?: any;
|
|
4313
4363
|
}
|
|
4314
|
-
export
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
isPrivate: boolean;
|
|
4319
|
-
resourceIds?: number[];
|
|
4320
|
-
sportId: number;
|
|
4321
|
-
reservation?: Reservation;
|
|
4322
|
-
series?: Series[];
|
|
4323
|
-
addonIds?: number[] | null;
|
|
4324
|
-
publicNotesForSlots?: string;
|
|
4325
|
-
privateNotesForSlots?: string;
|
|
4326
|
-
slots?: Slot[];
|
|
4364
|
+
export interface UpdateSlotsAddonsResult {
|
|
4365
|
+
slots: SlotDto[];
|
|
4366
|
+
invoice: InvoiceDto;
|
|
4367
|
+
debug?: any;
|
|
4327
4368
|
}
|
|
4328
|
-
export
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4369
|
+
export interface ValidateEditItemsResult {
|
|
4370
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4371
|
+
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4372
|
+
originalInvoicePrice?: number;
|
|
4373
|
+
updatedInvoicePrice?: number;
|
|
4374
|
+
originalItemsPrice?: number;
|
|
4375
|
+
updatedItemsPrice?: number;
|
|
4376
|
+
priceChange?: number;
|
|
4377
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4378
|
+
editData?: EditItemsData;
|
|
4333
4379
|
}
|
|
4334
|
-
export
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
roleId: number;
|
|
4338
|
-
role: Role;
|
|
4339
|
-
user: User;
|
|
4380
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4381
|
+
slots: SlotDto[];
|
|
4382
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4340
4383
|
}
|
|
4341
|
-
export
|
|
4342
|
-
|
|
4343
|
-
deletedAt?: Date;
|
|
4344
|
-
permissions: Permission[];
|
|
4345
|
-
usersRoles: UserRole[];
|
|
4384
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4385
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4346
4386
|
}
|
|
4347
|
-
export
|
|
4348
|
-
|
|
4387
|
+
export interface EditSlotsRefundMetadata {
|
|
4388
|
+
lineItems: SlotsLineItemData[];
|
|
4389
|
+
refundAmount: number;
|
|
4349
4390
|
}
|
|
4350
|
-
export
|
|
4351
|
-
|
|
4391
|
+
export interface EditAddonsRefundMetadata {
|
|
4392
|
+
lineItems: AddonsLineItemData[];
|
|
4393
|
+
refundAmount: number;
|
|
4352
4394
|
}
|
|
4353
|
-
export
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
reservation: Reservation;
|
|
4359
|
-
title?: string;
|
|
4360
|
-
creatorId?: number;
|
|
4361
|
-
creatorType?: string;
|
|
4362
|
-
userCreatorId?: number;
|
|
4363
|
-
startDate: Date;
|
|
4364
|
-
endDate: Date;
|
|
4365
|
-
startTime: string;
|
|
4366
|
-
endTime: string;
|
|
4367
|
-
timezone?: string;
|
|
4368
|
-
spaceId?: number;
|
|
4369
|
-
resource?: Resource;
|
|
4370
|
-
deletedAt?: Date;
|
|
4371
|
-
publicNotes?: string;
|
|
4372
|
-
privateNotes?: string;
|
|
4373
|
-
slotType: SlotTypeEnum;
|
|
4374
|
-
productsUserId?: number;
|
|
4375
|
-
productUser?: ProductsUsers;
|
|
4376
|
-
product?: Product;
|
|
4377
|
-
addonsProductUserIds?: number[] | null;
|
|
4378
|
-
addonsProductUsers?: ProductsUsers[];
|
|
4379
|
-
addonProducts?: Product[];
|
|
4380
|
-
addonsMetadata: AddonMetadata[];
|
|
4381
|
-
segmentId: number;
|
|
4382
|
-
segment: Segment;
|
|
4383
|
-
eventId: number;
|
|
4384
|
-
event: Event;
|
|
4385
|
-
sportIds: number[];
|
|
4386
|
-
parentSlotId?: number;
|
|
4387
|
-
parent?: Slot;
|
|
4388
|
-
children?: Slot[];
|
|
4389
|
-
maintenanceDurationdurationType: string;
|
|
4390
|
-
maintenanceTiming: number;
|
|
4391
|
-
durationValue: number;
|
|
4392
|
-
seriesId?: number;
|
|
4393
|
-
series?: Series;
|
|
4394
|
-
invoiceId?: number;
|
|
4395
|
+
export interface EditItemsRefundMetadata {
|
|
4396
|
+
lineItems: ReservationItemLineItemData[];
|
|
4397
|
+
refundAmount: number;
|
|
4398
|
+
}
|
|
4399
|
+
export interface EditItemsData {
|
|
4395
4400
|
invoice?: Invoice;
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
displayName?: string;
|
|
4399
|
-
internalName?: string;
|
|
4400
|
-
activityTypes?: number[] | null;
|
|
4401
|
-
hourlyRate: number;
|
|
4402
|
-
totalPrice: number;
|
|
4403
|
-
isConsumerVisible: boolean;
|
|
4404
|
-
isMonitorVisible: boolean;
|
|
4405
|
-
isPrivate: boolean;
|
|
4406
|
-
occurrence?: number;
|
|
4407
|
-
maintenance?: Slot[];
|
|
4408
|
-
productMetadata: {
|
|
4409
|
-
productId: number;
|
|
4410
|
-
price: number;
|
|
4411
|
-
};
|
|
4412
|
-
slotDurationType: string;
|
|
4413
|
-
changeLineItemIds?: number[];
|
|
4414
|
-
changeLineItems?: LineItems[];
|
|
4415
|
-
updatedLineItem?: LineItems;
|
|
4416
|
-
conflictsCount?: number;
|
|
4417
|
-
conflicts?: Slot[];
|
|
4401
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4402
|
+
newLineItems?: LineItemDto[];
|
|
4418
4403
|
}
|
|
4419
|
-
export
|
|
4420
|
-
|
|
4421
|
-
managementClosingCashAmount: number;
|
|
4404
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4405
|
+
refundResult?: RefundResult;
|
|
4422
4406
|
}
|
|
4423
|
-
export
|
|
4424
|
-
|
|
4407
|
+
export interface TimeSlotConflicts {
|
|
4408
|
+
timeSlot: TimeSlotDto;
|
|
4409
|
+
conflicts: Slot[];
|
|
4410
|
+
}
|
|
4411
|
+
export interface AddonMetadata {
|
|
4412
|
+
productId: number;
|
|
4413
|
+
quantity: number;
|
|
4414
|
+
unitPrice: number;
|
|
4415
|
+
totalPrice: number;
|
|
4416
|
+
product?: Product;
|
|
4425
4417
|
}
|
|
4426
4418
|
export declare class SlotDateTimeAndSpace {
|
|
4427
4419
|
startDate: string;
|
|
@@ -4501,23 +4493,35 @@ export declare class TimeSlotsDto {
|
|
|
4501
4493
|
export declare class SlotsIdsDto {
|
|
4502
4494
|
slotsIds: number[];
|
|
4503
4495
|
}
|
|
4504
|
-
export declare class
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4496
|
+
export declare class CloseShiftDto {
|
|
4497
|
+
closingCashAmount: number;
|
|
4498
|
+
}
|
|
4499
|
+
export declare class FindShiftsFiltersDto {
|
|
4500
|
+
statuses?: string;
|
|
4501
|
+
stationIds?: string;
|
|
4502
|
+
openingUsersIds?: string;
|
|
4503
|
+
closingUsersIds?: string;
|
|
4504
|
+
closingManagersIds?: string;
|
|
4505
|
+
reconcilingUsersIds?: string;
|
|
4506
|
+
startDate?: Date;
|
|
4507
|
+
endDate?: Date;
|
|
4508
|
+
}
|
|
4509
|
+
export declare class FindShiftsFormattedFilters {
|
|
4510
|
+
statuses?: string[];
|
|
4511
|
+
stationIds?: number[];
|
|
4512
|
+
openingUsersIds?: number[];
|
|
4513
|
+
closingUsersIds?: number[];
|
|
4514
|
+
closingManagersIds?: number[];
|
|
4515
|
+
reconcilingUsersIds?: number[];
|
|
4516
|
+
startDate?: Date;
|
|
4517
|
+
endDate?: Date;
|
|
4514
4518
|
}
|
|
4515
4519
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4516
4520
|
mainAdminUserId?: number;
|
|
4517
4521
|
}
|
|
4518
|
-
export declare class
|
|
4519
|
-
|
|
4520
|
-
|
|
4522
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
4523
|
+
organisationId: number | null;
|
|
4524
|
+
userId: number | null;
|
|
4521
4525
|
}
|
|
4522
4526
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4523
4527
|
stationId: number;
|
|
@@ -4548,23 +4552,17 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4548
4552
|
closingManager?: User;
|
|
4549
4553
|
reconcilingUser?: User;
|
|
4550
4554
|
}
|
|
4551
|
-
export declare class
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
openingUsersIds?: string;
|
|
4555
|
-
closingUsersIds?: string;
|
|
4556
|
-
closingManagersIds?: string;
|
|
4557
|
-
reconcilingUsersIds?: string;
|
|
4558
|
-
startDate?: Date;
|
|
4559
|
-
endDate?: Date;
|
|
4555
|
+
export declare class OpenShiftDto {
|
|
4556
|
+
openingCashAmount: number;
|
|
4557
|
+
stationId: number;
|
|
4560
4558
|
}
|
|
4561
|
-
export declare class
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4559
|
+
export declare class FindShiftsByIdsDto {
|
|
4560
|
+
shiftIds: number[];
|
|
4561
|
+
}
|
|
4562
|
+
export declare class ShiftManagementClosingAmount {
|
|
4563
|
+
shiftId: number;
|
|
4564
|
+
managementClosingCashAmount: number;
|
|
4565
|
+
}
|
|
4566
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4567
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4570
4568
|
}
|