@bondsports/types 0.0.170 → 0.0.171
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 +809 -809
- 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
|
@@ -27,6 +27,13 @@ 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
|
+
UNKNOWN = "unknown"
|
|
36
|
+
}
|
|
30
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
38
|
membershipId: number;
|
|
32
39
|
}
|
|
@@ -188,13 +195,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
188
195
|
isWaiverSigned?: string;
|
|
189
196
|
statuses?: string;
|
|
190
197
|
}
|
|
191
|
-
export declare enum EConfigurationKeys {
|
|
192
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
193
|
-
}
|
|
194
|
-
export declare enum EFailedPaymentReasons {
|
|
195
|
-
CARD_BLOCKED = "card_blocked_by_bond",
|
|
196
|
-
UNKNOWN = "unknown"
|
|
197
|
-
}
|
|
198
198
|
export declare class AddressDto {
|
|
199
199
|
city: string;
|
|
200
200
|
state: string;
|
|
@@ -892,6 +892,58 @@ export declare class MoveParticipantDto {
|
|
|
892
892
|
resourceId: number;
|
|
893
893
|
invoiceId: number;
|
|
894
894
|
}
|
|
895
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
+
organizationId: number;
|
|
897
|
+
programType?: ProgramTypesEnum;
|
|
898
|
+
}
|
|
899
|
+
export declare class FindProgramByIdDto {
|
|
900
|
+
programId: number;
|
|
901
|
+
}
|
|
902
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
+
programId: number;
|
|
904
|
+
organizationId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class BaseProgramDto {
|
|
907
|
+
type: ProgramTypesEnum;
|
|
908
|
+
name: string;
|
|
909
|
+
sport: SportsEnum;
|
|
910
|
+
minAge: string;
|
|
911
|
+
maxAge: string;
|
|
912
|
+
gender: GenderEnum;
|
|
913
|
+
level?: LevelOfPlayEnum[];
|
|
914
|
+
description?: string;
|
|
915
|
+
GL?: string;
|
|
916
|
+
status: PublishingStatusEnum;
|
|
917
|
+
organizationId: number;
|
|
918
|
+
userCreatorId: number;
|
|
919
|
+
highlights: ProgramHighlights[];
|
|
920
|
+
longDescription?: string;
|
|
921
|
+
requiredProductIds: number[];
|
|
922
|
+
}
|
|
923
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
+
}
|
|
925
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
+
programId: number;
|
|
927
|
+
mainMediaId: number;
|
|
928
|
+
}
|
|
929
|
+
export declare class UpdateProgramStatusDto {
|
|
930
|
+
programId: number;
|
|
931
|
+
status: PublishingStatusEnum;
|
|
932
|
+
}
|
|
933
|
+
export declare class ProgramHighlightDto {
|
|
934
|
+
data: string;
|
|
935
|
+
ordinal: number;
|
|
936
|
+
type: ProgramHighlightTypeEnum;
|
|
937
|
+
title: string;
|
|
938
|
+
}
|
|
939
|
+
export declare class CreateResourceGroupDto {
|
|
940
|
+
name: string;
|
|
941
|
+
parentSlotId: number;
|
|
942
|
+
facilityId: number;
|
|
943
|
+
childrenSlotIds: number[];
|
|
944
|
+
}
|
|
945
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
946
|
+
}
|
|
895
947
|
export declare class PurchasePaymentDto {
|
|
896
948
|
token: string;
|
|
897
949
|
type: PaymentMethodTypeEnum;
|
|
@@ -965,58 +1017,6 @@ export declare class PartialPaymentAsUserDto {
|
|
|
965
1017
|
paymentMethodData: any;
|
|
966
1018
|
platform?: PlatformsEnum;
|
|
967
1019
|
}
|
|
968
|
-
export declare class CreateResourceGroupDto {
|
|
969
|
-
name: string;
|
|
970
|
-
parentSlotId: number;
|
|
971
|
-
facilityId: number;
|
|
972
|
-
childrenSlotIds: number[];
|
|
973
|
-
}
|
|
974
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
975
|
-
}
|
|
976
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
977
|
-
organizationId: number;
|
|
978
|
-
programType?: ProgramTypesEnum;
|
|
979
|
-
}
|
|
980
|
-
export declare class FindProgramByIdDto {
|
|
981
|
-
programId: number;
|
|
982
|
-
}
|
|
983
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
984
|
-
programId: number;
|
|
985
|
-
organizationId: number;
|
|
986
|
-
}
|
|
987
|
-
export declare class BaseProgramDto {
|
|
988
|
-
type: ProgramTypesEnum;
|
|
989
|
-
name: string;
|
|
990
|
-
sport: SportsEnum;
|
|
991
|
-
minAge: string;
|
|
992
|
-
maxAge: string;
|
|
993
|
-
gender: GenderEnum;
|
|
994
|
-
level?: LevelOfPlayEnum[];
|
|
995
|
-
description?: string;
|
|
996
|
-
GL?: string;
|
|
997
|
-
status: PublishingStatusEnum;
|
|
998
|
-
organizationId: number;
|
|
999
|
-
userCreatorId: number;
|
|
1000
|
-
highlights: ProgramHighlights[];
|
|
1001
|
-
longDescription?: string;
|
|
1002
|
-
requiredProductIds: number[];
|
|
1003
|
-
}
|
|
1004
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1005
|
-
}
|
|
1006
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1007
|
-
programId: number;
|
|
1008
|
-
mainMediaId: number;
|
|
1009
|
-
}
|
|
1010
|
-
export declare class UpdateProgramStatusDto {
|
|
1011
|
-
programId: number;
|
|
1012
|
-
status: PublishingStatusEnum;
|
|
1013
|
-
}
|
|
1014
|
-
export declare class ProgramHighlightDto {
|
|
1015
|
-
data: string;
|
|
1016
|
-
ordinal: number;
|
|
1017
|
-
type: ProgramHighlightTypeEnum;
|
|
1018
|
-
title: string;
|
|
1019
|
-
}
|
|
1020
1020
|
export declare class ResourceDto {
|
|
1021
1021
|
type: ResourceNameTypeEnum;
|
|
1022
1022
|
id: number;
|
|
@@ -1096,6 +1096,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
+
entityType: ResourceNameTypeEnum;
|
|
1101
|
+
entityId: number;
|
|
1102
|
+
organizationId?: number;
|
|
1103
|
+
userId?: number;
|
|
1104
|
+
customerId?: number;
|
|
1105
|
+
performingUserId: number;
|
|
1106
|
+
description: string;
|
|
1107
|
+
actionType: ActionTypesEnum;
|
|
1108
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
+
oldValue?: any;
|
|
1110
|
+
newValue?: any;
|
|
1111
|
+
}
|
|
1099
1112
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1100
1113
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1101
1114
|
parentId: number;
|
|
@@ -1120,19 +1133,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1120
1133
|
geo: any;
|
|
1121
1134
|
deletedAt?: Date;
|
|
1122
1135
|
}
|
|
1123
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1124
|
-
entityType: ResourceNameTypeEnum;
|
|
1125
|
-
entityId: number;
|
|
1126
|
-
organizationId?: number;
|
|
1127
|
-
userId?: number;
|
|
1128
|
-
customerId?: number;
|
|
1129
|
-
performingUserId: number;
|
|
1130
|
-
description: string;
|
|
1131
|
-
actionType: ActionTypesEnum;
|
|
1132
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1133
|
-
oldValue?: any;
|
|
1134
|
-
newValue?: any;
|
|
1135
|
-
}
|
|
1136
1136
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
1137
|
questionId: number;
|
|
1138
1138
|
question?: Questions;
|
|
@@ -1157,11 +1157,6 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1157
1157
|
metadata: object | null;
|
|
1158
1158
|
athleteSports: AthleteSports[];
|
|
1159
1159
|
}
|
|
1160
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1161
|
-
athleteId: number | null;
|
|
1162
|
-
sports: number | null;
|
|
1163
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1164
|
-
}
|
|
1165
1160
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1166
1161
|
entityType: ResourceNameTypeEnum;
|
|
1167
1162
|
entityId: number;
|
|
@@ -1193,6 +1188,21 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1193
1188
|
publicNotes?: string;
|
|
1194
1189
|
slotType?: SlotTypeEnum;
|
|
1195
1190
|
}
|
|
1191
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1192
|
+
parentId: number;
|
|
1193
|
+
parentType: ResourceNameTypeEnum;
|
|
1194
|
+
startDate: Date;
|
|
1195
|
+
endDate: Date;
|
|
1196
|
+
dayOfWeek: number;
|
|
1197
|
+
startTimeInDay: string;
|
|
1198
|
+
endTimeInDay: string;
|
|
1199
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1200
|
+
}
|
|
1201
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1202
|
+
athleteId: number | null;
|
|
1203
|
+
sports: number | null;
|
|
1204
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1205
|
+
}
|
|
1196
1206
|
export declare class Configuration extends BondBaseEntity {
|
|
1197
1207
|
area: string;
|
|
1198
1208
|
key: string;
|
|
@@ -1210,16 +1220,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1210
1220
|
userCreatorId: number | null;
|
|
1211
1221
|
ownerId: number | null;
|
|
1212
1222
|
}
|
|
1213
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1214
|
-
parentId: number;
|
|
1215
|
-
parentType: ResourceNameTypeEnum;
|
|
1216
|
-
startDate: Date;
|
|
1217
|
-
endDate: Date;
|
|
1218
|
-
dayOfWeek: number;
|
|
1219
|
-
startTimeInDay: string;
|
|
1220
|
-
endTimeInDay: string;
|
|
1221
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1222
|
-
}
|
|
1223
1223
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1224
1224
|
creditAmount: number;
|
|
1225
1225
|
paymentProcessorId: string;
|
|
@@ -1625,6 +1625,16 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1625
1625
|
displayUnitPrice?: number;
|
|
1626
1626
|
displayQuantity?: number;
|
|
1627
1627
|
}
|
|
1628
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1629
|
+
invoiceId: number;
|
|
1630
|
+
paymentId: number;
|
|
1631
|
+
lineItemId: number;
|
|
1632
|
+
paidAmount: number;
|
|
1633
|
+
unitPaidAmount: number;
|
|
1634
|
+
currency: CurrencyEnum;
|
|
1635
|
+
payment: Payment;
|
|
1636
|
+
lineItem: LineItems;
|
|
1637
|
+
}
|
|
1628
1638
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1629
1639
|
id: number;
|
|
1630
1640
|
provider: string;
|
|
@@ -1641,16 +1651,6 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1641
1651
|
user: User;
|
|
1642
1652
|
userId: number | null;
|
|
1643
1653
|
}
|
|
1644
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1645
|
-
invoiceId: number;
|
|
1646
|
-
paymentId: number;
|
|
1647
|
-
lineItemId: number;
|
|
1648
|
-
paidAmount: number;
|
|
1649
|
-
unitPaidAmount: number;
|
|
1650
|
-
currency: CurrencyEnum;
|
|
1651
|
-
payment: Payment;
|
|
1652
|
-
lineItem: LineItems;
|
|
1653
|
-
}
|
|
1654
1654
|
export declare class Media extends BondBaseEntity {
|
|
1655
1655
|
url: string;
|
|
1656
1656
|
name: string | null;
|
|
@@ -1735,9 +1735,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1735
1735
|
deletedAt?: Date;
|
|
1736
1736
|
facility: Facility;
|
|
1737
1737
|
}
|
|
1738
|
-
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
|
-
organizationId: number;
|
|
1740
|
-
}
|
|
1741
1738
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1742
1739
|
name?: string;
|
|
1743
1740
|
description?: string;
|
|
@@ -1755,6 +1752,9 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1755
1752
|
isMandatory: boolean;
|
|
1756
1753
|
productId: number;
|
|
1757
1754
|
}
|
|
1755
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1756
|
+
organizationId: number;
|
|
1757
|
+
}
|
|
1758
1758
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
1759
|
token: string | null;
|
|
1760
1760
|
userId: number | null;
|
|
@@ -1922,6 +1922,17 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
|
|
|
1922
1922
|
schedule: PaymentPlanSchedule[];
|
|
1923
1923
|
product?: Product;
|
|
1924
1924
|
}
|
|
1925
|
+
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
|
+
productId: number;
|
|
1927
|
+
resourceId: number;
|
|
1928
|
+
resourceType: ResourceNameTypeEnum;
|
|
1929
|
+
deletedAt?: Date;
|
|
1930
|
+
programSeason: ProgramSeason;
|
|
1931
|
+
event: Event;
|
|
1932
|
+
product: Product;
|
|
1933
|
+
productPackages: ProductPackage[];
|
|
1934
|
+
resourceName?: string;
|
|
1935
|
+
}
|
|
1925
1936
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1926
1937
|
productId: number;
|
|
1927
1938
|
variantTitleId: number;
|
|
@@ -1937,17 +1948,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1937
1948
|
deletedAt?: Date;
|
|
1938
1949
|
product: Product;
|
|
1939
1950
|
}
|
|
1940
|
-
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1941
|
-
productId: number;
|
|
1942
|
-
resourceId: number;
|
|
1943
|
-
resourceType: ResourceNameTypeEnum;
|
|
1944
|
-
deletedAt?: Date;
|
|
1945
|
-
programSeason: ProgramSeason;
|
|
1946
|
-
event: Event;
|
|
1947
|
-
product: Product;
|
|
1948
|
-
productPackages: ProductPackage[];
|
|
1949
|
-
resourceName?: string;
|
|
1950
|
-
}
|
|
1951
1951
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
1952
|
productId: number;
|
|
1953
1953
|
userId: number;
|
|
@@ -2090,11 +2090,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2090
2090
|
ownerId: number | null;
|
|
2091
2091
|
questionnaireId: number | null;
|
|
2092
2092
|
}
|
|
2093
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
|
-
reason: string;
|
|
2095
|
-
ordinal: number;
|
|
2096
|
-
deletedAt: Date;
|
|
2097
|
-
}
|
|
2098
2093
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2099
2094
|
resourceType: ResourceNameTypeEnum;
|
|
2100
2095
|
resourceId: number;
|
|
@@ -2138,6 +2133,11 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2138
2133
|
publicNotes?: string;
|
|
2139
2134
|
slots?: Slot[];
|
|
2140
2135
|
}
|
|
2136
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2137
|
+
reason: string;
|
|
2138
|
+
ordinal: number;
|
|
2139
|
+
deletedAt: Date;
|
|
2140
|
+
}
|
|
2141
2141
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2142
2142
|
name: string;
|
|
2143
2143
|
resourceType: ResourceTypeEnum;
|
|
@@ -2393,370 +2393,10 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2393
2393
|
membershipCollectionId?: string;
|
|
2394
2394
|
programsCollectionId?: string;
|
|
2395
2395
|
}
|
|
2396
|
-
export
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
minValue?: string;
|
|
2401
|
-
maxValue?: string;
|
|
2402
|
-
}
|
|
2403
|
-
export interface IQuestionAnswerObject {
|
|
2404
|
-
questionId: number;
|
|
2405
|
-
value: string;
|
|
2406
|
-
}
|
|
2407
|
-
export interface ILowestPriceForItem {
|
|
2408
|
-
itemId: number;
|
|
2409
|
-
itemType: ResourceNameTypeEnum;
|
|
2410
|
-
groupId: number;
|
|
2411
|
-
groupName?: string;
|
|
2412
|
-
price: number;
|
|
2413
|
-
overridesPrice: boolean;
|
|
2414
|
-
}
|
|
2415
|
-
export interface IResourcesAvailability {
|
|
2416
|
-
resourceType: ResourceNameTypeEnum;
|
|
2417
|
-
quantity: number;
|
|
2418
|
-
resourcesIds: number[];
|
|
2419
|
-
isPunchCard: boolean;
|
|
2420
|
-
resources?: any[];
|
|
2421
|
-
}
|
|
2422
|
-
export interface IPackageResponse {
|
|
2423
|
-
parentProduct: Product;
|
|
2424
|
-
children: IChildProduct[];
|
|
2425
|
-
}
|
|
2426
|
-
export interface IChildProduct {
|
|
2427
|
-
product: Product;
|
|
2428
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2429
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2430
|
-
}
|
|
2431
|
-
export interface ISeasonAttendeeInfo {
|
|
2432
|
-
applicationAnswers: Answer[];
|
|
2433
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2434
|
-
invoices: Invoice[];
|
|
2435
|
-
payments: Payment[];
|
|
2436
|
-
products: Product[];
|
|
2437
|
-
redeemNext: ProductsUsers;
|
|
2438
|
-
}
|
|
2439
|
-
export interface ISeasonAttendeeListInfo {
|
|
2440
|
-
userId: number;
|
|
2441
|
-
userFirstName: string;
|
|
2442
|
-
userLastName: string;
|
|
2443
|
-
userGender: number;
|
|
2444
|
-
userBirthDate: Date;
|
|
2445
|
-
userProfilePicUrl: string;
|
|
2446
|
-
customerId: number;
|
|
2447
|
-
customerEmail: string;
|
|
2448
|
-
paymentStatus: string;
|
|
2449
|
-
productName: string;
|
|
2450
|
-
punchCard: boolean;
|
|
2451
|
-
}
|
|
2452
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2453
|
-
segmentType: ResourceNameTypeEnum;
|
|
2454
|
-
participantRegisteredDate?: string;
|
|
2455
|
-
}
|
|
2456
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2457
|
-
segmentType: ResourceNameTypeEnum;
|
|
2458
|
-
participantRegisteredDate?: string;
|
|
2459
|
-
}
|
|
2460
|
-
export interface ITokenResonse {
|
|
2461
|
-
token: string;
|
|
2462
|
-
}
|
|
2463
|
-
export interface IStripeBondInvoices {
|
|
2464
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2465
|
-
bondPaidPayment: Payment;
|
|
2466
|
-
invoice?: Invoice;
|
|
2467
|
-
customer?: Customer;
|
|
2468
|
-
}
|
|
2469
|
-
export interface IPartialPaymentData {
|
|
2470
|
-
purchasingUserId: number;
|
|
2471
|
-
paymentData: PurchasePaymentDto;
|
|
2472
|
-
amountToPay: number;
|
|
2473
|
-
}
|
|
2474
|
-
export interface IPayment {
|
|
2475
|
-
id: number;
|
|
2476
|
-
total: number;
|
|
2477
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2478
|
-
status: PaymentStatusEnum;
|
|
2479
|
-
createdAt: Date;
|
|
2480
|
-
invoices: number[];
|
|
2481
|
-
}
|
|
2482
|
-
export interface IPaginationData<T> {
|
|
2483
|
-
meta: {
|
|
2484
|
-
totalItems: number;
|
|
2485
|
-
itemsPerPage: number;
|
|
2486
|
-
totalPages: number;
|
|
2487
|
-
currentPage: number;
|
|
2488
|
-
};
|
|
2489
|
-
data: T[];
|
|
2490
|
-
}
|
|
2491
|
-
export interface IPricesOfProductsResults {
|
|
2492
|
-
productId: number;
|
|
2493
|
-
userId: number;
|
|
2494
|
-
price: number;
|
|
2495
|
-
groupId?: number;
|
|
2496
|
-
groupName?: string;
|
|
2497
|
-
originalPrice?: number;
|
|
2498
|
-
priceWithoutTax: number;
|
|
2499
|
-
tax: number;
|
|
2500
|
-
isTaxInclusive: boolean;
|
|
2501
|
-
}
|
|
2502
|
-
export interface IPaymentMethodToFundLeft {
|
|
2503
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2504
|
-
paymentMethodId: string;
|
|
2505
|
-
fundLeft: number;
|
|
2506
|
-
ccLast4?: string;
|
|
2507
|
-
ccBrand?: string;
|
|
2508
|
-
}
|
|
2509
|
-
export interface IVariantsAndTitle {
|
|
2510
|
-
title: VariantTitle;
|
|
2511
|
-
variants: Variant[];
|
|
2512
|
-
}
|
|
2513
|
-
export interface IProgramSeasonActivityTimes {
|
|
2514
|
-
dayOfWeek: number;
|
|
2515
|
-
open: string;
|
|
2516
|
-
close: string;
|
|
2517
|
-
}
|
|
2518
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2519
|
-
date: string;
|
|
2520
|
-
startTime: string;
|
|
2521
|
-
endTime: string;
|
|
2522
|
-
}
|
|
2523
|
-
export interface IBlockedDates {
|
|
2524
|
-
name: string;
|
|
2525
|
-
startDate: Date;
|
|
2526
|
-
endDate: Date;
|
|
2527
|
-
}
|
|
2528
|
-
export interface ISingleMemberForRenewal {
|
|
2529
|
-
member_id: number;
|
|
2530
|
-
member_membershipId: number;
|
|
2531
|
-
member_userId: number;
|
|
2532
|
-
member_nextPaymentMethodId?: string;
|
|
2533
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2534
|
-
member_answerTitleIds?: number[];
|
|
2535
|
-
member_organizationId: number;
|
|
2536
|
-
product_productPrice: number;
|
|
2537
|
-
product_productId: number;
|
|
2538
|
-
invoice_payingUserId: number;
|
|
2539
|
-
invoice_paymentMethodId: string;
|
|
2540
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2541
|
-
endDate: Date;
|
|
2542
|
-
membership_name: string;
|
|
2543
|
-
user_firstName: string;
|
|
2544
|
-
user_lastName: string;
|
|
2545
|
-
user_email: string;
|
|
2546
|
-
}
|
|
2547
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2548
|
-
package_parentProductId: number;
|
|
2549
|
-
product2_productPrice: number;
|
|
2550
|
-
familyid: number;
|
|
2551
|
-
invoice_id: number;
|
|
2552
|
-
}
|
|
2553
|
-
export interface IResourceRegistrationData {
|
|
2554
|
-
id: number;
|
|
2555
|
-
resourceType: ResourceNameTypeEnum;
|
|
2556
|
-
openNumDays?: number;
|
|
2557
|
-
openNumMinutes?: number;
|
|
2558
|
-
openTime?: string;
|
|
2559
|
-
closeNumDays?: number;
|
|
2560
|
-
closeNumMinutes?: number;
|
|
2561
|
-
closeTime?: string;
|
|
2562
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2563
|
-
}
|
|
2564
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2565
|
-
id: number;
|
|
2566
|
-
startDate: string;
|
|
2567
|
-
startTime: string;
|
|
2568
|
-
}
|
|
2569
|
-
export interface IRegistrationConstraintsSetting {
|
|
2570
|
-
numDays?: number;
|
|
2571
|
-
numMinutes?: number;
|
|
2572
|
-
}
|
|
2573
|
-
export interface IAttendeeDataToNotify {
|
|
2574
|
-
firstName: string;
|
|
2575
|
-
lastName: string;
|
|
2576
|
-
email: string;
|
|
2577
|
-
sessionName: string;
|
|
2578
|
-
parentSessionName?: string;
|
|
2579
|
-
organizationName: string;
|
|
2580
|
-
programName: string;
|
|
2581
|
-
}
|
|
2582
|
-
export interface IEventInSchedule {
|
|
2583
|
-
eventId: number;
|
|
2584
|
-
eventName: string;
|
|
2585
|
-
eventStartDate: string;
|
|
2586
|
-
eventEndDate: string;
|
|
2587
|
-
eventStartTime: string;
|
|
2588
|
-
eventEndTime: string;
|
|
2589
|
-
programId: number;
|
|
2590
|
-
programName: string;
|
|
2591
|
-
programType: ProgramTypesEnum;
|
|
2592
|
-
sessionId: number;
|
|
2593
|
-
sessionName: string;
|
|
2594
|
-
sports: number;
|
|
2595
|
-
spaces: {
|
|
2596
|
-
spaceId: number;
|
|
2597
|
-
spaceName: string;
|
|
2598
|
-
}[];
|
|
2599
|
-
status?: RegistrationValidationStatusEnum;
|
|
2600
|
-
}
|
|
2601
|
-
export interface ISlotInSchedule {
|
|
2602
|
-
facilityId: number;
|
|
2603
|
-
facilityName: string;
|
|
2604
|
-
spaces: ISpaceWithSlots[];
|
|
2605
|
-
}
|
|
2606
|
-
export interface ISpaceWithSlots {
|
|
2607
|
-
id: number;
|
|
2608
|
-
name: string;
|
|
2609
|
-
slots: ISlotReservationData[];
|
|
2610
|
-
}
|
|
2611
|
-
export interface ISlotReservationData {
|
|
2612
|
-
reservationId: number;
|
|
2613
|
-
reservationName: string;
|
|
2614
|
-
date: string;
|
|
2615
|
-
startTime: string;
|
|
2616
|
-
endTime: string;
|
|
2617
|
-
notes: string;
|
|
2618
|
-
spaceId: number;
|
|
2619
|
-
isRental: boolean;
|
|
2620
|
-
slotType: SlotTypeEnum;
|
|
2621
|
-
slotId: number;
|
|
2622
|
-
eventId: number;
|
|
2623
|
-
isPrivate: boolean;
|
|
2624
|
-
}
|
|
2625
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2626
|
-
parentSessionId: number;
|
|
2627
|
-
parentSessionName: string;
|
|
2628
|
-
eventTimezone: string;
|
|
2629
|
-
maxParticipants: number;
|
|
2630
|
-
maxMaleParticipants: number;
|
|
2631
|
-
maxFemaleParticipants: number;
|
|
2632
|
-
isPunchCard: boolean;
|
|
2633
|
-
}
|
|
2634
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2635
|
-
id: number;
|
|
2636
|
-
name: string;
|
|
2637
|
-
bookingCreatorId: number;
|
|
2638
|
-
}
|
|
2639
|
-
export interface IRawSlotInSchedule {
|
|
2640
|
-
startDate: string;
|
|
2641
|
-
endDate: string;
|
|
2642
|
-
startTime: string;
|
|
2643
|
-
endTime: string;
|
|
2644
|
-
reservationId: number;
|
|
2645
|
-
eventTitle: string;
|
|
2646
|
-
publicNotes: string;
|
|
2647
|
-
spaceId: number;
|
|
2648
|
-
creatorType: ResourceNameTypeEnum;
|
|
2649
|
-
slotType: SlotTypeEnum;
|
|
2650
|
-
slotId: number;
|
|
2651
|
-
eventId: number;
|
|
2652
|
-
isPrivate: boolean;
|
|
2653
|
-
}
|
|
2654
|
-
export interface IPurchasedResourcesRaw {
|
|
2655
|
-
purchasedId: number;
|
|
2656
|
-
purchasedProductUserId: number;
|
|
2657
|
-
purchasedResourceId: number;
|
|
2658
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2659
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2660
|
-
pUserId: number;
|
|
2661
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2662
|
-
pUserProductId: number;
|
|
2663
|
-
pUserProductName: string;
|
|
2664
|
-
pUserProductPrice: number;
|
|
2665
|
-
pUserProductPriceCurrency: string;
|
|
2666
|
-
pUserProductQuantity: number;
|
|
2667
|
-
pUserProductQuantityLeft: number;
|
|
2668
|
-
pUserUserId: number;
|
|
2669
|
-
}
|
|
2670
|
-
export interface IUsersPasses {
|
|
2671
|
-
userId: number;
|
|
2672
|
-
userFirstName: string;
|
|
2673
|
-
userLastName: string;
|
|
2674
|
-
organizationId: number;
|
|
2675
|
-
programId: number;
|
|
2676
|
-
programName: string;
|
|
2677
|
-
sessionId: number;
|
|
2678
|
-
sessionName: string;
|
|
2679
|
-
productId: number;
|
|
2680
|
-
productName: string;
|
|
2681
|
-
productUserId: number;
|
|
2682
|
-
purchaseDate: Date;
|
|
2683
|
-
passesLeft: number;
|
|
2684
|
-
}
|
|
2685
|
-
export interface ISessionsLandingPage {
|
|
2686
|
-
sessionId: number;
|
|
2687
|
-
name: string;
|
|
2688
|
-
startDate: Date;
|
|
2689
|
-
endDate: Date;
|
|
2690
|
-
registrationStartDate: Date;
|
|
2691
|
-
registrationEndDate: Date;
|
|
2692
|
-
sport: SportsEnum;
|
|
2693
|
-
minAge: string;
|
|
2694
|
-
maxAge: string;
|
|
2695
|
-
maxParticipants?: number;
|
|
2696
|
-
gender: GenderEnum;
|
|
2697
|
-
activityTimes: ActivityTimes[];
|
|
2698
|
-
earlyRegistrationStartDate?: Date;
|
|
2699
|
-
earlyRegistrationEndDate?: Date;
|
|
2700
|
-
lateRegistrationStartDate?: Date;
|
|
2701
|
-
lateRegistrationEndDate?: Date;
|
|
2702
|
-
attendeeCount?: number;
|
|
2703
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2704
|
-
}
|
|
2705
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2706
|
-
hasRequiredMembership: boolean;
|
|
2707
|
-
hasEntitledPricing: boolean;
|
|
2708
|
-
lowestPrice?: number;
|
|
2709
|
-
products?: ISessionLandingPageProduct[];
|
|
2710
|
-
}
|
|
2711
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2712
|
-
hasRequiredMembership: boolean;
|
|
2713
|
-
hasEntitledPricing: boolean;
|
|
2714
|
-
products?: ISessionLandingPageProduct[];
|
|
2715
|
-
segments?: Event[] | ProgramSeason[];
|
|
2716
|
-
programName: string;
|
|
2717
|
-
programId: number;
|
|
2718
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2719
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2720
|
-
}
|
|
2721
|
-
export interface ISlimAddons {
|
|
2722
|
-
addons?: {
|
|
2723
|
-
id: number;
|
|
2724
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2725
|
-
name: string;
|
|
2726
|
-
productType?: ProductTypesEnum;
|
|
2727
|
-
productSubType?: string;
|
|
2728
|
-
}[];
|
|
2729
|
-
}
|
|
2730
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2731
|
-
id: number;
|
|
2732
|
-
name: string;
|
|
2733
|
-
startDate?: Date;
|
|
2734
|
-
endDate?: Date;
|
|
2735
|
-
downpayment?: number;
|
|
2736
|
-
description?: string;
|
|
2737
|
-
prices: Price[];
|
|
2738
|
-
productSubType?: ProductSubTypesEnum;
|
|
2739
|
-
punchCard: boolean;
|
|
2740
|
-
isAddon: boolean;
|
|
2741
|
-
defaultPriceId?: number;
|
|
2742
|
-
}
|
|
2743
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2744
|
-
destinationId?: string;
|
|
2745
|
-
stripeCustomerId?: string;
|
|
2746
|
-
fee?: number;
|
|
2747
|
-
}
|
|
2748
|
-
export interface IReservationCreatorData {
|
|
2749
|
-
type: ResourceNameTypeEnum;
|
|
2750
|
-
id: number;
|
|
2751
|
-
organizationId: number;
|
|
2752
|
-
startDate: string;
|
|
2753
|
-
endDate: string;
|
|
2754
|
-
sportId: number;
|
|
2755
|
-
}
|
|
2756
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2757
|
-
QUESTION = "question",
|
|
2758
|
-
CITY = "city",
|
|
2759
|
-
MEMBERSHIP = "membership"
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
2760
2400
|
}
|
|
2761
2401
|
export declare enum ResourceNameTypeEnum {
|
|
2762
2402
|
EVENT = "event",
|
|
@@ -3183,119 +2823,479 @@ export declare enum ShiftStatusEnum {
|
|
|
3183
2823
|
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3184
2824
|
RECONCILED = "reconciled"
|
|
3185
2825
|
}
|
|
3186
|
-
export declare enum EventStatusEnum {
|
|
3187
|
-
OPEN = 1,
|
|
3188
|
-
DRAFT = 2,
|
|
3189
|
-
FULL = 3,
|
|
3190
|
-
CANCELLED = 4,
|
|
3191
|
-
CLOSED = 5,
|
|
3192
|
-
DELETED = 6
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2872
|
+
}
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2881
|
+
}
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2886
|
+
}
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2891
|
+
}
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2895
|
+
}
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2906
|
+
}
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2911
|
+
}
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2916
|
+
}
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2920
|
+
}
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2926
|
+
}
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2932
|
+
}
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2939
|
+
}
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2946
|
+
}
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
2958
|
+
}
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
quantity: number;
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
2965
|
+
}
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
2969
|
+
}
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2974
|
+
}
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
2982
|
+
}
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
2995
|
+
}
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
2999
|
+
}
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
3003
|
+
}
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
3006
|
+
}
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
3012
|
+
}
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
3017
|
+
}
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
3025
|
+
}
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
3034
|
+
}
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
3036
|
+
productId: number;
|
|
3037
|
+
userId: number;
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
3045
|
+
}
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
3052
|
+
}
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
3056
|
+
}
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3061
|
+
}
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3066
|
+
}
|
|
3067
|
+
export interface IBlockedDates {
|
|
3068
|
+
name: string;
|
|
3069
|
+
startDate: Date;
|
|
3070
|
+
endDate: Date;
|
|
3071
|
+
}
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3090
|
+
}
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3193
3096
|
}
|
|
3194
|
-
export
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3099
|
+
resourceType: ResourceNameTypeEnum;
|
|
3100
|
+
openNumDays?: number;
|
|
3101
|
+
openNumMinutes?: number;
|
|
3102
|
+
openTime?: string;
|
|
3103
|
+
closeNumDays?: number;
|
|
3104
|
+
closeNumMinutes?: number;
|
|
3105
|
+
closeTime?: string;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3200
3107
|
}
|
|
3201
|
-
export
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3205
3112
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3209
3116
|
}
|
|
3210
|
-
export
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3216
3125
|
}
|
|
3217
|
-
export
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3222
3144
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3146
|
+
facilityId: number;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3227
3149
|
}
|
|
3228
|
-
export
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3152
|
+
name: string;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3232
3154
|
}
|
|
3233
|
-
export
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3241
3168
|
}
|
|
3242
|
-
export
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3246
3177
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3251
3182
|
}
|
|
3252
|
-
export
|
|
3253
|
-
|
|
3254
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3255
3197
|
}
|
|
3256
|
-
export
|
|
3257
|
-
|
|
3258
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3259
3213
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3214
|
+
export interface IUsersPasses {
|
|
3215
|
+
userId: number;
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3266
3228
|
}
|
|
3267
|
-
export
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3271
3248
|
}
|
|
3272
|
-
export
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3276
3254
|
}
|
|
3277
|
-
export
|
|
3278
|
-
|
|
3279
|
-
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3280
3264
|
}
|
|
3281
|
-
export
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3286
3273
|
}
|
|
3287
|
-
export
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3276
|
+
name: string;
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3292
3286
|
}
|
|
3293
|
-
export
|
|
3294
|
-
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3295
3291
|
}
|
|
3296
|
-
export
|
|
3297
|
-
|
|
3298
|
-
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3299
3299
|
}
|
|
3300
3300
|
export declare class ColumnNumericTransformer {
|
|
3301
3301
|
to(data: number): number;
|
|
@@ -3418,10 +3418,6 @@ export declare class ImportedReservationDto {
|
|
|
3418
3418
|
slots?: ImportedSlotDto[];
|
|
3419
3419
|
addons?: ImportedSlotProductDto[];
|
|
3420
3420
|
}
|
|
3421
|
-
export declare class Lock extends BondBaseEntity {
|
|
3422
|
-
name: string;
|
|
3423
|
-
locked?: Date;
|
|
3424
|
-
}
|
|
3425
3421
|
export declare class GameSlots extends BondBaseEntity {
|
|
3426
3422
|
entityType: string;
|
|
3427
3423
|
entityId: number;
|
|
@@ -3453,6 +3449,10 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3453
3449
|
divisionId?: number;
|
|
3454
3450
|
name: string;
|
|
3455
3451
|
}
|
|
3452
|
+
export declare class Lock extends BondBaseEntity {
|
|
3453
|
+
name: string;
|
|
3454
|
+
locked?: Date;
|
|
3455
|
+
}
|
|
3456
3456
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3457
3457
|
teamId: number | null;
|
|
3458
3458
|
eventId: number | null;
|
|
@@ -3479,6 +3479,12 @@ export interface PaymentStatusesDict {
|
|
|
3479
3479
|
export interface PaymentStatusDict {
|
|
3480
3480
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3481
3481
|
}
|
|
3482
|
+
export declare class CreateMonitorConfigDto {
|
|
3483
|
+
facilityId: number;
|
|
3484
|
+
name: string;
|
|
3485
|
+
code: string;
|
|
3486
|
+
config: any;
|
|
3487
|
+
}
|
|
3482
3488
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3483
3489
|
facilityId: number;
|
|
3484
3490
|
code: string;
|
|
@@ -3491,6 +3497,28 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3491
3497
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3492
3498
|
destination: string;
|
|
3493
3499
|
}
|
|
3500
|
+
export declare class RefundDto {
|
|
3501
|
+
invoiceId: number;
|
|
3502
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3503
|
+
refundLineItemAmountDict?: {
|
|
3504
|
+
[id: number]: number;
|
|
3505
|
+
};
|
|
3506
|
+
refunds: PaymentMethodDto[];
|
|
3507
|
+
refundType: RefundTypeEnum;
|
|
3508
|
+
reasonId: number;
|
|
3509
|
+
note?: string;
|
|
3510
|
+
shiftId?: number;
|
|
3511
|
+
meta?: RevertMetaDto;
|
|
3512
|
+
}
|
|
3513
|
+
export declare class PaymentMethodDto {
|
|
3514
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3515
|
+
amount: number;
|
|
3516
|
+
paymentMethodId?: string;
|
|
3517
|
+
}
|
|
3518
|
+
export declare class RefundLineItemAmountDto {
|
|
3519
|
+
id: number;
|
|
3520
|
+
refundAmount: number;
|
|
3521
|
+
}
|
|
3494
3522
|
export declare class CustomerIdDto {
|
|
3495
3523
|
customerId: number;
|
|
3496
3524
|
}
|
|
@@ -3578,210 +3606,85 @@ export declare class PaymentPlanSchduleDto {
|
|
|
3578
3606
|
export declare class PaymentPlanDto {
|
|
3579
3607
|
months?: number;
|
|
3580
3608
|
dayOfMonth?: number;
|
|
3581
|
-
schedule?: PaymentPlanSchduleDto[];
|
|
3582
|
-
}
|
|
3583
|
-
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3584
|
-
amountToSplit: number;
|
|
3585
|
-
}
|
|
3586
|
-
export declare class AddToInvoiceDto {
|
|
3587
|
-
invoiceId: number;
|
|
3588
|
-
userId: number;
|
|
3589
|
-
productsToAdd: PurchaseProductDto[];
|
|
3590
|
-
resourcesToRemove: PurchaseProductDto[];
|
|
3591
|
-
}
|
|
3592
|
-
export declare class CreateNoteDto {
|
|
3593
|
-
content: string;
|
|
3594
|
-
isPublic: boolean;
|
|
3595
|
-
}
|
|
3596
|
-
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
3597
|
-
id: number;
|
|
3598
|
-
}
|
|
3599
|
-
export declare class NotePrivacyDto {
|
|
3600
|
-
filter: string;
|
|
3601
|
-
}
|
|
3602
|
-
export declare class RevertMetaDto {
|
|
3603
|
-
removedResources: RemoveResourceDto[];
|
|
3604
|
-
}
|
|
3605
|
-
export declare class RemoveResourceDto {
|
|
3606
|
-
resourceType: ResourceNameTypeEnum;
|
|
3607
|
-
resourceId: number;
|
|
3608
|
-
lineItemId: number;
|
|
3609
|
-
}
|
|
3610
|
-
export declare class SendRequestDto {
|
|
3611
|
-
invoiceId: number;
|
|
3612
|
-
userId: number;
|
|
3613
|
-
sendToEmail: string;
|
|
3614
|
-
memo?: string;
|
|
3615
|
-
}
|
|
3616
|
-
export declare class RefundDto {
|
|
3617
|
-
invoiceId: number;
|
|
3618
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3619
|
-
refundLineItemAmountDict?: {
|
|
3620
|
-
[id: number]: number;
|
|
3621
|
-
};
|
|
3622
|
-
refunds: PaymentMethodDto[];
|
|
3623
|
-
refundType: RefundTypeEnum;
|
|
3624
|
-
reasonId: number;
|
|
3625
|
-
note?: string;
|
|
3626
|
-
shiftId?: number;
|
|
3627
|
-
meta?: RevertMetaDto;
|
|
3628
|
-
}
|
|
3629
|
-
export declare class PaymentMethodDto {
|
|
3630
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3631
|
-
amount: number;
|
|
3632
|
-
paymentMethodId?: string;
|
|
3633
|
-
}
|
|
3634
|
-
export declare class RefundLineItemAmountDto {
|
|
3635
|
-
id: number;
|
|
3636
|
-
refundAmount: number;
|
|
3637
|
-
}
|
|
3638
|
-
export declare class VoidDto {
|
|
3639
|
-
lineItems: VoidLineItemDto[];
|
|
3640
|
-
meta?: RevertMetaDto;
|
|
3641
|
-
}
|
|
3642
|
-
export declare class VoidLineItemDto {
|
|
3643
|
-
id: number;
|
|
3644
|
-
quantity?: number;
|
|
3645
|
-
isEdit?: boolean;
|
|
3646
|
-
amount?: number;
|
|
3647
|
-
}
|
|
3648
|
-
export declare class CreateMonitorConfigDto {
|
|
3649
|
-
facilityId: number;
|
|
3650
|
-
name: string;
|
|
3651
|
-
code: string;
|
|
3652
|
-
config: any;
|
|
3653
|
-
}
|
|
3654
|
-
export interface PaymentResult {
|
|
3655
|
-
paymentMethodId: string;
|
|
3656
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3657
|
-
amount: number;
|
|
3658
|
-
receiptId?: number;
|
|
3659
|
-
paymentMethod4Digits?: string;
|
|
3660
|
-
errorMessage?: string;
|
|
3661
|
-
wasSuccessful: boolean;
|
|
3662
|
-
}
|
|
3663
|
-
export interface PaymentsResults {
|
|
3664
|
-
success: PaymentResult[];
|
|
3665
|
-
failed: PaymentResult[];
|
|
3666
|
-
}
|
|
3667
|
-
export interface InvoicePaymentSum {
|
|
3668
|
-
priceSum: number;
|
|
3669
|
-
paidSum: number;
|
|
3670
|
-
}
|
|
3671
|
-
export interface ExtendedLineItems {
|
|
3672
|
-
memberships: LineItems[];
|
|
3673
|
-
programs: LineItems[];
|
|
3674
|
-
leagues: LineItems[];
|
|
3675
|
-
rentals: LineItems[];
|
|
3676
|
-
products: LineItems[];
|
|
3677
|
-
events: LineItems[];
|
|
3678
|
-
}
|
|
3679
|
-
export interface RefundResult extends PaymentsResults {
|
|
3680
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3681
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3682
|
-
invoice?: Invoice;
|
|
3683
|
-
}
|
|
3684
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3685
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3686
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3687
|
-
totalAmountProcessed: number;
|
|
3688
|
-
}
|
|
3689
|
-
export declare class ByOrganizationIdDto {
|
|
3690
|
-
organizationId: number;
|
|
3691
|
-
}
|
|
3692
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3693
|
-
organizationId?: number;
|
|
3694
|
-
}
|
|
3695
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3696
|
-
programsIds?: string;
|
|
3697
|
-
sessionsIds?: string;
|
|
3698
|
-
segmentsIds?: string;
|
|
3699
|
-
startDate?: string;
|
|
3700
|
-
endDate?: string;
|
|
3701
|
-
months?: string;
|
|
3702
|
-
dow?: string;
|
|
3703
|
-
}
|
|
3704
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3705
|
-
programsIds?: string;
|
|
3706
|
-
sessionsIds?: string;
|
|
3707
|
-
segmentsIds?: string;
|
|
3708
|
-
startDate?: string;
|
|
3709
|
-
endDate?: string;
|
|
3710
|
-
months?: string;
|
|
3711
|
-
dow?: string;
|
|
3712
|
-
}
|
|
3713
|
-
export declare class Organization extends BondBaseEntity {
|
|
3714
|
-
name: string | null;
|
|
3715
|
-
email: string | null;
|
|
3716
|
-
twitter: string | null;
|
|
3717
|
-
facebook: string | null;
|
|
3718
|
-
instagram: string | null;
|
|
3719
|
-
website: string | null;
|
|
3720
|
-
blog: string | null;
|
|
3721
|
-
phoneNumber: string | null;
|
|
3722
|
-
waiverDoc: string | null;
|
|
3723
|
-
about: string | null;
|
|
3724
|
-
tagline: string | null;
|
|
3725
|
-
status: number | null;
|
|
3726
|
-
addressId: number | null;
|
|
3727
|
-
merchantId: number | null;
|
|
3728
|
-
userCreatorId: number | null;
|
|
3729
|
-
parentId: number | null;
|
|
3730
|
-
paymentSettings: object | null;
|
|
3731
|
-
settings: object | null;
|
|
3732
|
-
isClaimed: boolean | null;
|
|
3733
|
-
sports: number[] | null;
|
|
3734
|
-
mainMediaId: number | null;
|
|
3735
|
-
deletedAt: Date | null;
|
|
3736
|
-
organizationActivityTypes: number[] | null;
|
|
3737
|
-
organizationTypes: number[] | null;
|
|
3738
|
-
organizationAudienceTypes: number[] | null;
|
|
3739
|
-
organizationGenders: number[] | null;
|
|
3740
|
-
questionnaireId: number | null;
|
|
3741
|
-
membershipQuestionnaireId: number | null;
|
|
3742
|
-
feeRate: number;
|
|
3743
|
-
feeAddDollarRate: number;
|
|
3744
|
-
achFeeRate: number;
|
|
3745
|
-
achFeeAddDollarRate: number;
|
|
3746
|
-
maxAchFee: number;
|
|
3747
|
-
cashFeeRate: number;
|
|
3748
|
-
cashFeeAddDollarRate: number;
|
|
3749
|
-
terminalFeeRate: number;
|
|
3750
|
-
terminalFeeAddDollarRate: number;
|
|
3751
|
-
checkFeeRate: number;
|
|
3752
|
-
checkFeeAddDollarRate: number;
|
|
3753
|
-
otherFeeRate: number;
|
|
3754
|
-
otherFeeAddDollarRate: number;
|
|
3755
|
-
balanceFeeRate: number;
|
|
3756
|
-
balanceFeeAddDollarRate: number;
|
|
3757
|
-
address: Address;
|
|
3758
|
-
mainMedia: Media;
|
|
3759
|
-
brandings: OrganizationBranding[];
|
|
3760
|
-
brandingsV2?: OrganizationBranding[];
|
|
3609
|
+
schedule?: PaymentPlanSchduleDto[];
|
|
3761
3610
|
}
|
|
3762
|
-
export declare class
|
|
3763
|
-
|
|
3764
|
-
vaule?: string;
|
|
3765
|
-
version: number;
|
|
3766
|
-
organization: Organization;
|
|
3611
|
+
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3612
|
+
amountToSplit: number;
|
|
3767
3613
|
}
|
|
3768
|
-
export declare class
|
|
3769
|
-
|
|
3614
|
+
export declare class AddToInvoiceDto {
|
|
3615
|
+
invoiceId: number;
|
|
3616
|
+
userId: number;
|
|
3617
|
+
productsToAdd: PurchaseProductDto[];
|
|
3618
|
+
resourcesToRemove: PurchaseProductDto[];
|
|
3770
3619
|
}
|
|
3771
|
-
export declare class
|
|
3772
|
-
|
|
3773
|
-
|
|
3620
|
+
export declare class CreateNoteDto {
|
|
3621
|
+
content: string;
|
|
3622
|
+
isPublic: boolean;
|
|
3774
3623
|
}
|
|
3775
|
-
export
|
|
3776
|
-
|
|
3777
|
-
sessionsIds?: number[];
|
|
3778
|
-
segmentsIds?: number[];
|
|
3779
|
-
durations?: Duration[];
|
|
3780
|
-
daysOfWeek?: number[];
|
|
3624
|
+
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
3625
|
+
id: number;
|
|
3781
3626
|
}
|
|
3782
|
-
export
|
|
3783
|
-
|
|
3784
|
-
|
|
3627
|
+
export declare class NotePrivacyDto {
|
|
3628
|
+
filter: string;
|
|
3629
|
+
}
|
|
3630
|
+
export declare class RevertMetaDto {
|
|
3631
|
+
removedResources: RemoveResourceDto[];
|
|
3632
|
+
}
|
|
3633
|
+
export declare class RemoveResourceDto {
|
|
3634
|
+
resourceType: ResourceNameTypeEnum;
|
|
3635
|
+
resourceId: number;
|
|
3636
|
+
lineItemId: number;
|
|
3637
|
+
}
|
|
3638
|
+
export declare class SendRequestDto {
|
|
3639
|
+
invoiceId: number;
|
|
3640
|
+
userId: number;
|
|
3641
|
+
sendToEmail: string;
|
|
3642
|
+
memo?: string;
|
|
3643
|
+
}
|
|
3644
|
+
export declare class VoidDto {
|
|
3645
|
+
lineItems: VoidLineItemDto[];
|
|
3646
|
+
meta?: RevertMetaDto;
|
|
3647
|
+
}
|
|
3648
|
+
export declare class VoidLineItemDto {
|
|
3649
|
+
id: number;
|
|
3650
|
+
quantity?: number;
|
|
3651
|
+
isEdit?: boolean;
|
|
3652
|
+
amount?: number;
|
|
3653
|
+
}
|
|
3654
|
+
export interface PaymentResult {
|
|
3655
|
+
paymentMethodId: string;
|
|
3656
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3657
|
+
amount: number;
|
|
3658
|
+
receiptId?: number;
|
|
3659
|
+
paymentMethod4Digits?: string;
|
|
3660
|
+
errorMessage?: string;
|
|
3661
|
+
wasSuccessful: boolean;
|
|
3662
|
+
}
|
|
3663
|
+
export interface PaymentsResults {
|
|
3664
|
+
success: PaymentResult[];
|
|
3665
|
+
failed: PaymentResult[];
|
|
3666
|
+
}
|
|
3667
|
+
export interface InvoicePaymentSum {
|
|
3668
|
+
priceSum: number;
|
|
3669
|
+
paidSum: number;
|
|
3670
|
+
}
|
|
3671
|
+
export interface ExtendedLineItems {
|
|
3672
|
+
memberships: LineItems[];
|
|
3673
|
+
programs: LineItems[];
|
|
3674
|
+
leagues: LineItems[];
|
|
3675
|
+
rentals: LineItems[];
|
|
3676
|
+
products: LineItems[];
|
|
3677
|
+
events: LineItems[];
|
|
3678
|
+
}
|
|
3679
|
+
export interface RefundResult extends PaymentsResults {
|
|
3680
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3681
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3682
|
+
invoice?: Invoice;
|
|
3683
|
+
}
|
|
3684
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3685
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3686
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3687
|
+
totalAmountProcessed: number;
|
|
3785
3688
|
}
|
|
3786
3689
|
export declare class AddonDto {
|
|
3787
3690
|
productId: number;
|
|
@@ -3851,39 +3754,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3851
3754
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3852
3755
|
segments: SegmentDto[];
|
|
3853
3756
|
}
|
|
3854
|
-
export declare class LineItemDto {
|
|
3855
|
-
id?: number;
|
|
3856
|
-
invoiceId?: number;
|
|
3857
|
-
type: LineItemsStatusEnum;
|
|
3858
|
-
organizationId: number;
|
|
3859
|
-
userId?: number;
|
|
3860
|
-
productId: number;
|
|
3861
|
-
product?: Product;
|
|
3862
|
-
productType: ProductTypesEnum;
|
|
3863
|
-
ordinal?: number;
|
|
3864
|
-
price: number;
|
|
3865
|
-
originalPrice?: number;
|
|
3866
|
-
paidAmount?: number;
|
|
3867
|
-
currency: CurrencyEnum;
|
|
3868
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3869
|
-
isRefunded?: boolean;
|
|
3870
|
-
isTaxInclusive?: boolean;
|
|
3871
|
-
taxPrecent?: number;
|
|
3872
|
-
unitPrice?: number;
|
|
3873
|
-
quantity: number;
|
|
3874
|
-
resources?: PurchasedResourceDto[];
|
|
3875
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3876
|
-
unitPriceWithTax?: number;
|
|
3877
|
-
unitTaxPrice?: number;
|
|
3878
|
-
parentOrdinal?: number;
|
|
3879
|
-
}
|
|
3880
|
-
export declare class MaintenanceDto {
|
|
3881
|
-
id?: number;
|
|
3882
|
-
title: string;
|
|
3883
|
-
durationValue: number;
|
|
3884
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3885
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3886
|
-
}
|
|
3887
3757
|
export declare class PurchasedResourceDto {
|
|
3888
3758
|
resourceId?: number;
|
|
3889
3759
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -4071,6 +3941,32 @@ export declare class SeriesDto {
|
|
|
4071
3941
|
maintenance?: MaintenanceDto[];
|
|
4072
3942
|
slots?: SlotDto[];
|
|
4073
3943
|
}
|
|
3944
|
+
export declare class LineItemDto {
|
|
3945
|
+
id?: number;
|
|
3946
|
+
invoiceId?: number;
|
|
3947
|
+
type: LineItemsStatusEnum;
|
|
3948
|
+
organizationId: number;
|
|
3949
|
+
userId?: number;
|
|
3950
|
+
productId: number;
|
|
3951
|
+
product?: Product;
|
|
3952
|
+
productType: ProductTypesEnum;
|
|
3953
|
+
ordinal?: number;
|
|
3954
|
+
price: number;
|
|
3955
|
+
originalPrice?: number;
|
|
3956
|
+
paidAmount?: number;
|
|
3957
|
+
currency: CurrencyEnum;
|
|
3958
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3959
|
+
isRefunded?: boolean;
|
|
3960
|
+
isTaxInclusive?: boolean;
|
|
3961
|
+
taxPrecent?: number;
|
|
3962
|
+
unitPrice?: number;
|
|
3963
|
+
quantity: number;
|
|
3964
|
+
resources?: PurchasedResourceDto[];
|
|
3965
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3966
|
+
unitPriceWithTax?: number;
|
|
3967
|
+
unitTaxPrice?: number;
|
|
3968
|
+
parentOrdinal?: number;
|
|
3969
|
+
}
|
|
4074
3970
|
export declare class SlotDateTimeAndSpace {
|
|
4075
3971
|
startDate: string;
|
|
4076
3972
|
startTime?: string;
|
|
@@ -4141,6 +4037,13 @@ export declare class TimeSlotsDto {
|
|
|
4141
4037
|
export declare class SlotsIdsDto {
|
|
4142
4038
|
slotsIds: number[];
|
|
4143
4039
|
}
|
|
4040
|
+
export declare class MaintenanceDto {
|
|
4041
|
+
id?: number;
|
|
4042
|
+
title: string;
|
|
4043
|
+
durationValue: number;
|
|
4044
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4045
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4046
|
+
}
|
|
4144
4047
|
declare class AnswerDto {
|
|
4145
4048
|
questionId: number;
|
|
4146
4049
|
value: any;
|
|
@@ -4658,3 +4561,100 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4658
4561
|
closingManager?: User;
|
|
4659
4562
|
reconcilingUser?: User;
|
|
4660
4563
|
}
|
|
4564
|
+
export declare class ByOrganizationIdDto {
|
|
4565
|
+
organizationId: number;
|
|
4566
|
+
}
|
|
4567
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
4568
|
+
organizationId?: number;
|
|
4569
|
+
}
|
|
4570
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
4571
|
+
programsIds?: string;
|
|
4572
|
+
sessionsIds?: string;
|
|
4573
|
+
segmentsIds?: string;
|
|
4574
|
+
startDate?: string;
|
|
4575
|
+
endDate?: string;
|
|
4576
|
+
months?: string;
|
|
4577
|
+
dow?: string;
|
|
4578
|
+
}
|
|
4579
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
4580
|
+
programsIds?: string;
|
|
4581
|
+
sessionsIds?: string;
|
|
4582
|
+
segmentsIds?: string;
|
|
4583
|
+
startDate?: string;
|
|
4584
|
+
endDate?: string;
|
|
4585
|
+
months?: string;
|
|
4586
|
+
dow?: string;
|
|
4587
|
+
}
|
|
4588
|
+
export declare class Organization extends BondBaseEntity {
|
|
4589
|
+
name: string | null;
|
|
4590
|
+
email: string | null;
|
|
4591
|
+
twitter: string | null;
|
|
4592
|
+
facebook: string | null;
|
|
4593
|
+
instagram: string | null;
|
|
4594
|
+
website: string | null;
|
|
4595
|
+
blog: string | null;
|
|
4596
|
+
phoneNumber: string | null;
|
|
4597
|
+
waiverDoc: string | null;
|
|
4598
|
+
about: string | null;
|
|
4599
|
+
tagline: string | null;
|
|
4600
|
+
status: number | null;
|
|
4601
|
+
addressId: number | null;
|
|
4602
|
+
merchantId: number | null;
|
|
4603
|
+
userCreatorId: number | null;
|
|
4604
|
+
parentId: number | null;
|
|
4605
|
+
paymentSettings: object | null;
|
|
4606
|
+
settings: object | null;
|
|
4607
|
+
isClaimed: boolean | null;
|
|
4608
|
+
sports: number[] | null;
|
|
4609
|
+
mainMediaId: number | null;
|
|
4610
|
+
deletedAt: Date | null;
|
|
4611
|
+
organizationActivityTypes: number[] | null;
|
|
4612
|
+
organizationTypes: number[] | null;
|
|
4613
|
+
organizationAudienceTypes: number[] | null;
|
|
4614
|
+
organizationGenders: number[] | null;
|
|
4615
|
+
questionnaireId: number | null;
|
|
4616
|
+
membershipQuestionnaireId: number | null;
|
|
4617
|
+
feeRate: number;
|
|
4618
|
+
feeAddDollarRate: number;
|
|
4619
|
+
achFeeRate: number;
|
|
4620
|
+
achFeeAddDollarRate: number;
|
|
4621
|
+
maxAchFee: number;
|
|
4622
|
+
cashFeeRate: number;
|
|
4623
|
+
cashFeeAddDollarRate: number;
|
|
4624
|
+
terminalFeeRate: number;
|
|
4625
|
+
terminalFeeAddDollarRate: number;
|
|
4626
|
+
checkFeeRate: number;
|
|
4627
|
+
checkFeeAddDollarRate: number;
|
|
4628
|
+
otherFeeRate: number;
|
|
4629
|
+
otherFeeAddDollarRate: number;
|
|
4630
|
+
balanceFeeRate: number;
|
|
4631
|
+
balanceFeeAddDollarRate: number;
|
|
4632
|
+
address: Address;
|
|
4633
|
+
mainMedia: Media;
|
|
4634
|
+
brandings: OrganizationBranding[];
|
|
4635
|
+
brandingsV2?: OrganizationBranding[];
|
|
4636
|
+
}
|
|
4637
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
4638
|
+
key?: string;
|
|
4639
|
+
vaule?: string;
|
|
4640
|
+
version: number;
|
|
4641
|
+
organization: Organization;
|
|
4642
|
+
}
|
|
4643
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4644
|
+
mainAdminUserId?: number;
|
|
4645
|
+
}
|
|
4646
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
4647
|
+
organisationId: number | null;
|
|
4648
|
+
userId: number | null;
|
|
4649
|
+
}
|
|
4650
|
+
export interface UnallocatedEventsFilters {
|
|
4651
|
+
programsIds?: number[];
|
|
4652
|
+
sessionsIds?: number[];
|
|
4653
|
+
segmentsIds?: number[];
|
|
4654
|
+
durations?: Duration[];
|
|
4655
|
+
daysOfWeek?: number[];
|
|
4656
|
+
}
|
|
4657
|
+
export interface Duration {
|
|
4658
|
+
startDate: string;
|
|
4659
|
+
endDate: string;
|
|
4660
|
+
}
|