@bondsports/types 0.7.0 → 0.8.0
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 +1688 -1688
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,13 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class FindBookingTypeSettingDto {
|
|
13
|
-
organizationId: number;
|
|
14
|
-
facilityId: number;
|
|
15
|
-
spaceId: number;
|
|
16
|
-
bookingDate: string;
|
|
17
|
-
bookingTime: string;
|
|
18
|
-
}
|
|
19
12
|
export declare class QuestionAnswersDto {
|
|
20
13
|
questionId: number;
|
|
21
14
|
value: any;
|
|
@@ -27,6 +20,20 @@ export declare class UserAnswersDto {
|
|
|
27
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
28
21
|
questionnaireIds: string;
|
|
29
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
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"
|
|
36
|
+
}
|
|
30
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
38
|
membershipId: number;
|
|
32
39
|
}
|
|
@@ -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;
|
|
@@ -238,6 +238,48 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
238
238
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
239
239
|
nameSearch?: string;
|
|
240
240
|
}
|
|
241
|
+
export declare class FindFamilyAccountsDto {
|
|
242
|
+
userId: number;
|
|
243
|
+
}
|
|
244
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
245
|
+
customerId: number;
|
|
246
|
+
organizationId: number;
|
|
247
|
+
}
|
|
248
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
249
|
+
familyAccountId: number;
|
|
250
|
+
}
|
|
251
|
+
export declare class CreateFamilyAccountDto {
|
|
252
|
+
familyName: string;
|
|
253
|
+
userId: number;
|
|
254
|
+
}
|
|
255
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
256
|
+
familyName: string;
|
|
257
|
+
familyAccountId: number;
|
|
258
|
+
}
|
|
259
|
+
export declare class AddUserToFamilyAccountDto {
|
|
260
|
+
familyAccountId: number;
|
|
261
|
+
isUserAdmin: boolean;
|
|
262
|
+
firstName: string;
|
|
263
|
+
lastName: string;
|
|
264
|
+
gender: GenderEnum;
|
|
265
|
+
birthDate: string;
|
|
266
|
+
sports?: number[];
|
|
267
|
+
email?: string;
|
|
268
|
+
}
|
|
269
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
270
|
+
userId: number;
|
|
271
|
+
familyAccountId: number;
|
|
272
|
+
}
|
|
273
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
274
|
+
organizationId: number;
|
|
275
|
+
}
|
|
276
|
+
export declare class GetGlCodeDto {
|
|
277
|
+
id: number;
|
|
278
|
+
organizationId: number;
|
|
279
|
+
code: string;
|
|
280
|
+
createdAt: Date;
|
|
281
|
+
updatedAt: Date;
|
|
282
|
+
}
|
|
241
283
|
export declare class FindOneParams {
|
|
242
284
|
id: number;
|
|
243
285
|
}
|
|
@@ -250,6 +292,79 @@ export declare class PaginationRangeQuery {
|
|
|
250
292
|
endPage: number;
|
|
251
293
|
itemsPerPage: number;
|
|
252
294
|
}
|
|
295
|
+
export declare class FindByProgramSeasonIdDto {
|
|
296
|
+
seasonId: number;
|
|
297
|
+
}
|
|
298
|
+
export declare class CreateBulkDivisionsDto {
|
|
299
|
+
divisions: CreateDivisionDto[];
|
|
300
|
+
}
|
|
301
|
+
export declare class CreateDivisionDto {
|
|
302
|
+
name: string;
|
|
303
|
+
ordinal?: number;
|
|
304
|
+
programSeasonId: number;
|
|
305
|
+
color: string;
|
|
306
|
+
isDefault: boolean;
|
|
307
|
+
}
|
|
308
|
+
export declare class CreateGroupDto {
|
|
309
|
+
name: string;
|
|
310
|
+
description?: string;
|
|
311
|
+
status?: GroupStatusEnum;
|
|
312
|
+
maxCapacity?: number;
|
|
313
|
+
mainMediaId?: number;
|
|
314
|
+
minAgeYears?: number;
|
|
315
|
+
maxAgeYears?: number;
|
|
316
|
+
gender: GenderEnum;
|
|
317
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
318
|
+
sports: SportsEnum[];
|
|
319
|
+
questionnaires?: number[];
|
|
320
|
+
captainUserId?: number;
|
|
321
|
+
divisionId?: number;
|
|
322
|
+
}
|
|
323
|
+
export declare class ConnectGroupToDivision {
|
|
324
|
+
groupId: number;
|
|
325
|
+
divisionId: number;
|
|
326
|
+
prevDivisionId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class MoveUserInGroups {
|
|
329
|
+
userId: number;
|
|
330
|
+
groupId?: number;
|
|
331
|
+
prevGroupId?: number;
|
|
332
|
+
}
|
|
333
|
+
export declare class SaveUserAsGroupCaptain {
|
|
334
|
+
groupId: number;
|
|
335
|
+
userId: number;
|
|
336
|
+
}
|
|
337
|
+
export declare class CreateTeamInviteDto {
|
|
338
|
+
emails: string[];
|
|
339
|
+
userCreatorId: number;
|
|
340
|
+
}
|
|
341
|
+
export declare class TeamByIdDto {
|
|
342
|
+
teamId: number;
|
|
343
|
+
}
|
|
344
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
345
|
+
inviteToken: string;
|
|
346
|
+
}
|
|
347
|
+
export declare class JoinTeamDto {
|
|
348
|
+
userId: number;
|
|
349
|
+
inviteToken?: string;
|
|
350
|
+
}
|
|
351
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
352
|
+
userId: number;
|
|
353
|
+
}
|
|
354
|
+
export interface IMoveSeason {
|
|
355
|
+
fromSeasonId: number;
|
|
356
|
+
toSeasonId: number;
|
|
357
|
+
}
|
|
358
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
359
|
+
teamId?: number;
|
|
360
|
+
memberId?: number;
|
|
361
|
+
fromSeasonId: number;
|
|
362
|
+
toSeasonId: number;
|
|
363
|
+
toDivisionId?: number;
|
|
364
|
+
}
|
|
365
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
|
+
fileName: string;
|
|
367
|
+
}
|
|
253
368
|
export declare class CreateMembershipDto {
|
|
254
369
|
organizationId: number;
|
|
255
370
|
name: string;
|
|
@@ -306,38 +421,6 @@ export declare class CancelMembershipDto {
|
|
|
306
421
|
isImmediatelyCancel: boolean;
|
|
307
422
|
cancellationReason?: string;
|
|
308
423
|
}
|
|
309
|
-
export declare class FindFamilyAccountsDto {
|
|
310
|
-
userId: number;
|
|
311
|
-
}
|
|
312
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
313
|
-
customerId: number;
|
|
314
|
-
organizationId: number;
|
|
315
|
-
}
|
|
316
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
317
|
-
familyAccountId: number;
|
|
318
|
-
}
|
|
319
|
-
export declare class CreateFamilyAccountDto {
|
|
320
|
-
familyName: string;
|
|
321
|
-
userId: number;
|
|
322
|
-
}
|
|
323
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
324
|
-
familyName: string;
|
|
325
|
-
familyAccountId: number;
|
|
326
|
-
}
|
|
327
|
-
export declare class AddUserToFamilyAccountDto {
|
|
328
|
-
familyAccountId: number;
|
|
329
|
-
isUserAdmin: boolean;
|
|
330
|
-
firstName: string;
|
|
331
|
-
lastName: string;
|
|
332
|
-
gender: GenderEnum;
|
|
333
|
-
birthDate: string;
|
|
334
|
-
sports?: number[];
|
|
335
|
-
email?: string;
|
|
336
|
-
}
|
|
337
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
338
|
-
userId: number;
|
|
339
|
-
familyAccountId: number;
|
|
340
|
-
}
|
|
341
424
|
export declare class CreateEntitlementTermsDto {
|
|
342
425
|
organizationId: number;
|
|
343
426
|
entitlementGroupId: number;
|
|
@@ -380,77 +463,244 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
380
463
|
discountValue?: number;
|
|
381
464
|
discountMethod?: DiscountMethodsEnum;
|
|
382
465
|
}
|
|
383
|
-
export declare class
|
|
384
|
-
|
|
466
|
+
export declare class FindByProductIdDto {
|
|
467
|
+
productId: number;
|
|
385
468
|
}
|
|
386
|
-
export declare class
|
|
469
|
+
export declare class FindPriceOfProductDto {
|
|
387
470
|
id: number;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
createdAt: Date;
|
|
391
|
-
updatedAt: Date;
|
|
392
|
-
}
|
|
393
|
-
export declare class CreateUpdateVariantsDto {
|
|
394
|
-
organizationId: number;
|
|
395
|
-
parentProductId: number;
|
|
396
|
-
variantTitles: VariantTitleDto[];
|
|
397
|
-
variants: VariantDto[];
|
|
471
|
+
userId: number;
|
|
472
|
+
resources: ResourceDto[];
|
|
398
473
|
}
|
|
399
|
-
export declare class
|
|
400
|
-
|
|
401
|
-
|
|
474
|
+
export declare class FindPricesOfProductsDto {
|
|
475
|
+
products: FindPriceOfProductDto[];
|
|
476
|
+
answers: UserAnswersDto[];
|
|
402
477
|
}
|
|
403
|
-
export declare class
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
variantId: number;
|
|
407
|
-
currency: CurrencyEnum;
|
|
408
|
-
startDate: Date;
|
|
409
|
-
endDate: Date;
|
|
478
|
+
export declare class FindPackageByResourceDto {
|
|
479
|
+
resourceType: ResourceNameTypeEnum;
|
|
480
|
+
resourceId: number;
|
|
410
481
|
}
|
|
411
|
-
export declare class
|
|
482
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
412
483
|
organizationId: number;
|
|
413
|
-
programType?: ProgramTypesEnum;
|
|
414
484
|
}
|
|
415
|
-
export declare class
|
|
416
|
-
|
|
485
|
+
export declare class CreateProductsDto {
|
|
486
|
+
products: CreateProductDto[];
|
|
487
|
+
addOnsData?: ProductInPackage[];
|
|
488
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
417
489
|
}
|
|
418
|
-
export declare class
|
|
419
|
-
|
|
420
|
-
organizationId: number;
|
|
490
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
491
|
+
name: string;
|
|
421
492
|
}
|
|
422
|
-
export declare class
|
|
423
|
-
|
|
493
|
+
export declare class CreateProductDto {
|
|
494
|
+
id?: number;
|
|
495
|
+
organizationId: number;
|
|
424
496
|
name: string;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
level?: LevelOfPlayEnum[];
|
|
497
|
+
quantity?: number;
|
|
498
|
+
isPublic: boolean;
|
|
499
|
+
startDate?: Date;
|
|
500
|
+
endDate?: Date;
|
|
430
501
|
description?: string;
|
|
502
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
503
|
+
resourcesIdsToApplyOn?: number[];
|
|
431
504
|
GL?: string;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
505
|
+
prices: CreatePriceDto[];
|
|
506
|
+
downpayment?: number;
|
|
507
|
+
productType: ProductTypesEnum;
|
|
508
|
+
subProductType?: string;
|
|
509
|
+
defaultForResourceId?: number;
|
|
510
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
511
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
512
|
+
variantTitleIds?: number[];
|
|
513
|
+
variants?: VariantWithPrice[];
|
|
514
|
+
variantParentId?: number;
|
|
515
|
+
isAddon?: boolean;
|
|
516
|
+
isArchive?: boolean;
|
|
517
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
518
|
+
isProRated?: boolean;
|
|
519
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
520
|
+
isTaxInclusive?: boolean;
|
|
521
|
+
tax?: number;
|
|
522
|
+
sports?: number[];
|
|
523
|
+
durationMinutes?: number;
|
|
524
|
+
durationDays?: number;
|
|
525
|
+
forms?: number[];
|
|
526
|
+
isForAllCustomers?: boolean;
|
|
527
|
+
membershipsAvailableFor?: number[];
|
|
528
|
+
customersAvailableFor?: number[];
|
|
529
|
+
addons?: createRentalProductAddonDto[];
|
|
530
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
531
|
+
}
|
|
532
|
+
export declare class VariantWithPrice {
|
|
533
|
+
variantIds: number[];
|
|
534
|
+
price: CreatePriceDto[];
|
|
535
|
+
}
|
|
536
|
+
export declare class CreatePriceDto {
|
|
537
|
+
id?: number;
|
|
538
|
+
price: number;
|
|
539
|
+
currency: CurrencyEnum;
|
|
540
|
+
name: string;
|
|
541
|
+
startDate?: Date;
|
|
542
|
+
endDate?: Date;
|
|
543
|
+
discountValue?: number;
|
|
544
|
+
discountMethod?: DiscountMethodsEnum;
|
|
545
|
+
isDefaultPriceForProduct?: boolean;
|
|
546
|
+
}
|
|
547
|
+
export declare class CreatePackageDto {
|
|
548
|
+
parentProductId: number;
|
|
549
|
+
productsData?: ProductInPackage[];
|
|
550
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
551
|
+
}
|
|
552
|
+
export declare class CreatePackageToResourceDto {
|
|
553
|
+
resourceId: number;
|
|
554
|
+
resourceType: ResourceNameTypeEnum;
|
|
555
|
+
isCreateToChildProducts: boolean;
|
|
556
|
+
productsData: ProductInPackage[];
|
|
557
|
+
}
|
|
558
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
559
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
560
|
+
amountInPackage?: number;
|
|
561
|
+
level?: ProductPackageLevelEnum;
|
|
562
|
+
}
|
|
563
|
+
export declare class ExistingProductToPackageDto {
|
|
564
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
565
|
+
id: number;
|
|
566
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
567
|
+
level?: ProductPackageLevelEnum;
|
|
568
|
+
}
|
|
569
|
+
export declare class ConnectProductResourceDto {
|
|
570
|
+
productId: number;
|
|
571
|
+
resourceType: ResourceNameTypeEnum;
|
|
572
|
+
resourceIds: number[];
|
|
573
|
+
}
|
|
574
|
+
export declare class ReturnRequiredProductsDto {
|
|
575
|
+
userId: number;
|
|
576
|
+
productId: number;
|
|
577
|
+
redeemRelevantDate?: string;
|
|
578
|
+
}
|
|
579
|
+
export declare class FindByProductUserIdsDto {
|
|
580
|
+
userId: number;
|
|
581
|
+
organizationId: number;
|
|
582
|
+
}
|
|
583
|
+
export declare class AddRequiredProductsDto {
|
|
584
|
+
productId: number;
|
|
585
|
+
requiredProductIds: number[];
|
|
586
|
+
}
|
|
587
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
588
|
+
productIds?: number[];
|
|
589
|
+
includePrices?: boolean;
|
|
590
|
+
productType?: ProductTypesEnum;
|
|
591
|
+
includeAddons?: string;
|
|
592
|
+
}
|
|
593
|
+
export declare class GetByOrganizationIdDto {
|
|
594
|
+
organizationId?: number;
|
|
595
|
+
}
|
|
596
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
597
|
+
invoiceId?: number;
|
|
598
|
+
}
|
|
599
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
600
|
+
productIds?: string;
|
|
601
|
+
includePrices?: boolean;
|
|
602
|
+
productType?: string;
|
|
603
|
+
productSubType?: string;
|
|
604
|
+
search?: string;
|
|
605
|
+
includeAddons?: boolean;
|
|
606
|
+
includeArchived?: boolean;
|
|
607
|
+
includeAllData?: boolean;
|
|
608
|
+
resourceIds?: string;
|
|
609
|
+
sports?: string;
|
|
610
|
+
}
|
|
611
|
+
export declare class GetAllVariantTitlesDto {
|
|
612
|
+
organizationId: number;
|
|
613
|
+
}
|
|
614
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
615
|
+
organizationId: number;
|
|
616
|
+
}
|
|
617
|
+
export declare class CreateVariantTitleDto {
|
|
618
|
+
organizationId: number;
|
|
619
|
+
title: string;
|
|
620
|
+
variants: string[];
|
|
621
|
+
}
|
|
622
|
+
export declare class UpdateVariantTitleDto {
|
|
623
|
+
organizationId: number;
|
|
624
|
+
titleId: number;
|
|
453
625
|
title: string;
|
|
626
|
+
variants: string[];
|
|
627
|
+
}
|
|
628
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
629
|
+
customerId: number;
|
|
630
|
+
}
|
|
631
|
+
export declare class GetExtraProductDataDto {
|
|
632
|
+
isPublic?: boolean;
|
|
633
|
+
isGetByChildResources?: boolean;
|
|
634
|
+
isGetEntitlePricing?: boolean;
|
|
635
|
+
isGetAddOns?: boolean;
|
|
636
|
+
includeResources?: boolean;
|
|
637
|
+
includeArchived?: boolean;
|
|
638
|
+
}
|
|
639
|
+
export declare class GetBySessionType {
|
|
640
|
+
sessionType: 'event' | 'segment';
|
|
641
|
+
}
|
|
642
|
+
export declare class CreateSubcategoryDto {
|
|
643
|
+
productType: ProductTypesEnum;
|
|
644
|
+
name: string;
|
|
645
|
+
stationId?: number;
|
|
646
|
+
ordinal?: number;
|
|
647
|
+
}
|
|
648
|
+
export declare class CreateSubcategoriesDto {
|
|
649
|
+
subcategories: CreateSubcategoryDto[];
|
|
650
|
+
}
|
|
651
|
+
export declare class UpdateSubcategoryDto {
|
|
652
|
+
id: number;
|
|
653
|
+
productType?: ProductTypesEnum;
|
|
654
|
+
name?: string;
|
|
655
|
+
stationId?: number;
|
|
656
|
+
ordinal?: number;
|
|
657
|
+
}
|
|
658
|
+
export declare class GetSubcategoryDto {
|
|
659
|
+
stationId?: number;
|
|
660
|
+
}
|
|
661
|
+
export declare class SetStationSubcategoriesDto {
|
|
662
|
+
stationId: number;
|
|
663
|
+
subcategoryIds?: number[];
|
|
664
|
+
categories?: string[];
|
|
665
|
+
}
|
|
666
|
+
export declare class createRentalProductAddonDto {
|
|
667
|
+
productId: number;
|
|
668
|
+
price: number;
|
|
669
|
+
isFlatPrice: boolean;
|
|
670
|
+
isMandatory: boolean;
|
|
671
|
+
level: ProductPackageLevelEnum;
|
|
672
|
+
}
|
|
673
|
+
export declare class createProductAvailabilityTimesDto {
|
|
674
|
+
availabilityStartDate?: string;
|
|
675
|
+
availabilityEndDate?: string;
|
|
676
|
+
daysOfWeek: number[];
|
|
677
|
+
startTime: string;
|
|
678
|
+
endTime: string;
|
|
679
|
+
}
|
|
680
|
+
export declare class createResourceDto {
|
|
681
|
+
resourceId: number;
|
|
682
|
+
resourceType: ResourceNameTypeEnum;
|
|
683
|
+
}
|
|
684
|
+
export declare class archiveDto {
|
|
685
|
+
isArchive: boolean;
|
|
686
|
+
}
|
|
687
|
+
export declare class CreateUpdateVariantsDto {
|
|
688
|
+
organizationId: number;
|
|
689
|
+
parentProductId: number;
|
|
690
|
+
variantTitles: VariantTitleDto[];
|
|
691
|
+
variants: VariantDto[];
|
|
692
|
+
}
|
|
693
|
+
export declare class VariantTitleDto {
|
|
694
|
+
titleName: string;
|
|
695
|
+
titleId: number;
|
|
696
|
+
}
|
|
697
|
+
export declare class VariantDto {
|
|
698
|
+
name: string;
|
|
699
|
+
price: number;
|
|
700
|
+
variantId: number;
|
|
701
|
+
currency: CurrencyEnum;
|
|
702
|
+
startDate: Date;
|
|
703
|
+
endDate: Date;
|
|
454
704
|
}
|
|
455
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
456
706
|
programId: number;
|
|
@@ -643,6 +893,50 @@ export declare class MoveParticipantDto {
|
|
|
643
893
|
resourceId: number;
|
|
644
894
|
invoiceId: number;
|
|
645
895
|
}
|
|
896
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
897
|
+
organizationId: number;
|
|
898
|
+
programType?: ProgramTypesEnum;
|
|
899
|
+
}
|
|
900
|
+
export declare class FindProgramByIdDto {
|
|
901
|
+
programId: number;
|
|
902
|
+
}
|
|
903
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
904
|
+
programId: number;
|
|
905
|
+
organizationId: number;
|
|
906
|
+
}
|
|
907
|
+
export declare class BaseProgramDto {
|
|
908
|
+
type: ProgramTypesEnum;
|
|
909
|
+
name: string;
|
|
910
|
+
sport: SportsEnum;
|
|
911
|
+
minAge: string;
|
|
912
|
+
maxAge: string;
|
|
913
|
+
gender: GenderEnum;
|
|
914
|
+
level?: LevelOfPlayEnum[];
|
|
915
|
+
description?: string;
|
|
916
|
+
GL?: string;
|
|
917
|
+
status: PublishingStatusEnum;
|
|
918
|
+
organizationId: number;
|
|
919
|
+
userCreatorId: number;
|
|
920
|
+
highlights: ProgramHighlights[];
|
|
921
|
+
longDescription?: string;
|
|
922
|
+
requiredProductIds: number[];
|
|
923
|
+
}
|
|
924
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
925
|
+
}
|
|
926
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
927
|
+
programId: number;
|
|
928
|
+
mainMediaId: number;
|
|
929
|
+
}
|
|
930
|
+
export declare class UpdateProgramStatusDto {
|
|
931
|
+
programId: number;
|
|
932
|
+
status: PublishingStatusEnum;
|
|
933
|
+
}
|
|
934
|
+
export declare class ProgramHighlightDto {
|
|
935
|
+
data: string;
|
|
936
|
+
ordinal: number;
|
|
937
|
+
type: ProgramHighlightTypeEnum;
|
|
938
|
+
title: string;
|
|
939
|
+
}
|
|
646
940
|
export declare class PurchasePaymentDto {
|
|
647
941
|
token: string;
|
|
648
942
|
type: PaymentMethodTypeEnum;
|
|
@@ -724,6 +1018,10 @@ export declare class CreateResourceGroupDto {
|
|
|
724
1018
|
}
|
|
725
1019
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
726
1020
|
}
|
|
1021
|
+
export declare class ResourceDto {
|
|
1022
|
+
type: ResourceNameTypeEnum;
|
|
1023
|
+
id: number;
|
|
1024
|
+
}
|
|
727
1025
|
export declare class SpaceByIdDto {
|
|
728
1026
|
spaceId: number;
|
|
729
1027
|
}
|
|
@@ -780,20 +1078,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
780
1078
|
types?: string;
|
|
781
1079
|
resourcesIds?: string;
|
|
782
1080
|
}
|
|
783
|
-
export declare class
|
|
784
|
-
type: ResourceNameTypeEnum;
|
|
785
|
-
id: number;
|
|
786
|
-
}
|
|
787
|
-
export declare class FindByUserIdDto {
|
|
788
|
-
userId: number;
|
|
789
|
-
}
|
|
790
|
-
export declare class FindByFamilyAccountIdDto {
|
|
791
|
-
familyAccountId?: number;
|
|
792
|
-
}
|
|
793
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
794
|
-
organizationId: number;
|
|
795
|
-
}
|
|
796
|
-
export declare class StripeCustomerIdDto {
|
|
1081
|
+
export declare class StripeCustomerIdDto {
|
|
797
1082
|
userId: number;
|
|
798
1083
|
}
|
|
799
1084
|
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
@@ -803,6 +1088,15 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
803
1088
|
publicToken: string;
|
|
804
1089
|
accountId: string;
|
|
805
1090
|
}
|
|
1091
|
+
export declare class FindByUserIdDto {
|
|
1092
|
+
userId: number;
|
|
1093
|
+
}
|
|
1094
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1095
|
+
familyAccountId?: number;
|
|
1096
|
+
}
|
|
1097
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1098
|
+
organizationId: number;
|
|
1099
|
+
}
|
|
806
1100
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
807
1101
|
entityType: ResourceNameTypeEnum;
|
|
808
1102
|
entityId: number;
|
|
@@ -816,19 +1110,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
816
1110
|
oldValue?: any;
|
|
817
1111
|
newValue?: any;
|
|
818
1112
|
}
|
|
819
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
820
|
-
questionId: number;
|
|
821
|
-
question?: Questions;
|
|
822
|
-
parentId: number;
|
|
823
|
-
parentType: ResourceNameTypeEnum;
|
|
824
|
-
answerValue: any;
|
|
825
|
-
creatorId: number;
|
|
826
|
-
creatorType: ResourceNameTypeEnum;
|
|
827
|
-
answerTitleId: number;
|
|
828
|
-
answerTitle: AnswerTitle;
|
|
829
|
-
metaData: any | null;
|
|
830
|
-
questionText: string | null;
|
|
831
|
-
}
|
|
832
1113
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
833
1114
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
834
1115
|
parentId: number;
|
|
@@ -853,6 +1134,19 @@ export declare class Address extends BondBaseEntity {
|
|
|
853
1134
|
geo: any;
|
|
854
1135
|
deletedAt?: Date;
|
|
855
1136
|
}
|
|
1137
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1138
|
+
questionId: number;
|
|
1139
|
+
question?: Questions;
|
|
1140
|
+
parentId: number;
|
|
1141
|
+
parentType: ResourceNameTypeEnum;
|
|
1142
|
+
answerValue: any;
|
|
1143
|
+
creatorId: number;
|
|
1144
|
+
creatorType: ResourceNameTypeEnum;
|
|
1145
|
+
answerTitleId: number;
|
|
1146
|
+
answerTitle: AnswerTitle;
|
|
1147
|
+
metaData: any | null;
|
|
1148
|
+
questionText: string | null;
|
|
1149
|
+
}
|
|
856
1150
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
857
1151
|
questionnaireId: number;
|
|
858
1152
|
userId?: number;
|
|
@@ -864,6 +1158,11 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
864
1158
|
metadata: object | null;
|
|
865
1159
|
athleteSports: AthleteSports[];
|
|
866
1160
|
}
|
|
1161
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1162
|
+
athleteId: number | null;
|
|
1163
|
+
sports: number | null;
|
|
1164
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1165
|
+
}
|
|
867
1166
|
export declare class BlockedDate extends BondBaseEntity {
|
|
868
1167
|
entityType: ResourceNameTypeEnum;
|
|
869
1168
|
entityId: number;
|
|
@@ -872,11 +1171,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
872
1171
|
endDate: Date;
|
|
873
1172
|
deletedAt?: Date;
|
|
874
1173
|
}
|
|
875
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
876
|
-
athleteId: number | null;
|
|
877
|
-
sports: number | null;
|
|
878
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
879
|
-
}
|
|
880
1174
|
export declare class BondBaseEntity extends BaseEntity {
|
|
881
1175
|
id: number;
|
|
882
1176
|
createdAt: Date;
|
|
@@ -900,6 +1194,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
900
1194
|
publicNotes?: string;
|
|
901
1195
|
slotType?: SlotTypeEnum;
|
|
902
1196
|
}
|
|
1197
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1198
|
+
area: string;
|
|
1199
|
+
key: string;
|
|
1200
|
+
value: string;
|
|
1201
|
+
}
|
|
903
1202
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
904
1203
|
parentId: number;
|
|
905
1204
|
parentType: ResourceNameTypeEnum;
|
|
@@ -910,31 +1209,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
910
1209
|
endTimeInDay: string;
|
|
911
1210
|
directBookingFor: DirectBookingTypesEnum;
|
|
912
1211
|
}
|
|
913
|
-
export declare class Connection extends BondBaseEntity {
|
|
914
|
-
connType: number | null;
|
|
915
|
-
from: number | null;
|
|
916
|
-
fromType: string | null;
|
|
917
|
-
to: number | null;
|
|
918
|
-
toType: string | null;
|
|
919
|
-
status: number | null;
|
|
920
|
-
creatorId: number | null;
|
|
921
|
-
creatorType: string | null;
|
|
922
|
-
userCreatorId: number | null;
|
|
923
|
-
ownerId: number | null;
|
|
924
|
-
}
|
|
925
|
-
export declare class Configuration extends BondBaseEntity {
|
|
926
|
-
area: string;
|
|
927
|
-
key: string;
|
|
928
|
-
value: string;
|
|
929
|
-
}
|
|
930
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
931
|
-
creditAmount: number;
|
|
932
|
-
paymentProcessorId: string;
|
|
933
|
-
userId: number;
|
|
934
|
-
paymentId: number;
|
|
935
|
-
invoiceId: number;
|
|
936
|
-
creditPaymentId: number;
|
|
937
|
-
}
|
|
938
1212
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
939
1213
|
name: string | null;
|
|
940
1214
|
entityId: number | null;
|
|
@@ -963,6 +1237,26 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
963
1237
|
mainMedia: Media;
|
|
964
1238
|
reservations?: Reservation[];
|
|
965
1239
|
}
|
|
1240
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1241
|
+
creditAmount: number;
|
|
1242
|
+
paymentProcessorId: string;
|
|
1243
|
+
userId: number;
|
|
1244
|
+
paymentId: number;
|
|
1245
|
+
invoiceId: number;
|
|
1246
|
+
creditPaymentId: number;
|
|
1247
|
+
}
|
|
1248
|
+
export declare class Connection extends BondBaseEntity {
|
|
1249
|
+
connType: number | null;
|
|
1250
|
+
from: number | null;
|
|
1251
|
+
fromType: string | null;
|
|
1252
|
+
to: number | null;
|
|
1253
|
+
toType: string | null;
|
|
1254
|
+
status: number | null;
|
|
1255
|
+
creatorId: number | null;
|
|
1256
|
+
creatorType: string | null;
|
|
1257
|
+
userCreatorId: number | null;
|
|
1258
|
+
ownerId: number | null;
|
|
1259
|
+
}
|
|
966
1260
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
967
1261
|
customerId?: number;
|
|
968
1262
|
description: string;
|
|
@@ -981,12 +1275,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
981
1275
|
invoice: Invoice;
|
|
982
1276
|
payment: Payment;
|
|
983
1277
|
}
|
|
984
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
985
|
-
customerId: number;
|
|
986
|
-
name: string | null;
|
|
987
|
-
phoneNumber: string | null;
|
|
988
|
-
customer: Customer;
|
|
989
|
-
}
|
|
990
1278
|
export declare class Division extends BondBaseEntity {
|
|
991
1279
|
name: string;
|
|
992
1280
|
ordinal?: number;
|
|
@@ -995,6 +1283,12 @@ export declare class Division extends BondBaseEntity {
|
|
|
995
1283
|
isDefault: boolean;
|
|
996
1284
|
groups: Group[];
|
|
997
1285
|
}
|
|
1286
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1287
|
+
customerId: number;
|
|
1288
|
+
name: string | null;
|
|
1289
|
+
phoneNumber: string | null;
|
|
1290
|
+
customer: Customer;
|
|
1291
|
+
}
|
|
998
1292
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
999
1293
|
name: string | null;
|
|
1000
1294
|
}
|
|
@@ -1079,10 +1373,6 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1079
1373
|
facilityId: number;
|
|
1080
1374
|
resourceId: number;
|
|
1081
1375
|
}
|
|
1082
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1083
|
-
name: string | null;
|
|
1084
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1085
|
-
}
|
|
1086
1376
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1087
1377
|
name: string;
|
|
1088
1378
|
description?: string;
|
|
@@ -1107,6 +1397,10 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1107
1397
|
programSeasons: ProgramSeason[];
|
|
1108
1398
|
linkSEO: string;
|
|
1109
1399
|
}
|
|
1400
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1401
|
+
name: string | null;
|
|
1402
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1403
|
+
}
|
|
1110
1404
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1111
1405
|
userId: number;
|
|
1112
1406
|
invoiceId: number;
|
|
@@ -1150,11 +1444,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1150
1444
|
discountMethod?: DiscountMethodsEnum;
|
|
1151
1445
|
discountValue?: number;
|
|
1152
1446
|
}
|
|
1153
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1154
|
-
groupId: number;
|
|
1155
|
-
divisionId: number;
|
|
1156
|
-
deletedAt?: Date;
|
|
1157
|
-
}
|
|
1158
1447
|
export declare class Invoice extends BondBaseEntity {
|
|
1159
1448
|
invoiceId: string | null;
|
|
1160
1449
|
price: number | null;
|
|
@@ -1179,14 +1468,10 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1179
1468
|
invoiceNotes: InvoiceNote[];
|
|
1180
1469
|
slots: Slot[];
|
|
1181
1470
|
}
|
|
1182
|
-
export declare class
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
isPublic: boolean;
|
|
1187
|
-
deletedAt: Date;
|
|
1188
|
-
invoiceId: number;
|
|
1189
|
-
invoice: Invoice;
|
|
1471
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1472
|
+
groupId: number;
|
|
1473
|
+
divisionId: number;
|
|
1474
|
+
deletedAt?: Date;
|
|
1190
1475
|
}
|
|
1191
1476
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1192
1477
|
email: string;
|
|
@@ -1199,6 +1484,15 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1199
1484
|
mailParams?: any;
|
|
1200
1485
|
memo?: string;
|
|
1201
1486
|
}
|
|
1487
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1488
|
+
content: string;
|
|
1489
|
+
creatingUserId: number;
|
|
1490
|
+
user: User;
|
|
1491
|
+
isPublic: boolean;
|
|
1492
|
+
deletedAt: Date;
|
|
1493
|
+
invoiceId: number;
|
|
1494
|
+
invoice: Invoice;
|
|
1495
|
+
}
|
|
1202
1496
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1203
1497
|
invoiceId: number;
|
|
1204
1498
|
paymentId: number;
|
|
@@ -1207,6 +1501,32 @@ export declare class InvoiceToPayment extends BondBaseEntity {
|
|
|
1207
1501
|
paidAmount?: number;
|
|
1208
1502
|
currency: CurrencyEnum;
|
|
1209
1503
|
}
|
|
1504
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1505
|
+
name: string | null;
|
|
1506
|
+
description: string | null;
|
|
1507
|
+
allowBookingRequest: boolean | null;
|
|
1508
|
+
addressName: string | null;
|
|
1509
|
+
shortDescription: string | null;
|
|
1510
|
+
waiverDoc: string | null;
|
|
1511
|
+
bookingStateStatus: number | null;
|
|
1512
|
+
timezone: string | null;
|
|
1513
|
+
shortUrl: string | null;
|
|
1514
|
+
leagueType: string | null;
|
|
1515
|
+
addressId: number | null;
|
|
1516
|
+
sportConfigData: any | null;
|
|
1517
|
+
creatorId: number | null;
|
|
1518
|
+
creatorType: string | null;
|
|
1519
|
+
userCreatorId: number | null;
|
|
1520
|
+
ownerId: number | null;
|
|
1521
|
+
sports: number[] | null;
|
|
1522
|
+
mainMediaId: number | null;
|
|
1523
|
+
publishedDate: Date | null;
|
|
1524
|
+
isPublished: boolean | null;
|
|
1525
|
+
isVerified: boolean | null;
|
|
1526
|
+
questionnaireId: number | null;
|
|
1527
|
+
logo?: Media;
|
|
1528
|
+
seasons: LeagueSeason[];
|
|
1529
|
+
}
|
|
1210
1530
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1211
1531
|
leagueId: number | null;
|
|
1212
1532
|
name: string | null;
|
|
@@ -1261,32 +1581,6 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1261
1581
|
payment: Payment;
|
|
1262
1582
|
lineItem: LineItems;
|
|
1263
1583
|
}
|
|
1264
|
-
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1265
|
-
name: string | null;
|
|
1266
|
-
description: string | null;
|
|
1267
|
-
allowBookingRequest: boolean | null;
|
|
1268
|
-
addressName: string | null;
|
|
1269
|
-
shortDescription: string | null;
|
|
1270
|
-
waiverDoc: string | null;
|
|
1271
|
-
bookingStateStatus: number | null;
|
|
1272
|
-
timezone: string | null;
|
|
1273
|
-
shortUrl: string | null;
|
|
1274
|
-
leagueType: string | null;
|
|
1275
|
-
addressId: number | null;
|
|
1276
|
-
sportConfigData: any | null;
|
|
1277
|
-
creatorId: number | null;
|
|
1278
|
-
creatorType: string | null;
|
|
1279
|
-
userCreatorId: number | null;
|
|
1280
|
-
ownerId: number | null;
|
|
1281
|
-
sports: number[] | null;
|
|
1282
|
-
mainMediaId: number | null;
|
|
1283
|
-
publishedDate: Date | null;
|
|
1284
|
-
isPublished: boolean | null;
|
|
1285
|
-
isVerified: boolean | null;
|
|
1286
|
-
questionnaireId: number | null;
|
|
1287
|
-
logo?: Media;
|
|
1288
|
-
seasons: LeagueSeason[];
|
|
1289
|
-
}
|
|
1290
1584
|
export declare class LineItems extends BondBaseEntity {
|
|
1291
1585
|
constructor();
|
|
1292
1586
|
defineIsReverted(): void;
|
|
@@ -1495,15 +1789,21 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1495
1789
|
refundReasonId?: number;
|
|
1496
1790
|
refundNote?: string;
|
|
1497
1791
|
}
|
|
1792
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1793
|
+
failureIndex: number;
|
|
1794
|
+
waitingDays: number;
|
|
1795
|
+
}
|
|
1498
1796
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1499
1797
|
paymentInstallmentId?: number;
|
|
1500
1798
|
invoiceId: number;
|
|
1501
1799
|
reason: EFailedPaymentReasons;
|
|
1502
1800
|
errorMessage: string;
|
|
1503
1801
|
}
|
|
1504
|
-
export declare class
|
|
1505
|
-
|
|
1506
|
-
|
|
1802
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1803
|
+
paymentPlanId: number;
|
|
1804
|
+
paymentDate: Date;
|
|
1805
|
+
deletedAt?: Date;
|
|
1806
|
+
paymentPlan: ProductPaymentPlan;
|
|
1507
1807
|
}
|
|
1508
1808
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1509
1809
|
content: string;
|
|
@@ -1599,21 +1899,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1599
1899
|
activityTimes: ActivityTimes[];
|
|
1600
1900
|
purchasedResources: PurchasedResource[];
|
|
1601
1901
|
}
|
|
1602
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1603
|
-
paymentPlanId: number;
|
|
1604
|
-
paymentDate: Date;
|
|
1605
|
-
deletedAt?: Date;
|
|
1606
|
-
paymentPlan: ProductPaymentPlan;
|
|
1607
|
-
}
|
|
1608
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1609
|
-
productId: number;
|
|
1610
|
-
maxMonths?: number;
|
|
1611
|
-
dayOfMonth?: number;
|
|
1612
|
-
name: string;
|
|
1613
|
-
deletedAt?: Date;
|
|
1614
|
-
schedule: PaymentPlanSchedule[];
|
|
1615
|
-
product?: Product;
|
|
1616
|
-
}
|
|
1617
1902
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1618
1903
|
parentProductId: number;
|
|
1619
1904
|
childProductId: number;
|
|
@@ -1629,6 +1914,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1629
1914
|
durationDays?: number;
|
|
1630
1915
|
level?: ProductPackageLevelEnum;
|
|
1631
1916
|
}
|
|
1917
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1918
|
+
productId: number;
|
|
1919
|
+
maxMonths?: number;
|
|
1920
|
+
dayOfMonth?: number;
|
|
1921
|
+
name: string;
|
|
1922
|
+
deletedAt?: Date;
|
|
1923
|
+
schedule: PaymentPlanSchedule[];
|
|
1924
|
+
product?: Product;
|
|
1925
|
+
}
|
|
1632
1926
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1633
1927
|
productId: number;
|
|
1634
1928
|
resourceId: number;
|
|
@@ -1644,6 +1938,10 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1644
1938
|
productId: number;
|
|
1645
1939
|
variantTitleId: number;
|
|
1646
1940
|
}
|
|
1941
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1942
|
+
productId: number;
|
|
1943
|
+
variantId: number;
|
|
1944
|
+
}
|
|
1647
1945
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1648
1946
|
productId: number;
|
|
1649
1947
|
customerId: number;
|
|
@@ -1651,10 +1949,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1651
1949
|
deletedAt?: Date;
|
|
1652
1950
|
product: Product;
|
|
1653
1951
|
}
|
|
1654
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1655
|
-
productId: number;
|
|
1656
|
-
variantId: number;
|
|
1657
|
-
}
|
|
1658
1952
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1659
1953
|
productId: number;
|
|
1660
1954
|
userId: number;
|
|
@@ -1672,14 +1966,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1672
1966
|
slots?: Slot[];
|
|
1673
1967
|
addons?: Addon[];
|
|
1674
1968
|
}
|
|
1675
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1676
|
-
type: ProgramHighlightTypeEnum;
|
|
1677
|
-
ordinal: number | null;
|
|
1678
|
-
title: string | null;
|
|
1679
|
-
data: any | null;
|
|
1680
|
-
program: Program;
|
|
1681
|
-
deletedAt?: Date;
|
|
1682
|
-
}
|
|
1683
1969
|
export declare class Program extends BondBaseEntity {
|
|
1684
1970
|
type: ProgramTypesEnum;
|
|
1685
1971
|
name: string;
|
|
@@ -1702,8 +1988,38 @@ export declare class Program extends BondBaseEntity {
|
|
|
1702
1988
|
programSeason: ProgramSeason[];
|
|
1703
1989
|
purchasedResources: PurchasedResource[];
|
|
1704
1990
|
}
|
|
1705
|
-
export declare class
|
|
1706
|
-
|
|
1991
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1992
|
+
type: ProgramHighlightTypeEnum;
|
|
1993
|
+
ordinal: number | null;
|
|
1994
|
+
title: string | null;
|
|
1995
|
+
data: any | null;
|
|
1996
|
+
program: Program;
|
|
1997
|
+
deletedAt?: Date;
|
|
1998
|
+
}
|
|
1999
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2000
|
+
productUserId: number;
|
|
2001
|
+
resourceId: number;
|
|
2002
|
+
resourceType: ResourceNameTypeEnum;
|
|
2003
|
+
status: PurchasedResourceStatusEnum;
|
|
2004
|
+
startDate?: string;
|
|
2005
|
+
startTime?: string;
|
|
2006
|
+
endDate?: string;
|
|
2007
|
+
endTime?: string;
|
|
2008
|
+
productUser?: ProductsUsers;
|
|
2009
|
+
lineItem?: LineItems;
|
|
2010
|
+
eventAttendee?: EventAttendee;
|
|
2011
|
+
seasonAttendee?: SeasonAttendee;
|
|
2012
|
+
leagueAttendee?: SeasonPool;
|
|
2013
|
+
membership?: Membership;
|
|
2014
|
+
program?: Program;
|
|
2015
|
+
programSeason?: ProgramSeason;
|
|
2016
|
+
leagueSeason?: LeagueSeason;
|
|
2017
|
+
space?: Resource;
|
|
2018
|
+
product?: Product;
|
|
2019
|
+
event?: Event;
|
|
2020
|
+
}
|
|
2021
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
2022
|
+
programId: number;
|
|
1707
2023
|
name: string;
|
|
1708
2024
|
description: string | null;
|
|
1709
2025
|
GL?: string | null;
|
|
@@ -1757,51 +2073,26 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1757
2073
|
facility: Facility;
|
|
1758
2074
|
purchasedResources: PurchasedResource[];
|
|
1759
2075
|
}
|
|
1760
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1761
|
-
productUserId: number;
|
|
1762
|
-
resourceId: number;
|
|
1763
|
-
resourceType: ResourceNameTypeEnum;
|
|
1764
|
-
status: PurchasedResourceStatusEnum;
|
|
1765
|
-
startDate?: string;
|
|
1766
|
-
startTime?: string;
|
|
1767
|
-
endDate?: string;
|
|
1768
|
-
endTime?: string;
|
|
1769
|
-
productUser?: ProductsUsers;
|
|
1770
|
-
lineItem?: LineItems;
|
|
1771
|
-
eventAttendee?: EventAttendee;
|
|
1772
|
-
seasonAttendee?: SeasonAttendee;
|
|
1773
|
-
leagueAttendee?: SeasonPool;
|
|
1774
|
-
membership?: Membership;
|
|
1775
|
-
program?: Program;
|
|
1776
|
-
programSeason?: ProgramSeason;
|
|
1777
|
-
leagueSeason?: LeagueSeason;
|
|
1778
|
-
space?: Resource;
|
|
1779
|
-
product?: Product;
|
|
1780
|
-
event?: Event;
|
|
1781
|
-
}
|
|
1782
2076
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1783
2077
|
title: string | null;
|
|
1784
2078
|
answerTitle: AnswerTitle;
|
|
1785
2079
|
}
|
|
1786
|
-
export declare class Questions extends BondBaseEntity {
|
|
1787
|
-
questionType: string | null;
|
|
1788
|
-
ordinal: number | null;
|
|
1789
|
-
pageOrdinal: number | null;
|
|
1790
|
-
isActive: boolean | null;
|
|
1791
|
-
isMandatory: boolean | null;
|
|
1792
|
-
metaData: any | null;
|
|
1793
|
-
question: string | null;
|
|
1794
|
-
creatorId: number | null;
|
|
1795
|
-
creatorType: string | null;
|
|
1796
|
-
userCreatorId: number | null;
|
|
1797
|
-
ownerId: number | null;
|
|
1798
|
-
questionnaireId: number | null;
|
|
1799
|
-
}
|
|
1800
2080
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
1801
2081
|
reason: string;
|
|
1802
2082
|
ordinal: number;
|
|
1803
2083
|
deletedAt: Date;
|
|
1804
2084
|
}
|
|
2085
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2086
|
+
resourceType: ResourceNameTypeEnum;
|
|
2087
|
+
resourceId: number;
|
|
2088
|
+
openNumDays?: number;
|
|
2089
|
+
openNumMinutes?: number;
|
|
2090
|
+
openTime?: string;
|
|
2091
|
+
closeNumDays?: number;
|
|
2092
|
+
closeNumMinutes?: number;
|
|
2093
|
+
closeTime?: string;
|
|
2094
|
+
deletedAt?: Date;
|
|
2095
|
+
}
|
|
1805
2096
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
1806
2097
|
name?: string;
|
|
1807
2098
|
description?: string;
|
|
@@ -1834,6 +2125,20 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
1834
2125
|
publicNotes?: string;
|
|
1835
2126
|
slots?: Slot[];
|
|
1836
2127
|
}
|
|
2128
|
+
export declare class Questions extends BondBaseEntity {
|
|
2129
|
+
questionType: string | null;
|
|
2130
|
+
ordinal: number | null;
|
|
2131
|
+
pageOrdinal: number | null;
|
|
2132
|
+
isActive: boolean | null;
|
|
2133
|
+
isMandatory: boolean | null;
|
|
2134
|
+
metaData: any | null;
|
|
2135
|
+
question: string | null;
|
|
2136
|
+
creatorId: number | null;
|
|
2137
|
+
creatorType: string | null;
|
|
2138
|
+
userCreatorId: number | null;
|
|
2139
|
+
ownerId: number | null;
|
|
2140
|
+
questionnaireId: number | null;
|
|
2141
|
+
}
|
|
1837
2142
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
1838
2143
|
name: string;
|
|
1839
2144
|
resourceType: ResourceTypeEnum;
|
|
@@ -1862,17 +2167,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
1862
2167
|
purchasedResources: PurchasedResource[];
|
|
1863
2168
|
linkSEO: string;
|
|
1864
2169
|
}
|
|
1865
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
1866
|
-
resourceType: ResourceNameTypeEnum;
|
|
1867
|
-
resourceId: number;
|
|
1868
|
-
openNumDays?: number;
|
|
1869
|
-
openNumMinutes?: number;
|
|
1870
|
-
openTime?: string;
|
|
1871
|
-
closeNumDays?: number;
|
|
1872
|
-
closeNumMinutes?: number;
|
|
1873
|
-
closeTime?: string;
|
|
1874
|
-
deletedAt?: Date;
|
|
1875
|
-
}
|
|
1876
2170
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
1877
2171
|
name: string;
|
|
1878
2172
|
facilityId: number;
|
|
@@ -1888,6 +2182,12 @@ export declare class School extends BondBaseEntity {
|
|
|
1888
2182
|
phone: string | null;
|
|
1889
2183
|
dataId: number | null;
|
|
1890
2184
|
}
|
|
2185
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2186
|
+
name: string | null;
|
|
2187
|
+
ordinal: number | null;
|
|
2188
|
+
seasonId: number | null;
|
|
2189
|
+
color: string | null;
|
|
2190
|
+
}
|
|
1891
2191
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
1892
2192
|
status: RequestStatusEnum;
|
|
1893
2193
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -1902,12 +2202,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
1902
2202
|
deletedAt?: Date;
|
|
1903
2203
|
purchasedResource: PurchasedResource;
|
|
1904
2204
|
}
|
|
1905
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
1906
|
-
name: string | null;
|
|
1907
|
-
ordinal: number | null;
|
|
1908
|
-
seasonId: number | null;
|
|
1909
|
-
color: string | null;
|
|
1910
|
-
}
|
|
1911
2205
|
export declare class SeasonPool extends BondBaseEntity {
|
|
1912
2206
|
seasonId?: number;
|
|
1913
2207
|
userId?: number;
|
|
@@ -1923,16 +2217,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
1923
2217
|
purchasedResource: PurchasedResource;
|
|
1924
2218
|
season: LeagueSeason;
|
|
1925
2219
|
}
|
|
1926
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
1927
|
-
seasonId: number | null;
|
|
1928
|
-
teamId: number | null;
|
|
1929
|
-
standingPosition: number | null;
|
|
1930
|
-
statistics: any | null;
|
|
1931
|
-
points: number | null;
|
|
1932
|
-
divisionId: number | null;
|
|
1933
|
-
metaData: any | null;
|
|
1934
|
-
team: Team;
|
|
1935
|
-
}
|
|
1936
2220
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
1937
2221
|
blockingSpaceId: number;
|
|
1938
2222
|
blockedSpaceId: number;
|
|
@@ -1948,6 +2232,24 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
1948
2232
|
subcategories: Subcategory[];
|
|
1949
2233
|
shifts?: Shift[];
|
|
1950
2234
|
}
|
|
2235
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2236
|
+
seasonId: number | null;
|
|
2237
|
+
teamId: number | null;
|
|
2238
|
+
standingPosition: number | null;
|
|
2239
|
+
statistics: any | null;
|
|
2240
|
+
points: number | null;
|
|
2241
|
+
divisionId: number | null;
|
|
2242
|
+
metaData: any | null;
|
|
2243
|
+
team: Team;
|
|
2244
|
+
}
|
|
2245
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2246
|
+
productType: ProductTypesEnum;
|
|
2247
|
+
name: string;
|
|
2248
|
+
ordinal?: number;
|
|
2249
|
+
deletedAt?: Date;
|
|
2250
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2251
|
+
stations: Station[];
|
|
2252
|
+
}
|
|
1951
2253
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
1952
2254
|
stationId: number;
|
|
1953
2255
|
subcategoryId: number;
|
|
@@ -1956,6 +2258,24 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
1956
2258
|
station: Station;
|
|
1957
2259
|
subcategory: Subcategory;
|
|
1958
2260
|
}
|
|
2261
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2262
|
+
teamId: number | null;
|
|
2263
|
+
userId: number | null;
|
|
2264
|
+
paymentId: number | null;
|
|
2265
|
+
hasPaid: boolean | null;
|
|
2266
|
+
status: TeamMemberStatusEnum | null;
|
|
2267
|
+
role: TeamMemberRoleEnum;
|
|
2268
|
+
user: User;
|
|
2269
|
+
}
|
|
2270
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2271
|
+
email: string;
|
|
2272
|
+
teamId: number;
|
|
2273
|
+
invitedUserId?: number;
|
|
2274
|
+
userCreatorId: number;
|
|
2275
|
+
token: string;
|
|
2276
|
+
tokenExpirationDate: Date;
|
|
2277
|
+
isUsed: boolean;
|
|
2278
|
+
}
|
|
1959
2279
|
export declare class Team extends BondBaseEntity {
|
|
1960
2280
|
name: string | null;
|
|
1961
2281
|
description: string | null;
|
|
@@ -1990,32 +2310,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
1990
2310
|
gender: number | null;
|
|
1991
2311
|
questionnaireId: number | null;
|
|
1992
2312
|
}
|
|
1993
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
1994
|
-
email: string;
|
|
1995
|
-
teamId: number;
|
|
1996
|
-
invitedUserId?: number;
|
|
1997
|
-
userCreatorId: number;
|
|
1998
|
-
token: string;
|
|
1999
|
-
tokenExpirationDate: Date;
|
|
2000
|
-
isUsed: boolean;
|
|
2001
|
-
}
|
|
2002
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2003
|
-
productType: ProductTypesEnum;
|
|
2004
|
-
name: string;
|
|
2005
|
-
ordinal?: number;
|
|
2006
|
-
deletedAt?: Date;
|
|
2007
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2008
|
-
stations: Station[];
|
|
2009
|
-
}
|
|
2010
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2011
|
-
teamId: number | null;
|
|
2012
|
-
userId: number | null;
|
|
2013
|
-
paymentId: number | null;
|
|
2014
|
-
hasPaid: boolean | null;
|
|
2015
|
-
status: TeamMemberStatusEnum | null;
|
|
2016
|
-
role: TeamMemberRoleEnum;
|
|
2017
|
-
user: User;
|
|
2018
|
-
}
|
|
2019
2313
|
export declare class User extends BondBaseEntity {
|
|
2020
2314
|
firstName: string | null;
|
|
2021
2315
|
lastName: string | null;
|
|
@@ -2055,12 +2349,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2055
2349
|
invoiceNotes: InvoiceNote[];
|
|
2056
2350
|
paymentNotes: PaymentNote[];
|
|
2057
2351
|
}
|
|
2058
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2059
|
-
entityId: number | null;
|
|
2060
|
-
userId: number | null;
|
|
2061
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2062
|
-
user: User;
|
|
2063
|
-
}
|
|
2064
2352
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2065
2353
|
familyAccountId: number;
|
|
2066
2354
|
userId: number;
|
|
@@ -2069,6 +2357,12 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2069
2357
|
familyAccount: FamilyAccount;
|
|
2070
2358
|
deletedAt?: Date;
|
|
2071
2359
|
}
|
|
2360
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
+
entityId: number | null;
|
|
2362
|
+
userId: number | null;
|
|
2363
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
+
user: User;
|
|
2365
|
+
}
|
|
2072
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2073
2367
|
userId: number;
|
|
2074
2368
|
failCount: number;
|
|
@@ -3005,821 +3299,903 @@ export interface IReservationCreatorData {
|
|
|
3005
3299
|
endDate: string;
|
|
3006
3300
|
sportId: number;
|
|
3007
3301
|
}
|
|
3008
|
-
export declare class
|
|
3009
|
-
|
|
3302
|
+
export declare class ColumnNumericTransformer {
|
|
3303
|
+
to(data: number): number;
|
|
3304
|
+
from(data: string): number;
|
|
3010
3305
|
}
|
|
3011
|
-
export declare
|
|
3012
|
-
|
|
3306
|
+
export declare function convertToNumber(data: string): number;
|
|
3307
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3308
|
+
CREDIT_CARD = "card",
|
|
3309
|
+
ACH = "ach",
|
|
3310
|
+
CASH = "cash",
|
|
3311
|
+
CHECK = "check",
|
|
3312
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3313
|
+
OTHER = "other",
|
|
3314
|
+
GIFT_CARD = "gift-card"
|
|
3013
3315
|
}
|
|
3014
|
-
export declare class
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3316
|
+
export declare class ImportedInvoiceLineDto {
|
|
3317
|
+
invoiceID?: string;
|
|
3318
|
+
description: string;
|
|
3319
|
+
createdDate: string;
|
|
3320
|
+
createdTime: string;
|
|
3321
|
+
quantity: string;
|
|
3322
|
+
price: string;
|
|
3323
|
+
total: string;
|
|
3324
|
+
customerID: string;
|
|
3325
|
+
resourceType: string;
|
|
3326
|
+
resourceID: string;
|
|
3020
3327
|
}
|
|
3021
|
-
export declare class
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
minAgeYears?: number;
|
|
3028
|
-
maxAgeYears?: number;
|
|
3029
|
-
gender: GenderEnum;
|
|
3030
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
3031
|
-
sports: SportsEnum[];
|
|
3032
|
-
questionnaires?: number[];
|
|
3033
|
-
captainUserId?: number;
|
|
3034
|
-
divisionId?: number;
|
|
3328
|
+
export declare class ImportedInvoiceDto {
|
|
3329
|
+
customerId?: string;
|
|
3330
|
+
total?: string;
|
|
3331
|
+
amountDue?: string;
|
|
3332
|
+
payments?: ImportedPaymentDto[];
|
|
3333
|
+
lines: any;
|
|
3035
3334
|
}
|
|
3036
|
-
export declare class
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3335
|
+
export declare class ImportedPaymentDto {
|
|
3336
|
+
invoiceID: string;
|
|
3337
|
+
type: ImportPaymentTypeEnum;
|
|
3338
|
+
description: string;
|
|
3339
|
+
paid: string;
|
|
3340
|
+
date: string;
|
|
3341
|
+
time: string;
|
|
3040
3342
|
}
|
|
3041
|
-
export declare class
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3343
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3344
|
+
name?: string;
|
|
3345
|
+
genderStr?: string;
|
|
3346
|
+
parentID?: string;
|
|
3347
|
+
partnerID?: string;
|
|
3348
|
+
membershipName?: string;
|
|
3349
|
+
membershipExpDate?: string;
|
|
3350
|
+
membershipCreationDate?: string;
|
|
3351
|
+
bondMembershipID?: number;
|
|
3045
3352
|
}
|
|
3046
|
-
export declare class
|
|
3047
|
-
|
|
3048
|
-
|
|
3353
|
+
export declare class AddFamilyDto {
|
|
3354
|
+
parents: AddImportedCustomerDto[];
|
|
3355
|
+
children: AddImportedCustomerDto[];
|
|
3049
3356
|
}
|
|
3050
|
-
export declare class
|
|
3051
|
-
|
|
3052
|
-
userCreatorId: number;
|
|
3357
|
+
export declare class ProductIdsDto {
|
|
3358
|
+
productIds?: number[];
|
|
3053
3359
|
}
|
|
3054
|
-
export declare class
|
|
3055
|
-
|
|
3360
|
+
export declare class ProductImportDto {
|
|
3361
|
+
product: Product;
|
|
3362
|
+
prices: Price[];
|
|
3363
|
+
resourceIds: number[];
|
|
3364
|
+
oldId: number;
|
|
3056
3365
|
}
|
|
3057
|
-
export declare class
|
|
3058
|
-
|
|
3366
|
+
export declare class PunchPassDto {
|
|
3367
|
+
CustomerID: string;
|
|
3368
|
+
QuantityLeft: number;
|
|
3369
|
+
BondProgramID: number;
|
|
3370
|
+
BondSessionID: number;
|
|
3371
|
+
ProductID: number;
|
|
3059
3372
|
}
|
|
3060
|
-
export declare class
|
|
3061
|
-
|
|
3062
|
-
|
|
3373
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3374
|
+
entityType: string;
|
|
3375
|
+
entityId: number;
|
|
3063
3376
|
}
|
|
3064
|
-
export declare class
|
|
3065
|
-
|
|
3377
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3378
|
+
matchId: number | null;
|
|
3379
|
+
ordinal: number | null;
|
|
3380
|
+
outcomeOrdinal: number | null;
|
|
3381
|
+
resultMetaData: any | null;
|
|
3382
|
+
points: number | null;
|
|
3383
|
+
score: number | null;
|
|
3384
|
+
gameSlotId: number | null;
|
|
3066
3385
|
}
|
|
3067
|
-
export
|
|
3068
|
-
|
|
3069
|
-
|
|
3386
|
+
export declare class Matches extends BondBaseEntity {
|
|
3387
|
+
eventId: number | null;
|
|
3388
|
+
status: number | null;
|
|
3389
|
+
excludeStandings: boolean | null;
|
|
3070
3390
|
}
|
|
3071
|
-
export declare class
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3391
|
+
export declare class ImportedSlotProductDto {
|
|
3392
|
+
slotID?: string;
|
|
3393
|
+
name?: string;
|
|
3394
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3395
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3396
|
+
price?: string;
|
|
3397
|
+
minutes?: string;
|
|
3398
|
+
quantity: string;
|
|
3399
|
+
startDate?: string;
|
|
3400
|
+
startTime?: string;
|
|
3401
|
+
endDate?: string;
|
|
3402
|
+
endTime?: string;
|
|
3403
|
+
bondProductId?: number;
|
|
3077
3404
|
}
|
|
3078
|
-
export declare class
|
|
3079
|
-
|
|
3405
|
+
export declare class ImportResourceMappingDto {
|
|
3406
|
+
bondResourceID?: string;
|
|
3407
|
+
resourceName?: string;
|
|
3080
3408
|
}
|
|
3081
|
-
export declare class
|
|
3082
|
-
|
|
3409
|
+
export declare class ImportProductMappingDto {
|
|
3410
|
+
productID?: string;
|
|
3411
|
+
productName?: string;
|
|
3083
3412
|
}
|
|
3084
|
-
export declare class
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3413
|
+
export declare class ImportedSlotDto {
|
|
3414
|
+
reservationID: string;
|
|
3415
|
+
bondResourceID: string;
|
|
3416
|
+
resourceName: string;
|
|
3417
|
+
subResourceName: string;
|
|
3418
|
+
startDate: string;
|
|
3419
|
+
startTime: string;
|
|
3420
|
+
endDate: string;
|
|
3421
|
+
endTime: string;
|
|
3422
|
+
sportId?: string;
|
|
3423
|
+
setupDuration: string;
|
|
3424
|
+
setupIncludeInCosts: string;
|
|
3425
|
+
takedownDuration: string;
|
|
3426
|
+
takedownIncludeInCosts: string;
|
|
3427
|
+
slotProduct: ImportedSlotProductDto;
|
|
3428
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3429
|
+
totalPrice: string;
|
|
3088
3430
|
}
|
|
3089
|
-
export declare class
|
|
3090
|
-
|
|
3091
|
-
|
|
3431
|
+
export declare class ImportedReservationDto {
|
|
3432
|
+
name: string;
|
|
3433
|
+
customerId: string;
|
|
3434
|
+
description: string;
|
|
3435
|
+
totalPrice: string;
|
|
3436
|
+
downPayment: string;
|
|
3437
|
+
paid: string;
|
|
3438
|
+
invoiceId: string;
|
|
3439
|
+
slots?: ImportedSlotDto[];
|
|
3440
|
+
addons?: ImportedSlotProductDto[];
|
|
3092
3441
|
}
|
|
3093
|
-
export declare class
|
|
3094
|
-
|
|
3095
|
-
|
|
3442
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3443
|
+
roundId: number;
|
|
3444
|
+
eventId: number;
|
|
3445
|
+
seriesId: number | null;
|
|
3446
|
+
createdAt: Date;
|
|
3447
|
+
updatedAt: Date;
|
|
3096
3448
|
}
|
|
3097
|
-
export declare class
|
|
3098
|
-
|
|
3449
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3450
|
+
seasonId: number;
|
|
3451
|
+
ordinal?: number;
|
|
3452
|
+
divisionId?: number;
|
|
3453
|
+
name: string;
|
|
3099
3454
|
}
|
|
3100
|
-
export declare class
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3455
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3456
|
+
teamId: number | null;
|
|
3457
|
+
eventId: number | null;
|
|
3458
|
+
status: number | null;
|
|
3104
3459
|
}
|
|
3105
|
-
export declare class
|
|
3460
|
+
export declare class Lock extends BondBaseEntity {
|
|
3106
3461
|
name: string;
|
|
3462
|
+
locked?: Date;
|
|
3107
3463
|
}
|
|
3108
|
-
export
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
quantity?: number;
|
|
3113
|
-
isPublic: boolean;
|
|
3114
|
-
startDate?: Date;
|
|
3115
|
-
endDate?: Date;
|
|
3116
|
-
description?: string;
|
|
3117
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
3118
|
-
resourcesIdsToApplyOn?: number[];
|
|
3119
|
-
GL?: string;
|
|
3120
|
-
prices: CreatePriceDto[];
|
|
3121
|
-
downpayment?: number;
|
|
3122
|
-
productType: ProductTypesEnum;
|
|
3123
|
-
subProductType?: string;
|
|
3124
|
-
defaultForResourceId?: number;
|
|
3125
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
3126
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
3127
|
-
variantTitleIds?: number[];
|
|
3128
|
-
variants?: VariantWithPrice[];
|
|
3129
|
-
variantParentId?: number;
|
|
3130
|
-
isAddon?: boolean;
|
|
3131
|
-
isArchive?: boolean;
|
|
3132
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
3133
|
-
isProRated?: boolean;
|
|
3134
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
3135
|
-
isTaxInclusive?: boolean;
|
|
3136
|
-
tax?: number;
|
|
3137
|
-
sports?: number[];
|
|
3138
|
-
durationMinutes?: number;
|
|
3139
|
-
durationDays?: number;
|
|
3140
|
-
forms?: number[];
|
|
3141
|
-
isForAllCustomers?: boolean;
|
|
3142
|
-
membershipsAvailableFor?: number[];
|
|
3143
|
-
customersAvailableFor?: number[];
|
|
3144
|
-
addons?: createRentalProductAddonDto[];
|
|
3145
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
3464
|
+
export interface ValidatedMonthAndDay {
|
|
3465
|
+
valid: boolean;
|
|
3466
|
+
month?: number;
|
|
3467
|
+
day?: number;
|
|
3146
3468
|
}
|
|
3147
|
-
export
|
|
3148
|
-
|
|
3149
|
-
|
|
3469
|
+
export interface ValidationReason {
|
|
3470
|
+
valid: boolean;
|
|
3471
|
+
reason?: string;
|
|
3150
3472
|
}
|
|
3151
|
-
export declare class
|
|
3152
|
-
|
|
3153
|
-
price: number;
|
|
3154
|
-
currency: CurrencyEnum;
|
|
3473
|
+
export declare class CreateMonitorConfigDto {
|
|
3474
|
+
facilityId: number;
|
|
3155
3475
|
name: string;
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
discountValue?: number;
|
|
3159
|
-
discountMethod?: DiscountMethodsEnum;
|
|
3160
|
-
isDefaultPriceForProduct?: boolean;
|
|
3476
|
+
code: string;
|
|
3477
|
+
config: any;
|
|
3161
3478
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3479
|
+
export interface PaymentStatus {
|
|
3480
|
+
parentId: number;
|
|
3481
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3482
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3483
|
+
id?: number;
|
|
3166
3484
|
}
|
|
3167
|
-
export
|
|
3168
|
-
|
|
3169
|
-
resourceType: ResourceNameTypeEnum;
|
|
3170
|
-
isCreateToChildProducts: boolean;
|
|
3171
|
-
productsData: ProductInPackage[];
|
|
3485
|
+
export interface PaymentStatusesDict {
|
|
3486
|
+
[id: number]: PaymentStatus[];
|
|
3172
3487
|
}
|
|
3173
|
-
export
|
|
3174
|
-
|
|
3175
|
-
amountInPackage?: number;
|
|
3176
|
-
level?: ProductPackageLevelEnum;
|
|
3488
|
+
export interface PaymentStatusDict {
|
|
3489
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3177
3490
|
}
|
|
3178
|
-
export declare class
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
level?: ProductPackageLevelEnum;
|
|
3491
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3492
|
+
facilityId: number;
|
|
3493
|
+
code: string;
|
|
3494
|
+
config?: any;
|
|
3183
3495
|
}
|
|
3184
|
-
export declare class
|
|
3185
|
-
productId: number;
|
|
3186
|
-
resourceType: ResourceNameTypeEnum;
|
|
3187
|
-
resourceIds: number[];
|
|
3188
|
-
}
|
|
3189
|
-
export declare class ReturnRequiredProductsDto {
|
|
3190
|
-
userId: number;
|
|
3191
|
-
productId: number;
|
|
3192
|
-
redeemRelevantDate?: string;
|
|
3193
|
-
}
|
|
3194
|
-
export declare class FindByProductUserIdsDto {
|
|
3496
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3195
3497
|
userId: number;
|
|
3196
3498
|
organizationId: number;
|
|
3499
|
+
notifyMetadata?: any;
|
|
3500
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3501
|
+
destination: string;
|
|
3197
3502
|
}
|
|
3198
|
-
export declare class
|
|
3199
|
-
|
|
3200
|
-
|
|
3503
|
+
export declare class Organization extends BondBaseEntity {
|
|
3504
|
+
name: string | null;
|
|
3505
|
+
email: string | null;
|
|
3506
|
+
twitter: string | null;
|
|
3507
|
+
facebook: string | null;
|
|
3508
|
+
instagram: string | null;
|
|
3509
|
+
website: string | null;
|
|
3510
|
+
blog: string | null;
|
|
3511
|
+
phoneNumber: string | null;
|
|
3512
|
+
waiverDoc: string | null;
|
|
3513
|
+
about: string | null;
|
|
3514
|
+
tagline: string | null;
|
|
3515
|
+
status: number | null;
|
|
3516
|
+
addressId: number | null;
|
|
3517
|
+
merchantId: number | null;
|
|
3518
|
+
userCreatorId: number | null;
|
|
3519
|
+
parentId: number | null;
|
|
3520
|
+
paymentSettings: object | null;
|
|
3521
|
+
settings: object | null;
|
|
3522
|
+
isClaimed: boolean | null;
|
|
3523
|
+
sports: number[] | null;
|
|
3524
|
+
mainMediaId: number | null;
|
|
3525
|
+
deletedAt: Date | null;
|
|
3526
|
+
organizationActivityTypes: number[] | null;
|
|
3527
|
+
organizationTypes: number[] | null;
|
|
3528
|
+
organizationAudienceTypes: number[] | null;
|
|
3529
|
+
organizationGenders: number[] | null;
|
|
3530
|
+
questionnaireId: number | null;
|
|
3531
|
+
membershipQuestionnaireId: number | null;
|
|
3532
|
+
feeRate: number;
|
|
3533
|
+
feeAddDollarRate: number;
|
|
3534
|
+
achFeeRate: number;
|
|
3535
|
+
achFeeAddDollarRate: number;
|
|
3536
|
+
maxAchFee: number;
|
|
3537
|
+
cashFeeRate: number;
|
|
3538
|
+
cashFeeAddDollarRate: number;
|
|
3539
|
+
terminalFeeRate: number;
|
|
3540
|
+
terminalFeeAddDollarRate: number;
|
|
3541
|
+
checkFeeRate: number;
|
|
3542
|
+
checkFeeAddDollarRate: number;
|
|
3543
|
+
otherFeeRate: number;
|
|
3544
|
+
otherFeeAddDollarRate: number;
|
|
3545
|
+
balanceFeeRate: number;
|
|
3546
|
+
balanceFeeAddDollarRate: number;
|
|
3547
|
+
address: Address;
|
|
3548
|
+
mainMedia: Media;
|
|
3549
|
+
brandings: OrganizationBranding[];
|
|
3550
|
+
brandingsV2?: OrganizationBranding[];
|
|
3201
3551
|
}
|
|
3202
|
-
export declare class
|
|
3203
|
-
|
|
3204
|
-
includePrices?: boolean;
|
|
3205
|
-
productType?: ProductTypesEnum;
|
|
3206
|
-
includeAddons?: string;
|
|
3552
|
+
export declare class ByOrganizationIdDto {
|
|
3553
|
+
organizationId: number;
|
|
3207
3554
|
}
|
|
3208
|
-
export declare class
|
|
3555
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3209
3556
|
organizationId?: number;
|
|
3210
3557
|
}
|
|
3211
|
-
export declare class
|
|
3212
|
-
|
|
3558
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3559
|
+
programsIds?: string;
|
|
3560
|
+
sessionsIds?: string;
|
|
3561
|
+
segmentsIds?: string;
|
|
3562
|
+
startDate?: string;
|
|
3563
|
+
endDate?: string;
|
|
3564
|
+
months?: string;
|
|
3565
|
+
dow?: string;
|
|
3213
3566
|
}
|
|
3214
|
-
export declare class
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
includeAllData?: boolean;
|
|
3223
|
-
resourceIds?: string;
|
|
3224
|
-
sports?: string;
|
|
3567
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3568
|
+
programsIds?: string;
|
|
3569
|
+
sessionsIds?: string;
|
|
3570
|
+
segmentsIds?: string;
|
|
3571
|
+
startDate?: string;
|
|
3572
|
+
endDate?: string;
|
|
3573
|
+
months?: string;
|
|
3574
|
+
dow?: string;
|
|
3225
3575
|
}
|
|
3226
|
-
export declare class
|
|
3227
|
-
|
|
3576
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3577
|
+
key?: string;
|
|
3578
|
+
vaule?: string;
|
|
3579
|
+
version: number;
|
|
3580
|
+
organization: Organization;
|
|
3228
3581
|
}
|
|
3229
|
-
export declare class
|
|
3230
|
-
|
|
3582
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3583
|
+
mainAdminUserId?: number;
|
|
3231
3584
|
}
|
|
3232
|
-
export
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3585
|
+
export interface UnallocatedEventsFilters {
|
|
3586
|
+
programsIds?: number[];
|
|
3587
|
+
sessionsIds?: number[];
|
|
3588
|
+
segmentsIds?: number[];
|
|
3589
|
+
durations?: Duration[];
|
|
3590
|
+
daysOfWeek?: number[];
|
|
3236
3591
|
}
|
|
3237
|
-
export
|
|
3238
|
-
|
|
3239
|
-
|
|
3592
|
+
export interface Duration {
|
|
3593
|
+
startDate: string;
|
|
3594
|
+
endDate: string;
|
|
3595
|
+
}
|
|
3596
|
+
export interface IUnallocatedEventRes {
|
|
3597
|
+
id: number;
|
|
3240
3598
|
title: string;
|
|
3241
|
-
|
|
3599
|
+
sports: number[];
|
|
3600
|
+
startDate: string;
|
|
3601
|
+
startDateString: string;
|
|
3602
|
+
startTime: string;
|
|
3603
|
+
endDate: string;
|
|
3604
|
+
endDateString: string;
|
|
3605
|
+
endTime: string;
|
|
3606
|
+
timezone: string;
|
|
3242
3607
|
}
|
|
3243
|
-
export
|
|
3244
|
-
|
|
3608
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3609
|
+
data: IUnallocatedEventRes[];
|
|
3245
3610
|
}
|
|
3246
|
-
export declare class
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
isGetEntitlePricing?: boolean;
|
|
3250
|
-
isGetAddOns?: boolean;
|
|
3251
|
-
includeResources?: boolean;
|
|
3252
|
-
includeArchived?: boolean;
|
|
3611
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3612
|
+
organisationId: number | null;
|
|
3613
|
+
userId: number | null;
|
|
3253
3614
|
}
|
|
3254
|
-
export declare class
|
|
3255
|
-
|
|
3615
|
+
export declare class CustomerIdDto {
|
|
3616
|
+
customerId: number;
|
|
3256
3617
|
}
|
|
3257
|
-
export declare class
|
|
3258
|
-
|
|
3259
|
-
name: string;
|
|
3260
|
-
stationId?: number;
|
|
3261
|
-
ordinal?: number;
|
|
3618
|
+
export declare class PaymentIdDto {
|
|
3619
|
+
paymentId: number;
|
|
3262
3620
|
}
|
|
3263
|
-
export declare class
|
|
3264
|
-
|
|
3621
|
+
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3622
|
+
invoiceId: number;
|
|
3265
3623
|
}
|
|
3266
|
-
export declare class
|
|
3267
|
-
|
|
3268
|
-
productType?: ProductTypesEnum;
|
|
3269
|
-
name?: string;
|
|
3270
|
-
stationId?: number;
|
|
3271
|
-
ordinal?: number;
|
|
3624
|
+
export declare class GetInvoicesQueryDto {
|
|
3625
|
+
extended?: boolean;
|
|
3272
3626
|
}
|
|
3273
|
-
export declare class
|
|
3274
|
-
|
|
3627
|
+
export declare class GetPaymentsQueryDto {
|
|
3628
|
+
extended?: boolean;
|
|
3275
3629
|
}
|
|
3276
|
-
export declare class
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
categories?: string[];
|
|
3630
|
+
export declare class PaymentViaInvoiceHashDto {
|
|
3631
|
+
customerId: number;
|
|
3632
|
+
invoiceHash: string;
|
|
3280
3633
|
}
|
|
3281
|
-
export declare class
|
|
3282
|
-
|
|
3634
|
+
export declare class DiscountDto {
|
|
3635
|
+
lineItemId: number;
|
|
3283
3636
|
price: number;
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
level: ProductPackageLevelEnum;
|
|
3637
|
+
entitlementGroupId: number;
|
|
3638
|
+
description?: string;
|
|
3287
3639
|
}
|
|
3288
|
-
export declare class
|
|
3289
|
-
|
|
3290
|
-
availabilityEndDate?: string;
|
|
3291
|
-
daysOfWeek: number[];
|
|
3292
|
-
startTime: string;
|
|
3293
|
-
endTime: string;
|
|
3640
|
+
export declare class LineItemIdDto {
|
|
3641
|
+
lineItemId: number;
|
|
3294
3642
|
}
|
|
3295
|
-
export declare class
|
|
3296
|
-
|
|
3297
|
-
|
|
3643
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3644
|
+
paymentType?: string;
|
|
3645
|
+
paymentStatus?: string;
|
|
3298
3646
|
}
|
|
3299
|
-
export declare class
|
|
3300
|
-
isArchive: boolean;
|
|
3647
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3301
3648
|
}
|
|
3302
|
-
export declare class
|
|
3303
|
-
|
|
3304
|
-
from(data: string): number;
|
|
3649
|
+
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3650
|
+
userId: number;
|
|
3305
3651
|
}
|
|
3306
|
-
export declare
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
parentID?: string;
|
|
3311
|
-
partnerID?: string;
|
|
3312
|
-
membershipName?: string;
|
|
3313
|
-
membershipExpDate?: string;
|
|
3314
|
-
membershipCreationDate?: string;
|
|
3315
|
-
bondMembershipID?: number;
|
|
3652
|
+
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
3653
|
+
payments: ScheduledPaymentDto[];
|
|
3654
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3655
|
+
payemntMethodId: string;
|
|
3316
3656
|
}
|
|
3317
|
-
export declare class
|
|
3318
|
-
|
|
3319
|
-
|
|
3657
|
+
export declare class ScheduledPaymentDto {
|
|
3658
|
+
plannedDate: Date;
|
|
3659
|
+
originalPlannedDate?: Date;
|
|
3660
|
+
price: number;
|
|
3320
3661
|
}
|
|
3321
|
-
export declare
|
|
3322
|
-
|
|
3323
|
-
ACH = "ach",
|
|
3324
|
-
CASH = "cash",
|
|
3325
|
-
CHECK = "check",
|
|
3326
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3327
|
-
OTHER = "other",
|
|
3328
|
-
GIFT_CARD = "gift-card"
|
|
3662
|
+
export declare class FutureInstallmentsIdsDto {
|
|
3663
|
+
paymentsIds: number[];
|
|
3329
3664
|
}
|
|
3330
|
-
export declare class
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
quantity: string;
|
|
3336
|
-
price: string;
|
|
3337
|
-
total: string;
|
|
3338
|
-
customerID: string;
|
|
3339
|
-
resourceType: string;
|
|
3340
|
-
resourceID: string;
|
|
3665
|
+
export declare class UpdateScheduledPaymentsDto {
|
|
3666
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3667
|
+
payemntMethodId: string;
|
|
3668
|
+
invoiceId?: number;
|
|
3669
|
+
installmentIds?: number[];
|
|
3341
3670
|
}
|
|
3342
|
-
export declare class
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
payments?: ImportedPaymentDto[];
|
|
3347
|
-
lines: any;
|
|
3671
|
+
export declare class StationsDto {
|
|
3672
|
+
organizationId: number;
|
|
3673
|
+
facilityId: number;
|
|
3674
|
+
stationId: number;
|
|
3348
3675
|
}
|
|
3349
|
-
export declare class
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3676
|
+
export declare class PaymentIntentDto {
|
|
3677
|
+
amount: number;
|
|
3678
|
+
customer: string;
|
|
3679
|
+
currency: string;
|
|
3680
|
+
capture_method: string;
|
|
3681
|
+
payment_method_types: string[];
|
|
3682
|
+
organizationId: number;
|
|
3683
|
+
creatorId?: number;
|
|
3684
|
+
payment_method?: string;
|
|
3356
3685
|
}
|
|
3357
|
-
export declare class
|
|
3358
|
-
|
|
3686
|
+
export declare class PaymentDataDto {
|
|
3687
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3688
|
+
payemntMethodId: string;
|
|
3359
3689
|
}
|
|
3360
|
-
export declare class
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
oldId: number;
|
|
3690
|
+
export declare class SendReceiptDataDto {
|
|
3691
|
+
paymentId: number;
|
|
3692
|
+
deliveryMethod: 'email' | 'sms';
|
|
3693
|
+
sendToAddress?: string;
|
|
3365
3694
|
}
|
|
3366
|
-
export declare class
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
BondProgramID: number;
|
|
3370
|
-
BondSessionID: number;
|
|
3371
|
-
ProductID: number;
|
|
3695
|
+
export declare class PaymentPlanSchduleDto {
|
|
3696
|
+
date: Date;
|
|
3697
|
+
percent?: number;
|
|
3372
3698
|
}
|
|
3373
|
-
export declare class
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3378
|
-
price?: string;
|
|
3379
|
-
minutes?: string;
|
|
3380
|
-
quantity: string;
|
|
3381
|
-
startDate?: string;
|
|
3382
|
-
startTime?: string;
|
|
3383
|
-
endDate?: string;
|
|
3384
|
-
endTime?: string;
|
|
3385
|
-
bondProductId?: number;
|
|
3699
|
+
export declare class PaymentPlanDto {
|
|
3700
|
+
months?: number;
|
|
3701
|
+
dayOfMonth?: number;
|
|
3702
|
+
schedule?: PaymentPlanSchduleDto[];
|
|
3386
3703
|
}
|
|
3387
|
-
export declare class
|
|
3388
|
-
|
|
3389
|
-
resourceName?: string;
|
|
3704
|
+
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3705
|
+
amountToSplit: number;
|
|
3390
3706
|
}
|
|
3391
|
-
export declare class
|
|
3392
|
-
|
|
3393
|
-
|
|
3707
|
+
export declare class AddToInvoiceDto {
|
|
3708
|
+
invoiceId: number;
|
|
3709
|
+
userId: number;
|
|
3710
|
+
productsToAdd: PurchaseProductDto[];
|
|
3711
|
+
resourcesToRemove: PurchaseProductDto[];
|
|
3394
3712
|
}
|
|
3395
|
-
export declare class
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
resourceName: string;
|
|
3399
|
-
subResourceName: string;
|
|
3400
|
-
startDate: string;
|
|
3401
|
-
startTime: string;
|
|
3402
|
-
endDate: string;
|
|
3403
|
-
endTime: string;
|
|
3404
|
-
sportId?: string;
|
|
3405
|
-
setupDuration: string;
|
|
3406
|
-
setupIncludeInCosts: string;
|
|
3407
|
-
takedownDuration: string;
|
|
3408
|
-
takedownIncludeInCosts: string;
|
|
3409
|
-
slotProduct: ImportedSlotProductDto;
|
|
3410
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3411
|
-
totalPrice: string;
|
|
3713
|
+
export declare class CreateNoteDto {
|
|
3714
|
+
content: string;
|
|
3715
|
+
isPublic: boolean;
|
|
3412
3716
|
}
|
|
3413
|
-
export declare class
|
|
3414
|
-
|
|
3415
|
-
customerId: string;
|
|
3416
|
-
description: string;
|
|
3417
|
-
totalPrice: string;
|
|
3418
|
-
downPayment: string;
|
|
3419
|
-
paid: string;
|
|
3420
|
-
invoiceId: string;
|
|
3421
|
-
slots?: ImportedSlotDto[];
|
|
3422
|
-
addons?: ImportedSlotProductDto[];
|
|
3717
|
+
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
3718
|
+
id: number;
|
|
3423
3719
|
}
|
|
3424
|
-
export declare class
|
|
3425
|
-
|
|
3426
|
-
entityId: number;
|
|
3720
|
+
export declare class NotePrivacyDto {
|
|
3721
|
+
filter: string;
|
|
3427
3722
|
}
|
|
3428
|
-
export declare class
|
|
3429
|
-
|
|
3430
|
-
locked?: Date;
|
|
3723
|
+
export declare class RevertMetaDto {
|
|
3724
|
+
removedResources: RemoveResourceDto[];
|
|
3431
3725
|
}
|
|
3432
|
-
export declare class
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3726
|
+
export declare class RemoveResourceDto {
|
|
3727
|
+
resourceType: ResourceNameTypeEnum;
|
|
3728
|
+
resourceId: number;
|
|
3729
|
+
lineItemId: number;
|
|
3436
3730
|
}
|
|
3437
|
-
export declare class
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
points: number | null;
|
|
3443
|
-
score: number | null;
|
|
3444
|
-
gameSlotId: number | null;
|
|
3731
|
+
export declare class SendRequestDto {
|
|
3732
|
+
invoiceId: number;
|
|
3733
|
+
userId: number;
|
|
3734
|
+
sendToEmail: string;
|
|
3735
|
+
memo?: string;
|
|
3445
3736
|
}
|
|
3446
|
-
export declare class
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3737
|
+
export declare class RefundDto {
|
|
3738
|
+
invoiceId: number;
|
|
3739
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3740
|
+
refundLineItemAmountDict?: {
|
|
3741
|
+
[id: number]: number;
|
|
3742
|
+
};
|
|
3743
|
+
refunds: PaymentMethodDto[];
|
|
3744
|
+
refundType: RefundTypeEnum;
|
|
3745
|
+
reasonId: number;
|
|
3746
|
+
note?: string;
|
|
3747
|
+
shiftId?: number;
|
|
3748
|
+
meta?: RevertMetaDto;
|
|
3452
3749
|
}
|
|
3453
|
-
export declare class
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
name: string;
|
|
3750
|
+
export declare class PaymentMethodDto {
|
|
3751
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3752
|
+
amount: number;
|
|
3753
|
+
paymentMethodId?: string;
|
|
3458
3754
|
}
|
|
3459
|
-
export declare class
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
status: number | null;
|
|
3755
|
+
export declare class RefundLineItemAmountDto {
|
|
3756
|
+
id: number;
|
|
3757
|
+
refundAmount: number;
|
|
3463
3758
|
}
|
|
3464
|
-
export
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
day?: number;
|
|
3759
|
+
export declare class VoidDto {
|
|
3760
|
+
lineItems: VoidLineItemDto[];
|
|
3761
|
+
meta?: RevertMetaDto;
|
|
3468
3762
|
}
|
|
3469
|
-
export
|
|
3470
|
-
|
|
3471
|
-
|
|
3763
|
+
export declare class VoidLineItemDto {
|
|
3764
|
+
id: number;
|
|
3765
|
+
quantity?: number;
|
|
3766
|
+
isEdit?: boolean;
|
|
3767
|
+
amount?: number;
|
|
3472
3768
|
}
|
|
3473
|
-
export
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3769
|
+
export interface PaymentResult {
|
|
3770
|
+
paymentMethodId: string;
|
|
3771
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3772
|
+
amount: number;
|
|
3773
|
+
receiptId?: number;
|
|
3774
|
+
paymentMethod4Digits?: string;
|
|
3775
|
+
errorMessage?: string;
|
|
3776
|
+
wasSuccessful: boolean;
|
|
3479
3777
|
}
|
|
3480
|
-
export interface
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3484
|
-
id?: number;
|
|
3778
|
+
export interface PaymentsResults {
|
|
3779
|
+
success: PaymentResult[];
|
|
3780
|
+
failed: PaymentResult[];
|
|
3485
3781
|
}
|
|
3486
|
-
export interface
|
|
3487
|
-
|
|
3782
|
+
export interface InvoicePaymentSum {
|
|
3783
|
+
priceSum: number;
|
|
3784
|
+
paidSum: number;
|
|
3488
3785
|
}
|
|
3489
|
-
export interface
|
|
3490
|
-
|
|
3786
|
+
export interface ExtendedLineItems {
|
|
3787
|
+
memberships: LineItems[];
|
|
3788
|
+
programs: LineItems[];
|
|
3789
|
+
leagues: LineItems[];
|
|
3790
|
+
rentals: LineItems[];
|
|
3791
|
+
products: LineItems[];
|
|
3792
|
+
events: LineItems[];
|
|
3491
3793
|
}
|
|
3492
|
-
export
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3794
|
+
export declare class AddonDto {
|
|
3795
|
+
productId: number;
|
|
3796
|
+
id?: number;
|
|
3797
|
+
unitPrice?: number;
|
|
3798
|
+
quantity?: number;
|
|
3799
|
+
totalPrice?: number;
|
|
3800
|
+
product?: Product;
|
|
3801
|
+
parentProduct?: Product;
|
|
3802
|
+
displayTotalWithTax?: number;
|
|
3803
|
+
displayTotalPrice?: number;
|
|
3804
|
+
displayUnitTax?: number;
|
|
3498
3805
|
}
|
|
3499
|
-
export
|
|
3500
|
-
|
|
3501
|
-
endDate: string;
|
|
3502
|
-
}
|
|
3503
|
-
export interface IUnallocatedEventRes {
|
|
3504
|
-
id: number;
|
|
3505
|
-
title: string;
|
|
3506
|
-
sports: number[];
|
|
3507
|
-
startDate: string;
|
|
3508
|
-
startDateString: string;
|
|
3509
|
-
startTime: string;
|
|
3510
|
-
endDate: string;
|
|
3511
|
-
endDateString: string;
|
|
3512
|
-
endTime: string;
|
|
3513
|
-
timezone: string;
|
|
3806
|
+
export declare class AddAddonsDto {
|
|
3807
|
+
addons: AddonDto[];
|
|
3514
3808
|
}
|
|
3515
|
-
export
|
|
3516
|
-
|
|
3809
|
+
export declare class EditAddonsDto {
|
|
3810
|
+
addons: EditAddonDto[];
|
|
3517
3811
|
}
|
|
3518
|
-
export declare class
|
|
3519
|
-
|
|
3812
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3813
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3520
3814
|
}
|
|
3521
|
-
export declare class
|
|
3522
|
-
|
|
3815
|
+
export declare class EditAddonDto {
|
|
3816
|
+
id: number;
|
|
3817
|
+
quantity: number;
|
|
3818
|
+
totalPrice: number;
|
|
3819
|
+
unitPrice?: number;
|
|
3523
3820
|
}
|
|
3524
|
-
export
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
startDate?: string;
|
|
3529
|
-
endDate?: string;
|
|
3530
|
-
months?: string;
|
|
3531
|
-
dow?: string;
|
|
3821
|
+
export interface RefundResult extends PaymentsResults {
|
|
3822
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3823
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3824
|
+
invoice?: Invoice;
|
|
3532
3825
|
}
|
|
3533
|
-
export
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
startDate?: string;
|
|
3538
|
-
endDate?: string;
|
|
3539
|
-
months?: string;
|
|
3540
|
-
dow?: string;
|
|
3826
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3827
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3828
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3829
|
+
totalAmountProcessed: number;
|
|
3541
3830
|
}
|
|
3542
|
-
export declare class
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
status: number | null;
|
|
3555
|
-
addressId: number | null;
|
|
3556
|
-
merchantId: number | null;
|
|
3557
|
-
userCreatorId: number | null;
|
|
3558
|
-
parentId: number | null;
|
|
3559
|
-
paymentSettings: object | null;
|
|
3560
|
-
settings: object | null;
|
|
3561
|
-
isClaimed: boolean | null;
|
|
3562
|
-
sports: number[] | null;
|
|
3563
|
-
mainMediaId: number | null;
|
|
3564
|
-
deletedAt: Date | null;
|
|
3565
|
-
organizationActivityTypes: number[] | null;
|
|
3566
|
-
organizationTypes: number[] | null;
|
|
3567
|
-
organizationAudienceTypes: number[] | null;
|
|
3568
|
-
organizationGenders: number[] | null;
|
|
3569
|
-
questionnaireId: number | null;
|
|
3570
|
-
membershipQuestionnaireId: number | null;
|
|
3571
|
-
feeRate: number;
|
|
3572
|
-
feeAddDollarRate: number;
|
|
3573
|
-
achFeeRate: number;
|
|
3574
|
-
achFeeAddDollarRate: number;
|
|
3575
|
-
maxAchFee: number;
|
|
3576
|
-
cashFeeRate: number;
|
|
3577
|
-
cashFeeAddDollarRate: number;
|
|
3578
|
-
terminalFeeRate: number;
|
|
3579
|
-
terminalFeeAddDollarRate: number;
|
|
3580
|
-
checkFeeRate: number;
|
|
3581
|
-
checkFeeAddDollarRate: number;
|
|
3582
|
-
otherFeeRate: number;
|
|
3583
|
-
otherFeeAddDollarRate: number;
|
|
3584
|
-
balanceFeeRate: number;
|
|
3585
|
-
balanceFeeAddDollarRate: number;
|
|
3586
|
-
address: Address;
|
|
3587
|
-
mainMedia: Media;
|
|
3588
|
-
brandings: OrganizationBranding[];
|
|
3589
|
-
brandingsV2?: OrganizationBranding[];
|
|
3831
|
+
export declare class InvoiceDto {
|
|
3832
|
+
invoiceId?: string | null;
|
|
3833
|
+
organizationId: number;
|
|
3834
|
+
price: number | null;
|
|
3835
|
+
totalTax?: number;
|
|
3836
|
+
totalWithoutTax?: number;
|
|
3837
|
+
status?: InvoiceStatusEnum;
|
|
3838
|
+
lineItems: LineItemDto[];
|
|
3839
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3840
|
+
currency: CurrencyEnum;
|
|
3841
|
+
creatingUserId?: number;
|
|
3842
|
+
platform?: PlatformsEnum;
|
|
3590
3843
|
}
|
|
3591
|
-
export declare class
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
version: number;
|
|
3595
|
-
organization: Organization;
|
|
3844
|
+
export declare class BaseInvoiceDto {
|
|
3845
|
+
platform: PlatformsEnum;
|
|
3846
|
+
shiftId?: number;
|
|
3596
3847
|
}
|
|
3597
|
-
export declare class
|
|
3598
|
-
|
|
3848
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3849
|
+
purchasingUserId: number;
|
|
3850
|
+
slots: number[];
|
|
3599
3851
|
}
|
|
3600
|
-
export declare class
|
|
3601
|
-
|
|
3602
|
-
userId: number | null;
|
|
3852
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3853
|
+
reservationTotalPrice: number;
|
|
3603
3854
|
}
|
|
3604
|
-
export declare class
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
code: string;
|
|
3608
|
-
config: any;
|
|
3855
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3856
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3857
|
+
addToInvoiceId?: number;
|
|
3609
3858
|
}
|
|
3610
|
-
export declare class
|
|
3611
|
-
|
|
3612
|
-
code: string;
|
|
3613
|
-
config?: any;
|
|
3859
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3860
|
+
isInvoiced: boolean;
|
|
3614
3861
|
}
|
|
3615
|
-
export declare class
|
|
3616
|
-
|
|
3862
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3863
|
+
slotsIds?: number[];
|
|
3864
|
+
addonsIds?: number[];
|
|
3617
3865
|
}
|
|
3618
|
-
export declare class
|
|
3619
|
-
|
|
3866
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3867
|
+
slots: SlotDto[];
|
|
3620
3868
|
}
|
|
3621
|
-
export declare class
|
|
3622
|
-
|
|
3869
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3870
|
+
segments: SegmentDto[];
|
|
3623
3871
|
}
|
|
3624
|
-
export declare class
|
|
3625
|
-
|
|
3872
|
+
export declare class MaintenanceDto {
|
|
3873
|
+
id?: number;
|
|
3874
|
+
title: string;
|
|
3875
|
+
durationValue: number;
|
|
3876
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3877
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3626
3878
|
}
|
|
3627
|
-
export declare class
|
|
3628
|
-
|
|
3879
|
+
export declare class LineItemDto {
|
|
3880
|
+
id?: number;
|
|
3881
|
+
invoiceId?: number;
|
|
3882
|
+
type: LineItemsStatusEnum;
|
|
3883
|
+
organizationId: number;
|
|
3884
|
+
userId?: number;
|
|
3885
|
+
productId: number;
|
|
3886
|
+
product?: Product;
|
|
3887
|
+
productType: ProductTypesEnum;
|
|
3888
|
+
ordinal?: number;
|
|
3889
|
+
price: number;
|
|
3890
|
+
originalPrice?: number;
|
|
3891
|
+
paidAmount?: number;
|
|
3892
|
+
currency: CurrencyEnum;
|
|
3893
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3894
|
+
isRefunded?: boolean;
|
|
3895
|
+
isTaxInclusive?: boolean;
|
|
3896
|
+
taxPrecent?: number;
|
|
3897
|
+
unitPrice?: number;
|
|
3898
|
+
quantity: number;
|
|
3899
|
+
resources?: PurchasedResourceDto[];
|
|
3900
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3901
|
+
unitPriceWithTax?: number;
|
|
3902
|
+
unitTaxPrice?: number;
|
|
3903
|
+
parentOrdinal?: number;
|
|
3629
3904
|
}
|
|
3630
|
-
export declare class
|
|
3631
|
-
|
|
3632
|
-
|
|
3905
|
+
export declare class PurchasedResourceDto {
|
|
3906
|
+
resourceId?: number;
|
|
3907
|
+
resourceType: ResourceNameTypeEnum;
|
|
3908
|
+
startDate?: string;
|
|
3909
|
+
startTime?: string;
|
|
3910
|
+
endDate?: string;
|
|
3911
|
+
endTime?: string;
|
|
3633
3912
|
}
|
|
3634
|
-
export declare class
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3913
|
+
export declare class ReservationDto {
|
|
3914
|
+
id?: number;
|
|
3915
|
+
organizationId?: number;
|
|
3916
|
+
name: string;
|
|
3917
|
+
reservationType: ReservationTypeEnum;
|
|
3918
|
+
customerId?: number;
|
|
3919
|
+
segments: SegmentDto[];
|
|
3638
3920
|
description?: string;
|
|
3921
|
+
status?: ReservationStatusEnum;
|
|
3922
|
+
privacySetting?: string;
|
|
3923
|
+
invoiceId?: string;
|
|
3924
|
+
price?: number;
|
|
3925
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3926
|
+
creatorId?: number;
|
|
3927
|
+
creatorType?: ResourceNameTypeEnum;
|
|
3928
|
+
publicNotes?: string;
|
|
3929
|
+
privateNotes?: string;
|
|
3930
|
+
forms?: number[] | null;
|
|
3931
|
+
addons?: AddonDto[];
|
|
3932
|
+
userId?: number;
|
|
3933
|
+
overrideProductsPrice?: ProductPricesDto[];
|
|
3934
|
+
targetGlobalPrice?: number;
|
|
3639
3935
|
}
|
|
3640
|
-
export declare class
|
|
3641
|
-
|
|
3936
|
+
export declare class SaveReservationDto {
|
|
3937
|
+
reservation: ReservationDto;
|
|
3938
|
+
slotType?: SlotTypeEnum;
|
|
3642
3939
|
}
|
|
3643
|
-
export declare class
|
|
3644
|
-
|
|
3645
|
-
|
|
3940
|
+
export declare class SingleReservationIncludesDto {
|
|
3941
|
+
includeCustomer?: boolean;
|
|
3942
|
+
includeAddons?: boolean;
|
|
3943
|
+
includeSeries?: boolean;
|
|
3944
|
+
includeInvoices?: boolean;
|
|
3945
|
+
includePayments?: boolean;
|
|
3946
|
+
includeAnswers?: boolean;
|
|
3947
|
+
buildTree?: boolean;
|
|
3646
3948
|
}
|
|
3647
|
-
export declare class
|
|
3949
|
+
export declare class CategoryPricesDto {
|
|
3950
|
+
slot: number;
|
|
3951
|
+
addon: number;
|
|
3648
3952
|
}
|
|
3649
|
-
export declare class
|
|
3650
|
-
|
|
3953
|
+
export declare class ProductPricesDto {
|
|
3954
|
+
productId: number;
|
|
3955
|
+
price?: number;
|
|
3956
|
+
quantity?: number;
|
|
3957
|
+
totalPrice?: number;
|
|
3651
3958
|
}
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
export declare class ScheduledPaymentDto {
|
|
3658
|
-
plannedDate: Date;
|
|
3659
|
-
originalPlannedDate?: Date;
|
|
3660
|
-
price: number;
|
|
3661
|
-
}
|
|
3662
|
-
export declare class FutureInstallmentsIdsDto {
|
|
3663
|
-
paymentsIds: number[];
|
|
3664
|
-
}
|
|
3665
|
-
export declare class UpdateScheduledPaymentsDto {
|
|
3666
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3667
|
-
payemntMethodId: string;
|
|
3668
|
-
invoiceId?: number;
|
|
3669
|
-
installmentIds?: number[];
|
|
3959
|
+
declare class UpdatePriceDto {
|
|
3960
|
+
type: UpdatePricesTypeEnum;
|
|
3961
|
+
globalPrice?: number;
|
|
3962
|
+
category?: CategoryPricesDto;
|
|
3963
|
+
products?: ProductPricesDto[];
|
|
3670
3964
|
}
|
|
3671
|
-
export declare class
|
|
3672
|
-
|
|
3673
|
-
facilityId: number;
|
|
3674
|
-
stationId: number;
|
|
3965
|
+
export declare class UpdateReservationPriceDto extends UpdatePriceDto {
|
|
3966
|
+
reservation: ReservationDto;
|
|
3675
3967
|
}
|
|
3676
|
-
export declare class
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
currency: string;
|
|
3680
|
-
capture_method: string;
|
|
3681
|
-
payment_method_types: string[];
|
|
3682
|
-
organizationId: number;
|
|
3683
|
-
creatorId?: number;
|
|
3684
|
-
payment_method?: string;
|
|
3968
|
+
export declare class UpdateSlotsPricesDto extends UpdatePriceDto {
|
|
3969
|
+
slots: SlotDto[];
|
|
3970
|
+
useCurrentProducts?: boolean;
|
|
3685
3971
|
}
|
|
3686
|
-
export declare class
|
|
3687
|
-
|
|
3688
|
-
|
|
3972
|
+
export declare class BookingData {
|
|
3973
|
+
platform: PlatformsEnum;
|
|
3974
|
+
shiftId?: number;
|
|
3975
|
+
paymentData: PurchasePaymentDto;
|
|
3976
|
+
amountToPay: number;
|
|
3977
|
+
total: number;
|
|
3978
|
+
purchasingUserId: number;
|
|
3689
3979
|
}
|
|
3690
|
-
export declare class
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
sendToAddress?: string;
|
|
3980
|
+
export declare class BookingDto extends BookingData {
|
|
3981
|
+
reservation: ReservationDto;
|
|
3982
|
+
invoiceId?: number;
|
|
3694
3983
|
}
|
|
3695
|
-
export declare class
|
|
3696
|
-
|
|
3697
|
-
|
|
3984
|
+
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
3985
|
+
resourcesIds?: string;
|
|
3986
|
+
startDate?: string;
|
|
3987
|
+
endDate?: string;
|
|
3988
|
+
status?: string;
|
|
3989
|
+
paymentStatus?: string;
|
|
3990
|
+
customerName?: string;
|
|
3698
3991
|
}
|
|
3699
|
-
export declare class
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3992
|
+
export declare class FindSlotsByFacilityIdFiltersDto {
|
|
3993
|
+
startDate: string;
|
|
3994
|
+
endDate: string;
|
|
3995
|
+
limit: number;
|
|
3996
|
+
slotType?: SlotTypeEnum;
|
|
3997
|
+
includeBlocking?: boolean;
|
|
3998
|
+
onlyActiveSessions?: boolean;
|
|
3999
|
+
checkConflicts?: boolean;
|
|
4000
|
+
resourcesIds?: string;
|
|
4001
|
+
resourcesTypes?: string;
|
|
4002
|
+
programTypes?: string;
|
|
4003
|
+
paymentStatuses?: string;
|
|
4004
|
+
reservationStatuses?: string;
|
|
4005
|
+
activityTypes?: string;
|
|
3703
4006
|
}
|
|
3704
|
-
export declare class
|
|
3705
|
-
|
|
4007
|
+
export declare class getSlotsSlotCardDto {
|
|
4008
|
+
includeConflicts?: boolean;
|
|
3706
4009
|
}
|
|
3707
|
-
export declare class
|
|
3708
|
-
|
|
3709
|
-
userId: number;
|
|
3710
|
-
productsToAdd: PurchaseProductDto[];
|
|
3711
|
-
resourcesToRemove: PurchaseProductDto[];
|
|
4010
|
+
export declare class getSlotFQueryParamsDto {
|
|
4011
|
+
addProduct?: boolean;
|
|
3712
4012
|
}
|
|
3713
|
-
export declare class
|
|
3714
|
-
|
|
3715
|
-
isPublic: boolean;
|
|
4013
|
+
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
4014
|
+
reservationId: number;
|
|
3716
4015
|
}
|
|
3717
|
-
export declare class
|
|
3718
|
-
|
|
4016
|
+
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
4017
|
+
facilityId: number;
|
|
3719
4018
|
}
|
|
3720
|
-
export declare class
|
|
3721
|
-
|
|
4019
|
+
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
4020
|
+
segmentId: number;
|
|
3722
4021
|
}
|
|
3723
|
-
export declare class
|
|
3724
|
-
|
|
4022
|
+
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
4023
|
+
status: ReservationStatusEnum;
|
|
3725
4024
|
}
|
|
3726
|
-
export declare class
|
|
3727
|
-
|
|
3728
|
-
resourceId: number;
|
|
3729
|
-
lineItemId: number;
|
|
4025
|
+
export declare class FindBySlotDto extends FindByReservationDto {
|
|
4026
|
+
slotId: number;
|
|
3730
4027
|
}
|
|
3731
|
-
export declare class
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
sendToEmail: string;
|
|
3735
|
-
memo?: string;
|
|
4028
|
+
export declare class AddSlotToSegmentDto {
|
|
4029
|
+
slot: SlotDto;
|
|
4030
|
+
addonIds?: number[];
|
|
3736
4031
|
}
|
|
3737
|
-
export declare class
|
|
3738
|
-
|
|
3739
|
-
|
|
4032
|
+
export declare class AddSlotToSegmenResultDto {
|
|
4033
|
+
series: SeriesDto;
|
|
4034
|
+
slotTotalPrice: number;
|
|
4035
|
+
addonsTotalPrice: number;
|
|
4036
|
+
debug?: any;
|
|
3740
4037
|
}
|
|
3741
|
-
export declare class
|
|
3742
|
-
|
|
3743
|
-
quantity?: number;
|
|
3744
|
-
isEdit?: boolean;
|
|
3745
|
-
amount?: number;
|
|
4038
|
+
export declare class UpdateSlotsDto {
|
|
4039
|
+
slots: SlotDto[];
|
|
3746
4040
|
}
|
|
3747
|
-
export declare class
|
|
3748
|
-
invoiceId: number;
|
|
4041
|
+
export declare class EditItemsRefundMetaDto {
|
|
3749
4042
|
lineItems: RefundLineItemAmountDto[];
|
|
3750
|
-
|
|
3751
|
-
[id: number]: number;
|
|
3752
|
-
};
|
|
3753
|
-
refunds: PaymentMethodDto[];
|
|
3754
|
-
refundType: RefundTypeEnum;
|
|
4043
|
+
paymentMethods: PaymentMethodDto[];
|
|
3755
4044
|
reasonId: number;
|
|
3756
|
-
note?: string;
|
|
3757
|
-
shiftId?: number;
|
|
3758
|
-
meta?: RevertMetaDto;
|
|
3759
4045
|
}
|
|
3760
|
-
export declare class
|
|
3761
|
-
|
|
3762
|
-
amount: number;
|
|
3763
|
-
paymentMethodId?: string;
|
|
4046
|
+
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4047
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3764
4048
|
}
|
|
3765
|
-
export declare class
|
|
3766
|
-
|
|
3767
|
-
|
|
4049
|
+
export declare class EditReservationDetailsDto {
|
|
4050
|
+
name: string;
|
|
4051
|
+
publicNotes?: string;
|
|
4052
|
+
privateNotes?: string;
|
|
3768
4053
|
}
|
|
3769
|
-
export
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
amount: number;
|
|
3773
|
-
receiptId?: number;
|
|
3774
|
-
paymentMethod4Digits?: string;
|
|
3775
|
-
errorMessage?: string;
|
|
3776
|
-
wasSuccessful: boolean;
|
|
4054
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4055
|
+
updateAddons?: boolean;
|
|
4056
|
+
updateMaintenance?: boolean;
|
|
3777
4057
|
}
|
|
3778
|
-
export
|
|
3779
|
-
|
|
3780
|
-
failed: PaymentResult[];
|
|
4058
|
+
export declare class ReservationNotifyDto {
|
|
4059
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
3781
4060
|
}
|
|
3782
|
-
export
|
|
3783
|
-
|
|
3784
|
-
|
|
4061
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4062
|
+
updateAddons?: boolean;
|
|
4063
|
+
updateMaintenance?: boolean;
|
|
3785
4064
|
}
|
|
3786
|
-
export
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
4065
|
+
export declare class SegmentDto {
|
|
4066
|
+
id?: number;
|
|
4067
|
+
title: string;
|
|
4068
|
+
isPrivate: boolean;
|
|
4069
|
+
resourceIds: number[];
|
|
4070
|
+
sportId?: number;
|
|
4071
|
+
series: SeriesDto[];
|
|
4072
|
+
addonIds?: number[];
|
|
4073
|
+
publicNotesForSlots?: string;
|
|
4074
|
+
privateNotesForSlots?: string;
|
|
3793
4075
|
}
|
|
3794
|
-
export
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
4076
|
+
export declare class SeriesDto {
|
|
4077
|
+
id?: number;
|
|
4078
|
+
startDate: string;
|
|
4079
|
+
startTime?: string;
|
|
4080
|
+
endDate?: string;
|
|
4081
|
+
endTime?: string;
|
|
4082
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4083
|
+
durationEndsAfter?: number;
|
|
4084
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4085
|
+
frequency: FrequencyEnum;
|
|
4086
|
+
repeatEvery?: number;
|
|
4087
|
+
repeatOn?: number[];
|
|
4088
|
+
repeatEndDate?: string;
|
|
4089
|
+
numberOccurrences?: number;
|
|
4090
|
+
maintenance?: MaintenanceDto[];
|
|
4091
|
+
slots?: SlotDto[];
|
|
3798
4092
|
}
|
|
3799
|
-
export
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
4093
|
+
export declare class SlotDateTimeAndSpace {
|
|
4094
|
+
startDate: string;
|
|
4095
|
+
startTime?: string;
|
|
4096
|
+
endDate?: string;
|
|
4097
|
+
endTime?: string;
|
|
4098
|
+
spaceId: number;
|
|
3803
4099
|
}
|
|
3804
|
-
export declare class
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
4100
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4101
|
+
id?: number;
|
|
4102
|
+
reservationId?: number;
|
|
4103
|
+
occurrence?: number;
|
|
4104
|
+
title: string;
|
|
4105
|
+
creatorId?: number;
|
|
4106
|
+
creatorType?: string;
|
|
4107
|
+
userCreatorId?: number;
|
|
4108
|
+
timezone?: string;
|
|
4109
|
+
publicNotes?: string;
|
|
4110
|
+
privateNotes?: string;
|
|
4111
|
+
slotType: SlotTypeEnum;
|
|
3808
4112
|
product?: Product;
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
4113
|
+
priceOverrideMeta?: {
|
|
4114
|
+
unitPrice: number;
|
|
4115
|
+
quantity: number;
|
|
4116
|
+
totalPrice: number;
|
|
4117
|
+
};
|
|
4118
|
+
addonPriceOverrideMeta?: {
|
|
4119
|
+
[addonProductId: number]: {
|
|
4120
|
+
unitPrice: number;
|
|
4121
|
+
quantity: number;
|
|
4122
|
+
totalPrice: number;
|
|
4123
|
+
};
|
|
4124
|
+
};
|
|
4125
|
+
addonProducts?: Product[];
|
|
4126
|
+
segmentId?: number;
|
|
4127
|
+
seriesId?: number;
|
|
4128
|
+
eventId?: number;
|
|
4129
|
+
sportIds: number[];
|
|
4130
|
+
parentSlotId?: number;
|
|
4131
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4132
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4133
|
+
durationValue?: number;
|
|
4134
|
+
invoicId?: number;
|
|
3813
4135
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
4136
|
+
approvalStatus: ReservationStatusEnum;
|
|
4137
|
+
displayName?: string;
|
|
4138
|
+
internalName?: string;
|
|
4139
|
+
totalPrice?: number;
|
|
4140
|
+
relevantProducts?: Product[];
|
|
4141
|
+
maintenance?: MaintenanceDto[];
|
|
4142
|
+
maintenanceSlots?: SlotDto[];
|
|
4143
|
+
isPrivate: boolean;
|
|
4144
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4145
|
+
addons?: AddonDto[];
|
|
4146
|
+
addonsIds?: number[];
|
|
4147
|
+
}
|
|
4148
|
+
export declare class TimeSlotDto {
|
|
4149
|
+
id?: number;
|
|
4150
|
+
resourceId: number;
|
|
4151
|
+
startDate: string;
|
|
4152
|
+
startTime: string;
|
|
4153
|
+
endDate: string;
|
|
4154
|
+
endTime: string;
|
|
4155
|
+
parentSlotId?: number;
|
|
4156
|
+
}
|
|
4157
|
+
export declare class TimeSlotsDto {
|
|
4158
|
+
timeSlots: TimeSlotDto[];
|
|
4159
|
+
}
|
|
4160
|
+
export declare class SlotsIdsDto {
|
|
4161
|
+
slotsIds: number[];
|
|
4162
|
+
}
|
|
4163
|
+
declare class AnswerDto {
|
|
4164
|
+
questionId: number;
|
|
4165
|
+
value: any;
|
|
4166
|
+
}
|
|
4167
|
+
export declare class BookedSessionDto {
|
|
4168
|
+
startDate: string;
|
|
4169
|
+
endDate: string;
|
|
4170
|
+
timezone: string;
|
|
4171
|
+
spaceId: number;
|
|
4172
|
+
}
|
|
4173
|
+
declare class AddonV1Dto {
|
|
4174
|
+
resourcePackageId: number;
|
|
4175
|
+
resourcePackageAmount: number;
|
|
4176
|
+
resourcePackagePrice: number;
|
|
4177
|
+
}
|
|
4178
|
+
export declare class ReservationV1Dto {
|
|
4179
|
+
organizationId: number;
|
|
4180
|
+
name: string;
|
|
4181
|
+
dayOfWeek: number;
|
|
4182
|
+
startTime: string;
|
|
4183
|
+
description: string;
|
|
4184
|
+
sport: number;
|
|
4185
|
+
price: number;
|
|
4186
|
+
resourcePackageId: number;
|
|
4187
|
+
resourcePackageAmount: number;
|
|
4188
|
+
bookedSessions: BookedSessionDto[];
|
|
4189
|
+
addons: AddonV1Dto[];
|
|
4190
|
+
}
|
|
4191
|
+
export declare class BookingV1Dto {
|
|
4192
|
+
organizationId: number;
|
|
4193
|
+
reservations: ReservationV1Dto[];
|
|
4194
|
+
answers: AnswerDto[];
|
|
4195
|
+
paymentData: PurchasePaymentDto;
|
|
4196
|
+
skipPayment: boolean;
|
|
4197
|
+
cashPayment: boolean;
|
|
4198
|
+
requestOnly: boolean;
|
|
3823
4199
|
}
|
|
3824
4200
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3825
4201
|
deletedAt?: Date;
|
|
@@ -3827,91 +4203,25 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
3827
4203
|
invoiceId: number;
|
|
3828
4204
|
slotId: number;
|
|
3829
4205
|
}
|
|
3830
|
-
export declare class
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
slots?: Slot[];
|
|
3835
|
-
slotDurationType: string;
|
|
3836
|
-
durationEndsAfter: number;
|
|
3837
|
-
durationUnit: string;
|
|
3838
|
-
startDate?: Date;
|
|
3839
|
-
endDate?: Date;
|
|
3840
|
-
startTime: string;
|
|
3841
|
-
endTime: string;
|
|
3842
|
-
frequency: string;
|
|
3843
|
-
repeatEvery: number;
|
|
3844
|
-
repeatOn?: number[];
|
|
3845
|
-
repeatEndDate?: Date;
|
|
3846
|
-
numberOccurrences?: number;
|
|
3847
|
-
resources?: Resource[];
|
|
3848
|
-
}
|
|
3849
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3850
|
-
constructor();
|
|
3851
|
-
defineIsReverted(): void;
|
|
3852
|
-
isReverted: boolean;
|
|
3853
|
-
reservationId: number;
|
|
3854
|
-
reservation: Reservation;
|
|
3855
|
-
title?: string;
|
|
3856
|
-
creatorId?: number;
|
|
3857
|
-
creatorType?: string;
|
|
3858
|
-
userCreatorId?: number;
|
|
3859
|
-
startDate: Date;
|
|
3860
|
-
endDate: Date;
|
|
3861
|
-
startTime: string;
|
|
3862
|
-
endTime: string;
|
|
3863
|
-
timezone?: string;
|
|
3864
|
-
spaceId?: number;
|
|
3865
|
-
resource?: Resource;
|
|
3866
|
-
deletedAt?: Date;
|
|
3867
|
-
publicNotes?: string;
|
|
3868
|
-
privateNotes?: string;
|
|
3869
|
-
slotType: SlotTypeEnum;
|
|
3870
|
-
productsUserId?: number;
|
|
3871
|
-
productUser?: ProductsUsers;
|
|
4206
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4207
|
+
parentId: number;
|
|
4208
|
+
parentType: AddonParentTypeEnum;
|
|
4209
|
+
productId: number;
|
|
3872
4210
|
product?: Product;
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
parentSlotId?: number;
|
|
3882
|
-
parent?: Slot;
|
|
3883
|
-
children?: Slot[];
|
|
3884
|
-
maintenanceDurationdurationType: string;
|
|
3885
|
-
maintenanceTiming: number;
|
|
3886
|
-
durationValue: number;
|
|
3887
|
-
seriesId?: number;
|
|
3888
|
-
series?: Series;
|
|
4211
|
+
quantity: number;
|
|
4212
|
+
unitPrice: number;
|
|
4213
|
+
totalPrice: number;
|
|
4214
|
+
approvalStatus: ReservationStatusEnum;
|
|
4215
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4216
|
+
level?: ProductPackageLevelEnum;
|
|
4217
|
+
resourceId?: number;
|
|
4218
|
+
resource?: Resource;
|
|
3889
4219
|
invoiceId?: number;
|
|
3890
4220
|
invoice?: Invoice;
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
displayName?: string;
|
|
3894
|
-
internalName?: string;
|
|
3895
|
-
activityTypes?: number[] | null;
|
|
3896
|
-
hourlyRate: number;
|
|
3897
|
-
totalPrice: number;
|
|
3898
|
-
isConsumerVisible: boolean;
|
|
3899
|
-
isMonitorVisible: boolean;
|
|
3900
|
-
isPrivate: boolean;
|
|
3901
|
-
occurrence?: number;
|
|
3902
|
-
maintenance?: Slot[];
|
|
3903
|
-
productMetadata: {
|
|
3904
|
-
productId: number;
|
|
3905
|
-
price: number;
|
|
3906
|
-
};
|
|
3907
|
-
slotDurationType: string;
|
|
4221
|
+
productUserId?: number;
|
|
4222
|
+
productUser?: ProductsUsers;
|
|
3908
4223
|
previousProductUsersIds?: number[];
|
|
3909
4224
|
previousProductUsers?: ProductsUsers[];
|
|
3910
|
-
changeLineItemIds?: number[];
|
|
3911
|
-
changeLineItems?: LineItems[];
|
|
3912
|
-
updatedLineItem?: LineItems;
|
|
3913
|
-
conflictsCount?: number;
|
|
3914
|
-
conflicts?: Slot[];
|
|
3915
4225
|
}
|
|
3916
4226
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3917
4227
|
name?: string;
|
|
@@ -3960,633 +4270,323 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
3960
4270
|
privateNotesForSlots?: string;
|
|
3961
4271
|
slots?: Slot[];
|
|
3962
4272
|
}
|
|
3963
|
-
export declare
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
status: string;
|
|
3982
|
-
sentForClientDate?: string;
|
|
3983
|
-
sentForAdminDate?: string;
|
|
3984
|
-
name?: string;
|
|
3985
|
-
}
|
|
3986
|
-
export declare class SlotDateDto {
|
|
3987
|
-
startDate: moment.Moment;
|
|
3988
|
-
endDate: moment.Moment;
|
|
3989
|
-
}
|
|
3990
|
-
export interface IProductQuantity {
|
|
3991
|
-
productId: number;
|
|
3992
|
-
quantity?: number;
|
|
3993
|
-
unitPrice?: number;
|
|
3994
|
-
}
|
|
3995
|
-
export interface SlotsLineItemData extends BaseReservationItemLineItemData {
|
|
3996
|
-
slotIds: number[];
|
|
3997
|
-
}
|
|
3998
|
-
export interface AddonsLineItemData extends BaseReservationItemLineItemData {
|
|
3999
|
-
addonsIds: number[];
|
|
4000
|
-
}
|
|
4001
|
-
export declare type ReservationItemLineItemData = BaseReservationItemLineItemData | SlotsLineItemData | AddonsLineItemData;
|
|
4002
|
-
export interface BaseReservationItemLineItemData {
|
|
4003
|
-
id: number;
|
|
4004
|
-
amount: number;
|
|
4005
|
-
amountPaid: number;
|
|
4006
|
-
quantity: number;
|
|
4007
|
-
canVoid: boolean;
|
|
4008
|
-
canRefund: boolean;
|
|
4009
|
-
isEdit?: boolean;
|
|
4273
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4274
|
+
deletedAt?: Date;
|
|
4275
|
+
segmentId: number;
|
|
4276
|
+
segment?: Segment;
|
|
4277
|
+
slots?: Slot[];
|
|
4278
|
+
slotDurationType: string;
|
|
4279
|
+
durationEndsAfter: number;
|
|
4280
|
+
durationUnit: string;
|
|
4281
|
+
startDate?: Date;
|
|
4282
|
+
endDate?: Date;
|
|
4283
|
+
startTime: string;
|
|
4284
|
+
endTime: string;
|
|
4285
|
+
frequency: string;
|
|
4286
|
+
repeatEvery: number;
|
|
4287
|
+
repeatOn?: number[];
|
|
4288
|
+
repeatEndDate?: Date;
|
|
4289
|
+
numberOccurrences?: number;
|
|
4290
|
+
resources?: Resource[];
|
|
4010
4291
|
}
|
|
4011
|
-
export
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
}
|
|
4016
|
-
export interface IRemoveAddonsFinancialData {
|
|
4017
|
-
paymentMethods: IPaymentMethodToFundLeft[];
|
|
4018
|
-
lineItems: AddonsLineItemData[];
|
|
4019
|
-
nextFinancialStep: FinancialStepEnum;
|
|
4020
|
-
}
|
|
4021
|
-
export interface ReservationData {
|
|
4022
|
-
id: number;
|
|
4023
|
-
reservationName: string;
|
|
4024
|
-
customerId: number;
|
|
4025
|
-
customerFirstName: string;
|
|
4026
|
-
customerLastName: string;
|
|
4027
|
-
spaces: SpaceInReservation[];
|
|
4028
|
-
startDate: string;
|
|
4029
|
-
endDate: string;
|
|
4030
|
-
price: number;
|
|
4031
|
-
status: ReservationStatusEnum;
|
|
4032
|
-
paymentStatus: PaymentStatusEnum;
|
|
4033
|
-
frequencies: FrequencyInReservation[];
|
|
4034
|
-
reservationType: ReservationTypeEnum;
|
|
4035
|
-
}
|
|
4036
|
-
export interface SpaceInReservation {
|
|
4037
|
-
reservationId: number;
|
|
4038
|
-
spaceId: number;
|
|
4039
|
-
spaceName: string;
|
|
4040
|
-
}
|
|
4041
|
-
export interface FrequencyInReservation {
|
|
4292
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4293
|
+
constructor();
|
|
4294
|
+
defineIsReverted(): void;
|
|
4295
|
+
isReverted: boolean;
|
|
4042
4296
|
reservationId: number;
|
|
4043
|
-
frequency?: string;
|
|
4044
|
-
repeatEvery?: number;
|
|
4045
|
-
repeatOn?: number[];
|
|
4046
|
-
repeatEndDate?: string;
|
|
4047
|
-
}
|
|
4048
|
-
export interface FindReservationsByOrganizationIdFilters extends PaginationQuery {
|
|
4049
|
-
resourcesIds?: string;
|
|
4050
|
-
datesRange?: {
|
|
4051
|
-
startDate: string;
|
|
4052
|
-
endDate: string;
|
|
4053
|
-
};
|
|
4054
|
-
approvalStatuses?: string[];
|
|
4055
|
-
paymentStatuses?: string[];
|
|
4056
|
-
customerName?: string;
|
|
4057
|
-
}
|
|
4058
|
-
export interface FindSlotsByFacilityIdFilters {
|
|
4059
|
-
startDate: string;
|
|
4060
|
-
endDate: string;
|
|
4061
|
-
limit: number;
|
|
4062
|
-
resourcesIds?: number[];
|
|
4063
|
-
resourcesTypes?: ResourceTypeEnum[];
|
|
4064
|
-
slotType?: SlotTypeEnum;
|
|
4065
|
-
activityTypes?: SportsEnum[];
|
|
4066
|
-
programTypes?: ProgramTypesEnum[];
|
|
4067
|
-
paymentStatuses?: ReservationPaymentStatusEnum[];
|
|
4068
|
-
reservationStatuses?: ReservationStatusEnum[];
|
|
4069
|
-
includeBlocking?: boolean;
|
|
4070
|
-
onlyActiveSessions?: boolean;
|
|
4071
|
-
checkConflicts?: boolean;
|
|
4072
|
-
}
|
|
4073
|
-
export interface PriceFields {
|
|
4074
|
-
unitPrice: string;
|
|
4075
|
-
price: string;
|
|
4076
|
-
totalTax: string;
|
|
4077
|
-
quantity: string;
|
|
4078
|
-
isTaxInclusive: boolean;
|
|
4079
|
-
currency: string;
|
|
4080
|
-
}
|
|
4081
|
-
export interface LineItemPrice {
|
|
4082
|
-
unitPrice: number;
|
|
4083
|
-
unitTax: number;
|
|
4084
|
-
isTaxInclusive: boolean;
|
|
4085
|
-
unitPricePerHour: number;
|
|
4086
|
-
taxPerHour: number;
|
|
4087
|
-
quantity: number;
|
|
4088
|
-
currency: string;
|
|
4089
|
-
totalPrice: number;
|
|
4090
|
-
}
|
|
4091
|
-
export interface CalendarSlotCard extends Slot {
|
|
4092
|
-
reservation: Reservation & {
|
|
4093
|
-
resources?: {
|
|
4094
|
-
id: number;
|
|
4095
|
-
name: string;
|
|
4096
|
-
}[];
|
|
4097
|
-
};
|
|
4098
|
-
invoice: Invoice;
|
|
4099
|
-
price: LineItemPrice;
|
|
4100
|
-
totalSlotsInSeries?: number;
|
|
4101
|
-
slotIndexInSeries?: number;
|
|
4102
|
-
}
|
|
4103
|
-
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4104
|
-
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4105
|
-
export interface IInvoice extends IPartialInvoice {
|
|
4106
|
-
lineItemsCount: number;
|
|
4107
|
-
}
|
|
4108
|
-
export interface SingleReservation {
|
|
4109
|
-
id: number;
|
|
4110
|
-
name: string;
|
|
4111
|
-
organizationId: number;
|
|
4112
|
-
description: string;
|
|
4113
|
-
updatedAt: Date;
|
|
4114
|
-
privateNotes: string;
|
|
4115
|
-
publicNotes: string;
|
|
4116
|
-
approvalStatus: string;
|
|
4117
|
-
paymentStatus: PaymentStatusEnum;
|
|
4118
|
-
reservationType: ReservationTypeEnum;
|
|
4119
|
-
sports: number[];
|
|
4120
|
-
facilityId?: number;
|
|
4121
|
-
customerId: number;
|
|
4122
|
-
customer?: Customer;
|
|
4123
|
-
invoices?: IInvoice[];
|
|
4124
|
-
payments?: IPartialPayment[];
|
|
4125
|
-
addons?: Addon[];
|
|
4126
|
-
answers?: Answer[];
|
|
4127
|
-
series: Series[];
|
|
4128
|
-
segments?: Segment[];
|
|
4129
|
-
}
|
|
4130
|
-
export interface UpdateReservationResult {
|
|
4131
4297
|
reservation: Reservation;
|
|
4132
|
-
|
|
4133
|
-
debug?: any;
|
|
4134
|
-
}
|
|
4135
|
-
export interface UpdateSlotPricesResult {
|
|
4136
|
-
reservation: ReservationDto;
|
|
4137
|
-
slots: SlotDto[];
|
|
4138
|
-
invoice: InvoiceDto;
|
|
4139
|
-
debug?: any;
|
|
4140
|
-
}
|
|
4141
|
-
export interface UpdateSlotsAddonsResult {
|
|
4142
|
-
slots: SlotDto[];
|
|
4143
|
-
invoice: InvoiceDto;
|
|
4144
|
-
debug?: any;
|
|
4145
|
-
}
|
|
4146
|
-
export interface ValidateEditItemsResult {
|
|
4147
|
-
nextFinancialStep: FinancialStepEnum;
|
|
4148
|
-
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4149
|
-
originalInvoicePrice?: number;
|
|
4150
|
-
updatedInvoicePrice?: number;
|
|
4151
|
-
originalItemsPrice?: number;
|
|
4152
|
-
updatedItemsPrice?: number;
|
|
4153
|
-
priceChange?: number;
|
|
4154
|
-
refundMetadata?: EditItemsRefundMetadata;
|
|
4155
|
-
editData?: EditItemsData;
|
|
4156
|
-
}
|
|
4157
|
-
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4158
|
-
slots: SlotDto[];
|
|
4159
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4160
|
-
}
|
|
4161
|
-
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4162
|
-
refundMetadata?: EditAddonsRefundMetadata;
|
|
4163
|
-
}
|
|
4164
|
-
export interface EditSlotsRefundMetadata {
|
|
4165
|
-
lineItems: SlotsLineItemData[];
|
|
4166
|
-
refundAmount: number;
|
|
4167
|
-
}
|
|
4168
|
-
export interface EditAddonsRefundMetadata {
|
|
4169
|
-
lineItems: AddonsLineItemData[];
|
|
4170
|
-
refundAmount: number;
|
|
4171
|
-
}
|
|
4172
|
-
export interface EditItemsRefundMetadata {
|
|
4173
|
-
lineItems: ReservationItemLineItemData[];
|
|
4174
|
-
refundAmount: number;
|
|
4175
|
-
}
|
|
4176
|
-
export interface EditItemsData {
|
|
4177
|
-
invoice?: Invoice;
|
|
4178
|
-
editLineItems?: ReservationItemLineItemData[];
|
|
4179
|
-
newLineItems?: LineItemDto[];
|
|
4180
|
-
}
|
|
4181
|
-
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4182
|
-
refundResult?: RefundResult;
|
|
4183
|
-
}
|
|
4184
|
-
export interface TimeSlotConflicts {
|
|
4185
|
-
timeSlot: TimeSlotDto;
|
|
4186
|
-
conflicts: Slot[];
|
|
4187
|
-
}
|
|
4188
|
-
export interface AddonMetadata {
|
|
4189
|
-
productId: number;
|
|
4190
|
-
quantity: number;
|
|
4191
|
-
unitPrice: number;
|
|
4192
|
-
totalPrice: number;
|
|
4193
|
-
product?: Product;
|
|
4194
|
-
}
|
|
4195
|
-
export declare class AddonDto {
|
|
4196
|
-
productId: number;
|
|
4197
|
-
id?: number;
|
|
4198
|
-
unitPrice?: number;
|
|
4199
|
-
quantity?: number;
|
|
4200
|
-
totalPrice?: number;
|
|
4201
|
-
product?: Product;
|
|
4202
|
-
parentProduct?: Product;
|
|
4203
|
-
displayTotalWithTax?: number;
|
|
4204
|
-
displayTotalPrice?: number;
|
|
4205
|
-
displayUnitTax?: number;
|
|
4206
|
-
}
|
|
4207
|
-
export declare class AddAddonsDto {
|
|
4208
|
-
addons: AddonDto[];
|
|
4209
|
-
}
|
|
4210
|
-
export declare class EditAddonsDto {
|
|
4211
|
-
addons: EditAddonDto[];
|
|
4212
|
-
}
|
|
4213
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4214
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4215
|
-
}
|
|
4216
|
-
export declare class EditAddonDto {
|
|
4217
|
-
id: number;
|
|
4218
|
-
quantity: number;
|
|
4219
|
-
totalPrice: number;
|
|
4220
|
-
unitPrice?: number;
|
|
4221
|
-
}
|
|
4222
|
-
export declare class LineItemDto {
|
|
4223
|
-
id?: number;
|
|
4224
|
-
invoiceId?: number;
|
|
4225
|
-
type: LineItemsStatusEnum;
|
|
4226
|
-
organizationId: number;
|
|
4227
|
-
userId?: number;
|
|
4228
|
-
productId: number;
|
|
4229
|
-
product?: Product;
|
|
4230
|
-
productType: ProductTypesEnum;
|
|
4231
|
-
ordinal?: number;
|
|
4232
|
-
price: number;
|
|
4233
|
-
originalPrice?: number;
|
|
4234
|
-
paidAmount?: number;
|
|
4235
|
-
currency: CurrencyEnum;
|
|
4236
|
-
paymentStatus?: PaymentStatusEnum;
|
|
4237
|
-
isRefunded?: boolean;
|
|
4238
|
-
isTaxInclusive?: boolean;
|
|
4239
|
-
taxPrecent?: number;
|
|
4240
|
-
unitPrice?: number;
|
|
4241
|
-
quantity: number;
|
|
4242
|
-
resources?: PurchasedResourceDto[];
|
|
4243
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
4244
|
-
unitPriceWithTax?: number;
|
|
4245
|
-
unitTaxPrice?: number;
|
|
4246
|
-
parentOrdinal?: number;
|
|
4247
|
-
}
|
|
4248
|
-
export declare class MaintenanceDto {
|
|
4249
|
-
id?: number;
|
|
4250
|
-
title: string;
|
|
4251
|
-
durationValue: number;
|
|
4252
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4253
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
4254
|
-
}
|
|
4255
|
-
export declare class InvoiceDto {
|
|
4256
|
-
invoiceId?: string | null;
|
|
4257
|
-
organizationId: number;
|
|
4258
|
-
price: number | null;
|
|
4259
|
-
totalTax?: number;
|
|
4260
|
-
totalWithoutTax?: number;
|
|
4261
|
-
status?: InvoiceStatusEnum;
|
|
4262
|
-
lineItems: LineItemDto[];
|
|
4263
|
-
paymentStatus?: PaymentStatusEnum;
|
|
4264
|
-
currency: CurrencyEnum;
|
|
4265
|
-
creatingUserId?: number;
|
|
4266
|
-
platform?: PlatformsEnum;
|
|
4267
|
-
}
|
|
4268
|
-
export declare class BaseInvoiceDto {
|
|
4269
|
-
platform: PlatformsEnum;
|
|
4270
|
-
shiftId?: number;
|
|
4271
|
-
}
|
|
4272
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
4273
|
-
purchasingUserId: number;
|
|
4274
|
-
slots: number[];
|
|
4275
|
-
}
|
|
4276
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
4277
|
-
reservationTotalPrice: number;
|
|
4278
|
-
}
|
|
4279
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
4280
|
-
basicInfoData?: BaseInvoiceDto;
|
|
4281
|
-
addToInvoiceId?: number;
|
|
4282
|
-
}
|
|
4283
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
4284
|
-
isInvoiced: boolean;
|
|
4285
|
-
}
|
|
4286
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
4287
|
-
slotsIds?: number[];
|
|
4288
|
-
addonsIds?: number[];
|
|
4289
|
-
}
|
|
4290
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
4291
|
-
slots: SlotDto[];
|
|
4292
|
-
}
|
|
4293
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
4294
|
-
segments: SegmentDto[];
|
|
4295
|
-
}
|
|
4296
|
-
export declare class ReservationDto {
|
|
4297
|
-
id?: number;
|
|
4298
|
-
organizationId?: number;
|
|
4299
|
-
name: string;
|
|
4300
|
-
reservationType: ReservationTypeEnum;
|
|
4301
|
-
customerId?: number;
|
|
4302
|
-
segments: SegmentDto[];
|
|
4303
|
-
description?: string;
|
|
4304
|
-
status?: ReservationStatusEnum;
|
|
4305
|
-
privacySetting?: string;
|
|
4306
|
-
invoiceId?: string;
|
|
4307
|
-
price?: number;
|
|
4308
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4298
|
+
title?: string;
|
|
4309
4299
|
creatorId?: number;
|
|
4310
|
-
creatorType?:
|
|
4300
|
+
creatorType?: string;
|
|
4301
|
+
userCreatorId?: number;
|
|
4302
|
+
startDate: Date;
|
|
4303
|
+
endDate: Date;
|
|
4304
|
+
startTime: string;
|
|
4305
|
+
endTime: string;
|
|
4306
|
+
timezone?: string;
|
|
4307
|
+
spaceId?: number;
|
|
4308
|
+
resource?: Resource;
|
|
4309
|
+
deletedAt?: Date;
|
|
4311
4310
|
publicNotes?: string;
|
|
4312
4311
|
privateNotes?: string;
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4312
|
+
slotType: SlotTypeEnum;
|
|
4313
|
+
productsUserId?: number;
|
|
4314
|
+
productUser?: ProductsUsers;
|
|
4315
|
+
product?: Product;
|
|
4316
|
+
addons: Addon[];
|
|
4317
|
+
addonsProductUserIds?: number[] | null;
|
|
4318
|
+
addonsMetadata: AddonMetadata[];
|
|
4319
|
+
segmentId: number;
|
|
4320
|
+
segment: Segment;
|
|
4321
|
+
eventId: number;
|
|
4322
|
+
event: Event;
|
|
4323
|
+
sportIds: number[];
|
|
4324
|
+
parentSlotId?: number;
|
|
4325
|
+
parent?: Slot;
|
|
4326
|
+
children?: Slot[];
|
|
4327
|
+
maintenanceDurationdurationType: string;
|
|
4328
|
+
maintenanceTiming: number;
|
|
4329
|
+
durationValue: number;
|
|
4330
|
+
seriesId?: number;
|
|
4331
|
+
series?: Series;
|
|
4332
|
+
invoiceId?: number;
|
|
4333
|
+
invoice?: Invoice;
|
|
4334
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4335
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4336
|
+
displayName?: string;
|
|
4337
|
+
internalName?: string;
|
|
4338
|
+
activityTypes?: number[] | null;
|
|
4339
|
+
hourlyRate: number;
|
|
4340
|
+
totalPrice: number;
|
|
4341
|
+
isConsumerVisible: boolean;
|
|
4342
|
+
isMonitorVisible: boolean;
|
|
4343
|
+
isPrivate: boolean;
|
|
4344
|
+
occurrence?: number;
|
|
4345
|
+
maintenance?: Slot[];
|
|
4346
|
+
productMetadata: {
|
|
4347
|
+
productId: number;
|
|
4348
|
+
price: number;
|
|
4349
|
+
};
|
|
4350
|
+
slotDurationType: string;
|
|
4351
|
+
previousProductUsersIds?: number[];
|
|
4352
|
+
previousProductUsers?: ProductsUsers[];
|
|
4353
|
+
changeLineItemIds?: number[];
|
|
4354
|
+
changeLineItems?: LineItems[];
|
|
4355
|
+
updatedLineItem?: LineItems;
|
|
4356
|
+
conflictsCount?: number;
|
|
4357
|
+
conflicts?: Slot[];
|
|
4318
4358
|
}
|
|
4319
|
-
export declare
|
|
4320
|
-
|
|
4321
|
-
|
|
4359
|
+
export declare type TSlotAndType = {
|
|
4360
|
+
type: 'slots' | 'slot_addons';
|
|
4361
|
+
slotsForProduct: {
|
|
4362
|
+
[productId: number]: {
|
|
4363
|
+
product: Product;
|
|
4364
|
+
slots: SlotDto[];
|
|
4365
|
+
};
|
|
4366
|
+
};
|
|
4367
|
+
};
|
|
4368
|
+
export interface ILineItemResource {
|
|
4369
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4370
|
+
values: TResource[];
|
|
4322
4371
|
}
|
|
4323
|
-
export declare
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4372
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4373
|
+
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4374
|
+
export interface ReservationV1 {
|
|
4375
|
+
id: number;
|
|
4376
|
+
price: number;
|
|
4377
|
+
status: string;
|
|
4378
|
+
sentForClientDate?: string;
|
|
4379
|
+
sentForAdminDate?: string;
|
|
4380
|
+
name?: string;
|
|
4331
4381
|
}
|
|
4332
|
-
export declare class
|
|
4333
|
-
|
|
4334
|
-
|
|
4382
|
+
export declare class SlotDateDto {
|
|
4383
|
+
startDate: moment.Moment;
|
|
4384
|
+
endDate: moment.Moment;
|
|
4335
4385
|
}
|
|
4336
|
-
export
|
|
4386
|
+
export interface IProductQuantity {
|
|
4337
4387
|
productId: number;
|
|
4338
|
-
price?: number;
|
|
4339
4388
|
quantity?: number;
|
|
4340
|
-
|
|
4389
|
+
unitPrice?: number;
|
|
4341
4390
|
}
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
globalPrice?: number;
|
|
4345
|
-
category?: CategoryPricesDto;
|
|
4346
|
-
products?: ProductPricesDto[];
|
|
4391
|
+
export interface SlotsLineItemData extends BaseReservationItemLineItemData {
|
|
4392
|
+
slotIds: number[];
|
|
4347
4393
|
}
|
|
4348
|
-
export
|
|
4349
|
-
|
|
4394
|
+
export interface AddonsLineItemData extends BaseReservationItemLineItemData {
|
|
4395
|
+
addonsIds: number[];
|
|
4350
4396
|
}
|
|
4351
|
-
export declare
|
|
4352
|
-
|
|
4353
|
-
|
|
4397
|
+
export declare type ReservationItemLineItemData = BaseReservationItemLineItemData | SlotsLineItemData | AddonsLineItemData;
|
|
4398
|
+
export interface BaseReservationItemLineItemData {
|
|
4399
|
+
id: number;
|
|
4400
|
+
amount: number;
|
|
4401
|
+
amountPaid: number;
|
|
4402
|
+
quantity: number;
|
|
4403
|
+
canVoid: boolean;
|
|
4404
|
+
canRefund: boolean;
|
|
4405
|
+
isEdit?: boolean;
|
|
4354
4406
|
}
|
|
4355
|
-
export
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
amountToPay: number;
|
|
4360
|
-
total: number;
|
|
4361
|
-
purchasingUserId: number;
|
|
4407
|
+
export interface IRemoveSlotsFinancialData {
|
|
4408
|
+
paymentMethods: IPaymentMethodToFundLeft[];
|
|
4409
|
+
lineItems: SlotsLineItemData[];
|
|
4410
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4362
4411
|
}
|
|
4363
|
-
export
|
|
4364
|
-
|
|
4365
|
-
|
|
4412
|
+
export interface IRemoveAddonsFinancialData {
|
|
4413
|
+
paymentMethods: IPaymentMethodToFundLeft[];
|
|
4414
|
+
lineItems: AddonsLineItemData[];
|
|
4415
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4366
4416
|
}
|
|
4367
|
-
export
|
|
4417
|
+
export interface ReservationData {
|
|
4418
|
+
id: number;
|
|
4419
|
+
reservationName: string;
|
|
4420
|
+
customerId: number;
|
|
4421
|
+
customerFirstName: string;
|
|
4422
|
+
customerLastName: string;
|
|
4423
|
+
spaces: SpaceInReservation[];
|
|
4424
|
+
startDate: string;
|
|
4425
|
+
endDate: string;
|
|
4426
|
+
price: number;
|
|
4427
|
+
status: ReservationStatusEnum;
|
|
4428
|
+
paymentStatus: PaymentStatusEnum;
|
|
4429
|
+
frequencies: FrequencyInReservation[];
|
|
4430
|
+
reservationType: ReservationTypeEnum;
|
|
4431
|
+
}
|
|
4432
|
+
export interface SpaceInReservation {
|
|
4433
|
+
reservationId: number;
|
|
4434
|
+
spaceId: number;
|
|
4435
|
+
spaceName: string;
|
|
4436
|
+
}
|
|
4437
|
+
export interface FrequencyInReservation {
|
|
4438
|
+
reservationId: number;
|
|
4439
|
+
frequency?: string;
|
|
4440
|
+
repeatEvery?: number;
|
|
4441
|
+
repeatOn?: number[];
|
|
4442
|
+
repeatEndDate?: string;
|
|
4443
|
+
}
|
|
4444
|
+
export interface FindReservationsByOrganizationIdFilters extends PaginationQuery {
|
|
4368
4445
|
resourcesIds?: string;
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4446
|
+
datesRange?: {
|
|
4447
|
+
startDate: string;
|
|
4448
|
+
endDate: string;
|
|
4449
|
+
};
|
|
4450
|
+
approvalStatuses?: string[];
|
|
4451
|
+
paymentStatuses?: string[];
|
|
4373
4452
|
customerName?: string;
|
|
4374
4453
|
}
|
|
4375
|
-
export
|
|
4454
|
+
export interface FindSlotsByFacilityIdFilters {
|
|
4376
4455
|
startDate: string;
|
|
4377
4456
|
endDate: string;
|
|
4378
4457
|
limit: number;
|
|
4458
|
+
resourcesIds?: number[];
|
|
4459
|
+
resourcesTypes?: ResourceTypeEnum[];
|
|
4379
4460
|
slotType?: SlotTypeEnum;
|
|
4461
|
+
activityTypes?: SportsEnum[];
|
|
4462
|
+
programTypes?: ProgramTypesEnum[];
|
|
4463
|
+
paymentStatuses?: ReservationPaymentStatusEnum[];
|
|
4464
|
+
reservationStatuses?: ReservationStatusEnum[];
|
|
4380
4465
|
includeBlocking?: boolean;
|
|
4381
4466
|
onlyActiveSessions?: boolean;
|
|
4382
4467
|
checkConflicts?: boolean;
|
|
4383
|
-
resourcesIds?: string;
|
|
4384
|
-
resourcesTypes?: string;
|
|
4385
|
-
programTypes?: string;
|
|
4386
|
-
paymentStatuses?: string;
|
|
4387
|
-
reservationStatuses?: string;
|
|
4388
|
-
activityTypes?: string;
|
|
4389
|
-
}
|
|
4390
|
-
export declare class getSlotsSlotCardDto {
|
|
4391
|
-
includeConflicts?: boolean;
|
|
4392
|
-
}
|
|
4393
|
-
export declare class getSlotFQueryParamsDto {
|
|
4394
|
-
addProduct?: boolean;
|
|
4395
|
-
}
|
|
4396
|
-
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
4397
|
-
reservationId: number;
|
|
4398
|
-
}
|
|
4399
|
-
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
4400
|
-
facilityId: number;
|
|
4401
|
-
}
|
|
4402
|
-
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
4403
|
-
segmentId: number;
|
|
4404
4468
|
}
|
|
4405
|
-
export
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
slot: SlotDto;
|
|
4413
|
-
addonIds?: number[];
|
|
4414
|
-
}
|
|
4415
|
-
export declare class AddSlotToSegmenResultDto {
|
|
4416
|
-
series: SeriesDto;
|
|
4417
|
-
slotTotalPrice: number;
|
|
4418
|
-
addonsTotalPrice: number;
|
|
4419
|
-
debug?: any;
|
|
4469
|
+
export interface PriceFields {
|
|
4470
|
+
unitPrice: string;
|
|
4471
|
+
price: string;
|
|
4472
|
+
totalTax: string;
|
|
4473
|
+
quantity: string;
|
|
4474
|
+
isTaxInclusive: boolean;
|
|
4475
|
+
currency: string;
|
|
4420
4476
|
}
|
|
4421
|
-
export
|
|
4422
|
-
|
|
4477
|
+
export interface LineItemPrice {
|
|
4478
|
+
unitPrice: number;
|
|
4479
|
+
unitTax: number;
|
|
4480
|
+
isTaxInclusive: boolean;
|
|
4481
|
+
unitPricePerHour: number;
|
|
4482
|
+
taxPerHour: number;
|
|
4483
|
+
quantity: number;
|
|
4484
|
+
currency: string;
|
|
4485
|
+
totalPrice: number;
|
|
4423
4486
|
}
|
|
4424
|
-
export
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4487
|
+
export interface CalendarSlotCard extends Slot {
|
|
4488
|
+
reservation: Reservation & {
|
|
4489
|
+
resources?: {
|
|
4490
|
+
id: number;
|
|
4491
|
+
name: string;
|
|
4492
|
+
}[];
|
|
4493
|
+
};
|
|
4494
|
+
invoice: Invoice;
|
|
4495
|
+
price: LineItemPrice;
|
|
4496
|
+
totalSlotsInSeries?: number;
|
|
4497
|
+
slotIndexInSeries?: number;
|
|
4428
4498
|
}
|
|
4429
|
-
|
|
4430
|
-
|
|
4499
|
+
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4500
|
+
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4501
|
+
export interface IInvoice extends IPartialInvoice {
|
|
4502
|
+
lineItemsCount: number;
|
|
4431
4503
|
}
|
|
4432
|
-
export
|
|
4504
|
+
export interface SingleReservation {
|
|
4505
|
+
id: number;
|
|
4433
4506
|
name: string;
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4507
|
+
organizationId: number;
|
|
4508
|
+
description: string;
|
|
4509
|
+
updatedAt: Date;
|
|
4510
|
+
privateNotes: string;
|
|
4511
|
+
publicNotes: string;
|
|
4512
|
+
approvalStatus: string;
|
|
4513
|
+
paymentStatus: PaymentStatusEnum;
|
|
4514
|
+
reservationType: ReservationTypeEnum;
|
|
4515
|
+
sports: number[];
|
|
4516
|
+
facilityId?: number;
|
|
4517
|
+
customerId: number;
|
|
4518
|
+
customer?: Customer;
|
|
4519
|
+
invoices?: IInvoice[];
|
|
4520
|
+
payments?: IPartialPayment[];
|
|
4521
|
+
addons?: Addon[];
|
|
4522
|
+
answers?: Answer[];
|
|
4523
|
+
series: Series[];
|
|
4524
|
+
segments?: Segment[];
|
|
4447
4525
|
}
|
|
4448
|
-
export
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
resourceIds: number[];
|
|
4453
|
-
sportId?: number;
|
|
4454
|
-
series: SeriesDto[];
|
|
4455
|
-
addonIds?: number[];
|
|
4456
|
-
publicNotesForSlots?: string;
|
|
4457
|
-
privateNotesForSlots?: string;
|
|
4526
|
+
export interface UpdateReservationResult {
|
|
4527
|
+
reservation: Reservation;
|
|
4528
|
+
invoice?: Invoice;
|
|
4529
|
+
debug?: any;
|
|
4458
4530
|
}
|
|
4459
|
-
export
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
endDate?: string;
|
|
4465
|
-
endTime?: string;
|
|
4531
|
+
export interface UpdateSlotPricesResult {
|
|
4532
|
+
reservation: ReservationDto;
|
|
4533
|
+
slots: SlotDto[];
|
|
4534
|
+
invoice: InvoiceDto;
|
|
4535
|
+
debug?: any;
|
|
4466
4536
|
}
|
|
4467
|
-
export
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
endDate?: string;
|
|
4472
|
-
endTime?: string;
|
|
4473
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4474
|
-
durationEndsAfter?: number;
|
|
4475
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4476
|
-
frequency: FrequencyEnum;
|
|
4477
|
-
repeatEvery?: number;
|
|
4478
|
-
repeatOn?: number[];
|
|
4479
|
-
repeatEndDate?: string;
|
|
4480
|
-
numberOccurrences?: number;
|
|
4481
|
-
maintenance?: MaintenanceDto[];
|
|
4482
|
-
slots?: SlotDto[];
|
|
4537
|
+
export interface UpdateSlotsAddonsResult {
|
|
4538
|
+
slots: SlotDto[];
|
|
4539
|
+
invoice: InvoiceDto;
|
|
4540
|
+
debug?: any;
|
|
4483
4541
|
}
|
|
4484
|
-
export
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4542
|
+
export interface ValidateEditItemsResult {
|
|
4543
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4544
|
+
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4545
|
+
originalInvoicePrice?: number;
|
|
4546
|
+
updatedInvoicePrice?: number;
|
|
4547
|
+
originalItemsPrice?: number;
|
|
4548
|
+
updatedItemsPrice?: number;
|
|
4549
|
+
priceChange?: number;
|
|
4550
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4551
|
+
editData?: EditItemsData;
|
|
4490
4552
|
}
|
|
4491
|
-
export
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
occurrence?: number;
|
|
4495
|
-
title: string;
|
|
4496
|
-
creatorId?: number;
|
|
4497
|
-
creatorType?: string;
|
|
4498
|
-
userCreatorId?: number;
|
|
4499
|
-
timezone?: string;
|
|
4500
|
-
publicNotes?: string;
|
|
4501
|
-
privateNotes?: string;
|
|
4502
|
-
slotType: SlotTypeEnum;
|
|
4503
|
-
product?: Product;
|
|
4504
|
-
priceOverrideMeta?: {
|
|
4505
|
-
unitPrice: number;
|
|
4506
|
-
quantity: number;
|
|
4507
|
-
totalPrice: number;
|
|
4508
|
-
};
|
|
4509
|
-
addonPriceOverrideMeta?: {
|
|
4510
|
-
[addonProductId: number]: {
|
|
4511
|
-
unitPrice: number;
|
|
4512
|
-
quantity: number;
|
|
4513
|
-
totalPrice: number;
|
|
4514
|
-
};
|
|
4515
|
-
};
|
|
4516
|
-
addonProducts?: Product[];
|
|
4517
|
-
segmentId?: number;
|
|
4518
|
-
seriesId?: number;
|
|
4519
|
-
eventId?: number;
|
|
4520
|
-
sportIds: number[];
|
|
4521
|
-
parentSlotId?: number;
|
|
4522
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4523
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4524
|
-
durationValue?: number;
|
|
4525
|
-
invoicId?: number;
|
|
4526
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4527
|
-
approvalStatus: ReservationStatusEnum;
|
|
4528
|
-
displayName?: string;
|
|
4529
|
-
internalName?: string;
|
|
4530
|
-
totalPrice?: number;
|
|
4531
|
-
relevantProducts?: Product[];
|
|
4532
|
-
maintenance?: MaintenanceDto[];
|
|
4533
|
-
maintenanceSlots?: SlotDto[];
|
|
4534
|
-
isPrivate: boolean;
|
|
4535
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4536
|
-
addons?: AddonDto[];
|
|
4537
|
-
addonsIds?: number[];
|
|
4553
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4554
|
+
slots: SlotDto[];
|
|
4555
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4538
4556
|
}
|
|
4539
|
-
export
|
|
4540
|
-
|
|
4541
|
-
resourceId: number;
|
|
4542
|
-
startDate: string;
|
|
4543
|
-
startTime: string;
|
|
4544
|
-
endDate: string;
|
|
4545
|
-
endTime: string;
|
|
4546
|
-
parentSlotId?: number;
|
|
4557
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4558
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4547
4559
|
}
|
|
4548
|
-
export
|
|
4549
|
-
|
|
4560
|
+
export interface EditSlotsRefundMetadata {
|
|
4561
|
+
lineItems: SlotsLineItemData[];
|
|
4562
|
+
refundAmount: number;
|
|
4550
4563
|
}
|
|
4551
|
-
export
|
|
4552
|
-
|
|
4564
|
+
export interface EditAddonsRefundMetadata {
|
|
4565
|
+
lineItems: AddonsLineItemData[];
|
|
4566
|
+
refundAmount: number;
|
|
4553
4567
|
}
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4568
|
+
export interface EditItemsRefundMetadata {
|
|
4569
|
+
lineItems: ReservationItemLineItemData[];
|
|
4570
|
+
refundAmount: number;
|
|
4557
4571
|
}
|
|
4558
|
-
export
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
spaceId: number;
|
|
4572
|
+
export interface EditItemsData {
|
|
4573
|
+
invoice?: Invoice;
|
|
4574
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4575
|
+
newLineItems?: LineItemDto[];
|
|
4563
4576
|
}
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
resourcePackageAmount: number;
|
|
4567
|
-
resourcePackagePrice: number;
|
|
4577
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4578
|
+
refundResult?: RefundResult;
|
|
4568
4579
|
}
|
|
4569
|
-
export
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
dayOfWeek: number;
|
|
4573
|
-
startTime: string;
|
|
4574
|
-
description: string;
|
|
4575
|
-
sport: number;
|
|
4576
|
-
price: number;
|
|
4577
|
-
resourcePackageId: number;
|
|
4578
|
-
resourcePackageAmount: number;
|
|
4579
|
-
bookedSessions: BookedSessionDto[];
|
|
4580
|
-
addons: AddonV1Dto[];
|
|
4580
|
+
export interface TimeSlotConflicts {
|
|
4581
|
+
timeSlot: TimeSlotDto;
|
|
4582
|
+
conflicts: Slot[];
|
|
4581
4583
|
}
|
|
4582
|
-
export
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
cashPayment: boolean;
|
|
4589
|
-
requestOnly: boolean;
|
|
4584
|
+
export interface AddonMetadata {
|
|
4585
|
+
productId: number;
|
|
4586
|
+
quantity: number;
|
|
4587
|
+
unitPrice: number;
|
|
4588
|
+
totalPrice: number;
|
|
4589
|
+
product?: Product;
|
|
4590
4590
|
}
|
|
4591
4591
|
export declare class ChangeRolePermissionsDto {
|
|
4592
4592
|
permissionIds: number[];
|
|
@@ -4598,6 +4598,12 @@ export declare class Permission extends BondBaseEntity {
|
|
|
4598
4598
|
name: string;
|
|
4599
4599
|
deletedAt?: Date;
|
|
4600
4600
|
}
|
|
4601
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4602
|
+
name: string;
|
|
4603
|
+
deletedAt?: Date;
|
|
4604
|
+
permissions: Permission[];
|
|
4605
|
+
usersRoles: UserRole[];
|
|
4606
|
+
}
|
|
4601
4607
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4602
4608
|
deletedAt?: Date;
|
|
4603
4609
|
userId: number;
|
|
@@ -4605,29 +4611,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4605
4611
|
role: Role;
|
|
4606
4612
|
user: User;
|
|
4607
4613
|
}
|
|
4608
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4609
|
-
name: string;
|
|
4610
|
-
deletedAt?: Date;
|
|
4611
|
-
permissions: Permission[];
|
|
4612
|
-
usersRoles: UserRole[];
|
|
4613
|
-
}
|
|
4614
4614
|
export declare class CloseShiftDto {
|
|
4615
4615
|
closingCashAmount: number;
|
|
4616
4616
|
}
|
|
4617
|
-
export declare class ShiftManagementClosingAmount {
|
|
4618
|
-
shiftId: number;
|
|
4619
|
-
managementClosingCashAmount: number;
|
|
4620
|
-
}
|
|
4621
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4622
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4623
|
-
}
|
|
4624
4617
|
export declare class FindShiftsByIdsDto {
|
|
4625
4618
|
shiftIds: number[];
|
|
4626
4619
|
}
|
|
4627
|
-
export declare class OpenShiftDto {
|
|
4628
|
-
openingCashAmount: number;
|
|
4629
|
-
stationId: number;
|
|
4630
|
-
}
|
|
4631
4620
|
export declare class FindShiftsFiltersDto {
|
|
4632
4621
|
statuses?: string;
|
|
4633
4622
|
stationIds?: string;
|
|
@@ -4648,6 +4637,17 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4648
4637
|
startDate?: Date;
|
|
4649
4638
|
endDate?: Date;
|
|
4650
4639
|
}
|
|
4640
|
+
export declare class ShiftManagementClosingAmount {
|
|
4641
|
+
shiftId: number;
|
|
4642
|
+
managementClosingCashAmount: number;
|
|
4643
|
+
}
|
|
4644
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4645
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4646
|
+
}
|
|
4647
|
+
export declare class OpenShiftDto {
|
|
4648
|
+
openingCashAmount: number;
|
|
4649
|
+
stationId: number;
|
|
4650
|
+
}
|
|
4651
4651
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4652
4652
|
stationId: number;
|
|
4653
4653
|
station?: Station;
|