@bondsports/types 0.0.80 → 0.0.83
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 +731 -728
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
23
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
31
|
membershipId: number;
|
|
25
32
|
}
|
|
@@ -447,13 +454,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
447
454
|
discountValue?: number;
|
|
448
455
|
discountMethod?: DiscountMethodsEnum;
|
|
449
456
|
}
|
|
450
|
-
export declare class FindBookingTypeSettingDto {
|
|
451
|
-
organizationId: number;
|
|
452
|
-
facilityId: number;
|
|
453
|
-
spaceId: number;
|
|
454
|
-
bookingDate: string;
|
|
455
|
-
bookingTime: string;
|
|
456
|
-
}
|
|
457
457
|
export declare class FindByProductIdDto {
|
|
458
458
|
productId: number;
|
|
459
459
|
}
|
|
@@ -1002,13 +1002,6 @@ export declare class ResourceDto {
|
|
|
1002
1002
|
type: ResourceNameTypeEnum;
|
|
1003
1003
|
id: number;
|
|
1004
1004
|
}
|
|
1005
|
-
export declare class StripeCustomerIdDto {
|
|
1006
|
-
userId: number;
|
|
1007
|
-
}
|
|
1008
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1009
|
-
publicToken: string;
|
|
1010
|
-
accountId: string;
|
|
1011
|
-
}
|
|
1012
1005
|
export declare class SpaceByIdDto {
|
|
1013
1006
|
spaceId: number;
|
|
1014
1007
|
}
|
|
@@ -1065,6 +1058,16 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1065
1058
|
types?: string;
|
|
1066
1059
|
resourcesIds?: string;
|
|
1067
1060
|
}
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1065
|
+
paymentMethodId: string;
|
|
1066
|
+
}
|
|
1067
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1068
|
+
publicToken: string;
|
|
1069
|
+
accountId: string;
|
|
1070
|
+
}
|
|
1068
1071
|
export declare class FindByUserIdDto {
|
|
1069
1072
|
userId: number;
|
|
1070
1073
|
}
|
|
@@ -2330,10 +2333,6 @@ export declare class UsersInGroup extends BondBaseEntity {
|
|
|
2330
2333
|
userId: number;
|
|
2331
2334
|
deletedAt?: Date;
|
|
2332
2335
|
}
|
|
2333
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2334
|
-
name: string;
|
|
2335
|
-
variants: Variant[];
|
|
2336
|
-
}
|
|
2337
2336
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2338
2337
|
name: string;
|
|
2339
2338
|
variantTitleId: number;
|
|
@@ -2348,527 +2347,171 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2348
2347
|
membershipCollectionId?: string;
|
|
2349
2348
|
programsCollectionId?: string;
|
|
2350
2349
|
}
|
|
2351
|
-
export
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
value?: string;
|
|
2355
|
-
minValue?: string;
|
|
2356
|
-
maxValue?: string;
|
|
2350
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2351
|
+
name: string;
|
|
2352
|
+
variants: Variant[];
|
|
2357
2353
|
}
|
|
2358
|
-
export
|
|
2359
|
-
|
|
2360
|
-
|
|
2354
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2355
|
+
QUESTION = "question",
|
|
2356
|
+
CITY = "city",
|
|
2357
|
+
MEMBERSHIP = "membership"
|
|
2361
2358
|
}
|
|
2362
|
-
export
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2359
|
+
export declare enum ResourceNameTypeEnum {
|
|
2360
|
+
EVENT = "event",
|
|
2361
|
+
VENUE = "venue",
|
|
2362
|
+
TEAM = "team",
|
|
2363
|
+
LEAGUE = "league",
|
|
2364
|
+
USER = "user",
|
|
2365
|
+
ORGANIZATION = "organization",
|
|
2366
|
+
APP = "app",
|
|
2367
|
+
FEED = "feed",
|
|
2368
|
+
MATCH = "match",
|
|
2369
|
+
ROUND = "round",
|
|
2370
|
+
PORTAL = "portal",
|
|
2371
|
+
SEASON = "season",
|
|
2372
|
+
TOURNAMENT = "tournament",
|
|
2373
|
+
MEMBERSHIP = "membership",
|
|
2374
|
+
DIVISION = "division",
|
|
2375
|
+
GAMESLOT = "gameslot",
|
|
2376
|
+
SPACE = "space",
|
|
2377
|
+
RESERVATION = "reservation",
|
|
2378
|
+
ORDER = "order",
|
|
2379
|
+
CUSTOMER = "customer",
|
|
2380
|
+
PACKAGE = "package",
|
|
2381
|
+
FACILITY = "facility",
|
|
2382
|
+
PROGRAM = "program",
|
|
2383
|
+
PROGRAM_SEASON = "program_season",
|
|
2384
|
+
PRODUCT = "product",
|
|
2385
|
+
GROUP = "group",
|
|
2386
|
+
VARIANT = "variant",
|
|
2387
|
+
SLOT = "slot",
|
|
2388
|
+
ADDON = "addon"
|
|
2369
2389
|
}
|
|
2370
|
-
export
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
resources?: any[];
|
|
2390
|
+
export declare enum DirectBookingTypesEnum {
|
|
2391
|
+
DIRECT_FOR_ALL = "all",
|
|
2392
|
+
DIRECT_FOR_NONE = "none",
|
|
2393
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2394
|
+
NO_SETTING = "no_setting"
|
|
2376
2395
|
}
|
|
2377
|
-
export
|
|
2378
|
-
|
|
2379
|
-
|
|
2396
|
+
export declare enum GenderEnum {
|
|
2397
|
+
OTHER = 1,
|
|
2398
|
+
MALE = 2,
|
|
2399
|
+
FEMALE = 3
|
|
2380
2400
|
}
|
|
2381
|
-
export
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2401
|
+
export declare enum LevelOfPlayEnum {
|
|
2402
|
+
BEGINNER = 1,
|
|
2403
|
+
INTERMEDIATE = 2,
|
|
2404
|
+
ADVANCED = 3,
|
|
2405
|
+
SEMIPRO = 4,
|
|
2406
|
+
SPECTATOR = 5
|
|
2385
2407
|
}
|
|
2386
|
-
export
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2408
|
+
export declare enum ProgramTypesEnum {
|
|
2409
|
+
LEAGUE = 0,
|
|
2410
|
+
TOURNAMENT = 1,
|
|
2411
|
+
CLASS = 2,
|
|
2412
|
+
CLINIC = 3,
|
|
2413
|
+
CAMP = 4,
|
|
2414
|
+
LESSON = 5,
|
|
2415
|
+
CLUB_TEAM = 6
|
|
2393
2416
|
}
|
|
2394
|
-
export
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
userGender: number;
|
|
2399
|
-
userBirthDate: Date;
|
|
2400
|
-
userProfilePicUrl: string;
|
|
2401
|
-
customerId: number;
|
|
2402
|
-
customerEmail: string;
|
|
2403
|
-
paymentStatus: string;
|
|
2404
|
-
productName: string;
|
|
2405
|
-
punchCard: boolean;
|
|
2417
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2418
|
+
ROUND_ROBIN = 1,
|
|
2419
|
+
BRACKETS = 2,
|
|
2420
|
+
CAMP_CLINIC_CLASS = 3
|
|
2406
2421
|
}
|
|
2407
|
-
export declare
|
|
2408
|
-
|
|
2409
|
-
|
|
2422
|
+
export declare enum SportsEnum {
|
|
2423
|
+
SOFTBALL = 1,
|
|
2424
|
+
BASKETBALL = 2,
|
|
2425
|
+
FOOTBALL = 3,
|
|
2426
|
+
SOCCER = 4,
|
|
2427
|
+
BOWLING = 5,
|
|
2428
|
+
BOCCEBALL = 6,
|
|
2429
|
+
CORNHOLE = 7,
|
|
2430
|
+
DODGEBALL = 8,
|
|
2431
|
+
FRISBEE = 9,
|
|
2432
|
+
HOCKEY = 10,
|
|
2433
|
+
KICKBALL = 11,
|
|
2434
|
+
LACROSSE = 12,
|
|
2435
|
+
PINGPONG = 13,
|
|
2436
|
+
RUGBY = 14,
|
|
2437
|
+
SKEEBALL = 15,
|
|
2438
|
+
TENNIS = 16,
|
|
2439
|
+
VOLLEYBALL = 17,
|
|
2440
|
+
WIFFLEBALL = 18,
|
|
2441
|
+
BADMINTON = 19,
|
|
2442
|
+
FITNESS = 20,
|
|
2443
|
+
GOLF = 21,
|
|
2444
|
+
PILATES = 22,
|
|
2445
|
+
RUNNING = 23,
|
|
2446
|
+
SKIING = 24,
|
|
2447
|
+
SNOWBOARDING = 25,
|
|
2448
|
+
YOGA = 26,
|
|
2449
|
+
BROOMBALL = 27,
|
|
2450
|
+
CRICKET = 28,
|
|
2451
|
+
CROSSFIT = 29,
|
|
2452
|
+
CYCLING = 30,
|
|
2453
|
+
FIELD_HOCKEY = 31,
|
|
2454
|
+
RACQUETBALL = 32,
|
|
2455
|
+
SPINNING = 33,
|
|
2456
|
+
SQUASH = 34,
|
|
2457
|
+
SURFING = 35,
|
|
2458
|
+
SWIMMING = 36,
|
|
2459
|
+
WIND_SURFING = 37,
|
|
2460
|
+
ADVENTURE = 38,
|
|
2461
|
+
BOXING = 39,
|
|
2462
|
+
BASEBALL = 40,
|
|
2463
|
+
DANCE = 41,
|
|
2464
|
+
KICKBOXING = 42,
|
|
2465
|
+
MARTIAL_ARTS = 43,
|
|
2466
|
+
OUTDOORS = 44,
|
|
2467
|
+
ROWING = 45,
|
|
2468
|
+
SAILING = 46,
|
|
2469
|
+
SUP = 47,
|
|
2470
|
+
TRIATHLON = 48,
|
|
2471
|
+
HANDBALL = 49,
|
|
2472
|
+
CATCHBALL = 50,
|
|
2473
|
+
BLITZBALL = 51,
|
|
2474
|
+
ROLLER_DERBY = 52,
|
|
2475
|
+
ICE_SKATING = 53,
|
|
2476
|
+
PICKLEBALL = 54,
|
|
2477
|
+
AXE_THROWING = 55,
|
|
2478
|
+
FURSAL = 56,
|
|
2479
|
+
BIRTHDAY = 57,
|
|
2480
|
+
CORPRATE_EVENTS = 58,
|
|
2481
|
+
OTHER = 999
|
|
2410
2482
|
}
|
|
2411
|
-
export declare
|
|
2412
|
-
|
|
2413
|
-
|
|
2483
|
+
export declare enum PublishingStatusEnum {
|
|
2484
|
+
DRAFT = 1,
|
|
2485
|
+
PUBLISHED = 2,
|
|
2486
|
+
CLOSED = 3,
|
|
2487
|
+
CANCELLED = 4,
|
|
2488
|
+
ARCHIVE = 5,
|
|
2489
|
+
UNPUBLISHED = 6
|
|
2414
2490
|
}
|
|
2415
|
-
export
|
|
2416
|
-
|
|
2491
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2492
|
+
OTHER = 1,
|
|
2493
|
+
MINAGE = 2,
|
|
2494
|
+
MAXAGE = 3,
|
|
2495
|
+
GENDER = 4,
|
|
2496
|
+
LEVELOFPLAY = 5,
|
|
2497
|
+
GAMESSEASON = 6,
|
|
2498
|
+
MINWEEK = 7,
|
|
2499
|
+
SURFACE = 8,
|
|
2500
|
+
FORMAT = 9,
|
|
2501
|
+
PLAYERS_PER_TEAM = 10,
|
|
2502
|
+
MATCH_LENGTH = 12
|
|
2417
2503
|
}
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
customer?: Customer;
|
|
2504
|
+
export declare enum RequestStatusEnum {
|
|
2505
|
+
PENDING = 1,
|
|
2506
|
+
ACCEPTED = 2,
|
|
2507
|
+
DECLINED = 3
|
|
2423
2508
|
}
|
|
2424
|
-
export
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
id: number;
|
|
2431
|
-
total: number;
|
|
2432
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2433
|
-
status: PaymentStatusEnum;
|
|
2434
|
-
createdAt: Date;
|
|
2435
|
-
invoices: number[];
|
|
2436
|
-
}
|
|
2437
|
-
export interface IPaginationData<T> {
|
|
2438
|
-
meta: {
|
|
2439
|
-
totalItems: number;
|
|
2440
|
-
itemsPerPage: number;
|
|
2441
|
-
totalPages: number;
|
|
2442
|
-
currentPage: number;
|
|
2443
|
-
};
|
|
2444
|
-
data: T[];
|
|
2445
|
-
}
|
|
2446
|
-
export interface IPricesOfProductsResults {
|
|
2447
|
-
productId: number;
|
|
2448
|
-
userId: number;
|
|
2449
|
-
price: number;
|
|
2450
|
-
groupId?: number;
|
|
2451
|
-
groupName?: string;
|
|
2452
|
-
originalPrice?: number;
|
|
2453
|
-
priceWithoutTax: number;
|
|
2454
|
-
tax: number;
|
|
2455
|
-
isTaxInclusive: boolean;
|
|
2456
|
-
}
|
|
2457
|
-
export interface IPaymentMethodToFundLeft {
|
|
2458
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2459
|
-
paymentMethodId: string;
|
|
2460
|
-
fundLeft: number;
|
|
2461
|
-
ccLast4?: string;
|
|
2462
|
-
ccBrand?: string;
|
|
2463
|
-
}
|
|
2464
|
-
export interface IVariantsAndTitle {
|
|
2465
|
-
title: VariantTitle;
|
|
2466
|
-
variants: Variant[];
|
|
2467
|
-
}
|
|
2468
|
-
export interface IProgramSeasonActivityTimes {
|
|
2469
|
-
dayOfWeek: number;
|
|
2470
|
-
open: string;
|
|
2471
|
-
close: string;
|
|
2472
|
-
}
|
|
2473
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2474
|
-
date: string;
|
|
2475
|
-
startTime: string;
|
|
2476
|
-
endTime: string;
|
|
2477
|
-
}
|
|
2478
|
-
export interface IBlockedDates {
|
|
2479
|
-
name: string;
|
|
2480
|
-
startDate: Date;
|
|
2481
|
-
endDate: Date;
|
|
2482
|
-
}
|
|
2483
|
-
export interface ISingleMemberForRenewal {
|
|
2484
|
-
member_id: number;
|
|
2485
|
-
member_membershipId: number;
|
|
2486
|
-
member_userId: number;
|
|
2487
|
-
member_nextPaymentMethodId?: string;
|
|
2488
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2489
|
-
member_answerTitleIds?: number[];
|
|
2490
|
-
member_organizationId: number;
|
|
2491
|
-
line_paidAmount: number;
|
|
2492
|
-
line_productId: number;
|
|
2493
|
-
order_payingUserId: number;
|
|
2494
|
-
order_paymentMethodId: string;
|
|
2495
|
-
order_paymentType: PaymentMethodTypeEnum;
|
|
2496
|
-
endDate: Date;
|
|
2497
|
-
membership_name: string;
|
|
2498
|
-
user_firstName: string;
|
|
2499
|
-
user_lastName: string;
|
|
2500
|
-
user_email: string;
|
|
2501
|
-
}
|
|
2502
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2503
|
-
package_parentProductId: number;
|
|
2504
|
-
line2_paidAmount: number;
|
|
2505
|
-
familyid: number;
|
|
2506
|
-
order_id: number;
|
|
2507
|
-
}
|
|
2508
|
-
export interface IResourceRegistrationData {
|
|
2509
|
-
id: number;
|
|
2510
|
-
resourceType: ResourceNameTypeEnum;
|
|
2511
|
-
openNumDays?: number;
|
|
2512
|
-
openNumMinutes?: number;
|
|
2513
|
-
openTime?: string;
|
|
2514
|
-
closeNumDays?: number;
|
|
2515
|
-
closeNumMinutes?: number;
|
|
2516
|
-
closeTime?: string;
|
|
2517
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2518
|
-
}
|
|
2519
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2520
|
-
id: number;
|
|
2521
|
-
startDate: string;
|
|
2522
|
-
startTime: string;
|
|
2523
|
-
}
|
|
2524
|
-
export interface IRegistrationConstraintsSetting {
|
|
2525
|
-
numDays?: number;
|
|
2526
|
-
numMinutes?: number;
|
|
2527
|
-
}
|
|
2528
|
-
export interface IAttendeeDataToNotify {
|
|
2529
|
-
firstName: string;
|
|
2530
|
-
lastName: string;
|
|
2531
|
-
email: string;
|
|
2532
|
-
sessionName: string;
|
|
2533
|
-
parentSessionName?: string;
|
|
2534
|
-
organizationName: string;
|
|
2535
|
-
programName: string;
|
|
2536
|
-
}
|
|
2537
|
-
export interface IEventInSchedule {
|
|
2538
|
-
eventId: number;
|
|
2539
|
-
eventName: string;
|
|
2540
|
-
eventStartDate: string;
|
|
2541
|
-
eventEndDate: string;
|
|
2542
|
-
eventStartTime: string;
|
|
2543
|
-
eventEndTime: string;
|
|
2544
|
-
programId: number;
|
|
2545
|
-
programName: string;
|
|
2546
|
-
programType: ProgramTypesEnum;
|
|
2547
|
-
sessionId: number;
|
|
2548
|
-
sessionName: string;
|
|
2549
|
-
sports: number;
|
|
2550
|
-
spaces: {
|
|
2551
|
-
spaceId: number;
|
|
2552
|
-
spaceName: string;
|
|
2553
|
-
}[];
|
|
2554
|
-
status?: RegistrationValidationStatusEnum;
|
|
2555
|
-
}
|
|
2556
|
-
export interface ISlotInSchedule {
|
|
2557
|
-
facilityId: number;
|
|
2558
|
-
facilityName: string;
|
|
2559
|
-
spaces: ISpaceWithSlots[];
|
|
2560
|
-
}
|
|
2561
|
-
export interface ISpaceWithSlots {
|
|
2562
|
-
id: number;
|
|
2563
|
-
name: string;
|
|
2564
|
-
slots: ISlotReservationData[];
|
|
2565
|
-
}
|
|
2566
|
-
export interface ISlotReservationData {
|
|
2567
|
-
reservationId: number;
|
|
2568
|
-
reservationName: string;
|
|
2569
|
-
date: string;
|
|
2570
|
-
startTime: string;
|
|
2571
|
-
endTime: string;
|
|
2572
|
-
notes: string;
|
|
2573
|
-
spaceId: number;
|
|
2574
|
-
isRental: boolean;
|
|
2575
|
-
slotType: SlotTypeEnum;
|
|
2576
|
-
slotId: number;
|
|
2577
|
-
eventId: number;
|
|
2578
|
-
isPrivate: boolean;
|
|
2579
|
-
}
|
|
2580
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2581
|
-
parentSessionId: number;
|
|
2582
|
-
parentSessionName: string;
|
|
2583
|
-
eventTimezone: string;
|
|
2584
|
-
maxParticipants: number;
|
|
2585
|
-
maxMaleParticipants: number;
|
|
2586
|
-
maxFemaleParticipants: number;
|
|
2587
|
-
isPunchCard: boolean;
|
|
2588
|
-
}
|
|
2589
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2590
|
-
id: number;
|
|
2591
|
-
name: string;
|
|
2592
|
-
bookingCreatorId: number;
|
|
2593
|
-
}
|
|
2594
|
-
export interface IRawSlotInSchedule {
|
|
2595
|
-
startDate: string;
|
|
2596
|
-
endDate: string;
|
|
2597
|
-
startTime: string;
|
|
2598
|
-
endTime: string;
|
|
2599
|
-
reservationId: number;
|
|
2600
|
-
eventTitle: string;
|
|
2601
|
-
publicNotes: string;
|
|
2602
|
-
spaceId: number;
|
|
2603
|
-
creatorType: ResourceNameTypeEnum;
|
|
2604
|
-
slotType: SlotTypeEnum;
|
|
2605
|
-
slotId: number;
|
|
2606
|
-
eventId: number;
|
|
2607
|
-
isPrivate: boolean;
|
|
2608
|
-
}
|
|
2609
|
-
export interface IPurchasedResourcesRaw {
|
|
2610
|
-
purchasedId: number;
|
|
2611
|
-
purchasedProductUserId: number;
|
|
2612
|
-
purchasedResourceId: number;
|
|
2613
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2614
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2615
|
-
pUserId: number;
|
|
2616
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2617
|
-
pUserProductId: number;
|
|
2618
|
-
pUserProductName: string;
|
|
2619
|
-
pUserProductPrice: number;
|
|
2620
|
-
pUserProductPriceCurrency: string;
|
|
2621
|
-
pUserProductQuantity: number;
|
|
2622
|
-
pUserProductQuantityLeft: number;
|
|
2623
|
-
pUserUserId: number;
|
|
2624
|
-
}
|
|
2625
|
-
export interface IUsersPasses {
|
|
2626
|
-
userId: number;
|
|
2627
|
-
userFirstName: string;
|
|
2628
|
-
userLastName: string;
|
|
2629
|
-
organizationId: number;
|
|
2630
|
-
programId: number;
|
|
2631
|
-
programName: string;
|
|
2632
|
-
sessionId: number;
|
|
2633
|
-
sessionName: string;
|
|
2634
|
-
productId: number;
|
|
2635
|
-
productName: string;
|
|
2636
|
-
productUserId: number;
|
|
2637
|
-
purchaseDate: Date;
|
|
2638
|
-
passesLeft: number;
|
|
2639
|
-
}
|
|
2640
|
-
export interface ISessionsLandingPage {
|
|
2641
|
-
sessionId: number;
|
|
2642
|
-
name: string;
|
|
2643
|
-
startDate: Date;
|
|
2644
|
-
endDate: Date;
|
|
2645
|
-
registrationStartDate: Date;
|
|
2646
|
-
registrationEndDate: Date;
|
|
2647
|
-
sport: SportsEnum;
|
|
2648
|
-
minAge: string;
|
|
2649
|
-
maxAge: string;
|
|
2650
|
-
maxParticipants?: number;
|
|
2651
|
-
gender: GenderEnum;
|
|
2652
|
-
activityTimes: ActivityTimes[];
|
|
2653
|
-
earlyRegistrationStartDate?: Date;
|
|
2654
|
-
earlyRegistrationEndDate?: Date;
|
|
2655
|
-
lateRegistrationStartDate?: Date;
|
|
2656
|
-
lateRegistrationEndDate?: Date;
|
|
2657
|
-
attendeeCount?: number;
|
|
2658
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2659
|
-
}
|
|
2660
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2661
|
-
hasRequiredMembership: boolean;
|
|
2662
|
-
hasEntitledPricing: boolean;
|
|
2663
|
-
lowestPrice?: number;
|
|
2664
|
-
products?: ISessionLandingPageProduct[];
|
|
2665
|
-
}
|
|
2666
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2667
|
-
hasRequiredMembership: boolean;
|
|
2668
|
-
hasEntitledPricing: boolean;
|
|
2669
|
-
products?: ISessionLandingPageProduct[];
|
|
2670
|
-
segments?: Event[] | ProgramSeason[];
|
|
2671
|
-
programName: string;
|
|
2672
|
-
programId: number;
|
|
2673
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2674
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2675
|
-
}
|
|
2676
|
-
export interface ISlimAddons {
|
|
2677
|
-
addons?: {
|
|
2678
|
-
id: number;
|
|
2679
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2680
|
-
name: string;
|
|
2681
|
-
productType?: ProductTypesEnum;
|
|
2682
|
-
productSubType?: string;
|
|
2683
|
-
}[];
|
|
2684
|
-
}
|
|
2685
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2686
|
-
id: number;
|
|
2687
|
-
name: string;
|
|
2688
|
-
startDate?: Date;
|
|
2689
|
-
endDate?: Date;
|
|
2690
|
-
downpayment?: number;
|
|
2691
|
-
description?: string;
|
|
2692
|
-
prices: Price[];
|
|
2693
|
-
productSubType?: ProductSubTypesEnum;
|
|
2694
|
-
punchCard: boolean;
|
|
2695
|
-
isAddon: boolean;
|
|
2696
|
-
defaultPriceId?: number;
|
|
2697
|
-
}
|
|
2698
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2699
|
-
destinationId?: string;
|
|
2700
|
-
stripeCustomerId?: string;
|
|
2701
|
-
fee?: number;
|
|
2702
|
-
}
|
|
2703
|
-
export interface IReservationCreatorData {
|
|
2704
|
-
type: ResourceNameTypeEnum;
|
|
2705
|
-
id: number;
|
|
2706
|
-
organizationId: number;
|
|
2707
|
-
startDate: string;
|
|
2708
|
-
endDate: string;
|
|
2709
|
-
sportId: number;
|
|
2710
|
-
}
|
|
2711
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2712
|
-
QUESTION = "question",
|
|
2713
|
-
CITY = "city",
|
|
2714
|
-
MEMBERSHIP = "membership"
|
|
2715
|
-
}
|
|
2716
|
-
export declare enum ResourceNameTypeEnum {
|
|
2717
|
-
EVENT = "event",
|
|
2718
|
-
VENUE = "venue",
|
|
2719
|
-
TEAM = "team",
|
|
2720
|
-
LEAGUE = "league",
|
|
2721
|
-
USER = "user",
|
|
2722
|
-
ORGANIZATION = "organization",
|
|
2723
|
-
APP = "app",
|
|
2724
|
-
FEED = "feed",
|
|
2725
|
-
MATCH = "match",
|
|
2726
|
-
ROUND = "round",
|
|
2727
|
-
PORTAL = "portal",
|
|
2728
|
-
SEASON = "season",
|
|
2729
|
-
TOURNAMENT = "tournament",
|
|
2730
|
-
MEMBERSHIP = "membership",
|
|
2731
|
-
DIVISION = "division",
|
|
2732
|
-
GAMESLOT = "gameslot",
|
|
2733
|
-
SPACE = "space",
|
|
2734
|
-
RESERVATION = "reservation",
|
|
2735
|
-
ORDER = "order",
|
|
2736
|
-
CUSTOMER = "customer",
|
|
2737
|
-
PACKAGE = "package",
|
|
2738
|
-
FACILITY = "facility",
|
|
2739
|
-
PROGRAM = "program",
|
|
2740
|
-
PROGRAM_SEASON = "program_season",
|
|
2741
|
-
PRODUCT = "product",
|
|
2742
|
-
GROUP = "group",
|
|
2743
|
-
VARIANT = "variant",
|
|
2744
|
-
SLOT = "slot",
|
|
2745
|
-
ADDON = "addon"
|
|
2746
|
-
}
|
|
2747
|
-
export declare enum DirectBookingTypesEnum {
|
|
2748
|
-
DIRECT_FOR_ALL = "all",
|
|
2749
|
-
DIRECT_FOR_NONE = "none",
|
|
2750
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2751
|
-
NO_SETTING = "no_setting"
|
|
2752
|
-
}
|
|
2753
|
-
export declare enum GenderEnum {
|
|
2754
|
-
OTHER = 1,
|
|
2755
|
-
MALE = 2,
|
|
2756
|
-
FEMALE = 3
|
|
2757
|
-
}
|
|
2758
|
-
export declare enum LevelOfPlayEnum {
|
|
2759
|
-
BEGINNER = 1,
|
|
2760
|
-
INTERMEDIATE = 2,
|
|
2761
|
-
ADVANCED = 3,
|
|
2762
|
-
SEMIPRO = 4,
|
|
2763
|
-
SPECTATOR = 5
|
|
2764
|
-
}
|
|
2765
|
-
export declare enum ProgramTypesEnum {
|
|
2766
|
-
LEAGUE = 0,
|
|
2767
|
-
TOURNAMENT = 1,
|
|
2768
|
-
CLASS = 2,
|
|
2769
|
-
CLINIC = 3,
|
|
2770
|
-
CAMP = 4,
|
|
2771
|
-
LESSON = 5,
|
|
2772
|
-
CLUB_TEAM = 6
|
|
2773
|
-
}
|
|
2774
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2775
|
-
ROUND_ROBIN = 1,
|
|
2776
|
-
BRACKETS = 2,
|
|
2777
|
-
CAMP_CLINIC_CLASS = 3
|
|
2778
|
-
}
|
|
2779
|
-
export declare enum SportsEnum {
|
|
2780
|
-
SOFTBALL = 1,
|
|
2781
|
-
BASKETBALL = 2,
|
|
2782
|
-
FOOTBALL = 3,
|
|
2783
|
-
SOCCER = 4,
|
|
2784
|
-
BOWLING = 5,
|
|
2785
|
-
BOCCEBALL = 6,
|
|
2786
|
-
CORNHOLE = 7,
|
|
2787
|
-
DODGEBALL = 8,
|
|
2788
|
-
FRISBEE = 9,
|
|
2789
|
-
HOCKEY = 10,
|
|
2790
|
-
KICKBALL = 11,
|
|
2791
|
-
LACROSSE = 12,
|
|
2792
|
-
PINGPONG = 13,
|
|
2793
|
-
RUGBY = 14,
|
|
2794
|
-
SKEEBALL = 15,
|
|
2795
|
-
TENNIS = 16,
|
|
2796
|
-
VOLLEYBALL = 17,
|
|
2797
|
-
WIFFLEBALL = 18,
|
|
2798
|
-
BADMINTON = 19,
|
|
2799
|
-
FITNESS = 20,
|
|
2800
|
-
GOLF = 21,
|
|
2801
|
-
PILATES = 22,
|
|
2802
|
-
RUNNING = 23,
|
|
2803
|
-
SKIING = 24,
|
|
2804
|
-
SNOWBOARDING = 25,
|
|
2805
|
-
YOGA = 26,
|
|
2806
|
-
BROOMBALL = 27,
|
|
2807
|
-
CRICKET = 28,
|
|
2808
|
-
CROSSFIT = 29,
|
|
2809
|
-
CYCLING = 30,
|
|
2810
|
-
FIELD_HOCKEY = 31,
|
|
2811
|
-
RACQUETBALL = 32,
|
|
2812
|
-
SPINNING = 33,
|
|
2813
|
-
SQUASH = 34,
|
|
2814
|
-
SURFING = 35,
|
|
2815
|
-
SWIMMING = 36,
|
|
2816
|
-
WIND_SURFING = 37,
|
|
2817
|
-
ADVENTURE = 38,
|
|
2818
|
-
BOXING = 39,
|
|
2819
|
-
BASEBALL = 40,
|
|
2820
|
-
DANCE = 41,
|
|
2821
|
-
KICKBOXING = 42,
|
|
2822
|
-
MARTIAL_ARTS = 43,
|
|
2823
|
-
OUTDOORS = 44,
|
|
2824
|
-
ROWING = 45,
|
|
2825
|
-
SAILING = 46,
|
|
2826
|
-
SUP = 47,
|
|
2827
|
-
TRIATHLON = 48,
|
|
2828
|
-
HANDBALL = 49,
|
|
2829
|
-
CATCHBALL = 50,
|
|
2830
|
-
BLITZBALL = 51,
|
|
2831
|
-
ROLLER_DERBY = 52,
|
|
2832
|
-
ICE_SKATING = 53,
|
|
2833
|
-
PICKLEBALL = 54,
|
|
2834
|
-
AXE_THROWING = 55,
|
|
2835
|
-
FURSAL = 56,
|
|
2836
|
-
BIRTHDAY = 57,
|
|
2837
|
-
CORPRATE_EVENTS = 58,
|
|
2838
|
-
OTHER = 999
|
|
2839
|
-
}
|
|
2840
|
-
export declare enum PublishingStatusEnum {
|
|
2841
|
-
DRAFT = 1,
|
|
2842
|
-
PUBLISHED = 2,
|
|
2843
|
-
CLOSED = 3,
|
|
2844
|
-
CANCELLED = 4,
|
|
2845
|
-
ARCHIVE = 5,
|
|
2846
|
-
UNPUBLISHED = 6
|
|
2847
|
-
}
|
|
2848
|
-
export declare enum ProgramHighlightTypeEnum {
|
|
2849
|
-
OTHER = 1,
|
|
2850
|
-
MINAGE = 2,
|
|
2851
|
-
MAXAGE = 3,
|
|
2852
|
-
GENDER = 4,
|
|
2853
|
-
LEVELOFPLAY = 5,
|
|
2854
|
-
GAMESSEASON = 6,
|
|
2855
|
-
MINWEEK = 7,
|
|
2856
|
-
SURFACE = 8,
|
|
2857
|
-
FORMAT = 9,
|
|
2858
|
-
PLAYERS_PER_TEAM = 10,
|
|
2859
|
-
MATCH_LENGTH = 12
|
|
2860
|
-
}
|
|
2861
|
-
export declare enum RequestStatusEnum {
|
|
2862
|
-
PENDING = 1,
|
|
2863
|
-
ACCEPTED = 2,
|
|
2864
|
-
DECLINED = 3
|
|
2865
|
-
}
|
|
2866
|
-
export declare enum PaymentStatusEnum {
|
|
2867
|
-
NOT_PAID = "not_paid",
|
|
2868
|
-
PARTIAL_PAYMENT = "partial",
|
|
2869
|
-
FULLY_PAID = "paid",
|
|
2870
|
-
REFUNDED = "refunded",
|
|
2871
|
-
VOID = "void"
|
|
2509
|
+
export declare enum PaymentStatusEnum {
|
|
2510
|
+
NOT_PAID = "not_paid",
|
|
2511
|
+
PARTIAL_PAYMENT = "partial",
|
|
2512
|
+
FULLY_PAID = "paid",
|
|
2513
|
+
REFUNDED = "refunded",
|
|
2514
|
+
VOID = "void"
|
|
2872
2515
|
}
|
|
2873
2516
|
export declare enum ReservationExtendedEnum {
|
|
2874
2517
|
PURCHASE_ORDER = "purchase_order"
|
|
@@ -3027,233 +2670,579 @@ export declare enum ActionSourcePlatformEnum {
|
|
|
3027
2670
|
BACKOFFICE = "backoffice",
|
|
3028
2671
|
CONSUMER = "consumer"
|
|
3029
2672
|
}
|
|
3030
|
-
export declare enum RolesEnum {
|
|
3031
|
-
ORG_ADMIN = "organizationAdmin",
|
|
3032
|
-
BOND_ADMIN = "bondAdmin"
|
|
2673
|
+
export declare enum RolesEnum {
|
|
2674
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2675
|
+
BOND_ADMIN = "bondAdmin"
|
|
2676
|
+
}
|
|
2677
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2678
|
+
IN_POOL = 5,
|
|
2679
|
+
ASSIGNED = 1,
|
|
2680
|
+
QUIT = 2,
|
|
2681
|
+
SUSPENDED = 3,
|
|
2682
|
+
INACTIVE = 4
|
|
2683
|
+
}
|
|
2684
|
+
export declare enum AmenitiesEnum {
|
|
2685
|
+
HEAT = 1,
|
|
2686
|
+
AC = 2,
|
|
2687
|
+
WIFI = 3,
|
|
2688
|
+
RESTROOMS = 4,
|
|
2689
|
+
DRINKING_FOUNTAIN = 5,
|
|
2690
|
+
PARKING = 6,
|
|
2691
|
+
CONCESSIONS = 7,
|
|
2692
|
+
SHELTER = 8,
|
|
2693
|
+
PORTABLE_RESTROOMS = 9,
|
|
2694
|
+
LIGHTS = 10,
|
|
2695
|
+
LOCKER_ROOM = 11,
|
|
2696
|
+
PAID_PARKING = 12,
|
|
2697
|
+
ACCESSIBLE = 13
|
|
2698
|
+
}
|
|
2699
|
+
export declare enum ResourceSubTypeEnum {
|
|
2700
|
+
COURT = "court",
|
|
2701
|
+
FIELD = "field",
|
|
2702
|
+
ROOM = "room",
|
|
2703
|
+
DIAMOND = "diamond",
|
|
2704
|
+
RINK = "rink",
|
|
2705
|
+
STUDIO = "studio",
|
|
2706
|
+
POOL = "pool",
|
|
2707
|
+
BATTING_CAGE = "batting cage",
|
|
2708
|
+
SHELTER = "shelter",
|
|
2709
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2710
|
+
}
|
|
2711
|
+
export declare enum ResourceTypeEnum {
|
|
2712
|
+
SPACE = "space"
|
|
2713
|
+
}
|
|
2714
|
+
export declare enum ResourceAgesEnum {
|
|
2715
|
+
ADULTS = "adults",
|
|
2716
|
+
CHILDREN = "children"
|
|
2717
|
+
}
|
|
2718
|
+
export declare enum SpacePropertiesEnum {
|
|
2719
|
+
OUTDOOR = "outdoor",
|
|
2720
|
+
INDOOR = "indoor"
|
|
2721
|
+
}
|
|
2722
|
+
export declare enum SurfacesEnum {
|
|
2723
|
+
GRASS = "grass",
|
|
2724
|
+
TURF = "turf",
|
|
2725
|
+
FIELD_TURF = "fieldTurf",
|
|
2726
|
+
ASTRO_TURF = "astroTurf",
|
|
2727
|
+
HARDWOOD = "hardwood",
|
|
2728
|
+
ASPHALT = "asphalt",
|
|
2729
|
+
SAND = "sand",
|
|
2730
|
+
ICE = "ice",
|
|
2731
|
+
SPORT_COURT = "sportCourt"
|
|
2732
|
+
}
|
|
2733
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2734
|
+
MINUTES = "minutes",
|
|
2735
|
+
DAYS = "days"
|
|
2736
|
+
}
|
|
2737
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2738
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2739
|
+
OPEN = "open",
|
|
2740
|
+
CLOSED = "closed"
|
|
2741
|
+
}
|
|
2742
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2743
|
+
FULL = "full",
|
|
2744
|
+
ALREADY_REGISTERED = "registered",
|
|
2745
|
+
AVAILABLE = "available",
|
|
2746
|
+
NOT_OPEN_YET = "not opened",
|
|
2747
|
+
ALREADY_CLOSED = "closed",
|
|
2748
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2749
|
+
}
|
|
2750
|
+
export declare enum DiscountMethodsEnum {
|
|
2751
|
+
PERCENT = "percent",
|
|
2752
|
+
AMOUNT = "amount"
|
|
2753
|
+
}
|
|
2754
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2755
|
+
ORGANIZATION = "organization"
|
|
2756
|
+
}
|
|
2757
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2758
|
+
USA = "USA"
|
|
2759
|
+
}
|
|
2760
|
+
export declare enum DateTimeFormatsEnum {
|
|
2761
|
+
API_DATE = "YYYY/MM/DD",
|
|
2762
|
+
API_TIME = "HH:mm:ss"
|
|
2763
|
+
}
|
|
2764
|
+
export declare enum SlotTypeEnum {
|
|
2765
|
+
EXTERNAL = "external",
|
|
2766
|
+
INTERNAL = "internal",
|
|
2767
|
+
MAINTENANCE = "maintenance",
|
|
2768
|
+
CUSTOM = "custom"
|
|
2769
|
+
}
|
|
2770
|
+
export declare enum PlatformsEnum {
|
|
2771
|
+
CONSUMER = "consumer",
|
|
2772
|
+
BO = "backoffice",
|
|
2773
|
+
MOBILE = "mobile",
|
|
2774
|
+
CRON = "cron"
|
|
2775
|
+
}
|
|
2776
|
+
export declare enum ShiftStatusEnum {
|
|
2777
|
+
OPEN = "open",
|
|
2778
|
+
CLOSED = "closed",
|
|
2779
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2780
|
+
RECONCILED = "reconciled"
|
|
2781
|
+
}
|
|
2782
|
+
export declare enum EventStatusEnum {
|
|
2783
|
+
OPEN = 1,
|
|
2784
|
+
DRAFT = 2,
|
|
2785
|
+
FULL = 3,
|
|
2786
|
+
CANCELLED = 4,
|
|
2787
|
+
CLOSED = 5,
|
|
2788
|
+
DELETED = 6
|
|
2789
|
+
}
|
|
2790
|
+
export declare enum ReservationTypeEnum {
|
|
2791
|
+
RENTAL = "rental",
|
|
2792
|
+
PROGRAM = "program",
|
|
2793
|
+
MAINTENANCE = "maintenance",
|
|
2794
|
+
CUSTOM = "custom"
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum SlotDurationTypeEnum {
|
|
2797
|
+
DATES = "dates",
|
|
2798
|
+
ALL_DAY = "all day",
|
|
2799
|
+
DURATION = "duration"
|
|
2800
|
+
}
|
|
2801
|
+
export declare enum DurationUnitTypesEnum {
|
|
2802
|
+
MINUTES = "minutes",
|
|
2803
|
+
HOURS = "hours"
|
|
2804
|
+
}
|
|
2805
|
+
export declare enum FrequencyEnum {
|
|
2806
|
+
NONE = "none",
|
|
2807
|
+
WEEKLY = "weekly",
|
|
2808
|
+
DAILY = "daily",
|
|
2809
|
+
MONTHLY = "monthly",
|
|
2810
|
+
YEARLY = "yearly"
|
|
2811
|
+
}
|
|
2812
|
+
export declare enum MaintenanceTimingEnum {
|
|
2813
|
+
BEFORE = 1,
|
|
2814
|
+
AFTER = 2,
|
|
2815
|
+
AT_THE_BEGINING = 3,
|
|
2816
|
+
AT_THE_END = 4
|
|
2817
|
+
}
|
|
2818
|
+
export declare enum CreatorTypeEnum {
|
|
2819
|
+
SPACE = "space",
|
|
2820
|
+
PROGRAM_SEASON = "program_season"
|
|
2821
|
+
}
|
|
2822
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2823
|
+
INDIVIDUAL = "indvidual",
|
|
2824
|
+
CATEGORY = "category",
|
|
2825
|
+
GLOBAL = "global"
|
|
2826
|
+
}
|
|
2827
|
+
export declare enum BondDayOfWeekEnum {
|
|
2828
|
+
MONDAY = 2,
|
|
2829
|
+
TUESDAY = 3,
|
|
2830
|
+
WEDNESDAY = 4,
|
|
2831
|
+
THURSDAY = 5,
|
|
2832
|
+
FRIDAY = 6,
|
|
2833
|
+
SATURDAY = 7,
|
|
2834
|
+
SUNDAY = 8
|
|
2835
|
+
}
|
|
2836
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2837
|
+
NEW = "new",
|
|
2838
|
+
NO = "no",
|
|
2839
|
+
YES = "yes"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum ProductPackageLevelEnum {
|
|
2842
|
+
HOUR = "hour",
|
|
2843
|
+
SLOT = "slot",
|
|
2844
|
+
RESERVATION = "reservation"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum CancellationStatusEnum {
|
|
2847
|
+
IMMEDIATE = "immediate",
|
|
2848
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2851
|
+
DRAFT = 0,
|
|
2852
|
+
PUBLISHED = 1
|
|
2853
|
+
}
|
|
2854
|
+
export declare enum FinancialStepEnum {
|
|
2855
|
+
VOID = "void",
|
|
2856
|
+
REFUND = "refund",
|
|
2857
|
+
NONE = "none",
|
|
2858
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2859
|
+
APPEND = "append"
|
|
2860
|
+
}
|
|
2861
|
+
export declare enum StripeAccountTypesEnum {
|
|
2862
|
+
STRIPE = "stripe",
|
|
2863
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2864
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2865
|
+
}
|
|
2866
|
+
export declare enum LinkedAccountStatus {
|
|
2867
|
+
PENDING = 1,
|
|
2868
|
+
ACTIVE = 2,
|
|
2869
|
+
PRE_PENDING = 3
|
|
2870
|
+
}
|
|
2871
|
+
export declare enum AddonParentTypeEnum {
|
|
2872
|
+
RESERVATION = "reservation",
|
|
2873
|
+
SLOT = "slot"
|
|
2874
|
+
}
|
|
2875
|
+
export declare enum EEmailStatus {
|
|
2876
|
+
SENT = "sent",
|
|
2877
|
+
OPENED = "opened",
|
|
2878
|
+
PAID = "paid",
|
|
2879
|
+
CANCELED = "canceled"
|
|
2880
|
+
}
|
|
2881
|
+
export interface IEntitlementTerms {
|
|
2882
|
+
type: EntitlementTermsTypesEnum;
|
|
2883
|
+
id?: number;
|
|
2884
|
+
value?: string;
|
|
2885
|
+
minValue?: string;
|
|
2886
|
+
maxValue?: string;
|
|
2887
|
+
}
|
|
2888
|
+
export interface IQuestionAnswerObject {
|
|
2889
|
+
questionId: number;
|
|
2890
|
+
value: string;
|
|
2891
|
+
}
|
|
2892
|
+
export interface ILowestPriceForItem {
|
|
2893
|
+
itemId: number;
|
|
2894
|
+
itemType: ResourceNameTypeEnum;
|
|
2895
|
+
groupId: number;
|
|
2896
|
+
groupName?: string;
|
|
2897
|
+
price: number;
|
|
2898
|
+
overridesPrice: boolean;
|
|
2899
|
+
}
|
|
2900
|
+
export interface IResourcesAvailability {
|
|
2901
|
+
resourceType: ResourceNameTypeEnum;
|
|
2902
|
+
quantity: number;
|
|
2903
|
+
resourcesIds: number[];
|
|
2904
|
+
isPunchCard: boolean;
|
|
2905
|
+
resources?: any[];
|
|
2906
|
+
}
|
|
2907
|
+
export interface IPackageResponse {
|
|
2908
|
+
parentProduct: Product;
|
|
2909
|
+
children: IChildProduct[];
|
|
2910
|
+
}
|
|
2911
|
+
export interface IChildProduct {
|
|
2912
|
+
product: Product;
|
|
2913
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2914
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2915
|
+
}
|
|
2916
|
+
export interface ISeasonAttendeeInfo {
|
|
2917
|
+
applicationAnswers: Answer[];
|
|
2918
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2919
|
+
invoices: Order[];
|
|
2920
|
+
payments: Invoice[];
|
|
2921
|
+
products: Product[];
|
|
2922
|
+
redeemNext: ProductsUsers;
|
|
2923
|
+
}
|
|
2924
|
+
export interface ISeasonAttendeeListInfo {
|
|
2925
|
+
userId: number;
|
|
2926
|
+
userFirstName: string;
|
|
2927
|
+
userLastName: string;
|
|
2928
|
+
userGender: number;
|
|
2929
|
+
userBirthDate: Date;
|
|
2930
|
+
userProfilePicUrl: string;
|
|
2931
|
+
customerId: number;
|
|
2932
|
+
customerEmail: string;
|
|
2933
|
+
paymentStatus: string;
|
|
2934
|
+
productName: string;
|
|
2935
|
+
punchCard: boolean;
|
|
3033
2936
|
}
|
|
3034
|
-
export declare
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
QUIT = 2,
|
|
3038
|
-
SUSPENDED = 3,
|
|
3039
|
-
INACTIVE = 4
|
|
2937
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2938
|
+
segmentType: ResourceNameTypeEnum;
|
|
2939
|
+
participantRegisteredDate?: string;
|
|
3040
2940
|
}
|
|
3041
|
-
export declare
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
WIFI = 3,
|
|
3045
|
-
RESTROOMS = 4,
|
|
3046
|
-
DRINKING_FOUNTAIN = 5,
|
|
3047
|
-
PARKING = 6,
|
|
3048
|
-
CONCESSIONS = 7,
|
|
3049
|
-
SHELTER = 8,
|
|
3050
|
-
PORTABLE_RESTROOMS = 9,
|
|
3051
|
-
LIGHTS = 10,
|
|
3052
|
-
LOCKER_ROOM = 11,
|
|
3053
|
-
PAID_PARKING = 12,
|
|
3054
|
-
ACCESSIBLE = 13
|
|
2941
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2942
|
+
segmentType: ResourceNameTypeEnum;
|
|
2943
|
+
participantRegisteredDate?: string;
|
|
3055
2944
|
}
|
|
3056
|
-
export
|
|
3057
|
-
|
|
3058
|
-
FIELD = "field",
|
|
3059
|
-
ROOM = "room",
|
|
3060
|
-
DIAMOND = "diamond",
|
|
3061
|
-
RINK = "rink",
|
|
3062
|
-
STUDIO = "studio",
|
|
3063
|
-
POOL = "pool",
|
|
3064
|
-
BATTING_CAGE = "batting cage",
|
|
3065
|
-
SHELTER = "shelter",
|
|
3066
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2945
|
+
export interface ITokenResonse {
|
|
2946
|
+
token: string;
|
|
3067
2947
|
}
|
|
3068
|
-
export
|
|
3069
|
-
|
|
2948
|
+
export interface IStripeBondInvoices {
|
|
2949
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2950
|
+
bondPaidInvoice: Invoice;
|
|
2951
|
+
order?: Order;
|
|
2952
|
+
customer?: Customer;
|
|
3070
2953
|
}
|
|
3071
|
-
export
|
|
3072
|
-
|
|
3073
|
-
|
|
2954
|
+
export interface IPartialPaymentData {
|
|
2955
|
+
purchasingUserId: number;
|
|
2956
|
+
paymentData: PurchasePaymentDto;
|
|
2957
|
+
amountToPay: number;
|
|
3074
2958
|
}
|
|
3075
|
-
export
|
|
3076
|
-
|
|
3077
|
-
|
|
2959
|
+
export interface IPayment {
|
|
2960
|
+
id: number;
|
|
2961
|
+
total: number;
|
|
2962
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2963
|
+
status: PaymentStatusEnum;
|
|
2964
|
+
createdAt: Date;
|
|
2965
|
+
invoices: number[];
|
|
3078
2966
|
}
|
|
3079
|
-
export
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
ICE = "ice",
|
|
3088
|
-
SPORT_COURT = "sportCourt"
|
|
2967
|
+
export interface IPaginationData<T> {
|
|
2968
|
+
meta: {
|
|
2969
|
+
totalItems: number;
|
|
2970
|
+
itemsPerPage: number;
|
|
2971
|
+
totalPages: number;
|
|
2972
|
+
currentPage: number;
|
|
2973
|
+
};
|
|
2974
|
+
data: T[];
|
|
3089
2975
|
}
|
|
3090
|
-
export
|
|
3091
|
-
|
|
3092
|
-
|
|
2976
|
+
export interface IPricesOfProductsResults {
|
|
2977
|
+
productId: number;
|
|
2978
|
+
userId: number;
|
|
2979
|
+
price: number;
|
|
2980
|
+
groupId?: number;
|
|
2981
|
+
groupName?: string;
|
|
2982
|
+
originalPrice?: number;
|
|
2983
|
+
priceWithoutTax: number;
|
|
2984
|
+
tax: number;
|
|
2985
|
+
isTaxInclusive: boolean;
|
|
3093
2986
|
}
|
|
3094
|
-
export
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
2987
|
+
export interface IPaymentMethodToFundLeft {
|
|
2988
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2989
|
+
paymentMethodId: string;
|
|
2990
|
+
fundLeft: number;
|
|
2991
|
+
ccLast4?: string;
|
|
2992
|
+
ccBrand?: string;
|
|
3098
2993
|
}
|
|
3099
|
-
export
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
AVAILABLE = "available",
|
|
3103
|
-
NOT_OPEN_YET = "not opened",
|
|
3104
|
-
ALREADY_CLOSED = "closed",
|
|
3105
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2994
|
+
export interface IVariantsAndTitle {
|
|
2995
|
+
title: VariantTitle;
|
|
2996
|
+
variants: Variant[];
|
|
3106
2997
|
}
|
|
3107
|
-
export
|
|
3108
|
-
|
|
3109
|
-
|
|
2998
|
+
export interface IProgramSeasonActivityTimes {
|
|
2999
|
+
dayOfWeek: number;
|
|
3000
|
+
open: string;
|
|
3001
|
+
close: string;
|
|
3110
3002
|
}
|
|
3111
|
-
export
|
|
3112
|
-
|
|
3003
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3004
|
+
date: string;
|
|
3005
|
+
startTime: string;
|
|
3006
|
+
endTime: string;
|
|
3113
3007
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3008
|
+
export interface IBlockedDates {
|
|
3009
|
+
name: string;
|
|
3010
|
+
startDate: Date;
|
|
3011
|
+
endDate: Date;
|
|
3116
3012
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3119
|
-
|
|
3013
|
+
export interface ISingleMemberForRenewal {
|
|
3014
|
+
member_id: number;
|
|
3015
|
+
member_membershipId: number;
|
|
3016
|
+
member_userId: number;
|
|
3017
|
+
member_nextPaymentMethodId?: string;
|
|
3018
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3019
|
+
member_answerTitleIds?: number[];
|
|
3020
|
+
member_organizationId: number;
|
|
3021
|
+
line_paidAmount: number;
|
|
3022
|
+
line_productId: number;
|
|
3023
|
+
order_payingUserId: number;
|
|
3024
|
+
order_paymentMethodId: string;
|
|
3025
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
3026
|
+
endDate: Date;
|
|
3027
|
+
membership_name: string;
|
|
3028
|
+
user_firstName: string;
|
|
3029
|
+
user_lastName: string;
|
|
3030
|
+
user_email: string;
|
|
3120
3031
|
}
|
|
3121
|
-
export
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3032
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3033
|
+
package_parentProductId: number;
|
|
3034
|
+
line2_paidAmount: number;
|
|
3035
|
+
familyid: number;
|
|
3036
|
+
order_id: number;
|
|
3126
3037
|
}
|
|
3127
|
-
export
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3038
|
+
export interface IResourceRegistrationData {
|
|
3039
|
+
id: number;
|
|
3040
|
+
resourceType: ResourceNameTypeEnum;
|
|
3041
|
+
openNumDays?: number;
|
|
3042
|
+
openNumMinutes?: number;
|
|
3043
|
+
openTime?: string;
|
|
3044
|
+
closeNumDays?: number;
|
|
3045
|
+
closeNumMinutes?: number;
|
|
3046
|
+
closeTime?: string;
|
|
3047
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3132
3048
|
}
|
|
3133
|
-
export
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
RECONCILED = "reconciled"
|
|
3049
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3050
|
+
id: number;
|
|
3051
|
+
startDate: string;
|
|
3052
|
+
startTime: string;
|
|
3138
3053
|
}
|
|
3139
|
-
export
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
FULL = 3,
|
|
3143
|
-
CANCELLED = 4,
|
|
3144
|
-
CLOSED = 5,
|
|
3145
|
-
DELETED = 6
|
|
3054
|
+
export interface IRegistrationConstraintsSetting {
|
|
3055
|
+
numDays?: number;
|
|
3056
|
+
numMinutes?: number;
|
|
3146
3057
|
}
|
|
3147
|
-
export
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3058
|
+
export interface IAttendeeDataToNotify {
|
|
3059
|
+
firstName: string;
|
|
3060
|
+
lastName: string;
|
|
3061
|
+
email: string;
|
|
3062
|
+
sessionName: string;
|
|
3063
|
+
parentSessionName?: string;
|
|
3064
|
+
organizationName: string;
|
|
3065
|
+
programName: string;
|
|
3152
3066
|
}
|
|
3153
|
-
export
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3067
|
+
export interface IEventInSchedule {
|
|
3068
|
+
eventId: number;
|
|
3069
|
+
eventName: string;
|
|
3070
|
+
eventStartDate: string;
|
|
3071
|
+
eventEndDate: string;
|
|
3072
|
+
eventStartTime: string;
|
|
3073
|
+
eventEndTime: string;
|
|
3074
|
+
programId: number;
|
|
3075
|
+
programName: string;
|
|
3076
|
+
programType: ProgramTypesEnum;
|
|
3077
|
+
sessionId: number;
|
|
3078
|
+
sessionName: string;
|
|
3079
|
+
sports: number;
|
|
3080
|
+
spaces: {
|
|
3081
|
+
spaceId: number;
|
|
3082
|
+
spaceName: string;
|
|
3083
|
+
}[];
|
|
3084
|
+
status?: RegistrationValidationStatusEnum;
|
|
3157
3085
|
}
|
|
3158
|
-
export
|
|
3159
|
-
|
|
3160
|
-
|
|
3086
|
+
export interface ISlotInSchedule {
|
|
3087
|
+
facilityId: number;
|
|
3088
|
+
facilityName: string;
|
|
3089
|
+
spaces: ISpaceWithSlots[];
|
|
3161
3090
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
MONTHLY = "monthly",
|
|
3167
|
-
YEARLY = "yearly"
|
|
3091
|
+
export interface ISpaceWithSlots {
|
|
3092
|
+
id: number;
|
|
3093
|
+
name: string;
|
|
3094
|
+
slots: ISlotReservationData[];
|
|
3168
3095
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3096
|
+
export interface ISlotReservationData {
|
|
3097
|
+
reservationId: number;
|
|
3098
|
+
reservationName: string;
|
|
3099
|
+
date: string;
|
|
3100
|
+
startTime: string;
|
|
3101
|
+
endTime: string;
|
|
3102
|
+
notes: string;
|
|
3103
|
+
spaceId: number;
|
|
3104
|
+
isRental: boolean;
|
|
3105
|
+
slotType: SlotTypeEnum;
|
|
3106
|
+
slotId: number;
|
|
3107
|
+
eventId: number;
|
|
3108
|
+
isPrivate: boolean;
|
|
3174
3109
|
}
|
|
3175
|
-
export
|
|
3176
|
-
|
|
3177
|
-
|
|
3110
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3111
|
+
parentSessionId: number;
|
|
3112
|
+
parentSessionName: string;
|
|
3113
|
+
eventTimezone: string;
|
|
3114
|
+
maxParticipants: number;
|
|
3115
|
+
maxMaleParticipants: number;
|
|
3116
|
+
maxFemaleParticipants: number;
|
|
3117
|
+
isPunchCard: boolean;
|
|
3178
3118
|
}
|
|
3179
|
-
export
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3119
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3120
|
+
id: number;
|
|
3121
|
+
name: string;
|
|
3122
|
+
bookingCreatorId: number;
|
|
3183
3123
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3124
|
+
export interface IRawSlotInSchedule {
|
|
3125
|
+
startDate: string;
|
|
3126
|
+
endDate: string;
|
|
3127
|
+
startTime: string;
|
|
3128
|
+
endTime: string;
|
|
3129
|
+
reservationId: number;
|
|
3130
|
+
eventTitle: string;
|
|
3131
|
+
publicNotes: string;
|
|
3132
|
+
spaceId: number;
|
|
3133
|
+
creatorType: ResourceNameTypeEnum;
|
|
3134
|
+
slotType: SlotTypeEnum;
|
|
3135
|
+
slotId: number;
|
|
3136
|
+
eventId: number;
|
|
3137
|
+
isPrivate: boolean;
|
|
3192
3138
|
}
|
|
3193
|
-
export
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3139
|
+
export interface IPurchasedResourcesRaw {
|
|
3140
|
+
purchasedId: number;
|
|
3141
|
+
purchasedProductUserId: number;
|
|
3142
|
+
purchasedResourceId: number;
|
|
3143
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3144
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3145
|
+
pUserId: number;
|
|
3146
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3147
|
+
pUserProductId: number;
|
|
3148
|
+
pUserProductName: string;
|
|
3149
|
+
pUserProductPrice: number;
|
|
3150
|
+
pUserProductPriceCurrency: string;
|
|
3151
|
+
pUserProductQuantity: number;
|
|
3152
|
+
pUserProductQuantityLeft: number;
|
|
3153
|
+
pUserUserId: number;
|
|
3197
3154
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3155
|
+
export interface IUsersPasses {
|
|
3156
|
+
userId: number;
|
|
3157
|
+
userFirstName: string;
|
|
3158
|
+
userLastName: string;
|
|
3159
|
+
organizationId: number;
|
|
3160
|
+
programId: number;
|
|
3161
|
+
programName: string;
|
|
3162
|
+
sessionId: number;
|
|
3163
|
+
sessionName: string;
|
|
3164
|
+
productId: number;
|
|
3165
|
+
productName: string;
|
|
3166
|
+
productUserId: number;
|
|
3167
|
+
purchaseDate: Date;
|
|
3168
|
+
passesLeft: number;
|
|
3202
3169
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3170
|
+
export interface ISessionsLandingPage {
|
|
3171
|
+
sessionId: number;
|
|
3172
|
+
name: string;
|
|
3173
|
+
startDate: Date;
|
|
3174
|
+
endDate: Date;
|
|
3175
|
+
registrationStartDate: Date;
|
|
3176
|
+
registrationEndDate: Date;
|
|
3177
|
+
sport: SportsEnum;
|
|
3178
|
+
minAge: string;
|
|
3179
|
+
maxAge: string;
|
|
3180
|
+
maxParticipants?: number;
|
|
3181
|
+
gender: GenderEnum;
|
|
3182
|
+
activityTimes: ActivityTimes[];
|
|
3183
|
+
earlyRegistrationStartDate?: Date;
|
|
3184
|
+
earlyRegistrationEndDate?: Date;
|
|
3185
|
+
lateRegistrationStartDate?: Date;
|
|
3186
|
+
lateRegistrationEndDate?: Date;
|
|
3187
|
+
attendeeCount?: number;
|
|
3188
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3206
3189
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3190
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3191
|
+
hasRequiredMembership: boolean;
|
|
3192
|
+
hasEntitledPricing: boolean;
|
|
3193
|
+
lowestPrice?: number;
|
|
3194
|
+
products?: ISessionLandingPageProduct[];
|
|
3210
3195
|
}
|
|
3211
|
-
export
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3196
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3197
|
+
hasRequiredMembership: boolean;
|
|
3198
|
+
hasEntitledPricing: boolean;
|
|
3199
|
+
products?: ISessionLandingPageProduct[];
|
|
3200
|
+
segments?: Event[] | ProgramSeason[];
|
|
3201
|
+
programName: string;
|
|
3202
|
+
programId: number;
|
|
3203
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3204
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3217
3205
|
}
|
|
3218
|
-
export
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3206
|
+
export interface ISlimAddons {
|
|
3207
|
+
addons?: {
|
|
3208
|
+
id: number;
|
|
3209
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3210
|
+
name: string;
|
|
3211
|
+
productType?: ProductTypesEnum;
|
|
3212
|
+
productSubType?: string;
|
|
3213
|
+
}[];
|
|
3222
3214
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3215
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3216
|
+
id: number;
|
|
3217
|
+
name: string;
|
|
3218
|
+
startDate?: Date;
|
|
3219
|
+
endDate?: Date;
|
|
3220
|
+
downpayment?: number;
|
|
3221
|
+
description?: string;
|
|
3222
|
+
prices: Price[];
|
|
3223
|
+
productSubType?: ProductSubTypesEnum;
|
|
3224
|
+
punchCard: boolean;
|
|
3225
|
+
isAddon: boolean;
|
|
3226
|
+
defaultPriceId?: number;
|
|
3227
3227
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3228
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3229
|
+
destinationId?: string;
|
|
3230
|
+
stripeCustomerId?: string;
|
|
3231
|
+
fee?: number;
|
|
3231
3232
|
}
|
|
3232
|
-
export
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3233
|
+
export interface IReservationCreatorData {
|
|
3234
|
+
type: ResourceNameTypeEnum;
|
|
3235
|
+
id: number;
|
|
3236
|
+
organizationId: number;
|
|
3237
|
+
startDate: string;
|
|
3238
|
+
endDate: string;
|
|
3239
|
+
sportId: number;
|
|
3237
3240
|
}
|
|
3238
3241
|
export declare class ColumnNumericTransformer {
|
|
3239
3242
|
to(data: number): number;
|
|
3240
3243
|
from(data: string): number;
|
|
3241
3244
|
}
|
|
3242
3245
|
export declare function convertToNumber(data: string): number;
|
|
3243
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3244
|
-
name?: string;
|
|
3245
|
-
genderStr?: string;
|
|
3246
|
-
parentID?: string;
|
|
3247
|
-
partnerID?: string;
|
|
3248
|
-
membershipName?: string;
|
|
3249
|
-
membershipExpDate?: string;
|
|
3250
|
-
membershipCreationDate?: string;
|
|
3251
|
-
bondMembershipID?: number;
|
|
3252
|
-
}
|
|
3253
|
-
export declare class AddFamilyDto {
|
|
3254
|
-
parents: AddImportedCustomerDto[];
|
|
3255
|
-
children: AddImportedCustomerDto[];
|
|
3256
|
-
}
|
|
3257
3246
|
export declare enum ImportPaymentTypeEnum {
|
|
3258
3247
|
CREDIT_CARD = "card",
|
|
3259
3248
|
ACH = "ach",
|
|
@@ -3305,6 +3294,20 @@ export declare class PunchPassDto {
|
|
|
3305
3294
|
BondSessionID: number;
|
|
3306
3295
|
ProductID: number;
|
|
3307
3296
|
}
|
|
3297
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3298
|
+
name?: string;
|
|
3299
|
+
genderStr?: string;
|
|
3300
|
+
parentID?: string;
|
|
3301
|
+
partnerID?: string;
|
|
3302
|
+
membershipName?: string;
|
|
3303
|
+
membershipExpDate?: string;
|
|
3304
|
+
membershipCreationDate?: string;
|
|
3305
|
+
bondMembershipID?: number;
|
|
3306
|
+
}
|
|
3307
|
+
export declare class AddFamilyDto {
|
|
3308
|
+
parents: AddImportedCustomerDto[];
|
|
3309
|
+
children: AddImportedCustomerDto[];
|
|
3310
|
+
}
|
|
3308
3311
|
export declare class ImportedSlotProductDto {
|
|
3309
3312
|
slotID?: string;
|
|
3310
3313
|
name?: string;
|
|
@@ -3483,15 +3486,15 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3483
3486
|
brandings: OrganizationBranding[];
|
|
3484
3487
|
brandingsV2?: OrganizationBranding[];
|
|
3485
3488
|
}
|
|
3486
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3487
|
-
mainAdminUserId?: number;
|
|
3488
|
-
}
|
|
3489
3489
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3490
3490
|
key?: string;
|
|
3491
3491
|
vaule?: string;
|
|
3492
3492
|
version: number;
|
|
3493
3493
|
organization: Organization;
|
|
3494
3494
|
}
|
|
3495
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3496
|
+
mainAdminUserId?: number;
|
|
3497
|
+
}
|
|
3495
3498
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3496
3499
|
organisationId: number | null;
|
|
3497
3500
|
userId: number | null;
|
|
@@ -4051,6 +4054,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4051
4054
|
productUserId?: number;
|
|
4052
4055
|
productUser?: ProductsUsers;
|
|
4053
4056
|
}
|
|
4057
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4058
|
+
deletedAt?: Date;
|
|
4059
|
+
reservationId: number;
|
|
4060
|
+
invoiceId: number;
|
|
4061
|
+
slotId: number;
|
|
4062
|
+
}
|
|
4054
4063
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4055
4064
|
name?: string;
|
|
4056
4065
|
description?: string;
|
|
@@ -4090,12 +4099,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4090
4099
|
targetGlobalPrice?: number;
|
|
4091
4100
|
slots: Slot[];
|
|
4092
4101
|
}
|
|
4093
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4094
|
-
deletedAt?: Date;
|
|
4095
|
-
reservationId: number;
|
|
4096
|
-
invoiceId: number;
|
|
4097
|
-
slotId: number;
|
|
4098
|
-
}
|
|
4099
4102
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4100
4103
|
deletedAt?: Date;
|
|
4101
4104
|
reservationId: number;
|
|
@@ -4404,12 +4407,6 @@ export interface EditSlotsData {
|
|
|
4404
4407
|
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4405
4408
|
refundResult?: RefundResult;
|
|
4406
4409
|
}
|
|
4407
|
-
export declare class ChangeRolePermissionsDto {
|
|
4408
|
-
permissionIds: number[];
|
|
4409
|
-
}
|
|
4410
|
-
export declare class CreateRoleDto {
|
|
4411
|
-
name: string;
|
|
4412
|
-
}
|
|
4413
4410
|
export declare class Permission extends BondBaseEntity {
|
|
4414
4411
|
name: string;
|
|
4415
4412
|
deletedAt?: Date;
|
|
@@ -4427,6 +4424,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4427
4424
|
role: Role;
|
|
4428
4425
|
user: User;
|
|
4429
4426
|
}
|
|
4427
|
+
export declare class ChangeRolePermissionsDto {
|
|
4428
|
+
permissionIds: number[];
|
|
4429
|
+
}
|
|
4430
|
+
export declare class CreateRoleDto {
|
|
4431
|
+
name: string;
|
|
4432
|
+
}
|
|
4430
4433
|
export declare class CloseShiftDto {
|
|
4431
4434
|
closingCashAmount: number;
|
|
4432
4435
|
}
|