@bondsports/types 0.0.188 → 0.0.190
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 +1019 -1019
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
close: string;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
11
|
+
}
|
|
5
12
|
export declare class QuestionAnswersDto {
|
|
6
13
|
questionId: number;
|
|
7
14
|
value: any;
|
|
@@ -20,12 +27,12 @@ export declare class FindBookingTypeSettingDto {
|
|
|
20
27
|
bookingDate: string;
|
|
21
28
|
bookingTime: string;
|
|
22
29
|
}
|
|
23
|
-
export declare
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
+
UNKNOWN = "unknown"
|
|
29
36
|
}
|
|
30
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
38
|
membershipId: number;
|
|
@@ -188,13 +195,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
188
195
|
isWaiverSigned?: string;
|
|
189
196
|
statuses?: string;
|
|
190
197
|
}
|
|
191
|
-
export declare enum EConfigurationKeys {
|
|
192
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
193
|
-
}
|
|
194
|
-
export declare enum EFailedPaymentReasons {
|
|
195
|
-
CARD_BLOCKED = "card_blocked_by_bond",
|
|
196
|
-
UNKNOWN = "unknown"
|
|
197
|
-
}
|
|
198
198
|
export declare class AddressDto {
|
|
199
199
|
city: string;
|
|
200
200
|
state: string;
|
|
@@ -292,104 +292,6 @@ 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
|
-
}
|
|
351
|
-
export declare class CreateEntitlementTermsDto {
|
|
352
|
-
organizationId: number;
|
|
353
|
-
entitlementGroupId: number;
|
|
354
|
-
terms: IEntitlementTerms[];
|
|
355
|
-
}
|
|
356
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
357
|
-
entitlementGroupId: number;
|
|
358
|
-
}
|
|
359
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
360
|
-
user: any;
|
|
361
|
-
userVariables: IQuestionAnswerObject[];
|
|
362
|
-
}
|
|
363
|
-
export declare class FindLowestPriceDto {
|
|
364
|
-
organizationId: number;
|
|
365
|
-
user?: any;
|
|
366
|
-
answers?: IQuestionAnswerObject[];
|
|
367
|
-
itemIds: number[];
|
|
368
|
-
itemType?: ResourceNameTypeEnum;
|
|
369
|
-
startDate?: Date;
|
|
370
|
-
}
|
|
371
|
-
export declare class FindGroupItemsPricingsDto {
|
|
372
|
-
groupsIds: number[];
|
|
373
|
-
itemsIds: number[];
|
|
374
|
-
}
|
|
375
|
-
export declare class CreateEntitlementGroupDto {
|
|
376
|
-
name: string;
|
|
377
|
-
}
|
|
378
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
379
|
-
itemIds: number[];
|
|
380
|
-
itemType: string;
|
|
381
|
-
}
|
|
382
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
383
|
-
groupid: number;
|
|
384
|
-
}
|
|
385
|
-
export declare class CreateGroupPricingWithProduct {
|
|
386
|
-
groupId: number;
|
|
387
|
-
price: number;
|
|
388
|
-
startDate?: Date;
|
|
389
|
-
endDate?: Date;
|
|
390
|
-
discountValue?: number;
|
|
391
|
-
discountMethod?: DiscountMethodsEnum;
|
|
392
|
-
}
|
|
393
295
|
export declare class FindByProgramSeasonIdDto {
|
|
394
296
|
seasonId: number;
|
|
395
297
|
}
|
|
@@ -463,83 +365,402 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
463
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
464
366
|
fileName: string;
|
|
465
367
|
}
|
|
466
|
-
export declare class
|
|
368
|
+
export declare class CreateMembershipDto {
|
|
467
369
|
organizationId: number;
|
|
468
|
-
parentProductId: number;
|
|
469
|
-
variantTitles: VariantTitleDto[];
|
|
470
|
-
variants: VariantDto[];
|
|
471
|
-
}
|
|
472
|
-
export declare class VariantTitleDto {
|
|
473
|
-
titleName: string;
|
|
474
|
-
titleId: number;
|
|
475
|
-
}
|
|
476
|
-
export declare class VariantDto {
|
|
477
370
|
name: string;
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
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;
|
|
483
390
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
|
|
391
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
392
|
+
id: number;
|
|
486
393
|
}
|
|
487
|
-
export declare class
|
|
488
|
-
|
|
489
|
-
|
|
394
|
+
export declare class UpdateMembershipMediaDto {
|
|
395
|
+
membershipId: number;
|
|
396
|
+
mediaId: number;
|
|
490
397
|
}
|
|
491
|
-
export declare class
|
|
398
|
+
export declare class FindMembershipByIdDto {
|
|
399
|
+
membershipId: number;
|
|
400
|
+
}
|
|
401
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
492
402
|
organizationId: number;
|
|
493
403
|
}
|
|
494
|
-
export declare class
|
|
495
|
-
|
|
404
|
+
export declare class FindMembershipsByUserIdDto {
|
|
405
|
+
userId: number;
|
|
496
406
|
}
|
|
497
|
-
export declare class
|
|
498
|
-
|
|
407
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
408
|
+
startDate: string;
|
|
499
409
|
}
|
|
500
|
-
export declare class
|
|
501
|
-
|
|
410
|
+
export declare class MembershipIdsDto {
|
|
411
|
+
membershipIds?: number[];
|
|
502
412
|
}
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
505
|
-
endDateFilter?: EComparisonFilter;
|
|
413
|
+
export declare class MemberIdDto {
|
|
414
|
+
memberId?: number;
|
|
506
415
|
}
|
|
507
|
-
export declare class
|
|
508
|
-
|
|
416
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
417
|
+
nameEmailSearch?: string;
|
|
418
|
+
pastMemberships?: string;
|
|
509
419
|
}
|
|
510
|
-
export declare class
|
|
511
|
-
|
|
512
|
-
|
|
420
|
+
export declare class CancelMembershipDto {
|
|
421
|
+
isImmediatelyCancel: boolean;
|
|
422
|
+
cancellationReason?: string;
|
|
513
423
|
}
|
|
514
|
-
export declare class
|
|
515
|
-
|
|
424
|
+
export declare class FindByProductIdDto {
|
|
425
|
+
productId: number;
|
|
516
426
|
}
|
|
517
|
-
export declare class
|
|
427
|
+
export declare class FindPriceOfProductDto {
|
|
428
|
+
id: number;
|
|
518
429
|
userId: number;
|
|
430
|
+
resources: ResourceDto[];
|
|
519
431
|
}
|
|
520
|
-
export declare class
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
nameEmailSearch?: string;
|
|
432
|
+
export declare class FindPricesOfProductsDto {
|
|
433
|
+
products: FindPriceOfProductDto[];
|
|
434
|
+
answers: UserAnswersDto[];
|
|
524
435
|
}
|
|
525
|
-
export declare class
|
|
526
|
-
|
|
436
|
+
export declare class FindPackageByResourceDto {
|
|
437
|
+
resourceType: ResourceNameTypeEnum;
|
|
438
|
+
resourceId: number;
|
|
439
|
+
}
|
|
440
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
441
|
+
organizationId: number;
|
|
442
|
+
}
|
|
443
|
+
export declare class CreateProductsDto {
|
|
444
|
+
products: CreateProductDto[];
|
|
445
|
+
addOnsData?: ProductInPackage[];
|
|
446
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
447
|
+
}
|
|
448
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
527
449
|
name: string;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
450
|
+
}
|
|
451
|
+
export declare class CreateProductDto {
|
|
452
|
+
id?: number;
|
|
453
|
+
organizationId: number;
|
|
454
|
+
name: string;
|
|
455
|
+
quantity?: number;
|
|
456
|
+
isPublic: boolean;
|
|
457
|
+
startDate?: Date;
|
|
458
|
+
endDate?: Date;
|
|
532
459
|
description?: string;
|
|
460
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
461
|
+
resourcesIdsToApplyOn?: number[];
|
|
533
462
|
GL?: string;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
463
|
+
prices: CreatePriceDto[];
|
|
464
|
+
downpayment?: number;
|
|
465
|
+
productType: ProductTypesEnum;
|
|
466
|
+
subProductType?: string;
|
|
467
|
+
defaultForResourceId?: number;
|
|
468
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
469
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
470
|
+
variantTitleIds?: number[];
|
|
471
|
+
variants?: VariantWithPrice[];
|
|
472
|
+
variantParentId?: number;
|
|
473
|
+
isAddon?: boolean;
|
|
474
|
+
isArchive?: boolean;
|
|
475
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
476
|
+
isProRated?: boolean;
|
|
477
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
478
|
+
isTaxInclusive?: boolean;
|
|
479
|
+
tax?: number;
|
|
480
|
+
sports?: number[];
|
|
481
|
+
durationMinutes?: number;
|
|
482
|
+
durationDays?: number;
|
|
483
|
+
forms?: number[];
|
|
484
|
+
isForAllCustomers?: boolean;
|
|
485
|
+
membershipsAvailableFor?: number[];
|
|
486
|
+
customersAvailableFor?: number[];
|
|
487
|
+
addons?: createRentalProductAddonDto[];
|
|
488
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
489
|
+
}
|
|
490
|
+
export declare class VariantWithPrice {
|
|
491
|
+
variantIds: number[];
|
|
492
|
+
price: CreatePriceDto[];
|
|
493
|
+
}
|
|
494
|
+
export declare class CreatePriceDto {
|
|
495
|
+
id?: number;
|
|
496
|
+
price: number;
|
|
497
|
+
currency: CurrencyEnum;
|
|
498
|
+
name: string;
|
|
499
|
+
startDate?: Date;
|
|
500
|
+
endDate?: Date;
|
|
501
|
+
discountValue?: number;
|
|
502
|
+
discountMethod?: DiscountMethodsEnum;
|
|
503
|
+
isDefaultPriceForProduct?: boolean;
|
|
504
|
+
}
|
|
505
|
+
export declare class CreatePackageDto {
|
|
506
|
+
parentProductId: number;
|
|
507
|
+
productsData?: ProductInPackage[];
|
|
508
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
509
|
+
}
|
|
510
|
+
export declare class CreatePackageToResourceDto {
|
|
511
|
+
resourceId: number;
|
|
512
|
+
resourceType: ResourceNameTypeEnum;
|
|
513
|
+
isCreateToChildProducts: boolean;
|
|
514
|
+
productsData: ProductInPackage[];
|
|
515
|
+
}
|
|
516
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
517
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
518
|
+
amountInPackage?: number;
|
|
519
|
+
level?: ProductPackageLevelEnum;
|
|
520
|
+
}
|
|
521
|
+
export declare class ExistingProductToPackageDto {
|
|
522
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
523
|
+
id: number;
|
|
524
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
525
|
+
level?: ProductPackageLevelEnum;
|
|
526
|
+
}
|
|
527
|
+
export declare class ConnectProductResourceDto {
|
|
528
|
+
productId: number;
|
|
529
|
+
resourceType: ResourceNameTypeEnum;
|
|
530
|
+
resourceIds: number[];
|
|
531
|
+
}
|
|
532
|
+
export declare class ReturnRequiredProductsDto {
|
|
533
|
+
userId: number;
|
|
534
|
+
productId: number;
|
|
535
|
+
redeemRelevantDate?: string;
|
|
536
|
+
}
|
|
537
|
+
export declare class FindByProductUserIdsDto {
|
|
538
|
+
userId: number;
|
|
539
|
+
organizationId: number;
|
|
540
|
+
}
|
|
541
|
+
export declare class AddRequiredProductsDto {
|
|
542
|
+
productId: number;
|
|
543
|
+
requiredProductIds: number[];
|
|
544
|
+
}
|
|
545
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
546
|
+
productIds?: number[];
|
|
547
|
+
includePrices?: boolean;
|
|
548
|
+
productType?: ProductTypesEnum;
|
|
549
|
+
includeAddons?: string;
|
|
550
|
+
}
|
|
551
|
+
export declare class GetByOrganizationIdDto {
|
|
552
|
+
organizationId?: number;
|
|
553
|
+
}
|
|
554
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
555
|
+
invoiceId?: number;
|
|
556
|
+
}
|
|
557
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
558
|
+
productIds?: string;
|
|
559
|
+
includePrices?: boolean;
|
|
560
|
+
productType?: string;
|
|
561
|
+
productSubType?: string;
|
|
562
|
+
search?: string;
|
|
563
|
+
includeAddons?: boolean;
|
|
564
|
+
includeArchived?: boolean;
|
|
565
|
+
includeAllData?: boolean;
|
|
566
|
+
resourceIds?: string;
|
|
567
|
+
sports?: string;
|
|
568
|
+
}
|
|
569
|
+
export declare class GetAllVariantTitlesDto {
|
|
570
|
+
organizationId: number;
|
|
571
|
+
}
|
|
572
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
573
|
+
organizationId: number;
|
|
574
|
+
}
|
|
575
|
+
export declare class CreateVariantTitleDto {
|
|
576
|
+
organizationId: number;
|
|
577
|
+
title: string;
|
|
578
|
+
variants: string[];
|
|
579
|
+
}
|
|
580
|
+
export declare class UpdateVariantTitleDto {
|
|
581
|
+
organizationId: number;
|
|
582
|
+
titleId: number;
|
|
583
|
+
title: string;
|
|
584
|
+
variants: string[];
|
|
585
|
+
}
|
|
586
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
587
|
+
customerId: number;
|
|
588
|
+
}
|
|
589
|
+
export declare class GetExtraProductDataDto {
|
|
590
|
+
isPublic?: boolean;
|
|
591
|
+
isGetByChildResources?: boolean;
|
|
592
|
+
isGetEntitlePricing?: boolean;
|
|
593
|
+
isGetAddOns?: boolean;
|
|
594
|
+
includeResources?: boolean;
|
|
595
|
+
includeArchived?: boolean;
|
|
596
|
+
}
|
|
597
|
+
export declare class GetBySessionType {
|
|
598
|
+
sessionType: 'event' | 'segment';
|
|
599
|
+
}
|
|
600
|
+
export declare class CreateSubcategoryDto {
|
|
601
|
+
productType: ProductTypesEnum;
|
|
602
|
+
name: string;
|
|
603
|
+
stationId?: number;
|
|
604
|
+
ordinal?: number;
|
|
605
|
+
}
|
|
606
|
+
export declare class CreateSubcategoriesDto {
|
|
607
|
+
subcategories: CreateSubcategoryDto[];
|
|
608
|
+
}
|
|
609
|
+
export declare class UpdateSubcategoryDto {
|
|
610
|
+
id: number;
|
|
611
|
+
productType?: ProductTypesEnum;
|
|
612
|
+
name?: string;
|
|
613
|
+
stationId?: number;
|
|
614
|
+
ordinal?: number;
|
|
615
|
+
}
|
|
616
|
+
export declare class GetSubcategoryDto {
|
|
617
|
+
stationId?: number;
|
|
618
|
+
}
|
|
619
|
+
export declare class SetStationSubcategoriesDto {
|
|
620
|
+
stationId: number;
|
|
621
|
+
subcategoryIds?: number[];
|
|
622
|
+
categories?: string[];
|
|
623
|
+
}
|
|
624
|
+
export declare class createRentalProductAddonDto {
|
|
625
|
+
productId: number;
|
|
626
|
+
price: number;
|
|
627
|
+
isFlatPrice: boolean;
|
|
628
|
+
isMandatory: boolean;
|
|
629
|
+
level: ProductPackageLevelEnum;
|
|
630
|
+
}
|
|
631
|
+
export declare class createProductAvailabilityTimesDto {
|
|
632
|
+
availabilityStartDate?: string;
|
|
633
|
+
availabilityEndDate?: string;
|
|
634
|
+
daysOfWeek: number[];
|
|
635
|
+
startTime: string;
|
|
636
|
+
endTime: string;
|
|
637
|
+
}
|
|
638
|
+
export declare class createResourceDto {
|
|
639
|
+
resourceId: number;
|
|
640
|
+
resourceType: ResourceNameTypeEnum;
|
|
641
|
+
}
|
|
642
|
+
export declare class archiveDto {
|
|
643
|
+
isArchive: boolean;
|
|
644
|
+
}
|
|
645
|
+
export declare class CreateUpdateVariantsDto {
|
|
646
|
+
organizationId: number;
|
|
647
|
+
parentProductId: number;
|
|
648
|
+
variantTitles: VariantTitleDto[];
|
|
649
|
+
variants: VariantDto[];
|
|
650
|
+
}
|
|
651
|
+
export declare class VariantTitleDto {
|
|
652
|
+
titleName: string;
|
|
653
|
+
titleId: number;
|
|
654
|
+
}
|
|
655
|
+
export declare class VariantDto {
|
|
656
|
+
name: string;
|
|
657
|
+
price: number;
|
|
658
|
+
variantId: number;
|
|
659
|
+
currency: CurrencyEnum;
|
|
660
|
+
startDate: Date;
|
|
661
|
+
endDate: Date;
|
|
662
|
+
}
|
|
663
|
+
export declare class CreateEntitlementTermsDto {
|
|
664
|
+
organizationId: number;
|
|
665
|
+
entitlementGroupId: number;
|
|
666
|
+
terms: IEntitlementTerms[];
|
|
667
|
+
}
|
|
668
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
669
|
+
entitlementGroupId: number;
|
|
670
|
+
}
|
|
671
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
672
|
+
user: any;
|
|
673
|
+
userVariables: IQuestionAnswerObject[];
|
|
674
|
+
}
|
|
675
|
+
export declare class FindLowestPriceDto {
|
|
676
|
+
organizationId: number;
|
|
677
|
+
user?: any;
|
|
678
|
+
answers?: IQuestionAnswerObject[];
|
|
679
|
+
itemIds: number[];
|
|
680
|
+
itemType?: ResourceNameTypeEnum;
|
|
681
|
+
startDate?: Date;
|
|
682
|
+
}
|
|
683
|
+
export declare class FindGroupItemsPricingsDto {
|
|
684
|
+
groupsIds: number[];
|
|
685
|
+
itemsIds: number[];
|
|
686
|
+
}
|
|
687
|
+
export declare class CreateEntitlementGroupDto {
|
|
688
|
+
name: string;
|
|
689
|
+
}
|
|
690
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
691
|
+
itemIds: number[];
|
|
692
|
+
itemType: string;
|
|
693
|
+
}
|
|
694
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
695
|
+
groupid: number;
|
|
696
|
+
}
|
|
697
|
+
export declare class CreateGroupPricingWithProduct {
|
|
698
|
+
groupId: number;
|
|
699
|
+
price: number;
|
|
700
|
+
startDate?: Date;
|
|
701
|
+
endDate?: Date;
|
|
702
|
+
discountValue?: number;
|
|
703
|
+
discountMethod?: DiscountMethodsEnum;
|
|
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?: EComparisonFilter;
|
|
726
|
+
endDateFilter?: EComparisonFilter;
|
|
727
|
+
}
|
|
728
|
+
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
729
|
+
seasonId: number;
|
|
730
|
+
}
|
|
731
|
+
export declare class FindSessionEventByIdDto {
|
|
732
|
+
seasonId: number;
|
|
733
|
+
eventId: number;
|
|
734
|
+
}
|
|
735
|
+
export declare class DeleteProductDto {
|
|
736
|
+
deleteProduct?: boolean;
|
|
737
|
+
}
|
|
738
|
+
export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
|
|
739
|
+
userId: number;
|
|
740
|
+
}
|
|
741
|
+
export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
|
|
742
|
+
isFreeAgentsOnly?: boolean;
|
|
743
|
+
isPunchCardUsers?: boolean;
|
|
744
|
+
nameEmailSearch?: string;
|
|
745
|
+
}
|
|
746
|
+
export declare class BaseProgramSeasonDto {
|
|
747
|
+
programId: number;
|
|
748
|
+
name: string;
|
|
749
|
+
status: PublishingStatusEnum;
|
|
750
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
751
|
+
startDate: Date;
|
|
752
|
+
endDate: Date;
|
|
753
|
+
description?: string;
|
|
754
|
+
GL?: string;
|
|
755
|
+
parentSeasonId?: number;
|
|
756
|
+
questionnaires?: number[];
|
|
757
|
+
maxParticipants?: number;
|
|
758
|
+
maxMaleParticipants?: number;
|
|
759
|
+
maxFemaleParticipants?: number;
|
|
760
|
+
maxWaitlist?: number;
|
|
761
|
+
maxMaleWaitlist?: number;
|
|
762
|
+
maxFemaleWaitlist?: number;
|
|
763
|
+
facilityId?: number;
|
|
543
764
|
addressId?: number;
|
|
544
765
|
blockedDated?: blockedDatesDto[];
|
|
545
766
|
activityTimes: ActivityTimesDto[];
|
|
@@ -800,10 +1021,6 @@ export declare class CreateResourceGroupDto {
|
|
|
800
1021
|
}
|
|
801
1022
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
802
1023
|
}
|
|
803
|
-
export declare class ResourceDto {
|
|
804
|
-
type: ResourceNameTypeEnum;
|
|
805
|
-
id: number;
|
|
806
|
-
}
|
|
807
1024
|
export declare class SpaceByIdDto {
|
|
808
1025
|
spaceId: number;
|
|
809
1026
|
}
|
|
@@ -834,262 +1051,54 @@ export declare class UpdateSpaceDetailsDto {
|
|
|
834
1051
|
}
|
|
835
1052
|
export declare class UpdateSpacePropertiesDto {
|
|
836
1053
|
properties: SpacePropertiesEnum;
|
|
837
|
-
width?: number;
|
|
838
|
-
length?: number;
|
|
839
|
-
surface?: SurfacesEnum;
|
|
840
|
-
ages?: ResourceAgesEnum;
|
|
841
|
-
}
|
|
842
|
-
export declare class UpdateSpaceTimesDto {
|
|
843
|
-
activityTimes: BasicActivityTimesDto[];
|
|
844
|
-
}
|
|
845
|
-
export declare class UpdateSpaceRelationshipsDto {
|
|
846
|
-
resourceGroupId?: number;
|
|
847
|
-
blockedResourcesIds?: number[];
|
|
848
|
-
}
|
|
849
|
-
export declare class SaveSpaceDependenciesDto {
|
|
850
|
-
blockedSpacesIds: number[];
|
|
851
|
-
parentSpaceId?: number;
|
|
852
|
-
}
|
|
853
|
-
export declare class FacilitySlotsScheduleQueryParams {
|
|
854
|
-
spacesIds?: string;
|
|
855
|
-
futureHoursLimit?: number;
|
|
856
|
-
}
|
|
857
|
-
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
858
|
-
nameSearch?: string;
|
|
859
|
-
facilitiesIds?: string;
|
|
860
|
-
types?: string;
|
|
861
|
-
resourcesIds?: string;
|
|
862
|
-
}
|
|
863
|
-
export declare class StripeCustomerIdDto {
|
|
864
|
-
userId: number;
|
|
865
|
-
}
|
|
866
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
867
|
-
paymentMethodId: string;
|
|
868
|
-
}
|
|
869
|
-
export declare class AddACHTokenToCustomerDto {
|
|
870
|
-
publicToken: string;
|
|
871
|
-
accountId: string;
|
|
872
|
-
}
|
|
873
|
-
export declare class FindByProductIdDto {
|
|
874
|
-
productId: number;
|
|
875
|
-
}
|
|
876
|
-
export declare class FindPriceOfProductDto {
|
|
877
|
-
id: number;
|
|
878
|
-
userId: number;
|
|
879
|
-
resources: ResourceDto[];
|
|
880
|
-
}
|
|
881
|
-
export declare class FindPricesOfProductsDto {
|
|
882
|
-
products: FindPriceOfProductDto[];
|
|
883
|
-
answers: UserAnswersDto[];
|
|
884
|
-
}
|
|
885
|
-
export declare class FindPackageByResourceDto {
|
|
886
|
-
resourceType: ResourceNameTypeEnum;
|
|
887
|
-
resourceId: number;
|
|
888
|
-
}
|
|
889
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
890
|
-
organizationId: number;
|
|
891
|
-
}
|
|
892
|
-
export declare class CreateProductsDto {
|
|
893
|
-
products: CreateProductDto[];
|
|
894
|
-
addOnsData?: ProductInPackage[];
|
|
895
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
896
|
-
}
|
|
897
|
-
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
898
|
-
name: string;
|
|
899
|
-
}
|
|
900
|
-
export declare class CreateProductDto {
|
|
901
|
-
id?: number;
|
|
902
|
-
organizationId: number;
|
|
903
|
-
name: string;
|
|
904
|
-
quantity?: number;
|
|
905
|
-
isPublic: boolean;
|
|
906
|
-
startDate?: Date;
|
|
907
|
-
endDate?: Date;
|
|
908
|
-
description?: string;
|
|
909
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
910
|
-
resourcesIdsToApplyOn?: number[];
|
|
911
|
-
GL?: string;
|
|
912
|
-
prices: CreatePriceDto[];
|
|
913
|
-
downpayment?: number;
|
|
914
|
-
productType: ProductTypesEnum;
|
|
915
|
-
subProductType?: string;
|
|
916
|
-
defaultForResourceId?: number;
|
|
917
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
918
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
919
|
-
variantTitleIds?: number[];
|
|
920
|
-
variants?: VariantWithPrice[];
|
|
921
|
-
variantParentId?: number;
|
|
922
|
-
isAddon?: boolean;
|
|
923
|
-
isArchive?: boolean;
|
|
924
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
925
|
-
isProRated?: boolean;
|
|
926
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
927
|
-
isTaxInclusive?: boolean;
|
|
928
|
-
tax?: number;
|
|
929
|
-
sports?: number[];
|
|
930
|
-
durationMinutes?: number;
|
|
931
|
-
durationDays?: number;
|
|
932
|
-
forms?: number[];
|
|
933
|
-
isForAllCustomers?: boolean;
|
|
934
|
-
membershipsAvailableFor?: number[];
|
|
935
|
-
customersAvailableFor?: number[];
|
|
936
|
-
addons?: createRentalProductAddonDto[];
|
|
937
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
938
|
-
}
|
|
939
|
-
export declare class VariantWithPrice {
|
|
940
|
-
variantIds: number[];
|
|
941
|
-
price: CreatePriceDto[];
|
|
942
|
-
}
|
|
943
|
-
export declare class CreatePriceDto {
|
|
944
|
-
id?: number;
|
|
945
|
-
price: number;
|
|
946
|
-
currency: CurrencyEnum;
|
|
947
|
-
name: string;
|
|
948
|
-
startDate?: Date;
|
|
949
|
-
endDate?: Date;
|
|
950
|
-
discountValue?: number;
|
|
951
|
-
discountMethod?: DiscountMethodsEnum;
|
|
952
|
-
isDefaultPriceForProduct?: boolean;
|
|
953
|
-
}
|
|
954
|
-
export declare class CreatePackageDto {
|
|
955
|
-
parentProductId: number;
|
|
956
|
-
productsData?: ProductInPackage[];
|
|
957
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
958
|
-
}
|
|
959
|
-
export declare class CreatePackageToResourceDto {
|
|
960
|
-
resourceId: number;
|
|
961
|
-
resourceType: ResourceNameTypeEnum;
|
|
962
|
-
isCreateToChildProducts: boolean;
|
|
963
|
-
productsData: ProductInPackage[];
|
|
964
|
-
}
|
|
965
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
966
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
967
|
-
amountInPackage?: number;
|
|
968
|
-
level?: ProductPackageLevelEnum;
|
|
969
|
-
}
|
|
970
|
-
export declare class ExistingProductToPackageDto {
|
|
971
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
972
|
-
id: number;
|
|
973
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
974
|
-
level?: ProductPackageLevelEnum;
|
|
975
|
-
}
|
|
976
|
-
export declare class ConnectProductResourceDto {
|
|
977
|
-
productId: number;
|
|
978
|
-
resourceType: ResourceNameTypeEnum;
|
|
979
|
-
resourceIds: number[];
|
|
980
|
-
}
|
|
981
|
-
export declare class ReturnRequiredProductsDto {
|
|
982
|
-
userId: number;
|
|
983
|
-
productId: number;
|
|
984
|
-
redeemRelevantDate?: string;
|
|
985
|
-
}
|
|
986
|
-
export declare class FindByProductUserIdsDto {
|
|
987
|
-
userId: number;
|
|
988
|
-
organizationId: number;
|
|
989
|
-
}
|
|
990
|
-
export declare class AddRequiredProductsDto {
|
|
991
|
-
productId: number;
|
|
992
|
-
requiredProductIds: number[];
|
|
993
|
-
}
|
|
994
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
995
|
-
productIds?: number[];
|
|
996
|
-
includePrices?: boolean;
|
|
997
|
-
productType?: ProductTypesEnum;
|
|
998
|
-
includeAddons?: string;
|
|
999
|
-
}
|
|
1000
|
-
export declare class GetByOrganizationIdDto {
|
|
1001
|
-
organizationId?: number;
|
|
1002
|
-
}
|
|
1003
|
-
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
1004
|
-
invoiceId?: number;
|
|
1005
|
-
}
|
|
1006
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
1007
|
-
productIds?: string;
|
|
1008
|
-
includePrices?: boolean;
|
|
1009
|
-
productType?: string;
|
|
1010
|
-
productSubType?: string;
|
|
1011
|
-
search?: string;
|
|
1012
|
-
includeAddons?: boolean;
|
|
1013
|
-
includeArchived?: boolean;
|
|
1014
|
-
includeAllData?: boolean;
|
|
1015
|
-
resourceIds?: string;
|
|
1016
|
-
sports?: string;
|
|
1017
|
-
}
|
|
1018
|
-
export declare class GetAllVariantTitlesDto {
|
|
1019
|
-
organizationId: number;
|
|
1020
|
-
}
|
|
1021
|
-
export declare class GetAllOrganizationAddonsDto {
|
|
1022
|
-
organizationId: number;
|
|
1023
|
-
}
|
|
1024
|
-
export declare class CreateVariantTitleDto {
|
|
1025
|
-
organizationId: number;
|
|
1026
|
-
title: string;
|
|
1027
|
-
variants: string[];
|
|
1028
|
-
}
|
|
1029
|
-
export declare class UpdateVariantTitleDto {
|
|
1030
|
-
organizationId: number;
|
|
1031
|
-
titleId: number;
|
|
1032
|
-
title: string;
|
|
1033
|
-
variants: string[];
|
|
1054
|
+
width?: number;
|
|
1055
|
+
length?: number;
|
|
1056
|
+
surface?: SurfacesEnum;
|
|
1057
|
+
ages?: ResourceAgesEnum;
|
|
1034
1058
|
}
|
|
1035
|
-
export declare class
|
|
1036
|
-
|
|
1059
|
+
export declare class UpdateSpaceTimesDto {
|
|
1060
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1037
1061
|
}
|
|
1038
|
-
export declare class
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
isGetEntitlePricing?: boolean;
|
|
1042
|
-
isGetAddOns?: boolean;
|
|
1043
|
-
includeResources?: boolean;
|
|
1044
|
-
includeArchived?: boolean;
|
|
1062
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1063
|
+
resourceGroupId?: number;
|
|
1064
|
+
blockedResourcesIds?: number[];
|
|
1045
1065
|
}
|
|
1046
|
-
export declare class
|
|
1047
|
-
|
|
1066
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1067
|
+
blockedSpacesIds: number[];
|
|
1068
|
+
parentSpaceId?: number;
|
|
1048
1069
|
}
|
|
1049
|
-
export declare class
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
stationId?: number;
|
|
1053
|
-
ordinal?: number;
|
|
1070
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1071
|
+
spacesIds?: string;
|
|
1072
|
+
futureHoursLimit?: number;
|
|
1054
1073
|
}
|
|
1055
|
-
export declare class
|
|
1056
|
-
|
|
1074
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1075
|
+
nameSearch?: string;
|
|
1076
|
+
facilitiesIds?: string;
|
|
1077
|
+
types?: string;
|
|
1078
|
+
resourcesIds?: string;
|
|
1057
1079
|
}
|
|
1058
|
-
export declare class
|
|
1080
|
+
export declare class ResourceDto {
|
|
1081
|
+
type: ResourceNameTypeEnum;
|
|
1059
1082
|
id: number;
|
|
1060
|
-
productType?: ProductTypesEnum;
|
|
1061
|
-
name?: string;
|
|
1062
|
-
stationId?: number;
|
|
1063
|
-
ordinal?: number;
|
|
1064
1083
|
}
|
|
1065
|
-
export declare class
|
|
1066
|
-
|
|
1084
|
+
export declare class StripeCustomerIdDto {
|
|
1085
|
+
userId: number;
|
|
1067
1086
|
}
|
|
1068
|
-
export declare class
|
|
1069
|
-
|
|
1070
|
-
subcategoryIds?: number[];
|
|
1071
|
-
categories?: string[];
|
|
1087
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1088
|
+
paymentMethodId: string;
|
|
1072
1089
|
}
|
|
1073
|
-
export declare class
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
isFlatPrice: boolean;
|
|
1077
|
-
isMandatory: boolean;
|
|
1078
|
-
level: ProductPackageLevelEnum;
|
|
1090
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1091
|
+
publicToken: string;
|
|
1092
|
+
accountId: string;
|
|
1079
1093
|
}
|
|
1080
|
-
export declare class
|
|
1081
|
-
|
|
1082
|
-
availabilityEndDate?: string;
|
|
1083
|
-
daysOfWeek: number[];
|
|
1084
|
-
startTime: string;
|
|
1085
|
-
endTime: string;
|
|
1094
|
+
export declare class FindByUserIdDto {
|
|
1095
|
+
userId: number;
|
|
1086
1096
|
}
|
|
1087
|
-
export declare class
|
|
1088
|
-
|
|
1089
|
-
resourceType: ResourceNameTypeEnum;
|
|
1097
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1098
|
+
familyAccountId?: number;
|
|
1090
1099
|
}
|
|
1091
|
-
export declare class
|
|
1092
|
-
|
|
1100
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1101
|
+
organizationId: number;
|
|
1093
1102
|
}
|
|
1094
1103
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1095
1104
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1117,17 +1126,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1117
1126
|
proudct: Product;
|
|
1118
1127
|
event: Event;
|
|
1119
1128
|
}
|
|
1120
|
-
export declare class Address extends BondBaseEntity {
|
|
1121
|
-
city?: string;
|
|
1122
|
-
street?: string;
|
|
1123
|
-
streetNum?: string;
|
|
1124
|
-
aptNum?: string;
|
|
1125
|
-
zip?: string;
|
|
1126
|
-
country?: string;
|
|
1127
|
-
state?: string;
|
|
1128
|
-
geo: any;
|
|
1129
|
-
deletedAt?: Date;
|
|
1130
|
-
}
|
|
1131
1129
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1132
1130
|
questionId: number;
|
|
1133
1131
|
question?: Questions;
|
|
@@ -1141,11 +1139,16 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1141
1139
|
metaData: any | null;
|
|
1142
1140
|
questionText: string | null;
|
|
1143
1141
|
}
|
|
1144
|
-
export declare class
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1142
|
+
export declare class Address extends BondBaseEntity {
|
|
1143
|
+
city?: string;
|
|
1144
|
+
street?: string;
|
|
1145
|
+
streetNum?: string;
|
|
1146
|
+
aptNum?: string;
|
|
1147
|
+
zip?: string;
|
|
1148
|
+
country?: string;
|
|
1149
|
+
state?: string;
|
|
1150
|
+
geo: any;
|
|
1151
|
+
deletedAt?: Date;
|
|
1149
1152
|
}
|
|
1150
1153
|
export declare class Athlete extends BondBaseEntity {
|
|
1151
1154
|
userId: number | null;
|
|
@@ -1157,6 +1160,12 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1157
1160
|
sports: number | null;
|
|
1158
1161
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1159
1162
|
}
|
|
1163
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1164
|
+
questionnaireId: number;
|
|
1165
|
+
userId?: number;
|
|
1166
|
+
answers: Answer[];
|
|
1167
|
+
questionnaire: Questionnaires;
|
|
1168
|
+
}
|
|
1160
1169
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1161
1170
|
entityType: ResourceNameTypeEnum;
|
|
1162
1171
|
entityId: number;
|
|
@@ -1165,11 +1174,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1165
1174
|
endDate: Date;
|
|
1166
1175
|
deletedAt?: Date;
|
|
1167
1176
|
}
|
|
1168
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1169
|
-
id: number;
|
|
1170
|
-
createdAt: Date;
|
|
1171
|
-
updatedAt: Date;
|
|
1172
|
-
}
|
|
1173
1177
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1174
1178
|
reservationId?: number;
|
|
1175
1179
|
color?: string;
|
|
@@ -1198,6 +1202,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1198
1202
|
endTimeInDay: string;
|
|
1199
1203
|
directBookingFor: DirectBookingTypesEnum;
|
|
1200
1204
|
}
|
|
1205
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1206
|
+
id: number;
|
|
1207
|
+
createdAt: Date;
|
|
1208
|
+
updatedAt: Date;
|
|
1209
|
+
}
|
|
1201
1210
|
export declare class Configuration extends BondBaseEntity {
|
|
1202
1211
|
area: string;
|
|
1203
1212
|
key: string;
|
|
@@ -1215,23 +1224,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1215
1224
|
userCreatorId: number | null;
|
|
1216
1225
|
ownerId: number | null;
|
|
1217
1226
|
}
|
|
1218
|
-
export declare class FindByUserIdDto {
|
|
1219
|
-
userId: number;
|
|
1220
|
-
}
|
|
1221
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1222
|
-
familyAccountId?: number;
|
|
1223
|
-
}
|
|
1224
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1225
|
-
organizationId: number;
|
|
1226
|
-
}
|
|
1227
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1228
|
-
creditAmount: number;
|
|
1229
|
-
paymentProcessorId: string;
|
|
1230
|
-
userId: number;
|
|
1231
|
-
paymentId: number;
|
|
1232
|
-
invoiceId: number;
|
|
1233
|
-
creditPaymentId: number;
|
|
1234
|
-
}
|
|
1235
1227
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1236
1228
|
name: string | null;
|
|
1237
1229
|
entityId: number | null;
|
|
@@ -1272,6 +1264,14 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1272
1264
|
invoice: Invoice;
|
|
1273
1265
|
payment: Payment;
|
|
1274
1266
|
}
|
|
1267
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1268
|
+
creditAmount: number;
|
|
1269
|
+
paymentProcessorId: string;
|
|
1270
|
+
userId: number;
|
|
1271
|
+
paymentId: number;
|
|
1272
|
+
invoiceId: number;
|
|
1273
|
+
creditPaymentId: number;
|
|
1274
|
+
}
|
|
1275
1275
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1276
1276
|
customerId?: number;
|
|
1277
1277
|
description: string;
|
|
@@ -1295,10 +1295,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1295
1295
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1296
1296
|
name: string | null;
|
|
1297
1297
|
}
|
|
1298
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1299
|
-
groupId: number;
|
|
1300
|
-
terms: IEntitlementTerms[];
|
|
1301
|
-
}
|
|
1302
1298
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1303
1299
|
status: RequestStatusEnum | null;
|
|
1304
1300
|
hasPaid: boolean | null;
|
|
@@ -1372,6 +1368,14 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1372
1368
|
session?: ProgramSeason;
|
|
1373
1369
|
segment?: ProgramSeason;
|
|
1374
1370
|
}
|
|
1371
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1372
|
+
groupId: number;
|
|
1373
|
+
terms: IEntitlementTerms[];
|
|
1374
|
+
}
|
|
1375
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1376
|
+
facilityId: number;
|
|
1377
|
+
resourceId: number;
|
|
1378
|
+
}
|
|
1375
1379
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1376
1380
|
name: string;
|
|
1377
1381
|
description?: string;
|
|
@@ -1396,10 +1400,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1396
1400
|
programSeasons: ProgramSeason[];
|
|
1397
1401
|
linkSEO: string;
|
|
1398
1402
|
}
|
|
1399
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1400
|
-
facilityId: number;
|
|
1401
|
-
resourceId: number;
|
|
1402
|
-
}
|
|
1403
1403
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1404
1404
|
name: string | null;
|
|
1405
1405
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
@@ -1418,6 +1418,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1418
1418
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1419
1419
|
code: string;
|
|
1420
1420
|
}
|
|
1421
|
+
export declare class Group extends BondBaseEntity {
|
|
1422
|
+
name: string;
|
|
1423
|
+
description?: string;
|
|
1424
|
+
status: GroupStatusEnum;
|
|
1425
|
+
maxCapacity?: number;
|
|
1426
|
+
mainMediaId?: number;
|
|
1427
|
+
minAgeYears?: number;
|
|
1428
|
+
maxAgeYears?: number;
|
|
1429
|
+
gender: GenderEnum;
|
|
1430
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1431
|
+
sports: SportsEnum[];
|
|
1432
|
+
questionnaires?: number[];
|
|
1433
|
+
captainUserId?: number;
|
|
1434
|
+
members: ISeasonAttendeeInfo[];
|
|
1435
|
+
users: User[];
|
|
1436
|
+
}
|
|
1421
1437
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1422
1438
|
groupId: number;
|
|
1423
1439
|
itemId: number;
|
|
@@ -1558,21 +1574,15 @@ export declare class LeagueSeasonRelations {
|
|
|
1558
1574
|
league?: boolean;
|
|
1559
1575
|
facilities?: boolean;
|
|
1560
1576
|
}
|
|
1561
|
-
export declare class
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1571
|
-
sports: SportsEnum[];
|
|
1572
|
-
questionnaires?: number[];
|
|
1573
|
-
captainUserId?: number;
|
|
1574
|
-
members: ISeasonAttendeeInfo[];
|
|
1575
|
-
users: User[];
|
|
1577
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1578
|
+
invoiceId: number;
|
|
1579
|
+
paymentId: number;
|
|
1580
|
+
lineItemId: number;
|
|
1581
|
+
paidAmount: number;
|
|
1582
|
+
unitPaidAmount: number;
|
|
1583
|
+
currency: CurrencyEnum;
|
|
1584
|
+
payment: Payment;
|
|
1585
|
+
lineItem: LineItems;
|
|
1576
1586
|
}
|
|
1577
1587
|
export declare class LineItems extends BondBaseEntity {
|
|
1578
1588
|
constructor();
|
|
@@ -1664,6 +1674,26 @@ export declare class Media extends BondBaseEntity {
|
|
|
1664
1674
|
programs: Program[];
|
|
1665
1675
|
memberships: Membership[];
|
|
1666
1676
|
}
|
|
1677
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1678
|
+
membership: Membership;
|
|
1679
|
+
membershipId: number;
|
|
1680
|
+
productUserId: number;
|
|
1681
|
+
productUser?: ProductsUsers;
|
|
1682
|
+
userId: number;
|
|
1683
|
+
membershipType: MembershipTypeEnum;
|
|
1684
|
+
durationMonths?: number;
|
|
1685
|
+
startDate?: string;
|
|
1686
|
+
endDate?: string;
|
|
1687
|
+
renewalOfMemberId?: number;
|
|
1688
|
+
isAutoRenew?: boolean;
|
|
1689
|
+
nextPaymentMethodId?: string;
|
|
1690
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1691
|
+
answerTitleIds?: number[];
|
|
1692
|
+
cancelledAt?: Date | null;
|
|
1693
|
+
cancellationReason?: string;
|
|
1694
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1695
|
+
isImported?: boolean;
|
|
1696
|
+
}
|
|
1667
1697
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1668
1698
|
name: string;
|
|
1669
1699
|
description?: string;
|
|
@@ -1689,38 +1719,8 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1689
1719
|
tags: any[];
|
|
1690
1720
|
members: MembershipMember[];
|
|
1691
1721
|
longDescription?: string;
|
|
1692
|
-
isAutoRenew?: boolean;
|
|
1693
|
-
purchasedResources: PurchasedResource[];
|
|
1694
|
-
}
|
|
1695
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1696
|
-
invoiceId: number;
|
|
1697
|
-
paymentId: number;
|
|
1698
|
-
lineItemId: number;
|
|
1699
|
-
paidAmount: number;
|
|
1700
|
-
unitPaidAmount: number;
|
|
1701
|
-
currency: CurrencyEnum;
|
|
1702
|
-
payment: Payment;
|
|
1703
|
-
lineItem: LineItems;
|
|
1704
|
-
}
|
|
1705
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1706
|
-
membership: Membership;
|
|
1707
|
-
membershipId: number;
|
|
1708
|
-
productUserId: number;
|
|
1709
|
-
productUser?: ProductsUsers;
|
|
1710
|
-
userId: number;
|
|
1711
|
-
membershipType: MembershipTypeEnum;
|
|
1712
|
-
durationMonths?: number;
|
|
1713
|
-
startDate?: string;
|
|
1714
|
-
endDate?: string;
|
|
1715
|
-
renewalOfMemberId?: number;
|
|
1716
|
-
isAutoRenew?: boolean;
|
|
1717
|
-
nextPaymentMethodId?: string;
|
|
1718
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1719
|
-
answerTitleIds?: number[];
|
|
1720
|
-
cancelledAt?: Date | null;
|
|
1721
|
-
cancellationReason?: string;
|
|
1722
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1723
|
-
isImported?: boolean;
|
|
1722
|
+
isAutoRenew?: boolean;
|
|
1723
|
+
purchasedResources: PurchasedResource[];
|
|
1724
1724
|
}
|
|
1725
1725
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1726
1726
|
email: string | null;
|
|
@@ -1748,6 +1748,23 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1748
1748
|
validUntil: Date | null;
|
|
1749
1749
|
active: boolean | null;
|
|
1750
1750
|
}
|
|
1751
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
|
+
name?: string;
|
|
1753
|
+
description?: string;
|
|
1754
|
+
price: number;
|
|
1755
|
+
status: string;
|
|
1756
|
+
percentage: number;
|
|
1757
|
+
quantity: number;
|
|
1758
|
+
duration: number;
|
|
1759
|
+
organizationId: number;
|
|
1760
|
+
creatorId: number;
|
|
1761
|
+
creatorType: string;
|
|
1762
|
+
userCreatorId: number;
|
|
1763
|
+
ownerId: number;
|
|
1764
|
+
addon: boolean;
|
|
1765
|
+
isMandatory: boolean;
|
|
1766
|
+
productId: number;
|
|
1767
|
+
}
|
|
1751
1768
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1752
1769
|
price: number;
|
|
1753
1770
|
paymentProcessorId: string;
|
|
@@ -1775,32 +1792,21 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1775
1792
|
refundReasonId?: number;
|
|
1776
1793
|
refundNote?: string;
|
|
1777
1794
|
}
|
|
1778
|
-
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1779
|
-
failureIndex: number;
|
|
1780
|
-
waitingDays: number;
|
|
1781
|
-
}
|
|
1782
1795
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1783
1796
|
paymentInstallmentId?: number;
|
|
1784
1797
|
invoiceId: number;
|
|
1785
1798
|
reason: EFailedPaymentReasons;
|
|
1786
1799
|
errorMessage: string;
|
|
1787
1800
|
}
|
|
1788
|
-
export declare class
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
creatorId: number;
|
|
1798
|
-
creatorType: string;
|
|
1799
|
-
userCreatorId: number;
|
|
1800
|
-
ownerId: number;
|
|
1801
|
-
addon: boolean;
|
|
1802
|
-
isMandatory: boolean;
|
|
1803
|
-
productId: number;
|
|
1801
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1802
|
+
failureIndex: number;
|
|
1803
|
+
waitingDays: number;
|
|
1804
|
+
}
|
|
1805
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1806
|
+
paymentPlanId: number;
|
|
1807
|
+
paymentDate: Date;
|
|
1808
|
+
deletedAt?: Date;
|
|
1809
|
+
paymentPlan: ProductPaymentPlan;
|
|
1804
1810
|
}
|
|
1805
1811
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1806
1812
|
content: string;
|
|
@@ -1811,29 +1817,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1811
1817
|
paymentId: number;
|
|
1812
1818
|
payment: Payment;
|
|
1813
1819
|
}
|
|
1814
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1815
|
-
paymentPlanId: number;
|
|
1816
|
-
paymentDate: Date;
|
|
1817
|
-
deletedAt?: Date;
|
|
1818
|
-
paymentPlan: ProductPaymentPlan;
|
|
1819
|
-
}
|
|
1820
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1821
|
-
productId: number;
|
|
1822
|
-
product: Product;
|
|
1823
|
-
name: string | null;
|
|
1824
|
-
price: number;
|
|
1825
|
-
currency: CurrencyEnum;
|
|
1826
|
-
paymentProcessorId: number | null;
|
|
1827
|
-
startDate: Date;
|
|
1828
|
-
endDate: Date;
|
|
1829
|
-
groupId?: number;
|
|
1830
|
-
groupName?: string;
|
|
1831
|
-
originalPrice?: number;
|
|
1832
|
-
deletedAt?: Date;
|
|
1833
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1834
|
-
discountValue?: number;
|
|
1835
|
-
taxIncludedPrice?: number;
|
|
1836
|
-
}
|
|
1837
1820
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1838
1821
|
userId: number | null;
|
|
1839
1822
|
ownerId: number | null;
|
|
@@ -1902,6 +1885,38 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1902
1885
|
activityTimes: ActivityTimes[];
|
|
1903
1886
|
purchasedResources: PurchasedResource[];
|
|
1904
1887
|
}
|
|
1888
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1889
|
+
productId: number;
|
|
1890
|
+
product: Product;
|
|
1891
|
+
name: string | null;
|
|
1892
|
+
price: number;
|
|
1893
|
+
currency: CurrencyEnum;
|
|
1894
|
+
paymentProcessorId: number | null;
|
|
1895
|
+
startDate: Date;
|
|
1896
|
+
endDate: Date;
|
|
1897
|
+
groupId?: number;
|
|
1898
|
+
groupName?: string;
|
|
1899
|
+
originalPrice?: number;
|
|
1900
|
+
deletedAt?: Date;
|
|
1901
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1902
|
+
discountValue?: number;
|
|
1903
|
+
taxIncludedPrice?: number;
|
|
1904
|
+
}
|
|
1905
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1906
|
+
parentProductId: number;
|
|
1907
|
+
childProductId: number;
|
|
1908
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1909
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1910
|
+
deletedAt?: Date;
|
|
1911
|
+
productResource: ProductResource;
|
|
1912
|
+
childProduct: Product;
|
|
1913
|
+
parentProduct: Product;
|
|
1914
|
+
price: number;
|
|
1915
|
+
isFlatPrice: boolean;
|
|
1916
|
+
durationMinutes?: number;
|
|
1917
|
+
durationDays?: number;
|
|
1918
|
+
level?: ProductPackageLevelEnum;
|
|
1919
|
+
}
|
|
1905
1920
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1906
1921
|
productId: number;
|
|
1907
1922
|
maxMonths?: number;
|
|
@@ -1922,21 +1937,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1922
1937
|
productPackages: ProductPackage[];
|
|
1923
1938
|
resourceName?: string;
|
|
1924
1939
|
}
|
|
1925
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1926
|
-
parentProductId: number;
|
|
1927
|
-
childProductId: number;
|
|
1928
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1929
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1930
|
-
deletedAt?: Date;
|
|
1931
|
-
productResource: ProductResource;
|
|
1932
|
-
childProduct: Product;
|
|
1933
|
-
parentProduct: Product;
|
|
1934
|
-
price: number;
|
|
1935
|
-
isFlatPrice: boolean;
|
|
1936
|
-
durationMinutes?: number;
|
|
1937
|
-
durationDays?: number;
|
|
1938
|
-
level?: ProductPackageLevelEnum;
|
|
1939
|
-
}
|
|
1940
1940
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1941
1941
|
productId: number;
|
|
1942
1942
|
variantTitleId: number;
|
|
@@ -1945,6 +1945,13 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1945
1945
|
productId: number;
|
|
1946
1946
|
variantId: number;
|
|
1947
1947
|
}
|
|
1948
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1949
|
+
productId: number;
|
|
1950
|
+
customerId: number;
|
|
1951
|
+
customer: Customer;
|
|
1952
|
+
deletedAt?: Date;
|
|
1953
|
+
product: Product;
|
|
1954
|
+
}
|
|
1948
1955
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1949
1956
|
productId: number;
|
|
1950
1957
|
userId: number;
|
|
@@ -1984,14 +1991,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1984
1991
|
programSeason: ProgramSeason[];
|
|
1985
1992
|
purchasedResources: PurchasedResource[];
|
|
1986
1993
|
}
|
|
1987
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1988
|
-
type: ProgramHighlightTypeEnum;
|
|
1989
|
-
ordinal: number | null;
|
|
1990
|
-
title: string | null;
|
|
1991
|
-
data: any | null;
|
|
1992
|
-
program: Program;
|
|
1993
|
-
deletedAt?: Date;
|
|
1994
|
-
}
|
|
1995
1994
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1996
1995
|
programId: number;
|
|
1997
1996
|
name: string;
|
|
@@ -2047,12 +2046,13 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2047
2046
|
facility: Facility;
|
|
2048
2047
|
purchasedResources: PurchasedResource[];
|
|
2049
2048
|
}
|
|
2050
|
-
export declare class
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2049
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2050
|
+
type: ProgramHighlightTypeEnum;
|
|
2051
|
+
ordinal: number | null;
|
|
2052
|
+
title: string | null;
|
|
2053
|
+
data: any | null;
|
|
2054
|
+
program: Program;
|
|
2054
2055
|
deletedAt?: Date;
|
|
2055
|
-
product: Product;
|
|
2056
2056
|
}
|
|
2057
2057
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2058
2058
|
productUserId: number;
|
|
@@ -2110,6 +2110,34 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2110
2110
|
closeTime?: string;
|
|
2111
2111
|
deletedAt?: Date;
|
|
2112
2112
|
}
|
|
2113
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2114
|
+
name: string;
|
|
2115
|
+
resourceType: ResourceTypeEnum;
|
|
2116
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2117
|
+
description?: string;
|
|
2118
|
+
longDescription?: string;
|
|
2119
|
+
surface?: SurfacesEnum;
|
|
2120
|
+
properties?: SpacePropertiesEnum[];
|
|
2121
|
+
mainMediaId?: number;
|
|
2122
|
+
mainMedia: Media;
|
|
2123
|
+
sports: SportsEnum[];
|
|
2124
|
+
width?: number;
|
|
2125
|
+
length?: number;
|
|
2126
|
+
amenities?: AmenitiesEnum[];
|
|
2127
|
+
parentSpaceId?: number;
|
|
2128
|
+
ordinal?: number;
|
|
2129
|
+
isAddOn: boolean;
|
|
2130
|
+
ages?: ResourceAgesEnum;
|
|
2131
|
+
deletedAt?: Date;
|
|
2132
|
+
activityTimes: ActivityTimes[];
|
|
2133
|
+
facilities: Facility[];
|
|
2134
|
+
slots?: Slot[];
|
|
2135
|
+
addons?: Addon[];
|
|
2136
|
+
facilityId: number;
|
|
2137
|
+
facility: Facility;
|
|
2138
|
+
purchasedResources: PurchasedResource[];
|
|
2139
|
+
linkSEO: string;
|
|
2140
|
+
}
|
|
2113
2141
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2114
2142
|
name?: string;
|
|
2115
2143
|
description?: string;
|
|
@@ -2142,34 +2170,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2142
2170
|
publicNotes?: string;
|
|
2143
2171
|
slots?: Slot[];
|
|
2144
2172
|
}
|
|
2145
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2146
|
-
name: string;
|
|
2147
|
-
resourceType: ResourceTypeEnum;
|
|
2148
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2149
|
-
description?: string;
|
|
2150
|
-
longDescription?: string;
|
|
2151
|
-
surface?: SurfacesEnum;
|
|
2152
|
-
properties?: SpacePropertiesEnum[];
|
|
2153
|
-
mainMediaId?: number;
|
|
2154
|
-
mainMedia: Media;
|
|
2155
|
-
sports: SportsEnum[];
|
|
2156
|
-
width?: number;
|
|
2157
|
-
length?: number;
|
|
2158
|
-
amenities?: AmenitiesEnum[];
|
|
2159
|
-
parentSpaceId?: number;
|
|
2160
|
-
ordinal?: number;
|
|
2161
|
-
isAddOn: boolean;
|
|
2162
|
-
ages?: ResourceAgesEnum;
|
|
2163
|
-
deletedAt?: Date;
|
|
2164
|
-
activityTimes: ActivityTimes[];
|
|
2165
|
-
facilities: Facility[];
|
|
2166
|
-
slots?: Slot[];
|
|
2167
|
-
addons?: Addon[];
|
|
2168
|
-
facilityId: number;
|
|
2169
|
-
facility: Facility;
|
|
2170
|
-
purchasedResources: PurchasedResource[];
|
|
2171
|
-
linkSEO: string;
|
|
2172
|
-
}
|
|
2173
2173
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2174
2174
|
name: string;
|
|
2175
2175
|
facilityId: number;
|
|
@@ -2185,20 +2185,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2185
2185
|
phone: string | null;
|
|
2186
2186
|
dataId: number | null;
|
|
2187
2187
|
}
|
|
2188
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2189
|
-
status: RequestStatusEnum;
|
|
2190
|
-
paymentStatus: PaymentStatusEnum;
|
|
2191
|
-
paymentId?: number;
|
|
2192
|
-
productId?: number;
|
|
2193
|
-
attendeeId: number;
|
|
2194
|
-
attendee: User;
|
|
2195
|
-
seasonId: number;
|
|
2196
|
-
season: ProgramSeason;
|
|
2197
|
-
productUserId?: number;
|
|
2198
|
-
answerTitleIds?: number[];
|
|
2199
|
-
deletedAt?: Date;
|
|
2200
|
-
purchasedResource: PurchasedResource;
|
|
2201
|
-
}
|
|
2202
2188
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2203
2189
|
name: string | null;
|
|
2204
2190
|
ordinal: number | null;
|
|
@@ -2220,6 +2206,20 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2220
2206
|
purchasedResource: PurchasedResource;
|
|
2221
2207
|
season: LeagueSeason;
|
|
2222
2208
|
}
|
|
2209
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2210
|
+
status: RequestStatusEnum;
|
|
2211
|
+
paymentStatus: PaymentStatusEnum;
|
|
2212
|
+
paymentId?: number;
|
|
2213
|
+
productId?: number;
|
|
2214
|
+
attendeeId: number;
|
|
2215
|
+
attendee: User;
|
|
2216
|
+
seasonId: number;
|
|
2217
|
+
season: ProgramSeason;
|
|
2218
|
+
productUserId?: number;
|
|
2219
|
+
answerTitleIds?: number[];
|
|
2220
|
+
deletedAt?: Date;
|
|
2221
|
+
purchasedResource: PurchasedResource;
|
|
2222
|
+
}
|
|
2223
2223
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
2224
|
seasonId: number | null;
|
|
2225
2225
|
teamId: number | null;
|
|
@@ -2230,10 +2230,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2230
2230
|
metaData: any | null;
|
|
2231
2231
|
team: Team;
|
|
2232
2232
|
}
|
|
2233
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2234
|
-
blockingSpaceId: number;
|
|
2235
|
-
blockedSpaceId: number;
|
|
2236
|
-
}
|
|
2237
2233
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2238
2234
|
name: string;
|
|
2239
2235
|
facilityId: number;
|
|
@@ -2245,6 +2241,10 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2245
2241
|
subcategories: Subcategory[];
|
|
2246
2242
|
shifts?: Shift[];
|
|
2247
2243
|
}
|
|
2244
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2245
|
+
blockingSpaceId: number;
|
|
2246
|
+
blockedSpaceId: number;
|
|
2247
|
+
}
|
|
2248
2248
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2249
2249
|
stationId: number;
|
|
2250
2250
|
subcategoryId: number;
|
|
@@ -2304,6 +2304,15 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2304
2304
|
tokenExpirationDate: Date;
|
|
2305
2305
|
isUsed: boolean;
|
|
2306
2306
|
}
|
|
2307
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2308
|
+
teamId: number | null;
|
|
2309
|
+
userId: number | null;
|
|
2310
|
+
paymentId: number | null;
|
|
2311
|
+
hasPaid: boolean | null;
|
|
2312
|
+
status: TeamMemberStatusEnum | null;
|
|
2313
|
+
role: TeamMemberRoleEnum;
|
|
2314
|
+
user: User;
|
|
2315
|
+
}
|
|
2307
2316
|
export declare class User extends BondBaseEntity {
|
|
2308
2317
|
firstName: string | null;
|
|
2309
2318
|
lastName: string | null;
|
|
@@ -2340,17 +2349,8 @@ export declare class User extends BondBaseEntity {
|
|
|
2340
2349
|
linkedAccounts: LinkedAccounts[];
|
|
2341
2350
|
profilePicture: Media;
|
|
2342
2351
|
usersRoles: UserRole[];
|
|
2343
|
-
invoiceNotes: InvoiceNote[];
|
|
2344
|
-
paymentNotes: PaymentNote[];
|
|
2345
|
-
}
|
|
2346
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2347
|
-
teamId: number | null;
|
|
2348
|
-
userId: number | null;
|
|
2349
|
-
paymentId: number | null;
|
|
2350
|
-
hasPaid: boolean | null;
|
|
2351
|
-
status: TeamMemberStatusEnum | null;
|
|
2352
|
-
role: TeamMemberRoleEnum;
|
|
2353
|
-
user: User;
|
|
2352
|
+
invoiceNotes: InvoiceNote[];
|
|
2353
|
+
paymentNotes: PaymentNote[];
|
|
2354
2354
|
}
|
|
2355
2355
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2356
2356
|
entityId: number | null;
|
|
@@ -2374,15 +2374,15 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2374
2374
|
paymentMethodId: string;
|
|
2375
2375
|
nextAllowedChargeDate?: Date;
|
|
2376
2376
|
}
|
|
2377
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2378
|
-
name: string;
|
|
2379
|
-
variants: Variant[];
|
|
2380
|
-
}
|
|
2381
2377
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2382
2378
|
groupId: number;
|
|
2383
2379
|
userId: number;
|
|
2384
2380
|
deletedAt?: Date;
|
|
2385
2381
|
}
|
|
2382
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2383
|
+
name: string;
|
|
2384
|
+
variants: Variant[];
|
|
2385
|
+
}
|
|
2386
2386
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2387
2387
|
name: string;
|
|
2388
2388
|
variantTitleId: number;
|
|
@@ -3358,15 +3358,6 @@ export declare class ImportedPaymentDto {
|
|
|
3358
3358
|
date: string;
|
|
3359
3359
|
time: string;
|
|
3360
3360
|
}
|
|
3361
|
-
export declare class ProductIdsDto {
|
|
3362
|
-
productIds?: number[];
|
|
3363
|
-
}
|
|
3364
|
-
export declare class ProductImportDto {
|
|
3365
|
-
product: Product;
|
|
3366
|
-
prices: Price[];
|
|
3367
|
-
resourceIds: number[];
|
|
3368
|
-
oldId: number;
|
|
3369
|
-
}
|
|
3370
3361
|
export declare class PunchPassDto {
|
|
3371
3362
|
CustomerID: string;
|
|
3372
3363
|
QuantityLeft: number;
|
|
@@ -3425,6 +3416,15 @@ export declare class ImportedReservationDto {
|
|
|
3425
3416
|
slots?: ImportedSlotDto[];
|
|
3426
3417
|
addons?: ImportedSlotProductDto[];
|
|
3427
3418
|
}
|
|
3419
|
+
export declare class ProductIdsDto {
|
|
3420
|
+
productIds?: number[];
|
|
3421
|
+
}
|
|
3422
|
+
export declare class ProductImportDto {
|
|
3423
|
+
product: Product;
|
|
3424
|
+
prices: Price[];
|
|
3425
|
+
resourceIds: number[];
|
|
3426
|
+
oldId: number;
|
|
3427
|
+
}
|
|
3428
3428
|
export declare class GameSlots extends BondBaseEntity {
|
|
3429
3429
|
entityType: string;
|
|
3430
3430
|
entityId: number;
|
|
@@ -3504,6 +3504,30 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3504
3504
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3505
3505
|
destination: string;
|
|
3506
3506
|
}
|
|
3507
|
+
export declare class ByOrganizationIdDto {
|
|
3508
|
+
organizationId: number;
|
|
3509
|
+
}
|
|
3510
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3511
|
+
organizationId?: number;
|
|
3512
|
+
}
|
|
3513
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3514
|
+
programsIds?: string;
|
|
3515
|
+
sessionsIds?: string;
|
|
3516
|
+
segmentsIds?: string;
|
|
3517
|
+
startDate?: string;
|
|
3518
|
+
endDate?: string;
|
|
3519
|
+
months?: string;
|
|
3520
|
+
dow?: string;
|
|
3521
|
+
}
|
|
3522
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3523
|
+
programsIds?: string;
|
|
3524
|
+
sessionsIds?: string;
|
|
3525
|
+
segmentsIds?: string;
|
|
3526
|
+
startDate?: string;
|
|
3527
|
+
endDate?: string;
|
|
3528
|
+
months?: string;
|
|
3529
|
+
dow?: string;
|
|
3530
|
+
}
|
|
3507
3531
|
export declare class Organization extends BondBaseEntity {
|
|
3508
3532
|
name: string | null;
|
|
3509
3533
|
email: string | null;
|
|
@@ -3559,36 +3583,12 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3559
3583
|
version: number;
|
|
3560
3584
|
organization: Organization;
|
|
3561
3585
|
}
|
|
3562
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3563
|
-
organisationId: number | null;
|
|
3564
|
-
userId: number | null;
|
|
3565
|
-
}
|
|
3566
3586
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3567
3587
|
mainAdminUserId?: number;
|
|
3568
3588
|
}
|
|
3569
|
-
export declare class
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3573
|
-
organizationId?: number;
|
|
3574
|
-
}
|
|
3575
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3576
|
-
programsIds?: string;
|
|
3577
|
-
sessionsIds?: string;
|
|
3578
|
-
segmentsIds?: string;
|
|
3579
|
-
startDate?: string;
|
|
3580
|
-
endDate?: string;
|
|
3581
|
-
months?: string;
|
|
3582
|
-
dow?: string;
|
|
3583
|
-
}
|
|
3584
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3585
|
-
programsIds?: string;
|
|
3586
|
-
sessionsIds?: string;
|
|
3587
|
-
segmentsIds?: string;
|
|
3588
|
-
startDate?: string;
|
|
3589
|
-
endDate?: string;
|
|
3590
|
-
months?: string;
|
|
3591
|
-
dow?: string;
|
|
3589
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3590
|
+
organisationId: number | null;
|
|
3591
|
+
userId: number | null;
|
|
3592
3592
|
}
|
|
3593
3593
|
export interface UnallocatedEventsFilters {
|
|
3594
3594
|
programsIds?: number[];
|
|
@@ -3805,6 +3805,33 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3805
3805
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3806
3806
|
totalAmountProcessed: number;
|
|
3807
3807
|
}
|
|
3808
|
+
export declare class AddonDto {
|
|
3809
|
+
productId: number;
|
|
3810
|
+
id?: number;
|
|
3811
|
+
unitPrice?: number;
|
|
3812
|
+
quantity?: number;
|
|
3813
|
+
totalPrice?: number;
|
|
3814
|
+
product?: Product;
|
|
3815
|
+
parentProduct?: Product;
|
|
3816
|
+
displayTotalWithTax?: number;
|
|
3817
|
+
displayTotalPrice?: number;
|
|
3818
|
+
displayUnitTax?: number;
|
|
3819
|
+
}
|
|
3820
|
+
export declare class AddAddonsDto {
|
|
3821
|
+
addons: AddonDto[];
|
|
3822
|
+
}
|
|
3823
|
+
export declare class EditAddonsDto {
|
|
3824
|
+
addons: EditAddonDto[];
|
|
3825
|
+
}
|
|
3826
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3827
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3828
|
+
}
|
|
3829
|
+
export declare class EditAddonDto {
|
|
3830
|
+
id: number;
|
|
3831
|
+
quantity: number;
|
|
3832
|
+
totalPrice: number;
|
|
3833
|
+
unitPrice?: number;
|
|
3834
|
+
}
|
|
3808
3835
|
export declare class InvoiceDto {
|
|
3809
3836
|
invoiceId?: string | null;
|
|
3810
3837
|
organizationId: number;
|
|
@@ -3846,6 +3873,13 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3846
3873
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3847
3874
|
segments: SegmentDto[];
|
|
3848
3875
|
}
|
|
3876
|
+
export declare class MaintenanceDto {
|
|
3877
|
+
id?: number;
|
|
3878
|
+
title: string;
|
|
3879
|
+
durationValue: number;
|
|
3880
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3881
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3882
|
+
}
|
|
3849
3883
|
export declare class LineItemDto {
|
|
3850
3884
|
id?: number;
|
|
3851
3885
|
invoiceId?: number;
|
|
@@ -3873,13 +3907,6 @@ export declare class LineItemDto {
|
|
|
3873
3907
|
parentOrdinal?: number;
|
|
3874
3908
|
totalPrice?: number;
|
|
3875
3909
|
}
|
|
3876
|
-
export declare class MaintenanceDto {
|
|
3877
|
-
id?: number;
|
|
3878
|
-
title: string;
|
|
3879
|
-
durationValue: number;
|
|
3880
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3881
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3882
|
-
}
|
|
3883
3910
|
export declare class PurchasedResourceDto {
|
|
3884
3911
|
resourceId?: number;
|
|
3885
3912
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3888,6 +3915,34 @@ export declare class PurchasedResourceDto {
|
|
|
3888
3915
|
endDate?: string;
|
|
3889
3916
|
endTime?: string;
|
|
3890
3917
|
}
|
|
3918
|
+
export declare class SegmentDto {
|
|
3919
|
+
id?: number;
|
|
3920
|
+
title: string;
|
|
3921
|
+
isPrivate: boolean;
|
|
3922
|
+
resourceIds: number[];
|
|
3923
|
+
sportId?: number;
|
|
3924
|
+
series: SeriesDto[];
|
|
3925
|
+
addonIds?: number[];
|
|
3926
|
+
publicNotesForSlots?: string;
|
|
3927
|
+
privateNotesForSlots?: string;
|
|
3928
|
+
}
|
|
3929
|
+
export declare class SeriesDto {
|
|
3930
|
+
id?: number;
|
|
3931
|
+
startDate: string;
|
|
3932
|
+
startTime?: string;
|
|
3933
|
+
endDate?: string;
|
|
3934
|
+
endTime?: string;
|
|
3935
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3936
|
+
durationEndsAfter?: number;
|
|
3937
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3938
|
+
frequency: FrequencyEnum;
|
|
3939
|
+
repeatEvery?: number;
|
|
3940
|
+
repeatOn?: number[];
|
|
3941
|
+
repeatEndDate?: string;
|
|
3942
|
+
numberOccurrences?: number;
|
|
3943
|
+
maintenance?: MaintenanceDto[];
|
|
3944
|
+
slots?: SlotDto[];
|
|
3945
|
+
}
|
|
3891
3946
|
export declare class ReservationDto {
|
|
3892
3947
|
id?: number;
|
|
3893
3948
|
organizationId?: number;
|
|
@@ -3990,207 +4045,56 @@ export declare class getSlotFQueryParamsDto {
|
|
|
3990
4045
|
addProduct?: boolean;
|
|
3991
4046
|
}
|
|
3992
4047
|
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
3993
|
-
reservationId: number;
|
|
3994
|
-
}
|
|
3995
|
-
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
3996
|
-
facilityId: number;
|
|
3997
|
-
}
|
|
3998
|
-
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
3999
|
-
segmentId: number;
|
|
4000
|
-
}
|
|
4001
|
-
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
4002
|
-
status: ReservationStatusEnum;
|
|
4003
|
-
}
|
|
4004
|
-
export declare class FindBySlotDto extends FindByReservationDto {
|
|
4005
|
-
slotId: number;
|
|
4006
|
-
}
|
|
4007
|
-
export declare class AddSlotToSegmentDto {
|
|
4008
|
-
slot: SlotDto;
|
|
4009
|
-
addonIds?: number[];
|
|
4010
|
-
}
|
|
4011
|
-
export declare class AddSlotToSegmenResultDto {
|
|
4012
|
-
series: SeriesDto;
|
|
4013
|
-
slotTotalPrice: number;
|
|
4014
|
-
addonsTotalPrice: number;
|
|
4015
|
-
debug?: any;
|
|
4016
|
-
}
|
|
4017
|
-
export declare class UpdateSlotsDto {
|
|
4018
|
-
slots: SlotDto[];
|
|
4019
|
-
}
|
|
4020
|
-
export declare class EditItemsRefundMetaDto {
|
|
4021
|
-
lineItems: RefundLineItemAmountDto[];
|
|
4022
|
-
paymentMethods: PaymentMethodDto[];
|
|
4023
|
-
reasonId: number;
|
|
4024
|
-
}
|
|
4025
|
-
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4026
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4027
|
-
}
|
|
4028
|
-
export declare class EditReservationDetailsDto {
|
|
4029
|
-
name: string;
|
|
4030
|
-
publicNotes?: string;
|
|
4031
|
-
privateNotes?: string;
|
|
4032
|
-
}
|
|
4033
|
-
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4034
|
-
updateAddons?: boolean;
|
|
4035
|
-
updateMaintenance?: boolean;
|
|
4036
|
-
}
|
|
4037
|
-
export declare class ReservationNotifyDto {
|
|
4038
|
-
notifyMethods?: NotifyMethodEnum[];
|
|
4039
|
-
}
|
|
4040
|
-
export declare class UpdateReservationInvoiceDto {
|
|
4041
|
-
updateAddons?: boolean;
|
|
4042
|
-
updateMaintenance?: boolean;
|
|
4043
|
-
}
|
|
4044
|
-
export declare class AddonDto {
|
|
4045
|
-
productId: number;
|
|
4046
|
-
id?: number;
|
|
4047
|
-
unitPrice?: number;
|
|
4048
|
-
quantity?: number;
|
|
4049
|
-
totalPrice?: number;
|
|
4050
|
-
product?: Product;
|
|
4051
|
-
parentProduct?: Product;
|
|
4052
|
-
displayTotalWithTax?: number;
|
|
4053
|
-
displayTotalPrice?: number;
|
|
4054
|
-
displayUnitTax?: number;
|
|
4055
|
-
}
|
|
4056
|
-
export declare class AddAddonsDto {
|
|
4057
|
-
addons: AddonDto[];
|
|
4058
|
-
}
|
|
4059
|
-
export declare class EditAddonsDto {
|
|
4060
|
-
addons: EditAddonDto[];
|
|
4061
|
-
}
|
|
4062
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4063
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4064
|
-
}
|
|
4065
|
-
export declare class EditAddonDto {
|
|
4066
|
-
id: number;
|
|
4067
|
-
quantity: number;
|
|
4068
|
-
totalPrice: number;
|
|
4069
|
-
unitPrice?: number;
|
|
4070
|
-
}
|
|
4071
|
-
export declare class SegmentDto {
|
|
4072
|
-
id?: number;
|
|
4073
|
-
title: string;
|
|
4074
|
-
isPrivate: boolean;
|
|
4075
|
-
resourceIds: number[];
|
|
4076
|
-
sportId?: number;
|
|
4077
|
-
series: SeriesDto[];
|
|
4078
|
-
addonIds?: number[];
|
|
4079
|
-
publicNotesForSlots?: string;
|
|
4080
|
-
privateNotesForSlots?: string;
|
|
4081
|
-
}
|
|
4082
|
-
export declare class SeriesDto {
|
|
4083
|
-
id?: number;
|
|
4084
|
-
startDate: string;
|
|
4085
|
-
startTime?: string;
|
|
4086
|
-
endDate?: string;
|
|
4087
|
-
endTime?: string;
|
|
4088
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4089
|
-
durationEndsAfter?: number;
|
|
4090
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4091
|
-
frequency: FrequencyEnum;
|
|
4092
|
-
repeatEvery?: number;
|
|
4093
|
-
repeatOn?: number[];
|
|
4094
|
-
repeatEndDate?: string;
|
|
4095
|
-
numberOccurrences?: number;
|
|
4096
|
-
maintenance?: MaintenanceDto[];
|
|
4097
|
-
slots?: SlotDto[];
|
|
4048
|
+
reservationId: number;
|
|
4098
4049
|
}
|
|
4099
|
-
declare class
|
|
4100
|
-
|
|
4101
|
-
value: any;
|
|
4050
|
+
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
4051
|
+
facilityId: number;
|
|
4102
4052
|
}
|
|
4103
|
-
export declare class
|
|
4104
|
-
|
|
4105
|
-
endDate: string;
|
|
4106
|
-
timezone: string;
|
|
4107
|
-
spaceId: number;
|
|
4053
|
+
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
4054
|
+
segmentId: number;
|
|
4108
4055
|
}
|
|
4109
|
-
declare class
|
|
4110
|
-
|
|
4111
|
-
resourcePackageAmount: number;
|
|
4112
|
-
resourcePackagePrice: number;
|
|
4056
|
+
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
4057
|
+
status: ReservationStatusEnum;
|
|
4113
4058
|
}
|
|
4114
|
-
export declare class
|
|
4115
|
-
|
|
4116
|
-
name: string;
|
|
4117
|
-
dayOfWeek: number;
|
|
4118
|
-
startTime: string;
|
|
4119
|
-
description: string;
|
|
4120
|
-
sport: number;
|
|
4121
|
-
price: number;
|
|
4122
|
-
resourcePackageId: number;
|
|
4123
|
-
resourcePackageAmount: number;
|
|
4124
|
-
bookedSessions: BookedSessionDto[];
|
|
4125
|
-
addons: AddonV1Dto[];
|
|
4059
|
+
export declare class FindBySlotDto extends FindByReservationDto {
|
|
4060
|
+
slotId: number;
|
|
4126
4061
|
}
|
|
4127
|
-
export declare class
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
answers: AnswerDto[];
|
|
4131
|
-
paymentData: PurchasePaymentDto;
|
|
4132
|
-
skipPayment: boolean;
|
|
4133
|
-
cashPayment: boolean;
|
|
4134
|
-
requestOnly: boolean;
|
|
4062
|
+
export declare class AddSlotToSegmentDto {
|
|
4063
|
+
slot: SlotDto;
|
|
4064
|
+
addonIds?: number[];
|
|
4135
4065
|
}
|
|
4136
|
-
export declare class
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
quantity: number;
|
|
4142
|
-
unitPrice: number;
|
|
4143
|
-
totalPrice: number;
|
|
4144
|
-
approvalStatus: ReservationStatusEnum;
|
|
4145
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4146
|
-
level?: ProductPackageLevelEnum;
|
|
4147
|
-
resourceId?: number;
|
|
4148
|
-
resource?: Resource;
|
|
4149
|
-
invoiceId?: number;
|
|
4150
|
-
invoice?: Invoice;
|
|
4151
|
-
productUserId?: number;
|
|
4152
|
-
productUser?: ProductsUsers;
|
|
4153
|
-
previousProductUsersIds?: number[];
|
|
4154
|
-
previousProductUsers?: ProductsUsers[];
|
|
4066
|
+
export declare class AddSlotToSegmenResultDto {
|
|
4067
|
+
series: SeriesDto;
|
|
4068
|
+
slotTotalPrice: number;
|
|
4069
|
+
addonsTotalPrice: number;
|
|
4070
|
+
debug?: any;
|
|
4155
4071
|
}
|
|
4156
|
-
export declare class
|
|
4157
|
-
|
|
4158
|
-
reservationId: number;
|
|
4159
|
-
invoiceId: number;
|
|
4160
|
-
slotId: number;
|
|
4072
|
+
export declare class UpdateSlotsDto {
|
|
4073
|
+
slots: SlotDto[];
|
|
4161
4074
|
}
|
|
4162
|
-
export declare class
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4173
|
-
startTime?: string;
|
|
4174
|
-
startDate?: Date;
|
|
4175
|
-
endDate?: Date;
|
|
4176
|
-
creatorId?: number;
|
|
4177
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4178
|
-
userCreatorId?: number;
|
|
4179
|
-
sportType?: number;
|
|
4180
|
-
deletedAt?: Date;
|
|
4075
|
+
export declare class EditItemsRefundMetaDto {
|
|
4076
|
+
lineItems: RefundLineItemAmountDto[];
|
|
4077
|
+
paymentMethods: PaymentMethodDto[];
|
|
4078
|
+
reasonId: number;
|
|
4079
|
+
}
|
|
4080
|
+
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4081
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4082
|
+
}
|
|
4083
|
+
export declare class EditReservationDetailsDto {
|
|
4084
|
+
name: string;
|
|
4181
4085
|
publicNotes?: string;
|
|
4182
4086
|
privateNotes?: string;
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4087
|
+
}
|
|
4088
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4089
|
+
updateAddons?: boolean;
|
|
4090
|
+
updateMaintenance?: boolean;
|
|
4091
|
+
}
|
|
4092
|
+
export declare class ReservationNotifyDto {
|
|
4093
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
4094
|
+
}
|
|
4095
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4096
|
+
updateAddons?: boolean;
|
|
4097
|
+
updateMaintenance?: boolean;
|
|
4194
4098
|
}
|
|
4195
4099
|
export declare class SlotDateTimeAndSpace {
|
|
4196
4100
|
startDate: string;
|
|
@@ -4223,136 +4127,73 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
4223
4127
|
sportIds: number[];
|
|
4224
4128
|
parentSlotId?: number;
|
|
4225
4129
|
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4226
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4227
|
-
durationValue?: number;
|
|
4228
|
-
invoicId?: number;
|
|
4229
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4230
|
-
approvalStatus: ReservationStatusEnum;
|
|
4231
|
-
displayName?: string;
|
|
4232
|
-
internalName?: string;
|
|
4233
|
-
totalPrice?: number;
|
|
4234
|
-
relevantProducts?: Product[];
|
|
4235
|
-
maintenance?: MaintenanceDto[];
|
|
4236
|
-
maintenanceSlots?: SlotDto[];
|
|
4237
|
-
isPrivate: boolean;
|
|
4238
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4239
|
-
addons?: AddonDto[];
|
|
4240
|
-
addonsIds?: number[];
|
|
4241
|
-
}
|
|
4242
|
-
export declare class TimeSlotDto {
|
|
4243
|
-
id?: number;
|
|
4244
|
-
resourceId: number;
|
|
4245
|
-
startDate: string;
|
|
4246
|
-
startTime: string;
|
|
4247
|
-
endDate: string;
|
|
4248
|
-
endTime: string;
|
|
4249
|
-
parentSlotId?: number;
|
|
4250
|
-
}
|
|
4251
|
-
export declare class TimeSlotsDto {
|
|
4252
|
-
timeSlots: TimeSlotDto[];
|
|
4253
|
-
}
|
|
4254
|
-
export declare class SlotsIdsDto {
|
|
4255
|
-
slotsIds: number[];
|
|
4256
|
-
}
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
isReverted: boolean;
|
|
4294
|
-
reservationId: number;
|
|
4295
|
-
reservation: Reservation;
|
|
4296
|
-
title?: string;
|
|
4297
|
-
creatorId?: number;
|
|
4298
|
-
creatorType?: string;
|
|
4299
|
-
userCreatorId?: number;
|
|
4300
|
-
startDate: Date;
|
|
4301
|
-
endDate: Date;
|
|
4302
|
-
startTime: string;
|
|
4303
|
-
endTime: string;
|
|
4304
|
-
timezone?: string;
|
|
4305
|
-
spaceId?: number;
|
|
4306
|
-
resource?: Resource;
|
|
4307
|
-
deletedAt?: Date;
|
|
4308
|
-
publicNotes?: string;
|
|
4309
|
-
privateNotes?: string;
|
|
4310
|
-
slotType: SlotTypeEnum;
|
|
4311
|
-
productsUserId?: number;
|
|
4312
|
-
productUser?: ProductsUsers;
|
|
4313
|
-
product?: Product;
|
|
4314
|
-
addons: Addon[];
|
|
4315
|
-
addonsProductUserIds?: number[] | null;
|
|
4316
|
-
addonsMetadata: AddonMetadata[];
|
|
4317
|
-
segmentId: number;
|
|
4318
|
-
segment: Segment;
|
|
4319
|
-
eventId: number;
|
|
4320
|
-
event: Event;
|
|
4321
|
-
sportIds: number[];
|
|
4322
|
-
parentSlotId?: number;
|
|
4323
|
-
parent?: Slot;
|
|
4324
|
-
children?: Slot[];
|
|
4325
|
-
maintenanceDurationdurationType: string;
|
|
4326
|
-
maintenanceTiming: number;
|
|
4327
|
-
durationValue: number;
|
|
4328
|
-
seriesId?: number;
|
|
4329
|
-
series?: Series;
|
|
4330
|
-
invoiceId?: number;
|
|
4331
|
-
invoice?: Invoice;
|
|
4332
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4333
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4334
|
-
displayName?: string;
|
|
4335
|
-
internalName?: string;
|
|
4336
|
-
activityTypes?: number[] | null;
|
|
4337
|
-
hourlyRate: number;
|
|
4338
|
-
totalPrice: number;
|
|
4339
|
-
isConsumerVisible: boolean;
|
|
4340
|
-
isMonitorVisible: boolean;
|
|
4341
|
-
isPrivate: boolean;
|
|
4342
|
-
occurrence?: number;
|
|
4343
|
-
maintenance?: Slot[];
|
|
4344
|
-
productMetadata: {
|
|
4345
|
-
productId: number;
|
|
4346
|
-
price: number;
|
|
4347
|
-
};
|
|
4348
|
-
slotDurationType: string;
|
|
4349
|
-
previousProductUsersIds?: number[];
|
|
4350
|
-
previousProductUsers?: ProductsUsers[];
|
|
4351
|
-
changeLineItemIds?: number[];
|
|
4352
|
-
changeLineItems?: LineItems[];
|
|
4353
|
-
updatedLineItem?: LineItems;
|
|
4354
|
-
conflictsCount?: number;
|
|
4355
|
-
conflicts?: Slot[];
|
|
4130
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4131
|
+
durationValue?: number;
|
|
4132
|
+
invoicId?: number;
|
|
4133
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4134
|
+
approvalStatus: ReservationStatusEnum;
|
|
4135
|
+
displayName?: string;
|
|
4136
|
+
internalName?: string;
|
|
4137
|
+
totalPrice?: number;
|
|
4138
|
+
relevantProducts?: Product[];
|
|
4139
|
+
maintenance?: MaintenanceDto[];
|
|
4140
|
+
maintenanceSlots?: SlotDto[];
|
|
4141
|
+
isPrivate: boolean;
|
|
4142
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4143
|
+
addons?: AddonDto[];
|
|
4144
|
+
addonsIds?: number[];
|
|
4145
|
+
}
|
|
4146
|
+
export declare class TimeSlotDto {
|
|
4147
|
+
id?: number;
|
|
4148
|
+
resourceId: number;
|
|
4149
|
+
startDate: string;
|
|
4150
|
+
startTime: string;
|
|
4151
|
+
endDate: string;
|
|
4152
|
+
endTime: string;
|
|
4153
|
+
parentSlotId?: number;
|
|
4154
|
+
}
|
|
4155
|
+
export declare class TimeSlotsDto {
|
|
4156
|
+
timeSlots: TimeSlotDto[];
|
|
4157
|
+
}
|
|
4158
|
+
export declare class SlotsIdsDto {
|
|
4159
|
+
slotsIds: number[];
|
|
4160
|
+
}
|
|
4161
|
+
declare class AnswerDto {
|
|
4162
|
+
questionId: number;
|
|
4163
|
+
value: any;
|
|
4164
|
+
}
|
|
4165
|
+
export declare class BookedSessionDto {
|
|
4166
|
+
startDate: string;
|
|
4167
|
+
endDate: string;
|
|
4168
|
+
timezone: string;
|
|
4169
|
+
spaceId: number;
|
|
4170
|
+
}
|
|
4171
|
+
declare class AddonV1Dto {
|
|
4172
|
+
resourcePackageId: number;
|
|
4173
|
+
resourcePackageAmount: number;
|
|
4174
|
+
resourcePackagePrice: number;
|
|
4175
|
+
}
|
|
4176
|
+
export declare class ReservationV1Dto {
|
|
4177
|
+
organizationId: number;
|
|
4178
|
+
name: string;
|
|
4179
|
+
dayOfWeek: number;
|
|
4180
|
+
startTime: string;
|
|
4181
|
+
description: string;
|
|
4182
|
+
sport: number;
|
|
4183
|
+
price: number;
|
|
4184
|
+
resourcePackageId: number;
|
|
4185
|
+
resourcePackageAmount: number;
|
|
4186
|
+
bookedSessions: BookedSessionDto[];
|
|
4187
|
+
addons: AddonV1Dto[];
|
|
4188
|
+
}
|
|
4189
|
+
export declare class BookingV1Dto {
|
|
4190
|
+
organizationId: number;
|
|
4191
|
+
reservations: ReservationV1Dto[];
|
|
4192
|
+
answers: AnswerDto[];
|
|
4193
|
+
paymentData: PurchasePaymentDto;
|
|
4194
|
+
skipPayment: boolean;
|
|
4195
|
+
cashPayment: boolean;
|
|
4196
|
+
requestOnly: boolean;
|
|
4356
4197
|
}
|
|
4357
4198
|
export declare enum LineItemResourceEnum {
|
|
4358
4199
|
SEGMENTS = "segments",
|
|
@@ -4624,9 +4465,164 @@ export interface OverridePriceMeta {
|
|
|
4624
4465
|
quantity: number;
|
|
4625
4466
|
totalPrice: number;
|
|
4626
4467
|
}
|
|
4627
|
-
export declare class
|
|
4628
|
-
|
|
4468
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4469
|
+
parentId: number;
|
|
4470
|
+
parentType: AddonParentTypeEnum;
|
|
4471
|
+
productId: number;
|
|
4472
|
+
product?: Product;
|
|
4473
|
+
quantity: number;
|
|
4474
|
+
unitPrice: number;
|
|
4475
|
+
totalPrice: number;
|
|
4476
|
+
approvalStatus: ReservationStatusEnum;
|
|
4477
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4478
|
+
level?: ProductPackageLevelEnum;
|
|
4479
|
+
resourceId?: number;
|
|
4480
|
+
resource?: Resource;
|
|
4481
|
+
invoiceId?: number;
|
|
4482
|
+
invoice?: Invoice;
|
|
4483
|
+
productUserId?: number;
|
|
4484
|
+
productUser?: ProductsUsers;
|
|
4485
|
+
previousProductUsersIds?: number[];
|
|
4486
|
+
previousProductUsers?: ProductsUsers[];
|
|
4487
|
+
}
|
|
4488
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4489
|
+
deletedAt?: Date;
|
|
4490
|
+
reservationId: number;
|
|
4491
|
+
invoiceId: number;
|
|
4492
|
+
slotId: number;
|
|
4493
|
+
}
|
|
4494
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4495
|
+
name?: string;
|
|
4496
|
+
description?: string;
|
|
4497
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4498
|
+
privacySetting?: string;
|
|
4499
|
+
reservationType?: ReservationTypeEnum;
|
|
4500
|
+
invoiceId?: string;
|
|
4501
|
+
customerId?: number;
|
|
4502
|
+
customer?: Customer;
|
|
4503
|
+
price?: number;
|
|
4504
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4505
|
+
startTime?: string;
|
|
4506
|
+
startDate?: Date;
|
|
4507
|
+
endDate?: Date;
|
|
4508
|
+
creatorId?: number;
|
|
4509
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4510
|
+
userCreatorId?: number;
|
|
4511
|
+
sportType?: number;
|
|
4512
|
+
deletedAt?: Date;
|
|
4513
|
+
publicNotes?: string;
|
|
4514
|
+
privateNotes?: string;
|
|
4515
|
+
forms?: number[] | null;
|
|
4516
|
+
answerTitleIds?: number[] | null;
|
|
4517
|
+
segments?: Segment[];
|
|
4518
|
+
migrationStatus?: string;
|
|
4519
|
+
addons: Addon[];
|
|
4520
|
+
overrideProductsPrice: {
|
|
4521
|
+
productId: number;
|
|
4522
|
+
price: number;
|
|
4523
|
+
}[];
|
|
4524
|
+
targetGlobalPrice?: number;
|
|
4525
|
+
slots: Slot[];
|
|
4526
|
+
}
|
|
4527
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4528
|
+
deletedAt?: Date;
|
|
4529
|
+
reservationId: number;
|
|
4530
|
+
title: string;
|
|
4531
|
+
isPrivate: boolean;
|
|
4532
|
+
resourceIds?: number[];
|
|
4533
|
+
sportId: number;
|
|
4534
|
+
reservation?: Reservation;
|
|
4535
|
+
series?: Series[];
|
|
4536
|
+
addonIds?: number[] | null;
|
|
4537
|
+
publicNotesForSlots?: string;
|
|
4538
|
+
privateNotesForSlots?: string;
|
|
4539
|
+
slots?: Slot[];
|
|
4540
|
+
}
|
|
4541
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4542
|
+
deletedAt?: Date;
|
|
4543
|
+
segmentId: number;
|
|
4544
|
+
segment?: Segment;
|
|
4545
|
+
slots?: Slot[];
|
|
4546
|
+
slotDurationType: string;
|
|
4547
|
+
durationEndsAfter: number;
|
|
4548
|
+
durationUnit: string;
|
|
4549
|
+
startDate?: Date;
|
|
4550
|
+
endDate?: Date;
|
|
4551
|
+
startTime: string;
|
|
4552
|
+
endTime: string;
|
|
4553
|
+
frequency: string;
|
|
4554
|
+
repeatEvery: number;
|
|
4555
|
+
repeatOn?: number[];
|
|
4556
|
+
repeatEndDate?: Date;
|
|
4557
|
+
numberOccurrences?: number;
|
|
4558
|
+
resources?: Resource[];
|
|
4559
|
+
}
|
|
4560
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4561
|
+
constructor();
|
|
4562
|
+
defineIsReverted(): void;
|
|
4563
|
+
isReverted: boolean;
|
|
4564
|
+
reservationId: number;
|
|
4565
|
+
reservation: Reservation;
|
|
4566
|
+
title?: string;
|
|
4567
|
+
creatorId?: number;
|
|
4568
|
+
creatorType?: string;
|
|
4569
|
+
userCreatorId?: number;
|
|
4570
|
+
startDate: Date;
|
|
4571
|
+
endDate: Date;
|
|
4572
|
+
startTime: string;
|
|
4573
|
+
endTime: string;
|
|
4574
|
+
timezone?: string;
|
|
4575
|
+
spaceId?: number;
|
|
4576
|
+
resource?: Resource;
|
|
4629
4577
|
deletedAt?: Date;
|
|
4578
|
+
publicNotes?: string;
|
|
4579
|
+
privateNotes?: string;
|
|
4580
|
+
slotType: SlotTypeEnum;
|
|
4581
|
+
productsUserId?: number;
|
|
4582
|
+
productUser?: ProductsUsers;
|
|
4583
|
+
product?: Product;
|
|
4584
|
+
addons: Addon[];
|
|
4585
|
+
addonsProductUserIds?: number[] | null;
|
|
4586
|
+
addonsMetadata: AddonMetadata[];
|
|
4587
|
+
segmentId: number;
|
|
4588
|
+
segment: Segment;
|
|
4589
|
+
eventId: number;
|
|
4590
|
+
event: Event;
|
|
4591
|
+
sportIds: number[];
|
|
4592
|
+
parentSlotId?: number;
|
|
4593
|
+
parent?: Slot;
|
|
4594
|
+
children?: Slot[];
|
|
4595
|
+
maintenanceDurationdurationType: string;
|
|
4596
|
+
maintenanceTiming: number;
|
|
4597
|
+
durationValue: number;
|
|
4598
|
+
seriesId?: number;
|
|
4599
|
+
series?: Series;
|
|
4600
|
+
invoiceId?: number;
|
|
4601
|
+
invoice?: Invoice;
|
|
4602
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4603
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4604
|
+
displayName?: string;
|
|
4605
|
+
internalName?: string;
|
|
4606
|
+
activityTypes?: number[] | null;
|
|
4607
|
+
hourlyRate: number;
|
|
4608
|
+
totalPrice: number;
|
|
4609
|
+
isConsumerVisible: boolean;
|
|
4610
|
+
isMonitorVisible: boolean;
|
|
4611
|
+
isPrivate: boolean;
|
|
4612
|
+
occurrence?: number;
|
|
4613
|
+
maintenance?: Slot[];
|
|
4614
|
+
productMetadata: {
|
|
4615
|
+
productId: number;
|
|
4616
|
+
price: number;
|
|
4617
|
+
};
|
|
4618
|
+
slotDurationType: string;
|
|
4619
|
+
previousProductUsersIds?: number[];
|
|
4620
|
+
previousProductUsers?: ProductsUsers[];
|
|
4621
|
+
changeLineItemIds?: number[];
|
|
4622
|
+
changeLineItems?: LineItems[];
|
|
4623
|
+
updatedLineItem?: LineItems;
|
|
4624
|
+
conflictsCount?: number;
|
|
4625
|
+
conflicts?: Slot[];
|
|
4630
4626
|
}
|
|
4631
4627
|
export declare class ChangeRolePermissionsDto {
|
|
4632
4628
|
permissionIds: number[];
|
|
@@ -4634,6 +4630,10 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4634
4630
|
export declare class CreateRoleDto {
|
|
4635
4631
|
name: string;
|
|
4636
4632
|
}
|
|
4633
|
+
export declare class Permission extends BondBaseEntity {
|
|
4634
|
+
name: string;
|
|
4635
|
+
deletedAt?: Date;
|
|
4636
|
+
}
|
|
4637
4637
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4638
4638
|
name: string;
|
|
4639
4639
|
deletedAt?: Date;
|
|
@@ -4684,6 +4684,19 @@ export declare class OpenShiftDto {
|
|
|
4684
4684
|
openingCashAmount: number;
|
|
4685
4685
|
stationId: number;
|
|
4686
4686
|
}
|
|
4687
|
+
export default interface IWebflowProgram {
|
|
4688
|
+
name: string;
|
|
4689
|
+
id: number;
|
|
4690
|
+
activity: string;
|
|
4691
|
+
backgroundImage: string;
|
|
4692
|
+
minAge: string;
|
|
4693
|
+
maxAge: string;
|
|
4694
|
+
shortDescription: string;
|
|
4695
|
+
longDescription: string;
|
|
4696
|
+
programType: string;
|
|
4697
|
+
level: string[];
|
|
4698
|
+
gender: string;
|
|
4699
|
+
}
|
|
4687
4700
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4688
4701
|
stationId: number;
|
|
4689
4702
|
station?: Station;
|
|
@@ -4713,16 +4726,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4713
4726
|
closingManager?: User;
|
|
4714
4727
|
reconcilingUser?: User;
|
|
4715
4728
|
}
|
|
4716
|
-
export default interface IWebflowProgram {
|
|
4717
|
-
name: string;
|
|
4718
|
-
id: number;
|
|
4719
|
-
activity: string;
|
|
4720
|
-
backgroundImage: string;
|
|
4721
|
-
minAge: string;
|
|
4722
|
-
maxAge: string;
|
|
4723
|
-
shortDescription: string;
|
|
4724
|
-
longDescription: string;
|
|
4725
|
-
programType: string;
|
|
4726
|
-
level: string[];
|
|
4727
|
-
gender: string;
|
|
4728
|
-
}
|