@bondsports/types 0.0.133 → 0.0.135
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 +286 -286
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,6 +9,24 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
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
|
+
}
|
|
12
30
|
export declare enum EConfigurationKeys {
|
|
13
31
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
14
32
|
}
|
|
@@ -274,6 +292,79 @@ export declare class GetGlCodeDto {
|
|
|
274
292
|
createdAt: Date;
|
|
275
293
|
updatedAt: Date;
|
|
276
294
|
}
|
|
295
|
+
export declare class FindByProgramSeasonIdDto {
|
|
296
|
+
seasonId: number;
|
|
297
|
+
}
|
|
298
|
+
export declare class CreateBulkDivisionsDto {
|
|
299
|
+
divisions: CreateDivisionDto[];
|
|
300
|
+
}
|
|
301
|
+
export declare class CreateDivisionDto {
|
|
302
|
+
name: string;
|
|
303
|
+
ordinal?: number;
|
|
304
|
+
programSeasonId: number;
|
|
305
|
+
color: string;
|
|
306
|
+
isDefault: boolean;
|
|
307
|
+
}
|
|
308
|
+
export declare class CreateGroupDto {
|
|
309
|
+
name: string;
|
|
310
|
+
description?: string;
|
|
311
|
+
status?: GroupStatusEnum;
|
|
312
|
+
maxCapacity?: number;
|
|
313
|
+
mainMediaId?: number;
|
|
314
|
+
minAgeYears?: number;
|
|
315
|
+
maxAgeYears?: number;
|
|
316
|
+
gender: GenderEnum;
|
|
317
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
318
|
+
sports: SportsEnum[];
|
|
319
|
+
questionnaires?: number[];
|
|
320
|
+
captainUserId?: number;
|
|
321
|
+
divisionId?: number;
|
|
322
|
+
}
|
|
323
|
+
export declare class ConnectGroupToDivision {
|
|
324
|
+
groupId: number;
|
|
325
|
+
divisionId: number;
|
|
326
|
+
prevDivisionId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class MoveUserInGroups {
|
|
329
|
+
userId: number;
|
|
330
|
+
groupId?: number;
|
|
331
|
+
prevGroupId?: number;
|
|
332
|
+
}
|
|
333
|
+
export declare class SaveUserAsGroupCaptain {
|
|
334
|
+
groupId: number;
|
|
335
|
+
userId: number;
|
|
336
|
+
}
|
|
337
|
+
export declare class CreateTeamInviteDto {
|
|
338
|
+
emails: string[];
|
|
339
|
+
userCreatorId: number;
|
|
340
|
+
}
|
|
341
|
+
export declare class TeamByIdDto {
|
|
342
|
+
teamId: number;
|
|
343
|
+
}
|
|
344
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
345
|
+
inviteToken: string;
|
|
346
|
+
}
|
|
347
|
+
export declare class JoinTeamDto {
|
|
348
|
+
userId: number;
|
|
349
|
+
inviteToken?: string;
|
|
350
|
+
}
|
|
351
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
352
|
+
userId: number;
|
|
353
|
+
}
|
|
354
|
+
export interface IMoveSeason {
|
|
355
|
+
fromSeasonId: number;
|
|
356
|
+
toSeasonId: number;
|
|
357
|
+
}
|
|
358
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
359
|
+
teamId?: number;
|
|
360
|
+
memberId?: number;
|
|
361
|
+
fromSeasonId: number;
|
|
362
|
+
toSeasonId: number;
|
|
363
|
+
toDivisionId?: number;
|
|
364
|
+
}
|
|
365
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
|
+
fileName: string;
|
|
367
|
+
}
|
|
277
368
|
export declare class CreateMembershipDto {
|
|
278
369
|
organizationId: number;
|
|
279
370
|
name: string;
|
|
@@ -330,13 +421,6 @@ export declare class CancelMembershipDto {
|
|
|
330
421
|
isImmediatelyCancel: boolean;
|
|
331
422
|
cancellationReason?: string;
|
|
332
423
|
}
|
|
333
|
-
export declare class FindBookingTypeSettingDto {
|
|
334
|
-
organizationId: number;
|
|
335
|
-
facilityId: number;
|
|
336
|
-
spaceId: number;
|
|
337
|
-
bookingDate: string;
|
|
338
|
-
bookingTime: string;
|
|
339
|
-
}
|
|
340
424
|
export declare class CreateEntitlementTermsDto {
|
|
341
425
|
organizationId: number;
|
|
342
426
|
entitlementGroupId: number;
|
|
@@ -379,16 +463,23 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
379
463
|
discountValue?: number;
|
|
380
464
|
discountMethod?: DiscountMethodsEnum;
|
|
381
465
|
}
|
|
382
|
-
export declare class
|
|
383
|
-
|
|
384
|
-
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
385
471
|
}
|
|
386
|
-
export declare class
|
|
387
|
-
|
|
388
|
-
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
389
475
|
}
|
|
390
|
-
export declare class
|
|
391
|
-
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
392
483
|
}
|
|
393
484
|
export declare class FindByProductIdDto {
|
|
394
485
|
productId: number;
|
|
@@ -611,24 +702,6 @@ export declare class createResourceDto {
|
|
|
611
702
|
export declare class archiveDto {
|
|
612
703
|
isArchive: boolean;
|
|
613
704
|
}
|
|
614
|
-
export declare class CreateUpdateVariantsDto {
|
|
615
|
-
organizationId: number;
|
|
616
|
-
parentProductId: number;
|
|
617
|
-
variantTitles: VariantTitleDto[];
|
|
618
|
-
variants: VariantDto[];
|
|
619
|
-
}
|
|
620
|
-
export declare class VariantTitleDto {
|
|
621
|
-
titleName: string;
|
|
622
|
-
titleId: number;
|
|
623
|
-
}
|
|
624
|
-
export declare class VariantDto {
|
|
625
|
-
name: string;
|
|
626
|
-
price: number;
|
|
627
|
-
variantId: number;
|
|
628
|
-
currency: CurrencyEnum;
|
|
629
|
-
startDate: Date;
|
|
630
|
-
endDate: Date;
|
|
631
|
-
}
|
|
632
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
633
706
|
programId: number;
|
|
634
707
|
}
|
|
@@ -816,50 +889,6 @@ export declare class MoveParticipantDto {
|
|
|
816
889
|
resourceId: number;
|
|
817
890
|
invoiceId: number;
|
|
818
891
|
}
|
|
819
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
820
|
-
organizationId: number;
|
|
821
|
-
programType?: ProgramTypesEnum;
|
|
822
|
-
}
|
|
823
|
-
export declare class FindProgramByIdDto {
|
|
824
|
-
programId: number;
|
|
825
|
-
}
|
|
826
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
827
|
-
programId: number;
|
|
828
|
-
organizationId: number;
|
|
829
|
-
}
|
|
830
|
-
export declare class BaseProgramDto {
|
|
831
|
-
type: ProgramTypesEnum;
|
|
832
|
-
name: string;
|
|
833
|
-
sport: SportsEnum;
|
|
834
|
-
minAge: string;
|
|
835
|
-
maxAge: string;
|
|
836
|
-
gender: GenderEnum;
|
|
837
|
-
level?: LevelOfPlayEnum[];
|
|
838
|
-
description?: string;
|
|
839
|
-
GL?: string;
|
|
840
|
-
status: PublishingStatusEnum;
|
|
841
|
-
organizationId: number;
|
|
842
|
-
userCreatorId: number;
|
|
843
|
-
highlights: ProgramHighlights[];
|
|
844
|
-
longDescription?: string;
|
|
845
|
-
requiredProductIds: number[];
|
|
846
|
-
}
|
|
847
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
848
|
-
}
|
|
849
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
850
|
-
programId: number;
|
|
851
|
-
mainMediaId: number;
|
|
852
|
-
}
|
|
853
|
-
export declare class UpdateProgramStatusDto {
|
|
854
|
-
programId: number;
|
|
855
|
-
status: PublishingStatusEnum;
|
|
856
|
-
}
|
|
857
|
-
export declare class ProgramHighlightDto {
|
|
858
|
-
data: string;
|
|
859
|
-
ordinal: number;
|
|
860
|
-
type: ProgramHighlightTypeEnum;
|
|
861
|
-
title: string;
|
|
862
|
-
}
|
|
863
892
|
export declare class PurchasePaymentDto {
|
|
864
893
|
token: string;
|
|
865
894
|
type: PaymentMethodTypeEnum;
|
|
@@ -941,6 +970,50 @@ export declare class CreateResourceGroupDto {
|
|
|
941
970
|
}
|
|
942
971
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
943
972
|
}
|
|
973
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
974
|
+
organizationId: number;
|
|
975
|
+
programType?: ProgramTypesEnum;
|
|
976
|
+
}
|
|
977
|
+
export declare class FindProgramByIdDto {
|
|
978
|
+
programId: number;
|
|
979
|
+
}
|
|
980
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
981
|
+
programId: number;
|
|
982
|
+
organizationId: number;
|
|
983
|
+
}
|
|
984
|
+
export declare class BaseProgramDto {
|
|
985
|
+
type: ProgramTypesEnum;
|
|
986
|
+
name: string;
|
|
987
|
+
sport: SportsEnum;
|
|
988
|
+
minAge: string;
|
|
989
|
+
maxAge: string;
|
|
990
|
+
gender: GenderEnum;
|
|
991
|
+
level?: LevelOfPlayEnum[];
|
|
992
|
+
description?: string;
|
|
993
|
+
GL?: string;
|
|
994
|
+
status: PublishingStatusEnum;
|
|
995
|
+
organizationId: number;
|
|
996
|
+
userCreatorId: number;
|
|
997
|
+
highlights: ProgramHighlights[];
|
|
998
|
+
longDescription?: string;
|
|
999
|
+
requiredProductIds: number[];
|
|
1000
|
+
}
|
|
1001
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1002
|
+
}
|
|
1003
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1004
|
+
programId: number;
|
|
1005
|
+
mainMediaId: number;
|
|
1006
|
+
}
|
|
1007
|
+
export declare class UpdateProgramStatusDto {
|
|
1008
|
+
programId: number;
|
|
1009
|
+
status: PublishingStatusEnum;
|
|
1010
|
+
}
|
|
1011
|
+
export declare class ProgramHighlightDto {
|
|
1012
|
+
data: string;
|
|
1013
|
+
ordinal: number;
|
|
1014
|
+
type: ProgramHighlightTypeEnum;
|
|
1015
|
+
title: string;
|
|
1016
|
+
}
|
|
944
1017
|
export declare class ResourceDto {
|
|
945
1018
|
type: ResourceNameTypeEnum;
|
|
946
1019
|
id: number;
|
|
@@ -1033,6 +1106,19 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1033
1106
|
proudct: Product;
|
|
1034
1107
|
event: Event;
|
|
1035
1108
|
}
|
|
1109
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1110
|
+
questionId: number;
|
|
1111
|
+
question?: Questions;
|
|
1112
|
+
parentId: number;
|
|
1113
|
+
parentType: ResourceNameTypeEnum;
|
|
1114
|
+
answerValue: any;
|
|
1115
|
+
creatorId: number;
|
|
1116
|
+
creatorType: ResourceNameTypeEnum;
|
|
1117
|
+
answerTitleId: number;
|
|
1118
|
+
answerTitle: AnswerTitle;
|
|
1119
|
+
metaData: any | null;
|
|
1120
|
+
questionText: string | null;
|
|
1121
|
+
}
|
|
1036
1122
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1037
1123
|
entityType: ResourceNameTypeEnum;
|
|
1038
1124
|
entityId: number;
|
|
@@ -1042,82 +1128,9 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1042
1128
|
performingUserId: number;
|
|
1043
1129
|
description: string;
|
|
1044
1130
|
actionType: ActionTypesEnum;
|
|
1045
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1046
|
-
oldValue?: any;
|
|
1047
|
-
newValue?: any;
|
|
1048
|
-
}
|
|
1049
|
-
export declare class FindByProgramSeasonIdDto {
|
|
1050
|
-
seasonId: number;
|
|
1051
|
-
}
|
|
1052
|
-
export declare class CreateBulkDivisionsDto {
|
|
1053
|
-
divisions: CreateDivisionDto[];
|
|
1054
|
-
}
|
|
1055
|
-
export declare class CreateDivisionDto {
|
|
1056
|
-
name: string;
|
|
1057
|
-
ordinal?: number;
|
|
1058
|
-
programSeasonId: number;
|
|
1059
|
-
color: string;
|
|
1060
|
-
isDefault: boolean;
|
|
1061
|
-
}
|
|
1062
|
-
export declare class CreateGroupDto {
|
|
1063
|
-
name: string;
|
|
1064
|
-
description?: string;
|
|
1065
|
-
status?: GroupStatusEnum;
|
|
1066
|
-
maxCapacity?: number;
|
|
1067
|
-
mainMediaId?: number;
|
|
1068
|
-
minAgeYears?: number;
|
|
1069
|
-
maxAgeYears?: number;
|
|
1070
|
-
gender: GenderEnum;
|
|
1071
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1072
|
-
sports: SportsEnum[];
|
|
1073
|
-
questionnaires?: number[];
|
|
1074
|
-
captainUserId?: number;
|
|
1075
|
-
divisionId?: number;
|
|
1076
|
-
}
|
|
1077
|
-
export declare class ConnectGroupToDivision {
|
|
1078
|
-
groupId: number;
|
|
1079
|
-
divisionId: number;
|
|
1080
|
-
prevDivisionId: number;
|
|
1081
|
-
}
|
|
1082
|
-
export declare class MoveUserInGroups {
|
|
1083
|
-
userId: number;
|
|
1084
|
-
groupId?: number;
|
|
1085
|
-
prevGroupId?: number;
|
|
1086
|
-
}
|
|
1087
|
-
export declare class SaveUserAsGroupCaptain {
|
|
1088
|
-
groupId: number;
|
|
1089
|
-
userId: number;
|
|
1090
|
-
}
|
|
1091
|
-
export declare class CreateTeamInviteDto {
|
|
1092
|
-
emails: string[];
|
|
1093
|
-
userCreatorId: number;
|
|
1094
|
-
}
|
|
1095
|
-
export declare class TeamByIdDto {
|
|
1096
|
-
teamId: number;
|
|
1097
|
-
}
|
|
1098
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
1099
|
-
inviteToken: string;
|
|
1100
|
-
}
|
|
1101
|
-
export declare class JoinTeamDto {
|
|
1102
|
-
userId: number;
|
|
1103
|
-
inviteToken?: string;
|
|
1104
|
-
}
|
|
1105
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
1106
|
-
userId: number;
|
|
1107
|
-
}
|
|
1108
|
-
export interface IMoveSeason {
|
|
1109
|
-
fromSeasonId: number;
|
|
1110
|
-
toSeasonId: number;
|
|
1111
|
-
}
|
|
1112
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
1113
|
-
teamId?: number;
|
|
1114
|
-
memberId?: number;
|
|
1115
|
-
fromSeasonId: number;
|
|
1116
|
-
toSeasonId: number;
|
|
1117
|
-
toDivisionId?: number;
|
|
1118
|
-
}
|
|
1119
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
1120
|
-
fileName: string;
|
|
1131
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1132
|
+
oldValue?: any;
|
|
1133
|
+
newValue?: any;
|
|
1121
1134
|
}
|
|
1122
1135
|
export declare class Address extends BondBaseEntity {
|
|
1123
1136
|
city?: string;
|
|
@@ -1130,19 +1143,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1130
1143
|
geo: any;
|
|
1131
1144
|
deletedAt?: Date;
|
|
1132
1145
|
}
|
|
1133
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1134
|
-
questionId: number;
|
|
1135
|
-
question?: Questions;
|
|
1136
|
-
parentId: number;
|
|
1137
|
-
parentType: ResourceNameTypeEnum;
|
|
1138
|
-
answerValue: any;
|
|
1139
|
-
creatorId: number;
|
|
1140
|
-
creatorType: ResourceNameTypeEnum;
|
|
1141
|
-
answerTitleId: number;
|
|
1142
|
-
answerTitle: AnswerTitle;
|
|
1143
|
-
metaData: any | null;
|
|
1144
|
-
questionText: string | null;
|
|
1145
|
-
}
|
|
1146
1146
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
1147
|
questionnaireId: number;
|
|
1148
1148
|
userId?: number;
|
|
@@ -1190,6 +1190,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1190
1190
|
publicNotes?: string;
|
|
1191
1191
|
slotType?: SlotTypeEnum;
|
|
1192
1192
|
}
|
|
1193
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1194
|
+
area: string;
|
|
1195
|
+
key: string;
|
|
1196
|
+
value: string;
|
|
1197
|
+
}
|
|
1193
1198
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1194
1199
|
parentId: number;
|
|
1195
1200
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1200,11 +1205,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1200
1205
|
endTimeInDay: string;
|
|
1201
1206
|
directBookingFor: DirectBookingTypesEnum;
|
|
1202
1207
|
}
|
|
1203
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1204
|
-
area: string;
|
|
1205
|
-
key: string;
|
|
1206
|
-
value: string;
|
|
1207
|
-
}
|
|
1208
1208
|
export declare class Connection extends BondBaseEntity {
|
|
1209
1209
|
connType: number | null;
|
|
1210
1210
|
from: number | null;
|
|
@@ -1292,6 +1292,21 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1292
1292
|
groupId: number;
|
|
1293
1293
|
terms: IEntitlementTerms[];
|
|
1294
1294
|
}
|
|
1295
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1296
|
+
status: RequestStatusEnum | null;
|
|
1297
|
+
hasPaid: boolean | null;
|
|
1298
|
+
paymentId: number | null;
|
|
1299
|
+
attendeeId: number;
|
|
1300
|
+
eventId?: number | null;
|
|
1301
|
+
productUserId?: number;
|
|
1302
|
+
answerTitleIds?: number[];
|
|
1303
|
+
entryStatus?: EntryStatusEnum;
|
|
1304
|
+
addonProductUserIds?: number[];
|
|
1305
|
+
deletedAt?: Date;
|
|
1306
|
+
attendee: User;
|
|
1307
|
+
event: Event;
|
|
1308
|
+
purchasedResource: PurchasedResource;
|
|
1309
|
+
}
|
|
1295
1310
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1296
1311
|
constructor();
|
|
1297
1312
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1378,28 +1393,24 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1378
1393
|
facilityId: number;
|
|
1379
1394
|
resourceId: number;
|
|
1380
1395
|
}
|
|
1381
|
-
export declare class
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
purchasedResource: PurchasedResource;
|
|
1396
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1397
|
+
userId: number;
|
|
1398
|
+
invoiceId: number;
|
|
1399
|
+
paymentMethodId: string;
|
|
1400
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1401
|
+
price: number;
|
|
1402
|
+
status: FutureInstallmentStatusEnum;
|
|
1403
|
+
plannedDate: Date;
|
|
1404
|
+
chargedAt?: Date;
|
|
1405
|
+
originalPlannedDate?: Date;
|
|
1406
|
+
}
|
|
1407
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
|
+
code: string;
|
|
1395
1409
|
}
|
|
1396
1410
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1397
1411
|
name: string | null;
|
|
1398
1412
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1399
1413
|
}
|
|
1400
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1401
|
-
code: string;
|
|
1402
|
-
}
|
|
1403
1414
|
export declare class Group extends BondBaseEntity {
|
|
1404
1415
|
name: string;
|
|
1405
1416
|
description?: string;
|
|
@@ -1429,17 +1440,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1429
1440
|
discountMethod?: DiscountMethodsEnum;
|
|
1430
1441
|
discountValue?: number;
|
|
1431
1442
|
}
|
|
1432
|
-
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1433
|
-
userId: number;
|
|
1434
|
-
invoiceId: number;
|
|
1435
|
-
paymentMethodId: string;
|
|
1436
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1437
|
-
price: number;
|
|
1438
|
-
status: FutureInstallmentStatusEnum;
|
|
1439
|
-
plannedDate: Date;
|
|
1440
|
-
chargedAt?: Date;
|
|
1441
|
-
originalPlannedDate?: Date;
|
|
1442
|
-
}
|
|
1443
1443
|
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1444
1444
|
groupId: number;
|
|
1445
1445
|
divisionId: number;
|
|
@@ -1721,6 +1721,17 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1721
1721
|
resourceId: number | null;
|
|
1722
1722
|
resourceType: string | null;
|
|
1723
1723
|
}
|
|
1724
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1725
|
+
id: number;
|
|
1726
|
+
dayOfWeek: number;
|
|
1727
|
+
open: string;
|
|
1728
|
+
close: string;
|
|
1729
|
+
facilityId: number;
|
|
1730
|
+
createdAt: Date;
|
|
1731
|
+
updatedAt: Date;
|
|
1732
|
+
deletedAt?: Date;
|
|
1733
|
+
facility: Facility;
|
|
1734
|
+
}
|
|
1724
1735
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1725
1736
|
organizationId: number;
|
|
1726
1737
|
}
|
|
@@ -1747,17 +1758,6 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1747
1758
|
validUntil: Date | null;
|
|
1748
1759
|
active: boolean | null;
|
|
1749
1760
|
}
|
|
1750
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1751
|
-
id: number;
|
|
1752
|
-
dayOfWeek: number;
|
|
1753
|
-
open: string;
|
|
1754
|
-
close: string;
|
|
1755
|
-
facilityId: number;
|
|
1756
|
-
createdAt: Date;
|
|
1757
|
-
updatedAt: Date;
|
|
1758
|
-
deletedAt?: Date;
|
|
1759
|
-
facility: Facility;
|
|
1760
|
-
}
|
|
1761
1761
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1762
1762
|
price: number;
|
|
1763
1763
|
paymentProcessorId: string;
|
|
@@ -2288,6 +2288,15 @@ export declare class Team extends BondBaseEntity {
|
|
|
2288
2288
|
gender: number | null;
|
|
2289
2289
|
questionnaireId: number | null;
|
|
2290
2290
|
}
|
|
2291
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2292
|
+
email: string;
|
|
2293
|
+
teamId: number;
|
|
2294
|
+
invitedUserId?: number;
|
|
2295
|
+
userCreatorId: number;
|
|
2296
|
+
token: string;
|
|
2297
|
+
tokenExpirationDate: Date;
|
|
2298
|
+
isUsed: boolean;
|
|
2299
|
+
}
|
|
2291
2300
|
export declare class TeamMember extends BondBaseEntity {
|
|
2292
2301
|
teamId: number | null;
|
|
2293
2302
|
userId: number | null;
|
|
@@ -2336,15 +2345,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2336
2345
|
invoiceNotes: InvoiceNote[];
|
|
2337
2346
|
paymentNotes: PaymentNote[];
|
|
2338
2347
|
}
|
|
2339
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2340
|
-
email: string;
|
|
2341
|
-
teamId: number;
|
|
2342
|
-
invitedUserId?: number;
|
|
2343
|
-
userCreatorId: number;
|
|
2344
|
-
token: string;
|
|
2345
|
-
tokenExpirationDate: Date;
|
|
2346
|
-
isUsed: boolean;
|
|
2347
|
-
}
|
|
2348
2348
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2349
2349
|
entityId: number | null;
|
|
2350
2350
|
userId: number | null;
|
|
@@ -3295,6 +3295,20 @@ export declare class ColumnNumericTransformer {
|
|
|
3295
3295
|
from(data: string): number;
|
|
3296
3296
|
}
|
|
3297
3297
|
export declare function convertToNumber(data: string): number;
|
|
3298
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3299
|
+
name?: string;
|
|
3300
|
+
genderStr?: string;
|
|
3301
|
+
parentID?: string;
|
|
3302
|
+
partnerID?: string;
|
|
3303
|
+
membershipName?: string;
|
|
3304
|
+
membershipExpDate?: string;
|
|
3305
|
+
membershipCreationDate?: string;
|
|
3306
|
+
bondMembershipID?: number;
|
|
3307
|
+
}
|
|
3308
|
+
export declare class AddFamilyDto {
|
|
3309
|
+
parents: AddImportedCustomerDto[];
|
|
3310
|
+
children: AddImportedCustomerDto[];
|
|
3311
|
+
}
|
|
3298
3312
|
export declare enum ImportPaymentTypeEnum {
|
|
3299
3313
|
CREDIT_CARD = "card",
|
|
3300
3314
|
ACH = "ach",
|
|
@@ -3422,20 +3436,41 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3422
3436
|
createdAt: Date;
|
|
3423
3437
|
updatedAt: Date;
|
|
3424
3438
|
}
|
|
3425
|
-
export declare class
|
|
3439
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3440
|
+
seasonId: number;
|
|
3441
|
+
ordinal?: number;
|
|
3442
|
+
divisionId?: number;
|
|
3426
3443
|
name: string;
|
|
3427
|
-
locked?: Date;
|
|
3428
3444
|
}
|
|
3429
3445
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3430
3446
|
teamId: number | null;
|
|
3431
3447
|
eventId: number | null;
|
|
3432
3448
|
status: number | null;
|
|
3433
3449
|
}
|
|
3434
|
-
export declare class
|
|
3435
|
-
seasonId: number;
|
|
3436
|
-
ordinal?: number;
|
|
3437
|
-
divisionId?: number;
|
|
3450
|
+
export declare class Lock extends BondBaseEntity {
|
|
3438
3451
|
name: string;
|
|
3452
|
+
locked?: Date;
|
|
3453
|
+
}
|
|
3454
|
+
export interface ValidatedMonthAndDay {
|
|
3455
|
+
valid: boolean;
|
|
3456
|
+
month?: number;
|
|
3457
|
+
day?: number;
|
|
3458
|
+
}
|
|
3459
|
+
export interface ValidationReason {
|
|
3460
|
+
valid: boolean;
|
|
3461
|
+
reason?: string;
|
|
3462
|
+
}
|
|
3463
|
+
export interface PaymentStatus {
|
|
3464
|
+
parentId: number;
|
|
3465
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3466
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3467
|
+
id?: number;
|
|
3468
|
+
}
|
|
3469
|
+
export interface PaymentStatusesDict {
|
|
3470
|
+
[id: number]: PaymentStatus[];
|
|
3471
|
+
}
|
|
3472
|
+
export interface PaymentStatusDict {
|
|
3473
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3439
3474
|
}
|
|
3440
3475
|
export declare class CreateMonitorConfigDto {
|
|
3441
3476
|
facilityId: number;
|
|
@@ -3443,6 +3478,11 @@ export declare class CreateMonitorConfigDto {
|
|
|
3443
3478
|
code: string;
|
|
3444
3479
|
config: any;
|
|
3445
3480
|
}
|
|
3481
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3482
|
+
facilityId: number;
|
|
3483
|
+
code: string;
|
|
3484
|
+
config?: any;
|
|
3485
|
+
}
|
|
3446
3486
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3447
3487
|
userId: number;
|
|
3448
3488
|
organizationId: number;
|
|
@@ -3450,11 +3490,6 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3450
3490
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3451
3491
|
destination: string;
|
|
3452
3492
|
}
|
|
3453
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3454
|
-
facilityId: number;
|
|
3455
|
-
code: string;
|
|
3456
|
-
config?: any;
|
|
3457
|
-
}
|
|
3458
3493
|
export declare class ByOrganizationIdDto {
|
|
3459
3494
|
organizationId: number;
|
|
3460
3495
|
}
|
|
@@ -3552,27 +3587,6 @@ export interface Duration {
|
|
|
3552
3587
|
startDate: string;
|
|
3553
3588
|
endDate: string;
|
|
3554
3589
|
}
|
|
3555
|
-
export interface ValidatedMonthAndDay {
|
|
3556
|
-
valid: boolean;
|
|
3557
|
-
month?: number;
|
|
3558
|
-
day?: number;
|
|
3559
|
-
}
|
|
3560
|
-
export interface ValidationReason {
|
|
3561
|
-
valid: boolean;
|
|
3562
|
-
reason?: string;
|
|
3563
|
-
}
|
|
3564
|
-
export interface PaymentStatus {
|
|
3565
|
-
parentId: number;
|
|
3566
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3567
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3568
|
-
id?: number;
|
|
3569
|
-
}
|
|
3570
|
-
export interface PaymentStatusesDict {
|
|
3571
|
-
[id: number]: PaymentStatus[];
|
|
3572
|
-
}
|
|
3573
|
-
export interface PaymentStatusDict {
|
|
3574
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3575
|
-
}
|
|
3576
3590
|
export declare class CustomerIdDto {
|
|
3577
3591
|
customerId: number;
|
|
3578
3592
|
}
|
|
@@ -3756,6 +3770,24 @@ export interface ExtendedLineItems {
|
|
|
3756
3770
|
products: LineItems[];
|
|
3757
3771
|
events: LineItems[];
|
|
3758
3772
|
}
|
|
3773
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3774
|
+
id?: number;
|
|
3775
|
+
}
|
|
3776
|
+
export declare class AddAddonsDto {
|
|
3777
|
+
addons: AddonDto[];
|
|
3778
|
+
}
|
|
3779
|
+
export declare class EditAddonsDto {
|
|
3780
|
+
addons: EditAddonDto[];
|
|
3781
|
+
}
|
|
3782
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3783
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3784
|
+
}
|
|
3785
|
+
export declare class EditAddonDto {
|
|
3786
|
+
id: number;
|
|
3787
|
+
quantity: number;
|
|
3788
|
+
totalPrice: number;
|
|
3789
|
+
unitPrice?: number;
|
|
3790
|
+
}
|
|
3759
3791
|
export declare class InvoiceDto {
|
|
3760
3792
|
invoiceId?: string | null;
|
|
3761
3793
|
organizationId: number;
|
|
@@ -3838,24 +3870,6 @@ export declare class PurchasedResourceDto {
|
|
|
3838
3870
|
endDate?: string;
|
|
3839
3871
|
endTime?: string;
|
|
3840
3872
|
}
|
|
3841
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
3842
|
-
id?: number;
|
|
3843
|
-
}
|
|
3844
|
-
export declare class AddAddonsDto {
|
|
3845
|
-
addons: AddonDto[];
|
|
3846
|
-
}
|
|
3847
|
-
export declare class EditAddonsDto {
|
|
3848
|
-
addons: EditAddonDto[];
|
|
3849
|
-
}
|
|
3850
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3851
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3852
|
-
}
|
|
3853
|
-
export declare class EditAddonDto {
|
|
3854
|
-
id: number;
|
|
3855
|
-
quantity: number;
|
|
3856
|
-
totalPrice: number;
|
|
3857
|
-
unitPrice?: number;
|
|
3858
|
-
}
|
|
3859
3873
|
export declare class ReservationDto {
|
|
3860
3874
|
id?: number;
|
|
3861
3875
|
organizationId?: number;
|
|
@@ -4543,19 +4557,9 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4543
4557
|
export declare class CreateRoleDto {
|
|
4544
4558
|
name: string;
|
|
4545
4559
|
}
|
|
4546
|
-
export declare class
|
|
4547
|
-
name
|
|
4548
|
-
|
|
4549
|
-
parentID?: string;
|
|
4550
|
-
partnerID?: string;
|
|
4551
|
-
membershipName?: string;
|
|
4552
|
-
membershipExpDate?: string;
|
|
4553
|
-
membershipCreationDate?: string;
|
|
4554
|
-
bondMembershipID?: number;
|
|
4555
|
-
}
|
|
4556
|
-
export declare class AddFamilyDto {
|
|
4557
|
-
parents: AddImportedCustomerDto[];
|
|
4558
|
-
children: AddImportedCustomerDto[];
|
|
4560
|
+
export declare class Permission extends BondBaseEntity {
|
|
4561
|
+
name: string;
|
|
4562
|
+
deletedAt?: Date;
|
|
4559
4563
|
}
|
|
4560
4564
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4561
4565
|
name: string;
|
|
@@ -4563,10 +4567,6 @@ export declare class Role extends OrganizationConnectionBaseEntity {
|
|
|
4563
4567
|
permissions: Permission[];
|
|
4564
4568
|
usersRoles: UserRole[];
|
|
4565
4569
|
}
|
|
4566
|
-
export declare class Permission extends BondBaseEntity {
|
|
4567
|
-
name: string;
|
|
4568
|
-
deletedAt?: Date;
|
|
4569
|
-
}
|
|
4570
4570
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4571
4571
|
deletedAt?: Date;
|
|
4572
4572
|
userId: number;
|