@bondsports/types 0.6.0 → 0.7.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 +1710 -1513
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -20,13 +27,6 @@ export declare class UserAnswersDto {
|
|
|
20
27
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
28
|
questionnaireIds: string;
|
|
22
29
|
}
|
|
23
|
-
export declare class FindBookingTypeSettingDto {
|
|
24
|
-
organizationId: number;
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
31
|
membershipId: number;
|
|
32
32
|
}
|
|
@@ -50,6 +50,9 @@ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
|
50
50
|
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
51
|
customerId: number;
|
|
52
52
|
}
|
|
53
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
54
|
+
userId: number;
|
|
55
|
+
}
|
|
53
56
|
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
57
|
nameSearch?: string;
|
|
55
58
|
fuzzy?: string;
|
|
@@ -99,8 +102,7 @@ export declare class UpdateEventDto {
|
|
|
99
102
|
publicNotes?: string;
|
|
100
103
|
privateNotes?: string;
|
|
101
104
|
isInformAttendees?: boolean;
|
|
102
|
-
|
|
103
|
-
minutesAfterSlot?: number;
|
|
105
|
+
maintenance?: MaintenanceDto[];
|
|
104
106
|
}
|
|
105
107
|
export declare class AddEventToSessionDto {
|
|
106
108
|
eventsData: UpdateEventDto[];
|
|
@@ -117,8 +119,7 @@ export declare class UpdateMultipleEventsDto {
|
|
|
117
119
|
publicNotes?: string;
|
|
118
120
|
privateNotes?: string;
|
|
119
121
|
isInformAttendees?: boolean;
|
|
120
|
-
|
|
121
|
-
minutesAfterSlot?: number;
|
|
122
|
+
maintenance?: MaintenanceDto[];
|
|
122
123
|
}
|
|
123
124
|
export declare class FindByFacilityIdDto {
|
|
124
125
|
facilityId: number;
|
|
@@ -159,6 +160,7 @@ export interface IEventOfSessionDetails {
|
|
|
159
160
|
missingPaymentCount: number;
|
|
160
161
|
publicNotes: string;
|
|
161
162
|
privateNotes: string;
|
|
163
|
+
slots?: Slot[];
|
|
162
164
|
}
|
|
163
165
|
export interface IAttendeeOfEvent {
|
|
164
166
|
eventId: number;
|
|
@@ -186,6 +188,13 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
188
|
isWaiverSigned?: string;
|
|
187
189
|
statuses?: string;
|
|
188
190
|
}
|
|
191
|
+
export declare enum EConfigurationKeys {
|
|
192
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
193
|
+
}
|
|
194
|
+
export declare enum EFailedPaymentReasons {
|
|
195
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
196
|
+
UNKNOWN = "unknown"
|
|
197
|
+
}
|
|
189
198
|
export declare class AddressDto {
|
|
190
199
|
city: string;
|
|
191
200
|
state: string;
|
|
@@ -229,38 +238,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
238
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
239
|
nameSearch?: string;
|
|
231
240
|
}
|
|
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
241
|
export declare class FindOneParams {
|
|
265
242
|
id: number;
|
|
266
243
|
}
|
|
@@ -273,89 +250,6 @@ export declare class PaginationRangeQuery {
|
|
|
273
250
|
endPage: number;
|
|
274
251
|
itemsPerPage: number;
|
|
275
252
|
}
|
|
276
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
-
organizationId: number;
|
|
278
|
-
}
|
|
279
|
-
export declare class GetGlCodeDto {
|
|
280
|
-
id: number;
|
|
281
|
-
organizationId: number;
|
|
282
|
-
code: string;
|
|
283
|
-
createdAt: Date;
|
|
284
|
-
updatedAt: Date;
|
|
285
|
-
}
|
|
286
|
-
export declare class FindByProgramSeasonIdDto {
|
|
287
|
-
seasonId: number;
|
|
288
|
-
}
|
|
289
|
-
export declare class CreateBulkDivisionsDto {
|
|
290
|
-
divisions: CreateDivisionDto[];
|
|
291
|
-
}
|
|
292
|
-
export declare class CreateDivisionDto {
|
|
293
|
-
name: string;
|
|
294
|
-
ordinal?: number;
|
|
295
|
-
programSeasonId: number;
|
|
296
|
-
color: string;
|
|
297
|
-
isDefault: boolean;
|
|
298
|
-
}
|
|
299
|
-
export declare class CreateGroupDto {
|
|
300
|
-
name: string;
|
|
301
|
-
description?: string;
|
|
302
|
-
status?: GroupStatusEnum;
|
|
303
|
-
maxCapacity?: number;
|
|
304
|
-
mainMediaId?: number;
|
|
305
|
-
minAgeYears?: number;
|
|
306
|
-
maxAgeYears?: number;
|
|
307
|
-
gender: GenderEnum;
|
|
308
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
309
|
-
sports: SportsEnum[];
|
|
310
|
-
questionnaires?: number[];
|
|
311
|
-
captainUserId?: number;
|
|
312
|
-
divisionId?: number;
|
|
313
|
-
}
|
|
314
|
-
export declare class ConnectGroupToDivision {
|
|
315
|
-
groupId: number;
|
|
316
|
-
divisionId: number;
|
|
317
|
-
prevDivisionId: number;
|
|
318
|
-
}
|
|
319
|
-
export declare class MoveUserInGroups {
|
|
320
|
-
userId: number;
|
|
321
|
-
groupId?: number;
|
|
322
|
-
prevGroupId?: number;
|
|
323
|
-
}
|
|
324
|
-
export declare class SaveUserAsGroupCaptain {
|
|
325
|
-
groupId: number;
|
|
326
|
-
userId: number;
|
|
327
|
-
}
|
|
328
|
-
export declare class CreateTeamInviteDto {
|
|
329
|
-
emails: string[];
|
|
330
|
-
userCreatorId: number;
|
|
331
|
-
}
|
|
332
|
-
export declare class TeamByIdDto {
|
|
333
|
-
teamId: number;
|
|
334
|
-
}
|
|
335
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
336
|
-
inviteToken: string;
|
|
337
|
-
}
|
|
338
|
-
export declare class JoinTeamDto {
|
|
339
|
-
userId: number;
|
|
340
|
-
inviteToken?: string;
|
|
341
|
-
}
|
|
342
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
343
|
-
userId: number;
|
|
344
|
-
}
|
|
345
|
-
export interface IMoveSeason {
|
|
346
|
-
fromSeasonId: number;
|
|
347
|
-
toSeasonId: number;
|
|
348
|
-
}
|
|
349
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
350
|
-
teamId?: number;
|
|
351
|
-
memberId?: number;
|
|
352
|
-
fromSeasonId: number;
|
|
353
|
-
toSeasonId: number;
|
|
354
|
-
toDivisionId?: number;
|
|
355
|
-
}
|
|
356
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
357
|
-
fileName: string;
|
|
358
|
-
}
|
|
359
253
|
export declare class CreateMembershipDto {
|
|
360
254
|
organizationId: number;
|
|
361
255
|
name: string;
|
|
@@ -412,6 +306,38 @@ export declare class CancelMembershipDto {
|
|
|
412
306
|
isImmediatelyCancel: boolean;
|
|
413
307
|
cancellationReason?: string;
|
|
414
308
|
}
|
|
309
|
+
export declare class FindFamilyAccountsDto {
|
|
310
|
+
userId: number;
|
|
311
|
+
}
|
|
312
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
313
|
+
customerId: number;
|
|
314
|
+
organizationId: number;
|
|
315
|
+
}
|
|
316
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
317
|
+
familyAccountId: number;
|
|
318
|
+
}
|
|
319
|
+
export declare class CreateFamilyAccountDto {
|
|
320
|
+
familyName: string;
|
|
321
|
+
userId: number;
|
|
322
|
+
}
|
|
323
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
324
|
+
familyName: string;
|
|
325
|
+
familyAccountId: number;
|
|
326
|
+
}
|
|
327
|
+
export declare class AddUserToFamilyAccountDto {
|
|
328
|
+
familyAccountId: number;
|
|
329
|
+
isUserAdmin: boolean;
|
|
330
|
+
firstName: string;
|
|
331
|
+
lastName: string;
|
|
332
|
+
gender: GenderEnum;
|
|
333
|
+
birthDate: string;
|
|
334
|
+
sports?: number[];
|
|
335
|
+
email?: string;
|
|
336
|
+
}
|
|
337
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
338
|
+
userId: number;
|
|
339
|
+
familyAccountId: number;
|
|
340
|
+
}
|
|
415
341
|
export declare class CreateEntitlementTermsDto {
|
|
416
342
|
organizationId: number;
|
|
417
343
|
entitlementGroupId: number;
|
|
@@ -454,243 +380,77 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
454
380
|
discountValue?: number;
|
|
455
381
|
discountMethod?: DiscountMethodsEnum;
|
|
456
382
|
}
|
|
457
|
-
export declare class
|
|
458
|
-
|
|
383
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
384
|
+
organizationId: number;
|
|
459
385
|
}
|
|
460
|
-
export declare class
|
|
386
|
+
export declare class GetGlCodeDto {
|
|
461
387
|
id: number;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
products: FindPriceOfProductDto[];
|
|
467
|
-
answers: UserAnswersDto[];
|
|
468
|
-
}
|
|
469
|
-
export declare class FindPackageByResourceDto {
|
|
470
|
-
resourceType: ResourceNameTypeEnum;
|
|
471
|
-
resourceId: number;
|
|
388
|
+
organizationId: number;
|
|
389
|
+
code: string;
|
|
390
|
+
createdAt: Date;
|
|
391
|
+
updatedAt: Date;
|
|
472
392
|
}
|
|
473
|
-
export declare class
|
|
393
|
+
export declare class CreateUpdateVariantsDto {
|
|
474
394
|
organizationId: number;
|
|
395
|
+
parentProductId: number;
|
|
396
|
+
variantTitles: VariantTitleDto[];
|
|
397
|
+
variants: VariantDto[];
|
|
475
398
|
}
|
|
476
|
-
export declare class
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
399
|
+
export declare class VariantTitleDto {
|
|
400
|
+
titleName: string;
|
|
401
|
+
titleId: number;
|
|
480
402
|
}
|
|
481
|
-
export declare class
|
|
403
|
+
export declare class VariantDto {
|
|
482
404
|
name: string;
|
|
405
|
+
price: number;
|
|
406
|
+
variantId: number;
|
|
407
|
+
currency: CurrencyEnum;
|
|
408
|
+
startDate: Date;
|
|
409
|
+
endDate: Date;
|
|
483
410
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
|
|
411
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
412
|
+
organizationId: number;
|
|
413
|
+
programType?: ProgramTypesEnum;
|
|
414
|
+
}
|
|
415
|
+
export declare class FindProgramByIdDto {
|
|
416
|
+
programId: number;
|
|
417
|
+
}
|
|
418
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
419
|
+
programId: number;
|
|
486
420
|
organizationId: number;
|
|
421
|
+
}
|
|
422
|
+
export declare class BaseProgramDto {
|
|
423
|
+
type: ProgramTypesEnum;
|
|
487
424
|
name: string;
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
425
|
+
sport: SportsEnum;
|
|
426
|
+
minAge: string;
|
|
427
|
+
maxAge: string;
|
|
428
|
+
gender: GenderEnum;
|
|
429
|
+
level?: LevelOfPlayEnum[];
|
|
492
430
|
description?: string;
|
|
493
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
494
|
-
resourcesIdsToApplyOn?: number[];
|
|
495
431
|
GL?: string;
|
|
496
|
-
|
|
497
|
-
downpayment?: number;
|
|
498
|
-
productType: ProductTypesEnum;
|
|
499
|
-
subProductType?: string;
|
|
500
|
-
defaultForResourceId?: number;
|
|
501
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
502
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
503
|
-
variantTitleIds?: number[];
|
|
504
|
-
variants?: VariantWithPrice[];
|
|
505
|
-
variantParentId?: number;
|
|
506
|
-
isAddon?: boolean;
|
|
507
|
-
isArchive?: boolean;
|
|
508
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
509
|
-
isProRated?: boolean;
|
|
510
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
511
|
-
isTaxInclusive?: boolean;
|
|
512
|
-
tax?: number;
|
|
513
|
-
sports?: number[];
|
|
514
|
-
durationMinutes?: number;
|
|
515
|
-
durationDays?: number;
|
|
516
|
-
forms?: number[];
|
|
517
|
-
isForAllCustomers?: boolean;
|
|
518
|
-
membershipsAvailableFor?: number[];
|
|
519
|
-
customersAvailableFor?: number[];
|
|
520
|
-
addons?: createRentalProductAddonDto[];
|
|
521
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
522
|
-
}
|
|
523
|
-
export declare class VariantWithPrice {
|
|
524
|
-
variantIds: number[];
|
|
525
|
-
price: CreatePriceDto[];
|
|
526
|
-
}
|
|
527
|
-
export declare class CreatePriceDto {
|
|
528
|
-
id?: number;
|
|
529
|
-
price: number;
|
|
530
|
-
currency: CurrencyEnum;
|
|
531
|
-
name: string;
|
|
532
|
-
startDate?: Date;
|
|
533
|
-
endDate?: Date;
|
|
534
|
-
discountValue?: number;
|
|
535
|
-
discountMethod?: DiscountMethodsEnum;
|
|
536
|
-
isDefaultPriceForProduct?: boolean;
|
|
537
|
-
}
|
|
538
|
-
export declare class CreatePackageDto {
|
|
539
|
-
parentProductId: number;
|
|
540
|
-
productsData?: ProductInPackage[];
|
|
541
|
-
productsIds?: ExistingProductToPackageDto[];
|
|
542
|
-
}
|
|
543
|
-
export declare class CreatePackageToResourceDto {
|
|
544
|
-
resourceId: number;
|
|
545
|
-
resourceType: ResourceNameTypeEnum;
|
|
546
|
-
isCreateToChildProducts: boolean;
|
|
547
|
-
productsData: ProductInPackage[];
|
|
548
|
-
}
|
|
549
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
550
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
551
|
-
amountInPackage?: number;
|
|
552
|
-
level?: ProductPackageLevelEnum;
|
|
553
|
-
}
|
|
554
|
-
export declare class ExistingProductToPackageDto {
|
|
555
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
556
|
-
id: number;
|
|
557
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
558
|
-
level?: ProductPackageLevelEnum;
|
|
559
|
-
}
|
|
560
|
-
export declare class ConnectProductResourceDto {
|
|
561
|
-
productId: number;
|
|
562
|
-
resourceType: ResourceNameTypeEnum;
|
|
563
|
-
resourceIds: number[];
|
|
564
|
-
}
|
|
565
|
-
export declare class ReturnRequiredProductsDto {
|
|
566
|
-
userId: number;
|
|
567
|
-
productId: number;
|
|
568
|
-
}
|
|
569
|
-
export declare class FindByProductUserIdsDto {
|
|
570
|
-
userId: number;
|
|
432
|
+
status: PublishingStatusEnum;
|
|
571
433
|
organizationId: number;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
434
|
+
userCreatorId: number;
|
|
435
|
+
highlights: ProgramHighlights[];
|
|
436
|
+
longDescription?: string;
|
|
575
437
|
requiredProductIds: number[];
|
|
576
438
|
}
|
|
577
|
-
export declare class
|
|
578
|
-
productIds?: number[];
|
|
579
|
-
includePrices?: boolean;
|
|
580
|
-
productType?: ProductTypesEnum;
|
|
581
|
-
includeAddons?: string;
|
|
582
|
-
}
|
|
583
|
-
export declare class GetByOrganizationIdDto {
|
|
584
|
-
organizationId?: number;
|
|
585
|
-
}
|
|
586
|
-
export declare class GetByOrgIdOrderIdDto extends GetByOrganizationIdDto {
|
|
587
|
-
orderId?: number;
|
|
588
|
-
}
|
|
589
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
590
|
-
productIds?: string;
|
|
591
|
-
includePrices?: boolean;
|
|
592
|
-
productType?: string;
|
|
593
|
-
productSubType?: string;
|
|
594
|
-
search?: string;
|
|
595
|
-
includeAddons?: boolean;
|
|
596
|
-
includeArchived?: boolean;
|
|
597
|
-
includeAllData?: boolean;
|
|
598
|
-
resourceIds?: string;
|
|
599
|
-
sports?: string;
|
|
600
|
-
}
|
|
601
|
-
export declare class GetAllVariantTitlesDto {
|
|
602
|
-
organizationId: number;
|
|
439
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
603
440
|
}
|
|
604
|
-
export declare class
|
|
605
|
-
|
|
441
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
442
|
+
programId: number;
|
|
443
|
+
mainMediaId: number;
|
|
606
444
|
}
|
|
607
|
-
export declare class
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
variants: string[];
|
|
445
|
+
export declare class UpdateProgramStatusDto {
|
|
446
|
+
programId: number;
|
|
447
|
+
status: PublishingStatusEnum;
|
|
611
448
|
}
|
|
612
|
-
export declare class
|
|
613
|
-
|
|
614
|
-
|
|
449
|
+
export declare class ProgramHighlightDto {
|
|
450
|
+
data: string;
|
|
451
|
+
ordinal: number;
|
|
452
|
+
type: ProgramHighlightTypeEnum;
|
|
615
453
|
title: string;
|
|
616
|
-
variants: string[];
|
|
617
|
-
}
|
|
618
|
-
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
619
|
-
customerId: number;
|
|
620
|
-
}
|
|
621
|
-
export declare class GetExtraProductDataDto {
|
|
622
|
-
isPublic?: boolean;
|
|
623
|
-
isGetByChildResources?: boolean;
|
|
624
|
-
isGetEntitlePricing?: boolean;
|
|
625
|
-
isGetAddOns?: boolean;
|
|
626
|
-
includeResources?: boolean;
|
|
627
|
-
includeArchived?: boolean;
|
|
628
|
-
}
|
|
629
|
-
export declare class GetBySessionType {
|
|
630
|
-
sessionType: 'event' | 'segment';
|
|
631
|
-
}
|
|
632
|
-
export declare class CreateSubcategoryDto {
|
|
633
|
-
productType: ProductTypesEnum;
|
|
634
|
-
name: string;
|
|
635
|
-
stationId?: number;
|
|
636
|
-
ordinal?: number;
|
|
637
|
-
}
|
|
638
|
-
export declare class CreateSubcategoriesDto {
|
|
639
|
-
subcategories: CreateSubcategoryDto[];
|
|
640
|
-
}
|
|
641
|
-
export declare class UpdateSubcategoryDto {
|
|
642
|
-
id: number;
|
|
643
|
-
productType?: ProductTypesEnum;
|
|
644
|
-
name?: string;
|
|
645
|
-
stationId?: number;
|
|
646
|
-
ordinal?: number;
|
|
647
|
-
}
|
|
648
|
-
export declare class GetSubcategoryDto {
|
|
649
|
-
stationId?: number;
|
|
650
|
-
}
|
|
651
|
-
export declare class SetStationSubcategoriesDto {
|
|
652
|
-
stationId: number;
|
|
653
|
-
subcategoryIds?: number[];
|
|
654
|
-
categories?: string[];
|
|
655
|
-
}
|
|
656
|
-
export declare class createRentalProductAddonDto {
|
|
657
|
-
productId: number;
|
|
658
|
-
price: number;
|
|
659
|
-
isFlatPrice: boolean;
|
|
660
|
-
isMandatory: boolean;
|
|
661
|
-
level: ProductPackageLevelEnum;
|
|
662
|
-
}
|
|
663
|
-
export declare class createProductAvailabilityTimesDto {
|
|
664
|
-
availabilityStartDate?: string;
|
|
665
|
-
availabilityEndDate?: string;
|
|
666
|
-
daysOfWeek: number[];
|
|
667
|
-
startTime: string;
|
|
668
|
-
endTime: string;
|
|
669
|
-
}
|
|
670
|
-
export declare class createResourceDto {
|
|
671
|
-
resourceId: number;
|
|
672
|
-
resourceType: ResourceNameTypeEnum;
|
|
673
|
-
}
|
|
674
|
-
export declare class archiveDto {
|
|
675
|
-
isArchive: boolean;
|
|
676
|
-
}
|
|
677
|
-
export declare class CreateUpdateVariantsDto {
|
|
678
|
-
organizationId: number;
|
|
679
|
-
parentProductId: number;
|
|
680
|
-
variantTitles: VariantTitleDto[];
|
|
681
|
-
variants: VariantDto[];
|
|
682
|
-
}
|
|
683
|
-
export declare class VariantTitleDto {
|
|
684
|
-
titleName: string;
|
|
685
|
-
titleId: number;
|
|
686
|
-
}
|
|
687
|
-
export declare class VariantDto {
|
|
688
|
-
name: string;
|
|
689
|
-
price: number;
|
|
690
|
-
variantId: number;
|
|
691
|
-
currency: CurrencyEnum;
|
|
692
|
-
startDate: Date;
|
|
693
|
-
endDate: Date;
|
|
694
454
|
}
|
|
695
455
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
456
|
programId: number;
|
|
@@ -711,9 +471,17 @@ export declare class FindProgramSeasonByIdQueryDto {
|
|
|
711
471
|
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
472
|
seasonId: number;
|
|
713
473
|
}
|
|
474
|
+
export declare class FindSeasonEventsQueryDto {
|
|
475
|
+
startDateFilter?: EComparisonFilter;
|
|
476
|
+
endDateFilter?: EComparisonFilter;
|
|
477
|
+
}
|
|
714
478
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
479
|
seasonId: number;
|
|
716
480
|
}
|
|
481
|
+
export declare class FindSessionEventByIdDto {
|
|
482
|
+
seasonId: number;
|
|
483
|
+
eventId: number;
|
|
484
|
+
}
|
|
717
485
|
export declare class DeleteProductDto {
|
|
718
486
|
deleteProduct?: boolean;
|
|
719
487
|
}
|
|
@@ -820,8 +588,7 @@ export declare class SpaceResourcePairDto {
|
|
|
820
588
|
spacesIds: number[];
|
|
821
589
|
publicNotes?: string;
|
|
822
590
|
privateNotes?: string;
|
|
823
|
-
|
|
824
|
-
minutesAfterSlot?: number;
|
|
591
|
+
maintenance?: MaintenanceDto[];
|
|
825
592
|
}
|
|
826
593
|
export declare class BulkSpaceResourceAllocationDto {
|
|
827
594
|
spaceResourcePairs: SpaceResourcePairDto[];
|
|
@@ -874,51 +641,7 @@ export declare class MoveParticipantDto {
|
|
|
874
641
|
newProductId: number;
|
|
875
642
|
moveType: 'session' | 'segment';
|
|
876
643
|
resourceId: number;
|
|
877
|
-
|
|
878
|
-
}
|
|
879
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
-
organizationId: number;
|
|
881
|
-
programType?: ProgramTypesEnum;
|
|
882
|
-
}
|
|
883
|
-
export declare class FindProgramByIdDto {
|
|
884
|
-
programId: number;
|
|
885
|
-
}
|
|
886
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
-
programId: number;
|
|
888
|
-
organizationId: number;
|
|
889
|
-
}
|
|
890
|
-
export declare class BaseProgramDto {
|
|
891
|
-
type: ProgramTypesEnum;
|
|
892
|
-
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
|
-
description?: string;
|
|
899
|
-
GL?: string;
|
|
900
|
-
status: PublishingStatusEnum;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
userCreatorId: number;
|
|
903
|
-
highlights: ProgramHighlights[];
|
|
904
|
-
longDescription?: string;
|
|
905
|
-
requiredProductIds: number[];
|
|
906
|
-
}
|
|
907
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
-
}
|
|
909
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
-
programId: number;
|
|
911
|
-
mainMediaId: number;
|
|
912
|
-
}
|
|
913
|
-
export declare class UpdateProgramStatusDto {
|
|
914
|
-
programId: number;
|
|
915
|
-
status: PublishingStatusEnum;
|
|
916
|
-
}
|
|
917
|
-
export declare class ProgramHighlightDto {
|
|
918
|
-
data: string;
|
|
919
|
-
ordinal: number;
|
|
920
|
-
type: ProgramHighlightTypeEnum;
|
|
921
|
-
title: string;
|
|
644
|
+
invoiceId: number;
|
|
922
645
|
}
|
|
923
646
|
export declare class PurchasePaymentDto {
|
|
924
647
|
token: string;
|
|
@@ -928,7 +651,7 @@ export declare class ChargeRentalsReuqestDto {
|
|
|
928
651
|
organizationId: number;
|
|
929
652
|
userId?: number;
|
|
930
653
|
customerId?: number;
|
|
931
|
-
|
|
654
|
+
invoiceId: number;
|
|
932
655
|
paymentData: PurchasePaymentDto;
|
|
933
656
|
amountToPay: number;
|
|
934
657
|
total: number;
|
|
@@ -945,10 +668,11 @@ export declare class PurchaseRequestDto {
|
|
|
945
668
|
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
669
|
parentPurchasedId?: number;
|
|
947
670
|
isPartialPayment: boolean;
|
|
948
|
-
|
|
671
|
+
existingInvoiceToken?: string;
|
|
949
672
|
installments?: ScheduledPaymentDto[];
|
|
950
673
|
shiftId?: number;
|
|
951
|
-
|
|
674
|
+
invoiceId?: number;
|
|
675
|
+
platform?: PlatformsEnum;
|
|
952
676
|
}
|
|
953
677
|
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
678
|
}
|
|
@@ -963,12 +687,13 @@ export declare class PurchaseProductDto {
|
|
|
963
687
|
quantity?: number;
|
|
964
688
|
}
|
|
965
689
|
export declare class PartialPaymentRequestDto {
|
|
966
|
-
|
|
690
|
+
invoiceId: number;
|
|
967
691
|
amountToPay: number;
|
|
968
692
|
organizationId: number;
|
|
969
693
|
payingUserId: number;
|
|
970
694
|
paymentMethodData: PurchasePaymentDto;
|
|
971
695
|
shiftId?: number;
|
|
696
|
+
installmentId?: number;
|
|
972
697
|
}
|
|
973
698
|
export declare class RedeemPunchCardRequestDto {
|
|
974
699
|
products: PurchaseProductDto[];
|
|
@@ -976,8 +701,8 @@ export declare class RedeemPunchCardRequestDto {
|
|
|
976
701
|
organizationId: number;
|
|
977
702
|
purchasingUserId: number;
|
|
978
703
|
}
|
|
979
|
-
export declare class
|
|
980
|
-
|
|
704
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
705
|
+
invoiceId: number;
|
|
981
706
|
}
|
|
982
707
|
export declare class AddItemsDto {
|
|
983
708
|
products: PurchaseProductDto[];
|
|
@@ -985,10 +710,11 @@ export declare class AddItemsDto {
|
|
|
985
710
|
skipMail: boolean;
|
|
986
711
|
}
|
|
987
712
|
export declare class PartialPaymentAsUserDto {
|
|
988
|
-
|
|
713
|
+
invoiceId: any;
|
|
989
714
|
organizationId: any;
|
|
990
715
|
amountToPay: any;
|
|
991
716
|
paymentMethodData: any;
|
|
717
|
+
platform?: PlatformsEnum;
|
|
992
718
|
}
|
|
993
719
|
export declare class CreateResourceGroupDto {
|
|
994
720
|
name: string;
|
|
@@ -998,10 +724,6 @@ export declare class CreateResourceGroupDto {
|
|
|
998
724
|
}
|
|
999
725
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1000
726
|
}
|
|
1001
|
-
export declare class ResourceDto {
|
|
1002
|
-
type: ResourceNameTypeEnum;
|
|
1003
|
-
id: number;
|
|
1004
|
-
}
|
|
1005
727
|
export declare class SpaceByIdDto {
|
|
1006
728
|
spaceId: number;
|
|
1007
729
|
}
|
|
@@ -1058,12 +780,9 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1058
780
|
types?: string;
|
|
1059
781
|
resourcesIds?: string;
|
|
1060
782
|
}
|
|
1061
|
-
export declare class
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
-
publicToken: string;
|
|
1066
|
-
accountId: string;
|
|
783
|
+
export declare class ResourceDto {
|
|
784
|
+
type: ResourceNameTypeEnum;
|
|
785
|
+
id: number;
|
|
1067
786
|
}
|
|
1068
787
|
export declare class FindByUserIdDto {
|
|
1069
788
|
userId: number;
|
|
@@ -1074,19 +793,42 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1074
793
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1075
794
|
organizationId: number;
|
|
1076
795
|
}
|
|
1077
|
-
export declare class
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
796
|
+
export declare class StripeCustomerIdDto {
|
|
797
|
+
userId: number;
|
|
798
|
+
}
|
|
799
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
800
|
+
paymentMethodId: string;
|
|
801
|
+
}
|
|
802
|
+
export declare class AddACHTokenToCustomerDto {
|
|
803
|
+
publicToken: string;
|
|
804
|
+
accountId: string;
|
|
805
|
+
}
|
|
806
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
807
|
+
entityType: ResourceNameTypeEnum;
|
|
808
|
+
entityId: number;
|
|
809
|
+
organizationId?: number;
|
|
810
|
+
userId?: number;
|
|
811
|
+
customerId?: number;
|
|
812
|
+
performingUserId: number;
|
|
1084
813
|
description: string;
|
|
1085
814
|
actionType: ActionTypesEnum;
|
|
1086
815
|
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
816
|
oldValue?: any;
|
|
1088
817
|
newValue?: any;
|
|
1089
818
|
}
|
|
819
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
820
|
+
questionId: number;
|
|
821
|
+
question?: Questions;
|
|
822
|
+
parentId: number;
|
|
823
|
+
parentType: ResourceNameTypeEnum;
|
|
824
|
+
answerValue: any;
|
|
825
|
+
creatorId: number;
|
|
826
|
+
creatorType: ResourceNameTypeEnum;
|
|
827
|
+
answerTitleId: number;
|
|
828
|
+
answerTitle: AnswerTitle;
|
|
829
|
+
metaData: any | null;
|
|
830
|
+
questionText: string | null;
|
|
831
|
+
}
|
|
1090
832
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
833
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1092
834
|
parentId: number;
|
|
@@ -1111,19 +853,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1111
853
|
geo: any;
|
|
1112
854
|
deletedAt?: Date;
|
|
1113
855
|
}
|
|
1114
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
|
-
questionId: number;
|
|
1116
|
-
question?: Questions;
|
|
1117
|
-
parentId: number;
|
|
1118
|
-
parentType: ResourceNameTypeEnum;
|
|
1119
|
-
answerValue: any;
|
|
1120
|
-
creatorId: number;
|
|
1121
|
-
creatorType: ResourceNameTypeEnum;
|
|
1122
|
-
answerTitleId: number;
|
|
1123
|
-
answerTitle: AnswerTitle;
|
|
1124
|
-
metaData: any | null;
|
|
1125
|
-
questionText: string | null;
|
|
1126
|
-
}
|
|
1127
856
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1128
857
|
questionnaireId: number;
|
|
1129
858
|
userId?: number;
|
|
@@ -1135,11 +864,6 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1135
864
|
metadata: object | null;
|
|
1136
865
|
athleteSports: AthleteSports[];
|
|
1137
866
|
}
|
|
1138
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
|
-
athleteId: number | null;
|
|
1140
|
-
sports: number | null;
|
|
1141
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
|
-
}
|
|
1143
867
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
868
|
entityType: ResourceNameTypeEnum;
|
|
1145
869
|
entityId: number;
|
|
@@ -1148,6 +872,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1148
872
|
endDate: Date;
|
|
1149
873
|
deletedAt?: Date;
|
|
1150
874
|
}
|
|
875
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
876
|
+
athleteId: number | null;
|
|
877
|
+
sports: number | null;
|
|
878
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
879
|
+
}
|
|
1151
880
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
881
|
id: number;
|
|
1153
882
|
createdAt: Date;
|
|
@@ -1181,11 +910,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1181
910
|
endTimeInDay: string;
|
|
1182
911
|
directBookingFor: DirectBookingTypesEnum;
|
|
1183
912
|
}
|
|
1184
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
-
area: string;
|
|
1186
|
-
key: string;
|
|
1187
|
-
value: string;
|
|
1188
|
-
}
|
|
1189
913
|
export declare class Connection extends BondBaseEntity {
|
|
1190
914
|
connType: number | null;
|
|
1191
915
|
from: number | null;
|
|
@@ -1198,13 +922,18 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1198
922
|
userCreatorId: number | null;
|
|
1199
923
|
ownerId: number | null;
|
|
1200
924
|
}
|
|
925
|
+
export declare class Configuration extends BondBaseEntity {
|
|
926
|
+
area: string;
|
|
927
|
+
key: string;
|
|
928
|
+
value: string;
|
|
929
|
+
}
|
|
1201
930
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
931
|
creditAmount: number;
|
|
1203
932
|
paymentProcessorId: string;
|
|
1204
933
|
userId: number;
|
|
934
|
+
paymentId: number;
|
|
1205
935
|
invoiceId: number;
|
|
1206
|
-
|
|
1207
|
-
creditPaymentInvoiceId: number;
|
|
936
|
+
creditPaymentId: number;
|
|
1208
937
|
}
|
|
1209
938
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1210
939
|
name: string | null;
|
|
@@ -1234,22 +963,28 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1234
963
|
mainMedia: Media;
|
|
1235
964
|
reservations?: Reservation[];
|
|
1236
965
|
}
|
|
966
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
967
|
+
customerId?: number;
|
|
968
|
+
description: string;
|
|
969
|
+
pinToTop?: boolean;
|
|
970
|
+
customer: Customer;
|
|
971
|
+
}
|
|
1237
972
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1238
973
|
customerId: number;
|
|
1239
974
|
userId: number;
|
|
1240
975
|
amount: number;
|
|
976
|
+
paymentId?: number;
|
|
1241
977
|
invoiceId?: number;
|
|
1242
|
-
orderId?: number;
|
|
1243
978
|
description?: string;
|
|
1244
979
|
deletedAt?: Date;
|
|
1245
980
|
customer: Customer;
|
|
1246
|
-
order: Order;
|
|
1247
981
|
invoice: Invoice;
|
|
982
|
+
payment: Payment;
|
|
1248
983
|
}
|
|
1249
|
-
export declare class
|
|
1250
|
-
customerId
|
|
1251
|
-
|
|
1252
|
-
|
|
984
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
985
|
+
customerId: number;
|
|
986
|
+
name: string | null;
|
|
987
|
+
phoneNumber: string | null;
|
|
1253
988
|
customer: Customer;
|
|
1254
989
|
}
|
|
1255
990
|
export declare class Division extends BondBaseEntity {
|
|
@@ -1260,12 +995,6 @@ export declare class Division extends BondBaseEntity {
|
|
|
1260
995
|
isDefault: boolean;
|
|
1261
996
|
groups: Group[];
|
|
1262
997
|
}
|
|
1263
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
|
-
customerId: number;
|
|
1265
|
-
name: string | null;
|
|
1266
|
-
phoneNumber: string | null;
|
|
1267
|
-
customer: Customer;
|
|
1268
|
-
}
|
|
1269
998
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
999
|
name: string | null;
|
|
1271
1000
|
}
|
|
@@ -1342,6 +1071,17 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1342
1071
|
activityTimes: ActivityTimes[];
|
|
1343
1072
|
slots: Slot[];
|
|
1344
1073
|
purchasedResources: PurchasedResource[];
|
|
1074
|
+
program?: Program;
|
|
1075
|
+
session?: ProgramSeason;
|
|
1076
|
+
segment?: ProgramSeason;
|
|
1077
|
+
}
|
|
1078
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1079
|
+
facilityId: number;
|
|
1080
|
+
resourceId: number;
|
|
1081
|
+
}
|
|
1082
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1083
|
+
name: string | null;
|
|
1084
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1345
1085
|
}
|
|
1346
1086
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
1087
|
name: string;
|
|
@@ -1367,23 +1107,16 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1367
1107
|
programSeasons: ProgramSeason[];
|
|
1368
1108
|
linkSEO: string;
|
|
1369
1109
|
}
|
|
1370
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
|
-
facilityId: number;
|
|
1372
|
-
resourceId: number;
|
|
1373
|
-
}
|
|
1374
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
-
name: string | null;
|
|
1376
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
|
-
}
|
|
1378
1110
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1379
1111
|
userId: number;
|
|
1380
|
-
|
|
1112
|
+
invoiceId: number;
|
|
1381
1113
|
paymentMethodId: string;
|
|
1382
1114
|
paymentType: PaymentMethodTypeEnum;
|
|
1383
1115
|
price: number;
|
|
1384
1116
|
status: FutureInstallmentStatusEnum;
|
|
1385
1117
|
plannedDate: Date;
|
|
1386
1118
|
chargedAt?: Date;
|
|
1119
|
+
originalPlannedDate?: Date;
|
|
1387
1120
|
}
|
|
1388
1121
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
1122
|
code: string;
|
|
@@ -1422,32 +1155,38 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1422
1155
|
divisionId: number;
|
|
1423
1156
|
deletedAt?: Date;
|
|
1424
1157
|
}
|
|
1425
|
-
export declare class Invoice extends
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1158
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1159
|
+
invoiceId: string | null;
|
|
1160
|
+
price: number | null;
|
|
1161
|
+
status: InvoiceStatusEnum | null;
|
|
1162
|
+
sentForClientDate: Date | null;
|
|
1163
|
+
payingUserId?: number | null;
|
|
1164
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1165
|
+
lineItems: LineItems[];
|
|
1166
|
+
lineItemHistory: LineItemHistory[];
|
|
1429
1167
|
paymentStatus: PaymentStatusEnum;
|
|
1430
|
-
bondFee?: number;
|
|
1431
|
-
stripeFee?: number;
|
|
1432
|
-
currency: CurrencyEnum;
|
|
1433
|
-
payingUserId?: number;
|
|
1434
1168
|
paymentMethodId?: string;
|
|
1435
1169
|
paymentType?: PaymentMethodTypeEnum;
|
|
1436
|
-
|
|
1437
|
-
|
|
1170
|
+
paidAmount: number;
|
|
1171
|
+
currency: CurrencyEnum;
|
|
1172
|
+
mainPaymentId: number;
|
|
1173
|
+
isScheduled: boolean;
|
|
1438
1174
|
isRefunded: boolean;
|
|
1439
|
-
|
|
1440
|
-
receiptUrl?: string;
|
|
1441
|
-
paymentProcessorTransactionId?: string;
|
|
1175
|
+
isVoided: boolean;
|
|
1442
1176
|
creatingUserId: number;
|
|
1443
1177
|
shiftId: number;
|
|
1444
1178
|
platform: PlatformsEnum;
|
|
1445
|
-
ccLast4: string;
|
|
1446
|
-
ccBrand: string;
|
|
1447
1179
|
invoiceNotes: InvoiceNote[];
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1180
|
+
slots: Slot[];
|
|
1181
|
+
}
|
|
1182
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1183
|
+
content: string;
|
|
1184
|
+
creatingUserId: number;
|
|
1185
|
+
user: User;
|
|
1186
|
+
isPublic: boolean;
|
|
1187
|
+
deletedAt: Date;
|
|
1188
|
+
invoiceId: number;
|
|
1189
|
+
invoice: Invoice;
|
|
1451
1190
|
}
|
|
1452
1191
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1453
1192
|
email: string;
|
|
@@ -1460,40 +1199,13 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1460
1199
|
mailParams?: any;
|
|
1461
1200
|
memo?: string;
|
|
1462
1201
|
}
|
|
1463
|
-
export declare class
|
|
1464
|
-
content: string;
|
|
1465
|
-
creatingUserId: number;
|
|
1466
|
-
user: User;
|
|
1467
|
-
isPublic: boolean;
|
|
1468
|
-
deletedAt: Date;
|
|
1202
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1469
1203
|
invoiceId: number;
|
|
1204
|
+
paymentId: number;
|
|
1470
1205
|
invoice: Invoice;
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
description: string | null;
|
|
1475
|
-
allowBookingRequest: boolean | null;
|
|
1476
|
-
addressName: string | null;
|
|
1477
|
-
shortDescription: string | null;
|
|
1478
|
-
waiverDoc: string | null;
|
|
1479
|
-
bookingStateStatus: number | null;
|
|
1480
|
-
timezone: string | null;
|
|
1481
|
-
shortUrl: string | null;
|
|
1482
|
-
leagueType: string | null;
|
|
1483
|
-
addressId: number | null;
|
|
1484
|
-
sportConfigData: any | null;
|
|
1485
|
-
creatorId: number | null;
|
|
1486
|
-
creatorType: string | null;
|
|
1487
|
-
userCreatorId: number | null;
|
|
1488
|
-
ownerId: number | null;
|
|
1489
|
-
sports: number[] | null;
|
|
1490
|
-
mainMediaId: number | null;
|
|
1491
|
-
publishedDate: Date | null;
|
|
1492
|
-
isPublished: boolean | null;
|
|
1493
|
-
isVerified: boolean | null;
|
|
1494
|
-
questionnaireId: number | null;
|
|
1495
|
-
logo?: Media;
|
|
1496
|
-
seasons: LeagueSeason[];
|
|
1206
|
+
payment: Payment;
|
|
1207
|
+
paidAmount?: number;
|
|
1208
|
+
currency: CurrencyEnum;
|
|
1497
1209
|
}
|
|
1498
1210
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1499
1211
|
leagueId: number | null;
|
|
@@ -1540,21 +1252,47 @@ export declare class LeagueSeasonRelations {
|
|
|
1540
1252
|
facilities?: boolean;
|
|
1541
1253
|
}
|
|
1542
1254
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
-
orderId: number;
|
|
1544
1255
|
invoiceId: number;
|
|
1256
|
+
paymentId: number;
|
|
1545
1257
|
lineItemId: number;
|
|
1546
1258
|
paidAmount: number;
|
|
1547
1259
|
unitPaidAmount: number;
|
|
1548
1260
|
currency: CurrencyEnum;
|
|
1549
|
-
|
|
1261
|
+
payment: Payment;
|
|
1550
1262
|
lineItem: LineItems;
|
|
1551
1263
|
}
|
|
1264
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1265
|
+
name: string | null;
|
|
1266
|
+
description: string | null;
|
|
1267
|
+
allowBookingRequest: boolean | null;
|
|
1268
|
+
addressName: string | null;
|
|
1269
|
+
shortDescription: string | null;
|
|
1270
|
+
waiverDoc: string | null;
|
|
1271
|
+
bookingStateStatus: number | null;
|
|
1272
|
+
timezone: string | null;
|
|
1273
|
+
shortUrl: string | null;
|
|
1274
|
+
leagueType: string | null;
|
|
1275
|
+
addressId: number | null;
|
|
1276
|
+
sportConfigData: any | null;
|
|
1277
|
+
creatorId: number | null;
|
|
1278
|
+
creatorType: string | null;
|
|
1279
|
+
userCreatorId: number | null;
|
|
1280
|
+
ownerId: number | null;
|
|
1281
|
+
sports: number[] | null;
|
|
1282
|
+
mainMediaId: number | null;
|
|
1283
|
+
publishedDate: Date | null;
|
|
1284
|
+
isPublished: boolean | null;
|
|
1285
|
+
isVerified: boolean | null;
|
|
1286
|
+
questionnaireId: number | null;
|
|
1287
|
+
logo?: Media;
|
|
1288
|
+
seasons: LeagueSeason[];
|
|
1289
|
+
}
|
|
1552
1290
|
export declare class LineItems extends BondBaseEntity {
|
|
1553
1291
|
constructor();
|
|
1554
1292
|
defineIsReverted(): void;
|
|
1555
1293
|
isReverted: boolean;
|
|
1556
|
-
|
|
1557
|
-
|
|
1294
|
+
invoiceId: number;
|
|
1295
|
+
invoice: Invoice;
|
|
1558
1296
|
lineItemsHistory: LineItemHistory[];
|
|
1559
1297
|
type: LineItemsStatusEnum | null;
|
|
1560
1298
|
userId: number | null;
|
|
@@ -1639,6 +1377,26 @@ export declare class Media extends BondBaseEntity {
|
|
|
1639
1377
|
programs: Program[];
|
|
1640
1378
|
memberships: Membership[];
|
|
1641
1379
|
}
|
|
1380
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1381
|
+
membership: Membership;
|
|
1382
|
+
membershipId: number;
|
|
1383
|
+
productUserId: number;
|
|
1384
|
+
productUser?: ProductsUsers;
|
|
1385
|
+
userId: number;
|
|
1386
|
+
membershipType: MembershipTypeEnum;
|
|
1387
|
+
durationMonths?: number;
|
|
1388
|
+
startDate?: string;
|
|
1389
|
+
endDate?: string;
|
|
1390
|
+
renewalOfMemberId?: number;
|
|
1391
|
+
isAutoRenew?: boolean;
|
|
1392
|
+
nextPaymentMethodId?: string;
|
|
1393
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1394
|
+
answerTitleIds?: number[];
|
|
1395
|
+
cancelledAt?: Date | null;
|
|
1396
|
+
cancellationReason?: string;
|
|
1397
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1398
|
+
isImported?: boolean;
|
|
1399
|
+
}
|
|
1642
1400
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1643
1401
|
name: string;
|
|
1644
1402
|
description?: string;
|
|
@@ -1667,26 +1425,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1667
1425
|
isAutoRenew?: boolean;
|
|
1668
1426
|
purchasedResources: PurchasedResource[];
|
|
1669
1427
|
}
|
|
1670
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1671
|
-
membership: Membership;
|
|
1672
|
-
membershipId: number;
|
|
1673
|
-
productUserId: number;
|
|
1674
|
-
productUser?: ProductsUsers;
|
|
1675
|
-
userId: number;
|
|
1676
|
-
membershipType: MembershipTypeEnum;
|
|
1677
|
-
durationMonths?: number;
|
|
1678
|
-
startDate?: string;
|
|
1679
|
-
endDate?: string;
|
|
1680
|
-
renewalOfMemberId?: number;
|
|
1681
|
-
isAutoRenew?: boolean;
|
|
1682
|
-
nextPaymentMethodId?: string;
|
|
1683
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1684
|
-
answerTitleIds?: number[];
|
|
1685
|
-
cancelledAt?: Date | null;
|
|
1686
|
-
cancellationReason?: string;
|
|
1687
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1688
|
-
isImported?: boolean;
|
|
1689
|
-
}
|
|
1690
1428
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1691
1429
|
email: string | null;
|
|
1692
1430
|
notificationType: NotificationTypeEnum | null;
|
|
@@ -1704,47 +1442,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1704
1442
|
deletedAt?: Date;
|
|
1705
1443
|
facility: Facility;
|
|
1706
1444
|
}
|
|
1707
|
-
export declare class Order extends BondBaseEntity {
|
|
1708
|
-
orderId: string | null;
|
|
1709
|
-
price: number | null;
|
|
1710
|
-
status: OrderStatusEnum | null;
|
|
1711
|
-
sentForClientDate: Date | null;
|
|
1712
|
-
payingUserId?: number | null;
|
|
1713
|
-
orderToInvoices: OrderToInvoice[];
|
|
1714
|
-
lineItems: LineItems[];
|
|
1715
|
-
lineItemHistory: LineItemHistory[];
|
|
1716
|
-
paymentStatus: PaymentStatusEnum;
|
|
1717
|
-
paymentMethodId?: string;
|
|
1718
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1719
|
-
paidAmount: number;
|
|
1720
|
-
currency: CurrencyEnum;
|
|
1721
|
-
mainInvoiceId: number;
|
|
1722
|
-
isScheduled: boolean;
|
|
1723
|
-
isRefunded: boolean;
|
|
1724
|
-
isVoided: boolean;
|
|
1725
|
-
creatingUserId: number;
|
|
1726
|
-
shiftId: number;
|
|
1727
|
-
platform: PlatformsEnum;
|
|
1728
|
-
orderNotes: OrderNote[];
|
|
1729
|
-
slots: Slot[];
|
|
1730
|
-
}
|
|
1731
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
-
content: string;
|
|
1733
|
-
creatingUserId: number;
|
|
1734
|
-
user: User;
|
|
1735
|
-
isPublic: boolean;
|
|
1736
|
-
deletedAt: Date;
|
|
1737
|
-
orderId: number;
|
|
1738
|
-
order: Order;
|
|
1739
|
-
}
|
|
1740
|
-
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1741
|
-
orderId: number;
|
|
1742
|
-
invoiceId: number;
|
|
1743
|
-
order: Order;
|
|
1744
|
-
invoice: Invoice;
|
|
1745
|
-
paidAmount?: number;
|
|
1746
|
-
currency: CurrencyEnum;
|
|
1747
|
-
}
|
|
1748
1445
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
1446
|
organizationId: number;
|
|
1750
1447
|
}
|
|
@@ -1771,11 +1468,51 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1771
1468
|
validUntil: Date | null;
|
|
1772
1469
|
active: boolean | null;
|
|
1773
1470
|
}
|
|
1774
|
-
export declare class
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1471
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1472
|
+
price: number;
|
|
1473
|
+
paymentProcessorId: string;
|
|
1474
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1475
|
+
paymentStatus: PaymentStatusEnum;
|
|
1476
|
+
bondFee?: number;
|
|
1477
|
+
stripeFee?: number;
|
|
1478
|
+
currency: CurrencyEnum;
|
|
1479
|
+
payingUserId?: number;
|
|
1480
|
+
paymentMethodId?: string;
|
|
1481
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1482
|
+
fundLeft: number;
|
|
1483
|
+
notes?: string;
|
|
1484
|
+
isRefunded: boolean;
|
|
1485
|
+
lineItemHistory: LineItemHistory[];
|
|
1486
|
+
receiptUrl?: string;
|
|
1487
|
+
paymentProcessorTransactionId?: string;
|
|
1488
|
+
creatingUserId: number;
|
|
1489
|
+
shiftId: number;
|
|
1490
|
+
platform: PlatformsEnum;
|
|
1491
|
+
ccLast4: string;
|
|
1492
|
+
ccBrand: string;
|
|
1493
|
+
paymentNotes: PaymentNote[];
|
|
1494
|
+
parentInvoiceId?: number;
|
|
1495
|
+
refundReasonId?: number;
|
|
1496
|
+
refundNote?: string;
|
|
1497
|
+
}
|
|
1498
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1499
|
+
paymentInstallmentId?: number;
|
|
1500
|
+
invoiceId: number;
|
|
1501
|
+
reason: EFailedPaymentReasons;
|
|
1502
|
+
errorMessage: string;
|
|
1503
|
+
}
|
|
1504
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1505
|
+
failureIndex: number;
|
|
1506
|
+
waitingDays: number;
|
|
1507
|
+
}
|
|
1508
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1509
|
+
content: string;
|
|
1510
|
+
creatingUserId: number;
|
|
1511
|
+
user: User;
|
|
1512
|
+
isPublic: boolean;
|
|
1513
|
+
deletedAt: Date;
|
|
1514
|
+
paymentId: number;
|
|
1515
|
+
payment: Payment;
|
|
1779
1516
|
}
|
|
1780
1517
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1781
1518
|
userId: number | null;
|
|
@@ -1793,7 +1530,7 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1793
1530
|
locked: boolean | null;
|
|
1794
1531
|
numberOfTries: number | null;
|
|
1795
1532
|
installmentId: number | null;
|
|
1796
|
-
|
|
1533
|
+
invoiceId: string | null;
|
|
1797
1534
|
}
|
|
1798
1535
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1799
1536
|
productId: number;
|
|
@@ -1862,6 +1599,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1862
1599
|
activityTimes: ActivityTimes[];
|
|
1863
1600
|
purchasedResources: PurchasedResource[];
|
|
1864
1601
|
}
|
|
1602
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1603
|
+
paymentPlanId: number;
|
|
1604
|
+
paymentDate: Date;
|
|
1605
|
+
deletedAt?: Date;
|
|
1606
|
+
paymentPlan: ProductPaymentPlan;
|
|
1607
|
+
}
|
|
1608
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1609
|
+
productId: number;
|
|
1610
|
+
maxMonths?: number;
|
|
1611
|
+
dayOfMonth?: number;
|
|
1612
|
+
name: string;
|
|
1613
|
+
deletedAt?: Date;
|
|
1614
|
+
schedule: PaymentPlanSchedule[];
|
|
1615
|
+
product?: Product;
|
|
1616
|
+
}
|
|
1865
1617
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1866
1618
|
parentProductId: number;
|
|
1867
1619
|
childProductId: number;
|
|
@@ -1877,15 +1629,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1877
1629
|
durationDays?: number;
|
|
1878
1630
|
level?: ProductPackageLevelEnum;
|
|
1879
1631
|
}
|
|
1880
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1881
|
-
productId: number;
|
|
1882
|
-
maxMonths?: number;
|
|
1883
|
-
dayOfMonth?: number;
|
|
1884
|
-
name: string;
|
|
1885
|
-
deletedAt?: Date;
|
|
1886
|
-
schedule: PaymentPlanSchedule[];
|
|
1887
|
-
product?: Product;
|
|
1888
|
-
}
|
|
1889
1632
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1890
1633
|
productId: number;
|
|
1891
1634
|
resourceId: number;
|
|
@@ -1901,10 +1644,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1901
1644
|
productId: number;
|
|
1902
1645
|
variantTitleId: number;
|
|
1903
1646
|
}
|
|
1904
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1905
|
-
productId: number;
|
|
1906
|
-
variantId: number;
|
|
1907
|
-
}
|
|
1908
1647
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1909
1648
|
productId: number;
|
|
1910
1649
|
customerId: number;
|
|
@@ -1912,6 +1651,10 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1912
1651
|
deletedAt?: Date;
|
|
1913
1652
|
product: Product;
|
|
1914
1653
|
}
|
|
1654
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1655
|
+
productId: number;
|
|
1656
|
+
variantId: number;
|
|
1657
|
+
}
|
|
1915
1658
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1916
1659
|
productId: number;
|
|
1917
1660
|
userId: number;
|
|
@@ -1929,6 +1672,14 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1929
1672
|
slots?: Slot[];
|
|
1930
1673
|
addons?: Addon[];
|
|
1931
1674
|
}
|
|
1675
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1676
|
+
type: ProgramHighlightTypeEnum;
|
|
1677
|
+
ordinal: number | null;
|
|
1678
|
+
title: string | null;
|
|
1679
|
+
data: any | null;
|
|
1680
|
+
program: Program;
|
|
1681
|
+
deletedAt?: Date;
|
|
1682
|
+
}
|
|
1932
1683
|
export declare class Program extends BondBaseEntity {
|
|
1933
1684
|
type: ProgramTypesEnum;
|
|
1934
1685
|
name: string;
|
|
@@ -1951,14 +1702,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1951
1702
|
programSeason: ProgramSeason[];
|
|
1952
1703
|
purchasedResources: PurchasedResource[];
|
|
1953
1704
|
}
|
|
1954
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1955
|
-
type: ProgramHighlightTypeEnum;
|
|
1956
|
-
ordinal: number | null;
|
|
1957
|
-
title: string | null;
|
|
1958
|
-
data: any | null;
|
|
1959
|
-
program: Program;
|
|
1960
|
-
deletedAt?: Date;
|
|
1961
|
-
}
|
|
1962
1705
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1963
1706
|
programId: number;
|
|
1964
1707
|
name: string;
|
|
@@ -1999,6 +1742,7 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1999
1742
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2000
1743
|
program: Program;
|
|
2001
1744
|
spaces?: Resource[];
|
|
1745
|
+
reservationId?: number;
|
|
2002
1746
|
earlyRegistrationStartDate?: Date;
|
|
2003
1747
|
earlyRegistrationEndDate?: Date;
|
|
2004
1748
|
lateRegistrationStartDate?: Date;
|
|
@@ -2058,17 +1802,6 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
|
2058
1802
|
ordinal: number;
|
|
2059
1803
|
deletedAt: Date;
|
|
2060
1804
|
}
|
|
2061
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2062
|
-
resourceType: ResourceNameTypeEnum;
|
|
2063
|
-
resourceId: number;
|
|
2064
|
-
openNumDays?: number;
|
|
2065
|
-
openNumMinutes?: number;
|
|
2066
|
-
openTime?: string;
|
|
2067
|
-
closeNumDays?: number;
|
|
2068
|
-
closeNumMinutes?: number;
|
|
2069
|
-
closeTime?: string;
|
|
2070
|
-
deletedAt?: Date;
|
|
2071
|
-
}
|
|
2072
1805
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2073
1806
|
name?: string;
|
|
2074
1807
|
description?: string;
|
|
@@ -2076,7 +1809,7 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2076
1809
|
status?: string;
|
|
2077
1810
|
privacySetting?: string;
|
|
2078
1811
|
reservationType?: string;
|
|
2079
|
-
|
|
1812
|
+
invoiceId?: string;
|
|
2080
1813
|
customerId?: number;
|
|
2081
1814
|
length?: number;
|
|
2082
1815
|
price?: number;
|
|
@@ -2129,6 +1862,17 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2129
1862
|
purchasedResources: PurchasedResource[];
|
|
2130
1863
|
linkSEO: string;
|
|
2131
1864
|
}
|
|
1865
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
1866
|
+
resourceType: ResourceNameTypeEnum;
|
|
1867
|
+
resourceId: number;
|
|
1868
|
+
openNumDays?: number;
|
|
1869
|
+
openNumMinutes?: number;
|
|
1870
|
+
openTime?: string;
|
|
1871
|
+
closeNumDays?: number;
|
|
1872
|
+
closeNumMinutes?: number;
|
|
1873
|
+
closeTime?: string;
|
|
1874
|
+
deletedAt?: Date;
|
|
1875
|
+
}
|
|
2132
1876
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2133
1877
|
name: string;
|
|
2134
1878
|
facilityId: number;
|
|
@@ -2212,14 +1956,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2212
1956
|
station: Station;
|
|
2213
1957
|
subcategory: Subcategory;
|
|
2214
1958
|
}
|
|
2215
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2216
|
-
productType: ProductTypesEnum;
|
|
2217
|
-
name: string;
|
|
2218
|
-
ordinal?: number;
|
|
2219
|
-
deletedAt?: Date;
|
|
2220
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2221
|
-
stations: Station[];
|
|
2222
|
-
}
|
|
2223
1959
|
export declare class Team extends BondBaseEntity {
|
|
2224
1960
|
name: string | null;
|
|
2225
1961
|
description: string | null;
|
|
@@ -2263,6 +1999,14 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2263
1999
|
tokenExpirationDate: Date;
|
|
2264
2000
|
isUsed: boolean;
|
|
2265
2001
|
}
|
|
2002
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2003
|
+
productType: ProductTypesEnum;
|
|
2004
|
+
name: string;
|
|
2005
|
+
ordinal?: number;
|
|
2006
|
+
deletedAt?: Date;
|
|
2007
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2008
|
+
stations: Station[];
|
|
2009
|
+
}
|
|
2266
2010
|
export declare class TeamMember extends BondBaseEntity {
|
|
2267
2011
|
teamId: number | null;
|
|
2268
2012
|
userId: number | null;
|
|
@@ -2308,8 +2052,8 @@ export declare class User extends BondBaseEntity {
|
|
|
2308
2052
|
linkedAccounts: LinkedAccounts[];
|
|
2309
2053
|
profilePicture: Media;
|
|
2310
2054
|
usersRoles: UserRole[];
|
|
2311
|
-
orderNotes: OrderNote[];
|
|
2312
2055
|
invoiceNotes: InvoiceNote[];
|
|
2056
|
+
paymentNotes: PaymentNote[];
|
|
2313
2057
|
}
|
|
2314
2058
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2315
2059
|
entityId: number | null;
|
|
@@ -2325,6 +2069,14 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2325
2069
|
familyAccount: FamilyAccount;
|
|
2326
2070
|
deletedAt?: Date;
|
|
2327
2071
|
}
|
|
2072
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2073
|
+
userId: number;
|
|
2074
|
+
failCount: number;
|
|
2075
|
+
isDefault?: boolean;
|
|
2076
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
2077
|
+
paymentMethodId: string;
|
|
2078
|
+
nextAllowedChargeDate?: Date;
|
|
2079
|
+
}
|
|
2328
2080
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2329
2081
|
groupId: number;
|
|
2330
2082
|
userId: number;
|
|
@@ -2372,7 +2124,7 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2372
2124
|
GAMESLOT = "gameslot",
|
|
2373
2125
|
SPACE = "space",
|
|
2374
2126
|
RESERVATION = "reservation",
|
|
2375
|
-
|
|
2127
|
+
INVOICE = "invoice",
|
|
2376
2128
|
CUSTOMER = "customer",
|
|
2377
2129
|
PACKAGE = "package",
|
|
2378
2130
|
FACILITY = "facility",
|
|
@@ -2565,7 +2317,7 @@ export declare enum ProductTypesEnum {
|
|
|
2565
2317
|
LEAGUE_REGISTRATION = "league_registration",
|
|
2566
2318
|
TAX = "tax"
|
|
2567
2319
|
}
|
|
2568
|
-
export declare enum
|
|
2320
|
+
export declare enum InvoiceStatusEnum {
|
|
2569
2321
|
ACTIVE = "active",
|
|
2570
2322
|
WAITING_ADMIN = "waitingAdmin",
|
|
2571
2323
|
WAITING_CLIENT = "waitingClient",
|
|
@@ -2589,7 +2341,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2589
2341
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2590
2342
|
OTHER = "other",
|
|
2591
2343
|
MIGRATED = "migrated",
|
|
2592
|
-
VOID = "void"
|
|
2344
|
+
VOID = "void",
|
|
2345
|
+
GIFT_CARD = "gift-card"
|
|
2593
2346
|
}
|
|
2594
2347
|
export declare enum RefundTypeEnum {
|
|
2595
2348
|
LEAVE_BALANCE = "leave_balance",
|
|
@@ -2756,7 +2509,8 @@ export declare enum OrganizationLocaleDateEnum {
|
|
|
2756
2509
|
}
|
|
2757
2510
|
export declare enum DateTimeFormatsEnum {
|
|
2758
2511
|
API_DATE = "YYYY/MM/DD",
|
|
2759
|
-
API_TIME = "HH:mm:ss"
|
|
2512
|
+
API_TIME = "HH:mm:ss",
|
|
2513
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2760
2514
|
}
|
|
2761
2515
|
export declare enum SlotTypeEnum {
|
|
2762
2516
|
EXTERNAL = "external",
|
|
@@ -2766,6 +2520,7 @@ export declare enum SlotTypeEnum {
|
|
|
2766
2520
|
}
|
|
2767
2521
|
export declare enum PlatformsEnum {
|
|
2768
2522
|
CONSUMER = "consumer",
|
|
2523
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2769
2524
|
BO = "backoffice",
|
|
2770
2525
|
MOBILE = "mobile",
|
|
2771
2526
|
CRON = "cron"
|
|
@@ -2788,7 +2543,8 @@ export declare enum ReservationTypeEnum {
|
|
|
2788
2543
|
RENTAL = "rental",
|
|
2789
2544
|
PROGRAM = "program",
|
|
2790
2545
|
MAINTENANCE = "maintenance",
|
|
2791
|
-
CUSTOM = "custom"
|
|
2546
|
+
CUSTOM = "custom",
|
|
2547
|
+
INTERNAL = "internal"
|
|
2792
2548
|
}
|
|
2793
2549
|
export declare enum SlotDurationTypeEnum {
|
|
2794
2550
|
DATES = "dates",
|
|
@@ -2814,7 +2570,8 @@ export declare enum MaintenanceTimingEnum {
|
|
|
2814
2570
|
}
|
|
2815
2571
|
export declare enum CreatorTypeEnum {
|
|
2816
2572
|
SPACE = "space",
|
|
2817
|
-
PROGRAM_SEASON = "program_season"
|
|
2573
|
+
PROGRAM_SEASON = "program_season",
|
|
2574
|
+
SEASON = "season"
|
|
2818
2575
|
}
|
|
2819
2576
|
export declare enum UpdatePricesTypeEnum {
|
|
2820
2577
|
INDIVIDUAL = "indvidual",
|
|
@@ -2875,6 +2632,19 @@ export declare enum EEmailStatus {
|
|
|
2875
2632
|
PAID = "paid",
|
|
2876
2633
|
CANCELED = "canceled"
|
|
2877
2634
|
}
|
|
2635
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2636
|
+
ENABLED = 1,
|
|
2637
|
+
DISABLED_REDIRECT = 2,
|
|
2638
|
+
DISABLED_INFO_ONLY = 3,
|
|
2639
|
+
DISABLED_EMAIL = 4
|
|
2640
|
+
}
|
|
2641
|
+
export declare enum NotifyMethodEnum {
|
|
2642
|
+
EMAIL = "Email"
|
|
2643
|
+
}
|
|
2644
|
+
export declare enum EComparisonFilter {
|
|
2645
|
+
LessThan = "lt",
|
|
2646
|
+
GreaterOrEqualTo = "gte"
|
|
2647
|
+
}
|
|
2878
2648
|
export interface IEntitlementTerms {
|
|
2879
2649
|
type: EntitlementTermsTypesEnum;
|
|
2880
2650
|
id?: number;
|
|
@@ -2913,8 +2683,8 @@ export interface IChildProduct {
|
|
|
2913
2683
|
export interface ISeasonAttendeeInfo {
|
|
2914
2684
|
applicationAnswers: Answer[];
|
|
2915
2685
|
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2916
|
-
invoices:
|
|
2917
|
-
payments:
|
|
2686
|
+
invoices: Invoice[];
|
|
2687
|
+
payments: Payment[];
|
|
2918
2688
|
products: Product[];
|
|
2919
2689
|
redeemNext: ProductsUsers;
|
|
2920
2690
|
}
|
|
@@ -2944,8 +2714,8 @@ export interface ITokenResonse {
|
|
|
2944
2714
|
}
|
|
2945
2715
|
export interface IStripeBondInvoices {
|
|
2946
2716
|
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2947
|
-
|
|
2948
|
-
|
|
2717
|
+
bondPaidPayment: Payment;
|
|
2718
|
+
invoice?: Invoice;
|
|
2949
2719
|
customer?: Customer;
|
|
2950
2720
|
}
|
|
2951
2721
|
export interface IPartialPaymentData {
|
|
@@ -3015,11 +2785,11 @@ export interface ISingleMemberForRenewal {
|
|
|
3015
2785
|
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3016
2786
|
member_answerTitleIds?: number[];
|
|
3017
2787
|
member_organizationId: number;
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
2788
|
+
product_productPrice: number;
|
|
2789
|
+
product_productId: number;
|
|
2790
|
+
invoice_payingUserId: number;
|
|
2791
|
+
invoice_paymentMethodId: string;
|
|
2792
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3023
2793
|
endDate: Date;
|
|
3024
2794
|
membership_name: string;
|
|
3025
2795
|
user_firstName: string;
|
|
@@ -3028,9 +2798,9 @@ export interface ISingleMemberForRenewal {
|
|
|
3028
2798
|
}
|
|
3029
2799
|
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3030
2800
|
package_parentProductId: number;
|
|
3031
|
-
|
|
2801
|
+
product2_productPrice: number;
|
|
3032
2802
|
familyid: number;
|
|
3033
|
-
|
|
2803
|
+
invoice_id: number;
|
|
3034
2804
|
}
|
|
3035
2805
|
export interface IResourceRegistrationData {
|
|
3036
2806
|
id: number;
|
|
@@ -3235,803 +3005,801 @@ export interface IReservationCreatorData {
|
|
|
3235
3005
|
endDate: string;
|
|
3236
3006
|
sportId: number;
|
|
3237
3007
|
}
|
|
3238
|
-
export declare class
|
|
3239
|
-
|
|
3240
|
-
from(data: string): number;
|
|
3008
|
+
export declare class FindByProgramSeasonIdDto {
|
|
3009
|
+
seasonId: number;
|
|
3241
3010
|
}
|
|
3242
|
-
export declare
|
|
3243
|
-
|
|
3244
|
-
name?: string;
|
|
3245
|
-
genderStr?: string;
|
|
3246
|
-
parentID?: string;
|
|
3247
|
-
partnerID?: string;
|
|
3248
|
-
membershipName?: string;
|
|
3249
|
-
membershipExpDate?: string;
|
|
3250
|
-
membershipCreationDate?: string;
|
|
3251
|
-
bondMembershipID?: number;
|
|
3011
|
+
export declare class CreateBulkDivisionsDto {
|
|
3012
|
+
divisions: CreateDivisionDto[];
|
|
3252
3013
|
}
|
|
3253
|
-
export declare class
|
|
3254
|
-
|
|
3255
|
-
|
|
3014
|
+
export declare class CreateDivisionDto {
|
|
3015
|
+
name: string;
|
|
3016
|
+
ordinal?: number;
|
|
3017
|
+
programSeasonId: number;
|
|
3018
|
+
color: string;
|
|
3019
|
+
isDefault: boolean;
|
|
3256
3020
|
}
|
|
3257
|
-
export declare
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3021
|
+
export declare class CreateGroupDto {
|
|
3022
|
+
name: string;
|
|
3023
|
+
description?: string;
|
|
3024
|
+
status?: GroupStatusEnum;
|
|
3025
|
+
maxCapacity?: number;
|
|
3026
|
+
mainMediaId?: number;
|
|
3027
|
+
minAgeYears?: number;
|
|
3028
|
+
maxAgeYears?: number;
|
|
3029
|
+
gender: GenderEnum;
|
|
3030
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
3031
|
+
sports: SportsEnum[];
|
|
3032
|
+
questionnaires?: number[];
|
|
3033
|
+
captainUserId?: number;
|
|
3034
|
+
divisionId?: number;
|
|
3264
3035
|
}
|
|
3265
|
-
export declare class
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
createdTime: string;
|
|
3270
|
-
quantity: string;
|
|
3271
|
-
price: string;
|
|
3272
|
-
total: string;
|
|
3273
|
-
customerID: string;
|
|
3274
|
-
resourceType: string;
|
|
3275
|
-
resourceID: string;
|
|
3036
|
+
export declare class ConnectGroupToDivision {
|
|
3037
|
+
groupId: number;
|
|
3038
|
+
divisionId: number;
|
|
3039
|
+
prevDivisionId: number;
|
|
3276
3040
|
}
|
|
3277
|
-
export declare class
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
payments?: ImportedPaymentDto[];
|
|
3282
|
-
lines: any;
|
|
3041
|
+
export declare class MoveUserInGroups {
|
|
3042
|
+
userId: number;
|
|
3043
|
+
groupId?: number;
|
|
3044
|
+
prevGroupId?: number;
|
|
3283
3045
|
}
|
|
3284
|
-
export declare class
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
description: string;
|
|
3288
|
-
paid: string;
|
|
3289
|
-
date: string;
|
|
3290
|
-
time: string;
|
|
3046
|
+
export declare class SaveUserAsGroupCaptain {
|
|
3047
|
+
groupId: number;
|
|
3048
|
+
userId: number;
|
|
3291
3049
|
}
|
|
3292
|
-
export declare class
|
|
3293
|
-
|
|
3050
|
+
export declare class CreateTeamInviteDto {
|
|
3051
|
+
emails: string[];
|
|
3052
|
+
userCreatorId: number;
|
|
3294
3053
|
}
|
|
3295
|
-
export declare class
|
|
3296
|
-
|
|
3297
|
-
prices: Price[];
|
|
3298
|
-
resourceIds: number[];
|
|
3299
|
-
oldId: number;
|
|
3054
|
+
export declare class TeamByIdDto {
|
|
3055
|
+
teamId: number;
|
|
3300
3056
|
}
|
|
3301
|
-
export declare class
|
|
3302
|
-
|
|
3303
|
-
QuantityLeft: number;
|
|
3304
|
-
BondProgramID: number;
|
|
3305
|
-
BondSessionID: number;
|
|
3306
|
-
ProductID: number;
|
|
3057
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
3058
|
+
inviteToken: string;
|
|
3307
3059
|
}
|
|
3308
|
-
export declare class
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
3312
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3313
|
-
price?: string;
|
|
3314
|
-
minutes?: string;
|
|
3315
|
-
quantity: string;
|
|
3316
|
-
startDate?: string;
|
|
3317
|
-
startTime?: string;
|
|
3318
|
-
endDate?: string;
|
|
3319
|
-
endTime?: string;
|
|
3320
|
-
bondProductId?: number;
|
|
3060
|
+
export declare class JoinTeamDto {
|
|
3061
|
+
userId: number;
|
|
3062
|
+
inviteToken?: string;
|
|
3321
3063
|
}
|
|
3322
|
-
export declare class
|
|
3323
|
-
|
|
3324
|
-
resourceName?: string;
|
|
3064
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
3065
|
+
userId: number;
|
|
3325
3066
|
}
|
|
3326
|
-
export
|
|
3327
|
-
|
|
3328
|
-
|
|
3067
|
+
export interface IMoveSeason {
|
|
3068
|
+
fromSeasonId: number;
|
|
3069
|
+
toSeasonId: number;
|
|
3329
3070
|
}
|
|
3330
|
-
export declare class
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
startTime: string;
|
|
3337
|
-
endDate: string;
|
|
3338
|
-
endTime: string;
|
|
3339
|
-
sportId?: string;
|
|
3340
|
-
setupDuration: string;
|
|
3341
|
-
setupIncludeInCosts: string;
|
|
3342
|
-
takedownDuration: string;
|
|
3343
|
-
takedownIncludeInCosts: string;
|
|
3344
|
-
slotProduct: ImportedSlotProductDto;
|
|
3345
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3346
|
-
totalPrice: string;
|
|
3071
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
3072
|
+
teamId?: number;
|
|
3073
|
+
memberId?: number;
|
|
3074
|
+
fromSeasonId: number;
|
|
3075
|
+
toSeasonId: number;
|
|
3076
|
+
toDivisionId?: number;
|
|
3347
3077
|
}
|
|
3348
|
-
export declare class
|
|
3349
|
-
|
|
3350
|
-
customerId: string;
|
|
3351
|
-
description: string;
|
|
3352
|
-
totalPrice: string;
|
|
3353
|
-
downPayment: string;
|
|
3354
|
-
paid: string;
|
|
3355
|
-
invoiceId: string;
|
|
3356
|
-
slots?: ImportedSlotDto[];
|
|
3357
|
-
addons?: ImportedSlotProductDto[];
|
|
3078
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
3079
|
+
fileName: string;
|
|
3358
3080
|
}
|
|
3359
|
-
export declare class
|
|
3360
|
-
|
|
3361
|
-
entityId: number;
|
|
3081
|
+
export declare class FindByProductIdDto {
|
|
3082
|
+
productId: number;
|
|
3362
3083
|
}
|
|
3363
|
-
export declare class
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
resultMetaData: any | null;
|
|
3368
|
-
points: number | null;
|
|
3369
|
-
score: number | null;
|
|
3370
|
-
gameSlotId: number | null;
|
|
3084
|
+
export declare class FindPriceOfProductDto {
|
|
3085
|
+
id: number;
|
|
3086
|
+
userId: number;
|
|
3087
|
+
resources: ResourceDto[];
|
|
3371
3088
|
}
|
|
3372
|
-
export declare class
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
excludeStandings: boolean | null;
|
|
3089
|
+
export declare class FindPricesOfProductsDto {
|
|
3090
|
+
products: FindPriceOfProductDto[];
|
|
3091
|
+
answers: UserAnswersDto[];
|
|
3376
3092
|
}
|
|
3377
|
-
export declare class
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
seriesId: number | null;
|
|
3381
|
-
createdAt: Date;
|
|
3382
|
-
updatedAt: Date;
|
|
3093
|
+
export declare class FindPackageByResourceDto {
|
|
3094
|
+
resourceType: ResourceNameTypeEnum;
|
|
3095
|
+
resourceId: number;
|
|
3383
3096
|
}
|
|
3384
|
-
export declare class
|
|
3385
|
-
|
|
3386
|
-
ordinal?: number;
|
|
3387
|
-
divisionId?: number;
|
|
3388
|
-
name: string;
|
|
3097
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
3098
|
+
organizationId: number;
|
|
3389
3099
|
}
|
|
3390
|
-
export declare class
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3100
|
+
export declare class CreateProductsDto {
|
|
3101
|
+
products: CreateProductDto[];
|
|
3102
|
+
addOnsData?: ProductInPackage[];
|
|
3103
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
3394
3104
|
}
|
|
3395
|
-
export declare class
|
|
3105
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
3396
3106
|
name: string;
|
|
3397
|
-
locked?: Date;
|
|
3398
3107
|
}
|
|
3399
|
-
export
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3108
|
+
export declare class CreateProductDto {
|
|
3109
|
+
id?: number;
|
|
3110
|
+
organizationId: number;
|
|
3111
|
+
name: string;
|
|
3112
|
+
quantity?: number;
|
|
3113
|
+
isPublic: boolean;
|
|
3114
|
+
startDate?: Date;
|
|
3115
|
+
endDate?: Date;
|
|
3116
|
+
description?: string;
|
|
3117
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
3118
|
+
resourcesIdsToApplyOn?: number[];
|
|
3119
|
+
GL?: string;
|
|
3120
|
+
prices: CreatePriceDto[];
|
|
3121
|
+
downpayment?: number;
|
|
3122
|
+
productType: ProductTypesEnum;
|
|
3123
|
+
subProductType?: string;
|
|
3124
|
+
defaultForResourceId?: number;
|
|
3125
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
3126
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
3127
|
+
variantTitleIds?: number[];
|
|
3128
|
+
variants?: VariantWithPrice[];
|
|
3129
|
+
variantParentId?: number;
|
|
3130
|
+
isAddon?: boolean;
|
|
3131
|
+
isArchive?: boolean;
|
|
3132
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3133
|
+
isProRated?: boolean;
|
|
3134
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
3135
|
+
isTaxInclusive?: boolean;
|
|
3136
|
+
tax?: number;
|
|
3137
|
+
sports?: number[];
|
|
3138
|
+
durationMinutes?: number;
|
|
3139
|
+
durationDays?: number;
|
|
3140
|
+
forms?: number[];
|
|
3141
|
+
isForAllCustomers?: boolean;
|
|
3142
|
+
membershipsAvailableFor?: number[];
|
|
3143
|
+
customersAvailableFor?: number[];
|
|
3144
|
+
addons?: createRentalProductAddonDto[];
|
|
3145
|
+
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
3403
3146
|
}
|
|
3404
|
-
export
|
|
3405
|
-
|
|
3406
|
-
|
|
3147
|
+
export declare class VariantWithPrice {
|
|
3148
|
+
variantIds: number[];
|
|
3149
|
+
price: CreatePriceDto[];
|
|
3407
3150
|
}
|
|
3408
|
-
export
|
|
3409
|
-
parentId: number;
|
|
3410
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3411
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3151
|
+
export declare class CreatePriceDto {
|
|
3412
3152
|
id?: number;
|
|
3153
|
+
price: number;
|
|
3154
|
+
currency: CurrencyEnum;
|
|
3155
|
+
name: string;
|
|
3156
|
+
startDate?: Date;
|
|
3157
|
+
endDate?: Date;
|
|
3158
|
+
discountValue?: number;
|
|
3159
|
+
discountMethod?: DiscountMethodsEnum;
|
|
3160
|
+
isDefaultPriceForProduct?: boolean;
|
|
3413
3161
|
}
|
|
3414
|
-
export
|
|
3415
|
-
|
|
3162
|
+
export declare class CreatePackageDto {
|
|
3163
|
+
parentProductId: number;
|
|
3164
|
+
productsData?: ProductInPackage[];
|
|
3165
|
+
productsIds?: ExistingProductToPackageDto[];
|
|
3416
3166
|
}
|
|
3417
|
-
export
|
|
3418
|
-
|
|
3167
|
+
export declare class CreatePackageToResourceDto {
|
|
3168
|
+
resourceId: number;
|
|
3169
|
+
resourceType: ResourceNameTypeEnum;
|
|
3170
|
+
isCreateToChildProducts: boolean;
|
|
3171
|
+
productsData: ProductInPackage[];
|
|
3419
3172
|
}
|
|
3420
|
-
export declare class
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
config: any;
|
|
3173
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
3174
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
3175
|
+
amountInPackage?: number;
|
|
3176
|
+
level?: ProductPackageLevelEnum;
|
|
3425
3177
|
}
|
|
3426
|
-
export declare class
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3178
|
+
export declare class ExistingProductToPackageDto {
|
|
3179
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
3180
|
+
id: number;
|
|
3181
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3182
|
+
level?: ProductPackageLevelEnum;
|
|
3430
3183
|
}
|
|
3431
|
-
export declare class
|
|
3184
|
+
export declare class ConnectProductResourceDto {
|
|
3185
|
+
productId: number;
|
|
3186
|
+
resourceType: ResourceNameTypeEnum;
|
|
3187
|
+
resourceIds: number[];
|
|
3188
|
+
}
|
|
3189
|
+
export declare class ReturnRequiredProductsDto {
|
|
3190
|
+
userId: number;
|
|
3191
|
+
productId: number;
|
|
3192
|
+
redeemRelevantDate?: string;
|
|
3193
|
+
}
|
|
3194
|
+
export declare class FindByProductUserIdsDto {
|
|
3195
|
+
userId: number;
|
|
3432
3196
|
organizationId: number;
|
|
3433
3197
|
}
|
|
3434
|
-
export declare class
|
|
3198
|
+
export declare class AddRequiredProductsDto {
|
|
3199
|
+
productId: number;
|
|
3200
|
+
requiredProductIds: number[];
|
|
3201
|
+
}
|
|
3202
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
3203
|
+
productIds?: number[];
|
|
3204
|
+
includePrices?: boolean;
|
|
3205
|
+
productType?: ProductTypesEnum;
|
|
3206
|
+
includeAddons?: string;
|
|
3207
|
+
}
|
|
3208
|
+
export declare class GetByOrganizationIdDto {
|
|
3435
3209
|
organizationId?: number;
|
|
3436
3210
|
}
|
|
3437
|
-
export declare class
|
|
3438
|
-
|
|
3439
|
-
email: string | null;
|
|
3440
|
-
twitter: string | null;
|
|
3441
|
-
facebook: string | null;
|
|
3442
|
-
instagram: string | null;
|
|
3443
|
-
website: string | null;
|
|
3444
|
-
blog: string | null;
|
|
3445
|
-
phoneNumber: string | null;
|
|
3446
|
-
waiverDoc: string | null;
|
|
3447
|
-
about: string | null;
|
|
3448
|
-
tagline: string | null;
|
|
3449
|
-
status: number | null;
|
|
3450
|
-
addressId: number | null;
|
|
3451
|
-
merchantId: number | null;
|
|
3452
|
-
userCreatorId: number | null;
|
|
3453
|
-
parentId: number | null;
|
|
3454
|
-
paymentSettings: object | null;
|
|
3455
|
-
settings: object | null;
|
|
3456
|
-
isClaimed: boolean | null;
|
|
3457
|
-
sports: number[] | null;
|
|
3458
|
-
mainMediaId: number | null;
|
|
3459
|
-
deletedAt: Date | null;
|
|
3460
|
-
organizationActivityTypes: number[] | null;
|
|
3461
|
-
organizationTypes: number[] | null;
|
|
3462
|
-
organizationAudienceTypes: number[] | null;
|
|
3463
|
-
organizationGenders: number[] | null;
|
|
3464
|
-
questionnaireId: number | null;
|
|
3465
|
-
membershipQuestionnaireId: number | null;
|
|
3466
|
-
feeRate: number;
|
|
3467
|
-
feeAddDollarRate: number;
|
|
3468
|
-
achFeeRate: number;
|
|
3469
|
-
achFeeAddDollarRate: number;
|
|
3470
|
-
maxAchFee: number;
|
|
3471
|
-
cashFeeRate: number;
|
|
3472
|
-
cashFeeAddDollarRate: number;
|
|
3473
|
-
terminalFeeRate: number;
|
|
3474
|
-
terminalFeeAddDollarRate: number;
|
|
3475
|
-
checkFeeRate: number;
|
|
3476
|
-
checkFeeAddDollarRate: number;
|
|
3477
|
-
otherFeeRate: number;
|
|
3478
|
-
otherFeeAddDollarRate: number;
|
|
3479
|
-
balanceFeeRate: number;
|
|
3480
|
-
balanceFeeAddDollarRate: number;
|
|
3481
|
-
address: Address;
|
|
3482
|
-
mainMedia: Media;
|
|
3483
|
-
brandings: OrganizationBranding[];
|
|
3484
|
-
brandingsV2?: OrganizationBranding[];
|
|
3211
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
3212
|
+
invoiceId?: number;
|
|
3485
3213
|
}
|
|
3486
|
-
export declare class
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3214
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
3215
|
+
productIds?: string;
|
|
3216
|
+
includePrices?: boolean;
|
|
3217
|
+
productType?: string;
|
|
3218
|
+
productSubType?: string;
|
|
3219
|
+
search?: string;
|
|
3220
|
+
includeAddons?: boolean;
|
|
3221
|
+
includeArchived?: boolean;
|
|
3222
|
+
includeAllData?: boolean;
|
|
3223
|
+
resourceIds?: string;
|
|
3224
|
+
sports?: string;
|
|
3491
3225
|
}
|
|
3492
|
-
export declare class
|
|
3493
|
-
|
|
3226
|
+
export declare class GetAllVariantTitlesDto {
|
|
3227
|
+
organizationId: number;
|
|
3494
3228
|
}
|
|
3495
|
-
export declare class
|
|
3496
|
-
|
|
3497
|
-
userId: number | null;
|
|
3229
|
+
export declare class GetAllOrganizationAddonsDto {
|
|
3230
|
+
organizationId: number;
|
|
3498
3231
|
}
|
|
3499
|
-
export declare class
|
|
3500
|
-
|
|
3232
|
+
export declare class CreateVariantTitleDto {
|
|
3233
|
+
organizationId: number;
|
|
3234
|
+
title: string;
|
|
3235
|
+
variants: string[];
|
|
3501
3236
|
}
|
|
3502
|
-
export declare class
|
|
3503
|
-
|
|
3237
|
+
export declare class UpdateVariantTitleDto {
|
|
3238
|
+
organizationId: number;
|
|
3239
|
+
titleId: number;
|
|
3240
|
+
title: string;
|
|
3241
|
+
variants: string[];
|
|
3504
3242
|
}
|
|
3505
|
-
export declare class
|
|
3506
|
-
|
|
3243
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
3244
|
+
customerId: number;
|
|
3507
3245
|
}
|
|
3508
|
-
export declare class
|
|
3509
|
-
|
|
3246
|
+
export declare class GetExtraProductDataDto {
|
|
3247
|
+
isPublic?: boolean;
|
|
3248
|
+
isGetByChildResources?: boolean;
|
|
3249
|
+
isGetEntitlePricing?: boolean;
|
|
3250
|
+
isGetAddOns?: boolean;
|
|
3251
|
+
includeResources?: boolean;
|
|
3252
|
+
includeArchived?: boolean;
|
|
3510
3253
|
}
|
|
3511
|
-
export declare class
|
|
3512
|
-
|
|
3254
|
+
export declare class GetBySessionType {
|
|
3255
|
+
sessionType: 'event' | 'segment';
|
|
3513
3256
|
}
|
|
3514
|
-
export declare class
|
|
3515
|
-
|
|
3257
|
+
export declare class CreateSubcategoryDto {
|
|
3258
|
+
productType: ProductTypesEnum;
|
|
3259
|
+
name: string;
|
|
3260
|
+
stationId?: number;
|
|
3261
|
+
ordinal?: number;
|
|
3516
3262
|
}
|
|
3517
|
-
export declare class
|
|
3518
|
-
|
|
3519
|
-
orderHash: string;
|
|
3263
|
+
export declare class CreateSubcategoriesDto {
|
|
3264
|
+
subcategories: CreateSubcategoryDto[];
|
|
3520
3265
|
}
|
|
3521
|
-
export declare class
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3266
|
+
export declare class UpdateSubcategoryDto {
|
|
3267
|
+
id: number;
|
|
3268
|
+
productType?: ProductTypesEnum;
|
|
3269
|
+
name?: string;
|
|
3270
|
+
stationId?: number;
|
|
3271
|
+
ordinal?: number;
|
|
3526
3272
|
}
|
|
3527
|
-
export declare class
|
|
3528
|
-
|
|
3273
|
+
export declare class GetSubcategoryDto {
|
|
3274
|
+
stationId?: number;
|
|
3529
3275
|
}
|
|
3530
|
-
export declare class
|
|
3531
|
-
|
|
3532
|
-
|
|
3276
|
+
export declare class SetStationSubcategoriesDto {
|
|
3277
|
+
stationId: number;
|
|
3278
|
+
subcategoryIds?: number[];
|
|
3279
|
+
categories?: string[];
|
|
3533
3280
|
}
|
|
3534
|
-
export declare class
|
|
3281
|
+
export declare class createRentalProductAddonDto {
|
|
3282
|
+
productId: number;
|
|
3283
|
+
price: number;
|
|
3284
|
+
isFlatPrice: boolean;
|
|
3285
|
+
isMandatory: boolean;
|
|
3286
|
+
level: ProductPackageLevelEnum;
|
|
3535
3287
|
}
|
|
3536
|
-
export declare class
|
|
3537
|
-
|
|
3288
|
+
export declare class createProductAvailabilityTimesDto {
|
|
3289
|
+
availabilityStartDate?: string;
|
|
3290
|
+
availabilityEndDate?: string;
|
|
3291
|
+
daysOfWeek: number[];
|
|
3292
|
+
startTime: string;
|
|
3293
|
+
endTime: string;
|
|
3538
3294
|
}
|
|
3539
|
-
export declare class
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
payemntMethodId: string;
|
|
3295
|
+
export declare class createResourceDto {
|
|
3296
|
+
resourceId: number;
|
|
3297
|
+
resourceType: ResourceNameTypeEnum;
|
|
3543
3298
|
}
|
|
3544
|
-
export declare class
|
|
3545
|
-
|
|
3546
|
-
price: number;
|
|
3299
|
+
export declare class archiveDto {
|
|
3300
|
+
isArchive: boolean;
|
|
3547
3301
|
}
|
|
3548
|
-
export declare class
|
|
3549
|
-
|
|
3302
|
+
export declare class ColumnNumericTransformer {
|
|
3303
|
+
to(data: number): number;
|
|
3304
|
+
from(data: string): number;
|
|
3550
3305
|
}
|
|
3551
|
-
export declare
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3306
|
+
export declare function convertToNumber(data: string): number;
|
|
3307
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3308
|
+
name?: string;
|
|
3309
|
+
genderStr?: string;
|
|
3310
|
+
parentID?: string;
|
|
3311
|
+
partnerID?: string;
|
|
3312
|
+
membershipName?: string;
|
|
3313
|
+
membershipExpDate?: string;
|
|
3314
|
+
membershipCreationDate?: string;
|
|
3315
|
+
bondMembershipID?: number;
|
|
3555
3316
|
}
|
|
3556
|
-
export declare class
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
currency: string;
|
|
3560
|
-
capture_method: string;
|
|
3561
|
-
payment_method_types: string[];
|
|
3562
|
-
organizationId: number;
|
|
3563
|
-
creatorId: number;
|
|
3317
|
+
export declare class AddFamilyDto {
|
|
3318
|
+
parents: AddImportedCustomerDto[];
|
|
3319
|
+
children: AddImportedCustomerDto[];
|
|
3564
3320
|
}
|
|
3565
|
-
export declare
|
|
3566
|
-
|
|
3567
|
-
|
|
3321
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3322
|
+
CREDIT_CARD = "card",
|
|
3323
|
+
ACH = "ach",
|
|
3324
|
+
CASH = "cash",
|
|
3325
|
+
CHECK = "check",
|
|
3326
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3327
|
+
OTHER = "other",
|
|
3328
|
+
GIFT_CARD = "gift-card"
|
|
3568
3329
|
}
|
|
3569
|
-
export declare class
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3330
|
+
export declare class ImportedInvoiceLineDto {
|
|
3331
|
+
invoiceID?: string;
|
|
3332
|
+
description: string;
|
|
3333
|
+
createdDate: string;
|
|
3334
|
+
createdTime: string;
|
|
3335
|
+
quantity: string;
|
|
3336
|
+
price: string;
|
|
3337
|
+
total: string;
|
|
3338
|
+
customerID: string;
|
|
3339
|
+
resourceType: string;
|
|
3340
|
+
resourceID: string;
|
|
3573
3341
|
}
|
|
3574
|
-
export declare class
|
|
3575
|
-
|
|
3576
|
-
|
|
3342
|
+
export declare class ImportedInvoiceDto {
|
|
3343
|
+
customerId?: string;
|
|
3344
|
+
total?: string;
|
|
3345
|
+
amountDue?: string;
|
|
3346
|
+
payments?: ImportedPaymentDto[];
|
|
3347
|
+
lines: any;
|
|
3577
3348
|
}
|
|
3578
|
-
export declare class
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3349
|
+
export declare class ImportedPaymentDto {
|
|
3350
|
+
invoiceID: string;
|
|
3351
|
+
type: ImportPaymentTypeEnum;
|
|
3352
|
+
description: string;
|
|
3353
|
+
paid: string;
|
|
3354
|
+
date: string;
|
|
3355
|
+
time: string;
|
|
3582
3356
|
}
|
|
3583
|
-
export declare class
|
|
3584
|
-
|
|
3357
|
+
export declare class ProductIdsDto {
|
|
3358
|
+
productIds?: number[];
|
|
3585
3359
|
}
|
|
3586
|
-
export declare class
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3360
|
+
export declare class ProductImportDto {
|
|
3361
|
+
product: Product;
|
|
3362
|
+
prices: Price[];
|
|
3363
|
+
resourceIds: number[];
|
|
3364
|
+
oldId: number;
|
|
3591
3365
|
}
|
|
3592
|
-
export declare class
|
|
3593
|
-
|
|
3594
|
-
|
|
3366
|
+
export declare class PunchPassDto {
|
|
3367
|
+
CustomerID: string;
|
|
3368
|
+
QuantityLeft: number;
|
|
3369
|
+
BondProgramID: number;
|
|
3370
|
+
BondSessionID: number;
|
|
3371
|
+
ProductID: number;
|
|
3595
3372
|
}
|
|
3596
|
-
export declare class
|
|
3597
|
-
|
|
3373
|
+
export declare class ImportedSlotProductDto {
|
|
3374
|
+
slotID?: string;
|
|
3375
|
+
name?: string;
|
|
3376
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3377
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3378
|
+
price?: string;
|
|
3379
|
+
minutes?: string;
|
|
3380
|
+
quantity: string;
|
|
3381
|
+
startDate?: string;
|
|
3382
|
+
startTime?: string;
|
|
3383
|
+
endDate?: string;
|
|
3384
|
+
endTime?: string;
|
|
3385
|
+
bondProductId?: number;
|
|
3598
3386
|
}
|
|
3599
|
-
export declare class
|
|
3600
|
-
|
|
3387
|
+
export declare class ImportResourceMappingDto {
|
|
3388
|
+
bondResourceID?: string;
|
|
3389
|
+
resourceName?: string;
|
|
3601
3390
|
}
|
|
3602
|
-
export declare class
|
|
3603
|
-
|
|
3391
|
+
export declare class ImportProductMappingDto {
|
|
3392
|
+
productID?: string;
|
|
3393
|
+
productName?: string;
|
|
3604
3394
|
}
|
|
3605
|
-
export declare class
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
refunds: PaymentMethodDto[];
|
|
3623
|
-
refundType: RefundTypeEnum;
|
|
3624
|
-
reasonId: number;
|
|
3625
|
-
note?: string;
|
|
3626
|
-
shiftId?: number;
|
|
3627
|
-
meta?: RevertMetaDto;
|
|
3628
|
-
}
|
|
3629
|
-
export declare class PaymentMethodDto {
|
|
3630
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3631
|
-
amount: number;
|
|
3632
|
-
paymentMethodId?: string;
|
|
3395
|
+
export declare class ImportedSlotDto {
|
|
3396
|
+
reservationID: string;
|
|
3397
|
+
bondResourceID: string;
|
|
3398
|
+
resourceName: string;
|
|
3399
|
+
subResourceName: string;
|
|
3400
|
+
startDate: string;
|
|
3401
|
+
startTime: string;
|
|
3402
|
+
endDate: string;
|
|
3403
|
+
endTime: string;
|
|
3404
|
+
sportId?: string;
|
|
3405
|
+
setupDuration: string;
|
|
3406
|
+
setupIncludeInCosts: string;
|
|
3407
|
+
takedownDuration: string;
|
|
3408
|
+
takedownIncludeInCosts: string;
|
|
3409
|
+
slotProduct: ImportedSlotProductDto;
|
|
3410
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3411
|
+
totalPrice: string;
|
|
3633
3412
|
}
|
|
3634
|
-
export declare class
|
|
3635
|
-
|
|
3636
|
-
|
|
3413
|
+
export declare class ImportedReservationDto {
|
|
3414
|
+
name: string;
|
|
3415
|
+
customerId: string;
|
|
3416
|
+
description: string;
|
|
3417
|
+
totalPrice: string;
|
|
3418
|
+
downPayment: string;
|
|
3419
|
+
paid: string;
|
|
3420
|
+
invoiceId: string;
|
|
3421
|
+
slots?: ImportedSlotDto[];
|
|
3422
|
+
addons?: ImportedSlotProductDto[];
|
|
3637
3423
|
}
|
|
3638
|
-
export declare class
|
|
3639
|
-
|
|
3640
|
-
|
|
3424
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3425
|
+
entityType: string;
|
|
3426
|
+
entityId: number;
|
|
3641
3427
|
}
|
|
3642
|
-
export declare class
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
isEdit?: boolean;
|
|
3646
|
-
amount?: number;
|
|
3428
|
+
export declare class Lock extends BondBaseEntity {
|
|
3429
|
+
name: string;
|
|
3430
|
+
locked?: Date;
|
|
3647
3431
|
}
|
|
3648
|
-
export
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
receiptId?: number;
|
|
3653
|
-
paymentMethod4Digits?: string;
|
|
3654
|
-
errorMessage?: string;
|
|
3655
|
-
wasSuccessful: boolean;
|
|
3432
|
+
export declare class Matches extends BondBaseEntity {
|
|
3433
|
+
eventId: number | null;
|
|
3434
|
+
status: number | null;
|
|
3435
|
+
excludeStandings: boolean | null;
|
|
3656
3436
|
}
|
|
3657
|
-
export
|
|
3658
|
-
|
|
3659
|
-
|
|
3437
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3438
|
+
matchId: number | null;
|
|
3439
|
+
ordinal: number | null;
|
|
3440
|
+
outcomeOrdinal: number | null;
|
|
3441
|
+
resultMetaData: any | null;
|
|
3442
|
+
points: number | null;
|
|
3443
|
+
score: number | null;
|
|
3444
|
+
gameSlotId: number | null;
|
|
3660
3445
|
}
|
|
3661
|
-
export
|
|
3662
|
-
|
|
3663
|
-
|
|
3446
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3447
|
+
roundId: number;
|
|
3448
|
+
eventId: number;
|
|
3449
|
+
seriesId: number | null;
|
|
3450
|
+
createdAt: Date;
|
|
3451
|
+
updatedAt: Date;
|
|
3664
3452
|
}
|
|
3665
|
-
export
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
products: LineItems[];
|
|
3671
|
-
events: LineItems[];
|
|
3453
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3454
|
+
seasonId: number;
|
|
3455
|
+
ordinal?: number;
|
|
3456
|
+
divisionId?: number;
|
|
3457
|
+
name: string;
|
|
3672
3458
|
}
|
|
3673
|
-
export declare class
|
|
3674
|
-
|
|
3675
|
-
|
|
3459
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3460
|
+
teamId: number | null;
|
|
3461
|
+
eventId: number | null;
|
|
3462
|
+
status: number | null;
|
|
3676
3463
|
}
|
|
3677
|
-
export interface
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3464
|
+
export interface ValidatedMonthAndDay {
|
|
3465
|
+
valid: boolean;
|
|
3466
|
+
month?: number;
|
|
3467
|
+
day?: number;
|
|
3681
3468
|
}
|
|
3682
|
-
export interface
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
totalAmountProcessed: number;
|
|
3469
|
+
export interface ValidationReason {
|
|
3470
|
+
valid: boolean;
|
|
3471
|
+
reason?: string;
|
|
3686
3472
|
}
|
|
3687
|
-
export declare class
|
|
3688
|
-
|
|
3689
|
-
orderId?: number;
|
|
3690
|
-
type: LineItemsStatusEnum;
|
|
3473
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3474
|
+
userId: number;
|
|
3691
3475
|
organizationId: number;
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
productType: ProductTypesEnum;
|
|
3696
|
-
ordinal?: number;
|
|
3697
|
-
price: number;
|
|
3698
|
-
originalPrice?: number;
|
|
3699
|
-
paidAmount?: number;
|
|
3700
|
-
currency: CurrencyEnum;
|
|
3701
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3702
|
-
isRefunded?: boolean;
|
|
3703
|
-
isTaxInclusive?: boolean;
|
|
3704
|
-
taxPrecent?: number;
|
|
3705
|
-
unitPrice?: number;
|
|
3706
|
-
quantity: number;
|
|
3707
|
-
resources?: PurchasedResourceDto[];
|
|
3708
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3709
|
-
unitPriceWithTax?: number;
|
|
3710
|
-
unitTaxPrice?: number;
|
|
3711
|
-
parentOrdinal?: number;
|
|
3476
|
+
notifyMetadata?: any;
|
|
3477
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3478
|
+
destination: string;
|
|
3712
3479
|
}
|
|
3713
|
-
export
|
|
3480
|
+
export interface PaymentStatus {
|
|
3481
|
+
parentId: number;
|
|
3482
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3483
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3714
3484
|
id?: number;
|
|
3715
|
-
title: string;
|
|
3716
|
-
durationValue: number;
|
|
3717
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3718
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3719
|
-
}
|
|
3720
|
-
export declare class OrderDto {
|
|
3721
|
-
orderId?: string | null;
|
|
3722
|
-
organizationId: number;
|
|
3723
|
-
price: number | null;
|
|
3724
|
-
totalTax?: number;
|
|
3725
|
-
totalWithoutTax?: number;
|
|
3726
|
-
status?: OrderStatusEnum;
|
|
3727
|
-
lineItems: LineItemDto[];
|
|
3728
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3729
|
-
currency: CurrencyEnum;
|
|
3730
|
-
creatingUserId?: number;
|
|
3731
|
-
platform?: PlatformsEnum;
|
|
3732
3485
|
}
|
|
3733
|
-
export
|
|
3734
|
-
|
|
3735
|
-
shiftId?: number;
|
|
3486
|
+
export interface PaymentStatusesDict {
|
|
3487
|
+
[id: number]: PaymentStatus[];
|
|
3736
3488
|
}
|
|
3737
|
-
export
|
|
3738
|
-
|
|
3739
|
-
slots: number[];
|
|
3489
|
+
export interface PaymentStatusDict {
|
|
3490
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3740
3491
|
}
|
|
3741
|
-
export
|
|
3742
|
-
|
|
3492
|
+
export interface UnallocatedEventsFilters {
|
|
3493
|
+
programsIds?: number[];
|
|
3494
|
+
sessionsIds?: number[];
|
|
3495
|
+
segmentsIds?: number[];
|
|
3496
|
+
durations?: Duration[];
|
|
3497
|
+
daysOfWeek?: number[];
|
|
3743
3498
|
}
|
|
3744
|
-
export
|
|
3745
|
-
|
|
3746
|
-
|
|
3499
|
+
export interface Duration {
|
|
3500
|
+
startDate: string;
|
|
3501
|
+
endDate: string;
|
|
3747
3502
|
}
|
|
3748
|
-
export
|
|
3749
|
-
|
|
3503
|
+
export interface IUnallocatedEventRes {
|
|
3504
|
+
id: number;
|
|
3505
|
+
title: string;
|
|
3506
|
+
sports: number[];
|
|
3507
|
+
startDate: string;
|
|
3508
|
+
startDateString: string;
|
|
3509
|
+
startTime: string;
|
|
3510
|
+
endDate: string;
|
|
3511
|
+
endDateString: string;
|
|
3512
|
+
endTime: string;
|
|
3513
|
+
timezone: string;
|
|
3750
3514
|
}
|
|
3751
|
-
export
|
|
3752
|
-
|
|
3753
|
-
addonsIds?: number[];
|
|
3515
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3516
|
+
data: IUnallocatedEventRes[];
|
|
3754
3517
|
}
|
|
3755
|
-
export declare class
|
|
3756
|
-
|
|
3518
|
+
export declare class ByOrganizationIdDto {
|
|
3519
|
+
organizationId: number;
|
|
3757
3520
|
}
|
|
3758
|
-
export declare class
|
|
3759
|
-
|
|
3521
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3522
|
+
organizationId?: number;
|
|
3760
3523
|
}
|
|
3761
|
-
export declare class
|
|
3762
|
-
|
|
3763
|
-
|
|
3524
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3525
|
+
programsIds?: string;
|
|
3526
|
+
sessionsIds?: string;
|
|
3527
|
+
segmentsIds?: string;
|
|
3764
3528
|
startDate?: string;
|
|
3765
|
-
startTime?: string;
|
|
3766
3529
|
endDate?: string;
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
export declare class ReservationDto {
|
|
3770
|
-
id?: number;
|
|
3771
|
-
organizationId?: number;
|
|
3772
|
-
name: string;
|
|
3773
|
-
reservationType: ReservationTypeEnum;
|
|
3774
|
-
customerId?: number;
|
|
3775
|
-
segments: SegmentDto[];
|
|
3776
|
-
description?: string;
|
|
3777
|
-
status?: ReservationStatusEnum;
|
|
3778
|
-
privacySetting?: string;
|
|
3779
|
-
orderId?: string;
|
|
3780
|
-
price?: number;
|
|
3781
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3782
|
-
creatorId?: number;
|
|
3783
|
-
creatorType?: ResourceNameTypeEnum;
|
|
3784
|
-
publicNotes?: string;
|
|
3785
|
-
privateNotes?: string;
|
|
3786
|
-
forms?: number[] | null;
|
|
3787
|
-
addons?: ProductPricesDto[];
|
|
3788
|
-
userId?: number;
|
|
3789
|
-
overrideProductsPrice?: ProductPricesDto[];
|
|
3790
|
-
targetGlobalPrice?: number;
|
|
3791
|
-
}
|
|
3792
|
-
export declare class SaveReservationDto {
|
|
3793
|
-
reservation: ReservationDto;
|
|
3794
|
-
slotType?: SlotTypeEnum;
|
|
3530
|
+
months?: string;
|
|
3531
|
+
dow?: string;
|
|
3795
3532
|
}
|
|
3796
|
-
export declare class
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3533
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3534
|
+
programsIds?: string;
|
|
3535
|
+
sessionsIds?: string;
|
|
3536
|
+
segmentsIds?: string;
|
|
3537
|
+
startDate?: string;
|
|
3538
|
+
endDate?: string;
|
|
3539
|
+
months?: string;
|
|
3540
|
+
dow?: string;
|
|
3804
3541
|
}
|
|
3805
|
-
export declare class
|
|
3806
|
-
|
|
3807
|
-
|
|
3542
|
+
export declare class Organization extends BondBaseEntity {
|
|
3543
|
+
name: string | null;
|
|
3544
|
+
email: string | null;
|
|
3545
|
+
twitter: string | null;
|
|
3546
|
+
facebook: string | null;
|
|
3547
|
+
instagram: string | null;
|
|
3548
|
+
website: string | null;
|
|
3549
|
+
blog: string | null;
|
|
3550
|
+
phoneNumber: string | null;
|
|
3551
|
+
waiverDoc: string | null;
|
|
3552
|
+
about: string | null;
|
|
3553
|
+
tagline: string | null;
|
|
3554
|
+
status: number | null;
|
|
3555
|
+
addressId: number | null;
|
|
3556
|
+
merchantId: number | null;
|
|
3557
|
+
userCreatorId: number | null;
|
|
3558
|
+
parentId: number | null;
|
|
3559
|
+
paymentSettings: object | null;
|
|
3560
|
+
settings: object | null;
|
|
3561
|
+
isClaimed: boolean | null;
|
|
3562
|
+
sports: number[] | null;
|
|
3563
|
+
mainMediaId: number | null;
|
|
3564
|
+
deletedAt: Date | null;
|
|
3565
|
+
organizationActivityTypes: number[] | null;
|
|
3566
|
+
organizationTypes: number[] | null;
|
|
3567
|
+
organizationAudienceTypes: number[] | null;
|
|
3568
|
+
organizationGenders: number[] | null;
|
|
3569
|
+
questionnaireId: number | null;
|
|
3570
|
+
membershipQuestionnaireId: number | null;
|
|
3571
|
+
feeRate: number;
|
|
3572
|
+
feeAddDollarRate: number;
|
|
3573
|
+
achFeeRate: number;
|
|
3574
|
+
achFeeAddDollarRate: number;
|
|
3575
|
+
maxAchFee: number;
|
|
3576
|
+
cashFeeRate: number;
|
|
3577
|
+
cashFeeAddDollarRate: number;
|
|
3578
|
+
terminalFeeRate: number;
|
|
3579
|
+
terminalFeeAddDollarRate: number;
|
|
3580
|
+
checkFeeRate: number;
|
|
3581
|
+
checkFeeAddDollarRate: number;
|
|
3582
|
+
otherFeeRate: number;
|
|
3583
|
+
otherFeeAddDollarRate: number;
|
|
3584
|
+
balanceFeeRate: number;
|
|
3585
|
+
balanceFeeAddDollarRate: number;
|
|
3586
|
+
address: Address;
|
|
3587
|
+
mainMedia: Media;
|
|
3588
|
+
brandings: OrganizationBranding[];
|
|
3589
|
+
brandingsV2?: OrganizationBranding[];
|
|
3808
3590
|
}
|
|
3809
|
-
export declare class
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3591
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3592
|
+
key?: string;
|
|
3593
|
+
vaule?: string;
|
|
3594
|
+
version: number;
|
|
3595
|
+
organization: Organization;
|
|
3814
3596
|
}
|
|
3815
|
-
declare class
|
|
3816
|
-
|
|
3817
|
-
globalPrice?: number;
|
|
3818
|
-
category?: CategoryPricesDto;
|
|
3819
|
-
products?: ProductPricesDto[];
|
|
3597
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3598
|
+
mainAdminUserId?: number;
|
|
3820
3599
|
}
|
|
3821
|
-
export declare class
|
|
3822
|
-
|
|
3600
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3601
|
+
organisationId: number | null;
|
|
3602
|
+
userId: number | null;
|
|
3823
3603
|
}
|
|
3824
|
-
export declare class
|
|
3825
|
-
|
|
3826
|
-
|
|
3604
|
+
export declare class CreateMonitorConfigDto {
|
|
3605
|
+
facilityId: number;
|
|
3606
|
+
name: string;
|
|
3607
|
+
code: string;
|
|
3608
|
+
config: any;
|
|
3827
3609
|
}
|
|
3828
|
-
export declare class
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
amountToPay: number;
|
|
3833
|
-
total: number;
|
|
3834
|
-
purchasingUserId: number;
|
|
3610
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3611
|
+
facilityId: number;
|
|
3612
|
+
code: string;
|
|
3613
|
+
config?: any;
|
|
3835
3614
|
}
|
|
3836
|
-
export declare class
|
|
3837
|
-
|
|
3838
|
-
orderId?: number;
|
|
3615
|
+
export declare class CustomerIdDto {
|
|
3616
|
+
customerId: number;
|
|
3839
3617
|
}
|
|
3840
|
-
export declare class
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3618
|
+
export declare class PaymentIdDto {
|
|
3619
|
+
paymentId: number;
|
|
3620
|
+
}
|
|
3621
|
+
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3622
|
+
invoiceId: number;
|
|
3623
|
+
}
|
|
3624
|
+
export declare class GetInvoicesQueryDto {
|
|
3625
|
+
extended?: boolean;
|
|
3626
|
+
}
|
|
3627
|
+
export declare class GetPaymentsQueryDto {
|
|
3628
|
+
extended?: boolean;
|
|
3629
|
+
}
|
|
3630
|
+
export declare class PaymentViaInvoiceHashDto {
|
|
3631
|
+
customerId: number;
|
|
3632
|
+
invoiceHash: string;
|
|
3633
|
+
}
|
|
3634
|
+
export declare class DiscountDto {
|
|
3635
|
+
lineItemId: number;
|
|
3636
|
+
price: number;
|
|
3637
|
+
entitlementGroupId: number;
|
|
3638
|
+
description?: string;
|
|
3639
|
+
}
|
|
3640
|
+
export declare class LineItemIdDto {
|
|
3641
|
+
lineItemId: number;
|
|
3642
|
+
}
|
|
3643
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3644
|
+
paymentType?: string;
|
|
3845
3645
|
paymentStatus?: string;
|
|
3846
|
-
customerName?: string;
|
|
3847
3646
|
}
|
|
3848
|
-
export declare class
|
|
3849
|
-
startDate: string;
|
|
3850
|
-
endDate: string;
|
|
3851
|
-
limit: number;
|
|
3852
|
-
includeBlocking: string;
|
|
3853
|
-
onlyActiveSessions?: string;
|
|
3854
|
-
resourcesIds?: string;
|
|
3855
|
-
resourcesTypes?: string;
|
|
3856
|
-
reservationStatuses?: string;
|
|
3647
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3857
3648
|
}
|
|
3858
|
-
export declare class
|
|
3859
|
-
|
|
3649
|
+
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3650
|
+
userId: number;
|
|
3860
3651
|
}
|
|
3861
|
-
export declare class
|
|
3862
|
-
|
|
3652
|
+
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
3653
|
+
payments: ScheduledPaymentDto[];
|
|
3654
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3655
|
+
payemntMethodId: string;
|
|
3863
3656
|
}
|
|
3864
|
-
export declare class
|
|
3865
|
-
|
|
3657
|
+
export declare class ScheduledPaymentDto {
|
|
3658
|
+
plannedDate: Date;
|
|
3659
|
+
originalPlannedDate?: Date;
|
|
3660
|
+
price: number;
|
|
3866
3661
|
}
|
|
3867
|
-
export declare class
|
|
3868
|
-
|
|
3662
|
+
export declare class FutureInstallmentsIdsDto {
|
|
3663
|
+
paymentsIds: number[];
|
|
3869
3664
|
}
|
|
3870
|
-
export declare class
|
|
3871
|
-
|
|
3665
|
+
export declare class UpdateScheduledPaymentsDto {
|
|
3666
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3667
|
+
payemntMethodId: string;
|
|
3668
|
+
invoiceId?: number;
|
|
3669
|
+
installmentIds?: number[];
|
|
3872
3670
|
}
|
|
3873
|
-
export declare class
|
|
3874
|
-
|
|
3671
|
+
export declare class StationsDto {
|
|
3672
|
+
organizationId: number;
|
|
3673
|
+
facilityId: number;
|
|
3674
|
+
stationId: number;
|
|
3875
3675
|
}
|
|
3876
|
-
export declare class
|
|
3877
|
-
|
|
3878
|
-
|
|
3676
|
+
export declare class PaymentIntentDto {
|
|
3677
|
+
amount: number;
|
|
3678
|
+
customer: string;
|
|
3679
|
+
currency: string;
|
|
3680
|
+
capture_method: string;
|
|
3681
|
+
payment_method_types: string[];
|
|
3682
|
+
organizationId: number;
|
|
3683
|
+
creatorId?: number;
|
|
3684
|
+
payment_method?: string;
|
|
3879
3685
|
}
|
|
3880
|
-
export declare class
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
addonsTotalPrice: number;
|
|
3884
|
-
debug?: any;
|
|
3686
|
+
export declare class PaymentDataDto {
|
|
3687
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3688
|
+
payemntMethodId: string;
|
|
3885
3689
|
}
|
|
3886
|
-
export declare class
|
|
3887
|
-
|
|
3690
|
+
export declare class SendReceiptDataDto {
|
|
3691
|
+
paymentId: number;
|
|
3692
|
+
deliveryMethod: 'email' | 'sms';
|
|
3693
|
+
sendToAddress?: string;
|
|
3888
3694
|
}
|
|
3889
|
-
export declare class
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
reasonId: number;
|
|
3695
|
+
export declare class PaymentPlanSchduleDto {
|
|
3696
|
+
date: Date;
|
|
3697
|
+
percent?: number;
|
|
3893
3698
|
}
|
|
3894
|
-
export declare class
|
|
3895
|
-
|
|
3699
|
+
export declare class PaymentPlanDto {
|
|
3700
|
+
months?: number;
|
|
3701
|
+
dayOfMonth?: number;
|
|
3702
|
+
schedule?: PaymentPlanSchduleDto[];
|
|
3896
3703
|
}
|
|
3897
|
-
export declare class
|
|
3898
|
-
|
|
3899
|
-
publicNotes?: string;
|
|
3900
|
-
privateNotes?: string;
|
|
3704
|
+
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3705
|
+
amountToSplit: number;
|
|
3901
3706
|
}
|
|
3902
|
-
export declare class
|
|
3903
|
-
|
|
3707
|
+
export declare class AddToInvoiceDto {
|
|
3708
|
+
invoiceId: number;
|
|
3709
|
+
userId: number;
|
|
3710
|
+
productsToAdd: PurchaseProductDto[];
|
|
3711
|
+
resourcesToRemove: PurchaseProductDto[];
|
|
3904
3712
|
}
|
|
3905
|
-
export declare class
|
|
3906
|
-
|
|
3713
|
+
export declare class CreateNoteDto {
|
|
3714
|
+
content: string;
|
|
3715
|
+
isPublic: boolean;
|
|
3907
3716
|
}
|
|
3908
|
-
export declare class
|
|
3909
|
-
id
|
|
3910
|
-
title: string;
|
|
3911
|
-
isPrivate: boolean;
|
|
3912
|
-
resourceIds: number[];
|
|
3913
|
-
sportId?: number;
|
|
3914
|
-
series: SeriesDto[];
|
|
3915
|
-
addonIds?: number[];
|
|
3916
|
-
publicNotesForSlots?: string;
|
|
3917
|
-
privateNotesForSlots?: string;
|
|
3717
|
+
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
3718
|
+
id: number;
|
|
3918
3719
|
}
|
|
3919
|
-
export declare class
|
|
3920
|
-
|
|
3921
|
-
startDate: string;
|
|
3922
|
-
startTime?: string;
|
|
3923
|
-
endDate?: string;
|
|
3924
|
-
endTime?: string;
|
|
3925
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3926
|
-
durationEndsAfter?: number;
|
|
3927
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3928
|
-
frequency: FrequencyEnum;
|
|
3929
|
-
repeatEvery?: number;
|
|
3930
|
-
repeatOn?: number[];
|
|
3931
|
-
repeatEndDate?: string;
|
|
3932
|
-
numberOccurrences?: number;
|
|
3933
|
-
maintenance?: MaintenanceDto[];
|
|
3934
|
-
slots?: SlotDto[];
|
|
3720
|
+
export declare class NotePrivacyDto {
|
|
3721
|
+
filter: string;
|
|
3935
3722
|
}
|
|
3936
|
-
export declare class
|
|
3937
|
-
|
|
3938
|
-
startTime?: string;
|
|
3939
|
-
endDate?: string;
|
|
3940
|
-
endTime?: string;
|
|
3941
|
-
spaceId: number;
|
|
3723
|
+
export declare class RevertMetaDto {
|
|
3724
|
+
removedResources: RemoveResourceDto[];
|
|
3942
3725
|
}
|
|
3943
|
-
export declare class
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3726
|
+
export declare class RemoveResourceDto {
|
|
3727
|
+
resourceType: ResourceNameTypeEnum;
|
|
3728
|
+
resourceId: number;
|
|
3729
|
+
lineItemId: number;
|
|
3730
|
+
}
|
|
3731
|
+
export declare class SendRequestDto {
|
|
3732
|
+
invoiceId: number;
|
|
3733
|
+
userId: number;
|
|
3734
|
+
sendToEmail: string;
|
|
3735
|
+
memo?: string;
|
|
3736
|
+
}
|
|
3737
|
+
export declare class VoidDto {
|
|
3738
|
+
lineItems: VoidLineItemDto[];
|
|
3739
|
+
meta?: RevertMetaDto;
|
|
3740
|
+
}
|
|
3741
|
+
export declare class VoidLineItemDto {
|
|
3742
|
+
id: number;
|
|
3743
|
+
quantity?: number;
|
|
3744
|
+
isEdit?: boolean;
|
|
3745
|
+
amount?: number;
|
|
3746
|
+
}
|
|
3747
|
+
export declare class RefundDto {
|
|
3748
|
+
invoiceId: number;
|
|
3749
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3750
|
+
refundLineItemAmountDict?: {
|
|
3751
|
+
[id: number]: number;
|
|
3967
3752
|
};
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
displayTotalWithTax?: number;
|
|
3975
|
-
displayUnitTax?: number;
|
|
3976
|
-
}[];
|
|
3977
|
-
addonsProductUserIds?: number[];
|
|
3978
|
-
segmentId?: number;
|
|
3979
|
-
seriesId?: number;
|
|
3980
|
-
eventId?: number;
|
|
3981
|
-
sportIds: number[];
|
|
3982
|
-
parentSlotId?: number;
|
|
3983
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
3984
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
3985
|
-
durationValue?: number;
|
|
3986
|
-
orderId?: number;
|
|
3987
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3988
|
-
approvalStatus: ReservationStatusEnum;
|
|
3989
|
-
displayName?: string;
|
|
3990
|
-
internalName?: string;
|
|
3991
|
-
totalPrice?: number;
|
|
3992
|
-
relevantProducts?: Product[];
|
|
3993
|
-
maintenance?: MaintenanceDto[];
|
|
3994
|
-
maintenanceSlots?: SlotDto[];
|
|
3995
|
-
isPrivate: boolean;
|
|
3996
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3997
|
-
addonsIds?: number[];
|
|
3753
|
+
refunds: PaymentMethodDto[];
|
|
3754
|
+
refundType: RefundTypeEnum;
|
|
3755
|
+
reasonId: number;
|
|
3756
|
+
note?: string;
|
|
3757
|
+
shiftId?: number;
|
|
3758
|
+
meta?: RevertMetaDto;
|
|
3998
3759
|
}
|
|
3999
|
-
declare class
|
|
4000
|
-
|
|
4001
|
-
|
|
3760
|
+
export declare class PaymentMethodDto {
|
|
3761
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3762
|
+
amount: number;
|
|
3763
|
+
paymentMethodId?: string;
|
|
4002
3764
|
}
|
|
4003
|
-
export declare class
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
timezone: string;
|
|
4007
|
-
spaceId: number;
|
|
3765
|
+
export declare class RefundLineItemAmountDto {
|
|
3766
|
+
id: number;
|
|
3767
|
+
refundAmount: number;
|
|
4008
3768
|
}
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
3769
|
+
export interface PaymentResult {
|
|
3770
|
+
paymentMethodId: string;
|
|
3771
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3772
|
+
amount: number;
|
|
3773
|
+
receiptId?: number;
|
|
3774
|
+
paymentMethod4Digits?: string;
|
|
3775
|
+
errorMessage?: string;
|
|
3776
|
+
wasSuccessful: boolean;
|
|
4013
3777
|
}
|
|
4014
|
-
export
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
dayOfWeek: number;
|
|
4018
|
-
startTime: string;
|
|
4019
|
-
description: string;
|
|
4020
|
-
sport: number;
|
|
4021
|
-
price: number;
|
|
4022
|
-
resourcePackageId: number;
|
|
4023
|
-
resourcePackageAmount: number;
|
|
4024
|
-
bookedSessions: BookedSessionDto[];
|
|
4025
|
-
addons: AddonDto[];
|
|
3778
|
+
export interface PaymentsResults {
|
|
3779
|
+
success: PaymentResult[];
|
|
3780
|
+
failed: PaymentResult[];
|
|
4026
3781
|
}
|
|
4027
|
-
export
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
3782
|
+
export interface InvoicePaymentSum {
|
|
3783
|
+
priceSum: number;
|
|
3784
|
+
paidSum: number;
|
|
3785
|
+
}
|
|
3786
|
+
export interface ExtendedLineItems {
|
|
3787
|
+
memberships: LineItems[];
|
|
3788
|
+
programs: LineItems[];
|
|
3789
|
+
leagues: LineItems[];
|
|
3790
|
+
rentals: LineItems[];
|
|
3791
|
+
products: LineItems[];
|
|
3792
|
+
events: LineItems[];
|
|
3793
|
+
}
|
|
3794
|
+
export interface RefundResult extends PaymentsResults {
|
|
3795
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3796
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3797
|
+
invoice?: Invoice;
|
|
3798
|
+
}
|
|
3799
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3800
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3801
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3802
|
+
totalAmountProcessed: number;
|
|
4035
3803
|
}
|
|
4036
3804
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4037
3805
|
parentId: number;
|
|
@@ -4046,10 +3814,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4046
3814
|
level?: ProductPackageLevelEnum;
|
|
4047
3815
|
resourceId?: number;
|
|
4048
3816
|
resource?: Resource;
|
|
4049
|
-
|
|
4050
|
-
|
|
3817
|
+
invoiceId?: number;
|
|
3818
|
+
invoice?: Invoice;
|
|
4051
3819
|
productUserId?: number;
|
|
4052
3820
|
productUser?: ProductsUsers;
|
|
3821
|
+
previousProductUsersIds?: number[];
|
|
3822
|
+
previousProductUsers?: ProductsUsers[];
|
|
4053
3823
|
}
|
|
4054
3824
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4055
3825
|
deletedAt?: Date;
|
|
@@ -4057,59 +3827,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4057
3827
|
invoiceId: number;
|
|
4058
3828
|
slotId: number;
|
|
4059
3829
|
}
|
|
4060
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4061
|
-
name?: string;
|
|
4062
|
-
description?: string;
|
|
4063
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4064
|
-
privacySetting?: string;
|
|
4065
|
-
reservationType?: ReservationTypeEnum;
|
|
4066
|
-
orderId?: string;
|
|
4067
|
-
customerId?: number;
|
|
4068
|
-
customer?: Customer;
|
|
4069
|
-
price?: number;
|
|
4070
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4071
|
-
startTime?: string;
|
|
4072
|
-
startDate?: Date;
|
|
4073
|
-
endDate?: Date;
|
|
4074
|
-
creatorId?: number;
|
|
4075
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4076
|
-
userCreatorId?: number;
|
|
4077
|
-
sportType?: number;
|
|
4078
|
-
deletedAt?: Date;
|
|
4079
|
-
publicNotes?: string;
|
|
4080
|
-
privateNotes?: string;
|
|
4081
|
-
forms?: number[] | null;
|
|
4082
|
-
answerTitleIds?: number[] | null;
|
|
4083
|
-
segments?: Segment[];
|
|
4084
|
-
addonsProductUserIds?: number[] | null;
|
|
4085
|
-
migrationStatus?: string;
|
|
4086
|
-
addonsMetadata: {
|
|
4087
|
-
productId: number;
|
|
4088
|
-
price?: number;
|
|
4089
|
-
quantity: number;
|
|
4090
|
-
}[];
|
|
4091
|
-
addons: Addon[];
|
|
4092
|
-
overrideProductsPrice: {
|
|
4093
|
-
productId: number;
|
|
4094
|
-
price: number;
|
|
4095
|
-
}[];
|
|
4096
|
-
targetGlobalPrice?: number;
|
|
4097
|
-
slots: Slot[];
|
|
4098
|
-
}
|
|
4099
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4100
|
-
deletedAt?: Date;
|
|
4101
|
-
reservationId: number;
|
|
4102
|
-
title: string;
|
|
4103
|
-
isPrivate: boolean;
|
|
4104
|
-
resourceIds?: number[];
|
|
4105
|
-
sportId: number;
|
|
4106
|
-
reservation?: Reservation;
|
|
4107
|
-
series?: Series[];
|
|
4108
|
-
addonIds?: number[] | null;
|
|
4109
|
-
publicNotesForSlots?: string;
|
|
4110
|
-
privateNotesForSlots?: string;
|
|
4111
|
-
slots?: Slot[];
|
|
4112
|
-
}
|
|
4113
3830
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4114
3831
|
deletedAt?: Date;
|
|
4115
3832
|
segmentId: number;
|
|
@@ -4153,28 +3870,24 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4153
3870
|
productsUserId?: number;
|
|
4154
3871
|
productUser?: ProductsUsers;
|
|
4155
3872
|
product?: Product;
|
|
3873
|
+
addons: Addon[];
|
|
4156
3874
|
addonsProductUserIds?: number[] | null;
|
|
4157
|
-
|
|
4158
|
-
addonProducts?: Product[];
|
|
4159
|
-
addonsMetadata: {
|
|
4160
|
-
productId: number;
|
|
4161
|
-
quantity: number;
|
|
4162
|
-
unitPrice: number;
|
|
4163
|
-
totalPrice: number;
|
|
4164
|
-
}[];
|
|
3875
|
+
addonsMetadata: AddonMetadata[];
|
|
4165
3876
|
segmentId: number;
|
|
4166
3877
|
segment: Segment;
|
|
4167
3878
|
eventId: number;
|
|
4168
3879
|
event: Event;
|
|
4169
3880
|
sportIds: number[];
|
|
4170
3881
|
parentSlotId?: number;
|
|
3882
|
+
parent?: Slot;
|
|
3883
|
+
children?: Slot[];
|
|
4171
3884
|
maintenanceDurationdurationType: string;
|
|
4172
3885
|
maintenanceTiming: number;
|
|
4173
3886
|
durationValue: number;
|
|
4174
3887
|
seriesId?: number;
|
|
4175
3888
|
series?: Series;
|
|
4176
|
-
|
|
4177
|
-
|
|
3889
|
+
invoiceId?: number;
|
|
3890
|
+
invoice?: Invoice;
|
|
4178
3891
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
4179
3892
|
approvalStatus?: ReservationStatusEnum;
|
|
4180
3893
|
displayName?: string;
|
|
@@ -4192,9 +3905,60 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4192
3905
|
price: number;
|
|
4193
3906
|
};
|
|
4194
3907
|
slotDurationType: string;
|
|
3908
|
+
previousProductUsersIds?: number[];
|
|
3909
|
+
previousProductUsers?: ProductsUsers[];
|
|
4195
3910
|
changeLineItemIds?: number[];
|
|
4196
3911
|
changeLineItems?: LineItems[];
|
|
4197
3912
|
updatedLineItem?: LineItems;
|
|
3913
|
+
conflictsCount?: number;
|
|
3914
|
+
conflicts?: Slot[];
|
|
3915
|
+
}
|
|
3916
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3917
|
+
name?: string;
|
|
3918
|
+
description?: string;
|
|
3919
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3920
|
+
privacySetting?: string;
|
|
3921
|
+
reservationType?: ReservationTypeEnum;
|
|
3922
|
+
invoiceId?: string;
|
|
3923
|
+
customerId?: number;
|
|
3924
|
+
customer?: Customer;
|
|
3925
|
+
price?: number;
|
|
3926
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3927
|
+
startTime?: string;
|
|
3928
|
+
startDate?: Date;
|
|
3929
|
+
endDate?: Date;
|
|
3930
|
+
creatorId?: number;
|
|
3931
|
+
creatorType?: ResourceNameTypeEnum;
|
|
3932
|
+
userCreatorId?: number;
|
|
3933
|
+
sportType?: number;
|
|
3934
|
+
deletedAt?: Date;
|
|
3935
|
+
publicNotes?: string;
|
|
3936
|
+
privateNotes?: string;
|
|
3937
|
+
forms?: number[] | null;
|
|
3938
|
+
answerTitleIds?: number[] | null;
|
|
3939
|
+
segments?: Segment[];
|
|
3940
|
+
migrationStatus?: string;
|
|
3941
|
+
addons: Addon[];
|
|
3942
|
+
overrideProductsPrice: {
|
|
3943
|
+
productId: number;
|
|
3944
|
+
price: number;
|
|
3945
|
+
}[];
|
|
3946
|
+
targetGlobalPrice?: number;
|
|
3947
|
+
slots: Slot[];
|
|
3948
|
+
}
|
|
3949
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3950
|
+
deletedAt?: Date;
|
|
3951
|
+
reservationId: number;
|
|
3952
|
+
title: string;
|
|
3953
|
+
isPrivate: boolean;
|
|
3954
|
+
resourceIds?: number[];
|
|
3955
|
+
sportId: number;
|
|
3956
|
+
reservation?: Reservation;
|
|
3957
|
+
series?: Series[];
|
|
3958
|
+
addonIds?: number[] | null;
|
|
3959
|
+
publicNotesForSlots?: string;
|
|
3960
|
+
privateNotesForSlots?: string;
|
|
3961
|
+
slots?: Slot[];
|
|
4198
3962
|
}
|
|
4199
3963
|
export declare type TSlotAndType = {
|
|
4200
3964
|
type: 'slots' | 'slot_addons';
|
|
@@ -4206,10 +3970,10 @@ export declare type TSlotAndType = {
|
|
|
4206
3970
|
};
|
|
4207
3971
|
};
|
|
4208
3972
|
export interface ILineItemResource {
|
|
4209
|
-
type: '
|
|
3973
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4210
3974
|
values: TResource[];
|
|
4211
3975
|
}
|
|
4212
|
-
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto |
|
|
3976
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4213
3977
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4214
3978
|
export interface ReservationV1 {
|
|
4215
3979
|
id: number;
|
|
@@ -4269,140 +4033,560 @@ export interface ReservationData {
|
|
|
4269
4033
|
frequencies: FrequencyInReservation[];
|
|
4270
4034
|
reservationType: ReservationTypeEnum;
|
|
4271
4035
|
}
|
|
4272
|
-
export interface SpaceInReservation {
|
|
4273
|
-
reservationId: number;
|
|
4274
|
-
spaceId: number;
|
|
4275
|
-
spaceName: string;
|
|
4036
|
+
export interface SpaceInReservation {
|
|
4037
|
+
reservationId: number;
|
|
4038
|
+
spaceId: number;
|
|
4039
|
+
spaceName: string;
|
|
4040
|
+
}
|
|
4041
|
+
export interface FrequencyInReservation {
|
|
4042
|
+
reservationId: number;
|
|
4043
|
+
frequency?: string;
|
|
4044
|
+
repeatEvery?: number;
|
|
4045
|
+
repeatOn?: number[];
|
|
4046
|
+
repeatEndDate?: string;
|
|
4047
|
+
}
|
|
4048
|
+
export interface FindReservationsByOrganizationIdFilters extends PaginationQuery {
|
|
4049
|
+
resourcesIds?: string;
|
|
4050
|
+
datesRange?: {
|
|
4051
|
+
startDate: string;
|
|
4052
|
+
endDate: string;
|
|
4053
|
+
};
|
|
4054
|
+
approvalStatuses?: string[];
|
|
4055
|
+
paymentStatuses?: string[];
|
|
4056
|
+
customerName?: string;
|
|
4057
|
+
}
|
|
4058
|
+
export interface FindSlotsByFacilityIdFilters {
|
|
4059
|
+
startDate: string;
|
|
4060
|
+
endDate: string;
|
|
4061
|
+
limit: number;
|
|
4062
|
+
resourcesIds?: number[];
|
|
4063
|
+
resourcesTypes?: ResourceTypeEnum[];
|
|
4064
|
+
slotType?: SlotTypeEnum;
|
|
4065
|
+
activityTypes?: SportsEnum[];
|
|
4066
|
+
programTypes?: ProgramTypesEnum[];
|
|
4067
|
+
paymentStatuses?: ReservationPaymentStatusEnum[];
|
|
4068
|
+
reservationStatuses?: ReservationStatusEnum[];
|
|
4069
|
+
includeBlocking?: boolean;
|
|
4070
|
+
onlyActiveSessions?: boolean;
|
|
4071
|
+
checkConflicts?: boolean;
|
|
4072
|
+
}
|
|
4073
|
+
export interface PriceFields {
|
|
4074
|
+
unitPrice: string;
|
|
4075
|
+
price: string;
|
|
4076
|
+
totalTax: string;
|
|
4077
|
+
quantity: string;
|
|
4078
|
+
isTaxInclusive: boolean;
|
|
4079
|
+
currency: string;
|
|
4080
|
+
}
|
|
4081
|
+
export interface LineItemPrice {
|
|
4082
|
+
unitPrice: number;
|
|
4083
|
+
unitTax: number;
|
|
4084
|
+
isTaxInclusive: boolean;
|
|
4085
|
+
unitPricePerHour: number;
|
|
4086
|
+
taxPerHour: number;
|
|
4087
|
+
quantity: number;
|
|
4088
|
+
currency: string;
|
|
4089
|
+
totalPrice: number;
|
|
4090
|
+
}
|
|
4091
|
+
export interface CalendarSlotCard extends Slot {
|
|
4092
|
+
reservation: Reservation & {
|
|
4093
|
+
resources?: {
|
|
4094
|
+
id: number;
|
|
4095
|
+
name: string;
|
|
4096
|
+
}[];
|
|
4097
|
+
};
|
|
4098
|
+
invoice: Invoice;
|
|
4099
|
+
price: LineItemPrice;
|
|
4100
|
+
totalSlotsInSeries?: number;
|
|
4101
|
+
slotIndexInSeries?: number;
|
|
4102
|
+
}
|
|
4103
|
+
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4104
|
+
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4105
|
+
export interface IInvoice extends IPartialInvoice {
|
|
4106
|
+
lineItemsCount: number;
|
|
4107
|
+
}
|
|
4108
|
+
export interface SingleReservation {
|
|
4109
|
+
id: number;
|
|
4110
|
+
name: string;
|
|
4111
|
+
organizationId: number;
|
|
4112
|
+
description: string;
|
|
4113
|
+
updatedAt: Date;
|
|
4114
|
+
privateNotes: string;
|
|
4115
|
+
publicNotes: string;
|
|
4116
|
+
approvalStatus: string;
|
|
4117
|
+
paymentStatus: PaymentStatusEnum;
|
|
4118
|
+
reservationType: ReservationTypeEnum;
|
|
4119
|
+
sports: number[];
|
|
4120
|
+
facilityId?: number;
|
|
4121
|
+
customerId: number;
|
|
4122
|
+
customer?: Customer;
|
|
4123
|
+
invoices?: IInvoice[];
|
|
4124
|
+
payments?: IPartialPayment[];
|
|
4125
|
+
addons?: Addon[];
|
|
4126
|
+
answers?: Answer[];
|
|
4127
|
+
series: Series[];
|
|
4128
|
+
segments?: Segment[];
|
|
4129
|
+
}
|
|
4130
|
+
export interface UpdateReservationResult {
|
|
4131
|
+
reservation: Reservation;
|
|
4132
|
+
invoice?: Invoice;
|
|
4133
|
+
debug?: any;
|
|
4134
|
+
}
|
|
4135
|
+
export interface UpdateSlotPricesResult {
|
|
4136
|
+
reservation: ReservationDto;
|
|
4137
|
+
slots: SlotDto[];
|
|
4138
|
+
invoice: InvoiceDto;
|
|
4139
|
+
debug?: any;
|
|
4140
|
+
}
|
|
4141
|
+
export interface UpdateSlotsAddonsResult {
|
|
4142
|
+
slots: SlotDto[];
|
|
4143
|
+
invoice: InvoiceDto;
|
|
4144
|
+
debug?: any;
|
|
4145
|
+
}
|
|
4146
|
+
export interface ValidateEditItemsResult {
|
|
4147
|
+
nextFinancialStep: FinancialStepEnum;
|
|
4148
|
+
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4149
|
+
originalInvoicePrice?: number;
|
|
4150
|
+
updatedInvoicePrice?: number;
|
|
4151
|
+
originalItemsPrice?: number;
|
|
4152
|
+
updatedItemsPrice?: number;
|
|
4153
|
+
priceChange?: number;
|
|
4154
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4155
|
+
editData?: EditItemsData;
|
|
4156
|
+
}
|
|
4157
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4158
|
+
slots: SlotDto[];
|
|
4159
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4160
|
+
}
|
|
4161
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4162
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4163
|
+
}
|
|
4164
|
+
export interface EditSlotsRefundMetadata {
|
|
4165
|
+
lineItems: SlotsLineItemData[];
|
|
4166
|
+
refundAmount: number;
|
|
4167
|
+
}
|
|
4168
|
+
export interface EditAddonsRefundMetadata {
|
|
4169
|
+
lineItems: AddonsLineItemData[];
|
|
4170
|
+
refundAmount: number;
|
|
4171
|
+
}
|
|
4172
|
+
export interface EditItemsRefundMetadata {
|
|
4173
|
+
lineItems: ReservationItemLineItemData[];
|
|
4174
|
+
refundAmount: number;
|
|
4175
|
+
}
|
|
4176
|
+
export interface EditItemsData {
|
|
4177
|
+
invoice?: Invoice;
|
|
4178
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4179
|
+
newLineItems?: LineItemDto[];
|
|
4180
|
+
}
|
|
4181
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4182
|
+
refundResult?: RefundResult;
|
|
4183
|
+
}
|
|
4184
|
+
export interface TimeSlotConflicts {
|
|
4185
|
+
timeSlot: TimeSlotDto;
|
|
4186
|
+
conflicts: Slot[];
|
|
4187
|
+
}
|
|
4188
|
+
export interface AddonMetadata {
|
|
4189
|
+
productId: number;
|
|
4190
|
+
quantity: number;
|
|
4191
|
+
unitPrice: number;
|
|
4192
|
+
totalPrice: number;
|
|
4193
|
+
product?: Product;
|
|
4194
|
+
}
|
|
4195
|
+
export declare class AddonDto {
|
|
4196
|
+
productId: number;
|
|
4197
|
+
id?: number;
|
|
4198
|
+
unitPrice?: number;
|
|
4199
|
+
quantity?: number;
|
|
4200
|
+
totalPrice?: number;
|
|
4201
|
+
product?: Product;
|
|
4202
|
+
parentProduct?: Product;
|
|
4203
|
+
displayTotalWithTax?: number;
|
|
4204
|
+
displayTotalPrice?: number;
|
|
4205
|
+
displayUnitTax?: number;
|
|
4206
|
+
}
|
|
4207
|
+
export declare class AddAddonsDto {
|
|
4208
|
+
addons: AddonDto[];
|
|
4209
|
+
}
|
|
4210
|
+
export declare class EditAddonsDto {
|
|
4211
|
+
addons: EditAddonDto[];
|
|
4212
|
+
}
|
|
4213
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4214
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4215
|
+
}
|
|
4216
|
+
export declare class EditAddonDto {
|
|
4217
|
+
id: number;
|
|
4218
|
+
quantity: number;
|
|
4219
|
+
totalPrice: number;
|
|
4220
|
+
unitPrice?: number;
|
|
4221
|
+
}
|
|
4222
|
+
export declare class LineItemDto {
|
|
4223
|
+
id?: number;
|
|
4224
|
+
invoiceId?: number;
|
|
4225
|
+
type: LineItemsStatusEnum;
|
|
4226
|
+
organizationId: number;
|
|
4227
|
+
userId?: number;
|
|
4228
|
+
productId: number;
|
|
4229
|
+
product?: Product;
|
|
4230
|
+
productType: ProductTypesEnum;
|
|
4231
|
+
ordinal?: number;
|
|
4232
|
+
price: number;
|
|
4233
|
+
originalPrice?: number;
|
|
4234
|
+
paidAmount?: number;
|
|
4235
|
+
currency: CurrencyEnum;
|
|
4236
|
+
paymentStatus?: PaymentStatusEnum;
|
|
4237
|
+
isRefunded?: boolean;
|
|
4238
|
+
isTaxInclusive?: boolean;
|
|
4239
|
+
taxPrecent?: number;
|
|
4240
|
+
unitPrice?: number;
|
|
4241
|
+
quantity: number;
|
|
4242
|
+
resources?: PurchasedResourceDto[];
|
|
4243
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
4244
|
+
unitPriceWithTax?: number;
|
|
4245
|
+
unitTaxPrice?: number;
|
|
4246
|
+
parentOrdinal?: number;
|
|
4247
|
+
}
|
|
4248
|
+
export declare class MaintenanceDto {
|
|
4249
|
+
id?: number;
|
|
4250
|
+
title: string;
|
|
4251
|
+
durationValue: number;
|
|
4252
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4253
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4254
|
+
}
|
|
4255
|
+
export declare class InvoiceDto {
|
|
4256
|
+
invoiceId?: string | null;
|
|
4257
|
+
organizationId: number;
|
|
4258
|
+
price: number | null;
|
|
4259
|
+
totalTax?: number;
|
|
4260
|
+
totalWithoutTax?: number;
|
|
4261
|
+
status?: InvoiceStatusEnum;
|
|
4262
|
+
lineItems: LineItemDto[];
|
|
4263
|
+
paymentStatus?: PaymentStatusEnum;
|
|
4264
|
+
currency: CurrencyEnum;
|
|
4265
|
+
creatingUserId?: number;
|
|
4266
|
+
platform?: PlatformsEnum;
|
|
4267
|
+
}
|
|
4268
|
+
export declare class BaseInvoiceDto {
|
|
4269
|
+
platform: PlatformsEnum;
|
|
4270
|
+
shiftId?: number;
|
|
4271
|
+
}
|
|
4272
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
4273
|
+
purchasingUserId: number;
|
|
4274
|
+
slots: number[];
|
|
4275
|
+
}
|
|
4276
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
4277
|
+
reservationTotalPrice: number;
|
|
4278
|
+
}
|
|
4279
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
4280
|
+
basicInfoData?: BaseInvoiceDto;
|
|
4281
|
+
addToInvoiceId?: number;
|
|
4282
|
+
}
|
|
4283
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
4284
|
+
isInvoiced: boolean;
|
|
4285
|
+
}
|
|
4286
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
4287
|
+
slotsIds?: number[];
|
|
4288
|
+
addonsIds?: number[];
|
|
4289
|
+
}
|
|
4290
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
4291
|
+
slots: SlotDto[];
|
|
4292
|
+
}
|
|
4293
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
4294
|
+
segments: SegmentDto[];
|
|
4295
|
+
}
|
|
4296
|
+
export declare class ReservationDto {
|
|
4297
|
+
id?: number;
|
|
4298
|
+
organizationId?: number;
|
|
4299
|
+
name: string;
|
|
4300
|
+
reservationType: ReservationTypeEnum;
|
|
4301
|
+
customerId?: number;
|
|
4302
|
+
segments: SegmentDto[];
|
|
4303
|
+
description?: string;
|
|
4304
|
+
status?: ReservationStatusEnum;
|
|
4305
|
+
privacySetting?: string;
|
|
4306
|
+
invoiceId?: string;
|
|
4307
|
+
price?: number;
|
|
4308
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4309
|
+
creatorId?: number;
|
|
4310
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4311
|
+
publicNotes?: string;
|
|
4312
|
+
privateNotes?: string;
|
|
4313
|
+
forms?: number[] | null;
|
|
4314
|
+
addons?: AddonDto[];
|
|
4315
|
+
userId?: number;
|
|
4316
|
+
overrideProductsPrice?: ProductPricesDto[];
|
|
4317
|
+
targetGlobalPrice?: number;
|
|
4318
|
+
}
|
|
4319
|
+
export declare class SaveReservationDto {
|
|
4320
|
+
reservation: ReservationDto;
|
|
4321
|
+
slotType?: SlotTypeEnum;
|
|
4322
|
+
}
|
|
4323
|
+
export declare class SingleReservationIncludesDto {
|
|
4324
|
+
includeCustomer?: boolean;
|
|
4325
|
+
includeAddons?: boolean;
|
|
4326
|
+
includeSeries?: boolean;
|
|
4327
|
+
includeInvoices?: boolean;
|
|
4328
|
+
includePayments?: boolean;
|
|
4329
|
+
includeAnswers?: boolean;
|
|
4330
|
+
buildTree?: boolean;
|
|
4331
|
+
}
|
|
4332
|
+
export declare class CategoryPricesDto {
|
|
4333
|
+
slot: number;
|
|
4334
|
+
addon: number;
|
|
4335
|
+
}
|
|
4336
|
+
export declare class ProductPricesDto {
|
|
4337
|
+
productId: number;
|
|
4338
|
+
price?: number;
|
|
4339
|
+
quantity?: number;
|
|
4340
|
+
totalPrice?: number;
|
|
4341
|
+
}
|
|
4342
|
+
declare class UpdatePriceDto {
|
|
4343
|
+
type: UpdatePricesTypeEnum;
|
|
4344
|
+
globalPrice?: number;
|
|
4345
|
+
category?: CategoryPricesDto;
|
|
4346
|
+
products?: ProductPricesDto[];
|
|
4347
|
+
}
|
|
4348
|
+
export declare class UpdateReservationPriceDto extends UpdatePriceDto {
|
|
4349
|
+
reservation: ReservationDto;
|
|
4350
|
+
}
|
|
4351
|
+
export declare class UpdateSlotsPricesDto extends UpdatePriceDto {
|
|
4352
|
+
slots: SlotDto[];
|
|
4353
|
+
useCurrentProducts?: boolean;
|
|
4354
|
+
}
|
|
4355
|
+
export declare class BookingData {
|
|
4356
|
+
platform: PlatformsEnum;
|
|
4357
|
+
shiftId?: number;
|
|
4358
|
+
paymentData: PurchasePaymentDto;
|
|
4359
|
+
amountToPay: number;
|
|
4360
|
+
total: number;
|
|
4361
|
+
purchasingUserId: number;
|
|
4362
|
+
}
|
|
4363
|
+
export declare class BookingDto extends BookingData {
|
|
4364
|
+
reservation: ReservationDto;
|
|
4365
|
+
invoiceId?: number;
|
|
4366
|
+
}
|
|
4367
|
+
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
4368
|
+
resourcesIds?: string;
|
|
4369
|
+
startDate?: string;
|
|
4370
|
+
endDate?: string;
|
|
4371
|
+
status?: string;
|
|
4372
|
+
paymentStatus?: string;
|
|
4373
|
+
customerName?: string;
|
|
4374
|
+
}
|
|
4375
|
+
export declare class FindSlotsByFacilityIdFiltersDto {
|
|
4376
|
+
startDate: string;
|
|
4377
|
+
endDate: string;
|
|
4378
|
+
limit: number;
|
|
4379
|
+
slotType?: SlotTypeEnum;
|
|
4380
|
+
includeBlocking?: boolean;
|
|
4381
|
+
onlyActiveSessions?: boolean;
|
|
4382
|
+
checkConflicts?: boolean;
|
|
4383
|
+
resourcesIds?: string;
|
|
4384
|
+
resourcesTypes?: string;
|
|
4385
|
+
programTypes?: string;
|
|
4386
|
+
paymentStatuses?: string;
|
|
4387
|
+
reservationStatuses?: string;
|
|
4388
|
+
activityTypes?: string;
|
|
4389
|
+
}
|
|
4390
|
+
export declare class getSlotsSlotCardDto {
|
|
4391
|
+
includeConflicts?: boolean;
|
|
4392
|
+
}
|
|
4393
|
+
export declare class getSlotFQueryParamsDto {
|
|
4394
|
+
addProduct?: boolean;
|
|
4395
|
+
}
|
|
4396
|
+
export declare class FindByReservationDto extends ByOrganizationIdDto {
|
|
4397
|
+
reservationId: number;
|
|
4398
|
+
}
|
|
4399
|
+
export declare class FindByFacilityDto extends FindByReservationDto {
|
|
4400
|
+
facilityId: number;
|
|
4401
|
+
}
|
|
4402
|
+
export declare class FindBySegmentDto extends FindByFacilityDto {
|
|
4403
|
+
segmentId: number;
|
|
4404
|
+
}
|
|
4405
|
+
export declare class UpdateReservationStatusDto extends FindByReservationDto {
|
|
4406
|
+
status: ReservationStatusEnum;
|
|
4407
|
+
}
|
|
4408
|
+
export declare class FindBySlotDto extends FindByReservationDto {
|
|
4409
|
+
slotId: number;
|
|
4410
|
+
}
|
|
4411
|
+
export declare class AddSlotToSegmentDto {
|
|
4412
|
+
slot: SlotDto;
|
|
4413
|
+
addonIds?: number[];
|
|
4414
|
+
}
|
|
4415
|
+
export declare class AddSlotToSegmenResultDto {
|
|
4416
|
+
series: SeriesDto;
|
|
4417
|
+
slotTotalPrice: number;
|
|
4418
|
+
addonsTotalPrice: number;
|
|
4419
|
+
debug?: any;
|
|
4420
|
+
}
|
|
4421
|
+
export declare class UpdateSlotsDto {
|
|
4422
|
+
slots: SlotDto[];
|
|
4423
|
+
}
|
|
4424
|
+
export declare class EditItemsRefundMetaDto {
|
|
4425
|
+
lineItems: RefundLineItemAmountDto[];
|
|
4426
|
+
paymentMethods: PaymentMethodDto[];
|
|
4427
|
+
reasonId: number;
|
|
4428
|
+
}
|
|
4429
|
+
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
4430
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
4431
|
+
}
|
|
4432
|
+
export declare class EditReservationDetailsDto {
|
|
4433
|
+
name: string;
|
|
4434
|
+
publicNotes?: string;
|
|
4435
|
+
privateNotes?: string;
|
|
4436
|
+
}
|
|
4437
|
+
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4438
|
+
updateAddons?: boolean;
|
|
4439
|
+
updateMaintenance?: boolean;
|
|
4440
|
+
}
|
|
4441
|
+
export declare class ReservationNotifyDto {
|
|
4442
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
4276
4443
|
}
|
|
4277
|
-
export
|
|
4278
|
-
|
|
4279
|
-
|
|
4444
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4445
|
+
updateAddons?: boolean;
|
|
4446
|
+
updateMaintenance?: boolean;
|
|
4447
|
+
}
|
|
4448
|
+
export declare class SegmentDto {
|
|
4449
|
+
id?: number;
|
|
4450
|
+
title: string;
|
|
4451
|
+
isPrivate: boolean;
|
|
4452
|
+
resourceIds: number[];
|
|
4453
|
+
sportId?: number;
|
|
4454
|
+
series: SeriesDto[];
|
|
4455
|
+
addonIds?: number[];
|
|
4456
|
+
publicNotesForSlots?: string;
|
|
4457
|
+
privateNotesForSlots?: string;
|
|
4458
|
+
}
|
|
4459
|
+
export declare class PurchasedResourceDto {
|
|
4460
|
+
resourceId?: number;
|
|
4461
|
+
resourceType: ResourceNameTypeEnum;
|
|
4462
|
+
startDate?: string;
|
|
4463
|
+
startTime?: string;
|
|
4464
|
+
endDate?: string;
|
|
4465
|
+
endTime?: string;
|
|
4466
|
+
}
|
|
4467
|
+
export declare class SeriesDto {
|
|
4468
|
+
id?: number;
|
|
4469
|
+
startDate: string;
|
|
4470
|
+
startTime?: string;
|
|
4471
|
+
endDate?: string;
|
|
4472
|
+
endTime?: string;
|
|
4473
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4474
|
+
durationEndsAfter?: number;
|
|
4475
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4476
|
+
frequency: FrequencyEnum;
|
|
4280
4477
|
repeatEvery?: number;
|
|
4281
4478
|
repeatOn?: number[];
|
|
4282
4479
|
repeatEndDate?: string;
|
|
4480
|
+
numberOccurrences?: number;
|
|
4481
|
+
maintenance?: MaintenanceDto[];
|
|
4482
|
+
slots?: SlotDto[];
|
|
4283
4483
|
}
|
|
4284
|
-
export
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4484
|
+
export declare class SlotDateTimeAndSpace {
|
|
4485
|
+
startDate: string;
|
|
4486
|
+
startTime?: string;
|
|
4487
|
+
endDate?: string;
|
|
4488
|
+
endTime?: string;
|
|
4489
|
+
spaceId: number;
|
|
4490
|
+
}
|
|
4491
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4492
|
+
id?: number;
|
|
4493
|
+
reservationId?: number;
|
|
4494
|
+
occurrence?: number;
|
|
4495
|
+
title: string;
|
|
4496
|
+
creatorId?: number;
|
|
4497
|
+
creatorType?: string;
|
|
4498
|
+
userCreatorId?: number;
|
|
4499
|
+
timezone?: string;
|
|
4500
|
+
publicNotes?: string;
|
|
4501
|
+
privateNotes?: string;
|
|
4502
|
+
slotType: SlotTypeEnum;
|
|
4503
|
+
product?: Product;
|
|
4504
|
+
priceOverrideMeta?: {
|
|
4505
|
+
unitPrice: number;
|
|
4506
|
+
quantity: number;
|
|
4507
|
+
totalPrice: number;
|
|
4289
4508
|
};
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4509
|
+
addonPriceOverrideMeta?: {
|
|
4510
|
+
[addonProductId: number]: {
|
|
4511
|
+
unitPrice: number;
|
|
4512
|
+
quantity: number;
|
|
4513
|
+
totalPrice: number;
|
|
4514
|
+
};
|
|
4515
|
+
};
|
|
4516
|
+
addonProducts?: Product[];
|
|
4517
|
+
segmentId?: number;
|
|
4518
|
+
seriesId?: number;
|
|
4519
|
+
eventId?: number;
|
|
4520
|
+
sportIds: number[];
|
|
4521
|
+
parentSlotId?: number;
|
|
4522
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4523
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4524
|
+
durationValue?: number;
|
|
4525
|
+
invoicId?: number;
|
|
4526
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4527
|
+
approvalStatus: ReservationStatusEnum;
|
|
4528
|
+
displayName?: string;
|
|
4529
|
+
internalName?: string;
|
|
4530
|
+
totalPrice?: number;
|
|
4531
|
+
relevantProducts?: Product[];
|
|
4532
|
+
maintenance?: MaintenanceDto[];
|
|
4533
|
+
maintenanceSlots?: SlotDto[];
|
|
4534
|
+
isPrivate: boolean;
|
|
4535
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4536
|
+
addons?: AddonDto[];
|
|
4537
|
+
addonsIds?: number[];
|
|
4293
4538
|
}
|
|
4294
|
-
export
|
|
4539
|
+
export declare class TimeSlotDto {
|
|
4540
|
+
id?: number;
|
|
4541
|
+
resourceId: number;
|
|
4295
4542
|
startDate: string;
|
|
4543
|
+
startTime: string;
|
|
4296
4544
|
endDate: string;
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
onlyActiveSessions?: boolean;
|
|
4300
|
-
resourcesIds?: number[];
|
|
4301
|
-
resourcesTypes?: ResourceTypeEnum[];
|
|
4302
|
-
reservationStatuses?: ReservationStatusEnum[];
|
|
4303
|
-
}
|
|
4304
|
-
export interface ResourceSlots extends Resource {
|
|
4305
|
-
slots: Slot[];
|
|
4545
|
+
endTime: string;
|
|
4546
|
+
parentSlotId?: number;
|
|
4306
4547
|
}
|
|
4307
|
-
export
|
|
4308
|
-
|
|
4309
|
-
price: string;
|
|
4310
|
-
totalTax: string;
|
|
4311
|
-
quantity: string;
|
|
4312
|
-
isTaxInclusive: boolean;
|
|
4313
|
-
currency: string;
|
|
4548
|
+
export declare class TimeSlotsDto {
|
|
4549
|
+
timeSlots: TimeSlotDto[];
|
|
4314
4550
|
}
|
|
4315
|
-
export
|
|
4316
|
-
|
|
4317
|
-
unitTax: number;
|
|
4318
|
-
isTaxInclusive: boolean;
|
|
4319
|
-
unitPricePerHour: number;
|
|
4320
|
-
taxPerHour: number;
|
|
4321
|
-
quantity: number;
|
|
4322
|
-
currency: string;
|
|
4323
|
-
totalPrice: number;
|
|
4551
|
+
export declare class SlotsIdsDto {
|
|
4552
|
+
slotsIds: number[];
|
|
4324
4553
|
}
|
|
4325
|
-
|
|
4326
|
-
|
|
4554
|
+
declare class AnswerDto {
|
|
4555
|
+
questionId: number;
|
|
4556
|
+
value: any;
|
|
4327
4557
|
}
|
|
4328
|
-
export
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
}[];
|
|
4334
|
-
};
|
|
4335
|
-
addons: CalendarCardAddon[];
|
|
4336
|
-
invoice: Order;
|
|
4337
|
-
price: LineItemPrice;
|
|
4338
|
-
totalSlotsInSeries?: number;
|
|
4339
|
-
slotIndexInSeries?: number;
|
|
4558
|
+
export declare class BookedSessionDto {
|
|
4559
|
+
startDate: string;
|
|
4560
|
+
endDate: string;
|
|
4561
|
+
timezone: string;
|
|
4562
|
+
spaceId: number;
|
|
4340
4563
|
}
|
|
4341
|
-
declare
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4564
|
+
declare class AddonV1Dto {
|
|
4565
|
+
resourcePackageId: number;
|
|
4566
|
+
resourcePackageAmount: number;
|
|
4567
|
+
resourcePackagePrice: number;
|
|
4345
4568
|
}
|
|
4346
|
-
export
|
|
4347
|
-
id: number;
|
|
4348
|
-
name: string;
|
|
4569
|
+
export declare class ReservationV1Dto {
|
|
4349
4570
|
organizationId: number;
|
|
4571
|
+
name: string;
|
|
4572
|
+
dayOfWeek: number;
|
|
4573
|
+
startTime: string;
|
|
4350
4574
|
description: string;
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
sports: number[];
|
|
4358
|
-
addonsProductUserIds: number[];
|
|
4359
|
-
facilityId?: number;
|
|
4360
|
-
customerId: number;
|
|
4361
|
-
customer?: Customer;
|
|
4362
|
-
invoices?: IInvoice[];
|
|
4363
|
-
payments?: IPartialPayment[];
|
|
4364
|
-
addons?: Addon[];
|
|
4365
|
-
answers?: Answer[];
|
|
4366
|
-
series: Series[];
|
|
4367
|
-
segments?: Segment[];
|
|
4368
|
-
}
|
|
4369
|
-
export interface UpdateReservationResult {
|
|
4370
|
-
reservation: Reservation;
|
|
4371
|
-
order?: Order;
|
|
4372
|
-
debug?: any;
|
|
4373
|
-
}
|
|
4374
|
-
export interface UpdateSlotPricesResult {
|
|
4375
|
-
reservation: ReservationDto;
|
|
4376
|
-
slots: SlotDto[];
|
|
4377
|
-
order: OrderDto;
|
|
4378
|
-
debug?: any;
|
|
4379
|
-
}
|
|
4380
|
-
export interface UpdateSlotsAddonsResult {
|
|
4381
|
-
slots: SlotDto[];
|
|
4382
|
-
order: OrderDto;
|
|
4383
|
-
debug?: any;
|
|
4384
|
-
}
|
|
4385
|
-
export interface ValidateEditSlotsResult {
|
|
4386
|
-
nextFinancialStep: FinancialStepEnum;
|
|
4387
|
-
slots: SlotDto[];
|
|
4388
|
-
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4389
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4390
|
-
originalInvoicePrice?: number;
|
|
4391
|
-
updatedInvoicePrice?: number;
|
|
4392
|
-
priceChange?: number;
|
|
4393
|
-
editData?: EditSlotsData;
|
|
4394
|
-
}
|
|
4395
|
-
export interface EditSlotsRefundMetadata {
|
|
4396
|
-
lineItems: SlotsLineItemData[];
|
|
4397
|
-
refundAmount: number;
|
|
4398
|
-
}
|
|
4399
|
-
export interface EditSlotsData {
|
|
4400
|
-
order?: Order;
|
|
4401
|
-
editSlotsLineItems?: SlotsLineItemData[];
|
|
4402
|
-
newLineItems?: LineItemDto[];
|
|
4575
|
+
sport: number;
|
|
4576
|
+
price: number;
|
|
4577
|
+
resourcePackageId: number;
|
|
4578
|
+
resourcePackageAmount: number;
|
|
4579
|
+
bookedSessions: BookedSessionDto[];
|
|
4580
|
+
addons: AddonV1Dto[];
|
|
4403
4581
|
}
|
|
4404
|
-
export
|
|
4405
|
-
|
|
4582
|
+
export declare class BookingV1Dto {
|
|
4583
|
+
organizationId: number;
|
|
4584
|
+
reservations: ReservationV1Dto[];
|
|
4585
|
+
answers: AnswerDto[];
|
|
4586
|
+
paymentData: PurchasePaymentDto;
|
|
4587
|
+
skipPayment: boolean;
|
|
4588
|
+
cashPayment: boolean;
|
|
4589
|
+
requestOnly: boolean;
|
|
4406
4590
|
}
|
|
4407
4591
|
export declare class ChangeRolePermissionsDto {
|
|
4408
4592
|
permissionIds: number[];
|
|
@@ -4414,12 +4598,6 @@ export declare class Permission extends BondBaseEntity {
|
|
|
4414
4598
|
name: string;
|
|
4415
4599
|
deletedAt?: Date;
|
|
4416
4600
|
}
|
|
4417
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4418
|
-
name: string;
|
|
4419
|
-
deletedAt?: Date;
|
|
4420
|
-
permissions: Permission[];
|
|
4421
|
-
usersRoles: UserRole[];
|
|
4422
|
-
}
|
|
4423
4601
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4424
4602
|
deletedAt?: Date;
|
|
4425
4603
|
userId: number;
|
|
@@ -4427,12 +4605,29 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4427
4605
|
role: Role;
|
|
4428
4606
|
user: User;
|
|
4429
4607
|
}
|
|
4608
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4609
|
+
name: string;
|
|
4610
|
+
deletedAt?: Date;
|
|
4611
|
+
permissions: Permission[];
|
|
4612
|
+
usersRoles: UserRole[];
|
|
4613
|
+
}
|
|
4430
4614
|
export declare class CloseShiftDto {
|
|
4431
4615
|
closingCashAmount: number;
|
|
4432
4616
|
}
|
|
4617
|
+
export declare class ShiftManagementClosingAmount {
|
|
4618
|
+
shiftId: number;
|
|
4619
|
+
managementClosingCashAmount: number;
|
|
4620
|
+
}
|
|
4621
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4622
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4623
|
+
}
|
|
4433
4624
|
export declare class FindShiftsByIdsDto {
|
|
4434
4625
|
shiftIds: number[];
|
|
4435
4626
|
}
|
|
4627
|
+
export declare class OpenShiftDto {
|
|
4628
|
+
openingCashAmount: number;
|
|
4629
|
+
stationId: number;
|
|
4630
|
+
}
|
|
4436
4631
|
export declare class FindShiftsFiltersDto {
|
|
4437
4632
|
statuses?: string;
|
|
4438
4633
|
stationIds?: string;
|
|
@@ -4453,17 +4648,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4453
4648
|
startDate?: Date;
|
|
4454
4649
|
endDate?: Date;
|
|
4455
4650
|
}
|
|
4456
|
-
export declare class ShiftManagementClosingAmount {
|
|
4457
|
-
shiftId: number;
|
|
4458
|
-
managementClosingCashAmount: number;
|
|
4459
|
-
}
|
|
4460
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4461
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4462
|
-
}
|
|
4463
|
-
export declare class OpenShiftDto {
|
|
4464
|
-
openingCashAmount: number;
|
|
4465
|
-
stationId: number;
|
|
4466
|
-
}
|
|
4467
4651
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4468
4652
|
stationId: number;
|
|
4469
4653
|
station?: Station;
|
|
@@ -4484,7 +4668,7 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4484
4668
|
reconciliationAmount?: number;
|
|
4485
4669
|
reconcilingDate?: string;
|
|
4486
4670
|
reconcilingTime?: string;
|
|
4487
|
-
|
|
4671
|
+
reconciliationInvoiceId?: number;
|
|
4488
4672
|
deletedAt?: Date;
|
|
4489
4673
|
sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
|
|
4490
4674
|
currentCashDifference?: number;
|
|
@@ -4493,3 +4677,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4493
4677
|
closingManager?: User;
|
|
4494
4678
|
reconcilingUser?: User;
|
|
4495
4679
|
}
|
|
4680
|
+
export default interface IWebflowProgram {
|
|
4681
|
+
name: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
activity: string;
|
|
4684
|
+
backgroundImage: string;
|
|
4685
|
+
minAge: string;
|
|
4686
|
+
maxAge: string;
|
|
4687
|
+
shortDescription: string;
|
|
4688
|
+
longDescription: string;
|
|
4689
|
+
programType: string;
|
|
4690
|
+
level: string[];
|
|
4691
|
+
gender: string;
|
|
4692
|
+
}
|