@bondsports/types 0.0.187 → 0.0.188
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 +728 -727
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -27,12 +20,12 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
20
|
bookingDate: string;
|
|
28
21
|
bookingTime: string;
|
|
29
22
|
}
|
|
30
|
-
export declare
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
export declare class BasicActivityTimesDto {
|
|
24
|
+
dayOfWeek: number;
|
|
25
|
+
close: string;
|
|
26
|
+
open: string;
|
|
27
|
+
availabilityStartDate?: string;
|
|
28
|
+
availabilityEndDate?: string;
|
|
36
29
|
}
|
|
37
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
31
|
membershipId: number;
|
|
@@ -95,49 +88,6 @@ export declare class AddEditCustomerDto {
|
|
|
95
88
|
emergencyContactName?: string;
|
|
96
89
|
emergencyContactPhone?: string;
|
|
97
90
|
}
|
|
98
|
-
export declare class AddressDto {
|
|
99
|
-
city: string;
|
|
100
|
-
state: string;
|
|
101
|
-
country: string;
|
|
102
|
-
geo: number[];
|
|
103
|
-
}
|
|
104
|
-
export declare class OpeningTimeDto {
|
|
105
|
-
open: string;
|
|
106
|
-
close: string;
|
|
107
|
-
dayOfWeek: number;
|
|
108
|
-
}
|
|
109
|
-
export declare class CreateFacilityDto {
|
|
110
|
-
name: string;
|
|
111
|
-
sports: number[];
|
|
112
|
-
description?: string;
|
|
113
|
-
longDescription?: string;
|
|
114
|
-
info?: string;
|
|
115
|
-
address: AddressDto;
|
|
116
|
-
timezone: string;
|
|
117
|
-
amenities: number[];
|
|
118
|
-
openingTimes: OpeningTimeDto[];
|
|
119
|
-
resourcesIds?: number[];
|
|
120
|
-
}
|
|
121
|
-
export declare class UpdateFacilityDetailsDto {
|
|
122
|
-
name?: string;
|
|
123
|
-
description?: string;
|
|
124
|
-
longDescription?: string;
|
|
125
|
-
info?: string;
|
|
126
|
-
address?: AddressDto;
|
|
127
|
-
timezone?: string;
|
|
128
|
-
}
|
|
129
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
130
|
-
openingTimes: OpeningTimeDto[];
|
|
131
|
-
}
|
|
132
|
-
export declare class UpdateFacilitySportsDto {
|
|
133
|
-
sports: number[];
|
|
134
|
-
}
|
|
135
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
136
|
-
amenities: number[];
|
|
137
|
-
}
|
|
138
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
139
|
-
nameSearch?: string;
|
|
140
|
-
}
|
|
141
91
|
export declare class FindEventByIdDto {
|
|
142
92
|
eventId: number;
|
|
143
93
|
organizationId: number;
|
|
@@ -238,17 +188,55 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
238
188
|
isWaiverSigned?: string;
|
|
239
189
|
statuses?: string;
|
|
240
190
|
}
|
|
241
|
-
export declare
|
|
242
|
-
|
|
191
|
+
export declare enum EConfigurationKeys {
|
|
192
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
243
193
|
}
|
|
244
|
-
export declare
|
|
245
|
-
|
|
246
|
-
|
|
194
|
+
export declare enum EFailedPaymentReasons {
|
|
195
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
196
|
+
UNKNOWN = "unknown"
|
|
247
197
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
198
|
+
export declare class AddressDto {
|
|
199
|
+
city: string;
|
|
200
|
+
state: string;
|
|
201
|
+
country: string;
|
|
202
|
+
geo: number[];
|
|
203
|
+
}
|
|
204
|
+
export declare class OpeningTimeDto {
|
|
205
|
+
open: string;
|
|
206
|
+
close: string;
|
|
207
|
+
dayOfWeek: number;
|
|
208
|
+
}
|
|
209
|
+
export declare class CreateFacilityDto {
|
|
210
|
+
name: string;
|
|
211
|
+
sports: number[];
|
|
212
|
+
description?: string;
|
|
213
|
+
longDescription?: string;
|
|
214
|
+
info?: string;
|
|
215
|
+
address: AddressDto;
|
|
216
|
+
timezone: string;
|
|
217
|
+
amenities: number[];
|
|
218
|
+
openingTimes: OpeningTimeDto[];
|
|
219
|
+
resourcesIds?: number[];
|
|
220
|
+
}
|
|
221
|
+
export declare class UpdateFacilityDetailsDto {
|
|
222
|
+
name?: string;
|
|
223
|
+
description?: string;
|
|
224
|
+
longDescription?: string;
|
|
225
|
+
info?: string;
|
|
226
|
+
address?: AddressDto;
|
|
227
|
+
timezone?: string;
|
|
228
|
+
}
|
|
229
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
230
|
+
openingTimes: OpeningTimeDto[];
|
|
231
|
+
}
|
|
232
|
+
export declare class UpdateFacilitySportsDto {
|
|
233
|
+
sports: number[];
|
|
234
|
+
}
|
|
235
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
236
|
+
amenities: number[];
|
|
237
|
+
}
|
|
238
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
239
|
+
nameSearch?: string;
|
|
252
240
|
}
|
|
253
241
|
export declare class FindFamilyAccountsDto {
|
|
254
242
|
userId: number;
|
|
@@ -282,6 +270,18 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
282
270
|
userId: number;
|
|
283
271
|
familyAccountId: number;
|
|
284
272
|
}
|
|
273
|
+
export declare class FindOneParams {
|
|
274
|
+
id: number;
|
|
275
|
+
}
|
|
276
|
+
export declare class PaginationQuery {
|
|
277
|
+
page: number;
|
|
278
|
+
itemsPerPage: number;
|
|
279
|
+
}
|
|
280
|
+
export declare class PaginationRangeQuery {
|
|
281
|
+
startPage: number;
|
|
282
|
+
endPage: number;
|
|
283
|
+
itemsPerPage: number;
|
|
284
|
+
}
|
|
285
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
286
|
organizationId: number;
|
|
287
287
|
}
|
|
@@ -292,79 +292,6 @@ export declare class GetGlCodeDto {
|
|
|
292
292
|
createdAt: Date;
|
|
293
293
|
updatedAt: Date;
|
|
294
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
|
-
}
|
|
368
295
|
export declare class CreateMembershipDto {
|
|
369
296
|
organizationId: number;
|
|
370
297
|
name: string;
|
|
@@ -463,226 +390,96 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
390
|
discountValue?: number;
|
|
464
391
|
discountMethod?: DiscountMethodsEnum;
|
|
465
392
|
}
|
|
466
|
-
export declare class
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
export declare class FindPriceOfProductDto {
|
|
470
|
-
id: number;
|
|
471
|
-
userId: number;
|
|
472
|
-
resources: ResourceDto[];
|
|
473
|
-
}
|
|
474
|
-
export declare class FindPricesOfProductsDto {
|
|
475
|
-
products: FindPriceOfProductDto[];
|
|
476
|
-
answers: UserAnswersDto[];
|
|
477
|
-
}
|
|
478
|
-
export declare class FindPackageByResourceDto {
|
|
479
|
-
resourceType: ResourceNameTypeEnum;
|
|
480
|
-
resourceId: number;
|
|
481
|
-
}
|
|
482
|
-
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
483
|
-
organizationId: number;
|
|
393
|
+
export declare class FindByProgramSeasonIdDto {
|
|
394
|
+
seasonId: number;
|
|
484
395
|
}
|
|
485
|
-
export declare class
|
|
486
|
-
|
|
487
|
-
addOnsData?: ProductInPackage[];
|
|
488
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
396
|
+
export declare class CreateBulkDivisionsDto {
|
|
397
|
+
divisions: CreateDivisionDto[];
|
|
489
398
|
}
|
|
490
|
-
export declare class
|
|
399
|
+
export declare class CreateDivisionDto {
|
|
491
400
|
name: string;
|
|
401
|
+
ordinal?: number;
|
|
402
|
+
programSeasonId: number;
|
|
403
|
+
color: string;
|
|
404
|
+
isDefault: boolean;
|
|
492
405
|
}
|
|
493
|
-
export declare class
|
|
494
|
-
id?: number;
|
|
495
|
-
organizationId: number;
|
|
406
|
+
export declare class CreateGroupDto {
|
|
496
407
|
name: string;
|
|
497
|
-
quantity?: number;
|
|
498
|
-
isPublic: boolean;
|
|
499
|
-
startDate?: Date;
|
|
500
|
-
endDate?: Date;
|
|
501
408
|
description?: string;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
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;
|
|
409
|
+
status?: GroupStatusEnum;
|
|
410
|
+
maxCapacity?: number;
|
|
411
|
+
mainMediaId?: number;
|
|
412
|
+
minAgeYears?: number;
|
|
413
|
+
maxAgeYears?: number;
|
|
414
|
+
gender: GenderEnum;
|
|
415
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
416
|
+
sports: SportsEnum[];
|
|
417
|
+
questionnaires?: number[];
|
|
418
|
+
captainUserId?: number;
|
|
419
|
+
divisionId?: number;
|
|
568
420
|
}
|
|
569
|
-
export declare class
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
421
|
+
export declare class ConnectGroupToDivision {
|
|
422
|
+
groupId: number;
|
|
423
|
+
divisionId: number;
|
|
424
|
+
prevDivisionId: number;
|
|
573
425
|
}
|
|
574
|
-
export declare class
|
|
426
|
+
export declare class MoveUserInGroups {
|
|
575
427
|
userId: number;
|
|
576
|
-
|
|
577
|
-
|
|
428
|
+
groupId?: number;
|
|
429
|
+
prevGroupId?: number;
|
|
578
430
|
}
|
|
579
|
-
export declare class
|
|
431
|
+
export declare class SaveUserAsGroupCaptain {
|
|
432
|
+
groupId: number;
|
|
580
433
|
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
434
|
}
|
|
622
|
-
export declare class
|
|
623
|
-
|
|
624
|
-
|
|
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;
|
|
435
|
+
export declare class CreateTeamInviteDto {
|
|
436
|
+
emails: string[];
|
|
437
|
+
userCreatorId: number;
|
|
638
438
|
}
|
|
639
|
-
export declare class
|
|
640
|
-
|
|
439
|
+
export declare class TeamByIdDto {
|
|
440
|
+
teamId: number;
|
|
641
441
|
}
|
|
642
|
-
export declare class
|
|
643
|
-
|
|
644
|
-
name: string;
|
|
645
|
-
stationId?: number;
|
|
646
|
-
ordinal?: number;
|
|
442
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
443
|
+
inviteToken: string;
|
|
647
444
|
}
|
|
648
|
-
export declare class
|
|
649
|
-
|
|
445
|
+
export declare class JoinTeamDto {
|
|
446
|
+
userId: number;
|
|
447
|
+
inviteToken?: string;
|
|
650
448
|
}
|
|
651
|
-
export declare class
|
|
652
|
-
|
|
653
|
-
productType?: ProductTypesEnum;
|
|
654
|
-
name?: string;
|
|
655
|
-
stationId?: number;
|
|
656
|
-
ordinal?: number;
|
|
449
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
450
|
+
userId: number;
|
|
657
451
|
}
|
|
658
|
-
export
|
|
659
|
-
|
|
452
|
+
export interface IMoveSeason {
|
|
453
|
+
fromSeasonId: number;
|
|
454
|
+
toSeasonId: number;
|
|
660
455
|
}
|
|
661
|
-
export declare class
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
456
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
457
|
+
teamId?: number;
|
|
458
|
+
memberId?: number;
|
|
459
|
+
fromSeasonId: number;
|
|
460
|
+
toSeasonId: number;
|
|
461
|
+
toDivisionId?: number;
|
|
665
462
|
}
|
|
666
|
-
export declare class
|
|
667
|
-
|
|
668
|
-
price: number;
|
|
669
|
-
isFlatPrice: boolean;
|
|
670
|
-
isMandatory: boolean;
|
|
671
|
-
level: ProductPackageLevelEnum;
|
|
463
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
464
|
+
fileName: string;
|
|
672
465
|
}
|
|
673
|
-
export declare class
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
endTime: string;
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
679
471
|
}
|
|
680
|
-
export declare class
|
|
681
|
-
|
|
682
|
-
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
683
475
|
}
|
|
684
|
-
export declare class
|
|
685
|
-
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
686
483
|
}
|
|
687
484
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
688
485
|
programId: number;
|
|
@@ -875,24 +672,6 @@ export declare class MoveParticipantDto {
|
|
|
875
672
|
resourceId: number;
|
|
876
673
|
invoiceId: number;
|
|
877
674
|
}
|
|
878
|
-
export declare class CreateUpdateVariantsDto {
|
|
879
|
-
organizationId: number;
|
|
880
|
-
parentProductId: number;
|
|
881
|
-
variantTitles: VariantTitleDto[];
|
|
882
|
-
variants: VariantDto[];
|
|
883
|
-
}
|
|
884
|
-
export declare class VariantTitleDto {
|
|
885
|
-
titleName: string;
|
|
886
|
-
titleId: number;
|
|
887
|
-
}
|
|
888
|
-
export declare class VariantDto {
|
|
889
|
-
name: string;
|
|
890
|
-
price: number;
|
|
891
|
-
variantId: number;
|
|
892
|
-
currency: CurrencyEnum;
|
|
893
|
-
startDate: Date;
|
|
894
|
-
endDate: Date;
|
|
895
|
-
}
|
|
896
675
|
export declare class FindProgramsByOrganizationIdDto {
|
|
897
676
|
organizationId: number;
|
|
898
677
|
programType?: ProgramTypesEnum;
|
|
@@ -1053,52 +832,264 @@ export declare class UpdateSpaceDetailsDto {
|
|
|
1053
832
|
isAddon?: boolean;
|
|
1054
833
|
facilitiesIds: number[];
|
|
1055
834
|
}
|
|
1056
|
-
export declare class UpdateSpacePropertiesDto {
|
|
1057
|
-
properties: SpacePropertiesEnum;
|
|
1058
|
-
width?: number;
|
|
1059
|
-
length?: number;
|
|
1060
|
-
surface?: SurfacesEnum;
|
|
1061
|
-
ages?: ResourceAgesEnum;
|
|
835
|
+
export declare class UpdateSpacePropertiesDto {
|
|
836
|
+
properties: SpacePropertiesEnum;
|
|
837
|
+
width?: number;
|
|
838
|
+
length?: number;
|
|
839
|
+
surface?: SurfacesEnum;
|
|
840
|
+
ages?: ResourceAgesEnum;
|
|
841
|
+
}
|
|
842
|
+
export declare class UpdateSpaceTimesDto {
|
|
843
|
+
activityTimes: BasicActivityTimesDto[];
|
|
844
|
+
}
|
|
845
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
846
|
+
resourceGroupId?: number;
|
|
847
|
+
blockedResourcesIds?: number[];
|
|
848
|
+
}
|
|
849
|
+
export declare class SaveSpaceDependenciesDto {
|
|
850
|
+
blockedSpacesIds: number[];
|
|
851
|
+
parentSpaceId?: number;
|
|
852
|
+
}
|
|
853
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
854
|
+
spacesIds?: string;
|
|
855
|
+
futureHoursLimit?: number;
|
|
856
|
+
}
|
|
857
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
858
|
+
nameSearch?: string;
|
|
859
|
+
facilitiesIds?: string;
|
|
860
|
+
types?: string;
|
|
861
|
+
resourcesIds?: string;
|
|
862
|
+
}
|
|
863
|
+
export declare class StripeCustomerIdDto {
|
|
864
|
+
userId: number;
|
|
865
|
+
}
|
|
866
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
867
|
+
paymentMethodId: string;
|
|
868
|
+
}
|
|
869
|
+
export declare class AddACHTokenToCustomerDto {
|
|
870
|
+
publicToken: string;
|
|
871
|
+
accountId: string;
|
|
872
|
+
}
|
|
873
|
+
export declare class FindByProductIdDto {
|
|
874
|
+
productId: number;
|
|
875
|
+
}
|
|
876
|
+
export declare class FindPriceOfProductDto {
|
|
877
|
+
id: number;
|
|
878
|
+
userId: number;
|
|
879
|
+
resources: ResourceDto[];
|
|
880
|
+
}
|
|
881
|
+
export declare class FindPricesOfProductsDto {
|
|
882
|
+
products: FindPriceOfProductDto[];
|
|
883
|
+
answers: UserAnswersDto[];
|
|
884
|
+
}
|
|
885
|
+
export declare class FindPackageByResourceDto {
|
|
886
|
+
resourceType: ResourceNameTypeEnum;
|
|
887
|
+
resourceId: number;
|
|
888
|
+
}
|
|
889
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
890
|
+
organizationId: number;
|
|
891
|
+
}
|
|
892
|
+
export declare class CreateProductsDto {
|
|
893
|
+
products: CreateProductDto[];
|
|
894
|
+
addOnsData?: ProductInPackage[];
|
|
895
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
896
|
+
}
|
|
897
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
898
|
+
name: string;
|
|
899
|
+
}
|
|
900
|
+
export declare class CreateProductDto {
|
|
901
|
+
id?: number;
|
|
902
|
+
organizationId: number;
|
|
903
|
+
name: string;
|
|
904
|
+
quantity?: number;
|
|
905
|
+
isPublic: boolean;
|
|
906
|
+
startDate?: Date;
|
|
907
|
+
endDate?: Date;
|
|
908
|
+
description?: string;
|
|
909
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
910
|
+
resourcesIdsToApplyOn?: number[];
|
|
911
|
+
GL?: string;
|
|
912
|
+
prices: CreatePriceDto[];
|
|
913
|
+
downpayment?: number;
|
|
914
|
+
productType: ProductTypesEnum;
|
|
915
|
+
subProductType?: string;
|
|
916
|
+
defaultForResourceId?: number;
|
|
917
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
918
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
919
|
+
variantTitleIds?: number[];
|
|
920
|
+
variants?: VariantWithPrice[];
|
|
921
|
+
variantParentId?: number;
|
|
922
|
+
isAddon?: boolean;
|
|
923
|
+
isArchive?: boolean;
|
|
924
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
925
|
+
isProRated?: boolean;
|
|
926
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
927
|
+
isTaxInclusive?: boolean;
|
|
928
|
+
tax?: number;
|
|
929
|
+
sports?: number[];
|
|
930
|
+
durationMinutes?: number;
|
|
931
|
+
durationDays?: number;
|
|
932
|
+
forms?: number[];
|
|
933
|
+
isForAllCustomers?: boolean;
|
|
934
|
+
membershipsAvailableFor?: number[];
|
|
935
|
+
customersAvailableFor?: number[];
|
|
936
|
+
addons?: createRentalProductAddonDto[];
|
|
937
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
938
|
+
}
|
|
939
|
+
export declare class VariantWithPrice {
|
|
940
|
+
variantIds: number[];
|
|
941
|
+
price: CreatePriceDto[];
|
|
942
|
+
}
|
|
943
|
+
export declare class CreatePriceDto {
|
|
944
|
+
id?: number;
|
|
945
|
+
price: number;
|
|
946
|
+
currency: CurrencyEnum;
|
|
947
|
+
name: string;
|
|
948
|
+
startDate?: Date;
|
|
949
|
+
endDate?: Date;
|
|
950
|
+
discountValue?: number;
|
|
951
|
+
discountMethod?: DiscountMethodsEnum;
|
|
952
|
+
isDefaultPriceForProduct?: boolean;
|
|
953
|
+
}
|
|
954
|
+
export declare class CreatePackageDto {
|
|
955
|
+
parentProductId: number;
|
|
956
|
+
productsData?: ProductInPackage[];
|
|
957
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
958
|
+
}
|
|
959
|
+
export declare class CreatePackageToResourceDto {
|
|
960
|
+
resourceId: number;
|
|
961
|
+
resourceType: ResourceNameTypeEnum;
|
|
962
|
+
isCreateToChildProducts: boolean;
|
|
963
|
+
productsData: ProductInPackage[];
|
|
964
|
+
}
|
|
965
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
966
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
967
|
+
amountInPackage?: number;
|
|
968
|
+
level?: ProductPackageLevelEnum;
|
|
969
|
+
}
|
|
970
|
+
export declare class ExistingProductToPackageDto {
|
|
971
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
972
|
+
id: number;
|
|
973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
974
|
+
level?: ProductPackageLevelEnum;
|
|
975
|
+
}
|
|
976
|
+
export declare class ConnectProductResourceDto {
|
|
977
|
+
productId: number;
|
|
978
|
+
resourceType: ResourceNameTypeEnum;
|
|
979
|
+
resourceIds: number[];
|
|
980
|
+
}
|
|
981
|
+
export declare class ReturnRequiredProductsDto {
|
|
982
|
+
userId: number;
|
|
983
|
+
productId: number;
|
|
984
|
+
redeemRelevantDate?: string;
|
|
985
|
+
}
|
|
986
|
+
export declare class FindByProductUserIdsDto {
|
|
987
|
+
userId: number;
|
|
988
|
+
organizationId: number;
|
|
989
|
+
}
|
|
990
|
+
export declare class AddRequiredProductsDto {
|
|
991
|
+
productId: number;
|
|
992
|
+
requiredProductIds: number[];
|
|
993
|
+
}
|
|
994
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
995
|
+
productIds?: number[];
|
|
996
|
+
includePrices?: boolean;
|
|
997
|
+
productType?: ProductTypesEnum;
|
|
998
|
+
includeAddons?: string;
|
|
999
|
+
}
|
|
1000
|
+
export declare class GetByOrganizationIdDto {
|
|
1001
|
+
organizationId?: number;
|
|
1002
|
+
}
|
|
1003
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
1004
|
+
invoiceId?: number;
|
|
1005
|
+
}
|
|
1006
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
1007
|
+
productIds?: string;
|
|
1008
|
+
includePrices?: boolean;
|
|
1009
|
+
productType?: string;
|
|
1010
|
+
productSubType?: string;
|
|
1011
|
+
search?: string;
|
|
1012
|
+
includeAddons?: boolean;
|
|
1013
|
+
includeArchived?: boolean;
|
|
1014
|
+
includeAllData?: boolean;
|
|
1015
|
+
resourceIds?: string;
|
|
1016
|
+
sports?: string;
|
|
1017
|
+
}
|
|
1018
|
+
export declare class GetAllVariantTitlesDto {
|
|
1019
|
+
organizationId: number;
|
|
1020
|
+
}
|
|
1021
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
1022
|
+
organizationId: number;
|
|
1023
|
+
}
|
|
1024
|
+
export declare class CreateVariantTitleDto {
|
|
1025
|
+
organizationId: number;
|
|
1026
|
+
title: string;
|
|
1027
|
+
variants: string[];
|
|
1028
|
+
}
|
|
1029
|
+
export declare class UpdateVariantTitleDto {
|
|
1030
|
+
organizationId: number;
|
|
1031
|
+
titleId: number;
|
|
1032
|
+
title: string;
|
|
1033
|
+
variants: string[];
|
|
1034
|
+
}
|
|
1035
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
1036
|
+
customerId: number;
|
|
1062
1037
|
}
|
|
1063
|
-
export declare class
|
|
1064
|
-
|
|
1038
|
+
export declare class GetExtraProductDataDto {
|
|
1039
|
+
isPublic?: boolean;
|
|
1040
|
+
isGetByChildResources?: boolean;
|
|
1041
|
+
isGetEntitlePricing?: boolean;
|
|
1042
|
+
isGetAddOns?: boolean;
|
|
1043
|
+
includeResources?: boolean;
|
|
1044
|
+
includeArchived?: boolean;
|
|
1065
1045
|
}
|
|
1066
|
-
export declare class
|
|
1067
|
-
|
|
1068
|
-
blockedResourcesIds?: number[];
|
|
1046
|
+
export declare class GetBySessionType {
|
|
1047
|
+
sessionType: 'event' | 'segment';
|
|
1069
1048
|
}
|
|
1070
|
-
export declare class
|
|
1071
|
-
|
|
1072
|
-
|
|
1049
|
+
export declare class CreateSubcategoryDto {
|
|
1050
|
+
productType: ProductTypesEnum;
|
|
1051
|
+
name: string;
|
|
1052
|
+
stationId?: number;
|
|
1053
|
+
ordinal?: number;
|
|
1073
1054
|
}
|
|
1074
|
-
export declare class
|
|
1075
|
-
|
|
1076
|
-
futureHoursLimit?: number;
|
|
1055
|
+
export declare class CreateSubcategoriesDto {
|
|
1056
|
+
subcategories: CreateSubcategoryDto[];
|
|
1077
1057
|
}
|
|
1078
|
-
export declare class
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1058
|
+
export declare class UpdateSubcategoryDto {
|
|
1059
|
+
id: number;
|
|
1060
|
+
productType?: ProductTypesEnum;
|
|
1061
|
+
name?: string;
|
|
1062
|
+
stationId?: number;
|
|
1063
|
+
ordinal?: number;
|
|
1083
1064
|
}
|
|
1084
|
-
export declare class
|
|
1085
|
-
|
|
1065
|
+
export declare class GetSubcategoryDto {
|
|
1066
|
+
stationId?: number;
|
|
1086
1067
|
}
|
|
1087
|
-
export declare class
|
|
1088
|
-
|
|
1068
|
+
export declare class SetStationSubcategoriesDto {
|
|
1069
|
+
stationId: number;
|
|
1070
|
+
subcategoryIds?: number[];
|
|
1071
|
+
categories?: string[];
|
|
1089
1072
|
}
|
|
1090
|
-
export declare class
|
|
1091
|
-
|
|
1092
|
-
|
|
1073
|
+
export declare class createRentalProductAddonDto {
|
|
1074
|
+
productId: number;
|
|
1075
|
+
price: number;
|
|
1076
|
+
isFlatPrice: boolean;
|
|
1077
|
+
isMandatory: boolean;
|
|
1078
|
+
level: ProductPackageLevelEnum;
|
|
1093
1079
|
}
|
|
1094
|
-
export declare class
|
|
1095
|
-
|
|
1080
|
+
export declare class createProductAvailabilityTimesDto {
|
|
1081
|
+
availabilityStartDate?: string;
|
|
1082
|
+
availabilityEndDate?: string;
|
|
1083
|
+
daysOfWeek: number[];
|
|
1084
|
+
startTime: string;
|
|
1085
|
+
endTime: string;
|
|
1096
1086
|
}
|
|
1097
|
-
export declare class
|
|
1098
|
-
|
|
1087
|
+
export declare class createResourceDto {
|
|
1088
|
+
resourceId: number;
|
|
1089
|
+
resourceType: ResourceNameTypeEnum;
|
|
1099
1090
|
}
|
|
1100
|
-
export declare class
|
|
1101
|
-
|
|
1091
|
+
export declare class archiveDto {
|
|
1092
|
+
isArchive: boolean;
|
|
1102
1093
|
}
|
|
1103
1094
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1104
1095
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1137,17 +1128,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1137
1128
|
geo: any;
|
|
1138
1129
|
deletedAt?: Date;
|
|
1139
1130
|
}
|
|
1140
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1141
|
-
questionnaireId: number;
|
|
1142
|
-
userId?: number;
|
|
1143
|
-
answers: Answer[];
|
|
1144
|
-
questionnaire: Questionnaires;
|
|
1145
|
-
}
|
|
1146
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1147
|
-
userId: number | null;
|
|
1148
|
-
metadata: object | null;
|
|
1149
|
-
athleteSports: AthleteSports[];
|
|
1150
|
-
}
|
|
1151
1131
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1152
1132
|
questionId: number;
|
|
1153
1133
|
question?: Questions;
|
|
@@ -1161,6 +1141,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1161
1141
|
metaData: any | null;
|
|
1162
1142
|
questionText: string | null;
|
|
1163
1143
|
}
|
|
1144
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1145
|
+
questionnaireId: number;
|
|
1146
|
+
userId?: number;
|
|
1147
|
+
answers: Answer[];
|
|
1148
|
+
questionnaire: Questionnaires;
|
|
1149
|
+
}
|
|
1150
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1151
|
+
userId: number | null;
|
|
1152
|
+
metadata: object | null;
|
|
1153
|
+
athleteSports: AthleteSports[];
|
|
1154
|
+
}
|
|
1164
1155
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1165
1156
|
athleteId: number | null;
|
|
1166
1157
|
sports: number | null;
|
|
@@ -1224,6 +1215,15 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1224
1215
|
userCreatorId: number | null;
|
|
1225
1216
|
ownerId: number | null;
|
|
1226
1217
|
}
|
|
1218
|
+
export declare class FindByUserIdDto {
|
|
1219
|
+
userId: number;
|
|
1220
|
+
}
|
|
1221
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1222
|
+
familyAccountId?: number;
|
|
1223
|
+
}
|
|
1224
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1225
|
+
organizationId: number;
|
|
1226
|
+
}
|
|
1227
1227
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1228
1228
|
creditAmount: number;
|
|
1229
1229
|
paymentProcessorId: string;
|
|
@@ -1400,6 +1400,10 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1400
1400
|
facilityId: number;
|
|
1401
1401
|
resourceId: number;
|
|
1402
1402
|
}
|
|
1403
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1404
|
+
name: string | null;
|
|
1405
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1406
|
+
}
|
|
1403
1407
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1404
1408
|
userId: number;
|
|
1405
1409
|
invoiceId: number;
|
|
@@ -1414,26 +1418,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1414
1418
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1415
1419
|
code: string;
|
|
1416
1420
|
}
|
|
1417
|
-
export declare class Group extends BondBaseEntity {
|
|
1418
|
-
name: string;
|
|
1419
|
-
description?: string;
|
|
1420
|
-
status: GroupStatusEnum;
|
|
1421
|
-
maxCapacity?: number;
|
|
1422
|
-
mainMediaId?: number;
|
|
1423
|
-
minAgeYears?: number;
|
|
1424
|
-
maxAgeYears?: number;
|
|
1425
|
-
gender: GenderEnum;
|
|
1426
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1427
|
-
sports: SportsEnum[];
|
|
1428
|
-
questionnaires?: number[];
|
|
1429
|
-
captainUserId?: number;
|
|
1430
|
-
members: ISeasonAttendeeInfo[];
|
|
1431
|
-
users: User[];
|
|
1432
|
-
}
|
|
1433
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1434
|
-
name: string | null;
|
|
1435
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1436
|
-
}
|
|
1437
1421
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1438
1422
|
groupId: number;
|
|
1439
1423
|
itemId: number;
|
|
@@ -1487,14 +1471,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1487
1471
|
mailParams?: any;
|
|
1488
1472
|
memo?: string;
|
|
1489
1473
|
}
|
|
1490
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1491
|
-
invoiceId: number;
|
|
1492
|
-
paymentId: number;
|
|
1493
|
-
invoice: Invoice;
|
|
1494
|
-
payment: Payment;
|
|
1495
|
-
paidAmount?: number;
|
|
1496
|
-
currency: CurrencyEnum;
|
|
1497
|
-
}
|
|
1498
1474
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1499
1475
|
content: string;
|
|
1500
1476
|
creatingUserId: number;
|
|
@@ -1504,6 +1480,40 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1504
1480
|
invoiceId: number;
|
|
1505
1481
|
invoice: Invoice;
|
|
1506
1482
|
}
|
|
1483
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1484
|
+
invoiceId: number;
|
|
1485
|
+
paymentId: number;
|
|
1486
|
+
invoice: Invoice;
|
|
1487
|
+
payment: Payment;
|
|
1488
|
+
paidAmount?: number;
|
|
1489
|
+
currency: CurrencyEnum;
|
|
1490
|
+
}
|
|
1491
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1492
|
+
name: string | null;
|
|
1493
|
+
description: string | null;
|
|
1494
|
+
allowBookingRequest: boolean | null;
|
|
1495
|
+
addressName: string | null;
|
|
1496
|
+
shortDescription: string | null;
|
|
1497
|
+
waiverDoc: string | null;
|
|
1498
|
+
bookingStateStatus: number | null;
|
|
1499
|
+
timezone: string | null;
|
|
1500
|
+
shortUrl: string | null;
|
|
1501
|
+
leagueType: string | null;
|
|
1502
|
+
addressId: number | null;
|
|
1503
|
+
sportConfigData: any | null;
|
|
1504
|
+
creatorId: number | null;
|
|
1505
|
+
creatorType: string | null;
|
|
1506
|
+
userCreatorId: number | null;
|
|
1507
|
+
ownerId: number | null;
|
|
1508
|
+
sports: number[] | null;
|
|
1509
|
+
mainMediaId: number | null;
|
|
1510
|
+
publishedDate: Date | null;
|
|
1511
|
+
isPublished: boolean | null;
|
|
1512
|
+
isVerified: boolean | null;
|
|
1513
|
+
questionnaireId: number | null;
|
|
1514
|
+
logo?: Media;
|
|
1515
|
+
seasons: LeagueSeason[];
|
|
1516
|
+
}
|
|
1507
1517
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1508
1518
|
leagueId: number | null;
|
|
1509
1519
|
name: string | null;
|
|
@@ -1548,41 +1558,21 @@ export declare class LeagueSeasonRelations {
|
|
|
1548
1558
|
league?: boolean;
|
|
1549
1559
|
facilities?: boolean;
|
|
1550
1560
|
}
|
|
1551
|
-
export declare class
|
|
1552
|
-
name: string
|
|
1553
|
-
description
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
userCreatorId: number | null;
|
|
1567
|
-
ownerId: number | null;
|
|
1568
|
-
sports: number[] | null;
|
|
1569
|
-
mainMediaId: number | null;
|
|
1570
|
-
publishedDate: Date | null;
|
|
1571
|
-
isPublished: boolean | null;
|
|
1572
|
-
isVerified: boolean | null;
|
|
1573
|
-
questionnaireId: number | null;
|
|
1574
|
-
logo?: Media;
|
|
1575
|
-
seasons: LeagueSeason[];
|
|
1576
|
-
}
|
|
1577
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1578
|
-
invoiceId: number;
|
|
1579
|
-
paymentId: number;
|
|
1580
|
-
lineItemId: number;
|
|
1581
|
-
paidAmount: number;
|
|
1582
|
-
unitPaidAmount: number;
|
|
1583
|
-
currency: CurrencyEnum;
|
|
1584
|
-
payment: Payment;
|
|
1585
|
-
lineItem: LineItems;
|
|
1561
|
+
export declare class Group extends BondBaseEntity {
|
|
1562
|
+
name: string;
|
|
1563
|
+
description?: string;
|
|
1564
|
+
status: GroupStatusEnum;
|
|
1565
|
+
maxCapacity?: number;
|
|
1566
|
+
mainMediaId?: number;
|
|
1567
|
+
minAgeYears?: number;
|
|
1568
|
+
maxAgeYears?: number;
|
|
1569
|
+
gender: GenderEnum;
|
|
1570
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1571
|
+
sports: SportsEnum[];
|
|
1572
|
+
questionnaires?: number[];
|
|
1573
|
+
captainUserId?: number;
|
|
1574
|
+
members: ISeasonAttendeeInfo[];
|
|
1575
|
+
users: User[];
|
|
1586
1576
|
}
|
|
1587
1577
|
export declare class LineItems extends BondBaseEntity {
|
|
1588
1578
|
constructor();
|
|
@@ -1655,6 +1645,25 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1655
1645
|
user: User;
|
|
1656
1646
|
userId: number | null;
|
|
1657
1647
|
}
|
|
1648
|
+
export declare class Media extends BondBaseEntity {
|
|
1649
|
+
url: string;
|
|
1650
|
+
name: string | null;
|
|
1651
|
+
title: string | null;
|
|
1652
|
+
mediaKey: string | null;
|
|
1653
|
+
description: string | null;
|
|
1654
|
+
provider: string | null;
|
|
1655
|
+
mediaType: number;
|
|
1656
|
+
fileType: string | null;
|
|
1657
|
+
isDefault: boolean | null;
|
|
1658
|
+
creatorId: number | null;
|
|
1659
|
+
creatorType: string | null;
|
|
1660
|
+
userCreatorId: number | null;
|
|
1661
|
+
ownerId: number | null;
|
|
1662
|
+
createdBy: number | null;
|
|
1663
|
+
users: User[];
|
|
1664
|
+
programs: Program[];
|
|
1665
|
+
memberships: Membership[];
|
|
1666
|
+
}
|
|
1658
1667
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1659
1668
|
name: string;
|
|
1660
1669
|
description?: string;
|
|
@@ -1683,6 +1692,16 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1683
1692
|
isAutoRenew?: boolean;
|
|
1684
1693
|
purchasedResources: PurchasedResource[];
|
|
1685
1694
|
}
|
|
1695
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1696
|
+
invoiceId: number;
|
|
1697
|
+
paymentId: number;
|
|
1698
|
+
lineItemId: number;
|
|
1699
|
+
paidAmount: number;
|
|
1700
|
+
unitPaidAmount: number;
|
|
1701
|
+
currency: CurrencyEnum;
|
|
1702
|
+
payment: Payment;
|
|
1703
|
+
lineItem: LineItems;
|
|
1704
|
+
}
|
|
1686
1705
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1687
1706
|
membership: Membership;
|
|
1688
1707
|
membershipId: number;
|
|
@@ -1703,24 +1722,11 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1703
1722
|
cancellationStatus?: CancellationStatusEnum;
|
|
1704
1723
|
isImported?: boolean;
|
|
1705
1724
|
}
|
|
1706
|
-
export declare class
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
description: string | null;
|
|
1712
|
-
provider: string | null;
|
|
1713
|
-
mediaType: number;
|
|
1714
|
-
fileType: string | null;
|
|
1715
|
-
isDefault: boolean | null;
|
|
1716
|
-
creatorId: number | null;
|
|
1717
|
-
creatorType: string | null;
|
|
1718
|
-
userCreatorId: number | null;
|
|
1719
|
-
ownerId: number | null;
|
|
1720
|
-
createdBy: number | null;
|
|
1721
|
-
users: User[];
|
|
1722
|
-
programs: Program[];
|
|
1723
|
-
memberships: Membership[];
|
|
1725
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1726
|
+
email: string | null;
|
|
1727
|
+
notificationType: NotificationTypeEnum | null;
|
|
1728
|
+
resourceId: number | null;
|
|
1729
|
+
resourceType: string | null;
|
|
1724
1730
|
}
|
|
1725
1731
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1726
1732
|
id: number;
|
|
@@ -1733,31 +1739,14 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1733
1739
|
deletedAt?: Date;
|
|
1734
1740
|
facility: Facility;
|
|
1735
1741
|
}
|
|
1736
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1737
|
-
email: string | null;
|
|
1738
|
-
notificationType: NotificationTypeEnum | null;
|
|
1739
|
-
resourceId: number | null;
|
|
1740
|
-
resourceType: string | null;
|
|
1741
|
-
}
|
|
1742
1742
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1743
1743
|
organizationId: number;
|
|
1744
1744
|
}
|
|
1745
|
-
export declare class
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
percentage: number;
|
|
1751
|
-
quantity: number;
|
|
1752
|
-
duration: number;
|
|
1753
|
-
organizationId: number;
|
|
1754
|
-
creatorId: number;
|
|
1755
|
-
creatorType: string;
|
|
1756
|
-
userCreatorId: number;
|
|
1757
|
-
ownerId: number;
|
|
1758
|
-
addon: boolean;
|
|
1759
|
-
isMandatory: boolean;
|
|
1760
|
-
productId: number;
|
|
1745
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1746
|
+
token: string | null;
|
|
1747
|
+
userId: number | null;
|
|
1748
|
+
validUntil: Date | null;
|
|
1749
|
+
active: boolean | null;
|
|
1761
1750
|
}
|
|
1762
1751
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1763
1752
|
price: number;
|
|
@@ -1786,12 +1775,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1786
1775
|
refundReasonId?: number;
|
|
1787
1776
|
refundNote?: string;
|
|
1788
1777
|
}
|
|
1789
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1790
|
-
token: string | null;
|
|
1791
|
-
userId: number | null;
|
|
1792
|
-
validUntil: Date | null;
|
|
1793
|
-
active: boolean | null;
|
|
1794
|
-
}
|
|
1795
1778
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1796
1779
|
failureIndex: number;
|
|
1797
1780
|
waitingDays: number;
|
|
@@ -1802,6 +1785,23 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1802
1785
|
reason: EFailedPaymentReasons;
|
|
1803
1786
|
errorMessage: string;
|
|
1804
1787
|
}
|
|
1788
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1789
|
+
name?: string;
|
|
1790
|
+
description?: string;
|
|
1791
|
+
price: number;
|
|
1792
|
+
status: string;
|
|
1793
|
+
percentage: number;
|
|
1794
|
+
quantity: number;
|
|
1795
|
+
duration: number;
|
|
1796
|
+
organizationId: number;
|
|
1797
|
+
creatorId: number;
|
|
1798
|
+
creatorType: string;
|
|
1799
|
+
userCreatorId: number;
|
|
1800
|
+
ownerId: number;
|
|
1801
|
+
addon: boolean;
|
|
1802
|
+
isMandatory: boolean;
|
|
1803
|
+
productId: number;
|
|
1804
|
+
}
|
|
1805
1805
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1806
1806
|
content: string;
|
|
1807
1807
|
creatingUserId: number;
|
|
@@ -1902,6 +1902,26 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1902
1902
|
activityTimes: ActivityTimes[];
|
|
1903
1903
|
purchasedResources: PurchasedResource[];
|
|
1904
1904
|
}
|
|
1905
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1906
|
+
productId: number;
|
|
1907
|
+
maxMonths?: number;
|
|
1908
|
+
dayOfMonth?: number;
|
|
1909
|
+
name: string;
|
|
1910
|
+
deletedAt?: Date;
|
|
1911
|
+
schedule: PaymentPlanSchedule[];
|
|
1912
|
+
product?: Product;
|
|
1913
|
+
}
|
|
1914
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1915
|
+
productId: number;
|
|
1916
|
+
resourceId: number;
|
|
1917
|
+
resourceType: ResourceNameTypeEnum;
|
|
1918
|
+
deletedAt?: Date;
|
|
1919
|
+
programSeason: ProgramSeason;
|
|
1920
|
+
event: Event;
|
|
1921
|
+
product: Product;
|
|
1922
|
+
productPackages: ProductPackage[];
|
|
1923
|
+
resourceName?: string;
|
|
1924
|
+
}
|
|
1905
1925
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1906
1926
|
parentProductId: number;
|
|
1907
1927
|
childProductId: number;
|
|
@@ -1917,15 +1937,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1917
1937
|
durationDays?: number;
|
|
1918
1938
|
level?: ProductPackageLevelEnum;
|
|
1919
1939
|
}
|
|
1920
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1921
|
-
productId: number;
|
|
1922
|
-
maxMonths?: number;
|
|
1923
|
-
dayOfMonth?: number;
|
|
1924
|
-
name: string;
|
|
1925
|
-
deletedAt?: Date;
|
|
1926
|
-
schedule: PaymentPlanSchedule[];
|
|
1927
|
-
product?: Product;
|
|
1928
|
-
}
|
|
1929
1940
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1930
1941
|
productId: number;
|
|
1931
1942
|
variantTitleId: number;
|
|
@@ -1934,24 +1945,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1934
1945
|
productId: number;
|
|
1935
1946
|
variantId: number;
|
|
1936
1947
|
}
|
|
1937
|
-
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1938
|
-
productId: number;
|
|
1939
|
-
resourceId: number;
|
|
1940
|
-
resourceType: ResourceNameTypeEnum;
|
|
1941
|
-
deletedAt?: Date;
|
|
1942
|
-
programSeason: ProgramSeason;
|
|
1943
|
-
event: Event;
|
|
1944
|
-
product: Product;
|
|
1945
|
-
productPackages: ProductPackage[];
|
|
1946
|
-
resourceName?: string;
|
|
1947
|
-
}
|
|
1948
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1949
|
-
productId: number;
|
|
1950
|
-
customerId: number;
|
|
1951
|
-
customer: Customer;
|
|
1952
|
-
deletedAt?: Date;
|
|
1953
|
-
product: Product;
|
|
1954
|
-
}
|
|
1955
1948
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1956
1949
|
productId: number;
|
|
1957
1950
|
userId: number;
|
|
@@ -1999,28 +1992,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1999
1992
|
program: Program;
|
|
2000
1993
|
deletedAt?: Date;
|
|
2001
1994
|
}
|
|
2002
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2003
|
-
productUserId: number;
|
|
2004
|
-
resourceId: number;
|
|
2005
|
-
resourceType: ResourceNameTypeEnum;
|
|
2006
|
-
status: PurchasedResourceStatusEnum;
|
|
2007
|
-
startDate?: string;
|
|
2008
|
-
startTime?: string;
|
|
2009
|
-
endDate?: string;
|
|
2010
|
-
endTime?: string;
|
|
2011
|
-
productUser?: ProductsUsers;
|
|
2012
|
-
lineItem?: LineItems;
|
|
2013
|
-
eventAttendee?: EventAttendee;
|
|
2014
|
-
seasonAttendee?: SeasonAttendee;
|
|
2015
|
-
leagueAttendee?: SeasonPool;
|
|
2016
|
-
membership?: Membership;
|
|
2017
|
-
program?: Program;
|
|
2018
|
-
programSeason?: ProgramSeason;
|
|
2019
|
-
leagueSeason?: LeagueSeason;
|
|
2020
|
-
space?: Resource;
|
|
2021
|
-
product?: Product;
|
|
2022
|
-
event?: Event;
|
|
2023
|
-
}
|
|
2024
1995
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
2025
1996
|
programId: number;
|
|
2026
1997
|
name: string;
|
|
@@ -2076,6 +2047,35 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2076
2047
|
facility: Facility;
|
|
2077
2048
|
purchasedResources: PurchasedResource[];
|
|
2078
2049
|
}
|
|
2050
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2051
|
+
productId: number;
|
|
2052
|
+
customerId: number;
|
|
2053
|
+
customer: Customer;
|
|
2054
|
+
deletedAt?: Date;
|
|
2055
|
+
product: Product;
|
|
2056
|
+
}
|
|
2057
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2058
|
+
productUserId: number;
|
|
2059
|
+
resourceId: number;
|
|
2060
|
+
resourceType: ResourceNameTypeEnum;
|
|
2061
|
+
status: PurchasedResourceStatusEnum;
|
|
2062
|
+
startDate?: string;
|
|
2063
|
+
startTime?: string;
|
|
2064
|
+
endDate?: string;
|
|
2065
|
+
endTime?: string;
|
|
2066
|
+
productUser?: ProductsUsers;
|
|
2067
|
+
lineItem?: LineItems;
|
|
2068
|
+
eventAttendee?: EventAttendee;
|
|
2069
|
+
seasonAttendee?: SeasonAttendee;
|
|
2070
|
+
leagueAttendee?: SeasonPool;
|
|
2071
|
+
membership?: Membership;
|
|
2072
|
+
program?: Program;
|
|
2073
|
+
programSeason?: ProgramSeason;
|
|
2074
|
+
leagueSeason?: LeagueSeason;
|
|
2075
|
+
space?: Resource;
|
|
2076
|
+
product?: Product;
|
|
2077
|
+
event?: Event;
|
|
2078
|
+
}
|
|
2079
2079
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2080
2080
|
title: string | null;
|
|
2081
2081
|
answerTitle: AnswerTitle;
|
|
@@ -2142,13 +2142,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2142
2142
|
publicNotes?: string;
|
|
2143
2143
|
slots?: Slot[];
|
|
2144
2144
|
}
|
|
2145
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2146
|
-
name: string;
|
|
2147
|
-
facilityId: number;
|
|
2148
|
-
parentSlotId: number;
|
|
2149
|
-
childrenSlotIds: number[];
|
|
2150
|
-
deletedAt?: Date;
|
|
2151
|
-
}
|
|
2152
2145
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2153
2146
|
name: string;
|
|
2154
2147
|
resourceType: ResourceTypeEnum;
|
|
@@ -2177,6 +2170,21 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2177
2170
|
purchasedResources: PurchasedResource[];
|
|
2178
2171
|
linkSEO: string;
|
|
2179
2172
|
}
|
|
2173
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2174
|
+
name: string;
|
|
2175
|
+
facilityId: number;
|
|
2176
|
+
parentSlotId: number;
|
|
2177
|
+
childrenSlotIds: number[];
|
|
2178
|
+
deletedAt?: Date;
|
|
2179
|
+
}
|
|
2180
|
+
export declare class School extends BondBaseEntity {
|
|
2181
|
+
name: string | null;
|
|
2182
|
+
alias: string[] | null;
|
|
2183
|
+
addressId: number | null;
|
|
2184
|
+
website: string | null;
|
|
2185
|
+
phone: string | null;
|
|
2186
|
+
dataId: number | null;
|
|
2187
|
+
}
|
|
2180
2188
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2181
2189
|
status: RequestStatusEnum;
|
|
2182
2190
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2212,14 +2220,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2212
2220
|
purchasedResource: PurchasedResource;
|
|
2213
2221
|
season: LeagueSeason;
|
|
2214
2222
|
}
|
|
2215
|
-
export declare class School extends BondBaseEntity {
|
|
2216
|
-
name: string | null;
|
|
2217
|
-
alias: string[] | null;
|
|
2218
|
-
addressId: number | null;
|
|
2219
|
-
website: string | null;
|
|
2220
|
-
phone: string | null;
|
|
2221
|
-
dataId: number | null;
|
|
2222
|
-
}
|
|
2223
2223
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
2224
|
seasonId: number | null;
|
|
2225
2225
|
teamId: number | null;
|
|
@@ -2304,15 +2304,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2304
2304
|
tokenExpirationDate: Date;
|
|
2305
2305
|
isUsed: boolean;
|
|
2306
2306
|
}
|
|
2307
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2308
|
-
teamId: number | null;
|
|
2309
|
-
userId: number | null;
|
|
2310
|
-
paymentId: number | null;
|
|
2311
|
-
hasPaid: boolean | null;
|
|
2312
|
-
status: TeamMemberStatusEnum | null;
|
|
2313
|
-
role: TeamMemberRoleEnum;
|
|
2314
|
-
user: User;
|
|
2315
|
-
}
|
|
2316
2307
|
export declare class User extends BondBaseEntity {
|
|
2317
2308
|
firstName: string | null;
|
|
2318
2309
|
lastName: string | null;
|
|
@@ -2352,6 +2343,15 @@ export declare class User extends BondBaseEntity {
|
|
|
2352
2343
|
invoiceNotes: InvoiceNote[];
|
|
2353
2344
|
paymentNotes: PaymentNote[];
|
|
2354
2345
|
}
|
|
2346
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2347
|
+
teamId: number | null;
|
|
2348
|
+
userId: number | null;
|
|
2349
|
+
paymentId: number | null;
|
|
2350
|
+
hasPaid: boolean | null;
|
|
2351
|
+
status: TeamMemberStatusEnum | null;
|
|
2352
|
+
role: TeamMemberRoleEnum;
|
|
2353
|
+
user: User;
|
|
2354
|
+
}
|
|
2355
2355
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2356
2356
|
entityId: number | null;
|
|
2357
2357
|
userId: number | null;
|
|
@@ -2366,11 +2366,6 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2366
2366
|
familyAccount: FamilyAccount;
|
|
2367
2367
|
deletedAt?: Date;
|
|
2368
2368
|
}
|
|
2369
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2370
|
-
groupId: number;
|
|
2371
|
-
userId: number;
|
|
2372
|
-
deletedAt?: Date;
|
|
2373
|
-
}
|
|
2374
2369
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2375
2370
|
userId: number;
|
|
2376
2371
|
failCount: number;
|
|
@@ -2383,6 +2378,11 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2383
2378
|
name: string;
|
|
2384
2379
|
variants: Variant[];
|
|
2385
2380
|
}
|
|
2381
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2382
|
+
groupId: number;
|
|
2383
|
+
userId: number;
|
|
2384
|
+
deletedAt?: Date;
|
|
2385
|
+
}
|
|
2386
2386
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2387
2387
|
name: string;
|
|
2388
2388
|
variantTitleId: number;
|
|
@@ -2637,6 +2637,7 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2637
2637
|
BALANCE = "balance",
|
|
2638
2638
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2639
2639
|
OTHER = "other",
|
|
2640
|
+
LOST_DEBT = "lost-debt",
|
|
2640
2641
|
MIGRATED = "migrated",
|
|
2641
2642
|
VOID = "void",
|
|
2642
2643
|
GIFT_CARD = "gift-card"
|
|
@@ -3357,13 +3358,6 @@ export declare class ImportedPaymentDto {
|
|
|
3357
3358
|
date: string;
|
|
3358
3359
|
time: string;
|
|
3359
3360
|
}
|
|
3360
|
-
export declare class PunchPassDto {
|
|
3361
|
-
CustomerID: string;
|
|
3362
|
-
QuantityLeft: number;
|
|
3363
|
-
BondProgramID: number;
|
|
3364
|
-
BondSessionID: number;
|
|
3365
|
-
ProductID: number;
|
|
3366
|
-
}
|
|
3367
3361
|
export declare class ProductIdsDto {
|
|
3368
3362
|
productIds?: number[];
|
|
3369
3363
|
}
|
|
@@ -3373,6 +3367,13 @@ export declare class ProductImportDto {
|
|
|
3373
3367
|
resourceIds: number[];
|
|
3374
3368
|
oldId: number;
|
|
3375
3369
|
}
|
|
3370
|
+
export declare class PunchPassDto {
|
|
3371
|
+
CustomerID: string;
|
|
3372
|
+
QuantityLeft: number;
|
|
3373
|
+
BondProgramID: number;
|
|
3374
|
+
BondSessionID: number;
|
|
3375
|
+
ProductID: number;
|
|
3376
|
+
}
|
|
3376
3377
|
export declare class ImportedSlotProductDto {
|
|
3377
3378
|
slotID?: string;
|
|
3378
3379
|
name?: string;
|
|
@@ -3437,18 +3438,18 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3437
3438
|
score: number | null;
|
|
3438
3439
|
gameSlotId: number | null;
|
|
3439
3440
|
}
|
|
3440
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3441
|
-
roundId: number;
|
|
3442
|
-
eventId: number;
|
|
3443
|
-
seriesId: number | null;
|
|
3444
|
-
createdAt: Date;
|
|
3445
|
-
updatedAt: Date;
|
|
3446
|
-
}
|
|
3447
3441
|
export declare class Matches extends BondBaseEntity {
|
|
3448
3442
|
eventId: number | null;
|
|
3449
3443
|
status: number | null;
|
|
3450
3444
|
excludeStandings: boolean | null;
|
|
3451
3445
|
}
|
|
3446
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3447
|
+
roundId: number;
|
|
3448
|
+
eventId: number;
|
|
3449
|
+
seriesId: number | null;
|
|
3450
|
+
createdAt: Date;
|
|
3451
|
+
updatedAt: Date;
|
|
3452
|
+
}
|
|
3452
3453
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3453
3454
|
seasonId: number;
|
|
3454
3455
|
ordinal?: number;
|
|
@@ -3464,6 +3465,15 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3464
3465
|
name: string;
|
|
3465
3466
|
locked?: Date;
|
|
3466
3467
|
}
|
|
3468
|
+
export interface ValidatedMonthAndDay {
|
|
3469
|
+
valid: boolean;
|
|
3470
|
+
month?: number;
|
|
3471
|
+
day?: number;
|
|
3472
|
+
}
|
|
3473
|
+
export interface ValidationReason {
|
|
3474
|
+
valid: boolean;
|
|
3475
|
+
reason?: string;
|
|
3476
|
+
}
|
|
3467
3477
|
export interface PaymentStatus {
|
|
3468
3478
|
parentId: number;
|
|
3469
3479
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3476,14 +3486,11 @@ export interface PaymentStatusesDict {
|
|
|
3476
3486
|
export interface PaymentStatusDict {
|
|
3477
3487
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3478
3488
|
}
|
|
3479
|
-
export
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
export interface ValidationReason {
|
|
3485
|
-
valid: boolean;
|
|
3486
|
-
reason?: string;
|
|
3489
|
+
export declare class CreateMonitorConfigDto {
|
|
3490
|
+
facilityId: number;
|
|
3491
|
+
name: string;
|
|
3492
|
+
code: string;
|
|
3493
|
+
config: any;
|
|
3487
3494
|
}
|
|
3488
3495
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3489
3496
|
facilityId: number;
|
|
@@ -3497,12 +3504,6 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3497
3504
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3498
3505
|
destination: string;
|
|
3499
3506
|
}
|
|
3500
|
-
export declare class CreateMonitorConfigDto {
|
|
3501
|
-
facilityId: number;
|
|
3502
|
-
name: string;
|
|
3503
|
-
code: string;
|
|
3504
|
-
config: any;
|
|
3505
|
-
}
|
|
3506
3507
|
export declare class Organization extends BondBaseEntity {
|
|
3507
3508
|
name: string | null;
|
|
3508
3509
|
email: string | null;
|
|
@@ -3552,6 +3553,19 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3552
3553
|
brandings: OrganizationBranding[];
|
|
3553
3554
|
brandingsV2?: OrganizationBranding[];
|
|
3554
3555
|
}
|
|
3556
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3557
|
+
key?: string;
|
|
3558
|
+
vaule?: string;
|
|
3559
|
+
version: number;
|
|
3560
|
+
organization: Organization;
|
|
3561
|
+
}
|
|
3562
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3563
|
+
organisationId: number | null;
|
|
3564
|
+
userId: number | null;
|
|
3565
|
+
}
|
|
3566
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3567
|
+
mainAdminUserId?: number;
|
|
3568
|
+
}
|
|
3555
3569
|
export declare class ByOrganizationIdDto {
|
|
3556
3570
|
organizationId: number;
|
|
3557
3571
|
}
|
|
@@ -3576,15 +3590,6 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
3576
3590
|
months?: string;
|
|
3577
3591
|
dow?: string;
|
|
3578
3592
|
}
|
|
3579
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3580
|
-
key?: string;
|
|
3581
|
-
vaule?: string;
|
|
3582
|
-
version: number;
|
|
3583
|
-
organization: Organization;
|
|
3584
|
-
}
|
|
3585
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3586
|
-
mainAdminUserId?: number;
|
|
3587
|
-
}
|
|
3588
3593
|
export interface UnallocatedEventsFilters {
|
|
3589
3594
|
programsIds?: number[];
|
|
3590
3595
|
sessionsIds?: number[];
|
|
@@ -3611,10 +3616,6 @@ export interface IUnallocatedEventRes {
|
|
|
3611
3616
|
export interface IUnallocatedEventsIdsRes {
|
|
3612
3617
|
data: IUnallocatedEventRes[];
|
|
3613
3618
|
}
|
|
3614
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3615
|
-
organisationId: number | null;
|
|
3616
|
-
userId: number | null;
|
|
3617
|
-
}
|
|
3618
3619
|
export declare class CustomerIdDto {
|
|
3619
3620
|
customerId: number;
|
|
3620
3621
|
}
|
|
@@ -3804,33 +3805,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3804
3805
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3805
3806
|
totalAmountProcessed: number;
|
|
3806
3807
|
}
|
|
3807
|
-
export declare class AddonDto {
|
|
3808
|
-
productId: number;
|
|
3809
|
-
id?: number;
|
|
3810
|
-
unitPrice?: number;
|
|
3811
|
-
quantity?: number;
|
|
3812
|
-
totalPrice?: number;
|
|
3813
|
-
product?: Product;
|
|
3814
|
-
parentProduct?: Product;
|
|
3815
|
-
displayTotalWithTax?: number;
|
|
3816
|
-
displayTotalPrice?: number;
|
|
3817
|
-
displayUnitTax?: number;
|
|
3818
|
-
}
|
|
3819
|
-
export declare class AddAddonsDto {
|
|
3820
|
-
addons: AddonDto[];
|
|
3821
|
-
}
|
|
3822
|
-
export declare class EditAddonsDto {
|
|
3823
|
-
addons: EditAddonDto[];
|
|
3824
|
-
}
|
|
3825
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3826
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3827
|
-
}
|
|
3828
|
-
export declare class EditAddonDto {
|
|
3829
|
-
id: number;
|
|
3830
|
-
quantity: number;
|
|
3831
|
-
totalPrice: number;
|
|
3832
|
-
unitPrice?: number;
|
|
3833
|
-
}
|
|
3834
3808
|
export declare class InvoiceDto {
|
|
3835
3809
|
invoiceId?: string | null;
|
|
3836
3810
|
organizationId: number;
|
|
@@ -4067,6 +4041,33 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4067
4041
|
updateAddons?: boolean;
|
|
4068
4042
|
updateMaintenance?: boolean;
|
|
4069
4043
|
}
|
|
4044
|
+
export declare class AddonDto {
|
|
4045
|
+
productId: number;
|
|
4046
|
+
id?: number;
|
|
4047
|
+
unitPrice?: number;
|
|
4048
|
+
quantity?: number;
|
|
4049
|
+
totalPrice?: number;
|
|
4050
|
+
product?: Product;
|
|
4051
|
+
parentProduct?: Product;
|
|
4052
|
+
displayTotalWithTax?: number;
|
|
4053
|
+
displayTotalPrice?: number;
|
|
4054
|
+
displayUnitTax?: number;
|
|
4055
|
+
}
|
|
4056
|
+
export declare class AddAddonsDto {
|
|
4057
|
+
addons: AddonDto[];
|
|
4058
|
+
}
|
|
4059
|
+
export declare class EditAddonsDto {
|
|
4060
|
+
addons: EditAddonDto[];
|
|
4061
|
+
}
|
|
4062
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4063
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4064
|
+
}
|
|
4065
|
+
export declare class EditAddonDto {
|
|
4066
|
+
id: number;
|
|
4067
|
+
quantity: number;
|
|
4068
|
+
totalPrice: number;
|
|
4069
|
+
unitPrice?: number;
|
|
4070
|
+
}
|
|
4070
4071
|
export declare class SegmentDto {
|
|
4071
4072
|
id?: number;
|
|
4072
4073
|
title: string;
|
|
@@ -4078,68 +4079,6 @@ export declare class SegmentDto {
|
|
|
4078
4079
|
publicNotesForSlots?: string;
|
|
4079
4080
|
privateNotesForSlots?: string;
|
|
4080
4081
|
}
|
|
4081
|
-
export declare class SlotDateTimeAndSpace {
|
|
4082
|
-
startDate: string;
|
|
4083
|
-
startTime?: string;
|
|
4084
|
-
endDate?: string;
|
|
4085
|
-
endTime?: string;
|
|
4086
|
-
spaceId: number;
|
|
4087
|
-
}
|
|
4088
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4089
|
-
id?: number;
|
|
4090
|
-
reservationId?: number;
|
|
4091
|
-
occurrence?: number;
|
|
4092
|
-
title: string;
|
|
4093
|
-
creatorId?: number;
|
|
4094
|
-
creatorType?: string;
|
|
4095
|
-
userCreatorId?: number;
|
|
4096
|
-
timezone?: string;
|
|
4097
|
-
publicNotes?: string;
|
|
4098
|
-
privateNotes?: string;
|
|
4099
|
-
slotType: SlotTypeEnum;
|
|
4100
|
-
product?: Product;
|
|
4101
|
-
priceOverrideMeta?: OverridePriceMeta;
|
|
4102
|
-
addonPriceOverrideMeta?: {
|
|
4103
|
-
[addonProductId: number]: OverridePriceMeta;
|
|
4104
|
-
};
|
|
4105
|
-
addonProducts?: Product[];
|
|
4106
|
-
segmentId?: number;
|
|
4107
|
-
seriesId?: number;
|
|
4108
|
-
eventId?: number;
|
|
4109
|
-
sportIds: number[];
|
|
4110
|
-
parentSlotId?: number;
|
|
4111
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4112
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4113
|
-
durationValue?: number;
|
|
4114
|
-
invoicId?: number;
|
|
4115
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4116
|
-
approvalStatus: ReservationStatusEnum;
|
|
4117
|
-
displayName?: string;
|
|
4118
|
-
internalName?: string;
|
|
4119
|
-
totalPrice?: number;
|
|
4120
|
-
relevantProducts?: Product[];
|
|
4121
|
-
maintenance?: MaintenanceDto[];
|
|
4122
|
-
maintenanceSlots?: SlotDto[];
|
|
4123
|
-
isPrivate: boolean;
|
|
4124
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4125
|
-
addons?: AddonDto[];
|
|
4126
|
-
addonsIds?: number[];
|
|
4127
|
-
}
|
|
4128
|
-
export declare class TimeSlotDto {
|
|
4129
|
-
id?: number;
|
|
4130
|
-
resourceId: number;
|
|
4131
|
-
startDate: string;
|
|
4132
|
-
startTime: string;
|
|
4133
|
-
endDate: string;
|
|
4134
|
-
endTime: string;
|
|
4135
|
-
parentSlotId?: number;
|
|
4136
|
-
}
|
|
4137
|
-
export declare class TimeSlotsDto {
|
|
4138
|
-
timeSlots: TimeSlotDto[];
|
|
4139
|
-
}
|
|
4140
|
-
export declare class SlotsIdsDto {
|
|
4141
|
-
slotsIds: number[];
|
|
4142
|
-
}
|
|
4143
4082
|
export declare class SeriesDto {
|
|
4144
4083
|
id?: number;
|
|
4145
4084
|
startDate: string;
|
|
@@ -4194,12 +4133,6 @@ export declare class BookingV1Dto {
|
|
|
4194
4133
|
cashPayment: boolean;
|
|
4195
4134
|
requestOnly: boolean;
|
|
4196
4135
|
}
|
|
4197
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4198
|
-
deletedAt?: Date;
|
|
4199
|
-
reservationId: number;
|
|
4200
|
-
invoiceId: number;
|
|
4201
|
-
slotId: number;
|
|
4202
|
-
}
|
|
4203
4136
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4204
4137
|
parentId: number;
|
|
4205
4138
|
parentType: AddonParentTypeEnum;
|
|
@@ -4220,6 +4153,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4220
4153
|
previousProductUsersIds?: number[];
|
|
4221
4154
|
previousProductUsers?: ProductsUsers[];
|
|
4222
4155
|
}
|
|
4156
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4157
|
+
deletedAt?: Date;
|
|
4158
|
+
reservationId: number;
|
|
4159
|
+
invoiceId: number;
|
|
4160
|
+
slotId: number;
|
|
4161
|
+
}
|
|
4223
4162
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4224
4163
|
name?: string;
|
|
4225
4164
|
description?: string;
|
|
@@ -4253,6 +4192,68 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4253
4192
|
targetGlobalPrice?: number;
|
|
4254
4193
|
slots: Slot[];
|
|
4255
4194
|
}
|
|
4195
|
+
export declare class SlotDateTimeAndSpace {
|
|
4196
|
+
startDate: string;
|
|
4197
|
+
startTime?: string;
|
|
4198
|
+
endDate?: string;
|
|
4199
|
+
endTime?: string;
|
|
4200
|
+
spaceId: number;
|
|
4201
|
+
}
|
|
4202
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4203
|
+
id?: number;
|
|
4204
|
+
reservationId?: number;
|
|
4205
|
+
occurrence?: number;
|
|
4206
|
+
title: string;
|
|
4207
|
+
creatorId?: number;
|
|
4208
|
+
creatorType?: string;
|
|
4209
|
+
userCreatorId?: number;
|
|
4210
|
+
timezone?: string;
|
|
4211
|
+
publicNotes?: string;
|
|
4212
|
+
privateNotes?: string;
|
|
4213
|
+
slotType: SlotTypeEnum;
|
|
4214
|
+
product?: Product;
|
|
4215
|
+
priceOverrideMeta?: OverridePriceMeta;
|
|
4216
|
+
addonPriceOverrideMeta?: {
|
|
4217
|
+
[addonProductId: number]: OverridePriceMeta;
|
|
4218
|
+
};
|
|
4219
|
+
addonProducts?: Product[];
|
|
4220
|
+
segmentId?: number;
|
|
4221
|
+
seriesId?: number;
|
|
4222
|
+
eventId?: number;
|
|
4223
|
+
sportIds: number[];
|
|
4224
|
+
parentSlotId?: number;
|
|
4225
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4226
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4227
|
+
durationValue?: number;
|
|
4228
|
+
invoicId?: number;
|
|
4229
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4230
|
+
approvalStatus: ReservationStatusEnum;
|
|
4231
|
+
displayName?: string;
|
|
4232
|
+
internalName?: string;
|
|
4233
|
+
totalPrice?: number;
|
|
4234
|
+
relevantProducts?: Product[];
|
|
4235
|
+
maintenance?: MaintenanceDto[];
|
|
4236
|
+
maintenanceSlots?: SlotDto[];
|
|
4237
|
+
isPrivate: boolean;
|
|
4238
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4239
|
+
addons?: AddonDto[];
|
|
4240
|
+
addonsIds?: number[];
|
|
4241
|
+
}
|
|
4242
|
+
export declare class TimeSlotDto {
|
|
4243
|
+
id?: number;
|
|
4244
|
+
resourceId: number;
|
|
4245
|
+
startDate: string;
|
|
4246
|
+
startTime: string;
|
|
4247
|
+
endDate: string;
|
|
4248
|
+
endTime: string;
|
|
4249
|
+
parentSlotId?: number;
|
|
4250
|
+
}
|
|
4251
|
+
export declare class TimeSlotsDto {
|
|
4252
|
+
timeSlots: TimeSlotDto[];
|
|
4253
|
+
}
|
|
4254
|
+
export declare class SlotsIdsDto {
|
|
4255
|
+
slotsIds: number[];
|
|
4256
|
+
}
|
|
4256
4257
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4257
4258
|
deletedAt?: Date;
|
|
4258
4259
|
reservationId: number;
|
|
@@ -4623,16 +4624,16 @@ export interface OverridePriceMeta {
|
|
|
4623
4624
|
quantity: number;
|
|
4624
4625
|
totalPrice: number;
|
|
4625
4626
|
}
|
|
4627
|
+
export declare class Permission extends BondBaseEntity {
|
|
4628
|
+
name: string;
|
|
4629
|
+
deletedAt?: Date;
|
|
4630
|
+
}
|
|
4626
4631
|
export declare class ChangeRolePermissionsDto {
|
|
4627
4632
|
permissionIds: number[];
|
|
4628
4633
|
}
|
|
4629
4634
|
export declare class CreateRoleDto {
|
|
4630
4635
|
name: string;
|
|
4631
4636
|
}
|
|
4632
|
-
export declare class Permission extends BondBaseEntity {
|
|
4633
|
-
name: string;
|
|
4634
|
-
deletedAt?: Date;
|
|
4635
|
-
}
|
|
4636
4637
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4637
4638
|
name: string;
|
|
4638
4639
|
deletedAt?: Date;
|