@bondsports/types 0.0.164 → 0.0.166
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 +416 -415
- 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
|
@@ -282,62 +282,6 @@ export declare class PaginationRangeQuery {
|
|
|
282
282
|
endPage: number;
|
|
283
283
|
itemsPerPage: number;
|
|
284
284
|
}
|
|
285
|
-
export declare class CreateMembershipDto {
|
|
286
|
-
organizationId: number;
|
|
287
|
-
name: string;
|
|
288
|
-
description?: string;
|
|
289
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
290
|
-
activity: SportsEnum;
|
|
291
|
-
facilityId: number;
|
|
292
|
-
questionnaires: number[];
|
|
293
|
-
minAgeYears: number;
|
|
294
|
-
maxAgeYears: number;
|
|
295
|
-
gender: GenderEnum;
|
|
296
|
-
maxMembers?: number;
|
|
297
|
-
maxMaleMembers?: number;
|
|
298
|
-
maxFemaleMembers?: number;
|
|
299
|
-
startDate: string;
|
|
300
|
-
endDate: string;
|
|
301
|
-
registrationStartDate?: Date;
|
|
302
|
-
registrationEndDate?: Date;
|
|
303
|
-
membershipType: MembershipTypeEnum;
|
|
304
|
-
durationMonths: number;
|
|
305
|
-
longDescription?: string;
|
|
306
|
-
isAutoRenew?: boolean;
|
|
307
|
-
}
|
|
308
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
309
|
-
id: number;
|
|
310
|
-
}
|
|
311
|
-
export declare class UpdateMembershipMediaDto {
|
|
312
|
-
membershipId: number;
|
|
313
|
-
mediaId: number;
|
|
314
|
-
}
|
|
315
|
-
export declare class FindMembershipByIdDto {
|
|
316
|
-
membershipId: number;
|
|
317
|
-
}
|
|
318
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
319
|
-
organizationId: number;
|
|
320
|
-
}
|
|
321
|
-
export declare class FindMembershipsByUserIdDto {
|
|
322
|
-
userId: number;
|
|
323
|
-
}
|
|
324
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
325
|
-
startDate: string;
|
|
326
|
-
}
|
|
327
|
-
export declare class MembershipIdsDto {
|
|
328
|
-
membershipIds?: number[];
|
|
329
|
-
}
|
|
330
|
-
export declare class MemberIdDto {
|
|
331
|
-
memberId?: number;
|
|
332
|
-
}
|
|
333
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
334
|
-
nameEmailSearch?: string;
|
|
335
|
-
pastMemberships?: string;
|
|
336
|
-
}
|
|
337
|
-
export declare class CancelMembershipDto {
|
|
338
|
-
isImmediatelyCancel: boolean;
|
|
339
|
-
cancellationReason?: string;
|
|
340
|
-
}
|
|
341
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
342
286
|
organizationId: number;
|
|
343
287
|
}
|
|
@@ -421,6 +365,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
421
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
422
366
|
fileName: string;
|
|
423
367
|
}
|
|
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;
|
|
@@ -448,20 +448,241 @@ export declare class FindGroupItemsPricingsDto {
|
|
|
448
448
|
export declare class CreateEntitlementGroupDto {
|
|
449
449
|
name: string;
|
|
450
450
|
}
|
|
451
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
-
itemIds: number[];
|
|
453
|
-
itemType: string;
|
|
451
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
+
itemIds: number[];
|
|
453
|
+
itemType: string;
|
|
454
|
+
}
|
|
455
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
456
|
+
groupid: number;
|
|
457
|
+
}
|
|
458
|
+
export declare class CreateGroupPricingWithProduct {
|
|
459
|
+
groupId: number;
|
|
460
|
+
price: number;
|
|
461
|
+
startDate?: Date;
|
|
462
|
+
endDate?: Date;
|
|
463
|
+
discountValue?: number;
|
|
464
|
+
discountMethod?: DiscountMethodsEnum;
|
|
465
|
+
}
|
|
466
|
+
export declare class FindByProductIdDto {
|
|
467
|
+
productId: number;
|
|
468
|
+
}
|
|
469
|
+
export declare class FindPriceOfProductDto {
|
|
470
|
+
id: number;
|
|
471
|
+
userId: number;
|
|
472
|
+
resources: ResourceDto[];
|
|
473
|
+
}
|
|
474
|
+
export declare class FindPricesOfProductsDto {
|
|
475
|
+
products: FindPriceOfProductDto[];
|
|
476
|
+
answers: UserAnswersDto[];
|
|
477
|
+
}
|
|
478
|
+
export declare class FindPackageByResourceDto {
|
|
479
|
+
resourceType: ResourceNameTypeEnum;
|
|
480
|
+
resourceId: number;
|
|
481
|
+
}
|
|
482
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
483
|
+
organizationId: number;
|
|
484
|
+
}
|
|
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;
|
|
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[];
|
|
531
|
+
}
|
|
532
|
+
export declare class VariantWithPrice {
|
|
533
|
+
variantIds: number[];
|
|
534
|
+
price: CreatePriceDto[];
|
|
535
|
+
}
|
|
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;
|
|
546
|
+
}
|
|
547
|
+
export declare class CreatePackageDto {
|
|
548
|
+
parentProductId: number;
|
|
549
|
+
productsData?: ProductInPackage[];
|
|
550
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
551
|
+
}
|
|
552
|
+
export declare class CreatePackageToResourceDto {
|
|
553
|
+
resourceId: number;
|
|
554
|
+
resourceType: ResourceNameTypeEnum;
|
|
555
|
+
isCreateToChildProducts: boolean;
|
|
556
|
+
productsData: ProductInPackage[];
|
|
557
|
+
}
|
|
558
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
559
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
560
|
+
amountInPackage?: number;
|
|
561
|
+
level?: ProductPackageLevelEnum;
|
|
562
|
+
}
|
|
563
|
+
export declare class ExistingProductToPackageDto {
|
|
564
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
565
|
+
id: number;
|
|
566
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
567
|
+
level?: ProductPackageLevelEnum;
|
|
568
|
+
}
|
|
569
|
+
export declare class ConnectProductResourceDto {
|
|
570
|
+
productId: number;
|
|
571
|
+
resourceType: ResourceNameTypeEnum;
|
|
572
|
+
resourceIds: number[];
|
|
573
|
+
}
|
|
574
|
+
export declare class ReturnRequiredProductsDto {
|
|
575
|
+
userId: number;
|
|
576
|
+
productId: number;
|
|
577
|
+
redeemRelevantDate?: string;
|
|
578
|
+
}
|
|
579
|
+
export declare class FindByProductUserIdsDto {
|
|
580
|
+
userId: number;
|
|
581
|
+
organizationId: number;
|
|
582
|
+
}
|
|
583
|
+
export declare class AddRequiredProductsDto {
|
|
584
|
+
productId: number;
|
|
585
|
+
requiredProductIds: number[];
|
|
586
|
+
}
|
|
587
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
588
|
+
productIds?: number[];
|
|
589
|
+
includePrices?: boolean;
|
|
590
|
+
productType?: ProductTypesEnum;
|
|
591
|
+
includeAddons?: string;
|
|
592
|
+
}
|
|
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;
|
|
454
660
|
}
|
|
455
|
-
export declare class
|
|
456
|
-
|
|
661
|
+
export declare class SetStationSubcategoriesDto {
|
|
662
|
+
stationId: number;
|
|
663
|
+
subcategoryIds?: number[];
|
|
664
|
+
categories?: string[];
|
|
457
665
|
}
|
|
458
|
-
export declare class
|
|
459
|
-
|
|
666
|
+
export declare class createRentalProductAddonDto {
|
|
667
|
+
productId: number;
|
|
460
668
|
price: number;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
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;
|
|
@@ -836,246 +1057,25 @@ export declare class UpdateSpacePropertiesDto {
|
|
|
836
1057
|
ages?: ResourceAgesEnum;
|
|
837
1058
|
}
|
|
838
1059
|
export declare class UpdateSpaceTimesDto {
|
|
839
|
-
activityTimes: BasicActivityTimesDto[];
|
|
840
|
-
}
|
|
841
|
-
export declare class UpdateSpaceRelationshipsDto {
|
|
842
|
-
resourceGroupId?: number;
|
|
843
|
-
blockedResourcesIds?: number[];
|
|
844
|
-
}
|
|
845
|
-
export declare class SaveSpaceDependenciesDto {
|
|
846
|
-
blockedSpacesIds: number[];
|
|
847
|
-
parentSpaceId?: number;
|
|
848
|
-
}
|
|
849
|
-
export declare class FacilitySlotsScheduleQueryParams {
|
|
850
|
-
spacesIds?: string;
|
|
851
|
-
futureHoursLimit?: number;
|
|
852
|
-
}
|
|
853
|
-
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
854
|
-
nameSearch?: string;
|
|
855
|
-
facilitiesIds?: string;
|
|
856
|
-
types?: string;
|
|
857
|
-
resourcesIds?: string;
|
|
858
|
-
}
|
|
859
|
-
export declare class FindByProductIdDto {
|
|
860
|
-
productId: number;
|
|
861
|
-
}
|
|
862
|
-
export declare class FindPriceOfProductDto {
|
|
863
|
-
id: number;
|
|
864
|
-
userId: number;
|
|
865
|
-
resources: ResourceDto[];
|
|
866
|
-
}
|
|
867
|
-
export declare class FindPricesOfProductsDto {
|
|
868
|
-
products: FindPriceOfProductDto[];
|
|
869
|
-
answers: UserAnswersDto[];
|
|
870
|
-
}
|
|
871
|
-
export declare class FindPackageByResourceDto {
|
|
872
|
-
resourceType: ResourceNameTypeEnum;
|
|
873
|
-
resourceId: number;
|
|
874
|
-
}
|
|
875
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
876
|
-
organizationId: number;
|
|
877
|
-
}
|
|
878
|
-
export declare class CreateProductsDto {
|
|
879
|
-
products: CreateProductDto[];
|
|
880
|
-
addOnsData?: ProductInPackage[];
|
|
881
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
882
|
-
}
|
|
883
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
884
|
-
name: string;
|
|
885
|
-
}
|
|
886
|
-
export declare class CreateProductDto {
|
|
887
|
-
id?: number;
|
|
888
|
-
organizationId: number;
|
|
889
|
-
name: string;
|
|
890
|
-
quantity?: number;
|
|
891
|
-
isPublic: boolean;
|
|
892
|
-
startDate?: Date;
|
|
893
|
-
endDate?: Date;
|
|
894
|
-
description?: string;
|
|
895
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
896
|
-
resourcesIdsToApplyOn?: number[];
|
|
897
|
-
GL?: string;
|
|
898
|
-
prices: CreatePriceDto[];
|
|
899
|
-
downpayment?: number;
|
|
900
|
-
productType: ProductTypesEnum;
|
|
901
|
-
subProductType?: string;
|
|
902
|
-
defaultForResourceId?: number;
|
|
903
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
904
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
905
|
-
variantTitleIds?: number[];
|
|
906
|
-
variants?: VariantWithPrice[];
|
|
907
|
-
variantParentId?: number;
|
|
908
|
-
isAddon?: boolean;
|
|
909
|
-
isArchive?: boolean;
|
|
910
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
911
|
-
isProRated?: boolean;
|
|
912
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
913
|
-
isTaxInclusive?: boolean;
|
|
914
|
-
tax?: number;
|
|
915
|
-
sports?: number[];
|
|
916
|
-
durationMinutes?: number;
|
|
917
|
-
durationDays?: number;
|
|
918
|
-
forms?: number[];
|
|
919
|
-
isForAllCustomers?: boolean;
|
|
920
|
-
membershipsAvailableFor?: number[];
|
|
921
|
-
customersAvailableFor?: number[];
|
|
922
|
-
addons?: createRentalProductAddonDto[];
|
|
923
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
924
|
-
}
|
|
925
|
-
export declare class VariantWithPrice {
|
|
926
|
-
variantIds: number[];
|
|
927
|
-
price: CreatePriceDto[];
|
|
928
|
-
}
|
|
929
|
-
export declare class CreatePriceDto {
|
|
930
|
-
id?: number;
|
|
931
|
-
price: number;
|
|
932
|
-
currency: CurrencyEnum;
|
|
933
|
-
name: string;
|
|
934
|
-
startDate?: Date;
|
|
935
|
-
endDate?: Date;
|
|
936
|
-
discountValue?: number;
|
|
937
|
-
discountMethod?: DiscountMethodsEnum;
|
|
938
|
-
isDefaultPriceForProduct?: boolean;
|
|
939
|
-
}
|
|
940
|
-
export declare class CreatePackageDto {
|
|
941
|
-
parentProductId: number;
|
|
942
|
-
productsData?: ProductInPackage[];
|
|
943
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
944
|
-
}
|
|
945
|
-
export declare class CreatePackageToResourceDto {
|
|
946
|
-
resourceId: number;
|
|
947
|
-
resourceType: ResourceNameTypeEnum;
|
|
948
|
-
isCreateToChildProducts: boolean;
|
|
949
|
-
productsData: ProductInPackage[];
|
|
950
|
-
}
|
|
951
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
952
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
953
|
-
amountInPackage?: number;
|
|
954
|
-
level?: ProductPackageLevelEnum;
|
|
955
|
-
}
|
|
956
|
-
export declare class ExistingProductToPackageDto {
|
|
957
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
958
|
-
id: number;
|
|
959
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
960
|
-
level?: ProductPackageLevelEnum;
|
|
961
|
-
}
|
|
962
|
-
export declare class ConnectProductResourceDto {
|
|
963
|
-
productId: number;
|
|
964
|
-
resourceType: ResourceNameTypeEnum;
|
|
965
|
-
resourceIds: number[];
|
|
966
|
-
}
|
|
967
|
-
export declare class ReturnRequiredProductsDto {
|
|
968
|
-
userId: number;
|
|
969
|
-
productId: number;
|
|
970
|
-
redeemRelevantDate?: string;
|
|
971
|
-
}
|
|
972
|
-
export declare class FindByProductUserIdsDto {
|
|
973
|
-
userId: number;
|
|
974
|
-
organizationId: number;
|
|
975
|
-
}
|
|
976
|
-
export declare class AddRequiredProductsDto {
|
|
977
|
-
productId: number;
|
|
978
|
-
requiredProductIds: number[];
|
|
979
|
-
}
|
|
980
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
981
|
-
productIds?: number[];
|
|
982
|
-
includePrices?: boolean;
|
|
983
|
-
productType?: ProductTypesEnum;
|
|
984
|
-
includeAddons?: string;
|
|
985
|
-
}
|
|
986
|
-
export declare class GetByOrganizationIdDto {
|
|
987
|
-
organizationId?: number;
|
|
988
|
-
}
|
|
989
|
-
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
990
|
-
invoiceId?: number;
|
|
991
|
-
}
|
|
992
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
993
|
-
productIds?: string;
|
|
994
|
-
includePrices?: boolean;
|
|
995
|
-
productType?: string;
|
|
996
|
-
productSubType?: string;
|
|
997
|
-
search?: string;
|
|
998
|
-
includeAddons?: boolean;
|
|
999
|
-
includeArchived?: boolean;
|
|
1000
|
-
includeAllData?: boolean;
|
|
1001
|
-
resourceIds?: string;
|
|
1002
|
-
sports?: string;
|
|
1003
|
-
}
|
|
1004
|
-
export declare class GetAllVariantTitlesDto {
|
|
1005
|
-
organizationId: number;
|
|
1006
|
-
}
|
|
1007
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
1008
|
-
organizationId: number;
|
|
1009
|
-
}
|
|
1010
|
-
export declare class CreateVariantTitleDto {
|
|
1011
|
-
organizationId: number;
|
|
1012
|
-
title: string;
|
|
1013
|
-
variants: string[];
|
|
1014
|
-
}
|
|
1015
|
-
export declare class UpdateVariantTitleDto {
|
|
1016
|
-
organizationId: number;
|
|
1017
|
-
titleId: number;
|
|
1018
|
-
title: string;
|
|
1019
|
-
variants: string[];
|
|
1020
|
-
}
|
|
1021
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1022
|
-
customerId: number;
|
|
1023
|
-
}
|
|
1024
|
-
export declare class GetExtraProductDataDto {
|
|
1025
|
-
isPublic?: boolean;
|
|
1026
|
-
isGetByChildResources?: boolean;
|
|
1027
|
-
isGetEntitlePricing?: boolean;
|
|
1028
|
-
isGetAddOns?: boolean;
|
|
1029
|
-
includeResources?: boolean;
|
|
1030
|
-
includeArchived?: boolean;
|
|
1031
|
-
}
|
|
1032
|
-
export declare class GetBySessionType {
|
|
1033
|
-
sessionType: 'event' | 'segment';
|
|
1034
|
-
}
|
|
1035
|
-
export declare class CreateSubcategoryDto {
|
|
1036
|
-
productType: ProductTypesEnum;
|
|
1037
|
-
name: string;
|
|
1038
|
-
stationId?: number;
|
|
1039
|
-
ordinal?: number;
|
|
1040
|
-
}
|
|
1041
|
-
export declare class CreateSubcategoriesDto {
|
|
1042
|
-
subcategories: CreateSubcategoryDto[];
|
|
1043
|
-
}
|
|
1044
|
-
export declare class UpdateSubcategoryDto {
|
|
1045
|
-
id: number;
|
|
1046
|
-
productType?: ProductTypesEnum;
|
|
1047
|
-
name?: string;
|
|
1048
|
-
stationId?: number;
|
|
1049
|
-
ordinal?: number;
|
|
1050
|
-
}
|
|
1051
|
-
export declare class GetSubcategoryDto {
|
|
1052
|
-
stationId?: number;
|
|
1053
|
-
}
|
|
1054
|
-
export declare class SetStationSubcategoriesDto {
|
|
1055
|
-
stationId: number;
|
|
1056
|
-
subcategoryIds?: number[];
|
|
1057
|
-
categories?: string[];
|
|
1060
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1058
1061
|
}
|
|
1059
|
-
export declare class
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
isFlatPrice: boolean;
|
|
1063
|
-
isMandatory: boolean;
|
|
1064
|
-
level: ProductPackageLevelEnum;
|
|
1062
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1063
|
+
resourceGroupId?: number;
|
|
1064
|
+
blockedResourcesIds?: number[];
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
daysOfWeek: number[];
|
|
1070
|
-
startTime: string;
|
|
1071
|
-
endTime: string;
|
|
1066
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1067
|
+
blockedSpacesIds: number[];
|
|
1068
|
+
parentSpaceId?: number;
|
|
1072
1069
|
}
|
|
1073
|
-
export declare class
|
|
1074
|
-
|
|
1075
|
-
|
|
1070
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1071
|
+
spacesIds?: string;
|
|
1072
|
+
futureHoursLimit?: number;
|
|
1076
1073
|
}
|
|
1077
|
-
export declare class
|
|
1078
|
-
|
|
1074
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1075
|
+
nameSearch?: string;
|
|
1076
|
+
facilitiesIds?: string;
|
|
1077
|
+
types?: string;
|
|
1078
|
+
resourcesIds?: string;
|
|
1079
1079
|
}
|
|
1080
1080
|
export declare class StripeCustomerIdDto {
|
|
1081
1081
|
userId: number;
|
|
@@ -1411,9 +1411,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1411
1411
|
chargedAt?: Date;
|
|
1412
1412
|
originalPlannedDate?: Date;
|
|
1413
1413
|
}
|
|
1414
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1415
|
-
code: string;
|
|
1416
|
-
}
|
|
1417
1414
|
export declare class Group extends BondBaseEntity {
|
|
1418
1415
|
name: string;
|
|
1419
1416
|
description?: string;
|
|
@@ -1443,6 +1440,9 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1443
1440
|
discountMethod?: DiscountMethodsEnum;
|
|
1444
1441
|
discountValue?: number;
|
|
1445
1442
|
}
|
|
1443
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1444
|
+
code: string;
|
|
1445
|
+
}
|
|
1446
1446
|
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1447
1447
|
groupId: number;
|
|
1448
1448
|
divisionId: number;
|
|
@@ -1483,6 +1483,15 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1483
1483
|
mailParams?: any;
|
|
1484
1484
|
memo?: string;
|
|
1485
1485
|
}
|
|
1486
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
|
+
content: string;
|
|
1488
|
+
creatingUserId: number;
|
|
1489
|
+
user: User;
|
|
1490
|
+
isPublic: boolean;
|
|
1491
|
+
deletedAt: Date;
|
|
1492
|
+
invoiceId: number;
|
|
1493
|
+
invoice: Invoice;
|
|
1494
|
+
}
|
|
1486
1495
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1487
1496
|
invoiceId: number;
|
|
1488
1497
|
paymentId: number;
|
|
@@ -1561,16 +1570,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1561
1570
|
league?: boolean;
|
|
1562
1571
|
facilities?: boolean;
|
|
1563
1572
|
}
|
|
1564
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1565
|
-
invoiceId: number;
|
|
1566
|
-
paymentId: number;
|
|
1567
|
-
lineItemId: number;
|
|
1568
|
-
paidAmount: number;
|
|
1569
|
-
unitPaidAmount: number;
|
|
1570
|
-
currency: CurrencyEnum;
|
|
1571
|
-
payment: Payment;
|
|
1572
|
-
lineItem: LineItems;
|
|
1573
|
-
}
|
|
1574
1573
|
export declare class LineItems extends BondBaseEntity {
|
|
1575
1574
|
constructor();
|
|
1576
1575
|
defineIsReverted(): void;
|
|
@@ -1626,6 +1625,16 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1626
1625
|
displayUnitPrice?: number;
|
|
1627
1626
|
displayQuantity?: number;
|
|
1628
1627
|
}
|
|
1628
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1629
|
+
invoiceId: number;
|
|
1630
|
+
paymentId: number;
|
|
1631
|
+
lineItemId: number;
|
|
1632
|
+
paidAmount: number;
|
|
1633
|
+
unitPaidAmount: number;
|
|
1634
|
+
currency: CurrencyEnum;
|
|
1635
|
+
payment: Payment;
|
|
1636
|
+
lineItem: LineItems;
|
|
1637
|
+
}
|
|
1629
1638
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1630
1639
|
id: number;
|
|
1631
1640
|
provider: string;
|
|
@@ -1661,15 +1670,6 @@ export declare class Media extends BondBaseEntity {
|
|
|
1661
1670
|
programs: Program[];
|
|
1662
1671
|
memberships: Membership[];
|
|
1663
1672
|
}
|
|
1664
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1665
|
-
content: string;
|
|
1666
|
-
creatingUserId: number;
|
|
1667
|
-
user: User;
|
|
1668
|
-
isPublic: boolean;
|
|
1669
|
-
deletedAt: Date;
|
|
1670
|
-
invoiceId: number;
|
|
1671
|
-
invoice: Invoice;
|
|
1672
|
-
}
|
|
1673
1673
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1674
1674
|
name: string;
|
|
1675
1675
|
description?: string;
|
|
@@ -2300,15 +2300,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2300
2300
|
tokenExpirationDate: Date;
|
|
2301
2301
|
isUsed: boolean;
|
|
2302
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
2303
|
export declare class User extends BondBaseEntity {
|
|
2313
2304
|
firstName: string | null;
|
|
2314
2305
|
lastName: string | null;
|
|
@@ -2348,6 +2339,15 @@ export declare class User extends BondBaseEntity {
|
|
|
2348
2339
|
invoiceNotes: InvoiceNote[];
|
|
2349
2340
|
paymentNotes: PaymentNote[];
|
|
2350
2341
|
}
|
|
2342
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2343
|
+
teamId: number | null;
|
|
2344
|
+
userId: number | null;
|
|
2345
|
+
paymentId: number | null;
|
|
2346
|
+
hasPaid: boolean | null;
|
|
2347
|
+
status: TeamMemberStatusEnum | null;
|
|
2348
|
+
role: TeamMemberRoleEnum;
|
|
2349
|
+
user: User;
|
|
2350
|
+
}
|
|
2351
2351
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2352
2352
|
entityId: number | null;
|
|
2353
2353
|
userId: number | null;
|
|
@@ -3297,11 +3297,6 @@ export interface IReservationCreatorData {
|
|
|
3297
3297
|
endDate: string;
|
|
3298
3298
|
sportId: number;
|
|
3299
3299
|
}
|
|
3300
|
-
export declare class ColumnNumericTransformer {
|
|
3301
|
-
to(data: number): number;
|
|
3302
|
-
from(data: string): number;
|
|
3303
|
-
}
|
|
3304
|
-
export declare function convertToNumber(data: string): number;
|
|
3305
3300
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3306
3301
|
name?: string;
|
|
3307
3302
|
genderStr?: string;
|
|
@@ -3351,15 +3346,6 @@ export declare class ImportedPaymentDto {
|
|
|
3351
3346
|
date: string;
|
|
3352
3347
|
time: string;
|
|
3353
3348
|
}
|
|
3354
|
-
export declare class ProductIdsDto {
|
|
3355
|
-
productIds?: number[];
|
|
3356
|
-
}
|
|
3357
|
-
export declare class ProductImportDto {
|
|
3358
|
-
product: Product;
|
|
3359
|
-
prices: Price[];
|
|
3360
|
-
resourceIds: number[];
|
|
3361
|
-
oldId: number;
|
|
3362
|
-
}
|
|
3363
3349
|
export declare class PunchPassDto {
|
|
3364
3350
|
CustomerID: string;
|
|
3365
3351
|
QuantityLeft: number;
|
|
@@ -3490,6 +3476,13 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3490
3476
|
code: string;
|
|
3491
3477
|
config?: any;
|
|
3492
3478
|
}
|
|
3479
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3480
|
+
userId: number;
|
|
3481
|
+
organizationId: number;
|
|
3482
|
+
notifyMetadata?: any;
|
|
3483
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3484
|
+
destination: string;
|
|
3485
|
+
}
|
|
3493
3486
|
export declare class ByOrganizationIdDto {
|
|
3494
3487
|
organizationId: number;
|
|
3495
3488
|
}
|
|
@@ -3587,13 +3580,6 @@ export interface Duration {
|
|
|
3587
3580
|
startDate: string;
|
|
3588
3581
|
endDate: string;
|
|
3589
3582
|
}
|
|
3590
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3591
|
-
userId: number;
|
|
3592
|
-
organizationId: number;
|
|
3593
|
-
notifyMetadata?: any;
|
|
3594
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3595
|
-
destination: string;
|
|
3596
|
-
}
|
|
3597
3583
|
export declare class CustomerIdDto {
|
|
3598
3584
|
customerId: number;
|
|
3599
3585
|
}
|
|
@@ -3716,6 +3702,15 @@ export declare class SendRequestDto {
|
|
|
3716
3702
|
sendToEmail: string;
|
|
3717
3703
|
memo?: string;
|
|
3718
3704
|
}
|
|
3705
|
+
export declare class ProductIdsDto {
|
|
3706
|
+
productIds?: number[];
|
|
3707
|
+
}
|
|
3708
|
+
export declare class ProductImportDto {
|
|
3709
|
+
product: Product;
|
|
3710
|
+
prices: Price[];
|
|
3711
|
+
resourceIds: number[];
|
|
3712
|
+
oldId: number;
|
|
3713
|
+
}
|
|
3719
3714
|
export declare class RefundDto {
|
|
3720
3715
|
invoiceId: number;
|
|
3721
3716
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -4035,6 +4030,7 @@ export declare class EditReservationDetailsDto {
|
|
|
4035
4030
|
}
|
|
4036
4031
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4037
4032
|
updateAddons?: boolean;
|
|
4033
|
+
updateMaintenance?: boolean;
|
|
4038
4034
|
}
|
|
4039
4035
|
export declare class ReservationNotifyDto {
|
|
4040
4036
|
notifyMethods?: NotifyMethodEnum[];
|
|
@@ -4140,6 +4136,43 @@ export declare class TimeSlotsDto {
|
|
|
4140
4136
|
export declare class SlotsIdsDto {
|
|
4141
4137
|
slotsIds: number[];
|
|
4142
4138
|
}
|
|
4139
|
+
declare class AnswerDto {
|
|
4140
|
+
questionId: number;
|
|
4141
|
+
value: any;
|
|
4142
|
+
}
|
|
4143
|
+
export declare class BookedSessionDto {
|
|
4144
|
+
startDate: string;
|
|
4145
|
+
endDate: string;
|
|
4146
|
+
timezone: string;
|
|
4147
|
+
spaceId: number;
|
|
4148
|
+
}
|
|
4149
|
+
declare class AddonV1Dto {
|
|
4150
|
+
resourcePackageId: number;
|
|
4151
|
+
resourcePackageAmount: number;
|
|
4152
|
+
resourcePackagePrice: number;
|
|
4153
|
+
}
|
|
4154
|
+
export declare class ReservationV1Dto {
|
|
4155
|
+
organizationId: number;
|
|
4156
|
+
name: string;
|
|
4157
|
+
dayOfWeek: number;
|
|
4158
|
+
startTime: string;
|
|
4159
|
+
description: string;
|
|
4160
|
+
sport: number;
|
|
4161
|
+
price: number;
|
|
4162
|
+
resourcePackageId: number;
|
|
4163
|
+
resourcePackageAmount: number;
|
|
4164
|
+
bookedSessions: BookedSessionDto[];
|
|
4165
|
+
addons: AddonV1Dto[];
|
|
4166
|
+
}
|
|
4167
|
+
export declare class BookingV1Dto {
|
|
4168
|
+
organizationId: number;
|
|
4169
|
+
reservations: ReservationV1Dto[];
|
|
4170
|
+
answers: AnswerDto[];
|
|
4171
|
+
paymentData: PurchasePaymentDto;
|
|
4172
|
+
skipPayment: boolean;
|
|
4173
|
+
cashPayment: boolean;
|
|
4174
|
+
requestOnly: boolean;
|
|
4175
|
+
}
|
|
4143
4176
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4144
4177
|
parentId: number;
|
|
4145
4178
|
parentType: AddonParentTypeEnum;
|
|
@@ -4199,43 +4232,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4199
4232
|
targetGlobalPrice?: number;
|
|
4200
4233
|
slots: Slot[];
|
|
4201
4234
|
}
|
|
4202
|
-
declare class AnswerDto {
|
|
4203
|
-
questionId: number;
|
|
4204
|
-
value: any;
|
|
4205
|
-
}
|
|
4206
|
-
export declare class BookedSessionDto {
|
|
4207
|
-
startDate: string;
|
|
4208
|
-
endDate: string;
|
|
4209
|
-
timezone: string;
|
|
4210
|
-
spaceId: number;
|
|
4211
|
-
}
|
|
4212
|
-
declare class AddonV1Dto {
|
|
4213
|
-
resourcePackageId: number;
|
|
4214
|
-
resourcePackageAmount: number;
|
|
4215
|
-
resourcePackagePrice: number;
|
|
4216
|
-
}
|
|
4217
|
-
export declare class ReservationV1Dto {
|
|
4218
|
-
organizationId: number;
|
|
4219
|
-
name: string;
|
|
4220
|
-
dayOfWeek: number;
|
|
4221
|
-
startTime: string;
|
|
4222
|
-
description: string;
|
|
4223
|
-
sport: number;
|
|
4224
|
-
price: number;
|
|
4225
|
-
resourcePackageId: number;
|
|
4226
|
-
resourcePackageAmount: number;
|
|
4227
|
-
bookedSessions: BookedSessionDto[];
|
|
4228
|
-
addons: AddonV1Dto[];
|
|
4229
|
-
}
|
|
4230
|
-
export declare class BookingV1Dto {
|
|
4231
|
-
organizationId: number;
|
|
4232
|
-
reservations: ReservationV1Dto[];
|
|
4233
|
-
answers: AnswerDto[];
|
|
4234
|
-
paymentData: PurchasePaymentDto;
|
|
4235
|
-
skipPayment: boolean;
|
|
4236
|
-
cashPayment: boolean;
|
|
4237
|
-
requestOnly: boolean;
|
|
4238
|
-
}
|
|
4239
4235
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4240
4236
|
deletedAt?: Date;
|
|
4241
4237
|
reservationId: number;
|
|
@@ -4568,29 +4564,6 @@ export interface AddonMetadata {
|
|
|
4568
4564
|
totalPrice: number;
|
|
4569
4565
|
product?: Product;
|
|
4570
4566
|
}
|
|
4571
|
-
export declare class ChangeRolePermissionsDto {
|
|
4572
|
-
permissionIds: number[];
|
|
4573
|
-
}
|
|
4574
|
-
export declare class CreateRoleDto {
|
|
4575
|
-
name: string;
|
|
4576
|
-
}
|
|
4577
|
-
export declare class Permission extends BondBaseEntity {
|
|
4578
|
-
name: string;
|
|
4579
|
-
deletedAt?: Date;
|
|
4580
|
-
}
|
|
4581
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4582
|
-
name: string;
|
|
4583
|
-
deletedAt?: Date;
|
|
4584
|
-
permissions: Permission[];
|
|
4585
|
-
usersRoles: UserRole[];
|
|
4586
|
-
}
|
|
4587
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4588
|
-
deletedAt?: Date;
|
|
4589
|
-
userId: number;
|
|
4590
|
-
roleId: number;
|
|
4591
|
-
role: Role;
|
|
4592
|
-
user: User;
|
|
4593
|
-
}
|
|
4594
4567
|
export declare class CloseShiftDto {
|
|
4595
4568
|
closingCashAmount: number;
|
|
4596
4569
|
}
|
|
@@ -4657,3 +4630,31 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4657
4630
|
closingManager?: User;
|
|
4658
4631
|
reconcilingUser?: User;
|
|
4659
4632
|
}
|
|
4633
|
+
export declare class ChangeRolePermissionsDto {
|
|
4634
|
+
permissionIds: number[];
|
|
4635
|
+
}
|
|
4636
|
+
export declare class CreateRoleDto {
|
|
4637
|
+
name: string;
|
|
4638
|
+
}
|
|
4639
|
+
export declare class Permission extends BondBaseEntity {
|
|
4640
|
+
name: string;
|
|
4641
|
+
deletedAt?: Date;
|
|
4642
|
+
}
|
|
4643
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4644
|
+
name: string;
|
|
4645
|
+
deletedAt?: Date;
|
|
4646
|
+
permissions: Permission[];
|
|
4647
|
+
usersRoles: UserRole[];
|
|
4648
|
+
}
|
|
4649
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4650
|
+
deletedAt?: Date;
|
|
4651
|
+
userId: number;
|
|
4652
|
+
roleId: number;
|
|
4653
|
+
role: Role;
|
|
4654
|
+
user: User;
|
|
4655
|
+
}
|
|
4656
|
+
export declare class ColumnNumericTransformer {
|
|
4657
|
+
to(data: number): number;
|
|
4658
|
+
from(data: string): number;
|
|
4659
|
+
}
|
|
4660
|
+
export declare function convertToNumber(data: string): number;
|