@bondsports/types 0.0.188 → 0.0.189
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 +664 -664
- 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
|
@@ -2,6 +2,13 @@ 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
|
+
}
|
|
5
12
|
export declare class QuestionAnswersDto {
|
|
6
13
|
questionId: number;
|
|
7
14
|
value: any;
|
|
@@ -20,12 +27,12 @@ export declare class FindBookingTypeSettingDto {
|
|
|
20
27
|
bookingDate: string;
|
|
21
28
|
bookingTime: string;
|
|
22
29
|
}
|
|
23
|
-
export declare
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
+
UNKNOWN = "unknown"
|
|
29
36
|
}
|
|
30
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
38
|
membershipId: number;
|
|
@@ -188,13 +195,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
188
195
|
isWaiverSigned?: string;
|
|
189
196
|
statuses?: string;
|
|
190
197
|
}
|
|
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,6 +292,79 @@ 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
|
+
}
|
|
295
368
|
export declare class CreateMembershipDto {
|
|
296
369
|
organizationId: number;
|
|
297
370
|
name: string;
|
|
@@ -390,78 +463,226 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
390
463
|
discountValue?: number;
|
|
391
464
|
discountMethod?: DiscountMethodsEnum;
|
|
392
465
|
}
|
|
393
|
-
export declare class
|
|
394
|
-
|
|
466
|
+
export declare class FindByProductIdDto {
|
|
467
|
+
productId: number;
|
|
395
468
|
}
|
|
396
|
-
export declare class
|
|
397
|
-
|
|
469
|
+
export declare class FindPriceOfProductDto {
|
|
470
|
+
id: number;
|
|
471
|
+
userId: number;
|
|
472
|
+
resources: ResourceDto[];
|
|
398
473
|
}
|
|
399
|
-
export declare class
|
|
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;
|
|
484
|
+
}
|
|
485
|
+
export declare class CreateProductsDto {
|
|
486
|
+
products: CreateProductDto[];
|
|
487
|
+
addOnsData?: ProductInPackage[];
|
|
488
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
489
|
+
}
|
|
490
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
400
491
|
name: string;
|
|
401
|
-
ordinal?: number;
|
|
402
|
-
programSeasonId: number;
|
|
403
|
-
color: string;
|
|
404
|
-
isDefault: boolean;
|
|
405
492
|
}
|
|
406
|
-
export declare class
|
|
493
|
+
export declare class CreateProductDto {
|
|
494
|
+
id?: number;
|
|
495
|
+
organizationId: number;
|
|
407
496
|
name: string;
|
|
497
|
+
quantity?: number;
|
|
498
|
+
isPublic: boolean;
|
|
499
|
+
startDate?: Date;
|
|
500
|
+
endDate?: Date;
|
|
408
501
|
description?: string;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
502
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
503
|
+
resourcesIdsToApplyOn?: number[];
|
|
504
|
+
GL?: string;
|
|
505
|
+
prices: CreatePriceDto[];
|
|
506
|
+
downpayment?: number;
|
|
507
|
+
productType: ProductTypesEnum;
|
|
508
|
+
subProductType?: string;
|
|
509
|
+
defaultForResourceId?: number;
|
|
510
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
511
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
512
|
+
variantTitleIds?: number[];
|
|
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[];
|
|
420
531
|
}
|
|
421
|
-
export declare class
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
prevDivisionId: number;
|
|
532
|
+
export declare class VariantWithPrice {
|
|
533
|
+
variantIds: number[];
|
|
534
|
+
price: CreatePriceDto[];
|
|
425
535
|
}
|
|
426
|
-
export declare class
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
536
|
+
export declare class CreatePriceDto {
|
|
537
|
+
id?: number;
|
|
538
|
+
price: number;
|
|
539
|
+
currency: CurrencyEnum;
|
|
540
|
+
name: string;
|
|
541
|
+
startDate?: Date;
|
|
542
|
+
endDate?: Date;
|
|
543
|
+
discountValue?: number;
|
|
544
|
+
discountMethod?: DiscountMethodsEnum;
|
|
545
|
+
isDefaultPriceForProduct?: boolean;
|
|
430
546
|
}
|
|
431
|
-
export declare class
|
|
432
|
-
|
|
433
|
-
|
|
547
|
+
export declare class CreatePackageDto {
|
|
548
|
+
parentProductId: number;
|
|
549
|
+
productsData?: ProductInPackage[];
|
|
550
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
434
551
|
}
|
|
435
|
-
export declare class
|
|
436
|
-
|
|
437
|
-
|
|
552
|
+
export declare class CreatePackageToResourceDto {
|
|
553
|
+
resourceId: number;
|
|
554
|
+
resourceType: ResourceNameTypeEnum;
|
|
555
|
+
isCreateToChildProducts: boolean;
|
|
556
|
+
productsData: ProductInPackage[];
|
|
438
557
|
}
|
|
439
|
-
export declare class
|
|
440
|
-
|
|
558
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
559
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
560
|
+
amountInPackage?: number;
|
|
561
|
+
level?: ProductPackageLevelEnum;
|
|
441
562
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
|
|
563
|
+
export declare class ExistingProductToPackageDto {
|
|
564
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
565
|
+
id: number;
|
|
566
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
567
|
+
level?: ProductPackageLevelEnum;
|
|
444
568
|
}
|
|
445
|
-
export declare class
|
|
446
|
-
|
|
447
|
-
|
|
569
|
+
export declare class ConnectProductResourceDto {
|
|
570
|
+
productId: number;
|
|
571
|
+
resourceType: ResourceNameTypeEnum;
|
|
572
|
+
resourceIds: number[];
|
|
448
573
|
}
|
|
449
|
-
export declare class
|
|
574
|
+
export declare class ReturnRequiredProductsDto {
|
|
450
575
|
userId: number;
|
|
576
|
+
productId: number;
|
|
577
|
+
redeemRelevantDate?: string;
|
|
451
578
|
}
|
|
452
|
-
export
|
|
453
|
-
|
|
454
|
-
|
|
579
|
+
export declare class FindByProductUserIdsDto {
|
|
580
|
+
userId: number;
|
|
581
|
+
organizationId: number;
|
|
455
582
|
}
|
|
456
|
-
export declare class
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
fromSeasonId: number;
|
|
460
|
-
toSeasonId: number;
|
|
461
|
-
toDivisionId?: number;
|
|
583
|
+
export declare class AddRequiredProductsDto {
|
|
584
|
+
productId: number;
|
|
585
|
+
requiredProductIds: number[];
|
|
462
586
|
}
|
|
463
|
-
export declare class
|
|
464
|
-
|
|
587
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
588
|
+
productIds?: number[];
|
|
589
|
+
includePrices?: boolean;
|
|
590
|
+
productType?: ProductTypesEnum;
|
|
591
|
+
includeAddons?: string;
|
|
592
|
+
}
|
|
593
|
+
export declare class GetByOrganizationIdDto {
|
|
594
|
+
organizationId?: number;
|
|
595
|
+
}
|
|
596
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
597
|
+
invoiceId?: number;
|
|
598
|
+
}
|
|
599
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
600
|
+
productIds?: string;
|
|
601
|
+
includePrices?: boolean;
|
|
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;
|
|
683
|
+
}
|
|
684
|
+
export declare class archiveDto {
|
|
685
|
+
isArchive: boolean;
|
|
465
686
|
}
|
|
466
687
|
export declare class CreateUpdateVariantsDto {
|
|
467
688
|
organizationId: number;
|
|
@@ -798,298 +1019,86 @@ export declare class CreateResourceGroupDto {
|
|
|
798
1019
|
facilityId: number;
|
|
799
1020
|
childrenSlotIds: number[];
|
|
800
1021
|
}
|
|
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;
|
|
1022
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1017
1023
|
}
|
|
1018
|
-
export declare class
|
|
1019
|
-
|
|
1024
|
+
export declare class ResourceDto {
|
|
1025
|
+
type: ResourceNameTypeEnum;
|
|
1026
|
+
id: number;
|
|
1020
1027
|
}
|
|
1021
|
-
export declare class
|
|
1022
|
-
|
|
1028
|
+
export declare class SpaceByIdDto {
|
|
1029
|
+
spaceId: number;
|
|
1023
1030
|
}
|
|
1024
|
-
export declare class
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1031
|
+
export declare class CreateSpaceDto {
|
|
1032
|
+
name: string;
|
|
1033
|
+
sports: number[];
|
|
1034
|
+
description?: string;
|
|
1035
|
+
longDescription?: string;
|
|
1036
|
+
spaceType: ResourceSubTypeEnum;
|
|
1037
|
+
isAddon?: boolean;
|
|
1038
|
+
properties: SpacePropertiesEnum;
|
|
1039
|
+
width?: number;
|
|
1040
|
+
length?: number;
|
|
1041
|
+
surface?: SurfacesEnum;
|
|
1042
|
+
ages?: ResourceAgesEnum;
|
|
1043
|
+
amenities: number[];
|
|
1044
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1045
|
+
facilitiesIds: number[];
|
|
1046
|
+
resourceGroupId?: number;
|
|
1047
|
+
blockedResourcesIds?: number[];
|
|
1028
1048
|
}
|
|
1029
|
-
export declare class
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1049
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1050
|
+
name: string;
|
|
1051
|
+
description?: string;
|
|
1052
|
+
longDescription?: string;
|
|
1053
|
+
isAddon?: boolean;
|
|
1054
|
+
facilitiesIds: number[];
|
|
1034
1055
|
}
|
|
1035
|
-
export declare class
|
|
1036
|
-
|
|
1056
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1057
|
+
properties: SpacePropertiesEnum;
|
|
1058
|
+
width?: number;
|
|
1059
|
+
length?: number;
|
|
1060
|
+
surface?: SurfacesEnum;
|
|
1061
|
+
ages?: ResourceAgesEnum;
|
|
1037
1062
|
}
|
|
1038
|
-
export declare class
|
|
1039
|
-
|
|
1040
|
-
isGetByChildResources?: boolean;
|
|
1041
|
-
isGetEntitlePricing?: boolean;
|
|
1042
|
-
isGetAddOns?: boolean;
|
|
1043
|
-
includeResources?: boolean;
|
|
1044
|
-
includeArchived?: boolean;
|
|
1063
|
+
export declare class UpdateSpaceTimesDto {
|
|
1064
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1045
1065
|
}
|
|
1046
|
-
export declare class
|
|
1047
|
-
|
|
1066
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1067
|
+
resourceGroupId?: number;
|
|
1068
|
+
blockedResourcesIds?: number[];
|
|
1048
1069
|
}
|
|
1049
|
-
export declare class
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
stationId?: number;
|
|
1053
|
-
ordinal?: number;
|
|
1070
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1071
|
+
blockedSpacesIds: number[];
|
|
1072
|
+
parentSpaceId?: number;
|
|
1054
1073
|
}
|
|
1055
|
-
export declare class
|
|
1056
|
-
|
|
1074
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1075
|
+
spacesIds?: string;
|
|
1076
|
+
futureHoursLimit?: number;
|
|
1057
1077
|
}
|
|
1058
|
-
export declare class
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
ordinal?: number;
|
|
1078
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1079
|
+
nameSearch?: string;
|
|
1080
|
+
facilitiesIds?: string;
|
|
1081
|
+
types?: string;
|
|
1082
|
+
resourcesIds?: string;
|
|
1064
1083
|
}
|
|
1065
|
-
export declare class
|
|
1066
|
-
|
|
1084
|
+
export declare class StripeCustomerIdDto {
|
|
1085
|
+
userId: number;
|
|
1067
1086
|
}
|
|
1068
|
-
export declare class
|
|
1069
|
-
|
|
1070
|
-
subcategoryIds?: number[];
|
|
1071
|
-
categories?: string[];
|
|
1087
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1088
|
+
paymentMethodId: string;
|
|
1072
1089
|
}
|
|
1073
|
-
export declare class
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
isFlatPrice: boolean;
|
|
1077
|
-
isMandatory: boolean;
|
|
1078
|
-
level: ProductPackageLevelEnum;
|
|
1090
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1091
|
+
publicToken: string;
|
|
1092
|
+
accountId: string;
|
|
1079
1093
|
}
|
|
1080
|
-
export declare class
|
|
1081
|
-
|
|
1082
|
-
availabilityEndDate?: string;
|
|
1083
|
-
daysOfWeek: number[];
|
|
1084
|
-
startTime: string;
|
|
1085
|
-
endTime: string;
|
|
1094
|
+
export declare class FindByUserIdDto {
|
|
1095
|
+
userId: number;
|
|
1086
1096
|
}
|
|
1087
|
-
export declare class
|
|
1088
|
-
|
|
1089
|
-
resourceType: ResourceNameTypeEnum;
|
|
1097
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1098
|
+
familyAccountId?: number;
|
|
1090
1099
|
}
|
|
1091
|
-
export declare class
|
|
1092
|
-
|
|
1100
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1101
|
+
organizationId: number;
|
|
1093
1102
|
}
|
|
1094
1103
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1095
1104
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1141,12 +1150,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1141
1150
|
metaData: any | null;
|
|
1142
1151
|
questionText: string | null;
|
|
1143
1152
|
}
|
|
1144
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1145
|
-
questionnaireId: number;
|
|
1146
|
-
userId?: number;
|
|
1147
|
-
answers: Answer[];
|
|
1148
|
-
questionnaire: Questionnaires;
|
|
1149
|
-
}
|
|
1150
1153
|
export declare class Athlete extends BondBaseEntity {
|
|
1151
1154
|
userId: number | null;
|
|
1152
1155
|
metadata: object | null;
|
|
@@ -1157,6 +1160,12 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1157
1160
|
sports: number | null;
|
|
1158
1161
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1159
1162
|
}
|
|
1163
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1164
|
+
questionnaireId: number;
|
|
1165
|
+
userId?: number;
|
|
1166
|
+
answers: Answer[];
|
|
1167
|
+
questionnaire: Questionnaires;
|
|
1168
|
+
}
|
|
1160
1169
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1161
1170
|
entityType: ResourceNameTypeEnum;
|
|
1162
1171
|
entityId: number;
|
|
@@ -1203,6 +1212,14 @@ export declare class Configuration extends BondBaseEntity {
|
|
|
1203
1212
|
key: string;
|
|
1204
1213
|
value: string;
|
|
1205
1214
|
}
|
|
1215
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1216
|
+
creditAmount: number;
|
|
1217
|
+
paymentProcessorId: string;
|
|
1218
|
+
userId: number;
|
|
1219
|
+
paymentId: number;
|
|
1220
|
+
invoiceId: number;
|
|
1221
|
+
creditPaymentId: number;
|
|
1222
|
+
}
|
|
1206
1223
|
export declare class Connection extends BondBaseEntity {
|
|
1207
1224
|
connType: number | null;
|
|
1208
1225
|
from: number | null;
|
|
@@ -1215,23 +1232,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1215
1232
|
userCreatorId: number | null;
|
|
1216
1233
|
ownerId: number | null;
|
|
1217
1234
|
}
|
|
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
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1228
|
-
creditAmount: number;
|
|
1229
|
-
paymentProcessorId: string;
|
|
1230
|
-
userId: number;
|
|
1231
|
-
paymentId: number;
|
|
1232
|
-
invoiceId: number;
|
|
1233
|
-
creditPaymentId: number;
|
|
1234
|
-
}
|
|
1235
1235
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1236
1236
|
name: string | null;
|
|
1237
1237
|
entityId: number | null;
|
|
@@ -1272,12 +1272,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1272
1272
|
invoice: Invoice;
|
|
1273
1273
|
payment: Payment;
|
|
1274
1274
|
}
|
|
1275
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1276
|
-
customerId?: number;
|
|
1277
|
-
description: string;
|
|
1278
|
-
pinToTop?: boolean;
|
|
1279
|
-
customer: Customer;
|
|
1280
|
-
}
|
|
1281
1275
|
export declare class Division extends BondBaseEntity {
|
|
1282
1276
|
name: string;
|
|
1283
1277
|
ordinal?: number;
|
|
@@ -1286,6 +1280,12 @@ export declare class Division extends BondBaseEntity {
|
|
|
1286
1280
|
isDefault: boolean;
|
|
1287
1281
|
groups: Group[];
|
|
1288
1282
|
}
|
|
1283
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1284
|
+
customerId?: number;
|
|
1285
|
+
description: string;
|
|
1286
|
+
pinToTop?: boolean;
|
|
1287
|
+
customer: Customer;
|
|
1288
|
+
}
|
|
1289
1289
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1290
1290
|
customerId: number;
|
|
1291
1291
|
name: string | null;
|
|
@@ -1396,14 +1396,14 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1396
1396
|
programSeasons: ProgramSeason[];
|
|
1397
1397
|
linkSEO: string;
|
|
1398
1398
|
}
|
|
1399
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1400
|
-
facilityId: number;
|
|
1401
|
-
resourceId: number;
|
|
1402
|
-
}
|
|
1403
1399
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1404
1400
|
name: string | null;
|
|
1405
1401
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1406
1402
|
}
|
|
1403
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1404
|
+
facilityId: number;
|
|
1405
|
+
resourceId: number;
|
|
1406
|
+
}
|
|
1407
1407
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1408
1408
|
userId: number;
|
|
1409
1409
|
invoiceId: number;
|
|
@@ -1418,6 +1418,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1418
1418
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1419
1419
|
code: string;
|
|
1420
1420
|
}
|
|
1421
|
+
export declare class Group extends BondBaseEntity {
|
|
1422
|
+
name: string;
|
|
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[];
|
|
1436
|
+
}
|
|
1421
1437
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1422
1438
|
groupId: number;
|
|
1423
1439
|
itemId: number;
|
|
@@ -1431,11 +1447,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1431
1447
|
discountMethod?: DiscountMethodsEnum;
|
|
1432
1448
|
discountValue?: number;
|
|
1433
1449
|
}
|
|
1434
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1435
|
-
groupId: number;
|
|
1436
|
-
divisionId: number;
|
|
1437
|
-
deletedAt?: Date;
|
|
1438
|
-
}
|
|
1439
1450
|
export declare class Invoice extends BondBaseEntity {
|
|
1440
1451
|
invoiceId: string | null;
|
|
1441
1452
|
price: number | null;
|
|
@@ -1460,6 +1471,11 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1460
1471
|
invoiceNotes: InvoiceNote[];
|
|
1461
1472
|
slots: Slot[];
|
|
1462
1473
|
}
|
|
1474
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1475
|
+
groupId: number;
|
|
1476
|
+
divisionId: number;
|
|
1477
|
+
deletedAt?: Date;
|
|
1478
|
+
}
|
|
1463
1479
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1464
1480
|
email: string;
|
|
1465
1481
|
status: EEmailStatus;
|
|
@@ -1471,6 +1487,14 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1471
1487
|
mailParams?: any;
|
|
1472
1488
|
memo?: string;
|
|
1473
1489
|
}
|
|
1490
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1491
|
+
invoiceId: number;
|
|
1492
|
+
paymentId: number;
|
|
1493
|
+
invoice: Invoice;
|
|
1494
|
+
payment: Payment;
|
|
1495
|
+
paidAmount?: number;
|
|
1496
|
+
currency: CurrencyEnum;
|
|
1497
|
+
}
|
|
1474
1498
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1475
1499
|
content: string;
|
|
1476
1500
|
creatingUserId: number;
|
|
@@ -1480,14 +1504,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1480
1504
|
invoiceId: number;
|
|
1481
1505
|
invoice: Invoice;
|
|
1482
1506
|
}
|
|
1483
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1484
|
-
invoiceId: number;
|
|
1485
|
-
paymentId: number;
|
|
1486
|
-
invoice: Invoice;
|
|
1487
|
-
payment: Payment;
|
|
1488
|
-
paidAmount?: number;
|
|
1489
|
-
currency: CurrencyEnum;
|
|
1490
|
-
}
|
|
1491
1507
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1492
1508
|
name: string | null;
|
|
1493
1509
|
description: string | null;
|
|
@@ -1558,21 +1574,15 @@ export declare class LeagueSeasonRelations {
|
|
|
1558
1574
|
league?: boolean;
|
|
1559
1575
|
facilities?: boolean;
|
|
1560
1576
|
}
|
|
1561
|
-
export declare class
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1571
|
-
sports: SportsEnum[];
|
|
1572
|
-
questionnaires?: number[];
|
|
1573
|
-
captainUserId?: number;
|
|
1574
|
-
members: ISeasonAttendeeInfo[];
|
|
1575
|
-
users: User[];
|
|
1577
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1578
|
+
invoiceId: number;
|
|
1579
|
+
paymentId: number;
|
|
1580
|
+
lineItemId: number;
|
|
1581
|
+
paidAmount: number;
|
|
1582
|
+
unitPaidAmount: number;
|
|
1583
|
+
currency: CurrencyEnum;
|
|
1584
|
+
payment: Payment;
|
|
1585
|
+
lineItem: LineItems;
|
|
1576
1586
|
}
|
|
1577
1587
|
export declare class LineItems extends BondBaseEntity {
|
|
1578
1588
|
constructor();
|
|
@@ -1692,16 +1702,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1692
1702
|
isAutoRenew?: boolean;
|
|
1693
1703
|
purchasedResources: PurchasedResource[];
|
|
1694
1704
|
}
|
|
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;
|
|
@@ -1722,12 +1722,6 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1722
1722
|
cancellationStatus?: CancellationStatusEnum;
|
|
1723
1723
|
isImported?: boolean;
|
|
1724
1724
|
}
|
|
1725
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1726
|
-
email: string | null;
|
|
1727
|
-
notificationType: NotificationTypeEnum | null;
|
|
1728
|
-
resourceId: number | null;
|
|
1729
|
-
resourceType: string | null;
|
|
1730
|
-
}
|
|
1731
1725
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1732
1726
|
id: number;
|
|
1733
1727
|
dayOfWeek: number;
|
|
@@ -1742,6 +1736,29 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1742
1736
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1743
1737
|
organizationId: number;
|
|
1744
1738
|
}
|
|
1739
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1740
|
+
email: string | null;
|
|
1741
|
+
notificationType: NotificationTypeEnum | null;
|
|
1742
|
+
resourceId: number | null;
|
|
1743
|
+
resourceType: string | null;
|
|
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
|
+
}
|
|
1745
1762
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1746
1763
|
token: string | null;
|
|
1747
1764
|
userId: number | null;
|
|
@@ -1785,23 +1802,6 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1785
1802
|
reason: EFailedPaymentReasons;
|
|
1786
1803
|
errorMessage: string;
|
|
1787
1804
|
}
|
|
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;
|
|
1804
|
-
}
|
|
1805
1805
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1806
1806
|
content: string;
|
|
1807
1807
|
creatingUserId: number;
|
|
@@ -1817,23 +1817,6 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1817
1817
|
deletedAt?: Date;
|
|
1818
1818
|
paymentPlan: ProductPaymentPlan;
|
|
1819
1819
|
}
|
|
1820
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1821
|
-
productId: number;
|
|
1822
|
-
product: Product;
|
|
1823
|
-
name: string | null;
|
|
1824
|
-
price: number;
|
|
1825
|
-
currency: CurrencyEnum;
|
|
1826
|
-
paymentProcessorId: number | null;
|
|
1827
|
-
startDate: Date;
|
|
1828
|
-
endDate: Date;
|
|
1829
|
-
groupId?: number;
|
|
1830
|
-
groupName?: string;
|
|
1831
|
-
originalPrice?: number;
|
|
1832
|
-
deletedAt?: Date;
|
|
1833
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1834
|
-
discountValue?: number;
|
|
1835
|
-
taxIncludedPrice?: number;
|
|
1836
|
-
}
|
|
1837
1820
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1838
1821
|
userId: number | null;
|
|
1839
1822
|
ownerId: number | null;
|
|
@@ -1852,6 +1835,23 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1852
1835
|
installmentId: number | null;
|
|
1853
1836
|
invoiceId: string | null;
|
|
1854
1837
|
}
|
|
1838
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1839
|
+
productId: number;
|
|
1840
|
+
product: Product;
|
|
1841
|
+
name: string | null;
|
|
1842
|
+
price: number;
|
|
1843
|
+
currency: CurrencyEnum;
|
|
1844
|
+
paymentProcessorId: number | null;
|
|
1845
|
+
startDate: Date;
|
|
1846
|
+
endDate: Date;
|
|
1847
|
+
groupId?: number;
|
|
1848
|
+
groupName?: string;
|
|
1849
|
+
originalPrice?: number;
|
|
1850
|
+
deletedAt?: Date;
|
|
1851
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1852
|
+
discountValue?: number;
|
|
1853
|
+
taxIncludedPrice?: number;
|
|
1854
|
+
}
|
|
1855
1855
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1856
1856
|
name: string;
|
|
1857
1857
|
quantity: number;
|
|
@@ -1911,17 +1911,6 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
|
|
|
1911
1911
|
schedule: PaymentPlanSchedule[];
|
|
1912
1912
|
product?: Product;
|
|
1913
1913
|
}
|
|
1914
|
-
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1915
|
-
productId: number;
|
|
1916
|
-
resourceId: number;
|
|
1917
|
-
resourceType: ResourceNameTypeEnum;
|
|
1918
|
-
deletedAt?: Date;
|
|
1919
|
-
programSeason: ProgramSeason;
|
|
1920
|
-
event: Event;
|
|
1921
|
-
product: Product;
|
|
1922
|
-
productPackages: ProductPackage[];
|
|
1923
|
-
resourceName?: string;
|
|
1924
|
-
}
|
|
1925
1914
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1926
1915
|
parentProductId: number;
|
|
1927
1916
|
childProductId: number;
|
|
@@ -1937,6 +1926,17 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1937
1926
|
durationDays?: number;
|
|
1938
1927
|
level?: ProductPackageLevelEnum;
|
|
1939
1928
|
}
|
|
1929
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1930
|
+
productId: number;
|
|
1931
|
+
resourceId: number;
|
|
1932
|
+
resourceType: ResourceNameTypeEnum;
|
|
1933
|
+
deletedAt?: Date;
|
|
1934
|
+
programSeason: ProgramSeason;
|
|
1935
|
+
event: Event;
|
|
1936
|
+
product: Product;
|
|
1937
|
+
productPackages: ProductPackage[];
|
|
1938
|
+
resourceName?: string;
|
|
1939
|
+
}
|
|
1940
1940
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1941
1941
|
productId: number;
|
|
1942
1942
|
variantTitleId: number;
|
|
@@ -1945,6 +1945,13 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1945
1945
|
productId: number;
|
|
1946
1946
|
variantId: number;
|
|
1947
1947
|
}
|
|
1948
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1949
|
+
productId: number;
|
|
1950
|
+
customerId: number;
|
|
1951
|
+
customer: Customer;
|
|
1952
|
+
deletedAt?: Date;
|
|
1953
|
+
product: Product;
|
|
1954
|
+
}
|
|
1948
1955
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1949
1956
|
productId: number;
|
|
1950
1957
|
userId: number;
|
|
@@ -1984,14 +1991,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1984
1991
|
programSeason: ProgramSeason[];
|
|
1985
1992
|
purchasedResources: PurchasedResource[];
|
|
1986
1993
|
}
|
|
1987
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1988
|
-
type: ProgramHighlightTypeEnum;
|
|
1989
|
-
ordinal: number | null;
|
|
1990
|
-
title: string | null;
|
|
1991
|
-
data: any | null;
|
|
1992
|
-
program: Program;
|
|
1993
|
-
deletedAt?: Date;
|
|
1994
|
-
}
|
|
1995
1994
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1996
1995
|
programId: number;
|
|
1997
1996
|
name: string;
|
|
@@ -2047,12 +2046,13 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2047
2046
|
facility: Facility;
|
|
2048
2047
|
purchasedResources: PurchasedResource[];
|
|
2049
2048
|
}
|
|
2050
|
-
export declare class
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2049
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2050
|
+
type: ProgramHighlightTypeEnum;
|
|
2051
|
+
ordinal: number | null;
|
|
2052
|
+
title: string | null;
|
|
2053
|
+
data: any | null;
|
|
2054
|
+
program: Program;
|
|
2054
2055
|
deletedAt?: Date;
|
|
2055
|
-
product: Product;
|
|
2056
2056
|
}
|
|
2057
2057
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2058
2058
|
productUserId: number;
|
|
@@ -2080,6 +2080,11 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2080
2080
|
title: string | null;
|
|
2081
2081
|
answerTitle: AnswerTitle;
|
|
2082
2082
|
}
|
|
2083
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2084
|
+
reason: string;
|
|
2085
|
+
ordinal: number;
|
|
2086
|
+
deletedAt: Date;
|
|
2087
|
+
}
|
|
2083
2088
|
export declare class Questions extends BondBaseEntity {
|
|
2084
2089
|
questionType: string | null;
|
|
2085
2090
|
ordinal: number | null;
|
|
@@ -2094,11 +2099,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2094
2099
|
ownerId: number | null;
|
|
2095
2100
|
questionnaireId: number | null;
|
|
2096
2101
|
}
|
|
2097
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2098
|
-
reason: string;
|
|
2099
|
-
ordinal: number;
|
|
2100
|
-
deletedAt: Date;
|
|
2101
|
-
}
|
|
2102
2102
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2103
2103
|
resourceType: ResourceNameTypeEnum;
|
|
2104
2104
|
resourceId: number;
|
|
@@ -2142,6 +2142,13 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2142
2142
|
publicNotes?: string;
|
|
2143
2143
|
slots?: Slot[];
|
|
2144
2144
|
}
|
|
2145
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2146
|
+
name: string;
|
|
2147
|
+
facilityId: number;
|
|
2148
|
+
parentSlotId: number;
|
|
2149
|
+
childrenSlotIds: number[];
|
|
2150
|
+
deletedAt?: Date;
|
|
2151
|
+
}
|
|
2145
2152
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2146
2153
|
name: string;
|
|
2147
2154
|
resourceType: ResourceTypeEnum;
|
|
@@ -2170,13 +2177,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2170
2177
|
purchasedResources: PurchasedResource[];
|
|
2171
2178
|
linkSEO: string;
|
|
2172
2179
|
}
|
|
2173
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2174
|
-
name: string;
|
|
2175
|
-
facilityId: number;
|
|
2176
|
-
parentSlotId: number;
|
|
2177
|
-
childrenSlotIds: number[];
|
|
2178
|
-
deletedAt?: Date;
|
|
2179
|
-
}
|
|
2180
2180
|
export declare class School extends BondBaseEntity {
|
|
2181
2181
|
name: string | null;
|
|
2182
2182
|
alias: string[] | null;
|
|
@@ -2234,6 +2234,14 @@ export declare class SpacesDependency extends BondBaseEntity {
|
|
|
2234
2234
|
blockingSpaceId: number;
|
|
2235
2235
|
blockedSpaceId: number;
|
|
2236
2236
|
}
|
|
2237
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2238
|
+
stationId: number;
|
|
2239
|
+
subcategoryId: number;
|
|
2240
|
+
productType: ProductTypesEnum;
|
|
2241
|
+
deletedAt?: Date;
|
|
2242
|
+
station: Station;
|
|
2243
|
+
subcategory: Subcategory;
|
|
2244
|
+
}
|
|
2237
2245
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2238
2246
|
name: string;
|
|
2239
2247
|
facilityId: number;
|
|
@@ -2245,14 +2253,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2245
2253
|
subcategories: Subcategory[];
|
|
2246
2254
|
shifts?: Shift[];
|
|
2247
2255
|
}
|
|
2248
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2249
|
-
stationId: number;
|
|
2250
|
-
subcategoryId: number;
|
|
2251
|
-
productType: ProductTypesEnum;
|
|
2252
|
-
deletedAt?: Date;
|
|
2253
|
-
station: Station;
|
|
2254
|
-
subcategory: Subcategory;
|
|
2255
|
-
}
|
|
2256
2256
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2257
2257
|
productType: ProductTypesEnum;
|
|
2258
2258
|
name: string;
|
|
@@ -2304,6 +2304,15 @@ 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
|
+
}
|
|
2307
2316
|
export declare class User extends BondBaseEntity {
|
|
2308
2317
|
firstName: string | null;
|
|
2309
2318
|
lastName: string | null;
|
|
@@ -2343,29 +2352,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2343
2352
|
invoiceNotes: InvoiceNote[];
|
|
2344
2353
|
paymentNotes: PaymentNote[];
|
|
2345
2354
|
}
|
|
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
2355
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2356
2356
|
entityId: number | null;
|
|
2357
2357
|
userId: number | null;
|
|
2358
2358
|
entityType: UserAuthorizationsTypeEnum;
|
|
2359
2359
|
user: User;
|
|
2360
2360
|
}
|
|
2361
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2362
|
-
familyAccountId: number;
|
|
2363
|
-
userId: number;
|
|
2364
|
-
isAdmin: boolean;
|
|
2365
|
-
user: User;
|
|
2366
|
-
familyAccount: FamilyAccount;
|
|
2367
|
-
deletedAt?: Date;
|
|
2368
|
-
}
|
|
2369
2361
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2370
2362
|
userId: number;
|
|
2371
2363
|
failCount: number;
|
|
@@ -2374,15 +2366,23 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2374
2366
|
paymentMethodId: string;
|
|
2375
2367
|
nextAllowedChargeDate?: Date;
|
|
2376
2368
|
}
|
|
2377
|
-
export declare class
|
|
2378
|
-
|
|
2379
|
-
|
|
2369
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2370
|
+
familyAccountId: number;
|
|
2371
|
+
userId: number;
|
|
2372
|
+
isAdmin: boolean;
|
|
2373
|
+
user: User;
|
|
2374
|
+
familyAccount: FamilyAccount;
|
|
2375
|
+
deletedAt?: Date;
|
|
2380
2376
|
}
|
|
2381
2377
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2382
2378
|
groupId: number;
|
|
2383
2379
|
userId: number;
|
|
2384
2380
|
deletedAt?: Date;
|
|
2385
2381
|
}
|
|
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;
|
|
@@ -3367,13 +3367,6 @@ export declare class ProductImportDto {
|
|
|
3367
3367
|
resourceIds: number[];
|
|
3368
3368
|
oldId: number;
|
|
3369
3369
|
}
|
|
3370
|
-
export declare class PunchPassDto {
|
|
3371
|
-
CustomerID: string;
|
|
3372
|
-
QuantityLeft: number;
|
|
3373
|
-
BondProgramID: number;
|
|
3374
|
-
BondSessionID: number;
|
|
3375
|
-
ProductID: number;
|
|
3376
|
-
}
|
|
3377
3370
|
export declare class ImportedSlotProductDto {
|
|
3378
3371
|
slotID?: string;
|
|
3379
3372
|
name?: string;
|
|
@@ -3438,6 +3431,13 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3438
3431
|
score: number | null;
|
|
3439
3432
|
gameSlotId: number | null;
|
|
3440
3433
|
}
|
|
3434
|
+
export declare class PunchPassDto {
|
|
3435
|
+
CustomerID: string;
|
|
3436
|
+
QuantityLeft: number;
|
|
3437
|
+
BondProgramID: number;
|
|
3438
|
+
BondSessionID: number;
|
|
3439
|
+
ProductID: number;
|
|
3440
|
+
}
|
|
3441
3441
|
export declare class Matches extends BondBaseEntity {
|
|
3442
3442
|
eventId: number | null;
|
|
3443
3443
|
status: number | null;
|
|
@@ -3450,17 +3450,17 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3450
3450
|
createdAt: Date;
|
|
3451
3451
|
updatedAt: Date;
|
|
3452
3452
|
}
|
|
3453
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3454
|
+
teamId: number | null;
|
|
3455
|
+
eventId: number | null;
|
|
3456
|
+
status: number | null;
|
|
3457
|
+
}
|
|
3453
3458
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3454
3459
|
seasonId: number;
|
|
3455
3460
|
ordinal?: number;
|
|
3456
3461
|
divisionId?: number;
|
|
3457
3462
|
name: string;
|
|
3458
3463
|
}
|
|
3459
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3460
|
-
teamId: number | null;
|
|
3461
|
-
eventId: number | null;
|
|
3462
|
-
status: number | null;
|
|
3463
|
-
}
|
|
3464
3464
|
export declare class Lock extends BondBaseEntity {
|
|
3465
3465
|
name: string;
|
|
3466
3466
|
locked?: Date;
|
|
@@ -3504,6 +3504,30 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3504
3504
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3505
3505
|
destination: string;
|
|
3506
3506
|
}
|
|
3507
|
+
export declare class ByOrganizationIdDto {
|
|
3508
|
+
organizationId: number;
|
|
3509
|
+
}
|
|
3510
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3511
|
+
organizationId?: number;
|
|
3512
|
+
}
|
|
3513
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3514
|
+
programsIds?: string;
|
|
3515
|
+
sessionsIds?: string;
|
|
3516
|
+
segmentsIds?: string;
|
|
3517
|
+
startDate?: string;
|
|
3518
|
+
endDate?: string;
|
|
3519
|
+
months?: string;
|
|
3520
|
+
dow?: string;
|
|
3521
|
+
}
|
|
3522
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3523
|
+
programsIds?: string;
|
|
3524
|
+
sessionsIds?: string;
|
|
3525
|
+
segmentsIds?: string;
|
|
3526
|
+
startDate?: string;
|
|
3527
|
+
endDate?: string;
|
|
3528
|
+
months?: string;
|
|
3529
|
+
dow?: string;
|
|
3530
|
+
}
|
|
3507
3531
|
export declare class Organization extends BondBaseEntity {
|
|
3508
3532
|
name: string | null;
|
|
3509
3533
|
email: string | null;
|
|
@@ -3559,36 +3583,12 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3559
3583
|
version: number;
|
|
3560
3584
|
organization: Organization;
|
|
3561
3585
|
}
|
|
3562
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3563
|
-
organisationId: number | null;
|
|
3564
|
-
userId: number | null;
|
|
3565
|
-
}
|
|
3566
3586
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3567
3587
|
mainAdminUserId?: number;
|
|
3568
3588
|
}
|
|
3569
|
-
export declare class
|
|
3570
|
-
|
|
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;
|
|
3589
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3590
|
+
organisationId: number | null;
|
|
3591
|
+
userId: number | null;
|
|
3592
3592
|
}
|
|
3593
3593
|
export interface UnallocatedEventsFilters {
|
|
3594
3594
|
programsIds?: number[];
|
|
@@ -3770,6 +3770,16 @@ export declare class VoidLineItemDto {
|
|
|
3770
3770
|
isEdit?: boolean;
|
|
3771
3771
|
amount?: number;
|
|
3772
3772
|
}
|
|
3773
|
+
export interface RefundResult extends PaymentsResults {
|
|
3774
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3775
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3776
|
+
invoice?: Invoice;
|
|
3777
|
+
}
|
|
3778
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3779
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3780
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3781
|
+
totalAmountProcessed: number;
|
|
3782
|
+
}
|
|
3773
3783
|
export interface PaymentResult {
|
|
3774
3784
|
paymentMethodId: string;
|
|
3775
3785
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3795,15 +3805,32 @@ export interface ExtendedLineItems {
|
|
|
3795
3805
|
products: LineItems[];
|
|
3796
3806
|
events: LineItems[];
|
|
3797
3807
|
}
|
|
3798
|
-
export
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3808
|
+
export declare class AddonDto {
|
|
3809
|
+
productId: number;
|
|
3810
|
+
id?: number;
|
|
3811
|
+
unitPrice?: number;
|
|
3812
|
+
quantity?: number;
|
|
3813
|
+
totalPrice?: number;
|
|
3814
|
+
product?: Product;
|
|
3815
|
+
parentProduct?: Product;
|
|
3816
|
+
displayTotalWithTax?: number;
|
|
3817
|
+
displayTotalPrice?: number;
|
|
3818
|
+
displayUnitTax?: number;
|
|
3802
3819
|
}
|
|
3803
|
-
export
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3820
|
+
export declare class AddAddonsDto {
|
|
3821
|
+
addons: AddonDto[];
|
|
3822
|
+
}
|
|
3823
|
+
export declare class EditAddonsDto {
|
|
3824
|
+
addons: EditAddonDto[];
|
|
3825
|
+
}
|
|
3826
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3827
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3828
|
+
}
|
|
3829
|
+
export declare class EditAddonDto {
|
|
3830
|
+
id: number;
|
|
3831
|
+
quantity: number;
|
|
3832
|
+
totalPrice: number;
|
|
3833
|
+
unitPrice?: number;
|
|
3807
3834
|
}
|
|
3808
3835
|
export declare class InvoiceDto {
|
|
3809
3836
|
invoiceId?: string | null;
|
|
@@ -4041,33 +4068,6 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4041
4068
|
updateAddons?: boolean;
|
|
4042
4069
|
updateMaintenance?: boolean;
|
|
4043
4070
|
}
|
|
4044
|
-
export declare class AddonDto {
|
|
4045
|
-
productId: number;
|
|
4046
|
-
id?: number;
|
|
4047
|
-
unitPrice?: number;
|
|
4048
|
-
quantity?: number;
|
|
4049
|
-
totalPrice?: number;
|
|
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
4071
|
export declare class SegmentDto {
|
|
4072
4072
|
id?: number;
|
|
4073
4073
|
title: string;
|
|
@@ -4096,6 +4096,68 @@ export declare class SeriesDto {
|
|
|
4096
4096
|
maintenance?: MaintenanceDto[];
|
|
4097
4097
|
slots?: SlotDto[];
|
|
4098
4098
|
}
|
|
4099
|
+
export declare class SlotDateTimeAndSpace {
|
|
4100
|
+
startDate: string;
|
|
4101
|
+
startTime?: string;
|
|
4102
|
+
endDate?: string;
|
|
4103
|
+
endTime?: string;
|
|
4104
|
+
spaceId: number;
|
|
4105
|
+
}
|
|
4106
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4107
|
+
id?: number;
|
|
4108
|
+
reservationId?: number;
|
|
4109
|
+
occurrence?: number;
|
|
4110
|
+
title: string;
|
|
4111
|
+
creatorId?: number;
|
|
4112
|
+
creatorType?: string;
|
|
4113
|
+
userCreatorId?: number;
|
|
4114
|
+
timezone?: string;
|
|
4115
|
+
publicNotes?: string;
|
|
4116
|
+
privateNotes?: string;
|
|
4117
|
+
slotType: SlotTypeEnum;
|
|
4118
|
+
product?: Product;
|
|
4119
|
+
priceOverrideMeta?: OverridePriceMeta;
|
|
4120
|
+
addonPriceOverrideMeta?: {
|
|
4121
|
+
[addonProductId: number]: OverridePriceMeta;
|
|
4122
|
+
};
|
|
4123
|
+
addonProducts?: Product[];
|
|
4124
|
+
segmentId?: number;
|
|
4125
|
+
seriesId?: number;
|
|
4126
|
+
eventId?: number;
|
|
4127
|
+
sportIds: number[];
|
|
4128
|
+
parentSlotId?: number;
|
|
4129
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4130
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4131
|
+
durationValue?: number;
|
|
4132
|
+
invoicId?: number;
|
|
4133
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4134
|
+
approvalStatus: ReservationStatusEnum;
|
|
4135
|
+
displayName?: string;
|
|
4136
|
+
internalName?: string;
|
|
4137
|
+
totalPrice?: number;
|
|
4138
|
+
relevantProducts?: Product[];
|
|
4139
|
+
maintenance?: MaintenanceDto[];
|
|
4140
|
+
maintenanceSlots?: SlotDto[];
|
|
4141
|
+
isPrivate: boolean;
|
|
4142
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4143
|
+
addons?: AddonDto[];
|
|
4144
|
+
addonsIds?: number[];
|
|
4145
|
+
}
|
|
4146
|
+
export declare class TimeSlotDto {
|
|
4147
|
+
id?: number;
|
|
4148
|
+
resourceId: number;
|
|
4149
|
+
startDate: string;
|
|
4150
|
+
startTime: string;
|
|
4151
|
+
endDate: string;
|
|
4152
|
+
endTime: string;
|
|
4153
|
+
parentSlotId?: number;
|
|
4154
|
+
}
|
|
4155
|
+
export declare class TimeSlotsDto {
|
|
4156
|
+
timeSlots: TimeSlotDto[];
|
|
4157
|
+
}
|
|
4158
|
+
export declare class SlotsIdsDto {
|
|
4159
|
+
slotsIds: number[];
|
|
4160
|
+
}
|
|
4099
4161
|
declare class AnswerDto {
|
|
4100
4162
|
questionId: number;
|
|
4101
4163
|
value: any;
|
|
@@ -4192,68 +4254,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4192
4254
|
targetGlobalPrice?: number;
|
|
4193
4255
|
slots: Slot[];
|
|
4194
4256
|
}
|
|
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
|
-
}
|
|
4257
4257
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4258
4258
|
deletedAt?: Date;
|
|
4259
4259
|
reservationId: number;
|
|
@@ -4624,15 +4624,15 @@ export interface OverridePriceMeta {
|
|
|
4624
4624
|
quantity: number;
|
|
4625
4625
|
totalPrice: number;
|
|
4626
4626
|
}
|
|
4627
|
-
export declare class
|
|
4627
|
+
export declare class CreateRoleDto {
|
|
4628
4628
|
name: string;
|
|
4629
|
-
deletedAt?: Date;
|
|
4630
4629
|
}
|
|
4631
4630
|
export declare class ChangeRolePermissionsDto {
|
|
4632
4631
|
permissionIds: number[];
|
|
4633
4632
|
}
|
|
4634
|
-
export declare class
|
|
4633
|
+
export declare class Permission extends BondBaseEntity {
|
|
4635
4634
|
name: string;
|
|
4635
|
+
deletedAt?: Date;
|
|
4636
4636
|
}
|
|
4637
4637
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4638
4638
|
name: string;
|
|
@@ -4653,6 +4653,13 @@ export declare class CloseShiftDto {
|
|
|
4653
4653
|
export declare class FindShiftsByIdsDto {
|
|
4654
4654
|
shiftIds: number[];
|
|
4655
4655
|
}
|
|
4656
|
+
export declare class ShiftManagementClosingAmount {
|
|
4657
|
+
shiftId: number;
|
|
4658
|
+
managementClosingCashAmount: number;
|
|
4659
|
+
}
|
|
4660
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4661
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4662
|
+
}
|
|
4656
4663
|
export declare class FindShiftsFiltersDto {
|
|
4657
4664
|
statuses?: string;
|
|
4658
4665
|
stationIds?: string;
|
|
@@ -4673,13 +4680,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4673
4680
|
startDate?: Date;
|
|
4674
4681
|
endDate?: Date;
|
|
4675
4682
|
}
|
|
4676
|
-
export declare class ShiftManagementClosingAmount {
|
|
4677
|
-
shiftId: number;
|
|
4678
|
-
managementClosingCashAmount: number;
|
|
4679
|
-
}
|
|
4680
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4681
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4682
|
-
}
|
|
4683
4683
|
export declare class OpenShiftDto {
|
|
4684
4684
|
openingCashAmount: number;
|
|
4685
4685
|
stationId: number;
|