@bondsports/types 0.0.161 → 0.0.163
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 +1081 -1078
- 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
|
@@ -292,6 +292,62 @@ export declare class GetGlCodeDto {
|
|
|
292
292
|
createdAt: Date;
|
|
293
293
|
updatedAt: Date;
|
|
294
294
|
}
|
|
295
|
+
export declare class CreateMembershipDto {
|
|
296
|
+
organizationId: number;
|
|
297
|
+
name: string;
|
|
298
|
+
description?: string;
|
|
299
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
300
|
+
activity: SportsEnum;
|
|
301
|
+
facilityId: number;
|
|
302
|
+
questionnaires: number[];
|
|
303
|
+
minAgeYears: number;
|
|
304
|
+
maxAgeYears: number;
|
|
305
|
+
gender: GenderEnum;
|
|
306
|
+
maxMembers?: number;
|
|
307
|
+
maxMaleMembers?: number;
|
|
308
|
+
maxFemaleMembers?: number;
|
|
309
|
+
startDate: string;
|
|
310
|
+
endDate: string;
|
|
311
|
+
registrationStartDate?: Date;
|
|
312
|
+
registrationEndDate?: Date;
|
|
313
|
+
membershipType: MembershipTypeEnum;
|
|
314
|
+
durationMonths: number;
|
|
315
|
+
longDescription?: string;
|
|
316
|
+
isAutoRenew?: boolean;
|
|
317
|
+
}
|
|
318
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
319
|
+
id: number;
|
|
320
|
+
}
|
|
321
|
+
export declare class UpdateMembershipMediaDto {
|
|
322
|
+
membershipId: number;
|
|
323
|
+
mediaId: number;
|
|
324
|
+
}
|
|
325
|
+
export declare class FindMembershipByIdDto {
|
|
326
|
+
membershipId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
329
|
+
organizationId: number;
|
|
330
|
+
}
|
|
331
|
+
export declare class FindMembershipsByUserIdDto {
|
|
332
|
+
userId: number;
|
|
333
|
+
}
|
|
334
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
335
|
+
startDate: string;
|
|
336
|
+
}
|
|
337
|
+
export declare class MembershipIdsDto {
|
|
338
|
+
membershipIds?: number[];
|
|
339
|
+
}
|
|
340
|
+
export declare class MemberIdDto {
|
|
341
|
+
memberId?: number;
|
|
342
|
+
}
|
|
343
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
344
|
+
nameEmailSearch?: string;
|
|
345
|
+
pastMemberships?: string;
|
|
346
|
+
}
|
|
347
|
+
export declare class CancelMembershipDto {
|
|
348
|
+
isImmediatelyCancel: boolean;
|
|
349
|
+
cancellationReason?: string;
|
|
350
|
+
}
|
|
295
351
|
export declare class FindByProgramSeasonIdDto {
|
|
296
352
|
seasonId: number;
|
|
297
353
|
}
|
|
@@ -365,62 +421,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
421
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
422
|
fileName: string;
|
|
367
423
|
}
|
|
368
|
-
export declare class CreateMembershipDto {
|
|
369
|
-
organizationId: number;
|
|
370
|
-
name: string;
|
|
371
|
-
description?: string;
|
|
372
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
373
|
-
activity: SportsEnum;
|
|
374
|
-
facilityId: number;
|
|
375
|
-
questionnaires: number[];
|
|
376
|
-
minAgeYears: number;
|
|
377
|
-
maxAgeYears: number;
|
|
378
|
-
gender: GenderEnum;
|
|
379
|
-
maxMembers?: number;
|
|
380
|
-
maxMaleMembers?: number;
|
|
381
|
-
maxFemaleMembers?: number;
|
|
382
|
-
startDate: string;
|
|
383
|
-
endDate: string;
|
|
384
|
-
registrationStartDate?: Date;
|
|
385
|
-
registrationEndDate?: Date;
|
|
386
|
-
membershipType: MembershipTypeEnum;
|
|
387
|
-
durationMonths: number;
|
|
388
|
-
longDescription?: string;
|
|
389
|
-
isAutoRenew?: boolean;
|
|
390
|
-
}
|
|
391
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
392
|
-
id: number;
|
|
393
|
-
}
|
|
394
|
-
export declare class UpdateMembershipMediaDto {
|
|
395
|
-
membershipId: number;
|
|
396
|
-
mediaId: number;
|
|
397
|
-
}
|
|
398
|
-
export declare class FindMembershipByIdDto {
|
|
399
|
-
membershipId: number;
|
|
400
|
-
}
|
|
401
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
402
|
-
organizationId: number;
|
|
403
|
-
}
|
|
404
|
-
export declare class FindMembershipsByUserIdDto {
|
|
405
|
-
userId: number;
|
|
406
|
-
}
|
|
407
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
408
|
-
startDate: string;
|
|
409
|
-
}
|
|
410
|
-
export declare class MembershipIdsDto {
|
|
411
|
-
membershipIds?: number[];
|
|
412
|
-
}
|
|
413
|
-
export declare class MemberIdDto {
|
|
414
|
-
memberId?: number;
|
|
415
|
-
}
|
|
416
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
417
|
-
nameEmailSearch?: string;
|
|
418
|
-
pastMemberships?: string;
|
|
419
|
-
}
|
|
420
|
-
export declare class CancelMembershipDto {
|
|
421
|
-
isImmediatelyCancel: boolean;
|
|
422
|
-
cancellationReason?: string;
|
|
423
|
-
}
|
|
424
424
|
export declare class CreateEntitlementTermsDto {
|
|
425
425
|
organizationId: number;
|
|
426
426
|
entitlementGroupId: number;
|
|
@@ -463,67 +463,288 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
-
export declare class
|
|
467
|
-
|
|
468
|
-
parentProductId: number;
|
|
469
|
-
variantTitles: VariantTitleDto[];
|
|
470
|
-
variants: VariantDto[];
|
|
466
|
+
export declare class FindByProductIdDto {
|
|
467
|
+
productId: number;
|
|
471
468
|
}
|
|
472
|
-
export declare class
|
|
473
|
-
|
|
474
|
-
|
|
469
|
+
export declare class FindPriceOfProductDto {
|
|
470
|
+
id: number;
|
|
471
|
+
userId: number;
|
|
472
|
+
resources: ResourceDto[];
|
|
475
473
|
}
|
|
476
|
-
export declare class
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
variantId: number;
|
|
480
|
-
currency: CurrencyEnum;
|
|
481
|
-
startDate: Date;
|
|
482
|
-
endDate: Date;
|
|
474
|
+
export declare class FindPricesOfProductsDto {
|
|
475
|
+
products: FindPriceOfProductDto[];
|
|
476
|
+
answers: UserAnswersDto[];
|
|
483
477
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
|
|
478
|
+
export declare class FindPackageByResourceDto {
|
|
479
|
+
resourceType: ResourceNameTypeEnum;
|
|
480
|
+
resourceId: number;
|
|
486
481
|
}
|
|
487
|
-
export declare class
|
|
488
|
-
|
|
489
|
-
isFullFetch?: boolean;
|
|
482
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
483
|
+
organizationId: number;
|
|
490
484
|
}
|
|
491
|
-
export declare class
|
|
485
|
+
export declare class CreateProductsDto {
|
|
486
|
+
products: CreateProductDto[];
|
|
487
|
+
addOnsData?: ProductInPackage[];
|
|
488
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
489
|
+
}
|
|
490
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
491
|
+
name: string;
|
|
492
|
+
}
|
|
493
|
+
export declare class CreateProductDto {
|
|
494
|
+
id?: number;
|
|
492
495
|
organizationId: number;
|
|
496
|
+
name: string;
|
|
497
|
+
quantity?: number;
|
|
498
|
+
isPublic: boolean;
|
|
499
|
+
startDate?: Date;
|
|
500
|
+
endDate?: Date;
|
|
501
|
+
description?: string;
|
|
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[];
|
|
493
531
|
}
|
|
494
|
-
export declare class
|
|
495
|
-
|
|
532
|
+
export declare class VariantWithPrice {
|
|
533
|
+
variantIds: number[];
|
|
534
|
+
price: CreatePriceDto[];
|
|
496
535
|
}
|
|
497
|
-
export declare class
|
|
498
|
-
|
|
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;
|
|
499
546
|
}
|
|
500
|
-
export declare class
|
|
501
|
-
|
|
547
|
+
export declare class CreatePackageDto {
|
|
548
|
+
parentProductId: number;
|
|
549
|
+
productsData?: ProductInPackage[];
|
|
550
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
502
551
|
}
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
552
|
+
export declare class CreatePackageToResourceDto {
|
|
553
|
+
resourceId: number;
|
|
554
|
+
resourceType: ResourceNameTypeEnum;
|
|
555
|
+
isCreateToChildProducts: boolean;
|
|
556
|
+
productsData: ProductInPackage[];
|
|
505
557
|
}
|
|
506
|
-
export declare class
|
|
507
|
-
|
|
558
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
559
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
560
|
+
amountInPackage?: number;
|
|
561
|
+
level?: ProductPackageLevelEnum;
|
|
508
562
|
}
|
|
509
|
-
export declare class
|
|
510
|
-
|
|
511
|
-
|
|
563
|
+
export declare class ExistingProductToPackageDto {
|
|
564
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
565
|
+
id: number;
|
|
566
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
567
|
+
level?: ProductPackageLevelEnum;
|
|
512
568
|
}
|
|
513
|
-
export declare class
|
|
514
|
-
|
|
569
|
+
export declare class ConnectProductResourceDto {
|
|
570
|
+
productId: number;
|
|
571
|
+
resourceType: ResourceNameTypeEnum;
|
|
572
|
+
resourceIds: number[];
|
|
515
573
|
}
|
|
516
|
-
export declare class
|
|
574
|
+
export declare class ReturnRequiredProductsDto {
|
|
517
575
|
userId: number;
|
|
576
|
+
productId: number;
|
|
577
|
+
redeemRelevantDate?: string;
|
|
518
578
|
}
|
|
519
|
-
export declare class
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
nameEmailSearch?: string;
|
|
579
|
+
export declare class FindByProductUserIdsDto {
|
|
580
|
+
userId: number;
|
|
581
|
+
organizationId: number;
|
|
523
582
|
}
|
|
524
|
-
export declare class
|
|
525
|
-
|
|
526
|
-
|
|
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
|
+
}
|
|
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;
|
|
686
|
+
}
|
|
687
|
+
export declare class CreateUpdateVariantsDto {
|
|
688
|
+
organizationId: number;
|
|
689
|
+
parentProductId: number;
|
|
690
|
+
variantTitles: VariantTitleDto[];
|
|
691
|
+
variants: VariantDto[];
|
|
692
|
+
}
|
|
693
|
+
export declare class VariantTitleDto {
|
|
694
|
+
titleName: string;
|
|
695
|
+
titleId: number;
|
|
696
|
+
}
|
|
697
|
+
export declare class VariantDto {
|
|
698
|
+
name: string;
|
|
699
|
+
price: number;
|
|
700
|
+
variantId: number;
|
|
701
|
+
currency: CurrencyEnum;
|
|
702
|
+
startDate: Date;
|
|
703
|
+
endDate: Date;
|
|
704
|
+
}
|
|
705
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
|
+
programId: number;
|
|
707
|
+
}
|
|
708
|
+
export declare class FindSessionsFiltersDto {
|
|
709
|
+
status?: PublishingStatusEnum;
|
|
710
|
+
isFullFetch?: boolean;
|
|
711
|
+
}
|
|
712
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
713
|
+
organizationId: number;
|
|
714
|
+
}
|
|
715
|
+
export declare class DeleteEventAttendeesDto {
|
|
716
|
+
eventAttendeeIds: string;
|
|
717
|
+
}
|
|
718
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
719
|
+
includeResources?: boolean;
|
|
720
|
+
}
|
|
721
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
722
|
+
seasonId: number;
|
|
723
|
+
}
|
|
724
|
+
export declare class FindSeasonEventsQueryDto {
|
|
725
|
+
startDateFilter?: EStartDateFilter;
|
|
726
|
+
}
|
|
727
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
728
|
+
seasonId: number;
|
|
729
|
+
}
|
|
730
|
+
export declare class FindSessionEventByIdDto {
|
|
731
|
+
seasonId: number;
|
|
732
|
+
eventId: number;
|
|
733
|
+
}
|
|
734
|
+
export declare class DeleteProductDto {
|
|
735
|
+
deleteProduct?: boolean;
|
|
736
|
+
}
|
|
737
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
738
|
+
userId: number;
|
|
739
|
+
}
|
|
740
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
741
|
+
isFreeAgentsOnly?: boolean;
|
|
742
|
+
isPunchCardUsers?: boolean;
|
|
743
|
+
nameEmailSearch?: string;
|
|
744
|
+
}
|
|
745
|
+
export declare class BaseProgramSeasonDto {
|
|
746
|
+
programId: number;
|
|
747
|
+
name: string;
|
|
527
748
|
status: PublishingStatusEnum;
|
|
528
749
|
seasonType: ProgramSeasonTypesEnum;
|
|
529
750
|
startDate: Date;
|
|
@@ -671,256 +892,35 @@ export declare class MoveParticipantDto {
|
|
|
671
892
|
resourceId: number;
|
|
672
893
|
invoiceId: number;
|
|
673
894
|
}
|
|
674
|
-
export declare class
|
|
675
|
-
productId: number;
|
|
676
|
-
}
|
|
677
|
-
export declare class FindPriceOfProductDto {
|
|
678
|
-
id: number;
|
|
679
|
-
userId: number;
|
|
680
|
-
resources: ResourceDto[];
|
|
681
|
-
}
|
|
682
|
-
export declare class FindPricesOfProductsDto {
|
|
683
|
-
products: FindPriceOfProductDto[];
|
|
684
|
-
answers: UserAnswersDto[];
|
|
685
|
-
}
|
|
686
|
-
export declare class FindPackageByResourceDto {
|
|
687
|
-
resourceType: ResourceNameTypeEnum;
|
|
688
|
-
resourceId: number;
|
|
689
|
-
}
|
|
690
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
895
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
691
896
|
organizationId: number;
|
|
897
|
+
programType?: ProgramTypesEnum;
|
|
692
898
|
}
|
|
693
|
-
export declare class
|
|
694
|
-
|
|
695
|
-
addOnsData?: ProductInPackage[];
|
|
696
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
697
|
-
}
|
|
698
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
699
|
-
name: string;
|
|
899
|
+
export declare class FindProgramByIdDto {
|
|
900
|
+
programId: number;
|
|
700
901
|
}
|
|
701
|
-
export declare class
|
|
702
|
-
|
|
902
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
+
programId: number;
|
|
703
904
|
organizationId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class BaseProgramDto {
|
|
907
|
+
type: ProgramTypesEnum;
|
|
704
908
|
name: string;
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
909
|
+
sport: SportsEnum;
|
|
910
|
+
minAge: string;
|
|
911
|
+
maxAge: string;
|
|
912
|
+
gender: GenderEnum;
|
|
913
|
+
level?: LevelOfPlayEnum[];
|
|
709
914
|
description?: string;
|
|
710
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
711
|
-
resourcesIdsToApplyOn?: number[];
|
|
712
915
|
GL?: string;
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
720
|
-
variantTitleIds?: number[];
|
|
721
|
-
variants?: VariantWithPrice[];
|
|
722
|
-
variantParentId?: number;
|
|
723
|
-
isAddon?: boolean;
|
|
724
|
-
isArchive?: boolean;
|
|
725
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
726
|
-
isProRated?: boolean;
|
|
727
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
728
|
-
isTaxInclusive?: boolean;
|
|
729
|
-
tax?: number;
|
|
730
|
-
sports?: number[];
|
|
731
|
-
durationMinutes?: number;
|
|
732
|
-
durationDays?: number;
|
|
733
|
-
forms?: number[];
|
|
734
|
-
isForAllCustomers?: boolean;
|
|
735
|
-
membershipsAvailableFor?: number[];
|
|
736
|
-
customersAvailableFor?: number[];
|
|
737
|
-
addons?: createRentalProductAddonDto[];
|
|
738
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
916
|
+
status: PublishingStatusEnum;
|
|
917
|
+
organizationId: number;
|
|
918
|
+
userCreatorId: number;
|
|
919
|
+
highlights: ProgramHighlights[];
|
|
920
|
+
longDescription?: string;
|
|
921
|
+
requiredProductIds: number[];
|
|
739
922
|
}
|
|
740
|
-
export declare class
|
|
741
|
-
variantIds: number[];
|
|
742
|
-
price: CreatePriceDto[];
|
|
743
|
-
}
|
|
744
|
-
export declare class CreatePriceDto {
|
|
745
|
-
id?: number;
|
|
746
|
-
price: number;
|
|
747
|
-
currency: CurrencyEnum;
|
|
748
|
-
name: string;
|
|
749
|
-
startDate?: Date;
|
|
750
|
-
endDate?: Date;
|
|
751
|
-
discountValue?: number;
|
|
752
|
-
discountMethod?: DiscountMethodsEnum;
|
|
753
|
-
isDefaultPriceForProduct?: boolean;
|
|
754
|
-
}
|
|
755
|
-
export declare class CreatePackageDto {
|
|
756
|
-
parentProductId: number;
|
|
757
|
-
productsData?: ProductInPackage[];
|
|
758
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
759
|
-
}
|
|
760
|
-
export declare class CreatePackageToResourceDto {
|
|
761
|
-
resourceId: number;
|
|
762
|
-
resourceType: ResourceNameTypeEnum;
|
|
763
|
-
isCreateToChildProducts: boolean;
|
|
764
|
-
productsData: ProductInPackage[];
|
|
765
|
-
}
|
|
766
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
767
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
768
|
-
amountInPackage?: number;
|
|
769
|
-
level?: ProductPackageLevelEnum;
|
|
770
|
-
}
|
|
771
|
-
export declare class ExistingProductToPackageDto {
|
|
772
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
773
|
-
id: number;
|
|
774
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
775
|
-
level?: ProductPackageLevelEnum;
|
|
776
|
-
}
|
|
777
|
-
export declare class ConnectProductResourceDto {
|
|
778
|
-
productId: number;
|
|
779
|
-
resourceType: ResourceNameTypeEnum;
|
|
780
|
-
resourceIds: number[];
|
|
781
|
-
}
|
|
782
|
-
export declare class ReturnRequiredProductsDto {
|
|
783
|
-
userId: number;
|
|
784
|
-
productId: number;
|
|
785
|
-
redeemRelevantDate?: string;
|
|
786
|
-
}
|
|
787
|
-
export declare class FindByProductUserIdsDto {
|
|
788
|
-
userId: number;
|
|
789
|
-
organizationId: number;
|
|
790
|
-
}
|
|
791
|
-
export declare class AddRequiredProductsDto {
|
|
792
|
-
productId: number;
|
|
793
|
-
requiredProductIds: number[];
|
|
794
|
-
}
|
|
795
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
796
|
-
productIds?: number[];
|
|
797
|
-
includePrices?: boolean;
|
|
798
|
-
productType?: ProductTypesEnum;
|
|
799
|
-
includeAddons?: string;
|
|
800
|
-
}
|
|
801
|
-
export declare class GetByOrganizationIdDto {
|
|
802
|
-
organizationId?: number;
|
|
803
|
-
}
|
|
804
|
-
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
805
|
-
invoiceId?: number;
|
|
806
|
-
}
|
|
807
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
808
|
-
productIds?: string;
|
|
809
|
-
includePrices?: boolean;
|
|
810
|
-
productType?: string;
|
|
811
|
-
productSubType?: string;
|
|
812
|
-
search?: string;
|
|
813
|
-
includeAddons?: boolean;
|
|
814
|
-
includeArchived?: boolean;
|
|
815
|
-
includeAllData?: boolean;
|
|
816
|
-
resourceIds?: string;
|
|
817
|
-
sports?: string;
|
|
818
|
-
}
|
|
819
|
-
export declare class GetAllVariantTitlesDto {
|
|
820
|
-
organizationId: number;
|
|
821
|
-
}
|
|
822
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
823
|
-
organizationId: number;
|
|
824
|
-
}
|
|
825
|
-
export declare class CreateVariantTitleDto {
|
|
826
|
-
organizationId: number;
|
|
827
|
-
title: string;
|
|
828
|
-
variants: string[];
|
|
829
|
-
}
|
|
830
|
-
export declare class UpdateVariantTitleDto {
|
|
831
|
-
organizationId: number;
|
|
832
|
-
titleId: number;
|
|
833
|
-
title: string;
|
|
834
|
-
variants: string[];
|
|
835
|
-
}
|
|
836
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
837
|
-
customerId: number;
|
|
838
|
-
}
|
|
839
|
-
export declare class GetExtraProductDataDto {
|
|
840
|
-
isPublic?: boolean;
|
|
841
|
-
isGetByChildResources?: boolean;
|
|
842
|
-
isGetEntitlePricing?: boolean;
|
|
843
|
-
isGetAddOns?: boolean;
|
|
844
|
-
includeResources?: boolean;
|
|
845
|
-
includeArchived?: boolean;
|
|
846
|
-
}
|
|
847
|
-
export declare class GetBySessionType {
|
|
848
|
-
sessionType: 'event' | 'segment';
|
|
849
|
-
}
|
|
850
|
-
export declare class CreateSubcategoryDto {
|
|
851
|
-
productType: ProductTypesEnum;
|
|
852
|
-
name: string;
|
|
853
|
-
stationId?: number;
|
|
854
|
-
ordinal?: number;
|
|
855
|
-
}
|
|
856
|
-
export declare class CreateSubcategoriesDto {
|
|
857
|
-
subcategories: CreateSubcategoryDto[];
|
|
858
|
-
}
|
|
859
|
-
export declare class UpdateSubcategoryDto {
|
|
860
|
-
id: number;
|
|
861
|
-
productType?: ProductTypesEnum;
|
|
862
|
-
name?: string;
|
|
863
|
-
stationId?: number;
|
|
864
|
-
ordinal?: number;
|
|
865
|
-
}
|
|
866
|
-
export declare class GetSubcategoryDto {
|
|
867
|
-
stationId?: number;
|
|
868
|
-
}
|
|
869
|
-
export declare class SetStationSubcategoriesDto {
|
|
870
|
-
stationId: number;
|
|
871
|
-
subcategoryIds?: number[];
|
|
872
|
-
categories?: string[];
|
|
873
|
-
}
|
|
874
|
-
export declare class createRentalProductAddonDto {
|
|
875
|
-
productId: number;
|
|
876
|
-
price: number;
|
|
877
|
-
isFlatPrice: boolean;
|
|
878
|
-
isMandatory: boolean;
|
|
879
|
-
level: ProductPackageLevelEnum;
|
|
880
|
-
}
|
|
881
|
-
export declare class createProductAvailabilityTimesDto {
|
|
882
|
-
availabilityStartDate?: string;
|
|
883
|
-
availabilityEndDate?: string;
|
|
884
|
-
daysOfWeek: number[];
|
|
885
|
-
startTime: string;
|
|
886
|
-
endTime: string;
|
|
887
|
-
}
|
|
888
|
-
export declare class createResourceDto {
|
|
889
|
-
resourceId: number;
|
|
890
|
-
resourceType: ResourceNameTypeEnum;
|
|
891
|
-
}
|
|
892
|
-
export declare class archiveDto {
|
|
893
|
-
isArchive: boolean;
|
|
894
|
-
}
|
|
895
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
-
organizationId: number;
|
|
897
|
-
programType?: ProgramTypesEnum;
|
|
898
|
-
}
|
|
899
|
-
export declare class FindProgramByIdDto {
|
|
900
|
-
programId: number;
|
|
901
|
-
}
|
|
902
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
-
programId: number;
|
|
904
|
-
organizationId: number;
|
|
905
|
-
}
|
|
906
|
-
export declare class BaseProgramDto {
|
|
907
|
-
type: ProgramTypesEnum;
|
|
908
|
-
name: string;
|
|
909
|
-
sport: SportsEnum;
|
|
910
|
-
minAge: string;
|
|
911
|
-
maxAge: string;
|
|
912
|
-
gender: GenderEnum;
|
|
913
|
-
level?: LevelOfPlayEnum[];
|
|
914
|
-
description?: string;
|
|
915
|
-
GL?: string;
|
|
916
|
-
status: PublishingStatusEnum;
|
|
917
|
-
organizationId: number;
|
|
918
|
-
userCreatorId: number;
|
|
919
|
-
highlights: ProgramHighlights[];
|
|
920
|
-
longDescription?: string;
|
|
921
|
-
requiredProductIds: number[];
|
|
922
|
-
}
|
|
923
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
923
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
924
|
}
|
|
925
925
|
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
926
|
programId: number;
|
|
@@ -1096,6 +1096,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
+
entityType: ResourceNameTypeEnum;
|
|
1101
|
+
entityId: number;
|
|
1102
|
+
organizationId?: number;
|
|
1103
|
+
userId?: number;
|
|
1104
|
+
customerId?: number;
|
|
1105
|
+
performingUserId: number;
|
|
1106
|
+
description: string;
|
|
1107
|
+
actionType: ActionTypesEnum;
|
|
1108
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
+
oldValue?: any;
|
|
1110
|
+
newValue?: any;
|
|
1111
|
+
}
|
|
1099
1112
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1100
1113
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1101
1114
|
parentId: number;
|
|
@@ -1144,24 +1157,19 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1144
1157
|
metadata: object | null;
|
|
1145
1158
|
athleteSports: AthleteSports[];
|
|
1146
1159
|
}
|
|
1147
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1148
|
-
entityType: ResourceNameTypeEnum;
|
|
1149
|
-
entityId: number;
|
|
1150
|
-
organizationId?: number;
|
|
1151
|
-
userId?: number;
|
|
1152
|
-
customerId?: number;
|
|
1153
|
-
performingUserId: number;
|
|
1154
|
-
description: string;
|
|
1155
|
-
actionType: ActionTypesEnum;
|
|
1156
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1157
|
-
oldValue?: any;
|
|
1158
|
-
newValue?: any;
|
|
1159
|
-
}
|
|
1160
1160
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1161
1161
|
athleteId: number | null;
|
|
1162
1162
|
sports: number | null;
|
|
1163
1163
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1164
1164
|
}
|
|
1165
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1166
|
+
entityType: ResourceNameTypeEnum;
|
|
1167
|
+
entityId: number;
|
|
1168
|
+
name: string;
|
|
1169
|
+
startDate: Date;
|
|
1170
|
+
endDate: Date;
|
|
1171
|
+
deletedAt?: Date;
|
|
1172
|
+
}
|
|
1165
1173
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1166
1174
|
id: number;
|
|
1167
1175
|
createdAt: Date;
|
|
@@ -1185,14 +1193,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1185
1193
|
publicNotes?: string;
|
|
1186
1194
|
slotType?: SlotTypeEnum;
|
|
1187
1195
|
}
|
|
1188
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1189
|
-
entityType: ResourceNameTypeEnum;
|
|
1190
|
-
entityId: number;
|
|
1191
|
-
name: string;
|
|
1192
|
-
startDate: Date;
|
|
1193
|
-
endDate: Date;
|
|
1194
|
-
deletedAt?: Date;
|
|
1195
|
-
}
|
|
1196
1196
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1197
1197
|
parentId: number;
|
|
1198
1198
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1282,15 +1282,15 @@ export declare class Division extends BondBaseEntity {
|
|
|
1282
1282
|
isDefault: boolean;
|
|
1283
1283
|
groups: Group[];
|
|
1284
1284
|
}
|
|
1285
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1286
|
-
name: string | null;
|
|
1287
|
-
}
|
|
1288
1285
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1289
1286
|
customerId: number;
|
|
1290
1287
|
name: string | null;
|
|
1291
1288
|
phoneNumber: string | null;
|
|
1292
1289
|
customer: Customer;
|
|
1293
1290
|
}
|
|
1291
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1292
|
+
name: string | null;
|
|
1293
|
+
}
|
|
1294
1294
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1295
1295
|
groupId: number;
|
|
1296
1296
|
terms: IEntitlementTerms[];
|
|
@@ -1483,6 +1483,14 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1483
1483
|
mailParams?: any;
|
|
1484
1484
|
memo?: string;
|
|
1485
1485
|
}
|
|
1486
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1487
|
+
invoiceId: number;
|
|
1488
|
+
paymentId: number;
|
|
1489
|
+
invoice: Invoice;
|
|
1490
|
+
payment: Payment;
|
|
1491
|
+
paidAmount?: number;
|
|
1492
|
+
currency: CurrencyEnum;
|
|
1493
|
+
}
|
|
1486
1494
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
1495
|
content: string;
|
|
1488
1496
|
creatingUserId: number;
|
|
@@ -1492,14 +1500,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1492
1500
|
invoiceId: number;
|
|
1493
1501
|
invoice: Invoice;
|
|
1494
1502
|
}
|
|
1495
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1496
|
-
invoiceId: number;
|
|
1497
|
-
paymentId: number;
|
|
1498
|
-
invoice: Invoice;
|
|
1499
|
-
payment: Payment;
|
|
1500
|
-
paidAmount?: number;
|
|
1501
|
-
currency: CurrencyEnum;
|
|
1502
|
-
}
|
|
1503
1503
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1504
1504
|
name: string | null;
|
|
1505
1505
|
description: string | null;
|
|
@@ -1788,16 +1788,16 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1788
1788
|
refundReasonId?: number;
|
|
1789
1789
|
refundNote?: string;
|
|
1790
1790
|
}
|
|
1791
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1792
|
+
failureIndex: number;
|
|
1793
|
+
waitingDays: number;
|
|
1794
|
+
}
|
|
1791
1795
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1792
1796
|
paymentInstallmentId?: number;
|
|
1793
1797
|
invoiceId: number;
|
|
1794
1798
|
reason: EFailedPaymentReasons;
|
|
1795
1799
|
errorMessage: string;
|
|
1796
1800
|
}
|
|
1797
|
-
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1798
|
-
failureIndex: number;
|
|
1799
|
-
waitingDays: number;
|
|
1800
|
-
}
|
|
1801
1801
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1802
1802
|
content: string;
|
|
1803
1803
|
creatingUserId: number;
|
|
@@ -1898,15 +1898,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1898
1898
|
activityTimes: ActivityTimes[];
|
|
1899
1899
|
purchasedResources: PurchasedResource[];
|
|
1900
1900
|
}
|
|
1901
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1902
|
-
productId: number;
|
|
1903
|
-
maxMonths?: number;
|
|
1904
|
-
dayOfMonth?: number;
|
|
1905
|
-
name: string;
|
|
1906
|
-
deletedAt?: Date;
|
|
1907
|
-
schedule: PaymentPlanSchedule[];
|
|
1908
|
-
product?: Product;
|
|
1909
|
-
}
|
|
1910
1901
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1911
1902
|
parentProductId: number;
|
|
1912
1903
|
childProductId: number;
|
|
@@ -1922,9 +1913,18 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1922
1913
|
durationDays?: number;
|
|
1923
1914
|
level?: ProductPackageLevelEnum;
|
|
1924
1915
|
}
|
|
1925
|
-
export declare class
|
|
1916
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1926
1917
|
productId: number;
|
|
1927
|
-
|
|
1918
|
+
maxMonths?: number;
|
|
1919
|
+
dayOfMonth?: number;
|
|
1920
|
+
name: string;
|
|
1921
|
+
deletedAt?: Date;
|
|
1922
|
+
schedule: PaymentPlanSchedule[];
|
|
1923
|
+
product?: Product;
|
|
1924
|
+
}
|
|
1925
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
|
+
productId: number;
|
|
1927
|
+
resourceId: number;
|
|
1928
1928
|
resourceType: ResourceNameTypeEnum;
|
|
1929
1929
|
deletedAt?: Date;
|
|
1930
1930
|
programSeason: ProgramSeason;
|
|
@@ -1995,6 +1995,28 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1995
1995
|
program: Program;
|
|
1996
1996
|
deletedAt?: Date;
|
|
1997
1997
|
}
|
|
1998
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1999
|
+
productUserId: number;
|
|
2000
|
+
resourceId: number;
|
|
2001
|
+
resourceType: ResourceNameTypeEnum;
|
|
2002
|
+
status: PurchasedResourceStatusEnum;
|
|
2003
|
+
startDate?: string;
|
|
2004
|
+
startTime?: string;
|
|
2005
|
+
endDate?: string;
|
|
2006
|
+
endTime?: string;
|
|
2007
|
+
productUser?: ProductsUsers;
|
|
2008
|
+
lineItem?: LineItems;
|
|
2009
|
+
eventAttendee?: EventAttendee;
|
|
2010
|
+
seasonAttendee?: SeasonAttendee;
|
|
2011
|
+
leagueAttendee?: SeasonPool;
|
|
2012
|
+
membership?: Membership;
|
|
2013
|
+
program?: Program;
|
|
2014
|
+
programSeason?: ProgramSeason;
|
|
2015
|
+
leagueSeason?: LeagueSeason;
|
|
2016
|
+
space?: Resource;
|
|
2017
|
+
product?: Product;
|
|
2018
|
+
event?: Event;
|
|
2019
|
+
}
|
|
1998
2020
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1999
2021
|
programId: number;
|
|
2000
2022
|
name: string;
|
|
@@ -2050,37 +2072,10 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2050
2072
|
facility: Facility;
|
|
2051
2073
|
purchasedResources: PurchasedResource[];
|
|
2052
2074
|
}
|
|
2053
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2054
|
-
productUserId: number;
|
|
2055
|
-
resourceId: number;
|
|
2056
|
-
resourceType: ResourceNameTypeEnum;
|
|
2057
|
-
status: PurchasedResourceStatusEnum;
|
|
2058
|
-
startDate?: string;
|
|
2059
|
-
startTime?: string;
|
|
2060
|
-
endDate?: string;
|
|
2061
|
-
endTime?: string;
|
|
2062
|
-
productUser?: ProductsUsers;
|
|
2063
|
-
lineItem?: LineItems;
|
|
2064
|
-
eventAttendee?: EventAttendee;
|
|
2065
|
-
seasonAttendee?: SeasonAttendee;
|
|
2066
|
-
leagueAttendee?: SeasonPool;
|
|
2067
|
-
membership?: Membership;
|
|
2068
|
-
program?: Program;
|
|
2069
|
-
programSeason?: ProgramSeason;
|
|
2070
|
-
leagueSeason?: LeagueSeason;
|
|
2071
|
-
space?: Resource;
|
|
2072
|
-
product?: Product;
|
|
2073
|
-
event?: Event;
|
|
2074
|
-
}
|
|
2075
2075
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2076
2076
|
title: string | null;
|
|
2077
2077
|
answerTitle: AnswerTitle;
|
|
2078
2078
|
}
|
|
2079
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2080
|
-
reason: string;
|
|
2081
|
-
ordinal: number;
|
|
2082
|
-
deletedAt: Date;
|
|
2083
|
-
}
|
|
2084
2079
|
export declare class Questions extends BondBaseEntity {
|
|
2085
2080
|
questionType: string | null;
|
|
2086
2081
|
ordinal: number | null;
|
|
@@ -2095,6 +2090,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2095
2090
|
ownerId: number | null;
|
|
2096
2091
|
questionnaireId: number | null;
|
|
2097
2092
|
}
|
|
2093
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
|
+
reason: string;
|
|
2095
|
+
ordinal: number;
|
|
2096
|
+
deletedAt: Date;
|
|
2097
|
+
}
|
|
2098
2098
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2099
2099
|
resourceType: ResourceNameTypeEnum;
|
|
2100
2100
|
resourceId: number;
|
|
@@ -2138,6 +2138,34 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2138
2138
|
publicNotes?: string;
|
|
2139
2139
|
slots?: Slot[];
|
|
2140
2140
|
}
|
|
2141
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2142
|
+
name: string;
|
|
2143
|
+
resourceType: ResourceTypeEnum;
|
|
2144
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2145
|
+
description?: string;
|
|
2146
|
+
longDescription?: string;
|
|
2147
|
+
surface?: SurfacesEnum;
|
|
2148
|
+
properties?: SpacePropertiesEnum[];
|
|
2149
|
+
mainMediaId?: number;
|
|
2150
|
+
mainMedia: Media;
|
|
2151
|
+
sports: SportsEnum[];
|
|
2152
|
+
width?: number;
|
|
2153
|
+
length?: number;
|
|
2154
|
+
amenities?: AmenitiesEnum[];
|
|
2155
|
+
parentSpaceId?: number;
|
|
2156
|
+
ordinal?: number;
|
|
2157
|
+
isAddOn: boolean;
|
|
2158
|
+
ages?: ResourceAgesEnum;
|
|
2159
|
+
deletedAt?: Date;
|
|
2160
|
+
activityTimes: ActivityTimes[];
|
|
2161
|
+
facilities: Facility[];
|
|
2162
|
+
slots?: Slot[];
|
|
2163
|
+
addons?: Addon[];
|
|
2164
|
+
facilityId: number;
|
|
2165
|
+
facility: Facility;
|
|
2166
|
+
purchasedResources: PurchasedResource[];
|
|
2167
|
+
linkSEO: string;
|
|
2168
|
+
}
|
|
2141
2169
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2142
2170
|
name: string;
|
|
2143
2171
|
facilityId: number;
|
|
@@ -2173,34 +2201,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2173
2201
|
seasonId: number | null;
|
|
2174
2202
|
color: string | null;
|
|
2175
2203
|
}
|
|
2176
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2177
|
-
name: string;
|
|
2178
|
-
resourceType: ResourceTypeEnum;
|
|
2179
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2180
|
-
description?: string;
|
|
2181
|
-
longDescription?: string;
|
|
2182
|
-
surface?: SurfacesEnum;
|
|
2183
|
-
properties?: SpacePropertiesEnum[];
|
|
2184
|
-
mainMediaId?: number;
|
|
2185
|
-
mainMedia: Media;
|
|
2186
|
-
sports: SportsEnum[];
|
|
2187
|
-
width?: number;
|
|
2188
|
-
length?: number;
|
|
2189
|
-
amenities?: AmenitiesEnum[];
|
|
2190
|
-
parentSpaceId?: number;
|
|
2191
|
-
ordinal?: number;
|
|
2192
|
-
isAddOn: boolean;
|
|
2193
|
-
ages?: ResourceAgesEnum;
|
|
2194
|
-
deletedAt?: Date;
|
|
2195
|
-
activityTimes: ActivityTimes[];
|
|
2196
|
-
facilities: Facility[];
|
|
2197
|
-
slots?: Slot[];
|
|
2198
|
-
addons?: Addon[];
|
|
2199
|
-
facilityId: number;
|
|
2200
|
-
facility: Facility;
|
|
2201
|
-
purchasedResources: PurchasedResource[];
|
|
2202
|
-
linkSEO: string;
|
|
2203
|
-
}
|
|
2204
2204
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2205
2205
|
seasonId?: number;
|
|
2206
2206
|
userId?: number;
|
|
@@ -2291,15 +2291,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2291
2291
|
gender: number | null;
|
|
2292
2292
|
questionnaireId: number | null;
|
|
2293
2293
|
}
|
|
2294
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2295
|
-
teamId: number | null;
|
|
2296
|
-
userId: number | null;
|
|
2297
|
-
paymentId: number | null;
|
|
2298
|
-
hasPaid: boolean | null;
|
|
2299
|
-
status: TeamMemberStatusEnum | null;
|
|
2300
|
-
role: TeamMemberRoleEnum;
|
|
2301
|
-
user: User;
|
|
2302
|
-
}
|
|
2303
2294
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2304
2295
|
email: string;
|
|
2305
2296
|
teamId: number;
|
|
@@ -2309,6 +2300,15 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2309
2300
|
tokenExpirationDate: Date;
|
|
2310
2301
|
isUsed: boolean;
|
|
2311
2302
|
}
|
|
2303
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2304
|
+
teamId: number | null;
|
|
2305
|
+
userId: number | null;
|
|
2306
|
+
paymentId: number | null;
|
|
2307
|
+
hasPaid: boolean | null;
|
|
2308
|
+
status: TeamMemberStatusEnum | null;
|
|
2309
|
+
role: TeamMemberRoleEnum;
|
|
2310
|
+
user: User;
|
|
2311
|
+
}
|
|
2312
2312
|
export declare class User extends BondBaseEntity {
|
|
2313
2313
|
firstName: string | null;
|
|
2314
2314
|
lastName: string | null;
|
|
@@ -2379,6 +2379,12 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2379
2379
|
name: string;
|
|
2380
2380
|
variants: Variant[];
|
|
2381
2381
|
}
|
|
2382
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2383
|
+
name: string;
|
|
2384
|
+
variantTitleId: number;
|
|
2385
|
+
variantTitle: VariantTitle;
|
|
2386
|
+
deletedAt?: Date;
|
|
2387
|
+
}
|
|
2382
2388
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2383
2389
|
projectToken: string;
|
|
2384
2390
|
programTypesCollectionId?: string;
|
|
@@ -2387,439 +2393,73 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2387
2393
|
membershipCollectionId?: string;
|
|
2388
2394
|
programsCollectionId?: string;
|
|
2389
2395
|
}
|
|
2390
|
-
export declare
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
deletedAt?: Date;
|
|
2395
|
-
}
|
|
2396
|
-
export interface IEntitlementTerms {
|
|
2397
|
-
type: EntitlementTermsTypesEnum;
|
|
2398
|
-
id?: number;
|
|
2399
|
-
value?: string;
|
|
2400
|
-
minValue?: string;
|
|
2401
|
-
maxValue?: string;
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
2402
2400
|
}
|
|
2403
|
-
export
|
|
2404
|
-
|
|
2405
|
-
|
|
2401
|
+
export declare enum ResourceNameTypeEnum {
|
|
2402
|
+
EVENT = "event",
|
|
2403
|
+
VENUE = "venue",
|
|
2404
|
+
TEAM = "team",
|
|
2405
|
+
LEAGUE = "league",
|
|
2406
|
+
USER = "user",
|
|
2407
|
+
ORGANIZATION = "organization",
|
|
2408
|
+
APP = "app",
|
|
2409
|
+
FEED = "feed",
|
|
2410
|
+
MATCH = "match",
|
|
2411
|
+
ROUND = "round",
|
|
2412
|
+
PORTAL = "portal",
|
|
2413
|
+
SEASON = "season",
|
|
2414
|
+
TOURNAMENT = "tournament",
|
|
2415
|
+
MEMBERSHIP = "membership",
|
|
2416
|
+
DIVISION = "division",
|
|
2417
|
+
GAMESLOT = "gameslot",
|
|
2418
|
+
SPACE = "space",
|
|
2419
|
+
RESERVATION = "reservation",
|
|
2420
|
+
INVOICE = "invoice",
|
|
2421
|
+
CUSTOMER = "customer",
|
|
2422
|
+
PACKAGE = "package",
|
|
2423
|
+
FACILITY = "facility",
|
|
2424
|
+
PROGRAM = "program",
|
|
2425
|
+
PROGRAM_SEASON = "program_season",
|
|
2426
|
+
PRODUCT = "product",
|
|
2427
|
+
GROUP = "group",
|
|
2428
|
+
VARIANT = "variant",
|
|
2429
|
+
SLOT = "slot",
|
|
2430
|
+
ADDON = "addon"
|
|
2406
2431
|
}
|
|
2407
|
-
export
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
price: number;
|
|
2413
|
-
overridesPrice: boolean;
|
|
2432
|
+
export declare enum DirectBookingTypesEnum {
|
|
2433
|
+
DIRECT_FOR_ALL = "all",
|
|
2434
|
+
DIRECT_FOR_NONE = "none",
|
|
2435
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2436
|
+
NO_SETTING = "no_setting"
|
|
2414
2437
|
}
|
|
2415
|
-
export
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
isPunchCard: boolean;
|
|
2420
|
-
resources?: any[];
|
|
2438
|
+
export declare enum GenderEnum {
|
|
2439
|
+
OTHER = 1,
|
|
2440
|
+
MALE = 2,
|
|
2441
|
+
FEMALE = 3
|
|
2421
2442
|
}
|
|
2422
|
-
export
|
|
2423
|
-
|
|
2424
|
-
|
|
2443
|
+
export declare enum LevelOfPlayEnum {
|
|
2444
|
+
BEGINNER = 1,
|
|
2445
|
+
INTERMEDIATE = 2,
|
|
2446
|
+
ADVANCED = 3,
|
|
2447
|
+
SEMIPRO = 4,
|
|
2448
|
+
SPECTATOR = 5
|
|
2425
2449
|
}
|
|
2426
|
-
export
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2450
|
+
export declare enum ProgramTypesEnum {
|
|
2451
|
+
LEAGUE = 0,
|
|
2452
|
+
TOURNAMENT = 1,
|
|
2453
|
+
CLASS = 2,
|
|
2454
|
+
CLINIC = 3,
|
|
2455
|
+
CAMP = 4,
|
|
2456
|
+
LESSON = 5,
|
|
2457
|
+
CLUB_TEAM = 6
|
|
2430
2458
|
}
|
|
2431
|
-
export
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
payments: Payment[];
|
|
2436
|
-
products: Product[];
|
|
2437
|
-
redeemNext: ProductsUsers;
|
|
2438
|
-
}
|
|
2439
|
-
export interface ISeasonAttendeeListInfo {
|
|
2440
|
-
userId: number;
|
|
2441
|
-
userFirstName: string;
|
|
2442
|
-
userLastName: string;
|
|
2443
|
-
userGender: number;
|
|
2444
|
-
userBirthDate: Date;
|
|
2445
|
-
userProfilePicUrl: string;
|
|
2446
|
-
customerId: number;
|
|
2447
|
-
customerEmail: string;
|
|
2448
|
-
paymentStatus: string;
|
|
2449
|
-
productName: string;
|
|
2450
|
-
punchCard: boolean;
|
|
2451
|
-
}
|
|
2452
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2453
|
-
segmentType: ResourceNameTypeEnum;
|
|
2454
|
-
participantRegisteredDate?: string;
|
|
2455
|
-
}
|
|
2456
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2457
|
-
segmentType: ResourceNameTypeEnum;
|
|
2458
|
-
participantRegisteredDate?: string;
|
|
2459
|
-
}
|
|
2460
|
-
export interface ITokenResonse {
|
|
2461
|
-
token: string;
|
|
2462
|
-
}
|
|
2463
|
-
export interface IStripeBondInvoices {
|
|
2464
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2465
|
-
bondPaidPayment: Payment;
|
|
2466
|
-
invoice?: Invoice;
|
|
2467
|
-
customer?: Customer;
|
|
2468
|
-
}
|
|
2469
|
-
export interface IPartialPaymentData {
|
|
2470
|
-
purchasingUserId: number;
|
|
2471
|
-
paymentData: PurchasePaymentDto;
|
|
2472
|
-
amountToPay: number;
|
|
2473
|
-
}
|
|
2474
|
-
export interface IPayment {
|
|
2475
|
-
id: number;
|
|
2476
|
-
total: number;
|
|
2477
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2478
|
-
status: PaymentStatusEnum;
|
|
2479
|
-
createdAt: Date;
|
|
2480
|
-
invoices: number[];
|
|
2481
|
-
}
|
|
2482
|
-
export interface IPaginationData<T> {
|
|
2483
|
-
meta: {
|
|
2484
|
-
totalItems: number;
|
|
2485
|
-
itemsPerPage: number;
|
|
2486
|
-
totalPages: number;
|
|
2487
|
-
currentPage: number;
|
|
2488
|
-
};
|
|
2489
|
-
data: T[];
|
|
2490
|
-
}
|
|
2491
|
-
export interface IPricesOfProductsResults {
|
|
2492
|
-
productId: number;
|
|
2493
|
-
userId: number;
|
|
2494
|
-
price: number;
|
|
2495
|
-
groupId?: number;
|
|
2496
|
-
groupName?: string;
|
|
2497
|
-
originalPrice?: number;
|
|
2498
|
-
priceWithoutTax: number;
|
|
2499
|
-
tax: number;
|
|
2500
|
-
isTaxInclusive: boolean;
|
|
2501
|
-
}
|
|
2502
|
-
export interface IPaymentMethodToFundLeft {
|
|
2503
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2504
|
-
paymentMethodId: string;
|
|
2505
|
-
fundLeft: number;
|
|
2506
|
-
ccLast4?: string;
|
|
2507
|
-
ccBrand?: string;
|
|
2508
|
-
}
|
|
2509
|
-
export interface IVariantsAndTitle {
|
|
2510
|
-
title: VariantTitle;
|
|
2511
|
-
variants: Variant[];
|
|
2512
|
-
}
|
|
2513
|
-
export interface IProgramSeasonActivityTimes {
|
|
2514
|
-
dayOfWeek: number;
|
|
2515
|
-
open: string;
|
|
2516
|
-
close: string;
|
|
2517
|
-
}
|
|
2518
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2519
|
-
date: string;
|
|
2520
|
-
startTime: string;
|
|
2521
|
-
endTime: string;
|
|
2522
|
-
}
|
|
2523
|
-
export interface IBlockedDates {
|
|
2524
|
-
name: string;
|
|
2525
|
-
startDate: Date;
|
|
2526
|
-
endDate: Date;
|
|
2527
|
-
}
|
|
2528
|
-
export interface ISingleMemberForRenewal {
|
|
2529
|
-
member_id: number;
|
|
2530
|
-
member_membershipId: number;
|
|
2531
|
-
member_userId: number;
|
|
2532
|
-
member_nextPaymentMethodId?: string;
|
|
2533
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2534
|
-
member_answerTitleIds?: number[];
|
|
2535
|
-
member_organizationId: number;
|
|
2536
|
-
product_productPrice: number;
|
|
2537
|
-
product_productId: number;
|
|
2538
|
-
invoice_payingUserId: number;
|
|
2539
|
-
invoice_paymentMethodId: string;
|
|
2540
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2541
|
-
endDate: Date;
|
|
2542
|
-
membership_name: string;
|
|
2543
|
-
user_firstName: string;
|
|
2544
|
-
user_lastName: string;
|
|
2545
|
-
user_email: string;
|
|
2546
|
-
}
|
|
2547
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2548
|
-
package_parentProductId: number;
|
|
2549
|
-
product2_productPrice: number;
|
|
2550
|
-
familyid: number;
|
|
2551
|
-
invoice_id: number;
|
|
2552
|
-
}
|
|
2553
|
-
export interface IResourceRegistrationData {
|
|
2554
|
-
id: number;
|
|
2555
|
-
resourceType: ResourceNameTypeEnum;
|
|
2556
|
-
openNumDays?: number;
|
|
2557
|
-
openNumMinutes?: number;
|
|
2558
|
-
openTime?: string;
|
|
2559
|
-
closeNumDays?: number;
|
|
2560
|
-
closeNumMinutes?: number;
|
|
2561
|
-
closeTime?: string;
|
|
2562
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2563
|
-
}
|
|
2564
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2565
|
-
id: number;
|
|
2566
|
-
startDate: string;
|
|
2567
|
-
startTime: string;
|
|
2568
|
-
}
|
|
2569
|
-
export interface IRegistrationConstraintsSetting {
|
|
2570
|
-
numDays?: number;
|
|
2571
|
-
numMinutes?: number;
|
|
2572
|
-
}
|
|
2573
|
-
export interface IAttendeeDataToNotify {
|
|
2574
|
-
firstName: string;
|
|
2575
|
-
lastName: string;
|
|
2576
|
-
email: string;
|
|
2577
|
-
sessionName: string;
|
|
2578
|
-
parentSessionName?: string;
|
|
2579
|
-
organizationName: string;
|
|
2580
|
-
programName: string;
|
|
2581
|
-
}
|
|
2582
|
-
export interface IEventInSchedule {
|
|
2583
|
-
eventId: number;
|
|
2584
|
-
eventName: string;
|
|
2585
|
-
eventStartDate: string;
|
|
2586
|
-
eventEndDate: string;
|
|
2587
|
-
eventStartTime: string;
|
|
2588
|
-
eventEndTime: string;
|
|
2589
|
-
programId: number;
|
|
2590
|
-
programName: string;
|
|
2591
|
-
programType: ProgramTypesEnum;
|
|
2592
|
-
sessionId: number;
|
|
2593
|
-
sessionName: string;
|
|
2594
|
-
sports: number;
|
|
2595
|
-
spaces: {
|
|
2596
|
-
spaceId: number;
|
|
2597
|
-
spaceName: string;
|
|
2598
|
-
}[];
|
|
2599
|
-
status?: RegistrationValidationStatusEnum;
|
|
2600
|
-
}
|
|
2601
|
-
export interface ISlotInSchedule {
|
|
2602
|
-
facilityId: number;
|
|
2603
|
-
facilityName: string;
|
|
2604
|
-
spaces: ISpaceWithSlots[];
|
|
2605
|
-
}
|
|
2606
|
-
export interface ISpaceWithSlots {
|
|
2607
|
-
id: number;
|
|
2608
|
-
name: string;
|
|
2609
|
-
slots: ISlotReservationData[];
|
|
2610
|
-
}
|
|
2611
|
-
export interface ISlotReservationData {
|
|
2612
|
-
reservationId: number;
|
|
2613
|
-
reservationName: string;
|
|
2614
|
-
date: string;
|
|
2615
|
-
startTime: string;
|
|
2616
|
-
endTime: string;
|
|
2617
|
-
notes: string;
|
|
2618
|
-
spaceId: number;
|
|
2619
|
-
isRental: boolean;
|
|
2620
|
-
slotType: SlotTypeEnum;
|
|
2621
|
-
slotId: number;
|
|
2622
|
-
eventId: number;
|
|
2623
|
-
isPrivate: boolean;
|
|
2624
|
-
}
|
|
2625
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2626
|
-
parentSessionId: number;
|
|
2627
|
-
parentSessionName: string;
|
|
2628
|
-
eventTimezone: string;
|
|
2629
|
-
maxParticipants: number;
|
|
2630
|
-
maxMaleParticipants: number;
|
|
2631
|
-
maxFemaleParticipants: number;
|
|
2632
|
-
isPunchCard: boolean;
|
|
2633
|
-
}
|
|
2634
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2635
|
-
id: number;
|
|
2636
|
-
name: string;
|
|
2637
|
-
bookingCreatorId: number;
|
|
2638
|
-
}
|
|
2639
|
-
export interface IRawSlotInSchedule {
|
|
2640
|
-
startDate: string;
|
|
2641
|
-
endDate: string;
|
|
2642
|
-
startTime: string;
|
|
2643
|
-
endTime: string;
|
|
2644
|
-
reservationId: number;
|
|
2645
|
-
eventTitle: string;
|
|
2646
|
-
publicNotes: string;
|
|
2647
|
-
spaceId: number;
|
|
2648
|
-
creatorType: ResourceNameTypeEnum;
|
|
2649
|
-
slotType: SlotTypeEnum;
|
|
2650
|
-
slotId: number;
|
|
2651
|
-
eventId: number;
|
|
2652
|
-
isPrivate: boolean;
|
|
2653
|
-
}
|
|
2654
|
-
export interface IPurchasedResourcesRaw {
|
|
2655
|
-
purchasedId: number;
|
|
2656
|
-
purchasedProductUserId: number;
|
|
2657
|
-
purchasedResourceId: number;
|
|
2658
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2659
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2660
|
-
pUserId: number;
|
|
2661
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2662
|
-
pUserProductId: number;
|
|
2663
|
-
pUserProductName: string;
|
|
2664
|
-
pUserProductPrice: number;
|
|
2665
|
-
pUserProductPriceCurrency: string;
|
|
2666
|
-
pUserProductQuantity: number;
|
|
2667
|
-
pUserProductQuantityLeft: number;
|
|
2668
|
-
pUserUserId: number;
|
|
2669
|
-
}
|
|
2670
|
-
export interface IUsersPasses {
|
|
2671
|
-
userId: number;
|
|
2672
|
-
userFirstName: string;
|
|
2673
|
-
userLastName: string;
|
|
2674
|
-
organizationId: number;
|
|
2675
|
-
programId: number;
|
|
2676
|
-
programName: string;
|
|
2677
|
-
sessionId: number;
|
|
2678
|
-
sessionName: string;
|
|
2679
|
-
productId: number;
|
|
2680
|
-
productName: string;
|
|
2681
|
-
productUserId: number;
|
|
2682
|
-
purchaseDate: Date;
|
|
2683
|
-
passesLeft: number;
|
|
2684
|
-
}
|
|
2685
|
-
export interface ISessionsLandingPage {
|
|
2686
|
-
sessionId: number;
|
|
2687
|
-
name: string;
|
|
2688
|
-
startDate: Date;
|
|
2689
|
-
endDate: Date;
|
|
2690
|
-
registrationStartDate: Date;
|
|
2691
|
-
registrationEndDate: Date;
|
|
2692
|
-
sport: SportsEnum;
|
|
2693
|
-
minAge: string;
|
|
2694
|
-
maxAge: string;
|
|
2695
|
-
maxParticipants?: number;
|
|
2696
|
-
gender: GenderEnum;
|
|
2697
|
-
activityTimes: ActivityTimes[];
|
|
2698
|
-
earlyRegistrationStartDate?: Date;
|
|
2699
|
-
earlyRegistrationEndDate?: Date;
|
|
2700
|
-
lateRegistrationStartDate?: Date;
|
|
2701
|
-
lateRegistrationEndDate?: Date;
|
|
2702
|
-
attendeeCount?: number;
|
|
2703
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2704
|
-
}
|
|
2705
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2706
|
-
hasRequiredMembership: boolean;
|
|
2707
|
-
hasEntitledPricing: boolean;
|
|
2708
|
-
lowestPrice?: number;
|
|
2709
|
-
products?: ISessionLandingPageProduct[];
|
|
2710
|
-
}
|
|
2711
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2712
|
-
hasRequiredMembership: boolean;
|
|
2713
|
-
hasEntitledPricing: boolean;
|
|
2714
|
-
products?: ISessionLandingPageProduct[];
|
|
2715
|
-
segments?: Event[] | ProgramSeason[];
|
|
2716
|
-
programName: string;
|
|
2717
|
-
programId: number;
|
|
2718
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2719
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2720
|
-
}
|
|
2721
|
-
export interface ISlimAddons {
|
|
2722
|
-
addons?: {
|
|
2723
|
-
id: number;
|
|
2724
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2725
|
-
name: string;
|
|
2726
|
-
productType?: ProductTypesEnum;
|
|
2727
|
-
productSubType?: string;
|
|
2728
|
-
}[];
|
|
2729
|
-
}
|
|
2730
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2731
|
-
id: number;
|
|
2732
|
-
name: string;
|
|
2733
|
-
startDate?: Date;
|
|
2734
|
-
endDate?: Date;
|
|
2735
|
-
downpayment?: number;
|
|
2736
|
-
description?: string;
|
|
2737
|
-
prices: Price[];
|
|
2738
|
-
productSubType?: ProductSubTypesEnum;
|
|
2739
|
-
punchCard: boolean;
|
|
2740
|
-
isAddon: boolean;
|
|
2741
|
-
defaultPriceId?: number;
|
|
2742
|
-
}
|
|
2743
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2744
|
-
destinationId?: string;
|
|
2745
|
-
stripeCustomerId?: string;
|
|
2746
|
-
fee?: number;
|
|
2747
|
-
}
|
|
2748
|
-
export interface IReservationCreatorData {
|
|
2749
|
-
type: ResourceNameTypeEnum;
|
|
2750
|
-
id: number;
|
|
2751
|
-
organizationId: number;
|
|
2752
|
-
startDate: string;
|
|
2753
|
-
endDate: string;
|
|
2754
|
-
sportId: number;
|
|
2755
|
-
}
|
|
2756
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2757
|
-
QUESTION = "question",
|
|
2758
|
-
CITY = "city",
|
|
2759
|
-
MEMBERSHIP = "membership"
|
|
2760
|
-
}
|
|
2761
|
-
export declare enum ResourceNameTypeEnum {
|
|
2762
|
-
EVENT = "event",
|
|
2763
|
-
VENUE = "venue",
|
|
2764
|
-
TEAM = "team",
|
|
2765
|
-
LEAGUE = "league",
|
|
2766
|
-
USER = "user",
|
|
2767
|
-
ORGANIZATION = "organization",
|
|
2768
|
-
APP = "app",
|
|
2769
|
-
FEED = "feed",
|
|
2770
|
-
MATCH = "match",
|
|
2771
|
-
ROUND = "round",
|
|
2772
|
-
PORTAL = "portal",
|
|
2773
|
-
SEASON = "season",
|
|
2774
|
-
TOURNAMENT = "tournament",
|
|
2775
|
-
MEMBERSHIP = "membership",
|
|
2776
|
-
DIVISION = "division",
|
|
2777
|
-
GAMESLOT = "gameslot",
|
|
2778
|
-
SPACE = "space",
|
|
2779
|
-
RESERVATION = "reservation",
|
|
2780
|
-
INVOICE = "invoice",
|
|
2781
|
-
CUSTOMER = "customer",
|
|
2782
|
-
PACKAGE = "package",
|
|
2783
|
-
FACILITY = "facility",
|
|
2784
|
-
PROGRAM = "program",
|
|
2785
|
-
PROGRAM_SEASON = "program_season",
|
|
2786
|
-
PRODUCT = "product",
|
|
2787
|
-
GROUP = "group",
|
|
2788
|
-
VARIANT = "variant",
|
|
2789
|
-
SLOT = "slot",
|
|
2790
|
-
ADDON = "addon"
|
|
2791
|
-
}
|
|
2792
|
-
export declare enum DirectBookingTypesEnum {
|
|
2793
|
-
DIRECT_FOR_ALL = "all",
|
|
2794
|
-
DIRECT_FOR_NONE = "none",
|
|
2795
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2796
|
-
NO_SETTING = "no_setting"
|
|
2797
|
-
}
|
|
2798
|
-
export declare enum GenderEnum {
|
|
2799
|
-
OTHER = 1,
|
|
2800
|
-
MALE = 2,
|
|
2801
|
-
FEMALE = 3
|
|
2802
|
-
}
|
|
2803
|
-
export declare enum LevelOfPlayEnum {
|
|
2804
|
-
BEGINNER = 1,
|
|
2805
|
-
INTERMEDIATE = 2,
|
|
2806
|
-
ADVANCED = 3,
|
|
2807
|
-
SEMIPRO = 4,
|
|
2808
|
-
SPECTATOR = 5
|
|
2809
|
-
}
|
|
2810
|
-
export declare enum ProgramTypesEnum {
|
|
2811
|
-
LEAGUE = 0,
|
|
2812
|
-
TOURNAMENT = 1,
|
|
2813
|
-
CLASS = 2,
|
|
2814
|
-
CLINIC = 3,
|
|
2815
|
-
CAMP = 4,
|
|
2816
|
-
LESSON = 5,
|
|
2817
|
-
CLUB_TEAM = 6
|
|
2818
|
-
}
|
|
2819
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2820
|
-
ROUND_ROBIN = 1,
|
|
2821
|
-
BRACKETS = 2,
|
|
2822
|
-
CAMP_CLINIC_CLASS = 3
|
|
2459
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2460
|
+
ROUND_ROBIN = 1,
|
|
2461
|
+
BRACKETS = 2,
|
|
2462
|
+
CAMP_CLINIC_CLASS = 3
|
|
2823
2463
|
}
|
|
2824
2464
|
export declare enum SportsEnum {
|
|
2825
2465
|
SOFTBALL = 1,
|
|
@@ -3076,226 +2716,586 @@ export declare enum RolesEnum {
|
|
|
3076
2716
|
ORG_ADMIN = "organizationAdmin",
|
|
3077
2717
|
BOND_ADMIN = "bondAdmin"
|
|
3078
2718
|
}
|
|
3079
|
-
export declare enum SeasonPoolStatusEnum {
|
|
3080
|
-
IN_POOL = 5,
|
|
3081
|
-
ASSIGNED = 1,
|
|
3082
|
-
QUIT = 2,
|
|
3083
|
-
SUSPENDED = 3,
|
|
3084
|
-
INACTIVE = 4
|
|
2719
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2720
|
+
IN_POOL = 5,
|
|
2721
|
+
ASSIGNED = 1,
|
|
2722
|
+
QUIT = 2,
|
|
2723
|
+
SUSPENDED = 3,
|
|
2724
|
+
INACTIVE = 4
|
|
2725
|
+
}
|
|
2726
|
+
export declare enum AmenitiesEnum {
|
|
2727
|
+
HEAT = 1,
|
|
2728
|
+
AC = 2,
|
|
2729
|
+
WIFI = 3,
|
|
2730
|
+
RESTROOMS = 4,
|
|
2731
|
+
DRINKING_FOUNTAIN = 5,
|
|
2732
|
+
PARKING = 6,
|
|
2733
|
+
CONCESSIONS = 7,
|
|
2734
|
+
SHELTER = 8,
|
|
2735
|
+
PORTABLE_RESTROOMS = 9,
|
|
2736
|
+
LIGHTS = 10,
|
|
2737
|
+
LOCKER_ROOM = 11,
|
|
2738
|
+
PAID_PARKING = 12,
|
|
2739
|
+
ACCESSIBLE = 13
|
|
2740
|
+
}
|
|
2741
|
+
export declare enum ResourceSubTypeEnum {
|
|
2742
|
+
COURT = "court",
|
|
2743
|
+
FIELD = "field",
|
|
2744
|
+
ROOM = "room",
|
|
2745
|
+
DIAMOND = "diamond",
|
|
2746
|
+
RINK = "rink",
|
|
2747
|
+
STUDIO = "studio",
|
|
2748
|
+
POOL = "pool",
|
|
2749
|
+
BATTING_CAGE = "batting cage",
|
|
2750
|
+
SHELTER = "shelter",
|
|
2751
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2752
|
+
}
|
|
2753
|
+
export declare enum ResourceTypeEnum {
|
|
2754
|
+
SPACE = "space"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum ResourceAgesEnum {
|
|
2757
|
+
ADULTS = "adults",
|
|
2758
|
+
CHILDREN = "children"
|
|
2759
|
+
}
|
|
2760
|
+
export declare enum SpacePropertiesEnum {
|
|
2761
|
+
OUTDOOR = "outdoor",
|
|
2762
|
+
INDOOR = "indoor"
|
|
2763
|
+
}
|
|
2764
|
+
export declare enum SurfacesEnum {
|
|
2765
|
+
GRASS = "grass",
|
|
2766
|
+
TURF = "turf",
|
|
2767
|
+
FIELD_TURF = "fieldTurf",
|
|
2768
|
+
ASTRO_TURF = "astroTurf",
|
|
2769
|
+
HARDWOOD = "hardwood",
|
|
2770
|
+
ASPHALT = "asphalt",
|
|
2771
|
+
SAND = "sand",
|
|
2772
|
+
ICE = "ice",
|
|
2773
|
+
SPORT_COURT = "sportCourt"
|
|
2774
|
+
}
|
|
2775
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2776
|
+
MINUTES = "minutes",
|
|
2777
|
+
DAYS = "days"
|
|
2778
|
+
}
|
|
2779
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2780
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2781
|
+
OPEN = "open",
|
|
2782
|
+
CLOSED = "closed"
|
|
2783
|
+
}
|
|
2784
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2785
|
+
FULL = "full",
|
|
2786
|
+
ALREADY_REGISTERED = "registered",
|
|
2787
|
+
AVAILABLE = "available",
|
|
2788
|
+
NOT_OPEN_YET = "not opened",
|
|
2789
|
+
ALREADY_CLOSED = "closed",
|
|
2790
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2791
|
+
}
|
|
2792
|
+
export declare enum DiscountMethodsEnum {
|
|
2793
|
+
PERCENT = "percent",
|
|
2794
|
+
AMOUNT = "amount"
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2797
|
+
ORGANIZATION = "organization"
|
|
2798
|
+
}
|
|
2799
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2800
|
+
USA = "USA"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum DateTimeFormatsEnum {
|
|
2803
|
+
API_DATE = "YYYY/MM/DD",
|
|
2804
|
+
API_TIME = "HH:mm:ss",
|
|
2805
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2806
|
+
}
|
|
2807
|
+
export declare enum SlotTypeEnum {
|
|
2808
|
+
EXTERNAL = "external",
|
|
2809
|
+
INTERNAL = "internal",
|
|
2810
|
+
MAINTENANCE = "maintenance",
|
|
2811
|
+
CUSTOM = "custom"
|
|
2812
|
+
}
|
|
2813
|
+
export declare enum PlatformsEnum {
|
|
2814
|
+
CONSUMER = "consumer",
|
|
2815
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
+
BO = "backoffice",
|
|
2817
|
+
MOBILE = "mobile",
|
|
2818
|
+
CRON = "cron"
|
|
2819
|
+
}
|
|
2820
|
+
export declare enum ShiftStatusEnum {
|
|
2821
|
+
OPEN = "open",
|
|
2822
|
+
CLOSED = "closed",
|
|
2823
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2824
|
+
RECONCILED = "reconciled"
|
|
2825
|
+
}
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2872
|
+
}
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2881
|
+
}
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2886
|
+
}
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2891
|
+
}
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2895
|
+
}
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2906
|
+
}
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2911
|
+
}
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2916
|
+
}
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2920
|
+
}
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2926
|
+
}
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2932
|
+
}
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2939
|
+
}
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2946
|
+
}
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
2958
|
+
}
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
quantity: number;
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
2965
|
+
}
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
3085
2969
|
}
|
|
3086
|
-
export
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
RESTROOMS = 4,
|
|
3091
|
-
DRINKING_FOUNTAIN = 5,
|
|
3092
|
-
PARKING = 6,
|
|
3093
|
-
CONCESSIONS = 7,
|
|
3094
|
-
SHELTER = 8,
|
|
3095
|
-
PORTABLE_RESTROOMS = 9,
|
|
3096
|
-
LIGHTS = 10,
|
|
3097
|
-
LOCKER_ROOM = 11,
|
|
3098
|
-
PAID_PARKING = 12,
|
|
3099
|
-
ACCESSIBLE = 13
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3100
2974
|
}
|
|
3101
|
-
export
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
POOL = "pool",
|
|
3109
|
-
BATTING_CAGE = "batting cage",
|
|
3110
|
-
SHELTER = "shelter",
|
|
3111
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
3112
2982
|
}
|
|
3113
|
-
export
|
|
3114
|
-
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
3115
2995
|
}
|
|
3116
|
-
export declare
|
|
3117
|
-
|
|
3118
|
-
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
3119
2999
|
}
|
|
3120
|
-
export declare
|
|
3121
|
-
|
|
3122
|
-
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
3123
3003
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
TURF = "turf",
|
|
3127
|
-
FIELD_TURF = "fieldTurf",
|
|
3128
|
-
ASTRO_TURF = "astroTurf",
|
|
3129
|
-
HARDWOOD = "hardwood",
|
|
3130
|
-
ASPHALT = "asphalt",
|
|
3131
|
-
SAND = "sand",
|
|
3132
|
-
ICE = "ice",
|
|
3133
|
-
SPORT_COURT = "sportCourt"
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
3134
3006
|
}
|
|
3135
|
-
export
|
|
3136
|
-
|
|
3137
|
-
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
3138
3012
|
}
|
|
3139
|
-
export
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
3143
3017
|
}
|
|
3144
|
-
export
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
3151
3025
|
}
|
|
3152
|
-
export
|
|
3153
|
-
|
|
3154
|
-
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
3155
3034
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
3036
|
+
productId: number;
|
|
3037
|
+
userId: number;
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
3158
3045
|
}
|
|
3159
|
-
export
|
|
3160
|
-
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
3161
3052
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
DB_DATE = "YYYY-MM-DD"
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
3166
3056
|
}
|
|
3167
|
-
export
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
CUSTOM = "custom"
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3172
3061
|
}
|
|
3173
|
-
export
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
MOBILE = "mobile",
|
|
3178
|
-
CRON = "cron"
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3179
3066
|
}
|
|
3180
|
-
export
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
RECONCILED = "reconciled"
|
|
3067
|
+
export interface IBlockedDates {
|
|
3068
|
+
name: string;
|
|
3069
|
+
startDate: Date;
|
|
3070
|
+
endDate: Date;
|
|
3185
3071
|
}
|
|
3186
|
-
export
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3193
3090
|
}
|
|
3194
|
-
export
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
INTERNAL = "internal"
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3200
3096
|
}
|
|
3201
|
-
export
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3099
|
+
resourceType: ResourceNameTypeEnum;
|
|
3100
|
+
openNumDays?: number;
|
|
3101
|
+
openNumMinutes?: number;
|
|
3102
|
+
openTime?: string;
|
|
3103
|
+
closeNumDays?: number;
|
|
3104
|
+
closeNumMinutes?: number;
|
|
3105
|
+
closeTime?: string;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3205
3107
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3209
3112
|
}
|
|
3210
|
-
export
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
DAILY = "daily",
|
|
3214
|
-
MONTHLY = "monthly",
|
|
3215
|
-
YEARLY = "yearly"
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3216
3116
|
}
|
|
3217
|
-
export
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3222
3125
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3227
3144
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3146
|
+
facilityId: number;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3232
3149
|
}
|
|
3233
|
-
export
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
THURSDAY = 5,
|
|
3238
|
-
FRIDAY = 6,
|
|
3239
|
-
SATURDAY = 7,
|
|
3240
|
-
SUNDAY = 8
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3152
|
+
name: string;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3241
3154
|
}
|
|
3242
|
-
export
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3246
3168
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3251
3177
|
}
|
|
3252
|
-
export
|
|
3253
|
-
|
|
3254
|
-
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3255
3182
|
}
|
|
3256
|
-
export
|
|
3257
|
-
|
|
3258
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3259
3197
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3266
3213
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3214
|
+
export interface IUsersPasses {
|
|
3215
|
+
userId: number;
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3271
3228
|
}
|
|
3272
|
-
export
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3276
3248
|
}
|
|
3277
|
-
export
|
|
3278
|
-
|
|
3279
|
-
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3280
3254
|
}
|
|
3281
|
-
export
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3286
3264
|
}
|
|
3287
|
-
export
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3292
3273
|
}
|
|
3293
|
-
export
|
|
3294
|
-
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3276
|
+
name: string;
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3295
3286
|
}
|
|
3296
|
-
export
|
|
3297
|
-
|
|
3298
|
-
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3291
|
+
}
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3299
3299
|
}
|
|
3300
3300
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3301
3301
|
name?: string;
|
|
@@ -3311,11 +3311,6 @@ export declare class AddFamilyDto {
|
|
|
3311
3311
|
parents: AddImportedCustomerDto[];
|
|
3312
3312
|
children: AddImportedCustomerDto[];
|
|
3313
3313
|
}
|
|
3314
|
-
export declare class ColumnNumericTransformer {
|
|
3315
|
-
to(data: number): number;
|
|
3316
|
-
from(data: string): number;
|
|
3317
|
-
}
|
|
3318
|
-
export declare function convertToNumber(data: string): number;
|
|
3319
3314
|
export declare enum ImportPaymentTypeEnum {
|
|
3320
3315
|
CREDIT_CARD = "card",
|
|
3321
3316
|
ACH = "ach",
|
|
@@ -3367,10 +3362,6 @@ export declare class PunchPassDto {
|
|
|
3367
3362
|
BondSessionID: number;
|
|
3368
3363
|
ProductID: number;
|
|
3369
3364
|
}
|
|
3370
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3371
|
-
entityType: string;
|
|
3372
|
-
entityId: number;
|
|
3373
|
-
}
|
|
3374
3365
|
export declare class ImportedSlotProductDto {
|
|
3375
3366
|
slotID?: string;
|
|
3376
3367
|
name?: string;
|
|
@@ -3422,6 +3413,10 @@ export declare class ImportedReservationDto {
|
|
|
3422
3413
|
slots?: ImportedSlotDto[];
|
|
3423
3414
|
addons?: ImportedSlotProductDto[];
|
|
3424
3415
|
}
|
|
3416
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3417
|
+
entityType: string;
|
|
3418
|
+
entityId: number;
|
|
3419
|
+
}
|
|
3425
3420
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3426
3421
|
matchId: number | null;
|
|
3427
3422
|
ordinal: number | null;
|
|
@@ -3479,6 +3474,12 @@ export interface PaymentStatusesDict {
|
|
|
3479
3474
|
export interface PaymentStatusDict {
|
|
3480
3475
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3481
3476
|
}
|
|
3477
|
+
export declare class CreateMonitorConfigDto {
|
|
3478
|
+
facilityId: number;
|
|
3479
|
+
name: string;
|
|
3480
|
+
code: string;
|
|
3481
|
+
config: any;
|
|
3482
|
+
}
|
|
3482
3483
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3483
3484
|
facilityId: number;
|
|
3484
3485
|
code: string;
|
|
@@ -3777,6 +3778,11 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3777
3778
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3778
3779
|
totalAmountProcessed: number;
|
|
3779
3780
|
}
|
|
3781
|
+
export declare class ColumnNumericTransformer {
|
|
3782
|
+
to(data: number): number;
|
|
3783
|
+
from(data: string): number;
|
|
3784
|
+
}
|
|
3785
|
+
export declare function convertToNumber(data: string): number;
|
|
3780
3786
|
export declare class AddonDto {
|
|
3781
3787
|
productId: number;
|
|
3782
3788
|
id?: number;
|
|
@@ -4033,6 +4039,9 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
4033
4039
|
export declare class ReservationNotifyDto {
|
|
4034
4040
|
notifyMethods?: NotifyMethodEnum[];
|
|
4035
4041
|
}
|
|
4042
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4043
|
+
updateAddons?: boolean;
|
|
4044
|
+
}
|
|
4036
4045
|
export declare class SegmentDto {
|
|
4037
4046
|
id?: number;
|
|
4038
4047
|
title: string;
|
|
@@ -4565,12 +4574,6 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4565
4574
|
export declare class CreateRoleDto {
|
|
4566
4575
|
name: string;
|
|
4567
4576
|
}
|
|
4568
|
-
export declare class CreateMonitorConfigDto {
|
|
4569
|
-
facilityId: number;
|
|
4570
|
-
name: string;
|
|
4571
|
-
code: string;
|
|
4572
|
-
config: any;
|
|
4573
|
-
}
|
|
4574
4577
|
export declare class Permission extends BondBaseEntity {
|
|
4575
4578
|
name: string;
|
|
4576
4579
|
deletedAt?: Date;
|