@bondsports/types 0.0.70 → 0.0.71

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 CHANGED
@@ -27,64 +27,6 @@ export declare class FindBookingTypeSettingDto {
27
27
  bookingDate: string;
28
28
  bookingTime: string;
29
29
  }
30
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
31
- membershipId: number;
32
- }
33
- export declare class ImportProductsFromDB {
34
- buDate: string;
35
- }
36
- export declare class ImportCustomerFromCSV {
37
- fileName: string;
38
- startIndex?: number;
39
- }
40
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
41
- resolveInvoices: string;
42
- }
43
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
44
- membershipId: number;
45
- onlyDashIds: string;
46
- }
47
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
48
- facilityId: number;
49
- }
50
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
51
- customerId: number;
52
- }
53
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
54
- nameSearch?: string;
55
- fuzzy?: string;
56
- customerType?: CustomerTypeEnum;
57
- customersIds?: string;
58
- }
59
- export declare class AddCustomerNotesDto {
60
- customerNotes: CustomerNoteDto[];
61
- }
62
- export declare class CustomerNoteDto {
63
- id?: number;
64
- description: string;
65
- pinToTop?: boolean;
66
- }
67
- export declare class AddEditCustomerDto {
68
- firstName?: string;
69
- lastName?: string;
70
- entityId?: number;
71
- entityType?: CustomerTypeEnum;
72
- email?: string;
73
- color?: string;
74
- street?: string;
75
- city?: string;
76
- state?: string;
77
- zip?: string;
78
- phoneNumber?: string;
79
- mainMediaId?: number;
80
- creatorId?: number;
81
- creatorType?: ResourceNameTypeEnum;
82
- userCreatorId?: number;
83
- gender?: GenderEnum;
84
- birthDate?: string;
85
- emergencyContactName?: string;
86
- emergencyContactPhone?: string;
87
- }
88
30
  export declare class FindEventByIdDto {
89
31
  eventId: number;
90
32
  organizationId: number;
@@ -229,6 +171,64 @@ export declare class UpdateFacilityAmenitiesDto {
229
171
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
230
172
  nameSearch?: string;
231
173
  }
174
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
175
+ membershipId: number;
176
+ }
177
+ export declare class ImportProductsFromDB {
178
+ buDate: string;
179
+ }
180
+ export declare class ImportCustomerFromCSV {
181
+ fileName: string;
182
+ startIndex?: number;
183
+ }
184
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
185
+ resolveInvoices: string;
186
+ }
187
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
188
+ membershipId: number;
189
+ onlyDashIds: string;
190
+ }
191
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
192
+ facilityId: number;
193
+ }
194
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
195
+ customerId: number;
196
+ }
197
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
198
+ nameSearch?: string;
199
+ fuzzy?: string;
200
+ customerType?: CustomerTypeEnum;
201
+ customersIds?: string;
202
+ }
203
+ export declare class AddCustomerNotesDto {
204
+ customerNotes: CustomerNoteDto[];
205
+ }
206
+ export declare class CustomerNoteDto {
207
+ id?: number;
208
+ description: string;
209
+ pinToTop?: boolean;
210
+ }
211
+ export declare class AddEditCustomerDto {
212
+ firstName?: string;
213
+ lastName?: string;
214
+ entityId?: number;
215
+ entityType?: CustomerTypeEnum;
216
+ email?: string;
217
+ color?: string;
218
+ street?: string;
219
+ city?: string;
220
+ state?: string;
221
+ zip?: string;
222
+ phoneNumber?: string;
223
+ mainMediaId?: number;
224
+ creatorId?: number;
225
+ creatorType?: ResourceNameTypeEnum;
226
+ userCreatorId?: number;
227
+ gender?: GenderEnum;
228
+ birthDate?: string;
229
+ emergencyContactName?: string;
230
+ emergencyContactPhone?: string;
231
+ }
232
232
  export declare class FindFamilyAccountsDto {
233
233
  userId: number;
234
234
  }
@@ -412,78 +412,298 @@ export declare class CancelMembershipDto {
412
412
  isImmediatelyCancel: boolean;
413
413
  cancellationReason?: string;
414
414
  }
415
- export declare class CreateEntitlementTermsDto {
416
- organizationId: number;
417
- entitlementGroupId: number;
418
- terms: IEntitlementTerms[];
415
+ export declare class FindByProductIdDto {
416
+ productId: number;
419
417
  }
420
- export declare class FindEntitlementTermsByGroupIdDto {
421
- entitlementGroupId: number;
418
+ export declare class FindPriceOfProductDto {
419
+ id: number;
420
+ userId: number;
421
+ resources: ResourceDto[];
422
422
  }
423
- export declare class FindEntitlementTermsByVariablesDto {
424
- user: any;
425
- userVariables: IQuestionAnswerObject[];
423
+ export declare class FindPricesOfProductsDto {
424
+ products: FindPriceOfProductDto[];
425
+ answers: UserAnswersDto[];
426
426
  }
427
- export declare class FindLowestPriceDto {
427
+ export declare class FindPackageByResourceDto {
428
+ resourceType: ResourceNameTypeEnum;
429
+ resourceId: number;
430
+ }
431
+ export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
428
432
  organizationId: number;
429
- user?: any;
430
- answers?: IQuestionAnswerObject[];
431
- itemIds: number[];
432
- itemType?: ResourceNameTypeEnum;
433
- startDate?: Date;
434
433
  }
435
- export declare class FindGroupItemsPricingsDto {
436
- groupsIds: number[];
437
- itemsIds: number[];
434
+ export declare class CreateProductsDto {
435
+ products: CreateProductDto[];
436
+ addOnsData?: ProductInPackage[];
437
+ addOnIds?: ExistingProductToPackageDto[];
438
438
  }
439
- export declare class CreateEntitlementGroupDto {
439
+ export declare class CreatePaymentPlanDto extends PaymentPlanDto {
440
440
  name: string;
441
441
  }
442
- export declare class GetEntitlementGroupPricingDto {
443
- itemIds: number[];
444
- itemType: string;
442
+ export declare class CreateProductDto {
443
+ id?: number;
444
+ organizationId: number;
445
+ name: string;
446
+ quantity?: number;
447
+ isPublic: boolean;
448
+ startDate?: Date;
449
+ endDate?: Date;
450
+ description?: string;
451
+ resourcesType?: ResourceNameTypeEnum;
452
+ resourcesIdsToApplyOn?: number[];
453
+ GL?: string;
454
+ prices: CreatePriceDto[];
455
+ downpayment?: number;
456
+ productType: ProductTypesEnum;
457
+ subProductType?: string;
458
+ defaultForResourceId?: number;
459
+ defaultForResourceType?: ResourceNameTypeEnum;
460
+ entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
461
+ variantTitleIds?: number[];
462
+ variants?: VariantWithPrice[];
463
+ variantParentId?: number;
464
+ isAddon?: boolean;
465
+ isArchive?: boolean;
466
+ timePeriod?: AddonTimePeriodEnum;
467
+ isProRated?: boolean;
468
+ paymentPlan?: CreatePaymentPlanDto;
469
+ isTaxInclusive?: boolean;
470
+ tax?: number;
471
+ sports?: number[];
472
+ durationMinutes?: number;
473
+ durationDays?: number;
474
+ forms?: number[];
475
+ isForAllCustomers?: boolean;
476
+ membershipsAvailableFor?: number[];
477
+ customersAvailableFor?: number[];
478
+ addons?: createRentalProductAddonDto[];
479
+ availabilityTimes?: createProductAvailabilityTimesDto[];
445
480
  }
446
- export declare class FindEntitlementGroupByIdDto {
447
- groupid: number;
481
+ export declare class VariantWithPrice {
482
+ variantIds: number[];
483
+ price: CreatePriceDto[];
448
484
  }
449
- export declare class CreateGroupPricingWithProduct {
450
- groupId: number;
485
+ export declare class CreatePriceDto {
486
+ id?: number;
451
487
  price: number;
488
+ currency: CurrencyEnum;
489
+ name: string;
452
490
  startDate?: Date;
453
491
  endDate?: Date;
454
492
  discountValue?: number;
455
493
  discountMethod?: DiscountMethodsEnum;
494
+ isDefaultPriceForProduct?: boolean;
456
495
  }
457
- export declare class CreateUpdateVariantsDto {
458
- organizationId: number;
496
+ export declare class CreatePackageDto {
459
497
  parentProductId: number;
460
- variantTitles: VariantTitleDto[];
461
- variants: VariantDto[];
498
+ productsData?: ProductInPackage[];
499
+ productsIds?: ExistingProductToPackageDto[];
462
500
  }
463
- export declare class VariantTitleDto {
464
- titleName: string;
465
- titleId: number;
501
+ export declare class CreatePackageToResourceDto {
502
+ resourceId: number;
503
+ resourceType: ResourceNameTypeEnum;
504
+ isCreateToChildProducts: boolean;
505
+ productsData: ProductInPackage[];
466
506
  }
467
- export declare class VariantDto {
468
- name: string;
469
- price: number;
470
- variantId: number;
471
- currency: CurrencyEnum;
472
- startDate: Date;
473
- endDate: Date;
507
+ export declare class ProductInPackage extends CreateProductDto {
508
+ relationType: PackageProductsRelationTypeEnum;
509
+ amountInPackage?: number;
510
+ level?: ProductPackageLevelEnum;
474
511
  }
475
- export declare class FindProgramSeasonsByProgramIdDto {
476
- programId: number;
512
+ export declare class ExistingProductToPackageDto {
513
+ relationType: PackageProductsRelationTypeEnum;
514
+ id: number;
515
+ timePeriod?: AddonTimePeriodEnum;
516
+ level?: ProductPackageLevelEnum;
477
517
  }
478
- export declare class FindSessionsFiltersDto {
479
- status?: PublishingStatusEnum;
480
- isFullFetch?: boolean;
518
+ export declare class ConnectProductResourceDto {
519
+ productId: number;
520
+ resourceType: ResourceNameTypeEnum;
521
+ resourceIds: number[];
481
522
  }
482
- export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
523
+ export declare class ReturnRequiredProductsDto {
524
+ userId: number;
525
+ productId: number;
526
+ }
527
+ export declare class FindByProductUserIdsDto {
528
+ userId: number;
483
529
  organizationId: number;
484
530
  }
485
- export declare class DeleteEventAttendeesDto {
486
- eventAttendeeIds: string;
531
+ export declare class AddRequiredProductsDto {
532
+ productId: number;
533
+ requiredProductIds: number[];
534
+ }
535
+ export declare class ProductsIdsDto extends PaginationQuery {
536
+ productIds?: number[];
537
+ includePrices?: boolean;
538
+ productType?: ProductTypesEnum;
539
+ includeAddons?: string;
540
+ }
541
+ export declare class GetByOrganizationIdDto {
542
+ organizationId?: number;
543
+ }
544
+ export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
545
+ orderId?: number;
546
+ }
547
+ export declare class GetProductsDto extends PaginationQuery {
548
+ productIds?: string;
549
+ includePrices?: boolean;
550
+ productType?: string;
551
+ productSubType?: string;
552
+ search?: string;
553
+ includeAddons?: boolean;
554
+ includeArchived?: boolean;
555
+ includeAllData?: boolean;
556
+ resourceIds?: string;
557
+ sports?: string;
558
+ }
559
+ export declare class GetAllVariantTitlesDto {
560
+ organizationId: number;
561
+ }
562
+ export declare class GetAllOrganizationAddonsDto {
563
+ organizationId: number;
564
+ }
565
+ export declare class CreateVariantTitleDto {
566
+ organizationId: number;
567
+ title: string;
568
+ variants: string[];
569
+ }
570
+ export declare class UpdateVariantTitleDto {
571
+ organizationId: number;
572
+ titleId: number;
573
+ title: string;
574
+ variants: string[];
575
+ }
576
+ export declare class GetByCustomerIdDto extends PaginationQuery {
577
+ customerId: number;
578
+ }
579
+ export declare class GetExtraProductDataDto {
580
+ isPublic?: boolean;
581
+ isGetByChildResources?: boolean;
582
+ isGetEntitlePricing?: boolean;
583
+ isGetAddOns?: boolean;
584
+ includeResources?: boolean;
585
+ includeArchived?: boolean;
586
+ }
587
+ export declare class GetBySessionType {
588
+ sessionType: 'event' | 'segment';
589
+ }
590
+ export declare class CreateSubcategoryDto {
591
+ productType: ProductTypesEnum;
592
+ name: string;
593
+ stationId?: number;
594
+ ordinal?: number;
595
+ }
596
+ export declare class CreateSubcategoriesDto {
597
+ subcategories: CreateSubcategoryDto[];
598
+ }
599
+ export declare class UpdateSubcategoryDto {
600
+ id: number;
601
+ productType?: ProductTypesEnum;
602
+ name?: string;
603
+ stationId?: number;
604
+ ordinal?: number;
605
+ }
606
+ export declare class GetSubcategoryDto {
607
+ stationId?: number;
608
+ }
609
+ export declare class SetStationSubcategoriesDto {
610
+ stationId: number;
611
+ subcategoryIds?: number[];
612
+ categories?: string[];
613
+ }
614
+ export declare class createRentalProductAddonDto {
615
+ productId: number;
616
+ price: number;
617
+ isFlatPrice: boolean;
618
+ isMandatory: boolean;
619
+ level: ProductPackageLevelEnum;
620
+ }
621
+ export declare class createProductAvailabilityTimesDto {
622
+ availabilityStartDate?: string;
623
+ availabilityEndDate?: string;
624
+ daysOfWeek: number[];
625
+ startTime: string;
626
+ endTime: string;
627
+ }
628
+ export declare class createResourceDto {
629
+ resourceId: number;
630
+ resourceType: ResourceNameTypeEnum;
631
+ }
632
+ export declare class archiveDto {
633
+ isArchive: boolean;
634
+ }
635
+ export declare class CreateEntitlementTermsDto {
636
+ organizationId: number;
637
+ entitlementGroupId: number;
638
+ terms: IEntitlementTerms[];
639
+ }
640
+ export declare class FindEntitlementTermsByGroupIdDto {
641
+ entitlementGroupId: number;
642
+ }
643
+ export declare class FindEntitlementTermsByVariablesDto {
644
+ user: any;
645
+ userVariables: IQuestionAnswerObject[];
646
+ }
647
+ export declare class FindLowestPriceDto {
648
+ organizationId: number;
649
+ user?: any;
650
+ answers?: IQuestionAnswerObject[];
651
+ itemIds: number[];
652
+ itemType?: ResourceNameTypeEnum;
653
+ startDate?: Date;
654
+ }
655
+ export declare class FindGroupItemsPricingsDto {
656
+ groupsIds: number[];
657
+ itemsIds: number[];
658
+ }
659
+ export declare class CreateEntitlementGroupDto {
660
+ name: string;
661
+ }
662
+ export declare class GetEntitlementGroupPricingDto {
663
+ itemIds: number[];
664
+ itemType: string;
665
+ }
666
+ export declare class FindEntitlementGroupByIdDto {
667
+ groupid: number;
668
+ }
669
+ export declare class CreateGroupPricingWithProduct {
670
+ groupId: number;
671
+ price: number;
672
+ startDate?: Date;
673
+ endDate?: Date;
674
+ discountValue?: number;
675
+ discountMethod?: DiscountMethodsEnum;
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;
487
707
  }
488
708
  export declare class FindProgramSeasonByIdQueryDto {
489
709
  includeResources?: boolean;
@@ -549,332 +769,112 @@ export declare class CreateSessionScheduleDto {
549
769
  export declare class SubSeasonBasicInfo {
550
770
  name: string;
551
771
  startDate: Date;
552
- endDate: Date;
553
- activityTimes?: ActivityTimesDto[];
554
- }
555
- export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
556
- seasonId: number;
557
- }
558
- export declare class UpdateProgramSeasonStatusDto {
559
- seasonId: number;
560
- status: PublishingStatusEnum;
561
- }
562
- export declare class blockedDatesDto {
563
- name: string;
564
- startDate: Date;
565
- endDate: Date;
566
- }
567
- export declare class ActivityTimesDto {
568
- dayOfWeek: number;
569
- open: string;
570
- close: string;
571
- }
572
- export declare class ShallowUpdateProgramSeasonDto {
573
- seasonId: number;
574
- name: string;
575
- description?: string;
576
- questionnaires?: number[];
577
- maxParticipants?: number;
578
- maxMaleParticipants?: number;
579
- maxFemaleParticipants?: number;
580
- maxWaitlist?: number;
581
- maxMaleWaitlist?: number;
582
- maxFemaleWaitlist?: number;
583
- facilityId?: number;
584
- addressId?: number;
585
- sport?: SportsEnum;
586
- minAge?: string;
587
- maxAge?: string;
588
- gender?: GenderEnum;
589
- level?: LevelOfPlayEnum[];
590
- requiredProductIds?: number[];
591
- subSeasons?: ShallowUpdateSubSeasonDto[];
592
- }
593
- export declare class ShallowUpdateSubSeasonDto {
594
- id: number;
595
- name: string;
596
- }
597
- export declare class SpaceResourcePairDto {
598
- resourceType: ResourceNameTypeEnum;
599
- resourceId: number;
600
- spacesIds: number[];
601
- publicNotes?: string;
602
- privateNotes?: string;
603
- minutesBeforeSlot?: number;
604
- minutesAfterSlot?: number;
605
- }
606
- export declare class BulkSpaceResourceAllocationDto {
607
- spaceResourcePairs: SpaceResourcePairDto[];
608
- organizationId: number;
609
- }
610
- export declare class SingleSpaceAllocationByTimesDto {
611
- date: string;
612
- startTime: string;
613
- endTime: string;
614
- spaceId: number;
615
- publicNotes?: string;
616
- slotType?: SlotTypeEnum;
617
- }
618
- export declare class SpaceAllocationsByTimesDto {
619
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
620
- }
621
- export declare class UpdateSeasonDatesDto {
622
- startDate: Date;
623
- endDate: Date;
624
- }
625
- export declare class MoveAttendeeDto {
626
- userId: number;
627
- resourceType: ResourceNameTypeEnum;
628
- fromResourceIds: number[];
629
- toResourceIds: number[];
630
- }
631
- export declare class UpdateSeasonRegistrationDatesDto {
632
- registrationPeriods: UpdateSeasonDatesDto[];
633
- }
634
- export declare class RegistrationDatesDto {
635
- registrationStartDate: Date;
636
- registrationEndDate: Date;
637
- earlyRegistrationStartDate?: Date;
638
- earlyRegistrationEndDate?: Date;
639
- lateRegistrationStartDate?: Date;
640
- lateRegistrationEndDate?: Date;
641
- }
642
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
643
- closeRegistrationPeriodValue?: number;
644
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
645
- closeRegistrationSpecTime?: string;
646
- openRegistrationPeriodValue?: number;
647
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
648
- openRegistrationSpecTime?: string;
649
- productsIdsToUpdate?: number[];
650
- }
651
- export declare class MoveParticipantDto {
652
- userId: number;
653
- oldProductId: number;
654
- newProductId: number;
655
- moveType: 'session' | 'segment';
656
- resourceId: number;
657
- orderId: number;
658
- }
659
- export declare class FindByProductIdDto {
660
- productId: number;
661
- }
662
- export declare class FindPriceOfProductDto {
663
- id: number;
664
- userId: number;
665
- resources: ResourceDto[];
666
- }
667
- export declare class FindPricesOfProductsDto {
668
- products: FindPriceOfProductDto[];
669
- answers: UserAnswersDto[];
670
- }
671
- export declare class FindPackageByResourceDto {
672
- resourceType: ResourceNameTypeEnum;
673
- resourceId: number;
674
- }
675
- export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
676
- organizationId: number;
677
- }
678
- export declare class CreateProductsDto {
679
- products: CreateProductDto[];
680
- addOnsData?: ProductInPackage[];
681
- addOnIds?: ExistingProductToPackageDto[];
682
- }
683
- export declare class CreatePaymentPlanDto extends PaymentPlanDto {
684
- name: string;
685
- }
686
- export declare class CreateProductDto {
687
- id?: number;
688
- organizationId: number;
689
- name: string;
690
- quantity?: number;
691
- isPublic: boolean;
692
- startDate?: Date;
693
- endDate?: Date;
694
- description?: string;
695
- resourcesType?: ResourceNameTypeEnum;
696
- resourcesIdsToApplyOn?: number[];
697
- GL?: string;
698
- prices: CreatePriceDto[];
699
- downpayment?: number;
700
- productType: ProductTypesEnum;
701
- subProductType?: string;
702
- defaultForResourceId?: number;
703
- defaultForResourceType?: ResourceNameTypeEnum;
704
- entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
705
- variantTitleIds?: number[];
706
- variants?: VariantWithPrice[];
707
- variantParentId?: number;
708
- isAddon?: boolean;
709
- isArchive?: boolean;
710
- timePeriod?: AddonTimePeriodEnum;
711
- isProRated?: boolean;
712
- paymentPlan?: CreatePaymentPlanDto;
713
- isTaxInclusive?: boolean;
714
- tax?: number;
715
- sports?: number[];
716
- durationMinutes?: number;
717
- durationDays?: number;
718
- forms?: number[];
719
- isForAllCustomers?: boolean;
720
- membershipsAvailableFor?: number[];
721
- customersAvailableFor?: number[];
722
- addons?: createRentalProductAddonDto[];
723
- availabilityTimes?: createProductAvailabilityTimesDto[];
724
- }
725
- export declare class VariantWithPrice {
726
- variantIds: number[];
727
- price: CreatePriceDto[];
728
- }
729
- export declare class CreatePriceDto {
730
- id?: number;
731
- price: number;
732
- currency: CurrencyEnum;
733
- name: string;
734
- startDate?: Date;
735
- endDate?: Date;
736
- discountValue?: number;
737
- discountMethod?: DiscountMethodsEnum;
738
- isDefaultPriceForProduct?: boolean;
739
- }
740
- export declare class CreatePackageDto {
741
- parentProductId: number;
742
- productsData?: ProductInPackage[];
743
- productsIds?: ExistingProductToPackageDto[];
744
- }
745
- export declare class CreatePackageToResourceDto {
746
- resourceId: number;
747
- resourceType: ResourceNameTypeEnum;
748
- isCreateToChildProducts: boolean;
749
- productsData: ProductInPackage[];
750
- }
751
- export declare class ProductInPackage extends CreateProductDto {
752
- relationType: PackageProductsRelationTypeEnum;
753
- amountInPackage?: number;
754
- level?: ProductPackageLevelEnum;
755
- }
756
- export declare class ExistingProductToPackageDto {
757
- relationType: PackageProductsRelationTypeEnum;
758
- id: number;
759
- timePeriod?: AddonTimePeriodEnum;
760
- level?: ProductPackageLevelEnum;
761
- }
762
- export declare class ConnectProductResourceDto {
763
- productId: number;
764
- resourceType: ResourceNameTypeEnum;
765
- resourceIds: number[];
766
- }
767
- export declare class ReturnRequiredProductsDto {
768
- userId: number;
769
- productId: number;
770
- }
771
- export declare class FindByProductUserIdsDto {
772
- userId: number;
773
- organizationId: number;
774
- }
775
- export declare class AddRequiredProductsDto {
776
- productId: number;
777
- requiredProductIds: number[];
778
- }
779
- export declare class ProductsIdsDto extends PaginationQuery {
780
- productIds?: number[];
781
- includePrices?: boolean;
782
- productType?: ProductTypesEnum;
783
- includeAddons?: string;
784
- }
785
- export declare class GetByOrganizationIdDto {
786
- organizationId?: number;
787
- }
788
- export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
789
- orderId?: number;
790
- }
791
- export declare class GetProductsDto extends PaginationQuery {
792
- productIds?: string;
793
- includePrices?: boolean;
794
- productType?: string;
795
- productSubType?: string;
796
- search?: string;
797
- includeAddons?: boolean;
798
- includeArchived?: boolean;
799
- includeAllData?: boolean;
800
- resourceIds?: string;
801
- sports?: string;
802
- }
803
- export declare class GetAllVariantTitlesDto {
804
- organizationId: number;
805
- }
806
- export declare class GetAllOrganizationAddonsDto {
807
- organizationId: number;
808
- }
809
- export declare class CreateVariantTitleDto {
810
- organizationId: number;
811
- title: string;
812
- variants: string[];
813
- }
814
- export declare class UpdateVariantTitleDto {
815
- organizationId: number;
816
- titleId: number;
817
- title: string;
818
- variants: string[];
819
- }
820
- export declare class GetByCustomerIdDto extends PaginationQuery {
821
- customerId: number;
822
- }
823
- export declare class GetExtraProductDataDto {
824
- isPublic?: boolean;
825
- isGetByChildResources?: boolean;
826
- isGetEntitlePricing?: boolean;
827
- isGetAddOns?: boolean;
828
- includeResources?: boolean;
829
- includeArchived?: boolean;
772
+ endDate: Date;
773
+ activityTimes?: ActivityTimesDto[];
830
774
  }
831
- export declare class GetBySessionType {
832
- sessionType: 'event' | 'segment';
775
+ export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
776
+ seasonId: number;
833
777
  }
834
- export declare class CreateSubcategoryDto {
835
- productType: ProductTypesEnum;
778
+ export declare class UpdateProgramSeasonStatusDto {
779
+ seasonId: number;
780
+ status: PublishingStatusEnum;
781
+ }
782
+ export declare class blockedDatesDto {
836
783
  name: string;
837
- stationId?: number;
838
- ordinal?: number;
784
+ startDate: Date;
785
+ endDate: Date;
839
786
  }
840
- export declare class CreateSubcategoriesDto {
841
- subcategories: CreateSubcategoryDto[];
787
+ export declare class ActivityTimesDto {
788
+ dayOfWeek: number;
789
+ open: string;
790
+ close: string;
842
791
  }
843
- export declare class UpdateSubcategoryDto {
844
- id: number;
845
- productType?: ProductTypesEnum;
846
- name?: string;
847
- stationId?: number;
848
- ordinal?: number;
792
+ export declare class ShallowUpdateProgramSeasonDto {
793
+ seasonId: number;
794
+ name: string;
795
+ description?: string;
796
+ questionnaires?: number[];
797
+ maxParticipants?: number;
798
+ maxMaleParticipants?: number;
799
+ maxFemaleParticipants?: number;
800
+ maxWaitlist?: number;
801
+ maxMaleWaitlist?: number;
802
+ maxFemaleWaitlist?: number;
803
+ facilityId?: number;
804
+ addressId?: number;
805
+ sport?: SportsEnum;
806
+ minAge?: string;
807
+ maxAge?: string;
808
+ gender?: GenderEnum;
809
+ level?: LevelOfPlayEnum[];
810
+ requiredProductIds?: number[];
811
+ subSeasons?: ShallowUpdateSubSeasonDto[];
849
812
  }
850
- export declare class GetSubcategoryDto {
851
- stationId?: number;
813
+ export declare class ShallowUpdateSubSeasonDto {
814
+ id: number;
815
+ name: string;
852
816
  }
853
- export declare class SetStationSubcategoriesDto {
854
- stationId: number;
855
- subcategoryIds?: number[];
856
- categories?: string[];
817
+ export declare class SpaceResourcePairDto {
818
+ resourceType: ResourceNameTypeEnum;
819
+ resourceId: number;
820
+ spacesIds: number[];
821
+ publicNotes?: string;
822
+ privateNotes?: string;
823
+ minutesBeforeSlot?: number;
824
+ minutesAfterSlot?: number;
857
825
  }
858
- export declare class createRentalProductAddonDto {
859
- productId: number;
860
- price: number;
861
- isFlatPrice: boolean;
862
- isMandatory: boolean;
863
- level: ProductPackageLevelEnum;
826
+ export declare class BulkSpaceResourceAllocationDto {
827
+ spaceResourcePairs: SpaceResourcePairDto[];
828
+ organizationId: number;
864
829
  }
865
- export declare class createProductAvailabilityTimesDto {
866
- availabilityStartDate?: string;
867
- availabilityEndDate?: string;
868
- daysOfWeek: number[];
830
+ export declare class SingleSpaceAllocationByTimesDto {
831
+ date: string;
869
832
  startTime: string;
870
833
  endTime: string;
834
+ spaceId: number;
835
+ publicNotes?: string;
836
+ slotType?: SlotTypeEnum;
871
837
  }
872
- export declare class createResourceDto {
873
- resourceId: number;
838
+ export declare class SpaceAllocationsByTimesDto {
839
+ spaceAllocations: SingleSpaceAllocationByTimesDto[];
840
+ }
841
+ export declare class UpdateSeasonDatesDto {
842
+ startDate: Date;
843
+ endDate: Date;
844
+ }
845
+ export declare class MoveAttendeeDto {
846
+ userId: number;
874
847
  resourceType: ResourceNameTypeEnum;
848
+ fromResourceIds: number[];
849
+ toResourceIds: number[];
875
850
  }
876
- export declare class archiveDto {
877
- isArchive: boolean;
851
+ export declare class UpdateSeasonRegistrationDatesDto {
852
+ registrationPeriods: UpdateSeasonDatesDto[];
853
+ }
854
+ export declare class RegistrationDatesDto {
855
+ registrationStartDate: Date;
856
+ registrationEndDate: Date;
857
+ earlyRegistrationStartDate?: Date;
858
+ earlyRegistrationEndDate?: Date;
859
+ lateRegistrationStartDate?: Date;
860
+ lateRegistrationEndDate?: Date;
861
+ }
862
+ export declare class RegistrationSettingsDto extends RegistrationDatesDto {
863
+ closeRegistrationPeriodValue?: number;
864
+ closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
865
+ closeRegistrationSpecTime?: string;
866
+ openRegistrationPeriodValue?: number;
867
+ openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
868
+ openRegistrationSpecTime?: string;
869
+ productsIdsToUpdate?: number[];
870
+ }
871
+ export declare class MoveParticipantDto {
872
+ userId: number;
873
+ oldProductId: number;
874
+ newProductId: number;
875
+ moveType: 'session' | 'segment';
876
+ resourceId: number;
877
+ orderId: number;
878
878
  }
879
879
  export declare class FindProgramsByOrganizationIdDto {
880
880
  organizationId: number;
@@ -1111,6 +1111,12 @@ export declare class Address extends BondBaseEntity {
1111
1111
  geo: any;
1112
1112
  deletedAt?: Date;
1113
1113
  }
1114
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1115
+ questionnaireId: number;
1116
+ userId?: number;
1117
+ answers: Answer[];
1118
+ questionnaire: Questionnaires;
1119
+ }
1114
1120
  export declare class Answer extends OrganizationConnectionBaseEntity {
1115
1121
  questionId: number;
1116
1122
  question?: Questions;
@@ -1124,12 +1130,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1124
1130
  metaData: any | null;
1125
1131
  questionText: string | null;
1126
1132
  }
1127
- export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1128
- questionnaireId: number;
1129
- userId?: number;
1130
- answers: Answer[];
1131
- questionnaire: Questionnaires;
1132
- }
1133
1133
  export declare class Athlete extends BondBaseEntity {
1134
1134
  userId: number | null;
1135
1135
  metadata: object | null;
@@ -1704,15 +1704,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1704
1704
  deletedAt?: Date;
1705
1705
  facility: Facility;
1706
1706
  }
1707
- export declare class OrderNote extends OrganizationConnectionBaseEntity {
1708
- content: string;
1709
- creatingUserId: number;
1710
- user: User;
1711
- isPublic: boolean;
1712
- deletedAt: Date;
1713
- orderId: number;
1714
- order: Order;
1715
- }
1716
1707
  export declare class Order extends BondBaseEntity {
1717
1708
  orderId: string | null;
1718
1709
  price: number | null;
@@ -1771,11 +1762,14 @@ export declare class PasswordReset extends BondBaseEntity {
1771
1762
  validUntil: Date | null;
1772
1763
  active: boolean | null;
1773
1764
  }
1774
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1775
- paymentPlanId: number;
1776
- paymentDate: Date;
1777
- deletedAt?: Date;
1778
- paymentPlan: ProductPaymentPlan;
1765
+ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1766
+ content: string;
1767
+ creatingUserId: number;
1768
+ user: User;
1769
+ isPublic: boolean;
1770
+ deletedAt: Date;
1771
+ orderId: number;
1772
+ order: Order;
1779
1773
  }
1780
1774
  export declare class PaymentV1 extends BondBaseEntity {
1781
1775
  userId: number | null;
@@ -1795,6 +1789,12 @@ export declare class PaymentV1 extends BondBaseEntity {
1795
1789
  installmentId: number | null;
1796
1790
  orderId: string | null;
1797
1791
  }
1792
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1793
+ paymentPlanId: number;
1794
+ paymentDate: Date;
1795
+ deletedAt?: Date;
1796
+ paymentPlan: ProductPaymentPlan;
1797
+ }
1798
1798
  export declare class Price extends OrganizationConnectionBaseEntity {
1799
1799
  productId: number;
1800
1800
  product: Product;
@@ -1928,28 +1928,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1928
1928
  slots?: Slot[];
1929
1929
  addons?: Addon[];
1930
1930
  }
1931
- export declare class Program extends BondBaseEntity {
1932
- type: ProgramTypesEnum;
1933
- name: string;
1934
- sport: SportsEnum;
1935
- minAge: string;
1936
- maxAge: string;
1937
- gender: GenderEnum;
1938
- level: LevelOfPlayEnum[] | null;
1939
- description: string | null;
1940
- GL?: string | null;
1941
- status: PublishingStatusEnum;
1942
- mainMedia: Media;
1943
- organizationId: number;
1944
- userCreatorId: number;
1945
- programHighlights: ProgramHighlights[];
1946
- linkSEO: string;
1947
- longDescription?: string;
1948
- requiredProductIds: number[] | null;
1949
- deletedAt?: Date;
1950
- programSeason: ProgramSeason[];
1951
- purchasedResources: PurchasedResource[];
1952
- }
1953
1931
  export declare class ProgramHighlights extends BondBaseEntity {
1954
1932
  type: ProgramHighlightTypeEnum;
1955
1933
  ordinal: number | null;
@@ -2012,6 +1990,28 @@ export declare class ProgramSeason extends BondBaseEntity {
2012
1990
  facility: Facility;
2013
1991
  purchasedResources: PurchasedResource[];
2014
1992
  }
1993
+ export declare class Program extends BondBaseEntity {
1994
+ type: ProgramTypesEnum;
1995
+ name: string;
1996
+ sport: SportsEnum;
1997
+ minAge: string;
1998
+ maxAge: string;
1999
+ gender: GenderEnum;
2000
+ level: LevelOfPlayEnum[] | null;
2001
+ description: string | null;
2002
+ GL?: string | null;
2003
+ status: PublishingStatusEnum;
2004
+ mainMedia: Media;
2005
+ organizationId: number;
2006
+ userCreatorId: number;
2007
+ programHighlights: ProgramHighlights[];
2008
+ linkSEO: string;
2009
+ longDescription?: string;
2010
+ requiredProductIds: number[] | null;
2011
+ deletedAt?: Date;
2012
+ programSeason: ProgramSeason[];
2013
+ purchasedResources: PurchasedResource[];
2014
+ }
2015
2015
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2016
2016
  productUserId: number;
2017
2017
  resourceId: number;
@@ -3253,6 +3253,13 @@ export declare class AddFamilyDto {
3253
3253
  parents: AddImportedCustomerDto[];
3254
3254
  children: AddImportedCustomerDto[];
3255
3255
  }
3256
+ export declare class PunchPassDto {
3257
+ CustomerID: string;
3258
+ QuantityLeft: number;
3259
+ BondProgramID: number;
3260
+ BondSessionID: number;
3261
+ ProductID: number;
3262
+ }
3256
3263
  export declare class ProductIdsDto {
3257
3264
  productIds?: number[];
3258
3265
  }
@@ -3262,13 +3269,6 @@ export declare class ProductImportDto {
3262
3269
  resourceIds: number[];
3263
3270
  oldId: number;
3264
3271
  }
3265
- export declare class PunchPassDto {
3266
- CustomerID: string;
3267
- QuantityLeft: number;
3268
- BondProgramID: number;
3269
- BondSessionID: number;
3270
- ProductID: number;
3271
- }
3272
3272
  export declare class ImportedSlotProductDto {
3273
3273
  slotID?: string;
3274
3274
  name?: string;
@@ -3320,19 +3320,6 @@ export declare class ImportedReservationDto {
3320
3320
  slots?: ImportedSlotDto[];
3321
3321
  addons?: ImportedSlotProductDto[];
3322
3322
  }
3323
- export declare class GameSlots extends BondBaseEntity {
3324
- entityType: string;
3325
- entityId: number;
3326
- }
3327
- export declare class MatchParticipants extends BondBaseEntity {
3328
- matchId: number | null;
3329
- ordinal: number | null;
3330
- outcomeOrdinal: number | null;
3331
- resultMetaData: any | null;
3332
- points: number | null;
3333
- score: number | null;
3334
- gameSlotId: number | null;
3335
- }
3336
3323
  export declare enum ImportPaymentTypeEnum {
3337
3324
  CREDIT_CARD = "card",
3338
3325
  ACH = "ach",
@@ -3368,6 +3355,19 @@ export declare class ImportedPaymentDto {
3368
3355
  date: string;
3369
3356
  time: string;
3370
3357
  }
3358
+ export declare class GameSlots extends BondBaseEntity {
3359
+ entityType: string;
3360
+ entityId: number;
3361
+ }
3362
+ export declare class MatchParticipants extends BondBaseEntity {
3363
+ matchId: number | null;
3364
+ ordinal: number | null;
3365
+ outcomeOrdinal: number | null;
3366
+ resultMetaData: any | null;
3367
+ points: number | null;
3368
+ score: number | null;
3369
+ gameSlotId: number | null;
3370
+ }
3371
3371
  export declare class Matches extends BondBaseEntity {
3372
3372
  eventId: number | null;
3373
3373
  status: number | null;
@@ -3467,13 +3467,13 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
3467
3467
  version: number;
3468
3468
  organization: Organization;
3469
3469
  }
3470
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3471
- mainAdminUserId?: number;
3472
- }
3473
3470
  export declare class OrganizationUsers extends BondBaseEntity {
3474
3471
  organisationId: number | null;
3475
3472
  userId: number | null;
3476
3473
  }
3474
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3475
+ mainAdminUserId?: number;
3476
+ }
3477
3477
  export declare class CustomerIdDto {
3478
3478
  customerId: number;
3479
3479
  }