@bondsports/types 0.0.118 → 0.0.119
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 +1128 -1115
- 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
|
@@ -27,12 +27,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
-
export declare enum EConfigurationKeys {
|
|
31
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
-
}
|
|
33
|
-
export declare enum EFailedPaymentReasons {
|
|
34
|
-
CARD_BLOCKED = "card_blocked_by_bond"
|
|
35
|
-
}
|
|
36
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
37
31
|
membershipId: number;
|
|
38
32
|
}
|
|
@@ -281,6 +275,12 @@ export declare class PaginationRangeQuery {
|
|
|
281
275
|
endPage: number;
|
|
282
276
|
itemsPerPage: number;
|
|
283
277
|
}
|
|
278
|
+
export declare enum EConfigurationKeys {
|
|
279
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
280
|
+
}
|
|
281
|
+
export declare enum EFailedPaymentReasons {
|
|
282
|
+
CARD_BLOCKED = "card_blocked_by_bond"
|
|
283
|
+
}
|
|
284
284
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
285
285
|
organizationId: number;
|
|
286
286
|
}
|
|
@@ -364,62 +364,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
364
364
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
365
|
fileName: string;
|
|
366
366
|
}
|
|
367
|
-
export declare class CreateMembershipDto {
|
|
368
|
-
organizationId: number;
|
|
369
|
-
name: string;
|
|
370
|
-
description?: string;
|
|
371
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
372
|
-
activity: SportsEnum;
|
|
373
|
-
facilityId: number;
|
|
374
|
-
questionnaires: number[];
|
|
375
|
-
minAgeYears: number;
|
|
376
|
-
maxAgeYears: number;
|
|
377
|
-
gender: GenderEnum;
|
|
378
|
-
maxMembers?: number;
|
|
379
|
-
maxMaleMembers?: number;
|
|
380
|
-
maxFemaleMembers?: number;
|
|
381
|
-
startDate: string;
|
|
382
|
-
endDate: string;
|
|
383
|
-
registrationStartDate?: Date;
|
|
384
|
-
registrationEndDate?: Date;
|
|
385
|
-
membershipType: MembershipTypeEnum;
|
|
386
|
-
durationMonths: number;
|
|
387
|
-
longDescription?: string;
|
|
388
|
-
isAutoRenew?: boolean;
|
|
389
|
-
}
|
|
390
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
391
|
-
id: number;
|
|
392
|
-
}
|
|
393
|
-
export declare class UpdateMembershipMediaDto {
|
|
394
|
-
membershipId: number;
|
|
395
|
-
mediaId: number;
|
|
396
|
-
}
|
|
397
|
-
export declare class FindMembershipByIdDto {
|
|
398
|
-
membershipId: number;
|
|
399
|
-
}
|
|
400
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
401
|
-
organizationId: number;
|
|
402
|
-
}
|
|
403
|
-
export declare class FindMembershipsByUserIdDto {
|
|
404
|
-
userId: number;
|
|
405
|
-
}
|
|
406
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
407
|
-
startDate: string;
|
|
408
|
-
}
|
|
409
|
-
export declare class MembershipIdsDto {
|
|
410
|
-
membershipIds?: number[];
|
|
411
|
-
}
|
|
412
|
-
export declare class MemberIdDto {
|
|
413
|
-
memberId?: number;
|
|
414
|
-
}
|
|
415
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
416
|
-
nameEmailSearch?: string;
|
|
417
|
-
pastMemberships?: string;
|
|
418
|
-
}
|
|
419
|
-
export declare class CancelMembershipDto {
|
|
420
|
-
isImmediatelyCancel: boolean;
|
|
421
|
-
cancellationReason?: string;
|
|
422
|
-
}
|
|
423
367
|
export declare class CreateEntitlementTermsDto {
|
|
424
368
|
organizationId: number;
|
|
425
369
|
entitlementGroupId: number;
|
|
@@ -683,6 +627,62 @@ export declare class createResourceDto {
|
|
|
683
627
|
export declare class archiveDto {
|
|
684
628
|
isArchive: boolean;
|
|
685
629
|
}
|
|
630
|
+
export declare class CreateMembershipDto {
|
|
631
|
+
organizationId: number;
|
|
632
|
+
name: string;
|
|
633
|
+
description?: string;
|
|
634
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
635
|
+
activity: SportsEnum;
|
|
636
|
+
facilityId: number;
|
|
637
|
+
questionnaires: number[];
|
|
638
|
+
minAgeYears: number;
|
|
639
|
+
maxAgeYears: number;
|
|
640
|
+
gender: GenderEnum;
|
|
641
|
+
maxMembers?: number;
|
|
642
|
+
maxMaleMembers?: number;
|
|
643
|
+
maxFemaleMembers?: number;
|
|
644
|
+
startDate: string;
|
|
645
|
+
endDate: string;
|
|
646
|
+
registrationStartDate?: Date;
|
|
647
|
+
registrationEndDate?: Date;
|
|
648
|
+
membershipType: MembershipTypeEnum;
|
|
649
|
+
durationMonths: number;
|
|
650
|
+
longDescription?: string;
|
|
651
|
+
isAutoRenew?: boolean;
|
|
652
|
+
}
|
|
653
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
654
|
+
id: number;
|
|
655
|
+
}
|
|
656
|
+
export declare class UpdateMembershipMediaDto {
|
|
657
|
+
membershipId: number;
|
|
658
|
+
mediaId: number;
|
|
659
|
+
}
|
|
660
|
+
export declare class FindMembershipByIdDto {
|
|
661
|
+
membershipId: number;
|
|
662
|
+
}
|
|
663
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
664
|
+
organizationId: number;
|
|
665
|
+
}
|
|
666
|
+
export declare class FindMembershipsByUserIdDto {
|
|
667
|
+
userId: number;
|
|
668
|
+
}
|
|
669
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
670
|
+
startDate: string;
|
|
671
|
+
}
|
|
672
|
+
export declare class MembershipIdsDto {
|
|
673
|
+
membershipIds?: number[];
|
|
674
|
+
}
|
|
675
|
+
export declare class MemberIdDto {
|
|
676
|
+
memberId?: number;
|
|
677
|
+
}
|
|
678
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
679
|
+
nameEmailSearch?: string;
|
|
680
|
+
pastMemberships?: string;
|
|
681
|
+
}
|
|
682
|
+
export declare class CancelMembershipDto {
|
|
683
|
+
isImmediatelyCancel: boolean;
|
|
684
|
+
cancellationReason?: string;
|
|
685
|
+
}
|
|
686
686
|
export declare class CreateUpdateVariantsDto {
|
|
687
687
|
organizationId: number;
|
|
688
688
|
parentProductId: number;
|
|
@@ -701,50 +701,6 @@ export declare class VariantDto {
|
|
|
701
701
|
startDate: Date;
|
|
702
702
|
endDate: Date;
|
|
703
703
|
}
|
|
704
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
705
|
-
organizationId: number;
|
|
706
|
-
programType?: ProgramTypesEnum;
|
|
707
|
-
}
|
|
708
|
-
export declare class FindProgramByIdDto {
|
|
709
|
-
programId: number;
|
|
710
|
-
}
|
|
711
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
712
|
-
programId: number;
|
|
713
|
-
organizationId: number;
|
|
714
|
-
}
|
|
715
|
-
export declare class BaseProgramDto {
|
|
716
|
-
type: ProgramTypesEnum;
|
|
717
|
-
name: string;
|
|
718
|
-
sport: SportsEnum;
|
|
719
|
-
minAge: string;
|
|
720
|
-
maxAge: string;
|
|
721
|
-
gender: GenderEnum;
|
|
722
|
-
level?: LevelOfPlayEnum[];
|
|
723
|
-
description?: string;
|
|
724
|
-
GL?: string;
|
|
725
|
-
status: PublishingStatusEnum;
|
|
726
|
-
organizationId: number;
|
|
727
|
-
userCreatorId: number;
|
|
728
|
-
highlights: ProgramHighlights[];
|
|
729
|
-
longDescription?: string;
|
|
730
|
-
requiredProductIds: number[];
|
|
731
|
-
}
|
|
732
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
733
|
-
}
|
|
734
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
735
|
-
programId: number;
|
|
736
|
-
mainMediaId: number;
|
|
737
|
-
}
|
|
738
|
-
export declare class UpdateProgramStatusDto {
|
|
739
|
-
programId: number;
|
|
740
|
-
status: PublishingStatusEnum;
|
|
741
|
-
}
|
|
742
|
-
export declare class ProgramHighlightDto {
|
|
743
|
-
data: string;
|
|
744
|
-
ordinal: number;
|
|
745
|
-
type: ProgramHighlightTypeEnum;
|
|
746
|
-
title: string;
|
|
747
|
-
}
|
|
748
704
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
749
705
|
programId: number;
|
|
750
706
|
}
|
|
@@ -932,6 +888,62 @@ export declare class MoveParticipantDto {
|
|
|
932
888
|
resourceId: number;
|
|
933
889
|
invoiceId: number;
|
|
934
890
|
}
|
|
891
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
892
|
+
organizationId: number;
|
|
893
|
+
programType?: ProgramTypesEnum;
|
|
894
|
+
}
|
|
895
|
+
export declare class FindProgramByIdDto {
|
|
896
|
+
programId: number;
|
|
897
|
+
}
|
|
898
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
899
|
+
programId: number;
|
|
900
|
+
organizationId: number;
|
|
901
|
+
}
|
|
902
|
+
export declare class BaseProgramDto {
|
|
903
|
+
type: ProgramTypesEnum;
|
|
904
|
+
name: string;
|
|
905
|
+
sport: SportsEnum;
|
|
906
|
+
minAge: string;
|
|
907
|
+
maxAge: string;
|
|
908
|
+
gender: GenderEnum;
|
|
909
|
+
level?: LevelOfPlayEnum[];
|
|
910
|
+
description?: string;
|
|
911
|
+
GL?: string;
|
|
912
|
+
status: PublishingStatusEnum;
|
|
913
|
+
organizationId: number;
|
|
914
|
+
userCreatorId: number;
|
|
915
|
+
highlights: ProgramHighlights[];
|
|
916
|
+
longDescription?: string;
|
|
917
|
+
requiredProductIds: number[];
|
|
918
|
+
}
|
|
919
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
920
|
+
}
|
|
921
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
922
|
+
programId: number;
|
|
923
|
+
mainMediaId: number;
|
|
924
|
+
}
|
|
925
|
+
export declare class UpdateProgramStatusDto {
|
|
926
|
+
programId: number;
|
|
927
|
+
status: PublishingStatusEnum;
|
|
928
|
+
}
|
|
929
|
+
export declare class ProgramHighlightDto {
|
|
930
|
+
data: string;
|
|
931
|
+
ordinal: number;
|
|
932
|
+
type: ProgramHighlightTypeEnum;
|
|
933
|
+
title: string;
|
|
934
|
+
}
|
|
935
|
+
export declare class CreateResourceGroupDto {
|
|
936
|
+
name: string;
|
|
937
|
+
parentSlotId: number;
|
|
938
|
+
facilityId: number;
|
|
939
|
+
childrenSlotIds: number[];
|
|
940
|
+
}
|
|
941
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
942
|
+
}
|
|
943
|
+
export declare class ResourceDto {
|
|
944
|
+
type: ResourceNameTypeEnum;
|
|
945
|
+
id: number;
|
|
946
|
+
}
|
|
935
947
|
export declare class PurchasePaymentDto {
|
|
936
948
|
token: string;
|
|
937
949
|
type: PaymentMethodTypeEnum;
|
|
@@ -1005,18 +1017,6 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1005
1017
|
paymentMethodData: any;
|
|
1006
1018
|
platform?: PlatformsEnum;
|
|
1007
1019
|
}
|
|
1008
|
-
export declare class CreateResourceGroupDto {
|
|
1009
|
-
name: string;
|
|
1010
|
-
parentSlotId: number;
|
|
1011
|
-
facilityId: number;
|
|
1012
|
-
childrenSlotIds: number[];
|
|
1013
|
-
}
|
|
1014
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1015
|
-
}
|
|
1016
|
-
export declare class ResourceDto {
|
|
1017
|
-
type: ResourceNameTypeEnum;
|
|
1018
|
-
id: number;
|
|
1019
|
-
}
|
|
1020
1020
|
export declare class SpaceByIdDto {
|
|
1021
1021
|
spaceId: number;
|
|
1022
1022
|
}
|
|
@@ -1073,15 +1073,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1073
1073
|
types?: string;
|
|
1074
1074
|
resourcesIds?: string;
|
|
1075
1075
|
}
|
|
1076
|
-
export declare class FindByUserIdDto {
|
|
1077
|
-
userId: number;
|
|
1078
|
-
}
|
|
1079
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1080
|
-
familyAccountId?: number;
|
|
1081
|
-
}
|
|
1082
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1083
|
-
organizationId: number;
|
|
1084
|
-
}
|
|
1085
1076
|
export declare class StripeCustomerIdDto {
|
|
1086
1077
|
userId: number;
|
|
1087
1078
|
}
|
|
@@ -1092,18 +1083,14 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1092
1083
|
publicToken: string;
|
|
1093
1084
|
accountId: string;
|
|
1094
1085
|
}
|
|
1095
|
-
export declare class
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
actionType: ActionTypesEnum;
|
|
1104
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1105
|
-
oldValue?: any;
|
|
1106
|
-
newValue?: any;
|
|
1086
|
+
export declare class FindByUserIdDto {
|
|
1087
|
+
userId: number;
|
|
1088
|
+
}
|
|
1089
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1090
|
+
familyAccountId?: number;
|
|
1091
|
+
}
|
|
1092
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1093
|
+
organizationId: number;
|
|
1107
1094
|
}
|
|
1108
1095
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1109
1096
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1129,11 +1116,18 @@ export declare class Address extends BondBaseEntity {
|
|
|
1129
1116
|
geo: any;
|
|
1130
1117
|
deletedAt?: Date;
|
|
1131
1118
|
}
|
|
1132
|
-
export declare class
|
|
1133
|
-
|
|
1119
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1120
|
+
entityType: ResourceNameTypeEnum;
|
|
1121
|
+
entityId: number;
|
|
1122
|
+
organizationId?: number;
|
|
1134
1123
|
userId?: number;
|
|
1135
|
-
|
|
1136
|
-
|
|
1124
|
+
customerId?: number;
|
|
1125
|
+
performingUserId: number;
|
|
1126
|
+
description: string;
|
|
1127
|
+
actionType: ActionTypesEnum;
|
|
1128
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1129
|
+
oldValue?: any;
|
|
1130
|
+
newValue?: any;
|
|
1137
1131
|
}
|
|
1138
1132
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1139
1133
|
questionId: number;
|
|
@@ -1153,11 +1147,22 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1153
1147
|
metadata: object | null;
|
|
1154
1148
|
athleteSports: AthleteSports[];
|
|
1155
1149
|
}
|
|
1150
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1151
|
+
questionnaireId: number;
|
|
1152
|
+
userId?: number;
|
|
1153
|
+
answers: Answer[];
|
|
1154
|
+
questionnaire: Questionnaires;
|
|
1155
|
+
}
|
|
1156
1156
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1157
1157
|
athleteId: number | null;
|
|
1158
1158
|
sports: number | null;
|
|
1159
1159
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1160
1160
|
}
|
|
1161
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1162
|
+
id: number;
|
|
1163
|
+
createdAt: Date;
|
|
1164
|
+
updatedAt: Date;
|
|
1165
|
+
}
|
|
1161
1166
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1162
1167
|
entityType: ResourceNameTypeEnum;
|
|
1163
1168
|
entityId: number;
|
|
@@ -1166,11 +1171,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1166
1171
|
endDate: Date;
|
|
1167
1172
|
deletedAt?: Date;
|
|
1168
1173
|
}
|
|
1169
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1170
|
-
id: number;
|
|
1171
|
-
createdAt: Date;
|
|
1172
|
-
updatedAt: Date;
|
|
1173
|
-
}
|
|
1174
1174
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1175
1175
|
reservationId?: number;
|
|
1176
1176
|
color?: string;
|
|
@@ -1189,16 +1189,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1189
1189
|
publicNotes?: string;
|
|
1190
1190
|
slotType?: SlotTypeEnum;
|
|
1191
1191
|
}
|
|
1192
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1193
|
-
parentId: number;
|
|
1194
|
-
parentType: ResourceNameTypeEnum;
|
|
1195
|
-
startDate: Date;
|
|
1196
|
-
endDate: Date;
|
|
1197
|
-
dayOfWeek: number;
|
|
1198
|
-
startTimeInDay: string;
|
|
1199
|
-
endTimeInDay: string;
|
|
1200
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1201
|
-
}
|
|
1202
1192
|
export declare class Configuration extends BondBaseEntity {
|
|
1203
1193
|
area: string;
|
|
1204
1194
|
key: string;
|
|
@@ -1216,6 +1206,16 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1216
1206
|
userCreatorId: number | null;
|
|
1217
1207
|
ownerId: number | null;
|
|
1218
1208
|
}
|
|
1209
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1210
|
+
parentId: number;
|
|
1211
|
+
parentType: ResourceNameTypeEnum;
|
|
1212
|
+
startDate: Date;
|
|
1213
|
+
endDate: Date;
|
|
1214
|
+
dayOfWeek: number;
|
|
1215
|
+
startTimeInDay: string;
|
|
1216
|
+
endTimeInDay: string;
|
|
1217
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1218
|
+
}
|
|
1219
1219
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1220
1220
|
creditAmount: number;
|
|
1221
1221
|
paymentProcessorId: string;
|
|
@@ -2305,6 +2305,12 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2305
2305
|
role: TeamMemberRoleEnum;
|
|
2306
2306
|
user: User;
|
|
2307
2307
|
}
|
|
2308
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2309
|
+
entityId: number | null;
|
|
2310
|
+
userId: number | null;
|
|
2311
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2312
|
+
user: User;
|
|
2313
|
+
}
|
|
2308
2314
|
export declare class User extends BondBaseEntity {
|
|
2309
2315
|
firstName: string | null;
|
|
2310
2316
|
lastName: string | null;
|
|
@@ -2344,12 +2350,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2344
2350
|
invoiceNotes: InvoiceNote[];
|
|
2345
2351
|
paymentNotes: PaymentNote[];
|
|
2346
2352
|
}
|
|
2347
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2348
|
-
entityId: number | null;
|
|
2349
|
-
userId: number | null;
|
|
2350
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2351
|
-
user: User;
|
|
2352
|
-
}
|
|
2353
2353
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2354
2354
|
familyAccountId: number;
|
|
2355
2355
|
userId: number;
|
|
@@ -2389,902 +2389,950 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2389
2389
|
membershipCollectionId?: string;
|
|
2390
2390
|
programsCollectionId?: string;
|
|
2391
2391
|
}
|
|
2392
|
-
export
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
minValue?: string;
|
|
2397
|
-
maxValue?: string;
|
|
2398
|
-
}
|
|
2399
|
-
export interface IQuestionAnswerObject {
|
|
2400
|
-
questionId: number;
|
|
2401
|
-
value: string;
|
|
2392
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2393
|
+
QUESTION = "question",
|
|
2394
|
+
CITY = "city",
|
|
2395
|
+
MEMBERSHIP = "membership"
|
|
2402
2396
|
}
|
|
2403
|
-
export
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2397
|
+
export declare enum ResourceNameTypeEnum {
|
|
2398
|
+
EVENT = "event",
|
|
2399
|
+
VENUE = "venue",
|
|
2400
|
+
TEAM = "team",
|
|
2401
|
+
LEAGUE = "league",
|
|
2402
|
+
USER = "user",
|
|
2403
|
+
ORGANIZATION = "organization",
|
|
2404
|
+
APP = "app",
|
|
2405
|
+
FEED = "feed",
|
|
2406
|
+
MATCH = "match",
|
|
2407
|
+
ROUND = "round",
|
|
2408
|
+
PORTAL = "portal",
|
|
2409
|
+
SEASON = "season",
|
|
2410
|
+
TOURNAMENT = "tournament",
|
|
2411
|
+
MEMBERSHIP = "membership",
|
|
2412
|
+
DIVISION = "division",
|
|
2413
|
+
GAMESLOT = "gameslot",
|
|
2414
|
+
SPACE = "space",
|
|
2415
|
+
RESERVATION = "reservation",
|
|
2416
|
+
INVOICE = "invoice",
|
|
2417
|
+
CUSTOMER = "customer",
|
|
2418
|
+
PACKAGE = "package",
|
|
2419
|
+
FACILITY = "facility",
|
|
2420
|
+
PROGRAM = "program",
|
|
2421
|
+
PROGRAM_SEASON = "program_season",
|
|
2422
|
+
PRODUCT = "product",
|
|
2423
|
+
GROUP = "group",
|
|
2424
|
+
VARIANT = "variant",
|
|
2425
|
+
SLOT = "slot",
|
|
2426
|
+
ADDON = "addon"
|
|
2410
2427
|
}
|
|
2411
|
-
export
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
resources?: any[];
|
|
2428
|
+
export declare enum DirectBookingTypesEnum {
|
|
2429
|
+
DIRECT_FOR_ALL = "all",
|
|
2430
|
+
DIRECT_FOR_NONE = "none",
|
|
2431
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2432
|
+
NO_SETTING = "no_setting"
|
|
2417
2433
|
}
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
|
|
2434
|
+
export declare enum GenderEnum {
|
|
2435
|
+
OTHER = 1,
|
|
2436
|
+
MALE = 2,
|
|
2437
|
+
FEMALE = 3
|
|
2421
2438
|
}
|
|
2422
|
-
export
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2439
|
+
export declare enum LevelOfPlayEnum {
|
|
2440
|
+
BEGINNER = 1,
|
|
2441
|
+
INTERMEDIATE = 2,
|
|
2442
|
+
ADVANCED = 3,
|
|
2443
|
+
SEMIPRO = 4,
|
|
2444
|
+
SPECTATOR = 5
|
|
2426
2445
|
}
|
|
2427
|
-
export
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2446
|
+
export declare enum ProgramTypesEnum {
|
|
2447
|
+
LEAGUE = 0,
|
|
2448
|
+
TOURNAMENT = 1,
|
|
2449
|
+
CLASS = 2,
|
|
2450
|
+
CLINIC = 3,
|
|
2451
|
+
CAMP = 4,
|
|
2452
|
+
LESSON = 5,
|
|
2453
|
+
CLUB_TEAM = 6
|
|
2434
2454
|
}
|
|
2435
|
-
export
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
userGender: number;
|
|
2440
|
-
userBirthDate: Date;
|
|
2441
|
-
userProfilePicUrl: string;
|
|
2442
|
-
customerId: number;
|
|
2443
|
-
customerEmail: string;
|
|
2444
|
-
paymentStatus: string;
|
|
2445
|
-
productName: string;
|
|
2446
|
-
punchCard: boolean;
|
|
2455
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2456
|
+
ROUND_ROBIN = 1,
|
|
2457
|
+
BRACKETS = 2,
|
|
2458
|
+
CAMP_CLINIC_CLASS = 3
|
|
2447
2459
|
}
|
|
2448
|
-
export declare
|
|
2449
|
-
|
|
2450
|
-
|
|
2460
|
+
export declare enum SportsEnum {
|
|
2461
|
+
SOFTBALL = 1,
|
|
2462
|
+
BASKETBALL = 2,
|
|
2463
|
+
FOOTBALL = 3,
|
|
2464
|
+
SOCCER = 4,
|
|
2465
|
+
BOWLING = 5,
|
|
2466
|
+
BOCCEBALL = 6,
|
|
2467
|
+
CORNHOLE = 7,
|
|
2468
|
+
DODGEBALL = 8,
|
|
2469
|
+
FRISBEE = 9,
|
|
2470
|
+
HOCKEY = 10,
|
|
2471
|
+
KICKBALL = 11,
|
|
2472
|
+
LACROSSE = 12,
|
|
2473
|
+
PINGPONG = 13,
|
|
2474
|
+
RUGBY = 14,
|
|
2475
|
+
SKEEBALL = 15,
|
|
2476
|
+
TENNIS = 16,
|
|
2477
|
+
VOLLEYBALL = 17,
|
|
2478
|
+
WIFFLEBALL = 18,
|
|
2479
|
+
BADMINTON = 19,
|
|
2480
|
+
FITNESS = 20,
|
|
2481
|
+
GOLF = 21,
|
|
2482
|
+
PILATES = 22,
|
|
2483
|
+
RUNNING = 23,
|
|
2484
|
+
SKIING = 24,
|
|
2485
|
+
SNOWBOARDING = 25,
|
|
2486
|
+
YOGA = 26,
|
|
2487
|
+
BROOMBALL = 27,
|
|
2488
|
+
CRICKET = 28,
|
|
2489
|
+
CROSSFIT = 29,
|
|
2490
|
+
CYCLING = 30,
|
|
2491
|
+
FIELD_HOCKEY = 31,
|
|
2492
|
+
RACQUETBALL = 32,
|
|
2493
|
+
SPINNING = 33,
|
|
2494
|
+
SQUASH = 34,
|
|
2495
|
+
SURFING = 35,
|
|
2496
|
+
SWIMMING = 36,
|
|
2497
|
+
WIND_SURFING = 37,
|
|
2498
|
+
ADVENTURE = 38,
|
|
2499
|
+
BOXING = 39,
|
|
2500
|
+
BASEBALL = 40,
|
|
2501
|
+
DANCE = 41,
|
|
2502
|
+
KICKBOXING = 42,
|
|
2503
|
+
MARTIAL_ARTS = 43,
|
|
2504
|
+
OUTDOORS = 44,
|
|
2505
|
+
ROWING = 45,
|
|
2506
|
+
SAILING = 46,
|
|
2507
|
+
SUP = 47,
|
|
2508
|
+
TRIATHLON = 48,
|
|
2509
|
+
HANDBALL = 49,
|
|
2510
|
+
CATCHBALL = 50,
|
|
2511
|
+
BLITZBALL = 51,
|
|
2512
|
+
ROLLER_DERBY = 52,
|
|
2513
|
+
ICE_SKATING = 53,
|
|
2514
|
+
PICKLEBALL = 54,
|
|
2515
|
+
AXE_THROWING = 55,
|
|
2516
|
+
FURSAL = 56,
|
|
2517
|
+
BIRTHDAY = 57,
|
|
2518
|
+
CORPRATE_EVENTS = 58,
|
|
2519
|
+
OTHER = 999
|
|
2451
2520
|
}
|
|
2452
|
-
export declare
|
|
2453
|
-
|
|
2454
|
-
|
|
2521
|
+
export declare enum PublishingStatusEnum {
|
|
2522
|
+
DRAFT = 1,
|
|
2523
|
+
PUBLISHED = 2,
|
|
2524
|
+
CLOSED = 3,
|
|
2525
|
+
CANCELLED = 4,
|
|
2526
|
+
ARCHIVE = 5,
|
|
2527
|
+
UNPUBLISHED = 6
|
|
2455
2528
|
}
|
|
2456
|
-
export
|
|
2457
|
-
|
|
2529
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2530
|
+
OTHER = 1,
|
|
2531
|
+
MINAGE = 2,
|
|
2532
|
+
MAXAGE = 3,
|
|
2533
|
+
GENDER = 4,
|
|
2534
|
+
LEVELOFPLAY = 5,
|
|
2535
|
+
GAMESSEASON = 6,
|
|
2536
|
+
MINWEEK = 7,
|
|
2537
|
+
SURFACE = 8,
|
|
2538
|
+
FORMAT = 9,
|
|
2539
|
+
PLAYERS_PER_TEAM = 10,
|
|
2540
|
+
MATCH_LENGTH = 12
|
|
2458
2541
|
}
|
|
2459
|
-
export
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
customer?: Customer;
|
|
2542
|
+
export declare enum RequestStatusEnum {
|
|
2543
|
+
PENDING = 1,
|
|
2544
|
+
ACCEPTED = 2,
|
|
2545
|
+
DECLINED = 3
|
|
2464
2546
|
}
|
|
2465
|
-
export
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2547
|
+
export declare enum PaymentStatusEnum {
|
|
2548
|
+
NOT_PAID = "not_paid",
|
|
2549
|
+
PARTIAL_PAYMENT = "partial",
|
|
2550
|
+
FULLY_PAID = "paid",
|
|
2551
|
+
REFUNDED = "refunded",
|
|
2552
|
+
VOID = "void"
|
|
2469
2553
|
}
|
|
2470
|
-
export
|
|
2471
|
-
|
|
2472
|
-
total: number;
|
|
2473
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2474
|
-
status: PaymentStatusEnum;
|
|
2475
|
-
createdAt: Date;
|
|
2476
|
-
invoices: number[];
|
|
2554
|
+
export declare enum ReservationExtendedEnum {
|
|
2555
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2477
2556
|
}
|
|
2478
|
-
export
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2557
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2558
|
+
export declare enum ReservationStatusEnum {
|
|
2559
|
+
PLANNED = "Planned",
|
|
2560
|
+
APPROVED = "Approved",
|
|
2561
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2562
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2563
|
+
REJECTED = "Rejected",
|
|
2564
|
+
CANCELED = "Canceled"
|
|
2486
2565
|
}
|
|
2487
|
-
export
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
isTaxInclusive: boolean;
|
|
2566
|
+
export declare enum PaymentStatusV1Enum {
|
|
2567
|
+
SENT_TO_CLIENT = 1,
|
|
2568
|
+
SENT_FOR_PAYMENT = 2,
|
|
2569
|
+
ACCEPTED = 3,
|
|
2570
|
+
REJECTED = 4,
|
|
2571
|
+
CANCELLED = 5,
|
|
2572
|
+
FRAUD = 6,
|
|
2573
|
+
NOT_RELEVANT = 7,
|
|
2574
|
+
PENDING = 8
|
|
2497
2575
|
}
|
|
2498
|
-
export
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
fundLeft: number;
|
|
2502
|
-
ccLast4?: string;
|
|
2503
|
-
ccBrand?: string;
|
|
2576
|
+
export declare enum PaymentMethodsEnum {
|
|
2577
|
+
STRIPE = 1,
|
|
2578
|
+
CASH = 3
|
|
2504
2579
|
}
|
|
2505
|
-
export
|
|
2506
|
-
|
|
2507
|
-
|
|
2580
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2581
|
+
CHILD = "child",
|
|
2582
|
+
UPSALE = "upsale"
|
|
2508
2583
|
}
|
|
2509
|
-
export
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2584
|
+
export declare enum AddonTimePeriodEnum {
|
|
2585
|
+
FULL = "full",
|
|
2586
|
+
SESSION = "session",
|
|
2587
|
+
EVENT = "event"
|
|
2513
2588
|
}
|
|
2514
|
-
export
|
|
2515
|
-
|
|
2516
|
-
startTime: string;
|
|
2517
|
-
endTime: string;
|
|
2589
|
+
export declare enum CurrencyEnum {
|
|
2590
|
+
USD = "USD"
|
|
2518
2591
|
}
|
|
2519
|
-
export
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2592
|
+
export declare enum NotificationTypeEnum {
|
|
2593
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2594
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2595
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2523
2596
|
}
|
|
2524
|
-
export
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
invoice_paymentMethodId: string;
|
|
2536
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2537
|
-
endDate: Date;
|
|
2538
|
-
membership_name: string;
|
|
2539
|
-
user_firstName: string;
|
|
2540
|
-
user_lastName: string;
|
|
2541
|
-
user_email: string;
|
|
2597
|
+
export declare enum ProductTypesEnum {
|
|
2598
|
+
RESERVATION = "reservation",
|
|
2599
|
+
REGISTRATION = "registration",
|
|
2600
|
+
MEMBERSHIP = "membership",
|
|
2601
|
+
GOODS = "goods",
|
|
2602
|
+
PACKAGE = "package",
|
|
2603
|
+
REFUND_COMPENSATION = "refund",
|
|
2604
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2605
|
+
PETTY_CASH = "petty_cash",
|
|
2606
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2607
|
+
TAX = "tax"
|
|
2542
2608
|
}
|
|
2543
|
-
export
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2609
|
+
export declare enum InvoiceStatusEnum {
|
|
2610
|
+
ACTIVE = "active",
|
|
2611
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2612
|
+
WAITING_CLIENT = "waitingClient",
|
|
2613
|
+
CANCELED = "canceled"
|
|
2548
2614
|
}
|
|
2549
|
-
export
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
openNumDays?: number;
|
|
2553
|
-
openNumMinutes?: number;
|
|
2554
|
-
openTime?: string;
|
|
2555
|
-
closeNumDays?: number;
|
|
2556
|
-
closeNumMinutes?: number;
|
|
2557
|
-
closeTime?: string;
|
|
2558
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2615
|
+
export declare enum LineItemsStatusEnum {
|
|
2616
|
+
USER_PRODUCT = "UserProduct",
|
|
2617
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2559
2618
|
}
|
|
2560
|
-
export
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2619
|
+
export declare enum ProductSubTypesEnum {
|
|
2620
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2621
|
+
SEASON_TEAM = "season_team",
|
|
2622
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2564
2623
|
}
|
|
2565
|
-
export
|
|
2566
|
-
|
|
2567
|
-
|
|
2624
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2625
|
+
CREDIT_CARD = "card",
|
|
2626
|
+
ACH = "ach",
|
|
2627
|
+
CASH = "cash",
|
|
2628
|
+
CHECK = "check",
|
|
2629
|
+
BALANCE = "balance",
|
|
2630
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2631
|
+
OTHER = "other",
|
|
2632
|
+
MIGRATED = "migrated",
|
|
2633
|
+
VOID = "void"
|
|
2568
2634
|
}
|
|
2569
|
-
export
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
email: string;
|
|
2573
|
-
sessionName: string;
|
|
2574
|
-
parentSessionName?: string;
|
|
2575
|
-
organizationName: string;
|
|
2576
|
-
programName: string;
|
|
2635
|
+
export declare enum RefundTypeEnum {
|
|
2636
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2637
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2577
2638
|
}
|
|
2578
|
-
export
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
eventEndDate: string;
|
|
2583
|
-
eventStartTime: string;
|
|
2584
|
-
eventEndTime: string;
|
|
2585
|
-
programId: number;
|
|
2586
|
-
programName: string;
|
|
2587
|
-
programType: ProgramTypesEnum;
|
|
2588
|
-
sessionId: number;
|
|
2589
|
-
sessionName: string;
|
|
2590
|
-
sports: number;
|
|
2591
|
-
spaces: {
|
|
2592
|
-
spaceId: number;
|
|
2593
|
-
spaceName: string;
|
|
2594
|
-
}[];
|
|
2595
|
-
status?: RegistrationValidationStatusEnum;
|
|
2639
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2640
|
+
INDIVIDUAL = "individual",
|
|
2641
|
+
FAMILY = "family",
|
|
2642
|
+
ORGANIZATION = "organization"
|
|
2596
2643
|
}
|
|
2597
|
-
export
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
spaces: ISpaceWithSlots[];
|
|
2644
|
+
export declare enum MembershipTypeEnum {
|
|
2645
|
+
FIXED = "fix_membership",
|
|
2646
|
+
ROLLING = "rolling_membership"
|
|
2601
2647
|
}
|
|
2602
|
-
export
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2648
|
+
export declare enum CustomerTypeEnum {
|
|
2649
|
+
USER = "user",
|
|
2650
|
+
FAMILY = "family",
|
|
2651
|
+
ORGANIZATION = "organization"
|
|
2606
2652
|
}
|
|
2607
|
-
export
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
startTime: string;
|
|
2612
|
-
endTime: string;
|
|
2613
|
-
notes: string;
|
|
2614
|
-
spaceId: number;
|
|
2615
|
-
isRental: boolean;
|
|
2616
|
-
slotType: SlotTypeEnum;
|
|
2617
|
-
slotId: number;
|
|
2618
|
-
eventId: number;
|
|
2619
|
-
isPrivate: boolean;
|
|
2653
|
+
export declare enum GroupStatusEnum {
|
|
2654
|
+
ACTIVE = 1,
|
|
2655
|
+
INACTIVE = 2,
|
|
2656
|
+
DRAFT = 3
|
|
2620
2657
|
}
|
|
2621
|
-
export
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
maxMaleParticipants: number;
|
|
2627
|
-
maxFemaleParticipants: number;
|
|
2628
|
-
isPunchCard: boolean;
|
|
2658
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
2659
|
+
FUTURE = "future",
|
|
2660
|
+
SUCCEEDED = "succeeded",
|
|
2661
|
+
FAILED = "failed",
|
|
2662
|
+
CANCELED = "canceled"
|
|
2629
2663
|
}
|
|
2630
|
-
export
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2664
|
+
export declare enum EntryStatusEnum {
|
|
2665
|
+
ENTERED = 1,
|
|
2666
|
+
NOT_ENTERED = 2,
|
|
2667
|
+
CANCELED = 3
|
|
2634
2668
|
}
|
|
2635
|
-
export
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
endTime: string;
|
|
2640
|
-
reservationId: number;
|
|
2641
|
-
eventTitle: string;
|
|
2642
|
-
publicNotes: string;
|
|
2643
|
-
spaceId: number;
|
|
2644
|
-
creatorType: ResourceNameTypeEnum;
|
|
2645
|
-
slotType: SlotTypeEnum;
|
|
2646
|
-
slotId: number;
|
|
2647
|
-
eventId: number;
|
|
2648
|
-
isPrivate: boolean;
|
|
2669
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
2670
|
+
ACTIVE = 1,
|
|
2671
|
+
MOVED = 2,
|
|
2672
|
+
CANCELED = 3
|
|
2649
2673
|
}
|
|
2650
|
-
export
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2655
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2656
|
-
pUserId: number;
|
|
2657
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2658
|
-
pUserProductId: number;
|
|
2659
|
-
pUserProductName: string;
|
|
2660
|
-
pUserProductPrice: number;
|
|
2661
|
-
pUserProductPriceCurrency: string;
|
|
2662
|
-
pUserProductQuantity: number;
|
|
2663
|
-
pUserProductQuantityLeft: number;
|
|
2664
|
-
pUserUserId: number;
|
|
2674
|
+
export declare enum TeamCanJoinEnum {
|
|
2675
|
+
ANYONE = "anyone",
|
|
2676
|
+
BY_INVITE = "byInvite",
|
|
2677
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2665
2678
|
}
|
|
2666
|
-
export
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
sessionId: number;
|
|
2674
|
-
sessionName: string;
|
|
2675
|
-
productId: number;
|
|
2676
|
-
productName: string;
|
|
2677
|
-
productUserId: number;
|
|
2678
|
-
purchaseDate: Date;
|
|
2679
|
-
passesLeft: number;
|
|
2679
|
+
export declare enum TeamMemberStatusEnum {
|
|
2680
|
+
PENDING = 1,
|
|
2681
|
+
ACTIVE = 2,
|
|
2682
|
+
DECLINED = 3,
|
|
2683
|
+
SUSPENDED = 4,
|
|
2684
|
+
INACTIVE = 5,
|
|
2685
|
+
INVITED = 6
|
|
2680
2686
|
}
|
|
2681
|
-
export
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
startDate: Date;
|
|
2685
|
-
endDate: Date;
|
|
2686
|
-
registrationStartDate: Date;
|
|
2687
|
-
registrationEndDate: Date;
|
|
2688
|
-
sport: SportsEnum;
|
|
2689
|
-
minAge: string;
|
|
2690
|
-
maxAge: string;
|
|
2691
|
-
maxParticipants?: number;
|
|
2692
|
-
gender: GenderEnum;
|
|
2693
|
-
activityTimes: ActivityTimes[];
|
|
2694
|
-
earlyRegistrationStartDate?: Date;
|
|
2695
|
-
earlyRegistrationEndDate?: Date;
|
|
2696
|
-
lateRegistrationStartDate?: Date;
|
|
2697
|
-
lateRegistrationEndDate?: Date;
|
|
2698
|
-
attendeeCount?: number;
|
|
2699
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2687
|
+
export declare enum TeamMemberRoleEnum {
|
|
2688
|
+
NULL = 0,
|
|
2689
|
+
ADMIN = 1
|
|
2700
2690
|
}
|
|
2701
|
-
export
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2691
|
+
export declare enum DayOfWeekEnum {
|
|
2692
|
+
SUNDAY = 0,
|
|
2693
|
+
MONDAY = 1,
|
|
2694
|
+
TUESDAY = 2,
|
|
2695
|
+
WEDNESDAY = 3,
|
|
2696
|
+
THURSDAY = 4,
|
|
2697
|
+
FRIDAY = 5,
|
|
2698
|
+
SATURDAY = 6
|
|
2706
2699
|
}
|
|
2707
|
-
export
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
programName: string;
|
|
2713
|
-
programId: number;
|
|
2714
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2715
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2700
|
+
export declare enum ActionTypesEnum {
|
|
2701
|
+
CREATE = "create",
|
|
2702
|
+
READ = "read",
|
|
2703
|
+
UPDATE = "update",
|
|
2704
|
+
DELETE = "delete"
|
|
2716
2705
|
}
|
|
2717
|
-
export
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
name: string;
|
|
2722
|
-
productType?: ProductTypesEnum;
|
|
2723
|
-
productSubType?: string;
|
|
2724
|
-
}[];
|
|
2706
|
+
export declare enum ActionSourcePlatformEnum {
|
|
2707
|
+
ADMIN = "admin",
|
|
2708
|
+
BACKOFFICE = "backoffice",
|
|
2709
|
+
CONSUMER = "consumer"
|
|
2725
2710
|
}
|
|
2726
|
-
export
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
startDate?: Date;
|
|
2730
|
-
endDate?: Date;
|
|
2731
|
-
downpayment?: number;
|
|
2732
|
-
description?: string;
|
|
2733
|
-
prices: Price[];
|
|
2734
|
-
productSubType?: ProductSubTypesEnum;
|
|
2735
|
-
punchCard: boolean;
|
|
2736
|
-
isAddon: boolean;
|
|
2737
|
-
defaultPriceId?: number;
|
|
2711
|
+
export declare enum RolesEnum {
|
|
2712
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2713
|
+
BOND_ADMIN = "bondAdmin"
|
|
2738
2714
|
}
|
|
2739
|
-
export
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2715
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2716
|
+
IN_POOL = 5,
|
|
2717
|
+
ASSIGNED = 1,
|
|
2718
|
+
QUIT = 2,
|
|
2719
|
+
SUSPENDED = 3,
|
|
2720
|
+
INACTIVE = 4
|
|
2743
2721
|
}
|
|
2744
|
-
export
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2722
|
+
export declare enum AmenitiesEnum {
|
|
2723
|
+
HEAT = 1,
|
|
2724
|
+
AC = 2,
|
|
2725
|
+
WIFI = 3,
|
|
2726
|
+
RESTROOMS = 4,
|
|
2727
|
+
DRINKING_FOUNTAIN = 5,
|
|
2728
|
+
PARKING = 6,
|
|
2729
|
+
CONCESSIONS = 7,
|
|
2730
|
+
SHELTER = 8,
|
|
2731
|
+
PORTABLE_RESTROOMS = 9,
|
|
2732
|
+
LIGHTS = 10,
|
|
2733
|
+
LOCKER_ROOM = 11,
|
|
2734
|
+
PAID_PARKING = 12,
|
|
2735
|
+
ACCESSIBLE = 13
|
|
2751
2736
|
}
|
|
2752
|
-
export declare enum
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2737
|
+
export declare enum ResourceSubTypeEnum {
|
|
2738
|
+
COURT = "court",
|
|
2739
|
+
FIELD = "field",
|
|
2740
|
+
ROOM = "room",
|
|
2741
|
+
DIAMOND = "diamond",
|
|
2742
|
+
RINK = "rink",
|
|
2743
|
+
STUDIO = "studio",
|
|
2744
|
+
POOL = "pool",
|
|
2745
|
+
BATTING_CAGE = "batting cage",
|
|
2746
|
+
SHELTER = "shelter",
|
|
2747
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2756
2748
|
}
|
|
2757
|
-
export declare enum
|
|
2758
|
-
|
|
2759
|
-
VENUE = "venue",
|
|
2760
|
-
TEAM = "team",
|
|
2761
|
-
LEAGUE = "league",
|
|
2762
|
-
USER = "user",
|
|
2763
|
-
ORGANIZATION = "organization",
|
|
2764
|
-
APP = "app",
|
|
2765
|
-
FEED = "feed",
|
|
2766
|
-
MATCH = "match",
|
|
2767
|
-
ROUND = "round",
|
|
2768
|
-
PORTAL = "portal",
|
|
2769
|
-
SEASON = "season",
|
|
2770
|
-
TOURNAMENT = "tournament",
|
|
2771
|
-
MEMBERSHIP = "membership",
|
|
2772
|
-
DIVISION = "division",
|
|
2773
|
-
GAMESLOT = "gameslot",
|
|
2774
|
-
SPACE = "space",
|
|
2775
|
-
RESERVATION = "reservation",
|
|
2776
|
-
INVOICE = "invoice",
|
|
2777
|
-
CUSTOMER = "customer",
|
|
2778
|
-
PACKAGE = "package",
|
|
2779
|
-
FACILITY = "facility",
|
|
2780
|
-
PROGRAM = "program",
|
|
2781
|
-
PROGRAM_SEASON = "program_season",
|
|
2782
|
-
PRODUCT = "product",
|
|
2783
|
-
GROUP = "group",
|
|
2784
|
-
VARIANT = "variant",
|
|
2785
|
-
SLOT = "slot",
|
|
2786
|
-
ADDON = "addon"
|
|
2749
|
+
export declare enum ResourceTypeEnum {
|
|
2750
|
+
SPACE = "space"
|
|
2787
2751
|
}
|
|
2788
|
-
export declare enum
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2792
|
-
NO_SETTING = "no_setting"
|
|
2752
|
+
export declare enum ResourceAgesEnum {
|
|
2753
|
+
ADULTS = "adults",
|
|
2754
|
+
CHILDREN = "children"
|
|
2793
2755
|
}
|
|
2794
|
-
export declare enum
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
FEMALE = 3
|
|
2756
|
+
export declare enum SpacePropertiesEnum {
|
|
2757
|
+
OUTDOOR = "outdoor",
|
|
2758
|
+
INDOOR = "indoor"
|
|
2798
2759
|
}
|
|
2799
|
-
export declare enum
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2760
|
+
export declare enum SurfacesEnum {
|
|
2761
|
+
GRASS = "grass",
|
|
2762
|
+
TURF = "turf",
|
|
2763
|
+
FIELD_TURF = "fieldTurf",
|
|
2764
|
+
ASTRO_TURF = "astroTurf",
|
|
2765
|
+
HARDWOOD = "hardwood",
|
|
2766
|
+
ASPHALT = "asphalt",
|
|
2767
|
+
SAND = "sand",
|
|
2768
|
+
ICE = "ice",
|
|
2769
|
+
SPORT_COURT = "sportCourt"
|
|
2805
2770
|
}
|
|
2806
|
-
export declare enum
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
CLASS = 2,
|
|
2810
|
-
CLINIC = 3,
|
|
2811
|
-
CAMP = 4,
|
|
2812
|
-
LESSON = 5,
|
|
2813
|
-
CLUB_TEAM = 6
|
|
2771
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2772
|
+
MINUTES = "minutes",
|
|
2773
|
+
DAYS = "days"
|
|
2814
2774
|
}
|
|
2815
|
-
export declare enum
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2775
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2776
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2777
|
+
OPEN = "open",
|
|
2778
|
+
CLOSED = "closed"
|
|
2819
2779
|
}
|
|
2820
|
-
export declare enum
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
CORNHOLE = 7,
|
|
2828
|
-
DODGEBALL = 8,
|
|
2829
|
-
FRISBEE = 9,
|
|
2830
|
-
HOCKEY = 10,
|
|
2831
|
-
KICKBALL = 11,
|
|
2832
|
-
LACROSSE = 12,
|
|
2833
|
-
PINGPONG = 13,
|
|
2834
|
-
RUGBY = 14,
|
|
2835
|
-
SKEEBALL = 15,
|
|
2836
|
-
TENNIS = 16,
|
|
2837
|
-
VOLLEYBALL = 17,
|
|
2838
|
-
WIFFLEBALL = 18,
|
|
2839
|
-
BADMINTON = 19,
|
|
2840
|
-
FITNESS = 20,
|
|
2841
|
-
GOLF = 21,
|
|
2842
|
-
PILATES = 22,
|
|
2843
|
-
RUNNING = 23,
|
|
2844
|
-
SKIING = 24,
|
|
2845
|
-
SNOWBOARDING = 25,
|
|
2846
|
-
YOGA = 26,
|
|
2847
|
-
BROOMBALL = 27,
|
|
2848
|
-
CRICKET = 28,
|
|
2849
|
-
CROSSFIT = 29,
|
|
2850
|
-
CYCLING = 30,
|
|
2851
|
-
FIELD_HOCKEY = 31,
|
|
2852
|
-
RACQUETBALL = 32,
|
|
2853
|
-
SPINNING = 33,
|
|
2854
|
-
SQUASH = 34,
|
|
2855
|
-
SURFING = 35,
|
|
2856
|
-
SWIMMING = 36,
|
|
2857
|
-
WIND_SURFING = 37,
|
|
2858
|
-
ADVENTURE = 38,
|
|
2859
|
-
BOXING = 39,
|
|
2860
|
-
BASEBALL = 40,
|
|
2861
|
-
DANCE = 41,
|
|
2862
|
-
KICKBOXING = 42,
|
|
2863
|
-
MARTIAL_ARTS = 43,
|
|
2864
|
-
OUTDOORS = 44,
|
|
2865
|
-
ROWING = 45,
|
|
2866
|
-
SAILING = 46,
|
|
2867
|
-
SUP = 47,
|
|
2868
|
-
TRIATHLON = 48,
|
|
2869
|
-
HANDBALL = 49,
|
|
2870
|
-
CATCHBALL = 50,
|
|
2871
|
-
BLITZBALL = 51,
|
|
2872
|
-
ROLLER_DERBY = 52,
|
|
2873
|
-
ICE_SKATING = 53,
|
|
2874
|
-
PICKLEBALL = 54,
|
|
2875
|
-
AXE_THROWING = 55,
|
|
2876
|
-
FURSAL = 56,
|
|
2877
|
-
BIRTHDAY = 57,
|
|
2878
|
-
CORPRATE_EVENTS = 58,
|
|
2879
|
-
OTHER = 999
|
|
2780
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2781
|
+
FULL = "full",
|
|
2782
|
+
ALREADY_REGISTERED = "registered",
|
|
2783
|
+
AVAILABLE = "available",
|
|
2784
|
+
NOT_OPEN_YET = "not opened",
|
|
2785
|
+
ALREADY_CLOSED = "closed",
|
|
2786
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2880
2787
|
}
|
|
2881
|
-
export declare enum
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2788
|
+
export declare enum DiscountMethodsEnum {
|
|
2789
|
+
PERCENT = "percent",
|
|
2790
|
+
AMOUNT = "amount"
|
|
2791
|
+
}
|
|
2792
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2793
|
+
ORGANIZATION = "organization"
|
|
2794
|
+
}
|
|
2795
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2796
|
+
USA = "USA"
|
|
2797
|
+
}
|
|
2798
|
+
export declare enum DateTimeFormatsEnum {
|
|
2799
|
+
API_DATE = "YYYY/MM/DD",
|
|
2800
|
+
API_TIME = "HH:mm:ss",
|
|
2801
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2802
|
+
}
|
|
2803
|
+
export declare enum SlotTypeEnum {
|
|
2804
|
+
EXTERNAL = "external",
|
|
2805
|
+
INTERNAL = "internal",
|
|
2806
|
+
MAINTENANCE = "maintenance",
|
|
2807
|
+
CUSTOM = "custom"
|
|
2808
|
+
}
|
|
2809
|
+
export declare enum PlatformsEnum {
|
|
2810
|
+
CONSUMER = "consumer",
|
|
2811
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2812
|
+
BO = "backoffice",
|
|
2813
|
+
MOBILE = "mobile",
|
|
2814
|
+
CRON = "cron"
|
|
2815
|
+
}
|
|
2816
|
+
export declare enum ShiftStatusEnum {
|
|
2817
|
+
OPEN = "open",
|
|
2818
|
+
CLOSED = "closed",
|
|
2819
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2820
|
+
RECONCILED = "reconciled"
|
|
2821
|
+
}
|
|
2822
|
+
export declare enum EventStatusEnum {
|
|
2823
|
+
OPEN = 1,
|
|
2824
|
+
DRAFT = 2,
|
|
2825
|
+
FULL = 3,
|
|
2885
2826
|
CANCELLED = 4,
|
|
2886
|
-
|
|
2887
|
-
|
|
2827
|
+
CLOSED = 5,
|
|
2828
|
+
DELETED = 6
|
|
2888
2829
|
}
|
|
2889
|
-
export declare enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
GAMESSEASON = 6,
|
|
2896
|
-
MINWEEK = 7,
|
|
2897
|
-
SURFACE = 8,
|
|
2898
|
-
FORMAT = 9,
|
|
2899
|
-
PLAYERS_PER_TEAM = 10,
|
|
2900
|
-
MATCH_LENGTH = 12
|
|
2830
|
+
export declare enum ReservationTypeEnum {
|
|
2831
|
+
RENTAL = "rental",
|
|
2832
|
+
PROGRAM = "program",
|
|
2833
|
+
MAINTENANCE = "maintenance",
|
|
2834
|
+
CUSTOM = "custom",
|
|
2835
|
+
INTERNAL = "internal"
|
|
2901
2836
|
}
|
|
2902
|
-
export declare enum
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2837
|
+
export declare enum SlotDurationTypeEnum {
|
|
2838
|
+
DATES = "dates",
|
|
2839
|
+
ALL_DAY = "all day",
|
|
2840
|
+
DURATION = "duration"
|
|
2906
2841
|
}
|
|
2907
|
-
export declare enum
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2842
|
+
export declare enum DurationUnitTypesEnum {
|
|
2843
|
+
MINUTES = "minutes",
|
|
2844
|
+
HOURS = "hours"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum FrequencyEnum {
|
|
2847
|
+
NONE = "none",
|
|
2848
|
+
WEEKLY = "weekly",
|
|
2849
|
+
DAILY = "daily",
|
|
2850
|
+
MONTHLY = "monthly",
|
|
2851
|
+
YEARLY = "yearly"
|
|
2852
|
+
}
|
|
2853
|
+
export declare enum MaintenanceTimingEnum {
|
|
2854
|
+
BEFORE = 1,
|
|
2855
|
+
AFTER = 2,
|
|
2856
|
+
AT_THE_BEGINING = 3,
|
|
2857
|
+
AT_THE_END = 4
|
|
2858
|
+
}
|
|
2859
|
+
export declare enum CreatorTypeEnum {
|
|
2860
|
+
SPACE = "space",
|
|
2861
|
+
PROGRAM_SEASON = "program_season",
|
|
2862
|
+
SEASON = "season"
|
|
2913
2863
|
}
|
|
2914
|
-
export declare enum
|
|
2915
|
-
|
|
2864
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2865
|
+
INDIVIDUAL = "indvidual",
|
|
2866
|
+
CATEGORY = "category",
|
|
2867
|
+
GLOBAL = "global"
|
|
2916
2868
|
}
|
|
2917
|
-
export declare
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2869
|
+
export declare enum BondDayOfWeekEnum {
|
|
2870
|
+
MONDAY = 2,
|
|
2871
|
+
TUESDAY = 3,
|
|
2872
|
+
WEDNESDAY = 4,
|
|
2873
|
+
THURSDAY = 5,
|
|
2874
|
+
FRIDAY = 6,
|
|
2875
|
+
SATURDAY = 7,
|
|
2876
|
+
SUNDAY = 8
|
|
2925
2877
|
}
|
|
2926
|
-
export declare enum
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
REJECTED = 4,
|
|
2931
|
-
CANCELLED = 5,
|
|
2932
|
-
FRAUD = 6,
|
|
2933
|
-
NOT_RELEVANT = 7,
|
|
2934
|
-
PENDING = 8
|
|
2878
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2879
|
+
NEW = "new",
|
|
2880
|
+
NO = "no",
|
|
2881
|
+
YES = "yes"
|
|
2935
2882
|
}
|
|
2936
|
-
export declare enum
|
|
2937
|
-
|
|
2938
|
-
|
|
2883
|
+
export declare enum ProductPackageLevelEnum {
|
|
2884
|
+
HOUR = "hour",
|
|
2885
|
+
SLOT = "slot",
|
|
2886
|
+
RESERVATION = "reservation"
|
|
2939
2887
|
}
|
|
2940
|
-
export declare enum
|
|
2941
|
-
|
|
2942
|
-
|
|
2888
|
+
export declare enum CancellationStatusEnum {
|
|
2889
|
+
IMMEDIATE = "immediate",
|
|
2890
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2943
2891
|
}
|
|
2944
|
-
export declare enum
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
EVENT = "event"
|
|
2892
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2893
|
+
DRAFT = 0,
|
|
2894
|
+
PUBLISHED = 1
|
|
2948
2895
|
}
|
|
2949
|
-
export declare enum
|
|
2950
|
-
|
|
2896
|
+
export declare enum FinancialStepEnum {
|
|
2897
|
+
VOID = "void",
|
|
2898
|
+
REFUND = "refund",
|
|
2899
|
+
NONE = "none",
|
|
2900
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2901
|
+
APPEND = "append"
|
|
2951
2902
|
}
|
|
2952
|
-
export declare enum
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2903
|
+
export declare enum StripeAccountTypesEnum {
|
|
2904
|
+
STRIPE = "stripe",
|
|
2905
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2906
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2956
2907
|
}
|
|
2957
|
-
export declare enum
|
|
2908
|
+
export declare enum LinkedAccountStatus {
|
|
2909
|
+
PENDING = 1,
|
|
2910
|
+
ACTIVE = 2,
|
|
2911
|
+
PRE_PENDING = 3
|
|
2912
|
+
}
|
|
2913
|
+
export declare enum AddonParentTypeEnum {
|
|
2958
2914
|
RESERVATION = "reservation",
|
|
2959
|
-
|
|
2960
|
-
MEMBERSHIP = "membership",
|
|
2961
|
-
GOODS = "goods",
|
|
2962
|
-
PACKAGE = "package",
|
|
2963
|
-
REFUND_COMPENSATION = "refund",
|
|
2964
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2965
|
-
PETTY_CASH = "petty_cash",
|
|
2966
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2967
|
-
TAX = "tax"
|
|
2915
|
+
SLOT = "slot"
|
|
2968
2916
|
}
|
|
2969
|
-
export declare enum
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2917
|
+
export declare enum EEmailStatus {
|
|
2918
|
+
SENT = "sent",
|
|
2919
|
+
OPENED = "opened",
|
|
2920
|
+
PAID = "paid",
|
|
2973
2921
|
CANCELED = "canceled"
|
|
2974
2922
|
}
|
|
2975
|
-
export declare enum
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
SEASON_INDIVIDUAL = "season_individual",
|
|
2981
|
-
SEASON_TEAM = "season_team",
|
|
2982
|
-
SEASON_PER_PLAYER = "season_per_player"
|
|
2923
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2924
|
+
ENABLED = 1,
|
|
2925
|
+
DISABLED_REDIRECT = 2,
|
|
2926
|
+
DISABLED_INFO_ONLY = 3,
|
|
2927
|
+
DISABLED_EMAIL = 4
|
|
2983
2928
|
}
|
|
2984
|
-
export declare enum
|
|
2985
|
-
|
|
2986
|
-
ACH = "ach",
|
|
2987
|
-
CASH = "cash",
|
|
2988
|
-
CHECK = "check",
|
|
2989
|
-
BALANCE = "balance",
|
|
2990
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2991
|
-
OTHER = "other",
|
|
2992
|
-
MIGRATED = "migrated",
|
|
2993
|
-
VOID = "void"
|
|
2929
|
+
export declare enum NotifyMethodEnum {
|
|
2930
|
+
EMAIL = "Email"
|
|
2994
2931
|
}
|
|
2995
|
-
export
|
|
2996
|
-
|
|
2997
|
-
|
|
2932
|
+
export interface IEntitlementTerms {
|
|
2933
|
+
type: EntitlementTermsTypesEnum;
|
|
2934
|
+
id?: number;
|
|
2935
|
+
value?: string;
|
|
2936
|
+
minValue?: string;
|
|
2937
|
+
maxValue?: string;
|
|
2998
2938
|
}
|
|
2999
|
-
export
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
ORGANIZATION = "organization"
|
|
2939
|
+
export interface IQuestionAnswerObject {
|
|
2940
|
+
questionId: number;
|
|
2941
|
+
value: string;
|
|
3003
2942
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
3006
|
-
|
|
2943
|
+
export interface ILowestPriceForItem {
|
|
2944
|
+
itemId: number;
|
|
2945
|
+
itemType: ResourceNameTypeEnum;
|
|
2946
|
+
groupId: number;
|
|
2947
|
+
groupName?: string;
|
|
2948
|
+
price: number;
|
|
2949
|
+
overridesPrice: boolean;
|
|
3007
2950
|
}
|
|
3008
|
-
export
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
2951
|
+
export interface IResourcesAvailability {
|
|
2952
|
+
resourceType: ResourceNameTypeEnum;
|
|
2953
|
+
quantity: number;
|
|
2954
|
+
resourcesIds: number[];
|
|
2955
|
+
isPunchCard: boolean;
|
|
2956
|
+
resources?: any[];
|
|
3012
2957
|
}
|
|
3013
|
-
export
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
DRAFT = 3
|
|
2958
|
+
export interface IPackageResponse {
|
|
2959
|
+
parentProduct: Product;
|
|
2960
|
+
children: IChildProduct[];
|
|
3017
2961
|
}
|
|
3018
|
-
export
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
CANCELED = "canceled"
|
|
2962
|
+
export interface IChildProduct {
|
|
2963
|
+
product: Product;
|
|
2964
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2965
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3023
2966
|
}
|
|
3024
|
-
export
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
2967
|
+
export interface ISeasonAttendeeInfo {
|
|
2968
|
+
applicationAnswers: Answer[];
|
|
2969
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2970
|
+
invoices: Invoice[];
|
|
2971
|
+
payments: Payment[];
|
|
2972
|
+
products: Product[];
|
|
2973
|
+
redeemNext: ProductsUsers;
|
|
3028
2974
|
}
|
|
3029
|
-
export
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
2975
|
+
export interface ISeasonAttendeeListInfo {
|
|
2976
|
+
userId: number;
|
|
2977
|
+
userFirstName: string;
|
|
2978
|
+
userLastName: string;
|
|
2979
|
+
userGender: number;
|
|
2980
|
+
userBirthDate: Date;
|
|
2981
|
+
userProfilePicUrl: string;
|
|
2982
|
+
customerId: number;
|
|
2983
|
+
customerEmail: string;
|
|
2984
|
+
paymentStatus: string;
|
|
2985
|
+
productName: string;
|
|
2986
|
+
punchCard: boolean;
|
|
3033
2987
|
}
|
|
3034
|
-
export declare
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
CAPTAIN_APPROVAL = "captainApproval"
|
|
2988
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2989
|
+
segmentType: ResourceNameTypeEnum;
|
|
2990
|
+
participantRegisteredDate?: string;
|
|
3038
2991
|
}
|
|
3039
|
-
export declare
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
DECLINED = 3,
|
|
3043
|
-
SUSPENDED = 4,
|
|
3044
|
-
INACTIVE = 5,
|
|
3045
|
-
INVITED = 6
|
|
2992
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2993
|
+
segmentType: ResourceNameTypeEnum;
|
|
2994
|
+
participantRegisteredDate?: string;
|
|
3046
2995
|
}
|
|
3047
|
-
export
|
|
3048
|
-
|
|
3049
|
-
ADMIN = 1
|
|
2996
|
+
export interface ITokenResonse {
|
|
2997
|
+
token: string;
|
|
3050
2998
|
}
|
|
3051
|
-
export
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
THURSDAY = 4,
|
|
3057
|
-
FRIDAY = 5,
|
|
3058
|
-
SATURDAY = 6
|
|
2999
|
+
export interface IStripeBondInvoices {
|
|
3000
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3001
|
+
bondPaidPayment: Payment;
|
|
3002
|
+
invoice?: Invoice;
|
|
3003
|
+
customer?: Customer;
|
|
3059
3004
|
}
|
|
3060
|
-
export
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
DELETE = "delete"
|
|
3005
|
+
export interface IPartialPaymentData {
|
|
3006
|
+
purchasingUserId: number;
|
|
3007
|
+
paymentData: PurchasePaymentDto;
|
|
3008
|
+
amountToPay: number;
|
|
3065
3009
|
}
|
|
3066
|
-
export
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3010
|
+
export interface IPayment {
|
|
3011
|
+
id: number;
|
|
3012
|
+
total: number;
|
|
3013
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3014
|
+
status: PaymentStatusEnum;
|
|
3015
|
+
createdAt: Date;
|
|
3016
|
+
invoices: number[];
|
|
3070
3017
|
}
|
|
3071
|
-
export
|
|
3072
|
-
|
|
3073
|
-
|
|
3018
|
+
export interface IPaginationData<T> {
|
|
3019
|
+
meta: {
|
|
3020
|
+
totalItems: number;
|
|
3021
|
+
itemsPerPage: number;
|
|
3022
|
+
totalPages: number;
|
|
3023
|
+
currentPage: number;
|
|
3024
|
+
};
|
|
3025
|
+
data: T[];
|
|
3074
3026
|
}
|
|
3075
|
-
export
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3027
|
+
export interface IPricesOfProductsResults {
|
|
3028
|
+
productId: number;
|
|
3029
|
+
userId: number;
|
|
3030
|
+
price: number;
|
|
3031
|
+
groupId?: number;
|
|
3032
|
+
groupName?: string;
|
|
3033
|
+
originalPrice?: number;
|
|
3034
|
+
priceWithoutTax: number;
|
|
3035
|
+
tax: number;
|
|
3036
|
+
isTaxInclusive: boolean;
|
|
3081
3037
|
}
|
|
3082
|
-
export
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
PARKING = 6,
|
|
3089
|
-
CONCESSIONS = 7,
|
|
3090
|
-
SHELTER = 8,
|
|
3091
|
-
PORTABLE_RESTROOMS = 9,
|
|
3092
|
-
LIGHTS = 10,
|
|
3093
|
-
LOCKER_ROOM = 11,
|
|
3094
|
-
PAID_PARKING = 12,
|
|
3095
|
-
ACCESSIBLE = 13
|
|
3038
|
+
export interface IPaymentMethodToFundLeft {
|
|
3039
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3040
|
+
paymentMethodId: string;
|
|
3041
|
+
fundLeft: number;
|
|
3042
|
+
ccLast4?: string;
|
|
3043
|
+
ccBrand?: string;
|
|
3096
3044
|
}
|
|
3097
|
-
export
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
ROOM = "room",
|
|
3101
|
-
DIAMOND = "diamond",
|
|
3102
|
-
RINK = "rink",
|
|
3103
|
-
STUDIO = "studio",
|
|
3104
|
-
POOL = "pool",
|
|
3105
|
-
BATTING_CAGE = "batting cage",
|
|
3106
|
-
SHELTER = "shelter",
|
|
3107
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
3045
|
+
export interface IVariantsAndTitle {
|
|
3046
|
+
title: VariantTitle;
|
|
3047
|
+
variants: Variant[];
|
|
3108
3048
|
}
|
|
3109
|
-
export
|
|
3110
|
-
|
|
3049
|
+
export interface IProgramSeasonActivityTimes {
|
|
3050
|
+
dayOfWeek: number;
|
|
3051
|
+
open: string;
|
|
3052
|
+
close: string;
|
|
3111
3053
|
}
|
|
3112
|
-
export
|
|
3113
|
-
|
|
3114
|
-
|
|
3054
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3055
|
+
date: string;
|
|
3056
|
+
startTime: string;
|
|
3057
|
+
endTime: string;
|
|
3115
3058
|
}
|
|
3116
|
-
export
|
|
3117
|
-
|
|
3118
|
-
|
|
3059
|
+
export interface IBlockedDates {
|
|
3060
|
+
name: string;
|
|
3061
|
+
startDate: Date;
|
|
3062
|
+
endDate: Date;
|
|
3119
3063
|
}
|
|
3120
|
-
export
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3064
|
+
export interface ISingleMemberForRenewal {
|
|
3065
|
+
member_id: number;
|
|
3066
|
+
member_membershipId: number;
|
|
3067
|
+
member_userId: number;
|
|
3068
|
+
member_nextPaymentMethodId?: string;
|
|
3069
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3070
|
+
member_answerTitleIds?: number[];
|
|
3071
|
+
member_organizationId: number;
|
|
3072
|
+
product_productPrice: number;
|
|
3073
|
+
product_productId: number;
|
|
3074
|
+
invoice_payingUserId: number;
|
|
3075
|
+
invoice_paymentMethodId: string;
|
|
3076
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3077
|
+
endDate: Date;
|
|
3078
|
+
membership_name: string;
|
|
3079
|
+
user_firstName: string;
|
|
3080
|
+
user_lastName: string;
|
|
3081
|
+
user_email: string;
|
|
3130
3082
|
}
|
|
3131
|
-
export
|
|
3132
|
-
|
|
3133
|
-
|
|
3083
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3084
|
+
package_parentProductId: number;
|
|
3085
|
+
product2_productPrice: number;
|
|
3086
|
+
familyid: number;
|
|
3087
|
+
invoice_id: number;
|
|
3134
3088
|
}
|
|
3135
|
-
export
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3089
|
+
export interface IResourceRegistrationData {
|
|
3090
|
+
id: number;
|
|
3091
|
+
resourceType: ResourceNameTypeEnum;
|
|
3092
|
+
openNumDays?: number;
|
|
3093
|
+
openNumMinutes?: number;
|
|
3094
|
+
openTime?: string;
|
|
3095
|
+
closeNumDays?: number;
|
|
3096
|
+
closeNumMinutes?: number;
|
|
3097
|
+
closeTime?: string;
|
|
3098
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3139
3099
|
}
|
|
3140
|
-
export
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
NOT_OPEN_YET = "not opened",
|
|
3145
|
-
ALREADY_CLOSED = "closed",
|
|
3146
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
3100
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3101
|
+
id: number;
|
|
3102
|
+
startDate: string;
|
|
3103
|
+
startTime: string;
|
|
3147
3104
|
}
|
|
3148
|
-
export
|
|
3149
|
-
|
|
3150
|
-
|
|
3105
|
+
export interface IRegistrationConstraintsSetting {
|
|
3106
|
+
numDays?: number;
|
|
3107
|
+
numMinutes?: number;
|
|
3151
3108
|
}
|
|
3152
|
-
export
|
|
3153
|
-
|
|
3109
|
+
export interface IAttendeeDataToNotify {
|
|
3110
|
+
firstName: string;
|
|
3111
|
+
lastName: string;
|
|
3112
|
+
email: string;
|
|
3113
|
+
sessionName: string;
|
|
3114
|
+
parentSessionName?: string;
|
|
3115
|
+
organizationName: string;
|
|
3116
|
+
programName: string;
|
|
3154
3117
|
}
|
|
3155
|
-
export
|
|
3156
|
-
|
|
3118
|
+
export interface IEventInSchedule {
|
|
3119
|
+
eventId: number;
|
|
3120
|
+
eventName: string;
|
|
3121
|
+
eventStartDate: string;
|
|
3122
|
+
eventEndDate: string;
|
|
3123
|
+
eventStartTime: string;
|
|
3124
|
+
eventEndTime: string;
|
|
3125
|
+
programId: number;
|
|
3126
|
+
programName: string;
|
|
3127
|
+
programType: ProgramTypesEnum;
|
|
3128
|
+
sessionId: number;
|
|
3129
|
+
sessionName: string;
|
|
3130
|
+
sports: number;
|
|
3131
|
+
spaces: {
|
|
3132
|
+
spaceId: number;
|
|
3133
|
+
spaceName: string;
|
|
3134
|
+
}[];
|
|
3135
|
+
status?: RegistrationValidationStatusEnum;
|
|
3157
3136
|
}
|
|
3158
|
-
export
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3137
|
+
export interface ISlotInSchedule {
|
|
3138
|
+
facilityId: number;
|
|
3139
|
+
facilityName: string;
|
|
3140
|
+
spaces: ISpaceWithSlots[];
|
|
3162
3141
|
}
|
|
3163
|
-
export
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
CUSTOM = "custom"
|
|
3142
|
+
export interface ISpaceWithSlots {
|
|
3143
|
+
id: number;
|
|
3144
|
+
name: string;
|
|
3145
|
+
slots: ISlotReservationData[];
|
|
3168
3146
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3147
|
+
export interface ISlotReservationData {
|
|
3148
|
+
reservationId: number;
|
|
3149
|
+
reservationName: string;
|
|
3150
|
+
date: string;
|
|
3151
|
+
startTime: string;
|
|
3152
|
+
endTime: string;
|
|
3153
|
+
notes: string;
|
|
3154
|
+
spaceId: number;
|
|
3155
|
+
isRental: boolean;
|
|
3156
|
+
slotType: SlotTypeEnum;
|
|
3157
|
+
slotId: number;
|
|
3158
|
+
eventId: number;
|
|
3159
|
+
isPrivate: boolean;
|
|
3175
3160
|
}
|
|
3176
|
-
export
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3161
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3162
|
+
parentSessionId: number;
|
|
3163
|
+
parentSessionName: string;
|
|
3164
|
+
eventTimezone: string;
|
|
3165
|
+
maxParticipants: number;
|
|
3166
|
+
maxMaleParticipants: number;
|
|
3167
|
+
maxFemaleParticipants: number;
|
|
3168
|
+
isPunchCard: boolean;
|
|
3181
3169
|
}
|
|
3182
|
-
export
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
CANCELLED = 4,
|
|
3187
|
-
CLOSED = 5,
|
|
3188
|
-
DELETED = 6
|
|
3170
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3171
|
+
id: number;
|
|
3172
|
+
name: string;
|
|
3173
|
+
bookingCreatorId: number;
|
|
3189
3174
|
}
|
|
3190
|
-
export
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3175
|
+
export interface IRawSlotInSchedule {
|
|
3176
|
+
startDate: string;
|
|
3177
|
+
endDate: string;
|
|
3178
|
+
startTime: string;
|
|
3179
|
+
endTime: string;
|
|
3180
|
+
reservationId: number;
|
|
3181
|
+
eventTitle: string;
|
|
3182
|
+
publicNotes: string;
|
|
3183
|
+
spaceId: number;
|
|
3184
|
+
creatorType: ResourceNameTypeEnum;
|
|
3185
|
+
slotType: SlotTypeEnum;
|
|
3186
|
+
slotId: number;
|
|
3187
|
+
eventId: number;
|
|
3188
|
+
isPrivate: boolean;
|
|
3196
3189
|
}
|
|
3197
|
-
export
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3190
|
+
export interface IPurchasedResourcesRaw {
|
|
3191
|
+
purchasedId: number;
|
|
3192
|
+
purchasedProductUserId: number;
|
|
3193
|
+
purchasedResourceId: number;
|
|
3194
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3195
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3196
|
+
pUserId: number;
|
|
3197
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3198
|
+
pUserProductId: number;
|
|
3199
|
+
pUserProductName: string;
|
|
3200
|
+
pUserProductPrice: number;
|
|
3201
|
+
pUserProductPriceCurrency: string;
|
|
3202
|
+
pUserProductQuantity: number;
|
|
3203
|
+
pUserProductQuantityLeft: number;
|
|
3204
|
+
pUserUserId: number;
|
|
3201
3205
|
}
|
|
3202
|
-
export
|
|
3203
|
-
|
|
3204
|
-
|
|
3206
|
+
export interface IUsersPasses {
|
|
3207
|
+
userId: number;
|
|
3208
|
+
userFirstName: string;
|
|
3209
|
+
userLastName: string;
|
|
3210
|
+
organizationId: number;
|
|
3211
|
+
programId: number;
|
|
3212
|
+
programName: string;
|
|
3213
|
+
sessionId: number;
|
|
3214
|
+
sessionName: string;
|
|
3215
|
+
productId: number;
|
|
3216
|
+
productName: string;
|
|
3217
|
+
productUserId: number;
|
|
3218
|
+
purchaseDate: Date;
|
|
3219
|
+
passesLeft: number;
|
|
3205
3220
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3221
|
+
export interface ISessionsLandingPage {
|
|
3222
|
+
sessionId: number;
|
|
3223
|
+
name: string;
|
|
3224
|
+
startDate: Date;
|
|
3225
|
+
endDate: Date;
|
|
3226
|
+
registrationStartDate: Date;
|
|
3227
|
+
registrationEndDate: Date;
|
|
3228
|
+
sport: SportsEnum;
|
|
3229
|
+
minAge: string;
|
|
3230
|
+
maxAge: string;
|
|
3231
|
+
maxParticipants?: number;
|
|
3232
|
+
gender: GenderEnum;
|
|
3233
|
+
activityTimes: ActivityTimes[];
|
|
3234
|
+
earlyRegistrationStartDate?: Date;
|
|
3235
|
+
earlyRegistrationEndDate?: Date;
|
|
3236
|
+
lateRegistrationStartDate?: Date;
|
|
3237
|
+
lateRegistrationEndDate?: Date;
|
|
3238
|
+
attendeeCount?: number;
|
|
3239
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3212
3240
|
}
|
|
3213
|
-
export
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3241
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3242
|
+
hasRequiredMembership: boolean;
|
|
3243
|
+
hasEntitledPricing: boolean;
|
|
3244
|
+
lowestPrice?: number;
|
|
3245
|
+
products?: ISessionLandingPageProduct[];
|
|
3218
3246
|
}
|
|
3219
|
-
export
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3247
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3248
|
+
hasRequiredMembership: boolean;
|
|
3249
|
+
hasEntitledPricing: boolean;
|
|
3250
|
+
products?: ISessionLandingPageProduct[];
|
|
3251
|
+
segments?: Event[] | ProgramSeason[];
|
|
3252
|
+
programName: string;
|
|
3253
|
+
programId: number;
|
|
3254
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3255
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3223
3256
|
}
|
|
3224
|
-
export
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3257
|
+
export interface ISlimAddons {
|
|
3258
|
+
addons?: {
|
|
3259
|
+
id: number;
|
|
3260
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3261
|
+
name: string;
|
|
3262
|
+
productType?: ProductTypesEnum;
|
|
3263
|
+
productSubType?: string;
|
|
3264
|
+
}[];
|
|
3228
3265
|
}
|
|
3229
|
-
export
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3266
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3267
|
+
id: number;
|
|
3268
|
+
name: string;
|
|
3269
|
+
startDate?: Date;
|
|
3270
|
+
endDate?: Date;
|
|
3271
|
+
downpayment?: number;
|
|
3272
|
+
description?: string;
|
|
3273
|
+
prices: Price[];
|
|
3274
|
+
productSubType?: ProductSubTypesEnum;
|
|
3275
|
+
punchCard: boolean;
|
|
3276
|
+
isAddon: boolean;
|
|
3277
|
+
defaultPriceId?: number;
|
|
3237
3278
|
}
|
|
3238
|
-
export
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3279
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3280
|
+
destinationId?: string;
|
|
3281
|
+
stripeCustomerId?: string;
|
|
3282
|
+
fee?: number;
|
|
3242
3283
|
}
|
|
3243
|
-
export
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3284
|
+
export interface IReservationCreatorData {
|
|
3285
|
+
type: ResourceNameTypeEnum;
|
|
3286
|
+
id: number;
|
|
3287
|
+
organizationId: number;
|
|
3288
|
+
startDate: string;
|
|
3289
|
+
endDate: string;
|
|
3290
|
+
sportId: number;
|
|
3247
3291
|
}
|
|
3248
|
-
export declare
|
|
3249
|
-
|
|
3250
|
-
|
|
3292
|
+
export declare class ColumnNumericTransformer {
|
|
3293
|
+
to(data: number): number;
|
|
3294
|
+
from(data: string): number;
|
|
3251
3295
|
}
|
|
3252
|
-
export declare
|
|
3253
|
-
|
|
3254
|
-
|
|
3296
|
+
export declare function convertToNumber(data: string): number;
|
|
3297
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3298
|
+
entityType: string;
|
|
3299
|
+
entityId: number;
|
|
3255
3300
|
}
|
|
3256
|
-
export declare
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
3261
|
-
APPEND = "append"
|
|
3301
|
+
export declare class Matches extends BondBaseEntity {
|
|
3302
|
+
eventId: number | null;
|
|
3303
|
+
status: number | null;
|
|
3304
|
+
excludeStandings: boolean | null;
|
|
3262
3305
|
}
|
|
3263
|
-
export declare
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3306
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3307
|
+
matchId: number | null;
|
|
3308
|
+
ordinal: number | null;
|
|
3309
|
+
outcomeOrdinal: number | null;
|
|
3310
|
+
resultMetaData: any | null;
|
|
3311
|
+
points: number | null;
|
|
3312
|
+
score: number | null;
|
|
3313
|
+
gameSlotId: number | null;
|
|
3267
3314
|
}
|
|
3268
|
-
export declare
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3315
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3316
|
+
roundId: number;
|
|
3317
|
+
eventId: number;
|
|
3318
|
+
seriesId: number | null;
|
|
3319
|
+
createdAt: Date;
|
|
3320
|
+
updatedAt: Date;
|
|
3272
3321
|
}
|
|
3273
|
-
export declare
|
|
3274
|
-
|
|
3275
|
-
|
|
3322
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3323
|
+
seasonId: number;
|
|
3324
|
+
ordinal?: number;
|
|
3325
|
+
divisionId?: number;
|
|
3326
|
+
name: string;
|
|
3276
3327
|
}
|
|
3277
|
-
export declare
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
CANCELED = "canceled"
|
|
3328
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3329
|
+
teamId: number | null;
|
|
3330
|
+
eventId: number | null;
|
|
3331
|
+
status: number | null;
|
|
3282
3332
|
}
|
|
3283
|
-
export declare
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
DISABLED_INFO_ONLY = 3,
|
|
3287
|
-
DISABLED_EMAIL = 4
|
|
3333
|
+
export declare class Lock extends BondBaseEntity {
|
|
3334
|
+
name: string;
|
|
3335
|
+
locked?: Date;
|
|
3288
3336
|
}
|
|
3289
3337
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3290
3338
|
name?: string;
|
|
@@ -3344,13 +3392,6 @@ export declare class ProductImportDto {
|
|
|
3344
3392
|
resourceIds: number[];
|
|
3345
3393
|
oldId: number;
|
|
3346
3394
|
}
|
|
3347
|
-
export declare class PunchPassDto {
|
|
3348
|
-
CustomerID: string;
|
|
3349
|
-
QuantityLeft: number;
|
|
3350
|
-
BondProgramID: number;
|
|
3351
|
-
BondSessionID: number;
|
|
3352
|
-
ProductID: number;
|
|
3353
|
-
}
|
|
3354
3395
|
export declare class ImportedSlotProductDto {
|
|
3355
3396
|
slotID?: string;
|
|
3356
3397
|
name?: string;
|
|
@@ -3402,50 +3443,12 @@ export declare class ImportedReservationDto {
|
|
|
3402
3443
|
slots?: ImportedSlotDto[];
|
|
3403
3444
|
addons?: ImportedSlotProductDto[];
|
|
3404
3445
|
}
|
|
3405
|
-
export declare class
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
entityType: string;
|
|
3412
|
-
entityId: number;
|
|
3413
|
-
}
|
|
3414
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3415
|
-
matchId: number | null;
|
|
3416
|
-
ordinal: number | null;
|
|
3417
|
-
outcomeOrdinal: number | null;
|
|
3418
|
-
resultMetaData: any | null;
|
|
3419
|
-
points: number | null;
|
|
3420
|
-
score: number | null;
|
|
3421
|
-
gameSlotId: number | null;
|
|
3422
|
-
}
|
|
3423
|
-
export declare class Matches extends BondBaseEntity {
|
|
3424
|
-
eventId: number | null;
|
|
3425
|
-
status: number | null;
|
|
3426
|
-
excludeStandings: boolean | null;
|
|
3427
|
-
}
|
|
3428
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3429
|
-
roundId: number;
|
|
3430
|
-
eventId: number;
|
|
3431
|
-
seriesId: number | null;
|
|
3432
|
-
createdAt: Date;
|
|
3433
|
-
updatedAt: Date;
|
|
3434
|
-
}
|
|
3435
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3436
|
-
seasonId: number;
|
|
3437
|
-
ordinal?: number;
|
|
3438
|
-
divisionId?: number;
|
|
3439
|
-
name: string;
|
|
3440
|
-
}
|
|
3441
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3442
|
-
teamId: number | null;
|
|
3443
|
-
eventId: number | null;
|
|
3444
|
-
status: number | null;
|
|
3445
|
-
}
|
|
3446
|
-
export declare class Lock extends BondBaseEntity {
|
|
3447
|
-
name: string;
|
|
3448
|
-
locked?: Date;
|
|
3446
|
+
export declare class PunchPassDto {
|
|
3447
|
+
CustomerID: string;
|
|
3448
|
+
QuantityLeft: number;
|
|
3449
|
+
BondProgramID: number;
|
|
3450
|
+
BondSessionID: number;
|
|
3451
|
+
ProductID: number;
|
|
3449
3452
|
}
|
|
3450
3453
|
export interface ValidatedMonthAndDay {
|
|
3451
3454
|
valid: boolean;
|
|
@@ -3468,102 +3471,23 @@ export interface PaymentStatusesDict {
|
|
|
3468
3471
|
export interface PaymentStatusDict {
|
|
3469
3472
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3470
3473
|
}
|
|
3471
|
-
export declare class
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
}
|
|
3477
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3478
|
-
programsIds?: string;
|
|
3479
|
-
sessionsIds?: string;
|
|
3480
|
-
segmentsIds?: string;
|
|
3481
|
-
startDate?: string;
|
|
3482
|
-
endDate?: string;
|
|
3483
|
-
months?: string;
|
|
3484
|
-
dow?: string;
|
|
3485
|
-
}
|
|
3486
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3487
|
-
programsIds?: string;
|
|
3488
|
-
sessionsIds?: string;
|
|
3489
|
-
segmentsIds?: string;
|
|
3490
|
-
startDate?: string;
|
|
3491
|
-
endDate?: string;
|
|
3492
|
-
months?: string;
|
|
3493
|
-
dow?: string;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class Organization extends BondBaseEntity {
|
|
3496
|
-
name: string | null;
|
|
3497
|
-
email: string | null;
|
|
3498
|
-
twitter: string | null;
|
|
3499
|
-
facebook: string | null;
|
|
3500
|
-
instagram: string | null;
|
|
3501
|
-
website: string | null;
|
|
3502
|
-
blog: string | null;
|
|
3503
|
-
phoneNumber: string | null;
|
|
3504
|
-
waiverDoc: string | null;
|
|
3505
|
-
about: string | null;
|
|
3506
|
-
tagline: string | null;
|
|
3507
|
-
status: number | null;
|
|
3508
|
-
addressId: number | null;
|
|
3509
|
-
merchantId: number | null;
|
|
3510
|
-
userCreatorId: number | null;
|
|
3511
|
-
parentId: number | null;
|
|
3512
|
-
paymentSettings: object | null;
|
|
3513
|
-
settings: object | null;
|
|
3514
|
-
isClaimed: boolean | null;
|
|
3515
|
-
sports: number[] | null;
|
|
3516
|
-
mainMediaId: number | null;
|
|
3517
|
-
deletedAt: Date | null;
|
|
3518
|
-
organizationActivityTypes: number[] | null;
|
|
3519
|
-
organizationTypes: number[] | null;
|
|
3520
|
-
organizationAudienceTypes: number[] | null;
|
|
3521
|
-
organizationGenders: number[] | null;
|
|
3522
|
-
questionnaireId: number | null;
|
|
3523
|
-
membershipQuestionnaireId: number | null;
|
|
3524
|
-
feeRate: number;
|
|
3525
|
-
feeAddDollarRate: number;
|
|
3526
|
-
achFeeRate: number;
|
|
3527
|
-
achFeeAddDollarRate: number;
|
|
3528
|
-
maxAchFee: number;
|
|
3529
|
-
cashFeeRate: number;
|
|
3530
|
-
cashFeeAddDollarRate: number;
|
|
3531
|
-
terminalFeeRate: number;
|
|
3532
|
-
terminalFeeAddDollarRate: number;
|
|
3533
|
-
checkFeeRate: number;
|
|
3534
|
-
checkFeeAddDollarRate: number;
|
|
3535
|
-
otherFeeRate: number;
|
|
3536
|
-
otherFeeAddDollarRate: number;
|
|
3537
|
-
balanceFeeRate: number;
|
|
3538
|
-
balanceFeeAddDollarRate: number;
|
|
3539
|
-
address: Address;
|
|
3540
|
-
mainMedia: Media;
|
|
3541
|
-
brandings: OrganizationBranding[];
|
|
3542
|
-
brandingsV2?: OrganizationBranding[];
|
|
3543
|
-
}
|
|
3544
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3545
|
-
key?: string;
|
|
3546
|
-
vaule?: string;
|
|
3547
|
-
version: number;
|
|
3548
|
-
organization: Organization;
|
|
3549
|
-
}
|
|
3550
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3551
|
-
mainAdminUserId?: number;
|
|
3552
|
-
}
|
|
3553
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3554
|
-
organisationId: number | null;
|
|
3555
|
-
userId: number | null;
|
|
3474
|
+
export declare class CreateMonitorConfigDto {
|
|
3475
|
+
facilityId: number;
|
|
3476
|
+
name: string;
|
|
3477
|
+
code: string;
|
|
3478
|
+
config: any;
|
|
3556
3479
|
}
|
|
3557
|
-
export
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
durations?: Duration[];
|
|
3562
|
-
daysOfWeek?: number[];
|
|
3480
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3481
|
+
facilityId: number;
|
|
3482
|
+
code: string;
|
|
3483
|
+
config?: any;
|
|
3563
3484
|
}
|
|
3564
|
-
export
|
|
3565
|
-
|
|
3566
|
-
|
|
3485
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3486
|
+
userId: number;
|
|
3487
|
+
organizationId: number;
|
|
3488
|
+
notifyMetadata?: any;
|
|
3489
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3490
|
+
destination: string;
|
|
3567
3491
|
}
|
|
3568
3492
|
export declare class CustomerIdDto {
|
|
3569
3493
|
customerId: number;
|
|
@@ -3748,6 +3672,92 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3748
3672
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3749
3673
|
totalAmountProcessed: number;
|
|
3750
3674
|
}
|
|
3675
|
+
export declare class ByOrganizationIdDto {
|
|
3676
|
+
organizationId: number;
|
|
3677
|
+
}
|
|
3678
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3679
|
+
organizationId?: number;
|
|
3680
|
+
}
|
|
3681
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3682
|
+
programsIds?: string;
|
|
3683
|
+
sessionsIds?: string;
|
|
3684
|
+
segmentsIds?: string;
|
|
3685
|
+
startDate?: string;
|
|
3686
|
+
endDate?: string;
|
|
3687
|
+
months?: string;
|
|
3688
|
+
dow?: string;
|
|
3689
|
+
}
|
|
3690
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3691
|
+
programsIds?: string;
|
|
3692
|
+
sessionsIds?: string;
|
|
3693
|
+
segmentsIds?: string;
|
|
3694
|
+
startDate?: string;
|
|
3695
|
+
endDate?: string;
|
|
3696
|
+
months?: string;
|
|
3697
|
+
dow?: string;
|
|
3698
|
+
}
|
|
3699
|
+
export declare class Organization extends BondBaseEntity {
|
|
3700
|
+
name: string | null;
|
|
3701
|
+
email: string | null;
|
|
3702
|
+
twitter: string | null;
|
|
3703
|
+
facebook: string | null;
|
|
3704
|
+
instagram: string | null;
|
|
3705
|
+
website: string | null;
|
|
3706
|
+
blog: string | null;
|
|
3707
|
+
phoneNumber: string | null;
|
|
3708
|
+
waiverDoc: string | null;
|
|
3709
|
+
about: string | null;
|
|
3710
|
+
tagline: string | null;
|
|
3711
|
+
status: number | null;
|
|
3712
|
+
addressId: number | null;
|
|
3713
|
+
merchantId: number | null;
|
|
3714
|
+
userCreatorId: number | null;
|
|
3715
|
+
parentId: number | null;
|
|
3716
|
+
paymentSettings: object | null;
|
|
3717
|
+
settings: object | null;
|
|
3718
|
+
isClaimed: boolean | null;
|
|
3719
|
+
sports: number[] | null;
|
|
3720
|
+
mainMediaId: number | null;
|
|
3721
|
+
deletedAt: Date | null;
|
|
3722
|
+
organizationActivityTypes: number[] | null;
|
|
3723
|
+
organizationTypes: number[] | null;
|
|
3724
|
+
organizationAudienceTypes: number[] | null;
|
|
3725
|
+
organizationGenders: number[] | null;
|
|
3726
|
+
questionnaireId: number | null;
|
|
3727
|
+
membershipQuestionnaireId: number | null;
|
|
3728
|
+
feeRate: number;
|
|
3729
|
+
feeAddDollarRate: number;
|
|
3730
|
+
achFeeRate: number;
|
|
3731
|
+
achFeeAddDollarRate: number;
|
|
3732
|
+
maxAchFee: number;
|
|
3733
|
+
cashFeeRate: number;
|
|
3734
|
+
cashFeeAddDollarRate: number;
|
|
3735
|
+
terminalFeeRate: number;
|
|
3736
|
+
terminalFeeAddDollarRate: number;
|
|
3737
|
+
checkFeeRate: number;
|
|
3738
|
+
checkFeeAddDollarRate: number;
|
|
3739
|
+
otherFeeRate: number;
|
|
3740
|
+
otherFeeAddDollarRate: number;
|
|
3741
|
+
balanceFeeRate: number;
|
|
3742
|
+
balanceFeeAddDollarRate: number;
|
|
3743
|
+
address: Address;
|
|
3744
|
+
mainMedia: Media;
|
|
3745
|
+
brandings: OrganizationBranding[];
|
|
3746
|
+
brandingsV2?: OrganizationBranding[];
|
|
3747
|
+
}
|
|
3748
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3749
|
+
key?: string;
|
|
3750
|
+
vaule?: string;
|
|
3751
|
+
version: number;
|
|
3752
|
+
organization: Organization;
|
|
3753
|
+
}
|
|
3754
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3755
|
+
mainAdminUserId?: number;
|
|
3756
|
+
}
|
|
3757
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3758
|
+
organisationId: number | null;
|
|
3759
|
+
userId: number | null;
|
|
3760
|
+
}
|
|
3751
3761
|
export declare class AddonDto extends ProductPricesDto {
|
|
3752
3762
|
id?: number;
|
|
3753
3763
|
}
|
|
@@ -3766,6 +3776,17 @@ export declare class EditAddonDto {
|
|
|
3766
3776
|
totalPrice: number;
|
|
3767
3777
|
unitPrice?: number;
|
|
3768
3778
|
}
|
|
3779
|
+
export interface UnallocatedEventsFilters {
|
|
3780
|
+
programsIds?: number[];
|
|
3781
|
+
sessionsIds?: number[];
|
|
3782
|
+
segmentsIds?: number[];
|
|
3783
|
+
durations?: Duration[];
|
|
3784
|
+
daysOfWeek?: number[];
|
|
3785
|
+
}
|
|
3786
|
+
export interface Duration {
|
|
3787
|
+
startDate: string;
|
|
3788
|
+
endDate: string;
|
|
3789
|
+
}
|
|
3769
3790
|
export declare class InvoiceDto {
|
|
3770
3791
|
invoiceId?: string | null;
|
|
3771
3792
|
organizationId: number;
|
|
@@ -3992,6 +4013,9 @@ export declare class EditReservationDetailsDto {
|
|
|
3992
4013
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3993
4014
|
updateAddons?: boolean;
|
|
3994
4015
|
}
|
|
4016
|
+
export declare class ReservationNotifyDto {
|
|
4017
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
4018
|
+
}
|
|
3995
4019
|
export declare class SegmentDto {
|
|
3996
4020
|
id?: number;
|
|
3997
4021
|
title: string;
|
|
@@ -4161,6 +4185,20 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4161
4185
|
invoiceId: number;
|
|
4162
4186
|
slotId: number;
|
|
4163
4187
|
}
|
|
4188
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4189
|
+
deletedAt?: Date;
|
|
4190
|
+
reservationId: number;
|
|
4191
|
+
title: string;
|
|
4192
|
+
isPrivate: boolean;
|
|
4193
|
+
resourceIds?: number[];
|
|
4194
|
+
sportId: number;
|
|
4195
|
+
reservation?: Reservation;
|
|
4196
|
+
series?: Series[];
|
|
4197
|
+
addonIds?: number[] | null;
|
|
4198
|
+
publicNotesForSlots?: string;
|
|
4199
|
+
privateNotesForSlots?: string;
|
|
4200
|
+
slots?: Slot[];
|
|
4201
|
+
}
|
|
4164
4202
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4165
4203
|
name?: string;
|
|
4166
4204
|
description?: string;
|
|
@@ -4194,20 +4232,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4194
4232
|
targetGlobalPrice?: number;
|
|
4195
4233
|
slots: Slot[];
|
|
4196
4234
|
}
|
|
4197
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4198
|
-
deletedAt?: Date;
|
|
4199
|
-
reservationId: number;
|
|
4200
|
-
title: string;
|
|
4201
|
-
isPrivate: boolean;
|
|
4202
|
-
resourceIds?: number[];
|
|
4203
|
-
sportId: number;
|
|
4204
|
-
reservation?: Reservation;
|
|
4205
|
-
series?: Series[];
|
|
4206
|
-
addonIds?: number[] | null;
|
|
4207
|
-
publicNotesForSlots?: string;
|
|
4208
|
-
privateNotesForSlots?: string;
|
|
4209
|
-
slots?: Slot[];
|
|
4210
|
-
}
|
|
4211
4235
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4212
4236
|
deletedAt?: Date;
|
|
4213
4237
|
segmentId: number;
|
|
@@ -4537,15 +4561,15 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4537
4561
|
export declare class CreateRoleDto {
|
|
4538
4562
|
name: string;
|
|
4539
4563
|
}
|
|
4540
|
-
export declare class
|
|
4564
|
+
export declare class Permission extends BondBaseEntity {
|
|
4541
4565
|
name: string;
|
|
4542
4566
|
deletedAt?: Date;
|
|
4543
|
-
permissions: Permission[];
|
|
4544
|
-
usersRoles: UserRole[];
|
|
4545
4567
|
}
|
|
4546
|
-
export declare class
|
|
4568
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4547
4569
|
name: string;
|
|
4548
4570
|
deletedAt?: Date;
|
|
4571
|
+
permissions: Permission[];
|
|
4572
|
+
usersRoles: UserRole[];
|
|
4549
4573
|
}
|
|
4550
4574
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4551
4575
|
deletedAt?: Date;
|
|
@@ -4620,14 +4644,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4620
4644
|
closingManager?: User;
|
|
4621
4645
|
reconcilingUser?: User;
|
|
4622
4646
|
}
|
|
4623
|
-
export declare class CreateMonitorConfigDto {
|
|
4624
|
-
facilityId: number;
|
|
4625
|
-
name: string;
|
|
4626
|
-
code: string;
|
|
4627
|
-
config: any;
|
|
4628
|
-
}
|
|
4629
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
4630
|
-
facilityId: number;
|
|
4631
|
-
code: string;
|
|
4632
|
-
config?: any;
|
|
4633
|
-
}
|