@bondsports/types 0.10.0 → 0.12.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 +1320 -1319
- 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
|
@@ -95,81 +95,6 @@ export declare class AddEditCustomerDto {
|
|
|
95
95
|
emergencyContactName?: string;
|
|
96
96
|
emergencyContactPhone?: string;
|
|
97
97
|
}
|
|
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
|
-
export declare class FindFamilyAccountsDto {
|
|
142
|
-
userId: number;
|
|
143
|
-
}
|
|
144
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
145
|
-
customerId: number;
|
|
146
|
-
organizationId: number;
|
|
147
|
-
}
|
|
148
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
149
|
-
familyAccountId: number;
|
|
150
|
-
}
|
|
151
|
-
export declare class CreateFamilyAccountDto {
|
|
152
|
-
familyName: string;
|
|
153
|
-
userId: number;
|
|
154
|
-
}
|
|
155
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
156
|
-
familyName: string;
|
|
157
|
-
familyAccountId: number;
|
|
158
|
-
}
|
|
159
|
-
export declare class AddUserToFamilyAccountDto {
|
|
160
|
-
familyAccountId: number;
|
|
161
|
-
isUserAdmin: boolean;
|
|
162
|
-
firstName: string;
|
|
163
|
-
lastName: string;
|
|
164
|
-
gender: GenderEnum;
|
|
165
|
-
birthDate: string;
|
|
166
|
-
sports?: number[];
|
|
167
|
-
email?: string;
|
|
168
|
-
}
|
|
169
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
170
|
-
userId: number;
|
|
171
|
-
familyAccountId: number;
|
|
172
|
-
}
|
|
173
98
|
export declare class FindEventByIdDto {
|
|
174
99
|
eventId: number;
|
|
175
100
|
organizationId: number;
|
|
@@ -270,6 +195,49 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
270
195
|
isWaiverSigned?: string;
|
|
271
196
|
statuses?: string;
|
|
272
197
|
}
|
|
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;
|
|
240
|
+
}
|
|
273
241
|
export declare class FindOneParams {
|
|
274
242
|
id: number;
|
|
275
243
|
}
|
|
@@ -282,16 +250,6 @@ export declare class PaginationRangeQuery {
|
|
|
282
250
|
endPage: number;
|
|
283
251
|
itemsPerPage: number;
|
|
284
252
|
}
|
|
285
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
|
-
organizationId: number;
|
|
287
|
-
}
|
|
288
|
-
export declare class GetGlCodeDto {
|
|
289
|
-
id: number;
|
|
290
|
-
organizationId: number;
|
|
291
|
-
code: string;
|
|
292
|
-
createdAt: Date;
|
|
293
|
-
updatedAt: Date;
|
|
294
|
-
}
|
|
295
253
|
export declare class FindByProgramSeasonIdDto {
|
|
296
254
|
seasonId: number;
|
|
297
255
|
}
|
|
@@ -365,47 +323,37 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
323
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
324
|
fileName: string;
|
|
367
325
|
}
|
|
368
|
-
export declare class
|
|
369
|
-
|
|
370
|
-
entitlementGroupId: number;
|
|
371
|
-
terms: IEntitlementTerms[];
|
|
372
|
-
}
|
|
373
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
374
|
-
entitlementGroupId: number;
|
|
375
|
-
}
|
|
376
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
377
|
-
user: any;
|
|
378
|
-
userVariables: IQuestionAnswerObject[];
|
|
326
|
+
export declare class FindFamilyAccountsDto {
|
|
327
|
+
userId: number;
|
|
379
328
|
}
|
|
380
|
-
export declare class
|
|
329
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
330
|
+
customerId: number;
|
|
381
331
|
organizationId: number;
|
|
382
|
-
user?: any;
|
|
383
|
-
answers?: IQuestionAnswerObject[];
|
|
384
|
-
itemIds: number[];
|
|
385
|
-
itemType?: ResourceNameTypeEnum;
|
|
386
|
-
startDate?: Date;
|
|
387
332
|
}
|
|
388
|
-
export declare class
|
|
389
|
-
|
|
390
|
-
itemsIds: number[];
|
|
333
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
334
|
+
familyAccountId: number;
|
|
391
335
|
}
|
|
392
|
-
export declare class
|
|
393
|
-
|
|
336
|
+
export declare class CreateFamilyAccountDto {
|
|
337
|
+
familyName: string;
|
|
338
|
+
userId: number;
|
|
394
339
|
}
|
|
395
|
-
export declare class
|
|
396
|
-
|
|
397
|
-
|
|
340
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
341
|
+
familyName: string;
|
|
342
|
+
familyAccountId: number;
|
|
398
343
|
}
|
|
399
|
-
export declare class
|
|
400
|
-
|
|
344
|
+
export declare class AddUserToFamilyAccountDto {
|
|
345
|
+
familyAccountId: number;
|
|
346
|
+
isUserAdmin: boolean;
|
|
347
|
+
firstName: string;
|
|
348
|
+
lastName: string;
|
|
349
|
+
gender: GenderEnum;
|
|
350
|
+
birthDate: string;
|
|
351
|
+
sports?: number[];
|
|
352
|
+
email?: string;
|
|
401
353
|
}
|
|
402
|
-
export declare class
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
startDate?: Date;
|
|
406
|
-
endDate?: Date;
|
|
407
|
-
discountValue?: number;
|
|
408
|
-
discountMethod?: DiscountMethodsEnum;
|
|
354
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
355
|
+
userId: number;
|
|
356
|
+
familyAccountId: number;
|
|
409
357
|
}
|
|
410
358
|
export declare class CreateMembershipDto {
|
|
411
359
|
organizationId: number;
|
|
@@ -463,226 +411,75 @@ export declare class CancelMembershipDto {
|
|
|
463
411
|
isImmediatelyCancel: boolean;
|
|
464
412
|
cancellationReason?: string;
|
|
465
413
|
}
|
|
466
|
-
export declare class
|
|
467
|
-
|
|
414
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
415
|
+
organizationId: number;
|
|
468
416
|
}
|
|
469
|
-
export declare class
|
|
417
|
+
export declare class GetGlCodeDto {
|
|
470
418
|
id: number;
|
|
471
|
-
|
|
472
|
-
|
|
419
|
+
organizationId: number;
|
|
420
|
+
code: string;
|
|
421
|
+
createdAt: Date;
|
|
422
|
+
updatedAt: Date;
|
|
473
423
|
}
|
|
474
|
-
export declare class
|
|
475
|
-
|
|
476
|
-
|
|
424
|
+
export declare class CreateEntitlementTermsDto {
|
|
425
|
+
organizationId: number;
|
|
426
|
+
entitlementGroupId: number;
|
|
427
|
+
terms: IEntitlementTerms[];
|
|
477
428
|
}
|
|
478
|
-
export declare class
|
|
479
|
-
|
|
480
|
-
resourceId: number;
|
|
429
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
+
entitlementGroupId: number;
|
|
481
431
|
}
|
|
482
|
-
export declare class
|
|
432
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
+
user: any;
|
|
434
|
+
userVariables: IQuestionAnswerObject[];
|
|
435
|
+
}
|
|
436
|
+
export declare class FindLowestPriceDto {
|
|
483
437
|
organizationId: number;
|
|
438
|
+
user?: any;
|
|
439
|
+
answers?: IQuestionAnswerObject[];
|
|
440
|
+
itemIds: number[];
|
|
441
|
+
itemType?: ResourceNameTypeEnum;
|
|
442
|
+
startDate?: Date;
|
|
484
443
|
}
|
|
485
|
-
export declare class
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
444
|
+
export declare class FindGroupItemsPricingsDto {
|
|
445
|
+
groupsIds: number[];
|
|
446
|
+
itemsIds: number[];
|
|
489
447
|
}
|
|
490
|
-
export declare class
|
|
448
|
+
export declare class CreateEntitlementGroupDto {
|
|
491
449
|
name: string;
|
|
492
450
|
}
|
|
493
|
-
export declare class
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
resourcesIdsToApplyOn?: number[];
|
|
504
|
-
GL?: string;
|
|
505
|
-
prices: CreatePriceDto[];
|
|
506
|
-
downpayment?: number;
|
|
507
|
-
productType: ProductTypesEnum;
|
|
508
|
-
subProductType?: string;
|
|
509
|
-
defaultForResourceId?: number;
|
|
510
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
511
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
512
|
-
variantTitleIds?: number[];
|
|
513
|
-
variants?: VariantWithPrice[];
|
|
514
|
-
variantParentId?: number;
|
|
515
|
-
isAddon?: boolean;
|
|
516
|
-
isArchive?: boolean;
|
|
517
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
518
|
-
isProRated?: boolean;
|
|
519
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
520
|
-
isTaxInclusive?: boolean;
|
|
521
|
-
tax?: number;
|
|
522
|
-
sports?: number[];
|
|
523
|
-
durationMinutes?: number;
|
|
524
|
-
durationDays?: number;
|
|
525
|
-
forms?: number[];
|
|
526
|
-
isForAllCustomers?: boolean;
|
|
527
|
-
membershipsAvailableFor?: number[];
|
|
528
|
-
customersAvailableFor?: number[];
|
|
529
|
-
addons?: createRentalProductAddonDto[];
|
|
530
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
531
|
-
}
|
|
532
|
-
export declare class VariantWithPrice {
|
|
533
|
-
variantIds: number[];
|
|
534
|
-
price: CreatePriceDto[];
|
|
535
|
-
}
|
|
536
|
-
export declare class CreatePriceDto {
|
|
537
|
-
id?: number;
|
|
538
|
-
price: number;
|
|
539
|
-
currency: CurrencyEnum;
|
|
540
|
-
name: string;
|
|
451
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
+
itemIds: number[];
|
|
453
|
+
itemType: string;
|
|
454
|
+
}
|
|
455
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
456
|
+
groupid: number;
|
|
457
|
+
}
|
|
458
|
+
export declare class CreateGroupPricingWithProduct {
|
|
459
|
+
groupId: number;
|
|
460
|
+
price: number;
|
|
541
461
|
startDate?: Date;
|
|
542
462
|
endDate?: Date;
|
|
543
463
|
discountValue?: number;
|
|
544
464
|
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
465
|
}
|
|
614
|
-
export declare class
|
|
615
|
-
organizationId: number;
|
|
616
|
-
}
|
|
617
|
-
export declare class CreateVariantTitleDto {
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
618
467
|
organizationId: number;
|
|
619
|
-
|
|
620
|
-
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
621
471
|
}
|
|
622
|
-
export declare class
|
|
623
|
-
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
624
474
|
titleId: number;
|
|
625
|
-
title: string;
|
|
626
|
-
variants: string[];
|
|
627
|
-
}
|
|
628
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
629
|
-
customerId: number;
|
|
630
|
-
}
|
|
631
|
-
export declare class GetExtraProductDataDto {
|
|
632
|
-
isPublic?: boolean;
|
|
633
|
-
isGetByChildResources?: boolean;
|
|
634
|
-
isGetEntitlePricing?: boolean;
|
|
635
|
-
isGetAddOns?: boolean;
|
|
636
|
-
includeResources?: boolean;
|
|
637
|
-
includeArchived?: boolean;
|
|
638
|
-
}
|
|
639
|
-
export declare class GetBySessionType {
|
|
640
|
-
sessionType: 'event' | 'segment';
|
|
641
475
|
}
|
|
642
|
-
export declare class
|
|
643
|
-
productType: ProductTypesEnum;
|
|
476
|
+
export declare class VariantDto {
|
|
644
477
|
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
478
|
price: number;
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
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;
|
|
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,75 +672,278 @@ export declare class MoveParticipantDto {
|
|
|
875
672
|
resourceId: number;
|
|
876
673
|
invoiceId: number;
|
|
877
674
|
}
|
|
878
|
-
export declare class
|
|
879
|
-
|
|
880
|
-
programType?: ProgramTypesEnum;
|
|
881
|
-
}
|
|
882
|
-
export declare class FindProgramByIdDto {
|
|
883
|
-
programId: number;
|
|
884
|
-
}
|
|
885
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
886
|
-
programId: number;
|
|
887
|
-
organizationId: number;
|
|
888
|
-
}
|
|
889
|
-
export declare class BaseProgramDto {
|
|
890
|
-
type: ProgramTypesEnum;
|
|
891
|
-
name: string;
|
|
892
|
-
sport: SportsEnum;
|
|
893
|
-
minAge: string;
|
|
894
|
-
maxAge: string;
|
|
895
|
-
gender: GenderEnum;
|
|
896
|
-
level?: LevelOfPlayEnum[];
|
|
897
|
-
description?: string;
|
|
898
|
-
GL?: string;
|
|
899
|
-
status: PublishingStatusEnum;
|
|
900
|
-
organizationId: number;
|
|
901
|
-
userCreatorId: number;
|
|
902
|
-
highlights: ProgramHighlights[];
|
|
903
|
-
longDescription?: string;
|
|
904
|
-
requiredProductIds: number[];
|
|
905
|
-
}
|
|
906
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
675
|
+
export declare class FindByProductIdDto {
|
|
676
|
+
productId: number;
|
|
907
677
|
}
|
|
908
|
-
export declare class
|
|
909
|
-
|
|
910
|
-
|
|
678
|
+
export declare class FindPriceOfProductDto {
|
|
679
|
+
id: number;
|
|
680
|
+
userId: number;
|
|
681
|
+
resources: ResourceDto[];
|
|
911
682
|
}
|
|
912
|
-
export declare class
|
|
913
|
-
|
|
914
|
-
|
|
683
|
+
export declare class FindPricesOfProductsDto {
|
|
684
|
+
products: FindPriceOfProductDto[];
|
|
685
|
+
answers: UserAnswersDto[];
|
|
915
686
|
}
|
|
916
|
-
export declare class
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
type: ProgramHighlightTypeEnum;
|
|
920
|
-
title: string;
|
|
687
|
+
export declare class FindPackageByResourceDto {
|
|
688
|
+
resourceType: ResourceNameTypeEnum;
|
|
689
|
+
resourceId: number;
|
|
921
690
|
}
|
|
922
|
-
export declare class
|
|
691
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
923
692
|
organizationId: number;
|
|
924
|
-
parentProductId: number;
|
|
925
|
-
variantTitles: VariantTitleDto[];
|
|
926
|
-
variants: VariantDto[];
|
|
927
693
|
}
|
|
928
|
-
export declare class
|
|
929
|
-
|
|
930
|
-
|
|
694
|
+
export declare class CreateProductsDto {
|
|
695
|
+
products: CreateProductDto[];
|
|
696
|
+
addOnsData?: ProductInPackage[];
|
|
697
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
931
698
|
}
|
|
932
|
-
export declare class
|
|
699
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
933
700
|
name: string;
|
|
934
|
-
price: number;
|
|
935
|
-
variantId: number;
|
|
936
|
-
currency: CurrencyEnum;
|
|
937
|
-
startDate: Date;
|
|
938
|
-
endDate: Date;
|
|
939
701
|
}
|
|
940
|
-
export declare class
|
|
941
|
-
|
|
942
|
-
type: PaymentMethodTypeEnum;
|
|
943
|
-
}
|
|
944
|
-
export declare class ChargeRentalsReuqestDto {
|
|
702
|
+
export declare class CreateProductDto {
|
|
703
|
+
id?: number;
|
|
945
704
|
organizationId: number;
|
|
946
|
-
|
|
705
|
+
name: string;
|
|
706
|
+
quantity?: number;
|
|
707
|
+
isPublic: boolean;
|
|
708
|
+
startDate?: Date;
|
|
709
|
+
endDate?: Date;
|
|
710
|
+
description?: string;
|
|
711
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
712
|
+
resourcesIdsToApplyOn?: number[];
|
|
713
|
+
GL?: string;
|
|
714
|
+
prices: CreatePriceDto[];
|
|
715
|
+
downpayment?: number;
|
|
716
|
+
productType: ProductTypesEnum;
|
|
717
|
+
subProductType?: string;
|
|
718
|
+
defaultForResourceId?: number;
|
|
719
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
720
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
721
|
+
variantTitleIds?: number[];
|
|
722
|
+
variants?: VariantWithPrice[];
|
|
723
|
+
variantParentId?: number;
|
|
724
|
+
isAddon?: boolean;
|
|
725
|
+
isArchive?: boolean;
|
|
726
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
727
|
+
isProRated?: boolean;
|
|
728
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
729
|
+
isTaxInclusive?: boolean;
|
|
730
|
+
tax?: number;
|
|
731
|
+
sports?: number[];
|
|
732
|
+
durationMinutes?: number;
|
|
733
|
+
durationDays?: number;
|
|
734
|
+
forms?: number[];
|
|
735
|
+
isForAllCustomers?: boolean;
|
|
736
|
+
membershipsAvailableFor?: number[];
|
|
737
|
+
customersAvailableFor?: number[];
|
|
738
|
+
addons?: createRentalProductAddonDto[];
|
|
739
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
740
|
+
}
|
|
741
|
+
export declare class VariantWithPrice {
|
|
742
|
+
variantIds: number[];
|
|
743
|
+
price: CreatePriceDto[];
|
|
744
|
+
}
|
|
745
|
+
export declare class CreatePriceDto {
|
|
746
|
+
id?: number;
|
|
747
|
+
price: number;
|
|
748
|
+
currency: CurrencyEnum;
|
|
749
|
+
name: string;
|
|
750
|
+
startDate?: Date;
|
|
751
|
+
endDate?: Date;
|
|
752
|
+
discountValue?: number;
|
|
753
|
+
discountMethod?: DiscountMethodsEnum;
|
|
754
|
+
isDefaultPriceForProduct?: boolean;
|
|
755
|
+
}
|
|
756
|
+
export declare class CreatePackageDto {
|
|
757
|
+
parentProductId: number;
|
|
758
|
+
productsData?: ProductInPackage[];
|
|
759
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
760
|
+
}
|
|
761
|
+
export declare class CreatePackageToResourceDto {
|
|
762
|
+
resourceId: number;
|
|
763
|
+
resourceType: ResourceNameTypeEnum;
|
|
764
|
+
isCreateToChildProducts: boolean;
|
|
765
|
+
productsData: ProductInPackage[];
|
|
766
|
+
}
|
|
767
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
768
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
769
|
+
amountInPackage?: number;
|
|
770
|
+
level?: ProductPackageLevelEnum;
|
|
771
|
+
}
|
|
772
|
+
export declare class ExistingProductToPackageDto {
|
|
773
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
774
|
+
id: number;
|
|
775
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
776
|
+
level?: ProductPackageLevelEnum;
|
|
777
|
+
}
|
|
778
|
+
export declare class ConnectProductResourceDto {
|
|
779
|
+
productId: number;
|
|
780
|
+
resourceType: ResourceNameTypeEnum;
|
|
781
|
+
resourceIds: number[];
|
|
782
|
+
}
|
|
783
|
+
export declare class ReturnRequiredProductsDto {
|
|
784
|
+
userId: number;
|
|
785
|
+
productId: number;
|
|
786
|
+
redeemRelevantDate?: string;
|
|
787
|
+
}
|
|
788
|
+
export declare class FindByProductUserIdsDto {
|
|
789
|
+
userId: number;
|
|
790
|
+
organizationId: number;
|
|
791
|
+
}
|
|
792
|
+
export declare class AddRequiredProductsDto {
|
|
793
|
+
productId: number;
|
|
794
|
+
requiredProductIds: number[];
|
|
795
|
+
}
|
|
796
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
797
|
+
productIds?: number[];
|
|
798
|
+
includePrices?: boolean;
|
|
799
|
+
productType?: ProductTypesEnum;
|
|
800
|
+
includeAddons?: string;
|
|
801
|
+
}
|
|
802
|
+
export declare class GetByOrganizationIdDto {
|
|
803
|
+
organizationId?: number;
|
|
804
|
+
}
|
|
805
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
806
|
+
invoiceId?: number;
|
|
807
|
+
}
|
|
808
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
809
|
+
productIds?: string;
|
|
810
|
+
includePrices?: boolean;
|
|
811
|
+
productType?: string;
|
|
812
|
+
productSubType?: string;
|
|
813
|
+
search?: string;
|
|
814
|
+
includeAddons?: boolean;
|
|
815
|
+
includeArchived?: boolean;
|
|
816
|
+
includeAllData?: boolean;
|
|
817
|
+
resourceIds?: string;
|
|
818
|
+
sports?: string;
|
|
819
|
+
}
|
|
820
|
+
export declare class GetAllVariantTitlesDto {
|
|
821
|
+
organizationId: number;
|
|
822
|
+
}
|
|
823
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
824
|
+
organizationId: number;
|
|
825
|
+
}
|
|
826
|
+
export declare class CreateVariantTitleDto {
|
|
827
|
+
organizationId: number;
|
|
828
|
+
title: string;
|
|
829
|
+
variants: string[];
|
|
830
|
+
}
|
|
831
|
+
export declare class UpdateVariantTitleDto {
|
|
832
|
+
organizationId: number;
|
|
833
|
+
titleId: number;
|
|
834
|
+
title: string;
|
|
835
|
+
variants: string[];
|
|
836
|
+
}
|
|
837
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
838
|
+
customerId: number;
|
|
839
|
+
}
|
|
840
|
+
export declare class GetExtraProductDataDto {
|
|
841
|
+
isPublic?: boolean;
|
|
842
|
+
isGetByChildResources?: boolean;
|
|
843
|
+
isGetEntitlePricing?: boolean;
|
|
844
|
+
isGetAddOns?: boolean;
|
|
845
|
+
includeResources?: boolean;
|
|
846
|
+
includeArchived?: boolean;
|
|
847
|
+
}
|
|
848
|
+
export declare class GetBySessionType {
|
|
849
|
+
sessionType: 'event' | 'segment';
|
|
850
|
+
}
|
|
851
|
+
export declare class CreateSubcategoryDto {
|
|
852
|
+
productType: ProductTypesEnum;
|
|
853
|
+
name: string;
|
|
854
|
+
stationId?: number;
|
|
855
|
+
ordinal?: number;
|
|
856
|
+
}
|
|
857
|
+
export declare class CreateSubcategoriesDto {
|
|
858
|
+
subcategories: CreateSubcategoryDto[];
|
|
859
|
+
}
|
|
860
|
+
export declare class UpdateSubcategoryDto {
|
|
861
|
+
id: number;
|
|
862
|
+
productType?: ProductTypesEnum;
|
|
863
|
+
name?: string;
|
|
864
|
+
stationId?: number;
|
|
865
|
+
ordinal?: number;
|
|
866
|
+
}
|
|
867
|
+
export declare class GetSubcategoryDto {
|
|
868
|
+
stationId?: number;
|
|
869
|
+
}
|
|
870
|
+
export declare class SetStationSubcategoriesDto {
|
|
871
|
+
stationId: number;
|
|
872
|
+
subcategoryIds?: number[];
|
|
873
|
+
categories?: string[];
|
|
874
|
+
}
|
|
875
|
+
export declare class createRentalProductAddonDto {
|
|
876
|
+
productId: number;
|
|
877
|
+
price: number;
|
|
878
|
+
isFlatPrice: boolean;
|
|
879
|
+
isMandatory: boolean;
|
|
880
|
+
level: ProductPackageLevelEnum;
|
|
881
|
+
}
|
|
882
|
+
export declare class createProductAvailabilityTimesDto {
|
|
883
|
+
availabilityStartDate?: string;
|
|
884
|
+
availabilityEndDate?: string;
|
|
885
|
+
daysOfWeek: number[];
|
|
886
|
+
startTime: string;
|
|
887
|
+
endTime: string;
|
|
888
|
+
}
|
|
889
|
+
export declare class createResourceDto {
|
|
890
|
+
resourceId: number;
|
|
891
|
+
resourceType: ResourceNameTypeEnum;
|
|
892
|
+
}
|
|
893
|
+
export declare class archiveDto {
|
|
894
|
+
isArchive: boolean;
|
|
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
|
+
}
|
|
940
|
+
export declare class PurchasePaymentDto {
|
|
941
|
+
token: string;
|
|
942
|
+
type: PaymentMethodTypeEnum;
|
|
943
|
+
}
|
|
944
|
+
export declare class ChargeRentalsReuqestDto {
|
|
945
|
+
organizationId: number;
|
|
946
|
+
userId?: number;
|
|
947
947
|
customerId?: number;
|
|
948
948
|
invoiceId: number;
|
|
949
949
|
paymentData: PurchasePaymentDto;
|
|
@@ -1097,19 +1097,6 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1097
1097
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1098
1098
|
organizationId: number;
|
|
1099
1099
|
}
|
|
1100
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1101
|
-
entityType: ResourceNameTypeEnum;
|
|
1102
|
-
entityId: number;
|
|
1103
|
-
organizationId?: number;
|
|
1104
|
-
userId?: number;
|
|
1105
|
-
customerId?: number;
|
|
1106
|
-
performingUserId: number;
|
|
1107
|
-
description: string;
|
|
1108
|
-
actionType: ActionTypesEnum;
|
|
1109
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1110
|
-
oldValue?: any;
|
|
1111
|
-
newValue?: any;
|
|
1112
|
-
}
|
|
1113
1100
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1114
1101
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1115
1102
|
parentId: number;
|
|
@@ -1123,7 +1110,20 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1123
1110
|
proudct: Product;
|
|
1124
1111
|
event: Event;
|
|
1125
1112
|
}
|
|
1126
|
-
export declare class
|
|
1113
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1114
|
+
entityType: ResourceNameTypeEnum;
|
|
1115
|
+
entityId: number;
|
|
1116
|
+
organizationId?: number;
|
|
1117
|
+
userId?: number;
|
|
1118
|
+
customerId?: number;
|
|
1119
|
+
performingUserId: number;
|
|
1120
|
+
description: string;
|
|
1121
|
+
actionType: ActionTypesEnum;
|
|
1122
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1123
|
+
oldValue?: any;
|
|
1124
|
+
newValue?: any;
|
|
1125
|
+
}
|
|
1126
|
+
export declare class Address extends BondBaseEntity {
|
|
1127
1127
|
city?: string;
|
|
1128
1128
|
street?: string;
|
|
1129
1129
|
streetNum?: string;
|
|
@@ -1140,6 +1140,11 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1140
1140
|
answers: Answer[];
|
|
1141
1141
|
questionnaire: Questionnaires;
|
|
1142
1142
|
}
|
|
1143
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1144
|
+
userId: number | null;
|
|
1145
|
+
metadata: object | null;
|
|
1146
|
+
athleteSports: AthleteSports[];
|
|
1147
|
+
}
|
|
1143
1148
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1144
1149
|
questionId: number;
|
|
1145
1150
|
question?: Questions;
|
|
@@ -1153,11 +1158,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1153
1158
|
metaData: any | null;
|
|
1154
1159
|
questionText: string | null;
|
|
1155
1160
|
}
|
|
1156
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1157
|
-
userId: number | null;
|
|
1158
|
-
metadata: object | null;
|
|
1159
|
-
athleteSports: AthleteSports[];
|
|
1160
|
-
}
|
|
1161
1161
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1162
1162
|
athleteId: number | null;
|
|
1163
1163
|
sports: number | null;
|
|
@@ -1194,11 +1194,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1194
1194
|
publicNotes?: string;
|
|
1195
1195
|
slotType?: SlotTypeEnum;
|
|
1196
1196
|
}
|
|
1197
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1198
|
-
area: string;
|
|
1199
|
-
key: string;
|
|
1200
|
-
value: string;
|
|
1201
|
-
}
|
|
1202
1197
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1203
1198
|
parentId: number;
|
|
1204
1199
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1221,13 +1216,10 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1221
1216
|
userCreatorId: number | null;
|
|
1222
1217
|
ownerId: number | null;
|
|
1223
1218
|
}
|
|
1224
|
-
export declare class
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
paymentId: number;
|
|
1229
|
-
invoiceId: number;
|
|
1230
|
-
creditPaymentId: number;
|
|
1219
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1220
|
+
area: string;
|
|
1221
|
+
key: string;
|
|
1222
|
+
value: string;
|
|
1231
1223
|
}
|
|
1232
1224
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1233
1225
|
name: string | null;
|
|
@@ -1257,6 +1249,14 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1257
1249
|
mainMedia: Media;
|
|
1258
1250
|
reservations?: Reservation[];
|
|
1259
1251
|
}
|
|
1252
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
+
creditAmount: number;
|
|
1254
|
+
paymentProcessorId: string;
|
|
1255
|
+
userId: number;
|
|
1256
|
+
paymentId: number;
|
|
1257
|
+
invoiceId: number;
|
|
1258
|
+
creditPaymentId: number;
|
|
1259
|
+
}
|
|
1260
1260
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1261
1261
|
customerId: number;
|
|
1262
1262
|
userId: number;
|
|
@@ -1292,10 +1292,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1292
1292
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1293
1293
|
name: string | null;
|
|
1294
1294
|
}
|
|
1295
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1296
|
-
groupId: number;
|
|
1297
|
-
terms: IEntitlementTerms[];
|
|
1298
|
-
}
|
|
1299
1295
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1300
1296
|
status: RequestStatusEnum | null;
|
|
1301
1297
|
hasPaid: boolean | null;
|
|
@@ -1311,6 +1307,10 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1311
1307
|
event: Event;
|
|
1312
1308
|
purchasedResource: PurchasedResource;
|
|
1313
1309
|
}
|
|
1310
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1311
|
+
groupId: number;
|
|
1312
|
+
terms: IEntitlementTerms[];
|
|
1313
|
+
}
|
|
1314
1314
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1315
1315
|
constructor();
|
|
1316
1316
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1393,6 +1393,10 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1393
1393
|
programSeasons: ProgramSeason[];
|
|
1394
1394
|
linkSEO: string;
|
|
1395
1395
|
}
|
|
1396
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1397
|
+
facilityId: number;
|
|
1398
|
+
resourceId: number;
|
|
1399
|
+
}
|
|
1396
1400
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1397
1401
|
name: string | null;
|
|
1398
1402
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
@@ -1408,13 +1412,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1408
1412
|
chargedAt?: Date;
|
|
1409
1413
|
originalPlannedDate?: Date;
|
|
1410
1414
|
}
|
|
1411
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1412
|
-
facilityId: number;
|
|
1413
|
-
resourceId: number;
|
|
1414
|
-
}
|
|
1415
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1416
|
-
code: string;
|
|
1417
|
-
}
|
|
1418
1415
|
export declare class Group extends BondBaseEntity {
|
|
1419
1416
|
name: string;
|
|
1420
1417
|
description?: string;
|
|
@@ -1431,6 +1428,9 @@ export declare class Group extends BondBaseEntity {
|
|
|
1431
1428
|
members: ISeasonAttendeeInfo[];
|
|
1432
1429
|
users: User[];
|
|
1433
1430
|
}
|
|
1431
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1432
|
+
code: string;
|
|
1433
|
+
}
|
|
1434
1434
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1435
1435
|
groupId: number;
|
|
1436
1436
|
itemId: number;
|
|
@@ -1473,6 +1473,15 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1473
1473
|
invoiceNotes: InvoiceNote[];
|
|
1474
1474
|
slots: Slot[];
|
|
1475
1475
|
}
|
|
1476
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1477
|
+
content: string;
|
|
1478
|
+
creatingUserId: number;
|
|
1479
|
+
user: User;
|
|
1480
|
+
isPublic: boolean;
|
|
1481
|
+
deletedAt: Date;
|
|
1482
|
+
invoiceId: number;
|
|
1483
|
+
invoice: Invoice;
|
|
1484
|
+
}
|
|
1476
1485
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1477
1486
|
email: string;
|
|
1478
1487
|
status: EEmailStatus;
|
|
@@ -1484,15 +1493,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1484
1493
|
mailParams?: any;
|
|
1485
1494
|
memo?: string;
|
|
1486
1495
|
}
|
|
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
|
-
}
|
|
1496
1496
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1497
1497
|
name: string | null;
|
|
1498
1498
|
description: string | null;
|
|
@@ -1519,6 +1519,14 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1519
1519
|
logo?: Media;
|
|
1520
1520
|
seasons: LeagueSeason[];
|
|
1521
1521
|
}
|
|
1522
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1523
|
+
invoiceId: number;
|
|
1524
|
+
paymentId: number;
|
|
1525
|
+
invoice: Invoice;
|
|
1526
|
+
payment: Payment;
|
|
1527
|
+
paidAmount?: number;
|
|
1528
|
+
currency: CurrencyEnum;
|
|
1529
|
+
}
|
|
1522
1530
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1523
1531
|
leagueId: number | null;
|
|
1524
1532
|
name: string | null;
|
|
@@ -1563,14 +1571,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1563
1571
|
league?: boolean;
|
|
1564
1572
|
facilities?: boolean;
|
|
1565
1573
|
}
|
|
1566
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1567
|
-
invoiceId: number;
|
|
1568
|
-
paymentId: number;
|
|
1569
|
-
invoice: Invoice;
|
|
1570
|
-
payment: Payment;
|
|
1571
|
-
paidAmount?: number;
|
|
1572
|
-
currency: CurrencyEnum;
|
|
1573
|
-
}
|
|
1574
1574
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1575
1575
|
invoiceId: number;
|
|
1576
1576
|
paymentId: number;
|
|
@@ -1581,22 +1581,6 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1581
1581
|
payment: Payment;
|
|
1582
1582
|
lineItem: LineItems;
|
|
1583
1583
|
}
|
|
1584
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1585
|
-
id: number;
|
|
1586
|
-
provider: string;
|
|
1587
|
-
providerId: string | null;
|
|
1588
|
-
parentId: number | null;
|
|
1589
|
-
parentType: string | null;
|
|
1590
|
-
status: number | null;
|
|
1591
|
-
token: string | null;
|
|
1592
|
-
refreshToken: string | null;
|
|
1593
|
-
tokenCreatedAt: Date | null;
|
|
1594
|
-
tokenValidUpTo: Date | null;
|
|
1595
|
-
createdAt: Date;
|
|
1596
|
-
updatedAt: Date;
|
|
1597
|
-
user: User;
|
|
1598
|
-
userId: number | null;
|
|
1599
|
-
}
|
|
1600
1584
|
export declare class LineItems extends BondBaseEntity {
|
|
1601
1585
|
constructor();
|
|
1602
1586
|
defineIsReverted(): void;
|
|
@@ -1652,6 +1636,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1652
1636
|
displayUnitPrice?: number;
|
|
1653
1637
|
displayQuantity?: number;
|
|
1654
1638
|
}
|
|
1639
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1640
|
+
id: number;
|
|
1641
|
+
provider: string;
|
|
1642
|
+
providerId: string | null;
|
|
1643
|
+
parentId: number | null;
|
|
1644
|
+
parentType: string | null;
|
|
1645
|
+
status: number | null;
|
|
1646
|
+
token: string | null;
|
|
1647
|
+
refreshToken: string | null;
|
|
1648
|
+
tokenCreatedAt: Date | null;
|
|
1649
|
+
tokenValidUpTo: Date | null;
|
|
1650
|
+
createdAt: Date;
|
|
1651
|
+
updatedAt: Date;
|
|
1652
|
+
user: User;
|
|
1653
|
+
userId: number | null;
|
|
1654
|
+
}
|
|
1655
1655
|
export declare class Media extends BondBaseEntity {
|
|
1656
1656
|
url: string;
|
|
1657
1657
|
name: string | null;
|
|
@@ -1756,6 +1756,12 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1756
1756
|
isMandatory: boolean;
|
|
1757
1757
|
productId: number;
|
|
1758
1758
|
}
|
|
1759
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1760
|
+
token: string | null;
|
|
1761
|
+
userId: number | null;
|
|
1762
|
+
validUntil: Date | null;
|
|
1763
|
+
active: boolean | null;
|
|
1764
|
+
}
|
|
1759
1765
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1760
1766
|
price: number;
|
|
1761
1767
|
paymentProcessorId: string;
|
|
@@ -1783,31 +1789,31 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1783
1789
|
refundReasonId?: number;
|
|
1784
1790
|
refundNote?: string;
|
|
1785
1791
|
}
|
|
1786
|
-
export declare class
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1792
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1793
|
+
content: string;
|
|
1794
|
+
creatingUserId: number;
|
|
1795
|
+
user: User;
|
|
1796
|
+
isPublic: boolean;
|
|
1797
|
+
deletedAt: Date;
|
|
1798
|
+
paymentId: number;
|
|
1799
|
+
payment: Payment;
|
|
1791
1800
|
}
|
|
1792
1801
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1793
1802
|
failureIndex: number;
|
|
1794
1803
|
waitingDays: number;
|
|
1795
1804
|
}
|
|
1805
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1806
|
+
paymentPlanId: number;
|
|
1807
|
+
paymentDate: Date;
|
|
1808
|
+
deletedAt?: Date;
|
|
1809
|
+
paymentPlan: ProductPaymentPlan;
|
|
1810
|
+
}
|
|
1796
1811
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1797
1812
|
paymentInstallmentId?: number;
|
|
1798
1813
|
invoiceId: number;
|
|
1799
1814
|
reason: EFailedPaymentReasons;
|
|
1800
1815
|
errorMessage: string;
|
|
1801
1816
|
}
|
|
1802
|
-
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1803
|
-
content: string;
|
|
1804
|
-
creatingUserId: number;
|
|
1805
|
-
user: User;
|
|
1806
|
-
isPublic: boolean;
|
|
1807
|
-
deletedAt: Date;
|
|
1808
|
-
paymentId: number;
|
|
1809
|
-
payment: Payment;
|
|
1810
|
-
}
|
|
1811
1817
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1812
1818
|
userId: number | null;
|
|
1813
1819
|
ownerId: number | null;
|
|
@@ -1843,12 +1849,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1843
1849
|
discountValue?: number;
|
|
1844
1850
|
taxIncludedPrice?: number;
|
|
1845
1851
|
}
|
|
1846
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1847
|
-
paymentPlanId: number;
|
|
1848
|
-
paymentDate: Date;
|
|
1849
|
-
deletedAt?: Date;
|
|
1850
|
-
paymentPlan: ProductPaymentPlan;
|
|
1851
|
-
}
|
|
1852
1852
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1853
1853
|
name: string;
|
|
1854
1854
|
quantity: number;
|
|
@@ -1914,6 +1914,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1914
1914
|
durationDays?: number;
|
|
1915
1915
|
level?: ProductPackageLevelEnum;
|
|
1916
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
|
+
}
|
|
1917
1926
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1918
1927
|
productId: number;
|
|
1919
1928
|
resourceId: number;
|
|
@@ -1925,15 +1934,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1925
1934
|
productPackages: ProductPackage[];
|
|
1926
1935
|
resourceName?: string;
|
|
1927
1936
|
}
|
|
1928
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1929
|
-
productId: number;
|
|
1930
|
-
maxMonths?: number;
|
|
1931
|
-
dayOfMonth?: number;
|
|
1932
|
-
name: string;
|
|
1933
|
-
deletedAt?: Date;
|
|
1934
|
-
schedule: PaymentPlanSchedule[];
|
|
1935
|
-
product?: Product;
|
|
1936
|
-
}
|
|
1937
1937
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1938
1938
|
productId: number;
|
|
1939
1939
|
variantTitleId: number;
|
|
@@ -1966,6 +1966,14 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1966
1966
|
slots?: Slot[];
|
|
1967
1967
|
addons?: Addon[];
|
|
1968
1968
|
}
|
|
1969
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1970
|
+
type: ProgramHighlightTypeEnum;
|
|
1971
|
+
ordinal: number | null;
|
|
1972
|
+
title: string | null;
|
|
1973
|
+
data: any | null;
|
|
1974
|
+
program: Program;
|
|
1975
|
+
deletedAt?: Date;
|
|
1976
|
+
}
|
|
1969
1977
|
export declare class Program extends BondBaseEntity {
|
|
1970
1978
|
type: ProgramTypesEnum;
|
|
1971
1979
|
name: string;
|
|
@@ -2043,14 +2051,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2043
2051
|
facility: Facility;
|
|
2044
2052
|
purchasedResources: PurchasedResource[];
|
|
2045
2053
|
}
|
|
2046
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2047
|
-
type: ProgramHighlightTypeEnum;
|
|
2048
|
-
ordinal: number | null;
|
|
2049
|
-
title: string | null;
|
|
2050
|
-
data: any | null;
|
|
2051
|
-
program: Program;
|
|
2052
|
-
deletedAt?: Date;
|
|
2053
|
-
}
|
|
2054
2054
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2055
2055
|
productUserId: number;
|
|
2056
2056
|
resourceId: number;
|
|
@@ -2073,24 +2073,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2073
2073
|
product?: Product;
|
|
2074
2074
|
event?: Event;
|
|
2075
2075
|
}
|
|
2076
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2077
|
-
title: string | null;
|
|
2078
|
-
answerTitle: AnswerTitle;
|
|
2079
|
-
}
|
|
2080
|
-
export declare class Questions extends BondBaseEntity {
|
|
2081
|
-
questionType: string | null;
|
|
2082
|
-
ordinal: number | null;
|
|
2083
|
-
pageOrdinal: number | null;
|
|
2084
|
-
isActive: boolean | null;
|
|
2085
|
-
isMandatory: boolean | null;
|
|
2086
|
-
metaData: any | null;
|
|
2087
|
-
question: string | null;
|
|
2088
|
-
creatorId: number | null;
|
|
2089
|
-
creatorType: string | null;
|
|
2090
|
-
userCreatorId: number | null;
|
|
2091
|
-
ownerId: number | null;
|
|
2092
|
-
questionnaireId: number | null;
|
|
2093
|
-
}
|
|
2094
2076
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2095
2077
|
reason: string;
|
|
2096
2078
|
ordinal: number;
|
|
@@ -2107,43 +2089,19 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2107
2089
|
closeTime?: string;
|
|
2108
2090
|
deletedAt?: Date;
|
|
2109
2091
|
}
|
|
2110
|
-
export declare class
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2092
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2093
|
+
title: string | null;
|
|
2094
|
+
answerTitle: AnswerTitle;
|
|
2095
|
+
}
|
|
2096
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2097
|
+
name?: string;
|
|
2114
2098
|
description?: string;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
width?: number;
|
|
2122
|
-
length?: number;
|
|
2123
|
-
amenities?: AmenitiesEnum[];
|
|
2124
|
-
parentSpaceId?: number;
|
|
2125
|
-
ordinal?: number;
|
|
2126
|
-
isAddOn: boolean;
|
|
2127
|
-
ages?: ResourceAgesEnum;
|
|
2128
|
-
deletedAt?: Date;
|
|
2129
|
-
activityTimes: ActivityTimes[];
|
|
2130
|
-
facilities: Facility[];
|
|
2131
|
-
slots?: Slot[];
|
|
2132
|
-
addons?: Addon[];
|
|
2133
|
-
facilityId: number;
|
|
2134
|
-
facility: Facility;
|
|
2135
|
-
purchasedResources: PurchasedResource[];
|
|
2136
|
-
linkSEO: string;
|
|
2137
|
-
}
|
|
2138
|
-
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2139
|
-
name?: string;
|
|
2140
|
-
description?: string;
|
|
2141
|
-
color?: string;
|
|
2142
|
-
status?: string;
|
|
2143
|
-
privacySetting?: string;
|
|
2144
|
-
reservationType?: string;
|
|
2145
|
-
invoiceId?: string;
|
|
2146
|
-
customerId?: number;
|
|
2099
|
+
color?: string;
|
|
2100
|
+
status?: string;
|
|
2101
|
+
privacySetting?: string;
|
|
2102
|
+
reservationType?: string;
|
|
2103
|
+
invoiceId?: string;
|
|
2104
|
+
customerId?: number;
|
|
2147
2105
|
length?: number;
|
|
2148
2106
|
price?: number;
|
|
2149
2107
|
sessions?: number;
|
|
@@ -2167,6 +2125,48 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2167
2125
|
publicNotes?: string;
|
|
2168
2126
|
slots?: Slot[];
|
|
2169
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
|
+
}
|
|
2142
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2143
|
+
name: string;
|
|
2144
|
+
resourceType: ResourceTypeEnum;
|
|
2145
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2146
|
+
description?: string;
|
|
2147
|
+
longDescription?: string;
|
|
2148
|
+
surface?: SurfacesEnum;
|
|
2149
|
+
properties?: SpacePropertiesEnum[];
|
|
2150
|
+
mainMediaId?: number;
|
|
2151
|
+
mainMedia: Media;
|
|
2152
|
+
sports: SportsEnum[];
|
|
2153
|
+
width?: number;
|
|
2154
|
+
length?: number;
|
|
2155
|
+
amenities?: AmenitiesEnum[];
|
|
2156
|
+
parentSpaceId?: number;
|
|
2157
|
+
ordinal?: number;
|
|
2158
|
+
isAddOn: boolean;
|
|
2159
|
+
ages?: ResourceAgesEnum;
|
|
2160
|
+
deletedAt?: Date;
|
|
2161
|
+
activityTimes: ActivityTimes[];
|
|
2162
|
+
facilities: Facility[];
|
|
2163
|
+
slots?: Slot[];
|
|
2164
|
+
addons?: Addon[];
|
|
2165
|
+
facilityId: number;
|
|
2166
|
+
facility: Facility;
|
|
2167
|
+
purchasedResources: PurchasedResource[];
|
|
2168
|
+
linkSEO: string;
|
|
2169
|
+
}
|
|
2170
2170
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2171
2171
|
name: string;
|
|
2172
2172
|
facilityId: number;
|
|
@@ -2196,6 +2196,12 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2196
2196
|
deletedAt?: Date;
|
|
2197
2197
|
purchasedResource: PurchasedResource;
|
|
2198
2198
|
}
|
|
2199
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2200
|
+
name: string | null;
|
|
2201
|
+
ordinal: number | null;
|
|
2202
|
+
seasonId: number | null;
|
|
2203
|
+
color: string | null;
|
|
2204
|
+
}
|
|
2199
2205
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2200
2206
|
seasonId?: number;
|
|
2201
2207
|
userId?: number;
|
|
@@ -2211,12 +2217,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2211
2217
|
purchasedResource: PurchasedResource;
|
|
2212
2218
|
season: LeagueSeason;
|
|
2213
2219
|
}
|
|
2214
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2215
|
-
name: string | null;
|
|
2216
|
-
ordinal: number | null;
|
|
2217
|
-
seasonId: number | null;
|
|
2218
|
-
color: string | null;
|
|
2219
|
-
}
|
|
2220
2220
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2221
2221
|
seasonId: number | null;
|
|
2222
2222
|
teamId: number | null;
|
|
@@ -2227,6 +2227,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2227
2227
|
metaData: any | null;
|
|
2228
2228
|
team: Team;
|
|
2229
2229
|
}
|
|
2230
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2231
|
+
blockingSpaceId: number;
|
|
2232
|
+
blockedSpaceId: number;
|
|
2233
|
+
}
|
|
2230
2234
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2231
2235
|
name: string;
|
|
2232
2236
|
facilityId: number;
|
|
@@ -2238,10 +2242,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2238
2242
|
subcategories: Subcategory[];
|
|
2239
2243
|
shifts?: Shift[];
|
|
2240
2244
|
}
|
|
2241
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2242
|
-
blockingSpaceId: number;
|
|
2243
|
-
blockedSpaceId: number;
|
|
2244
|
-
}
|
|
2245
2245
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2246
2246
|
stationId: number;
|
|
2247
2247
|
subcategoryId: number;
|
|
@@ -2250,6 +2250,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2250
2250
|
station: Station;
|
|
2251
2251
|
subcategory: Subcategory;
|
|
2252
2252
|
}
|
|
2253
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2254
|
+
productType: ProductTypesEnum;
|
|
2255
|
+
name: string;
|
|
2256
|
+
ordinal?: number;
|
|
2257
|
+
deletedAt?: Date;
|
|
2258
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2259
|
+
stations: Station[];
|
|
2260
|
+
}
|
|
2253
2261
|
export declare class Team extends BondBaseEntity {
|
|
2254
2262
|
name: string | null;
|
|
2255
2263
|
description: string | null;
|
|
@@ -2284,14 +2292,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2284
2292
|
gender: number | null;
|
|
2285
2293
|
questionnaireId: number | null;
|
|
2286
2294
|
}
|
|
2287
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2288
|
-
productType: ProductTypesEnum;
|
|
2289
|
-
name: string;
|
|
2290
|
-
ordinal?: number;
|
|
2291
|
-
deletedAt?: Date;
|
|
2292
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2293
|
-
stations: Station[];
|
|
2294
|
-
}
|
|
2295
2295
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2296
2296
|
email: string;
|
|
2297
2297
|
teamId: number;
|
|
@@ -2310,12 +2310,6 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2310
2310
|
role: TeamMemberRoleEnum;
|
|
2311
2311
|
user: User;
|
|
2312
2312
|
}
|
|
2313
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
|
-
entityId: number | null;
|
|
2315
|
-
userId: number | null;
|
|
2316
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
-
user: User;
|
|
2318
|
-
}
|
|
2319
2313
|
export declare class User extends BondBaseEntity {
|
|
2320
2314
|
firstName: string | null;
|
|
2321
2315
|
lastName: string | null;
|
|
@@ -2355,6 +2349,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2355
2349
|
invoiceNotes: InvoiceNote[];
|
|
2356
2350
|
paymentNotes: PaymentNote[];
|
|
2357
2351
|
}
|
|
2352
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2353
|
+
entityId: number | null;
|
|
2354
|
+
userId: number | null;
|
|
2355
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2356
|
+
user: User;
|
|
2357
|
+
}
|
|
2358
2358
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2359
2359
|
familyAccountId: number;
|
|
2360
2360
|
userId: number;
|
|
@@ -2376,6 +2376,12 @@ export declare class UsersInGroup extends BondBaseEntity {
|
|
|
2376
2376
|
userId: number;
|
|
2377
2377
|
deletedAt?: Date;
|
|
2378
2378
|
}
|
|
2379
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2380
|
+
name: string;
|
|
2381
|
+
variantTitleId: number;
|
|
2382
|
+
variantTitle: VariantTitle;
|
|
2383
|
+
deletedAt?: Date;
|
|
2384
|
+
}
|
|
2379
2385
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2380
2386
|
name: string;
|
|
2381
2387
|
variants: Variant[];
|
|
@@ -2388,439 +2394,73 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2388
2394
|
membershipCollectionId?: string;
|
|
2389
2395
|
programsCollectionId?: string;
|
|
2390
2396
|
}
|
|
2391
|
-
export declare
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
deletedAt?: Date;
|
|
2396
|
-
}
|
|
2397
|
-
export interface IEntitlementTerms {
|
|
2398
|
-
type: EntitlementTermsTypesEnum;
|
|
2399
|
-
id?: number;
|
|
2400
|
-
value?: string;
|
|
2401
|
-
minValue?: string;
|
|
2402
|
-
maxValue?: string;
|
|
2403
|
-
}
|
|
2404
|
-
export interface IQuestionAnswerObject {
|
|
2405
|
-
questionId: number;
|
|
2406
|
-
value: string;
|
|
2407
|
-
}
|
|
2408
|
-
export interface ILowestPriceForItem {
|
|
2409
|
-
itemId: number;
|
|
2410
|
-
itemType: ResourceNameTypeEnum;
|
|
2411
|
-
groupId: number;
|
|
2412
|
-
groupName?: string;
|
|
2413
|
-
price: number;
|
|
2414
|
-
overridesPrice: boolean;
|
|
2415
|
-
}
|
|
2416
|
-
export interface IResourcesAvailability {
|
|
2417
|
-
resourceType: ResourceNameTypeEnum;
|
|
2418
|
-
quantity: number;
|
|
2419
|
-
resourcesIds: number[];
|
|
2420
|
-
isPunchCard: boolean;
|
|
2421
|
-
resources?: any[];
|
|
2422
|
-
}
|
|
2423
|
-
export interface IPackageResponse {
|
|
2424
|
-
parentProduct: Product;
|
|
2425
|
-
children: IChildProduct[];
|
|
2426
|
-
}
|
|
2427
|
-
export interface IChildProduct {
|
|
2428
|
-
product: Product;
|
|
2429
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2430
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2431
|
-
}
|
|
2432
|
-
export interface ISeasonAttendeeInfo {
|
|
2433
|
-
applicationAnswers: Answer[];
|
|
2434
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2435
|
-
invoices: Invoice[];
|
|
2436
|
-
payments: Payment[];
|
|
2437
|
-
products: Product[];
|
|
2438
|
-
redeemNext: ProductsUsers;
|
|
2397
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2398
|
+
QUESTION = "question",
|
|
2399
|
+
CITY = "city",
|
|
2400
|
+
MEMBERSHIP = "membership"
|
|
2439
2401
|
}
|
|
2440
|
-
export
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2402
|
+
export declare enum ResourceNameTypeEnum {
|
|
2403
|
+
EVENT = "event",
|
|
2404
|
+
VENUE = "venue",
|
|
2405
|
+
TEAM = "team",
|
|
2406
|
+
LEAGUE = "league",
|
|
2407
|
+
USER = "user",
|
|
2408
|
+
ORGANIZATION = "organization",
|
|
2409
|
+
APP = "app",
|
|
2410
|
+
FEED = "feed",
|
|
2411
|
+
MATCH = "match",
|
|
2412
|
+
ROUND = "round",
|
|
2413
|
+
PORTAL = "portal",
|
|
2414
|
+
SEASON = "season",
|
|
2415
|
+
TOURNAMENT = "tournament",
|
|
2416
|
+
MEMBERSHIP = "membership",
|
|
2417
|
+
DIVISION = "division",
|
|
2418
|
+
GAMESLOT = "gameslot",
|
|
2419
|
+
SPACE = "space",
|
|
2420
|
+
RESERVATION = "reservation",
|
|
2421
|
+
INVOICE = "invoice",
|
|
2422
|
+
CUSTOMER = "customer",
|
|
2423
|
+
PACKAGE = "package",
|
|
2424
|
+
FACILITY = "facility",
|
|
2425
|
+
PROGRAM = "program",
|
|
2426
|
+
PROGRAM_SEASON = "program_season",
|
|
2427
|
+
PRODUCT = "product",
|
|
2428
|
+
GROUP = "group",
|
|
2429
|
+
VARIANT = "variant",
|
|
2430
|
+
SLOT = "slot",
|
|
2431
|
+
ADDON = "addon"
|
|
2452
2432
|
}
|
|
2453
|
-
export declare
|
|
2454
|
-
|
|
2455
|
-
|
|
2433
|
+
export declare enum DirectBookingTypesEnum {
|
|
2434
|
+
DIRECT_FOR_ALL = "all",
|
|
2435
|
+
DIRECT_FOR_NONE = "none",
|
|
2436
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2437
|
+
NO_SETTING = "no_setting"
|
|
2456
2438
|
}
|
|
2457
|
-
export declare
|
|
2458
|
-
|
|
2459
|
-
|
|
2439
|
+
export declare enum GenderEnum {
|
|
2440
|
+
OTHER = 1,
|
|
2441
|
+
MALE = 2,
|
|
2442
|
+
FEMALE = 3
|
|
2460
2443
|
}
|
|
2461
|
-
export
|
|
2462
|
-
|
|
2444
|
+
export declare enum LevelOfPlayEnum {
|
|
2445
|
+
BEGINNER = 1,
|
|
2446
|
+
INTERMEDIATE = 2,
|
|
2447
|
+
ADVANCED = 3,
|
|
2448
|
+
SEMIPRO = 4,
|
|
2449
|
+
SPECTATOR = 5
|
|
2463
2450
|
}
|
|
2464
|
-
export
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2451
|
+
export declare enum ProgramTypesEnum {
|
|
2452
|
+
LEAGUE = 0,
|
|
2453
|
+
TOURNAMENT = 1,
|
|
2454
|
+
CLASS = 2,
|
|
2455
|
+
CLINIC = 3,
|
|
2456
|
+
CAMP = 4,
|
|
2457
|
+
LESSON = 5,
|
|
2458
|
+
CLUB_TEAM = 6
|
|
2469
2459
|
}
|
|
2470
|
-
export
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
}
|
|
2475
|
-
export interface IPayment {
|
|
2476
|
-
id: number;
|
|
2477
|
-
total: number;
|
|
2478
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2479
|
-
status: PaymentStatusEnum;
|
|
2480
|
-
createdAt: Date;
|
|
2481
|
-
invoices: number[];
|
|
2482
|
-
}
|
|
2483
|
-
export interface IPaginationData<T> {
|
|
2484
|
-
meta: {
|
|
2485
|
-
totalItems: number;
|
|
2486
|
-
itemsPerPage: number;
|
|
2487
|
-
totalPages: number;
|
|
2488
|
-
currentPage: number;
|
|
2489
|
-
};
|
|
2490
|
-
data: T[];
|
|
2491
|
-
}
|
|
2492
|
-
export interface IPricesOfProductsResults {
|
|
2493
|
-
productId: number;
|
|
2494
|
-
userId: number;
|
|
2495
|
-
price: number;
|
|
2496
|
-
groupId?: number;
|
|
2497
|
-
groupName?: string;
|
|
2498
|
-
originalPrice?: number;
|
|
2499
|
-
priceWithoutTax: number;
|
|
2500
|
-
tax: number;
|
|
2501
|
-
isTaxInclusive: boolean;
|
|
2502
|
-
}
|
|
2503
|
-
export interface IPaymentMethodToFundLeft {
|
|
2504
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2505
|
-
paymentMethodId: string;
|
|
2506
|
-
fundLeft: number;
|
|
2507
|
-
ccLast4?: string;
|
|
2508
|
-
ccBrand?: string;
|
|
2509
|
-
}
|
|
2510
|
-
export interface IVariantsAndTitle {
|
|
2511
|
-
title: VariantTitle;
|
|
2512
|
-
variants: Variant[];
|
|
2513
|
-
}
|
|
2514
|
-
export interface IProgramSeasonActivityTimes {
|
|
2515
|
-
dayOfWeek: number;
|
|
2516
|
-
open: string;
|
|
2517
|
-
close: string;
|
|
2518
|
-
}
|
|
2519
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2520
|
-
date: string;
|
|
2521
|
-
startTime: string;
|
|
2522
|
-
endTime: string;
|
|
2523
|
-
}
|
|
2524
|
-
export interface IBlockedDates {
|
|
2525
|
-
name: string;
|
|
2526
|
-
startDate: Date;
|
|
2527
|
-
endDate: Date;
|
|
2528
|
-
}
|
|
2529
|
-
export interface ISingleMemberForRenewal {
|
|
2530
|
-
member_id: number;
|
|
2531
|
-
member_membershipId: number;
|
|
2532
|
-
member_userId: number;
|
|
2533
|
-
member_nextPaymentMethodId?: string;
|
|
2534
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2535
|
-
member_answerTitleIds?: number[];
|
|
2536
|
-
member_organizationId: number;
|
|
2537
|
-
product_productPrice: number;
|
|
2538
|
-
product_productId: number;
|
|
2539
|
-
invoice_payingUserId: number;
|
|
2540
|
-
invoice_paymentMethodId: string;
|
|
2541
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2542
|
-
endDate: Date;
|
|
2543
|
-
membership_name: string;
|
|
2544
|
-
user_firstName: string;
|
|
2545
|
-
user_lastName: string;
|
|
2546
|
-
user_email: string;
|
|
2547
|
-
}
|
|
2548
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2549
|
-
package_parentProductId: number;
|
|
2550
|
-
product2_productPrice: number;
|
|
2551
|
-
familyid: number;
|
|
2552
|
-
invoice_id: number;
|
|
2553
|
-
}
|
|
2554
|
-
export interface IResourceRegistrationData {
|
|
2555
|
-
id: number;
|
|
2556
|
-
resourceType: ResourceNameTypeEnum;
|
|
2557
|
-
openNumDays?: number;
|
|
2558
|
-
openNumMinutes?: number;
|
|
2559
|
-
openTime?: string;
|
|
2560
|
-
closeNumDays?: number;
|
|
2561
|
-
closeNumMinutes?: number;
|
|
2562
|
-
closeTime?: string;
|
|
2563
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2564
|
-
}
|
|
2565
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2566
|
-
id: number;
|
|
2567
|
-
startDate: string;
|
|
2568
|
-
startTime: string;
|
|
2569
|
-
}
|
|
2570
|
-
export interface IRegistrationConstraintsSetting {
|
|
2571
|
-
numDays?: number;
|
|
2572
|
-
numMinutes?: number;
|
|
2573
|
-
}
|
|
2574
|
-
export interface IAttendeeDataToNotify {
|
|
2575
|
-
firstName: string;
|
|
2576
|
-
lastName: string;
|
|
2577
|
-
email: string;
|
|
2578
|
-
sessionName: string;
|
|
2579
|
-
parentSessionName?: string;
|
|
2580
|
-
organizationName: string;
|
|
2581
|
-
programName: string;
|
|
2582
|
-
}
|
|
2583
|
-
export interface IEventInSchedule {
|
|
2584
|
-
eventId: number;
|
|
2585
|
-
eventName: string;
|
|
2586
|
-
eventStartDate: string;
|
|
2587
|
-
eventEndDate: string;
|
|
2588
|
-
eventStartTime: string;
|
|
2589
|
-
eventEndTime: string;
|
|
2590
|
-
programId: number;
|
|
2591
|
-
programName: string;
|
|
2592
|
-
programType: ProgramTypesEnum;
|
|
2593
|
-
sessionId: number;
|
|
2594
|
-
sessionName: string;
|
|
2595
|
-
sports: number;
|
|
2596
|
-
spaces: {
|
|
2597
|
-
spaceId: number;
|
|
2598
|
-
spaceName: string;
|
|
2599
|
-
}[];
|
|
2600
|
-
status?: RegistrationValidationStatusEnum;
|
|
2601
|
-
}
|
|
2602
|
-
export interface ISlotInSchedule {
|
|
2603
|
-
facilityId: number;
|
|
2604
|
-
facilityName: string;
|
|
2605
|
-
spaces: ISpaceWithSlots[];
|
|
2606
|
-
}
|
|
2607
|
-
export interface ISpaceWithSlots {
|
|
2608
|
-
id: number;
|
|
2609
|
-
name: string;
|
|
2610
|
-
slots: ISlotReservationData[];
|
|
2611
|
-
}
|
|
2612
|
-
export interface ISlotReservationData {
|
|
2613
|
-
reservationId: number;
|
|
2614
|
-
reservationName: string;
|
|
2615
|
-
date: string;
|
|
2616
|
-
startTime: string;
|
|
2617
|
-
endTime: string;
|
|
2618
|
-
notes: string;
|
|
2619
|
-
spaceId: number;
|
|
2620
|
-
isRental: boolean;
|
|
2621
|
-
slotType: SlotTypeEnum;
|
|
2622
|
-
slotId: number;
|
|
2623
|
-
eventId: number;
|
|
2624
|
-
isPrivate: boolean;
|
|
2625
|
-
}
|
|
2626
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2627
|
-
parentSessionId: number;
|
|
2628
|
-
parentSessionName: string;
|
|
2629
|
-
eventTimezone: string;
|
|
2630
|
-
maxParticipants: number;
|
|
2631
|
-
maxMaleParticipants: number;
|
|
2632
|
-
maxFemaleParticipants: number;
|
|
2633
|
-
isPunchCard: boolean;
|
|
2634
|
-
}
|
|
2635
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2636
|
-
id: number;
|
|
2637
|
-
name: string;
|
|
2638
|
-
bookingCreatorId: number;
|
|
2639
|
-
}
|
|
2640
|
-
export interface IRawSlotInSchedule {
|
|
2641
|
-
startDate: string;
|
|
2642
|
-
endDate: string;
|
|
2643
|
-
startTime: string;
|
|
2644
|
-
endTime: string;
|
|
2645
|
-
reservationId: number;
|
|
2646
|
-
eventTitle: string;
|
|
2647
|
-
publicNotes: string;
|
|
2648
|
-
spaceId: number;
|
|
2649
|
-
creatorType: ResourceNameTypeEnum;
|
|
2650
|
-
slotType: SlotTypeEnum;
|
|
2651
|
-
slotId: number;
|
|
2652
|
-
eventId: number;
|
|
2653
|
-
isPrivate: boolean;
|
|
2654
|
-
}
|
|
2655
|
-
export interface IPurchasedResourcesRaw {
|
|
2656
|
-
purchasedId: number;
|
|
2657
|
-
purchasedProductUserId: number;
|
|
2658
|
-
purchasedResourceId: number;
|
|
2659
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2660
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2661
|
-
pUserId: number;
|
|
2662
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2663
|
-
pUserProductId: number;
|
|
2664
|
-
pUserProductName: string;
|
|
2665
|
-
pUserProductPrice: number;
|
|
2666
|
-
pUserProductPriceCurrency: string;
|
|
2667
|
-
pUserProductQuantity: number;
|
|
2668
|
-
pUserProductQuantityLeft: number;
|
|
2669
|
-
pUserUserId: number;
|
|
2670
|
-
}
|
|
2671
|
-
export interface IUsersPasses {
|
|
2672
|
-
userId: number;
|
|
2673
|
-
userFirstName: string;
|
|
2674
|
-
userLastName: string;
|
|
2675
|
-
organizationId: number;
|
|
2676
|
-
programId: number;
|
|
2677
|
-
programName: string;
|
|
2678
|
-
sessionId: number;
|
|
2679
|
-
sessionName: string;
|
|
2680
|
-
productId: number;
|
|
2681
|
-
productName: string;
|
|
2682
|
-
productUserId: number;
|
|
2683
|
-
purchaseDate: Date;
|
|
2684
|
-
passesLeft: number;
|
|
2685
|
-
}
|
|
2686
|
-
export interface ISessionsLandingPage {
|
|
2687
|
-
sessionId: number;
|
|
2688
|
-
name: string;
|
|
2689
|
-
startDate: Date;
|
|
2690
|
-
endDate: Date;
|
|
2691
|
-
registrationStartDate: Date;
|
|
2692
|
-
registrationEndDate: Date;
|
|
2693
|
-
sport: SportsEnum;
|
|
2694
|
-
minAge: string;
|
|
2695
|
-
maxAge: string;
|
|
2696
|
-
maxParticipants?: number;
|
|
2697
|
-
gender: GenderEnum;
|
|
2698
|
-
activityTimes: ActivityTimes[];
|
|
2699
|
-
earlyRegistrationStartDate?: Date;
|
|
2700
|
-
earlyRegistrationEndDate?: Date;
|
|
2701
|
-
lateRegistrationStartDate?: Date;
|
|
2702
|
-
lateRegistrationEndDate?: Date;
|
|
2703
|
-
attendeeCount?: number;
|
|
2704
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2705
|
-
}
|
|
2706
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2707
|
-
hasRequiredMembership: boolean;
|
|
2708
|
-
hasEntitledPricing: boolean;
|
|
2709
|
-
lowestPrice?: number;
|
|
2710
|
-
products?: ISessionLandingPageProduct[];
|
|
2711
|
-
}
|
|
2712
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2713
|
-
hasRequiredMembership: boolean;
|
|
2714
|
-
hasEntitledPricing: boolean;
|
|
2715
|
-
products?: ISessionLandingPageProduct[];
|
|
2716
|
-
segments?: Event[] | ProgramSeason[];
|
|
2717
|
-
programName: string;
|
|
2718
|
-
programId: number;
|
|
2719
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2720
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2721
|
-
}
|
|
2722
|
-
export interface ISlimAddons {
|
|
2723
|
-
addons?: {
|
|
2724
|
-
id: number;
|
|
2725
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2726
|
-
name: string;
|
|
2727
|
-
productType?: ProductTypesEnum;
|
|
2728
|
-
productSubType?: string;
|
|
2729
|
-
}[];
|
|
2730
|
-
}
|
|
2731
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2732
|
-
id: number;
|
|
2733
|
-
name: string;
|
|
2734
|
-
startDate?: Date;
|
|
2735
|
-
endDate?: Date;
|
|
2736
|
-
downpayment?: number;
|
|
2737
|
-
description?: string;
|
|
2738
|
-
prices: Price[];
|
|
2739
|
-
productSubType?: ProductSubTypesEnum;
|
|
2740
|
-
punchCard: boolean;
|
|
2741
|
-
isAddon: boolean;
|
|
2742
|
-
defaultPriceId?: number;
|
|
2743
|
-
}
|
|
2744
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2745
|
-
destinationId?: string;
|
|
2746
|
-
stripeCustomerId?: string;
|
|
2747
|
-
fee?: number;
|
|
2748
|
-
}
|
|
2749
|
-
export interface IReservationCreatorData {
|
|
2750
|
-
type: ResourceNameTypeEnum;
|
|
2751
|
-
id: number;
|
|
2752
|
-
organizationId: number;
|
|
2753
|
-
startDate: string;
|
|
2754
|
-
endDate: string;
|
|
2755
|
-
sportId: number;
|
|
2756
|
-
}
|
|
2757
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2758
|
-
QUESTION = "question",
|
|
2759
|
-
CITY = "city",
|
|
2760
|
-
MEMBERSHIP = "membership"
|
|
2761
|
-
}
|
|
2762
|
-
export declare enum ResourceNameTypeEnum {
|
|
2763
|
-
EVENT = "event",
|
|
2764
|
-
VENUE = "venue",
|
|
2765
|
-
TEAM = "team",
|
|
2766
|
-
LEAGUE = "league",
|
|
2767
|
-
USER = "user",
|
|
2768
|
-
ORGANIZATION = "organization",
|
|
2769
|
-
APP = "app",
|
|
2770
|
-
FEED = "feed",
|
|
2771
|
-
MATCH = "match",
|
|
2772
|
-
ROUND = "round",
|
|
2773
|
-
PORTAL = "portal",
|
|
2774
|
-
SEASON = "season",
|
|
2775
|
-
TOURNAMENT = "tournament",
|
|
2776
|
-
MEMBERSHIP = "membership",
|
|
2777
|
-
DIVISION = "division",
|
|
2778
|
-
GAMESLOT = "gameslot",
|
|
2779
|
-
SPACE = "space",
|
|
2780
|
-
RESERVATION = "reservation",
|
|
2781
|
-
INVOICE = "invoice",
|
|
2782
|
-
CUSTOMER = "customer",
|
|
2783
|
-
PACKAGE = "package",
|
|
2784
|
-
FACILITY = "facility",
|
|
2785
|
-
PROGRAM = "program",
|
|
2786
|
-
PROGRAM_SEASON = "program_season",
|
|
2787
|
-
PRODUCT = "product",
|
|
2788
|
-
GROUP = "group",
|
|
2789
|
-
VARIANT = "variant",
|
|
2790
|
-
SLOT = "slot",
|
|
2791
|
-
ADDON = "addon"
|
|
2792
|
-
}
|
|
2793
|
-
export declare enum DirectBookingTypesEnum {
|
|
2794
|
-
DIRECT_FOR_ALL = "all",
|
|
2795
|
-
DIRECT_FOR_NONE = "none",
|
|
2796
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2797
|
-
NO_SETTING = "no_setting"
|
|
2798
|
-
}
|
|
2799
|
-
export declare enum GenderEnum {
|
|
2800
|
-
OTHER = 1,
|
|
2801
|
-
MALE = 2,
|
|
2802
|
-
FEMALE = 3
|
|
2803
|
-
}
|
|
2804
|
-
export declare enum LevelOfPlayEnum {
|
|
2805
|
-
BEGINNER = 1,
|
|
2806
|
-
INTERMEDIATE = 2,
|
|
2807
|
-
ADVANCED = 3,
|
|
2808
|
-
SEMIPRO = 4,
|
|
2809
|
-
SPECTATOR = 5
|
|
2810
|
-
}
|
|
2811
|
-
export declare enum ProgramTypesEnum {
|
|
2812
|
-
LEAGUE = 0,
|
|
2813
|
-
TOURNAMENT = 1,
|
|
2814
|
-
CLASS = 2,
|
|
2815
|
-
CLINIC = 3,
|
|
2816
|
-
CAMP = 4,
|
|
2817
|
-
LESSON = 5,
|
|
2818
|
-
CLUB_TEAM = 6
|
|
2819
|
-
}
|
|
2820
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2821
|
-
ROUND_ROBIN = 1,
|
|
2822
|
-
BRACKETS = 2,
|
|
2823
|
-
CAMP_CLINIC_CLASS = 3
|
|
2460
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2461
|
+
ROUND_ROBIN = 1,
|
|
2462
|
+
BRACKETS = 2,
|
|
2463
|
+
CAMP_CLINIC_CLASS = 3
|
|
2824
2464
|
}
|
|
2825
2465
|
export declare enum SportsEnum {
|
|
2826
2466
|
SOFTBALL = 1,
|
|
@@ -2994,6 +2634,7 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2994
2634
|
BALANCE = "balance",
|
|
2995
2635
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2996
2636
|
OTHER = "other",
|
|
2637
|
+
LOST_DEBT = "lost-debt",
|
|
2997
2638
|
MIGRATED = "migrated",
|
|
2998
2639
|
VOID = "void",
|
|
2999
2640
|
GIFT_CARD = "gift-card"
|
|
@@ -3069,249 +2710,614 @@ export declare enum ActionTypesEnum {
|
|
|
3069
2710
|
UPDATE = "update",
|
|
3070
2711
|
DELETE = "delete"
|
|
3071
2712
|
}
|
|
3072
|
-
export declare enum ActionSourcePlatformEnum {
|
|
3073
|
-
ADMIN = "admin",
|
|
3074
|
-
BACKOFFICE = "backoffice",
|
|
3075
|
-
CONSUMER = "consumer"
|
|
2713
|
+
export declare enum ActionSourcePlatformEnum {
|
|
2714
|
+
ADMIN = "admin",
|
|
2715
|
+
BACKOFFICE = "backoffice",
|
|
2716
|
+
CONSUMER = "consumer"
|
|
2717
|
+
}
|
|
2718
|
+
export declare enum RolesEnum {
|
|
2719
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2720
|
+
BOND_ADMIN = "bondAdmin"
|
|
2721
|
+
}
|
|
2722
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2723
|
+
IN_POOL = 5,
|
|
2724
|
+
ASSIGNED = 1,
|
|
2725
|
+
QUIT = 2,
|
|
2726
|
+
SUSPENDED = 3,
|
|
2727
|
+
INACTIVE = 4
|
|
2728
|
+
}
|
|
2729
|
+
export declare enum AmenitiesEnum {
|
|
2730
|
+
HEAT = 1,
|
|
2731
|
+
AC = 2,
|
|
2732
|
+
WIFI = 3,
|
|
2733
|
+
RESTROOMS = 4,
|
|
2734
|
+
DRINKING_FOUNTAIN = 5,
|
|
2735
|
+
PARKING = 6,
|
|
2736
|
+
CONCESSIONS = 7,
|
|
2737
|
+
SHELTER = 8,
|
|
2738
|
+
PORTABLE_RESTROOMS = 9,
|
|
2739
|
+
LIGHTS = 10,
|
|
2740
|
+
LOCKER_ROOM = 11,
|
|
2741
|
+
PAID_PARKING = 12,
|
|
2742
|
+
ACCESSIBLE = 13
|
|
2743
|
+
}
|
|
2744
|
+
export declare enum ResourceSubTypeEnum {
|
|
2745
|
+
COURT = "court",
|
|
2746
|
+
FIELD = "field",
|
|
2747
|
+
ROOM = "room",
|
|
2748
|
+
DIAMOND = "diamond",
|
|
2749
|
+
RINK = "rink",
|
|
2750
|
+
STUDIO = "studio",
|
|
2751
|
+
POOL = "pool",
|
|
2752
|
+
BATTING_CAGE = "batting cage",
|
|
2753
|
+
SHELTER = "shelter",
|
|
2754
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum ResourceTypeEnum {
|
|
2757
|
+
SPACE = "space"
|
|
2758
|
+
}
|
|
2759
|
+
export declare enum ResourceAgesEnum {
|
|
2760
|
+
ADULTS = "adults",
|
|
2761
|
+
CHILDREN = "children"
|
|
2762
|
+
}
|
|
2763
|
+
export declare enum SpacePropertiesEnum {
|
|
2764
|
+
OUTDOOR = "outdoor",
|
|
2765
|
+
INDOOR = "indoor"
|
|
2766
|
+
}
|
|
2767
|
+
export declare enum SurfacesEnum {
|
|
2768
|
+
GRASS = "grass",
|
|
2769
|
+
TURF = "turf",
|
|
2770
|
+
FIELD_TURF = "fieldTurf",
|
|
2771
|
+
ASTRO_TURF = "astroTurf",
|
|
2772
|
+
HARDWOOD = "hardwood",
|
|
2773
|
+
ASPHALT = "asphalt",
|
|
2774
|
+
SAND = "sand",
|
|
2775
|
+
ICE = "ice",
|
|
2776
|
+
SPORT_COURT = "sportCourt"
|
|
2777
|
+
}
|
|
2778
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2779
|
+
MINUTES = "minutes",
|
|
2780
|
+
DAYS = "days"
|
|
2781
|
+
}
|
|
2782
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2783
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2784
|
+
OPEN = "open",
|
|
2785
|
+
CLOSED = "closed"
|
|
2786
|
+
}
|
|
2787
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2788
|
+
FULL = "full",
|
|
2789
|
+
ALREADY_REGISTERED = "registered",
|
|
2790
|
+
AVAILABLE = "available",
|
|
2791
|
+
NOT_OPEN_YET = "not opened",
|
|
2792
|
+
ALREADY_CLOSED = "closed",
|
|
2793
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2794
|
+
}
|
|
2795
|
+
export declare enum DiscountMethodsEnum {
|
|
2796
|
+
PERCENT = "percent",
|
|
2797
|
+
AMOUNT = "amount"
|
|
2798
|
+
}
|
|
2799
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2800
|
+
ORGANIZATION = "organization"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2803
|
+
USA = "USA"
|
|
2804
|
+
}
|
|
2805
|
+
export declare enum DateTimeFormatsEnum {
|
|
2806
|
+
API_DATE = "YYYY/MM/DD",
|
|
2807
|
+
API_TIME = "HH:mm:ss",
|
|
2808
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2809
|
+
}
|
|
2810
|
+
export declare enum SlotTypeEnum {
|
|
2811
|
+
EXTERNAL = "external",
|
|
2812
|
+
INTERNAL = "internal",
|
|
2813
|
+
MAINTENANCE = "maintenance",
|
|
2814
|
+
CUSTOM = "custom"
|
|
2815
|
+
}
|
|
2816
|
+
export declare enum PlatformsEnum {
|
|
2817
|
+
CONSUMER = "consumer",
|
|
2818
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2819
|
+
BO = "backoffice",
|
|
2820
|
+
MOBILE = "mobile",
|
|
2821
|
+
CRON = "cron"
|
|
2822
|
+
}
|
|
2823
|
+
export declare enum ShiftStatusEnum {
|
|
2824
|
+
OPEN = "open",
|
|
2825
|
+
CLOSED = "closed",
|
|
2826
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2827
|
+
RECONCILED = "reconciled"
|
|
2828
|
+
}
|
|
2829
|
+
export declare enum EventStatusEnum {
|
|
2830
|
+
OPEN = 1,
|
|
2831
|
+
DRAFT = 2,
|
|
2832
|
+
FULL = 3,
|
|
2833
|
+
CANCELLED = 4,
|
|
2834
|
+
CLOSED = 5,
|
|
2835
|
+
DELETED = 6
|
|
2836
|
+
}
|
|
2837
|
+
export declare enum ReservationTypeEnum {
|
|
2838
|
+
RENTAL = "rental",
|
|
2839
|
+
PROGRAM = "program",
|
|
2840
|
+
MAINTENANCE = "maintenance",
|
|
2841
|
+
CUSTOM = "custom",
|
|
2842
|
+
INTERNAL = "internal"
|
|
2843
|
+
}
|
|
2844
|
+
export declare enum SlotDurationTypeEnum {
|
|
2845
|
+
DATES = "dates",
|
|
2846
|
+
ALL_DAY = "all day",
|
|
2847
|
+
DURATION = "duration"
|
|
2848
|
+
}
|
|
2849
|
+
export declare enum DurationUnitTypesEnum {
|
|
2850
|
+
MINUTES = "minutes",
|
|
2851
|
+
HOURS = "hours"
|
|
2852
|
+
}
|
|
2853
|
+
export declare enum FrequencyEnum {
|
|
2854
|
+
NONE = "none",
|
|
2855
|
+
WEEKLY = "weekly",
|
|
2856
|
+
DAILY = "daily",
|
|
2857
|
+
MONTHLY = "monthly",
|
|
2858
|
+
YEARLY = "yearly"
|
|
2859
|
+
}
|
|
2860
|
+
export declare enum MaintenanceTimingEnum {
|
|
2861
|
+
BEFORE = 1,
|
|
2862
|
+
AFTER = 2,
|
|
2863
|
+
AT_THE_BEGINING = 3,
|
|
2864
|
+
AT_THE_END = 4
|
|
2865
|
+
}
|
|
2866
|
+
export declare enum CreatorTypeEnum {
|
|
2867
|
+
SPACE = "space",
|
|
2868
|
+
PROGRAM_SEASON = "program_season",
|
|
2869
|
+
SEASON = "season"
|
|
2870
|
+
}
|
|
2871
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2872
|
+
INDIVIDUAL = "indvidual",
|
|
2873
|
+
CATEGORY = "category",
|
|
2874
|
+
GLOBAL = "global"
|
|
2875
|
+
}
|
|
2876
|
+
export declare enum BondDayOfWeekEnum {
|
|
2877
|
+
MONDAY = 2,
|
|
2878
|
+
TUESDAY = 3,
|
|
2879
|
+
WEDNESDAY = 4,
|
|
2880
|
+
THURSDAY = 5,
|
|
2881
|
+
FRIDAY = 6,
|
|
2882
|
+
SATURDAY = 7,
|
|
2883
|
+
SUNDAY = 8
|
|
2884
|
+
}
|
|
2885
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2886
|
+
NEW = "new",
|
|
2887
|
+
NO = "no",
|
|
2888
|
+
YES = "yes"
|
|
2889
|
+
}
|
|
2890
|
+
export declare enum ProductPackageLevelEnum {
|
|
2891
|
+
HOUR = "hour",
|
|
2892
|
+
SLOT = "slot",
|
|
2893
|
+
RESERVATION = "reservation"
|
|
2894
|
+
}
|
|
2895
|
+
export declare enum CancellationStatusEnum {
|
|
2896
|
+
IMMEDIATE = "immediate",
|
|
2897
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2898
|
+
}
|
|
2899
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2900
|
+
DRAFT = 0,
|
|
2901
|
+
PUBLISHED = 1
|
|
2902
|
+
}
|
|
2903
|
+
export declare enum FinancialStepEnum {
|
|
2904
|
+
VOID = "void",
|
|
2905
|
+
REFUND = "refund",
|
|
2906
|
+
NONE = "none",
|
|
2907
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2908
|
+
APPEND = "append"
|
|
2909
|
+
}
|
|
2910
|
+
export declare enum StripeAccountTypesEnum {
|
|
2911
|
+
STRIPE = "stripe",
|
|
2912
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2913
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2914
|
+
}
|
|
2915
|
+
export declare enum LinkedAccountStatus {
|
|
2916
|
+
PENDING = 1,
|
|
2917
|
+
ACTIVE = 2,
|
|
2918
|
+
PRE_PENDING = 3
|
|
2919
|
+
}
|
|
2920
|
+
export declare enum AddonParentTypeEnum {
|
|
2921
|
+
RESERVATION = "reservation",
|
|
2922
|
+
SLOT = "slot"
|
|
2923
|
+
}
|
|
2924
|
+
export declare enum EEmailStatus {
|
|
2925
|
+
SENT = "sent",
|
|
2926
|
+
OPENED = "opened",
|
|
2927
|
+
PAID = "paid",
|
|
2928
|
+
CANCELED = "canceled"
|
|
2929
|
+
}
|
|
2930
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2931
|
+
ENABLED = 1,
|
|
2932
|
+
DISABLED_REDIRECT = 2,
|
|
2933
|
+
DISABLED_INFO_ONLY = 3,
|
|
2934
|
+
DISABLED_EMAIL = 4
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum NotifyMethodEnum {
|
|
2937
|
+
EMAIL = "Email"
|
|
2938
|
+
}
|
|
2939
|
+
export declare enum EComparisonFilter {
|
|
2940
|
+
LessThan = "lt",
|
|
2941
|
+
GreaterOrEqualTo = "gte"
|
|
2942
|
+
}
|
|
2943
|
+
export interface IEntitlementTerms {
|
|
2944
|
+
type: EntitlementTermsTypesEnum;
|
|
2945
|
+
id?: number;
|
|
2946
|
+
value?: string;
|
|
2947
|
+
minValue?: string;
|
|
2948
|
+
maxValue?: string;
|
|
2949
|
+
}
|
|
2950
|
+
export interface IQuestionAnswerObject {
|
|
2951
|
+
questionId: number;
|
|
2952
|
+
value: string;
|
|
2953
|
+
}
|
|
2954
|
+
export interface ILowestPriceForItem {
|
|
2955
|
+
itemId: number;
|
|
2956
|
+
itemType: ResourceNameTypeEnum;
|
|
2957
|
+
groupId: number;
|
|
2958
|
+
groupName?: string;
|
|
2959
|
+
price: number;
|
|
2960
|
+
overridesPrice: boolean;
|
|
2961
|
+
}
|
|
2962
|
+
export interface IResourcesAvailability {
|
|
2963
|
+
resourceType: ResourceNameTypeEnum;
|
|
2964
|
+
quantity: number;
|
|
2965
|
+
resourcesIds: number[];
|
|
2966
|
+
isPunchCard: boolean;
|
|
2967
|
+
resources?: any[];
|
|
3076
2968
|
}
|
|
3077
|
-
export
|
|
3078
|
-
|
|
3079
|
-
|
|
2969
|
+
export interface IPackageResponse {
|
|
2970
|
+
parentProduct: Product;
|
|
2971
|
+
children: IChildProduct[];
|
|
3080
2972
|
}
|
|
3081
|
-
export
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
SUSPENDED = 3,
|
|
3086
|
-
INACTIVE = 4
|
|
2973
|
+
export interface IChildProduct {
|
|
2974
|
+
product: Product;
|
|
2975
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2976
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3087
2977
|
}
|
|
3088
|
-
export
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
CONCESSIONS = 7,
|
|
3096
|
-
SHELTER = 8,
|
|
3097
|
-
PORTABLE_RESTROOMS = 9,
|
|
3098
|
-
LIGHTS = 10,
|
|
3099
|
-
LOCKER_ROOM = 11,
|
|
3100
|
-
PAID_PARKING = 12,
|
|
3101
|
-
ACCESSIBLE = 13
|
|
2978
|
+
export interface ISeasonAttendeeInfo {
|
|
2979
|
+
applicationAnswers: Answer[];
|
|
2980
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2981
|
+
invoices: Invoice[];
|
|
2982
|
+
payments: Payment[];
|
|
2983
|
+
products: Product[];
|
|
2984
|
+
redeemNext: ProductsUsers;
|
|
3102
2985
|
}
|
|
3103
|
-
export
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
2986
|
+
export interface ISeasonAttendeeListInfo {
|
|
2987
|
+
userId: number;
|
|
2988
|
+
userFirstName: string;
|
|
2989
|
+
userLastName: string;
|
|
2990
|
+
userGender: number;
|
|
2991
|
+
userBirthDate: Date;
|
|
2992
|
+
userProfilePicUrl: string;
|
|
2993
|
+
customerId: number;
|
|
2994
|
+
customerEmail: string;
|
|
2995
|
+
paymentStatus: string;
|
|
2996
|
+
productName: string;
|
|
2997
|
+
punchCard: boolean;
|
|
3114
2998
|
}
|
|
3115
|
-
export declare
|
|
3116
|
-
|
|
2999
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
3000
|
+
segmentType: ResourceNameTypeEnum;
|
|
3001
|
+
participantRegisteredDate?: string;
|
|
3117
3002
|
}
|
|
3118
|
-
export declare
|
|
3119
|
-
|
|
3120
|
-
|
|
3003
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3004
|
+
segmentType: ResourceNameTypeEnum;
|
|
3005
|
+
participantRegisteredDate?: string;
|
|
3121
3006
|
}
|
|
3122
|
-
export
|
|
3123
|
-
|
|
3124
|
-
INDOOR = "indoor"
|
|
3007
|
+
export interface ITokenResonse {
|
|
3008
|
+
token: string;
|
|
3125
3009
|
}
|
|
3126
|
-
export
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
HARDWOOD = "hardwood",
|
|
3132
|
-
ASPHALT = "asphalt",
|
|
3133
|
-
SAND = "sand",
|
|
3134
|
-
ICE = "ice",
|
|
3135
|
-
SPORT_COURT = "sportCourt"
|
|
3010
|
+
export interface IStripeBondInvoices {
|
|
3011
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3012
|
+
bondPaidPayment: Payment;
|
|
3013
|
+
invoice?: Invoice;
|
|
3014
|
+
customer?: Customer;
|
|
3136
3015
|
}
|
|
3137
|
-
export
|
|
3138
|
-
|
|
3139
|
-
|
|
3016
|
+
export interface IPartialPaymentData {
|
|
3017
|
+
purchasingUserId: number;
|
|
3018
|
+
paymentData: PurchasePaymentDto;
|
|
3019
|
+
amountToPay: number;
|
|
3140
3020
|
}
|
|
3141
|
-
export
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3021
|
+
export interface IPayment {
|
|
3022
|
+
id: number;
|
|
3023
|
+
total: number;
|
|
3024
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3025
|
+
status: PaymentStatusEnum;
|
|
3026
|
+
createdAt: Date;
|
|
3027
|
+
invoices: number[];
|
|
3145
3028
|
}
|
|
3146
|
-
export
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3029
|
+
export interface IPaginationData<T> {
|
|
3030
|
+
meta: {
|
|
3031
|
+
totalItems: number;
|
|
3032
|
+
itemsPerPage: number;
|
|
3033
|
+
totalPages: number;
|
|
3034
|
+
currentPage: number;
|
|
3035
|
+
};
|
|
3036
|
+
data: T[];
|
|
3153
3037
|
}
|
|
3154
|
-
export
|
|
3155
|
-
|
|
3156
|
-
|
|
3038
|
+
export interface IPricesOfProductsResults {
|
|
3039
|
+
productId: number;
|
|
3040
|
+
userId: number;
|
|
3041
|
+
price: number;
|
|
3042
|
+
groupId?: number;
|
|
3043
|
+
groupName?: string;
|
|
3044
|
+
originalPrice?: number;
|
|
3045
|
+
priceWithoutTax: number;
|
|
3046
|
+
tax: number;
|
|
3047
|
+
isTaxInclusive: boolean;
|
|
3157
3048
|
}
|
|
3158
|
-
export
|
|
3159
|
-
|
|
3049
|
+
export interface IPaymentMethodToFundLeft {
|
|
3050
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3051
|
+
paymentMethodId: string;
|
|
3052
|
+
fundLeft: number;
|
|
3053
|
+
ccLast4?: string;
|
|
3054
|
+
ccBrand?: string;
|
|
3160
3055
|
}
|
|
3161
|
-
export
|
|
3162
|
-
|
|
3056
|
+
export interface IVariantsAndTitle {
|
|
3057
|
+
title: VariantTitle;
|
|
3058
|
+
variants: Variant[];
|
|
3163
3059
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3060
|
+
export interface IProgramSeasonActivityTimes {
|
|
3061
|
+
dayOfWeek: number;
|
|
3062
|
+
open: string;
|
|
3063
|
+
close: string;
|
|
3168
3064
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
CUSTOM = "custom"
|
|
3065
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3066
|
+
date: string;
|
|
3067
|
+
startTime: string;
|
|
3068
|
+
endTime: string;
|
|
3174
3069
|
}
|
|
3175
|
-
export
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
MOBILE = "mobile",
|
|
3180
|
-
CRON = "cron"
|
|
3070
|
+
export interface IBlockedDates {
|
|
3071
|
+
name: string;
|
|
3072
|
+
startDate: Date;
|
|
3073
|
+
endDate: Date;
|
|
3181
3074
|
}
|
|
3182
|
-
export
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3075
|
+
export interface ISingleMemberForRenewal {
|
|
3076
|
+
member_id: number;
|
|
3077
|
+
member_membershipId: number;
|
|
3078
|
+
member_userId: number;
|
|
3079
|
+
member_nextPaymentMethodId?: string;
|
|
3080
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3081
|
+
member_answerTitleIds?: number[];
|
|
3082
|
+
member_organizationId: number;
|
|
3083
|
+
product_productPrice: number;
|
|
3084
|
+
product_productId: number;
|
|
3085
|
+
invoice_payingUserId: number;
|
|
3086
|
+
invoice_paymentMethodId: string;
|
|
3087
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3088
|
+
endDate: Date;
|
|
3089
|
+
membership_name: string;
|
|
3090
|
+
user_firstName: string;
|
|
3091
|
+
user_lastName: string;
|
|
3092
|
+
user_email: string;
|
|
3187
3093
|
}
|
|
3188
|
-
export
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
CLOSED = 5,
|
|
3194
|
-
DELETED = 6
|
|
3094
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3095
|
+
package_parentProductId: number;
|
|
3096
|
+
product2_productPrice: number;
|
|
3097
|
+
familyid: number;
|
|
3098
|
+
invoice_id: number;
|
|
3195
3099
|
}
|
|
3196
|
-
export
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3100
|
+
export interface IResourceRegistrationData {
|
|
3101
|
+
id: number;
|
|
3102
|
+
resourceType: ResourceNameTypeEnum;
|
|
3103
|
+
openNumDays?: number;
|
|
3104
|
+
openNumMinutes?: number;
|
|
3105
|
+
openTime?: string;
|
|
3106
|
+
closeNumDays?: number;
|
|
3107
|
+
closeNumMinutes?: number;
|
|
3108
|
+
closeTime?: string;
|
|
3109
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3202
3110
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3111
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3112
|
+
id: number;
|
|
3113
|
+
startDate: string;
|
|
3114
|
+
startTime: string;
|
|
3207
3115
|
}
|
|
3208
|
-
export
|
|
3209
|
-
|
|
3210
|
-
|
|
3116
|
+
export interface IRegistrationConstraintsSetting {
|
|
3117
|
+
numDays?: number;
|
|
3118
|
+
numMinutes?: number;
|
|
3211
3119
|
}
|
|
3212
|
-
export
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3120
|
+
export interface IAttendeeDataToNotify {
|
|
3121
|
+
firstName: string;
|
|
3122
|
+
lastName: string;
|
|
3123
|
+
email: string;
|
|
3124
|
+
sessionName: string;
|
|
3125
|
+
parentSessionName?: string;
|
|
3126
|
+
organizationName: string;
|
|
3127
|
+
programName: string;
|
|
3218
3128
|
}
|
|
3219
|
-
export
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3129
|
+
export interface IEventInSchedule {
|
|
3130
|
+
eventId: number;
|
|
3131
|
+
eventName: string;
|
|
3132
|
+
eventStartDate: string;
|
|
3133
|
+
eventEndDate: string;
|
|
3134
|
+
eventStartTime: string;
|
|
3135
|
+
eventEndTime: string;
|
|
3136
|
+
programId: number;
|
|
3137
|
+
programName: string;
|
|
3138
|
+
programType: ProgramTypesEnum;
|
|
3139
|
+
sessionId: number;
|
|
3140
|
+
sessionName: string;
|
|
3141
|
+
sports: number;
|
|
3142
|
+
spaces: {
|
|
3143
|
+
spaceId: number;
|
|
3144
|
+
spaceName: string;
|
|
3145
|
+
}[];
|
|
3146
|
+
status?: RegistrationValidationStatusEnum;
|
|
3224
3147
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3148
|
+
export interface ISlotInSchedule {
|
|
3149
|
+
facilityId: number;
|
|
3150
|
+
facilityName: string;
|
|
3151
|
+
spaces: ISpaceWithSlots[];
|
|
3229
3152
|
}
|
|
3230
|
-
export
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3153
|
+
export interface ISpaceWithSlots {
|
|
3154
|
+
id: number;
|
|
3155
|
+
name: string;
|
|
3156
|
+
slots: ISlotReservationData[];
|
|
3234
3157
|
}
|
|
3235
|
-
export
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3158
|
+
export interface ISlotReservationData {
|
|
3159
|
+
reservationId: number;
|
|
3160
|
+
reservationName: string;
|
|
3161
|
+
date: string;
|
|
3162
|
+
startTime: string;
|
|
3163
|
+
endTime: string;
|
|
3164
|
+
notes: string;
|
|
3165
|
+
spaceId: number;
|
|
3166
|
+
isRental: boolean;
|
|
3167
|
+
slotType: SlotTypeEnum;
|
|
3168
|
+
slotId: number;
|
|
3169
|
+
eventId: number;
|
|
3170
|
+
isPrivate: boolean;
|
|
3243
3171
|
}
|
|
3244
|
-
export
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3172
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3173
|
+
parentSessionId: number;
|
|
3174
|
+
parentSessionName: string;
|
|
3175
|
+
eventTimezone: string;
|
|
3176
|
+
maxParticipants: number;
|
|
3177
|
+
maxMaleParticipants: number;
|
|
3178
|
+
maxFemaleParticipants: number;
|
|
3179
|
+
isPunchCard: boolean;
|
|
3248
3180
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3181
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3182
|
+
id: number;
|
|
3183
|
+
name: string;
|
|
3184
|
+
bookingCreatorId: number;
|
|
3253
3185
|
}
|
|
3254
|
-
export
|
|
3255
|
-
|
|
3256
|
-
|
|
3186
|
+
export interface IRawSlotInSchedule {
|
|
3187
|
+
startDate: string;
|
|
3188
|
+
endDate: string;
|
|
3189
|
+
startTime: string;
|
|
3190
|
+
endTime: string;
|
|
3191
|
+
reservationId: number;
|
|
3192
|
+
eventTitle: string;
|
|
3193
|
+
publicNotes: string;
|
|
3194
|
+
spaceId: number;
|
|
3195
|
+
creatorType: ResourceNameTypeEnum;
|
|
3196
|
+
slotType: SlotTypeEnum;
|
|
3197
|
+
slotId: number;
|
|
3198
|
+
eventId: number;
|
|
3199
|
+
isPrivate: boolean;
|
|
3257
3200
|
}
|
|
3258
|
-
export
|
|
3259
|
-
|
|
3260
|
-
|
|
3201
|
+
export interface IPurchasedResourcesRaw {
|
|
3202
|
+
purchasedId: number;
|
|
3203
|
+
purchasedProductUserId: number;
|
|
3204
|
+
purchasedResourceId: number;
|
|
3205
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3206
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3207
|
+
pUserId: number;
|
|
3208
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3209
|
+
pUserProductId: number;
|
|
3210
|
+
pUserProductName: string;
|
|
3211
|
+
pUserProductPrice: number;
|
|
3212
|
+
pUserProductPriceCurrency: string;
|
|
3213
|
+
pUserProductQuantity: number;
|
|
3214
|
+
pUserProductQuantityLeft: number;
|
|
3215
|
+
pUserUserId: number;
|
|
3261
3216
|
}
|
|
3262
|
-
export
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3217
|
+
export interface IUsersPasses {
|
|
3218
|
+
userId: number;
|
|
3219
|
+
userFirstName: string;
|
|
3220
|
+
userLastName: string;
|
|
3221
|
+
organizationId: number;
|
|
3222
|
+
programId: number;
|
|
3223
|
+
programName: string;
|
|
3224
|
+
sessionId: number;
|
|
3225
|
+
sessionName: string;
|
|
3226
|
+
productId: number;
|
|
3227
|
+
productName: string;
|
|
3228
|
+
productUserId: number;
|
|
3229
|
+
purchaseDate: Date;
|
|
3230
|
+
passesLeft: number;
|
|
3268
3231
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3232
|
+
export interface ISessionsLandingPage {
|
|
3233
|
+
sessionId: number;
|
|
3234
|
+
name: string;
|
|
3235
|
+
startDate: Date;
|
|
3236
|
+
endDate: Date;
|
|
3237
|
+
registrationStartDate: Date;
|
|
3238
|
+
registrationEndDate: Date;
|
|
3239
|
+
sport: SportsEnum;
|
|
3240
|
+
minAge: string;
|
|
3241
|
+
maxAge: string;
|
|
3242
|
+
maxParticipants?: number;
|
|
3243
|
+
gender: GenderEnum;
|
|
3244
|
+
activityTimes: ActivityTimes[];
|
|
3245
|
+
earlyRegistrationStartDate?: Date;
|
|
3246
|
+
earlyRegistrationEndDate?: Date;
|
|
3247
|
+
lateRegistrationStartDate?: Date;
|
|
3248
|
+
lateRegistrationEndDate?: Date;
|
|
3249
|
+
attendeeCount?: number;
|
|
3250
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3273
3251
|
}
|
|
3274
|
-
export
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3252
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3253
|
+
hasRequiredMembership: boolean;
|
|
3254
|
+
hasEntitledPricing: boolean;
|
|
3255
|
+
lowestPrice?: number;
|
|
3256
|
+
products?: ISessionLandingPageProduct[];
|
|
3278
3257
|
}
|
|
3279
|
-
export
|
|
3280
|
-
|
|
3281
|
-
|
|
3258
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3259
|
+
hasRequiredMembership: boolean;
|
|
3260
|
+
hasEntitledPricing: boolean;
|
|
3261
|
+
products?: ISessionLandingPageProduct[];
|
|
3262
|
+
segments?: Event[] | ProgramSeason[];
|
|
3263
|
+
programName: string;
|
|
3264
|
+
programId: number;
|
|
3265
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3266
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3282
3267
|
}
|
|
3283
|
-
export
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3268
|
+
export interface ISlimAddons {
|
|
3269
|
+
addons?: {
|
|
3270
|
+
id: number;
|
|
3271
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3272
|
+
name: string;
|
|
3273
|
+
productType?: ProductTypesEnum;
|
|
3274
|
+
productSubType?: string;
|
|
3275
|
+
}[];
|
|
3288
3276
|
}
|
|
3289
|
-
export
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3277
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3278
|
+
id: number;
|
|
3279
|
+
name: string;
|
|
3280
|
+
startDate?: Date;
|
|
3281
|
+
endDate?: Date;
|
|
3282
|
+
downpayment?: number;
|
|
3283
|
+
description?: string;
|
|
3284
|
+
prices: Price[];
|
|
3285
|
+
productSubType?: ProductSubTypesEnum;
|
|
3286
|
+
punchCard: boolean;
|
|
3287
|
+
isAddon: boolean;
|
|
3288
|
+
defaultPriceId?: number;
|
|
3294
3289
|
}
|
|
3295
|
-
export
|
|
3296
|
-
|
|
3290
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3291
|
+
destinationId?: string;
|
|
3292
|
+
stripeCustomerId?: string;
|
|
3293
|
+
fee?: number;
|
|
3297
3294
|
}
|
|
3298
|
-
export
|
|
3299
|
-
|
|
3300
|
-
|
|
3295
|
+
export interface IReservationCreatorData {
|
|
3296
|
+
type: ResourceNameTypeEnum;
|
|
3297
|
+
id: number;
|
|
3298
|
+
organizationId: number;
|
|
3299
|
+
startDate: string;
|
|
3300
|
+
endDate: string;
|
|
3301
|
+
sportId: number;
|
|
3301
3302
|
}
|
|
3302
3303
|
export declare class ColumnNumericTransformer {
|
|
3303
3304
|
to(data: number): number;
|
|
3304
3305
|
from(data: string): number;
|
|
3305
3306
|
}
|
|
3306
3307
|
export declare function convertToNumber(data: string): number;
|
|
3307
|
-
export declare class
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3308
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3309
|
+
name?: string;
|
|
3310
|
+
genderStr?: string;
|
|
3311
|
+
parentID?: string;
|
|
3312
|
+
partnerID?: string;
|
|
3313
|
+
membershipName?: string;
|
|
3314
|
+
membershipExpDate?: string;
|
|
3315
|
+
membershipCreationDate?: string;
|
|
3316
|
+
bondMembershipID?: number;
|
|
3317
|
+
}
|
|
3318
|
+
export declare class AddFamilyDto {
|
|
3319
|
+
parents: AddImportedCustomerDto[];
|
|
3320
|
+
children: AddImportedCustomerDto[];
|
|
3315
3321
|
}
|
|
3316
3322
|
export declare enum ImportPaymentTypeEnum {
|
|
3317
3323
|
CREDIT_CARD = "card",
|
|
@@ -3349,6 +3355,15 @@ export declare class ImportedPaymentDto {
|
|
|
3349
3355
|
date: string;
|
|
3350
3356
|
time: string;
|
|
3351
3357
|
}
|
|
3358
|
+
export declare class ProductIdsDto {
|
|
3359
|
+
productIds?: number[];
|
|
3360
|
+
}
|
|
3361
|
+
export declare class ProductImportDto {
|
|
3362
|
+
product: Product;
|
|
3363
|
+
prices: Price[];
|
|
3364
|
+
resourceIds: number[];
|
|
3365
|
+
oldId: number;
|
|
3366
|
+
}
|
|
3352
3367
|
export declare class PunchPassDto {
|
|
3353
3368
|
CustomerID: string;
|
|
3354
3369
|
QuantityLeft: number;
|
|
@@ -3356,60 +3371,6 @@ export declare class PunchPassDto {
|
|
|
3356
3371
|
BondSessionID: number;
|
|
3357
3372
|
ProductID: number;
|
|
3358
3373
|
}
|
|
3359
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3360
|
-
name?: string;
|
|
3361
|
-
genderStr?: string;
|
|
3362
|
-
parentID?: string;
|
|
3363
|
-
partnerID?: string;
|
|
3364
|
-
membershipName?: string;
|
|
3365
|
-
membershipExpDate?: string;
|
|
3366
|
-
membershipCreationDate?: string;
|
|
3367
|
-
bondMembershipID?: number;
|
|
3368
|
-
}
|
|
3369
|
-
export declare class AddFamilyDto {
|
|
3370
|
-
parents: AddImportedCustomerDto[];
|
|
3371
|
-
children: AddImportedCustomerDto[];
|
|
3372
|
-
}
|
|
3373
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3374
|
-
entityType: string;
|
|
3375
|
-
entityId: number;
|
|
3376
|
-
}
|
|
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;
|
|
3385
|
-
}
|
|
3386
|
-
export declare class Matches extends BondBaseEntity {
|
|
3387
|
-
eventId: number | null;
|
|
3388
|
-
status: number | null;
|
|
3389
|
-
excludeStandings: boolean | null;
|
|
3390
|
-
}
|
|
3391
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3392
|
-
roundId: number;
|
|
3393
|
-
eventId: number;
|
|
3394
|
-
seriesId: number | null;
|
|
3395
|
-
createdAt: Date;
|
|
3396
|
-
updatedAt: Date;
|
|
3397
|
-
}
|
|
3398
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3399
|
-
seasonId: number;
|
|
3400
|
-
ordinal?: number;
|
|
3401
|
-
divisionId?: number;
|
|
3402
|
-
name: string;
|
|
3403
|
-
}
|
|
3404
|
-
export declare class Lock extends BondBaseEntity {
|
|
3405
|
-
name: string;
|
|
3406
|
-
locked?: Date;
|
|
3407
|
-
}
|
|
3408
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3409
|
-
teamId: number | null;
|
|
3410
|
-
eventId: number | null;
|
|
3411
|
-
status: number | null;
|
|
3412
|
-
}
|
|
3413
3374
|
export declare class ImportedSlotProductDto {
|
|
3414
3375
|
slotID?: string;
|
|
3415
3376
|
name?: string;
|
|
@@ -3461,6 +3422,57 @@ export declare class ImportedReservationDto {
|
|
|
3461
3422
|
slots?: ImportedSlotDto[];
|
|
3462
3423
|
addons?: ImportedSlotProductDto[];
|
|
3463
3424
|
}
|
|
3425
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3426
|
+
entityType: string;
|
|
3427
|
+
entityId: number;
|
|
3428
|
+
}
|
|
3429
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3430
|
+
matchId: number | null;
|
|
3431
|
+
ordinal: number | null;
|
|
3432
|
+
outcomeOrdinal: number | null;
|
|
3433
|
+
resultMetaData: any | null;
|
|
3434
|
+
points: number | null;
|
|
3435
|
+
score: number | null;
|
|
3436
|
+
gameSlotId: number | null;
|
|
3437
|
+
}
|
|
3438
|
+
export declare class Matches extends BondBaseEntity {
|
|
3439
|
+
eventId: number | null;
|
|
3440
|
+
status: number | null;
|
|
3441
|
+
excludeStandings: boolean | null;
|
|
3442
|
+
}
|
|
3443
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3444
|
+
roundId: number;
|
|
3445
|
+
eventId: number;
|
|
3446
|
+
seriesId: number | null;
|
|
3447
|
+
createdAt: Date;
|
|
3448
|
+
updatedAt: Date;
|
|
3449
|
+
}
|
|
3450
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3451
|
+
seasonId: number;
|
|
3452
|
+
ordinal?: number;
|
|
3453
|
+
divisionId?: number;
|
|
3454
|
+
name: string;
|
|
3455
|
+
}
|
|
3456
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3457
|
+
teamId: number | null;
|
|
3458
|
+
eventId: number | null;
|
|
3459
|
+
status: number | null;
|
|
3460
|
+
}
|
|
3461
|
+
export declare class Lock extends BondBaseEntity {
|
|
3462
|
+
name: string;
|
|
3463
|
+
locked?: Date;
|
|
3464
|
+
}
|
|
3465
|
+
export declare class CreateMonitorConfigDto {
|
|
3466
|
+
facilityId: number;
|
|
3467
|
+
name: string;
|
|
3468
|
+
code: string;
|
|
3469
|
+
config: any;
|
|
3470
|
+
}
|
|
3471
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3472
|
+
facilityId: number;
|
|
3473
|
+
code: string;
|
|
3474
|
+
config?: any;
|
|
3475
|
+
}
|
|
3464
3476
|
export interface ValidatedMonthAndDay {
|
|
3465
3477
|
valid: boolean;
|
|
3466
3478
|
month?: number;
|
|
@@ -3482,23 +3494,29 @@ export interface PaymentStatusesDict {
|
|
|
3482
3494
|
export interface PaymentStatusDict {
|
|
3483
3495
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3484
3496
|
}
|
|
3485
|
-
export declare class
|
|
3486
|
-
|
|
3487
|
-
name: string;
|
|
3488
|
-
code: string;
|
|
3489
|
-
config: any;
|
|
3497
|
+
export declare class ByOrganizationIdDto {
|
|
3498
|
+
organizationId: number;
|
|
3490
3499
|
}
|
|
3491
|
-
export declare class
|
|
3492
|
-
|
|
3493
|
-
code: string;
|
|
3494
|
-
config?: any;
|
|
3500
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3501
|
+
organizationId?: number;
|
|
3495
3502
|
}
|
|
3496
|
-
export declare class
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3503
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3504
|
+
programsIds?: string;
|
|
3505
|
+
sessionsIds?: string;
|
|
3506
|
+
segmentsIds?: string;
|
|
3507
|
+
startDate?: string;
|
|
3508
|
+
endDate?: string;
|
|
3509
|
+
months?: string;
|
|
3510
|
+
dow?: string;
|
|
3511
|
+
}
|
|
3512
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3513
|
+
programsIds?: string;
|
|
3514
|
+
sessionsIds?: string;
|
|
3515
|
+
segmentsIds?: string;
|
|
3516
|
+
startDate?: string;
|
|
3517
|
+
endDate?: string;
|
|
3518
|
+
months?: string;
|
|
3519
|
+
dow?: string;
|
|
3502
3520
|
}
|
|
3503
3521
|
export declare class Organization extends BondBaseEntity {
|
|
3504
3522
|
name: string | null;
|
|
@@ -3549,30 +3567,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3549
3567
|
brandings: OrganizationBranding[];
|
|
3550
3568
|
brandingsV2?: OrganizationBranding[];
|
|
3551
3569
|
}
|
|
3552
|
-
export declare class ByOrganizationIdDto {
|
|
3553
|
-
organizationId: number;
|
|
3554
|
-
}
|
|
3555
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3556
|
-
organizationId?: number;
|
|
3557
|
-
}
|
|
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;
|
|
3566
|
-
}
|
|
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;
|
|
3575
|
-
}
|
|
3576
3570
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3577
3571
|
key?: string;
|
|
3578
3572
|
vaule?: string;
|
|
@@ -3612,6 +3606,13 @@ export interface IUnallocatedEventRes {
|
|
|
3612
3606
|
export interface IUnallocatedEventsIdsRes {
|
|
3613
3607
|
data: IUnallocatedEventRes[];
|
|
3614
3608
|
}
|
|
3609
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3610
|
+
userId: number;
|
|
3611
|
+
organizationId: number;
|
|
3612
|
+
notifyMetadata?: any;
|
|
3613
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3614
|
+
destination: string;
|
|
3615
|
+
}
|
|
3615
3616
|
export declare class CustomerIdDto {
|
|
3616
3617
|
customerId: number;
|
|
3617
3618
|
}
|
|
@@ -4073,6 +4074,23 @@ export declare class SegmentDto {
|
|
|
4073
4074
|
publicNotesForSlots?: string;
|
|
4074
4075
|
privateNotesForSlots?: string;
|
|
4075
4076
|
}
|
|
4077
|
+
export declare class SeriesDto {
|
|
4078
|
+
id?: number;
|
|
4079
|
+
startDate: string;
|
|
4080
|
+
startTime?: string;
|
|
4081
|
+
endDate?: string;
|
|
4082
|
+
endTime?: string;
|
|
4083
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4084
|
+
durationEndsAfter?: number;
|
|
4085
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4086
|
+
frequency: FrequencyEnum;
|
|
4087
|
+
repeatEvery?: number;
|
|
4088
|
+
repeatOn?: number[];
|
|
4089
|
+
repeatEndDate?: string;
|
|
4090
|
+
numberOccurrences?: number;
|
|
4091
|
+
maintenance?: MaintenanceDto[];
|
|
4092
|
+
slots?: SlotDto[];
|
|
4093
|
+
}
|
|
4076
4094
|
export declare class SlotDateTimeAndSpace {
|
|
4077
4095
|
startDate: string;
|
|
4078
4096
|
startTime?: string;
|
|
@@ -4200,23 +4218,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4200
4218
|
previousProductUsersIds?: number[];
|
|
4201
4219
|
previousProductUsers?: ProductsUsers[];
|
|
4202
4220
|
}
|
|
4203
|
-
export declare class SeriesDto {
|
|
4204
|
-
id?: number;
|
|
4205
|
-
startDate: string;
|
|
4206
|
-
startTime?: string;
|
|
4207
|
-
endDate?: string;
|
|
4208
|
-
endTime?: string;
|
|
4209
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4210
|
-
durationEndsAfter?: number;
|
|
4211
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4212
|
-
frequency: FrequencyEnum;
|
|
4213
|
-
repeatEvery?: number;
|
|
4214
|
-
repeatOn?: number[];
|
|
4215
|
-
repeatEndDate?: string;
|
|
4216
|
-
numberOccurrences?: number;
|
|
4217
|
-
maintenance?: MaintenanceDto[];
|
|
4218
|
-
slots?: SlotDto[];
|
|
4219
|
-
}
|
|
4220
4221
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4221
4222
|
deletedAt?: Date;
|
|
4222
4223
|
reservationId: number;
|
|
@@ -4356,6 +4357,19 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4356
4357
|
conflictsCount?: number;
|
|
4357
4358
|
conflicts?: Slot[];
|
|
4358
4359
|
}
|
|
4360
|
+
export declare type TSlotAndType = {
|
|
4361
|
+
type: 'slots' | 'slot_addons';
|
|
4362
|
+
slotsForProduct: {
|
|
4363
|
+
[productId: number]: {
|
|
4364
|
+
product: Product;
|
|
4365
|
+
slots: SlotDto[];
|
|
4366
|
+
};
|
|
4367
|
+
};
|
|
4368
|
+
};
|
|
4369
|
+
export interface ILineItemResource {
|
|
4370
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4371
|
+
values: TResource[];
|
|
4372
|
+
}
|
|
4359
4373
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4360
4374
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4361
4375
|
export interface ReservationV1 {
|
|
@@ -4575,19 +4589,6 @@ export interface AddonMetadata {
|
|
|
4575
4589
|
totalPrice: number;
|
|
4576
4590
|
product?: Product;
|
|
4577
4591
|
}
|
|
4578
|
-
export declare type TSlotAndType = {
|
|
4579
|
-
type: 'slots' | 'slot_addons';
|
|
4580
|
-
slotsForProduct: {
|
|
4581
|
-
[productId: number]: {
|
|
4582
|
-
product: Product;
|
|
4583
|
-
slots: SlotDto[];
|
|
4584
|
-
};
|
|
4585
|
-
};
|
|
4586
|
-
};
|
|
4587
|
-
export interface ILineItemResource {
|
|
4588
|
-
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4589
|
-
values: TResource[];
|
|
4590
|
-
}
|
|
4591
4592
|
export declare class ChangeRolePermissionsDto {
|
|
4592
4593
|
permissionIds: number[];
|
|
4593
4594
|
}
|
|
@@ -4637,10 +4638,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4637
4638
|
startDate?: Date;
|
|
4638
4639
|
endDate?: Date;
|
|
4639
4640
|
}
|
|
4640
|
-
export declare class OpenShiftDto {
|
|
4641
|
-
openingCashAmount: number;
|
|
4642
|
-
stationId: number;
|
|
4643
|
-
}
|
|
4644
4641
|
export declare class ShiftManagementClosingAmount {
|
|
4645
4642
|
shiftId: number;
|
|
4646
4643
|
managementClosingCashAmount: number;
|
|
@@ -4648,6 +4645,10 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4648
4645
|
export declare class ManagementClosingOfShiftsDto {
|
|
4649
4646
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4650
4647
|
}
|
|
4648
|
+
export declare class OpenShiftDto {
|
|
4649
|
+
openingCashAmount: number;
|
|
4650
|
+
stationId: number;
|
|
4651
|
+
}
|
|
4651
4652
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4652
4653
|
stationId: number;
|
|
4653
4654
|
station?: Station;
|