@bondsports/types 0.0.50 → 0.0.51
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 +500 -500
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,17 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
12
|
export declare class FindBookingTypeSettingDto {
|
|
24
13
|
organizationId: number;
|
|
25
14
|
facilityId: number;
|
|
@@ -229,28 +218,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
218
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
219
|
nameSearch?: string;
|
|
231
220
|
}
|
|
232
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
233
|
-
organizationId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class GetGlCodeDto {
|
|
236
|
-
id: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
code: string;
|
|
239
|
-
createdAt: Date;
|
|
240
|
-
updatedAt: Date;
|
|
241
|
-
}
|
|
242
|
-
export declare class FindOneParams {
|
|
243
|
-
id: number;
|
|
244
|
-
}
|
|
245
|
-
export declare class PaginationQuery {
|
|
246
|
-
page: number;
|
|
247
|
-
itemsPerPage: number;
|
|
248
|
-
}
|
|
249
|
-
export declare class PaginationRangeQuery {
|
|
250
|
-
startPage: number;
|
|
251
|
-
endPage: number;
|
|
252
|
-
itemsPerPage: number;
|
|
253
|
-
}
|
|
254
221
|
export declare class FindFamilyAccountsDto {
|
|
255
222
|
userId: number;
|
|
256
223
|
}
|
|
@@ -283,6 +250,39 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
283
250
|
userId: number;
|
|
284
251
|
familyAccountId: number;
|
|
285
252
|
}
|
|
253
|
+
export declare class FindOneParams {
|
|
254
|
+
id: number;
|
|
255
|
+
}
|
|
256
|
+
export declare class PaginationQuery {
|
|
257
|
+
page: number;
|
|
258
|
+
itemsPerPage: number;
|
|
259
|
+
}
|
|
260
|
+
export declare class PaginationRangeQuery {
|
|
261
|
+
startPage: number;
|
|
262
|
+
endPage: number;
|
|
263
|
+
itemsPerPage: number;
|
|
264
|
+
}
|
|
265
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
266
|
+
organizationId: number;
|
|
267
|
+
}
|
|
268
|
+
export declare class GetGlCodeDto {
|
|
269
|
+
id: number;
|
|
270
|
+
organizationId: number;
|
|
271
|
+
code: string;
|
|
272
|
+
createdAt: Date;
|
|
273
|
+
updatedAt: Date;
|
|
274
|
+
}
|
|
275
|
+
export declare class QuestionAnswersDto {
|
|
276
|
+
questionId: number;
|
|
277
|
+
value: any;
|
|
278
|
+
}
|
|
279
|
+
export declare class UserAnswersDto {
|
|
280
|
+
userId: number;
|
|
281
|
+
answers: QuestionAnswersDto[];
|
|
282
|
+
}
|
|
283
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
284
|
+
questionnaireIds: string;
|
|
285
|
+
}
|
|
286
286
|
export declare class FindByProgramSeasonIdDto {
|
|
287
287
|
seasonId: number;
|
|
288
288
|
}
|
|
@@ -454,323 +454,103 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
454
454
|
discountValue?: number;
|
|
455
455
|
discountMethod?: DiscountMethodsEnum;
|
|
456
456
|
}
|
|
457
|
-
export declare class
|
|
458
|
-
productId: number;
|
|
459
|
-
}
|
|
460
|
-
export declare class FindPriceOfProductDto {
|
|
461
|
-
id: number;
|
|
462
|
-
userId: number;
|
|
463
|
-
resources: ResourceDto[];
|
|
464
|
-
}
|
|
465
|
-
export declare class FindPricesOfProductsDto {
|
|
466
|
-
products: FindPriceOfProductDto[];
|
|
467
|
-
answers: UserAnswersDto[];
|
|
468
|
-
}
|
|
469
|
-
export declare class FindPackageByResourceDto {
|
|
470
|
-
resourceType: ResourceNameTypeEnum;
|
|
471
|
-
resourceId: number;
|
|
472
|
-
}
|
|
473
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
457
|
+
export declare class CreateUpdateVariantsDto {
|
|
474
458
|
organizationId: number;
|
|
459
|
+
parentProductId: number;
|
|
460
|
+
variantTitles: VariantTitleDto[];
|
|
461
|
+
variants: VariantDto[];
|
|
475
462
|
}
|
|
476
|
-
export declare class
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
463
|
+
export declare class VariantTitleDto {
|
|
464
|
+
titleName: string;
|
|
465
|
+
titleId: number;
|
|
480
466
|
}
|
|
481
|
-
export declare class
|
|
467
|
+
export declare class VariantDto {
|
|
482
468
|
name: string;
|
|
469
|
+
price: number;
|
|
470
|
+
variantId: number;
|
|
471
|
+
currency: CurrencyEnum;
|
|
472
|
+
startDate: Date;
|
|
473
|
+
endDate: Date;
|
|
483
474
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
|
|
486
|
-
organizationId: number;
|
|
487
|
-
name: string;
|
|
488
|
-
quantity?: number;
|
|
489
|
-
isPublic: boolean;
|
|
490
|
-
startDate?: Date;
|
|
491
|
-
endDate?: Date;
|
|
492
|
-
description?: string;
|
|
493
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
-
resourcesIdsToApplyOn?: number[];
|
|
495
|
-
GL?: string;
|
|
496
|
-
prices: CreatePriceDto[];
|
|
497
|
-
downpayment?: number;
|
|
498
|
-
productType: ProductTypesEnum;
|
|
499
|
-
subProductType?: string;
|
|
500
|
-
defaultForResourceId?: number;
|
|
501
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
-
variantTitleIds?: number[];
|
|
504
|
-
variants?: VariantWithPrice[];
|
|
505
|
-
variantParentId?: number;
|
|
506
|
-
isAddon?: boolean;
|
|
507
|
-
isArchive?: boolean;
|
|
508
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
-
isProRated?: boolean;
|
|
510
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
-
isTaxInclusive?: boolean;
|
|
512
|
-
tax?: number;
|
|
513
|
-
sports?: number[];
|
|
514
|
-
durationMinutes?: number;
|
|
515
|
-
durationDays?: number;
|
|
516
|
-
forms?: number[];
|
|
517
|
-
isForAllCustomers?: boolean;
|
|
518
|
-
membershipsAvailableFor?: number[];
|
|
519
|
-
customersAvailableFor?: number[];
|
|
520
|
-
addons?: createRentalProductAddonDto[];
|
|
521
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
475
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
476
|
+
programId: number;
|
|
522
477
|
}
|
|
523
|
-
export declare class
|
|
524
|
-
|
|
525
|
-
|
|
478
|
+
export declare class FindSessionsFiltersDto {
|
|
479
|
+
status?: PublishingStatusEnum;
|
|
480
|
+
isFullFetch?: boolean;
|
|
526
481
|
}
|
|
527
|
-
export declare class
|
|
528
|
-
|
|
529
|
-
price: number;
|
|
530
|
-
currency: CurrencyEnum;
|
|
531
|
-
name: string;
|
|
532
|
-
startDate?: Date;
|
|
533
|
-
endDate?: Date;
|
|
534
|
-
discountValue?: number;
|
|
535
|
-
discountMethod?: DiscountMethodsEnum;
|
|
536
|
-
isDefaultPriceForProduct?: boolean;
|
|
482
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
483
|
+
organizationId: number;
|
|
537
484
|
}
|
|
538
|
-
export declare class
|
|
539
|
-
|
|
540
|
-
productsData?: ProductInPackage[];
|
|
541
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
485
|
+
export declare class DeleteEventAttendeesDto {
|
|
486
|
+
eventAttendeeIds: string;
|
|
542
487
|
}
|
|
543
|
-
export declare class
|
|
544
|
-
|
|
545
|
-
resourceType: ResourceNameTypeEnum;
|
|
546
|
-
isCreateToChildProducts: boolean;
|
|
547
|
-
productsData: ProductInPackage[];
|
|
488
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
489
|
+
includeResources?: boolean;
|
|
548
490
|
}
|
|
549
|
-
export declare class
|
|
550
|
-
|
|
551
|
-
amountInPackage?: number;
|
|
552
|
-
level?: ProductPackageLevelEnum;
|
|
491
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
492
|
+
seasonId: number;
|
|
553
493
|
}
|
|
554
|
-
export declare class
|
|
555
|
-
|
|
556
|
-
id: number;
|
|
557
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
-
level?: ProductPackageLevelEnum;
|
|
494
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
495
|
+
seasonId: number;
|
|
559
496
|
}
|
|
560
|
-
export declare class
|
|
561
|
-
|
|
562
|
-
resourceType: ResourceNameTypeEnum;
|
|
563
|
-
resourceIds: number[];
|
|
497
|
+
export declare class DeleteProductDto {
|
|
498
|
+
deleteProduct?: boolean;
|
|
564
499
|
}
|
|
565
|
-
export declare class
|
|
500
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
566
501
|
userId: number;
|
|
567
|
-
productId: number;
|
|
568
502
|
}
|
|
569
|
-
export declare class
|
|
570
|
-
|
|
571
|
-
|
|
503
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
504
|
+
isFreeAgentsOnly?: boolean;
|
|
505
|
+
isPunchCardUsers?: boolean;
|
|
506
|
+
nameEmailSearch?: string;
|
|
572
507
|
}
|
|
573
|
-
export declare class
|
|
574
|
-
|
|
575
|
-
|
|
508
|
+
export declare class BaseProgramSeasonDto {
|
|
509
|
+
programId: number;
|
|
510
|
+
name: string;
|
|
511
|
+
status: PublishingStatusEnum;
|
|
512
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
513
|
+
startDate: Date;
|
|
514
|
+
endDate: Date;
|
|
515
|
+
description?: string;
|
|
516
|
+
GL?: string;
|
|
517
|
+
parentSeasonId?: number;
|
|
518
|
+
questionnaires?: number[];
|
|
519
|
+
maxParticipants?: number;
|
|
520
|
+
maxMaleParticipants?: number;
|
|
521
|
+
maxFemaleParticipants?: number;
|
|
522
|
+
maxWaitlist?: number;
|
|
523
|
+
maxMaleWaitlist?: number;
|
|
524
|
+
maxFemaleWaitlist?: number;
|
|
525
|
+
facilityId?: number;
|
|
526
|
+
addressId?: number;
|
|
527
|
+
blockedDated?: blockedDatesDto[];
|
|
528
|
+
activityTimes: ActivityTimesDto[];
|
|
529
|
+
longDescription?: string;
|
|
530
|
+
isPunchCard?: boolean;
|
|
531
|
+
organizationId: number;
|
|
532
|
+
sport: SportsEnum;
|
|
533
|
+
minAge: string;
|
|
534
|
+
maxAge: string;
|
|
535
|
+
gender: GenderEnum;
|
|
536
|
+
level?: LevelOfPlayEnum[];
|
|
537
|
+
requiredProductIds?: number[];
|
|
576
538
|
}
|
|
577
|
-
export declare class
|
|
578
|
-
|
|
579
|
-
includePrices?: boolean;
|
|
580
|
-
productType?: ProductTypesEnum;
|
|
581
|
-
includeAddons?: string;
|
|
539
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
540
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
582
541
|
}
|
|
583
|
-
export declare class
|
|
584
|
-
|
|
542
|
+
export declare class CreateSessionScheduleDto {
|
|
543
|
+
startDate: Date;
|
|
544
|
+
endDate: Date;
|
|
545
|
+
activityTimes: ActivityTimesDto[];
|
|
546
|
+
blockedDated?: blockedDatesDto[];
|
|
547
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
585
548
|
}
|
|
586
|
-
export declare class
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
includePrices?: boolean;
|
|
592
|
-
productType?: string;
|
|
593
|
-
productSubType?: string;
|
|
594
|
-
search?: string;
|
|
595
|
-
includeAddons?: boolean;
|
|
596
|
-
includeArchived?: boolean;
|
|
597
|
-
includeAllData?: boolean;
|
|
598
|
-
resourceIds?: string;
|
|
599
|
-
sports?: string;
|
|
600
|
-
}
|
|
601
|
-
export declare class GetAllVariantTitlesDto {
|
|
602
|
-
organizationId: number;
|
|
603
|
-
}
|
|
604
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
605
|
-
organizationId: number;
|
|
606
|
-
}
|
|
607
|
-
export declare class CreateVariantTitleDto {
|
|
608
|
-
organizationId: number;
|
|
609
|
-
title: string;
|
|
610
|
-
variants: string[];
|
|
611
|
-
}
|
|
612
|
-
export declare class UpdateVariantTitleDto {
|
|
613
|
-
organizationId: number;
|
|
614
|
-
titleId: number;
|
|
615
|
-
title: string;
|
|
616
|
-
variants: string[];
|
|
617
|
-
}
|
|
618
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
-
customerId: number;
|
|
620
|
-
}
|
|
621
|
-
export declare class GetExtraProductDataDto {
|
|
622
|
-
isPublic?: boolean;
|
|
623
|
-
isGetByChildResources?: boolean;
|
|
624
|
-
isGetEntitlePricing?: boolean;
|
|
625
|
-
isGetAddOns?: boolean;
|
|
626
|
-
includeResources?: boolean;
|
|
627
|
-
includeArchived?: boolean;
|
|
628
|
-
}
|
|
629
|
-
export declare class GetBySessionType {
|
|
630
|
-
sessionType: 'event' | 'segment';
|
|
631
|
-
}
|
|
632
|
-
export declare class CreateSubcategoryDto {
|
|
633
|
-
productType: ProductTypesEnum;
|
|
634
|
-
name: string;
|
|
635
|
-
stationId?: number;
|
|
636
|
-
ordinal?: number;
|
|
637
|
-
}
|
|
638
|
-
export declare class CreateSubcategoriesDto {
|
|
639
|
-
subcategories: CreateSubcategoryDto[];
|
|
640
|
-
}
|
|
641
|
-
export declare class UpdateSubcategoryDto {
|
|
642
|
-
id: number;
|
|
643
|
-
productType?: ProductTypesEnum;
|
|
644
|
-
name?: string;
|
|
645
|
-
stationId?: number;
|
|
646
|
-
ordinal?: number;
|
|
647
|
-
}
|
|
648
|
-
export declare class GetSubcategoryDto {
|
|
649
|
-
stationId?: number;
|
|
650
|
-
}
|
|
651
|
-
export declare class SetStationSubcategoriesDto {
|
|
652
|
-
stationId: number;
|
|
653
|
-
subcategoryIds?: number[];
|
|
654
|
-
categories?: string[];
|
|
655
|
-
}
|
|
656
|
-
export declare class createRentalProductAddonDto {
|
|
657
|
-
productId: number;
|
|
658
|
-
price: number;
|
|
659
|
-
isFlatPrice: boolean;
|
|
660
|
-
isMandatory: boolean;
|
|
661
|
-
level: ProductPackageLevelEnum;
|
|
662
|
-
}
|
|
663
|
-
export declare class createProductAvailabilityTimesDto {
|
|
664
|
-
availabilityStartDate?: string;
|
|
665
|
-
availabilityEndDate?: string;
|
|
666
|
-
daysOfWeek: number[];
|
|
667
|
-
startTime: string;
|
|
668
|
-
endTime: string;
|
|
669
|
-
}
|
|
670
|
-
export declare class createResourceDto {
|
|
671
|
-
resourceId: number;
|
|
672
|
-
resourceType: ResourceNameTypeEnum;
|
|
673
|
-
}
|
|
674
|
-
export declare class archiveDto {
|
|
675
|
-
isArchive: boolean;
|
|
676
|
-
}
|
|
677
|
-
export declare class CreateUpdateVariantsDto {
|
|
678
|
-
organizationId: number;
|
|
679
|
-
parentProductId: number;
|
|
680
|
-
variantTitles: VariantTitleDto[];
|
|
681
|
-
variants: VariantDto[];
|
|
682
|
-
}
|
|
683
|
-
export declare class VariantTitleDto {
|
|
684
|
-
titleName: string;
|
|
685
|
-
titleId: number;
|
|
686
|
-
}
|
|
687
|
-
export declare class VariantDto {
|
|
688
|
-
name: string;
|
|
689
|
-
price: number;
|
|
690
|
-
variantId: number;
|
|
691
|
-
currency: CurrencyEnum;
|
|
692
|
-
startDate: Date;
|
|
693
|
-
endDate: Date;
|
|
694
|
-
}
|
|
695
|
-
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
|
-
programId: number;
|
|
697
|
-
}
|
|
698
|
-
export declare class FindSessionsFiltersDto {
|
|
699
|
-
status?: PublishingStatusEnum;
|
|
700
|
-
isFullFetch?: boolean;
|
|
701
|
-
}
|
|
702
|
-
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
703
|
-
organizationId: number;
|
|
704
|
-
}
|
|
705
|
-
export declare class DeleteEventAttendeesDto {
|
|
706
|
-
eventAttendeeIds: string;
|
|
707
|
-
}
|
|
708
|
-
export declare class FindProgramSeasonByIdQueryDto {
|
|
709
|
-
includeResources?: boolean;
|
|
710
|
-
}
|
|
711
|
-
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
|
-
seasonId: number;
|
|
713
|
-
}
|
|
714
|
-
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
|
-
seasonId: number;
|
|
716
|
-
}
|
|
717
|
-
export declare class DeleteProductDto {
|
|
718
|
-
deleteProduct?: boolean;
|
|
719
|
-
}
|
|
720
|
-
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
721
|
-
userId: number;
|
|
722
|
-
}
|
|
723
|
-
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
724
|
-
isFreeAgentsOnly?: boolean;
|
|
725
|
-
isPunchCardUsers?: boolean;
|
|
726
|
-
nameEmailSearch?: string;
|
|
727
|
-
}
|
|
728
|
-
export declare class BaseProgramSeasonDto {
|
|
729
|
-
programId: number;
|
|
730
|
-
name: string;
|
|
731
|
-
status: PublishingStatusEnum;
|
|
732
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
733
|
-
startDate: Date;
|
|
734
|
-
endDate: Date;
|
|
735
|
-
description?: string;
|
|
736
|
-
GL?: string;
|
|
737
|
-
parentSeasonId?: number;
|
|
738
|
-
questionnaires?: number[];
|
|
739
|
-
maxParticipants?: number;
|
|
740
|
-
maxMaleParticipants?: number;
|
|
741
|
-
maxFemaleParticipants?: number;
|
|
742
|
-
maxWaitlist?: number;
|
|
743
|
-
maxMaleWaitlist?: number;
|
|
744
|
-
maxFemaleWaitlist?: number;
|
|
745
|
-
facilityId?: number;
|
|
746
|
-
addressId?: number;
|
|
747
|
-
blockedDated?: blockedDatesDto[];
|
|
748
|
-
activityTimes: ActivityTimesDto[];
|
|
749
|
-
longDescription?: string;
|
|
750
|
-
isPunchCard?: boolean;
|
|
751
|
-
organizationId: number;
|
|
752
|
-
sport: SportsEnum;
|
|
753
|
-
minAge: string;
|
|
754
|
-
maxAge: string;
|
|
755
|
-
gender: GenderEnum;
|
|
756
|
-
level?: LevelOfPlayEnum[];
|
|
757
|
-
requiredProductIds?: number[];
|
|
758
|
-
}
|
|
759
|
-
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
760
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
761
|
-
}
|
|
762
|
-
export declare class CreateSessionScheduleDto {
|
|
763
|
-
startDate: Date;
|
|
764
|
-
endDate: Date;
|
|
765
|
-
activityTimes: ActivityTimesDto[];
|
|
766
|
-
blockedDated?: blockedDatesDto[];
|
|
767
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
768
|
-
}
|
|
769
|
-
export declare class SubSeasonBasicInfo {
|
|
770
|
-
name: string;
|
|
771
|
-
startDate: Date;
|
|
772
|
-
endDate: Date;
|
|
773
|
-
activityTimes?: ActivityTimesDto[];
|
|
549
|
+
export declare class SubSeasonBasicInfo {
|
|
550
|
+
name: string;
|
|
551
|
+
startDate: Date;
|
|
552
|
+
endDate: Date;
|
|
553
|
+
activityTimes?: ActivityTimesDto[];
|
|
774
554
|
}
|
|
775
555
|
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
776
556
|
seasonId: number;
|
|
@@ -920,6 +700,18 @@ export declare class ProgramHighlightDto {
|
|
|
920
700
|
type: ProgramHighlightTypeEnum;
|
|
921
701
|
title: string;
|
|
922
702
|
}
|
|
703
|
+
export declare class CreateResourceGroupDto {
|
|
704
|
+
name: string;
|
|
705
|
+
parentSlotId: number;
|
|
706
|
+
facilityId: number;
|
|
707
|
+
childrenSlotIds: number[];
|
|
708
|
+
}
|
|
709
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
710
|
+
}
|
|
711
|
+
export declare class ResourceDto {
|
|
712
|
+
type: ResourceNameTypeEnum;
|
|
713
|
+
id: number;
|
|
714
|
+
}
|
|
923
715
|
export declare class PurchasePaymentDto {
|
|
924
716
|
token: string;
|
|
925
717
|
type: PaymentMethodTypeEnum;
|
|
@@ -990,17 +782,47 @@ export declare class PartialPaymentAsUserDto {
|
|
|
990
782
|
amountToPay: any;
|
|
991
783
|
paymentMethodData: any;
|
|
992
784
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
parentSlotId: number;
|
|
996
|
-
facilityId: number;
|
|
997
|
-
childrenSlotIds: number[];
|
|
785
|
+
export declare class StripeCustomerIdDto {
|
|
786
|
+
userId: number;
|
|
998
787
|
}
|
|
999
|
-
export declare class
|
|
788
|
+
export declare class AddACHTokenToCustomerDto {
|
|
789
|
+
publicToken: string;
|
|
790
|
+
accountId: string;
|
|
1000
791
|
}
|
|
1001
|
-
export declare class
|
|
1002
|
-
|
|
1003
|
-
|
|
792
|
+
export declare class FindByUserIdDto {
|
|
793
|
+
userId: number;
|
|
794
|
+
}
|
|
795
|
+
export declare class FindByFamilyAccountIdDto {
|
|
796
|
+
familyAccountId?: number;
|
|
797
|
+
}
|
|
798
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
799
|
+
organizationId: number;
|
|
800
|
+
}
|
|
801
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
802
|
+
entityType: ResourceNameTypeEnum;
|
|
803
|
+
entityId: number;
|
|
804
|
+
organizationId?: number;
|
|
805
|
+
userId?: number;
|
|
806
|
+
customerId?: number;
|
|
807
|
+
performingUserId: number;
|
|
808
|
+
description: string;
|
|
809
|
+
actionType: ActionTypesEnum;
|
|
810
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
811
|
+
oldValue?: any;
|
|
812
|
+
newValue?: any;
|
|
813
|
+
}
|
|
814
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
815
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
816
|
+
parentId: number;
|
|
817
|
+
dayOfWeek: number;
|
|
818
|
+
open: string;
|
|
819
|
+
close: string;
|
|
820
|
+
deletedAt?: Date;
|
|
821
|
+
program: ProgramSeason;
|
|
822
|
+
availabilityStartDate: string;
|
|
823
|
+
availabilityEndDate: string;
|
|
824
|
+
proudct: Product;
|
|
825
|
+
event: Event;
|
|
1004
826
|
}
|
|
1005
827
|
export declare class SpaceByIdDto {
|
|
1006
828
|
spaceId: number;
|
|
@@ -1058,65 +880,265 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1058
880
|
types?: string;
|
|
1059
881
|
resourcesIds?: string;
|
|
1060
882
|
}
|
|
1061
|
-
export declare class
|
|
883
|
+
export declare class Address extends BondBaseEntity {
|
|
884
|
+
city?: string;
|
|
885
|
+
street?: string;
|
|
886
|
+
streetNum?: string;
|
|
887
|
+
aptNum?: string;
|
|
888
|
+
zip?: string;
|
|
889
|
+
country?: string;
|
|
890
|
+
state?: string;
|
|
891
|
+
geo: any;
|
|
892
|
+
deletedAt?: Date;
|
|
893
|
+
}
|
|
894
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
895
|
+
questionId: number;
|
|
896
|
+
question?: Questions;
|
|
897
|
+
parentId: number;
|
|
898
|
+
parentType: ResourceNameTypeEnum;
|
|
899
|
+
answerValue: any;
|
|
900
|
+
creatorId: number;
|
|
901
|
+
creatorType: ResourceNameTypeEnum;
|
|
902
|
+
answerTitleId: number;
|
|
903
|
+
answerTitle: AnswerTitle;
|
|
904
|
+
metaData: any | null;
|
|
905
|
+
questionText: string | null;
|
|
906
|
+
}
|
|
907
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
908
|
+
questionnaireId: number;
|
|
909
|
+
userId?: number;
|
|
910
|
+
answers: Answer[];
|
|
911
|
+
questionnaire: Questionnaires;
|
|
912
|
+
}
|
|
913
|
+
export declare class Athlete extends BondBaseEntity {
|
|
914
|
+
userId: number | null;
|
|
915
|
+
metadata: object | null;
|
|
916
|
+
athleteSports: AthleteSports[];
|
|
917
|
+
}
|
|
918
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
919
|
+
athleteId: number | null;
|
|
920
|
+
sports: number | null;
|
|
921
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
922
|
+
}
|
|
923
|
+
export declare class FindByProductIdDto {
|
|
924
|
+
productId: number;
|
|
925
|
+
}
|
|
926
|
+
export declare class FindPriceOfProductDto {
|
|
927
|
+
id: number;
|
|
1062
928
|
userId: number;
|
|
929
|
+
resources: ResourceDto[];
|
|
1063
930
|
}
|
|
1064
|
-
export declare class
|
|
1065
|
-
|
|
1066
|
-
|
|
931
|
+
export declare class FindPricesOfProductsDto {
|
|
932
|
+
products: FindPriceOfProductDto[];
|
|
933
|
+
answers: UserAnswersDto[];
|
|
1067
934
|
}
|
|
1068
|
-
export declare class
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
935
|
+
export declare class FindPackageByResourceDto {
|
|
936
|
+
resourceType: ResourceNameTypeEnum;
|
|
937
|
+
resourceId: number;
|
|
938
|
+
}
|
|
939
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
940
|
+
organizationId: number;
|
|
941
|
+
}
|
|
942
|
+
export declare class CreateProductsDto {
|
|
943
|
+
products: CreateProductDto[];
|
|
944
|
+
addOnsData?: ProductInPackage[];
|
|
945
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
946
|
+
}
|
|
947
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
948
|
+
name: string;
|
|
949
|
+
}
|
|
950
|
+
export declare class CreateProductDto {
|
|
951
|
+
id?: number;
|
|
952
|
+
organizationId: number;
|
|
953
|
+
name: string;
|
|
954
|
+
quantity?: number;
|
|
955
|
+
isPublic: boolean;
|
|
956
|
+
startDate?: Date;
|
|
957
|
+
endDate?: Date;
|
|
958
|
+
description?: string;
|
|
959
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
960
|
+
resourcesIdsToApplyOn?: number[];
|
|
961
|
+
GL?: string;
|
|
962
|
+
prices: CreatePriceDto[];
|
|
963
|
+
downpayment?: number;
|
|
964
|
+
productType: ProductTypesEnum;
|
|
965
|
+
subProductType?: string;
|
|
966
|
+
defaultForResourceId?: number;
|
|
967
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
968
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
969
|
+
variantTitleIds?: number[];
|
|
970
|
+
variants?: VariantWithPrice[];
|
|
971
|
+
variantParentId?: number;
|
|
972
|
+
isAddon?: boolean;
|
|
973
|
+
isArchive?: boolean;
|
|
974
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
975
|
+
isProRated?: boolean;
|
|
976
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
977
|
+
isTaxInclusive?: boolean;
|
|
978
|
+
tax?: number;
|
|
979
|
+
sports?: number[];
|
|
980
|
+
durationMinutes?: number;
|
|
981
|
+
durationDays?: number;
|
|
982
|
+
forms?: number[];
|
|
983
|
+
isForAllCustomers?: boolean;
|
|
984
|
+
membershipsAvailableFor?: number[];
|
|
985
|
+
customersAvailableFor?: number[];
|
|
986
|
+
addons?: createRentalProductAddonDto[];
|
|
987
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
988
|
+
}
|
|
989
|
+
export declare class VariantWithPrice {
|
|
990
|
+
variantIds: number[];
|
|
991
|
+
price: CreatePriceDto[];
|
|
992
|
+
}
|
|
993
|
+
export declare class CreatePriceDto {
|
|
994
|
+
id?: number;
|
|
995
|
+
price: number;
|
|
996
|
+
currency: CurrencyEnum;
|
|
997
|
+
name: string;
|
|
998
|
+
startDate?: Date;
|
|
999
|
+
endDate?: Date;
|
|
1000
|
+
discountValue?: number;
|
|
1001
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1002
|
+
isDefaultPriceForProduct?: boolean;
|
|
1003
|
+
}
|
|
1004
|
+
export declare class CreatePackageDto {
|
|
1005
|
+
parentProductId: number;
|
|
1006
|
+
productsData?: ProductInPackage[];
|
|
1007
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
1008
|
+
}
|
|
1009
|
+
export declare class CreatePackageToResourceDto {
|
|
1010
|
+
resourceId: number;
|
|
1011
|
+
resourceType: ResourceNameTypeEnum;
|
|
1012
|
+
isCreateToChildProducts: boolean;
|
|
1013
|
+
productsData: ProductInPackage[];
|
|
1014
|
+
}
|
|
1015
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
1016
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1017
|
+
amountInPackage?: number;
|
|
1018
|
+
level?: ProductPackageLevelEnum;
|
|
1019
|
+
}
|
|
1020
|
+
export declare class ExistingProductToPackageDto {
|
|
1021
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1022
|
+
id: number;
|
|
1023
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1024
|
+
level?: ProductPackageLevelEnum;
|
|
1025
|
+
}
|
|
1026
|
+
export declare class ConnectProductResourceDto {
|
|
1027
|
+
productId: number;
|
|
1028
|
+
resourceType: ResourceNameTypeEnum;
|
|
1029
|
+
resourceIds: number[];
|
|
1030
|
+
}
|
|
1031
|
+
export declare class ReturnRequiredProductsDto {
|
|
1032
|
+
userId: number;
|
|
1033
|
+
productId: number;
|
|
1034
|
+
}
|
|
1035
|
+
export declare class FindByProductUserIdsDto {
|
|
1036
|
+
userId: number;
|
|
1037
|
+
organizationId: number;
|
|
1038
|
+
}
|
|
1039
|
+
export declare class AddRequiredProductsDto {
|
|
1040
|
+
productId: number;
|
|
1041
|
+
requiredProductIds: number[];
|
|
1042
|
+
}
|
|
1043
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
1044
|
+
productIds?: number[];
|
|
1045
|
+
includePrices?: boolean;
|
|
1046
|
+
productType?: ProductTypesEnum;
|
|
1047
|
+
includeAddons?: string;
|
|
1048
|
+
}
|
|
1049
|
+
export declare class GetByOrganizationIdDto {
|
|
1050
|
+
organizationId?: number;
|
|
1051
|
+
}
|
|
1052
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
1053
|
+
orderId?: number;
|
|
1054
|
+
}
|
|
1055
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
1056
|
+
productIds?: string;
|
|
1057
|
+
includePrices?: boolean;
|
|
1058
|
+
productType?: string;
|
|
1059
|
+
productSubType?: string;
|
|
1060
|
+
search?: string;
|
|
1061
|
+
includeAddons?: boolean;
|
|
1062
|
+
includeArchived?: boolean;
|
|
1063
|
+
includeAllData?: boolean;
|
|
1064
|
+
resourceIds?: string;
|
|
1065
|
+
sports?: string;
|
|
1066
|
+
}
|
|
1067
|
+
export declare class GetAllVariantTitlesDto {
|
|
1068
|
+
organizationId: number;
|
|
1069
|
+
}
|
|
1070
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
1071
|
+
organizationId: number;
|
|
1072
|
+
}
|
|
1073
|
+
export declare class CreateVariantTitleDto {
|
|
1074
|
+
organizationId: number;
|
|
1075
|
+
title: string;
|
|
1076
|
+
variants: string[];
|
|
1077
|
+
}
|
|
1078
|
+
export declare class UpdateVariantTitleDto {
|
|
1079
|
+
organizationId: number;
|
|
1080
|
+
titleId: number;
|
|
1081
|
+
title: string;
|
|
1082
|
+
variants: string[];
|
|
1083
|
+
}
|
|
1084
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1085
|
+
customerId: number;
|
|
1086
|
+
}
|
|
1087
|
+
export declare class GetExtraProductDataDto {
|
|
1088
|
+
isPublic?: boolean;
|
|
1089
|
+
isGetByChildResources?: boolean;
|
|
1090
|
+
isGetEntitlePricing?: boolean;
|
|
1091
|
+
isGetAddOns?: boolean;
|
|
1092
|
+
includeResources?: boolean;
|
|
1093
|
+
includeArchived?: boolean;
|
|
1094
|
+
}
|
|
1095
|
+
export declare class GetBySessionType {
|
|
1096
|
+
sessionType: 'event' | 'segment';
|
|
1097
|
+
}
|
|
1098
|
+
export declare class CreateSubcategoryDto {
|
|
1099
|
+
productType: ProductTypesEnum;
|
|
1100
|
+
name: string;
|
|
1101
|
+
stationId?: number;
|
|
1102
|
+
ordinal?: number;
|
|
1103
|
+
}
|
|
1104
|
+
export declare class CreateSubcategoriesDto {
|
|
1105
|
+
subcategories: CreateSubcategoryDto[];
|
|
1106
|
+
}
|
|
1107
|
+
export declare class UpdateSubcategoryDto {
|
|
1108
|
+
id: number;
|
|
1109
|
+
productType?: ProductTypesEnum;
|
|
1110
|
+
name?: string;
|
|
1111
|
+
stationId?: number;
|
|
1112
|
+
ordinal?: number;
|
|
1080
1113
|
}
|
|
1081
|
-
export declare class
|
|
1082
|
-
|
|
1083
|
-
question?: Questions;
|
|
1084
|
-
parentId: number;
|
|
1085
|
-
parentType: ResourceNameTypeEnum;
|
|
1086
|
-
answerValue: any;
|
|
1087
|
-
creatorId: number;
|
|
1088
|
-
creatorType: ResourceNameTypeEnum;
|
|
1089
|
-
answerTitleId: number;
|
|
1090
|
-
answerTitle: AnswerTitle;
|
|
1091
|
-
metaData: any | null;
|
|
1092
|
-
questionText: string | null;
|
|
1114
|
+
export declare class GetSubcategoryDto {
|
|
1115
|
+
stationId?: number;
|
|
1093
1116
|
}
|
|
1094
|
-
export declare class
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
aptNum?: string;
|
|
1099
|
-
zip?: string;
|
|
1100
|
-
country?: string;
|
|
1101
|
-
state?: string;
|
|
1102
|
-
geo: any;
|
|
1103
|
-
deletedAt?: Date;
|
|
1117
|
+
export declare class SetStationSubcategoriesDto {
|
|
1118
|
+
stationId: number;
|
|
1119
|
+
subcategoryIds?: number[];
|
|
1120
|
+
categories?: string[];
|
|
1104
1121
|
}
|
|
1105
|
-
export declare class
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1122
|
+
export declare class createRentalProductAddonDto {
|
|
1123
|
+
productId: number;
|
|
1124
|
+
price: number;
|
|
1125
|
+
isFlatPrice: boolean;
|
|
1126
|
+
isMandatory: boolean;
|
|
1127
|
+
level: ProductPackageLevelEnum;
|
|
1110
1128
|
}
|
|
1111
|
-
export declare class
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1129
|
+
export declare class createProductAvailabilityTimesDto {
|
|
1130
|
+
availabilityStartDate?: string;
|
|
1131
|
+
availabilityEndDate?: string;
|
|
1132
|
+
daysOfWeek: number[];
|
|
1133
|
+
startTime: string;
|
|
1134
|
+
endTime: string;
|
|
1115
1135
|
}
|
|
1116
|
-
export declare class
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1136
|
+
export declare class createResourceDto {
|
|
1137
|
+
resourceId: number;
|
|
1138
|
+
resourceType: ResourceNameTypeEnum;
|
|
1139
|
+
}
|
|
1140
|
+
export declare class archiveDto {
|
|
1141
|
+
isArchive: boolean;
|
|
1120
1142
|
}
|
|
1121
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1122
1144
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1224,6 +1246,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1224
1246
|
order: Order;
|
|
1225
1247
|
invoice: Invoice;
|
|
1226
1248
|
}
|
|
1249
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
+
customerId?: number;
|
|
1251
|
+
description: string;
|
|
1252
|
+
pinToTop?: boolean;
|
|
1253
|
+
customer: Customer;
|
|
1254
|
+
}
|
|
1227
1255
|
export declare class Division extends BondBaseEntity {
|
|
1228
1256
|
name: string;
|
|
1229
1257
|
ordinal?: number;
|
|
@@ -1238,12 +1266,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1238
1266
|
phoneNumber: string | null;
|
|
1239
1267
|
customer: Customer;
|
|
1240
1268
|
}
|
|
1241
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1242
|
-
customerId?: number;
|
|
1243
|
-
description: string;
|
|
1244
|
-
pinToTop?: boolean;
|
|
1245
|
-
customer: Customer;
|
|
1246
|
-
}
|
|
1247
1269
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1248
1270
|
name: string | null;
|
|
1249
1271
|
}
|
|
@@ -1251,6 +1273,21 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1251
1273
|
groupId: number;
|
|
1252
1274
|
terms: IEntitlementTerms[];
|
|
1253
1275
|
}
|
|
1276
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
|
+
status: RequestStatusEnum | null;
|
|
1278
|
+
hasPaid: boolean | null;
|
|
1279
|
+
paymentId: number | null;
|
|
1280
|
+
attendeeId: number;
|
|
1281
|
+
eventId?: number | null;
|
|
1282
|
+
productUserId?: number;
|
|
1283
|
+
answerTitleIds?: number[];
|
|
1284
|
+
entryStatus?: EntryStatusEnum;
|
|
1285
|
+
addonProductUserIds?: number[];
|
|
1286
|
+
deletedAt?: Date;
|
|
1287
|
+
attendee: User;
|
|
1288
|
+
event: Event;
|
|
1289
|
+
purchasedResource: PurchasedResource;
|
|
1290
|
+
}
|
|
1254
1291
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1255
1292
|
constructor();
|
|
1256
1293
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1330,21 +1367,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1330
1367
|
programSeasons: ProgramSeason[];
|
|
1331
1368
|
linkSEO: string;
|
|
1332
1369
|
}
|
|
1333
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1334
|
-
status: RequestStatusEnum | null;
|
|
1335
|
-
hasPaid: boolean | null;
|
|
1336
|
-
paymentId: number | null;
|
|
1337
|
-
attendeeId: number;
|
|
1338
|
-
eventId?: number | null;
|
|
1339
|
-
productUserId?: number;
|
|
1340
|
-
answerTitleIds?: number[];
|
|
1341
|
-
entryStatus?: EntryStatusEnum;
|
|
1342
|
-
addonProductUserIds?: number[];
|
|
1343
|
-
deletedAt?: Date;
|
|
1344
|
-
attendee: User;
|
|
1345
|
-
event: Event;
|
|
1346
|
-
purchasedResource: PurchasedResource;
|
|
1347
|
-
}
|
|
1348
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1349
1371
|
facilityId: number;
|
|
1350
1372
|
resourceId: number;
|
|
@@ -1395,6 +1417,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1395
1417
|
discountMethod?: DiscountMethodsEnum;
|
|
1396
1418
|
discountValue?: number;
|
|
1397
1419
|
}
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1424
|
+
}
|
|
1398
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1399
1426
|
price: number;
|
|
1400
1427
|
paymentProcessorId: string;
|
|
@@ -1422,11 +1449,6 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1422
1449
|
refundReasonId?: number;
|
|
1423
1450
|
refundNote?: string;
|
|
1424
1451
|
}
|
|
1425
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1426
|
-
groupId: number;
|
|
1427
|
-
divisionId: number;
|
|
1428
|
-
deletedAt?: Date;
|
|
1429
|
-
}
|
|
1430
1452
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1431
1453
|
email: string;
|
|
1432
1454
|
status: EEmailStatus;
|
|
@@ -1671,15 +1693,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1671
1693
|
resourceId: number | null;
|
|
1672
1694
|
resourceType: string | null;
|
|
1673
1695
|
}
|
|
1674
|
-
export declare class FindByUserIdDto {
|
|
1675
|
-
userId: number;
|
|
1676
|
-
}
|
|
1677
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1678
|
-
familyAccountId?: number;
|
|
1679
|
-
}
|
|
1680
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1681
|
-
organizationId: number;
|
|
1682
|
-
}
|
|
1683
1696
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1684
1697
|
id: number;
|
|
1685
1698
|
dayOfWeek: number;
|
|
@@ -2039,11 +2052,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2039
2052
|
ownerId: number | null;
|
|
2040
2053
|
questionnaireId: number | null;
|
|
2041
2054
|
}
|
|
2042
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2043
|
-
reason: string;
|
|
2044
|
-
ordinal: number;
|
|
2045
|
-
deletedAt: Date;
|
|
2046
|
-
}
|
|
2047
2055
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2048
2056
|
resourceType: ResourceNameTypeEnum;
|
|
2049
2057
|
resourceId: number;
|
|
@@ -2055,6 +2063,11 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2055
2063
|
closeTime?: string;
|
|
2056
2064
|
deletedAt?: Date;
|
|
2057
2065
|
}
|
|
2066
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2067
|
+
reason: string;
|
|
2068
|
+
ordinal: number;
|
|
2069
|
+
deletedAt: Date;
|
|
2070
|
+
}
|
|
2058
2071
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2059
2072
|
name?: string;
|
|
2060
2073
|
description?: string;
|
|
@@ -3219,19 +3232,6 @@ export interface IReservationCreatorData {
|
|
|
3219
3232
|
endDate: string;
|
|
3220
3233
|
sportId: number;
|
|
3221
3234
|
}
|
|
3222
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
3223
|
-
entityType: ResourceNameTypeEnum;
|
|
3224
|
-
entityId: number;
|
|
3225
|
-
organizationId?: number;
|
|
3226
|
-
userId?: number;
|
|
3227
|
-
customerId?: number;
|
|
3228
|
-
performingUserId: number;
|
|
3229
|
-
description: string;
|
|
3230
|
-
actionType: ActionTypesEnum;
|
|
3231
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
3232
|
-
oldValue?: any;
|
|
3233
|
-
newValue?: any;
|
|
3234
|
-
}
|
|
3235
3235
|
export declare class ColumnNumericTransformer {
|
|
3236
3236
|
to(data: number): number;
|
|
3237
3237
|
from(data: string): number;
|
|
@@ -3472,6 +3472,38 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3472
3472
|
organisationId: number | null;
|
|
3473
3473
|
userId: number | null;
|
|
3474
3474
|
}
|
|
3475
|
+
export declare class RefundDto {
|
|
3476
|
+
orderId: number;
|
|
3477
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3478
|
+
refundLineItemAmountDict?: {
|
|
3479
|
+
[id: number]: number;
|
|
3480
|
+
};
|
|
3481
|
+
refunds: PaymentMethodDto[];
|
|
3482
|
+
refundType: RefundTypeEnum;
|
|
3483
|
+
reasonId: number;
|
|
3484
|
+
note?: string;
|
|
3485
|
+
shiftId?: number;
|
|
3486
|
+
meta?: RevertMetaDto;
|
|
3487
|
+
}
|
|
3488
|
+
export declare class PaymentMethodDto {
|
|
3489
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3490
|
+
amount: number;
|
|
3491
|
+
paymentMethodId?: string;
|
|
3492
|
+
}
|
|
3493
|
+
export declare class RefundLineItemAmountDto {
|
|
3494
|
+
id: number;
|
|
3495
|
+
refundAmount: number;
|
|
3496
|
+
}
|
|
3497
|
+
export declare class VoidDto {
|
|
3498
|
+
lineItems: VoidLineItemDto[];
|
|
3499
|
+
meta?: RevertMetaDto;
|
|
3500
|
+
}
|
|
3501
|
+
export declare class VoidLineItemDto {
|
|
3502
|
+
id: number;
|
|
3503
|
+
quantity?: number;
|
|
3504
|
+
isEdit?: boolean;
|
|
3505
|
+
amount?: number;
|
|
3506
|
+
}
|
|
3475
3507
|
export declare class CustomerIdDto {
|
|
3476
3508
|
customerId: number;
|
|
3477
3509
|
}
|
|
@@ -3589,38 +3621,6 @@ export declare class SendRequestDto {
|
|
|
3589
3621
|
sendToEmail: string;
|
|
3590
3622
|
memo?: string;
|
|
3591
3623
|
}
|
|
3592
|
-
export declare class RefundDto {
|
|
3593
|
-
orderId: number;
|
|
3594
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3595
|
-
refundLineItemAmountDict?: {
|
|
3596
|
-
[id: number]: number;
|
|
3597
|
-
};
|
|
3598
|
-
refunds: PaymentMethodDto[];
|
|
3599
|
-
refundType: RefundTypeEnum;
|
|
3600
|
-
reasonId: number;
|
|
3601
|
-
note?: string;
|
|
3602
|
-
shiftId?: number;
|
|
3603
|
-
meta?: RevertMetaDto;
|
|
3604
|
-
}
|
|
3605
|
-
export declare class PaymentMethodDto {
|
|
3606
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3607
|
-
amount: number;
|
|
3608
|
-
paymentMethodId?: string;
|
|
3609
|
-
}
|
|
3610
|
-
export declare class RefundLineItemAmountDto {
|
|
3611
|
-
id: number;
|
|
3612
|
-
refundAmount: number;
|
|
3613
|
-
}
|
|
3614
|
-
export declare class VoidDto {
|
|
3615
|
-
lineItems: VoidLineItemDto[];
|
|
3616
|
-
meta?: RevertMetaDto;
|
|
3617
|
-
}
|
|
3618
|
-
export declare class VoidLineItemDto {
|
|
3619
|
-
id: number;
|
|
3620
|
-
quantity?: number;
|
|
3621
|
-
isEdit?: boolean;
|
|
3622
|
-
amount?: number;
|
|
3623
|
-
}
|
|
3624
3624
|
export declare class LineItemDto {
|
|
3625
3625
|
id?: number;
|
|
3626
3626
|
orderId?: number;
|
|
@@ -3647,13 +3647,6 @@ export declare class LineItemDto {
|
|
|
3647
3647
|
unitTaxPrice?: number;
|
|
3648
3648
|
parentOrdinal?: number;
|
|
3649
3649
|
}
|
|
3650
|
-
export declare class MaintenanceDto {
|
|
3651
|
-
id?: number;
|
|
3652
|
-
title: string;
|
|
3653
|
-
durationValue: number;
|
|
3654
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3655
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3656
|
-
}
|
|
3657
3650
|
export declare class OrderDto {
|
|
3658
3651
|
orderId?: string | null;
|
|
3659
3652
|
organizationId: number;
|
|
@@ -3703,6 +3696,13 @@ export declare class PurchasedResourceDto {
|
|
|
3703
3696
|
endDate?: string;
|
|
3704
3697
|
endTime?: string;
|
|
3705
3698
|
}
|
|
3699
|
+
export declare class MaintenanceDto {
|
|
3700
|
+
id?: number;
|
|
3701
|
+
title: string;
|
|
3702
|
+
durationValue: number;
|
|
3703
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3704
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3705
|
+
}
|
|
3706
3706
|
export declare class ReservationDto {
|
|
3707
3707
|
id?: number;
|
|
3708
3708
|
organizationId?: number;
|
|
@@ -3995,6 +3995,20 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
3995
3995
|
invoiceId: number;
|
|
3996
3996
|
slotId: number;
|
|
3997
3997
|
}
|
|
3998
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3999
|
+
deletedAt?: Date;
|
|
4000
|
+
reservationId: number;
|
|
4001
|
+
title: string;
|
|
4002
|
+
isPrivate: boolean;
|
|
4003
|
+
resourceIds?: number[];
|
|
4004
|
+
sportId: number;
|
|
4005
|
+
reservation?: Reservation;
|
|
4006
|
+
series?: Series[];
|
|
4007
|
+
addonIds?: number[] | null;
|
|
4008
|
+
publicNotesForSlots?: string;
|
|
4009
|
+
privateNotesForSlots?: string;
|
|
4010
|
+
slots?: Slot[];
|
|
4011
|
+
}
|
|
3998
4012
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3999
4013
|
name?: string;
|
|
4000
4014
|
description?: string;
|
|
@@ -4034,20 +4048,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4034
4048
|
targetGlobalPrice?: number;
|
|
4035
4049
|
slots: Slot[];
|
|
4036
4050
|
}
|
|
4037
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4038
|
-
deletedAt?: Date;
|
|
4039
|
-
reservationId: number;
|
|
4040
|
-
title: string;
|
|
4041
|
-
isPrivate: boolean;
|
|
4042
|
-
resourceIds?: number[];
|
|
4043
|
-
sportId: number;
|
|
4044
|
-
reservation?: Reservation;
|
|
4045
|
-
series?: Series[];
|
|
4046
|
-
addonIds?: number[] | null;
|
|
4047
|
-
publicNotesForSlots?: string;
|
|
4048
|
-
privateNotesForSlots?: string;
|
|
4049
|
-
slots?: Slot[];
|
|
4050
|
-
}
|
|
4051
4051
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4052
4052
|
deletedAt?: Date;
|
|
4053
4053
|
segmentId: number;
|
|
@@ -4160,9 +4160,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4160
4160
|
export declare class CloseShiftDto {
|
|
4161
4161
|
closingCashAmount: number;
|
|
4162
4162
|
}
|
|
4163
|
-
export declare class FindShiftsByIdsDto {
|
|
4164
|
-
shiftIds: number[];
|
|
4165
|
-
}
|
|
4166
4163
|
export declare class FindShiftsFiltersDto {
|
|
4167
4164
|
statuses?: string;
|
|
4168
4165
|
stationIds?: string;
|
|
@@ -4223,3 +4220,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4223
4220
|
closingManager?: User;
|
|
4224
4221
|
reconcilingUser?: User;
|
|
4225
4222
|
}
|
|
4223
|
+
export declare class FindShiftsByIdsDto {
|
|
4224
|
+
shiftIds: number[];
|
|
4225
|
+
}
|