@bondsports/types 0.0.172 → 0.0.173
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 +802 -802
- 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
|
@@ -9,12 +9,16 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
13
|
-
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
14
15
|
}
|
|
15
|
-
export declare
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
19
|
+
}
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
18
22
|
}
|
|
19
23
|
export declare class FindBookingTypeSettingDto {
|
|
20
24
|
organizationId: number;
|
|
@@ -23,6 +27,13 @@ export declare class FindBookingTypeSettingDto {
|
|
|
23
27
|
bookingDate: string;
|
|
24
28
|
bookingTime: string;
|
|
25
29
|
}
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
+
UNKNOWN = "unknown"
|
|
36
|
+
}
|
|
26
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
27
38
|
membershipId: number;
|
|
28
39
|
}
|
|
@@ -184,17 +195,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
184
195
|
isWaiverSigned?: string;
|
|
185
196
|
statuses?: string;
|
|
186
197
|
}
|
|
187
|
-
export declare class QuestionAnswersDto {
|
|
188
|
-
questionId: number;
|
|
189
|
-
value: any;
|
|
190
|
-
}
|
|
191
|
-
export declare class UserAnswersDto {
|
|
192
|
-
userId: number;
|
|
193
|
-
answers: QuestionAnswersDto[];
|
|
194
|
-
}
|
|
195
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
196
|
-
questionnaireIds: string;
|
|
197
|
-
}
|
|
198
198
|
export declare class AddressDto {
|
|
199
199
|
city: string;
|
|
200
200
|
state: string;
|
|
@@ -702,6 +702,50 @@ export declare class VariantDto {
|
|
|
702
702
|
startDate: Date;
|
|
703
703
|
endDate: Date;
|
|
704
704
|
}
|
|
705
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
706
|
+
organizationId: number;
|
|
707
|
+
programType?: ProgramTypesEnum;
|
|
708
|
+
}
|
|
709
|
+
export declare class FindProgramByIdDto {
|
|
710
|
+
programId: number;
|
|
711
|
+
}
|
|
712
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
713
|
+
programId: number;
|
|
714
|
+
organizationId: number;
|
|
715
|
+
}
|
|
716
|
+
export declare class BaseProgramDto {
|
|
717
|
+
type: ProgramTypesEnum;
|
|
718
|
+
name: string;
|
|
719
|
+
sport: SportsEnum;
|
|
720
|
+
minAge: string;
|
|
721
|
+
maxAge: string;
|
|
722
|
+
gender: GenderEnum;
|
|
723
|
+
level?: LevelOfPlayEnum[];
|
|
724
|
+
description?: string;
|
|
725
|
+
GL?: string;
|
|
726
|
+
status: PublishingStatusEnum;
|
|
727
|
+
organizationId: number;
|
|
728
|
+
userCreatorId: number;
|
|
729
|
+
highlights: ProgramHighlights[];
|
|
730
|
+
longDescription?: string;
|
|
731
|
+
requiredProductIds: number[];
|
|
732
|
+
}
|
|
733
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
734
|
+
}
|
|
735
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
736
|
+
programId: number;
|
|
737
|
+
mainMediaId: number;
|
|
738
|
+
}
|
|
739
|
+
export declare class UpdateProgramStatusDto {
|
|
740
|
+
programId: number;
|
|
741
|
+
status: PublishingStatusEnum;
|
|
742
|
+
}
|
|
743
|
+
export declare class ProgramHighlightDto {
|
|
744
|
+
data: string;
|
|
745
|
+
ordinal: number;
|
|
746
|
+
type: ProgramHighlightTypeEnum;
|
|
747
|
+
title: string;
|
|
748
|
+
}
|
|
705
749
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
750
|
programId: number;
|
|
707
751
|
}
|
|
@@ -892,50 +936,6 @@ export declare class MoveParticipantDto {
|
|
|
892
936
|
resourceId: number;
|
|
893
937
|
invoiceId: number;
|
|
894
938
|
}
|
|
895
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
-
organizationId: number;
|
|
897
|
-
programType?: ProgramTypesEnum;
|
|
898
|
-
}
|
|
899
|
-
export declare class FindProgramByIdDto {
|
|
900
|
-
programId: number;
|
|
901
|
-
}
|
|
902
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
-
programId: number;
|
|
904
|
-
organizationId: number;
|
|
905
|
-
}
|
|
906
|
-
export declare class BaseProgramDto {
|
|
907
|
-
type: ProgramTypesEnum;
|
|
908
|
-
name: string;
|
|
909
|
-
sport: SportsEnum;
|
|
910
|
-
minAge: string;
|
|
911
|
-
maxAge: string;
|
|
912
|
-
gender: GenderEnum;
|
|
913
|
-
level?: LevelOfPlayEnum[];
|
|
914
|
-
description?: string;
|
|
915
|
-
GL?: string;
|
|
916
|
-
status: PublishingStatusEnum;
|
|
917
|
-
organizationId: number;
|
|
918
|
-
userCreatorId: number;
|
|
919
|
-
highlights: ProgramHighlights[];
|
|
920
|
-
longDescription?: string;
|
|
921
|
-
requiredProductIds: number[];
|
|
922
|
-
}
|
|
923
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
-
}
|
|
925
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
-
programId: number;
|
|
927
|
-
mainMediaId: number;
|
|
928
|
-
}
|
|
929
|
-
export declare class UpdateProgramStatusDto {
|
|
930
|
-
programId: number;
|
|
931
|
-
status: PublishingStatusEnum;
|
|
932
|
-
}
|
|
933
|
-
export declare class ProgramHighlightDto {
|
|
934
|
-
data: string;
|
|
935
|
-
ordinal: number;
|
|
936
|
-
type: ProgramHighlightTypeEnum;
|
|
937
|
-
title: string;
|
|
938
|
-
}
|
|
939
939
|
export declare class PurchasePaymentDto {
|
|
940
940
|
token: string;
|
|
941
941
|
type: PaymentMethodTypeEnum;
|
|
@@ -1096,19 +1096,6 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
-
entityType: ResourceNameTypeEnum;
|
|
1101
|
-
entityId: number;
|
|
1102
|
-
organizationId?: number;
|
|
1103
|
-
userId?: number;
|
|
1104
|
-
customerId?: number;
|
|
1105
|
-
performingUserId: number;
|
|
1106
|
-
description: string;
|
|
1107
|
-
actionType: ActionTypesEnum;
|
|
1108
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
-
oldValue?: any;
|
|
1110
|
-
newValue?: any;
|
|
1111
|
-
}
|
|
1112
1099
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1113
1100
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1114
1101
|
parentId: number;
|
|
@@ -1122,6 +1109,19 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1122
1109
|
proudct: Product;
|
|
1123
1110
|
event: Event;
|
|
1124
1111
|
}
|
|
1112
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1113
|
+
entityType: ResourceNameTypeEnum;
|
|
1114
|
+
entityId: number;
|
|
1115
|
+
organizationId?: number;
|
|
1116
|
+
userId?: number;
|
|
1117
|
+
customerId?: number;
|
|
1118
|
+
performingUserId: number;
|
|
1119
|
+
description: string;
|
|
1120
|
+
actionType: ActionTypesEnum;
|
|
1121
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1122
|
+
oldValue?: any;
|
|
1123
|
+
newValue?: any;
|
|
1124
|
+
}
|
|
1125
1125
|
export declare class Address extends BondBaseEntity {
|
|
1126
1126
|
city?: string;
|
|
1127
1127
|
street?: string;
|
|
@@ -1208,14 +1208,6 @@ export declare class Configuration extends BondBaseEntity {
|
|
|
1208
1208
|
key: string;
|
|
1209
1209
|
value: string;
|
|
1210
1210
|
}
|
|
1211
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1212
|
-
creditAmount: number;
|
|
1213
|
-
paymentProcessorId: string;
|
|
1214
|
-
userId: number;
|
|
1215
|
-
paymentId: number;
|
|
1216
|
-
invoiceId: number;
|
|
1217
|
-
creditPaymentId: number;
|
|
1218
|
-
}
|
|
1219
1211
|
export declare class Connection extends BondBaseEntity {
|
|
1220
1212
|
connType: number | null;
|
|
1221
1213
|
from: number | null;
|
|
@@ -1228,6 +1220,14 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1228
1220
|
userCreatorId: number | null;
|
|
1229
1221
|
ownerId: number | null;
|
|
1230
1222
|
}
|
|
1223
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1224
|
+
creditAmount: number;
|
|
1225
|
+
paymentProcessorId: string;
|
|
1226
|
+
userId: number;
|
|
1227
|
+
paymentId: number;
|
|
1228
|
+
invoiceId: number;
|
|
1229
|
+
creditPaymentId: number;
|
|
1230
|
+
}
|
|
1231
1231
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1232
1232
|
name: string | null;
|
|
1233
1233
|
entityId: number | null;
|
|
@@ -1948,23 +1948,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1948
|
deletedAt?: Date;
|
|
1949
1949
|
product: Product;
|
|
1950
1950
|
}
|
|
1951
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
|
-
productId: number;
|
|
1953
|
-
userId: number;
|
|
1954
|
-
user?: User;
|
|
1955
|
-
paymentStatus: PaymentStatusEnum;
|
|
1956
|
-
productName: string;
|
|
1957
|
-
productPrice: number;
|
|
1958
|
-
productQuantity: number;
|
|
1959
|
-
productQuantityLeft: number;
|
|
1960
|
-
productPriceCurrency: CurrencyEnum;
|
|
1961
|
-
ordinal?: number;
|
|
1962
|
-
purchasedResources: PurchasedResource[];
|
|
1963
|
-
product: Product;
|
|
1964
|
-
lineItem: LineItems;
|
|
1965
|
-
slots?: Slot[];
|
|
1966
|
-
addons?: Addon[];
|
|
1967
|
-
}
|
|
1968
1951
|
export declare class Program extends BondBaseEntity {
|
|
1969
1952
|
type: ProgramTypesEnum;
|
|
1970
1953
|
name: string;
|
|
@@ -1987,6 +1970,23 @@ export declare class Program extends BondBaseEntity {
|
|
|
1987
1970
|
programSeason: ProgramSeason[];
|
|
1988
1971
|
purchasedResources: PurchasedResource[];
|
|
1989
1972
|
}
|
|
1973
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1974
|
+
productId: number;
|
|
1975
|
+
userId: number;
|
|
1976
|
+
user?: User;
|
|
1977
|
+
paymentStatus: PaymentStatusEnum;
|
|
1978
|
+
productName: string;
|
|
1979
|
+
productPrice: number;
|
|
1980
|
+
productQuantity: number;
|
|
1981
|
+
productQuantityLeft: number;
|
|
1982
|
+
productPriceCurrency: CurrencyEnum;
|
|
1983
|
+
ordinal?: number;
|
|
1984
|
+
purchasedResources: PurchasedResource[];
|
|
1985
|
+
product: Product;
|
|
1986
|
+
lineItem: LineItems;
|
|
1987
|
+
slots?: Slot[];
|
|
1988
|
+
addons?: Addon[];
|
|
1989
|
+
}
|
|
1990
1990
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1991
1991
|
type: ProgramHighlightTypeEnum;
|
|
1992
1992
|
ordinal: number | null;
|
|
@@ -2166,13 +2166,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2166
2166
|
purchasedResources: PurchasedResource[];
|
|
2167
2167
|
linkSEO: string;
|
|
2168
2168
|
}
|
|
2169
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2170
|
-
name: string;
|
|
2171
|
-
facilityId: number;
|
|
2172
|
-
parentSlotId: number;
|
|
2173
|
-
childrenSlotIds: number[];
|
|
2174
|
-
deletedAt?: Date;
|
|
2175
|
-
}
|
|
2176
2169
|
export declare class School extends BondBaseEntity {
|
|
2177
2170
|
name: string | null;
|
|
2178
2171
|
alias: string[] | null;
|
|
@@ -2216,6 +2209,13 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2216
2209
|
purchasedResource: PurchasedResource;
|
|
2217
2210
|
season: LeagueSeason;
|
|
2218
2211
|
}
|
|
2212
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2213
|
+
name: string;
|
|
2214
|
+
facilityId: number;
|
|
2215
|
+
parentSlotId: number;
|
|
2216
|
+
childrenSlotIds: number[];
|
|
2217
|
+
deletedAt?: Date;
|
|
2218
|
+
}
|
|
2219
2219
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2220
2220
|
seasonId: number | null;
|
|
2221
2221
|
teamId: number | null;
|
|
@@ -2291,6 +2291,15 @@ export declare class Team extends BondBaseEntity {
|
|
|
2291
2291
|
gender: number | null;
|
|
2292
2292
|
questionnaireId: number | null;
|
|
2293
2293
|
}
|
|
2294
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2295
|
+
email: string;
|
|
2296
|
+
teamId: number;
|
|
2297
|
+
invitedUserId?: number;
|
|
2298
|
+
userCreatorId: number;
|
|
2299
|
+
token: string;
|
|
2300
|
+
tokenExpirationDate: Date;
|
|
2301
|
+
isUsed: boolean;
|
|
2302
|
+
}
|
|
2294
2303
|
export declare class TeamMember extends BondBaseEntity {
|
|
2295
2304
|
teamId: number | null;
|
|
2296
2305
|
userId: number | null;
|
|
@@ -2345,15 +2354,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2345
2354
|
entityType: UserAuthorizationsTypeEnum;
|
|
2346
2355
|
user: User;
|
|
2347
2356
|
}
|
|
2348
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2349
|
-
email: string;
|
|
2350
|
-
teamId: number;
|
|
2351
|
-
invitedUserId?: number;
|
|
2352
|
-
userCreatorId: number;
|
|
2353
|
-
token: string;
|
|
2354
|
-
tokenExpirationDate: Date;
|
|
2355
|
-
isUsed: boolean;
|
|
2356
|
-
}
|
|
2357
2357
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2358
2358
|
familyAccountId: number;
|
|
2359
2359
|
userId: number;
|
|
@@ -2393,370 +2393,10 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2393
2393
|
membershipCollectionId?: string;
|
|
2394
2394
|
programsCollectionId?: string;
|
|
2395
2395
|
}
|
|
2396
|
-
export
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
minValue?: string;
|
|
2401
|
-
maxValue?: string;
|
|
2402
|
-
}
|
|
2403
|
-
export interface IQuestionAnswerObject {
|
|
2404
|
-
questionId: number;
|
|
2405
|
-
value: string;
|
|
2406
|
-
}
|
|
2407
|
-
export interface ILowestPriceForItem {
|
|
2408
|
-
itemId: number;
|
|
2409
|
-
itemType: ResourceNameTypeEnum;
|
|
2410
|
-
groupId: number;
|
|
2411
|
-
groupName?: string;
|
|
2412
|
-
price: number;
|
|
2413
|
-
overridesPrice: boolean;
|
|
2414
|
-
}
|
|
2415
|
-
export interface IResourcesAvailability {
|
|
2416
|
-
resourceType: ResourceNameTypeEnum;
|
|
2417
|
-
quantity: number;
|
|
2418
|
-
resourcesIds: number[];
|
|
2419
|
-
isPunchCard: boolean;
|
|
2420
|
-
resources?: any[];
|
|
2421
|
-
}
|
|
2422
|
-
export interface IPackageResponse {
|
|
2423
|
-
parentProduct: Product;
|
|
2424
|
-
children: IChildProduct[];
|
|
2425
|
-
}
|
|
2426
|
-
export interface IChildProduct {
|
|
2427
|
-
product: Product;
|
|
2428
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2429
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2430
|
-
}
|
|
2431
|
-
export interface ISeasonAttendeeInfo {
|
|
2432
|
-
applicationAnswers: Answer[];
|
|
2433
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2434
|
-
invoices: Invoice[];
|
|
2435
|
-
payments: Payment[];
|
|
2436
|
-
products: Product[];
|
|
2437
|
-
redeemNext: ProductsUsers;
|
|
2438
|
-
}
|
|
2439
|
-
export interface ISeasonAttendeeListInfo {
|
|
2440
|
-
userId: number;
|
|
2441
|
-
userFirstName: string;
|
|
2442
|
-
userLastName: string;
|
|
2443
|
-
userGender: number;
|
|
2444
|
-
userBirthDate: Date;
|
|
2445
|
-
userProfilePicUrl: string;
|
|
2446
|
-
customerId: number;
|
|
2447
|
-
customerEmail: string;
|
|
2448
|
-
paymentStatus: string;
|
|
2449
|
-
productName: string;
|
|
2450
|
-
punchCard: boolean;
|
|
2451
|
-
}
|
|
2452
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2453
|
-
segmentType: ResourceNameTypeEnum;
|
|
2454
|
-
participantRegisteredDate?: string;
|
|
2455
|
-
}
|
|
2456
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2457
|
-
segmentType: ResourceNameTypeEnum;
|
|
2458
|
-
participantRegisteredDate?: string;
|
|
2459
|
-
}
|
|
2460
|
-
export interface ITokenResonse {
|
|
2461
|
-
token: string;
|
|
2462
|
-
}
|
|
2463
|
-
export interface IStripeBondInvoices {
|
|
2464
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2465
|
-
bondPaidPayment: Payment;
|
|
2466
|
-
invoice?: Invoice;
|
|
2467
|
-
customer?: Customer;
|
|
2468
|
-
}
|
|
2469
|
-
export interface IPartialPaymentData {
|
|
2470
|
-
purchasingUserId: number;
|
|
2471
|
-
paymentData: PurchasePaymentDto;
|
|
2472
|
-
amountToPay: number;
|
|
2473
|
-
}
|
|
2474
|
-
export interface IPayment {
|
|
2475
|
-
id: number;
|
|
2476
|
-
total: number;
|
|
2477
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2478
|
-
status: PaymentStatusEnum;
|
|
2479
|
-
createdAt: Date;
|
|
2480
|
-
invoices: number[];
|
|
2481
|
-
}
|
|
2482
|
-
export interface IPaginationData<T> {
|
|
2483
|
-
meta: {
|
|
2484
|
-
totalItems: number;
|
|
2485
|
-
itemsPerPage: number;
|
|
2486
|
-
totalPages: number;
|
|
2487
|
-
currentPage: number;
|
|
2488
|
-
};
|
|
2489
|
-
data: T[];
|
|
2490
|
-
}
|
|
2491
|
-
export interface IPricesOfProductsResults {
|
|
2492
|
-
productId: number;
|
|
2493
|
-
userId: number;
|
|
2494
|
-
price: number;
|
|
2495
|
-
groupId?: number;
|
|
2496
|
-
groupName?: string;
|
|
2497
|
-
originalPrice?: number;
|
|
2498
|
-
priceWithoutTax: number;
|
|
2499
|
-
tax: number;
|
|
2500
|
-
isTaxInclusive: boolean;
|
|
2501
|
-
}
|
|
2502
|
-
export interface IPaymentMethodToFundLeft {
|
|
2503
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2504
|
-
paymentMethodId: string;
|
|
2505
|
-
fundLeft: number;
|
|
2506
|
-
ccLast4?: string;
|
|
2507
|
-
ccBrand?: string;
|
|
2508
|
-
}
|
|
2509
|
-
export interface IVariantsAndTitle {
|
|
2510
|
-
title: VariantTitle;
|
|
2511
|
-
variants: Variant[];
|
|
2512
|
-
}
|
|
2513
|
-
export interface IProgramSeasonActivityTimes {
|
|
2514
|
-
dayOfWeek: number;
|
|
2515
|
-
open: string;
|
|
2516
|
-
close: string;
|
|
2517
|
-
}
|
|
2518
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2519
|
-
date: string;
|
|
2520
|
-
startTime: string;
|
|
2521
|
-
endTime: string;
|
|
2522
|
-
}
|
|
2523
|
-
export interface IBlockedDates {
|
|
2524
|
-
name: string;
|
|
2525
|
-
startDate: Date;
|
|
2526
|
-
endDate: Date;
|
|
2527
|
-
}
|
|
2528
|
-
export interface ISingleMemberForRenewal {
|
|
2529
|
-
member_id: number;
|
|
2530
|
-
member_membershipId: number;
|
|
2531
|
-
member_userId: number;
|
|
2532
|
-
member_nextPaymentMethodId?: string;
|
|
2533
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2534
|
-
member_answerTitleIds?: number[];
|
|
2535
|
-
member_organizationId: number;
|
|
2536
|
-
product_productPrice: number;
|
|
2537
|
-
product_productId: number;
|
|
2538
|
-
invoice_payingUserId: number;
|
|
2539
|
-
invoice_paymentMethodId: string;
|
|
2540
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2541
|
-
endDate: Date;
|
|
2542
|
-
membership_name: string;
|
|
2543
|
-
user_firstName: string;
|
|
2544
|
-
user_lastName: string;
|
|
2545
|
-
user_email: string;
|
|
2546
|
-
}
|
|
2547
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2548
|
-
package_parentProductId: number;
|
|
2549
|
-
product2_productPrice: number;
|
|
2550
|
-
familyid: number;
|
|
2551
|
-
invoice_id: number;
|
|
2552
|
-
}
|
|
2553
|
-
export interface IResourceRegistrationData {
|
|
2554
|
-
id: number;
|
|
2555
|
-
resourceType: ResourceNameTypeEnum;
|
|
2556
|
-
openNumDays?: number;
|
|
2557
|
-
openNumMinutes?: number;
|
|
2558
|
-
openTime?: string;
|
|
2559
|
-
closeNumDays?: number;
|
|
2560
|
-
closeNumMinutes?: number;
|
|
2561
|
-
closeTime?: string;
|
|
2562
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2563
|
-
}
|
|
2564
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2565
|
-
id: number;
|
|
2566
|
-
startDate: string;
|
|
2567
|
-
startTime: string;
|
|
2568
|
-
}
|
|
2569
|
-
export interface IRegistrationConstraintsSetting {
|
|
2570
|
-
numDays?: number;
|
|
2571
|
-
numMinutes?: number;
|
|
2572
|
-
}
|
|
2573
|
-
export interface IAttendeeDataToNotify {
|
|
2574
|
-
firstName: string;
|
|
2575
|
-
lastName: string;
|
|
2576
|
-
email: string;
|
|
2577
|
-
sessionName: string;
|
|
2578
|
-
parentSessionName?: string;
|
|
2579
|
-
organizationName: string;
|
|
2580
|
-
programName: string;
|
|
2581
|
-
}
|
|
2582
|
-
export interface IEventInSchedule {
|
|
2583
|
-
eventId: number;
|
|
2584
|
-
eventName: string;
|
|
2585
|
-
eventStartDate: string;
|
|
2586
|
-
eventEndDate: string;
|
|
2587
|
-
eventStartTime: string;
|
|
2588
|
-
eventEndTime: string;
|
|
2589
|
-
programId: number;
|
|
2590
|
-
programName: string;
|
|
2591
|
-
programType: ProgramTypesEnum;
|
|
2592
|
-
sessionId: number;
|
|
2593
|
-
sessionName: string;
|
|
2594
|
-
sports: number;
|
|
2595
|
-
spaces: {
|
|
2596
|
-
spaceId: number;
|
|
2597
|
-
spaceName: string;
|
|
2598
|
-
}[];
|
|
2599
|
-
status?: RegistrationValidationStatusEnum;
|
|
2600
|
-
}
|
|
2601
|
-
export interface ISlotInSchedule {
|
|
2602
|
-
facilityId: number;
|
|
2603
|
-
facilityName: string;
|
|
2604
|
-
spaces: ISpaceWithSlots[];
|
|
2605
|
-
}
|
|
2606
|
-
export interface ISpaceWithSlots {
|
|
2607
|
-
id: number;
|
|
2608
|
-
name: string;
|
|
2609
|
-
slots: ISlotReservationData[];
|
|
2610
|
-
}
|
|
2611
|
-
export interface ISlotReservationData {
|
|
2612
|
-
reservationId: number;
|
|
2613
|
-
reservationName: string;
|
|
2614
|
-
date: string;
|
|
2615
|
-
startTime: string;
|
|
2616
|
-
endTime: string;
|
|
2617
|
-
notes: string;
|
|
2618
|
-
spaceId: number;
|
|
2619
|
-
isRental: boolean;
|
|
2620
|
-
slotType: SlotTypeEnum;
|
|
2621
|
-
slotId: number;
|
|
2622
|
-
eventId: number;
|
|
2623
|
-
isPrivate: boolean;
|
|
2624
|
-
}
|
|
2625
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2626
|
-
parentSessionId: number;
|
|
2627
|
-
parentSessionName: string;
|
|
2628
|
-
eventTimezone: string;
|
|
2629
|
-
maxParticipants: number;
|
|
2630
|
-
maxMaleParticipants: number;
|
|
2631
|
-
maxFemaleParticipants: number;
|
|
2632
|
-
isPunchCard: boolean;
|
|
2633
|
-
}
|
|
2634
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2635
|
-
id: number;
|
|
2636
|
-
name: string;
|
|
2637
|
-
bookingCreatorId: number;
|
|
2638
|
-
}
|
|
2639
|
-
export interface IRawSlotInSchedule {
|
|
2640
|
-
startDate: string;
|
|
2641
|
-
endDate: string;
|
|
2642
|
-
startTime: string;
|
|
2643
|
-
endTime: string;
|
|
2644
|
-
reservationId: number;
|
|
2645
|
-
eventTitle: string;
|
|
2646
|
-
publicNotes: string;
|
|
2647
|
-
spaceId: number;
|
|
2648
|
-
creatorType: ResourceNameTypeEnum;
|
|
2649
|
-
slotType: SlotTypeEnum;
|
|
2650
|
-
slotId: number;
|
|
2651
|
-
eventId: number;
|
|
2652
|
-
isPrivate: boolean;
|
|
2653
|
-
}
|
|
2654
|
-
export interface IPurchasedResourcesRaw {
|
|
2655
|
-
purchasedId: number;
|
|
2656
|
-
purchasedProductUserId: number;
|
|
2657
|
-
purchasedResourceId: number;
|
|
2658
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2659
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2660
|
-
pUserId: number;
|
|
2661
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2662
|
-
pUserProductId: number;
|
|
2663
|
-
pUserProductName: string;
|
|
2664
|
-
pUserProductPrice: number;
|
|
2665
|
-
pUserProductPriceCurrency: string;
|
|
2666
|
-
pUserProductQuantity: number;
|
|
2667
|
-
pUserProductQuantityLeft: number;
|
|
2668
|
-
pUserUserId: number;
|
|
2669
|
-
}
|
|
2670
|
-
export interface IUsersPasses {
|
|
2671
|
-
userId: number;
|
|
2672
|
-
userFirstName: string;
|
|
2673
|
-
userLastName: string;
|
|
2674
|
-
organizationId: number;
|
|
2675
|
-
programId: number;
|
|
2676
|
-
programName: string;
|
|
2677
|
-
sessionId: number;
|
|
2678
|
-
sessionName: string;
|
|
2679
|
-
productId: number;
|
|
2680
|
-
productName: string;
|
|
2681
|
-
productUserId: number;
|
|
2682
|
-
purchaseDate: Date;
|
|
2683
|
-
passesLeft: number;
|
|
2684
|
-
}
|
|
2685
|
-
export interface ISessionsLandingPage {
|
|
2686
|
-
sessionId: number;
|
|
2687
|
-
name: string;
|
|
2688
|
-
startDate: Date;
|
|
2689
|
-
endDate: Date;
|
|
2690
|
-
registrationStartDate: Date;
|
|
2691
|
-
registrationEndDate: Date;
|
|
2692
|
-
sport: SportsEnum;
|
|
2693
|
-
minAge: string;
|
|
2694
|
-
maxAge: string;
|
|
2695
|
-
maxParticipants?: number;
|
|
2696
|
-
gender: GenderEnum;
|
|
2697
|
-
activityTimes: ActivityTimes[];
|
|
2698
|
-
earlyRegistrationStartDate?: Date;
|
|
2699
|
-
earlyRegistrationEndDate?: Date;
|
|
2700
|
-
lateRegistrationStartDate?: Date;
|
|
2701
|
-
lateRegistrationEndDate?: Date;
|
|
2702
|
-
attendeeCount?: number;
|
|
2703
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2704
|
-
}
|
|
2705
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2706
|
-
hasRequiredMembership: boolean;
|
|
2707
|
-
hasEntitledPricing: boolean;
|
|
2708
|
-
lowestPrice?: number;
|
|
2709
|
-
products?: ISessionLandingPageProduct[];
|
|
2710
|
-
}
|
|
2711
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2712
|
-
hasRequiredMembership: boolean;
|
|
2713
|
-
hasEntitledPricing: boolean;
|
|
2714
|
-
products?: ISessionLandingPageProduct[];
|
|
2715
|
-
segments?: Event[] | ProgramSeason[];
|
|
2716
|
-
programName: string;
|
|
2717
|
-
programId: number;
|
|
2718
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2719
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2720
|
-
}
|
|
2721
|
-
export interface ISlimAddons {
|
|
2722
|
-
addons?: {
|
|
2723
|
-
id: number;
|
|
2724
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2725
|
-
name: string;
|
|
2726
|
-
productType?: ProductTypesEnum;
|
|
2727
|
-
productSubType?: string;
|
|
2728
|
-
}[];
|
|
2729
|
-
}
|
|
2730
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2731
|
-
id: number;
|
|
2732
|
-
name: string;
|
|
2733
|
-
startDate?: Date;
|
|
2734
|
-
endDate?: Date;
|
|
2735
|
-
downpayment?: number;
|
|
2736
|
-
description?: string;
|
|
2737
|
-
prices: Price[];
|
|
2738
|
-
productSubType?: ProductSubTypesEnum;
|
|
2739
|
-
punchCard: boolean;
|
|
2740
|
-
isAddon: boolean;
|
|
2741
|
-
defaultPriceId?: number;
|
|
2742
|
-
}
|
|
2743
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2744
|
-
destinationId?: string;
|
|
2745
|
-
stripeCustomerId?: string;
|
|
2746
|
-
fee?: number;
|
|
2747
|
-
}
|
|
2748
|
-
export interface IReservationCreatorData {
|
|
2749
|
-
type: ResourceNameTypeEnum;
|
|
2750
|
-
id: number;
|
|
2751
|
-
organizationId: number;
|
|
2752
|
-
startDate: string;
|
|
2753
|
-
endDate: string;
|
|
2754
|
-
sportId: number;
|
|
2755
|
-
}
|
|
2756
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2757
|
-
QUESTION = "question",
|
|
2758
|
-
CITY = "city",
|
|
2759
|
-
MEMBERSHIP = "membership"
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
2760
2400
|
}
|
|
2761
2401
|
export declare enum ResourceNameTypeEnum {
|
|
2762
2402
|
EVENT = "event",
|
|
@@ -3067,236 +2707,601 @@ export declare enum ActionTypesEnum {
|
|
|
3067
2707
|
UPDATE = "update",
|
|
3068
2708
|
DELETE = "delete"
|
|
3069
2709
|
}
|
|
3070
|
-
export declare enum ActionSourcePlatformEnum {
|
|
3071
|
-
ADMIN = "admin",
|
|
3072
|
-
BACKOFFICE = "backoffice",
|
|
3073
|
-
CONSUMER = "consumer"
|
|
2710
|
+
export declare enum ActionSourcePlatformEnum {
|
|
2711
|
+
ADMIN = "admin",
|
|
2712
|
+
BACKOFFICE = "backoffice",
|
|
2713
|
+
CONSUMER = "consumer"
|
|
2714
|
+
}
|
|
2715
|
+
export declare enum RolesEnum {
|
|
2716
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2717
|
+
BOND_ADMIN = "bondAdmin"
|
|
2718
|
+
}
|
|
2719
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2720
|
+
IN_POOL = 5,
|
|
2721
|
+
ASSIGNED = 1,
|
|
2722
|
+
QUIT = 2,
|
|
2723
|
+
SUSPENDED = 3,
|
|
2724
|
+
INACTIVE = 4
|
|
2725
|
+
}
|
|
2726
|
+
export declare enum AmenitiesEnum {
|
|
2727
|
+
HEAT = 1,
|
|
2728
|
+
AC = 2,
|
|
2729
|
+
WIFI = 3,
|
|
2730
|
+
RESTROOMS = 4,
|
|
2731
|
+
DRINKING_FOUNTAIN = 5,
|
|
2732
|
+
PARKING = 6,
|
|
2733
|
+
CONCESSIONS = 7,
|
|
2734
|
+
SHELTER = 8,
|
|
2735
|
+
PORTABLE_RESTROOMS = 9,
|
|
2736
|
+
LIGHTS = 10,
|
|
2737
|
+
LOCKER_ROOM = 11,
|
|
2738
|
+
PAID_PARKING = 12,
|
|
2739
|
+
ACCESSIBLE = 13
|
|
2740
|
+
}
|
|
2741
|
+
export declare enum ResourceSubTypeEnum {
|
|
2742
|
+
COURT = "court",
|
|
2743
|
+
FIELD = "field",
|
|
2744
|
+
ROOM = "room",
|
|
2745
|
+
DIAMOND = "diamond",
|
|
2746
|
+
RINK = "rink",
|
|
2747
|
+
STUDIO = "studio",
|
|
2748
|
+
POOL = "pool",
|
|
2749
|
+
BATTING_CAGE = "batting cage",
|
|
2750
|
+
SHELTER = "shelter",
|
|
2751
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2752
|
+
}
|
|
2753
|
+
export declare enum ResourceTypeEnum {
|
|
2754
|
+
SPACE = "space"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum ResourceAgesEnum {
|
|
2757
|
+
ADULTS = "adults",
|
|
2758
|
+
CHILDREN = "children"
|
|
2759
|
+
}
|
|
2760
|
+
export declare enum SpacePropertiesEnum {
|
|
2761
|
+
OUTDOOR = "outdoor",
|
|
2762
|
+
INDOOR = "indoor"
|
|
2763
|
+
}
|
|
2764
|
+
export declare enum SurfacesEnum {
|
|
2765
|
+
GRASS = "grass",
|
|
2766
|
+
TURF = "turf",
|
|
2767
|
+
FIELD_TURF = "fieldTurf",
|
|
2768
|
+
ASTRO_TURF = "astroTurf",
|
|
2769
|
+
HARDWOOD = "hardwood",
|
|
2770
|
+
ASPHALT = "asphalt",
|
|
2771
|
+
SAND = "sand",
|
|
2772
|
+
ICE = "ice",
|
|
2773
|
+
SPORT_COURT = "sportCourt"
|
|
2774
|
+
}
|
|
2775
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2776
|
+
MINUTES = "minutes",
|
|
2777
|
+
DAYS = "days"
|
|
2778
|
+
}
|
|
2779
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2780
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2781
|
+
OPEN = "open",
|
|
2782
|
+
CLOSED = "closed"
|
|
2783
|
+
}
|
|
2784
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2785
|
+
FULL = "full",
|
|
2786
|
+
ALREADY_REGISTERED = "registered",
|
|
2787
|
+
AVAILABLE = "available",
|
|
2788
|
+
NOT_OPEN_YET = "not opened",
|
|
2789
|
+
ALREADY_CLOSED = "closed",
|
|
2790
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2791
|
+
}
|
|
2792
|
+
export declare enum DiscountMethodsEnum {
|
|
2793
|
+
PERCENT = "percent",
|
|
2794
|
+
AMOUNT = "amount"
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2797
|
+
ORGANIZATION = "organization"
|
|
2798
|
+
}
|
|
2799
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2800
|
+
USA = "USA"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum DateTimeFormatsEnum {
|
|
2803
|
+
API_DATE = "YYYY/MM/DD",
|
|
2804
|
+
API_TIME = "HH:mm:ss",
|
|
2805
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2806
|
+
}
|
|
2807
|
+
export declare enum SlotTypeEnum {
|
|
2808
|
+
EXTERNAL = "external",
|
|
2809
|
+
INTERNAL = "internal",
|
|
2810
|
+
MAINTENANCE = "maintenance",
|
|
2811
|
+
CUSTOM = "custom"
|
|
2812
|
+
}
|
|
2813
|
+
export declare enum PlatformsEnum {
|
|
2814
|
+
CONSUMER = "consumer",
|
|
2815
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
+
BO = "backoffice",
|
|
2817
|
+
MOBILE = "mobile",
|
|
2818
|
+
CRON = "cron"
|
|
2819
|
+
}
|
|
2820
|
+
export declare enum ShiftStatusEnum {
|
|
2821
|
+
OPEN = "open",
|
|
2822
|
+
CLOSED = "closed",
|
|
2823
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2824
|
+
RECONCILED = "reconciled"
|
|
2825
|
+
}
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2872
|
+
}
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2881
|
+
}
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2886
|
+
}
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2891
|
+
}
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2895
|
+
}
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2906
|
+
}
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2911
|
+
}
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2916
|
+
}
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2920
|
+
}
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2926
|
+
}
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2932
|
+
}
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2939
|
+
}
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2946
|
+
}
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
3074
2958
|
}
|
|
3075
|
-
export
|
|
3076
|
-
|
|
3077
|
-
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
quantity: number;
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
3078
2965
|
}
|
|
3079
|
-
export
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
QUIT = 2,
|
|
3083
|
-
SUSPENDED = 3,
|
|
3084
|
-
INACTIVE = 4
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
3085
2969
|
}
|
|
3086
|
-
export
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
RESTROOMS = 4,
|
|
3091
|
-
DRINKING_FOUNTAIN = 5,
|
|
3092
|
-
PARKING = 6,
|
|
3093
|
-
CONCESSIONS = 7,
|
|
3094
|
-
SHELTER = 8,
|
|
3095
|
-
PORTABLE_RESTROOMS = 9,
|
|
3096
|
-
LIGHTS = 10,
|
|
3097
|
-
LOCKER_ROOM = 11,
|
|
3098
|
-
PAID_PARKING = 12,
|
|
3099
|
-
ACCESSIBLE = 13
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3100
2974
|
}
|
|
3101
|
-
export
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
POOL = "pool",
|
|
3109
|
-
BATTING_CAGE = "batting cage",
|
|
3110
|
-
SHELTER = "shelter",
|
|
3111
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
3112
2982
|
}
|
|
3113
|
-
export
|
|
3114
|
-
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
3115
2995
|
}
|
|
3116
|
-
export declare
|
|
3117
|
-
|
|
3118
|
-
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
3119
2999
|
}
|
|
3120
|
-
export declare
|
|
3121
|
-
|
|
3122
|
-
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
3123
3003
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
TURF = "turf",
|
|
3127
|
-
FIELD_TURF = "fieldTurf",
|
|
3128
|
-
ASTRO_TURF = "astroTurf",
|
|
3129
|
-
HARDWOOD = "hardwood",
|
|
3130
|
-
ASPHALT = "asphalt",
|
|
3131
|
-
SAND = "sand",
|
|
3132
|
-
ICE = "ice",
|
|
3133
|
-
SPORT_COURT = "sportCourt"
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
3134
3006
|
}
|
|
3135
|
-
export
|
|
3136
|
-
|
|
3137
|
-
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
3138
3012
|
}
|
|
3139
|
-
export
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
3143
3017
|
}
|
|
3144
|
-
export
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
3151
3025
|
}
|
|
3152
|
-
export
|
|
3153
|
-
|
|
3154
|
-
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
3155
3034
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
3036
|
+
productId: number;
|
|
3037
|
+
userId: number;
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
3158
3045
|
}
|
|
3159
|
-
export
|
|
3160
|
-
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
3161
3052
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
DB_DATE = "YYYY-MM-DD"
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
3166
3056
|
}
|
|
3167
|
-
export
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
CUSTOM = "custom"
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3172
3061
|
}
|
|
3173
|
-
export
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
MOBILE = "mobile",
|
|
3178
|
-
CRON = "cron"
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3179
3066
|
}
|
|
3180
|
-
export
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
RECONCILED = "reconciled"
|
|
3067
|
+
export interface IBlockedDates {
|
|
3068
|
+
name: string;
|
|
3069
|
+
startDate: Date;
|
|
3070
|
+
endDate: Date;
|
|
3185
3071
|
}
|
|
3186
|
-
export
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3193
3090
|
}
|
|
3194
|
-
export
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
INTERNAL = "internal"
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3200
3096
|
}
|
|
3201
|
-
export
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3099
|
+
resourceType: ResourceNameTypeEnum;
|
|
3100
|
+
openNumDays?: number;
|
|
3101
|
+
openNumMinutes?: number;
|
|
3102
|
+
openTime?: string;
|
|
3103
|
+
closeNumDays?: number;
|
|
3104
|
+
closeNumMinutes?: number;
|
|
3105
|
+
closeTime?: string;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3107
|
+
}
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3205
3112
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3209
3116
|
}
|
|
3210
|
-
export
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3216
3125
|
}
|
|
3217
|
-
export
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3222
3144
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3146
|
+
facilityId: number;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3227
3149
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3152
|
+
name: string;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3232
3154
|
}
|
|
3233
|
-
export
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3241
3168
|
}
|
|
3242
|
-
export
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3246
3177
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3251
3182
|
}
|
|
3252
|
-
export
|
|
3253
|
-
|
|
3254
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3255
3197
|
}
|
|
3256
|
-
export
|
|
3257
|
-
|
|
3258
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3259
3213
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3214
|
+
export interface IUsersPasses {
|
|
3215
|
+
userId: number;
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3266
3228
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3271
3248
|
}
|
|
3272
|
-
export
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3276
3254
|
}
|
|
3277
|
-
export
|
|
3278
|
-
|
|
3279
|
-
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3280
3264
|
}
|
|
3281
|
-
export
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3286
3273
|
}
|
|
3287
|
-
export
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3276
|
+
name: string;
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3292
3286
|
}
|
|
3293
|
-
export
|
|
3294
|
-
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3295
3291
|
}
|
|
3296
|
-
export
|
|
3297
|
-
|
|
3298
|
-
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3299
|
+
}
|
|
3300
|
+
export declare class ColumnNumericTransformer {
|
|
3301
|
+
to(data: number): number;
|
|
3302
|
+
from(data: string): number;
|
|
3299
3303
|
}
|
|
3304
|
+
export declare function convertToNumber(data: string): number;
|
|
3300
3305
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3301
3306
|
name?: string;
|
|
3302
3307
|
genderStr?: string;
|
|
@@ -3442,12 +3447,11 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3442
3447
|
seasonId: number;
|
|
3443
3448
|
ordinal?: number;
|
|
3444
3449
|
divisionId?: number;
|
|
3445
|
-
name: string;
|
|
3446
|
-
}
|
|
3447
|
-
export declare class
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
status: number | null;
|
|
3450
|
+
name: string;
|
|
3451
|
+
}
|
|
3452
|
+
export declare class Lock extends BondBaseEntity {
|
|
3453
|
+
name: string;
|
|
3454
|
+
locked?: Date;
|
|
3451
3455
|
}
|
|
3452
3456
|
export interface ValidatedMonthAndDay {
|
|
3453
3457
|
valid: boolean;
|
|
@@ -3458,6 +3462,11 @@ export interface ValidationReason {
|
|
|
3458
3462
|
valid: boolean;
|
|
3459
3463
|
reason?: string;
|
|
3460
3464
|
}
|
|
3465
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3466
|
+
teamId: number | null;
|
|
3467
|
+
eventId: number | null;
|
|
3468
|
+
status: number | null;
|
|
3469
|
+
}
|
|
3461
3470
|
export interface PaymentStatus {
|
|
3462
3471
|
parentId: number;
|
|
3463
3472
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3470,21 +3479,12 @@ export interface PaymentStatusesDict {
|
|
|
3470
3479
|
export interface PaymentStatusDict {
|
|
3471
3480
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3472
3481
|
}
|
|
3473
|
-
export declare class Lock extends BondBaseEntity {
|
|
3474
|
-
name: string;
|
|
3475
|
-
locked?: Date;
|
|
3476
|
-
}
|
|
3477
3482
|
export declare class CreateMonitorConfigDto {
|
|
3478
3483
|
facilityId: number;
|
|
3479
3484
|
name: string;
|
|
3480
3485
|
code: string;
|
|
3481
3486
|
config: any;
|
|
3482
3487
|
}
|
|
3483
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3484
|
-
facilityId: number;
|
|
3485
|
-
code: string;
|
|
3486
|
-
config?: any;
|
|
3487
|
-
}
|
|
3488
3488
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3489
3489
|
userId: number;
|
|
3490
3490
|
organizationId: number;
|
|
@@ -3492,102 +3492,10 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3492
3492
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3493
3493
|
destination: string;
|
|
3494
3494
|
}
|
|
3495
|
-
export declare class
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
organizationId?: number;
|
|
3500
|
-
}
|
|
3501
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3502
|
-
programsIds?: string;
|
|
3503
|
-
sessionsIds?: string;
|
|
3504
|
-
segmentsIds?: string;
|
|
3505
|
-
startDate?: string;
|
|
3506
|
-
endDate?: string;
|
|
3507
|
-
months?: string;
|
|
3508
|
-
dow?: string;
|
|
3509
|
-
}
|
|
3510
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3511
|
-
programsIds?: string;
|
|
3512
|
-
sessionsIds?: string;
|
|
3513
|
-
segmentsIds?: string;
|
|
3514
|
-
startDate?: string;
|
|
3515
|
-
endDate?: string;
|
|
3516
|
-
months?: string;
|
|
3517
|
-
dow?: string;
|
|
3518
|
-
}
|
|
3519
|
-
export declare class Organization extends BondBaseEntity {
|
|
3520
|
-
name: string | null;
|
|
3521
|
-
email: string | null;
|
|
3522
|
-
twitter: string | null;
|
|
3523
|
-
facebook: string | null;
|
|
3524
|
-
instagram: string | null;
|
|
3525
|
-
website: string | null;
|
|
3526
|
-
blog: string | null;
|
|
3527
|
-
phoneNumber: string | null;
|
|
3528
|
-
waiverDoc: string | null;
|
|
3529
|
-
about: string | null;
|
|
3530
|
-
tagline: string | null;
|
|
3531
|
-
status: number | null;
|
|
3532
|
-
addressId: number | null;
|
|
3533
|
-
merchantId: number | null;
|
|
3534
|
-
userCreatorId: number | null;
|
|
3535
|
-
parentId: number | null;
|
|
3536
|
-
paymentSettings: object | null;
|
|
3537
|
-
settings: object | null;
|
|
3538
|
-
isClaimed: boolean | null;
|
|
3539
|
-
sports: number[] | null;
|
|
3540
|
-
mainMediaId: number | null;
|
|
3541
|
-
deletedAt: Date | null;
|
|
3542
|
-
organizationActivityTypes: number[] | null;
|
|
3543
|
-
organizationTypes: number[] | null;
|
|
3544
|
-
organizationAudienceTypes: number[] | null;
|
|
3545
|
-
organizationGenders: number[] | null;
|
|
3546
|
-
questionnaireId: number | null;
|
|
3547
|
-
membershipQuestionnaireId: number | null;
|
|
3548
|
-
feeRate: number;
|
|
3549
|
-
feeAddDollarRate: number;
|
|
3550
|
-
achFeeRate: number;
|
|
3551
|
-
achFeeAddDollarRate: number;
|
|
3552
|
-
maxAchFee: number;
|
|
3553
|
-
cashFeeRate: number;
|
|
3554
|
-
cashFeeAddDollarRate: number;
|
|
3555
|
-
terminalFeeRate: number;
|
|
3556
|
-
terminalFeeAddDollarRate: number;
|
|
3557
|
-
checkFeeRate: number;
|
|
3558
|
-
checkFeeAddDollarRate: number;
|
|
3559
|
-
otherFeeRate: number;
|
|
3560
|
-
otherFeeAddDollarRate: number;
|
|
3561
|
-
balanceFeeRate: number;
|
|
3562
|
-
balanceFeeAddDollarRate: number;
|
|
3563
|
-
address: Address;
|
|
3564
|
-
mainMedia: Media;
|
|
3565
|
-
brandings: OrganizationBranding[];
|
|
3566
|
-
brandingsV2?: OrganizationBranding[];
|
|
3567
|
-
}
|
|
3568
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3569
|
-
key?: string;
|
|
3570
|
-
vaule?: string;
|
|
3571
|
-
version: number;
|
|
3572
|
-
organization: Organization;
|
|
3573
|
-
}
|
|
3574
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3575
|
-
mainAdminUserId?: number;
|
|
3576
|
-
}
|
|
3577
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3578
|
-
organisationId: number | null;
|
|
3579
|
-
userId: number | null;
|
|
3580
|
-
}
|
|
3581
|
-
export interface UnallocatedEventsFilters {
|
|
3582
|
-
programsIds?: number[];
|
|
3583
|
-
sessionsIds?: number[];
|
|
3584
|
-
segmentsIds?: number[];
|
|
3585
|
-
durations?: Duration[];
|
|
3586
|
-
daysOfWeek?: number[];
|
|
3587
|
-
}
|
|
3588
|
-
export interface Duration {
|
|
3589
|
-
startDate: string;
|
|
3590
|
-
endDate: string;
|
|
3495
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3496
|
+
facilityId: number;
|
|
3497
|
+
code: string;
|
|
3498
|
+
config?: any;
|
|
3591
3499
|
}
|
|
3592
3500
|
export declare class CustomerIdDto {
|
|
3593
3501
|
customerId: number;
|
|
@@ -3733,6 +3641,16 @@ export declare class RefundLineItemAmountDto {
|
|
|
3733
3641
|
id: number;
|
|
3734
3642
|
refundAmount: number;
|
|
3735
3643
|
}
|
|
3644
|
+
export declare class VoidDto {
|
|
3645
|
+
lineItems: VoidLineItemDto[];
|
|
3646
|
+
meta?: RevertMetaDto;
|
|
3647
|
+
}
|
|
3648
|
+
export declare class VoidLineItemDto {
|
|
3649
|
+
id: number;
|
|
3650
|
+
quantity?: number;
|
|
3651
|
+
isEdit?: boolean;
|
|
3652
|
+
amount?: number;
|
|
3653
|
+
}
|
|
3736
3654
|
export interface PaymentResult {
|
|
3737
3655
|
paymentMethodId: string;
|
|
3738
3656
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3758,16 +3676,6 @@ export interface ExtendedLineItems {
|
|
|
3758
3676
|
products: LineItems[];
|
|
3759
3677
|
events: LineItems[];
|
|
3760
3678
|
}
|
|
3761
|
-
export declare class VoidDto {
|
|
3762
|
-
lineItems: VoidLineItemDto[];
|
|
3763
|
-
meta?: RevertMetaDto;
|
|
3764
|
-
}
|
|
3765
|
-
export declare class VoidLineItemDto {
|
|
3766
|
-
id: number;
|
|
3767
|
-
quantity?: number;
|
|
3768
|
-
isEdit?: boolean;
|
|
3769
|
-
amount?: number;
|
|
3770
|
-
}
|
|
3771
3679
|
export interface RefundResult extends PaymentsResults {
|
|
3772
3680
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3773
3681
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3778,6 +3686,103 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3778
3686
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3779
3687
|
totalAmountProcessed: number;
|
|
3780
3688
|
}
|
|
3689
|
+
export declare class ByOrganizationIdDto {
|
|
3690
|
+
organizationId: number;
|
|
3691
|
+
}
|
|
3692
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3693
|
+
organizationId?: number;
|
|
3694
|
+
}
|
|
3695
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3696
|
+
programsIds?: string;
|
|
3697
|
+
sessionsIds?: string;
|
|
3698
|
+
segmentsIds?: string;
|
|
3699
|
+
startDate?: string;
|
|
3700
|
+
endDate?: string;
|
|
3701
|
+
months?: string;
|
|
3702
|
+
dow?: string;
|
|
3703
|
+
}
|
|
3704
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3705
|
+
programsIds?: string;
|
|
3706
|
+
sessionsIds?: string;
|
|
3707
|
+
segmentsIds?: string;
|
|
3708
|
+
startDate?: string;
|
|
3709
|
+
endDate?: string;
|
|
3710
|
+
months?: string;
|
|
3711
|
+
dow?: string;
|
|
3712
|
+
}
|
|
3713
|
+
export declare class Organization extends BondBaseEntity {
|
|
3714
|
+
name: string | null;
|
|
3715
|
+
email: string | null;
|
|
3716
|
+
twitter: string | null;
|
|
3717
|
+
facebook: string | null;
|
|
3718
|
+
instagram: string | null;
|
|
3719
|
+
website: string | null;
|
|
3720
|
+
blog: string | null;
|
|
3721
|
+
phoneNumber: string | null;
|
|
3722
|
+
waiverDoc: string | null;
|
|
3723
|
+
about: string | null;
|
|
3724
|
+
tagline: string | null;
|
|
3725
|
+
status: number | null;
|
|
3726
|
+
addressId: number | null;
|
|
3727
|
+
merchantId: number | null;
|
|
3728
|
+
userCreatorId: number | null;
|
|
3729
|
+
parentId: number | null;
|
|
3730
|
+
paymentSettings: object | null;
|
|
3731
|
+
settings: object | null;
|
|
3732
|
+
isClaimed: boolean | null;
|
|
3733
|
+
sports: number[] | null;
|
|
3734
|
+
mainMediaId: number | null;
|
|
3735
|
+
deletedAt: Date | null;
|
|
3736
|
+
organizationActivityTypes: number[] | null;
|
|
3737
|
+
organizationTypes: number[] | null;
|
|
3738
|
+
organizationAudienceTypes: number[] | null;
|
|
3739
|
+
organizationGenders: number[] | null;
|
|
3740
|
+
questionnaireId: number | null;
|
|
3741
|
+
membershipQuestionnaireId: number | null;
|
|
3742
|
+
feeRate: number;
|
|
3743
|
+
feeAddDollarRate: number;
|
|
3744
|
+
achFeeRate: number;
|
|
3745
|
+
achFeeAddDollarRate: number;
|
|
3746
|
+
maxAchFee: number;
|
|
3747
|
+
cashFeeRate: number;
|
|
3748
|
+
cashFeeAddDollarRate: number;
|
|
3749
|
+
terminalFeeRate: number;
|
|
3750
|
+
terminalFeeAddDollarRate: number;
|
|
3751
|
+
checkFeeRate: number;
|
|
3752
|
+
checkFeeAddDollarRate: number;
|
|
3753
|
+
otherFeeRate: number;
|
|
3754
|
+
otherFeeAddDollarRate: number;
|
|
3755
|
+
balanceFeeRate: number;
|
|
3756
|
+
balanceFeeAddDollarRate: number;
|
|
3757
|
+
address: Address;
|
|
3758
|
+
mainMedia: Media;
|
|
3759
|
+
brandings: OrganizationBranding[];
|
|
3760
|
+
brandingsV2?: OrganizationBranding[];
|
|
3761
|
+
}
|
|
3762
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3763
|
+
key?: string;
|
|
3764
|
+
vaule?: string;
|
|
3765
|
+
version: number;
|
|
3766
|
+
organization: Organization;
|
|
3767
|
+
}
|
|
3768
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3769
|
+
mainAdminUserId?: number;
|
|
3770
|
+
}
|
|
3771
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3772
|
+
organisationId: number | null;
|
|
3773
|
+
userId: number | null;
|
|
3774
|
+
}
|
|
3775
|
+
export interface UnallocatedEventsFilters {
|
|
3776
|
+
programsIds?: number[];
|
|
3777
|
+
sessionsIds?: number[];
|
|
3778
|
+
segmentsIds?: number[];
|
|
3779
|
+
durations?: Duration[];
|
|
3780
|
+
daysOfWeek?: number[];
|
|
3781
|
+
}
|
|
3782
|
+
export interface Duration {
|
|
3783
|
+
startDate: string;
|
|
3784
|
+
endDate: string;
|
|
3785
|
+
}
|
|
3781
3786
|
export declare class AddonDto {
|
|
3782
3787
|
productId: number;
|
|
3783
3788
|
id?: number;
|
|
@@ -4036,7 +4041,7 @@ export declare class ReservationNotifyDto {
|
|
|
4036
4041
|
notifyMethods?: NotifyMethodEnum[];
|
|
4037
4042
|
}
|
|
4038
4043
|
export declare class UpdateReservationInvoiceDto {
|
|
4039
|
-
updateAddons?:
|
|
4044
|
+
updateAddons?: string;
|
|
4040
4045
|
}
|
|
4041
4046
|
export declare class SegmentDto {
|
|
4042
4047
|
id?: number;
|
|
@@ -4590,6 +4595,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4590
4595
|
export declare class CloseShiftDto {
|
|
4591
4596
|
closingCashAmount: number;
|
|
4592
4597
|
}
|
|
4598
|
+
export declare class FindShiftsByIdsDto {
|
|
4599
|
+
shiftIds: number[];
|
|
4600
|
+
}
|
|
4593
4601
|
export declare class FindShiftsFiltersDto {
|
|
4594
4602
|
statuses?: string;
|
|
4595
4603
|
stationIds?: string;
|
|
@@ -4610,10 +4618,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4610
4618
|
startDate?: Date;
|
|
4611
4619
|
endDate?: Date;
|
|
4612
4620
|
}
|
|
4613
|
-
export declare class OpenShiftDto {
|
|
4614
|
-
openingCashAmount: number;
|
|
4615
|
-
stationId: number;
|
|
4616
|
-
}
|
|
4617
4621
|
export declare class ShiftManagementClosingAmount {
|
|
4618
4622
|
shiftId: number;
|
|
4619
4623
|
managementClosingCashAmount: number;
|
|
@@ -4621,6 +4625,10 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4621
4625
|
export declare class ManagementClosingOfShiftsDto {
|
|
4622
4626
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4623
4627
|
}
|
|
4628
|
+
export declare class OpenShiftDto {
|
|
4629
|
+
openingCashAmount: number;
|
|
4630
|
+
stationId: number;
|
|
4631
|
+
}
|
|
4624
4632
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4625
4633
|
stationId: number;
|
|
4626
4634
|
station?: Station;
|
|
@@ -4650,11 +4658,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4650
4658
|
closingManager?: User;
|
|
4651
4659
|
reconcilingUser?: User;
|
|
4652
4660
|
}
|
|
4653
|
-
export declare class ColumnNumericTransformer {
|
|
4654
|
-
to(data: number): number;
|
|
4655
|
-
from(data: string): number;
|
|
4656
|
-
}
|
|
4657
|
-
export declare function convertToNumber(data: string): number;
|
|
4658
|
-
export declare class FindShiftsByIdsDto {
|
|
4659
|
-
shiftIds: number[];
|
|
4660
|
-
}
|