@bondsports/types 0.0.87 → 0.1.0
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 +821 -797
- 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
|
@@ -186,6 +186,38 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
186
|
isWaiverSigned?: string;
|
|
187
187
|
statuses?: string;
|
|
188
188
|
}
|
|
189
|
+
export declare class FindFamilyAccountsDto {
|
|
190
|
+
userId: number;
|
|
191
|
+
}
|
|
192
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
193
|
+
customerId: number;
|
|
194
|
+
organizationId: number;
|
|
195
|
+
}
|
|
196
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
197
|
+
familyAccountId: number;
|
|
198
|
+
}
|
|
199
|
+
export declare class CreateFamilyAccountDto {
|
|
200
|
+
familyName: string;
|
|
201
|
+
userId: number;
|
|
202
|
+
}
|
|
203
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
204
|
+
familyName: string;
|
|
205
|
+
familyAccountId: number;
|
|
206
|
+
}
|
|
207
|
+
export declare class AddUserToFamilyAccountDto {
|
|
208
|
+
familyAccountId: number;
|
|
209
|
+
isUserAdmin: boolean;
|
|
210
|
+
firstName: string;
|
|
211
|
+
lastName: string;
|
|
212
|
+
gender: GenderEnum;
|
|
213
|
+
birthDate: string;
|
|
214
|
+
sports?: number[];
|
|
215
|
+
email?: string;
|
|
216
|
+
}
|
|
217
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
218
|
+
userId: number;
|
|
219
|
+
familyAccountId: number;
|
|
220
|
+
}
|
|
189
221
|
export declare class AddressDto {
|
|
190
222
|
city: string;
|
|
191
223
|
state: string;
|
|
@@ -229,38 +261,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
261
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
262
|
nameSearch?: string;
|
|
231
263
|
}
|
|
232
|
-
export declare class FindFamilyAccountsDto {
|
|
233
|
-
userId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
-
customerId: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
}
|
|
239
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
-
familyAccountId: number;
|
|
241
|
-
}
|
|
242
|
-
export declare class CreateFamilyAccountDto {
|
|
243
|
-
familyName: string;
|
|
244
|
-
userId: number;
|
|
245
|
-
}
|
|
246
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
-
familyName: string;
|
|
248
|
-
familyAccountId: number;
|
|
249
|
-
}
|
|
250
|
-
export declare class AddUserToFamilyAccountDto {
|
|
251
|
-
familyAccountId: number;
|
|
252
|
-
isUserAdmin: boolean;
|
|
253
|
-
firstName: string;
|
|
254
|
-
lastName: string;
|
|
255
|
-
gender: GenderEnum;
|
|
256
|
-
birthDate: string;
|
|
257
|
-
sports?: number[];
|
|
258
|
-
email?: string;
|
|
259
|
-
}
|
|
260
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
-
userId: number;
|
|
262
|
-
familyAccountId: number;
|
|
263
|
-
}
|
|
264
264
|
export declare class FindOneParams {
|
|
265
265
|
id: number;
|
|
266
266
|
}
|
|
@@ -1114,19 +1114,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1114
1114
|
geo: any;
|
|
1115
1115
|
deletedAt?: Date;
|
|
1116
1116
|
}
|
|
1117
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1118
|
-
questionId: number;
|
|
1119
|
-
question?: Questions;
|
|
1120
|
-
parentId: number;
|
|
1121
|
-
parentType: ResourceNameTypeEnum;
|
|
1122
|
-
answerValue: any;
|
|
1123
|
-
creatorId: number;
|
|
1124
|
-
creatorType: ResourceNameTypeEnum;
|
|
1125
|
-
answerTitleId: number;
|
|
1126
|
-
answerTitle: AnswerTitle;
|
|
1127
|
-
metaData: any | null;
|
|
1128
|
-
questionText: string | null;
|
|
1129
|
-
}
|
|
1130
1117
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
1118
|
questionnaireId: number;
|
|
1132
1119
|
userId?: number;
|
|
@@ -1174,6 +1161,19 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1174
1161
|
publicNotes?: string;
|
|
1175
1162
|
slotType?: SlotTypeEnum;
|
|
1176
1163
|
}
|
|
1164
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1165
|
+
questionId: number;
|
|
1166
|
+
question?: Questions;
|
|
1167
|
+
parentId: number;
|
|
1168
|
+
parentType: ResourceNameTypeEnum;
|
|
1169
|
+
answerValue: any;
|
|
1170
|
+
creatorId: number;
|
|
1171
|
+
creatorType: ResourceNameTypeEnum;
|
|
1172
|
+
answerTitleId: number;
|
|
1173
|
+
answerTitle: AnswerTitle;
|
|
1174
|
+
metaData: any | null;
|
|
1175
|
+
questionText: string | null;
|
|
1176
|
+
}
|
|
1177
1177
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1178
1178
|
parentId: number;
|
|
1179
1179
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1272,6 +1272,10 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1272
1272
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
1273
|
name: string | null;
|
|
1274
1274
|
}
|
|
1275
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1276
|
+
groupId: number;
|
|
1277
|
+
terms: IEntitlementTerms[];
|
|
1278
|
+
}
|
|
1275
1279
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1276
1280
|
status: RequestStatusEnum | null;
|
|
1277
1281
|
hasPaid: boolean | null;
|
|
@@ -1287,10 +1291,6 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1287
1291
|
event: Event;
|
|
1288
1292
|
purchasedResource: PurchasedResource;
|
|
1289
1293
|
}
|
|
1290
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1291
|
-
groupId: number;
|
|
1292
|
-
terms: IEntitlementTerms[];
|
|
1293
|
-
}
|
|
1294
1294
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1295
1295
|
constructor();
|
|
1296
1296
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1388,30 +1388,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1388
1388
|
plannedDate: Date;
|
|
1389
1389
|
chargedAt?: Date;
|
|
1390
1390
|
}
|
|
1391
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1392
|
-
code: string;
|
|
1393
|
-
}
|
|
1394
|
-
export declare class Group extends BondBaseEntity {
|
|
1395
|
-
name: string;
|
|
1396
|
-
description?: string;
|
|
1397
|
-
status: GroupStatusEnum;
|
|
1398
|
-
maxCapacity?: number;
|
|
1399
|
-
mainMediaId?: number;
|
|
1400
|
-
minAgeYears?: number;
|
|
1401
|
-
maxAgeYears?: number;
|
|
1402
|
-
gender: GenderEnum;
|
|
1403
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1404
|
-
sports: SportsEnum[];
|
|
1405
|
-
questionnaires?: number[];
|
|
1406
|
-
captainUserId?: number;
|
|
1407
|
-
members: ISeasonAttendeeInfo[];
|
|
1408
|
-
users: User[];
|
|
1409
|
-
}
|
|
1410
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1411
|
-
groupId: number;
|
|
1412
|
-
divisionId: number;
|
|
1413
|
-
deletedAt?: Date;
|
|
1414
|
-
}
|
|
1415
1391
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1416
1392
|
groupId: number;
|
|
1417
1393
|
itemId: number;
|
|
@@ -1425,6 +1401,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1425
1401
|
discountMethod?: DiscountMethodsEnum;
|
|
1426
1402
|
discountValue?: number;
|
|
1427
1403
|
}
|
|
1404
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1405
|
+
groupId: number;
|
|
1406
|
+
divisionId: number;
|
|
1407
|
+
deletedAt?: Date;
|
|
1408
|
+
}
|
|
1428
1409
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1429
1410
|
price: number;
|
|
1430
1411
|
paymentProcessorId: string;
|
|
@@ -1607,6 +1588,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1607
1588
|
displayUnitPrice?: number;
|
|
1608
1589
|
displayQuantity?: number;
|
|
1609
1590
|
}
|
|
1591
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1592
|
+
id: number;
|
|
1593
|
+
provider: string;
|
|
1594
|
+
providerId: string | null;
|
|
1595
|
+
parentId: number | null;
|
|
1596
|
+
parentType: string | null;
|
|
1597
|
+
status: number | null;
|
|
1598
|
+
token: string | null;
|
|
1599
|
+
refreshToken: string | null;
|
|
1600
|
+
tokenCreatedAt: Date | null;
|
|
1601
|
+
tokenValidUpTo: Date | null;
|
|
1602
|
+
createdAt: Date;
|
|
1603
|
+
updatedAt: Date;
|
|
1604
|
+
user: User;
|
|
1605
|
+
userId: number | null;
|
|
1606
|
+
}
|
|
1610
1607
|
export declare class Media extends BondBaseEntity {
|
|
1611
1608
|
url: string;
|
|
1612
1609
|
name: string | null;
|
|
@@ -1799,21 +1796,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1799
1796
|
discountValue?: number;
|
|
1800
1797
|
taxIncludedPrice?: number;
|
|
1801
1798
|
}
|
|
1802
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1803
|
-
parentProductId: number;
|
|
1804
|
-
childProductId: number;
|
|
1805
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1806
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1807
|
-
deletedAt?: Date;
|
|
1808
|
-
productResource: ProductResource;
|
|
1809
|
-
childProduct: Product;
|
|
1810
|
-
parentProduct: Product;
|
|
1811
|
-
price: number;
|
|
1812
|
-
isFlatPrice: boolean;
|
|
1813
|
-
durationMinutes?: number;
|
|
1814
|
-
durationDays?: number;
|
|
1815
|
-
level?: ProductPackageLevelEnum;
|
|
1816
|
-
}
|
|
1817
1799
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1818
1800
|
name: string;
|
|
1819
1801
|
quantity: number;
|
|
@@ -1864,6 +1846,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1864
1846
|
activityTimes: ActivityTimes[];
|
|
1865
1847
|
purchasedResources: PurchasedResource[];
|
|
1866
1848
|
}
|
|
1849
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1850
|
+
parentProductId: number;
|
|
1851
|
+
childProductId: number;
|
|
1852
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1853
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1854
|
+
deletedAt?: Date;
|
|
1855
|
+
productResource: ProductResource;
|
|
1856
|
+
childProduct: Product;
|
|
1857
|
+
parentProduct: Product;
|
|
1858
|
+
price: number;
|
|
1859
|
+
isFlatPrice: boolean;
|
|
1860
|
+
durationMinutes?: number;
|
|
1861
|
+
durationDays?: number;
|
|
1862
|
+
level?: ProductPackageLevelEnum;
|
|
1863
|
+
}
|
|
1867
1864
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1868
1865
|
productId: number;
|
|
1869
1866
|
maxMonths?: number;
|
|
@@ -1899,22 +1896,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1899
1896
|
deletedAt?: Date;
|
|
1900
1897
|
product: Product;
|
|
1901
1898
|
}
|
|
1902
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1903
|
-
id: number;
|
|
1904
|
-
provider: string;
|
|
1905
|
-
providerId: string | null;
|
|
1906
|
-
parentId: number | null;
|
|
1907
|
-
parentType: string | null;
|
|
1908
|
-
status: number | null;
|
|
1909
|
-
token: string | null;
|
|
1910
|
-
refreshToken: string | null;
|
|
1911
|
-
tokenCreatedAt: Date | null;
|
|
1912
|
-
tokenValidUpTo: Date | null;
|
|
1913
|
-
createdAt: Date;
|
|
1914
|
-
updatedAt: Date;
|
|
1915
|
-
user: User;
|
|
1916
|
-
userId: number | null;
|
|
1917
|
-
}
|
|
1918
1899
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1919
1900
|
productId: number;
|
|
1920
1901
|
userId: number;
|
|
@@ -2215,13 +2196,8 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2215
2196
|
station: Station;
|
|
2216
2197
|
subcategory: Subcategory;
|
|
2217
2198
|
}
|
|
2218
|
-
export declare class
|
|
2219
|
-
|
|
2220
|
-
name: string;
|
|
2221
|
-
ordinal?: number;
|
|
2222
|
-
deletedAt?: Date;
|
|
2223
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2224
|
-
stations: Station[];
|
|
2199
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
2200
|
+
code: string;
|
|
2225
2201
|
}
|
|
2226
2202
|
export declare class Team extends BondBaseEntity {
|
|
2227
2203
|
name: string | null;
|
|
@@ -2351,370 +2327,26 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2351
2327
|
membershipCollectionId?: string;
|
|
2352
2328
|
programsCollectionId?: string;
|
|
2353
2329
|
}
|
|
2354
|
-
export
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
groupName?: string;
|
|
2370
|
-
price: number;
|
|
2371
|
-
overridesPrice: boolean;
|
|
2372
|
-
}
|
|
2373
|
-
export interface IResourcesAvailability {
|
|
2374
|
-
resourceType: ResourceNameTypeEnum;
|
|
2375
|
-
quantity: number;
|
|
2376
|
-
resourcesIds: number[];
|
|
2377
|
-
isPunchCard: boolean;
|
|
2378
|
-
resources?: any[];
|
|
2379
|
-
}
|
|
2380
|
-
export interface IPackageResponse {
|
|
2381
|
-
parentProduct: Product;
|
|
2382
|
-
children: IChildProduct[];
|
|
2330
|
+
export declare class Group extends BondBaseEntity {
|
|
2331
|
+
name: string;
|
|
2332
|
+
description?: string;
|
|
2333
|
+
status: GroupStatusEnum;
|
|
2334
|
+
maxCapacity?: number;
|
|
2335
|
+
mainMediaId?: number;
|
|
2336
|
+
minAgeYears?: number;
|
|
2337
|
+
maxAgeYears?: number;
|
|
2338
|
+
gender: GenderEnum;
|
|
2339
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
2340
|
+
sports: SportsEnum[];
|
|
2341
|
+
questionnaires?: number[];
|
|
2342
|
+
captainUserId?: number;
|
|
2343
|
+
members: ISeasonAttendeeInfo[];
|
|
2344
|
+
users: User[];
|
|
2383
2345
|
}
|
|
2384
|
-
export
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
}
|
|
2389
|
-
export interface ISeasonAttendeeInfo {
|
|
2390
|
-
applicationAnswers: Answer[];
|
|
2391
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2392
|
-
invoices: Order[];
|
|
2393
|
-
payments: Invoice[];
|
|
2394
|
-
products: Product[];
|
|
2395
|
-
redeemNext: ProductsUsers;
|
|
2396
|
-
}
|
|
2397
|
-
export interface ISeasonAttendeeListInfo {
|
|
2398
|
-
userId: number;
|
|
2399
|
-
userFirstName: string;
|
|
2400
|
-
userLastName: string;
|
|
2401
|
-
userGender: number;
|
|
2402
|
-
userBirthDate: Date;
|
|
2403
|
-
userProfilePicUrl: string;
|
|
2404
|
-
customerId: number;
|
|
2405
|
-
customerEmail: string;
|
|
2406
|
-
paymentStatus: string;
|
|
2407
|
-
productName: string;
|
|
2408
|
-
punchCard: boolean;
|
|
2409
|
-
}
|
|
2410
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2411
|
-
segmentType: ResourceNameTypeEnum;
|
|
2412
|
-
participantRegisteredDate?: string;
|
|
2413
|
-
}
|
|
2414
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2415
|
-
segmentType: ResourceNameTypeEnum;
|
|
2416
|
-
participantRegisteredDate?: string;
|
|
2417
|
-
}
|
|
2418
|
-
export interface ITokenResonse {
|
|
2419
|
-
token: string;
|
|
2420
|
-
}
|
|
2421
|
-
export interface IStripeBondInvoices {
|
|
2422
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2423
|
-
bondPaidInvoice: Invoice;
|
|
2424
|
-
order?: Order;
|
|
2425
|
-
customer?: Customer;
|
|
2426
|
-
}
|
|
2427
|
-
export interface IPartialPaymentData {
|
|
2428
|
-
purchasingUserId: number;
|
|
2429
|
-
paymentData: PurchasePaymentDto;
|
|
2430
|
-
amountToPay: number;
|
|
2431
|
-
}
|
|
2432
|
-
export interface IPayment {
|
|
2433
|
-
id: number;
|
|
2434
|
-
total: number;
|
|
2435
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2436
|
-
status: PaymentStatusEnum;
|
|
2437
|
-
createdAt: Date;
|
|
2438
|
-
invoices: number[];
|
|
2439
|
-
}
|
|
2440
|
-
export interface IPaginationData<T> {
|
|
2441
|
-
meta: {
|
|
2442
|
-
totalItems: number;
|
|
2443
|
-
itemsPerPage: number;
|
|
2444
|
-
totalPages: number;
|
|
2445
|
-
currentPage: number;
|
|
2446
|
-
};
|
|
2447
|
-
data: T[];
|
|
2448
|
-
}
|
|
2449
|
-
export interface IPricesOfProductsResults {
|
|
2450
|
-
productId: number;
|
|
2451
|
-
userId: number;
|
|
2452
|
-
price: number;
|
|
2453
|
-
groupId?: number;
|
|
2454
|
-
groupName?: string;
|
|
2455
|
-
originalPrice?: number;
|
|
2456
|
-
priceWithoutTax: number;
|
|
2457
|
-
tax: number;
|
|
2458
|
-
isTaxInclusive: boolean;
|
|
2459
|
-
}
|
|
2460
|
-
export interface IPaymentMethodToFundLeft {
|
|
2461
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2462
|
-
paymentMethodId: string;
|
|
2463
|
-
fundLeft: number;
|
|
2464
|
-
ccLast4?: string;
|
|
2465
|
-
ccBrand?: string;
|
|
2466
|
-
}
|
|
2467
|
-
export interface IVariantsAndTitle {
|
|
2468
|
-
title: VariantTitle;
|
|
2469
|
-
variants: Variant[];
|
|
2470
|
-
}
|
|
2471
|
-
export interface IProgramSeasonActivityTimes {
|
|
2472
|
-
dayOfWeek: number;
|
|
2473
|
-
open: string;
|
|
2474
|
-
close: string;
|
|
2475
|
-
}
|
|
2476
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2477
|
-
date: string;
|
|
2478
|
-
startTime: string;
|
|
2479
|
-
endTime: string;
|
|
2480
|
-
}
|
|
2481
|
-
export interface IBlockedDates {
|
|
2482
|
-
name: string;
|
|
2483
|
-
startDate: Date;
|
|
2484
|
-
endDate: Date;
|
|
2485
|
-
}
|
|
2486
|
-
export interface ISingleMemberForRenewal {
|
|
2487
|
-
member_id: number;
|
|
2488
|
-
member_membershipId: number;
|
|
2489
|
-
member_userId: number;
|
|
2490
|
-
member_nextPaymentMethodId?: string;
|
|
2491
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2492
|
-
member_answerTitleIds?: number[];
|
|
2493
|
-
member_organizationId: number;
|
|
2494
|
-
line_paidAmount: number;
|
|
2495
|
-
line_productId: number;
|
|
2496
|
-
order_payingUserId: number;
|
|
2497
|
-
order_paymentMethodId: string;
|
|
2498
|
-
order_paymentType: PaymentMethodTypeEnum;
|
|
2499
|
-
endDate: Date;
|
|
2500
|
-
membership_name: string;
|
|
2501
|
-
user_firstName: string;
|
|
2502
|
-
user_lastName: string;
|
|
2503
|
-
user_email: string;
|
|
2504
|
-
}
|
|
2505
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2506
|
-
package_parentProductId: number;
|
|
2507
|
-
line2_paidAmount: number;
|
|
2508
|
-
familyid: number;
|
|
2509
|
-
order_id: number;
|
|
2510
|
-
}
|
|
2511
|
-
export interface IResourceRegistrationData {
|
|
2512
|
-
id: number;
|
|
2513
|
-
resourceType: ResourceNameTypeEnum;
|
|
2514
|
-
openNumDays?: number;
|
|
2515
|
-
openNumMinutes?: number;
|
|
2516
|
-
openTime?: string;
|
|
2517
|
-
closeNumDays?: number;
|
|
2518
|
-
closeNumMinutes?: number;
|
|
2519
|
-
closeTime?: string;
|
|
2520
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2521
|
-
}
|
|
2522
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2523
|
-
id: number;
|
|
2524
|
-
startDate: string;
|
|
2525
|
-
startTime: string;
|
|
2526
|
-
}
|
|
2527
|
-
export interface IRegistrationConstraintsSetting {
|
|
2528
|
-
numDays?: number;
|
|
2529
|
-
numMinutes?: number;
|
|
2530
|
-
}
|
|
2531
|
-
export interface IAttendeeDataToNotify {
|
|
2532
|
-
firstName: string;
|
|
2533
|
-
lastName: string;
|
|
2534
|
-
email: string;
|
|
2535
|
-
sessionName: string;
|
|
2536
|
-
parentSessionName?: string;
|
|
2537
|
-
organizationName: string;
|
|
2538
|
-
programName: string;
|
|
2539
|
-
}
|
|
2540
|
-
export interface IEventInSchedule {
|
|
2541
|
-
eventId: number;
|
|
2542
|
-
eventName: string;
|
|
2543
|
-
eventStartDate: string;
|
|
2544
|
-
eventEndDate: string;
|
|
2545
|
-
eventStartTime: string;
|
|
2546
|
-
eventEndTime: string;
|
|
2547
|
-
programId: number;
|
|
2548
|
-
programName: string;
|
|
2549
|
-
programType: ProgramTypesEnum;
|
|
2550
|
-
sessionId: number;
|
|
2551
|
-
sessionName: string;
|
|
2552
|
-
sports: number;
|
|
2553
|
-
spaces: {
|
|
2554
|
-
spaceId: number;
|
|
2555
|
-
spaceName: string;
|
|
2556
|
-
}[];
|
|
2557
|
-
status?: RegistrationValidationStatusEnum;
|
|
2558
|
-
}
|
|
2559
|
-
export interface ISlotInSchedule {
|
|
2560
|
-
facilityId: number;
|
|
2561
|
-
facilityName: string;
|
|
2562
|
-
spaces: ISpaceWithSlots[];
|
|
2563
|
-
}
|
|
2564
|
-
export interface ISpaceWithSlots {
|
|
2565
|
-
id: number;
|
|
2566
|
-
name: string;
|
|
2567
|
-
slots: ISlotReservationData[];
|
|
2568
|
-
}
|
|
2569
|
-
export interface ISlotReservationData {
|
|
2570
|
-
reservationId: number;
|
|
2571
|
-
reservationName: string;
|
|
2572
|
-
date: string;
|
|
2573
|
-
startTime: string;
|
|
2574
|
-
endTime: string;
|
|
2575
|
-
notes: string;
|
|
2576
|
-
spaceId: number;
|
|
2577
|
-
isRental: boolean;
|
|
2578
|
-
slotType: SlotTypeEnum;
|
|
2579
|
-
slotId: number;
|
|
2580
|
-
eventId: number;
|
|
2581
|
-
isPrivate: boolean;
|
|
2582
|
-
}
|
|
2583
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2584
|
-
parentSessionId: number;
|
|
2585
|
-
parentSessionName: string;
|
|
2586
|
-
eventTimezone: string;
|
|
2587
|
-
maxParticipants: number;
|
|
2588
|
-
maxMaleParticipants: number;
|
|
2589
|
-
maxFemaleParticipants: number;
|
|
2590
|
-
isPunchCard: boolean;
|
|
2591
|
-
}
|
|
2592
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2593
|
-
id: number;
|
|
2594
|
-
name: string;
|
|
2595
|
-
bookingCreatorId: number;
|
|
2596
|
-
}
|
|
2597
|
-
export interface IRawSlotInSchedule {
|
|
2598
|
-
startDate: string;
|
|
2599
|
-
endDate: string;
|
|
2600
|
-
startTime: string;
|
|
2601
|
-
endTime: string;
|
|
2602
|
-
reservationId: number;
|
|
2603
|
-
eventTitle: string;
|
|
2604
|
-
publicNotes: string;
|
|
2605
|
-
spaceId: number;
|
|
2606
|
-
creatorType: ResourceNameTypeEnum;
|
|
2607
|
-
slotType: SlotTypeEnum;
|
|
2608
|
-
slotId: number;
|
|
2609
|
-
eventId: number;
|
|
2610
|
-
isPrivate: boolean;
|
|
2611
|
-
}
|
|
2612
|
-
export interface IPurchasedResourcesRaw {
|
|
2613
|
-
purchasedId: number;
|
|
2614
|
-
purchasedProductUserId: number;
|
|
2615
|
-
purchasedResourceId: number;
|
|
2616
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2617
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2618
|
-
pUserId: number;
|
|
2619
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2620
|
-
pUserProductId: number;
|
|
2621
|
-
pUserProductName: string;
|
|
2622
|
-
pUserProductPrice: number;
|
|
2623
|
-
pUserProductPriceCurrency: string;
|
|
2624
|
-
pUserProductQuantity: number;
|
|
2625
|
-
pUserProductQuantityLeft: number;
|
|
2626
|
-
pUserUserId: number;
|
|
2627
|
-
}
|
|
2628
|
-
export interface IUsersPasses {
|
|
2629
|
-
userId: number;
|
|
2630
|
-
userFirstName: string;
|
|
2631
|
-
userLastName: string;
|
|
2632
|
-
organizationId: number;
|
|
2633
|
-
programId: number;
|
|
2634
|
-
programName: string;
|
|
2635
|
-
sessionId: number;
|
|
2636
|
-
sessionName: string;
|
|
2637
|
-
productId: number;
|
|
2638
|
-
productName: string;
|
|
2639
|
-
productUserId: number;
|
|
2640
|
-
purchaseDate: Date;
|
|
2641
|
-
passesLeft: number;
|
|
2642
|
-
}
|
|
2643
|
-
export interface ISessionsLandingPage {
|
|
2644
|
-
sessionId: number;
|
|
2645
|
-
name: string;
|
|
2646
|
-
startDate: Date;
|
|
2647
|
-
endDate: Date;
|
|
2648
|
-
registrationStartDate: Date;
|
|
2649
|
-
registrationEndDate: Date;
|
|
2650
|
-
sport: SportsEnum;
|
|
2651
|
-
minAge: string;
|
|
2652
|
-
maxAge: string;
|
|
2653
|
-
maxParticipants?: number;
|
|
2654
|
-
gender: GenderEnum;
|
|
2655
|
-
activityTimes: ActivityTimes[];
|
|
2656
|
-
earlyRegistrationStartDate?: Date;
|
|
2657
|
-
earlyRegistrationEndDate?: Date;
|
|
2658
|
-
lateRegistrationStartDate?: Date;
|
|
2659
|
-
lateRegistrationEndDate?: Date;
|
|
2660
|
-
attendeeCount?: number;
|
|
2661
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2662
|
-
}
|
|
2663
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2664
|
-
hasRequiredMembership: boolean;
|
|
2665
|
-
hasEntitledPricing: boolean;
|
|
2666
|
-
lowestPrice?: number;
|
|
2667
|
-
products?: ISessionLandingPageProduct[];
|
|
2668
|
-
}
|
|
2669
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2670
|
-
hasRequiredMembership: boolean;
|
|
2671
|
-
hasEntitledPricing: boolean;
|
|
2672
|
-
products?: ISessionLandingPageProduct[];
|
|
2673
|
-
segments?: Event[] | ProgramSeason[];
|
|
2674
|
-
programName: string;
|
|
2675
|
-
programId: number;
|
|
2676
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2677
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2678
|
-
}
|
|
2679
|
-
export interface ISlimAddons {
|
|
2680
|
-
addons?: {
|
|
2681
|
-
id: number;
|
|
2682
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2683
|
-
name: string;
|
|
2684
|
-
productType?: ProductTypesEnum;
|
|
2685
|
-
productSubType?: string;
|
|
2686
|
-
}[];
|
|
2687
|
-
}
|
|
2688
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2689
|
-
id: number;
|
|
2690
|
-
name: string;
|
|
2691
|
-
startDate?: Date;
|
|
2692
|
-
endDate?: Date;
|
|
2693
|
-
downpayment?: number;
|
|
2694
|
-
description?: string;
|
|
2695
|
-
prices: Price[];
|
|
2696
|
-
productSubType?: ProductSubTypesEnum;
|
|
2697
|
-
punchCard: boolean;
|
|
2698
|
-
isAddon: boolean;
|
|
2699
|
-
defaultPriceId?: number;
|
|
2700
|
-
}
|
|
2701
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2702
|
-
destinationId?: string;
|
|
2703
|
-
stripeCustomerId?: string;
|
|
2704
|
-
fee?: number;
|
|
2705
|
-
}
|
|
2706
|
-
export interface IReservationCreatorData {
|
|
2707
|
-
type: ResourceNameTypeEnum;
|
|
2708
|
-
id: number;
|
|
2709
|
-
organizationId: number;
|
|
2710
|
-
startDate: string;
|
|
2711
|
-
endDate: string;
|
|
2712
|
-
sportId: number;
|
|
2713
|
-
}
|
|
2714
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2715
|
-
QUESTION = "question",
|
|
2716
|
-
CITY = "city",
|
|
2717
|
-
MEMBERSHIP = "membership"
|
|
2346
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2347
|
+
QUESTION = "question",
|
|
2348
|
+
CITY = "city",
|
|
2349
|
+
MEMBERSHIP = "membership"
|
|
2718
2350
|
}
|
|
2719
2351
|
export declare enum ResourceNameTypeEnum {
|
|
2720
2352
|
EVENT = "event",
|
|
@@ -3019,224 +2651,592 @@ export declare enum DayOfWeekEnum {
|
|
|
3019
2651
|
FRIDAY = 5,
|
|
3020
2652
|
SATURDAY = 6
|
|
3021
2653
|
}
|
|
3022
|
-
export declare enum ActionTypesEnum {
|
|
3023
|
-
CREATE = "create",
|
|
3024
|
-
READ = "read",
|
|
3025
|
-
UPDATE = "update",
|
|
3026
|
-
DELETE = "delete"
|
|
2654
|
+
export declare enum ActionTypesEnum {
|
|
2655
|
+
CREATE = "create",
|
|
2656
|
+
READ = "read",
|
|
2657
|
+
UPDATE = "update",
|
|
2658
|
+
DELETE = "delete"
|
|
2659
|
+
}
|
|
2660
|
+
export declare enum ActionSourcePlatformEnum {
|
|
2661
|
+
ADMIN = "admin",
|
|
2662
|
+
BACKOFFICE = "backoffice",
|
|
2663
|
+
CONSUMER = "consumer"
|
|
2664
|
+
}
|
|
2665
|
+
export declare enum RolesEnum {
|
|
2666
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2667
|
+
BOND_ADMIN = "bondAdmin"
|
|
2668
|
+
}
|
|
2669
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2670
|
+
IN_POOL = 5,
|
|
2671
|
+
ASSIGNED = 1,
|
|
2672
|
+
QUIT = 2,
|
|
2673
|
+
SUSPENDED = 3,
|
|
2674
|
+
INACTIVE = 4
|
|
2675
|
+
}
|
|
2676
|
+
export declare enum AmenitiesEnum {
|
|
2677
|
+
HEAT = 1,
|
|
2678
|
+
AC = 2,
|
|
2679
|
+
WIFI = 3,
|
|
2680
|
+
RESTROOMS = 4,
|
|
2681
|
+
DRINKING_FOUNTAIN = 5,
|
|
2682
|
+
PARKING = 6,
|
|
2683
|
+
CONCESSIONS = 7,
|
|
2684
|
+
SHELTER = 8,
|
|
2685
|
+
PORTABLE_RESTROOMS = 9,
|
|
2686
|
+
LIGHTS = 10,
|
|
2687
|
+
LOCKER_ROOM = 11,
|
|
2688
|
+
PAID_PARKING = 12,
|
|
2689
|
+
ACCESSIBLE = 13
|
|
2690
|
+
}
|
|
2691
|
+
export declare enum ResourceSubTypeEnum {
|
|
2692
|
+
COURT = "court",
|
|
2693
|
+
FIELD = "field",
|
|
2694
|
+
ROOM = "room",
|
|
2695
|
+
DIAMOND = "diamond",
|
|
2696
|
+
RINK = "rink",
|
|
2697
|
+
STUDIO = "studio",
|
|
2698
|
+
POOL = "pool",
|
|
2699
|
+
BATTING_CAGE = "batting cage",
|
|
2700
|
+
SHELTER = "shelter",
|
|
2701
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2702
|
+
}
|
|
2703
|
+
export declare enum ResourceTypeEnum {
|
|
2704
|
+
SPACE = "space"
|
|
2705
|
+
}
|
|
2706
|
+
export declare enum ResourceAgesEnum {
|
|
2707
|
+
ADULTS = "adults",
|
|
2708
|
+
CHILDREN = "children"
|
|
2709
|
+
}
|
|
2710
|
+
export declare enum SpacePropertiesEnum {
|
|
2711
|
+
OUTDOOR = "outdoor",
|
|
2712
|
+
INDOOR = "indoor"
|
|
2713
|
+
}
|
|
2714
|
+
export declare enum SurfacesEnum {
|
|
2715
|
+
GRASS = "grass",
|
|
2716
|
+
TURF = "turf",
|
|
2717
|
+
FIELD_TURF = "fieldTurf",
|
|
2718
|
+
ASTRO_TURF = "astroTurf",
|
|
2719
|
+
HARDWOOD = "hardwood",
|
|
2720
|
+
ASPHALT = "asphalt",
|
|
2721
|
+
SAND = "sand",
|
|
2722
|
+
ICE = "ice",
|
|
2723
|
+
SPORT_COURT = "sportCourt"
|
|
2724
|
+
}
|
|
2725
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2726
|
+
MINUTES = "minutes",
|
|
2727
|
+
DAYS = "days"
|
|
2728
|
+
}
|
|
2729
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2730
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2731
|
+
OPEN = "open",
|
|
2732
|
+
CLOSED = "closed"
|
|
2733
|
+
}
|
|
2734
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2735
|
+
FULL = "full",
|
|
2736
|
+
ALREADY_REGISTERED = "registered",
|
|
2737
|
+
AVAILABLE = "available",
|
|
2738
|
+
NOT_OPEN_YET = "not opened",
|
|
2739
|
+
ALREADY_CLOSED = "closed",
|
|
2740
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2741
|
+
}
|
|
2742
|
+
export declare enum DiscountMethodsEnum {
|
|
2743
|
+
PERCENT = "percent",
|
|
2744
|
+
AMOUNT = "amount"
|
|
2745
|
+
}
|
|
2746
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2747
|
+
ORGANIZATION = "organization"
|
|
2748
|
+
}
|
|
2749
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2750
|
+
USA = "USA"
|
|
2751
|
+
}
|
|
2752
|
+
export declare enum DateTimeFormatsEnum {
|
|
2753
|
+
API_DATE = "YYYY/MM/DD",
|
|
2754
|
+
API_TIME = "HH:mm:ss"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum SlotTypeEnum {
|
|
2757
|
+
EXTERNAL = "external",
|
|
2758
|
+
INTERNAL = "internal",
|
|
2759
|
+
MAINTENANCE = "maintenance",
|
|
2760
|
+
CUSTOM = "custom"
|
|
2761
|
+
}
|
|
2762
|
+
export declare enum PlatformsEnum {
|
|
2763
|
+
CONSUMER = "consumer",
|
|
2764
|
+
BO = "backoffice",
|
|
2765
|
+
MOBILE = "mobile",
|
|
2766
|
+
CRON = "cron"
|
|
2767
|
+
}
|
|
2768
|
+
export declare enum ShiftStatusEnum {
|
|
2769
|
+
OPEN = "open",
|
|
2770
|
+
CLOSED = "closed",
|
|
2771
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2772
|
+
RECONCILED = "reconciled"
|
|
2773
|
+
}
|
|
2774
|
+
export declare enum EventStatusEnum {
|
|
2775
|
+
OPEN = 1,
|
|
2776
|
+
DRAFT = 2,
|
|
2777
|
+
FULL = 3,
|
|
2778
|
+
CANCELLED = 4,
|
|
2779
|
+
CLOSED = 5,
|
|
2780
|
+
DELETED = 6
|
|
2781
|
+
}
|
|
2782
|
+
export declare enum ReservationTypeEnum {
|
|
2783
|
+
RENTAL = "rental",
|
|
2784
|
+
PROGRAM = "program",
|
|
2785
|
+
MAINTENANCE = "maintenance",
|
|
2786
|
+
CUSTOM = "custom"
|
|
2787
|
+
}
|
|
2788
|
+
export declare enum SlotDurationTypeEnum {
|
|
2789
|
+
DATES = "dates",
|
|
2790
|
+
ALL_DAY = "all day",
|
|
2791
|
+
DURATION = "duration"
|
|
2792
|
+
}
|
|
2793
|
+
export declare enum DurationUnitTypesEnum {
|
|
2794
|
+
MINUTES = "minutes",
|
|
2795
|
+
HOURS = "hours"
|
|
2796
|
+
}
|
|
2797
|
+
export declare enum FrequencyEnum {
|
|
2798
|
+
NONE = "none",
|
|
2799
|
+
WEEKLY = "weekly",
|
|
2800
|
+
DAILY = "daily",
|
|
2801
|
+
MONTHLY = "monthly",
|
|
2802
|
+
YEARLY = "yearly"
|
|
2803
|
+
}
|
|
2804
|
+
export declare enum MaintenanceTimingEnum {
|
|
2805
|
+
BEFORE = 1,
|
|
2806
|
+
AFTER = 2,
|
|
2807
|
+
AT_THE_BEGINING = 3,
|
|
2808
|
+
AT_THE_END = 4
|
|
2809
|
+
}
|
|
2810
|
+
export declare enum CreatorTypeEnum {
|
|
2811
|
+
SPACE = "space",
|
|
2812
|
+
PROGRAM_SEASON = "program_season"
|
|
2813
|
+
}
|
|
2814
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2815
|
+
INDIVIDUAL = "indvidual",
|
|
2816
|
+
CATEGORY = "category",
|
|
2817
|
+
GLOBAL = "global"
|
|
2818
|
+
}
|
|
2819
|
+
export declare enum BondDayOfWeekEnum {
|
|
2820
|
+
MONDAY = 2,
|
|
2821
|
+
TUESDAY = 3,
|
|
2822
|
+
WEDNESDAY = 4,
|
|
2823
|
+
THURSDAY = 5,
|
|
2824
|
+
FRIDAY = 6,
|
|
2825
|
+
SATURDAY = 7,
|
|
2826
|
+
SUNDAY = 8
|
|
2827
|
+
}
|
|
2828
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2829
|
+
NEW = "new",
|
|
2830
|
+
NO = "no",
|
|
2831
|
+
YES = "yes"
|
|
2832
|
+
}
|
|
2833
|
+
export declare enum ProductPackageLevelEnum {
|
|
2834
|
+
HOUR = "hour",
|
|
2835
|
+
SLOT = "slot",
|
|
2836
|
+
RESERVATION = "reservation"
|
|
2837
|
+
}
|
|
2838
|
+
export declare enum CancellationStatusEnum {
|
|
2839
|
+
IMMEDIATE = "immediate",
|
|
2840
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2841
|
+
}
|
|
2842
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2843
|
+
DRAFT = 0,
|
|
2844
|
+
PUBLISHED = 1
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum FinancialStepEnum {
|
|
2847
|
+
VOID = "void",
|
|
2848
|
+
REFUND = "refund",
|
|
2849
|
+
NONE = "none",
|
|
2850
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2851
|
+
APPEND = "append"
|
|
2852
|
+
}
|
|
2853
|
+
export declare enum StripeAccountTypesEnum {
|
|
2854
|
+
STRIPE = "stripe",
|
|
2855
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2856
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2857
|
+
}
|
|
2858
|
+
export declare enum LinkedAccountStatus {
|
|
2859
|
+
PENDING = 1,
|
|
2860
|
+
ACTIVE = 2,
|
|
2861
|
+
PRE_PENDING = 3
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum AddonParentTypeEnum {
|
|
2864
|
+
RESERVATION = "reservation",
|
|
2865
|
+
SLOT = "slot"
|
|
2866
|
+
}
|
|
2867
|
+
export declare enum EEmailStatus {
|
|
2868
|
+
SENT = "sent",
|
|
2869
|
+
OPENED = "opened",
|
|
2870
|
+
PAID = "paid",
|
|
2871
|
+
CANCELED = "canceled"
|
|
2872
|
+
}
|
|
2873
|
+
export interface IEntitlementTerms {
|
|
2874
|
+
type: EntitlementTermsTypesEnum;
|
|
2875
|
+
id?: number;
|
|
2876
|
+
value?: string;
|
|
2877
|
+
minValue?: string;
|
|
2878
|
+
maxValue?: string;
|
|
2879
|
+
}
|
|
2880
|
+
export interface IQuestionAnswerObject {
|
|
2881
|
+
questionId: number;
|
|
2882
|
+
value: string;
|
|
2883
|
+
}
|
|
2884
|
+
export interface ILowestPriceForItem {
|
|
2885
|
+
itemId: number;
|
|
2886
|
+
itemType: ResourceNameTypeEnum;
|
|
2887
|
+
groupId: number;
|
|
2888
|
+
groupName?: string;
|
|
2889
|
+
price: number;
|
|
2890
|
+
overridesPrice: boolean;
|
|
2891
|
+
}
|
|
2892
|
+
export interface IResourcesAvailability {
|
|
2893
|
+
resourceType: ResourceNameTypeEnum;
|
|
2894
|
+
quantity: number;
|
|
2895
|
+
resourcesIds: number[];
|
|
2896
|
+
isPunchCard: boolean;
|
|
2897
|
+
resources?: any[];
|
|
2898
|
+
}
|
|
2899
|
+
export interface IPackageResponse {
|
|
2900
|
+
parentProduct: Product;
|
|
2901
|
+
children: IChildProduct[];
|
|
2902
|
+
}
|
|
2903
|
+
export interface IChildProduct {
|
|
2904
|
+
product: Product;
|
|
2905
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2906
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2907
|
+
}
|
|
2908
|
+
export interface ISeasonAttendeeInfo {
|
|
2909
|
+
applicationAnswers: Answer[];
|
|
2910
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2911
|
+
invoices: Order[];
|
|
2912
|
+
payments: Invoice[];
|
|
2913
|
+
products: Product[];
|
|
2914
|
+
redeemNext: ProductsUsers;
|
|
3027
2915
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
2916
|
+
export interface ISeasonAttendeeListInfo {
|
|
2917
|
+
userId: number;
|
|
2918
|
+
userFirstName: string;
|
|
2919
|
+
userLastName: string;
|
|
2920
|
+
userGender: number;
|
|
2921
|
+
userBirthDate: Date;
|
|
2922
|
+
userProfilePicUrl: string;
|
|
2923
|
+
customerId: number;
|
|
2924
|
+
customerEmail: string;
|
|
2925
|
+
paymentStatus: string;
|
|
2926
|
+
productName: string;
|
|
2927
|
+
punchCard: boolean;
|
|
3032
2928
|
}
|
|
3033
|
-
export declare
|
|
3034
|
-
|
|
3035
|
-
|
|
2929
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2930
|
+
segmentType: ResourceNameTypeEnum;
|
|
2931
|
+
participantRegisteredDate?: string;
|
|
3036
2932
|
}
|
|
3037
|
-
export declare
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
QUIT = 2,
|
|
3041
|
-
SUSPENDED = 3,
|
|
3042
|
-
INACTIVE = 4
|
|
2933
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2934
|
+
segmentType: ResourceNameTypeEnum;
|
|
2935
|
+
participantRegisteredDate?: string;
|
|
3043
2936
|
}
|
|
3044
|
-
export
|
|
3045
|
-
|
|
3046
|
-
AC = 2,
|
|
3047
|
-
WIFI = 3,
|
|
3048
|
-
RESTROOMS = 4,
|
|
3049
|
-
DRINKING_FOUNTAIN = 5,
|
|
3050
|
-
PARKING = 6,
|
|
3051
|
-
CONCESSIONS = 7,
|
|
3052
|
-
SHELTER = 8,
|
|
3053
|
-
PORTABLE_RESTROOMS = 9,
|
|
3054
|
-
LIGHTS = 10,
|
|
3055
|
-
LOCKER_ROOM = 11,
|
|
3056
|
-
PAID_PARKING = 12,
|
|
3057
|
-
ACCESSIBLE = 13
|
|
2937
|
+
export interface ITokenResonse {
|
|
2938
|
+
token: string;
|
|
3058
2939
|
}
|
|
3059
|
-
export
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
RINK = "rink",
|
|
3065
|
-
STUDIO = "studio",
|
|
3066
|
-
POOL = "pool",
|
|
3067
|
-
BATTING_CAGE = "batting cage",
|
|
3068
|
-
SHELTER = "shelter",
|
|
3069
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2940
|
+
export interface IStripeBondInvoices {
|
|
2941
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2942
|
+
bondPaidInvoice: Invoice;
|
|
2943
|
+
order?: Order;
|
|
2944
|
+
customer?: Customer;
|
|
3070
2945
|
}
|
|
3071
|
-
export
|
|
3072
|
-
|
|
2946
|
+
export interface IPartialPaymentData {
|
|
2947
|
+
purchasingUserId: number;
|
|
2948
|
+
paymentData: PurchasePaymentDto;
|
|
2949
|
+
amountToPay: number;
|
|
3073
2950
|
}
|
|
3074
|
-
export
|
|
3075
|
-
|
|
3076
|
-
|
|
2951
|
+
export interface IPayment {
|
|
2952
|
+
id: number;
|
|
2953
|
+
total: number;
|
|
2954
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2955
|
+
status: PaymentStatusEnum;
|
|
2956
|
+
createdAt: Date;
|
|
2957
|
+
invoices: number[];
|
|
3077
2958
|
}
|
|
3078
|
-
export
|
|
3079
|
-
|
|
3080
|
-
|
|
2959
|
+
export interface IPaginationData<T> {
|
|
2960
|
+
meta: {
|
|
2961
|
+
totalItems: number;
|
|
2962
|
+
itemsPerPage: number;
|
|
2963
|
+
totalPages: number;
|
|
2964
|
+
currentPage: number;
|
|
2965
|
+
};
|
|
2966
|
+
data: T[];
|
|
3081
2967
|
}
|
|
3082
|
-
export
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
2968
|
+
export interface IPricesOfProductsResults {
|
|
2969
|
+
productId: number;
|
|
2970
|
+
userId: number;
|
|
2971
|
+
price: number;
|
|
2972
|
+
groupId?: number;
|
|
2973
|
+
groupName?: string;
|
|
2974
|
+
originalPrice?: number;
|
|
2975
|
+
priceWithoutTax: number;
|
|
2976
|
+
tax: number;
|
|
2977
|
+
isTaxInclusive: boolean;
|
|
3092
2978
|
}
|
|
3093
|
-
export
|
|
3094
|
-
|
|
3095
|
-
|
|
2979
|
+
export interface IPaymentMethodToFundLeft {
|
|
2980
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2981
|
+
paymentMethodId: string;
|
|
2982
|
+
fundLeft: number;
|
|
2983
|
+
ccLast4?: string;
|
|
2984
|
+
ccBrand?: string;
|
|
3096
2985
|
}
|
|
3097
|
-
export
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
CLOSED = "closed"
|
|
2986
|
+
export interface IVariantsAndTitle {
|
|
2987
|
+
title: VariantTitle;
|
|
2988
|
+
variants: Variant[];
|
|
3101
2989
|
}
|
|
3102
|
-
export
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
NOT_OPEN_YET = "not opened",
|
|
3107
|
-
ALREADY_CLOSED = "closed",
|
|
3108
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2990
|
+
export interface IProgramSeasonActivityTimes {
|
|
2991
|
+
dayOfWeek: number;
|
|
2992
|
+
open: string;
|
|
2993
|
+
close: string;
|
|
3109
2994
|
}
|
|
3110
|
-
export
|
|
3111
|
-
|
|
3112
|
-
|
|
2995
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2996
|
+
date: string;
|
|
2997
|
+
startTime: string;
|
|
2998
|
+
endTime: string;
|
|
3113
2999
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3000
|
+
export interface IBlockedDates {
|
|
3001
|
+
name: string;
|
|
3002
|
+
startDate: Date;
|
|
3003
|
+
endDate: Date;
|
|
3116
3004
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3005
|
+
export interface ISingleMemberForRenewal {
|
|
3006
|
+
member_id: number;
|
|
3007
|
+
member_membershipId: number;
|
|
3008
|
+
member_userId: number;
|
|
3009
|
+
member_nextPaymentMethodId?: string;
|
|
3010
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3011
|
+
member_answerTitleIds?: number[];
|
|
3012
|
+
member_organizationId: number;
|
|
3013
|
+
line_paidAmount: number;
|
|
3014
|
+
line_productId: number;
|
|
3015
|
+
order_payingUserId: number;
|
|
3016
|
+
order_paymentMethodId: string;
|
|
3017
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
3018
|
+
endDate: Date;
|
|
3019
|
+
membership_name: string;
|
|
3020
|
+
user_firstName: string;
|
|
3021
|
+
user_lastName: string;
|
|
3022
|
+
user_email: string;
|
|
3119
3023
|
}
|
|
3120
|
-
export
|
|
3121
|
-
|
|
3122
|
-
|
|
3024
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3025
|
+
package_parentProductId: number;
|
|
3026
|
+
line2_paidAmount: number;
|
|
3027
|
+
familyid: number;
|
|
3028
|
+
order_id: number;
|
|
3123
3029
|
}
|
|
3124
|
-
export
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3030
|
+
export interface IResourceRegistrationData {
|
|
3031
|
+
id: number;
|
|
3032
|
+
resourceType: ResourceNameTypeEnum;
|
|
3033
|
+
openNumDays?: number;
|
|
3034
|
+
openNumMinutes?: number;
|
|
3035
|
+
openTime?: string;
|
|
3036
|
+
closeNumDays?: number;
|
|
3037
|
+
closeNumMinutes?: number;
|
|
3038
|
+
closeTime?: string;
|
|
3039
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3129
3040
|
}
|
|
3130
|
-
export
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
CRON = "cron"
|
|
3041
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3042
|
+
id: number;
|
|
3043
|
+
startDate: string;
|
|
3044
|
+
startTime: string;
|
|
3135
3045
|
}
|
|
3136
|
-
export
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3140
|
-
RECONCILED = "reconciled"
|
|
3046
|
+
export interface IRegistrationConstraintsSetting {
|
|
3047
|
+
numDays?: number;
|
|
3048
|
+
numMinutes?: number;
|
|
3141
3049
|
}
|
|
3142
|
-
export
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3050
|
+
export interface IAttendeeDataToNotify {
|
|
3051
|
+
firstName: string;
|
|
3052
|
+
lastName: string;
|
|
3053
|
+
email: string;
|
|
3054
|
+
sessionName: string;
|
|
3055
|
+
parentSessionName?: string;
|
|
3056
|
+
organizationName: string;
|
|
3057
|
+
programName: string;
|
|
3149
3058
|
}
|
|
3150
|
-
export
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3059
|
+
export interface IEventInSchedule {
|
|
3060
|
+
eventId: number;
|
|
3061
|
+
eventName: string;
|
|
3062
|
+
eventStartDate: string;
|
|
3063
|
+
eventEndDate: string;
|
|
3064
|
+
eventStartTime: string;
|
|
3065
|
+
eventEndTime: string;
|
|
3066
|
+
programId: number;
|
|
3067
|
+
programName: string;
|
|
3068
|
+
programType: ProgramTypesEnum;
|
|
3069
|
+
sessionId: number;
|
|
3070
|
+
sessionName: string;
|
|
3071
|
+
sports: number;
|
|
3072
|
+
spaces: {
|
|
3073
|
+
spaceId: number;
|
|
3074
|
+
spaceName: string;
|
|
3075
|
+
}[];
|
|
3076
|
+
status?: RegistrationValidationStatusEnum;
|
|
3155
3077
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3078
|
+
export interface ISlotInSchedule {
|
|
3079
|
+
facilityId: number;
|
|
3080
|
+
facilityName: string;
|
|
3081
|
+
spaces: ISpaceWithSlots[];
|
|
3160
3082
|
}
|
|
3161
|
-
export
|
|
3162
|
-
|
|
3163
|
-
|
|
3083
|
+
export interface ISpaceWithSlots {
|
|
3084
|
+
id: number;
|
|
3085
|
+
name: string;
|
|
3086
|
+
slots: ISlotReservationData[];
|
|
3164
3087
|
}
|
|
3165
|
-
export
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3088
|
+
export interface ISlotReservationData {
|
|
3089
|
+
reservationId: number;
|
|
3090
|
+
reservationName: string;
|
|
3091
|
+
date: string;
|
|
3092
|
+
startTime: string;
|
|
3093
|
+
endTime: string;
|
|
3094
|
+
notes: string;
|
|
3095
|
+
spaceId: number;
|
|
3096
|
+
isRental: boolean;
|
|
3097
|
+
slotType: SlotTypeEnum;
|
|
3098
|
+
slotId: number;
|
|
3099
|
+
eventId: number;
|
|
3100
|
+
isPrivate: boolean;
|
|
3171
3101
|
}
|
|
3172
|
-
export
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3102
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3103
|
+
parentSessionId: number;
|
|
3104
|
+
parentSessionName: string;
|
|
3105
|
+
eventTimezone: string;
|
|
3106
|
+
maxParticipants: number;
|
|
3107
|
+
maxMaleParticipants: number;
|
|
3108
|
+
maxFemaleParticipants: number;
|
|
3109
|
+
isPunchCard: boolean;
|
|
3177
3110
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3180
|
-
|
|
3111
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3112
|
+
id: number;
|
|
3113
|
+
name: string;
|
|
3114
|
+
bookingCreatorId: number;
|
|
3181
3115
|
}
|
|
3182
|
-
export
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3116
|
+
export interface IRawSlotInSchedule {
|
|
3117
|
+
startDate: string;
|
|
3118
|
+
endDate: string;
|
|
3119
|
+
startTime: string;
|
|
3120
|
+
endTime: string;
|
|
3121
|
+
reservationId: number;
|
|
3122
|
+
eventTitle: string;
|
|
3123
|
+
publicNotes: string;
|
|
3124
|
+
spaceId: number;
|
|
3125
|
+
creatorType: ResourceNameTypeEnum;
|
|
3126
|
+
slotType: SlotTypeEnum;
|
|
3127
|
+
slotId: number;
|
|
3128
|
+
eventId: number;
|
|
3129
|
+
isPrivate: boolean;
|
|
3186
3130
|
}
|
|
3187
|
-
export
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3131
|
+
export interface IPurchasedResourcesRaw {
|
|
3132
|
+
purchasedId: number;
|
|
3133
|
+
purchasedProductUserId: number;
|
|
3134
|
+
purchasedResourceId: number;
|
|
3135
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3136
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3137
|
+
pUserId: number;
|
|
3138
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3139
|
+
pUserProductId: number;
|
|
3140
|
+
pUserProductName: string;
|
|
3141
|
+
pUserProductPrice: number;
|
|
3142
|
+
pUserProductPriceCurrency: string;
|
|
3143
|
+
pUserProductQuantity: number;
|
|
3144
|
+
pUserProductQuantityLeft: number;
|
|
3145
|
+
pUserUserId: number;
|
|
3195
3146
|
}
|
|
3196
|
-
export
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3147
|
+
export interface IUsersPasses {
|
|
3148
|
+
userId: number;
|
|
3149
|
+
userFirstName: string;
|
|
3150
|
+
userLastName: string;
|
|
3151
|
+
organizationId: number;
|
|
3152
|
+
programId: number;
|
|
3153
|
+
programName: string;
|
|
3154
|
+
sessionId: number;
|
|
3155
|
+
sessionName: string;
|
|
3156
|
+
productId: number;
|
|
3157
|
+
productName: string;
|
|
3158
|
+
productUserId: number;
|
|
3159
|
+
purchaseDate: Date;
|
|
3160
|
+
passesLeft: number;
|
|
3200
3161
|
}
|
|
3201
|
-
export
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3162
|
+
export interface ISessionsLandingPage {
|
|
3163
|
+
sessionId: number;
|
|
3164
|
+
name: string;
|
|
3165
|
+
startDate: Date;
|
|
3166
|
+
endDate: Date;
|
|
3167
|
+
registrationStartDate: Date;
|
|
3168
|
+
registrationEndDate: Date;
|
|
3169
|
+
sport: SportsEnum;
|
|
3170
|
+
minAge: string;
|
|
3171
|
+
maxAge: string;
|
|
3172
|
+
maxParticipants?: number;
|
|
3173
|
+
gender: GenderEnum;
|
|
3174
|
+
activityTimes: ActivityTimes[];
|
|
3175
|
+
earlyRegistrationStartDate?: Date;
|
|
3176
|
+
earlyRegistrationEndDate?: Date;
|
|
3177
|
+
lateRegistrationStartDate?: Date;
|
|
3178
|
+
lateRegistrationEndDate?: Date;
|
|
3179
|
+
attendeeCount?: number;
|
|
3180
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3205
3181
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3182
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3183
|
+
hasRequiredMembership: boolean;
|
|
3184
|
+
hasEntitledPricing: boolean;
|
|
3185
|
+
lowestPrice?: number;
|
|
3186
|
+
products?: ISessionLandingPageProduct[];
|
|
3209
3187
|
}
|
|
3210
|
-
export
|
|
3211
|
-
|
|
3212
|
-
|
|
3188
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3189
|
+
hasRequiredMembership: boolean;
|
|
3190
|
+
hasEntitledPricing: boolean;
|
|
3191
|
+
products?: ISessionLandingPageProduct[];
|
|
3192
|
+
segments?: Event[] | ProgramSeason[];
|
|
3193
|
+
programName: string;
|
|
3194
|
+
programId: number;
|
|
3195
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3196
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3213
3197
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3198
|
+
export interface ISlimAddons {
|
|
3199
|
+
addons?: {
|
|
3200
|
+
id: number;
|
|
3201
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3202
|
+
name: string;
|
|
3203
|
+
productType?: ProductTypesEnum;
|
|
3204
|
+
productSubType?: string;
|
|
3205
|
+
}[];
|
|
3220
3206
|
}
|
|
3221
|
-
export
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3207
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3208
|
+
id: number;
|
|
3209
|
+
name: string;
|
|
3210
|
+
startDate?: Date;
|
|
3211
|
+
endDate?: Date;
|
|
3212
|
+
downpayment?: number;
|
|
3213
|
+
description?: string;
|
|
3214
|
+
prices: Price[];
|
|
3215
|
+
productSubType?: ProductSubTypesEnum;
|
|
3216
|
+
punchCard: boolean;
|
|
3217
|
+
isAddon: boolean;
|
|
3218
|
+
defaultPriceId?: number;
|
|
3225
3219
|
}
|
|
3226
|
-
export
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3220
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3221
|
+
destinationId?: string;
|
|
3222
|
+
stripeCustomerId?: string;
|
|
3223
|
+
fee?: number;
|
|
3230
3224
|
}
|
|
3231
|
-
export
|
|
3232
|
-
|
|
3233
|
-
|
|
3225
|
+
export interface IReservationCreatorData {
|
|
3226
|
+
type: ResourceNameTypeEnum;
|
|
3227
|
+
id: number;
|
|
3228
|
+
organizationId: number;
|
|
3229
|
+
startDate: string;
|
|
3230
|
+
endDate: string;
|
|
3231
|
+
sportId: number;
|
|
3234
3232
|
}
|
|
3235
|
-
export declare
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3233
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
3234
|
+
productType: ProductTypesEnum;
|
|
3235
|
+
name: string;
|
|
3236
|
+
ordinal?: number;
|
|
3237
|
+
deletedAt?: Date;
|
|
3238
|
+
stationToSubcategories: StationToSubcategory[];
|
|
3239
|
+
stations: Station[];
|
|
3240
3240
|
}
|
|
3241
3241
|
export declare class ColumnNumericTransformer {
|
|
3242
3242
|
to(data: number): number;
|
|
@@ -3257,22 +3257,6 @@ export declare class AddFamilyDto {
|
|
|
3257
3257
|
parents: AddImportedCustomerDto[];
|
|
3258
3258
|
children: AddImportedCustomerDto[];
|
|
3259
3259
|
}
|
|
3260
|
-
export declare class ProductIdsDto {
|
|
3261
|
-
productIds?: number[];
|
|
3262
|
-
}
|
|
3263
|
-
export declare class ProductImportDto {
|
|
3264
|
-
product: Product;
|
|
3265
|
-
prices: Price[];
|
|
3266
|
-
resourceIds: number[];
|
|
3267
|
-
oldId: number;
|
|
3268
|
-
}
|
|
3269
|
-
export declare class PunchPassDto {
|
|
3270
|
-
CustomerID: string;
|
|
3271
|
-
QuantityLeft: number;
|
|
3272
|
-
BondProgramID: number;
|
|
3273
|
-
BondSessionID: number;
|
|
3274
|
-
ProductID: number;
|
|
3275
|
-
}
|
|
3276
3260
|
export declare enum ImportPaymentTypeEnum {
|
|
3277
3261
|
CREDIT_CARD = "card",
|
|
3278
3262
|
ACH = "ach",
|
|
@@ -3300,13 +3284,29 @@ export declare class ImportedInvoiceDto {
|
|
|
3300
3284
|
payments?: ImportedPaymentDto[];
|
|
3301
3285
|
lines: any;
|
|
3302
3286
|
}
|
|
3303
|
-
export declare class ImportedPaymentDto {
|
|
3304
|
-
invoiceID: string;
|
|
3305
|
-
type: ImportPaymentTypeEnum;
|
|
3306
|
-
description: string;
|
|
3307
|
-
paid: string;
|
|
3308
|
-
date: string;
|
|
3309
|
-
time: string;
|
|
3287
|
+
export declare class ImportedPaymentDto {
|
|
3288
|
+
invoiceID: string;
|
|
3289
|
+
type: ImportPaymentTypeEnum;
|
|
3290
|
+
description: string;
|
|
3291
|
+
paid: string;
|
|
3292
|
+
date: string;
|
|
3293
|
+
time: string;
|
|
3294
|
+
}
|
|
3295
|
+
export declare class ProductIdsDto {
|
|
3296
|
+
productIds?: number[];
|
|
3297
|
+
}
|
|
3298
|
+
export declare class ProductImportDto {
|
|
3299
|
+
product: Product;
|
|
3300
|
+
prices: Price[];
|
|
3301
|
+
resourceIds: number[];
|
|
3302
|
+
oldId: number;
|
|
3303
|
+
}
|
|
3304
|
+
export declare class PunchPassDto {
|
|
3305
|
+
CustomerID: string;
|
|
3306
|
+
QuantityLeft: number;
|
|
3307
|
+
BondProgramID: number;
|
|
3308
|
+
BondSessionID: number;
|
|
3309
|
+
ProductID: number;
|
|
3310
3310
|
}
|
|
3311
3311
|
export declare class ImportedSlotProductDto {
|
|
3312
3312
|
slotID?: string;
|
|
@@ -3359,9 +3359,9 @@ export declare class ImportedReservationDto {
|
|
|
3359
3359
|
slots?: ImportedSlotDto[];
|
|
3360
3360
|
addons?: ImportedSlotProductDto[];
|
|
3361
3361
|
}
|
|
3362
|
-
export declare class
|
|
3363
|
-
|
|
3364
|
-
|
|
3362
|
+
export declare class Lock extends BondBaseEntity {
|
|
3363
|
+
name: string;
|
|
3364
|
+
locked?: Date;
|
|
3365
3365
|
}
|
|
3366
3366
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
3367
|
matchId: number | null;
|
|
@@ -3395,10 +3395,6 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3395
3395
|
eventId: number | null;
|
|
3396
3396
|
status: number | null;
|
|
3397
3397
|
}
|
|
3398
|
-
export declare class Lock extends BondBaseEntity {
|
|
3399
|
-
name: string;
|
|
3400
|
-
locked?: Date;
|
|
3401
|
-
}
|
|
3402
3398
|
export interface ValidatedMonthAndDay {
|
|
3403
3399
|
valid: boolean;
|
|
3404
3400
|
month?: number;
|
|
@@ -3420,6 +3416,10 @@ export interface PaymentStatusesDict {
|
|
|
3420
3416
|
export interface PaymentStatusDict {
|
|
3421
3417
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
3418
|
}
|
|
3419
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3420
|
+
entityType: string;
|
|
3421
|
+
entityId: number;
|
|
3422
|
+
}
|
|
3423
3423
|
export declare class CreateMonitorConfigDto {
|
|
3424
3424
|
facilityId: number;
|
|
3425
3425
|
name: string;
|
|
@@ -3720,47 +3720,6 @@ export declare class MaintenanceDto {
|
|
|
3720
3720
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3721
3721
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3722
3722
|
}
|
|
3723
|
-
export declare class OrderDto {
|
|
3724
|
-
orderId?: string | null;
|
|
3725
|
-
organizationId: number;
|
|
3726
|
-
price: number | null;
|
|
3727
|
-
totalTax?: number;
|
|
3728
|
-
totalWithoutTax?: number;
|
|
3729
|
-
status?: OrderStatusEnum;
|
|
3730
|
-
lineItems: LineItemDto[];
|
|
3731
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3732
|
-
currency: CurrencyEnum;
|
|
3733
|
-
creatingUserId?: number;
|
|
3734
|
-
platform?: PlatformsEnum;
|
|
3735
|
-
}
|
|
3736
|
-
export declare class BaseInvoiceDto {
|
|
3737
|
-
platform: PlatformsEnum;
|
|
3738
|
-
shiftId?: number;
|
|
3739
|
-
}
|
|
3740
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3741
|
-
purchasingUserId: number;
|
|
3742
|
-
slots: number[];
|
|
3743
|
-
}
|
|
3744
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3745
|
-
reservationTotalPrice: number;
|
|
3746
|
-
}
|
|
3747
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3748
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3749
|
-
addToOrderId?: number;
|
|
3750
|
-
}
|
|
3751
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3752
|
-
isInvoiced: boolean;
|
|
3753
|
-
}
|
|
3754
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3755
|
-
slotsIds?: number[];
|
|
3756
|
-
addonsIds?: number[];
|
|
3757
|
-
}
|
|
3758
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3759
|
-
slots: SlotDto[];
|
|
3760
|
-
}
|
|
3761
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3762
|
-
segments: SegmentDto[];
|
|
3763
|
-
}
|
|
3764
3723
|
export declare class PurchasedResourceDto {
|
|
3765
3724
|
resourceId?: number;
|
|
3766
3725
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3889,13 +3848,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3889
3848
|
export declare class UpdateSlotsDto {
|
|
3890
3849
|
slots: SlotDto[];
|
|
3891
3850
|
}
|
|
3892
|
-
export declare class
|
|
3851
|
+
export declare class EditItemsRefundMetaDto {
|
|
3893
3852
|
lineItems: RefundLineItemAmountDto[];
|
|
3894
3853
|
paymentMethods: PaymentMethodDto[];
|
|
3895
3854
|
reasonId: number;
|
|
3896
3855
|
}
|
|
3897
3856
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3898
|
-
refundMeta?:
|
|
3857
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3899
3858
|
}
|
|
3900
3859
|
export declare class EditReservationDetailsDto {
|
|
3901
3860
|
name: string;
|
|
@@ -3908,6 +3867,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3908
3867
|
export declare class AddAddonsDto {
|
|
3909
3868
|
addons: ProductPricesDto[];
|
|
3910
3869
|
}
|
|
3870
|
+
export declare class EditAddonsDto {
|
|
3871
|
+
addons: EditAddonDto[];
|
|
3872
|
+
}
|
|
3873
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3874
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3875
|
+
}
|
|
3876
|
+
export declare class EditAddonDto {
|
|
3877
|
+
id: number;
|
|
3878
|
+
unitPrice?: number;
|
|
3879
|
+
quantity?: number;
|
|
3880
|
+
}
|
|
3911
3881
|
export declare class SegmentDto {
|
|
3912
3882
|
id?: number;
|
|
3913
3883
|
title: string;
|
|
@@ -3936,6 +3906,67 @@ export declare class SeriesDto {
|
|
|
3936
3906
|
maintenance?: MaintenanceDto[];
|
|
3937
3907
|
slots?: SlotDto[];
|
|
3938
3908
|
}
|
|
3909
|
+
declare class AnswerDto {
|
|
3910
|
+
questionId: number;
|
|
3911
|
+
value: any;
|
|
3912
|
+
}
|
|
3913
|
+
export declare class BookedSessionDto {
|
|
3914
|
+
startDate: string;
|
|
3915
|
+
endDate: string;
|
|
3916
|
+
timezone: string;
|
|
3917
|
+
spaceId: number;
|
|
3918
|
+
}
|
|
3919
|
+
declare class AddonDto {
|
|
3920
|
+
resourcePackageId: number;
|
|
3921
|
+
resourcePackageAmount: number;
|
|
3922
|
+
resourcePackagePrice: number;
|
|
3923
|
+
}
|
|
3924
|
+
export declare class ReservationV1Dto {
|
|
3925
|
+
organizationId: number;
|
|
3926
|
+
name: string;
|
|
3927
|
+
dayOfWeek: number;
|
|
3928
|
+
startTime: string;
|
|
3929
|
+
description: string;
|
|
3930
|
+
sport: number;
|
|
3931
|
+
price: number;
|
|
3932
|
+
resourcePackageId: number;
|
|
3933
|
+
resourcePackageAmount: number;
|
|
3934
|
+
bookedSessions: BookedSessionDto[];
|
|
3935
|
+
addons: AddonDto[];
|
|
3936
|
+
}
|
|
3937
|
+
export declare class BookingV1Dto {
|
|
3938
|
+
organizationId: number;
|
|
3939
|
+
reservations: ReservationV1Dto[];
|
|
3940
|
+
answers: AnswerDto[];
|
|
3941
|
+
paymentData: PurchasePaymentDto;
|
|
3942
|
+
skipPayment: boolean;
|
|
3943
|
+
cashPayment: boolean;
|
|
3944
|
+
requestOnly: boolean;
|
|
3945
|
+
}
|
|
3946
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3947
|
+
parentId: number;
|
|
3948
|
+
parentType: AddonParentTypeEnum;
|
|
3949
|
+
productId: number;
|
|
3950
|
+
product?: Product;
|
|
3951
|
+
quantity: number;
|
|
3952
|
+
unitPrice: number;
|
|
3953
|
+
totalPrice: number;
|
|
3954
|
+
approvalStatus: ReservationStatusEnum;
|
|
3955
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3956
|
+
level?: ProductPackageLevelEnum;
|
|
3957
|
+
resourceId?: number;
|
|
3958
|
+
resource?: Resource;
|
|
3959
|
+
orderId?: number;
|
|
3960
|
+
order?: Order;
|
|
3961
|
+
productUserId?: number;
|
|
3962
|
+
productUser?: ProductsUsers;
|
|
3963
|
+
}
|
|
3964
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3965
|
+
deletedAt?: Date;
|
|
3966
|
+
reservationId: number;
|
|
3967
|
+
invoiceId: number;
|
|
3968
|
+
slotId: number;
|
|
3969
|
+
}
|
|
3939
3970
|
export declare class SlotDateTimeAndSpace {
|
|
3940
3971
|
startDate: string;
|
|
3941
3972
|
startTime?: string;
|
|
@@ -3999,67 +4030,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3999
4030
|
slotDurationType: SlotDurationTypeEnum;
|
|
4000
4031
|
addonsIds?: number[];
|
|
4001
4032
|
}
|
|
4002
|
-
declare class AnswerDto {
|
|
4003
|
-
questionId: number;
|
|
4004
|
-
value: any;
|
|
4005
|
-
}
|
|
4006
|
-
export declare class BookedSessionDto {
|
|
4007
|
-
startDate: string;
|
|
4008
|
-
endDate: string;
|
|
4009
|
-
timezone: string;
|
|
4010
|
-
spaceId: number;
|
|
4011
|
-
}
|
|
4012
|
-
declare class AddonDto {
|
|
4013
|
-
resourcePackageId: number;
|
|
4014
|
-
resourcePackageAmount: number;
|
|
4015
|
-
resourcePackagePrice: number;
|
|
4016
|
-
}
|
|
4017
|
-
export declare class ReservationV1Dto {
|
|
4018
|
-
organizationId: number;
|
|
4019
|
-
name: string;
|
|
4020
|
-
dayOfWeek: number;
|
|
4021
|
-
startTime: string;
|
|
4022
|
-
description: string;
|
|
4023
|
-
sport: number;
|
|
4024
|
-
price: number;
|
|
4025
|
-
resourcePackageId: number;
|
|
4026
|
-
resourcePackageAmount: number;
|
|
4027
|
-
bookedSessions: BookedSessionDto[];
|
|
4028
|
-
addons: AddonDto[];
|
|
4029
|
-
}
|
|
4030
|
-
export declare class BookingV1Dto {
|
|
4031
|
-
organizationId: number;
|
|
4032
|
-
reservations: ReservationV1Dto[];
|
|
4033
|
-
answers: AnswerDto[];
|
|
4034
|
-
paymentData: PurchasePaymentDto;
|
|
4035
|
-
skipPayment: boolean;
|
|
4036
|
-
cashPayment: boolean;
|
|
4037
|
-
requestOnly: boolean;
|
|
4038
|
-
}
|
|
4039
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4040
|
-
parentId: number;
|
|
4041
|
-
parentType: AddonParentTypeEnum;
|
|
4042
|
-
productId: number;
|
|
4043
|
-
product?: Product;
|
|
4044
|
-
quantity: number;
|
|
4045
|
-
unitPrice: number;
|
|
4046
|
-
totalPrice: number;
|
|
4047
|
-
approvalStatus: ReservationStatusEnum;
|
|
4048
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4049
|
-
level?: ProductPackageLevelEnum;
|
|
4050
|
-
resourceId?: number;
|
|
4051
|
-
resource?: Resource;
|
|
4052
|
-
orderId?: number;
|
|
4053
|
-
order?: Order;
|
|
4054
|
-
productUserId?: number;
|
|
4055
|
-
productUser?: ProductsUsers;
|
|
4056
|
-
}
|
|
4057
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4058
|
-
deletedAt?: Date;
|
|
4059
|
-
reservationId: number;
|
|
4060
|
-
invoiceId: number;
|
|
4061
|
-
slotId: number;
|
|
4062
|
-
}
|
|
4063
4033
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4064
4034
|
name?: string;
|
|
4065
4035
|
description?: string;
|
|
@@ -4378,26 +4348,39 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4378
4348
|
order: OrderDto;
|
|
4379
4349
|
debug?: any;
|
|
4380
4350
|
}
|
|
4381
|
-
|
|
4351
|
+
interface ValidateEditItemsResult {
|
|
4382
4352
|
nextFinancialStep: FinancialStepEnum;
|
|
4383
|
-
slots: SlotDto[];
|
|
4384
4353
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4385
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4386
4354
|
originalInvoicePrice?: number;
|
|
4387
4355
|
updatedInvoicePrice?: number;
|
|
4388
4356
|
priceChange?: number;
|
|
4357
|
+
}
|
|
4358
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4359
|
+
slots: SlotDto[];
|
|
4360
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4389
4361
|
editData?: EditSlotsData;
|
|
4390
4362
|
}
|
|
4363
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4364
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4365
|
+
editData?: EditAddonsData;
|
|
4366
|
+
}
|
|
4391
4367
|
export interface EditSlotsRefundMetadata {
|
|
4392
4368
|
lineItems: SlotsLineItemData[];
|
|
4393
4369
|
refundAmount: number;
|
|
4394
4370
|
}
|
|
4371
|
+
export interface EditAddonsRefundMetadata {
|
|
4372
|
+
lineItems: AddonsLineItemData[];
|
|
4373
|
+
refundAmount: number;
|
|
4374
|
+
}
|
|
4395
4375
|
export interface EditSlotsData {
|
|
4396
4376
|
order?: Order;
|
|
4397
4377
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4398
4378
|
newLineItems?: LineItemDto[];
|
|
4399
4379
|
}
|
|
4400
|
-
export interface
|
|
4380
|
+
export interface EditAddonsData {
|
|
4381
|
+
order?: Order;
|
|
4382
|
+
}
|
|
4383
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4401
4384
|
refundResult?: RefundResult;
|
|
4402
4385
|
}
|
|
4403
4386
|
export declare class ChangeRolePermissionsDto {
|
|
@@ -4449,10 +4432,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4449
4432
|
startDate?: Date;
|
|
4450
4433
|
endDate?: Date;
|
|
4451
4434
|
}
|
|
4452
|
-
export declare class OpenShiftDto {
|
|
4453
|
-
openingCashAmount: number;
|
|
4454
|
-
stationId: number;
|
|
4455
|
-
}
|
|
4456
4435
|
export declare class ShiftManagementClosingAmount {
|
|
4457
4436
|
shiftId: number;
|
|
4458
4437
|
managementClosingCashAmount: number;
|
|
@@ -4460,6 +4439,10 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4460
4439
|
export declare class ManagementClosingOfShiftsDto {
|
|
4461
4440
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4462
4441
|
}
|
|
4442
|
+
export declare class OpenShiftDto {
|
|
4443
|
+
openingCashAmount: number;
|
|
4444
|
+
stationId: number;
|
|
4445
|
+
}
|
|
4463
4446
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4464
4447
|
stationId: number;
|
|
4465
4448
|
station?: Station;
|
|
@@ -4489,3 +4472,44 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4489
4472
|
closingManager?: User;
|
|
4490
4473
|
reconcilingUser?: User;
|
|
4491
4474
|
}
|
|
4475
|
+
export declare class OrderDto {
|
|
4476
|
+
orderId?: string | null;
|
|
4477
|
+
organizationId: number;
|
|
4478
|
+
price: number | null;
|
|
4479
|
+
totalTax?: number;
|
|
4480
|
+
totalWithoutTax?: number;
|
|
4481
|
+
status?: OrderStatusEnum;
|
|
4482
|
+
lineItems: LineItemDto[];
|
|
4483
|
+
paymentStatus?: PaymentStatusEnum;
|
|
4484
|
+
currency: CurrencyEnum;
|
|
4485
|
+
creatingUserId?: number;
|
|
4486
|
+
platform?: PlatformsEnum;
|
|
4487
|
+
}
|
|
4488
|
+
export declare class BaseInvoiceDto {
|
|
4489
|
+
platform: PlatformsEnum;
|
|
4490
|
+
shiftId?: number;
|
|
4491
|
+
}
|
|
4492
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
4493
|
+
purchasingUserId: number;
|
|
4494
|
+
slots: number[];
|
|
4495
|
+
}
|
|
4496
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
4497
|
+
reservationTotalPrice: number;
|
|
4498
|
+
}
|
|
4499
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
4500
|
+
basicInfoData?: BaseInvoiceDto;
|
|
4501
|
+
addToOrderId?: number;
|
|
4502
|
+
}
|
|
4503
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
4504
|
+
isInvoiced: boolean;
|
|
4505
|
+
}
|
|
4506
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
4507
|
+
slotsIds?: number[];
|
|
4508
|
+
addonsIds?: number[];
|
|
4509
|
+
}
|
|
4510
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
4511
|
+
slots: SlotDto[];
|
|
4512
|
+
}
|
|
4513
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
4514
|
+
segments: SegmentDto[];
|
|
4515
|
+
}
|