@bondsports/types 0.0.36 → 0.0.39
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 +881 -881
- 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
|
@@ -27,49 +27,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
-
export declare class AddressDto {
|
|
31
|
-
city: string;
|
|
32
|
-
state: string;
|
|
33
|
-
country: string;
|
|
34
|
-
geo: number[];
|
|
35
|
-
}
|
|
36
|
-
export declare class OpeningTimeDto {
|
|
37
|
-
open: string;
|
|
38
|
-
close: string;
|
|
39
|
-
dayOfWeek: number;
|
|
40
|
-
}
|
|
41
|
-
export declare class CreateFacilityDto {
|
|
42
|
-
name: string;
|
|
43
|
-
sports: number[];
|
|
44
|
-
description?: string;
|
|
45
|
-
longDescription?: string;
|
|
46
|
-
info?: string;
|
|
47
|
-
address: AddressDto;
|
|
48
|
-
timezone: string;
|
|
49
|
-
amenities: number[];
|
|
50
|
-
openingTimes: OpeningTimeDto[];
|
|
51
|
-
resourcesIds?: number[];
|
|
52
|
-
}
|
|
53
|
-
export declare class UpdateFacilityDetailsDto {
|
|
54
|
-
name?: string;
|
|
55
|
-
description?: string;
|
|
56
|
-
longDescription?: string;
|
|
57
|
-
info?: string;
|
|
58
|
-
address?: AddressDto;
|
|
59
|
-
timezone?: string;
|
|
60
|
-
}
|
|
61
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
62
|
-
openingTimes: OpeningTimeDto[];
|
|
63
|
-
}
|
|
64
|
-
export declare class UpdateFacilitySportsDto {
|
|
65
|
-
sports: number[];
|
|
66
|
-
}
|
|
67
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
68
|
-
amenities: number[];
|
|
69
|
-
}
|
|
70
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
71
|
-
nameSearch?: string;
|
|
72
|
-
}
|
|
73
30
|
export declare class FindEventByIdDto {
|
|
74
31
|
eventId: number;
|
|
75
32
|
organizationId: number;
|
|
@@ -171,6 +128,49 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
171
128
|
isWaiverSigned?: string;
|
|
172
129
|
statuses?: string;
|
|
173
130
|
}
|
|
131
|
+
export declare class AddressDto {
|
|
132
|
+
city: string;
|
|
133
|
+
state: string;
|
|
134
|
+
country: string;
|
|
135
|
+
geo: number[];
|
|
136
|
+
}
|
|
137
|
+
export declare class OpeningTimeDto {
|
|
138
|
+
open: string;
|
|
139
|
+
close: string;
|
|
140
|
+
dayOfWeek: number;
|
|
141
|
+
}
|
|
142
|
+
export declare class CreateFacilityDto {
|
|
143
|
+
name: string;
|
|
144
|
+
sports: number[];
|
|
145
|
+
description?: string;
|
|
146
|
+
longDescription?: string;
|
|
147
|
+
info?: string;
|
|
148
|
+
address: AddressDto;
|
|
149
|
+
timezone: string;
|
|
150
|
+
amenities: number[];
|
|
151
|
+
openingTimes: OpeningTimeDto[];
|
|
152
|
+
resourcesIds?: number[];
|
|
153
|
+
}
|
|
154
|
+
export declare class UpdateFacilityDetailsDto {
|
|
155
|
+
name?: string;
|
|
156
|
+
description?: string;
|
|
157
|
+
longDescription?: string;
|
|
158
|
+
info?: string;
|
|
159
|
+
address?: AddressDto;
|
|
160
|
+
timezone?: string;
|
|
161
|
+
}
|
|
162
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
163
|
+
openingTimes: OpeningTimeDto[];
|
|
164
|
+
}
|
|
165
|
+
export declare class UpdateFacilitySportsDto {
|
|
166
|
+
sports: number[];
|
|
167
|
+
}
|
|
168
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
169
|
+
amenities: number[];
|
|
170
|
+
}
|
|
171
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
172
|
+
nameSearch?: string;
|
|
173
|
+
}
|
|
174
174
|
export declare class FindFamilyAccountsDto {
|
|
175
175
|
userId: number;
|
|
176
176
|
}
|
|
@@ -225,119 +225,264 @@ export declare class GetGlCodeDto {
|
|
|
225
225
|
createdAt: Date;
|
|
226
226
|
updatedAt: Date;
|
|
227
227
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
|
|
230
|
-
entitlementGroupId: number;
|
|
231
|
-
terms: IEntitlementTerms[];
|
|
232
|
-
}
|
|
233
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
234
|
-
entitlementGroupId: number;
|
|
235
|
-
}
|
|
236
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
237
|
-
user: any;
|
|
238
|
-
userVariables: IQuestionAnswerObject[];
|
|
228
|
+
export declare class FindByProgramSeasonIdDto {
|
|
229
|
+
seasonId: number;
|
|
239
230
|
}
|
|
240
|
-
export declare class
|
|
241
|
-
|
|
242
|
-
user?: any;
|
|
243
|
-
answers?: IQuestionAnswerObject[];
|
|
244
|
-
itemIds: number[];
|
|
245
|
-
itemType?: ResourceNameTypeEnum;
|
|
246
|
-
startDate?: Date;
|
|
231
|
+
export declare class CreateBulkDivisionsDto {
|
|
232
|
+
divisions: CreateDivisionDto[];
|
|
247
233
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
250
|
-
|
|
234
|
+
export declare class CreateDivisionDto {
|
|
235
|
+
name: string;
|
|
236
|
+
ordinal?: number;
|
|
237
|
+
programSeasonId: number;
|
|
238
|
+
color: string;
|
|
239
|
+
isDefault: boolean;
|
|
251
240
|
}
|
|
252
|
-
export declare class
|
|
241
|
+
export declare class CreateGroupDto {
|
|
253
242
|
name: string;
|
|
243
|
+
description?: string;
|
|
244
|
+
status?: GroupStatusEnum;
|
|
245
|
+
maxCapacity?: number;
|
|
246
|
+
mainMediaId?: number;
|
|
247
|
+
minAgeYears?: number;
|
|
248
|
+
maxAgeYears?: number;
|
|
249
|
+
gender: GenderEnum;
|
|
250
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
251
|
+
sports: SportsEnum[];
|
|
252
|
+
questionnaires?: number[];
|
|
253
|
+
captainUserId?: number;
|
|
254
|
+
divisionId?: number;
|
|
254
255
|
}
|
|
255
|
-
export declare class
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
export declare class ConnectGroupToDivision {
|
|
257
|
+
groupId: number;
|
|
258
|
+
divisionId: number;
|
|
259
|
+
prevDivisionId: number;
|
|
258
260
|
}
|
|
259
|
-
export declare class
|
|
260
|
-
|
|
261
|
+
export declare class MoveUserInGroups {
|
|
262
|
+
userId: number;
|
|
263
|
+
groupId?: number;
|
|
264
|
+
prevGroupId?: number;
|
|
261
265
|
}
|
|
262
|
-
export declare class
|
|
266
|
+
export declare class SaveUserAsGroupCaptain {
|
|
263
267
|
groupId: number;
|
|
264
|
-
|
|
265
|
-
startDate?: Date;
|
|
266
|
-
endDate?: Date;
|
|
267
|
-
discountValue?: number;
|
|
268
|
-
discountMethod?: DiscountMethodsEnum;
|
|
268
|
+
userId: number;
|
|
269
269
|
}
|
|
270
|
-
export declare class
|
|
271
|
-
|
|
270
|
+
export declare class CreateTeamInviteDto {
|
|
271
|
+
emails: string[];
|
|
272
|
+
userCreatorId: number;
|
|
272
273
|
}
|
|
273
|
-
export declare class
|
|
274
|
-
|
|
275
|
-
userId: number;
|
|
276
|
-
resources: ResourceDto[];
|
|
274
|
+
export declare class TeamByIdDto {
|
|
275
|
+
teamId: number;
|
|
277
276
|
}
|
|
278
|
-
export declare class
|
|
279
|
-
|
|
280
|
-
answers: UserAnswersDto[];
|
|
277
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
278
|
+
inviteToken: string;
|
|
281
279
|
}
|
|
282
|
-
export declare class
|
|
283
|
-
|
|
284
|
-
|
|
280
|
+
export declare class JoinTeamDto {
|
|
281
|
+
userId: number;
|
|
282
|
+
inviteToken?: string;
|
|
285
283
|
}
|
|
286
|
-
export declare class
|
|
287
|
-
|
|
284
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
285
|
+
userId: number;
|
|
288
286
|
}
|
|
289
|
-
export
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
287
|
+
export interface IMoveSeason {
|
|
288
|
+
fromSeasonId: number;
|
|
289
|
+
toSeasonId: number;
|
|
293
290
|
}
|
|
294
|
-
export declare class
|
|
295
|
-
|
|
291
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
292
|
+
teamId?: number;
|
|
293
|
+
memberId?: number;
|
|
294
|
+
fromSeasonId: number;
|
|
295
|
+
toSeasonId: number;
|
|
296
|
+
toDivisionId?: number;
|
|
296
297
|
}
|
|
297
|
-
export declare class
|
|
298
|
-
|
|
298
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
299
|
+
fileName: string;
|
|
300
|
+
}
|
|
301
|
+
export declare class CreateMembershipDto {
|
|
299
302
|
organizationId: number;
|
|
300
303
|
name: string;
|
|
301
|
-
quantity?: number;
|
|
302
|
-
isPublic: boolean;
|
|
303
|
-
startDate?: Date;
|
|
304
|
-
endDate?: Date;
|
|
305
304
|
description?: string;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
isTaxInclusive?: boolean;
|
|
325
|
-
tax?: number;
|
|
326
|
-
sports?: number[];
|
|
327
|
-
durationMinutes?: number;
|
|
328
|
-
durationDays?: number;
|
|
329
|
-
forms?: number[];
|
|
330
|
-
isForAllCustomers?: boolean;
|
|
331
|
-
membershipsAvailableFor?: number[];
|
|
332
|
-
customersAvailableFor?: number[];
|
|
333
|
-
addons?: createRentalProductAddonDto[];
|
|
334
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
305
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
306
|
+
activity: SportsEnum;
|
|
307
|
+
facilityId: number;
|
|
308
|
+
questionnaires: number[];
|
|
309
|
+
minAgeYears: number;
|
|
310
|
+
maxAgeYears: number;
|
|
311
|
+
gender: GenderEnum;
|
|
312
|
+
maxMembers?: number;
|
|
313
|
+
maxMaleMembers?: number;
|
|
314
|
+
maxFemaleMembers?: number;
|
|
315
|
+
startDate: string;
|
|
316
|
+
endDate: string;
|
|
317
|
+
registrationStartDate?: Date;
|
|
318
|
+
registrationEndDate?: Date;
|
|
319
|
+
membershipType: MembershipTypeEnum;
|
|
320
|
+
durationMonths: number;
|
|
321
|
+
longDescription?: string;
|
|
322
|
+
isAutoRenew?: boolean;
|
|
335
323
|
}
|
|
336
|
-
export declare class
|
|
337
|
-
|
|
338
|
-
price: CreatePriceDto[];
|
|
324
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
325
|
+
id: number;
|
|
339
326
|
}
|
|
340
|
-
export declare class
|
|
327
|
+
export declare class UpdateMembershipMediaDto {
|
|
328
|
+
membershipId: number;
|
|
329
|
+
mediaId: number;
|
|
330
|
+
}
|
|
331
|
+
export declare class FindMembershipByIdDto {
|
|
332
|
+
membershipId: number;
|
|
333
|
+
}
|
|
334
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
335
|
+
organizationId: number;
|
|
336
|
+
}
|
|
337
|
+
export declare class FindMembershipsByUserIdDto {
|
|
338
|
+
userId: number;
|
|
339
|
+
}
|
|
340
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
341
|
+
startDate: string;
|
|
342
|
+
}
|
|
343
|
+
export declare class MembershipIdsDto {
|
|
344
|
+
membershipIds?: number[];
|
|
345
|
+
}
|
|
346
|
+
export declare class MemberIdDto {
|
|
347
|
+
memberId?: number;
|
|
348
|
+
}
|
|
349
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
350
|
+
nameEmailSearch?: string;
|
|
351
|
+
pastMemberships?: string;
|
|
352
|
+
}
|
|
353
|
+
export declare class CancelMembershipDto {
|
|
354
|
+
isImmediatelyCancel: boolean;
|
|
355
|
+
cancellationReason?: string;
|
|
356
|
+
}
|
|
357
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
358
|
+
membershipId: number;
|
|
359
|
+
}
|
|
360
|
+
export declare class ImportProductsFromDB {
|
|
361
|
+
buDate: string;
|
|
362
|
+
}
|
|
363
|
+
export declare class ImportCustomerFromCSV {
|
|
364
|
+
fileName: string;
|
|
365
|
+
startIndex?: number;
|
|
366
|
+
}
|
|
367
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
368
|
+
resolveInvoices: string;
|
|
369
|
+
}
|
|
370
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
371
|
+
membershipId: number;
|
|
372
|
+
onlyDashIds: string;
|
|
373
|
+
}
|
|
374
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
375
|
+
facilityId: number;
|
|
376
|
+
}
|
|
377
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
378
|
+
customerId: number;
|
|
379
|
+
}
|
|
380
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
381
|
+
nameSearch?: string;
|
|
382
|
+
fuzzy?: string;
|
|
383
|
+
customerType?: CustomerTypeEnum;
|
|
384
|
+
customersIds?: string;
|
|
385
|
+
}
|
|
386
|
+
export declare class AddCustomerNotesDto {
|
|
387
|
+
customerNotes: CustomerNoteDto[];
|
|
388
|
+
}
|
|
389
|
+
export declare class CustomerNoteDto {
|
|
390
|
+
id?: number;
|
|
391
|
+
description: string;
|
|
392
|
+
pinToTop?: boolean;
|
|
393
|
+
}
|
|
394
|
+
export declare class AddEditCustomerDto {
|
|
395
|
+
firstName?: string;
|
|
396
|
+
lastName?: string;
|
|
397
|
+
entityId?: number;
|
|
398
|
+
entityType?: CustomerTypeEnum;
|
|
399
|
+
email?: string;
|
|
400
|
+
color?: string;
|
|
401
|
+
street?: string;
|
|
402
|
+
city?: string;
|
|
403
|
+
state?: string;
|
|
404
|
+
zip?: string;
|
|
405
|
+
phoneNumber?: string;
|
|
406
|
+
mainMediaId?: number;
|
|
407
|
+
creatorId?: number;
|
|
408
|
+
creatorType?: ResourceNameTypeEnum;
|
|
409
|
+
userCreatorId?: number;
|
|
410
|
+
gender?: GenderEnum;
|
|
411
|
+
birthDate?: string;
|
|
412
|
+
emergencyContactName?: string;
|
|
413
|
+
emergencyContactPhone?: string;
|
|
414
|
+
}
|
|
415
|
+
export declare class FindByProductIdDto {
|
|
416
|
+
productId: number;
|
|
417
|
+
}
|
|
418
|
+
export declare class FindPriceOfProductDto {
|
|
419
|
+
id: number;
|
|
420
|
+
userId: number;
|
|
421
|
+
resources: ResourceDto[];
|
|
422
|
+
}
|
|
423
|
+
export declare class FindPricesOfProductsDto {
|
|
424
|
+
products: FindPriceOfProductDto[];
|
|
425
|
+
answers: UserAnswersDto[];
|
|
426
|
+
}
|
|
427
|
+
export declare class FindPackageByResourceDto {
|
|
428
|
+
resourceType: ResourceNameTypeEnum;
|
|
429
|
+
resourceId: number;
|
|
430
|
+
}
|
|
431
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
432
|
+
organizationId: number;
|
|
433
|
+
}
|
|
434
|
+
export declare class CreateProductsDto {
|
|
435
|
+
products: CreateProductDto[];
|
|
436
|
+
addOnsData?: ProductInPackage[];
|
|
437
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
438
|
+
}
|
|
439
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
440
|
+
name: string;
|
|
441
|
+
}
|
|
442
|
+
export declare class CreateProductDto {
|
|
443
|
+
id?: number;
|
|
444
|
+
organizationId: number;
|
|
445
|
+
name: string;
|
|
446
|
+
quantity?: number;
|
|
447
|
+
isPublic: boolean;
|
|
448
|
+
startDate?: Date;
|
|
449
|
+
endDate?: Date;
|
|
450
|
+
description?: string;
|
|
451
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
452
|
+
resourcesIdsToApplyOn?: number[];
|
|
453
|
+
GL?: string;
|
|
454
|
+
prices: CreatePriceDto[];
|
|
455
|
+
downpayment?: number;
|
|
456
|
+
productType: ProductTypesEnum;
|
|
457
|
+
subProductType?: string;
|
|
458
|
+
defaultForResourceId?: number;
|
|
459
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
460
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
461
|
+
variantTitleIds?: number[];
|
|
462
|
+
variants?: VariantWithPrice[];
|
|
463
|
+
variantParentId?: number;
|
|
464
|
+
isAddon?: boolean;
|
|
465
|
+
isArchive?: boolean;
|
|
466
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
467
|
+
isProRated?: boolean;
|
|
468
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
469
|
+
isTaxInclusive?: boolean;
|
|
470
|
+
tax?: number;
|
|
471
|
+
sports?: number[];
|
|
472
|
+
durationMinutes?: number;
|
|
473
|
+
durationDays?: number;
|
|
474
|
+
forms?: number[];
|
|
475
|
+
isForAllCustomers?: boolean;
|
|
476
|
+
membershipsAvailableFor?: number[];
|
|
477
|
+
customersAvailableFor?: number[];
|
|
478
|
+
addons?: createRentalProductAddonDto[];
|
|
479
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
480
|
+
}
|
|
481
|
+
export declare class VariantWithPrice {
|
|
482
|
+
variantIds: number[];
|
|
483
|
+
price: CreatePriceDto[];
|
|
484
|
+
}
|
|
485
|
+
export declare class CreatePriceDto {
|
|
341
486
|
id?: number;
|
|
342
487
|
price: number;
|
|
343
488
|
currency: CurrencyEnum;
|
|
@@ -487,192 +632,231 @@ export declare class createResourceDto {
|
|
|
487
632
|
export declare class archiveDto {
|
|
488
633
|
isArchive: boolean;
|
|
489
634
|
}
|
|
490
|
-
export declare class
|
|
491
|
-
|
|
635
|
+
export declare class CreateEntitlementTermsDto {
|
|
636
|
+
organizationId: number;
|
|
637
|
+
entitlementGroupId: number;
|
|
638
|
+
terms: IEntitlementTerms[];
|
|
492
639
|
}
|
|
493
|
-
export declare class
|
|
494
|
-
|
|
640
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
641
|
+
entitlementGroupId: number;
|
|
495
642
|
}
|
|
496
|
-
export declare class
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
programSeasonId: number;
|
|
500
|
-
color: string;
|
|
501
|
-
isDefault: boolean;
|
|
643
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
644
|
+
user: any;
|
|
645
|
+
userVariables: IQuestionAnswerObject[];
|
|
502
646
|
}
|
|
503
|
-
export declare class
|
|
647
|
+
export declare class FindLowestPriceDto {
|
|
648
|
+
organizationId: number;
|
|
649
|
+
user?: any;
|
|
650
|
+
answers?: IQuestionAnswerObject[];
|
|
651
|
+
itemIds: number[];
|
|
652
|
+
itemType?: ResourceNameTypeEnum;
|
|
653
|
+
startDate?: Date;
|
|
654
|
+
}
|
|
655
|
+
export declare class FindGroupItemsPricingsDto {
|
|
656
|
+
groupsIds: number[];
|
|
657
|
+
itemsIds: number[];
|
|
658
|
+
}
|
|
659
|
+
export declare class CreateEntitlementGroupDto {
|
|
504
660
|
name: string;
|
|
505
|
-
description?: string;
|
|
506
|
-
status?: GroupStatusEnum;
|
|
507
|
-
maxCapacity?: number;
|
|
508
|
-
mainMediaId?: number;
|
|
509
|
-
minAgeYears?: number;
|
|
510
|
-
maxAgeYears?: number;
|
|
511
|
-
gender: GenderEnum;
|
|
512
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
513
|
-
sports: SportsEnum[];
|
|
514
|
-
questionnaires?: number[];
|
|
515
|
-
captainUserId?: number;
|
|
516
|
-
divisionId?: number;
|
|
517
661
|
}
|
|
518
|
-
export declare class
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
prevDivisionId: number;
|
|
662
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
663
|
+
itemIds: number[];
|
|
664
|
+
itemType: string;
|
|
522
665
|
}
|
|
523
|
-
export declare class
|
|
524
|
-
|
|
525
|
-
groupId?: number;
|
|
526
|
-
prevGroupId?: number;
|
|
666
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
667
|
+
groupid: number;
|
|
527
668
|
}
|
|
528
|
-
export declare class
|
|
669
|
+
export declare class CreateGroupPricingWithProduct {
|
|
529
670
|
groupId: number;
|
|
530
|
-
|
|
671
|
+
price: number;
|
|
672
|
+
startDate?: Date;
|
|
673
|
+
endDate?: Date;
|
|
674
|
+
discountValue?: number;
|
|
675
|
+
discountMethod?: DiscountMethodsEnum;
|
|
531
676
|
}
|
|
532
|
-
export declare class
|
|
533
|
-
|
|
534
|
-
userCreatorId: number;
|
|
677
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
678
|
+
programId: number;
|
|
535
679
|
}
|
|
536
|
-
export declare class
|
|
537
|
-
|
|
680
|
+
export declare class FindSessionsFiltersDto {
|
|
681
|
+
status?: PublishingStatusEnum;
|
|
682
|
+
isFullFetch?: boolean;
|
|
538
683
|
}
|
|
539
|
-
export declare class
|
|
540
|
-
|
|
684
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
685
|
+
organizationId: number;
|
|
541
686
|
}
|
|
542
|
-
export declare class
|
|
543
|
-
|
|
544
|
-
inviteToken?: string;
|
|
687
|
+
export declare class DeleteEventAttendeesDto {
|
|
688
|
+
eventAttendeeIds: string;
|
|
545
689
|
}
|
|
546
|
-
export declare class
|
|
547
|
-
|
|
690
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
691
|
+
includeResources?: boolean;
|
|
548
692
|
}
|
|
549
|
-
export
|
|
550
|
-
|
|
551
|
-
toSeasonId: number;
|
|
693
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
694
|
+
seasonId: number;
|
|
552
695
|
}
|
|
553
|
-
export declare class
|
|
554
|
-
|
|
555
|
-
memberId?: number;
|
|
556
|
-
fromSeasonId: number;
|
|
557
|
-
toSeasonId: number;
|
|
558
|
-
toDivisionId?: number;
|
|
559
|
-
}
|
|
560
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
561
|
-
fileName: string;
|
|
696
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
697
|
+
seasonId: number;
|
|
562
698
|
}
|
|
563
|
-
export declare class
|
|
564
|
-
|
|
699
|
+
export declare class DeleteProductDto {
|
|
700
|
+
deleteProduct?: boolean;
|
|
565
701
|
}
|
|
566
|
-
export declare class
|
|
567
|
-
|
|
702
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
703
|
+
userId: number;
|
|
568
704
|
}
|
|
569
|
-
export declare class
|
|
570
|
-
|
|
571
|
-
|
|
705
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
706
|
+
isFreeAgentsOnly?: boolean;
|
|
707
|
+
isPunchCardUsers?: boolean;
|
|
708
|
+
nameEmailSearch?: string;
|
|
572
709
|
}
|
|
573
|
-
export declare class
|
|
574
|
-
|
|
710
|
+
export declare class BaseProgramSeasonDto {
|
|
711
|
+
programId: number;
|
|
712
|
+
name: string;
|
|
713
|
+
status: PublishingStatusEnum;
|
|
714
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
715
|
+
startDate: Date;
|
|
716
|
+
endDate: Date;
|
|
717
|
+
description?: string;
|
|
718
|
+
GL?: string;
|
|
719
|
+
parentSeasonId?: number;
|
|
720
|
+
questionnaires?: number[];
|
|
721
|
+
maxParticipants?: number;
|
|
722
|
+
maxMaleParticipants?: number;
|
|
723
|
+
maxFemaleParticipants?: number;
|
|
724
|
+
maxWaitlist?: number;
|
|
725
|
+
maxMaleWaitlist?: number;
|
|
726
|
+
maxFemaleWaitlist?: number;
|
|
727
|
+
facilityId?: number;
|
|
728
|
+
addressId?: number;
|
|
729
|
+
blockedDated?: blockedDatesDto[];
|
|
730
|
+
activityTimes: ActivityTimesDto[];
|
|
731
|
+
longDescription?: string;
|
|
732
|
+
isPunchCard?: boolean;
|
|
733
|
+
organizationId: number;
|
|
734
|
+
sport: SportsEnum;
|
|
735
|
+
minAge: string;
|
|
736
|
+
maxAge: string;
|
|
737
|
+
gender: GenderEnum;
|
|
738
|
+
level?: LevelOfPlayEnum[];
|
|
739
|
+
requiredProductIds?: number[];
|
|
575
740
|
}
|
|
576
|
-
export declare class
|
|
577
|
-
|
|
578
|
-
onlyDashIds: string;
|
|
741
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
742
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
579
743
|
}
|
|
580
|
-
export declare class
|
|
581
|
-
|
|
744
|
+
export declare class CreateSessionScheduleDto {
|
|
745
|
+
startDate: Date;
|
|
746
|
+
endDate: Date;
|
|
747
|
+
activityTimes: ActivityTimesDto[];
|
|
748
|
+
blockedDated?: blockedDatesDto[];
|
|
749
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
582
750
|
}
|
|
583
|
-
export declare class
|
|
584
|
-
|
|
751
|
+
export declare class SubSeasonBasicInfo {
|
|
752
|
+
name: string;
|
|
753
|
+
startDate: Date;
|
|
754
|
+
endDate: Date;
|
|
755
|
+
activityTimes?: ActivityTimesDto[];
|
|
585
756
|
}
|
|
586
|
-
export declare class
|
|
587
|
-
|
|
588
|
-
fuzzy?: string;
|
|
589
|
-
customerType?: CustomerTypeEnum;
|
|
590
|
-
customersIds?: string;
|
|
757
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
758
|
+
seasonId: number;
|
|
591
759
|
}
|
|
592
|
-
export declare class
|
|
593
|
-
|
|
760
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
761
|
+
seasonId: number;
|
|
762
|
+
status: PublishingStatusEnum;
|
|
594
763
|
}
|
|
595
|
-
export declare class
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
764
|
+
export declare class blockedDatesDto {
|
|
765
|
+
name: string;
|
|
766
|
+
startDate: Date;
|
|
767
|
+
endDate: Date;
|
|
599
768
|
}
|
|
600
|
-
export declare class
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
entityType?: CustomerTypeEnum;
|
|
605
|
-
email?: string;
|
|
606
|
-
color?: string;
|
|
607
|
-
street?: string;
|
|
608
|
-
city?: string;
|
|
609
|
-
state?: string;
|
|
610
|
-
zip?: string;
|
|
611
|
-
phoneNumber?: string;
|
|
612
|
-
mainMediaId?: number;
|
|
613
|
-
creatorId?: number;
|
|
614
|
-
creatorType?: ResourceNameTypeEnum;
|
|
615
|
-
userCreatorId?: number;
|
|
616
|
-
gender?: GenderEnum;
|
|
617
|
-
birthDate?: string;
|
|
618
|
-
emergencyContactName?: string;
|
|
619
|
-
emergencyContactPhone?: string;
|
|
769
|
+
export declare class ActivityTimesDto {
|
|
770
|
+
dayOfWeek: number;
|
|
771
|
+
open: string;
|
|
772
|
+
close: string;
|
|
620
773
|
}
|
|
621
|
-
export declare class
|
|
622
|
-
|
|
774
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
775
|
+
seasonId: number;
|
|
623
776
|
name: string;
|
|
624
777
|
description?: string;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
longDescription?: string;
|
|
642
|
-
isAutoRenew?: boolean;
|
|
778
|
+
questionnaires?: number[];
|
|
779
|
+
maxParticipants?: number;
|
|
780
|
+
maxMaleParticipants?: number;
|
|
781
|
+
maxFemaleParticipants?: number;
|
|
782
|
+
maxWaitlist?: number;
|
|
783
|
+
maxMaleWaitlist?: number;
|
|
784
|
+
maxFemaleWaitlist?: number;
|
|
785
|
+
facilityId?: number;
|
|
786
|
+
addressId?: number;
|
|
787
|
+
sport?: SportsEnum;
|
|
788
|
+
minAge?: string;
|
|
789
|
+
maxAge?: string;
|
|
790
|
+
gender?: GenderEnum;
|
|
791
|
+
level?: LevelOfPlayEnum[];
|
|
792
|
+
requiredProductIds?: number[];
|
|
793
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
643
794
|
}
|
|
644
|
-
export declare class
|
|
795
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
645
796
|
id: number;
|
|
797
|
+
name: string;
|
|
646
798
|
}
|
|
647
|
-
export declare class
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
799
|
+
export declare class SpaceResourcePairDto {
|
|
800
|
+
resourceType: ResourceNameTypeEnum;
|
|
801
|
+
resourceId: number;
|
|
802
|
+
spacesIds: number[];
|
|
803
|
+
publicNotes?: string;
|
|
804
|
+
privateNotes?: string;
|
|
805
|
+
minutesBeforeSlot?: number;
|
|
806
|
+
minutesAfterSlot?: number;
|
|
653
807
|
}
|
|
654
|
-
export declare class
|
|
808
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
809
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
655
810
|
organizationId: number;
|
|
656
811
|
}
|
|
657
|
-
export declare class
|
|
658
|
-
|
|
812
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
813
|
+
date: string;
|
|
814
|
+
startTime: string;
|
|
815
|
+
endTime: string;
|
|
816
|
+
spaceId: number;
|
|
817
|
+
publicNotes?: string;
|
|
818
|
+
slotType?: SlotTypeEnum;
|
|
659
819
|
}
|
|
660
|
-
export declare class
|
|
661
|
-
|
|
820
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
821
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
662
822
|
}
|
|
663
|
-
export declare class
|
|
664
|
-
|
|
823
|
+
export declare class UpdateSeasonDatesDto {
|
|
824
|
+
startDate: Date;
|
|
825
|
+
endDate: Date;
|
|
665
826
|
}
|
|
666
|
-
export declare class
|
|
667
|
-
|
|
827
|
+
export declare class MoveAttendeeDto {
|
|
828
|
+
userId: number;
|
|
829
|
+
resourceType: ResourceNameTypeEnum;
|
|
830
|
+
fromResourceIds: number[];
|
|
831
|
+
toResourceIds: number[];
|
|
668
832
|
}
|
|
669
|
-
export declare class
|
|
670
|
-
|
|
671
|
-
pastMemberships?: string;
|
|
833
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
834
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
672
835
|
}
|
|
673
|
-
export declare class
|
|
674
|
-
|
|
675
|
-
|
|
836
|
+
export declare class RegistrationDatesDto {
|
|
837
|
+
registrationStartDate: Date;
|
|
838
|
+
registrationEndDate: Date;
|
|
839
|
+
earlyRegistrationStartDate?: Date;
|
|
840
|
+
earlyRegistrationEndDate?: Date;
|
|
841
|
+
lateRegistrationStartDate?: Date;
|
|
842
|
+
lateRegistrationEndDate?: Date;
|
|
843
|
+
}
|
|
844
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
845
|
+
closeRegistrationPeriodValue?: number;
|
|
846
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
847
|
+
closeRegistrationSpecTime?: string;
|
|
848
|
+
openRegistrationPeriodValue?: number;
|
|
849
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
850
|
+
openRegistrationSpecTime?: string;
|
|
851
|
+
productsIdsToUpdate?: number[];
|
|
852
|
+
}
|
|
853
|
+
export declare class MoveParticipantDto {
|
|
854
|
+
userId: number;
|
|
855
|
+
oldProductId: number;
|
|
856
|
+
newProductId: number;
|
|
857
|
+
moveType: 'session' | 'segment';
|
|
858
|
+
resourceId: number;
|
|
859
|
+
orderId: number;
|
|
676
860
|
}
|
|
677
861
|
export declare class CreateUpdateVariantsDto {
|
|
678
862
|
organizationId: number;
|
|
@@ -692,6 +876,50 @@ export declare class VariantDto {
|
|
|
692
876
|
startDate: Date;
|
|
693
877
|
endDate: Date;
|
|
694
878
|
}
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
+
organizationId: number;
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
882
|
+
}
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
884
|
+
programId: number;
|
|
885
|
+
}
|
|
886
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
+
programId: number;
|
|
888
|
+
organizationId: number;
|
|
889
|
+
}
|
|
890
|
+
export declare class BaseProgramDto {
|
|
891
|
+
type: ProgramTypesEnum;
|
|
892
|
+
name: string;
|
|
893
|
+
sport: SportsEnum;
|
|
894
|
+
minAge: string;
|
|
895
|
+
maxAge: string;
|
|
896
|
+
gender: GenderEnum;
|
|
897
|
+
level?: LevelOfPlayEnum[];
|
|
898
|
+
description?: string;
|
|
899
|
+
GL?: string;
|
|
900
|
+
status: PublishingStatusEnum;
|
|
901
|
+
organizationId: number;
|
|
902
|
+
userCreatorId: number;
|
|
903
|
+
highlights: ProgramHighlights[];
|
|
904
|
+
longDescription?: string;
|
|
905
|
+
requiredProductIds: number[];
|
|
906
|
+
}
|
|
907
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
+
}
|
|
909
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
+
programId: number;
|
|
911
|
+
mainMediaId: number;
|
|
912
|
+
}
|
|
913
|
+
export declare class UpdateProgramStatusDto {
|
|
914
|
+
programId: number;
|
|
915
|
+
status: PublishingStatusEnum;
|
|
916
|
+
}
|
|
917
|
+
export declare class ProgramHighlightDto {
|
|
918
|
+
data: string;
|
|
919
|
+
ordinal: number;
|
|
920
|
+
type: ProgramHighlightTypeEnum;
|
|
921
|
+
title: string;
|
|
922
|
+
}
|
|
695
923
|
export declare class PurchasePaymentDto {
|
|
696
924
|
token: string;
|
|
697
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -763,272 +991,79 @@ export declare class PartialPaymentAsUserDto {
|
|
|
763
991
|
paymentMethodData: any;
|
|
764
992
|
}
|
|
765
993
|
export declare class CreateResourceGroupDto {
|
|
766
|
-
name: string;
|
|
767
|
-
parentSlotId: number;
|
|
768
|
-
facilityId: number;
|
|
769
|
-
childrenSlotIds: number[];
|
|
770
|
-
}
|
|
771
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
772
|
-
}
|
|
773
|
-
export declare class ResourceDto {
|
|
774
|
-
type: ResourceNameTypeEnum;
|
|
775
|
-
id: number;
|
|
776
|
-
}
|
|
777
|
-
export declare class SpaceByIdDto {
|
|
778
|
-
spaceId: number;
|
|
779
|
-
}
|
|
780
|
-
export declare class CreateSpaceDto {
|
|
781
|
-
name: string;
|
|
782
|
-
sports: number[];
|
|
783
|
-
description?: string;
|
|
784
|
-
longDescription?: string;
|
|
785
|
-
spaceType: ResourceSubTypeEnum;
|
|
786
|
-
isAddon?: boolean;
|
|
787
|
-
properties: SpacePropertiesEnum;
|
|
788
|
-
width?: number;
|
|
789
|
-
length?: number;
|
|
790
|
-
surface?: SurfacesEnum;
|
|
791
|
-
ages?: ResourceAgesEnum;
|
|
792
|
-
amenities: number[];
|
|
793
|
-
activityTimes: BasicActivityTimesDto[];
|
|
794
|
-
facilitiesIds: number[];
|
|
795
|
-
resourceGroupId?: number;
|
|
796
|
-
blockedResourcesIds?: number[];
|
|
797
|
-
}
|
|
798
|
-
export declare class UpdateSpaceDetailsDto {
|
|
799
|
-
name: string;
|
|
800
|
-
description?: string;
|
|
801
|
-
longDescription?: string;
|
|
802
|
-
isAddon?: boolean;
|
|
803
|
-
facilitiesIds: number[];
|
|
804
|
-
}
|
|
805
|
-
export declare class UpdateSpacePropertiesDto {
|
|
806
|
-
properties: SpacePropertiesEnum;
|
|
807
|
-
width?: number;
|
|
808
|
-
length?: number;
|
|
809
|
-
surface?: SurfacesEnum;
|
|
810
|
-
ages?: ResourceAgesEnum;
|
|
811
|
-
}
|
|
812
|
-
export declare class UpdateSpaceTimesDto {
|
|
813
|
-
activityTimes: BasicActivityTimesDto[];
|
|
814
|
-
}
|
|
815
|
-
export declare class UpdateSpaceRelationshipsDto {
|
|
816
|
-
resourceGroupId?: number;
|
|
817
|
-
blockedResourcesIds?: number[];
|
|
818
|
-
}
|
|
819
|
-
export declare class SaveSpaceDependenciesDto {
|
|
820
|
-
blockedSpacesIds: number[];
|
|
821
|
-
parentSpaceId?: number;
|
|
822
|
-
}
|
|
823
|
-
export declare class FacilitySlotsScheduleQueryParams {
|
|
824
|
-
spacesIds?: string;
|
|
825
|
-
futureHoursLimit?: number;
|
|
826
|
-
}
|
|
827
|
-
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
828
|
-
nameSearch?: string;
|
|
829
|
-
facilitiesIds?: string;
|
|
830
|
-
types?: string;
|
|
831
|
-
resourcesIds?: string;
|
|
832
|
-
}
|
|
833
|
-
export declare class StripeCustomerIdDto {
|
|
834
|
-
userId: number;
|
|
835
|
-
}
|
|
836
|
-
export declare class AddACHTokenToCustomerDto {
|
|
837
|
-
publicToken: string;
|
|
838
|
-
accountId: string;
|
|
839
|
-
}
|
|
840
|
-
export declare class FindProgramSeasonsByProgramIdDto {
|
|
841
|
-
programId: number;
|
|
842
|
-
}
|
|
843
|
-
export declare class FindSessionsFiltersDto {
|
|
844
|
-
status?: PublishingStatusEnum;
|
|
845
|
-
isFullFetch?: boolean;
|
|
846
|
-
}
|
|
847
|
-
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
848
|
-
organizationId: number;
|
|
849
|
-
}
|
|
850
|
-
export declare class DeleteEventAttendeesDto {
|
|
851
|
-
eventAttendeeIds: string;
|
|
852
|
-
}
|
|
853
|
-
export declare class FindProgramSeasonByIdQueryDto {
|
|
854
|
-
includeResources?: boolean;
|
|
855
|
-
}
|
|
856
|
-
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
857
|
-
seasonId: number;
|
|
858
|
-
}
|
|
859
|
-
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
860
|
-
seasonId: number;
|
|
861
|
-
}
|
|
862
|
-
export declare class DeleteProductDto {
|
|
863
|
-
deleteProduct?: boolean;
|
|
864
|
-
}
|
|
865
|
-
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
866
|
-
userId: number;
|
|
867
|
-
}
|
|
868
|
-
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
869
|
-
isFreeAgentsOnly?: boolean;
|
|
870
|
-
isPunchCardUsers?: boolean;
|
|
871
|
-
nameEmailSearch?: string;
|
|
872
|
-
}
|
|
873
|
-
export declare class BaseProgramSeasonDto {
|
|
874
|
-
programId: number;
|
|
875
|
-
name: string;
|
|
876
|
-
status: PublishingStatusEnum;
|
|
877
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
878
|
-
startDate: Date;
|
|
879
|
-
endDate: Date;
|
|
880
|
-
description?: string;
|
|
881
|
-
GL?: string;
|
|
882
|
-
parentSeasonId?: number;
|
|
883
|
-
questionnaires?: number[];
|
|
884
|
-
maxParticipants?: number;
|
|
885
|
-
maxMaleParticipants?: number;
|
|
886
|
-
maxFemaleParticipants?: number;
|
|
887
|
-
maxWaitlist?: number;
|
|
888
|
-
maxMaleWaitlist?: number;
|
|
889
|
-
maxFemaleWaitlist?: number;
|
|
890
|
-
facilityId?: number;
|
|
891
|
-
addressId?: number;
|
|
892
|
-
blockedDated?: blockedDatesDto[];
|
|
893
|
-
activityTimes: ActivityTimesDto[];
|
|
894
|
-
longDescription?: string;
|
|
895
|
-
isPunchCard?: boolean;
|
|
896
|
-
organizationId: number;
|
|
897
|
-
sport: SportsEnum;
|
|
898
|
-
minAge: string;
|
|
899
|
-
maxAge: string;
|
|
900
|
-
gender: GenderEnum;
|
|
901
|
-
level?: LevelOfPlayEnum[];
|
|
902
|
-
requiredProductIds?: number[];
|
|
903
|
-
}
|
|
904
|
-
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
905
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
906
|
-
}
|
|
907
|
-
export declare class CreateSessionScheduleDto {
|
|
908
|
-
startDate: Date;
|
|
909
|
-
endDate: Date;
|
|
910
|
-
activityTimes: ActivityTimesDto[];
|
|
911
|
-
blockedDated?: blockedDatesDto[];
|
|
912
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
913
|
-
}
|
|
914
|
-
export declare class SubSeasonBasicInfo {
|
|
915
|
-
name: string;
|
|
916
|
-
startDate: Date;
|
|
917
|
-
endDate: Date;
|
|
918
|
-
activityTimes?: ActivityTimesDto[];
|
|
919
|
-
}
|
|
920
|
-
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
921
|
-
seasonId: number;
|
|
922
|
-
}
|
|
923
|
-
export declare class UpdateProgramSeasonStatusDto {
|
|
924
|
-
seasonId: number;
|
|
925
|
-
status: PublishingStatusEnum;
|
|
926
|
-
}
|
|
927
|
-
export declare class blockedDatesDto {
|
|
928
|
-
name: string;
|
|
929
|
-
startDate: Date;
|
|
930
|
-
endDate: Date;
|
|
931
|
-
}
|
|
932
|
-
export declare class ActivityTimesDto {
|
|
933
|
-
dayOfWeek: number;
|
|
934
|
-
open: string;
|
|
935
|
-
close: string;
|
|
936
|
-
}
|
|
937
|
-
export declare class ShallowUpdateProgramSeasonDto {
|
|
938
|
-
seasonId: number;
|
|
939
|
-
name: string;
|
|
940
|
-
description?: string;
|
|
941
|
-
questionnaires?: number[];
|
|
942
|
-
maxParticipants?: number;
|
|
943
|
-
maxMaleParticipants?: number;
|
|
944
|
-
maxFemaleParticipants?: number;
|
|
945
|
-
maxWaitlist?: number;
|
|
946
|
-
maxMaleWaitlist?: number;
|
|
947
|
-
maxFemaleWaitlist?: number;
|
|
948
|
-
facilityId?: number;
|
|
949
|
-
addressId?: number;
|
|
950
|
-
sport?: SportsEnum;
|
|
951
|
-
minAge?: string;
|
|
952
|
-
maxAge?: string;
|
|
953
|
-
gender?: GenderEnum;
|
|
954
|
-
level?: LevelOfPlayEnum[];
|
|
955
|
-
requiredProductIds?: number[];
|
|
956
|
-
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
957
|
-
}
|
|
958
|
-
export declare class ShallowUpdateSubSeasonDto {
|
|
959
|
-
id: number;
|
|
960
|
-
name: string;
|
|
961
|
-
}
|
|
962
|
-
export declare class SpaceResourcePairDto {
|
|
963
|
-
resourceType: ResourceNameTypeEnum;
|
|
964
|
-
resourceId: number;
|
|
965
|
-
spacesIds: number[];
|
|
966
|
-
publicNotes?: string;
|
|
967
|
-
privateNotes?: string;
|
|
968
|
-
minutesBeforeSlot?: number;
|
|
969
|
-
minutesAfterSlot?: number;
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
970
998
|
}
|
|
971
|
-
export declare class
|
|
972
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
973
|
-
organizationId: number;
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
974
1000
|
}
|
|
975
|
-
export declare class
|
|
976
|
-
date: string;
|
|
977
|
-
startTime: string;
|
|
978
|
-
endTime: string;
|
|
1001
|
+
export declare class SpaceByIdDto {
|
|
979
1002
|
spaceId: number;
|
|
980
|
-
publicNotes?: string;
|
|
981
|
-
slotType?: SlotTypeEnum;
|
|
982
1003
|
}
|
|
983
|
-
export declare class
|
|
984
|
-
|
|
1004
|
+
export declare class CreateSpaceDto {
|
|
1005
|
+
name: string;
|
|
1006
|
+
sports: number[];
|
|
1007
|
+
description?: string;
|
|
1008
|
+
longDescription?: string;
|
|
1009
|
+
spaceType: ResourceSubTypeEnum;
|
|
1010
|
+
isAddon?: boolean;
|
|
1011
|
+
properties: SpacePropertiesEnum;
|
|
1012
|
+
width?: number;
|
|
1013
|
+
length?: number;
|
|
1014
|
+
surface?: SurfacesEnum;
|
|
1015
|
+
ages?: ResourceAgesEnum;
|
|
1016
|
+
amenities: number[];
|
|
1017
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1018
|
+
facilitiesIds: number[];
|
|
1019
|
+
resourceGroupId?: number;
|
|
1020
|
+
blockedResourcesIds?: number[];
|
|
985
1021
|
}
|
|
986
|
-
export declare class
|
|
987
|
-
|
|
988
|
-
|
|
1022
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1023
|
+
name: string;
|
|
1024
|
+
description?: string;
|
|
1025
|
+
longDescription?: string;
|
|
1026
|
+
isAddon?: boolean;
|
|
1027
|
+
facilitiesIds: number[];
|
|
989
1028
|
}
|
|
990
|
-
export declare class
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1029
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1030
|
+
properties: SpacePropertiesEnum;
|
|
1031
|
+
width?: number;
|
|
1032
|
+
length?: number;
|
|
1033
|
+
surface?: SurfacesEnum;
|
|
1034
|
+
ages?: ResourceAgesEnum;
|
|
995
1035
|
}
|
|
996
|
-
export declare class
|
|
997
|
-
|
|
1036
|
+
export declare class UpdateSpaceTimesDto {
|
|
1037
|
+
activityTimes: BasicActivityTimesDto[];
|
|
998
1038
|
}
|
|
999
|
-
export declare class
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
earlyRegistrationStartDate?: Date;
|
|
1003
|
-
earlyRegistrationEndDate?: Date;
|
|
1004
|
-
lateRegistrationStartDate?: Date;
|
|
1005
|
-
lateRegistrationEndDate?: Date;
|
|
1039
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1040
|
+
resourceGroupId?: number;
|
|
1041
|
+
blockedResourcesIds?: number[];
|
|
1006
1042
|
}
|
|
1007
|
-
export declare class
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
closeRegistrationSpecTime?: string;
|
|
1011
|
-
openRegistrationPeriodValue?: number;
|
|
1012
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
1013
|
-
openRegistrationSpecTime?: string;
|
|
1014
|
-
productsIdsToUpdate?: number[];
|
|
1043
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1044
|
+
blockedSpacesIds: number[];
|
|
1045
|
+
parentSpaceId?: number;
|
|
1015
1046
|
}
|
|
1016
|
-
export declare class
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
newProductId: number;
|
|
1020
|
-
moveType: 'session' | 'segment';
|
|
1021
|
-
resourceId: number;
|
|
1022
|
-
orderId: number;
|
|
1047
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1048
|
+
spacesIds?: string;
|
|
1049
|
+
futureHoursLimit?: number;
|
|
1023
1050
|
}
|
|
1024
|
-
export declare class
|
|
1025
|
-
|
|
1051
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1052
|
+
nameSearch?: string;
|
|
1053
|
+
facilitiesIds?: string;
|
|
1054
|
+
types?: string;
|
|
1055
|
+
resourcesIds?: string;
|
|
1026
1056
|
}
|
|
1027
|
-
export declare class
|
|
1028
|
-
|
|
1057
|
+
export declare class ResourceDto {
|
|
1058
|
+
type: ResourceNameTypeEnum;
|
|
1059
|
+
id: number;
|
|
1029
1060
|
}
|
|
1030
|
-
export declare class
|
|
1031
|
-
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1032
1067
|
}
|
|
1033
1068
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1034
1069
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1043,6 +1078,15 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1043
1078
|
oldValue?: any;
|
|
1044
1079
|
newValue?: any;
|
|
1045
1080
|
}
|
|
1081
|
+
export declare class FindByUserIdDto {
|
|
1082
|
+
userId: number;
|
|
1083
|
+
}
|
|
1084
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1085
|
+
familyAccountId?: number;
|
|
1086
|
+
}
|
|
1087
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1088
|
+
organizationId: number;
|
|
1089
|
+
}
|
|
1046
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1047
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1048
1092
|
parentId: number;
|
|
@@ -1096,6 +1140,14 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1096
1140
|
sports: number | null;
|
|
1097
1141
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1098
1142
|
}
|
|
1143
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
|
+
entityType: ResourceNameTypeEnum;
|
|
1145
|
+
entityId: number;
|
|
1146
|
+
name: string;
|
|
1147
|
+
startDate: Date;
|
|
1148
|
+
endDate: Date;
|
|
1149
|
+
deletedAt?: Date;
|
|
1150
|
+
}
|
|
1099
1151
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1100
1152
|
id: number;
|
|
1101
1153
|
createdAt: Date;
|
|
@@ -1194,14 +1246,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1194
1246
|
order: Order;
|
|
1195
1247
|
invoice: Invoice;
|
|
1196
1248
|
}
|
|
1197
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1198
|
-
entityType: ResourceNameTypeEnum;
|
|
1199
|
-
entityId: number;
|
|
1200
|
-
name: string;
|
|
1201
|
-
startDate: Date;
|
|
1202
|
-
endDate: Date;
|
|
1203
|
-
deletedAt?: Date;
|
|
1204
|
-
}
|
|
1205
1249
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1206
1250
|
customerId?: number;
|
|
1207
1251
|
description: string;
|
|
@@ -1216,15 +1260,15 @@ export declare class Division extends BondBaseEntity {
|
|
|
1216
1260
|
isDefault: boolean;
|
|
1217
1261
|
groups: Group[];
|
|
1218
1262
|
}
|
|
1263
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1264
|
+
name: string | null;
|
|
1265
|
+
}
|
|
1219
1266
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1220
1267
|
customerId: number;
|
|
1221
1268
|
name: string | null;
|
|
1222
1269
|
phoneNumber: string | null;
|
|
1223
1270
|
customer: Customer;
|
|
1224
1271
|
}
|
|
1225
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1226
|
-
name: string | null;
|
|
1227
|
-
}
|
|
1228
1272
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1229
1273
|
groupId: number;
|
|
1230
1274
|
terms: IEntitlementTerms[];
|
|
@@ -1327,6 +1371,10 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1327
1371
|
facilityId: number;
|
|
1328
1372
|
resourceId: number;
|
|
1329
1373
|
}
|
|
1374
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
|
+
}
|
|
1330
1378
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1331
1379
|
userId: number;
|
|
1332
1380
|
orderId: number;
|
|
@@ -1369,6 +1417,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1369
1417
|
discountMethod?: DiscountMethodsEnum;
|
|
1370
1418
|
discountValue?: number;
|
|
1371
1419
|
}
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1424
|
+
}
|
|
1372
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1373
1426
|
price: number;
|
|
1374
1427
|
paymentProcessorId: string;
|
|
@@ -1396,11 +1449,6 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1396
1449
|
refundReasonId?: number;
|
|
1397
1450
|
refundNote?: string;
|
|
1398
1451
|
}
|
|
1399
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1400
|
-
groupId: number;
|
|
1401
|
-
divisionId: number;
|
|
1402
|
-
deletedAt?: Date;
|
|
1403
|
-
}
|
|
1404
1452
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1405
1453
|
email: string;
|
|
1406
1454
|
status: EEmailStatus;
|
|
@@ -1571,9 +1619,24 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1571
1619
|
user: User;
|
|
1572
1620
|
userId: number | null;
|
|
1573
1621
|
}
|
|
1574
|
-
export declare class
|
|
1622
|
+
export declare class Media extends BondBaseEntity {
|
|
1623
|
+
url: string;
|
|
1575
1624
|
name: string | null;
|
|
1576
|
-
|
|
1625
|
+
title: string | null;
|
|
1626
|
+
mediaKey: string | null;
|
|
1627
|
+
description: string | null;
|
|
1628
|
+
provider: string | null;
|
|
1629
|
+
mediaType: number;
|
|
1630
|
+
fileType: string | null;
|
|
1631
|
+
isDefault: boolean | null;
|
|
1632
|
+
creatorId: number | null;
|
|
1633
|
+
creatorType: string | null;
|
|
1634
|
+
userCreatorId: number | null;
|
|
1635
|
+
ownerId: number | null;
|
|
1636
|
+
createdBy: number | null;
|
|
1637
|
+
users: User[];
|
|
1638
|
+
programs: Program[];
|
|
1639
|
+
memberships: Membership[];
|
|
1577
1640
|
}
|
|
1578
1641
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1579
1642
|
name: string;
|
|
@@ -1623,6 +1686,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1623
1686
|
cancellationStatus?: CancellationStatusEnum;
|
|
1624
1687
|
isImported?: boolean;
|
|
1625
1688
|
}
|
|
1689
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1690
|
+
email: string | null;
|
|
1691
|
+
notificationType: NotificationTypeEnum | null;
|
|
1692
|
+
resourceId: number | null;
|
|
1693
|
+
resourceType: string | null;
|
|
1694
|
+
}
|
|
1626
1695
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1627
1696
|
id: number;
|
|
1628
1697
|
dayOfWeek: number;
|
|
@@ -1658,25 +1727,6 @@ export declare class Order extends BondBaseEntity {
|
|
|
1658
1727
|
orderNotes: OrderNote[];
|
|
1659
1728
|
slots: Slot[];
|
|
1660
1729
|
}
|
|
1661
|
-
export declare class Media extends BondBaseEntity {
|
|
1662
|
-
url: string;
|
|
1663
|
-
name: string | null;
|
|
1664
|
-
title: string | null;
|
|
1665
|
-
mediaKey: string | null;
|
|
1666
|
-
description: string | null;
|
|
1667
|
-
provider: string | null;
|
|
1668
|
-
mediaType: number;
|
|
1669
|
-
fileType: string | null;
|
|
1670
|
-
isDefault: boolean | null;
|
|
1671
|
-
creatorId: number | null;
|
|
1672
|
-
creatorType: string | null;
|
|
1673
|
-
userCreatorId: number | null;
|
|
1674
|
-
ownerId: number | null;
|
|
1675
|
-
createdBy: number | null;
|
|
1676
|
-
users: User[];
|
|
1677
|
-
programs: Program[];
|
|
1678
|
-
memberships: Membership[];
|
|
1679
|
-
}
|
|
1680
1730
|
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1681
1731
|
content: string;
|
|
1682
1732
|
creatingUserId: number;
|
|
@@ -1686,12 +1736,6 @@ export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
|
1686
1736
|
orderId: number;
|
|
1687
1737
|
order: Order;
|
|
1688
1738
|
}
|
|
1689
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1690
|
-
email: string | null;
|
|
1691
|
-
notificationType: NotificationTypeEnum | null;
|
|
1692
|
-
resourceId: number | null;
|
|
1693
|
-
resourceType: string | null;
|
|
1694
|
-
}
|
|
1695
1739
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1696
1740
|
orderId: number;
|
|
1697
1741
|
invoiceId: number;
|
|
@@ -1732,6 +1776,22 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1732
1776
|
deletedAt?: Date;
|
|
1733
1777
|
paymentPlan: ProductPaymentPlan;
|
|
1734
1778
|
}
|
|
1779
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1780
|
+
productId: number;
|
|
1781
|
+
product: Product;
|
|
1782
|
+
name: string | null;
|
|
1783
|
+
price: number;
|
|
1784
|
+
currency: CurrencyEnum;
|
|
1785
|
+
paymentProcessorId: number | null;
|
|
1786
|
+
startDate: Date;
|
|
1787
|
+
endDate: Date;
|
|
1788
|
+
groupId?: number;
|
|
1789
|
+
groupName?: string;
|
|
1790
|
+
originalPrice?: number;
|
|
1791
|
+
deletedAt?: Date;
|
|
1792
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1793
|
+
discountValue?: number;
|
|
1794
|
+
}
|
|
1735
1795
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1736
1796
|
userId: number | null;
|
|
1737
1797
|
ownerId: number | null;
|
|
@@ -1750,36 +1810,70 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1750
1810
|
installmentId: number | null;
|
|
1751
1811
|
orderId: string | null;
|
|
1752
1812
|
}
|
|
1753
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1754
|
-
productId: number;
|
|
1755
|
-
product: Product;
|
|
1756
|
-
name: string | null;
|
|
1757
|
-
price: number;
|
|
1758
|
-
currency: CurrencyEnum;
|
|
1759
|
-
paymentProcessorId: number | null;
|
|
1760
|
-
startDate: Date;
|
|
1761
|
-
endDate: Date;
|
|
1762
|
-
groupId?: number;
|
|
1763
|
-
groupName?: string;
|
|
1764
|
-
originalPrice?: number;
|
|
1765
|
-
deletedAt?: Date;
|
|
1766
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1767
|
-
discountValue?: number;
|
|
1768
|
-
}
|
|
1769
1813
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1770
1814
|
parentProductId: number;
|
|
1771
1815
|
childProductId: number;
|
|
1772
1816
|
relationType: PackageProductsRelationTypeEnum;
|
|
1773
1817
|
timePeriod: AddonTimePeriodEnum;
|
|
1774
1818
|
deletedAt?: Date;
|
|
1775
|
-
productResource: ProductResource;
|
|
1776
|
-
childProduct: Product;
|
|
1777
|
-
parentProduct: Product;
|
|
1778
|
-
price: number;
|
|
1779
|
-
isFlatPrice: boolean;
|
|
1819
|
+
productResource: ProductResource;
|
|
1820
|
+
childProduct: Product;
|
|
1821
|
+
parentProduct: Product;
|
|
1822
|
+
price: number;
|
|
1823
|
+
isFlatPrice: boolean;
|
|
1824
|
+
durationMinutes?: number;
|
|
1825
|
+
durationDays?: number;
|
|
1826
|
+
level?: ProductPackageLevelEnum;
|
|
1827
|
+
}
|
|
1828
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1829
|
+
name: string;
|
|
1830
|
+
quantity: number;
|
|
1831
|
+
paymentProcessorId?: string;
|
|
1832
|
+
startDate?: Date;
|
|
1833
|
+
endDate?: Date;
|
|
1834
|
+
isPublic: boolean;
|
|
1835
|
+
productType?: ProductTypesEnum;
|
|
1836
|
+
GL?: string;
|
|
1837
|
+
downpayment?: number;
|
|
1838
|
+
description?: string;
|
|
1839
|
+
prices: Price[];
|
|
1840
|
+
currPrice: Price;
|
|
1841
|
+
productSubType?: ProductSubTypesEnum;
|
|
1842
|
+
punchCard: boolean;
|
|
1843
|
+
requiredProductIds?: number[];
|
|
1844
|
+
lineItems: LineItems[];
|
|
1845
|
+
resources: IResourcesAvailability[];
|
|
1846
|
+
variantParentId?: number;
|
|
1847
|
+
isAddon: boolean;
|
|
1848
|
+
isArchive: boolean;
|
|
1849
|
+
productVariants: Product[];
|
|
1850
|
+
variantParentProduct: Product;
|
|
1851
|
+
variantsObj: Variant[];
|
|
1852
|
+
variantTitlesObj: VariantTitle[];
|
|
1853
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1854
|
+
deletedAt?: Date;
|
|
1855
|
+
productsUsers: ProductsUsers[];
|
|
1856
|
+
isProRated: boolean;
|
|
1857
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1858
|
+
defaultPriceId?: number;
|
|
1859
|
+
tax: number;
|
|
1860
|
+
isTaxInclusive: boolean;
|
|
1861
|
+
defaultPrice?: Price;
|
|
1862
|
+
addOns?: IChildProduct[];
|
|
1863
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1864
|
+
productResources: ProductResource[];
|
|
1865
|
+
parentProductPackages: ProductPackage[];
|
|
1866
|
+
childProductPackages: ProductPackage[];
|
|
1867
|
+
sports?: number[] | null;
|
|
1780
1868
|
durationMinutes?: number;
|
|
1781
1869
|
durationDays?: number;
|
|
1782
|
-
|
|
1870
|
+
forms?: number[] | null;
|
|
1871
|
+
isForAllCustomers?: boolean;
|
|
1872
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1873
|
+
reservedForCustomers: Customer[];
|
|
1874
|
+
reservedForMemberships: Membership[];
|
|
1875
|
+
activityTimes: ActivityTimes[];
|
|
1876
|
+
purchasedResources: PurchasedResource[];
|
|
1783
1877
|
}
|
|
1784
1878
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1785
1879
|
productId: number;
|
|
@@ -1855,56 +1949,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1855
1949
|
programSeason: ProgramSeason[];
|
|
1856
1950
|
purchasedResources: PurchasedResource[];
|
|
1857
1951
|
}
|
|
1858
|
-
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1859
|
-
name: string;
|
|
1860
|
-
quantity: number;
|
|
1861
|
-
paymentProcessorId?: string;
|
|
1862
|
-
startDate?: Date;
|
|
1863
|
-
endDate?: Date;
|
|
1864
|
-
isPublic: boolean;
|
|
1865
|
-
productType?: ProductTypesEnum;
|
|
1866
|
-
GL?: string;
|
|
1867
|
-
downpayment?: number;
|
|
1868
|
-
description?: string;
|
|
1869
|
-
prices: Price[];
|
|
1870
|
-
currPrice: Price;
|
|
1871
|
-
productSubType?: ProductSubTypesEnum;
|
|
1872
|
-
punchCard: boolean;
|
|
1873
|
-
requiredProductIds?: number[];
|
|
1874
|
-
lineItems: LineItems[];
|
|
1875
|
-
resources: IResourcesAvailability[];
|
|
1876
|
-
variantParentId?: number;
|
|
1877
|
-
isAddon: boolean;
|
|
1878
|
-
isArchive: boolean;
|
|
1879
|
-
productVariants: Product[];
|
|
1880
|
-
variantParentProduct: Product;
|
|
1881
|
-
variantsObj: Variant[];
|
|
1882
|
-
variantTitlesObj: VariantTitle[];
|
|
1883
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1884
|
-
deletedAt?: Date;
|
|
1885
|
-
productsUsers: ProductsUsers[];
|
|
1886
|
-
isProRated: boolean;
|
|
1887
|
-
entitledPrices?: GroupItemsPricing[];
|
|
1888
|
-
defaultPriceId?: number;
|
|
1889
|
-
tax: number;
|
|
1890
|
-
isTaxInclusive: boolean;
|
|
1891
|
-
defaultPrice?: Price;
|
|
1892
|
-
addOns?: IChildProduct[];
|
|
1893
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
1894
|
-
productResources: ProductResource[];
|
|
1895
|
-
parentProductPackages: ProductPackage[];
|
|
1896
|
-
childProductPackages: ProductPackage[];
|
|
1897
|
-
sports?: number[] | null;
|
|
1898
|
-
durationMinutes?: number;
|
|
1899
|
-
durationDays?: number;
|
|
1900
|
-
forms?: number[] | null;
|
|
1901
|
-
isForAllCustomers?: boolean;
|
|
1902
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1903
|
-
reservedForCustomers: Customer[];
|
|
1904
|
-
reservedForMemberships: Membership[];
|
|
1905
|
-
activityTimes: ActivityTimes[];
|
|
1906
|
-
purchasedResources: PurchasedResource[];
|
|
1907
|
-
}
|
|
1908
1952
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1909
1953
|
type: ProgramHighlightTypeEnum;
|
|
1910
1954
|
ordinal: number | null;
|
|
@@ -1993,6 +2037,11 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
1993
2037
|
title: string | null;
|
|
1994
2038
|
answerTitle: AnswerTitle;
|
|
1995
2039
|
}
|
|
2040
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2041
|
+
reason: string;
|
|
2042
|
+
ordinal: number;
|
|
2043
|
+
deletedAt: Date;
|
|
2044
|
+
}
|
|
1996
2045
|
export declare class Questions extends BondBaseEntity {
|
|
1997
2046
|
questionType: string | null;
|
|
1998
2047
|
ordinal: number | null;
|
|
@@ -2007,11 +2056,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2007
2056
|
ownerId: number | null;
|
|
2008
2057
|
questionnaireId: number | null;
|
|
2009
2058
|
}
|
|
2010
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2011
|
-
reason: string;
|
|
2012
|
-
ordinal: number;
|
|
2013
|
-
deletedAt: Date;
|
|
2014
|
-
}
|
|
2015
2059
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2016
2060
|
resourceType: ResourceNameTypeEnum;
|
|
2017
2061
|
resourceId: number;
|
|
@@ -2112,6 +2156,12 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2112
2156
|
deletedAt?: Date;
|
|
2113
2157
|
purchasedResource: PurchasedResource;
|
|
2114
2158
|
}
|
|
2159
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2160
|
+
name: string | null;
|
|
2161
|
+
ordinal: number | null;
|
|
2162
|
+
seasonId: number | null;
|
|
2163
|
+
color: string | null;
|
|
2164
|
+
}
|
|
2115
2165
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2116
2166
|
seasonId?: number;
|
|
2117
2167
|
userId?: number;
|
|
@@ -2168,12 +2218,6 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2168
2218
|
stationToSubcategories: StationToSubcategory[];
|
|
2169
2219
|
stations: Station[];
|
|
2170
2220
|
}
|
|
2171
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2172
|
-
name: string | null;
|
|
2173
|
-
ordinal: number | null;
|
|
2174
|
-
seasonId: number | null;
|
|
2175
|
-
color: string | null;
|
|
2176
|
-
}
|
|
2177
2221
|
export declare class Team extends BondBaseEntity {
|
|
2178
2222
|
name: string | null;
|
|
2179
2223
|
description: string | null;
|
|
@@ -2279,13 +2323,19 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2279
2323
|
familyAccount: FamilyAccount;
|
|
2280
2324
|
deletedAt?: Date;
|
|
2281
2325
|
}
|
|
2326
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2327
|
+
groupId: number;
|
|
2328
|
+
userId: number;
|
|
2329
|
+
deletedAt?: Date;
|
|
2330
|
+
}
|
|
2282
2331
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2283
2332
|
name: string;
|
|
2284
2333
|
variants: Variant[];
|
|
2285
2334
|
}
|
|
2286
|
-
export declare class
|
|
2287
|
-
|
|
2288
|
-
|
|
2335
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2336
|
+
name: string;
|
|
2337
|
+
variantTitleId: number;
|
|
2338
|
+
variantTitle: VariantTitle;
|
|
2289
2339
|
deletedAt?: Date;
|
|
2290
2340
|
}
|
|
2291
2341
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
@@ -2296,56 +2346,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2296
2346
|
membershipCollectionId?: string;
|
|
2297
2347
|
programsCollectionId?: string;
|
|
2298
2348
|
}
|
|
2299
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
2300
|
-
organizationId: number;
|
|
2301
|
-
programType?: ProgramTypesEnum;
|
|
2302
|
-
}
|
|
2303
|
-
export declare class FindProgramByIdDto {
|
|
2304
|
-
programId: number;
|
|
2305
|
-
}
|
|
2306
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
2307
|
-
programId: number;
|
|
2308
|
-
organizationId: number;
|
|
2309
|
-
}
|
|
2310
|
-
export declare class BaseProgramDto {
|
|
2311
|
-
type: ProgramTypesEnum;
|
|
2312
|
-
name: string;
|
|
2313
|
-
sport: SportsEnum;
|
|
2314
|
-
minAge: string;
|
|
2315
|
-
maxAge: string;
|
|
2316
|
-
gender: GenderEnum;
|
|
2317
|
-
level?: LevelOfPlayEnum[];
|
|
2318
|
-
description?: string;
|
|
2319
|
-
GL?: string;
|
|
2320
|
-
status: PublishingStatusEnum;
|
|
2321
|
-
organizationId: number;
|
|
2322
|
-
userCreatorId: number;
|
|
2323
|
-
highlights: ProgramHighlights[];
|
|
2324
|
-
longDescription?: string;
|
|
2325
|
-
requiredProductIds: number[];
|
|
2326
|
-
}
|
|
2327
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
2328
|
-
}
|
|
2329
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
2330
|
-
programId: number;
|
|
2331
|
-
mainMediaId: number;
|
|
2332
|
-
}
|
|
2333
|
-
export declare class UpdateProgramStatusDto {
|
|
2334
|
-
programId: number;
|
|
2335
|
-
status: PublishingStatusEnum;
|
|
2336
|
-
}
|
|
2337
|
-
export declare class ProgramHighlightDto {
|
|
2338
|
-
data: string;
|
|
2339
|
-
ordinal: number;
|
|
2340
|
-
type: ProgramHighlightTypeEnum;
|
|
2341
|
-
title: string;
|
|
2342
|
-
}
|
|
2343
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2344
|
-
name: string;
|
|
2345
|
-
variantTitleId: number;
|
|
2346
|
-
variantTitle: VariantTitle;
|
|
2347
|
-
deletedAt?: Date;
|
|
2348
|
-
}
|
|
2349
2349
|
export declare enum EntitlementTermsTypesEnum {
|
|
2350
2350
|
QUESTION = "question",
|
|
2351
2351
|
CITY = "city",
|
|
@@ -3204,37 +3204,153 @@ export interface ISlimAddons {
|
|
|
3204
3204
|
productSubType?: string;
|
|
3205
3205
|
}[];
|
|
3206
3206
|
}
|
|
3207
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3208
|
-
id: number;
|
|
3209
|
-
name: string;
|
|
3210
|
-
startDate?: Date;
|
|
3211
|
-
endDate?: Date;
|
|
3212
|
-
downpayment?: number;
|
|
3213
|
-
description?: string;
|
|
3207
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3208
|
+
id: number;
|
|
3209
|
+
name: string;
|
|
3210
|
+
startDate?: Date;
|
|
3211
|
+
endDate?: Date;
|
|
3212
|
+
downpayment?: number;
|
|
3213
|
+
description?: string;
|
|
3214
|
+
prices: Price[];
|
|
3215
|
+
productSubType?: ProductSubTypesEnum;
|
|
3216
|
+
punchCard: boolean;
|
|
3217
|
+
isAddon: boolean;
|
|
3218
|
+
defaultPriceId?: number;
|
|
3219
|
+
}
|
|
3220
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3221
|
+
destinationId?: string;
|
|
3222
|
+
stripeCustomerId?: string;
|
|
3223
|
+
fee?: number;
|
|
3224
|
+
}
|
|
3225
|
+
export interface IReservationCreatorData {
|
|
3226
|
+
type: ResourceNameTypeEnum;
|
|
3227
|
+
id: number;
|
|
3228
|
+
organizationId: number;
|
|
3229
|
+
startDate: string;
|
|
3230
|
+
endDate: string;
|
|
3231
|
+
sportId: number;
|
|
3232
|
+
}
|
|
3233
|
+
export declare class ColumnNumericTransformer {
|
|
3234
|
+
to(data: number): number;
|
|
3235
|
+
from(data: string): number;
|
|
3236
|
+
}
|
|
3237
|
+
export declare function convertToNumber(data: string): number;
|
|
3238
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3239
|
+
name?: string;
|
|
3240
|
+
genderStr?: string;
|
|
3241
|
+
parentID?: string;
|
|
3242
|
+
partnerID?: string;
|
|
3243
|
+
membershipName?: string;
|
|
3244
|
+
membershipExpDate?: string;
|
|
3245
|
+
membershipCreationDate?: string;
|
|
3246
|
+
bondMembershipID?: number;
|
|
3247
|
+
}
|
|
3248
|
+
export declare class AddFamilyDto {
|
|
3249
|
+
parents: AddImportedCustomerDto[];
|
|
3250
|
+
children: AddImportedCustomerDto[];
|
|
3251
|
+
}
|
|
3252
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3253
|
+
CREDIT_CARD = "card",
|
|
3254
|
+
ACH = "ach",
|
|
3255
|
+
CASH = "cash",
|
|
3256
|
+
CHECK = "check",
|
|
3257
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3258
|
+
OTHER = "other"
|
|
3259
|
+
}
|
|
3260
|
+
export declare class ImportedInvoiceLineDto {
|
|
3261
|
+
invoiceID?: string;
|
|
3262
|
+
description: string;
|
|
3263
|
+
createdDate: string;
|
|
3264
|
+
createdTime: string;
|
|
3265
|
+
quantity: string;
|
|
3266
|
+
price: string;
|
|
3267
|
+
total: string;
|
|
3268
|
+
customerID: string;
|
|
3269
|
+
resourceType: string;
|
|
3270
|
+
resourceID: string;
|
|
3271
|
+
}
|
|
3272
|
+
export declare class ImportedInvoiceDto {
|
|
3273
|
+
customerId?: string;
|
|
3274
|
+
total?: string;
|
|
3275
|
+
amountDue?: string;
|
|
3276
|
+
payments?: ImportedPaymentDto[];
|
|
3277
|
+
lines: any;
|
|
3278
|
+
}
|
|
3279
|
+
export declare class ImportedPaymentDto {
|
|
3280
|
+
invoiceID: string;
|
|
3281
|
+
type: ImportPaymentTypeEnum;
|
|
3282
|
+
description: string;
|
|
3283
|
+
paid: string;
|
|
3284
|
+
date: string;
|
|
3285
|
+
time: string;
|
|
3286
|
+
}
|
|
3287
|
+
export declare class ProductIdsDto {
|
|
3288
|
+
productIds?: number[];
|
|
3289
|
+
}
|
|
3290
|
+
export declare class ProductImportDto {
|
|
3291
|
+
product: Product;
|
|
3214
3292
|
prices: Price[];
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
isAddon: boolean;
|
|
3218
|
-
defaultPriceId?: number;
|
|
3293
|
+
resourceIds: number[];
|
|
3294
|
+
oldId: number;
|
|
3219
3295
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3296
|
+
export declare class PunchPassDto {
|
|
3297
|
+
CustomerID: string;
|
|
3298
|
+
QuantityLeft: number;
|
|
3299
|
+
BondProgramID: number;
|
|
3300
|
+
BondSessionID: number;
|
|
3301
|
+
ProductID: number;
|
|
3224
3302
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3303
|
+
export declare class ImportedSlotProductDto {
|
|
3304
|
+
slotID?: string;
|
|
3305
|
+
name?: string;
|
|
3306
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3307
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3308
|
+
price?: string;
|
|
3309
|
+
minutes?: string;
|
|
3310
|
+
quantity: string;
|
|
3311
|
+
startDate?: string;
|
|
3312
|
+
startTime?: string;
|
|
3313
|
+
endDate?: string;
|
|
3314
|
+
endTime?: string;
|
|
3315
|
+
bondProductId?: number;
|
|
3316
|
+
}
|
|
3317
|
+
export declare class ImportResourceMappingDto {
|
|
3318
|
+
bondResourceID?: string;
|
|
3319
|
+
resourceName?: string;
|
|
3320
|
+
}
|
|
3321
|
+
export declare class ImportProductMappingDto {
|
|
3322
|
+
productID?: string;
|
|
3323
|
+
productName?: string;
|
|
3324
|
+
}
|
|
3325
|
+
export declare class ImportedSlotDto {
|
|
3326
|
+
reservationID: string;
|
|
3327
|
+
bondResourceID: string;
|
|
3328
|
+
resourceName: string;
|
|
3329
|
+
subResourceName: string;
|
|
3229
3330
|
startDate: string;
|
|
3331
|
+
startTime: string;
|
|
3230
3332
|
endDate: string;
|
|
3231
|
-
|
|
3333
|
+
endTime: string;
|
|
3334
|
+
sportId?: string;
|
|
3335
|
+
setupDuration: string;
|
|
3336
|
+
setupIncludeInCosts: string;
|
|
3337
|
+
takedownDuration: string;
|
|
3338
|
+
takedownIncludeInCosts: string;
|
|
3339
|
+
slotProduct: ImportedSlotProductDto;
|
|
3340
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3341
|
+
totalPrice: string;
|
|
3232
3342
|
}
|
|
3233
|
-
export declare class
|
|
3234
|
-
|
|
3235
|
-
|
|
3343
|
+
export declare class ImportedReservationDto {
|
|
3344
|
+
name: string;
|
|
3345
|
+
customerId: string;
|
|
3346
|
+
description: string;
|
|
3347
|
+
totalPrice: string;
|
|
3348
|
+
downPayment: string;
|
|
3349
|
+
paid: string;
|
|
3350
|
+
invoiceId: string;
|
|
3351
|
+
slots?: ImportedSlotDto[];
|
|
3352
|
+
addons?: ImportedSlotProductDto[];
|
|
3236
3353
|
}
|
|
3237
|
-
export declare function convertToNumber(data: string): number;
|
|
3238
3354
|
export declare class GameSlots extends BondBaseEntity {
|
|
3239
3355
|
entityType: string;
|
|
3240
3356
|
entityId: number;
|
|
@@ -3725,17 +3841,6 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3725
3841
|
export declare class AddAddonsDto {
|
|
3726
3842
|
addons: ProductPricesDto[];
|
|
3727
3843
|
}
|
|
3728
|
-
export declare class SegmentDto {
|
|
3729
|
-
id?: number;
|
|
3730
|
-
title: string;
|
|
3731
|
-
isPrivate: boolean;
|
|
3732
|
-
resourceIds: number[];
|
|
3733
|
-
sportId?: number;
|
|
3734
|
-
series: SeriesDto[];
|
|
3735
|
-
addonIds?: number[];
|
|
3736
|
-
publicNotesForSlots?: string;
|
|
3737
|
-
privateNotesForSlots?: string;
|
|
3738
|
-
}
|
|
3739
3844
|
export declare class SeriesDto {
|
|
3740
3845
|
id?: number;
|
|
3741
3846
|
startDate: string;
|
|
@@ -3816,6 +3921,17 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3816
3921
|
slotDurationType: SlotDurationTypeEnum;
|
|
3817
3922
|
addonsIds?: number[];
|
|
3818
3923
|
}
|
|
3924
|
+
export declare class SegmentDto {
|
|
3925
|
+
id?: number;
|
|
3926
|
+
title: string;
|
|
3927
|
+
isPrivate: boolean;
|
|
3928
|
+
resourceIds: number[];
|
|
3929
|
+
sportId?: number;
|
|
3930
|
+
series: SeriesDto[];
|
|
3931
|
+
addonIds?: number[];
|
|
3932
|
+
publicNotesForSlots?: string;
|
|
3933
|
+
privateNotesForSlots?: string;
|
|
3934
|
+
}
|
|
3819
3935
|
declare class AnswerDto {
|
|
3820
3936
|
questionId: number;
|
|
3821
3937
|
value: any;
|
|
@@ -3871,6 +3987,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
3871
3987
|
productUserId?: number;
|
|
3872
3988
|
productUser?: ProductsUsers;
|
|
3873
3989
|
}
|
|
3990
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3991
|
+
deletedAt?: Date;
|
|
3992
|
+
reservationId: number;
|
|
3993
|
+
invoiceId: number;
|
|
3994
|
+
slotId: number;
|
|
3995
|
+
}
|
|
3874
3996
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3875
3997
|
name?: string;
|
|
3876
3998
|
description?: string;
|
|
@@ -4010,12 +4132,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4010
4132
|
changeLineItems?: LineItems[];
|
|
4011
4133
|
updatedLineItem?: LineItems;
|
|
4012
4134
|
}
|
|
4013
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4014
|
-
deletedAt?: Date;
|
|
4015
|
-
reservationId: number;
|
|
4016
|
-
invoiceId: number;
|
|
4017
|
-
slotId: number;
|
|
4018
|
-
}
|
|
4019
4135
|
export declare class ChangeRolePermissionsDto {
|
|
4020
4136
|
permissionIds: number[];
|
|
4021
4137
|
}
|
|
@@ -4039,139 +4155,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4039
4155
|
role: Role;
|
|
4040
4156
|
user: User;
|
|
4041
4157
|
}
|
|
4042
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
4043
|
-
name?: string;
|
|
4044
|
-
genderStr?: string;
|
|
4045
|
-
parentID?: string;
|
|
4046
|
-
partnerID?: string;
|
|
4047
|
-
membershipName?: string;
|
|
4048
|
-
membershipExpDate?: string;
|
|
4049
|
-
membershipCreationDate?: string;
|
|
4050
|
-
bondMembershipID?: number;
|
|
4051
|
-
}
|
|
4052
|
-
export declare class AddFamilyDto {
|
|
4053
|
-
parents: AddImportedCustomerDto[];
|
|
4054
|
-
children: AddImportedCustomerDto[];
|
|
4055
|
-
}
|
|
4056
|
-
export declare enum ImportPaymentTypeEnum {
|
|
4057
|
-
CREDIT_CARD = "card",
|
|
4058
|
-
ACH = "ach",
|
|
4059
|
-
CASH = "cash",
|
|
4060
|
-
CHECK = "check",
|
|
4061
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
4062
|
-
OTHER = "other"
|
|
4063
|
-
}
|
|
4064
|
-
export declare class ImportedInvoiceLineDto {
|
|
4065
|
-
invoiceID?: string;
|
|
4066
|
-
description: string;
|
|
4067
|
-
createdDate: string;
|
|
4068
|
-
createdTime: string;
|
|
4069
|
-
quantity: string;
|
|
4070
|
-
price: string;
|
|
4071
|
-
total: string;
|
|
4072
|
-
customerID: string;
|
|
4073
|
-
resourceType: string;
|
|
4074
|
-
resourceID: string;
|
|
4075
|
-
}
|
|
4076
|
-
export declare class ImportedInvoiceDto {
|
|
4077
|
-
customerId?: string;
|
|
4078
|
-
total?: string;
|
|
4079
|
-
amountDue?: string;
|
|
4080
|
-
payments?: ImportedPaymentDto[];
|
|
4081
|
-
lines: any;
|
|
4082
|
-
}
|
|
4083
|
-
export declare class ImportedPaymentDto {
|
|
4084
|
-
invoiceID: string;
|
|
4085
|
-
type: ImportPaymentTypeEnum;
|
|
4086
|
-
description: string;
|
|
4087
|
-
paid: string;
|
|
4088
|
-
date: string;
|
|
4089
|
-
time: string;
|
|
4090
|
-
}
|
|
4091
|
-
export declare class ProductIdsDto {
|
|
4092
|
-
productIds?: number[];
|
|
4093
|
-
}
|
|
4094
|
-
export declare class ProductImportDto {
|
|
4095
|
-
product: Product;
|
|
4096
|
-
prices: Price[];
|
|
4097
|
-
resourceIds: number[];
|
|
4098
|
-
oldId: number;
|
|
4099
|
-
}
|
|
4100
|
-
export declare class PunchPassDto {
|
|
4101
|
-
CustomerID: string;
|
|
4102
|
-
QuantityLeft: number;
|
|
4103
|
-
BondProgramID: number;
|
|
4104
|
-
BondSessionID: number;
|
|
4105
|
-
ProductID: number;
|
|
4106
|
-
}
|
|
4107
|
-
export declare class ImportedSlotProductDto {
|
|
4108
|
-
slotID?: string;
|
|
4109
|
-
name?: string;
|
|
4110
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4111
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4112
|
-
price?: string;
|
|
4113
|
-
minutes?: string;
|
|
4114
|
-
quantity: string;
|
|
4115
|
-
startDate?: string;
|
|
4116
|
-
startTime?: string;
|
|
4117
|
-
endDate?: string;
|
|
4118
|
-
endTime?: string;
|
|
4119
|
-
bondProductId?: number;
|
|
4120
|
-
}
|
|
4121
|
-
export declare class ImportResourceMappingDto {
|
|
4122
|
-
bondResourceID?: string;
|
|
4123
|
-
resourceName?: string;
|
|
4124
|
-
}
|
|
4125
|
-
export declare class ImportProductMappingDto {
|
|
4126
|
-
productID?: string;
|
|
4127
|
-
productName?: string;
|
|
4128
|
-
}
|
|
4129
|
-
export declare class ImportedSlotDto {
|
|
4130
|
-
reservationID: string;
|
|
4131
|
-
bondResourceID: string;
|
|
4132
|
-
resourceName: string;
|
|
4133
|
-
subResourceName: string;
|
|
4134
|
-
startDate: string;
|
|
4135
|
-
startTime: string;
|
|
4136
|
-
endDate: string;
|
|
4137
|
-
endTime: string;
|
|
4138
|
-
sportId?: string;
|
|
4139
|
-
setupDuration: string;
|
|
4140
|
-
setupIncludeInCosts: string;
|
|
4141
|
-
takedownDuration: string;
|
|
4142
|
-
takedownIncludeInCosts: string;
|
|
4143
|
-
slotProduct: ImportedSlotProductDto;
|
|
4144
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4145
|
-
totalPrice: string;
|
|
4146
|
-
}
|
|
4147
|
-
export declare class ImportedReservationDto {
|
|
4148
|
-
name: string;
|
|
4149
|
-
customerId: string;
|
|
4150
|
-
description: string;
|
|
4151
|
-
totalPrice: string;
|
|
4152
|
-
downPayment: string;
|
|
4153
|
-
paid: string;
|
|
4154
|
-
invoiceId: string;
|
|
4155
|
-
slots?: ImportedSlotDto[];
|
|
4156
|
-
addons?: ImportedSlotProductDto[];
|
|
4157
|
-
}
|
|
4158
4158
|
export declare class CloseShiftDto {
|
|
4159
4159
|
closingCashAmount: number;
|
|
4160
4160
|
}
|
|
4161
4161
|
export declare class FindShiftsByIdsDto {
|
|
4162
4162
|
shiftIds: number[];
|
|
4163
4163
|
}
|
|
4164
|
-
export declare class ShiftManagementClosingAmount {
|
|
4165
|
-
shiftId: number;
|
|
4166
|
-
managementClosingCashAmount: number;
|
|
4167
|
-
}
|
|
4168
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4169
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4170
|
-
}
|
|
4171
|
-
export declare class OpenShiftDto {
|
|
4172
|
-
openingCashAmount: number;
|
|
4173
|
-
stationId: number;
|
|
4174
|
-
}
|
|
4175
4164
|
export declare class FindShiftsFiltersDto {
|
|
4176
4165
|
statuses?: string;
|
|
4177
4166
|
stationIds?: string;
|
|
@@ -4192,6 +4181,17 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4192
4181
|
startDate?: Date;
|
|
4193
4182
|
endDate?: Date;
|
|
4194
4183
|
}
|
|
4184
|
+
export declare class ShiftManagementClosingAmount {
|
|
4185
|
+
shiftId: number;
|
|
4186
|
+
managementClosingCashAmount: number;
|
|
4187
|
+
}
|
|
4188
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4189
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4190
|
+
}
|
|
4191
|
+
export declare class OpenShiftDto {
|
|
4192
|
+
openingCashAmount: number;
|
|
4193
|
+
stationId: number;
|
|
4194
|
+
}
|
|
4195
4195
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4196
|
stationId: number;
|
|
4197
4197
|
station?: Station;
|