@bondsports/types 0.0.121 → 0.0.123
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 +151 -151
- 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
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -20,6 +13,12 @@ export declare class UserAnswersDto {
|
|
|
20
13
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
14
|
questionnaireIds: string;
|
|
22
15
|
}
|
|
16
|
+
export declare enum EConfigurationKeys {
|
|
17
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
18
|
+
}
|
|
19
|
+
export declare enum EFailedPaymentReasons {
|
|
20
|
+
CARD_BLOCKED = "card_blocked_by_bond"
|
|
21
|
+
}
|
|
23
22
|
export declare class FindBookingTypeSettingDto {
|
|
24
23
|
organizationId: number;
|
|
25
24
|
facilityId: number;
|
|
@@ -27,12 +26,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
26
|
bookingDate: string;
|
|
28
27
|
bookingTime: string;
|
|
29
28
|
}
|
|
30
|
-
export declare enum EConfigurationKeys {
|
|
31
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
-
}
|
|
33
|
-
export declare enum EFailedPaymentReasons {
|
|
34
|
-
CARD_BLOCKED = "card_blocked_by_bond"
|
|
35
|
-
}
|
|
36
29
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
37
30
|
membershipId: number;
|
|
38
31
|
}
|
|
@@ -94,6 +87,13 @@ export declare class AddEditCustomerDto {
|
|
|
94
87
|
emergencyContactName?: string;
|
|
95
88
|
emergencyContactPhone?: string;
|
|
96
89
|
}
|
|
90
|
+
export declare class BasicActivityTimesDto {
|
|
91
|
+
dayOfWeek: number;
|
|
92
|
+
close: string;
|
|
93
|
+
open: string;
|
|
94
|
+
availabilityStartDate?: string;
|
|
95
|
+
availabilityEndDate?: string;
|
|
96
|
+
}
|
|
97
97
|
export declare class FindEventByIdDto {
|
|
98
98
|
eventId: number;
|
|
99
99
|
organizationId: number;
|
|
@@ -237,38 +237,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
237
237
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
238
238
|
nameSearch?: string;
|
|
239
239
|
}
|
|
240
|
-
export declare class FindFamilyAccountsDto {
|
|
241
|
-
userId: number;
|
|
242
|
-
}
|
|
243
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
244
|
-
customerId: number;
|
|
245
|
-
organizationId: number;
|
|
246
|
-
}
|
|
247
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
248
|
-
familyAccountId: number;
|
|
249
|
-
}
|
|
250
|
-
export declare class CreateFamilyAccountDto {
|
|
251
|
-
familyName: string;
|
|
252
|
-
userId: number;
|
|
253
|
-
}
|
|
254
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
255
|
-
familyName: string;
|
|
256
|
-
familyAccountId: number;
|
|
257
|
-
}
|
|
258
|
-
export declare class AddUserToFamilyAccountDto {
|
|
259
|
-
familyAccountId: number;
|
|
260
|
-
isUserAdmin: boolean;
|
|
261
|
-
firstName: string;
|
|
262
|
-
lastName: string;
|
|
263
|
-
gender: GenderEnum;
|
|
264
|
-
birthDate: string;
|
|
265
|
-
sports?: number[];
|
|
266
|
-
email?: string;
|
|
267
|
-
}
|
|
268
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
269
|
-
userId: number;
|
|
270
|
-
familyAccountId: number;
|
|
271
|
-
}
|
|
272
240
|
export declare class FindOneParams {
|
|
273
241
|
id: number;
|
|
274
242
|
}
|
|
@@ -281,16 +249,6 @@ export declare class PaginationRangeQuery {
|
|
|
281
249
|
endPage: number;
|
|
282
250
|
itemsPerPage: number;
|
|
283
251
|
}
|
|
284
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
285
|
-
organizationId: number;
|
|
286
|
-
}
|
|
287
|
-
export declare class GetGlCodeDto {
|
|
288
|
-
id: number;
|
|
289
|
-
organizationId: number;
|
|
290
|
-
code: string;
|
|
291
|
-
createdAt: Date;
|
|
292
|
-
updatedAt: Date;
|
|
293
|
-
}
|
|
294
252
|
export declare class FindByProgramSeasonIdDto {
|
|
295
253
|
seasonId: number;
|
|
296
254
|
}
|
|
@@ -364,6 +322,48 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
364
322
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
323
|
fileName: string;
|
|
366
324
|
}
|
|
325
|
+
export declare class FindFamilyAccountsDto {
|
|
326
|
+
userId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
329
|
+
customerId: number;
|
|
330
|
+
organizationId: number;
|
|
331
|
+
}
|
|
332
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
333
|
+
familyAccountId: number;
|
|
334
|
+
}
|
|
335
|
+
export declare class CreateFamilyAccountDto {
|
|
336
|
+
familyName: string;
|
|
337
|
+
userId: number;
|
|
338
|
+
}
|
|
339
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
340
|
+
familyName: string;
|
|
341
|
+
familyAccountId: number;
|
|
342
|
+
}
|
|
343
|
+
export declare class AddUserToFamilyAccountDto {
|
|
344
|
+
familyAccountId: number;
|
|
345
|
+
isUserAdmin: boolean;
|
|
346
|
+
firstName: string;
|
|
347
|
+
lastName: string;
|
|
348
|
+
gender: GenderEnum;
|
|
349
|
+
birthDate: string;
|
|
350
|
+
sports?: number[];
|
|
351
|
+
email?: string;
|
|
352
|
+
}
|
|
353
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
354
|
+
userId: number;
|
|
355
|
+
familyAccountId: number;
|
|
356
|
+
}
|
|
357
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
358
|
+
organizationId: number;
|
|
359
|
+
}
|
|
360
|
+
export declare class GetGlCodeDto {
|
|
361
|
+
id: number;
|
|
362
|
+
organizationId: number;
|
|
363
|
+
code: string;
|
|
364
|
+
createdAt: Date;
|
|
365
|
+
updatedAt: Date;
|
|
366
|
+
}
|
|
367
367
|
export declare class CreateMembershipDto {
|
|
368
368
|
organizationId: number;
|
|
369
369
|
name: string;
|
|
@@ -683,24 +683,6 @@ export declare class createResourceDto {
|
|
|
683
683
|
export declare class archiveDto {
|
|
684
684
|
isArchive: boolean;
|
|
685
685
|
}
|
|
686
|
-
export declare class CreateUpdateVariantsDto {
|
|
687
|
-
organizationId: number;
|
|
688
|
-
parentProductId: number;
|
|
689
|
-
variantTitles: VariantTitleDto[];
|
|
690
|
-
variants: VariantDto[];
|
|
691
|
-
}
|
|
692
|
-
export declare class VariantTitleDto {
|
|
693
|
-
titleName: string;
|
|
694
|
-
titleId: number;
|
|
695
|
-
}
|
|
696
|
-
export declare class VariantDto {
|
|
697
|
-
name: string;
|
|
698
|
-
price: number;
|
|
699
|
-
variantId: number;
|
|
700
|
-
currency: CurrencyEnum;
|
|
701
|
-
startDate: Date;
|
|
702
|
-
endDate: Date;
|
|
703
|
-
}
|
|
704
686
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
705
687
|
programId: number;
|
|
706
688
|
}
|
|
@@ -932,6 +914,24 @@ export declare class ProgramHighlightDto {
|
|
|
932
914
|
type: ProgramHighlightTypeEnum;
|
|
933
915
|
title: string;
|
|
934
916
|
}
|
|
917
|
+
export declare class CreateUpdateVariantsDto {
|
|
918
|
+
organizationId: number;
|
|
919
|
+
parentProductId: number;
|
|
920
|
+
variantTitles: VariantTitleDto[];
|
|
921
|
+
variants: VariantDto[];
|
|
922
|
+
}
|
|
923
|
+
export declare class VariantTitleDto {
|
|
924
|
+
titleName: string;
|
|
925
|
+
titleId: number;
|
|
926
|
+
}
|
|
927
|
+
export declare class VariantDto {
|
|
928
|
+
name: string;
|
|
929
|
+
price: number;
|
|
930
|
+
variantId: number;
|
|
931
|
+
currency: CurrencyEnum;
|
|
932
|
+
startDate: Date;
|
|
933
|
+
endDate: Date;
|
|
934
|
+
}
|
|
935
935
|
export declare class PurchasePaymentDto {
|
|
936
936
|
token: string;
|
|
937
937
|
type: PaymentMethodTypeEnum;
|
|
@@ -1189,6 +1189,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1189
1189
|
publicNotes?: string;
|
|
1190
1190
|
slotType?: SlotTypeEnum;
|
|
1191
1191
|
}
|
|
1192
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1193
|
+
area: string;
|
|
1194
|
+
key: string;
|
|
1195
|
+
value: string;
|
|
1196
|
+
}
|
|
1192
1197
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1193
1198
|
parentId: number;
|
|
1194
1199
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1199,11 +1204,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1199
1204
|
endTimeInDay: string;
|
|
1200
1205
|
directBookingFor: DirectBookingTypesEnum;
|
|
1201
1206
|
}
|
|
1202
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1203
|
-
area: string;
|
|
1204
|
-
key: string;
|
|
1205
|
-
value: string;
|
|
1206
|
-
}
|
|
1207
1207
|
export declare class Connection extends BondBaseEntity {
|
|
1208
1208
|
connType: number | null;
|
|
1209
1209
|
from: number | null;
|
|
@@ -1784,10 +1784,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1784
1784
|
refundReasonId?: number;
|
|
1785
1785
|
refundNote?: string;
|
|
1786
1786
|
}
|
|
1787
|
-
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1788
|
-
failureIndex: number;
|
|
1789
|
-
waitingDays: number;
|
|
1790
|
-
}
|
|
1791
1787
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1792
1788
|
paymentInstallmentId?: number;
|
|
1793
1789
|
invoiceId: number;
|
|
@@ -1803,6 +1799,10 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1803
1799
|
paymentId: number;
|
|
1804
1800
|
payment: Payment;
|
|
1805
1801
|
}
|
|
1802
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1803
|
+
failureIndex: number;
|
|
1804
|
+
waitingDays: number;
|
|
1805
|
+
}
|
|
1806
1806
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1807
1807
|
paymentPlanId: number;
|
|
1808
1808
|
paymentDate: Date;
|
|
@@ -3359,6 +3359,57 @@ export declare class PunchPassDto {
|
|
|
3359
3359
|
BondSessionID: number;
|
|
3360
3360
|
ProductID: number;
|
|
3361
3361
|
}
|
|
3362
|
+
export declare class ImportedSlotProductDto {
|
|
3363
|
+
slotID?: string;
|
|
3364
|
+
name?: string;
|
|
3365
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3366
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3367
|
+
price?: string;
|
|
3368
|
+
minutes?: string;
|
|
3369
|
+
quantity: string;
|
|
3370
|
+
startDate?: string;
|
|
3371
|
+
startTime?: string;
|
|
3372
|
+
endDate?: string;
|
|
3373
|
+
endTime?: string;
|
|
3374
|
+
bondProductId?: number;
|
|
3375
|
+
}
|
|
3376
|
+
export declare class ImportResourceMappingDto {
|
|
3377
|
+
bondResourceID?: string;
|
|
3378
|
+
resourceName?: string;
|
|
3379
|
+
}
|
|
3380
|
+
export declare class ImportProductMappingDto {
|
|
3381
|
+
productID?: string;
|
|
3382
|
+
productName?: string;
|
|
3383
|
+
}
|
|
3384
|
+
export declare class ImportedSlotDto {
|
|
3385
|
+
reservationID: string;
|
|
3386
|
+
bondResourceID: string;
|
|
3387
|
+
resourceName: string;
|
|
3388
|
+
subResourceName: string;
|
|
3389
|
+
startDate: string;
|
|
3390
|
+
startTime: string;
|
|
3391
|
+
endDate: string;
|
|
3392
|
+
endTime: string;
|
|
3393
|
+
sportId?: string;
|
|
3394
|
+
setupDuration: string;
|
|
3395
|
+
setupIncludeInCosts: string;
|
|
3396
|
+
takedownDuration: string;
|
|
3397
|
+
takedownIncludeInCosts: string;
|
|
3398
|
+
slotProduct: ImportedSlotProductDto;
|
|
3399
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3400
|
+
totalPrice: string;
|
|
3401
|
+
}
|
|
3402
|
+
export declare class ImportedReservationDto {
|
|
3403
|
+
name: string;
|
|
3404
|
+
customerId: string;
|
|
3405
|
+
description: string;
|
|
3406
|
+
totalPrice: string;
|
|
3407
|
+
downPayment: string;
|
|
3408
|
+
paid: string;
|
|
3409
|
+
invoiceId: string;
|
|
3410
|
+
slots?: ImportedSlotDto[];
|
|
3411
|
+
addons?: ImportedSlotProductDto[];
|
|
3412
|
+
}
|
|
3362
3413
|
export declare class GameSlots extends BondBaseEntity {
|
|
3363
3414
|
entityType: string;
|
|
3364
3415
|
entityId: number;
|
|
@@ -3399,6 +3450,17 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3399
3450
|
name: string;
|
|
3400
3451
|
locked?: Date;
|
|
3401
3452
|
}
|
|
3453
|
+
export declare class CreateMonitorConfigDto {
|
|
3454
|
+
facilityId: number;
|
|
3455
|
+
name: string;
|
|
3456
|
+
code: string;
|
|
3457
|
+
config: any;
|
|
3458
|
+
}
|
|
3459
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3460
|
+
facilityId: number;
|
|
3461
|
+
code: string;
|
|
3462
|
+
config?: any;
|
|
3463
|
+
}
|
|
3402
3464
|
export interface ValidatedMonthAndDay {
|
|
3403
3465
|
valid: boolean;
|
|
3404
3466
|
month?: number;
|
|
@@ -3420,24 +3482,6 @@ export interface PaymentStatusesDict {
|
|
|
3420
3482
|
export interface PaymentStatusDict {
|
|
3421
3483
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
3484
|
}
|
|
3423
|
-
export declare class CreateMonitorConfigDto {
|
|
3424
|
-
facilityId: number;
|
|
3425
|
-
name: string;
|
|
3426
|
-
code: string;
|
|
3427
|
-
config: any;
|
|
3428
|
-
}
|
|
3429
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3430
|
-
facilityId: number;
|
|
3431
|
-
code: string;
|
|
3432
|
-
config?: any;
|
|
3433
|
-
}
|
|
3434
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3435
|
-
userId: number;
|
|
3436
|
-
organizationId: number;
|
|
3437
|
-
notifyMetadata?: any;
|
|
3438
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3439
|
-
destination: string;
|
|
3440
|
-
}
|
|
3441
3485
|
export declare class ByOrganizationIdDto {
|
|
3442
3486
|
organizationId: number;
|
|
3443
3487
|
}
|
|
@@ -3535,6 +3579,13 @@ export interface Duration {
|
|
|
3535
3579
|
startDate: string;
|
|
3536
3580
|
endDate: string;
|
|
3537
3581
|
}
|
|
3582
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3583
|
+
userId: number;
|
|
3584
|
+
organizationId: number;
|
|
3585
|
+
notifyMetadata?: any;
|
|
3586
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3587
|
+
destination: string;
|
|
3588
|
+
}
|
|
3538
3589
|
export declare class CustomerIdDto {
|
|
3539
3590
|
customerId: number;
|
|
3540
3591
|
}
|
|
@@ -4530,57 +4581,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4530
4581
|
export declare class CloseShiftDto {
|
|
4531
4582
|
closingCashAmount: number;
|
|
4532
4583
|
}
|
|
4533
|
-
export declare class ImportedSlotProductDto {
|
|
4534
|
-
slotID?: string;
|
|
4535
|
-
name?: string;
|
|
4536
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4537
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4538
|
-
price?: string;
|
|
4539
|
-
minutes?: string;
|
|
4540
|
-
quantity: string;
|
|
4541
|
-
startDate?: string;
|
|
4542
|
-
startTime?: string;
|
|
4543
|
-
endDate?: string;
|
|
4544
|
-
endTime?: string;
|
|
4545
|
-
bondProductId?: number;
|
|
4546
|
-
}
|
|
4547
|
-
export declare class ImportResourceMappingDto {
|
|
4548
|
-
bondResourceID?: string;
|
|
4549
|
-
resourceName?: string;
|
|
4550
|
-
}
|
|
4551
|
-
export declare class ImportProductMappingDto {
|
|
4552
|
-
productID?: string;
|
|
4553
|
-
productName?: string;
|
|
4554
|
-
}
|
|
4555
|
-
export declare class ImportedSlotDto {
|
|
4556
|
-
reservationID: string;
|
|
4557
|
-
bondResourceID: string;
|
|
4558
|
-
resourceName: string;
|
|
4559
|
-
subResourceName: string;
|
|
4560
|
-
startDate: string;
|
|
4561
|
-
startTime: string;
|
|
4562
|
-
endDate: string;
|
|
4563
|
-
endTime: string;
|
|
4564
|
-
sportId?: string;
|
|
4565
|
-
setupDuration: string;
|
|
4566
|
-
setupIncludeInCosts: string;
|
|
4567
|
-
takedownDuration: string;
|
|
4568
|
-
takedownIncludeInCosts: string;
|
|
4569
|
-
slotProduct: ImportedSlotProductDto;
|
|
4570
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4571
|
-
totalPrice: string;
|
|
4572
|
-
}
|
|
4573
|
-
export declare class ImportedReservationDto {
|
|
4574
|
-
name: string;
|
|
4575
|
-
customerId: string;
|
|
4576
|
-
description: string;
|
|
4577
|
-
totalPrice: string;
|
|
4578
|
-
downPayment: string;
|
|
4579
|
-
paid: string;
|
|
4580
|
-
invoiceId: string;
|
|
4581
|
-
slots?: ImportedSlotDto[];
|
|
4582
|
-
addons?: ImportedSlotProductDto[];
|
|
4583
|
-
}
|
|
4584
4584
|
export declare class FindShiftsByIdsDto {
|
|
4585
4585
|
shiftIds: number[];
|
|
4586
4586
|
}
|