@bondsports/types 0.0.110 → 0.0.112
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 +1842 -1845
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,6 +2,31 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
close: string;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
19
|
+
}
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
5
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
6
31
|
membershipId: number;
|
|
7
32
|
}
|
|
@@ -163,34 +188,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
163
188
|
isWaiverSigned?: string;
|
|
164
189
|
statuses?: string;
|
|
165
190
|
}
|
|
166
|
-
export declare class BasicActivityTimesDto {
|
|
167
|
-
dayOfWeek: number;
|
|
168
|
-
close: string;
|
|
169
|
-
open: string;
|
|
170
|
-
availabilityStartDate?: string;
|
|
171
|
-
availabilityEndDate?: string;
|
|
172
|
-
}
|
|
173
|
-
export declare class QuestionAnswersDto {
|
|
174
|
-
questionId: number;
|
|
175
|
-
value: any;
|
|
176
|
-
}
|
|
177
|
-
export declare class UserAnswersDto {
|
|
178
|
-
userId: number;
|
|
179
|
-
answers: QuestionAnswersDto[];
|
|
180
|
-
}
|
|
181
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
182
|
-
questionnaireIds: string;
|
|
183
|
-
}
|
|
184
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
185
|
-
organizationId: number;
|
|
186
|
-
}
|
|
187
|
-
export declare class GetGlCodeDto {
|
|
188
|
-
id: number;
|
|
189
|
-
organizationId: number;
|
|
190
|
-
code: string;
|
|
191
|
-
createdAt: Date;
|
|
192
|
-
updatedAt: Date;
|
|
193
|
-
}
|
|
194
191
|
export declare class AddressDto {
|
|
195
192
|
city: string;
|
|
196
193
|
state: string;
|
|
@@ -266,6 +263,28 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
266
263
|
userId: number;
|
|
267
264
|
familyAccountId: number;
|
|
268
265
|
}
|
|
266
|
+
export declare class FindOneParams {
|
|
267
|
+
id: number;
|
|
268
|
+
}
|
|
269
|
+
export declare class PaginationQuery {
|
|
270
|
+
page: number;
|
|
271
|
+
itemsPerPage: number;
|
|
272
|
+
}
|
|
273
|
+
export declare class PaginationRangeQuery {
|
|
274
|
+
startPage: number;
|
|
275
|
+
endPage: number;
|
|
276
|
+
itemsPerPage: number;
|
|
277
|
+
}
|
|
278
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
279
|
+
organizationId: number;
|
|
280
|
+
}
|
|
281
|
+
export declare class GetGlCodeDto {
|
|
282
|
+
id: number;
|
|
283
|
+
organizationId: number;
|
|
284
|
+
code: string;
|
|
285
|
+
createdAt: Date;
|
|
286
|
+
updatedAt: Date;
|
|
287
|
+
}
|
|
269
288
|
export declare class FindByProgramSeasonIdDto {
|
|
270
289
|
seasonId: number;
|
|
271
290
|
}
|
|
@@ -339,35 +358,61 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
339
358
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
340
359
|
fileName: string;
|
|
341
360
|
}
|
|
342
|
-
export declare class
|
|
361
|
+
export declare class CreateMembershipDto {
|
|
362
|
+
organizationId: number;
|
|
363
|
+
name: string;
|
|
364
|
+
description?: string;
|
|
365
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
366
|
+
activity: SportsEnum;
|
|
367
|
+
facilityId: number;
|
|
368
|
+
questionnaires: number[];
|
|
369
|
+
minAgeYears: number;
|
|
370
|
+
maxAgeYears: number;
|
|
371
|
+
gender: GenderEnum;
|
|
372
|
+
maxMembers?: number;
|
|
373
|
+
maxMaleMembers?: number;
|
|
374
|
+
maxFemaleMembers?: number;
|
|
375
|
+
startDate: string;
|
|
376
|
+
endDate: string;
|
|
377
|
+
registrationStartDate?: Date;
|
|
378
|
+
registrationEndDate?: Date;
|
|
379
|
+
membershipType: MembershipTypeEnum;
|
|
380
|
+
durationMonths: number;
|
|
381
|
+
longDescription?: string;
|
|
382
|
+
isAutoRenew?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
343
385
|
id: number;
|
|
344
386
|
}
|
|
345
|
-
export declare class
|
|
346
|
-
|
|
347
|
-
|
|
387
|
+
export declare class UpdateMembershipMediaDto {
|
|
388
|
+
membershipId: number;
|
|
389
|
+
mediaId: number;
|
|
348
390
|
}
|
|
349
|
-
export declare class
|
|
350
|
-
|
|
351
|
-
endPage: number;
|
|
352
|
-
itemsPerPage: number;
|
|
391
|
+
export declare class FindMembershipByIdDto {
|
|
392
|
+
membershipId: number;
|
|
353
393
|
}
|
|
354
|
-
export declare class
|
|
394
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
355
395
|
organizationId: number;
|
|
356
|
-
parentProductId: number;
|
|
357
|
-
variantTitles: VariantTitleDto[];
|
|
358
|
-
variants: VariantDto[];
|
|
359
396
|
}
|
|
360
|
-
export declare class
|
|
361
|
-
|
|
362
|
-
titleId: number;
|
|
397
|
+
export declare class FindMembershipsByUserIdDto {
|
|
398
|
+
userId: number;
|
|
363
399
|
}
|
|
364
|
-
export declare class
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
400
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
401
|
+
startDate: string;
|
|
402
|
+
}
|
|
403
|
+
export declare class MembershipIdsDto {
|
|
404
|
+
membershipIds?: number[];
|
|
405
|
+
}
|
|
406
|
+
export declare class MemberIdDto {
|
|
407
|
+
memberId?: number;
|
|
408
|
+
}
|
|
409
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
410
|
+
nameEmailSearch?: string;
|
|
411
|
+
pastMemberships?: string;
|
|
412
|
+
}
|
|
413
|
+
export declare class CancelMembershipDto {
|
|
414
|
+
isImmediatelyCancel: boolean;
|
|
415
|
+
cancellationReason?: string;
|
|
371
416
|
}
|
|
372
417
|
export declare class CreateEntitlementTermsDto {
|
|
373
418
|
organizationId: number;
|
|
@@ -632,49 +677,23 @@ export declare class createResourceDto {
|
|
|
632
677
|
export declare class archiveDto {
|
|
633
678
|
isArchive: boolean;
|
|
634
679
|
}
|
|
635
|
-
export declare class
|
|
680
|
+
export declare class CreateUpdateVariantsDto {
|
|
636
681
|
organizationId: number;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
programId: number;
|
|
682
|
+
parentProductId: number;
|
|
683
|
+
variantTitles: VariantTitleDto[];
|
|
684
|
+
variants: VariantDto[];
|
|
641
685
|
}
|
|
642
|
-
export declare class
|
|
643
|
-
|
|
644
|
-
|
|
686
|
+
export declare class VariantTitleDto {
|
|
687
|
+
titleName: string;
|
|
688
|
+
titleId: number;
|
|
645
689
|
}
|
|
646
|
-
export declare class
|
|
647
|
-
type: ProgramTypesEnum;
|
|
690
|
+
export declare class VariantDto {
|
|
648
691
|
name: string;
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
description?: string;
|
|
655
|
-
GL?: string;
|
|
656
|
-
status: PublishingStatusEnum;
|
|
657
|
-
organizationId: number;
|
|
658
|
-
userCreatorId: number;
|
|
659
|
-
highlights: ProgramHighlights[];
|
|
660
|
-
longDescription?: string;
|
|
661
|
-
requiredProductIds: number[];
|
|
662
|
-
}
|
|
663
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
664
|
-
}
|
|
665
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
666
|
-
programId: number;
|
|
667
|
-
mainMediaId: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class UpdateProgramStatusDto {
|
|
670
|
-
programId: number;
|
|
671
|
-
status: PublishingStatusEnum;
|
|
672
|
-
}
|
|
673
|
-
export declare class ProgramHighlightDto {
|
|
674
|
-
data: string;
|
|
675
|
-
ordinal: number;
|
|
676
|
-
type: ProgramHighlightTypeEnum;
|
|
677
|
-
title: string;
|
|
692
|
+
price: number;
|
|
693
|
+
variantId: number;
|
|
694
|
+
currency: CurrencyEnum;
|
|
695
|
+
startDate: Date;
|
|
696
|
+
endDate: Date;
|
|
678
697
|
}
|
|
679
698
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
680
699
|
programId: number;
|
|
@@ -859,6 +878,50 @@ export declare class MoveParticipantDto {
|
|
|
859
878
|
resourceId: number;
|
|
860
879
|
invoiceId: number;
|
|
861
880
|
}
|
|
881
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
882
|
+
organizationId: number;
|
|
883
|
+
programType?: ProgramTypesEnum;
|
|
884
|
+
}
|
|
885
|
+
export declare class FindProgramByIdDto {
|
|
886
|
+
programId: number;
|
|
887
|
+
}
|
|
888
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
889
|
+
programId: number;
|
|
890
|
+
organizationId: number;
|
|
891
|
+
}
|
|
892
|
+
export declare class BaseProgramDto {
|
|
893
|
+
type: ProgramTypesEnum;
|
|
894
|
+
name: string;
|
|
895
|
+
sport: SportsEnum;
|
|
896
|
+
minAge: string;
|
|
897
|
+
maxAge: string;
|
|
898
|
+
gender: GenderEnum;
|
|
899
|
+
level?: LevelOfPlayEnum[];
|
|
900
|
+
description?: string;
|
|
901
|
+
GL?: string;
|
|
902
|
+
status: PublishingStatusEnum;
|
|
903
|
+
organizationId: number;
|
|
904
|
+
userCreatorId: number;
|
|
905
|
+
highlights: ProgramHighlights[];
|
|
906
|
+
longDescription?: string;
|
|
907
|
+
requiredProductIds: number[];
|
|
908
|
+
}
|
|
909
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
910
|
+
}
|
|
911
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
912
|
+
programId: number;
|
|
913
|
+
mainMediaId: number;
|
|
914
|
+
}
|
|
915
|
+
export declare class UpdateProgramStatusDto {
|
|
916
|
+
programId: number;
|
|
917
|
+
status: PublishingStatusEnum;
|
|
918
|
+
}
|
|
919
|
+
export declare class ProgramHighlightDto {
|
|
920
|
+
data: string;
|
|
921
|
+
ordinal: number;
|
|
922
|
+
type: ProgramHighlightTypeEnum;
|
|
923
|
+
title: string;
|
|
924
|
+
}
|
|
862
925
|
export declare class PurchasePaymentDto {
|
|
863
926
|
token: string;
|
|
864
927
|
type: PaymentMethodTypeEnum;
|
|
@@ -931,6 +994,18 @@ export declare class PartialPaymentAsUserDto {
|
|
|
931
994
|
paymentMethodData: any;
|
|
932
995
|
platform?: PlatformsEnum;
|
|
933
996
|
}
|
|
997
|
+
export declare class CreateResourceGroupDto {
|
|
998
|
+
name: string;
|
|
999
|
+
parentSlotId: number;
|
|
1000
|
+
facilityId: number;
|
|
1001
|
+
childrenSlotIds: number[];
|
|
1002
|
+
}
|
|
1003
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1004
|
+
}
|
|
1005
|
+
export declare class ResourceDto {
|
|
1006
|
+
type: ResourceNameTypeEnum;
|
|
1007
|
+
id: number;
|
|
1008
|
+
}
|
|
934
1009
|
export declare class SpaceByIdDto {
|
|
935
1010
|
spaceId: number;
|
|
936
1011
|
}
|
|
@@ -997,13 +1072,14 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
997
1072
|
publicToken: string;
|
|
998
1073
|
accountId: string;
|
|
999
1074
|
}
|
|
1000
|
-
export declare class
|
|
1001
|
-
|
|
1002
|
-
parentSlotId: number;
|
|
1003
|
-
facilityId: number;
|
|
1004
|
-
childrenSlotIds: number[];
|
|
1075
|
+
export declare class FindByUserIdDto {
|
|
1076
|
+
userId: number;
|
|
1005
1077
|
}
|
|
1006
|
-
export declare class
|
|
1078
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1079
|
+
familyAccountId?: number;
|
|
1080
|
+
}
|
|
1081
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1082
|
+
organizationId: number;
|
|
1007
1083
|
}
|
|
1008
1084
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1009
1085
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1018,28 +1094,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1018
1094
|
oldValue?: any;
|
|
1019
1095
|
newValue?: any;
|
|
1020
1096
|
}
|
|
1021
|
-
export declare class FindByUserIdDto {
|
|
1022
|
-
userId: number;
|
|
1023
|
-
}
|
|
1024
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1025
|
-
familyAccountId?: number;
|
|
1026
|
-
}
|
|
1027
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1028
|
-
organizationId: number;
|
|
1029
|
-
}
|
|
1030
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1031
|
-
questionId: number;
|
|
1032
|
-
question?: Questions;
|
|
1033
|
-
parentId: number;
|
|
1034
|
-
parentType: ResourceNameTypeEnum;
|
|
1035
|
-
answerValue: any;
|
|
1036
|
-
creatorId: number;
|
|
1037
|
-
creatorType: ResourceNameTypeEnum;
|
|
1038
|
-
answerTitleId: number;
|
|
1039
|
-
answerTitle: AnswerTitle;
|
|
1040
|
-
metaData: any | null;
|
|
1041
|
-
questionText: string | null;
|
|
1042
|
-
}
|
|
1043
1097
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1044
1098
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1045
1099
|
parentId: number;
|
|
@@ -1053,12 +1107,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1053
1107
|
proudct: Product;
|
|
1054
1108
|
event: Event;
|
|
1055
1109
|
}
|
|
1056
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1057
|
-
questionnaireId: number;
|
|
1058
|
-
userId?: number;
|
|
1059
|
-
answers: Answer[];
|
|
1060
|
-
questionnaire: Questionnaires;
|
|
1061
|
-
}
|
|
1062
1110
|
export declare class Address extends BondBaseEntity {
|
|
1063
1111
|
city?: string;
|
|
1064
1112
|
street?: string;
|
|
@@ -1070,6 +1118,25 @@ export declare class Address extends BondBaseEntity {
|
|
|
1070
1118
|
geo: any;
|
|
1071
1119
|
deletedAt?: Date;
|
|
1072
1120
|
}
|
|
1121
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1122
|
+
questionId: number;
|
|
1123
|
+
question?: Questions;
|
|
1124
|
+
parentId: number;
|
|
1125
|
+
parentType: ResourceNameTypeEnum;
|
|
1126
|
+
answerValue: any;
|
|
1127
|
+
creatorId: number;
|
|
1128
|
+
creatorType: ResourceNameTypeEnum;
|
|
1129
|
+
answerTitleId: number;
|
|
1130
|
+
answerTitle: AnswerTitle;
|
|
1131
|
+
metaData: any | null;
|
|
1132
|
+
questionText: string | null;
|
|
1133
|
+
}
|
|
1134
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1135
|
+
questionnaireId: number;
|
|
1136
|
+
userId?: number;
|
|
1137
|
+
answers: Answer[];
|
|
1138
|
+
questionnaire: Questionnaires;
|
|
1139
|
+
}
|
|
1073
1140
|
export declare class Athlete extends BondBaseEntity {
|
|
1074
1141
|
userId: number | null;
|
|
1075
1142
|
metadata: object | null;
|
|
@@ -1080,6 +1147,19 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1080
1147
|
sports: number | null;
|
|
1081
1148
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1082
1149
|
}
|
|
1150
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1151
|
+
entityType: ResourceNameTypeEnum;
|
|
1152
|
+
entityId: number;
|
|
1153
|
+
name: string;
|
|
1154
|
+
startDate: Date;
|
|
1155
|
+
endDate: Date;
|
|
1156
|
+
deletedAt?: Date;
|
|
1157
|
+
}
|
|
1158
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1159
|
+
id: number;
|
|
1160
|
+
createdAt: Date;
|
|
1161
|
+
updatedAt: Date;
|
|
1162
|
+
}
|
|
1083
1163
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1084
1164
|
reservationId?: number;
|
|
1085
1165
|
color?: string;
|
|
@@ -1098,19 +1178,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1098
1178
|
publicNotes?: string;
|
|
1099
1179
|
slotType?: SlotTypeEnum;
|
|
1100
1180
|
}
|
|
1101
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1102
|
-
id: number;
|
|
1103
|
-
createdAt: Date;
|
|
1104
|
-
updatedAt: Date;
|
|
1105
|
-
}
|
|
1106
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1107
|
-
entityType: ResourceNameTypeEnum;
|
|
1108
|
-
entityId: number;
|
|
1109
|
-
name: string;
|
|
1110
|
-
startDate: Date;
|
|
1111
|
-
endDate: Date;
|
|
1112
|
-
deletedAt?: Date;
|
|
1113
|
-
}
|
|
1114
1181
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1115
1182
|
parentId: number;
|
|
1116
1183
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1121,13 +1188,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1121
1188
|
endTimeInDay: string;
|
|
1122
1189
|
directBookingFor: DirectBookingTypesEnum;
|
|
1123
1190
|
}
|
|
1124
|
-
export declare class FindBookingTypeSettingDto {
|
|
1125
|
-
organizationId: number;
|
|
1126
|
-
facilityId: number;
|
|
1127
|
-
spaceId: number;
|
|
1128
|
-
bookingDate: string;
|
|
1129
|
-
bookingTime: string;
|
|
1130
|
-
}
|
|
1131
1191
|
export declare class Configuration extends BondBaseEntity {
|
|
1132
1192
|
area: string;
|
|
1133
1193
|
key: string;
|
|
@@ -1145,6 +1205,14 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1145
1205
|
userCreatorId: number | null;
|
|
1146
1206
|
ownerId: number | null;
|
|
1147
1207
|
}
|
|
1208
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1209
|
+
creditAmount: number;
|
|
1210
|
+
paymentProcessorId: string;
|
|
1211
|
+
userId: number;
|
|
1212
|
+
paymentId: number;
|
|
1213
|
+
invoiceId: number;
|
|
1214
|
+
creditPaymentId: number;
|
|
1215
|
+
}
|
|
1148
1216
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1149
1217
|
name: string | null;
|
|
1150
1218
|
entityId: number | null;
|
|
@@ -1173,13 +1241,11 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1173
1241
|
mainMedia: Media;
|
|
1174
1242
|
reservations?: Reservation[];
|
|
1175
1243
|
}
|
|
1176
|
-
export declare class
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
isDefault: boolean;
|
|
1182
|
-
groups: Group[];
|
|
1244
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1245
|
+
customerId?: number;
|
|
1246
|
+
description: string;
|
|
1247
|
+
pinToTop?: boolean;
|
|
1248
|
+
customer: Customer;
|
|
1183
1249
|
}
|
|
1184
1250
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1185
1251
|
customerId: number;
|
|
@@ -1193,49 +1259,27 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1193
1259
|
invoice: Invoice;
|
|
1194
1260
|
payment: Payment;
|
|
1195
1261
|
}
|
|
1196
|
-
export declare class
|
|
1197
|
-
customerId
|
|
1198
|
-
|
|
1199
|
-
|
|
1262
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1263
|
+
customerId: number;
|
|
1264
|
+
name: string | null;
|
|
1265
|
+
phoneNumber: string | null;
|
|
1200
1266
|
customer: Customer;
|
|
1201
1267
|
}
|
|
1202
1268
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1203
1269
|
name: string | null;
|
|
1204
1270
|
}
|
|
1271
|
+
export declare class Division extends BondBaseEntity {
|
|
1272
|
+
name: string;
|
|
1273
|
+
ordinal?: number;
|
|
1274
|
+
programSeasonId: number;
|
|
1275
|
+
color: string;
|
|
1276
|
+
isDefault: boolean;
|
|
1277
|
+
groups: Group[];
|
|
1278
|
+
}
|
|
1205
1279
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1206
1280
|
groupId: number;
|
|
1207
1281
|
terms: IEntitlementTerms[];
|
|
1208
1282
|
}
|
|
1209
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1210
|
-
customerId: number;
|
|
1211
|
-
name: string | null;
|
|
1212
|
-
phoneNumber: string | null;
|
|
1213
|
-
customer: Customer;
|
|
1214
|
-
}
|
|
1215
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1216
|
-
name: string;
|
|
1217
|
-
description?: string;
|
|
1218
|
-
addressId: number;
|
|
1219
|
-
address: Address;
|
|
1220
|
-
amenities?: number[];
|
|
1221
|
-
timezone: string;
|
|
1222
|
-
creatorId: number;
|
|
1223
|
-
creatorType: string;
|
|
1224
|
-
userCreatorId: number;
|
|
1225
|
-
mainMediaId: number;
|
|
1226
|
-
mainMedia: Media;
|
|
1227
|
-
publishedDate?: Date;
|
|
1228
|
-
isPublished: boolean;
|
|
1229
|
-
sports?: number[];
|
|
1230
|
-
info?: string;
|
|
1231
|
-
longDescription?: string;
|
|
1232
|
-
deletedAt?: Date;
|
|
1233
|
-
openingTimes: OpeningTime[];
|
|
1234
|
-
resources: Resource[];
|
|
1235
|
-
spaces: Resource[];
|
|
1236
|
-
programSeasons: ProgramSeason[];
|
|
1237
|
-
linkSEO: string;
|
|
1238
|
-
}
|
|
1239
1283
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1240
1284
|
status: RequestStatusEnum | null;
|
|
1241
1285
|
hasPaid: boolean | null;
|
|
@@ -1251,14 +1295,6 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1251
1295
|
event: Event;
|
|
1252
1296
|
purchasedResource: PurchasedResource;
|
|
1253
1297
|
}
|
|
1254
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1255
|
-
creditAmount: number;
|
|
1256
|
-
paymentProcessorId: string;
|
|
1257
|
-
userId: number;
|
|
1258
|
-
paymentId: number;
|
|
1259
|
-
invoiceId: number;
|
|
1260
|
-
creditPaymentId: number;
|
|
1261
|
-
}
|
|
1262
1298
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1263
1299
|
constructor();
|
|
1264
1300
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1314,10 +1350,41 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1314
1350
|
slots: Slot[];
|
|
1315
1351
|
purchasedResources: PurchasedResource[];
|
|
1316
1352
|
}
|
|
1353
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1354
|
+
name: string;
|
|
1355
|
+
description?: string;
|
|
1356
|
+
addressId: number;
|
|
1357
|
+
address: Address;
|
|
1358
|
+
amenities?: number[];
|
|
1359
|
+
timezone: string;
|
|
1360
|
+
creatorId: number;
|
|
1361
|
+
creatorType: string;
|
|
1362
|
+
userCreatorId: number;
|
|
1363
|
+
mainMediaId: number;
|
|
1364
|
+
mainMedia: Media;
|
|
1365
|
+
publishedDate?: Date;
|
|
1366
|
+
isPublished: boolean;
|
|
1367
|
+
sports?: number[];
|
|
1368
|
+
info?: string;
|
|
1369
|
+
longDescription?: string;
|
|
1370
|
+
deletedAt?: Date;
|
|
1371
|
+
openingTimes: OpeningTime[];
|
|
1372
|
+
resources: Resource[];
|
|
1373
|
+
spaces: Resource[];
|
|
1374
|
+
programSeasons: ProgramSeason[];
|
|
1375
|
+
linkSEO: string;
|
|
1376
|
+
}
|
|
1317
1377
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1318
1378
|
facilityId: number;
|
|
1319
1379
|
resourceId: number;
|
|
1320
1380
|
}
|
|
1381
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1382
|
+
name: string | null;
|
|
1383
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1384
|
+
}
|
|
1385
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1386
|
+
code: string;
|
|
1387
|
+
}
|
|
1321
1388
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1322
1389
|
userId: number;
|
|
1323
1390
|
invoiceId: number;
|
|
@@ -1328,73 +1395,39 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1328
1395
|
plannedDate: Date;
|
|
1329
1396
|
chargedAt?: Date;
|
|
1330
1397
|
}
|
|
1331
|
-
export declare class
|
|
1332
|
-
code: string;
|
|
1333
|
-
}
|
|
1334
|
-
export declare class CreateMembershipDto {
|
|
1335
|
-
organizationId: number;
|
|
1398
|
+
export declare class Group extends BondBaseEntity {
|
|
1336
1399
|
name: string;
|
|
1337
1400
|
description?: string;
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
maxAgeYears: number;
|
|
1401
|
+
status: GroupStatusEnum;
|
|
1402
|
+
maxCapacity?: number;
|
|
1403
|
+
mainMediaId?: number;
|
|
1404
|
+
minAgeYears?: number;
|
|
1405
|
+
maxAgeYears?: number;
|
|
1344
1406
|
gender: GenderEnum;
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
registrationEndDate?: Date;
|
|
1352
|
-
membershipType: MembershipTypeEnum;
|
|
1353
|
-
durationMonths: number;
|
|
1354
|
-
longDescription?: string;
|
|
1355
|
-
isAutoRenew?: boolean;
|
|
1356
|
-
}
|
|
1357
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
1358
|
-
id: number;
|
|
1359
|
-
}
|
|
1360
|
-
export declare class UpdateMembershipMediaDto {
|
|
1361
|
-
membershipId: number;
|
|
1362
|
-
mediaId: number;
|
|
1407
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1408
|
+
sports: SportsEnum[];
|
|
1409
|
+
questionnaires?: number[];
|
|
1410
|
+
captainUserId?: number;
|
|
1411
|
+
members: ISeasonAttendeeInfo[];
|
|
1412
|
+
users: User[];
|
|
1363
1413
|
}
|
|
1364
|
-
export declare class
|
|
1365
|
-
|
|
1414
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1415
|
+
groupId: number;
|
|
1416
|
+
itemId: number;
|
|
1417
|
+
itemType: ResourceNameTypeEnum;
|
|
1418
|
+
startDate: Date;
|
|
1419
|
+
endDate: Date;
|
|
1420
|
+
price: number;
|
|
1421
|
+
overridesPrice: boolean;
|
|
1422
|
+
deletedAt?: Date;
|
|
1423
|
+
group?: EntitlementGroup;
|
|
1424
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1425
|
+
discountValue?: number;
|
|
1366
1426
|
}
|
|
1367
|
-
export declare class
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
userId: number;
|
|
1372
|
-
}
|
|
1373
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
1374
|
-
startDate: string;
|
|
1375
|
-
}
|
|
1376
|
-
export declare class MembershipIdsDto {
|
|
1377
|
-
membershipIds?: number[];
|
|
1378
|
-
}
|
|
1379
|
-
export declare class MemberIdDto {
|
|
1380
|
-
memberId?: number;
|
|
1381
|
-
}
|
|
1382
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
1383
|
-
nameEmailSearch?: string;
|
|
1384
|
-
pastMemberships?: string;
|
|
1385
|
-
}
|
|
1386
|
-
export declare class CancelMembershipDto {
|
|
1387
|
-
isImmediatelyCancel: boolean;
|
|
1388
|
-
cancellationReason?: string;
|
|
1389
|
-
}
|
|
1390
|
-
export declare class ResourceDto {
|
|
1391
|
-
type: ResourceNameTypeEnum;
|
|
1392
|
-
id: number;
|
|
1393
|
-
}
|
|
1394
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1395
|
-
groupId: number;
|
|
1396
|
-
divisionId: number;
|
|
1397
|
-
deletedAt?: Date;
|
|
1427
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1428
|
+
groupId: number;
|
|
1429
|
+
divisionId: number;
|
|
1430
|
+
deletedAt?: Date;
|
|
1398
1431
|
}
|
|
1399
1432
|
export declare class Invoice extends BondBaseEntity {
|
|
1400
1433
|
invoiceId: string | null;
|
|
@@ -1420,9 +1453,14 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1420
1453
|
invoiceNotes: InvoiceNote[];
|
|
1421
1454
|
slots: Slot[];
|
|
1422
1455
|
}
|
|
1423
|
-
export declare class
|
|
1424
|
-
|
|
1425
|
-
|
|
1456
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1457
|
+
content: string;
|
|
1458
|
+
creatingUserId: number;
|
|
1459
|
+
user: User;
|
|
1460
|
+
isPublic: boolean;
|
|
1461
|
+
deletedAt: Date;
|
|
1462
|
+
invoiceId: number;
|
|
1463
|
+
invoice: Invoice;
|
|
1426
1464
|
}
|
|
1427
1465
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1428
1466
|
email: string;
|
|
@@ -1435,6 +1473,14 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1435
1473
|
mailParams?: any;
|
|
1436
1474
|
memo?: string;
|
|
1437
1475
|
}
|
|
1476
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1477
|
+
invoiceId: number;
|
|
1478
|
+
paymentId: number;
|
|
1479
|
+
invoice: Invoice;
|
|
1480
|
+
payment: Payment;
|
|
1481
|
+
paidAmount?: number;
|
|
1482
|
+
currency: CurrencyEnum;
|
|
1483
|
+
}
|
|
1438
1484
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1439
1485
|
name: string | null;
|
|
1440
1486
|
description: string | null;
|
|
@@ -1461,35 +1507,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1461
1507
|
logo?: Media;
|
|
1462
1508
|
seasons: LeagueSeason[];
|
|
1463
1509
|
}
|
|
1464
|
-
export declare class Group extends BondBaseEntity {
|
|
1465
|
-
name: string;
|
|
1466
|
-
description?: string;
|
|
1467
|
-
status: GroupStatusEnum;
|
|
1468
|
-
maxCapacity?: number;
|
|
1469
|
-
mainMediaId?: number;
|
|
1470
|
-
minAgeYears?: number;
|
|
1471
|
-
maxAgeYears?: number;
|
|
1472
|
-
gender: GenderEnum;
|
|
1473
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1474
|
-
sports: SportsEnum[];
|
|
1475
|
-
questionnaires?: number[];
|
|
1476
|
-
captainUserId?: number;
|
|
1477
|
-
members: ISeasonAttendeeInfo[];
|
|
1478
|
-
users: User[];
|
|
1479
|
-
}
|
|
1480
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1481
|
-
groupId: number;
|
|
1482
|
-
itemId: number;
|
|
1483
|
-
itemType: ResourceNameTypeEnum;
|
|
1484
|
-
startDate: Date;
|
|
1485
|
-
endDate: Date;
|
|
1486
|
-
price: number;
|
|
1487
|
-
overridesPrice: boolean;
|
|
1488
|
-
deletedAt?: Date;
|
|
1489
|
-
group?: EntitlementGroup;
|
|
1490
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1491
|
-
discountValue?: number;
|
|
1492
|
-
}
|
|
1493
1510
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1494
1511
|
leagueId: number | null;
|
|
1495
1512
|
name: string | null;
|
|
@@ -1544,6 +1561,50 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1544
1561
|
payment: Payment;
|
|
1545
1562
|
lineItem: LineItems;
|
|
1546
1563
|
}
|
|
1564
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1565
|
+
id: number;
|
|
1566
|
+
provider: string;
|
|
1567
|
+
providerId: string | null;
|
|
1568
|
+
parentId: number | null;
|
|
1569
|
+
parentType: string | null;
|
|
1570
|
+
status: number | null;
|
|
1571
|
+
token: string | null;
|
|
1572
|
+
refreshToken: string | null;
|
|
1573
|
+
tokenCreatedAt: Date | null;
|
|
1574
|
+
tokenValidUpTo: Date | null;
|
|
1575
|
+
createdAt: Date;
|
|
1576
|
+
updatedAt: Date;
|
|
1577
|
+
user: User;
|
|
1578
|
+
userId: number | null;
|
|
1579
|
+
}
|
|
1580
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1581
|
+
name: string;
|
|
1582
|
+
description?: string;
|
|
1583
|
+
mainMedia?: Media;
|
|
1584
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1585
|
+
activity?: SportsEnum;
|
|
1586
|
+
facilityId?: number;
|
|
1587
|
+
facilityName?: string;
|
|
1588
|
+
questionnaires?: number[];
|
|
1589
|
+
minAgeYears?: number;
|
|
1590
|
+
maxAgeYears?: number;
|
|
1591
|
+
gender: GenderEnum;
|
|
1592
|
+
maxMembers?: number;
|
|
1593
|
+
maxMaleMembers?: number;
|
|
1594
|
+
maxFemaleMembers?: number;
|
|
1595
|
+
membershipType: MembershipTypeEnum;
|
|
1596
|
+
durationMonths?: number;
|
|
1597
|
+
startDate?: string;
|
|
1598
|
+
endDate?: string;
|
|
1599
|
+
registrationStartDate?: Date;
|
|
1600
|
+
registrationEndDate?: Date;
|
|
1601
|
+
package?: IPackageResponse;
|
|
1602
|
+
tags: any[];
|
|
1603
|
+
members: MembershipMember[];
|
|
1604
|
+
longDescription?: string;
|
|
1605
|
+
isAutoRenew?: boolean;
|
|
1606
|
+
purchasedResources: PurchasedResource[];
|
|
1607
|
+
}
|
|
1547
1608
|
export declare class LineItems extends BondBaseEntity {
|
|
1548
1609
|
constructor();
|
|
1549
1610
|
defineIsReverted(): void;
|
|
@@ -1599,13 +1660,24 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1599
1660
|
displayUnitPrice?: number;
|
|
1600
1661
|
displayQuantity?: number;
|
|
1601
1662
|
}
|
|
1602
|
-
export declare class
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1663
|
+
export declare class Media extends BondBaseEntity {
|
|
1664
|
+
url: string;
|
|
1665
|
+
name: string | null;
|
|
1666
|
+
title: string | null;
|
|
1667
|
+
mediaKey: string | null;
|
|
1668
|
+
description: string | null;
|
|
1669
|
+
provider: string | null;
|
|
1670
|
+
mediaType: number;
|
|
1671
|
+
fileType: string | null;
|
|
1672
|
+
isDefault: boolean | null;
|
|
1673
|
+
creatorId: number | null;
|
|
1674
|
+
creatorType: string | null;
|
|
1675
|
+
userCreatorId: number | null;
|
|
1676
|
+
ownerId: number | null;
|
|
1677
|
+
createdBy: number | null;
|
|
1678
|
+
users: User[];
|
|
1679
|
+
programs: Program[];
|
|
1680
|
+
memberships: Membership[];
|
|
1609
1681
|
}
|
|
1610
1682
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1611
1683
|
membership: Membership;
|
|
@@ -1627,33 +1699,11 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1627
1699
|
cancellationStatus?: CancellationStatusEnum;
|
|
1628
1700
|
isImported?: boolean;
|
|
1629
1701
|
}
|
|
1630
|
-
export declare class
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
deletedAt: Date;
|
|
1636
|
-
invoiceId: number;
|
|
1637
|
-
invoice: Invoice;
|
|
1638
|
-
}
|
|
1639
|
-
export declare class Media extends BondBaseEntity {
|
|
1640
|
-
url: string;
|
|
1641
|
-
name: string | null;
|
|
1642
|
-
title: string | null;
|
|
1643
|
-
mediaKey: string | null;
|
|
1644
|
-
description: string | null;
|
|
1645
|
-
provider: string | null;
|
|
1646
|
-
mediaType: number;
|
|
1647
|
-
fileType: string | null;
|
|
1648
|
-
isDefault: boolean | null;
|
|
1649
|
-
creatorId: number | null;
|
|
1650
|
-
creatorType: string | null;
|
|
1651
|
-
userCreatorId: number | null;
|
|
1652
|
-
ownerId: number | null;
|
|
1653
|
-
createdBy: number | null;
|
|
1654
|
-
users: User[];
|
|
1655
|
-
programs: Program[];
|
|
1656
|
-
memberships: Membership[];
|
|
1702
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1703
|
+
email: string | null;
|
|
1704
|
+
notificationType: NotificationTypeEnum | null;
|
|
1705
|
+
resourceId: number | null;
|
|
1706
|
+
resourceType: string | null;
|
|
1657
1707
|
}
|
|
1658
1708
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1659
1709
|
id: number;
|
|
@@ -1686,56 +1736,11 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1686
1736
|
isMandatory: boolean;
|
|
1687
1737
|
productId: number;
|
|
1688
1738
|
}
|
|
1689
|
-
export declare class
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
activity?: SportsEnum;
|
|
1695
|
-
facilityId?: number;
|
|
1696
|
-
facilityName?: string;
|
|
1697
|
-
questionnaires?: number[];
|
|
1698
|
-
minAgeYears?: number;
|
|
1699
|
-
maxAgeYears?: number;
|
|
1700
|
-
gender: GenderEnum;
|
|
1701
|
-
maxMembers?: number;
|
|
1702
|
-
maxMaleMembers?: number;
|
|
1703
|
-
maxFemaleMembers?: number;
|
|
1704
|
-
membershipType: MembershipTypeEnum;
|
|
1705
|
-
durationMonths?: number;
|
|
1706
|
-
startDate?: string;
|
|
1707
|
-
endDate?: string;
|
|
1708
|
-
registrationStartDate?: Date;
|
|
1709
|
-
registrationEndDate?: Date;
|
|
1710
|
-
package?: IPackageResponse;
|
|
1711
|
-
tags: any[];
|
|
1712
|
-
members: MembershipMember[];
|
|
1713
|
-
longDescription?: string;
|
|
1714
|
-
isAutoRenew?: boolean;
|
|
1715
|
-
purchasedResources: PurchasedResource[];
|
|
1716
|
-
}
|
|
1717
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1718
|
-
productId: number;
|
|
1719
|
-
product: Product;
|
|
1720
|
-
name: string | null;
|
|
1721
|
-
price: number;
|
|
1722
|
-
currency: CurrencyEnum;
|
|
1723
|
-
paymentProcessorId: number | null;
|
|
1724
|
-
startDate: Date;
|
|
1725
|
-
endDate: Date;
|
|
1726
|
-
groupId?: number;
|
|
1727
|
-
groupName?: string;
|
|
1728
|
-
originalPrice?: number;
|
|
1729
|
-
deletedAt?: Date;
|
|
1730
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1731
|
-
discountValue?: number;
|
|
1732
|
-
taxIncludedPrice?: number;
|
|
1733
|
-
}
|
|
1734
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1735
|
-
paymentPlanId: number;
|
|
1736
|
-
paymentDate: Date;
|
|
1737
|
-
deletedAt?: Date;
|
|
1738
|
-
paymentPlan: ProductPaymentPlan;
|
|
1739
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1740
|
+
token: string | null;
|
|
1741
|
+
userId: number | null;
|
|
1742
|
+
validUntil: Date | null;
|
|
1743
|
+
active: boolean | null;
|
|
1739
1744
|
}
|
|
1740
1745
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1741
1746
|
price: number;
|
|
@@ -1764,28 +1769,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1764
1769
|
refundReasonId?: number;
|
|
1765
1770
|
refundNote?: string;
|
|
1766
1771
|
}
|
|
1767
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1768
|
-
id: number;
|
|
1769
|
-
provider: string;
|
|
1770
|
-
providerId: string | null;
|
|
1771
|
-
parentId: number | null;
|
|
1772
|
-
parentType: string | null;
|
|
1773
|
-
status: number | null;
|
|
1774
|
-
token: string | null;
|
|
1775
|
-
refreshToken: string | null;
|
|
1776
|
-
tokenCreatedAt: Date | null;
|
|
1777
|
-
tokenValidUpTo: Date | null;
|
|
1778
|
-
createdAt: Date;
|
|
1779
|
-
updatedAt: Date;
|
|
1780
|
-
user: User;
|
|
1781
|
-
userId: number | null;
|
|
1782
|
-
}
|
|
1783
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1784
|
-
token: string | null;
|
|
1785
|
-
userId: number | null;
|
|
1786
|
-
validUntil: Date | null;
|
|
1787
|
-
active: boolean | null;
|
|
1788
|
-
}
|
|
1789
1772
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1790
1773
|
content: string;
|
|
1791
1774
|
creatingUserId: number;
|
|
@@ -1795,7 +1778,98 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1795
1778
|
paymentId: number;
|
|
1796
1779
|
payment: Payment;
|
|
1797
1780
|
}
|
|
1798
|
-
export declare class
|
|
1781
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1782
|
+
paymentPlanId: number;
|
|
1783
|
+
paymentDate: Date;
|
|
1784
|
+
deletedAt?: Date;
|
|
1785
|
+
paymentPlan: ProductPaymentPlan;
|
|
1786
|
+
}
|
|
1787
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1788
|
+
userId: number | null;
|
|
1789
|
+
ownerId: number | null;
|
|
1790
|
+
parentId: number | null;
|
|
1791
|
+
parentType: string | null;
|
|
1792
|
+
idAtProvider: string | null;
|
|
1793
|
+
providerType: number | null;
|
|
1794
|
+
providerExtraData: string | null;
|
|
1795
|
+
requestData: string | null;
|
|
1796
|
+
responseData: string | null;
|
|
1797
|
+
status: number | null;
|
|
1798
|
+
price: number | null;
|
|
1799
|
+
currency: string | null;
|
|
1800
|
+
locked: boolean | null;
|
|
1801
|
+
numberOfTries: number | null;
|
|
1802
|
+
installmentId: number | null;
|
|
1803
|
+
invoiceId: string | null;
|
|
1804
|
+
}
|
|
1805
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1806
|
+
productId: number;
|
|
1807
|
+
product: Product;
|
|
1808
|
+
name: string | null;
|
|
1809
|
+
price: number;
|
|
1810
|
+
currency: CurrencyEnum;
|
|
1811
|
+
paymentProcessorId: number | null;
|
|
1812
|
+
startDate: Date;
|
|
1813
|
+
endDate: Date;
|
|
1814
|
+
groupId?: number;
|
|
1815
|
+
groupName?: string;
|
|
1816
|
+
originalPrice?: number;
|
|
1817
|
+
deletedAt?: Date;
|
|
1818
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1819
|
+
discountValue?: number;
|
|
1820
|
+
taxIncludedPrice?: number;
|
|
1821
|
+
}
|
|
1822
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1823
|
+
name: string;
|
|
1824
|
+
quantity: number;
|
|
1825
|
+
paymentProcessorId?: string;
|
|
1826
|
+
startDate?: Date;
|
|
1827
|
+
endDate?: Date;
|
|
1828
|
+
isPublic: boolean;
|
|
1829
|
+
productType?: ProductTypesEnum;
|
|
1830
|
+
GL?: string;
|
|
1831
|
+
downpayment?: number;
|
|
1832
|
+
description?: string;
|
|
1833
|
+
prices: Price[];
|
|
1834
|
+
currPrice: Price;
|
|
1835
|
+
productSubType?: ProductSubTypesEnum;
|
|
1836
|
+
punchCard: boolean;
|
|
1837
|
+
requiredProductIds?: number[];
|
|
1838
|
+
lineItems: LineItems[];
|
|
1839
|
+
resources: IResourcesAvailability[];
|
|
1840
|
+
variantParentId?: number;
|
|
1841
|
+
isAddon: boolean;
|
|
1842
|
+
isArchive: boolean;
|
|
1843
|
+
productVariants: Product[];
|
|
1844
|
+
variantParentProduct: Product;
|
|
1845
|
+
variantsObj: Variant[];
|
|
1846
|
+
variantTitlesObj: VariantTitle[];
|
|
1847
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1848
|
+
deletedAt?: Date;
|
|
1849
|
+
productsUsers: ProductsUsers[];
|
|
1850
|
+
isProRated: boolean;
|
|
1851
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1852
|
+
defaultPriceId?: number;
|
|
1853
|
+
tax: number;
|
|
1854
|
+
isTaxInclusive: boolean;
|
|
1855
|
+
defaultPrice?: Price;
|
|
1856
|
+
addOns?: IChildProduct[];
|
|
1857
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1858
|
+
productResources: ProductResource[];
|
|
1859
|
+
parentProductPackages: ProductPackage[];
|
|
1860
|
+
childProductPackages: ProductPackage[];
|
|
1861
|
+
sports?: number[] | null;
|
|
1862
|
+
durationMinutes?: number;
|
|
1863
|
+
durationDays?: number;
|
|
1864
|
+
forms?: number[] | null;
|
|
1865
|
+
isForAllCustomers?: boolean;
|
|
1866
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1867
|
+
reservedForCustomers: Customer[];
|
|
1868
|
+
reservedForMemberships: Membership[];
|
|
1869
|
+
activityTimes: ActivityTimes[];
|
|
1870
|
+
purchasedResources: PurchasedResource[];
|
|
1871
|
+
}
|
|
1872
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1799
1873
|
parentProductId: number;
|
|
1800
1874
|
childProductId: number;
|
|
1801
1875
|
relationType: PackageProductsRelationTypeEnum;
|
|
@@ -1810,6 +1884,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1810
1884
|
durationDays?: number;
|
|
1811
1885
|
level?: ProductPackageLevelEnum;
|
|
1812
1886
|
}
|
|
1887
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1888
|
+
productId: number;
|
|
1889
|
+
maxMonths?: number;
|
|
1890
|
+
dayOfMonth?: number;
|
|
1891
|
+
name: string;
|
|
1892
|
+
deletedAt?: Date;
|
|
1893
|
+
schedule: PaymentPlanSchedule[];
|
|
1894
|
+
product?: Product;
|
|
1895
|
+
}
|
|
1813
1896
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1814
1897
|
productId: number;
|
|
1815
1898
|
resourceId: number;
|
|
@@ -1821,6 +1904,10 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1821
1904
|
productPackages: ProductPackage[];
|
|
1822
1905
|
resourceName?: string;
|
|
1823
1906
|
}
|
|
1907
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1908
|
+
productId: number;
|
|
1909
|
+
variantTitleId: number;
|
|
1910
|
+
}
|
|
1824
1911
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1825
1912
|
productId: number;
|
|
1826
1913
|
customerId: number;
|
|
@@ -1832,14 +1919,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1832
1919
|
productId: number;
|
|
1833
1920
|
variantId: number;
|
|
1834
1921
|
}
|
|
1835
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1836
|
-
type: ProgramHighlightTypeEnum;
|
|
1837
|
-
ordinal: number | null;
|
|
1838
|
-
title: string | null;
|
|
1839
|
-
data: any | null;
|
|
1840
|
-
program: Program;
|
|
1841
|
-
deletedAt?: Date;
|
|
1842
|
-
}
|
|
1843
1922
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1844
1923
|
productId: number;
|
|
1845
1924
|
userId: number;
|
|
@@ -1857,6 +1936,91 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1857
1936
|
slots?: Slot[];
|
|
1858
1937
|
addons?: Addon[];
|
|
1859
1938
|
}
|
|
1939
|
+
export declare class Program extends BondBaseEntity {
|
|
1940
|
+
type: ProgramTypesEnum;
|
|
1941
|
+
name: string;
|
|
1942
|
+
sport: SportsEnum;
|
|
1943
|
+
minAge: string;
|
|
1944
|
+
maxAge: string;
|
|
1945
|
+
gender: GenderEnum;
|
|
1946
|
+
level: LevelOfPlayEnum[] | null;
|
|
1947
|
+
description: string | null;
|
|
1948
|
+
GL?: string | null;
|
|
1949
|
+
status: PublishingStatusEnum;
|
|
1950
|
+
mainMedia: Media;
|
|
1951
|
+
organizationId: number;
|
|
1952
|
+
userCreatorId: number;
|
|
1953
|
+
programHighlights: ProgramHighlights[];
|
|
1954
|
+
linkSEO: string;
|
|
1955
|
+
longDescription?: string;
|
|
1956
|
+
requiredProductIds: number[] | null;
|
|
1957
|
+
deletedAt?: Date;
|
|
1958
|
+
programSeason: ProgramSeason[];
|
|
1959
|
+
purchasedResources: PurchasedResource[];
|
|
1960
|
+
}
|
|
1961
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1962
|
+
type: ProgramHighlightTypeEnum;
|
|
1963
|
+
ordinal: number | null;
|
|
1964
|
+
title: string | null;
|
|
1965
|
+
data: any | null;
|
|
1966
|
+
program: Program;
|
|
1967
|
+
deletedAt?: Date;
|
|
1968
|
+
}
|
|
1969
|
+
export declare class ProgramSeason extends BondBaseEntity {
|
|
1970
|
+
programId: number;
|
|
1971
|
+
name: string;
|
|
1972
|
+
description: string | null;
|
|
1973
|
+
GL?: string | null;
|
|
1974
|
+
status: PublishingStatusEnum;
|
|
1975
|
+
startDate: Date;
|
|
1976
|
+
endDate: Date;
|
|
1977
|
+
registrationStartDate: Date | null;
|
|
1978
|
+
registrationEndDate: Date | null;
|
|
1979
|
+
questionnaires: number[] | null;
|
|
1980
|
+
seasonType: ProgramSeasonTypesEnum;
|
|
1981
|
+
parentSeasonId: number | null;
|
|
1982
|
+
maxParticipants: number | null;
|
|
1983
|
+
maxMaleParticipants: number | null;
|
|
1984
|
+
maxFemaleParticipants: number | null;
|
|
1985
|
+
maxWaitlist: number | null;
|
|
1986
|
+
maxMaleWaitlist: number | null;
|
|
1987
|
+
maxFemaleWaitlist: number | null;
|
|
1988
|
+
organizationId: number;
|
|
1989
|
+
facilityId: number | null;
|
|
1990
|
+
facilityName?: string;
|
|
1991
|
+
addressId: number | null;
|
|
1992
|
+
sport: SportsEnum;
|
|
1993
|
+
minAge: string;
|
|
1994
|
+
maxAge: string;
|
|
1995
|
+
gender: GenderEnum;
|
|
1996
|
+
level: LevelOfPlayEnum[] | null;
|
|
1997
|
+
blockedDated: BlockedDate[];
|
|
1998
|
+
seasonAttendees: SeasonAttendee[];
|
|
1999
|
+
products: Product[];
|
|
2000
|
+
linkSEO: string;
|
|
2001
|
+
address: Address;
|
|
2002
|
+
defaultProductId?: number;
|
|
2003
|
+
longDescription?: string;
|
|
2004
|
+
isPunchCard?: boolean;
|
|
2005
|
+
deletedAt?: Date;
|
|
2006
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2007
|
+
program: Program;
|
|
2008
|
+
spaces?: Resource[];
|
|
2009
|
+
reservationId?: number;
|
|
2010
|
+
earlyRegistrationStartDate?: Date;
|
|
2011
|
+
earlyRegistrationEndDate?: Date;
|
|
2012
|
+
lateRegistrationStartDate?: Date;
|
|
2013
|
+
lateRegistrationEndDate?: Date;
|
|
2014
|
+
requiredProductIds?: number[];
|
|
2015
|
+
registrationConstraints?: RegistrationConstraint;
|
|
2016
|
+
sessionSegments: ProgramSeason[];
|
|
2017
|
+
sessionEvents: Event[];
|
|
2018
|
+
parentSession: ProgramSeason;
|
|
2019
|
+
activityTimes: ActivityTimes[];
|
|
2020
|
+
productResources: ProductResource[];
|
|
2021
|
+
facility: Facility;
|
|
2022
|
+
purchasedResources: PurchasedResource[];
|
|
2023
|
+
}
|
|
1860
2024
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1861
2025
|
productUserId: number;
|
|
1862
2026
|
resourceId: number;
|
|
@@ -1879,9 +2043,9 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
1879
2043
|
product?: Product;
|
|
1880
2044
|
event?: Event;
|
|
1881
2045
|
}
|
|
1882
|
-
export declare class
|
|
1883
|
-
|
|
1884
|
-
|
|
2046
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2047
|
+
title: string | null;
|
|
2048
|
+
answerTitle: AnswerTitle;
|
|
1885
2049
|
}
|
|
1886
2050
|
export declare class Questions extends BondBaseEntity {
|
|
1887
2051
|
questionType: string | null;
|
|
@@ -1897,62 +2061,24 @@ export declare class Questions extends BondBaseEntity {
|
|
|
1897
2061
|
ownerId: number | null;
|
|
1898
2062
|
questionnaireId: number | null;
|
|
1899
2063
|
}
|
|
1900
|
-
export declare class
|
|
1901
|
-
|
|
1902
|
-
|
|
2064
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2065
|
+
reason: string;
|
|
2066
|
+
ordinal: number;
|
|
2067
|
+
deletedAt: Date;
|
|
1903
2068
|
}
|
|
1904
|
-
export declare class
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
GL?: string | null;
|
|
1914
|
-
status: PublishingStatusEnum;
|
|
1915
|
-
mainMedia: Media;
|
|
1916
|
-
organizationId: number;
|
|
1917
|
-
userCreatorId: number;
|
|
1918
|
-
programHighlights: ProgramHighlights[];
|
|
1919
|
-
linkSEO: string;
|
|
1920
|
-
longDescription?: string;
|
|
1921
|
-
requiredProductIds: number[] | null;
|
|
2069
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2070
|
+
resourceType: ResourceNameTypeEnum;
|
|
2071
|
+
resourceId: number;
|
|
2072
|
+
openNumDays?: number;
|
|
2073
|
+
openNumMinutes?: number;
|
|
2074
|
+
openTime?: string;
|
|
2075
|
+
closeNumDays?: number;
|
|
2076
|
+
closeNumMinutes?: number;
|
|
2077
|
+
closeTime?: string;
|
|
1922
2078
|
deletedAt?: Date;
|
|
1923
|
-
programSeason: ProgramSeason[];
|
|
1924
|
-
purchasedResources: PurchasedResource[];
|
|
1925
2079
|
}
|
|
1926
|
-
export declare class
|
|
1927
|
-
name
|
|
1928
|
-
resourceType: ResourceTypeEnum;
|
|
1929
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
1930
|
-
description?: string;
|
|
1931
|
-
longDescription?: string;
|
|
1932
|
-
surface?: SurfacesEnum;
|
|
1933
|
-
properties?: SpacePropertiesEnum[];
|
|
1934
|
-
mainMediaId?: number;
|
|
1935
|
-
mainMedia: Media;
|
|
1936
|
-
sports: SportsEnum[];
|
|
1937
|
-
width?: number;
|
|
1938
|
-
length?: number;
|
|
1939
|
-
amenities?: AmenitiesEnum[];
|
|
1940
|
-
parentSpaceId?: number;
|
|
1941
|
-
ordinal?: number;
|
|
1942
|
-
isAddOn: boolean;
|
|
1943
|
-
ages?: ResourceAgesEnum;
|
|
1944
|
-
deletedAt?: Date;
|
|
1945
|
-
activityTimes: ActivityTimes[];
|
|
1946
|
-
facilities: Facility[];
|
|
1947
|
-
slots?: Slot[];
|
|
1948
|
-
addons?: Addon[];
|
|
1949
|
-
facilityId: number;
|
|
1950
|
-
facility: Facility;
|
|
1951
|
-
purchasedResources: PurchasedResource[];
|
|
1952
|
-
linkSEO: string;
|
|
1953
|
-
}
|
|
1954
|
-
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
1955
|
-
name?: string;
|
|
2080
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2081
|
+
name?: string;
|
|
1956
2082
|
description?: string;
|
|
1957
2083
|
color?: string;
|
|
1958
2084
|
status?: string;
|
|
@@ -1983,152 +2109,48 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
1983
2109
|
publicNotes?: string;
|
|
1984
2110
|
slots?: Slot[];
|
|
1985
2111
|
}
|
|
1986
|
-
export declare class
|
|
2112
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
1987
2113
|
name: string;
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
endDate?: Date;
|
|
1992
|
-
isPublic: boolean;
|
|
1993
|
-
productType?: ProductTypesEnum;
|
|
1994
|
-
GL?: string;
|
|
1995
|
-
downpayment?: number;
|
|
1996
|
-
description?: string;
|
|
1997
|
-
prices: Price[];
|
|
1998
|
-
currPrice: Price;
|
|
1999
|
-
productSubType?: ProductSubTypesEnum;
|
|
2000
|
-
punchCard: boolean;
|
|
2001
|
-
requiredProductIds?: number[];
|
|
2002
|
-
lineItems: LineItems[];
|
|
2003
|
-
resources: IResourcesAvailability[];
|
|
2004
|
-
variantParentId?: number;
|
|
2005
|
-
isAddon: boolean;
|
|
2006
|
-
isArchive: boolean;
|
|
2007
|
-
productVariants: Product[];
|
|
2008
|
-
variantParentProduct: Product;
|
|
2009
|
-
variantsObj: Variant[];
|
|
2010
|
-
variantTitlesObj: VariantTitle[];
|
|
2011
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2012
|
-
deletedAt?: Date;
|
|
2013
|
-
productsUsers: ProductsUsers[];
|
|
2014
|
-
isProRated: boolean;
|
|
2015
|
-
entitledPrices?: GroupItemsPricing[];
|
|
2016
|
-
defaultPriceId?: number;
|
|
2017
|
-
tax: number;
|
|
2018
|
-
isTaxInclusive: boolean;
|
|
2019
|
-
defaultPrice?: Price;
|
|
2020
|
-
addOns?: IChildProduct[];
|
|
2021
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
2022
|
-
productResources: ProductResource[];
|
|
2023
|
-
parentProductPackages: ProductPackage[];
|
|
2024
|
-
childProductPackages: ProductPackage[];
|
|
2025
|
-
sports?: number[] | null;
|
|
2026
|
-
durationMinutes?: number;
|
|
2027
|
-
durationDays?: number;
|
|
2028
|
-
forms?: number[] | null;
|
|
2029
|
-
isForAllCustomers?: boolean;
|
|
2030
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
2031
|
-
reservedForCustomers: Customer[];
|
|
2032
|
-
reservedForMemberships: Membership[];
|
|
2033
|
-
activityTimes: ActivityTimes[];
|
|
2034
|
-
purchasedResources: PurchasedResource[];
|
|
2035
|
-
}
|
|
2036
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2037
|
-
reason: string;
|
|
2038
|
-
ordinal: number;
|
|
2039
|
-
deletedAt: Date;
|
|
2040
|
-
}
|
|
2041
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2042
|
-
resourceType: ResourceNameTypeEnum;
|
|
2043
|
-
resourceId: number;
|
|
2044
|
-
openNumDays?: number;
|
|
2045
|
-
openNumMinutes?: number;
|
|
2046
|
-
openTime?: string;
|
|
2047
|
-
closeNumDays?: number;
|
|
2048
|
-
closeNumMinutes?: number;
|
|
2049
|
-
closeTime?: string;
|
|
2114
|
+
facilityId: number;
|
|
2115
|
+
parentSlotId: number;
|
|
2116
|
+
childrenSlotIds: number[];
|
|
2050
2117
|
deletedAt?: Date;
|
|
2051
2118
|
}
|
|
2052
|
-
export declare class
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
providerExtraData: string | null;
|
|
2060
|
-
requestData: string | null;
|
|
2061
|
-
responseData: string | null;
|
|
2062
|
-
status: number | null;
|
|
2063
|
-
price: number | null;
|
|
2064
|
-
currency: string | null;
|
|
2065
|
-
locked: boolean | null;
|
|
2066
|
-
numberOfTries: number | null;
|
|
2067
|
-
installmentId: number | null;
|
|
2068
|
-
invoiceId: string | null;
|
|
2069
|
-
}
|
|
2070
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
2071
|
-
productId: number;
|
|
2072
|
-
maxMonths?: number;
|
|
2073
|
-
dayOfMonth?: number;
|
|
2074
|
-
name: string;
|
|
2075
|
-
deletedAt?: Date;
|
|
2076
|
-
schedule: PaymentPlanSchedule[];
|
|
2077
|
-
product?: Product;
|
|
2119
|
+
export declare class School extends BondBaseEntity {
|
|
2120
|
+
name: string | null;
|
|
2121
|
+
alias: string[] | null;
|
|
2122
|
+
addressId: number | null;
|
|
2123
|
+
website: string | null;
|
|
2124
|
+
phone: string | null;
|
|
2125
|
+
dataId: number | null;
|
|
2078
2126
|
}
|
|
2079
|
-
export declare class
|
|
2080
|
-
programId: number;
|
|
2127
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2081
2128
|
name: string;
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
startDate: Date;
|
|
2086
|
-
endDate: Date;
|
|
2087
|
-
registrationStartDate: Date | null;
|
|
2088
|
-
registrationEndDate: Date | null;
|
|
2089
|
-
questionnaires: number[] | null;
|
|
2090
|
-
seasonType: ProgramSeasonTypesEnum;
|
|
2091
|
-
parentSeasonId: number | null;
|
|
2092
|
-
maxParticipants: number | null;
|
|
2093
|
-
maxMaleParticipants: number | null;
|
|
2094
|
-
maxFemaleParticipants: number | null;
|
|
2095
|
-
maxWaitlist: number | null;
|
|
2096
|
-
maxMaleWaitlist: number | null;
|
|
2097
|
-
maxFemaleWaitlist: number | null;
|
|
2098
|
-
organizationId: number;
|
|
2099
|
-
facilityId: number | null;
|
|
2100
|
-
facilityName?: string;
|
|
2101
|
-
addressId: number | null;
|
|
2102
|
-
sport: SportsEnum;
|
|
2103
|
-
minAge: string;
|
|
2104
|
-
maxAge: string;
|
|
2105
|
-
gender: GenderEnum;
|
|
2106
|
-
level: LevelOfPlayEnum[] | null;
|
|
2107
|
-
blockedDated: BlockedDate[];
|
|
2108
|
-
seasonAttendees: SeasonAttendee[];
|
|
2109
|
-
products: Product[];
|
|
2110
|
-
linkSEO: string;
|
|
2111
|
-
address: Address;
|
|
2112
|
-
defaultProductId?: number;
|
|
2129
|
+
resourceType: ResourceTypeEnum;
|
|
2130
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2131
|
+
description?: string;
|
|
2113
2132
|
longDescription?: string;
|
|
2114
|
-
|
|
2133
|
+
surface?: SurfacesEnum;
|
|
2134
|
+
properties?: SpacePropertiesEnum[];
|
|
2135
|
+
mainMediaId?: number;
|
|
2136
|
+
mainMedia: Media;
|
|
2137
|
+
sports: SportsEnum[];
|
|
2138
|
+
width?: number;
|
|
2139
|
+
length?: number;
|
|
2140
|
+
amenities?: AmenitiesEnum[];
|
|
2141
|
+
parentSpaceId?: number;
|
|
2142
|
+
ordinal?: number;
|
|
2143
|
+
isAddOn: boolean;
|
|
2144
|
+
ages?: ResourceAgesEnum;
|
|
2115
2145
|
deletedAt?: Date;
|
|
2116
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2117
|
-
program: Program;
|
|
2118
|
-
spaces?: Resource[];
|
|
2119
|
-
earlyRegistrationStartDate?: Date;
|
|
2120
|
-
earlyRegistrationEndDate?: Date;
|
|
2121
|
-
lateRegistrationStartDate?: Date;
|
|
2122
|
-
lateRegistrationEndDate?: Date;
|
|
2123
|
-
requiredProductIds?: number[];
|
|
2124
|
-
registrationConstraints?: RegistrationConstraint;
|
|
2125
|
-
sessionSegments: ProgramSeason[];
|
|
2126
|
-
sessionEvents: Event[];
|
|
2127
|
-
parentSession: ProgramSeason;
|
|
2128
2146
|
activityTimes: ActivityTimes[];
|
|
2129
|
-
|
|
2147
|
+
facilities: Facility[];
|
|
2148
|
+
slots?: Slot[];
|
|
2149
|
+
addons?: Addon[];
|
|
2150
|
+
facilityId: number;
|
|
2130
2151
|
facility: Facility;
|
|
2131
2152
|
purchasedResources: PurchasedResource[];
|
|
2153
|
+
linkSEO: string;
|
|
2132
2154
|
}
|
|
2133
2155
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2134
2156
|
status: RequestStatusEnum;
|
|
@@ -2144,37 +2166,26 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2144
2166
|
deletedAt?: Date;
|
|
2145
2167
|
purchasedResource: PurchasedResource;
|
|
2146
2168
|
}
|
|
2147
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
2148
|
-
email: string | null;
|
|
2149
|
-
notificationType: NotificationTypeEnum | null;
|
|
2150
|
-
resourceId: number | null;
|
|
2151
|
-
resourceType: string | null;
|
|
2152
|
-
}
|
|
2153
2169
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2154
2170
|
name: string | null;
|
|
2155
2171
|
ordinal: number | null;
|
|
2156
2172
|
seasonId: number | null;
|
|
2157
2173
|
color: string | null;
|
|
2158
2174
|
}
|
|
2159
|
-
export declare class
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
dataId: number | null;
|
|
2174
|
-
}
|
|
2175
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2176
|
-
blockingSpaceId: number;
|
|
2177
|
-
blockedSpaceId: number;
|
|
2175
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2176
|
+
seasonId?: number;
|
|
2177
|
+
userId?: number;
|
|
2178
|
+
status?: number;
|
|
2179
|
+
entityId?: number;
|
|
2180
|
+
entityType?: string;
|
|
2181
|
+
groupId?: string;
|
|
2182
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2183
|
+
metadata?: any;
|
|
2184
|
+
paymentId?: number;
|
|
2185
|
+
externalAssign?: boolean;
|
|
2186
|
+
productUserId?: number;
|
|
2187
|
+
purchasedResource: PurchasedResource;
|
|
2188
|
+
season: LeagueSeason;
|
|
2178
2189
|
}
|
|
2179
2190
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2180
2191
|
seasonId: number | null;
|
|
@@ -2186,91 +2197,9 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2186
2197
|
metaData: any | null;
|
|
2187
2198
|
team: Team;
|
|
2188
2199
|
}
|
|
2189
|
-
export declare class
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
email: string | null;
|
|
2193
|
-
phoneNumber: string | null;
|
|
2194
|
-
about: string | null;
|
|
2195
|
-
password: string | null;
|
|
2196
|
-
passwordResetToken: string | null;
|
|
2197
|
-
passwordResetExpires: Date | null;
|
|
2198
|
-
status: string | null;
|
|
2199
|
-
pushNotifications: boolean | null;
|
|
2200
|
-
notificationSettings: any | null;
|
|
2201
|
-
addressId: number | null;
|
|
2202
|
-
address: Address;
|
|
2203
|
-
currentAddressId: number | null;
|
|
2204
|
-
merchantId: number | null;
|
|
2205
|
-
loginToken: string | null;
|
|
2206
|
-
gender: GenderEnum | null;
|
|
2207
|
-
height: number | null;
|
|
2208
|
-
weight: number | null;
|
|
2209
|
-
birthDate: Date | null;
|
|
2210
|
-
lastLogin: Date | null;
|
|
2211
|
-
lastInteractionDay: Date | null;
|
|
2212
|
-
createAsId: number | null;
|
|
2213
|
-
createAsType: ResourceNameTypeEnum | null;
|
|
2214
|
-
motto: string | null;
|
|
2215
|
-
privateProfile: boolean | null;
|
|
2216
|
-
allowMultiSignHack: boolean | null;
|
|
2217
|
-
deletedAt: Date | null;
|
|
2218
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2219
|
-
athlete: Athlete;
|
|
2220
|
-
eventAttendees: EventAttendee[];
|
|
2221
|
-
seasonAttendees: SeasonAttendee[];
|
|
2222
|
-
linkedAccounts: LinkedAccounts[];
|
|
2223
|
-
profilePicture: Media;
|
|
2224
|
-
usersRoles: UserRole[];
|
|
2225
|
-
invoiceNotes: InvoiceNote[];
|
|
2226
|
-
paymentNotes: PaymentNote[];
|
|
2227
|
-
}
|
|
2228
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2229
|
-
name: string;
|
|
2230
|
-
facilityId: number;
|
|
2231
|
-
parentSlotId: number;
|
|
2232
|
-
childrenSlotIds: number[];
|
|
2233
|
-
deletedAt?: Date;
|
|
2234
|
-
}
|
|
2235
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2236
|
-
teamId: number | null;
|
|
2237
|
-
userId: number | null;
|
|
2238
|
-
paymentId: number | null;
|
|
2239
|
-
hasPaid: boolean | null;
|
|
2240
|
-
status: TeamMemberStatusEnum | null;
|
|
2241
|
-
role: TeamMemberRoleEnum;
|
|
2242
|
-
user: User;
|
|
2243
|
-
}
|
|
2244
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2245
|
-
productType: ProductTypesEnum;
|
|
2246
|
-
name: string;
|
|
2247
|
-
ordinal?: number;
|
|
2248
|
-
deletedAt?: Date;
|
|
2249
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2250
|
-
stations: Station[];
|
|
2251
|
-
}
|
|
2252
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2253
|
-
name: string;
|
|
2254
|
-
variants: Variant[];
|
|
2255
|
-
}
|
|
2256
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2257
|
-
entityId: number | null;
|
|
2258
|
-
userId: number | null;
|
|
2259
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2260
|
-
user: User;
|
|
2261
|
-
}
|
|
2262
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2263
|
-
familyAccountId: number;
|
|
2264
|
-
userId: number;
|
|
2265
|
-
isAdmin: boolean;
|
|
2266
|
-
user: User;
|
|
2267
|
-
familyAccount: FamilyAccount;
|
|
2268
|
-
deletedAt?: Date;
|
|
2269
|
-
}
|
|
2270
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2271
|
-
groupId: number;
|
|
2272
|
-
userId: number;
|
|
2273
|
-
deletedAt?: Date;
|
|
2200
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2201
|
+
blockingSpaceId: number;
|
|
2202
|
+
blockedSpaceId: number;
|
|
2274
2203
|
}
|
|
2275
2204
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2276
2205
|
name: string;
|
|
@@ -2283,20 +2212,21 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2283
2212
|
subcategories: Subcategory[];
|
|
2284
2213
|
shifts?: Shift[];
|
|
2285
2214
|
}
|
|
2286
|
-
export declare class
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2215
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2216
|
+
stationId: number;
|
|
2217
|
+
subcategoryId: number;
|
|
2218
|
+
productType: ProductTypesEnum;
|
|
2290
2219
|
deletedAt?: Date;
|
|
2220
|
+
station: Station;
|
|
2221
|
+
subcategory: Subcategory;
|
|
2291
2222
|
}
|
|
2292
|
-
export declare class
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
isUsed: boolean;
|
|
2223
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2224
|
+
productType: ProductTypesEnum;
|
|
2225
|
+
name: string;
|
|
2226
|
+
ordinal?: number;
|
|
2227
|
+
deletedAt?: Date;
|
|
2228
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2229
|
+
stations: Station[];
|
|
2300
2230
|
}
|
|
2301
2231
|
export declare class Team extends BondBaseEntity {
|
|
2302
2232
|
name: string | null;
|
|
@@ -2332,20 +2262,91 @@ export declare class Team extends BondBaseEntity {
|
|
|
2332
2262
|
gender: number | null;
|
|
2333
2263
|
questionnaireId: number | null;
|
|
2334
2264
|
}
|
|
2335
|
-
export declare class
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2265
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2266
|
+
email: string;
|
|
2267
|
+
teamId: number;
|
|
2268
|
+
invitedUserId?: number;
|
|
2269
|
+
userCreatorId: number;
|
|
2270
|
+
token: string;
|
|
2271
|
+
tokenExpirationDate: Date;
|
|
2272
|
+
isUsed: boolean;
|
|
2273
|
+
}
|
|
2274
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2275
|
+
teamId: number | null;
|
|
2276
|
+
userId: number | null;
|
|
2277
|
+
paymentId: number | null;
|
|
2278
|
+
hasPaid: boolean | null;
|
|
2279
|
+
status: TeamMemberStatusEnum | null;
|
|
2280
|
+
role: TeamMemberRoleEnum;
|
|
2281
|
+
user: User;
|
|
2282
|
+
}
|
|
2283
|
+
export declare class User extends BondBaseEntity {
|
|
2284
|
+
firstName: string | null;
|
|
2285
|
+
lastName: string | null;
|
|
2286
|
+
email: string | null;
|
|
2287
|
+
phoneNumber: string | null;
|
|
2288
|
+
about: string | null;
|
|
2289
|
+
password: string | null;
|
|
2290
|
+
passwordResetToken: string | null;
|
|
2291
|
+
passwordResetExpires: Date | null;
|
|
2292
|
+
status: string | null;
|
|
2293
|
+
pushNotifications: boolean | null;
|
|
2294
|
+
notificationSettings: any | null;
|
|
2295
|
+
addressId: number | null;
|
|
2296
|
+
address: Address;
|
|
2297
|
+
currentAddressId: number | null;
|
|
2298
|
+
merchantId: number | null;
|
|
2299
|
+
loginToken: string | null;
|
|
2300
|
+
gender: GenderEnum | null;
|
|
2301
|
+
height: number | null;
|
|
2302
|
+
weight: number | null;
|
|
2303
|
+
birthDate: Date | null;
|
|
2304
|
+
lastLogin: Date | null;
|
|
2305
|
+
lastInteractionDay: Date | null;
|
|
2306
|
+
createAsId: number | null;
|
|
2307
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
2308
|
+
motto: string | null;
|
|
2309
|
+
privateProfile: boolean | null;
|
|
2310
|
+
allowMultiSignHack: boolean | null;
|
|
2311
|
+
deletedAt: Date | null;
|
|
2312
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2313
|
+
athlete: Athlete;
|
|
2314
|
+
eventAttendees: EventAttendee[];
|
|
2315
|
+
seasonAttendees: SeasonAttendee[];
|
|
2316
|
+
linkedAccounts: LinkedAccounts[];
|
|
2317
|
+
profilePicture: Media;
|
|
2318
|
+
usersRoles: UserRole[];
|
|
2319
|
+
invoiceNotes: InvoiceNote[];
|
|
2320
|
+
paymentNotes: PaymentNote[];
|
|
2321
|
+
}
|
|
2322
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2323
|
+
entityId: number | null;
|
|
2324
|
+
userId: number | null;
|
|
2325
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2326
|
+
user: User;
|
|
2327
|
+
}
|
|
2328
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2329
|
+
familyAccountId: number;
|
|
2330
|
+
userId: number;
|
|
2331
|
+
isAdmin: boolean;
|
|
2332
|
+
user: User;
|
|
2333
|
+
familyAccount: FamilyAccount;
|
|
2334
|
+
deletedAt?: Date;
|
|
2335
|
+
}
|
|
2336
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2337
|
+
groupId: number;
|
|
2338
|
+
userId: number;
|
|
2339
|
+
deletedAt?: Date;
|
|
2340
|
+
}
|
|
2341
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2342
|
+
name: string;
|
|
2343
|
+
variants: Variant[];
|
|
2344
|
+
}
|
|
2345
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2346
|
+
name: string;
|
|
2347
|
+
variantTitleId: number;
|
|
2348
|
+
variantTitle: VariantTitle;
|
|
2349
|
+
deletedAt?: Date;
|
|
2349
2350
|
}
|
|
2350
2351
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2351
2352
|
projectToken: string;
|
|
@@ -2355,419 +2356,59 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2355
2356
|
membershipCollectionId?: string;
|
|
2356
2357
|
programsCollectionId?: string;
|
|
2357
2358
|
}
|
|
2358
|
-
export
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
minValue?: string;
|
|
2363
|
-
maxValue?: string;
|
|
2359
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2360
|
+
QUESTION = "question",
|
|
2361
|
+
CITY = "city",
|
|
2362
|
+
MEMBERSHIP = "membership"
|
|
2364
2363
|
}
|
|
2365
|
-
export
|
|
2366
|
-
|
|
2367
|
-
|
|
2364
|
+
export declare enum ResourceNameTypeEnum {
|
|
2365
|
+
EVENT = "event",
|
|
2366
|
+
VENUE = "venue",
|
|
2367
|
+
TEAM = "team",
|
|
2368
|
+
LEAGUE = "league",
|
|
2369
|
+
USER = "user",
|
|
2370
|
+
ORGANIZATION = "organization",
|
|
2371
|
+
APP = "app",
|
|
2372
|
+
FEED = "feed",
|
|
2373
|
+
MATCH = "match",
|
|
2374
|
+
ROUND = "round",
|
|
2375
|
+
PORTAL = "portal",
|
|
2376
|
+
SEASON = "season",
|
|
2377
|
+
TOURNAMENT = "tournament",
|
|
2378
|
+
MEMBERSHIP = "membership",
|
|
2379
|
+
DIVISION = "division",
|
|
2380
|
+
GAMESLOT = "gameslot",
|
|
2381
|
+
SPACE = "space",
|
|
2382
|
+
RESERVATION = "reservation",
|
|
2383
|
+
INVOICE = "invoice",
|
|
2384
|
+
CUSTOMER = "customer",
|
|
2385
|
+
PACKAGE = "package",
|
|
2386
|
+
FACILITY = "facility",
|
|
2387
|
+
PROGRAM = "program",
|
|
2388
|
+
PROGRAM_SEASON = "program_season",
|
|
2389
|
+
PRODUCT = "product",
|
|
2390
|
+
GROUP = "group",
|
|
2391
|
+
VARIANT = "variant",
|
|
2392
|
+
SLOT = "slot",
|
|
2393
|
+
ADDON = "addon"
|
|
2368
2394
|
}
|
|
2369
|
-
export
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
price: number;
|
|
2375
|
-
overridesPrice: boolean;
|
|
2395
|
+
export declare enum DirectBookingTypesEnum {
|
|
2396
|
+
DIRECT_FOR_ALL = "all",
|
|
2397
|
+
DIRECT_FOR_NONE = "none",
|
|
2398
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2399
|
+
NO_SETTING = "no_setting"
|
|
2376
2400
|
}
|
|
2377
|
-
export
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
isPunchCard: boolean;
|
|
2382
|
-
resources?: any[];
|
|
2401
|
+
export declare enum GenderEnum {
|
|
2402
|
+
OTHER = 1,
|
|
2403
|
+
MALE = 2,
|
|
2404
|
+
FEMALE = 3
|
|
2383
2405
|
}
|
|
2384
|
-
export
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2391
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2392
|
-
}
|
|
2393
|
-
export interface ISeasonAttendeeInfo {
|
|
2394
|
-
applicationAnswers: Answer[];
|
|
2395
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2396
|
-
invoices: Invoice[];
|
|
2397
|
-
payments: Payment[];
|
|
2398
|
-
products: Product[];
|
|
2399
|
-
redeemNext: ProductsUsers;
|
|
2400
|
-
}
|
|
2401
|
-
export interface ISeasonAttendeeListInfo {
|
|
2402
|
-
userId: number;
|
|
2403
|
-
userFirstName: string;
|
|
2404
|
-
userLastName: string;
|
|
2405
|
-
userGender: number;
|
|
2406
|
-
userBirthDate: Date;
|
|
2407
|
-
userProfilePicUrl: string;
|
|
2408
|
-
customerId: number;
|
|
2409
|
-
customerEmail: string;
|
|
2410
|
-
paymentStatus: string;
|
|
2411
|
-
productName: string;
|
|
2412
|
-
punchCard: boolean;
|
|
2413
|
-
}
|
|
2414
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2415
|
-
segmentType: ResourceNameTypeEnum;
|
|
2416
|
-
participantRegisteredDate?: string;
|
|
2417
|
-
}
|
|
2418
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2419
|
-
segmentType: ResourceNameTypeEnum;
|
|
2420
|
-
participantRegisteredDate?: string;
|
|
2421
|
-
}
|
|
2422
|
-
export interface ITokenResonse {
|
|
2423
|
-
token: string;
|
|
2424
|
-
}
|
|
2425
|
-
export interface IStripeBondInvoices {
|
|
2426
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2427
|
-
bondPaidPayment: Payment;
|
|
2428
|
-
invoice?: Invoice;
|
|
2429
|
-
customer?: Customer;
|
|
2430
|
-
}
|
|
2431
|
-
export interface IPartialPaymentData {
|
|
2432
|
-
purchasingUserId: number;
|
|
2433
|
-
paymentData: PurchasePaymentDto;
|
|
2434
|
-
amountToPay: number;
|
|
2435
|
-
}
|
|
2436
|
-
export interface IPayment {
|
|
2437
|
-
id: number;
|
|
2438
|
-
total: number;
|
|
2439
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2440
|
-
status: PaymentStatusEnum;
|
|
2441
|
-
createdAt: Date;
|
|
2442
|
-
invoices: number[];
|
|
2443
|
-
}
|
|
2444
|
-
export interface IPaginationData<T> {
|
|
2445
|
-
meta: {
|
|
2446
|
-
totalItems: number;
|
|
2447
|
-
itemsPerPage: number;
|
|
2448
|
-
totalPages: number;
|
|
2449
|
-
currentPage: number;
|
|
2450
|
-
};
|
|
2451
|
-
data: T[];
|
|
2452
|
-
}
|
|
2453
|
-
export interface IPricesOfProductsResults {
|
|
2454
|
-
productId: number;
|
|
2455
|
-
userId: number;
|
|
2456
|
-
price: number;
|
|
2457
|
-
groupId?: number;
|
|
2458
|
-
groupName?: string;
|
|
2459
|
-
originalPrice?: number;
|
|
2460
|
-
priceWithoutTax: number;
|
|
2461
|
-
tax: number;
|
|
2462
|
-
isTaxInclusive: boolean;
|
|
2463
|
-
}
|
|
2464
|
-
export interface IPaymentMethodToFundLeft {
|
|
2465
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2466
|
-
paymentMethodId: string;
|
|
2467
|
-
fundLeft: number;
|
|
2468
|
-
ccLast4?: string;
|
|
2469
|
-
ccBrand?: string;
|
|
2470
|
-
}
|
|
2471
|
-
export interface IVariantsAndTitle {
|
|
2472
|
-
title: VariantTitle;
|
|
2473
|
-
variants: Variant[];
|
|
2474
|
-
}
|
|
2475
|
-
export interface IProgramSeasonActivityTimes {
|
|
2476
|
-
dayOfWeek: number;
|
|
2477
|
-
open: string;
|
|
2478
|
-
close: string;
|
|
2479
|
-
}
|
|
2480
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2481
|
-
date: string;
|
|
2482
|
-
startTime: string;
|
|
2483
|
-
endTime: string;
|
|
2484
|
-
}
|
|
2485
|
-
export interface IBlockedDates {
|
|
2486
|
-
name: string;
|
|
2487
|
-
startDate: Date;
|
|
2488
|
-
endDate: Date;
|
|
2489
|
-
}
|
|
2490
|
-
export interface ISingleMemberForRenewal {
|
|
2491
|
-
member_id: number;
|
|
2492
|
-
member_membershipId: number;
|
|
2493
|
-
member_userId: number;
|
|
2494
|
-
member_nextPaymentMethodId?: string;
|
|
2495
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2496
|
-
member_answerTitleIds?: number[];
|
|
2497
|
-
member_organizationId: number;
|
|
2498
|
-
line_paidAmount: number;
|
|
2499
|
-
line_productId: number;
|
|
2500
|
-
invoice_payingUserId: number;
|
|
2501
|
-
invoice_paymentMethodId: string;
|
|
2502
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2503
|
-
endDate: Date;
|
|
2504
|
-
membership_name: string;
|
|
2505
|
-
user_firstName: string;
|
|
2506
|
-
user_lastName: string;
|
|
2507
|
-
user_email: string;
|
|
2508
|
-
}
|
|
2509
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2510
|
-
package_parentProductId: number;
|
|
2511
|
-
line2_paidAmount: number;
|
|
2512
|
-
familyid: number;
|
|
2513
|
-
invoice_id: number;
|
|
2514
|
-
}
|
|
2515
|
-
export interface IResourceRegistrationData {
|
|
2516
|
-
id: number;
|
|
2517
|
-
resourceType: ResourceNameTypeEnum;
|
|
2518
|
-
openNumDays?: number;
|
|
2519
|
-
openNumMinutes?: number;
|
|
2520
|
-
openTime?: string;
|
|
2521
|
-
closeNumDays?: number;
|
|
2522
|
-
closeNumMinutes?: number;
|
|
2523
|
-
closeTime?: string;
|
|
2524
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2525
|
-
}
|
|
2526
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2527
|
-
id: number;
|
|
2528
|
-
startDate: string;
|
|
2529
|
-
startTime: string;
|
|
2530
|
-
}
|
|
2531
|
-
export interface IRegistrationConstraintsSetting {
|
|
2532
|
-
numDays?: number;
|
|
2533
|
-
numMinutes?: number;
|
|
2534
|
-
}
|
|
2535
|
-
export interface IAttendeeDataToNotify {
|
|
2536
|
-
firstName: string;
|
|
2537
|
-
lastName: string;
|
|
2538
|
-
email: string;
|
|
2539
|
-
sessionName: string;
|
|
2540
|
-
parentSessionName?: string;
|
|
2541
|
-
organizationName: string;
|
|
2542
|
-
programName: string;
|
|
2543
|
-
}
|
|
2544
|
-
export interface IEventInSchedule {
|
|
2545
|
-
eventId: number;
|
|
2546
|
-
eventName: string;
|
|
2547
|
-
eventStartDate: string;
|
|
2548
|
-
eventEndDate: string;
|
|
2549
|
-
eventStartTime: string;
|
|
2550
|
-
eventEndTime: string;
|
|
2551
|
-
programId: number;
|
|
2552
|
-
programName: string;
|
|
2553
|
-
programType: ProgramTypesEnum;
|
|
2554
|
-
sessionId: number;
|
|
2555
|
-
sessionName: string;
|
|
2556
|
-
sports: number;
|
|
2557
|
-
spaces: {
|
|
2558
|
-
spaceId: number;
|
|
2559
|
-
spaceName: string;
|
|
2560
|
-
}[];
|
|
2561
|
-
status?: RegistrationValidationStatusEnum;
|
|
2562
|
-
}
|
|
2563
|
-
export interface ISlotInSchedule {
|
|
2564
|
-
facilityId: number;
|
|
2565
|
-
facilityName: string;
|
|
2566
|
-
spaces: ISpaceWithSlots[];
|
|
2567
|
-
}
|
|
2568
|
-
export interface ISpaceWithSlots {
|
|
2569
|
-
id: number;
|
|
2570
|
-
name: string;
|
|
2571
|
-
slots: ISlotReservationData[];
|
|
2572
|
-
}
|
|
2573
|
-
export interface ISlotReservationData {
|
|
2574
|
-
reservationId: number;
|
|
2575
|
-
reservationName: string;
|
|
2576
|
-
date: string;
|
|
2577
|
-
startTime: string;
|
|
2578
|
-
endTime: string;
|
|
2579
|
-
notes: string;
|
|
2580
|
-
spaceId: number;
|
|
2581
|
-
isRental: boolean;
|
|
2582
|
-
slotType: SlotTypeEnum;
|
|
2583
|
-
slotId: number;
|
|
2584
|
-
eventId: number;
|
|
2585
|
-
isPrivate: boolean;
|
|
2586
|
-
}
|
|
2587
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2588
|
-
parentSessionId: number;
|
|
2589
|
-
parentSessionName: string;
|
|
2590
|
-
eventTimezone: string;
|
|
2591
|
-
maxParticipants: number;
|
|
2592
|
-
maxMaleParticipants: number;
|
|
2593
|
-
maxFemaleParticipants: number;
|
|
2594
|
-
isPunchCard: boolean;
|
|
2595
|
-
}
|
|
2596
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2597
|
-
id: number;
|
|
2598
|
-
name: string;
|
|
2599
|
-
bookingCreatorId: number;
|
|
2600
|
-
}
|
|
2601
|
-
export interface IRawSlotInSchedule {
|
|
2602
|
-
startDate: string;
|
|
2603
|
-
endDate: string;
|
|
2604
|
-
startTime: string;
|
|
2605
|
-
endTime: string;
|
|
2606
|
-
reservationId: number;
|
|
2607
|
-
eventTitle: string;
|
|
2608
|
-
publicNotes: string;
|
|
2609
|
-
spaceId: number;
|
|
2610
|
-
creatorType: ResourceNameTypeEnum;
|
|
2611
|
-
slotType: SlotTypeEnum;
|
|
2612
|
-
slotId: number;
|
|
2613
|
-
eventId: number;
|
|
2614
|
-
isPrivate: boolean;
|
|
2615
|
-
}
|
|
2616
|
-
export interface IPurchasedResourcesRaw {
|
|
2617
|
-
purchasedId: number;
|
|
2618
|
-
purchasedProductUserId: number;
|
|
2619
|
-
purchasedResourceId: number;
|
|
2620
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2621
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2622
|
-
pUserId: number;
|
|
2623
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2624
|
-
pUserProductId: number;
|
|
2625
|
-
pUserProductName: string;
|
|
2626
|
-
pUserProductPrice: number;
|
|
2627
|
-
pUserProductPriceCurrency: string;
|
|
2628
|
-
pUserProductQuantity: number;
|
|
2629
|
-
pUserProductQuantityLeft: number;
|
|
2630
|
-
pUserUserId: number;
|
|
2631
|
-
}
|
|
2632
|
-
export interface IUsersPasses {
|
|
2633
|
-
userId: number;
|
|
2634
|
-
userFirstName: string;
|
|
2635
|
-
userLastName: string;
|
|
2636
|
-
organizationId: number;
|
|
2637
|
-
programId: number;
|
|
2638
|
-
programName: string;
|
|
2639
|
-
sessionId: number;
|
|
2640
|
-
sessionName: string;
|
|
2641
|
-
productId: number;
|
|
2642
|
-
productName: string;
|
|
2643
|
-
productUserId: number;
|
|
2644
|
-
purchaseDate: Date;
|
|
2645
|
-
passesLeft: number;
|
|
2646
|
-
}
|
|
2647
|
-
export interface ISessionsLandingPage {
|
|
2648
|
-
sessionId: number;
|
|
2649
|
-
name: string;
|
|
2650
|
-
startDate: Date;
|
|
2651
|
-
endDate: Date;
|
|
2652
|
-
registrationStartDate: Date;
|
|
2653
|
-
registrationEndDate: Date;
|
|
2654
|
-
sport: SportsEnum;
|
|
2655
|
-
minAge: string;
|
|
2656
|
-
maxAge: string;
|
|
2657
|
-
maxParticipants?: number;
|
|
2658
|
-
gender: GenderEnum;
|
|
2659
|
-
activityTimes: ActivityTimes[];
|
|
2660
|
-
earlyRegistrationStartDate?: Date;
|
|
2661
|
-
earlyRegistrationEndDate?: Date;
|
|
2662
|
-
lateRegistrationStartDate?: Date;
|
|
2663
|
-
lateRegistrationEndDate?: Date;
|
|
2664
|
-
attendeeCount?: number;
|
|
2665
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2666
|
-
}
|
|
2667
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2668
|
-
hasRequiredMembership: boolean;
|
|
2669
|
-
hasEntitledPricing: boolean;
|
|
2670
|
-
lowestPrice?: number;
|
|
2671
|
-
products?: ISessionLandingPageProduct[];
|
|
2672
|
-
}
|
|
2673
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2674
|
-
hasRequiredMembership: boolean;
|
|
2675
|
-
hasEntitledPricing: boolean;
|
|
2676
|
-
products?: ISessionLandingPageProduct[];
|
|
2677
|
-
segments?: Event[] | ProgramSeason[];
|
|
2678
|
-
programName: string;
|
|
2679
|
-
programId: number;
|
|
2680
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2681
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2682
|
-
}
|
|
2683
|
-
export interface ISlimAddons {
|
|
2684
|
-
addons?: {
|
|
2685
|
-
id: number;
|
|
2686
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2687
|
-
name: string;
|
|
2688
|
-
productType?: ProductTypesEnum;
|
|
2689
|
-
productSubType?: string;
|
|
2690
|
-
}[];
|
|
2691
|
-
}
|
|
2692
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2693
|
-
id: number;
|
|
2694
|
-
name: string;
|
|
2695
|
-
startDate?: Date;
|
|
2696
|
-
endDate?: Date;
|
|
2697
|
-
downpayment?: number;
|
|
2698
|
-
description?: string;
|
|
2699
|
-
prices: Price[];
|
|
2700
|
-
productSubType?: ProductSubTypesEnum;
|
|
2701
|
-
punchCard: boolean;
|
|
2702
|
-
isAddon: boolean;
|
|
2703
|
-
defaultPriceId?: number;
|
|
2704
|
-
}
|
|
2705
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2706
|
-
destinationId?: string;
|
|
2707
|
-
stripeCustomerId?: string;
|
|
2708
|
-
fee?: number;
|
|
2709
|
-
}
|
|
2710
|
-
export interface IReservationCreatorData {
|
|
2711
|
-
type: ResourceNameTypeEnum;
|
|
2712
|
-
id: number;
|
|
2713
|
-
organizationId: number;
|
|
2714
|
-
startDate: string;
|
|
2715
|
-
endDate: string;
|
|
2716
|
-
sportId: number;
|
|
2717
|
-
}
|
|
2718
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2719
|
-
QUESTION = "question",
|
|
2720
|
-
CITY = "city",
|
|
2721
|
-
MEMBERSHIP = "membership"
|
|
2722
|
-
}
|
|
2723
|
-
export declare enum ResourceNameTypeEnum {
|
|
2724
|
-
EVENT = "event",
|
|
2725
|
-
VENUE = "venue",
|
|
2726
|
-
TEAM = "team",
|
|
2727
|
-
LEAGUE = "league",
|
|
2728
|
-
USER = "user",
|
|
2729
|
-
ORGANIZATION = "organization",
|
|
2730
|
-
APP = "app",
|
|
2731
|
-
FEED = "feed",
|
|
2732
|
-
MATCH = "match",
|
|
2733
|
-
ROUND = "round",
|
|
2734
|
-
PORTAL = "portal",
|
|
2735
|
-
SEASON = "season",
|
|
2736
|
-
TOURNAMENT = "tournament",
|
|
2737
|
-
MEMBERSHIP = "membership",
|
|
2738
|
-
DIVISION = "division",
|
|
2739
|
-
GAMESLOT = "gameslot",
|
|
2740
|
-
SPACE = "space",
|
|
2741
|
-
RESERVATION = "reservation",
|
|
2742
|
-
INVOICE = "invoice",
|
|
2743
|
-
CUSTOMER = "customer",
|
|
2744
|
-
PACKAGE = "package",
|
|
2745
|
-
FACILITY = "facility",
|
|
2746
|
-
PROGRAM = "program",
|
|
2747
|
-
PROGRAM_SEASON = "program_season",
|
|
2748
|
-
PRODUCT = "product",
|
|
2749
|
-
GROUP = "group",
|
|
2750
|
-
VARIANT = "variant",
|
|
2751
|
-
SLOT = "slot",
|
|
2752
|
-
ADDON = "addon"
|
|
2753
|
-
}
|
|
2754
|
-
export declare enum DirectBookingTypesEnum {
|
|
2755
|
-
DIRECT_FOR_ALL = "all",
|
|
2756
|
-
DIRECT_FOR_NONE = "none",
|
|
2757
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2758
|
-
NO_SETTING = "no_setting"
|
|
2759
|
-
}
|
|
2760
|
-
export declare enum GenderEnum {
|
|
2761
|
-
OTHER = 1,
|
|
2762
|
-
MALE = 2,
|
|
2763
|
-
FEMALE = 3
|
|
2764
|
-
}
|
|
2765
|
-
export declare enum LevelOfPlayEnum {
|
|
2766
|
-
BEGINNER = 1,
|
|
2767
|
-
INTERMEDIATE = 2,
|
|
2768
|
-
ADVANCED = 3,
|
|
2769
|
-
SEMIPRO = 4,
|
|
2770
|
-
SPECTATOR = 5
|
|
2406
|
+
export declare enum LevelOfPlayEnum {
|
|
2407
|
+
BEGINNER = 1,
|
|
2408
|
+
INTERMEDIATE = 2,
|
|
2409
|
+
ADVANCED = 3,
|
|
2410
|
+
SEMIPRO = 4,
|
|
2411
|
+
SPECTATOR = 5
|
|
2771
2412
|
}
|
|
2772
2413
|
export declare enum ProgramTypesEnum {
|
|
2773
2414
|
LEAGUE = 0,
|
|
@@ -3103,206 +2744,520 @@ export declare enum RegistrationWindowStatusEnum {
|
|
|
3103
2744
|
OPEN = "open",
|
|
3104
2745
|
CLOSED = "closed"
|
|
3105
2746
|
}
|
|
3106
|
-
export declare enum RegistrationValidationStatusEnum {
|
|
3107
|
-
FULL = "full",
|
|
3108
|
-
ALREADY_REGISTERED = "registered",
|
|
3109
|
-
AVAILABLE = "available",
|
|
3110
|
-
NOT_OPEN_YET = "not opened",
|
|
3111
|
-
ALREADY_CLOSED = "closed",
|
|
3112
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2747
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2748
|
+
FULL = "full",
|
|
2749
|
+
ALREADY_REGISTERED = "registered",
|
|
2750
|
+
AVAILABLE = "available",
|
|
2751
|
+
NOT_OPEN_YET = "not opened",
|
|
2752
|
+
ALREADY_CLOSED = "closed",
|
|
2753
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2754
|
+
}
|
|
2755
|
+
export declare enum DiscountMethodsEnum {
|
|
2756
|
+
PERCENT = "percent",
|
|
2757
|
+
AMOUNT = "amount"
|
|
2758
|
+
}
|
|
2759
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2760
|
+
ORGANIZATION = "organization"
|
|
2761
|
+
}
|
|
2762
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2763
|
+
USA = "USA"
|
|
2764
|
+
}
|
|
2765
|
+
export declare enum DateTimeFormatsEnum {
|
|
2766
|
+
API_DATE = "YYYY/MM/DD",
|
|
2767
|
+
API_TIME = "HH:mm:ss",
|
|
2768
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2769
|
+
}
|
|
2770
|
+
export declare enum SlotTypeEnum {
|
|
2771
|
+
EXTERNAL = "external",
|
|
2772
|
+
INTERNAL = "internal",
|
|
2773
|
+
MAINTENANCE = "maintenance",
|
|
2774
|
+
CUSTOM = "custom"
|
|
2775
|
+
}
|
|
2776
|
+
export declare enum PlatformsEnum {
|
|
2777
|
+
CONSUMER = "consumer",
|
|
2778
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2779
|
+
BO = "backoffice",
|
|
2780
|
+
MOBILE = "mobile",
|
|
2781
|
+
CRON = "cron"
|
|
2782
|
+
}
|
|
2783
|
+
export declare enum ShiftStatusEnum {
|
|
2784
|
+
OPEN = "open",
|
|
2785
|
+
CLOSED = "closed",
|
|
2786
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2787
|
+
RECONCILED = "reconciled"
|
|
2788
|
+
}
|
|
2789
|
+
export declare enum EventStatusEnum {
|
|
2790
|
+
OPEN = 1,
|
|
2791
|
+
DRAFT = 2,
|
|
2792
|
+
FULL = 3,
|
|
2793
|
+
CANCELLED = 4,
|
|
2794
|
+
CLOSED = 5,
|
|
2795
|
+
DELETED = 6
|
|
2796
|
+
}
|
|
2797
|
+
export declare enum ReservationTypeEnum {
|
|
2798
|
+
RENTAL = "rental",
|
|
2799
|
+
PROGRAM = "program",
|
|
2800
|
+
MAINTENANCE = "maintenance",
|
|
2801
|
+
CUSTOM = "custom",
|
|
2802
|
+
INTERNAL = "internal"
|
|
2803
|
+
}
|
|
2804
|
+
export declare enum SlotDurationTypeEnum {
|
|
2805
|
+
DATES = "dates",
|
|
2806
|
+
ALL_DAY = "all day",
|
|
2807
|
+
DURATION = "duration"
|
|
2808
|
+
}
|
|
2809
|
+
export declare enum DurationUnitTypesEnum {
|
|
2810
|
+
MINUTES = "minutes",
|
|
2811
|
+
HOURS = "hours"
|
|
2812
|
+
}
|
|
2813
|
+
export declare enum FrequencyEnum {
|
|
2814
|
+
NONE = "none",
|
|
2815
|
+
WEEKLY = "weekly",
|
|
2816
|
+
DAILY = "daily",
|
|
2817
|
+
MONTHLY = "monthly",
|
|
2818
|
+
YEARLY = "yearly"
|
|
2819
|
+
}
|
|
2820
|
+
export declare enum MaintenanceTimingEnum {
|
|
2821
|
+
BEFORE = 1,
|
|
2822
|
+
AFTER = 2,
|
|
2823
|
+
AT_THE_BEGINING = 3,
|
|
2824
|
+
AT_THE_END = 4
|
|
2825
|
+
}
|
|
2826
|
+
export declare enum CreatorTypeEnum {
|
|
2827
|
+
SPACE = "space",
|
|
2828
|
+
PROGRAM_SEASON = "program_season",
|
|
2829
|
+
SEASON = "season"
|
|
2830
|
+
}
|
|
2831
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2832
|
+
INDIVIDUAL = "indvidual",
|
|
2833
|
+
CATEGORY = "category",
|
|
2834
|
+
GLOBAL = "global"
|
|
2835
|
+
}
|
|
2836
|
+
export declare enum BondDayOfWeekEnum {
|
|
2837
|
+
MONDAY = 2,
|
|
2838
|
+
TUESDAY = 3,
|
|
2839
|
+
WEDNESDAY = 4,
|
|
2840
|
+
THURSDAY = 5,
|
|
2841
|
+
FRIDAY = 6,
|
|
2842
|
+
SATURDAY = 7,
|
|
2843
|
+
SUNDAY = 8
|
|
2844
|
+
}
|
|
2845
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2846
|
+
NEW = "new",
|
|
2847
|
+
NO = "no",
|
|
2848
|
+
YES = "yes"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum ProductPackageLevelEnum {
|
|
2851
|
+
HOUR = "hour",
|
|
2852
|
+
SLOT = "slot",
|
|
2853
|
+
RESERVATION = "reservation"
|
|
2854
|
+
}
|
|
2855
|
+
export declare enum CancellationStatusEnum {
|
|
2856
|
+
IMMEDIATE = "immediate",
|
|
2857
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2858
|
+
}
|
|
2859
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2860
|
+
DRAFT = 0,
|
|
2861
|
+
PUBLISHED = 1
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum FinancialStepEnum {
|
|
2864
|
+
VOID = "void",
|
|
2865
|
+
REFUND = "refund",
|
|
2866
|
+
NONE = "none",
|
|
2867
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2868
|
+
APPEND = "append"
|
|
2869
|
+
}
|
|
2870
|
+
export declare enum StripeAccountTypesEnum {
|
|
2871
|
+
STRIPE = "stripe",
|
|
2872
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2873
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2874
|
+
}
|
|
2875
|
+
export declare enum LinkedAccountStatus {
|
|
2876
|
+
PENDING = 1,
|
|
2877
|
+
ACTIVE = 2,
|
|
2878
|
+
PRE_PENDING = 3
|
|
2879
|
+
}
|
|
2880
|
+
export declare enum AddonParentTypeEnum {
|
|
2881
|
+
RESERVATION = "reservation",
|
|
2882
|
+
SLOT = "slot"
|
|
2883
|
+
}
|
|
2884
|
+
export declare enum EEmailStatus {
|
|
2885
|
+
SENT = "sent",
|
|
2886
|
+
OPENED = "opened",
|
|
2887
|
+
PAID = "paid",
|
|
2888
|
+
CANCELED = "canceled"
|
|
2889
|
+
}
|
|
2890
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2891
|
+
ENABLED = 1,
|
|
2892
|
+
DISABLED_REDIRECT = 2,
|
|
2893
|
+
DISABLED_INFO_ONLY = 3,
|
|
2894
|
+
DISABLED_EMAIL = 4
|
|
2895
|
+
}
|
|
2896
|
+
export interface IEntitlementTerms {
|
|
2897
|
+
type: EntitlementTermsTypesEnum;
|
|
2898
|
+
id?: number;
|
|
2899
|
+
value?: string;
|
|
2900
|
+
minValue?: string;
|
|
2901
|
+
maxValue?: string;
|
|
2902
|
+
}
|
|
2903
|
+
export interface IQuestionAnswerObject {
|
|
2904
|
+
questionId: number;
|
|
2905
|
+
value: string;
|
|
2906
|
+
}
|
|
2907
|
+
export interface ILowestPriceForItem {
|
|
2908
|
+
itemId: number;
|
|
2909
|
+
itemType: ResourceNameTypeEnum;
|
|
2910
|
+
groupId: number;
|
|
2911
|
+
groupName?: string;
|
|
2912
|
+
price: number;
|
|
2913
|
+
overridesPrice: boolean;
|
|
2914
|
+
}
|
|
2915
|
+
export interface IResourcesAvailability {
|
|
2916
|
+
resourceType: ResourceNameTypeEnum;
|
|
2917
|
+
quantity: number;
|
|
2918
|
+
resourcesIds: number[];
|
|
2919
|
+
isPunchCard: boolean;
|
|
2920
|
+
resources?: any[];
|
|
2921
|
+
}
|
|
2922
|
+
export interface IPackageResponse {
|
|
2923
|
+
parentProduct: Product;
|
|
2924
|
+
children: IChildProduct[];
|
|
2925
|
+
}
|
|
2926
|
+
export interface IChildProduct {
|
|
2927
|
+
product: Product;
|
|
2928
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2929
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2930
|
+
}
|
|
2931
|
+
export interface ISeasonAttendeeInfo {
|
|
2932
|
+
applicationAnswers: Answer[];
|
|
2933
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2934
|
+
invoices: Invoice[];
|
|
2935
|
+
payments: Payment[];
|
|
2936
|
+
products: Product[];
|
|
2937
|
+
redeemNext: ProductsUsers;
|
|
2938
|
+
}
|
|
2939
|
+
export interface ISeasonAttendeeListInfo {
|
|
2940
|
+
userId: number;
|
|
2941
|
+
userFirstName: string;
|
|
2942
|
+
userLastName: string;
|
|
2943
|
+
userGender: number;
|
|
2944
|
+
userBirthDate: Date;
|
|
2945
|
+
userProfilePicUrl: string;
|
|
2946
|
+
customerId: number;
|
|
2947
|
+
customerEmail: string;
|
|
2948
|
+
paymentStatus: string;
|
|
2949
|
+
productName: string;
|
|
2950
|
+
punchCard: boolean;
|
|
2951
|
+
}
|
|
2952
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2953
|
+
segmentType: ResourceNameTypeEnum;
|
|
2954
|
+
participantRegisteredDate?: string;
|
|
2955
|
+
}
|
|
2956
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2957
|
+
segmentType: ResourceNameTypeEnum;
|
|
2958
|
+
participantRegisteredDate?: string;
|
|
2959
|
+
}
|
|
2960
|
+
export interface ITokenResonse {
|
|
2961
|
+
token: string;
|
|
2962
|
+
}
|
|
2963
|
+
export interface IStripeBondInvoices {
|
|
2964
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2965
|
+
bondPaidPayment: Payment;
|
|
2966
|
+
invoice?: Invoice;
|
|
2967
|
+
customer?: Customer;
|
|
2968
|
+
}
|
|
2969
|
+
export interface IPartialPaymentData {
|
|
2970
|
+
purchasingUserId: number;
|
|
2971
|
+
paymentData: PurchasePaymentDto;
|
|
2972
|
+
amountToPay: number;
|
|
2973
|
+
}
|
|
2974
|
+
export interface IPayment {
|
|
2975
|
+
id: number;
|
|
2976
|
+
total: number;
|
|
2977
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2978
|
+
status: PaymentStatusEnum;
|
|
2979
|
+
createdAt: Date;
|
|
2980
|
+
invoices: number[];
|
|
2981
|
+
}
|
|
2982
|
+
export interface IPaginationData<T> {
|
|
2983
|
+
meta: {
|
|
2984
|
+
totalItems: number;
|
|
2985
|
+
itemsPerPage: number;
|
|
2986
|
+
totalPages: number;
|
|
2987
|
+
currentPage: number;
|
|
2988
|
+
};
|
|
2989
|
+
data: T[];
|
|
3113
2990
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3116
|
-
|
|
2991
|
+
export interface IPricesOfProductsResults {
|
|
2992
|
+
productId: number;
|
|
2993
|
+
userId: number;
|
|
2994
|
+
price: number;
|
|
2995
|
+
groupId?: number;
|
|
2996
|
+
groupName?: string;
|
|
2997
|
+
originalPrice?: number;
|
|
2998
|
+
priceWithoutTax: number;
|
|
2999
|
+
tax: number;
|
|
3000
|
+
isTaxInclusive: boolean;
|
|
3117
3001
|
}
|
|
3118
|
-
export
|
|
3119
|
-
|
|
3002
|
+
export interface IPaymentMethodToFundLeft {
|
|
3003
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3004
|
+
paymentMethodId: string;
|
|
3005
|
+
fundLeft: number;
|
|
3006
|
+
ccLast4?: string;
|
|
3007
|
+
ccBrand?: string;
|
|
3120
3008
|
}
|
|
3121
|
-
export
|
|
3122
|
-
|
|
3009
|
+
export interface IVariantsAndTitle {
|
|
3010
|
+
title: VariantTitle;
|
|
3011
|
+
variants: Variant[];
|
|
3123
3012
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3013
|
+
export interface IProgramSeasonActivityTimes {
|
|
3014
|
+
dayOfWeek: number;
|
|
3015
|
+
open: string;
|
|
3016
|
+
close: string;
|
|
3128
3017
|
}
|
|
3129
|
-
export
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
CUSTOM = "custom"
|
|
3018
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3019
|
+
date: string;
|
|
3020
|
+
startTime: string;
|
|
3021
|
+
endTime: string;
|
|
3134
3022
|
}
|
|
3135
|
-
export
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
MOBILE = "mobile",
|
|
3140
|
-
CRON = "cron"
|
|
3023
|
+
export interface IBlockedDates {
|
|
3024
|
+
name: string;
|
|
3025
|
+
startDate: Date;
|
|
3026
|
+
endDate: Date;
|
|
3141
3027
|
}
|
|
3142
|
-
export
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3028
|
+
export interface ISingleMemberForRenewal {
|
|
3029
|
+
member_id: number;
|
|
3030
|
+
member_membershipId: number;
|
|
3031
|
+
member_userId: number;
|
|
3032
|
+
member_nextPaymentMethodId?: string;
|
|
3033
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3034
|
+
member_answerTitleIds?: number[];
|
|
3035
|
+
member_organizationId: number;
|
|
3036
|
+
line_paidAmount: number;
|
|
3037
|
+
line_productId: number;
|
|
3038
|
+
invoice_payingUserId: number;
|
|
3039
|
+
invoice_paymentMethodId: string;
|
|
3040
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3041
|
+
endDate: Date;
|
|
3042
|
+
membership_name: string;
|
|
3043
|
+
user_firstName: string;
|
|
3044
|
+
user_lastName: string;
|
|
3045
|
+
user_email: string;
|
|
3147
3046
|
}
|
|
3148
|
-
export
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
CLOSED = 5,
|
|
3154
|
-
DELETED = 6
|
|
3047
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3048
|
+
package_parentProductId: number;
|
|
3049
|
+
line2_paidAmount: number;
|
|
3050
|
+
familyid: number;
|
|
3051
|
+
invoice_id: number;
|
|
3155
3052
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3053
|
+
export interface IResourceRegistrationData {
|
|
3054
|
+
id: number;
|
|
3055
|
+
resourceType: ResourceNameTypeEnum;
|
|
3056
|
+
openNumDays?: number;
|
|
3057
|
+
openNumMinutes?: number;
|
|
3058
|
+
openTime?: string;
|
|
3059
|
+
closeNumDays?: number;
|
|
3060
|
+
closeNumMinutes?: number;
|
|
3061
|
+
closeTime?: string;
|
|
3062
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3161
3063
|
}
|
|
3162
|
-
export
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3064
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3065
|
+
id: number;
|
|
3066
|
+
startDate: string;
|
|
3067
|
+
startTime: string;
|
|
3166
3068
|
}
|
|
3167
|
-
export
|
|
3168
|
-
|
|
3169
|
-
|
|
3069
|
+
export interface IRegistrationConstraintsSetting {
|
|
3070
|
+
numDays?: number;
|
|
3071
|
+
numMinutes?: number;
|
|
3170
3072
|
}
|
|
3171
|
-
export
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3073
|
+
export interface IAttendeeDataToNotify {
|
|
3074
|
+
firstName: string;
|
|
3075
|
+
lastName: string;
|
|
3076
|
+
email: string;
|
|
3077
|
+
sessionName: string;
|
|
3078
|
+
parentSessionName?: string;
|
|
3079
|
+
organizationName: string;
|
|
3080
|
+
programName: string;
|
|
3177
3081
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3082
|
+
export interface IEventInSchedule {
|
|
3083
|
+
eventId: number;
|
|
3084
|
+
eventName: string;
|
|
3085
|
+
eventStartDate: string;
|
|
3086
|
+
eventEndDate: string;
|
|
3087
|
+
eventStartTime: string;
|
|
3088
|
+
eventEndTime: string;
|
|
3089
|
+
programId: number;
|
|
3090
|
+
programName: string;
|
|
3091
|
+
programType: ProgramTypesEnum;
|
|
3092
|
+
sessionId: number;
|
|
3093
|
+
sessionName: string;
|
|
3094
|
+
sports: number;
|
|
3095
|
+
spaces: {
|
|
3096
|
+
spaceId: number;
|
|
3097
|
+
spaceName: string;
|
|
3098
|
+
}[];
|
|
3099
|
+
status?: RegistrationValidationStatusEnum;
|
|
3183
3100
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3101
|
+
export interface ISlotInSchedule {
|
|
3102
|
+
facilityId: number;
|
|
3103
|
+
facilityName: string;
|
|
3104
|
+
spaces: ISpaceWithSlots[];
|
|
3187
3105
|
}
|
|
3188
|
-
export
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3106
|
+
export interface ISpaceWithSlots {
|
|
3107
|
+
id: number;
|
|
3108
|
+
name: string;
|
|
3109
|
+
slots: ISlotReservationData[];
|
|
3192
3110
|
}
|
|
3193
|
-
export
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3111
|
+
export interface ISlotReservationData {
|
|
3112
|
+
reservationId: number;
|
|
3113
|
+
reservationName: string;
|
|
3114
|
+
date: string;
|
|
3115
|
+
startTime: string;
|
|
3116
|
+
endTime: string;
|
|
3117
|
+
notes: string;
|
|
3118
|
+
spaceId: number;
|
|
3119
|
+
isRental: boolean;
|
|
3120
|
+
slotType: SlotTypeEnum;
|
|
3121
|
+
slotId: number;
|
|
3122
|
+
eventId: number;
|
|
3123
|
+
isPrivate: boolean;
|
|
3201
3124
|
}
|
|
3202
|
-
export
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3125
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3126
|
+
parentSessionId: number;
|
|
3127
|
+
parentSessionName: string;
|
|
3128
|
+
eventTimezone: string;
|
|
3129
|
+
maxParticipants: number;
|
|
3130
|
+
maxMaleParticipants: number;
|
|
3131
|
+
maxFemaleParticipants: number;
|
|
3132
|
+
isPunchCard: boolean;
|
|
3206
3133
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3134
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3135
|
+
id: number;
|
|
3136
|
+
name: string;
|
|
3137
|
+
bookingCreatorId: number;
|
|
3211
3138
|
}
|
|
3212
|
-
export
|
|
3213
|
-
|
|
3214
|
-
|
|
3139
|
+
export interface IRawSlotInSchedule {
|
|
3140
|
+
startDate: string;
|
|
3141
|
+
endDate: string;
|
|
3142
|
+
startTime: string;
|
|
3143
|
+
endTime: string;
|
|
3144
|
+
reservationId: number;
|
|
3145
|
+
eventTitle: string;
|
|
3146
|
+
publicNotes: string;
|
|
3147
|
+
spaceId: number;
|
|
3148
|
+
creatorType: ResourceNameTypeEnum;
|
|
3149
|
+
slotType: SlotTypeEnum;
|
|
3150
|
+
slotId: number;
|
|
3151
|
+
eventId: number;
|
|
3152
|
+
isPrivate: boolean;
|
|
3215
3153
|
}
|
|
3216
|
-
export
|
|
3217
|
-
|
|
3218
|
-
|
|
3154
|
+
export interface IPurchasedResourcesRaw {
|
|
3155
|
+
purchasedId: number;
|
|
3156
|
+
purchasedProductUserId: number;
|
|
3157
|
+
purchasedResourceId: number;
|
|
3158
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3159
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3160
|
+
pUserId: number;
|
|
3161
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3162
|
+
pUserProductId: number;
|
|
3163
|
+
pUserProductName: string;
|
|
3164
|
+
pUserProductPrice: number;
|
|
3165
|
+
pUserProductPriceCurrency: string;
|
|
3166
|
+
pUserProductQuantity: number;
|
|
3167
|
+
pUserProductQuantityLeft: number;
|
|
3168
|
+
pUserUserId: number;
|
|
3219
3169
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3170
|
+
export interface IUsersPasses {
|
|
3171
|
+
userId: number;
|
|
3172
|
+
userFirstName: string;
|
|
3173
|
+
userLastName: string;
|
|
3174
|
+
organizationId: number;
|
|
3175
|
+
programId: number;
|
|
3176
|
+
programName: string;
|
|
3177
|
+
sessionId: number;
|
|
3178
|
+
sessionName: string;
|
|
3179
|
+
productId: number;
|
|
3180
|
+
productName: string;
|
|
3181
|
+
productUserId: number;
|
|
3182
|
+
purchaseDate: Date;
|
|
3183
|
+
passesLeft: number;
|
|
3226
3184
|
}
|
|
3227
|
-
export
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3185
|
+
export interface ISessionsLandingPage {
|
|
3186
|
+
sessionId: number;
|
|
3187
|
+
name: string;
|
|
3188
|
+
startDate: Date;
|
|
3189
|
+
endDate: Date;
|
|
3190
|
+
registrationStartDate: Date;
|
|
3191
|
+
registrationEndDate: Date;
|
|
3192
|
+
sport: SportsEnum;
|
|
3193
|
+
minAge: string;
|
|
3194
|
+
maxAge: string;
|
|
3195
|
+
maxParticipants?: number;
|
|
3196
|
+
gender: GenderEnum;
|
|
3197
|
+
activityTimes: ActivityTimes[];
|
|
3198
|
+
earlyRegistrationStartDate?: Date;
|
|
3199
|
+
earlyRegistrationEndDate?: Date;
|
|
3200
|
+
lateRegistrationStartDate?: Date;
|
|
3201
|
+
lateRegistrationEndDate?: Date;
|
|
3202
|
+
attendeeCount?: number;
|
|
3203
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3231
3204
|
}
|
|
3232
|
-
export
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3205
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3206
|
+
hasRequiredMembership: boolean;
|
|
3207
|
+
hasEntitledPricing: boolean;
|
|
3208
|
+
lowestPrice?: number;
|
|
3209
|
+
products?: ISessionLandingPageProduct[];
|
|
3236
3210
|
}
|
|
3237
|
-
export
|
|
3238
|
-
|
|
3239
|
-
|
|
3211
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3212
|
+
hasRequiredMembership: boolean;
|
|
3213
|
+
hasEntitledPricing: boolean;
|
|
3214
|
+
products?: ISessionLandingPageProduct[];
|
|
3215
|
+
segments?: Event[] | ProgramSeason[];
|
|
3216
|
+
programName: string;
|
|
3217
|
+
programId: number;
|
|
3218
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3219
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3240
3220
|
}
|
|
3241
|
-
export
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3221
|
+
export interface ISlimAddons {
|
|
3222
|
+
addons?: {
|
|
3223
|
+
id: number;
|
|
3224
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3225
|
+
name: string;
|
|
3226
|
+
productType?: ProductTypesEnum;
|
|
3227
|
+
productSubType?: string;
|
|
3228
|
+
}[];
|
|
3246
3229
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3230
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3231
|
+
id: number;
|
|
3232
|
+
name: string;
|
|
3233
|
+
startDate?: Date;
|
|
3234
|
+
endDate?: Date;
|
|
3235
|
+
downpayment?: number;
|
|
3236
|
+
description?: string;
|
|
3237
|
+
prices: Price[];
|
|
3238
|
+
productSubType?: ProductSubTypesEnum;
|
|
3239
|
+
punchCard: boolean;
|
|
3240
|
+
isAddon: boolean;
|
|
3241
|
+
defaultPriceId?: number;
|
|
3252
3242
|
}
|
|
3253
|
-
export
|
|
3254
|
-
|
|
3243
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3244
|
+
destinationId?: string;
|
|
3245
|
+
stripeCustomerId?: string;
|
|
3246
|
+
fee?: number;
|
|
3255
3247
|
}
|
|
3256
|
-
export
|
|
3257
|
-
|
|
3258
|
-
|
|
3248
|
+
export interface IReservationCreatorData {
|
|
3249
|
+
type: ResourceNameTypeEnum;
|
|
3250
|
+
id: number;
|
|
3251
|
+
organizationId: number;
|
|
3252
|
+
startDate: string;
|
|
3253
|
+
endDate: string;
|
|
3254
|
+
sportId: number;
|
|
3259
3255
|
}
|
|
3260
3256
|
export declare class ColumnNumericTransformer {
|
|
3261
3257
|
to(data: number): number;
|
|
3262
3258
|
from(data: string): number;
|
|
3263
3259
|
}
|
|
3264
3260
|
export declare function convertToNumber(data: string): number;
|
|
3265
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3266
|
-
matchId: number | null;
|
|
3267
|
-
ordinal: number | null;
|
|
3268
|
-
outcomeOrdinal: number | null;
|
|
3269
|
-
resultMetaData: any | null;
|
|
3270
|
-
points: number | null;
|
|
3271
|
-
score: number | null;
|
|
3272
|
-
gameSlotId: number | null;
|
|
3273
|
-
}
|
|
3274
|
-
export interface ValidatedMonthAndDay {
|
|
3275
|
-
valid: boolean;
|
|
3276
|
-
month?: number;
|
|
3277
|
-
day?: number;
|
|
3278
|
-
}
|
|
3279
|
-
export interface ValidationReason {
|
|
3280
|
-
valid: boolean;
|
|
3281
|
-
reason?: string;
|
|
3282
|
-
}
|
|
3283
|
-
export declare class Matches extends BondBaseEntity {
|
|
3284
|
-
eventId: number | null;
|
|
3285
|
-
status: number | null;
|
|
3286
|
-
excludeStandings: boolean | null;
|
|
3287
|
-
}
|
|
3288
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3289
|
-
teamId: number | null;
|
|
3290
|
-
eventId: number | null;
|
|
3291
|
-
status: number | null;
|
|
3292
|
-
}
|
|
3293
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3294
|
-
seasonId: number;
|
|
3295
|
-
ordinal?: number;
|
|
3296
|
-
divisionId?: number;
|
|
3297
|
-
name: string;
|
|
3298
|
-
}
|
|
3299
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3300
|
-
roundId: number;
|
|
3301
|
-
eventId: number;
|
|
3302
|
-
seriesId: number | null;
|
|
3303
|
-
createdAt: Date;
|
|
3304
|
-
updatedAt: Date;
|
|
3305
|
-
}
|
|
3306
3261
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3307
3262
|
name?: string;
|
|
3308
3263
|
genderStr?: string;
|
|
@@ -3317,22 +3272,56 @@ export declare class AddFamilyDto {
|
|
|
3317
3272
|
parents: AddImportedCustomerDto[];
|
|
3318
3273
|
children: AddImportedCustomerDto[];
|
|
3319
3274
|
}
|
|
3320
|
-
export
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3275
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3276
|
+
CREDIT_CARD = "card",
|
|
3277
|
+
ACH = "ach",
|
|
3278
|
+
CASH = "cash",
|
|
3279
|
+
CHECK = "check",
|
|
3280
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3281
|
+
OTHER = "other"
|
|
3325
3282
|
}
|
|
3326
|
-
export
|
|
3327
|
-
|
|
3283
|
+
export declare class ImportedInvoiceLineDto {
|
|
3284
|
+
invoiceID?: string;
|
|
3285
|
+
description: string;
|
|
3286
|
+
createdDate: string;
|
|
3287
|
+
createdTime: string;
|
|
3288
|
+
quantity: string;
|
|
3289
|
+
price: string;
|
|
3290
|
+
total: string;
|
|
3291
|
+
customerID: string;
|
|
3292
|
+
resourceType: string;
|
|
3293
|
+
resourceID: string;
|
|
3328
3294
|
}
|
|
3329
|
-
export
|
|
3330
|
-
|
|
3295
|
+
export declare class ImportedInvoiceDto {
|
|
3296
|
+
customerId?: string;
|
|
3297
|
+
total?: string;
|
|
3298
|
+
amountDue?: string;
|
|
3299
|
+
payments?: ImportedPaymentDto[];
|
|
3300
|
+
lines: any;
|
|
3331
3301
|
}
|
|
3332
|
-
export declare class
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3302
|
+
export declare class ImportedPaymentDto {
|
|
3303
|
+
invoiceID: string;
|
|
3304
|
+
type: ImportPaymentTypeEnum;
|
|
3305
|
+
description: string;
|
|
3306
|
+
paid: string;
|
|
3307
|
+
date: string;
|
|
3308
|
+
time: string;
|
|
3309
|
+
}
|
|
3310
|
+
export declare class ProductIdsDto {
|
|
3311
|
+
productIds?: number[];
|
|
3312
|
+
}
|
|
3313
|
+
export declare class ProductImportDto {
|
|
3314
|
+
product: Product;
|
|
3315
|
+
prices: Price[];
|
|
3316
|
+
resourceIds: number[];
|
|
3317
|
+
oldId: number;
|
|
3318
|
+
}
|
|
3319
|
+
export declare class PunchPassDto {
|
|
3320
|
+
CustomerID: string;
|
|
3321
|
+
QuantityLeft: number;
|
|
3322
|
+
BondProgramID: number;
|
|
3323
|
+
BondSessionID: number;
|
|
3324
|
+
ProductID: number;
|
|
3336
3325
|
}
|
|
3337
3326
|
export declare class ImportedSlotProductDto {
|
|
3338
3327
|
slotID?: string;
|
|
@@ -3376,40 +3365,92 @@ export declare class ImportedSlotDto {
|
|
|
3376
3365
|
}
|
|
3377
3366
|
export declare class ImportedReservationDto {
|
|
3378
3367
|
name: string;
|
|
3379
|
-
customerId: string;
|
|
3380
|
-
description: string;
|
|
3381
|
-
totalPrice: string;
|
|
3382
|
-
downPayment: string;
|
|
3383
|
-
paid: string;
|
|
3384
|
-
invoiceId: string;
|
|
3385
|
-
slots?: ImportedSlotDto[];
|
|
3386
|
-
addons?: ImportedSlotProductDto[];
|
|
3368
|
+
customerId: string;
|
|
3369
|
+
description: string;
|
|
3370
|
+
totalPrice: string;
|
|
3371
|
+
downPayment: string;
|
|
3372
|
+
paid: string;
|
|
3373
|
+
invoiceId: string;
|
|
3374
|
+
slots?: ImportedSlotDto[];
|
|
3375
|
+
addons?: ImportedSlotProductDto[];
|
|
3376
|
+
}
|
|
3377
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3378
|
+
entityType: string;
|
|
3379
|
+
entityId: number;
|
|
3380
|
+
}
|
|
3381
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3382
|
+
matchId: number | null;
|
|
3383
|
+
ordinal: number | null;
|
|
3384
|
+
outcomeOrdinal: number | null;
|
|
3385
|
+
resultMetaData: any | null;
|
|
3386
|
+
points: number | null;
|
|
3387
|
+
score: number | null;
|
|
3388
|
+
gameSlotId: number | null;
|
|
3389
|
+
}
|
|
3390
|
+
export declare class Matches extends BondBaseEntity {
|
|
3391
|
+
eventId: number | null;
|
|
3392
|
+
status: number | null;
|
|
3393
|
+
excludeStandings: boolean | null;
|
|
3394
|
+
}
|
|
3395
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3396
|
+
roundId: number;
|
|
3397
|
+
eventId: number;
|
|
3398
|
+
seriesId: number | null;
|
|
3399
|
+
createdAt: Date;
|
|
3400
|
+
updatedAt: Date;
|
|
3401
|
+
}
|
|
3402
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3403
|
+
seasonId: number;
|
|
3404
|
+
ordinal?: number;
|
|
3405
|
+
divisionId?: number;
|
|
3406
|
+
name: string;
|
|
3407
|
+
}
|
|
3408
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3409
|
+
teamId: number | null;
|
|
3410
|
+
eventId: number | null;
|
|
3411
|
+
status: number | null;
|
|
3387
3412
|
}
|
|
3388
3413
|
export declare class Lock extends BondBaseEntity {
|
|
3389
3414
|
name: string;
|
|
3390
3415
|
locked?: Date;
|
|
3391
3416
|
}
|
|
3392
|
-
export
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
BondSessionID: number;
|
|
3397
|
-
ProductID: number;
|
|
3417
|
+
export interface ValidatedMonthAndDay {
|
|
3418
|
+
valid: boolean;
|
|
3419
|
+
month?: number;
|
|
3420
|
+
day?: number;
|
|
3398
3421
|
}
|
|
3399
|
-
export
|
|
3400
|
-
|
|
3422
|
+
export interface ValidationReason {
|
|
3423
|
+
valid: boolean;
|
|
3424
|
+
reason?: string;
|
|
3401
3425
|
}
|
|
3402
|
-
export
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3426
|
+
export interface PaymentStatus {
|
|
3427
|
+
parentId: number;
|
|
3428
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3429
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3430
|
+
id?: number;
|
|
3407
3431
|
}
|
|
3408
|
-
export
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3432
|
+
export interface PaymentStatusesDict {
|
|
3433
|
+
[id: number]: PaymentStatus[];
|
|
3434
|
+
}
|
|
3435
|
+
export interface PaymentStatusDict {
|
|
3436
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3437
|
+
}
|
|
3438
|
+
export declare class CreateMonitorConfigDto {
|
|
3439
|
+
facilityId: number;
|
|
3440
|
+
name: string;
|
|
3441
|
+
code: string;
|
|
3442
|
+
config: any;
|
|
3443
|
+
}
|
|
3444
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3445
|
+
facilityId: number;
|
|
3446
|
+
code: string;
|
|
3447
|
+
config?: any;
|
|
3448
|
+
}
|
|
3449
|
+
export declare class ByOrganizationIdDto {
|
|
3450
|
+
organizationId: number;
|
|
3451
|
+
}
|
|
3452
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3453
|
+
organizationId?: number;
|
|
3413
3454
|
}
|
|
3414
3455
|
export declare class Organization extends BondBaseEntity {
|
|
3415
3456
|
name: string | null;
|
|
@@ -3460,114 +3501,19 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3460
3501
|
brandings: OrganizationBranding[];
|
|
3461
3502
|
brandingsV2?: OrganizationBranding[];
|
|
3462
3503
|
}
|
|
3463
|
-
export
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3469
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3470
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3471
|
-
totalAmountProcessed: number;
|
|
3472
|
-
}
|
|
3473
|
-
export declare class ByOrganizationIdDto {
|
|
3474
|
-
organizationId: number;
|
|
3475
|
-
}
|
|
3476
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3477
|
-
organizationId?: number;
|
|
3478
|
-
}
|
|
3479
|
-
export interface PaymentResult {
|
|
3480
|
-
paymentMethodId: string;
|
|
3481
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3482
|
-
amount: number;
|
|
3483
|
-
receiptId?: number;
|
|
3484
|
-
paymentMethod4Digits?: string;
|
|
3485
|
-
errorMessage?: string;
|
|
3486
|
-
wasSuccessful: boolean;
|
|
3487
|
-
}
|
|
3488
|
-
export interface PaymentsResults {
|
|
3489
|
-
success: PaymentResult[];
|
|
3490
|
-
failed: PaymentResult[];
|
|
3491
|
-
}
|
|
3492
|
-
export interface InvoicePaymentSum {
|
|
3493
|
-
priceSum: number;
|
|
3494
|
-
paidSum: number;
|
|
3504
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3505
|
+
key?: string;
|
|
3506
|
+
vaule?: string;
|
|
3507
|
+
version: number;
|
|
3508
|
+
organization: Organization;
|
|
3495
3509
|
}
|
|
3496
|
-
export
|
|
3497
|
-
|
|
3498
|
-
programs: LineItems[];
|
|
3499
|
-
leagues: LineItems[];
|
|
3500
|
-
rentals: LineItems[];
|
|
3501
|
-
products: LineItems[];
|
|
3502
|
-
events: LineItems[];
|
|
3510
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3511
|
+
mainAdminUserId?: number;
|
|
3503
3512
|
}
|
|
3504
3513
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3505
3514
|
organisationId: number | null;
|
|
3506
3515
|
userId: number | null;
|
|
3507
3516
|
}
|
|
3508
|
-
export declare class VoidDto {
|
|
3509
|
-
lineItems: VoidLineItemDto[];
|
|
3510
|
-
meta?: RevertMetaDto;
|
|
3511
|
-
}
|
|
3512
|
-
export declare class VoidLineItemDto {
|
|
3513
|
-
id: number;
|
|
3514
|
-
quantity?: number;
|
|
3515
|
-
isEdit?: boolean;
|
|
3516
|
-
amount?: number;
|
|
3517
|
-
}
|
|
3518
|
-
export declare class RefundDto {
|
|
3519
|
-
invoiceId: number;
|
|
3520
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3521
|
-
refundLineItemAmountDict?: {
|
|
3522
|
-
[id: number]: number;
|
|
3523
|
-
};
|
|
3524
|
-
refunds: PaymentMethodDto[];
|
|
3525
|
-
refundType: RefundTypeEnum;
|
|
3526
|
-
reasonId: number;
|
|
3527
|
-
note?: string;
|
|
3528
|
-
shiftId?: number;
|
|
3529
|
-
meta?: RevertMetaDto;
|
|
3530
|
-
}
|
|
3531
|
-
export declare class PaymentMethodDto {
|
|
3532
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3533
|
-
amount: number;
|
|
3534
|
-
paymentMethodId?: string;
|
|
3535
|
-
}
|
|
3536
|
-
export declare class RefundLineItemAmountDto {
|
|
3537
|
-
id: number;
|
|
3538
|
-
refundAmount: number;
|
|
3539
|
-
}
|
|
3540
|
-
export declare class CreateMonitorConfigDto {
|
|
3541
|
-
facilityId: number;
|
|
3542
|
-
name: string;
|
|
3543
|
-
code: string;
|
|
3544
|
-
config: any;
|
|
3545
|
-
}
|
|
3546
|
-
export declare class MaintenanceDto {
|
|
3547
|
-
id?: number;
|
|
3548
|
-
title: string;
|
|
3549
|
-
durationValue: number;
|
|
3550
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3551
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3552
|
-
}
|
|
3553
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
3554
|
-
id?: number;
|
|
3555
|
-
}
|
|
3556
|
-
export declare class AddAddonsDto {
|
|
3557
|
-
addons: AddonDto[];
|
|
3558
|
-
}
|
|
3559
|
-
export declare class EditAddonsDto {
|
|
3560
|
-
addons: EditAddonDto[];
|
|
3561
|
-
}
|
|
3562
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3563
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3564
|
-
}
|
|
3565
|
-
export declare class EditAddonDto {
|
|
3566
|
-
id: number;
|
|
3567
|
-
quantity: number;
|
|
3568
|
-
totalPrice: number;
|
|
3569
|
-
unitPrice?: number;
|
|
3570
|
-
}
|
|
3571
3517
|
export declare class CustomerIdDto {
|
|
3572
3518
|
customerId: number;
|
|
3573
3519
|
}
|
|
@@ -3668,53 +3614,104 @@ export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
|
3668
3614
|
export declare class NotePrivacyDto {
|
|
3669
3615
|
filter: string;
|
|
3670
3616
|
}
|
|
3671
|
-
export declare class RevertMetaDto {
|
|
3672
|
-
removedResources: RemoveResourceDto[];
|
|
3617
|
+
export declare class RevertMetaDto {
|
|
3618
|
+
removedResources: RemoveResourceDto[];
|
|
3619
|
+
}
|
|
3620
|
+
export declare class RemoveResourceDto {
|
|
3621
|
+
resourceType: ResourceNameTypeEnum;
|
|
3622
|
+
resourceId: number;
|
|
3623
|
+
lineItemId: number;
|
|
3624
|
+
}
|
|
3625
|
+
export declare class SendRequestDto {
|
|
3626
|
+
invoiceId: number;
|
|
3627
|
+
userId: number;
|
|
3628
|
+
sendToEmail: string;
|
|
3629
|
+
memo?: string;
|
|
3630
|
+
}
|
|
3631
|
+
export declare class RefundDto {
|
|
3632
|
+
invoiceId: number;
|
|
3633
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3634
|
+
refundLineItemAmountDict?: {
|
|
3635
|
+
[id: number]: number;
|
|
3636
|
+
};
|
|
3637
|
+
refunds: PaymentMethodDto[];
|
|
3638
|
+
refundType: RefundTypeEnum;
|
|
3639
|
+
reasonId: number;
|
|
3640
|
+
note?: string;
|
|
3641
|
+
shiftId?: number;
|
|
3642
|
+
meta?: RevertMetaDto;
|
|
3643
|
+
}
|
|
3644
|
+
export declare class PaymentMethodDto {
|
|
3645
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3646
|
+
amount: number;
|
|
3647
|
+
paymentMethodId?: string;
|
|
3648
|
+
}
|
|
3649
|
+
export declare class RefundLineItemAmountDto {
|
|
3650
|
+
id: number;
|
|
3651
|
+
refundAmount: number;
|
|
3652
|
+
}
|
|
3653
|
+
export declare class VoidDto {
|
|
3654
|
+
lineItems: VoidLineItemDto[];
|
|
3655
|
+
meta?: RevertMetaDto;
|
|
3656
|
+
}
|
|
3657
|
+
export declare class VoidLineItemDto {
|
|
3658
|
+
id: number;
|
|
3659
|
+
quantity?: number;
|
|
3660
|
+
isEdit?: boolean;
|
|
3661
|
+
amount?: number;
|
|
3662
|
+
}
|
|
3663
|
+
export interface PaymentResult {
|
|
3664
|
+
paymentMethodId: string;
|
|
3665
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3666
|
+
amount: number;
|
|
3667
|
+
receiptId?: number;
|
|
3668
|
+
paymentMethod4Digits?: string;
|
|
3669
|
+
errorMessage?: string;
|
|
3670
|
+
wasSuccessful: boolean;
|
|
3671
|
+
}
|
|
3672
|
+
export interface PaymentsResults {
|
|
3673
|
+
success: PaymentResult[];
|
|
3674
|
+
failed: PaymentResult[];
|
|
3675
|
+
}
|
|
3676
|
+
export interface InvoicePaymentSum {
|
|
3677
|
+
priceSum: number;
|
|
3678
|
+
paidSum: number;
|
|
3679
|
+
}
|
|
3680
|
+
export interface ExtendedLineItems {
|
|
3681
|
+
memberships: LineItems[];
|
|
3682
|
+
programs: LineItems[];
|
|
3683
|
+
leagues: LineItems[];
|
|
3684
|
+
rentals: LineItems[];
|
|
3685
|
+
products: LineItems[];
|
|
3686
|
+
events: LineItems[];
|
|
3687
|
+
}
|
|
3688
|
+
export interface RefundResult extends PaymentsResults {
|
|
3689
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3690
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3691
|
+
invoice?: Invoice;
|
|
3692
|
+
}
|
|
3693
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3694
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3695
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3696
|
+
totalAmountProcessed: number;
|
|
3697
|
+
}
|
|
3698
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3699
|
+
id?: number;
|
|
3673
3700
|
}
|
|
3674
|
-
export declare class
|
|
3675
|
-
|
|
3676
|
-
resourceId: number;
|
|
3677
|
-
lineItemId: number;
|
|
3701
|
+
export declare class AddAddonsDto {
|
|
3702
|
+
addons: AddonDto[];
|
|
3678
3703
|
}
|
|
3679
|
-
export declare class
|
|
3680
|
-
|
|
3681
|
-
userId: number;
|
|
3682
|
-
sendToEmail: string;
|
|
3683
|
-
memo?: string;
|
|
3704
|
+
export declare class EditAddonsDto {
|
|
3705
|
+
addons: EditAddonDto[];
|
|
3684
3706
|
}
|
|
3685
|
-
export declare class
|
|
3686
|
-
|
|
3687
|
-
invoiceId?: number;
|
|
3688
|
-
type: LineItemsStatusEnum;
|
|
3689
|
-
organizationId: number;
|
|
3690
|
-
userId?: number;
|
|
3691
|
-
productId: number;
|
|
3692
|
-
product?: Product;
|
|
3693
|
-
productType: ProductTypesEnum;
|
|
3694
|
-
ordinal?: number;
|
|
3695
|
-
price: number;
|
|
3696
|
-
originalPrice?: number;
|
|
3697
|
-
paidAmount?: number;
|
|
3698
|
-
currency: CurrencyEnum;
|
|
3699
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3700
|
-
isRefunded?: boolean;
|
|
3701
|
-
isTaxInclusive?: boolean;
|
|
3702
|
-
taxPrecent?: number;
|
|
3703
|
-
unitPrice?: number;
|
|
3704
|
-
quantity: number;
|
|
3705
|
-
resources?: PurchasedResourceDto[];
|
|
3706
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3707
|
-
unitPriceWithTax?: number;
|
|
3708
|
-
unitTaxPrice?: number;
|
|
3709
|
-
parentOrdinal?: number;
|
|
3707
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3708
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3710
3709
|
}
|
|
3711
|
-
export declare class
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
endDate?: string;
|
|
3717
|
-
endTime?: string;
|
|
3710
|
+
export declare class EditAddonDto {
|
|
3711
|
+
id: number;
|
|
3712
|
+
quantity: number;
|
|
3713
|
+
totalPrice: number;
|
|
3714
|
+
unitPrice?: number;
|
|
3718
3715
|
}
|
|
3719
3716
|
export declare class InvoiceDto {
|
|
3720
3717
|
invoiceId?: string | null;
|
|
@@ -3757,57 +3754,46 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3757
3754
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3758
3755
|
segments: SegmentDto[];
|
|
3759
3756
|
}
|
|
3760
|
-
export declare
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
lines: any;
|
|
3786
|
-
}
|
|
3787
|
-
export declare class ImportedPaymentDto {
|
|
3788
|
-
invoiceID: string;
|
|
3789
|
-
type: ImportPaymentTypeEnum;
|
|
3790
|
-
description: string;
|
|
3791
|
-
paid: string;
|
|
3792
|
-
date: string;
|
|
3793
|
-
time: string;
|
|
3757
|
+
export declare class LineItemDto {
|
|
3758
|
+
id?: number;
|
|
3759
|
+
invoiceId?: number;
|
|
3760
|
+
type: LineItemsStatusEnum;
|
|
3761
|
+
organizationId: number;
|
|
3762
|
+
userId?: number;
|
|
3763
|
+
productId: number;
|
|
3764
|
+
product?: Product;
|
|
3765
|
+
productType: ProductTypesEnum;
|
|
3766
|
+
ordinal?: number;
|
|
3767
|
+
price: number;
|
|
3768
|
+
originalPrice?: number;
|
|
3769
|
+
paidAmount?: number;
|
|
3770
|
+
currency: CurrencyEnum;
|
|
3771
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3772
|
+
isRefunded?: boolean;
|
|
3773
|
+
isTaxInclusive?: boolean;
|
|
3774
|
+
taxPrecent?: number;
|
|
3775
|
+
unitPrice?: number;
|
|
3776
|
+
quantity: number;
|
|
3777
|
+
resources?: PurchasedResourceDto[];
|
|
3778
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3779
|
+
unitPriceWithTax?: number;
|
|
3780
|
+
unitTaxPrice?: number;
|
|
3781
|
+
parentOrdinal?: number;
|
|
3794
3782
|
}
|
|
3795
|
-
export declare class
|
|
3783
|
+
export declare class MaintenanceDto {
|
|
3796
3784
|
id?: number;
|
|
3797
|
-
|
|
3785
|
+
title: string;
|
|
3786
|
+
durationValue: number;
|
|
3787
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3788
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3789
|
+
}
|
|
3790
|
+
export declare class PurchasedResourceDto {
|
|
3791
|
+
resourceId?: number;
|
|
3792
|
+
resourceType: ResourceNameTypeEnum;
|
|
3793
|
+
startDate?: string;
|
|
3798
3794
|
startTime?: string;
|
|
3799
3795
|
endDate?: string;
|
|
3800
3796
|
endTime?: string;
|
|
3801
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3802
|
-
durationEndsAfter?: number;
|
|
3803
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3804
|
-
frequency: FrequencyEnum;
|
|
3805
|
-
repeatEvery?: number;
|
|
3806
|
-
repeatOn?: number[];
|
|
3807
|
-
repeatEndDate?: string;
|
|
3808
|
-
numberOccurrences?: number;
|
|
3809
|
-
maintenance?: MaintenanceDto[];
|
|
3810
|
-
slots?: SlotDto[];
|
|
3811
3797
|
}
|
|
3812
3798
|
export declare class ReservationDto {
|
|
3813
3799
|
id?: number;
|
|
@@ -3953,27 +3939,148 @@ export declare class EditReservationDetailsDto {
|
|
|
3953
3939
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3954
3940
|
updateAddons?: boolean;
|
|
3955
3941
|
}
|
|
3956
|
-
export declare class
|
|
3957
|
-
|
|
3942
|
+
export declare class SegmentDto {
|
|
3943
|
+
id?: number;
|
|
3944
|
+
title: string;
|
|
3945
|
+
isPrivate: boolean;
|
|
3946
|
+
resourceIds: number[];
|
|
3947
|
+
sportId?: number;
|
|
3948
|
+
series: SeriesDto[];
|
|
3949
|
+
addonIds?: number[];
|
|
3950
|
+
publicNotesForSlots?: string;
|
|
3951
|
+
privateNotesForSlots?: string;
|
|
3958
3952
|
}
|
|
3959
|
-
export declare
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3953
|
+
export declare class SeriesDto {
|
|
3954
|
+
id?: number;
|
|
3955
|
+
startDate: string;
|
|
3956
|
+
startTime?: string;
|
|
3957
|
+
endDate?: string;
|
|
3958
|
+
endTime?: string;
|
|
3959
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3960
|
+
durationEndsAfter?: number;
|
|
3961
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3962
|
+
frequency: FrequencyEnum;
|
|
3963
|
+
repeatEvery?: number;
|
|
3964
|
+
repeatOn?: number[];
|
|
3965
|
+
repeatEndDate?: string;
|
|
3966
|
+
numberOccurrences?: number;
|
|
3967
|
+
maintenance?: MaintenanceDto[];
|
|
3968
|
+
slots?: SlotDto[];
|
|
3969
|
+
}
|
|
3970
|
+
export declare class SlotDateTimeAndSpace {
|
|
3971
|
+
startDate: string;
|
|
3972
|
+
startTime?: string;
|
|
3973
|
+
endDate?: string;
|
|
3974
|
+
endTime?: string;
|
|
3975
|
+
spaceId: number;
|
|
3976
|
+
}
|
|
3977
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
3978
|
+
id?: number;
|
|
3979
|
+
reservationId?: number;
|
|
3980
|
+
occurrence?: number;
|
|
3981
|
+
title: string;
|
|
3982
|
+
creatorId?: number;
|
|
3983
|
+
creatorType?: string;
|
|
3984
|
+
userCreatorId?: number;
|
|
3985
|
+
timezone?: string;
|
|
3986
|
+
publicNotes?: string;
|
|
3987
|
+
privateNotes?: string;
|
|
3988
|
+
slotType: SlotTypeEnum;
|
|
3989
|
+
product?: Product;
|
|
3990
|
+
priceOverrideMeta?: {
|
|
3991
|
+
unitPrice: number;
|
|
3992
|
+
quantity: number;
|
|
3993
|
+
totalPrice: number;
|
|
3994
|
+
};
|
|
3995
|
+
addonPriceOverrideMeta?: {
|
|
3996
|
+
[addonProductId: number]: {
|
|
3997
|
+
unitPrice: number;
|
|
3998
|
+
quantity: number;
|
|
3999
|
+
totalPrice: number;
|
|
3965
4000
|
};
|
|
3966
4001
|
};
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
4002
|
+
addonProducts?: Product[];
|
|
4003
|
+
addonCalculatedPrice?: {
|
|
4004
|
+
productId: number;
|
|
4005
|
+
quantity: number;
|
|
4006
|
+
unitPrice: number;
|
|
4007
|
+
totalPrice: number;
|
|
4008
|
+
displayTotalWithTax?: number;
|
|
4009
|
+
displayUnitTax?: number;
|
|
4010
|
+
}[];
|
|
4011
|
+
addonsProductUserIds?: number[];
|
|
4012
|
+
segmentId?: number;
|
|
4013
|
+
seriesId?: number;
|
|
4014
|
+
eventId?: number;
|
|
4015
|
+
sportIds: number[];
|
|
4016
|
+
parentSlotId?: number;
|
|
4017
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4018
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4019
|
+
durationValue?: number;
|
|
4020
|
+
invoicId?: number;
|
|
4021
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4022
|
+
approvalStatus: ReservationStatusEnum;
|
|
4023
|
+
displayName?: string;
|
|
4024
|
+
internalName?: string;
|
|
4025
|
+
totalPrice?: number;
|
|
4026
|
+
relevantProducts?: Product[];
|
|
4027
|
+
maintenance?: MaintenanceDto[];
|
|
4028
|
+
maintenanceSlots?: SlotDto[];
|
|
4029
|
+
isPrivate: boolean;
|
|
4030
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4031
|
+
addonsIds?: number[];
|
|
4032
|
+
}
|
|
4033
|
+
export declare class TimeSlotDto {
|
|
4034
|
+
id?: number;
|
|
4035
|
+
resourceId: number;
|
|
4036
|
+
startDate: string;
|
|
4037
|
+
startTime: string;
|
|
4038
|
+
endDate: string;
|
|
4039
|
+
endTime: string;
|
|
4040
|
+
parentSlotId?: number;
|
|
4041
|
+
}
|
|
4042
|
+
export declare class TimeSlotsDto {
|
|
4043
|
+
timeSlots: TimeSlotDto[];
|
|
4044
|
+
}
|
|
4045
|
+
export declare class SlotsIdsDto {
|
|
4046
|
+
slotsIds: number[];
|
|
4047
|
+
}
|
|
4048
|
+
declare class AnswerDto {
|
|
4049
|
+
questionId: number;
|
|
4050
|
+
value: any;
|
|
4051
|
+
}
|
|
4052
|
+
export declare class BookedSessionDto {
|
|
4053
|
+
startDate: string;
|
|
4054
|
+
endDate: string;
|
|
4055
|
+
timezone: string;
|
|
4056
|
+
spaceId: number;
|
|
3971
4057
|
}
|
|
3972
|
-
|
|
3973
|
-
|
|
4058
|
+
declare class AddonV1Dto {
|
|
4059
|
+
resourcePackageId: number;
|
|
4060
|
+
resourcePackageAmount: number;
|
|
4061
|
+
resourcePackagePrice: number;
|
|
3974
4062
|
}
|
|
3975
|
-
export declare class
|
|
4063
|
+
export declare class ReservationV1Dto {
|
|
4064
|
+
organizationId: number;
|
|
3976
4065
|
name: string;
|
|
4066
|
+
dayOfWeek: number;
|
|
4067
|
+
startTime: string;
|
|
4068
|
+
description: string;
|
|
4069
|
+
sport: number;
|
|
4070
|
+
price: number;
|
|
4071
|
+
resourcePackageId: number;
|
|
4072
|
+
resourcePackageAmount: number;
|
|
4073
|
+
bookedSessions: BookedSessionDto[];
|
|
4074
|
+
addons: AddonV1Dto[];
|
|
4075
|
+
}
|
|
4076
|
+
export declare class BookingV1Dto {
|
|
4077
|
+
organizationId: number;
|
|
4078
|
+
reservations: ReservationV1Dto[];
|
|
4079
|
+
answers: AnswerDto[];
|
|
4080
|
+
paymentData: PurchasePaymentDto;
|
|
4081
|
+
skipPayment: boolean;
|
|
4082
|
+
cashPayment: boolean;
|
|
4083
|
+
requestOnly: boolean;
|
|
3977
4084
|
}
|
|
3978
4085
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3979
4086
|
parentId: number;
|
|
@@ -3995,6 +4102,157 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
3995
4102
|
previousProductUsersIds?: number[];
|
|
3996
4103
|
previousProductUsers?: ProductsUsers[];
|
|
3997
4104
|
}
|
|
4105
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4106
|
+
deletedAt?: Date;
|
|
4107
|
+
reservationId: number;
|
|
4108
|
+
invoiceId: number;
|
|
4109
|
+
slotId: number;
|
|
4110
|
+
}
|
|
4111
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4112
|
+
name?: string;
|
|
4113
|
+
description?: string;
|
|
4114
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4115
|
+
privacySetting?: string;
|
|
4116
|
+
reservationType?: ReservationTypeEnum;
|
|
4117
|
+
invoiceId?: string;
|
|
4118
|
+
customerId?: number;
|
|
4119
|
+
customer?: Customer;
|
|
4120
|
+
price?: number;
|
|
4121
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4122
|
+
startTime?: string;
|
|
4123
|
+
startDate?: Date;
|
|
4124
|
+
endDate?: Date;
|
|
4125
|
+
creatorId?: number;
|
|
4126
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4127
|
+
userCreatorId?: number;
|
|
4128
|
+
sportType?: number;
|
|
4129
|
+
deletedAt?: Date;
|
|
4130
|
+
publicNotes?: string;
|
|
4131
|
+
privateNotes?: string;
|
|
4132
|
+
forms?: number[] | null;
|
|
4133
|
+
answerTitleIds?: number[] | null;
|
|
4134
|
+
segments?: Segment[];
|
|
4135
|
+
migrationStatus?: string;
|
|
4136
|
+
addons: Addon[];
|
|
4137
|
+
overrideProductsPrice: {
|
|
4138
|
+
productId: number;
|
|
4139
|
+
price: number;
|
|
4140
|
+
}[];
|
|
4141
|
+
targetGlobalPrice?: number;
|
|
4142
|
+
slots: Slot[];
|
|
4143
|
+
}
|
|
4144
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4145
|
+
deletedAt?: Date;
|
|
4146
|
+
reservationId: number;
|
|
4147
|
+
title: string;
|
|
4148
|
+
isPrivate: boolean;
|
|
4149
|
+
resourceIds?: number[];
|
|
4150
|
+
sportId: number;
|
|
4151
|
+
reservation?: Reservation;
|
|
4152
|
+
series?: Series[];
|
|
4153
|
+
addonIds?: number[] | null;
|
|
4154
|
+
publicNotesForSlots?: string;
|
|
4155
|
+
privateNotesForSlots?: string;
|
|
4156
|
+
slots?: Slot[];
|
|
4157
|
+
}
|
|
4158
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4159
|
+
deletedAt?: Date;
|
|
4160
|
+
segmentId: number;
|
|
4161
|
+
segment?: Segment;
|
|
4162
|
+
slots?: Slot[];
|
|
4163
|
+
slotDurationType: string;
|
|
4164
|
+
durationEndsAfter: number;
|
|
4165
|
+
durationUnit: string;
|
|
4166
|
+
startDate?: Date;
|
|
4167
|
+
endDate?: Date;
|
|
4168
|
+
startTime: string;
|
|
4169
|
+
endTime: string;
|
|
4170
|
+
frequency: string;
|
|
4171
|
+
repeatEvery: number;
|
|
4172
|
+
repeatOn?: number[];
|
|
4173
|
+
repeatEndDate?: Date;
|
|
4174
|
+
numberOccurrences?: number;
|
|
4175
|
+
resources?: Resource[];
|
|
4176
|
+
}
|
|
4177
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4178
|
+
constructor();
|
|
4179
|
+
defineIsReverted(): void;
|
|
4180
|
+
isReverted: boolean;
|
|
4181
|
+
reservationId: number;
|
|
4182
|
+
reservation: Reservation;
|
|
4183
|
+
title?: string;
|
|
4184
|
+
creatorId?: number;
|
|
4185
|
+
creatorType?: string;
|
|
4186
|
+
userCreatorId?: number;
|
|
4187
|
+
startDate: Date;
|
|
4188
|
+
endDate: Date;
|
|
4189
|
+
startTime: string;
|
|
4190
|
+
endTime: string;
|
|
4191
|
+
timezone?: string;
|
|
4192
|
+
spaceId?: number;
|
|
4193
|
+
resource?: Resource;
|
|
4194
|
+
deletedAt?: Date;
|
|
4195
|
+
publicNotes?: string;
|
|
4196
|
+
privateNotes?: string;
|
|
4197
|
+
slotType: SlotTypeEnum;
|
|
4198
|
+
productsUserId?: number;
|
|
4199
|
+
productUser?: ProductsUsers;
|
|
4200
|
+
product?: Product;
|
|
4201
|
+
addonsProductUserIds?: number[] | null;
|
|
4202
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4203
|
+
addonProducts?: Product[];
|
|
4204
|
+
addonsMetadata: AddonMetadata[];
|
|
4205
|
+
segmentId: number;
|
|
4206
|
+
segment: Segment;
|
|
4207
|
+
eventId: number;
|
|
4208
|
+
event: Event;
|
|
4209
|
+
sportIds: number[];
|
|
4210
|
+
parentSlotId?: number;
|
|
4211
|
+
parent?: Slot;
|
|
4212
|
+
children?: Slot[];
|
|
4213
|
+
maintenanceDurationdurationType: string;
|
|
4214
|
+
maintenanceTiming: number;
|
|
4215
|
+
durationValue: number;
|
|
4216
|
+
seriesId?: number;
|
|
4217
|
+
series?: Series;
|
|
4218
|
+
invoiceId?: number;
|
|
4219
|
+
invoice?: Invoice;
|
|
4220
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4221
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4222
|
+
displayName?: string;
|
|
4223
|
+
internalName?: string;
|
|
4224
|
+
activityTypes?: number[] | null;
|
|
4225
|
+
hourlyRate: number;
|
|
4226
|
+
totalPrice: number;
|
|
4227
|
+
isConsumerVisible: boolean;
|
|
4228
|
+
isMonitorVisible: boolean;
|
|
4229
|
+
isPrivate: boolean;
|
|
4230
|
+
occurrence?: number;
|
|
4231
|
+
maintenance?: Slot[];
|
|
4232
|
+
productMetadata: {
|
|
4233
|
+
productId: number;
|
|
4234
|
+
price: number;
|
|
4235
|
+
};
|
|
4236
|
+
slotDurationType: string;
|
|
4237
|
+
changeLineItemIds?: number[];
|
|
4238
|
+
changeLineItems?: LineItems[];
|
|
4239
|
+
updatedLineItem?: LineItems;
|
|
4240
|
+
conflictsCount?: number;
|
|
4241
|
+
conflicts?: Slot[];
|
|
4242
|
+
}
|
|
4243
|
+
export declare type TSlotAndType = {
|
|
4244
|
+
type: 'slots' | 'slot_addons';
|
|
4245
|
+
slotsForProduct: {
|
|
4246
|
+
[productId: number]: {
|
|
4247
|
+
product: Product;
|
|
4248
|
+
slots: SlotDto[];
|
|
4249
|
+
};
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4252
|
+
export interface ILineItemResource {
|
|
4253
|
+
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4254
|
+
values: TResource[];
|
|
4255
|
+
}
|
|
3998
4256
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
3999
4257
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4000
4258
|
export interface ReservationV1 {
|
|
@@ -4212,124 +4470,27 @@ export interface TimeSlotConflicts {
|
|
|
4212
4470
|
conflicts: Slot[];
|
|
4213
4471
|
}
|
|
4214
4472
|
export interface AddonMetadata {
|
|
4215
|
-
productId: number;
|
|
4216
|
-
quantity: number;
|
|
4217
|
-
unitPrice: number;
|
|
4218
|
-
totalPrice: number;
|
|
4219
|
-
product?: Product;
|
|
4220
|
-
}
|
|
4221
|
-
declare class AnswerDto {
|
|
4222
|
-
questionId: number;
|
|
4223
|
-
value: any;
|
|
4224
|
-
}
|
|
4225
|
-
export declare class BookedSessionDto {
|
|
4226
|
-
startDate: string;
|
|
4227
|
-
endDate: string;
|
|
4228
|
-
timezone: string;
|
|
4229
|
-
spaceId: number;
|
|
4230
|
-
}
|
|
4231
|
-
declare class AddonV1Dto {
|
|
4232
|
-
resourcePackageId: number;
|
|
4233
|
-
resourcePackageAmount: number;
|
|
4234
|
-
resourcePackagePrice: number;
|
|
4235
|
-
}
|
|
4236
|
-
export declare class ReservationV1Dto {
|
|
4237
|
-
organizationId: number;
|
|
4238
|
-
name: string;
|
|
4239
|
-
dayOfWeek: number;
|
|
4240
|
-
startTime: string;
|
|
4241
|
-
description: string;
|
|
4242
|
-
sport: number;
|
|
4243
|
-
price: number;
|
|
4244
|
-
resourcePackageId: number;
|
|
4245
|
-
resourcePackageAmount: number;
|
|
4246
|
-
bookedSessions: BookedSessionDto[];
|
|
4247
|
-
addons: AddonV1Dto[];
|
|
4248
|
-
}
|
|
4249
|
-
export declare class BookingV1Dto {
|
|
4250
|
-
organizationId: number;
|
|
4251
|
-
reservations: ReservationV1Dto[];
|
|
4252
|
-
answers: AnswerDto[];
|
|
4253
|
-
paymentData: PurchasePaymentDto;
|
|
4254
|
-
skipPayment: boolean;
|
|
4255
|
-
cashPayment: boolean;
|
|
4256
|
-
requestOnly: boolean;
|
|
4257
|
-
}
|
|
4258
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4259
|
-
name?: string;
|
|
4260
|
-
description?: string;
|
|
4261
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4262
|
-
privacySetting?: string;
|
|
4263
|
-
reservationType?: ReservationTypeEnum;
|
|
4264
|
-
invoiceId?: string;
|
|
4265
|
-
customerId?: number;
|
|
4266
|
-
customer?: Customer;
|
|
4267
|
-
price?: number;
|
|
4268
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4269
|
-
startTime?: string;
|
|
4270
|
-
startDate?: Date;
|
|
4271
|
-
endDate?: Date;
|
|
4272
|
-
creatorId?: number;
|
|
4273
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4274
|
-
userCreatorId?: number;
|
|
4275
|
-
sportType?: number;
|
|
4276
|
-
deletedAt?: Date;
|
|
4277
|
-
publicNotes?: string;
|
|
4278
|
-
privateNotes?: string;
|
|
4279
|
-
forms?: number[] | null;
|
|
4280
|
-
answerTitleIds?: number[] | null;
|
|
4281
|
-
segments?: Segment[];
|
|
4282
|
-
migrationStatus?: string;
|
|
4283
|
-
addons: Addon[];
|
|
4284
|
-
overrideProductsPrice: {
|
|
4285
|
-
productId: number;
|
|
4286
|
-
price: number;
|
|
4287
|
-
}[];
|
|
4288
|
-
targetGlobalPrice?: number;
|
|
4289
|
-
slots: Slot[];
|
|
4473
|
+
productId: number;
|
|
4474
|
+
quantity: number;
|
|
4475
|
+
unitPrice: number;
|
|
4476
|
+
totalPrice: number;
|
|
4477
|
+
product?: Product;
|
|
4290
4478
|
}
|
|
4291
|
-
export declare class
|
|
4292
|
-
|
|
4293
|
-
deletedAt?: Date;
|
|
4479
|
+
export declare class ChangeRolePermissionsDto {
|
|
4480
|
+
permissionIds: number[];
|
|
4294
4481
|
}
|
|
4295
|
-
export declare class
|
|
4296
|
-
|
|
4297
|
-
segmentId: number;
|
|
4298
|
-
segment?: Segment;
|
|
4299
|
-
slots?: Slot[];
|
|
4300
|
-
slotDurationType: string;
|
|
4301
|
-
durationEndsAfter: number;
|
|
4302
|
-
durationUnit: string;
|
|
4303
|
-
startDate?: Date;
|
|
4304
|
-
endDate?: Date;
|
|
4305
|
-
startTime: string;
|
|
4306
|
-
endTime: string;
|
|
4307
|
-
frequency: string;
|
|
4308
|
-
repeatEvery: number;
|
|
4309
|
-
repeatOn?: number[];
|
|
4310
|
-
repeatEndDate?: Date;
|
|
4311
|
-
numberOccurrences?: number;
|
|
4312
|
-
resources?: Resource[];
|
|
4482
|
+
export declare class CreateRoleDto {
|
|
4483
|
+
name: string;
|
|
4313
4484
|
}
|
|
4314
|
-
export declare class
|
|
4485
|
+
export declare class Permission extends BondBaseEntity {
|
|
4486
|
+
name: string;
|
|
4315
4487
|
deletedAt?: Date;
|
|
4316
|
-
reservationId: number;
|
|
4317
|
-
title: string;
|
|
4318
|
-
isPrivate: boolean;
|
|
4319
|
-
resourceIds?: number[];
|
|
4320
|
-
sportId: number;
|
|
4321
|
-
reservation?: Reservation;
|
|
4322
|
-
series?: Series[];
|
|
4323
|
-
addonIds?: number[] | null;
|
|
4324
|
-
publicNotesForSlots?: string;
|
|
4325
|
-
privateNotesForSlots?: string;
|
|
4326
|
-
slots?: Slot[];
|
|
4327
4488
|
}
|
|
4328
|
-
export declare class
|
|
4489
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4490
|
+
name: string;
|
|
4329
4491
|
deletedAt?: Date;
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
slotId: number;
|
|
4492
|
+
permissions: Permission[];
|
|
4493
|
+
usersRoles: UserRole[];
|
|
4333
4494
|
}
|
|
4334
4495
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4335
4496
|
deletedAt?: Date;
|
|
@@ -4338,83 +4499,31 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4338
4499
|
role: Role;
|
|
4339
4500
|
user: User;
|
|
4340
4501
|
}
|
|
4341
|
-
export declare class
|
|
4342
|
-
|
|
4343
|
-
deletedAt?: Date;
|
|
4344
|
-
permissions: Permission[];
|
|
4345
|
-
usersRoles: UserRole[];
|
|
4502
|
+
export declare class CloseShiftDto {
|
|
4503
|
+
closingCashAmount: number;
|
|
4346
4504
|
}
|
|
4347
4505
|
export declare class FindShiftsByIdsDto {
|
|
4348
4506
|
shiftIds: number[];
|
|
4349
4507
|
}
|
|
4350
|
-
export declare class
|
|
4351
|
-
|
|
4508
|
+
export declare class FindShiftsFiltersDto {
|
|
4509
|
+
statuses?: string;
|
|
4510
|
+
stationIds?: string;
|
|
4511
|
+
openingUsersIds?: string;
|
|
4512
|
+
closingUsersIds?: string;
|
|
4513
|
+
closingManagersIds?: string;
|
|
4514
|
+
reconcilingUsersIds?: string;
|
|
4515
|
+
startDate?: Date;
|
|
4516
|
+
endDate?: Date;
|
|
4352
4517
|
}
|
|
4353
|
-
export declare class
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
userCreatorId?: number;
|
|
4363
|
-
startDate: Date;
|
|
4364
|
-
endDate: Date;
|
|
4365
|
-
startTime: string;
|
|
4366
|
-
endTime: string;
|
|
4367
|
-
timezone?: string;
|
|
4368
|
-
spaceId?: number;
|
|
4369
|
-
resource?: Resource;
|
|
4370
|
-
deletedAt?: Date;
|
|
4371
|
-
publicNotes?: string;
|
|
4372
|
-
privateNotes?: string;
|
|
4373
|
-
slotType: SlotTypeEnum;
|
|
4374
|
-
productsUserId?: number;
|
|
4375
|
-
productUser?: ProductsUsers;
|
|
4376
|
-
product?: Product;
|
|
4377
|
-
addonsProductUserIds?: number[] | null;
|
|
4378
|
-
addonsProductUsers?: ProductsUsers[];
|
|
4379
|
-
addonProducts?: Product[];
|
|
4380
|
-
addonsMetadata: AddonMetadata[];
|
|
4381
|
-
segmentId: number;
|
|
4382
|
-
segment: Segment;
|
|
4383
|
-
eventId: number;
|
|
4384
|
-
event: Event;
|
|
4385
|
-
sportIds: number[];
|
|
4386
|
-
parentSlotId?: number;
|
|
4387
|
-
parent?: Slot;
|
|
4388
|
-
children?: Slot[];
|
|
4389
|
-
maintenanceDurationdurationType: string;
|
|
4390
|
-
maintenanceTiming: number;
|
|
4391
|
-
durationValue: number;
|
|
4392
|
-
seriesId?: number;
|
|
4393
|
-
series?: Series;
|
|
4394
|
-
invoiceId?: number;
|
|
4395
|
-
invoice?: Invoice;
|
|
4396
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4397
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4398
|
-
displayName?: string;
|
|
4399
|
-
internalName?: string;
|
|
4400
|
-
activityTypes?: number[] | null;
|
|
4401
|
-
hourlyRate: number;
|
|
4402
|
-
totalPrice: number;
|
|
4403
|
-
isConsumerVisible: boolean;
|
|
4404
|
-
isMonitorVisible: boolean;
|
|
4405
|
-
isPrivate: boolean;
|
|
4406
|
-
occurrence?: number;
|
|
4407
|
-
maintenance?: Slot[];
|
|
4408
|
-
productMetadata: {
|
|
4409
|
-
productId: number;
|
|
4410
|
-
price: number;
|
|
4411
|
-
};
|
|
4412
|
-
slotDurationType: string;
|
|
4413
|
-
changeLineItemIds?: number[];
|
|
4414
|
-
changeLineItems?: LineItems[];
|
|
4415
|
-
updatedLineItem?: LineItems;
|
|
4416
|
-
conflictsCount?: number;
|
|
4417
|
-
conflicts?: Slot[];
|
|
4518
|
+
export declare class FindShiftsFormattedFilters {
|
|
4519
|
+
statuses?: string[];
|
|
4520
|
+
stationIds?: number[];
|
|
4521
|
+
openingUsersIds?: number[];
|
|
4522
|
+
closingUsersIds?: number[];
|
|
4523
|
+
closingManagersIds?: number[];
|
|
4524
|
+
reconcilingUsersIds?: number[];
|
|
4525
|
+
startDate?: Date;
|
|
4526
|
+
endDate?: Date;
|
|
4418
4527
|
}
|
|
4419
4528
|
export declare class ShiftManagementClosingAmount {
|
|
4420
4529
|
shiftId: number;
|
|
@@ -4423,98 +4532,6 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4423
4532
|
export declare class ManagementClosingOfShiftsDto {
|
|
4424
4533
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4425
4534
|
}
|
|
4426
|
-
export declare class SlotDateTimeAndSpace {
|
|
4427
|
-
startDate: string;
|
|
4428
|
-
startTime?: string;
|
|
4429
|
-
endDate?: string;
|
|
4430
|
-
endTime?: string;
|
|
4431
|
-
spaceId: number;
|
|
4432
|
-
}
|
|
4433
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4434
|
-
id?: number;
|
|
4435
|
-
reservationId?: number;
|
|
4436
|
-
occurrence?: number;
|
|
4437
|
-
title: string;
|
|
4438
|
-
creatorId?: number;
|
|
4439
|
-
creatorType?: string;
|
|
4440
|
-
userCreatorId?: number;
|
|
4441
|
-
timezone?: string;
|
|
4442
|
-
publicNotes?: string;
|
|
4443
|
-
privateNotes?: string;
|
|
4444
|
-
slotType: SlotTypeEnum;
|
|
4445
|
-
product?: Product;
|
|
4446
|
-
priceOverrideMeta?: {
|
|
4447
|
-
unitPrice: number;
|
|
4448
|
-
quantity: number;
|
|
4449
|
-
totalPrice: number;
|
|
4450
|
-
};
|
|
4451
|
-
addonPriceOverrideMeta?: {
|
|
4452
|
-
[addonProductId: number]: {
|
|
4453
|
-
unitPrice: number;
|
|
4454
|
-
quantity: number;
|
|
4455
|
-
totalPrice: number;
|
|
4456
|
-
};
|
|
4457
|
-
};
|
|
4458
|
-
addonProducts?: Product[];
|
|
4459
|
-
addonCalculatedPrice?: {
|
|
4460
|
-
productId: number;
|
|
4461
|
-
quantity: number;
|
|
4462
|
-
unitPrice: number;
|
|
4463
|
-
totalPrice: number;
|
|
4464
|
-
displayTotalWithTax?: number;
|
|
4465
|
-
displayUnitTax?: number;
|
|
4466
|
-
}[];
|
|
4467
|
-
addonsProductUserIds?: number[];
|
|
4468
|
-
segmentId?: number;
|
|
4469
|
-
seriesId?: number;
|
|
4470
|
-
eventId?: number;
|
|
4471
|
-
sportIds: number[];
|
|
4472
|
-
parentSlotId?: number;
|
|
4473
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4474
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4475
|
-
durationValue?: number;
|
|
4476
|
-
invoicId?: number;
|
|
4477
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4478
|
-
approvalStatus: ReservationStatusEnum;
|
|
4479
|
-
displayName?: string;
|
|
4480
|
-
internalName?: string;
|
|
4481
|
-
totalPrice?: number;
|
|
4482
|
-
relevantProducts?: Product[];
|
|
4483
|
-
maintenance?: MaintenanceDto[];
|
|
4484
|
-
maintenanceSlots?: SlotDto[];
|
|
4485
|
-
isPrivate: boolean;
|
|
4486
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4487
|
-
addonsIds?: number[];
|
|
4488
|
-
}
|
|
4489
|
-
export declare class TimeSlotDto {
|
|
4490
|
-
id?: number;
|
|
4491
|
-
resourceId: number;
|
|
4492
|
-
startDate: string;
|
|
4493
|
-
startTime: string;
|
|
4494
|
-
endDate: string;
|
|
4495
|
-
endTime: string;
|
|
4496
|
-
parentSlotId?: number;
|
|
4497
|
-
}
|
|
4498
|
-
export declare class TimeSlotsDto {
|
|
4499
|
-
timeSlots: TimeSlotDto[];
|
|
4500
|
-
}
|
|
4501
|
-
export declare class SlotsIdsDto {
|
|
4502
|
-
slotsIds: number[];
|
|
4503
|
-
}
|
|
4504
|
-
export declare class SegmentDto {
|
|
4505
|
-
id?: number;
|
|
4506
|
-
title: string;
|
|
4507
|
-
isPrivate: boolean;
|
|
4508
|
-
resourceIds: number[];
|
|
4509
|
-
sportId?: number;
|
|
4510
|
-
series: SeriesDto[];
|
|
4511
|
-
addonIds?: number[];
|
|
4512
|
-
publicNotesForSlots?: string;
|
|
4513
|
-
privateNotesForSlots?: string;
|
|
4514
|
-
}
|
|
4515
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4516
|
-
mainAdminUserId?: number;
|
|
4517
|
-
}
|
|
4518
4535
|
export declare class OpenShiftDto {
|
|
4519
4536
|
openingCashAmount: number;
|
|
4520
4537
|
stationId: number;
|
|
@@ -4548,23 +4565,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4548
4565
|
closingManager?: User;
|
|
4549
4566
|
reconcilingUser?: User;
|
|
4550
4567
|
}
|
|
4551
|
-
export declare class FindShiftsFiltersDto {
|
|
4552
|
-
statuses?: string;
|
|
4553
|
-
stationIds?: string;
|
|
4554
|
-
openingUsersIds?: string;
|
|
4555
|
-
closingUsersIds?: string;
|
|
4556
|
-
closingManagersIds?: string;
|
|
4557
|
-
reconcilingUsersIds?: string;
|
|
4558
|
-
startDate?: Date;
|
|
4559
|
-
endDate?: Date;
|
|
4560
|
-
}
|
|
4561
|
-
export declare class FindShiftsFormattedFilters {
|
|
4562
|
-
statuses?: string[];
|
|
4563
|
-
stationIds?: number[];
|
|
4564
|
-
openingUsersIds?: number[];
|
|
4565
|
-
closingUsersIds?: number[];
|
|
4566
|
-
closingManagersIds?: number[];
|
|
4567
|
-
reconcilingUsersIds?: number[];
|
|
4568
|
-
startDate?: Date;
|
|
4569
|
-
endDate?: Date;
|
|
4570
|
-
}
|