@bondsports/types 0.0.159 → 0.0.160
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 +2069 -2069
- 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,20 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class FindBookingTypeSettingDto {
|
|
13
|
-
organizationId: number;
|
|
14
|
-
facilityId: number;
|
|
15
|
-
spaceId: number;
|
|
16
|
-
bookingDate: string;
|
|
17
|
-
bookingTime: string;
|
|
18
|
-
}
|
|
19
|
-
export declare enum EConfigurationKeys {
|
|
20
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
21
|
-
}
|
|
22
|
-
export declare enum EFailedPaymentReasons {
|
|
23
|
-
CARD_BLOCKED = "card_blocked_by_bond",
|
|
24
|
-
UNKNOWN = "unknown"
|
|
25
|
-
}
|
|
26
12
|
export declare class QuestionAnswersDto {
|
|
27
13
|
questionId: number;
|
|
28
14
|
value: any;
|
|
@@ -34,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
34
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
35
21
|
questionnaireIds: string;
|
|
36
22
|
}
|
|
23
|
+
export declare enum EConfigurationKeys {
|
|
24
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
25
|
+
}
|
|
26
|
+
export declare enum EFailedPaymentReasons {
|
|
27
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
28
|
+
UNKNOWN = "unknown"
|
|
29
|
+
}
|
|
37
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
31
|
membershipId: number;
|
|
39
32
|
}
|
|
@@ -292,6 +285,13 @@ export declare class GetGlCodeDto {
|
|
|
292
285
|
createdAt: Date;
|
|
293
286
|
updatedAt: Date;
|
|
294
287
|
}
|
|
288
|
+
export declare class FindBookingTypeSettingDto {
|
|
289
|
+
organizationId: number;
|
|
290
|
+
facilityId: number;
|
|
291
|
+
spaceId: number;
|
|
292
|
+
bookingDate: string;
|
|
293
|
+
bookingTime: string;
|
|
294
|
+
}
|
|
295
295
|
export declare class FindByProgramSeasonIdDto {
|
|
296
296
|
seasonId: number;
|
|
297
297
|
}
|
|
@@ -892,50 +892,6 @@ export declare class MoveParticipantDto {
|
|
|
892
892
|
resourceId: number;
|
|
893
893
|
invoiceId: number;
|
|
894
894
|
}
|
|
895
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
-
organizationId: number;
|
|
897
|
-
programType?: ProgramTypesEnum;
|
|
898
|
-
}
|
|
899
|
-
export declare class FindProgramByIdDto {
|
|
900
|
-
programId: number;
|
|
901
|
-
}
|
|
902
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
-
programId: number;
|
|
904
|
-
organizationId: number;
|
|
905
|
-
}
|
|
906
|
-
export declare class BaseProgramDto {
|
|
907
|
-
type: ProgramTypesEnum;
|
|
908
|
-
name: string;
|
|
909
|
-
sport: SportsEnum;
|
|
910
|
-
minAge: string;
|
|
911
|
-
maxAge: string;
|
|
912
|
-
gender: GenderEnum;
|
|
913
|
-
level?: LevelOfPlayEnum[];
|
|
914
|
-
description?: string;
|
|
915
|
-
GL?: string;
|
|
916
|
-
status: PublishingStatusEnum;
|
|
917
|
-
organizationId: number;
|
|
918
|
-
userCreatorId: number;
|
|
919
|
-
highlights: ProgramHighlights[];
|
|
920
|
-
longDescription?: string;
|
|
921
|
-
requiredProductIds: number[];
|
|
922
|
-
}
|
|
923
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
-
}
|
|
925
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
-
programId: number;
|
|
927
|
-
mainMediaId: number;
|
|
928
|
-
}
|
|
929
|
-
export declare class UpdateProgramStatusDto {
|
|
930
|
-
programId: number;
|
|
931
|
-
status: PublishingStatusEnum;
|
|
932
|
-
}
|
|
933
|
-
export declare class ProgramHighlightDto {
|
|
934
|
-
data: string;
|
|
935
|
-
ordinal: number;
|
|
936
|
-
type: ProgramHighlightTypeEnum;
|
|
937
|
-
title: string;
|
|
938
|
-
}
|
|
939
895
|
export declare class PurchasePaymentDto {
|
|
940
896
|
token: string;
|
|
941
897
|
type: PaymentMethodTypeEnum;
|
|
@@ -1009,6 +965,50 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1009
965
|
paymentMethodData: any;
|
|
1010
966
|
platform?: PlatformsEnum;
|
|
1011
967
|
}
|
|
968
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
969
|
+
organizationId: number;
|
|
970
|
+
programType?: ProgramTypesEnum;
|
|
971
|
+
}
|
|
972
|
+
export declare class FindProgramByIdDto {
|
|
973
|
+
programId: number;
|
|
974
|
+
}
|
|
975
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
976
|
+
programId: number;
|
|
977
|
+
organizationId: number;
|
|
978
|
+
}
|
|
979
|
+
export declare class BaseProgramDto {
|
|
980
|
+
type: ProgramTypesEnum;
|
|
981
|
+
name: string;
|
|
982
|
+
sport: SportsEnum;
|
|
983
|
+
minAge: string;
|
|
984
|
+
maxAge: string;
|
|
985
|
+
gender: GenderEnum;
|
|
986
|
+
level?: LevelOfPlayEnum[];
|
|
987
|
+
description?: string;
|
|
988
|
+
GL?: string;
|
|
989
|
+
status: PublishingStatusEnum;
|
|
990
|
+
organizationId: number;
|
|
991
|
+
userCreatorId: number;
|
|
992
|
+
highlights: ProgramHighlights[];
|
|
993
|
+
longDescription?: string;
|
|
994
|
+
requiredProductIds: number[];
|
|
995
|
+
}
|
|
996
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
997
|
+
}
|
|
998
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
999
|
+
programId: number;
|
|
1000
|
+
mainMediaId: number;
|
|
1001
|
+
}
|
|
1002
|
+
export declare class UpdateProgramStatusDto {
|
|
1003
|
+
programId: number;
|
|
1004
|
+
status: PublishingStatusEnum;
|
|
1005
|
+
}
|
|
1006
|
+
export declare class ProgramHighlightDto {
|
|
1007
|
+
data: string;
|
|
1008
|
+
ordinal: number;
|
|
1009
|
+
type: ProgramHighlightTypeEnum;
|
|
1010
|
+
title: string;
|
|
1011
|
+
}
|
|
1012
1012
|
export declare class CreateResourceGroupDto {
|
|
1013
1013
|
name: string;
|
|
1014
1014
|
parentSlotId: number;
|
|
@@ -1096,2207 +1096,2212 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
-
export declare
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1099
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
+
entityType: ResourceNameTypeEnum;
|
|
1101
|
+
entityId: number;
|
|
1102
|
+
organizationId?: number;
|
|
1103
|
+
userId?: number;
|
|
1104
|
+
customerId?: number;
|
|
1105
|
+
performingUserId: number;
|
|
1106
|
+
description: string;
|
|
1107
|
+
actionType: ActionTypesEnum;
|
|
1108
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
+
oldValue?: any;
|
|
1110
|
+
newValue?: any;
|
|
1103
1111
|
}
|
|
1104
|
-
export declare
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
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"
|
|
1112
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1113
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1114
|
+
parentId: number;
|
|
1115
|
+
dayOfWeek: number;
|
|
1116
|
+
open: string;
|
|
1117
|
+
close: string;
|
|
1118
|
+
deletedAt?: Date;
|
|
1119
|
+
program: ProgramSeason;
|
|
1120
|
+
availabilityStartDate: string;
|
|
1121
|
+
availabilityEndDate: string;
|
|
1122
|
+
proudct: Product;
|
|
1123
|
+
event: Event;
|
|
1134
1124
|
}
|
|
1135
|
-
export declare
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1125
|
+
export declare class Address extends BondBaseEntity {
|
|
1126
|
+
city?: string;
|
|
1127
|
+
street?: string;
|
|
1128
|
+
streetNum?: string;
|
|
1129
|
+
aptNum?: string;
|
|
1130
|
+
zip?: string;
|
|
1131
|
+
country?: string;
|
|
1132
|
+
state?: string;
|
|
1133
|
+
geo: any;
|
|
1134
|
+
deletedAt?: Date;
|
|
1140
1135
|
}
|
|
1141
|
-
export declare
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1136
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
|
+
questionId: number;
|
|
1138
|
+
question?: Questions;
|
|
1139
|
+
parentId: number;
|
|
1140
|
+
parentType: ResourceNameTypeEnum;
|
|
1141
|
+
answerValue: any;
|
|
1142
|
+
creatorId: number;
|
|
1143
|
+
creatorType: ResourceNameTypeEnum;
|
|
1144
|
+
answerTitleId: number;
|
|
1145
|
+
answerTitle: AnswerTitle;
|
|
1146
|
+
metaData: any | null;
|
|
1147
|
+
questionText: string | null;
|
|
1145
1148
|
}
|
|
1146
|
-
export declare
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
SPECTATOR = 5
|
|
1149
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1150
|
+
questionnaireId: number;
|
|
1151
|
+
userId?: number;
|
|
1152
|
+
answers: Answer[];
|
|
1153
|
+
questionnaire: Questionnaires;
|
|
1152
1154
|
}
|
|
1153
|
-
export declare
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
CLINIC = 3,
|
|
1158
|
-
CAMP = 4,
|
|
1159
|
-
LESSON = 5,
|
|
1160
|
-
CLUB_TEAM = 6
|
|
1155
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1156
|
+
userId: number | null;
|
|
1157
|
+
metadata: object | null;
|
|
1158
|
+
athleteSports: AthleteSports[];
|
|
1161
1159
|
}
|
|
1162
|
-
export declare
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1160
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1161
|
+
athleteId: number | null;
|
|
1162
|
+
sports: number | null;
|
|
1163
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1166
1164
|
}
|
|
1167
|
-
export declare
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
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
|
|
1165
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1166
|
+
entityType: ResourceNameTypeEnum;
|
|
1167
|
+
entityId: number;
|
|
1168
|
+
name: string;
|
|
1169
|
+
startDate: Date;
|
|
1170
|
+
endDate: Date;
|
|
1171
|
+
deletedAt?: Date;
|
|
1227
1172
|
}
|
|
1228
|
-
export declare
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
CANCELLED = 4,
|
|
1233
|
-
ARCHIVE = 5,
|
|
1234
|
-
UNPUBLISHED = 6
|
|
1173
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1174
|
+
id: number;
|
|
1175
|
+
createdAt: Date;
|
|
1176
|
+
updatedAt: Date;
|
|
1235
1177
|
}
|
|
1236
|
-
export declare
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1178
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1179
|
+
reservationId?: number;
|
|
1180
|
+
color?: string;
|
|
1181
|
+
creatorId?: number;
|
|
1182
|
+
creatorType?: string;
|
|
1183
|
+
startDate?: Date | moment.Moment;
|
|
1184
|
+
endDate?: Date | moment.Moment;
|
|
1185
|
+
timezone?: string;
|
|
1186
|
+
spaceId?: number;
|
|
1187
|
+
percentage?: number;
|
|
1188
|
+
status?: string;
|
|
1189
|
+
originalSessionId?: number;
|
|
1190
|
+
isFinal?: boolean;
|
|
1191
|
+
concurrent?: number;
|
|
1192
|
+
deletedAt?: Date;
|
|
1193
|
+
publicNotes?: string;
|
|
1194
|
+
slotType?: SlotTypeEnum;
|
|
1248
1195
|
}
|
|
1249
|
-
export declare
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1196
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1197
|
+
parentId: number;
|
|
1198
|
+
parentType: ResourceNameTypeEnum;
|
|
1199
|
+
startDate: Date;
|
|
1200
|
+
endDate: Date;
|
|
1201
|
+
dayOfWeek: number;
|
|
1202
|
+
startTimeInDay: string;
|
|
1203
|
+
endTimeInDay: string;
|
|
1204
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1253
1205
|
}
|
|
1254
|
-
export declare
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
REFUNDED = "refunded",
|
|
1259
|
-
VOID = "void"
|
|
1206
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1207
|
+
area: string;
|
|
1208
|
+
key: string;
|
|
1209
|
+
value: string;
|
|
1260
1210
|
}
|
|
1261
|
-
export declare
|
|
1262
|
-
|
|
1211
|
+
export declare class Connection extends BondBaseEntity {
|
|
1212
|
+
connType: number | null;
|
|
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;
|
|
1263
1222
|
}
|
|
1264
|
-
export declare
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
CANCELED = "Canceled"
|
|
1223
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1224
|
+
creditAmount: number;
|
|
1225
|
+
paymentProcessorId: string;
|
|
1226
|
+
userId: number;
|
|
1227
|
+
paymentId: number;
|
|
1228
|
+
invoiceId: number;
|
|
1229
|
+
creditPaymentId: number;
|
|
1272
1230
|
}
|
|
1273
|
-
export declare
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1231
|
+
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1232
|
+
name: string | null;
|
|
1233
|
+
entityId: number | null;
|
|
1234
|
+
addressId: number | null;
|
|
1235
|
+
entityType: CustomerTypeEnum | null;
|
|
1236
|
+
customerId: string | null;
|
|
1237
|
+
email: string | null;
|
|
1238
|
+
color: string | null;
|
|
1239
|
+
phoneNumber: string | null;
|
|
1240
|
+
mainMediaId: number | null;
|
|
1241
|
+
creatorId: number | null;
|
|
1242
|
+
creatorType: ResourceNameTypeEnum | null;
|
|
1243
|
+
userCreatorId: number | null;
|
|
1244
|
+
ownerId: number | null;
|
|
1245
|
+
vetted: boolean | null;
|
|
1246
|
+
firstName: string | null;
|
|
1247
|
+
lastName: string | null;
|
|
1248
|
+
waiverSignedDate: string | null;
|
|
1249
|
+
balance: number | null;
|
|
1250
|
+
storedCredit: number;
|
|
1251
|
+
members: (User & Customer)[];
|
|
1252
|
+
emergencyContacts: EmergencyContact[];
|
|
1253
|
+
customerNotes: CustomerNote[];
|
|
1254
|
+
customerCreditTransactions: CustomerCreditTransaction[];
|
|
1255
|
+
productsReservedFor: ProductsReservedForCustomers[];
|
|
1256
|
+
mainMedia: Media;
|
|
1257
|
+
reservations?: Reservation[];
|
|
1282
1258
|
}
|
|
1283
|
-
export declare
|
|
1284
|
-
|
|
1285
|
-
|
|
1259
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1260
|
+
customerId: number;
|
|
1261
|
+
userId: number;
|
|
1262
|
+
amount: number;
|
|
1263
|
+
paymentId?: number;
|
|
1264
|
+
invoiceId?: number;
|
|
1265
|
+
description?: string;
|
|
1266
|
+
deletedAt?: Date;
|
|
1267
|
+
customer: Customer;
|
|
1268
|
+
invoice: Invoice;
|
|
1269
|
+
payment: Payment;
|
|
1286
1270
|
}
|
|
1287
|
-
export declare
|
|
1288
|
-
|
|
1289
|
-
|
|
1271
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1272
|
+
customerId?: number;
|
|
1273
|
+
description: string;
|
|
1274
|
+
pinToTop?: boolean;
|
|
1275
|
+
customer: Customer;
|
|
1290
1276
|
}
|
|
1291
|
-
export declare
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1277
|
+
export declare class Division extends BondBaseEntity {
|
|
1278
|
+
name: string;
|
|
1279
|
+
ordinal?: number;
|
|
1280
|
+
programSeasonId: number;
|
|
1281
|
+
color: string;
|
|
1282
|
+
isDefault: boolean;
|
|
1283
|
+
groups: Group[];
|
|
1295
1284
|
}
|
|
1296
|
-
export declare
|
|
1297
|
-
|
|
1285
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1286
|
+
customerId: number;
|
|
1287
|
+
name: string | null;
|
|
1288
|
+
phoneNumber: string | null;
|
|
1289
|
+
customer: Customer;
|
|
1298
1290
|
}
|
|
1299
|
-
export declare
|
|
1300
|
-
|
|
1301
|
-
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
1302
|
-
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
1291
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1292
|
+
name: string | null;
|
|
1303
1293
|
}
|
|
1304
|
-
export declare
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1294
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1295
|
+
status: RequestStatusEnum | null;
|
|
1296
|
+
hasPaid: boolean | null;
|
|
1297
|
+
paymentId: number | null;
|
|
1298
|
+
attendeeId: number;
|
|
1299
|
+
eventId?: number | null;
|
|
1300
|
+
productUserId?: number;
|
|
1301
|
+
answerTitleIds?: number[];
|
|
1302
|
+
entryStatus?: EntryStatusEnum;
|
|
1303
|
+
addonProductUserIds?: number[];
|
|
1304
|
+
deletedAt?: Date;
|
|
1305
|
+
attendee: User;
|
|
1306
|
+
event: Event;
|
|
1307
|
+
purchasedResource: PurchasedResource;
|
|
1315
1308
|
}
|
|
1316
|
-
export declare
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
WAITING_CLIENT = "waitingClient",
|
|
1320
|
-
CANCELED = "canceled"
|
|
1309
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1310
|
+
groupId: number;
|
|
1311
|
+
terms: IEntitlementTerms[];
|
|
1321
1312
|
}
|
|
1322
|
-
export declare
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1313
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1314
|
+
constructor();
|
|
1315
|
+
defineCalculatedDateTimeProps(): void;
|
|
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;
|
|
1345
1370
|
}
|
|
1346
|
-
export declare
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1371
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1372
|
+
name: string;
|
|
1373
|
+
description?: string;
|
|
1374
|
+
addressId: number;
|
|
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;
|
|
1350
1394
|
}
|
|
1351
|
-
export declare
|
|
1352
|
-
|
|
1353
|
-
|
|
1395
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1396
|
+
facilityId: number;
|
|
1397
|
+
resourceId: number;
|
|
1354
1398
|
}
|
|
1355
|
-
export declare
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
ORGANIZATION = "organization"
|
|
1399
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1400
|
+
name: string | null;
|
|
1401
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1359
1402
|
}
|
|
1360
|
-
export declare
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1403
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1404
|
+
userId: number;
|
|
1405
|
+
invoiceId: number;
|
|
1406
|
+
paymentMethodId: string;
|
|
1407
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1408
|
+
price: number;
|
|
1409
|
+
status: FutureInstallmentStatusEnum;
|
|
1410
|
+
plannedDate: Date;
|
|
1411
|
+
chargedAt?: Date;
|
|
1412
|
+
originalPlannedDate?: Date;
|
|
1364
1413
|
}
|
|
1365
|
-
export declare
|
|
1366
|
-
|
|
1367
|
-
SUCCEEDED = "succeeded",
|
|
1368
|
-
FAILED = "failed",
|
|
1369
|
-
CANCELED = "canceled"
|
|
1414
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1415
|
+
code: string;
|
|
1370
1416
|
}
|
|
1371
|
-
export declare
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1417
|
+
export declare class Group extends BondBaseEntity {
|
|
1418
|
+
name: string;
|
|
1419
|
+
description?: string;
|
|
1420
|
+
status: GroupStatusEnum;
|
|
1421
|
+
maxCapacity?: number;
|
|
1422
|
+
mainMediaId?: number;
|
|
1423
|
+
minAgeYears?: number;
|
|
1424
|
+
maxAgeYears?: number;
|
|
1425
|
+
gender: GenderEnum;
|
|
1426
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1427
|
+
sports: SportsEnum[];
|
|
1428
|
+
questionnaires?: number[];
|
|
1429
|
+
captainUserId?: number;
|
|
1430
|
+
members: ISeasonAttendeeInfo[];
|
|
1431
|
+
users: User[];
|
|
1375
1432
|
}
|
|
1376
|
-
export declare
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1433
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1434
|
+
groupId: number;
|
|
1435
|
+
itemId: number;
|
|
1436
|
+
itemType: ResourceNameTypeEnum;
|
|
1437
|
+
startDate: Date;
|
|
1438
|
+
endDate: Date;
|
|
1439
|
+
price: number;
|
|
1440
|
+
overridesPrice: boolean;
|
|
1441
|
+
deletedAt?: Date;
|
|
1442
|
+
group?: EntitlementGroup;
|
|
1443
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1444
|
+
discountValue?: number;
|
|
1380
1445
|
}
|
|
1381
|
-
export declare
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1446
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1447
|
+
groupId: number;
|
|
1448
|
+
divisionId: number;
|
|
1449
|
+
deletedAt?: Date;
|
|
1385
1450
|
}
|
|
1386
|
-
export declare
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1451
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1452
|
+
invoiceId: string | null;
|
|
1453
|
+
price: number | null;
|
|
1454
|
+
status: InvoiceStatusEnum | null;
|
|
1455
|
+
sentForClientDate: Date | null;
|
|
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[];
|
|
1393
1474
|
}
|
|
1394
|
-
export declare
|
|
1395
|
-
|
|
1396
|
-
|
|
1475
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1476
|
+
email: string;
|
|
1477
|
+
status: EEmailStatus;
|
|
1478
|
+
templateId: string;
|
|
1479
|
+
userId: number;
|
|
1480
|
+
invoiceId: number;
|
|
1481
|
+
paymentId: number;
|
|
1482
|
+
sendingUserId: number;
|
|
1483
|
+
mailParams?: any;
|
|
1484
|
+
memo?: string;
|
|
1397
1485
|
}
|
|
1398
|
-
export declare
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1486
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
|
+
content: string;
|
|
1488
|
+
creatingUserId: number;
|
|
1489
|
+
user: User;
|
|
1490
|
+
isPublic: boolean;
|
|
1491
|
+
deletedAt: Date;
|
|
1492
|
+
invoiceId: number;
|
|
1493
|
+
invoice: Invoice;
|
|
1406
1494
|
}
|
|
1407
|
-
export declare
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1495
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1496
|
+
invoiceId: number;
|
|
1497
|
+
paymentId: number;
|
|
1498
|
+
invoice: Invoice;
|
|
1499
|
+
payment: Payment;
|
|
1500
|
+
paidAmount?: number;
|
|
1501
|
+
currency: CurrencyEnum;
|
|
1412
1502
|
}
|
|
1413
|
-
export declare
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
PORTABLE_RESTROOMS = 9,
|
|
1439
|
-
LIGHTS = 10,
|
|
1440
|
-
LOCKER_ROOM = 11,
|
|
1441
|
-
PAID_PARKING = 12,
|
|
1442
|
-
ACCESSIBLE = 13
|
|
1503
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1504
|
+
name: string | null;
|
|
1505
|
+
description: string | null;
|
|
1506
|
+
allowBookingRequest: boolean | null;
|
|
1507
|
+
addressName: string | null;
|
|
1508
|
+
shortDescription: string | null;
|
|
1509
|
+
waiverDoc: string | null;
|
|
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[];
|
|
1443
1528
|
}
|
|
1444
|
-
export declare
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1529
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
1530
|
+
leagueId: number | null;
|
|
1531
|
+
name: string | null;
|
|
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[];
|
|
1455
1568
|
}
|
|
1456
|
-
export declare
|
|
1457
|
-
|
|
1569
|
+
export declare class LeagueSeasonRelations {
|
|
1570
|
+
league?: boolean;
|
|
1571
|
+
facilities?: boolean;
|
|
1458
1572
|
}
|
|
1459
|
-
export declare
|
|
1460
|
-
|
|
1461
|
-
|
|
1573
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1574
|
+
invoiceId: number;
|
|
1575
|
+
paymentId: number;
|
|
1576
|
+
lineItemId: number;
|
|
1577
|
+
paidAmount: number;
|
|
1578
|
+
unitPaidAmount: number;
|
|
1579
|
+
currency: CurrencyEnum;
|
|
1580
|
+
payment: Payment;
|
|
1581
|
+
lineItem: LineItems;
|
|
1462
1582
|
}
|
|
1463
|
-
export declare
|
|
1464
|
-
|
|
1465
|
-
|
|
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;
|
|
1466
1637
|
}
|
|
1467
|
-
export declare
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1638
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1639
|
+
id: number;
|
|
1640
|
+
provider: string;
|
|
1641
|
+
providerId: string | null;
|
|
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;
|
|
1477
1653
|
}
|
|
1478
|
-
export declare
|
|
1479
|
-
|
|
1480
|
-
|
|
1654
|
+
export declare class Media extends BondBaseEntity {
|
|
1655
|
+
url: string;
|
|
1656
|
+
name: string | null;
|
|
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[];
|
|
1481
1672
|
}
|
|
1482
|
-
export declare
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1673
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1674
|
+
name: string;
|
|
1675
|
+
description?: string;
|
|
1676
|
+
mainMedia?: Media;
|
|
1677
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1678
|
+
activity?: SportsEnum;
|
|
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[];
|
|
1486
1700
|
}
|
|
1487
|
-
export declare
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1701
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1702
|
+
membership: Membership;
|
|
1703
|
+
membershipId: number;
|
|
1704
|
+
productUserId: number;
|
|
1705
|
+
productUser?: ProductsUsers;
|
|
1706
|
+
userId: number;
|
|
1707
|
+
membershipType: MembershipTypeEnum;
|
|
1708
|
+
durationMonths?: number;
|
|
1709
|
+
startDate?: string;
|
|
1710
|
+
endDate?: string;
|
|
1711
|
+
renewalOfMemberId?: number;
|
|
1712
|
+
isAutoRenew?: boolean;
|
|
1713
|
+
nextPaymentMethodId?: string;
|
|
1714
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1715
|
+
answerTitleIds?: number[];
|
|
1716
|
+
cancelledAt?: Date | null;
|
|
1717
|
+
cancellationReason?: string;
|
|
1718
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1719
|
+
isImported?: boolean;
|
|
1494
1720
|
}
|
|
1495
|
-
export declare
|
|
1496
|
-
|
|
1497
|
-
|
|
1721
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1722
|
+
email: string | null;
|
|
1723
|
+
notificationType: NotificationTypeEnum | null;
|
|
1724
|
+
resourceId: number | null;
|
|
1725
|
+
resourceType: string | null;
|
|
1498
1726
|
}
|
|
1499
|
-
export declare
|
|
1500
|
-
|
|
1727
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1728
|
+
id: number;
|
|
1729
|
+
dayOfWeek: number;
|
|
1730
|
+
open: string;
|
|
1731
|
+
close: string;
|
|
1732
|
+
facilityId: number;
|
|
1733
|
+
createdAt: Date;
|
|
1734
|
+
updatedAt: Date;
|
|
1735
|
+
deletedAt?: Date;
|
|
1736
|
+
facility: Facility;
|
|
1501
1737
|
}
|
|
1502
|
-
export declare
|
|
1503
|
-
|
|
1738
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
|
+
organizationId: number;
|
|
1504
1740
|
}
|
|
1505
|
-
export declare
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1741
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1742
|
+
name?: string;
|
|
1743
|
+
description?: string;
|
|
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;
|
|
1509
1757
|
}
|
|
1510
|
-
export declare
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1758
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
|
+
token: string | null;
|
|
1760
|
+
userId: number | null;
|
|
1761
|
+
validUntil: Date | null;
|
|
1762
|
+
active: boolean | null;
|
|
1515
1763
|
}
|
|
1516
|
-
export declare
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1764
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1765
|
+
price: number;
|
|
1766
|
+
paymentProcessorId: string;
|
|
1767
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1768
|
+
paymentStatus: PaymentStatusEnum;
|
|
1769
|
+
bondFee?: number;
|
|
1770
|
+
stripeFee?: number;
|
|
1771
|
+
currency: CurrencyEnum;
|
|
1772
|
+
payingUserId?: number;
|
|
1773
|
+
paymentMethodId?: string;
|
|
1774
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1775
|
+
fundLeft: number;
|
|
1776
|
+
notes?: string;
|
|
1777
|
+
isRefunded: boolean;
|
|
1778
|
+
lineItemHistory: LineItemHistory[];
|
|
1779
|
+
receiptUrl?: string;
|
|
1780
|
+
paymentProcessorTransactionId?: string;
|
|
1781
|
+
creatingUserId: number;
|
|
1782
|
+
shiftId: number;
|
|
1783
|
+
platform: PlatformsEnum;
|
|
1784
|
+
ccLast4: string;
|
|
1785
|
+
ccBrand: string;
|
|
1786
|
+
paymentNotes: PaymentNote[];
|
|
1787
|
+
parentInvoiceId?: number;
|
|
1788
|
+
refundReasonId?: number;
|
|
1789
|
+
refundNote?: string;
|
|
1522
1790
|
}
|
|
1523
|
-
export declare
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
MANAGMENT_CLOSED = "closed_by_manager",
|
|
1527
|
-
RECONCILED = "reconciled"
|
|
1791
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1792
|
+
failureIndex: number;
|
|
1793
|
+
waitingDays: number;
|
|
1528
1794
|
}
|
|
1529
|
-
export declare
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
CLOSED = 5,
|
|
1535
|
-
DELETED = 6
|
|
1795
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1796
|
+
paymentInstallmentId?: number;
|
|
1797
|
+
invoiceId: number;
|
|
1798
|
+
reason: EFailedPaymentReasons;
|
|
1799
|
+
errorMessage: string;
|
|
1536
1800
|
}
|
|
1537
|
-
export declare
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1801
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1802
|
+
content: string;
|
|
1803
|
+
creatingUserId: number;
|
|
1804
|
+
user: User;
|
|
1805
|
+
isPublic: boolean;
|
|
1806
|
+
deletedAt: Date;
|
|
1807
|
+
paymentId: number;
|
|
1808
|
+
payment: Payment;
|
|
1543
1809
|
}
|
|
1544
|
-
export declare
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1810
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1811
|
+
paymentPlanId: number;
|
|
1812
|
+
paymentDate: Date;
|
|
1813
|
+
deletedAt?: Date;
|
|
1814
|
+
paymentPlan: ProductPaymentPlan;
|
|
1548
1815
|
}
|
|
1549
|
-
export declare
|
|
1550
|
-
|
|
1551
|
-
|
|
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;
|
|
1552
1833
|
}
|
|
1553
|
-
export declare
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
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;
|
|
1559
1850
|
}
|
|
1560
|
-
export declare
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1851
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1852
|
+
parentProductId: number;
|
|
1853
|
+
childProductId: number;
|
|
1854
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1855
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1856
|
+
deletedAt?: Date;
|
|
1857
|
+
productResource: ProductResource;
|
|
1858
|
+
childProduct: Product;
|
|
1859
|
+
parentProduct: Product;
|
|
1860
|
+
price: number;
|
|
1861
|
+
isFlatPrice: boolean;
|
|
1862
|
+
durationMinutes?: number;
|
|
1863
|
+
durationDays?: number;
|
|
1864
|
+
level?: ProductPackageLevelEnum;
|
|
1565
1865
|
}
|
|
1566
|
-
export declare
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1866
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1867
|
+
productId: number;
|
|
1868
|
+
maxMonths?: number;
|
|
1869
|
+
dayOfMonth?: number;
|
|
1870
|
+
name: string;
|
|
1871
|
+
deletedAt?: Date;
|
|
1872
|
+
schedule: PaymentPlanSchedule[];
|
|
1873
|
+
product?: Product;
|
|
1570
1874
|
}
|
|
1571
|
-
export declare
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1875
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1876
|
+
name: string;
|
|
1877
|
+
quantity: number;
|
|
1878
|
+
paymentProcessorId?: string;
|
|
1879
|
+
startDate?: Date;
|
|
1880
|
+
endDate?: Date;
|
|
1881
|
+
isPublic: boolean;
|
|
1882
|
+
productType?: ProductTypesEnum;
|
|
1883
|
+
GL?: string;
|
|
1884
|
+
downpayment?: number;
|
|
1885
|
+
description?: string;
|
|
1886
|
+
prices: Price[];
|
|
1887
|
+
currPrice: Price;
|
|
1888
|
+
productSubType?: ProductSubTypesEnum;
|
|
1889
|
+
punchCard: boolean;
|
|
1890
|
+
requiredProductIds?: number[];
|
|
1891
|
+
lineItems: LineItems[];
|
|
1892
|
+
resources: IResourcesAvailability[];
|
|
1893
|
+
variantParentId?: number;
|
|
1894
|
+
isAddon: boolean;
|
|
1895
|
+
isArchive: boolean;
|
|
1896
|
+
productVariants: Product[];
|
|
1897
|
+
variantParentProduct: Product;
|
|
1898
|
+
variantsObj: Variant[];
|
|
1899
|
+
variantTitlesObj: VariantTitle[];
|
|
1900
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1901
|
+
deletedAt?: Date;
|
|
1902
|
+
productsUsers: ProductsUsers[];
|
|
1903
|
+
isProRated: boolean;
|
|
1904
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1905
|
+
defaultPriceId?: number;
|
|
1906
|
+
tax: number;
|
|
1907
|
+
isTaxInclusive: boolean;
|
|
1908
|
+
defaultPrice?: Price;
|
|
1909
|
+
addOns?: IChildProduct[];
|
|
1910
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1911
|
+
productResources: ProductResource[];
|
|
1912
|
+
parentProductPackages: ProductPackage[];
|
|
1913
|
+
childProductPackages: ProductPackage[];
|
|
1914
|
+
sports?: number[] | null;
|
|
1915
|
+
durationMinutes?: number;
|
|
1916
|
+
durationDays?: number;
|
|
1917
|
+
forms?: number[] | null;
|
|
1918
|
+
isForAllCustomers?: boolean;
|
|
1919
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1920
|
+
reservedForCustomers: Customer[];
|
|
1921
|
+
reservedForMemberships: Membership[];
|
|
1922
|
+
activityTimes: ActivityTimes[];
|
|
1923
|
+
purchasedResources: PurchasedResource[];
|
|
1575
1924
|
}
|
|
1576
|
-
export declare
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1925
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
|
+
productId: number;
|
|
1927
|
+
resourceId: number;
|
|
1928
|
+
resourceType: ResourceNameTypeEnum;
|
|
1929
|
+
deletedAt?: Date;
|
|
1930
|
+
programSeason: ProgramSeason;
|
|
1931
|
+
event: Event;
|
|
1932
|
+
product: Product;
|
|
1933
|
+
productPackages: ProductPackage[];
|
|
1934
|
+
resourceName?: string;
|
|
1935
|
+
}
|
|
1936
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1937
|
+
productId: number;
|
|
1938
|
+
variantTitleId: number;
|
|
1584
1939
|
}
|
|
1585
|
-
export declare
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
YES = "yes"
|
|
1940
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1941
|
+
productId: number;
|
|
1942
|
+
variantId: number;
|
|
1589
1943
|
}
|
|
1590
|
-
export declare
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1944
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1945
|
+
productId: number;
|
|
1946
|
+
customerId: number;
|
|
1947
|
+
customer: Customer;
|
|
1948
|
+
deletedAt?: Date;
|
|
1949
|
+
product: Product;
|
|
1594
1950
|
}
|
|
1595
|
-
export declare
|
|
1596
|
-
|
|
1597
|
-
|
|
1951
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
|
+
productId: number;
|
|
1953
|
+
userId: number;
|
|
1954
|
+
user?: User;
|
|
1955
|
+
paymentStatus: PaymentStatusEnum;
|
|
1956
|
+
productName: string;
|
|
1957
|
+
productPrice: number;
|
|
1958
|
+
productQuantity: number;
|
|
1959
|
+
productQuantityLeft: number;
|
|
1960
|
+
productPriceCurrency: CurrencyEnum;
|
|
1961
|
+
ordinal?: number;
|
|
1962
|
+
purchasedResources: PurchasedResource[];
|
|
1963
|
+
product: Product;
|
|
1964
|
+
lineItem: LineItems;
|
|
1965
|
+
slots?: Slot[];
|
|
1966
|
+
addons?: Addon[];
|
|
1598
1967
|
}
|
|
1599
|
-
export declare
|
|
1600
|
-
|
|
1601
|
-
|
|
1968
|
+
export declare class Program extends BondBaseEntity {
|
|
1969
|
+
type: ProgramTypesEnum;
|
|
1970
|
+
name: string;
|
|
1971
|
+
sport: SportsEnum;
|
|
1972
|
+
minAge: string;
|
|
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[];
|
|
1602
1989
|
}
|
|
1603
|
-
export declare
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1990
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1991
|
+
type: ProgramHighlightTypeEnum;
|
|
1992
|
+
ordinal: number | null;
|
|
1993
|
+
title: string | null;
|
|
1994
|
+
data: any | null;
|
|
1995
|
+
program: Program;
|
|
1996
|
+
deletedAt?: Date;
|
|
1609
1997
|
}
|
|
1610
|
-
export declare
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1998
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
1999
|
+
programId: number;
|
|
2000
|
+
name: string;
|
|
2001
|
+
description: string | null;
|
|
2002
|
+
GL?: string | null;
|
|
2003
|
+
status: PublishingStatusEnum;
|
|
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[];
|
|
1614
2052
|
}
|
|
1615
|
-
export declare
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
2053
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2054
|
+
productUserId: number;
|
|
2055
|
+
resourceId: number;
|
|
2056
|
+
resourceType: ResourceNameTypeEnum;
|
|
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;
|
|
1619
2074
|
}
|
|
1620
|
-
export declare
|
|
1621
|
-
|
|
1622
|
-
|
|
2075
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2076
|
+
title: string | null;
|
|
2077
|
+
answerTitle: AnswerTitle;
|
|
1623
2078
|
}
|
|
1624
|
-
export declare
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
2079
|
+
export declare class Questions extends BondBaseEntity {
|
|
2080
|
+
questionType: string | null;
|
|
2081
|
+
ordinal: number | null;
|
|
2082
|
+
pageOrdinal: number | null;
|
|
2083
|
+
isActive: boolean | null;
|
|
2084
|
+
isMandatory: boolean | null;
|
|
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;
|
|
1629
2092
|
}
|
|
1630
|
-
export declare
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
DISABLED_EMAIL = 4
|
|
2093
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
|
+
reason: string;
|
|
2095
|
+
ordinal: number;
|
|
2096
|
+
deletedAt: Date;
|
|
1635
2097
|
}
|
|
1636
|
-
export declare
|
|
1637
|
-
|
|
2098
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2099
|
+
resourceType: ResourceNameTypeEnum;
|
|
2100
|
+
resourceId: number;
|
|
2101
|
+
openNumDays?: number;
|
|
2102
|
+
openNumMinutes?: number;
|
|
2103
|
+
openTime?: string;
|
|
2104
|
+
closeNumDays?: number;
|
|
2105
|
+
closeNumMinutes?: number;
|
|
2106
|
+
closeTime?: string;
|
|
2107
|
+
deletedAt?: Date;
|
|
2108
|
+
}
|
|
2109
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2110
|
+
name?: string;
|
|
2111
|
+
description?: string;
|
|
2112
|
+
color?: string;
|
|
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[];
|
|
2140
|
+
}
|
|
2141
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2142
|
+
name: string;
|
|
2143
|
+
resourceType: ResourceTypeEnum;
|
|
2144
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2145
|
+
description?: string;
|
|
2146
|
+
longDescription?: string;
|
|
2147
|
+
surface?: SurfacesEnum;
|
|
2148
|
+
properties?: SpacePropertiesEnum[];
|
|
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;
|
|
1638
2168
|
}
|
|
1639
|
-
export declare
|
|
1640
|
-
|
|
1641
|
-
|
|
2169
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2170
|
+
name: string;
|
|
2171
|
+
facilityId: number;
|
|
2172
|
+
parentSlotId: number;
|
|
2173
|
+
childrenSlotIds: number[];
|
|
2174
|
+
deletedAt?: Date;
|
|
1642
2175
|
}
|
|
1643
|
-
export
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
2176
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2177
|
+
status: RequestStatusEnum;
|
|
2178
|
+
paymentStatus: PaymentStatusEnum;
|
|
2179
|
+
paymentId?: number;
|
|
2180
|
+
productId?: number;
|
|
2181
|
+
attendeeId: number;
|
|
2182
|
+
attendee: User;
|
|
2183
|
+
seasonId: number;
|
|
2184
|
+
season: ProgramSeason;
|
|
2185
|
+
productUserId?: number;
|
|
2186
|
+
answerTitleIds?: number[];
|
|
2187
|
+
deletedAt?: Date;
|
|
2188
|
+
purchasedResource: PurchasedResource;
|
|
1649
2189
|
}
|
|
1650
|
-
export
|
|
1651
|
-
|
|
1652
|
-
|
|
2190
|
+
export declare class School extends BondBaseEntity {
|
|
2191
|
+
name: string | null;
|
|
2192
|
+
alias: string[] | null;
|
|
2193
|
+
addressId: number | null;
|
|
2194
|
+
website: string | null;
|
|
2195
|
+
phone: string | null;
|
|
2196
|
+
dataId: number | null;
|
|
1653
2197
|
}
|
|
1654
|
-
export
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
price: number;
|
|
1660
|
-
overridesPrice: boolean;
|
|
2198
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2199
|
+
name: string | null;
|
|
2200
|
+
ordinal: number | null;
|
|
2201
|
+
seasonId: number | null;
|
|
2202
|
+
color: string | null;
|
|
1661
2203
|
}
|
|
1662
|
-
export
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
2204
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2205
|
+
seasonId?: number;
|
|
2206
|
+
userId?: number;
|
|
2207
|
+
status?: number;
|
|
2208
|
+
entityId?: number;
|
|
2209
|
+
entityType?: string;
|
|
2210
|
+
groupId?: string;
|
|
2211
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2212
|
+
metadata?: any;
|
|
2213
|
+
paymentId?: number;
|
|
2214
|
+
externalAssign?: boolean;
|
|
2215
|
+
productUserId?: number;
|
|
2216
|
+
purchasedResource: PurchasedResource;
|
|
2217
|
+
season: LeagueSeason;
|
|
1668
2218
|
}
|
|
1669
|
-
export
|
|
1670
|
-
|
|
1671
|
-
|
|
2219
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2220
|
+
blockingSpaceId: number;
|
|
2221
|
+
blockedSpaceId: number;
|
|
1672
2222
|
}
|
|
1673
|
-
export
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
2223
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
|
+
seasonId: number | null;
|
|
2225
|
+
teamId: number | null;
|
|
2226
|
+
standingPosition: number | null;
|
|
2227
|
+
statistics: any | null;
|
|
2228
|
+
points: number | null;
|
|
2229
|
+
divisionId: number | null;
|
|
2230
|
+
metaData: any | null;
|
|
2231
|
+
team: Team;
|
|
1677
2232
|
}
|
|
1678
|
-
export
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
2233
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2234
|
+
name: string;
|
|
2235
|
+
facilityId: number;
|
|
2236
|
+
processorTerminalId: string | null;
|
|
2237
|
+
terminaLabel: string | null;
|
|
2238
|
+
processorSerialNumber: string | null;
|
|
2239
|
+
currentOpenShift?: Shift;
|
|
2240
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2241
|
+
subcategories: Subcategory[];
|
|
2242
|
+
shifts?: Shift[];
|
|
1685
2243
|
}
|
|
1686
|
-
export
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
customerId: number;
|
|
1694
|
-
customerEmail: string;
|
|
1695
|
-
paymentStatus: string;
|
|
1696
|
-
productName: string;
|
|
1697
|
-
punchCard: boolean;
|
|
2244
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2245
|
+
stationId: number;
|
|
2246
|
+
subcategoryId: number;
|
|
2247
|
+
productType: ProductTypesEnum;
|
|
2248
|
+
deletedAt?: Date;
|
|
2249
|
+
station: Station;
|
|
2250
|
+
subcategory: Subcategory;
|
|
1698
2251
|
}
|
|
1699
|
-
export declare class
|
|
1700
|
-
|
|
1701
|
-
|
|
2252
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2253
|
+
productType: ProductTypesEnum;
|
|
2254
|
+
name: string;
|
|
2255
|
+
ordinal?: number;
|
|
2256
|
+
deletedAt?: Date;
|
|
2257
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2258
|
+
stations: Station[];
|
|
1702
2259
|
}
|
|
1703
|
-
export declare class
|
|
1704
|
-
|
|
1705
|
-
|
|
2260
|
+
export declare class Team extends BondBaseEntity {
|
|
2261
|
+
name: string | null;
|
|
2262
|
+
description: string | null;
|
|
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;
|
|
1706
2293
|
}
|
|
1707
|
-
export
|
|
2294
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2295
|
+
email: string;
|
|
2296
|
+
teamId: number;
|
|
2297
|
+
invitedUserId?: number;
|
|
2298
|
+
userCreatorId: number;
|
|
1708
2299
|
token: string;
|
|
2300
|
+
tokenExpirationDate: Date;
|
|
2301
|
+
isUsed: boolean;
|
|
1709
2302
|
}
|
|
1710
|
-
export
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
paymentData: PurchasePaymentDto;
|
|
1719
|
-
amountToPay: number;
|
|
1720
|
-
}
|
|
1721
|
-
export interface IPayment {
|
|
1722
|
-
id: number;
|
|
1723
|
-
total: number;
|
|
1724
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
1725
|
-
status: PaymentStatusEnum;
|
|
1726
|
-
createdAt: Date;
|
|
1727
|
-
invoices: number[];
|
|
2303
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2304
|
+
teamId: number | null;
|
|
2305
|
+
userId: number | null;
|
|
2306
|
+
paymentId: number | null;
|
|
2307
|
+
hasPaid: boolean | null;
|
|
2308
|
+
status: TeamMemberStatusEnum | null;
|
|
2309
|
+
role: TeamMemberRoleEnum;
|
|
2310
|
+
user: User;
|
|
1728
2311
|
}
|
|
1729
|
-
export
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
2312
|
+
export declare class User extends BondBaseEntity {
|
|
2313
|
+
firstName: string | null;
|
|
2314
|
+
lastName: string | null;
|
|
2315
|
+
email: string | null;
|
|
2316
|
+
phoneNumber: string | null;
|
|
2317
|
+
about: string | null;
|
|
2318
|
+
password: string | null;
|
|
2319
|
+
passwordResetToken: string | null;
|
|
2320
|
+
passwordResetExpires: Date | null;
|
|
2321
|
+
status: string | null;
|
|
2322
|
+
pushNotifications: boolean | null;
|
|
2323
|
+
notificationSettings: any | null;
|
|
2324
|
+
addressId: number | null;
|
|
2325
|
+
address: Address;
|
|
2326
|
+
currentAddressId: number | null;
|
|
2327
|
+
merchantId: number | null;
|
|
2328
|
+
loginToken: string | null;
|
|
2329
|
+
gender: GenderEnum | null;
|
|
2330
|
+
height: number | null;
|
|
2331
|
+
weight: number | null;
|
|
2332
|
+
birthDate: Date | null;
|
|
2333
|
+
lastLogin: Date | null;
|
|
2334
|
+
lastInteractionDay: Date | null;
|
|
2335
|
+
createAsId: number | null;
|
|
2336
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
2337
|
+
motto: string | null;
|
|
2338
|
+
privateProfile: boolean | null;
|
|
2339
|
+
allowMultiSignHack: boolean | null;
|
|
2340
|
+
deletedAt: Date | null;
|
|
2341
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2342
|
+
athlete: Athlete;
|
|
2343
|
+
eventAttendees: EventAttendee[];
|
|
2344
|
+
seasonAttendees: SeasonAttendee[];
|
|
2345
|
+
linkedAccounts: LinkedAccounts[];
|
|
2346
|
+
profilePicture: Media;
|
|
2347
|
+
usersRoles: UserRole[];
|
|
2348
|
+
invoiceNotes: InvoiceNote[];
|
|
2349
|
+
paymentNotes: PaymentNote[];
|
|
1737
2350
|
}
|
|
1738
|
-
export
|
|
1739
|
-
|
|
2351
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2352
|
+
entityId: number | null;
|
|
2353
|
+
userId: number | null;
|
|
2354
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2355
|
+
user: User;
|
|
2356
|
+
}
|
|
2357
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2358
|
+
familyAccountId: number;
|
|
1740
2359
|
userId: number;
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
priceWithoutTax: number;
|
|
1746
|
-
tax: number;
|
|
1747
|
-
isTaxInclusive: boolean;
|
|
2360
|
+
isAdmin: boolean;
|
|
2361
|
+
user: User;
|
|
2362
|
+
familyAccount: FamilyAccount;
|
|
2363
|
+
deletedAt?: Date;
|
|
1748
2364
|
}
|
|
1749
|
-
export
|
|
1750
|
-
|
|
2365
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
|
+
userId: number;
|
|
2367
|
+
failCount: number;
|
|
2368
|
+
isDefault?: boolean;
|
|
2369
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
1751
2370
|
paymentMethodId: string;
|
|
1752
|
-
|
|
1753
|
-
ccLast4?: string;
|
|
1754
|
-
ccBrand?: string;
|
|
1755
|
-
}
|
|
1756
|
-
export interface IVariantsAndTitle {
|
|
1757
|
-
title: VariantTitle;
|
|
1758
|
-
variants: Variant[];
|
|
2371
|
+
nextAllowedChargeDate?: Date;
|
|
1759
2372
|
}
|
|
1760
|
-
export
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
2373
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2374
|
+
groupId: number;
|
|
2375
|
+
userId: number;
|
|
2376
|
+
deletedAt?: Date;
|
|
1764
2377
|
}
|
|
1765
|
-
export
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
endTime: string;
|
|
2378
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2379
|
+
name: string;
|
|
2380
|
+
variants: Variant[];
|
|
1769
2381
|
}
|
|
1770
|
-
export
|
|
2382
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
1771
2383
|
name: string;
|
|
1772
|
-
|
|
1773
|
-
|
|
2384
|
+
variantTitleId: number;
|
|
2385
|
+
variantTitle: VariantTitle;
|
|
2386
|
+
deletedAt?: Date;
|
|
1774
2387
|
}
|
|
1775
|
-
export
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
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;
|
|
2388
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2389
|
+
projectToken: string;
|
|
2390
|
+
programTypesCollectionId?: string;
|
|
2391
|
+
programTagsCollectionId?: string;
|
|
2392
|
+
sportsCollectionId?: string;
|
|
2393
|
+
membershipCollectionId?: string;
|
|
2394
|
+
programsCollectionId?: string;
|
|
1793
2395
|
}
|
|
1794
|
-
export
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
invoice_id: number;
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
1799
2400
|
}
|
|
1800
|
-
export
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
2401
|
+
export declare enum ResourceNameTypeEnum {
|
|
2402
|
+
EVENT = "event",
|
|
2403
|
+
VENUE = "venue",
|
|
2404
|
+
TEAM = "team",
|
|
2405
|
+
LEAGUE = "league",
|
|
2406
|
+
USER = "user",
|
|
2407
|
+
ORGANIZATION = "organization",
|
|
2408
|
+
APP = "app",
|
|
2409
|
+
FEED = "feed",
|
|
2410
|
+
MATCH = "match",
|
|
2411
|
+
ROUND = "round",
|
|
2412
|
+
PORTAL = "portal",
|
|
2413
|
+
SEASON = "season",
|
|
2414
|
+
TOURNAMENT = "tournament",
|
|
2415
|
+
MEMBERSHIP = "membership",
|
|
2416
|
+
DIVISION = "division",
|
|
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"
|
|
1810
2431
|
}
|
|
1811
|
-
export
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
2432
|
+
export declare enum DirectBookingTypesEnum {
|
|
2433
|
+
DIRECT_FOR_ALL = "all",
|
|
2434
|
+
DIRECT_FOR_NONE = "none",
|
|
2435
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2436
|
+
NO_SETTING = "no_setting"
|
|
1815
2437
|
}
|
|
1816
|
-
export
|
|
1817
|
-
|
|
1818
|
-
|
|
2438
|
+
export declare enum GenderEnum {
|
|
2439
|
+
OTHER = 1,
|
|
2440
|
+
MALE = 2,
|
|
2441
|
+
FEMALE = 3
|
|
1819
2442
|
}
|
|
1820
|
-
export
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
organizationName: string;
|
|
1827
|
-
programName: string;
|
|
2443
|
+
export declare enum LevelOfPlayEnum {
|
|
2444
|
+
BEGINNER = 1,
|
|
2445
|
+
INTERMEDIATE = 2,
|
|
2446
|
+
ADVANCED = 3,
|
|
2447
|
+
SEMIPRO = 4,
|
|
2448
|
+
SPECTATOR = 5
|
|
1828
2449
|
}
|
|
1829
|
-
export
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
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;
|
|
2450
|
+
export declare enum ProgramTypesEnum {
|
|
2451
|
+
LEAGUE = 0,
|
|
2452
|
+
TOURNAMENT = 1,
|
|
2453
|
+
CLASS = 2,
|
|
2454
|
+
CLINIC = 3,
|
|
2455
|
+
CAMP = 4,
|
|
2456
|
+
LESSON = 5,
|
|
2457
|
+
CLUB_TEAM = 6
|
|
1847
2458
|
}
|
|
1848
|
-
export
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
2459
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2460
|
+
ROUND_ROBIN = 1,
|
|
2461
|
+
BRACKETS = 2,
|
|
2462
|
+
CAMP_CLINIC_CLASS = 3
|
|
2463
|
+
}
|
|
2464
|
+
export declare enum SportsEnum {
|
|
2465
|
+
SOFTBALL = 1,
|
|
2466
|
+
BASKETBALL = 2,
|
|
2467
|
+
FOOTBALL = 3,
|
|
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
|
|
1852
2524
|
}
|
|
1853
|
-
export
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
2525
|
+
export declare enum PublishingStatusEnum {
|
|
2526
|
+
DRAFT = 1,
|
|
2527
|
+
PUBLISHED = 2,
|
|
2528
|
+
CLOSED = 3,
|
|
2529
|
+
CANCELLED = 4,
|
|
2530
|
+
ARCHIVE = 5,
|
|
2531
|
+
UNPUBLISHED = 6
|
|
1857
2532
|
}
|
|
1858
|
-
export
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
isPrivate: boolean;
|
|
2533
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2534
|
+
OTHER = 1,
|
|
2535
|
+
MINAGE = 2,
|
|
2536
|
+
MAXAGE = 3,
|
|
2537
|
+
GENDER = 4,
|
|
2538
|
+
LEVELOFPLAY = 5,
|
|
2539
|
+
GAMESSEASON = 6,
|
|
2540
|
+
MINWEEK = 7,
|
|
2541
|
+
SURFACE = 8,
|
|
2542
|
+
FORMAT = 9,
|
|
2543
|
+
PLAYERS_PER_TEAM = 10,
|
|
2544
|
+
MATCH_LENGTH = 12
|
|
1871
2545
|
}
|
|
1872
|
-
export
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
maxParticipants: number;
|
|
1877
|
-
maxMaleParticipants: number;
|
|
1878
|
-
maxFemaleParticipants: number;
|
|
1879
|
-
isPunchCard: boolean;
|
|
2546
|
+
export declare enum RequestStatusEnum {
|
|
2547
|
+
PENDING = 1,
|
|
2548
|
+
ACCEPTED = 2,
|
|
2549
|
+
DECLINED = 3
|
|
1880
2550
|
}
|
|
1881
|
-
export
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
2551
|
+
export declare enum PaymentStatusEnum {
|
|
2552
|
+
NOT_PAID = "not_paid",
|
|
2553
|
+
PARTIAL_PAYMENT = "partial",
|
|
2554
|
+
FULLY_PAID = "paid",
|
|
2555
|
+
REFUNDED = "refunded",
|
|
2556
|
+
VOID = "void"
|
|
1885
2557
|
}
|
|
1886
|
-
export
|
|
1887
|
-
|
|
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;
|
|
2558
|
+
export declare enum ReservationExtendedEnum {
|
|
2559
|
+
PURCHASE_ORDER = "purchase_order"
|
|
1900
2560
|
}
|
|
1901
|
-
export
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
pUserProductId: number;
|
|
1910
|
-
pUserProductName: string;
|
|
1911
|
-
pUserProductPrice: number;
|
|
1912
|
-
pUserProductPriceCurrency: string;
|
|
1913
|
-
pUserProductQuantity: number;
|
|
1914
|
-
pUserProductQuantityLeft: number;
|
|
1915
|
-
pUserUserId: number;
|
|
2561
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2562
|
+
export declare enum ReservationStatusEnum {
|
|
2563
|
+
PLANNED = "Planned",
|
|
2564
|
+
APPROVED = "Approved",
|
|
2565
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2566
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2567
|
+
REJECTED = "Rejected",
|
|
2568
|
+
CANCELED = "Canceled"
|
|
1916
2569
|
}
|
|
1917
|
-
export
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
productId: number;
|
|
1927
|
-
productName: string;
|
|
1928
|
-
productUserId: number;
|
|
1929
|
-
purchaseDate: Date;
|
|
1930
|
-
passesLeft: number;
|
|
2570
|
+
export declare enum PaymentStatusV1Enum {
|
|
2571
|
+
SENT_TO_CLIENT = 1,
|
|
2572
|
+
SENT_FOR_PAYMENT = 2,
|
|
2573
|
+
ACCEPTED = 3,
|
|
2574
|
+
REJECTED = 4,
|
|
2575
|
+
CANCELLED = 5,
|
|
2576
|
+
FRAUD = 6,
|
|
2577
|
+
NOT_RELEVANT = 7,
|
|
2578
|
+
PENDING = 8
|
|
1931
2579
|
}
|
|
1932
|
-
export
|
|
1933
|
-
|
|
1934
|
-
|
|
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';
|
|
2580
|
+
export declare enum PaymentMethodsEnum {
|
|
2581
|
+
STRIPE = 1,
|
|
2582
|
+
CASH = 3
|
|
1951
2583
|
}
|
|
1952
|
-
export
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
lowestPrice?: number;
|
|
1956
|
-
products?: ISessionLandingPageProduct[];
|
|
2584
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2585
|
+
CHILD = "child",
|
|
2586
|
+
UPSALE = "upsale"
|
|
1957
2587
|
}
|
|
1958
|
-
export
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
segments?: Event[] | ProgramSeason[];
|
|
1963
|
-
programName: string;
|
|
1964
|
-
programId: number;
|
|
1965
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
1966
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2588
|
+
export declare enum AddonTimePeriodEnum {
|
|
2589
|
+
FULL = "full",
|
|
2590
|
+
SESSION = "session",
|
|
2591
|
+
EVENT = "event"
|
|
1967
2592
|
}
|
|
1968
|
-
export
|
|
1969
|
-
|
|
1970
|
-
id: number;
|
|
1971
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1972
|
-
name: string;
|
|
1973
|
-
productType?: ProductTypesEnum;
|
|
1974
|
-
productSubType?: string;
|
|
1975
|
-
}[];
|
|
2593
|
+
export declare enum CurrencyEnum {
|
|
2594
|
+
USD = "USD"
|
|
1976
2595
|
}
|
|
1977
|
-
export
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
endDate?: Date;
|
|
1982
|
-
downpayment?: number;
|
|
1983
|
-
description?: string;
|
|
1984
|
-
prices: Price[];
|
|
1985
|
-
productSubType?: ProductSubTypesEnum;
|
|
1986
|
-
punchCard: boolean;
|
|
1987
|
-
isAddon: boolean;
|
|
1988
|
-
defaultPriceId?: number;
|
|
2596
|
+
export declare enum NotificationTypeEnum {
|
|
2597
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2598
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2599
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
1989
2600
|
}
|
|
1990
|
-
export
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
2601
|
+
export declare enum ProductTypesEnum {
|
|
2602
|
+
RESERVATION = "reservation",
|
|
2603
|
+
REGISTRATION = "registration",
|
|
2604
|
+
MEMBERSHIP = "membership",
|
|
2605
|
+
GOODS = "goods",
|
|
2606
|
+
PACKAGE = "package",
|
|
2607
|
+
REFUND_COMPENSATION = "refund",
|
|
2608
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2609
|
+
PETTY_CASH = "petty_cash",
|
|
2610
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2611
|
+
TAX = "tax"
|
|
1994
2612
|
}
|
|
1995
|
-
export
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
endDate: string;
|
|
2001
|
-
sportId: number;
|
|
2613
|
+
export declare enum InvoiceStatusEnum {
|
|
2614
|
+
ACTIVE = "active",
|
|
2615
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2616
|
+
WAITING_CLIENT = "waitingClient",
|
|
2617
|
+
CANCELED = "canceled"
|
|
2002
2618
|
}
|
|
2003
|
-
export declare
|
|
2004
|
-
|
|
2005
|
-
|
|
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;
|
|
2619
|
+
export declare enum LineItemsStatusEnum {
|
|
2620
|
+
USER_PRODUCT = "UserProduct",
|
|
2621
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2015
2622
|
}
|
|
2016
|
-
export declare
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2623
|
+
export declare enum ProductSubTypesEnum {
|
|
2624
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2625
|
+
SEASON_TEAM = "season_team",
|
|
2626
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2627
|
+
}
|
|
2628
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2629
|
+
CREDIT_CARD = "card",
|
|
2630
|
+
ACH = "ach",
|
|
2631
|
+
CASH = "cash",
|
|
2632
|
+
CHECK = "check",
|
|
2633
|
+
BALANCE = "balance",
|
|
2634
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2635
|
+
OTHER = "other",
|
|
2636
|
+
MIGRATED = "migrated",
|
|
2637
|
+
VOID = "void"
|
|
2028
2638
|
}
|
|
2029
|
-
export declare
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
streetNum?: string;
|
|
2033
|
-
aptNum?: string;
|
|
2034
|
-
zip?: string;
|
|
2035
|
-
country?: string;
|
|
2036
|
-
state?: string;
|
|
2037
|
-
geo: any;
|
|
2038
|
-
deletedAt?: Date;
|
|
2639
|
+
export declare enum RefundTypeEnum {
|
|
2640
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2641
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2039
2642
|
}
|
|
2040
|
-
export declare
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
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;
|
|
2643
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2644
|
+
INDIVIDUAL = "individual",
|
|
2645
|
+
FAMILY = "family",
|
|
2646
|
+
ORGANIZATION = "organization"
|
|
2052
2647
|
}
|
|
2053
|
-
export declare
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
answers: Answer[];
|
|
2057
|
-
questionnaire: Questionnaires;
|
|
2648
|
+
export declare enum MembershipTypeEnum {
|
|
2649
|
+
FIXED = "fix_membership",
|
|
2650
|
+
ROLLING = "rolling_membership"
|
|
2058
2651
|
}
|
|
2059
|
-
export declare
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2652
|
+
export declare enum CustomerTypeEnum {
|
|
2653
|
+
USER = "user",
|
|
2654
|
+
FAMILY = "family",
|
|
2655
|
+
ORGANIZATION = "organization"
|
|
2063
2656
|
}
|
|
2064
|
-
export declare
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2657
|
+
export declare enum GroupStatusEnum {
|
|
2658
|
+
ACTIVE = 1,
|
|
2659
|
+
INACTIVE = 2,
|
|
2660
|
+
DRAFT = 3
|
|
2068
2661
|
}
|
|
2069
|
-
export declare
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
endDate: Date;
|
|
2075
|
-
deletedAt?: Date;
|
|
2662
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
2663
|
+
FUTURE = "future",
|
|
2664
|
+
SUCCEEDED = "succeeded",
|
|
2665
|
+
FAILED = "failed",
|
|
2666
|
+
CANCELED = "canceled"
|
|
2076
2667
|
}
|
|
2077
|
-
export declare
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2668
|
+
export declare enum EntryStatusEnum {
|
|
2669
|
+
ENTERED = 1,
|
|
2670
|
+
NOT_ENTERED = 2,
|
|
2671
|
+
CANCELED = 3
|
|
2081
2672
|
}
|
|
2082
|
-
export declare
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
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;
|
|
2673
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
2674
|
+
ACTIVE = 1,
|
|
2675
|
+
MOVED = 2,
|
|
2676
|
+
CANCELED = 3
|
|
2099
2677
|
}
|
|
2100
|
-
export declare
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
endDate: Date;
|
|
2105
|
-
dayOfWeek: number;
|
|
2106
|
-
startTimeInDay: string;
|
|
2107
|
-
endTimeInDay: string;
|
|
2108
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
2678
|
+
export declare enum TeamCanJoinEnum {
|
|
2679
|
+
ANYONE = "anyone",
|
|
2680
|
+
BY_INVITE = "byInvite",
|
|
2681
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2109
2682
|
}
|
|
2110
|
-
export declare
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2683
|
+
export declare enum TeamMemberStatusEnum {
|
|
2684
|
+
PENDING = 1,
|
|
2685
|
+
ACTIVE = 2,
|
|
2686
|
+
DECLINED = 3,
|
|
2687
|
+
SUSPENDED = 4,
|
|
2688
|
+
INACTIVE = 5,
|
|
2689
|
+
INVITED = 6
|
|
2114
2690
|
}
|
|
2115
|
-
export declare
|
|
2116
|
-
|
|
2117
|
-
|
|
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;
|
|
2691
|
+
export declare enum TeamMemberRoleEnum {
|
|
2692
|
+
NULL = 0,
|
|
2693
|
+
ADMIN = 1
|
|
2126
2694
|
}
|
|
2127
|
-
export declare
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2695
|
+
export declare enum DayOfWeekEnum {
|
|
2696
|
+
SUNDAY = 0,
|
|
2697
|
+
MONDAY = 1,
|
|
2698
|
+
TUESDAY = 2,
|
|
2699
|
+
WEDNESDAY = 3,
|
|
2700
|
+
THURSDAY = 4,
|
|
2701
|
+
FRIDAY = 5,
|
|
2702
|
+
SATURDAY = 6
|
|
2134
2703
|
}
|
|
2135
|
-
export declare
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
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[];
|
|
2704
|
+
export declare enum ActionTypesEnum {
|
|
2705
|
+
CREATE = "create",
|
|
2706
|
+
READ = "read",
|
|
2707
|
+
UPDATE = "update",
|
|
2708
|
+
DELETE = "delete"
|
|
2162
2709
|
}
|
|
2163
|
-
export declare
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
paymentId?: number;
|
|
2168
|
-
invoiceId?: number;
|
|
2169
|
-
description?: string;
|
|
2170
|
-
deletedAt?: Date;
|
|
2171
|
-
customer: Customer;
|
|
2172
|
-
invoice: Invoice;
|
|
2173
|
-
payment: Payment;
|
|
2710
|
+
export declare enum ActionSourcePlatformEnum {
|
|
2711
|
+
ADMIN = "admin",
|
|
2712
|
+
BACKOFFICE = "backoffice",
|
|
2713
|
+
CONSUMER = "consumer"
|
|
2174
2714
|
}
|
|
2175
|
-
export declare
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
pinToTop?: boolean;
|
|
2179
|
-
customer: Customer;
|
|
2715
|
+
export declare enum RolesEnum {
|
|
2716
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2717
|
+
BOND_ADMIN = "bondAdmin"
|
|
2180
2718
|
}
|
|
2181
|
-
export declare
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
groups: Group[];
|
|
2719
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2720
|
+
IN_POOL = 5,
|
|
2721
|
+
ASSIGNED = 1,
|
|
2722
|
+
QUIT = 2,
|
|
2723
|
+
SUSPENDED = 3,
|
|
2724
|
+
INACTIVE = 4
|
|
2188
2725
|
}
|
|
2189
|
-
export declare
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2726
|
+
export declare enum AmenitiesEnum {
|
|
2727
|
+
HEAT = 1,
|
|
2728
|
+
AC = 2,
|
|
2729
|
+
WIFI = 3,
|
|
2730
|
+
RESTROOMS = 4,
|
|
2731
|
+
DRINKING_FOUNTAIN = 5,
|
|
2732
|
+
PARKING = 6,
|
|
2733
|
+
CONCESSIONS = 7,
|
|
2734
|
+
SHELTER = 8,
|
|
2735
|
+
PORTABLE_RESTROOMS = 9,
|
|
2736
|
+
LIGHTS = 10,
|
|
2737
|
+
LOCKER_ROOM = 11,
|
|
2738
|
+
PAID_PARKING = 12,
|
|
2739
|
+
ACCESSIBLE = 13
|
|
2194
2740
|
}
|
|
2195
|
-
export declare
|
|
2196
|
-
|
|
2741
|
+
export declare enum ResourceSubTypeEnum {
|
|
2742
|
+
COURT = "court",
|
|
2743
|
+
FIELD = "field",
|
|
2744
|
+
ROOM = "room",
|
|
2745
|
+
DIAMOND = "diamond",
|
|
2746
|
+
RINK = "rink",
|
|
2747
|
+
STUDIO = "studio",
|
|
2748
|
+
POOL = "pool",
|
|
2749
|
+
BATTING_CAGE = "batting cage",
|
|
2750
|
+
SHELTER = "shelter",
|
|
2751
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2197
2752
|
}
|
|
2198
|
-
export declare
|
|
2199
|
-
|
|
2200
|
-
terms: IEntitlementTerms[];
|
|
2753
|
+
export declare enum ResourceTypeEnum {
|
|
2754
|
+
SPACE = "space"
|
|
2201
2755
|
}
|
|
2202
|
-
export declare
|
|
2203
|
-
|
|
2204
|
-
|
|
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;
|
|
2756
|
+
export declare enum ResourceAgesEnum {
|
|
2757
|
+
ADULTS = "adults",
|
|
2758
|
+
CHILDREN = "children"
|
|
2216
2759
|
}
|
|
2217
|
-
export declare
|
|
2218
|
-
|
|
2219
|
-
|
|
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;
|
|
2760
|
+
export declare enum SpacePropertiesEnum {
|
|
2761
|
+
OUTDOOR = "outdoor",
|
|
2762
|
+
INDOOR = "indoor"
|
|
2240
2763
|
}
|
|
2241
|
-
export declare
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
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;
|
|
2764
|
+
export declare enum SurfacesEnum {
|
|
2765
|
+
GRASS = "grass",
|
|
2766
|
+
TURF = "turf",
|
|
2767
|
+
FIELD_TURF = "fieldTurf",
|
|
2768
|
+
ASTRO_TURF = "astroTurf",
|
|
2769
|
+
HARDWOOD = "hardwood",
|
|
2770
|
+
ASPHALT = "asphalt",
|
|
2771
|
+
SAND = "sand",
|
|
2772
|
+
ICE = "ice",
|
|
2773
|
+
SPORT_COURT = "sportCourt"
|
|
2298
2774
|
}
|
|
2299
|
-
export declare
|
|
2300
|
-
|
|
2301
|
-
|
|
2775
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2776
|
+
MINUTES = "minutes",
|
|
2777
|
+
DAYS = "days"
|
|
2302
2778
|
}
|
|
2303
|
-
export declare
|
|
2304
|
-
|
|
2305
|
-
|
|
2779
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2780
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2781
|
+
OPEN = "open",
|
|
2782
|
+
CLOSED = "closed"
|
|
2306
2783
|
}
|
|
2307
|
-
export declare
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
plannedDate: Date;
|
|
2315
|
-
chargedAt?: Date;
|
|
2316
|
-
originalPlannedDate?: Date;
|
|
2784
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2785
|
+
FULL = "full",
|
|
2786
|
+
ALREADY_REGISTERED = "registered",
|
|
2787
|
+
AVAILABLE = "available",
|
|
2788
|
+
NOT_OPEN_YET = "not opened",
|
|
2789
|
+
ALREADY_CLOSED = "closed",
|
|
2790
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2317
2791
|
}
|
|
2318
|
-
export declare
|
|
2319
|
-
|
|
2792
|
+
export declare enum DiscountMethodsEnum {
|
|
2793
|
+
PERCENT = "percent",
|
|
2794
|
+
AMOUNT = "amount"
|
|
2320
2795
|
}
|
|
2321
|
-
export declare
|
|
2322
|
-
|
|
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[];
|
|
2796
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2797
|
+
ORGANIZATION = "organization"
|
|
2336
2798
|
}
|
|
2337
|
-
export declare
|
|
2338
|
-
|
|
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;
|
|
2799
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2800
|
+
USA = "USA"
|
|
2349
2801
|
}
|
|
2350
|
-
export declare
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2802
|
+
export declare enum DateTimeFormatsEnum {
|
|
2803
|
+
API_DATE = "YYYY/MM/DD",
|
|
2804
|
+
API_TIME = "HH:mm:ss",
|
|
2805
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2354
2806
|
}
|
|
2355
|
-
export declare
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
invoiceId: number;
|
|
2361
|
-
paymentId: number;
|
|
2362
|
-
sendingUserId: number;
|
|
2363
|
-
mailParams?: any;
|
|
2364
|
-
memo?: string;
|
|
2807
|
+
export declare enum SlotTypeEnum {
|
|
2808
|
+
EXTERNAL = "external",
|
|
2809
|
+
INTERNAL = "internal",
|
|
2810
|
+
MAINTENANCE = "maintenance",
|
|
2811
|
+
CUSTOM = "custom"
|
|
2365
2812
|
}
|
|
2366
|
-
export declare
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
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[];
|
|
2813
|
+
export declare enum PlatformsEnum {
|
|
2814
|
+
CONSUMER = "consumer",
|
|
2815
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
+
BO = "backoffice",
|
|
2817
|
+
MOBILE = "mobile",
|
|
2818
|
+
CRON = "cron"
|
|
2389
2819
|
}
|
|
2390
|
-
export declare
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
deletedAt: Date;
|
|
2396
|
-
invoiceId: number;
|
|
2397
|
-
invoice: Invoice;
|
|
2820
|
+
export declare enum ShiftStatusEnum {
|
|
2821
|
+
OPEN = "open",
|
|
2822
|
+
CLOSED = "closed",
|
|
2823
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2824
|
+
RECONCILED = "reconciled"
|
|
2398
2825
|
}
|
|
2399
|
-
export declare
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2406
2840
|
}
|
|
2407
|
-
export declare
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
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[];
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2432
2845
|
}
|
|
2433
|
-
export declare
|
|
2434
|
-
|
|
2435
|
-
|
|
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[];
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2472
2849
|
}
|
|
2473
|
-
export declare
|
|
2474
|
-
|
|
2475
|
-
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2476
2856
|
}
|
|
2477
|
-
export declare
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
unitPaidAmount: number;
|
|
2483
|
-
currency: CurrencyEnum;
|
|
2484
|
-
payment: Payment;
|
|
2485
|
-
lineItem: LineItems;
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2486
2862
|
}
|
|
2487
|
-
export declare
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
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;
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2541
2867
|
}
|
|
2542
|
-
export declare
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
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;
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2557
2872
|
}
|
|
2558
|
-
export declare
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
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[];
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2576
2881
|
}
|
|
2577
|
-
export declare
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
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[];
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2604
2886
|
}
|
|
2605
|
-
export declare
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
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;
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2624
2891
|
}
|
|
2625
|
-
export declare
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
resourceId: number | null;
|
|
2629
|
-
resourceType: string | null;
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2630
2895
|
}
|
|
2631
|
-
export declare
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
open: string;
|
|
2635
|
-
close: string;
|
|
2636
|
-
facilityId: number;
|
|
2637
|
-
createdAt: Date;
|
|
2638
|
-
updatedAt: Date;
|
|
2639
|
-
deletedAt?: Date;
|
|
2640
|
-
facility: Facility;
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2641
2899
|
}
|
|
2642
|
-
export declare
|
|
2643
|
-
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2644
2906
|
}
|
|
2645
|
-
export declare
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
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;
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2661
2911
|
}
|
|
2662
|
-
export declare
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
active: boolean | null;
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2667
2916
|
}
|
|
2668
|
-
export declare
|
|
2669
|
-
|
|
2670
|
-
|
|
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;
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2694
2920
|
}
|
|
2695
|
-
export declare
|
|
2696
|
-
|
|
2697
|
-
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2698
2926
|
}
|
|
2699
|
-
export declare
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2704
2932
|
}
|
|
2705
|
-
export declare
|
|
2706
|
-
|
|
2707
|
-
creatingUserId: number;
|
|
2708
|
-
user: User;
|
|
2709
|
-
isPublic: boolean;
|
|
2710
|
-
deletedAt: Date;
|
|
2711
|
-
paymentId: number;
|
|
2712
|
-
payment: Payment;
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2713
2935
|
}
|
|
2714
|
-
export declare
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
deletedAt?: Date;
|
|
2718
|
-
paymentPlan: ProductPaymentPlan;
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2719
2939
|
}
|
|
2720
|
-
export
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
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;
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2737
2946
|
}
|
|
2738
|
-
export
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
endDate: Date;
|
|
2747
|
-
groupId?: number;
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2748
2955
|
groupName?: string;
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
discountMethod?: DiscountMethodsEnum;
|
|
2752
|
-
discountValue?: number;
|
|
2753
|
-
taxIncludedPrice?: number;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
2754
2958
|
}
|
|
2755
|
-
export
|
|
2756
|
-
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2757
2961
|
quantity: number;
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
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[];
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
2965
|
+
}
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
2969
|
+
}
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2780
2973
|
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[];
|
|
2804
2974
|
}
|
|
2805
|
-
export
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
2982
|
+
}
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
2995
|
+
}
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
2999
|
+
}
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
2819
3003
|
}
|
|
2820
|
-
export
|
|
2821
|
-
|
|
2822
|
-
maxMonths?: number;
|
|
2823
|
-
dayOfMonth?: number;
|
|
2824
|
-
name: string;
|
|
2825
|
-
deletedAt?: Date;
|
|
2826
|
-
schedule: PaymentPlanSchedule[];
|
|
2827
|
-
product?: Product;
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
2828
3006
|
}
|
|
2829
|
-
export
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
programSeason: ProgramSeason;
|
|
2835
|
-
event: Event;
|
|
2836
|
-
product: Product;
|
|
2837
|
-
productPackages: ProductPackage[];
|
|
2838
|
-
resourceName?: string;
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
2839
3012
|
}
|
|
2840
|
-
export
|
|
2841
|
-
|
|
2842
|
-
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
2843
3017
|
}
|
|
2844
|
-
export
|
|
2845
|
-
|
|
2846
|
-
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
2847
3025
|
}
|
|
2848
|
-
export
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
2854
3034
|
}
|
|
2855
|
-
export
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
2856
3036
|
productId: number;
|
|
2857
3037
|
userId: number;
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
ordinal?: number;
|
|
2866
|
-
purchasedResources: PurchasedResource[];
|
|
2867
|
-
product: Product;
|
|
2868
|
-
lineItem: LineItems;
|
|
2869
|
-
slots?: Slot[];
|
|
2870
|
-
addons?: Addon[];
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
2871
3045
|
}
|
|
2872
|
-
export
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
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[];
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
2893
3052
|
}
|
|
2894
|
-
export
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
title: string | null;
|
|
2898
|
-
data: any | null;
|
|
2899
|
-
program: Program;
|
|
2900
|
-
deletedAt?: Date;
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
2901
3056
|
}
|
|
2902
|
-
export
|
|
2903
|
-
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3061
|
+
}
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3066
|
+
}
|
|
3067
|
+
export interface IBlockedDates {
|
|
2904
3068
|
name: string;
|
|
2905
|
-
description: string | null;
|
|
2906
|
-
GL?: string | null;
|
|
2907
|
-
status: PublishingStatusEnum;
|
|
2908
3069
|
startDate: Date;
|
|
2909
3070
|
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[];
|
|
2956
|
-
}
|
|
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;
|
|
2978
|
-
}
|
|
2979
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2980
|
-
title: string | null;
|
|
2981
|
-
answerTitle: AnswerTitle;
|
|
2982
|
-
}
|
|
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
3071
|
}
|
|
2997
|
-
export
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3001
3090
|
}
|
|
3002
|
-
export
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3096
|
+
}
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3003
3099
|
resourceType: ResourceNameTypeEnum;
|
|
3004
|
-
resourceId: number;
|
|
3005
3100
|
openNumDays?: number;
|
|
3006
3101
|
openNumMinutes?: number;
|
|
3007
3102
|
openTime?: string;
|
|
3008
3103
|
closeNumDays?: number;
|
|
3009
3104
|
closeNumMinutes?: number;
|
|
3010
3105
|
closeTime?: string;
|
|
3011
|
-
|
|
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;
|
|
3079
|
-
}
|
|
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;
|
|
3087
|
-
}
|
|
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;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3101
3107
|
}
|
|
3102
|
-
export
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
color: string | null;
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3107
3112
|
}
|
|
3108
|
-
export
|
|
3109
|
-
|
|
3110
|
-
|
|
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;
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3122
3116
|
}
|
|
3123
|
-
export
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
team: Team;
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3132
3125
|
}
|
|
3133
|
-
export
|
|
3134
|
-
|
|
3135
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3136
3144
|
}
|
|
3137
|
-
export
|
|
3138
|
-
name: string;
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3139
3146
|
facilityId: number;
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
processorSerialNumber: string | null;
|
|
3143
|
-
currentOpenShift?: Shift;
|
|
3144
|
-
stationToSubcategories: StationToSubcategory[];
|
|
3145
|
-
subcategories: Subcategory[];
|
|
3146
|
-
shifts?: Shift[];
|
|
3147
|
-
}
|
|
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;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3155
3149
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3158
3152
|
name: string;
|
|
3159
|
-
|
|
3160
|
-
deletedAt?: Date;
|
|
3161
|
-
stationToSubcategories: StationToSubcategory[];
|
|
3162
|
-
stations: Station[];
|
|
3163
|
-
}
|
|
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
|
-
}
|
|
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;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3206
3154
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3215
3168
|
}
|
|
3216
|
-
export
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
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[];
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3254
3177
|
}
|
|
3255
|
-
export
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
user: User;
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3260
3182
|
}
|
|
3261
|
-
export
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3268
3197
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3276
3213
|
}
|
|
3277
|
-
export
|
|
3278
|
-
groupId: number;
|
|
3214
|
+
export interface IUsersPasses {
|
|
3279
3215
|
userId: number;
|
|
3280
|
-
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3281
3228
|
}
|
|
3282
|
-
export
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3283
3231
|
name: string;
|
|
3284
|
-
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3285
3248
|
}
|
|
3286
|
-
export
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3254
|
+
}
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3264
|
+
}
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3273
|
+
}
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3287
3276
|
name: string;
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3291
3286
|
}
|
|
3292
|
-
export
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3291
|
+
}
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3299
|
+
}
|
|
3300
|
+
export declare class ColumnNumericTransformer {
|
|
3301
|
+
to(data: number): number;
|
|
3302
|
+
from(data: string): number;
|
|
3299
3303
|
}
|
|
3304
|
+
export declare function convertToNumber(data: string): number;
|
|
3300
3305
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3301
3306
|
name?: string;
|
|
3302
3307
|
genderStr?: string;
|
|
@@ -3438,17 +3443,17 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3438
3443
|
createdAt: Date;
|
|
3439
3444
|
updatedAt: Date;
|
|
3440
3445
|
}
|
|
3446
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3447
|
+
teamId: number | null;
|
|
3448
|
+
eventId: number | null;
|
|
3449
|
+
status: number | null;
|
|
3450
|
+
}
|
|
3441
3451
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3442
3452
|
seasonId: number;
|
|
3443
3453
|
ordinal?: number;
|
|
3444
3454
|
divisionId?: number;
|
|
3445
3455
|
name: string;
|
|
3446
3456
|
}
|
|
3447
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3448
|
-
teamId: number | null;
|
|
3449
|
-
eventId: number | null;
|
|
3450
|
-
status: number | null;
|
|
3451
|
-
}
|
|
3452
3457
|
export declare class Lock extends BondBaseEntity {
|
|
3453
3458
|
name: string;
|
|
3454
3459
|
locked?: Date;
|
|
@@ -3485,13 +3490,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3485
3490
|
code: string;
|
|
3486
3491
|
config?: any;
|
|
3487
3492
|
}
|
|
3488
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3489
|
-
userId: number;
|
|
3490
|
-
organizationId: number;
|
|
3491
|
-
notifyMetadata?: any;
|
|
3492
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3493
|
-
destination: string;
|
|
3494
|
-
}
|
|
3495
3493
|
export declare class ByOrganizationIdDto {
|
|
3496
3494
|
organizationId: number;
|
|
3497
3495
|
}
|
|
@@ -3589,6 +3587,13 @@ export interface Duration {
|
|
|
3589
3587
|
startDate: string;
|
|
3590
3588
|
endDate: string;
|
|
3591
3589
|
}
|
|
3590
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3591
|
+
userId: number;
|
|
3592
|
+
organizationId: number;
|
|
3593
|
+
notifyMetadata?: any;
|
|
3594
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3595
|
+
destination: string;
|
|
3596
|
+
}
|
|
3592
3597
|
export declare class CustomerIdDto {
|
|
3593
3598
|
customerId: number;
|
|
3594
3599
|
}
|
|
@@ -3872,13 +3877,6 @@ export declare class LineItemDto {
|
|
|
3872
3877
|
unitTaxPrice?: number;
|
|
3873
3878
|
parentOrdinal?: number;
|
|
3874
3879
|
}
|
|
3875
|
-
export declare class MaintenanceDto {
|
|
3876
|
-
id?: number;
|
|
3877
|
-
title: string;
|
|
3878
|
-
durationValue: number;
|
|
3879
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3880
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3881
|
-
}
|
|
3882
3880
|
export declare class PurchasedResourceDto {
|
|
3883
3881
|
resourceId?: number;
|
|
3884
3882
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -4034,6 +4032,13 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
4034
4032
|
export declare class ReservationNotifyDto {
|
|
4035
4033
|
notifyMethods?: NotifyMethodEnum[];
|
|
4036
4034
|
}
|
|
4035
|
+
export declare class MaintenanceDto {
|
|
4036
|
+
id?: number;
|
|
4037
|
+
title: string;
|
|
4038
|
+
durationValue: number;
|
|
4039
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4040
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4041
|
+
}
|
|
4037
4042
|
export declare class SegmentDto {
|
|
4038
4043
|
id?: number;
|
|
4039
4044
|
title: string;
|
|
@@ -4189,12 +4194,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4189
4194
|
previousProductUsersIds?: number[];
|
|
4190
4195
|
previousProductUsers?: ProductsUsers[];
|
|
4191
4196
|
}
|
|
4192
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4193
|
-
deletedAt?: Date;
|
|
4194
|
-
reservationId: number;
|
|
4195
|
-
invoiceId: number;
|
|
4196
|
-
slotId: number;
|
|
4197
|
-
}
|
|
4198
4197
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4199
4198
|
name?: string;
|
|
4200
4199
|
description?: string;
|
|
@@ -4228,6 +4227,12 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4228
4227
|
targetGlobalPrice?: number;
|
|
4229
4228
|
slots: Slot[];
|
|
4230
4229
|
}
|
|
4230
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4231
|
+
deletedAt?: Date;
|
|
4232
|
+
reservationId: number;
|
|
4233
|
+
invoiceId: number;
|
|
4234
|
+
slotId: number;
|
|
4235
|
+
}
|
|
4231
4236
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4232
4237
|
deletedAt?: Date;
|
|
4233
4238
|
reservationId: number;
|
|
@@ -4649,8 +4654,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4649
4654
|
closingManager?: User;
|
|
4650
4655
|
reconcilingUser?: User;
|
|
4651
4656
|
}
|
|
4652
|
-
export declare class ColumnNumericTransformer {
|
|
4653
|
-
to(data: number): number;
|
|
4654
|
-
from(data: string): number;
|
|
4655
|
-
}
|
|
4656
|
-
export declare function convertToNumber(data: string): number;
|