@bondsports/types 0.0.38 → 0.0.39
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 +439 -439
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
close: string;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
11
|
+
}
|
|
5
12
|
export declare class QuestionAnswersDto {
|
|
6
13
|
questionId: number;
|
|
7
14
|
value: any;
|
|
@@ -20,107 +27,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
20
27
|
bookingDate: string;
|
|
21
28
|
bookingTime: string;
|
|
22
29
|
}
|
|
23
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
|
-
membershipId: number;
|
|
25
|
-
}
|
|
26
|
-
export declare class ImportProductsFromDB {
|
|
27
|
-
buDate: string;
|
|
28
|
-
}
|
|
29
|
-
export declare class ImportCustomerFromCSV {
|
|
30
|
-
fileName: string;
|
|
31
|
-
startIndex?: number;
|
|
32
|
-
}
|
|
33
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
34
|
-
resolveInvoices: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
37
|
-
membershipId: number;
|
|
38
|
-
onlyDashIds: string;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
41
|
-
facilityId: number;
|
|
42
|
-
}
|
|
43
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
44
|
-
customerId: number;
|
|
45
|
-
}
|
|
46
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
47
|
-
nameSearch?: string;
|
|
48
|
-
fuzzy?: string;
|
|
49
|
-
customerType?: CustomerTypeEnum;
|
|
50
|
-
customersIds?: string;
|
|
51
|
-
}
|
|
52
|
-
export declare class AddCustomerNotesDto {
|
|
53
|
-
customerNotes: CustomerNoteDto[];
|
|
54
|
-
}
|
|
55
|
-
export declare class CustomerNoteDto {
|
|
56
|
-
id?: number;
|
|
57
|
-
description: string;
|
|
58
|
-
pinToTop?: boolean;
|
|
59
|
-
}
|
|
60
|
-
export declare class AddEditCustomerDto {
|
|
61
|
-
firstName?: string;
|
|
62
|
-
lastName?: string;
|
|
63
|
-
entityId?: number;
|
|
64
|
-
entityType?: CustomerTypeEnum;
|
|
65
|
-
email?: string;
|
|
66
|
-
color?: string;
|
|
67
|
-
street?: string;
|
|
68
|
-
city?: string;
|
|
69
|
-
state?: string;
|
|
70
|
-
zip?: string;
|
|
71
|
-
phoneNumber?: string;
|
|
72
|
-
mainMediaId?: number;
|
|
73
|
-
creatorId?: number;
|
|
74
|
-
creatorType?: ResourceNameTypeEnum;
|
|
75
|
-
userCreatorId?: number;
|
|
76
|
-
gender?: GenderEnum;
|
|
77
|
-
birthDate?: string;
|
|
78
|
-
emergencyContactName?: string;
|
|
79
|
-
emergencyContactPhone?: string;
|
|
80
|
-
}
|
|
81
|
-
export declare class AddressDto {
|
|
82
|
-
city: string;
|
|
83
|
-
state: string;
|
|
84
|
-
country: string;
|
|
85
|
-
geo: number[];
|
|
86
|
-
}
|
|
87
|
-
export declare class OpeningTimeDto {
|
|
88
|
-
open: string;
|
|
89
|
-
close: string;
|
|
90
|
-
dayOfWeek: number;
|
|
91
|
-
}
|
|
92
|
-
export declare class CreateFacilityDto {
|
|
93
|
-
name: string;
|
|
94
|
-
sports: number[];
|
|
95
|
-
description?: string;
|
|
96
|
-
longDescription?: string;
|
|
97
|
-
info?: string;
|
|
98
|
-
address: AddressDto;
|
|
99
|
-
timezone: string;
|
|
100
|
-
amenities: number[];
|
|
101
|
-
openingTimes: OpeningTimeDto[];
|
|
102
|
-
resourcesIds?: number[];
|
|
103
|
-
}
|
|
104
|
-
export declare class UpdateFacilityDetailsDto {
|
|
105
|
-
name?: string;
|
|
106
|
-
description?: string;
|
|
107
|
-
longDescription?: string;
|
|
108
|
-
info?: string;
|
|
109
|
-
address?: AddressDto;
|
|
110
|
-
timezone?: string;
|
|
111
|
-
}
|
|
112
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
113
|
-
openingTimes: OpeningTimeDto[];
|
|
114
|
-
}
|
|
115
|
-
export declare class UpdateFacilitySportsDto {
|
|
116
|
-
sports: number[];
|
|
117
|
-
}
|
|
118
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
119
|
-
amenities: number[];
|
|
120
|
-
}
|
|
121
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
122
|
-
nameSearch?: string;
|
|
123
|
-
}
|
|
124
30
|
export declare class FindEventByIdDto {
|
|
125
31
|
eventId: number;
|
|
126
32
|
organizationId: number;
|
|
@@ -222,17 +128,48 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
222
128
|
isWaiverSigned?: string;
|
|
223
129
|
statuses?: string;
|
|
224
130
|
}
|
|
225
|
-
export declare class
|
|
226
|
-
|
|
131
|
+
export declare class AddressDto {
|
|
132
|
+
city: string;
|
|
133
|
+
state: string;
|
|
134
|
+
country: string;
|
|
135
|
+
geo: number[];
|
|
227
136
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
|
|
230
|
-
|
|
137
|
+
export declare class OpeningTimeDto {
|
|
138
|
+
open: string;
|
|
139
|
+
close: string;
|
|
140
|
+
dayOfWeek: number;
|
|
231
141
|
}
|
|
232
|
-
export declare class
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
142
|
+
export declare class CreateFacilityDto {
|
|
143
|
+
name: string;
|
|
144
|
+
sports: number[];
|
|
145
|
+
description?: string;
|
|
146
|
+
longDescription?: string;
|
|
147
|
+
info?: string;
|
|
148
|
+
address: AddressDto;
|
|
149
|
+
timezone: string;
|
|
150
|
+
amenities: number[];
|
|
151
|
+
openingTimes: OpeningTimeDto[];
|
|
152
|
+
resourcesIds?: number[];
|
|
153
|
+
}
|
|
154
|
+
export declare class UpdateFacilityDetailsDto {
|
|
155
|
+
name?: string;
|
|
156
|
+
description?: string;
|
|
157
|
+
longDescription?: string;
|
|
158
|
+
info?: string;
|
|
159
|
+
address?: AddressDto;
|
|
160
|
+
timezone?: string;
|
|
161
|
+
}
|
|
162
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
163
|
+
openingTimes: OpeningTimeDto[];
|
|
164
|
+
}
|
|
165
|
+
export declare class UpdateFacilitySportsDto {
|
|
166
|
+
sports: number[];
|
|
167
|
+
}
|
|
168
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
169
|
+
amenities: number[];
|
|
170
|
+
}
|
|
171
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
172
|
+
nameSearch?: string;
|
|
236
173
|
}
|
|
237
174
|
export declare class FindFamilyAccountsDto {
|
|
238
175
|
userId: number;
|
|
@@ -266,6 +203,18 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
266
203
|
userId: number;
|
|
267
204
|
familyAccountId: number;
|
|
268
205
|
}
|
|
206
|
+
export declare class FindOneParams {
|
|
207
|
+
id: number;
|
|
208
|
+
}
|
|
209
|
+
export declare class PaginationQuery {
|
|
210
|
+
page: number;
|
|
211
|
+
itemsPerPage: number;
|
|
212
|
+
}
|
|
213
|
+
export declare class PaginationRangeQuery {
|
|
214
|
+
startPage: number;
|
|
215
|
+
endPage: number;
|
|
216
|
+
itemsPerPage: number;
|
|
217
|
+
}
|
|
269
218
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
270
219
|
organizationId: number;
|
|
271
220
|
}
|
|
@@ -405,6 +354,64 @@ export declare class CancelMembershipDto {
|
|
|
405
354
|
isImmediatelyCancel: boolean;
|
|
406
355
|
cancellationReason?: string;
|
|
407
356
|
}
|
|
357
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
358
|
+
membershipId: number;
|
|
359
|
+
}
|
|
360
|
+
export declare class ImportProductsFromDB {
|
|
361
|
+
buDate: string;
|
|
362
|
+
}
|
|
363
|
+
export declare class ImportCustomerFromCSV {
|
|
364
|
+
fileName: string;
|
|
365
|
+
startIndex?: number;
|
|
366
|
+
}
|
|
367
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
368
|
+
resolveInvoices: string;
|
|
369
|
+
}
|
|
370
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
371
|
+
membershipId: number;
|
|
372
|
+
onlyDashIds: string;
|
|
373
|
+
}
|
|
374
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
375
|
+
facilityId: number;
|
|
376
|
+
}
|
|
377
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
378
|
+
customerId: number;
|
|
379
|
+
}
|
|
380
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
381
|
+
nameSearch?: string;
|
|
382
|
+
fuzzy?: string;
|
|
383
|
+
customerType?: CustomerTypeEnum;
|
|
384
|
+
customersIds?: string;
|
|
385
|
+
}
|
|
386
|
+
export declare class AddCustomerNotesDto {
|
|
387
|
+
customerNotes: CustomerNoteDto[];
|
|
388
|
+
}
|
|
389
|
+
export declare class CustomerNoteDto {
|
|
390
|
+
id?: number;
|
|
391
|
+
description: string;
|
|
392
|
+
pinToTop?: boolean;
|
|
393
|
+
}
|
|
394
|
+
export declare class AddEditCustomerDto {
|
|
395
|
+
firstName?: string;
|
|
396
|
+
lastName?: string;
|
|
397
|
+
entityId?: number;
|
|
398
|
+
entityType?: CustomerTypeEnum;
|
|
399
|
+
email?: string;
|
|
400
|
+
color?: string;
|
|
401
|
+
street?: string;
|
|
402
|
+
city?: string;
|
|
403
|
+
state?: string;
|
|
404
|
+
zip?: string;
|
|
405
|
+
phoneNumber?: string;
|
|
406
|
+
mainMediaId?: number;
|
|
407
|
+
creatorId?: number;
|
|
408
|
+
creatorType?: ResourceNameTypeEnum;
|
|
409
|
+
userCreatorId?: number;
|
|
410
|
+
gender?: GenderEnum;
|
|
411
|
+
birthDate?: string;
|
|
412
|
+
emergencyContactName?: string;
|
|
413
|
+
emergencyContactPhone?: string;
|
|
414
|
+
}
|
|
408
415
|
export declare class FindByProductIdDto {
|
|
409
416
|
productId: number;
|
|
410
417
|
}
|
|
@@ -667,24 +674,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
667
674
|
discountValue?: number;
|
|
668
675
|
discountMethod?: DiscountMethodsEnum;
|
|
669
676
|
}
|
|
670
|
-
export declare class CreateUpdateVariantsDto {
|
|
671
|
-
organizationId: number;
|
|
672
|
-
parentProductId: number;
|
|
673
|
-
variantTitles: VariantTitleDto[];
|
|
674
|
-
variants: VariantDto[];
|
|
675
|
-
}
|
|
676
|
-
export declare class VariantTitleDto {
|
|
677
|
-
titleName: string;
|
|
678
|
-
titleId: number;
|
|
679
|
-
}
|
|
680
|
-
export declare class VariantDto {
|
|
681
|
-
name: string;
|
|
682
|
-
price: number;
|
|
683
|
-
variantId: number;
|
|
684
|
-
currency: CurrencyEnum;
|
|
685
|
-
startDate: Date;
|
|
686
|
-
endDate: Date;
|
|
687
|
-
}
|
|
688
677
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
689
678
|
programId: number;
|
|
690
679
|
}
|
|
@@ -869,12 +858,30 @@ export declare class MoveParticipantDto {
|
|
|
869
858
|
resourceId: number;
|
|
870
859
|
orderId: number;
|
|
871
860
|
}
|
|
872
|
-
export declare class
|
|
861
|
+
export declare class CreateUpdateVariantsDto {
|
|
873
862
|
organizationId: number;
|
|
874
|
-
|
|
863
|
+
parentProductId: number;
|
|
864
|
+
variantTitles: VariantTitleDto[];
|
|
865
|
+
variants: VariantDto[];
|
|
875
866
|
}
|
|
876
|
-
export declare class
|
|
877
|
-
|
|
867
|
+
export declare class VariantTitleDto {
|
|
868
|
+
titleName: string;
|
|
869
|
+
titleId: number;
|
|
870
|
+
}
|
|
871
|
+
export declare class VariantDto {
|
|
872
|
+
name: string;
|
|
873
|
+
price: number;
|
|
874
|
+
variantId: number;
|
|
875
|
+
currency: CurrencyEnum;
|
|
876
|
+
startDate: Date;
|
|
877
|
+
endDate: Date;
|
|
878
|
+
}
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
+
organizationId: number;
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
882
|
+
}
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
884
|
+
programId: number;
|
|
878
885
|
}
|
|
879
886
|
export declare class FindProgramByOrgIdAndIdDto {
|
|
880
887
|
programId: number;
|
|
@@ -913,18 +920,6 @@ export declare class ProgramHighlightDto {
|
|
|
913
920
|
type: ProgramHighlightTypeEnum;
|
|
914
921
|
title: string;
|
|
915
922
|
}
|
|
916
|
-
export declare class ResourceDto {
|
|
917
|
-
type: ResourceNameTypeEnum;
|
|
918
|
-
id: number;
|
|
919
|
-
}
|
|
920
|
-
export declare class CreateResourceGroupDto {
|
|
921
|
-
name: string;
|
|
922
|
-
parentSlotId: number;
|
|
923
|
-
facilityId: number;
|
|
924
|
-
childrenSlotIds: number[];
|
|
925
|
-
}
|
|
926
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
927
|
-
}
|
|
928
923
|
export declare class PurchasePaymentDto {
|
|
929
924
|
token: string;
|
|
930
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -995,6 +990,14 @@ export declare class PartialPaymentAsUserDto {
|
|
|
995
990
|
amountToPay: any;
|
|
996
991
|
paymentMethodData: any;
|
|
997
992
|
}
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
998
|
+
}
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1000
|
+
}
|
|
998
1001
|
export declare class SpaceByIdDto {
|
|
999
1002
|
spaceId: number;
|
|
1000
1003
|
}
|
|
@@ -1051,14 +1054,16 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1051
1054
|
types?: string;
|
|
1052
1055
|
resourcesIds?: string;
|
|
1053
1056
|
}
|
|
1054
|
-
export declare class
|
|
1055
|
-
|
|
1057
|
+
export declare class ResourceDto {
|
|
1058
|
+
type: ResourceNameTypeEnum;
|
|
1059
|
+
id: number;
|
|
1056
1060
|
}
|
|
1057
|
-
export declare class
|
|
1058
|
-
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1059
1063
|
}
|
|
1060
|
-
export declare class
|
|
1061
|
-
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1062
1067
|
}
|
|
1063
1068
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1064
1069
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1073,19 +1078,14 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1073
1078
|
oldValue?: any;
|
|
1074
1079
|
newValue?: any;
|
|
1075
1080
|
}
|
|
1076
|
-
export declare class
|
|
1077
|
-
dayOfWeek: number;
|
|
1078
|
-
close: string;
|
|
1079
|
-
open: string;
|
|
1080
|
-
availabilityStartDate?: string;
|
|
1081
|
-
availabilityEndDate?: string;
|
|
1082
|
-
}
|
|
1083
|
-
export declare class StripeCustomerIdDto {
|
|
1081
|
+
export declare class FindByUserIdDto {
|
|
1084
1082
|
userId: number;
|
|
1085
1083
|
}
|
|
1086
|
-
export declare class
|
|
1087
|
-
|
|
1088
|
-
|
|
1084
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1085
|
+
familyAccountId?: number;
|
|
1086
|
+
}
|
|
1087
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1088
|
+
organizationId: number;
|
|
1089
1089
|
}
|
|
1090
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1111,17 +1111,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1111
1111
|
geo: any;
|
|
1112
1112
|
deletedAt?: Date;
|
|
1113
1113
|
}
|
|
1114
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1115
|
-
questionnaireId: number;
|
|
1116
|
-
userId?: number;
|
|
1117
|
-
answers: Answer[];
|
|
1118
|
-
questionnaire: Questionnaires;
|
|
1119
|
-
}
|
|
1120
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1121
|
-
userId: number | null;
|
|
1122
|
-
metadata: object | null;
|
|
1123
|
-
athleteSports: AthleteSports[];
|
|
1124
|
-
}
|
|
1125
1114
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1126
1115
|
questionId: number;
|
|
1127
1116
|
question?: Questions;
|
|
@@ -1135,6 +1124,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1135
1124
|
metaData: any | null;
|
|
1136
1125
|
questionText: string | null;
|
|
1137
1126
|
}
|
|
1127
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1128
|
+
questionnaireId: number;
|
|
1129
|
+
userId?: number;
|
|
1130
|
+
answers: Answer[];
|
|
1131
|
+
questionnaire: Questionnaires;
|
|
1132
|
+
}
|
|
1133
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1134
|
+
userId: number | null;
|
|
1135
|
+
metadata: object | null;
|
|
1136
|
+
athleteSports: AthleteSports[];
|
|
1137
|
+
}
|
|
1138
1138
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
1139
|
athleteId: number | null;
|
|
1140
1140
|
sports: number | null;
|
|
@@ -1148,6 +1148,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1148
1148
|
endDate: Date;
|
|
1149
1149
|
deletedAt?: Date;
|
|
1150
1150
|
}
|
|
1151
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
|
+
id: number;
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
1155
|
+
}
|
|
1151
1156
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1152
1157
|
reservationId?: number;
|
|
1153
1158
|
color?: string;
|
|
@@ -1176,11 +1181,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1176
1181
|
endTimeInDay: string;
|
|
1177
1182
|
directBookingFor: DirectBookingTypesEnum;
|
|
1178
1183
|
}
|
|
1179
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1180
|
-
id: number;
|
|
1181
|
-
createdAt: Date;
|
|
1182
|
-
updatedAt: Date;
|
|
1183
|
-
}
|
|
1184
1184
|
export declare class Configuration extends BondBaseEntity {
|
|
1185
1185
|
area: string;
|
|
1186
1186
|
key: string;
|
|
@@ -1198,6 +1198,14 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1198
1198
|
userCreatorId: number | null;
|
|
1199
1199
|
ownerId: number | null;
|
|
1200
1200
|
}
|
|
1201
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
|
+
creditAmount: number;
|
|
1203
|
+
paymentProcessorId: string;
|
|
1204
|
+
userId: number;
|
|
1205
|
+
invoiceId: number;
|
|
1206
|
+
orderId: number;
|
|
1207
|
+
creditPaymentInvoiceId: number;
|
|
1208
|
+
}
|
|
1201
1209
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1202
1210
|
name: string | null;
|
|
1203
1211
|
entityId: number | null;
|
|
@@ -1238,14 +1246,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1238
1246
|
order: Order;
|
|
1239
1247
|
invoice: Invoice;
|
|
1240
1248
|
}
|
|
1241
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1242
|
-
creditAmount: number;
|
|
1243
|
-
paymentProcessorId: string;
|
|
1244
|
-
userId: number;
|
|
1245
|
-
invoiceId: number;
|
|
1246
|
-
orderId: number;
|
|
1247
|
-
creditPaymentInvoiceId: number;
|
|
1248
|
-
}
|
|
1249
1249
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
1250
|
customerId?: number;
|
|
1251
1251
|
description: string;
|
|
@@ -1263,16 +1263,16 @@ export declare class Division extends BondBaseEntity {
|
|
|
1263
1263
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1264
1264
|
name: string | null;
|
|
1265
1265
|
}
|
|
1266
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1267
|
-
groupId: number;
|
|
1268
|
-
terms: IEntitlementTerms[];
|
|
1269
|
-
}
|
|
1270
1266
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1271
1267
|
customerId: number;
|
|
1272
1268
|
name: string | null;
|
|
1273
1269
|
phoneNumber: string | null;
|
|
1274
1270
|
customer: Customer;
|
|
1275
1271
|
}
|
|
1272
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
groupId: number;
|
|
1274
|
+
terms: IEntitlementTerms[];
|
|
1275
|
+
}
|
|
1276
1276
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
1277
|
status: RequestStatusEnum | null;
|
|
1278
1278
|
hasPaid: boolean | null;
|
|
@@ -1343,14 +1343,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1343
1343
|
slots: Slot[];
|
|
1344
1344
|
purchasedResources: PurchasedResource[];
|
|
1345
1345
|
}
|
|
1346
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1347
|
-
facilityId: number;
|
|
1348
|
-
resourceId: number;
|
|
1349
|
-
}
|
|
1350
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1351
|
-
name: string | null;
|
|
1352
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1353
|
-
}
|
|
1354
1346
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1355
1347
|
name: string;
|
|
1356
1348
|
description?: string;
|
|
@@ -1375,6 +1367,14 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1375
1367
|
programSeasons: ProgramSeason[];
|
|
1376
1368
|
linkSEO: string;
|
|
1377
1369
|
}
|
|
1370
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
|
+
facilityId: number;
|
|
1372
|
+
resourceId: number;
|
|
1373
|
+
}
|
|
1374
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
|
+
}
|
|
1378
1378
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1379
1379
|
userId: number;
|
|
1380
1380
|
orderId: number;
|
|
@@ -1388,6 +1388,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1388
1388
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
1389
|
code: string;
|
|
1390
1390
|
}
|
|
1391
|
+
export declare class Group extends BondBaseEntity {
|
|
1392
|
+
name: string;
|
|
1393
|
+
description?: string;
|
|
1394
|
+
status: GroupStatusEnum;
|
|
1395
|
+
maxCapacity?: number;
|
|
1396
|
+
mainMediaId?: number;
|
|
1397
|
+
minAgeYears?: number;
|
|
1398
|
+
maxAgeYears?: number;
|
|
1399
|
+
gender: GenderEnum;
|
|
1400
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1401
|
+
sports: SportsEnum[];
|
|
1402
|
+
questionnaires?: number[];
|
|
1403
|
+
captainUserId?: number;
|
|
1404
|
+
members: ISeasonAttendeeInfo[];
|
|
1405
|
+
users: User[];
|
|
1406
|
+
}
|
|
1391
1407
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1392
1408
|
groupId: number;
|
|
1393
1409
|
itemId: number;
|
|
@@ -1406,22 +1422,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1406
1422
|
divisionId: number;
|
|
1407
1423
|
deletedAt?: Date;
|
|
1408
1424
|
}
|
|
1409
|
-
export declare class Group extends BondBaseEntity {
|
|
1410
|
-
name: string;
|
|
1411
|
-
description?: string;
|
|
1412
|
-
status: GroupStatusEnum;
|
|
1413
|
-
maxCapacity?: number;
|
|
1414
|
-
mainMediaId?: number;
|
|
1415
|
-
minAgeYears?: number;
|
|
1416
|
-
maxAgeYears?: number;
|
|
1417
|
-
gender: GenderEnum;
|
|
1418
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1419
|
-
sports: SportsEnum[];
|
|
1420
|
-
questionnaires?: number[];
|
|
1421
|
-
captainUserId?: number;
|
|
1422
|
-
members: ISeasonAttendeeInfo[];
|
|
1423
|
-
users: User[];
|
|
1424
|
-
}
|
|
1425
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
1426
|
price: number;
|
|
1427
1427
|
paymentProcessorId: string;
|
|
@@ -1459,6 +1459,15 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1459
1459
|
mailParams?: any;
|
|
1460
1460
|
memo?: string;
|
|
1461
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
|
+
}
|
|
1462
1471
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1463
1472
|
name: string | null;
|
|
1464
1473
|
description: string | null;
|
|
@@ -1529,15 +1538,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1529
1538
|
league?: boolean;
|
|
1530
1539
|
facilities?: boolean;
|
|
1531
1540
|
}
|
|
1532
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1533
|
-
content: string;
|
|
1534
|
-
creatingUserId: number;
|
|
1535
|
-
user: User;
|
|
1536
|
-
isPublic: boolean;
|
|
1537
|
-
deletedAt: Date;
|
|
1538
|
-
invoiceId: number;
|
|
1539
|
-
invoice: Invoice;
|
|
1540
|
-
}
|
|
1541
1541
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1542
1542
|
orderId: number;
|
|
1543
1543
|
invoiceId: number;
|
|
@@ -1603,6 +1603,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1603
1603
|
displayUnitPrice?: number;
|
|
1604
1604
|
displayQuantity?: number;
|
|
1605
1605
|
}
|
|
1606
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1607
|
+
id: number;
|
|
1608
|
+
provider: string;
|
|
1609
|
+
providerId: string | null;
|
|
1610
|
+
parentId: number | null;
|
|
1611
|
+
parentType: string | null;
|
|
1612
|
+
status: number | null;
|
|
1613
|
+
token: string | null;
|
|
1614
|
+
refreshToken: string | null;
|
|
1615
|
+
tokenCreatedAt: Date | null;
|
|
1616
|
+
tokenValidUpTo: Date | null;
|
|
1617
|
+
createdAt: Date;
|
|
1618
|
+
updatedAt: Date;
|
|
1619
|
+
user: User;
|
|
1620
|
+
userId: number | null;
|
|
1621
|
+
}
|
|
1606
1622
|
export declare class Media extends BondBaseEntity {
|
|
1607
1623
|
url: string;
|
|
1608
1624
|
name: string | null;
|
|
@@ -1650,22 +1666,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1650
1666
|
isAutoRenew?: boolean;
|
|
1651
1667
|
purchasedResources: PurchasedResource[];
|
|
1652
1668
|
}
|
|
1653
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1654
|
-
id: number;
|
|
1655
|
-
provider: string;
|
|
1656
|
-
providerId: string | null;
|
|
1657
|
-
parentId: number | null;
|
|
1658
|
-
parentType: string | null;
|
|
1659
|
-
status: number | null;
|
|
1660
|
-
token: string | null;
|
|
1661
|
-
refreshToken: string | null;
|
|
1662
|
-
tokenCreatedAt: Date | null;
|
|
1663
|
-
tokenValidUpTo: Date | null;
|
|
1664
|
-
createdAt: Date;
|
|
1665
|
-
updatedAt: Date;
|
|
1666
|
-
user: User;
|
|
1667
|
-
userId: number | null;
|
|
1668
|
-
}
|
|
1669
1669
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1670
1670
|
membership: Membership;
|
|
1671
1671
|
membershipId: number;
|
|
@@ -1727,6 +1727,15 @@ export declare class Order extends BondBaseEntity {
|
|
|
1727
1727
|
orderNotes: OrderNote[];
|
|
1728
1728
|
slots: Slot[];
|
|
1729
1729
|
}
|
|
1730
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1731
|
+
content: string;
|
|
1732
|
+
creatingUserId: number;
|
|
1733
|
+
user: User;
|
|
1734
|
+
isPublic: boolean;
|
|
1735
|
+
deletedAt: Date;
|
|
1736
|
+
orderId: number;
|
|
1737
|
+
order: Order;
|
|
1738
|
+
}
|
|
1730
1739
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1731
1740
|
orderId: number;
|
|
1732
1741
|
invoiceId: number;
|
|
@@ -1738,15 +1747,6 @@ export declare class OrderToInvoice extends BondBaseEntity {
|
|
|
1738
1747
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
1748
|
organizationId: number;
|
|
1740
1749
|
}
|
|
1741
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1742
|
-
content: string;
|
|
1743
|
-
creatingUserId: number;
|
|
1744
|
-
user: User;
|
|
1745
|
-
isPublic: boolean;
|
|
1746
|
-
deletedAt: Date;
|
|
1747
|
-
orderId: number;
|
|
1748
|
-
order: Order;
|
|
1749
|
-
}
|
|
1750
1750
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1751
1751
|
name?: string;
|
|
1752
1752
|
description?: string;
|
|
@@ -1770,6 +1770,28 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1770
1770
|
validUntil: Date | null;
|
|
1771
1771
|
active: boolean | null;
|
|
1772
1772
|
}
|
|
1773
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1774
|
+
paymentPlanId: number;
|
|
1775
|
+
paymentDate: Date;
|
|
1776
|
+
deletedAt?: Date;
|
|
1777
|
+
paymentPlan: ProductPaymentPlan;
|
|
1778
|
+
}
|
|
1779
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1780
|
+
productId: number;
|
|
1781
|
+
product: Product;
|
|
1782
|
+
name: string | null;
|
|
1783
|
+
price: number;
|
|
1784
|
+
currency: CurrencyEnum;
|
|
1785
|
+
paymentProcessorId: number | null;
|
|
1786
|
+
startDate: Date;
|
|
1787
|
+
endDate: Date;
|
|
1788
|
+
groupId?: number;
|
|
1789
|
+
groupName?: string;
|
|
1790
|
+
originalPrice?: number;
|
|
1791
|
+
deletedAt?: Date;
|
|
1792
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1793
|
+
discountValue?: number;
|
|
1794
|
+
}
|
|
1773
1795
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1774
1796
|
userId: number | null;
|
|
1775
1797
|
ownerId: number | null;
|
|
@@ -1788,27 +1810,20 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1788
1810
|
installmentId: number | null;
|
|
1789
1811
|
orderId: string | null;
|
|
1790
1812
|
}
|
|
1791
|
-
export declare class
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
currency: CurrencyEnum;
|
|
1797
|
-
paymentProcessorId: number | null;
|
|
1798
|
-
startDate: Date;
|
|
1799
|
-
endDate: Date;
|
|
1800
|
-
groupId?: number;
|
|
1801
|
-
groupName?: string;
|
|
1802
|
-
originalPrice?: number;
|
|
1803
|
-
deletedAt?: Date;
|
|
1804
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1805
|
-
discountValue?: number;
|
|
1806
|
-
}
|
|
1807
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1808
|
-
paymentPlanId: number;
|
|
1809
|
-
paymentDate: Date;
|
|
1813
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1814
|
+
parentProductId: number;
|
|
1815
|
+
childProductId: number;
|
|
1816
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1817
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1810
1818
|
deletedAt?: Date;
|
|
1811
|
-
|
|
1819
|
+
productResource: ProductResource;
|
|
1820
|
+
childProduct: Product;
|
|
1821
|
+
parentProduct: Product;
|
|
1822
|
+
price: number;
|
|
1823
|
+
isFlatPrice: boolean;
|
|
1824
|
+
durationMinutes?: number;
|
|
1825
|
+
durationDays?: number;
|
|
1826
|
+
level?: ProductPackageLevelEnum;
|
|
1812
1827
|
}
|
|
1813
1828
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1814
1829
|
name: string;
|
|
@@ -1860,24 +1875,14 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1860
1875
|
activityTimes: ActivityTimes[];
|
|
1861
1876
|
purchasedResources: PurchasedResource[];
|
|
1862
1877
|
}
|
|
1863
|
-
export declare class
|
|
1864
|
-
parentProductId: number;
|
|
1865
|
-
childProductId: number;
|
|
1866
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1867
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1868
|
-
deletedAt?: Date;
|
|
1869
|
-
productResource: ProductResource;
|
|
1870
|
-
childProduct: Product;
|
|
1871
|
-
parentProduct: Product;
|
|
1872
|
-
price: number;
|
|
1873
|
-
isFlatPrice: boolean;
|
|
1874
|
-
durationMinutes?: number;
|
|
1875
|
-
durationDays?: number;
|
|
1876
|
-
level?: ProductPackageLevelEnum;
|
|
1877
|
-
}
|
|
1878
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1878
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1879
1879
|
productId: number;
|
|
1880
|
-
|
|
1880
|
+
maxMonths?: number;
|
|
1881
|
+
dayOfMonth?: number;
|
|
1882
|
+
name: string;
|
|
1883
|
+
deletedAt?: Date;
|
|
1884
|
+
schedule: PaymentPlanSchedule[];
|
|
1885
|
+
product?: Product;
|
|
1881
1886
|
}
|
|
1882
1887
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1883
1888
|
productId: number;
|
|
@@ -1890,14 +1895,9 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1890
1895
|
productPackages: ProductPackage[];
|
|
1891
1896
|
resourceName?: string;
|
|
1892
1897
|
}
|
|
1893
|
-
export declare class
|
|
1898
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1894
1899
|
productId: number;
|
|
1895
|
-
|
|
1896
|
-
dayOfMonth?: number;
|
|
1897
|
-
name: string;
|
|
1898
|
-
deletedAt?: Date;
|
|
1899
|
-
schedule: PaymentPlanSchedule[];
|
|
1900
|
-
product?: Product;
|
|
1900
|
+
variantTitleId: number;
|
|
1901
1901
|
}
|
|
1902
1902
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1903
1903
|
productId: number;
|
|
@@ -1910,6 +1910,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1910
1910
|
deletedAt?: Date;
|
|
1911
1911
|
product: Product;
|
|
1912
1912
|
}
|
|
1913
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1914
|
+
productId: number;
|
|
1915
|
+
userId: number;
|
|
1916
|
+
user?: User;
|
|
1917
|
+
paymentStatus: PaymentStatusEnum;
|
|
1918
|
+
productName: string;
|
|
1919
|
+
productPrice: number;
|
|
1920
|
+
productQuantity: number;
|
|
1921
|
+
productQuantityLeft: number;
|
|
1922
|
+
productPriceCurrency: CurrencyEnum;
|
|
1923
|
+
ordinal?: number;
|
|
1924
|
+
purchasedResources: PurchasedResource[];
|
|
1925
|
+
product: Product;
|
|
1926
|
+
lineItem: LineItems;
|
|
1927
|
+
slots?: Slot[];
|
|
1928
|
+
addons?: Addon[];
|
|
1929
|
+
}
|
|
1913
1930
|
export declare class Program extends BondBaseEntity {
|
|
1914
1931
|
type: ProgramTypesEnum;
|
|
1915
1932
|
name: string;
|
|
@@ -1928,34 +1945,17 @@ export declare class Program extends BondBaseEntity {
|
|
|
1928
1945
|
linkSEO: string;
|
|
1929
1946
|
longDescription?: string;
|
|
1930
1947
|
requiredProductIds: number[] | null;
|
|
1931
|
-
deletedAt?: Date;
|
|
1932
|
-
programSeason: ProgramSeason[];
|
|
1933
|
-
purchasedResources: PurchasedResource[];
|
|
1934
|
-
}
|
|
1935
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1936
|
-
type: ProgramHighlightTypeEnum;
|
|
1937
|
-
ordinal: number | null;
|
|
1938
|
-
title: string | null;
|
|
1939
|
-
data: any | null;
|
|
1940
|
-
program: Program;
|
|
1941
|
-
deletedAt?: Date;
|
|
1942
|
-
}
|
|
1943
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1944
|
-
productId: number;
|
|
1945
|
-
userId: number;
|
|
1946
|
-
user?: User;
|
|
1947
|
-
paymentStatus: PaymentStatusEnum;
|
|
1948
|
-
productName: string;
|
|
1949
|
-
productPrice: number;
|
|
1950
|
-
productQuantity: number;
|
|
1951
|
-
productQuantityLeft: number;
|
|
1952
|
-
productPriceCurrency: CurrencyEnum;
|
|
1953
|
-
ordinal?: number;
|
|
1948
|
+
deletedAt?: Date;
|
|
1949
|
+
programSeason: ProgramSeason[];
|
|
1954
1950
|
purchasedResources: PurchasedResource[];
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1951
|
+
}
|
|
1952
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1953
|
+
type: ProgramHighlightTypeEnum;
|
|
1954
|
+
ordinal: number | null;
|
|
1955
|
+
title: string | null;
|
|
1956
|
+
data: any | null;
|
|
1957
|
+
program: Program;
|
|
1958
|
+
deletedAt?: Date;
|
|
1959
1959
|
}
|
|
1960
1960
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1961
1961
|
programId: number;
|
|
@@ -2033,6 +2033,15 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2033
2033
|
product?: Product;
|
|
2034
2034
|
event?: Event;
|
|
2035
2035
|
}
|
|
2036
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2037
|
+
title: string | null;
|
|
2038
|
+
answerTitle: AnswerTitle;
|
|
2039
|
+
}
|
|
2040
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2041
|
+
reason: string;
|
|
2042
|
+
ordinal: number;
|
|
2043
|
+
deletedAt: Date;
|
|
2044
|
+
}
|
|
2036
2045
|
export declare class Questions extends BondBaseEntity {
|
|
2037
2046
|
questionType: string | null;
|
|
2038
2047
|
ordinal: number | null;
|
|
@@ -2047,15 +2056,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2047
2056
|
ownerId: number | null;
|
|
2048
2057
|
questionnaireId: number | null;
|
|
2049
2058
|
}
|
|
2050
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2051
|
-
reason: string;
|
|
2052
|
-
ordinal: number;
|
|
2053
|
-
deletedAt: Date;
|
|
2054
|
-
}
|
|
2055
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2056
|
-
title: string | null;
|
|
2057
|
-
answerTitle: AnswerTitle;
|
|
2058
|
-
}
|
|
2059
2059
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2060
2060
|
resourceType: ResourceNameTypeEnum;
|
|
2061
2061
|
resourceId: number;
|
|
@@ -2099,21 +2099,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2099
2099
|
publicNotes?: string;
|
|
2100
2100
|
slots?: Slot[];
|
|
2101
2101
|
}
|
|
2102
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2103
|
-
name: string;
|
|
2104
|
-
facilityId: number;
|
|
2105
|
-
parentSlotId: number;
|
|
2106
|
-
childrenSlotIds: number[];
|
|
2107
|
-
deletedAt?: Date;
|
|
2108
|
-
}
|
|
2109
|
-
export declare class School extends BondBaseEntity {
|
|
2110
|
-
name: string | null;
|
|
2111
|
-
alias: string[] | null;
|
|
2112
|
-
addressId: number | null;
|
|
2113
|
-
website: string | null;
|
|
2114
|
-
phone: string | null;
|
|
2115
|
-
dataId: number | null;
|
|
2116
|
-
}
|
|
2117
2102
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2118
2103
|
name: string;
|
|
2119
2104
|
resourceType: ResourceTypeEnum;
|
|
@@ -2142,6 +2127,21 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2142
2127
|
purchasedResources: PurchasedResource[];
|
|
2143
2128
|
linkSEO: string;
|
|
2144
2129
|
}
|
|
2130
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2131
|
+
name: string;
|
|
2132
|
+
facilityId: number;
|
|
2133
|
+
parentSlotId: number;
|
|
2134
|
+
childrenSlotIds: number[];
|
|
2135
|
+
deletedAt?: Date;
|
|
2136
|
+
}
|
|
2137
|
+
export declare class School extends BondBaseEntity {
|
|
2138
|
+
name: string | null;
|
|
2139
|
+
alias: string[] | null;
|
|
2140
|
+
addressId: number | null;
|
|
2141
|
+
website: string | null;
|
|
2142
|
+
phone: string | null;
|
|
2143
|
+
dataId: number | null;
|
|
2144
|
+
}
|
|
2145
2145
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2146
2146
|
status: RequestStatusEnum;
|
|
2147
2147
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2162,20 +2162,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2162
2162
|
seasonId: number | null;
|
|
2163
2163
|
color: string | null;
|
|
2164
2164
|
}
|
|
2165
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2166
|
-
seasonId: number | null;
|
|
2167
|
-
teamId: number | null;
|
|
2168
|
-
standingPosition: number | null;
|
|
2169
|
-
statistics: any | null;
|
|
2170
|
-
points: number | null;
|
|
2171
|
-
divisionId: number | null;
|
|
2172
|
-
metaData: any | null;
|
|
2173
|
-
team: Team;
|
|
2174
|
-
}
|
|
2175
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2176
|
-
blockingSpaceId: number;
|
|
2177
|
-
blockedSpaceId: number;
|
|
2178
|
-
}
|
|
2179
2165
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2180
2166
|
seasonId?: number;
|
|
2181
2167
|
userId?: number;
|
|
@@ -2191,6 +2177,20 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2191
2177
|
purchasedResource: PurchasedResource;
|
|
2192
2178
|
season: LeagueSeason;
|
|
2193
2179
|
}
|
|
2180
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2181
|
+
seasonId: number | null;
|
|
2182
|
+
teamId: number | null;
|
|
2183
|
+
standingPosition: number | null;
|
|
2184
|
+
statistics: any | null;
|
|
2185
|
+
points: number | null;
|
|
2186
|
+
divisionId: number | null;
|
|
2187
|
+
metaData: any | null;
|
|
2188
|
+
team: Team;
|
|
2189
|
+
}
|
|
2190
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2191
|
+
blockingSpaceId: number;
|
|
2192
|
+
blockedSpaceId: number;
|
|
2193
|
+
}
|
|
2194
2194
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2195
2195
|
name: string;
|
|
2196
2196
|
facilityId: number;
|
|
@@ -2210,6 +2210,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2210
2210
|
station: Station;
|
|
2211
2211
|
subcategory: Subcategory;
|
|
2212
2212
|
}
|
|
2213
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2214
|
+
productType: ProductTypesEnum;
|
|
2215
|
+
name: string;
|
|
2216
|
+
ordinal?: number;
|
|
2217
|
+
deletedAt?: Date;
|
|
2218
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2219
|
+
stations: Station[];
|
|
2220
|
+
}
|
|
2213
2221
|
export declare class Team extends BondBaseEntity {
|
|
2214
2222
|
name: string | null;
|
|
2215
2223
|
description: string | null;
|
|
@@ -2253,14 +2261,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2253
2261
|
tokenExpirationDate: Date;
|
|
2254
2262
|
isUsed: boolean;
|
|
2255
2263
|
}
|
|
2256
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2257
|
-
productType: ProductTypesEnum;
|
|
2258
|
-
name: string;
|
|
2259
|
-
ordinal?: number;
|
|
2260
|
-
deletedAt?: Date;
|
|
2261
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2262
|
-
stations: Station[];
|
|
2263
|
-
}
|
|
2264
2264
|
export declare class TeamMember extends BondBaseEntity {
|
|
2265
2265
|
teamId: number | null;
|
|
2266
2266
|
userId: number | null;
|
|
@@ -2309,6 +2309,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2309
2309
|
orderNotes: OrderNote[];
|
|
2310
2310
|
invoiceNotes: InvoiceNote[];
|
|
2311
2311
|
}
|
|
2312
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2313
|
+
entityId: number | null;
|
|
2314
|
+
userId: number | null;
|
|
2315
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2316
|
+
user: User;
|
|
2317
|
+
}
|
|
2312
2318
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2313
2319
|
familyAccountId: number;
|
|
2314
2320
|
userId: number;
|
|
@@ -2322,12 +2328,6 @@ export declare class UsersInGroup extends BondBaseEntity {
|
|
|
2322
2328
|
userId: number;
|
|
2323
2329
|
deletedAt?: Date;
|
|
2324
2330
|
}
|
|
2325
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2326
|
-
entityId: number | null;
|
|
2327
|
-
userId: number | null;
|
|
2328
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2329
|
-
user: User;
|
|
2330
|
-
}
|
|
2331
2331
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2332
2332
|
name: string;
|
|
2333
2333
|
variants: Variant[];
|
|
@@ -3249,6 +3249,41 @@ export declare class AddFamilyDto {
|
|
|
3249
3249
|
parents: AddImportedCustomerDto[];
|
|
3250
3250
|
children: AddImportedCustomerDto[];
|
|
3251
3251
|
}
|
|
3252
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3253
|
+
CREDIT_CARD = "card",
|
|
3254
|
+
ACH = "ach",
|
|
3255
|
+
CASH = "cash",
|
|
3256
|
+
CHECK = "check",
|
|
3257
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3258
|
+
OTHER = "other"
|
|
3259
|
+
}
|
|
3260
|
+
export declare class ImportedInvoiceLineDto {
|
|
3261
|
+
invoiceID?: string;
|
|
3262
|
+
description: string;
|
|
3263
|
+
createdDate: string;
|
|
3264
|
+
createdTime: string;
|
|
3265
|
+
quantity: string;
|
|
3266
|
+
price: string;
|
|
3267
|
+
total: string;
|
|
3268
|
+
customerID: string;
|
|
3269
|
+
resourceType: string;
|
|
3270
|
+
resourceID: string;
|
|
3271
|
+
}
|
|
3272
|
+
export declare class ImportedInvoiceDto {
|
|
3273
|
+
customerId?: string;
|
|
3274
|
+
total?: string;
|
|
3275
|
+
amountDue?: string;
|
|
3276
|
+
payments?: ImportedPaymentDto[];
|
|
3277
|
+
lines: any;
|
|
3278
|
+
}
|
|
3279
|
+
export declare class ImportedPaymentDto {
|
|
3280
|
+
invoiceID: string;
|
|
3281
|
+
type: ImportPaymentTypeEnum;
|
|
3282
|
+
description: string;
|
|
3283
|
+
paid: string;
|
|
3284
|
+
date: string;
|
|
3285
|
+
time: string;
|
|
3286
|
+
}
|
|
3252
3287
|
export declare class ProductIdsDto {
|
|
3253
3288
|
productIds?: number[];
|
|
3254
3289
|
}
|
|
@@ -3316,10 +3351,6 @@ export declare class ImportedReservationDto {
|
|
|
3316
3351
|
slots?: ImportedSlotDto[];
|
|
3317
3352
|
addons?: ImportedSlotProductDto[];
|
|
3318
3353
|
}
|
|
3319
|
-
export declare class Lock extends BondBaseEntity {
|
|
3320
|
-
name: string;
|
|
3321
|
-
locked?: Date;
|
|
3322
|
-
}
|
|
3323
3354
|
export declare class GameSlots extends BondBaseEntity {
|
|
3324
3355
|
entityType: string;
|
|
3325
3356
|
entityId: number;
|
|
@@ -3356,47 +3387,16 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3356
3387
|
eventId: number | null;
|
|
3357
3388
|
status: number | null;
|
|
3358
3389
|
}
|
|
3390
|
+
export declare class Lock extends BondBaseEntity {
|
|
3391
|
+
name: string;
|
|
3392
|
+
locked?: Date;
|
|
3393
|
+
}
|
|
3359
3394
|
export declare class CreateMonitorConfigDto {
|
|
3360
3395
|
facilityId: number;
|
|
3361
3396
|
name: string;
|
|
3362
3397
|
code: string;
|
|
3363
3398
|
config: any;
|
|
3364
3399
|
}
|
|
3365
|
-
export declare enum ImportPaymentTypeEnum {
|
|
3366
|
-
CREDIT_CARD = "card",
|
|
3367
|
-
ACH = "ach",
|
|
3368
|
-
CASH = "cash",
|
|
3369
|
-
CHECK = "check",
|
|
3370
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3371
|
-
OTHER = "other"
|
|
3372
|
-
}
|
|
3373
|
-
export declare class ImportedInvoiceLineDto {
|
|
3374
|
-
invoiceID?: string;
|
|
3375
|
-
description: string;
|
|
3376
|
-
createdDate: string;
|
|
3377
|
-
createdTime: string;
|
|
3378
|
-
quantity: string;
|
|
3379
|
-
price: string;
|
|
3380
|
-
total: string;
|
|
3381
|
-
customerID: string;
|
|
3382
|
-
resourceType: string;
|
|
3383
|
-
resourceID: string;
|
|
3384
|
-
}
|
|
3385
|
-
export declare class ImportedInvoiceDto {
|
|
3386
|
-
customerId?: string;
|
|
3387
|
-
total?: string;
|
|
3388
|
-
amountDue?: string;
|
|
3389
|
-
payments?: ImportedPaymentDto[];
|
|
3390
|
-
lines: any;
|
|
3391
|
-
}
|
|
3392
|
-
export declare class ImportedPaymentDto {
|
|
3393
|
-
invoiceID: string;
|
|
3394
|
-
type: ImportPaymentTypeEnum;
|
|
3395
|
-
description: string;
|
|
3396
|
-
paid: string;
|
|
3397
|
-
date: string;
|
|
3398
|
-
time: string;
|
|
3399
|
-
}
|
|
3400
3400
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3401
3401
|
facilityId: number;
|
|
3402
3402
|
code: string;
|
|
@@ -3841,17 +3841,6 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3841
3841
|
export declare class AddAddonsDto {
|
|
3842
3842
|
addons: ProductPricesDto[];
|
|
3843
3843
|
}
|
|
3844
|
-
export declare class SegmentDto {
|
|
3845
|
-
id?: number;
|
|
3846
|
-
title: string;
|
|
3847
|
-
isPrivate: boolean;
|
|
3848
|
-
resourceIds: number[];
|
|
3849
|
-
sportId?: number;
|
|
3850
|
-
series: SeriesDto[];
|
|
3851
|
-
addonIds?: number[];
|
|
3852
|
-
publicNotesForSlots?: string;
|
|
3853
|
-
privateNotesForSlots?: string;
|
|
3854
|
-
}
|
|
3855
3844
|
export declare class SeriesDto {
|
|
3856
3845
|
id?: number;
|
|
3857
3846
|
startDate: string;
|
|
@@ -3932,6 +3921,17 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3932
3921
|
slotDurationType: SlotDurationTypeEnum;
|
|
3933
3922
|
addonsIds?: number[];
|
|
3934
3923
|
}
|
|
3924
|
+
export declare class SegmentDto {
|
|
3925
|
+
id?: number;
|
|
3926
|
+
title: string;
|
|
3927
|
+
isPrivate: boolean;
|
|
3928
|
+
resourceIds: number[];
|
|
3929
|
+
sportId?: number;
|
|
3930
|
+
series: SeriesDto[];
|
|
3931
|
+
addonIds?: number[];
|
|
3932
|
+
publicNotesForSlots?: string;
|
|
3933
|
+
privateNotesForSlots?: string;
|
|
3934
|
+
}
|
|
3935
3935
|
declare class AnswerDto {
|
|
3936
3936
|
questionId: number;
|
|
3937
3937
|
value: any;
|
|
@@ -4046,6 +4046,25 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
4046
4046
|
privateNotesForSlots?: string;
|
|
4047
4047
|
slots?: Slot[];
|
|
4048
4048
|
}
|
|
4049
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4050
|
+
deletedAt?: Date;
|
|
4051
|
+
segmentId: number;
|
|
4052
|
+
segment?: Segment;
|
|
4053
|
+
slots?: Slot[];
|
|
4054
|
+
slotDurationType: string;
|
|
4055
|
+
durationEndsAfter: number;
|
|
4056
|
+
durationUnit: string;
|
|
4057
|
+
startDate?: Date;
|
|
4058
|
+
endDate?: Date;
|
|
4059
|
+
startTime: string;
|
|
4060
|
+
endTime: string;
|
|
4061
|
+
frequency: string;
|
|
4062
|
+
repeatEvery: number;
|
|
4063
|
+
repeatOn?: number[];
|
|
4064
|
+
repeatEndDate?: Date;
|
|
4065
|
+
numberOccurrences?: number;
|
|
4066
|
+
resources?: Resource[];
|
|
4067
|
+
}
|
|
4049
4068
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4050
4069
|
constructor();
|
|
4051
4070
|
defineIsReverted(): void;
|
|
@@ -4113,25 +4132,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4113
4132
|
changeLineItems?: LineItems[];
|
|
4114
4133
|
updatedLineItem?: LineItems;
|
|
4115
4134
|
}
|
|
4116
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4117
|
-
deletedAt?: Date;
|
|
4118
|
-
segmentId: number;
|
|
4119
|
-
segment?: Segment;
|
|
4120
|
-
slots?: Slot[];
|
|
4121
|
-
slotDurationType: string;
|
|
4122
|
-
durationEndsAfter: number;
|
|
4123
|
-
durationUnit: string;
|
|
4124
|
-
startDate?: Date;
|
|
4125
|
-
endDate?: Date;
|
|
4126
|
-
startTime: string;
|
|
4127
|
-
endTime: string;
|
|
4128
|
-
frequency: string;
|
|
4129
|
-
repeatEvery: number;
|
|
4130
|
-
repeatOn?: number[];
|
|
4131
|
-
repeatEndDate?: Date;
|
|
4132
|
-
numberOccurrences?: number;
|
|
4133
|
-
resources?: Resource[];
|
|
4134
|
-
}
|
|
4135
4135
|
export declare class ChangeRolePermissionsDto {
|
|
4136
4136
|
permissionIds: number[];
|
|
4137
4137
|
}
|