@bondsports/types 0.0.117 → 0.0.118

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
@@ -9,13 +9,6 @@ export declare class BasicActivityTimesDto {
9
9
  availabilityStartDate?: string;
10
10
  availabilityEndDate?: string;
11
11
  }
12
- export declare class FindBookingTypeSettingDto {
13
- organizationId: number;
14
- facilityId: number;
15
- spaceId: number;
16
- bookingDate: string;
17
- bookingTime: string;
18
- }
19
12
  export declare class QuestionAnswersDto {
20
13
  questionId: number;
21
14
  value: any;
@@ -27,6 +20,13 @@ export declare class UserAnswersDto {
27
20
  export declare class GetByQuestionnaireIdsDto {
28
21
  questionnaireIds: string;
29
22
  }
23
+ export declare class FindBookingTypeSettingDto {
24
+ organizationId: number;
25
+ facilityId: number;
26
+ spaceId: number;
27
+ bookingDate: string;
28
+ bookingTime: string;
29
+ }
30
30
  export declare enum EConfigurationKeys {
31
31
  MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
32
32
  }
@@ -701,6 +701,50 @@ export declare class VariantDto {
701
701
  startDate: Date;
702
702
  endDate: Date;
703
703
  }
704
+ export declare class FindProgramsByOrganizationIdDto {
705
+ organizationId: number;
706
+ programType?: ProgramTypesEnum;
707
+ }
708
+ export declare class FindProgramByIdDto {
709
+ programId: number;
710
+ }
711
+ export declare class FindProgramByOrgIdAndIdDto {
712
+ programId: number;
713
+ organizationId: number;
714
+ }
715
+ export declare class BaseProgramDto {
716
+ type: ProgramTypesEnum;
717
+ name: string;
718
+ sport: SportsEnum;
719
+ minAge: string;
720
+ maxAge: string;
721
+ gender: GenderEnum;
722
+ level?: LevelOfPlayEnum[];
723
+ description?: string;
724
+ GL?: string;
725
+ status: PublishingStatusEnum;
726
+ organizationId: number;
727
+ userCreatorId: number;
728
+ highlights: ProgramHighlights[];
729
+ longDescription?: string;
730
+ requiredProductIds: number[];
731
+ }
732
+ export declare class CreateProgramDto extends BaseProgramDto {
733
+ }
734
+ export declare class UpdateProgramDto extends BaseProgramDto {
735
+ programId: number;
736
+ mainMediaId: number;
737
+ }
738
+ export declare class UpdateProgramStatusDto {
739
+ programId: number;
740
+ status: PublishingStatusEnum;
741
+ }
742
+ export declare class ProgramHighlightDto {
743
+ data: string;
744
+ ordinal: number;
745
+ type: ProgramHighlightTypeEnum;
746
+ title: string;
747
+ }
704
748
  export declare class FindProgramSeasonsByProgramIdDto {
705
749
  programId: number;
706
750
  }
@@ -888,50 +932,6 @@ export declare class MoveParticipantDto {
888
932
  resourceId: number;
889
933
  invoiceId: number;
890
934
  }
891
- export declare class FindProgramsByOrganizationIdDto {
892
- organizationId: number;
893
- programType?: ProgramTypesEnum;
894
- }
895
- export declare class FindProgramByIdDto {
896
- programId: number;
897
- }
898
- export declare class FindProgramByOrgIdAndIdDto {
899
- programId: number;
900
- organizationId: number;
901
- }
902
- export declare class BaseProgramDto {
903
- type: ProgramTypesEnum;
904
- name: string;
905
- sport: SportsEnum;
906
- minAge: string;
907
- maxAge: string;
908
- gender: GenderEnum;
909
- level?: LevelOfPlayEnum[];
910
- description?: string;
911
- GL?: string;
912
- status: PublishingStatusEnum;
913
- organizationId: number;
914
- userCreatorId: number;
915
- highlights: ProgramHighlights[];
916
- longDescription?: string;
917
- requiredProductIds: number[];
918
- }
919
- export declare class CreateProgramDto extends BaseProgramDto {
920
- }
921
- export declare class UpdateProgramDto extends BaseProgramDto {
922
- programId: number;
923
- mainMediaId: number;
924
- }
925
- export declare class UpdateProgramStatusDto {
926
- programId: number;
927
- status: PublishingStatusEnum;
928
- }
929
- export declare class ProgramHighlightDto {
930
- data: string;
931
- ordinal: number;
932
- type: ProgramHighlightTypeEnum;
933
- title: string;
934
- }
935
935
  export declare class PurchasePaymentDto {
936
936
  token: string;
937
937
  type: PaymentMethodTypeEnum;
@@ -1073,6 +1073,15 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1073
1073
  types?: string;
1074
1074
  resourcesIds?: string;
1075
1075
  }
1076
+ export declare class FindByUserIdDto {
1077
+ userId: number;
1078
+ }
1079
+ export declare class FindByFamilyAccountIdDto {
1080
+ familyAccountId?: number;
1081
+ }
1082
+ export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
1083
+ organizationId: number;
1084
+ }
1076
1085
  export declare class StripeCustomerIdDto {
1077
1086
  userId: number;
1078
1087
  }
@@ -1096,15 +1105,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
1096
1105
  oldValue?: any;
1097
1106
  newValue?: any;
1098
1107
  }
1099
- export declare class FindByUserIdDto {
1100
- userId: number;
1101
- }
1102
- export declare class FindByFamilyAccountIdDto {
1103
- familyAccountId?: number;
1104
- }
1105
- export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
1106
- organizationId: number;
1107
- }
1108
1108
  export declare class ActivityTimes extends BondBaseEntity {
1109
1109
  parentType: ResourceNameTypeEnum | ProductTypesEnum;
1110
1110
  parentId: number;
@@ -1153,6 +1153,11 @@ export declare class Athlete extends BondBaseEntity {
1153
1153
  metadata: object | null;
1154
1154
  athleteSports: AthleteSports[];
1155
1155
  }
1156
+ export declare class AthleteSports extends BondBaseEntity {
1157
+ athleteId: number | null;
1158
+ sports: number | null;
1159
+ levelOfPlay: LevelOfPlayEnum | null;
1160
+ }
1156
1161
  export declare class BlockedDate extends BondBaseEntity {
1157
1162
  entityType: ResourceNameTypeEnum;
1158
1163
  entityId: number;
@@ -1161,11 +1166,6 @@ export declare class BlockedDate extends BondBaseEntity {
1161
1166
  endDate: Date;
1162
1167
  deletedAt?: Date;
1163
1168
  }
1164
- export declare class AthleteSports extends BondBaseEntity {
1165
- athleteId: number | null;
1166
- sports: number | null;
1167
- levelOfPlay: LevelOfPlayEnum | null;
1168
- }
1169
1169
  export declare class BondBaseEntity extends BaseEntity {
1170
1170
  id: number;
1171
1171
  createdAt: Date;
@@ -1360,6 +1360,9 @@ export declare class Event extends OrganizationConnectionBaseEntity {
1360
1360
  activityTimes: ActivityTimes[];
1361
1361
  slots: Slot[];
1362
1362
  purchasedResources: PurchasedResource[];
1363
+ program?: Program;
1364
+ session?: ProgramSeason;
1365
+ segment?: ProgramSeason;
1363
1366
  }
1364
1367
  export declare class Facility extends OrganizationConnectionBaseEntity {
1365
1368
  name: string;
@@ -2386,908 +2389,903 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2386
2389
  membershipCollectionId?: string;
2387
2390
  programsCollectionId?: string;
2388
2391
  }
2389
- export declare enum EntitlementTermsTypesEnum {
2390
- QUESTION = "question",
2391
- CITY = "city",
2392
- MEMBERSHIP = "membership"
2392
+ export interface IEntitlementTerms {
2393
+ type: EntitlementTermsTypesEnum;
2394
+ id?: number;
2395
+ value?: string;
2396
+ minValue?: string;
2397
+ maxValue?: string;
2393
2398
  }
2394
- export declare enum ResourceNameTypeEnum {
2395
- EVENT = "event",
2396
- VENUE = "venue",
2397
- TEAM = "team",
2398
- LEAGUE = "league",
2399
- USER = "user",
2400
- ORGANIZATION = "organization",
2401
- APP = "app",
2402
- FEED = "feed",
2403
- MATCH = "match",
2404
- ROUND = "round",
2405
- PORTAL = "portal",
2406
- SEASON = "season",
2407
- TOURNAMENT = "tournament",
2408
- MEMBERSHIP = "membership",
2409
- DIVISION = "division",
2410
- GAMESLOT = "gameslot",
2411
- SPACE = "space",
2412
- RESERVATION = "reservation",
2413
- INVOICE = "invoice",
2414
- CUSTOMER = "customer",
2415
- PACKAGE = "package",
2416
- FACILITY = "facility",
2417
- PROGRAM = "program",
2418
- PROGRAM_SEASON = "program_season",
2419
- PRODUCT = "product",
2420
- GROUP = "group",
2421
- VARIANT = "variant",
2422
- SLOT = "slot",
2423
- ADDON = "addon"
2399
+ export interface IQuestionAnswerObject {
2400
+ questionId: number;
2401
+ value: string;
2424
2402
  }
2425
- export declare enum DirectBookingTypesEnum {
2426
- DIRECT_FOR_ALL = "all",
2427
- DIRECT_FOR_NONE = "none",
2428
- DIRECT_VETTED_ONLY = "vetted_only",
2429
- NO_SETTING = "no_setting"
2403
+ export interface ILowestPriceForItem {
2404
+ itemId: number;
2405
+ itemType: ResourceNameTypeEnum;
2406
+ groupId: number;
2407
+ groupName?: string;
2408
+ price: number;
2409
+ overridesPrice: boolean;
2430
2410
  }
2431
- export declare enum GenderEnum {
2432
- OTHER = 1,
2433
- MALE = 2,
2434
- FEMALE = 3
2411
+ export interface IResourcesAvailability {
2412
+ resourceType: ResourceNameTypeEnum;
2413
+ quantity: number;
2414
+ resourcesIds: number[];
2415
+ isPunchCard: boolean;
2416
+ resources?: any[];
2435
2417
  }
2436
- export declare enum LevelOfPlayEnum {
2437
- BEGINNER = 1,
2438
- INTERMEDIATE = 2,
2439
- ADVANCED = 3,
2440
- SEMIPRO = 4,
2441
- SPECTATOR = 5
2418
+ export interface IPackageResponse {
2419
+ parentProduct: Product;
2420
+ children: IChildProduct[];
2442
2421
  }
2443
- export declare enum ProgramTypesEnum {
2444
- LEAGUE = 0,
2445
- TOURNAMENT = 1,
2446
- CLASS = 2,
2447
- CLINIC = 3,
2448
- CAMP = 4,
2449
- LESSON = 5,
2450
- CLUB_TEAM = 6
2422
+ export interface IChildProduct {
2423
+ product: Product;
2424
+ relationType: PackageProductsRelationTypeEnum;
2425
+ timePeriod?: AddonTimePeriodEnum;
2451
2426
  }
2452
- export declare enum ProgramSeasonTypesEnum {
2453
- ROUND_ROBIN = 1,
2454
- BRACKETS = 2,
2455
- CAMP_CLINIC_CLASS = 3
2427
+ export interface ISeasonAttendeeInfo {
2428
+ applicationAnswers: Answer[];
2429
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2430
+ invoices: Invoice[];
2431
+ payments: Payment[];
2432
+ products: Product[];
2433
+ redeemNext: ProductsUsers;
2456
2434
  }
2457
- export declare enum SportsEnum {
2458
- SOFTBALL = 1,
2459
- BASKETBALL = 2,
2460
- FOOTBALL = 3,
2461
- SOCCER = 4,
2462
- BOWLING = 5,
2463
- BOCCEBALL = 6,
2464
- CORNHOLE = 7,
2465
- DODGEBALL = 8,
2466
- FRISBEE = 9,
2467
- HOCKEY = 10,
2468
- KICKBALL = 11,
2469
- LACROSSE = 12,
2470
- PINGPONG = 13,
2471
- RUGBY = 14,
2472
- SKEEBALL = 15,
2473
- TENNIS = 16,
2474
- VOLLEYBALL = 17,
2475
- WIFFLEBALL = 18,
2476
- BADMINTON = 19,
2477
- FITNESS = 20,
2478
- GOLF = 21,
2479
- PILATES = 22,
2480
- RUNNING = 23,
2481
- SKIING = 24,
2482
- SNOWBOARDING = 25,
2483
- YOGA = 26,
2484
- BROOMBALL = 27,
2485
- CRICKET = 28,
2486
- CROSSFIT = 29,
2487
- CYCLING = 30,
2488
- FIELD_HOCKEY = 31,
2489
- RACQUETBALL = 32,
2490
- SPINNING = 33,
2491
- SQUASH = 34,
2492
- SURFING = 35,
2493
- SWIMMING = 36,
2494
- WIND_SURFING = 37,
2495
- ADVENTURE = 38,
2496
- BOXING = 39,
2497
- BASEBALL = 40,
2498
- DANCE = 41,
2499
- KICKBOXING = 42,
2500
- MARTIAL_ARTS = 43,
2501
- OUTDOORS = 44,
2502
- ROWING = 45,
2503
- SAILING = 46,
2504
- SUP = 47,
2505
- TRIATHLON = 48,
2506
- HANDBALL = 49,
2507
- CATCHBALL = 50,
2508
- BLITZBALL = 51,
2509
- ROLLER_DERBY = 52,
2510
- ICE_SKATING = 53,
2511
- PICKLEBALL = 54,
2512
- AXE_THROWING = 55,
2513
- FURSAL = 56,
2514
- BIRTHDAY = 57,
2515
- CORPRATE_EVENTS = 58,
2516
- OTHER = 999
2517
- }
2518
- export declare enum PublishingStatusEnum {
2519
- DRAFT = 1,
2520
- PUBLISHED = 2,
2521
- CLOSED = 3,
2522
- CANCELLED = 4,
2523
- ARCHIVE = 5,
2524
- UNPUBLISHED = 6
2525
- }
2526
- export declare enum ProgramHighlightTypeEnum {
2527
- OTHER = 1,
2528
- MINAGE = 2,
2529
- MAXAGE = 3,
2530
- GENDER = 4,
2531
- LEVELOFPLAY = 5,
2532
- GAMESSEASON = 6,
2533
- MINWEEK = 7,
2534
- SURFACE = 8,
2535
- FORMAT = 9,
2536
- PLAYERS_PER_TEAM = 10,
2537
- MATCH_LENGTH = 12
2435
+ export interface ISeasonAttendeeListInfo {
2436
+ userId: number;
2437
+ userFirstName: string;
2438
+ userLastName: string;
2439
+ userGender: number;
2440
+ userBirthDate: Date;
2441
+ userProfilePicUrl: string;
2442
+ customerId: number;
2443
+ customerEmail: string;
2444
+ paymentStatus: string;
2445
+ productName: string;
2446
+ punchCard: boolean;
2538
2447
  }
2539
- export declare enum RequestStatusEnum {
2540
- PENDING = 1,
2541
- ACCEPTED = 2,
2542
- DECLINED = 3
2448
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2449
+ segmentType: ResourceNameTypeEnum;
2450
+ participantRegisteredDate?: string;
2543
2451
  }
2544
- export declare enum PaymentStatusEnum {
2545
- NOT_PAID = "not_paid",
2546
- PARTIAL_PAYMENT = "partial",
2547
- FULLY_PAID = "paid",
2548
- REFUNDED = "refunded",
2549
- VOID = "void"
2452
+ export declare class EventAsSeasonSegment extends Event {
2453
+ segmentType: ResourceNameTypeEnum;
2454
+ participantRegisteredDate?: string;
2550
2455
  }
2551
- export declare enum ReservationExtendedEnum {
2552
- PURCHASE_ORDER = "purchase_order"
2456
+ export interface ITokenResonse {
2457
+ token: string;
2553
2458
  }
2554
- export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2555
- export declare enum ReservationStatusEnum {
2556
- PLANNED = "Planned",
2557
- APPROVED = "Approved",
2558
- AWAITING_ADMIN = "Awaiting Admin",
2559
- AWAITING_CUSTOMER = "Awaiting Customer",
2560
- REJECTED = "Rejected",
2561
- CANCELED = "Canceled"
2459
+ export interface IStripeBondInvoices {
2460
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2461
+ bondPaidPayment: Payment;
2462
+ invoice?: Invoice;
2463
+ customer?: Customer;
2562
2464
  }
2563
- export declare enum PaymentStatusV1Enum {
2564
- SENT_TO_CLIENT = 1,
2565
- SENT_FOR_PAYMENT = 2,
2566
- ACCEPTED = 3,
2567
- REJECTED = 4,
2568
- CANCELLED = 5,
2569
- FRAUD = 6,
2570
- NOT_RELEVANT = 7,
2571
- PENDING = 8
2465
+ export interface IPartialPaymentData {
2466
+ purchasingUserId: number;
2467
+ paymentData: PurchasePaymentDto;
2468
+ amountToPay: number;
2572
2469
  }
2573
- export declare enum PaymentMethodsEnum {
2574
- STRIPE = 1,
2575
- CASH = 3
2470
+ export interface IPayment {
2471
+ id: number;
2472
+ total: number;
2473
+ paymentMethod: PaymentMethodTypeEnum;
2474
+ status: PaymentStatusEnum;
2475
+ createdAt: Date;
2476
+ invoices: number[];
2576
2477
  }
2577
- export declare enum PackageProductsRelationTypeEnum {
2578
- CHILD = "child",
2579
- UPSALE = "upsale"
2478
+ export interface IPaginationData<T> {
2479
+ meta: {
2480
+ totalItems: number;
2481
+ itemsPerPage: number;
2482
+ totalPages: number;
2483
+ currentPage: number;
2484
+ };
2485
+ data: T[];
2580
2486
  }
2581
- export declare enum AddonTimePeriodEnum {
2582
- FULL = "full",
2583
- SESSION = "session",
2584
- EVENT = "event"
2487
+ export interface IPricesOfProductsResults {
2488
+ productId: number;
2489
+ userId: number;
2490
+ price: number;
2491
+ groupId?: number;
2492
+ groupName?: string;
2493
+ originalPrice?: number;
2494
+ priceWithoutTax: number;
2495
+ tax: number;
2496
+ isTaxInclusive: boolean;
2585
2497
  }
2586
- export declare enum CurrencyEnum {
2587
- USD = "USD"
2498
+ export interface IPaymentMethodToFundLeft {
2499
+ paymentType: PaymentMethodTypeEnum;
2500
+ paymentMethodId: string;
2501
+ fundLeft: number;
2502
+ ccLast4?: string;
2503
+ ccBrand?: string;
2588
2504
  }
2589
- export declare enum NotificationTypeEnum {
2590
- BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2591
- BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2592
- BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2505
+ export interface IVariantsAndTitle {
2506
+ title: VariantTitle;
2507
+ variants: Variant[];
2593
2508
  }
2594
- export declare enum ProductTypesEnum {
2595
- RESERVATION = "reservation",
2596
- REGISTRATION = "registration",
2597
- MEMBERSHIP = "membership",
2598
- GOODS = "goods",
2599
- PACKAGE = "package",
2600
- REFUND_COMPENSATION = "refund",
2601
- CASH_OVER_SHORT = "cash_over_short",
2602
- PETTY_CASH = "petty_cash",
2603
- LEAGUE_REGISTRATION = "league_registration",
2604
- TAX = "tax"
2509
+ export interface IProgramSeasonActivityTimes {
2510
+ dayOfWeek: number;
2511
+ open: string;
2512
+ close: string;
2605
2513
  }
2606
- export declare enum InvoiceStatusEnum {
2607
- ACTIVE = "active",
2608
- WAITING_ADMIN = "waitingAdmin",
2609
- WAITING_CLIENT = "waitingClient",
2610
- CANCELED = "canceled"
2514
+ export interface IProgramSeasonActivityTimesAsDates {
2515
+ date: string;
2516
+ startTime: string;
2517
+ endTime: string;
2611
2518
  }
2612
- export declare enum LineItemsStatusEnum {
2613
- USER_PRODUCT = "UserProduct",
2614
- RENTAL_PRODUCT = "RentalProduct"
2519
+ export interface IBlockedDates {
2520
+ name: string;
2521
+ startDate: Date;
2522
+ endDate: Date;
2615
2523
  }
2616
- export declare enum ProductSubTypesEnum {
2617
- SEASON_INDIVIDUAL = "season_individual",
2618
- SEASON_TEAM = "season_team",
2619
- SEASON_PER_PLAYER = "season_per_player"
2524
+ export interface ISingleMemberForRenewal {
2525
+ member_id: number;
2526
+ member_membershipId: number;
2527
+ member_userId: number;
2528
+ member_nextPaymentMethodId?: string;
2529
+ member_nextPaymentType?: PaymentMethodTypeEnum;
2530
+ member_answerTitleIds?: number[];
2531
+ member_organizationId: number;
2532
+ line_paidAmount: number;
2533
+ line_productId: number;
2534
+ invoice_payingUserId: number;
2535
+ invoice_paymentMethodId: string;
2536
+ invoice_paymentType: PaymentMethodTypeEnum;
2537
+ endDate: Date;
2538
+ membership_name: string;
2539
+ user_firstName: string;
2540
+ user_lastName: string;
2541
+ user_email: string;
2620
2542
  }
2621
- export declare enum PaymentMethodTypeEnum {
2622
- CREDIT_CARD = "card",
2623
- ACH = "ach",
2624
- CASH = "cash",
2625
- CHECK = "check",
2626
- BALANCE = "balance",
2627
- CARD_ON_TERMINAL = "card-on-terminal",
2628
- OTHER = "other",
2629
- MIGRATED = "migrated",
2630
- VOID = "void"
2543
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2544
+ package_parentProductId: number;
2545
+ line2_paidAmount: number;
2546
+ familyid: number;
2547
+ invoice_id: number;
2631
2548
  }
2632
- export declare enum RefundTypeEnum {
2633
- LEAVE_BALANCE = "leave_balance",
2634
- REDUCE_BALANCE = "reduce_balance"
2549
+ export interface IResourceRegistrationData {
2550
+ id: number;
2551
+ resourceType: ResourceNameTypeEnum;
2552
+ openNumDays?: number;
2553
+ openNumMinutes?: number;
2554
+ openTime?: string;
2555
+ closeNumDays?: number;
2556
+ closeNumMinutes?: number;
2557
+ closeTime?: string;
2558
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
2635
2559
  }
2636
- export declare enum CustomerInMembershipTypeEnum {
2637
- INDIVIDUAL = "individual",
2638
- FAMILY = "family",
2639
- ORGANIZATION = "organization"
2560
+ export interface IResourceDataForConstraintsCalc {
2561
+ id: number;
2562
+ startDate: string;
2563
+ startTime: string;
2640
2564
  }
2641
- export declare enum MembershipTypeEnum {
2642
- FIXED = "fix_membership",
2643
- ROLLING = "rolling_membership"
2565
+ export interface IRegistrationConstraintsSetting {
2566
+ numDays?: number;
2567
+ numMinutes?: number;
2644
2568
  }
2645
- export declare enum CustomerTypeEnum {
2646
- USER = "user",
2647
- FAMILY = "family",
2648
- ORGANIZATION = "organization"
2649
- }
2650
- export declare enum GroupStatusEnum {
2651
- ACTIVE = 1,
2652
- INACTIVE = 2,
2653
- DRAFT = 3
2569
+ export interface IAttendeeDataToNotify {
2570
+ firstName: string;
2571
+ lastName: string;
2572
+ email: string;
2573
+ sessionName: string;
2574
+ parentSessionName?: string;
2575
+ organizationName: string;
2576
+ programName: string;
2654
2577
  }
2655
- export declare enum FutureInstallmentStatusEnum {
2656
- FUTURE = "future",
2657
- SUCCEEDED = "succeeded",
2658
- FAILED = "failed",
2659
- CANCELED = "canceled"
2578
+ export interface IEventInSchedule {
2579
+ eventId: number;
2580
+ eventName: string;
2581
+ eventStartDate: string;
2582
+ eventEndDate: string;
2583
+ eventStartTime: string;
2584
+ eventEndTime: string;
2585
+ programId: number;
2586
+ programName: string;
2587
+ programType: ProgramTypesEnum;
2588
+ sessionId: number;
2589
+ sessionName: string;
2590
+ sports: number;
2591
+ spaces: {
2592
+ spaceId: number;
2593
+ spaceName: string;
2594
+ }[];
2595
+ status?: RegistrationValidationStatusEnum;
2660
2596
  }
2661
- export declare enum EntryStatusEnum {
2662
- ENTERED = 1,
2663
- NOT_ENTERED = 2,
2664
- CANCELED = 3
2597
+ export interface ISlotInSchedule {
2598
+ facilityId: number;
2599
+ facilityName: string;
2600
+ spaces: ISpaceWithSlots[];
2665
2601
  }
2666
- export declare enum PurchasedResourceStatusEnum {
2667
- ACTIVE = 1,
2668
- MOVED = 2,
2669
- CANCELED = 3
2602
+ export interface ISpaceWithSlots {
2603
+ id: number;
2604
+ name: string;
2605
+ slots: ISlotReservationData[];
2670
2606
  }
2671
- export declare enum TeamCanJoinEnum {
2672
- ANYONE = "anyone",
2673
- BY_INVITE = "byInvite",
2674
- CAPTAIN_APPROVAL = "captainApproval"
2607
+ export interface ISlotReservationData {
2608
+ reservationId: number;
2609
+ reservationName: string;
2610
+ date: string;
2611
+ startTime: string;
2612
+ endTime: string;
2613
+ notes: string;
2614
+ spaceId: number;
2615
+ isRental: boolean;
2616
+ slotType: SlotTypeEnum;
2617
+ slotId: number;
2618
+ eventId: number;
2619
+ isPrivate: boolean;
2675
2620
  }
2676
- export declare enum TeamMemberStatusEnum {
2677
- PENDING = 1,
2678
- ACTIVE = 2,
2679
- DECLINED = 3,
2680
- SUSPENDED = 4,
2681
- INACTIVE = 5,
2682
- INVITED = 6
2621
+ export interface IRawEventInSchedule extends IEventInSchedule {
2622
+ parentSessionId: number;
2623
+ parentSessionName: string;
2624
+ eventTimezone: string;
2625
+ maxParticipants: number;
2626
+ maxMaleParticipants: number;
2627
+ maxFemaleParticipants: number;
2628
+ isPunchCard: boolean;
2683
2629
  }
2684
- export declare enum TeamMemberRoleEnum {
2685
- NULL = 0,
2686
- ADMIN = 1
2630
+ export interface IBasicSpaceAndSlotCreator {
2631
+ id: number;
2632
+ name: string;
2633
+ bookingCreatorId: number;
2687
2634
  }
2688
- export declare enum DayOfWeekEnum {
2689
- SUNDAY = 0,
2690
- MONDAY = 1,
2691
- TUESDAY = 2,
2692
- WEDNESDAY = 3,
2693
- THURSDAY = 4,
2694
- FRIDAY = 5,
2695
- SATURDAY = 6
2635
+ export interface IRawSlotInSchedule {
2636
+ startDate: string;
2637
+ endDate: string;
2638
+ startTime: string;
2639
+ endTime: string;
2640
+ reservationId: number;
2641
+ eventTitle: string;
2642
+ publicNotes: string;
2643
+ spaceId: number;
2644
+ creatorType: ResourceNameTypeEnum;
2645
+ slotType: SlotTypeEnum;
2646
+ slotId: number;
2647
+ eventId: number;
2648
+ isPrivate: boolean;
2696
2649
  }
2697
- export declare enum ActionTypesEnum {
2698
- CREATE = "create",
2699
- READ = "read",
2700
- UPDATE = "update",
2701
- DELETE = "delete"
2650
+ export interface IPurchasedResourcesRaw {
2651
+ purchasedId: number;
2652
+ purchasedProductUserId: number;
2653
+ purchasedResourceId: number;
2654
+ purchasedResourceType: ResourceNameTypeEnum;
2655
+ purchasedStatus: PurchasedResourceStatusEnum;
2656
+ pUserId: number;
2657
+ pUserPaymentStatus: PaymentStatusEnum;
2658
+ pUserProductId: number;
2659
+ pUserProductName: string;
2660
+ pUserProductPrice: number;
2661
+ pUserProductPriceCurrency: string;
2662
+ pUserProductQuantity: number;
2663
+ pUserProductQuantityLeft: number;
2664
+ pUserUserId: number;
2702
2665
  }
2703
- export declare enum ActionSourcePlatformEnum {
2704
- ADMIN = "admin",
2705
- BACKOFFICE = "backoffice",
2706
- CONSUMER = "consumer"
2666
+ export interface IUsersPasses {
2667
+ userId: number;
2668
+ userFirstName: string;
2669
+ userLastName: string;
2670
+ organizationId: number;
2671
+ programId: number;
2672
+ programName: string;
2673
+ sessionId: number;
2674
+ sessionName: string;
2675
+ productId: number;
2676
+ productName: string;
2677
+ productUserId: number;
2678
+ purchaseDate: Date;
2679
+ passesLeft: number;
2707
2680
  }
2708
- export declare enum RolesEnum {
2709
- ORG_ADMIN = "organizationAdmin",
2710
- BOND_ADMIN = "bondAdmin"
2681
+ export interface ISessionsLandingPage {
2682
+ sessionId: number;
2683
+ name: string;
2684
+ startDate: Date;
2685
+ endDate: Date;
2686
+ registrationStartDate: Date;
2687
+ registrationEndDate: Date;
2688
+ sport: SportsEnum;
2689
+ minAge: string;
2690
+ maxAge: string;
2691
+ maxParticipants?: number;
2692
+ gender: GenderEnum;
2693
+ activityTimes: ActivityTimes[];
2694
+ earlyRegistrationStartDate?: Date;
2695
+ earlyRegistrationEndDate?: Date;
2696
+ lateRegistrationStartDate?: Date;
2697
+ lateRegistrationEndDate?: Date;
2698
+ attendeeCount?: number;
2699
+ segmentsOrEvents: 'segment' | 'event';
2711
2700
  }
2712
- export declare enum SeasonPoolStatusEnum {
2713
- IN_POOL = 5,
2714
- ASSIGNED = 1,
2715
- QUIT = 2,
2716
- SUSPENDED = 3,
2717
- INACTIVE = 4
2701
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2702
+ hasRequiredMembership: boolean;
2703
+ hasEntitledPricing: boolean;
2704
+ lowestPrice?: number;
2705
+ products?: ISessionLandingPageProduct[];
2718
2706
  }
2719
- export declare enum AmenitiesEnum {
2720
- HEAT = 1,
2721
- AC = 2,
2722
- WIFI = 3,
2723
- RESTROOMS = 4,
2724
- DRINKING_FOUNTAIN = 5,
2725
- PARKING = 6,
2726
- CONCESSIONS = 7,
2727
- SHELTER = 8,
2728
- PORTABLE_RESTROOMS = 9,
2729
- LIGHTS = 10,
2730
- LOCKER_ROOM = 11,
2731
- PAID_PARKING = 12,
2732
- ACCESSIBLE = 13
2707
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2708
+ hasRequiredMembership: boolean;
2709
+ hasEntitledPricing: boolean;
2710
+ products?: ISessionLandingPageProduct[];
2711
+ segments?: Event[] | ProgramSeason[];
2712
+ programName: string;
2713
+ programId: number;
2714
+ levelOfPlay: LevelOfPlayEnum[];
2715
+ registrationConstraints: IResourceRegistrationData[];
2733
2716
  }
2734
- export declare enum ResourceSubTypeEnum {
2735
- COURT = "court",
2736
- FIELD = "field",
2737
- ROOM = "room",
2738
- DIAMOND = "diamond",
2739
- RINK = "rink",
2740
- STUDIO = "studio",
2741
- POOL = "pool",
2742
- BATTING_CAGE = "batting cage",
2743
- SHELTER = "shelter",
2744
- GOLF_SIMULATOR = "golf simulator"
2717
+ export interface ISlimAddons {
2718
+ addons?: {
2719
+ id: number;
2720
+ timePeriod: AddonTimePeriodEnum;
2721
+ name: string;
2722
+ productType?: ProductTypesEnum;
2723
+ productSubType?: string;
2724
+ }[];
2745
2725
  }
2746
- export declare enum ResourceTypeEnum {
2747
- SPACE = "space"
2726
+ export interface ISessionLandingPageProduct extends ISlimAddons {
2727
+ id: number;
2728
+ name: string;
2729
+ startDate?: Date;
2730
+ endDate?: Date;
2731
+ downpayment?: number;
2732
+ description?: string;
2733
+ prices: Price[];
2734
+ productSubType?: ProductSubTypesEnum;
2735
+ punchCard: boolean;
2736
+ isAddon: boolean;
2737
+ defaultPriceId?: number;
2748
2738
  }
2749
- export declare enum ResourceAgesEnum {
2750
- ADULTS = "adults",
2751
- CHILDREN = "children"
2739
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2740
+ destinationId?: string;
2741
+ stripeCustomerId?: string;
2742
+ fee?: number;
2752
2743
  }
2753
- export declare enum SpacePropertiesEnum {
2754
- OUTDOOR = "outdoor",
2755
- INDOOR = "indoor"
2744
+ export interface IReservationCreatorData {
2745
+ type: ResourceNameTypeEnum;
2746
+ id: number;
2747
+ organizationId: number;
2748
+ startDate: string;
2749
+ endDate: string;
2750
+ sportId: number;
2756
2751
  }
2757
- export declare enum SurfacesEnum {
2758
- GRASS = "grass",
2759
- TURF = "turf",
2760
- FIELD_TURF = "fieldTurf",
2761
- ASTRO_TURF = "astroTurf",
2762
- HARDWOOD = "hardwood",
2763
- ASPHALT = "asphalt",
2764
- SAND = "sand",
2765
- ICE = "ice",
2766
- SPORT_COURT = "sportCourt"
2752
+ export declare enum EntitlementTermsTypesEnum {
2753
+ QUESTION = "question",
2754
+ CITY = "city",
2755
+ MEMBERSHIP = "membership"
2767
2756
  }
2768
- export declare enum RegistrationConstraintPeriodTypeEnum {
2769
- MINUTES = "minutes",
2770
- DAYS = "days"
2757
+ export declare enum ResourceNameTypeEnum {
2758
+ EVENT = "event",
2759
+ VENUE = "venue",
2760
+ TEAM = "team",
2761
+ LEAGUE = "league",
2762
+ USER = "user",
2763
+ ORGANIZATION = "organization",
2764
+ APP = "app",
2765
+ FEED = "feed",
2766
+ MATCH = "match",
2767
+ ROUND = "round",
2768
+ PORTAL = "portal",
2769
+ SEASON = "season",
2770
+ TOURNAMENT = "tournament",
2771
+ MEMBERSHIP = "membership",
2772
+ DIVISION = "division",
2773
+ GAMESLOT = "gameslot",
2774
+ SPACE = "space",
2775
+ RESERVATION = "reservation",
2776
+ INVOICE = "invoice",
2777
+ CUSTOMER = "customer",
2778
+ PACKAGE = "package",
2779
+ FACILITY = "facility",
2780
+ PROGRAM = "program",
2781
+ PROGRAM_SEASON = "program_season",
2782
+ PRODUCT = "product",
2783
+ GROUP = "group",
2784
+ VARIANT = "variant",
2785
+ SLOT = "slot",
2786
+ ADDON = "addon"
2771
2787
  }
2772
- export declare enum RegistrationWindowStatusEnum {
2773
- NOT_OPEN_YET = "not_opened_yet",
2774
- OPEN = "open",
2775
- CLOSED = "closed"
2788
+ export declare enum DirectBookingTypesEnum {
2789
+ DIRECT_FOR_ALL = "all",
2790
+ DIRECT_FOR_NONE = "none",
2791
+ DIRECT_VETTED_ONLY = "vetted_only",
2792
+ NO_SETTING = "no_setting"
2776
2793
  }
2777
- export declare enum RegistrationValidationStatusEnum {
2778
- FULL = "full",
2779
- ALREADY_REGISTERED = "registered",
2780
- AVAILABLE = "available",
2781
- NOT_OPEN_YET = "not opened",
2782
- ALREADY_CLOSED = "closed",
2783
- NO_PRODUCT_FOUND = "no-product-found"
2794
+ export declare enum GenderEnum {
2795
+ OTHER = 1,
2796
+ MALE = 2,
2797
+ FEMALE = 3
2784
2798
  }
2785
- export declare enum DiscountMethodsEnum {
2786
- PERCENT = "percent",
2787
- AMOUNT = "amount"
2799
+ export declare enum LevelOfPlayEnum {
2800
+ BEGINNER = 1,
2801
+ INTERMEDIATE = 2,
2802
+ ADVANCED = 3,
2803
+ SEMIPRO = 4,
2804
+ SPECTATOR = 5
2788
2805
  }
2789
- export declare enum UserAuthorizationsTypeEnum {
2790
- ORGANIZATION = "organization"
2806
+ export declare enum ProgramTypesEnum {
2807
+ LEAGUE = 0,
2808
+ TOURNAMENT = 1,
2809
+ CLASS = 2,
2810
+ CLINIC = 3,
2811
+ CAMP = 4,
2812
+ LESSON = 5,
2813
+ CLUB_TEAM = 6
2791
2814
  }
2792
- export declare enum OrganizationLocaleDateEnum {
2793
- USA = "USA"
2815
+ export declare enum ProgramSeasonTypesEnum {
2816
+ ROUND_ROBIN = 1,
2817
+ BRACKETS = 2,
2818
+ CAMP_CLINIC_CLASS = 3
2794
2819
  }
2795
- export declare enum DateTimeFormatsEnum {
2796
- API_DATE = "YYYY/MM/DD",
2797
- API_TIME = "HH:mm:ss",
2798
- DB_DATE = "YYYY-MM-DD"
2820
+ export declare enum SportsEnum {
2821
+ SOFTBALL = 1,
2822
+ BASKETBALL = 2,
2823
+ FOOTBALL = 3,
2824
+ SOCCER = 4,
2825
+ BOWLING = 5,
2826
+ BOCCEBALL = 6,
2827
+ CORNHOLE = 7,
2828
+ DODGEBALL = 8,
2829
+ FRISBEE = 9,
2830
+ HOCKEY = 10,
2831
+ KICKBALL = 11,
2832
+ LACROSSE = 12,
2833
+ PINGPONG = 13,
2834
+ RUGBY = 14,
2835
+ SKEEBALL = 15,
2836
+ TENNIS = 16,
2837
+ VOLLEYBALL = 17,
2838
+ WIFFLEBALL = 18,
2839
+ BADMINTON = 19,
2840
+ FITNESS = 20,
2841
+ GOLF = 21,
2842
+ PILATES = 22,
2843
+ RUNNING = 23,
2844
+ SKIING = 24,
2845
+ SNOWBOARDING = 25,
2846
+ YOGA = 26,
2847
+ BROOMBALL = 27,
2848
+ CRICKET = 28,
2849
+ CROSSFIT = 29,
2850
+ CYCLING = 30,
2851
+ FIELD_HOCKEY = 31,
2852
+ RACQUETBALL = 32,
2853
+ SPINNING = 33,
2854
+ SQUASH = 34,
2855
+ SURFING = 35,
2856
+ SWIMMING = 36,
2857
+ WIND_SURFING = 37,
2858
+ ADVENTURE = 38,
2859
+ BOXING = 39,
2860
+ BASEBALL = 40,
2861
+ DANCE = 41,
2862
+ KICKBOXING = 42,
2863
+ MARTIAL_ARTS = 43,
2864
+ OUTDOORS = 44,
2865
+ ROWING = 45,
2866
+ SAILING = 46,
2867
+ SUP = 47,
2868
+ TRIATHLON = 48,
2869
+ HANDBALL = 49,
2870
+ CATCHBALL = 50,
2871
+ BLITZBALL = 51,
2872
+ ROLLER_DERBY = 52,
2873
+ ICE_SKATING = 53,
2874
+ PICKLEBALL = 54,
2875
+ AXE_THROWING = 55,
2876
+ FURSAL = 56,
2877
+ BIRTHDAY = 57,
2878
+ CORPRATE_EVENTS = 58,
2879
+ OTHER = 999
2799
2880
  }
2800
- export declare enum SlotTypeEnum {
2801
- EXTERNAL = "external",
2802
- INTERNAL = "internal",
2803
- MAINTENANCE = "maintenance",
2804
- CUSTOM = "custom"
2881
+ export declare enum PublishingStatusEnum {
2882
+ DRAFT = 1,
2883
+ PUBLISHED = 2,
2884
+ CLOSED = 3,
2885
+ CANCELLED = 4,
2886
+ ARCHIVE = 5,
2887
+ UNPUBLISHED = 6
2805
2888
  }
2806
- export declare enum PlatformsEnum {
2807
- CONSUMER = "consumer",
2808
- CONSUMER_CHECKOUT = "consumer_checkout",
2809
- BO = "backoffice",
2810
- MOBILE = "mobile",
2811
- CRON = "cron"
2889
+ export declare enum ProgramHighlightTypeEnum {
2890
+ OTHER = 1,
2891
+ MINAGE = 2,
2892
+ MAXAGE = 3,
2893
+ GENDER = 4,
2894
+ LEVELOFPLAY = 5,
2895
+ GAMESSEASON = 6,
2896
+ MINWEEK = 7,
2897
+ SURFACE = 8,
2898
+ FORMAT = 9,
2899
+ PLAYERS_PER_TEAM = 10,
2900
+ MATCH_LENGTH = 12
2812
2901
  }
2813
- export declare enum ShiftStatusEnum {
2814
- OPEN = "open",
2815
- CLOSED = "closed",
2816
- MANAGMENT_CLOSED = "closed_by_manager",
2817
- RECONCILED = "reconciled"
2902
+ export declare enum RequestStatusEnum {
2903
+ PENDING = 1,
2904
+ ACCEPTED = 2,
2905
+ DECLINED = 3
2818
2906
  }
2819
- export declare enum EventStatusEnum {
2820
- OPEN = 1,
2821
- DRAFT = 2,
2822
- FULL = 3,
2823
- CANCELLED = 4,
2824
- CLOSED = 5,
2825
- DELETED = 6
2907
+ export declare enum PaymentStatusEnum {
2908
+ NOT_PAID = "not_paid",
2909
+ PARTIAL_PAYMENT = "partial",
2910
+ FULLY_PAID = "paid",
2911
+ REFUNDED = "refunded",
2912
+ VOID = "void"
2826
2913
  }
2827
- export declare enum ReservationTypeEnum {
2828
- RENTAL = "rental",
2829
- PROGRAM = "program",
2830
- MAINTENANCE = "maintenance",
2831
- CUSTOM = "custom",
2832
- INTERNAL = "internal"
2914
+ export declare enum ReservationExtendedEnum {
2915
+ PURCHASE_ORDER = "purchase_order"
2833
2916
  }
2834
- export declare enum SlotDurationTypeEnum {
2835
- DATES = "dates",
2836
- ALL_DAY = "all day",
2837
- DURATION = "duration"
2917
+ export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2918
+ export declare enum ReservationStatusEnum {
2919
+ PLANNED = "Planned",
2920
+ APPROVED = "Approved",
2921
+ AWAITING_ADMIN = "Awaiting Admin",
2922
+ AWAITING_CUSTOMER = "Awaiting Customer",
2923
+ REJECTED = "Rejected",
2924
+ CANCELED = "Canceled"
2838
2925
  }
2839
- export declare enum DurationUnitTypesEnum {
2840
- MINUTES = "minutes",
2841
- HOURS = "hours"
2926
+ export declare enum PaymentStatusV1Enum {
2927
+ SENT_TO_CLIENT = 1,
2928
+ SENT_FOR_PAYMENT = 2,
2929
+ ACCEPTED = 3,
2930
+ REJECTED = 4,
2931
+ CANCELLED = 5,
2932
+ FRAUD = 6,
2933
+ NOT_RELEVANT = 7,
2934
+ PENDING = 8
2842
2935
  }
2843
- export declare enum FrequencyEnum {
2844
- NONE = "none",
2845
- WEEKLY = "weekly",
2846
- DAILY = "daily",
2847
- MONTHLY = "monthly",
2848
- YEARLY = "yearly"
2936
+ export declare enum PaymentMethodsEnum {
2937
+ STRIPE = 1,
2938
+ CASH = 3
2849
2939
  }
2850
- export declare enum MaintenanceTimingEnum {
2851
- BEFORE = 1,
2852
- AFTER = 2,
2853
- AT_THE_BEGINING = 3,
2854
- AT_THE_END = 4
2940
+ export declare enum PackageProductsRelationTypeEnum {
2941
+ CHILD = "child",
2942
+ UPSALE = "upsale"
2855
2943
  }
2856
- export declare enum CreatorTypeEnum {
2857
- SPACE = "space",
2858
- PROGRAM_SEASON = "program_season",
2859
- SEASON = "season"
2944
+ export declare enum AddonTimePeriodEnum {
2945
+ FULL = "full",
2946
+ SESSION = "session",
2947
+ EVENT = "event"
2860
2948
  }
2861
- export declare enum UpdatePricesTypeEnum {
2862
- INDIVIDUAL = "indvidual",
2863
- CATEGORY = "category",
2864
- GLOBAL = "global"
2949
+ export declare enum CurrencyEnum {
2950
+ USD = "USD"
2865
2951
  }
2866
- export declare enum BondDayOfWeekEnum {
2867
- MONDAY = 2,
2868
- TUESDAY = 3,
2869
- WEDNESDAY = 4,
2870
- THURSDAY = 5,
2871
- FRIDAY = 6,
2872
- SATURDAY = 7,
2873
- SUNDAY = 8
2952
+ export declare enum NotificationTypeEnum {
2953
+ BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2954
+ BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2955
+ BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2874
2956
  }
2875
- export declare enum ReservationMigrationStatusEnum {
2876
- NEW = "new",
2877
- NO = "no",
2878
- YES = "yes"
2957
+ export declare enum ProductTypesEnum {
2958
+ RESERVATION = "reservation",
2959
+ REGISTRATION = "registration",
2960
+ MEMBERSHIP = "membership",
2961
+ GOODS = "goods",
2962
+ PACKAGE = "package",
2963
+ REFUND_COMPENSATION = "refund",
2964
+ CASH_OVER_SHORT = "cash_over_short",
2965
+ PETTY_CASH = "petty_cash",
2966
+ LEAGUE_REGISTRATION = "league_registration",
2967
+ TAX = "tax"
2879
2968
  }
2880
- export declare enum ProductPackageLevelEnum {
2881
- HOUR = "hour",
2882
- SLOT = "slot",
2883
- RESERVATION = "reservation"
2969
+ export declare enum InvoiceStatusEnum {
2970
+ ACTIVE = "active",
2971
+ WAITING_ADMIN = "waitingAdmin",
2972
+ WAITING_CLIENT = "waitingClient",
2973
+ CANCELED = "canceled"
2884
2974
  }
2885
- export declare enum CancellationStatusEnum {
2886
- IMMEDIATE = "immediate",
2887
- AUTO_RENEWAL = "auto_renewal"
2975
+ export declare enum LineItemsStatusEnum {
2976
+ USER_PRODUCT = "UserProduct",
2977
+ RENTAL_PRODUCT = "RentalProduct"
2888
2978
  }
2889
- export declare enum SeasonScheduleStatusEnum {
2890
- DRAFT = 0,
2891
- PUBLISHED = 1
2979
+ export declare enum ProductSubTypesEnum {
2980
+ SEASON_INDIVIDUAL = "season_individual",
2981
+ SEASON_TEAM = "season_team",
2982
+ SEASON_PER_PLAYER = "season_per_player"
2892
2983
  }
2893
- export declare enum FinancialStepEnum {
2894
- VOID = "void",
2895
- REFUND = "refund",
2896
- NONE = "none",
2897
- REFUND_AND_VOID = "refund-and-void",
2898
- APPEND = "append"
2984
+ export declare enum PaymentMethodTypeEnum {
2985
+ CREDIT_CARD = "card",
2986
+ ACH = "ach",
2987
+ CASH = "cash",
2988
+ CHECK = "check",
2989
+ BALANCE = "balance",
2990
+ CARD_ON_TERMINAL = "card-on-terminal",
2991
+ OTHER = "other",
2992
+ MIGRATED = "migrated",
2993
+ VOID = "void"
2899
2994
  }
2900
- export declare enum StripeAccountTypesEnum {
2901
- STRIPE = "stripe",
2902
- STRIPE_CUSTOM = "stripe:account:custom",
2903
- STRIPE_CUSTOMER = "stripe:customer"
2995
+ export declare enum RefundTypeEnum {
2996
+ LEAVE_BALANCE = "leave_balance",
2997
+ REDUCE_BALANCE = "reduce_balance"
2904
2998
  }
2905
- export declare enum LinkedAccountStatus {
2906
- PENDING = 1,
2907
- ACTIVE = 2,
2908
- PRE_PENDING = 3
2999
+ export declare enum CustomerInMembershipTypeEnum {
3000
+ INDIVIDUAL = "individual",
3001
+ FAMILY = "family",
3002
+ ORGANIZATION = "organization"
2909
3003
  }
2910
- export declare enum AddonParentTypeEnum {
2911
- RESERVATION = "reservation",
2912
- SLOT = "slot"
3004
+ export declare enum MembershipTypeEnum {
3005
+ FIXED = "fix_membership",
3006
+ ROLLING = "rolling_membership"
2913
3007
  }
2914
- export declare enum EEmailStatus {
2915
- SENT = "sent",
2916
- OPENED = "opened",
2917
- PAID = "paid",
2918
- CANCELED = "canceled"
3008
+ export declare enum CustomerTypeEnum {
3009
+ USER = "user",
3010
+ FAMILY = "family",
3011
+ ORGANIZATION = "organization"
2919
3012
  }
2920
- export declare enum PaymentSettingStatusEnum {
2921
- ENABLED = 1,
2922
- DISABLED_REDIRECT = 2,
2923
- DISABLED_INFO_ONLY = 3,
2924
- DISABLED_EMAIL = 4
3013
+ export declare enum GroupStatusEnum {
3014
+ ACTIVE = 1,
3015
+ INACTIVE = 2,
3016
+ DRAFT = 3
2925
3017
  }
2926
- export interface IEntitlementTerms {
2927
- type: EntitlementTermsTypesEnum;
2928
- id?: number;
2929
- value?: string;
2930
- minValue?: string;
2931
- maxValue?: string;
3018
+ export declare enum FutureInstallmentStatusEnum {
3019
+ FUTURE = "future",
3020
+ SUCCEEDED = "succeeded",
3021
+ FAILED = "failed",
3022
+ CANCELED = "canceled"
2932
3023
  }
2933
- export interface IQuestionAnswerObject {
2934
- questionId: number;
2935
- value: string;
3024
+ export declare enum EntryStatusEnum {
3025
+ ENTERED = 1,
3026
+ NOT_ENTERED = 2,
3027
+ CANCELED = 3
2936
3028
  }
2937
- export interface ILowestPriceForItem {
2938
- itemId: number;
2939
- itemType: ResourceNameTypeEnum;
2940
- groupId: number;
2941
- groupName?: string;
2942
- price: number;
2943
- overridesPrice: boolean;
3029
+ export declare enum PurchasedResourceStatusEnum {
3030
+ ACTIVE = 1,
3031
+ MOVED = 2,
3032
+ CANCELED = 3
2944
3033
  }
2945
- export interface IResourcesAvailability {
2946
- resourceType: ResourceNameTypeEnum;
2947
- quantity: number;
2948
- resourcesIds: number[];
2949
- isPunchCard: boolean;
2950
- resources?: any[];
3034
+ export declare enum TeamCanJoinEnum {
3035
+ ANYONE = "anyone",
3036
+ BY_INVITE = "byInvite",
3037
+ CAPTAIN_APPROVAL = "captainApproval"
2951
3038
  }
2952
- export interface IPackageResponse {
2953
- parentProduct: Product;
2954
- children: IChildProduct[];
3039
+ export declare enum TeamMemberStatusEnum {
3040
+ PENDING = 1,
3041
+ ACTIVE = 2,
3042
+ DECLINED = 3,
3043
+ SUSPENDED = 4,
3044
+ INACTIVE = 5,
3045
+ INVITED = 6
2955
3046
  }
2956
- export interface IChildProduct {
2957
- product: Product;
2958
- relationType: PackageProductsRelationTypeEnum;
2959
- timePeriod?: AddonTimePeriodEnum;
3047
+ export declare enum TeamMemberRoleEnum {
3048
+ NULL = 0,
3049
+ ADMIN = 1
2960
3050
  }
2961
- export interface ISeasonAttendeeInfo {
2962
- applicationAnswers: Answer[];
2963
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2964
- invoices: Invoice[];
2965
- payments: Payment[];
2966
- products: Product[];
2967
- redeemNext: ProductsUsers;
3051
+ export declare enum DayOfWeekEnum {
3052
+ SUNDAY = 0,
3053
+ MONDAY = 1,
3054
+ TUESDAY = 2,
3055
+ WEDNESDAY = 3,
3056
+ THURSDAY = 4,
3057
+ FRIDAY = 5,
3058
+ SATURDAY = 6
2968
3059
  }
2969
- export interface ISeasonAttendeeListInfo {
2970
- userId: number;
2971
- userFirstName: string;
2972
- userLastName: string;
2973
- userGender: number;
2974
- userBirthDate: Date;
2975
- userProfilePicUrl: string;
2976
- customerId: number;
2977
- customerEmail: string;
2978
- paymentStatus: string;
2979
- productName: string;
2980
- punchCard: boolean;
3060
+ export declare enum ActionTypesEnum {
3061
+ CREATE = "create",
3062
+ READ = "read",
3063
+ UPDATE = "update",
3064
+ DELETE = "delete"
2981
3065
  }
2982
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2983
- segmentType: ResourceNameTypeEnum;
2984
- participantRegisteredDate?: string;
3066
+ export declare enum ActionSourcePlatformEnum {
3067
+ ADMIN = "admin",
3068
+ BACKOFFICE = "backoffice",
3069
+ CONSUMER = "consumer"
2985
3070
  }
2986
- export declare class EventAsSeasonSegment extends Event {
2987
- segmentType: ResourceNameTypeEnum;
2988
- participantRegisteredDate?: string;
3071
+ export declare enum RolesEnum {
3072
+ ORG_ADMIN = "organizationAdmin",
3073
+ BOND_ADMIN = "bondAdmin"
2989
3074
  }
2990
- export interface ITokenResonse {
2991
- token: string;
3075
+ export declare enum SeasonPoolStatusEnum {
3076
+ IN_POOL = 5,
3077
+ ASSIGNED = 1,
3078
+ QUIT = 2,
3079
+ SUSPENDED = 3,
3080
+ INACTIVE = 4
2992
3081
  }
2993
- export interface IStripeBondInvoices {
2994
- paidStripePaymentIntent: Stripe.PaymentIntent;
2995
- bondPaidPayment: Payment;
2996
- invoice?: Invoice;
2997
- customer?: Customer;
3082
+ export declare enum AmenitiesEnum {
3083
+ HEAT = 1,
3084
+ AC = 2,
3085
+ WIFI = 3,
3086
+ RESTROOMS = 4,
3087
+ DRINKING_FOUNTAIN = 5,
3088
+ PARKING = 6,
3089
+ CONCESSIONS = 7,
3090
+ SHELTER = 8,
3091
+ PORTABLE_RESTROOMS = 9,
3092
+ LIGHTS = 10,
3093
+ LOCKER_ROOM = 11,
3094
+ PAID_PARKING = 12,
3095
+ ACCESSIBLE = 13
2998
3096
  }
2999
- export interface IPartialPaymentData {
3000
- purchasingUserId: number;
3001
- paymentData: PurchasePaymentDto;
3002
- amountToPay: number;
3097
+ export declare enum ResourceSubTypeEnum {
3098
+ COURT = "court",
3099
+ FIELD = "field",
3100
+ ROOM = "room",
3101
+ DIAMOND = "diamond",
3102
+ RINK = "rink",
3103
+ STUDIO = "studio",
3104
+ POOL = "pool",
3105
+ BATTING_CAGE = "batting cage",
3106
+ SHELTER = "shelter",
3107
+ GOLF_SIMULATOR = "golf simulator"
3003
3108
  }
3004
- export interface IPayment {
3005
- id: number;
3006
- total: number;
3007
- paymentMethod: PaymentMethodTypeEnum;
3008
- status: PaymentStatusEnum;
3009
- createdAt: Date;
3010
- invoices: number[];
3109
+ export declare enum ResourceTypeEnum {
3110
+ SPACE = "space"
3011
3111
  }
3012
- export interface IPaginationData<T> {
3013
- meta: {
3014
- totalItems: number;
3015
- itemsPerPage: number;
3016
- totalPages: number;
3017
- currentPage: number;
3018
- };
3019
- data: T[];
3112
+ export declare enum ResourceAgesEnum {
3113
+ ADULTS = "adults",
3114
+ CHILDREN = "children"
3020
3115
  }
3021
- export interface IPricesOfProductsResults {
3022
- productId: number;
3023
- userId: number;
3024
- price: number;
3025
- groupId?: number;
3026
- groupName?: string;
3027
- originalPrice?: number;
3028
- priceWithoutTax: number;
3029
- tax: number;
3030
- isTaxInclusive: boolean;
3116
+ export declare enum SpacePropertiesEnum {
3117
+ OUTDOOR = "outdoor",
3118
+ INDOOR = "indoor"
3031
3119
  }
3032
- export interface IPaymentMethodToFundLeft {
3033
- paymentType: PaymentMethodTypeEnum;
3034
- paymentMethodId: string;
3035
- fundLeft: number;
3036
- ccLast4?: string;
3037
- ccBrand?: string;
3120
+ export declare enum SurfacesEnum {
3121
+ GRASS = "grass",
3122
+ TURF = "turf",
3123
+ FIELD_TURF = "fieldTurf",
3124
+ ASTRO_TURF = "astroTurf",
3125
+ HARDWOOD = "hardwood",
3126
+ ASPHALT = "asphalt",
3127
+ SAND = "sand",
3128
+ ICE = "ice",
3129
+ SPORT_COURT = "sportCourt"
3038
3130
  }
3039
- export interface IVariantsAndTitle {
3040
- title: VariantTitle;
3041
- variants: Variant[];
3131
+ export declare enum RegistrationConstraintPeriodTypeEnum {
3132
+ MINUTES = "minutes",
3133
+ DAYS = "days"
3042
3134
  }
3043
- export interface IProgramSeasonActivityTimes {
3044
- dayOfWeek: number;
3045
- open: string;
3046
- close: string;
3135
+ export declare enum RegistrationWindowStatusEnum {
3136
+ NOT_OPEN_YET = "not_opened_yet",
3137
+ OPEN = "open",
3138
+ CLOSED = "closed"
3047
3139
  }
3048
- export interface IProgramSeasonActivityTimesAsDates {
3049
- date: string;
3050
- startTime: string;
3051
- endTime: string;
3140
+ export declare enum RegistrationValidationStatusEnum {
3141
+ FULL = "full",
3142
+ ALREADY_REGISTERED = "registered",
3143
+ AVAILABLE = "available",
3144
+ NOT_OPEN_YET = "not opened",
3145
+ ALREADY_CLOSED = "closed",
3146
+ NO_PRODUCT_FOUND = "no-product-found"
3052
3147
  }
3053
- export interface IBlockedDates {
3054
- name: string;
3055
- startDate: Date;
3056
- endDate: Date;
3148
+ export declare enum DiscountMethodsEnum {
3149
+ PERCENT = "percent",
3150
+ AMOUNT = "amount"
3057
3151
  }
3058
- export interface ISingleMemberForRenewal {
3059
- member_id: number;
3060
- member_membershipId: number;
3061
- member_userId: number;
3062
- member_nextPaymentMethodId?: string;
3063
- member_nextPaymentType?: PaymentMethodTypeEnum;
3064
- member_answerTitleIds?: number[];
3065
- member_organizationId: number;
3066
- line_paidAmount: number;
3067
- line_productId: number;
3068
- invoice_payingUserId: number;
3069
- invoice_paymentMethodId: string;
3070
- invoice_paymentType: PaymentMethodTypeEnum;
3071
- endDate: Date;
3072
- membership_name: string;
3073
- user_firstName: string;
3074
- user_lastName: string;
3075
- user_email: string;
3152
+ export declare enum UserAuthorizationsTypeEnum {
3153
+ ORGANIZATION = "organization"
3076
3154
  }
3077
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3078
- package_parentProductId: number;
3079
- line2_paidAmount: number;
3080
- familyid: number;
3081
- invoice_id: number;
3155
+ export declare enum OrganizationLocaleDateEnum {
3156
+ USA = "USA"
3082
3157
  }
3083
- export interface IResourceRegistrationData {
3084
- id: number;
3085
- resourceType: ResourceNameTypeEnum;
3086
- openNumDays?: number;
3087
- openNumMinutes?: number;
3088
- openTime?: string;
3089
- closeNumDays?: number;
3090
- closeNumMinutes?: number;
3091
- closeTime?: string;
3092
- registrationWindowStatus?: RegistrationWindowStatusEnum;
3158
+ export declare enum DateTimeFormatsEnum {
3159
+ API_DATE = "YYYY/MM/DD",
3160
+ API_TIME = "HH:mm:ss",
3161
+ DB_DATE = "YYYY-MM-DD"
3093
3162
  }
3094
- export interface IResourceDataForConstraintsCalc {
3095
- id: number;
3096
- startDate: string;
3097
- startTime: string;
3163
+ export declare enum SlotTypeEnum {
3164
+ EXTERNAL = "external",
3165
+ INTERNAL = "internal",
3166
+ MAINTENANCE = "maintenance",
3167
+ CUSTOM = "custom"
3098
3168
  }
3099
- export interface IRegistrationConstraintsSetting {
3100
- numDays?: number;
3101
- numMinutes?: number;
3169
+ export declare enum PlatformsEnum {
3170
+ CONSUMER = "consumer",
3171
+ CONSUMER_CHECKOUT = "consumer_checkout",
3172
+ BO = "backoffice",
3173
+ MOBILE = "mobile",
3174
+ CRON = "cron"
3102
3175
  }
3103
- export interface IAttendeeDataToNotify {
3104
- firstName: string;
3105
- lastName: string;
3106
- email: string;
3107
- sessionName: string;
3108
- parentSessionName?: string;
3109
- organizationName: string;
3110
- programName: string;
3176
+ export declare enum ShiftStatusEnum {
3177
+ OPEN = "open",
3178
+ CLOSED = "closed",
3179
+ MANAGMENT_CLOSED = "closed_by_manager",
3180
+ RECONCILED = "reconciled"
3111
3181
  }
3112
- export interface IEventInSchedule {
3113
- eventId: number;
3114
- eventName: string;
3115
- eventStartDate: string;
3116
- eventEndDate: string;
3117
- eventStartTime: string;
3118
- eventEndTime: string;
3119
- programId: number;
3120
- programName: string;
3121
- programType: ProgramTypesEnum;
3122
- sessionId: number;
3123
- sessionName: string;
3124
- sports: number;
3125
- spaces: {
3126
- spaceId: number;
3127
- spaceName: string;
3128
- }[];
3129
- status?: RegistrationValidationStatusEnum;
3182
+ export declare enum EventStatusEnum {
3183
+ OPEN = 1,
3184
+ DRAFT = 2,
3185
+ FULL = 3,
3186
+ CANCELLED = 4,
3187
+ CLOSED = 5,
3188
+ DELETED = 6
3130
3189
  }
3131
- export interface ISlotInSchedule {
3132
- facilityId: number;
3133
- facilityName: string;
3134
- spaces: ISpaceWithSlots[];
3190
+ export declare enum ReservationTypeEnum {
3191
+ RENTAL = "rental",
3192
+ PROGRAM = "program",
3193
+ MAINTENANCE = "maintenance",
3194
+ CUSTOM = "custom",
3195
+ INTERNAL = "internal"
3196
+ }
3197
+ export declare enum SlotDurationTypeEnum {
3198
+ DATES = "dates",
3199
+ ALL_DAY = "all day",
3200
+ DURATION = "duration"
3201
+ }
3202
+ export declare enum DurationUnitTypesEnum {
3203
+ MINUTES = "minutes",
3204
+ HOURS = "hours"
3135
3205
  }
3136
- export interface ISpaceWithSlots {
3137
- id: number;
3138
- name: string;
3139
- slots: ISlotReservationData[];
3206
+ export declare enum FrequencyEnum {
3207
+ NONE = "none",
3208
+ WEEKLY = "weekly",
3209
+ DAILY = "daily",
3210
+ MONTHLY = "monthly",
3211
+ YEARLY = "yearly"
3140
3212
  }
3141
- export interface ISlotReservationData {
3142
- reservationId: number;
3143
- reservationName: string;
3144
- date: string;
3145
- startTime: string;
3146
- endTime: string;
3147
- notes: string;
3148
- spaceId: number;
3149
- isRental: boolean;
3150
- slotType: SlotTypeEnum;
3151
- slotId: number;
3152
- eventId: number;
3153
- isPrivate: boolean;
3213
+ export declare enum MaintenanceTimingEnum {
3214
+ BEFORE = 1,
3215
+ AFTER = 2,
3216
+ AT_THE_BEGINING = 3,
3217
+ AT_THE_END = 4
3154
3218
  }
3155
- export interface IRawEventInSchedule extends IEventInSchedule {
3156
- parentSessionId: number;
3157
- parentSessionName: string;
3158
- eventTimezone: string;
3159
- maxParticipants: number;
3160
- maxMaleParticipants: number;
3161
- maxFemaleParticipants: number;
3162
- isPunchCard: boolean;
3219
+ export declare enum CreatorTypeEnum {
3220
+ SPACE = "space",
3221
+ PROGRAM_SEASON = "program_season",
3222
+ SEASON = "season"
3163
3223
  }
3164
- export interface IBasicSpaceAndSlotCreator {
3165
- id: number;
3166
- name: string;
3167
- bookingCreatorId: number;
3224
+ export declare enum UpdatePricesTypeEnum {
3225
+ INDIVIDUAL = "indvidual",
3226
+ CATEGORY = "category",
3227
+ GLOBAL = "global"
3168
3228
  }
3169
- export interface IRawSlotInSchedule {
3170
- startDate: string;
3171
- endDate: string;
3172
- startTime: string;
3173
- endTime: string;
3174
- reservationId: number;
3175
- eventTitle: string;
3176
- publicNotes: string;
3177
- spaceId: number;
3178
- creatorType: ResourceNameTypeEnum;
3179
- slotType: SlotTypeEnum;
3180
- slotId: number;
3181
- eventId: number;
3182
- isPrivate: boolean;
3229
+ export declare enum BondDayOfWeekEnum {
3230
+ MONDAY = 2,
3231
+ TUESDAY = 3,
3232
+ WEDNESDAY = 4,
3233
+ THURSDAY = 5,
3234
+ FRIDAY = 6,
3235
+ SATURDAY = 7,
3236
+ SUNDAY = 8
3183
3237
  }
3184
- export interface IPurchasedResourcesRaw {
3185
- purchasedId: number;
3186
- purchasedProductUserId: number;
3187
- purchasedResourceId: number;
3188
- purchasedResourceType: ResourceNameTypeEnum;
3189
- purchasedStatus: PurchasedResourceStatusEnum;
3190
- pUserId: number;
3191
- pUserPaymentStatus: PaymentStatusEnum;
3192
- pUserProductId: number;
3193
- pUserProductName: string;
3194
- pUserProductPrice: number;
3195
- pUserProductPriceCurrency: string;
3196
- pUserProductQuantity: number;
3197
- pUserProductQuantityLeft: number;
3198
- pUserUserId: number;
3238
+ export declare enum ReservationMigrationStatusEnum {
3239
+ NEW = "new",
3240
+ NO = "no",
3241
+ YES = "yes"
3199
3242
  }
3200
- export interface IUsersPasses {
3201
- userId: number;
3202
- userFirstName: string;
3203
- userLastName: string;
3204
- organizationId: number;
3205
- programId: number;
3206
- programName: string;
3207
- sessionId: number;
3208
- sessionName: string;
3209
- productId: number;
3210
- productName: string;
3211
- productUserId: number;
3212
- purchaseDate: Date;
3213
- passesLeft: number;
3243
+ export declare enum ProductPackageLevelEnum {
3244
+ HOUR = "hour",
3245
+ SLOT = "slot",
3246
+ RESERVATION = "reservation"
3214
3247
  }
3215
- export interface ISessionsLandingPage {
3216
- sessionId: number;
3217
- name: string;
3218
- startDate: Date;
3219
- endDate: Date;
3220
- registrationStartDate: Date;
3221
- registrationEndDate: Date;
3222
- sport: SportsEnum;
3223
- minAge: string;
3224
- maxAge: string;
3225
- maxParticipants?: number;
3226
- gender: GenderEnum;
3227
- activityTimes: ActivityTimes[];
3228
- earlyRegistrationStartDate?: Date;
3229
- earlyRegistrationEndDate?: Date;
3230
- lateRegistrationStartDate?: Date;
3231
- lateRegistrationEndDate?: Date;
3232
- attendeeCount?: number;
3233
- segmentsOrEvents: 'segment' | 'event';
3248
+ export declare enum CancellationStatusEnum {
3249
+ IMMEDIATE = "immediate",
3250
+ AUTO_RENEWAL = "auto_renewal"
3234
3251
  }
3235
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3236
- hasRequiredMembership: boolean;
3237
- hasEntitledPricing: boolean;
3238
- lowestPrice?: number;
3239
- products?: ISessionLandingPageProduct[];
3252
+ export declare enum SeasonScheduleStatusEnum {
3253
+ DRAFT = 0,
3254
+ PUBLISHED = 1
3240
3255
  }
3241
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3242
- hasRequiredMembership: boolean;
3243
- hasEntitledPricing: boolean;
3244
- products?: ISessionLandingPageProduct[];
3245
- segments?: Event[] | ProgramSeason[];
3246
- programName: string;
3247
- programId: number;
3248
- levelOfPlay: LevelOfPlayEnum[];
3249
- registrationConstraints: IResourceRegistrationData[];
3256
+ export declare enum FinancialStepEnum {
3257
+ VOID = "void",
3258
+ REFUND = "refund",
3259
+ NONE = "none",
3260
+ REFUND_AND_VOID = "refund-and-void",
3261
+ APPEND = "append"
3250
3262
  }
3251
- export interface ISlimAddons {
3252
- addons?: {
3253
- id: number;
3254
- timePeriod: AddonTimePeriodEnum;
3255
- name: string;
3256
- productType?: ProductTypesEnum;
3257
- productSubType?: string;
3258
- }[];
3263
+ export declare enum StripeAccountTypesEnum {
3264
+ STRIPE = "stripe",
3265
+ STRIPE_CUSTOM = "stripe:account:custom",
3266
+ STRIPE_CUSTOMER = "stripe:customer"
3259
3267
  }
3260
- export interface ISessionLandingPageProduct extends ISlimAddons {
3261
- id: number;
3262
- name: string;
3263
- startDate?: Date;
3264
- endDate?: Date;
3265
- downpayment?: number;
3266
- description?: string;
3267
- prices: Price[];
3268
- productSubType?: ProductSubTypesEnum;
3269
- punchCard: boolean;
3270
- isAddon: boolean;
3271
- defaultPriceId?: number;
3268
+ export declare enum LinkedAccountStatus {
3269
+ PENDING = 1,
3270
+ ACTIVE = 2,
3271
+ PRE_PENDING = 3
3272
3272
  }
3273
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3274
- destinationId?: string;
3275
- stripeCustomerId?: string;
3276
- fee?: number;
3273
+ export declare enum AddonParentTypeEnum {
3274
+ RESERVATION = "reservation",
3275
+ SLOT = "slot"
3277
3276
  }
3278
- export interface IReservationCreatorData {
3279
- type: ResourceNameTypeEnum;
3280
- id: number;
3281
- organizationId: number;
3282
- startDate: string;
3283
- endDate: string;
3284
- sportId: number;
3277
+ export declare enum EEmailStatus {
3278
+ SENT = "sent",
3279
+ OPENED = "opened",
3280
+ PAID = "paid",
3281
+ CANCELED = "canceled"
3285
3282
  }
3286
- export declare class ColumnNumericTransformer {
3287
- to(data: number): number;
3288
- from(data: string): number;
3283
+ export declare enum PaymentSettingStatusEnum {
3284
+ ENABLED = 1,
3285
+ DISABLED_REDIRECT = 2,
3286
+ DISABLED_INFO_ONLY = 3,
3287
+ DISABLED_EMAIL = 4
3289
3288
  }
3290
- export declare function convertToNumber(data: string): number;
3291
3289
  export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3292
3290
  name?: string;
3293
3291
  genderStr?: string;
@@ -3404,6 +3402,11 @@ export declare class ImportedReservationDto {
3404
3402
  slots?: ImportedSlotDto[];
3405
3403
  addons?: ImportedSlotProductDto[];
3406
3404
  }
3405
+ export declare class ColumnNumericTransformer {
3406
+ to(data: number): number;
3407
+ from(data: string): number;
3408
+ }
3409
+ export declare function convertToNumber(data: string): number;
3407
3410
  export declare class GameSlots extends BondBaseEntity {
3408
3411
  entityType: string;
3409
3412
  entityId: number;
@@ -3465,23 +3468,30 @@ export interface PaymentStatusesDict {
3465
3468
  export interface PaymentStatusDict {
3466
3469
  [id: number]: ReservationPaymentStatusEnum;
3467
3470
  }
3468
- export declare class CreateMonitorConfigDto {
3469
- facilityId: number;
3470
- name: string;
3471
- code: string;
3472
- config: any;
3473
- }
3474
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3475
- facilityId: number;
3476
- code: string;
3477
- config?: any;
3478
- }
3479
3471
  export declare class ByOrganizationIdDto {
3480
3472
  organizationId: number;
3481
3473
  }
3482
3474
  export declare class OptionalFindByOrganizationIdDto {
3483
3475
  organizationId?: number;
3484
3476
  }
3477
+ export declare class FindUnallocatedEventsIdsFiltersDto {
3478
+ programsIds?: string;
3479
+ sessionsIds?: string;
3480
+ segmentsIds?: string;
3481
+ startDate?: string;
3482
+ endDate?: string;
3483
+ months?: string;
3484
+ dow?: string;
3485
+ }
3486
+ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3487
+ programsIds?: string;
3488
+ sessionsIds?: string;
3489
+ segmentsIds?: string;
3490
+ startDate?: string;
3491
+ endDate?: string;
3492
+ months?: string;
3493
+ dow?: string;
3494
+ }
3485
3495
  export declare class Organization extends BondBaseEntity {
3486
3496
  name: string | null;
3487
3497
  email: string | null;
@@ -3544,6 +3554,17 @@ export declare class OrganizationUsers extends BondBaseEntity {
3544
3554
  organisationId: number | null;
3545
3555
  userId: number | null;
3546
3556
  }
3557
+ export interface UnallocatedEventsFilters {
3558
+ programsIds?: number[];
3559
+ sessionsIds?: number[];
3560
+ segmentsIds?: number[];
3561
+ durations?: Duration[];
3562
+ daysOfWeek?: number[];
3563
+ }
3564
+ export interface Duration {
3565
+ startDate: string;
3566
+ endDate: string;
3567
+ }
3547
3568
  export declare class CustomerIdDto {
3548
3569
  customerId: number;
3549
3570
  }
@@ -4516,16 +4537,16 @@ export declare class ChangeRolePermissionsDto {
4516
4537
  export declare class CreateRoleDto {
4517
4538
  name: string;
4518
4539
  }
4519
- export declare class Permission extends BondBaseEntity {
4520
- name: string;
4521
- deletedAt?: Date;
4522
- }
4523
4540
  export declare class Role extends OrganizationConnectionBaseEntity {
4524
4541
  name: string;
4525
4542
  deletedAt?: Date;
4526
4543
  permissions: Permission[];
4527
4544
  usersRoles: UserRole[];
4528
4545
  }
4546
+ export declare class Permission extends BondBaseEntity {
4547
+ name: string;
4548
+ deletedAt?: Date;
4549
+ }
4529
4550
  export declare class UserRole extends OrganizationConnectionBaseEntity {
4530
4551
  deletedAt?: Date;
4531
4552
  userId: number;
@@ -4599,3 +4620,14 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4599
4620
  closingManager?: User;
4600
4621
  reconcilingUser?: User;
4601
4622
  }
4623
+ export declare class CreateMonitorConfigDto {
4624
+ facilityId: number;
4625
+ name: string;
4626
+ code: string;
4627
+ config: any;
4628
+ }
4629
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
4630
+ facilityId: number;
4631
+ code: string;
4632
+ config?: any;
4633
+ }