@bondsports/types 0.13.1 → 0.13.2
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 +1475 -1600
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from
|
|
2
|
-
import { Stripe } from
|
|
3
|
-
import moment from
|
|
4
|
-
export { TypesProvider } from
|
|
1
|
+
import { BaseEntity } from 'typeorm';
|
|
2
|
+
import { Stripe } from 'stripe';
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
export { TypesProvider } from './provider';
|
|
5
5
|
export declare class BasicActivityTimesDto {
|
|
6
6
|
dayOfWeek: number;
|
|
7
7
|
close: string;
|
|
@@ -20,80 +20,47 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
-
export declare class
|
|
24
|
-
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
|
-
export declare enum EConfigurationKeys {
|
|
31
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
-
}
|
|
33
|
-
export declare enum EFailedPaymentReasons {
|
|
34
|
-
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
-
UNKNOWN = "unknown"
|
|
36
|
-
}
|
|
37
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
|
-
membershipId: number;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportProductsFromDB {
|
|
41
|
-
buDate: string;
|
|
23
|
+
export declare class FindFamilyAccountsDto {
|
|
24
|
+
userId: number;
|
|
42
25
|
}
|
|
43
|
-
export declare class
|
|
44
|
-
|
|
45
|
-
|
|
26
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
27
|
+
customerId: number;
|
|
28
|
+
organizationId: number;
|
|
46
29
|
}
|
|
47
|
-
export declare class
|
|
48
|
-
|
|
30
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
31
|
+
familyAccountId: number;
|
|
49
32
|
}
|
|
50
|
-
export declare class
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
export declare class CreateFamilyAccountDto {
|
|
34
|
+
familyName: string;
|
|
35
|
+
userId: number;
|
|
53
36
|
}
|
|
54
|
-
export declare class
|
|
55
|
-
|
|
37
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
38
|
+
familyName: string;
|
|
39
|
+
familyAccountId: number;
|
|
56
40
|
}
|
|
57
|
-
export declare class
|
|
58
|
-
|
|
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;
|
|
59
50
|
}
|
|
60
|
-
export declare class
|
|
51
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
61
52
|
userId: number;
|
|
53
|
+
familyAccountId: number;
|
|
62
54
|
}
|
|
63
|
-
export declare class
|
|
64
|
-
|
|
65
|
-
fuzzy?: string;
|
|
66
|
-
customerType?: CustomerTypeEnum;
|
|
67
|
-
customersIds?: string;
|
|
68
|
-
}
|
|
69
|
-
export declare class AddCustomerNotesDto {
|
|
70
|
-
customerNotes: CustomerNoteDto[];
|
|
71
|
-
}
|
|
72
|
-
export declare class CustomerNoteDto {
|
|
73
|
-
id?: number;
|
|
74
|
-
description: string;
|
|
75
|
-
pinToTop?: boolean;
|
|
55
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
56
|
+
organizationId: number;
|
|
76
57
|
}
|
|
77
|
-
export declare class
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
color?: string;
|
|
84
|
-
street?: string;
|
|
85
|
-
city?: string;
|
|
86
|
-
state?: string;
|
|
87
|
-
zip?: string;
|
|
88
|
-
phoneNumber?: string;
|
|
89
|
-
mainMediaId?: number;
|
|
90
|
-
creatorId?: number;
|
|
91
|
-
creatorType?: ResourceNameTypeEnum;
|
|
92
|
-
userCreatorId?: number;
|
|
93
|
-
gender?: GenderEnum;
|
|
94
|
-
birthDate?: string;
|
|
95
|
-
emergencyContactName?: string;
|
|
96
|
-
emergencyContactPhone?: string;
|
|
58
|
+
export declare class GetGlCodeDto {
|
|
59
|
+
id: number;
|
|
60
|
+
organizationId: number;
|
|
61
|
+
code: string;
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
updatedAt: Date;
|
|
97
64
|
}
|
|
98
65
|
export declare class FindEventByIdDto {
|
|
99
66
|
eventId: number;
|
|
@@ -195,61 +162,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
195
162
|
isWaiverSigned?: string;
|
|
196
163
|
statuses?: string;
|
|
197
164
|
}
|
|
198
|
-
export declare class AddressDto {
|
|
199
|
-
city: string;
|
|
200
|
-
state: string;
|
|
201
|
-
country: string;
|
|
202
|
-
geo: number[];
|
|
203
|
-
}
|
|
204
|
-
export declare class OpeningTimeDto {
|
|
205
|
-
open: string;
|
|
206
|
-
close: string;
|
|
207
|
-
dayOfWeek: number;
|
|
208
|
-
}
|
|
209
|
-
export declare class CreateFacilityDto {
|
|
210
|
-
name: string;
|
|
211
|
-
sports: number[];
|
|
212
|
-
description?: string;
|
|
213
|
-
longDescription?: string;
|
|
214
|
-
info?: string;
|
|
215
|
-
address: AddressDto;
|
|
216
|
-
timezone: string;
|
|
217
|
-
amenities: number[];
|
|
218
|
-
openingTimes: OpeningTimeDto[];
|
|
219
|
-
resourcesIds?: number[];
|
|
220
|
-
}
|
|
221
|
-
export declare class UpdateFacilityDetailsDto {
|
|
222
|
-
name?: string;
|
|
223
|
-
description?: string;
|
|
224
|
-
longDescription?: string;
|
|
225
|
-
info?: string;
|
|
226
|
-
address?: AddressDto;
|
|
227
|
-
timezone?: string;
|
|
228
|
-
}
|
|
229
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
230
|
-
openingTimes: OpeningTimeDto[];
|
|
231
|
-
}
|
|
232
|
-
export declare class UpdateFacilitySportsDto {
|
|
233
|
-
sports: number[];
|
|
234
|
-
}
|
|
235
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
236
|
-
amenities: number[];
|
|
237
|
-
}
|
|
238
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
239
|
-
nameSearch?: string;
|
|
240
|
-
}
|
|
241
|
-
export declare class FindOneParams {
|
|
242
|
-
id: number;
|
|
243
|
-
}
|
|
244
|
-
export declare class PaginationQuery {
|
|
245
|
-
page: number;
|
|
246
|
-
itemsPerPage: number;
|
|
247
|
-
}
|
|
248
|
-
export declare class PaginationRangeQuery {
|
|
249
|
-
startPage: number;
|
|
250
|
-
endPage: number;
|
|
251
|
-
itemsPerPage: number;
|
|
252
|
-
}
|
|
253
165
|
export declare class FindByProgramSeasonIdDto {
|
|
254
166
|
seasonId: number;
|
|
255
167
|
}
|
|
@@ -323,38 +235,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
323
235
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
324
236
|
fileName: string;
|
|
325
237
|
}
|
|
326
|
-
export declare class FindFamilyAccountsDto {
|
|
327
|
-
userId: number;
|
|
328
|
-
}
|
|
329
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
330
|
-
customerId: number;
|
|
331
|
-
organizationId: number;
|
|
332
|
-
}
|
|
333
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
334
|
-
familyAccountId: number;
|
|
335
|
-
}
|
|
336
|
-
export declare class CreateFamilyAccountDto {
|
|
337
|
-
familyName: string;
|
|
338
|
-
userId: number;
|
|
339
|
-
}
|
|
340
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
341
|
-
familyName: string;
|
|
342
|
-
familyAccountId: number;
|
|
343
|
-
}
|
|
344
|
-
export declare class AddUserToFamilyAccountDto {
|
|
345
|
-
familyAccountId: number;
|
|
346
|
-
isUserAdmin: boolean;
|
|
347
|
-
firstName: string;
|
|
348
|
-
lastName: string;
|
|
349
|
-
gender: GenderEnum;
|
|
350
|
-
birthDate: string;
|
|
351
|
-
sports?: number[];
|
|
352
|
-
email?: string;
|
|
353
|
-
}
|
|
354
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
355
|
-
userId: number;
|
|
356
|
-
familyAccountId: number;
|
|
357
|
-
}
|
|
358
238
|
export declare class CreateMembershipDto {
|
|
359
239
|
organizationId: number;
|
|
360
240
|
name: string;
|
|
@@ -411,266 +291,60 @@ export declare class CancelMembershipDto {
|
|
|
411
291
|
isImmediatelyCancel: boolean;
|
|
412
292
|
cancellationReason?: string;
|
|
413
293
|
}
|
|
414
|
-
export declare class
|
|
415
|
-
|
|
294
|
+
export declare class AddressDto {
|
|
295
|
+
city: string;
|
|
296
|
+
state: string;
|
|
297
|
+
country: string;
|
|
298
|
+
geo: number[];
|
|
416
299
|
}
|
|
417
|
-
export declare class
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
createdAt: Date;
|
|
422
|
-
updatedAt: Date;
|
|
300
|
+
export declare class OpeningTimeDto {
|
|
301
|
+
open: string;
|
|
302
|
+
close: string;
|
|
303
|
+
dayOfWeek: number;
|
|
423
304
|
}
|
|
424
|
-
export declare class
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
305
|
+
export declare class CreateFacilityDto {
|
|
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[];
|
|
428
316
|
}
|
|
429
|
-
export declare class
|
|
430
|
-
|
|
317
|
+
export declare class UpdateFacilityDetailsDto {
|
|
318
|
+
name?: string;
|
|
319
|
+
description?: string;
|
|
320
|
+
longDescription?: string;
|
|
321
|
+
info?: string;
|
|
322
|
+
address?: AddressDto;
|
|
323
|
+
timezone?: string;
|
|
431
324
|
}
|
|
432
|
-
export declare class
|
|
433
|
-
|
|
434
|
-
userVariables: IQuestionAnswerObject[];
|
|
325
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
326
|
+
openingTimes: OpeningTimeDto[];
|
|
435
327
|
}
|
|
436
|
-
export declare class
|
|
437
|
-
|
|
438
|
-
user?: any;
|
|
439
|
-
answers?: IQuestionAnswerObject[];
|
|
440
|
-
itemIds: number[];
|
|
441
|
-
itemType?: ResourceNameTypeEnum;
|
|
442
|
-
startDate?: Date;
|
|
328
|
+
export declare class UpdateFacilitySportsDto {
|
|
329
|
+
sports: number[];
|
|
443
330
|
}
|
|
444
|
-
export declare class
|
|
445
|
-
|
|
446
|
-
itemsIds: number[];
|
|
331
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
332
|
+
amenities: number[];
|
|
447
333
|
}
|
|
448
|
-
export declare class
|
|
449
|
-
|
|
334
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
335
|
+
nameSearch?: string;
|
|
450
336
|
}
|
|
451
|
-
export declare class
|
|
452
|
-
|
|
453
|
-
itemType: string;
|
|
337
|
+
export declare class FindOneParams {
|
|
338
|
+
id: number;
|
|
454
339
|
}
|
|
455
|
-
export declare class
|
|
456
|
-
|
|
340
|
+
export declare class PaginationQuery {
|
|
341
|
+
page: number;
|
|
342
|
+
itemsPerPage: number;
|
|
457
343
|
}
|
|
458
|
-
export declare class
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
endDate?: Date;
|
|
463
|
-
discountValue?: number;
|
|
464
|
-
discountMethod?: DiscountMethodsEnum;
|
|
465
|
-
}
|
|
466
|
-
export declare class CreateUpdateVariantsDto {
|
|
467
|
-
organizationId: number;
|
|
468
|
-
parentProductId: number;
|
|
469
|
-
variantTitles: VariantTitleDto[];
|
|
470
|
-
variants: VariantDto[];
|
|
471
|
-
}
|
|
472
|
-
export declare class VariantTitleDto {
|
|
473
|
-
titleName: string;
|
|
474
|
-
titleId: number;
|
|
475
|
-
}
|
|
476
|
-
export declare class VariantDto {
|
|
477
|
-
name: string;
|
|
478
|
-
price: number;
|
|
479
|
-
variantId: number;
|
|
480
|
-
currency: CurrencyEnum;
|
|
481
|
-
startDate: Date;
|
|
482
|
-
endDate: Date;
|
|
483
|
-
}
|
|
484
|
-
export declare class FindProgramSeasonsByProgramIdDto {
|
|
485
|
-
programId: number;
|
|
486
|
-
}
|
|
487
|
-
export declare class FindSessionsFiltersDto {
|
|
488
|
-
status?: PublishingStatusEnum;
|
|
489
|
-
isFullFetch?: boolean;
|
|
490
|
-
}
|
|
491
|
-
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
492
|
-
organizationId: number;
|
|
493
|
-
}
|
|
494
|
-
export declare class DeleteEventAttendeesDto {
|
|
495
|
-
eventAttendeeIds: string;
|
|
496
|
-
}
|
|
497
|
-
export declare class FindProgramSeasonByIdQueryDto {
|
|
498
|
-
includeResources?: boolean;
|
|
499
|
-
}
|
|
500
|
-
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
501
|
-
seasonId: number;
|
|
502
|
-
}
|
|
503
|
-
export declare class FindSeasonEventsQueryDto {
|
|
504
|
-
startDateFilter?: EComparisonFilter;
|
|
505
|
-
endDateFilter?: EComparisonFilter;
|
|
506
|
-
}
|
|
507
|
-
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
508
|
-
seasonId: number;
|
|
509
|
-
}
|
|
510
|
-
export declare class FindSessionEventByIdDto {
|
|
511
|
-
seasonId: number;
|
|
512
|
-
eventId: number;
|
|
513
|
-
}
|
|
514
|
-
export declare class DeleteProductDto {
|
|
515
|
-
deleteProduct?: boolean;
|
|
516
|
-
}
|
|
517
|
-
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
518
|
-
userId: number;
|
|
519
|
-
}
|
|
520
|
-
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
521
|
-
isFreeAgentsOnly?: boolean;
|
|
522
|
-
isPunchCardUsers?: boolean;
|
|
523
|
-
nameEmailSearch?: string;
|
|
524
|
-
}
|
|
525
|
-
export declare class BaseProgramSeasonDto {
|
|
526
|
-
programId: number;
|
|
527
|
-
name: string;
|
|
528
|
-
status: PublishingStatusEnum;
|
|
529
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
530
|
-
startDate: Date;
|
|
531
|
-
endDate: Date;
|
|
532
|
-
description?: string;
|
|
533
|
-
GL?: string;
|
|
534
|
-
parentSeasonId?: number;
|
|
535
|
-
questionnaires?: number[];
|
|
536
|
-
maxParticipants?: number;
|
|
537
|
-
maxMaleParticipants?: number;
|
|
538
|
-
maxFemaleParticipants?: number;
|
|
539
|
-
maxWaitlist?: number;
|
|
540
|
-
maxMaleWaitlist?: number;
|
|
541
|
-
maxFemaleWaitlist?: number;
|
|
542
|
-
facilityId?: number;
|
|
543
|
-
addressId?: number;
|
|
544
|
-
blockedDated?: blockedDatesDto[];
|
|
545
|
-
activityTimes: ActivityTimesDto[];
|
|
546
|
-
longDescription?: string;
|
|
547
|
-
isPunchCard?: boolean;
|
|
548
|
-
organizationId: number;
|
|
549
|
-
sport: SportsEnum;
|
|
550
|
-
minAge: string;
|
|
551
|
-
maxAge: string;
|
|
552
|
-
gender: GenderEnum;
|
|
553
|
-
level?: LevelOfPlayEnum[];
|
|
554
|
-
requiredProductIds?: number[];
|
|
555
|
-
}
|
|
556
|
-
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
557
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
558
|
-
}
|
|
559
|
-
export declare class CreateSessionScheduleDto {
|
|
560
|
-
startDate: Date;
|
|
561
|
-
endDate: Date;
|
|
562
|
-
activityTimes: ActivityTimesDto[];
|
|
563
|
-
blockedDated?: blockedDatesDto[];
|
|
564
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
565
|
-
}
|
|
566
|
-
export declare class SubSeasonBasicInfo {
|
|
567
|
-
name: string;
|
|
568
|
-
startDate: Date;
|
|
569
|
-
endDate: Date;
|
|
570
|
-
activityTimes?: ActivityTimesDto[];
|
|
571
|
-
}
|
|
572
|
-
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
573
|
-
seasonId: number;
|
|
574
|
-
}
|
|
575
|
-
export declare class UpdateProgramSeasonStatusDto {
|
|
576
|
-
seasonId: number;
|
|
577
|
-
status: PublishingStatusEnum;
|
|
578
|
-
}
|
|
579
|
-
export declare class blockedDatesDto {
|
|
580
|
-
name: string;
|
|
581
|
-
startDate: Date;
|
|
582
|
-
endDate: Date;
|
|
583
|
-
}
|
|
584
|
-
export declare class ActivityTimesDto {
|
|
585
|
-
dayOfWeek: number;
|
|
586
|
-
open: string;
|
|
587
|
-
close: string;
|
|
588
|
-
}
|
|
589
|
-
export declare class ShallowUpdateProgramSeasonDto {
|
|
590
|
-
seasonId: number;
|
|
591
|
-
name: string;
|
|
592
|
-
description?: string;
|
|
593
|
-
questionnaires?: number[];
|
|
594
|
-
maxParticipants?: number;
|
|
595
|
-
maxMaleParticipants?: number;
|
|
596
|
-
maxFemaleParticipants?: number;
|
|
597
|
-
maxWaitlist?: number;
|
|
598
|
-
maxMaleWaitlist?: number;
|
|
599
|
-
maxFemaleWaitlist?: number;
|
|
600
|
-
facilityId?: number;
|
|
601
|
-
addressId?: number;
|
|
602
|
-
sport?: SportsEnum;
|
|
603
|
-
minAge?: string;
|
|
604
|
-
maxAge?: string;
|
|
605
|
-
gender?: GenderEnum;
|
|
606
|
-
level?: LevelOfPlayEnum[];
|
|
607
|
-
requiredProductIds?: number[];
|
|
608
|
-
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
609
|
-
}
|
|
610
|
-
export declare class ShallowUpdateSubSeasonDto {
|
|
611
|
-
id: number;
|
|
612
|
-
name: string;
|
|
613
|
-
}
|
|
614
|
-
export declare class SpaceResourcePairDto {
|
|
615
|
-
resourceType: ResourceNameTypeEnum;
|
|
616
|
-
resourceId: number;
|
|
617
|
-
spacesIds: number[];
|
|
618
|
-
publicNotes?: string;
|
|
619
|
-
privateNotes?: string;
|
|
620
|
-
maintenance?: MaintenanceDto[];
|
|
621
|
-
}
|
|
622
|
-
export declare class BulkSpaceResourceAllocationDto {
|
|
623
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
624
|
-
organizationId: number;
|
|
625
|
-
}
|
|
626
|
-
export declare class SingleSpaceAllocationByTimesDto {
|
|
627
|
-
date: string;
|
|
628
|
-
startTime: string;
|
|
629
|
-
endTime: string;
|
|
630
|
-
spaceId: number;
|
|
631
|
-
publicNotes?: string;
|
|
632
|
-
slotType?: SlotTypeEnum;
|
|
633
|
-
}
|
|
634
|
-
export declare class SpaceAllocationsByTimesDto {
|
|
635
|
-
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
636
|
-
}
|
|
637
|
-
export declare class UpdateSeasonDatesDto {
|
|
638
|
-
startDate: Date;
|
|
639
|
-
endDate: Date;
|
|
640
|
-
}
|
|
641
|
-
export declare class MoveAttendeeDto {
|
|
642
|
-
userId: number;
|
|
643
|
-
resourceType: ResourceNameTypeEnum;
|
|
644
|
-
fromResourceIds: number[];
|
|
645
|
-
toResourceIds: number[];
|
|
646
|
-
}
|
|
647
|
-
export declare class UpdateSeasonRegistrationDatesDto {
|
|
648
|
-
registrationPeriods: UpdateSeasonDatesDto[];
|
|
649
|
-
}
|
|
650
|
-
export declare class RegistrationDatesDto {
|
|
651
|
-
registrationStartDate: Date;
|
|
652
|
-
registrationEndDate: Date;
|
|
653
|
-
earlyRegistrationStartDate?: Date;
|
|
654
|
-
earlyRegistrationEndDate?: Date;
|
|
655
|
-
lateRegistrationStartDate?: Date;
|
|
656
|
-
lateRegistrationEndDate?: Date;
|
|
657
|
-
}
|
|
658
|
-
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
659
|
-
closeRegistrationPeriodValue?: number;
|
|
660
|
-
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
661
|
-
closeRegistrationSpecTime?: string;
|
|
662
|
-
openRegistrationPeriodValue?: number;
|
|
663
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
664
|
-
openRegistrationSpecTime?: string;
|
|
665
|
-
productsIdsToUpdate?: number[];
|
|
666
|
-
}
|
|
667
|
-
export declare class MoveParticipantDto {
|
|
668
|
-
userId: number;
|
|
669
|
-
oldProductId: number;
|
|
670
|
-
newProductId: number;
|
|
671
|
-
moveType: "session" | "segment";
|
|
672
|
-
resourceId: number;
|
|
673
|
-
invoiceId: number;
|
|
344
|
+
export declare class PaginationRangeQuery {
|
|
345
|
+
startPage: number;
|
|
346
|
+
endPage: number;
|
|
347
|
+
itemsPerPage: number;
|
|
674
348
|
}
|
|
675
349
|
export declare class FindByProductIdDto {
|
|
676
350
|
productId: number;
|
|
@@ -846,7 +520,7 @@ export declare class GetExtraProductDataDto {
|
|
|
846
520
|
includeArchived?: boolean;
|
|
847
521
|
}
|
|
848
522
|
export declare class GetBySessionType {
|
|
849
|
-
sessionType:
|
|
523
|
+
sessionType: 'event' | 'segment';
|
|
850
524
|
}
|
|
851
525
|
export declare class CreateSubcategoryDto {
|
|
852
526
|
productType: ProductTypesEnum;
|
|
@@ -893,122 +567,206 @@ export declare class createResourceDto {
|
|
|
893
567
|
export declare class archiveDto {
|
|
894
568
|
isArchive: boolean;
|
|
895
569
|
}
|
|
896
|
-
export declare class
|
|
570
|
+
export declare class CreateUpdateVariantsDto {
|
|
897
571
|
organizationId: number;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
programId: number;
|
|
572
|
+
parentProductId: number;
|
|
573
|
+
variantTitles: VariantTitleDto[];
|
|
574
|
+
variants: VariantDto[];
|
|
902
575
|
}
|
|
903
|
-
export declare class
|
|
904
|
-
|
|
905
|
-
|
|
576
|
+
export declare class VariantTitleDto {
|
|
577
|
+
titleName: string;
|
|
578
|
+
titleId: number;
|
|
906
579
|
}
|
|
907
|
-
export declare class
|
|
908
|
-
type: ProgramTypesEnum;
|
|
580
|
+
export declare class VariantDto {
|
|
909
581
|
name: string;
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
description?: string;
|
|
916
|
-
GL?: string;
|
|
917
|
-
status: PublishingStatusEnum;
|
|
918
|
-
organizationId: number;
|
|
919
|
-
userCreatorId: number;
|
|
920
|
-
highlights: ProgramHighlights[];
|
|
921
|
-
longDescription?: string;
|
|
922
|
-
requiredProductIds: number[];
|
|
923
|
-
}
|
|
924
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
582
|
+
price: number;
|
|
583
|
+
variantId: number;
|
|
584
|
+
currency: CurrencyEnum;
|
|
585
|
+
startDate: Date;
|
|
586
|
+
endDate: Date;
|
|
925
587
|
}
|
|
926
|
-
export declare class
|
|
588
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
927
589
|
programId: number;
|
|
928
|
-
mainMediaId: number;
|
|
929
590
|
}
|
|
930
|
-
export declare class
|
|
931
|
-
|
|
932
|
-
|
|
591
|
+
export declare class FindSessionsFiltersDto {
|
|
592
|
+
status?: PublishingStatusEnum;
|
|
593
|
+
isFullFetch?: boolean;
|
|
933
594
|
}
|
|
934
|
-
export declare class
|
|
935
|
-
|
|
936
|
-
ordinal: number;
|
|
937
|
-
type: ProgramHighlightTypeEnum;
|
|
938
|
-
title: string;
|
|
595
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
596
|
+
organizationId: number;
|
|
939
597
|
}
|
|
940
|
-
export declare class
|
|
941
|
-
|
|
942
|
-
type: PaymentMethodTypeEnum;
|
|
598
|
+
export declare class DeleteEventAttendeesDto {
|
|
599
|
+
eventAttendeeIds: string;
|
|
943
600
|
}
|
|
944
|
-
export declare class
|
|
601
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
602
|
+
includeResources?: boolean;
|
|
603
|
+
}
|
|
604
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
605
|
+
seasonId: number;
|
|
606
|
+
}
|
|
607
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
608
|
+
seasonId: number;
|
|
609
|
+
}
|
|
610
|
+
export declare class DeleteProductDto {
|
|
611
|
+
deleteProduct?: boolean;
|
|
612
|
+
}
|
|
613
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
614
|
+
userId: number;
|
|
615
|
+
}
|
|
616
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
617
|
+
isFreeAgentsOnly?: boolean;
|
|
618
|
+
isPunchCardUsers?: boolean;
|
|
619
|
+
nameEmailSearch?: string;
|
|
620
|
+
}
|
|
621
|
+
export declare class BaseProgramSeasonDto {
|
|
622
|
+
programId: number;
|
|
623
|
+
name: string;
|
|
624
|
+
status: PublishingStatusEnum;
|
|
625
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
626
|
+
startDate: Date;
|
|
627
|
+
endDate: Date;
|
|
628
|
+
description?: string;
|
|
629
|
+
GL?: string;
|
|
630
|
+
parentSeasonId?: number;
|
|
631
|
+
questionnaires?: number[];
|
|
632
|
+
maxParticipants?: number;
|
|
633
|
+
maxMaleParticipants?: number;
|
|
634
|
+
maxFemaleParticipants?: number;
|
|
635
|
+
maxWaitlist?: number;
|
|
636
|
+
maxMaleWaitlist?: number;
|
|
637
|
+
maxFemaleWaitlist?: number;
|
|
638
|
+
facilityId?: number;
|
|
639
|
+
addressId?: number;
|
|
640
|
+
blockedDated?: blockedDatesDto[];
|
|
641
|
+
activityTimes: ActivityTimesDto[];
|
|
642
|
+
longDescription?: string;
|
|
643
|
+
isPunchCard?: boolean;
|
|
945
644
|
organizationId: number;
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
platform: PlatformsEnum;
|
|
953
|
-
shiftId?: number;
|
|
645
|
+
sport: SportsEnum;
|
|
646
|
+
minAge: string;
|
|
647
|
+
maxAge: string;
|
|
648
|
+
gender: GenderEnum;
|
|
649
|
+
level?: LevelOfPlayEnum[];
|
|
650
|
+
requiredProductIds?: number[];
|
|
954
651
|
}
|
|
955
|
-
export declare class
|
|
956
|
-
|
|
957
|
-
customerId?: number;
|
|
958
|
-
products: PurchaseProductDto[];
|
|
959
|
-
paymentData: PurchasePaymentDto;
|
|
960
|
-
answers: UserAnswersDto[];
|
|
961
|
-
amountToPay: number;
|
|
962
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
963
|
-
parentPurchasedId?: number;
|
|
964
|
-
isPartialPayment: boolean;
|
|
965
|
-
existingInvoiceToken?: string;
|
|
966
|
-
installments?: ScheduledPaymentDto[];
|
|
967
|
-
shiftId?: number;
|
|
968
|
-
invoiceId?: number;
|
|
969
|
-
platform?: PlatformsEnum;
|
|
652
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
653
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
970
654
|
}
|
|
971
|
-
export declare class
|
|
655
|
+
export declare class CreateSessionScheduleDto {
|
|
656
|
+
startDate: Date;
|
|
657
|
+
endDate: Date;
|
|
658
|
+
activityTimes: ActivityTimesDto[];
|
|
659
|
+
blockedDated?: blockedDatesDto[];
|
|
660
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
972
661
|
}
|
|
973
|
-
export declare class
|
|
662
|
+
export declare class SubSeasonBasicInfo {
|
|
663
|
+
name: string;
|
|
664
|
+
startDate: Date;
|
|
665
|
+
endDate: Date;
|
|
666
|
+
activityTimes?: ActivityTimesDto[];
|
|
667
|
+
}
|
|
668
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
669
|
+
seasonId: number;
|
|
670
|
+
}
|
|
671
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
672
|
+
seasonId: number;
|
|
673
|
+
status: PublishingStatusEnum;
|
|
674
|
+
}
|
|
675
|
+
export declare class blockedDatesDto {
|
|
676
|
+
name: string;
|
|
677
|
+
startDate: Date;
|
|
678
|
+
endDate: Date;
|
|
679
|
+
}
|
|
680
|
+
export declare class ActivityTimesDto {
|
|
681
|
+
dayOfWeek: number;
|
|
682
|
+
open: string;
|
|
683
|
+
close: string;
|
|
684
|
+
}
|
|
685
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
686
|
+
seasonId: number;
|
|
687
|
+
name: string;
|
|
688
|
+
description?: string;
|
|
689
|
+
questionnaires?: number[];
|
|
690
|
+
maxParticipants?: number;
|
|
691
|
+
maxMaleParticipants?: number;
|
|
692
|
+
maxFemaleParticipants?: number;
|
|
693
|
+
maxWaitlist?: number;
|
|
694
|
+
maxMaleWaitlist?: number;
|
|
695
|
+
maxFemaleWaitlist?: number;
|
|
696
|
+
facilityId?: number;
|
|
697
|
+
addressId?: number;
|
|
698
|
+
sport?: SportsEnum;
|
|
699
|
+
minAge?: string;
|
|
700
|
+
maxAge?: string;
|
|
701
|
+
gender?: GenderEnum;
|
|
702
|
+
level?: LevelOfPlayEnum[];
|
|
703
|
+
requiredProductIds?: number[];
|
|
704
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
705
|
+
}
|
|
706
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
974
707
|
id: number;
|
|
975
|
-
|
|
976
|
-
userId?: number;
|
|
977
|
-
paymentStatus?: PaymentStatusEnum;
|
|
978
|
-
amountToPay?: number;
|
|
979
|
-
ordinal?: number;
|
|
980
|
-
startDate?: Date;
|
|
981
|
-
quantity?: number;
|
|
708
|
+
name: string;
|
|
982
709
|
}
|
|
983
|
-
export declare class
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
installmentId?: number;
|
|
710
|
+
export declare class SpaceResourcePairDto {
|
|
711
|
+
resourceType: ResourceNameTypeEnum;
|
|
712
|
+
resourceId: number;
|
|
713
|
+
spacesIds: number[];
|
|
714
|
+
publicNotes?: string;
|
|
715
|
+
privateNotes?: string;
|
|
716
|
+
maintenance?: MaintenanceDto[];
|
|
991
717
|
}
|
|
992
|
-
export declare class
|
|
993
|
-
|
|
994
|
-
answersTitlesIds: number[];
|
|
718
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
719
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
995
720
|
organizationId: number;
|
|
996
|
-
purchasingUserId: number;
|
|
997
721
|
}
|
|
998
|
-
export declare class
|
|
999
|
-
|
|
722
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
723
|
+
date: string;
|
|
724
|
+
startTime: string;
|
|
725
|
+
endTime: string;
|
|
726
|
+
spaceId: number;
|
|
727
|
+
publicNotes?: string;
|
|
728
|
+
slotType?: SlotTypeEnum;
|
|
1000
729
|
}
|
|
1001
|
-
export declare class
|
|
1002
|
-
|
|
1003
|
-
allocateResource: boolean;
|
|
1004
|
-
skipMail: boolean;
|
|
730
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
731
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
1005
732
|
}
|
|
1006
|
-
export declare class
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
733
|
+
export declare class UpdateSeasonDatesDto {
|
|
734
|
+
startDate: Date;
|
|
735
|
+
endDate: Date;
|
|
736
|
+
}
|
|
737
|
+
export declare class MoveAttendeeDto {
|
|
738
|
+
userId: number;
|
|
739
|
+
resourceType: ResourceNameTypeEnum;
|
|
740
|
+
fromResourceIds: number[];
|
|
741
|
+
toResourceIds: number[];
|
|
742
|
+
}
|
|
743
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
744
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
745
|
+
}
|
|
746
|
+
export declare class RegistrationDatesDto {
|
|
747
|
+
registrationStartDate: Date;
|
|
748
|
+
registrationEndDate: Date;
|
|
749
|
+
earlyRegistrationStartDate?: Date;
|
|
750
|
+
earlyRegistrationEndDate?: Date;
|
|
751
|
+
lateRegistrationStartDate?: Date;
|
|
752
|
+
lateRegistrationEndDate?: Date;
|
|
753
|
+
}
|
|
754
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
755
|
+
closeRegistrationPeriodValue?: number;
|
|
756
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
757
|
+
closeRegistrationSpecTime?: string;
|
|
758
|
+
openRegistrationPeriodValue?: number;
|
|
759
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
760
|
+
openRegistrationSpecTime?: string;
|
|
761
|
+
productsIdsToUpdate?: number[];
|
|
762
|
+
}
|
|
763
|
+
export declare class MoveParticipantDto {
|
|
764
|
+
userId: number;
|
|
765
|
+
oldProductId: number;
|
|
766
|
+
newProductId: number;
|
|
767
|
+
moveType: 'session' | 'segment';
|
|
768
|
+
resourceId: number;
|
|
769
|
+
invoiceId: number;
|
|
1012
770
|
}
|
|
1013
771
|
export declare class CreateResourceGroupDto {
|
|
1014
772
|
name: string;
|
|
@@ -1018,6 +776,48 @@ export declare class CreateResourceGroupDto {
|
|
|
1018
776
|
}
|
|
1019
777
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1020
778
|
}
|
|
779
|
+
export declare class CreateEntitlementTermsDto {
|
|
780
|
+
organizationId: number;
|
|
781
|
+
entitlementGroupId: number;
|
|
782
|
+
terms: IEntitlementTerms[];
|
|
783
|
+
}
|
|
784
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
785
|
+
entitlementGroupId: number;
|
|
786
|
+
}
|
|
787
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
788
|
+
user: any;
|
|
789
|
+
userVariables: IQuestionAnswerObject[];
|
|
790
|
+
}
|
|
791
|
+
export declare class FindLowestPriceDto {
|
|
792
|
+
organizationId: number;
|
|
793
|
+
user?: any;
|
|
794
|
+
answers?: IQuestionAnswerObject[];
|
|
795
|
+
itemIds: number[];
|
|
796
|
+
itemType?: ResourceNameTypeEnum;
|
|
797
|
+
startDate?: Date;
|
|
798
|
+
}
|
|
799
|
+
export declare class FindGroupItemsPricingsDto {
|
|
800
|
+
groupsIds: number[];
|
|
801
|
+
itemsIds: number[];
|
|
802
|
+
}
|
|
803
|
+
export declare class CreateEntitlementGroupDto {
|
|
804
|
+
name: string;
|
|
805
|
+
}
|
|
806
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
807
|
+
itemIds: number[];
|
|
808
|
+
itemType: string;
|
|
809
|
+
}
|
|
810
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
811
|
+
groupid: number;
|
|
812
|
+
}
|
|
813
|
+
export declare class CreateGroupPricingWithProduct {
|
|
814
|
+
groupId: number;
|
|
815
|
+
price: number;
|
|
816
|
+
startDate?: Date;
|
|
817
|
+
endDate?: Date;
|
|
818
|
+
discountValue?: number;
|
|
819
|
+
discountMethod?: DiscountMethodsEnum;
|
|
820
|
+
}
|
|
1021
821
|
export declare class ResourceDto {
|
|
1022
822
|
type: ResourceNameTypeEnum;
|
|
1023
823
|
id: number;
|
|
@@ -1078,6 +878,28 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1078
878
|
types?: string;
|
|
1079
879
|
resourcesIds?: string;
|
|
1080
880
|
}
|
|
881
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
882
|
+
entityType: ResourceNameTypeEnum;
|
|
883
|
+
entityId: number;
|
|
884
|
+
organizationId?: number;
|
|
885
|
+
userId?: number;
|
|
886
|
+
customerId?: number;
|
|
887
|
+
performingUserId: number;
|
|
888
|
+
description: string;
|
|
889
|
+
actionType: ActionTypesEnum;
|
|
890
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
891
|
+
oldValue?: any;
|
|
892
|
+
newValue?: any;
|
|
893
|
+
}
|
|
894
|
+
export declare class FindByUserIdDto {
|
|
895
|
+
userId: number;
|
|
896
|
+
}
|
|
897
|
+
export declare class FindByFamilyAccountIdDto {
|
|
898
|
+
familyAccountId?: number;
|
|
899
|
+
}
|
|
900
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
901
|
+
organizationId: number;
|
|
902
|
+
}
|
|
1081
903
|
export declare class StripeCustomerIdDto {
|
|
1082
904
|
userId: number;
|
|
1083
905
|
}
|
|
@@ -1088,14 +910,77 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1088
910
|
publicToken: string;
|
|
1089
911
|
accountId: string;
|
|
1090
912
|
}
|
|
1091
|
-
export declare class
|
|
1092
|
-
|
|
913
|
+
export declare class PurchasePaymentDto {
|
|
914
|
+
token: string;
|
|
915
|
+
type: PaymentMethodTypeEnum;
|
|
1093
916
|
}
|
|
1094
|
-
export declare class
|
|
1095
|
-
|
|
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;
|
|
1096
927
|
}
|
|
1097
|
-
export declare class
|
|
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[];
|
|
1098
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;
|
|
1099
984
|
}
|
|
1100
985
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1101
986
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1110,19 +995,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1110
995
|
proudct: Product;
|
|
1111
996
|
event: Event;
|
|
1112
997
|
}
|
|
1113
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1114
|
-
entityType: ResourceNameTypeEnum;
|
|
1115
|
-
entityId: number;
|
|
1116
|
-
organizationId?: number;
|
|
1117
|
-
userId?: number;
|
|
1118
|
-
customerId?: number;
|
|
1119
|
-
performingUserId: number;
|
|
1120
|
-
description: string;
|
|
1121
|
-
actionType: ActionTypesEnum;
|
|
1122
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1123
|
-
oldValue?: any;
|
|
1124
|
-
newValue?: any;
|
|
1125
|
-
}
|
|
1126
998
|
export declare class Address extends BondBaseEntity {
|
|
1127
999
|
city?: string;
|
|
1128
1000
|
street?: string;
|
|
@@ -1134,17 +1006,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1134
1006
|
geo: any;
|
|
1135
1007
|
deletedAt?: Date;
|
|
1136
1008
|
}
|
|
1137
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1138
|
-
questionnaireId: number;
|
|
1139
|
-
userId?: number;
|
|
1140
|
-
answers: Answer[];
|
|
1141
|
-
questionnaire: Questionnaires;
|
|
1142
|
-
}
|
|
1143
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1144
|
-
userId: number | null;
|
|
1145
|
-
metadata: object | null;
|
|
1146
|
-
athleteSports: AthleteSports[];
|
|
1147
|
-
}
|
|
1148
1009
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1149
1010
|
questionId: number;
|
|
1150
1011
|
question?: Questions;
|
|
@@ -1158,11 +1019,83 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1158
1019
|
metaData: any | null;
|
|
1159
1020
|
questionText: string | null;
|
|
1160
1021
|
}
|
|
1022
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1023
|
+
questionnaireId: number;
|
|
1024
|
+
userId?: number;
|
|
1025
|
+
answers: Answer[];
|
|
1026
|
+
questionnaire: Questionnaires;
|
|
1027
|
+
}
|
|
1028
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1029
|
+
userId: number | null;
|
|
1030
|
+
metadata: object | null;
|
|
1031
|
+
athleteSports: AthleteSports[];
|
|
1032
|
+
}
|
|
1161
1033
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1162
1034
|
athleteId: number | null;
|
|
1163
1035
|
sports: number | null;
|
|
1164
1036
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1165
1037
|
}
|
|
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;
|
|
1084
|
+
color?: string;
|
|
1085
|
+
street?: string;
|
|
1086
|
+
city?: string;
|
|
1087
|
+
state?: string;
|
|
1088
|
+
zip?: string;
|
|
1089
|
+
phoneNumber?: string;
|
|
1090
|
+
mainMediaId?: number;
|
|
1091
|
+
creatorId?: number;
|
|
1092
|
+
creatorType?: ResourceNameTypeEnum;
|
|
1093
|
+
userCreatorId?: number;
|
|
1094
|
+
gender?: GenderEnum;
|
|
1095
|
+
birthDate?: string;
|
|
1096
|
+
emergencyContactName?: string;
|
|
1097
|
+
emergencyContactPhone?: string;
|
|
1098
|
+
}
|
|
1166
1099
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1167
1100
|
entityType: ResourceNameTypeEnum;
|
|
1168
1101
|
entityId: number;
|
|
@@ -1171,29 +1104,24 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1171
1104
|
endDate: Date;
|
|
1172
1105
|
deletedAt?: Date;
|
|
1173
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
|
+
}
|
|
1174
1120
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1175
1121
|
id: number;
|
|
1176
1122
|
createdAt: Date;
|
|
1177
1123
|
updatedAt: Date;
|
|
1178
1124
|
}
|
|
1179
|
-
export declare class BookedSessions extends BondBaseEntity {
|
|
1180
|
-
reservationId?: number;
|
|
1181
|
-
color?: string;
|
|
1182
|
-
creatorId?: number;
|
|
1183
|
-
creatorType?: string;
|
|
1184
|
-
startDate?: Date | moment.Moment;
|
|
1185
|
-
endDate?: Date | moment.Moment;
|
|
1186
|
-
timezone?: string;
|
|
1187
|
-
spaceId?: number;
|
|
1188
|
-
percentage?: number;
|
|
1189
|
-
status?: string;
|
|
1190
|
-
originalSessionId?: number;
|
|
1191
|
-
isFinal?: boolean;
|
|
1192
|
-
concurrent?: number;
|
|
1193
|
-
deletedAt?: Date;
|
|
1194
|
-
publicNotes?: string;
|
|
1195
|
-
slotType?: SlotTypeEnum;
|
|
1196
|
-
}
|
|
1197
1125
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1198
1126
|
parentId: number;
|
|
1199
1127
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1204,22 +1132,23 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1204
1132
|
endTimeInDay: string;
|
|
1205
1133
|
directBookingFor: DirectBookingTypesEnum;
|
|
1206
1134
|
}
|
|
1207
|
-
export declare class
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
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;
|
|
1218
1146
|
}
|
|
1219
|
-
export declare class
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1147
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1148
|
+
customerId?: number;
|
|
1149
|
+
description: string;
|
|
1150
|
+
pinToTop?: boolean;
|
|
1151
|
+
customer: Customer;
|
|
1223
1152
|
}
|
|
1224
1153
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1225
1154
|
name: string | null;
|
|
@@ -1249,32 +1178,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1249
1178
|
mainMedia: Media;
|
|
1250
1179
|
reservations?: Reservation[];
|
|
1251
1180
|
}
|
|
1252
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
-
creditAmount: number;
|
|
1254
|
-
paymentProcessorId: string;
|
|
1255
|
-
userId: number;
|
|
1256
|
-
paymentId: number;
|
|
1257
|
-
invoiceId: number;
|
|
1258
|
-
creditPaymentId: number;
|
|
1259
|
-
}
|
|
1260
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1261
|
-
customerId: number;
|
|
1262
|
-
userId: number;
|
|
1263
|
-
amount: number;
|
|
1264
|
-
paymentId?: number;
|
|
1265
|
-
invoiceId?: number;
|
|
1266
|
-
description?: string;
|
|
1267
|
-
deletedAt?: Date;
|
|
1268
|
-
customer: Customer;
|
|
1269
|
-
invoice: Invoice;
|
|
1270
|
-
payment: Payment;
|
|
1271
|
-
}
|
|
1272
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1273
|
-
customerId?: number;
|
|
1274
|
-
description: string;
|
|
1275
|
-
pinToTop?: boolean;
|
|
1276
|
-
customer: Customer;
|
|
1277
|
-
}
|
|
1278
1181
|
export declare class Division extends BondBaseEntity {
|
|
1279
1182
|
name: string;
|
|
1280
1183
|
ordinal?: number;
|
|
@@ -1283,15 +1186,24 @@ export declare class Division extends BondBaseEntity {
|
|
|
1283
1186
|
isDefault: boolean;
|
|
1284
1187
|
groups: Group[];
|
|
1285
1188
|
}
|
|
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;
|
|
1200
|
+
}
|
|
1286
1201
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1287
1202
|
customerId: number;
|
|
1288
1203
|
name: string | null;
|
|
1289
1204
|
phoneNumber: string | null;
|
|
1290
1205
|
customer: Customer;
|
|
1291
1206
|
}
|
|
1292
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1293
|
-
name: string | null;
|
|
1294
|
-
}
|
|
1295
1207
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1296
1208
|
status: RequestStatusEnum | null;
|
|
1297
1209
|
hasPaid: boolean | null;
|
|
@@ -1311,63 +1223,56 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1311
1223
|
groupId: number;
|
|
1312
1224
|
terms: IEntitlementTerms[];
|
|
1313
1225
|
}
|
|
1314
|
-
export declare class
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
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
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
parentSession: ProgramSeason;
|
|
1365
|
-
activityTimes: ActivityTimes[];
|
|
1366
|
-
slots: Slot[];
|
|
1367
|
-
purchasedResources: PurchasedResource[];
|
|
1368
|
-
program?: Program;
|
|
1369
|
-
session?: ProgramSeason;
|
|
1370
|
-
segment?: ProgramSeason;
|
|
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;
|
|
1371
1276
|
}
|
|
1372
1277
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1373
1278
|
name: string;
|
|
@@ -1393,24 +1298,33 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1393
1298
|
programSeasons: ProgramSeason[];
|
|
1394
1299
|
linkSEO: string;
|
|
1395
1300
|
}
|
|
1396
|
-
export declare class
|
|
1397
|
-
|
|
1398
|
-
resourceId: number;
|
|
1301
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1302
|
+
name: string | null;
|
|
1399
1303
|
}
|
|
1400
1304
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1401
1305
|
name: string | null;
|
|
1402
1306
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1403
1307
|
}
|
|
1404
|
-
export declare class
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
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;
|
|
1325
|
+
deletedAt?: Date;
|
|
1326
|
+
publicNotes?: string;
|
|
1327
|
+
slotType?: SlotTypeEnum;
|
|
1414
1328
|
}
|
|
1415
1329
|
export declare class Group extends BondBaseEntity {
|
|
1416
1330
|
name: string;
|
|
@@ -1428,9 +1342,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1428
1342
|
members: ISeasonAttendeeInfo[];
|
|
1429
1343
|
users: User[];
|
|
1430
1344
|
}
|
|
1431
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1432
|
-
code: string;
|
|
1433
|
-
}
|
|
1434
1345
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1435
1346
|
groupId: number;
|
|
1436
1347
|
itemId: number;
|
|
@@ -1449,39 +1360,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1449
1360
|
divisionId: number;
|
|
1450
1361
|
deletedAt?: Date;
|
|
1451
1362
|
}
|
|
1452
|
-
export declare class Invoice extends BondBaseEntity {
|
|
1453
|
-
invoiceId: string | null;
|
|
1454
|
-
price: number | null;
|
|
1455
|
-
status: InvoiceStatusEnum | null;
|
|
1456
|
-
sentForClientDate: Date | null;
|
|
1457
|
-
payingUserId?: number | null;
|
|
1458
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1459
|
-
lineItems: LineItems[];
|
|
1460
|
-
lineItemHistory: LineItemHistory[];
|
|
1461
|
-
paymentStatus: PaymentStatusEnum;
|
|
1462
|
-
paymentMethodId?: string;
|
|
1463
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1464
|
-
paidAmount: number;
|
|
1465
|
-
currency: CurrencyEnum;
|
|
1466
|
-
mainPaymentId: number;
|
|
1467
|
-
isScheduled: boolean;
|
|
1468
|
-
isRefunded: boolean;
|
|
1469
|
-
isVoided: boolean;
|
|
1470
|
-
creatingUserId: number;
|
|
1471
|
-
shiftId: number;
|
|
1472
|
-
platform: PlatformsEnum;
|
|
1473
|
-
invoiceNotes: InvoiceNote[];
|
|
1474
|
-
slots: Slot[];
|
|
1475
|
-
}
|
|
1476
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1477
|
-
content: string;
|
|
1478
|
-
creatingUserId: number;
|
|
1479
|
-
user: User;
|
|
1480
|
-
isPublic: boolean;
|
|
1481
|
-
deletedAt: Date;
|
|
1482
|
-
invoiceId: number;
|
|
1483
|
-
invoice: Invoice;
|
|
1484
|
-
}
|
|
1485
1363
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1486
1364
|
email: string;
|
|
1487
1365
|
status: EEmailStatus;
|
|
@@ -1493,6 +1371,70 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1493
1371
|
mailParams?: any;
|
|
1494
1372
|
memo?: string;
|
|
1495
1373
|
}
|
|
1374
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1375
|
+
content: string;
|
|
1376
|
+
creatingUserId: number;
|
|
1377
|
+
user: User;
|
|
1378
|
+
isPublic: boolean;
|
|
1379
|
+
deletedAt: Date;
|
|
1380
|
+
invoiceId: number;
|
|
1381
|
+
invoice: Invoice;
|
|
1382
|
+
}
|
|
1383
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1384
|
+
constructor();
|
|
1385
|
+
defineCalculatedDateTimeProps(): void;
|
|
1386
|
+
title: string | null;
|
|
1387
|
+
description: string | null;
|
|
1388
|
+
eventType: number | null;
|
|
1389
|
+
startDate: Date | null;
|
|
1390
|
+
endDate: Date | null;
|
|
1391
|
+
price: number | null;
|
|
1392
|
+
venueName: string | null;
|
|
1393
|
+
status: EventStatusEnum;
|
|
1394
|
+
private: boolean | null;
|
|
1395
|
+
guestsCanInvite: boolean | null;
|
|
1396
|
+
venueId: number | null;
|
|
1397
|
+
addressId: number | null;
|
|
1398
|
+
participantsLimit: number | null;
|
|
1399
|
+
parentId: number | null;
|
|
1400
|
+
parentType: string | null;
|
|
1401
|
+
timezone: string | null;
|
|
1402
|
+
eventSubType: string | null;
|
|
1403
|
+
eventSubId: number | null;
|
|
1404
|
+
metaData: any | null;
|
|
1405
|
+
groupingId: string | null;
|
|
1406
|
+
redirectUri: string | null;
|
|
1407
|
+
externalId: string | null;
|
|
1408
|
+
paymentSettings: any | null;
|
|
1409
|
+
whoCanJoin: string | null;
|
|
1410
|
+
spaceId?: number;
|
|
1411
|
+
bookedSessionId: number | null;
|
|
1412
|
+
creatorId: number | null;
|
|
1413
|
+
creatorType: string | null;
|
|
1414
|
+
userCreatorId: number | null;
|
|
1415
|
+
ownerId: number | null;
|
|
1416
|
+
sports: number[] | null;
|
|
1417
|
+
isVerified: boolean | null;
|
|
1418
|
+
mainMediaId: number | null;
|
|
1419
|
+
minAge: number | null;
|
|
1420
|
+
maxAge: number | null;
|
|
1421
|
+
gender: number | null;
|
|
1422
|
+
questionnaireId: number | null;
|
|
1423
|
+
eventAttendees: EventAttendee[];
|
|
1424
|
+
deletedAt?: Date;
|
|
1425
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1426
|
+
startDateString: string;
|
|
1427
|
+
endDateString: string;
|
|
1428
|
+
startTime: string;
|
|
1429
|
+
endTime: string;
|
|
1430
|
+
publicNotes?: string;
|
|
1431
|
+
privateNotes?: string;
|
|
1432
|
+
productResources: ProductResource[];
|
|
1433
|
+
parentSession: ProgramSeason;
|
|
1434
|
+
activityTimes: ActivityTimes[];
|
|
1435
|
+
slots: Slot[];
|
|
1436
|
+
purchasedResources: PurchasedResource[];
|
|
1437
|
+
}
|
|
1496
1438
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1497
1439
|
name: string | null;
|
|
1498
1440
|
description: string | null;
|
|
@@ -1519,14 +1461,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1519
1461
|
logo?: Media;
|
|
1520
1462
|
seasons: LeagueSeason[];
|
|
1521
1463
|
}
|
|
1522
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1523
|
-
invoiceId: number;
|
|
1524
|
-
paymentId: number;
|
|
1525
|
-
invoice: Invoice;
|
|
1526
|
-
payment: Payment;
|
|
1527
|
-
paidAmount?: number;
|
|
1528
|
-
currency: CurrencyEnum;
|
|
1529
|
-
}
|
|
1530
1464
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1531
1465
|
leagueId: number | null;
|
|
1532
1466
|
name: string | null;
|
|
@@ -1567,19 +1501,116 @@ export declare class LeagueSeason extends BondBaseEntity {
|
|
|
1567
1501
|
seasonAttendees: SeasonAttendee[];
|
|
1568
1502
|
purchasedResources: PurchasedResource[];
|
|
1569
1503
|
}
|
|
1570
|
-
export declare class LeagueSeasonRelations {
|
|
1571
|
-
league?: boolean;
|
|
1572
|
-
facilities?: boolean;
|
|
1573
|
-
}
|
|
1574
|
-
export declare class
|
|
1504
|
+
export declare class LeagueSeasonRelations {
|
|
1505
|
+
league?: boolean;
|
|
1506
|
+
facilities?: boolean;
|
|
1507
|
+
}
|
|
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 {
|
|
1529
|
+
invoiceId: number;
|
|
1530
|
+
paymentId: number;
|
|
1531
|
+
invoice: Invoice;
|
|
1532
|
+
payment: Payment;
|
|
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;
|
|
1575
1601
|
invoiceId: number;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
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;
|
|
1583
1614
|
}
|
|
1584
1615
|
export declare class LineItems extends BondBaseEntity {
|
|
1585
1616
|
constructor();
|
|
@@ -1636,95 +1667,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1636
1667
|
displayUnitPrice?: number;
|
|
1637
1668
|
displayQuantity?: number;
|
|
1638
1669
|
}
|
|
1639
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1640
|
-
id: number;
|
|
1641
|
-
provider: string;
|
|
1642
|
-
providerId: string | null;
|
|
1643
|
-
parentId: number | null;
|
|
1644
|
-
parentType: string | null;
|
|
1645
|
-
status: number | null;
|
|
1646
|
-
token: string | null;
|
|
1647
|
-
refreshToken: string | null;
|
|
1648
|
-
tokenCreatedAt: Date | null;
|
|
1649
|
-
tokenValidUpTo: Date | null;
|
|
1650
|
-
createdAt: Date;
|
|
1651
|
-
updatedAt: Date;
|
|
1652
|
-
user: User;
|
|
1653
|
-
userId: number | null;
|
|
1654
|
-
}
|
|
1655
|
-
export declare class Media extends BondBaseEntity {
|
|
1656
|
-
url: string;
|
|
1657
|
-
name: string | null;
|
|
1658
|
-
title: string | null;
|
|
1659
|
-
mediaKey: string | null;
|
|
1660
|
-
description: string | null;
|
|
1661
|
-
provider: string | null;
|
|
1662
|
-
mediaType: number;
|
|
1663
|
-
fileType: string | null;
|
|
1664
|
-
isDefault: boolean | null;
|
|
1665
|
-
creatorId: number | null;
|
|
1666
|
-
creatorType: string | null;
|
|
1667
|
-
userCreatorId: number | null;
|
|
1668
|
-
ownerId: number | null;
|
|
1669
|
-
createdBy: number | null;
|
|
1670
|
-
users: User[];
|
|
1671
|
-
programs: Program[];
|
|
1672
|
-
memberships: Membership[];
|
|
1673
|
-
}
|
|
1674
|
-
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1675
|
-
name: string;
|
|
1676
|
-
description?: string;
|
|
1677
|
-
mainMedia?: Media;
|
|
1678
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1679
|
-
activity?: SportsEnum;
|
|
1680
|
-
facilityId?: number;
|
|
1681
|
-
facilityName?: string;
|
|
1682
|
-
questionnaires?: number[];
|
|
1683
|
-
minAgeYears?: number;
|
|
1684
|
-
maxAgeYears?: number;
|
|
1685
|
-
gender: GenderEnum;
|
|
1686
|
-
maxMembers?: number;
|
|
1687
|
-
maxMaleMembers?: number;
|
|
1688
|
-
maxFemaleMembers?: number;
|
|
1689
|
-
membershipType: MembershipTypeEnum;
|
|
1690
|
-
durationMonths?: number;
|
|
1691
|
-
startDate?: string;
|
|
1692
|
-
endDate?: string;
|
|
1693
|
-
registrationStartDate?: Date;
|
|
1694
|
-
registrationEndDate?: Date;
|
|
1695
|
-
package?: IPackageResponse;
|
|
1696
|
-
tags: any[];
|
|
1697
|
-
members: MembershipMember[];
|
|
1698
|
-
longDescription?: string;
|
|
1699
|
-
isAutoRenew?: boolean;
|
|
1700
|
-
purchasedResources: PurchasedResource[];
|
|
1701
|
-
}
|
|
1702
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1703
|
-
membership: Membership;
|
|
1704
|
-
membershipId: number;
|
|
1705
|
-
productUserId: number;
|
|
1706
|
-
productUser?: ProductsUsers;
|
|
1707
|
-
userId: number;
|
|
1708
|
-
membershipType: MembershipTypeEnum;
|
|
1709
|
-
durationMonths?: number;
|
|
1710
|
-
startDate?: string;
|
|
1711
|
-
endDate?: string;
|
|
1712
|
-
renewalOfMemberId?: number;
|
|
1713
|
-
isAutoRenew?: boolean;
|
|
1714
|
-
nextPaymentMethodId?: string;
|
|
1715
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1716
|
-
answerTitleIds?: number[];
|
|
1717
|
-
cancelledAt?: Date | null;
|
|
1718
|
-
cancellationReason?: string;
|
|
1719
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1720
|
-
isImported?: boolean;
|
|
1721
|
-
}
|
|
1722
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1723
|
-
email: string | null;
|
|
1724
|
-
notificationType: NotificationTypeEnum | null;
|
|
1725
|
-
resourceId: number | null;
|
|
1726
|
-
resourceType: string | null;
|
|
1727
|
-
}
|
|
1728
1670
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1729
1671
|
id: number;
|
|
1730
1672
|
dayOfWeek: number;
|
|
@@ -1736,59 +1678,12 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1736
1678
|
deletedAt?: Date;
|
|
1737
1679
|
facility: Facility;
|
|
1738
1680
|
}
|
|
1739
|
-
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1740
|
-
organizationId: number;
|
|
1741
|
-
}
|
|
1742
|
-
export declare class PackageV1 extends BondBaseEntity {
|
|
1743
|
-
name?: string;
|
|
1744
|
-
description?: string;
|
|
1745
|
-
price: number;
|
|
1746
|
-
status: string;
|
|
1747
|
-
percentage: number;
|
|
1748
|
-
quantity: number;
|
|
1749
|
-
duration: number;
|
|
1750
|
-
organizationId: number;
|
|
1751
|
-
creatorId: number;
|
|
1752
|
-
creatorType: string;
|
|
1753
|
-
userCreatorId: number;
|
|
1754
|
-
ownerId: number;
|
|
1755
|
-
addon: boolean;
|
|
1756
|
-
isMandatory: boolean;
|
|
1757
|
-
productId: number;
|
|
1758
|
-
}
|
|
1759
1681
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1760
1682
|
token: string | null;
|
|
1761
1683
|
userId: number | null;
|
|
1762
1684
|
validUntil: Date | null;
|
|
1763
1685
|
active: boolean | null;
|
|
1764
1686
|
}
|
|
1765
|
-
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1766
|
-
price: number;
|
|
1767
|
-
paymentProcessorId: string;
|
|
1768
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1769
|
-
paymentStatus: PaymentStatusEnum;
|
|
1770
|
-
bondFee?: number;
|
|
1771
|
-
stripeFee?: number;
|
|
1772
|
-
currency: CurrencyEnum;
|
|
1773
|
-
payingUserId?: number;
|
|
1774
|
-
paymentMethodId?: string;
|
|
1775
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1776
|
-
fundLeft: number;
|
|
1777
|
-
notes?: string;
|
|
1778
|
-
isRefunded: boolean;
|
|
1779
|
-
lineItemHistory: LineItemHistory[];
|
|
1780
|
-
receiptUrl?: string;
|
|
1781
|
-
paymentProcessorTransactionId?: string;
|
|
1782
|
-
creatingUserId: number;
|
|
1783
|
-
shiftId: number;
|
|
1784
|
-
platform: PlatformsEnum;
|
|
1785
|
-
ccLast4: string;
|
|
1786
|
-
ccBrand: string;
|
|
1787
|
-
paymentNotes: PaymentNote[];
|
|
1788
|
-
parentInvoiceId?: number;
|
|
1789
|
-
refundReasonId?: number;
|
|
1790
|
-
refundNote?: string;
|
|
1791
|
-
}
|
|
1792
1687
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1793
1688
|
content: string;
|
|
1794
1689
|
creatingUserId: number;
|
|
@@ -1798,21 +1693,22 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1798
1693
|
paymentId: number;
|
|
1799
1694
|
payment: Payment;
|
|
1800
1695
|
}
|
|
1801
|
-
export declare class
|
|
1802
|
-
|
|
1803
|
-
waitingDays: number;
|
|
1696
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1697
|
+
organizationId: number;
|
|
1804
1698
|
}
|
|
1805
|
-
export declare class
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
deletedAt?: Date;
|
|
1809
|
-
paymentPlan: ProductPaymentPlan;
|
|
1699
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1700
|
+
facilityId: number;
|
|
1701
|
+
resourceId: number;
|
|
1810
1702
|
}
|
|
1811
|
-
export declare class
|
|
1812
|
-
paymentInstallmentId?: number;
|
|
1703
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1813
1704
|
invoiceId: number;
|
|
1814
|
-
|
|
1815
|
-
|
|
1705
|
+
paymentId: number;
|
|
1706
|
+
lineItemId: number;
|
|
1707
|
+
paidAmount: number;
|
|
1708
|
+
unitPaidAmount: number;
|
|
1709
|
+
currency: CurrencyEnum;
|
|
1710
|
+
payment: Payment;
|
|
1711
|
+
lineItem: LineItems;
|
|
1816
1712
|
}
|
|
1817
1713
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1818
1714
|
userId: number | null;
|
|
@@ -1849,6 +1745,23 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1849
1745
|
discountValue?: number;
|
|
1850
1746
|
taxIncludedPrice?: number;
|
|
1851
1747
|
}
|
|
1748
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1749
|
+
name?: string;
|
|
1750
|
+
description?: string;
|
|
1751
|
+
price: number;
|
|
1752
|
+
status: string;
|
|
1753
|
+
percentage: number;
|
|
1754
|
+
quantity: number;
|
|
1755
|
+
duration: number;
|
|
1756
|
+
organizationId: number;
|
|
1757
|
+
creatorId: number;
|
|
1758
|
+
creatorType: string;
|
|
1759
|
+
userCreatorId: number;
|
|
1760
|
+
ownerId: number;
|
|
1761
|
+
addon: boolean;
|
|
1762
|
+
isMandatory: boolean;
|
|
1763
|
+
productId: number;
|
|
1764
|
+
}
|
|
1852
1765
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1853
1766
|
name: string;
|
|
1854
1767
|
quantity: number;
|
|
@@ -1899,21 +1812,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1899
1812
|
activityTimes: ActivityTimes[];
|
|
1900
1813
|
purchasedResources: PurchasedResource[];
|
|
1901
1814
|
}
|
|
1902
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1903
|
-
parentProductId: number;
|
|
1904
|
-
childProductId: number;
|
|
1905
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1906
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1907
|
-
deletedAt?: Date;
|
|
1908
|
-
productResource: ProductResource;
|
|
1909
|
-
childProduct: Product;
|
|
1910
|
-
parentProduct: Product;
|
|
1911
|
-
price: number;
|
|
1912
|
-
isFlatPrice: boolean;
|
|
1913
|
-
durationMinutes?: number;
|
|
1914
|
-
durationDays?: number;
|
|
1915
|
-
level?: ProductPackageLevelEnum;
|
|
1916
|
-
}
|
|
1917
1815
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1918
1816
|
productId: number;
|
|
1919
1817
|
maxMonths?: number;
|
|
@@ -1934,20 +1832,47 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1934
1832
|
productPackages: ProductPackage[];
|
|
1935
1833
|
resourceName?: string;
|
|
1936
1834
|
}
|
|
1937
|
-
export declare class
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
productId: number;
|
|
1943
|
-
variantId: number;
|
|
1944
|
-
}
|
|
1945
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1946
|
-
productId: number;
|
|
1947
|
-
customerId: number;
|
|
1948
|
-
customer: Customer;
|
|
1835
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1836
|
+
parentProductId: number;
|
|
1837
|
+
childProductId: number;
|
|
1838
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1839
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1949
1840
|
deletedAt?: Date;
|
|
1950
|
-
|
|
1841
|
+
productResource: ProductResource;
|
|
1842
|
+
childProduct: Product;
|
|
1843
|
+
parentProduct: Product;
|
|
1844
|
+
price: number;
|
|
1845
|
+
isFlatPrice: boolean;
|
|
1846
|
+
durationMinutes?: number;
|
|
1847
|
+
durationDays?: number;
|
|
1848
|
+
level?: ProductPackageLevelEnum;
|
|
1849
|
+
}
|
|
1850
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1851
|
+
price: number;
|
|
1852
|
+
paymentProcessorId: string;
|
|
1853
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1854
|
+
paymentStatus: PaymentStatusEnum;
|
|
1855
|
+
bondFee?: number;
|
|
1856
|
+
stripeFee?: number;
|
|
1857
|
+
currency: CurrencyEnum;
|
|
1858
|
+
payingUserId?: number;
|
|
1859
|
+
paymentMethodId?: string;
|
|
1860
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1861
|
+
fundLeft: number;
|
|
1862
|
+
notes?: string;
|
|
1863
|
+
isRefunded: boolean;
|
|
1864
|
+
lineItemHistory: LineItemHistory[];
|
|
1865
|
+
receiptUrl?: string;
|
|
1866
|
+
paymentProcessorTransactionId?: string;
|
|
1867
|
+
creatingUserId: number;
|
|
1868
|
+
shiftId: number;
|
|
1869
|
+
platform: PlatformsEnum;
|
|
1870
|
+
ccLast4: string;
|
|
1871
|
+
ccBrand: string;
|
|
1872
|
+
paymentNotes: PaymentNote[];
|
|
1873
|
+
parentInvoiceId?: number;
|
|
1874
|
+
refundReasonId?: number;
|
|
1875
|
+
refundNote?: string;
|
|
1951
1876
|
}
|
|
1952
1877
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1953
1878
|
productId: number;
|
|
@@ -1966,14 +1891,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1966
1891
|
slots?: Slot[];
|
|
1967
1892
|
addons?: Addon[];
|
|
1968
1893
|
}
|
|
1969
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1970
|
-
type: ProgramHighlightTypeEnum;
|
|
1971
|
-
ordinal: number | null;
|
|
1972
|
-
title: string | null;
|
|
1973
|
-
data: any | null;
|
|
1974
|
-
program: Program;
|
|
1975
|
-
deletedAt?: Date;
|
|
1976
|
-
}
|
|
1977
1894
|
export declare class Program extends BondBaseEntity {
|
|
1978
1895
|
type: ProgramTypesEnum;
|
|
1979
1896
|
name: string;
|
|
@@ -2036,7 +1953,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2036
1953
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2037
1954
|
program: Program;
|
|
2038
1955
|
spaces?: Resource[];
|
|
2039
|
-
reservationId?: number;
|
|
2040
1956
|
earlyRegistrationStartDate?: Date;
|
|
2041
1957
|
earlyRegistrationEndDate?: Date;
|
|
2042
1958
|
lateRegistrationStartDate?: Date;
|
|
@@ -2051,6 +1967,53 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2051
1967
|
facility: Facility;
|
|
2052
1968
|
purchasedResources: PurchasedResource[];
|
|
2053
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
|
+
}
|
|
2054
2017
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2055
2018
|
productUserId: number;
|
|
2056
2019
|
resourceId: number;
|
|
@@ -2073,26 +2036,39 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2073
2036
|
product?: Product;
|
|
2074
2037
|
event?: Event;
|
|
2075
2038
|
}
|
|
2039
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2040
|
+
name: string;
|
|
2041
|
+
resourceType: ResourceTypeEnum;
|
|
2042
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2043
|
+
description?: string;
|
|
2044
|
+
longDescription?: string;
|
|
2045
|
+
surface?: SurfacesEnum;
|
|
2046
|
+
properties?: SpacePropertiesEnum[];
|
|
2047
|
+
mainMediaId?: number;
|
|
2048
|
+
mainMedia: Media;
|
|
2049
|
+
sports: SportsEnum[];
|
|
2050
|
+
width?: number;
|
|
2051
|
+
length?: number;
|
|
2052
|
+
amenities?: AmenitiesEnum[];
|
|
2053
|
+
parentSpaceId?: number;
|
|
2054
|
+
ordinal?: number;
|
|
2055
|
+
isAddOn: boolean;
|
|
2056
|
+
ages?: ResourceAgesEnum;
|
|
2057
|
+
deletedAt?: Date;
|
|
2058
|
+
activityTimes: ActivityTimes[];
|
|
2059
|
+
facilities: Facility[];
|
|
2060
|
+
slots?: Slot[];
|
|
2061
|
+
addons?: Addon[];
|
|
2062
|
+
facilityId: number;
|
|
2063
|
+
facility: Facility;
|
|
2064
|
+
purchasedResources: PurchasedResource[];
|
|
2065
|
+
linkSEO: string;
|
|
2066
|
+
}
|
|
2076
2067
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2077
2068
|
reason: string;
|
|
2078
2069
|
ordinal: number;
|
|
2079
2070
|
deletedAt: Date;
|
|
2080
2071
|
}
|
|
2081
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2082
|
-
resourceType: ResourceNameTypeEnum;
|
|
2083
|
-
resourceId: number;
|
|
2084
|
-
openNumDays?: number;
|
|
2085
|
-
openNumMinutes?: number;
|
|
2086
|
-
openTime?: string;
|
|
2087
|
-
closeNumDays?: number;
|
|
2088
|
-
closeNumMinutes?: number;
|
|
2089
|
-
closeTime?: string;
|
|
2090
|
-
deletedAt?: Date;
|
|
2091
|
-
}
|
|
2092
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2093
|
-
title: string | null;
|
|
2094
|
-
answerTitle: AnswerTitle;
|
|
2095
|
-
}
|
|
2096
2072
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2097
2073
|
name?: string;
|
|
2098
2074
|
description?: string;
|
|
@@ -2125,53 +2101,12 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2125
2101
|
publicNotes?: string;
|
|
2126
2102
|
slots?: Slot[];
|
|
2127
2103
|
}
|
|
2128
|
-
export declare class
|
|
2129
|
-
|
|
2104
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2105
|
+
type: ProgramHighlightTypeEnum;
|
|
2130
2106
|
ordinal: number | null;
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
metaData: any | null;
|
|
2135
|
-
question: string | null;
|
|
2136
|
-
creatorId: number | null;
|
|
2137
|
-
creatorType: string | null;
|
|
2138
|
-
userCreatorId: number | null;
|
|
2139
|
-
ownerId: number | null;
|
|
2140
|
-
questionnaireId: number | null;
|
|
2141
|
-
}
|
|
2142
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2143
|
-
name: string;
|
|
2144
|
-
resourceType: ResourceTypeEnum;
|
|
2145
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2146
|
-
description?: string;
|
|
2147
|
-
longDescription?: string;
|
|
2148
|
-
surface?: SurfacesEnum;
|
|
2149
|
-
properties?: SpacePropertiesEnum[];
|
|
2150
|
-
mainMediaId?: number;
|
|
2151
|
-
mainMedia: Media;
|
|
2152
|
-
sports: SportsEnum[];
|
|
2153
|
-
width?: number;
|
|
2154
|
-
length?: number;
|
|
2155
|
-
amenities?: AmenitiesEnum[];
|
|
2156
|
-
parentSpaceId?: number;
|
|
2157
|
-
ordinal?: number;
|
|
2158
|
-
isAddOn: boolean;
|
|
2159
|
-
ages?: ResourceAgesEnum;
|
|
2160
|
-
deletedAt?: Date;
|
|
2161
|
-
activityTimes: ActivityTimes[];
|
|
2162
|
-
facilities: Facility[];
|
|
2163
|
-
slots?: Slot[];
|
|
2164
|
-
addons?: Addon[];
|
|
2165
|
-
facilityId: number;
|
|
2166
|
-
facility: Facility;
|
|
2167
|
-
purchasedResources: PurchasedResource[];
|
|
2168
|
-
linkSEO: string;
|
|
2169
|
-
}
|
|
2170
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2171
|
-
name: string;
|
|
2172
|
-
facilityId: number;
|
|
2173
|
-
parentSlotId: number;
|
|
2174
|
-
childrenSlotIds: number[];
|
|
2107
|
+
title: string | null;
|
|
2108
|
+
data: any | null;
|
|
2109
|
+
program: Program;
|
|
2175
2110
|
deletedAt?: Date;
|
|
2176
2111
|
}
|
|
2177
2112
|
export declare class School extends BondBaseEntity {
|
|
@@ -2182,6 +2117,13 @@ export declare class School extends BondBaseEntity {
|
|
|
2182
2117
|
phone: string | null;
|
|
2183
2118
|
dataId: number | null;
|
|
2184
2119
|
}
|
|
2120
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2121
|
+
name: string;
|
|
2122
|
+
facilityId: number;
|
|
2123
|
+
parentSlotId: number;
|
|
2124
|
+
childrenSlotIds: number[];
|
|
2125
|
+
deletedAt?: Date;
|
|
2126
|
+
}
|
|
2185
2127
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2186
2128
|
status: RequestStatusEnum;
|
|
2187
2129
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2196,27 +2138,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2196
2138
|
deletedAt?: Date;
|
|
2197
2139
|
purchasedResource: PurchasedResource;
|
|
2198
2140
|
}
|
|
2199
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2200
|
-
name: string | null;
|
|
2201
|
-
ordinal: number | null;
|
|
2202
|
-
seasonId: number | null;
|
|
2203
|
-
color: string | null;
|
|
2204
|
-
}
|
|
2205
|
-
export declare class SeasonPool extends BondBaseEntity {
|
|
2206
|
-
seasonId?: number;
|
|
2207
|
-
userId?: number;
|
|
2208
|
-
status?: number;
|
|
2209
|
-
entityId?: number;
|
|
2210
|
-
entityType?: string;
|
|
2211
|
-
groupId?: string;
|
|
2212
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2213
|
-
metadata?: any;
|
|
2214
|
-
paymentId?: number;
|
|
2215
|
-
externalAssign?: boolean;
|
|
2216
|
-
productUserId?: number;
|
|
2217
|
-
purchasedResource: PurchasedResource;
|
|
2218
|
-
season: LeagueSeason;
|
|
2219
|
-
}
|
|
2220
2141
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2221
2142
|
seasonId: number | null;
|
|
2222
2143
|
teamId: number | null;
|
|
@@ -2227,21 +2148,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2227
2148
|
metaData: any | null;
|
|
2228
2149
|
team: Team;
|
|
2229
2150
|
}
|
|
2230
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2231
|
-
blockingSpaceId: number;
|
|
2232
|
-
blockedSpaceId: number;
|
|
2233
|
-
}
|
|
2234
|
-
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2235
|
-
name: string;
|
|
2236
|
-
facilityId: number;
|
|
2237
|
-
processorTerminalId: string | null;
|
|
2238
|
-
terminaLabel: string | null;
|
|
2239
|
-
processorSerialNumber: string | null;
|
|
2240
|
-
currentOpenShift?: Shift;
|
|
2241
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2242
|
-
subcategories: Subcategory[];
|
|
2243
|
-
shifts?: Shift[];
|
|
2244
|
-
}
|
|
2245
2151
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2246
2152
|
stationId: number;
|
|
2247
2153
|
subcategoryId: number;
|
|
@@ -2258,6 +2164,26 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2258
2164
|
stationToSubcategories: StationToSubcategory[];
|
|
2259
2165
|
stations: Station[];
|
|
2260
2166
|
}
|
|
2167
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2168
|
+
teamId: number | null;
|
|
2169
|
+
userId: number | null;
|
|
2170
|
+
paymentId: number | null;
|
|
2171
|
+
hasPaid: boolean | null;
|
|
2172
|
+
status: TeamMemberStatusEnum | null;
|
|
2173
|
+
role: TeamMemberRoleEnum;
|
|
2174
|
+
user: User;
|
|
2175
|
+
}
|
|
2176
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2177
|
+
name: string;
|
|
2178
|
+
facilityId: number;
|
|
2179
|
+
processorTerminalId: string | null;
|
|
2180
|
+
terminaLabel: string | null;
|
|
2181
|
+
processorSerialNumber: string | null;
|
|
2182
|
+
currentOpenShift?: Shift;
|
|
2183
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2184
|
+
subcategories: Subcategory[];
|
|
2185
|
+
shifts?: Shift[];
|
|
2186
|
+
}
|
|
2261
2187
|
export declare class Team extends BondBaseEntity {
|
|
2262
2188
|
name: string | null;
|
|
2263
2189
|
description: string | null;
|
|
@@ -2292,24 +2218,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2292
2218
|
gender: number | null;
|
|
2293
2219
|
questionnaireId: number | null;
|
|
2294
2220
|
}
|
|
2295
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2296
|
-
email: string;
|
|
2297
|
-
teamId: number;
|
|
2298
|
-
invitedUserId?: number;
|
|
2299
|
-
userCreatorId: number;
|
|
2300
|
-
token: string;
|
|
2301
|
-
tokenExpirationDate: Date;
|
|
2302
|
-
isUsed: boolean;
|
|
2303
|
-
}
|
|
2304
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2305
|
-
teamId: number | null;
|
|
2306
|
-
userId: number | null;
|
|
2307
|
-
paymentId: number | null;
|
|
2308
|
-
hasPaid: boolean | null;
|
|
2309
|
-
status: TeamMemberStatusEnum | null;
|
|
2310
|
-
role: TeamMemberRoleEnum;
|
|
2311
|
-
user: User;
|
|
2312
|
-
}
|
|
2313
2221
|
export declare class User extends BondBaseEntity {
|
|
2314
2222
|
firstName: string | null;
|
|
2315
2223
|
lastName: string | null;
|
|
@@ -2349,27 +2257,32 @@ export declare class User extends BondBaseEntity {
|
|
|
2349
2257
|
invoiceNotes: InvoiceNote[];
|
|
2350
2258
|
paymentNotes: PaymentNote[];
|
|
2351
2259
|
}
|
|
2352
|
-
export declare class
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
userId: number;
|
|
2361
|
-
isAdmin: boolean;
|
|
2362
|
-
user: User;
|
|
2363
|
-
familyAccount: FamilyAccount;
|
|
2364
|
-
deletedAt?: Date;
|
|
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;
|
|
2365
2268
|
}
|
|
2366
|
-
export declare class
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
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;
|
|
2373
2286
|
}
|
|
2374
2287
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2375
2288
|
groupId: number;
|
|
@@ -2382,10 +2295,30 @@ export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
|
2382
2295
|
variantTitle: VariantTitle;
|
|
2383
2296
|
deletedAt?: Date;
|
|
2384
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
|
+
}
|
|
2385
2310
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2386
2311
|
name: string;
|
|
2387
2312
|
variants: Variant[];
|
|
2388
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
|
+
}
|
|
2389
2322
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2390
2323
|
projectToken: string;
|
|
2391
2324
|
programTypesCollectionId?: string;
|
|
@@ -2394,6 +2327,34 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2394
2327
|
membershipCollectionId?: string;
|
|
2395
2328
|
programsCollectionId?: string;
|
|
2396
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
|
+
}
|
|
2343
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2344
|
+
seasonId?: number;
|
|
2345
|
+
userId?: number;
|
|
2346
|
+
status?: number;
|
|
2347
|
+
entityId?: number;
|
|
2348
|
+
entityType?: string;
|
|
2349
|
+
groupId?: string;
|
|
2350
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2351
|
+
metadata?: any;
|
|
2352
|
+
paymentId?: number;
|
|
2353
|
+
externalAssign?: boolean;
|
|
2354
|
+
productUserId?: number;
|
|
2355
|
+
purchasedResource: PurchasedResource;
|
|
2356
|
+
season: LeagueSeason;
|
|
2357
|
+
}
|
|
2397
2358
|
export declare enum EntitlementTermsTypesEnum {
|
|
2398
2359
|
QUESTION = "question",
|
|
2399
2360
|
CITY = "city",
|
|
@@ -2634,10 +2595,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2634
2595
|
BALANCE = "balance",
|
|
2635
2596
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2636
2597
|
OTHER = "other",
|
|
2637
|
-
LOST_DEBT = "lost-debt",
|
|
2638
2598
|
MIGRATED = "migrated",
|
|
2639
|
-
VOID = "void"
|
|
2640
|
-
GIFT_CARD = "gift-card"
|
|
2599
|
+
VOID = "void"
|
|
2641
2600
|
}
|
|
2642
2601
|
export declare enum RefundTypeEnum {
|
|
2643
2602
|
LEAVE_BALANCE = "leave_balance",
|
|
@@ -2933,13 +2892,6 @@ export declare enum PaymentSettingStatusEnum {
|
|
|
2933
2892
|
DISABLED_INFO_ONLY = 3,
|
|
2934
2893
|
DISABLED_EMAIL = 4
|
|
2935
2894
|
}
|
|
2936
|
-
export declare enum NotifyMethodEnum {
|
|
2937
|
-
EMAIL = "Email"
|
|
2938
|
-
}
|
|
2939
|
-
export declare enum EComparisonFilter {
|
|
2940
|
-
LessThan = "lt",
|
|
2941
|
-
GreaterOrEqualTo = "gte"
|
|
2942
|
-
}
|
|
2943
2895
|
export interface IEntitlementTerms {
|
|
2944
2896
|
type: EntitlementTermsTypesEnum;
|
|
2945
2897
|
id?: number;
|
|
@@ -3080,8 +3032,8 @@ export interface ISingleMemberForRenewal {
|
|
|
3080
3032
|
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3081
3033
|
member_answerTitleIds?: number[];
|
|
3082
3034
|
member_organizationId: number;
|
|
3083
|
-
|
|
3084
|
-
|
|
3035
|
+
line_paidAmount: number;
|
|
3036
|
+
line_productId: number;
|
|
3085
3037
|
invoice_payingUserId: number;
|
|
3086
3038
|
invoice_paymentMethodId: string;
|
|
3087
3039
|
invoice_paymentType: PaymentMethodTypeEnum;
|
|
@@ -3093,7 +3045,7 @@ export interface ISingleMemberForRenewal {
|
|
|
3093
3045
|
}
|
|
3094
3046
|
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3095
3047
|
package_parentProductId: number;
|
|
3096
|
-
|
|
3048
|
+
line2_paidAmount: number;
|
|
3097
3049
|
familyid: number;
|
|
3098
3050
|
invoice_id: number;
|
|
3099
3051
|
}
|
|
@@ -3247,7 +3199,7 @@ export interface ISessionsLandingPage {
|
|
|
3247
3199
|
lateRegistrationStartDate?: Date;
|
|
3248
3200
|
lateRegistrationEndDate?: Date;
|
|
3249
3201
|
attendeeCount?: number;
|
|
3250
|
-
segmentsOrEvents:
|
|
3202
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3251
3203
|
}
|
|
3252
3204
|
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3253
3205
|
hasRequiredMembership: boolean;
|
|
@@ -3325,8 +3277,7 @@ export declare enum ImportPaymentTypeEnum {
|
|
|
3325
3277
|
CASH = "cash",
|
|
3326
3278
|
CHECK = "check",
|
|
3327
3279
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3328
|
-
OTHER = "other"
|
|
3329
|
-
GIFT_CARD = "gift-card"
|
|
3280
|
+
OTHER = "other"
|
|
3330
3281
|
}
|
|
3331
3282
|
export declare class ImportedInvoiceLineDto {
|
|
3332
3283
|
invoiceID?: string;
|
|
@@ -3364,18 +3315,11 @@ export declare class ProductImportDto {
|
|
|
3364
3315
|
resourceIds: number[];
|
|
3365
3316
|
oldId: number;
|
|
3366
3317
|
}
|
|
3367
|
-
export declare class PunchPassDto {
|
|
3368
|
-
CustomerID: string;
|
|
3369
|
-
QuantityLeft: number;
|
|
3370
|
-
BondProgramID: number;
|
|
3371
|
-
BondSessionID: number;
|
|
3372
|
-
ProductID: number;
|
|
3373
|
-
}
|
|
3374
3318
|
export declare class ImportedSlotProductDto {
|
|
3375
3319
|
slotID?: string;
|
|
3376
3320
|
name?: string;
|
|
3377
|
-
pricingType?:
|
|
3378
|
-
appliesTo?:
|
|
3321
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3322
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3379
3323
|
price?: string;
|
|
3380
3324
|
minutes?: string;
|
|
3381
3325
|
quantity: string;
|
|
@@ -3422,10 +3366,26 @@ export declare class ImportedReservationDto {
|
|
|
3422
3366
|
slots?: ImportedSlotDto[];
|
|
3423
3367
|
addons?: ImportedSlotProductDto[];
|
|
3424
3368
|
}
|
|
3369
|
+
export declare class PunchPassDto {
|
|
3370
|
+
CustomerID: string;
|
|
3371
|
+
QuantityLeft: number;
|
|
3372
|
+
BondProgramID: number;
|
|
3373
|
+
BondSessionID: number;
|
|
3374
|
+
ProductID: number;
|
|
3375
|
+
}
|
|
3425
3376
|
export declare class GameSlots extends BondBaseEntity {
|
|
3426
3377
|
entityType: string;
|
|
3427
3378
|
entityId: number;
|
|
3428
3379
|
}
|
|
3380
|
+
export declare class Lock extends BondBaseEntity {
|
|
3381
|
+
name: string;
|
|
3382
|
+
locked?: Date;
|
|
3383
|
+
}
|
|
3384
|
+
export declare class Matches extends BondBaseEntity {
|
|
3385
|
+
eventId: number | null;
|
|
3386
|
+
status: number | null;
|
|
3387
|
+
excludeStandings: boolean | null;
|
|
3388
|
+
}
|
|
3429
3389
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3430
3390
|
matchId: number | null;
|
|
3431
3391
|
ordinal: number | null;
|
|
@@ -3435,10 +3395,11 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3435
3395
|
score: number | null;
|
|
3436
3396
|
gameSlotId: number | null;
|
|
3437
3397
|
}
|
|
3438
|
-
export declare class
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3398
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3399
|
+
seasonId: number;
|
|
3400
|
+
ordinal?: number;
|
|
3401
|
+
divisionId?: number;
|
|
3402
|
+
name: string;
|
|
3442
3403
|
}
|
|
3443
3404
|
export declare class RoundEvents extends BaseEntity {
|
|
3444
3405
|
roundId: number;
|
|
@@ -3447,31 +3408,16 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3447
3408
|
createdAt: Date;
|
|
3448
3409
|
updatedAt: Date;
|
|
3449
3410
|
}
|
|
3450
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3451
|
-
seasonId: number;
|
|
3452
|
-
ordinal?: number;
|
|
3453
|
-
divisionId?: number;
|
|
3454
|
-
name: string;
|
|
3455
|
-
}
|
|
3456
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3457
|
-
teamId: number | null;
|
|
3458
|
-
eventId: number | null;
|
|
3459
|
-
status: number | null;
|
|
3460
|
-
}
|
|
3461
|
-
export declare class Lock extends BondBaseEntity {
|
|
3462
|
-
name: string;
|
|
3463
|
-
locked?: Date;
|
|
3464
|
-
}
|
|
3465
3411
|
export declare class CreateMonitorConfigDto {
|
|
3466
3412
|
facilityId: number;
|
|
3467
3413
|
name: string;
|
|
3468
3414
|
code: string;
|
|
3469
3415
|
config: any;
|
|
3470
3416
|
}
|
|
3471
|
-
export declare class
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3417
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3418
|
+
teamId: number | null;
|
|
3419
|
+
eventId: number | null;
|
|
3420
|
+
status: number | null;
|
|
3475
3421
|
}
|
|
3476
3422
|
export interface ValidatedMonthAndDay {
|
|
3477
3423
|
valid: boolean;
|
|
@@ -3482,6 +3428,11 @@ export interface ValidationReason {
|
|
|
3482
3428
|
valid: boolean;
|
|
3483
3429
|
reason?: string;
|
|
3484
3430
|
}
|
|
3431
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3432
|
+
facilityId: number;
|
|
3433
|
+
code: string;
|
|
3434
|
+
config?: any;
|
|
3435
|
+
}
|
|
3485
3436
|
export interface PaymentStatus {
|
|
3486
3437
|
parentId: number;
|
|
3487
3438
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3494,125 +3445,6 @@ export interface PaymentStatusesDict {
|
|
|
3494
3445
|
export interface PaymentStatusDict {
|
|
3495
3446
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3496
3447
|
}
|
|
3497
|
-
export declare class ByOrganizationIdDto {
|
|
3498
|
-
organizationId: number;
|
|
3499
|
-
}
|
|
3500
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3501
|
-
organizationId?: number;
|
|
3502
|
-
}
|
|
3503
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3504
|
-
programsIds?: string;
|
|
3505
|
-
sessionsIds?: string;
|
|
3506
|
-
segmentsIds?: string;
|
|
3507
|
-
startDate?: string;
|
|
3508
|
-
endDate?: string;
|
|
3509
|
-
months?: string;
|
|
3510
|
-
dow?: string;
|
|
3511
|
-
}
|
|
3512
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3513
|
-
programsIds?: string;
|
|
3514
|
-
sessionsIds?: string;
|
|
3515
|
-
segmentsIds?: string;
|
|
3516
|
-
startDate?: string;
|
|
3517
|
-
endDate?: string;
|
|
3518
|
-
months?: string;
|
|
3519
|
-
dow?: string;
|
|
3520
|
-
}
|
|
3521
|
-
export declare class Organization extends BondBaseEntity {
|
|
3522
|
-
name: string | null;
|
|
3523
|
-
email: string | null;
|
|
3524
|
-
twitter: string | null;
|
|
3525
|
-
facebook: string | null;
|
|
3526
|
-
instagram: string | null;
|
|
3527
|
-
website: string | null;
|
|
3528
|
-
blog: string | null;
|
|
3529
|
-
phoneNumber: string | null;
|
|
3530
|
-
waiverDoc: string | null;
|
|
3531
|
-
about: string | null;
|
|
3532
|
-
tagline: string | null;
|
|
3533
|
-
status: number | null;
|
|
3534
|
-
addressId: number | null;
|
|
3535
|
-
merchantId: number | null;
|
|
3536
|
-
userCreatorId: number | null;
|
|
3537
|
-
parentId: number | null;
|
|
3538
|
-
paymentSettings: object | null;
|
|
3539
|
-
settings: object | null;
|
|
3540
|
-
isClaimed: boolean | null;
|
|
3541
|
-
sports: number[] | null;
|
|
3542
|
-
mainMediaId: number | null;
|
|
3543
|
-
deletedAt: Date | null;
|
|
3544
|
-
organizationActivityTypes: number[] | null;
|
|
3545
|
-
organizationTypes: number[] | null;
|
|
3546
|
-
organizationAudienceTypes: number[] | null;
|
|
3547
|
-
organizationGenders: number[] | null;
|
|
3548
|
-
questionnaireId: number | null;
|
|
3549
|
-
membershipQuestionnaireId: number | null;
|
|
3550
|
-
feeRate: number;
|
|
3551
|
-
feeAddDollarRate: number;
|
|
3552
|
-
achFeeRate: number;
|
|
3553
|
-
achFeeAddDollarRate: number;
|
|
3554
|
-
maxAchFee: number;
|
|
3555
|
-
cashFeeRate: number;
|
|
3556
|
-
cashFeeAddDollarRate: number;
|
|
3557
|
-
terminalFeeRate: number;
|
|
3558
|
-
terminalFeeAddDollarRate: number;
|
|
3559
|
-
checkFeeRate: number;
|
|
3560
|
-
checkFeeAddDollarRate: number;
|
|
3561
|
-
otherFeeRate: number;
|
|
3562
|
-
otherFeeAddDollarRate: number;
|
|
3563
|
-
balanceFeeRate: number;
|
|
3564
|
-
balanceFeeAddDollarRate: number;
|
|
3565
|
-
address: Address;
|
|
3566
|
-
mainMedia: Media;
|
|
3567
|
-
brandings: OrganizationBranding[];
|
|
3568
|
-
brandingsV2?: OrganizationBranding[];
|
|
3569
|
-
}
|
|
3570
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3571
|
-
key?: string;
|
|
3572
|
-
vaule?: string;
|
|
3573
|
-
version: number;
|
|
3574
|
-
organization: Organization;
|
|
3575
|
-
}
|
|
3576
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3577
|
-
mainAdminUserId?: number;
|
|
3578
|
-
}
|
|
3579
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3580
|
-
organisationId: number | null;
|
|
3581
|
-
userId: number | null;
|
|
3582
|
-
}
|
|
3583
|
-
export interface UnallocatedEventsFilters {
|
|
3584
|
-
programsIds?: number[];
|
|
3585
|
-
sessionsIds?: number[];
|
|
3586
|
-
segmentsIds?: number[];
|
|
3587
|
-
durations?: Duration[];
|
|
3588
|
-
daysOfWeek?: number[];
|
|
3589
|
-
}
|
|
3590
|
-
export interface Duration {
|
|
3591
|
-
startDate: string;
|
|
3592
|
-
endDate: string;
|
|
3593
|
-
}
|
|
3594
|
-
export interface IUnallocatedEventRes {
|
|
3595
|
-
id: number;
|
|
3596
|
-
title: string;
|
|
3597
|
-
sports: number[];
|
|
3598
|
-
startDate: string;
|
|
3599
|
-
startDateString: string;
|
|
3600
|
-
startTime: string;
|
|
3601
|
-
endDate: string;
|
|
3602
|
-
endDateString: string;
|
|
3603
|
-
endTime: string;
|
|
3604
|
-
timezone: string;
|
|
3605
|
-
}
|
|
3606
|
-
export interface IUnallocatedEventsIdsRes {
|
|
3607
|
-
data: IUnallocatedEventRes[];
|
|
3608
|
-
}
|
|
3609
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3610
|
-
userId: number;
|
|
3611
|
-
organizationId: number;
|
|
3612
|
-
notifyMetadata?: any;
|
|
3613
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3614
|
-
destination: string;
|
|
3615
|
-
}
|
|
3616
3448
|
export declare class CustomerIdDto {
|
|
3617
3449
|
customerId: number;
|
|
3618
3450
|
}
|
|
@@ -3641,12 +3473,6 @@ export declare class DiscountDto {
|
|
|
3641
3473
|
export declare class LineItemIdDto {
|
|
3642
3474
|
lineItemId: number;
|
|
3643
3475
|
}
|
|
3644
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3645
|
-
paymentType?: string;
|
|
3646
|
-
paymentStatus?: string;
|
|
3647
|
-
}
|
|
3648
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3649
|
-
}
|
|
3650
3476
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3651
3477
|
userId: number;
|
|
3652
3478
|
}
|
|
@@ -3657,18 +3483,11 @@ export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto
|
|
|
3657
3483
|
}
|
|
3658
3484
|
export declare class ScheduledPaymentDto {
|
|
3659
3485
|
plannedDate: Date;
|
|
3660
|
-
originalPlannedDate?: Date;
|
|
3661
3486
|
price: number;
|
|
3662
3487
|
}
|
|
3663
3488
|
export declare class FutureInstallmentsIdsDto {
|
|
3664
3489
|
paymentsIds: number[];
|
|
3665
3490
|
}
|
|
3666
|
-
export declare class UpdateScheduledPaymentsDto {
|
|
3667
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3668
|
-
payemntMethodId: string;
|
|
3669
|
-
invoiceId?: number;
|
|
3670
|
-
installmentIds?: number[];
|
|
3671
|
-
}
|
|
3672
3491
|
export declare class StationsDto {
|
|
3673
3492
|
organizationId: number;
|
|
3674
3493
|
facilityId: number;
|
|
@@ -3681,8 +3500,7 @@ export declare class PaymentIntentDto {
|
|
|
3681
3500
|
capture_method: string;
|
|
3682
3501
|
payment_method_types: string[];
|
|
3683
3502
|
organizationId: number;
|
|
3684
|
-
creatorId
|
|
3685
|
-
payment_method?: string;
|
|
3503
|
+
creatorId: number;
|
|
3686
3504
|
}
|
|
3687
3505
|
export declare class PaymentDataDto {
|
|
3688
3506
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3690,7 +3508,7 @@ export declare class PaymentDataDto {
|
|
|
3690
3508
|
}
|
|
3691
3509
|
export declare class SendReceiptDataDto {
|
|
3692
3510
|
paymentId: number;
|
|
3693
|
-
deliveryMethod:
|
|
3511
|
+
deliveryMethod: 'email' | 'sms';
|
|
3694
3512
|
sendToAddress?: string;
|
|
3695
3513
|
}
|
|
3696
3514
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -3735,6 +3553,16 @@ export declare class SendRequestDto {
|
|
|
3735
3553
|
sendToEmail: string;
|
|
3736
3554
|
memo?: string;
|
|
3737
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
|
+
}
|
|
3738
3566
|
export declare class RefundDto {
|
|
3739
3567
|
invoiceId: number;
|
|
3740
3568
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -3757,16 +3585,6 @@ export declare class RefundLineItemAmountDto {
|
|
|
3757
3585
|
id: number;
|
|
3758
3586
|
refundAmount: number;
|
|
3759
3587
|
}
|
|
3760
|
-
export declare class VoidDto {
|
|
3761
|
-
lineItems: VoidLineItemDto[];
|
|
3762
|
-
meta?: RevertMetaDto;
|
|
3763
|
-
}
|
|
3764
|
-
export declare class VoidLineItemDto {
|
|
3765
|
-
id: number;
|
|
3766
|
-
quantity?: number;
|
|
3767
|
-
isEdit?: boolean;
|
|
3768
|
-
amount?: number;
|
|
3769
|
-
}
|
|
3770
3588
|
export interface PaymentResult {
|
|
3771
3589
|
paymentMethodId: string;
|
|
3772
3590
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3792,6 +3610,63 @@ export interface ExtendedLineItems {
|
|
|
3792
3610
|
products: LineItems[];
|
|
3793
3611
|
events: LineItems[];
|
|
3794
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
|
+
}
|
|
3795
3670
|
export interface RefundResult extends PaymentsResults {
|
|
3796
3671
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3797
3672
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3802,17 +3677,135 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3802
3677
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3803
3678
|
totalAmountProcessed: number;
|
|
3804
3679
|
}
|
|
3805
|
-
export declare class
|
|
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;
|
|
3714
|
+
}
|
|
3715
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3716
|
+
deletedAt?: Date;
|
|
3717
|
+
reservationId: number;
|
|
3718
|
+
invoiceId: number;
|
|
3719
|
+
slotId: number;
|
|
3720
|
+
}
|
|
3721
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3722
|
+
parentId: number;
|
|
3723
|
+
parentType: AddonParentTypeEnum;
|
|
3806
3724
|
productId: number;
|
|
3807
|
-
id?: number;
|
|
3808
|
-
unitPrice?: number;
|
|
3809
|
-
quantity?: number;
|
|
3810
|
-
totalPrice?: number;
|
|
3811
3725
|
product?: Product;
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3726
|
+
quantity: number;
|
|
3727
|
+
unitPrice: number;
|
|
3728
|
+
totalPrice: number;
|
|
3729
|
+
approvalStatus: ReservationStatusEnum;
|
|
3730
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3731
|
+
level?: ProductPackageLevelEnum;
|
|
3732
|
+
resourceId?: number;
|
|
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;
|
|
3752
|
+
startTime?: string;
|
|
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;
|
|
3816
3809
|
}
|
|
3817
3810
|
export declare class AddAddonsDto {
|
|
3818
3811
|
addons: AddonDto[];
|
|
@@ -3870,6 +3863,72 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3870
3863
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3871
3864
|
segments: SegmentDto[];
|
|
3872
3865
|
}
|
|
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[];
|
|
3931
|
+
}
|
|
3873
3932
|
export declare class LineItemDto {
|
|
3874
3933
|
id?: number;
|
|
3875
3934
|
invoiceId?: number;
|
|
@@ -3891,17 +3950,21 @@ export declare class LineItemDto {
|
|
|
3891
3950
|
unitPrice?: number;
|
|
3892
3951
|
quantity: number;
|
|
3893
3952
|
resources?: PurchasedResourceDto[];
|
|
3894
|
-
relationType?:
|
|
3953
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3895
3954
|
unitPriceWithTax?: number;
|
|
3896
3955
|
unitTaxPrice?: number;
|
|
3897
3956
|
parentOrdinal?: number;
|
|
3898
3957
|
}
|
|
3899
|
-
export declare class
|
|
3958
|
+
export declare class SegmentDto {
|
|
3900
3959
|
id?: number;
|
|
3901
3960
|
title: string;
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3961
|
+
isPrivate: boolean;
|
|
3962
|
+
resourceIds: number[];
|
|
3963
|
+
sportId?: number;
|
|
3964
|
+
series: SeriesDto[];
|
|
3965
|
+
addonIds?: number[];
|
|
3966
|
+
publicNotesForSlots?: string;
|
|
3967
|
+
privateNotesForSlots?: string;
|
|
3905
3968
|
}
|
|
3906
3969
|
export declare class PurchasedResourceDto {
|
|
3907
3970
|
resourceId?: number;
|
|
@@ -4043,322 +4106,81 @@ export declare class EditItemsRefundMetaDto {
|
|
|
4043
4106
|
lineItems: RefundLineItemAmountDto[];
|
|
4044
4107
|
paymentMethods: PaymentMethodDto[];
|
|
4045
4108
|
reasonId: number;
|
|
4046
|
-
}
|
|
4047
|
-
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4048
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4049
|
-
}
|
|
4050
|
-
export declare class EditReservationDetailsDto {
|
|
4051
|
-
name: string;
|
|
4052
|
-
publicNotes?: string;
|
|
4053
|
-
privateNotes?: string;
|
|
4054
|
-
}
|
|
4055
|
-
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4056
|
-
updateAddons?: boolean;
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
isPrivate: boolean;
|
|
4070
|
-
resourceIds: number[];
|
|
4071
|
-
sportId?: number;
|
|
4072
|
-
series: SeriesDto[];
|
|
4073
|
-
addonIds?: number[];
|
|
4074
|
-
publicNotesForSlots?: string;
|
|
4075
|
-
privateNotesForSlots?: string;
|
|
4076
|
-
}
|
|
4077
|
-
export declare class SeriesDto {
|
|
4078
|
-
id?: number;
|
|
4079
|
-
startDate: string;
|
|
4080
|
-
startTime?: string;
|
|
4081
|
-
endDate?: string;
|
|
4082
|
-
endTime?: string;
|
|
4083
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4084
|
-
durationEndsAfter?: number;
|
|
4085
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4086
|
-
frequency: FrequencyEnum;
|
|
4087
|
-
repeatEvery?: number;
|
|
4088
|
-
repeatOn?: number[];
|
|
4089
|
-
repeatEndDate?: string;
|
|
4090
|
-
numberOccurrences?: number;
|
|
4091
|
-
maintenance?: MaintenanceDto[];
|
|
4092
|
-
slots?: SlotDto[];
|
|
4093
|
-
}
|
|
4094
|
-
export declare class SlotDateTimeAndSpace {
|
|
4095
|
-
startDate: string;
|
|
4096
|
-
startTime?: string;
|
|
4097
|
-
endDate?: string;
|
|
4098
|
-
endTime?: string;
|
|
4099
|
-
spaceId: number;
|
|
4100
|
-
}
|
|
4101
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4102
|
-
id?: number;
|
|
4103
|
-
reservationId?: number;
|
|
4104
|
-
occurrence?: number;
|
|
4105
|
-
title: string;
|
|
4106
|
-
creatorId?: number;
|
|
4107
|
-
creatorType?: string;
|
|
4108
|
-
userCreatorId?: number;
|
|
4109
|
-
timezone?: string;
|
|
4110
|
-
publicNotes?: string;
|
|
4111
|
-
privateNotes?: string;
|
|
4112
|
-
slotType: SlotTypeEnum;
|
|
4113
|
-
product?: Product;
|
|
4114
|
-
priceOverrideMeta?: {
|
|
4115
|
-
unitPrice: number;
|
|
4116
|
-
quantity: number;
|
|
4117
|
-
totalPrice: number;
|
|
4118
|
-
};
|
|
4119
|
-
addonPriceOverrideMeta?: {
|
|
4120
|
-
[addonProductId: number]: {
|
|
4121
|
-
unitPrice: number;
|
|
4122
|
-
quantity: number;
|
|
4123
|
-
totalPrice: number;
|
|
4124
|
-
};
|
|
4125
|
-
};
|
|
4126
|
-
addonProducts?: Product[];
|
|
4127
|
-
segmentId?: number;
|
|
4128
|
-
seriesId?: number;
|
|
4129
|
-
eventId?: number;
|
|
4130
|
-
sportIds: number[];
|
|
4131
|
-
parentSlotId?: number;
|
|
4132
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4133
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4134
|
-
durationValue?: number;
|
|
4135
|
-
invoicId?: number;
|
|
4136
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4137
|
-
approvalStatus: ReservationStatusEnum;
|
|
4138
|
-
displayName?: string;
|
|
4139
|
-
internalName?: string;
|
|
4140
|
-
totalPrice?: number;
|
|
4141
|
-
relevantProducts?: Product[];
|
|
4142
|
-
maintenance?: MaintenanceDto[];
|
|
4143
|
-
maintenanceSlots?: SlotDto[];
|
|
4144
|
-
isPrivate: boolean;
|
|
4145
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4146
|
-
addons?: AddonDto[];
|
|
4147
|
-
addonsIds?: number[];
|
|
4148
|
-
}
|
|
4149
|
-
export declare class TimeSlotDto {
|
|
4150
|
-
id?: number;
|
|
4151
|
-
resourceId: number;
|
|
4152
|
-
startDate: string;
|
|
4153
|
-
startTime: string;
|
|
4154
|
-
endDate: string;
|
|
4155
|
-
endTime: string;
|
|
4156
|
-
parentSlotId?: number;
|
|
4157
|
-
}
|
|
4158
|
-
export declare class TimeSlotsDto {
|
|
4159
|
-
timeSlots: TimeSlotDto[];
|
|
4160
|
-
}
|
|
4161
|
-
export declare class SlotsIdsDto {
|
|
4162
|
-
slotsIds: number[];
|
|
4163
|
-
}
|
|
4164
|
-
declare class AnswerDto {
|
|
4165
|
-
questionId: number;
|
|
4166
|
-
value: any;
|
|
4167
|
-
}
|
|
4168
|
-
export declare class BookedSessionDto {
|
|
4169
|
-
startDate: string;
|
|
4170
|
-
endDate: string;
|
|
4171
|
-
timezone: string;
|
|
4172
|
-
spaceId: number;
|
|
4173
|
-
}
|
|
4174
|
-
declare class AddonV1Dto {
|
|
4175
|
-
resourcePackageId: number;
|
|
4176
|
-
resourcePackageAmount: number;
|
|
4177
|
-
resourcePackagePrice: number;
|
|
4178
|
-
}
|
|
4179
|
-
export declare class ReservationV1Dto {
|
|
4180
|
-
organizationId: number;
|
|
4181
|
-
name: string;
|
|
4182
|
-
dayOfWeek: number;
|
|
4183
|
-
startTime: string;
|
|
4184
|
-
description: string;
|
|
4185
|
-
sport: number;
|
|
4186
|
-
price: number;
|
|
4187
|
-
resourcePackageId: number;
|
|
4188
|
-
resourcePackageAmount: number;
|
|
4189
|
-
bookedSessions: BookedSessionDto[];
|
|
4190
|
-
addons: AddonV1Dto[];
|
|
4191
|
-
}
|
|
4192
|
-
export declare class BookingV1Dto {
|
|
4193
|
-
organizationId: number;
|
|
4194
|
-
reservations: ReservationV1Dto[];
|
|
4195
|
-
answers: AnswerDto[];
|
|
4196
|
-
paymentData: PurchasePaymentDto;
|
|
4197
|
-
skipPayment: boolean;
|
|
4198
|
-
cashPayment: boolean;
|
|
4199
|
-
requestOnly: boolean;
|
|
4200
|
-
}
|
|
4201
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4202
|
-
parentId: number;
|
|
4203
|
-
parentType: AddonParentTypeEnum;
|
|
4204
|
-
productId: number;
|
|
4205
|
-
product?: Product;
|
|
4206
|
-
quantity: number;
|
|
4207
|
-
unitPrice: number;
|
|
4208
|
-
totalPrice: number;
|
|
4209
|
-
approvalStatus: ReservationStatusEnum;
|
|
4210
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4211
|
-
level?: ProductPackageLevelEnum;
|
|
4212
|
-
resourceId?: number;
|
|
4213
|
-
resource?: Resource;
|
|
4214
|
-
invoiceId?: number;
|
|
4215
|
-
invoice?: Invoice;
|
|
4216
|
-
productUserId?: number;
|
|
4217
|
-
productUser?: ProductsUsers;
|
|
4218
|
-
previousProductUsersIds?: number[];
|
|
4219
|
-
previousProductUsers?: ProductsUsers[];
|
|
4220
|
-
}
|
|
4221
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4222
|
-
deletedAt?: Date;
|
|
4223
|
-
reservationId: number;
|
|
4224
|
-
invoiceId: number;
|
|
4225
|
-
slotId: number;
|
|
4226
|
-
}
|
|
4227
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4228
|
-
name?: string;
|
|
4229
|
-
description?: string;
|
|
4230
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4231
|
-
privacySetting?: string;
|
|
4232
|
-
reservationType?: ReservationTypeEnum;
|
|
4233
|
-
invoiceId?: string;
|
|
4234
|
-
customerId?: number;
|
|
4235
|
-
customer?: Customer;
|
|
4236
|
-
price?: number;
|
|
4237
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4238
|
-
startTime?: string;
|
|
4239
|
-
startDate?: Date;
|
|
4240
|
-
endDate?: Date;
|
|
4241
|
-
creatorId?: number;
|
|
4242
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4243
|
-
userCreatorId?: number;
|
|
4244
|
-
sportType?: number;
|
|
4245
|
-
deletedAt?: Date;
|
|
4246
|
-
publicNotes?: string;
|
|
4247
|
-
privateNotes?: string;
|
|
4248
|
-
forms?: number[] | null;
|
|
4249
|
-
answerTitleIds?: number[] | null;
|
|
4250
|
-
segments?: Segment[];
|
|
4251
|
-
migrationStatus?: string;
|
|
4252
|
-
addons: Addon[];
|
|
4253
|
-
overrideProductsPrice: {
|
|
4254
|
-
productId: number;
|
|
4255
|
-
price: number;
|
|
4256
|
-
}[];
|
|
4257
|
-
targetGlobalPrice?: number;
|
|
4258
|
-
slots: Slot[];
|
|
4259
|
-
}
|
|
4260
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4261
|
-
deletedAt?: Date;
|
|
4262
|
-
reservationId: number;
|
|
4263
|
-
title: string;
|
|
4264
|
-
isPrivate: boolean;
|
|
4265
|
-
resourceIds?: number[];
|
|
4266
|
-
sportId: number;
|
|
4267
|
-
reservation?: Reservation;
|
|
4268
|
-
series?: Series[];
|
|
4269
|
-
addonIds?: number[] | null;
|
|
4270
|
-
publicNotesForSlots?: string;
|
|
4271
|
-
privateNotesForSlots?: string;
|
|
4272
|
-
slots?: Slot[];
|
|
4273
|
-
}
|
|
4274
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4275
|
-
deletedAt?: Date;
|
|
4276
|
-
segmentId: number;
|
|
4277
|
-
segment?: Segment;
|
|
4278
|
-
slots?: Slot[];
|
|
4279
|
-
slotDurationType: string;
|
|
4280
|
-
durationEndsAfter: number;
|
|
4281
|
-
durationUnit: string;
|
|
4282
|
-
startDate?: Date;
|
|
4283
|
-
endDate?: Date;
|
|
4284
|
-
startTime: string;
|
|
4285
|
-
endTime: string;
|
|
4286
|
-
frequency: string;
|
|
4287
|
-
repeatEvery: number;
|
|
4109
|
+
}
|
|
4110
|
+
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4111
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4112
|
+
}
|
|
4113
|
+
export declare class EditReservationDetailsDto {
|
|
4114
|
+
name: string;
|
|
4115
|
+
publicNotes?: string;
|
|
4116
|
+
privateNotes?: string;
|
|
4117
|
+
}
|
|
4118
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4119
|
+
updateAddons?: boolean;
|
|
4120
|
+
}
|
|
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;
|
|
4288
4132
|
repeatOn?: number[];
|
|
4289
|
-
repeatEndDate?:
|
|
4133
|
+
repeatEndDate?: string;
|
|
4290
4134
|
numberOccurrences?: number;
|
|
4291
|
-
|
|
4135
|
+
maintenance?: MaintenanceDto[];
|
|
4136
|
+
slots?: SlotDto[];
|
|
4292
4137
|
}
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
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;
|
|
4305
4157
|
startTime: string;
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
parent?: Slot;
|
|
4327
|
-
children?: Slot[];
|
|
4328
|
-
maintenanceDurationdurationType: string;
|
|
4329
|
-
maintenanceTiming: number;
|
|
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;
|
|
4330
4178
|
durationValue: number;
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
invoiceId?: number;
|
|
4334
|
-
invoice?: Invoice;
|
|
4335
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4336
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4337
|
-
displayName?: string;
|
|
4338
|
-
internalName?: string;
|
|
4339
|
-
activityTypes?: number[] | null;
|
|
4340
|
-
hourlyRate: number;
|
|
4341
|
-
totalPrice: number;
|
|
4342
|
-
isConsumerVisible: boolean;
|
|
4343
|
-
isMonitorVisible: boolean;
|
|
4344
|
-
isPrivate: boolean;
|
|
4345
|
-
occurrence?: number;
|
|
4346
|
-
maintenance?: Slot[];
|
|
4347
|
-
productMetadata: {
|
|
4348
|
-
productId: number;
|
|
4349
|
-
price: number;
|
|
4350
|
-
};
|
|
4351
|
-
slotDurationType: string;
|
|
4352
|
-
previousProductUsersIds?: number[];
|
|
4353
|
-
previousProductUsers?: ProductsUsers[];
|
|
4354
|
-
changeLineItemIds?: number[];
|
|
4355
|
-
changeLineItems?: LineItems[];
|
|
4356
|
-
updatedLineItem?: LineItems;
|
|
4357
|
-
conflictsCount?: number;
|
|
4358
|
-
conflicts?: Slot[];
|
|
4179
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4180
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4359
4181
|
}
|
|
4360
4182
|
export declare type TSlotAndType = {
|
|
4361
|
-
type:
|
|
4183
|
+
type: 'slots' | 'slot_addons';
|
|
4362
4184
|
slotsForProduct: {
|
|
4363
4185
|
[productId: number]: {
|
|
4364
4186
|
product: Product;
|
|
@@ -4367,7 +4189,7 @@ export declare type TSlotAndType = {
|
|
|
4367
4189
|
};
|
|
4368
4190
|
};
|
|
4369
4191
|
export interface ILineItemResource {
|
|
4370
|
-
type:
|
|
4192
|
+
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4371
4193
|
values: TResource[];
|
|
4372
4194
|
}
|
|
4373
4195
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
@@ -4485,6 +4307,9 @@ export interface LineItemPrice {
|
|
|
4485
4307
|
currency: string;
|
|
4486
4308
|
totalPrice: number;
|
|
4487
4309
|
}
|
|
4310
|
+
export interface CalendarCardAddon extends ProductsUsers {
|
|
4311
|
+
price: LineItemPrice;
|
|
4312
|
+
}
|
|
4488
4313
|
export interface CalendarSlotCard extends Slot {
|
|
4489
4314
|
reservation: Reservation & {
|
|
4490
4315
|
resources?: {
|
|
@@ -4492,13 +4317,14 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4492
4317
|
name: string;
|
|
4493
4318
|
}[];
|
|
4494
4319
|
};
|
|
4320
|
+
addons: CalendarCardAddon[];
|
|
4495
4321
|
invoice: Invoice;
|
|
4496
4322
|
price: LineItemPrice;
|
|
4497
4323
|
totalSlotsInSeries?: number;
|
|
4498
4324
|
slotIndexInSeries?: number;
|
|
4499
4325
|
}
|
|
4500
|
-
declare type IPartialInvoice = Pick<Invoice,
|
|
4501
|
-
export declare type IPartialPayment = Pick<Payment,
|
|
4326
|
+
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4327
|
+
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4502
4328
|
export interface IInvoice extends IPartialInvoice {
|
|
4503
4329
|
lineItemsCount: number;
|
|
4504
4330
|
}
|
|
@@ -4589,35 +4415,87 @@ export interface AddonMetadata {
|
|
|
4589
4415
|
totalPrice: number;
|
|
4590
4416
|
product?: Product;
|
|
4591
4417
|
}
|
|
4592
|
-
export declare class
|
|
4593
|
-
|
|
4418
|
+
export declare class SlotDateTimeAndSpace {
|
|
4419
|
+
startDate: string;
|
|
4420
|
+
startTime?: string;
|
|
4421
|
+
endDate?: string;
|
|
4422
|
+
endTime?: string;
|
|
4423
|
+
spaceId: number;
|
|
4594
4424
|
}
|
|
4595
|
-
export declare class
|
|
4596
|
-
|
|
4425
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4426
|
+
id?: number;
|
|
4427
|
+
reservationId?: number;
|
|
4428
|
+
occurrence?: number;
|
|
4429
|
+
title: string;
|
|
4430
|
+
creatorId?: number;
|
|
4431
|
+
creatorType?: string;
|
|
4432
|
+
userCreatorId?: number;
|
|
4433
|
+
timezone?: string;
|
|
4434
|
+
publicNotes?: string;
|
|
4435
|
+
privateNotes?: string;
|
|
4436
|
+
slotType: SlotTypeEnum;
|
|
4437
|
+
product?: Product;
|
|
4438
|
+
priceOverrideMeta?: {
|
|
4439
|
+
unitPrice: number;
|
|
4440
|
+
quantity: number;
|
|
4441
|
+
totalPrice: number;
|
|
4442
|
+
};
|
|
4443
|
+
addonPriceOverrideMeta?: {
|
|
4444
|
+
[addonProductId: number]: {
|
|
4445
|
+
unitPrice: number;
|
|
4446
|
+
quantity: number;
|
|
4447
|
+
totalPrice: number;
|
|
4448
|
+
};
|
|
4449
|
+
};
|
|
4450
|
+
addonProducts?: Product[];
|
|
4451
|
+
addonCalculatedPrice?: {
|
|
4452
|
+
productId: number;
|
|
4453
|
+
quantity: number;
|
|
4454
|
+
unitPrice: number;
|
|
4455
|
+
totalPrice: number;
|
|
4456
|
+
displayTotalWithTax?: number;
|
|
4457
|
+
displayUnitTax?: number;
|
|
4458
|
+
}[];
|
|
4459
|
+
addonsProductUserIds?: number[];
|
|
4460
|
+
segmentId?: number;
|
|
4461
|
+
seriesId?: number;
|
|
4462
|
+
eventId?: number;
|
|
4463
|
+
sportIds: number[];
|
|
4464
|
+
parentSlotId?: number;
|
|
4465
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4466
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4467
|
+
durationValue?: number;
|
|
4468
|
+
invoicId?: number;
|
|
4469
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4470
|
+
approvalStatus: ReservationStatusEnum;
|
|
4471
|
+
displayName?: string;
|
|
4472
|
+
internalName?: string;
|
|
4473
|
+
totalPrice?: number;
|
|
4474
|
+
relevantProducts?: Product[];
|
|
4475
|
+
maintenance?: MaintenanceDto[];
|
|
4476
|
+
maintenanceSlots?: SlotDto[];
|
|
4477
|
+
isPrivate: boolean;
|
|
4478
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4479
|
+
addonsIds?: number[];
|
|
4597
4480
|
}
|
|
4598
|
-
export declare class
|
|
4599
|
-
|
|
4600
|
-
|
|
4481
|
+
export declare class TimeSlotDto {
|
|
4482
|
+
id?: number;
|
|
4483
|
+
resourceId: number;
|
|
4484
|
+
startDate: string;
|
|
4485
|
+
startTime: string;
|
|
4486
|
+
endDate: string;
|
|
4487
|
+
endTime: string;
|
|
4488
|
+
parentSlotId?: number;
|
|
4601
4489
|
}
|
|
4602
|
-
export declare class
|
|
4603
|
-
|
|
4604
|
-
deletedAt?: Date;
|
|
4605
|
-
permissions: Permission[];
|
|
4606
|
-
usersRoles: UserRole[];
|
|
4490
|
+
export declare class TimeSlotsDto {
|
|
4491
|
+
timeSlots: TimeSlotDto[];
|
|
4607
4492
|
}
|
|
4608
|
-
export declare class
|
|
4609
|
-
|
|
4610
|
-
userId: number;
|
|
4611
|
-
roleId: number;
|
|
4612
|
-
role: Role;
|
|
4613
|
-
user: User;
|
|
4493
|
+
export declare class SlotsIdsDto {
|
|
4494
|
+
slotsIds: number[];
|
|
4614
4495
|
}
|
|
4615
4496
|
export declare class CloseShiftDto {
|
|
4616
4497
|
closingCashAmount: number;
|
|
4617
4498
|
}
|
|
4618
|
-
export declare class FindShiftsByIdsDto {
|
|
4619
|
-
shiftIds: number[];
|
|
4620
|
-
}
|
|
4621
4499
|
export declare class FindShiftsFiltersDto {
|
|
4622
4500
|
statuses?: string;
|
|
4623
4501
|
stationIds?: string;
|
|
@@ -4638,16 +4516,12 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4638
4516
|
startDate?: Date;
|
|
4639
4517
|
endDate?: Date;
|
|
4640
4518
|
}
|
|
4641
|
-
export declare class
|
|
4642
|
-
|
|
4643
|
-
managementClosingCashAmount: number;
|
|
4644
|
-
}
|
|
4645
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4646
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4519
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4520
|
+
mainAdminUserId?: number;
|
|
4647
4521
|
}
|
|
4648
|
-
export declare class
|
|
4649
|
-
|
|
4650
|
-
|
|
4522
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
4523
|
+
organisationId: number | null;
|
|
4524
|
+
userId: number | null;
|
|
4651
4525
|
}
|
|
4652
4526
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4653
4527
|
stationId: number;
|
|
@@ -4678,16 +4552,17 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4678
4552
|
closingManager?: User;
|
|
4679
4553
|
reconcilingUser?: User;
|
|
4680
4554
|
}
|
|
4681
|
-
export
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4555
|
+
export declare class OpenShiftDto {
|
|
4556
|
+
openingCashAmount: number;
|
|
4557
|
+
stationId: number;
|
|
4558
|
+
}
|
|
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[];
|
|
4693
4568
|
}
|