@bondsports/types 0.0.182 → 0.0.184
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 +998 -998
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -34,67 +34,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
34
34
|
bookingDate: string;
|
|
35
35
|
bookingTime: string;
|
|
36
36
|
}
|
|
37
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
|
-
membershipId: number;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportProductsFromDB {
|
|
41
|
-
buDate: string;
|
|
42
|
-
}
|
|
43
|
-
export declare class ImportCustomerFromCSV {
|
|
44
|
-
fileName: string;
|
|
45
|
-
startIndex?: number;
|
|
46
|
-
}
|
|
47
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
48
|
-
resolveInvoices: string;
|
|
49
|
-
}
|
|
50
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
51
|
-
membershipId: number;
|
|
52
|
-
onlyDashIds: string;
|
|
53
|
-
}
|
|
54
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
55
|
-
facilityId: number;
|
|
56
|
-
}
|
|
57
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
58
|
-
customerId: number;
|
|
59
|
-
}
|
|
60
|
-
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
61
|
-
userId: number;
|
|
62
|
-
}
|
|
63
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
64
|
-
nameSearch?: string;
|
|
65
|
-
fuzzy?: string;
|
|
66
|
-
customerType?: CustomerTypeEnum;
|
|
67
|
-
customersIds?: string;
|
|
68
|
-
}
|
|
69
|
-
export declare class AddCustomerNotesDto {
|
|
70
|
-
customerNotes: CustomerNoteDto[];
|
|
71
|
-
}
|
|
72
|
-
export declare class CustomerNoteDto {
|
|
73
|
-
id?: number;
|
|
74
|
-
description: string;
|
|
75
|
-
pinToTop?: boolean;
|
|
76
|
-
}
|
|
77
|
-
export declare class AddEditCustomerDto {
|
|
78
|
-
firstName?: string;
|
|
79
|
-
lastName?: string;
|
|
80
|
-
entityId?: number;
|
|
81
|
-
entityType?: CustomerTypeEnum;
|
|
82
|
-
email?: string;
|
|
83
|
-
color?: string;
|
|
84
|
-
street?: string;
|
|
85
|
-
city?: string;
|
|
86
|
-
state?: string;
|
|
87
|
-
zip?: string;
|
|
88
|
-
phoneNumber?: string;
|
|
89
|
-
mainMediaId?: number;
|
|
90
|
-
creatorId?: number;
|
|
91
|
-
creatorType?: ResourceNameTypeEnum;
|
|
92
|
-
userCreatorId?: number;
|
|
93
|
-
gender?: GenderEnum;
|
|
94
|
-
birthDate?: string;
|
|
95
|
-
emergencyContactName?: string;
|
|
96
|
-
emergencyContactPhone?: string;
|
|
97
|
-
}
|
|
98
37
|
export declare class FindEventByIdDto {
|
|
99
38
|
eventId: number;
|
|
100
39
|
organizationId: number;
|
|
@@ -227,18 +166,6 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
227
166
|
userId: number;
|
|
228
167
|
familyAccountId: number;
|
|
229
168
|
}
|
|
230
|
-
export declare class FindOneParams {
|
|
231
|
-
id: number;
|
|
232
|
-
}
|
|
233
|
-
export declare class PaginationQuery {
|
|
234
|
-
page: number;
|
|
235
|
-
itemsPerPage: number;
|
|
236
|
-
}
|
|
237
|
-
export declare class PaginationRangeQuery {
|
|
238
|
-
startPage: number;
|
|
239
|
-
endPage: number;
|
|
240
|
-
itemsPerPage: number;
|
|
241
|
-
}
|
|
242
169
|
export declare class AddressDto {
|
|
243
170
|
city: string;
|
|
244
171
|
state: string;
|
|
@@ -282,6 +209,18 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
282
209
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
283
210
|
nameSearch?: string;
|
|
284
211
|
}
|
|
212
|
+
export declare class FindOneParams {
|
|
213
|
+
id: number;
|
|
214
|
+
}
|
|
215
|
+
export declare class PaginationQuery {
|
|
216
|
+
page: number;
|
|
217
|
+
itemsPerPage: number;
|
|
218
|
+
}
|
|
219
|
+
export declare class PaginationRangeQuery {
|
|
220
|
+
startPage: number;
|
|
221
|
+
endPage: number;
|
|
222
|
+
itemsPerPage: number;
|
|
223
|
+
}
|
|
285
224
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
225
|
organizationId: number;
|
|
287
226
|
}
|
|
@@ -292,61 +231,120 @@ export declare class GetGlCodeDto {
|
|
|
292
231
|
createdAt: Date;
|
|
293
232
|
updatedAt: Date;
|
|
294
233
|
}
|
|
295
|
-
export declare class
|
|
296
|
-
|
|
234
|
+
export declare class FindByProgramSeasonIdDto {
|
|
235
|
+
seasonId: number;
|
|
236
|
+
}
|
|
237
|
+
export declare class CreateBulkDivisionsDto {
|
|
238
|
+
divisions: CreateDivisionDto[];
|
|
239
|
+
}
|
|
240
|
+
export declare class CreateDivisionDto {
|
|
241
|
+
name: string;
|
|
242
|
+
ordinal?: number;
|
|
243
|
+
programSeasonId: number;
|
|
244
|
+
color: string;
|
|
245
|
+
isDefault: boolean;
|
|
246
|
+
}
|
|
247
|
+
export declare class CreateGroupDto {
|
|
297
248
|
name: string;
|
|
298
249
|
description?: string;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
maxAgeYears: number;
|
|
250
|
+
status?: GroupStatusEnum;
|
|
251
|
+
maxCapacity?: number;
|
|
252
|
+
mainMediaId?: number;
|
|
253
|
+
minAgeYears?: number;
|
|
254
|
+
maxAgeYears?: number;
|
|
305
255
|
gender: GenderEnum;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
registrationStartDate?: Date;
|
|
312
|
-
registrationEndDate?: Date;
|
|
313
|
-
membershipType: MembershipTypeEnum;
|
|
314
|
-
durationMonths: number;
|
|
315
|
-
longDescription?: string;
|
|
316
|
-
isAutoRenew?: boolean;
|
|
256
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
257
|
+
sports: SportsEnum[];
|
|
258
|
+
questionnaires?: number[];
|
|
259
|
+
captainUserId?: number;
|
|
260
|
+
divisionId?: number;
|
|
317
261
|
}
|
|
318
|
-
export declare class
|
|
319
|
-
|
|
262
|
+
export declare class ConnectGroupToDivision {
|
|
263
|
+
groupId: number;
|
|
264
|
+
divisionId: number;
|
|
265
|
+
prevDivisionId: number;
|
|
320
266
|
}
|
|
321
|
-
export declare class
|
|
322
|
-
|
|
323
|
-
|
|
267
|
+
export declare class MoveUserInGroups {
|
|
268
|
+
userId: number;
|
|
269
|
+
groupId?: number;
|
|
270
|
+
prevGroupId?: number;
|
|
324
271
|
}
|
|
325
|
-
export declare class
|
|
326
|
-
|
|
272
|
+
export declare class SaveUserAsGroupCaptain {
|
|
273
|
+
groupId: number;
|
|
274
|
+
userId: number;
|
|
327
275
|
}
|
|
328
|
-
export declare class
|
|
329
|
-
|
|
276
|
+
export declare class CreateTeamInviteDto {
|
|
277
|
+
emails: string[];
|
|
278
|
+
userCreatorId: number;
|
|
330
279
|
}
|
|
331
|
-
export declare class
|
|
280
|
+
export declare class TeamByIdDto {
|
|
281
|
+
teamId: number;
|
|
282
|
+
}
|
|
283
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
284
|
+
inviteToken: string;
|
|
285
|
+
}
|
|
286
|
+
export declare class JoinTeamDto {
|
|
332
287
|
userId: number;
|
|
288
|
+
inviteToken?: string;
|
|
333
289
|
}
|
|
334
|
-
export declare class
|
|
335
|
-
|
|
290
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
291
|
+
userId: number;
|
|
336
292
|
}
|
|
337
|
-
export
|
|
338
|
-
|
|
293
|
+
export interface IMoveSeason {
|
|
294
|
+
fromSeasonId: number;
|
|
295
|
+
toSeasonId: number;
|
|
339
296
|
}
|
|
340
|
-
export declare class
|
|
297
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
298
|
+
teamId?: number;
|
|
341
299
|
memberId?: number;
|
|
300
|
+
fromSeasonId: number;
|
|
301
|
+
toSeasonId: number;
|
|
302
|
+
toDivisionId?: number;
|
|
342
303
|
}
|
|
343
|
-
export declare class
|
|
344
|
-
|
|
345
|
-
pastMemberships?: string;
|
|
304
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
305
|
+
fileName: string;
|
|
346
306
|
}
|
|
347
|
-
export declare class
|
|
348
|
-
|
|
349
|
-
|
|
307
|
+
export declare class CreateEntitlementTermsDto {
|
|
308
|
+
organizationId: number;
|
|
309
|
+
entitlementGroupId: number;
|
|
310
|
+
terms: IEntitlementTerms[];
|
|
311
|
+
}
|
|
312
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
313
|
+
entitlementGroupId: number;
|
|
314
|
+
}
|
|
315
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
316
|
+
user: any;
|
|
317
|
+
userVariables: IQuestionAnswerObject[];
|
|
318
|
+
}
|
|
319
|
+
export declare class FindLowestPriceDto {
|
|
320
|
+
organizationId: number;
|
|
321
|
+
user?: any;
|
|
322
|
+
answers?: IQuestionAnswerObject[];
|
|
323
|
+
itemIds: number[];
|
|
324
|
+
itemType?: ResourceNameTypeEnum;
|
|
325
|
+
startDate?: Date;
|
|
326
|
+
}
|
|
327
|
+
export declare class FindGroupItemsPricingsDto {
|
|
328
|
+
groupsIds: number[];
|
|
329
|
+
itemsIds: number[];
|
|
330
|
+
}
|
|
331
|
+
export declare class CreateEntitlementGroupDto {
|
|
332
|
+
name: string;
|
|
333
|
+
}
|
|
334
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
335
|
+
itemIds: number[];
|
|
336
|
+
itemType: string;
|
|
337
|
+
}
|
|
338
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
339
|
+
groupid: number;
|
|
340
|
+
}
|
|
341
|
+
export declare class CreateGroupPricingWithProduct {
|
|
342
|
+
groupId: number;
|
|
343
|
+
price: number;
|
|
344
|
+
startDate?: Date;
|
|
345
|
+
endDate?: Date;
|
|
346
|
+
discountValue?: number;
|
|
347
|
+
discountMethod?: DiscountMethodsEnum;
|
|
350
348
|
}
|
|
351
349
|
export declare class FindByProductIdDto {
|
|
352
350
|
productId: number;
|
|
@@ -569,120 +567,61 @@ export declare class createResourceDto {
|
|
|
569
567
|
export declare class archiveDto {
|
|
570
568
|
isArchive: boolean;
|
|
571
569
|
}
|
|
572
|
-
export declare class
|
|
573
|
-
|
|
574
|
-
}
|
|
575
|
-
export declare class CreateBulkDivisionsDto {
|
|
576
|
-
divisions: CreateDivisionDto[];
|
|
577
|
-
}
|
|
578
|
-
export declare class CreateDivisionDto {
|
|
579
|
-
name: string;
|
|
580
|
-
ordinal?: number;
|
|
581
|
-
programSeasonId: number;
|
|
582
|
-
color: string;
|
|
583
|
-
isDefault: boolean;
|
|
584
|
-
}
|
|
585
|
-
export declare class CreateGroupDto {
|
|
570
|
+
export declare class CreateMembershipDto {
|
|
571
|
+
organizationId: number;
|
|
586
572
|
name: string;
|
|
587
573
|
description?: string;
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
574
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
575
|
+
activity: SportsEnum;
|
|
576
|
+
facilityId: number;
|
|
577
|
+
questionnaires: number[];
|
|
578
|
+
minAgeYears: number;
|
|
579
|
+
maxAgeYears: number;
|
|
593
580
|
gender: GenderEnum;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
export declare class MoveUserInGroups {
|
|
606
|
-
userId: number;
|
|
607
|
-
groupId?: number;
|
|
608
|
-
prevGroupId?: number;
|
|
581
|
+
maxMembers?: number;
|
|
582
|
+
maxMaleMembers?: number;
|
|
583
|
+
maxFemaleMembers?: number;
|
|
584
|
+
startDate: string;
|
|
585
|
+
endDate: string;
|
|
586
|
+
registrationStartDate?: Date;
|
|
587
|
+
registrationEndDate?: Date;
|
|
588
|
+
membershipType: MembershipTypeEnum;
|
|
589
|
+
durationMonths: number;
|
|
590
|
+
longDescription?: string;
|
|
591
|
+
isAutoRenew?: boolean;
|
|
609
592
|
}
|
|
610
|
-
export declare class
|
|
611
|
-
|
|
612
|
-
userId: number;
|
|
593
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
594
|
+
id: number;
|
|
613
595
|
}
|
|
614
|
-
export declare class
|
|
615
|
-
|
|
616
|
-
|
|
596
|
+
export declare class UpdateMembershipMediaDto {
|
|
597
|
+
membershipId: number;
|
|
598
|
+
mediaId: number;
|
|
617
599
|
}
|
|
618
|
-
export declare class
|
|
619
|
-
|
|
600
|
+
export declare class FindMembershipByIdDto {
|
|
601
|
+
membershipId: number;
|
|
620
602
|
}
|
|
621
|
-
export declare class
|
|
622
|
-
|
|
603
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
604
|
+
organizationId: number;
|
|
623
605
|
}
|
|
624
|
-
export declare class
|
|
606
|
+
export declare class FindMembershipsByUserIdDto {
|
|
625
607
|
userId: number;
|
|
626
|
-
inviteToken?: string;
|
|
627
608
|
}
|
|
628
|
-
export declare class
|
|
629
|
-
|
|
609
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
610
|
+
startDate: string;
|
|
630
611
|
}
|
|
631
|
-
export
|
|
632
|
-
|
|
633
|
-
toSeasonId: number;
|
|
612
|
+
export declare class MembershipIdsDto {
|
|
613
|
+
membershipIds?: number[];
|
|
634
614
|
}
|
|
635
|
-
export declare class
|
|
636
|
-
teamId?: number;
|
|
615
|
+
export declare class MemberIdDto {
|
|
637
616
|
memberId?: number;
|
|
638
|
-
fromSeasonId: number;
|
|
639
|
-
toSeasonId: number;
|
|
640
|
-
toDivisionId?: number;
|
|
641
|
-
}
|
|
642
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
643
|
-
fileName: string;
|
|
644
|
-
}
|
|
645
|
-
export declare class CreateEntitlementTermsDto {
|
|
646
|
-
organizationId: number;
|
|
647
|
-
entitlementGroupId: number;
|
|
648
|
-
terms: IEntitlementTerms[];
|
|
649
|
-
}
|
|
650
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
651
|
-
entitlementGroupId: number;
|
|
652
|
-
}
|
|
653
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
654
|
-
user: any;
|
|
655
|
-
userVariables: IQuestionAnswerObject[];
|
|
656
|
-
}
|
|
657
|
-
export declare class FindLowestPriceDto {
|
|
658
|
-
organizationId: number;
|
|
659
|
-
user?: any;
|
|
660
|
-
answers?: IQuestionAnswerObject[];
|
|
661
|
-
itemIds: number[];
|
|
662
|
-
itemType?: ResourceNameTypeEnum;
|
|
663
|
-
startDate?: Date;
|
|
664
|
-
}
|
|
665
|
-
export declare class FindGroupItemsPricingsDto {
|
|
666
|
-
groupsIds: number[];
|
|
667
|
-
itemsIds: number[];
|
|
668
|
-
}
|
|
669
|
-
export declare class CreateEntitlementGroupDto {
|
|
670
|
-
name: string;
|
|
671
617
|
}
|
|
672
|
-
export declare class
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
}
|
|
676
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
677
|
-
groupid: number;
|
|
618
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
619
|
+
nameEmailSearch?: string;
|
|
620
|
+
pastMemberships?: string;
|
|
678
621
|
}
|
|
679
|
-
export declare class
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
startDate?: Date;
|
|
683
|
-
endDate?: Date;
|
|
684
|
-
discountValue?: number;
|
|
685
|
-
discountMethod?: DiscountMethodsEnum;
|
|
622
|
+
export declare class CancelMembershipDto {
|
|
623
|
+
isImmediatelyCancel: boolean;
|
|
624
|
+
cancellationReason?: string;
|
|
686
625
|
}
|
|
687
626
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
688
627
|
programId: number;
|
|
@@ -875,13 +814,49 @@ export declare class MoveParticipantDto {
|
|
|
875
814
|
resourceId: number;
|
|
876
815
|
invoiceId: number;
|
|
877
816
|
}
|
|
878
|
-
export declare class
|
|
817
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
818
|
+
organizationId: number;
|
|
819
|
+
programType?: ProgramTypesEnum;
|
|
820
|
+
}
|
|
821
|
+
export declare class FindProgramByIdDto {
|
|
822
|
+
programId: number;
|
|
823
|
+
}
|
|
824
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
825
|
+
programId: number;
|
|
826
|
+
organizationId: number;
|
|
827
|
+
}
|
|
828
|
+
export declare class BaseProgramDto {
|
|
829
|
+
type: ProgramTypesEnum;
|
|
879
830
|
name: string;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
831
|
+
sport: SportsEnum;
|
|
832
|
+
minAge: string;
|
|
833
|
+
maxAge: string;
|
|
834
|
+
gender: GenderEnum;
|
|
835
|
+
level?: LevelOfPlayEnum[];
|
|
836
|
+
description?: string;
|
|
837
|
+
GL?: string;
|
|
838
|
+
status: PublishingStatusEnum;
|
|
839
|
+
organizationId: number;
|
|
840
|
+
userCreatorId: number;
|
|
841
|
+
highlights: ProgramHighlights[];
|
|
842
|
+
longDescription?: string;
|
|
843
|
+
requiredProductIds: number[];
|
|
883
844
|
}
|
|
884
|
-
export declare class
|
|
845
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
846
|
+
}
|
|
847
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
848
|
+
programId: number;
|
|
849
|
+
mainMediaId: number;
|
|
850
|
+
}
|
|
851
|
+
export declare class UpdateProgramStatusDto {
|
|
852
|
+
programId: number;
|
|
853
|
+
status: PublishingStatusEnum;
|
|
854
|
+
}
|
|
855
|
+
export declare class ProgramHighlightDto {
|
|
856
|
+
data: string;
|
|
857
|
+
ordinal: number;
|
|
858
|
+
type: ProgramHighlightTypeEnum;
|
|
859
|
+
title: string;
|
|
885
860
|
}
|
|
886
861
|
export declare class CreateUpdateVariantsDto {
|
|
887
862
|
organizationId: number;
|
|
@@ -978,9 +953,74 @@ export declare class ValidateParticipantDto {
|
|
|
978
953
|
customerIds: number[];
|
|
979
954
|
products: PurchaseProductDto[];
|
|
980
955
|
}
|
|
981
|
-
export declare class
|
|
982
|
-
|
|
983
|
-
|
|
956
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
957
|
+
membershipId: number;
|
|
958
|
+
}
|
|
959
|
+
export declare class ImportProductsFromDB {
|
|
960
|
+
buDate: string;
|
|
961
|
+
}
|
|
962
|
+
export declare class ImportCustomerFromCSV {
|
|
963
|
+
fileName: string;
|
|
964
|
+
startIndex?: number;
|
|
965
|
+
}
|
|
966
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
967
|
+
resolveInvoices: string;
|
|
968
|
+
}
|
|
969
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
970
|
+
membershipId: number;
|
|
971
|
+
onlyDashIds: string;
|
|
972
|
+
}
|
|
973
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
974
|
+
facilityId: number;
|
|
975
|
+
}
|
|
976
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
977
|
+
customerId: number;
|
|
978
|
+
}
|
|
979
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
980
|
+
userId: number;
|
|
981
|
+
}
|
|
982
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
983
|
+
nameSearch?: string;
|
|
984
|
+
fuzzy?: string;
|
|
985
|
+
customerType?: CustomerTypeEnum;
|
|
986
|
+
customersIds?: string;
|
|
987
|
+
}
|
|
988
|
+
export declare class AddCustomerNotesDto {
|
|
989
|
+
customerNotes: CustomerNoteDto[];
|
|
990
|
+
}
|
|
991
|
+
export declare class CustomerNoteDto {
|
|
992
|
+
id?: number;
|
|
993
|
+
description: string;
|
|
994
|
+
pinToTop?: boolean;
|
|
995
|
+
}
|
|
996
|
+
export declare class AddEditCustomerDto {
|
|
997
|
+
firstName?: string;
|
|
998
|
+
lastName?: string;
|
|
999
|
+
entityId?: number;
|
|
1000
|
+
entityType?: CustomerTypeEnum;
|
|
1001
|
+
email?: string;
|
|
1002
|
+
color?: string;
|
|
1003
|
+
street?: string;
|
|
1004
|
+
city?: string;
|
|
1005
|
+
state?: string;
|
|
1006
|
+
zip?: string;
|
|
1007
|
+
phoneNumber?: string;
|
|
1008
|
+
mainMediaId?: number;
|
|
1009
|
+
creatorId?: number;
|
|
1010
|
+
creatorType?: ResourceNameTypeEnum;
|
|
1011
|
+
userCreatorId?: number;
|
|
1012
|
+
gender?: GenderEnum;
|
|
1013
|
+
birthDate?: string;
|
|
1014
|
+
emergencyContactName?: string;
|
|
1015
|
+
emergencyContactPhone?: string;
|
|
1016
|
+
}
|
|
1017
|
+
export declare class CreateResourceGroupDto {
|
|
1018
|
+
name: string;
|
|
1019
|
+
parentSlotId: number;
|
|
1020
|
+
facilityId: number;
|
|
1021
|
+
childrenSlotIds: number[];
|
|
1022
|
+
}
|
|
1023
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
984
1024
|
}
|
|
985
1025
|
export declare class SpaceByIdDto {
|
|
986
1026
|
spaceId: number;
|
|
@@ -1038,50 +1078,29 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1038
1078
|
types?: string;
|
|
1039
1079
|
resourcesIds?: string;
|
|
1040
1080
|
}
|
|
1041
|
-
export declare class
|
|
1042
|
-
|
|
1043
|
-
programType?: ProgramTypesEnum;
|
|
1081
|
+
export declare class StripeCustomerIdDto {
|
|
1082
|
+
userId: number;
|
|
1044
1083
|
}
|
|
1045
|
-
export declare class
|
|
1046
|
-
|
|
1084
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1085
|
+
paymentMethodId: string;
|
|
1047
1086
|
}
|
|
1048
|
-
export declare class
|
|
1049
|
-
|
|
1087
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1088
|
+
publicToken: string;
|
|
1089
|
+
accountId: string;
|
|
1090
|
+
}
|
|
1091
|
+
export declare class ResourceDto {
|
|
1092
|
+
type: ResourceNameTypeEnum;
|
|
1093
|
+
id: number;
|
|
1094
|
+
}
|
|
1095
|
+
export declare class FindByUserIdDto {
|
|
1096
|
+
userId: number;
|
|
1097
|
+
}
|
|
1098
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1099
|
+
familyAccountId?: number;
|
|
1100
|
+
}
|
|
1101
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1050
1102
|
organizationId: number;
|
|
1051
1103
|
}
|
|
1052
|
-
export declare class BaseProgramDto {
|
|
1053
|
-
type: ProgramTypesEnum;
|
|
1054
|
-
name: string;
|
|
1055
|
-
sport: SportsEnum;
|
|
1056
|
-
minAge: string;
|
|
1057
|
-
maxAge: string;
|
|
1058
|
-
gender: GenderEnum;
|
|
1059
|
-
level?: LevelOfPlayEnum[];
|
|
1060
|
-
description?: string;
|
|
1061
|
-
GL?: string;
|
|
1062
|
-
status: PublishingStatusEnum;
|
|
1063
|
-
organizationId: number;
|
|
1064
|
-
userCreatorId: number;
|
|
1065
|
-
highlights: ProgramHighlights[];
|
|
1066
|
-
longDescription?: string;
|
|
1067
|
-
requiredProductIds: number[];
|
|
1068
|
-
}
|
|
1069
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1070
|
-
}
|
|
1071
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1072
|
-
programId: number;
|
|
1073
|
-
mainMediaId: number;
|
|
1074
|
-
}
|
|
1075
|
-
export declare class UpdateProgramStatusDto {
|
|
1076
|
-
programId: number;
|
|
1077
|
-
status: PublishingStatusEnum;
|
|
1078
|
-
}
|
|
1079
|
-
export declare class ProgramHighlightDto {
|
|
1080
|
-
data: string;
|
|
1081
|
-
ordinal: number;
|
|
1082
|
-
type: ProgramHighlightTypeEnum;
|
|
1083
|
-
title: string;
|
|
1084
|
-
}
|
|
1085
1104
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1086
1105
|
entityType: ResourceNameTypeEnum;
|
|
1087
1106
|
entityId: number;
|
|
@@ -1095,15 +1114,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1095
1114
|
oldValue?: any;
|
|
1096
1115
|
newValue?: any;
|
|
1097
1116
|
}
|
|
1098
|
-
export declare class FindByUserIdDto {
|
|
1099
|
-
userId: number;
|
|
1100
|
-
}
|
|
1101
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1102
|
-
familyAccountId?: number;
|
|
1103
|
-
}
|
|
1104
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1105
|
-
organizationId: number;
|
|
1106
|
-
}
|
|
1107
1117
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1108
1118
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1109
1119
|
parentId: number;
|
|
@@ -1117,21 +1127,16 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1117
1127
|
proudct: Product;
|
|
1118
1128
|
event: Event;
|
|
1119
1129
|
}
|
|
1120
|
-
export declare class
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
|
-
questionnaireId: number;
|
|
1132
|
-
userId?: number;
|
|
1133
|
-
answers: Answer[];
|
|
1134
|
-
questionnaire: Questionnaires;
|
|
1130
|
+
export declare class Address extends BondBaseEntity {
|
|
1131
|
+
city?: string;
|
|
1132
|
+
street?: string;
|
|
1133
|
+
streetNum?: string;
|
|
1134
|
+
aptNum?: string;
|
|
1135
|
+
zip?: string;
|
|
1136
|
+
country?: string;
|
|
1137
|
+
state?: string;
|
|
1138
|
+
geo: any;
|
|
1139
|
+
deletedAt?: Date;
|
|
1135
1140
|
}
|
|
1136
1141
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
1142
|
questionId: number;
|
|
@@ -1146,6 +1151,12 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1146
1151
|
metaData: any | null;
|
|
1147
1152
|
questionText: string | null;
|
|
1148
1153
|
}
|
|
1154
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1155
|
+
questionnaireId: number;
|
|
1156
|
+
userId?: number;
|
|
1157
|
+
answers: Answer[];
|
|
1158
|
+
questionnaire: Questionnaires;
|
|
1159
|
+
}
|
|
1149
1160
|
export declare class Athlete extends BondBaseEntity {
|
|
1150
1161
|
userId: number | null;
|
|
1151
1162
|
metadata: object | null;
|
|
@@ -1156,24 +1167,6 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1156
1167
|
sports: number | null;
|
|
1157
1168
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1158
1169
|
}
|
|
1159
|
-
export declare class BookedSessions extends BondBaseEntity {
|
|
1160
|
-
reservationId?: number;
|
|
1161
|
-
color?: string;
|
|
1162
|
-
creatorId?: number;
|
|
1163
|
-
creatorType?: string;
|
|
1164
|
-
startDate?: Date | moment.Moment;
|
|
1165
|
-
endDate?: Date | moment.Moment;
|
|
1166
|
-
timezone?: string;
|
|
1167
|
-
spaceId?: number;
|
|
1168
|
-
percentage?: number;
|
|
1169
|
-
status?: string;
|
|
1170
|
-
originalSessionId?: number;
|
|
1171
|
-
isFinal?: boolean;
|
|
1172
|
-
concurrent?: number;
|
|
1173
|
-
deletedAt?: Date;
|
|
1174
|
-
publicNotes?: string;
|
|
1175
|
-
slotType?: SlotTypeEnum;
|
|
1176
|
-
}
|
|
1177
1170
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1178
1171
|
entityType: ResourceNameTypeEnum;
|
|
1179
1172
|
entityId: number;
|
|
@@ -1187,6 +1180,11 @@ export declare class BondBaseEntity extends BaseEntity {
|
|
|
1187
1180
|
createdAt: Date;
|
|
1188
1181
|
updatedAt: Date;
|
|
1189
1182
|
}
|
|
1183
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1184
|
+
area: string;
|
|
1185
|
+
key: string;
|
|
1186
|
+
value: string;
|
|
1187
|
+
}
|
|
1190
1188
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1191
1189
|
parentId: number;
|
|
1192
1190
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1197,10 +1195,23 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1197
1195
|
endTimeInDay: string;
|
|
1198
1196
|
directBookingFor: DirectBookingTypesEnum;
|
|
1199
1197
|
}
|
|
1200
|
-
export declare class
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1198
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1199
|
+
reservationId?: number;
|
|
1200
|
+
color?: string;
|
|
1201
|
+
creatorId?: number;
|
|
1202
|
+
creatorType?: string;
|
|
1203
|
+
startDate?: Date | moment.Moment;
|
|
1204
|
+
endDate?: Date | moment.Moment;
|
|
1205
|
+
timezone?: string;
|
|
1206
|
+
spaceId?: number;
|
|
1207
|
+
percentage?: number;
|
|
1208
|
+
status?: string;
|
|
1209
|
+
originalSessionId?: number;
|
|
1210
|
+
isFinal?: boolean;
|
|
1211
|
+
concurrent?: number;
|
|
1212
|
+
deletedAt?: Date;
|
|
1213
|
+
publicNotes?: string;
|
|
1214
|
+
slotType?: SlotTypeEnum;
|
|
1204
1215
|
}
|
|
1205
1216
|
export declare class Connection extends BondBaseEntity {
|
|
1206
1217
|
connType: number | null;
|
|
@@ -1214,17 +1225,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1214
1225
|
userCreatorId: number | null;
|
|
1215
1226
|
ownerId: number | null;
|
|
1216
1227
|
}
|
|
1217
|
-
export declare class Address extends BondBaseEntity {
|
|
1218
|
-
city?: string;
|
|
1219
|
-
street?: string;
|
|
1220
|
-
streetNum?: string;
|
|
1221
|
-
aptNum?: string;
|
|
1222
|
-
zip?: string;
|
|
1223
|
-
country?: string;
|
|
1224
|
-
state?: string;
|
|
1225
|
-
geo: any;
|
|
1226
|
-
deletedAt?: Date;
|
|
1227
|
-
}
|
|
1228
1228
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1229
1229
|
creditAmount: number;
|
|
1230
1230
|
paymentProcessorId: string;
|
|
@@ -1245,14 +1245,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1245
1245
|
invoice: Invoice;
|
|
1246
1246
|
payment: Payment;
|
|
1247
1247
|
}
|
|
1248
|
-
export declare class Division extends BondBaseEntity {
|
|
1249
|
-
name: string;
|
|
1250
|
-
ordinal?: number;
|
|
1251
|
-
programSeasonId: number;
|
|
1252
|
-
color: string;
|
|
1253
|
-
isDefault: boolean;
|
|
1254
|
-
groups: Group[];
|
|
1255
|
-
}
|
|
1256
1248
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1257
1249
|
customerId?: number;
|
|
1258
1250
|
description: string;
|
|
@@ -1287,6 +1279,14 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1287
1279
|
mainMedia: Media;
|
|
1288
1280
|
reservations?: Reservation[];
|
|
1289
1281
|
}
|
|
1282
|
+
export declare class Division extends BondBaseEntity {
|
|
1283
|
+
name: string;
|
|
1284
|
+
ordinal?: number;
|
|
1285
|
+
programSeasonId: number;
|
|
1286
|
+
color: string;
|
|
1287
|
+
isDefault: boolean;
|
|
1288
|
+
groups: Group[];
|
|
1289
|
+
}
|
|
1290
1290
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1291
1291
|
customerId: number;
|
|
1292
1292
|
name: string | null;
|
|
@@ -1296,6 +1296,21 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1296
1296
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1297
1297
|
name: string | null;
|
|
1298
1298
|
}
|
|
1299
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1300
|
+
status: RequestStatusEnum | null;
|
|
1301
|
+
hasPaid: boolean | null;
|
|
1302
|
+
paymentId: number | null;
|
|
1303
|
+
attendeeId: number;
|
|
1304
|
+
eventId?: number | null;
|
|
1305
|
+
productUserId?: number;
|
|
1306
|
+
answerTitleIds?: number[];
|
|
1307
|
+
entryStatus?: EntryStatusEnum;
|
|
1308
|
+
addonProductUserIds?: number[];
|
|
1309
|
+
deletedAt?: Date;
|
|
1310
|
+
attendee: User;
|
|
1311
|
+
event: Event;
|
|
1312
|
+
purchasedResource: PurchasedResource;
|
|
1313
|
+
}
|
|
1299
1314
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1300
1315
|
groupId: number;
|
|
1301
1316
|
terms: IEntitlementTerms[];
|
|
@@ -1358,21 +1373,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1358
1373
|
session?: ProgramSeason;
|
|
1359
1374
|
segment?: ProgramSeason;
|
|
1360
1375
|
}
|
|
1361
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1362
|
-
status: RequestStatusEnum | null;
|
|
1363
|
-
hasPaid: boolean | null;
|
|
1364
|
-
paymentId: number | null;
|
|
1365
|
-
attendeeId: number;
|
|
1366
|
-
eventId?: number | null;
|
|
1367
|
-
productUserId?: number;
|
|
1368
|
-
answerTitleIds?: number[];
|
|
1369
|
-
entryStatus?: EntryStatusEnum;
|
|
1370
|
-
addonProductUserIds?: number[];
|
|
1371
|
-
deletedAt?: Date;
|
|
1372
|
-
attendee: User;
|
|
1373
|
-
event: Event;
|
|
1374
|
-
purchasedResource: PurchasedResource;
|
|
1375
|
-
}
|
|
1376
1376
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1377
1377
|
name: string;
|
|
1378
1378
|
description?: string;
|
|
@@ -1401,6 +1401,10 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1401
1401
|
facilityId: number;
|
|
1402
1402
|
resourceId: number;
|
|
1403
1403
|
}
|
|
1404
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1405
|
+
name: string | null;
|
|
1406
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1407
|
+
}
|
|
1404
1408
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1405
1409
|
userId: number;
|
|
1406
1410
|
invoiceId: number;
|
|
@@ -1444,30 +1448,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1444
1448
|
discountMethod?: DiscountMethodsEnum;
|
|
1445
1449
|
discountValue?: number;
|
|
1446
1450
|
}
|
|
1447
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1448
|
-
name: string | null;
|
|
1449
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1450
|
-
}
|
|
1451
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1452
|
-
email: string;
|
|
1453
|
-
status: EEmailStatus;
|
|
1454
|
-
templateId: string;
|
|
1455
|
-
userId: number;
|
|
1456
|
-
invoiceId: number;
|
|
1457
|
-
paymentId: number;
|
|
1458
|
-
sendingUserId: number;
|
|
1459
|
-
mailParams?: any;
|
|
1460
|
-
memo?: string;
|
|
1461
|
-
}
|
|
1462
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1463
|
-
content: string;
|
|
1464
|
-
creatingUserId: number;
|
|
1465
|
-
user: User;
|
|
1466
|
-
isPublic: boolean;
|
|
1467
|
-
deletedAt: Date;
|
|
1468
|
-
invoiceId: number;
|
|
1469
|
-
invoice: Invoice;
|
|
1470
|
-
}
|
|
1471
1451
|
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1472
1452
|
groupId: number;
|
|
1473
1453
|
divisionId: number;
|
|
@@ -1497,6 +1477,15 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1497
1477
|
invoiceNotes: InvoiceNote[];
|
|
1498
1478
|
slots: Slot[];
|
|
1499
1479
|
}
|
|
1480
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1481
|
+
content: string;
|
|
1482
|
+
creatingUserId: number;
|
|
1483
|
+
user: User;
|
|
1484
|
+
isPublic: boolean;
|
|
1485
|
+
deletedAt: Date;
|
|
1486
|
+
invoiceId: number;
|
|
1487
|
+
invoice: Invoice;
|
|
1488
|
+
}
|
|
1500
1489
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1501
1490
|
invoiceId: number;
|
|
1502
1491
|
paymentId: number;
|
|
@@ -1505,41 +1494,16 @@ export declare class InvoiceToPayment extends BondBaseEntity {
|
|
|
1505
1494
|
paidAmount?: number;
|
|
1506
1495
|
currency: CurrencyEnum;
|
|
1507
1496
|
}
|
|
1508
|
-
export declare class
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
shortDescription: string | null;
|
|
1514
|
-
waiverDoc: string | null;
|
|
1515
|
-
bookingStateStatus: number | null;
|
|
1516
|
-
timezone: string | null;
|
|
1517
|
-
shortUrl: string | null;
|
|
1518
|
-
leagueType: string | null;
|
|
1519
|
-
addressId: number | null;
|
|
1520
|
-
sportConfigData: any | null;
|
|
1521
|
-
creatorId: number | null;
|
|
1522
|
-
creatorType: string | null;
|
|
1523
|
-
userCreatorId: number | null;
|
|
1524
|
-
ownerId: number | null;
|
|
1525
|
-
sports: number[] | null;
|
|
1526
|
-
mainMediaId: number | null;
|
|
1527
|
-
publishedDate: Date | null;
|
|
1528
|
-
isPublished: boolean | null;
|
|
1529
|
-
isVerified: boolean | null;
|
|
1530
|
-
questionnaireId: number | null;
|
|
1531
|
-
logo?: Media;
|
|
1532
|
-
seasons: LeagueSeason[];
|
|
1533
|
-
}
|
|
1534
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1497
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1498
|
+
email: string;
|
|
1499
|
+
status: EEmailStatus;
|
|
1500
|
+
templateId: string;
|
|
1501
|
+
userId: number;
|
|
1535
1502
|
invoiceId: number;
|
|
1536
1503
|
paymentId: number;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
currency: CurrencyEnum;
|
|
1541
|
-
payment: Payment;
|
|
1542
|
-
lineItem: LineItems;
|
|
1504
|
+
sendingUserId: number;
|
|
1505
|
+
mailParams?: any;
|
|
1506
|
+
memo?: string;
|
|
1543
1507
|
}
|
|
1544
1508
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1545
1509
|
leagueId: number | null;
|
|
@@ -1585,16 +1549,68 @@ export declare class LeagueSeasonRelations {
|
|
|
1585
1549
|
league?: boolean;
|
|
1586
1550
|
facilities?: boolean;
|
|
1587
1551
|
}
|
|
1588
|
-
export declare class
|
|
1589
|
-
constructor();
|
|
1590
|
-
defineIsReverted(): void;
|
|
1591
|
-
isReverted: boolean;
|
|
1552
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1592
1553
|
invoiceId: number;
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1554
|
+
paymentId: number;
|
|
1555
|
+
lineItemId: number;
|
|
1556
|
+
paidAmount: number;
|
|
1557
|
+
unitPaidAmount: number;
|
|
1558
|
+
currency: CurrencyEnum;
|
|
1559
|
+
payment: Payment;
|
|
1560
|
+
lineItem: LineItems;
|
|
1561
|
+
}
|
|
1562
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1563
|
+
name: string | null;
|
|
1564
|
+
description: string | null;
|
|
1565
|
+
allowBookingRequest: boolean | null;
|
|
1566
|
+
addressName: string | null;
|
|
1567
|
+
shortDescription: string | null;
|
|
1568
|
+
waiverDoc: string | null;
|
|
1569
|
+
bookingStateStatus: number | null;
|
|
1570
|
+
timezone: string | null;
|
|
1571
|
+
shortUrl: string | null;
|
|
1572
|
+
leagueType: string | null;
|
|
1573
|
+
addressId: number | null;
|
|
1574
|
+
sportConfigData: any | null;
|
|
1575
|
+
creatorId: number | null;
|
|
1576
|
+
creatorType: string | null;
|
|
1577
|
+
userCreatorId: number | null;
|
|
1578
|
+
ownerId: number | null;
|
|
1579
|
+
sports: number[] | null;
|
|
1580
|
+
mainMediaId: number | null;
|
|
1581
|
+
publishedDate: Date | null;
|
|
1582
|
+
isPublished: boolean | null;
|
|
1583
|
+
isVerified: boolean | null;
|
|
1584
|
+
questionnaireId: number | null;
|
|
1585
|
+
logo?: Media;
|
|
1586
|
+
seasons: LeagueSeason[];
|
|
1587
|
+
}
|
|
1588
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1589
|
+
id: number;
|
|
1590
|
+
provider: string;
|
|
1591
|
+
providerId: string | null;
|
|
1592
|
+
parentId: number | null;
|
|
1593
|
+
parentType: string | null;
|
|
1594
|
+
status: number | null;
|
|
1595
|
+
token: string | null;
|
|
1596
|
+
refreshToken: string | null;
|
|
1597
|
+
tokenCreatedAt: Date | null;
|
|
1598
|
+
tokenValidUpTo: Date | null;
|
|
1599
|
+
createdAt: Date;
|
|
1600
|
+
updatedAt: Date;
|
|
1601
|
+
user: User;
|
|
1602
|
+
userId: number | null;
|
|
1603
|
+
}
|
|
1604
|
+
export declare class LineItems extends BondBaseEntity {
|
|
1605
|
+
constructor();
|
|
1606
|
+
defineIsReverted(): void;
|
|
1607
|
+
isReverted: boolean;
|
|
1608
|
+
invoiceId: number;
|
|
1609
|
+
invoice: Invoice;
|
|
1610
|
+
lineItemsHistory: LineItemHistory[];
|
|
1611
|
+
type: LineItemsStatusEnum | null;
|
|
1612
|
+
userId: number | null;
|
|
1613
|
+
productId: number;
|
|
1598
1614
|
paymentProcessorId: string;
|
|
1599
1615
|
productType: ProductTypesEnum;
|
|
1600
1616
|
productUserId?: number;
|
|
@@ -1640,22 +1656,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1640
1656
|
displayUnitPrice?: number;
|
|
1641
1657
|
displayQuantity?: number;
|
|
1642
1658
|
}
|
|
1643
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1644
|
-
id: number;
|
|
1645
|
-
provider: string;
|
|
1646
|
-
providerId: string | null;
|
|
1647
|
-
parentId: number | null;
|
|
1648
|
-
parentType: string | null;
|
|
1649
|
-
status: number | null;
|
|
1650
|
-
token: string | null;
|
|
1651
|
-
refreshToken: string | null;
|
|
1652
|
-
tokenCreatedAt: Date | null;
|
|
1653
|
-
tokenValidUpTo: Date | null;
|
|
1654
|
-
createdAt: Date;
|
|
1655
|
-
updatedAt: Date;
|
|
1656
|
-
user: User;
|
|
1657
|
-
userId: number | null;
|
|
1658
|
-
}
|
|
1659
1659
|
export declare class Media extends BondBaseEntity {
|
|
1660
1660
|
url: string;
|
|
1661
1661
|
name: string | null;
|
|
@@ -1703,23 +1703,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1703
1703
|
isAutoRenew?: boolean;
|
|
1704
1704
|
purchasedResources: PurchasedResource[];
|
|
1705
1705
|
}
|
|
1706
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1707
|
-
email: string | null;
|
|
1708
|
-
notificationType: NotificationTypeEnum | null;
|
|
1709
|
-
resourceId: number | null;
|
|
1710
|
-
resourceType: string | null;
|
|
1711
|
-
}
|
|
1712
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1713
|
-
id: number;
|
|
1714
|
-
dayOfWeek: number;
|
|
1715
|
-
open: string;
|
|
1716
|
-
close: string;
|
|
1717
|
-
facilityId: number;
|
|
1718
|
-
createdAt: Date;
|
|
1719
|
-
updatedAt: Date;
|
|
1720
|
-
deletedAt?: Date;
|
|
1721
|
-
facility: Facility;
|
|
1722
|
-
}
|
|
1723
1706
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1724
1707
|
membership: Membership;
|
|
1725
1708
|
membershipId: number;
|
|
@@ -1740,6 +1723,26 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1740
1723
|
cancellationStatus?: CancellationStatusEnum;
|
|
1741
1724
|
isImported?: boolean;
|
|
1742
1725
|
}
|
|
1726
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1727
|
+
email: string | null;
|
|
1728
|
+
notificationType: NotificationTypeEnum | null;
|
|
1729
|
+
resourceId: number | null;
|
|
1730
|
+
resourceType: string | null;
|
|
1731
|
+
}
|
|
1732
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1733
|
+
id: number;
|
|
1734
|
+
dayOfWeek: number;
|
|
1735
|
+
open: string;
|
|
1736
|
+
close: string;
|
|
1737
|
+
facilityId: number;
|
|
1738
|
+
createdAt: Date;
|
|
1739
|
+
updatedAt: Date;
|
|
1740
|
+
deletedAt?: Date;
|
|
1741
|
+
facility: Facility;
|
|
1742
|
+
}
|
|
1743
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1744
|
+
organizationId: number;
|
|
1745
|
+
}
|
|
1743
1746
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1744
1747
|
name?: string;
|
|
1745
1748
|
description?: string;
|
|
@@ -1757,6 +1760,39 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1757
1760
|
isMandatory: boolean;
|
|
1758
1761
|
productId: number;
|
|
1759
1762
|
}
|
|
1763
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1764
|
+
token: string | null;
|
|
1765
|
+
userId: number | null;
|
|
1766
|
+
validUntil: Date | null;
|
|
1767
|
+
active: boolean | null;
|
|
1768
|
+
}
|
|
1769
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1770
|
+
price: number;
|
|
1771
|
+
paymentProcessorId: string;
|
|
1772
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1773
|
+
paymentStatus: PaymentStatusEnum;
|
|
1774
|
+
bondFee?: number;
|
|
1775
|
+
stripeFee?: number;
|
|
1776
|
+
currency: CurrencyEnum;
|
|
1777
|
+
payingUserId?: number;
|
|
1778
|
+
paymentMethodId?: string;
|
|
1779
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1780
|
+
fundLeft: number;
|
|
1781
|
+
notes?: string;
|
|
1782
|
+
isRefunded: boolean;
|
|
1783
|
+
lineItemHistory: LineItemHistory[];
|
|
1784
|
+
receiptUrl?: string;
|
|
1785
|
+
paymentProcessorTransactionId?: string;
|
|
1786
|
+
creatingUserId: number;
|
|
1787
|
+
shiftId: number;
|
|
1788
|
+
platform: PlatformsEnum;
|
|
1789
|
+
ccLast4: string;
|
|
1790
|
+
ccBrand: string;
|
|
1791
|
+
paymentNotes: PaymentNote[];
|
|
1792
|
+
parentInvoiceId?: number;
|
|
1793
|
+
refundReasonId?: number;
|
|
1794
|
+
refundNote?: string;
|
|
1795
|
+
}
|
|
1760
1796
|
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1761
1797
|
failureIndex: number;
|
|
1762
1798
|
waitingDays: number;
|
|
@@ -1776,14 +1812,11 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1776
1812
|
paymentId: number;
|
|
1777
1813
|
payment: Payment;
|
|
1778
1814
|
}
|
|
1779
|
-
export declare class
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
userId: number | null;
|
|
1785
|
-
validUntil: Date | null;
|
|
1786
|
-
active: boolean | null;
|
|
1815
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1816
|
+
paymentPlanId: number;
|
|
1817
|
+
paymentDate: Date;
|
|
1818
|
+
deletedAt?: Date;
|
|
1819
|
+
paymentPlan: ProductPaymentPlan;
|
|
1787
1820
|
}
|
|
1788
1821
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1789
1822
|
userId: number | null;
|
|
@@ -1803,11 +1836,20 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1803
1836
|
installmentId: number | null;
|
|
1804
1837
|
invoiceId: string | null;
|
|
1805
1838
|
}
|
|
1806
|
-
export declare class
|
|
1807
|
-
|
|
1808
|
-
|
|
1839
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1840
|
+
parentProductId: number;
|
|
1841
|
+
childProductId: number;
|
|
1842
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1843
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1809
1844
|
deletedAt?: Date;
|
|
1810
|
-
|
|
1845
|
+
productResource: ProductResource;
|
|
1846
|
+
childProduct: Product;
|
|
1847
|
+
parentProduct: Product;
|
|
1848
|
+
price: number;
|
|
1849
|
+
isFlatPrice: boolean;
|
|
1850
|
+
durationMinutes?: number;
|
|
1851
|
+
durationDays?: number;
|
|
1852
|
+
level?: ProductPackageLevelEnum;
|
|
1811
1853
|
}
|
|
1812
1854
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1813
1855
|
productId: number;
|
|
@@ -1876,48 +1918,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1876
1918
|
activityTimes: ActivityTimes[];
|
|
1877
1919
|
purchasedResources: PurchasedResource[];
|
|
1878
1920
|
}
|
|
1879
|
-
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1880
|
-
price: number;
|
|
1881
|
-
paymentProcessorId: string;
|
|
1882
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1883
|
-
paymentStatus: PaymentStatusEnum;
|
|
1884
|
-
bondFee?: number;
|
|
1885
|
-
stripeFee?: number;
|
|
1886
|
-
currency: CurrencyEnum;
|
|
1887
|
-
payingUserId?: number;
|
|
1888
|
-
paymentMethodId?: string;
|
|
1889
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1890
|
-
fundLeft: number;
|
|
1891
|
-
notes?: string;
|
|
1892
|
-
isRefunded: boolean;
|
|
1893
|
-
lineItemHistory: LineItemHistory[];
|
|
1894
|
-
receiptUrl?: string;
|
|
1895
|
-
paymentProcessorTransactionId?: string;
|
|
1896
|
-
creatingUserId: number;
|
|
1897
|
-
shiftId: number;
|
|
1898
|
-
platform: PlatformsEnum;
|
|
1899
|
-
ccLast4: string;
|
|
1900
|
-
ccBrand: string;
|
|
1901
|
-
paymentNotes: PaymentNote[];
|
|
1902
|
-
parentInvoiceId?: number;
|
|
1903
|
-
refundReasonId?: number;
|
|
1904
|
-
refundNote?: string;
|
|
1905
|
-
}
|
|
1906
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1907
|
-
parentProductId: number;
|
|
1908
|
-
childProductId: number;
|
|
1909
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1910
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1911
|
-
deletedAt?: Date;
|
|
1912
|
-
productResource: ProductResource;
|
|
1913
|
-
childProduct: Product;
|
|
1914
|
-
parentProduct: Product;
|
|
1915
|
-
price: number;
|
|
1916
|
-
isFlatPrice: boolean;
|
|
1917
|
-
durationMinutes?: number;
|
|
1918
|
-
durationDays?: number;
|
|
1919
|
-
level?: ProductPackageLevelEnum;
|
|
1920
|
-
}
|
|
1921
1921
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1922
1922
|
productId: number;
|
|
1923
1923
|
maxMonths?: number;
|
|
@@ -1942,10 +1942,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1942
1942
|
productId: number;
|
|
1943
1943
|
variantTitleId: number;
|
|
1944
1944
|
}
|
|
1945
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1946
|
-
productId: number;
|
|
1947
|
-
variantId: number;
|
|
1948
|
-
}
|
|
1949
1945
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1950
1946
|
productId: number;
|
|
1951
1947
|
customerId: number;
|
|
@@ -1953,6 +1949,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1953
1949
|
deletedAt?: Date;
|
|
1954
1950
|
product: Product;
|
|
1955
1951
|
}
|
|
1952
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1953
|
+
productId: number;
|
|
1954
|
+
userId: number;
|
|
1955
|
+
user?: User;
|
|
1956
|
+
paymentStatus: PaymentStatusEnum;
|
|
1957
|
+
productName: string;
|
|
1958
|
+
productPrice: number;
|
|
1959
|
+
productQuantity: number;
|
|
1960
|
+
productQuantityLeft: number;
|
|
1961
|
+
productPriceCurrency: CurrencyEnum;
|
|
1962
|
+
ordinal?: number;
|
|
1963
|
+
purchasedResources: PurchasedResource[];
|
|
1964
|
+
product: Product;
|
|
1965
|
+
lineItem: LineItems;
|
|
1966
|
+
slots?: Slot[];
|
|
1967
|
+
addons?: Addon[];
|
|
1968
|
+
}
|
|
1956
1969
|
export declare class Program extends BondBaseEntity {
|
|
1957
1970
|
type: ProgramTypesEnum;
|
|
1958
1971
|
name: string;
|
|
@@ -1975,6 +1988,18 @@ export declare class Program extends BondBaseEntity {
|
|
|
1975
1988
|
programSeason: ProgramSeason[];
|
|
1976
1989
|
purchasedResources: PurchasedResource[];
|
|
1977
1990
|
}
|
|
1991
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1992
|
+
productId: number;
|
|
1993
|
+
variantId: number;
|
|
1994
|
+
}
|
|
1995
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1996
|
+
type: ProgramHighlightTypeEnum;
|
|
1997
|
+
ordinal: number | null;
|
|
1998
|
+
title: string | null;
|
|
1999
|
+
data: any | null;
|
|
2000
|
+
program: Program;
|
|
2001
|
+
deletedAt?: Date;
|
|
2002
|
+
}
|
|
1978
2003
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1979
2004
|
programId: number;
|
|
1980
2005
|
name: string;
|
|
@@ -2030,22 +2055,9 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2030
2055
|
facility: Facility;
|
|
2031
2056
|
purchasedResources: PurchasedResource[];
|
|
2032
2057
|
}
|
|
2033
|
-
export declare class
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
user?: User;
|
|
2037
|
-
paymentStatus: PaymentStatusEnum;
|
|
2038
|
-
productName: string;
|
|
2039
|
-
productPrice: number;
|
|
2040
|
-
productQuantity: number;
|
|
2041
|
-
productQuantityLeft: number;
|
|
2042
|
-
productPriceCurrency: CurrencyEnum;
|
|
2043
|
-
ordinal?: number;
|
|
2044
|
-
purchasedResources: PurchasedResource[];
|
|
2045
|
-
product: Product;
|
|
2046
|
-
lineItem: LineItems;
|
|
2047
|
-
slots?: Slot[];
|
|
2048
|
-
addons?: Addon[];
|
|
2058
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2059
|
+
title: string | null;
|
|
2060
|
+
answerTitle: AnswerTitle;
|
|
2049
2061
|
}
|
|
2050
2062
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2051
2063
|
productUserId: number;
|
|
@@ -2069,18 +2081,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2069
2081
|
product?: Product;
|
|
2070
2082
|
event?: Event;
|
|
2071
2083
|
}
|
|
2072
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2073
|
-
title: string | null;
|
|
2074
|
-
answerTitle: AnswerTitle;
|
|
2075
|
-
}
|
|
2076
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2077
|
-
type: ProgramHighlightTypeEnum;
|
|
2078
|
-
ordinal: number | null;
|
|
2079
|
-
title: string | null;
|
|
2080
|
-
data: any | null;
|
|
2081
|
-
program: Program;
|
|
2082
|
-
deletedAt?: Date;
|
|
2083
|
-
}
|
|
2084
2084
|
export declare class Questions extends BondBaseEntity {
|
|
2085
2085
|
questionType: string | null;
|
|
2086
2086
|
ordinal: number | null;
|
|
@@ -2100,6 +2100,17 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
|
2100
2100
|
ordinal: number;
|
|
2101
2101
|
deletedAt: Date;
|
|
2102
2102
|
}
|
|
2103
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2104
|
+
resourceType: ResourceNameTypeEnum;
|
|
2105
|
+
resourceId: number;
|
|
2106
|
+
openNumDays?: number;
|
|
2107
|
+
openNumMinutes?: number;
|
|
2108
|
+
openTime?: string;
|
|
2109
|
+
closeNumDays?: number;
|
|
2110
|
+
closeNumMinutes?: number;
|
|
2111
|
+
closeTime?: string;
|
|
2112
|
+
deletedAt?: Date;
|
|
2113
|
+
}
|
|
2103
2114
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2104
2115
|
name?: string;
|
|
2105
2116
|
description?: string;
|
|
@@ -2132,28 +2143,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2132
2143
|
publicNotes?: string;
|
|
2133
2144
|
slots?: Slot[];
|
|
2134
2145
|
}
|
|
2135
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2136
|
-
status: RequestStatusEnum;
|
|
2137
|
-
paymentStatus: PaymentStatusEnum;
|
|
2138
|
-
paymentId?: number;
|
|
2139
|
-
productId?: number;
|
|
2140
|
-
attendeeId: number;
|
|
2141
|
-
attendee: User;
|
|
2142
|
-
seasonId: number;
|
|
2143
|
-
season: ProgramSeason;
|
|
2144
|
-
productUserId?: number;
|
|
2145
|
-
answerTitleIds?: number[];
|
|
2146
|
-
deletedAt?: Date;
|
|
2147
|
-
purchasedResource: PurchasedResource;
|
|
2148
|
-
}
|
|
2149
|
-
export declare class School extends BondBaseEntity {
|
|
2150
|
-
name: string | null;
|
|
2151
|
-
alias: string[] | null;
|
|
2152
|
-
addressId: number | null;
|
|
2153
|
-
website: string | null;
|
|
2154
|
-
phone: string | null;
|
|
2155
|
-
dataId: number | null;
|
|
2156
|
-
}
|
|
2157
2146
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2158
2147
|
name: string;
|
|
2159
2148
|
resourceType: ResourceTypeEnum;
|
|
@@ -2182,6 +2171,41 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2182
2171
|
purchasedResources: PurchasedResource[];
|
|
2183
2172
|
linkSEO: string;
|
|
2184
2173
|
}
|
|
2174
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2175
|
+
name: string;
|
|
2176
|
+
facilityId: number;
|
|
2177
|
+
parentSlotId: number;
|
|
2178
|
+
childrenSlotIds: number[];
|
|
2179
|
+
deletedAt?: Date;
|
|
2180
|
+
}
|
|
2181
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2182
|
+
status: RequestStatusEnum;
|
|
2183
|
+
paymentStatus: PaymentStatusEnum;
|
|
2184
|
+
paymentId?: number;
|
|
2185
|
+
productId?: number;
|
|
2186
|
+
attendeeId: number;
|
|
2187
|
+
attendee: User;
|
|
2188
|
+
seasonId: number;
|
|
2189
|
+
season: ProgramSeason;
|
|
2190
|
+
productUserId?: number;
|
|
2191
|
+
answerTitleIds?: number[];
|
|
2192
|
+
deletedAt?: Date;
|
|
2193
|
+
purchasedResource: PurchasedResource;
|
|
2194
|
+
}
|
|
2195
|
+
export declare class School extends BondBaseEntity {
|
|
2196
|
+
name: string | null;
|
|
2197
|
+
alias: string[] | null;
|
|
2198
|
+
addressId: number | null;
|
|
2199
|
+
website: string | null;
|
|
2200
|
+
phone: string | null;
|
|
2201
|
+
dataId: number | null;
|
|
2202
|
+
}
|
|
2203
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2204
|
+
name: string | null;
|
|
2205
|
+
ordinal: number | null;
|
|
2206
|
+
seasonId: number | null;
|
|
2207
|
+
color: string | null;
|
|
2208
|
+
}
|
|
2185
2209
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2186
2210
|
seasonId?: number;
|
|
2187
2211
|
userId?: number;
|
|
@@ -2197,12 +2221,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2197
2221
|
purchasedResource: PurchasedResource;
|
|
2198
2222
|
season: LeagueSeason;
|
|
2199
2223
|
}
|
|
2200
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2201
|
-
name: string | null;
|
|
2202
|
-
ordinal: number | null;
|
|
2203
|
-
seasonId: number | null;
|
|
2204
|
-
color: string | null;
|
|
2205
|
-
}
|
|
2206
2224
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2207
2225
|
seasonId: number | null;
|
|
2208
2226
|
teamId: number | null;
|
|
@@ -2213,6 +2231,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2213
2231
|
metaData: any | null;
|
|
2214
2232
|
team: Team;
|
|
2215
2233
|
}
|
|
2234
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2235
|
+
blockingSpaceId: number;
|
|
2236
|
+
blockedSpaceId: number;
|
|
2237
|
+
}
|
|
2216
2238
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2217
2239
|
name: string;
|
|
2218
2240
|
facilityId: number;
|
|
@@ -2224,21 +2246,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2224
2246
|
subcategories: Subcategory[];
|
|
2225
2247
|
shifts?: Shift[];
|
|
2226
2248
|
}
|
|
2227
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2228
|
-
resourceType: ResourceNameTypeEnum;
|
|
2229
|
-
resourceId: number;
|
|
2230
|
-
openNumDays?: number;
|
|
2231
|
-
openNumMinutes?: number;
|
|
2232
|
-
openTime?: string;
|
|
2233
|
-
closeNumDays?: number;
|
|
2234
|
-
closeNumMinutes?: number;
|
|
2235
|
-
closeTime?: string;
|
|
2236
|
-
deletedAt?: Date;
|
|
2237
|
-
}
|
|
2238
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2239
|
-
blockingSpaceId: number;
|
|
2240
|
-
blockedSpaceId: number;
|
|
2241
|
-
}
|
|
2242
2249
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2243
2250
|
stationId: number;
|
|
2244
2251
|
subcategoryId: number;
|
|
@@ -2247,13 +2254,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2247
2254
|
station: Station;
|
|
2248
2255
|
subcategory: Subcategory;
|
|
2249
2256
|
}
|
|
2250
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2251
|
-
name: string;
|
|
2252
|
-
facilityId: number;
|
|
2253
|
-
parentSlotId: number;
|
|
2254
|
-
childrenSlotIds: number[];
|
|
2255
|
-
deletedAt?: Date;
|
|
2256
|
-
}
|
|
2257
2257
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2258
2258
|
productType: ProductTypesEnum;
|
|
2259
2259
|
name: string;
|
|
@@ -2262,6 +2262,15 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2262
2262
|
stationToSubcategories: StationToSubcategory[];
|
|
2263
2263
|
stations: Station[];
|
|
2264
2264
|
}
|
|
2265
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2266
|
+
email: string;
|
|
2267
|
+
teamId: number;
|
|
2268
|
+
invitedUserId?: number;
|
|
2269
|
+
userCreatorId: number;
|
|
2270
|
+
token: string;
|
|
2271
|
+
tokenExpirationDate: Date;
|
|
2272
|
+
isUsed: boolean;
|
|
2273
|
+
}
|
|
2265
2274
|
export declare class Team extends BondBaseEntity {
|
|
2266
2275
|
name: string | null;
|
|
2267
2276
|
description: string | null;
|
|
@@ -2296,15 +2305,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2296
2305
|
gender: number | null;
|
|
2297
2306
|
questionnaireId: number | null;
|
|
2298
2307
|
}
|
|
2299
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2300
|
-
email: string;
|
|
2301
|
-
teamId: number;
|
|
2302
|
-
invitedUserId?: number;
|
|
2303
|
-
userCreatorId: number;
|
|
2304
|
-
token: string;
|
|
2305
|
-
tokenExpirationDate: Date;
|
|
2306
|
-
isUsed: boolean;
|
|
2307
|
-
}
|
|
2308
2308
|
export declare class TeamMember extends BondBaseEntity {
|
|
2309
2309
|
teamId: number | null;
|
|
2310
2310
|
userId: number | null;
|
|
@@ -2353,12 +2353,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2353
2353
|
invoiceNotes: InvoiceNote[];
|
|
2354
2354
|
paymentNotes: PaymentNote[];
|
|
2355
2355
|
}
|
|
2356
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2357
|
-
entityId: number | null;
|
|
2358
|
-
userId: number | null;
|
|
2359
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2360
|
-
user: User;
|
|
2361
|
-
}
|
|
2362
2356
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2363
2357
|
familyAccountId: number;
|
|
2364
2358
|
userId: number;
|
|
@@ -2367,6 +2361,12 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2367
2361
|
familyAccount: FamilyAccount;
|
|
2368
2362
|
deletedAt?: Date;
|
|
2369
2363
|
}
|
|
2364
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2365
|
+
entityId: number | null;
|
|
2366
|
+
userId: number | null;
|
|
2367
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2368
|
+
user: User;
|
|
2369
|
+
}
|
|
2370
2370
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2371
2371
|
userId: number;
|
|
2372
2372
|
failCount: number;
|
|
@@ -2375,6 +2375,11 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2375
2375
|
paymentMethodId: string;
|
|
2376
2376
|
nextAllowedChargeDate?: Date;
|
|
2377
2377
|
}
|
|
2378
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2379
|
+
groupId: number;
|
|
2380
|
+
userId: number;
|
|
2381
|
+
deletedAt?: Date;
|
|
2382
|
+
}
|
|
2378
2383
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2379
2384
|
name: string;
|
|
2380
2385
|
variants: Variant[];
|
|
@@ -2393,11 +2398,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2393
2398
|
membershipCollectionId?: string;
|
|
2394
2399
|
programsCollectionId?: string;
|
|
2395
2400
|
}
|
|
2396
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2397
|
-
groupId: number;
|
|
2398
|
-
userId: number;
|
|
2399
|
-
deletedAt?: Date;
|
|
2400
|
-
}
|
|
2401
2401
|
export declare enum EntitlementTermsTypesEnum {
|
|
2402
2402
|
QUESTION = "question",
|
|
2403
2403
|
CITY = "city",
|
|
@@ -3303,11 +3303,6 @@ export interface IReservationCreatorData {
|
|
|
3303
3303
|
endDate: string;
|
|
3304
3304
|
sportId: number;
|
|
3305
3305
|
}
|
|
3306
|
-
export declare class ColumnNumericTransformer {
|
|
3307
|
-
to(data: number): number;
|
|
3308
|
-
from(data: string): number;
|
|
3309
|
-
}
|
|
3310
|
-
export declare function convertToNumber(data: string): number;
|
|
3311
3306
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3312
3307
|
name?: string;
|
|
3313
3308
|
genderStr?: string;
|
|
@@ -3322,41 +3317,12 @@ export declare class AddFamilyDto {
|
|
|
3322
3317
|
parents: AddImportedCustomerDto[];
|
|
3323
3318
|
children: AddImportedCustomerDto[];
|
|
3324
3319
|
}
|
|
3325
|
-
export declare
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
OTHER = "other",
|
|
3332
|
-
GIFT_CARD = "gift-card"
|
|
3333
|
-
}
|
|
3334
|
-
export declare class ImportedInvoiceLineDto {
|
|
3335
|
-
invoiceID?: string;
|
|
3336
|
-
description: string;
|
|
3337
|
-
createdDate: string;
|
|
3338
|
-
createdTime: string;
|
|
3339
|
-
quantity: string;
|
|
3340
|
-
price: string;
|
|
3341
|
-
total: string;
|
|
3342
|
-
customerID: string;
|
|
3343
|
-
resourceType: string;
|
|
3344
|
-
resourceID: string;
|
|
3345
|
-
}
|
|
3346
|
-
export declare class ImportedInvoiceDto {
|
|
3347
|
-
customerId?: string;
|
|
3348
|
-
total?: string;
|
|
3349
|
-
amountDue?: string;
|
|
3350
|
-
payments?: ImportedPaymentDto[];
|
|
3351
|
-
lines: any;
|
|
3352
|
-
}
|
|
3353
|
-
export declare class ImportedPaymentDto {
|
|
3354
|
-
invoiceID: string;
|
|
3355
|
-
type: ImportPaymentTypeEnum;
|
|
3356
|
-
description: string;
|
|
3357
|
-
paid: string;
|
|
3358
|
-
date: string;
|
|
3359
|
-
time: string;
|
|
3320
|
+
export declare class PunchPassDto {
|
|
3321
|
+
CustomerID: string;
|
|
3322
|
+
QuantityLeft: number;
|
|
3323
|
+
BondProgramID: number;
|
|
3324
|
+
BondSessionID: number;
|
|
3325
|
+
ProductID: number;
|
|
3360
3326
|
}
|
|
3361
3327
|
export declare class ProductIdsDto {
|
|
3362
3328
|
productIds?: number[];
|
|
@@ -3367,15 +3333,6 @@ export declare class ProductImportDto {
|
|
|
3367
3333
|
resourceIds: number[];
|
|
3368
3334
|
oldId: number;
|
|
3369
3335
|
}
|
|
3370
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3371
|
-
matchId: number | null;
|
|
3372
|
-
ordinal: number | null;
|
|
3373
|
-
outcomeOrdinal: number | null;
|
|
3374
|
-
resultMetaData: any | null;
|
|
3375
|
-
points: number | null;
|
|
3376
|
-
score: number | null;
|
|
3377
|
-
gameSlotId: number | null;
|
|
3378
|
-
}
|
|
3379
3336
|
export declare class ImportedSlotProductDto {
|
|
3380
3337
|
slotID?: string;
|
|
3381
3338
|
name?: string;
|
|
@@ -3431,29 +3388,78 @@ export declare class GameSlots extends BondBaseEntity {
|
|
|
3431
3388
|
entityType: string;
|
|
3432
3389
|
entityId: number;
|
|
3433
3390
|
}
|
|
3434
|
-
export declare
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
divisionId?: number;
|
|
3443
|
-
name: string;
|
|
3391
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3392
|
+
CREDIT_CARD = "card",
|
|
3393
|
+
ACH = "ach",
|
|
3394
|
+
CASH = "cash",
|
|
3395
|
+
CHECK = "check",
|
|
3396
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3397
|
+
OTHER = "other",
|
|
3398
|
+
GIFT_CARD = "gift-card"
|
|
3444
3399
|
}
|
|
3445
|
-
export declare class
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3400
|
+
export declare class ImportedInvoiceLineDto {
|
|
3401
|
+
invoiceID?: string;
|
|
3402
|
+
description: string;
|
|
3403
|
+
createdDate: string;
|
|
3404
|
+
createdTime: string;
|
|
3405
|
+
quantity: string;
|
|
3406
|
+
price: string;
|
|
3407
|
+
total: string;
|
|
3408
|
+
customerID: string;
|
|
3409
|
+
resourceType: string;
|
|
3410
|
+
resourceID: string;
|
|
3411
|
+
}
|
|
3412
|
+
export declare class ImportedInvoiceDto {
|
|
3413
|
+
customerId?: string;
|
|
3414
|
+
total?: string;
|
|
3415
|
+
amountDue?: string;
|
|
3416
|
+
payments?: ImportedPaymentDto[];
|
|
3417
|
+
lines: any;
|
|
3418
|
+
}
|
|
3419
|
+
export declare class ImportedPaymentDto {
|
|
3420
|
+
invoiceID: string;
|
|
3421
|
+
type: ImportPaymentTypeEnum;
|
|
3422
|
+
description: string;
|
|
3423
|
+
paid: string;
|
|
3424
|
+
date: string;
|
|
3425
|
+
time: string;
|
|
3426
|
+
}
|
|
3427
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3428
|
+
matchId: number | null;
|
|
3429
|
+
ordinal: number | null;
|
|
3430
|
+
outcomeOrdinal: number | null;
|
|
3431
|
+
resultMetaData: any | null;
|
|
3432
|
+
points: number | null;
|
|
3433
|
+
score: number | null;
|
|
3434
|
+
gameSlotId: number | null;
|
|
3435
|
+
}
|
|
3436
|
+
export declare class Matches extends BondBaseEntity {
|
|
3437
|
+
eventId: number | null;
|
|
3438
|
+
status: number | null;
|
|
3439
|
+
excludeStandings: boolean | null;
|
|
3440
|
+
}
|
|
3441
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3442
|
+
roundId: number;
|
|
3443
|
+
eventId: number;
|
|
3444
|
+
seriesId: number | null;
|
|
3445
|
+
createdAt: Date;
|
|
3446
|
+
updatedAt: Date;
|
|
3447
|
+
}
|
|
3448
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3449
|
+
seasonId: number;
|
|
3450
|
+
ordinal?: number;
|
|
3451
|
+
divisionId?: number;
|
|
3452
|
+
name: string;
|
|
3451
3453
|
}
|
|
3452
3454
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3453
3455
|
teamId: number | null;
|
|
3454
3456
|
eventId: number | null;
|
|
3455
3457
|
status: number | null;
|
|
3456
3458
|
}
|
|
3459
|
+
export declare class Lock extends BondBaseEntity {
|
|
3460
|
+
name: string;
|
|
3461
|
+
locked?: Date;
|
|
3462
|
+
}
|
|
3457
3463
|
export interface ValidatedMonthAndDay {
|
|
3458
3464
|
valid: boolean;
|
|
3459
3465
|
month?: number;
|
|
@@ -3463,17 +3469,11 @@ export interface ValidationReason {
|
|
|
3463
3469
|
valid: boolean;
|
|
3464
3470
|
reason?: string;
|
|
3465
3471
|
}
|
|
3466
|
-
export declare class
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
}
|
|
3470
|
-
export declare class PunchPassDto {
|
|
3471
|
-
CustomerID: string;
|
|
3472
|
-
QuantityLeft: number;
|
|
3473
|
-
BondProgramID: number;
|
|
3474
|
-
BondSessionID: number;
|
|
3475
|
-
ProductID: number;
|
|
3472
|
+
export declare class ColumnNumericTransformer {
|
|
3473
|
+
to(data: number): number;
|
|
3474
|
+
from(data: string): number;
|
|
3476
3475
|
}
|
|
3476
|
+
export declare function convertToNumber(data: string): number;
|
|
3477
3477
|
export declare class CreateMonitorConfigDto {
|
|
3478
3478
|
facilityId: number;
|
|
3479
3479
|
name: string;
|
|
@@ -3492,11 +3492,6 @@ export interface PaymentStatusesDict {
|
|
|
3492
3492
|
export interface PaymentStatusDict {
|
|
3493
3493
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3494
3494
|
}
|
|
3495
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3496
|
-
facilityId: number;
|
|
3497
|
-
code: string;
|
|
3498
|
-
config?: any;
|
|
3499
|
-
}
|
|
3500
3495
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3501
3496
|
userId: number;
|
|
3502
3497
|
organizationId: number;
|
|
@@ -3504,6 +3499,11 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3504
3499
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3505
3500
|
destination: string;
|
|
3506
3501
|
}
|
|
3502
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3503
|
+
facilityId: number;
|
|
3504
|
+
code: string;
|
|
3505
|
+
config?: any;
|
|
3506
|
+
}
|
|
3507
3507
|
export declare class ByOrganizationIdDto {
|
|
3508
3508
|
organizationId: number;
|
|
3509
3509
|
}
|
|
@@ -3577,19 +3577,67 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3577
3577
|
brandings: OrganizationBranding[];
|
|
3578
3578
|
brandingsV2?: OrganizationBranding[];
|
|
3579
3579
|
}
|
|
3580
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3581
|
-
mainAdminUserId?: number;
|
|
3582
|
-
}
|
|
3583
3580
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3584
3581
|
key?: string;
|
|
3585
3582
|
vaule?: string;
|
|
3586
3583
|
version: number;
|
|
3587
3584
|
organization: Organization;
|
|
3588
3585
|
}
|
|
3586
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3587
|
+
mainAdminUserId?: number;
|
|
3588
|
+
}
|
|
3589
3589
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3590
3590
|
organisationId: number | null;
|
|
3591
3591
|
userId: number | null;
|
|
3592
3592
|
}
|
|
3593
|
+
export declare class RefundDto {
|
|
3594
|
+
invoiceId: number;
|
|
3595
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3596
|
+
refundLineItemAmountDict?: {
|
|
3597
|
+
[id: number]: number;
|
|
3598
|
+
};
|
|
3599
|
+
refunds: PaymentMethodDto[];
|
|
3600
|
+
refundType: RefundTypeEnum;
|
|
3601
|
+
reasonId: number;
|
|
3602
|
+
note?: string;
|
|
3603
|
+
shiftId?: number;
|
|
3604
|
+
meta?: RevertMetaDto;
|
|
3605
|
+
}
|
|
3606
|
+
export declare class PaymentMethodDto {
|
|
3607
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3608
|
+
amount: number;
|
|
3609
|
+
paymentMethodId?: string;
|
|
3610
|
+
}
|
|
3611
|
+
export declare class RefundLineItemAmountDto {
|
|
3612
|
+
id: number;
|
|
3613
|
+
refundAmount: number;
|
|
3614
|
+
}
|
|
3615
|
+
export interface UnallocatedEventsFilters {
|
|
3616
|
+
programsIds?: number[];
|
|
3617
|
+
sessionsIds?: number[];
|
|
3618
|
+
segmentsIds?: number[];
|
|
3619
|
+
durations?: Duration[];
|
|
3620
|
+
daysOfWeek?: number[];
|
|
3621
|
+
}
|
|
3622
|
+
export interface Duration {
|
|
3623
|
+
startDate: string;
|
|
3624
|
+
endDate: string;
|
|
3625
|
+
}
|
|
3626
|
+
export interface IUnallocatedEventRes {
|
|
3627
|
+
id: number;
|
|
3628
|
+
title: string;
|
|
3629
|
+
sports: number[];
|
|
3630
|
+
startDate: string;
|
|
3631
|
+
startDateString: string;
|
|
3632
|
+
startTime: string;
|
|
3633
|
+
endDate: string;
|
|
3634
|
+
endDateString: string;
|
|
3635
|
+
endTime: string;
|
|
3636
|
+
timezone: string;
|
|
3637
|
+
}
|
|
3638
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3639
|
+
data: IUnallocatedEventRes[];
|
|
3640
|
+
}
|
|
3593
3641
|
export declare class CustomerIdDto {
|
|
3594
3642
|
customerId: number;
|
|
3595
3643
|
}
|
|
@@ -3712,53 +3760,15 @@ export declare class SendRequestDto {
|
|
|
3712
3760
|
sendToEmail: string;
|
|
3713
3761
|
memo?: string;
|
|
3714
3762
|
}
|
|
3715
|
-
export
|
|
3716
|
-
|
|
3717
|
-
sessionsIds?: number[];
|
|
3718
|
-
segmentsIds?: number[];
|
|
3719
|
-
durations?: Duration[];
|
|
3720
|
-
daysOfWeek?: number[];
|
|
3721
|
-
}
|
|
3722
|
-
export interface Duration {
|
|
3723
|
-
startDate: string;
|
|
3724
|
-
endDate: string;
|
|
3725
|
-
}
|
|
3726
|
-
export interface IUnallocatedEventRes {
|
|
3727
|
-
id: number;
|
|
3728
|
-
title: string;
|
|
3729
|
-
sports: number[];
|
|
3730
|
-
startDate: string;
|
|
3731
|
-
startDateString: string;
|
|
3732
|
-
startTime: string;
|
|
3733
|
-
endDate: string;
|
|
3734
|
-
endDateString: string;
|
|
3735
|
-
endTime: string;
|
|
3736
|
-
timezone: string;
|
|
3737
|
-
}
|
|
3738
|
-
export interface IUnallocatedEventsIdsRes {
|
|
3739
|
-
data: IUnallocatedEventRes[];
|
|
3740
|
-
}
|
|
3741
|
-
export declare class RefundDto {
|
|
3742
|
-
invoiceId: number;
|
|
3743
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3744
|
-
refundLineItemAmountDict?: {
|
|
3745
|
-
[id: number]: number;
|
|
3746
|
-
};
|
|
3747
|
-
refunds: PaymentMethodDto[];
|
|
3748
|
-
refundType: RefundTypeEnum;
|
|
3749
|
-
reasonId: number;
|
|
3750
|
-
note?: string;
|
|
3751
|
-
shiftId?: number;
|
|
3763
|
+
export declare class VoidDto {
|
|
3764
|
+
lineItems: VoidLineItemDto[];
|
|
3752
3765
|
meta?: RevertMetaDto;
|
|
3753
3766
|
}
|
|
3754
|
-
export declare class
|
|
3755
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3756
|
-
amount: number;
|
|
3757
|
-
paymentMethodId?: string;
|
|
3758
|
-
}
|
|
3759
|
-
export declare class RefundLineItemAmountDto {
|
|
3767
|
+
export declare class VoidLineItemDto {
|
|
3760
3768
|
id: number;
|
|
3761
|
-
|
|
3769
|
+
quantity?: number;
|
|
3770
|
+
isEdit?: boolean;
|
|
3771
|
+
amount?: number;
|
|
3762
3772
|
}
|
|
3763
3773
|
export interface PaymentResult {
|
|
3764
3774
|
paymentMethodId: string;
|
|
@@ -3795,54 +3805,97 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3795
3805
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3796
3806
|
totalAmountProcessed: number;
|
|
3797
3807
|
}
|
|
3798
|
-
export declare class
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3808
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3809
|
+
name?: string;
|
|
3810
|
+
description?: string;
|
|
3811
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3812
|
+
privacySetting?: string;
|
|
3813
|
+
reservationType?: ReservationTypeEnum;
|
|
3814
|
+
invoiceId?: string;
|
|
3815
|
+
customerId?: number;
|
|
3816
|
+
customer?: Customer;
|
|
3817
|
+
price?: number;
|
|
3818
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3819
|
+
startTime?: string;
|
|
3820
|
+
startDate?: Date;
|
|
3821
|
+
endDate?: Date;
|
|
3822
|
+
creatorId?: number;
|
|
3823
|
+
creatorType?: ResourceNameTypeEnum;
|
|
3824
|
+
userCreatorId?: number;
|
|
3825
|
+
sportType?: number;
|
|
3826
|
+
deletedAt?: Date;
|
|
3827
|
+
publicNotes?: string;
|
|
3828
|
+
privateNotes?: string;
|
|
3829
|
+
forms?: number[] | null;
|
|
3830
|
+
answerTitleIds?: number[] | null;
|
|
3831
|
+
segments?: Segment[];
|
|
3832
|
+
migrationStatus?: string;
|
|
3833
|
+
addons: Addon[];
|
|
3834
|
+
overrideProductsPrice: {
|
|
3835
|
+
productId: number;
|
|
3836
|
+
price: number;
|
|
3837
|
+
}[];
|
|
3838
|
+
targetGlobalPrice?: number;
|
|
3839
|
+
slots: Slot[];
|
|
3813
3840
|
}
|
|
3814
|
-
export declare class
|
|
3815
|
-
name: string;
|
|
3841
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3816
3842
|
deletedAt?: Date;
|
|
3817
|
-
|
|
3818
|
-
|
|
3843
|
+
reservationId: number;
|
|
3844
|
+
invoiceId: number;
|
|
3845
|
+
slotId: number;
|
|
3819
3846
|
}
|
|
3820
|
-
export declare class
|
|
3847
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3848
|
+
parentId: number;
|
|
3849
|
+
parentType: AddonParentTypeEnum;
|
|
3821
3850
|
productId: number;
|
|
3822
|
-
id?: number;
|
|
3823
|
-
unitPrice?: number;
|
|
3824
|
-
quantity?: number;
|
|
3825
|
-
totalPrice?: number;
|
|
3826
3851
|
product?: Product;
|
|
3827
|
-
parentProduct?: Product;
|
|
3828
|
-
displayTotalWithTax?: number;
|
|
3829
|
-
displayTotalPrice?: number;
|
|
3830
|
-
displayUnitTax?: number;
|
|
3831
|
-
}
|
|
3832
|
-
export declare class AddAddonsDto {
|
|
3833
|
-
addons: AddonDto[];
|
|
3834
|
-
}
|
|
3835
|
-
export declare class EditAddonsDto {
|
|
3836
|
-
addons: EditAddonDto[];
|
|
3837
|
-
}
|
|
3838
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3839
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3840
|
-
}
|
|
3841
|
-
export declare class EditAddonDto {
|
|
3842
|
-
id: number;
|
|
3843
3852
|
quantity: number;
|
|
3853
|
+
unitPrice: number;
|
|
3844
3854
|
totalPrice: number;
|
|
3845
|
-
|
|
3855
|
+
approvalStatus: ReservationStatusEnum;
|
|
3856
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3857
|
+
level?: ProductPackageLevelEnum;
|
|
3858
|
+
resourceId?: number;
|
|
3859
|
+
resource?: Resource;
|
|
3860
|
+
invoiceId?: number;
|
|
3861
|
+
invoice?: Invoice;
|
|
3862
|
+
productUserId?: number;
|
|
3863
|
+
productUser?: ProductsUsers;
|
|
3864
|
+
previousProductUsersIds?: number[];
|
|
3865
|
+
previousProductUsers?: ProductsUsers[];
|
|
3866
|
+
}
|
|
3867
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3868
|
+
deletedAt?: Date;
|
|
3869
|
+
reservationId: number;
|
|
3870
|
+
title: string;
|
|
3871
|
+
isPrivate: boolean;
|
|
3872
|
+
resourceIds?: number[];
|
|
3873
|
+
sportId: number;
|
|
3874
|
+
reservation?: Reservation;
|
|
3875
|
+
series?: Series[];
|
|
3876
|
+
addonIds?: number[] | null;
|
|
3877
|
+
publicNotesForSlots?: string;
|
|
3878
|
+
privateNotesForSlots?: string;
|
|
3879
|
+
slots?: Slot[];
|
|
3880
|
+
}
|
|
3881
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
3882
|
+
deletedAt?: Date;
|
|
3883
|
+
segmentId: number;
|
|
3884
|
+
segment?: Segment;
|
|
3885
|
+
slots?: Slot[];
|
|
3886
|
+
slotDurationType: string;
|
|
3887
|
+
durationEndsAfter: number;
|
|
3888
|
+
durationUnit: string;
|
|
3889
|
+
startDate?: Date;
|
|
3890
|
+
endDate?: Date;
|
|
3891
|
+
startTime: string;
|
|
3892
|
+
endTime: string;
|
|
3893
|
+
frequency: string;
|
|
3894
|
+
repeatEvery: number;
|
|
3895
|
+
repeatOn?: number[];
|
|
3896
|
+
repeatEndDate?: Date;
|
|
3897
|
+
numberOccurrences?: number;
|
|
3898
|
+
resources?: Resource[];
|
|
3846
3899
|
}
|
|
3847
3900
|
export declare class InvoiceDto {
|
|
3848
3901
|
invoiceId?: string | null;
|
|
@@ -3885,12 +3938,99 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3885
3938
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3886
3939
|
segments: SegmentDto[];
|
|
3887
3940
|
}
|
|
3888
|
-
export declare class
|
|
3941
|
+
export declare class AddonDto {
|
|
3942
|
+
productId: number;
|
|
3943
|
+
id?: number;
|
|
3944
|
+
unitPrice?: number;
|
|
3945
|
+
quantity?: number;
|
|
3946
|
+
totalPrice?: number;
|
|
3947
|
+
product?: Product;
|
|
3948
|
+
parentProduct?: Product;
|
|
3949
|
+
displayTotalWithTax?: number;
|
|
3950
|
+
displayTotalPrice?: number;
|
|
3951
|
+
displayUnitTax?: number;
|
|
3952
|
+
}
|
|
3953
|
+
export declare class AddAddonsDto {
|
|
3954
|
+
addons: AddonDto[];
|
|
3955
|
+
}
|
|
3956
|
+
export declare class EditAddonsDto {
|
|
3957
|
+
addons: EditAddonDto[];
|
|
3958
|
+
}
|
|
3959
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3960
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3961
|
+
}
|
|
3962
|
+
export declare class EditAddonDto {
|
|
3963
|
+
id: number;
|
|
3964
|
+
quantity: number;
|
|
3965
|
+
totalPrice: number;
|
|
3966
|
+
unitPrice?: number;
|
|
3967
|
+
}
|
|
3968
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3969
|
+
constructor();
|
|
3970
|
+
defineIsReverted(): void;
|
|
3971
|
+
isReverted: boolean;
|
|
3972
|
+
reservationId: number;
|
|
3973
|
+
reservation: Reservation;
|
|
3974
|
+
title?: string;
|
|
3975
|
+
creatorId?: number;
|
|
3976
|
+
creatorType?: string;
|
|
3977
|
+
userCreatorId?: number;
|
|
3978
|
+
startDate: Date;
|
|
3979
|
+
endDate: Date;
|
|
3980
|
+
startTime: string;
|
|
3981
|
+
endTime: string;
|
|
3982
|
+
timezone?: string;
|
|
3983
|
+
spaceId?: number;
|
|
3984
|
+
resource?: Resource;
|
|
3889
3985
|
deletedAt?: Date;
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3986
|
+
publicNotes?: string;
|
|
3987
|
+
privateNotes?: string;
|
|
3988
|
+
slotType: SlotTypeEnum;
|
|
3989
|
+
productsUserId?: number;
|
|
3990
|
+
productUser?: ProductsUsers;
|
|
3991
|
+
product?: Product;
|
|
3992
|
+
addons: Addon[];
|
|
3993
|
+
addonsProductUserIds?: number[] | null;
|
|
3994
|
+
addonsMetadata: AddonMetadata[];
|
|
3995
|
+
segmentId: number;
|
|
3996
|
+
segment: Segment;
|
|
3997
|
+
eventId: number;
|
|
3998
|
+
event: Event;
|
|
3999
|
+
sportIds: number[];
|
|
4000
|
+
parentSlotId?: number;
|
|
4001
|
+
parent?: Slot;
|
|
4002
|
+
children?: Slot[];
|
|
4003
|
+
maintenanceDurationdurationType: string;
|
|
4004
|
+
maintenanceTiming: number;
|
|
4005
|
+
durationValue: number;
|
|
4006
|
+
seriesId?: number;
|
|
4007
|
+
series?: Series;
|
|
4008
|
+
invoiceId?: number;
|
|
4009
|
+
invoice?: Invoice;
|
|
4010
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4011
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4012
|
+
displayName?: string;
|
|
4013
|
+
internalName?: string;
|
|
4014
|
+
activityTypes?: number[] | null;
|
|
4015
|
+
hourlyRate: number;
|
|
4016
|
+
totalPrice: number;
|
|
4017
|
+
isConsumerVisible: boolean;
|
|
4018
|
+
isMonitorVisible: boolean;
|
|
4019
|
+
isPrivate: boolean;
|
|
4020
|
+
occurrence?: number;
|
|
4021
|
+
maintenance?: Slot[];
|
|
4022
|
+
productMetadata: {
|
|
4023
|
+
productId: number;
|
|
4024
|
+
price: number;
|
|
4025
|
+
};
|
|
4026
|
+
slotDurationType: string;
|
|
4027
|
+
previousProductUsersIds?: number[];
|
|
4028
|
+
previousProductUsers?: ProductsUsers[];
|
|
4029
|
+
changeLineItemIds?: number[];
|
|
4030
|
+
changeLineItems?: LineItems[];
|
|
4031
|
+
updatedLineItem?: LineItems;
|
|
4032
|
+
conflictsCount?: number;
|
|
4033
|
+
conflicts?: Slot[];
|
|
3894
4034
|
}
|
|
3895
4035
|
export declare class LineItemDto {
|
|
3896
4036
|
id?: number;
|
|
@@ -3924,83 +4064,14 @@ export declare class MaintenanceDto {
|
|
|
3924
4064
|
durationValue: number;
|
|
3925
4065
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3926
4066
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3927
|
-
}
|
|
3928
|
-
export declare class
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
export declare class PurchasedResourceDto {
|
|
3933
|
-
resourceId?: number;
|
|
3934
|
-
resourceType: ResourceNameTypeEnum;
|
|
3935
|
-
startDate?: string;
|
|
3936
|
-
startTime?: string;
|
|
3937
|
-
endDate?: string;
|
|
3938
|
-
endTime?: string;
|
|
3939
|
-
}
|
|
3940
|
-
export declare class SegmentDto {
|
|
3941
|
-
id?: number;
|
|
3942
|
-
title: string;
|
|
3943
|
-
isPrivate: boolean;
|
|
3944
|
-
resourceIds: number[];
|
|
3945
|
-
sportId?: number;
|
|
3946
|
-
series: SeriesDto[];
|
|
3947
|
-
addonIds?: number[];
|
|
3948
|
-
publicNotesForSlots?: string;
|
|
3949
|
-
privateNotesForSlots?: string;
|
|
3950
|
-
}
|
|
3951
|
-
declare class AnswerDto {
|
|
3952
|
-
questionId: number;
|
|
3953
|
-
value: any;
|
|
3954
|
-
}
|
|
3955
|
-
export declare class BookedSessionDto {
|
|
3956
|
-
startDate: string;
|
|
3957
|
-
endDate: string;
|
|
3958
|
-
timezone: string;
|
|
3959
|
-
spaceId: number;
|
|
3960
|
-
}
|
|
3961
|
-
declare class AddonV1Dto {
|
|
3962
|
-
resourcePackageId: number;
|
|
3963
|
-
resourcePackageAmount: number;
|
|
3964
|
-
resourcePackagePrice: number;
|
|
3965
|
-
}
|
|
3966
|
-
export declare class ReservationV1Dto {
|
|
3967
|
-
organizationId: number;
|
|
3968
|
-
name: string;
|
|
3969
|
-
dayOfWeek: number;
|
|
3970
|
-
startTime: string;
|
|
3971
|
-
description: string;
|
|
3972
|
-
sport: number;
|
|
3973
|
-
price: number;
|
|
3974
|
-
resourcePackageId: number;
|
|
3975
|
-
resourcePackageAmount: number;
|
|
3976
|
-
bookedSessions: BookedSessionDto[];
|
|
3977
|
-
addons: AddonV1Dto[];
|
|
3978
|
-
}
|
|
3979
|
-
export declare class BookingV1Dto {
|
|
3980
|
-
organizationId: number;
|
|
3981
|
-
reservations: ReservationV1Dto[];
|
|
3982
|
-
answers: AnswerDto[];
|
|
3983
|
-
paymentData: PurchasePaymentDto;
|
|
3984
|
-
skipPayment: boolean;
|
|
3985
|
-
cashPayment: boolean;
|
|
3986
|
-
requestOnly: boolean;
|
|
3987
|
-
}
|
|
3988
|
-
export declare class SeriesDto {
|
|
3989
|
-
id?: number;
|
|
3990
|
-
startDate: string;
|
|
4067
|
+
}
|
|
4068
|
+
export declare class PurchasedResourceDto {
|
|
4069
|
+
resourceId?: number;
|
|
4070
|
+
resourceType: ResourceNameTypeEnum;
|
|
4071
|
+
startDate?: string;
|
|
3991
4072
|
startTime?: string;
|
|
3992
4073
|
endDate?: string;
|
|
3993
4074
|
endTime?: string;
|
|
3994
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3995
|
-
durationEndsAfter?: number;
|
|
3996
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3997
|
-
frequency: FrequencyEnum;
|
|
3998
|
-
repeatEvery?: number;
|
|
3999
|
-
repeatOn?: number[];
|
|
4000
|
-
repeatEndDate?: string;
|
|
4001
|
-
numberOccurrences?: number;
|
|
4002
|
-
maintenance?: MaintenanceDto[];
|
|
4003
|
-
slots?: SlotDto[];
|
|
4004
4075
|
}
|
|
4005
4076
|
export declare class ReservationDto {
|
|
4006
4077
|
id?: number;
|
|
@@ -4154,91 +4225,33 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4154
4225
|
updateAddons?: boolean;
|
|
4155
4226
|
updateMaintenance?: boolean;
|
|
4156
4227
|
}
|
|
4157
|
-
export declare class
|
|
4158
|
-
|
|
4159
|
-
description?: string;
|
|
4160
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4161
|
-
privacySetting?: string;
|
|
4162
|
-
reservationType?: ReservationTypeEnum;
|
|
4163
|
-
invoiceId?: string;
|
|
4164
|
-
customerId?: number;
|
|
4165
|
-
customer?: Customer;
|
|
4166
|
-
price?: number;
|
|
4167
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4168
|
-
startTime?: string;
|
|
4169
|
-
startDate?: Date;
|
|
4170
|
-
endDate?: Date;
|
|
4171
|
-
creatorId?: number;
|
|
4172
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4173
|
-
userCreatorId?: number;
|
|
4174
|
-
sportType?: number;
|
|
4175
|
-
deletedAt?: Date;
|
|
4176
|
-
publicNotes?: string;
|
|
4177
|
-
privateNotes?: string;
|
|
4178
|
-
forms?: number[] | null;
|
|
4179
|
-
answerTitleIds?: number[] | null;
|
|
4180
|
-
segments?: Segment[];
|
|
4181
|
-
migrationStatus?: string;
|
|
4182
|
-
addons: Addon[];
|
|
4183
|
-
overrideProductsPrice: {
|
|
4184
|
-
productId: number;
|
|
4185
|
-
price: number;
|
|
4186
|
-
}[];
|
|
4187
|
-
targetGlobalPrice?: number;
|
|
4188
|
-
slots: Slot[];
|
|
4189
|
-
}
|
|
4190
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4191
|
-
deletedAt?: Date;
|
|
4192
|
-
reservationId: number;
|
|
4228
|
+
export declare class SegmentDto {
|
|
4229
|
+
id?: number;
|
|
4193
4230
|
title: string;
|
|
4194
4231
|
isPrivate: boolean;
|
|
4195
|
-
resourceIds
|
|
4196
|
-
sportId
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
addonIds?: number[] | null;
|
|
4232
|
+
resourceIds: number[];
|
|
4233
|
+
sportId?: number;
|
|
4234
|
+
series: SeriesDto[];
|
|
4235
|
+
addonIds?: number[];
|
|
4200
4236
|
publicNotesForSlots?: string;
|
|
4201
4237
|
privateNotesForSlots?: string;
|
|
4202
|
-
slots?: Slot[];
|
|
4203
4238
|
}
|
|
4204
|
-
export declare class
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
endTime: string;
|
|
4216
|
-
frequency: string;
|
|
4217
|
-
repeatEvery: number;
|
|
4239
|
+
export declare class SeriesDto {
|
|
4240
|
+
id?: number;
|
|
4241
|
+
startDate: string;
|
|
4242
|
+
startTime?: string;
|
|
4243
|
+
endDate?: string;
|
|
4244
|
+
endTime?: string;
|
|
4245
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4246
|
+
durationEndsAfter?: number;
|
|
4247
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4248
|
+
frequency: FrequencyEnum;
|
|
4249
|
+
repeatEvery?: number;
|
|
4218
4250
|
repeatOn?: number[];
|
|
4219
|
-
repeatEndDate?:
|
|
4251
|
+
repeatEndDate?: string;
|
|
4220
4252
|
numberOccurrences?: number;
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4224
|
-
parentId: number;
|
|
4225
|
-
parentType: AddonParentTypeEnum;
|
|
4226
|
-
productId: number;
|
|
4227
|
-
product?: Product;
|
|
4228
|
-
quantity: number;
|
|
4229
|
-
unitPrice: number;
|
|
4230
|
-
totalPrice: number;
|
|
4231
|
-
approvalStatus: ReservationStatusEnum;
|
|
4232
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4233
|
-
level?: ProductPackageLevelEnum;
|
|
4234
|
-
resourceId?: number;
|
|
4235
|
-
resource?: Resource;
|
|
4236
|
-
invoiceId?: number;
|
|
4237
|
-
invoice?: Invoice;
|
|
4238
|
-
productUserId?: number;
|
|
4239
|
-
productUser?: ProductsUsers;
|
|
4240
|
-
previousProductUsersIds?: number[];
|
|
4241
|
-
previousProductUsers?: ProductsUsers[];
|
|
4253
|
+
maintenance?: MaintenanceDto[];
|
|
4254
|
+
slots?: SlotDto[];
|
|
4242
4255
|
}
|
|
4243
4256
|
export declare class SlotDateTimeAndSpace {
|
|
4244
4257
|
startDate: string;
|
|
@@ -4310,72 +4323,42 @@ export declare class TimeSlotsDto {
|
|
|
4310
4323
|
export declare class SlotsIdsDto {
|
|
4311
4324
|
slotsIds: number[];
|
|
4312
4325
|
}
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4326
|
+
declare class AnswerDto {
|
|
4327
|
+
questionId: number;
|
|
4328
|
+
value: any;
|
|
4329
|
+
}
|
|
4330
|
+
export declare class BookedSessionDto {
|
|
4331
|
+
startDate: string;
|
|
4332
|
+
endDate: string;
|
|
4333
|
+
timezone: string;
|
|
4334
|
+
spaceId: number;
|
|
4335
|
+
}
|
|
4336
|
+
declare class AddonV1Dto {
|
|
4337
|
+
resourcePackageId: number;
|
|
4338
|
+
resourcePackageAmount: number;
|
|
4339
|
+
resourcePackagePrice: number;
|
|
4340
|
+
}
|
|
4341
|
+
export declare class ReservationV1Dto {
|
|
4342
|
+
organizationId: number;
|
|
4343
|
+
name: string;
|
|
4344
|
+
dayOfWeek: number;
|
|
4325
4345
|
startTime: string;
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
eventId: number;
|
|
4343
|
-
event: Event;
|
|
4344
|
-
sportIds: number[];
|
|
4345
|
-
parentSlotId?: number;
|
|
4346
|
-
parent?: Slot;
|
|
4347
|
-
children?: Slot[];
|
|
4348
|
-
maintenanceDurationdurationType: string;
|
|
4349
|
-
maintenanceTiming: number;
|
|
4350
|
-
durationValue: number;
|
|
4351
|
-
seriesId?: number;
|
|
4352
|
-
series?: Series;
|
|
4353
|
-
invoiceId?: number;
|
|
4354
|
-
invoice?: Invoice;
|
|
4355
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4356
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4357
|
-
displayName?: string;
|
|
4358
|
-
internalName?: string;
|
|
4359
|
-
activityTypes?: number[] | null;
|
|
4360
|
-
hourlyRate: number;
|
|
4361
|
-
totalPrice: number;
|
|
4362
|
-
isConsumerVisible: boolean;
|
|
4363
|
-
isMonitorVisible: boolean;
|
|
4364
|
-
isPrivate: boolean;
|
|
4365
|
-
occurrence?: number;
|
|
4366
|
-
maintenance?: Slot[];
|
|
4367
|
-
productMetadata: {
|
|
4368
|
-
productId: number;
|
|
4369
|
-
price: number;
|
|
4370
|
-
};
|
|
4371
|
-
slotDurationType: string;
|
|
4372
|
-
previousProductUsersIds?: number[];
|
|
4373
|
-
previousProductUsers?: ProductsUsers[];
|
|
4374
|
-
changeLineItemIds?: number[];
|
|
4375
|
-
changeLineItems?: LineItems[];
|
|
4376
|
-
updatedLineItem?: LineItems;
|
|
4377
|
-
conflictsCount?: number;
|
|
4378
|
-
conflicts?: Slot[];
|
|
4346
|
+
description: string;
|
|
4347
|
+
sport: number;
|
|
4348
|
+
price: number;
|
|
4349
|
+
resourcePackageId: number;
|
|
4350
|
+
resourcePackageAmount: number;
|
|
4351
|
+
bookedSessions: BookedSessionDto[];
|
|
4352
|
+
addons: AddonV1Dto[];
|
|
4353
|
+
}
|
|
4354
|
+
export declare class BookingV1Dto {
|
|
4355
|
+
organizationId: number;
|
|
4356
|
+
reservations: ReservationV1Dto[];
|
|
4357
|
+
answers: AnswerDto[];
|
|
4358
|
+
paymentData: PurchasePaymentDto;
|
|
4359
|
+
skipPayment: boolean;
|
|
4360
|
+
cashPayment: boolean;
|
|
4361
|
+
requestOnly: boolean;
|
|
4379
4362
|
}
|
|
4380
4363
|
export declare type TSlotAndType = {
|
|
4381
4364
|
type: 'slots' | 'slot_addons';
|
|
@@ -4609,15 +4592,35 @@ export interface AddonMetadata {
|
|
|
4609
4592
|
totalPrice: number;
|
|
4610
4593
|
product?: Product;
|
|
4611
4594
|
}
|
|
4612
|
-
export declare class
|
|
4595
|
+
export declare class CreateRoleDto {
|
|
4596
|
+
name: string;
|
|
4597
|
+
}
|
|
4598
|
+
export declare class ChangeRolePermissionsDto {
|
|
4599
|
+
permissionIds: number[];
|
|
4600
|
+
}
|
|
4601
|
+
export declare class Permission extends BondBaseEntity {
|
|
4602
|
+
name: string;
|
|
4613
4603
|
deletedAt?: Date;
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4604
|
+
}
|
|
4605
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4606
|
+
name: string;
|
|
4607
|
+
deletedAt?: Date;
|
|
4608
|
+
permissions: Permission[];
|
|
4609
|
+
usersRoles: UserRole[];
|
|
4610
|
+
}
|
|
4611
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4612
|
+
deletedAt?: Date;
|
|
4613
|
+
userId: number;
|
|
4614
|
+
roleId: number;
|
|
4615
|
+
role: Role;
|
|
4616
|
+
user: User;
|
|
4617
4617
|
}
|
|
4618
4618
|
export declare class CloseShiftDto {
|
|
4619
4619
|
closingCashAmount: number;
|
|
4620
4620
|
}
|
|
4621
|
+
export declare class FindShiftsByIdsDto {
|
|
4622
|
+
shiftIds: number[];
|
|
4623
|
+
}
|
|
4621
4624
|
export declare class FindShiftsFiltersDto {
|
|
4622
4625
|
statuses?: string;
|
|
4623
4626
|
stationIds?: string;
|
|
@@ -4638,8 +4641,12 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4638
4641
|
startDate?: Date;
|
|
4639
4642
|
endDate?: Date;
|
|
4640
4643
|
}
|
|
4641
|
-
export declare class
|
|
4642
|
-
|
|
4644
|
+
export declare class ShiftManagementClosingAmount {
|
|
4645
|
+
shiftId: number;
|
|
4646
|
+
managementClosingCashAmount: number;
|
|
4647
|
+
}
|
|
4648
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4649
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4643
4650
|
}
|
|
4644
4651
|
export declare class OpenShiftDto {
|
|
4645
4652
|
openingCashAmount: number;
|
|
@@ -4674,13 +4681,6 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4674
4681
|
closingManager?: User;
|
|
4675
4682
|
reconcilingUser?: User;
|
|
4676
4683
|
}
|
|
4677
|
-
export declare class ShiftManagementClosingAmount {
|
|
4678
|
-
shiftId: number;
|
|
4679
|
-
managementClosingCashAmount: number;
|
|
4680
|
-
}
|
|
4681
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4682
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4683
|
-
}
|
|
4684
4684
|
export default interface IWebflowProgram {
|
|
4685
4685
|
name: string;
|
|
4686
4686
|
id: number;
|