@bondsports/types 0.0.38 → 0.0.41
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 +428 -427
- 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;
|
|
@@ -78,49 +85,6 @@ export declare class AddEditCustomerDto {
|
|
|
78
85
|
emergencyContactName?: string;
|
|
79
86
|
emergencyContactPhone?: string;
|
|
80
87
|
}
|
|
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
88
|
export declare class FindEventByIdDto {
|
|
125
89
|
eventId: number;
|
|
126
90
|
organizationId: number;
|
|
@@ -222,17 +186,48 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
222
186
|
isWaiverSigned?: string;
|
|
223
187
|
statuses?: string;
|
|
224
188
|
}
|
|
225
|
-
export declare class
|
|
226
|
-
|
|
189
|
+
export declare class AddressDto {
|
|
190
|
+
city: string;
|
|
191
|
+
state: string;
|
|
192
|
+
country: string;
|
|
193
|
+
geo: number[];
|
|
227
194
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
|
|
230
|
-
|
|
195
|
+
export declare class OpeningTimeDto {
|
|
196
|
+
open: string;
|
|
197
|
+
close: string;
|
|
198
|
+
dayOfWeek: number;
|
|
231
199
|
}
|
|
232
|
-
export declare class
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
200
|
+
export declare class CreateFacilityDto {
|
|
201
|
+
name: string;
|
|
202
|
+
sports: number[];
|
|
203
|
+
description?: string;
|
|
204
|
+
longDescription?: string;
|
|
205
|
+
info?: string;
|
|
206
|
+
address: AddressDto;
|
|
207
|
+
timezone: string;
|
|
208
|
+
amenities: number[];
|
|
209
|
+
openingTimes: OpeningTimeDto[];
|
|
210
|
+
resourcesIds?: number[];
|
|
211
|
+
}
|
|
212
|
+
export declare class UpdateFacilityDetailsDto {
|
|
213
|
+
name?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
longDescription?: string;
|
|
216
|
+
info?: string;
|
|
217
|
+
address?: AddressDto;
|
|
218
|
+
timezone?: string;
|
|
219
|
+
}
|
|
220
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
+
openingTimes: OpeningTimeDto[];
|
|
222
|
+
}
|
|
223
|
+
export declare class UpdateFacilitySportsDto {
|
|
224
|
+
sports: number[];
|
|
225
|
+
}
|
|
226
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
+
amenities: number[];
|
|
228
|
+
}
|
|
229
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
+
nameSearch?: string;
|
|
236
231
|
}
|
|
237
232
|
export declare class FindFamilyAccountsDto {
|
|
238
233
|
userId: number;
|
|
@@ -266,6 +261,18 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
266
261
|
userId: number;
|
|
267
262
|
familyAccountId: number;
|
|
268
263
|
}
|
|
264
|
+
export declare class FindOneParams {
|
|
265
|
+
id: number;
|
|
266
|
+
}
|
|
267
|
+
export declare class PaginationQuery {
|
|
268
|
+
page: number;
|
|
269
|
+
itemsPerPage: number;
|
|
270
|
+
}
|
|
271
|
+
export declare class PaginationRangeQuery {
|
|
272
|
+
startPage: number;
|
|
273
|
+
endPage: number;
|
|
274
|
+
itemsPerPage: number;
|
|
275
|
+
}
|
|
269
276
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
270
277
|
organizationId: number;
|
|
271
278
|
}
|
|
@@ -405,6 +412,48 @@ export declare class CancelMembershipDto {
|
|
|
405
412
|
isImmediatelyCancel: boolean;
|
|
406
413
|
cancellationReason?: string;
|
|
407
414
|
}
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
416
|
+
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
419
|
+
}
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
422
|
+
}
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
426
|
+
}
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
428
|
+
organizationId: number;
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
434
|
+
}
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
438
|
+
}
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
|
+
name: string;
|
|
441
|
+
}
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
445
|
+
}
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
448
|
+
}
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
451
|
+
price: number;
|
|
452
|
+
startDate?: Date;
|
|
453
|
+
endDate?: Date;
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
456
|
+
}
|
|
408
457
|
export declare class FindByProductIdDto {
|
|
409
458
|
productId: number;
|
|
410
459
|
}
|
|
@@ -625,48 +674,6 @@ export declare class createResourceDto {
|
|
|
625
674
|
export declare class archiveDto {
|
|
626
675
|
isArchive: boolean;
|
|
627
676
|
}
|
|
628
|
-
export declare class CreateEntitlementTermsDto {
|
|
629
|
-
organizationId: number;
|
|
630
|
-
entitlementGroupId: number;
|
|
631
|
-
terms: IEntitlementTerms[];
|
|
632
|
-
}
|
|
633
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
634
|
-
entitlementGroupId: number;
|
|
635
|
-
}
|
|
636
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
637
|
-
user: any;
|
|
638
|
-
userVariables: IQuestionAnswerObject[];
|
|
639
|
-
}
|
|
640
|
-
export declare class FindLowestPriceDto {
|
|
641
|
-
organizationId: number;
|
|
642
|
-
user?: any;
|
|
643
|
-
answers?: IQuestionAnswerObject[];
|
|
644
|
-
itemIds: number[];
|
|
645
|
-
itemType?: ResourceNameTypeEnum;
|
|
646
|
-
startDate?: Date;
|
|
647
|
-
}
|
|
648
|
-
export declare class FindGroupItemsPricingsDto {
|
|
649
|
-
groupsIds: number[];
|
|
650
|
-
itemsIds: number[];
|
|
651
|
-
}
|
|
652
|
-
export declare class CreateEntitlementGroupDto {
|
|
653
|
-
name: string;
|
|
654
|
-
}
|
|
655
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
656
|
-
itemIds: number[];
|
|
657
|
-
itemType: string;
|
|
658
|
-
}
|
|
659
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
660
|
-
groupid: number;
|
|
661
|
-
}
|
|
662
|
-
export declare class CreateGroupPricingWithProduct {
|
|
663
|
-
groupId: number;
|
|
664
|
-
price: number;
|
|
665
|
-
startDate?: Date;
|
|
666
|
-
endDate?: Date;
|
|
667
|
-
discountValue?: number;
|
|
668
|
-
discountMethod?: DiscountMethodsEnum;
|
|
669
|
-
}
|
|
670
677
|
export declare class CreateUpdateVariantsDto {
|
|
671
678
|
organizationId: number;
|
|
672
679
|
parentProductId: 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,18 @@ 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
|
+
}
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
1004
|
+
}
|
|
998
1005
|
export declare class SpaceByIdDto {
|
|
999
1006
|
spaceId: number;
|
|
1000
1007
|
}
|
|
@@ -1051,6 +1058,13 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1051
1058
|
types?: string;
|
|
1052
1059
|
resourcesIds?: string;
|
|
1053
1060
|
}
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1067
|
+
}
|
|
1054
1068
|
export declare class FindByUserIdDto {
|
|
1055
1069
|
userId: number;
|
|
1056
1070
|
}
|
|
@@ -1073,20 +1087,6 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1073
1087
|
oldValue?: any;
|
|
1074
1088
|
newValue?: any;
|
|
1075
1089
|
}
|
|
1076
|
-
export declare class BasicActivityTimesDto {
|
|
1077
|
-
dayOfWeek: number;
|
|
1078
|
-
close: string;
|
|
1079
|
-
open: string;
|
|
1080
|
-
availabilityStartDate?: string;
|
|
1081
|
-
availabilityEndDate?: string;
|
|
1082
|
-
}
|
|
1083
|
-
export declare class StripeCustomerIdDto {
|
|
1084
|
-
userId: number;
|
|
1085
|
-
}
|
|
1086
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1087
|
-
publicToken: string;
|
|
1088
|
-
accountId: string;
|
|
1089
|
-
}
|
|
1090
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1092
1092
|
parentId: number;
|
|
@@ -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,11 +1124,22 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1135
1124
|
metaData: any | null;
|
|
1136
1125
|
questionText: string | null;
|
|
1137
1126
|
}
|
|
1138
|
-
export declare class
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
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
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
|
+
athleteId: number | null;
|
|
1140
|
+
sports: number | null;
|
|
1141
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
|
+
}
|
|
1143
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1144
|
entityType: ResourceNameTypeEnum;
|
|
1145
1145
|
entityId: number;
|
|
@@ -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;
|
|
@@ -1267,12 +1267,6 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1267
1267
|
groupId: number;
|
|
1268
1268
|
terms: IEntitlementTerms[];
|
|
1269
1269
|
}
|
|
1270
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1271
|
-
customerId: number;
|
|
1272
|
-
name: string | null;
|
|
1273
|
-
phoneNumber: string | null;
|
|
1274
|
-
customer: Customer;
|
|
1275
|
-
}
|
|
1276
1270
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
1271
|
status: RequestStatusEnum | null;
|
|
1278
1272
|
hasPaid: boolean | null;
|
|
@@ -1288,6 +1282,12 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1288
1282
|
event: Event;
|
|
1289
1283
|
purchasedResource: PurchasedResource;
|
|
1290
1284
|
}
|
|
1285
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1286
|
+
customerId: number;
|
|
1287
|
+
name: string | null;
|
|
1288
|
+
phoneNumber: string | null;
|
|
1289
|
+
customer: Customer;
|
|
1290
|
+
}
|
|
1291
1291
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1292
1292
|
constructor();
|
|
1293
1293
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -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;
|
|
@@ -1455,10 +1455,20 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1455
1455
|
templateId: string;
|
|
1456
1456
|
userId: number;
|
|
1457
1457
|
invoiceId: number;
|
|
1458
|
+
paymentId: number;
|
|
1458
1459
|
sendingUserId: number;
|
|
1459
1460
|
mailParams?: any;
|
|
1460
1461
|
memo?: string;
|
|
1461
1462
|
}
|
|
1463
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1464
|
+
content: string;
|
|
1465
|
+
creatingUserId: number;
|
|
1466
|
+
user: User;
|
|
1467
|
+
isPublic: boolean;
|
|
1468
|
+
deletedAt: Date;
|
|
1469
|
+
invoiceId: number;
|
|
1470
|
+
invoice: Invoice;
|
|
1471
|
+
}
|
|
1462
1472
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1463
1473
|
name: string | null;
|
|
1464
1474
|
description: string | null;
|
|
@@ -1529,15 +1539,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1529
1539
|
league?: boolean;
|
|
1530
1540
|
facilities?: boolean;
|
|
1531
1541
|
}
|
|
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
1542
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1542
1543
|
orderId: number;
|
|
1543
1544
|
invoiceId: number;
|
|
@@ -1603,6 +1604,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1603
1604
|
displayUnitPrice?: number;
|
|
1604
1605
|
displayQuantity?: number;
|
|
1605
1606
|
}
|
|
1607
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
|
+
id: number;
|
|
1609
|
+
provider: string;
|
|
1610
|
+
providerId: string | null;
|
|
1611
|
+
parentId: number | null;
|
|
1612
|
+
parentType: string | null;
|
|
1613
|
+
status: number | null;
|
|
1614
|
+
token: string | null;
|
|
1615
|
+
refreshToken: string | null;
|
|
1616
|
+
tokenCreatedAt: Date | null;
|
|
1617
|
+
tokenValidUpTo: Date | null;
|
|
1618
|
+
createdAt: Date;
|
|
1619
|
+
updatedAt: Date;
|
|
1620
|
+
user: User;
|
|
1621
|
+
userId: number | null;
|
|
1622
|
+
}
|
|
1606
1623
|
export declare class Media extends BondBaseEntity {
|
|
1607
1624
|
url: string;
|
|
1608
1625
|
name: string | null;
|
|
@@ -1650,22 +1667,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1650
1667
|
isAutoRenew?: boolean;
|
|
1651
1668
|
purchasedResources: PurchasedResource[];
|
|
1652
1669
|
}
|
|
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
1670
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1670
1671
|
membership: Membership;
|
|
1671
1672
|
membershipId: number;
|
|
@@ -1727,6 +1728,15 @@ export declare class Order extends BondBaseEntity {
|
|
|
1727
1728
|
orderNotes: OrderNote[];
|
|
1728
1729
|
slots: Slot[];
|
|
1729
1730
|
}
|
|
1731
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
+
content: string;
|
|
1733
|
+
creatingUserId: number;
|
|
1734
|
+
user: User;
|
|
1735
|
+
isPublic: boolean;
|
|
1736
|
+
deletedAt: Date;
|
|
1737
|
+
orderId: number;
|
|
1738
|
+
order: Order;
|
|
1739
|
+
}
|
|
1730
1740
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1731
1741
|
orderId: number;
|
|
1732
1742
|
invoiceId: number;
|
|
@@ -1738,15 +1748,6 @@ export declare class OrderToInvoice extends BondBaseEntity {
|
|
|
1738
1748
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
1749
|
organizationId: number;
|
|
1740
1750
|
}
|
|
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
1751
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1751
1752
|
name?: string;
|
|
1752
1753
|
description?: string;
|
|
@@ -1770,6 +1771,12 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1770
1771
|
validUntil: Date | null;
|
|
1771
1772
|
active: boolean | null;
|
|
1772
1773
|
}
|
|
1774
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
|
+
paymentPlanId: number;
|
|
1776
|
+
paymentDate: Date;
|
|
1777
|
+
deletedAt?: Date;
|
|
1778
|
+
paymentPlan: ProductPaymentPlan;
|
|
1779
|
+
}
|
|
1773
1780
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1774
1781
|
userId: number | null;
|
|
1775
1782
|
ownerId: number | null;
|
|
@@ -1804,12 +1811,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1804
1811
|
discountMethod?: DiscountMethodsEnum;
|
|
1805
1812
|
discountValue?: number;
|
|
1806
1813
|
}
|
|
1807
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1808
|
-
paymentPlanId: number;
|
|
1809
|
-
paymentDate: Date;
|
|
1810
|
-
deletedAt?: Date;
|
|
1811
|
-
paymentPlan: ProductPaymentPlan;
|
|
1812
|
-
}
|
|
1813
1814
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1814
1815
|
name: string;
|
|
1815
1816
|
quantity: number;
|
|
@@ -1875,9 +1876,14 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1875
1876
|
durationDays?: number;
|
|
1876
1877
|
level?: ProductPackageLevelEnum;
|
|
1877
1878
|
}
|
|
1878
|
-
export declare class
|
|
1879
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1879
1880
|
productId: number;
|
|
1880
|
-
|
|
1881
|
+
maxMonths?: number;
|
|
1882
|
+
dayOfMonth?: number;
|
|
1883
|
+
name: string;
|
|
1884
|
+
deletedAt?: Date;
|
|
1885
|
+
schedule: PaymentPlanSchedule[];
|
|
1886
|
+
product?: Product;
|
|
1881
1887
|
}
|
|
1882
1888
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1883
1889
|
productId: number;
|
|
@@ -1890,14 +1896,9 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1890
1896
|
productPackages: ProductPackage[];
|
|
1891
1897
|
resourceName?: string;
|
|
1892
1898
|
}
|
|
1893
|
-
export declare class
|
|
1899
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1894
1900
|
productId: number;
|
|
1895
|
-
|
|
1896
|
-
dayOfMonth?: number;
|
|
1897
|
-
name: string;
|
|
1898
|
-
deletedAt?: Date;
|
|
1899
|
-
schedule: PaymentPlanSchedule[];
|
|
1900
|
-
product?: Product;
|
|
1901
|
+
variantTitleId: number;
|
|
1901
1902
|
}
|
|
1902
1903
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1903
1904
|
productId: number;
|
|
@@ -1910,6 +1911,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1910
1911
|
deletedAt?: Date;
|
|
1911
1912
|
product: Product;
|
|
1912
1913
|
}
|
|
1914
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
|
+
productId: number;
|
|
1916
|
+
userId: number;
|
|
1917
|
+
user?: User;
|
|
1918
|
+
paymentStatus: PaymentStatusEnum;
|
|
1919
|
+
productName: string;
|
|
1920
|
+
productPrice: number;
|
|
1921
|
+
productQuantity: number;
|
|
1922
|
+
productQuantityLeft: number;
|
|
1923
|
+
productPriceCurrency: CurrencyEnum;
|
|
1924
|
+
ordinal?: number;
|
|
1925
|
+
purchasedResources: PurchasedResource[];
|
|
1926
|
+
product: Product;
|
|
1927
|
+
lineItem: LineItems;
|
|
1928
|
+
slots?: Slot[];
|
|
1929
|
+
addons?: Addon[];
|
|
1930
|
+
}
|
|
1913
1931
|
export declare class Program extends BondBaseEntity {
|
|
1914
1932
|
type: ProgramTypesEnum;
|
|
1915
1933
|
name: string;
|
|
@@ -1940,23 +1958,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1940
1958
|
program: Program;
|
|
1941
1959
|
deletedAt?: Date;
|
|
1942
1960
|
}
|
|
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;
|
|
1954
|
-
purchasedResources: PurchasedResource[];
|
|
1955
|
-
product: Product;
|
|
1956
|
-
lineItem: LineItems;
|
|
1957
|
-
slots?: Slot[];
|
|
1958
|
-
addons?: Addon[];
|
|
1959
|
-
}
|
|
1960
1961
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1961
1962
|
programId: number;
|
|
1962
1963
|
name: string;
|
|
@@ -2033,6 +2034,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2033
2034
|
product?: Product;
|
|
2034
2035
|
event?: Event;
|
|
2035
2036
|
}
|
|
2037
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2038
|
+
title: string | null;
|
|
2039
|
+
answerTitle: AnswerTitle;
|
|
2040
|
+
}
|
|
2036
2041
|
export declare class Questions extends BondBaseEntity {
|
|
2037
2042
|
questionType: string | null;
|
|
2038
2043
|
ordinal: number | null;
|
|
@@ -2052,10 +2057,6 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
|
2052
2057
|
ordinal: number;
|
|
2053
2058
|
deletedAt: Date;
|
|
2054
2059
|
}
|
|
2055
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2056
|
-
title: string | null;
|
|
2057
|
-
answerTitle: AnswerTitle;
|
|
2058
|
-
}
|
|
2059
2060
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2060
2061
|
resourceType: ResourceNameTypeEnum;
|
|
2061
2062
|
resourceId: number;
|
|
@@ -2099,22 +2100,7 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2099
2100
|
publicNotes?: string;
|
|
2100
2101
|
slots?: Slot[];
|
|
2101
2102
|
}
|
|
2102
|
-
export declare class
|
|
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
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2103
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2118
2104
|
name: string;
|
|
2119
2105
|
resourceType: ResourceTypeEnum;
|
|
2120
2106
|
resourceSubType: ResourceSubTypeEnum;
|
|
@@ -2142,6 +2128,21 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2142
2128
|
purchasedResources: PurchasedResource[];
|
|
2143
2129
|
linkSEO: string;
|
|
2144
2130
|
}
|
|
2131
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
|
+
name: string;
|
|
2133
|
+
facilityId: number;
|
|
2134
|
+
parentSlotId: number;
|
|
2135
|
+
childrenSlotIds: number[];
|
|
2136
|
+
deletedAt?: Date;
|
|
2137
|
+
}
|
|
2138
|
+
export declare class School extends BondBaseEntity {
|
|
2139
|
+
name: string | null;
|
|
2140
|
+
alias: string[] | null;
|
|
2141
|
+
addressId: number | null;
|
|
2142
|
+
website: string | null;
|
|
2143
|
+
phone: string | null;
|
|
2144
|
+
dataId: number | null;
|
|
2145
|
+
}
|
|
2145
2146
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2146
2147
|
status: RequestStatusEnum;
|
|
2147
2148
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2162,20 +2163,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2162
2163
|
seasonId: number | null;
|
|
2163
2164
|
color: string | null;
|
|
2164
2165
|
}
|
|
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
2166
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2180
2167
|
seasonId?: number;
|
|
2181
2168
|
userId?: number;
|
|
@@ -2191,6 +2178,20 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2191
2178
|
purchasedResource: PurchasedResource;
|
|
2192
2179
|
season: LeagueSeason;
|
|
2193
2180
|
}
|
|
2181
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2182
|
+
seasonId: number | null;
|
|
2183
|
+
teamId: number | null;
|
|
2184
|
+
standingPosition: number | null;
|
|
2185
|
+
statistics: any | null;
|
|
2186
|
+
points: number | null;
|
|
2187
|
+
divisionId: number | null;
|
|
2188
|
+
metaData: any | null;
|
|
2189
|
+
team: Team;
|
|
2190
|
+
}
|
|
2191
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2192
|
+
blockingSpaceId: number;
|
|
2193
|
+
blockedSpaceId: number;
|
|
2194
|
+
}
|
|
2194
2195
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2195
2196
|
name: string;
|
|
2196
2197
|
facilityId: number;
|
|
@@ -2210,6 +2211,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2210
2211
|
station: Station;
|
|
2211
2212
|
subcategory: Subcategory;
|
|
2212
2213
|
}
|
|
2214
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2215
|
+
productType: ProductTypesEnum;
|
|
2216
|
+
name: string;
|
|
2217
|
+
ordinal?: number;
|
|
2218
|
+
deletedAt?: Date;
|
|
2219
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2220
|
+
stations: Station[];
|
|
2221
|
+
}
|
|
2213
2222
|
export declare class Team extends BondBaseEntity {
|
|
2214
2223
|
name: string | null;
|
|
2215
2224
|
description: string | null;
|
|
@@ -2253,14 +2262,6 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2253
2262
|
tokenExpirationDate: Date;
|
|
2254
2263
|
isUsed: boolean;
|
|
2255
2264
|
}
|
|
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
2265
|
export declare class TeamMember extends BondBaseEntity {
|
|
2265
2266
|
teamId: number | null;
|
|
2266
2267
|
userId: number | null;
|
|
@@ -2309,6 +2310,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2309
2310
|
orderNotes: OrderNote[];
|
|
2310
2311
|
invoiceNotes: InvoiceNote[];
|
|
2311
2312
|
}
|
|
2313
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
|
+
entityId: number | null;
|
|
2315
|
+
userId: number | null;
|
|
2316
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
+
user: User;
|
|
2318
|
+
}
|
|
2312
2319
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2313
2320
|
familyAccountId: number;
|
|
2314
2321
|
userId: number;
|
|
@@ -2322,12 +2329,6 @@ export declare class UsersInGroup extends BondBaseEntity {
|
|
|
2322
2329
|
userId: number;
|
|
2323
2330
|
deletedAt?: Date;
|
|
2324
2331
|
}
|
|
2325
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2326
|
-
entityId: number | null;
|
|
2327
|
-
userId: number | null;
|
|
2328
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2329
|
-
user: User;
|
|
2330
|
-
}
|
|
2331
2332
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2332
2333
|
name: string;
|
|
2333
2334
|
variants: Variant[];
|
|
@@ -3249,6 +3250,41 @@ export declare class AddFamilyDto {
|
|
|
3249
3250
|
parents: AddImportedCustomerDto[];
|
|
3250
3251
|
children: AddImportedCustomerDto[];
|
|
3251
3252
|
}
|
|
3253
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3254
|
+
CREDIT_CARD = "card",
|
|
3255
|
+
ACH = "ach",
|
|
3256
|
+
CASH = "cash",
|
|
3257
|
+
CHECK = "check",
|
|
3258
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3259
|
+
OTHER = "other"
|
|
3260
|
+
}
|
|
3261
|
+
export declare class ImportedInvoiceLineDto {
|
|
3262
|
+
invoiceID?: string;
|
|
3263
|
+
description: string;
|
|
3264
|
+
createdDate: string;
|
|
3265
|
+
createdTime: string;
|
|
3266
|
+
quantity: string;
|
|
3267
|
+
price: string;
|
|
3268
|
+
total: string;
|
|
3269
|
+
customerID: string;
|
|
3270
|
+
resourceType: string;
|
|
3271
|
+
resourceID: string;
|
|
3272
|
+
}
|
|
3273
|
+
export declare class ImportedInvoiceDto {
|
|
3274
|
+
customerId?: string;
|
|
3275
|
+
total?: string;
|
|
3276
|
+
amountDue?: string;
|
|
3277
|
+
payments?: ImportedPaymentDto[];
|
|
3278
|
+
lines: any;
|
|
3279
|
+
}
|
|
3280
|
+
export declare class ImportedPaymentDto {
|
|
3281
|
+
invoiceID: string;
|
|
3282
|
+
type: ImportPaymentTypeEnum;
|
|
3283
|
+
description: string;
|
|
3284
|
+
paid: string;
|
|
3285
|
+
date: string;
|
|
3286
|
+
time: string;
|
|
3287
|
+
}
|
|
3252
3288
|
export declare class ProductIdsDto {
|
|
3253
3289
|
productIds?: number[];
|
|
3254
3290
|
}
|
|
@@ -3316,10 +3352,6 @@ export declare class ImportedReservationDto {
|
|
|
3316
3352
|
slots?: ImportedSlotDto[];
|
|
3317
3353
|
addons?: ImportedSlotProductDto[];
|
|
3318
3354
|
}
|
|
3319
|
-
export declare class Lock extends BondBaseEntity {
|
|
3320
|
-
name: string;
|
|
3321
|
-
locked?: Date;
|
|
3322
|
-
}
|
|
3323
3355
|
export declare class GameSlots extends BondBaseEntity {
|
|
3324
3356
|
entityType: string;
|
|
3325
3357
|
entityId: number;
|
|
@@ -3356,120 +3388,21 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3356
3388
|
eventId: number | null;
|
|
3357
3389
|
status: number | null;
|
|
3358
3390
|
}
|
|
3391
|
+
export declare class Lock extends BondBaseEntity {
|
|
3392
|
+
name: string;
|
|
3393
|
+
locked?: Date;
|
|
3394
|
+
}
|
|
3359
3395
|
export declare class CreateMonitorConfigDto {
|
|
3360
3396
|
facilityId: number;
|
|
3361
3397
|
name: string;
|
|
3362
3398
|
code: string;
|
|
3363
3399
|
config: any;
|
|
3364
3400
|
}
|
|
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
3401
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3401
3402
|
facilityId: number;
|
|
3402
3403
|
code: string;
|
|
3403
3404
|
config?: any;
|
|
3404
3405
|
}
|
|
3405
|
-
export declare class ByOrganizationIdDto {
|
|
3406
|
-
organizationId: number;
|
|
3407
|
-
}
|
|
3408
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3409
|
-
organizationId?: number;
|
|
3410
|
-
}
|
|
3411
|
-
export declare class Organization extends BondBaseEntity {
|
|
3412
|
-
name: string | null;
|
|
3413
|
-
email: string | null;
|
|
3414
|
-
twitter: string | null;
|
|
3415
|
-
facebook: string | null;
|
|
3416
|
-
instagram: string | null;
|
|
3417
|
-
website: string | null;
|
|
3418
|
-
blog: string | null;
|
|
3419
|
-
phoneNumber: string | null;
|
|
3420
|
-
waiverDoc: string | null;
|
|
3421
|
-
about: string | null;
|
|
3422
|
-
tagline: string | null;
|
|
3423
|
-
status: number | null;
|
|
3424
|
-
addressId: number | null;
|
|
3425
|
-
merchantId: number | null;
|
|
3426
|
-
userCreatorId: number | null;
|
|
3427
|
-
parentId: number | null;
|
|
3428
|
-
paymentSettings: object | null;
|
|
3429
|
-
settings: object | null;
|
|
3430
|
-
isClaimed: boolean | null;
|
|
3431
|
-
sports: number[] | null;
|
|
3432
|
-
mainMediaId: number | null;
|
|
3433
|
-
deletedAt: Date | null;
|
|
3434
|
-
organizationActivityTypes: number[] | null;
|
|
3435
|
-
organizationTypes: number[] | null;
|
|
3436
|
-
organizationAudienceTypes: number[] | null;
|
|
3437
|
-
organizationGenders: number[] | null;
|
|
3438
|
-
questionnaireId: number | null;
|
|
3439
|
-
membershipQuestionnaireId: number | null;
|
|
3440
|
-
feeRate: number;
|
|
3441
|
-
feeAddDollarRate: number;
|
|
3442
|
-
achFeeRate: number;
|
|
3443
|
-
achFeeAddDollarRate: number;
|
|
3444
|
-
maxAchFee: number;
|
|
3445
|
-
cashFeeRate: number;
|
|
3446
|
-
cashFeeAddDollarRate: number;
|
|
3447
|
-
terminalFeeRate: number;
|
|
3448
|
-
terminalFeeAddDollarRate: number;
|
|
3449
|
-
checkFeeRate: number;
|
|
3450
|
-
checkFeeAddDollarRate: number;
|
|
3451
|
-
otherFeeRate: number;
|
|
3452
|
-
otherFeeAddDollarRate: number;
|
|
3453
|
-
balanceFeeRate: number;
|
|
3454
|
-
balanceFeeAddDollarRate: number;
|
|
3455
|
-
address: Address;
|
|
3456
|
-
mainMedia: Media;
|
|
3457
|
-
brandings: OrganizationBranding[];
|
|
3458
|
-
brandingsV2?: OrganizationBranding[];
|
|
3459
|
-
}
|
|
3460
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3461
|
-
key?: string;
|
|
3462
|
-
vaule?: string;
|
|
3463
|
-
version: number;
|
|
3464
|
-
organization: Organization;
|
|
3465
|
-
}
|
|
3466
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3467
|
-
mainAdminUserId?: number;
|
|
3468
|
-
}
|
|
3469
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3470
|
-
organisationId: number | null;
|
|
3471
|
-
userId: number | null;
|
|
3472
|
-
}
|
|
3473
3406
|
export declare class CustomerIdDto {
|
|
3474
3407
|
customerId: number;
|
|
3475
3408
|
}
|
|
@@ -3619,6 +3552,74 @@ export declare class VoidLineItemDto {
|
|
|
3619
3552
|
isEdit?: boolean;
|
|
3620
3553
|
amount?: number;
|
|
3621
3554
|
}
|
|
3555
|
+
export declare class ByOrganizationIdDto {
|
|
3556
|
+
organizationId: number;
|
|
3557
|
+
}
|
|
3558
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3559
|
+
organizationId?: number;
|
|
3560
|
+
}
|
|
3561
|
+
export declare class Organization extends BondBaseEntity {
|
|
3562
|
+
name: string | null;
|
|
3563
|
+
email: string | null;
|
|
3564
|
+
twitter: string | null;
|
|
3565
|
+
facebook: string | null;
|
|
3566
|
+
instagram: string | null;
|
|
3567
|
+
website: string | null;
|
|
3568
|
+
blog: string | null;
|
|
3569
|
+
phoneNumber: string | null;
|
|
3570
|
+
waiverDoc: string | null;
|
|
3571
|
+
about: string | null;
|
|
3572
|
+
tagline: string | null;
|
|
3573
|
+
status: number | null;
|
|
3574
|
+
addressId: number | null;
|
|
3575
|
+
merchantId: number | null;
|
|
3576
|
+
userCreatorId: number | null;
|
|
3577
|
+
parentId: number | null;
|
|
3578
|
+
paymentSettings: object | null;
|
|
3579
|
+
settings: object | null;
|
|
3580
|
+
isClaimed: boolean | null;
|
|
3581
|
+
sports: number[] | null;
|
|
3582
|
+
mainMediaId: number | null;
|
|
3583
|
+
deletedAt: Date | null;
|
|
3584
|
+
organizationActivityTypes: number[] | null;
|
|
3585
|
+
organizationTypes: number[] | null;
|
|
3586
|
+
organizationAudienceTypes: number[] | null;
|
|
3587
|
+
organizationGenders: number[] | null;
|
|
3588
|
+
questionnaireId: number | null;
|
|
3589
|
+
membershipQuestionnaireId: number | null;
|
|
3590
|
+
feeRate: number;
|
|
3591
|
+
feeAddDollarRate: number;
|
|
3592
|
+
achFeeRate: number;
|
|
3593
|
+
achFeeAddDollarRate: number;
|
|
3594
|
+
maxAchFee: number;
|
|
3595
|
+
cashFeeRate: number;
|
|
3596
|
+
cashFeeAddDollarRate: number;
|
|
3597
|
+
terminalFeeRate: number;
|
|
3598
|
+
terminalFeeAddDollarRate: number;
|
|
3599
|
+
checkFeeRate: number;
|
|
3600
|
+
checkFeeAddDollarRate: number;
|
|
3601
|
+
otherFeeRate: number;
|
|
3602
|
+
otherFeeAddDollarRate: number;
|
|
3603
|
+
balanceFeeRate: number;
|
|
3604
|
+
balanceFeeAddDollarRate: number;
|
|
3605
|
+
address: Address;
|
|
3606
|
+
mainMedia: Media;
|
|
3607
|
+
brandings: OrganizationBranding[];
|
|
3608
|
+
brandingsV2?: OrganizationBranding[];
|
|
3609
|
+
}
|
|
3610
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3611
|
+
key?: string;
|
|
3612
|
+
vaule?: string;
|
|
3613
|
+
version: number;
|
|
3614
|
+
organization: Organization;
|
|
3615
|
+
}
|
|
3616
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3617
|
+
mainAdminUserId?: number;
|
|
3618
|
+
}
|
|
3619
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3620
|
+
organisationId: number | null;
|
|
3621
|
+
userId: number | null;
|
|
3622
|
+
}
|
|
3622
3623
|
export declare class LineItemDto {
|
|
3623
3624
|
id?: number;
|
|
3624
3625
|
orderId?: number;
|
|
@@ -3673,20 +3674,20 @@ export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
|
3673
3674
|
purchasingUserId: number;
|
|
3674
3675
|
slots: number[];
|
|
3675
3676
|
}
|
|
3676
|
-
export declare class InvoiceReservationItemsDto {
|
|
3677
|
-
slotsIds?: number[];
|
|
3678
|
-
addonsIds?: number[];
|
|
3679
|
-
addToOrderId?: number;
|
|
3680
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3681
|
-
}
|
|
3682
3677
|
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3683
3678
|
reservationTotalPrice: number;
|
|
3684
3679
|
}
|
|
3685
|
-
export declare class
|
|
3686
|
-
isInvoiced: boolean;
|
|
3680
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3687
3681
|
basicInfoData?: BaseInvoiceDto;
|
|
3688
3682
|
addToOrderId?: number;
|
|
3689
3683
|
}
|
|
3684
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3685
|
+
isInvoiced: boolean;
|
|
3686
|
+
}
|
|
3687
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3688
|
+
slotsIds?: number[];
|
|
3689
|
+
addonsIds?: number[];
|
|
3690
|
+
}
|
|
3690
3691
|
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3691
3692
|
slots: SlotDto[];
|
|
3692
3693
|
}
|
|
@@ -4046,6 +4047,25 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
4046
4047
|
privateNotesForSlots?: string;
|
|
4047
4048
|
slots?: Slot[];
|
|
4048
4049
|
}
|
|
4050
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4051
|
+
deletedAt?: Date;
|
|
4052
|
+
segmentId: number;
|
|
4053
|
+
segment?: Segment;
|
|
4054
|
+
slots?: Slot[];
|
|
4055
|
+
slotDurationType: string;
|
|
4056
|
+
durationEndsAfter: number;
|
|
4057
|
+
durationUnit: string;
|
|
4058
|
+
startDate?: Date;
|
|
4059
|
+
endDate?: Date;
|
|
4060
|
+
startTime: string;
|
|
4061
|
+
endTime: string;
|
|
4062
|
+
frequency: string;
|
|
4063
|
+
repeatEvery: number;
|
|
4064
|
+
repeatOn?: number[];
|
|
4065
|
+
repeatEndDate?: Date;
|
|
4066
|
+
numberOccurrences?: number;
|
|
4067
|
+
resources?: Resource[];
|
|
4068
|
+
}
|
|
4049
4069
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4050
4070
|
constructor();
|
|
4051
4071
|
defineIsReverted(): void;
|
|
@@ -4113,25 +4133,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4113
4133
|
changeLineItems?: LineItems[];
|
|
4114
4134
|
updatedLineItem?: LineItems;
|
|
4115
4135
|
}
|
|
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
4136
|
export declare class ChangeRolePermissionsDto {
|
|
4136
4137
|
permissionIds: number[];
|
|
4137
4138
|
}
|