@bondsports/types 0.0.51 → 0.0.52
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 +552 -552
- 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
|
@@ -9,6 +9,17 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
19
|
+
}
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
22
|
+
}
|
|
12
23
|
export declare class FindBookingTypeSettingDto {
|
|
13
24
|
organizationId: number;
|
|
14
25
|
facilityId: number;
|
|
@@ -16,64 +27,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
16
27
|
bookingDate: string;
|
|
17
28
|
bookingTime: string;
|
|
18
29
|
}
|
|
19
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
20
|
-
membershipId: number;
|
|
21
|
-
}
|
|
22
|
-
export declare class ImportProductsFromDB {
|
|
23
|
-
buDate: string;
|
|
24
|
-
}
|
|
25
|
-
export declare class ImportCustomerFromCSV {
|
|
26
|
-
fileName: string;
|
|
27
|
-
startIndex?: number;
|
|
28
|
-
}
|
|
29
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
30
|
-
resolveInvoices: string;
|
|
31
|
-
}
|
|
32
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
33
|
-
membershipId: number;
|
|
34
|
-
onlyDashIds: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
37
|
-
facilityId: number;
|
|
38
|
-
}
|
|
39
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
40
|
-
customerId: number;
|
|
41
|
-
}
|
|
42
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
43
|
-
nameSearch?: string;
|
|
44
|
-
fuzzy?: string;
|
|
45
|
-
customerType?: CustomerTypeEnum;
|
|
46
|
-
customersIds?: string;
|
|
47
|
-
}
|
|
48
|
-
export declare class AddCustomerNotesDto {
|
|
49
|
-
customerNotes: CustomerNoteDto[];
|
|
50
|
-
}
|
|
51
|
-
export declare class CustomerNoteDto {
|
|
52
|
-
id?: number;
|
|
53
|
-
description: string;
|
|
54
|
-
pinToTop?: boolean;
|
|
55
|
-
}
|
|
56
|
-
export declare class AddEditCustomerDto {
|
|
57
|
-
firstName?: string;
|
|
58
|
-
lastName?: string;
|
|
59
|
-
entityId?: number;
|
|
60
|
-
entityType?: CustomerTypeEnum;
|
|
61
|
-
email?: string;
|
|
62
|
-
color?: string;
|
|
63
|
-
street?: string;
|
|
64
|
-
city?: string;
|
|
65
|
-
state?: string;
|
|
66
|
-
zip?: string;
|
|
67
|
-
phoneNumber?: string;
|
|
68
|
-
mainMediaId?: number;
|
|
69
|
-
creatorId?: number;
|
|
70
|
-
creatorType?: ResourceNameTypeEnum;
|
|
71
|
-
userCreatorId?: number;
|
|
72
|
-
gender?: GenderEnum;
|
|
73
|
-
birthDate?: string;
|
|
74
|
-
emergencyContactName?: string;
|
|
75
|
-
emergencyContactPhone?: string;
|
|
76
|
-
}
|
|
77
30
|
export declare class FindEventByIdDto {
|
|
78
31
|
eventId: number;
|
|
79
32
|
organizationId: number;
|
|
@@ -218,6 +171,64 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
218
171
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
219
172
|
nameSearch?: string;
|
|
220
173
|
}
|
|
174
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
175
|
+
membershipId: number;
|
|
176
|
+
}
|
|
177
|
+
export declare class ImportProductsFromDB {
|
|
178
|
+
buDate: string;
|
|
179
|
+
}
|
|
180
|
+
export declare class ImportCustomerFromCSV {
|
|
181
|
+
fileName: string;
|
|
182
|
+
startIndex?: number;
|
|
183
|
+
}
|
|
184
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
185
|
+
resolveInvoices: string;
|
|
186
|
+
}
|
|
187
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
188
|
+
membershipId: number;
|
|
189
|
+
onlyDashIds: string;
|
|
190
|
+
}
|
|
191
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
192
|
+
facilityId: number;
|
|
193
|
+
}
|
|
194
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
195
|
+
customerId: number;
|
|
196
|
+
}
|
|
197
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
198
|
+
nameSearch?: string;
|
|
199
|
+
fuzzy?: string;
|
|
200
|
+
customerType?: CustomerTypeEnum;
|
|
201
|
+
customersIds?: string;
|
|
202
|
+
}
|
|
203
|
+
export declare class AddCustomerNotesDto {
|
|
204
|
+
customerNotes: CustomerNoteDto[];
|
|
205
|
+
}
|
|
206
|
+
export declare class CustomerNoteDto {
|
|
207
|
+
id?: number;
|
|
208
|
+
description: string;
|
|
209
|
+
pinToTop?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export declare class AddEditCustomerDto {
|
|
212
|
+
firstName?: string;
|
|
213
|
+
lastName?: string;
|
|
214
|
+
entityId?: number;
|
|
215
|
+
entityType?: CustomerTypeEnum;
|
|
216
|
+
email?: string;
|
|
217
|
+
color?: string;
|
|
218
|
+
street?: string;
|
|
219
|
+
city?: string;
|
|
220
|
+
state?: string;
|
|
221
|
+
zip?: string;
|
|
222
|
+
phoneNumber?: string;
|
|
223
|
+
mainMediaId?: number;
|
|
224
|
+
creatorId?: number;
|
|
225
|
+
creatorType?: ResourceNameTypeEnum;
|
|
226
|
+
userCreatorId?: number;
|
|
227
|
+
gender?: GenderEnum;
|
|
228
|
+
birthDate?: string;
|
|
229
|
+
emergencyContactName?: string;
|
|
230
|
+
emergencyContactPhone?: string;
|
|
231
|
+
}
|
|
221
232
|
export declare class FindFamilyAccountsDto {
|
|
222
233
|
userId: number;
|
|
223
234
|
}
|
|
@@ -272,17 +283,6 @@ export declare class GetGlCodeDto {
|
|
|
272
283
|
createdAt: Date;
|
|
273
284
|
updatedAt: Date;
|
|
274
285
|
}
|
|
275
|
-
export declare class QuestionAnswersDto {
|
|
276
|
-
questionId: number;
|
|
277
|
-
value: any;
|
|
278
|
-
}
|
|
279
|
-
export declare class UserAnswersDto {
|
|
280
|
-
userId: number;
|
|
281
|
-
answers: QuestionAnswersDto[];
|
|
282
|
-
}
|
|
283
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
284
|
-
questionnaireIds: string;
|
|
285
|
-
}
|
|
286
286
|
export declare class FindByProgramSeasonIdDto {
|
|
287
287
|
seasonId: number;
|
|
288
288
|
}
|
|
@@ -454,58 +454,278 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
454
454
|
discountValue?: number;
|
|
455
455
|
discountMethod?: DiscountMethodsEnum;
|
|
456
456
|
}
|
|
457
|
-
export declare class
|
|
458
|
-
|
|
459
|
-
parentProductId: number;
|
|
460
|
-
variantTitles: VariantTitleDto[];
|
|
461
|
-
variants: VariantDto[];
|
|
462
|
-
}
|
|
463
|
-
export declare class VariantTitleDto {
|
|
464
|
-
titleName: string;
|
|
465
|
-
titleId: number;
|
|
457
|
+
export declare class FindByProductIdDto {
|
|
458
|
+
productId: number;
|
|
466
459
|
}
|
|
467
|
-
export declare class
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
currency: CurrencyEnum;
|
|
472
|
-
startDate: Date;
|
|
473
|
-
endDate: Date;
|
|
460
|
+
export declare class FindPriceOfProductDto {
|
|
461
|
+
id: number;
|
|
462
|
+
userId: number;
|
|
463
|
+
resources: ResourceDto[];
|
|
474
464
|
}
|
|
475
|
-
export declare class
|
|
476
|
-
|
|
465
|
+
export declare class FindPricesOfProductsDto {
|
|
466
|
+
products: FindPriceOfProductDto[];
|
|
467
|
+
answers: UserAnswersDto[];
|
|
477
468
|
}
|
|
478
|
-
export declare class
|
|
479
|
-
|
|
480
|
-
|
|
469
|
+
export declare class FindPackageByResourceDto {
|
|
470
|
+
resourceType: ResourceNameTypeEnum;
|
|
471
|
+
resourceId: number;
|
|
481
472
|
}
|
|
482
|
-
export declare class
|
|
473
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
483
474
|
organizationId: number;
|
|
484
475
|
}
|
|
485
|
-
export declare class
|
|
486
|
-
|
|
476
|
+
export declare class CreateProductsDto {
|
|
477
|
+
products: CreateProductDto[];
|
|
478
|
+
addOnsData?: ProductInPackage[];
|
|
479
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
487
480
|
}
|
|
488
|
-
export declare class
|
|
489
|
-
|
|
481
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
+
name: string;
|
|
490
483
|
}
|
|
491
|
-
export declare class
|
|
492
|
-
|
|
484
|
+
export declare class CreateProductDto {
|
|
485
|
+
id?: number;
|
|
486
|
+
organizationId: number;
|
|
487
|
+
name: string;
|
|
488
|
+
quantity?: number;
|
|
489
|
+
isPublic: boolean;
|
|
490
|
+
startDate?: Date;
|
|
491
|
+
endDate?: Date;
|
|
492
|
+
description?: string;
|
|
493
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
+
resourcesIdsToApplyOn?: number[];
|
|
495
|
+
GL?: string;
|
|
496
|
+
prices: CreatePriceDto[];
|
|
497
|
+
downpayment?: number;
|
|
498
|
+
productType: ProductTypesEnum;
|
|
499
|
+
subProductType?: string;
|
|
500
|
+
defaultForResourceId?: number;
|
|
501
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
+
variantTitleIds?: number[];
|
|
504
|
+
variants?: VariantWithPrice[];
|
|
505
|
+
variantParentId?: number;
|
|
506
|
+
isAddon?: boolean;
|
|
507
|
+
isArchive?: boolean;
|
|
508
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
+
isProRated?: boolean;
|
|
510
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
+
isTaxInclusive?: boolean;
|
|
512
|
+
tax?: number;
|
|
513
|
+
sports?: number[];
|
|
514
|
+
durationMinutes?: number;
|
|
515
|
+
durationDays?: number;
|
|
516
|
+
forms?: number[];
|
|
517
|
+
isForAllCustomers?: boolean;
|
|
518
|
+
membershipsAvailableFor?: number[];
|
|
519
|
+
customersAvailableFor?: number[];
|
|
520
|
+
addons?: createRentalProductAddonDto[];
|
|
521
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
493
522
|
}
|
|
494
|
-
export declare class
|
|
495
|
-
|
|
523
|
+
export declare class VariantWithPrice {
|
|
524
|
+
variantIds: number[];
|
|
525
|
+
price: CreatePriceDto[];
|
|
496
526
|
}
|
|
497
|
-
export declare class
|
|
498
|
-
|
|
527
|
+
export declare class CreatePriceDto {
|
|
528
|
+
id?: number;
|
|
529
|
+
price: number;
|
|
530
|
+
currency: CurrencyEnum;
|
|
531
|
+
name: string;
|
|
532
|
+
startDate?: Date;
|
|
533
|
+
endDate?: Date;
|
|
534
|
+
discountValue?: number;
|
|
535
|
+
discountMethod?: DiscountMethodsEnum;
|
|
536
|
+
isDefaultPriceForProduct?: boolean;
|
|
499
537
|
}
|
|
500
|
-
export declare class
|
|
501
|
-
|
|
538
|
+
export declare class CreatePackageDto {
|
|
539
|
+
parentProductId: number;
|
|
540
|
+
productsData?: ProductInPackage[];
|
|
541
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
502
542
|
}
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
543
|
+
export declare class CreatePackageToResourceDto {
|
|
544
|
+
resourceId: number;
|
|
545
|
+
resourceType: ResourceNameTypeEnum;
|
|
546
|
+
isCreateToChildProducts: boolean;
|
|
547
|
+
productsData: ProductInPackage[];
|
|
507
548
|
}
|
|
508
|
-
export declare class
|
|
549
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
550
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
551
|
+
amountInPackage?: number;
|
|
552
|
+
level?: ProductPackageLevelEnum;
|
|
553
|
+
}
|
|
554
|
+
export declare class ExistingProductToPackageDto {
|
|
555
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
556
|
+
id: number;
|
|
557
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
+
level?: ProductPackageLevelEnum;
|
|
559
|
+
}
|
|
560
|
+
export declare class ConnectProductResourceDto {
|
|
561
|
+
productId: number;
|
|
562
|
+
resourceType: ResourceNameTypeEnum;
|
|
563
|
+
resourceIds: number[];
|
|
564
|
+
}
|
|
565
|
+
export declare class ReturnRequiredProductsDto {
|
|
566
|
+
userId: number;
|
|
567
|
+
productId: number;
|
|
568
|
+
}
|
|
569
|
+
export declare class FindByProductUserIdsDto {
|
|
570
|
+
userId: number;
|
|
571
|
+
organizationId: number;
|
|
572
|
+
}
|
|
573
|
+
export declare class AddRequiredProductsDto {
|
|
574
|
+
productId: number;
|
|
575
|
+
requiredProductIds: number[];
|
|
576
|
+
}
|
|
577
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
578
|
+
productIds?: number[];
|
|
579
|
+
includePrices?: boolean;
|
|
580
|
+
productType?: ProductTypesEnum;
|
|
581
|
+
includeAddons?: string;
|
|
582
|
+
}
|
|
583
|
+
export declare class GetByOrganizationIdDto {
|
|
584
|
+
organizationId?: number;
|
|
585
|
+
}
|
|
586
|
+
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
587
|
+
orderId?: number;
|
|
588
|
+
}
|
|
589
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
590
|
+
productIds?: string;
|
|
591
|
+
includePrices?: boolean;
|
|
592
|
+
productType?: string;
|
|
593
|
+
productSubType?: string;
|
|
594
|
+
search?: string;
|
|
595
|
+
includeAddons?: boolean;
|
|
596
|
+
includeArchived?: boolean;
|
|
597
|
+
includeAllData?: boolean;
|
|
598
|
+
resourceIds?: string;
|
|
599
|
+
sports?: string;
|
|
600
|
+
}
|
|
601
|
+
export declare class GetAllVariantTitlesDto {
|
|
602
|
+
organizationId: number;
|
|
603
|
+
}
|
|
604
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
605
|
+
organizationId: number;
|
|
606
|
+
}
|
|
607
|
+
export declare class CreateVariantTitleDto {
|
|
608
|
+
organizationId: number;
|
|
609
|
+
title: string;
|
|
610
|
+
variants: string[];
|
|
611
|
+
}
|
|
612
|
+
export declare class UpdateVariantTitleDto {
|
|
613
|
+
organizationId: number;
|
|
614
|
+
titleId: number;
|
|
615
|
+
title: string;
|
|
616
|
+
variants: string[];
|
|
617
|
+
}
|
|
618
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
+
customerId: number;
|
|
620
|
+
}
|
|
621
|
+
export declare class GetExtraProductDataDto {
|
|
622
|
+
isPublic?: boolean;
|
|
623
|
+
isGetByChildResources?: boolean;
|
|
624
|
+
isGetEntitlePricing?: boolean;
|
|
625
|
+
isGetAddOns?: boolean;
|
|
626
|
+
includeResources?: boolean;
|
|
627
|
+
includeArchived?: boolean;
|
|
628
|
+
}
|
|
629
|
+
export declare class GetBySessionType {
|
|
630
|
+
sessionType: 'event' | 'segment';
|
|
631
|
+
}
|
|
632
|
+
export declare class CreateSubcategoryDto {
|
|
633
|
+
productType: ProductTypesEnum;
|
|
634
|
+
name: string;
|
|
635
|
+
stationId?: number;
|
|
636
|
+
ordinal?: number;
|
|
637
|
+
}
|
|
638
|
+
export declare class CreateSubcategoriesDto {
|
|
639
|
+
subcategories: CreateSubcategoryDto[];
|
|
640
|
+
}
|
|
641
|
+
export declare class UpdateSubcategoryDto {
|
|
642
|
+
id: number;
|
|
643
|
+
productType?: ProductTypesEnum;
|
|
644
|
+
name?: string;
|
|
645
|
+
stationId?: number;
|
|
646
|
+
ordinal?: number;
|
|
647
|
+
}
|
|
648
|
+
export declare class GetSubcategoryDto {
|
|
649
|
+
stationId?: number;
|
|
650
|
+
}
|
|
651
|
+
export declare class SetStationSubcategoriesDto {
|
|
652
|
+
stationId: number;
|
|
653
|
+
subcategoryIds?: number[];
|
|
654
|
+
categories?: string[];
|
|
655
|
+
}
|
|
656
|
+
export declare class createRentalProductAddonDto {
|
|
657
|
+
productId: number;
|
|
658
|
+
price: number;
|
|
659
|
+
isFlatPrice: boolean;
|
|
660
|
+
isMandatory: boolean;
|
|
661
|
+
level: ProductPackageLevelEnum;
|
|
662
|
+
}
|
|
663
|
+
export declare class createProductAvailabilityTimesDto {
|
|
664
|
+
availabilityStartDate?: string;
|
|
665
|
+
availabilityEndDate?: string;
|
|
666
|
+
daysOfWeek: number[];
|
|
667
|
+
startTime: string;
|
|
668
|
+
endTime: string;
|
|
669
|
+
}
|
|
670
|
+
export declare class createResourceDto {
|
|
671
|
+
resourceId: number;
|
|
672
|
+
resourceType: ResourceNameTypeEnum;
|
|
673
|
+
}
|
|
674
|
+
export declare class archiveDto {
|
|
675
|
+
isArchive: boolean;
|
|
676
|
+
}
|
|
677
|
+
export declare class CreateUpdateVariantsDto {
|
|
678
|
+
organizationId: number;
|
|
679
|
+
parentProductId: number;
|
|
680
|
+
variantTitles: VariantTitleDto[];
|
|
681
|
+
variants: VariantDto[];
|
|
682
|
+
}
|
|
683
|
+
export declare class VariantTitleDto {
|
|
684
|
+
titleName: string;
|
|
685
|
+
titleId: number;
|
|
686
|
+
}
|
|
687
|
+
export declare class VariantDto {
|
|
688
|
+
name: string;
|
|
689
|
+
price: number;
|
|
690
|
+
variantId: number;
|
|
691
|
+
currency: CurrencyEnum;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
694
|
+
}
|
|
695
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
|
+
programId: number;
|
|
697
|
+
}
|
|
698
|
+
export declare class FindSessionsFiltersDto {
|
|
699
|
+
status?: PublishingStatusEnum;
|
|
700
|
+
isFullFetch?: boolean;
|
|
701
|
+
}
|
|
702
|
+
export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
|
|
703
|
+
organizationId: number;
|
|
704
|
+
}
|
|
705
|
+
export declare class DeleteEventAttendeesDto {
|
|
706
|
+
eventAttendeeIds: string;
|
|
707
|
+
}
|
|
708
|
+
export declare class FindProgramSeasonByIdQueryDto {
|
|
709
|
+
includeResources?: boolean;
|
|
710
|
+
}
|
|
711
|
+
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
|
+
seasonId: number;
|
|
713
|
+
}
|
|
714
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
|
+
seasonId: number;
|
|
716
|
+
}
|
|
717
|
+
export declare class DeleteProductDto {
|
|
718
|
+
deleteProduct?: boolean;
|
|
719
|
+
}
|
|
720
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
721
|
+
userId: number;
|
|
722
|
+
}
|
|
723
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
724
|
+
isFreeAgentsOnly?: boolean;
|
|
725
|
+
isPunchCardUsers?: boolean;
|
|
726
|
+
nameEmailSearch?: string;
|
|
727
|
+
}
|
|
728
|
+
export declare class BaseProgramSeasonDto {
|
|
509
729
|
programId: number;
|
|
510
730
|
name: string;
|
|
511
731
|
status: PublishingStatusEnum;
|
|
@@ -700,18 +920,6 @@ export declare class ProgramHighlightDto {
|
|
|
700
920
|
type: ProgramHighlightTypeEnum;
|
|
701
921
|
title: string;
|
|
702
922
|
}
|
|
703
|
-
export declare class CreateResourceGroupDto {
|
|
704
|
-
name: string;
|
|
705
|
-
parentSlotId: number;
|
|
706
|
-
facilityId: number;
|
|
707
|
-
childrenSlotIds: number[];
|
|
708
|
-
}
|
|
709
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
710
|
-
}
|
|
711
|
-
export declare class ResourceDto {
|
|
712
|
-
type: ResourceNameTypeEnum;
|
|
713
|
-
id: number;
|
|
714
|
-
}
|
|
715
923
|
export declare class PurchasePaymentDto {
|
|
716
924
|
token: string;
|
|
717
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -782,47 +990,17 @@ export declare class PartialPaymentAsUserDto {
|
|
|
782
990
|
amountToPay: any;
|
|
783
991
|
paymentMethodData: any;
|
|
784
992
|
}
|
|
785
|
-
export declare class
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
accountId: string;
|
|
791
|
-
}
|
|
792
|
-
export declare class FindByUserIdDto {
|
|
793
|
-
userId: number;
|
|
794
|
-
}
|
|
795
|
-
export declare class FindByFamilyAccountIdDto {
|
|
796
|
-
familyAccountId?: number;
|
|
797
|
-
}
|
|
798
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
799
|
-
organizationId: number;
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
800
998
|
}
|
|
801
|
-
export declare class
|
|
802
|
-
entityType: ResourceNameTypeEnum;
|
|
803
|
-
entityId: number;
|
|
804
|
-
organizationId?: number;
|
|
805
|
-
userId?: number;
|
|
806
|
-
customerId?: number;
|
|
807
|
-
performingUserId: number;
|
|
808
|
-
description: string;
|
|
809
|
-
actionType: ActionTypesEnum;
|
|
810
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
811
|
-
oldValue?: any;
|
|
812
|
-
newValue?: any;
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
813
1000
|
}
|
|
814
|
-
export declare class
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
dayOfWeek: number;
|
|
818
|
-
open: string;
|
|
819
|
-
close: string;
|
|
820
|
-
deletedAt?: Date;
|
|
821
|
-
program: ProgramSeason;
|
|
822
|
-
availabilityStartDate: string;
|
|
823
|
-
availabilityEndDate: string;
|
|
824
|
-
proudct: Product;
|
|
825
|
-
event: Event;
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
826
1004
|
}
|
|
827
1005
|
export declare class SpaceByIdDto {
|
|
828
1006
|
spaceId: number;
|
|
@@ -880,21 +1058,63 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
880
1058
|
types?: string;
|
|
881
1059
|
resourcesIds?: string;
|
|
882
1060
|
}
|
|
883
|
-
export declare class
|
|
884
|
-
|
|
885
|
-
street?: string;
|
|
886
|
-
streetNum?: string;
|
|
887
|
-
aptNum?: string;
|
|
888
|
-
zip?: string;
|
|
889
|
-
country?: string;
|
|
890
|
-
state?: string;
|
|
891
|
-
geo: any;
|
|
892
|
-
deletedAt?: Date;
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
893
1063
|
}
|
|
894
|
-
export declare class
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class FindByUserIdDto {
|
|
1069
|
+
userId: number;
|
|
1070
|
+
}
|
|
1071
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
+
familyAccountId?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1075
|
+
organizationId: number;
|
|
1076
|
+
}
|
|
1077
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1078
|
+
entityType: ResourceNameTypeEnum;
|
|
1079
|
+
entityId: number;
|
|
1080
|
+
organizationId?: number;
|
|
1081
|
+
userId?: number;
|
|
1082
|
+
customerId?: number;
|
|
1083
|
+
performingUserId: number;
|
|
1084
|
+
description: string;
|
|
1085
|
+
actionType: ActionTypesEnum;
|
|
1086
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
+
oldValue?: any;
|
|
1088
|
+
newValue?: any;
|
|
1089
|
+
}
|
|
1090
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1092
|
+
parentId: number;
|
|
1093
|
+
dayOfWeek: number;
|
|
1094
|
+
open: string;
|
|
1095
|
+
close: string;
|
|
1096
|
+
deletedAt?: Date;
|
|
1097
|
+
program: ProgramSeason;
|
|
1098
|
+
availabilityStartDate: string;
|
|
1099
|
+
availabilityEndDate: string;
|
|
1100
|
+
proudct: Product;
|
|
1101
|
+
event: Event;
|
|
1102
|
+
}
|
|
1103
|
+
export declare class Address extends BondBaseEntity {
|
|
1104
|
+
city?: string;
|
|
1105
|
+
street?: string;
|
|
1106
|
+
streetNum?: string;
|
|
1107
|
+
aptNum?: string;
|
|
1108
|
+
zip?: string;
|
|
1109
|
+
country?: string;
|
|
1110
|
+
state?: string;
|
|
1111
|
+
geo: any;
|
|
1112
|
+
deletedAt?: Date;
|
|
1113
|
+
}
|
|
1114
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
|
+
questionId: number;
|
|
1116
|
+
question?: Questions;
|
|
1117
|
+
parentId: number;
|
|
898
1118
|
parentType: ResourceNameTypeEnum;
|
|
899
1119
|
answerValue: any;
|
|
900
1120
|
creatorId: number;
|
|
@@ -920,226 +1140,6 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
920
1140
|
sports: number | null;
|
|
921
1141
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
922
1142
|
}
|
|
923
|
-
export declare class FindByProductIdDto {
|
|
924
|
-
productId: number;
|
|
925
|
-
}
|
|
926
|
-
export declare class FindPriceOfProductDto {
|
|
927
|
-
id: number;
|
|
928
|
-
userId: number;
|
|
929
|
-
resources: ResourceDto[];
|
|
930
|
-
}
|
|
931
|
-
export declare class FindPricesOfProductsDto {
|
|
932
|
-
products: FindPriceOfProductDto[];
|
|
933
|
-
answers: UserAnswersDto[];
|
|
934
|
-
}
|
|
935
|
-
export declare class FindPackageByResourceDto {
|
|
936
|
-
resourceType: ResourceNameTypeEnum;
|
|
937
|
-
resourceId: number;
|
|
938
|
-
}
|
|
939
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
940
|
-
organizationId: number;
|
|
941
|
-
}
|
|
942
|
-
export declare class CreateProductsDto {
|
|
943
|
-
products: CreateProductDto[];
|
|
944
|
-
addOnsData?: ProductInPackage[];
|
|
945
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
946
|
-
}
|
|
947
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
948
|
-
name: string;
|
|
949
|
-
}
|
|
950
|
-
export declare class CreateProductDto {
|
|
951
|
-
id?: number;
|
|
952
|
-
organizationId: number;
|
|
953
|
-
name: string;
|
|
954
|
-
quantity?: number;
|
|
955
|
-
isPublic: boolean;
|
|
956
|
-
startDate?: Date;
|
|
957
|
-
endDate?: Date;
|
|
958
|
-
description?: string;
|
|
959
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
960
|
-
resourcesIdsToApplyOn?: number[];
|
|
961
|
-
GL?: string;
|
|
962
|
-
prices: CreatePriceDto[];
|
|
963
|
-
downpayment?: number;
|
|
964
|
-
productType: ProductTypesEnum;
|
|
965
|
-
subProductType?: string;
|
|
966
|
-
defaultForResourceId?: number;
|
|
967
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
968
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
969
|
-
variantTitleIds?: number[];
|
|
970
|
-
variants?: VariantWithPrice[];
|
|
971
|
-
variantParentId?: number;
|
|
972
|
-
isAddon?: boolean;
|
|
973
|
-
isArchive?: boolean;
|
|
974
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
975
|
-
isProRated?: boolean;
|
|
976
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
977
|
-
isTaxInclusive?: boolean;
|
|
978
|
-
tax?: number;
|
|
979
|
-
sports?: number[];
|
|
980
|
-
durationMinutes?: number;
|
|
981
|
-
durationDays?: number;
|
|
982
|
-
forms?: number[];
|
|
983
|
-
isForAllCustomers?: boolean;
|
|
984
|
-
membershipsAvailableFor?: number[];
|
|
985
|
-
customersAvailableFor?: number[];
|
|
986
|
-
addons?: createRentalProductAddonDto[];
|
|
987
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
988
|
-
}
|
|
989
|
-
export declare class VariantWithPrice {
|
|
990
|
-
variantIds: number[];
|
|
991
|
-
price: CreatePriceDto[];
|
|
992
|
-
}
|
|
993
|
-
export declare class CreatePriceDto {
|
|
994
|
-
id?: number;
|
|
995
|
-
price: number;
|
|
996
|
-
currency: CurrencyEnum;
|
|
997
|
-
name: string;
|
|
998
|
-
startDate?: Date;
|
|
999
|
-
endDate?: Date;
|
|
1000
|
-
discountValue?: number;
|
|
1001
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1002
|
-
isDefaultPriceForProduct?: boolean;
|
|
1003
|
-
}
|
|
1004
|
-
export declare class CreatePackageDto {
|
|
1005
|
-
parentProductId: number;
|
|
1006
|
-
productsData?: ProductInPackage[];
|
|
1007
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
1008
|
-
}
|
|
1009
|
-
export declare class CreatePackageToResourceDto {
|
|
1010
|
-
resourceId: number;
|
|
1011
|
-
resourceType: ResourceNameTypeEnum;
|
|
1012
|
-
isCreateToChildProducts: boolean;
|
|
1013
|
-
productsData: ProductInPackage[];
|
|
1014
|
-
}
|
|
1015
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
1016
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1017
|
-
amountInPackage?: number;
|
|
1018
|
-
level?: ProductPackageLevelEnum;
|
|
1019
|
-
}
|
|
1020
|
-
export declare class ExistingProductToPackageDto {
|
|
1021
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1022
|
-
id: number;
|
|
1023
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1024
|
-
level?: ProductPackageLevelEnum;
|
|
1025
|
-
}
|
|
1026
|
-
export declare class ConnectProductResourceDto {
|
|
1027
|
-
productId: number;
|
|
1028
|
-
resourceType: ResourceNameTypeEnum;
|
|
1029
|
-
resourceIds: number[];
|
|
1030
|
-
}
|
|
1031
|
-
export declare class ReturnRequiredProductsDto {
|
|
1032
|
-
userId: number;
|
|
1033
|
-
productId: number;
|
|
1034
|
-
}
|
|
1035
|
-
export declare class FindByProductUserIdsDto {
|
|
1036
|
-
userId: number;
|
|
1037
|
-
organizationId: number;
|
|
1038
|
-
}
|
|
1039
|
-
export declare class AddRequiredProductsDto {
|
|
1040
|
-
productId: number;
|
|
1041
|
-
requiredProductIds: number[];
|
|
1042
|
-
}
|
|
1043
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
1044
|
-
productIds?: number[];
|
|
1045
|
-
includePrices?: boolean;
|
|
1046
|
-
productType?: ProductTypesEnum;
|
|
1047
|
-
includeAddons?: string;
|
|
1048
|
-
}
|
|
1049
|
-
export declare class GetByOrganizationIdDto {
|
|
1050
|
-
organizationId?: number;
|
|
1051
|
-
}
|
|
1052
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
1053
|
-
orderId?: number;
|
|
1054
|
-
}
|
|
1055
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
1056
|
-
productIds?: string;
|
|
1057
|
-
includePrices?: boolean;
|
|
1058
|
-
productType?: string;
|
|
1059
|
-
productSubType?: string;
|
|
1060
|
-
search?: string;
|
|
1061
|
-
includeAddons?: boolean;
|
|
1062
|
-
includeArchived?: boolean;
|
|
1063
|
-
includeAllData?: boolean;
|
|
1064
|
-
resourceIds?: string;
|
|
1065
|
-
sports?: string;
|
|
1066
|
-
}
|
|
1067
|
-
export declare class GetAllVariantTitlesDto {
|
|
1068
|
-
organizationId: number;
|
|
1069
|
-
}
|
|
1070
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
1071
|
-
organizationId: number;
|
|
1072
|
-
}
|
|
1073
|
-
export declare class CreateVariantTitleDto {
|
|
1074
|
-
organizationId: number;
|
|
1075
|
-
title: string;
|
|
1076
|
-
variants: string[];
|
|
1077
|
-
}
|
|
1078
|
-
export declare class UpdateVariantTitleDto {
|
|
1079
|
-
organizationId: number;
|
|
1080
|
-
titleId: number;
|
|
1081
|
-
title: string;
|
|
1082
|
-
variants: string[];
|
|
1083
|
-
}
|
|
1084
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1085
|
-
customerId: number;
|
|
1086
|
-
}
|
|
1087
|
-
export declare class GetExtraProductDataDto {
|
|
1088
|
-
isPublic?: boolean;
|
|
1089
|
-
isGetByChildResources?: boolean;
|
|
1090
|
-
isGetEntitlePricing?: boolean;
|
|
1091
|
-
isGetAddOns?: boolean;
|
|
1092
|
-
includeResources?: boolean;
|
|
1093
|
-
includeArchived?: boolean;
|
|
1094
|
-
}
|
|
1095
|
-
export declare class GetBySessionType {
|
|
1096
|
-
sessionType: 'event' | 'segment';
|
|
1097
|
-
}
|
|
1098
|
-
export declare class CreateSubcategoryDto {
|
|
1099
|
-
productType: ProductTypesEnum;
|
|
1100
|
-
name: string;
|
|
1101
|
-
stationId?: number;
|
|
1102
|
-
ordinal?: number;
|
|
1103
|
-
}
|
|
1104
|
-
export declare class CreateSubcategoriesDto {
|
|
1105
|
-
subcategories: CreateSubcategoryDto[];
|
|
1106
|
-
}
|
|
1107
|
-
export declare class UpdateSubcategoryDto {
|
|
1108
|
-
id: number;
|
|
1109
|
-
productType?: ProductTypesEnum;
|
|
1110
|
-
name?: string;
|
|
1111
|
-
stationId?: number;
|
|
1112
|
-
ordinal?: number;
|
|
1113
|
-
}
|
|
1114
|
-
export declare class GetSubcategoryDto {
|
|
1115
|
-
stationId?: number;
|
|
1116
|
-
}
|
|
1117
|
-
export declare class SetStationSubcategoriesDto {
|
|
1118
|
-
stationId: number;
|
|
1119
|
-
subcategoryIds?: number[];
|
|
1120
|
-
categories?: string[];
|
|
1121
|
-
}
|
|
1122
|
-
export declare class createRentalProductAddonDto {
|
|
1123
|
-
productId: number;
|
|
1124
|
-
price: number;
|
|
1125
|
-
isFlatPrice: boolean;
|
|
1126
|
-
isMandatory: boolean;
|
|
1127
|
-
level: ProductPackageLevelEnum;
|
|
1128
|
-
}
|
|
1129
|
-
export declare class createProductAvailabilityTimesDto {
|
|
1130
|
-
availabilityStartDate?: string;
|
|
1131
|
-
availabilityEndDate?: string;
|
|
1132
|
-
daysOfWeek: number[];
|
|
1133
|
-
startTime: string;
|
|
1134
|
-
endTime: string;
|
|
1135
|
-
}
|
|
1136
|
-
export declare class createResourceDto {
|
|
1137
|
-
resourceId: number;
|
|
1138
|
-
resourceType: ResourceNameTypeEnum;
|
|
1139
|
-
}
|
|
1140
|
-
export declare class archiveDto {
|
|
1141
|
-
isArchive: boolean;
|
|
1142
|
-
}
|
|
1143
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1144
|
entityType: ResourceNameTypeEnum;
|
|
1145
1145
|
entityId: number;
|
|
@@ -1288,6 +1288,30 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1288
1288
|
event: Event;
|
|
1289
1289
|
purchasedResource: PurchasedResource;
|
|
1290
1290
|
}
|
|
1291
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1292
|
+
name: string;
|
|
1293
|
+
description?: string;
|
|
1294
|
+
addressId: number;
|
|
1295
|
+
address: Address;
|
|
1296
|
+
amenities?: number[];
|
|
1297
|
+
timezone: string;
|
|
1298
|
+
creatorId: number;
|
|
1299
|
+
creatorType: string;
|
|
1300
|
+
userCreatorId: number;
|
|
1301
|
+
mainMediaId: number;
|
|
1302
|
+
mainMedia: Media;
|
|
1303
|
+
publishedDate?: Date;
|
|
1304
|
+
isPublished: boolean;
|
|
1305
|
+
sports?: number[];
|
|
1306
|
+
info?: string;
|
|
1307
|
+
longDescription?: string;
|
|
1308
|
+
deletedAt?: Date;
|
|
1309
|
+
openingTimes: OpeningTime[];
|
|
1310
|
+
resources: Resource[];
|
|
1311
|
+
spaces: Resource[];
|
|
1312
|
+
programSeasons: ProgramSeason[];
|
|
1313
|
+
linkSEO: string;
|
|
1314
|
+
}
|
|
1291
1315
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1292
1316
|
constructor();
|
|
1293
1317
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1328,44 +1352,20 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1328
1352
|
maxAge: number | null;
|
|
1329
1353
|
gender: number | null;
|
|
1330
1354
|
questionnaireId: number | null;
|
|
1331
|
-
eventAttendees: EventAttendee[];
|
|
1332
|
-
deletedAt?: Date;
|
|
1333
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1334
|
-
startDateString: string;
|
|
1335
|
-
endDateString: string;
|
|
1336
|
-
startTime: string;
|
|
1337
|
-
endTime: string;
|
|
1338
|
-
publicNotes?: string;
|
|
1339
|
-
privateNotes?: string;
|
|
1340
|
-
productResources: ProductResource[];
|
|
1341
|
-
parentSession: ProgramSeason;
|
|
1342
|
-
activityTimes: ActivityTimes[];
|
|
1343
|
-
slots: Slot[];
|
|
1344
|
-
purchasedResources: PurchasedResource[];
|
|
1345
|
-
}
|
|
1346
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
|
-
name: string;
|
|
1348
|
-
description?: string;
|
|
1349
|
-
addressId: number;
|
|
1350
|
-
address: Address;
|
|
1351
|
-
amenities?: number[];
|
|
1352
|
-
timezone: string;
|
|
1353
|
-
creatorId: number;
|
|
1354
|
-
creatorType: string;
|
|
1355
|
-
userCreatorId: number;
|
|
1356
|
-
mainMediaId: number;
|
|
1357
|
-
mainMedia: Media;
|
|
1358
|
-
publishedDate?: Date;
|
|
1359
|
-
isPublished: boolean;
|
|
1360
|
-
sports?: number[];
|
|
1361
|
-
info?: string;
|
|
1362
|
-
longDescription?: string;
|
|
1363
|
-
deletedAt?: Date;
|
|
1364
|
-
openingTimes: OpeningTime[];
|
|
1365
|
-
resources: Resource[];
|
|
1366
|
-
spaces: Resource[];
|
|
1367
|
-
programSeasons: ProgramSeason[];
|
|
1368
|
-
linkSEO: string;
|
|
1355
|
+
eventAttendees: EventAttendee[];
|
|
1356
|
+
deletedAt?: Date;
|
|
1357
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1358
|
+
startDateString: string;
|
|
1359
|
+
endDateString: string;
|
|
1360
|
+
startTime: string;
|
|
1361
|
+
endTime: string;
|
|
1362
|
+
publicNotes?: string;
|
|
1363
|
+
privateNotes?: string;
|
|
1364
|
+
productResources: ProductResource[];
|
|
1365
|
+
parentSession: ProgramSeason;
|
|
1366
|
+
activityTimes: ActivityTimes[];
|
|
1367
|
+
slots: Slot[];
|
|
1368
|
+
purchasedResources: PurchasedResource[];
|
|
1369
1369
|
}
|
|
1370
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
1371
|
facilityId: number;
|
|
@@ -2052,6 +2052,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2052
2052
|
ownerId: number | null;
|
|
2053
2053
|
questionnaireId: number | null;
|
|
2054
2054
|
}
|
|
2055
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
|
+
reason: string;
|
|
2057
|
+
ordinal: number;
|
|
2058
|
+
deletedAt: Date;
|
|
2059
|
+
}
|
|
2055
2060
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2056
2061
|
resourceType: ResourceNameTypeEnum;
|
|
2057
2062
|
resourceId: number;
|
|
@@ -2063,10 +2068,33 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2063
2068
|
closeTime?: string;
|
|
2064
2069
|
deletedAt?: Date;
|
|
2065
2070
|
}
|
|
2066
|
-
export declare class
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2071
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2072
|
+
name: string;
|
|
2073
|
+
resourceType: ResourceTypeEnum;
|
|
2074
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2075
|
+
description?: string;
|
|
2076
|
+
longDescription?: string;
|
|
2077
|
+
surface?: SurfacesEnum;
|
|
2078
|
+
properties?: SpacePropertiesEnum[];
|
|
2079
|
+
mainMediaId?: number;
|
|
2080
|
+
mainMedia: Media;
|
|
2081
|
+
sports: SportsEnum[];
|
|
2082
|
+
width?: number;
|
|
2083
|
+
length?: number;
|
|
2084
|
+
amenities?: AmenitiesEnum[];
|
|
2085
|
+
parentSpaceId?: number;
|
|
2086
|
+
ordinal?: number;
|
|
2087
|
+
isAddOn: boolean;
|
|
2088
|
+
ages?: ResourceAgesEnum;
|
|
2089
|
+
deletedAt?: Date;
|
|
2090
|
+
activityTimes: ActivityTimes[];
|
|
2091
|
+
facilities: Facility[];
|
|
2092
|
+
slots?: Slot[];
|
|
2093
|
+
addons?: Addon[];
|
|
2094
|
+
facilityId: number;
|
|
2095
|
+
facility: Facility;
|
|
2096
|
+
purchasedResources: PurchasedResource[];
|
|
2097
|
+
linkSEO: string;
|
|
2070
2098
|
}
|
|
2071
2099
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2072
2100
|
name?: string;
|
|
@@ -2100,34 +2128,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2100
2128
|
publicNotes?: string;
|
|
2101
2129
|
slots?: Slot[];
|
|
2102
2130
|
}
|
|
2103
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2104
|
-
name: string;
|
|
2105
|
-
resourceType: ResourceTypeEnum;
|
|
2106
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2107
|
-
description?: string;
|
|
2108
|
-
longDescription?: string;
|
|
2109
|
-
surface?: SurfacesEnum;
|
|
2110
|
-
properties?: SpacePropertiesEnum[];
|
|
2111
|
-
mainMediaId?: number;
|
|
2112
|
-
mainMedia: Media;
|
|
2113
|
-
sports: SportsEnum[];
|
|
2114
|
-
width?: number;
|
|
2115
|
-
length?: number;
|
|
2116
|
-
amenities?: AmenitiesEnum[];
|
|
2117
|
-
parentSpaceId?: number;
|
|
2118
|
-
ordinal?: number;
|
|
2119
|
-
isAddOn: boolean;
|
|
2120
|
-
ages?: ResourceAgesEnum;
|
|
2121
|
-
deletedAt?: Date;
|
|
2122
|
-
activityTimes: ActivityTimes[];
|
|
2123
|
-
facilities: Facility[];
|
|
2124
|
-
slots?: Slot[];
|
|
2125
|
-
addons?: Addon[];
|
|
2126
|
-
facilityId: number;
|
|
2127
|
-
facility: Facility;
|
|
2128
|
-
purchasedResources: PurchasedResource[];
|
|
2129
|
-
linkSEO: string;
|
|
2130
|
-
}
|
|
2131
2131
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
2132
|
name: string;
|
|
2133
2133
|
facilityId: number;
|
|
@@ -3251,6 +3251,15 @@ export declare class AddFamilyDto {
|
|
|
3251
3251
|
parents: AddImportedCustomerDto[];
|
|
3252
3252
|
children: AddImportedCustomerDto[];
|
|
3253
3253
|
}
|
|
3254
|
+
export declare class ProductIdsDto {
|
|
3255
|
+
productIds?: number[];
|
|
3256
|
+
}
|
|
3257
|
+
export declare class ProductImportDto {
|
|
3258
|
+
product: Product;
|
|
3259
|
+
prices: Price[];
|
|
3260
|
+
resourceIds: number[];
|
|
3261
|
+
oldId: number;
|
|
3262
|
+
}
|
|
3254
3263
|
export declare enum ImportPaymentTypeEnum {
|
|
3255
3264
|
CREDIT_CARD = "card",
|
|
3256
3265
|
ACH = "ach",
|
|
@@ -3286,15 +3295,6 @@ export declare class ImportedPaymentDto {
|
|
|
3286
3295
|
date: string;
|
|
3287
3296
|
time: string;
|
|
3288
3297
|
}
|
|
3289
|
-
export declare class ProductIdsDto {
|
|
3290
|
-
productIds?: number[];
|
|
3291
|
-
}
|
|
3292
|
-
export declare class ProductImportDto {
|
|
3293
|
-
product: Product;
|
|
3294
|
-
prices: Price[];
|
|
3295
|
-
resourceIds: number[];
|
|
3296
|
-
oldId: number;
|
|
3297
|
-
}
|
|
3298
3298
|
export declare class PunchPassDto {
|
|
3299
3299
|
CustomerID: string;
|
|
3300
3300
|
QuantityLeft: number;
|
|
@@ -3472,38 +3472,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3472
3472
|
organisationId: number | null;
|
|
3473
3473
|
userId: number | null;
|
|
3474
3474
|
}
|
|
3475
|
-
export declare class RefundDto {
|
|
3476
|
-
orderId: number;
|
|
3477
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3478
|
-
refundLineItemAmountDict?: {
|
|
3479
|
-
[id: number]: number;
|
|
3480
|
-
};
|
|
3481
|
-
refunds: PaymentMethodDto[];
|
|
3482
|
-
refundType: RefundTypeEnum;
|
|
3483
|
-
reasonId: number;
|
|
3484
|
-
note?: string;
|
|
3485
|
-
shiftId?: number;
|
|
3486
|
-
meta?: RevertMetaDto;
|
|
3487
|
-
}
|
|
3488
|
-
export declare class PaymentMethodDto {
|
|
3489
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3490
|
-
amount: number;
|
|
3491
|
-
paymentMethodId?: string;
|
|
3492
|
-
}
|
|
3493
|
-
export declare class RefundLineItemAmountDto {
|
|
3494
|
-
id: number;
|
|
3495
|
-
refundAmount: number;
|
|
3496
|
-
}
|
|
3497
|
-
export declare class VoidDto {
|
|
3498
|
-
lineItems: VoidLineItemDto[];
|
|
3499
|
-
meta?: RevertMetaDto;
|
|
3500
|
-
}
|
|
3501
|
-
export declare class VoidLineItemDto {
|
|
3502
|
-
id: number;
|
|
3503
|
-
quantity?: number;
|
|
3504
|
-
isEdit?: boolean;
|
|
3505
|
-
amount?: number;
|
|
3506
|
-
}
|
|
3507
3475
|
export declare class CustomerIdDto {
|
|
3508
3476
|
customerId: number;
|
|
3509
3477
|
}
|
|
@@ -3621,31 +3589,44 @@ export declare class SendRequestDto {
|
|
|
3621
3589
|
sendToEmail: string;
|
|
3622
3590
|
memo?: string;
|
|
3623
3591
|
}
|
|
3624
|
-
export declare class
|
|
3592
|
+
export declare class RefundDto {
|
|
3593
|
+
orderId: number;
|
|
3594
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3595
|
+
refundLineItemAmountDict?: {
|
|
3596
|
+
[id: number]: number;
|
|
3597
|
+
};
|
|
3598
|
+
refunds: PaymentMethodDto[];
|
|
3599
|
+
refundType: RefundTypeEnum;
|
|
3600
|
+
reasonId: number;
|
|
3601
|
+
note?: string;
|
|
3602
|
+
shiftId?: number;
|
|
3603
|
+
meta?: RevertMetaDto;
|
|
3604
|
+
}
|
|
3605
|
+
export declare class PaymentMethodDto {
|
|
3606
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3607
|
+
amount: number;
|
|
3608
|
+
paymentMethodId?: string;
|
|
3609
|
+
}
|
|
3610
|
+
export declare class RefundLineItemAmountDto {
|
|
3611
|
+
id: number;
|
|
3612
|
+
refundAmount: number;
|
|
3613
|
+
}
|
|
3614
|
+
export declare class VoidDto {
|
|
3615
|
+
lineItems: VoidLineItemDto[];
|
|
3616
|
+
meta?: RevertMetaDto;
|
|
3617
|
+
}
|
|
3618
|
+
export declare class VoidLineItemDto {
|
|
3619
|
+
id: number;
|
|
3620
|
+
quantity?: number;
|
|
3621
|
+
isEdit?: boolean;
|
|
3622
|
+
amount?: number;
|
|
3623
|
+
}
|
|
3624
|
+
export declare class MaintenanceDto {
|
|
3625
3625
|
id?: number;
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
productId: number;
|
|
3631
|
-
product?: Product;
|
|
3632
|
-
productType: ProductTypesEnum;
|
|
3633
|
-
ordinal?: number;
|
|
3634
|
-
price: number;
|
|
3635
|
-
originalPrice?: number;
|
|
3636
|
-
paidAmount?: number;
|
|
3637
|
-
currency: CurrencyEnum;
|
|
3638
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3639
|
-
isRefunded?: boolean;
|
|
3640
|
-
isTaxInclusive?: boolean;
|
|
3641
|
-
taxPrecent?: number;
|
|
3642
|
-
unitPrice?: number;
|
|
3643
|
-
quantity: number;
|
|
3644
|
-
resources?: PurchasedResourceDto[];
|
|
3645
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3646
|
-
unitPriceWithTax?: number;
|
|
3647
|
-
unitTaxPrice?: number;
|
|
3648
|
-
parentOrdinal?: number;
|
|
3626
|
+
title: string;
|
|
3627
|
+
durationValue: number;
|
|
3628
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3629
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3649
3630
|
}
|
|
3650
3631
|
export declare class OrderDto {
|
|
3651
3632
|
orderId?: string | null;
|
|
@@ -3696,12 +3677,31 @@ export declare class PurchasedResourceDto {
|
|
|
3696
3677
|
endDate?: string;
|
|
3697
3678
|
endTime?: string;
|
|
3698
3679
|
}
|
|
3699
|
-
export declare class
|
|
3680
|
+
export declare class LineItemDto {
|
|
3700
3681
|
id?: number;
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3682
|
+
orderId?: number;
|
|
3683
|
+
type: LineItemsStatusEnum;
|
|
3684
|
+
organizationId: number;
|
|
3685
|
+
userId?: number;
|
|
3686
|
+
productId: number;
|
|
3687
|
+
product?: Product;
|
|
3688
|
+
productType: ProductTypesEnum;
|
|
3689
|
+
ordinal?: number;
|
|
3690
|
+
price: number;
|
|
3691
|
+
originalPrice?: number;
|
|
3692
|
+
paidAmount?: number;
|
|
3693
|
+
currency: CurrencyEnum;
|
|
3694
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3695
|
+
isRefunded?: boolean;
|
|
3696
|
+
isTaxInclusive?: boolean;
|
|
3697
|
+
taxPrecent?: number;
|
|
3698
|
+
unitPrice?: number;
|
|
3699
|
+
quantity: number;
|
|
3700
|
+
resources?: PurchasedResourceDto[];
|
|
3701
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3702
|
+
unitPriceWithTax?: number;
|
|
3703
|
+
unitTaxPrice?: number;
|
|
3704
|
+
parentOrdinal?: number;
|
|
3705
3705
|
}
|
|
3706
3706
|
export declare class ReservationDto {
|
|
3707
3707
|
id?: number;
|
|
@@ -3995,20 +3995,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
3995
3995
|
invoiceId: number;
|
|
3996
3996
|
slotId: number;
|
|
3997
3997
|
}
|
|
3998
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3999
|
-
deletedAt?: Date;
|
|
4000
|
-
reservationId: number;
|
|
4001
|
-
title: string;
|
|
4002
|
-
isPrivate: boolean;
|
|
4003
|
-
resourceIds?: number[];
|
|
4004
|
-
sportId: number;
|
|
4005
|
-
reservation?: Reservation;
|
|
4006
|
-
series?: Series[];
|
|
4007
|
-
addonIds?: number[] | null;
|
|
4008
|
-
publicNotesForSlots?: string;
|
|
4009
|
-
privateNotesForSlots?: string;
|
|
4010
|
-
slots?: Slot[];
|
|
4011
|
-
}
|
|
4012
3998
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4013
3999
|
name?: string;
|
|
4014
4000
|
description?: string;
|
|
@@ -4048,6 +4034,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4048
4034
|
targetGlobalPrice?: number;
|
|
4049
4035
|
slots: Slot[];
|
|
4050
4036
|
}
|
|
4037
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4038
|
+
deletedAt?: Date;
|
|
4039
|
+
reservationId: number;
|
|
4040
|
+
title: string;
|
|
4041
|
+
isPrivate: boolean;
|
|
4042
|
+
resourceIds?: number[];
|
|
4043
|
+
sportId: number;
|
|
4044
|
+
reservation?: Reservation;
|
|
4045
|
+
series?: Series[];
|
|
4046
|
+
addonIds?: number[] | null;
|
|
4047
|
+
publicNotesForSlots?: string;
|
|
4048
|
+
privateNotesForSlots?: string;
|
|
4049
|
+
slots?: Slot[];
|
|
4050
|
+
}
|
|
4051
4051
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4052
4052
|
deletedAt?: Date;
|
|
4053
4053
|
segmentId: number;
|
|
@@ -4157,8 +4157,8 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4157
4157
|
role: Role;
|
|
4158
4158
|
user: User;
|
|
4159
4159
|
}
|
|
4160
|
-
export declare class
|
|
4161
|
-
|
|
4160
|
+
export declare class FindShiftsByIdsDto {
|
|
4161
|
+
shiftIds: number[];
|
|
4162
4162
|
}
|
|
4163
4163
|
export declare class FindShiftsFiltersDto {
|
|
4164
4164
|
statuses?: string;
|
|
@@ -4191,6 +4191,9 @@ export declare class OpenShiftDto {
|
|
|
4191
4191
|
openingCashAmount: number;
|
|
4192
4192
|
stationId: number;
|
|
4193
4193
|
}
|
|
4194
|
+
export declare class CloseShiftDto {
|
|
4195
|
+
closingCashAmount: number;
|
|
4196
|
+
}
|
|
4194
4197
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4195
4198
|
stationId: number;
|
|
4196
4199
|
station?: Station;
|
|
@@ -4220,6 +4223,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4220
4223
|
closingManager?: User;
|
|
4221
4224
|
reconcilingUser?: User;
|
|
4222
4225
|
}
|
|
4223
|
-
export declare class FindShiftsByIdsDto {
|
|
4224
|
-
shiftIds: number[];
|
|
4225
|
-
}
|