@bondsports/types 0.0.157 → 0.0.159
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 +2081 -2075
- 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,17 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
12
|
export declare class FindBookingTypeSettingDto {
|
|
24
13
|
organizationId: number;
|
|
25
14
|
facilityId: number;
|
|
@@ -34,6 +23,17 @@ export declare enum EFailedPaymentReasons {
|
|
|
34
23
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
24
|
UNKNOWN = "unknown"
|
|
36
25
|
}
|
|
26
|
+
export declare class QuestionAnswersDto {
|
|
27
|
+
questionId: number;
|
|
28
|
+
value: any;
|
|
29
|
+
}
|
|
30
|
+
export declare class UserAnswersDto {
|
|
31
|
+
userId: number;
|
|
32
|
+
answers: QuestionAnswersDto[];
|
|
33
|
+
}
|
|
34
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
35
|
+
questionnaireIds: string;
|
|
36
|
+
}
|
|
37
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
38
|
membershipId: number;
|
|
39
39
|
}
|
|
@@ -463,6 +463,24 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
471
|
+
}
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
483
|
+
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
468
486
|
}
|
|
@@ -684,24 +702,6 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -1096,2212 +1096,2207 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
-
export declare
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
userId?: number;
|
|
1104
|
-
customerId?: number;
|
|
1105
|
-
performingUserId: number;
|
|
1106
|
-
description: string;
|
|
1107
|
-
actionType: ActionTypesEnum;
|
|
1108
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
-
oldValue?: any;
|
|
1110
|
-
newValue?: any;
|
|
1099
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
1100
|
+
QUESTION = "question",
|
|
1101
|
+
CITY = "city",
|
|
1102
|
+
MEMBERSHIP = "membership"
|
|
1111
1103
|
}
|
|
1112
|
-
export declare
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1104
|
+
export declare enum ResourceNameTypeEnum {
|
|
1105
|
+
EVENT = "event",
|
|
1106
|
+
VENUE = "venue",
|
|
1107
|
+
TEAM = "team",
|
|
1108
|
+
LEAGUE = "league",
|
|
1109
|
+
USER = "user",
|
|
1110
|
+
ORGANIZATION = "organization",
|
|
1111
|
+
APP = "app",
|
|
1112
|
+
FEED = "feed",
|
|
1113
|
+
MATCH = "match",
|
|
1114
|
+
ROUND = "round",
|
|
1115
|
+
PORTAL = "portal",
|
|
1116
|
+
SEASON = "season",
|
|
1117
|
+
TOURNAMENT = "tournament",
|
|
1118
|
+
MEMBERSHIP = "membership",
|
|
1119
|
+
DIVISION = "division",
|
|
1120
|
+
GAMESLOT = "gameslot",
|
|
1121
|
+
SPACE = "space",
|
|
1122
|
+
RESERVATION = "reservation",
|
|
1123
|
+
INVOICE = "invoice",
|
|
1124
|
+
CUSTOMER = "customer",
|
|
1125
|
+
PACKAGE = "package",
|
|
1126
|
+
FACILITY = "facility",
|
|
1127
|
+
PROGRAM = "program",
|
|
1128
|
+
PROGRAM_SEASON = "program_season",
|
|
1129
|
+
PRODUCT = "product",
|
|
1130
|
+
GROUP = "group",
|
|
1131
|
+
VARIANT = "variant",
|
|
1132
|
+
SLOT = "slot",
|
|
1133
|
+
ADDON = "addon"
|
|
1124
1134
|
}
|
|
1125
|
-
export declare
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
zip?: string;
|
|
1131
|
-
country?: string;
|
|
1132
|
-
state?: string;
|
|
1133
|
-
geo: any;
|
|
1134
|
-
deletedAt?: Date;
|
|
1135
|
+
export declare enum DirectBookingTypesEnum {
|
|
1136
|
+
DIRECT_FOR_ALL = "all",
|
|
1137
|
+
DIRECT_FOR_NONE = "none",
|
|
1138
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
1139
|
+
NO_SETTING = "no_setting"
|
|
1135
1140
|
}
|
|
1136
|
-
export declare
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
questionnaire: Questionnaires;
|
|
1141
|
+
export declare enum GenderEnum {
|
|
1142
|
+
OTHER = 1,
|
|
1143
|
+
MALE = 2,
|
|
1144
|
+
FEMALE = 3
|
|
1141
1145
|
}
|
|
1142
|
-
export declare
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
+
export declare enum LevelOfPlayEnum {
|
|
1147
|
+
BEGINNER = 1,
|
|
1148
|
+
INTERMEDIATE = 2,
|
|
1149
|
+
ADVANCED = 3,
|
|
1150
|
+
SEMIPRO = 4,
|
|
1151
|
+
SPECTATOR = 5
|
|
1146
1152
|
}
|
|
1147
|
-
export declare
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
answerTitleId: number;
|
|
1156
|
-
answerTitle: AnswerTitle;
|
|
1157
|
-
metaData: any | null;
|
|
1158
|
-
questionText: string | null;
|
|
1153
|
+
export declare enum ProgramTypesEnum {
|
|
1154
|
+
LEAGUE = 0,
|
|
1155
|
+
TOURNAMENT = 1,
|
|
1156
|
+
CLASS = 2,
|
|
1157
|
+
CLINIC = 3,
|
|
1158
|
+
CAMP = 4,
|
|
1159
|
+
LESSON = 5,
|
|
1160
|
+
CLUB_TEAM = 6
|
|
1159
1161
|
}
|
|
1160
|
-
export declare
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1162
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
1163
|
+
ROUND_ROBIN = 1,
|
|
1164
|
+
BRACKETS = 2,
|
|
1165
|
+
CAMP_CLINIC_CLASS = 3
|
|
1164
1166
|
}
|
|
1165
|
-
export declare
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1167
|
+
export declare enum SportsEnum {
|
|
1168
|
+
SOFTBALL = 1,
|
|
1169
|
+
BASKETBALL = 2,
|
|
1170
|
+
FOOTBALL = 3,
|
|
1171
|
+
SOCCER = 4,
|
|
1172
|
+
BOWLING = 5,
|
|
1173
|
+
BOCCEBALL = 6,
|
|
1174
|
+
CORNHOLE = 7,
|
|
1175
|
+
DODGEBALL = 8,
|
|
1176
|
+
FRISBEE = 9,
|
|
1177
|
+
HOCKEY = 10,
|
|
1178
|
+
KICKBALL = 11,
|
|
1179
|
+
LACROSSE = 12,
|
|
1180
|
+
PINGPONG = 13,
|
|
1181
|
+
RUGBY = 14,
|
|
1182
|
+
SKEEBALL = 15,
|
|
1183
|
+
TENNIS = 16,
|
|
1184
|
+
VOLLEYBALL = 17,
|
|
1185
|
+
WIFFLEBALL = 18,
|
|
1186
|
+
BADMINTON = 19,
|
|
1187
|
+
FITNESS = 20,
|
|
1188
|
+
GOLF = 21,
|
|
1189
|
+
PILATES = 22,
|
|
1190
|
+
RUNNING = 23,
|
|
1191
|
+
SKIING = 24,
|
|
1192
|
+
SNOWBOARDING = 25,
|
|
1193
|
+
YOGA = 26,
|
|
1194
|
+
BROOMBALL = 27,
|
|
1195
|
+
CRICKET = 28,
|
|
1196
|
+
CROSSFIT = 29,
|
|
1197
|
+
CYCLING = 30,
|
|
1198
|
+
FIELD_HOCKEY = 31,
|
|
1199
|
+
RACQUETBALL = 32,
|
|
1200
|
+
SPINNING = 33,
|
|
1201
|
+
SQUASH = 34,
|
|
1202
|
+
SURFING = 35,
|
|
1203
|
+
SWIMMING = 36,
|
|
1204
|
+
WIND_SURFING = 37,
|
|
1205
|
+
ADVENTURE = 38,
|
|
1206
|
+
BOXING = 39,
|
|
1207
|
+
BASEBALL = 40,
|
|
1208
|
+
DANCE = 41,
|
|
1209
|
+
KICKBOXING = 42,
|
|
1210
|
+
MARTIAL_ARTS = 43,
|
|
1211
|
+
OUTDOORS = 44,
|
|
1212
|
+
ROWING = 45,
|
|
1213
|
+
SAILING = 46,
|
|
1214
|
+
SUP = 47,
|
|
1215
|
+
TRIATHLON = 48,
|
|
1216
|
+
HANDBALL = 49,
|
|
1217
|
+
CATCHBALL = 50,
|
|
1218
|
+
BLITZBALL = 51,
|
|
1219
|
+
ROLLER_DERBY = 52,
|
|
1220
|
+
ICE_SKATING = 53,
|
|
1221
|
+
PICKLEBALL = 54,
|
|
1222
|
+
AXE_THROWING = 55,
|
|
1223
|
+
FURSAL = 56,
|
|
1224
|
+
BIRTHDAY = 57,
|
|
1225
|
+
CORPRATE_EVENTS = 58,
|
|
1226
|
+
OTHER = 999
|
|
1172
1227
|
}
|
|
1173
|
-
export declare
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1228
|
+
export declare enum PublishingStatusEnum {
|
|
1229
|
+
DRAFT = 1,
|
|
1230
|
+
PUBLISHED = 2,
|
|
1231
|
+
CLOSED = 3,
|
|
1232
|
+
CANCELLED = 4,
|
|
1233
|
+
ARCHIVE = 5,
|
|
1234
|
+
UNPUBLISHED = 6
|
|
1177
1235
|
}
|
|
1178
|
-
export declare
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
isFinal?: boolean;
|
|
1191
|
-
concurrent?: number;
|
|
1192
|
-
deletedAt?: Date;
|
|
1193
|
-
publicNotes?: string;
|
|
1194
|
-
slotType?: SlotTypeEnum;
|
|
1236
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
1237
|
+
OTHER = 1,
|
|
1238
|
+
MINAGE = 2,
|
|
1239
|
+
MAXAGE = 3,
|
|
1240
|
+
GENDER = 4,
|
|
1241
|
+
LEVELOFPLAY = 5,
|
|
1242
|
+
GAMESSEASON = 6,
|
|
1243
|
+
MINWEEK = 7,
|
|
1244
|
+
SURFACE = 8,
|
|
1245
|
+
FORMAT = 9,
|
|
1246
|
+
PLAYERS_PER_TEAM = 10,
|
|
1247
|
+
MATCH_LENGTH = 12
|
|
1195
1248
|
}
|
|
1196
|
-
export declare
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
endDate: Date;
|
|
1201
|
-
dayOfWeek: number;
|
|
1202
|
-
startTimeInDay: string;
|
|
1203
|
-
endTimeInDay: string;
|
|
1204
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1249
|
+
export declare enum RequestStatusEnum {
|
|
1250
|
+
PENDING = 1,
|
|
1251
|
+
ACCEPTED = 2,
|
|
1252
|
+
DECLINED = 3
|
|
1205
1253
|
}
|
|
1206
|
-
export declare
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1254
|
+
export declare enum PaymentStatusEnum {
|
|
1255
|
+
NOT_PAID = "not_paid",
|
|
1256
|
+
PARTIAL_PAYMENT = "partial",
|
|
1257
|
+
FULLY_PAID = "paid",
|
|
1258
|
+
REFUNDED = "refunded",
|
|
1259
|
+
VOID = "void"
|
|
1210
1260
|
}
|
|
1211
|
-
export declare
|
|
1212
|
-
|
|
1213
|
-
from: number | null;
|
|
1214
|
-
fromType: string | null;
|
|
1215
|
-
to: number | null;
|
|
1216
|
-
toType: string | null;
|
|
1217
|
-
status: number | null;
|
|
1218
|
-
creatorId: number | null;
|
|
1219
|
-
creatorType: string | null;
|
|
1220
|
-
userCreatorId: number | null;
|
|
1221
|
-
ownerId: number | null;
|
|
1261
|
+
export declare enum ReservationExtendedEnum {
|
|
1262
|
+
PURCHASE_ORDER = "purchase_order"
|
|
1222
1263
|
}
|
|
1223
|
-
export declare
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
phoneNumber: string | null;
|
|
1232
|
-
mainMediaId: number | null;
|
|
1233
|
-
creatorId: number | null;
|
|
1234
|
-
creatorType: ResourceNameTypeEnum | null;
|
|
1235
|
-
userCreatorId: number | null;
|
|
1236
|
-
ownerId: number | null;
|
|
1237
|
-
vetted: boolean | null;
|
|
1238
|
-
firstName: string | null;
|
|
1239
|
-
lastName: string | null;
|
|
1240
|
-
waiverSignedDate: string | null;
|
|
1241
|
-
balance: number | null;
|
|
1242
|
-
storedCredit: number;
|
|
1243
|
-
members: (User & Customer)[];
|
|
1244
|
-
emergencyContacts: EmergencyContact[];
|
|
1245
|
-
customerNotes: CustomerNote[];
|
|
1246
|
-
customerCreditTransactions: CustomerCreditTransaction[];
|
|
1247
|
-
productsReservedFor: ProductsReservedForCustomers[];
|
|
1248
|
-
mainMedia: Media;
|
|
1249
|
-
reservations?: Reservation[];
|
|
1264
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
1265
|
+
export declare enum ReservationStatusEnum {
|
|
1266
|
+
PLANNED = "Planned",
|
|
1267
|
+
APPROVED = "Approved",
|
|
1268
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
1269
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
1270
|
+
REJECTED = "Rejected",
|
|
1271
|
+
CANCELED = "Canceled"
|
|
1250
1272
|
}
|
|
1251
|
-
export declare
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
invoice: Invoice;
|
|
1261
|
-
payment: Payment;
|
|
1273
|
+
export declare enum PaymentStatusV1Enum {
|
|
1274
|
+
SENT_TO_CLIENT = 1,
|
|
1275
|
+
SENT_FOR_PAYMENT = 2,
|
|
1276
|
+
ACCEPTED = 3,
|
|
1277
|
+
REJECTED = 4,
|
|
1278
|
+
CANCELLED = 5,
|
|
1279
|
+
FRAUD = 6,
|
|
1280
|
+
NOT_RELEVANT = 7,
|
|
1281
|
+
PENDING = 8
|
|
1262
1282
|
}
|
|
1263
|
-
export declare
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
userId: number;
|
|
1267
|
-
paymentId: number;
|
|
1268
|
-
invoiceId: number;
|
|
1269
|
-
creditPaymentId: number;
|
|
1283
|
+
export declare enum PaymentMethodsEnum {
|
|
1284
|
+
STRIPE = 1,
|
|
1285
|
+
CASH = 3
|
|
1270
1286
|
}
|
|
1271
|
-
export declare
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
pinToTop?: boolean;
|
|
1275
|
-
customer: Customer;
|
|
1287
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
1288
|
+
CHILD = "child",
|
|
1289
|
+
UPSALE = "upsale"
|
|
1276
1290
|
}
|
|
1277
|
-
export declare
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
color: string;
|
|
1282
|
-
isDefault: boolean;
|
|
1283
|
-
groups: Group[];
|
|
1291
|
+
export declare enum AddonTimePeriodEnum {
|
|
1292
|
+
FULL = "full",
|
|
1293
|
+
SESSION = "session",
|
|
1294
|
+
EVENT = "event"
|
|
1284
1295
|
}
|
|
1285
|
-
export declare
|
|
1286
|
-
|
|
1287
|
-
name: string | null;
|
|
1288
|
-
phoneNumber: string | null;
|
|
1289
|
-
customer: Customer;
|
|
1296
|
+
export declare enum CurrencyEnum {
|
|
1297
|
+
USD = "USD"
|
|
1290
1298
|
}
|
|
1291
|
-
export declare
|
|
1292
|
-
|
|
1299
|
+
export declare enum NotificationTypeEnum {
|
|
1300
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
1301
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
1302
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
1293
1303
|
}
|
|
1294
|
-
export declare
|
|
1295
|
-
|
|
1296
|
-
|
|
1304
|
+
export declare enum ProductTypesEnum {
|
|
1305
|
+
RESERVATION = "reservation",
|
|
1306
|
+
REGISTRATION = "registration",
|
|
1307
|
+
MEMBERSHIP = "membership",
|
|
1308
|
+
GOODS = "goods",
|
|
1309
|
+
PACKAGE = "package",
|
|
1310
|
+
REFUND_COMPENSATION = "refund",
|
|
1311
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
1312
|
+
PETTY_CASH = "petty_cash",
|
|
1313
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
1314
|
+
TAX = "tax"
|
|
1297
1315
|
}
|
|
1298
|
-
export declare
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
eventId?: number | null;
|
|
1304
|
-
productUserId?: number;
|
|
1305
|
-
answerTitleIds?: number[];
|
|
1306
|
-
entryStatus?: EntryStatusEnum;
|
|
1307
|
-
addonProductUserIds?: number[];
|
|
1308
|
-
deletedAt?: Date;
|
|
1309
|
-
attendee: User;
|
|
1310
|
-
event: Event;
|
|
1311
|
-
purchasedResource: PurchasedResource;
|
|
1316
|
+
export declare enum InvoiceStatusEnum {
|
|
1317
|
+
ACTIVE = "active",
|
|
1318
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
1319
|
+
WAITING_CLIENT = "waitingClient",
|
|
1320
|
+
CANCELED = "canceled"
|
|
1312
1321
|
}
|
|
1313
|
-
export declare
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
title: string | null;
|
|
1317
|
-
description: string | null;
|
|
1318
|
-
eventType: number | null;
|
|
1319
|
-
startDate: Date | null;
|
|
1320
|
-
endDate: Date | null;
|
|
1321
|
-
price: number | null;
|
|
1322
|
-
venueName: string | null;
|
|
1323
|
-
status: EventStatusEnum;
|
|
1324
|
-
private: boolean | null;
|
|
1325
|
-
guestsCanInvite: boolean | null;
|
|
1326
|
-
venueId: number | null;
|
|
1327
|
-
addressId: number | null;
|
|
1328
|
-
participantsLimit: number | null;
|
|
1329
|
-
parentId: number | null;
|
|
1330
|
-
parentType: string | null;
|
|
1331
|
-
timezone: string | null;
|
|
1332
|
-
eventSubType: string | null;
|
|
1333
|
-
eventSubId: number | null;
|
|
1334
|
-
metaData: any | null;
|
|
1335
|
-
groupingId: string | null;
|
|
1336
|
-
redirectUri: string | null;
|
|
1337
|
-
externalId: string | null;
|
|
1338
|
-
paymentSettings: any | null;
|
|
1339
|
-
whoCanJoin: string | null;
|
|
1340
|
-
spaceId?: number;
|
|
1341
|
-
bookedSessionId: number | null;
|
|
1342
|
-
creatorId: number | null;
|
|
1343
|
-
creatorType: string | null;
|
|
1344
|
-
userCreatorId: number | null;
|
|
1345
|
-
ownerId: number | null;
|
|
1346
|
-
sports: number[] | null;
|
|
1347
|
-
isVerified: boolean | null;
|
|
1348
|
-
mainMediaId: number | null;
|
|
1349
|
-
minAge: number | null;
|
|
1350
|
-
maxAge: number | null;
|
|
1351
|
-
gender: number | null;
|
|
1352
|
-
questionnaireId: number | null;
|
|
1353
|
-
eventAttendees: EventAttendee[];
|
|
1354
|
-
deletedAt?: Date;
|
|
1355
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1356
|
-
startDateString: string;
|
|
1357
|
-
endDateString: string;
|
|
1358
|
-
startTime: string;
|
|
1359
|
-
endTime: string;
|
|
1360
|
-
publicNotes?: string;
|
|
1361
|
-
privateNotes?: string;
|
|
1362
|
-
productResources: ProductResource[];
|
|
1363
|
-
parentSession: ProgramSeason;
|
|
1364
|
-
activityTimes: ActivityTimes[];
|
|
1365
|
-
slots: Slot[];
|
|
1366
|
-
purchasedResources: PurchasedResource[];
|
|
1367
|
-
program?: Program;
|
|
1368
|
-
session?: ProgramSeason;
|
|
1369
|
-
segment?: ProgramSeason;
|
|
1322
|
+
export declare enum LineItemsStatusEnum {
|
|
1323
|
+
USER_PRODUCT = "UserProduct",
|
|
1324
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
1370
1325
|
}
|
|
1371
|
-
export declare
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
address: Address;
|
|
1376
|
-
amenities?: number[];
|
|
1377
|
-
timezone: string;
|
|
1378
|
-
creatorId: number;
|
|
1379
|
-
creatorType: string;
|
|
1380
|
-
userCreatorId: number;
|
|
1381
|
-
mainMediaId: number;
|
|
1382
|
-
mainMedia: Media;
|
|
1383
|
-
publishedDate?: Date;
|
|
1384
|
-
isPublished: boolean;
|
|
1385
|
-
sports?: number[];
|
|
1386
|
-
info?: string;
|
|
1387
|
-
longDescription?: string;
|
|
1388
|
-
deletedAt?: Date;
|
|
1389
|
-
openingTimes: OpeningTime[];
|
|
1390
|
-
resources: Resource[];
|
|
1391
|
-
spaces: Resource[];
|
|
1392
|
-
programSeasons: ProgramSeason[];
|
|
1393
|
-
linkSEO: string;
|
|
1394
|
-
}
|
|
1395
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1396
|
-
facilityId: number;
|
|
1397
|
-
resourceId: number;
|
|
1326
|
+
export declare enum ProductSubTypesEnum {
|
|
1327
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
1328
|
+
SEASON_TEAM = "season_team",
|
|
1329
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
1398
1330
|
}
|
|
1399
|
-
export declare
|
|
1400
|
-
|
|
1401
|
-
|
|
1331
|
+
export declare enum PaymentMethodTypeEnum {
|
|
1332
|
+
CREDIT_CARD = "card",
|
|
1333
|
+
ACH = "ach",
|
|
1334
|
+
CASH = "cash",
|
|
1335
|
+
CHECK = "check",
|
|
1336
|
+
BALANCE = "balance",
|
|
1337
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
1338
|
+
OTHER = "other",
|
|
1339
|
+
MIGRATED = "migrated",
|
|
1340
|
+
VOID = "void"
|
|
1402
1341
|
}
|
|
1403
|
-
export declare
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
paymentMethodId: string;
|
|
1407
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1408
|
-
price: number;
|
|
1409
|
-
status: FutureInstallmentStatusEnum;
|
|
1410
|
-
plannedDate: Date;
|
|
1411
|
-
chargedAt?: Date;
|
|
1412
|
-
originalPlannedDate?: Date;
|
|
1342
|
+
export declare enum RefundTypeEnum {
|
|
1343
|
+
LEAVE_BALANCE = "leave_balance",
|
|
1344
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
1413
1345
|
}
|
|
1414
|
-
export declare
|
|
1415
|
-
|
|
1346
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
1347
|
+
INDIVIDUAL = "individual",
|
|
1348
|
+
FAMILY = "family",
|
|
1349
|
+
ORGANIZATION = "organization"
|
|
1416
1350
|
}
|
|
1417
|
-
export declare
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
itemType: ResourceNameTypeEnum;
|
|
1421
|
-
startDate: Date;
|
|
1422
|
-
endDate: Date;
|
|
1423
|
-
price: number;
|
|
1424
|
-
overridesPrice: boolean;
|
|
1425
|
-
deletedAt?: Date;
|
|
1426
|
-
group?: EntitlementGroup;
|
|
1427
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1428
|
-
discountValue?: number;
|
|
1351
|
+
export declare enum MembershipTypeEnum {
|
|
1352
|
+
FIXED = "fix_membership",
|
|
1353
|
+
ROLLING = "rolling_membership"
|
|
1429
1354
|
}
|
|
1430
|
-
export declare
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1355
|
+
export declare enum CustomerTypeEnum {
|
|
1356
|
+
USER = "user",
|
|
1357
|
+
FAMILY = "family",
|
|
1358
|
+
ORGANIZATION = "organization"
|
|
1434
1359
|
}
|
|
1435
|
-
export declare
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
maxCapacity?: number;
|
|
1440
|
-
mainMediaId?: number;
|
|
1441
|
-
minAgeYears?: number;
|
|
1442
|
-
maxAgeYears?: number;
|
|
1443
|
-
gender: GenderEnum;
|
|
1444
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1445
|
-
sports: SportsEnum[];
|
|
1446
|
-
questionnaires?: number[];
|
|
1447
|
-
captainUserId?: number;
|
|
1448
|
-
members: ISeasonAttendeeInfo[];
|
|
1449
|
-
users: User[];
|
|
1360
|
+
export declare enum GroupStatusEnum {
|
|
1361
|
+
ACTIVE = 1,
|
|
1362
|
+
INACTIVE = 2,
|
|
1363
|
+
DRAFT = 3
|
|
1450
1364
|
}
|
|
1451
|
-
export declare
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
payingUserId?: number | null;
|
|
1457
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1458
|
-
lineItems: LineItems[];
|
|
1459
|
-
lineItemHistory: LineItemHistory[];
|
|
1460
|
-
paymentStatus: PaymentStatusEnum;
|
|
1461
|
-
paymentMethodId?: string;
|
|
1462
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1463
|
-
paidAmount: number;
|
|
1464
|
-
currency: CurrencyEnum;
|
|
1465
|
-
mainPaymentId: number;
|
|
1466
|
-
isScheduled: boolean;
|
|
1467
|
-
isRefunded: boolean;
|
|
1468
|
-
isVoided: boolean;
|
|
1469
|
-
creatingUserId: number;
|
|
1470
|
-
shiftId: number;
|
|
1471
|
-
platform: PlatformsEnum;
|
|
1472
|
-
invoiceNotes: InvoiceNote[];
|
|
1473
|
-
slots: Slot[];
|
|
1365
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
1366
|
+
FUTURE = "future",
|
|
1367
|
+
SUCCEEDED = "succeeded",
|
|
1368
|
+
FAILED = "failed",
|
|
1369
|
+
CANCELED = "canceled"
|
|
1474
1370
|
}
|
|
1475
|
-
export declare
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
userId: number;
|
|
1480
|
-
invoiceId: number;
|
|
1481
|
-
paymentId: number;
|
|
1482
|
-
sendingUserId: number;
|
|
1483
|
-
mailParams?: any;
|
|
1484
|
-
memo?: string;
|
|
1371
|
+
export declare enum EntryStatusEnum {
|
|
1372
|
+
ENTERED = 1,
|
|
1373
|
+
NOT_ENTERED = 2,
|
|
1374
|
+
CANCELED = 3
|
|
1485
1375
|
}
|
|
1486
|
-
export declare
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
isPublic: boolean;
|
|
1491
|
-
deletedAt: Date;
|
|
1492
|
-
invoiceId: number;
|
|
1493
|
-
invoice: Invoice;
|
|
1376
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
1377
|
+
ACTIVE = 1,
|
|
1378
|
+
MOVED = 2,
|
|
1379
|
+
CANCELED = 3
|
|
1494
1380
|
}
|
|
1495
|
-
export declare
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
payment: Payment;
|
|
1500
|
-
paidAmount?: number;
|
|
1501
|
-
currency: CurrencyEnum;
|
|
1381
|
+
export declare enum TeamCanJoinEnum {
|
|
1382
|
+
ANYONE = "anyone",
|
|
1383
|
+
BY_INVITE = "byInvite",
|
|
1384
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
1502
1385
|
}
|
|
1503
|
-
export declare
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
bookingStateStatus: number | null;
|
|
1511
|
-
timezone: string | null;
|
|
1512
|
-
shortUrl: string | null;
|
|
1513
|
-
leagueType: string | null;
|
|
1514
|
-
addressId: number | null;
|
|
1515
|
-
sportConfigData: any | null;
|
|
1516
|
-
creatorId: number | null;
|
|
1517
|
-
creatorType: string | null;
|
|
1518
|
-
userCreatorId: number | null;
|
|
1519
|
-
ownerId: number | null;
|
|
1520
|
-
sports: number[] | null;
|
|
1521
|
-
mainMediaId: number | null;
|
|
1522
|
-
publishedDate: Date | null;
|
|
1523
|
-
isPublished: boolean | null;
|
|
1524
|
-
isVerified: boolean | null;
|
|
1525
|
-
questionnaireId: number | null;
|
|
1526
|
-
logo?: Media;
|
|
1527
|
-
seasons: LeagueSeason[];
|
|
1386
|
+
export declare enum TeamMemberStatusEnum {
|
|
1387
|
+
PENDING = 1,
|
|
1388
|
+
ACTIVE = 2,
|
|
1389
|
+
DECLINED = 3,
|
|
1390
|
+
SUSPENDED = 4,
|
|
1391
|
+
INACTIVE = 5,
|
|
1392
|
+
INVITED = 6
|
|
1528
1393
|
}
|
|
1529
|
-
export declare
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
status: number | null;
|
|
1533
|
-
startDate: Date | null;
|
|
1534
|
-
endDate: Date | null;
|
|
1535
|
-
priceEarlySingle: number | null;
|
|
1536
|
-
priceRegularSingle: number | null;
|
|
1537
|
-
priceLateSingle: number | null;
|
|
1538
|
-
priceEarlyTeam: number | null;
|
|
1539
|
-
priceRegularTeam: number | null;
|
|
1540
|
-
priceLateTeam: number | null;
|
|
1541
|
-
priceEarlyTeamMember: number | null;
|
|
1542
|
-
priceRegularTeamMember: number | null;
|
|
1543
|
-
priceLateTeamMember: number | null;
|
|
1544
|
-
priceEarlyGroup: number | null;
|
|
1545
|
-
priceRegularGroup: number | null;
|
|
1546
|
-
priceLateGroup: number | null;
|
|
1547
|
-
earlyRegistrationEnds: Date | null;
|
|
1548
|
-
regularRegistrationEnds: Date | null;
|
|
1549
|
-
lateRegistrationEnds: Date | null;
|
|
1550
|
-
registrationStatus: number | null;
|
|
1551
|
-
description: string | null;
|
|
1552
|
-
addressName: string | null;
|
|
1553
|
-
registrationOpen: Date | null;
|
|
1554
|
-
connectedSeasonId: number | null;
|
|
1555
|
-
tournamentType: boolean | null;
|
|
1556
|
-
playoffType: boolean | null;
|
|
1557
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1558
|
-
rosterStatus: string | null;
|
|
1559
|
-
metaData: any | null;
|
|
1560
|
-
inviteSendDate: Date | null;
|
|
1561
|
-
maxNumParticipants: number | null;
|
|
1562
|
-
programId: number | null;
|
|
1563
|
-
minNumParticipants: number | null;
|
|
1564
|
-
league: League;
|
|
1565
|
-
facilities: Facility[];
|
|
1566
|
-
seasonAttendees: SeasonAttendee[];
|
|
1567
|
-
purchasedResources: PurchasedResource[];
|
|
1394
|
+
export declare enum TeamMemberRoleEnum {
|
|
1395
|
+
NULL = 0,
|
|
1396
|
+
ADMIN = 1
|
|
1568
1397
|
}
|
|
1569
|
-
export declare
|
|
1570
|
-
|
|
1571
|
-
|
|
1398
|
+
export declare enum DayOfWeekEnum {
|
|
1399
|
+
SUNDAY = 0,
|
|
1400
|
+
MONDAY = 1,
|
|
1401
|
+
TUESDAY = 2,
|
|
1402
|
+
WEDNESDAY = 3,
|
|
1403
|
+
THURSDAY = 4,
|
|
1404
|
+
FRIDAY = 5,
|
|
1405
|
+
SATURDAY = 6
|
|
1572
1406
|
}
|
|
1573
|
-
export declare
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
unitPaidAmount: number;
|
|
1579
|
-
currency: CurrencyEnum;
|
|
1580
|
-
payment: Payment;
|
|
1581
|
-
lineItem: LineItems;
|
|
1582
|
-
}
|
|
1583
|
-
export declare class LineItems extends BondBaseEntity {
|
|
1584
|
-
constructor();
|
|
1585
|
-
defineIsReverted(): void;
|
|
1586
|
-
isReverted: boolean;
|
|
1587
|
-
invoiceId: number;
|
|
1588
|
-
invoice: Invoice;
|
|
1589
|
-
lineItemsHistory: LineItemHistory[];
|
|
1590
|
-
type: LineItemsStatusEnum | null;
|
|
1591
|
-
userId: number | null;
|
|
1592
|
-
productId: number;
|
|
1593
|
-
paymentProcessorId: string;
|
|
1594
|
-
productType: ProductTypesEnum;
|
|
1595
|
-
productUserId?: number;
|
|
1596
|
-
ordinal: number | null;
|
|
1597
|
-
entitlementGroupId?: number;
|
|
1598
|
-
entitlementGroups: EntitlementGroup;
|
|
1599
|
-
price: number;
|
|
1600
|
-
originalPrice?: number;
|
|
1601
|
-
paidAmount?: number;
|
|
1602
|
-
totalPaid?: number;
|
|
1603
|
-
totalQuantity?: number;
|
|
1604
|
-
totalPrice?: number;
|
|
1605
|
-
currency: CurrencyEnum;
|
|
1606
|
-
paymentStatus: PaymentStatusEnum;
|
|
1607
|
-
productSubType?: ProductSubTypesEnum;
|
|
1608
|
-
product: Product;
|
|
1609
|
-
organizationId: number;
|
|
1610
|
-
parentLineItemId?: number;
|
|
1611
|
-
taxLineItem?: LineItems;
|
|
1612
|
-
children?: LineItems[];
|
|
1613
|
-
previousPurchaseProducUserId?: number;
|
|
1614
|
-
discountDescription?: string;
|
|
1615
|
-
productUser?: ProductsUsers;
|
|
1616
|
-
resourceRedeemedForDiscount?: number;
|
|
1617
|
-
redeemableProduct: Product[];
|
|
1618
|
-
isRefunded: boolean;
|
|
1619
|
-
isPartiallyRefund: boolean;
|
|
1620
|
-
isVoided: boolean;
|
|
1621
|
-
isPartiallyVoided: boolean;
|
|
1622
|
-
wasReverted: boolean;
|
|
1623
|
-
isEdit: boolean;
|
|
1624
|
-
purchasedResources: PurchasedResource[];
|
|
1625
|
-
isTaxInclusive?: boolean;
|
|
1626
|
-
taxPrecent?: number;
|
|
1627
|
-
unitPrice?: number;
|
|
1628
|
-
quantity?: number;
|
|
1629
|
-
customerFirstName?: string;
|
|
1630
|
-
customerLastName?: string;
|
|
1631
|
-
displayFullPrice?: number;
|
|
1632
|
-
displayTotalPriceWithTax?: number;
|
|
1633
|
-
displayTotalPaid?: number;
|
|
1634
|
-
displayTotalQuantity?: number;
|
|
1635
|
-
displayUnitPrice?: number;
|
|
1636
|
-
displayQuantity?: number;
|
|
1407
|
+
export declare enum ActionTypesEnum {
|
|
1408
|
+
CREATE = "create",
|
|
1409
|
+
READ = "read",
|
|
1410
|
+
UPDATE = "update",
|
|
1411
|
+
DELETE = "delete"
|
|
1637
1412
|
}
|
|
1638
|
-
export declare
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
parentId: number | null;
|
|
1643
|
-
parentType: string | null;
|
|
1644
|
-
status: number | null;
|
|
1645
|
-
token: string | null;
|
|
1646
|
-
refreshToken: string | null;
|
|
1647
|
-
tokenCreatedAt: Date | null;
|
|
1648
|
-
tokenValidUpTo: Date | null;
|
|
1649
|
-
createdAt: Date;
|
|
1650
|
-
updatedAt: Date;
|
|
1651
|
-
user: User;
|
|
1652
|
-
userId: number | null;
|
|
1413
|
+
export declare enum ActionSourcePlatformEnum {
|
|
1414
|
+
ADMIN = "admin",
|
|
1415
|
+
BACKOFFICE = "backoffice",
|
|
1416
|
+
CONSUMER = "consumer"
|
|
1653
1417
|
}
|
|
1654
|
-
export declare
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
title: string | null;
|
|
1658
|
-
mediaKey: string | null;
|
|
1659
|
-
description: string | null;
|
|
1660
|
-
provider: string | null;
|
|
1661
|
-
mediaType: number;
|
|
1662
|
-
fileType: string | null;
|
|
1663
|
-
isDefault: boolean | null;
|
|
1664
|
-
creatorId: number | null;
|
|
1665
|
-
creatorType: string | null;
|
|
1666
|
-
userCreatorId: number | null;
|
|
1667
|
-
ownerId: number | null;
|
|
1668
|
-
createdBy: number | null;
|
|
1669
|
-
users: User[];
|
|
1670
|
-
programs: Program[];
|
|
1671
|
-
memberships: Membership[];
|
|
1418
|
+
export declare enum RolesEnum {
|
|
1419
|
+
ORG_ADMIN = "organizationAdmin",
|
|
1420
|
+
BOND_ADMIN = "bondAdmin"
|
|
1672
1421
|
}
|
|
1673
|
-
export declare
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
facilityId?: number;
|
|
1680
|
-
facilityName?: string;
|
|
1681
|
-
questionnaires?: number[];
|
|
1682
|
-
minAgeYears?: number;
|
|
1683
|
-
maxAgeYears?: number;
|
|
1684
|
-
gender: GenderEnum;
|
|
1685
|
-
maxMembers?: number;
|
|
1686
|
-
maxMaleMembers?: number;
|
|
1687
|
-
maxFemaleMembers?: number;
|
|
1688
|
-
membershipType: MembershipTypeEnum;
|
|
1689
|
-
durationMonths?: number;
|
|
1690
|
-
startDate?: string;
|
|
1691
|
-
endDate?: string;
|
|
1692
|
-
registrationStartDate?: Date;
|
|
1693
|
-
registrationEndDate?: Date;
|
|
1694
|
-
package?: IPackageResponse;
|
|
1695
|
-
tags: any[];
|
|
1696
|
-
members: MembershipMember[];
|
|
1697
|
-
longDescription?: string;
|
|
1698
|
-
isAutoRenew?: boolean;
|
|
1699
|
-
purchasedResources: PurchasedResource[];
|
|
1422
|
+
export declare enum SeasonPoolStatusEnum {
|
|
1423
|
+
IN_POOL = 5,
|
|
1424
|
+
ASSIGNED = 1,
|
|
1425
|
+
QUIT = 2,
|
|
1426
|
+
SUSPENDED = 3,
|
|
1427
|
+
INACTIVE = 4
|
|
1700
1428
|
}
|
|
1701
|
-
export declare
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
answerTitleIds?: number[];
|
|
1716
|
-
cancelledAt?: Date | null;
|
|
1717
|
-
cancellationReason?: string;
|
|
1718
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1719
|
-
isImported?: boolean;
|
|
1429
|
+
export declare enum AmenitiesEnum {
|
|
1430
|
+
HEAT = 1,
|
|
1431
|
+
AC = 2,
|
|
1432
|
+
WIFI = 3,
|
|
1433
|
+
RESTROOMS = 4,
|
|
1434
|
+
DRINKING_FOUNTAIN = 5,
|
|
1435
|
+
PARKING = 6,
|
|
1436
|
+
CONCESSIONS = 7,
|
|
1437
|
+
SHELTER = 8,
|
|
1438
|
+
PORTABLE_RESTROOMS = 9,
|
|
1439
|
+
LIGHTS = 10,
|
|
1440
|
+
LOCKER_ROOM = 11,
|
|
1441
|
+
PAID_PARKING = 12,
|
|
1442
|
+
ACCESSIBLE = 13
|
|
1720
1443
|
}
|
|
1721
|
-
export declare
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1444
|
+
export declare enum ResourceSubTypeEnum {
|
|
1445
|
+
COURT = "court",
|
|
1446
|
+
FIELD = "field",
|
|
1447
|
+
ROOM = "room",
|
|
1448
|
+
DIAMOND = "diamond",
|
|
1449
|
+
RINK = "rink",
|
|
1450
|
+
STUDIO = "studio",
|
|
1451
|
+
POOL = "pool",
|
|
1452
|
+
BATTING_CAGE = "batting cage",
|
|
1453
|
+
SHELTER = "shelter",
|
|
1454
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
1726
1455
|
}
|
|
1727
|
-
export declare
|
|
1728
|
-
|
|
1729
|
-
dayOfWeek: number;
|
|
1730
|
-
open: string;
|
|
1731
|
-
close: string;
|
|
1732
|
-
facilityId: number;
|
|
1733
|
-
createdAt: Date;
|
|
1734
|
-
updatedAt: Date;
|
|
1735
|
-
deletedAt?: Date;
|
|
1736
|
-
facility: Facility;
|
|
1456
|
+
export declare enum ResourceTypeEnum {
|
|
1457
|
+
SPACE = "space"
|
|
1737
1458
|
}
|
|
1738
|
-
export declare
|
|
1739
|
-
|
|
1459
|
+
export declare enum ResourceAgesEnum {
|
|
1460
|
+
ADULTS = "adults",
|
|
1461
|
+
CHILDREN = "children"
|
|
1740
1462
|
}
|
|
1741
|
-
export declare
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
price: number;
|
|
1745
|
-
status: string;
|
|
1746
|
-
percentage: number;
|
|
1747
|
-
quantity: number;
|
|
1748
|
-
duration: number;
|
|
1749
|
-
organizationId: number;
|
|
1750
|
-
creatorId: number;
|
|
1751
|
-
creatorType: string;
|
|
1752
|
-
userCreatorId: number;
|
|
1753
|
-
ownerId: number;
|
|
1754
|
-
addon: boolean;
|
|
1755
|
-
isMandatory: boolean;
|
|
1756
|
-
productId: number;
|
|
1463
|
+
export declare enum SpacePropertiesEnum {
|
|
1464
|
+
OUTDOOR = "outdoor",
|
|
1465
|
+
INDOOR = "indoor"
|
|
1757
1466
|
}
|
|
1758
|
-
export declare
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1467
|
+
export declare enum SurfacesEnum {
|
|
1468
|
+
GRASS = "grass",
|
|
1469
|
+
TURF = "turf",
|
|
1470
|
+
FIELD_TURF = "fieldTurf",
|
|
1471
|
+
ASTRO_TURF = "astroTurf",
|
|
1472
|
+
HARDWOOD = "hardwood",
|
|
1473
|
+
ASPHALT = "asphalt",
|
|
1474
|
+
SAND = "sand",
|
|
1475
|
+
ICE = "ice",
|
|
1476
|
+
SPORT_COURT = "sportCourt"
|
|
1763
1477
|
}
|
|
1764
|
-
export declare
|
|
1765
|
-
|
|
1766
|
-
|
|
1478
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
1479
|
+
MINUTES = "minutes",
|
|
1480
|
+
DAYS = "days"
|
|
1767
1481
|
}
|
|
1768
|
-
export declare
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
errorMessage: string;
|
|
1482
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
1483
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
1484
|
+
OPEN = "open",
|
|
1485
|
+
CLOSED = "closed"
|
|
1773
1486
|
}
|
|
1774
|
-
export declare
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
payment: Payment;
|
|
1782
|
-
}
|
|
1783
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1784
|
-
paymentPlanId: number;
|
|
1785
|
-
paymentDate: Date;
|
|
1786
|
-
deletedAt?: Date;
|
|
1787
|
-
paymentPlan: ProductPaymentPlan;
|
|
1788
|
-
}
|
|
1789
|
-
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1790
|
-
price: number;
|
|
1791
|
-
paymentProcessorId: string;
|
|
1792
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1793
|
-
paymentStatus: PaymentStatusEnum;
|
|
1794
|
-
bondFee?: number;
|
|
1795
|
-
stripeFee?: number;
|
|
1796
|
-
currency: CurrencyEnum;
|
|
1797
|
-
payingUserId?: number;
|
|
1798
|
-
paymentMethodId?: string;
|
|
1799
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1800
|
-
fundLeft: number;
|
|
1801
|
-
notes?: string;
|
|
1802
|
-
isRefunded: boolean;
|
|
1803
|
-
lineItemHistory: LineItemHistory[];
|
|
1804
|
-
receiptUrl?: string;
|
|
1805
|
-
paymentProcessorTransactionId?: string;
|
|
1806
|
-
creatingUserId: number;
|
|
1807
|
-
shiftId: number;
|
|
1808
|
-
platform: PlatformsEnum;
|
|
1809
|
-
ccLast4: string;
|
|
1810
|
-
ccBrand: string;
|
|
1811
|
-
paymentNotes: PaymentNote[];
|
|
1812
|
-
parentInvoiceId?: number;
|
|
1813
|
-
refundReasonId?: number;
|
|
1814
|
-
refundNote?: string;
|
|
1815
|
-
}
|
|
1816
|
-
export declare class PaymentV1 extends BondBaseEntity {
|
|
1817
|
-
userId: number | null;
|
|
1818
|
-
ownerId: number | null;
|
|
1819
|
-
parentId: number | null;
|
|
1820
|
-
parentType: string | null;
|
|
1821
|
-
idAtProvider: string | null;
|
|
1822
|
-
providerType: number | null;
|
|
1823
|
-
providerExtraData: string | null;
|
|
1824
|
-
requestData: string | null;
|
|
1825
|
-
responseData: string | null;
|
|
1826
|
-
status: number | null;
|
|
1827
|
-
price: number | null;
|
|
1828
|
-
currency: string | null;
|
|
1829
|
-
locked: boolean | null;
|
|
1830
|
-
numberOfTries: number | null;
|
|
1831
|
-
installmentId: number | null;
|
|
1832
|
-
invoiceId: string | null;
|
|
1833
|
-
}
|
|
1834
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1835
|
-
productId: number;
|
|
1836
|
-
product: Product;
|
|
1837
|
-
name: string | null;
|
|
1838
|
-
price: number;
|
|
1839
|
-
currency: CurrencyEnum;
|
|
1840
|
-
paymentProcessorId: number | null;
|
|
1841
|
-
startDate: Date;
|
|
1842
|
-
endDate: Date;
|
|
1843
|
-
groupId?: number;
|
|
1844
|
-
groupName?: string;
|
|
1845
|
-
originalPrice?: number;
|
|
1846
|
-
deletedAt?: Date;
|
|
1847
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1848
|
-
discountValue?: number;
|
|
1849
|
-
taxIncludedPrice?: number;
|
|
1850
|
-
}
|
|
1851
|
-
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1852
|
-
name: string;
|
|
1853
|
-
quantity: number;
|
|
1854
|
-
paymentProcessorId?: string;
|
|
1855
|
-
startDate?: Date;
|
|
1856
|
-
endDate?: Date;
|
|
1857
|
-
isPublic: boolean;
|
|
1858
|
-
productType?: ProductTypesEnum;
|
|
1859
|
-
GL?: string;
|
|
1860
|
-
downpayment?: number;
|
|
1861
|
-
description?: string;
|
|
1862
|
-
prices: Price[];
|
|
1863
|
-
currPrice: Price;
|
|
1864
|
-
productSubType?: ProductSubTypesEnum;
|
|
1865
|
-
punchCard: boolean;
|
|
1866
|
-
requiredProductIds?: number[];
|
|
1867
|
-
lineItems: LineItems[];
|
|
1868
|
-
resources: IResourcesAvailability[];
|
|
1869
|
-
variantParentId?: number;
|
|
1870
|
-
isAddon: boolean;
|
|
1871
|
-
isArchive: boolean;
|
|
1872
|
-
productVariants: Product[];
|
|
1873
|
-
variantParentProduct: Product;
|
|
1874
|
-
variantsObj: Variant[];
|
|
1875
|
-
variantTitlesObj: VariantTitle[];
|
|
1876
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1877
|
-
deletedAt?: Date;
|
|
1878
|
-
productsUsers: ProductsUsers[];
|
|
1879
|
-
isProRated: boolean;
|
|
1880
|
-
entitledPrices?: GroupItemsPricing[];
|
|
1881
|
-
defaultPriceId?: number;
|
|
1882
|
-
tax: number;
|
|
1883
|
-
isTaxInclusive: boolean;
|
|
1884
|
-
defaultPrice?: Price;
|
|
1885
|
-
addOns?: IChildProduct[];
|
|
1886
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
1887
|
-
productResources: ProductResource[];
|
|
1888
|
-
parentProductPackages: ProductPackage[];
|
|
1889
|
-
childProductPackages: ProductPackage[];
|
|
1890
|
-
sports?: number[] | null;
|
|
1891
|
-
durationMinutes?: number;
|
|
1892
|
-
durationDays?: number;
|
|
1893
|
-
forms?: number[] | null;
|
|
1894
|
-
isForAllCustomers?: boolean;
|
|
1895
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1896
|
-
reservedForCustomers: Customer[];
|
|
1897
|
-
reservedForMemberships: Membership[];
|
|
1898
|
-
activityTimes: ActivityTimes[];
|
|
1899
|
-
purchasedResources: PurchasedResource[];
|
|
1900
|
-
}
|
|
1901
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1902
|
-
parentProductId: number;
|
|
1903
|
-
childProductId: number;
|
|
1904
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1905
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1906
|
-
deletedAt?: Date;
|
|
1907
|
-
productResource: ProductResource;
|
|
1908
|
-
childProduct: Product;
|
|
1909
|
-
parentProduct: Product;
|
|
1910
|
-
price: number;
|
|
1911
|
-
isFlatPrice: boolean;
|
|
1912
|
-
durationMinutes?: number;
|
|
1913
|
-
durationDays?: number;
|
|
1914
|
-
level?: ProductPackageLevelEnum;
|
|
1487
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
1488
|
+
FULL = "full",
|
|
1489
|
+
ALREADY_REGISTERED = "registered",
|
|
1490
|
+
AVAILABLE = "available",
|
|
1491
|
+
NOT_OPEN_YET = "not opened",
|
|
1492
|
+
ALREADY_CLOSED = "closed",
|
|
1493
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
1915
1494
|
}
|
|
1916
|
-
export declare
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
dayOfMonth?: number;
|
|
1920
|
-
name: string;
|
|
1921
|
-
deletedAt?: Date;
|
|
1922
|
-
schedule: PaymentPlanSchedule[];
|
|
1923
|
-
product?: Product;
|
|
1495
|
+
export declare enum DiscountMethodsEnum {
|
|
1496
|
+
PERCENT = "percent",
|
|
1497
|
+
AMOUNT = "amount"
|
|
1924
1498
|
}
|
|
1925
|
-
export declare
|
|
1926
|
-
|
|
1927
|
-
resourceId: number;
|
|
1928
|
-
resourceType: ResourceNameTypeEnum;
|
|
1929
|
-
deletedAt?: Date;
|
|
1930
|
-
programSeason: ProgramSeason;
|
|
1931
|
-
event: Event;
|
|
1932
|
-
product: Product;
|
|
1933
|
-
productPackages: ProductPackage[];
|
|
1934
|
-
resourceName?: string;
|
|
1499
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
1500
|
+
ORGANIZATION = "organization"
|
|
1935
1501
|
}
|
|
1936
|
-
export declare
|
|
1937
|
-
|
|
1938
|
-
variantTitleId: number;
|
|
1502
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
1503
|
+
USA = "USA"
|
|
1939
1504
|
}
|
|
1940
|
-
export declare
|
|
1941
|
-
|
|
1942
|
-
|
|
1505
|
+
export declare enum DateTimeFormatsEnum {
|
|
1506
|
+
API_DATE = "YYYY/MM/DD",
|
|
1507
|
+
API_TIME = "HH:mm:ss",
|
|
1508
|
+
DB_DATE = "YYYY-MM-DD"
|
|
1943
1509
|
}
|
|
1944
|
-
export declare
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
product: Product;
|
|
1510
|
+
export declare enum SlotTypeEnum {
|
|
1511
|
+
EXTERNAL = "external",
|
|
1512
|
+
INTERNAL = "internal",
|
|
1513
|
+
MAINTENANCE = "maintenance",
|
|
1514
|
+
CUSTOM = "custom"
|
|
1950
1515
|
}
|
|
1951
|
-
export declare
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
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[];
|
|
1516
|
+
export declare enum PlatformsEnum {
|
|
1517
|
+
CONSUMER = "consumer",
|
|
1518
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
1519
|
+
BO = "backoffice",
|
|
1520
|
+
MOBILE = "mobile",
|
|
1521
|
+
CRON = "cron"
|
|
1967
1522
|
}
|
|
1968
|
-
export declare
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
maxAge: string;
|
|
1974
|
-
gender: GenderEnum;
|
|
1975
|
-
level: LevelOfPlayEnum[] | null;
|
|
1976
|
-
description: string | null;
|
|
1977
|
-
GL?: string | null;
|
|
1978
|
-
status: PublishingStatusEnum;
|
|
1979
|
-
mainMedia: Media;
|
|
1980
|
-
organizationId: number;
|
|
1981
|
-
userCreatorId: number;
|
|
1982
|
-
programHighlights: ProgramHighlights[];
|
|
1983
|
-
linkSEO: string;
|
|
1984
|
-
longDescription?: string;
|
|
1985
|
-
requiredProductIds: number[] | null;
|
|
1986
|
-
deletedAt?: Date;
|
|
1987
|
-
programSeason: ProgramSeason[];
|
|
1988
|
-
purchasedResources: PurchasedResource[];
|
|
1523
|
+
export declare enum ShiftStatusEnum {
|
|
1524
|
+
OPEN = "open",
|
|
1525
|
+
CLOSED = "closed",
|
|
1526
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
1527
|
+
RECONCILED = "reconciled"
|
|
1989
1528
|
}
|
|
1990
|
-
export declare
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1529
|
+
export declare enum EventStatusEnum {
|
|
1530
|
+
OPEN = 1,
|
|
1531
|
+
DRAFT = 2,
|
|
1532
|
+
FULL = 3,
|
|
1533
|
+
CANCELLED = 4,
|
|
1534
|
+
CLOSED = 5,
|
|
1535
|
+
DELETED = 6
|
|
1997
1536
|
}
|
|
1998
|
-
export declare
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
startDate: Date;
|
|
2005
|
-
endDate: Date;
|
|
2006
|
-
registrationStartDate: Date | null;
|
|
2007
|
-
registrationEndDate: Date | null;
|
|
2008
|
-
questionnaires: number[] | null;
|
|
2009
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
2010
|
-
parentSeasonId: number | null;
|
|
2011
|
-
maxParticipants: number | null;
|
|
2012
|
-
maxMaleParticipants: number | null;
|
|
2013
|
-
maxFemaleParticipants: number | null;
|
|
2014
|
-
maxWaitlist: number | null;
|
|
2015
|
-
maxMaleWaitlist: number | null;
|
|
2016
|
-
maxFemaleWaitlist: number | null;
|
|
2017
|
-
organizationId: number;
|
|
2018
|
-
facilityId: number | null;
|
|
2019
|
-
facilityName?: string;
|
|
2020
|
-
addressId: number | null;
|
|
2021
|
-
sport: SportsEnum;
|
|
2022
|
-
minAge: string;
|
|
2023
|
-
maxAge: string;
|
|
2024
|
-
gender: GenderEnum;
|
|
2025
|
-
level: LevelOfPlayEnum[] | null;
|
|
2026
|
-
blockedDated: BlockedDate[];
|
|
2027
|
-
seasonAttendees: SeasonAttendee[];
|
|
2028
|
-
products: Product[];
|
|
2029
|
-
linkSEO: string;
|
|
2030
|
-
address: Address;
|
|
2031
|
-
defaultProductId?: number;
|
|
2032
|
-
longDescription?: string;
|
|
2033
|
-
isPunchCard?: boolean;
|
|
2034
|
-
deletedAt?: Date;
|
|
2035
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2036
|
-
program: Program;
|
|
2037
|
-
spaces?: Resource[];
|
|
2038
|
-
reservationId?: number;
|
|
2039
|
-
earlyRegistrationStartDate?: Date;
|
|
2040
|
-
earlyRegistrationEndDate?: Date;
|
|
2041
|
-
lateRegistrationStartDate?: Date;
|
|
2042
|
-
lateRegistrationEndDate?: Date;
|
|
2043
|
-
requiredProductIds?: number[];
|
|
2044
|
-
registrationConstraints?: RegistrationConstraint;
|
|
2045
|
-
sessionSegments: ProgramSeason[];
|
|
2046
|
-
sessionEvents: Event[];
|
|
2047
|
-
parentSession: ProgramSeason;
|
|
2048
|
-
activityTimes: ActivityTimes[];
|
|
2049
|
-
productResources: ProductResource[];
|
|
2050
|
-
facility: Facility;
|
|
2051
|
-
purchasedResources: PurchasedResource[];
|
|
1537
|
+
export declare enum ReservationTypeEnum {
|
|
1538
|
+
RENTAL = "rental",
|
|
1539
|
+
PROGRAM = "program",
|
|
1540
|
+
MAINTENANCE = "maintenance",
|
|
1541
|
+
CUSTOM = "custom",
|
|
1542
|
+
INTERNAL = "internal"
|
|
2052
1543
|
}
|
|
2053
|
-
export declare
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
status: PurchasedResourceStatusEnum;
|
|
2058
|
-
startDate?: string;
|
|
2059
|
-
startTime?: string;
|
|
2060
|
-
endDate?: string;
|
|
2061
|
-
endTime?: string;
|
|
2062
|
-
productUser?: ProductsUsers;
|
|
2063
|
-
lineItem?: LineItems;
|
|
2064
|
-
eventAttendee?: EventAttendee;
|
|
2065
|
-
seasonAttendee?: SeasonAttendee;
|
|
2066
|
-
leagueAttendee?: SeasonPool;
|
|
2067
|
-
membership?: Membership;
|
|
2068
|
-
program?: Program;
|
|
2069
|
-
programSeason?: ProgramSeason;
|
|
2070
|
-
leagueSeason?: LeagueSeason;
|
|
2071
|
-
space?: Resource;
|
|
2072
|
-
product?: Product;
|
|
2073
|
-
event?: Event;
|
|
1544
|
+
export declare enum SlotDurationTypeEnum {
|
|
1545
|
+
DATES = "dates",
|
|
1546
|
+
ALL_DAY = "all day",
|
|
1547
|
+
DURATION = "duration"
|
|
2074
1548
|
}
|
|
2075
|
-
export declare
|
|
2076
|
-
|
|
2077
|
-
|
|
1549
|
+
export declare enum DurationUnitTypesEnum {
|
|
1550
|
+
MINUTES = "minutes",
|
|
1551
|
+
HOURS = "hours"
|
|
2078
1552
|
}
|
|
2079
|
-
export declare
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
metaData: any | null;
|
|
2086
|
-
question: string | null;
|
|
2087
|
-
creatorId: number | null;
|
|
2088
|
-
creatorType: string | null;
|
|
2089
|
-
userCreatorId: number | null;
|
|
2090
|
-
ownerId: number | null;
|
|
2091
|
-
questionnaireId: number | null;
|
|
1553
|
+
export declare enum FrequencyEnum {
|
|
1554
|
+
NONE = "none",
|
|
1555
|
+
WEEKLY = "weekly",
|
|
1556
|
+
DAILY = "daily",
|
|
1557
|
+
MONTHLY = "monthly",
|
|
1558
|
+
YEARLY = "yearly"
|
|
2092
1559
|
}
|
|
2093
|
-
export declare
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
openTime?: string;
|
|
2099
|
-
closeNumDays?: number;
|
|
2100
|
-
closeNumMinutes?: number;
|
|
2101
|
-
closeTime?: string;
|
|
2102
|
-
deletedAt?: Date;
|
|
1560
|
+
export declare enum MaintenanceTimingEnum {
|
|
1561
|
+
BEFORE = 1,
|
|
1562
|
+
AFTER = 2,
|
|
1563
|
+
AT_THE_BEGINING = 3,
|
|
1564
|
+
AT_THE_END = 4
|
|
2103
1565
|
}
|
|
2104
|
-
export declare
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
1566
|
+
export declare enum CreatorTypeEnum {
|
|
1567
|
+
SPACE = "space",
|
|
1568
|
+
PROGRAM_SEASON = "program_season",
|
|
1569
|
+
SEASON = "season"
|
|
2108
1570
|
}
|
|
2109
|
-
export declare
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
status?: string;
|
|
2114
|
-
privacySetting?: string;
|
|
2115
|
-
reservationType?: string;
|
|
2116
|
-
invoiceId?: string;
|
|
2117
|
-
customerId?: number;
|
|
2118
|
-
length?: number;
|
|
2119
|
-
price?: number;
|
|
2120
|
-
sessions?: number;
|
|
2121
|
-
percentage?: number;
|
|
2122
|
-
paymentStatus?: number;
|
|
2123
|
-
paymentId?: number;
|
|
2124
|
-
startTime?: string;
|
|
2125
|
-
dayOfWeek?: number;
|
|
2126
|
-
resourcePackageId?: number;
|
|
2127
|
-
resourcePackageAmount?: number;
|
|
2128
|
-
startDate?: Date;
|
|
2129
|
-
endDate?: Date;
|
|
2130
|
-
originalReservationId?: number;
|
|
2131
|
-
creatorId?: number;
|
|
2132
|
-
creatorType?: string;
|
|
2133
|
-
userCreatorId?: number;
|
|
2134
|
-
ownerId?: number;
|
|
2135
|
-
sportType?: number;
|
|
2136
|
-
participantType?: string;
|
|
2137
|
-
deletedAt?: Date;
|
|
2138
|
-
publicNotes?: string;
|
|
2139
|
-
slots?: Slot[];
|
|
1571
|
+
export declare enum UpdatePricesTypeEnum {
|
|
1572
|
+
INDIVIDUAL = "indvidual",
|
|
1573
|
+
CATEGORY = "category",
|
|
1574
|
+
GLOBAL = "global"
|
|
2140
1575
|
}
|
|
2141
|
-
export declare
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
mainMediaId?: number;
|
|
2150
|
-
mainMedia: Media;
|
|
2151
|
-
sports: SportsEnum[];
|
|
2152
|
-
width?: number;
|
|
2153
|
-
length?: number;
|
|
2154
|
-
amenities?: AmenitiesEnum[];
|
|
2155
|
-
parentSpaceId?: number;
|
|
2156
|
-
ordinal?: number;
|
|
2157
|
-
isAddOn: boolean;
|
|
2158
|
-
ages?: ResourceAgesEnum;
|
|
2159
|
-
deletedAt?: Date;
|
|
2160
|
-
activityTimes: ActivityTimes[];
|
|
2161
|
-
facilities: Facility[];
|
|
2162
|
-
slots?: Slot[];
|
|
2163
|
-
addons?: Addon[];
|
|
2164
|
-
facilityId: number;
|
|
2165
|
-
facility: Facility;
|
|
2166
|
-
purchasedResources: PurchasedResource[];
|
|
2167
|
-
linkSEO: string;
|
|
1576
|
+
export declare enum BondDayOfWeekEnum {
|
|
1577
|
+
MONDAY = 2,
|
|
1578
|
+
TUESDAY = 3,
|
|
1579
|
+
WEDNESDAY = 4,
|
|
1580
|
+
THURSDAY = 5,
|
|
1581
|
+
FRIDAY = 6,
|
|
1582
|
+
SATURDAY = 7,
|
|
1583
|
+
SUNDAY = 8
|
|
2168
1584
|
}
|
|
2169
|
-
export declare
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
childrenSlotIds: number[];
|
|
2174
|
-
deletedAt?: Date;
|
|
1585
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
1586
|
+
NEW = "new",
|
|
1587
|
+
NO = "no",
|
|
1588
|
+
YES = "yes"
|
|
2175
1589
|
}
|
|
2176
|
-
export declare
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
website: string | null;
|
|
2181
|
-
phone: string | null;
|
|
2182
|
-
dataId: number | null;
|
|
1590
|
+
export declare enum ProductPackageLevelEnum {
|
|
1591
|
+
HOUR = "hour",
|
|
1592
|
+
SLOT = "slot",
|
|
1593
|
+
RESERVATION = "reservation"
|
|
2183
1594
|
}
|
|
2184
|
-
export declare
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
paymentId?: number;
|
|
2188
|
-
productId?: number;
|
|
2189
|
-
attendeeId: number;
|
|
2190
|
-
attendee: User;
|
|
2191
|
-
seasonId: number;
|
|
2192
|
-
season: ProgramSeason;
|
|
2193
|
-
productUserId?: number;
|
|
2194
|
-
answerTitleIds?: number[];
|
|
2195
|
-
deletedAt?: Date;
|
|
2196
|
-
purchasedResource: PurchasedResource;
|
|
1595
|
+
export declare enum CancellationStatusEnum {
|
|
1596
|
+
IMMEDIATE = "immediate",
|
|
1597
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2197
1598
|
}
|
|
2198
|
-
export declare
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
seasonId: number | null;
|
|
2202
|
-
color: string | null;
|
|
1599
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
1600
|
+
DRAFT = 0,
|
|
1601
|
+
PUBLISHED = 1
|
|
2203
1602
|
}
|
|
2204
|
-
export declare
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
groupId?: string;
|
|
2211
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2212
|
-
metadata?: any;
|
|
2213
|
-
paymentId?: number;
|
|
2214
|
-
externalAssign?: boolean;
|
|
2215
|
-
productUserId?: number;
|
|
2216
|
-
purchasedResource: PurchasedResource;
|
|
2217
|
-
season: LeagueSeason;
|
|
1603
|
+
export declare enum FinancialStepEnum {
|
|
1604
|
+
VOID = "void",
|
|
1605
|
+
REFUND = "refund",
|
|
1606
|
+
NONE = "none",
|
|
1607
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
1608
|
+
APPEND = "append"
|
|
2218
1609
|
}
|
|
2219
|
-
export declare
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
statistics: any | null;
|
|
2224
|
-
points: number | null;
|
|
2225
|
-
divisionId: number | null;
|
|
2226
|
-
metaData: any | null;
|
|
2227
|
-
team: Team;
|
|
1610
|
+
export declare enum StripeAccountTypesEnum {
|
|
1611
|
+
STRIPE = "stripe",
|
|
1612
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
1613
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2228
1614
|
}
|
|
2229
|
-
export declare
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
terminaLabel: string | null;
|
|
2234
|
-
processorSerialNumber: string | null;
|
|
2235
|
-
currentOpenShift?: Shift;
|
|
2236
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2237
|
-
subcategories: Subcategory[];
|
|
2238
|
-
shifts?: Shift[];
|
|
1615
|
+
export declare enum LinkedAccountStatus {
|
|
1616
|
+
PENDING = 1,
|
|
1617
|
+
ACTIVE = 2,
|
|
1618
|
+
PRE_PENDING = 3
|
|
2239
1619
|
}
|
|
2240
|
-
export declare
|
|
2241
|
-
|
|
2242
|
-
|
|
1620
|
+
export declare enum AddonParentTypeEnum {
|
|
1621
|
+
RESERVATION = "reservation",
|
|
1622
|
+
SLOT = "slot"
|
|
1623
|
+
}
|
|
1624
|
+
export declare enum EEmailStatus {
|
|
1625
|
+
SENT = "sent",
|
|
1626
|
+
OPENED = "opened",
|
|
1627
|
+
PAID = "paid",
|
|
1628
|
+
CANCELED = "canceled"
|
|
1629
|
+
}
|
|
1630
|
+
export declare enum PaymentSettingStatusEnum {
|
|
1631
|
+
ENABLED = 1,
|
|
1632
|
+
DISABLED_REDIRECT = 2,
|
|
1633
|
+
DISABLED_INFO_ONLY = 3,
|
|
1634
|
+
DISABLED_EMAIL = 4
|
|
1635
|
+
}
|
|
1636
|
+
export declare enum NotifyMethodEnum {
|
|
1637
|
+
EMAIL = "Email"
|
|
2243
1638
|
}
|
|
2244
|
-
export declare
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
productType: ProductTypesEnum;
|
|
2248
|
-
deletedAt?: Date;
|
|
2249
|
-
station: Station;
|
|
2250
|
-
subcategory: Subcategory;
|
|
1639
|
+
export declare enum EStartDateFilter {
|
|
1640
|
+
LessThan = "lt",
|
|
1641
|
+
GreaterOrEqualTo = "gte"
|
|
2251
1642
|
}
|
|
2252
|
-
export
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
stations: Station[];
|
|
1643
|
+
export interface IEntitlementTerms {
|
|
1644
|
+
type: EntitlementTermsTypesEnum;
|
|
1645
|
+
id?: number;
|
|
1646
|
+
value?: string;
|
|
1647
|
+
minValue?: string;
|
|
1648
|
+
maxValue?: string;
|
|
2259
1649
|
}
|
|
2260
|
-
export
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
status: number | null;
|
|
2264
|
-
capacity: number | null;
|
|
2265
|
-
allowNewMembers: boolean | null;
|
|
2266
|
-
membersCanInvite: boolean | null;
|
|
2267
|
-
inviteOnly: boolean | null;
|
|
2268
|
-
logoId: number | null;
|
|
2269
|
-
addressId: number | null;
|
|
2270
|
-
price: number | null;
|
|
2271
|
-
private: boolean | null;
|
|
2272
|
-
returnOverride: boolean | null;
|
|
2273
|
-
organizationId: number | null;
|
|
2274
|
-
whoCanJoin: TeamCanJoinEnum | null;
|
|
2275
|
-
whoCanInvite: string | null;
|
|
2276
|
-
metadata: any | null;
|
|
2277
|
-
externalId: string | null;
|
|
2278
|
-
paymentSettings: any | null;
|
|
2279
|
-
isClaimed: boolean | null;
|
|
2280
|
-
creatorId: number | null;
|
|
2281
|
-
creatorType: string | null;
|
|
2282
|
-
userCreatorId: number | null;
|
|
2283
|
-
ownerId: number | null;
|
|
2284
|
-
mainMediaId: number | null;
|
|
2285
|
-
publishedDate: Date | null;
|
|
2286
|
-
isPublished: boolean | null;
|
|
2287
|
-
levelOfPlay: number[] | null;
|
|
2288
|
-
sports: number | null;
|
|
2289
|
-
minAge: number | null;
|
|
2290
|
-
maxAge: number | null;
|
|
2291
|
-
gender: number | null;
|
|
2292
|
-
questionnaireId: number | null;
|
|
1650
|
+
export interface IQuestionAnswerObject {
|
|
1651
|
+
questionId: number;
|
|
1652
|
+
value: string;
|
|
2293
1653
|
}
|
|
2294
|
-
export
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
isUsed: boolean;
|
|
1654
|
+
export interface ILowestPriceForItem {
|
|
1655
|
+
itemId: number;
|
|
1656
|
+
itemType: ResourceNameTypeEnum;
|
|
1657
|
+
groupId: number;
|
|
1658
|
+
groupName?: string;
|
|
1659
|
+
price: number;
|
|
1660
|
+
overridesPrice: boolean;
|
|
2302
1661
|
}
|
|
2303
|
-
export
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
password: string | null;
|
|
2310
|
-
passwordResetToken: string | null;
|
|
2311
|
-
passwordResetExpires: Date | null;
|
|
2312
|
-
status: string | null;
|
|
2313
|
-
pushNotifications: boolean | null;
|
|
2314
|
-
notificationSettings: any | null;
|
|
2315
|
-
addressId: number | null;
|
|
2316
|
-
address: Address;
|
|
2317
|
-
currentAddressId: number | null;
|
|
2318
|
-
merchantId: number | null;
|
|
2319
|
-
loginToken: string | null;
|
|
2320
|
-
gender: GenderEnum | null;
|
|
2321
|
-
height: number | null;
|
|
2322
|
-
weight: number | null;
|
|
2323
|
-
birthDate: Date | null;
|
|
2324
|
-
lastLogin: Date | null;
|
|
2325
|
-
lastInteractionDay: Date | null;
|
|
2326
|
-
createAsId: number | null;
|
|
2327
|
-
createAsType: ResourceNameTypeEnum | null;
|
|
2328
|
-
motto: string | null;
|
|
2329
|
-
privateProfile: boolean | null;
|
|
2330
|
-
allowMultiSignHack: boolean | null;
|
|
2331
|
-
deletedAt: Date | null;
|
|
2332
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2333
|
-
athlete: Athlete;
|
|
2334
|
-
eventAttendees: EventAttendee[];
|
|
2335
|
-
seasonAttendees: SeasonAttendee[];
|
|
2336
|
-
linkedAccounts: LinkedAccounts[];
|
|
2337
|
-
profilePicture: Media;
|
|
2338
|
-
usersRoles: UserRole[];
|
|
2339
|
-
invoiceNotes: InvoiceNote[];
|
|
2340
|
-
paymentNotes: PaymentNote[];
|
|
1662
|
+
export interface IResourcesAvailability {
|
|
1663
|
+
resourceType: ResourceNameTypeEnum;
|
|
1664
|
+
quantity: number;
|
|
1665
|
+
resourcesIds: number[];
|
|
1666
|
+
isPunchCard: boolean;
|
|
1667
|
+
resources?: any[];
|
|
2341
1668
|
}
|
|
2342
|
-
export
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
paymentId: number | null;
|
|
2346
|
-
hasPaid: boolean | null;
|
|
2347
|
-
status: TeamMemberStatusEnum | null;
|
|
2348
|
-
role: TeamMemberRoleEnum;
|
|
2349
|
-
user: User;
|
|
1669
|
+
export interface IPackageResponse {
|
|
1670
|
+
parentProduct: Product;
|
|
1671
|
+
children: IChildProduct[];
|
|
2350
1672
|
}
|
|
2351
|
-
export
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
user: User;
|
|
1673
|
+
export interface IChildProduct {
|
|
1674
|
+
product: Product;
|
|
1675
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1676
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2356
1677
|
}
|
|
2357
|
-
export
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
1678
|
+
export interface ISeasonAttendeeInfo {
|
|
1679
|
+
applicationAnswers: Answer[];
|
|
1680
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
1681
|
+
invoices: Invoice[];
|
|
1682
|
+
payments: Payment[];
|
|
1683
|
+
products: Product[];
|
|
1684
|
+
redeemNext: ProductsUsers;
|
|
2364
1685
|
}
|
|
2365
|
-
export
|
|
1686
|
+
export interface ISeasonAttendeeListInfo {
|
|
2366
1687
|
userId: number;
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
1688
|
+
userFirstName: string;
|
|
1689
|
+
userLastName: string;
|
|
1690
|
+
userGender: number;
|
|
1691
|
+
userBirthDate: Date;
|
|
1692
|
+
userProfilePicUrl: string;
|
|
1693
|
+
customerId: number;
|
|
1694
|
+
customerEmail: string;
|
|
1695
|
+
paymentStatus: string;
|
|
1696
|
+
productName: string;
|
|
1697
|
+
punchCard: boolean;
|
|
2372
1698
|
}
|
|
2373
|
-
export declare class
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
deletedAt?: Date;
|
|
1699
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
1700
|
+
segmentType: ResourceNameTypeEnum;
|
|
1701
|
+
participantRegisteredDate?: string;
|
|
2377
1702
|
}
|
|
2378
|
-
export declare class
|
|
2379
|
-
|
|
2380
|
-
|
|
1703
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
1704
|
+
segmentType: ResourceNameTypeEnum;
|
|
1705
|
+
participantRegisteredDate?: string;
|
|
2381
1706
|
}
|
|
2382
|
-
export
|
|
2383
|
-
|
|
2384
|
-
variantTitleId: number;
|
|
2385
|
-
variantTitle: VariantTitle;
|
|
2386
|
-
deletedAt?: Date;
|
|
1707
|
+
export interface ITokenResonse {
|
|
1708
|
+
token: string;
|
|
2387
1709
|
}
|
|
2388
|
-
export
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
membershipCollectionId?: string;
|
|
2394
|
-
programsCollectionId?: string;
|
|
1710
|
+
export interface IStripeBondInvoices {
|
|
1711
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
1712
|
+
bondPaidPayment: Payment;
|
|
1713
|
+
invoice?: Invoice;
|
|
1714
|
+
customer?: Customer;
|
|
2395
1715
|
}
|
|
2396
|
-
export
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
1716
|
+
export interface IPartialPaymentData {
|
|
1717
|
+
purchasingUserId: number;
|
|
1718
|
+
paymentData: PurchasePaymentDto;
|
|
1719
|
+
amountToPay: number;
|
|
2400
1720
|
}
|
|
2401
|
-
export
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
GAMESLOT = "gameslot",
|
|
2418
|
-
SPACE = "space",
|
|
2419
|
-
RESERVATION = "reservation",
|
|
2420
|
-
INVOICE = "invoice",
|
|
2421
|
-
CUSTOMER = "customer",
|
|
2422
|
-
PACKAGE = "package",
|
|
2423
|
-
FACILITY = "facility",
|
|
2424
|
-
PROGRAM = "program",
|
|
2425
|
-
PROGRAM_SEASON = "program_season",
|
|
2426
|
-
PRODUCT = "product",
|
|
2427
|
-
GROUP = "group",
|
|
2428
|
-
VARIANT = "variant",
|
|
2429
|
-
SLOT = "slot",
|
|
2430
|
-
ADDON = "addon"
|
|
1721
|
+
export interface IPayment {
|
|
1722
|
+
id: number;
|
|
1723
|
+
total: number;
|
|
1724
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
1725
|
+
status: PaymentStatusEnum;
|
|
1726
|
+
createdAt: Date;
|
|
1727
|
+
invoices: number[];
|
|
1728
|
+
}
|
|
1729
|
+
export interface IPaginationData<T> {
|
|
1730
|
+
meta: {
|
|
1731
|
+
totalItems: number;
|
|
1732
|
+
itemsPerPage: number;
|
|
1733
|
+
totalPages: number;
|
|
1734
|
+
currentPage: number;
|
|
1735
|
+
};
|
|
1736
|
+
data: T[];
|
|
2431
1737
|
}
|
|
2432
|
-
export
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
1738
|
+
export interface IPricesOfProductsResults {
|
|
1739
|
+
productId: number;
|
|
1740
|
+
userId: number;
|
|
1741
|
+
price: number;
|
|
1742
|
+
groupId?: number;
|
|
1743
|
+
groupName?: string;
|
|
1744
|
+
originalPrice?: number;
|
|
1745
|
+
priceWithoutTax: number;
|
|
1746
|
+
tax: number;
|
|
1747
|
+
isTaxInclusive: boolean;
|
|
2437
1748
|
}
|
|
2438
|
-
export
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
1749
|
+
export interface IPaymentMethodToFundLeft {
|
|
1750
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1751
|
+
paymentMethodId: string;
|
|
1752
|
+
fundLeft: number;
|
|
1753
|
+
ccLast4?: string;
|
|
1754
|
+
ccBrand?: string;
|
|
2442
1755
|
}
|
|
2443
|
-
export
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
ADVANCED = 3,
|
|
2447
|
-
SEMIPRO = 4,
|
|
2448
|
-
SPECTATOR = 5
|
|
1756
|
+
export interface IVariantsAndTitle {
|
|
1757
|
+
title: VariantTitle;
|
|
1758
|
+
variants: Variant[];
|
|
2449
1759
|
}
|
|
2450
|
-
export
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
CLINIC = 3,
|
|
2455
|
-
CAMP = 4,
|
|
2456
|
-
LESSON = 5,
|
|
2457
|
-
CLUB_TEAM = 6
|
|
1760
|
+
export interface IProgramSeasonActivityTimes {
|
|
1761
|
+
dayOfWeek: number;
|
|
1762
|
+
open: string;
|
|
1763
|
+
close: string;
|
|
2458
1764
|
}
|
|
2459
|
-
export
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
1765
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
1766
|
+
date: string;
|
|
1767
|
+
startTime: string;
|
|
1768
|
+
endTime: string;
|
|
2463
1769
|
}
|
|
2464
|
-
export
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
SOCCER = 4,
|
|
2469
|
-
BOWLING = 5,
|
|
2470
|
-
BOCCEBALL = 6,
|
|
2471
|
-
CORNHOLE = 7,
|
|
2472
|
-
DODGEBALL = 8,
|
|
2473
|
-
FRISBEE = 9,
|
|
2474
|
-
HOCKEY = 10,
|
|
2475
|
-
KICKBALL = 11,
|
|
2476
|
-
LACROSSE = 12,
|
|
2477
|
-
PINGPONG = 13,
|
|
2478
|
-
RUGBY = 14,
|
|
2479
|
-
SKEEBALL = 15,
|
|
2480
|
-
TENNIS = 16,
|
|
2481
|
-
VOLLEYBALL = 17,
|
|
2482
|
-
WIFFLEBALL = 18,
|
|
2483
|
-
BADMINTON = 19,
|
|
2484
|
-
FITNESS = 20,
|
|
2485
|
-
GOLF = 21,
|
|
2486
|
-
PILATES = 22,
|
|
2487
|
-
RUNNING = 23,
|
|
2488
|
-
SKIING = 24,
|
|
2489
|
-
SNOWBOARDING = 25,
|
|
2490
|
-
YOGA = 26,
|
|
2491
|
-
BROOMBALL = 27,
|
|
2492
|
-
CRICKET = 28,
|
|
2493
|
-
CROSSFIT = 29,
|
|
2494
|
-
CYCLING = 30,
|
|
2495
|
-
FIELD_HOCKEY = 31,
|
|
2496
|
-
RACQUETBALL = 32,
|
|
2497
|
-
SPINNING = 33,
|
|
2498
|
-
SQUASH = 34,
|
|
2499
|
-
SURFING = 35,
|
|
2500
|
-
SWIMMING = 36,
|
|
2501
|
-
WIND_SURFING = 37,
|
|
2502
|
-
ADVENTURE = 38,
|
|
2503
|
-
BOXING = 39,
|
|
2504
|
-
BASEBALL = 40,
|
|
2505
|
-
DANCE = 41,
|
|
2506
|
-
KICKBOXING = 42,
|
|
2507
|
-
MARTIAL_ARTS = 43,
|
|
2508
|
-
OUTDOORS = 44,
|
|
2509
|
-
ROWING = 45,
|
|
2510
|
-
SAILING = 46,
|
|
2511
|
-
SUP = 47,
|
|
2512
|
-
TRIATHLON = 48,
|
|
2513
|
-
HANDBALL = 49,
|
|
2514
|
-
CATCHBALL = 50,
|
|
2515
|
-
BLITZBALL = 51,
|
|
2516
|
-
ROLLER_DERBY = 52,
|
|
2517
|
-
ICE_SKATING = 53,
|
|
2518
|
-
PICKLEBALL = 54,
|
|
2519
|
-
AXE_THROWING = 55,
|
|
2520
|
-
FURSAL = 56,
|
|
2521
|
-
BIRTHDAY = 57,
|
|
2522
|
-
CORPRATE_EVENTS = 58,
|
|
2523
|
-
OTHER = 999
|
|
1770
|
+
export interface IBlockedDates {
|
|
1771
|
+
name: string;
|
|
1772
|
+
startDate: Date;
|
|
1773
|
+
endDate: Date;
|
|
2524
1774
|
}
|
|
2525
|
-
export
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
1775
|
+
export interface ISingleMemberForRenewal {
|
|
1776
|
+
member_id: number;
|
|
1777
|
+
member_membershipId: number;
|
|
1778
|
+
member_userId: number;
|
|
1779
|
+
member_nextPaymentMethodId?: string;
|
|
1780
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
1781
|
+
member_answerTitleIds?: number[];
|
|
1782
|
+
member_organizationId: number;
|
|
1783
|
+
product_productPrice: number;
|
|
1784
|
+
product_productId: number;
|
|
1785
|
+
invoice_payingUserId: number;
|
|
1786
|
+
invoice_paymentMethodId: string;
|
|
1787
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
1788
|
+
endDate: Date;
|
|
1789
|
+
membership_name: string;
|
|
1790
|
+
user_firstName: string;
|
|
1791
|
+
user_lastName: string;
|
|
1792
|
+
user_email: string;
|
|
2532
1793
|
}
|
|
2533
|
-
export
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
LEVELOFPLAY = 5,
|
|
2539
|
-
GAMESSEASON = 6,
|
|
2540
|
-
MINWEEK = 7,
|
|
2541
|
-
SURFACE = 8,
|
|
2542
|
-
FORMAT = 9,
|
|
2543
|
-
PLAYERS_PER_TEAM = 10,
|
|
2544
|
-
MATCH_LENGTH = 12
|
|
1794
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
1795
|
+
package_parentProductId: number;
|
|
1796
|
+
product2_productPrice: number;
|
|
1797
|
+
familyid: number;
|
|
1798
|
+
invoice_id: number;
|
|
2545
1799
|
}
|
|
2546
|
-
export
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
1800
|
+
export interface IResourceRegistrationData {
|
|
1801
|
+
id: number;
|
|
1802
|
+
resourceType: ResourceNameTypeEnum;
|
|
1803
|
+
openNumDays?: number;
|
|
1804
|
+
openNumMinutes?: number;
|
|
1805
|
+
openTime?: string;
|
|
1806
|
+
closeNumDays?: number;
|
|
1807
|
+
closeNumMinutes?: number;
|
|
1808
|
+
closeTime?: string;
|
|
1809
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2550
1810
|
}
|
|
2551
|
-
export
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
REFUNDED = "refunded",
|
|
2556
|
-
VOID = "void"
|
|
1811
|
+
export interface IResourceDataForConstraintsCalc {
|
|
1812
|
+
id: number;
|
|
1813
|
+
startDate: string;
|
|
1814
|
+
startTime: string;
|
|
2557
1815
|
}
|
|
2558
|
-
export
|
|
2559
|
-
|
|
1816
|
+
export interface IRegistrationConstraintsSetting {
|
|
1817
|
+
numDays?: number;
|
|
1818
|
+
numMinutes?: number;
|
|
2560
1819
|
}
|
|
2561
|
-
export
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
1820
|
+
export interface IAttendeeDataToNotify {
|
|
1821
|
+
firstName: string;
|
|
1822
|
+
lastName: string;
|
|
1823
|
+
email: string;
|
|
1824
|
+
sessionName: string;
|
|
1825
|
+
parentSessionName?: string;
|
|
1826
|
+
organizationName: string;
|
|
1827
|
+
programName: string;
|
|
2569
1828
|
}
|
|
2570
|
-
export
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
1829
|
+
export interface IEventInSchedule {
|
|
1830
|
+
eventId: number;
|
|
1831
|
+
eventName: string;
|
|
1832
|
+
eventStartDate: string;
|
|
1833
|
+
eventEndDate: string;
|
|
1834
|
+
eventStartTime: string;
|
|
1835
|
+
eventEndTime: string;
|
|
1836
|
+
programId: number;
|
|
1837
|
+
programName: string;
|
|
1838
|
+
programType: ProgramTypesEnum;
|
|
1839
|
+
sessionId: number;
|
|
1840
|
+
sessionName: string;
|
|
1841
|
+
sports: number;
|
|
1842
|
+
spaces: {
|
|
1843
|
+
spaceId: number;
|
|
1844
|
+
spaceName: string;
|
|
1845
|
+
}[];
|
|
1846
|
+
status?: RegistrationValidationStatusEnum;
|
|
2579
1847
|
}
|
|
2580
|
-
export
|
|
2581
|
-
|
|
2582
|
-
|
|
1848
|
+
export interface ISlotInSchedule {
|
|
1849
|
+
facilityId: number;
|
|
1850
|
+
facilityName: string;
|
|
1851
|
+
spaces: ISpaceWithSlots[];
|
|
1852
|
+
}
|
|
1853
|
+
export interface ISpaceWithSlots {
|
|
1854
|
+
id: number;
|
|
1855
|
+
name: string;
|
|
1856
|
+
slots: ISlotReservationData[];
|
|
1857
|
+
}
|
|
1858
|
+
export interface ISlotReservationData {
|
|
1859
|
+
reservationId: number;
|
|
1860
|
+
reservationName: string;
|
|
1861
|
+
date: string;
|
|
1862
|
+
startTime: string;
|
|
1863
|
+
endTime: string;
|
|
1864
|
+
notes: string;
|
|
1865
|
+
spaceId: number;
|
|
1866
|
+
isRental: boolean;
|
|
1867
|
+
slotType: SlotTypeEnum;
|
|
1868
|
+
slotId: number;
|
|
1869
|
+
eventId: number;
|
|
1870
|
+
isPrivate: boolean;
|
|
2583
1871
|
}
|
|
2584
|
-
export
|
|
2585
|
-
|
|
2586
|
-
|
|
1872
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
1873
|
+
parentSessionId: number;
|
|
1874
|
+
parentSessionName: string;
|
|
1875
|
+
eventTimezone: string;
|
|
1876
|
+
maxParticipants: number;
|
|
1877
|
+
maxMaleParticipants: number;
|
|
1878
|
+
maxFemaleParticipants: number;
|
|
1879
|
+
isPunchCard: boolean;
|
|
2587
1880
|
}
|
|
2588
|
-
export
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
1881
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
1882
|
+
id: number;
|
|
1883
|
+
name: string;
|
|
1884
|
+
bookingCreatorId: number;
|
|
2592
1885
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
1886
|
+
export interface IRawSlotInSchedule {
|
|
1887
|
+
startDate: string;
|
|
1888
|
+
endDate: string;
|
|
1889
|
+
startTime: string;
|
|
1890
|
+
endTime: string;
|
|
1891
|
+
reservationId: number;
|
|
1892
|
+
eventTitle: string;
|
|
1893
|
+
publicNotes: string;
|
|
1894
|
+
spaceId: number;
|
|
1895
|
+
creatorType: ResourceNameTypeEnum;
|
|
1896
|
+
slotType: SlotTypeEnum;
|
|
1897
|
+
slotId: number;
|
|
1898
|
+
eventId: number;
|
|
1899
|
+
isPrivate: boolean;
|
|
2595
1900
|
}
|
|
2596
|
-
export
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
1901
|
+
export interface IPurchasedResourcesRaw {
|
|
1902
|
+
purchasedId: number;
|
|
1903
|
+
purchasedProductUserId: number;
|
|
1904
|
+
purchasedResourceId: number;
|
|
1905
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
1906
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
1907
|
+
pUserId: number;
|
|
1908
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
1909
|
+
pUserProductId: number;
|
|
1910
|
+
pUserProductName: string;
|
|
1911
|
+
pUserProductPrice: number;
|
|
1912
|
+
pUserProductPriceCurrency: string;
|
|
1913
|
+
pUserProductQuantity: number;
|
|
1914
|
+
pUserProductQuantityLeft: number;
|
|
1915
|
+
pUserUserId: number;
|
|
2600
1916
|
}
|
|
2601
|
-
export
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
1917
|
+
export interface IUsersPasses {
|
|
1918
|
+
userId: number;
|
|
1919
|
+
userFirstName: string;
|
|
1920
|
+
userLastName: string;
|
|
1921
|
+
organizationId: number;
|
|
1922
|
+
programId: number;
|
|
1923
|
+
programName: string;
|
|
1924
|
+
sessionId: number;
|
|
1925
|
+
sessionName: string;
|
|
1926
|
+
productId: number;
|
|
1927
|
+
productName: string;
|
|
1928
|
+
productUserId: number;
|
|
1929
|
+
purchaseDate: Date;
|
|
1930
|
+
passesLeft: number;
|
|
2612
1931
|
}
|
|
2613
|
-
export
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
1932
|
+
export interface ISessionsLandingPage {
|
|
1933
|
+
sessionId: number;
|
|
1934
|
+
name: string;
|
|
1935
|
+
startDate: Date;
|
|
1936
|
+
endDate: Date;
|
|
1937
|
+
registrationStartDate: Date;
|
|
1938
|
+
registrationEndDate: Date;
|
|
1939
|
+
sport: SportsEnum;
|
|
1940
|
+
minAge: string;
|
|
1941
|
+
maxAge: string;
|
|
1942
|
+
maxParticipants?: number;
|
|
1943
|
+
gender: GenderEnum;
|
|
1944
|
+
activityTimes: ActivityTimes[];
|
|
1945
|
+
earlyRegistrationStartDate?: Date;
|
|
1946
|
+
earlyRegistrationEndDate?: Date;
|
|
1947
|
+
lateRegistrationStartDate?: Date;
|
|
1948
|
+
lateRegistrationEndDate?: Date;
|
|
1949
|
+
attendeeCount?: number;
|
|
1950
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2618
1951
|
}
|
|
2619
|
-
export
|
|
2620
|
-
|
|
2621
|
-
|
|
1952
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
1953
|
+
hasRequiredMembership: boolean;
|
|
1954
|
+
hasEntitledPricing: boolean;
|
|
1955
|
+
lowestPrice?: number;
|
|
1956
|
+
products?: ISessionLandingPageProduct[];
|
|
2622
1957
|
}
|
|
2623
|
-
export
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
1958
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
1959
|
+
hasRequiredMembership: boolean;
|
|
1960
|
+
hasEntitledPricing: boolean;
|
|
1961
|
+
products?: ISessionLandingPageProduct[];
|
|
1962
|
+
segments?: Event[] | ProgramSeason[];
|
|
1963
|
+
programName: string;
|
|
1964
|
+
programId: number;
|
|
1965
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
1966
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2627
1967
|
}
|
|
2628
|
-
export
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
MIGRATED = "migrated",
|
|
2637
|
-
VOID = "void"
|
|
1968
|
+
export interface ISlimAddons {
|
|
1969
|
+
addons?: {
|
|
1970
|
+
id: number;
|
|
1971
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1972
|
+
name: string;
|
|
1973
|
+
productType?: ProductTypesEnum;
|
|
1974
|
+
productSubType?: string;
|
|
1975
|
+
}[];
|
|
2638
1976
|
}
|
|
2639
|
-
export
|
|
2640
|
-
|
|
2641
|
-
|
|
1977
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
1978
|
+
id: number;
|
|
1979
|
+
name: string;
|
|
1980
|
+
startDate?: Date;
|
|
1981
|
+
endDate?: Date;
|
|
1982
|
+
downpayment?: number;
|
|
1983
|
+
description?: string;
|
|
1984
|
+
prices: Price[];
|
|
1985
|
+
productSubType?: ProductSubTypesEnum;
|
|
1986
|
+
punchCard: boolean;
|
|
1987
|
+
isAddon: boolean;
|
|
1988
|
+
defaultPriceId?: number;
|
|
2642
1989
|
}
|
|
2643
|
-
export
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
1990
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
1991
|
+
destinationId?: string;
|
|
1992
|
+
stripeCustomerId?: string;
|
|
1993
|
+
fee?: number;
|
|
2647
1994
|
}
|
|
2648
|
-
export
|
|
2649
|
-
|
|
2650
|
-
|
|
1995
|
+
export interface IReservationCreatorData {
|
|
1996
|
+
type: ResourceNameTypeEnum;
|
|
1997
|
+
id: number;
|
|
1998
|
+
organizationId: number;
|
|
1999
|
+
startDate: string;
|
|
2000
|
+
endDate: string;
|
|
2001
|
+
sportId: number;
|
|
2651
2002
|
}
|
|
2652
|
-
export declare
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2003
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
2004
|
+
entityType: ResourceNameTypeEnum;
|
|
2005
|
+
entityId: number;
|
|
2006
|
+
organizationId?: number;
|
|
2007
|
+
userId?: number;
|
|
2008
|
+
customerId?: number;
|
|
2009
|
+
performingUserId: number;
|
|
2010
|
+
description: string;
|
|
2011
|
+
actionType: ActionTypesEnum;
|
|
2012
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
2013
|
+
oldValue?: any;
|
|
2014
|
+
newValue?: any;
|
|
2656
2015
|
}
|
|
2657
|
-
export declare
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2016
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
2017
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
2018
|
+
parentId: number;
|
|
2019
|
+
dayOfWeek: number;
|
|
2020
|
+
open: string;
|
|
2021
|
+
close: string;
|
|
2022
|
+
deletedAt?: Date;
|
|
2023
|
+
program: ProgramSeason;
|
|
2024
|
+
availabilityStartDate: string;
|
|
2025
|
+
availabilityEndDate: string;
|
|
2026
|
+
proudct: Product;
|
|
2027
|
+
event: Event;
|
|
2661
2028
|
}
|
|
2662
|
-
export declare
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2029
|
+
export declare class Address extends BondBaseEntity {
|
|
2030
|
+
city?: string;
|
|
2031
|
+
street?: string;
|
|
2032
|
+
streetNum?: string;
|
|
2033
|
+
aptNum?: string;
|
|
2034
|
+
zip?: string;
|
|
2035
|
+
country?: string;
|
|
2036
|
+
state?: string;
|
|
2037
|
+
geo: any;
|
|
2038
|
+
deletedAt?: Date;
|
|
2667
2039
|
}
|
|
2668
|
-
export declare
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2040
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
2041
|
+
questionId: number;
|
|
2042
|
+
question?: Questions;
|
|
2043
|
+
parentId: number;
|
|
2044
|
+
parentType: ResourceNameTypeEnum;
|
|
2045
|
+
answerValue: any;
|
|
2046
|
+
creatorId: number;
|
|
2047
|
+
creatorType: ResourceNameTypeEnum;
|
|
2048
|
+
answerTitleId: number;
|
|
2049
|
+
answerTitle: AnswerTitle;
|
|
2050
|
+
metaData: any | null;
|
|
2051
|
+
questionText: string | null;
|
|
2672
2052
|
}
|
|
2673
|
-
export declare
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2053
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
2054
|
+
questionnaireId: number;
|
|
2055
|
+
userId?: number;
|
|
2056
|
+
answers: Answer[];
|
|
2057
|
+
questionnaire: Questionnaires;
|
|
2677
2058
|
}
|
|
2678
|
-
export declare
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2059
|
+
export declare class Athlete extends BondBaseEntity {
|
|
2060
|
+
userId: number | null;
|
|
2061
|
+
metadata: object | null;
|
|
2062
|
+
athleteSports: AthleteSports[];
|
|
2682
2063
|
}
|
|
2683
|
-
export declare
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
SUSPENDED = 4,
|
|
2688
|
-
INACTIVE = 5,
|
|
2689
|
-
INVITED = 6
|
|
2064
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
2065
|
+
athleteId: number | null;
|
|
2066
|
+
sports: number | null;
|
|
2067
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
2690
2068
|
}
|
|
2691
|
-
export declare
|
|
2692
|
-
|
|
2693
|
-
|
|
2069
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
2070
|
+
entityType: ResourceNameTypeEnum;
|
|
2071
|
+
entityId: number;
|
|
2072
|
+
name: string;
|
|
2073
|
+
startDate: Date;
|
|
2074
|
+
endDate: Date;
|
|
2075
|
+
deletedAt?: Date;
|
|
2694
2076
|
}
|
|
2695
|
-
export declare
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
WEDNESDAY = 3,
|
|
2700
|
-
THURSDAY = 4,
|
|
2701
|
-
FRIDAY = 5,
|
|
2702
|
-
SATURDAY = 6
|
|
2077
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
2078
|
+
id: number;
|
|
2079
|
+
createdAt: Date;
|
|
2080
|
+
updatedAt: Date;
|
|
2703
2081
|
}
|
|
2704
|
-
export declare
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2082
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
2083
|
+
reservationId?: number;
|
|
2084
|
+
color?: string;
|
|
2085
|
+
creatorId?: number;
|
|
2086
|
+
creatorType?: string;
|
|
2087
|
+
startDate?: Date | moment.Moment;
|
|
2088
|
+
endDate?: Date | moment.Moment;
|
|
2089
|
+
timezone?: string;
|
|
2090
|
+
spaceId?: number;
|
|
2091
|
+
percentage?: number;
|
|
2092
|
+
status?: string;
|
|
2093
|
+
originalSessionId?: number;
|
|
2094
|
+
isFinal?: boolean;
|
|
2095
|
+
concurrent?: number;
|
|
2096
|
+
deletedAt?: Date;
|
|
2097
|
+
publicNotes?: string;
|
|
2098
|
+
slotType?: SlotTypeEnum;
|
|
2709
2099
|
}
|
|
2710
|
-
export declare
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2100
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
2101
|
+
parentId: number;
|
|
2102
|
+
parentType: ResourceNameTypeEnum;
|
|
2103
|
+
startDate: Date;
|
|
2104
|
+
endDate: Date;
|
|
2105
|
+
dayOfWeek: number;
|
|
2106
|
+
startTimeInDay: string;
|
|
2107
|
+
endTimeInDay: string;
|
|
2108
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
2714
2109
|
}
|
|
2715
|
-
export declare
|
|
2716
|
-
|
|
2717
|
-
|
|
2110
|
+
export declare class Configuration extends BondBaseEntity {
|
|
2111
|
+
area: string;
|
|
2112
|
+
key: string;
|
|
2113
|
+
value: string;
|
|
2718
2114
|
}
|
|
2719
|
-
export declare
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2115
|
+
export declare class Connection extends BondBaseEntity {
|
|
2116
|
+
connType: number | null;
|
|
2117
|
+
from: number | null;
|
|
2118
|
+
fromType: string | null;
|
|
2119
|
+
to: number | null;
|
|
2120
|
+
toType: string | null;
|
|
2121
|
+
status: number | null;
|
|
2122
|
+
creatorId: number | null;
|
|
2123
|
+
creatorType: string | null;
|
|
2124
|
+
userCreatorId: number | null;
|
|
2125
|
+
ownerId: number | null;
|
|
2725
2126
|
}
|
|
2726
|
-
export declare
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
CONCESSIONS = 7,
|
|
2734
|
-
SHELTER = 8,
|
|
2735
|
-
PORTABLE_RESTROOMS = 9,
|
|
2736
|
-
LIGHTS = 10,
|
|
2737
|
-
LOCKER_ROOM = 11,
|
|
2738
|
-
PAID_PARKING = 12,
|
|
2739
|
-
ACCESSIBLE = 13
|
|
2127
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
2128
|
+
creditAmount: number;
|
|
2129
|
+
paymentProcessorId: string;
|
|
2130
|
+
userId: number;
|
|
2131
|
+
paymentId: number;
|
|
2132
|
+
invoiceId: number;
|
|
2133
|
+
creditPaymentId: number;
|
|
2740
2134
|
}
|
|
2741
|
-
export declare
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2135
|
+
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
2136
|
+
name: string | null;
|
|
2137
|
+
entityId: number | null;
|
|
2138
|
+
addressId: number | null;
|
|
2139
|
+
entityType: CustomerTypeEnum | null;
|
|
2140
|
+
customerId: string | null;
|
|
2141
|
+
email: string | null;
|
|
2142
|
+
color: string | null;
|
|
2143
|
+
phoneNumber: string | null;
|
|
2144
|
+
mainMediaId: number | null;
|
|
2145
|
+
creatorId: number | null;
|
|
2146
|
+
creatorType: ResourceNameTypeEnum | null;
|
|
2147
|
+
userCreatorId: number | null;
|
|
2148
|
+
ownerId: number | null;
|
|
2149
|
+
vetted: boolean | null;
|
|
2150
|
+
firstName: string | null;
|
|
2151
|
+
lastName: string | null;
|
|
2152
|
+
waiverSignedDate: string | null;
|
|
2153
|
+
balance: number | null;
|
|
2154
|
+
storedCredit: number;
|
|
2155
|
+
members: (User & Customer)[];
|
|
2156
|
+
emergencyContacts: EmergencyContact[];
|
|
2157
|
+
customerNotes: CustomerNote[];
|
|
2158
|
+
customerCreditTransactions: CustomerCreditTransaction[];
|
|
2159
|
+
productsReservedFor: ProductsReservedForCustomers[];
|
|
2160
|
+
mainMedia: Media;
|
|
2161
|
+
reservations?: Reservation[];
|
|
2752
2162
|
}
|
|
2753
|
-
export declare
|
|
2754
|
-
|
|
2163
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
2164
|
+
customerId: number;
|
|
2165
|
+
userId: number;
|
|
2166
|
+
amount: number;
|
|
2167
|
+
paymentId?: number;
|
|
2168
|
+
invoiceId?: number;
|
|
2169
|
+
description?: string;
|
|
2170
|
+
deletedAt?: Date;
|
|
2171
|
+
customer: Customer;
|
|
2172
|
+
invoice: Invoice;
|
|
2173
|
+
payment: Payment;
|
|
2755
2174
|
}
|
|
2756
|
-
export declare
|
|
2757
|
-
|
|
2758
|
-
|
|
2175
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
2176
|
+
customerId?: number;
|
|
2177
|
+
description: string;
|
|
2178
|
+
pinToTop?: boolean;
|
|
2179
|
+
customer: Customer;
|
|
2759
2180
|
}
|
|
2760
|
-
export declare
|
|
2761
|
-
|
|
2762
|
-
|
|
2181
|
+
export declare class Division extends BondBaseEntity {
|
|
2182
|
+
name: string;
|
|
2183
|
+
ordinal?: number;
|
|
2184
|
+
programSeasonId: number;
|
|
2185
|
+
color: string;
|
|
2186
|
+
isDefault: boolean;
|
|
2187
|
+
groups: Group[];
|
|
2763
2188
|
}
|
|
2764
|
-
export declare
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
HARDWOOD = "hardwood",
|
|
2770
|
-
ASPHALT = "asphalt",
|
|
2771
|
-
SAND = "sand",
|
|
2772
|
-
ICE = "ice",
|
|
2773
|
-
SPORT_COURT = "sportCourt"
|
|
2189
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
2190
|
+
customerId: number;
|
|
2191
|
+
name: string | null;
|
|
2192
|
+
phoneNumber: string | null;
|
|
2193
|
+
customer: Customer;
|
|
2774
2194
|
}
|
|
2775
|
-
export declare
|
|
2776
|
-
|
|
2777
|
-
DAYS = "days"
|
|
2195
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
2196
|
+
name: string | null;
|
|
2778
2197
|
}
|
|
2779
|
-
export declare
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
CLOSED = "closed"
|
|
2198
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
2199
|
+
groupId: number;
|
|
2200
|
+
terms: IEntitlementTerms[];
|
|
2783
2201
|
}
|
|
2784
|
-
export declare
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2202
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
2203
|
+
status: RequestStatusEnum | null;
|
|
2204
|
+
hasPaid: boolean | null;
|
|
2205
|
+
paymentId: number | null;
|
|
2206
|
+
attendeeId: number;
|
|
2207
|
+
eventId?: number | null;
|
|
2208
|
+
productUserId?: number;
|
|
2209
|
+
answerTitleIds?: number[];
|
|
2210
|
+
entryStatus?: EntryStatusEnum;
|
|
2211
|
+
addonProductUserIds?: number[];
|
|
2212
|
+
deletedAt?: Date;
|
|
2213
|
+
attendee: User;
|
|
2214
|
+
event: Event;
|
|
2215
|
+
purchasedResource: PurchasedResource;
|
|
2791
2216
|
}
|
|
2792
|
-
export declare
|
|
2793
|
-
|
|
2794
|
-
|
|
2217
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
2218
|
+
name: string;
|
|
2219
|
+
description?: string;
|
|
2220
|
+
addressId: number;
|
|
2221
|
+
address: Address;
|
|
2222
|
+
amenities?: number[];
|
|
2223
|
+
timezone: string;
|
|
2224
|
+
creatorId: number;
|
|
2225
|
+
creatorType: string;
|
|
2226
|
+
userCreatorId: number;
|
|
2227
|
+
mainMediaId: number;
|
|
2228
|
+
mainMedia: Media;
|
|
2229
|
+
publishedDate?: Date;
|
|
2230
|
+
isPublished: boolean;
|
|
2231
|
+
sports?: number[];
|
|
2232
|
+
info?: string;
|
|
2233
|
+
longDescription?: string;
|
|
2234
|
+
deletedAt?: Date;
|
|
2235
|
+
openingTimes: OpeningTime[];
|
|
2236
|
+
resources: Resource[];
|
|
2237
|
+
spaces: Resource[];
|
|
2238
|
+
programSeasons: ProgramSeason[];
|
|
2239
|
+
linkSEO: string;
|
|
2795
2240
|
}
|
|
2796
|
-
export declare
|
|
2797
|
-
|
|
2241
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
2242
|
+
constructor();
|
|
2243
|
+
defineCalculatedDateTimeProps(): void;
|
|
2244
|
+
title: string | null;
|
|
2245
|
+
description: string | null;
|
|
2246
|
+
eventType: number | null;
|
|
2247
|
+
startDate: Date | null;
|
|
2248
|
+
endDate: Date | null;
|
|
2249
|
+
price: number | null;
|
|
2250
|
+
venueName: string | null;
|
|
2251
|
+
status: EventStatusEnum;
|
|
2252
|
+
private: boolean | null;
|
|
2253
|
+
guestsCanInvite: boolean | null;
|
|
2254
|
+
venueId: number | null;
|
|
2255
|
+
addressId: number | null;
|
|
2256
|
+
participantsLimit: number | null;
|
|
2257
|
+
parentId: number | null;
|
|
2258
|
+
parentType: string | null;
|
|
2259
|
+
timezone: string | null;
|
|
2260
|
+
eventSubType: string | null;
|
|
2261
|
+
eventSubId: number | null;
|
|
2262
|
+
metaData: any | null;
|
|
2263
|
+
groupingId: string | null;
|
|
2264
|
+
redirectUri: string | null;
|
|
2265
|
+
externalId: string | null;
|
|
2266
|
+
paymentSettings: any | null;
|
|
2267
|
+
whoCanJoin: string | null;
|
|
2268
|
+
spaceId?: number;
|
|
2269
|
+
bookedSessionId: number | null;
|
|
2270
|
+
creatorId: number | null;
|
|
2271
|
+
creatorType: string | null;
|
|
2272
|
+
userCreatorId: number | null;
|
|
2273
|
+
ownerId: number | null;
|
|
2274
|
+
sports: number[] | null;
|
|
2275
|
+
isVerified: boolean | null;
|
|
2276
|
+
mainMediaId: number | null;
|
|
2277
|
+
minAge: number | null;
|
|
2278
|
+
maxAge: number | null;
|
|
2279
|
+
gender: number | null;
|
|
2280
|
+
questionnaireId: number | null;
|
|
2281
|
+
eventAttendees: EventAttendee[];
|
|
2282
|
+
deletedAt?: Date;
|
|
2283
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
2284
|
+
startDateString: string;
|
|
2285
|
+
endDateString: string;
|
|
2286
|
+
startTime: string;
|
|
2287
|
+
endTime: string;
|
|
2288
|
+
publicNotes?: string;
|
|
2289
|
+
privateNotes?: string;
|
|
2290
|
+
productResources: ProductResource[];
|
|
2291
|
+
parentSession: ProgramSeason;
|
|
2292
|
+
activityTimes: ActivityTimes[];
|
|
2293
|
+
slots: Slot[];
|
|
2294
|
+
purchasedResources: PurchasedResource[];
|
|
2295
|
+
program?: Program;
|
|
2296
|
+
session?: ProgramSeason;
|
|
2297
|
+
segment?: ProgramSeason;
|
|
2798
2298
|
}
|
|
2799
|
-
export declare
|
|
2800
|
-
|
|
2299
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
2300
|
+
facilityId: number;
|
|
2301
|
+
resourceId: number;
|
|
2801
2302
|
}
|
|
2802
|
-
export declare
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
DB_DATE = "YYYY-MM-DD"
|
|
2303
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
2304
|
+
name: string | null;
|
|
2305
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2806
2306
|
}
|
|
2807
|
-
export declare
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2307
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
2308
|
+
userId: number;
|
|
2309
|
+
invoiceId: number;
|
|
2310
|
+
paymentMethodId: string;
|
|
2311
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2312
|
+
price: number;
|
|
2313
|
+
status: FutureInstallmentStatusEnum;
|
|
2314
|
+
plannedDate: Date;
|
|
2315
|
+
chargedAt?: Date;
|
|
2316
|
+
originalPlannedDate?: Date;
|
|
2812
2317
|
}
|
|
2813
|
-
export declare
|
|
2814
|
-
|
|
2815
|
-
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
-
BO = "backoffice",
|
|
2817
|
-
MOBILE = "mobile",
|
|
2818
|
-
CRON = "cron"
|
|
2318
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
2319
|
+
code: string;
|
|
2819
2320
|
}
|
|
2820
|
-
export declare
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2321
|
+
export declare class Group extends BondBaseEntity {
|
|
2322
|
+
name: string;
|
|
2323
|
+
description?: string;
|
|
2324
|
+
status: GroupStatusEnum;
|
|
2325
|
+
maxCapacity?: number;
|
|
2326
|
+
mainMediaId?: number;
|
|
2327
|
+
minAgeYears?: number;
|
|
2328
|
+
maxAgeYears?: number;
|
|
2329
|
+
gender: GenderEnum;
|
|
2330
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
2331
|
+
sports: SportsEnum[];
|
|
2332
|
+
questionnaires?: number[];
|
|
2333
|
+
captainUserId?: number;
|
|
2334
|
+
members: ISeasonAttendeeInfo[];
|
|
2335
|
+
users: User[];
|
|
2825
2336
|
}
|
|
2826
|
-
export declare
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2337
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
2338
|
+
groupId: number;
|
|
2339
|
+
itemId: number;
|
|
2340
|
+
itemType: ResourceNameTypeEnum;
|
|
2341
|
+
startDate: Date;
|
|
2342
|
+
endDate: Date;
|
|
2343
|
+
price: number;
|
|
2344
|
+
overridesPrice: boolean;
|
|
2345
|
+
deletedAt?: Date;
|
|
2346
|
+
group?: EntitlementGroup;
|
|
2347
|
+
discountMethod?: DiscountMethodsEnum;
|
|
2348
|
+
discountValue?: number;
|
|
2833
2349
|
}
|
|
2834
|
-
export declare
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
CUSTOM = "custom",
|
|
2839
|
-
INTERNAL = "internal"
|
|
2350
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
2351
|
+
groupId: number;
|
|
2352
|
+
divisionId: number;
|
|
2353
|
+
deletedAt?: Date;
|
|
2840
2354
|
}
|
|
2841
|
-
export declare
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2355
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
2356
|
+
email: string;
|
|
2357
|
+
status: EEmailStatus;
|
|
2358
|
+
templateId: string;
|
|
2359
|
+
userId: number;
|
|
2360
|
+
invoiceId: number;
|
|
2361
|
+
paymentId: number;
|
|
2362
|
+
sendingUserId: number;
|
|
2363
|
+
mailParams?: any;
|
|
2364
|
+
memo?: string;
|
|
2845
2365
|
}
|
|
2846
|
-
export declare
|
|
2847
|
-
|
|
2848
|
-
|
|
2366
|
+
export declare class Invoice extends BondBaseEntity {
|
|
2367
|
+
invoiceId: string | null;
|
|
2368
|
+
price: number | null;
|
|
2369
|
+
status: InvoiceStatusEnum | null;
|
|
2370
|
+
sentForClientDate: Date | null;
|
|
2371
|
+
payingUserId?: number | null;
|
|
2372
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
2373
|
+
lineItems: LineItems[];
|
|
2374
|
+
lineItemHistory: LineItemHistory[];
|
|
2375
|
+
paymentStatus: PaymentStatusEnum;
|
|
2376
|
+
paymentMethodId?: string;
|
|
2377
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
2378
|
+
paidAmount: number;
|
|
2379
|
+
currency: CurrencyEnum;
|
|
2380
|
+
mainPaymentId: number;
|
|
2381
|
+
isScheduled: boolean;
|
|
2382
|
+
isRefunded: boolean;
|
|
2383
|
+
isVoided: boolean;
|
|
2384
|
+
creatingUserId: number;
|
|
2385
|
+
shiftId: number;
|
|
2386
|
+
platform: PlatformsEnum;
|
|
2387
|
+
invoiceNotes: InvoiceNote[];
|
|
2388
|
+
slots: Slot[];
|
|
2849
2389
|
}
|
|
2850
|
-
export declare
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2390
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
2391
|
+
content: string;
|
|
2392
|
+
creatingUserId: number;
|
|
2393
|
+
user: User;
|
|
2394
|
+
isPublic: boolean;
|
|
2395
|
+
deletedAt: Date;
|
|
2396
|
+
invoiceId: number;
|
|
2397
|
+
invoice: Invoice;
|
|
2856
2398
|
}
|
|
2857
|
-
export declare
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2399
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
2400
|
+
invoiceId: number;
|
|
2401
|
+
paymentId: number;
|
|
2402
|
+
invoice: Invoice;
|
|
2403
|
+
payment: Payment;
|
|
2404
|
+
paidAmount?: number;
|
|
2405
|
+
currency: CurrencyEnum;
|
|
2862
2406
|
}
|
|
2863
|
-
export declare
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2407
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
2408
|
+
name: string | null;
|
|
2409
|
+
description: string | null;
|
|
2410
|
+
allowBookingRequest: boolean | null;
|
|
2411
|
+
addressName: string | null;
|
|
2412
|
+
shortDescription: string | null;
|
|
2413
|
+
waiverDoc: string | null;
|
|
2414
|
+
bookingStateStatus: number | null;
|
|
2415
|
+
timezone: string | null;
|
|
2416
|
+
shortUrl: string | null;
|
|
2417
|
+
leagueType: string | null;
|
|
2418
|
+
addressId: number | null;
|
|
2419
|
+
sportConfigData: any | null;
|
|
2420
|
+
creatorId: number | null;
|
|
2421
|
+
creatorType: string | null;
|
|
2422
|
+
userCreatorId: number | null;
|
|
2423
|
+
ownerId: number | null;
|
|
2424
|
+
sports: number[] | null;
|
|
2425
|
+
mainMediaId: number | null;
|
|
2426
|
+
publishedDate: Date | null;
|
|
2427
|
+
isPublished: boolean | null;
|
|
2428
|
+
isVerified: boolean | null;
|
|
2429
|
+
questionnaireId: number | null;
|
|
2430
|
+
logo?: Media;
|
|
2431
|
+
seasons: LeagueSeason[];
|
|
2867
2432
|
}
|
|
2868
|
-
export declare
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2433
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
2434
|
+
leagueId: number | null;
|
|
2435
|
+
name: string | null;
|
|
2436
|
+
status: number | null;
|
|
2437
|
+
startDate: Date | null;
|
|
2438
|
+
endDate: Date | null;
|
|
2439
|
+
priceEarlySingle: number | null;
|
|
2440
|
+
priceRegularSingle: number | null;
|
|
2441
|
+
priceLateSingle: number | null;
|
|
2442
|
+
priceEarlyTeam: number | null;
|
|
2443
|
+
priceRegularTeam: number | null;
|
|
2444
|
+
priceLateTeam: number | null;
|
|
2445
|
+
priceEarlyTeamMember: number | null;
|
|
2446
|
+
priceRegularTeamMember: number | null;
|
|
2447
|
+
priceLateTeamMember: number | null;
|
|
2448
|
+
priceEarlyGroup: number | null;
|
|
2449
|
+
priceRegularGroup: number | null;
|
|
2450
|
+
priceLateGroup: number | null;
|
|
2451
|
+
earlyRegistrationEnds: Date | null;
|
|
2452
|
+
regularRegistrationEnds: Date | null;
|
|
2453
|
+
lateRegistrationEnds: Date | null;
|
|
2454
|
+
registrationStatus: number | null;
|
|
2455
|
+
description: string | null;
|
|
2456
|
+
addressName: string | null;
|
|
2457
|
+
registrationOpen: Date | null;
|
|
2458
|
+
connectedSeasonId: number | null;
|
|
2459
|
+
tournamentType: boolean | null;
|
|
2460
|
+
playoffType: boolean | null;
|
|
2461
|
+
scheduleStatus: SeasonScheduleStatusEnum;
|
|
2462
|
+
rosterStatus: string | null;
|
|
2463
|
+
metaData: any | null;
|
|
2464
|
+
inviteSendDate: Date | null;
|
|
2465
|
+
maxNumParticipants: number | null;
|
|
2466
|
+
programId: number | null;
|
|
2467
|
+
minNumParticipants: number | null;
|
|
2468
|
+
league: League;
|
|
2469
|
+
facilities: Facility[];
|
|
2470
|
+
seasonAttendees: SeasonAttendee[];
|
|
2471
|
+
purchasedResources: PurchasedResource[];
|
|
2872
2472
|
}
|
|
2873
|
-
export declare
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
WEDNESDAY = 4,
|
|
2877
|
-
THURSDAY = 5,
|
|
2878
|
-
FRIDAY = 6,
|
|
2879
|
-
SATURDAY = 7,
|
|
2880
|
-
SUNDAY = 8
|
|
2473
|
+
export declare class LeagueSeasonRelations {
|
|
2474
|
+
league?: boolean;
|
|
2475
|
+
facilities?: boolean;
|
|
2881
2476
|
}
|
|
2882
|
-
export declare
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2477
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
2478
|
+
invoiceId: number;
|
|
2479
|
+
paymentId: number;
|
|
2480
|
+
lineItemId: number;
|
|
2481
|
+
paidAmount: number;
|
|
2482
|
+
unitPaidAmount: number;
|
|
2483
|
+
currency: CurrencyEnum;
|
|
2484
|
+
payment: Payment;
|
|
2485
|
+
lineItem: LineItems;
|
|
2886
2486
|
}
|
|
2887
|
-
export declare
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2487
|
+
export declare class LineItems extends BondBaseEntity {
|
|
2488
|
+
constructor();
|
|
2489
|
+
defineIsReverted(): void;
|
|
2490
|
+
isReverted: boolean;
|
|
2491
|
+
invoiceId: number;
|
|
2492
|
+
invoice: Invoice;
|
|
2493
|
+
lineItemsHistory: LineItemHistory[];
|
|
2494
|
+
type: LineItemsStatusEnum | null;
|
|
2495
|
+
userId: number | null;
|
|
2496
|
+
productId: number;
|
|
2497
|
+
paymentProcessorId: string;
|
|
2498
|
+
productType: ProductTypesEnum;
|
|
2499
|
+
productUserId?: number;
|
|
2500
|
+
ordinal: number | null;
|
|
2501
|
+
entitlementGroupId?: number;
|
|
2502
|
+
entitlementGroups: EntitlementGroup;
|
|
2503
|
+
price: number;
|
|
2504
|
+
originalPrice?: number;
|
|
2505
|
+
paidAmount?: number;
|
|
2506
|
+
totalPaid?: number;
|
|
2507
|
+
totalQuantity?: number;
|
|
2508
|
+
totalPrice?: number;
|
|
2509
|
+
currency: CurrencyEnum;
|
|
2510
|
+
paymentStatus: PaymentStatusEnum;
|
|
2511
|
+
productSubType?: ProductSubTypesEnum;
|
|
2512
|
+
product: Product;
|
|
2513
|
+
organizationId: number;
|
|
2514
|
+
parentLineItemId?: number;
|
|
2515
|
+
taxLineItem?: LineItems;
|
|
2516
|
+
children?: LineItems[];
|
|
2517
|
+
previousPurchaseProducUserId?: number;
|
|
2518
|
+
discountDescription?: string;
|
|
2519
|
+
productUser?: ProductsUsers;
|
|
2520
|
+
resourceRedeemedForDiscount?: number;
|
|
2521
|
+
redeemableProduct: Product[];
|
|
2522
|
+
isRefunded: boolean;
|
|
2523
|
+
isPartiallyRefund: boolean;
|
|
2524
|
+
isVoided: boolean;
|
|
2525
|
+
isPartiallyVoided: boolean;
|
|
2526
|
+
wasReverted: boolean;
|
|
2527
|
+
isEdit: boolean;
|
|
2528
|
+
purchasedResources: PurchasedResource[];
|
|
2529
|
+
isTaxInclusive?: boolean;
|
|
2530
|
+
taxPrecent?: number;
|
|
2531
|
+
unitPrice?: number;
|
|
2532
|
+
quantity?: number;
|
|
2533
|
+
customerFirstName?: string;
|
|
2534
|
+
customerLastName?: string;
|
|
2535
|
+
displayFullPrice?: number;
|
|
2536
|
+
displayTotalPriceWithTax?: number;
|
|
2537
|
+
displayTotalPaid?: number;
|
|
2538
|
+
displayTotalQuantity?: number;
|
|
2539
|
+
displayUnitPrice?: number;
|
|
2540
|
+
displayQuantity?: number;
|
|
2891
2541
|
}
|
|
2892
|
-
export declare
|
|
2893
|
-
|
|
2894
|
-
|
|
2542
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
2543
|
+
id: number;
|
|
2544
|
+
provider: string;
|
|
2545
|
+
providerId: string | null;
|
|
2546
|
+
parentId: number | null;
|
|
2547
|
+
parentType: string | null;
|
|
2548
|
+
status: number | null;
|
|
2549
|
+
token: string | null;
|
|
2550
|
+
refreshToken: string | null;
|
|
2551
|
+
tokenCreatedAt: Date | null;
|
|
2552
|
+
tokenValidUpTo: Date | null;
|
|
2553
|
+
createdAt: Date;
|
|
2554
|
+
updatedAt: Date;
|
|
2555
|
+
user: User;
|
|
2556
|
+
userId: number | null;
|
|
2895
2557
|
}
|
|
2896
|
-
export declare
|
|
2897
|
-
|
|
2898
|
-
|
|
2558
|
+
export declare class Media extends BondBaseEntity {
|
|
2559
|
+
url: string;
|
|
2560
|
+
name: string | null;
|
|
2561
|
+
title: string | null;
|
|
2562
|
+
mediaKey: string | null;
|
|
2563
|
+
description: string | null;
|
|
2564
|
+
provider: string | null;
|
|
2565
|
+
mediaType: number;
|
|
2566
|
+
fileType: string | null;
|
|
2567
|
+
isDefault: boolean | null;
|
|
2568
|
+
creatorId: number | null;
|
|
2569
|
+
creatorType: string | null;
|
|
2570
|
+
userCreatorId: number | null;
|
|
2571
|
+
ownerId: number | null;
|
|
2572
|
+
createdBy: number | null;
|
|
2573
|
+
users: User[];
|
|
2574
|
+
programs: Program[];
|
|
2575
|
+
memberships: Membership[];
|
|
2899
2576
|
}
|
|
2900
|
-
export declare
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2577
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
2578
|
+
name: string;
|
|
2579
|
+
description?: string;
|
|
2580
|
+
mainMedia?: Media;
|
|
2581
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
2582
|
+
activity?: SportsEnum;
|
|
2583
|
+
facilityId?: number;
|
|
2584
|
+
facilityName?: string;
|
|
2585
|
+
questionnaires?: number[];
|
|
2586
|
+
minAgeYears?: number;
|
|
2587
|
+
maxAgeYears?: number;
|
|
2588
|
+
gender: GenderEnum;
|
|
2589
|
+
maxMembers?: number;
|
|
2590
|
+
maxMaleMembers?: number;
|
|
2591
|
+
maxFemaleMembers?: number;
|
|
2592
|
+
membershipType: MembershipTypeEnum;
|
|
2593
|
+
durationMonths?: number;
|
|
2594
|
+
startDate?: string;
|
|
2595
|
+
endDate?: string;
|
|
2596
|
+
registrationStartDate?: Date;
|
|
2597
|
+
registrationEndDate?: Date;
|
|
2598
|
+
package?: IPackageResponse;
|
|
2599
|
+
tags: any[];
|
|
2600
|
+
members: MembershipMember[];
|
|
2601
|
+
longDescription?: string;
|
|
2602
|
+
isAutoRenew?: boolean;
|
|
2603
|
+
purchasedResources: PurchasedResource[];
|
|
2906
2604
|
}
|
|
2907
|
-
export declare
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2605
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
2606
|
+
membership: Membership;
|
|
2607
|
+
membershipId: number;
|
|
2608
|
+
productUserId: number;
|
|
2609
|
+
productUser?: ProductsUsers;
|
|
2610
|
+
userId: number;
|
|
2611
|
+
membershipType: MembershipTypeEnum;
|
|
2612
|
+
durationMonths?: number;
|
|
2613
|
+
startDate?: string;
|
|
2614
|
+
endDate?: string;
|
|
2615
|
+
renewalOfMemberId?: number;
|
|
2616
|
+
isAutoRenew?: boolean;
|
|
2617
|
+
nextPaymentMethodId?: string;
|
|
2618
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
2619
|
+
answerTitleIds?: number[];
|
|
2620
|
+
cancelledAt?: Date | null;
|
|
2621
|
+
cancellationReason?: string;
|
|
2622
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
2623
|
+
isImported?: boolean;
|
|
2911
2624
|
}
|
|
2912
|
-
export declare
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2625
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
2626
|
+
email: string | null;
|
|
2627
|
+
notificationType: NotificationTypeEnum | null;
|
|
2628
|
+
resourceId: number | null;
|
|
2629
|
+
resourceType: string | null;
|
|
2916
2630
|
}
|
|
2917
|
-
export declare
|
|
2918
|
-
|
|
2919
|
-
|
|
2631
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
2632
|
+
id: number;
|
|
2633
|
+
dayOfWeek: number;
|
|
2634
|
+
open: string;
|
|
2635
|
+
close: string;
|
|
2636
|
+
facilityId: number;
|
|
2637
|
+
createdAt: Date;
|
|
2638
|
+
updatedAt: Date;
|
|
2639
|
+
deletedAt?: Date;
|
|
2640
|
+
facility: Facility;
|
|
2920
2641
|
}
|
|
2921
|
-
export declare
|
|
2922
|
-
|
|
2923
|
-
OPENED = "opened",
|
|
2924
|
-
PAID = "paid",
|
|
2925
|
-
CANCELED = "canceled"
|
|
2642
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
2643
|
+
organizationId: number;
|
|
2926
2644
|
}
|
|
2927
|
-
export declare
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2645
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
2646
|
+
name?: string;
|
|
2647
|
+
description?: string;
|
|
2648
|
+
price: number;
|
|
2649
|
+
status: string;
|
|
2650
|
+
percentage: number;
|
|
2651
|
+
quantity: number;
|
|
2652
|
+
duration: number;
|
|
2653
|
+
organizationId: number;
|
|
2654
|
+
creatorId: number;
|
|
2655
|
+
creatorType: string;
|
|
2656
|
+
userCreatorId: number;
|
|
2657
|
+
ownerId: number;
|
|
2658
|
+
addon: boolean;
|
|
2659
|
+
isMandatory: boolean;
|
|
2660
|
+
productId: number;
|
|
2932
2661
|
}
|
|
2933
|
-
export declare
|
|
2934
|
-
|
|
2662
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
2663
|
+
token: string | null;
|
|
2664
|
+
userId: number | null;
|
|
2665
|
+
validUntil: Date | null;
|
|
2666
|
+
active: boolean | null;
|
|
2935
2667
|
}
|
|
2936
|
-
export declare
|
|
2937
|
-
|
|
2938
|
-
|
|
2668
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
2669
|
+
price: number;
|
|
2670
|
+
paymentProcessorId: string;
|
|
2671
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
2672
|
+
paymentStatus: PaymentStatusEnum;
|
|
2673
|
+
bondFee?: number;
|
|
2674
|
+
stripeFee?: number;
|
|
2675
|
+
currency: CurrencyEnum;
|
|
2676
|
+
payingUserId?: number;
|
|
2677
|
+
paymentMethodId?: string;
|
|
2678
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
2679
|
+
fundLeft: number;
|
|
2680
|
+
notes?: string;
|
|
2681
|
+
isRefunded: boolean;
|
|
2682
|
+
lineItemHistory: LineItemHistory[];
|
|
2683
|
+
receiptUrl?: string;
|
|
2684
|
+
paymentProcessorTransactionId?: string;
|
|
2685
|
+
creatingUserId: number;
|
|
2686
|
+
shiftId: number;
|
|
2687
|
+
platform: PlatformsEnum;
|
|
2688
|
+
ccLast4: string;
|
|
2689
|
+
ccBrand: string;
|
|
2690
|
+
paymentNotes: PaymentNote[];
|
|
2691
|
+
parentInvoiceId?: number;
|
|
2692
|
+
refundReasonId?: number;
|
|
2693
|
+
refundNote?: string;
|
|
2939
2694
|
}
|
|
2940
|
-
export
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
value?: string;
|
|
2944
|
-
minValue?: string;
|
|
2945
|
-
maxValue?: string;
|
|
2695
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
2696
|
+
failureIndex: number;
|
|
2697
|
+
waitingDays: number;
|
|
2946
2698
|
}
|
|
2947
|
-
export
|
|
2948
|
-
|
|
2949
|
-
|
|
2699
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
2700
|
+
paymentInstallmentId?: number;
|
|
2701
|
+
invoiceId: number;
|
|
2702
|
+
reason: EFailedPaymentReasons;
|
|
2703
|
+
errorMessage: string;
|
|
2950
2704
|
}
|
|
2951
|
-
export
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2705
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
2706
|
+
content: string;
|
|
2707
|
+
creatingUserId: number;
|
|
2708
|
+
user: User;
|
|
2709
|
+
isPublic: boolean;
|
|
2710
|
+
deletedAt: Date;
|
|
2711
|
+
paymentId: number;
|
|
2712
|
+
payment: Payment;
|
|
2958
2713
|
}
|
|
2959
|
-
export
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
resources?: any[];
|
|
2714
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
2715
|
+
paymentPlanId: number;
|
|
2716
|
+
paymentDate: Date;
|
|
2717
|
+
deletedAt?: Date;
|
|
2718
|
+
paymentPlan: ProductPaymentPlan;
|
|
2965
2719
|
}
|
|
2966
|
-
export
|
|
2967
|
-
|
|
2968
|
-
|
|
2720
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
2721
|
+
userId: number | null;
|
|
2722
|
+
ownerId: number | null;
|
|
2723
|
+
parentId: number | null;
|
|
2724
|
+
parentType: string | null;
|
|
2725
|
+
idAtProvider: string | null;
|
|
2726
|
+
providerType: number | null;
|
|
2727
|
+
providerExtraData: string | null;
|
|
2728
|
+
requestData: string | null;
|
|
2729
|
+
responseData: string | null;
|
|
2730
|
+
status: number | null;
|
|
2731
|
+
price: number | null;
|
|
2732
|
+
currency: string | null;
|
|
2733
|
+
locked: boolean | null;
|
|
2734
|
+
numberOfTries: number | null;
|
|
2735
|
+
installmentId: number | null;
|
|
2736
|
+
invoiceId: string | null;
|
|
2969
2737
|
}
|
|
2970
|
-
export
|
|
2738
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
2739
|
+
productId: number;
|
|
2971
2740
|
product: Product;
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2741
|
+
name: string | null;
|
|
2742
|
+
price: number;
|
|
2743
|
+
currency: CurrencyEnum;
|
|
2744
|
+
paymentProcessorId: number | null;
|
|
2745
|
+
startDate: Date;
|
|
2746
|
+
endDate: Date;
|
|
2747
|
+
groupId?: number;
|
|
2748
|
+
groupName?: string;
|
|
2749
|
+
originalPrice?: number;
|
|
2750
|
+
deletedAt?: Date;
|
|
2751
|
+
discountMethod?: DiscountMethodsEnum;
|
|
2752
|
+
discountValue?: number;
|
|
2753
|
+
taxIncludedPrice?: number;
|
|
2982
2754
|
}
|
|
2983
|
-
export
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2755
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
2756
|
+
name: string;
|
|
2757
|
+
quantity: number;
|
|
2758
|
+
paymentProcessorId?: string;
|
|
2759
|
+
startDate?: Date;
|
|
2760
|
+
endDate?: Date;
|
|
2761
|
+
isPublic: boolean;
|
|
2762
|
+
productType?: ProductTypesEnum;
|
|
2763
|
+
GL?: string;
|
|
2764
|
+
downpayment?: number;
|
|
2765
|
+
description?: string;
|
|
2766
|
+
prices: Price[];
|
|
2767
|
+
currPrice: Price;
|
|
2768
|
+
productSubType?: ProductSubTypesEnum;
|
|
2994
2769
|
punchCard: boolean;
|
|
2770
|
+
requiredProductIds?: number[];
|
|
2771
|
+
lineItems: LineItems[];
|
|
2772
|
+
resources: IResourcesAvailability[];
|
|
2773
|
+
variantParentId?: number;
|
|
2774
|
+
isAddon: boolean;
|
|
2775
|
+
isArchive: boolean;
|
|
2776
|
+
productVariants: Product[];
|
|
2777
|
+
variantParentProduct: Product;
|
|
2778
|
+
variantsObj: Variant[];
|
|
2779
|
+
variantTitlesObj: VariantTitle[];
|
|
2780
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2781
|
+
deletedAt?: Date;
|
|
2782
|
+
productsUsers: ProductsUsers[];
|
|
2783
|
+
isProRated: boolean;
|
|
2784
|
+
entitledPrices?: GroupItemsPricing[];
|
|
2785
|
+
defaultPriceId?: number;
|
|
2786
|
+
tax: number;
|
|
2787
|
+
isTaxInclusive: boolean;
|
|
2788
|
+
defaultPrice?: Price;
|
|
2789
|
+
addOns?: IChildProduct[];
|
|
2790
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
2791
|
+
productResources: ProductResource[];
|
|
2792
|
+
parentProductPackages: ProductPackage[];
|
|
2793
|
+
childProductPackages: ProductPackage[];
|
|
2794
|
+
sports?: number[] | null;
|
|
2795
|
+
durationMinutes?: number;
|
|
2796
|
+
durationDays?: number;
|
|
2797
|
+
forms?: number[] | null;
|
|
2798
|
+
isForAllCustomers?: boolean;
|
|
2799
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
2800
|
+
reservedForCustomers: Customer[];
|
|
2801
|
+
reservedForMemberships: Membership[];
|
|
2802
|
+
activityTimes: ActivityTimes[];
|
|
2803
|
+
purchasedResources: PurchasedResource[];
|
|
2995
2804
|
}
|
|
2996
|
-
export declare class
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
2805
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
2806
|
+
parentProductId: number;
|
|
2807
|
+
childProductId: number;
|
|
2808
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2809
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2810
|
+
deletedAt?: Date;
|
|
2811
|
+
productResource: ProductResource;
|
|
2812
|
+
childProduct: Product;
|
|
2813
|
+
parentProduct: Product;
|
|
2814
|
+
price: number;
|
|
2815
|
+
isFlatPrice: boolean;
|
|
2816
|
+
durationMinutes?: number;
|
|
2817
|
+
durationDays?: number;
|
|
2818
|
+
level?: ProductPackageLevelEnum;
|
|
3003
2819
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
2820
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
2821
|
+
productId: number;
|
|
2822
|
+
maxMonths?: number;
|
|
2823
|
+
dayOfMonth?: number;
|
|
2824
|
+
name: string;
|
|
2825
|
+
deletedAt?: Date;
|
|
2826
|
+
schedule: PaymentPlanSchedule[];
|
|
2827
|
+
product?: Product;
|
|
3006
2828
|
}
|
|
3007
|
-
export
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
2829
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
2830
|
+
productId: number;
|
|
2831
|
+
resourceId: number;
|
|
2832
|
+
resourceType: ResourceNameTypeEnum;
|
|
2833
|
+
deletedAt?: Date;
|
|
2834
|
+
programSeason: ProgramSeason;
|
|
2835
|
+
event: Event;
|
|
2836
|
+
product: Product;
|
|
2837
|
+
productPackages: ProductPackage[];
|
|
2838
|
+
resourceName?: string;
|
|
3012
2839
|
}
|
|
3013
|
-
export
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
amountToPay: number;
|
|
2840
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
2841
|
+
productId: number;
|
|
2842
|
+
variantTitleId: number;
|
|
3017
2843
|
}
|
|
3018
|
-
export
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
-
status: PaymentStatusEnum;
|
|
3023
|
-
createdAt: Date;
|
|
3024
|
-
invoices: number[];
|
|
2844
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
2845
|
+
productId: number;
|
|
2846
|
+
variantId: number;
|
|
3025
2847
|
}
|
|
3026
|
-
export
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
};
|
|
3033
|
-
data: T[];
|
|
2848
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2849
|
+
productId: number;
|
|
2850
|
+
customerId: number;
|
|
2851
|
+
customer: Customer;
|
|
2852
|
+
deletedAt?: Date;
|
|
2853
|
+
product: Product;
|
|
3034
2854
|
}
|
|
3035
|
-
export
|
|
2855
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
3036
2856
|
productId: number;
|
|
3037
2857
|
userId: number;
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
ccBrand?: string;
|
|
3052
|
-
}
|
|
3053
|
-
export interface IVariantsAndTitle {
|
|
3054
|
-
title: VariantTitle;
|
|
3055
|
-
variants: Variant[];
|
|
2858
|
+
user?: User;
|
|
2859
|
+
paymentStatus: PaymentStatusEnum;
|
|
2860
|
+
productName: string;
|
|
2861
|
+
productPrice: number;
|
|
2862
|
+
productQuantity: number;
|
|
2863
|
+
productQuantityLeft: number;
|
|
2864
|
+
productPriceCurrency: CurrencyEnum;
|
|
2865
|
+
ordinal?: number;
|
|
2866
|
+
purchasedResources: PurchasedResource[];
|
|
2867
|
+
product: Product;
|
|
2868
|
+
lineItem: LineItems;
|
|
2869
|
+
slots?: Slot[];
|
|
2870
|
+
addons?: Addon[];
|
|
3056
2871
|
}
|
|
3057
|
-
export
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
2872
|
+
export declare class Program extends BondBaseEntity {
|
|
2873
|
+
type: ProgramTypesEnum;
|
|
2874
|
+
name: string;
|
|
2875
|
+
sport: SportsEnum;
|
|
2876
|
+
minAge: string;
|
|
2877
|
+
maxAge: string;
|
|
2878
|
+
gender: GenderEnum;
|
|
2879
|
+
level: LevelOfPlayEnum[] | null;
|
|
2880
|
+
description: string | null;
|
|
2881
|
+
GL?: string | null;
|
|
2882
|
+
status: PublishingStatusEnum;
|
|
2883
|
+
mainMedia: Media;
|
|
2884
|
+
organizationId: number;
|
|
2885
|
+
userCreatorId: number;
|
|
2886
|
+
programHighlights: ProgramHighlights[];
|
|
2887
|
+
linkSEO: string;
|
|
2888
|
+
longDescription?: string;
|
|
2889
|
+
requiredProductIds: number[] | null;
|
|
2890
|
+
deletedAt?: Date;
|
|
2891
|
+
programSeason: ProgramSeason[];
|
|
2892
|
+
purchasedResources: PurchasedResource[];
|
|
3061
2893
|
}
|
|
3062
|
-
export
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
2894
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2895
|
+
type: ProgramHighlightTypeEnum;
|
|
2896
|
+
ordinal: number | null;
|
|
2897
|
+
title: string | null;
|
|
2898
|
+
data: any | null;
|
|
2899
|
+
program: Program;
|
|
2900
|
+
deletedAt?: Date;
|
|
3066
2901
|
}
|
|
3067
|
-
export
|
|
2902
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
2903
|
+
programId: number;
|
|
3068
2904
|
name: string;
|
|
2905
|
+
description: string | null;
|
|
2906
|
+
GL?: string | null;
|
|
2907
|
+
status: PublishingStatusEnum;
|
|
3069
2908
|
startDate: Date;
|
|
3070
2909
|
endDate: Date;
|
|
2910
|
+
registrationStartDate: Date | null;
|
|
2911
|
+
registrationEndDate: Date | null;
|
|
2912
|
+
questionnaires: number[] | null;
|
|
2913
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
2914
|
+
parentSeasonId: number | null;
|
|
2915
|
+
maxParticipants: number | null;
|
|
2916
|
+
maxMaleParticipants: number | null;
|
|
2917
|
+
maxFemaleParticipants: number | null;
|
|
2918
|
+
maxWaitlist: number | null;
|
|
2919
|
+
maxMaleWaitlist: number | null;
|
|
2920
|
+
maxFemaleWaitlist: number | null;
|
|
2921
|
+
organizationId: number;
|
|
2922
|
+
facilityId: number | null;
|
|
2923
|
+
facilityName?: string;
|
|
2924
|
+
addressId: number | null;
|
|
2925
|
+
sport: SportsEnum;
|
|
2926
|
+
minAge: string;
|
|
2927
|
+
maxAge: string;
|
|
2928
|
+
gender: GenderEnum;
|
|
2929
|
+
level: LevelOfPlayEnum[] | null;
|
|
2930
|
+
blockedDated: BlockedDate[];
|
|
2931
|
+
seasonAttendees: SeasonAttendee[];
|
|
2932
|
+
products: Product[];
|
|
2933
|
+
linkSEO: string;
|
|
2934
|
+
address: Address;
|
|
2935
|
+
defaultProductId?: number;
|
|
2936
|
+
longDescription?: string;
|
|
2937
|
+
isPunchCard?: boolean;
|
|
2938
|
+
deletedAt?: Date;
|
|
2939
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2940
|
+
program: Program;
|
|
2941
|
+
spaces?: Resource[];
|
|
2942
|
+
reservationId?: number;
|
|
2943
|
+
earlyRegistrationStartDate?: Date;
|
|
2944
|
+
earlyRegistrationEndDate?: Date;
|
|
2945
|
+
lateRegistrationStartDate?: Date;
|
|
2946
|
+
lateRegistrationEndDate?: Date;
|
|
2947
|
+
requiredProductIds?: number[];
|
|
2948
|
+
registrationConstraints?: RegistrationConstraint;
|
|
2949
|
+
sessionSegments: ProgramSeason[];
|
|
2950
|
+
sessionEvents: Event[];
|
|
2951
|
+
parentSession: ProgramSeason;
|
|
2952
|
+
activityTimes: ActivityTimes[];
|
|
2953
|
+
productResources: ProductResource[];
|
|
2954
|
+
facility: Facility;
|
|
2955
|
+
purchasedResources: PurchasedResource[];
|
|
3071
2956
|
}
|
|
3072
|
-
export
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
2957
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2958
|
+
productUserId: number;
|
|
2959
|
+
resourceId: number;
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
status: PurchasedResourceStatusEnum;
|
|
2962
|
+
startDate?: string;
|
|
2963
|
+
startTime?: string;
|
|
2964
|
+
endDate?: string;
|
|
2965
|
+
endTime?: string;
|
|
2966
|
+
productUser?: ProductsUsers;
|
|
2967
|
+
lineItem?: LineItems;
|
|
2968
|
+
eventAttendee?: EventAttendee;
|
|
2969
|
+
seasonAttendee?: SeasonAttendee;
|
|
2970
|
+
leagueAttendee?: SeasonPool;
|
|
2971
|
+
membership?: Membership;
|
|
2972
|
+
program?: Program;
|
|
2973
|
+
programSeason?: ProgramSeason;
|
|
2974
|
+
leagueSeason?: LeagueSeason;
|
|
2975
|
+
space?: Resource;
|
|
2976
|
+
product?: Product;
|
|
2977
|
+
event?: Event;
|
|
3090
2978
|
}
|
|
3091
|
-
export
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
familyid: number;
|
|
3095
|
-
invoice_id: number;
|
|
2979
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2980
|
+
title: string | null;
|
|
2981
|
+
answerTitle: AnswerTitle;
|
|
3096
2982
|
}
|
|
3097
|
-
export
|
|
3098
|
-
|
|
2983
|
+
export declare class Questions extends BondBaseEntity {
|
|
2984
|
+
questionType: string | null;
|
|
2985
|
+
ordinal: number | null;
|
|
2986
|
+
pageOrdinal: number | null;
|
|
2987
|
+
isActive: boolean | null;
|
|
2988
|
+
isMandatory: boolean | null;
|
|
2989
|
+
metaData: any | null;
|
|
2990
|
+
question: string | null;
|
|
2991
|
+
creatorId: number | null;
|
|
2992
|
+
creatorType: string | null;
|
|
2993
|
+
userCreatorId: number | null;
|
|
2994
|
+
ownerId: number | null;
|
|
2995
|
+
questionnaireId: number | null;
|
|
2996
|
+
}
|
|
2997
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2998
|
+
reason: string;
|
|
2999
|
+
ordinal: number;
|
|
3000
|
+
deletedAt: Date;
|
|
3001
|
+
}
|
|
3002
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
3099
3003
|
resourceType: ResourceNameTypeEnum;
|
|
3004
|
+
resourceId: number;
|
|
3100
3005
|
openNumDays?: number;
|
|
3101
3006
|
openNumMinutes?: number;
|
|
3102
3007
|
openTime?: string;
|
|
3103
3008
|
closeNumDays?: number;
|
|
3104
3009
|
closeNumMinutes?: number;
|
|
3105
3010
|
closeTime?: string;
|
|
3106
|
-
|
|
3011
|
+
deletedAt?: Date;
|
|
3012
|
+
}
|
|
3013
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
3014
|
+
name?: string;
|
|
3015
|
+
description?: string;
|
|
3016
|
+
color?: string;
|
|
3017
|
+
status?: string;
|
|
3018
|
+
privacySetting?: string;
|
|
3019
|
+
reservationType?: string;
|
|
3020
|
+
invoiceId?: string;
|
|
3021
|
+
customerId?: number;
|
|
3022
|
+
length?: number;
|
|
3023
|
+
price?: number;
|
|
3024
|
+
sessions?: number;
|
|
3025
|
+
percentage?: number;
|
|
3026
|
+
paymentStatus?: number;
|
|
3027
|
+
paymentId?: number;
|
|
3028
|
+
startTime?: string;
|
|
3029
|
+
dayOfWeek?: number;
|
|
3030
|
+
resourcePackageId?: number;
|
|
3031
|
+
resourcePackageAmount?: number;
|
|
3032
|
+
startDate?: Date;
|
|
3033
|
+
endDate?: Date;
|
|
3034
|
+
originalReservationId?: number;
|
|
3035
|
+
creatorId?: number;
|
|
3036
|
+
creatorType?: string;
|
|
3037
|
+
userCreatorId?: number;
|
|
3038
|
+
ownerId?: number;
|
|
3039
|
+
sportType?: number;
|
|
3040
|
+
participantType?: string;
|
|
3041
|
+
deletedAt?: Date;
|
|
3042
|
+
publicNotes?: string;
|
|
3043
|
+
slots?: Slot[];
|
|
3044
|
+
}
|
|
3045
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
3046
|
+
name: string;
|
|
3047
|
+
resourceType: ResourceTypeEnum;
|
|
3048
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
3049
|
+
description?: string;
|
|
3050
|
+
longDescription?: string;
|
|
3051
|
+
surface?: SurfacesEnum;
|
|
3052
|
+
properties?: SpacePropertiesEnum[];
|
|
3053
|
+
mainMediaId?: number;
|
|
3054
|
+
mainMedia: Media;
|
|
3055
|
+
sports: SportsEnum[];
|
|
3056
|
+
width?: number;
|
|
3057
|
+
length?: number;
|
|
3058
|
+
amenities?: AmenitiesEnum[];
|
|
3059
|
+
parentSpaceId?: number;
|
|
3060
|
+
ordinal?: number;
|
|
3061
|
+
isAddOn: boolean;
|
|
3062
|
+
ages?: ResourceAgesEnum;
|
|
3063
|
+
deletedAt?: Date;
|
|
3064
|
+
activityTimes: ActivityTimes[];
|
|
3065
|
+
facilities: Facility[];
|
|
3066
|
+
slots?: Slot[];
|
|
3067
|
+
addons?: Addon[];
|
|
3068
|
+
facilityId: number;
|
|
3069
|
+
facility: Facility;
|
|
3070
|
+
purchasedResources: PurchasedResource[];
|
|
3071
|
+
linkSEO: string;
|
|
3072
|
+
}
|
|
3073
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
3074
|
+
name: string;
|
|
3075
|
+
facilityId: number;
|
|
3076
|
+
parentSlotId: number;
|
|
3077
|
+
childrenSlotIds: number[];
|
|
3078
|
+
deletedAt?: Date;
|
|
3107
3079
|
}
|
|
3108
|
-
export
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3080
|
+
export declare class School extends BondBaseEntity {
|
|
3081
|
+
name: string | null;
|
|
3082
|
+
alias: string[] | null;
|
|
3083
|
+
addressId: number | null;
|
|
3084
|
+
website: string | null;
|
|
3085
|
+
phone: string | null;
|
|
3086
|
+
dataId: number | null;
|
|
3112
3087
|
}
|
|
3113
|
-
export
|
|
3114
|
-
|
|
3115
|
-
|
|
3088
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
3089
|
+
status: RequestStatusEnum;
|
|
3090
|
+
paymentStatus: PaymentStatusEnum;
|
|
3091
|
+
paymentId?: number;
|
|
3092
|
+
productId?: number;
|
|
3093
|
+
attendeeId: number;
|
|
3094
|
+
attendee: User;
|
|
3095
|
+
seasonId: number;
|
|
3096
|
+
season: ProgramSeason;
|
|
3097
|
+
productUserId?: number;
|
|
3098
|
+
answerTitleIds?: number[];
|
|
3099
|
+
deletedAt?: Date;
|
|
3100
|
+
purchasedResource: PurchasedResource;
|
|
3116
3101
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
parentSessionName?: string;
|
|
3123
|
-
organizationName: string;
|
|
3124
|
-
programName: string;
|
|
3102
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
3103
|
+
name: string | null;
|
|
3104
|
+
ordinal: number | null;
|
|
3105
|
+
seasonId: number | null;
|
|
3106
|
+
color: string | null;
|
|
3125
3107
|
}
|
|
3126
|
-
export
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
spaceId: number;
|
|
3141
|
-
spaceName: string;
|
|
3142
|
-
}[];
|
|
3143
|
-
status?: RegistrationValidationStatusEnum;
|
|
3108
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
3109
|
+
seasonId?: number;
|
|
3110
|
+
userId?: number;
|
|
3111
|
+
status?: number;
|
|
3112
|
+
entityId?: number;
|
|
3113
|
+
entityType?: string;
|
|
3114
|
+
groupId?: string;
|
|
3115
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
3116
|
+
metadata?: any;
|
|
3117
|
+
paymentId?: number;
|
|
3118
|
+
externalAssign?: boolean;
|
|
3119
|
+
productUserId?: number;
|
|
3120
|
+
purchasedResource: PurchasedResource;
|
|
3121
|
+
season: LeagueSeason;
|
|
3144
3122
|
}
|
|
3145
|
-
export
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3123
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
3124
|
+
seasonId: number | null;
|
|
3125
|
+
teamId: number | null;
|
|
3126
|
+
standingPosition: number | null;
|
|
3127
|
+
statistics: any | null;
|
|
3128
|
+
points: number | null;
|
|
3129
|
+
divisionId: number | null;
|
|
3130
|
+
metaData: any | null;
|
|
3131
|
+
team: Team;
|
|
3149
3132
|
}
|
|
3150
|
-
export
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
slots: ISlotReservationData[];
|
|
3133
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
3134
|
+
blockingSpaceId: number;
|
|
3135
|
+
blockedSpaceId: number;
|
|
3154
3136
|
}
|
|
3155
|
-
export
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
slotId: number;
|
|
3166
|
-
eventId: number;
|
|
3167
|
-
isPrivate: boolean;
|
|
3137
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
3138
|
+
name: string;
|
|
3139
|
+
facilityId: number;
|
|
3140
|
+
processorTerminalId: string | null;
|
|
3141
|
+
terminaLabel: string | null;
|
|
3142
|
+
processorSerialNumber: string | null;
|
|
3143
|
+
currentOpenShift?: Shift;
|
|
3144
|
+
stationToSubcategories: StationToSubcategory[];
|
|
3145
|
+
subcategories: Subcategory[];
|
|
3146
|
+
shifts?: Shift[];
|
|
3168
3147
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
isPunchCard: boolean;
|
|
3148
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
3149
|
+
stationId: number;
|
|
3150
|
+
subcategoryId: number;
|
|
3151
|
+
productType: ProductTypesEnum;
|
|
3152
|
+
deletedAt?: Date;
|
|
3153
|
+
station: Station;
|
|
3154
|
+
subcategory: Subcategory;
|
|
3177
3155
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3156
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
3157
|
+
productType: ProductTypesEnum;
|
|
3180
3158
|
name: string;
|
|
3181
|
-
|
|
3159
|
+
ordinal?: number;
|
|
3160
|
+
deletedAt?: Date;
|
|
3161
|
+
stationToSubcategories: StationToSubcategory[];
|
|
3162
|
+
stations: Station[];
|
|
3182
3163
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3164
|
+
export declare class Team extends BondBaseEntity {
|
|
3165
|
+
name: string | null;
|
|
3166
|
+
description: string | null;
|
|
3167
|
+
status: number | null;
|
|
3168
|
+
capacity: number | null;
|
|
3169
|
+
allowNewMembers: boolean | null;
|
|
3170
|
+
membersCanInvite: boolean | null;
|
|
3171
|
+
inviteOnly: boolean | null;
|
|
3172
|
+
logoId: number | null;
|
|
3173
|
+
addressId: number | null;
|
|
3174
|
+
price: number | null;
|
|
3175
|
+
private: boolean | null;
|
|
3176
|
+
returnOverride: boolean | null;
|
|
3177
|
+
organizationId: number | null;
|
|
3178
|
+
whoCanJoin: TeamCanJoinEnum | null;
|
|
3179
|
+
whoCanInvite: string | null;
|
|
3180
|
+
metadata: any | null;
|
|
3181
|
+
externalId: string | null;
|
|
3182
|
+
paymentSettings: any | null;
|
|
3183
|
+
isClaimed: boolean | null;
|
|
3184
|
+
creatorId: number | null;
|
|
3185
|
+
creatorType: string | null;
|
|
3186
|
+
userCreatorId: number | null;
|
|
3187
|
+
ownerId: number | null;
|
|
3188
|
+
mainMediaId: number | null;
|
|
3189
|
+
publishedDate: Date | null;
|
|
3190
|
+
isPublished: boolean | null;
|
|
3191
|
+
levelOfPlay: number[] | null;
|
|
3192
|
+
sports: number | null;
|
|
3193
|
+
minAge: number | null;
|
|
3194
|
+
maxAge: number | null;
|
|
3195
|
+
gender: number | null;
|
|
3196
|
+
questionnaireId: number | null;
|
|
3197
3197
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
pUserProductId: number;
|
|
3207
|
-
pUserProductName: string;
|
|
3208
|
-
pUserProductPrice: number;
|
|
3209
|
-
pUserProductPriceCurrency: string;
|
|
3210
|
-
pUserProductQuantity: number;
|
|
3211
|
-
pUserProductQuantityLeft: number;
|
|
3212
|
-
pUserUserId: number;
|
|
3198
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
3199
|
+
email: string;
|
|
3200
|
+
teamId: number;
|
|
3201
|
+
invitedUserId?: number;
|
|
3202
|
+
userCreatorId: number;
|
|
3203
|
+
token: string;
|
|
3204
|
+
tokenExpirationDate: Date;
|
|
3205
|
+
isUsed: boolean;
|
|
3213
3206
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3207
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
3208
|
+
teamId: number | null;
|
|
3209
|
+
userId: number | null;
|
|
3210
|
+
paymentId: number | null;
|
|
3211
|
+
hasPaid: boolean | null;
|
|
3212
|
+
status: TeamMemberStatusEnum | null;
|
|
3213
|
+
role: TeamMemberRoleEnum;
|
|
3214
|
+
user: User;
|
|
3215
|
+
}
|
|
3216
|
+
export declare class User extends BondBaseEntity {
|
|
3217
|
+
firstName: string | null;
|
|
3218
|
+
lastName: string | null;
|
|
3219
|
+
email: string | null;
|
|
3220
|
+
phoneNumber: string | null;
|
|
3221
|
+
about: string | null;
|
|
3222
|
+
password: string | null;
|
|
3223
|
+
passwordResetToken: string | null;
|
|
3224
|
+
passwordResetExpires: Date | null;
|
|
3225
|
+
status: string | null;
|
|
3226
|
+
pushNotifications: boolean | null;
|
|
3227
|
+
notificationSettings: any | null;
|
|
3228
|
+
addressId: number | null;
|
|
3229
|
+
address: Address;
|
|
3230
|
+
currentAddressId: number | null;
|
|
3231
|
+
merchantId: number | null;
|
|
3232
|
+
loginToken: string | null;
|
|
3233
|
+
gender: GenderEnum | null;
|
|
3234
|
+
height: number | null;
|
|
3235
|
+
weight: number | null;
|
|
3236
|
+
birthDate: Date | null;
|
|
3237
|
+
lastLogin: Date | null;
|
|
3238
|
+
lastInteractionDay: Date | null;
|
|
3239
|
+
createAsId: number | null;
|
|
3240
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
3241
|
+
motto: string | null;
|
|
3242
|
+
privateProfile: boolean | null;
|
|
3243
|
+
allowMultiSignHack: boolean | null;
|
|
3244
|
+
deletedAt: Date | null;
|
|
3245
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
3246
|
+
athlete: Athlete;
|
|
3247
|
+
eventAttendees: EventAttendee[];
|
|
3248
|
+
seasonAttendees: SeasonAttendee[];
|
|
3249
|
+
linkedAccounts: LinkedAccounts[];
|
|
3250
|
+
profilePicture: Media;
|
|
3251
|
+
usersRoles: UserRole[];
|
|
3252
|
+
invoiceNotes: InvoiceNote[];
|
|
3253
|
+
paymentNotes: PaymentNote[];
|
|
3228
3254
|
}
|
|
3229
|
-
export
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
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';
|
|
3255
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
3256
|
+
entityId: number | null;
|
|
3257
|
+
userId: number | null;
|
|
3258
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
3259
|
+
user: User;
|
|
3248
3260
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3261
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
3262
|
+
familyAccountId: number;
|
|
3263
|
+
userId: number;
|
|
3264
|
+
isAdmin: boolean;
|
|
3265
|
+
user: User;
|
|
3266
|
+
familyAccount: FamilyAccount;
|
|
3267
|
+
deletedAt?: Date;
|
|
3254
3268
|
}
|
|
3255
|
-
export
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3269
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
3270
|
+
userId: number;
|
|
3271
|
+
failCount: number;
|
|
3272
|
+
isDefault?: boolean;
|
|
3273
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3274
|
+
paymentMethodId: string;
|
|
3275
|
+
nextAllowedChargeDate?: Date;
|
|
3264
3276
|
}
|
|
3265
|
-
export
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
name: string;
|
|
3270
|
-
productType?: ProductTypesEnum;
|
|
3271
|
-
productSubType?: string;
|
|
3272
|
-
}[];
|
|
3277
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
3278
|
+
groupId: number;
|
|
3279
|
+
userId: number;
|
|
3280
|
+
deletedAt?: Date;
|
|
3273
3281
|
}
|
|
3274
|
-
export
|
|
3275
|
-
id: number;
|
|
3282
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
3276
3283
|
name: string;
|
|
3277
|
-
|
|
3278
|
-
endDate?: Date;
|
|
3279
|
-
downpayment?: number;
|
|
3280
|
-
description?: string;
|
|
3281
|
-
prices: Price[];
|
|
3282
|
-
productSubType?: ProductSubTypesEnum;
|
|
3283
|
-
punchCard: boolean;
|
|
3284
|
-
isAddon: boolean;
|
|
3285
|
-
defaultPriceId?: number;
|
|
3286
|
-
}
|
|
3287
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
-
destinationId?: string;
|
|
3289
|
-
stripeCustomerId?: string;
|
|
3290
|
-
fee?: number;
|
|
3284
|
+
variants: Variant[];
|
|
3291
3285
|
}
|
|
3292
|
-
export
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
endDate: string;
|
|
3298
|
-
sportId: number;
|
|
3286
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
3287
|
+
name: string;
|
|
3288
|
+
variantTitleId: number;
|
|
3289
|
+
variantTitle: VariantTitle;
|
|
3290
|
+
deletedAt?: Date;
|
|
3299
3291
|
}
|
|
3300
|
-
export declare class
|
|
3301
|
-
|
|
3302
|
-
|
|
3292
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
3293
|
+
projectToken: string;
|
|
3294
|
+
programTypesCollectionId?: string;
|
|
3295
|
+
programTagsCollectionId?: string;
|
|
3296
|
+
sportsCollectionId?: string;
|
|
3297
|
+
membershipCollectionId?: string;
|
|
3298
|
+
programsCollectionId?: string;
|
|
3303
3299
|
}
|
|
3304
|
-
export declare function convertToNumber(data: string): number;
|
|
3305
3300
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3306
3301
|
name?: string;
|
|
3307
3302
|
genderStr?: string;
|
|
@@ -3449,15 +3444,15 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3449
3444
|
divisionId?: number;
|
|
3450
3445
|
name: string;
|
|
3451
3446
|
}
|
|
3452
|
-
export declare class Lock extends BondBaseEntity {
|
|
3453
|
-
name: string;
|
|
3454
|
-
locked?: Date;
|
|
3455
|
-
}
|
|
3456
3447
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3457
3448
|
teamId: number | null;
|
|
3458
3449
|
eventId: number | null;
|
|
3459
3450
|
status: number | null;
|
|
3460
3451
|
}
|
|
3452
|
+
export declare class Lock extends BondBaseEntity {
|
|
3453
|
+
name: string;
|
|
3454
|
+
locked?: Date;
|
|
3455
|
+
}
|
|
3461
3456
|
export interface ValidatedMonthAndDay {
|
|
3462
3457
|
valid: boolean;
|
|
3463
3458
|
month?: number;
|
|
@@ -3485,6 +3480,11 @@ export declare class CreateMonitorConfigDto {
|
|
|
3485
3480
|
code: string;
|
|
3486
3481
|
config: any;
|
|
3487
3482
|
}
|
|
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;
|
|
@@ -3516,22 +3516,6 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
3516
3516
|
months?: string;
|
|
3517
3517
|
dow?: string;
|
|
3518
3518
|
}
|
|
3519
|
-
export interface UnallocatedEventsFilters {
|
|
3520
|
-
programsIds?: number[];
|
|
3521
|
-
sessionsIds?: number[];
|
|
3522
|
-
segmentsIds?: number[];
|
|
3523
|
-
durations?: Duration[];
|
|
3524
|
-
daysOfWeek?: number[];
|
|
3525
|
-
}
|
|
3526
|
-
export interface Duration {
|
|
3527
|
-
startDate: string;
|
|
3528
|
-
endDate: string;
|
|
3529
|
-
}
|
|
3530
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3531
|
-
facilityId: number;
|
|
3532
|
-
code: string;
|
|
3533
|
-
config?: any;
|
|
3534
|
-
}
|
|
3535
3519
|
export declare class Organization extends BondBaseEntity {
|
|
3536
3520
|
name: string | null;
|
|
3537
3521
|
email: string | null;
|
|
@@ -3594,6 +3578,17 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3594
3578
|
organisationId: number | null;
|
|
3595
3579
|
userId: number | null;
|
|
3596
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;
|
|
3591
|
+
}
|
|
3597
3592
|
export declare class CustomerIdDto {
|
|
3598
3593
|
customerId: number;
|
|
3599
3594
|
}
|
|
@@ -3644,6 +3639,12 @@ export declare class ScheduledPaymentDto {
|
|
|
3644
3639
|
export declare class FutureInstallmentsIdsDto {
|
|
3645
3640
|
paymentsIds: number[];
|
|
3646
3641
|
}
|
|
3642
|
+
export declare class UpdateScheduledPaymentsDto {
|
|
3643
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3644
|
+
payemntMethodId: string;
|
|
3645
|
+
invoiceId?: number;
|
|
3646
|
+
installmentIds?: number[];
|
|
3647
|
+
}
|
|
3647
3648
|
export declare class StationsDto {
|
|
3648
3649
|
organizationId: number;
|
|
3649
3650
|
facilityId: number;
|
|
@@ -3710,6 +3711,38 @@ export declare class SendRequestDto {
|
|
|
3710
3711
|
sendToEmail: string;
|
|
3711
3712
|
memo?: string;
|
|
3712
3713
|
}
|
|
3714
|
+
export declare class RefundDto {
|
|
3715
|
+
invoiceId: number;
|
|
3716
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3717
|
+
refundLineItemAmountDict?: {
|
|
3718
|
+
[id: number]: number;
|
|
3719
|
+
};
|
|
3720
|
+
refunds: PaymentMethodDto[];
|
|
3721
|
+
refundType: RefundTypeEnum;
|
|
3722
|
+
reasonId: number;
|
|
3723
|
+
note?: string;
|
|
3724
|
+
shiftId?: number;
|
|
3725
|
+
meta?: RevertMetaDto;
|
|
3726
|
+
}
|
|
3727
|
+
export declare class PaymentMethodDto {
|
|
3728
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3729
|
+
amount: number;
|
|
3730
|
+
paymentMethodId?: string;
|
|
3731
|
+
}
|
|
3732
|
+
export declare class RefundLineItemAmountDto {
|
|
3733
|
+
id: number;
|
|
3734
|
+
refundAmount: number;
|
|
3735
|
+
}
|
|
3736
|
+
export declare class VoidDto {
|
|
3737
|
+
lineItems: VoidLineItemDto[];
|
|
3738
|
+
meta?: RevertMetaDto;
|
|
3739
|
+
}
|
|
3740
|
+
export declare class VoidLineItemDto {
|
|
3741
|
+
id: number;
|
|
3742
|
+
quantity?: number;
|
|
3743
|
+
isEdit?: boolean;
|
|
3744
|
+
amount?: number;
|
|
3745
|
+
}
|
|
3713
3746
|
export interface PaymentResult {
|
|
3714
3747
|
paymentMethodId: string;
|
|
3715
3748
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3745,28 +3778,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3745
3778
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3746
3779
|
totalAmountProcessed: number;
|
|
3747
3780
|
}
|
|
3748
|
-
export declare class RefundDto {
|
|
3749
|
-
invoiceId: number;
|
|
3750
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3751
|
-
refundLineItemAmountDict?: {
|
|
3752
|
-
[id: number]: number;
|
|
3753
|
-
};
|
|
3754
|
-
refunds: PaymentMethodDto[];
|
|
3755
|
-
refundType: RefundTypeEnum;
|
|
3756
|
-
reasonId: number;
|
|
3757
|
-
note?: string;
|
|
3758
|
-
shiftId?: number;
|
|
3759
|
-
meta?: RevertMetaDto;
|
|
3760
|
-
}
|
|
3761
|
-
export declare class PaymentMethodDto {
|
|
3762
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3763
|
-
amount: number;
|
|
3764
|
-
paymentMethodId?: string;
|
|
3765
|
-
}
|
|
3766
|
-
export declare class RefundLineItemAmountDto {
|
|
3767
|
-
id: number;
|
|
3768
|
-
refundAmount: number;
|
|
3769
|
-
}
|
|
3770
3781
|
export declare class AddonDto {
|
|
3771
3782
|
productId: number;
|
|
3772
3783
|
id?: number;
|
|
@@ -3861,16 +3872,6 @@ export declare class LineItemDto {
|
|
|
3861
3872
|
unitTaxPrice?: number;
|
|
3862
3873
|
parentOrdinal?: number;
|
|
3863
3874
|
}
|
|
3864
|
-
export declare class VoidDto {
|
|
3865
|
-
lineItems: VoidLineItemDto[];
|
|
3866
|
-
meta?: RevertMetaDto;
|
|
3867
|
-
}
|
|
3868
|
-
export declare class VoidLineItemDto {
|
|
3869
|
-
id: number;
|
|
3870
|
-
quantity?: number;
|
|
3871
|
-
isEdit?: boolean;
|
|
3872
|
-
amount?: number;
|
|
3873
|
-
}
|
|
3874
3875
|
export declare class MaintenanceDto {
|
|
3875
3876
|
id?: number;
|
|
3876
3877
|
title: string;
|
|
@@ -4559,12 +4560,12 @@ export interface AddonMetadata {
|
|
|
4559
4560
|
totalPrice: number;
|
|
4560
4561
|
product?: Product;
|
|
4561
4562
|
}
|
|
4562
|
-
export declare class CreateRoleDto {
|
|
4563
|
-
name: string;
|
|
4564
|
-
}
|
|
4565
4563
|
export declare class ChangeRolePermissionsDto {
|
|
4566
4564
|
permissionIds: number[];
|
|
4567
4565
|
}
|
|
4566
|
+
export declare class CreateRoleDto {
|
|
4567
|
+
name: string;
|
|
4568
|
+
}
|
|
4568
4569
|
export declare class Permission extends BondBaseEntity {
|
|
4569
4570
|
name: string;
|
|
4570
4571
|
deletedAt?: Date;
|
|
@@ -4582,6 +4583,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4582
4583
|
role: Role;
|
|
4583
4584
|
user: User;
|
|
4584
4585
|
}
|
|
4586
|
+
export declare class CloseShiftDto {
|
|
4587
|
+
closingCashAmount: number;
|
|
4588
|
+
}
|
|
4585
4589
|
export declare class FindShiftsByIdsDto {
|
|
4586
4590
|
shiftIds: number[];
|
|
4587
4591
|
}
|
|
@@ -4605,9 +4609,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4605
4609
|
startDate?: Date;
|
|
4606
4610
|
endDate?: Date;
|
|
4607
4611
|
}
|
|
4608
|
-
export declare class CloseShiftDto {
|
|
4609
|
-
closingCashAmount: number;
|
|
4610
|
-
}
|
|
4611
4612
|
export declare class ShiftManagementClosingAmount {
|
|
4612
4613
|
shiftId: number;
|
|
4613
4614
|
managementClosingCashAmount: number;
|
|
@@ -4615,6 +4616,10 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4615
4616
|
export declare class ManagementClosingOfShiftsDto {
|
|
4616
4617
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4617
4618
|
}
|
|
4619
|
+
export declare class OpenShiftDto {
|
|
4620
|
+
openingCashAmount: number;
|
|
4621
|
+
stationId: number;
|
|
4622
|
+
}
|
|
4618
4623
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4619
4624
|
stationId: number;
|
|
4620
4625
|
station?: Station;
|
|
@@ -4644,7 +4649,8 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4644
4649
|
closingManager?: User;
|
|
4645
4650
|
reconcilingUser?: User;
|
|
4646
4651
|
}
|
|
4647
|
-
export declare class
|
|
4648
|
-
|
|
4649
|
-
|
|
4652
|
+
export declare class ColumnNumericTransformer {
|
|
4653
|
+
to(data: number): number;
|
|
4654
|
+
from(data: string): number;
|
|
4650
4655
|
}
|
|
4656
|
+
export declare function convertToNumber(data: string): number;
|