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