@bondsports/types 0.0.192 → 0.0.194
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 +1109 -1107
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ 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
|
+
}
|
|
12
19
|
export declare class QuestionAnswersDto {
|
|
13
20
|
questionId: number;
|
|
14
21
|
value: any;
|
|
@@ -27,13 +34,6 @@ export declare enum EFailedPaymentReasons {
|
|
|
27
34
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
28
35
|
UNKNOWN = "unknown"
|
|
29
36
|
}
|
|
30
|
-
export declare class FindBookingTypeSettingDto {
|
|
31
|
-
organizationId: number;
|
|
32
|
-
facilityId: number;
|
|
33
|
-
spaceId: number;
|
|
34
|
-
bookingDate: string;
|
|
35
|
-
bookingTime: string;
|
|
36
|
-
}
|
|
37
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
38
|
membershipId: number;
|
|
39
39
|
}
|
|
@@ -365,48 +365,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
366
|
fileName: string;
|
|
367
367
|
}
|
|
368
|
-
export declare class CreateEntitlementTermsDto {
|
|
369
|
-
organizationId: number;
|
|
370
|
-
entitlementGroupId: number;
|
|
371
|
-
terms: IEntitlementTerms[];
|
|
372
|
-
}
|
|
373
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
374
|
-
entitlementGroupId: number;
|
|
375
|
-
}
|
|
376
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
377
|
-
user: any;
|
|
378
|
-
userVariables: IQuestionAnswerObject[];
|
|
379
|
-
}
|
|
380
|
-
export declare class FindLowestPriceDto {
|
|
381
|
-
organizationId: number;
|
|
382
|
-
user?: any;
|
|
383
|
-
answers?: IQuestionAnswerObject[];
|
|
384
|
-
itemIds: number[];
|
|
385
|
-
itemType?: ResourceNameTypeEnum;
|
|
386
|
-
startDate?: Date;
|
|
387
|
-
}
|
|
388
|
-
export declare class FindGroupItemsPricingsDto {
|
|
389
|
-
groupsIds: number[];
|
|
390
|
-
itemsIds: number[];
|
|
391
|
-
}
|
|
392
|
-
export declare class CreateEntitlementGroupDto {
|
|
393
|
-
name: string;
|
|
394
|
-
}
|
|
395
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
396
|
-
itemIds: number[];
|
|
397
|
-
itemType: string;
|
|
398
|
-
}
|
|
399
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
400
|
-
groupid: number;
|
|
401
|
-
}
|
|
402
|
-
export declare class CreateGroupPricingWithProduct {
|
|
403
|
-
groupId: number;
|
|
404
|
-
price: number;
|
|
405
|
-
startDate?: Date;
|
|
406
|
-
endDate?: Date;
|
|
407
|
-
discountValue?: number;
|
|
408
|
-
discountMethod?: DiscountMethodsEnum;
|
|
409
|
-
}
|
|
410
368
|
export declare class CreateMembershipDto {
|
|
411
369
|
organizationId: number;
|
|
412
370
|
name: string;
|
|
@@ -463,6 +421,48 @@ export declare class CancelMembershipDto {
|
|
|
463
421
|
isImmediatelyCancel: boolean;
|
|
464
422
|
cancellationReason?: string;
|
|
465
423
|
}
|
|
424
|
+
export declare class CreateEntitlementTermsDto {
|
|
425
|
+
organizationId: number;
|
|
426
|
+
entitlementGroupId: number;
|
|
427
|
+
terms: IEntitlementTerms[];
|
|
428
|
+
}
|
|
429
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
+
entitlementGroupId: number;
|
|
431
|
+
}
|
|
432
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
+
user: any;
|
|
434
|
+
userVariables: IQuestionAnswerObject[];
|
|
435
|
+
}
|
|
436
|
+
export declare class FindLowestPriceDto {
|
|
437
|
+
organizationId: number;
|
|
438
|
+
user?: any;
|
|
439
|
+
answers?: IQuestionAnswerObject[];
|
|
440
|
+
itemIds: number[];
|
|
441
|
+
itemType?: ResourceNameTypeEnum;
|
|
442
|
+
startDate?: Date;
|
|
443
|
+
}
|
|
444
|
+
export declare class FindGroupItemsPricingsDto {
|
|
445
|
+
groupsIds: number[];
|
|
446
|
+
itemsIds: number[];
|
|
447
|
+
}
|
|
448
|
+
export declare class CreateEntitlementGroupDto {
|
|
449
|
+
name: string;
|
|
450
|
+
}
|
|
451
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
+
itemIds: number[];
|
|
453
|
+
itemType: string;
|
|
454
|
+
}
|
|
455
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
456
|
+
groupid: number;
|
|
457
|
+
}
|
|
458
|
+
export declare class CreateGroupPricingWithProduct {
|
|
459
|
+
groupId: number;
|
|
460
|
+
price: number;
|
|
461
|
+
startDate?: Date;
|
|
462
|
+
endDate?: Date;
|
|
463
|
+
discountValue?: number;
|
|
464
|
+
discountMethod?: DiscountMethodsEnum;
|
|
465
|
+
}
|
|
466
466
|
export declare class FindByProductIdDto {
|
|
467
467
|
productId: number;
|
|
468
468
|
}
|
|
@@ -495,6 +495,7 @@ export declare class CreateProductDto {
|
|
|
495
495
|
organizationId: number;
|
|
496
496
|
name: string;
|
|
497
497
|
quantity?: number;
|
|
498
|
+
isAll?: boolean;
|
|
498
499
|
isPublic: boolean;
|
|
499
500
|
startDate?: Date;
|
|
500
501
|
endDate?: Date;
|
|
@@ -1126,17 +1127,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1126
1127
|
proudct: Product;
|
|
1127
1128
|
event: Event;
|
|
1128
1129
|
}
|
|
1129
|
-
export declare class Address extends BondBaseEntity {
|
|
1130
|
-
city?: string;
|
|
1131
|
-
street?: string;
|
|
1132
|
-
streetNum?: string;
|
|
1133
|
-
aptNum?: string;
|
|
1134
|
-
zip?: string;
|
|
1135
|
-
country?: string;
|
|
1136
|
-
state?: string;
|
|
1137
|
-
geo: any;
|
|
1138
|
-
deletedAt?: Date;
|
|
1139
|
-
}
|
|
1140
1130
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1141
1131
|
questionId: number;
|
|
1142
1132
|
question?: Questions;
|
|
@@ -1150,6 +1140,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1150
1140
|
metaData: any | null;
|
|
1151
1141
|
questionText: string | null;
|
|
1152
1142
|
}
|
|
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
|
+
}
|
|
1153
1154
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1154
1155
|
questionnaireId: number;
|
|
1155
1156
|
userId?: number;
|
|
@@ -1161,11 +1162,6 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1161
1162
|
metadata: object | null;
|
|
1162
1163
|
athleteSports: AthleteSports[];
|
|
1163
1164
|
}
|
|
1164
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1165
|
-
athleteId: number | null;
|
|
1166
|
-
sports: number | null;
|
|
1167
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1168
|
-
}
|
|
1169
1165
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1170
1166
|
entityType: ResourceNameTypeEnum;
|
|
1171
1167
|
entityId: number;
|
|
@@ -1174,6 +1170,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1174
1170
|
endDate: Date;
|
|
1175
1171
|
deletedAt?: Date;
|
|
1176
1172
|
}
|
|
1173
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1174
|
+
athleteId: number | null;
|
|
1175
|
+
sports: number | null;
|
|
1176
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1177
|
+
}
|
|
1177
1178
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1178
1179
|
id: number;
|
|
1179
1180
|
createdAt: Date;
|
|
@@ -1197,6 +1198,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1197
1198
|
publicNotes?: string;
|
|
1198
1199
|
slotType?: SlotTypeEnum;
|
|
1199
1200
|
}
|
|
1201
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1202
|
+
area: string;
|
|
1203
|
+
key: string;
|
|
1204
|
+
value: string;
|
|
1205
|
+
}
|
|
1200
1206
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1201
1207
|
parentId: number;
|
|
1202
1208
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1207,11 +1213,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1207
1213
|
endTimeInDay: string;
|
|
1208
1214
|
directBookingFor: DirectBookingTypesEnum;
|
|
1209
1215
|
}
|
|
1210
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1211
|
-
area: string;
|
|
1212
|
-
key: string;
|
|
1213
|
-
value: string;
|
|
1214
|
-
}
|
|
1215
1216
|
export declare class Connection extends BondBaseEntity {
|
|
1216
1217
|
connType: number | null;
|
|
1217
1218
|
from: number | null;
|
|
@@ -1299,45 +1300,6 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1299
1300
|
groupId: number;
|
|
1300
1301
|
terms: IEntitlementTerms[];
|
|
1301
1302
|
}
|
|
1302
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1303
|
-
status: RequestStatusEnum | null;
|
|
1304
|
-
hasPaid: boolean | null;
|
|
1305
|
-
paymentId: number | null;
|
|
1306
|
-
attendeeId: number;
|
|
1307
|
-
eventId?: number | null;
|
|
1308
|
-
productUserId?: number;
|
|
1309
|
-
answerTitleIds?: number[];
|
|
1310
|
-
entryStatus?: EntryStatusEnum;
|
|
1311
|
-
addonProductUserIds?: number[];
|
|
1312
|
-
deletedAt?: Date;
|
|
1313
|
-
attendee: User;
|
|
1314
|
-
event: Event;
|
|
1315
|
-
purchasedResource: PurchasedResource;
|
|
1316
|
-
}
|
|
1317
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1318
|
-
name: string;
|
|
1319
|
-
description?: string;
|
|
1320
|
-
addressId: number;
|
|
1321
|
-
address: Address;
|
|
1322
|
-
amenities?: number[];
|
|
1323
|
-
timezone: string;
|
|
1324
|
-
creatorId: number;
|
|
1325
|
-
creatorType: string;
|
|
1326
|
-
userCreatorId: number;
|
|
1327
|
-
mainMediaId: number;
|
|
1328
|
-
mainMedia: Media;
|
|
1329
|
-
publishedDate?: Date;
|
|
1330
|
-
isPublished: boolean;
|
|
1331
|
-
sports?: number[];
|
|
1332
|
-
info?: string;
|
|
1333
|
-
longDescription?: string;
|
|
1334
|
-
deletedAt?: Date;
|
|
1335
|
-
openingTimes: OpeningTime[];
|
|
1336
|
-
resources: Resource[];
|
|
1337
|
-
spaces: Resource[];
|
|
1338
|
-
programSeasons: ProgramSeason[];
|
|
1339
|
-
linkSEO: string;
|
|
1340
|
-
}
|
|
1341
1303
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1342
1304
|
constructor();
|
|
1343
1305
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1396,6 +1358,45 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1396
1358
|
session?: ProgramSeason;
|
|
1397
1359
|
segment?: ProgramSeason;
|
|
1398
1360
|
}
|
|
1361
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1362
|
+
name: string;
|
|
1363
|
+
description?: string;
|
|
1364
|
+
addressId: number;
|
|
1365
|
+
address: Address;
|
|
1366
|
+
amenities?: number[];
|
|
1367
|
+
timezone: string;
|
|
1368
|
+
creatorId: number;
|
|
1369
|
+
creatorType: string;
|
|
1370
|
+
userCreatorId: number;
|
|
1371
|
+
mainMediaId: number;
|
|
1372
|
+
mainMedia: Media;
|
|
1373
|
+
publishedDate?: Date;
|
|
1374
|
+
isPublished: boolean;
|
|
1375
|
+
sports?: number[];
|
|
1376
|
+
info?: string;
|
|
1377
|
+
longDescription?: string;
|
|
1378
|
+
deletedAt?: Date;
|
|
1379
|
+
openingTimes: OpeningTime[];
|
|
1380
|
+
resources: Resource[];
|
|
1381
|
+
spaces: Resource[];
|
|
1382
|
+
programSeasons: ProgramSeason[];
|
|
1383
|
+
linkSEO: string;
|
|
1384
|
+
}
|
|
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
|
+
}
|
|
1399
1400
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1400
1401
|
facilityId: number;
|
|
1401
1402
|
resourceId: number;
|
|
@@ -1434,6 +1435,11 @@ export declare class Group extends BondBaseEntity {
|
|
|
1434
1435
|
members: ISeasonAttendeeInfo[];
|
|
1435
1436
|
users: User[];
|
|
1436
1437
|
}
|
|
1438
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1439
|
+
groupId: number;
|
|
1440
|
+
divisionId: number;
|
|
1441
|
+
deletedAt?: Date;
|
|
1442
|
+
}
|
|
1437
1443
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1438
1444
|
groupId: number;
|
|
1439
1445
|
itemId: number;
|
|
@@ -1447,22 +1453,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1447
1453
|
discountMethod?: DiscountMethodsEnum;
|
|
1448
1454
|
discountValue?: number;
|
|
1449
1455
|
}
|
|
1450
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1451
|
-
groupId: number;
|
|
1452
|
-
divisionId: number;
|
|
1453
|
-
deletedAt?: Date;
|
|
1454
|
-
}
|
|
1455
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1456
|
-
email: string;
|
|
1457
|
-
status: EEmailStatus;
|
|
1458
|
-
templateId: string;
|
|
1459
|
-
userId: number;
|
|
1460
|
-
invoiceId: number;
|
|
1461
|
-
paymentId: number;
|
|
1462
|
-
sendingUserId: number;
|
|
1463
|
-
mailParams?: any;
|
|
1464
|
-
memo?: string;
|
|
1465
|
-
}
|
|
1466
1456
|
export declare class Invoice extends BondBaseEntity {
|
|
1467
1457
|
invoiceId: string | null;
|
|
1468
1458
|
price: number | null;
|
|
@@ -1487,6 +1477,17 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1487
1477
|
invoiceNotes: InvoiceNote[];
|
|
1488
1478
|
slots: Slot[];
|
|
1489
1479
|
}
|
|
1480
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1481
|
+
email: string;
|
|
1482
|
+
status: EEmailStatus;
|
|
1483
|
+
templateId: string;
|
|
1484
|
+
userId: number;
|
|
1485
|
+
invoiceId: number;
|
|
1486
|
+
paymentId: number;
|
|
1487
|
+
sendingUserId: number;
|
|
1488
|
+
mailParams?: any;
|
|
1489
|
+
memo?: string;
|
|
1490
|
+
}
|
|
1490
1491
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1491
1492
|
content: string;
|
|
1492
1493
|
creatingUserId: number;
|
|
@@ -1811,6 +1812,12 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1811
1812
|
paymentId: number;
|
|
1812
1813
|
payment: Payment;
|
|
1813
1814
|
}
|
|
1815
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1816
|
+
paymentPlanId: number;
|
|
1817
|
+
paymentDate: Date;
|
|
1818
|
+
deletedAt?: Date;
|
|
1819
|
+
paymentPlan: ProductPaymentPlan;
|
|
1820
|
+
}
|
|
1814
1821
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1815
1822
|
userId: number | null;
|
|
1816
1823
|
ownerId: number | null;
|
|
@@ -1829,12 +1836,6 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1829
1836
|
installmentId: number | null;
|
|
1830
1837
|
invoiceId: string | null;
|
|
1831
1838
|
}
|
|
1832
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1833
|
-
paymentPlanId: number;
|
|
1834
|
-
paymentDate: Date;
|
|
1835
|
-
deletedAt?: Date;
|
|
1836
|
-
paymentPlan: ProductPaymentPlan;
|
|
1837
|
-
}
|
|
1838
1839
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1839
1840
|
productId: number;
|
|
1840
1841
|
product: Product;
|
|
@@ -1855,6 +1856,7 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1855
1856
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1856
1857
|
name: string;
|
|
1857
1858
|
quantity: number;
|
|
1859
|
+
isAll: boolean;
|
|
1858
1860
|
paymentProcessorId?: string;
|
|
1859
1861
|
startDate?: Date;
|
|
1860
1862
|
endDate?: Date;
|
|
@@ -1902,6 +1904,15 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1902
1904
|
activityTimes: ActivityTimes[];
|
|
1903
1905
|
purchasedResources: PurchasedResource[];
|
|
1904
1906
|
}
|
|
1907
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1908
|
+
productId: number;
|
|
1909
|
+
maxMonths?: number;
|
|
1910
|
+
dayOfMonth?: number;
|
|
1911
|
+
name: string;
|
|
1912
|
+
deletedAt?: Date;
|
|
1913
|
+
schedule: PaymentPlanSchedule[];
|
|
1914
|
+
product?: Product;
|
|
1915
|
+
}
|
|
1905
1916
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1906
1917
|
parentProductId: number;
|
|
1907
1918
|
childProductId: number;
|
|
@@ -1917,15 +1928,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1917
1928
|
durationDays?: number;
|
|
1918
1929
|
level?: ProductPackageLevelEnum;
|
|
1919
1930
|
}
|
|
1920
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1921
|
-
productId: number;
|
|
1922
|
-
maxMonths?: number;
|
|
1923
|
-
dayOfMonth?: number;
|
|
1924
|
-
name: string;
|
|
1925
|
-
deletedAt?: Date;
|
|
1926
|
-
schedule: PaymentPlanSchedule[];
|
|
1927
|
-
product?: Product;
|
|
1928
|
-
}
|
|
1929
1931
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1930
1932
|
productId: number;
|
|
1931
1933
|
resourceId: number;
|
|
@@ -2094,6 +2096,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2094
2096
|
ownerId: number | null;
|
|
2095
2097
|
questionnaireId: number | null;
|
|
2096
2098
|
}
|
|
2099
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2100
|
+
reason: string;
|
|
2101
|
+
ordinal: number;
|
|
2102
|
+
deletedAt: Date;
|
|
2103
|
+
}
|
|
2097
2104
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2098
2105
|
resourceType: ResourceNameTypeEnum;
|
|
2099
2106
|
resourceId: number;
|
|
@@ -2105,11 +2112,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2105
2112
|
closeTime?: string;
|
|
2106
2113
|
deletedAt?: Date;
|
|
2107
2114
|
}
|
|
2108
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2109
|
-
reason: string;
|
|
2110
|
-
ordinal: number;
|
|
2111
|
-
deletedAt: Date;
|
|
2112
|
-
}
|
|
2113
2115
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2114
2116
|
name?: string;
|
|
2115
2117
|
description?: string;
|
|
@@ -2170,13 +2172,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2170
2172
|
purchasedResources: PurchasedResource[];
|
|
2171
2173
|
linkSEO: string;
|
|
2172
2174
|
}
|
|
2173
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2174
|
-
name: string;
|
|
2175
|
-
facilityId: number;
|
|
2176
|
-
parentSlotId: number;
|
|
2177
|
-
childrenSlotIds: number[];
|
|
2178
|
-
deletedAt?: Date;
|
|
2179
|
-
}
|
|
2180
2175
|
export declare class School extends BondBaseEntity {
|
|
2181
2176
|
name: string | null;
|
|
2182
2177
|
alias: string[] | null;
|
|
@@ -2185,6 +2180,13 @@ export declare class School extends BondBaseEntity {
|
|
|
2185
2180
|
phone: string | null;
|
|
2186
2181
|
dataId: number | null;
|
|
2187
2182
|
}
|
|
2183
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2184
|
+
name: string;
|
|
2185
|
+
facilityId: number;
|
|
2186
|
+
parentSlotId: number;
|
|
2187
|
+
childrenSlotIds: number[];
|
|
2188
|
+
deletedAt?: Date;
|
|
2189
|
+
}
|
|
2188
2190
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2189
2191
|
status: RequestStatusEnum;
|
|
2190
2192
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2205,6 +2207,16 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2205
2207
|
seasonId: number | null;
|
|
2206
2208
|
color: string | null;
|
|
2207
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
|
+
}
|
|
2208
2220
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2209
2221
|
seasonId?: number;
|
|
2210
2222
|
userId?: number;
|
|
@@ -2220,16 +2232,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2220
2232
|
purchasedResource: PurchasedResource;
|
|
2221
2233
|
season: LeagueSeason;
|
|
2222
2234
|
}
|
|
2223
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
|
-
seasonId: number | null;
|
|
2225
|
-
teamId: number | null;
|
|
2226
|
-
standingPosition: number | null;
|
|
2227
|
-
statistics: any | null;
|
|
2228
|
-
points: number | null;
|
|
2229
|
-
divisionId: number | null;
|
|
2230
|
-
metaData: any | null;
|
|
2231
|
-
team: Team;
|
|
2232
|
-
}
|
|
2233
2235
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2234
2236
|
blockingSpaceId: number;
|
|
2235
2237
|
blockedSpaceId: number;
|
|
@@ -2245,14 +2247,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2245
2247
|
subcategories: Subcategory[];
|
|
2246
2248
|
shifts?: Shift[];
|
|
2247
2249
|
}
|
|
2248
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2249
|
-
stationId: number;
|
|
2250
|
-
subcategoryId: number;
|
|
2251
|
-
productType: ProductTypesEnum;
|
|
2252
|
-
deletedAt?: Date;
|
|
2253
|
-
station: Station;
|
|
2254
|
-
subcategory: Subcategory;
|
|
2255
|
-
}
|
|
2256
2250
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2257
2251
|
productType: ProductTypesEnum;
|
|
2258
2252
|
name: string;
|
|
@@ -2261,6 +2255,14 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2261
2255
|
stationToSubcategories: StationToSubcategory[];
|
|
2262
2256
|
stations: Station[];
|
|
2263
2257
|
}
|
|
2258
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2259
|
+
stationId: number;
|
|
2260
|
+
subcategoryId: number;
|
|
2261
|
+
productType: ProductTypesEnum;
|
|
2262
|
+
deletedAt?: Date;
|
|
2263
|
+
station: Station;
|
|
2264
|
+
subcategory: Subcategory;
|
|
2265
|
+
}
|
|
2264
2266
|
export declare class Team extends BondBaseEntity {
|
|
2265
2267
|
name: string | null;
|
|
2266
2268
|
description: string | null;
|
|
@@ -2357,6 +2359,14 @@ export declare class User extends BondBaseEntity {
|
|
|
2357
2359
|
invoiceNotes: InvoiceNote[];
|
|
2358
2360
|
paymentNotes: PaymentNote[];
|
|
2359
2361
|
}
|
|
2362
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2363
|
+
familyAccountId: number;
|
|
2364
|
+
userId: number;
|
|
2365
|
+
isAdmin: boolean;
|
|
2366
|
+
user: User;
|
|
2367
|
+
familyAccount: FamilyAccount;
|
|
2368
|
+
deletedAt?: Date;
|
|
2369
|
+
}
|
|
2360
2370
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
2371
|
entityId: number | null;
|
|
2362
2372
|
userId: number | null;
|
|
@@ -2371,29 +2381,21 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2371
2381
|
paymentMethodId: string;
|
|
2372
2382
|
nextAllowedChargeDate?: Date;
|
|
2373
2383
|
}
|
|
2374
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2375
|
-
familyAccountId: number;
|
|
2376
|
-
userId: number;
|
|
2377
|
-
isAdmin: boolean;
|
|
2378
|
-
user: User;
|
|
2379
|
-
familyAccount: FamilyAccount;
|
|
2380
|
-
deletedAt?: Date;
|
|
2381
|
-
}
|
|
2382
2384
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2383
2385
|
groupId: number;
|
|
2384
2386
|
userId: number;
|
|
2385
2387
|
deletedAt?: Date;
|
|
2386
2388
|
}
|
|
2389
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2390
|
+
name: string;
|
|
2391
|
+
variants: Variant[];
|
|
2392
|
+
}
|
|
2387
2393
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2388
2394
|
name: string;
|
|
2389
2395
|
variantTitleId: number;
|
|
2390
2396
|
variantTitle: VariantTitle;
|
|
2391
2397
|
deletedAt?: Date;
|
|
2392
2398
|
}
|
|
2393
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2394
|
-
name: string;
|
|
2395
|
-
variants: Variant[];
|
|
2396
|
-
}
|
|
2397
2399
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2398
2400
|
projectToken: string;
|
|
2399
2401
|
programTypesCollectionId?: string;
|
|
@@ -2402,917 +2404,912 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2402
2404
|
membershipCollectionId?: string;
|
|
2403
2405
|
programsCollectionId?: string;
|
|
2404
2406
|
}
|
|
2405
|
-
export
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2407
|
+
export interface IEntitlementTerms {
|
|
2408
|
+
type: EntitlementTermsTypesEnum;
|
|
2409
|
+
id?: number;
|
|
2410
|
+
value?: string;
|
|
2411
|
+
minValue?: string;
|
|
2412
|
+
maxValue?: string;
|
|
2409
2413
|
}
|
|
2410
|
-
export
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
TEAM = "team",
|
|
2414
|
-
LEAGUE = "league",
|
|
2415
|
-
USER = "user",
|
|
2416
|
-
ORGANIZATION = "organization",
|
|
2417
|
-
APP = "app",
|
|
2418
|
-
FEED = "feed",
|
|
2419
|
-
MATCH = "match",
|
|
2420
|
-
ROUND = "round",
|
|
2421
|
-
PORTAL = "portal",
|
|
2422
|
-
SEASON = "season",
|
|
2423
|
-
TOURNAMENT = "tournament",
|
|
2424
|
-
MEMBERSHIP = "membership",
|
|
2425
|
-
DIVISION = "division",
|
|
2426
|
-
GAMESLOT = "gameslot",
|
|
2427
|
-
SPACE = "space",
|
|
2428
|
-
RESERVATION = "reservation",
|
|
2429
|
-
INVOICE = "invoice",
|
|
2430
|
-
CUSTOMER = "customer",
|
|
2431
|
-
PACKAGE = "package",
|
|
2432
|
-
FACILITY = "facility",
|
|
2433
|
-
PROGRAM = "program",
|
|
2434
|
-
PROGRAM_SEASON = "program_season",
|
|
2435
|
-
PRODUCT = "product",
|
|
2436
|
-
GROUP = "group",
|
|
2437
|
-
VARIANT = "variant",
|
|
2438
|
-
SLOT = "slot",
|
|
2439
|
-
ADDON = "addon"
|
|
2414
|
+
export interface IQuestionAnswerObject {
|
|
2415
|
+
questionId: number;
|
|
2416
|
+
value: string;
|
|
2440
2417
|
}
|
|
2441
|
-
export
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2418
|
+
export interface ILowestPriceForItem {
|
|
2419
|
+
itemId: number;
|
|
2420
|
+
itemType: ResourceNameTypeEnum;
|
|
2421
|
+
groupId: number;
|
|
2422
|
+
groupName?: string;
|
|
2423
|
+
price: number;
|
|
2424
|
+
overridesPrice: boolean;
|
|
2446
2425
|
}
|
|
2447
|
-
export
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2426
|
+
export interface IResourcesAvailability {
|
|
2427
|
+
resourceType: ResourceNameTypeEnum;
|
|
2428
|
+
quantity: number;
|
|
2429
|
+
resourcesIds: number[];
|
|
2430
|
+
isPunchCard: boolean;
|
|
2431
|
+
resources?: any[];
|
|
2451
2432
|
}
|
|
2452
|
-
export
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
ADVANCED = 3,
|
|
2456
|
-
SEMIPRO = 4,
|
|
2457
|
-
SPECTATOR = 5
|
|
2433
|
+
export interface IPackageResponse {
|
|
2434
|
+
parentProduct: Product;
|
|
2435
|
+
children: IChildProduct[];
|
|
2458
2436
|
}
|
|
2459
|
-
export
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
CLINIC = 3,
|
|
2464
|
-
CAMP = 4,
|
|
2465
|
-
LESSON = 5,
|
|
2466
|
-
CLUB_TEAM = 6
|
|
2437
|
+
export interface IChildProduct {
|
|
2438
|
+
product: Product;
|
|
2439
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2440
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2467
2441
|
}
|
|
2468
|
-
export
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2442
|
+
export interface ISeasonAttendeeInfo {
|
|
2443
|
+
applicationAnswers: Answer[];
|
|
2444
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2445
|
+
invoices: Invoice[];
|
|
2446
|
+
payments: Payment[];
|
|
2447
|
+
products: Product[];
|
|
2448
|
+
redeemNext: ProductsUsers;
|
|
2472
2449
|
}
|
|
2473
|
-
export
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
LACROSSE = 12,
|
|
2486
|
-
PINGPONG = 13,
|
|
2487
|
-
RUGBY = 14,
|
|
2488
|
-
SKEEBALL = 15,
|
|
2489
|
-
TENNIS = 16,
|
|
2490
|
-
VOLLEYBALL = 17,
|
|
2491
|
-
WIFFLEBALL = 18,
|
|
2492
|
-
BADMINTON = 19,
|
|
2493
|
-
FITNESS = 20,
|
|
2494
|
-
GOLF = 21,
|
|
2495
|
-
PILATES = 22,
|
|
2496
|
-
RUNNING = 23,
|
|
2497
|
-
SKIING = 24,
|
|
2498
|
-
SNOWBOARDING = 25,
|
|
2499
|
-
YOGA = 26,
|
|
2500
|
-
BROOMBALL = 27,
|
|
2501
|
-
CRICKET = 28,
|
|
2502
|
-
CROSSFIT = 29,
|
|
2503
|
-
CYCLING = 30,
|
|
2504
|
-
FIELD_HOCKEY = 31,
|
|
2505
|
-
RACQUETBALL = 32,
|
|
2506
|
-
SPINNING = 33,
|
|
2507
|
-
SQUASH = 34,
|
|
2508
|
-
SURFING = 35,
|
|
2509
|
-
SWIMMING = 36,
|
|
2510
|
-
WIND_SURFING = 37,
|
|
2511
|
-
ADVENTURE = 38,
|
|
2512
|
-
BOXING = 39,
|
|
2513
|
-
BASEBALL = 40,
|
|
2514
|
-
DANCE = 41,
|
|
2515
|
-
KICKBOXING = 42,
|
|
2516
|
-
MARTIAL_ARTS = 43,
|
|
2517
|
-
OUTDOORS = 44,
|
|
2518
|
-
ROWING = 45,
|
|
2519
|
-
SAILING = 46,
|
|
2520
|
-
SUP = 47,
|
|
2521
|
-
TRIATHLON = 48,
|
|
2522
|
-
HANDBALL = 49,
|
|
2523
|
-
CATCHBALL = 50,
|
|
2524
|
-
BLITZBALL = 51,
|
|
2525
|
-
ROLLER_DERBY = 52,
|
|
2526
|
-
ICE_SKATING = 53,
|
|
2527
|
-
PICKLEBALL = 54,
|
|
2528
|
-
AXE_THROWING = 55,
|
|
2529
|
-
FURSAL = 56,
|
|
2530
|
-
BIRTHDAY = 57,
|
|
2531
|
-
CORPRATE_EVENTS = 58,
|
|
2532
|
-
OTHER = 999
|
|
2533
|
-
}
|
|
2534
|
-
export declare enum PublishingStatusEnum {
|
|
2535
|
-
DRAFT = 1,
|
|
2536
|
-
PUBLISHED = 2,
|
|
2537
|
-
CLOSED = 3,
|
|
2538
|
-
CANCELLED = 4,
|
|
2539
|
-
ARCHIVE = 5,
|
|
2540
|
-
UNPUBLISHED = 6
|
|
2541
|
-
}
|
|
2542
|
-
export declare enum ProgramHighlightTypeEnum {
|
|
2543
|
-
OTHER = 1,
|
|
2544
|
-
MINAGE = 2,
|
|
2545
|
-
MAXAGE = 3,
|
|
2546
|
-
GENDER = 4,
|
|
2547
|
-
LEVELOFPLAY = 5,
|
|
2548
|
-
GAMESSEASON = 6,
|
|
2549
|
-
MINWEEK = 7,
|
|
2550
|
-
SURFACE = 8,
|
|
2551
|
-
FORMAT = 9,
|
|
2552
|
-
PLAYERS_PER_TEAM = 10,
|
|
2553
|
-
MATCH_LENGTH = 12
|
|
2554
|
-
}
|
|
2555
|
-
export declare enum RequestStatusEnum {
|
|
2556
|
-
PENDING = 1,
|
|
2557
|
-
ACCEPTED = 2,
|
|
2558
|
-
DECLINED = 3
|
|
2450
|
+
export interface ISeasonAttendeeListInfo {
|
|
2451
|
+
userId: number;
|
|
2452
|
+
userFirstName: string;
|
|
2453
|
+
userLastName: string;
|
|
2454
|
+
userGender: number;
|
|
2455
|
+
userBirthDate: Date;
|
|
2456
|
+
userProfilePicUrl: string;
|
|
2457
|
+
customerId: number;
|
|
2458
|
+
customerEmail: string;
|
|
2459
|
+
paymentStatus: string;
|
|
2460
|
+
productName: string;
|
|
2461
|
+
punchCard: boolean;
|
|
2559
2462
|
}
|
|
2560
|
-
export declare
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
FULLY_PAID = "paid",
|
|
2564
|
-
REFUNDED = "refunded",
|
|
2565
|
-
VOID = "void"
|
|
2463
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2464
|
+
segmentType: ResourceNameTypeEnum;
|
|
2465
|
+
participantRegisteredDate?: string;
|
|
2566
2466
|
}
|
|
2567
|
-
export declare
|
|
2568
|
-
|
|
2467
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2468
|
+
segmentType: ResourceNameTypeEnum;
|
|
2469
|
+
participantRegisteredDate?: string;
|
|
2569
2470
|
}
|
|
2570
|
-
export
|
|
2571
|
-
|
|
2572
|
-
PLANNED = "Planned",
|
|
2573
|
-
APPROVED = "Approved",
|
|
2574
|
-
AWAITING_ADMIN = "Awaiting Admin",
|
|
2575
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2576
|
-
REJECTED = "Rejected",
|
|
2577
|
-
CANCELED = "Canceled"
|
|
2471
|
+
export interface ITokenResonse {
|
|
2472
|
+
token: string;
|
|
2578
2473
|
}
|
|
2579
|
-
export
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
CANCELLED = 5,
|
|
2585
|
-
FRAUD = 6,
|
|
2586
|
-
NOT_RELEVANT = 7,
|
|
2587
|
-
PENDING = 8
|
|
2474
|
+
export interface IStripeBondInvoices {
|
|
2475
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2476
|
+
bondPaidPayment: Payment;
|
|
2477
|
+
invoice?: Invoice;
|
|
2478
|
+
customer?: Customer;
|
|
2588
2479
|
}
|
|
2589
|
-
export
|
|
2590
|
-
|
|
2591
|
-
|
|
2480
|
+
export interface IPartialPaymentData {
|
|
2481
|
+
purchasingUserId: number;
|
|
2482
|
+
paymentData: PurchasePaymentDto;
|
|
2483
|
+
amountToPay: number;
|
|
2592
2484
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2485
|
+
export interface IPayment {
|
|
2486
|
+
id: number;
|
|
2487
|
+
total: number;
|
|
2488
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2489
|
+
status: PaymentStatusEnum;
|
|
2490
|
+
createdAt: Date;
|
|
2491
|
+
invoices: number[];
|
|
2596
2492
|
}
|
|
2597
|
-
export
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2493
|
+
export interface IPaginationData<T> {
|
|
2494
|
+
meta: {
|
|
2495
|
+
totalItems: number;
|
|
2496
|
+
itemsPerPage: number;
|
|
2497
|
+
totalPages: number;
|
|
2498
|
+
currentPage: number;
|
|
2499
|
+
};
|
|
2500
|
+
data: T[];
|
|
2601
2501
|
}
|
|
2602
|
-
export
|
|
2603
|
-
|
|
2502
|
+
export interface IPricesOfProductsResults {
|
|
2503
|
+
productId: number;
|
|
2504
|
+
userId: number;
|
|
2505
|
+
price: number;
|
|
2506
|
+
groupId?: number;
|
|
2507
|
+
groupName?: string;
|
|
2508
|
+
originalPrice?: number;
|
|
2509
|
+
priceWithoutTax: number;
|
|
2510
|
+
tax: number;
|
|
2511
|
+
isTaxInclusive: boolean;
|
|
2604
2512
|
}
|
|
2605
|
-
export
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2513
|
+
export interface IPaymentMethodToFundLeft {
|
|
2514
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2515
|
+
paymentMethodId: string;
|
|
2516
|
+
fundLeft: number;
|
|
2517
|
+
ccLast4?: string;
|
|
2518
|
+
ccBrand?: string;
|
|
2609
2519
|
}
|
|
2610
|
-
export
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
MEMBERSHIP = "membership",
|
|
2614
|
-
GOODS = "goods",
|
|
2615
|
-
PACKAGE = "package",
|
|
2616
|
-
REFUND_COMPENSATION = "refund",
|
|
2617
|
-
CASH_OVER_SHORT = "cash_over_short",
|
|
2618
|
-
PETTY_CASH = "petty_cash",
|
|
2619
|
-
LEAGUE_REGISTRATION = "league_registration",
|
|
2620
|
-
TAX = "tax"
|
|
2520
|
+
export interface IVariantsAndTitle {
|
|
2521
|
+
title: VariantTitle;
|
|
2522
|
+
variants: Variant[];
|
|
2621
2523
|
}
|
|
2622
|
-
export
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
CANCELED = "canceled"
|
|
2524
|
+
export interface IProgramSeasonActivityTimes {
|
|
2525
|
+
dayOfWeek: number;
|
|
2526
|
+
open: string;
|
|
2527
|
+
close: string;
|
|
2627
2528
|
}
|
|
2628
|
-
export
|
|
2629
|
-
|
|
2630
|
-
|
|
2529
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2530
|
+
date: string;
|
|
2531
|
+
startTime: string;
|
|
2532
|
+
endTime: string;
|
|
2631
2533
|
}
|
|
2632
|
-
export
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2534
|
+
export interface IBlockedDates {
|
|
2535
|
+
name: string;
|
|
2536
|
+
startDate: Date;
|
|
2537
|
+
endDate: Date;
|
|
2636
2538
|
}
|
|
2637
|
-
export
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2539
|
+
export interface ISingleMemberForRenewal {
|
|
2540
|
+
member_id: number;
|
|
2541
|
+
member_membershipId: number;
|
|
2542
|
+
member_userId: number;
|
|
2543
|
+
member_nextPaymentMethodId?: string;
|
|
2544
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2545
|
+
member_answerTitleIds?: number[];
|
|
2546
|
+
member_organizationId: number;
|
|
2547
|
+
product_productPrice: number;
|
|
2548
|
+
product_productId: number;
|
|
2549
|
+
invoice_payingUserId: number;
|
|
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;
|
|
2649
2557
|
}
|
|
2650
|
-
export
|
|
2651
|
-
|
|
2652
|
-
|
|
2558
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2559
|
+
package_parentProductId: number;
|
|
2560
|
+
product2_productPrice: number;
|
|
2561
|
+
familyid: number;
|
|
2562
|
+
invoice_id: number;
|
|
2653
2563
|
}
|
|
2654
|
-
export
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2564
|
+
export interface IResourceRegistrationData {
|
|
2565
|
+
id: number;
|
|
2566
|
+
resourceType: ResourceNameTypeEnum;
|
|
2567
|
+
openNumDays?: number;
|
|
2568
|
+
openNumMinutes?: number;
|
|
2569
|
+
openTime?: string;
|
|
2570
|
+
closeNumDays?: number;
|
|
2571
|
+
closeNumMinutes?: number;
|
|
2572
|
+
closeTime?: string;
|
|
2573
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2658
2574
|
}
|
|
2659
|
-
export
|
|
2660
|
-
|
|
2661
|
-
|
|
2575
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2576
|
+
id: number;
|
|
2577
|
+
startDate: string;
|
|
2578
|
+
startTime: string;
|
|
2662
2579
|
}
|
|
2663
|
-
export
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
ORGANIZATION = "organization"
|
|
2580
|
+
export interface IRegistrationConstraintsSetting {
|
|
2581
|
+
numDays?: number;
|
|
2582
|
+
numMinutes?: number;
|
|
2667
2583
|
}
|
|
2668
|
-
export
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2584
|
+
export interface IAttendeeDataToNotify {
|
|
2585
|
+
firstName: string;
|
|
2586
|
+
lastName: string;
|
|
2587
|
+
email: string;
|
|
2588
|
+
sessionName: string;
|
|
2589
|
+
parentSessionName?: string;
|
|
2590
|
+
organizationName: string;
|
|
2591
|
+
programName: string;
|
|
2672
2592
|
}
|
|
2673
|
-
export
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2593
|
+
export interface IEventInSchedule {
|
|
2594
|
+
eventId: number;
|
|
2595
|
+
eventName: string;
|
|
2596
|
+
eventStartDate: string;
|
|
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;
|
|
2678
2611
|
}
|
|
2679
|
-
export
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2612
|
+
export interface ISlotInSchedule {
|
|
2613
|
+
facilityId: number;
|
|
2614
|
+
facilityName: string;
|
|
2615
|
+
spaces: ISpaceWithSlots[];
|
|
2683
2616
|
}
|
|
2684
|
-
export
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2617
|
+
export interface ISpaceWithSlots {
|
|
2618
|
+
id: number;
|
|
2619
|
+
name: string;
|
|
2620
|
+
slots: ISlotReservationData[];
|
|
2688
2621
|
}
|
|
2689
|
-
export
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2622
|
+
export interface ISlotReservationData {
|
|
2623
|
+
reservationId: number;
|
|
2624
|
+
reservationName: string;
|
|
2625
|
+
date: string;
|
|
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;
|
|
2693
2635
|
}
|
|
2694
|
-
export
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2636
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2637
|
+
parentSessionId: number;
|
|
2638
|
+
parentSessionName: string;
|
|
2639
|
+
eventTimezone: string;
|
|
2640
|
+
maxParticipants: number;
|
|
2641
|
+
maxMaleParticipants: number;
|
|
2642
|
+
maxFemaleParticipants: number;
|
|
2643
|
+
isPunchCard: boolean;
|
|
2701
2644
|
}
|
|
2702
|
-
export
|
|
2703
|
-
|
|
2704
|
-
|
|
2645
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2646
|
+
id: number;
|
|
2647
|
+
name: string;
|
|
2648
|
+
bookingCreatorId: number;
|
|
2705
2649
|
}
|
|
2706
|
-
export
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2650
|
+
export interface IRawSlotInSchedule {
|
|
2651
|
+
startDate: string;
|
|
2652
|
+
endDate: string;
|
|
2653
|
+
startTime: string;
|
|
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;
|
|
2714
2664
|
}
|
|
2715
|
-
export
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2665
|
+
export interface IPurchasedResourcesRaw {
|
|
2666
|
+
purchasedId: number;
|
|
2667
|
+
purchasedProductUserId: number;
|
|
2668
|
+
purchasedResourceId: number;
|
|
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;
|
|
2720
2680
|
}
|
|
2721
|
-
export
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
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;
|
|
2725
2695
|
}
|
|
2726
|
-
export
|
|
2727
|
-
|
|
2728
|
-
|
|
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';
|
|
2729
2715
|
}
|
|
2730
|
-
export
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
INACTIVE = 4
|
|
2716
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2717
|
+
hasRequiredMembership: boolean;
|
|
2718
|
+
hasEntitledPricing: boolean;
|
|
2719
|
+
lowestPrice?: number;
|
|
2720
|
+
products?: ISessionLandingPageProduct[];
|
|
2736
2721
|
}
|
|
2737
|
-
export
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
PORTABLE_RESTROOMS = 9,
|
|
2747
|
-
LIGHTS = 10,
|
|
2748
|
-
LOCKER_ROOM = 11,
|
|
2749
|
-
PAID_PARKING = 12,
|
|
2750
|
-
ACCESSIBLE = 13
|
|
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[];
|
|
2751
2731
|
}
|
|
2752
|
-
export
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
BATTING_CAGE = "batting cage",
|
|
2761
|
-
SHELTER = "shelter",
|
|
2762
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2732
|
+
export interface ISlimAddons {
|
|
2733
|
+
addons?: {
|
|
2734
|
+
id: number;
|
|
2735
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2736
|
+
name: string;
|
|
2737
|
+
productType?: ProductTypesEnum;
|
|
2738
|
+
productSubType?: string;
|
|
2739
|
+
}[];
|
|
2763
2740
|
}
|
|
2764
|
-
export
|
|
2765
|
-
|
|
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;
|
|
2766
2753
|
}
|
|
2767
|
-
export
|
|
2768
|
-
|
|
2769
|
-
|
|
2754
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2755
|
+
destinationId?: string;
|
|
2756
|
+
stripeCustomerId?: string;
|
|
2757
|
+
fee?: number;
|
|
2770
2758
|
}
|
|
2771
|
-
export
|
|
2772
|
-
|
|
2773
|
-
|
|
2759
|
+
export interface IReservationCreatorData {
|
|
2760
|
+
type: ResourceNameTypeEnum;
|
|
2761
|
+
id: number;
|
|
2762
|
+
organizationId: number;
|
|
2763
|
+
startDate: string;
|
|
2764
|
+
endDate: string;
|
|
2765
|
+
sportId: number;
|
|
2774
2766
|
}
|
|
2775
|
-
export declare enum
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
ASTRO_TURF = "astroTurf",
|
|
2780
|
-
HARDWOOD = "hardwood",
|
|
2781
|
-
ASPHALT = "asphalt",
|
|
2782
|
-
SAND = "sand",
|
|
2783
|
-
ICE = "ice",
|
|
2784
|
-
SPORT_COURT = "sportCourt"
|
|
2767
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2768
|
+
QUESTION = "question",
|
|
2769
|
+
CITY = "city",
|
|
2770
|
+
MEMBERSHIP = "membership"
|
|
2785
2771
|
}
|
|
2786
|
-
export declare enum
|
|
2787
|
-
|
|
2788
|
-
|
|
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"
|
|
2789
2802
|
}
|
|
2790
|
-
export declare enum
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
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"
|
|
2794
2808
|
}
|
|
2795
|
-
export declare enum
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
NOT_OPEN_YET = "not opened",
|
|
2800
|
-
ALREADY_CLOSED = "closed",
|
|
2801
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2809
|
+
export declare enum GenderEnum {
|
|
2810
|
+
OTHER = 1,
|
|
2811
|
+
MALE = 2,
|
|
2812
|
+
FEMALE = 3
|
|
2802
2813
|
}
|
|
2803
|
-
export declare enum
|
|
2804
|
-
|
|
2805
|
-
|
|
2814
|
+
export declare enum LevelOfPlayEnum {
|
|
2815
|
+
BEGINNER = 1,
|
|
2816
|
+
INTERMEDIATE = 2,
|
|
2817
|
+
ADVANCED = 3,
|
|
2818
|
+
SEMIPRO = 4,
|
|
2819
|
+
SPECTATOR = 5
|
|
2806
2820
|
}
|
|
2807
|
-
export declare enum
|
|
2808
|
-
|
|
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
|
|
2809
2829
|
}
|
|
2810
|
-
export declare enum
|
|
2811
|
-
|
|
2830
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2831
|
+
ROUND_ROBIN = 1,
|
|
2832
|
+
BRACKETS = 2,
|
|
2833
|
+
CAMP_CLINIC_CLASS = 3
|
|
2812
2834
|
}
|
|
2813
|
-
export declare enum
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
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
|
|
2817
2895
|
}
|
|
2818
|
-
export declare enum
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2896
|
+
export declare enum PublishingStatusEnum {
|
|
2897
|
+
DRAFT = 1,
|
|
2898
|
+
PUBLISHED = 2,
|
|
2899
|
+
CLOSED = 3,
|
|
2900
|
+
CANCELLED = 4,
|
|
2901
|
+
ARCHIVE = 5,
|
|
2902
|
+
UNPUBLISHED = 6
|
|
2823
2903
|
}
|
|
2824
|
-
export declare enum
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
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
|
|
2830
2916
|
}
|
|
2831
|
-
export declare enum
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
RECONCILED = "reconciled"
|
|
2917
|
+
export declare enum RequestStatusEnum {
|
|
2918
|
+
PENDING = 1,
|
|
2919
|
+
ACCEPTED = 2,
|
|
2920
|
+
DECLINED = 3
|
|
2836
2921
|
}
|
|
2837
|
-
export declare enum
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
DELETED = 6
|
|
2922
|
+
export declare enum PaymentStatusEnum {
|
|
2923
|
+
NOT_PAID = "not_paid",
|
|
2924
|
+
PARTIAL_PAYMENT = "partial",
|
|
2925
|
+
FULLY_PAID = "paid",
|
|
2926
|
+
REFUNDED = "refunded",
|
|
2927
|
+
VOID = "void"
|
|
2844
2928
|
}
|
|
2845
|
-
export declare enum
|
|
2846
|
-
|
|
2847
|
-
PROGRAM = "program",
|
|
2848
|
-
MAINTENANCE = "maintenance",
|
|
2849
|
-
CUSTOM = "custom",
|
|
2850
|
-
INTERNAL = "internal"
|
|
2929
|
+
export declare enum ReservationExtendedEnum {
|
|
2930
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2851
2931
|
}
|
|
2852
|
-
export declare
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
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"
|
|
2856
2940
|
}
|
|
2857
|
-
export declare enum
|
|
2858
|
-
|
|
2859
|
-
|
|
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
|
|
2860
2950
|
}
|
|
2861
|
-
export declare enum
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
DAILY = "daily",
|
|
2865
|
-
MONTHLY = "monthly",
|
|
2866
|
-
YEARLY = "yearly"
|
|
2951
|
+
export declare enum PaymentMethodsEnum {
|
|
2952
|
+
STRIPE = 1,
|
|
2953
|
+
CASH = 3
|
|
2867
2954
|
}
|
|
2868
|
-
export declare enum
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
AT_THE_BEGINING = 3,
|
|
2872
|
-
AT_THE_END = 4
|
|
2955
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2956
|
+
CHILD = "child",
|
|
2957
|
+
UPSALE = "upsale"
|
|
2873
2958
|
}
|
|
2874
|
-
export declare enum
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2959
|
+
export declare enum AddonTimePeriodEnum {
|
|
2960
|
+
FULL = "full",
|
|
2961
|
+
SESSION = "session",
|
|
2962
|
+
EVENT = "event"
|
|
2878
2963
|
}
|
|
2879
|
-
export declare enum
|
|
2880
|
-
|
|
2881
|
-
CATEGORY = "category",
|
|
2882
|
-
GLOBAL = "global"
|
|
2964
|
+
export declare enum CurrencyEnum {
|
|
2965
|
+
USD = "USD"
|
|
2883
2966
|
}
|
|
2884
|
-
export declare enum
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
THURSDAY = 5,
|
|
2889
|
-
FRIDAY = 6,
|
|
2890
|
-
SATURDAY = 7,
|
|
2891
|
-
SUNDAY = 8
|
|
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"
|
|
2892
2971
|
}
|
|
2893
|
-
export declare enum
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
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"
|
|
2897
2983
|
}
|
|
2898
|
-
export declare enum
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2984
|
+
export declare enum InvoiceStatusEnum {
|
|
2985
|
+
ACTIVE = "active",
|
|
2986
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2987
|
+
WAITING_CLIENT = "waitingClient",
|
|
2988
|
+
CANCELED = "canceled"
|
|
2902
2989
|
}
|
|
2903
|
-
export declare enum
|
|
2904
|
-
|
|
2905
|
-
|
|
2990
|
+
export declare enum LineItemsStatusEnum {
|
|
2991
|
+
USER_PRODUCT = "UserProduct",
|
|
2992
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2906
2993
|
}
|
|
2907
|
-
export declare enum
|
|
2908
|
-
|
|
2909
|
-
|
|
2994
|
+
export declare enum ProductSubTypesEnum {
|
|
2995
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2996
|
+
SEASON_TEAM = "season_team",
|
|
2997
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2910
2998
|
}
|
|
2911
|
-
export declare enum
|
|
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",
|
|
2912
3009
|
VOID = "void",
|
|
2913
|
-
|
|
2914
|
-
NONE = "none",
|
|
2915
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2916
|
-
APPEND = "append"
|
|
3010
|
+
GIFT_CARD = "gift-card"
|
|
2917
3011
|
}
|
|
2918
|
-
export declare enum
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
STRIPE_CUSTOMER = "stripe:customer"
|
|
3012
|
+
export declare enum RefundTypeEnum {
|
|
3013
|
+
LEAVE_BALANCE = "leave_balance",
|
|
3014
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2922
3015
|
}
|
|
2923
|
-
export declare enum
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3016
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
3017
|
+
INDIVIDUAL = "individual",
|
|
3018
|
+
FAMILY = "family",
|
|
3019
|
+
ORGANIZATION = "organization"
|
|
2927
3020
|
}
|
|
2928
|
-
export declare enum
|
|
2929
|
-
|
|
2930
|
-
|
|
3021
|
+
export declare enum MembershipTypeEnum {
|
|
3022
|
+
FIXED = "fix_membership",
|
|
3023
|
+
ROLLING = "rolling_membership"
|
|
2931
3024
|
}
|
|
2932
|
-
export declare enum
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
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",
|
|
2936
3039
|
CANCELED = "canceled"
|
|
2937
3040
|
}
|
|
2938
|
-
export declare enum
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
DISABLED_EMAIL = 4
|
|
3041
|
+
export declare enum EntryStatusEnum {
|
|
3042
|
+
ENTERED = 1,
|
|
3043
|
+
NOT_ENTERED = 2,
|
|
3044
|
+
CANCELED = 3
|
|
2943
3045
|
}
|
|
2944
|
-
export declare enum
|
|
2945
|
-
|
|
3046
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
3047
|
+
ACTIVE = 1,
|
|
3048
|
+
MOVED = 2,
|
|
3049
|
+
CANCELED = 3
|
|
2946
3050
|
}
|
|
2947
|
-
export declare enum
|
|
2948
|
-
|
|
2949
|
-
|
|
3051
|
+
export declare enum TeamCanJoinEnum {
|
|
3052
|
+
ANYONE = "anyone",
|
|
3053
|
+
BY_INVITE = "byInvite",
|
|
3054
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2950
3055
|
}
|
|
2951
|
-
export
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
3056
|
+
export declare enum TeamMemberStatusEnum {
|
|
3057
|
+
PENDING = 1,
|
|
3058
|
+
ACTIVE = 2,
|
|
3059
|
+
DECLINED = 3,
|
|
3060
|
+
SUSPENDED = 4,
|
|
3061
|
+
INACTIVE = 5,
|
|
3062
|
+
INVITED = 6
|
|
2957
3063
|
}
|
|
2958
|
-
export
|
|
2959
|
-
|
|
2960
|
-
|
|
3064
|
+
export declare enum TeamMemberRoleEnum {
|
|
3065
|
+
NULL = 0,
|
|
3066
|
+
ADMIN = 1
|
|
2961
3067
|
}
|
|
2962
|
-
export
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
3068
|
+
export declare enum DayOfWeekEnum {
|
|
3069
|
+
SUNDAY = 0,
|
|
3070
|
+
MONDAY = 1,
|
|
3071
|
+
TUESDAY = 2,
|
|
3072
|
+
WEDNESDAY = 3,
|
|
3073
|
+
THURSDAY = 4,
|
|
3074
|
+
FRIDAY = 5,
|
|
3075
|
+
SATURDAY = 6
|
|
2969
3076
|
}
|
|
2970
|
-
export
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
resources?: any[];
|
|
3077
|
+
export declare enum ActionTypesEnum {
|
|
3078
|
+
CREATE = "create",
|
|
3079
|
+
READ = "read",
|
|
3080
|
+
UPDATE = "update",
|
|
3081
|
+
DELETE = "delete"
|
|
2976
3082
|
}
|
|
2977
|
-
export
|
|
2978
|
-
|
|
2979
|
-
|
|
3083
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3084
|
+
ADMIN = "admin",
|
|
3085
|
+
BACKOFFICE = "backoffice",
|
|
3086
|
+
CONSUMER = "consumer"
|
|
2980
3087
|
}
|
|
2981
|
-
export
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
3088
|
+
export declare enum RolesEnum {
|
|
3089
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3090
|
+
BOND_ADMIN = "bondAdmin"
|
|
2985
3091
|
}
|
|
2986
|
-
export
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
redeemNext: ProductsUsers;
|
|
3092
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3093
|
+
IN_POOL = 5,
|
|
3094
|
+
ASSIGNED = 1,
|
|
3095
|
+
QUIT = 2,
|
|
3096
|
+
SUSPENDED = 3,
|
|
3097
|
+
INACTIVE = 4
|
|
2993
3098
|
}
|
|
2994
|
-
export
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3099
|
+
export declare enum AmenitiesEnum {
|
|
3100
|
+
HEAT = 1,
|
|
3101
|
+
AC = 2,
|
|
3102
|
+
WIFI = 3,
|
|
3103
|
+
RESTROOMS = 4,
|
|
3104
|
+
DRINKING_FOUNTAIN = 5,
|
|
3105
|
+
PARKING = 6,
|
|
3106
|
+
CONCESSIONS = 7,
|
|
3107
|
+
SHELTER = 8,
|
|
3108
|
+
PORTABLE_RESTROOMS = 9,
|
|
3109
|
+
LIGHTS = 10,
|
|
3110
|
+
LOCKER_ROOM = 11,
|
|
3111
|
+
PAID_PARKING = 12,
|
|
3112
|
+
ACCESSIBLE = 13
|
|
3006
3113
|
}
|
|
3007
|
-
export declare
|
|
3008
|
-
|
|
3009
|
-
|
|
3114
|
+
export declare enum ResourceSubTypeEnum {
|
|
3115
|
+
COURT = "court",
|
|
3116
|
+
FIELD = "field",
|
|
3117
|
+
ROOM = "room",
|
|
3118
|
+
DIAMOND = "diamond",
|
|
3119
|
+
RINK = "rink",
|
|
3120
|
+
STUDIO = "studio",
|
|
3121
|
+
POOL = "pool",
|
|
3122
|
+
BATTING_CAGE = "batting cage",
|
|
3123
|
+
SHELTER = "shelter",
|
|
3124
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
3010
3125
|
}
|
|
3011
|
-
export declare
|
|
3012
|
-
|
|
3013
|
-
participantRegisteredDate?: string;
|
|
3126
|
+
export declare enum ResourceTypeEnum {
|
|
3127
|
+
SPACE = "space"
|
|
3014
3128
|
}
|
|
3015
|
-
export
|
|
3016
|
-
|
|
3129
|
+
export declare enum ResourceAgesEnum {
|
|
3130
|
+
ADULTS = "adults",
|
|
3131
|
+
CHILDREN = "children"
|
|
3017
3132
|
}
|
|
3018
|
-
export
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
invoice?: Invoice;
|
|
3022
|
-
customer?: Customer;
|
|
3133
|
+
export declare enum SpacePropertiesEnum {
|
|
3134
|
+
OUTDOOR = "outdoor",
|
|
3135
|
+
INDOOR = "indoor"
|
|
3023
3136
|
}
|
|
3024
|
-
export
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3137
|
+
export declare enum SurfacesEnum {
|
|
3138
|
+
GRASS = "grass",
|
|
3139
|
+
TURF = "turf",
|
|
3140
|
+
FIELD_TURF = "fieldTurf",
|
|
3141
|
+
ASTRO_TURF = "astroTurf",
|
|
3142
|
+
HARDWOOD = "hardwood",
|
|
3143
|
+
ASPHALT = "asphalt",
|
|
3144
|
+
SAND = "sand",
|
|
3145
|
+
ICE = "ice",
|
|
3146
|
+
SPORT_COURT = "sportCourt"
|
|
3028
3147
|
}
|
|
3029
|
-
export
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
3033
|
-
status: PaymentStatusEnum;
|
|
3034
|
-
createdAt: Date;
|
|
3035
|
-
invoices: number[];
|
|
3148
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3149
|
+
MINUTES = "minutes",
|
|
3150
|
+
DAYS = "days"
|
|
3036
3151
|
}
|
|
3037
|
-
export
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
totalPages: number;
|
|
3042
|
-
currentPage: number;
|
|
3043
|
-
};
|
|
3044
|
-
data: T[];
|
|
3152
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3153
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3154
|
+
OPEN = "open",
|
|
3155
|
+
CLOSED = "closed"
|
|
3045
3156
|
}
|
|
3046
|
-
export
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
priceWithoutTax: number;
|
|
3054
|
-
tax: number;
|
|
3055
|
-
isTaxInclusive: boolean;
|
|
3157
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
3158
|
+
FULL = "full",
|
|
3159
|
+
ALREADY_REGISTERED = "registered",
|
|
3160
|
+
AVAILABLE = "available",
|
|
3161
|
+
NOT_OPEN_YET = "not opened",
|
|
3162
|
+
ALREADY_CLOSED = "closed",
|
|
3163
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
3056
3164
|
}
|
|
3057
|
-
export
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
fundLeft: number;
|
|
3061
|
-
ccLast4?: string;
|
|
3062
|
-
ccBrand?: string;
|
|
3165
|
+
export declare enum DiscountMethodsEnum {
|
|
3166
|
+
PERCENT = "percent",
|
|
3167
|
+
AMOUNT = "amount"
|
|
3063
3168
|
}
|
|
3064
|
-
export
|
|
3065
|
-
|
|
3066
|
-
variants: Variant[];
|
|
3169
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3170
|
+
ORGANIZATION = "organization"
|
|
3067
3171
|
}
|
|
3068
|
-
export
|
|
3069
|
-
|
|
3070
|
-
open: string;
|
|
3071
|
-
close: string;
|
|
3172
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3173
|
+
USA = "USA"
|
|
3072
3174
|
}
|
|
3073
|
-
export
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3175
|
+
export declare enum DateTimeFormatsEnum {
|
|
3176
|
+
API_DATE = "YYYY/MM/DD",
|
|
3177
|
+
API_TIME = "HH:mm:ss",
|
|
3178
|
+
DB_DATE = "YYYY-MM-DD"
|
|
3077
3179
|
}
|
|
3078
|
-
export
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3180
|
+
export declare enum SlotTypeEnum {
|
|
3181
|
+
EXTERNAL = "external",
|
|
3182
|
+
INTERNAL = "internal",
|
|
3183
|
+
MAINTENANCE = "maintenance",
|
|
3184
|
+
CUSTOM = "custom"
|
|
3082
3185
|
}
|
|
3083
|
-
export
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
member_answerTitleIds?: number[];
|
|
3090
|
-
member_organizationId: number;
|
|
3091
|
-
product_productPrice: number;
|
|
3092
|
-
product_productId: number;
|
|
3093
|
-
invoice_payingUserId: number;
|
|
3094
|
-
invoice_paymentMethodId: string;
|
|
3095
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3096
|
-
endDate: Date;
|
|
3097
|
-
membership_name: string;
|
|
3098
|
-
user_firstName: string;
|
|
3099
|
-
user_lastName: string;
|
|
3100
|
-
user_email: string;
|
|
3186
|
+
export declare enum PlatformsEnum {
|
|
3187
|
+
CONSUMER = "consumer",
|
|
3188
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
3189
|
+
BO = "backoffice",
|
|
3190
|
+
MOBILE = "mobile",
|
|
3191
|
+
CRON = "cron"
|
|
3101
3192
|
}
|
|
3102
|
-
export
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3193
|
+
export declare enum ShiftStatusEnum {
|
|
3194
|
+
OPEN = "open",
|
|
3195
|
+
CLOSED = "closed",
|
|
3196
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3197
|
+
RECONCILED = "reconciled"
|
|
3107
3198
|
}
|
|
3108
|
-
export
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
closeNumMinutes?: number;
|
|
3116
|
-
closeTime?: string;
|
|
3117
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3199
|
+
export declare enum EventStatusEnum {
|
|
3200
|
+
OPEN = 1,
|
|
3201
|
+
DRAFT = 2,
|
|
3202
|
+
FULL = 3,
|
|
3203
|
+
CANCELLED = 4,
|
|
3204
|
+
CLOSED = 5,
|
|
3205
|
+
DELETED = 6
|
|
3118
3206
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3207
|
+
export declare enum ReservationTypeEnum {
|
|
3208
|
+
RENTAL = "rental",
|
|
3209
|
+
PROGRAM = "program",
|
|
3210
|
+
MAINTENANCE = "maintenance",
|
|
3211
|
+
CUSTOM = "custom",
|
|
3212
|
+
INTERNAL = "internal"
|
|
3123
3213
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
|
|
3214
|
+
export declare enum SlotDurationTypeEnum {
|
|
3215
|
+
DATES = "dates",
|
|
3216
|
+
ALL_DAY = "all day",
|
|
3217
|
+
DURATION = "duration"
|
|
3127
3218
|
}
|
|
3128
|
-
export
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
email: string;
|
|
3132
|
-
sessionName: string;
|
|
3133
|
-
parentSessionName?: string;
|
|
3134
|
-
organizationName: string;
|
|
3135
|
-
programName: string;
|
|
3219
|
+
export declare enum DurationUnitTypesEnum {
|
|
3220
|
+
MINUTES = "minutes",
|
|
3221
|
+
HOURS = "hours"
|
|
3136
3222
|
}
|
|
3137
|
-
export
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
eventEndTime: string;
|
|
3144
|
-
programId: number;
|
|
3145
|
-
programName: string;
|
|
3146
|
-
programType: ProgramTypesEnum;
|
|
3147
|
-
sessionId: number;
|
|
3148
|
-
sessionName: string;
|
|
3149
|
-
sports: number;
|
|
3150
|
-
spaces: {
|
|
3151
|
-
spaceId: number;
|
|
3152
|
-
spaceName: string;
|
|
3153
|
-
}[];
|
|
3154
|
-
status?: RegistrationValidationStatusEnum;
|
|
3223
|
+
export declare enum FrequencyEnum {
|
|
3224
|
+
NONE = "none",
|
|
3225
|
+
WEEKLY = "weekly",
|
|
3226
|
+
DAILY = "daily",
|
|
3227
|
+
MONTHLY = "monthly",
|
|
3228
|
+
YEARLY = "yearly"
|
|
3155
3229
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3230
|
+
export declare enum MaintenanceTimingEnum {
|
|
3231
|
+
BEFORE = 1,
|
|
3232
|
+
AFTER = 2,
|
|
3233
|
+
AT_THE_BEGINING = 3,
|
|
3234
|
+
AT_THE_END = 4
|
|
3160
3235
|
}
|
|
3161
|
-
export
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3236
|
+
export declare enum CreatorTypeEnum {
|
|
3237
|
+
SPACE = "space",
|
|
3238
|
+
PROGRAM_SEASON = "program_season",
|
|
3239
|
+
SEASON = "season"
|
|
3165
3240
|
}
|
|
3166
|
-
export
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
startTime: string;
|
|
3171
|
-
endTime: string;
|
|
3172
|
-
notes: string;
|
|
3173
|
-
spaceId: number;
|
|
3174
|
-
isRental: boolean;
|
|
3175
|
-
slotType: SlotTypeEnum;
|
|
3176
|
-
slotId: number;
|
|
3177
|
-
eventId: number;
|
|
3178
|
-
isPrivate: boolean;
|
|
3241
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3242
|
+
INDIVIDUAL = "indvidual",
|
|
3243
|
+
CATEGORY = "category",
|
|
3244
|
+
GLOBAL = "global"
|
|
3179
3245
|
}
|
|
3180
|
-
export
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3246
|
+
export declare enum BondDayOfWeekEnum {
|
|
3247
|
+
MONDAY = 2,
|
|
3248
|
+
TUESDAY = 3,
|
|
3249
|
+
WEDNESDAY = 4,
|
|
3250
|
+
THURSDAY = 5,
|
|
3251
|
+
FRIDAY = 6,
|
|
3252
|
+
SATURDAY = 7,
|
|
3253
|
+
SUNDAY = 8
|
|
3188
3254
|
}
|
|
3189
|
-
export
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3255
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3256
|
+
NEW = "new",
|
|
3257
|
+
NO = "no",
|
|
3258
|
+
YES = "yes"
|
|
3193
3259
|
}
|
|
3194
|
-
export
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
endTime: string;
|
|
3199
|
-
reservationId: number;
|
|
3200
|
-
eventTitle: string;
|
|
3201
|
-
publicNotes: string;
|
|
3202
|
-
spaceId: number;
|
|
3203
|
-
creatorType: ResourceNameTypeEnum;
|
|
3204
|
-
slotType: SlotTypeEnum;
|
|
3205
|
-
slotId: number;
|
|
3206
|
-
eventId: number;
|
|
3207
|
-
isPrivate: boolean;
|
|
3260
|
+
export declare enum ProductPackageLevelEnum {
|
|
3261
|
+
HOUR = "hour",
|
|
3262
|
+
SLOT = "slot",
|
|
3263
|
+
RESERVATION = "reservation"
|
|
3208
3264
|
}
|
|
3209
|
-
export
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
purchasedResourceId: number;
|
|
3213
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3214
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3215
|
-
pUserId: number;
|
|
3216
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3217
|
-
pUserProductId: number;
|
|
3218
|
-
pUserProductName: string;
|
|
3219
|
-
pUserProductPrice: number;
|
|
3220
|
-
pUserProductPriceCurrency: string;
|
|
3221
|
-
pUserProductQuantity: number;
|
|
3222
|
-
pUserProductQuantityLeft: number;
|
|
3223
|
-
pUserUserId: number;
|
|
3265
|
+
export declare enum CancellationStatusEnum {
|
|
3266
|
+
IMMEDIATE = "immediate",
|
|
3267
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3224
3268
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
userLastName: string;
|
|
3229
|
-
organizationId: number;
|
|
3230
|
-
programId: number;
|
|
3231
|
-
programName: string;
|
|
3232
|
-
sessionId: number;
|
|
3233
|
-
sessionName: string;
|
|
3234
|
-
productId: number;
|
|
3235
|
-
productName: string;
|
|
3236
|
-
productUserId: number;
|
|
3237
|
-
purchaseDate: Date;
|
|
3238
|
-
passesLeft: number;
|
|
3269
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3270
|
+
DRAFT = 0,
|
|
3271
|
+
PUBLISHED = 1
|
|
3239
3272
|
}
|
|
3240
|
-
export
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
registrationEndDate: Date;
|
|
3247
|
-
sport: SportsEnum;
|
|
3248
|
-
minAge: string;
|
|
3249
|
-
maxAge: string;
|
|
3250
|
-
maxParticipants?: number;
|
|
3251
|
-
gender: GenderEnum;
|
|
3252
|
-
activityTimes: ActivityTimes[];
|
|
3253
|
-
earlyRegistrationStartDate?: Date;
|
|
3254
|
-
earlyRegistrationEndDate?: Date;
|
|
3255
|
-
lateRegistrationStartDate?: Date;
|
|
3256
|
-
lateRegistrationEndDate?: Date;
|
|
3257
|
-
attendeeCount?: number;
|
|
3258
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3273
|
+
export declare enum FinancialStepEnum {
|
|
3274
|
+
VOID = "void",
|
|
3275
|
+
REFUND = "refund",
|
|
3276
|
+
NONE = "none",
|
|
3277
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3278
|
+
APPEND = "append"
|
|
3259
3279
|
}
|
|
3260
|
-
export
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
products?: ISessionLandingPageProduct[];
|
|
3280
|
+
export declare enum StripeAccountTypesEnum {
|
|
3281
|
+
STRIPE = "stripe",
|
|
3282
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3283
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3265
3284
|
}
|
|
3266
|
-
export
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
segments?: Event[] | ProgramSeason[];
|
|
3271
|
-
programName: string;
|
|
3272
|
-
programId: number;
|
|
3273
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3274
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3285
|
+
export declare enum LinkedAccountStatus {
|
|
3286
|
+
PENDING = 1,
|
|
3287
|
+
ACTIVE = 2,
|
|
3288
|
+
PRE_PENDING = 3
|
|
3275
3289
|
}
|
|
3276
|
-
export
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
timePeriod: AddonTimePeriodEnum;
|
|
3280
|
-
name: string;
|
|
3281
|
-
productType?: ProductTypesEnum;
|
|
3282
|
-
productSubType?: string;
|
|
3283
|
-
}[];
|
|
3290
|
+
export declare enum AddonParentTypeEnum {
|
|
3291
|
+
RESERVATION = "reservation",
|
|
3292
|
+
SLOT = "slot"
|
|
3284
3293
|
}
|
|
3285
|
-
export
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
downpayment?: number;
|
|
3291
|
-
description?: string;
|
|
3292
|
-
prices: Price[];
|
|
3293
|
-
productSubType?: ProductSubTypesEnum;
|
|
3294
|
-
punchCard: boolean;
|
|
3295
|
-
isAddon: boolean;
|
|
3296
|
-
defaultPriceId?: number;
|
|
3294
|
+
export declare enum EEmailStatus {
|
|
3295
|
+
SENT = "sent",
|
|
3296
|
+
OPENED = "opened",
|
|
3297
|
+
PAID = "paid",
|
|
3298
|
+
CANCELED = "canceled"
|
|
3297
3299
|
}
|
|
3298
|
-
export
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3300
|
+
export declare enum PaymentSettingStatusEnum {
|
|
3301
|
+
ENABLED = 1,
|
|
3302
|
+
DISABLED_REDIRECT = 2,
|
|
3303
|
+
DISABLED_INFO_ONLY = 3,
|
|
3304
|
+
DISABLED_EMAIL = 4
|
|
3302
3305
|
}
|
|
3303
|
-
export
|
|
3304
|
-
|
|
3305
|
-
id: number;
|
|
3306
|
-
organizationId: number;
|
|
3307
|
-
startDate: string;
|
|
3308
|
-
endDate: string;
|
|
3309
|
-
sportId: number;
|
|
3306
|
+
export declare enum NotifyMethodEnum {
|
|
3307
|
+
EMAIL = "Email"
|
|
3310
3308
|
}
|
|
3311
|
-
export declare
|
|
3312
|
-
|
|
3313
|
-
|
|
3309
|
+
export declare enum EComparisonFilter {
|
|
3310
|
+
LessThan = "lt",
|
|
3311
|
+
GreaterOrEqualTo = "gte"
|
|
3314
3312
|
}
|
|
3315
|
-
export declare function convertToNumber(data: string): number;
|
|
3316
3313
|
export declare enum ImportPaymentTypeEnum {
|
|
3317
3314
|
CREDIT_CARD = "card",
|
|
3318
3315
|
ACH = "ach",
|
|
@@ -3349,15 +3346,6 @@ export declare class ImportedPaymentDto {
|
|
|
3349
3346
|
date: string;
|
|
3350
3347
|
time: string;
|
|
3351
3348
|
}
|
|
3352
|
-
export declare class ProductIdsDto {
|
|
3353
|
-
productIds?: number[];
|
|
3354
|
-
}
|
|
3355
|
-
export declare class ProductImportDto {
|
|
3356
|
-
product: Product;
|
|
3357
|
-
prices: Price[];
|
|
3358
|
-
resourceIds: number[];
|
|
3359
|
-
oldId: number;
|
|
3360
|
-
}
|
|
3361
3349
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3362
3350
|
name?: string;
|
|
3363
3351
|
genderStr?: string;
|
|
@@ -3372,6 +3360,20 @@ export declare class AddFamilyDto {
|
|
|
3372
3360
|
parents: AddImportedCustomerDto[];
|
|
3373
3361
|
children: AddImportedCustomerDto[];
|
|
3374
3362
|
}
|
|
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
|
+
}
|
|
3375
3377
|
export declare class PunchPassDto {
|
|
3376
3378
|
CustomerID: string;
|
|
3377
3379
|
QuantityLeft: number;
|
|
@@ -3443,6 +3445,11 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3443
3445
|
score: number | null;
|
|
3444
3446
|
gameSlotId: number | null;
|
|
3445
3447
|
}
|
|
3448
|
+
export declare class Matches extends BondBaseEntity {
|
|
3449
|
+
eventId: number | null;
|
|
3450
|
+
status: number | null;
|
|
3451
|
+
excludeStandings: boolean | null;
|
|
3452
|
+
}
|
|
3446
3453
|
export declare class RoundEvents extends BaseEntity {
|
|
3447
3454
|
roundId: number;
|
|
3448
3455
|
eventId: number;
|
|
@@ -3450,17 +3457,6 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3450
3457
|
createdAt: Date;
|
|
3451
3458
|
updatedAt: Date;
|
|
3452
3459
|
}
|
|
3453
|
-
export declare class Matches extends BondBaseEntity {
|
|
3454
|
-
eventId: number | null;
|
|
3455
|
-
status: number | null;
|
|
3456
|
-
excludeStandings: boolean | null;
|
|
3457
|
-
}
|
|
3458
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3459
|
-
seasonId: number;
|
|
3460
|
-
ordinal?: number;
|
|
3461
|
-
divisionId?: number;
|
|
3462
|
-
name: string;
|
|
3463
|
-
}
|
|
3464
3460
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3465
3461
|
teamId: number | null;
|
|
3466
3462
|
eventId: number | null;
|
|
@@ -3497,6 +3493,12 @@ export declare class CreateMonitorConfigDto {
|
|
|
3497
3493
|
code: string;
|
|
3498
3494
|
config: any;
|
|
3499
3495
|
}
|
|
3496
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3497
|
+
seasonId: number;
|
|
3498
|
+
ordinal?: number;
|
|
3499
|
+
divisionId?: number;
|
|
3500
|
+
name: string;
|
|
3501
|
+
}
|
|
3500
3502
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3501
3503
|
facilityId: number;
|
|
3502
3504
|
code: string;
|
|
@@ -3533,12 +3535,6 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
3533
3535
|
months?: string;
|
|
3534
3536
|
dow?: string;
|
|
3535
3537
|
}
|
|
3536
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3537
|
-
key?: string;
|
|
3538
|
-
vaule?: string;
|
|
3539
|
-
version: number;
|
|
3540
|
-
organization: Organization;
|
|
3541
|
-
}
|
|
3542
3538
|
export declare class Organization extends BondBaseEntity {
|
|
3543
3539
|
name: string | null;
|
|
3544
3540
|
email: string | null;
|
|
@@ -3589,6 +3585,12 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3589
3585
|
brandingsV2?: OrganizationBranding[];
|
|
3590
3586
|
uberOrganization: UberOrganization;
|
|
3591
3587
|
}
|
|
3588
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3589
|
+
key?: string;
|
|
3590
|
+
vaule?: string;
|
|
3591
|
+
version: number;
|
|
3592
|
+
organization: Organization;
|
|
3593
|
+
}
|
|
3592
3594
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3593
3595
|
mainAdminUserId?: number;
|
|
3594
3596
|
}
|
|
@@ -3622,38 +3624,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3622
3624
|
organisationId: number | null;
|
|
3623
3625
|
userId: number | null;
|
|
3624
3626
|
}
|
|
3625
|
-
export declare class VoidDto {
|
|
3626
|
-
lineItems: VoidLineItemDto[];
|
|
3627
|
-
meta?: RevertMetaDto;
|
|
3628
|
-
}
|
|
3629
|
-
export declare class VoidLineItemDto {
|
|
3630
|
-
id: number;
|
|
3631
|
-
quantity?: number;
|
|
3632
|
-
isEdit?: boolean;
|
|
3633
|
-
amount?: number;
|
|
3634
|
-
}
|
|
3635
|
-
export declare class RefundDto {
|
|
3636
|
-
invoiceId: number;
|
|
3637
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3638
|
-
refundLineItemAmountDict?: {
|
|
3639
|
-
[id: number]: number;
|
|
3640
|
-
};
|
|
3641
|
-
refunds: PaymentMethodDto[];
|
|
3642
|
-
refundType: RefundTypeEnum;
|
|
3643
|
-
reasonId: number;
|
|
3644
|
-
note?: string;
|
|
3645
|
-
shiftId?: number;
|
|
3646
|
-
meta?: RevertMetaDto;
|
|
3647
|
-
}
|
|
3648
|
-
export declare class PaymentMethodDto {
|
|
3649
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3650
|
-
amount: number;
|
|
3651
|
-
paymentMethodId?: string;
|
|
3652
|
-
}
|
|
3653
|
-
export declare class RefundLineItemAmountDto {
|
|
3654
|
-
id: number;
|
|
3655
|
-
refundAmount: number;
|
|
3656
|
-
}
|
|
3657
3627
|
export declare class CustomerIdDto {
|
|
3658
3628
|
customerId: number;
|
|
3659
3629
|
}
|
|
@@ -3776,6 +3746,38 @@ export declare class SendRequestDto {
|
|
|
3776
3746
|
sendToEmail: string;
|
|
3777
3747
|
memo?: string;
|
|
3778
3748
|
}
|
|
3749
|
+
export declare class RefundDto {
|
|
3750
|
+
invoiceId: number;
|
|
3751
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3752
|
+
refundLineItemAmountDict?: {
|
|
3753
|
+
[id: number]: number;
|
|
3754
|
+
};
|
|
3755
|
+
refunds: PaymentMethodDto[];
|
|
3756
|
+
refundType: RefundTypeEnum;
|
|
3757
|
+
reasonId: number;
|
|
3758
|
+
note?: string;
|
|
3759
|
+
shiftId?: number;
|
|
3760
|
+
meta?: RevertMetaDto;
|
|
3761
|
+
}
|
|
3762
|
+
export declare class PaymentMethodDto {
|
|
3763
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3764
|
+
amount: number;
|
|
3765
|
+
paymentMethodId?: string;
|
|
3766
|
+
}
|
|
3767
|
+
export declare class RefundLineItemAmountDto {
|
|
3768
|
+
id: number;
|
|
3769
|
+
refundAmount: number;
|
|
3770
|
+
}
|
|
3771
|
+
export declare class VoidDto {
|
|
3772
|
+
lineItems: VoidLineItemDto[];
|
|
3773
|
+
meta?: RevertMetaDto;
|
|
3774
|
+
}
|
|
3775
|
+
export declare class VoidLineItemDto {
|
|
3776
|
+
id: number;
|
|
3777
|
+
quantity?: number;
|
|
3778
|
+
isEdit?: boolean;
|
|
3779
|
+
amount?: number;
|
|
3780
|
+
}
|
|
3779
3781
|
export interface PaymentResult {
|
|
3780
3782
|
paymentMethodId: string;
|
|
3781
3783
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3921,6 +3923,34 @@ export declare class PurchasedResourceDto {
|
|
|
3921
3923
|
endDate?: string;
|
|
3922
3924
|
endTime?: string;
|
|
3923
3925
|
}
|
|
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
|
+
}
|
|
3924
3954
|
export declare class ReservationDto {
|
|
3925
3955
|
id?: number;
|
|
3926
3956
|
organizationId?: number;
|
|
@@ -4074,34 +4104,6 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4074
4104
|
updateAddons?: boolean;
|
|
4075
4105
|
updateMaintenance?: boolean;
|
|
4076
4106
|
}
|
|
4077
|
-
export declare class SegmentDto {
|
|
4078
|
-
id?: number;
|
|
4079
|
-
title: string;
|
|
4080
|
-
isPrivate: boolean;
|
|
4081
|
-
resourceIds: number[];
|
|
4082
|
-
sportId?: number;
|
|
4083
|
-
series: SeriesDto[];
|
|
4084
|
-
addonIds?: number[];
|
|
4085
|
-
publicNotesForSlots?: string;
|
|
4086
|
-
privateNotesForSlots?: string;
|
|
4087
|
-
}
|
|
4088
|
-
export declare class SeriesDto {
|
|
4089
|
-
id?: number;
|
|
4090
|
-
startDate: string;
|
|
4091
|
-
startTime?: string;
|
|
4092
|
-
endDate?: string;
|
|
4093
|
-
endTime?: string;
|
|
4094
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4095
|
-
durationEndsAfter?: number;
|
|
4096
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4097
|
-
frequency: FrequencyEnum;
|
|
4098
|
-
repeatEvery?: number;
|
|
4099
|
-
repeatOn?: number[];
|
|
4100
|
-
repeatEndDate?: string;
|
|
4101
|
-
numberOccurrences?: number;
|
|
4102
|
-
maintenance?: MaintenanceDto[];
|
|
4103
|
-
slots?: SlotDto[];
|
|
4104
|
-
}
|
|
4105
4107
|
export declare class SlotDateTimeAndSpace {
|
|
4106
4108
|
startDate: string;
|
|
4107
4109
|
startTime?: string;
|
|
@@ -4164,26 +4166,6 @@ export declare class TimeSlotsDto {
|
|
|
4164
4166
|
export declare class SlotsIdsDto {
|
|
4165
4167
|
slotsIds: number[];
|
|
4166
4168
|
}
|
|
4167
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4168
|
-
parentId: number;
|
|
4169
|
-
parentType: AddonParentTypeEnum;
|
|
4170
|
-
productId: number;
|
|
4171
|
-
product?: Product;
|
|
4172
|
-
quantity: number;
|
|
4173
|
-
unitPrice: number;
|
|
4174
|
-
totalPrice: number;
|
|
4175
|
-
approvalStatus: ReservationStatusEnum;
|
|
4176
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4177
|
-
level?: ProductPackageLevelEnum;
|
|
4178
|
-
resourceId?: number;
|
|
4179
|
-
resource?: Resource;
|
|
4180
|
-
invoiceId?: number;
|
|
4181
|
-
invoice?: Invoice;
|
|
4182
|
-
productUserId?: number;
|
|
4183
|
-
productUser?: ProductsUsers;
|
|
4184
|
-
previousProductUsersIds?: number[];
|
|
4185
|
-
previousProductUsers?: ProductsUsers[];
|
|
4186
|
-
}
|
|
4187
4169
|
declare class AnswerDto {
|
|
4188
4170
|
questionId: number;
|
|
4189
4171
|
value: any;
|
|
@@ -4221,6 +4203,26 @@ export declare class BookingV1Dto {
|
|
|
4221
4203
|
cashPayment: boolean;
|
|
4222
4204
|
requestOnly: boolean;
|
|
4223
4205
|
}
|
|
4206
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4207
|
+
parentId: number;
|
|
4208
|
+
parentType: AddonParentTypeEnum;
|
|
4209
|
+
productId: number;
|
|
4210
|
+
product?: Product;
|
|
4211
|
+
quantity: number;
|
|
4212
|
+
unitPrice: number;
|
|
4213
|
+
totalPrice: number;
|
|
4214
|
+
approvalStatus: ReservationStatusEnum;
|
|
4215
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4216
|
+
level?: ProductPackageLevelEnum;
|
|
4217
|
+
resourceId?: number;
|
|
4218
|
+
resource?: Resource;
|
|
4219
|
+
invoiceId?: number;
|
|
4220
|
+
invoice?: Invoice;
|
|
4221
|
+
productUserId?: number;
|
|
4222
|
+
productUser?: ProductsUsers;
|
|
4223
|
+
previousProductUsersIds?: number[];
|
|
4224
|
+
previousProductUsers?: ProductsUsers[];
|
|
4225
|
+
}
|
|
4224
4226
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4225
4227
|
deletedAt?: Date;
|
|
4226
4228
|
reservationId: number;
|
|
@@ -4274,6 +4276,25 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
4274
4276
|
privateNotesForSlots?: string;
|
|
4275
4277
|
slots?: Slot[];
|
|
4276
4278
|
}
|
|
4279
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4280
|
+
deletedAt?: Date;
|
|
4281
|
+
segmentId: number;
|
|
4282
|
+
segment?: Segment;
|
|
4283
|
+
slots?: Slot[];
|
|
4284
|
+
slotDurationType: string;
|
|
4285
|
+
durationEndsAfter: number;
|
|
4286
|
+
durationUnit: string;
|
|
4287
|
+
startDate?: Date;
|
|
4288
|
+
endDate?: Date;
|
|
4289
|
+
startTime: string;
|
|
4290
|
+
endTime: string;
|
|
4291
|
+
frequency: string;
|
|
4292
|
+
repeatEvery: number;
|
|
4293
|
+
repeatOn?: number[];
|
|
4294
|
+
repeatEndDate?: Date;
|
|
4295
|
+
numberOccurrences?: number;
|
|
4296
|
+
resources?: Resource[];
|
|
4297
|
+
}
|
|
4277
4298
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4278
4299
|
constructor();
|
|
4279
4300
|
defineIsReverted(): void;
|
|
@@ -4341,25 +4362,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4341
4362
|
conflictsCount?: number;
|
|
4342
4363
|
conflicts?: Slot[];
|
|
4343
4364
|
}
|
|
4344
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4345
|
-
deletedAt?: Date;
|
|
4346
|
-
segmentId: number;
|
|
4347
|
-
segment?: Segment;
|
|
4348
|
-
slots?: Slot[];
|
|
4349
|
-
slotDurationType: string;
|
|
4350
|
-
durationEndsAfter: number;
|
|
4351
|
-
durationUnit: string;
|
|
4352
|
-
startDate?: Date;
|
|
4353
|
-
endDate?: Date;
|
|
4354
|
-
startTime: string;
|
|
4355
|
-
endTime: string;
|
|
4356
|
-
frequency: string;
|
|
4357
|
-
repeatEvery: number;
|
|
4358
|
-
repeatOn?: number[];
|
|
4359
|
-
repeatEndDate?: Date;
|
|
4360
|
-
numberOccurrences?: number;
|
|
4361
|
-
resources?: Resource[];
|
|
4362
|
-
}
|
|
4363
4365
|
export declare enum LineItemResourceEnum {
|
|
4364
4366
|
SEGMENTS = "segments",
|
|
4365
4367
|
SERIES = "series",
|
|
@@ -4630,12 +4632,12 @@ export interface OverridePriceMeta {
|
|
|
4630
4632
|
quantity: number;
|
|
4631
4633
|
totalPrice: number;
|
|
4632
4634
|
}
|
|
4633
|
-
export declare class ChangeRolePermissionsDto {
|
|
4634
|
-
permissionIds: number[];
|
|
4635
|
-
}
|
|
4636
4635
|
export declare class CreateRoleDto {
|
|
4637
4636
|
name: string;
|
|
4638
4637
|
}
|
|
4638
|
+
export declare class ChangeRolePermissionsDto {
|
|
4639
|
+
permissionIds: number[];
|
|
4640
|
+
}
|
|
4639
4641
|
export declare class Permission extends BondBaseEntity {
|
|
4640
4642
|
name: string;
|
|
4641
4643
|
deletedAt?: Date;
|
|
@@ -4683,13 +4685,6 @@ export declare class OpenShiftDto {
|
|
|
4683
4685
|
openingCashAmount: number;
|
|
4684
4686
|
stationId: number;
|
|
4685
4687
|
}
|
|
4686
|
-
export declare class ShiftManagementClosingAmount {
|
|
4687
|
-
shiftId: number;
|
|
4688
|
-
managementClosingCashAmount: number;
|
|
4689
|
-
}
|
|
4690
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4691
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4692
|
-
}
|
|
4693
4688
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4694
4689
|
stationId: number;
|
|
4695
4690
|
station?: Station;
|
|
@@ -4719,6 +4714,13 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4719
4714
|
closingManager?: User;
|
|
4720
4715
|
reconcilingUser?: User;
|
|
4721
4716
|
}
|
|
4717
|
+
export declare class ShiftManagementClosingAmount {
|
|
4718
|
+
shiftId: number;
|
|
4719
|
+
managementClosingCashAmount: number;
|
|
4720
|
+
}
|
|
4721
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4722
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4723
|
+
}
|
|
4722
4724
|
export default interface IWebflowProgram {
|
|
4723
4725
|
name: string;
|
|
4724
4726
|
id: number;
|