@bondsports/types 0.0.37 → 0.0.40
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 +859 -859
- 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
|
@@ -20,55 +20,70 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
-
export declare class
|
|
24
|
-
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
|
-
export declare class AddressDto {
|
|
31
|
-
city: string;
|
|
32
|
-
state: string;
|
|
33
|
-
country: string;
|
|
34
|
-
geo: number[];
|
|
23
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
|
+
membershipId: number;
|
|
35
25
|
}
|
|
36
|
-
export declare class
|
|
37
|
-
|
|
38
|
-
close: string;
|
|
39
|
-
dayOfWeek: number;
|
|
26
|
+
export declare class ImportProductsFromDB {
|
|
27
|
+
buDate: string;
|
|
40
28
|
}
|
|
41
|
-
export declare class
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
description?: string;
|
|
45
|
-
longDescription?: string;
|
|
46
|
-
info?: string;
|
|
47
|
-
address: AddressDto;
|
|
48
|
-
timezone: string;
|
|
49
|
-
amenities: number[];
|
|
50
|
-
openingTimes: OpeningTimeDto[];
|
|
51
|
-
resourcesIds?: number[];
|
|
29
|
+
export declare class ImportCustomerFromCSV {
|
|
30
|
+
fileName: string;
|
|
31
|
+
startIndex?: number;
|
|
52
32
|
}
|
|
53
|
-
export declare class
|
|
54
|
-
|
|
55
|
-
description?: string;
|
|
56
|
-
longDescription?: string;
|
|
57
|
-
info?: string;
|
|
58
|
-
address?: AddressDto;
|
|
59
|
-
timezone?: string;
|
|
33
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
34
|
+
resolveInvoices: string;
|
|
60
35
|
}
|
|
61
|
-
export declare class
|
|
62
|
-
|
|
36
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
37
|
+
membershipId: number;
|
|
38
|
+
onlyDashIds: string;
|
|
63
39
|
}
|
|
64
|
-
export declare class
|
|
65
|
-
|
|
40
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
41
|
+
facilityId: number;
|
|
66
42
|
}
|
|
67
|
-
export declare class
|
|
68
|
-
|
|
43
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
44
|
+
customerId: number;
|
|
69
45
|
}
|
|
70
|
-
export declare class
|
|
46
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
71
47
|
nameSearch?: string;
|
|
48
|
+
fuzzy?: string;
|
|
49
|
+
customerType?: CustomerTypeEnum;
|
|
50
|
+
customersIds?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare class AddCustomerNotesDto {
|
|
53
|
+
customerNotes: CustomerNoteDto[];
|
|
54
|
+
}
|
|
55
|
+
export declare class CustomerNoteDto {
|
|
56
|
+
id?: number;
|
|
57
|
+
description: string;
|
|
58
|
+
pinToTop?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare class AddEditCustomerDto {
|
|
61
|
+
firstName?: string;
|
|
62
|
+
lastName?: string;
|
|
63
|
+
entityId?: number;
|
|
64
|
+
entityType?: CustomerTypeEnum;
|
|
65
|
+
email?: string;
|
|
66
|
+
color?: string;
|
|
67
|
+
street?: string;
|
|
68
|
+
city?: string;
|
|
69
|
+
state?: string;
|
|
70
|
+
zip?: string;
|
|
71
|
+
phoneNumber?: string;
|
|
72
|
+
mainMediaId?: number;
|
|
73
|
+
creatorId?: number;
|
|
74
|
+
creatorType?: ResourceNameTypeEnum;
|
|
75
|
+
userCreatorId?: number;
|
|
76
|
+
gender?: GenderEnum;
|
|
77
|
+
birthDate?: string;
|
|
78
|
+
emergencyContactName?: string;
|
|
79
|
+
emergencyContactPhone?: string;
|
|
80
|
+
}
|
|
81
|
+
export declare class FindBookingTypeSettingDto {
|
|
82
|
+
organizationId: number;
|
|
83
|
+
facilityId: number;
|
|
84
|
+
spaceId: number;
|
|
85
|
+
bookingDate: string;
|
|
86
|
+
bookingTime: string;
|
|
72
87
|
}
|
|
73
88
|
export declare class FindEventByIdDto {
|
|
74
89
|
eventId: number;
|
|
@@ -171,6 +186,49 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
171
186
|
isWaiverSigned?: string;
|
|
172
187
|
statuses?: string;
|
|
173
188
|
}
|
|
189
|
+
export declare class AddressDto {
|
|
190
|
+
city: string;
|
|
191
|
+
state: string;
|
|
192
|
+
country: string;
|
|
193
|
+
geo: number[];
|
|
194
|
+
}
|
|
195
|
+
export declare class OpeningTimeDto {
|
|
196
|
+
open: string;
|
|
197
|
+
close: string;
|
|
198
|
+
dayOfWeek: number;
|
|
199
|
+
}
|
|
200
|
+
export declare class CreateFacilityDto {
|
|
201
|
+
name: string;
|
|
202
|
+
sports: number[];
|
|
203
|
+
description?: string;
|
|
204
|
+
longDescription?: string;
|
|
205
|
+
info?: string;
|
|
206
|
+
address: AddressDto;
|
|
207
|
+
timezone: string;
|
|
208
|
+
amenities: number[];
|
|
209
|
+
openingTimes: OpeningTimeDto[];
|
|
210
|
+
resourcesIds?: number[];
|
|
211
|
+
}
|
|
212
|
+
export declare class UpdateFacilityDetailsDto {
|
|
213
|
+
name?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
longDescription?: string;
|
|
216
|
+
info?: string;
|
|
217
|
+
address?: AddressDto;
|
|
218
|
+
timezone?: string;
|
|
219
|
+
}
|
|
220
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
+
openingTimes: OpeningTimeDto[];
|
|
222
|
+
}
|
|
223
|
+
export declare class UpdateFacilitySportsDto {
|
|
224
|
+
sports: number[];
|
|
225
|
+
}
|
|
226
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
+
amenities: number[];
|
|
228
|
+
}
|
|
229
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
+
nameSearch?: string;
|
|
231
|
+
}
|
|
174
232
|
export declare class FindFamilyAccountsDto {
|
|
175
233
|
userId: number;
|
|
176
234
|
}
|
|
@@ -203,18 +261,6 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
203
261
|
userId: number;
|
|
204
262
|
familyAccountId: number;
|
|
205
263
|
}
|
|
206
|
-
export declare class FindOneParams {
|
|
207
|
-
id: number;
|
|
208
|
-
}
|
|
209
|
-
export declare class PaginationQuery {
|
|
210
|
-
page: number;
|
|
211
|
-
itemsPerPage: number;
|
|
212
|
-
}
|
|
213
|
-
export declare class PaginationRangeQuery {
|
|
214
|
-
startPage: number;
|
|
215
|
-
endPage: number;
|
|
216
|
-
itemsPerPage: number;
|
|
217
|
-
}
|
|
218
264
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
219
265
|
organizationId: number;
|
|
220
266
|
}
|
|
@@ -225,74 +271,215 @@ export declare class GetGlCodeDto {
|
|
|
225
271
|
createdAt: Date;
|
|
226
272
|
updatedAt: Date;
|
|
227
273
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
|
|
230
|
-
entitlementGroupId: number;
|
|
231
|
-
terms: IEntitlementTerms[];
|
|
274
|
+
export declare class FindOneParams {
|
|
275
|
+
id: number;
|
|
232
276
|
}
|
|
233
|
-
export declare class
|
|
234
|
-
|
|
277
|
+
export declare class PaginationQuery {
|
|
278
|
+
page: number;
|
|
279
|
+
itemsPerPage: number;
|
|
235
280
|
}
|
|
236
|
-
export declare class
|
|
237
|
-
|
|
238
|
-
|
|
281
|
+
export declare class PaginationRangeQuery {
|
|
282
|
+
startPage: number;
|
|
283
|
+
endPage: number;
|
|
284
|
+
itemsPerPage: number;
|
|
239
285
|
}
|
|
240
|
-
export declare class
|
|
241
|
-
|
|
242
|
-
user?: any;
|
|
243
|
-
answers?: IQuestionAnswerObject[];
|
|
244
|
-
itemIds: number[];
|
|
245
|
-
itemType?: ResourceNameTypeEnum;
|
|
246
|
-
startDate?: Date;
|
|
286
|
+
export declare class FindByProgramSeasonIdDto {
|
|
287
|
+
seasonId: number;
|
|
247
288
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
250
|
-
itemsIds: number[];
|
|
289
|
+
export declare class CreateBulkDivisionsDto {
|
|
290
|
+
divisions: CreateDivisionDto[];
|
|
251
291
|
}
|
|
252
|
-
export declare class
|
|
292
|
+
export declare class CreateDivisionDto {
|
|
253
293
|
name: string;
|
|
294
|
+
ordinal?: number;
|
|
295
|
+
programSeasonId: number;
|
|
296
|
+
color: string;
|
|
297
|
+
isDefault: boolean;
|
|
254
298
|
}
|
|
255
|
-
export declare class
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
299
|
+
export declare class CreateGroupDto {
|
|
300
|
+
name: string;
|
|
301
|
+
description?: string;
|
|
302
|
+
status?: GroupStatusEnum;
|
|
303
|
+
maxCapacity?: number;
|
|
304
|
+
mainMediaId?: number;
|
|
305
|
+
minAgeYears?: number;
|
|
306
|
+
maxAgeYears?: number;
|
|
307
|
+
gender: GenderEnum;
|
|
308
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
309
|
+
sports: SportsEnum[];
|
|
310
|
+
questionnaires?: number[];
|
|
311
|
+
captainUserId?: number;
|
|
312
|
+
divisionId?: number;
|
|
261
313
|
}
|
|
262
|
-
export declare class
|
|
314
|
+
export declare class ConnectGroupToDivision {
|
|
263
315
|
groupId: number;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
endDate?: Date;
|
|
267
|
-
discountValue?: number;
|
|
268
|
-
discountMethod?: DiscountMethodsEnum;
|
|
316
|
+
divisionId: number;
|
|
317
|
+
prevDivisionId: number;
|
|
269
318
|
}
|
|
270
|
-
export declare class
|
|
271
|
-
|
|
319
|
+
export declare class MoveUserInGroups {
|
|
320
|
+
userId: number;
|
|
321
|
+
groupId?: number;
|
|
322
|
+
prevGroupId?: number;
|
|
272
323
|
}
|
|
273
|
-
export declare class
|
|
274
|
-
|
|
324
|
+
export declare class SaveUserAsGroupCaptain {
|
|
325
|
+
groupId: number;
|
|
275
326
|
userId: number;
|
|
276
|
-
resources: ResourceDto[];
|
|
277
327
|
}
|
|
278
|
-
export declare class
|
|
279
|
-
|
|
280
|
-
|
|
328
|
+
export declare class CreateTeamInviteDto {
|
|
329
|
+
emails: string[];
|
|
330
|
+
userCreatorId: number;
|
|
281
331
|
}
|
|
282
|
-
export declare class
|
|
283
|
-
|
|
284
|
-
resourceId: number;
|
|
332
|
+
export declare class TeamByIdDto {
|
|
333
|
+
teamId: number;
|
|
285
334
|
}
|
|
286
|
-
export declare class
|
|
287
|
-
|
|
335
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
336
|
+
inviteToken: string;
|
|
288
337
|
}
|
|
289
|
-
export declare class
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
338
|
+
export declare class JoinTeamDto {
|
|
339
|
+
userId: number;
|
|
340
|
+
inviteToken?: string;
|
|
293
341
|
}
|
|
294
|
-
export declare class
|
|
295
|
-
|
|
342
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
343
|
+
userId: number;
|
|
344
|
+
}
|
|
345
|
+
export interface IMoveSeason {
|
|
346
|
+
fromSeasonId: number;
|
|
347
|
+
toSeasonId: number;
|
|
348
|
+
}
|
|
349
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
350
|
+
teamId?: number;
|
|
351
|
+
memberId?: number;
|
|
352
|
+
fromSeasonId: number;
|
|
353
|
+
toSeasonId: number;
|
|
354
|
+
toDivisionId?: number;
|
|
355
|
+
}
|
|
356
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
357
|
+
fileName: string;
|
|
358
|
+
}
|
|
359
|
+
export declare class CreateMembershipDto {
|
|
360
|
+
organizationId: number;
|
|
361
|
+
name: string;
|
|
362
|
+
description?: string;
|
|
363
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
364
|
+
activity: SportsEnum;
|
|
365
|
+
facilityId: number;
|
|
366
|
+
questionnaires: number[];
|
|
367
|
+
minAgeYears: number;
|
|
368
|
+
maxAgeYears: number;
|
|
369
|
+
gender: GenderEnum;
|
|
370
|
+
maxMembers?: number;
|
|
371
|
+
maxMaleMembers?: number;
|
|
372
|
+
maxFemaleMembers?: number;
|
|
373
|
+
startDate: string;
|
|
374
|
+
endDate: string;
|
|
375
|
+
registrationStartDate?: Date;
|
|
376
|
+
registrationEndDate?: Date;
|
|
377
|
+
membershipType: MembershipTypeEnum;
|
|
378
|
+
durationMonths: number;
|
|
379
|
+
longDescription?: string;
|
|
380
|
+
isAutoRenew?: boolean;
|
|
381
|
+
}
|
|
382
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
383
|
+
id: number;
|
|
384
|
+
}
|
|
385
|
+
export declare class UpdateMembershipMediaDto {
|
|
386
|
+
membershipId: number;
|
|
387
|
+
mediaId: number;
|
|
388
|
+
}
|
|
389
|
+
export declare class FindMembershipByIdDto {
|
|
390
|
+
membershipId: number;
|
|
391
|
+
}
|
|
392
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
393
|
+
organizationId: number;
|
|
394
|
+
}
|
|
395
|
+
export declare class FindMembershipsByUserIdDto {
|
|
396
|
+
userId: number;
|
|
397
|
+
}
|
|
398
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
399
|
+
startDate: string;
|
|
400
|
+
}
|
|
401
|
+
export declare class MembershipIdsDto {
|
|
402
|
+
membershipIds?: number[];
|
|
403
|
+
}
|
|
404
|
+
export declare class MemberIdDto {
|
|
405
|
+
memberId?: number;
|
|
406
|
+
}
|
|
407
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
408
|
+
nameEmailSearch?: string;
|
|
409
|
+
pastMemberships?: string;
|
|
410
|
+
}
|
|
411
|
+
export declare class CancelMembershipDto {
|
|
412
|
+
isImmediatelyCancel: boolean;
|
|
413
|
+
cancellationReason?: string;
|
|
414
|
+
}
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
416
|
+
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
419
|
+
}
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
422
|
+
}
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
426
|
+
}
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
428
|
+
organizationId: number;
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
434
|
+
}
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
438
|
+
}
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
|
+
name: string;
|
|
441
|
+
}
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
445
|
+
}
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
448
|
+
}
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
451
|
+
price: number;
|
|
452
|
+
startDate?: Date;
|
|
453
|
+
endDate?: Date;
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
456
|
+
}
|
|
457
|
+
export declare class FindByProductIdDto {
|
|
458
|
+
productId: number;
|
|
459
|
+
}
|
|
460
|
+
export declare class FindPriceOfProductDto {
|
|
461
|
+
id: number;
|
|
462
|
+
userId: number;
|
|
463
|
+
resources: ResourceDto[];
|
|
464
|
+
}
|
|
465
|
+
export declare class FindPricesOfProductsDto {
|
|
466
|
+
products: FindPriceOfProductDto[];
|
|
467
|
+
answers: UserAnswersDto[];
|
|
468
|
+
}
|
|
469
|
+
export declare class FindPackageByResourceDto {
|
|
470
|
+
resourceType: ResourceNameTypeEnum;
|
|
471
|
+
resourceId: number;
|
|
472
|
+
}
|
|
473
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
474
|
+
organizationId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class CreateProductsDto {
|
|
477
|
+
products: CreateProductDto[];
|
|
478
|
+
addOnsData?: ProductInPackage[];
|
|
479
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
480
|
+
}
|
|
481
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
+
name: string;
|
|
296
483
|
}
|
|
297
484
|
export declare class CreateProductDto {
|
|
298
485
|
id?: number;
|
|
@@ -487,211 +674,208 @@ export declare class createResourceDto {
|
|
|
487
674
|
export declare class archiveDto {
|
|
488
675
|
isArchive: boolean;
|
|
489
676
|
}
|
|
490
|
-
export declare class
|
|
491
|
-
|
|
677
|
+
export declare class CreateUpdateVariantsDto {
|
|
678
|
+
organizationId: number;
|
|
679
|
+
parentProductId: number;
|
|
680
|
+
variantTitles: VariantTitleDto[];
|
|
681
|
+
variants: VariantDto[];
|
|
492
682
|
}
|
|
493
|
-
export declare class
|
|
494
|
-
|
|
683
|
+
export declare class VariantTitleDto {
|
|
684
|
+
titleName: string;
|
|
685
|
+
titleId: number;
|
|
495
686
|
}
|
|
496
|
-
export declare class
|
|
687
|
+
export declare class VariantDto {
|
|
497
688
|
name: string;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
689
|
+
price: number;
|
|
690
|
+
variantId: number;
|
|
691
|
+
currency: CurrencyEnum;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
502
694
|
}
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
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;
|
|
695
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
|
+
programId: number;
|
|
517
697
|
}
|
|
518
|
-
export declare class
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
prevDivisionId: number;
|
|
698
|
+
export declare class FindSessionsFiltersDto {
|
|
699
|
+
status?: PublishingStatusEnum;
|
|
700
|
+
isFullFetch?: boolean;
|
|
522
701
|
}
|
|
523
|
-
export declare class
|
|
524
|
-
|
|
525
|
-
groupId?: number;
|
|
526
|
-
prevGroupId?: number;
|
|
702
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
703
|
+
organizationId: number;
|
|
527
704
|
}
|
|
528
|
-
export declare class
|
|
529
|
-
|
|
530
|
-
userId: number;
|
|
705
|
+
export declare class DeleteEventAttendeesDto {
|
|
706
|
+
eventAttendeeIds: string;
|
|
531
707
|
}
|
|
532
|
-
export declare class
|
|
533
|
-
|
|
534
|
-
userCreatorId: number;
|
|
708
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
709
|
+
includeResources?: boolean;
|
|
535
710
|
}
|
|
536
|
-
export declare class
|
|
537
|
-
|
|
711
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
|
+
seasonId: number;
|
|
538
713
|
}
|
|
539
|
-
export declare class
|
|
540
|
-
|
|
714
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
|
+
seasonId: number;
|
|
541
716
|
}
|
|
542
|
-
export declare class
|
|
543
|
-
|
|
544
|
-
inviteToken?: string;
|
|
717
|
+
export declare class DeleteProductDto {
|
|
718
|
+
deleteProduct?: boolean;
|
|
545
719
|
}
|
|
546
|
-
export declare class
|
|
720
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
547
721
|
userId: number;
|
|
548
722
|
}
|
|
549
|
-
export
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
554
|
-
teamId?: number;
|
|
555
|
-
memberId?: number;
|
|
556
|
-
fromSeasonId: number;
|
|
557
|
-
toSeasonId: number;
|
|
558
|
-
toDivisionId?: number;
|
|
559
|
-
}
|
|
560
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
561
|
-
fileName: string;
|
|
562
|
-
}
|
|
563
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
564
|
-
membershipId: number;
|
|
565
|
-
}
|
|
566
|
-
export declare class ImportProductsFromDB {
|
|
567
|
-
buDate: string;
|
|
568
|
-
}
|
|
569
|
-
export declare class ImportCustomerFromCSV {
|
|
570
|
-
fileName: string;
|
|
571
|
-
startIndex?: number;
|
|
572
|
-
}
|
|
573
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
574
|
-
resolveInvoices: string;
|
|
575
|
-
}
|
|
576
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
577
|
-
membershipId: number;
|
|
578
|
-
onlyDashIds: string;
|
|
579
|
-
}
|
|
580
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
581
|
-
facilityId: number;
|
|
582
|
-
}
|
|
583
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
584
|
-
customerId: number;
|
|
723
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
724
|
+
isFreeAgentsOnly?: boolean;
|
|
725
|
+
isPunchCardUsers?: boolean;
|
|
726
|
+
nameEmailSearch?: string;
|
|
585
727
|
}
|
|
586
|
-
export declare class
|
|
587
|
-
|
|
588
|
-
fuzzy?: string;
|
|
589
|
-
customerType?: CustomerTypeEnum;
|
|
590
|
-
customersIds?: string;
|
|
591
|
-
}
|
|
592
|
-
export declare class AddCustomerNotesDto {
|
|
593
|
-
customerNotes: CustomerNoteDto[];
|
|
594
|
-
}
|
|
595
|
-
export declare class CustomerNoteDto {
|
|
596
|
-
id?: number;
|
|
597
|
-
description: string;
|
|
598
|
-
pinToTop?: boolean;
|
|
599
|
-
}
|
|
600
|
-
export declare class AddEditCustomerDto {
|
|
601
|
-
firstName?: string;
|
|
602
|
-
lastName?: string;
|
|
603
|
-
entityId?: number;
|
|
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;
|
|
620
|
-
}
|
|
621
|
-
export declare class CreateMembershipDto {
|
|
622
|
-
organizationId: number;
|
|
728
|
+
export declare class BaseProgramSeasonDto {
|
|
729
|
+
programId: number;
|
|
623
730
|
name: string;
|
|
731
|
+
status: PublishingStatusEnum;
|
|
732
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
733
|
+
startDate: Date;
|
|
734
|
+
endDate: Date;
|
|
624
735
|
description?: string;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
registrationEndDate?: Date;
|
|
639
|
-
membershipType: MembershipTypeEnum;
|
|
640
|
-
durationMonths: number;
|
|
736
|
+
GL?: string;
|
|
737
|
+
parentSeasonId?: number;
|
|
738
|
+
questionnaires?: number[];
|
|
739
|
+
maxParticipants?: number;
|
|
740
|
+
maxMaleParticipants?: number;
|
|
741
|
+
maxFemaleParticipants?: number;
|
|
742
|
+
maxWaitlist?: number;
|
|
743
|
+
maxMaleWaitlist?: number;
|
|
744
|
+
maxFemaleWaitlist?: number;
|
|
745
|
+
facilityId?: number;
|
|
746
|
+
addressId?: number;
|
|
747
|
+
blockedDated?: blockedDatesDto[];
|
|
748
|
+
activityTimes: ActivityTimesDto[];
|
|
641
749
|
longDescription?: string;
|
|
642
|
-
|
|
750
|
+
isPunchCard?: boolean;
|
|
751
|
+
organizationId: number;
|
|
752
|
+
sport: SportsEnum;
|
|
753
|
+
minAge: string;
|
|
754
|
+
maxAge: string;
|
|
755
|
+
gender: GenderEnum;
|
|
756
|
+
level?: LevelOfPlayEnum[];
|
|
757
|
+
requiredProductIds?: number[];
|
|
643
758
|
}
|
|
644
|
-
export declare class
|
|
645
|
-
|
|
759
|
+
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
760
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
646
761
|
}
|
|
647
|
-
export declare class
|
|
648
|
-
|
|
649
|
-
|
|
762
|
+
export declare class CreateSessionScheduleDto {
|
|
763
|
+
startDate: Date;
|
|
764
|
+
endDate: Date;
|
|
765
|
+
activityTimes: ActivityTimesDto[];
|
|
766
|
+
blockedDated?: blockedDatesDto[];
|
|
767
|
+
subSeasons?: SubSeasonBasicInfo[];
|
|
650
768
|
}
|
|
651
|
-
export declare class
|
|
652
|
-
|
|
769
|
+
export declare class SubSeasonBasicInfo {
|
|
770
|
+
name: string;
|
|
771
|
+
startDate: Date;
|
|
772
|
+
endDate: Date;
|
|
773
|
+
activityTimes?: ActivityTimesDto[];
|
|
653
774
|
}
|
|
654
|
-
export declare class
|
|
655
|
-
|
|
775
|
+
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
|
776
|
+
seasonId: number;
|
|
656
777
|
}
|
|
657
|
-
export declare class
|
|
658
|
-
|
|
778
|
+
export declare class UpdateProgramSeasonStatusDto {
|
|
779
|
+
seasonId: number;
|
|
780
|
+
status: PublishingStatusEnum;
|
|
659
781
|
}
|
|
660
|
-
export declare class
|
|
661
|
-
|
|
782
|
+
export declare class blockedDatesDto {
|
|
783
|
+
name: string;
|
|
784
|
+
startDate: Date;
|
|
785
|
+
endDate: Date;
|
|
662
786
|
}
|
|
663
|
-
export declare class
|
|
664
|
-
|
|
787
|
+
export declare class ActivityTimesDto {
|
|
788
|
+
dayOfWeek: number;
|
|
789
|
+
open: string;
|
|
790
|
+
close: string;
|
|
665
791
|
}
|
|
666
|
-
export declare class
|
|
667
|
-
|
|
792
|
+
export declare class ShallowUpdateProgramSeasonDto {
|
|
793
|
+
seasonId: number;
|
|
794
|
+
name: string;
|
|
795
|
+
description?: string;
|
|
796
|
+
questionnaires?: number[];
|
|
797
|
+
maxParticipants?: number;
|
|
798
|
+
maxMaleParticipants?: number;
|
|
799
|
+
maxFemaleParticipants?: number;
|
|
800
|
+
maxWaitlist?: number;
|
|
801
|
+
maxMaleWaitlist?: number;
|
|
802
|
+
maxFemaleWaitlist?: number;
|
|
803
|
+
facilityId?: number;
|
|
804
|
+
addressId?: number;
|
|
805
|
+
sport?: SportsEnum;
|
|
806
|
+
minAge?: string;
|
|
807
|
+
maxAge?: string;
|
|
808
|
+
gender?: GenderEnum;
|
|
809
|
+
level?: LevelOfPlayEnum[];
|
|
810
|
+
requiredProductIds?: number[];
|
|
811
|
+
subSeasons?: ShallowUpdateSubSeasonDto[];
|
|
668
812
|
}
|
|
669
|
-
export declare class
|
|
670
|
-
|
|
671
|
-
|
|
813
|
+
export declare class ShallowUpdateSubSeasonDto {
|
|
814
|
+
id: number;
|
|
815
|
+
name: string;
|
|
672
816
|
}
|
|
673
|
-
export declare class
|
|
674
|
-
|
|
675
|
-
|
|
817
|
+
export declare class SpaceResourcePairDto {
|
|
818
|
+
resourceType: ResourceNameTypeEnum;
|
|
819
|
+
resourceId: number;
|
|
820
|
+
spacesIds: number[];
|
|
821
|
+
publicNotes?: string;
|
|
822
|
+
privateNotes?: string;
|
|
823
|
+
minutesBeforeSlot?: number;
|
|
824
|
+
minutesAfterSlot?: number;
|
|
676
825
|
}
|
|
677
|
-
export declare class
|
|
826
|
+
export declare class BulkSpaceResourceAllocationDto {
|
|
827
|
+
spaceResourcePairs: SpaceResourcePairDto[];
|
|
678
828
|
organizationId: number;
|
|
679
|
-
parentProductId: number;
|
|
680
|
-
variantTitles: VariantTitleDto[];
|
|
681
|
-
variants: VariantDto[];
|
|
682
829
|
}
|
|
683
|
-
export declare class
|
|
684
|
-
|
|
685
|
-
|
|
830
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
831
|
+
date: string;
|
|
832
|
+
startTime: string;
|
|
833
|
+
endTime: string;
|
|
834
|
+
spaceId: number;
|
|
835
|
+
publicNotes?: string;
|
|
836
|
+
slotType?: SlotTypeEnum;
|
|
686
837
|
}
|
|
687
|
-
export declare class
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
currency: CurrencyEnum;
|
|
838
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
839
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
840
|
+
}
|
|
841
|
+
export declare class UpdateSeasonDatesDto {
|
|
692
842
|
startDate: Date;
|
|
693
843
|
endDate: Date;
|
|
694
844
|
}
|
|
845
|
+
export declare class MoveAttendeeDto {
|
|
846
|
+
userId: number;
|
|
847
|
+
resourceType: ResourceNameTypeEnum;
|
|
848
|
+
fromResourceIds: number[];
|
|
849
|
+
toResourceIds: number[];
|
|
850
|
+
}
|
|
851
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
852
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
853
|
+
}
|
|
854
|
+
export declare class RegistrationDatesDto {
|
|
855
|
+
registrationStartDate: Date;
|
|
856
|
+
registrationEndDate: Date;
|
|
857
|
+
earlyRegistrationStartDate?: Date;
|
|
858
|
+
earlyRegistrationEndDate?: Date;
|
|
859
|
+
lateRegistrationStartDate?: Date;
|
|
860
|
+
lateRegistrationEndDate?: Date;
|
|
861
|
+
}
|
|
862
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
863
|
+
closeRegistrationPeriodValue?: number;
|
|
864
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
865
|
+
closeRegistrationSpecTime?: string;
|
|
866
|
+
openRegistrationPeriodValue?: number;
|
|
867
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
868
|
+
openRegistrationSpecTime?: string;
|
|
869
|
+
productsIdsToUpdate?: number[];
|
|
870
|
+
}
|
|
871
|
+
export declare class MoveParticipantDto {
|
|
872
|
+
userId: number;
|
|
873
|
+
oldProductId: number;
|
|
874
|
+
newProductId: number;
|
|
875
|
+
moveType: 'session' | 'segment';
|
|
876
|
+
resourceId: number;
|
|
877
|
+
orderId: number;
|
|
878
|
+
}
|
|
695
879
|
export declare class PurchasePaymentDto {
|
|
696
880
|
token: string;
|
|
697
881
|
type: PaymentMethodTypeEnum;
|
|
@@ -762,264 +946,124 @@ export declare class PartialPaymentAsUserDto {
|
|
|
762
946
|
amountToPay: any;
|
|
763
947
|
paymentMethodData: any;
|
|
764
948
|
}
|
|
765
|
-
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
949
|
export declare class ResourceDto {
|
|
774
950
|
type: ResourceNameTypeEnum;
|
|
775
951
|
id: number;
|
|
776
952
|
}
|
|
777
|
-
export declare class
|
|
778
|
-
|
|
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;
|
|
953
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
954
|
+
organizationId: number;
|
|
955
|
+
programType?: ProgramTypesEnum;
|
|
839
956
|
}
|
|
840
|
-
export declare class
|
|
957
|
+
export declare class FindProgramByIdDto {
|
|
841
958
|
programId: number;
|
|
842
959
|
}
|
|
843
|
-
export declare class
|
|
844
|
-
|
|
845
|
-
isFullFetch?: boolean;
|
|
846
|
-
}
|
|
847
|
-
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
960
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
961
|
+
programId: number;
|
|
848
962
|
organizationId: number;
|
|
849
963
|
}
|
|
850
|
-
export declare class
|
|
851
|
-
|
|
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;
|
|
964
|
+
export declare class BaseProgramDto {
|
|
965
|
+
type: ProgramTypesEnum;
|
|
875
966
|
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
967
|
sport: SportsEnum;
|
|
898
968
|
minAge: string;
|
|
899
969
|
maxAge: string;
|
|
900
970
|
gender: GenderEnum;
|
|
901
971
|
level?: LevelOfPlayEnum[];
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
activityTimes: ActivityTimesDto[];
|
|
911
|
-
blockedDated?: blockedDatesDto[];
|
|
912
|
-
subSeasons?: SubSeasonBasicInfo[];
|
|
972
|
+
description?: string;
|
|
973
|
+
GL?: string;
|
|
974
|
+
status: PublishingStatusEnum;
|
|
975
|
+
organizationId: number;
|
|
976
|
+
userCreatorId: number;
|
|
977
|
+
highlights: ProgramHighlights[];
|
|
978
|
+
longDescription?: string;
|
|
979
|
+
requiredProductIds: number[];
|
|
913
980
|
}
|
|
914
|
-
export declare class
|
|
915
|
-
name: string;
|
|
916
|
-
startDate: Date;
|
|
917
|
-
endDate: Date;
|
|
918
|
-
activityTimes?: ActivityTimesDto[];
|
|
981
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
919
982
|
}
|
|
920
|
-
export declare class
|
|
921
|
-
|
|
983
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
984
|
+
programId: number;
|
|
985
|
+
mainMediaId: number;
|
|
922
986
|
}
|
|
923
|
-
export declare class
|
|
924
|
-
|
|
987
|
+
export declare class UpdateProgramStatusDto {
|
|
988
|
+
programId: number;
|
|
925
989
|
status: PublishingStatusEnum;
|
|
926
990
|
}
|
|
927
|
-
export declare class
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
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[];
|
|
991
|
+
export declare class ProgramHighlightDto {
|
|
992
|
+
data: string;
|
|
993
|
+
ordinal: number;
|
|
994
|
+
type: ProgramHighlightTypeEnum;
|
|
995
|
+
title: string;
|
|
957
996
|
}
|
|
958
|
-
export declare class
|
|
959
|
-
id: number;
|
|
997
|
+
export declare class CreateResourceGroupDto {
|
|
960
998
|
name: string;
|
|
999
|
+
parentSlotId: number;
|
|
1000
|
+
facilityId: number;
|
|
1001
|
+
childrenSlotIds: number[];
|
|
961
1002
|
}
|
|
962
|
-
export declare class
|
|
963
|
-
resourceType: ResourceNameTypeEnum;
|
|
964
|
-
resourceId: number;
|
|
965
|
-
spacesIds: number[];
|
|
966
|
-
publicNotes?: string;
|
|
967
|
-
privateNotes?: string;
|
|
968
|
-
minutesBeforeSlot?: number;
|
|
969
|
-
minutesAfterSlot?: number;
|
|
970
|
-
}
|
|
971
|
-
export declare class BulkSpaceResourceAllocationDto {
|
|
972
|
-
spaceResourcePairs: SpaceResourcePairDto[];
|
|
973
|
-
organizationId: number;
|
|
1003
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
974
1004
|
}
|
|
975
|
-
export declare class
|
|
976
|
-
date: string;
|
|
977
|
-
startTime: string;
|
|
978
|
-
endTime: string;
|
|
1005
|
+
export declare class SpaceByIdDto {
|
|
979
1006
|
spaceId: number;
|
|
980
|
-
publicNotes?: string;
|
|
981
|
-
slotType?: SlotTypeEnum;
|
|
982
1007
|
}
|
|
983
|
-
export declare class
|
|
984
|
-
|
|
1008
|
+
export declare class CreateSpaceDto {
|
|
1009
|
+
name: string;
|
|
1010
|
+
sports: number[];
|
|
1011
|
+
description?: string;
|
|
1012
|
+
longDescription?: string;
|
|
1013
|
+
spaceType: ResourceSubTypeEnum;
|
|
1014
|
+
isAddon?: boolean;
|
|
1015
|
+
properties: SpacePropertiesEnum;
|
|
1016
|
+
width?: number;
|
|
1017
|
+
length?: number;
|
|
1018
|
+
surface?: SurfacesEnum;
|
|
1019
|
+
ages?: ResourceAgesEnum;
|
|
1020
|
+
amenities: number[];
|
|
1021
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1022
|
+
facilitiesIds: number[];
|
|
1023
|
+
resourceGroupId?: number;
|
|
1024
|
+
blockedResourcesIds?: number[];
|
|
985
1025
|
}
|
|
986
|
-
export declare class
|
|
987
|
-
|
|
988
|
-
|
|
1026
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1027
|
+
name: string;
|
|
1028
|
+
description?: string;
|
|
1029
|
+
longDescription?: string;
|
|
1030
|
+
isAddon?: boolean;
|
|
1031
|
+
facilitiesIds: number[];
|
|
989
1032
|
}
|
|
990
|
-
export declare class
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1033
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1034
|
+
properties: SpacePropertiesEnum;
|
|
1035
|
+
width?: number;
|
|
1036
|
+
length?: number;
|
|
1037
|
+
surface?: SurfacesEnum;
|
|
1038
|
+
ages?: ResourceAgesEnum;
|
|
995
1039
|
}
|
|
996
|
-
export declare class
|
|
997
|
-
|
|
1040
|
+
export declare class UpdateSpaceTimesDto {
|
|
1041
|
+
activityTimes: BasicActivityTimesDto[];
|
|
998
1042
|
}
|
|
999
|
-
export declare class
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
earlyRegistrationStartDate?: Date;
|
|
1003
|
-
earlyRegistrationEndDate?: Date;
|
|
1004
|
-
lateRegistrationStartDate?: Date;
|
|
1005
|
-
lateRegistrationEndDate?: Date;
|
|
1043
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1044
|
+
resourceGroupId?: number;
|
|
1045
|
+
blockedResourcesIds?: number[];
|
|
1006
1046
|
}
|
|
1007
|
-
export declare class
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
closeRegistrationSpecTime?: string;
|
|
1011
|
-
openRegistrationPeriodValue?: number;
|
|
1012
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
1013
|
-
openRegistrationSpecTime?: string;
|
|
1014
|
-
productsIdsToUpdate?: number[];
|
|
1047
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1048
|
+
blockedSpacesIds: number[];
|
|
1049
|
+
parentSpaceId?: number;
|
|
1015
1050
|
}
|
|
1016
|
-
export declare class
|
|
1051
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1052
|
+
spacesIds?: string;
|
|
1053
|
+
futureHoursLimit?: number;
|
|
1054
|
+
}
|
|
1055
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1056
|
+
nameSearch?: string;
|
|
1057
|
+
facilitiesIds?: string;
|
|
1058
|
+
types?: string;
|
|
1059
|
+
resourcesIds?: string;
|
|
1060
|
+
}
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1017
1062
|
userId: number;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
orderId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1023
1067
|
}
|
|
1024
1068
|
export declare class FindByUserIdDto {
|
|
1025
1069
|
userId: 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;
|
|
@@ -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,10 +1449,14 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1396
1449
|
refundReasonId?: number;
|
|
1397
1450
|
refundNote?: string;
|
|
1398
1451
|
}
|
|
1399
|
-
export declare class
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1452
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1453
|
+
content: string;
|
|
1454
|
+
creatingUserId: number;
|
|
1455
|
+
user: User;
|
|
1456
|
+
isPublic: boolean;
|
|
1457
|
+
deletedAt: Date;
|
|
1458
|
+
invoiceId: number;
|
|
1459
|
+
invoice: Invoice;
|
|
1403
1460
|
}
|
|
1404
1461
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1405
1462
|
email: string;
|
|
@@ -1411,15 +1468,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1411
1468
|
mailParams?: any;
|
|
1412
1469
|
memo?: string;
|
|
1413
1470
|
}
|
|
1414
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1415
|
-
content: string;
|
|
1416
|
-
creatingUserId: number;
|
|
1417
|
-
user: User;
|
|
1418
|
-
isPublic: boolean;
|
|
1419
|
-
deletedAt: Date;
|
|
1420
|
-
invoiceId: number;
|
|
1421
|
-
invoice: Invoice;
|
|
1422
|
-
}
|
|
1423
1471
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1424
1472
|
name: string | null;
|
|
1425
1473
|
description: string | null;
|
|
@@ -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;
|
|
@@ -1634,6 +1703,15 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1634
1703
|
deletedAt?: Date;
|
|
1635
1704
|
facility: Facility;
|
|
1636
1705
|
}
|
|
1706
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1707
|
+
content: string;
|
|
1708
|
+
creatingUserId: number;
|
|
1709
|
+
user: User;
|
|
1710
|
+
isPublic: boolean;
|
|
1711
|
+
deletedAt: Date;
|
|
1712
|
+
orderId: number;
|
|
1713
|
+
order: Order;
|
|
1714
|
+
}
|
|
1637
1715
|
export declare class Order extends BondBaseEntity {
|
|
1638
1716
|
orderId: string | null;
|
|
1639
1717
|
price: number | null;
|
|
@@ -1658,40 +1736,6 @@ export declare class Order extends BondBaseEntity {
|
|
|
1658
1736
|
orderNotes: OrderNote[];
|
|
1659
1737
|
slots: Slot[];
|
|
1660
1738
|
}
|
|
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
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1681
|
-
content: string;
|
|
1682
|
-
creatingUserId: number;
|
|
1683
|
-
user: User;
|
|
1684
|
-
isPublic: boolean;
|
|
1685
|
-
deletedAt: Date;
|
|
1686
|
-
orderId: number;
|
|
1687
|
-
order: Order;
|
|
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
|
-
}
|
|
1695
1739
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1696
1740
|
orderId: number;
|
|
1697
1741
|
invoiceId: number;
|
|
@@ -1766,6 +1810,56 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1766
1810
|
discountMethod?: DiscountMethodsEnum;
|
|
1767
1811
|
discountValue?: number;
|
|
1768
1812
|
}
|
|
1813
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1814
|
+
name: string;
|
|
1815
|
+
quantity: number;
|
|
1816
|
+
paymentProcessorId?: string;
|
|
1817
|
+
startDate?: Date;
|
|
1818
|
+
endDate?: Date;
|
|
1819
|
+
isPublic: boolean;
|
|
1820
|
+
productType?: ProductTypesEnum;
|
|
1821
|
+
GL?: string;
|
|
1822
|
+
downpayment?: number;
|
|
1823
|
+
description?: string;
|
|
1824
|
+
prices: Price[];
|
|
1825
|
+
currPrice: Price;
|
|
1826
|
+
productSubType?: ProductSubTypesEnum;
|
|
1827
|
+
punchCard: boolean;
|
|
1828
|
+
requiredProductIds?: number[];
|
|
1829
|
+
lineItems: LineItems[];
|
|
1830
|
+
resources: IResourcesAvailability[];
|
|
1831
|
+
variantParentId?: number;
|
|
1832
|
+
isAddon: boolean;
|
|
1833
|
+
isArchive: boolean;
|
|
1834
|
+
productVariants: Product[];
|
|
1835
|
+
variantParentProduct: Product;
|
|
1836
|
+
variantsObj: Variant[];
|
|
1837
|
+
variantTitlesObj: VariantTitle[];
|
|
1838
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1839
|
+
deletedAt?: Date;
|
|
1840
|
+
productsUsers: ProductsUsers[];
|
|
1841
|
+
isProRated: boolean;
|
|
1842
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1843
|
+
defaultPriceId?: number;
|
|
1844
|
+
tax: number;
|
|
1845
|
+
isTaxInclusive: boolean;
|
|
1846
|
+
defaultPrice?: Price;
|
|
1847
|
+
addOns?: IChildProduct[];
|
|
1848
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1849
|
+
productResources: ProductResource[];
|
|
1850
|
+
parentProductPackages: ProductPackage[];
|
|
1851
|
+
childProductPackages: ProductPackage[];
|
|
1852
|
+
sports?: number[] | null;
|
|
1853
|
+
durationMinutes?: number;
|
|
1854
|
+
durationDays?: number;
|
|
1855
|
+
forms?: number[] | null;
|
|
1856
|
+
isForAllCustomers?: boolean;
|
|
1857
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1858
|
+
reservedForCustomers: Customer[];
|
|
1859
|
+
reservedForMemberships: Membership[];
|
|
1860
|
+
activityTimes: ActivityTimes[];
|
|
1861
|
+
purchasedResources: PurchasedResource[];
|
|
1862
|
+
}
|
|
1769
1863
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1770
1864
|
parentProductId: number;
|
|
1771
1865
|
childProductId: number;
|
|
@@ -1809,13 +1903,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1809
1903
|
productId: number;
|
|
1810
1904
|
variantId: number;
|
|
1811
1905
|
}
|
|
1812
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1813
|
-
productId: number;
|
|
1814
|
-
customerId: number;
|
|
1815
|
-
customer: Customer;
|
|
1816
|
-
deletedAt?: Date;
|
|
1817
|
-
product: Product;
|
|
1818
|
-
}
|
|
1819
1906
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1820
1907
|
productId: number;
|
|
1821
1908
|
userId: number;
|
|
@@ -1833,6 +1920,13 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1833
1920
|
slots?: Slot[];
|
|
1834
1921
|
addons?: Addon[];
|
|
1835
1922
|
}
|
|
1923
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1924
|
+
productId: number;
|
|
1925
|
+
customerId: number;
|
|
1926
|
+
customer: Customer;
|
|
1927
|
+
deletedAt?: Date;
|
|
1928
|
+
product: Product;
|
|
1929
|
+
}
|
|
1836
1930
|
export declare class Program extends BondBaseEntity {
|
|
1837
1931
|
type: ProgramTypesEnum;
|
|
1838
1932
|
name: string;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2271,21 +2315,14 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2271
2315
|
entityType: UserAuthorizationsTypeEnum;
|
|
2272
2316
|
user: User;
|
|
2273
2317
|
}
|
|
2274
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2275
|
-
familyAccountId: number;
|
|
2276
|
-
userId: number;
|
|
2277
|
-
isAdmin: boolean;
|
|
2278
|
-
user: User;
|
|
2279
|
-
familyAccount: FamilyAccount;
|
|
2280
|
-
deletedAt?: Date;
|
|
2281
|
-
}
|
|
2282
2318
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2283
2319
|
name: string;
|
|
2284
2320
|
variants: Variant[];
|
|
2285
2321
|
}
|
|
2286
|
-
export declare class
|
|
2287
|
-
|
|
2288
|
-
|
|
2322
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2323
|
+
name: string;
|
|
2324
|
+
variantTitleId: number;
|
|
2325
|
+
variantTitle: VariantTitle;
|
|
2289
2326
|
deletedAt?: Date;
|
|
2290
2327
|
}
|
|
2291
2328
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
@@ -2296,54 +2333,9 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2296
2333
|
membershipCollectionId?: string;
|
|
2297
2334
|
programsCollectionId?: string;
|
|
2298
2335
|
}
|
|
2299
|
-
export declare class
|
|
2300
|
-
|
|
2301
|
-
|
|
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;
|
|
2336
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2337
|
+
groupId: number;
|
|
2338
|
+
userId: number;
|
|
2347
2339
|
deletedAt?: Date;
|
|
2348
2340
|
}
|
|
2349
2341
|
export declare enum EntitlementTermsTypesEnum {
|
|
@@ -3228,13 +3220,137 @@ export interface IReservationCreatorData {
|
|
|
3228
3220
|
organizationId: number;
|
|
3229
3221
|
startDate: string;
|
|
3230
3222
|
endDate: string;
|
|
3231
|
-
sportId: number;
|
|
3223
|
+
sportId: number;
|
|
3224
|
+
}
|
|
3225
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
3226
|
+
familyAccountId: number;
|
|
3227
|
+
userId: number;
|
|
3228
|
+
isAdmin: boolean;
|
|
3229
|
+
user: User;
|
|
3230
|
+
familyAccount: FamilyAccount;
|
|
3231
|
+
deletedAt?: Date;
|
|
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;
|
|
3292
|
+
prices: Price[];
|
|
3293
|
+
resourceIds: number[];
|
|
3294
|
+
oldId: number;
|
|
3295
|
+
}
|
|
3296
|
+
export declare class PunchPassDto {
|
|
3297
|
+
CustomerID: string;
|
|
3298
|
+
QuantityLeft: number;
|
|
3299
|
+
BondProgramID: number;
|
|
3300
|
+
BondSessionID: number;
|
|
3301
|
+
ProductID: number;
|
|
3302
|
+
}
|
|
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;
|
|
3330
|
+
startDate: string;
|
|
3331
|
+
startTime: string;
|
|
3332
|
+
endDate: string;
|
|
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;
|
|
@@ -3354,6 +3470,38 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3354
3470
|
organisationId: number | null;
|
|
3355
3471
|
userId: number | null;
|
|
3356
3472
|
}
|
|
3473
|
+
export declare class RefundDto {
|
|
3474
|
+
orderId: number;
|
|
3475
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3476
|
+
refundLineItemAmountDict?: {
|
|
3477
|
+
[id: number]: number;
|
|
3478
|
+
};
|
|
3479
|
+
refunds: PaymentMethodDto[];
|
|
3480
|
+
refundType: RefundTypeEnum;
|
|
3481
|
+
reasonId: number;
|
|
3482
|
+
note?: string;
|
|
3483
|
+
shiftId?: number;
|
|
3484
|
+
meta?: RevertMetaDto;
|
|
3485
|
+
}
|
|
3486
|
+
export declare class PaymentMethodDto {
|
|
3487
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3488
|
+
amount: number;
|
|
3489
|
+
paymentMethodId?: string;
|
|
3490
|
+
}
|
|
3491
|
+
export declare class RefundLineItemAmountDto {
|
|
3492
|
+
id: number;
|
|
3493
|
+
refundAmount: number;
|
|
3494
|
+
}
|
|
3495
|
+
export declare class VoidDto {
|
|
3496
|
+
lineItems: VoidLineItemDto[];
|
|
3497
|
+
meta?: RevertMetaDto;
|
|
3498
|
+
}
|
|
3499
|
+
export declare class VoidLineItemDto {
|
|
3500
|
+
id: number;
|
|
3501
|
+
quantity?: number;
|
|
3502
|
+
isEdit?: boolean;
|
|
3503
|
+
amount?: number;
|
|
3504
|
+
}
|
|
3357
3505
|
export declare class CustomerIdDto {
|
|
3358
3506
|
customerId: number;
|
|
3359
3507
|
}
|
|
@@ -3471,38 +3619,6 @@ export declare class SendRequestDto {
|
|
|
3471
3619
|
sendToEmail: string;
|
|
3472
3620
|
memo?: string;
|
|
3473
3621
|
}
|
|
3474
|
-
export declare class RefundDto {
|
|
3475
|
-
orderId: number;
|
|
3476
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3477
|
-
refundLineItemAmountDict?: {
|
|
3478
|
-
[id: number]: number;
|
|
3479
|
-
};
|
|
3480
|
-
refunds: PaymentMethodDto[];
|
|
3481
|
-
refundType: RefundTypeEnum;
|
|
3482
|
-
reasonId: number;
|
|
3483
|
-
note?: string;
|
|
3484
|
-
shiftId?: number;
|
|
3485
|
-
meta?: RevertMetaDto;
|
|
3486
|
-
}
|
|
3487
|
-
export declare class PaymentMethodDto {
|
|
3488
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3489
|
-
amount: number;
|
|
3490
|
-
paymentMethodId?: string;
|
|
3491
|
-
}
|
|
3492
|
-
export declare class RefundLineItemAmountDto {
|
|
3493
|
-
id: number;
|
|
3494
|
-
refundAmount: number;
|
|
3495
|
-
}
|
|
3496
|
-
export declare class VoidDto {
|
|
3497
|
-
lineItems: VoidLineItemDto[];
|
|
3498
|
-
meta?: RevertMetaDto;
|
|
3499
|
-
}
|
|
3500
|
-
export declare class VoidLineItemDto {
|
|
3501
|
-
id: number;
|
|
3502
|
-
quantity?: number;
|
|
3503
|
-
isEdit?: boolean;
|
|
3504
|
-
amount?: number;
|
|
3505
|
-
}
|
|
3506
3622
|
export declare class LineItemDto {
|
|
3507
3623
|
id?: number;
|
|
3508
3624
|
orderId?: number;
|
|
@@ -3557,20 +3673,20 @@ export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
|
3557
3673
|
purchasingUserId: number;
|
|
3558
3674
|
slots: number[];
|
|
3559
3675
|
}
|
|
3560
|
-
export declare class InvoiceReservationItemsDto {
|
|
3561
|
-
slotsIds?: number[];
|
|
3562
|
-
addonsIds?: number[];
|
|
3563
|
-
addToOrderId?: number;
|
|
3564
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3565
|
-
}
|
|
3566
3676
|
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3567
3677
|
reservationTotalPrice: number;
|
|
3568
3678
|
}
|
|
3569
|
-
export declare class
|
|
3570
|
-
isInvoiced: boolean;
|
|
3679
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3571
3680
|
basicInfoData?: BaseInvoiceDto;
|
|
3572
3681
|
addToOrderId?: number;
|
|
3573
3682
|
}
|
|
3683
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3684
|
+
isInvoiced: boolean;
|
|
3685
|
+
}
|
|
3686
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3687
|
+
slotsIds?: number[];
|
|
3688
|
+
addonsIds?: number[];
|
|
3689
|
+
}
|
|
3574
3690
|
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3575
3691
|
slots: SlotDto[];
|
|
3576
3692
|
}
|
|
@@ -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,9 @@ 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
|
-
export declare class CloseShiftDto {
|
|
4159
|
-
closingCashAmount: number;
|
|
4160
|
-
}
|
|
4161
4158
|
export declare class FindShiftsByIdsDto {
|
|
4162
4159
|
shiftIds: number[];
|
|
4163
4160
|
}
|
|
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
4161
|
export declare class FindShiftsFiltersDto {
|
|
4176
4162
|
statuses?: string;
|
|
4177
4163
|
stationIds?: string;
|
|
@@ -4192,6 +4178,20 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4192
4178
|
startDate?: Date;
|
|
4193
4179
|
endDate?: Date;
|
|
4194
4180
|
}
|
|
4181
|
+
export declare class ShiftManagementClosingAmount {
|
|
4182
|
+
shiftId: number;
|
|
4183
|
+
managementClosingCashAmount: number;
|
|
4184
|
+
}
|
|
4185
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4186
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4187
|
+
}
|
|
4188
|
+
export declare class OpenShiftDto {
|
|
4189
|
+
openingCashAmount: number;
|
|
4190
|
+
stationId: number;
|
|
4191
|
+
}
|
|
4192
|
+
export declare class CloseShiftDto {
|
|
4193
|
+
closingCashAmount: number;
|
|
4194
|
+
}
|
|
4195
4195
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4196
|
stationId: number;
|
|
4197
4197
|
station?: Station;
|