@bondsports/types 0.0.116 → 0.0.118
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 +1123 -1093
- 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
|
@@ -291,6 +291,79 @@ export declare class GetGlCodeDto {
|
|
|
291
291
|
createdAt: Date;
|
|
292
292
|
updatedAt: Date;
|
|
293
293
|
}
|
|
294
|
+
export declare class FindByProgramSeasonIdDto {
|
|
295
|
+
seasonId: number;
|
|
296
|
+
}
|
|
297
|
+
export declare class CreateBulkDivisionsDto {
|
|
298
|
+
divisions: CreateDivisionDto[];
|
|
299
|
+
}
|
|
300
|
+
export declare class CreateDivisionDto {
|
|
301
|
+
name: string;
|
|
302
|
+
ordinal?: number;
|
|
303
|
+
programSeasonId: number;
|
|
304
|
+
color: string;
|
|
305
|
+
isDefault: boolean;
|
|
306
|
+
}
|
|
307
|
+
export declare class CreateGroupDto {
|
|
308
|
+
name: string;
|
|
309
|
+
description?: string;
|
|
310
|
+
status?: GroupStatusEnum;
|
|
311
|
+
maxCapacity?: number;
|
|
312
|
+
mainMediaId?: number;
|
|
313
|
+
minAgeYears?: number;
|
|
314
|
+
maxAgeYears?: number;
|
|
315
|
+
gender: GenderEnum;
|
|
316
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
317
|
+
sports: SportsEnum[];
|
|
318
|
+
questionnaires?: number[];
|
|
319
|
+
captainUserId?: number;
|
|
320
|
+
divisionId?: number;
|
|
321
|
+
}
|
|
322
|
+
export declare class ConnectGroupToDivision {
|
|
323
|
+
groupId: number;
|
|
324
|
+
divisionId: number;
|
|
325
|
+
prevDivisionId: number;
|
|
326
|
+
}
|
|
327
|
+
export declare class MoveUserInGroups {
|
|
328
|
+
userId: number;
|
|
329
|
+
groupId?: number;
|
|
330
|
+
prevGroupId?: number;
|
|
331
|
+
}
|
|
332
|
+
export declare class SaveUserAsGroupCaptain {
|
|
333
|
+
groupId: number;
|
|
334
|
+
userId: number;
|
|
335
|
+
}
|
|
336
|
+
export declare class CreateTeamInviteDto {
|
|
337
|
+
emails: string[];
|
|
338
|
+
userCreatorId: number;
|
|
339
|
+
}
|
|
340
|
+
export declare class TeamByIdDto {
|
|
341
|
+
teamId: number;
|
|
342
|
+
}
|
|
343
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
344
|
+
inviteToken: string;
|
|
345
|
+
}
|
|
346
|
+
export declare class JoinTeamDto {
|
|
347
|
+
userId: number;
|
|
348
|
+
inviteToken?: string;
|
|
349
|
+
}
|
|
350
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
351
|
+
userId: number;
|
|
352
|
+
}
|
|
353
|
+
export interface IMoveSeason {
|
|
354
|
+
fromSeasonId: number;
|
|
355
|
+
toSeasonId: number;
|
|
356
|
+
}
|
|
357
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
358
|
+
teamId?: number;
|
|
359
|
+
memberId?: number;
|
|
360
|
+
fromSeasonId: number;
|
|
361
|
+
toSeasonId: number;
|
|
362
|
+
toDivisionId?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
|
+
fileName: string;
|
|
366
|
+
}
|
|
294
367
|
export declare class CreateMembershipDto {
|
|
295
368
|
organizationId: number;
|
|
296
369
|
name: string;
|
|
@@ -389,97 +462,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
389
462
|
discountValue?: number;
|
|
390
463
|
discountMethod?: DiscountMethodsEnum;
|
|
391
464
|
}
|
|
392
|
-
export declare class FindByProgramSeasonIdDto {
|
|
393
|
-
seasonId: number;
|
|
394
|
-
}
|
|
395
|
-
export declare class CreateBulkDivisionsDto {
|
|
396
|
-
divisions: CreateDivisionDto[];
|
|
397
|
-
}
|
|
398
|
-
export declare class CreateDivisionDto {
|
|
399
|
-
name: string;
|
|
400
|
-
ordinal?: number;
|
|
401
|
-
programSeasonId: number;
|
|
402
|
-
color: string;
|
|
403
|
-
isDefault: boolean;
|
|
404
|
-
}
|
|
405
|
-
export declare class CreateGroupDto {
|
|
406
|
-
name: string;
|
|
407
|
-
description?: string;
|
|
408
|
-
status?: GroupStatusEnum;
|
|
409
|
-
maxCapacity?: number;
|
|
410
|
-
mainMediaId?: number;
|
|
411
|
-
minAgeYears?: number;
|
|
412
|
-
maxAgeYears?: number;
|
|
413
|
-
gender: GenderEnum;
|
|
414
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
415
|
-
sports: SportsEnum[];
|
|
416
|
-
questionnaires?: number[];
|
|
417
|
-
captainUserId?: number;
|
|
418
|
-
divisionId?: number;
|
|
419
|
-
}
|
|
420
|
-
export declare class ConnectGroupToDivision {
|
|
421
|
-
groupId: number;
|
|
422
|
-
divisionId: number;
|
|
423
|
-
prevDivisionId: number;
|
|
424
|
-
}
|
|
425
|
-
export declare class MoveUserInGroups {
|
|
426
|
-
userId: number;
|
|
427
|
-
groupId?: number;
|
|
428
|
-
prevGroupId?: number;
|
|
429
|
-
}
|
|
430
|
-
export declare class SaveUserAsGroupCaptain {
|
|
431
|
-
groupId: number;
|
|
432
|
-
userId: number;
|
|
433
|
-
}
|
|
434
|
-
export declare class CreateTeamInviteDto {
|
|
435
|
-
emails: string[];
|
|
436
|
-
userCreatorId: number;
|
|
437
|
-
}
|
|
438
|
-
export declare class TeamByIdDto {
|
|
439
|
-
teamId: number;
|
|
440
|
-
}
|
|
441
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
442
|
-
inviteToken: string;
|
|
443
|
-
}
|
|
444
|
-
export declare class JoinTeamDto {
|
|
445
|
-
userId: number;
|
|
446
|
-
inviteToken?: string;
|
|
447
|
-
}
|
|
448
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
449
|
-
userId: number;
|
|
450
|
-
}
|
|
451
|
-
export interface IMoveSeason {
|
|
452
|
-
fromSeasonId: number;
|
|
453
|
-
toSeasonId: number;
|
|
454
|
-
}
|
|
455
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
456
|
-
teamId?: number;
|
|
457
|
-
memberId?: number;
|
|
458
|
-
fromSeasonId: number;
|
|
459
|
-
toSeasonId: number;
|
|
460
|
-
toDivisionId?: number;
|
|
461
|
-
}
|
|
462
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
463
|
-
fileName: string;
|
|
464
|
-
}
|
|
465
|
-
export declare class CreateUpdateVariantsDto {
|
|
466
|
-
organizationId: number;
|
|
467
|
-
parentProductId: number;
|
|
468
|
-
variantTitles: VariantTitleDto[];
|
|
469
|
-
variants: VariantDto[];
|
|
470
|
-
}
|
|
471
|
-
export declare class VariantTitleDto {
|
|
472
|
-
titleName: string;
|
|
473
|
-
titleId: number;
|
|
474
|
-
}
|
|
475
|
-
export declare class VariantDto {
|
|
476
|
-
name: string;
|
|
477
|
-
price: number;
|
|
478
|
-
variantId: number;
|
|
479
|
-
currency: CurrencyEnum;
|
|
480
|
-
startDate: Date;
|
|
481
|
-
endDate: Date;
|
|
482
|
-
}
|
|
483
465
|
export declare class FindByProductIdDto {
|
|
484
466
|
productId: number;
|
|
485
467
|
}
|
|
@@ -701,6 +683,68 @@ export declare class createResourceDto {
|
|
|
701
683
|
export declare class archiveDto {
|
|
702
684
|
isArchive: boolean;
|
|
703
685
|
}
|
|
686
|
+
export declare class CreateUpdateVariantsDto {
|
|
687
|
+
organizationId: number;
|
|
688
|
+
parentProductId: number;
|
|
689
|
+
variantTitles: VariantTitleDto[];
|
|
690
|
+
variants: VariantDto[];
|
|
691
|
+
}
|
|
692
|
+
export declare class VariantTitleDto {
|
|
693
|
+
titleName: string;
|
|
694
|
+
titleId: number;
|
|
695
|
+
}
|
|
696
|
+
export declare class VariantDto {
|
|
697
|
+
name: string;
|
|
698
|
+
price: number;
|
|
699
|
+
variantId: number;
|
|
700
|
+
currency: CurrencyEnum;
|
|
701
|
+
startDate: Date;
|
|
702
|
+
endDate: Date;
|
|
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
|
+
}
|
|
704
748
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
705
749
|
programId: number;
|
|
706
750
|
}
|
|
@@ -888,64 +932,20 @@ export declare class MoveParticipantDto {
|
|
|
888
932
|
resourceId: number;
|
|
889
933
|
invoiceId: number;
|
|
890
934
|
}
|
|
891
|
-
export declare class
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
}
|
|
895
|
-
export declare class FindProgramByIdDto {
|
|
896
|
-
programId: number;
|
|
935
|
+
export declare class PurchasePaymentDto {
|
|
936
|
+
token: string;
|
|
937
|
+
type: PaymentMethodTypeEnum;
|
|
897
938
|
}
|
|
898
|
-
export declare class
|
|
899
|
-
programId: number;
|
|
939
|
+
export declare class ChargeRentalsReuqestDto {
|
|
900
940
|
organizationId: number;
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
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 PurchasePaymentDto {
|
|
936
|
-
token: string;
|
|
937
|
-
type: PaymentMethodTypeEnum;
|
|
938
|
-
}
|
|
939
|
-
export declare class ChargeRentalsReuqestDto {
|
|
940
|
-
organizationId: number;
|
|
941
|
-
userId?: number;
|
|
942
|
-
customerId?: number;
|
|
943
|
-
invoiceId: number;
|
|
944
|
-
paymentData: PurchasePaymentDto;
|
|
945
|
-
amountToPay: number;
|
|
946
|
-
total: number;
|
|
947
|
-
platform: PlatformsEnum;
|
|
948
|
-
shiftId?: number;
|
|
941
|
+
userId?: number;
|
|
942
|
+
customerId?: number;
|
|
943
|
+
invoiceId: number;
|
|
944
|
+
paymentData: PurchasePaymentDto;
|
|
945
|
+
amountToPay: number;
|
|
946
|
+
total: number;
|
|
947
|
+
platform: PlatformsEnum;
|
|
948
|
+
shiftId?: number;
|
|
949
949
|
}
|
|
950
950
|
export declare class PurchaseRequestDto {
|
|
951
951
|
purchasingUserId: number;
|
|
@@ -1017,25 +1017,6 @@ export declare class ResourceDto {
|
|
|
1017
1017
|
type: ResourceNameTypeEnum;
|
|
1018
1018
|
id: number;
|
|
1019
1019
|
}
|
|
1020
|
-
export declare class StripeCustomerIdDto {
|
|
1021
|
-
userId: number;
|
|
1022
|
-
}
|
|
1023
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1024
|
-
paymentMethodId: string;
|
|
1025
|
-
}
|
|
1026
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1027
|
-
publicToken: string;
|
|
1028
|
-
accountId: string;
|
|
1029
|
-
}
|
|
1030
|
-
export declare class FindByUserIdDto {
|
|
1031
|
-
userId: number;
|
|
1032
|
-
}
|
|
1033
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1034
|
-
familyAccountId?: number;
|
|
1035
|
-
}
|
|
1036
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1037
|
-
organizationId: number;
|
|
1038
|
-
}
|
|
1039
1020
|
export declare class SpaceByIdDto {
|
|
1040
1021
|
spaceId: number;
|
|
1041
1022
|
}
|
|
@@ -1092,6 +1073,25 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1092
1073
|
types?: string;
|
|
1093
1074
|
resourcesIds?: string;
|
|
1094
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
|
+
export declare class StripeCustomerIdDto {
|
|
1086
|
+
userId: number;
|
|
1087
|
+
}
|
|
1088
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1089
|
+
paymentMethodId: string;
|
|
1090
|
+
}
|
|
1091
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1092
|
+
publicToken: string;
|
|
1093
|
+
accountId: string;
|
|
1094
|
+
}
|
|
1095
1095
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1096
1096
|
entityType: ResourceNameTypeEnum;
|
|
1097
1097
|
entityId: number;
|
|
@@ -1129,6 +1129,12 @@ export declare class Address extends BondBaseEntity {
|
|
|
1129
1129
|
geo: any;
|
|
1130
1130
|
deletedAt?: Date;
|
|
1131
1131
|
}
|
|
1132
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1133
|
+
questionnaireId: number;
|
|
1134
|
+
userId?: number;
|
|
1135
|
+
answers: Answer[];
|
|
1136
|
+
questionnaire: Questionnaires;
|
|
1137
|
+
}
|
|
1132
1138
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1133
1139
|
questionId: number;
|
|
1134
1140
|
question?: Questions;
|
|
@@ -1142,12 +1148,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1142
1148
|
metaData: any | null;
|
|
1143
1149
|
questionText: string | null;
|
|
1144
1150
|
}
|
|
1145
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1146
|
-
questionnaireId: number;
|
|
1147
|
-
userId?: number;
|
|
1148
|
-
answers: Answer[];
|
|
1149
|
-
questionnaire: Questionnaires;
|
|
1150
|
-
}
|
|
1151
1151
|
export declare class Athlete extends BondBaseEntity {
|
|
1152
1152
|
userId: number | null;
|
|
1153
1153
|
metadata: object | null;
|
|
@@ -1360,6 +1360,9 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1360
1360
|
activityTimes: ActivityTimes[];
|
|
1361
1361
|
slots: Slot[];
|
|
1362
1362
|
purchasedResources: PurchasedResource[];
|
|
1363
|
+
program?: Program;
|
|
1364
|
+
session?: ProgramSeason;
|
|
1365
|
+
segment?: ProgramSeason;
|
|
1363
1366
|
}
|
|
1364
1367
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1365
1368
|
name: string;
|
|
@@ -1407,6 +1410,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1407
1410
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
1411
|
code: string;
|
|
1409
1412
|
}
|
|
1413
|
+
export declare class Group extends BondBaseEntity {
|
|
1414
|
+
name: string;
|
|
1415
|
+
description?: string;
|
|
1416
|
+
status: GroupStatusEnum;
|
|
1417
|
+
maxCapacity?: number;
|
|
1418
|
+
mainMediaId?: number;
|
|
1419
|
+
minAgeYears?: number;
|
|
1420
|
+
maxAgeYears?: number;
|
|
1421
|
+
gender: GenderEnum;
|
|
1422
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1423
|
+
sports: SportsEnum[];
|
|
1424
|
+
questionnaires?: number[];
|
|
1425
|
+
captainUserId?: number;
|
|
1426
|
+
members: ISeasonAttendeeInfo[];
|
|
1427
|
+
users: User[];
|
|
1428
|
+
}
|
|
1410
1429
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
1430
|
groupId: number;
|
|
1412
1431
|
itemId: number;
|
|
@@ -1425,22 +1444,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1425
1444
|
divisionId: number;
|
|
1426
1445
|
deletedAt?: Date;
|
|
1427
1446
|
}
|
|
1428
|
-
export declare class Group extends BondBaseEntity {
|
|
1429
|
-
name: string;
|
|
1430
|
-
description?: string;
|
|
1431
|
-
status: GroupStatusEnum;
|
|
1432
|
-
maxCapacity?: number;
|
|
1433
|
-
mainMediaId?: number;
|
|
1434
|
-
minAgeYears?: number;
|
|
1435
|
-
maxAgeYears?: number;
|
|
1436
|
-
gender: GenderEnum;
|
|
1437
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1438
|
-
sports: SportsEnum[];
|
|
1439
|
-
questionnaires?: number[];
|
|
1440
|
-
captainUserId?: number;
|
|
1441
|
-
members: ISeasonAttendeeInfo[];
|
|
1442
|
-
users: User[];
|
|
1443
|
-
}
|
|
1444
1447
|
export declare class Invoice extends BondBaseEntity {
|
|
1445
1448
|
invoiceId: string | null;
|
|
1446
1449
|
price: number | null;
|
|
@@ -2099,6 +2102,38 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2099
2102
|
closeTime?: string;
|
|
2100
2103
|
deletedAt?: Date;
|
|
2101
2104
|
}
|
|
2105
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2106
|
+
name?: string;
|
|
2107
|
+
description?: string;
|
|
2108
|
+
color?: string;
|
|
2109
|
+
status?: string;
|
|
2110
|
+
privacySetting?: string;
|
|
2111
|
+
reservationType?: string;
|
|
2112
|
+
invoiceId?: string;
|
|
2113
|
+
customerId?: number;
|
|
2114
|
+
length?: number;
|
|
2115
|
+
price?: number;
|
|
2116
|
+
sessions?: number;
|
|
2117
|
+
percentage?: number;
|
|
2118
|
+
paymentStatus?: number;
|
|
2119
|
+
paymentId?: number;
|
|
2120
|
+
startTime?: string;
|
|
2121
|
+
dayOfWeek?: number;
|
|
2122
|
+
resourcePackageId?: number;
|
|
2123
|
+
resourcePackageAmount?: number;
|
|
2124
|
+
startDate?: Date;
|
|
2125
|
+
endDate?: Date;
|
|
2126
|
+
originalReservationId?: number;
|
|
2127
|
+
creatorId?: number;
|
|
2128
|
+
creatorType?: string;
|
|
2129
|
+
userCreatorId?: number;
|
|
2130
|
+
ownerId?: number;
|
|
2131
|
+
sportType?: number;
|
|
2132
|
+
participantType?: string;
|
|
2133
|
+
deletedAt?: Date;
|
|
2134
|
+
publicNotes?: string;
|
|
2135
|
+
slots?: Slot[];
|
|
2136
|
+
}
|
|
2102
2137
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2103
2138
|
name: string;
|
|
2104
2139
|
resourceType: ResourceTypeEnum;
|
|
@@ -2134,38 +2169,6 @@ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
|
2134
2169
|
childrenSlotIds: number[];
|
|
2135
2170
|
deletedAt?: Date;
|
|
2136
2171
|
}
|
|
2137
|
-
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2138
|
-
name?: string;
|
|
2139
|
-
description?: string;
|
|
2140
|
-
color?: string;
|
|
2141
|
-
status?: string;
|
|
2142
|
-
privacySetting?: string;
|
|
2143
|
-
reservationType?: string;
|
|
2144
|
-
invoiceId?: string;
|
|
2145
|
-
customerId?: number;
|
|
2146
|
-
length?: number;
|
|
2147
|
-
price?: number;
|
|
2148
|
-
sessions?: number;
|
|
2149
|
-
percentage?: number;
|
|
2150
|
-
paymentStatus?: number;
|
|
2151
|
-
paymentId?: number;
|
|
2152
|
-
startTime?: string;
|
|
2153
|
-
dayOfWeek?: number;
|
|
2154
|
-
resourcePackageId?: number;
|
|
2155
|
-
resourcePackageAmount?: number;
|
|
2156
|
-
startDate?: Date;
|
|
2157
|
-
endDate?: Date;
|
|
2158
|
-
originalReservationId?: number;
|
|
2159
|
-
creatorId?: number;
|
|
2160
|
-
creatorType?: string;
|
|
2161
|
-
userCreatorId?: number;
|
|
2162
|
-
ownerId?: number;
|
|
2163
|
-
sportType?: number;
|
|
2164
|
-
participantType?: string;
|
|
2165
|
-
deletedAt?: Date;
|
|
2166
|
-
publicNotes?: string;
|
|
2167
|
-
slots?: Slot[];
|
|
2168
|
-
}
|
|
2169
2172
|
export declare class School extends BondBaseEntity {
|
|
2170
2173
|
name: string | null;
|
|
2171
2174
|
alias: string[] | null;
|
|
@@ -2372,6 +2375,12 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2372
2375
|
name: string;
|
|
2373
2376
|
variants: Variant[];
|
|
2374
2377
|
}
|
|
2378
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2379
|
+
name: string;
|
|
2380
|
+
variantTitleId: number;
|
|
2381
|
+
variantTitle: VariantTitle;
|
|
2382
|
+
deletedAt?: Date;
|
|
2383
|
+
}
|
|
2375
2384
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2376
2385
|
projectToken: string;
|
|
2377
2386
|
programTypesCollectionId?: string;
|
|
@@ -2380,914 +2389,903 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2380
2389
|
membershipCollectionId?: string;
|
|
2381
2390
|
programsCollectionId?: string;
|
|
2382
2391
|
}
|
|
2383
|
-
export
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2390
|
-
QUESTION = "question",
|
|
2391
|
-
CITY = "city",
|
|
2392
|
-
MEMBERSHIP = "membership"
|
|
2392
|
+
export interface IEntitlementTerms {
|
|
2393
|
+
type: EntitlementTermsTypesEnum;
|
|
2394
|
+
id?: number;
|
|
2395
|
+
value?: string;
|
|
2396
|
+
minValue?: string;
|
|
2397
|
+
maxValue?: string;
|
|
2393
2398
|
}
|
|
2394
|
-
export
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
TEAM = "team",
|
|
2398
|
-
LEAGUE = "league",
|
|
2399
|
-
USER = "user",
|
|
2400
|
-
ORGANIZATION = "organization",
|
|
2401
|
-
APP = "app",
|
|
2402
|
-
FEED = "feed",
|
|
2403
|
-
MATCH = "match",
|
|
2404
|
-
ROUND = "round",
|
|
2405
|
-
PORTAL = "portal",
|
|
2406
|
-
SEASON = "season",
|
|
2407
|
-
TOURNAMENT = "tournament",
|
|
2408
|
-
MEMBERSHIP = "membership",
|
|
2409
|
-
DIVISION = "division",
|
|
2410
|
-
GAMESLOT = "gameslot",
|
|
2411
|
-
SPACE = "space",
|
|
2412
|
-
RESERVATION = "reservation",
|
|
2413
|
-
INVOICE = "invoice",
|
|
2414
|
-
CUSTOMER = "customer",
|
|
2415
|
-
PACKAGE = "package",
|
|
2416
|
-
FACILITY = "facility",
|
|
2417
|
-
PROGRAM = "program",
|
|
2418
|
-
PROGRAM_SEASON = "program_season",
|
|
2419
|
-
PRODUCT = "product",
|
|
2420
|
-
GROUP = "group",
|
|
2421
|
-
VARIANT = "variant",
|
|
2422
|
-
SLOT = "slot",
|
|
2423
|
-
ADDON = "addon"
|
|
2399
|
+
export interface IQuestionAnswerObject {
|
|
2400
|
+
questionId: number;
|
|
2401
|
+
value: string;
|
|
2424
2402
|
}
|
|
2425
|
-
export
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2403
|
+
export interface ILowestPriceForItem {
|
|
2404
|
+
itemId: number;
|
|
2405
|
+
itemType: ResourceNameTypeEnum;
|
|
2406
|
+
groupId: number;
|
|
2407
|
+
groupName?: string;
|
|
2408
|
+
price: number;
|
|
2409
|
+
overridesPrice: boolean;
|
|
2430
2410
|
}
|
|
2431
|
-
export
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
BEGINNER = 1,
|
|
2438
|
-
INTERMEDIATE = 2,
|
|
2439
|
-
ADVANCED = 3,
|
|
2440
|
-
SEMIPRO = 4,
|
|
2441
|
-
SPECTATOR = 5
|
|
2411
|
+
export interface IResourcesAvailability {
|
|
2412
|
+
resourceType: ResourceNameTypeEnum;
|
|
2413
|
+
quantity: number;
|
|
2414
|
+
resourcesIds: number[];
|
|
2415
|
+
isPunchCard: boolean;
|
|
2416
|
+
resources?: any[];
|
|
2442
2417
|
}
|
|
2443
|
-
export
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
CLASS = 2,
|
|
2447
|
-
CLINIC = 3,
|
|
2448
|
-
CAMP = 4,
|
|
2449
|
-
LESSON = 5,
|
|
2450
|
-
CLUB_TEAM = 6
|
|
2418
|
+
export interface IPackageResponse {
|
|
2419
|
+
parentProduct: Product;
|
|
2420
|
+
children: IChildProduct[];
|
|
2451
2421
|
}
|
|
2452
|
-
export
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2422
|
+
export interface IChildProduct {
|
|
2423
|
+
product: Product;
|
|
2424
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2425
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2456
2426
|
}
|
|
2457
|
-
export
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
CORNHOLE = 7,
|
|
2465
|
-
DODGEBALL = 8,
|
|
2466
|
-
FRISBEE = 9,
|
|
2467
|
-
HOCKEY = 10,
|
|
2468
|
-
KICKBALL = 11,
|
|
2469
|
-
LACROSSE = 12,
|
|
2470
|
-
PINGPONG = 13,
|
|
2471
|
-
RUGBY = 14,
|
|
2472
|
-
SKEEBALL = 15,
|
|
2473
|
-
TENNIS = 16,
|
|
2474
|
-
VOLLEYBALL = 17,
|
|
2475
|
-
WIFFLEBALL = 18,
|
|
2476
|
-
BADMINTON = 19,
|
|
2477
|
-
FITNESS = 20,
|
|
2478
|
-
GOLF = 21,
|
|
2479
|
-
PILATES = 22,
|
|
2480
|
-
RUNNING = 23,
|
|
2481
|
-
SKIING = 24,
|
|
2482
|
-
SNOWBOARDING = 25,
|
|
2483
|
-
YOGA = 26,
|
|
2484
|
-
BROOMBALL = 27,
|
|
2485
|
-
CRICKET = 28,
|
|
2486
|
-
CROSSFIT = 29,
|
|
2487
|
-
CYCLING = 30,
|
|
2488
|
-
FIELD_HOCKEY = 31,
|
|
2489
|
-
RACQUETBALL = 32,
|
|
2490
|
-
SPINNING = 33,
|
|
2491
|
-
SQUASH = 34,
|
|
2492
|
-
SURFING = 35,
|
|
2493
|
-
SWIMMING = 36,
|
|
2494
|
-
WIND_SURFING = 37,
|
|
2495
|
-
ADVENTURE = 38,
|
|
2496
|
-
BOXING = 39,
|
|
2497
|
-
BASEBALL = 40,
|
|
2498
|
-
DANCE = 41,
|
|
2499
|
-
KICKBOXING = 42,
|
|
2500
|
-
MARTIAL_ARTS = 43,
|
|
2501
|
-
OUTDOORS = 44,
|
|
2502
|
-
ROWING = 45,
|
|
2503
|
-
SAILING = 46,
|
|
2504
|
-
SUP = 47,
|
|
2505
|
-
TRIATHLON = 48,
|
|
2506
|
-
HANDBALL = 49,
|
|
2507
|
-
CATCHBALL = 50,
|
|
2508
|
-
BLITZBALL = 51,
|
|
2509
|
-
ROLLER_DERBY = 52,
|
|
2510
|
-
ICE_SKATING = 53,
|
|
2511
|
-
PICKLEBALL = 54,
|
|
2512
|
-
AXE_THROWING = 55,
|
|
2513
|
-
FURSAL = 56,
|
|
2514
|
-
BIRTHDAY = 57,
|
|
2515
|
-
CORPRATE_EVENTS = 58,
|
|
2516
|
-
OTHER = 999
|
|
2427
|
+
export interface ISeasonAttendeeInfo {
|
|
2428
|
+
applicationAnswers: Answer[];
|
|
2429
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2430
|
+
invoices: Invoice[];
|
|
2431
|
+
payments: Payment[];
|
|
2432
|
+
products: Product[];
|
|
2433
|
+
redeemNext: ProductsUsers;
|
|
2517
2434
|
}
|
|
2518
|
-
export
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2435
|
+
export interface ISeasonAttendeeListInfo {
|
|
2436
|
+
userId: number;
|
|
2437
|
+
userFirstName: string;
|
|
2438
|
+
userLastName: string;
|
|
2439
|
+
userGender: number;
|
|
2440
|
+
userBirthDate: Date;
|
|
2441
|
+
userProfilePicUrl: string;
|
|
2442
|
+
customerId: number;
|
|
2443
|
+
customerEmail: string;
|
|
2444
|
+
paymentStatus: string;
|
|
2445
|
+
productName: string;
|
|
2446
|
+
punchCard: boolean;
|
|
2525
2447
|
}
|
|
2526
|
-
export declare
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
MAXAGE = 3,
|
|
2530
|
-
GENDER = 4,
|
|
2531
|
-
LEVELOFPLAY = 5,
|
|
2532
|
-
GAMESSEASON = 6,
|
|
2533
|
-
MINWEEK = 7,
|
|
2534
|
-
SURFACE = 8,
|
|
2535
|
-
FORMAT = 9,
|
|
2536
|
-
PLAYERS_PER_TEAM = 10,
|
|
2537
|
-
MATCH_LENGTH = 12
|
|
2448
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2449
|
+
segmentType: ResourceNameTypeEnum;
|
|
2450
|
+
participantRegisteredDate?: string;
|
|
2538
2451
|
}
|
|
2539
|
-
export declare
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
DECLINED = 3
|
|
2452
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2453
|
+
segmentType: ResourceNameTypeEnum;
|
|
2454
|
+
participantRegisteredDate?: string;
|
|
2543
2455
|
}
|
|
2544
|
-
export
|
|
2545
|
-
|
|
2546
|
-
PARTIAL_PAYMENT = "partial",
|
|
2547
|
-
FULLY_PAID = "paid",
|
|
2548
|
-
REFUNDED = "refunded",
|
|
2549
|
-
VOID = "void"
|
|
2456
|
+
export interface ITokenResonse {
|
|
2457
|
+
token: string;
|
|
2550
2458
|
}
|
|
2551
|
-
export
|
|
2552
|
-
|
|
2459
|
+
export interface IStripeBondInvoices {
|
|
2460
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2461
|
+
bondPaidPayment: Payment;
|
|
2462
|
+
invoice?: Invoice;
|
|
2463
|
+
customer?: Customer;
|
|
2553
2464
|
}
|
|
2554
|
-
export
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
AWAITING_ADMIN = "Awaiting Admin",
|
|
2559
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2560
|
-
REJECTED = "Rejected",
|
|
2561
|
-
CANCELED = "Canceled"
|
|
2465
|
+
export interface IPartialPaymentData {
|
|
2466
|
+
purchasingUserId: number;
|
|
2467
|
+
paymentData: PurchasePaymentDto;
|
|
2468
|
+
amountToPay: number;
|
|
2562
2469
|
}
|
|
2563
|
-
export
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
NOT_RELEVANT = 7,
|
|
2571
|
-
PENDING = 8
|
|
2470
|
+
export interface IPayment {
|
|
2471
|
+
id: number;
|
|
2472
|
+
total: number;
|
|
2473
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2474
|
+
status: PaymentStatusEnum;
|
|
2475
|
+
createdAt: Date;
|
|
2476
|
+
invoices: number[];
|
|
2572
2477
|
}
|
|
2573
|
-
export
|
|
2574
|
-
|
|
2575
|
-
|
|
2478
|
+
export interface IPaginationData<T> {
|
|
2479
|
+
meta: {
|
|
2480
|
+
totalItems: number;
|
|
2481
|
+
itemsPerPage: number;
|
|
2482
|
+
totalPages: number;
|
|
2483
|
+
currentPage: number;
|
|
2484
|
+
};
|
|
2485
|
+
data: T[];
|
|
2576
2486
|
}
|
|
2577
|
-
export
|
|
2578
|
-
|
|
2579
|
-
|
|
2487
|
+
export interface IPricesOfProductsResults {
|
|
2488
|
+
productId: number;
|
|
2489
|
+
userId: number;
|
|
2490
|
+
price: number;
|
|
2491
|
+
groupId?: number;
|
|
2492
|
+
groupName?: string;
|
|
2493
|
+
originalPrice?: number;
|
|
2494
|
+
priceWithoutTax: number;
|
|
2495
|
+
tax: number;
|
|
2496
|
+
isTaxInclusive: boolean;
|
|
2580
2497
|
}
|
|
2581
|
-
export
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2498
|
+
export interface IPaymentMethodToFundLeft {
|
|
2499
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2500
|
+
paymentMethodId: string;
|
|
2501
|
+
fundLeft: number;
|
|
2502
|
+
ccLast4?: string;
|
|
2503
|
+
ccBrand?: string;
|
|
2585
2504
|
}
|
|
2586
|
-
export
|
|
2587
|
-
|
|
2505
|
+
export interface IVariantsAndTitle {
|
|
2506
|
+
title: VariantTitle;
|
|
2507
|
+
variants: Variant[];
|
|
2588
2508
|
}
|
|
2589
|
-
export
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2509
|
+
export interface IProgramSeasonActivityTimes {
|
|
2510
|
+
dayOfWeek: number;
|
|
2511
|
+
open: string;
|
|
2512
|
+
close: string;
|
|
2593
2513
|
}
|
|
2594
|
-
export
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
GOODS = "goods",
|
|
2599
|
-
PACKAGE = "package",
|
|
2600
|
-
REFUND_COMPENSATION = "refund",
|
|
2601
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2602
|
-
PETTY_CASH = "petty_cash",
|
|
2603
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2604
|
-
TAX = "tax"
|
|
2514
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2515
|
+
date: string;
|
|
2516
|
+
startTime: string;
|
|
2517
|
+
endTime: string;
|
|
2605
2518
|
}
|
|
2606
|
-
export
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
CANCELED = "canceled"
|
|
2519
|
+
export interface IBlockedDates {
|
|
2520
|
+
name: string;
|
|
2521
|
+
startDate: Date;
|
|
2522
|
+
endDate: Date;
|
|
2611
2523
|
}
|
|
2612
|
-
export
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
VOID = "void"
|
|
2524
|
+
export interface ISingleMemberForRenewal {
|
|
2525
|
+
member_id: number;
|
|
2526
|
+
member_membershipId: number;
|
|
2527
|
+
member_userId: number;
|
|
2528
|
+
member_nextPaymentMethodId?: string;
|
|
2529
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2530
|
+
member_answerTitleIds?: number[];
|
|
2531
|
+
member_organizationId: number;
|
|
2532
|
+
line_paidAmount: number;
|
|
2533
|
+
line_productId: number;
|
|
2534
|
+
invoice_payingUserId: number;
|
|
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;
|
|
2631
2542
|
}
|
|
2632
|
-
export
|
|
2633
|
-
|
|
2634
|
-
|
|
2543
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2544
|
+
package_parentProductId: number;
|
|
2545
|
+
line2_paidAmount: number;
|
|
2546
|
+
familyid: number;
|
|
2547
|
+
invoice_id: number;
|
|
2635
2548
|
}
|
|
2636
|
-
export
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2549
|
+
export interface IResourceRegistrationData {
|
|
2550
|
+
id: number;
|
|
2551
|
+
resourceType: ResourceNameTypeEnum;
|
|
2552
|
+
openNumDays?: number;
|
|
2553
|
+
openNumMinutes?: number;
|
|
2554
|
+
openTime?: string;
|
|
2555
|
+
closeNumDays?: number;
|
|
2556
|
+
closeNumMinutes?: number;
|
|
2557
|
+
closeTime?: string;
|
|
2558
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2640
2559
|
}
|
|
2641
|
-
export
|
|
2642
|
-
|
|
2643
|
-
|
|
2560
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2561
|
+
id: number;
|
|
2562
|
+
startDate: string;
|
|
2563
|
+
startTime: string;
|
|
2644
2564
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
ORGANIZATION = "organization"
|
|
2565
|
+
export interface IRegistrationConstraintsSetting {
|
|
2566
|
+
numDays?: number;
|
|
2567
|
+
numMinutes?: number;
|
|
2649
2568
|
}
|
|
2650
|
-
export
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2569
|
+
export interface IAttendeeDataToNotify {
|
|
2570
|
+
firstName: string;
|
|
2571
|
+
lastName: string;
|
|
2572
|
+
email: string;
|
|
2573
|
+
sessionName: string;
|
|
2574
|
+
parentSessionName?: string;
|
|
2575
|
+
organizationName: string;
|
|
2576
|
+
programName: string;
|
|
2654
2577
|
}
|
|
2655
|
-
export
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2578
|
+
export interface IEventInSchedule {
|
|
2579
|
+
eventId: number;
|
|
2580
|
+
eventName: string;
|
|
2581
|
+
eventStartDate: string;
|
|
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;
|
|
2660
2596
|
}
|
|
2661
|
-
export
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2597
|
+
export interface ISlotInSchedule {
|
|
2598
|
+
facilityId: number;
|
|
2599
|
+
facilityName: string;
|
|
2600
|
+
spaces: ISpaceWithSlots[];
|
|
2665
2601
|
}
|
|
2666
|
-
export
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2602
|
+
export interface ISpaceWithSlots {
|
|
2603
|
+
id: number;
|
|
2604
|
+
name: string;
|
|
2605
|
+
slots: ISlotReservationData[];
|
|
2670
2606
|
}
|
|
2671
|
-
export
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2607
|
+
export interface ISlotReservationData {
|
|
2608
|
+
reservationId: number;
|
|
2609
|
+
reservationName: string;
|
|
2610
|
+
date: string;
|
|
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;
|
|
2675
2620
|
}
|
|
2676
|
-
export
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2621
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2622
|
+
parentSessionId: number;
|
|
2623
|
+
parentSessionName: string;
|
|
2624
|
+
eventTimezone: string;
|
|
2625
|
+
maxParticipants: number;
|
|
2626
|
+
maxMaleParticipants: number;
|
|
2627
|
+
maxFemaleParticipants: number;
|
|
2628
|
+
isPunchCard: boolean;
|
|
2683
2629
|
}
|
|
2684
|
-
export
|
|
2685
|
-
|
|
2686
|
-
|
|
2630
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2631
|
+
id: number;
|
|
2632
|
+
name: string;
|
|
2633
|
+
bookingCreatorId: number;
|
|
2687
2634
|
}
|
|
2688
|
-
export
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2635
|
+
export interface IRawSlotInSchedule {
|
|
2636
|
+
startDate: string;
|
|
2637
|
+
endDate: string;
|
|
2638
|
+
startTime: string;
|
|
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;
|
|
2696
2649
|
}
|
|
2697
|
-
export
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2650
|
+
export interface IPurchasedResourcesRaw {
|
|
2651
|
+
purchasedId: number;
|
|
2652
|
+
purchasedProductUserId: number;
|
|
2653
|
+
purchasedResourceId: number;
|
|
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;
|
|
2702
2665
|
}
|
|
2703
|
-
export
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2666
|
+
export interface IUsersPasses {
|
|
2667
|
+
userId: number;
|
|
2668
|
+
userFirstName: string;
|
|
2669
|
+
userLastName: string;
|
|
2670
|
+
organizationId: number;
|
|
2671
|
+
programId: number;
|
|
2672
|
+
programName: string;
|
|
2673
|
+
sessionId: number;
|
|
2674
|
+
sessionName: string;
|
|
2675
|
+
productId: number;
|
|
2676
|
+
productName: string;
|
|
2677
|
+
productUserId: number;
|
|
2678
|
+
purchaseDate: Date;
|
|
2679
|
+
passesLeft: number;
|
|
2707
2680
|
}
|
|
2708
|
-
export
|
|
2709
|
-
|
|
2710
|
-
|
|
2681
|
+
export interface ISessionsLandingPage {
|
|
2682
|
+
sessionId: number;
|
|
2683
|
+
name: string;
|
|
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';
|
|
2711
2700
|
}
|
|
2712
|
-
export
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
INACTIVE = 4
|
|
2701
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2702
|
+
hasRequiredMembership: boolean;
|
|
2703
|
+
hasEntitledPricing: boolean;
|
|
2704
|
+
lowestPrice?: number;
|
|
2705
|
+
products?: ISessionLandingPageProduct[];
|
|
2718
2706
|
}
|
|
2719
|
-
export
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
PORTABLE_RESTROOMS = 9,
|
|
2729
|
-
LIGHTS = 10,
|
|
2730
|
-
LOCKER_ROOM = 11,
|
|
2731
|
-
PAID_PARKING = 12,
|
|
2732
|
-
ACCESSIBLE = 13
|
|
2707
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2708
|
+
hasRequiredMembership: boolean;
|
|
2709
|
+
hasEntitledPricing: boolean;
|
|
2710
|
+
products?: ISessionLandingPageProduct[];
|
|
2711
|
+
segments?: Event[] | ProgramSeason[];
|
|
2712
|
+
programName: string;
|
|
2713
|
+
programId: number;
|
|
2714
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2715
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2733
2716
|
}
|
|
2734
|
-
export
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
BATTING_CAGE = "batting cage",
|
|
2743
|
-
SHELTER = "shelter",
|
|
2744
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2717
|
+
export interface ISlimAddons {
|
|
2718
|
+
addons?: {
|
|
2719
|
+
id: number;
|
|
2720
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2721
|
+
name: string;
|
|
2722
|
+
productType?: ProductTypesEnum;
|
|
2723
|
+
productSubType?: string;
|
|
2724
|
+
}[];
|
|
2745
2725
|
}
|
|
2746
|
-
export
|
|
2747
|
-
|
|
2726
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2727
|
+
id: number;
|
|
2728
|
+
name: string;
|
|
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;
|
|
2748
2738
|
}
|
|
2749
|
-
export
|
|
2750
|
-
|
|
2751
|
-
|
|
2739
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2740
|
+
destinationId?: string;
|
|
2741
|
+
stripeCustomerId?: string;
|
|
2742
|
+
fee?: number;
|
|
2752
2743
|
}
|
|
2753
|
-
export
|
|
2754
|
-
|
|
2755
|
-
|
|
2744
|
+
export interface IReservationCreatorData {
|
|
2745
|
+
type: ResourceNameTypeEnum;
|
|
2746
|
+
id: number;
|
|
2747
|
+
organizationId: number;
|
|
2748
|
+
startDate: string;
|
|
2749
|
+
endDate: string;
|
|
2750
|
+
sportId: number;
|
|
2756
2751
|
}
|
|
2757
|
-
export declare enum
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
ASTRO_TURF = "astroTurf",
|
|
2762
|
-
HARDWOOD = "hardwood",
|
|
2763
|
-
ASPHALT = "asphalt",
|
|
2764
|
-
SAND = "sand",
|
|
2765
|
-
ICE = "ice",
|
|
2766
|
-
SPORT_COURT = "sportCourt"
|
|
2752
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2753
|
+
QUESTION = "question",
|
|
2754
|
+
CITY = "city",
|
|
2755
|
+
MEMBERSHIP = "membership"
|
|
2767
2756
|
}
|
|
2768
|
-
export declare enum
|
|
2769
|
-
|
|
2770
|
-
|
|
2757
|
+
export declare enum ResourceNameTypeEnum {
|
|
2758
|
+
EVENT = "event",
|
|
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"
|
|
2771
2787
|
}
|
|
2772
|
-
export declare enum
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2788
|
+
export declare enum DirectBookingTypesEnum {
|
|
2789
|
+
DIRECT_FOR_ALL = "all",
|
|
2790
|
+
DIRECT_FOR_NONE = "none",
|
|
2791
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2792
|
+
NO_SETTING = "no_setting"
|
|
2776
2793
|
}
|
|
2777
|
-
export declare enum
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
NOT_OPEN_YET = "not opened",
|
|
2782
|
-
ALREADY_CLOSED = "closed",
|
|
2783
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2794
|
+
export declare enum GenderEnum {
|
|
2795
|
+
OTHER = 1,
|
|
2796
|
+
MALE = 2,
|
|
2797
|
+
FEMALE = 3
|
|
2784
2798
|
}
|
|
2785
|
-
export declare enum
|
|
2786
|
-
|
|
2787
|
-
|
|
2799
|
+
export declare enum LevelOfPlayEnum {
|
|
2800
|
+
BEGINNER = 1,
|
|
2801
|
+
INTERMEDIATE = 2,
|
|
2802
|
+
ADVANCED = 3,
|
|
2803
|
+
SEMIPRO = 4,
|
|
2804
|
+
SPECTATOR = 5
|
|
2788
2805
|
}
|
|
2789
|
-
export declare enum
|
|
2790
|
-
|
|
2806
|
+
export declare enum ProgramTypesEnum {
|
|
2807
|
+
LEAGUE = 0,
|
|
2808
|
+
TOURNAMENT = 1,
|
|
2809
|
+
CLASS = 2,
|
|
2810
|
+
CLINIC = 3,
|
|
2811
|
+
CAMP = 4,
|
|
2812
|
+
LESSON = 5,
|
|
2813
|
+
CLUB_TEAM = 6
|
|
2791
2814
|
}
|
|
2792
|
-
export declare enum
|
|
2793
|
-
|
|
2815
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2816
|
+
ROUND_ROBIN = 1,
|
|
2817
|
+
BRACKETS = 2,
|
|
2818
|
+
CAMP_CLINIC_CLASS = 3
|
|
2794
2819
|
}
|
|
2795
|
-
export declare enum
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2820
|
+
export declare enum SportsEnum {
|
|
2821
|
+
SOFTBALL = 1,
|
|
2822
|
+
BASKETBALL = 2,
|
|
2823
|
+
FOOTBALL = 3,
|
|
2824
|
+
SOCCER = 4,
|
|
2825
|
+
BOWLING = 5,
|
|
2826
|
+
BOCCEBALL = 6,
|
|
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
|
|
2799
2880
|
}
|
|
2800
|
-
export declare enum
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2881
|
+
export declare enum PublishingStatusEnum {
|
|
2882
|
+
DRAFT = 1,
|
|
2883
|
+
PUBLISHED = 2,
|
|
2884
|
+
CLOSED = 3,
|
|
2885
|
+
CANCELLED = 4,
|
|
2886
|
+
ARCHIVE = 5,
|
|
2887
|
+
UNPUBLISHED = 6
|
|
2805
2888
|
}
|
|
2806
|
-
export declare enum
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2889
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2890
|
+
OTHER = 1,
|
|
2891
|
+
MINAGE = 2,
|
|
2892
|
+
MAXAGE = 3,
|
|
2893
|
+
GENDER = 4,
|
|
2894
|
+
LEVELOFPLAY = 5,
|
|
2895
|
+
GAMESSEASON = 6,
|
|
2896
|
+
MINWEEK = 7,
|
|
2897
|
+
SURFACE = 8,
|
|
2898
|
+
FORMAT = 9,
|
|
2899
|
+
PLAYERS_PER_TEAM = 10,
|
|
2900
|
+
MATCH_LENGTH = 12
|
|
2812
2901
|
}
|
|
2813
|
-
export declare enum
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
RECONCILED = "reconciled"
|
|
2902
|
+
export declare enum RequestStatusEnum {
|
|
2903
|
+
PENDING = 1,
|
|
2904
|
+
ACCEPTED = 2,
|
|
2905
|
+
DECLINED = 3
|
|
2818
2906
|
}
|
|
2819
|
-
export declare enum
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
DELETED = 6
|
|
2907
|
+
export declare enum PaymentStatusEnum {
|
|
2908
|
+
NOT_PAID = "not_paid",
|
|
2909
|
+
PARTIAL_PAYMENT = "partial",
|
|
2910
|
+
FULLY_PAID = "paid",
|
|
2911
|
+
REFUNDED = "refunded",
|
|
2912
|
+
VOID = "void"
|
|
2826
2913
|
}
|
|
2827
|
-
export declare enum
|
|
2828
|
-
|
|
2829
|
-
PROGRAM = "program",
|
|
2830
|
-
MAINTENANCE = "maintenance",
|
|
2831
|
-
CUSTOM = "custom",
|
|
2832
|
-
INTERNAL = "internal"
|
|
2914
|
+
export declare enum ReservationExtendedEnum {
|
|
2915
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2833
2916
|
}
|
|
2834
|
-
export declare
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2917
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2918
|
+
export declare enum ReservationStatusEnum {
|
|
2919
|
+
PLANNED = "Planned",
|
|
2920
|
+
APPROVED = "Approved",
|
|
2921
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2922
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2923
|
+
REJECTED = "Rejected",
|
|
2924
|
+
CANCELED = "Canceled"
|
|
2838
2925
|
}
|
|
2839
|
-
export declare enum
|
|
2840
|
-
|
|
2841
|
-
|
|
2926
|
+
export declare enum PaymentStatusV1Enum {
|
|
2927
|
+
SENT_TO_CLIENT = 1,
|
|
2928
|
+
SENT_FOR_PAYMENT = 2,
|
|
2929
|
+
ACCEPTED = 3,
|
|
2930
|
+
REJECTED = 4,
|
|
2931
|
+
CANCELLED = 5,
|
|
2932
|
+
FRAUD = 6,
|
|
2933
|
+
NOT_RELEVANT = 7,
|
|
2934
|
+
PENDING = 8
|
|
2842
2935
|
}
|
|
2843
|
-
export declare enum
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
DAILY = "daily",
|
|
2847
|
-
MONTHLY = "monthly",
|
|
2848
|
-
YEARLY = "yearly"
|
|
2936
|
+
export declare enum PaymentMethodsEnum {
|
|
2937
|
+
STRIPE = 1,
|
|
2938
|
+
CASH = 3
|
|
2849
2939
|
}
|
|
2850
|
-
export declare enum
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
AT_THE_BEGINING = 3,
|
|
2854
|
-
AT_THE_END = 4
|
|
2940
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2941
|
+
CHILD = "child",
|
|
2942
|
+
UPSALE = "upsale"
|
|
2855
2943
|
}
|
|
2856
|
-
export declare enum
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2944
|
+
export declare enum AddonTimePeriodEnum {
|
|
2945
|
+
FULL = "full",
|
|
2946
|
+
SESSION = "session",
|
|
2947
|
+
EVENT = "event"
|
|
2860
2948
|
}
|
|
2861
|
-
export declare enum
|
|
2862
|
-
|
|
2863
|
-
CATEGORY = "category",
|
|
2864
|
-
GLOBAL = "global"
|
|
2949
|
+
export declare enum CurrencyEnum {
|
|
2950
|
+
USD = "USD"
|
|
2865
2951
|
}
|
|
2866
|
-
export declare enum
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
THURSDAY = 5,
|
|
2871
|
-
FRIDAY = 6,
|
|
2872
|
-
SATURDAY = 7,
|
|
2873
|
-
SUNDAY = 8
|
|
2952
|
+
export declare enum NotificationTypeEnum {
|
|
2953
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2954
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2955
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2874
2956
|
}
|
|
2875
|
-
export declare enum
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2957
|
+
export declare enum ProductTypesEnum {
|
|
2958
|
+
RESERVATION = "reservation",
|
|
2959
|
+
REGISTRATION = "registration",
|
|
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"
|
|
2879
2968
|
}
|
|
2880
|
-
export declare enum
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2969
|
+
export declare enum InvoiceStatusEnum {
|
|
2970
|
+
ACTIVE = "active",
|
|
2971
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2972
|
+
WAITING_CLIENT = "waitingClient",
|
|
2973
|
+
CANCELED = "canceled"
|
|
2884
2974
|
}
|
|
2885
|
-
export declare enum
|
|
2886
|
-
|
|
2887
|
-
|
|
2975
|
+
export declare enum LineItemsStatusEnum {
|
|
2976
|
+
USER_PRODUCT = "UserProduct",
|
|
2977
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2888
2978
|
}
|
|
2889
|
-
export declare enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2979
|
+
export declare enum ProductSubTypesEnum {
|
|
2980
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2981
|
+
SEASON_TEAM = "season_team",
|
|
2982
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2892
2983
|
}
|
|
2893
|
-
export declare enum
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2984
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2985
|
+
CREDIT_CARD = "card",
|
|
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"
|
|
2899
2994
|
}
|
|
2900
|
-
export declare enum
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
2995
|
+
export declare enum RefundTypeEnum {
|
|
2996
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2997
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2904
2998
|
}
|
|
2905
|
-
export declare enum
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2999
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
3000
|
+
INDIVIDUAL = "individual",
|
|
3001
|
+
FAMILY = "family",
|
|
3002
|
+
ORGANIZATION = "organization"
|
|
2909
3003
|
}
|
|
2910
|
-
export declare enum
|
|
2911
|
-
|
|
2912
|
-
|
|
3004
|
+
export declare enum MembershipTypeEnum {
|
|
3005
|
+
FIXED = "fix_membership",
|
|
3006
|
+
ROLLING = "rolling_membership"
|
|
2913
3007
|
}
|
|
2914
|
-
export declare enum
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
CANCELED = "canceled"
|
|
3008
|
+
export declare enum CustomerTypeEnum {
|
|
3009
|
+
USER = "user",
|
|
3010
|
+
FAMILY = "family",
|
|
3011
|
+
ORGANIZATION = "organization"
|
|
2919
3012
|
}
|
|
2920
|
-
export declare enum
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
DISABLED_EMAIL = 4
|
|
3013
|
+
export declare enum GroupStatusEnum {
|
|
3014
|
+
ACTIVE = 1,
|
|
3015
|
+
INACTIVE = 2,
|
|
3016
|
+
DRAFT = 3
|
|
2925
3017
|
}
|
|
2926
|
-
export
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
maxValue?: string;
|
|
3018
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
3019
|
+
FUTURE = "future",
|
|
3020
|
+
SUCCEEDED = "succeeded",
|
|
3021
|
+
FAILED = "failed",
|
|
3022
|
+
CANCELED = "canceled"
|
|
2932
3023
|
}
|
|
2933
|
-
export
|
|
2934
|
-
|
|
2935
|
-
|
|
3024
|
+
export declare enum EntryStatusEnum {
|
|
3025
|
+
ENTERED = 1,
|
|
3026
|
+
NOT_ENTERED = 2,
|
|
3027
|
+
CANCELED = 3
|
|
2936
3028
|
}
|
|
2937
|
-
export
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
groupName?: string;
|
|
2942
|
-
price: number;
|
|
2943
|
-
overridesPrice: boolean;
|
|
3029
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3030
|
+
ACTIVE = 1,
|
|
3031
|
+
MOVED = 2,
|
|
3032
|
+
CANCELED = 3
|
|
2944
3033
|
}
|
|
2945
|
-
export
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
isPunchCard: boolean;
|
|
2950
|
-
resources?: any[];
|
|
3034
|
+
export declare enum TeamCanJoinEnum {
|
|
3035
|
+
ANYONE = "anyone",
|
|
3036
|
+
BY_INVITE = "byInvite",
|
|
3037
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2951
3038
|
}
|
|
2952
|
-
export
|
|
2953
|
-
|
|
2954
|
-
|
|
3039
|
+
export declare enum TeamMemberStatusEnum {
|
|
3040
|
+
PENDING = 1,
|
|
3041
|
+
ACTIVE = 2,
|
|
3042
|
+
DECLINED = 3,
|
|
3043
|
+
SUSPENDED = 4,
|
|
3044
|
+
INACTIVE = 5,
|
|
3045
|
+
INVITED = 6
|
|
2955
3046
|
}
|
|
2956
|
-
export
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
3047
|
+
export declare enum TeamMemberRoleEnum {
|
|
3048
|
+
NULL = 0,
|
|
3049
|
+
ADMIN = 1
|
|
2960
3050
|
}
|
|
2961
|
-
export
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
3051
|
+
export declare enum DayOfWeekEnum {
|
|
3052
|
+
SUNDAY = 0,
|
|
3053
|
+
MONDAY = 1,
|
|
3054
|
+
TUESDAY = 2,
|
|
3055
|
+
WEDNESDAY = 3,
|
|
3056
|
+
THURSDAY = 4,
|
|
3057
|
+
FRIDAY = 5,
|
|
3058
|
+
SATURDAY = 6
|
|
2968
3059
|
}
|
|
2969
|
-
export
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
userBirthDate: Date;
|
|
2975
|
-
userProfilePicUrl: string;
|
|
2976
|
-
customerId: number;
|
|
2977
|
-
customerEmail: string;
|
|
2978
|
-
paymentStatus: string;
|
|
2979
|
-
productName: string;
|
|
2980
|
-
punchCard: boolean;
|
|
3060
|
+
export declare enum ActionTypesEnum {
|
|
3061
|
+
CREATE = "create",
|
|
3062
|
+
READ = "read",
|
|
3063
|
+
UPDATE = "update",
|
|
3064
|
+
DELETE = "delete"
|
|
2981
3065
|
}
|
|
2982
|
-
export declare
|
|
2983
|
-
|
|
2984
|
-
|
|
3066
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3067
|
+
ADMIN = "admin",
|
|
3068
|
+
BACKOFFICE = "backoffice",
|
|
3069
|
+
CONSUMER = "consumer"
|
|
2985
3070
|
}
|
|
2986
|
-
export declare
|
|
2987
|
-
|
|
2988
|
-
|
|
3071
|
+
export declare enum RolesEnum {
|
|
3072
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3073
|
+
BOND_ADMIN = "bondAdmin"
|
|
2989
3074
|
}
|
|
2990
|
-
export
|
|
2991
|
-
|
|
3075
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3076
|
+
IN_POOL = 5,
|
|
3077
|
+
ASSIGNED = 1,
|
|
3078
|
+
QUIT = 2,
|
|
3079
|
+
SUSPENDED = 3,
|
|
3080
|
+
INACTIVE = 4
|
|
2992
3081
|
}
|
|
2993
|
-
export
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3082
|
+
export declare enum AmenitiesEnum {
|
|
3083
|
+
HEAT = 1,
|
|
3084
|
+
AC = 2,
|
|
3085
|
+
WIFI = 3,
|
|
3086
|
+
RESTROOMS = 4,
|
|
3087
|
+
DRINKING_FOUNTAIN = 5,
|
|
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
|
|
2998
3096
|
}
|
|
2999
|
-
export
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3097
|
+
export declare enum ResourceSubTypeEnum {
|
|
3098
|
+
COURT = "court",
|
|
3099
|
+
FIELD = "field",
|
|
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"
|
|
3003
3108
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
3006
|
-
total: number;
|
|
3007
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
3008
|
-
status: PaymentStatusEnum;
|
|
3009
|
-
createdAt: Date;
|
|
3010
|
-
invoices: number[];
|
|
3109
|
+
export declare enum ResourceTypeEnum {
|
|
3110
|
+
SPACE = "space"
|
|
3011
3111
|
}
|
|
3012
|
-
export
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
itemsPerPage: number;
|
|
3016
|
-
totalPages: number;
|
|
3017
|
-
currentPage: number;
|
|
3018
|
-
};
|
|
3019
|
-
data: T[];
|
|
3112
|
+
export declare enum ResourceAgesEnum {
|
|
3113
|
+
ADULTS = "adults",
|
|
3114
|
+
CHILDREN = "children"
|
|
3020
3115
|
}
|
|
3021
|
-
export
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
price: number;
|
|
3025
|
-
groupId?: number;
|
|
3026
|
-
groupName?: string;
|
|
3027
|
-
originalPrice?: number;
|
|
3028
|
-
priceWithoutTax: number;
|
|
3029
|
-
tax: number;
|
|
3030
|
-
isTaxInclusive: boolean;
|
|
3116
|
+
export declare enum SpacePropertiesEnum {
|
|
3117
|
+
OUTDOOR = "outdoor",
|
|
3118
|
+
INDOOR = "indoor"
|
|
3031
3119
|
}
|
|
3032
|
-
export
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3120
|
+
export declare enum SurfacesEnum {
|
|
3121
|
+
GRASS = "grass",
|
|
3122
|
+
TURF = "turf",
|
|
3123
|
+
FIELD_TURF = "fieldTurf",
|
|
3124
|
+
ASTRO_TURF = "astroTurf",
|
|
3125
|
+
HARDWOOD = "hardwood",
|
|
3126
|
+
ASPHALT = "asphalt",
|
|
3127
|
+
SAND = "sand",
|
|
3128
|
+
ICE = "ice",
|
|
3129
|
+
SPORT_COURT = "sportCourt"
|
|
3038
3130
|
}
|
|
3039
|
-
export
|
|
3040
|
-
|
|
3041
|
-
|
|
3131
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3132
|
+
MINUTES = "minutes",
|
|
3133
|
+
DAYS = "days"
|
|
3042
3134
|
}
|
|
3043
|
-
export
|
|
3044
|
-
|
|
3045
|
-
open
|
|
3046
|
-
|
|
3135
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3136
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3137
|
+
OPEN = "open",
|
|
3138
|
+
CLOSED = "closed"
|
|
3047
3139
|
}
|
|
3048
|
-
export
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3140
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3141
|
+
FULL = "full",
|
|
3142
|
+
ALREADY_REGISTERED = "registered",
|
|
3143
|
+
AVAILABLE = "available",
|
|
3144
|
+
NOT_OPEN_YET = "not opened",
|
|
3145
|
+
ALREADY_CLOSED = "closed",
|
|
3146
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3052
3147
|
}
|
|
3053
|
-
export
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
endDate: Date;
|
|
3148
|
+
export declare enum DiscountMethodsEnum {
|
|
3149
|
+
PERCENT = "percent",
|
|
3150
|
+
AMOUNT = "amount"
|
|
3057
3151
|
}
|
|
3058
|
-
export
|
|
3059
|
-
|
|
3060
|
-
member_membershipId: number;
|
|
3061
|
-
member_userId: number;
|
|
3062
|
-
member_nextPaymentMethodId?: string;
|
|
3063
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3064
|
-
member_answerTitleIds?: number[];
|
|
3065
|
-
member_organizationId: number;
|
|
3066
|
-
line_paidAmount: number;
|
|
3067
|
-
line_productId: number;
|
|
3068
|
-
invoice_payingUserId: number;
|
|
3069
|
-
invoice_paymentMethodId: string;
|
|
3070
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3071
|
-
endDate: Date;
|
|
3072
|
-
membership_name: string;
|
|
3073
|
-
user_firstName: string;
|
|
3074
|
-
user_lastName: string;
|
|
3075
|
-
user_email: string;
|
|
3152
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3153
|
+
ORGANIZATION = "organization"
|
|
3076
3154
|
}
|
|
3077
|
-
export
|
|
3078
|
-
|
|
3079
|
-
line2_paidAmount: number;
|
|
3080
|
-
familyid: number;
|
|
3081
|
-
invoice_id: number;
|
|
3155
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3156
|
+
USA = "USA"
|
|
3082
3157
|
}
|
|
3083
|
-
export
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
openNumMinutes?: number;
|
|
3088
|
-
openTime?: string;
|
|
3089
|
-
closeNumDays?: number;
|
|
3090
|
-
closeNumMinutes?: number;
|
|
3091
|
-
closeTime?: string;
|
|
3092
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3158
|
+
export declare enum DateTimeFormatsEnum {
|
|
3159
|
+
API_DATE = "YYYY/MM/DD",
|
|
3160
|
+
API_TIME = "HH:mm:ss",
|
|
3161
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3093
3162
|
}
|
|
3094
|
-
export
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3163
|
+
export declare enum SlotTypeEnum {
|
|
3164
|
+
EXTERNAL = "external",
|
|
3165
|
+
INTERNAL = "internal",
|
|
3166
|
+
MAINTENANCE = "maintenance",
|
|
3167
|
+
CUSTOM = "custom"
|
|
3098
3168
|
}
|
|
3099
|
-
export
|
|
3100
|
-
|
|
3101
|
-
|
|
3169
|
+
export declare enum PlatformsEnum {
|
|
3170
|
+
CONSUMER = "consumer",
|
|
3171
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3172
|
+
BO = "backoffice",
|
|
3173
|
+
MOBILE = "mobile",
|
|
3174
|
+
CRON = "cron"
|
|
3102
3175
|
}
|
|
3103
|
-
export
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
parentSessionName?: string;
|
|
3109
|
-
organizationName: string;
|
|
3110
|
-
programName: string;
|
|
3176
|
+
export declare enum ShiftStatusEnum {
|
|
3177
|
+
OPEN = "open",
|
|
3178
|
+
CLOSED = "closed",
|
|
3179
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3180
|
+
RECONCILED = "reconciled"
|
|
3111
3181
|
}
|
|
3112
|
-
export
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
programId: number;
|
|
3120
|
-
programName: string;
|
|
3121
|
-
programType: ProgramTypesEnum;
|
|
3122
|
-
sessionId: number;
|
|
3123
|
-
sessionName: string;
|
|
3124
|
-
sports: number;
|
|
3125
|
-
spaces: {
|
|
3126
|
-
spaceId: number;
|
|
3127
|
-
spaceName: string;
|
|
3128
|
-
}[];
|
|
3129
|
-
status?: RegistrationValidationStatusEnum;
|
|
3182
|
+
export declare enum EventStatusEnum {
|
|
3183
|
+
OPEN = 1,
|
|
3184
|
+
DRAFT = 2,
|
|
3185
|
+
FULL = 3,
|
|
3186
|
+
CANCELLED = 4,
|
|
3187
|
+
CLOSED = 5,
|
|
3188
|
+
DELETED = 6
|
|
3130
3189
|
}
|
|
3131
|
-
export
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3190
|
+
export declare enum ReservationTypeEnum {
|
|
3191
|
+
RENTAL = "rental",
|
|
3192
|
+
PROGRAM = "program",
|
|
3193
|
+
MAINTENANCE = "maintenance",
|
|
3194
|
+
CUSTOM = "custom",
|
|
3195
|
+
INTERNAL = "internal"
|
|
3135
3196
|
}
|
|
3136
|
-
export
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3197
|
+
export declare enum SlotDurationTypeEnum {
|
|
3198
|
+
DATES = "dates",
|
|
3199
|
+
ALL_DAY = "all day",
|
|
3200
|
+
DURATION = "duration"
|
|
3140
3201
|
}
|
|
3141
|
-
export
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
date: string;
|
|
3145
|
-
startTime: string;
|
|
3146
|
-
endTime: string;
|
|
3147
|
-
notes: string;
|
|
3148
|
-
spaceId: number;
|
|
3149
|
-
isRental: boolean;
|
|
3150
|
-
slotType: SlotTypeEnum;
|
|
3151
|
-
slotId: number;
|
|
3152
|
-
eventId: number;
|
|
3153
|
-
isPrivate: boolean;
|
|
3202
|
+
export declare enum DurationUnitTypesEnum {
|
|
3203
|
+
MINUTES = "minutes",
|
|
3204
|
+
HOURS = "hours"
|
|
3154
3205
|
}
|
|
3155
|
-
export
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
maxFemaleParticipants: number;
|
|
3162
|
-
isPunchCard: boolean;
|
|
3206
|
+
export declare enum FrequencyEnum {
|
|
3207
|
+
NONE = "none",
|
|
3208
|
+
WEEKLY = "weekly",
|
|
3209
|
+
DAILY = "daily",
|
|
3210
|
+
MONTHLY = "monthly",
|
|
3211
|
+
YEARLY = "yearly"
|
|
3163
3212
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3213
|
+
export declare enum MaintenanceTimingEnum {
|
|
3214
|
+
BEFORE = 1,
|
|
3215
|
+
AFTER = 2,
|
|
3216
|
+
AT_THE_BEGINING = 3,
|
|
3217
|
+
AT_THE_END = 4
|
|
3168
3218
|
}
|
|
3169
|
-
export
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
endTime: string;
|
|
3174
|
-
reservationId: number;
|
|
3175
|
-
eventTitle: string;
|
|
3176
|
-
publicNotes: string;
|
|
3177
|
-
spaceId: number;
|
|
3178
|
-
creatorType: ResourceNameTypeEnum;
|
|
3179
|
-
slotType: SlotTypeEnum;
|
|
3180
|
-
slotId: number;
|
|
3181
|
-
eventId: number;
|
|
3182
|
-
isPrivate: boolean;
|
|
3219
|
+
export declare enum CreatorTypeEnum {
|
|
3220
|
+
SPACE = "space",
|
|
3221
|
+
PROGRAM_SEASON = "program_season",
|
|
3222
|
+
SEASON = "season"
|
|
3183
3223
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3189
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3190
|
-
pUserId: number;
|
|
3191
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3192
|
-
pUserProductId: number;
|
|
3193
|
-
pUserProductName: string;
|
|
3194
|
-
pUserProductPrice: number;
|
|
3195
|
-
pUserProductPriceCurrency: string;
|
|
3196
|
-
pUserProductQuantity: number;
|
|
3197
|
-
pUserProductQuantityLeft: number;
|
|
3198
|
-
pUserUserId: number;
|
|
3224
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3225
|
+
INDIVIDUAL = "indvidual",
|
|
3226
|
+
CATEGORY = "category",
|
|
3227
|
+
GLOBAL = "global"
|
|
3199
3228
|
}
|
|
3200
|
-
export
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
sessionName: string;
|
|
3209
|
-
productId: number;
|
|
3210
|
-
productName: string;
|
|
3211
|
-
productUserId: number;
|
|
3212
|
-
purchaseDate: Date;
|
|
3213
|
-
passesLeft: number;
|
|
3229
|
+
export declare enum BondDayOfWeekEnum {
|
|
3230
|
+
MONDAY = 2,
|
|
3231
|
+
TUESDAY = 3,
|
|
3232
|
+
WEDNESDAY = 4,
|
|
3233
|
+
THURSDAY = 5,
|
|
3234
|
+
FRIDAY = 6,
|
|
3235
|
+
SATURDAY = 7,
|
|
3236
|
+
SUNDAY = 8
|
|
3214
3237
|
}
|
|
3215
|
-
export
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
endDate: Date;
|
|
3220
|
-
registrationStartDate: Date;
|
|
3221
|
-
registrationEndDate: Date;
|
|
3222
|
-
sport: SportsEnum;
|
|
3223
|
-
minAge: string;
|
|
3224
|
-
maxAge: string;
|
|
3225
|
-
maxParticipants?: number;
|
|
3226
|
-
gender: GenderEnum;
|
|
3227
|
-
activityTimes: ActivityTimes[];
|
|
3228
|
-
earlyRegistrationStartDate?: Date;
|
|
3229
|
-
earlyRegistrationEndDate?: Date;
|
|
3230
|
-
lateRegistrationStartDate?: Date;
|
|
3231
|
-
lateRegistrationEndDate?: Date;
|
|
3232
|
-
attendeeCount?: number;
|
|
3233
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3238
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3239
|
+
NEW = "new",
|
|
3240
|
+
NO = "no",
|
|
3241
|
+
YES = "yes"
|
|
3234
3242
|
}
|
|
3235
|
-
export
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3243
|
+
export declare enum ProductPackageLevelEnum {
|
|
3244
|
+
HOUR = "hour",
|
|
3245
|
+
SLOT = "slot",
|
|
3246
|
+
RESERVATION = "reservation"
|
|
3247
|
+
}
|
|
3248
|
+
export declare enum CancellationStatusEnum {
|
|
3249
|
+
IMMEDIATE = "immediate",
|
|
3250
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3240
3251
|
}
|
|
3241
|
-
export
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
products?: ISessionLandingPageProduct[];
|
|
3245
|
-
segments?: Event[] | ProgramSeason[];
|
|
3246
|
-
programName: string;
|
|
3247
|
-
programId: number;
|
|
3248
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3249
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3252
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3253
|
+
DRAFT = 0,
|
|
3254
|
+
PUBLISHED = 1
|
|
3250
3255
|
}
|
|
3251
|
-
export
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
productSubType?: string;
|
|
3258
|
-
}[];
|
|
3256
|
+
export declare enum FinancialStepEnum {
|
|
3257
|
+
VOID = "void",
|
|
3258
|
+
REFUND = "refund",
|
|
3259
|
+
NONE = "none",
|
|
3260
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3261
|
+
APPEND = "append"
|
|
3259
3262
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
endDate?: Date;
|
|
3265
|
-
downpayment?: number;
|
|
3266
|
-
description?: string;
|
|
3267
|
-
prices: Price[];
|
|
3268
|
-
productSubType?: ProductSubTypesEnum;
|
|
3269
|
-
punchCard: boolean;
|
|
3270
|
-
isAddon: boolean;
|
|
3271
|
-
defaultPriceId?: number;
|
|
3263
|
+
export declare enum StripeAccountTypesEnum {
|
|
3264
|
+
STRIPE = "stripe",
|
|
3265
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3266
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3272
3267
|
}
|
|
3273
|
-
export
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3268
|
+
export declare enum LinkedAccountStatus {
|
|
3269
|
+
PENDING = 1,
|
|
3270
|
+
ACTIVE = 2,
|
|
3271
|
+
PRE_PENDING = 3
|
|
3277
3272
|
}
|
|
3278
|
-
export
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
organizationId: number;
|
|
3282
|
-
startDate: string;
|
|
3283
|
-
endDate: string;
|
|
3284
|
-
sportId: number;
|
|
3273
|
+
export declare enum AddonParentTypeEnum {
|
|
3274
|
+
RESERVATION = "reservation",
|
|
3275
|
+
SLOT = "slot"
|
|
3285
3276
|
}
|
|
3286
|
-
export declare
|
|
3287
|
-
|
|
3288
|
-
|
|
3277
|
+
export declare enum EEmailStatus {
|
|
3278
|
+
SENT = "sent",
|
|
3279
|
+
OPENED = "opened",
|
|
3280
|
+
PAID = "paid",
|
|
3281
|
+
CANCELED = "canceled"
|
|
3282
|
+
}
|
|
3283
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3284
|
+
ENABLED = 1,
|
|
3285
|
+
DISABLED_REDIRECT = 2,
|
|
3286
|
+
DISABLED_INFO_ONLY = 3,
|
|
3287
|
+
DISABLED_EMAIL = 4
|
|
3289
3288
|
}
|
|
3290
|
-
export declare function convertToNumber(data: string): number;
|
|
3291
3289
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3292
3290
|
name?: string;
|
|
3293
3291
|
genderStr?: string;
|
|
@@ -3404,6 +3402,11 @@ export declare class ImportedReservationDto {
|
|
|
3404
3402
|
slots?: ImportedSlotDto[];
|
|
3405
3403
|
addons?: ImportedSlotProductDto[];
|
|
3406
3404
|
}
|
|
3405
|
+
export declare class ColumnNumericTransformer {
|
|
3406
|
+
to(data: number): number;
|
|
3407
|
+
from(data: string): number;
|
|
3408
|
+
}
|
|
3409
|
+
export declare function convertToNumber(data: string): number;
|
|
3407
3410
|
export declare class GameSlots extends BondBaseEntity {
|
|
3408
3411
|
entityType: string;
|
|
3409
3412
|
entityId: number;
|
|
@@ -3465,23 +3468,30 @@ export interface PaymentStatusesDict {
|
|
|
3465
3468
|
export interface PaymentStatusDict {
|
|
3466
3469
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3467
3470
|
}
|
|
3468
|
-
export declare class CreateMonitorConfigDto {
|
|
3469
|
-
facilityId: number;
|
|
3470
|
-
name: string;
|
|
3471
|
-
code: string;
|
|
3472
|
-
config: any;
|
|
3473
|
-
}
|
|
3474
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3475
|
-
facilityId: number;
|
|
3476
|
-
code: string;
|
|
3477
|
-
config?: any;
|
|
3478
|
-
}
|
|
3479
3471
|
export declare class ByOrganizationIdDto {
|
|
3480
3472
|
organizationId: number;
|
|
3481
3473
|
}
|
|
3482
3474
|
export declare class OptionalFindByOrganizationIdDto {
|
|
3483
3475
|
organizationId?: number;
|
|
3484
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
|
+
}
|
|
3485
3495
|
export declare class Organization extends BondBaseEntity {
|
|
3486
3496
|
name: string | null;
|
|
3487
3497
|
email: string | null;
|
|
@@ -3544,48 +3554,16 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3544
3554
|
organisationId: number | null;
|
|
3545
3555
|
userId: number | null;
|
|
3546
3556
|
}
|
|
3547
|
-
export interface
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
errorMessage?: string;
|
|
3554
|
-
wasSuccessful: boolean;
|
|
3555
|
-
}
|
|
3556
|
-
export interface PaymentsResults {
|
|
3557
|
-
success: PaymentResult[];
|
|
3558
|
-
failed: PaymentResult[];
|
|
3559
|
-
}
|
|
3560
|
-
export interface InvoicePaymentSum {
|
|
3561
|
-
priceSum: number;
|
|
3562
|
-
paidSum: number;
|
|
3563
|
-
}
|
|
3564
|
-
export interface ExtendedLineItems {
|
|
3565
|
-
memberships: LineItems[];
|
|
3566
|
-
programs: LineItems[];
|
|
3567
|
-
leagues: LineItems[];
|
|
3568
|
-
rentals: LineItems[];
|
|
3569
|
-
products: LineItems[];
|
|
3570
|
-
events: LineItems[];
|
|
3571
|
-
}
|
|
3572
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3573
|
-
paymentType?: string;
|
|
3574
|
-
paymentStatus?: string;
|
|
3575
|
-
}
|
|
3576
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3577
|
-
id?: number;
|
|
3578
|
-
months?: string;
|
|
3579
|
-
}
|
|
3580
|
-
export interface RefundResult extends PaymentsResults {
|
|
3581
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3582
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3583
|
-
invoice?: Invoice;
|
|
3557
|
+
export interface UnallocatedEventsFilters {
|
|
3558
|
+
programsIds?: number[];
|
|
3559
|
+
sessionsIds?: number[];
|
|
3560
|
+
segmentsIds?: number[];
|
|
3561
|
+
durations?: Duration[];
|
|
3562
|
+
daysOfWeek?: number[];
|
|
3584
3563
|
}
|
|
3585
|
-
export interface
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
totalAmountProcessed: number;
|
|
3564
|
+
export interface Duration {
|
|
3565
|
+
startDate: string;
|
|
3566
|
+
endDate: string;
|
|
3589
3567
|
}
|
|
3590
3568
|
export declare class CustomerIdDto {
|
|
3591
3569
|
customerId: number;
|
|
@@ -3615,6 +3593,12 @@ export declare class DiscountDto {
|
|
|
3615
3593
|
export declare class LineItemIdDto {
|
|
3616
3594
|
lineItemId: number;
|
|
3617
3595
|
}
|
|
3596
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3597
|
+
paymentType?: string;
|
|
3598
|
+
paymentStatus?: string;
|
|
3599
|
+
}
|
|
3600
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3601
|
+
}
|
|
3618
3602
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3619
3603
|
userId: number;
|
|
3620
3604
|
}
|
|
@@ -3729,6 +3713,59 @@ export declare class VoidLineItemDto {
|
|
|
3729
3713
|
isEdit?: boolean;
|
|
3730
3714
|
amount?: number;
|
|
3731
3715
|
}
|
|
3716
|
+
export interface PaymentResult {
|
|
3717
|
+
paymentMethodId: string;
|
|
3718
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3719
|
+
amount: number;
|
|
3720
|
+
receiptId?: number;
|
|
3721
|
+
paymentMethod4Digits?: string;
|
|
3722
|
+
errorMessage?: string;
|
|
3723
|
+
wasSuccessful: boolean;
|
|
3724
|
+
}
|
|
3725
|
+
export interface PaymentsResults {
|
|
3726
|
+
success: PaymentResult[];
|
|
3727
|
+
failed: PaymentResult[];
|
|
3728
|
+
}
|
|
3729
|
+
export interface InvoicePaymentSum {
|
|
3730
|
+
priceSum: number;
|
|
3731
|
+
paidSum: number;
|
|
3732
|
+
}
|
|
3733
|
+
export interface ExtendedLineItems {
|
|
3734
|
+
memberships: LineItems[];
|
|
3735
|
+
programs: LineItems[];
|
|
3736
|
+
leagues: LineItems[];
|
|
3737
|
+
rentals: LineItems[];
|
|
3738
|
+
products: LineItems[];
|
|
3739
|
+
events: LineItems[];
|
|
3740
|
+
}
|
|
3741
|
+
export interface RefundResult extends PaymentsResults {
|
|
3742
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3743
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3744
|
+
invoice?: Invoice;
|
|
3745
|
+
}
|
|
3746
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3747
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3748
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3749
|
+
totalAmountProcessed: number;
|
|
3750
|
+
}
|
|
3751
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3752
|
+
id?: number;
|
|
3753
|
+
}
|
|
3754
|
+
export declare class AddAddonsDto {
|
|
3755
|
+
addons: AddonDto[];
|
|
3756
|
+
}
|
|
3757
|
+
export declare class EditAddonsDto {
|
|
3758
|
+
addons: EditAddonDto[];
|
|
3759
|
+
}
|
|
3760
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3761
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3762
|
+
}
|
|
3763
|
+
export declare class EditAddonDto {
|
|
3764
|
+
id: number;
|
|
3765
|
+
quantity: number;
|
|
3766
|
+
totalPrice: number;
|
|
3767
|
+
unitPrice?: number;
|
|
3768
|
+
}
|
|
3732
3769
|
export declare class InvoiceDto {
|
|
3733
3770
|
invoiceId?: string | null;
|
|
3734
3771
|
organizationId: number;
|
|
@@ -3803,6 +3840,14 @@ export declare class MaintenanceDto {
|
|
|
3803
3840
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3804
3841
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3805
3842
|
}
|
|
3843
|
+
export declare class PurchasedResourceDto {
|
|
3844
|
+
resourceId?: number;
|
|
3845
|
+
resourceType: ResourceNameTypeEnum;
|
|
3846
|
+
startDate?: string;
|
|
3847
|
+
startTime?: string;
|
|
3848
|
+
endDate?: string;
|
|
3849
|
+
endTime?: string;
|
|
3850
|
+
}
|
|
3806
3851
|
export declare class ReservationDto {
|
|
3807
3852
|
id?: number;
|
|
3808
3853
|
organizationId?: number;
|
|
@@ -3947,14 +3992,6 @@ export declare class EditReservationDetailsDto {
|
|
|
3947
3992
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3948
3993
|
updateAddons?: boolean;
|
|
3949
3994
|
}
|
|
3950
|
-
export declare class PurchasedResourceDto {
|
|
3951
|
-
resourceId?: number;
|
|
3952
|
-
resourceType: ResourceNameTypeEnum;
|
|
3953
|
-
startDate?: string;
|
|
3954
|
-
startTime?: string;
|
|
3955
|
-
endDate?: string;
|
|
3956
|
-
endTime?: string;
|
|
3957
|
-
}
|
|
3958
3995
|
export declare class SegmentDto {
|
|
3959
3996
|
id?: number;
|
|
3960
3997
|
title: string;
|
|
@@ -4098,24 +4135,6 @@ export declare class BookingV1Dto {
|
|
|
4098
4135
|
cashPayment: boolean;
|
|
4099
4136
|
requestOnly: boolean;
|
|
4100
4137
|
}
|
|
4101
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
4102
|
-
id?: number;
|
|
4103
|
-
}
|
|
4104
|
-
export declare class AddAddonsDto {
|
|
4105
|
-
addons: AddonDto[];
|
|
4106
|
-
}
|
|
4107
|
-
export declare class EditAddonsDto {
|
|
4108
|
-
addons: EditAddonDto[];
|
|
4109
|
-
}
|
|
4110
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4111
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4112
|
-
}
|
|
4113
|
-
export declare class EditAddonDto {
|
|
4114
|
-
id: number;
|
|
4115
|
-
quantity: number;
|
|
4116
|
-
totalPrice: number;
|
|
4117
|
-
unitPrice?: number;
|
|
4118
|
-
}
|
|
4119
4138
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4120
4139
|
parentId: number;
|
|
4121
4140
|
parentType: AddonParentTypeEnum;
|
|
@@ -4518,16 +4537,16 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4518
4537
|
export declare class CreateRoleDto {
|
|
4519
4538
|
name: string;
|
|
4520
4539
|
}
|
|
4521
|
-
export declare class Permission extends BondBaseEntity {
|
|
4522
|
-
name: string;
|
|
4523
|
-
deletedAt?: Date;
|
|
4524
|
-
}
|
|
4525
4540
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4526
4541
|
name: string;
|
|
4527
4542
|
deletedAt?: Date;
|
|
4528
4543
|
permissions: Permission[];
|
|
4529
4544
|
usersRoles: UserRole[];
|
|
4530
4545
|
}
|
|
4546
|
+
export declare class Permission extends BondBaseEntity {
|
|
4547
|
+
name: string;
|
|
4548
|
+
deletedAt?: Date;
|
|
4549
|
+
}
|
|
4531
4550
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4532
4551
|
deletedAt?: Date;
|
|
4533
4552
|
userId: number;
|
|
@@ -4601,3 +4620,14 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4601
4620
|
closingManager?: User;
|
|
4602
4621
|
reconcilingUser?: User;
|
|
4603
4622
|
}
|
|
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
|
+
}
|