@bondsports/types 0.0.86 → 0.0.87
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 +730 -730
- 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
|
@@ -1272,10 +1272,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1272
1272
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
1273
|
name: string | null;
|
|
1274
1274
|
}
|
|
1275
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1276
|
-
groupId: number;
|
|
1277
|
-
terms: IEntitlementTerms[];
|
|
1278
|
-
}
|
|
1279
1275
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1280
1276
|
status: RequestStatusEnum | null;
|
|
1281
1277
|
hasPaid: boolean | null;
|
|
@@ -1291,6 +1287,10 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1291
1287
|
event: Event;
|
|
1292
1288
|
purchasedResource: PurchasedResource;
|
|
1293
1289
|
}
|
|
1290
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1291
|
+
groupId: number;
|
|
1292
|
+
terms: IEntitlementTerms[];
|
|
1293
|
+
}
|
|
1294
1294
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1295
1295
|
constructor();
|
|
1296
1296
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1407,6 +1407,11 @@ export declare class Group extends BondBaseEntity {
|
|
|
1407
1407
|
members: ISeasonAttendeeInfo[];
|
|
1408
1408
|
users: User[];
|
|
1409
1409
|
}
|
|
1410
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1411
|
+
groupId: number;
|
|
1412
|
+
divisionId: number;
|
|
1413
|
+
deletedAt?: Date;
|
|
1414
|
+
}
|
|
1410
1415
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
1416
|
groupId: number;
|
|
1412
1417
|
itemId: number;
|
|
@@ -1420,11 +1425,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1420
1425
|
discountMethod?: DiscountMethodsEnum;
|
|
1421
1426
|
discountValue?: number;
|
|
1422
1427
|
}
|
|
1423
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1424
|
-
groupId: number;
|
|
1425
|
-
divisionId: number;
|
|
1426
|
-
deletedAt?: Date;
|
|
1427
|
-
}
|
|
1428
1428
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1429
1429
|
price: number;
|
|
1430
1430
|
paymentProcessorId: string;
|
|
@@ -1607,22 +1607,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1607
1607
|
displayUnitPrice?: number;
|
|
1608
1608
|
displayQuantity?: number;
|
|
1609
1609
|
}
|
|
1610
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1611
|
-
id: number;
|
|
1612
|
-
provider: string;
|
|
1613
|
-
providerId: string | null;
|
|
1614
|
-
parentId: number | null;
|
|
1615
|
-
parentType: string | null;
|
|
1616
|
-
status: number | null;
|
|
1617
|
-
token: string | null;
|
|
1618
|
-
refreshToken: string | null;
|
|
1619
|
-
tokenCreatedAt: Date | null;
|
|
1620
|
-
tokenValidUpTo: Date | null;
|
|
1621
|
-
createdAt: Date;
|
|
1622
|
-
updatedAt: Date;
|
|
1623
|
-
user: User;
|
|
1624
|
-
userId: number | null;
|
|
1625
|
-
}
|
|
1626
1610
|
export declare class Media extends BondBaseEntity {
|
|
1627
1611
|
url: string;
|
|
1628
1612
|
name: string | null;
|
|
@@ -1815,6 +1799,21 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1815
1799
|
discountValue?: number;
|
|
1816
1800
|
taxIncludedPrice?: number;
|
|
1817
1801
|
}
|
|
1802
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1803
|
+
parentProductId: number;
|
|
1804
|
+
childProductId: number;
|
|
1805
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1806
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1807
|
+
deletedAt?: Date;
|
|
1808
|
+
productResource: ProductResource;
|
|
1809
|
+
childProduct: Product;
|
|
1810
|
+
parentProduct: Product;
|
|
1811
|
+
price: number;
|
|
1812
|
+
isFlatPrice: boolean;
|
|
1813
|
+
durationMinutes?: number;
|
|
1814
|
+
durationDays?: number;
|
|
1815
|
+
level?: ProductPackageLevelEnum;
|
|
1816
|
+
}
|
|
1818
1817
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1819
1818
|
name: string;
|
|
1820
1819
|
quantity: number;
|
|
@@ -1865,21 +1864,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1865
1864
|
activityTimes: ActivityTimes[];
|
|
1866
1865
|
purchasedResources: PurchasedResource[];
|
|
1867
1866
|
}
|
|
1868
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1869
|
-
parentProductId: number;
|
|
1870
|
-
childProductId: number;
|
|
1871
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1872
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1873
|
-
deletedAt?: Date;
|
|
1874
|
-
productResource: ProductResource;
|
|
1875
|
-
childProduct: Product;
|
|
1876
|
-
parentProduct: Product;
|
|
1877
|
-
price: number;
|
|
1878
|
-
isFlatPrice: boolean;
|
|
1879
|
-
durationMinutes?: number;
|
|
1880
|
-
durationDays?: number;
|
|
1881
|
-
level?: ProductPackageLevelEnum;
|
|
1882
|
-
}
|
|
1883
1867
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1884
1868
|
productId: number;
|
|
1885
1869
|
maxMonths?: number;
|
|
@@ -1915,6 +1899,22 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1915
1899
|
deletedAt?: Date;
|
|
1916
1900
|
product: Product;
|
|
1917
1901
|
}
|
|
1902
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1903
|
+
id: number;
|
|
1904
|
+
provider: string;
|
|
1905
|
+
providerId: string | null;
|
|
1906
|
+
parentId: number | null;
|
|
1907
|
+
parentType: string | null;
|
|
1908
|
+
status: number | null;
|
|
1909
|
+
token: string | null;
|
|
1910
|
+
refreshToken: string | null;
|
|
1911
|
+
tokenCreatedAt: Date | null;
|
|
1912
|
+
tokenValidUpTo: Date | null;
|
|
1913
|
+
createdAt: Date;
|
|
1914
|
+
updatedAt: Date;
|
|
1915
|
+
user: User;
|
|
1916
|
+
userId: number | null;
|
|
1917
|
+
}
|
|
1918
1918
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1919
1919
|
productId: number;
|
|
1920
1920
|
userId: number;
|
|
@@ -2351,142 +2351,502 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2351
2351
|
membershipCollectionId?: string;
|
|
2352
2352
|
programsCollectionId?: string;
|
|
2353
2353
|
}
|
|
2354
|
-
export
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2354
|
+
export interface IEntitlementTerms {
|
|
2355
|
+
type: EntitlementTermsTypesEnum;
|
|
2356
|
+
id?: number;
|
|
2357
|
+
value?: string;
|
|
2358
|
+
minValue?: string;
|
|
2359
|
+
maxValue?: string;
|
|
2358
2360
|
}
|
|
2359
|
-
export
|
|
2360
|
-
|
|
2361
|
-
|
|
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"
|
|
2361
|
+
export interface IQuestionAnswerObject {
|
|
2362
|
+
questionId: number;
|
|
2363
|
+
value: string;
|
|
2389
2364
|
}
|
|
2390
|
-
export
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2365
|
+
export interface ILowestPriceForItem {
|
|
2366
|
+
itemId: number;
|
|
2367
|
+
itemType: ResourceNameTypeEnum;
|
|
2368
|
+
groupId: number;
|
|
2369
|
+
groupName?: string;
|
|
2370
|
+
price: number;
|
|
2371
|
+
overridesPrice: boolean;
|
|
2395
2372
|
}
|
|
2396
|
-
export
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2373
|
+
export interface IResourcesAvailability {
|
|
2374
|
+
resourceType: ResourceNameTypeEnum;
|
|
2375
|
+
quantity: number;
|
|
2376
|
+
resourcesIds: number[];
|
|
2377
|
+
isPunchCard: boolean;
|
|
2378
|
+
resources?: any[];
|
|
2400
2379
|
}
|
|
2401
|
-
export
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
ADVANCED = 3,
|
|
2405
|
-
SEMIPRO = 4,
|
|
2406
|
-
SPECTATOR = 5
|
|
2380
|
+
export interface IPackageResponse {
|
|
2381
|
+
parentProduct: Product;
|
|
2382
|
+
children: IChildProduct[];
|
|
2407
2383
|
}
|
|
2408
|
-
export
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
CLINIC = 3,
|
|
2413
|
-
CAMP = 4,
|
|
2414
|
-
LESSON = 5,
|
|
2415
|
-
CLUB_TEAM = 6
|
|
2384
|
+
export interface IChildProduct {
|
|
2385
|
+
product: Product;
|
|
2386
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2387
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2416
2388
|
}
|
|
2417
|
-
export
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2389
|
+
export interface ISeasonAttendeeInfo {
|
|
2390
|
+
applicationAnswers: Answer[];
|
|
2391
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2392
|
+
invoices: Order[];
|
|
2393
|
+
payments: Invoice[];
|
|
2394
|
+
products: Product[];
|
|
2395
|
+
redeemNext: ProductsUsers;
|
|
2421
2396
|
}
|
|
2422
|
-
export
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
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
|
|
2397
|
+
export interface ISeasonAttendeeListInfo {
|
|
2398
|
+
userId: number;
|
|
2399
|
+
userFirstName: string;
|
|
2400
|
+
userLastName: string;
|
|
2401
|
+
userGender: number;
|
|
2402
|
+
userBirthDate: Date;
|
|
2403
|
+
userProfilePicUrl: string;
|
|
2404
|
+
customerId: number;
|
|
2405
|
+
customerEmail: string;
|
|
2406
|
+
paymentStatus: string;
|
|
2407
|
+
productName: string;
|
|
2408
|
+
punchCard: boolean;
|
|
2482
2409
|
}
|
|
2483
|
-
export declare
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2410
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2411
|
+
segmentType: ResourceNameTypeEnum;
|
|
2412
|
+
participantRegisteredDate?: string;
|
|
2413
|
+
}
|
|
2414
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2415
|
+
segmentType: ResourceNameTypeEnum;
|
|
2416
|
+
participantRegisteredDate?: string;
|
|
2417
|
+
}
|
|
2418
|
+
export interface ITokenResonse {
|
|
2419
|
+
token: string;
|
|
2420
|
+
}
|
|
2421
|
+
export interface IStripeBondInvoices {
|
|
2422
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2423
|
+
bondPaidInvoice: Invoice;
|
|
2424
|
+
order?: Order;
|
|
2425
|
+
customer?: Customer;
|
|
2426
|
+
}
|
|
2427
|
+
export interface IPartialPaymentData {
|
|
2428
|
+
purchasingUserId: number;
|
|
2429
|
+
paymentData: PurchasePaymentDto;
|
|
2430
|
+
amountToPay: number;
|
|
2431
|
+
}
|
|
2432
|
+
export interface IPayment {
|
|
2433
|
+
id: number;
|
|
2434
|
+
total: number;
|
|
2435
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2436
|
+
status: PaymentStatusEnum;
|
|
2437
|
+
createdAt: Date;
|
|
2438
|
+
invoices: number[];
|
|
2439
|
+
}
|
|
2440
|
+
export interface IPaginationData<T> {
|
|
2441
|
+
meta: {
|
|
2442
|
+
totalItems: number;
|
|
2443
|
+
itemsPerPage: number;
|
|
2444
|
+
totalPages: number;
|
|
2445
|
+
currentPage: number;
|
|
2446
|
+
};
|
|
2447
|
+
data: T[];
|
|
2448
|
+
}
|
|
2449
|
+
export interface IPricesOfProductsResults {
|
|
2450
|
+
productId: number;
|
|
2451
|
+
userId: number;
|
|
2452
|
+
price: number;
|
|
2453
|
+
groupId?: number;
|
|
2454
|
+
groupName?: string;
|
|
2455
|
+
originalPrice?: number;
|
|
2456
|
+
priceWithoutTax: number;
|
|
2457
|
+
tax: number;
|
|
2458
|
+
isTaxInclusive: boolean;
|
|
2459
|
+
}
|
|
2460
|
+
export interface IPaymentMethodToFundLeft {
|
|
2461
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2462
|
+
paymentMethodId: string;
|
|
2463
|
+
fundLeft: number;
|
|
2464
|
+
ccLast4?: string;
|
|
2465
|
+
ccBrand?: string;
|
|
2466
|
+
}
|
|
2467
|
+
export interface IVariantsAndTitle {
|
|
2468
|
+
title: VariantTitle;
|
|
2469
|
+
variants: Variant[];
|
|
2470
|
+
}
|
|
2471
|
+
export interface IProgramSeasonActivityTimes {
|
|
2472
|
+
dayOfWeek: number;
|
|
2473
|
+
open: string;
|
|
2474
|
+
close: string;
|
|
2475
|
+
}
|
|
2476
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2477
|
+
date: string;
|
|
2478
|
+
startTime: string;
|
|
2479
|
+
endTime: string;
|
|
2480
|
+
}
|
|
2481
|
+
export interface IBlockedDates {
|
|
2482
|
+
name: string;
|
|
2483
|
+
startDate: Date;
|
|
2484
|
+
endDate: Date;
|
|
2485
|
+
}
|
|
2486
|
+
export interface ISingleMemberForRenewal {
|
|
2487
|
+
member_id: number;
|
|
2488
|
+
member_membershipId: number;
|
|
2489
|
+
member_userId: number;
|
|
2490
|
+
member_nextPaymentMethodId?: string;
|
|
2491
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2492
|
+
member_answerTitleIds?: number[];
|
|
2493
|
+
member_organizationId: number;
|
|
2494
|
+
line_paidAmount: number;
|
|
2495
|
+
line_productId: number;
|
|
2496
|
+
order_payingUserId: number;
|
|
2497
|
+
order_paymentMethodId: string;
|
|
2498
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
2499
|
+
endDate: Date;
|
|
2500
|
+
membership_name: string;
|
|
2501
|
+
user_firstName: string;
|
|
2502
|
+
user_lastName: string;
|
|
2503
|
+
user_email: string;
|
|
2504
|
+
}
|
|
2505
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2506
|
+
package_parentProductId: number;
|
|
2507
|
+
line2_paidAmount: number;
|
|
2508
|
+
familyid: number;
|
|
2509
|
+
order_id: number;
|
|
2510
|
+
}
|
|
2511
|
+
export interface IResourceRegistrationData {
|
|
2512
|
+
id: number;
|
|
2513
|
+
resourceType: ResourceNameTypeEnum;
|
|
2514
|
+
openNumDays?: number;
|
|
2515
|
+
openNumMinutes?: number;
|
|
2516
|
+
openTime?: string;
|
|
2517
|
+
closeNumDays?: number;
|
|
2518
|
+
closeNumMinutes?: number;
|
|
2519
|
+
closeTime?: string;
|
|
2520
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2521
|
+
}
|
|
2522
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2523
|
+
id: number;
|
|
2524
|
+
startDate: string;
|
|
2525
|
+
startTime: string;
|
|
2526
|
+
}
|
|
2527
|
+
export interface IRegistrationConstraintsSetting {
|
|
2528
|
+
numDays?: number;
|
|
2529
|
+
numMinutes?: number;
|
|
2530
|
+
}
|
|
2531
|
+
export interface IAttendeeDataToNotify {
|
|
2532
|
+
firstName: string;
|
|
2533
|
+
lastName: string;
|
|
2534
|
+
email: string;
|
|
2535
|
+
sessionName: string;
|
|
2536
|
+
parentSessionName?: string;
|
|
2537
|
+
organizationName: string;
|
|
2538
|
+
programName: string;
|
|
2539
|
+
}
|
|
2540
|
+
export interface IEventInSchedule {
|
|
2541
|
+
eventId: number;
|
|
2542
|
+
eventName: string;
|
|
2543
|
+
eventStartDate: string;
|
|
2544
|
+
eventEndDate: string;
|
|
2545
|
+
eventStartTime: string;
|
|
2546
|
+
eventEndTime: string;
|
|
2547
|
+
programId: number;
|
|
2548
|
+
programName: string;
|
|
2549
|
+
programType: ProgramTypesEnum;
|
|
2550
|
+
sessionId: number;
|
|
2551
|
+
sessionName: string;
|
|
2552
|
+
sports: number;
|
|
2553
|
+
spaces: {
|
|
2554
|
+
spaceId: number;
|
|
2555
|
+
spaceName: string;
|
|
2556
|
+
}[];
|
|
2557
|
+
status?: RegistrationValidationStatusEnum;
|
|
2558
|
+
}
|
|
2559
|
+
export interface ISlotInSchedule {
|
|
2560
|
+
facilityId: number;
|
|
2561
|
+
facilityName: string;
|
|
2562
|
+
spaces: ISpaceWithSlots[];
|
|
2563
|
+
}
|
|
2564
|
+
export interface ISpaceWithSlots {
|
|
2565
|
+
id: number;
|
|
2566
|
+
name: string;
|
|
2567
|
+
slots: ISlotReservationData[];
|
|
2568
|
+
}
|
|
2569
|
+
export interface ISlotReservationData {
|
|
2570
|
+
reservationId: number;
|
|
2571
|
+
reservationName: string;
|
|
2572
|
+
date: string;
|
|
2573
|
+
startTime: string;
|
|
2574
|
+
endTime: string;
|
|
2575
|
+
notes: string;
|
|
2576
|
+
spaceId: number;
|
|
2577
|
+
isRental: boolean;
|
|
2578
|
+
slotType: SlotTypeEnum;
|
|
2579
|
+
slotId: number;
|
|
2580
|
+
eventId: number;
|
|
2581
|
+
isPrivate: boolean;
|
|
2582
|
+
}
|
|
2583
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2584
|
+
parentSessionId: number;
|
|
2585
|
+
parentSessionName: string;
|
|
2586
|
+
eventTimezone: string;
|
|
2587
|
+
maxParticipants: number;
|
|
2588
|
+
maxMaleParticipants: number;
|
|
2589
|
+
maxFemaleParticipants: number;
|
|
2590
|
+
isPunchCard: boolean;
|
|
2591
|
+
}
|
|
2592
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2593
|
+
id: number;
|
|
2594
|
+
name: string;
|
|
2595
|
+
bookingCreatorId: number;
|
|
2596
|
+
}
|
|
2597
|
+
export interface IRawSlotInSchedule {
|
|
2598
|
+
startDate: string;
|
|
2599
|
+
endDate: string;
|
|
2600
|
+
startTime: string;
|
|
2601
|
+
endTime: string;
|
|
2602
|
+
reservationId: number;
|
|
2603
|
+
eventTitle: string;
|
|
2604
|
+
publicNotes: string;
|
|
2605
|
+
spaceId: number;
|
|
2606
|
+
creatorType: ResourceNameTypeEnum;
|
|
2607
|
+
slotType: SlotTypeEnum;
|
|
2608
|
+
slotId: number;
|
|
2609
|
+
eventId: number;
|
|
2610
|
+
isPrivate: boolean;
|
|
2611
|
+
}
|
|
2612
|
+
export interface IPurchasedResourcesRaw {
|
|
2613
|
+
purchasedId: number;
|
|
2614
|
+
purchasedProductUserId: number;
|
|
2615
|
+
purchasedResourceId: number;
|
|
2616
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2617
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2618
|
+
pUserId: number;
|
|
2619
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2620
|
+
pUserProductId: number;
|
|
2621
|
+
pUserProductName: string;
|
|
2622
|
+
pUserProductPrice: number;
|
|
2623
|
+
pUserProductPriceCurrency: string;
|
|
2624
|
+
pUserProductQuantity: number;
|
|
2625
|
+
pUserProductQuantityLeft: number;
|
|
2626
|
+
pUserUserId: number;
|
|
2627
|
+
}
|
|
2628
|
+
export interface IUsersPasses {
|
|
2629
|
+
userId: number;
|
|
2630
|
+
userFirstName: string;
|
|
2631
|
+
userLastName: string;
|
|
2632
|
+
organizationId: number;
|
|
2633
|
+
programId: number;
|
|
2634
|
+
programName: string;
|
|
2635
|
+
sessionId: number;
|
|
2636
|
+
sessionName: string;
|
|
2637
|
+
productId: number;
|
|
2638
|
+
productName: string;
|
|
2639
|
+
productUserId: number;
|
|
2640
|
+
purchaseDate: Date;
|
|
2641
|
+
passesLeft: number;
|
|
2642
|
+
}
|
|
2643
|
+
export interface ISessionsLandingPage {
|
|
2644
|
+
sessionId: number;
|
|
2645
|
+
name: string;
|
|
2646
|
+
startDate: Date;
|
|
2647
|
+
endDate: Date;
|
|
2648
|
+
registrationStartDate: Date;
|
|
2649
|
+
registrationEndDate: Date;
|
|
2650
|
+
sport: SportsEnum;
|
|
2651
|
+
minAge: string;
|
|
2652
|
+
maxAge: string;
|
|
2653
|
+
maxParticipants?: number;
|
|
2654
|
+
gender: GenderEnum;
|
|
2655
|
+
activityTimes: ActivityTimes[];
|
|
2656
|
+
earlyRegistrationStartDate?: Date;
|
|
2657
|
+
earlyRegistrationEndDate?: Date;
|
|
2658
|
+
lateRegistrationStartDate?: Date;
|
|
2659
|
+
lateRegistrationEndDate?: Date;
|
|
2660
|
+
attendeeCount?: number;
|
|
2661
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2662
|
+
}
|
|
2663
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2664
|
+
hasRequiredMembership: boolean;
|
|
2665
|
+
hasEntitledPricing: boolean;
|
|
2666
|
+
lowestPrice?: number;
|
|
2667
|
+
products?: ISessionLandingPageProduct[];
|
|
2668
|
+
}
|
|
2669
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2670
|
+
hasRequiredMembership: boolean;
|
|
2671
|
+
hasEntitledPricing: boolean;
|
|
2672
|
+
products?: ISessionLandingPageProduct[];
|
|
2673
|
+
segments?: Event[] | ProgramSeason[];
|
|
2674
|
+
programName: string;
|
|
2675
|
+
programId: number;
|
|
2676
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2677
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2678
|
+
}
|
|
2679
|
+
export interface ISlimAddons {
|
|
2680
|
+
addons?: {
|
|
2681
|
+
id: number;
|
|
2682
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2683
|
+
name: string;
|
|
2684
|
+
productType?: ProductTypesEnum;
|
|
2685
|
+
productSubType?: string;
|
|
2686
|
+
}[];
|
|
2687
|
+
}
|
|
2688
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2689
|
+
id: number;
|
|
2690
|
+
name: string;
|
|
2691
|
+
startDate?: Date;
|
|
2692
|
+
endDate?: Date;
|
|
2693
|
+
downpayment?: number;
|
|
2694
|
+
description?: string;
|
|
2695
|
+
prices: Price[];
|
|
2696
|
+
productSubType?: ProductSubTypesEnum;
|
|
2697
|
+
punchCard: boolean;
|
|
2698
|
+
isAddon: boolean;
|
|
2699
|
+
defaultPriceId?: number;
|
|
2700
|
+
}
|
|
2701
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2702
|
+
destinationId?: string;
|
|
2703
|
+
stripeCustomerId?: string;
|
|
2704
|
+
fee?: number;
|
|
2705
|
+
}
|
|
2706
|
+
export interface IReservationCreatorData {
|
|
2707
|
+
type: ResourceNameTypeEnum;
|
|
2708
|
+
id: number;
|
|
2709
|
+
organizationId: number;
|
|
2710
|
+
startDate: string;
|
|
2711
|
+
endDate: string;
|
|
2712
|
+
sportId: number;
|
|
2713
|
+
}
|
|
2714
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2715
|
+
QUESTION = "question",
|
|
2716
|
+
CITY = "city",
|
|
2717
|
+
MEMBERSHIP = "membership"
|
|
2718
|
+
}
|
|
2719
|
+
export declare enum ResourceNameTypeEnum {
|
|
2720
|
+
EVENT = "event",
|
|
2721
|
+
VENUE = "venue",
|
|
2722
|
+
TEAM = "team",
|
|
2723
|
+
LEAGUE = "league",
|
|
2724
|
+
USER = "user",
|
|
2725
|
+
ORGANIZATION = "organization",
|
|
2726
|
+
APP = "app",
|
|
2727
|
+
FEED = "feed",
|
|
2728
|
+
MATCH = "match",
|
|
2729
|
+
ROUND = "round",
|
|
2730
|
+
PORTAL = "portal",
|
|
2731
|
+
SEASON = "season",
|
|
2732
|
+
TOURNAMENT = "tournament",
|
|
2733
|
+
MEMBERSHIP = "membership",
|
|
2734
|
+
DIVISION = "division",
|
|
2735
|
+
GAMESLOT = "gameslot",
|
|
2736
|
+
SPACE = "space",
|
|
2737
|
+
RESERVATION = "reservation",
|
|
2738
|
+
ORDER = "order",
|
|
2739
|
+
CUSTOMER = "customer",
|
|
2740
|
+
PACKAGE = "package",
|
|
2741
|
+
FACILITY = "facility",
|
|
2742
|
+
PROGRAM = "program",
|
|
2743
|
+
PROGRAM_SEASON = "program_season",
|
|
2744
|
+
PRODUCT = "product",
|
|
2745
|
+
GROUP = "group",
|
|
2746
|
+
VARIANT = "variant",
|
|
2747
|
+
SLOT = "slot",
|
|
2748
|
+
ADDON = "addon"
|
|
2749
|
+
}
|
|
2750
|
+
export declare enum DirectBookingTypesEnum {
|
|
2751
|
+
DIRECT_FOR_ALL = "all",
|
|
2752
|
+
DIRECT_FOR_NONE = "none",
|
|
2753
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2754
|
+
NO_SETTING = "no_setting"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum GenderEnum {
|
|
2757
|
+
OTHER = 1,
|
|
2758
|
+
MALE = 2,
|
|
2759
|
+
FEMALE = 3
|
|
2760
|
+
}
|
|
2761
|
+
export declare enum LevelOfPlayEnum {
|
|
2762
|
+
BEGINNER = 1,
|
|
2763
|
+
INTERMEDIATE = 2,
|
|
2764
|
+
ADVANCED = 3,
|
|
2765
|
+
SEMIPRO = 4,
|
|
2766
|
+
SPECTATOR = 5
|
|
2767
|
+
}
|
|
2768
|
+
export declare enum ProgramTypesEnum {
|
|
2769
|
+
LEAGUE = 0,
|
|
2770
|
+
TOURNAMENT = 1,
|
|
2771
|
+
CLASS = 2,
|
|
2772
|
+
CLINIC = 3,
|
|
2773
|
+
CAMP = 4,
|
|
2774
|
+
LESSON = 5,
|
|
2775
|
+
CLUB_TEAM = 6
|
|
2776
|
+
}
|
|
2777
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2778
|
+
ROUND_ROBIN = 1,
|
|
2779
|
+
BRACKETS = 2,
|
|
2780
|
+
CAMP_CLINIC_CLASS = 3
|
|
2781
|
+
}
|
|
2782
|
+
export declare enum SportsEnum {
|
|
2783
|
+
SOFTBALL = 1,
|
|
2784
|
+
BASKETBALL = 2,
|
|
2785
|
+
FOOTBALL = 3,
|
|
2786
|
+
SOCCER = 4,
|
|
2787
|
+
BOWLING = 5,
|
|
2788
|
+
BOCCEBALL = 6,
|
|
2789
|
+
CORNHOLE = 7,
|
|
2790
|
+
DODGEBALL = 8,
|
|
2791
|
+
FRISBEE = 9,
|
|
2792
|
+
HOCKEY = 10,
|
|
2793
|
+
KICKBALL = 11,
|
|
2794
|
+
LACROSSE = 12,
|
|
2795
|
+
PINGPONG = 13,
|
|
2796
|
+
RUGBY = 14,
|
|
2797
|
+
SKEEBALL = 15,
|
|
2798
|
+
TENNIS = 16,
|
|
2799
|
+
VOLLEYBALL = 17,
|
|
2800
|
+
WIFFLEBALL = 18,
|
|
2801
|
+
BADMINTON = 19,
|
|
2802
|
+
FITNESS = 20,
|
|
2803
|
+
GOLF = 21,
|
|
2804
|
+
PILATES = 22,
|
|
2805
|
+
RUNNING = 23,
|
|
2806
|
+
SKIING = 24,
|
|
2807
|
+
SNOWBOARDING = 25,
|
|
2808
|
+
YOGA = 26,
|
|
2809
|
+
BROOMBALL = 27,
|
|
2810
|
+
CRICKET = 28,
|
|
2811
|
+
CROSSFIT = 29,
|
|
2812
|
+
CYCLING = 30,
|
|
2813
|
+
FIELD_HOCKEY = 31,
|
|
2814
|
+
RACQUETBALL = 32,
|
|
2815
|
+
SPINNING = 33,
|
|
2816
|
+
SQUASH = 34,
|
|
2817
|
+
SURFING = 35,
|
|
2818
|
+
SWIMMING = 36,
|
|
2819
|
+
WIND_SURFING = 37,
|
|
2820
|
+
ADVENTURE = 38,
|
|
2821
|
+
BOXING = 39,
|
|
2822
|
+
BASEBALL = 40,
|
|
2823
|
+
DANCE = 41,
|
|
2824
|
+
KICKBOXING = 42,
|
|
2825
|
+
MARTIAL_ARTS = 43,
|
|
2826
|
+
OUTDOORS = 44,
|
|
2827
|
+
ROWING = 45,
|
|
2828
|
+
SAILING = 46,
|
|
2829
|
+
SUP = 47,
|
|
2830
|
+
TRIATHLON = 48,
|
|
2831
|
+
HANDBALL = 49,
|
|
2832
|
+
CATCHBALL = 50,
|
|
2833
|
+
BLITZBALL = 51,
|
|
2834
|
+
ROLLER_DERBY = 52,
|
|
2835
|
+
ICE_SKATING = 53,
|
|
2836
|
+
PICKLEBALL = 54,
|
|
2837
|
+
AXE_THROWING = 55,
|
|
2838
|
+
FURSAL = 56,
|
|
2839
|
+
BIRTHDAY = 57,
|
|
2840
|
+
CORPRATE_EVENTS = 58,
|
|
2841
|
+
OTHER = 999
|
|
2842
|
+
}
|
|
2843
|
+
export declare enum PublishingStatusEnum {
|
|
2844
|
+
DRAFT = 1,
|
|
2845
|
+
PUBLISHED = 2,
|
|
2846
|
+
CLOSED = 3,
|
|
2847
|
+
CANCELLED = 4,
|
|
2848
|
+
ARCHIVE = 5,
|
|
2849
|
+
UNPUBLISHED = 6
|
|
2490
2850
|
}
|
|
2491
2851
|
export declare enum ProgramHighlightTypeEnum {
|
|
2492
2852
|
OTHER = 1,
|
|
@@ -2689,554 +3049,194 @@ export declare enum AmenitiesEnum {
|
|
|
2689
3049
|
DRINKING_FOUNTAIN = 5,
|
|
2690
3050
|
PARKING = 6,
|
|
2691
3051
|
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;
|
|
2936
|
-
}
|
|
2937
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2938
|
-
segmentType: ResourceNameTypeEnum;
|
|
2939
|
-
participantRegisteredDate?: string;
|
|
2940
|
-
}
|
|
2941
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2942
|
-
segmentType: ResourceNameTypeEnum;
|
|
2943
|
-
participantRegisteredDate?: string;
|
|
3052
|
+
SHELTER = 8,
|
|
3053
|
+
PORTABLE_RESTROOMS = 9,
|
|
3054
|
+
LIGHTS = 10,
|
|
3055
|
+
LOCKER_ROOM = 11,
|
|
3056
|
+
PAID_PARKING = 12,
|
|
3057
|
+
ACCESSIBLE = 13
|
|
2944
3058
|
}
|
|
2945
|
-
export
|
|
2946
|
-
|
|
3059
|
+
export declare enum ResourceSubTypeEnum {
|
|
3060
|
+
COURT = "court",
|
|
3061
|
+
FIELD = "field",
|
|
3062
|
+
ROOM = "room",
|
|
3063
|
+
DIAMOND = "diamond",
|
|
3064
|
+
RINK = "rink",
|
|
3065
|
+
STUDIO = "studio",
|
|
3066
|
+
POOL = "pool",
|
|
3067
|
+
BATTING_CAGE = "batting cage",
|
|
3068
|
+
SHELTER = "shelter",
|
|
3069
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2947
3070
|
}
|
|
2948
|
-
export
|
|
2949
|
-
|
|
2950
|
-
bondPaidInvoice: Invoice;
|
|
2951
|
-
order?: Order;
|
|
2952
|
-
customer?: Customer;
|
|
3071
|
+
export declare enum ResourceTypeEnum {
|
|
3072
|
+
SPACE = "space"
|
|
2953
3073
|
}
|
|
2954
|
-
export
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
amountToPay: number;
|
|
3074
|
+
export declare enum ResourceAgesEnum {
|
|
3075
|
+
ADULTS = "adults",
|
|
3076
|
+
CHILDREN = "children"
|
|
2958
3077
|
}
|
|
2959
|
-
export
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2963
|
-
status: PaymentStatusEnum;
|
|
2964
|
-
createdAt: Date;
|
|
2965
|
-
invoices: number[];
|
|
3078
|
+
export declare enum SpacePropertiesEnum {
|
|
3079
|
+
OUTDOOR = "outdoor",
|
|
3080
|
+
INDOOR = "indoor"
|
|
2966
3081
|
}
|
|
2967
|
-
export
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
3082
|
+
export declare enum SurfacesEnum {
|
|
3083
|
+
GRASS = "grass",
|
|
3084
|
+
TURF = "turf",
|
|
3085
|
+
FIELD_TURF = "fieldTurf",
|
|
3086
|
+
ASTRO_TURF = "astroTurf",
|
|
3087
|
+
HARDWOOD = "hardwood",
|
|
3088
|
+
ASPHALT = "asphalt",
|
|
3089
|
+
SAND = "sand",
|
|
3090
|
+
ICE = "ice",
|
|
3091
|
+
SPORT_COURT = "sportCourt"
|
|
2975
3092
|
}
|
|
2976
|
-
export
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
price: number;
|
|
2980
|
-
groupId?: number;
|
|
2981
|
-
groupName?: string;
|
|
2982
|
-
originalPrice?: number;
|
|
2983
|
-
priceWithoutTax: number;
|
|
2984
|
-
tax: number;
|
|
2985
|
-
isTaxInclusive: boolean;
|
|
3093
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3094
|
+
MINUTES = "minutes",
|
|
3095
|
+
DAYS = "days"
|
|
2986
3096
|
}
|
|
2987
|
-
export
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
ccLast4?: string;
|
|
2992
|
-
ccBrand?: string;
|
|
3097
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3098
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3099
|
+
OPEN = "open",
|
|
3100
|
+
CLOSED = "closed"
|
|
2993
3101
|
}
|
|
2994
|
-
export
|
|
2995
|
-
|
|
2996
|
-
|
|
3102
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3103
|
+
FULL = "full",
|
|
3104
|
+
ALREADY_REGISTERED = "registered",
|
|
3105
|
+
AVAILABLE = "available",
|
|
3106
|
+
NOT_OPEN_YET = "not opened",
|
|
3107
|
+
ALREADY_CLOSED = "closed",
|
|
3108
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2997
3109
|
}
|
|
2998
|
-
export
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
close: string;
|
|
3110
|
+
export declare enum DiscountMethodsEnum {
|
|
3111
|
+
PERCENT = "percent",
|
|
3112
|
+
AMOUNT = "amount"
|
|
3002
3113
|
}
|
|
3003
|
-
export
|
|
3004
|
-
|
|
3005
|
-
startTime: string;
|
|
3006
|
-
endTime: string;
|
|
3114
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3115
|
+
ORGANIZATION = "organization"
|
|
3007
3116
|
}
|
|
3008
|
-
export
|
|
3009
|
-
|
|
3010
|
-
startDate: Date;
|
|
3011
|
-
endDate: Date;
|
|
3117
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3118
|
+
USA = "USA"
|
|
3012
3119
|
}
|
|
3013
|
-
export
|
|
3014
|
-
|
|
3015
|
-
|
|
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
|
+
export declare enum DateTimeFormatsEnum {
|
|
3121
|
+
API_DATE = "YYYY/MM/DD",
|
|
3122
|
+
API_TIME = "HH:mm:ss"
|
|
3031
3123
|
}
|
|
3032
|
-
export
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3124
|
+
export declare enum SlotTypeEnum {
|
|
3125
|
+
EXTERNAL = "external",
|
|
3126
|
+
INTERNAL = "internal",
|
|
3127
|
+
MAINTENANCE = "maintenance",
|
|
3128
|
+
CUSTOM = "custom"
|
|
3037
3129
|
}
|
|
3038
|
-
export
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
openTime?: string;
|
|
3044
|
-
closeNumDays?: number;
|
|
3045
|
-
closeNumMinutes?: number;
|
|
3046
|
-
closeTime?: string;
|
|
3047
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3130
|
+
export declare enum PlatformsEnum {
|
|
3131
|
+
CONSUMER = "consumer",
|
|
3132
|
+
BO = "backoffice",
|
|
3133
|
+
MOBILE = "mobile",
|
|
3134
|
+
CRON = "cron"
|
|
3048
3135
|
}
|
|
3049
|
-
export
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3136
|
+
export declare enum ShiftStatusEnum {
|
|
3137
|
+
OPEN = "open",
|
|
3138
|
+
CLOSED = "closed",
|
|
3139
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3140
|
+
RECONCILED = "reconciled"
|
|
3053
3141
|
}
|
|
3054
|
-
export
|
|
3055
|
-
|
|
3056
|
-
|
|
3142
|
+
export declare enum EventStatusEnum {
|
|
3143
|
+
OPEN = 1,
|
|
3144
|
+
DRAFT = 2,
|
|
3145
|
+
FULL = 3,
|
|
3146
|
+
CANCELLED = 4,
|
|
3147
|
+
CLOSED = 5,
|
|
3148
|
+
DELETED = 6
|
|
3057
3149
|
}
|
|
3058
|
-
export
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
parentSessionName?: string;
|
|
3064
|
-
organizationName: string;
|
|
3065
|
-
programName: string;
|
|
3150
|
+
export declare enum ReservationTypeEnum {
|
|
3151
|
+
RENTAL = "rental",
|
|
3152
|
+
PROGRAM = "program",
|
|
3153
|
+
MAINTENANCE = "maintenance",
|
|
3154
|
+
CUSTOM = "custom"
|
|
3066
3155
|
}
|
|
3067
|
-
export
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
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;
|
|
3156
|
+
export declare enum SlotDurationTypeEnum {
|
|
3157
|
+
DATES = "dates",
|
|
3158
|
+
ALL_DAY = "all day",
|
|
3159
|
+
DURATION = "duration"
|
|
3085
3160
|
}
|
|
3086
|
-
export
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
spaces: ISpaceWithSlots[];
|
|
3161
|
+
export declare enum DurationUnitTypesEnum {
|
|
3162
|
+
MINUTES = "minutes",
|
|
3163
|
+
HOURS = "hours"
|
|
3090
3164
|
}
|
|
3091
|
-
export
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3165
|
+
export declare enum FrequencyEnum {
|
|
3166
|
+
NONE = "none",
|
|
3167
|
+
WEEKLY = "weekly",
|
|
3168
|
+
DAILY = "daily",
|
|
3169
|
+
MONTHLY = "monthly",
|
|
3170
|
+
YEARLY = "yearly"
|
|
3095
3171
|
}
|
|
3096
|
-
export
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
endTime: string;
|
|
3102
|
-
notes: string;
|
|
3103
|
-
spaceId: number;
|
|
3104
|
-
isRental: boolean;
|
|
3105
|
-
slotType: SlotTypeEnum;
|
|
3106
|
-
slotId: number;
|
|
3107
|
-
eventId: number;
|
|
3108
|
-
isPrivate: boolean;
|
|
3172
|
+
export declare enum MaintenanceTimingEnum {
|
|
3173
|
+
BEFORE = 1,
|
|
3174
|
+
AFTER = 2,
|
|
3175
|
+
AT_THE_BEGINING = 3,
|
|
3176
|
+
AT_THE_END = 4
|
|
3109
3177
|
}
|
|
3110
|
-
export
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
eventTimezone: string;
|
|
3114
|
-
maxParticipants: number;
|
|
3115
|
-
maxMaleParticipants: number;
|
|
3116
|
-
maxFemaleParticipants: number;
|
|
3117
|
-
isPunchCard: boolean;
|
|
3178
|
+
export declare enum CreatorTypeEnum {
|
|
3179
|
+
SPACE = "space",
|
|
3180
|
+
PROGRAM_SEASON = "program_season"
|
|
3118
3181
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3182
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3183
|
+
INDIVIDUAL = "indvidual",
|
|
3184
|
+
CATEGORY = "category",
|
|
3185
|
+
GLOBAL = "global"
|
|
3123
3186
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
spaceId: number;
|
|
3133
|
-
creatorType: ResourceNameTypeEnum;
|
|
3134
|
-
slotType: SlotTypeEnum;
|
|
3135
|
-
slotId: number;
|
|
3136
|
-
eventId: number;
|
|
3137
|
-
isPrivate: boolean;
|
|
3187
|
+
export declare enum BondDayOfWeekEnum {
|
|
3188
|
+
MONDAY = 2,
|
|
3189
|
+
TUESDAY = 3,
|
|
3190
|
+
WEDNESDAY = 4,
|
|
3191
|
+
THURSDAY = 5,
|
|
3192
|
+
FRIDAY = 6,
|
|
3193
|
+
SATURDAY = 7,
|
|
3194
|
+
SUNDAY = 8
|
|
3138
3195
|
}
|
|
3139
|
-
export
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
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;
|
|
3196
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3197
|
+
NEW = "new",
|
|
3198
|
+
NO = "no",
|
|
3199
|
+
YES = "yes"
|
|
3154
3200
|
}
|
|
3155
|
-
export
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
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;
|
|
3201
|
+
export declare enum ProductPackageLevelEnum {
|
|
3202
|
+
HOUR = "hour",
|
|
3203
|
+
SLOT = "slot",
|
|
3204
|
+
RESERVATION = "reservation"
|
|
3169
3205
|
}
|
|
3170
|
-
export
|
|
3171
|
-
|
|
3172
|
-
|
|
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
|
+
export declare enum CancellationStatusEnum {
|
|
3207
|
+
IMMEDIATE = "immediate",
|
|
3208
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3189
3209
|
}
|
|
3190
|
-
export
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
lowestPrice?: number;
|
|
3194
|
-
products?: ISessionLandingPageProduct[];
|
|
3210
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3211
|
+
DRAFT = 0,
|
|
3212
|
+
PUBLISHED = 1
|
|
3195
3213
|
}
|
|
3196
|
-
export
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
programId: number;
|
|
3203
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3204
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3214
|
+
export declare enum FinancialStepEnum {
|
|
3215
|
+
VOID = "void",
|
|
3216
|
+
REFUND = "refund",
|
|
3217
|
+
NONE = "none",
|
|
3218
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3219
|
+
APPEND = "append"
|
|
3205
3220
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
name: string;
|
|
3211
|
-
productType?: ProductTypesEnum;
|
|
3212
|
-
productSubType?: string;
|
|
3213
|
-
}[];
|
|
3221
|
+
export declare enum StripeAccountTypesEnum {
|
|
3222
|
+
STRIPE = "stripe",
|
|
3223
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3224
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3214
3225
|
}
|
|
3215
|
-
export
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
endDate?: Date;
|
|
3220
|
-
downpayment?: number;
|
|
3221
|
-
description?: string;
|
|
3222
|
-
prices: Price[];
|
|
3223
|
-
productSubType?: ProductSubTypesEnum;
|
|
3224
|
-
punchCard: boolean;
|
|
3225
|
-
isAddon: boolean;
|
|
3226
|
-
defaultPriceId?: number;
|
|
3226
|
+
export declare enum LinkedAccountStatus {
|
|
3227
|
+
PENDING = 1,
|
|
3228
|
+
ACTIVE = 2,
|
|
3229
|
+
PRE_PENDING = 3
|
|
3227
3230
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
fee?: number;
|
|
3231
|
+
export declare enum AddonParentTypeEnum {
|
|
3232
|
+
RESERVATION = "reservation",
|
|
3233
|
+
SLOT = "slot"
|
|
3232
3234
|
}
|
|
3233
|
-
export
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
endDate: string;
|
|
3239
|
-
sportId: number;
|
|
3235
|
+
export declare enum EEmailStatus {
|
|
3236
|
+
SENT = "sent",
|
|
3237
|
+
OPENED = "opened",
|
|
3238
|
+
PAID = "paid",
|
|
3239
|
+
CANCELED = "canceled"
|
|
3240
3240
|
}
|
|
3241
3241
|
export declare class ColumnNumericTransformer {
|
|
3242
3242
|
to(data: number): number;
|
|
@@ -3257,6 +3257,22 @@ export declare class AddFamilyDto {
|
|
|
3257
3257
|
parents: AddImportedCustomerDto[];
|
|
3258
3258
|
children: AddImportedCustomerDto[];
|
|
3259
3259
|
}
|
|
3260
|
+
export declare class ProductIdsDto {
|
|
3261
|
+
productIds?: number[];
|
|
3262
|
+
}
|
|
3263
|
+
export declare class ProductImportDto {
|
|
3264
|
+
product: Product;
|
|
3265
|
+
prices: Price[];
|
|
3266
|
+
resourceIds: number[];
|
|
3267
|
+
oldId: number;
|
|
3268
|
+
}
|
|
3269
|
+
export declare class PunchPassDto {
|
|
3270
|
+
CustomerID: string;
|
|
3271
|
+
QuantityLeft: number;
|
|
3272
|
+
BondProgramID: number;
|
|
3273
|
+
BondSessionID: number;
|
|
3274
|
+
ProductID: number;
|
|
3275
|
+
}
|
|
3260
3276
|
export declare enum ImportPaymentTypeEnum {
|
|
3261
3277
|
CREDIT_CARD = "card",
|
|
3262
3278
|
ACH = "ach",
|
|
@@ -3292,22 +3308,6 @@ export declare class ImportedPaymentDto {
|
|
|
3292
3308
|
date: string;
|
|
3293
3309
|
time: string;
|
|
3294
3310
|
}
|
|
3295
|
-
export declare class ProductIdsDto {
|
|
3296
|
-
productIds?: number[];
|
|
3297
|
-
}
|
|
3298
|
-
export declare class ProductImportDto {
|
|
3299
|
-
product: Product;
|
|
3300
|
-
prices: Price[];
|
|
3301
|
-
resourceIds: number[];
|
|
3302
|
-
oldId: number;
|
|
3303
|
-
}
|
|
3304
|
-
export declare class PunchPassDto {
|
|
3305
|
-
CustomerID: string;
|
|
3306
|
-
QuantityLeft: number;
|
|
3307
|
-
BondProgramID: number;
|
|
3308
|
-
BondSessionID: number;
|
|
3309
|
-
ProductID: number;
|
|
3310
|
-
}
|
|
3311
3311
|
export declare class ImportedSlotProductDto {
|
|
3312
3312
|
slotID?: string;
|
|
3313
3313
|
name?: string;
|
|
@@ -3399,6 +3399,27 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3399
3399
|
name: string;
|
|
3400
3400
|
locked?: Date;
|
|
3401
3401
|
}
|
|
3402
|
+
export interface ValidatedMonthAndDay {
|
|
3403
|
+
valid: boolean;
|
|
3404
|
+
month?: number;
|
|
3405
|
+
day?: number;
|
|
3406
|
+
}
|
|
3407
|
+
export interface ValidationReason {
|
|
3408
|
+
valid: boolean;
|
|
3409
|
+
reason?: string;
|
|
3410
|
+
}
|
|
3411
|
+
export interface PaymentStatus {
|
|
3412
|
+
parentId: number;
|
|
3413
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3414
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3415
|
+
id?: number;
|
|
3416
|
+
}
|
|
3417
|
+
export interface PaymentStatusesDict {
|
|
3418
|
+
[id: number]: PaymentStatus[];
|
|
3419
|
+
}
|
|
3420
|
+
export interface PaymentStatusDict {
|
|
3421
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
|
+
}
|
|
3402
3423
|
export declare class CreateMonitorConfigDto {
|
|
3403
3424
|
facilityId: number;
|
|
3404
3425
|
name: string;
|
|
@@ -3410,6 +3431,12 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3410
3431
|
code: string;
|
|
3411
3432
|
config?: any;
|
|
3412
3433
|
}
|
|
3434
|
+
export declare class ByOrganizationIdDto {
|
|
3435
|
+
organizationId: number;
|
|
3436
|
+
}
|
|
3437
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
+
organizationId?: number;
|
|
3439
|
+
}
|
|
3413
3440
|
export declare class Organization extends BondBaseEntity {
|
|
3414
3441
|
name: string | null;
|
|
3415
3442
|
email: string | null;
|
|
@@ -3459,12 +3486,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3459
3486
|
brandings: OrganizationBranding[];
|
|
3460
3487
|
brandingsV2?: OrganizationBranding[];
|
|
3461
3488
|
}
|
|
3462
|
-
export declare class ByOrganizationIdDto {
|
|
3463
|
-
organizationId: number;
|
|
3464
|
-
}
|
|
3465
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3466
|
-
organizationId?: number;
|
|
3467
|
-
}
|
|
3468
3489
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3469
3490
|
key?: string;
|
|
3470
3491
|
vaule?: string;
|
|
@@ -4428,6 +4449,10 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4428
4449
|
startDate?: Date;
|
|
4429
4450
|
endDate?: Date;
|
|
4430
4451
|
}
|
|
4452
|
+
export declare class OpenShiftDto {
|
|
4453
|
+
openingCashAmount: number;
|
|
4454
|
+
stationId: number;
|
|
4455
|
+
}
|
|
4431
4456
|
export declare class ShiftManagementClosingAmount {
|
|
4432
4457
|
shiftId: number;
|
|
4433
4458
|
managementClosingCashAmount: number;
|
|
@@ -4435,10 +4460,6 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4435
4460
|
export declare class ManagementClosingOfShiftsDto {
|
|
4436
4461
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4437
4462
|
}
|
|
4438
|
-
export declare class OpenShiftDto {
|
|
4439
|
-
openingCashAmount: number;
|
|
4440
|
-
stationId: number;
|
|
4441
|
-
}
|
|
4442
4463
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4443
4464
|
stationId: number;
|
|
4444
4465
|
station?: Station;
|
|
@@ -4468,24 +4489,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4468
4489
|
closingManager?: User;
|
|
4469
4490
|
reconcilingUser?: User;
|
|
4470
4491
|
}
|
|
4471
|
-
export interface ValidatedMonthAndDay {
|
|
4472
|
-
valid: boolean;
|
|
4473
|
-
month?: number;
|
|
4474
|
-
day?: number;
|
|
4475
|
-
}
|
|
4476
|
-
export interface ValidationReason {
|
|
4477
|
-
valid: boolean;
|
|
4478
|
-
reason?: string;
|
|
4479
|
-
}
|
|
4480
|
-
export interface PaymentStatus {
|
|
4481
|
-
parentId: number;
|
|
4482
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4483
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4484
|
-
id?: number;
|
|
4485
|
-
}
|
|
4486
|
-
export interface PaymentStatusesDict {
|
|
4487
|
-
[id: number]: PaymentStatus[];
|
|
4488
|
-
}
|
|
4489
|
-
export interface PaymentStatusDict {
|
|
4490
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
4491
|
-
}
|