@bondsports/types 0.0.186 → 0.0.188
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 +825 -792
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -27,12 +20,12 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
20
|
bookingDate: string;
|
|
28
21
|
bookingTime: string;
|
|
29
22
|
}
|
|
30
|
-
export declare
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
export declare class BasicActivityTimesDto {
|
|
24
|
+
dayOfWeek: number;
|
|
25
|
+
close: string;
|
|
26
|
+
open: string;
|
|
27
|
+
availabilityStartDate?: string;
|
|
28
|
+
availabilityEndDate?: string;
|
|
36
29
|
}
|
|
37
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
31
|
membershipId: number;
|
|
@@ -195,6 +188,13 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
195
188
|
isWaiverSigned?: string;
|
|
196
189
|
statuses?: string;
|
|
197
190
|
}
|
|
191
|
+
export declare enum EConfigurationKeys {
|
|
192
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
193
|
+
}
|
|
194
|
+
export declare enum EFailedPaymentReasons {
|
|
195
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
196
|
+
UNKNOWN = "unknown"
|
|
197
|
+
}
|
|
198
198
|
export declare class AddressDto {
|
|
199
199
|
city: string;
|
|
200
200
|
state: string;
|
|
@@ -292,79 +292,6 @@ export declare class GetGlCodeDto {
|
|
|
292
292
|
createdAt: Date;
|
|
293
293
|
updatedAt: Date;
|
|
294
294
|
}
|
|
295
|
-
export declare class FindByProgramSeasonIdDto {
|
|
296
|
-
seasonId: number;
|
|
297
|
-
}
|
|
298
|
-
export declare class CreateBulkDivisionsDto {
|
|
299
|
-
divisions: CreateDivisionDto[];
|
|
300
|
-
}
|
|
301
|
-
export declare class CreateDivisionDto {
|
|
302
|
-
name: string;
|
|
303
|
-
ordinal?: number;
|
|
304
|
-
programSeasonId: number;
|
|
305
|
-
color: string;
|
|
306
|
-
isDefault: boolean;
|
|
307
|
-
}
|
|
308
|
-
export declare class CreateGroupDto {
|
|
309
|
-
name: string;
|
|
310
|
-
description?: string;
|
|
311
|
-
status?: GroupStatusEnum;
|
|
312
|
-
maxCapacity?: number;
|
|
313
|
-
mainMediaId?: number;
|
|
314
|
-
minAgeYears?: number;
|
|
315
|
-
maxAgeYears?: number;
|
|
316
|
-
gender: GenderEnum;
|
|
317
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
318
|
-
sports: SportsEnum[];
|
|
319
|
-
questionnaires?: number[];
|
|
320
|
-
captainUserId?: number;
|
|
321
|
-
divisionId?: number;
|
|
322
|
-
}
|
|
323
|
-
export declare class ConnectGroupToDivision {
|
|
324
|
-
groupId: number;
|
|
325
|
-
divisionId: number;
|
|
326
|
-
prevDivisionId: number;
|
|
327
|
-
}
|
|
328
|
-
export declare class MoveUserInGroups {
|
|
329
|
-
userId: number;
|
|
330
|
-
groupId?: number;
|
|
331
|
-
prevGroupId?: number;
|
|
332
|
-
}
|
|
333
|
-
export declare class SaveUserAsGroupCaptain {
|
|
334
|
-
groupId: number;
|
|
335
|
-
userId: number;
|
|
336
|
-
}
|
|
337
|
-
export declare class CreateTeamInviteDto {
|
|
338
|
-
emails: string[];
|
|
339
|
-
userCreatorId: number;
|
|
340
|
-
}
|
|
341
|
-
export declare class TeamByIdDto {
|
|
342
|
-
teamId: number;
|
|
343
|
-
}
|
|
344
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
345
|
-
inviteToken: string;
|
|
346
|
-
}
|
|
347
|
-
export declare class JoinTeamDto {
|
|
348
|
-
userId: number;
|
|
349
|
-
inviteToken?: string;
|
|
350
|
-
}
|
|
351
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
352
|
-
userId: number;
|
|
353
|
-
}
|
|
354
|
-
export interface IMoveSeason {
|
|
355
|
-
fromSeasonId: number;
|
|
356
|
-
toSeasonId: number;
|
|
357
|
-
}
|
|
358
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
359
|
-
teamId?: number;
|
|
360
|
-
memberId?: number;
|
|
361
|
-
fromSeasonId: number;
|
|
362
|
-
toSeasonId: number;
|
|
363
|
-
toDivisionId?: number;
|
|
364
|
-
}
|
|
365
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
|
-
fileName: string;
|
|
367
|
-
}
|
|
368
295
|
export declare class CreateMembershipDto {
|
|
369
296
|
organizationId: number;
|
|
370
297
|
name: string;
|
|
@@ -463,226 +390,78 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
390
|
discountValue?: number;
|
|
464
391
|
discountMethod?: DiscountMethodsEnum;
|
|
465
392
|
}
|
|
466
|
-
export declare class
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
export declare class FindPriceOfProductDto {
|
|
470
|
-
id: number;
|
|
471
|
-
userId: number;
|
|
472
|
-
resources: ResourceDto[];
|
|
473
|
-
}
|
|
474
|
-
export declare class FindPricesOfProductsDto {
|
|
475
|
-
products: FindPriceOfProductDto[];
|
|
476
|
-
answers: UserAnswersDto[];
|
|
477
|
-
}
|
|
478
|
-
export declare class FindPackageByResourceDto {
|
|
479
|
-
resourceType: ResourceNameTypeEnum;
|
|
480
|
-
resourceId: number;
|
|
481
|
-
}
|
|
482
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
483
|
-
organizationId: number;
|
|
393
|
+
export declare class FindByProgramSeasonIdDto {
|
|
394
|
+
seasonId: number;
|
|
484
395
|
}
|
|
485
|
-
export declare class
|
|
486
|
-
|
|
487
|
-
addOnsData?: ProductInPackage[];
|
|
488
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
396
|
+
export declare class CreateBulkDivisionsDto {
|
|
397
|
+
divisions: CreateDivisionDto[];
|
|
489
398
|
}
|
|
490
|
-
export declare class
|
|
399
|
+
export declare class CreateDivisionDto {
|
|
491
400
|
name: string;
|
|
401
|
+
ordinal?: number;
|
|
402
|
+
programSeasonId: number;
|
|
403
|
+
color: string;
|
|
404
|
+
isDefault: boolean;
|
|
492
405
|
}
|
|
493
|
-
export declare class
|
|
494
|
-
id?: number;
|
|
495
|
-
organizationId: number;
|
|
406
|
+
export declare class CreateGroupDto {
|
|
496
407
|
name: string;
|
|
497
|
-
quantity?: number;
|
|
498
|
-
isPublic: boolean;
|
|
499
|
-
startDate?: Date;
|
|
500
|
-
endDate?: Date;
|
|
501
408
|
description?: string;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
variants?: VariantWithPrice[];
|
|
514
|
-
variantParentId?: number;
|
|
515
|
-
isAddon?: boolean;
|
|
516
|
-
isArchive?: boolean;
|
|
517
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
518
|
-
isProRated?: boolean;
|
|
519
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
520
|
-
isTaxInclusive?: boolean;
|
|
521
|
-
tax?: number;
|
|
522
|
-
sports?: number[];
|
|
523
|
-
durationMinutes?: number;
|
|
524
|
-
durationDays?: number;
|
|
525
|
-
forms?: number[];
|
|
526
|
-
isForAllCustomers?: boolean;
|
|
527
|
-
membershipsAvailableFor?: number[];
|
|
528
|
-
customersAvailableFor?: number[];
|
|
529
|
-
addons?: createRentalProductAddonDto[];
|
|
530
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
531
|
-
}
|
|
532
|
-
export declare class VariantWithPrice {
|
|
533
|
-
variantIds: number[];
|
|
534
|
-
price: CreatePriceDto[];
|
|
409
|
+
status?: GroupStatusEnum;
|
|
410
|
+
maxCapacity?: number;
|
|
411
|
+
mainMediaId?: number;
|
|
412
|
+
minAgeYears?: number;
|
|
413
|
+
maxAgeYears?: number;
|
|
414
|
+
gender: GenderEnum;
|
|
415
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
416
|
+
sports: SportsEnum[];
|
|
417
|
+
questionnaires?: number[];
|
|
418
|
+
captainUserId?: number;
|
|
419
|
+
divisionId?: number;
|
|
535
420
|
}
|
|
536
|
-
export declare class
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
name: string;
|
|
541
|
-
startDate?: Date;
|
|
542
|
-
endDate?: Date;
|
|
543
|
-
discountValue?: number;
|
|
544
|
-
discountMethod?: DiscountMethodsEnum;
|
|
545
|
-
isDefaultPriceForProduct?: boolean;
|
|
421
|
+
export declare class ConnectGroupToDivision {
|
|
422
|
+
groupId: number;
|
|
423
|
+
divisionId: number;
|
|
424
|
+
prevDivisionId: number;
|
|
546
425
|
}
|
|
547
|
-
export declare class
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
426
|
+
export declare class MoveUserInGroups {
|
|
427
|
+
userId: number;
|
|
428
|
+
groupId?: number;
|
|
429
|
+
prevGroupId?: number;
|
|
551
430
|
}
|
|
552
|
-
export declare class
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
isCreateToChildProducts: boolean;
|
|
556
|
-
productsData: ProductInPackage[];
|
|
431
|
+
export declare class SaveUserAsGroupCaptain {
|
|
432
|
+
groupId: number;
|
|
433
|
+
userId: number;
|
|
557
434
|
}
|
|
558
|
-
export declare class
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
level?: ProductPackageLevelEnum;
|
|
435
|
+
export declare class CreateTeamInviteDto {
|
|
436
|
+
emails: string[];
|
|
437
|
+
userCreatorId: number;
|
|
562
438
|
}
|
|
563
|
-
export declare class
|
|
564
|
-
|
|
565
|
-
id: number;
|
|
566
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
567
|
-
level?: ProductPackageLevelEnum;
|
|
439
|
+
export declare class TeamByIdDto {
|
|
440
|
+
teamId: number;
|
|
568
441
|
}
|
|
569
|
-
export declare class
|
|
570
|
-
|
|
571
|
-
resourceType: ResourceNameTypeEnum;
|
|
572
|
-
resourceIds: number[];
|
|
442
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
443
|
+
inviteToken: string;
|
|
573
444
|
}
|
|
574
|
-
export declare class
|
|
445
|
+
export declare class JoinTeamDto {
|
|
575
446
|
userId: number;
|
|
576
|
-
|
|
577
|
-
redeemRelevantDate?: string;
|
|
447
|
+
inviteToken?: string;
|
|
578
448
|
}
|
|
579
|
-
export declare class
|
|
449
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
580
450
|
userId: number;
|
|
581
|
-
organizationId: number;
|
|
582
|
-
}
|
|
583
|
-
export declare class AddRequiredProductsDto {
|
|
584
|
-
productId: number;
|
|
585
|
-
requiredProductIds: number[];
|
|
586
|
-
}
|
|
587
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
588
|
-
productIds?: number[];
|
|
589
|
-
includePrices?: boolean;
|
|
590
|
-
productType?: ProductTypesEnum;
|
|
591
|
-
includeAddons?: string;
|
|
592
451
|
}
|
|
593
|
-
export
|
|
594
|
-
|
|
452
|
+
export interface IMoveSeason {
|
|
453
|
+
fromSeasonId: number;
|
|
454
|
+
toSeasonId: number;
|
|
595
455
|
}
|
|
596
|
-
export declare class
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
productType?: string;
|
|
603
|
-
productSubType?: string;
|
|
604
|
-
search?: string;
|
|
605
|
-
includeAddons?: boolean;
|
|
606
|
-
includeArchived?: boolean;
|
|
607
|
-
includeAllData?: boolean;
|
|
608
|
-
resourceIds?: string;
|
|
609
|
-
sports?: string;
|
|
610
|
-
}
|
|
611
|
-
export declare class GetAllVariantTitlesDto {
|
|
612
|
-
organizationId: number;
|
|
613
|
-
}
|
|
614
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
615
|
-
organizationId: number;
|
|
616
|
-
}
|
|
617
|
-
export declare class CreateVariantTitleDto {
|
|
618
|
-
organizationId: number;
|
|
619
|
-
title: string;
|
|
620
|
-
variants: string[];
|
|
621
|
-
}
|
|
622
|
-
export declare class UpdateVariantTitleDto {
|
|
623
|
-
organizationId: number;
|
|
624
|
-
titleId: number;
|
|
625
|
-
title: string;
|
|
626
|
-
variants: string[];
|
|
627
|
-
}
|
|
628
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
629
|
-
customerId: number;
|
|
630
|
-
}
|
|
631
|
-
export declare class GetExtraProductDataDto {
|
|
632
|
-
isPublic?: boolean;
|
|
633
|
-
isGetByChildResources?: boolean;
|
|
634
|
-
isGetEntitlePricing?: boolean;
|
|
635
|
-
isGetAddOns?: boolean;
|
|
636
|
-
includeResources?: boolean;
|
|
637
|
-
includeArchived?: boolean;
|
|
638
|
-
}
|
|
639
|
-
export declare class GetBySessionType {
|
|
640
|
-
sessionType: 'event' | 'segment';
|
|
641
|
-
}
|
|
642
|
-
export declare class CreateSubcategoryDto {
|
|
643
|
-
productType: ProductTypesEnum;
|
|
644
|
-
name: string;
|
|
645
|
-
stationId?: number;
|
|
646
|
-
ordinal?: number;
|
|
647
|
-
}
|
|
648
|
-
export declare class CreateSubcategoriesDto {
|
|
649
|
-
subcategories: CreateSubcategoryDto[];
|
|
650
|
-
}
|
|
651
|
-
export declare class UpdateSubcategoryDto {
|
|
652
|
-
id: number;
|
|
653
|
-
productType?: ProductTypesEnum;
|
|
654
|
-
name?: string;
|
|
655
|
-
stationId?: number;
|
|
656
|
-
ordinal?: number;
|
|
657
|
-
}
|
|
658
|
-
export declare class GetSubcategoryDto {
|
|
659
|
-
stationId?: number;
|
|
660
|
-
}
|
|
661
|
-
export declare class SetStationSubcategoriesDto {
|
|
662
|
-
stationId: number;
|
|
663
|
-
subcategoryIds?: number[];
|
|
664
|
-
categories?: string[];
|
|
665
|
-
}
|
|
666
|
-
export declare class createRentalProductAddonDto {
|
|
667
|
-
productId: number;
|
|
668
|
-
price: number;
|
|
669
|
-
isFlatPrice: boolean;
|
|
670
|
-
isMandatory: boolean;
|
|
671
|
-
level: ProductPackageLevelEnum;
|
|
672
|
-
}
|
|
673
|
-
export declare class createProductAvailabilityTimesDto {
|
|
674
|
-
availabilityStartDate?: string;
|
|
675
|
-
availabilityEndDate?: string;
|
|
676
|
-
daysOfWeek: number[];
|
|
677
|
-
startTime: string;
|
|
678
|
-
endTime: string;
|
|
679
|
-
}
|
|
680
|
-
export declare class createResourceDto {
|
|
681
|
-
resourceId: number;
|
|
682
|
-
resourceType: ResourceNameTypeEnum;
|
|
456
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
457
|
+
teamId?: number;
|
|
458
|
+
memberId?: number;
|
|
459
|
+
fromSeasonId: number;
|
|
460
|
+
toSeasonId: number;
|
|
461
|
+
toDivisionId?: number;
|
|
683
462
|
}
|
|
684
|
-
export declare class
|
|
685
|
-
|
|
463
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
464
|
+
fileName: string;
|
|
686
465
|
}
|
|
687
466
|
export declare class CreateUpdateVariantsDto {
|
|
688
467
|
organizationId: number;
|
|
@@ -1019,86 +798,298 @@ export declare class CreateResourceGroupDto {
|
|
|
1019
798
|
facilityId: number;
|
|
1020
799
|
childrenSlotIds: number[];
|
|
1021
800
|
}
|
|
1022
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
801
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
802
|
+
}
|
|
803
|
+
export declare class ResourceDto {
|
|
804
|
+
type: ResourceNameTypeEnum;
|
|
805
|
+
id: number;
|
|
806
|
+
}
|
|
807
|
+
export declare class SpaceByIdDto {
|
|
808
|
+
spaceId: number;
|
|
809
|
+
}
|
|
810
|
+
export declare class CreateSpaceDto {
|
|
811
|
+
name: string;
|
|
812
|
+
sports: number[];
|
|
813
|
+
description?: string;
|
|
814
|
+
longDescription?: string;
|
|
815
|
+
spaceType: ResourceSubTypeEnum;
|
|
816
|
+
isAddon?: boolean;
|
|
817
|
+
properties: SpacePropertiesEnum;
|
|
818
|
+
width?: number;
|
|
819
|
+
length?: number;
|
|
820
|
+
surface?: SurfacesEnum;
|
|
821
|
+
ages?: ResourceAgesEnum;
|
|
822
|
+
amenities: number[];
|
|
823
|
+
activityTimes: BasicActivityTimesDto[];
|
|
824
|
+
facilitiesIds: number[];
|
|
825
|
+
resourceGroupId?: number;
|
|
826
|
+
blockedResourcesIds?: number[];
|
|
827
|
+
}
|
|
828
|
+
export declare class UpdateSpaceDetailsDto {
|
|
829
|
+
name: string;
|
|
830
|
+
description?: string;
|
|
831
|
+
longDescription?: string;
|
|
832
|
+
isAddon?: boolean;
|
|
833
|
+
facilitiesIds: number[];
|
|
834
|
+
}
|
|
835
|
+
export declare class UpdateSpacePropertiesDto {
|
|
836
|
+
properties: SpacePropertiesEnum;
|
|
837
|
+
width?: number;
|
|
838
|
+
length?: number;
|
|
839
|
+
surface?: SurfacesEnum;
|
|
840
|
+
ages?: ResourceAgesEnum;
|
|
841
|
+
}
|
|
842
|
+
export declare class UpdateSpaceTimesDto {
|
|
843
|
+
activityTimes: BasicActivityTimesDto[];
|
|
844
|
+
}
|
|
845
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
846
|
+
resourceGroupId?: number;
|
|
847
|
+
blockedResourcesIds?: number[];
|
|
848
|
+
}
|
|
849
|
+
export declare class SaveSpaceDependenciesDto {
|
|
850
|
+
blockedSpacesIds: number[];
|
|
851
|
+
parentSpaceId?: number;
|
|
852
|
+
}
|
|
853
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
854
|
+
spacesIds?: string;
|
|
855
|
+
futureHoursLimit?: number;
|
|
856
|
+
}
|
|
857
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
858
|
+
nameSearch?: string;
|
|
859
|
+
facilitiesIds?: string;
|
|
860
|
+
types?: string;
|
|
861
|
+
resourcesIds?: string;
|
|
862
|
+
}
|
|
863
|
+
export declare class StripeCustomerIdDto {
|
|
864
|
+
userId: number;
|
|
865
|
+
}
|
|
866
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
867
|
+
paymentMethodId: string;
|
|
868
|
+
}
|
|
869
|
+
export declare class AddACHTokenToCustomerDto {
|
|
870
|
+
publicToken: string;
|
|
871
|
+
accountId: string;
|
|
872
|
+
}
|
|
873
|
+
export declare class FindByProductIdDto {
|
|
874
|
+
productId: number;
|
|
875
|
+
}
|
|
876
|
+
export declare class FindPriceOfProductDto {
|
|
877
|
+
id: number;
|
|
878
|
+
userId: number;
|
|
879
|
+
resources: ResourceDto[];
|
|
880
|
+
}
|
|
881
|
+
export declare class FindPricesOfProductsDto {
|
|
882
|
+
products: FindPriceOfProductDto[];
|
|
883
|
+
answers: UserAnswersDto[];
|
|
884
|
+
}
|
|
885
|
+
export declare class FindPackageByResourceDto {
|
|
886
|
+
resourceType: ResourceNameTypeEnum;
|
|
887
|
+
resourceId: number;
|
|
888
|
+
}
|
|
889
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
890
|
+
organizationId: number;
|
|
891
|
+
}
|
|
892
|
+
export declare class CreateProductsDto {
|
|
893
|
+
products: CreateProductDto[];
|
|
894
|
+
addOnsData?: ProductInPackage[];
|
|
895
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
896
|
+
}
|
|
897
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
898
|
+
name: string;
|
|
899
|
+
}
|
|
900
|
+
export declare class CreateProductDto {
|
|
901
|
+
id?: number;
|
|
902
|
+
organizationId: number;
|
|
903
|
+
name: string;
|
|
904
|
+
quantity?: number;
|
|
905
|
+
isPublic: boolean;
|
|
906
|
+
startDate?: Date;
|
|
907
|
+
endDate?: Date;
|
|
908
|
+
description?: string;
|
|
909
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
910
|
+
resourcesIdsToApplyOn?: number[];
|
|
911
|
+
GL?: string;
|
|
912
|
+
prices: CreatePriceDto[];
|
|
913
|
+
downpayment?: number;
|
|
914
|
+
productType: ProductTypesEnum;
|
|
915
|
+
subProductType?: string;
|
|
916
|
+
defaultForResourceId?: number;
|
|
917
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
918
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
919
|
+
variantTitleIds?: number[];
|
|
920
|
+
variants?: VariantWithPrice[];
|
|
921
|
+
variantParentId?: number;
|
|
922
|
+
isAddon?: boolean;
|
|
923
|
+
isArchive?: boolean;
|
|
924
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
925
|
+
isProRated?: boolean;
|
|
926
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
927
|
+
isTaxInclusive?: boolean;
|
|
928
|
+
tax?: number;
|
|
929
|
+
sports?: number[];
|
|
930
|
+
durationMinutes?: number;
|
|
931
|
+
durationDays?: number;
|
|
932
|
+
forms?: number[];
|
|
933
|
+
isForAllCustomers?: boolean;
|
|
934
|
+
membershipsAvailableFor?: number[];
|
|
935
|
+
customersAvailableFor?: number[];
|
|
936
|
+
addons?: createRentalProductAddonDto[];
|
|
937
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
938
|
+
}
|
|
939
|
+
export declare class VariantWithPrice {
|
|
940
|
+
variantIds: number[];
|
|
941
|
+
price: CreatePriceDto[];
|
|
942
|
+
}
|
|
943
|
+
export declare class CreatePriceDto {
|
|
944
|
+
id?: number;
|
|
945
|
+
price: number;
|
|
946
|
+
currency: CurrencyEnum;
|
|
947
|
+
name: string;
|
|
948
|
+
startDate?: Date;
|
|
949
|
+
endDate?: Date;
|
|
950
|
+
discountValue?: number;
|
|
951
|
+
discountMethod?: DiscountMethodsEnum;
|
|
952
|
+
isDefaultPriceForProduct?: boolean;
|
|
953
|
+
}
|
|
954
|
+
export declare class CreatePackageDto {
|
|
955
|
+
parentProductId: number;
|
|
956
|
+
productsData?: ProductInPackage[];
|
|
957
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
958
|
+
}
|
|
959
|
+
export declare class CreatePackageToResourceDto {
|
|
960
|
+
resourceId: number;
|
|
961
|
+
resourceType: ResourceNameTypeEnum;
|
|
962
|
+
isCreateToChildProducts: boolean;
|
|
963
|
+
productsData: ProductInPackage[];
|
|
964
|
+
}
|
|
965
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
966
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
967
|
+
amountInPackage?: number;
|
|
968
|
+
level?: ProductPackageLevelEnum;
|
|
969
|
+
}
|
|
970
|
+
export declare class ExistingProductToPackageDto {
|
|
971
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
972
|
+
id: number;
|
|
973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
974
|
+
level?: ProductPackageLevelEnum;
|
|
975
|
+
}
|
|
976
|
+
export declare class ConnectProductResourceDto {
|
|
977
|
+
productId: number;
|
|
978
|
+
resourceType: ResourceNameTypeEnum;
|
|
979
|
+
resourceIds: number[];
|
|
980
|
+
}
|
|
981
|
+
export declare class ReturnRequiredProductsDto {
|
|
982
|
+
userId: number;
|
|
983
|
+
productId: number;
|
|
984
|
+
redeemRelevantDate?: string;
|
|
985
|
+
}
|
|
986
|
+
export declare class FindByProductUserIdsDto {
|
|
987
|
+
userId: number;
|
|
988
|
+
organizationId: number;
|
|
989
|
+
}
|
|
990
|
+
export declare class AddRequiredProductsDto {
|
|
991
|
+
productId: number;
|
|
992
|
+
requiredProductIds: number[];
|
|
993
|
+
}
|
|
994
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
995
|
+
productIds?: number[];
|
|
996
|
+
includePrices?: boolean;
|
|
997
|
+
productType?: ProductTypesEnum;
|
|
998
|
+
includeAddons?: string;
|
|
999
|
+
}
|
|
1000
|
+
export declare class GetByOrganizationIdDto {
|
|
1001
|
+
organizationId?: number;
|
|
1002
|
+
}
|
|
1003
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
1004
|
+
invoiceId?: number;
|
|
1005
|
+
}
|
|
1006
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
1007
|
+
productIds?: string;
|
|
1008
|
+
includePrices?: boolean;
|
|
1009
|
+
productType?: string;
|
|
1010
|
+
productSubType?: string;
|
|
1011
|
+
search?: string;
|
|
1012
|
+
includeAddons?: boolean;
|
|
1013
|
+
includeArchived?: boolean;
|
|
1014
|
+
includeAllData?: boolean;
|
|
1015
|
+
resourceIds?: string;
|
|
1016
|
+
sports?: string;
|
|
1023
1017
|
}
|
|
1024
|
-
export declare class
|
|
1025
|
-
|
|
1026
|
-
id: number;
|
|
1018
|
+
export declare class GetAllVariantTitlesDto {
|
|
1019
|
+
organizationId: number;
|
|
1027
1020
|
}
|
|
1028
|
-
export declare class
|
|
1029
|
-
|
|
1021
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
1022
|
+
organizationId: number;
|
|
1030
1023
|
}
|
|
1031
|
-
export declare class
|
|
1032
|
-
|
|
1024
|
+
export declare class CreateVariantTitleDto {
|
|
1025
|
+
organizationId: number;
|
|
1026
|
+
title: string;
|
|
1027
|
+
variants: string[];
|
|
1033
1028
|
}
|
|
1034
|
-
export declare class
|
|
1035
|
-
|
|
1036
|
-
|
|
1029
|
+
export declare class UpdateVariantTitleDto {
|
|
1030
|
+
organizationId: number;
|
|
1031
|
+
titleId: number;
|
|
1032
|
+
title: string;
|
|
1033
|
+
variants: string[];
|
|
1037
1034
|
}
|
|
1038
|
-
export declare class
|
|
1039
|
-
|
|
1035
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1036
|
+
customerId: number;
|
|
1040
1037
|
}
|
|
1041
|
-
export declare class
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
properties: SpacePropertiesEnum;
|
|
1049
|
-
width?: number;
|
|
1050
|
-
length?: number;
|
|
1051
|
-
surface?: SurfacesEnum;
|
|
1052
|
-
ages?: ResourceAgesEnum;
|
|
1053
|
-
amenities: number[];
|
|
1054
|
-
activityTimes: BasicActivityTimesDto[];
|
|
1055
|
-
facilitiesIds: number[];
|
|
1056
|
-
resourceGroupId?: number;
|
|
1057
|
-
blockedResourcesIds?: number[];
|
|
1038
|
+
export declare class GetExtraProductDataDto {
|
|
1039
|
+
isPublic?: boolean;
|
|
1040
|
+
isGetByChildResources?: boolean;
|
|
1041
|
+
isGetEntitlePricing?: boolean;
|
|
1042
|
+
isGetAddOns?: boolean;
|
|
1043
|
+
includeResources?: boolean;
|
|
1044
|
+
includeArchived?: boolean;
|
|
1058
1045
|
}
|
|
1059
|
-
export declare class
|
|
1060
|
-
|
|
1061
|
-
description?: string;
|
|
1062
|
-
longDescription?: string;
|
|
1063
|
-
isAddon?: boolean;
|
|
1064
|
-
facilitiesIds: number[];
|
|
1046
|
+
export declare class GetBySessionType {
|
|
1047
|
+
sessionType: 'event' | 'segment';
|
|
1065
1048
|
}
|
|
1066
|
-
export declare class
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
ages?: ResourceAgesEnum;
|
|
1049
|
+
export declare class CreateSubcategoryDto {
|
|
1050
|
+
productType: ProductTypesEnum;
|
|
1051
|
+
name: string;
|
|
1052
|
+
stationId?: number;
|
|
1053
|
+
ordinal?: number;
|
|
1072
1054
|
}
|
|
1073
|
-
export declare class
|
|
1074
|
-
|
|
1055
|
+
export declare class CreateSubcategoriesDto {
|
|
1056
|
+
subcategories: CreateSubcategoryDto[];
|
|
1075
1057
|
}
|
|
1076
|
-
export declare class
|
|
1077
|
-
|
|
1078
|
-
|
|
1058
|
+
export declare class UpdateSubcategoryDto {
|
|
1059
|
+
id: number;
|
|
1060
|
+
productType?: ProductTypesEnum;
|
|
1061
|
+
name?: string;
|
|
1062
|
+
stationId?: number;
|
|
1063
|
+
ordinal?: number;
|
|
1079
1064
|
}
|
|
1080
|
-
export declare class
|
|
1081
|
-
|
|
1082
|
-
parentSpaceId?: number;
|
|
1065
|
+
export declare class GetSubcategoryDto {
|
|
1066
|
+
stationId?: number;
|
|
1083
1067
|
}
|
|
1084
|
-
export declare class
|
|
1085
|
-
|
|
1086
|
-
|
|
1068
|
+
export declare class SetStationSubcategoriesDto {
|
|
1069
|
+
stationId: number;
|
|
1070
|
+
subcategoryIds?: number[];
|
|
1071
|
+
categories?: string[];
|
|
1087
1072
|
}
|
|
1088
|
-
export declare class
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1073
|
+
export declare class createRentalProductAddonDto {
|
|
1074
|
+
productId: number;
|
|
1075
|
+
price: number;
|
|
1076
|
+
isFlatPrice: boolean;
|
|
1077
|
+
isMandatory: boolean;
|
|
1078
|
+
level: ProductPackageLevelEnum;
|
|
1093
1079
|
}
|
|
1094
|
-
export declare class
|
|
1095
|
-
|
|
1080
|
+
export declare class createProductAvailabilityTimesDto {
|
|
1081
|
+
availabilityStartDate?: string;
|
|
1082
|
+
availabilityEndDate?: string;
|
|
1083
|
+
daysOfWeek: number[];
|
|
1084
|
+
startTime: string;
|
|
1085
|
+
endTime: string;
|
|
1096
1086
|
}
|
|
1097
|
-
export declare class
|
|
1098
|
-
|
|
1087
|
+
export declare class createResourceDto {
|
|
1088
|
+
resourceId: number;
|
|
1089
|
+
resourceType: ResourceNameTypeEnum;
|
|
1099
1090
|
}
|
|
1100
|
-
export declare class
|
|
1101
|
-
|
|
1091
|
+
export declare class archiveDto {
|
|
1092
|
+
isArchive: boolean;
|
|
1102
1093
|
}
|
|
1103
1094
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1104
1095
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1161,6 +1152,11 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1161
1152
|
metadata: object | null;
|
|
1162
1153
|
athleteSports: AthleteSports[];
|
|
1163
1154
|
}
|
|
1155
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1156
|
+
athleteId: number | null;
|
|
1157
|
+
sports: number | null;
|
|
1158
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1159
|
+
}
|
|
1164
1160
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1165
1161
|
entityType: ResourceNameTypeEnum;
|
|
1166
1162
|
entityId: number;
|
|
@@ -1169,11 +1165,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1169
1165
|
endDate: Date;
|
|
1170
1166
|
deletedAt?: Date;
|
|
1171
1167
|
}
|
|
1172
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1173
|
-
athleteId: number | null;
|
|
1174
|
-
sports: number | null;
|
|
1175
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1176
|
-
}
|
|
1177
1168
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1178
1169
|
id: number;
|
|
1179
1170
|
createdAt: Date;
|
|
@@ -1197,11 +1188,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1197
1188
|
publicNotes?: string;
|
|
1198
1189
|
slotType?: SlotTypeEnum;
|
|
1199
1190
|
}
|
|
1200
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1201
|
-
area: string;
|
|
1202
|
-
key: string;
|
|
1203
|
-
value: string;
|
|
1204
|
-
}
|
|
1205
1191
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1206
1192
|
parentId: number;
|
|
1207
1193
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1212,6 +1198,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1212
1198
|
endTimeInDay: string;
|
|
1213
1199
|
directBookingFor: DirectBookingTypesEnum;
|
|
1214
1200
|
}
|
|
1201
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1202
|
+
area: string;
|
|
1203
|
+
key: string;
|
|
1204
|
+
value: string;
|
|
1205
|
+
}
|
|
1215
1206
|
export declare class Connection extends BondBaseEntity {
|
|
1216
1207
|
connType: number | null;
|
|
1217
1208
|
from: number | null;
|
|
@@ -1224,6 +1215,15 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1224
1215
|
userCreatorId: number | null;
|
|
1225
1216
|
ownerId: number | null;
|
|
1226
1217
|
}
|
|
1218
|
+
export declare class FindByUserIdDto {
|
|
1219
|
+
userId: number;
|
|
1220
|
+
}
|
|
1221
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1222
|
+
familyAccountId?: number;
|
|
1223
|
+
}
|
|
1224
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1225
|
+
organizationId: number;
|
|
1226
|
+
}
|
|
1227
1227
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1228
1228
|
creditAmount: number;
|
|
1229
1229
|
paymentProcessorId: string;
|
|
@@ -1404,9 +1404,6 @@ export declare class FamilyAccount extends BondBaseEntity {
|
|
|
1404
1404
|
name: string | null;
|
|
1405
1405
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1406
1406
|
}
|
|
1407
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
|
-
code: string;
|
|
1409
|
-
}
|
|
1410
1407
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1411
1408
|
userId: number;
|
|
1412
1409
|
invoiceId: number;
|
|
@@ -1418,21 +1415,8 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1418
1415
|
chargedAt?: Date;
|
|
1419
1416
|
originalPlannedDate?: Date;
|
|
1420
1417
|
}
|
|
1421
|
-
export declare class
|
|
1422
|
-
|
|
1423
|
-
description?: string;
|
|
1424
|
-
status: GroupStatusEnum;
|
|
1425
|
-
maxCapacity?: number;
|
|
1426
|
-
mainMediaId?: number;
|
|
1427
|
-
minAgeYears?: number;
|
|
1428
|
-
maxAgeYears?: number;
|
|
1429
|
-
gender: GenderEnum;
|
|
1430
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1431
|
-
sports: SportsEnum[];
|
|
1432
|
-
questionnaires?: number[];
|
|
1433
|
-
captainUserId?: number;
|
|
1434
|
-
members: ISeasonAttendeeInfo[];
|
|
1435
|
-
users: User[];
|
|
1418
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1419
|
+
code: string;
|
|
1436
1420
|
}
|
|
1437
1421
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1438
1422
|
groupId: number;
|
|
@@ -1530,16 +1514,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1530
1514
|
logo?: Media;
|
|
1531
1515
|
seasons: LeagueSeason[];
|
|
1532
1516
|
}
|
|
1533
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1534
|
-
invoiceId: number;
|
|
1535
|
-
paymentId: number;
|
|
1536
|
-
lineItemId: number;
|
|
1537
|
-
paidAmount: number;
|
|
1538
|
-
unitPaidAmount: number;
|
|
1539
|
-
currency: CurrencyEnum;
|
|
1540
|
-
payment: Payment;
|
|
1541
|
-
lineItem: LineItems;
|
|
1542
|
-
}
|
|
1543
1517
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1544
1518
|
leagueId: number | null;
|
|
1545
1519
|
name: string | null;
|
|
@@ -1584,6 +1558,22 @@ export declare class LeagueSeasonRelations {
|
|
|
1584
1558
|
league?: boolean;
|
|
1585
1559
|
facilities?: boolean;
|
|
1586
1560
|
}
|
|
1561
|
+
export declare class Group extends BondBaseEntity {
|
|
1562
|
+
name: string;
|
|
1563
|
+
description?: string;
|
|
1564
|
+
status: GroupStatusEnum;
|
|
1565
|
+
maxCapacity?: number;
|
|
1566
|
+
mainMediaId?: number;
|
|
1567
|
+
minAgeYears?: number;
|
|
1568
|
+
maxAgeYears?: number;
|
|
1569
|
+
gender: GenderEnum;
|
|
1570
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1571
|
+
sports: SportsEnum[];
|
|
1572
|
+
questionnaires?: number[];
|
|
1573
|
+
captainUserId?: number;
|
|
1574
|
+
members: ISeasonAttendeeInfo[];
|
|
1575
|
+
users: User[];
|
|
1576
|
+
}
|
|
1587
1577
|
export declare class LineItems extends BondBaseEntity {
|
|
1588
1578
|
constructor();
|
|
1589
1579
|
defineIsReverted(): void;
|
|
@@ -1702,6 +1692,16 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1702
1692
|
isAutoRenew?: boolean;
|
|
1703
1693
|
purchasedResources: PurchasedResource[];
|
|
1704
1694
|
}
|
|
1695
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1696
|
+
invoiceId: number;
|
|
1697
|
+
paymentId: number;
|
|
1698
|
+
lineItemId: number;
|
|
1699
|
+
paidAmount: number;
|
|
1700
|
+
unitPaidAmount: number;
|
|
1701
|
+
currency: CurrencyEnum;
|
|
1702
|
+
payment: Payment;
|
|
1703
|
+
lineItem: LineItems;
|
|
1704
|
+
}
|
|
1705
1705
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1706
1706
|
membership: Membership;
|
|
1707
1707
|
membershipId: number;
|
|
@@ -1742,23 +1742,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1742
1742
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1743
1743
|
organizationId: number;
|
|
1744
1744
|
}
|
|
1745
|
-
export declare class PackageV1 extends BondBaseEntity {
|
|
1746
|
-
name?: string;
|
|
1747
|
-
description?: string;
|
|
1748
|
-
price: number;
|
|
1749
|
-
status: string;
|
|
1750
|
-
percentage: number;
|
|
1751
|
-
quantity: number;
|
|
1752
|
-
duration: number;
|
|
1753
|
-
organizationId: number;
|
|
1754
|
-
creatorId: number;
|
|
1755
|
-
creatorType: string;
|
|
1756
|
-
userCreatorId: number;
|
|
1757
|
-
ownerId: number;
|
|
1758
|
-
addon: boolean;
|
|
1759
|
-
isMandatory: boolean;
|
|
1760
|
-
productId: number;
|
|
1761
|
-
}
|
|
1762
1745
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1763
1746
|
token: string | null;
|
|
1764
1747
|
userId: number | null;
|
|
@@ -1792,21 +1775,32 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1792
1775
|
refundReasonId?: number;
|
|
1793
1776
|
refundNote?: string;
|
|
1794
1777
|
}
|
|
1778
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1779
|
+
failureIndex: number;
|
|
1780
|
+
waitingDays: number;
|
|
1781
|
+
}
|
|
1795
1782
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1796
1783
|
paymentInstallmentId?: number;
|
|
1797
1784
|
invoiceId: number;
|
|
1798
1785
|
reason: EFailedPaymentReasons;
|
|
1799
1786
|
errorMessage: string;
|
|
1800
1787
|
}
|
|
1801
|
-
export declare class
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1788
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1789
|
+
name?: string;
|
|
1790
|
+
description?: string;
|
|
1791
|
+
price: number;
|
|
1792
|
+
status: string;
|
|
1793
|
+
percentage: number;
|
|
1794
|
+
quantity: number;
|
|
1795
|
+
duration: number;
|
|
1796
|
+
organizationId: number;
|
|
1797
|
+
creatorId: number;
|
|
1798
|
+
creatorType: string;
|
|
1799
|
+
userCreatorId: number;
|
|
1800
|
+
ownerId: number;
|
|
1801
|
+
addon: boolean;
|
|
1802
|
+
isMandatory: boolean;
|
|
1803
|
+
productId: number;
|
|
1810
1804
|
}
|
|
1811
1805
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1812
1806
|
content: string;
|
|
@@ -1817,6 +1811,12 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1817
1811
|
paymentId: number;
|
|
1818
1812
|
payment: Payment;
|
|
1819
1813
|
}
|
|
1814
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1815
|
+
paymentPlanId: number;
|
|
1816
|
+
paymentDate: Date;
|
|
1817
|
+
deletedAt?: Date;
|
|
1818
|
+
paymentPlan: ProductPaymentPlan;
|
|
1819
|
+
}
|
|
1820
1820
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1821
1821
|
productId: number;
|
|
1822
1822
|
product: Product;
|
|
@@ -1902,20 +1902,14 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1902
1902
|
activityTimes: ActivityTimes[];
|
|
1903
1903
|
purchasedResources: PurchasedResource[];
|
|
1904
1904
|
}
|
|
1905
|
-
export declare class
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1905
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1906
|
+
productId: number;
|
|
1907
|
+
maxMonths?: number;
|
|
1908
|
+
dayOfMonth?: number;
|
|
1909
|
+
name: string;
|
|
1910
1910
|
deletedAt?: Date;
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
parentProduct: Product;
|
|
1914
|
-
price: number;
|
|
1915
|
-
isFlatPrice: boolean;
|
|
1916
|
-
durationMinutes?: number;
|
|
1917
|
-
durationDays?: number;
|
|
1918
|
-
level?: ProductPackageLevelEnum;
|
|
1911
|
+
schedule: PaymentPlanSchedule[];
|
|
1912
|
+
product?: Product;
|
|
1919
1913
|
}
|
|
1920
1914
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1921
1915
|
productId: number;
|
|
@@ -1928,14 +1922,20 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1928
1922
|
productPackages: ProductPackage[];
|
|
1929
1923
|
resourceName?: string;
|
|
1930
1924
|
}
|
|
1931
|
-
export declare class
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1925
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1926
|
+
parentProductId: number;
|
|
1927
|
+
childProductId: number;
|
|
1928
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1929
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1936
1930
|
deletedAt?: Date;
|
|
1937
|
-
|
|
1938
|
-
|
|
1931
|
+
productResource: ProductResource;
|
|
1932
|
+
childProduct: Product;
|
|
1933
|
+
parentProduct: Product;
|
|
1934
|
+
price: number;
|
|
1935
|
+
isFlatPrice: boolean;
|
|
1936
|
+
durationMinutes?: number;
|
|
1937
|
+
durationDays?: number;
|
|
1938
|
+
level?: ProductPackageLevelEnum;
|
|
1939
1939
|
}
|
|
1940
1940
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1941
1941
|
productId: number;
|
|
@@ -1962,13 +1962,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1962
1962
|
slots?: Slot[];
|
|
1963
1963
|
addons?: Addon[];
|
|
1964
1964
|
}
|
|
1965
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1966
|
-
productId: number;
|
|
1967
|
-
customerId: number;
|
|
1968
|
-
customer: Customer;
|
|
1969
|
-
deletedAt?: Date;
|
|
1970
|
-
product: Product;
|
|
1971
|
-
}
|
|
1972
1965
|
export declare class Program extends BondBaseEntity {
|
|
1973
1966
|
type: ProgramTypesEnum;
|
|
1974
1967
|
name: string;
|
|
@@ -1999,10 +1992,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1999
1992
|
program: Program;
|
|
2000
1993
|
deletedAt?: Date;
|
|
2001
1994
|
}
|
|
2002
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2003
|
-
title: string | null;
|
|
2004
|
-
answerTitle: AnswerTitle;
|
|
2005
|
-
}
|
|
2006
1995
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
2007
1996
|
programId: number;
|
|
2008
1997
|
name: string;
|
|
@@ -2058,6 +2047,13 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2058
2047
|
facility: Facility;
|
|
2059
2048
|
purchasedResources: PurchasedResource[];
|
|
2060
2049
|
}
|
|
2050
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2051
|
+
productId: number;
|
|
2052
|
+
customerId: number;
|
|
2053
|
+
customer: Customer;
|
|
2054
|
+
deletedAt?: Date;
|
|
2055
|
+
product: Product;
|
|
2056
|
+
}
|
|
2061
2057
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2062
2058
|
productUserId: number;
|
|
2063
2059
|
resourceId: number;
|
|
@@ -2080,6 +2076,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2080
2076
|
product?: Product;
|
|
2081
2077
|
event?: Event;
|
|
2082
2078
|
}
|
|
2079
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2080
|
+
title: string | null;
|
|
2081
|
+
answerTitle: AnswerTitle;
|
|
2082
|
+
}
|
|
2083
2083
|
export declare class Questions extends BondBaseEntity {
|
|
2084
2084
|
questionType: string | null;
|
|
2085
2085
|
ordinal: number | null;
|
|
@@ -2094,6 +2094,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2094
2094
|
ownerId: number | null;
|
|
2095
2095
|
questionnaireId: number | null;
|
|
2096
2096
|
}
|
|
2097
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2098
|
+
reason: string;
|
|
2099
|
+
ordinal: number;
|
|
2100
|
+
deletedAt: Date;
|
|
2101
|
+
}
|
|
2097
2102
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2098
2103
|
resourceType: ResourceNameTypeEnum;
|
|
2099
2104
|
resourceId: number;
|
|
@@ -2105,11 +2110,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2105
2110
|
closeTime?: string;
|
|
2106
2111
|
deletedAt?: Date;
|
|
2107
2112
|
}
|
|
2108
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2109
|
-
reason: string;
|
|
2110
|
-
ordinal: number;
|
|
2111
|
-
deletedAt: Date;
|
|
2112
|
-
}
|
|
2113
2113
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2114
2114
|
name?: string;
|
|
2115
2115
|
description?: string;
|
|
@@ -2220,10 +2220,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2220
2220
|
purchasedResource: PurchasedResource;
|
|
2221
2221
|
season: LeagueSeason;
|
|
2222
2222
|
}
|
|
2223
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2224
|
-
blockingSpaceId: number;
|
|
2225
|
-
blockedSpaceId: number;
|
|
2226
|
-
}
|
|
2227
2223
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2228
2224
|
seasonId: number | null;
|
|
2229
2225
|
teamId: number | null;
|
|
@@ -2234,6 +2230,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2234
2230
|
metaData: any | null;
|
|
2235
2231
|
team: Team;
|
|
2236
2232
|
}
|
|
2233
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2234
|
+
blockingSpaceId: number;
|
|
2235
|
+
blockedSpaceId: number;
|
|
2236
|
+
}
|
|
2237
2237
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2238
2238
|
name: string;
|
|
2239
2239
|
facilityId: number;
|
|
@@ -2253,6 +2253,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2253
2253
|
station: Station;
|
|
2254
2254
|
subcategory: Subcategory;
|
|
2255
2255
|
}
|
|
2256
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2257
|
+
productType: ProductTypesEnum;
|
|
2258
|
+
name: string;
|
|
2259
|
+
ordinal?: number;
|
|
2260
|
+
deletedAt?: Date;
|
|
2261
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2262
|
+
stations: Station[];
|
|
2263
|
+
}
|
|
2256
2264
|
export declare class Team extends BondBaseEntity {
|
|
2257
2265
|
name: string | null;
|
|
2258
2266
|
description: string | null;
|
|
@@ -2287,14 +2295,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2287
2295
|
gender: number | null;
|
|
2288
2296
|
questionnaireId: number | null;
|
|
2289
2297
|
}
|
|
2290
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2291
|
-
productType: ProductTypesEnum;
|
|
2292
|
-
name: string;
|
|
2293
|
-
ordinal?: number;
|
|
2294
|
-
deletedAt?: Date;
|
|
2295
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2296
|
-
stations: Station[];
|
|
2297
|
-
}
|
|
2298
2298
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2299
2299
|
email: string;
|
|
2300
2300
|
teamId: number;
|
|
@@ -2304,21 +2304,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2304
2304
|
tokenExpirationDate: Date;
|
|
2305
2305
|
isUsed: boolean;
|
|
2306
2306
|
}
|
|
2307
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2308
|
-
teamId: number | null;
|
|
2309
|
-
userId: number | null;
|
|
2310
|
-
paymentId: number | null;
|
|
2311
|
-
hasPaid: boolean | null;
|
|
2312
|
-
status: TeamMemberStatusEnum | null;
|
|
2313
|
-
role: TeamMemberRoleEnum;
|
|
2314
|
-
user: User;
|
|
2315
|
-
}
|
|
2316
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2317
|
-
entityId: number | null;
|
|
2318
|
-
userId: number | null;
|
|
2319
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2320
|
-
user: User;
|
|
2321
|
-
}
|
|
2322
2307
|
export declare class User extends BondBaseEntity {
|
|
2323
2308
|
firstName: string | null;
|
|
2324
2309
|
lastName: string | null;
|
|
@@ -2358,6 +2343,21 @@ export declare class User extends BondBaseEntity {
|
|
|
2358
2343
|
invoiceNotes: InvoiceNote[];
|
|
2359
2344
|
paymentNotes: PaymentNote[];
|
|
2360
2345
|
}
|
|
2346
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2347
|
+
teamId: number | null;
|
|
2348
|
+
userId: number | null;
|
|
2349
|
+
paymentId: number | null;
|
|
2350
|
+
hasPaid: boolean | null;
|
|
2351
|
+
status: TeamMemberStatusEnum | null;
|
|
2352
|
+
role: TeamMemberRoleEnum;
|
|
2353
|
+
user: User;
|
|
2354
|
+
}
|
|
2355
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2356
|
+
entityId: number | null;
|
|
2357
|
+
userId: number | null;
|
|
2358
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2359
|
+
user: User;
|
|
2360
|
+
}
|
|
2361
2361
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2362
2362
|
familyAccountId: number;
|
|
2363
2363
|
userId: number;
|
|
@@ -2374,15 +2374,15 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2374
2374
|
paymentMethodId: string;
|
|
2375
2375
|
nextAllowedChargeDate?: Date;
|
|
2376
2376
|
}
|
|
2377
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2378
|
+
name: string;
|
|
2379
|
+
variants: Variant[];
|
|
2380
|
+
}
|
|
2377
2381
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2378
2382
|
groupId: number;
|
|
2379
2383
|
userId: number;
|
|
2380
2384
|
deletedAt?: Date;
|
|
2381
2385
|
}
|
|
2382
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2383
|
-
name: string;
|
|
2384
|
-
variants: Variant[];
|
|
2385
|
-
}
|
|
2386
2386
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2387
2387
|
name: string;
|
|
2388
2388
|
variantTitleId: number;
|
|
@@ -2637,6 +2637,7 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2637
2637
|
BALANCE = "balance",
|
|
2638
2638
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2639
2639
|
OTHER = "other",
|
|
2640
|
+
LOST_DEBT = "lost-debt",
|
|
2640
2641
|
MIGRATED = "migrated",
|
|
2641
2642
|
VOID = "void",
|
|
2642
2643
|
GIFT_CARD = "gift-card"
|
|
@@ -3276,37 +3277,154 @@ export interface ISlimAddons {
|
|
|
3276
3277
|
productSubType?: string;
|
|
3277
3278
|
}[];
|
|
3278
3279
|
}
|
|
3279
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3280
|
-
id: number;
|
|
3281
|
-
name: string;
|
|
3282
|
-
startDate?: Date;
|
|
3283
|
-
endDate?: Date;
|
|
3284
|
-
downpayment?: number;
|
|
3285
|
-
description?: string;
|
|
3286
|
-
prices: Price[];
|
|
3287
|
-
productSubType?: ProductSubTypesEnum;
|
|
3288
|
-
punchCard: boolean;
|
|
3289
|
-
isAddon: boolean;
|
|
3290
|
-
defaultPriceId?: number;
|
|
3280
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3281
|
+
id: number;
|
|
3282
|
+
name: string;
|
|
3283
|
+
startDate?: Date;
|
|
3284
|
+
endDate?: Date;
|
|
3285
|
+
downpayment?: number;
|
|
3286
|
+
description?: string;
|
|
3287
|
+
prices: Price[];
|
|
3288
|
+
productSubType?: ProductSubTypesEnum;
|
|
3289
|
+
punchCard: boolean;
|
|
3290
|
+
isAddon: boolean;
|
|
3291
|
+
defaultPriceId?: number;
|
|
3292
|
+
}
|
|
3293
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3294
|
+
destinationId?: string;
|
|
3295
|
+
stripeCustomerId?: string;
|
|
3296
|
+
fee?: number;
|
|
3297
|
+
}
|
|
3298
|
+
export interface IReservationCreatorData {
|
|
3299
|
+
type: ResourceNameTypeEnum;
|
|
3300
|
+
id: number;
|
|
3301
|
+
organizationId: number;
|
|
3302
|
+
startDate: string;
|
|
3303
|
+
endDate: string;
|
|
3304
|
+
sportId: number;
|
|
3305
|
+
}
|
|
3306
|
+
export declare class ColumnNumericTransformer {
|
|
3307
|
+
to(data: number): number;
|
|
3308
|
+
from(data: string): number;
|
|
3309
|
+
}
|
|
3310
|
+
export declare function convertToNumber(data: string): number;
|
|
3311
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3312
|
+
name?: string;
|
|
3313
|
+
genderStr?: string;
|
|
3314
|
+
parentID?: string;
|
|
3315
|
+
partnerID?: string;
|
|
3316
|
+
membershipName?: string;
|
|
3317
|
+
membershipExpDate?: string;
|
|
3318
|
+
membershipCreationDate?: string;
|
|
3319
|
+
bondMembershipID?: number;
|
|
3320
|
+
}
|
|
3321
|
+
export declare class AddFamilyDto {
|
|
3322
|
+
parents: AddImportedCustomerDto[];
|
|
3323
|
+
children: AddImportedCustomerDto[];
|
|
3324
|
+
}
|
|
3325
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3326
|
+
CREDIT_CARD = "card",
|
|
3327
|
+
ACH = "ach",
|
|
3328
|
+
CASH = "cash",
|
|
3329
|
+
CHECK = "check",
|
|
3330
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3331
|
+
OTHER = "other",
|
|
3332
|
+
GIFT_CARD = "gift-card"
|
|
3333
|
+
}
|
|
3334
|
+
export declare class ImportedInvoiceLineDto {
|
|
3335
|
+
invoiceID?: string;
|
|
3336
|
+
description: string;
|
|
3337
|
+
createdDate: string;
|
|
3338
|
+
createdTime: string;
|
|
3339
|
+
quantity: string;
|
|
3340
|
+
price: string;
|
|
3341
|
+
total: string;
|
|
3342
|
+
customerID: string;
|
|
3343
|
+
resourceType: string;
|
|
3344
|
+
resourceID: string;
|
|
3345
|
+
}
|
|
3346
|
+
export declare class ImportedInvoiceDto {
|
|
3347
|
+
customerId?: string;
|
|
3348
|
+
total?: string;
|
|
3349
|
+
amountDue?: string;
|
|
3350
|
+
payments?: ImportedPaymentDto[];
|
|
3351
|
+
lines: any;
|
|
3352
|
+
}
|
|
3353
|
+
export declare class ImportedPaymentDto {
|
|
3354
|
+
invoiceID: string;
|
|
3355
|
+
type: ImportPaymentTypeEnum;
|
|
3356
|
+
description: string;
|
|
3357
|
+
paid: string;
|
|
3358
|
+
date: string;
|
|
3359
|
+
time: string;
|
|
3360
|
+
}
|
|
3361
|
+
export declare class ProductIdsDto {
|
|
3362
|
+
productIds?: number[];
|
|
3363
|
+
}
|
|
3364
|
+
export declare class ProductImportDto {
|
|
3365
|
+
product: Product;
|
|
3366
|
+
prices: Price[];
|
|
3367
|
+
resourceIds: number[];
|
|
3368
|
+
oldId: number;
|
|
3369
|
+
}
|
|
3370
|
+
export declare class PunchPassDto {
|
|
3371
|
+
CustomerID: string;
|
|
3372
|
+
QuantityLeft: number;
|
|
3373
|
+
BondProgramID: number;
|
|
3374
|
+
BondSessionID: number;
|
|
3375
|
+
ProductID: number;
|
|
3376
|
+
}
|
|
3377
|
+
export declare class ImportedSlotProductDto {
|
|
3378
|
+
slotID?: string;
|
|
3379
|
+
name?: string;
|
|
3380
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3381
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3382
|
+
price?: string;
|
|
3383
|
+
minutes?: string;
|
|
3384
|
+
quantity: string;
|
|
3385
|
+
startDate?: string;
|
|
3386
|
+
startTime?: string;
|
|
3387
|
+
endDate?: string;
|
|
3388
|
+
endTime?: string;
|
|
3389
|
+
bondProductId?: number;
|
|
3390
|
+
}
|
|
3391
|
+
export declare class ImportResourceMappingDto {
|
|
3392
|
+
bondResourceID?: string;
|
|
3393
|
+
resourceName?: string;
|
|
3291
3394
|
}
|
|
3292
|
-
export
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
fee?: number;
|
|
3395
|
+
export declare class ImportProductMappingDto {
|
|
3396
|
+
productID?: string;
|
|
3397
|
+
productName?: string;
|
|
3296
3398
|
}
|
|
3297
|
-
export
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3399
|
+
export declare class ImportedSlotDto {
|
|
3400
|
+
reservationID: string;
|
|
3401
|
+
bondResourceID: string;
|
|
3402
|
+
resourceName: string;
|
|
3403
|
+
subResourceName: string;
|
|
3301
3404
|
startDate: string;
|
|
3405
|
+
startTime: string;
|
|
3302
3406
|
endDate: string;
|
|
3303
|
-
|
|
3407
|
+
endTime: string;
|
|
3408
|
+
sportId?: string;
|
|
3409
|
+
setupDuration: string;
|
|
3410
|
+
setupIncludeInCosts: string;
|
|
3411
|
+
takedownDuration: string;
|
|
3412
|
+
takedownIncludeInCosts: string;
|
|
3413
|
+
slotProduct: ImportedSlotProductDto;
|
|
3414
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3415
|
+
totalPrice: string;
|
|
3304
3416
|
}
|
|
3305
|
-
export declare class
|
|
3306
|
-
|
|
3307
|
-
|
|
3417
|
+
export declare class ImportedReservationDto {
|
|
3418
|
+
name: string;
|
|
3419
|
+
customerId: string;
|
|
3420
|
+
description: string;
|
|
3421
|
+
totalPrice: string;
|
|
3422
|
+
downPayment: string;
|
|
3423
|
+
paid: string;
|
|
3424
|
+
invoiceId: string;
|
|
3425
|
+
slots?: ImportedSlotDto[];
|
|
3426
|
+
addons?: ImportedSlotProductDto[];
|
|
3308
3427
|
}
|
|
3309
|
-
export declare function convertToNumber(data: string): number;
|
|
3310
3428
|
export declare class GameSlots extends BondBaseEntity {
|
|
3311
3429
|
entityType: string;
|
|
3312
3430
|
entityId: number;
|
|
@@ -3320,11 +3438,10 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3320
3438
|
score: number | null;
|
|
3321
3439
|
gameSlotId: number | null;
|
|
3322
3440
|
}
|
|
3323
|
-
export declare class
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
name: string;
|
|
3441
|
+
export declare class Matches extends BondBaseEntity {
|
|
3442
|
+
eventId: number | null;
|
|
3443
|
+
status: number | null;
|
|
3444
|
+
excludeStandings: boolean | null;
|
|
3328
3445
|
}
|
|
3329
3446
|
export declare class RoundEvents extends BaseEntity {
|
|
3330
3447
|
roundId: number;
|
|
@@ -3333,10 +3450,11 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3333
3450
|
createdAt: Date;
|
|
3334
3451
|
updatedAt: Date;
|
|
3335
3452
|
}
|
|
3336
|
-
export declare class
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3453
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3454
|
+
seasonId: number;
|
|
3455
|
+
ordinal?: number;
|
|
3456
|
+
divisionId?: number;
|
|
3457
|
+
name: string;
|
|
3340
3458
|
}
|
|
3341
3459
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3342
3460
|
teamId: number | null;
|
|
@@ -3386,30 +3504,6 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3386
3504
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3387
3505
|
destination: string;
|
|
3388
3506
|
}
|
|
3389
|
-
export declare class ByOrganizationIdDto {
|
|
3390
|
-
organizationId: number;
|
|
3391
|
-
}
|
|
3392
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3393
|
-
organizationId?: number;
|
|
3394
|
-
}
|
|
3395
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3396
|
-
programsIds?: string;
|
|
3397
|
-
sessionsIds?: string;
|
|
3398
|
-
segmentsIds?: string;
|
|
3399
|
-
startDate?: string;
|
|
3400
|
-
endDate?: string;
|
|
3401
|
-
months?: string;
|
|
3402
|
-
dow?: string;
|
|
3403
|
-
}
|
|
3404
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3405
|
-
programsIds?: string;
|
|
3406
|
-
sessionsIds?: string;
|
|
3407
|
-
segmentsIds?: string;
|
|
3408
|
-
startDate?: string;
|
|
3409
|
-
endDate?: string;
|
|
3410
|
-
months?: string;
|
|
3411
|
-
dow?: string;
|
|
3412
|
-
}
|
|
3413
3507
|
export declare class Organization extends BondBaseEntity {
|
|
3414
3508
|
name: string | null;
|
|
3415
3509
|
email: string | null;
|
|
@@ -3465,13 +3559,37 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3465
3559
|
version: number;
|
|
3466
3560
|
organization: Organization;
|
|
3467
3561
|
}
|
|
3468
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3469
|
-
mainAdminUserId?: number;
|
|
3470
|
-
}
|
|
3471
3562
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3472
3563
|
organisationId: number | null;
|
|
3473
3564
|
userId: number | null;
|
|
3474
3565
|
}
|
|
3566
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3567
|
+
mainAdminUserId?: number;
|
|
3568
|
+
}
|
|
3569
|
+
export declare class ByOrganizationIdDto {
|
|
3570
|
+
organizationId: number;
|
|
3571
|
+
}
|
|
3572
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3573
|
+
organizationId?: number;
|
|
3574
|
+
}
|
|
3575
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3576
|
+
programsIds?: string;
|
|
3577
|
+
sessionsIds?: string;
|
|
3578
|
+
segmentsIds?: string;
|
|
3579
|
+
startDate?: string;
|
|
3580
|
+
endDate?: string;
|
|
3581
|
+
months?: string;
|
|
3582
|
+
dow?: string;
|
|
3583
|
+
}
|
|
3584
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3585
|
+
programsIds?: string;
|
|
3586
|
+
sessionsIds?: string;
|
|
3587
|
+
segmentsIds?: string;
|
|
3588
|
+
startDate?: string;
|
|
3589
|
+
endDate?: string;
|
|
3590
|
+
months?: string;
|
|
3591
|
+
dow?: string;
|
|
3592
|
+
}
|
|
3475
3593
|
export interface UnallocatedEventsFilters {
|
|
3476
3594
|
programsIds?: number[];
|
|
3477
3595
|
sessionsIds?: number[];
|
|
@@ -3687,33 +3805,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3687
3805
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3688
3806
|
totalAmountProcessed: number;
|
|
3689
3807
|
}
|
|
3690
|
-
export declare class AddonDto {
|
|
3691
|
-
productId: number;
|
|
3692
|
-
id?: number;
|
|
3693
|
-
unitPrice?: number;
|
|
3694
|
-
quantity?: number;
|
|
3695
|
-
totalPrice?: number;
|
|
3696
|
-
product?: Product;
|
|
3697
|
-
parentProduct?: Product;
|
|
3698
|
-
displayTotalWithTax?: number;
|
|
3699
|
-
displayTotalPrice?: number;
|
|
3700
|
-
displayUnitTax?: number;
|
|
3701
|
-
}
|
|
3702
|
-
export declare class AddAddonsDto {
|
|
3703
|
-
addons: AddonDto[];
|
|
3704
|
-
}
|
|
3705
|
-
export declare class EditAddonsDto {
|
|
3706
|
-
addons: EditAddonDto[];
|
|
3707
|
-
}
|
|
3708
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3709
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3710
|
-
}
|
|
3711
|
-
export declare class EditAddonDto {
|
|
3712
|
-
id: number;
|
|
3713
|
-
quantity: number;
|
|
3714
|
-
totalPrice: number;
|
|
3715
|
-
unitPrice?: number;
|
|
3716
|
-
}
|
|
3717
3808
|
export declare class InvoiceDto {
|
|
3718
3809
|
invoiceId?: string | null;
|
|
3719
3810
|
organizationId: number;
|
|
@@ -3755,13 +3846,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3755
3846
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3756
3847
|
segments: SegmentDto[];
|
|
3757
3848
|
}
|
|
3758
|
-
export declare class MaintenanceDto {
|
|
3759
|
-
id?: number;
|
|
3760
|
-
title: string;
|
|
3761
|
-
durationValue: number;
|
|
3762
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3763
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3764
|
-
}
|
|
3765
3849
|
export declare class LineItemDto {
|
|
3766
3850
|
id?: number;
|
|
3767
3851
|
invoiceId?: number;
|
|
@@ -3787,6 +3871,14 @@ export declare class LineItemDto {
|
|
|
3787
3871
|
unitPriceWithTax?: number;
|
|
3788
3872
|
unitTaxPrice?: number;
|
|
3789
3873
|
parentOrdinal?: number;
|
|
3874
|
+
totalPrice?: number;
|
|
3875
|
+
}
|
|
3876
|
+
export declare class MaintenanceDto {
|
|
3877
|
+
id?: number;
|
|
3878
|
+
title: string;
|
|
3879
|
+
durationValue: number;
|
|
3880
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3881
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3790
3882
|
}
|
|
3791
3883
|
export declare class PurchasedResourceDto {
|
|
3792
3884
|
resourceId?: number;
|
|
@@ -3838,6 +3930,7 @@ export declare class CategoryPricesDto {
|
|
|
3838
3930
|
}
|
|
3839
3931
|
export declare class ProductPricesDto {
|
|
3840
3932
|
productId: number;
|
|
3933
|
+
product?: Product;
|
|
3841
3934
|
price?: number;
|
|
3842
3935
|
quantity?: number;
|
|
3843
3936
|
totalPrice?: number;
|
|
@@ -3948,103 +4041,60 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
3948
4041
|
updateAddons?: boolean;
|
|
3949
4042
|
updateMaintenance?: boolean;
|
|
3950
4043
|
}
|
|
3951
|
-
export declare class
|
|
3952
|
-
|
|
3953
|
-
startDate: string;
|
|
3954
|
-
startTime?: string;
|
|
3955
|
-
endDate?: string;
|
|
3956
|
-
endTime?: string;
|
|
3957
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3958
|
-
durationEndsAfter?: number;
|
|
3959
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3960
|
-
frequency: FrequencyEnum;
|
|
3961
|
-
repeatEvery?: number;
|
|
3962
|
-
repeatOn?: number[];
|
|
3963
|
-
repeatEndDate?: string;
|
|
3964
|
-
numberOccurrences?: number;
|
|
3965
|
-
maintenance?: MaintenanceDto[];
|
|
3966
|
-
slots?: SlotDto[];
|
|
3967
|
-
}
|
|
3968
|
-
export declare class SegmentDto {
|
|
3969
|
-
id?: number;
|
|
3970
|
-
title: string;
|
|
3971
|
-
isPrivate: boolean;
|
|
3972
|
-
resourceIds: number[];
|
|
3973
|
-
sportId?: number;
|
|
3974
|
-
series: SeriesDto[];
|
|
3975
|
-
addonIds?: number[];
|
|
3976
|
-
publicNotesForSlots?: string;
|
|
3977
|
-
privateNotesForSlots?: string;
|
|
3978
|
-
}
|
|
3979
|
-
export declare class SlotDateTimeAndSpace {
|
|
3980
|
-
startDate: string;
|
|
3981
|
-
startTime?: string;
|
|
3982
|
-
endDate?: string;
|
|
3983
|
-
endTime?: string;
|
|
3984
|
-
spaceId: number;
|
|
3985
|
-
}
|
|
3986
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4044
|
+
export declare class AddonDto {
|
|
4045
|
+
productId: number;
|
|
3987
4046
|
id?: number;
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
title: string;
|
|
3991
|
-
creatorId?: number;
|
|
3992
|
-
creatorType?: string;
|
|
3993
|
-
userCreatorId?: number;
|
|
3994
|
-
timezone?: string;
|
|
3995
|
-
publicNotes?: string;
|
|
3996
|
-
privateNotes?: string;
|
|
3997
|
-
slotType: SlotTypeEnum;
|
|
3998
|
-
product?: Product;
|
|
3999
|
-
priceOverrideMeta?: {
|
|
4000
|
-
unitPrice: number;
|
|
4001
|
-
quantity: number;
|
|
4002
|
-
totalPrice: number;
|
|
4003
|
-
};
|
|
4004
|
-
addonPriceOverrideMeta?: {
|
|
4005
|
-
[addonProductId: number]: {
|
|
4006
|
-
unitPrice: number;
|
|
4007
|
-
quantity: number;
|
|
4008
|
-
totalPrice: number;
|
|
4009
|
-
};
|
|
4010
|
-
};
|
|
4011
|
-
addonProducts?: Product[];
|
|
4012
|
-
segmentId?: number;
|
|
4013
|
-
seriesId?: number;
|
|
4014
|
-
eventId?: number;
|
|
4015
|
-
sportIds: number[];
|
|
4016
|
-
parentSlotId?: number;
|
|
4017
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4018
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4019
|
-
durationValue?: number;
|
|
4020
|
-
invoicId?: number;
|
|
4021
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4022
|
-
approvalStatus: ReservationStatusEnum;
|
|
4023
|
-
displayName?: string;
|
|
4024
|
-
internalName?: string;
|
|
4047
|
+
unitPrice?: number;
|
|
4048
|
+
quantity?: number;
|
|
4025
4049
|
totalPrice?: number;
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4050
|
+
product?: Product;
|
|
4051
|
+
parentProduct?: Product;
|
|
4052
|
+
displayTotalWithTax?: number;
|
|
4053
|
+
displayTotalPrice?: number;
|
|
4054
|
+
displayUnitTax?: number;
|
|
4055
|
+
}
|
|
4056
|
+
export declare class AddAddonsDto {
|
|
4057
|
+
addons: AddonDto[];
|
|
4058
|
+
}
|
|
4059
|
+
export declare class EditAddonsDto {
|
|
4060
|
+
addons: EditAddonDto[];
|
|
4061
|
+
}
|
|
4062
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4063
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4064
|
+
}
|
|
4065
|
+
export declare class EditAddonDto {
|
|
4066
|
+
id: number;
|
|
4067
|
+
quantity: number;
|
|
4068
|
+
totalPrice: number;
|
|
4069
|
+
unitPrice?: number;
|
|
4070
|
+
}
|
|
4071
|
+
export declare class SegmentDto {
|
|
4072
|
+
id?: number;
|
|
4073
|
+
title: string;
|
|
4029
4074
|
isPrivate: boolean;
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4075
|
+
resourceIds: number[];
|
|
4076
|
+
sportId?: number;
|
|
4077
|
+
series: SeriesDto[];
|
|
4078
|
+
addonIds?: number[];
|
|
4079
|
+
publicNotesForSlots?: string;
|
|
4080
|
+
privateNotesForSlots?: string;
|
|
4033
4081
|
}
|
|
4034
|
-
export declare class
|
|
4082
|
+
export declare class SeriesDto {
|
|
4035
4083
|
id?: number;
|
|
4036
|
-
resourceId: number;
|
|
4037
4084
|
startDate: string;
|
|
4038
|
-
startTime
|
|
4039
|
-
endDate
|
|
4040
|
-
endTime
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4085
|
+
startTime?: string;
|
|
4086
|
+
endDate?: string;
|
|
4087
|
+
endTime?: string;
|
|
4088
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4089
|
+
durationEndsAfter?: number;
|
|
4090
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4091
|
+
frequency: FrequencyEnum;
|
|
4092
|
+
repeatEvery?: number;
|
|
4093
|
+
repeatOn?: number[];
|
|
4094
|
+
repeatEndDate?: string;
|
|
4095
|
+
numberOccurrences?: number;
|
|
4096
|
+
maintenance?: MaintenanceDto[];
|
|
4097
|
+
slots?: SlotDto[];
|
|
4048
4098
|
}
|
|
4049
4099
|
declare class AnswerDto {
|
|
4050
4100
|
questionId: number;
|
|
@@ -4142,6 +4192,68 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4142
4192
|
targetGlobalPrice?: number;
|
|
4143
4193
|
slots: Slot[];
|
|
4144
4194
|
}
|
|
4195
|
+
export declare class SlotDateTimeAndSpace {
|
|
4196
|
+
startDate: string;
|
|
4197
|
+
startTime?: string;
|
|
4198
|
+
endDate?: string;
|
|
4199
|
+
endTime?: string;
|
|
4200
|
+
spaceId: number;
|
|
4201
|
+
}
|
|
4202
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4203
|
+
id?: number;
|
|
4204
|
+
reservationId?: number;
|
|
4205
|
+
occurrence?: number;
|
|
4206
|
+
title: string;
|
|
4207
|
+
creatorId?: number;
|
|
4208
|
+
creatorType?: string;
|
|
4209
|
+
userCreatorId?: number;
|
|
4210
|
+
timezone?: string;
|
|
4211
|
+
publicNotes?: string;
|
|
4212
|
+
privateNotes?: string;
|
|
4213
|
+
slotType: SlotTypeEnum;
|
|
4214
|
+
product?: Product;
|
|
4215
|
+
priceOverrideMeta?: OverridePriceMeta;
|
|
4216
|
+
addonPriceOverrideMeta?: {
|
|
4217
|
+
[addonProductId: number]: OverridePriceMeta;
|
|
4218
|
+
};
|
|
4219
|
+
addonProducts?: Product[];
|
|
4220
|
+
segmentId?: number;
|
|
4221
|
+
seriesId?: number;
|
|
4222
|
+
eventId?: number;
|
|
4223
|
+
sportIds: number[];
|
|
4224
|
+
parentSlotId?: number;
|
|
4225
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4226
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4227
|
+
durationValue?: number;
|
|
4228
|
+
invoicId?: number;
|
|
4229
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4230
|
+
approvalStatus: ReservationStatusEnum;
|
|
4231
|
+
displayName?: string;
|
|
4232
|
+
internalName?: string;
|
|
4233
|
+
totalPrice?: number;
|
|
4234
|
+
relevantProducts?: Product[];
|
|
4235
|
+
maintenance?: MaintenanceDto[];
|
|
4236
|
+
maintenanceSlots?: SlotDto[];
|
|
4237
|
+
isPrivate: boolean;
|
|
4238
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4239
|
+
addons?: AddonDto[];
|
|
4240
|
+
addonsIds?: number[];
|
|
4241
|
+
}
|
|
4242
|
+
export declare class TimeSlotDto {
|
|
4243
|
+
id?: number;
|
|
4244
|
+
resourceId: number;
|
|
4245
|
+
startDate: string;
|
|
4246
|
+
startTime: string;
|
|
4247
|
+
endDate: string;
|
|
4248
|
+
endTime: string;
|
|
4249
|
+
parentSlotId?: number;
|
|
4250
|
+
}
|
|
4251
|
+
export declare class TimeSlotsDto {
|
|
4252
|
+
timeSlots: TimeSlotDto[];
|
|
4253
|
+
}
|
|
4254
|
+
export declare class SlotsIdsDto {
|
|
4255
|
+
slotsIds: number[];
|
|
4256
|
+
}
|
|
4145
4257
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4146
4258
|
deletedAt?: Date;
|
|
4147
4259
|
reservationId: number;
|
|
@@ -4242,6 +4354,13 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4242
4354
|
conflictsCount?: number;
|
|
4243
4355
|
conflicts?: Slot[];
|
|
4244
4356
|
}
|
|
4357
|
+
export declare enum LineItemResourceEnum {
|
|
4358
|
+
SEGMENTS = "segments",
|
|
4359
|
+
SERIES = "series",
|
|
4360
|
+
SLOTS = "slots",
|
|
4361
|
+
RESERVATION_ADDONS = "reservation_addons",
|
|
4362
|
+
SLOT_ADDONS = "slot_addons"
|
|
4363
|
+
}
|
|
4245
4364
|
export declare type TSlotAndType = {
|
|
4246
4365
|
type: 'slots' | 'slot_addons';
|
|
4247
4366
|
slotsForProduct: {
|
|
@@ -4254,6 +4373,32 @@ export declare type TSlotAndType = {
|
|
|
4254
4373
|
export interface ILineItemResource {
|
|
4255
4374
|
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4256
4375
|
values: TResource[];
|
|
4376
|
+
dtoValues: TDtoResource[];
|
|
4377
|
+
}
|
|
4378
|
+
export interface GeneratedLineItems {
|
|
4379
|
+
lineItems: LineItemDto[];
|
|
4380
|
+
childItemToParent: Map<LineItemDto, LineItemDto>;
|
|
4381
|
+
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4382
|
+
}
|
|
4383
|
+
export interface GeneratedInvoice {
|
|
4384
|
+
invoice: InvoiceDto;
|
|
4385
|
+
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4386
|
+
}
|
|
4387
|
+
export interface OverridePricingResult {
|
|
4388
|
+
overrideProductsPricing: OverrideProductsPricing;
|
|
4389
|
+
lineItemDtoToResourceDto?: Map<LineItemDto, ILineItemResource>;
|
|
4390
|
+
totalPrice?: number;
|
|
4391
|
+
}
|
|
4392
|
+
export interface OverrideLineItemPrice {
|
|
4393
|
+
invoice: InvoiceDto;
|
|
4394
|
+
lineItem: LineItemDto;
|
|
4395
|
+
ratio: number;
|
|
4396
|
+
overrideProductsPricing: OverrideProductsPricing;
|
|
4397
|
+
isLastLineItem?: boolean;
|
|
4398
|
+
priceLeft?: number;
|
|
4399
|
+
}
|
|
4400
|
+
export interface OverrideProductsPricing {
|
|
4401
|
+
[productInfo: string]: ProductPricesDto;
|
|
4257
4402
|
}
|
|
4258
4403
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4259
4404
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
@@ -4474,16 +4619,21 @@ export interface AddonMetadata {
|
|
|
4474
4619
|
totalPrice: number;
|
|
4475
4620
|
product?: Product;
|
|
4476
4621
|
}
|
|
4622
|
+
export interface OverridePriceMeta {
|
|
4623
|
+
unitPrice: number;
|
|
4624
|
+
quantity: number;
|
|
4625
|
+
totalPrice: number;
|
|
4626
|
+
}
|
|
4627
|
+
export declare class Permission extends BondBaseEntity {
|
|
4628
|
+
name: string;
|
|
4629
|
+
deletedAt?: Date;
|
|
4630
|
+
}
|
|
4477
4631
|
export declare class ChangeRolePermissionsDto {
|
|
4478
4632
|
permissionIds: number[];
|
|
4479
4633
|
}
|
|
4480
4634
|
export declare class CreateRoleDto {
|
|
4481
4635
|
name: string;
|
|
4482
4636
|
}
|
|
4483
|
-
export declare class Permission extends BondBaseEntity {
|
|
4484
|
-
name: string;
|
|
4485
|
-
deletedAt?: Date;
|
|
4486
|
-
}
|
|
4487
4637
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4488
4638
|
name: string;
|
|
4489
4639
|
deletedAt?: Date;
|
|
@@ -4497,12 +4647,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4497
4647
|
role: Role;
|
|
4498
4648
|
user: User;
|
|
4499
4649
|
}
|
|
4500
|
-
export declare class FindShiftsByIdsDto {
|
|
4501
|
-
shiftIds: number[];
|
|
4502
|
-
}
|
|
4503
4650
|
export declare class CloseShiftDto {
|
|
4504
4651
|
closingCashAmount: number;
|
|
4505
4652
|
}
|
|
4653
|
+
export declare class FindShiftsByIdsDto {
|
|
4654
|
+
shiftIds: number[];
|
|
4655
|
+
}
|
|
4506
4656
|
export declare class FindShiftsFiltersDto {
|
|
4507
4657
|
statuses?: string;
|
|
4508
4658
|
stationIds?: string;
|
|
@@ -4576,120 +4726,3 @@ export default interface IWebflowProgram {
|
|
|
4576
4726
|
level: string[];
|
|
4577
4727
|
gender: string;
|
|
4578
4728
|
}
|
|
4579
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
4580
|
-
name?: string;
|
|
4581
|
-
genderStr?: string;
|
|
4582
|
-
parentID?: string;
|
|
4583
|
-
partnerID?: string;
|
|
4584
|
-
membershipName?: string;
|
|
4585
|
-
membershipExpDate?: string;
|
|
4586
|
-
membershipCreationDate?: string;
|
|
4587
|
-
bondMembershipID?: number;
|
|
4588
|
-
}
|
|
4589
|
-
export declare class AddFamilyDto {
|
|
4590
|
-
parents: AddImportedCustomerDto[];
|
|
4591
|
-
children: AddImportedCustomerDto[];
|
|
4592
|
-
}
|
|
4593
|
-
export declare class ProductIdsDto {
|
|
4594
|
-
productIds?: number[];
|
|
4595
|
-
}
|
|
4596
|
-
export declare class ProductImportDto {
|
|
4597
|
-
product: Product;
|
|
4598
|
-
prices: Price[];
|
|
4599
|
-
resourceIds: number[];
|
|
4600
|
-
oldId: number;
|
|
4601
|
-
}
|
|
4602
|
-
export declare enum ImportPaymentTypeEnum {
|
|
4603
|
-
CREDIT_CARD = "card",
|
|
4604
|
-
ACH = "ach",
|
|
4605
|
-
CASH = "cash",
|
|
4606
|
-
CHECK = "check",
|
|
4607
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
4608
|
-
OTHER = "other",
|
|
4609
|
-
GIFT_CARD = "gift-card"
|
|
4610
|
-
}
|
|
4611
|
-
export declare class ImportedInvoiceLineDto {
|
|
4612
|
-
invoiceID?: string;
|
|
4613
|
-
description: string;
|
|
4614
|
-
createdDate: string;
|
|
4615
|
-
createdTime: string;
|
|
4616
|
-
quantity: string;
|
|
4617
|
-
price: string;
|
|
4618
|
-
total: string;
|
|
4619
|
-
customerID: string;
|
|
4620
|
-
resourceType: string;
|
|
4621
|
-
resourceID: string;
|
|
4622
|
-
}
|
|
4623
|
-
export declare class ImportedInvoiceDto {
|
|
4624
|
-
customerId?: string;
|
|
4625
|
-
total?: string;
|
|
4626
|
-
amountDue?: string;
|
|
4627
|
-
payments?: ImportedPaymentDto[];
|
|
4628
|
-
lines: any;
|
|
4629
|
-
}
|
|
4630
|
-
export declare class ImportedPaymentDto {
|
|
4631
|
-
invoiceID: string;
|
|
4632
|
-
type: ImportPaymentTypeEnum;
|
|
4633
|
-
description: string;
|
|
4634
|
-
paid: string;
|
|
4635
|
-
date: string;
|
|
4636
|
-
time: string;
|
|
4637
|
-
}
|
|
4638
|
-
export declare class PunchPassDto {
|
|
4639
|
-
CustomerID: string;
|
|
4640
|
-
QuantityLeft: number;
|
|
4641
|
-
BondProgramID: number;
|
|
4642
|
-
BondSessionID: number;
|
|
4643
|
-
ProductID: number;
|
|
4644
|
-
}
|
|
4645
|
-
export declare class ImportedSlotProductDto {
|
|
4646
|
-
slotID?: string;
|
|
4647
|
-
name?: string;
|
|
4648
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4649
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4650
|
-
price?: string;
|
|
4651
|
-
minutes?: string;
|
|
4652
|
-
quantity: string;
|
|
4653
|
-
startDate?: string;
|
|
4654
|
-
startTime?: string;
|
|
4655
|
-
endDate?: string;
|
|
4656
|
-
endTime?: string;
|
|
4657
|
-
bondProductId?: number;
|
|
4658
|
-
}
|
|
4659
|
-
export declare class ImportResourceMappingDto {
|
|
4660
|
-
bondResourceID?: string;
|
|
4661
|
-
resourceName?: string;
|
|
4662
|
-
}
|
|
4663
|
-
export declare class ImportProductMappingDto {
|
|
4664
|
-
productID?: string;
|
|
4665
|
-
productName?: string;
|
|
4666
|
-
}
|
|
4667
|
-
export declare class ImportedSlotDto {
|
|
4668
|
-
reservationID: string;
|
|
4669
|
-
bondResourceID: string;
|
|
4670
|
-
resourceName: string;
|
|
4671
|
-
subResourceName: string;
|
|
4672
|
-
startDate: string;
|
|
4673
|
-
startTime: string;
|
|
4674
|
-
endDate: string;
|
|
4675
|
-
endTime: string;
|
|
4676
|
-
sportId?: string;
|
|
4677
|
-
setupDuration: string;
|
|
4678
|
-
setupIncludeInCosts: string;
|
|
4679
|
-
takedownDuration: string;
|
|
4680
|
-
takedownIncludeInCosts: string;
|
|
4681
|
-
slotProduct: ImportedSlotProductDto;
|
|
4682
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4683
|
-
totalPrice: string;
|
|
4684
|
-
}
|
|
4685
|
-
export declare class ImportedReservationDto {
|
|
4686
|
-
name: string;
|
|
4687
|
-
customerId: string;
|
|
4688
|
-
description: string;
|
|
4689
|
-
totalPrice: string;
|
|
4690
|
-
downPayment: string;
|
|
4691
|
-
paid: string;
|
|
4692
|
-
invoiceId: string;
|
|
4693
|
-
slots?: ImportedSlotDto[];
|
|
4694
|
-
addons?: ImportedSlotProductDto[];
|
|
4695
|
-
}
|