@bondsports/types 0.0.198 → 0.0.199
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 +958 -953
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from
|
|
2
|
-
import { Stripe } from
|
|
3
|
-
import moment from
|
|
4
|
-
export { TypesProvider } from
|
|
1
|
+
import { BaseEntity } from 'typeorm';
|
|
2
|
+
import { Stripe } from 'stripe';
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
export { TypesProvider } from './provider';
|
|
5
5
|
export declare class BasicActivityTimesDto {
|
|
6
6
|
dayOfWeek: number;
|
|
7
7
|
close: string;
|
|
@@ -9,13 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class FindBookingTypeSettingDto {
|
|
13
|
-
organizationId: number;
|
|
14
|
-
facilityId: number;
|
|
15
|
-
spaceId: number;
|
|
16
|
-
bookingDate: string;
|
|
17
|
-
bookingTime: string;
|
|
18
|
-
}
|
|
19
12
|
export declare class QuestionAnswersDto {
|
|
20
13
|
questionId: number;
|
|
21
14
|
value: any;
|
|
@@ -27,12 +20,12 @@ export declare class UserAnswersDto {
|
|
|
27
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
28
21
|
questionnaireIds: string;
|
|
29
22
|
}
|
|
30
|
-
export declare
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
36
29
|
}
|
|
37
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
31
|
membershipId: number;
|
|
@@ -421,6 +414,13 @@ export declare class CancelMembershipDto {
|
|
|
421
414
|
isImmediatelyCancel: boolean;
|
|
422
415
|
cancellationReason?: string;
|
|
423
416
|
}
|
|
417
|
+
export declare enum EConfigurationKeys {
|
|
418
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
419
|
+
}
|
|
420
|
+
export declare enum EFailedPaymentReasons {
|
|
421
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
422
|
+
UNKNOWN = "unknown"
|
|
423
|
+
}
|
|
424
424
|
export declare class CreateEntitlementTermsDto {
|
|
425
425
|
organizationId: number;
|
|
426
426
|
entitlementGroupId: number;
|
|
@@ -638,7 +638,7 @@ export declare class GetExtraProductDataDto {
|
|
|
638
638
|
includeArchived?: boolean;
|
|
639
639
|
}
|
|
640
640
|
export declare class GetBySessionType {
|
|
641
|
-
sessionType:
|
|
641
|
+
sessionType: 'event' | 'segment';
|
|
642
642
|
}
|
|
643
643
|
export declare class CreateSubcategoryDto {
|
|
644
644
|
productType: ProductTypesEnum;
|
|
@@ -890,7 +890,7 @@ export declare class MoveParticipantDto {
|
|
|
890
890
|
userId: number;
|
|
891
891
|
oldProductId: number;
|
|
892
892
|
newProductId: number;
|
|
893
|
-
moveType:
|
|
893
|
+
moveType: 'session' | 'segment';
|
|
894
894
|
resourceId: number;
|
|
895
895
|
invoiceId: number;
|
|
896
896
|
}
|
|
@@ -1127,6 +1127,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1127
1127
|
proudct: Product;
|
|
1128
1128
|
event: Event;
|
|
1129
1129
|
}
|
|
1130
|
+
export declare class Address extends BondBaseEntity {
|
|
1131
|
+
city?: string;
|
|
1132
|
+
street?: string;
|
|
1133
|
+
streetNum?: string;
|
|
1134
|
+
aptNum?: string;
|
|
1135
|
+
zip?: string;
|
|
1136
|
+
country?: string;
|
|
1137
|
+
state?: string;
|
|
1138
|
+
geo: any;
|
|
1139
|
+
deletedAt?: Date;
|
|
1140
|
+
}
|
|
1130
1141
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1131
1142
|
questionId: number;
|
|
1132
1143
|
question?: Questions;
|
|
@@ -1140,17 +1151,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1140
1151
|
metaData: any | null;
|
|
1141
1152
|
questionText: string | null;
|
|
1142
1153
|
}
|
|
1143
|
-
export declare class Address extends BondBaseEntity {
|
|
1144
|
-
city?: string;
|
|
1145
|
-
street?: string;
|
|
1146
|
-
streetNum?: string;
|
|
1147
|
-
aptNum?: string;
|
|
1148
|
-
zip?: string;
|
|
1149
|
-
country?: string;
|
|
1150
|
-
state?: string;
|
|
1151
|
-
geo: any;
|
|
1152
|
-
deletedAt?: Date;
|
|
1153
|
-
}
|
|
1154
1154
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1155
1155
|
questionnaireId: number;
|
|
1156
1156
|
userId?: number;
|
|
@@ -1162,6 +1162,11 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1162
1162
|
metadata: object | null;
|
|
1163
1163
|
athleteSports: AthleteSports[];
|
|
1164
1164
|
}
|
|
1165
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1166
|
+
athleteId: number | null;
|
|
1167
|
+
sports: number | null;
|
|
1168
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1169
|
+
}
|
|
1165
1170
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1166
1171
|
entityType: ResourceNameTypeEnum;
|
|
1167
1172
|
entityId: number;
|
|
@@ -1170,11 +1175,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1170
1175
|
endDate: Date;
|
|
1171
1176
|
deletedAt?: Date;
|
|
1172
1177
|
}
|
|
1173
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1174
|
-
athleteId: number | null;
|
|
1175
|
-
sports: number | null;
|
|
1176
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1177
|
-
}
|
|
1178
1178
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1179
1179
|
id: number;
|
|
1180
1180
|
createdAt: Date;
|
|
@@ -1198,11 +1198,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1198
1198
|
publicNotes?: string;
|
|
1199
1199
|
slotType?: SlotTypeEnum;
|
|
1200
1200
|
}
|
|
1201
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1202
|
-
area: string;
|
|
1203
|
-
key: string;
|
|
1204
|
-
value: string;
|
|
1205
|
-
}
|
|
1206
1201
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1207
1202
|
parentId: number;
|
|
1208
1203
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1213,6 +1208,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1213
1208
|
endTimeInDay: string;
|
|
1214
1209
|
directBookingFor: DirectBookingTypesEnum;
|
|
1215
1210
|
}
|
|
1211
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1212
|
+
area: string;
|
|
1213
|
+
key: string;
|
|
1214
|
+
value: string;
|
|
1215
|
+
}
|
|
1216
1216
|
export declare class Connection extends BondBaseEntity {
|
|
1217
1217
|
connType: number | null;
|
|
1218
1218
|
from: number | null;
|
|
@@ -1287,19 +1287,34 @@ export declare class Division extends BondBaseEntity {
|
|
|
1287
1287
|
isDefault: boolean;
|
|
1288
1288
|
groups: Group[];
|
|
1289
1289
|
}
|
|
1290
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1291
|
-
name: string | null;
|
|
1292
|
-
}
|
|
1293
1290
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1294
1291
|
customerId: number;
|
|
1295
1292
|
name: string | null;
|
|
1296
1293
|
phoneNumber: string | null;
|
|
1297
1294
|
customer: Customer;
|
|
1298
1295
|
}
|
|
1296
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1297
|
+
name: string | null;
|
|
1298
|
+
}
|
|
1299
1299
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1300
1300
|
groupId: number;
|
|
1301
1301
|
terms: IEntitlementTerms[];
|
|
1302
1302
|
}
|
|
1303
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1304
|
+
status: RequestStatusEnum | null;
|
|
1305
|
+
hasPaid: boolean | null;
|
|
1306
|
+
paymentId: number | null;
|
|
1307
|
+
attendeeId: number;
|
|
1308
|
+
eventId?: number | null;
|
|
1309
|
+
productUserId?: number;
|
|
1310
|
+
answerTitleIds?: number[];
|
|
1311
|
+
entryStatus?: EntryStatusEnum;
|
|
1312
|
+
addonProductUserIds?: number[];
|
|
1313
|
+
deletedAt?: Date;
|
|
1314
|
+
attendee: User;
|
|
1315
|
+
event: Event;
|
|
1316
|
+
purchasedResource: PurchasedResource;
|
|
1317
|
+
}
|
|
1303
1318
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1304
1319
|
constructor();
|
|
1305
1320
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1382,21 +1397,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1382
1397
|
programSeasons: ProgramSeason[];
|
|
1383
1398
|
linkSEO: string;
|
|
1384
1399
|
}
|
|
1385
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1386
|
-
status: RequestStatusEnum | null;
|
|
1387
|
-
hasPaid: boolean | null;
|
|
1388
|
-
paymentId: number | null;
|
|
1389
|
-
attendeeId: number;
|
|
1390
|
-
eventId?: number | null;
|
|
1391
|
-
productUserId?: number;
|
|
1392
|
-
answerTitleIds?: number[];
|
|
1393
|
-
entryStatus?: EntryStatusEnum;
|
|
1394
|
-
addonProductUserIds?: number[];
|
|
1395
|
-
deletedAt?: Date;
|
|
1396
|
-
attendee: User;
|
|
1397
|
-
event: Event;
|
|
1398
|
-
purchasedResource: PurchasedResource;
|
|
1399
|
-
}
|
|
1400
1400
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1401
1401
|
facilityId: number;
|
|
1402
1402
|
resourceId: number;
|
|
@@ -1435,11 +1435,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1435
1435
|
members: ISeasonAttendeeInfo[];
|
|
1436
1436
|
users: User[];
|
|
1437
1437
|
}
|
|
1438
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1439
|
-
groupId: number;
|
|
1440
|
-
divisionId: number;
|
|
1441
|
-
deletedAt?: Date;
|
|
1442
|
-
}
|
|
1443
1438
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1444
1439
|
groupId: number;
|
|
1445
1440
|
itemId: number;
|
|
@@ -1453,6 +1448,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1453
1448
|
discountMethod?: DiscountMethodsEnum;
|
|
1454
1449
|
discountValue?: number;
|
|
1455
1450
|
}
|
|
1451
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1452
|
+
groupId: number;
|
|
1453
|
+
divisionId: number;
|
|
1454
|
+
deletedAt?: Date;
|
|
1455
|
+
}
|
|
1456
1456
|
export declare class Invoice extends BondBaseEntity {
|
|
1457
1457
|
invoiceId: string | null;
|
|
1458
1458
|
price: number | null;
|
|
@@ -1531,6 +1531,16 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1531
1531
|
logo?: Media;
|
|
1532
1532
|
seasons: LeagueSeason[];
|
|
1533
1533
|
}
|
|
1534
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1535
|
+
invoiceId: number;
|
|
1536
|
+
paymentId: number;
|
|
1537
|
+
lineItemId: number;
|
|
1538
|
+
paidAmount: number;
|
|
1539
|
+
unitPaidAmount: number;
|
|
1540
|
+
currency: CurrencyEnum;
|
|
1541
|
+
payment: Payment;
|
|
1542
|
+
lineItem: LineItems;
|
|
1543
|
+
}
|
|
1534
1544
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1535
1545
|
leagueId: number | null;
|
|
1536
1546
|
name: string | null;
|
|
@@ -1575,16 +1585,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1575
1585
|
league?: boolean;
|
|
1576
1586
|
facilities?: boolean;
|
|
1577
1587
|
}
|
|
1578
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1579
|
-
invoiceId: number;
|
|
1580
|
-
paymentId: number;
|
|
1581
|
-
lineItemId: number;
|
|
1582
|
-
paidAmount: number;
|
|
1583
|
-
unitPaidAmount: number;
|
|
1584
|
-
currency: CurrencyEnum;
|
|
1585
|
-
payment: Payment;
|
|
1586
|
-
lineItem: LineItems;
|
|
1587
|
-
}
|
|
1588
1588
|
export declare class LineItems extends BondBaseEntity {
|
|
1589
1589
|
constructor();
|
|
1590
1590
|
defineIsReverted(): void;
|
|
@@ -1760,12 +1760,6 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1760
1760
|
isMandatory: boolean;
|
|
1761
1761
|
productId: number;
|
|
1762
1762
|
}
|
|
1763
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1764
|
-
token: string | null;
|
|
1765
|
-
userId: number | null;
|
|
1766
|
-
validUntil: Date | null;
|
|
1767
|
-
active: boolean | null;
|
|
1768
|
-
}
|
|
1769
1763
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1770
1764
|
price: number;
|
|
1771
1765
|
paymentProcessorId: string;
|
|
@@ -1793,6 +1787,12 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1793
1787
|
refundReasonId?: number;
|
|
1794
1788
|
refundNote?: string;
|
|
1795
1789
|
}
|
|
1790
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1791
|
+
token: string | null;
|
|
1792
|
+
userId: number | null;
|
|
1793
|
+
validUntil: Date | null;
|
|
1794
|
+
active: boolean | null;
|
|
1795
|
+
}
|
|
1796
1796
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1797
1797
|
failureIndex: number;
|
|
1798
1798
|
waitingDays: number;
|
|
@@ -1818,24 +1818,6 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1818
1818
|
deletedAt?: Date;
|
|
1819
1819
|
paymentPlan: ProductPaymentPlan;
|
|
1820
1820
|
}
|
|
1821
|
-
export declare class PaymentV1 extends BondBaseEntity {
|
|
1822
|
-
userId: number | null;
|
|
1823
|
-
ownerId: number | null;
|
|
1824
|
-
parentId: number | null;
|
|
1825
|
-
parentType: string | null;
|
|
1826
|
-
idAtProvider: string | null;
|
|
1827
|
-
providerType: number | null;
|
|
1828
|
-
providerExtraData: string | null;
|
|
1829
|
-
requestData: string | null;
|
|
1830
|
-
responseData: string | null;
|
|
1831
|
-
status: number | null;
|
|
1832
|
-
price: number | null;
|
|
1833
|
-
currency: string | null;
|
|
1834
|
-
locked: boolean | null;
|
|
1835
|
-
numberOfTries: number | null;
|
|
1836
|
-
installmentId: number | null;
|
|
1837
|
-
invoiceId: string | null;
|
|
1838
|
-
}
|
|
1839
1821
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1840
1822
|
productId: number;
|
|
1841
1823
|
product: Product;
|
|
@@ -1904,14 +1886,23 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1904
1886
|
activityTimes: ActivityTimes[];
|
|
1905
1887
|
purchasedResources: PurchasedResource[];
|
|
1906
1888
|
}
|
|
1907
|
-
export declare class
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1889
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1890
|
+
userId: number | null;
|
|
1891
|
+
ownerId: number | null;
|
|
1892
|
+
parentId: number | null;
|
|
1893
|
+
parentType: string | null;
|
|
1894
|
+
idAtProvider: string | null;
|
|
1895
|
+
providerType: number | null;
|
|
1896
|
+
providerExtraData: string | null;
|
|
1897
|
+
requestData: string | null;
|
|
1898
|
+
responseData: string | null;
|
|
1899
|
+
status: number | null;
|
|
1900
|
+
price: number | null;
|
|
1901
|
+
currency: string | null;
|
|
1902
|
+
locked: boolean | null;
|
|
1903
|
+
numberOfTries: number | null;
|
|
1904
|
+
installmentId: number | null;
|
|
1905
|
+
invoiceId: string | null;
|
|
1915
1906
|
}
|
|
1916
1907
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1917
1908
|
parentProductId: number;
|
|
@@ -1928,6 +1919,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1928
1919
|
durationDays?: number;
|
|
1929
1920
|
level?: ProductPackageLevelEnum;
|
|
1930
1921
|
}
|
|
1922
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1923
|
+
productId: number;
|
|
1924
|
+
maxMonths?: number;
|
|
1925
|
+
dayOfMonth?: number;
|
|
1926
|
+
name: string;
|
|
1927
|
+
deletedAt?: Date;
|
|
1928
|
+
schedule: PaymentPlanSchedule[];
|
|
1929
|
+
product?: Product;
|
|
1930
|
+
}
|
|
1931
1931
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1932
1932
|
productId: number;
|
|
1933
1933
|
resourceId: number;
|
|
@@ -1943,6 +1943,10 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1943
1943
|
productId: number;
|
|
1944
1944
|
variantTitleId: number;
|
|
1945
1945
|
}
|
|
1946
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1947
|
+
productId: number;
|
|
1948
|
+
variantId: number;
|
|
1949
|
+
}
|
|
1946
1950
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1947
1951
|
productId: number;
|
|
1948
1952
|
customerId: number;
|
|
@@ -1950,10 +1954,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1950
1954
|
deletedAt?: Date;
|
|
1951
1955
|
product: Product;
|
|
1952
1956
|
}
|
|
1953
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1954
|
-
productId: number;
|
|
1955
|
-
variantId: number;
|
|
1956
|
-
}
|
|
1957
1957
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1958
1958
|
productId: number;
|
|
1959
1959
|
userId: number;
|
|
@@ -2172,6 +2172,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2172
2172
|
purchasedResources: PurchasedResource[];
|
|
2173
2173
|
linkSEO: string;
|
|
2174
2174
|
}
|
|
2175
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2176
|
+
name: string;
|
|
2177
|
+
facilityId: number;
|
|
2178
|
+
parentSlotId: number;
|
|
2179
|
+
childrenSlotIds: number[];
|
|
2180
|
+
deletedAt?: Date;
|
|
2181
|
+
}
|
|
2175
2182
|
export declare class School extends BondBaseEntity {
|
|
2176
2183
|
name: string | null;
|
|
2177
2184
|
alias: string[] | null;
|
|
@@ -2180,13 +2187,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2180
2187
|
phone: string | null;
|
|
2181
2188
|
dataId: number | null;
|
|
2182
2189
|
}
|
|
2183
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2184
|
-
name: string;
|
|
2185
|
-
facilityId: number;
|
|
2186
|
-
parentSlotId: number;
|
|
2187
|
-
childrenSlotIds: number[];
|
|
2188
|
-
deletedAt?: Date;
|
|
2189
|
-
}
|
|
2190
2190
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2191
2191
|
status: RequestStatusEnum;
|
|
2192
2192
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2207,16 +2207,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2207
2207
|
seasonId: number | null;
|
|
2208
2208
|
color: string | null;
|
|
2209
2209
|
}
|
|
2210
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2211
|
-
seasonId: number | null;
|
|
2212
|
-
teamId: number | null;
|
|
2213
|
-
standingPosition: number | null;
|
|
2214
|
-
statistics: any | null;
|
|
2215
|
-
points: number | null;
|
|
2216
|
-
divisionId: number | null;
|
|
2217
|
-
metaData: any | null;
|
|
2218
|
-
team: Team;
|
|
2219
|
-
}
|
|
2220
2210
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2221
2211
|
seasonId?: number;
|
|
2222
2212
|
userId?: number;
|
|
@@ -2232,6 +2222,16 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2232
2222
|
purchasedResource: PurchasedResource;
|
|
2233
2223
|
season: LeagueSeason;
|
|
2234
2224
|
}
|
|
2225
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2226
|
+
seasonId: number | null;
|
|
2227
|
+
teamId: number | null;
|
|
2228
|
+
standingPosition: number | null;
|
|
2229
|
+
statistics: any | null;
|
|
2230
|
+
points: number | null;
|
|
2231
|
+
divisionId: number | null;
|
|
2232
|
+
metaData: any | null;
|
|
2233
|
+
team: Team;
|
|
2234
|
+
}
|
|
2235
2235
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2236
2236
|
blockingSpaceId: number;
|
|
2237
2237
|
blockedSpaceId: number;
|
|
@@ -2247,14 +2247,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2247
2247
|
subcategories: Subcategory[];
|
|
2248
2248
|
shifts?: Shift[];
|
|
2249
2249
|
}
|
|
2250
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2251
|
-
productType: ProductTypesEnum;
|
|
2252
|
-
name: string;
|
|
2253
|
-
ordinal?: number;
|
|
2254
|
-
deletedAt?: Date;
|
|
2255
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2256
|
-
stations: Station[];
|
|
2257
|
-
}
|
|
2258
2250
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2259
2251
|
stationId: number;
|
|
2260
2252
|
subcategoryId: number;
|
|
@@ -2263,6 +2255,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2263
2255
|
station: Station;
|
|
2264
2256
|
subcategory: Subcategory;
|
|
2265
2257
|
}
|
|
2258
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2259
|
+
productType: ProductTypesEnum;
|
|
2260
|
+
name: string;
|
|
2261
|
+
ordinal?: number;
|
|
2262
|
+
deletedAt?: Date;
|
|
2263
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2264
|
+
stations: Station[];
|
|
2265
|
+
}
|
|
2266
2266
|
export declare class Team extends BondBaseEntity {
|
|
2267
2267
|
name: string | null;
|
|
2268
2268
|
description: string | null;
|
|
@@ -2359,6 +2359,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2359
2359
|
invoiceNotes: InvoiceNote[];
|
|
2360
2360
|
paymentNotes: PaymentNote[];
|
|
2361
2361
|
}
|
|
2362
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2363
|
+
entityId: number | null;
|
|
2364
|
+
userId: number | null;
|
|
2365
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2366
|
+
user: User;
|
|
2367
|
+
}
|
|
2362
2368
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2363
2369
|
familyAccountId: number;
|
|
2364
2370
|
userId: number;
|
|
@@ -2367,12 +2373,6 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2367
2373
|
familyAccount: FamilyAccount;
|
|
2368
2374
|
deletedAt?: Date;
|
|
2369
2375
|
}
|
|
2370
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2371
|
-
entityId: number | null;
|
|
2372
|
-
userId: number | null;
|
|
2373
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2374
|
-
user: User;
|
|
2375
|
-
}
|
|
2376
2376
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2377
2377
|
userId: number;
|
|
2378
2378
|
failCount: number;
|
|
@@ -2404,654 +2404,294 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2404
2404
|
membershipCollectionId?: string;
|
|
2405
2405
|
programsCollectionId?: string;
|
|
2406
2406
|
}
|
|
2407
|
-
export
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
minValue?: string;
|
|
2412
|
-
maxValue?: string;
|
|
2413
|
-
}
|
|
2414
|
-
export interface IQuestionAnswerObject {
|
|
2415
|
-
questionId: number;
|
|
2416
|
-
value: string;
|
|
2407
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2408
|
+
QUESTION = "question",
|
|
2409
|
+
CITY = "city",
|
|
2410
|
+
MEMBERSHIP = "membership"
|
|
2417
2411
|
}
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2412
|
+
export declare enum ResourceNameTypeEnum {
|
|
2413
|
+
EVENT = "event",
|
|
2414
|
+
VENUE = "venue",
|
|
2415
|
+
TEAM = "team",
|
|
2416
|
+
LEAGUE = "league",
|
|
2417
|
+
USER = "user",
|
|
2418
|
+
ORGANIZATION = "organization",
|
|
2419
|
+
APP = "app",
|
|
2420
|
+
FEED = "feed",
|
|
2421
|
+
MATCH = "match",
|
|
2422
|
+
ROUND = "round",
|
|
2423
|
+
PORTAL = "portal",
|
|
2424
|
+
SEASON = "season",
|
|
2425
|
+
TOURNAMENT = "tournament",
|
|
2426
|
+
MEMBERSHIP = "membership",
|
|
2427
|
+
DIVISION = "division",
|
|
2428
|
+
GAMESLOT = "gameslot",
|
|
2429
|
+
SPACE = "space",
|
|
2430
|
+
RESERVATION = "reservation",
|
|
2431
|
+
INVOICE = "invoice",
|
|
2432
|
+
CUSTOMER = "customer",
|
|
2433
|
+
PACKAGE = "package",
|
|
2434
|
+
FACILITY = "facility",
|
|
2435
|
+
PROGRAM = "program",
|
|
2436
|
+
PROGRAM_SEASON = "program_season",
|
|
2437
|
+
PRODUCT = "product",
|
|
2438
|
+
GROUP = "group",
|
|
2439
|
+
VARIANT = "variant",
|
|
2440
|
+
SLOT = "slot",
|
|
2441
|
+
ADDON = "addon"
|
|
2425
2442
|
}
|
|
2426
|
-
export
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
resources?: any[];
|
|
2443
|
+
export declare enum DirectBookingTypesEnum {
|
|
2444
|
+
DIRECT_FOR_ALL = "all",
|
|
2445
|
+
DIRECT_FOR_NONE = "none",
|
|
2446
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2447
|
+
NO_SETTING = "no_setting"
|
|
2432
2448
|
}
|
|
2433
|
-
export
|
|
2434
|
-
|
|
2435
|
-
|
|
2449
|
+
export declare enum GenderEnum {
|
|
2450
|
+
OTHER = 1,
|
|
2451
|
+
MALE = 2,
|
|
2452
|
+
FEMALE = 3
|
|
2436
2453
|
}
|
|
2437
|
-
export
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2454
|
+
export declare enum LevelOfPlayEnum {
|
|
2455
|
+
BEGINNER = 1,
|
|
2456
|
+
INTERMEDIATE = 2,
|
|
2457
|
+
ADVANCED = 3,
|
|
2458
|
+
SEMIPRO = 4,
|
|
2459
|
+
SPECTATOR = 5
|
|
2441
2460
|
}
|
|
2442
|
-
export
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2461
|
+
export declare enum ProgramTypesEnum {
|
|
2462
|
+
LEAGUE = 0,
|
|
2463
|
+
TOURNAMENT = 1,
|
|
2464
|
+
CLASS = 2,
|
|
2465
|
+
CLINIC = 3,
|
|
2466
|
+
CAMP = 4,
|
|
2467
|
+
LESSON = 5,
|
|
2468
|
+
CLUB_TEAM = 6
|
|
2449
2469
|
}
|
|
2450
|
-
export
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
userGender: number;
|
|
2455
|
-
userBirthDate: Date;
|
|
2456
|
-
userProfilePicUrl: string;
|
|
2457
|
-
customerId: number;
|
|
2458
|
-
customerEmail: string;
|
|
2459
|
-
paymentStatus: string;
|
|
2460
|
-
productName: string;
|
|
2461
|
-
punchCard: boolean;
|
|
2470
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2471
|
+
ROUND_ROBIN = 1,
|
|
2472
|
+
BRACKETS = 2,
|
|
2473
|
+
CAMP_CLINIC_CLASS = 3
|
|
2462
2474
|
}
|
|
2463
|
-
export declare
|
|
2464
|
-
|
|
2465
|
-
|
|
2475
|
+
export declare enum SportsEnum {
|
|
2476
|
+
SOFTBALL = 1,
|
|
2477
|
+
BASKETBALL = 2,
|
|
2478
|
+
FOOTBALL = 3,
|
|
2479
|
+
SOCCER = 4,
|
|
2480
|
+
BOWLING = 5,
|
|
2481
|
+
BOCCEBALL = 6,
|
|
2482
|
+
CORNHOLE = 7,
|
|
2483
|
+
DODGEBALL = 8,
|
|
2484
|
+
FRISBEE = 9,
|
|
2485
|
+
HOCKEY = 10,
|
|
2486
|
+
KICKBALL = 11,
|
|
2487
|
+
LACROSSE = 12,
|
|
2488
|
+
PINGPONG = 13,
|
|
2489
|
+
RUGBY = 14,
|
|
2490
|
+
SKEEBALL = 15,
|
|
2491
|
+
TENNIS = 16,
|
|
2492
|
+
VOLLEYBALL = 17,
|
|
2493
|
+
WIFFLEBALL = 18,
|
|
2494
|
+
BADMINTON = 19,
|
|
2495
|
+
FITNESS = 20,
|
|
2496
|
+
GOLF = 21,
|
|
2497
|
+
PILATES = 22,
|
|
2498
|
+
RUNNING = 23,
|
|
2499
|
+
SKIING = 24,
|
|
2500
|
+
SNOWBOARDING = 25,
|
|
2501
|
+
YOGA = 26,
|
|
2502
|
+
BROOMBALL = 27,
|
|
2503
|
+
CRICKET = 28,
|
|
2504
|
+
CROSSFIT = 29,
|
|
2505
|
+
CYCLING = 30,
|
|
2506
|
+
FIELD_HOCKEY = 31,
|
|
2507
|
+
RACQUETBALL = 32,
|
|
2508
|
+
SPINNING = 33,
|
|
2509
|
+
SQUASH = 34,
|
|
2510
|
+
SURFING = 35,
|
|
2511
|
+
SWIMMING = 36,
|
|
2512
|
+
WIND_SURFING = 37,
|
|
2513
|
+
ADVENTURE = 38,
|
|
2514
|
+
BOXING = 39,
|
|
2515
|
+
BASEBALL = 40,
|
|
2516
|
+
DANCE = 41,
|
|
2517
|
+
KICKBOXING = 42,
|
|
2518
|
+
MARTIAL_ARTS = 43,
|
|
2519
|
+
OUTDOORS = 44,
|
|
2520
|
+
ROWING = 45,
|
|
2521
|
+
SAILING = 46,
|
|
2522
|
+
SUP = 47,
|
|
2523
|
+
TRIATHLON = 48,
|
|
2524
|
+
HANDBALL = 49,
|
|
2525
|
+
CATCHBALL = 50,
|
|
2526
|
+
BLITZBALL = 51,
|
|
2527
|
+
ROLLER_DERBY = 52,
|
|
2528
|
+
ICE_SKATING = 53,
|
|
2529
|
+
PICKLEBALL = 54,
|
|
2530
|
+
AXE_THROWING = 55,
|
|
2531
|
+
FURSAL = 56,
|
|
2532
|
+
BIRTHDAY = 57,
|
|
2533
|
+
CORPRATE_EVENTS = 58,
|
|
2534
|
+
OTHER = 999
|
|
2466
2535
|
}
|
|
2467
|
-
export declare
|
|
2468
|
-
|
|
2469
|
-
|
|
2536
|
+
export declare enum PublishingStatusEnum {
|
|
2537
|
+
DRAFT = 1,
|
|
2538
|
+
PUBLISHED = 2,
|
|
2539
|
+
CLOSED = 3,
|
|
2540
|
+
CANCELLED = 4,
|
|
2541
|
+
ARCHIVE = 5,
|
|
2542
|
+
UNPUBLISHED = 6
|
|
2470
2543
|
}
|
|
2471
|
-
export
|
|
2472
|
-
|
|
2544
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2545
|
+
OTHER = 1,
|
|
2546
|
+
MINAGE = 2,
|
|
2547
|
+
MAXAGE = 3,
|
|
2548
|
+
GENDER = 4,
|
|
2549
|
+
LEVELOFPLAY = 5,
|
|
2550
|
+
GAMESSEASON = 6,
|
|
2551
|
+
MINWEEK = 7,
|
|
2552
|
+
SURFACE = 8,
|
|
2553
|
+
FORMAT = 9,
|
|
2554
|
+
PLAYERS_PER_TEAM = 10,
|
|
2555
|
+
MATCH_LENGTH = 12
|
|
2473
2556
|
}
|
|
2474
|
-
export
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
customer?: Customer;
|
|
2557
|
+
export declare enum RequestStatusEnum {
|
|
2558
|
+
PENDING = 1,
|
|
2559
|
+
ACCEPTED = 2,
|
|
2560
|
+
DECLINED = 3
|
|
2479
2561
|
}
|
|
2480
|
-
export
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2562
|
+
export declare enum PaymentStatusEnum {
|
|
2563
|
+
NOT_PAID = "not_paid",
|
|
2564
|
+
PARTIAL_PAYMENT = "partial",
|
|
2565
|
+
FULLY_PAID = "paid",
|
|
2566
|
+
REFUNDED = "refunded",
|
|
2567
|
+
VOID = "void"
|
|
2484
2568
|
}
|
|
2485
|
-
export
|
|
2486
|
-
|
|
2487
|
-
total: number;
|
|
2488
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2489
|
-
status: PaymentStatusEnum;
|
|
2490
|
-
createdAt: Date;
|
|
2491
|
-
invoices: number[];
|
|
2569
|
+
export declare enum ReservationExtendedEnum {
|
|
2570
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2492
2571
|
}
|
|
2493
|
-
export
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2572
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2573
|
+
export declare enum ReservationStatusEnum {
|
|
2574
|
+
PLANNED = "Planned",
|
|
2575
|
+
APPROVED = "Approved",
|
|
2576
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2577
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2578
|
+
REJECTED = "Rejected",
|
|
2579
|
+
CANCELED = "Canceled"
|
|
2501
2580
|
}
|
|
2502
|
-
export
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
isTaxInclusive: boolean;
|
|
2581
|
+
export declare enum PaymentStatusV1Enum {
|
|
2582
|
+
SENT_TO_CLIENT = 1,
|
|
2583
|
+
SENT_FOR_PAYMENT = 2,
|
|
2584
|
+
ACCEPTED = 3,
|
|
2585
|
+
REJECTED = 4,
|
|
2586
|
+
CANCELLED = 5,
|
|
2587
|
+
FRAUD = 6,
|
|
2588
|
+
NOT_RELEVANT = 7,
|
|
2589
|
+
PENDING = 8
|
|
2512
2590
|
}
|
|
2513
|
-
export
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
fundLeft: number;
|
|
2517
|
-
ccLast4?: string;
|
|
2518
|
-
ccBrand?: string;
|
|
2591
|
+
export declare enum PaymentMethodsEnum {
|
|
2592
|
+
STRIPE = 1,
|
|
2593
|
+
CASH = 3
|
|
2519
2594
|
}
|
|
2520
|
-
export
|
|
2521
|
-
|
|
2522
|
-
|
|
2595
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2596
|
+
CHILD = "child",
|
|
2597
|
+
UPSALE = "upsale"
|
|
2523
2598
|
}
|
|
2524
|
-
export
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2599
|
+
export declare enum AddonTimePeriodEnum {
|
|
2600
|
+
FULL = "full",
|
|
2601
|
+
SESSION = "session",
|
|
2602
|
+
EVENT = "event"
|
|
2528
2603
|
}
|
|
2529
|
-
export
|
|
2530
|
-
|
|
2531
|
-
startTime: string;
|
|
2532
|
-
endTime: string;
|
|
2604
|
+
export declare enum CurrencyEnum {
|
|
2605
|
+
USD = "USD"
|
|
2533
2606
|
}
|
|
2534
|
-
export
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2607
|
+
export declare enum NotificationTypeEnum {
|
|
2608
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2609
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2610
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2538
2611
|
}
|
|
2539
|
-
export
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
invoice_paymentMethodId: string;
|
|
2551
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2552
|
-
endDate: Date;
|
|
2553
|
-
membership_name: string;
|
|
2554
|
-
user_firstName: string;
|
|
2555
|
-
user_lastName: string;
|
|
2556
|
-
user_email: string;
|
|
2612
|
+
export declare enum ProductTypesEnum {
|
|
2613
|
+
RESERVATION = "reservation",
|
|
2614
|
+
REGISTRATION = "registration",
|
|
2615
|
+
MEMBERSHIP = "membership",
|
|
2616
|
+
GOODS = "goods",
|
|
2617
|
+
PACKAGE = "package",
|
|
2618
|
+
REFUND_COMPENSATION = "refund",
|
|
2619
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2620
|
+
PETTY_CASH = "petty_cash",
|
|
2621
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2622
|
+
TAX = "tax"
|
|
2557
2623
|
}
|
|
2558
|
-
export
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2624
|
+
export declare enum InvoiceStatusEnum {
|
|
2625
|
+
ACTIVE = "active",
|
|
2626
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2627
|
+
WAITING_CLIENT = "waitingClient",
|
|
2628
|
+
CANCELED = "canceled"
|
|
2563
2629
|
}
|
|
2564
|
-
export
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
openNumDays?: number;
|
|
2568
|
-
openNumMinutes?: number;
|
|
2569
|
-
openTime?: string;
|
|
2570
|
-
closeNumDays?: number;
|
|
2571
|
-
closeNumMinutes?: number;
|
|
2572
|
-
closeTime?: string;
|
|
2573
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2630
|
+
export declare enum LineItemsStatusEnum {
|
|
2631
|
+
USER_PRODUCT = "UserProduct",
|
|
2632
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2574
2633
|
}
|
|
2575
|
-
export
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2634
|
+
export declare enum ProductSubTypesEnum {
|
|
2635
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2636
|
+
SEASON_TEAM = "season_team",
|
|
2637
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2579
2638
|
}
|
|
2580
|
-
export
|
|
2581
|
-
|
|
2582
|
-
|
|
2639
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2640
|
+
CREDIT_CARD = "card",
|
|
2641
|
+
ACH = "ach",
|
|
2642
|
+
CASH = "cash",
|
|
2643
|
+
CHECK = "check",
|
|
2644
|
+
BALANCE = "balance",
|
|
2645
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2646
|
+
OTHER = "other",
|
|
2647
|
+
LOST_DEBT = "lost-debt",
|
|
2648
|
+
MIGRATED = "migrated",
|
|
2649
|
+
VOID = "void",
|
|
2650
|
+
GIFT_CARD = "gift-card"
|
|
2583
2651
|
}
|
|
2584
|
-
export
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
email: string;
|
|
2588
|
-
sessionName: string;
|
|
2589
|
-
parentSessionName?: string;
|
|
2590
|
-
organizationName: string;
|
|
2591
|
-
programName: string;
|
|
2652
|
+
export declare enum RefundTypeEnum {
|
|
2653
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2654
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2592
2655
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
eventEndDate: string;
|
|
2598
|
-
eventStartTime: string;
|
|
2599
|
-
eventEndTime: string;
|
|
2600
|
-
programId: number;
|
|
2601
|
-
programName: string;
|
|
2602
|
-
programType: ProgramTypesEnum;
|
|
2603
|
-
sessionId: number;
|
|
2604
|
-
sessionName: string;
|
|
2605
|
-
sports: number;
|
|
2606
|
-
spaces: {
|
|
2607
|
-
spaceId: number;
|
|
2608
|
-
spaceName: string;
|
|
2609
|
-
}[];
|
|
2610
|
-
status?: RegistrationValidationStatusEnum;
|
|
2656
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2657
|
+
INDIVIDUAL = "individual",
|
|
2658
|
+
FAMILY = "family",
|
|
2659
|
+
ORGANIZATION = "organization"
|
|
2611
2660
|
}
|
|
2612
|
-
export
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
spaces: ISpaceWithSlots[];
|
|
2661
|
+
export declare enum MembershipTypeEnum {
|
|
2662
|
+
FIXED = "fix_membership",
|
|
2663
|
+
ROLLING = "rolling_membership"
|
|
2616
2664
|
}
|
|
2617
|
-
export
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2665
|
+
export declare enum CustomerTypeEnum {
|
|
2666
|
+
USER = "user",
|
|
2667
|
+
FAMILY = "family",
|
|
2668
|
+
ORGANIZATION = "organization"
|
|
2621
2669
|
}
|
|
2622
|
-
export
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
startTime: string;
|
|
2627
|
-
endTime: string;
|
|
2628
|
-
notes: string;
|
|
2629
|
-
spaceId: number;
|
|
2630
|
-
isRental: boolean;
|
|
2631
|
-
slotType: SlotTypeEnum;
|
|
2632
|
-
slotId: number;
|
|
2633
|
-
eventId: number;
|
|
2634
|
-
isPrivate: boolean;
|
|
2670
|
+
export declare enum GroupStatusEnum {
|
|
2671
|
+
ACTIVE = 1,
|
|
2672
|
+
INACTIVE = 2,
|
|
2673
|
+
DRAFT = 3
|
|
2635
2674
|
}
|
|
2636
|
-
export
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
maxMaleParticipants: number;
|
|
2642
|
-
maxFemaleParticipants: number;
|
|
2643
|
-
isPunchCard: boolean;
|
|
2675
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
2676
|
+
FUTURE = "future",
|
|
2677
|
+
SUCCEEDED = "succeeded",
|
|
2678
|
+
FAILED = "failed",
|
|
2679
|
+
CANCELED = "canceled"
|
|
2644
2680
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2681
|
+
export declare enum EntryStatusEnum {
|
|
2682
|
+
ENTERED = 1,
|
|
2683
|
+
NOT_ENTERED = 2,
|
|
2684
|
+
CANCELED = 3
|
|
2649
2685
|
}
|
|
2650
|
-
export
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
endTime: string;
|
|
2655
|
-
reservationId: number;
|
|
2656
|
-
eventTitle: string;
|
|
2657
|
-
publicNotes: string;
|
|
2658
|
-
spaceId: number;
|
|
2659
|
-
creatorType: ResourceNameTypeEnum;
|
|
2660
|
-
slotType: SlotTypeEnum;
|
|
2661
|
-
slotId: number;
|
|
2662
|
-
eventId: number;
|
|
2663
|
-
isPrivate: boolean;
|
|
2686
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
2687
|
+
ACTIVE = 1,
|
|
2688
|
+
MOVED = 2,
|
|
2689
|
+
CANCELED = 3
|
|
2664
2690
|
}
|
|
2665
|
-
export
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2670
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2671
|
-
pUserId: number;
|
|
2672
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2673
|
-
pUserProductId: number;
|
|
2674
|
-
pUserProductName: string;
|
|
2675
|
-
pUserProductPrice: number;
|
|
2676
|
-
pUserProductPriceCurrency: string;
|
|
2677
|
-
pUserProductQuantity: number;
|
|
2678
|
-
pUserProductQuantityLeft: number;
|
|
2679
|
-
pUserUserId: number;
|
|
2680
|
-
}
|
|
2681
|
-
export interface IUsersPasses {
|
|
2682
|
-
userId: number;
|
|
2683
|
-
userFirstName: string;
|
|
2684
|
-
userLastName: string;
|
|
2685
|
-
organizationId: number;
|
|
2686
|
-
programId: number;
|
|
2687
|
-
programName: string;
|
|
2688
|
-
sessionId: number;
|
|
2689
|
-
sessionName: string;
|
|
2690
|
-
productId: number;
|
|
2691
|
-
productName: string;
|
|
2692
|
-
productUserId: number;
|
|
2693
|
-
purchaseDate: Date;
|
|
2694
|
-
passesLeft: number;
|
|
2695
|
-
}
|
|
2696
|
-
export interface ISessionsLandingPage {
|
|
2697
|
-
sessionId: number;
|
|
2698
|
-
name: string;
|
|
2699
|
-
startDate: Date;
|
|
2700
|
-
endDate: Date;
|
|
2701
|
-
registrationStartDate: Date;
|
|
2702
|
-
registrationEndDate: Date;
|
|
2703
|
-
sport: SportsEnum;
|
|
2704
|
-
minAge: string;
|
|
2705
|
-
maxAge: string;
|
|
2706
|
-
maxParticipants?: number;
|
|
2707
|
-
gender: GenderEnum;
|
|
2708
|
-
activityTimes: ActivityTimes[];
|
|
2709
|
-
earlyRegistrationStartDate?: Date;
|
|
2710
|
-
earlyRegistrationEndDate?: Date;
|
|
2711
|
-
lateRegistrationStartDate?: Date;
|
|
2712
|
-
lateRegistrationEndDate?: Date;
|
|
2713
|
-
attendeeCount?: number;
|
|
2714
|
-
segmentsOrEvents: "segment" | "event";
|
|
2715
|
-
}
|
|
2716
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2717
|
-
hasRequiredMembership: boolean;
|
|
2718
|
-
hasEntitledPricing: boolean;
|
|
2719
|
-
lowestPrice?: number;
|
|
2720
|
-
products?: ISessionLandingPageProduct[];
|
|
2721
|
-
}
|
|
2722
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2723
|
-
hasRequiredMembership: boolean;
|
|
2724
|
-
hasEntitledPricing: boolean;
|
|
2725
|
-
products?: ISessionLandingPageProduct[];
|
|
2726
|
-
segments?: Event[] | ProgramSeason[];
|
|
2727
|
-
programName: string;
|
|
2728
|
-
programId: number;
|
|
2729
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2730
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2731
|
-
}
|
|
2732
|
-
export interface ISlimAddons {
|
|
2733
|
-
addons?: {
|
|
2734
|
-
id: number;
|
|
2735
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2736
|
-
name: string;
|
|
2737
|
-
productType?: ProductTypesEnum;
|
|
2738
|
-
productSubType?: string;
|
|
2739
|
-
}[];
|
|
2740
|
-
}
|
|
2741
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2742
|
-
id: number;
|
|
2743
|
-
name: string;
|
|
2744
|
-
startDate?: Date;
|
|
2745
|
-
endDate?: Date;
|
|
2746
|
-
downpayment?: number;
|
|
2747
|
-
description?: string;
|
|
2748
|
-
prices: Price[];
|
|
2749
|
-
productSubType?: ProductSubTypesEnum;
|
|
2750
|
-
punchCard: boolean;
|
|
2751
|
-
isAddon: boolean;
|
|
2752
|
-
defaultPriceId?: number;
|
|
2753
|
-
}
|
|
2754
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2755
|
-
destinationId?: string;
|
|
2756
|
-
stripeCustomerId?: string;
|
|
2757
|
-
fee?: number;
|
|
2758
|
-
}
|
|
2759
|
-
export interface IReservationCreatorData {
|
|
2760
|
-
type: ResourceNameTypeEnum;
|
|
2761
|
-
id: number;
|
|
2762
|
-
organizationId: number;
|
|
2763
|
-
startDate: string;
|
|
2764
|
-
endDate: string;
|
|
2765
|
-
sportId: number;
|
|
2766
|
-
}
|
|
2767
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2768
|
-
QUESTION = "question",
|
|
2769
|
-
CITY = "city",
|
|
2770
|
-
MEMBERSHIP = "membership"
|
|
2771
|
-
}
|
|
2772
|
-
export declare enum ResourceNameTypeEnum {
|
|
2773
|
-
EVENT = "event",
|
|
2774
|
-
VENUE = "venue",
|
|
2775
|
-
TEAM = "team",
|
|
2776
|
-
LEAGUE = "league",
|
|
2777
|
-
USER = "user",
|
|
2778
|
-
ORGANIZATION = "organization",
|
|
2779
|
-
APP = "app",
|
|
2780
|
-
FEED = "feed",
|
|
2781
|
-
MATCH = "match",
|
|
2782
|
-
ROUND = "round",
|
|
2783
|
-
PORTAL = "portal",
|
|
2784
|
-
SEASON = "season",
|
|
2785
|
-
TOURNAMENT = "tournament",
|
|
2786
|
-
MEMBERSHIP = "membership",
|
|
2787
|
-
DIVISION = "division",
|
|
2788
|
-
GAMESLOT = "gameslot",
|
|
2789
|
-
SPACE = "space",
|
|
2790
|
-
RESERVATION = "reservation",
|
|
2791
|
-
INVOICE = "invoice",
|
|
2792
|
-
CUSTOMER = "customer",
|
|
2793
|
-
PACKAGE = "package",
|
|
2794
|
-
FACILITY = "facility",
|
|
2795
|
-
PROGRAM = "program",
|
|
2796
|
-
PROGRAM_SEASON = "program_season",
|
|
2797
|
-
PRODUCT = "product",
|
|
2798
|
-
GROUP = "group",
|
|
2799
|
-
VARIANT = "variant",
|
|
2800
|
-
SLOT = "slot",
|
|
2801
|
-
ADDON = "addon"
|
|
2802
|
-
}
|
|
2803
|
-
export declare enum DirectBookingTypesEnum {
|
|
2804
|
-
DIRECT_FOR_ALL = "all",
|
|
2805
|
-
DIRECT_FOR_NONE = "none",
|
|
2806
|
-
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2807
|
-
NO_SETTING = "no_setting"
|
|
2808
|
-
}
|
|
2809
|
-
export declare enum GenderEnum {
|
|
2810
|
-
OTHER = 1,
|
|
2811
|
-
MALE = 2,
|
|
2812
|
-
FEMALE = 3
|
|
2813
|
-
}
|
|
2814
|
-
export declare enum LevelOfPlayEnum {
|
|
2815
|
-
BEGINNER = 1,
|
|
2816
|
-
INTERMEDIATE = 2,
|
|
2817
|
-
ADVANCED = 3,
|
|
2818
|
-
SEMIPRO = 4,
|
|
2819
|
-
SPECTATOR = 5
|
|
2820
|
-
}
|
|
2821
|
-
export declare enum ProgramTypesEnum {
|
|
2822
|
-
LEAGUE = 0,
|
|
2823
|
-
TOURNAMENT = 1,
|
|
2824
|
-
CLASS = 2,
|
|
2825
|
-
CLINIC = 3,
|
|
2826
|
-
CAMP = 4,
|
|
2827
|
-
LESSON = 5,
|
|
2828
|
-
CLUB_TEAM = 6
|
|
2829
|
-
}
|
|
2830
|
-
export declare enum ProgramSeasonTypesEnum {
|
|
2831
|
-
ROUND_ROBIN = 1,
|
|
2832
|
-
BRACKETS = 2,
|
|
2833
|
-
CAMP_CLINIC_CLASS = 3
|
|
2834
|
-
}
|
|
2835
|
-
export declare enum SportsEnum {
|
|
2836
|
-
SOFTBALL = 1,
|
|
2837
|
-
BASKETBALL = 2,
|
|
2838
|
-
FOOTBALL = 3,
|
|
2839
|
-
SOCCER = 4,
|
|
2840
|
-
BOWLING = 5,
|
|
2841
|
-
BOCCEBALL = 6,
|
|
2842
|
-
CORNHOLE = 7,
|
|
2843
|
-
DODGEBALL = 8,
|
|
2844
|
-
FRISBEE = 9,
|
|
2845
|
-
HOCKEY = 10,
|
|
2846
|
-
KICKBALL = 11,
|
|
2847
|
-
LACROSSE = 12,
|
|
2848
|
-
PINGPONG = 13,
|
|
2849
|
-
RUGBY = 14,
|
|
2850
|
-
SKEEBALL = 15,
|
|
2851
|
-
TENNIS = 16,
|
|
2852
|
-
VOLLEYBALL = 17,
|
|
2853
|
-
WIFFLEBALL = 18,
|
|
2854
|
-
BADMINTON = 19,
|
|
2855
|
-
FITNESS = 20,
|
|
2856
|
-
GOLF = 21,
|
|
2857
|
-
PILATES = 22,
|
|
2858
|
-
RUNNING = 23,
|
|
2859
|
-
SKIING = 24,
|
|
2860
|
-
SNOWBOARDING = 25,
|
|
2861
|
-
YOGA = 26,
|
|
2862
|
-
BROOMBALL = 27,
|
|
2863
|
-
CRICKET = 28,
|
|
2864
|
-
CROSSFIT = 29,
|
|
2865
|
-
CYCLING = 30,
|
|
2866
|
-
FIELD_HOCKEY = 31,
|
|
2867
|
-
RACQUETBALL = 32,
|
|
2868
|
-
SPINNING = 33,
|
|
2869
|
-
SQUASH = 34,
|
|
2870
|
-
SURFING = 35,
|
|
2871
|
-
SWIMMING = 36,
|
|
2872
|
-
WIND_SURFING = 37,
|
|
2873
|
-
ADVENTURE = 38,
|
|
2874
|
-
BOXING = 39,
|
|
2875
|
-
BASEBALL = 40,
|
|
2876
|
-
DANCE = 41,
|
|
2877
|
-
KICKBOXING = 42,
|
|
2878
|
-
MARTIAL_ARTS = 43,
|
|
2879
|
-
OUTDOORS = 44,
|
|
2880
|
-
ROWING = 45,
|
|
2881
|
-
SAILING = 46,
|
|
2882
|
-
SUP = 47,
|
|
2883
|
-
TRIATHLON = 48,
|
|
2884
|
-
HANDBALL = 49,
|
|
2885
|
-
CATCHBALL = 50,
|
|
2886
|
-
BLITZBALL = 51,
|
|
2887
|
-
ROLLER_DERBY = 52,
|
|
2888
|
-
ICE_SKATING = 53,
|
|
2889
|
-
PICKLEBALL = 54,
|
|
2890
|
-
AXE_THROWING = 55,
|
|
2891
|
-
FURSAL = 56,
|
|
2892
|
-
BIRTHDAY = 57,
|
|
2893
|
-
CORPRATE_EVENTS = 58,
|
|
2894
|
-
OTHER = 999
|
|
2895
|
-
}
|
|
2896
|
-
export declare enum PublishingStatusEnum {
|
|
2897
|
-
DRAFT = 1,
|
|
2898
|
-
PUBLISHED = 2,
|
|
2899
|
-
CLOSED = 3,
|
|
2900
|
-
CANCELLED = 4,
|
|
2901
|
-
ARCHIVE = 5,
|
|
2902
|
-
UNPUBLISHED = 6
|
|
2903
|
-
}
|
|
2904
|
-
export declare enum ProgramHighlightTypeEnum {
|
|
2905
|
-
OTHER = 1,
|
|
2906
|
-
MINAGE = 2,
|
|
2907
|
-
MAXAGE = 3,
|
|
2908
|
-
GENDER = 4,
|
|
2909
|
-
LEVELOFPLAY = 5,
|
|
2910
|
-
GAMESSEASON = 6,
|
|
2911
|
-
MINWEEK = 7,
|
|
2912
|
-
SURFACE = 8,
|
|
2913
|
-
FORMAT = 9,
|
|
2914
|
-
PLAYERS_PER_TEAM = 10,
|
|
2915
|
-
MATCH_LENGTH = 12
|
|
2916
|
-
}
|
|
2917
|
-
export declare enum RequestStatusEnum {
|
|
2918
|
-
PENDING = 1,
|
|
2919
|
-
ACCEPTED = 2,
|
|
2920
|
-
DECLINED = 3
|
|
2921
|
-
}
|
|
2922
|
-
export declare enum PaymentStatusEnum {
|
|
2923
|
-
NOT_PAID = "not_paid",
|
|
2924
|
-
PARTIAL_PAYMENT = "partial",
|
|
2925
|
-
FULLY_PAID = "paid",
|
|
2926
|
-
REFUNDED = "refunded",
|
|
2927
|
-
VOID = "void"
|
|
2928
|
-
}
|
|
2929
|
-
export declare enum ReservationExtendedEnum {
|
|
2930
|
-
PURCHASE_ORDER = "purchase_order"
|
|
2931
|
-
}
|
|
2932
|
-
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2933
|
-
export declare enum ReservationStatusEnum {
|
|
2934
|
-
PLANNED = "Planned",
|
|
2935
|
-
APPROVED = "Approved",
|
|
2936
|
-
AWAITING_ADMIN = "Awaiting Admin",
|
|
2937
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2938
|
-
REJECTED = "Rejected",
|
|
2939
|
-
CANCELED = "Canceled"
|
|
2940
|
-
}
|
|
2941
|
-
export declare enum PaymentStatusV1Enum {
|
|
2942
|
-
SENT_TO_CLIENT = 1,
|
|
2943
|
-
SENT_FOR_PAYMENT = 2,
|
|
2944
|
-
ACCEPTED = 3,
|
|
2945
|
-
REJECTED = 4,
|
|
2946
|
-
CANCELLED = 5,
|
|
2947
|
-
FRAUD = 6,
|
|
2948
|
-
NOT_RELEVANT = 7,
|
|
2949
|
-
PENDING = 8
|
|
2950
|
-
}
|
|
2951
|
-
export declare enum PaymentMethodsEnum {
|
|
2952
|
-
STRIPE = 1,
|
|
2953
|
-
CASH = 3
|
|
2954
|
-
}
|
|
2955
|
-
export declare enum PackageProductsRelationTypeEnum {
|
|
2956
|
-
CHILD = "child",
|
|
2957
|
-
UPSALE = "upsale"
|
|
2958
|
-
}
|
|
2959
|
-
export declare enum AddonTimePeriodEnum {
|
|
2960
|
-
FULL = "full",
|
|
2961
|
-
SESSION = "session",
|
|
2962
|
-
EVENT = "event"
|
|
2963
|
-
}
|
|
2964
|
-
export declare enum CurrencyEnum {
|
|
2965
|
-
USD = "USD"
|
|
2966
|
-
}
|
|
2967
|
-
export declare enum NotificationTypeEnum {
|
|
2968
|
-
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2969
|
-
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2970
|
-
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2971
|
-
}
|
|
2972
|
-
export declare enum ProductTypesEnum {
|
|
2973
|
-
RESERVATION = "reservation",
|
|
2974
|
-
REGISTRATION = "registration",
|
|
2975
|
-
MEMBERSHIP = "membership",
|
|
2976
|
-
GOODS = "goods",
|
|
2977
|
-
PACKAGE = "package",
|
|
2978
|
-
REFUND_COMPENSATION = "refund",
|
|
2979
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2980
|
-
PETTY_CASH = "petty_cash",
|
|
2981
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2982
|
-
TAX = "tax"
|
|
2983
|
-
}
|
|
2984
|
-
export declare enum InvoiceStatusEnum {
|
|
2985
|
-
ACTIVE = "active",
|
|
2986
|
-
WAITING_ADMIN = "waitingAdmin",
|
|
2987
|
-
WAITING_CLIENT = "waitingClient",
|
|
2988
|
-
CANCELED = "canceled"
|
|
2989
|
-
}
|
|
2990
|
-
export declare enum LineItemsStatusEnum {
|
|
2991
|
-
USER_PRODUCT = "UserProduct",
|
|
2992
|
-
RENTAL_PRODUCT = "RentalProduct"
|
|
2993
|
-
}
|
|
2994
|
-
export declare enum ProductSubTypesEnum {
|
|
2995
|
-
SEASON_INDIVIDUAL = "season_individual",
|
|
2996
|
-
SEASON_TEAM = "season_team",
|
|
2997
|
-
SEASON_PER_PLAYER = "season_per_player"
|
|
2998
|
-
}
|
|
2999
|
-
export declare enum PaymentMethodTypeEnum {
|
|
3000
|
-
CREDIT_CARD = "card",
|
|
3001
|
-
ACH = "ach",
|
|
3002
|
-
CASH = "cash",
|
|
3003
|
-
CHECK = "check",
|
|
3004
|
-
BALANCE = "balance",
|
|
3005
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3006
|
-
OTHER = "other",
|
|
3007
|
-
LOST_DEBT = "lost-debt",
|
|
3008
|
-
MIGRATED = "migrated",
|
|
3009
|
-
VOID = "void",
|
|
3010
|
-
GIFT_CARD = "gift-card"
|
|
3011
|
-
}
|
|
3012
|
-
export declare enum RefundTypeEnum {
|
|
3013
|
-
LEAVE_BALANCE = "leave_balance",
|
|
3014
|
-
REDUCE_BALANCE = "reduce_balance"
|
|
3015
|
-
}
|
|
3016
|
-
export declare enum CustomerInMembershipTypeEnum {
|
|
3017
|
-
INDIVIDUAL = "individual",
|
|
3018
|
-
FAMILY = "family",
|
|
3019
|
-
ORGANIZATION = "organization"
|
|
3020
|
-
}
|
|
3021
|
-
export declare enum MembershipTypeEnum {
|
|
3022
|
-
FIXED = "fix_membership",
|
|
3023
|
-
ROLLING = "rolling_membership"
|
|
3024
|
-
}
|
|
3025
|
-
export declare enum CustomerTypeEnum {
|
|
3026
|
-
USER = "user",
|
|
3027
|
-
FAMILY = "family",
|
|
3028
|
-
ORGANIZATION = "organization"
|
|
3029
|
-
}
|
|
3030
|
-
export declare enum GroupStatusEnum {
|
|
3031
|
-
ACTIVE = 1,
|
|
3032
|
-
INACTIVE = 2,
|
|
3033
|
-
DRAFT = 3
|
|
3034
|
-
}
|
|
3035
|
-
export declare enum FutureInstallmentStatusEnum {
|
|
3036
|
-
FUTURE = "future",
|
|
3037
|
-
SUCCEEDED = "succeeded",
|
|
3038
|
-
FAILED = "failed",
|
|
3039
|
-
CANCELED = "canceled"
|
|
3040
|
-
}
|
|
3041
|
-
export declare enum EntryStatusEnum {
|
|
3042
|
-
ENTERED = 1,
|
|
3043
|
-
NOT_ENTERED = 2,
|
|
3044
|
-
CANCELED = 3
|
|
3045
|
-
}
|
|
3046
|
-
export declare enum PurchasedResourceStatusEnum {
|
|
3047
|
-
ACTIVE = 1,
|
|
3048
|
-
MOVED = 2,
|
|
3049
|
-
CANCELED = 3
|
|
3050
|
-
}
|
|
3051
|
-
export declare enum TeamCanJoinEnum {
|
|
3052
|
-
ANYONE = "anyone",
|
|
3053
|
-
BY_INVITE = "byInvite",
|
|
3054
|
-
CAPTAIN_APPROVAL = "captainApproval"
|
|
2691
|
+
export declare enum TeamCanJoinEnum {
|
|
2692
|
+
ANYONE = "anyone",
|
|
2693
|
+
BY_INVITE = "byInvite",
|
|
2694
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
3055
2695
|
}
|
|
3056
2696
|
export declare enum TeamMemberStatusEnum {
|
|
3057
2697
|
PENDING = 1,
|
|
@@ -3196,156 +2836,485 @@ export declare enum ShiftStatusEnum {
|
|
|
3196
2836
|
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3197
2837
|
RECONCILED = "reconciled"
|
|
3198
2838
|
}
|
|
3199
|
-
export declare enum EventStatusEnum {
|
|
3200
|
-
OPEN = 1,
|
|
3201
|
-
DRAFT = 2,
|
|
3202
|
-
FULL = 3,
|
|
3203
|
-
CANCELLED = 4,
|
|
3204
|
-
CLOSED = 5,
|
|
3205
|
-
DELETED = 6
|
|
2839
|
+
export declare enum EventStatusEnum {
|
|
2840
|
+
OPEN = 1,
|
|
2841
|
+
DRAFT = 2,
|
|
2842
|
+
FULL = 3,
|
|
2843
|
+
CANCELLED = 4,
|
|
2844
|
+
CLOSED = 5,
|
|
2845
|
+
DELETED = 6
|
|
2846
|
+
}
|
|
2847
|
+
export declare enum ReservationTypeEnum {
|
|
2848
|
+
RENTAL = "rental",
|
|
2849
|
+
PROGRAM = "program",
|
|
2850
|
+
MAINTENANCE = "maintenance",
|
|
2851
|
+
CUSTOM = "custom",
|
|
2852
|
+
INTERNAL = "internal"
|
|
2853
|
+
}
|
|
2854
|
+
export declare enum SlotDurationTypeEnum {
|
|
2855
|
+
DATES = "dates",
|
|
2856
|
+
ALL_DAY = "all day",
|
|
2857
|
+
DURATION = "duration"
|
|
2858
|
+
}
|
|
2859
|
+
export declare enum DurationUnitTypesEnum {
|
|
2860
|
+
MINUTES = "minutes",
|
|
2861
|
+
HOURS = "hours"
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum FrequencyEnum {
|
|
2864
|
+
NONE = "none",
|
|
2865
|
+
WEEKLY = "weekly",
|
|
2866
|
+
DAILY = "daily",
|
|
2867
|
+
MONTHLY = "monthly",
|
|
2868
|
+
YEARLY = "yearly"
|
|
2869
|
+
}
|
|
2870
|
+
export declare enum MaintenanceTimingEnum {
|
|
2871
|
+
BEFORE = 1,
|
|
2872
|
+
AFTER = 2,
|
|
2873
|
+
AT_THE_BEGINING = 3,
|
|
2874
|
+
AT_THE_END = 4
|
|
2875
|
+
}
|
|
2876
|
+
export declare enum CreatorTypeEnum {
|
|
2877
|
+
SPACE = "space",
|
|
2878
|
+
PROGRAM_SEASON = "program_season",
|
|
2879
|
+
SEASON = "season"
|
|
2880
|
+
}
|
|
2881
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2882
|
+
INDIVIDUAL = "indvidual",
|
|
2883
|
+
CATEGORY = "category",
|
|
2884
|
+
GLOBAL = "global"
|
|
2885
|
+
}
|
|
2886
|
+
export declare enum BondDayOfWeekEnum {
|
|
2887
|
+
MONDAY = 2,
|
|
2888
|
+
TUESDAY = 3,
|
|
2889
|
+
WEDNESDAY = 4,
|
|
2890
|
+
THURSDAY = 5,
|
|
2891
|
+
FRIDAY = 6,
|
|
2892
|
+
SATURDAY = 7,
|
|
2893
|
+
SUNDAY = 8
|
|
2894
|
+
}
|
|
2895
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2896
|
+
NEW = "new",
|
|
2897
|
+
NO = "no",
|
|
2898
|
+
YES = "yes"
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum ProductPackageLevelEnum {
|
|
2901
|
+
HOUR = "hour",
|
|
2902
|
+
SLOT = "slot",
|
|
2903
|
+
RESERVATION = "reservation"
|
|
2904
|
+
}
|
|
2905
|
+
export declare enum CancellationStatusEnum {
|
|
2906
|
+
IMMEDIATE = "immediate",
|
|
2907
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2908
|
+
}
|
|
2909
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2910
|
+
DRAFT = 0,
|
|
2911
|
+
PUBLISHED = 1
|
|
2912
|
+
}
|
|
2913
|
+
export declare enum FinancialStepEnum {
|
|
2914
|
+
VOID = "void",
|
|
2915
|
+
REFUND = "refund",
|
|
2916
|
+
NONE = "none",
|
|
2917
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2918
|
+
APPEND = "append"
|
|
2919
|
+
}
|
|
2920
|
+
export declare enum StripeAccountTypesEnum {
|
|
2921
|
+
STRIPE = "stripe",
|
|
2922
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2923
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2924
|
+
}
|
|
2925
|
+
export declare enum LinkedAccountStatus {
|
|
2926
|
+
PENDING = 1,
|
|
2927
|
+
ACTIVE = 2,
|
|
2928
|
+
PRE_PENDING = 3
|
|
2929
|
+
}
|
|
2930
|
+
export declare enum AddonParentTypeEnum {
|
|
2931
|
+
RESERVATION = "reservation",
|
|
2932
|
+
SLOT = "slot"
|
|
2933
|
+
}
|
|
2934
|
+
export declare enum EEmailStatus {
|
|
2935
|
+
SENT = "sent",
|
|
2936
|
+
OPENED = "opened",
|
|
2937
|
+
PAID = "paid",
|
|
2938
|
+
CANCELED = "canceled"
|
|
2939
|
+
}
|
|
2940
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2941
|
+
ENABLED = 1,
|
|
2942
|
+
DISABLED_REDIRECT = 2,
|
|
2943
|
+
DISABLED_INFO_ONLY = 3,
|
|
2944
|
+
DISABLED_EMAIL = 4
|
|
2945
|
+
}
|
|
2946
|
+
export declare enum NotifyMethodEnum {
|
|
2947
|
+
EMAIL = "Email"
|
|
2948
|
+
}
|
|
2949
|
+
export declare enum EComparisonFilter {
|
|
2950
|
+
LessThan = "lt",
|
|
2951
|
+
GreaterOrEqualTo = "gte"
|
|
2952
|
+
}
|
|
2953
|
+
export interface IEntitlementTerms {
|
|
2954
|
+
type: EntitlementTermsTypesEnum;
|
|
2955
|
+
id?: number;
|
|
2956
|
+
value?: string;
|
|
2957
|
+
minValue?: string;
|
|
2958
|
+
maxValue?: string;
|
|
2959
|
+
}
|
|
2960
|
+
export interface IQuestionAnswerObject {
|
|
2961
|
+
questionId: number;
|
|
2962
|
+
value: string;
|
|
2963
|
+
}
|
|
2964
|
+
export interface ILowestPriceForItem {
|
|
2965
|
+
itemId: number;
|
|
2966
|
+
itemType: ResourceNameTypeEnum;
|
|
2967
|
+
groupId: number;
|
|
2968
|
+
groupName?: string;
|
|
2969
|
+
price: number;
|
|
2970
|
+
overridesPrice: boolean;
|
|
2971
|
+
}
|
|
2972
|
+
export interface IResourcesAvailability {
|
|
2973
|
+
resourceType: ResourceNameTypeEnum;
|
|
2974
|
+
quantity: number;
|
|
2975
|
+
resourcesIds: number[];
|
|
2976
|
+
isPunchCard: boolean;
|
|
2977
|
+
resources?: any[];
|
|
2978
|
+
}
|
|
2979
|
+
export interface IPackageResponse {
|
|
2980
|
+
parentProduct: Product;
|
|
2981
|
+
children: IChildProduct[];
|
|
2982
|
+
}
|
|
2983
|
+
export interface IChildProduct {
|
|
2984
|
+
product: Product;
|
|
2985
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2986
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2987
|
+
}
|
|
2988
|
+
export interface ISeasonAttendeeInfo {
|
|
2989
|
+
applicationAnswers: Answer[];
|
|
2990
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2991
|
+
invoices: Invoice[];
|
|
2992
|
+
payments: Payment[];
|
|
2993
|
+
products: Product[];
|
|
2994
|
+
redeemNext: ProductsUsers;
|
|
2995
|
+
}
|
|
2996
|
+
export interface ISeasonAttendeeListInfo {
|
|
2997
|
+
userId: number;
|
|
2998
|
+
userFirstName: string;
|
|
2999
|
+
userLastName: string;
|
|
3000
|
+
userGender: number;
|
|
3001
|
+
userBirthDate: Date;
|
|
3002
|
+
userProfilePicUrl: string;
|
|
3003
|
+
customerId: number;
|
|
3004
|
+
customerEmail: string;
|
|
3005
|
+
paymentStatus: string;
|
|
3006
|
+
productName: string;
|
|
3007
|
+
punchCard: boolean;
|
|
3008
|
+
}
|
|
3009
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
3010
|
+
segmentType: ResourceNameTypeEnum;
|
|
3011
|
+
participantRegisteredDate?: string;
|
|
3012
|
+
}
|
|
3013
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3014
|
+
segmentType: ResourceNameTypeEnum;
|
|
3015
|
+
participantRegisteredDate?: string;
|
|
3016
|
+
}
|
|
3017
|
+
export interface ITokenResonse {
|
|
3018
|
+
token: string;
|
|
3019
|
+
}
|
|
3020
|
+
export interface IStripeBondInvoices {
|
|
3021
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3022
|
+
bondPaidPayment: Payment;
|
|
3023
|
+
invoice?: Invoice;
|
|
3024
|
+
customer?: Customer;
|
|
3025
|
+
}
|
|
3026
|
+
export interface IPartialPaymentData {
|
|
3027
|
+
purchasingUserId: number;
|
|
3028
|
+
paymentData: PurchasePaymentDto;
|
|
3029
|
+
amountToPay: number;
|
|
3030
|
+
}
|
|
3031
|
+
export interface IPayment {
|
|
3032
|
+
id: number;
|
|
3033
|
+
total: number;
|
|
3034
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3035
|
+
status: PaymentStatusEnum;
|
|
3036
|
+
createdAt: Date;
|
|
3037
|
+
invoices: number[];
|
|
3038
|
+
}
|
|
3039
|
+
export interface IPaginationData<T> {
|
|
3040
|
+
meta: {
|
|
3041
|
+
totalItems: number;
|
|
3042
|
+
itemsPerPage: number;
|
|
3043
|
+
totalPages: number;
|
|
3044
|
+
currentPage: number;
|
|
3045
|
+
};
|
|
3046
|
+
data: T[];
|
|
3047
|
+
}
|
|
3048
|
+
export interface IPricesOfProductsResults {
|
|
3049
|
+
productId: number;
|
|
3050
|
+
userId: number;
|
|
3051
|
+
price: number;
|
|
3052
|
+
groupId?: number;
|
|
3053
|
+
groupName?: string;
|
|
3054
|
+
originalPrice?: number;
|
|
3055
|
+
priceWithoutTax: number;
|
|
3056
|
+
tax: number;
|
|
3057
|
+
isTaxInclusive: boolean;
|
|
3058
|
+
}
|
|
3059
|
+
export interface IPaymentMethodToFundLeft {
|
|
3060
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3061
|
+
paymentMethodId: string;
|
|
3062
|
+
fundLeft: number;
|
|
3063
|
+
ccLast4?: string;
|
|
3064
|
+
ccBrand?: string;
|
|
3065
|
+
}
|
|
3066
|
+
export interface IVariantsAndTitle {
|
|
3067
|
+
title: VariantTitle;
|
|
3068
|
+
variants: Variant[];
|
|
3069
|
+
}
|
|
3070
|
+
export interface IProgramSeasonActivityTimes {
|
|
3071
|
+
dayOfWeek: number;
|
|
3072
|
+
open: string;
|
|
3073
|
+
close: string;
|
|
3206
3074
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
CUSTOM = "custom",
|
|
3212
|
-
INTERNAL = "internal"
|
|
3075
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3076
|
+
date: string;
|
|
3077
|
+
startTime: string;
|
|
3078
|
+
endTime: string;
|
|
3213
3079
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3080
|
+
export interface IBlockedDates {
|
|
3081
|
+
name: string;
|
|
3082
|
+
startDate: Date;
|
|
3083
|
+
endDate: Date;
|
|
3218
3084
|
}
|
|
3219
|
-
export
|
|
3220
|
-
|
|
3221
|
-
|
|
3085
|
+
export interface ISingleMemberForRenewal {
|
|
3086
|
+
member_id: number;
|
|
3087
|
+
member_membershipId: number;
|
|
3088
|
+
member_userId: number;
|
|
3089
|
+
member_nextPaymentMethodId?: string;
|
|
3090
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3091
|
+
member_answerTitleIds?: number[];
|
|
3092
|
+
member_organizationId: number;
|
|
3093
|
+
product_productPrice: number;
|
|
3094
|
+
product_productId: number;
|
|
3095
|
+
invoice_payingUserId: number;
|
|
3096
|
+
invoice_paymentMethodId: string;
|
|
3097
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3098
|
+
endDate: Date;
|
|
3099
|
+
membership_name: string;
|
|
3100
|
+
user_firstName: string;
|
|
3101
|
+
user_lastName: string;
|
|
3102
|
+
user_email: string;
|
|
3222
3103
|
}
|
|
3223
|
-
export
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
YEARLY = "yearly"
|
|
3104
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3105
|
+
package_parentProductId: number;
|
|
3106
|
+
product2_productPrice: number;
|
|
3107
|
+
familyid: number;
|
|
3108
|
+
invoice_id: number;
|
|
3229
3109
|
}
|
|
3230
|
-
export
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3110
|
+
export interface IResourceRegistrationData {
|
|
3111
|
+
id: number;
|
|
3112
|
+
resourceType: ResourceNameTypeEnum;
|
|
3113
|
+
openNumDays?: number;
|
|
3114
|
+
openNumMinutes?: number;
|
|
3115
|
+
openTime?: string;
|
|
3116
|
+
closeNumDays?: number;
|
|
3117
|
+
closeNumMinutes?: number;
|
|
3118
|
+
closeTime?: string;
|
|
3119
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3235
3120
|
}
|
|
3236
|
-
export
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3121
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3122
|
+
id: number;
|
|
3123
|
+
startDate: string;
|
|
3124
|
+
startTime: string;
|
|
3240
3125
|
}
|
|
3241
|
-
export
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
GLOBAL = "global"
|
|
3126
|
+
export interface IRegistrationConstraintsSetting {
|
|
3127
|
+
numDays?: number;
|
|
3128
|
+
numMinutes?: number;
|
|
3245
3129
|
}
|
|
3246
|
-
export
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3130
|
+
export interface IAttendeeDataToNotify {
|
|
3131
|
+
firstName: string;
|
|
3132
|
+
lastName: string;
|
|
3133
|
+
email: string;
|
|
3134
|
+
sessionName: string;
|
|
3135
|
+
parentSessionName?: string;
|
|
3136
|
+
organizationName: string;
|
|
3137
|
+
programName: string;
|
|
3254
3138
|
}
|
|
3255
|
-
export
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3139
|
+
export interface IEventInSchedule {
|
|
3140
|
+
eventId: number;
|
|
3141
|
+
eventName: string;
|
|
3142
|
+
eventStartDate: string;
|
|
3143
|
+
eventEndDate: string;
|
|
3144
|
+
eventStartTime: string;
|
|
3145
|
+
eventEndTime: string;
|
|
3146
|
+
programId: number;
|
|
3147
|
+
programName: string;
|
|
3148
|
+
programType: ProgramTypesEnum;
|
|
3149
|
+
sessionId: number;
|
|
3150
|
+
sessionName: string;
|
|
3151
|
+
sports: number;
|
|
3152
|
+
spaces: {
|
|
3153
|
+
spaceId: number;
|
|
3154
|
+
spaceName: string;
|
|
3155
|
+
}[];
|
|
3156
|
+
status?: RegistrationValidationStatusEnum;
|
|
3259
3157
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3158
|
+
export interface ISlotInSchedule {
|
|
3159
|
+
facilityId: number;
|
|
3160
|
+
facilityName: string;
|
|
3161
|
+
spaces: ISpaceWithSlots[];
|
|
3264
3162
|
}
|
|
3265
|
-
export
|
|
3266
|
-
|
|
3267
|
-
|
|
3163
|
+
export interface ISpaceWithSlots {
|
|
3164
|
+
id: number;
|
|
3165
|
+
name: string;
|
|
3166
|
+
slots: ISlotReservationData[];
|
|
3268
3167
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3168
|
+
export interface ISlotReservationData {
|
|
3169
|
+
reservationId: number;
|
|
3170
|
+
reservationName: string;
|
|
3171
|
+
date: string;
|
|
3172
|
+
startTime: string;
|
|
3173
|
+
endTime: string;
|
|
3174
|
+
notes: string;
|
|
3175
|
+
spaceId: number;
|
|
3176
|
+
isRental: boolean;
|
|
3177
|
+
slotType: SlotTypeEnum;
|
|
3178
|
+
slotId: number;
|
|
3179
|
+
eventId: number;
|
|
3180
|
+
isPrivate: boolean;
|
|
3272
3181
|
}
|
|
3273
|
-
export
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3182
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3183
|
+
parentSessionId: number;
|
|
3184
|
+
parentSessionName: string;
|
|
3185
|
+
eventTimezone: string;
|
|
3186
|
+
maxParticipants: number;
|
|
3187
|
+
maxMaleParticipants: number;
|
|
3188
|
+
maxFemaleParticipants: number;
|
|
3189
|
+
isPunchCard: boolean;
|
|
3279
3190
|
}
|
|
3280
|
-
export
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3191
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3192
|
+
id: number;
|
|
3193
|
+
name: string;
|
|
3194
|
+
bookingCreatorId: number;
|
|
3284
3195
|
}
|
|
3285
|
-
export
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3196
|
+
export interface IRawSlotInSchedule {
|
|
3197
|
+
startDate: string;
|
|
3198
|
+
endDate: string;
|
|
3199
|
+
startTime: string;
|
|
3200
|
+
endTime: string;
|
|
3201
|
+
reservationId: number;
|
|
3202
|
+
eventTitle: string;
|
|
3203
|
+
publicNotes: string;
|
|
3204
|
+
spaceId: number;
|
|
3205
|
+
creatorType: ResourceNameTypeEnum;
|
|
3206
|
+
slotType: SlotTypeEnum;
|
|
3207
|
+
slotId: number;
|
|
3208
|
+
eventId: number;
|
|
3209
|
+
isPrivate: boolean;
|
|
3289
3210
|
}
|
|
3290
|
-
export
|
|
3291
|
-
|
|
3292
|
-
|
|
3211
|
+
export interface IPurchasedResourcesRaw {
|
|
3212
|
+
purchasedId: number;
|
|
3213
|
+
purchasedProductUserId: number;
|
|
3214
|
+
purchasedResourceId: number;
|
|
3215
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3216
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3217
|
+
pUserId: number;
|
|
3218
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3219
|
+
pUserProductId: number;
|
|
3220
|
+
pUserProductName: string;
|
|
3221
|
+
pUserProductPrice: number;
|
|
3222
|
+
pUserProductPriceCurrency: string;
|
|
3223
|
+
pUserProductQuantity: number;
|
|
3224
|
+
pUserProductQuantityLeft: number;
|
|
3225
|
+
pUserUserId: number;
|
|
3293
3226
|
}
|
|
3294
|
-
export
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3227
|
+
export interface IUsersPasses {
|
|
3228
|
+
userId: number;
|
|
3229
|
+
userFirstName: string;
|
|
3230
|
+
userLastName: string;
|
|
3231
|
+
organizationId: number;
|
|
3232
|
+
programId: number;
|
|
3233
|
+
programName: string;
|
|
3234
|
+
sessionId: number;
|
|
3235
|
+
sessionName: string;
|
|
3236
|
+
productId: number;
|
|
3237
|
+
productName: string;
|
|
3238
|
+
productUserId: number;
|
|
3239
|
+
purchaseDate: Date;
|
|
3240
|
+
passesLeft: number;
|
|
3241
|
+
}
|
|
3242
|
+
export interface ISessionsLandingPage {
|
|
3243
|
+
sessionId: number;
|
|
3244
|
+
name: string;
|
|
3245
|
+
startDate: Date;
|
|
3246
|
+
endDate: Date;
|
|
3247
|
+
registrationStartDate: Date;
|
|
3248
|
+
registrationEndDate: Date;
|
|
3249
|
+
sport: SportsEnum;
|
|
3250
|
+
minAge: string;
|
|
3251
|
+
maxAge: string;
|
|
3252
|
+
maxParticipants?: number;
|
|
3253
|
+
gender: GenderEnum;
|
|
3254
|
+
activityTimes: ActivityTimes[];
|
|
3255
|
+
earlyRegistrationStartDate?: Date;
|
|
3256
|
+
earlyRegistrationEndDate?: Date;
|
|
3257
|
+
lateRegistrationStartDate?: Date;
|
|
3258
|
+
lateRegistrationEndDate?: Date;
|
|
3259
|
+
attendeeCount?: number;
|
|
3260
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3299
3261
|
}
|
|
3300
|
-
export
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3262
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3263
|
+
hasRequiredMembership: boolean;
|
|
3264
|
+
hasEntitledPricing: boolean;
|
|
3265
|
+
lowestPrice?: number;
|
|
3266
|
+
products?: ISessionLandingPageProduct[];
|
|
3305
3267
|
}
|
|
3306
|
-
export
|
|
3307
|
-
|
|
3268
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3269
|
+
hasRequiredMembership: boolean;
|
|
3270
|
+
hasEntitledPricing: boolean;
|
|
3271
|
+
products?: ISessionLandingPageProduct[];
|
|
3272
|
+
segments?: Event[] | ProgramSeason[];
|
|
3273
|
+
programName: string;
|
|
3274
|
+
programId: number;
|
|
3275
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3276
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3308
3277
|
}
|
|
3309
|
-
export
|
|
3310
|
-
|
|
3311
|
-
|
|
3278
|
+
export interface ISlimAddons {
|
|
3279
|
+
addons?: {
|
|
3280
|
+
id: number;
|
|
3281
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3282
|
+
name: string;
|
|
3283
|
+
productType?: ProductTypesEnum;
|
|
3284
|
+
productSubType?: string;
|
|
3285
|
+
}[];
|
|
3312
3286
|
}
|
|
3313
|
-
export
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3287
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3288
|
+
id: number;
|
|
3289
|
+
name: string;
|
|
3290
|
+
startDate?: Date;
|
|
3291
|
+
endDate?: Date;
|
|
3292
|
+
downpayment?: number;
|
|
3293
|
+
description?: string;
|
|
3294
|
+
prices: Price[];
|
|
3295
|
+
productSubType?: ProductSubTypesEnum;
|
|
3296
|
+
punchCard: boolean;
|
|
3297
|
+
isAddon: boolean;
|
|
3298
|
+
defaultPriceId?: number;
|
|
3321
3299
|
}
|
|
3322
|
-
export
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
createdTime: string;
|
|
3327
|
-
quantity: string;
|
|
3328
|
-
price: string;
|
|
3329
|
-
total: string;
|
|
3330
|
-
customerID: string;
|
|
3331
|
-
resourceType: string;
|
|
3332
|
-
resourceID: string;
|
|
3300
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3301
|
+
destinationId?: string;
|
|
3302
|
+
stripeCustomerId?: string;
|
|
3303
|
+
fee?: number;
|
|
3333
3304
|
}
|
|
3334
|
-
export
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3305
|
+
export interface IReservationCreatorData {
|
|
3306
|
+
type: ResourceNameTypeEnum;
|
|
3307
|
+
id: number;
|
|
3308
|
+
organizationId: number;
|
|
3309
|
+
startDate: string;
|
|
3310
|
+
endDate: string;
|
|
3311
|
+
sportId: number;
|
|
3340
3312
|
}
|
|
3341
|
-
export declare class
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
description: string;
|
|
3345
|
-
paid: string;
|
|
3346
|
-
date: string;
|
|
3347
|
-
time: string;
|
|
3313
|
+
export declare class ColumnNumericTransformer {
|
|
3314
|
+
to(data: number): number;
|
|
3315
|
+
from(data: string): number;
|
|
3348
3316
|
}
|
|
3317
|
+
export declare function convertToNumber(data: string): number;
|
|
3349
3318
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3350
3319
|
name?: string;
|
|
3351
3320
|
genderStr?: string;
|
|
@@ -3360,20 +3329,6 @@ export declare class AddFamilyDto {
|
|
|
3360
3329
|
parents: AddImportedCustomerDto[];
|
|
3361
3330
|
children: AddImportedCustomerDto[];
|
|
3362
3331
|
}
|
|
3363
|
-
export declare class ColumnNumericTransformer {
|
|
3364
|
-
to(data: number): number;
|
|
3365
|
-
from(data: string): number;
|
|
3366
|
-
}
|
|
3367
|
-
export declare function convertToNumber(data: string): number;
|
|
3368
|
-
export declare class ProductIdsDto {
|
|
3369
|
-
productIds?: number[];
|
|
3370
|
-
}
|
|
3371
|
-
export declare class ProductImportDto {
|
|
3372
|
-
product: Product;
|
|
3373
|
-
prices: Price[];
|
|
3374
|
-
resourceIds: number[];
|
|
3375
|
-
oldId: number;
|
|
3376
|
-
}
|
|
3377
3332
|
export declare class PunchPassDto {
|
|
3378
3333
|
CustomerID: string;
|
|
3379
3334
|
QuantityLeft: number;
|
|
@@ -3384,8 +3339,8 @@ export declare class PunchPassDto {
|
|
|
3384
3339
|
export declare class ImportedSlotProductDto {
|
|
3385
3340
|
slotID?: string;
|
|
3386
3341
|
name?: string;
|
|
3387
|
-
pricingType?:
|
|
3388
|
-
appliesTo?:
|
|
3342
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3343
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3389
3344
|
price?: string;
|
|
3390
3345
|
minutes?: string;
|
|
3391
3346
|
quantity: string;
|
|
@@ -3457,6 +3412,12 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3457
3412
|
createdAt: Date;
|
|
3458
3413
|
updatedAt: Date;
|
|
3459
3414
|
}
|
|
3415
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3416
|
+
seasonId: number;
|
|
3417
|
+
ordinal?: number;
|
|
3418
|
+
divisionId?: number;
|
|
3419
|
+
name: string;
|
|
3420
|
+
}
|
|
3460
3421
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3461
3422
|
teamId: number | null;
|
|
3462
3423
|
eventId: number | null;
|
|
@@ -3493,12 +3454,6 @@ export declare class CreateMonitorConfigDto {
|
|
|
3493
3454
|
code: string;
|
|
3494
3455
|
config: any;
|
|
3495
3456
|
}
|
|
3496
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3497
|
-
seasonId: number;
|
|
3498
|
-
ordinal?: number;
|
|
3499
|
-
divisionId?: number;
|
|
3500
|
-
name: string;
|
|
3501
|
-
}
|
|
3502
3457
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3503
3458
|
facilityId: number;
|
|
3504
3459
|
code: string;
|
|
@@ -3594,6 +3549,10 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3594
3549
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3595
3550
|
mainAdminUserId?: number;
|
|
3596
3551
|
}
|
|
3552
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3553
|
+
organisationId: number | null;
|
|
3554
|
+
userId: number | null;
|
|
3555
|
+
}
|
|
3597
3556
|
export interface UnallocatedEventsFilters {
|
|
3598
3557
|
programsIds?: number[];
|
|
3599
3558
|
sessionsIds?: number[];
|
|
@@ -3620,10 +3579,6 @@ export interface IUnallocatedEventRes {
|
|
|
3620
3579
|
export interface IUnallocatedEventsIdsRes {
|
|
3621
3580
|
data: IUnallocatedEventRes[];
|
|
3622
3581
|
}
|
|
3623
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3624
|
-
organisationId: number | null;
|
|
3625
|
-
userId: number | null;
|
|
3626
|
-
}
|
|
3627
3582
|
export declare class CustomerIdDto {
|
|
3628
3583
|
customerId: number;
|
|
3629
3584
|
}
|
|
@@ -3701,7 +3656,7 @@ export declare class PaymentDataDto {
|
|
|
3701
3656
|
}
|
|
3702
3657
|
export declare class SendReceiptDataDto {
|
|
3703
3658
|
paymentId: number;
|
|
3704
|
-
deliveryMethod:
|
|
3659
|
+
deliveryMethod: 'email' | 'sms';
|
|
3705
3660
|
sendToAddress?: string;
|
|
3706
3661
|
}
|
|
3707
3662
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -3902,7 +3857,7 @@ export declare class LineItemDto {
|
|
|
3902
3857
|
unitPrice?: number;
|
|
3903
3858
|
quantity: number;
|
|
3904
3859
|
resources?: PurchasedResourceDto[];
|
|
3905
|
-
relationType?:
|
|
3860
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3906
3861
|
unitPriceWithTax?: number;
|
|
3907
3862
|
unitTaxPrice?: number;
|
|
3908
3863
|
parentOrdinal?: number;
|
|
@@ -3923,34 +3878,6 @@ export declare class PurchasedResourceDto {
|
|
|
3923
3878
|
endDate?: string;
|
|
3924
3879
|
endTime?: string;
|
|
3925
3880
|
}
|
|
3926
|
-
export declare class SegmentDto {
|
|
3927
|
-
id?: number;
|
|
3928
|
-
title: string;
|
|
3929
|
-
isPrivate: boolean;
|
|
3930
|
-
resourceIds: number[];
|
|
3931
|
-
sportId?: number;
|
|
3932
|
-
series: SeriesDto[];
|
|
3933
|
-
addonIds?: number[];
|
|
3934
|
-
publicNotesForSlots?: string;
|
|
3935
|
-
privateNotesForSlots?: string;
|
|
3936
|
-
}
|
|
3937
|
-
export declare class SeriesDto {
|
|
3938
|
-
id?: number;
|
|
3939
|
-
startDate: string;
|
|
3940
|
-
startTime?: string;
|
|
3941
|
-
endDate?: string;
|
|
3942
|
-
endTime?: string;
|
|
3943
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3944
|
-
durationEndsAfter?: number;
|
|
3945
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3946
|
-
frequency: FrequencyEnum;
|
|
3947
|
-
repeatEvery?: number;
|
|
3948
|
-
repeatOn?: number[];
|
|
3949
|
-
repeatEndDate?: string;
|
|
3950
|
-
numberOccurrences?: number;
|
|
3951
|
-
maintenance?: MaintenanceDto[];
|
|
3952
|
-
slots?: SlotDto[];
|
|
3953
|
-
}
|
|
3954
3881
|
export declare class ReservationDto {
|
|
3955
3882
|
id?: number;
|
|
3956
3883
|
organizationId?: number;
|
|
@@ -4104,6 +4031,34 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4104
4031
|
updateAddons?: boolean;
|
|
4105
4032
|
updateMaintenance?: boolean;
|
|
4106
4033
|
}
|
|
4034
|
+
export declare class SegmentDto {
|
|
4035
|
+
id?: number;
|
|
4036
|
+
title: string;
|
|
4037
|
+
isPrivate: boolean;
|
|
4038
|
+
resourceIds: number[];
|
|
4039
|
+
sportId?: number;
|
|
4040
|
+
series: SeriesDto[];
|
|
4041
|
+
addonIds?: number[];
|
|
4042
|
+
publicNotesForSlots?: string;
|
|
4043
|
+
privateNotesForSlots?: string;
|
|
4044
|
+
}
|
|
4045
|
+
export declare class SeriesDto {
|
|
4046
|
+
id?: number;
|
|
4047
|
+
startDate: string;
|
|
4048
|
+
startTime?: string;
|
|
4049
|
+
endDate?: string;
|
|
4050
|
+
endTime?: string;
|
|
4051
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4052
|
+
durationEndsAfter?: number;
|
|
4053
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4054
|
+
frequency: FrequencyEnum;
|
|
4055
|
+
repeatEvery?: number;
|
|
4056
|
+
repeatOn?: number[];
|
|
4057
|
+
repeatEndDate?: string;
|
|
4058
|
+
numberOccurrences?: number;
|
|
4059
|
+
maintenance?: MaintenanceDto[];
|
|
4060
|
+
slots?: SlotDto[];
|
|
4061
|
+
}
|
|
4107
4062
|
export declare class SlotDateTimeAndSpace {
|
|
4108
4063
|
startDate: string;
|
|
4109
4064
|
startTime?: string;
|
|
@@ -4370,7 +4325,7 @@ export declare enum LineItemResourceEnum {
|
|
|
4370
4325
|
SLOT_ADDONS = "slot_addons"
|
|
4371
4326
|
}
|
|
4372
4327
|
export declare type TSlotAndType = {
|
|
4373
|
-
type:
|
|
4328
|
+
type: 'slots' | 'slot_addons';
|
|
4374
4329
|
slotsForProduct: {
|
|
4375
4330
|
[productId: number]: {
|
|
4376
4331
|
product: Product;
|
|
@@ -4379,7 +4334,7 @@ export declare type TSlotAndType = {
|
|
|
4379
4334
|
};
|
|
4380
4335
|
};
|
|
4381
4336
|
export interface ILineItemResource {
|
|
4382
|
-
type:
|
|
4337
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4383
4338
|
values: TResource[];
|
|
4384
4339
|
dtoValues: TDtoResource[];
|
|
4385
4340
|
}
|
|
@@ -4408,6 +4363,11 @@ export interface OverrideLineItemPrice {
|
|
|
4408
4363
|
export interface OverrideProductsPricing {
|
|
4409
4364
|
[productInfo: string]: ProductPricesDto;
|
|
4410
4365
|
}
|
|
4366
|
+
export interface RoundingSplit {
|
|
4367
|
+
splitsNumber: number;
|
|
4368
|
+
splitAmount: number;
|
|
4369
|
+
}
|
|
4370
|
+
export declare const RESOURCE_TOTAL_FIELD = "totalPrice";
|
|
4411
4371
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4412
4372
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4413
4373
|
export interface ReservationV1 {
|
|
@@ -4535,8 +4495,8 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4535
4495
|
totalSlotsInSeries?: number;
|
|
4536
4496
|
slotIndexInSeries?: number;
|
|
4537
4497
|
}
|
|
4538
|
-
declare type IPartialInvoice = Pick<Invoice,
|
|
4539
|
-
export declare type IPartialPayment = Pick<Payment,
|
|
4498
|
+
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4499
|
+
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4540
4500
|
export interface IInvoice extends IPartialInvoice {
|
|
4541
4501
|
lineItemsCount: number;
|
|
4542
4502
|
}
|
|
@@ -4632,12 +4592,12 @@ export interface OverridePriceMeta {
|
|
|
4632
4592
|
quantity: number;
|
|
4633
4593
|
totalPrice: number;
|
|
4634
4594
|
}
|
|
4635
|
-
export declare class CreateRoleDto {
|
|
4636
|
-
name: string;
|
|
4637
|
-
}
|
|
4638
4595
|
export declare class ChangeRolePermissionsDto {
|
|
4639
4596
|
permissionIds: number[];
|
|
4640
4597
|
}
|
|
4598
|
+
export declare class CreateRoleDto {
|
|
4599
|
+
name: string;
|
|
4600
|
+
}
|
|
4641
4601
|
export declare class Permission extends BondBaseEntity {
|
|
4642
4602
|
name: string;
|
|
4643
4603
|
deletedAt?: Date;
|
|
@@ -4655,12 +4615,54 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4655
4615
|
role: Role;
|
|
4656
4616
|
user: User;
|
|
4657
4617
|
}
|
|
4618
|
+
export declare enum ImportPaymentTypeEnum {
|
|
4619
|
+
CREDIT_CARD = "card",
|
|
4620
|
+
ACH = "ach",
|
|
4621
|
+
CASH = "cash",
|
|
4622
|
+
CHECK = "check",
|
|
4623
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
4624
|
+
OTHER = "other",
|
|
4625
|
+
GIFT_CARD = "gift-card"
|
|
4626
|
+
}
|
|
4627
|
+
export declare class ImportedInvoiceLineDto {
|
|
4628
|
+
invoiceID?: string;
|
|
4629
|
+
description: string;
|
|
4630
|
+
createdDate: string;
|
|
4631
|
+
createdTime: string;
|
|
4632
|
+
quantity: string;
|
|
4633
|
+
price: string;
|
|
4634
|
+
total: string;
|
|
4635
|
+
customerID: string;
|
|
4636
|
+
resourceType: string;
|
|
4637
|
+
resourceID: string;
|
|
4638
|
+
}
|
|
4639
|
+
export declare class ImportedInvoiceDto {
|
|
4640
|
+
customerId?: string;
|
|
4641
|
+
total?: string;
|
|
4642
|
+
amountDue?: string;
|
|
4643
|
+
payments?: ImportedPaymentDto[];
|
|
4644
|
+
lines: any;
|
|
4645
|
+
}
|
|
4646
|
+
export declare class ImportedPaymentDto {
|
|
4647
|
+
invoiceID: string;
|
|
4648
|
+
type: ImportPaymentTypeEnum;
|
|
4649
|
+
description: string;
|
|
4650
|
+
paid: string;
|
|
4651
|
+
date: string;
|
|
4652
|
+
time: string;
|
|
4653
|
+
}
|
|
4654
|
+
export declare class ProductIdsDto {
|
|
4655
|
+
productIds?: number[];
|
|
4656
|
+
}
|
|
4657
|
+
export declare class ProductImportDto {
|
|
4658
|
+
product: Product;
|
|
4659
|
+
prices: Price[];
|
|
4660
|
+
resourceIds: number[];
|
|
4661
|
+
oldId: number;
|
|
4662
|
+
}
|
|
4658
4663
|
export declare class CloseShiftDto {
|
|
4659
4664
|
closingCashAmount: number;
|
|
4660
4665
|
}
|
|
4661
|
-
export declare class FindShiftsByIdsDto {
|
|
4662
|
-
shiftIds: number[];
|
|
4663
|
-
}
|
|
4664
4666
|
export declare class FindShiftsFiltersDto {
|
|
4665
4667
|
statuses?: string;
|
|
4666
4668
|
stationIds?: string;
|
|
@@ -4681,6 +4683,13 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4681
4683
|
startDate?: Date;
|
|
4682
4684
|
endDate?: Date;
|
|
4683
4685
|
}
|
|
4686
|
+
export declare class ShiftManagementClosingAmount {
|
|
4687
|
+
shiftId: number;
|
|
4688
|
+
managementClosingCashAmount: number;
|
|
4689
|
+
}
|
|
4690
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4691
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4692
|
+
}
|
|
4684
4693
|
export declare class OpenShiftDto {
|
|
4685
4694
|
openingCashAmount: number;
|
|
4686
4695
|
stationId: number;
|
|
@@ -4714,13 +4723,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4714
4723
|
closingManager?: User;
|
|
4715
4724
|
reconcilingUser?: User;
|
|
4716
4725
|
}
|
|
4717
|
-
export declare class ShiftManagementClosingAmount {
|
|
4718
|
-
shiftId: number;
|
|
4719
|
-
managementClosingCashAmount: number;
|
|
4720
|
-
}
|
|
4721
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4722
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4723
|
-
}
|
|
4724
4726
|
export default interface IWebflowProgram {
|
|
4725
4727
|
name: string;
|
|
4726
4728
|
id: number;
|
|
@@ -4734,3 +4736,6 @@ export default interface IWebflowProgram {
|
|
|
4734
4736
|
level: string[];
|
|
4735
4737
|
gender: string;
|
|
4736
4738
|
}
|
|
4739
|
+
export declare class FindShiftsByIdsDto {
|
|
4740
|
+
shiftIds: number[];
|
|
4741
|
+
}
|