@bondsports/types 0.0.62 → 0.0.63

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,6 +27,64 @@ 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
+ }
30
88
  export declare class FindEventByIdDto {
31
89
  eventId: number;
32
90
  organizationId: number;
@@ -128,64 +186,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
128
186
  isWaiverSigned?: string;
129
187
  statuses?: string;
130
188
  }
131
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
132
- membershipId: number;
133
- }
134
- export declare class ImportProductsFromDB {
135
- buDate: string;
136
- }
137
- export declare class ImportCustomerFromCSV {
138
- fileName: string;
139
- startIndex?: number;
140
- }
141
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
142
- resolveInvoices: string;
143
- }
144
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
145
- membershipId: number;
146
- onlyDashIds: string;
147
- }
148
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
149
- facilityId: number;
150
- }
151
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
152
- customerId: number;
153
- }
154
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
155
- nameSearch?: string;
156
- fuzzy?: string;
157
- customerType?: CustomerTypeEnum;
158
- customersIds?: string;
159
- }
160
- export declare class AddCustomerNotesDto {
161
- customerNotes: CustomerNoteDto[];
162
- }
163
- export declare class CustomerNoteDto {
164
- id?: number;
165
- description: string;
166
- pinToTop?: boolean;
167
- }
168
- export declare class AddEditCustomerDto {
169
- firstName?: string;
170
- lastName?: string;
171
- entityId?: number;
172
- entityType?: CustomerTypeEnum;
173
- email?: string;
174
- color?: string;
175
- street?: string;
176
- city?: string;
177
- state?: string;
178
- zip?: string;
179
- phoneNumber?: string;
180
- mainMediaId?: number;
181
- creatorId?: number;
182
- creatorType?: ResourceNameTypeEnum;
183
- userCreatorId?: number;
184
- gender?: GenderEnum;
185
- birthDate?: string;
186
- emergencyContactName?: string;
187
- emergencyContactPhone?: string;
188
- }
189
189
  export declare class AddressDto {
190
190
  city: string;
191
191
  state: string;
@@ -356,6 +356,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
356
356
  export declare class MoveTeamOrMembersByCsvDTO {
357
357
  fileName: string;
358
358
  }
359
+ export declare class CreateMembershipDto {
360
+ organizationId: number;
361
+ name: string;
362
+ description?: string;
363
+ customerTypes: CustomerInMembershipTypeEnum[];
364
+ activity: SportsEnum;
365
+ facilityId: number;
366
+ questionnaires: number[];
367
+ minAgeYears: number;
368
+ maxAgeYears: number;
369
+ gender: GenderEnum;
370
+ maxMembers?: number;
371
+ maxMaleMembers?: number;
372
+ maxFemaleMembers?: number;
373
+ startDate: string;
374
+ endDate: string;
375
+ registrationStartDate?: Date;
376
+ registrationEndDate?: Date;
377
+ membershipType: MembershipTypeEnum;
378
+ durationMonths: number;
379
+ longDescription?: string;
380
+ isAutoRenew?: boolean;
381
+ }
382
+ export declare class UpdateMembrshipDto extends CreateMembershipDto {
383
+ id: number;
384
+ }
385
+ export declare class UpdateMembershipMediaDto {
386
+ membershipId: number;
387
+ mediaId: number;
388
+ }
389
+ export declare class FindMembershipByIdDto {
390
+ membershipId: number;
391
+ }
392
+ export declare class FindMembershipsByOrganizationIdDto {
393
+ organizationId: number;
394
+ }
395
+ export declare class FindMembershipsByUserIdDto {
396
+ userId: number;
397
+ }
398
+ export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
399
+ startDate: string;
400
+ }
401
+ export declare class MembershipIdsDto {
402
+ membershipIds?: number[];
403
+ }
404
+ export declare class MemberIdDto {
405
+ memberId?: number;
406
+ }
407
+ export declare class FindMembersOptionsDto extends PaginationQuery {
408
+ nameEmailSearch?: string;
409
+ pastMemberships?: string;
410
+ }
411
+ export declare class CancelMembershipDto {
412
+ isImmediatelyCancel: boolean;
413
+ cancellationReason?: string;
414
+ }
359
415
  export declare class CreateEntitlementTermsDto {
360
416
  organizationId: number;
361
417
  entitlementGroupId: number;
@@ -398,52 +454,254 @@ export declare class CreateGroupPricingWithProduct {
398
454
  discountValue?: number;
399
455
  discountMethod?: DiscountMethodsEnum;
400
456
  }
401
- export declare class FindByProductIdDto {
402
- productId: number;
457
+ export declare class CreateUpdateVariantsDto {
458
+ organizationId: number;
459
+ parentProductId: number;
460
+ variantTitles: VariantTitleDto[];
461
+ variants: VariantDto[];
403
462
  }
404
- export declare class FindPriceOfProductDto {
405
- id: number;
406
- userId: number;
407
- resources: ResourceDto[];
463
+ export declare class VariantTitleDto {
464
+ titleName: string;
465
+ titleId: number;
408
466
  }
409
- export declare class FindPricesOfProductsDto {
410
- products: FindPriceOfProductDto[];
411
- answers: UserAnswersDto[];
467
+ export declare class VariantDto {
468
+ name: string;
469
+ price: number;
470
+ variantId: number;
471
+ currency: CurrencyEnum;
472
+ startDate: Date;
473
+ endDate: Date;
412
474
  }
413
- export declare class FindPackageByResourceDto {
414
- resourceType: ResourceNameTypeEnum;
415
- resourceId: number;
475
+ export declare class FindProgramSeasonsByProgramIdDto {
476
+ programId: number;
416
477
  }
417
- export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
478
+ export declare class FindSessionsFiltersDto {
479
+ status?: PublishingStatusEnum;
480
+ isFullFetch?: boolean;
481
+ }
482
+ export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
418
483
  organizationId: number;
419
484
  }
420
- export declare class CreateProductsDto {
421
- products: CreateProductDto[];
422
- addOnsData?: ProductInPackage[];
423
- addOnIds?: ExistingProductToPackageDto[];
485
+ export declare class DeleteEventAttendeesDto {
486
+ eventAttendeeIds: string;
424
487
  }
425
- export declare class CreatePaymentPlanDto extends PaymentPlanDto {
426
- name: string;
488
+ export declare class FindProgramSeasonByIdQueryDto {
489
+ includeResources?: boolean;
427
490
  }
428
- export declare class CreateProductDto {
429
- id?: number;
430
- organizationId: number;
491
+ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
492
+ seasonId: number;
493
+ }
494
+ export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
495
+ seasonId: number;
496
+ }
497
+ export declare class DeleteProductDto {
498
+ deleteProduct?: boolean;
499
+ }
500
+ export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
501
+ userId: number;
502
+ }
503
+ export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
504
+ isFreeAgentsOnly?: boolean;
505
+ isPunchCardUsers?: boolean;
506
+ nameEmailSearch?: string;
507
+ }
508
+ export declare class BaseProgramSeasonDto {
509
+ programId: number;
431
510
  name: string;
432
- quantity?: number;
433
- isPublic: boolean;
434
- startDate?: Date;
435
- endDate?: Date;
511
+ status: PublishingStatusEnum;
512
+ seasonType: ProgramSeasonTypesEnum;
513
+ startDate: Date;
514
+ endDate: Date;
436
515
  description?: string;
437
- resourcesType?: ResourceNameTypeEnum;
438
- resourcesIdsToApplyOn?: number[];
439
516
  GL?: string;
440
- prices: CreatePriceDto[];
441
- downpayment?: number;
442
- productType: ProductTypesEnum;
443
- subProductType?: string;
444
- defaultForResourceId?: number;
445
- defaultForResourceType?: ResourceNameTypeEnum;
446
- entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
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[];
538
+ }
539
+ export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
540
+ subSeasons?: SubSeasonBasicInfo[];
541
+ }
542
+ export declare class CreateSessionScheduleDto {
543
+ startDate: Date;
544
+ endDate: Date;
545
+ activityTimes: ActivityTimesDto[];
546
+ blockedDated?: blockedDatesDto[];
547
+ subSeasons?: SubSeasonBasicInfo[];
548
+ }
549
+ export declare class SubSeasonBasicInfo {
550
+ name: string;
551
+ 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[];
447
705
  variantTitleIds?: number[];
448
706
  variants?: VariantWithPrice[];
449
707
  variantParentId?: number;
@@ -609,272 +867,14 @@ export declare class createProductAvailabilityTimesDto {
609
867
  availabilityEndDate?: string;
610
868
  daysOfWeek: number[];
611
869
  startTime: string;
612
- endTime: string;
613
- }
614
- export declare class createResourceDto {
615
- resourceId: number;
616
- resourceType: ResourceNameTypeEnum;
617
- }
618
- export declare class archiveDto {
619
- isArchive: boolean;
620
- }
621
- export declare class CreateMembershipDto {
622
- organizationId: number;
623
- name: string;
624
- description?: string;
625
- customerTypes: CustomerInMembershipTypeEnum[];
626
- activity: SportsEnum;
627
- facilityId: number;
628
- questionnaires: number[];
629
- minAgeYears: number;
630
- maxAgeYears: number;
631
- gender: GenderEnum;
632
- maxMembers?: number;
633
- maxMaleMembers?: number;
634
- maxFemaleMembers?: number;
635
- startDate: string;
636
- endDate: string;
637
- registrationStartDate?: Date;
638
- registrationEndDate?: Date;
639
- membershipType: MembershipTypeEnum;
640
- durationMonths: number;
641
- longDescription?: string;
642
- isAutoRenew?: boolean;
643
- }
644
- export declare class UpdateMembrshipDto extends CreateMembershipDto {
645
- id: number;
646
- }
647
- export declare class UpdateMembershipMediaDto {
648
- membershipId: number;
649
- mediaId: number;
650
- }
651
- export declare class FindMembershipByIdDto {
652
- membershipId: number;
653
- }
654
- export declare class FindMembershipsByOrganizationIdDto {
655
- organizationId: number;
656
- }
657
- export declare class FindMembershipsByUserIdDto {
658
- userId: number;
659
- }
660
- export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
661
- startDate: string;
662
- }
663
- export declare class MembershipIdsDto {
664
- membershipIds?: number[];
665
- }
666
- export declare class MemberIdDto {
667
- memberId?: number;
668
- }
669
- export declare class FindMembersOptionsDto extends PaginationQuery {
670
- nameEmailSearch?: string;
671
- pastMemberships?: string;
672
- }
673
- export declare class CancelMembershipDto {
674
- isImmediatelyCancel: boolean;
675
- cancellationReason?: string;
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[];
774
- }
775
- export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
776
- seasonId: number;
777
- }
778
- export declare class UpdateProgramSeasonStatusDto {
779
- seasonId: number;
780
- status: PublishingStatusEnum;
781
- }
782
- export declare class blockedDatesDto {
783
- name: string;
784
- startDate: Date;
785
- endDate: Date;
786
- }
787
- export declare class ActivityTimesDto {
788
- dayOfWeek: number;
789
- open: string;
790
- close: string;
791
- }
792
- export declare class ShallowUpdateProgramSeasonDto {
793
- seasonId: number;
794
- name: string;
795
- description?: string;
796
- questionnaires?: number[];
797
- maxParticipants?: number;
798
- maxMaleParticipants?: number;
799
- maxFemaleParticipants?: number;
800
- maxWaitlist?: number;
801
- maxMaleWaitlist?: number;
802
- maxFemaleWaitlist?: number;
803
- facilityId?: number;
804
- addressId?: number;
805
- sport?: SportsEnum;
806
- minAge?: string;
807
- maxAge?: string;
808
- gender?: GenderEnum;
809
- level?: LevelOfPlayEnum[];
810
- requiredProductIds?: number[];
811
- subSeasons?: ShallowUpdateSubSeasonDto[];
812
- }
813
- export declare class ShallowUpdateSubSeasonDto {
814
- id: number;
815
- name: string;
816
- }
817
- export declare class SpaceResourcePairDto {
818
- resourceType: ResourceNameTypeEnum;
819
- resourceId: number;
820
- spacesIds: number[];
821
- publicNotes?: string;
822
- privateNotes?: string;
823
- minutesBeforeSlot?: number;
824
- minutesAfterSlot?: number;
825
- }
826
- export declare class BulkSpaceResourceAllocationDto {
827
- spaceResourcePairs: SpaceResourcePairDto[];
828
- organizationId: number;
829
- }
830
- export declare class SingleSpaceAllocationByTimesDto {
831
- date: string;
832
- startTime: string;
833
- endTime: string;
834
- spaceId: number;
835
- publicNotes?: string;
836
- slotType?: SlotTypeEnum;
837
- }
838
- export declare class SpaceAllocationsByTimesDto {
839
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
840
- }
841
- export declare class UpdateSeasonDatesDto {
842
- startDate: Date;
843
- endDate: Date;
844
- }
845
- export declare class MoveAttendeeDto {
846
- userId: number;
847
- resourceType: ResourceNameTypeEnum;
848
- fromResourceIds: number[];
849
- toResourceIds: number[];
850
- }
851
- export declare class UpdateSeasonRegistrationDatesDto {
852
- registrationPeriods: UpdateSeasonDatesDto[];
853
- }
854
- export declare class RegistrationDatesDto {
855
- registrationStartDate: Date;
856
- registrationEndDate: Date;
857
- earlyRegistrationStartDate?: Date;
858
- earlyRegistrationEndDate?: Date;
859
- lateRegistrationStartDate?: Date;
860
- lateRegistrationEndDate?: Date;
861
- }
862
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
863
- closeRegistrationPeriodValue?: number;
864
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
865
- closeRegistrationSpecTime?: string;
866
- openRegistrationPeriodValue?: number;
867
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
868
- openRegistrationSpecTime?: string;
869
- productsIdsToUpdate?: number[];
870
+ endTime: string;
870
871
  }
871
- export declare class MoveParticipantDto {
872
- userId: number;
873
- oldProductId: number;
874
- newProductId: number;
875
- moveType: 'session' | 'segment';
872
+ export declare class createResourceDto {
876
873
  resourceId: number;
877
- orderId: number;
874
+ resourceType: ResourceNameTypeEnum;
875
+ }
876
+ export declare class archiveDto {
877
+ isArchive: boolean;
878
878
  }
879
879
  export declare class FindProgramsByOrganizationIdDto {
880
880
  organizationId: number;
@@ -1140,11 +1140,37 @@ export declare class AthleteSports extends BondBaseEntity {
1140
1140
  sports: number | null;
1141
1141
  levelOfPlay: LevelOfPlayEnum | null;
1142
1142
  }
1143
+ export declare class BlockedDate extends BondBaseEntity {
1144
+ entityType: ResourceNameTypeEnum;
1145
+ entityId: number;
1146
+ name: string;
1147
+ startDate: Date;
1148
+ endDate: Date;
1149
+ deletedAt?: Date;
1150
+ }
1143
1151
  export declare class BondBaseEntity extends BaseEntity {
1144
1152
  id: number;
1145
1153
  createdAt: Date;
1146
1154
  updatedAt: Date;
1147
1155
  }
1156
+ export declare class BookedSessions extends BondBaseEntity {
1157
+ reservationId?: number;
1158
+ color?: string;
1159
+ creatorId?: number;
1160
+ creatorType?: string;
1161
+ startDate?: Date | moment.Moment;
1162
+ endDate?: Date | moment.Moment;
1163
+ timezone?: string;
1164
+ spaceId?: number;
1165
+ percentage?: number;
1166
+ status?: string;
1167
+ originalSessionId?: number;
1168
+ isFinal?: boolean;
1169
+ concurrent?: number;
1170
+ deletedAt?: Date;
1171
+ publicNotes?: string;
1172
+ slotType?: SlotTypeEnum;
1173
+ }
1148
1174
  export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1149
1175
  parentId: number;
1150
1176
  parentType: ResourceNameTypeEnum;
@@ -1172,14 +1198,6 @@ export declare class Connection extends BondBaseEntity {
1172
1198
  userCreatorId: number | null;
1173
1199
  ownerId: number | null;
1174
1200
  }
1175
- export declare class BlockedDate extends BondBaseEntity {
1176
- entityType: ResourceNameTypeEnum;
1177
- entityId: number;
1178
- name: string;
1179
- startDate: Date;
1180
- endDate: Date;
1181
- deletedAt?: Date;
1182
- }
1183
1201
  export declare class CreditNote extends OrganizationConnectionBaseEntity {
1184
1202
  creditAmount: number;
1185
1203
  paymentProcessorId: string;
@@ -1349,10 +1367,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
1349
1367
  programSeasons: ProgramSeason[];
1350
1368
  linkSEO: string;
1351
1369
  }
1352
- export declare class FacilityToResource extends BondBaseEntity {
1353
- facilityId: number;
1354
- resourceId: number;
1355
- }
1356
1370
  export declare class FamilyAccount extends BondBaseEntity {
1357
1371
  name: string | null;
1358
1372
  userInFamilyAccounts: UserInFamilyAccount[];
@@ -1367,9 +1381,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1367
1381
  plannedDate: Date;
1368
1382
  chargedAt?: Date;
1369
1383
  }
1370
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1371
- code: string;
1372
- }
1373
1384
  export declare class Group extends BondBaseEntity {
1374
1385
  name: string;
1375
1386
  description?: string;
@@ -1386,11 +1397,6 @@ export declare class Group extends BondBaseEntity {
1386
1397
  members: ISeasonAttendeeInfo[];
1387
1398
  users: User[];
1388
1399
  }
1389
- export declare class GroupsInDivisions extends BondBaseEntity {
1390
- groupId: number;
1391
- divisionId: number;
1392
- deletedAt?: Date;
1393
- }
1394
1400
  export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1395
1401
  groupId: number;
1396
1402
  itemId: number;
@@ -1404,6 +1410,18 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1404
1410
  discountMethod?: DiscountMethodsEnum;
1405
1411
  discountValue?: number;
1406
1412
  }
1413
+ export declare class GroupsInDivisions extends BondBaseEntity {
1414
+ groupId: number;
1415
+ divisionId: number;
1416
+ deletedAt?: Date;
1417
+ }
1418
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1419
+ code: string;
1420
+ }
1421
+ export declare class FacilityToResource extends BondBaseEntity {
1422
+ facilityId: number;
1423
+ resourceId: number;
1424
+ }
1407
1425
  export declare class Invoice extends OrganizationConnectionBaseEntity {
1408
1426
  price: number;
1409
1427
  paymentProcessorId: string;
@@ -1451,32 +1469,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1451
1469
  invoiceId: number;
1452
1470
  invoice: Invoice;
1453
1471
  }
1454
- export declare class League extends OrganizationConnectionBaseEntity {
1455
- name: string | null;
1456
- description: string | null;
1457
- allowBookingRequest: boolean | null;
1458
- addressName: string | null;
1459
- shortDescription: string | null;
1460
- waiverDoc: string | null;
1461
- bookingStateStatus: number | null;
1462
- timezone: string | null;
1463
- shortUrl: string | null;
1464
- leagueType: string | null;
1465
- addressId: number | null;
1466
- sportConfigData: any | null;
1467
- creatorId: number | null;
1468
- creatorType: string | null;
1469
- userCreatorId: number | null;
1470
- ownerId: number | null;
1471
- sports: number[] | null;
1472
- mainMediaId: number | null;
1473
- publishedDate: Date | null;
1474
- isPublished: boolean | null;
1475
- isVerified: boolean | null;
1476
- questionnaireId: number | null;
1477
- logo?: Media;
1478
- seasons: LeagueSeason[];
1479
- }
1480
1472
  export declare class LeagueSeason extends BondBaseEntity {
1481
1473
  leagueId: number | null;
1482
1474
  name: string | null;
@@ -1521,6 +1513,32 @@ export declare class LeagueSeasonRelations {
1521
1513
  league?: boolean;
1522
1514
  facilities?: boolean;
1523
1515
  }
1516
+ export declare class League extends OrganizationConnectionBaseEntity {
1517
+ name: string | null;
1518
+ description: string | null;
1519
+ allowBookingRequest: boolean | null;
1520
+ addressName: string | null;
1521
+ shortDescription: string | null;
1522
+ waiverDoc: string | null;
1523
+ bookingStateStatus: number | null;
1524
+ timezone: string | null;
1525
+ shortUrl: string | null;
1526
+ leagueType: string | null;
1527
+ addressId: number | null;
1528
+ sportConfigData: any | null;
1529
+ creatorId: number | null;
1530
+ creatorType: string | null;
1531
+ userCreatorId: number | null;
1532
+ ownerId: number | null;
1533
+ sports: number[] | null;
1534
+ mainMediaId: number | null;
1535
+ publishedDate: Date | null;
1536
+ isPublished: boolean | null;
1537
+ isVerified: boolean | null;
1538
+ questionnaireId: number | null;
1539
+ logo?: Media;
1540
+ seasons: LeagueSeason[];
1541
+ }
1524
1542
  export declare class LineItemHistory extends BondBaseEntity {
1525
1543
  orderId: number;
1526
1544
  invoiceId: number;
@@ -1719,14 +1737,6 @@ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1719
1737
  orderId: number;
1720
1738
  order: Order;
1721
1739
  }
1722
- export declare class OrderToInvoice extends BondBaseEntity {
1723
- orderId: number;
1724
- invoiceId: number;
1725
- order: Order;
1726
- invoice: Invoice;
1727
- paidAmount?: number;
1728
- currency: CurrencyEnum;
1729
- }
1730
1740
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1731
1741
  organizationId: number;
1732
1742
  }
@@ -1747,18 +1757,20 @@ export declare class PackageV1 extends BondBaseEntity {
1747
1757
  isMandatory: boolean;
1748
1758
  productId: number;
1749
1759
  }
1760
+ export declare class OrderToInvoice extends BondBaseEntity {
1761
+ orderId: number;
1762
+ invoiceId: number;
1763
+ order: Order;
1764
+ invoice: Invoice;
1765
+ paidAmount?: number;
1766
+ currency: CurrencyEnum;
1767
+ }
1750
1768
  export declare class PasswordReset extends BondBaseEntity {
1751
1769
  token: string | null;
1752
1770
  userId: number | null;
1753
1771
  validUntil: Date | null;
1754
1772
  active: boolean | null;
1755
1773
  }
1756
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1757
- paymentPlanId: number;
1758
- paymentDate: Date;
1759
- deletedAt?: Date;
1760
- paymentPlan: ProductPaymentPlan;
1761
- }
1762
1774
  export declare class PaymentV1 extends BondBaseEntity {
1763
1775
  userId: number | null;
1764
1776
  ownerId: number | null;
@@ -1777,6 +1789,12 @@ export declare class PaymentV1 extends BondBaseEntity {
1777
1789
  installmentId: number | null;
1778
1790
  orderId: string | null;
1779
1791
  }
1792
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1793
+ paymentPlanId: number;
1794
+ paymentDate: Date;
1795
+ deletedAt?: Date;
1796
+ paymentPlan: ProductPaymentPlan;
1797
+ }
1780
1798
  export declare class Price extends OrganizationConnectionBaseEntity {
1781
1799
  productId: number;
1782
1800
  product: Product;
@@ -1858,15 +1876,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1858
1876
  durationDays?: number;
1859
1877
  level?: ProductPackageLevelEnum;
1860
1878
  }
1861
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1862
- productId: number;
1863
- maxMonths?: number;
1864
- dayOfMonth?: number;
1865
- name: string;
1866
- deletedAt?: Date;
1867
- schedule: PaymentPlanSchedule[];
1868
- product?: Product;
1869
- }
1870
1879
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1871
1880
  productId: number;
1872
1881
  resourceId: number;
@@ -1886,6 +1895,15 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1886
1895
  productId: number;
1887
1896
  variantId: number;
1888
1897
  }
1898
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1899
+ productId: number;
1900
+ maxMonths?: number;
1901
+ dayOfMonth?: number;
1902
+ name: string;
1903
+ deletedAt?: Date;
1904
+ schedule: PaymentPlanSchedule[];
1905
+ product?: Product;
1906
+ }
1889
1907
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1890
1908
  productId: number;
1891
1909
  customerId: number;
@@ -2016,10 +2034,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2016
2034
  product?: Product;
2017
2035
  event?: Event;
2018
2036
  }
2019
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2020
- title: string | null;
2021
- answerTitle: AnswerTitle;
2022
- }
2023
2037
  export declare class Questions extends BondBaseEntity {
2024
2038
  questionType: string | null;
2025
2039
  ordinal: number | null;
@@ -2050,6 +2064,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2050
2064
  closeTime?: string;
2051
2065
  deletedAt?: Date;
2052
2066
  }
2067
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2068
+ title: string | null;
2069
+ answerTitle: AnswerTitle;
2070
+ }
2053
2071
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2054
2072
  name?: string;
2055
2073
  description?: string;
@@ -2170,10 +2188,6 @@ export declare class SeasonTeam extends BondBaseEntity {
2170
2188
  metaData: any | null;
2171
2189
  team: Team;
2172
2190
  }
2173
- export declare class SpacesDependency extends BondBaseEntity {
2174
- blockingSpaceId: number;
2175
- blockedSpaceId: number;
2176
- }
2177
2191
  export declare class Station extends OrganizationConnectionBaseEntity {
2178
2192
  name: string;
2179
2193
  facilityId: number;
@@ -2185,6 +2199,10 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2185
2199
  subcategories: Subcategory[];
2186
2200
  shifts?: Shift[];
2187
2201
  }
2202
+ export declare class SpacesDependency extends BondBaseEntity {
2203
+ blockingSpaceId: number;
2204
+ blockedSpaceId: number;
2205
+ }
2188
2206
  export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2189
2207
  stationId: number;
2190
2208
  subcategoryId: number;
@@ -2292,12 +2310,6 @@ export declare class User extends BondBaseEntity {
2292
2310
  orderNotes: OrderNote[];
2293
2311
  invoiceNotes: InvoiceNote[];
2294
2312
  }
2295
- export declare class UserAuthorizations extends BondBaseEntity {
2296
- entityId: number | null;
2297
- userId: number | null;
2298
- entityType: UserAuthorizationsTypeEnum;
2299
- user: User;
2300
- }
2301
2313
  export declare class UserInFamilyAccount extends BondBaseEntity {
2302
2314
  familyAccountId: number;
2303
2315
  userId: number;
@@ -2311,6 +2323,12 @@ export declare class UsersInGroup extends BondBaseEntity {
2311
2323
  userId: number;
2312
2324
  deletedAt?: Date;
2313
2325
  }
2326
+ export declare class UserAuthorizations extends BondBaseEntity {
2327
+ entityId: number | null;
2328
+ userId: number | null;
2329
+ entityType: UserAuthorizationsTypeEnum;
2330
+ user: User;
2331
+ }
2314
2332
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2315
2333
  name: string;
2316
2334
  variants: Variant[];
@@ -2329,24 +2347,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2329
2347
  membershipCollectionId?: string;
2330
2348
  programsCollectionId?: string;
2331
2349
  }
2332
- export declare class BookedSessions extends BondBaseEntity {
2333
- reservationId?: number;
2334
- color?: string;
2335
- creatorId?: number;
2336
- creatorType?: string;
2337
- startDate?: Date | moment.Moment;
2338
- endDate?: Date | moment.Moment;
2339
- timezone?: string;
2340
- spaceId?: number;
2341
- percentage?: number;
2342
- status?: string;
2343
- originalSessionId?: number;
2344
- isFinal?: boolean;
2345
- concurrent?: number;
2346
- deletedAt?: Date;
2347
- publicNotes?: string;
2348
- slotType?: SlotTypeEnum;
2349
- }
2350
2350
  export declare enum EntitlementTermsTypesEnum {
2351
2351
  QUESTION = "question",
2352
2352
  CITY = "city",
@@ -3234,6 +3234,11 @@ export interface IReservationCreatorData {
3234
3234
  endDate: string;
3235
3235
  sportId: number;
3236
3236
  }
3237
+ export declare class ColumnNumericTransformer {
3238
+ to(data: number): number;
3239
+ from(data: string): number;
3240
+ }
3241
+ export declare function convertToNumber(data: string): number;
3237
3242
  export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3238
3243
  name?: string;
3239
3244
  genderStr?: string;
@@ -3245,43 +3250,8 @@ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3245
3250
  bondMembershipID?: number;
3246
3251
  }
3247
3252
  export declare class AddFamilyDto {
3248
- parents: AddImportedCustomerDto[];
3249
- children: AddImportedCustomerDto[];
3250
- }
3251
- export declare enum ImportPaymentTypeEnum {
3252
- CREDIT_CARD = "card",
3253
- ACH = "ach",
3254
- CASH = "cash",
3255
- CHECK = "check",
3256
- CARD_ON_TERMINAL = "card-on-terminal",
3257
- OTHER = "other"
3258
- }
3259
- export declare class ImportedInvoiceLineDto {
3260
- invoiceID?: string;
3261
- description: string;
3262
- createdDate: string;
3263
- createdTime: string;
3264
- quantity: string;
3265
- price: string;
3266
- total: string;
3267
- customerID: string;
3268
- resourceType: string;
3269
- resourceID: string;
3270
- }
3271
- export declare class ImportedInvoiceDto {
3272
- customerId?: string;
3273
- total?: string;
3274
- amountDue?: string;
3275
- payments?: ImportedPaymentDto[];
3276
- lines: any;
3277
- }
3278
- export declare class ImportedPaymentDto {
3279
- invoiceID: string;
3280
- type: ImportPaymentTypeEnum;
3281
- description: string;
3282
- paid: string;
3283
- date: string;
3284
- time: string;
3253
+ parents: AddImportedCustomerDto[];
3254
+ children: AddImportedCustomerDto[];
3285
3255
  }
3286
3256
  export declare class ProductIdsDto {
3287
3257
  productIds?: number[];
@@ -3354,6 +3324,50 @@ export declare class GameSlots extends BondBaseEntity {
3354
3324
  entityType: string;
3355
3325
  entityId: number;
3356
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
+ export declare enum ImportPaymentTypeEnum {
3337
+ CREDIT_CARD = "card",
3338
+ ACH = "ach",
3339
+ CASH = "cash",
3340
+ CHECK = "check",
3341
+ CARD_ON_TERMINAL = "card-on-terminal",
3342
+ OTHER = "other"
3343
+ }
3344
+ export declare class ImportedInvoiceLineDto {
3345
+ invoiceID?: string;
3346
+ description: string;
3347
+ createdDate: string;
3348
+ createdTime: string;
3349
+ quantity: string;
3350
+ price: string;
3351
+ total: string;
3352
+ customerID: string;
3353
+ resourceType: string;
3354
+ resourceID: string;
3355
+ }
3356
+ export declare class ImportedInvoiceDto {
3357
+ customerId?: string;
3358
+ total?: string;
3359
+ amountDue?: string;
3360
+ payments?: ImportedPaymentDto[];
3361
+ lines: any;
3362
+ }
3363
+ export declare class ImportedPaymentDto {
3364
+ invoiceID: string;
3365
+ type: ImportPaymentTypeEnum;
3366
+ description: string;
3367
+ paid: string;
3368
+ date: string;
3369
+ time: string;
3370
+ }
3357
3371
  export declare class Matches extends BondBaseEntity {
3358
3372
  eventId: number | null;
3359
3373
  status: number | null;
@@ -3398,15 +3412,6 @@ export declare class ByOrganizationIdDto {
3398
3412
  export declare class OptionalFindByOrganizationIdDto {
3399
3413
  organizationId?: number;
3400
3414
  }
3401
- export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3402
- key?: string;
3403
- vaule?: string;
3404
- version: number;
3405
- organization: Organization;
3406
- }
3407
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3408
- mainAdminUserId?: number;
3409
- }
3410
3415
  export declare class Organization extends BondBaseEntity {
3411
3416
  name: string | null;
3412
3417
  email: string | null;
@@ -3456,6 +3461,15 @@ export declare class Organization extends BondBaseEntity {
3456
3461
  brandings: OrganizationBranding[];
3457
3462
  brandingsV2?: OrganizationBranding[];
3458
3463
  }
3464
+ export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3465
+ key?: string;
3466
+ vaule?: string;
3467
+ version: number;
3468
+ organization: Organization;
3469
+ }
3470
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3471
+ mainAdminUserId?: number;
3472
+ }
3459
3473
  export declare class OrganizationUsers extends BondBaseEntity {
3460
3474
  organisationId: number | null;
3461
3475
  userId: number | null;
@@ -3609,6 +3623,95 @@ export declare class VoidLineItemDto {
3609
3623
  isEdit?: boolean;
3610
3624
  amount?: number;
3611
3625
  }
3626
+ export declare class ChangeRolePermissionsDto {
3627
+ permissionIds: number[];
3628
+ }
3629
+ export declare class CreateRoleDto {
3630
+ name: string;
3631
+ }
3632
+ export declare class Permission extends BondBaseEntity {
3633
+ name: string;
3634
+ deletedAt?: Date;
3635
+ }
3636
+ export declare class Role extends OrganizationConnectionBaseEntity {
3637
+ name: string;
3638
+ deletedAt?: Date;
3639
+ permissions: Permission[];
3640
+ usersRoles: UserRole[];
3641
+ }
3642
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
3643
+ deletedAt?: Date;
3644
+ userId: number;
3645
+ roleId: number;
3646
+ role: Role;
3647
+ user: User;
3648
+ }
3649
+ export declare class CloseShiftDto {
3650
+ closingCashAmount: number;
3651
+ }
3652
+ export declare class FindShiftsByIdsDto {
3653
+ shiftIds: number[];
3654
+ }
3655
+ export declare class FindShiftsFiltersDto {
3656
+ statuses?: string;
3657
+ stationIds?: string;
3658
+ openingUsersIds?: string;
3659
+ closingUsersIds?: string;
3660
+ closingManagersIds?: string;
3661
+ reconcilingUsersIds?: string;
3662
+ startDate?: Date;
3663
+ endDate?: Date;
3664
+ }
3665
+ export declare class FindShiftsFormattedFilters {
3666
+ statuses?: string[];
3667
+ stationIds?: number[];
3668
+ openingUsersIds?: number[];
3669
+ closingUsersIds?: number[];
3670
+ closingManagersIds?: number[];
3671
+ reconcilingUsersIds?: number[];
3672
+ startDate?: Date;
3673
+ endDate?: Date;
3674
+ }
3675
+ export declare class ShiftManagementClosingAmount {
3676
+ shiftId: number;
3677
+ managementClosingCashAmount: number;
3678
+ }
3679
+ export declare class ManagementClosingOfShiftsDto {
3680
+ managementClosingData: ShiftManagementClosingAmount[];
3681
+ }
3682
+ export declare class OpenShiftDto {
3683
+ openingCashAmount: number;
3684
+ stationId: number;
3685
+ }
3686
+ export declare class Shift extends OrganizationConnectionBaseEntity {
3687
+ stationId: number;
3688
+ station?: Station;
3689
+ status: ShiftStatusEnum;
3690
+ openingUserId: number;
3691
+ openingCashAmount: number;
3692
+ openingDate: string;
3693
+ openingTime: string;
3694
+ closingUserId?: number;
3695
+ closingCashAmount?: number;
3696
+ closingDate?: string;
3697
+ closingTime?: string;
3698
+ closingManagerId?: number;
3699
+ managementClosingCashAmount?: number;
3700
+ managementClosingDate?: string;
3701
+ managementClosingTime?: string;
3702
+ reconcilingUserId?: number;
3703
+ reconciliationAmount?: number;
3704
+ reconcilingDate?: string;
3705
+ reconcilingTime?: string;
3706
+ reconciliationOrderId?: number;
3707
+ deletedAt?: Date;
3708
+ sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
3709
+ currentCashDifference?: number;
3710
+ openingUser?: User;
3711
+ closingUser?: User;
3712
+ closingManager?: User;
3713
+ reconcilingUser?: User;
3714
+ }
3612
3715
  export declare class LineItemDto {
3613
3716
  id?: number;
3614
3717
  orderId?: number;
@@ -4021,15 +4124,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4021
4124
  targetGlobalPrice?: number;
4022
4125
  slots: Slot[];
4023
4126
  }
4024
- export declare class MatchParticipants extends BondBaseEntity {
4025
- matchId: number | null;
4026
- ordinal: number | null;
4027
- outcomeOrdinal: number | null;
4028
- resultMetaData: any | null;
4029
- points: number | null;
4030
- score: number | null;
4031
- gameSlotId: number | null;
4032
- }
4033
4127
  export declare class Segment extends OrganizationConnectionBaseEntity {
4034
4128
  deletedAt?: Date;
4035
4129
  reservationId: number;
@@ -4130,97 +4224,3 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4130
4224
  changeLineItems?: LineItems[];
4131
4225
  updatedLineItem?: LineItems;
4132
4226
  }
4133
- export declare class ChangeRolePermissionsDto {
4134
- permissionIds: number[];
4135
- }
4136
- export declare class CreateRoleDto {
4137
- name: string;
4138
- }
4139
- export declare class Permission extends BondBaseEntity {
4140
- name: string;
4141
- deletedAt?: Date;
4142
- }
4143
- export declare class Role extends OrganizationConnectionBaseEntity {
4144
- name: string;
4145
- deletedAt?: Date;
4146
- permissions: Permission[];
4147
- usersRoles: UserRole[];
4148
- }
4149
- export declare class UserRole extends OrganizationConnectionBaseEntity {
4150
- deletedAt?: Date;
4151
- userId: number;
4152
- roleId: number;
4153
- role: Role;
4154
- user: User;
4155
- }
4156
- export declare class ColumnNumericTransformer {
4157
- to(data: number): number;
4158
- from(data: string): number;
4159
- }
4160
- export declare function convertToNumber(data: string): number;
4161
- export declare class CloseShiftDto {
4162
- closingCashAmount: number;
4163
- }
4164
- export declare class FindShiftsByIdsDto {
4165
- shiftIds: number[];
4166
- }
4167
- export declare class FindShiftsFiltersDto {
4168
- statuses?: string;
4169
- stationIds?: string;
4170
- openingUsersIds?: string;
4171
- closingUsersIds?: string;
4172
- closingManagersIds?: string;
4173
- reconcilingUsersIds?: string;
4174
- startDate?: Date;
4175
- endDate?: Date;
4176
- }
4177
- export declare class FindShiftsFormattedFilters {
4178
- statuses?: string[];
4179
- stationIds?: number[];
4180
- openingUsersIds?: number[];
4181
- closingUsersIds?: number[];
4182
- closingManagersIds?: number[];
4183
- reconcilingUsersIds?: number[];
4184
- startDate?: Date;
4185
- endDate?: Date;
4186
- }
4187
- export declare class ShiftManagementClosingAmount {
4188
- shiftId: number;
4189
- managementClosingCashAmount: number;
4190
- }
4191
- export declare class ManagementClosingOfShiftsDto {
4192
- managementClosingData: ShiftManagementClosingAmount[];
4193
- }
4194
- export declare class OpenShiftDto {
4195
- openingCashAmount: number;
4196
- stationId: number;
4197
- }
4198
- export declare class Shift extends OrganizationConnectionBaseEntity {
4199
- stationId: number;
4200
- station?: Station;
4201
- status: ShiftStatusEnum;
4202
- openingUserId: number;
4203
- openingCashAmount: number;
4204
- openingDate: string;
4205
- openingTime: string;
4206
- closingUserId?: number;
4207
- closingCashAmount?: number;
4208
- closingDate?: string;
4209
- closingTime?: string;
4210
- closingManagerId?: number;
4211
- managementClosingCashAmount?: number;
4212
- managementClosingDate?: string;
4213
- managementClosingTime?: string;
4214
- reconcilingUserId?: number;
4215
- reconciliationAmount?: number;
4216
- reconcilingDate?: string;
4217
- reconcilingTime?: string;
4218
- reconciliationOrderId?: number;
4219
- deletedAt?: Date;
4220
- sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4221
- currentCashDifference?: number;
4222
- openingUser?: User;
4223
- closingUser?: User;
4224
- closingManager?: User;
4225
- reconcilingUser?: User;
4226
- }