@bondsports/types 0.0.182 → 0.0.183
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 +869 -869
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
+
export declare class FindBookingTypeSettingDto {
|
|
13
|
+
organizationId: number;
|
|
14
|
+
facilityId: number;
|
|
15
|
+
spaceId: number;
|
|
16
|
+
bookingDate: string;
|
|
17
|
+
bookingTime: string;
|
|
18
|
+
}
|
|
12
19
|
export declare class QuestionAnswersDto {
|
|
13
20
|
questionId: number;
|
|
14
21
|
value: any;
|
|
@@ -27,13 +34,6 @@ export declare enum EFailedPaymentReasons {
|
|
|
27
34
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
28
35
|
UNKNOWN = "unknown"
|
|
29
36
|
}
|
|
30
|
-
export declare class FindBookingTypeSettingDto {
|
|
31
|
-
organizationId: number;
|
|
32
|
-
facilityId: number;
|
|
33
|
-
spaceId: number;
|
|
34
|
-
bookingDate: string;
|
|
35
|
-
bookingTime: string;
|
|
36
|
-
}
|
|
37
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
38
|
membershipId: number;
|
|
39
39
|
}
|
|
@@ -195,6 +195,49 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
195
195
|
isWaiverSigned?: string;
|
|
196
196
|
statuses?: string;
|
|
197
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
|
+
}
|
|
198
241
|
export declare class FindFamilyAccountsDto {
|
|
199
242
|
userId: number;
|
|
200
243
|
}
|
|
@@ -239,58 +282,88 @@ export declare class PaginationRangeQuery {
|
|
|
239
282
|
endPage: number;
|
|
240
283
|
itemsPerPage: number;
|
|
241
284
|
}
|
|
242
|
-
export declare class
|
|
243
|
-
|
|
244
|
-
state: string;
|
|
245
|
-
country: string;
|
|
246
|
-
geo: number[];
|
|
285
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
|
+
organizationId: number;
|
|
247
287
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
288
|
+
export declare class GetGlCodeDto {
|
|
289
|
+
id: number;
|
|
290
|
+
organizationId: number;
|
|
291
|
+
code: string;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
updatedAt: Date;
|
|
252
294
|
}
|
|
253
|
-
export declare class
|
|
295
|
+
export declare class FindByProgramSeasonIdDto {
|
|
296
|
+
seasonId: number;
|
|
297
|
+
}
|
|
298
|
+
export declare class CreateBulkDivisionsDto {
|
|
299
|
+
divisions: CreateDivisionDto[];
|
|
300
|
+
}
|
|
301
|
+
export declare class CreateDivisionDto {
|
|
254
302
|
name: string;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
address: AddressDto;
|
|
260
|
-
timezone: string;
|
|
261
|
-
amenities: number[];
|
|
262
|
-
openingTimes: OpeningTimeDto[];
|
|
263
|
-
resourcesIds?: number[];
|
|
303
|
+
ordinal?: number;
|
|
304
|
+
programSeasonId: number;
|
|
305
|
+
color: string;
|
|
306
|
+
isDefault: boolean;
|
|
264
307
|
}
|
|
265
|
-
export declare class
|
|
266
|
-
name
|
|
308
|
+
export declare class CreateGroupDto {
|
|
309
|
+
name: string;
|
|
267
310
|
description?: string;
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
311
|
+
status?: GroupStatusEnum;
|
|
312
|
+
maxCapacity?: number;
|
|
313
|
+
mainMediaId?: number;
|
|
314
|
+
minAgeYears?: number;
|
|
315
|
+
maxAgeYears?: number;
|
|
316
|
+
gender: GenderEnum;
|
|
317
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
318
|
+
sports: SportsEnum[];
|
|
319
|
+
questionnaires?: number[];
|
|
320
|
+
captainUserId?: number;
|
|
321
|
+
divisionId?: number;
|
|
272
322
|
}
|
|
273
|
-
export declare class
|
|
274
|
-
|
|
323
|
+
export declare class ConnectGroupToDivision {
|
|
324
|
+
groupId: number;
|
|
325
|
+
divisionId: number;
|
|
326
|
+
prevDivisionId: number;
|
|
275
327
|
}
|
|
276
|
-
export declare class
|
|
277
|
-
|
|
328
|
+
export declare class MoveUserInGroups {
|
|
329
|
+
userId: number;
|
|
330
|
+
groupId?: number;
|
|
331
|
+
prevGroupId?: number;
|
|
278
332
|
}
|
|
279
|
-
export declare class
|
|
280
|
-
|
|
333
|
+
export declare class SaveUserAsGroupCaptain {
|
|
334
|
+
groupId: number;
|
|
335
|
+
userId: number;
|
|
281
336
|
}
|
|
282
|
-
export declare class
|
|
283
|
-
|
|
337
|
+
export declare class CreateTeamInviteDto {
|
|
338
|
+
emails: string[];
|
|
339
|
+
userCreatorId: number;
|
|
284
340
|
}
|
|
285
|
-
export declare class
|
|
286
|
-
|
|
341
|
+
export declare class TeamByIdDto {
|
|
342
|
+
teamId: number;
|
|
287
343
|
}
|
|
288
|
-
export declare class
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
344
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
345
|
+
inviteToken: string;
|
|
346
|
+
}
|
|
347
|
+
export declare class JoinTeamDto {
|
|
348
|
+
userId: number;
|
|
349
|
+
inviteToken?: string;
|
|
350
|
+
}
|
|
351
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
352
|
+
userId: number;
|
|
353
|
+
}
|
|
354
|
+
export interface IMoveSeason {
|
|
355
|
+
fromSeasonId: number;
|
|
356
|
+
toSeasonId: number;
|
|
357
|
+
}
|
|
358
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
359
|
+
teamId?: number;
|
|
360
|
+
memberId?: number;
|
|
361
|
+
fromSeasonId: number;
|
|
362
|
+
toSeasonId: number;
|
|
363
|
+
toDivisionId?: number;
|
|
364
|
+
}
|
|
365
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
|
+
fileName: string;
|
|
294
367
|
}
|
|
295
368
|
export declare class CreateMembershipDto {
|
|
296
369
|
organizationId: number;
|
|
@@ -348,6 +421,48 @@ export declare class CancelMembershipDto {
|
|
|
348
421
|
isImmediatelyCancel: boolean;
|
|
349
422
|
cancellationReason?: string;
|
|
350
423
|
}
|
|
424
|
+
export declare class CreateEntitlementTermsDto {
|
|
425
|
+
organizationId: number;
|
|
426
|
+
entitlementGroupId: number;
|
|
427
|
+
terms: IEntitlementTerms[];
|
|
428
|
+
}
|
|
429
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
+
entitlementGroupId: number;
|
|
431
|
+
}
|
|
432
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
+
user: any;
|
|
434
|
+
userVariables: IQuestionAnswerObject[];
|
|
435
|
+
}
|
|
436
|
+
export declare class FindLowestPriceDto {
|
|
437
|
+
organizationId: number;
|
|
438
|
+
user?: any;
|
|
439
|
+
answers?: IQuestionAnswerObject[];
|
|
440
|
+
itemIds: number[];
|
|
441
|
+
itemType?: ResourceNameTypeEnum;
|
|
442
|
+
startDate?: Date;
|
|
443
|
+
}
|
|
444
|
+
export declare class FindGroupItemsPricingsDto {
|
|
445
|
+
groupsIds: number[];
|
|
446
|
+
itemsIds: number[];
|
|
447
|
+
}
|
|
448
|
+
export declare class CreateEntitlementGroupDto {
|
|
449
|
+
name: string;
|
|
450
|
+
}
|
|
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;
|
|
461
|
+
startDate?: Date;
|
|
462
|
+
endDate?: Date;
|
|
463
|
+
discountValue?: number;
|
|
464
|
+
discountMethod?: DiscountMethodsEnum;
|
|
465
|
+
}
|
|
351
466
|
export declare class FindByProductIdDto {
|
|
352
467
|
productId: number;
|
|
353
468
|
}
|
|
@@ -569,123 +684,26 @@ export declare class createResourceDto {
|
|
|
569
684
|
export declare class archiveDto {
|
|
570
685
|
isArchive: boolean;
|
|
571
686
|
}
|
|
572
|
-
export declare class
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
687
|
+
export declare class CreateUpdateVariantsDto {
|
|
688
|
+
organizationId: number;
|
|
689
|
+
parentProductId: number;
|
|
690
|
+
variantTitles: VariantTitleDto[];
|
|
691
|
+
variants: VariantDto[];
|
|
577
692
|
}
|
|
578
|
-
export declare class
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
programSeasonId: number;
|
|
582
|
-
color: string;
|
|
583
|
-
isDefault: boolean;
|
|
693
|
+
export declare class VariantTitleDto {
|
|
694
|
+
titleName: string;
|
|
695
|
+
titleId: number;
|
|
584
696
|
}
|
|
585
|
-
export declare class
|
|
697
|
+
export declare class VariantDto {
|
|
586
698
|
name: string;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
maxAgeYears?: number;
|
|
593
|
-
gender: GenderEnum;
|
|
594
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
595
|
-
sports: SportsEnum[];
|
|
596
|
-
questionnaires?: number[];
|
|
597
|
-
captainUserId?: number;
|
|
598
|
-
divisionId?: number;
|
|
699
|
+
price: number;
|
|
700
|
+
variantId: number;
|
|
701
|
+
currency: CurrencyEnum;
|
|
702
|
+
startDate: Date;
|
|
703
|
+
endDate: Date;
|
|
599
704
|
}
|
|
600
|
-
export declare class
|
|
601
|
-
|
|
602
|
-
divisionId: number;
|
|
603
|
-
prevDivisionId: number;
|
|
604
|
-
}
|
|
605
|
-
export declare class MoveUserInGroups {
|
|
606
|
-
userId: number;
|
|
607
|
-
groupId?: number;
|
|
608
|
-
prevGroupId?: number;
|
|
609
|
-
}
|
|
610
|
-
export declare class SaveUserAsGroupCaptain {
|
|
611
|
-
groupId: number;
|
|
612
|
-
userId: number;
|
|
613
|
-
}
|
|
614
|
-
export declare class CreateTeamInviteDto {
|
|
615
|
-
emails: string[];
|
|
616
|
-
userCreatorId: number;
|
|
617
|
-
}
|
|
618
|
-
export declare class TeamByIdDto {
|
|
619
|
-
teamId: number;
|
|
620
|
-
}
|
|
621
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
622
|
-
inviteToken: string;
|
|
623
|
-
}
|
|
624
|
-
export declare class JoinTeamDto {
|
|
625
|
-
userId: number;
|
|
626
|
-
inviteToken?: string;
|
|
627
|
-
}
|
|
628
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
629
|
-
userId: number;
|
|
630
|
-
}
|
|
631
|
-
export interface IMoveSeason {
|
|
632
|
-
fromSeasonId: number;
|
|
633
|
-
toSeasonId: number;
|
|
634
|
-
}
|
|
635
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
636
|
-
teamId?: number;
|
|
637
|
-
memberId?: number;
|
|
638
|
-
fromSeasonId: number;
|
|
639
|
-
toSeasonId: number;
|
|
640
|
-
toDivisionId?: number;
|
|
641
|
-
}
|
|
642
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
643
|
-
fileName: string;
|
|
644
|
-
}
|
|
645
|
-
export declare class CreateEntitlementTermsDto {
|
|
646
|
-
organizationId: number;
|
|
647
|
-
entitlementGroupId: number;
|
|
648
|
-
terms: IEntitlementTerms[];
|
|
649
|
-
}
|
|
650
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
651
|
-
entitlementGroupId: number;
|
|
652
|
-
}
|
|
653
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
654
|
-
user: any;
|
|
655
|
-
userVariables: IQuestionAnswerObject[];
|
|
656
|
-
}
|
|
657
|
-
export declare class FindLowestPriceDto {
|
|
658
|
-
organizationId: number;
|
|
659
|
-
user?: any;
|
|
660
|
-
answers?: IQuestionAnswerObject[];
|
|
661
|
-
itemIds: number[];
|
|
662
|
-
itemType?: ResourceNameTypeEnum;
|
|
663
|
-
startDate?: Date;
|
|
664
|
-
}
|
|
665
|
-
export declare class FindGroupItemsPricingsDto {
|
|
666
|
-
groupsIds: number[];
|
|
667
|
-
itemsIds: number[];
|
|
668
|
-
}
|
|
669
|
-
export declare class CreateEntitlementGroupDto {
|
|
670
|
-
name: string;
|
|
671
|
-
}
|
|
672
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
673
|
-
itemIds: number[];
|
|
674
|
-
itemType: string;
|
|
675
|
-
}
|
|
676
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
677
|
-
groupid: number;
|
|
678
|
-
}
|
|
679
|
-
export declare class CreateGroupPricingWithProduct {
|
|
680
|
-
groupId: number;
|
|
681
|
-
price: number;
|
|
682
|
-
startDate?: Date;
|
|
683
|
-
endDate?: Date;
|
|
684
|
-
discountValue?: number;
|
|
685
|
-
discountMethod?: DiscountMethodsEnum;
|
|
686
|
-
}
|
|
687
|
-
export declare class FindProgramSeasonsByProgramIdDto {
|
|
688
|
-
programId: number;
|
|
705
|
+
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
|
+
programId: number;
|
|
689
707
|
}
|
|
690
708
|
export declare class FindSessionsFiltersDto {
|
|
691
709
|
status?: PublishingStatusEnum;
|
|
@@ -875,31 +893,49 @@ export declare class MoveParticipantDto {
|
|
|
875
893
|
resourceId: number;
|
|
876
894
|
invoiceId: number;
|
|
877
895
|
}
|
|
878
|
-
export declare class
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
facilityId: number;
|
|
882
|
-
childrenSlotIds: number[];
|
|
896
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
897
|
+
organizationId: number;
|
|
898
|
+
programType?: ProgramTypesEnum;
|
|
883
899
|
}
|
|
884
|
-
export declare class
|
|
900
|
+
export declare class FindProgramByIdDto {
|
|
901
|
+
programId: number;
|
|
885
902
|
}
|
|
886
|
-
export declare class
|
|
903
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
904
|
+
programId: number;
|
|
887
905
|
organizationId: number;
|
|
888
|
-
parentProductId: number;
|
|
889
|
-
variantTitles: VariantTitleDto[];
|
|
890
|
-
variants: VariantDto[];
|
|
891
|
-
}
|
|
892
|
-
export declare class VariantTitleDto {
|
|
893
|
-
titleName: string;
|
|
894
|
-
titleId: number;
|
|
895
906
|
}
|
|
896
|
-
export declare class
|
|
907
|
+
export declare class BaseProgramDto {
|
|
908
|
+
type: ProgramTypesEnum;
|
|
897
909
|
name: string;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
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;
|
|
903
939
|
}
|
|
904
940
|
export declare class PurchasePaymentDto {
|
|
905
941
|
token: string;
|
|
@@ -978,6 +1014,14 @@ export declare class ValidateParticipantDto {
|
|
|
978
1014
|
customerIds: number[];
|
|
979
1015
|
products: PurchaseProductDto[];
|
|
980
1016
|
}
|
|
1017
|
+
export declare class CreateResourceGroupDto {
|
|
1018
|
+
name: string;
|
|
1019
|
+
parentSlotId: number;
|
|
1020
|
+
facilityId: number;
|
|
1021
|
+
childrenSlotIds: number[];
|
|
1022
|
+
}
|
|
1023
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1024
|
+
}
|
|
981
1025
|
export declare class ResourceDto {
|
|
982
1026
|
type: ResourceNameTypeEnum;
|
|
983
1027
|
id: number;
|
|
@@ -1038,49 +1082,24 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1038
1082
|
types?: string;
|
|
1039
1083
|
resourcesIds?: string;
|
|
1040
1084
|
}
|
|
1041
|
-
export declare class
|
|
1042
|
-
|
|
1043
|
-
programType?: ProgramTypesEnum;
|
|
1044
|
-
}
|
|
1045
|
-
export declare class FindProgramByIdDto {
|
|
1046
|
-
programId: number;
|
|
1047
|
-
}
|
|
1048
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
1049
|
-
programId: number;
|
|
1050
|
-
organizationId: number;
|
|
1085
|
+
export declare class StripeCustomerIdDto {
|
|
1086
|
+
userId: number;
|
|
1051
1087
|
}
|
|
1052
|
-
export declare class
|
|
1053
|
-
|
|
1054
|
-
name: string;
|
|
1055
|
-
sport: SportsEnum;
|
|
1056
|
-
minAge: string;
|
|
1057
|
-
maxAge: string;
|
|
1058
|
-
gender: GenderEnum;
|
|
1059
|
-
level?: LevelOfPlayEnum[];
|
|
1060
|
-
description?: string;
|
|
1061
|
-
GL?: string;
|
|
1062
|
-
status: PublishingStatusEnum;
|
|
1063
|
-
organizationId: number;
|
|
1064
|
-
userCreatorId: number;
|
|
1065
|
-
highlights: ProgramHighlights[];
|
|
1066
|
-
longDescription?: string;
|
|
1067
|
-
requiredProductIds: number[];
|
|
1088
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1089
|
+
paymentMethodId: string;
|
|
1068
1090
|
}
|
|
1069
|
-
export declare class
|
|
1091
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1092
|
+
publicToken: string;
|
|
1093
|
+
accountId: string;
|
|
1070
1094
|
}
|
|
1071
|
-
export declare class
|
|
1072
|
-
|
|
1073
|
-
mainMediaId: number;
|
|
1095
|
+
export declare class FindByUserIdDto {
|
|
1096
|
+
userId: number;
|
|
1074
1097
|
}
|
|
1075
|
-
export declare class
|
|
1076
|
-
|
|
1077
|
-
status: PublishingStatusEnum;
|
|
1098
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1099
|
+
familyAccountId?: number;
|
|
1078
1100
|
}
|
|
1079
|
-
export declare class
|
|
1080
|
-
|
|
1081
|
-
ordinal: number;
|
|
1082
|
-
type: ProgramHighlightTypeEnum;
|
|
1083
|
-
title: string;
|
|
1101
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1102
|
+
organizationId: number;
|
|
1084
1103
|
}
|
|
1085
1104
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1086
1105
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1095,15 +1114,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1095
1114
|
oldValue?: any;
|
|
1096
1115
|
newValue?: any;
|
|
1097
1116
|
}
|
|
1098
|
-
export declare class FindByUserIdDto {
|
|
1099
|
-
userId: number;
|
|
1100
|
-
}
|
|
1101
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1102
|
-
familyAccountId?: number;
|
|
1103
|
-
}
|
|
1104
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1105
|
-
organizationId: number;
|
|
1106
|
-
}
|
|
1107
1117
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1108
1118
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1109
1119
|
parentId: number;
|
|
@@ -1117,22 +1127,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1117
1127
|
proudct: Product;
|
|
1118
1128
|
event: Event;
|
|
1119
1129
|
}
|
|
1120
|
-
export declare class StripeCustomerIdDto {
|
|
1121
|
-
userId: number;
|
|
1122
|
-
}
|
|
1123
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1124
|
-
paymentMethodId: string;
|
|
1125
|
-
}
|
|
1126
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1127
|
-
publicToken: string;
|
|
1128
|
-
accountId: string;
|
|
1129
|
-
}
|
|
1130
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
|
-
questionnaireId: number;
|
|
1132
|
-
userId?: number;
|
|
1133
|
-
answers: Answer[];
|
|
1134
|
-
questionnaire: Questionnaires;
|
|
1135
|
-
}
|
|
1136
1130
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
1131
|
questionId: number;
|
|
1138
1132
|
question?: Questions;
|
|
@@ -1146,16 +1140,40 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1146
1140
|
metaData: any | null;
|
|
1147
1141
|
questionText: string | null;
|
|
1148
1142
|
}
|
|
1143
|
+
export declare class Address extends BondBaseEntity {
|
|
1144
|
+
city?: string;
|
|
1145
|
+
street?: string;
|
|
1146
|
+
streetNum?: string;
|
|
1147
|
+
aptNum?: string;
|
|
1148
|
+
zip?: string;
|
|
1149
|
+
country?: string;
|
|
1150
|
+
state?: string;
|
|
1151
|
+
geo: any;
|
|
1152
|
+
deletedAt?: Date;
|
|
1153
|
+
}
|
|
1149
1154
|
export declare class Athlete extends BondBaseEntity {
|
|
1150
1155
|
userId: number | null;
|
|
1151
1156
|
metadata: object | null;
|
|
1152
1157
|
athleteSports: AthleteSports[];
|
|
1153
1158
|
}
|
|
1159
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1160
|
+
entityType: ResourceNameTypeEnum;
|
|
1161
|
+
entityId: number;
|
|
1162
|
+
name: string;
|
|
1163
|
+
startDate: Date;
|
|
1164
|
+
endDate: Date;
|
|
1165
|
+
deletedAt?: Date;
|
|
1166
|
+
}
|
|
1154
1167
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1155
1168
|
athleteId: number | null;
|
|
1156
1169
|
sports: number | null;
|
|
1157
1170
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1158
1171
|
}
|
|
1172
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1173
|
+
id: number;
|
|
1174
|
+
createdAt: Date;
|
|
1175
|
+
updatedAt: Date;
|
|
1176
|
+
}
|
|
1159
1177
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1160
1178
|
reservationId?: number;
|
|
1161
1179
|
color?: string;
|
|
@@ -1174,19 +1192,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1174
1192
|
publicNotes?: string;
|
|
1175
1193
|
slotType?: SlotTypeEnum;
|
|
1176
1194
|
}
|
|
1177
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1178
|
-
entityType: ResourceNameTypeEnum;
|
|
1179
|
-
entityId: number;
|
|
1180
|
-
name: string;
|
|
1181
|
-
startDate: Date;
|
|
1182
|
-
endDate: Date;
|
|
1183
|
-
deletedAt?: Date;
|
|
1184
|
-
}
|
|
1185
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1186
|
-
id: number;
|
|
1187
|
-
createdAt: Date;
|
|
1188
|
-
updatedAt: Date;
|
|
1189
|
-
}
|
|
1190
1195
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1191
1196
|
parentId: number;
|
|
1192
1197
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1214,17 +1219,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1214
1219
|
userCreatorId: number | null;
|
|
1215
1220
|
ownerId: number | null;
|
|
1216
1221
|
}
|
|
1217
|
-
export declare class Address extends BondBaseEntity {
|
|
1218
|
-
city?: string;
|
|
1219
|
-
street?: string;
|
|
1220
|
-
streetNum?: string;
|
|
1221
|
-
aptNum?: string;
|
|
1222
|
-
zip?: string;
|
|
1223
|
-
country?: string;
|
|
1224
|
-
state?: string;
|
|
1225
|
-
geo: any;
|
|
1226
|
-
deletedAt?: Date;
|
|
1227
|
-
}
|
|
1228
1222
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1229
1223
|
creditAmount: number;
|
|
1230
1224
|
paymentProcessorId: string;
|
|
@@ -1233,32 +1227,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1233
1227
|
invoiceId: number;
|
|
1234
1228
|
creditPaymentId: number;
|
|
1235
1229
|
}
|
|
1236
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1237
|
-
customerId: number;
|
|
1238
|
-
userId: number;
|
|
1239
|
-
amount: number;
|
|
1240
|
-
paymentId?: number;
|
|
1241
|
-
invoiceId?: number;
|
|
1242
|
-
description?: string;
|
|
1243
|
-
deletedAt?: Date;
|
|
1244
|
-
customer: Customer;
|
|
1245
|
-
invoice: Invoice;
|
|
1246
|
-
payment: Payment;
|
|
1247
|
-
}
|
|
1248
|
-
export declare class Division extends BondBaseEntity {
|
|
1249
|
-
name: string;
|
|
1250
|
-
ordinal?: number;
|
|
1251
|
-
programSeasonId: number;
|
|
1252
|
-
color: string;
|
|
1253
|
-
isDefault: boolean;
|
|
1254
|
-
groups: Group[];
|
|
1255
|
-
}
|
|
1256
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1257
|
-
customerId?: number;
|
|
1258
|
-
description: string;
|
|
1259
|
-
pinToTop?: boolean;
|
|
1260
|
-
customer: Customer;
|
|
1261
|
-
}
|
|
1262
1230
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1263
1231
|
name: string | null;
|
|
1264
1232
|
entityId: number | null;
|
|
@@ -1287,6 +1255,32 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1287
1255
|
mainMedia: Media;
|
|
1288
1256
|
reservations?: Reservation[];
|
|
1289
1257
|
}
|
|
1258
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1259
|
+
customerId: number;
|
|
1260
|
+
userId: number;
|
|
1261
|
+
amount: number;
|
|
1262
|
+
paymentId?: number;
|
|
1263
|
+
invoiceId?: number;
|
|
1264
|
+
description?: string;
|
|
1265
|
+
deletedAt?: Date;
|
|
1266
|
+
customer: Customer;
|
|
1267
|
+
invoice: Invoice;
|
|
1268
|
+
payment: Payment;
|
|
1269
|
+
}
|
|
1270
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1271
|
+
customerId?: number;
|
|
1272
|
+
description: string;
|
|
1273
|
+
pinToTop?: boolean;
|
|
1274
|
+
customer: Customer;
|
|
1275
|
+
}
|
|
1276
|
+
export declare class Division extends BondBaseEntity {
|
|
1277
|
+
name: string;
|
|
1278
|
+
ordinal?: number;
|
|
1279
|
+
programSeasonId: number;
|
|
1280
|
+
color: string;
|
|
1281
|
+
isDefault: boolean;
|
|
1282
|
+
groups: Group[];
|
|
1283
|
+
}
|
|
1290
1284
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1291
1285
|
customerId: number;
|
|
1292
1286
|
name: string | null;
|
|
@@ -1300,6 +1294,21 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1300
1294
|
groupId: number;
|
|
1301
1295
|
terms: IEntitlementTerms[];
|
|
1302
1296
|
}
|
|
1297
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1298
|
+
status: RequestStatusEnum | null;
|
|
1299
|
+
hasPaid: boolean | null;
|
|
1300
|
+
paymentId: number | null;
|
|
1301
|
+
attendeeId: number;
|
|
1302
|
+
eventId?: number | null;
|
|
1303
|
+
productUserId?: number;
|
|
1304
|
+
answerTitleIds?: number[];
|
|
1305
|
+
entryStatus?: EntryStatusEnum;
|
|
1306
|
+
addonProductUserIds?: number[];
|
|
1307
|
+
deletedAt?: Date;
|
|
1308
|
+
attendee: User;
|
|
1309
|
+
event: Event;
|
|
1310
|
+
purchasedResource: PurchasedResource;
|
|
1311
|
+
}
|
|
1303
1312
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1304
1313
|
constructor();
|
|
1305
1314
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1358,21 +1367,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1358
1367
|
session?: ProgramSeason;
|
|
1359
1368
|
segment?: ProgramSeason;
|
|
1360
1369
|
}
|
|
1361
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1362
|
-
status: RequestStatusEnum | null;
|
|
1363
|
-
hasPaid: boolean | null;
|
|
1364
|
-
paymentId: number | null;
|
|
1365
|
-
attendeeId: number;
|
|
1366
|
-
eventId?: number | null;
|
|
1367
|
-
productUserId?: number;
|
|
1368
|
-
answerTitleIds?: number[];
|
|
1369
|
-
entryStatus?: EntryStatusEnum;
|
|
1370
|
-
addonProductUserIds?: number[];
|
|
1371
|
-
deletedAt?: Date;
|
|
1372
|
-
attendee: User;
|
|
1373
|
-
event: Event;
|
|
1374
|
-
purchasedResource: PurchasedResource;
|
|
1375
|
-
}
|
|
1376
1370
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1377
1371
|
name: string;
|
|
1378
1372
|
description?: string;
|
|
@@ -1412,25 +1406,13 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1412
1406
|
chargedAt?: Date;
|
|
1413
1407
|
originalPlannedDate?: Date;
|
|
1414
1408
|
}
|
|
1409
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1410
|
+
name: string | null;
|
|
1411
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1412
|
+
}
|
|
1415
1413
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1416
1414
|
code: string;
|
|
1417
1415
|
}
|
|
1418
|
-
export declare class Group extends BondBaseEntity {
|
|
1419
|
-
name: string;
|
|
1420
|
-
description?: string;
|
|
1421
|
-
status: GroupStatusEnum;
|
|
1422
|
-
maxCapacity?: number;
|
|
1423
|
-
mainMediaId?: number;
|
|
1424
|
-
minAgeYears?: number;
|
|
1425
|
-
maxAgeYears?: number;
|
|
1426
|
-
gender: GenderEnum;
|
|
1427
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1428
|
-
sports: SportsEnum[];
|
|
1429
|
-
questionnaires?: number[];
|
|
1430
|
-
captainUserId?: number;
|
|
1431
|
-
members: ISeasonAttendeeInfo[];
|
|
1432
|
-
users: User[];
|
|
1433
|
-
}
|
|
1434
1416
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1435
1417
|
groupId: number;
|
|
1436
1418
|
itemId: number;
|
|
@@ -1444,35 +1426,27 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1444
1426
|
discountMethod?: DiscountMethodsEnum;
|
|
1445
1427
|
discountValue?: number;
|
|
1446
1428
|
}
|
|
1447
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1448
|
-
name: string | null;
|
|
1449
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1450
|
-
}
|
|
1451
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1452
|
-
email: string;
|
|
1453
|
-
status: EEmailStatus;
|
|
1454
|
-
templateId: string;
|
|
1455
|
-
userId: number;
|
|
1456
|
-
invoiceId: number;
|
|
1457
|
-
paymentId: number;
|
|
1458
|
-
sendingUserId: number;
|
|
1459
|
-
mailParams?: any;
|
|
1460
|
-
memo?: string;
|
|
1461
|
-
}
|
|
1462
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1463
|
-
content: string;
|
|
1464
|
-
creatingUserId: number;
|
|
1465
|
-
user: User;
|
|
1466
|
-
isPublic: boolean;
|
|
1467
|
-
deletedAt: Date;
|
|
1468
|
-
invoiceId: number;
|
|
1469
|
-
invoice: Invoice;
|
|
1470
|
-
}
|
|
1471
1429
|
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1472
1430
|
groupId: number;
|
|
1473
1431
|
divisionId: number;
|
|
1474
1432
|
deletedAt?: Date;
|
|
1475
1433
|
}
|
|
1434
|
+
export declare class Group extends BondBaseEntity {
|
|
1435
|
+
name: string;
|
|
1436
|
+
description?: string;
|
|
1437
|
+
status: GroupStatusEnum;
|
|
1438
|
+
maxCapacity?: number;
|
|
1439
|
+
mainMediaId?: number;
|
|
1440
|
+
minAgeYears?: number;
|
|
1441
|
+
maxAgeYears?: number;
|
|
1442
|
+
gender: GenderEnum;
|
|
1443
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1444
|
+
sports: SportsEnum[];
|
|
1445
|
+
questionnaires?: number[];
|
|
1446
|
+
captainUserId?: number;
|
|
1447
|
+
members: ISeasonAttendeeInfo[];
|
|
1448
|
+
users: User[];
|
|
1449
|
+
}
|
|
1476
1450
|
export declare class Invoice extends BondBaseEntity {
|
|
1477
1451
|
invoiceId: string | null;
|
|
1478
1452
|
price: number | null;
|
|
@@ -1497,6 +1471,17 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1497
1471
|
invoiceNotes: InvoiceNote[];
|
|
1498
1472
|
slots: Slot[];
|
|
1499
1473
|
}
|
|
1474
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1475
|
+
email: string;
|
|
1476
|
+
status: EEmailStatus;
|
|
1477
|
+
templateId: string;
|
|
1478
|
+
userId: number;
|
|
1479
|
+
invoiceId: number;
|
|
1480
|
+
paymentId: number;
|
|
1481
|
+
sendingUserId: number;
|
|
1482
|
+
mailParams?: any;
|
|
1483
|
+
memo?: string;
|
|
1484
|
+
}
|
|
1500
1485
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1501
1486
|
invoiceId: number;
|
|
1502
1487
|
paymentId: number;
|
|
@@ -1505,6 +1490,15 @@ export declare class InvoiceToPayment extends BondBaseEntity {
|
|
|
1505
1490
|
paidAmount?: number;
|
|
1506
1491
|
currency: CurrencyEnum;
|
|
1507
1492
|
}
|
|
1493
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1494
|
+
content: string;
|
|
1495
|
+
creatingUserId: number;
|
|
1496
|
+
user: User;
|
|
1497
|
+
isPublic: boolean;
|
|
1498
|
+
deletedAt: Date;
|
|
1499
|
+
invoiceId: number;
|
|
1500
|
+
invoice: Invoice;
|
|
1501
|
+
}
|
|
1508
1502
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1509
1503
|
name: string | null;
|
|
1510
1504
|
description: string | null;
|
|
@@ -1531,16 +1525,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1531
1525
|
logo?: Media;
|
|
1532
1526
|
seasons: LeagueSeason[];
|
|
1533
1527
|
}
|
|
1534
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1535
|
-
invoiceId: number;
|
|
1536
|
-
paymentId: number;
|
|
1537
|
-
lineItemId: number;
|
|
1538
|
-
paidAmount: number;
|
|
1539
|
-
unitPaidAmount: number;
|
|
1540
|
-
currency: CurrencyEnum;
|
|
1541
|
-
payment: Payment;
|
|
1542
|
-
lineItem: LineItems;
|
|
1543
|
-
}
|
|
1544
1528
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1545
1529
|
leagueId: number | null;
|
|
1546
1530
|
name: string | null;
|
|
@@ -1585,6 +1569,16 @@ export declare class LeagueSeasonRelations {
|
|
|
1585
1569
|
league?: boolean;
|
|
1586
1570
|
facilities?: boolean;
|
|
1587
1571
|
}
|
|
1572
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1573
|
+
invoiceId: number;
|
|
1574
|
+
paymentId: number;
|
|
1575
|
+
lineItemId: number;
|
|
1576
|
+
paidAmount: number;
|
|
1577
|
+
unitPaidAmount: number;
|
|
1578
|
+
currency: CurrencyEnum;
|
|
1579
|
+
payment: Payment;
|
|
1580
|
+
lineItem: LineItems;
|
|
1581
|
+
}
|
|
1588
1582
|
export declare class LineItems extends BondBaseEntity {
|
|
1589
1583
|
constructor();
|
|
1590
1584
|
defineIsReverted(): void;
|
|
@@ -1709,17 +1703,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1709
1703
|
resourceId: number | null;
|
|
1710
1704
|
resourceType: string | null;
|
|
1711
1705
|
}
|
|
1712
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1713
|
-
id: number;
|
|
1714
|
-
dayOfWeek: number;
|
|
1715
|
-
open: string;
|
|
1716
|
-
close: string;
|
|
1717
|
-
facilityId: number;
|
|
1718
|
-
createdAt: Date;
|
|
1719
|
-
updatedAt: Date;
|
|
1720
|
-
deletedAt?: Date;
|
|
1721
|
-
facility: Facility;
|
|
1722
|
-
}
|
|
1723
1706
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1724
1707
|
membership: Membership;
|
|
1725
1708
|
membershipId: number;
|
|
@@ -1740,6 +1723,26 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1740
1723
|
cancellationStatus?: CancellationStatusEnum;
|
|
1741
1724
|
isImported?: boolean;
|
|
1742
1725
|
}
|
|
1726
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1727
|
+
id: number;
|
|
1728
|
+
dayOfWeek: number;
|
|
1729
|
+
open: string;
|
|
1730
|
+
close: string;
|
|
1731
|
+
facilityId: number;
|
|
1732
|
+
createdAt: Date;
|
|
1733
|
+
updatedAt: Date;
|
|
1734
|
+
deletedAt?: Date;
|
|
1735
|
+
facility: Facility;
|
|
1736
|
+
}
|
|
1737
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1738
|
+
organizationId: number;
|
|
1739
|
+
}
|
|
1740
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1741
|
+
token: string | null;
|
|
1742
|
+
userId: number | null;
|
|
1743
|
+
validUntil: Date | null;
|
|
1744
|
+
active: boolean | null;
|
|
1745
|
+
}
|
|
1743
1746
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1744
1747
|
name?: string;
|
|
1745
1748
|
description?: string;
|
|
@@ -1757,33 +1760,51 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1757
1760
|
isMandatory: boolean;
|
|
1758
1761
|
productId: number;
|
|
1759
1762
|
}
|
|
1760
|
-
export declare class
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1763
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1764
|
+
price: number;
|
|
1765
|
+
paymentProcessorId: string;
|
|
1766
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1767
|
+
paymentStatus: PaymentStatusEnum;
|
|
1768
|
+
bondFee?: number;
|
|
1769
|
+
stripeFee?: number;
|
|
1770
|
+
currency: CurrencyEnum;
|
|
1771
|
+
payingUserId?: number;
|
|
1772
|
+
paymentMethodId?: string;
|
|
1773
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1774
|
+
fundLeft: number;
|
|
1775
|
+
notes?: string;
|
|
1776
|
+
isRefunded: boolean;
|
|
1777
|
+
lineItemHistory: LineItemHistory[];
|
|
1778
|
+
receiptUrl?: string;
|
|
1779
|
+
paymentProcessorTransactionId?: string;
|
|
1780
|
+
creatingUserId: number;
|
|
1781
|
+
shiftId: number;
|
|
1782
|
+
platform: PlatformsEnum;
|
|
1783
|
+
ccLast4: string;
|
|
1784
|
+
ccBrand: string;
|
|
1785
|
+
paymentNotes: PaymentNote[];
|
|
1786
|
+
parentInvoiceId?: number;
|
|
1787
|
+
refundReasonId?: number;
|
|
1788
|
+
refundNote?: string;
|
|
1789
|
+
}
|
|
1790
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1791
|
+
failureIndex: number;
|
|
1792
|
+
waitingDays: number;
|
|
1793
|
+
}
|
|
1794
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1795
|
+
paymentInstallmentId?: number;
|
|
1796
|
+
invoiceId: number;
|
|
1797
|
+
reason: EFailedPaymentReasons;
|
|
1798
|
+
errorMessage: string;
|
|
1799
|
+
}
|
|
1800
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1801
|
+
content: string;
|
|
1802
|
+
creatingUserId: number;
|
|
1803
|
+
user: User;
|
|
1804
|
+
isPublic: boolean;
|
|
1805
|
+
deletedAt: Date;
|
|
1806
|
+
paymentId: number;
|
|
1807
|
+
payment: Payment;
|
|
1787
1808
|
}
|
|
1788
1809
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1789
1810
|
userId: number | null;
|
|
@@ -1803,12 +1824,6 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1803
1824
|
installmentId: number | null;
|
|
1804
1825
|
invoiceId: string | null;
|
|
1805
1826
|
}
|
|
1806
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1807
|
-
paymentPlanId: number;
|
|
1808
|
-
paymentDate: Date;
|
|
1809
|
-
deletedAt?: Date;
|
|
1810
|
-
paymentPlan: ProductPaymentPlan;
|
|
1811
|
-
}
|
|
1812
1827
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1813
1828
|
productId: number;
|
|
1814
1829
|
product: Product;
|
|
@@ -1876,32 +1891,11 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1876
1891
|
activityTimes: ActivityTimes[];
|
|
1877
1892
|
purchasedResources: PurchasedResource[];
|
|
1878
1893
|
}
|
|
1879
|
-
export declare class
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
bondFee?: number;
|
|
1885
|
-
stripeFee?: number;
|
|
1886
|
-
currency: CurrencyEnum;
|
|
1887
|
-
payingUserId?: number;
|
|
1888
|
-
paymentMethodId?: string;
|
|
1889
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1890
|
-
fundLeft: number;
|
|
1891
|
-
notes?: string;
|
|
1892
|
-
isRefunded: boolean;
|
|
1893
|
-
lineItemHistory: LineItemHistory[];
|
|
1894
|
-
receiptUrl?: string;
|
|
1895
|
-
paymentProcessorTransactionId?: string;
|
|
1896
|
-
creatingUserId: number;
|
|
1897
|
-
shiftId: number;
|
|
1898
|
-
platform: PlatformsEnum;
|
|
1899
|
-
ccLast4: string;
|
|
1900
|
-
ccBrand: string;
|
|
1901
|
-
paymentNotes: PaymentNote[];
|
|
1902
|
-
parentInvoiceId?: number;
|
|
1903
|
-
refundReasonId?: number;
|
|
1904
|
-
refundNote?: string;
|
|
1894
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1895
|
+
paymentPlanId: number;
|
|
1896
|
+
paymentDate: Date;
|
|
1897
|
+
deletedAt?: Date;
|
|
1898
|
+
paymentPlan: ProductPaymentPlan;
|
|
1905
1899
|
}
|
|
1906
1900
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1907
1901
|
parentProductId: number;
|
|
@@ -1953,6 +1947,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1953
1947
|
deletedAt?: Date;
|
|
1954
1948
|
product: Product;
|
|
1955
1949
|
}
|
|
1950
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1951
|
+
productId: number;
|
|
1952
|
+
userId: number;
|
|
1953
|
+
user?: User;
|
|
1954
|
+
paymentStatus: PaymentStatusEnum;
|
|
1955
|
+
productName: string;
|
|
1956
|
+
productPrice: number;
|
|
1957
|
+
productQuantity: number;
|
|
1958
|
+
productQuantityLeft: number;
|
|
1959
|
+
productPriceCurrency: CurrencyEnum;
|
|
1960
|
+
ordinal?: number;
|
|
1961
|
+
purchasedResources: PurchasedResource[];
|
|
1962
|
+
product: Product;
|
|
1963
|
+
lineItem: LineItems;
|
|
1964
|
+
slots?: Slot[];
|
|
1965
|
+
addons?: Addon[];
|
|
1966
|
+
}
|
|
1956
1967
|
export declare class Program extends BondBaseEntity {
|
|
1957
1968
|
type: ProgramTypesEnum;
|
|
1958
1969
|
name: string;
|
|
@@ -1975,6 +1986,14 @@ export declare class Program extends BondBaseEntity {
|
|
|
1975
1986
|
programSeason: ProgramSeason[];
|
|
1976
1987
|
purchasedResources: PurchasedResource[];
|
|
1977
1988
|
}
|
|
1989
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1990
|
+
type: ProgramHighlightTypeEnum;
|
|
1991
|
+
ordinal: number | null;
|
|
1992
|
+
title: string | null;
|
|
1993
|
+
data: any | null;
|
|
1994
|
+
program: Program;
|
|
1995
|
+
deletedAt?: Date;
|
|
1996
|
+
}
|
|
1978
1997
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1979
1998
|
programId: number;
|
|
1980
1999
|
name: string;
|
|
@@ -2030,23 +2049,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2030
2049
|
facility: Facility;
|
|
2031
2050
|
purchasedResources: PurchasedResource[];
|
|
2032
2051
|
}
|
|
2033
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
2034
|
-
productId: number;
|
|
2035
|
-
userId: number;
|
|
2036
|
-
user?: User;
|
|
2037
|
-
paymentStatus: PaymentStatusEnum;
|
|
2038
|
-
productName: string;
|
|
2039
|
-
productPrice: number;
|
|
2040
|
-
productQuantity: number;
|
|
2041
|
-
productQuantityLeft: number;
|
|
2042
|
-
productPriceCurrency: CurrencyEnum;
|
|
2043
|
-
ordinal?: number;
|
|
2044
|
-
purchasedResources: PurchasedResource[];
|
|
2045
|
-
product: Product;
|
|
2046
|
-
lineItem: LineItems;
|
|
2047
|
-
slots?: Slot[];
|
|
2048
|
-
addons?: Addon[];
|
|
2049
|
-
}
|
|
2050
2052
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2051
2053
|
productUserId: number;
|
|
2052
2054
|
resourceId: number;
|
|
@@ -2073,14 +2075,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2073
2075
|
title: string | null;
|
|
2074
2076
|
answerTitle: AnswerTitle;
|
|
2075
2077
|
}
|
|
2076
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2077
|
-
type: ProgramHighlightTypeEnum;
|
|
2078
|
-
ordinal: number | null;
|
|
2079
|
-
title: string | null;
|
|
2080
|
-
data: any | null;
|
|
2081
|
-
program: Program;
|
|
2082
|
-
deletedAt?: Date;
|
|
2083
|
-
}
|
|
2084
2078
|
export declare class Questions extends BondBaseEntity {
|
|
2085
2079
|
questionType: string | null;
|
|
2086
2080
|
ordinal: number | null;
|
|
@@ -2100,6 +2094,17 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
|
2100
2094
|
ordinal: number;
|
|
2101
2095
|
deletedAt: Date;
|
|
2102
2096
|
}
|
|
2097
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2098
|
+
resourceType: ResourceNameTypeEnum;
|
|
2099
|
+
resourceId: number;
|
|
2100
|
+
openNumDays?: number;
|
|
2101
|
+
openNumMinutes?: number;
|
|
2102
|
+
openTime?: string;
|
|
2103
|
+
closeNumDays?: number;
|
|
2104
|
+
closeNumMinutes?: number;
|
|
2105
|
+
closeTime?: string;
|
|
2106
|
+
deletedAt?: Date;
|
|
2107
|
+
}
|
|
2103
2108
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2104
2109
|
name?: string;
|
|
2105
2110
|
description?: string;
|
|
@@ -2132,28 +2137,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2132
2137
|
publicNotes?: string;
|
|
2133
2138
|
slots?: Slot[];
|
|
2134
2139
|
}
|
|
2135
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2136
|
-
status: RequestStatusEnum;
|
|
2137
|
-
paymentStatus: PaymentStatusEnum;
|
|
2138
|
-
paymentId?: number;
|
|
2139
|
-
productId?: number;
|
|
2140
|
-
attendeeId: number;
|
|
2141
|
-
attendee: User;
|
|
2142
|
-
seasonId: number;
|
|
2143
|
-
season: ProgramSeason;
|
|
2144
|
-
productUserId?: number;
|
|
2145
|
-
answerTitleIds?: number[];
|
|
2146
|
-
deletedAt?: Date;
|
|
2147
|
-
purchasedResource: PurchasedResource;
|
|
2148
|
-
}
|
|
2149
|
-
export declare class School extends BondBaseEntity {
|
|
2150
|
-
name: string | null;
|
|
2151
|
-
alias: string[] | null;
|
|
2152
|
-
addressId: number | null;
|
|
2153
|
-
website: string | null;
|
|
2154
|
-
phone: string | null;
|
|
2155
|
-
dataId: number | null;
|
|
2156
|
-
}
|
|
2157
2140
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2158
2141
|
name: string;
|
|
2159
2142
|
resourceType: ResourceTypeEnum;
|
|
@@ -2182,6 +2165,41 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2182
2165
|
purchasedResources: PurchasedResource[];
|
|
2183
2166
|
linkSEO: string;
|
|
2184
2167
|
}
|
|
2168
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2169
|
+
name: string;
|
|
2170
|
+
facilityId: number;
|
|
2171
|
+
parentSlotId: number;
|
|
2172
|
+
childrenSlotIds: number[];
|
|
2173
|
+
deletedAt?: Date;
|
|
2174
|
+
}
|
|
2175
|
+
export declare class School extends BondBaseEntity {
|
|
2176
|
+
name: string | null;
|
|
2177
|
+
alias: string[] | null;
|
|
2178
|
+
addressId: number | null;
|
|
2179
|
+
website: string | null;
|
|
2180
|
+
phone: string | null;
|
|
2181
|
+
dataId: number | null;
|
|
2182
|
+
}
|
|
2183
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2184
|
+
status: RequestStatusEnum;
|
|
2185
|
+
paymentStatus: PaymentStatusEnum;
|
|
2186
|
+
paymentId?: number;
|
|
2187
|
+
productId?: number;
|
|
2188
|
+
attendeeId: number;
|
|
2189
|
+
attendee: User;
|
|
2190
|
+
seasonId: number;
|
|
2191
|
+
season: ProgramSeason;
|
|
2192
|
+
productUserId?: number;
|
|
2193
|
+
answerTitleIds?: number[];
|
|
2194
|
+
deletedAt?: Date;
|
|
2195
|
+
purchasedResource: PurchasedResource;
|
|
2196
|
+
}
|
|
2197
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2198
|
+
name: string | null;
|
|
2199
|
+
ordinal: number | null;
|
|
2200
|
+
seasonId: number | null;
|
|
2201
|
+
color: string | null;
|
|
2202
|
+
}
|
|
2185
2203
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2186
2204
|
seasonId?: number;
|
|
2187
2205
|
userId?: number;
|
|
@@ -2197,12 +2215,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2197
2215
|
purchasedResource: PurchasedResource;
|
|
2198
2216
|
season: LeagueSeason;
|
|
2199
2217
|
}
|
|
2200
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2201
|
-
name: string | null;
|
|
2202
|
-
ordinal: number | null;
|
|
2203
|
-
seasonId: number | null;
|
|
2204
|
-
color: string | null;
|
|
2205
|
-
}
|
|
2206
2218
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2207
2219
|
seasonId: number | null;
|
|
2208
2220
|
teamId: number | null;
|
|
@@ -2213,6 +2225,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2213
2225
|
metaData: any | null;
|
|
2214
2226
|
team: Team;
|
|
2215
2227
|
}
|
|
2228
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2229
|
+
blockingSpaceId: number;
|
|
2230
|
+
blockedSpaceId: number;
|
|
2231
|
+
}
|
|
2216
2232
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2217
2233
|
name: string;
|
|
2218
2234
|
facilityId: number;
|
|
@@ -2224,21 +2240,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2224
2240
|
subcategories: Subcategory[];
|
|
2225
2241
|
shifts?: Shift[];
|
|
2226
2242
|
}
|
|
2227
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2228
|
-
resourceType: ResourceNameTypeEnum;
|
|
2229
|
-
resourceId: number;
|
|
2230
|
-
openNumDays?: number;
|
|
2231
|
-
openNumMinutes?: number;
|
|
2232
|
-
openTime?: string;
|
|
2233
|
-
closeNumDays?: number;
|
|
2234
|
-
closeNumMinutes?: number;
|
|
2235
|
-
closeTime?: string;
|
|
2236
|
-
deletedAt?: Date;
|
|
2237
|
-
}
|
|
2238
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2239
|
-
blockingSpaceId: number;
|
|
2240
|
-
blockedSpaceId: number;
|
|
2241
|
-
}
|
|
2242
2243
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2243
2244
|
stationId: number;
|
|
2244
2245
|
subcategoryId: number;
|
|
@@ -2247,13 +2248,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2247
2248
|
station: Station;
|
|
2248
2249
|
subcategory: Subcategory;
|
|
2249
2250
|
}
|
|
2250
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2251
|
-
name: string;
|
|
2252
|
-
facilityId: number;
|
|
2253
|
-
parentSlotId: number;
|
|
2254
|
-
childrenSlotIds: number[];
|
|
2255
|
-
deletedAt?: Date;
|
|
2256
|
-
}
|
|
2257
2251
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2258
2252
|
productType: ProductTypesEnum;
|
|
2259
2253
|
name: string;
|
|
@@ -2375,6 +2369,11 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2375
2369
|
paymentMethodId: string;
|
|
2376
2370
|
nextAllowedChargeDate?: Date;
|
|
2377
2371
|
}
|
|
2372
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2373
|
+
groupId: number;
|
|
2374
|
+
userId: number;
|
|
2375
|
+
deletedAt?: Date;
|
|
2376
|
+
}
|
|
2378
2377
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2379
2378
|
name: string;
|
|
2380
2379
|
variants: Variant[];
|
|
@@ -2393,11 +2392,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2393
2392
|
membershipCollectionId?: string;
|
|
2394
2393
|
programsCollectionId?: string;
|
|
2395
2394
|
}
|
|
2396
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2397
|
-
groupId: number;
|
|
2398
|
-
userId: number;
|
|
2399
|
-
deletedAt?: Date;
|
|
2400
|
-
}
|
|
2401
2395
|
export declare enum EntitlementTermsTypesEnum {
|
|
2402
2396
|
QUESTION = "question",
|
|
2403
2397
|
CITY = "city",
|
|
@@ -3303,6 +3297,12 @@ export interface IReservationCreatorData {
|
|
|
3303
3297
|
endDate: string;
|
|
3304
3298
|
sportId: number;
|
|
3305
3299
|
}
|
|
3300
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
3301
|
+
questionnaireId: number;
|
|
3302
|
+
userId?: number;
|
|
3303
|
+
answers: Answer[];
|
|
3304
|
+
questionnaire: Questionnaires;
|
|
3305
|
+
}
|
|
3306
3306
|
export declare class ColumnNumericTransformer {
|
|
3307
3307
|
to(data: number): number;
|
|
3308
3308
|
from(data: string): number;
|
|
@@ -3322,12 +3322,21 @@ export declare class AddFamilyDto {
|
|
|
3322
3322
|
parents: AddImportedCustomerDto[];
|
|
3323
3323
|
children: AddImportedCustomerDto[];
|
|
3324
3324
|
}
|
|
3325
|
-
export declare
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3325
|
+
export declare class ProductIdsDto {
|
|
3326
|
+
productIds?: number[];
|
|
3327
|
+
}
|
|
3328
|
+
export declare class ProductImportDto {
|
|
3329
|
+
product: Product;
|
|
3330
|
+
prices: Price[];
|
|
3331
|
+
resourceIds: number[];
|
|
3332
|
+
oldId: number;
|
|
3333
|
+
}
|
|
3334
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3335
|
+
CREDIT_CARD = "card",
|
|
3336
|
+
ACH = "ach",
|
|
3337
|
+
CASH = "cash",
|
|
3338
|
+
CHECK = "check",
|
|
3339
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3331
3340
|
OTHER = "other",
|
|
3332
3341
|
GIFT_CARD = "gift-card"
|
|
3333
3342
|
}
|
|
@@ -3358,14 +3367,21 @@ export declare class ImportedPaymentDto {
|
|
|
3358
3367
|
date: string;
|
|
3359
3368
|
time: string;
|
|
3360
3369
|
}
|
|
3361
|
-
export declare class
|
|
3362
|
-
|
|
3370
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3371
|
+
entityType: string;
|
|
3372
|
+
entityId: number;
|
|
3363
3373
|
}
|
|
3364
|
-
export declare class
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3374
|
+
export declare class PunchPassDto {
|
|
3375
|
+
CustomerID: string;
|
|
3376
|
+
QuantityLeft: number;
|
|
3377
|
+
BondProgramID: number;
|
|
3378
|
+
BondSessionID: number;
|
|
3379
|
+
ProductID: number;
|
|
3380
|
+
}
|
|
3381
|
+
export declare class Matches extends BondBaseEntity {
|
|
3382
|
+
eventId: number | null;
|
|
3383
|
+
status: number | null;
|
|
3384
|
+
excludeStandings: boolean | null;
|
|
3369
3385
|
}
|
|
3370
3386
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3371
3387
|
matchId: number | null;
|
|
@@ -3376,66 +3392,6 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3376
3392
|
score: number | null;
|
|
3377
3393
|
gameSlotId: number | null;
|
|
3378
3394
|
}
|
|
3379
|
-
export declare class ImportedSlotProductDto {
|
|
3380
|
-
slotID?: string;
|
|
3381
|
-
name?: string;
|
|
3382
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
3383
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3384
|
-
price?: string;
|
|
3385
|
-
minutes?: string;
|
|
3386
|
-
quantity: string;
|
|
3387
|
-
startDate?: string;
|
|
3388
|
-
startTime?: string;
|
|
3389
|
-
endDate?: string;
|
|
3390
|
-
endTime?: string;
|
|
3391
|
-
bondProductId?: number;
|
|
3392
|
-
}
|
|
3393
|
-
export declare class ImportResourceMappingDto {
|
|
3394
|
-
bondResourceID?: string;
|
|
3395
|
-
resourceName?: string;
|
|
3396
|
-
}
|
|
3397
|
-
export declare class ImportProductMappingDto {
|
|
3398
|
-
productID?: string;
|
|
3399
|
-
productName?: string;
|
|
3400
|
-
}
|
|
3401
|
-
export declare class ImportedSlotDto {
|
|
3402
|
-
reservationID: string;
|
|
3403
|
-
bondResourceID: string;
|
|
3404
|
-
resourceName: string;
|
|
3405
|
-
subResourceName: string;
|
|
3406
|
-
startDate: string;
|
|
3407
|
-
startTime: string;
|
|
3408
|
-
endDate: string;
|
|
3409
|
-
endTime: string;
|
|
3410
|
-
sportId?: string;
|
|
3411
|
-
setupDuration: string;
|
|
3412
|
-
setupIncludeInCosts: string;
|
|
3413
|
-
takedownDuration: string;
|
|
3414
|
-
takedownIncludeInCosts: string;
|
|
3415
|
-
slotProduct: ImportedSlotProductDto;
|
|
3416
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3417
|
-
totalPrice: string;
|
|
3418
|
-
}
|
|
3419
|
-
export declare class ImportedReservationDto {
|
|
3420
|
-
name: string;
|
|
3421
|
-
customerId: string;
|
|
3422
|
-
description: string;
|
|
3423
|
-
totalPrice: string;
|
|
3424
|
-
downPayment: string;
|
|
3425
|
-
paid: string;
|
|
3426
|
-
invoiceId: string;
|
|
3427
|
-
slots?: ImportedSlotDto[];
|
|
3428
|
-
addons?: ImportedSlotProductDto[];
|
|
3429
|
-
}
|
|
3430
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3431
|
-
entityType: string;
|
|
3432
|
-
entityId: number;
|
|
3433
|
-
}
|
|
3434
|
-
export declare class Matches extends BondBaseEntity {
|
|
3435
|
-
eventId: number | null;
|
|
3436
|
-
status: number | null;
|
|
3437
|
-
excludeStandings: boolean | null;
|
|
3438
|
-
}
|
|
3439
3395
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3440
3396
|
seasonId: number;
|
|
3441
3397
|
ordinal?: number;
|
|
@@ -3454,6 +3410,18 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3454
3410
|
eventId: number | null;
|
|
3455
3411
|
status: number | null;
|
|
3456
3412
|
}
|
|
3413
|
+
export interface PaymentStatus {
|
|
3414
|
+
parentId: number;
|
|
3415
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3416
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3417
|
+
id?: number;
|
|
3418
|
+
}
|
|
3419
|
+
export interface PaymentStatusesDict {
|
|
3420
|
+
[id: number]: PaymentStatus[];
|
|
3421
|
+
}
|
|
3422
|
+
export interface PaymentStatusDict {
|
|
3423
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3424
|
+
}
|
|
3457
3425
|
export interface ValidatedMonthAndDay {
|
|
3458
3426
|
valid: boolean;
|
|
3459
3427
|
month?: number;
|
|
@@ -3467,31 +3435,12 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3467
3435
|
name: string;
|
|
3468
3436
|
locked?: Date;
|
|
3469
3437
|
}
|
|
3470
|
-
export declare class PunchPassDto {
|
|
3471
|
-
CustomerID: string;
|
|
3472
|
-
QuantityLeft: number;
|
|
3473
|
-
BondProgramID: number;
|
|
3474
|
-
BondSessionID: number;
|
|
3475
|
-
ProductID: number;
|
|
3476
|
-
}
|
|
3477
3438
|
export declare class CreateMonitorConfigDto {
|
|
3478
3439
|
facilityId: number;
|
|
3479
3440
|
name: string;
|
|
3480
3441
|
code: string;
|
|
3481
3442
|
config: any;
|
|
3482
3443
|
}
|
|
3483
|
-
export interface PaymentStatus {
|
|
3484
|
-
parentId: number;
|
|
3485
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3486
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3487
|
-
id?: number;
|
|
3488
|
-
}
|
|
3489
|
-
export interface PaymentStatusesDict {
|
|
3490
|
-
[id: number]: PaymentStatus[];
|
|
3491
|
-
}
|
|
3492
|
-
export interface PaymentStatusDict {
|
|
3493
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3494
|
-
}
|
|
3495
3444
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3496
3445
|
facilityId: number;
|
|
3497
3446
|
code: string;
|
|
@@ -3577,19 +3526,45 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3577
3526
|
brandings: OrganizationBranding[];
|
|
3578
3527
|
brandingsV2?: OrganizationBranding[];
|
|
3579
3528
|
}
|
|
3580
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3581
|
-
mainAdminUserId?: number;
|
|
3582
|
-
}
|
|
3583
3529
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3584
3530
|
key?: string;
|
|
3585
3531
|
vaule?: string;
|
|
3586
3532
|
version: number;
|
|
3587
3533
|
organization: Organization;
|
|
3588
3534
|
}
|
|
3535
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3536
|
+
mainAdminUserId?: number;
|
|
3537
|
+
}
|
|
3589
3538
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3590
3539
|
organisationId: number | null;
|
|
3591
3540
|
userId: number | null;
|
|
3592
3541
|
}
|
|
3542
|
+
export interface UnallocatedEventsFilters {
|
|
3543
|
+
programsIds?: number[];
|
|
3544
|
+
sessionsIds?: number[];
|
|
3545
|
+
segmentsIds?: number[];
|
|
3546
|
+
durations?: Duration[];
|
|
3547
|
+
daysOfWeek?: number[];
|
|
3548
|
+
}
|
|
3549
|
+
export interface Duration {
|
|
3550
|
+
startDate: string;
|
|
3551
|
+
endDate: string;
|
|
3552
|
+
}
|
|
3553
|
+
export interface IUnallocatedEventRes {
|
|
3554
|
+
id: number;
|
|
3555
|
+
title: string;
|
|
3556
|
+
sports: number[];
|
|
3557
|
+
startDate: string;
|
|
3558
|
+
startDateString: string;
|
|
3559
|
+
startTime: string;
|
|
3560
|
+
endDate: string;
|
|
3561
|
+
endDateString: string;
|
|
3562
|
+
endTime: string;
|
|
3563
|
+
timezone: string;
|
|
3564
|
+
}
|
|
3565
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3566
|
+
data: IUnallocatedEventRes[];
|
|
3567
|
+
}
|
|
3593
3568
|
export declare class CustomerIdDto {
|
|
3594
3569
|
customerId: number;
|
|
3595
3570
|
}
|
|
@@ -3712,32 +3687,6 @@ export declare class SendRequestDto {
|
|
|
3712
3687
|
sendToEmail: string;
|
|
3713
3688
|
memo?: string;
|
|
3714
3689
|
}
|
|
3715
|
-
export interface UnallocatedEventsFilters {
|
|
3716
|
-
programsIds?: number[];
|
|
3717
|
-
sessionsIds?: number[];
|
|
3718
|
-
segmentsIds?: number[];
|
|
3719
|
-
durations?: Duration[];
|
|
3720
|
-
daysOfWeek?: number[];
|
|
3721
|
-
}
|
|
3722
|
-
export interface Duration {
|
|
3723
|
-
startDate: string;
|
|
3724
|
-
endDate: string;
|
|
3725
|
-
}
|
|
3726
|
-
export interface IUnallocatedEventRes {
|
|
3727
|
-
id: number;
|
|
3728
|
-
title: string;
|
|
3729
|
-
sports: number[];
|
|
3730
|
-
startDate: string;
|
|
3731
|
-
startDateString: string;
|
|
3732
|
-
startTime: string;
|
|
3733
|
-
endDate: string;
|
|
3734
|
-
endDateString: string;
|
|
3735
|
-
endTime: string;
|
|
3736
|
-
timezone: string;
|
|
3737
|
-
}
|
|
3738
|
-
export interface IUnallocatedEventsIdsRes {
|
|
3739
|
-
data: IUnallocatedEventRes[];
|
|
3740
|
-
}
|
|
3741
3690
|
export declare class RefundDto {
|
|
3742
3691
|
invoiceId: number;
|
|
3743
3692
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -3760,6 +3709,26 @@ export declare class RefundLineItemAmountDto {
|
|
|
3760
3709
|
id: number;
|
|
3761
3710
|
refundAmount: number;
|
|
3762
3711
|
}
|
|
3712
|
+
export interface RefundResult extends PaymentsResults {
|
|
3713
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3714
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3715
|
+
invoice?: Invoice;
|
|
3716
|
+
}
|
|
3717
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3718
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3719
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3720
|
+
totalAmountProcessed: number;
|
|
3721
|
+
}
|
|
3722
|
+
export declare class VoidDto {
|
|
3723
|
+
lineItems: VoidLineItemDto[];
|
|
3724
|
+
meta?: RevertMetaDto;
|
|
3725
|
+
}
|
|
3726
|
+
export declare class VoidLineItemDto {
|
|
3727
|
+
id: number;
|
|
3728
|
+
quantity?: number;
|
|
3729
|
+
isEdit?: boolean;
|
|
3730
|
+
amount?: number;
|
|
3731
|
+
}
|
|
3763
3732
|
export interface PaymentResult {
|
|
3764
3733
|
paymentMethodId: string;
|
|
3765
3734
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3785,38 +3754,6 @@ export interface ExtendedLineItems {
|
|
|
3785
3754
|
products: LineItems[];
|
|
3786
3755
|
events: LineItems[];
|
|
3787
3756
|
}
|
|
3788
|
-
export interface RefundResult extends PaymentsResults {
|
|
3789
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3790
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3791
|
-
invoice?: Invoice;
|
|
3792
|
-
}
|
|
3793
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3794
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3795
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3796
|
-
totalAmountProcessed: number;
|
|
3797
|
-
}
|
|
3798
|
-
export declare class ChangeRolePermissionsDto {
|
|
3799
|
-
permissionIds: number[];
|
|
3800
|
-
}
|
|
3801
|
-
export declare class VoidDto {
|
|
3802
|
-
lineItems: VoidLineItemDto[];
|
|
3803
|
-
meta?: RevertMetaDto;
|
|
3804
|
-
}
|
|
3805
|
-
export declare class VoidLineItemDto {
|
|
3806
|
-
id: number;
|
|
3807
|
-
quantity?: number;
|
|
3808
|
-
isEdit?: boolean;
|
|
3809
|
-
amount?: number;
|
|
3810
|
-
}
|
|
3811
|
-
export declare class CreateRoleDto {
|
|
3812
|
-
name: string;
|
|
3813
|
-
}
|
|
3814
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3815
|
-
name: string;
|
|
3816
|
-
deletedAt?: Date;
|
|
3817
|
-
permissions: Permission[];
|
|
3818
|
-
usersRoles: UserRole[];
|
|
3819
|
-
}
|
|
3820
3757
|
export declare class AddonDto {
|
|
3821
3758
|
productId: number;
|
|
3822
3759
|
id?: number;
|
|
@@ -3885,13 +3822,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3885
3822
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3886
3823
|
segments: SegmentDto[];
|
|
3887
3824
|
}
|
|
3888
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3889
|
-
deletedAt?: Date;
|
|
3890
|
-
userId: number;
|
|
3891
|
-
roleId: number;
|
|
3892
|
-
role: Role;
|
|
3893
|
-
user: User;
|
|
3894
|
-
}
|
|
3895
3825
|
export declare class LineItemDto {
|
|
3896
3826
|
id?: number;
|
|
3897
3827
|
invoiceId?: number;
|
|
@@ -3925,83 +3855,6 @@ export declare class MaintenanceDto {
|
|
|
3925
3855
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3926
3856
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3927
3857
|
}
|
|
3928
|
-
export declare class Permission extends BondBaseEntity {
|
|
3929
|
-
name: string;
|
|
3930
|
-
deletedAt?: Date;
|
|
3931
|
-
}
|
|
3932
|
-
export declare class PurchasedResourceDto {
|
|
3933
|
-
resourceId?: number;
|
|
3934
|
-
resourceType: ResourceNameTypeEnum;
|
|
3935
|
-
startDate?: string;
|
|
3936
|
-
startTime?: string;
|
|
3937
|
-
endDate?: string;
|
|
3938
|
-
endTime?: string;
|
|
3939
|
-
}
|
|
3940
|
-
export declare class SegmentDto {
|
|
3941
|
-
id?: number;
|
|
3942
|
-
title: string;
|
|
3943
|
-
isPrivate: boolean;
|
|
3944
|
-
resourceIds: number[];
|
|
3945
|
-
sportId?: number;
|
|
3946
|
-
series: SeriesDto[];
|
|
3947
|
-
addonIds?: number[];
|
|
3948
|
-
publicNotesForSlots?: string;
|
|
3949
|
-
privateNotesForSlots?: string;
|
|
3950
|
-
}
|
|
3951
|
-
declare class AnswerDto {
|
|
3952
|
-
questionId: number;
|
|
3953
|
-
value: any;
|
|
3954
|
-
}
|
|
3955
|
-
export declare class BookedSessionDto {
|
|
3956
|
-
startDate: string;
|
|
3957
|
-
endDate: string;
|
|
3958
|
-
timezone: string;
|
|
3959
|
-
spaceId: number;
|
|
3960
|
-
}
|
|
3961
|
-
declare class AddonV1Dto {
|
|
3962
|
-
resourcePackageId: number;
|
|
3963
|
-
resourcePackageAmount: number;
|
|
3964
|
-
resourcePackagePrice: number;
|
|
3965
|
-
}
|
|
3966
|
-
export declare class ReservationV1Dto {
|
|
3967
|
-
organizationId: number;
|
|
3968
|
-
name: string;
|
|
3969
|
-
dayOfWeek: number;
|
|
3970
|
-
startTime: string;
|
|
3971
|
-
description: string;
|
|
3972
|
-
sport: number;
|
|
3973
|
-
price: number;
|
|
3974
|
-
resourcePackageId: number;
|
|
3975
|
-
resourcePackageAmount: number;
|
|
3976
|
-
bookedSessions: BookedSessionDto[];
|
|
3977
|
-
addons: AddonV1Dto[];
|
|
3978
|
-
}
|
|
3979
|
-
export declare class BookingV1Dto {
|
|
3980
|
-
organizationId: number;
|
|
3981
|
-
reservations: ReservationV1Dto[];
|
|
3982
|
-
answers: AnswerDto[];
|
|
3983
|
-
paymentData: PurchasePaymentDto;
|
|
3984
|
-
skipPayment: boolean;
|
|
3985
|
-
cashPayment: boolean;
|
|
3986
|
-
requestOnly: boolean;
|
|
3987
|
-
}
|
|
3988
|
-
export declare class SeriesDto {
|
|
3989
|
-
id?: number;
|
|
3990
|
-
startDate: string;
|
|
3991
|
-
startTime?: string;
|
|
3992
|
-
endDate?: string;
|
|
3993
|
-
endTime?: string;
|
|
3994
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3995
|
-
durationEndsAfter?: number;
|
|
3996
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3997
|
-
frequency: FrequencyEnum;
|
|
3998
|
-
repeatEvery?: number;
|
|
3999
|
-
repeatOn?: number[];
|
|
4000
|
-
repeatEndDate?: string;
|
|
4001
|
-
numberOccurrences?: number;
|
|
4002
|
-
maintenance?: MaintenanceDto[];
|
|
4003
|
-
slots?: SlotDto[];
|
|
4004
|
-
}
|
|
4005
3858
|
export declare class ReservationDto {
|
|
4006
3859
|
id?: number;
|
|
4007
3860
|
organizationId?: number;
|
|
@@ -4138,21 +3991,184 @@ export declare class EditItemsRefundMetaDto {
|
|
|
4138
3991
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4139
3992
|
refundMeta?: EditItemsRefundMetaDto;
|
|
4140
3993
|
}
|
|
4141
|
-
export declare class EditReservationDetailsDto {
|
|
3994
|
+
export declare class EditReservationDetailsDto {
|
|
3995
|
+
name: string;
|
|
3996
|
+
publicNotes?: string;
|
|
3997
|
+
privateNotes?: string;
|
|
3998
|
+
}
|
|
3999
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4000
|
+
updateAddons?: boolean;
|
|
4001
|
+
updateMaintenance?: boolean;
|
|
4002
|
+
}
|
|
4003
|
+
export declare class ReservationNotifyDto {
|
|
4004
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
4005
|
+
}
|
|
4006
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4007
|
+
updateAddons?: boolean;
|
|
4008
|
+
updateMaintenance?: boolean;
|
|
4009
|
+
}
|
|
4010
|
+
export declare class PurchasedResourceDto {
|
|
4011
|
+
resourceId?: number;
|
|
4012
|
+
resourceType: ResourceNameTypeEnum;
|
|
4013
|
+
startDate?: string;
|
|
4014
|
+
startTime?: string;
|
|
4015
|
+
endDate?: string;
|
|
4016
|
+
endTime?: string;
|
|
4017
|
+
}
|
|
4018
|
+
export declare class SegmentDto {
|
|
4019
|
+
id?: number;
|
|
4020
|
+
title: string;
|
|
4021
|
+
isPrivate: boolean;
|
|
4022
|
+
resourceIds: number[];
|
|
4023
|
+
sportId?: number;
|
|
4024
|
+
series: SeriesDto[];
|
|
4025
|
+
addonIds?: number[];
|
|
4026
|
+
publicNotesForSlots?: string;
|
|
4027
|
+
privateNotesForSlots?: string;
|
|
4028
|
+
}
|
|
4029
|
+
export declare class SeriesDto {
|
|
4030
|
+
id?: number;
|
|
4031
|
+
startDate: string;
|
|
4032
|
+
startTime?: string;
|
|
4033
|
+
endDate?: string;
|
|
4034
|
+
endTime?: string;
|
|
4035
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4036
|
+
durationEndsAfter?: number;
|
|
4037
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4038
|
+
frequency: FrequencyEnum;
|
|
4039
|
+
repeatEvery?: number;
|
|
4040
|
+
repeatOn?: number[];
|
|
4041
|
+
repeatEndDate?: string;
|
|
4042
|
+
numberOccurrences?: number;
|
|
4043
|
+
maintenance?: MaintenanceDto[];
|
|
4044
|
+
slots?: SlotDto[];
|
|
4045
|
+
}
|
|
4046
|
+
export declare class SlotDateTimeAndSpace {
|
|
4047
|
+
startDate: string;
|
|
4048
|
+
startTime?: string;
|
|
4049
|
+
endDate?: string;
|
|
4050
|
+
endTime?: string;
|
|
4051
|
+
spaceId: number;
|
|
4052
|
+
}
|
|
4053
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4054
|
+
id?: number;
|
|
4055
|
+
reservationId?: number;
|
|
4056
|
+
occurrence?: number;
|
|
4057
|
+
title: string;
|
|
4058
|
+
creatorId?: number;
|
|
4059
|
+
creatorType?: string;
|
|
4060
|
+
userCreatorId?: number;
|
|
4061
|
+
timezone?: string;
|
|
4062
|
+
publicNotes?: string;
|
|
4063
|
+
privateNotes?: string;
|
|
4064
|
+
slotType: SlotTypeEnum;
|
|
4065
|
+
product?: Product;
|
|
4066
|
+
priceOverrideMeta?: {
|
|
4067
|
+
unitPrice: number;
|
|
4068
|
+
quantity: number;
|
|
4069
|
+
totalPrice: number;
|
|
4070
|
+
};
|
|
4071
|
+
addonPriceOverrideMeta?: {
|
|
4072
|
+
[addonProductId: number]: {
|
|
4073
|
+
unitPrice: number;
|
|
4074
|
+
quantity: number;
|
|
4075
|
+
totalPrice: number;
|
|
4076
|
+
};
|
|
4077
|
+
};
|
|
4078
|
+
addonProducts?: Product[];
|
|
4079
|
+
segmentId?: number;
|
|
4080
|
+
seriesId?: number;
|
|
4081
|
+
eventId?: number;
|
|
4082
|
+
sportIds: number[];
|
|
4083
|
+
parentSlotId?: number;
|
|
4084
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4085
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4086
|
+
durationValue?: number;
|
|
4087
|
+
invoicId?: number;
|
|
4088
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4089
|
+
approvalStatus: ReservationStatusEnum;
|
|
4090
|
+
displayName?: string;
|
|
4091
|
+
internalName?: string;
|
|
4092
|
+
totalPrice?: number;
|
|
4093
|
+
relevantProducts?: Product[];
|
|
4094
|
+
maintenance?: MaintenanceDto[];
|
|
4095
|
+
maintenanceSlots?: SlotDto[];
|
|
4096
|
+
isPrivate: boolean;
|
|
4097
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4098
|
+
addons?: AddonDto[];
|
|
4099
|
+
addonsIds?: number[];
|
|
4100
|
+
}
|
|
4101
|
+
export declare class TimeSlotDto {
|
|
4102
|
+
id?: number;
|
|
4103
|
+
resourceId: number;
|
|
4104
|
+
startDate: string;
|
|
4105
|
+
startTime: string;
|
|
4106
|
+
endDate: string;
|
|
4107
|
+
endTime: string;
|
|
4108
|
+
parentSlotId?: number;
|
|
4109
|
+
}
|
|
4110
|
+
export declare class TimeSlotsDto {
|
|
4111
|
+
timeSlots: TimeSlotDto[];
|
|
4112
|
+
}
|
|
4113
|
+
export declare class SlotsIdsDto {
|
|
4114
|
+
slotsIds: number[];
|
|
4115
|
+
}
|
|
4116
|
+
declare class AnswerDto {
|
|
4117
|
+
questionId: number;
|
|
4118
|
+
value: any;
|
|
4119
|
+
}
|
|
4120
|
+
export declare class BookedSessionDto {
|
|
4121
|
+
startDate: string;
|
|
4122
|
+
endDate: string;
|
|
4123
|
+
timezone: string;
|
|
4124
|
+
spaceId: number;
|
|
4125
|
+
}
|
|
4126
|
+
declare class AddonV1Dto {
|
|
4127
|
+
resourcePackageId: number;
|
|
4128
|
+
resourcePackageAmount: number;
|
|
4129
|
+
resourcePackagePrice: number;
|
|
4130
|
+
}
|
|
4131
|
+
export declare class ReservationV1Dto {
|
|
4132
|
+
organizationId: number;
|
|
4142
4133
|
name: string;
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4134
|
+
dayOfWeek: number;
|
|
4135
|
+
startTime: string;
|
|
4136
|
+
description: string;
|
|
4137
|
+
sport: number;
|
|
4138
|
+
price: number;
|
|
4139
|
+
resourcePackageId: number;
|
|
4140
|
+
resourcePackageAmount: number;
|
|
4141
|
+
bookedSessions: BookedSessionDto[];
|
|
4142
|
+
addons: AddonV1Dto[];
|
|
4149
4143
|
}
|
|
4150
|
-
export declare class
|
|
4151
|
-
|
|
4144
|
+
export declare class BookingV1Dto {
|
|
4145
|
+
organizationId: number;
|
|
4146
|
+
reservations: ReservationV1Dto[];
|
|
4147
|
+
answers: AnswerDto[];
|
|
4148
|
+
paymentData: PurchasePaymentDto;
|
|
4149
|
+
skipPayment: boolean;
|
|
4150
|
+
cashPayment: boolean;
|
|
4151
|
+
requestOnly: boolean;
|
|
4152
4152
|
}
|
|
4153
|
-
export declare class
|
|
4154
|
-
|
|
4155
|
-
|
|
4153
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4154
|
+
parentId: number;
|
|
4155
|
+
parentType: AddonParentTypeEnum;
|
|
4156
|
+
productId: number;
|
|
4157
|
+
product?: Product;
|
|
4158
|
+
quantity: number;
|
|
4159
|
+
unitPrice: number;
|
|
4160
|
+
totalPrice: number;
|
|
4161
|
+
approvalStatus: ReservationStatusEnum;
|
|
4162
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4163
|
+
level?: ProductPackageLevelEnum;
|
|
4164
|
+
resourceId?: number;
|
|
4165
|
+
resource?: Resource;
|
|
4166
|
+
invoiceId?: number;
|
|
4167
|
+
invoice?: Invoice;
|
|
4168
|
+
productUserId?: number;
|
|
4169
|
+
productUser?: ProductsUsers;
|
|
4170
|
+
previousProductUsersIds?: number[];
|
|
4171
|
+
previousProductUsers?: ProductsUsers[];
|
|
4156
4172
|
}
|
|
4157
4173
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4158
4174
|
name?: string;
|
|
@@ -4201,6 +4217,12 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
4201
4217
|
privateNotesForSlots?: string;
|
|
4202
4218
|
slots?: Slot[];
|
|
4203
4219
|
}
|
|
4220
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4221
|
+
deletedAt?: Date;
|
|
4222
|
+
reservationId: number;
|
|
4223
|
+
invoiceId: number;
|
|
4224
|
+
slotId: number;
|
|
4225
|
+
}
|
|
4204
4226
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4205
4227
|
deletedAt?: Date;
|
|
4206
4228
|
segmentId: number;
|
|
@@ -4220,95 +4242,18 @@ export declare class Series extends OrganizationConnectionBaseEntity {
|
|
|
4220
4242
|
numberOccurrences?: number;
|
|
4221
4243
|
resources?: Resource[];
|
|
4222
4244
|
}
|
|
4223
|
-
export declare
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
unitPrice: number;
|
|
4230
|
-
totalPrice: number;
|
|
4231
|
-
approvalStatus: ReservationStatusEnum;
|
|
4232
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4233
|
-
level?: ProductPackageLevelEnum;
|
|
4234
|
-
resourceId?: number;
|
|
4235
|
-
resource?: Resource;
|
|
4236
|
-
invoiceId?: number;
|
|
4237
|
-
invoice?: Invoice;
|
|
4238
|
-
productUserId?: number;
|
|
4239
|
-
productUser?: ProductsUsers;
|
|
4240
|
-
previousProductUsersIds?: number[];
|
|
4241
|
-
previousProductUsers?: ProductsUsers[];
|
|
4242
|
-
}
|
|
4243
|
-
export declare class SlotDateTimeAndSpace {
|
|
4244
|
-
startDate: string;
|
|
4245
|
-
startTime?: string;
|
|
4246
|
-
endDate?: string;
|
|
4247
|
-
endTime?: string;
|
|
4248
|
-
spaceId: number;
|
|
4249
|
-
}
|
|
4250
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4251
|
-
id?: number;
|
|
4252
|
-
reservationId?: number;
|
|
4253
|
-
occurrence?: number;
|
|
4254
|
-
title: string;
|
|
4255
|
-
creatorId?: number;
|
|
4256
|
-
creatorType?: string;
|
|
4257
|
-
userCreatorId?: number;
|
|
4258
|
-
timezone?: string;
|
|
4259
|
-
publicNotes?: string;
|
|
4260
|
-
privateNotes?: string;
|
|
4261
|
-
slotType: SlotTypeEnum;
|
|
4262
|
-
product?: Product;
|
|
4263
|
-
priceOverrideMeta?: {
|
|
4264
|
-
unitPrice: number;
|
|
4265
|
-
quantity: number;
|
|
4266
|
-
totalPrice: number;
|
|
4267
|
-
};
|
|
4268
|
-
addonPriceOverrideMeta?: {
|
|
4269
|
-
[addonProductId: number]: {
|
|
4270
|
-
unitPrice: number;
|
|
4271
|
-
quantity: number;
|
|
4272
|
-
totalPrice: number;
|
|
4245
|
+
export declare type TSlotAndType = {
|
|
4246
|
+
type: 'slots' | 'slot_addons';
|
|
4247
|
+
slotsForProduct: {
|
|
4248
|
+
[productId: number]: {
|
|
4249
|
+
product: Product;
|
|
4250
|
+
slots: SlotDto[];
|
|
4273
4251
|
};
|
|
4274
4252
|
};
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
sportIds: number[];
|
|
4280
|
-
parentSlotId?: number;
|
|
4281
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4282
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4283
|
-
durationValue?: number;
|
|
4284
|
-
invoicId?: number;
|
|
4285
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4286
|
-
approvalStatus: ReservationStatusEnum;
|
|
4287
|
-
displayName?: string;
|
|
4288
|
-
internalName?: string;
|
|
4289
|
-
totalPrice?: number;
|
|
4290
|
-
relevantProducts?: Product[];
|
|
4291
|
-
maintenance?: MaintenanceDto[];
|
|
4292
|
-
maintenanceSlots?: SlotDto[];
|
|
4293
|
-
isPrivate: boolean;
|
|
4294
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4295
|
-
addons?: AddonDto[];
|
|
4296
|
-
addonsIds?: number[];
|
|
4297
|
-
}
|
|
4298
|
-
export declare class TimeSlotDto {
|
|
4299
|
-
id?: number;
|
|
4300
|
-
resourceId: number;
|
|
4301
|
-
startDate: string;
|
|
4302
|
-
startTime: string;
|
|
4303
|
-
endDate: string;
|
|
4304
|
-
endTime: string;
|
|
4305
|
-
parentSlotId?: number;
|
|
4306
|
-
}
|
|
4307
|
-
export declare class TimeSlotsDto {
|
|
4308
|
-
timeSlots: TimeSlotDto[];
|
|
4309
|
-
}
|
|
4310
|
-
export declare class SlotsIdsDto {
|
|
4311
|
-
slotsIds: number[];
|
|
4253
|
+
};
|
|
4254
|
+
export interface ILineItemResource {
|
|
4255
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4256
|
+
values: TResource[];
|
|
4312
4257
|
}
|
|
4313
4258
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4314
4259
|
constructor();
|
|
@@ -4377,19 +4322,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4377
4322
|
conflictsCount?: number;
|
|
4378
4323
|
conflicts?: Slot[];
|
|
4379
4324
|
}
|
|
4380
|
-
export declare type TSlotAndType = {
|
|
4381
|
-
type: 'slots' | 'slot_addons';
|
|
4382
|
-
slotsForProduct: {
|
|
4383
|
-
[productId: number]: {
|
|
4384
|
-
product: Product;
|
|
4385
|
-
slots: SlotDto[];
|
|
4386
|
-
};
|
|
4387
|
-
};
|
|
4388
|
-
};
|
|
4389
|
-
export interface ILineItemResource {
|
|
4390
|
-
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4391
|
-
values: TResource[];
|
|
4392
|
-
}
|
|
4393
4325
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4394
4326
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4395
4327
|
export interface ReservationV1 {
|
|
@@ -4609,11 +4541,28 @@ export interface AddonMetadata {
|
|
|
4609
4541
|
totalPrice: number;
|
|
4610
4542
|
product?: Product;
|
|
4611
4543
|
}
|
|
4612
|
-
export declare class
|
|
4544
|
+
export declare class ChangeRolePermissionsDto {
|
|
4545
|
+
permissionIds: number[];
|
|
4546
|
+
}
|
|
4547
|
+
export declare class CreateRoleDto {
|
|
4548
|
+
name: string;
|
|
4549
|
+
}
|
|
4550
|
+
export declare class Permission extends BondBaseEntity {
|
|
4551
|
+
name: string;
|
|
4613
4552
|
deletedAt?: Date;
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4553
|
+
}
|
|
4554
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4555
|
+
name: string;
|
|
4556
|
+
deletedAt?: Date;
|
|
4557
|
+
permissions: Permission[];
|
|
4558
|
+
usersRoles: UserRole[];
|
|
4559
|
+
}
|
|
4560
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4561
|
+
deletedAt?: Date;
|
|
4562
|
+
userId: number;
|
|
4563
|
+
roleId: number;
|
|
4564
|
+
role: Role;
|
|
4565
|
+
user: User;
|
|
4617
4566
|
}
|
|
4618
4567
|
export declare class CloseShiftDto {
|
|
4619
4568
|
closingCashAmount: number;
|
|
@@ -4641,6 +4590,13 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4641
4590
|
export declare class FindShiftsByIdsDto {
|
|
4642
4591
|
shiftIds: number[];
|
|
4643
4592
|
}
|
|
4593
|
+
export declare class ShiftManagementClosingAmount {
|
|
4594
|
+
shiftId: number;
|
|
4595
|
+
managementClosingCashAmount: number;
|
|
4596
|
+
}
|
|
4597
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4598
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4599
|
+
}
|
|
4644
4600
|
export declare class OpenShiftDto {
|
|
4645
4601
|
openingCashAmount: number;
|
|
4646
4602
|
stationId: number;
|
|
@@ -4674,13 +4630,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4674
4630
|
closingManager?: User;
|
|
4675
4631
|
reconcilingUser?: User;
|
|
4676
4632
|
}
|
|
4677
|
-
export declare class ShiftManagementClosingAmount {
|
|
4678
|
-
shiftId: number;
|
|
4679
|
-
managementClosingCashAmount: number;
|
|
4680
|
-
}
|
|
4681
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4682
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4683
|
-
}
|
|
4684
4633
|
export default interface IWebflowProgram {
|
|
4685
4634
|
name: string;
|
|
4686
4635
|
id: number;
|
|
@@ -4694,3 +4643,54 @@ export default interface IWebflowProgram {
|
|
|
4694
4643
|
level: string[];
|
|
4695
4644
|
gender: string;
|
|
4696
4645
|
}
|
|
4646
|
+
export declare class ImportedSlotProductDto {
|
|
4647
|
+
slotID?: string;
|
|
4648
|
+
name?: string;
|
|
4649
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
4650
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4651
|
+
price?: string;
|
|
4652
|
+
minutes?: string;
|
|
4653
|
+
quantity: string;
|
|
4654
|
+
startDate?: string;
|
|
4655
|
+
startTime?: string;
|
|
4656
|
+
endDate?: string;
|
|
4657
|
+
endTime?: string;
|
|
4658
|
+
bondProductId?: number;
|
|
4659
|
+
}
|
|
4660
|
+
export declare class ImportResourceMappingDto {
|
|
4661
|
+
bondResourceID?: string;
|
|
4662
|
+
resourceName?: string;
|
|
4663
|
+
}
|
|
4664
|
+
export declare class ImportProductMappingDto {
|
|
4665
|
+
productID?: string;
|
|
4666
|
+
productName?: string;
|
|
4667
|
+
}
|
|
4668
|
+
export declare class ImportedSlotDto {
|
|
4669
|
+
reservationID: string;
|
|
4670
|
+
bondResourceID: string;
|
|
4671
|
+
resourceName: string;
|
|
4672
|
+
subResourceName: string;
|
|
4673
|
+
startDate: string;
|
|
4674
|
+
startTime: string;
|
|
4675
|
+
endDate: string;
|
|
4676
|
+
endTime: string;
|
|
4677
|
+
sportId?: string;
|
|
4678
|
+
setupDuration: string;
|
|
4679
|
+
setupIncludeInCosts: string;
|
|
4680
|
+
takedownDuration: string;
|
|
4681
|
+
takedownIncludeInCosts: string;
|
|
4682
|
+
slotProduct: ImportedSlotProductDto;
|
|
4683
|
+
addonProducts: ImportedSlotProductDto[];
|
|
4684
|
+
totalPrice: string;
|
|
4685
|
+
}
|
|
4686
|
+
export declare class ImportedReservationDto {
|
|
4687
|
+
name: string;
|
|
4688
|
+
customerId: string;
|
|
4689
|
+
description: string;
|
|
4690
|
+
totalPrice: string;
|
|
4691
|
+
downPayment: string;
|
|
4692
|
+
paid: string;
|
|
4693
|
+
invoiceId: string;
|
|
4694
|
+
slots?: ImportedSlotDto[];
|
|
4695
|
+
addons?: ImportedSlotProductDto[];
|
|
4696
|
+
}
|