@bondsports/types 0.8.0 → 0.10.0
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 +1268 -1268
- 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
|
@@ -95,6 +95,81 @@ export declare class AddEditCustomerDto {
|
|
|
95
95
|
emergencyContactName?: string;
|
|
96
96
|
emergencyContactPhone?: string;
|
|
97
97
|
}
|
|
98
|
+
export declare class AddressDto {
|
|
99
|
+
city: string;
|
|
100
|
+
state: string;
|
|
101
|
+
country: string;
|
|
102
|
+
geo: number[];
|
|
103
|
+
}
|
|
104
|
+
export declare class OpeningTimeDto {
|
|
105
|
+
open: string;
|
|
106
|
+
close: string;
|
|
107
|
+
dayOfWeek: number;
|
|
108
|
+
}
|
|
109
|
+
export declare class CreateFacilityDto {
|
|
110
|
+
name: string;
|
|
111
|
+
sports: number[];
|
|
112
|
+
description?: string;
|
|
113
|
+
longDescription?: string;
|
|
114
|
+
info?: string;
|
|
115
|
+
address: AddressDto;
|
|
116
|
+
timezone: string;
|
|
117
|
+
amenities: number[];
|
|
118
|
+
openingTimes: OpeningTimeDto[];
|
|
119
|
+
resourcesIds?: number[];
|
|
120
|
+
}
|
|
121
|
+
export declare class UpdateFacilityDetailsDto {
|
|
122
|
+
name?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
longDescription?: string;
|
|
125
|
+
info?: string;
|
|
126
|
+
address?: AddressDto;
|
|
127
|
+
timezone?: string;
|
|
128
|
+
}
|
|
129
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
130
|
+
openingTimes: OpeningTimeDto[];
|
|
131
|
+
}
|
|
132
|
+
export declare class UpdateFacilitySportsDto {
|
|
133
|
+
sports: number[];
|
|
134
|
+
}
|
|
135
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
136
|
+
amenities: number[];
|
|
137
|
+
}
|
|
138
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
139
|
+
nameSearch?: string;
|
|
140
|
+
}
|
|
141
|
+
export declare class FindFamilyAccountsDto {
|
|
142
|
+
userId: number;
|
|
143
|
+
}
|
|
144
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
145
|
+
customerId: number;
|
|
146
|
+
organizationId: number;
|
|
147
|
+
}
|
|
148
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
149
|
+
familyAccountId: number;
|
|
150
|
+
}
|
|
151
|
+
export declare class CreateFamilyAccountDto {
|
|
152
|
+
familyName: string;
|
|
153
|
+
userId: number;
|
|
154
|
+
}
|
|
155
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
156
|
+
familyName: string;
|
|
157
|
+
familyAccountId: number;
|
|
158
|
+
}
|
|
159
|
+
export declare class AddUserToFamilyAccountDto {
|
|
160
|
+
familyAccountId: number;
|
|
161
|
+
isUserAdmin: boolean;
|
|
162
|
+
firstName: string;
|
|
163
|
+
lastName: string;
|
|
164
|
+
gender: GenderEnum;
|
|
165
|
+
birthDate: string;
|
|
166
|
+
sports?: number[];
|
|
167
|
+
email?: string;
|
|
168
|
+
}
|
|
169
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
170
|
+
userId: number;
|
|
171
|
+
familyAccountId: number;
|
|
172
|
+
}
|
|
98
173
|
export declare class FindEventByIdDto {
|
|
99
174
|
eventId: number;
|
|
100
175
|
organizationId: number;
|
|
@@ -195,80 +270,17 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
195
270
|
isWaiverSigned?: string;
|
|
196
271
|
statuses?: string;
|
|
197
272
|
}
|
|
198
|
-
export declare class
|
|
199
|
-
|
|
200
|
-
state: string;
|
|
201
|
-
country: string;
|
|
202
|
-
geo: number[];
|
|
203
|
-
}
|
|
204
|
-
export declare class OpeningTimeDto {
|
|
205
|
-
open: string;
|
|
206
|
-
close: string;
|
|
207
|
-
dayOfWeek: number;
|
|
208
|
-
}
|
|
209
|
-
export declare class CreateFacilityDto {
|
|
210
|
-
name: string;
|
|
211
|
-
sports: number[];
|
|
212
|
-
description?: string;
|
|
213
|
-
longDescription?: string;
|
|
214
|
-
info?: string;
|
|
215
|
-
address: AddressDto;
|
|
216
|
-
timezone: string;
|
|
217
|
-
amenities: number[];
|
|
218
|
-
openingTimes: OpeningTimeDto[];
|
|
219
|
-
resourcesIds?: number[];
|
|
220
|
-
}
|
|
221
|
-
export declare class UpdateFacilityDetailsDto {
|
|
222
|
-
name?: string;
|
|
223
|
-
description?: string;
|
|
224
|
-
longDescription?: string;
|
|
225
|
-
info?: string;
|
|
226
|
-
address?: AddressDto;
|
|
227
|
-
timezone?: string;
|
|
228
|
-
}
|
|
229
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
230
|
-
openingTimes: OpeningTimeDto[];
|
|
231
|
-
}
|
|
232
|
-
export declare class UpdateFacilitySportsDto {
|
|
233
|
-
sports: number[];
|
|
234
|
-
}
|
|
235
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
236
|
-
amenities: number[];
|
|
237
|
-
}
|
|
238
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
239
|
-
nameSearch?: string;
|
|
240
|
-
}
|
|
241
|
-
export declare class FindFamilyAccountsDto {
|
|
242
|
-
userId: number;
|
|
243
|
-
}
|
|
244
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
245
|
-
customerId: number;
|
|
246
|
-
organizationId: number;
|
|
247
|
-
}
|
|
248
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
249
|
-
familyAccountId: number;
|
|
250
|
-
}
|
|
251
|
-
export declare class CreateFamilyAccountDto {
|
|
252
|
-
familyName: string;
|
|
253
|
-
userId: number;
|
|
254
|
-
}
|
|
255
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
256
|
-
familyName: string;
|
|
257
|
-
familyAccountId: number;
|
|
273
|
+
export declare class FindOneParams {
|
|
274
|
+
id: number;
|
|
258
275
|
}
|
|
259
|
-
export declare class
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
firstName: string;
|
|
263
|
-
lastName: string;
|
|
264
|
-
gender: GenderEnum;
|
|
265
|
-
birthDate: string;
|
|
266
|
-
sports?: number[];
|
|
267
|
-
email?: string;
|
|
276
|
+
export declare class PaginationQuery {
|
|
277
|
+
page: number;
|
|
278
|
+
itemsPerPage: number;
|
|
268
279
|
}
|
|
269
|
-
export declare class
|
|
270
|
-
|
|
271
|
-
|
|
280
|
+
export declare class PaginationRangeQuery {
|
|
281
|
+
startPage: number;
|
|
282
|
+
endPage: number;
|
|
283
|
+
itemsPerPage: number;
|
|
272
284
|
}
|
|
273
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
274
286
|
organizationId: number;
|
|
@@ -280,18 +292,6 @@ export declare class GetGlCodeDto {
|
|
|
280
292
|
createdAt: Date;
|
|
281
293
|
updatedAt: Date;
|
|
282
294
|
}
|
|
283
|
-
export declare class FindOneParams {
|
|
284
|
-
id: number;
|
|
285
|
-
}
|
|
286
|
-
export declare class PaginationQuery {
|
|
287
|
-
page: number;
|
|
288
|
-
itemsPerPage: number;
|
|
289
|
-
}
|
|
290
|
-
export declare class PaginationRangeQuery {
|
|
291
|
-
startPage: number;
|
|
292
|
-
endPage: number;
|
|
293
|
-
itemsPerPage: number;
|
|
294
|
-
}
|
|
295
295
|
export declare class FindByProgramSeasonIdDto {
|
|
296
296
|
seasonId: number;
|
|
297
297
|
}
|
|
@@ -365,6 +365,48 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
366
|
fileName: string;
|
|
367
367
|
}
|
|
368
|
+
export declare class CreateEntitlementTermsDto {
|
|
369
|
+
organizationId: number;
|
|
370
|
+
entitlementGroupId: number;
|
|
371
|
+
terms: IEntitlementTerms[];
|
|
372
|
+
}
|
|
373
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
374
|
+
entitlementGroupId: number;
|
|
375
|
+
}
|
|
376
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
377
|
+
user: any;
|
|
378
|
+
userVariables: IQuestionAnswerObject[];
|
|
379
|
+
}
|
|
380
|
+
export declare class FindLowestPriceDto {
|
|
381
|
+
organizationId: number;
|
|
382
|
+
user?: any;
|
|
383
|
+
answers?: IQuestionAnswerObject[];
|
|
384
|
+
itemIds: number[];
|
|
385
|
+
itemType?: ResourceNameTypeEnum;
|
|
386
|
+
startDate?: Date;
|
|
387
|
+
}
|
|
388
|
+
export declare class FindGroupItemsPricingsDto {
|
|
389
|
+
groupsIds: number[];
|
|
390
|
+
itemsIds: number[];
|
|
391
|
+
}
|
|
392
|
+
export declare class CreateEntitlementGroupDto {
|
|
393
|
+
name: string;
|
|
394
|
+
}
|
|
395
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
396
|
+
itemIds: number[];
|
|
397
|
+
itemType: string;
|
|
398
|
+
}
|
|
399
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
400
|
+
groupid: number;
|
|
401
|
+
}
|
|
402
|
+
export declare class CreateGroupPricingWithProduct {
|
|
403
|
+
groupId: number;
|
|
404
|
+
price: number;
|
|
405
|
+
startDate?: Date;
|
|
406
|
+
endDate?: Date;
|
|
407
|
+
discountValue?: number;
|
|
408
|
+
discountMethod?: DiscountMethodsEnum;
|
|
409
|
+
}
|
|
368
410
|
export declare class CreateMembershipDto {
|
|
369
411
|
organizationId: number;
|
|
370
412
|
name: string;
|
|
@@ -421,48 +463,6 @@ export declare class CancelMembershipDto {
|
|
|
421
463
|
isImmediatelyCancel: boolean;
|
|
422
464
|
cancellationReason?: string;
|
|
423
465
|
}
|
|
424
|
-
export declare class CreateEntitlementTermsDto {
|
|
425
|
-
organizationId: number;
|
|
426
|
-
entitlementGroupId: number;
|
|
427
|
-
terms: IEntitlementTerms[];
|
|
428
|
-
}
|
|
429
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
-
entitlementGroupId: number;
|
|
431
|
-
}
|
|
432
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
-
user: any;
|
|
434
|
-
userVariables: IQuestionAnswerObject[];
|
|
435
|
-
}
|
|
436
|
-
export declare class FindLowestPriceDto {
|
|
437
|
-
organizationId: number;
|
|
438
|
-
user?: any;
|
|
439
|
-
answers?: IQuestionAnswerObject[];
|
|
440
|
-
itemIds: number[];
|
|
441
|
-
itemType?: ResourceNameTypeEnum;
|
|
442
|
-
startDate?: Date;
|
|
443
|
-
}
|
|
444
|
-
export declare class FindGroupItemsPricingsDto {
|
|
445
|
-
groupsIds: number[];
|
|
446
|
-
itemsIds: number[];
|
|
447
|
-
}
|
|
448
|
-
export declare class CreateEntitlementGroupDto {
|
|
449
|
-
name: string;
|
|
450
|
-
}
|
|
451
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
-
itemIds: number[];
|
|
453
|
-
itemType: string;
|
|
454
|
-
}
|
|
455
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
456
|
-
groupid: number;
|
|
457
|
-
}
|
|
458
|
-
export declare class CreateGroupPricingWithProduct {
|
|
459
|
-
groupId: number;
|
|
460
|
-
price: number;
|
|
461
|
-
startDate?: Date;
|
|
462
|
-
endDate?: Date;
|
|
463
|
-
discountValue?: number;
|
|
464
|
-
discountMethod?: DiscountMethodsEnum;
|
|
465
|
-
}
|
|
466
466
|
export declare class FindByProductIdDto {
|
|
467
467
|
productId: number;
|
|
468
468
|
}
|
|
@@ -684,24 +684,6 @@ export declare class createResourceDto {
|
|
|
684
684
|
export declare class archiveDto {
|
|
685
685
|
isArchive: boolean;
|
|
686
686
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
687
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
688
|
programId: number;
|
|
707
689
|
}
|
|
@@ -937,6 +919,24 @@ export declare class ProgramHighlightDto {
|
|
|
937
919
|
type: ProgramHighlightTypeEnum;
|
|
938
920
|
title: string;
|
|
939
921
|
}
|
|
922
|
+
export declare class CreateUpdateVariantsDto {
|
|
923
|
+
organizationId: number;
|
|
924
|
+
parentProductId: number;
|
|
925
|
+
variantTitles: VariantTitleDto[];
|
|
926
|
+
variants: VariantDto[];
|
|
927
|
+
}
|
|
928
|
+
export declare class VariantTitleDto {
|
|
929
|
+
titleName: string;
|
|
930
|
+
titleId: number;
|
|
931
|
+
}
|
|
932
|
+
export declare class VariantDto {
|
|
933
|
+
name: string;
|
|
934
|
+
price: number;
|
|
935
|
+
variantId: number;
|
|
936
|
+
currency: CurrencyEnum;
|
|
937
|
+
startDate: Date;
|
|
938
|
+
endDate: Date;
|
|
939
|
+
}
|
|
940
940
|
export declare class PurchasePaymentDto {
|
|
941
941
|
token: string;
|
|
942
942
|
type: PaymentMethodTypeEnum;
|
|
@@ -1134,6 +1134,12 @@ export declare class Address extends BondBaseEntity {
|
|
|
1134
1134
|
geo: any;
|
|
1135
1135
|
deletedAt?: Date;
|
|
1136
1136
|
}
|
|
1137
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1138
|
+
questionnaireId: number;
|
|
1139
|
+
userId?: number;
|
|
1140
|
+
answers: Answer[];
|
|
1141
|
+
questionnaire: Questionnaires;
|
|
1142
|
+
}
|
|
1137
1143
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1138
1144
|
questionId: number;
|
|
1139
1145
|
question?: Questions;
|
|
@@ -1147,12 +1153,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1147
1153
|
metaData: any | null;
|
|
1148
1154
|
questionText: string | null;
|
|
1149
1155
|
}
|
|
1150
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1151
|
-
questionnaireId: number;
|
|
1152
|
-
userId?: number;
|
|
1153
|
-
answers: Answer[];
|
|
1154
|
-
questionnaire: Questionnaires;
|
|
1155
|
-
}
|
|
1156
1156
|
export declare class Athlete extends BondBaseEntity {
|
|
1157
1157
|
userId: number | null;
|
|
1158
1158
|
metadata: object | null;
|
|
@@ -1209,6 +1209,26 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1209
1209
|
endTimeInDay: string;
|
|
1210
1210
|
directBookingFor: DirectBookingTypesEnum;
|
|
1211
1211
|
}
|
|
1212
|
+
export declare class Connection extends BondBaseEntity {
|
|
1213
|
+
connType: number | null;
|
|
1214
|
+
from: number | null;
|
|
1215
|
+
fromType: string | null;
|
|
1216
|
+
to: number | null;
|
|
1217
|
+
toType: string | null;
|
|
1218
|
+
status: number | null;
|
|
1219
|
+
creatorId: number | null;
|
|
1220
|
+
creatorType: string | null;
|
|
1221
|
+
userCreatorId: number | null;
|
|
1222
|
+
ownerId: number | null;
|
|
1223
|
+
}
|
|
1224
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1225
|
+
creditAmount: number;
|
|
1226
|
+
paymentProcessorId: string;
|
|
1227
|
+
userId: number;
|
|
1228
|
+
paymentId: number;
|
|
1229
|
+
invoiceId: number;
|
|
1230
|
+
creditPaymentId: number;
|
|
1231
|
+
}
|
|
1212
1232
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
1233
|
name: string | null;
|
|
1214
1234
|
entityId: number | null;
|
|
@@ -1237,32 +1257,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1237
1257
|
mainMedia: Media;
|
|
1238
1258
|
reservations?: Reservation[];
|
|
1239
1259
|
}
|
|
1240
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1241
|
-
creditAmount: number;
|
|
1242
|
-
paymentProcessorId: string;
|
|
1243
|
-
userId: number;
|
|
1244
|
-
paymentId: number;
|
|
1245
|
-
invoiceId: number;
|
|
1246
|
-
creditPaymentId: number;
|
|
1247
|
-
}
|
|
1248
|
-
export declare class Connection extends BondBaseEntity {
|
|
1249
|
-
connType: number | null;
|
|
1250
|
-
from: number | null;
|
|
1251
|
-
fromType: string | null;
|
|
1252
|
-
to: number | null;
|
|
1253
|
-
toType: string | null;
|
|
1254
|
-
status: number | null;
|
|
1255
|
-
creatorId: number | null;
|
|
1256
|
-
creatorType: string | null;
|
|
1257
|
-
userCreatorId: number | null;
|
|
1258
|
-
ownerId: number | null;
|
|
1259
|
-
}
|
|
1260
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1261
|
-
customerId?: number;
|
|
1262
|
-
description: string;
|
|
1263
|
-
pinToTop?: boolean;
|
|
1264
|
-
customer: Customer;
|
|
1265
|
-
}
|
|
1266
1260
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1267
1261
|
customerId: number;
|
|
1268
1262
|
userId: number;
|
|
@@ -1275,6 +1269,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1275
1269
|
invoice: Invoice;
|
|
1276
1270
|
payment: Payment;
|
|
1277
1271
|
}
|
|
1272
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
customerId?: number;
|
|
1274
|
+
description: string;
|
|
1275
|
+
pinToTop?: boolean;
|
|
1276
|
+
customer: Customer;
|
|
1277
|
+
}
|
|
1278
1278
|
export declare class Division extends BondBaseEntity {
|
|
1279
1279
|
name: string;
|
|
1280
1280
|
ordinal?: number;
|
|
@@ -1369,10 +1369,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1369
1369
|
session?: ProgramSeason;
|
|
1370
1370
|
segment?: ProgramSeason;
|
|
1371
1371
|
}
|
|
1372
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1373
|
-
facilityId: number;
|
|
1374
|
-
resourceId: number;
|
|
1375
|
-
}
|
|
1376
1372
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1377
1373
|
name: string;
|
|
1378
1374
|
description?: string;
|
|
@@ -1412,6 +1408,10 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1412
1408
|
chargedAt?: Date;
|
|
1413
1409
|
originalPlannedDate?: Date;
|
|
1414
1410
|
}
|
|
1411
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1412
|
+
facilityId: number;
|
|
1413
|
+
resourceId: number;
|
|
1414
|
+
}
|
|
1415
1415
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1416
1416
|
code: string;
|
|
1417
1417
|
}
|
|
@@ -1444,6 +1444,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1444
1444
|
discountMethod?: DiscountMethodsEnum;
|
|
1445
1445
|
discountValue?: number;
|
|
1446
1446
|
}
|
|
1447
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1448
|
+
groupId: number;
|
|
1449
|
+
divisionId: number;
|
|
1450
|
+
deletedAt?: Date;
|
|
1451
|
+
}
|
|
1447
1452
|
export declare class Invoice extends BondBaseEntity {
|
|
1448
1453
|
invoiceId: string | null;
|
|
1449
1454
|
price: number | null;
|
|
@@ -1468,11 +1473,6 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1468
1473
|
invoiceNotes: InvoiceNote[];
|
|
1469
1474
|
slots: Slot[];
|
|
1470
1475
|
}
|
|
1471
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1472
|
-
groupId: number;
|
|
1473
|
-
divisionId: number;
|
|
1474
|
-
deletedAt?: Date;
|
|
1475
|
-
}
|
|
1476
1476
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1477
1477
|
email: string;
|
|
1478
1478
|
status: EEmailStatus;
|
|
@@ -1493,14 +1493,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1493
1493
|
invoiceId: number;
|
|
1494
1494
|
invoice: Invoice;
|
|
1495
1495
|
}
|
|
1496
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1497
|
-
invoiceId: number;
|
|
1498
|
-
paymentId: number;
|
|
1499
|
-
invoice: Invoice;
|
|
1500
|
-
payment: Payment;
|
|
1501
|
-
paidAmount?: number;
|
|
1502
|
-
currency: CurrencyEnum;
|
|
1503
|
-
}
|
|
1504
1496
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1505
1497
|
name: string | null;
|
|
1506
1498
|
description: string | null;
|
|
@@ -1571,6 +1563,14 @@ export declare class LeagueSeasonRelations {
|
|
|
1571
1563
|
league?: boolean;
|
|
1572
1564
|
facilities?: boolean;
|
|
1573
1565
|
}
|
|
1566
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1567
|
+
invoiceId: number;
|
|
1568
|
+
paymentId: number;
|
|
1569
|
+
invoice: Invoice;
|
|
1570
|
+
payment: Payment;
|
|
1571
|
+
paidAmount?: number;
|
|
1572
|
+
currency: CurrencyEnum;
|
|
1573
|
+
}
|
|
1574
1574
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1575
1575
|
invoiceId: number;
|
|
1576
1576
|
paymentId: number;
|
|
@@ -1581,6 +1581,22 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1581
1581
|
payment: Payment;
|
|
1582
1582
|
lineItem: LineItems;
|
|
1583
1583
|
}
|
|
1584
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1585
|
+
id: number;
|
|
1586
|
+
provider: string;
|
|
1587
|
+
providerId: string | null;
|
|
1588
|
+
parentId: number | null;
|
|
1589
|
+
parentType: string | null;
|
|
1590
|
+
status: number | null;
|
|
1591
|
+
token: string | null;
|
|
1592
|
+
refreshToken: string | null;
|
|
1593
|
+
tokenCreatedAt: Date | null;
|
|
1594
|
+
tokenValidUpTo: Date | null;
|
|
1595
|
+
createdAt: Date;
|
|
1596
|
+
updatedAt: Date;
|
|
1597
|
+
user: User;
|
|
1598
|
+
userId: number | null;
|
|
1599
|
+
}
|
|
1584
1600
|
export declare class LineItems extends BondBaseEntity {
|
|
1585
1601
|
constructor();
|
|
1586
1602
|
defineIsReverted(): void;
|
|
@@ -1636,22 +1652,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1636
1652
|
displayUnitPrice?: number;
|
|
1637
1653
|
displayQuantity?: number;
|
|
1638
1654
|
}
|
|
1639
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1640
|
-
id: number;
|
|
1641
|
-
provider: string;
|
|
1642
|
-
providerId: string | null;
|
|
1643
|
-
parentId: number | null;
|
|
1644
|
-
parentType: string | null;
|
|
1645
|
-
status: number | null;
|
|
1646
|
-
token: string | null;
|
|
1647
|
-
refreshToken: string | null;
|
|
1648
|
-
tokenCreatedAt: Date | null;
|
|
1649
|
-
tokenValidUpTo: Date | null;
|
|
1650
|
-
createdAt: Date;
|
|
1651
|
-
updatedAt: Date;
|
|
1652
|
-
user: User;
|
|
1653
|
-
userId: number | null;
|
|
1654
|
-
}
|
|
1655
1655
|
export declare class Media extends BondBaseEntity {
|
|
1656
1656
|
url: string;
|
|
1657
1657
|
name: string | null;
|
|
@@ -1671,26 +1671,6 @@ export declare class Media extends BondBaseEntity {
|
|
|
1671
1671
|
programs: Program[];
|
|
1672
1672
|
memberships: Membership[];
|
|
1673
1673
|
}
|
|
1674
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1675
|
-
membership: Membership;
|
|
1676
|
-
membershipId: number;
|
|
1677
|
-
productUserId: number;
|
|
1678
|
-
productUser?: ProductsUsers;
|
|
1679
|
-
userId: number;
|
|
1680
|
-
membershipType: MembershipTypeEnum;
|
|
1681
|
-
durationMonths?: number;
|
|
1682
|
-
startDate?: string;
|
|
1683
|
-
endDate?: string;
|
|
1684
|
-
renewalOfMemberId?: number;
|
|
1685
|
-
isAutoRenew?: boolean;
|
|
1686
|
-
nextPaymentMethodId?: string;
|
|
1687
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1688
|
-
answerTitleIds?: number[];
|
|
1689
|
-
cancelledAt?: Date | null;
|
|
1690
|
-
cancellationReason?: string;
|
|
1691
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1692
|
-
isImported?: boolean;
|
|
1693
|
-
}
|
|
1694
1674
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1695
1675
|
name: string;
|
|
1696
1676
|
description?: string;
|
|
@@ -1719,6 +1699,26 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1719
1699
|
isAutoRenew?: boolean;
|
|
1720
1700
|
purchasedResources: PurchasedResource[];
|
|
1721
1701
|
}
|
|
1702
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1703
|
+
membership: Membership;
|
|
1704
|
+
membershipId: number;
|
|
1705
|
+
productUserId: number;
|
|
1706
|
+
productUser?: ProductsUsers;
|
|
1707
|
+
userId: number;
|
|
1708
|
+
membershipType: MembershipTypeEnum;
|
|
1709
|
+
durationMonths?: number;
|
|
1710
|
+
startDate?: string;
|
|
1711
|
+
endDate?: string;
|
|
1712
|
+
renewalOfMemberId?: number;
|
|
1713
|
+
isAutoRenew?: boolean;
|
|
1714
|
+
nextPaymentMethodId?: string;
|
|
1715
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1716
|
+
answerTitleIds?: number[];
|
|
1717
|
+
cancelledAt?: Date | null;
|
|
1718
|
+
cancellationReason?: string;
|
|
1719
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1720
|
+
isImported?: boolean;
|
|
1721
|
+
}
|
|
1722
1722
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1723
1723
|
email: string | null;
|
|
1724
1724
|
notificationType: NotificationTypeEnum | null;
|
|
@@ -1756,12 +1756,6 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1756
1756
|
isMandatory: boolean;
|
|
1757
1757
|
productId: number;
|
|
1758
1758
|
}
|
|
1759
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1760
|
-
token: string | null;
|
|
1761
|
-
userId: number | null;
|
|
1762
|
-
validUntil: Date | null;
|
|
1763
|
-
active: boolean | null;
|
|
1764
|
-
}
|
|
1765
1759
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1766
1760
|
price: number;
|
|
1767
1761
|
paymentProcessorId: string;
|
|
@@ -1789,6 +1783,12 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1789
1783
|
refundReasonId?: number;
|
|
1790
1784
|
refundNote?: string;
|
|
1791
1785
|
}
|
|
1786
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1787
|
+
token: string | null;
|
|
1788
|
+
userId: number | null;
|
|
1789
|
+
validUntil: Date | null;
|
|
1790
|
+
active: boolean | null;
|
|
1791
|
+
}
|
|
1792
1792
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1793
1793
|
failureIndex: number;
|
|
1794
1794
|
waitingDays: number;
|
|
@@ -1799,12 +1799,6 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1799
1799
|
reason: EFailedPaymentReasons;
|
|
1800
1800
|
errorMessage: string;
|
|
1801
1801
|
}
|
|
1802
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1803
|
-
paymentPlanId: number;
|
|
1804
|
-
paymentDate: Date;
|
|
1805
|
-
deletedAt?: Date;
|
|
1806
|
-
paymentPlan: ProductPaymentPlan;
|
|
1807
|
-
}
|
|
1808
1802
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1809
1803
|
content: string;
|
|
1810
1804
|
creatingUserId: number;
|
|
@@ -1849,6 +1843,12 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1849
1843
|
discountValue?: number;
|
|
1850
1844
|
taxIncludedPrice?: number;
|
|
1851
1845
|
}
|
|
1846
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1847
|
+
paymentPlanId: number;
|
|
1848
|
+
paymentDate: Date;
|
|
1849
|
+
deletedAt?: Date;
|
|
1850
|
+
paymentPlan: ProductPaymentPlan;
|
|
1851
|
+
}
|
|
1852
1852
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1853
1853
|
name: string;
|
|
1854
1854
|
quantity: number;
|
|
@@ -1914,15 +1914,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1914
1914
|
durationDays?: number;
|
|
1915
1915
|
level?: ProductPackageLevelEnum;
|
|
1916
1916
|
}
|
|
1917
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1918
|
-
productId: number;
|
|
1919
|
-
maxMonths?: number;
|
|
1920
|
-
dayOfMonth?: number;
|
|
1921
|
-
name: string;
|
|
1922
|
-
deletedAt?: Date;
|
|
1923
|
-
schedule: PaymentPlanSchedule[];
|
|
1924
|
-
product?: Product;
|
|
1925
|
-
}
|
|
1926
1917
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1927
1918
|
productId: number;
|
|
1928
1919
|
resourceId: number;
|
|
@@ -1934,6 +1925,15 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1934
1925
|
productPackages: ProductPackage[];
|
|
1935
1926
|
resourceName?: string;
|
|
1936
1927
|
}
|
|
1928
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1929
|
+
productId: number;
|
|
1930
|
+
maxMonths?: number;
|
|
1931
|
+
dayOfMonth?: number;
|
|
1932
|
+
name: string;
|
|
1933
|
+
deletedAt?: Date;
|
|
1934
|
+
schedule: PaymentPlanSchedule[];
|
|
1935
|
+
product?: Product;
|
|
1936
|
+
}
|
|
1937
1937
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1938
1938
|
productId: number;
|
|
1939
1939
|
variantTitleId: number;
|
|
@@ -1988,36 +1988,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1988
1988
|
programSeason: ProgramSeason[];
|
|
1989
1989
|
purchasedResources: PurchasedResource[];
|
|
1990
1990
|
}
|
|
1991
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1992
|
-
type: ProgramHighlightTypeEnum;
|
|
1993
|
-
ordinal: number | null;
|
|
1994
|
-
title: string | null;
|
|
1995
|
-
data: any | null;
|
|
1996
|
-
program: Program;
|
|
1997
|
-
deletedAt?: Date;
|
|
1998
|
-
}
|
|
1999
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2000
|
-
productUserId: number;
|
|
2001
|
-
resourceId: number;
|
|
2002
|
-
resourceType: ResourceNameTypeEnum;
|
|
2003
|
-
status: PurchasedResourceStatusEnum;
|
|
2004
|
-
startDate?: string;
|
|
2005
|
-
startTime?: string;
|
|
2006
|
-
endDate?: string;
|
|
2007
|
-
endTime?: string;
|
|
2008
|
-
productUser?: ProductsUsers;
|
|
2009
|
-
lineItem?: LineItems;
|
|
2010
|
-
eventAttendee?: EventAttendee;
|
|
2011
|
-
seasonAttendee?: SeasonAttendee;
|
|
2012
|
-
leagueAttendee?: SeasonPool;
|
|
2013
|
-
membership?: Membership;
|
|
2014
|
-
program?: Program;
|
|
2015
|
-
programSeason?: ProgramSeason;
|
|
2016
|
-
leagueSeason?: LeagueSeason;
|
|
2017
|
-
space?: Resource;
|
|
2018
|
-
product?: Product;
|
|
2019
|
-
event?: Event;
|
|
2020
|
-
}
|
|
2021
1991
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
2022
1992
|
programId: number;
|
|
2023
1993
|
name: string;
|
|
@@ -2073,10 +2043,54 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2073
2043
|
facility: Facility;
|
|
2074
2044
|
purchasedResources: PurchasedResource[];
|
|
2075
2045
|
}
|
|
2046
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2047
|
+
type: ProgramHighlightTypeEnum;
|
|
2048
|
+
ordinal: number | null;
|
|
2049
|
+
title: string | null;
|
|
2050
|
+
data: any | null;
|
|
2051
|
+
program: Program;
|
|
2052
|
+
deletedAt?: Date;
|
|
2053
|
+
}
|
|
2054
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2055
|
+
productUserId: number;
|
|
2056
|
+
resourceId: number;
|
|
2057
|
+
resourceType: ResourceNameTypeEnum;
|
|
2058
|
+
status: PurchasedResourceStatusEnum;
|
|
2059
|
+
startDate?: string;
|
|
2060
|
+
startTime?: string;
|
|
2061
|
+
endDate?: string;
|
|
2062
|
+
endTime?: string;
|
|
2063
|
+
productUser?: ProductsUsers;
|
|
2064
|
+
lineItem?: LineItems;
|
|
2065
|
+
eventAttendee?: EventAttendee;
|
|
2066
|
+
seasonAttendee?: SeasonAttendee;
|
|
2067
|
+
leagueAttendee?: SeasonPool;
|
|
2068
|
+
membership?: Membership;
|
|
2069
|
+
program?: Program;
|
|
2070
|
+
programSeason?: ProgramSeason;
|
|
2071
|
+
leagueSeason?: LeagueSeason;
|
|
2072
|
+
space?: Resource;
|
|
2073
|
+
product?: Product;
|
|
2074
|
+
event?: Event;
|
|
2075
|
+
}
|
|
2076
2076
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2077
2077
|
title: string | null;
|
|
2078
2078
|
answerTitle: AnswerTitle;
|
|
2079
2079
|
}
|
|
2080
|
+
export declare class Questions extends BondBaseEntity {
|
|
2081
|
+
questionType: string | null;
|
|
2082
|
+
ordinal: number | null;
|
|
2083
|
+
pageOrdinal: number | null;
|
|
2084
|
+
isActive: boolean | null;
|
|
2085
|
+
isMandatory: boolean | null;
|
|
2086
|
+
metaData: any | null;
|
|
2087
|
+
question: string | null;
|
|
2088
|
+
creatorId: number | null;
|
|
2089
|
+
creatorType: string | null;
|
|
2090
|
+
userCreatorId: number | null;
|
|
2091
|
+
ownerId: number | null;
|
|
2092
|
+
questionnaireId: number | null;
|
|
2093
|
+
}
|
|
2080
2094
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2081
2095
|
reason: string;
|
|
2082
2096
|
ordinal: number;
|
|
@@ -2093,6 +2107,34 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2093
2107
|
closeTime?: string;
|
|
2094
2108
|
deletedAt?: Date;
|
|
2095
2109
|
}
|
|
2110
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2111
|
+
name: string;
|
|
2112
|
+
resourceType: ResourceTypeEnum;
|
|
2113
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2114
|
+
description?: string;
|
|
2115
|
+
longDescription?: string;
|
|
2116
|
+
surface?: SurfacesEnum;
|
|
2117
|
+
properties?: SpacePropertiesEnum[];
|
|
2118
|
+
mainMediaId?: number;
|
|
2119
|
+
mainMedia: Media;
|
|
2120
|
+
sports: SportsEnum[];
|
|
2121
|
+
width?: number;
|
|
2122
|
+
length?: number;
|
|
2123
|
+
amenities?: AmenitiesEnum[];
|
|
2124
|
+
parentSpaceId?: number;
|
|
2125
|
+
ordinal?: number;
|
|
2126
|
+
isAddOn: boolean;
|
|
2127
|
+
ages?: ResourceAgesEnum;
|
|
2128
|
+
deletedAt?: Date;
|
|
2129
|
+
activityTimes: ActivityTimes[];
|
|
2130
|
+
facilities: Facility[];
|
|
2131
|
+
slots?: Slot[];
|
|
2132
|
+
addons?: Addon[];
|
|
2133
|
+
facilityId: number;
|
|
2134
|
+
facility: Facility;
|
|
2135
|
+
purchasedResources: PurchasedResource[];
|
|
2136
|
+
linkSEO: string;
|
|
2137
|
+
}
|
|
2096
2138
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2097
2139
|
name?: string;
|
|
2098
2140
|
description?: string;
|
|
@@ -2125,48 +2167,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2125
2167
|
publicNotes?: string;
|
|
2126
2168
|
slots?: Slot[];
|
|
2127
2169
|
}
|
|
2128
|
-
export declare class Questions extends BondBaseEntity {
|
|
2129
|
-
questionType: string | null;
|
|
2130
|
-
ordinal: number | null;
|
|
2131
|
-
pageOrdinal: number | null;
|
|
2132
|
-
isActive: boolean | null;
|
|
2133
|
-
isMandatory: boolean | null;
|
|
2134
|
-
metaData: any | null;
|
|
2135
|
-
question: string | null;
|
|
2136
|
-
creatorId: number | null;
|
|
2137
|
-
creatorType: string | null;
|
|
2138
|
-
userCreatorId: number | null;
|
|
2139
|
-
ownerId: number | null;
|
|
2140
|
-
questionnaireId: number | null;
|
|
2141
|
-
}
|
|
2142
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2143
|
-
name: string;
|
|
2144
|
-
resourceType: ResourceTypeEnum;
|
|
2145
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2146
|
-
description?: string;
|
|
2147
|
-
longDescription?: string;
|
|
2148
|
-
surface?: SurfacesEnum;
|
|
2149
|
-
properties?: SpacePropertiesEnum[];
|
|
2150
|
-
mainMediaId?: number;
|
|
2151
|
-
mainMedia: Media;
|
|
2152
|
-
sports: SportsEnum[];
|
|
2153
|
-
width?: number;
|
|
2154
|
-
length?: number;
|
|
2155
|
-
amenities?: AmenitiesEnum[];
|
|
2156
|
-
parentSpaceId?: number;
|
|
2157
|
-
ordinal?: number;
|
|
2158
|
-
isAddOn: boolean;
|
|
2159
|
-
ages?: ResourceAgesEnum;
|
|
2160
|
-
deletedAt?: Date;
|
|
2161
|
-
activityTimes: ActivityTimes[];
|
|
2162
|
-
facilities: Facility[];
|
|
2163
|
-
slots?: Slot[];
|
|
2164
|
-
addons?: Addon[];
|
|
2165
|
-
facilityId: number;
|
|
2166
|
-
facility: Facility;
|
|
2167
|
-
purchasedResources: PurchasedResource[];
|
|
2168
|
-
linkSEO: string;
|
|
2169
|
-
}
|
|
2170
2170
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2171
2171
|
name: string;
|
|
2172
2172
|
facilityId: number;
|
|
@@ -2182,12 +2182,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2182
2182
|
phone: string | null;
|
|
2183
2183
|
dataId: number | null;
|
|
2184
2184
|
}
|
|
2185
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2186
|
-
name: string | null;
|
|
2187
|
-
ordinal: number | null;
|
|
2188
|
-
seasonId: number | null;
|
|
2189
|
-
color: string | null;
|
|
2190
|
-
}
|
|
2191
2185
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2192
2186
|
status: RequestStatusEnum;
|
|
2193
2187
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2217,20 +2211,11 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2217
2211
|
purchasedResource: PurchasedResource;
|
|
2218
2212
|
season: LeagueSeason;
|
|
2219
2213
|
}
|
|
2220
|
-
export declare class
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
name: string;
|
|
2226
|
-
facilityId: number;
|
|
2227
|
-
processorTerminalId: string | null;
|
|
2228
|
-
terminaLabel: string | null;
|
|
2229
|
-
processorSerialNumber: string | null;
|
|
2230
|
-
currentOpenShift?: Shift;
|
|
2231
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2232
|
-
subcategories: Subcategory[];
|
|
2233
|
-
shifts?: Shift[];
|
|
2214
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2215
|
+
name: string | null;
|
|
2216
|
+
ordinal: number | null;
|
|
2217
|
+
seasonId: number | null;
|
|
2218
|
+
color: string | null;
|
|
2234
2219
|
}
|
|
2235
2220
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2236
2221
|
seasonId: number | null;
|
|
@@ -2242,13 +2227,20 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2242
2227
|
metaData: any | null;
|
|
2243
2228
|
team: Team;
|
|
2244
2229
|
}
|
|
2245
|
-
export declare class
|
|
2246
|
-
productType: ProductTypesEnum;
|
|
2230
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2247
2231
|
name: string;
|
|
2248
|
-
|
|
2249
|
-
|
|
2232
|
+
facilityId: number;
|
|
2233
|
+
processorTerminalId: string | null;
|
|
2234
|
+
terminaLabel: string | null;
|
|
2235
|
+
processorSerialNumber: string | null;
|
|
2236
|
+
currentOpenShift?: Shift;
|
|
2250
2237
|
stationToSubcategories: StationToSubcategory[];
|
|
2251
|
-
|
|
2238
|
+
subcategories: Subcategory[];
|
|
2239
|
+
shifts?: Shift[];
|
|
2240
|
+
}
|
|
2241
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2242
|
+
blockingSpaceId: number;
|
|
2243
|
+
blockedSpaceId: number;
|
|
2252
2244
|
}
|
|
2253
2245
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2254
2246
|
stationId: number;
|
|
@@ -2258,24 +2250,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2258
2250
|
station: Station;
|
|
2259
2251
|
subcategory: Subcategory;
|
|
2260
2252
|
}
|
|
2261
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2262
|
-
teamId: number | null;
|
|
2263
|
-
userId: number | null;
|
|
2264
|
-
paymentId: number | null;
|
|
2265
|
-
hasPaid: boolean | null;
|
|
2266
|
-
status: TeamMemberStatusEnum | null;
|
|
2267
|
-
role: TeamMemberRoleEnum;
|
|
2268
|
-
user: User;
|
|
2269
|
-
}
|
|
2270
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2271
|
-
email: string;
|
|
2272
|
-
teamId: number;
|
|
2273
|
-
invitedUserId?: number;
|
|
2274
|
-
userCreatorId: number;
|
|
2275
|
-
token: string;
|
|
2276
|
-
tokenExpirationDate: Date;
|
|
2277
|
-
isUsed: boolean;
|
|
2278
|
-
}
|
|
2279
2253
|
export declare class Team extends BondBaseEntity {
|
|
2280
2254
|
name: string | null;
|
|
2281
2255
|
description: string | null;
|
|
@@ -2310,6 +2284,38 @@ export declare class Team extends BondBaseEntity {
|
|
|
2310
2284
|
gender: number | null;
|
|
2311
2285
|
questionnaireId: number | null;
|
|
2312
2286
|
}
|
|
2287
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2288
|
+
productType: ProductTypesEnum;
|
|
2289
|
+
name: string;
|
|
2290
|
+
ordinal?: number;
|
|
2291
|
+
deletedAt?: Date;
|
|
2292
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2293
|
+
stations: Station[];
|
|
2294
|
+
}
|
|
2295
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2296
|
+
email: string;
|
|
2297
|
+
teamId: number;
|
|
2298
|
+
invitedUserId?: number;
|
|
2299
|
+
userCreatorId: number;
|
|
2300
|
+
token: string;
|
|
2301
|
+
tokenExpirationDate: Date;
|
|
2302
|
+
isUsed: boolean;
|
|
2303
|
+
}
|
|
2304
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2305
|
+
teamId: number | null;
|
|
2306
|
+
userId: number | null;
|
|
2307
|
+
paymentId: number | null;
|
|
2308
|
+
hasPaid: boolean | null;
|
|
2309
|
+
status: TeamMemberStatusEnum | null;
|
|
2310
|
+
role: TeamMemberRoleEnum;
|
|
2311
|
+
user: User;
|
|
2312
|
+
}
|
|
2313
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
|
+
entityId: number | null;
|
|
2315
|
+
userId: number | null;
|
|
2316
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
+
user: User;
|
|
2318
|
+
}
|
|
2313
2319
|
export declare class User extends BondBaseEntity {
|
|
2314
2320
|
firstName: string | null;
|
|
2315
2321
|
lastName: string | null;
|
|
@@ -2357,12 +2363,6 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2357
2363
|
familyAccount: FamilyAccount;
|
|
2358
2364
|
deletedAt?: Date;
|
|
2359
2365
|
}
|
|
2360
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
-
entityId: number | null;
|
|
2362
|
-
userId: number | null;
|
|
2363
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
-
user: User;
|
|
2365
|
-
}
|
|
2366
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2367
2367
|
userId: number;
|
|
2368
2368
|
failCount: number;
|
|
@@ -2380,12 +2380,6 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2380
2380
|
name: string;
|
|
2381
2381
|
variants: Variant[];
|
|
2382
2382
|
}
|
|
2383
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2384
|
-
name: string;
|
|
2385
|
-
variantTitleId: number;
|
|
2386
|
-
variantTitle: VariantTitle;
|
|
2387
|
-
deletedAt?: Date;
|
|
2388
|
-
}
|
|
2389
2383
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2390
2384
|
projectToken: string;
|
|
2391
2385
|
programTypesCollectionId?: string;
|
|
@@ -2394,916 +2388,931 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2394
2388
|
membershipCollectionId?: string;
|
|
2395
2389
|
programsCollectionId?: string;
|
|
2396
2390
|
}
|
|
2397
|
-
export declare
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2391
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2392
|
+
name: string;
|
|
2393
|
+
variantTitleId: number;
|
|
2394
|
+
variantTitle: VariantTitle;
|
|
2395
|
+
deletedAt?: Date;
|
|
2401
2396
|
}
|
|
2402
|
-
export
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
ORGANIZATION = "organization",
|
|
2409
|
-
APP = "app",
|
|
2410
|
-
FEED = "feed",
|
|
2411
|
-
MATCH = "match",
|
|
2412
|
-
ROUND = "round",
|
|
2413
|
-
PORTAL = "portal",
|
|
2414
|
-
SEASON = "season",
|
|
2415
|
-
TOURNAMENT = "tournament",
|
|
2416
|
-
MEMBERSHIP = "membership",
|
|
2417
|
-
DIVISION = "division",
|
|
2418
|
-
GAMESLOT = "gameslot",
|
|
2419
|
-
SPACE = "space",
|
|
2420
|
-
RESERVATION = "reservation",
|
|
2421
|
-
INVOICE = "invoice",
|
|
2422
|
-
CUSTOMER = "customer",
|
|
2423
|
-
PACKAGE = "package",
|
|
2424
|
-
FACILITY = "facility",
|
|
2425
|
-
PROGRAM = "program",
|
|
2426
|
-
PROGRAM_SEASON = "program_season",
|
|
2427
|
-
PRODUCT = "product",
|
|
2428
|
-
GROUP = "group",
|
|
2429
|
-
VARIANT = "variant",
|
|
2430
|
-
SLOT = "slot",
|
|
2431
|
-
ADDON = "addon"
|
|
2432
|
-
}
|
|
2433
|
-
export declare enum DirectBookingTypesEnum {
|
|
2434
|
-
DIRECT_FOR_ALL = "all",
|
|
2435
|
-
DIRECT_FOR_NONE = "none",
|
|
2436
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2437
|
-
NO_SETTING = "no_setting"
|
|
2438
|
-
}
|
|
2439
|
-
export declare enum GenderEnum {
|
|
2440
|
-
OTHER = 1,
|
|
2441
|
-
MALE = 2,
|
|
2442
|
-
FEMALE = 3
|
|
2443
|
-
}
|
|
2444
|
-
export declare enum LevelOfPlayEnum {
|
|
2445
|
-
BEGINNER = 1,
|
|
2446
|
-
INTERMEDIATE = 2,
|
|
2447
|
-
ADVANCED = 3,
|
|
2448
|
-
SEMIPRO = 4,
|
|
2449
|
-
SPECTATOR = 5
|
|
2397
|
+
export interface IEntitlementTerms {
|
|
2398
|
+
type: EntitlementTermsTypesEnum;
|
|
2399
|
+
id?: number;
|
|
2400
|
+
value?: string;
|
|
2401
|
+
minValue?: string;
|
|
2402
|
+
maxValue?: string;
|
|
2450
2403
|
}
|
|
2451
|
-
export
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
CLASS = 2,
|
|
2455
|
-
CLINIC = 3,
|
|
2456
|
-
CAMP = 4,
|
|
2457
|
-
LESSON = 5,
|
|
2458
|
-
CLUB_TEAM = 6
|
|
2404
|
+
export interface IQuestionAnswerObject {
|
|
2405
|
+
questionId: number;
|
|
2406
|
+
value: string;
|
|
2459
2407
|
}
|
|
2460
|
-
export
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2408
|
+
export interface ILowestPriceForItem {
|
|
2409
|
+
itemId: number;
|
|
2410
|
+
itemType: ResourceNameTypeEnum;
|
|
2411
|
+
groupId: number;
|
|
2412
|
+
groupName?: string;
|
|
2413
|
+
price: number;
|
|
2414
|
+
overridesPrice: boolean;
|
|
2464
2415
|
}
|
|
2465
|
-
export
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
BOCCEBALL = 6,
|
|
2472
|
-
CORNHOLE = 7,
|
|
2473
|
-
DODGEBALL = 8,
|
|
2474
|
-
FRISBEE = 9,
|
|
2475
|
-
HOCKEY = 10,
|
|
2476
|
-
KICKBALL = 11,
|
|
2477
|
-
LACROSSE = 12,
|
|
2478
|
-
PINGPONG = 13,
|
|
2479
|
-
RUGBY = 14,
|
|
2480
|
-
SKEEBALL = 15,
|
|
2481
|
-
TENNIS = 16,
|
|
2482
|
-
VOLLEYBALL = 17,
|
|
2483
|
-
WIFFLEBALL = 18,
|
|
2484
|
-
BADMINTON = 19,
|
|
2485
|
-
FITNESS = 20,
|
|
2486
|
-
GOLF = 21,
|
|
2487
|
-
PILATES = 22,
|
|
2488
|
-
RUNNING = 23,
|
|
2489
|
-
SKIING = 24,
|
|
2490
|
-
SNOWBOARDING = 25,
|
|
2491
|
-
YOGA = 26,
|
|
2492
|
-
BROOMBALL = 27,
|
|
2493
|
-
CRICKET = 28,
|
|
2494
|
-
CROSSFIT = 29,
|
|
2495
|
-
CYCLING = 30,
|
|
2496
|
-
FIELD_HOCKEY = 31,
|
|
2497
|
-
RACQUETBALL = 32,
|
|
2498
|
-
SPINNING = 33,
|
|
2499
|
-
SQUASH = 34,
|
|
2500
|
-
SURFING = 35,
|
|
2501
|
-
SWIMMING = 36,
|
|
2502
|
-
WIND_SURFING = 37,
|
|
2503
|
-
ADVENTURE = 38,
|
|
2504
|
-
BOXING = 39,
|
|
2505
|
-
BASEBALL = 40,
|
|
2506
|
-
DANCE = 41,
|
|
2507
|
-
KICKBOXING = 42,
|
|
2508
|
-
MARTIAL_ARTS = 43,
|
|
2509
|
-
OUTDOORS = 44,
|
|
2510
|
-
ROWING = 45,
|
|
2511
|
-
SAILING = 46,
|
|
2512
|
-
SUP = 47,
|
|
2513
|
-
TRIATHLON = 48,
|
|
2514
|
-
HANDBALL = 49,
|
|
2515
|
-
CATCHBALL = 50,
|
|
2516
|
-
BLITZBALL = 51,
|
|
2517
|
-
ROLLER_DERBY = 52,
|
|
2518
|
-
ICE_SKATING = 53,
|
|
2519
|
-
PICKLEBALL = 54,
|
|
2520
|
-
AXE_THROWING = 55,
|
|
2521
|
-
FURSAL = 56,
|
|
2522
|
-
BIRTHDAY = 57,
|
|
2523
|
-
CORPRATE_EVENTS = 58,
|
|
2524
|
-
OTHER = 999
|
|
2416
|
+
export interface IResourcesAvailability {
|
|
2417
|
+
resourceType: ResourceNameTypeEnum;
|
|
2418
|
+
quantity: number;
|
|
2419
|
+
resourcesIds: number[];
|
|
2420
|
+
isPunchCard: boolean;
|
|
2421
|
+
resources?: any[];
|
|
2525
2422
|
}
|
|
2526
|
-
export
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
CLOSED = 3,
|
|
2530
|
-
CANCELLED = 4,
|
|
2531
|
-
ARCHIVE = 5,
|
|
2532
|
-
UNPUBLISHED = 6
|
|
2423
|
+
export interface IPackageResponse {
|
|
2424
|
+
parentProduct: Product;
|
|
2425
|
+
children: IChildProduct[];
|
|
2533
2426
|
}
|
|
2534
|
-
export
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
GENDER = 4,
|
|
2539
|
-
LEVELOFPLAY = 5,
|
|
2540
|
-
GAMESSEASON = 6,
|
|
2541
|
-
MINWEEK = 7,
|
|
2542
|
-
SURFACE = 8,
|
|
2543
|
-
FORMAT = 9,
|
|
2544
|
-
PLAYERS_PER_TEAM = 10,
|
|
2545
|
-
MATCH_LENGTH = 12
|
|
2427
|
+
export interface IChildProduct {
|
|
2428
|
+
product: Product;
|
|
2429
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2430
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2546
2431
|
}
|
|
2547
|
-
export
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2432
|
+
export interface ISeasonAttendeeInfo {
|
|
2433
|
+
applicationAnswers: Answer[];
|
|
2434
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2435
|
+
invoices: Invoice[];
|
|
2436
|
+
payments: Payment[];
|
|
2437
|
+
products: Product[];
|
|
2438
|
+
redeemNext: ProductsUsers;
|
|
2551
2439
|
}
|
|
2552
|
-
export
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2440
|
+
export interface ISeasonAttendeeListInfo {
|
|
2441
|
+
userId: number;
|
|
2442
|
+
userFirstName: string;
|
|
2443
|
+
userLastName: string;
|
|
2444
|
+
userGender: number;
|
|
2445
|
+
userBirthDate: Date;
|
|
2446
|
+
userProfilePicUrl: string;
|
|
2447
|
+
customerId: number;
|
|
2448
|
+
customerEmail: string;
|
|
2449
|
+
paymentStatus: string;
|
|
2450
|
+
productName: string;
|
|
2451
|
+
punchCard: boolean;
|
|
2558
2452
|
}
|
|
2559
|
-
export declare
|
|
2560
|
-
|
|
2453
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2454
|
+
segmentType: ResourceNameTypeEnum;
|
|
2455
|
+
participantRegisteredDate?: string;
|
|
2561
2456
|
}
|
|
2562
|
-
export declare
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
APPROVED = "Approved",
|
|
2566
|
-
AWAITING_ADMIN = "Awaiting Admin",
|
|
2567
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2568
|
-
REJECTED = "Rejected",
|
|
2569
|
-
CANCELED = "Canceled"
|
|
2457
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2458
|
+
segmentType: ResourceNameTypeEnum;
|
|
2459
|
+
participantRegisteredDate?: string;
|
|
2570
2460
|
}
|
|
2571
|
-
export
|
|
2572
|
-
|
|
2573
|
-
SENT_FOR_PAYMENT = 2,
|
|
2574
|
-
ACCEPTED = 3,
|
|
2575
|
-
REJECTED = 4,
|
|
2576
|
-
CANCELLED = 5,
|
|
2577
|
-
FRAUD = 6,
|
|
2578
|
-
NOT_RELEVANT = 7,
|
|
2579
|
-
PENDING = 8
|
|
2461
|
+
export interface ITokenResonse {
|
|
2462
|
+
token: string;
|
|
2580
2463
|
}
|
|
2581
|
-
export
|
|
2582
|
-
|
|
2583
|
-
|
|
2464
|
+
export interface IStripeBondInvoices {
|
|
2465
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2466
|
+
bondPaidPayment: Payment;
|
|
2467
|
+
invoice?: Invoice;
|
|
2468
|
+
customer?: Customer;
|
|
2584
2469
|
}
|
|
2585
|
-
export
|
|
2586
|
-
|
|
2587
|
-
|
|
2470
|
+
export interface IPartialPaymentData {
|
|
2471
|
+
purchasingUserId: number;
|
|
2472
|
+
paymentData: PurchasePaymentDto;
|
|
2473
|
+
amountToPay: number;
|
|
2588
2474
|
}
|
|
2589
|
-
export
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2475
|
+
export interface IPayment {
|
|
2476
|
+
id: number;
|
|
2477
|
+
total: number;
|
|
2478
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2479
|
+
status: PaymentStatusEnum;
|
|
2480
|
+
createdAt: Date;
|
|
2481
|
+
invoices: number[];
|
|
2593
2482
|
}
|
|
2594
|
-
export
|
|
2595
|
-
|
|
2483
|
+
export interface IPaginationData<T> {
|
|
2484
|
+
meta: {
|
|
2485
|
+
totalItems: number;
|
|
2486
|
+
itemsPerPage: number;
|
|
2487
|
+
totalPages: number;
|
|
2488
|
+
currentPage: number;
|
|
2489
|
+
};
|
|
2490
|
+
data: T[];
|
|
2596
2491
|
}
|
|
2597
|
-
export
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2492
|
+
export interface IPricesOfProductsResults {
|
|
2493
|
+
productId: number;
|
|
2494
|
+
userId: number;
|
|
2495
|
+
price: number;
|
|
2496
|
+
groupId?: number;
|
|
2497
|
+
groupName?: string;
|
|
2498
|
+
originalPrice?: number;
|
|
2499
|
+
priceWithoutTax: number;
|
|
2500
|
+
tax: number;
|
|
2501
|
+
isTaxInclusive: boolean;
|
|
2601
2502
|
}
|
|
2602
|
-
export
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
REFUND_COMPENSATION = "refund",
|
|
2609
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2610
|
-
PETTY_CASH = "petty_cash",
|
|
2611
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2612
|
-
TAX = "tax"
|
|
2503
|
+
export interface IPaymentMethodToFundLeft {
|
|
2504
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2505
|
+
paymentMethodId: string;
|
|
2506
|
+
fundLeft: number;
|
|
2507
|
+
ccLast4?: string;
|
|
2508
|
+
ccBrand?: string;
|
|
2613
2509
|
}
|
|
2614
|
-
export
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
WAITING_CLIENT = "waitingClient",
|
|
2618
|
-
CANCELED = "canceled"
|
|
2510
|
+
export interface IVariantsAndTitle {
|
|
2511
|
+
title: VariantTitle;
|
|
2512
|
+
variants: Variant[];
|
|
2619
2513
|
}
|
|
2620
|
-
export
|
|
2621
|
-
|
|
2622
|
-
|
|
2514
|
+
export interface IProgramSeasonActivityTimes {
|
|
2515
|
+
dayOfWeek: number;
|
|
2516
|
+
open: string;
|
|
2517
|
+
close: string;
|
|
2623
2518
|
}
|
|
2624
|
-
export
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2519
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2520
|
+
date: string;
|
|
2521
|
+
startTime: string;
|
|
2522
|
+
endTime: string;
|
|
2628
2523
|
}
|
|
2629
|
-
export
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
CHECK = "check",
|
|
2634
|
-
BALANCE = "balance",
|
|
2635
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2636
|
-
OTHER = "other",
|
|
2637
|
-
MIGRATED = "migrated",
|
|
2638
|
-
VOID = "void",
|
|
2639
|
-
GIFT_CARD = "gift-card"
|
|
2524
|
+
export interface IBlockedDates {
|
|
2525
|
+
name: string;
|
|
2526
|
+
startDate: Date;
|
|
2527
|
+
endDate: Date;
|
|
2640
2528
|
}
|
|
2641
|
-
export
|
|
2642
|
-
|
|
2643
|
-
|
|
2529
|
+
export interface ISingleMemberForRenewal {
|
|
2530
|
+
member_id: number;
|
|
2531
|
+
member_membershipId: number;
|
|
2532
|
+
member_userId: number;
|
|
2533
|
+
member_nextPaymentMethodId?: string;
|
|
2534
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2535
|
+
member_answerTitleIds?: number[];
|
|
2536
|
+
member_organizationId: number;
|
|
2537
|
+
product_productPrice: number;
|
|
2538
|
+
product_productId: number;
|
|
2539
|
+
invoice_payingUserId: number;
|
|
2540
|
+
invoice_paymentMethodId: string;
|
|
2541
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2542
|
+
endDate: Date;
|
|
2543
|
+
membership_name: string;
|
|
2544
|
+
user_firstName: string;
|
|
2545
|
+
user_lastName: string;
|
|
2546
|
+
user_email: string;
|
|
2644
2547
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2548
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2549
|
+
package_parentProductId: number;
|
|
2550
|
+
product2_productPrice: number;
|
|
2551
|
+
familyid: number;
|
|
2552
|
+
invoice_id: number;
|
|
2649
2553
|
}
|
|
2650
|
-
export
|
|
2651
|
-
|
|
2652
|
-
|
|
2554
|
+
export interface IResourceRegistrationData {
|
|
2555
|
+
id: number;
|
|
2556
|
+
resourceType: ResourceNameTypeEnum;
|
|
2557
|
+
openNumDays?: number;
|
|
2558
|
+
openNumMinutes?: number;
|
|
2559
|
+
openTime?: string;
|
|
2560
|
+
closeNumDays?: number;
|
|
2561
|
+
closeNumMinutes?: number;
|
|
2562
|
+
closeTime?: string;
|
|
2563
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2653
2564
|
}
|
|
2654
|
-
export
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2565
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2566
|
+
id: number;
|
|
2567
|
+
startDate: string;
|
|
2568
|
+
startTime: string;
|
|
2658
2569
|
}
|
|
2659
|
-
export
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
DRAFT = 3
|
|
2570
|
+
export interface IRegistrationConstraintsSetting {
|
|
2571
|
+
numDays?: number;
|
|
2572
|
+
numMinutes?: number;
|
|
2663
2573
|
}
|
|
2664
|
-
export
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2574
|
+
export interface IAttendeeDataToNotify {
|
|
2575
|
+
firstName: string;
|
|
2576
|
+
lastName: string;
|
|
2577
|
+
email: string;
|
|
2578
|
+
sessionName: string;
|
|
2579
|
+
parentSessionName?: string;
|
|
2580
|
+
organizationName: string;
|
|
2581
|
+
programName: string;
|
|
2669
2582
|
}
|
|
2670
|
-
export
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2583
|
+
export interface IEventInSchedule {
|
|
2584
|
+
eventId: number;
|
|
2585
|
+
eventName: string;
|
|
2586
|
+
eventStartDate: string;
|
|
2587
|
+
eventEndDate: string;
|
|
2588
|
+
eventStartTime: string;
|
|
2589
|
+
eventEndTime: string;
|
|
2590
|
+
programId: number;
|
|
2591
|
+
programName: string;
|
|
2592
|
+
programType: ProgramTypesEnum;
|
|
2593
|
+
sessionId: number;
|
|
2594
|
+
sessionName: string;
|
|
2595
|
+
sports: number;
|
|
2596
|
+
spaces: {
|
|
2597
|
+
spaceId: number;
|
|
2598
|
+
spaceName: string;
|
|
2599
|
+
}[];
|
|
2600
|
+
status?: RegistrationValidationStatusEnum;
|
|
2674
2601
|
}
|
|
2675
|
-
export
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2602
|
+
export interface ISlotInSchedule {
|
|
2603
|
+
facilityId: number;
|
|
2604
|
+
facilityName: string;
|
|
2605
|
+
spaces: ISpaceWithSlots[];
|
|
2679
2606
|
}
|
|
2680
|
-
export
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2607
|
+
export interface ISpaceWithSlots {
|
|
2608
|
+
id: number;
|
|
2609
|
+
name: string;
|
|
2610
|
+
slots: ISlotReservationData[];
|
|
2684
2611
|
}
|
|
2685
|
-
export
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2612
|
+
export interface ISlotReservationData {
|
|
2613
|
+
reservationId: number;
|
|
2614
|
+
reservationName: string;
|
|
2615
|
+
date: string;
|
|
2616
|
+
startTime: string;
|
|
2617
|
+
endTime: string;
|
|
2618
|
+
notes: string;
|
|
2619
|
+
spaceId: number;
|
|
2620
|
+
isRental: boolean;
|
|
2621
|
+
slotType: SlotTypeEnum;
|
|
2622
|
+
slotId: number;
|
|
2623
|
+
eventId: number;
|
|
2624
|
+
isPrivate: boolean;
|
|
2692
2625
|
}
|
|
2693
|
-
export
|
|
2694
|
-
|
|
2695
|
-
|
|
2626
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2627
|
+
parentSessionId: number;
|
|
2628
|
+
parentSessionName: string;
|
|
2629
|
+
eventTimezone: string;
|
|
2630
|
+
maxParticipants: number;
|
|
2631
|
+
maxMaleParticipants: number;
|
|
2632
|
+
maxFemaleParticipants: number;
|
|
2633
|
+
isPunchCard: boolean;
|
|
2696
2634
|
}
|
|
2697
|
-
export
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
WEDNESDAY = 3,
|
|
2702
|
-
THURSDAY = 4,
|
|
2703
|
-
FRIDAY = 5,
|
|
2704
|
-
SATURDAY = 6
|
|
2635
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2636
|
+
id: number;
|
|
2637
|
+
name: string;
|
|
2638
|
+
bookingCreatorId: number;
|
|
2705
2639
|
}
|
|
2706
|
-
export
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2640
|
+
export interface IRawSlotInSchedule {
|
|
2641
|
+
startDate: string;
|
|
2642
|
+
endDate: string;
|
|
2643
|
+
startTime: string;
|
|
2644
|
+
endTime: string;
|
|
2645
|
+
reservationId: number;
|
|
2646
|
+
eventTitle: string;
|
|
2647
|
+
publicNotes: string;
|
|
2648
|
+
spaceId: number;
|
|
2649
|
+
creatorType: ResourceNameTypeEnum;
|
|
2650
|
+
slotType: SlotTypeEnum;
|
|
2651
|
+
slotId: number;
|
|
2652
|
+
eventId: number;
|
|
2653
|
+
isPrivate: boolean;
|
|
2711
2654
|
}
|
|
2712
|
-
export
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2655
|
+
export interface IPurchasedResourcesRaw {
|
|
2656
|
+
purchasedId: number;
|
|
2657
|
+
purchasedProductUserId: number;
|
|
2658
|
+
purchasedResourceId: number;
|
|
2659
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2660
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2661
|
+
pUserId: number;
|
|
2662
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2663
|
+
pUserProductId: number;
|
|
2664
|
+
pUserProductName: string;
|
|
2665
|
+
pUserProductPrice: number;
|
|
2666
|
+
pUserProductPriceCurrency: string;
|
|
2667
|
+
pUserProductQuantity: number;
|
|
2668
|
+
pUserProductQuantityLeft: number;
|
|
2669
|
+
pUserUserId: number;
|
|
2716
2670
|
}
|
|
2717
|
-
export
|
|
2718
|
-
|
|
2719
|
-
|
|
2671
|
+
export interface IUsersPasses {
|
|
2672
|
+
userId: number;
|
|
2673
|
+
userFirstName: string;
|
|
2674
|
+
userLastName: string;
|
|
2675
|
+
organizationId: number;
|
|
2676
|
+
programId: number;
|
|
2677
|
+
programName: string;
|
|
2678
|
+
sessionId: number;
|
|
2679
|
+
sessionName: string;
|
|
2680
|
+
productId: number;
|
|
2681
|
+
productName: string;
|
|
2682
|
+
productUserId: number;
|
|
2683
|
+
purchaseDate: Date;
|
|
2684
|
+
passesLeft: number;
|
|
2720
2685
|
}
|
|
2721
|
-
export
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2686
|
+
export interface ISessionsLandingPage {
|
|
2687
|
+
sessionId: number;
|
|
2688
|
+
name: string;
|
|
2689
|
+
startDate: Date;
|
|
2690
|
+
endDate: Date;
|
|
2691
|
+
registrationStartDate: Date;
|
|
2692
|
+
registrationEndDate: Date;
|
|
2693
|
+
sport: SportsEnum;
|
|
2694
|
+
minAge: string;
|
|
2695
|
+
maxAge: string;
|
|
2696
|
+
maxParticipants?: number;
|
|
2697
|
+
gender: GenderEnum;
|
|
2698
|
+
activityTimes: ActivityTimes[];
|
|
2699
|
+
earlyRegistrationStartDate?: Date;
|
|
2700
|
+
earlyRegistrationEndDate?: Date;
|
|
2701
|
+
lateRegistrationStartDate?: Date;
|
|
2702
|
+
lateRegistrationEndDate?: Date;
|
|
2703
|
+
attendeeCount?: number;
|
|
2704
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2727
2705
|
}
|
|
2728
|
-
export
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
DRINKING_FOUNTAIN = 5,
|
|
2734
|
-
PARKING = 6,
|
|
2735
|
-
CONCESSIONS = 7,
|
|
2736
|
-
SHELTER = 8,
|
|
2737
|
-
PORTABLE_RESTROOMS = 9,
|
|
2738
|
-
LIGHTS = 10,
|
|
2739
|
-
LOCKER_ROOM = 11,
|
|
2740
|
-
PAID_PARKING = 12,
|
|
2741
|
-
ACCESSIBLE = 13
|
|
2706
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2707
|
+
hasRequiredMembership: boolean;
|
|
2708
|
+
hasEntitledPricing: boolean;
|
|
2709
|
+
lowestPrice?: number;
|
|
2710
|
+
products?: ISessionLandingPageProduct[];
|
|
2742
2711
|
}
|
|
2743
|
-
export
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
SHELTER = "shelter",
|
|
2753
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2712
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2713
|
+
hasRequiredMembership: boolean;
|
|
2714
|
+
hasEntitledPricing: boolean;
|
|
2715
|
+
products?: ISessionLandingPageProduct[];
|
|
2716
|
+
segments?: Event[] | ProgramSeason[];
|
|
2717
|
+
programName: string;
|
|
2718
|
+
programId: number;
|
|
2719
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2720
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2754
2721
|
}
|
|
2755
|
-
export
|
|
2756
|
-
|
|
2722
|
+
export interface ISlimAddons {
|
|
2723
|
+
addons?: {
|
|
2724
|
+
id: number;
|
|
2725
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2726
|
+
name: string;
|
|
2727
|
+
productType?: ProductTypesEnum;
|
|
2728
|
+
productSubType?: string;
|
|
2729
|
+
}[];
|
|
2757
2730
|
}
|
|
2758
|
-
export
|
|
2759
|
-
|
|
2760
|
-
|
|
2731
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2732
|
+
id: number;
|
|
2733
|
+
name: string;
|
|
2734
|
+
startDate?: Date;
|
|
2735
|
+
endDate?: Date;
|
|
2736
|
+
downpayment?: number;
|
|
2737
|
+
description?: string;
|
|
2738
|
+
prices: Price[];
|
|
2739
|
+
productSubType?: ProductSubTypesEnum;
|
|
2740
|
+
punchCard: boolean;
|
|
2741
|
+
isAddon: boolean;
|
|
2742
|
+
defaultPriceId?: number;
|
|
2761
2743
|
}
|
|
2762
|
-
export
|
|
2763
|
-
|
|
2764
|
-
|
|
2744
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2745
|
+
destinationId?: string;
|
|
2746
|
+
stripeCustomerId?: string;
|
|
2747
|
+
fee?: number;
|
|
2765
2748
|
}
|
|
2766
|
-
export
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
SAND = "sand",
|
|
2774
|
-
ICE = "ice",
|
|
2775
|
-
SPORT_COURT = "sportCourt"
|
|
2749
|
+
export interface IReservationCreatorData {
|
|
2750
|
+
type: ResourceNameTypeEnum;
|
|
2751
|
+
id: number;
|
|
2752
|
+
organizationId: number;
|
|
2753
|
+
startDate: string;
|
|
2754
|
+
endDate: string;
|
|
2755
|
+
sportId: number;
|
|
2776
2756
|
}
|
|
2777
|
-
export declare enum
|
|
2778
|
-
|
|
2779
|
-
|
|
2757
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2758
|
+
QUESTION = "question",
|
|
2759
|
+
CITY = "city",
|
|
2760
|
+
MEMBERSHIP = "membership"
|
|
2780
2761
|
}
|
|
2781
|
-
export declare enum
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2762
|
+
export declare enum ResourceNameTypeEnum {
|
|
2763
|
+
EVENT = "event",
|
|
2764
|
+
VENUE = "venue",
|
|
2765
|
+
TEAM = "team",
|
|
2766
|
+
LEAGUE = "league",
|
|
2767
|
+
USER = "user",
|
|
2768
|
+
ORGANIZATION = "organization",
|
|
2769
|
+
APP = "app",
|
|
2770
|
+
FEED = "feed",
|
|
2771
|
+
MATCH = "match",
|
|
2772
|
+
ROUND = "round",
|
|
2773
|
+
PORTAL = "portal",
|
|
2774
|
+
SEASON = "season",
|
|
2775
|
+
TOURNAMENT = "tournament",
|
|
2776
|
+
MEMBERSHIP = "membership",
|
|
2777
|
+
DIVISION = "division",
|
|
2778
|
+
GAMESLOT = "gameslot",
|
|
2779
|
+
SPACE = "space",
|
|
2780
|
+
RESERVATION = "reservation",
|
|
2781
|
+
INVOICE = "invoice",
|
|
2782
|
+
CUSTOMER = "customer",
|
|
2783
|
+
PACKAGE = "package",
|
|
2784
|
+
FACILITY = "facility",
|
|
2785
|
+
PROGRAM = "program",
|
|
2786
|
+
PROGRAM_SEASON = "program_season",
|
|
2787
|
+
PRODUCT = "product",
|
|
2788
|
+
GROUP = "group",
|
|
2789
|
+
VARIANT = "variant",
|
|
2790
|
+
SLOT = "slot",
|
|
2791
|
+
ADDON = "addon"
|
|
2785
2792
|
}
|
|
2786
|
-
export declare enum
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
ALREADY_CLOSED = "closed",
|
|
2792
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2793
|
+
export declare enum DirectBookingTypesEnum {
|
|
2794
|
+
DIRECT_FOR_ALL = "all",
|
|
2795
|
+
DIRECT_FOR_NONE = "none",
|
|
2796
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2797
|
+
NO_SETTING = "no_setting"
|
|
2793
2798
|
}
|
|
2794
|
-
export declare enum
|
|
2795
|
-
|
|
2796
|
-
|
|
2799
|
+
export declare enum GenderEnum {
|
|
2800
|
+
OTHER = 1,
|
|
2801
|
+
MALE = 2,
|
|
2802
|
+
FEMALE = 3
|
|
2797
2803
|
}
|
|
2798
|
-
export declare enum
|
|
2799
|
-
|
|
2804
|
+
export declare enum LevelOfPlayEnum {
|
|
2805
|
+
BEGINNER = 1,
|
|
2806
|
+
INTERMEDIATE = 2,
|
|
2807
|
+
ADVANCED = 3,
|
|
2808
|
+
SEMIPRO = 4,
|
|
2809
|
+
SPECTATOR = 5
|
|
2800
2810
|
}
|
|
2801
|
-
export declare enum
|
|
2802
|
-
|
|
2811
|
+
export declare enum ProgramTypesEnum {
|
|
2812
|
+
LEAGUE = 0,
|
|
2813
|
+
TOURNAMENT = 1,
|
|
2814
|
+
CLASS = 2,
|
|
2815
|
+
CLINIC = 3,
|
|
2816
|
+
CAMP = 4,
|
|
2817
|
+
LESSON = 5,
|
|
2818
|
+
CLUB_TEAM = 6
|
|
2803
2819
|
}
|
|
2804
|
-
export declare enum
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2820
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2821
|
+
ROUND_ROBIN = 1,
|
|
2822
|
+
BRACKETS = 2,
|
|
2823
|
+
CAMP_CLINIC_CLASS = 3
|
|
2824
|
+
}
|
|
2825
|
+
export declare enum SportsEnum {
|
|
2826
|
+
SOFTBALL = 1,
|
|
2827
|
+
BASKETBALL = 2,
|
|
2828
|
+
FOOTBALL = 3,
|
|
2829
|
+
SOCCER = 4,
|
|
2830
|
+
BOWLING = 5,
|
|
2831
|
+
BOCCEBALL = 6,
|
|
2832
|
+
CORNHOLE = 7,
|
|
2833
|
+
DODGEBALL = 8,
|
|
2834
|
+
FRISBEE = 9,
|
|
2835
|
+
HOCKEY = 10,
|
|
2836
|
+
KICKBALL = 11,
|
|
2837
|
+
LACROSSE = 12,
|
|
2838
|
+
PINGPONG = 13,
|
|
2839
|
+
RUGBY = 14,
|
|
2840
|
+
SKEEBALL = 15,
|
|
2841
|
+
TENNIS = 16,
|
|
2842
|
+
VOLLEYBALL = 17,
|
|
2843
|
+
WIFFLEBALL = 18,
|
|
2844
|
+
BADMINTON = 19,
|
|
2845
|
+
FITNESS = 20,
|
|
2846
|
+
GOLF = 21,
|
|
2847
|
+
PILATES = 22,
|
|
2848
|
+
RUNNING = 23,
|
|
2849
|
+
SKIING = 24,
|
|
2850
|
+
SNOWBOARDING = 25,
|
|
2851
|
+
YOGA = 26,
|
|
2852
|
+
BROOMBALL = 27,
|
|
2853
|
+
CRICKET = 28,
|
|
2854
|
+
CROSSFIT = 29,
|
|
2855
|
+
CYCLING = 30,
|
|
2856
|
+
FIELD_HOCKEY = 31,
|
|
2857
|
+
RACQUETBALL = 32,
|
|
2858
|
+
SPINNING = 33,
|
|
2859
|
+
SQUASH = 34,
|
|
2860
|
+
SURFING = 35,
|
|
2861
|
+
SWIMMING = 36,
|
|
2862
|
+
WIND_SURFING = 37,
|
|
2863
|
+
ADVENTURE = 38,
|
|
2864
|
+
BOXING = 39,
|
|
2865
|
+
BASEBALL = 40,
|
|
2866
|
+
DANCE = 41,
|
|
2867
|
+
KICKBOXING = 42,
|
|
2868
|
+
MARTIAL_ARTS = 43,
|
|
2869
|
+
OUTDOORS = 44,
|
|
2870
|
+
ROWING = 45,
|
|
2871
|
+
SAILING = 46,
|
|
2872
|
+
SUP = 47,
|
|
2873
|
+
TRIATHLON = 48,
|
|
2874
|
+
HANDBALL = 49,
|
|
2875
|
+
CATCHBALL = 50,
|
|
2876
|
+
BLITZBALL = 51,
|
|
2877
|
+
ROLLER_DERBY = 52,
|
|
2878
|
+
ICE_SKATING = 53,
|
|
2879
|
+
PICKLEBALL = 54,
|
|
2880
|
+
AXE_THROWING = 55,
|
|
2881
|
+
FURSAL = 56,
|
|
2882
|
+
BIRTHDAY = 57,
|
|
2883
|
+
CORPRATE_EVENTS = 58,
|
|
2884
|
+
OTHER = 999
|
|
2808
2885
|
}
|
|
2809
|
-
export declare enum
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2886
|
+
export declare enum PublishingStatusEnum {
|
|
2887
|
+
DRAFT = 1,
|
|
2888
|
+
PUBLISHED = 2,
|
|
2889
|
+
CLOSED = 3,
|
|
2890
|
+
CANCELLED = 4,
|
|
2891
|
+
ARCHIVE = 5,
|
|
2892
|
+
UNPUBLISHED = 6
|
|
2814
2893
|
}
|
|
2815
|
-
export declare enum
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2894
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2895
|
+
OTHER = 1,
|
|
2896
|
+
MINAGE = 2,
|
|
2897
|
+
MAXAGE = 3,
|
|
2898
|
+
GENDER = 4,
|
|
2899
|
+
LEVELOFPLAY = 5,
|
|
2900
|
+
GAMESSEASON = 6,
|
|
2901
|
+
MINWEEK = 7,
|
|
2902
|
+
SURFACE = 8,
|
|
2903
|
+
FORMAT = 9,
|
|
2904
|
+
PLAYERS_PER_TEAM = 10,
|
|
2905
|
+
MATCH_LENGTH = 12
|
|
2821
2906
|
}
|
|
2822
|
-
export declare enum
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
RECONCILED = "reconciled"
|
|
2907
|
+
export declare enum RequestStatusEnum {
|
|
2908
|
+
PENDING = 1,
|
|
2909
|
+
ACCEPTED = 2,
|
|
2910
|
+
DECLINED = 3
|
|
2827
2911
|
}
|
|
2828
|
-
export declare enum
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
DELETED = 6
|
|
2912
|
+
export declare enum PaymentStatusEnum {
|
|
2913
|
+
NOT_PAID = "not_paid",
|
|
2914
|
+
PARTIAL_PAYMENT = "partial",
|
|
2915
|
+
FULLY_PAID = "paid",
|
|
2916
|
+
REFUNDED = "refunded",
|
|
2917
|
+
VOID = "void"
|
|
2835
2918
|
}
|
|
2836
|
-
export declare enum
|
|
2837
|
-
|
|
2838
|
-
PROGRAM = "program",
|
|
2839
|
-
MAINTENANCE = "maintenance",
|
|
2840
|
-
CUSTOM = "custom",
|
|
2841
|
-
INTERNAL = "internal"
|
|
2919
|
+
export declare enum ReservationExtendedEnum {
|
|
2920
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2842
2921
|
}
|
|
2843
|
-
export declare
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2922
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2923
|
+
export declare enum ReservationStatusEnum {
|
|
2924
|
+
PLANNED = "Planned",
|
|
2925
|
+
APPROVED = "Approved",
|
|
2926
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2927
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2928
|
+
REJECTED = "Rejected",
|
|
2929
|
+
CANCELED = "Canceled"
|
|
2847
2930
|
}
|
|
2848
|
-
export declare enum
|
|
2849
|
-
|
|
2850
|
-
|
|
2931
|
+
export declare enum PaymentStatusV1Enum {
|
|
2932
|
+
SENT_TO_CLIENT = 1,
|
|
2933
|
+
SENT_FOR_PAYMENT = 2,
|
|
2934
|
+
ACCEPTED = 3,
|
|
2935
|
+
REJECTED = 4,
|
|
2936
|
+
CANCELLED = 5,
|
|
2937
|
+
FRAUD = 6,
|
|
2938
|
+
NOT_RELEVANT = 7,
|
|
2939
|
+
PENDING = 8
|
|
2851
2940
|
}
|
|
2852
|
-
export declare enum
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
DAILY = "daily",
|
|
2856
|
-
MONTHLY = "monthly",
|
|
2857
|
-
YEARLY = "yearly"
|
|
2941
|
+
export declare enum PaymentMethodsEnum {
|
|
2942
|
+
STRIPE = 1,
|
|
2943
|
+
CASH = 3
|
|
2858
2944
|
}
|
|
2859
|
-
export declare enum
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
AT_THE_BEGINING = 3,
|
|
2863
|
-
AT_THE_END = 4
|
|
2945
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2946
|
+
CHILD = "child",
|
|
2947
|
+
UPSALE = "upsale"
|
|
2864
2948
|
}
|
|
2865
|
-
export declare enum
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2949
|
+
export declare enum AddonTimePeriodEnum {
|
|
2950
|
+
FULL = "full",
|
|
2951
|
+
SESSION = "session",
|
|
2952
|
+
EVENT = "event"
|
|
2869
2953
|
}
|
|
2870
|
-
export declare enum
|
|
2871
|
-
|
|
2872
|
-
CATEGORY = "category",
|
|
2873
|
-
GLOBAL = "global"
|
|
2954
|
+
export declare enum CurrencyEnum {
|
|
2955
|
+
USD = "USD"
|
|
2874
2956
|
}
|
|
2875
|
-
export declare enum
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
THURSDAY = 5,
|
|
2880
|
-
FRIDAY = 6,
|
|
2881
|
-
SATURDAY = 7,
|
|
2882
|
-
SUNDAY = 8
|
|
2957
|
+
export declare enum NotificationTypeEnum {
|
|
2958
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2959
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2960
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2883
2961
|
}
|
|
2884
|
-
export declare enum
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2962
|
+
export declare enum ProductTypesEnum {
|
|
2963
|
+
RESERVATION = "reservation",
|
|
2964
|
+
REGISTRATION = "registration",
|
|
2965
|
+
MEMBERSHIP = "membership",
|
|
2966
|
+
GOODS = "goods",
|
|
2967
|
+
PACKAGE = "package",
|
|
2968
|
+
REFUND_COMPENSATION = "refund",
|
|
2969
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2970
|
+
PETTY_CASH = "petty_cash",
|
|
2971
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2972
|
+
TAX = "tax"
|
|
2888
2973
|
}
|
|
2889
|
-
export declare enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2974
|
+
export declare enum InvoiceStatusEnum {
|
|
2975
|
+
ACTIVE = "active",
|
|
2976
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2977
|
+
WAITING_CLIENT = "waitingClient",
|
|
2978
|
+
CANCELED = "canceled"
|
|
2893
2979
|
}
|
|
2894
|
-
export declare enum
|
|
2895
|
-
|
|
2896
|
-
|
|
2980
|
+
export declare enum LineItemsStatusEnum {
|
|
2981
|
+
USER_PRODUCT = "UserProduct",
|
|
2982
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2897
2983
|
}
|
|
2898
|
-
export declare enum
|
|
2899
|
-
|
|
2900
|
-
|
|
2984
|
+
export declare enum ProductSubTypesEnum {
|
|
2985
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2986
|
+
SEASON_TEAM = "season_team",
|
|
2987
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2901
2988
|
}
|
|
2902
|
-
export declare enum
|
|
2989
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2990
|
+
CREDIT_CARD = "card",
|
|
2991
|
+
ACH = "ach",
|
|
2992
|
+
CASH = "cash",
|
|
2993
|
+
CHECK = "check",
|
|
2994
|
+
BALANCE = "balance",
|
|
2995
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2996
|
+
OTHER = "other",
|
|
2997
|
+
MIGRATED = "migrated",
|
|
2903
2998
|
VOID = "void",
|
|
2904
|
-
|
|
2905
|
-
NONE = "none",
|
|
2906
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2907
|
-
APPEND = "append"
|
|
2999
|
+
GIFT_CARD = "gift-card"
|
|
2908
3000
|
}
|
|
2909
|
-
export declare enum
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
3001
|
+
export declare enum RefundTypeEnum {
|
|
3002
|
+
LEAVE_BALANCE = "leave_balance",
|
|
3003
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2913
3004
|
}
|
|
2914
|
-
export declare enum
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
3005
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
3006
|
+
INDIVIDUAL = "individual",
|
|
3007
|
+
FAMILY = "family",
|
|
3008
|
+
ORGANIZATION = "organization"
|
|
2918
3009
|
}
|
|
2919
|
-
export declare enum
|
|
2920
|
-
|
|
2921
|
-
|
|
3010
|
+
export declare enum MembershipTypeEnum {
|
|
3011
|
+
FIXED = "fix_membership",
|
|
3012
|
+
ROLLING = "rolling_membership"
|
|
2922
3013
|
}
|
|
2923
|
-
export declare enum
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
CANCELED = "canceled"
|
|
3014
|
+
export declare enum CustomerTypeEnum {
|
|
3015
|
+
USER = "user",
|
|
3016
|
+
FAMILY = "family",
|
|
3017
|
+
ORGANIZATION = "organization"
|
|
2928
3018
|
}
|
|
2929
|
-
export declare enum
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
DISABLED_EMAIL = 4
|
|
3019
|
+
export declare enum GroupStatusEnum {
|
|
3020
|
+
ACTIVE = 1,
|
|
3021
|
+
INACTIVE = 2,
|
|
3022
|
+
DRAFT = 3
|
|
2934
3023
|
}
|
|
2935
|
-
export declare enum
|
|
2936
|
-
|
|
3024
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
3025
|
+
FUTURE = "future",
|
|
3026
|
+
SUCCEEDED = "succeeded",
|
|
3027
|
+
FAILED = "failed",
|
|
3028
|
+
CANCELED = "canceled"
|
|
2937
3029
|
}
|
|
2938
|
-
export declare enum
|
|
2939
|
-
|
|
2940
|
-
|
|
3030
|
+
export declare enum EntryStatusEnum {
|
|
3031
|
+
ENTERED = 1,
|
|
3032
|
+
NOT_ENTERED = 2,
|
|
3033
|
+
CANCELED = 3
|
|
2941
3034
|
}
|
|
2942
|
-
export
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
minValue?: string;
|
|
2947
|
-
maxValue?: string;
|
|
3035
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3036
|
+
ACTIVE = 1,
|
|
3037
|
+
MOVED = 2,
|
|
3038
|
+
CANCELED = 3
|
|
2948
3039
|
}
|
|
2949
|
-
export
|
|
2950
|
-
|
|
2951
|
-
|
|
3040
|
+
export declare enum TeamCanJoinEnum {
|
|
3041
|
+
ANYONE = "anyone",
|
|
3042
|
+
BY_INVITE = "byInvite",
|
|
3043
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2952
3044
|
}
|
|
2953
|
-
export
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
3045
|
+
export declare enum TeamMemberStatusEnum {
|
|
3046
|
+
PENDING = 1,
|
|
3047
|
+
ACTIVE = 2,
|
|
3048
|
+
DECLINED = 3,
|
|
3049
|
+
SUSPENDED = 4,
|
|
3050
|
+
INACTIVE = 5,
|
|
3051
|
+
INVITED = 6
|
|
2960
3052
|
}
|
|
2961
|
-
export
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
resourcesIds: number[];
|
|
2965
|
-
isPunchCard: boolean;
|
|
2966
|
-
resources?: any[];
|
|
3053
|
+
export declare enum TeamMemberRoleEnum {
|
|
3054
|
+
NULL = 0,
|
|
3055
|
+
ADMIN = 1
|
|
2967
3056
|
}
|
|
2968
|
-
export
|
|
2969
|
-
|
|
2970
|
-
|
|
3057
|
+
export declare enum DayOfWeekEnum {
|
|
3058
|
+
SUNDAY = 0,
|
|
3059
|
+
MONDAY = 1,
|
|
3060
|
+
TUESDAY = 2,
|
|
3061
|
+
WEDNESDAY = 3,
|
|
3062
|
+
THURSDAY = 4,
|
|
3063
|
+
FRIDAY = 5,
|
|
3064
|
+
SATURDAY = 6
|
|
2971
3065
|
}
|
|
2972
|
-
export
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
3066
|
+
export declare enum ActionTypesEnum {
|
|
3067
|
+
CREATE = "create",
|
|
3068
|
+
READ = "read",
|
|
3069
|
+
UPDATE = "update",
|
|
3070
|
+
DELETE = "delete"
|
|
2976
3071
|
}
|
|
2977
|
-
export
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
payments: Payment[];
|
|
2982
|
-
products: Product[];
|
|
2983
|
-
redeemNext: ProductsUsers;
|
|
3072
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3073
|
+
ADMIN = "admin",
|
|
3074
|
+
BACKOFFICE = "backoffice",
|
|
3075
|
+
CONSUMER = "consumer"
|
|
2984
3076
|
}
|
|
2985
|
-
export
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
userLastName: string;
|
|
2989
|
-
userGender: number;
|
|
2990
|
-
userBirthDate: Date;
|
|
2991
|
-
userProfilePicUrl: string;
|
|
2992
|
-
customerId: number;
|
|
2993
|
-
customerEmail: string;
|
|
2994
|
-
paymentStatus: string;
|
|
2995
|
-
productName: string;
|
|
2996
|
-
punchCard: boolean;
|
|
3077
|
+
export declare enum RolesEnum {
|
|
3078
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3079
|
+
BOND_ADMIN = "bondAdmin"
|
|
2997
3080
|
}
|
|
2998
|
-
export declare
|
|
2999
|
-
|
|
3000
|
-
|
|
3081
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3082
|
+
IN_POOL = 5,
|
|
3083
|
+
ASSIGNED = 1,
|
|
3084
|
+
QUIT = 2,
|
|
3085
|
+
SUSPENDED = 3,
|
|
3086
|
+
INACTIVE = 4
|
|
3001
3087
|
}
|
|
3002
|
-
export declare
|
|
3003
|
-
|
|
3004
|
-
|
|
3088
|
+
export declare enum AmenitiesEnum {
|
|
3089
|
+
HEAT = 1,
|
|
3090
|
+
AC = 2,
|
|
3091
|
+
WIFI = 3,
|
|
3092
|
+
RESTROOMS = 4,
|
|
3093
|
+
DRINKING_FOUNTAIN = 5,
|
|
3094
|
+
PARKING = 6,
|
|
3095
|
+
CONCESSIONS = 7,
|
|
3096
|
+
SHELTER = 8,
|
|
3097
|
+
PORTABLE_RESTROOMS = 9,
|
|
3098
|
+
LIGHTS = 10,
|
|
3099
|
+
LOCKER_ROOM = 11,
|
|
3100
|
+
PAID_PARKING = 12,
|
|
3101
|
+
ACCESSIBLE = 13
|
|
3005
3102
|
}
|
|
3006
|
-
export
|
|
3007
|
-
|
|
3103
|
+
export declare enum ResourceSubTypeEnum {
|
|
3104
|
+
COURT = "court",
|
|
3105
|
+
FIELD = "field",
|
|
3106
|
+
ROOM = "room",
|
|
3107
|
+
DIAMOND = "diamond",
|
|
3108
|
+
RINK = "rink",
|
|
3109
|
+
STUDIO = "studio",
|
|
3110
|
+
POOL = "pool",
|
|
3111
|
+
BATTING_CAGE = "batting cage",
|
|
3112
|
+
SHELTER = "shelter",
|
|
3113
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
3008
3114
|
}
|
|
3009
|
-
export
|
|
3010
|
-
|
|
3011
|
-
bondPaidPayment: Payment;
|
|
3012
|
-
invoice?: Invoice;
|
|
3013
|
-
customer?: Customer;
|
|
3115
|
+
export declare enum ResourceTypeEnum {
|
|
3116
|
+
SPACE = "space"
|
|
3014
3117
|
}
|
|
3015
|
-
export
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
amountToPay: number;
|
|
3118
|
+
export declare enum ResourceAgesEnum {
|
|
3119
|
+
ADULTS = "adults",
|
|
3120
|
+
CHILDREN = "children"
|
|
3019
3121
|
}
|
|
3020
|
-
export
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
3024
|
-
status: PaymentStatusEnum;
|
|
3025
|
-
createdAt: Date;
|
|
3026
|
-
invoices: number[];
|
|
3122
|
+
export declare enum SpacePropertiesEnum {
|
|
3123
|
+
OUTDOOR = "outdoor",
|
|
3124
|
+
INDOOR = "indoor"
|
|
3027
3125
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3126
|
+
export declare enum SurfacesEnum {
|
|
3127
|
+
GRASS = "grass",
|
|
3128
|
+
TURF = "turf",
|
|
3129
|
+
FIELD_TURF = "fieldTurf",
|
|
3130
|
+
ASTRO_TURF = "astroTurf",
|
|
3131
|
+
HARDWOOD = "hardwood",
|
|
3132
|
+
ASPHALT = "asphalt",
|
|
3133
|
+
SAND = "sand",
|
|
3134
|
+
ICE = "ice",
|
|
3135
|
+
SPORT_COURT = "sportCourt"
|
|
3036
3136
|
}
|
|
3037
|
-
export
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
price: number;
|
|
3041
|
-
groupId?: number;
|
|
3042
|
-
groupName?: string;
|
|
3043
|
-
originalPrice?: number;
|
|
3044
|
-
priceWithoutTax: number;
|
|
3045
|
-
tax: number;
|
|
3046
|
-
isTaxInclusive: boolean;
|
|
3137
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3138
|
+
MINUTES = "minutes",
|
|
3139
|
+
DAYS = "days"
|
|
3047
3140
|
}
|
|
3048
|
-
export
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
ccLast4?: string;
|
|
3053
|
-
ccBrand?: string;
|
|
3141
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3142
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3143
|
+
OPEN = "open",
|
|
3144
|
+
CLOSED = "closed"
|
|
3054
3145
|
}
|
|
3055
|
-
export
|
|
3056
|
-
|
|
3057
|
-
|
|
3146
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3147
|
+
FULL = "full",
|
|
3148
|
+
ALREADY_REGISTERED = "registered",
|
|
3149
|
+
AVAILABLE = "available",
|
|
3150
|
+
NOT_OPEN_YET = "not opened",
|
|
3151
|
+
ALREADY_CLOSED = "closed",
|
|
3152
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3058
3153
|
}
|
|
3059
|
-
export
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
close: string;
|
|
3154
|
+
export declare enum DiscountMethodsEnum {
|
|
3155
|
+
PERCENT = "percent",
|
|
3156
|
+
AMOUNT = "amount"
|
|
3063
3157
|
}
|
|
3064
|
-
export
|
|
3065
|
-
|
|
3066
|
-
startTime: string;
|
|
3067
|
-
endTime: string;
|
|
3158
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3159
|
+
ORGANIZATION = "organization"
|
|
3068
3160
|
}
|
|
3069
|
-
export
|
|
3070
|
-
|
|
3071
|
-
startDate: Date;
|
|
3072
|
-
endDate: Date;
|
|
3161
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3162
|
+
USA = "USA"
|
|
3073
3163
|
}
|
|
3074
|
-
export
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
member_nextPaymentMethodId?: string;
|
|
3079
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3080
|
-
member_answerTitleIds?: number[];
|
|
3081
|
-
member_organizationId: number;
|
|
3082
|
-
product_productPrice: number;
|
|
3083
|
-
product_productId: number;
|
|
3084
|
-
invoice_payingUserId: number;
|
|
3085
|
-
invoice_paymentMethodId: string;
|
|
3086
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3087
|
-
endDate: Date;
|
|
3088
|
-
membership_name: string;
|
|
3089
|
-
user_firstName: string;
|
|
3090
|
-
user_lastName: string;
|
|
3091
|
-
user_email: string;
|
|
3164
|
+
export declare enum DateTimeFormatsEnum {
|
|
3165
|
+
API_DATE = "YYYY/MM/DD",
|
|
3166
|
+
API_TIME = "HH:mm:ss",
|
|
3167
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3092
3168
|
}
|
|
3093
|
-
export
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3169
|
+
export declare enum SlotTypeEnum {
|
|
3170
|
+
EXTERNAL = "external",
|
|
3171
|
+
INTERNAL = "internal",
|
|
3172
|
+
MAINTENANCE = "maintenance",
|
|
3173
|
+
CUSTOM = "custom"
|
|
3098
3174
|
}
|
|
3099
|
-
export
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
closeNumDays?: number;
|
|
3106
|
-
closeNumMinutes?: number;
|
|
3107
|
-
closeTime?: string;
|
|
3108
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3175
|
+
export declare enum PlatformsEnum {
|
|
3176
|
+
CONSUMER = "consumer",
|
|
3177
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3178
|
+
BO = "backoffice",
|
|
3179
|
+
MOBILE = "mobile",
|
|
3180
|
+
CRON = "cron"
|
|
3109
3181
|
}
|
|
3110
|
-
export
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3182
|
+
export declare enum ShiftStatusEnum {
|
|
3183
|
+
OPEN = "open",
|
|
3184
|
+
CLOSED = "closed",
|
|
3185
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3186
|
+
RECONCILED = "reconciled"
|
|
3114
3187
|
}
|
|
3115
|
-
export
|
|
3116
|
-
|
|
3117
|
-
|
|
3188
|
+
export declare enum EventStatusEnum {
|
|
3189
|
+
OPEN = 1,
|
|
3190
|
+
DRAFT = 2,
|
|
3191
|
+
FULL = 3,
|
|
3192
|
+
CANCELLED = 4,
|
|
3193
|
+
CLOSED = 5,
|
|
3194
|
+
DELETED = 6
|
|
3118
3195
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
organizationName: string;
|
|
3126
|
-
programName: string;
|
|
3196
|
+
export declare enum ReservationTypeEnum {
|
|
3197
|
+
RENTAL = "rental",
|
|
3198
|
+
PROGRAM = "program",
|
|
3199
|
+
MAINTENANCE = "maintenance",
|
|
3200
|
+
CUSTOM = "custom",
|
|
3201
|
+
INTERNAL = "internal"
|
|
3127
3202
|
}
|
|
3128
|
-
export
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
eventEndDate: string;
|
|
3133
|
-
eventStartTime: string;
|
|
3134
|
-
eventEndTime: string;
|
|
3135
|
-
programId: number;
|
|
3136
|
-
programName: string;
|
|
3137
|
-
programType: ProgramTypesEnum;
|
|
3138
|
-
sessionId: number;
|
|
3139
|
-
sessionName: string;
|
|
3140
|
-
sports: number;
|
|
3141
|
-
spaces: {
|
|
3142
|
-
spaceId: number;
|
|
3143
|
-
spaceName: string;
|
|
3144
|
-
}[];
|
|
3145
|
-
status?: RegistrationValidationStatusEnum;
|
|
3203
|
+
export declare enum SlotDurationTypeEnum {
|
|
3204
|
+
DATES = "dates",
|
|
3205
|
+
ALL_DAY = "all day",
|
|
3206
|
+
DURATION = "duration"
|
|
3146
3207
|
}
|
|
3147
|
-
export
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
spaces: ISpaceWithSlots[];
|
|
3208
|
+
export declare enum DurationUnitTypesEnum {
|
|
3209
|
+
MINUTES = "minutes",
|
|
3210
|
+
HOURS = "hours"
|
|
3151
3211
|
}
|
|
3152
|
-
export
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3212
|
+
export declare enum FrequencyEnum {
|
|
3213
|
+
NONE = "none",
|
|
3214
|
+
WEEKLY = "weekly",
|
|
3215
|
+
DAILY = "daily",
|
|
3216
|
+
MONTHLY = "monthly",
|
|
3217
|
+
YEARLY = "yearly"
|
|
3156
3218
|
}
|
|
3157
|
-
export
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
endTime: string;
|
|
3163
|
-
notes: string;
|
|
3164
|
-
spaceId: number;
|
|
3165
|
-
isRental: boolean;
|
|
3166
|
-
slotType: SlotTypeEnum;
|
|
3167
|
-
slotId: number;
|
|
3168
|
-
eventId: number;
|
|
3169
|
-
isPrivate: boolean;
|
|
3219
|
+
export declare enum MaintenanceTimingEnum {
|
|
3220
|
+
BEFORE = 1,
|
|
3221
|
+
AFTER = 2,
|
|
3222
|
+
AT_THE_BEGINING = 3,
|
|
3223
|
+
AT_THE_END = 4
|
|
3170
3224
|
}
|
|
3171
|
-
export
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
maxParticipants: number;
|
|
3176
|
-
maxMaleParticipants: number;
|
|
3177
|
-
maxFemaleParticipants: number;
|
|
3178
|
-
isPunchCard: boolean;
|
|
3225
|
+
export declare enum CreatorTypeEnum {
|
|
3226
|
+
SPACE = "space",
|
|
3227
|
+
PROGRAM_SEASON = "program_season",
|
|
3228
|
+
SEASON = "season"
|
|
3179
3229
|
}
|
|
3180
|
-
export
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3230
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3231
|
+
INDIVIDUAL = "indvidual",
|
|
3232
|
+
CATEGORY = "category",
|
|
3233
|
+
GLOBAL = "global"
|
|
3184
3234
|
}
|
|
3185
|
-
export
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
spaceId: number;
|
|
3194
|
-
creatorType: ResourceNameTypeEnum;
|
|
3195
|
-
slotType: SlotTypeEnum;
|
|
3196
|
-
slotId: number;
|
|
3197
|
-
eventId: number;
|
|
3198
|
-
isPrivate: boolean;
|
|
3235
|
+
export declare enum BondDayOfWeekEnum {
|
|
3236
|
+
MONDAY = 2,
|
|
3237
|
+
TUESDAY = 3,
|
|
3238
|
+
WEDNESDAY = 4,
|
|
3239
|
+
THURSDAY = 5,
|
|
3240
|
+
FRIDAY = 6,
|
|
3241
|
+
SATURDAY = 7,
|
|
3242
|
+
SUNDAY = 8
|
|
3199
3243
|
}
|
|
3200
|
-
export
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3205
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3206
|
-
pUserId: number;
|
|
3207
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3208
|
-
pUserProductId: number;
|
|
3209
|
-
pUserProductName: string;
|
|
3210
|
-
pUserProductPrice: number;
|
|
3211
|
-
pUserProductPriceCurrency: string;
|
|
3212
|
-
pUserProductQuantity: number;
|
|
3213
|
-
pUserProductQuantityLeft: number;
|
|
3214
|
-
pUserUserId: number;
|
|
3244
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3245
|
+
NEW = "new",
|
|
3246
|
+
NO = "no",
|
|
3247
|
+
YES = "yes"
|
|
3215
3248
|
}
|
|
3216
|
-
export
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
organizationId: number;
|
|
3221
|
-
programId: number;
|
|
3222
|
-
programName: string;
|
|
3223
|
-
sessionId: number;
|
|
3224
|
-
sessionName: string;
|
|
3225
|
-
productId: number;
|
|
3226
|
-
productName: string;
|
|
3227
|
-
productUserId: number;
|
|
3228
|
-
purchaseDate: Date;
|
|
3229
|
-
passesLeft: number;
|
|
3249
|
+
export declare enum ProductPackageLevelEnum {
|
|
3250
|
+
HOUR = "hour",
|
|
3251
|
+
SLOT = "slot",
|
|
3252
|
+
RESERVATION = "reservation"
|
|
3230
3253
|
}
|
|
3231
|
-
export
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
startDate: Date;
|
|
3235
|
-
endDate: Date;
|
|
3236
|
-
registrationStartDate: Date;
|
|
3237
|
-
registrationEndDate: Date;
|
|
3238
|
-
sport: SportsEnum;
|
|
3239
|
-
minAge: string;
|
|
3240
|
-
maxAge: string;
|
|
3241
|
-
maxParticipants?: number;
|
|
3242
|
-
gender: GenderEnum;
|
|
3243
|
-
activityTimes: ActivityTimes[];
|
|
3244
|
-
earlyRegistrationStartDate?: Date;
|
|
3245
|
-
earlyRegistrationEndDate?: Date;
|
|
3246
|
-
lateRegistrationStartDate?: Date;
|
|
3247
|
-
lateRegistrationEndDate?: Date;
|
|
3248
|
-
attendeeCount?: number;
|
|
3249
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3254
|
+
export declare enum CancellationStatusEnum {
|
|
3255
|
+
IMMEDIATE = "immediate",
|
|
3256
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3250
3257
|
}
|
|
3251
|
-
export
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
lowestPrice?: number;
|
|
3255
|
-
products?: ISessionLandingPageProduct[];
|
|
3258
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3259
|
+
DRAFT = 0,
|
|
3260
|
+
PUBLISHED = 1
|
|
3256
3261
|
}
|
|
3257
|
-
export
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3262
|
+
export declare enum FinancialStepEnum {
|
|
3263
|
+
VOID = "void",
|
|
3264
|
+
REFUND = "refund",
|
|
3265
|
+
NONE = "none",
|
|
3266
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3267
|
+
APPEND = "append"
|
|
3268
|
+
}
|
|
3269
|
+
export declare enum StripeAccountTypesEnum {
|
|
3270
|
+
STRIPE = "stripe",
|
|
3271
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3272
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3273
|
+
}
|
|
3274
|
+
export declare enum LinkedAccountStatus {
|
|
3275
|
+
PENDING = 1,
|
|
3276
|
+
ACTIVE = 2,
|
|
3277
|
+
PRE_PENDING = 3
|
|
3278
|
+
}
|
|
3279
|
+
export declare enum AddonParentTypeEnum {
|
|
3280
|
+
RESERVATION = "reservation",
|
|
3281
|
+
SLOT = "slot"
|
|
3266
3282
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
productType?: ProductTypesEnum;
|
|
3273
|
-
productSubType?: string;
|
|
3274
|
-
}[];
|
|
3283
|
+
export declare enum EEmailStatus {
|
|
3284
|
+
SENT = "sent",
|
|
3285
|
+
OPENED = "opened",
|
|
3286
|
+
PAID = "paid",
|
|
3287
|
+
CANCELED = "canceled"
|
|
3275
3288
|
}
|
|
3276
|
-
export
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
downpayment?: number;
|
|
3282
|
-
description?: string;
|
|
3283
|
-
prices: Price[];
|
|
3284
|
-
productSubType?: ProductSubTypesEnum;
|
|
3285
|
-
punchCard: boolean;
|
|
3286
|
-
isAddon: boolean;
|
|
3287
|
-
defaultPriceId?: number;
|
|
3289
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3290
|
+
ENABLED = 1,
|
|
3291
|
+
DISABLED_REDIRECT = 2,
|
|
3292
|
+
DISABLED_INFO_ONLY = 3,
|
|
3293
|
+
DISABLED_EMAIL = 4
|
|
3288
3294
|
}
|
|
3289
|
-
export
|
|
3290
|
-
|
|
3291
|
-
stripeCustomerId?: string;
|
|
3292
|
-
fee?: number;
|
|
3295
|
+
export declare enum NotifyMethodEnum {
|
|
3296
|
+
EMAIL = "Email"
|
|
3293
3297
|
}
|
|
3294
|
-
export
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
organizationId: number;
|
|
3298
|
-
startDate: string;
|
|
3299
|
-
endDate: string;
|
|
3300
|
-
sportId: number;
|
|
3298
|
+
export declare enum EComparisonFilter {
|
|
3299
|
+
LessThan = "lt",
|
|
3300
|
+
GreaterOrEqualTo = "gte"
|
|
3301
3301
|
}
|
|
3302
3302
|
export declare class ColumnNumericTransformer {
|
|
3303
3303
|
to(data: number): number;
|
|
3304
3304
|
from(data: string): number;
|
|
3305
3305
|
}
|
|
3306
3306
|
export declare function convertToNumber(data: string): number;
|
|
3307
|
+
export declare class ProductIdsDto {
|
|
3308
|
+
productIds?: number[];
|
|
3309
|
+
}
|
|
3310
|
+
export declare class ProductImportDto {
|
|
3311
|
+
product: Product;
|
|
3312
|
+
prices: Price[];
|
|
3313
|
+
resourceIds: number[];
|
|
3314
|
+
oldId: number;
|
|
3315
|
+
}
|
|
3307
3316
|
export declare enum ImportPaymentTypeEnum {
|
|
3308
3317
|
CREDIT_CARD = "card",
|
|
3309
3318
|
ACH = "ach",
|
|
@@ -3340,6 +3349,13 @@ export declare class ImportedPaymentDto {
|
|
|
3340
3349
|
date: string;
|
|
3341
3350
|
time: string;
|
|
3342
3351
|
}
|
|
3352
|
+
export declare class PunchPassDto {
|
|
3353
|
+
CustomerID: string;
|
|
3354
|
+
QuantityLeft: number;
|
|
3355
|
+
BondProgramID: number;
|
|
3356
|
+
BondSessionID: number;
|
|
3357
|
+
ProductID: number;
|
|
3358
|
+
}
|
|
3343
3359
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3344
3360
|
name?: string;
|
|
3345
3361
|
genderStr?: string;
|
|
@@ -3354,22 +3370,6 @@ export declare class AddFamilyDto {
|
|
|
3354
3370
|
parents: AddImportedCustomerDto[];
|
|
3355
3371
|
children: AddImportedCustomerDto[];
|
|
3356
3372
|
}
|
|
3357
|
-
export declare class ProductIdsDto {
|
|
3358
|
-
productIds?: number[];
|
|
3359
|
-
}
|
|
3360
|
-
export declare class ProductImportDto {
|
|
3361
|
-
product: Product;
|
|
3362
|
-
prices: Price[];
|
|
3363
|
-
resourceIds: number[];
|
|
3364
|
-
oldId: number;
|
|
3365
|
-
}
|
|
3366
|
-
export declare class PunchPassDto {
|
|
3367
|
-
CustomerID: string;
|
|
3368
|
-
QuantityLeft: number;
|
|
3369
|
-
BondProgramID: number;
|
|
3370
|
-
BondSessionID: number;
|
|
3371
|
-
ProductID: number;
|
|
3372
|
-
}
|
|
3373
3373
|
export declare class GameSlots extends BondBaseEntity {
|
|
3374
3374
|
entityType: string;
|
|
3375
3375
|
entityId: number;
|
|
@@ -3388,6 +3388,28 @@ export declare class Matches extends BondBaseEntity {
|
|
|
3388
3388
|
status: number | null;
|
|
3389
3389
|
excludeStandings: boolean | null;
|
|
3390
3390
|
}
|
|
3391
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3392
|
+
roundId: number;
|
|
3393
|
+
eventId: number;
|
|
3394
|
+
seriesId: number | null;
|
|
3395
|
+
createdAt: Date;
|
|
3396
|
+
updatedAt: Date;
|
|
3397
|
+
}
|
|
3398
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3399
|
+
seasonId: number;
|
|
3400
|
+
ordinal?: number;
|
|
3401
|
+
divisionId?: number;
|
|
3402
|
+
name: string;
|
|
3403
|
+
}
|
|
3404
|
+
export declare class Lock extends BondBaseEntity {
|
|
3405
|
+
name: string;
|
|
3406
|
+
locked?: Date;
|
|
3407
|
+
}
|
|
3408
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3409
|
+
teamId: number | null;
|
|
3410
|
+
eventId: number | null;
|
|
3411
|
+
status: number | null;
|
|
3412
|
+
}
|
|
3391
3413
|
export declare class ImportedSlotProductDto {
|
|
3392
3414
|
slotID?: string;
|
|
3393
3415
|
name?: string;
|
|
@@ -3439,28 +3461,6 @@ export declare class ImportedReservationDto {
|
|
|
3439
3461
|
slots?: ImportedSlotDto[];
|
|
3440
3462
|
addons?: ImportedSlotProductDto[];
|
|
3441
3463
|
}
|
|
3442
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3443
|
-
roundId: number;
|
|
3444
|
-
eventId: number;
|
|
3445
|
-
seriesId: number | null;
|
|
3446
|
-
createdAt: Date;
|
|
3447
|
-
updatedAt: Date;
|
|
3448
|
-
}
|
|
3449
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3450
|
-
seasonId: number;
|
|
3451
|
-
ordinal?: number;
|
|
3452
|
-
divisionId?: number;
|
|
3453
|
-
name: string;
|
|
3454
|
-
}
|
|
3455
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3456
|
-
teamId: number | null;
|
|
3457
|
-
eventId: number | null;
|
|
3458
|
-
status: number | null;
|
|
3459
|
-
}
|
|
3460
|
-
export declare class Lock extends BondBaseEntity {
|
|
3461
|
-
name: string;
|
|
3462
|
-
locked?: Date;
|
|
3463
|
-
}
|
|
3464
3464
|
export interface ValidatedMonthAndDay {
|
|
3465
3465
|
valid: boolean;
|
|
3466
3466
|
month?: number;
|
|
@@ -3470,12 +3470,6 @@ export interface ValidationReason {
|
|
|
3470
3470
|
valid: boolean;
|
|
3471
3471
|
reason?: string;
|
|
3472
3472
|
}
|
|
3473
|
-
export declare class CreateMonitorConfigDto {
|
|
3474
|
-
facilityId: number;
|
|
3475
|
-
name: string;
|
|
3476
|
-
code: string;
|
|
3477
|
-
config: any;
|
|
3478
|
-
}
|
|
3479
3473
|
export interface PaymentStatus {
|
|
3480
3474
|
parentId: number;
|
|
3481
3475
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3488,6 +3482,12 @@ export interface PaymentStatusesDict {
|
|
|
3488
3482
|
export interface PaymentStatusDict {
|
|
3489
3483
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3490
3484
|
}
|
|
3485
|
+
export declare class CreateMonitorConfigDto {
|
|
3486
|
+
facilityId: number;
|
|
3487
|
+
name: string;
|
|
3488
|
+
code: string;
|
|
3489
|
+
config: any;
|
|
3490
|
+
}
|
|
3491
3491
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3492
3492
|
facilityId: number;
|
|
3493
3493
|
code: string;
|
|
@@ -3582,6 +3582,10 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3582
3582
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3583
3583
|
mainAdminUserId?: number;
|
|
3584
3584
|
}
|
|
3585
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3586
|
+
organisationId: number | null;
|
|
3587
|
+
userId: number | null;
|
|
3588
|
+
}
|
|
3585
3589
|
export interface UnallocatedEventsFilters {
|
|
3586
3590
|
programsIds?: number[];
|
|
3587
3591
|
sessionsIds?: number[];
|
|
@@ -3608,10 +3612,6 @@ export interface IUnallocatedEventRes {
|
|
|
3608
3612
|
export interface IUnallocatedEventsIdsRes {
|
|
3609
3613
|
data: IUnallocatedEventRes[];
|
|
3610
3614
|
}
|
|
3611
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3612
|
-
organisationId: number | null;
|
|
3613
|
-
userId: number | null;
|
|
3614
|
-
}
|
|
3615
3615
|
export declare class CustomerIdDto {
|
|
3616
3616
|
customerId: number;
|
|
3617
3617
|
}
|
|
@@ -3791,6 +3791,16 @@ export interface ExtendedLineItems {
|
|
|
3791
3791
|
products: LineItems[];
|
|
3792
3792
|
events: LineItems[];
|
|
3793
3793
|
}
|
|
3794
|
+
export interface RefundResult extends PaymentsResults {
|
|
3795
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3796
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3797
|
+
invoice?: Invoice;
|
|
3798
|
+
}
|
|
3799
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3800
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3801
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3802
|
+
totalAmountProcessed: number;
|
|
3803
|
+
}
|
|
3794
3804
|
export declare class AddonDto {
|
|
3795
3805
|
productId: number;
|
|
3796
3806
|
id?: number;
|
|
@@ -3818,16 +3828,6 @@ export declare class EditAddonDto {
|
|
|
3818
3828
|
totalPrice: number;
|
|
3819
3829
|
unitPrice?: number;
|
|
3820
3830
|
}
|
|
3821
|
-
export interface RefundResult extends PaymentsResults {
|
|
3822
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3823
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3824
|
-
invoice?: Invoice;
|
|
3825
|
-
}
|
|
3826
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3827
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3828
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3829
|
-
totalAmountProcessed: number;
|
|
3830
|
-
}
|
|
3831
3831
|
export declare class InvoiceDto {
|
|
3832
3832
|
invoiceId?: string | null;
|
|
3833
3833
|
organizationId: number;
|
|
@@ -3869,13 +3869,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3869
3869
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3870
3870
|
segments: SegmentDto[];
|
|
3871
3871
|
}
|
|
3872
|
-
export declare class MaintenanceDto {
|
|
3873
|
-
id?: number;
|
|
3874
|
-
title: string;
|
|
3875
|
-
durationValue: number;
|
|
3876
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3877
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3878
|
-
}
|
|
3879
3872
|
export declare class LineItemDto {
|
|
3880
3873
|
id?: number;
|
|
3881
3874
|
invoiceId?: number;
|
|
@@ -3902,6 +3895,13 @@ export declare class LineItemDto {
|
|
|
3902
3895
|
unitTaxPrice?: number;
|
|
3903
3896
|
parentOrdinal?: number;
|
|
3904
3897
|
}
|
|
3898
|
+
export declare class MaintenanceDto {
|
|
3899
|
+
id?: number;
|
|
3900
|
+
title: string;
|
|
3901
|
+
durationValue: number;
|
|
3902
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3903
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3904
|
+
}
|
|
3905
3905
|
export declare class PurchasedResourceDto {
|
|
3906
3906
|
resourceId?: number;
|
|
3907
3907
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -4073,23 +4073,6 @@ export declare class SegmentDto {
|
|
|
4073
4073
|
publicNotesForSlots?: string;
|
|
4074
4074
|
privateNotesForSlots?: string;
|
|
4075
4075
|
}
|
|
4076
|
-
export declare class SeriesDto {
|
|
4077
|
-
id?: number;
|
|
4078
|
-
startDate: string;
|
|
4079
|
-
startTime?: string;
|
|
4080
|
-
endDate?: string;
|
|
4081
|
-
endTime?: string;
|
|
4082
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4083
|
-
durationEndsAfter?: number;
|
|
4084
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4085
|
-
frequency: FrequencyEnum;
|
|
4086
|
-
repeatEvery?: number;
|
|
4087
|
-
repeatOn?: number[];
|
|
4088
|
-
repeatEndDate?: string;
|
|
4089
|
-
numberOccurrences?: number;
|
|
4090
|
-
maintenance?: MaintenanceDto[];
|
|
4091
|
-
slots?: SlotDto[];
|
|
4092
|
-
}
|
|
4093
4076
|
export declare class SlotDateTimeAndSpace {
|
|
4094
4077
|
startDate: string;
|
|
4095
4078
|
startTime?: string;
|
|
@@ -4197,12 +4180,6 @@ export declare class BookingV1Dto {
|
|
|
4197
4180
|
cashPayment: boolean;
|
|
4198
4181
|
requestOnly: boolean;
|
|
4199
4182
|
}
|
|
4200
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4201
|
-
deletedAt?: Date;
|
|
4202
|
-
reservationId: number;
|
|
4203
|
-
invoiceId: number;
|
|
4204
|
-
slotId: number;
|
|
4205
|
-
}
|
|
4206
4183
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4207
4184
|
parentId: number;
|
|
4208
4185
|
parentType: AddonParentTypeEnum;
|
|
@@ -4223,6 +4200,29 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4223
4200
|
previousProductUsersIds?: number[];
|
|
4224
4201
|
previousProductUsers?: ProductsUsers[];
|
|
4225
4202
|
}
|
|
4203
|
+
export declare class SeriesDto {
|
|
4204
|
+
id?: number;
|
|
4205
|
+
startDate: string;
|
|
4206
|
+
startTime?: string;
|
|
4207
|
+
endDate?: string;
|
|
4208
|
+
endTime?: string;
|
|
4209
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4210
|
+
durationEndsAfter?: number;
|
|
4211
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4212
|
+
frequency: FrequencyEnum;
|
|
4213
|
+
repeatEvery?: number;
|
|
4214
|
+
repeatOn?: number[];
|
|
4215
|
+
repeatEndDate?: string;
|
|
4216
|
+
numberOccurrences?: number;
|
|
4217
|
+
maintenance?: MaintenanceDto[];
|
|
4218
|
+
slots?: SlotDto[];
|
|
4219
|
+
}
|
|
4220
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4221
|
+
deletedAt?: Date;
|
|
4222
|
+
reservationId: number;
|
|
4223
|
+
invoiceId: number;
|
|
4224
|
+
slotId: number;
|
|
4225
|
+
}
|
|
4226
4226
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4227
4227
|
name?: string;
|
|
4228
4228
|
description?: string;
|
|
@@ -4356,19 +4356,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4356
4356
|
conflictsCount?: number;
|
|
4357
4357
|
conflicts?: Slot[];
|
|
4358
4358
|
}
|
|
4359
|
-
export declare type TSlotAndType = {
|
|
4360
|
-
type: 'slots' | 'slot_addons';
|
|
4361
|
-
slotsForProduct: {
|
|
4362
|
-
[productId: number]: {
|
|
4363
|
-
product: Product;
|
|
4364
|
-
slots: SlotDto[];
|
|
4365
|
-
};
|
|
4366
|
-
};
|
|
4367
|
-
};
|
|
4368
|
-
export interface ILineItemResource {
|
|
4369
|
-
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4370
|
-
values: TResource[];
|
|
4371
|
-
}
|
|
4372
4359
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4373
4360
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4374
4361
|
export interface ReservationV1 {
|
|
@@ -4588,6 +4575,19 @@ export interface AddonMetadata {
|
|
|
4588
4575
|
totalPrice: number;
|
|
4589
4576
|
product?: Product;
|
|
4590
4577
|
}
|
|
4578
|
+
export declare type TSlotAndType = {
|
|
4579
|
+
type: 'slots' | 'slot_addons';
|
|
4580
|
+
slotsForProduct: {
|
|
4581
|
+
[productId: number]: {
|
|
4582
|
+
product: Product;
|
|
4583
|
+
slots: SlotDto[];
|
|
4584
|
+
};
|
|
4585
|
+
};
|
|
4586
|
+
};
|
|
4587
|
+
export interface ILineItemResource {
|
|
4588
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4589
|
+
values: TResource[];
|
|
4590
|
+
}
|
|
4591
4591
|
export declare class ChangeRolePermissionsDto {
|
|
4592
4592
|
permissionIds: number[];
|
|
4593
4593
|
}
|
|
@@ -4637,6 +4637,10 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4637
4637
|
startDate?: Date;
|
|
4638
4638
|
endDate?: Date;
|
|
4639
4639
|
}
|
|
4640
|
+
export declare class OpenShiftDto {
|
|
4641
|
+
openingCashAmount: number;
|
|
4642
|
+
stationId: number;
|
|
4643
|
+
}
|
|
4640
4644
|
export declare class ShiftManagementClosingAmount {
|
|
4641
4645
|
shiftId: number;
|
|
4642
4646
|
managementClosingCashAmount: number;
|
|
@@ -4644,10 +4648,6 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4644
4648
|
export declare class ManagementClosingOfShiftsDto {
|
|
4645
4649
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4646
4650
|
}
|
|
4647
|
-
export declare class OpenShiftDto {
|
|
4648
|
-
openingCashAmount: number;
|
|
4649
|
-
stationId: number;
|
|
4650
|
-
}
|
|
4651
4651
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4652
4652
|
stationId: number;
|
|
4653
4653
|
station?: Station;
|