@bondsports/types 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +472 -471
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -20,6 +13,13 @@ export declare class UserAnswersDto {
|
|
|
20
13
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
14
|
questionnaireIds: string;
|
|
22
15
|
}
|
|
16
|
+
export declare class BasicActivityTimesDto {
|
|
17
|
+
dayOfWeek: number;
|
|
18
|
+
close: string;
|
|
19
|
+
open: string;
|
|
20
|
+
availabilityStartDate?: string;
|
|
21
|
+
availabilityEndDate?: string;
|
|
22
|
+
}
|
|
23
23
|
export declare class FindBookingTypeSettingDto {
|
|
24
24
|
organizationId: number;
|
|
25
25
|
facilityId: number;
|
|
@@ -270,16 +270,6 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
270
270
|
userId: number;
|
|
271
271
|
familyAccountId: number;
|
|
272
272
|
}
|
|
273
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
274
|
-
organizationId: number;
|
|
275
|
-
}
|
|
276
|
-
export declare class GetGlCodeDto {
|
|
277
|
-
id: number;
|
|
278
|
-
organizationId: number;
|
|
279
|
-
code: string;
|
|
280
|
-
createdAt: Date;
|
|
281
|
-
updatedAt: Date;
|
|
282
|
-
}
|
|
283
273
|
export declare class FindOneParams {
|
|
284
274
|
id: number;
|
|
285
275
|
}
|
|
@@ -292,6 +282,16 @@ export declare class PaginationRangeQuery {
|
|
|
292
282
|
endPage: number;
|
|
293
283
|
itemsPerPage: number;
|
|
294
284
|
}
|
|
285
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
|
+
organizationId: number;
|
|
287
|
+
}
|
|
288
|
+
export declare class GetGlCodeDto {
|
|
289
|
+
id: number;
|
|
290
|
+
organizationId: number;
|
|
291
|
+
code: string;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
updatedAt: Date;
|
|
294
|
+
}
|
|
295
295
|
export declare class FindByProgramSeasonIdDto {
|
|
296
296
|
seasonId: number;
|
|
297
297
|
}
|
|
@@ -463,6 +463,24 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
471
|
+
}
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
483
|
+
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
468
486
|
}
|
|
@@ -684,23 +702,49 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
687
|
-
export declare class
|
|
705
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
688
706
|
organizationId: number;
|
|
689
|
-
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
707
|
+
programType?: ProgramTypesEnum;
|
|
692
708
|
}
|
|
693
|
-
export declare class
|
|
694
|
-
|
|
695
|
-
titleId: number;
|
|
709
|
+
export declare class FindProgramByIdDto {
|
|
710
|
+
programId: number;
|
|
696
711
|
}
|
|
697
|
-
export declare class
|
|
712
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
713
|
+
programId: number;
|
|
714
|
+
organizationId: number;
|
|
715
|
+
}
|
|
716
|
+
export declare class BaseProgramDto {
|
|
717
|
+
type: ProgramTypesEnum;
|
|
698
718
|
name: string;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
719
|
+
sport: SportsEnum;
|
|
720
|
+
minAge: string;
|
|
721
|
+
maxAge: string;
|
|
722
|
+
gender: GenderEnum;
|
|
723
|
+
level?: LevelOfPlayEnum[];
|
|
724
|
+
description?: string;
|
|
725
|
+
GL?: string;
|
|
726
|
+
status: PublishingStatusEnum;
|
|
727
|
+
organizationId: number;
|
|
728
|
+
userCreatorId: number;
|
|
729
|
+
highlights: ProgramHighlights[];
|
|
730
|
+
longDescription?: string;
|
|
731
|
+
requiredProductIds: number[];
|
|
732
|
+
}
|
|
733
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
734
|
+
}
|
|
735
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
736
|
+
programId: number;
|
|
737
|
+
mainMediaId: number;
|
|
738
|
+
}
|
|
739
|
+
export declare class UpdateProgramStatusDto {
|
|
740
|
+
programId: number;
|
|
741
|
+
status: PublishingStatusEnum;
|
|
742
|
+
}
|
|
743
|
+
export declare class ProgramHighlightDto {
|
|
744
|
+
data: string;
|
|
745
|
+
ordinal: number;
|
|
746
|
+
type: ProgramHighlightTypeEnum;
|
|
747
|
+
title: string;
|
|
704
748
|
}
|
|
705
749
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
750
|
programId: number;
|
|
@@ -893,50 +937,6 @@ export declare class MoveParticipantDto {
|
|
|
893
937
|
resourceId: number;
|
|
894
938
|
invoiceId: number;
|
|
895
939
|
}
|
|
896
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
897
|
-
organizationId: number;
|
|
898
|
-
programType?: ProgramTypesEnum;
|
|
899
|
-
}
|
|
900
|
-
export declare class FindProgramByIdDto {
|
|
901
|
-
programId: number;
|
|
902
|
-
}
|
|
903
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
904
|
-
programId: number;
|
|
905
|
-
organizationId: number;
|
|
906
|
-
}
|
|
907
|
-
export declare class BaseProgramDto {
|
|
908
|
-
type: ProgramTypesEnum;
|
|
909
|
-
name: string;
|
|
910
|
-
sport: SportsEnum;
|
|
911
|
-
minAge: string;
|
|
912
|
-
maxAge: string;
|
|
913
|
-
gender: GenderEnum;
|
|
914
|
-
level?: LevelOfPlayEnum[];
|
|
915
|
-
description?: string;
|
|
916
|
-
GL?: string;
|
|
917
|
-
status: PublishingStatusEnum;
|
|
918
|
-
organizationId: number;
|
|
919
|
-
userCreatorId: number;
|
|
920
|
-
highlights: ProgramHighlights[];
|
|
921
|
-
longDescription?: string;
|
|
922
|
-
requiredProductIds: number[];
|
|
923
|
-
}
|
|
924
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
925
|
-
}
|
|
926
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
927
|
-
programId: number;
|
|
928
|
-
mainMediaId: number;
|
|
929
|
-
}
|
|
930
|
-
export declare class UpdateProgramStatusDto {
|
|
931
|
-
programId: number;
|
|
932
|
-
status: PublishingStatusEnum;
|
|
933
|
-
}
|
|
934
|
-
export declare class ProgramHighlightDto {
|
|
935
|
-
data: string;
|
|
936
|
-
ordinal: number;
|
|
937
|
-
type: ProgramHighlightTypeEnum;
|
|
938
|
-
title: string;
|
|
939
|
-
}
|
|
940
940
|
export declare class PurchasePaymentDto {
|
|
941
941
|
token: string;
|
|
942
942
|
type: PaymentMethodTypeEnum;
|
|
@@ -1123,17 +1123,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1123
1123
|
proudct: Product;
|
|
1124
1124
|
event: Event;
|
|
1125
1125
|
}
|
|
1126
|
-
export declare class Address extends BondBaseEntity {
|
|
1127
|
-
city?: string;
|
|
1128
|
-
street?: string;
|
|
1129
|
-
streetNum?: string;
|
|
1130
|
-
aptNum?: string;
|
|
1131
|
-
zip?: string;
|
|
1132
|
-
country?: string;
|
|
1133
|
-
state?: string;
|
|
1134
|
-
geo: any;
|
|
1135
|
-
deletedAt?: Date;
|
|
1136
|
-
}
|
|
1137
1126
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1138
1127
|
questionId: number;
|
|
1139
1128
|
question?: Questions;
|
|
@@ -1147,6 +1136,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1147
1136
|
metaData: any | null;
|
|
1148
1137
|
questionText: string | null;
|
|
1149
1138
|
}
|
|
1139
|
+
export declare class Address extends BondBaseEntity {
|
|
1140
|
+
city?: string;
|
|
1141
|
+
street?: string;
|
|
1142
|
+
streetNum?: string;
|
|
1143
|
+
aptNum?: string;
|
|
1144
|
+
zip?: string;
|
|
1145
|
+
country?: string;
|
|
1146
|
+
state?: string;
|
|
1147
|
+
geo: any;
|
|
1148
|
+
deletedAt?: Date;
|
|
1149
|
+
}
|
|
1150
1150
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1151
1151
|
questionnaireId: number;
|
|
1152
1152
|
userId?: number;
|
|
@@ -1194,11 +1194,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1194
1194
|
publicNotes?: string;
|
|
1195
1195
|
slotType?: SlotTypeEnum;
|
|
1196
1196
|
}
|
|
1197
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1198
|
-
area: string;
|
|
1199
|
-
key: string;
|
|
1200
|
-
value: string;
|
|
1201
|
-
}
|
|
1202
1197
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1203
1198
|
parentId: number;
|
|
1204
1199
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1209,6 +1204,31 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1209
1204
|
endTimeInDay: string;
|
|
1210
1205
|
directBookingFor: DirectBookingTypesEnum;
|
|
1211
1206
|
}
|
|
1207
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1208
|
+
area: string;
|
|
1209
|
+
key: string;
|
|
1210
|
+
value: string;
|
|
1211
|
+
}
|
|
1212
|
+
export declare class Connection extends BondBaseEntity {
|
|
1213
|
+
connType: number | null;
|
|
1214
|
+
from: number | null;
|
|
1215
|
+
fromType: string | null;
|
|
1216
|
+
to: number | null;
|
|
1217
|
+
toType: string | null;
|
|
1218
|
+
status: number | null;
|
|
1219
|
+
creatorId: number | null;
|
|
1220
|
+
creatorType: string | null;
|
|
1221
|
+
userCreatorId: number | null;
|
|
1222
|
+
ownerId: number | null;
|
|
1223
|
+
}
|
|
1224
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1225
|
+
creditAmount: number;
|
|
1226
|
+
paymentProcessorId: string;
|
|
1227
|
+
userId: number;
|
|
1228
|
+
paymentId: number;
|
|
1229
|
+
invoiceId: number;
|
|
1230
|
+
creditPaymentId: number;
|
|
1231
|
+
}
|
|
1212
1232
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
1233
|
name: string | null;
|
|
1214
1234
|
entityId: number | null;
|
|
@@ -1237,32 +1257,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1237
1257
|
mainMedia: Media;
|
|
1238
1258
|
reservations?: Reservation[];
|
|
1239
1259
|
}
|
|
1240
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1241
|
-
creditAmount: number;
|
|
1242
|
-
paymentProcessorId: string;
|
|
1243
|
-
userId: number;
|
|
1244
|
-
paymentId: number;
|
|
1245
|
-
invoiceId: number;
|
|
1246
|
-
creditPaymentId: number;
|
|
1247
|
-
}
|
|
1248
|
-
export declare class Connection extends BondBaseEntity {
|
|
1249
|
-
connType: number | null;
|
|
1250
|
-
from: number | null;
|
|
1251
|
-
fromType: string | null;
|
|
1252
|
-
to: number | null;
|
|
1253
|
-
toType: string | null;
|
|
1254
|
-
status: number | null;
|
|
1255
|
-
creatorId: number | null;
|
|
1256
|
-
creatorType: string | null;
|
|
1257
|
-
userCreatorId: number | null;
|
|
1258
|
-
ownerId: number | null;
|
|
1259
|
-
}
|
|
1260
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1261
|
-
customerId?: number;
|
|
1262
|
-
description: string;
|
|
1263
|
-
pinToTop?: boolean;
|
|
1264
|
-
customer: Customer;
|
|
1265
|
-
}
|
|
1266
1260
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1267
1261
|
customerId: number;
|
|
1268
1262
|
userId: number;
|
|
@@ -1275,6 +1269,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1275
1269
|
invoice: Invoice;
|
|
1276
1270
|
payment: Payment;
|
|
1277
1271
|
}
|
|
1272
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
customerId?: number;
|
|
1274
|
+
description: string;
|
|
1275
|
+
pinToTop?: boolean;
|
|
1276
|
+
customer: Customer;
|
|
1277
|
+
}
|
|
1278
1278
|
export declare class Division extends BondBaseEntity {
|
|
1279
1279
|
name: string;
|
|
1280
1280
|
ordinal?: number;
|
|
@@ -1311,92 +1311,10 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1311
1311
|
event: Event;
|
|
1312
1312
|
purchasedResource: PurchasedResource;
|
|
1313
1313
|
}
|
|
1314
|
-
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1315
|
-
constructor();
|
|
1316
|
-
defineCalculatedDateTimeProps(): void;
|
|
1317
|
-
title: string | null;
|
|
1318
|
-
description: string | null;
|
|
1319
|
-
eventType: number | null;
|
|
1320
|
-
startDate: Date | null;
|
|
1321
|
-
endDate: Date | null;
|
|
1322
|
-
price: number | null;
|
|
1323
|
-
venueName: string | null;
|
|
1324
|
-
status: EventStatusEnum;
|
|
1325
|
-
private: boolean | null;
|
|
1326
|
-
guestsCanInvite: boolean | null;
|
|
1327
|
-
venueId: number | null;
|
|
1328
|
-
addressId: number | null;
|
|
1329
|
-
participantsLimit: number | null;
|
|
1330
|
-
parentId: number | null;
|
|
1331
|
-
parentType: string | null;
|
|
1332
|
-
timezone: string | null;
|
|
1333
|
-
eventSubType: string | null;
|
|
1334
|
-
eventSubId: number | null;
|
|
1335
|
-
metaData: any | null;
|
|
1336
|
-
groupingId: string | null;
|
|
1337
|
-
redirectUri: string | null;
|
|
1338
|
-
externalId: string | null;
|
|
1339
|
-
paymentSettings: any | null;
|
|
1340
|
-
whoCanJoin: string | null;
|
|
1341
|
-
spaceId?: number;
|
|
1342
|
-
bookedSessionId: number | null;
|
|
1343
|
-
creatorId: number | null;
|
|
1344
|
-
creatorType: string | null;
|
|
1345
|
-
userCreatorId: number | null;
|
|
1346
|
-
ownerId: number | null;
|
|
1347
|
-
sports: number[] | null;
|
|
1348
|
-
isVerified: boolean | null;
|
|
1349
|
-
mainMediaId: number | null;
|
|
1350
|
-
minAge: number | null;
|
|
1351
|
-
maxAge: number | null;
|
|
1352
|
-
gender: number | null;
|
|
1353
|
-
questionnaireId: number | null;
|
|
1354
|
-
eventAttendees: EventAttendee[];
|
|
1355
|
-
deletedAt?: Date;
|
|
1356
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1357
|
-
startDateString: string;
|
|
1358
|
-
endDateString: string;
|
|
1359
|
-
startTime: string;
|
|
1360
|
-
endTime: string;
|
|
1361
|
-
publicNotes?: string;
|
|
1362
|
-
privateNotes?: string;
|
|
1363
|
-
productResources: ProductResource[];
|
|
1364
|
-
parentSession: ProgramSeason;
|
|
1365
|
-
activityTimes: ActivityTimes[];
|
|
1366
|
-
slots: Slot[];
|
|
1367
|
-
purchasedResources: PurchasedResource[];
|
|
1368
|
-
program?: Program;
|
|
1369
|
-
session?: ProgramSeason;
|
|
1370
|
-
segment?: ProgramSeason;
|
|
1371
|
-
}
|
|
1372
1314
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1373
1315
|
facilityId: number;
|
|
1374
1316
|
resourceId: number;
|
|
1375
1317
|
}
|
|
1376
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1377
|
-
name: string;
|
|
1378
|
-
description?: string;
|
|
1379
|
-
addressId: number;
|
|
1380
|
-
address: Address;
|
|
1381
|
-
amenities?: number[];
|
|
1382
|
-
timezone: string;
|
|
1383
|
-
creatorId: number;
|
|
1384
|
-
creatorType: string;
|
|
1385
|
-
userCreatorId: number;
|
|
1386
|
-
mainMediaId: number;
|
|
1387
|
-
mainMedia: Media;
|
|
1388
|
-
publishedDate?: Date;
|
|
1389
|
-
isPublished: boolean;
|
|
1390
|
-
sports?: number[];
|
|
1391
|
-
info?: string;
|
|
1392
|
-
longDescription?: string;
|
|
1393
|
-
deletedAt?: Date;
|
|
1394
|
-
openingTimes: OpeningTime[];
|
|
1395
|
-
resources: Resource[];
|
|
1396
|
-
spaces: Resource[];
|
|
1397
|
-
programSeasons: ProgramSeason[];
|
|
1398
|
-
linkSEO: string;
|
|
1399
|
-
}
|
|
1400
1318
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1401
1319
|
name: string | null;
|
|
1402
1320
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
@@ -1652,6 +1570,64 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1652
1570
|
user: User;
|
|
1653
1571
|
userId: number | null;
|
|
1654
1572
|
}
|
|
1573
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1574
|
+
constructor();
|
|
1575
|
+
defineCalculatedDateTimeProps(): void;
|
|
1576
|
+
title: string | null;
|
|
1577
|
+
description: string | null;
|
|
1578
|
+
eventType: number | null;
|
|
1579
|
+
startDate: Date | null;
|
|
1580
|
+
endDate: Date | null;
|
|
1581
|
+
price: number | null;
|
|
1582
|
+
venueName: string | null;
|
|
1583
|
+
status: EventStatusEnum;
|
|
1584
|
+
private: boolean | null;
|
|
1585
|
+
guestsCanInvite: boolean | null;
|
|
1586
|
+
venueId: number | null;
|
|
1587
|
+
addressId: number | null;
|
|
1588
|
+
participantsLimit: number | null;
|
|
1589
|
+
parentId: number | null;
|
|
1590
|
+
parentType: string | null;
|
|
1591
|
+
timezone: string | null;
|
|
1592
|
+
eventSubType: string | null;
|
|
1593
|
+
eventSubId: number | null;
|
|
1594
|
+
metaData: any | null;
|
|
1595
|
+
groupingId: string | null;
|
|
1596
|
+
redirectUri: string | null;
|
|
1597
|
+
externalId: string | null;
|
|
1598
|
+
paymentSettings: any | null;
|
|
1599
|
+
whoCanJoin: string | null;
|
|
1600
|
+
spaceId?: number;
|
|
1601
|
+
bookedSessionId: number | null;
|
|
1602
|
+
creatorId: number | null;
|
|
1603
|
+
creatorType: string | null;
|
|
1604
|
+
userCreatorId: number | null;
|
|
1605
|
+
ownerId: number | null;
|
|
1606
|
+
sports: number[] | null;
|
|
1607
|
+
isVerified: boolean | null;
|
|
1608
|
+
mainMediaId: number | null;
|
|
1609
|
+
minAge: number | null;
|
|
1610
|
+
maxAge: number | null;
|
|
1611
|
+
gender: number | null;
|
|
1612
|
+
questionnaireId: number | null;
|
|
1613
|
+
eventAttendees: EventAttendee[];
|
|
1614
|
+
deletedAt?: Date;
|
|
1615
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1616
|
+
startDateString: string;
|
|
1617
|
+
endDateString: string;
|
|
1618
|
+
startTime: string;
|
|
1619
|
+
endTime: string;
|
|
1620
|
+
publicNotes?: string;
|
|
1621
|
+
privateNotes?: string;
|
|
1622
|
+
productResources: ProductResource[];
|
|
1623
|
+
parentSession: ProgramSeason;
|
|
1624
|
+
activityTimes: ActivityTimes[];
|
|
1625
|
+
slots: Slot[];
|
|
1626
|
+
purchasedResources: PurchasedResource[];
|
|
1627
|
+
program?: Program;
|
|
1628
|
+
session?: ProgramSeason;
|
|
1629
|
+
segment?: ProgramSeason;
|
|
1630
|
+
}
|
|
1655
1631
|
export declare class Media extends BondBaseEntity {
|
|
1656
1632
|
url: string;
|
|
1657
1633
|
name: string | null;
|
|
@@ -1671,26 +1647,6 @@ export declare class Media extends BondBaseEntity {
|
|
|
1671
1647
|
programs: Program[];
|
|
1672
1648
|
memberships: Membership[];
|
|
1673
1649
|
}
|
|
1674
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1675
|
-
membership: Membership;
|
|
1676
|
-
membershipId: number;
|
|
1677
|
-
productUserId: number;
|
|
1678
|
-
productUser?: ProductsUsers;
|
|
1679
|
-
userId: number;
|
|
1680
|
-
membershipType: MembershipTypeEnum;
|
|
1681
|
-
durationMonths?: number;
|
|
1682
|
-
startDate?: string;
|
|
1683
|
-
endDate?: string;
|
|
1684
|
-
renewalOfMemberId?: number;
|
|
1685
|
-
isAutoRenew?: boolean;
|
|
1686
|
-
nextPaymentMethodId?: string;
|
|
1687
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1688
|
-
answerTitleIds?: number[];
|
|
1689
|
-
cancelledAt?: Date | null;
|
|
1690
|
-
cancellationReason?: string;
|
|
1691
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1692
|
-
isImported?: boolean;
|
|
1693
|
-
}
|
|
1694
1650
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1695
1651
|
name: string;
|
|
1696
1652
|
description?: string;
|
|
@@ -1719,6 +1675,26 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1719
1675
|
isAutoRenew?: boolean;
|
|
1720
1676
|
purchasedResources: PurchasedResource[];
|
|
1721
1677
|
}
|
|
1678
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1679
|
+
membership: Membership;
|
|
1680
|
+
membershipId: number;
|
|
1681
|
+
productUserId: number;
|
|
1682
|
+
productUser?: ProductsUsers;
|
|
1683
|
+
userId: number;
|
|
1684
|
+
membershipType: MembershipTypeEnum;
|
|
1685
|
+
durationMonths?: number;
|
|
1686
|
+
startDate?: string;
|
|
1687
|
+
endDate?: string;
|
|
1688
|
+
renewalOfMemberId?: number;
|
|
1689
|
+
isAutoRenew?: boolean;
|
|
1690
|
+
nextPaymentMethodId?: string;
|
|
1691
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1692
|
+
answerTitleIds?: number[];
|
|
1693
|
+
cancelledAt?: Date | null;
|
|
1694
|
+
cancellationReason?: string;
|
|
1695
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1696
|
+
isImported?: boolean;
|
|
1697
|
+
}
|
|
1722
1698
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1723
1699
|
email: string | null;
|
|
1724
1700
|
notificationType: NotificationTypeEnum | null;
|
|
@@ -1736,8 +1712,29 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1736
1712
|
deletedAt?: Date;
|
|
1737
1713
|
facility: Facility;
|
|
1738
1714
|
}
|
|
1739
|
-
export declare class
|
|
1740
|
-
|
|
1715
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1716
|
+
name: string;
|
|
1717
|
+
description?: string;
|
|
1718
|
+
addressId: number;
|
|
1719
|
+
address: Address;
|
|
1720
|
+
amenities?: number[];
|
|
1721
|
+
timezone: string;
|
|
1722
|
+
creatorId: number;
|
|
1723
|
+
creatorType: string;
|
|
1724
|
+
userCreatorId: number;
|
|
1725
|
+
mainMediaId: number;
|
|
1726
|
+
mainMedia: Media;
|
|
1727
|
+
publishedDate?: Date;
|
|
1728
|
+
isPublished: boolean;
|
|
1729
|
+
sports?: number[];
|
|
1730
|
+
info?: string;
|
|
1731
|
+
longDescription?: string;
|
|
1732
|
+
deletedAt?: Date;
|
|
1733
|
+
openingTimes: OpeningTime[];
|
|
1734
|
+
resources: Resource[];
|
|
1735
|
+
spaces: Resource[];
|
|
1736
|
+
programSeasons: ProgramSeason[];
|
|
1737
|
+
linkSEO: string;
|
|
1741
1738
|
}
|
|
1742
1739
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1743
1740
|
name?: string;
|
|
@@ -1793,18 +1790,15 @@ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity
|
|
|
1793
1790
|
failureIndex: number;
|
|
1794
1791
|
waitingDays: number;
|
|
1795
1792
|
}
|
|
1793
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1794
|
+
organizationId: number;
|
|
1795
|
+
}
|
|
1796
1796
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1797
1797
|
paymentInstallmentId?: number;
|
|
1798
1798
|
invoiceId: number;
|
|
1799
1799
|
reason: EFailedPaymentReasons;
|
|
1800
1800
|
errorMessage: string;
|
|
1801
1801
|
}
|
|
1802
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1803
|
-
paymentPlanId: number;
|
|
1804
|
-
paymentDate: Date;
|
|
1805
|
-
deletedAt?: Date;
|
|
1806
|
-
paymentPlan: ProductPaymentPlan;
|
|
1807
|
-
}
|
|
1808
1802
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1809
1803
|
content: string;
|
|
1810
1804
|
creatingUserId: number;
|
|
@@ -1814,6 +1808,12 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1814
1808
|
paymentId: number;
|
|
1815
1809
|
payment: Payment;
|
|
1816
1810
|
}
|
|
1811
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1812
|
+
paymentPlanId: number;
|
|
1813
|
+
paymentDate: Date;
|
|
1814
|
+
deletedAt?: Date;
|
|
1815
|
+
paymentPlan: ProductPaymentPlan;
|
|
1816
|
+
}
|
|
1817
1817
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1818
1818
|
userId: number | null;
|
|
1819
1819
|
ownerId: number | null;
|
|
@@ -1996,28 +1996,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1996
1996
|
program: Program;
|
|
1997
1997
|
deletedAt?: Date;
|
|
1998
1998
|
}
|
|
1999
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2000
|
-
productUserId: number;
|
|
2001
|
-
resourceId: number;
|
|
2002
|
-
resourceType: ResourceNameTypeEnum;
|
|
2003
|
-
status: PurchasedResourceStatusEnum;
|
|
2004
|
-
startDate?: string;
|
|
2005
|
-
startTime?: string;
|
|
2006
|
-
endDate?: string;
|
|
2007
|
-
endTime?: string;
|
|
2008
|
-
productUser?: ProductsUsers;
|
|
2009
|
-
lineItem?: LineItems;
|
|
2010
|
-
eventAttendee?: EventAttendee;
|
|
2011
|
-
seasonAttendee?: SeasonAttendee;
|
|
2012
|
-
leagueAttendee?: SeasonPool;
|
|
2013
|
-
membership?: Membership;
|
|
2014
|
-
program?: Program;
|
|
2015
|
-
programSeason?: ProgramSeason;
|
|
2016
|
-
leagueSeason?: LeagueSeason;
|
|
2017
|
-
space?: Resource;
|
|
2018
|
-
product?: Product;
|
|
2019
|
-
event?: Event;
|
|
2020
|
-
}
|
|
2021
1999
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
2022
2000
|
programId: number;
|
|
2023
2001
|
name: string;
|
|
@@ -2073,10 +2051,46 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2073
2051
|
facility: Facility;
|
|
2074
2052
|
purchasedResources: PurchasedResource[];
|
|
2075
2053
|
}
|
|
2054
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2055
|
+
productUserId: number;
|
|
2056
|
+
resourceId: number;
|
|
2057
|
+
resourceType: ResourceNameTypeEnum;
|
|
2058
|
+
status: PurchasedResourceStatusEnum;
|
|
2059
|
+
startDate?: string;
|
|
2060
|
+
startTime?: string;
|
|
2061
|
+
endDate?: string;
|
|
2062
|
+
endTime?: string;
|
|
2063
|
+
productUser?: ProductsUsers;
|
|
2064
|
+
lineItem?: LineItems;
|
|
2065
|
+
eventAttendee?: EventAttendee;
|
|
2066
|
+
seasonAttendee?: SeasonAttendee;
|
|
2067
|
+
leagueAttendee?: SeasonPool;
|
|
2068
|
+
membership?: Membership;
|
|
2069
|
+
program?: Program;
|
|
2070
|
+
programSeason?: ProgramSeason;
|
|
2071
|
+
leagueSeason?: LeagueSeason;
|
|
2072
|
+
space?: Resource;
|
|
2073
|
+
product?: Product;
|
|
2074
|
+
event?: Event;
|
|
2075
|
+
}
|
|
2076
2076
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2077
2077
|
title: string | null;
|
|
2078
2078
|
answerTitle: AnswerTitle;
|
|
2079
2079
|
}
|
|
2080
|
+
export declare class Questions extends BondBaseEntity {
|
|
2081
|
+
questionType: string | null;
|
|
2082
|
+
ordinal: number | null;
|
|
2083
|
+
pageOrdinal: number | null;
|
|
2084
|
+
isActive: boolean | null;
|
|
2085
|
+
isMandatory: boolean | null;
|
|
2086
|
+
metaData: any | null;
|
|
2087
|
+
question: string | null;
|
|
2088
|
+
creatorId: number | null;
|
|
2089
|
+
creatorType: string | null;
|
|
2090
|
+
userCreatorId: number | null;
|
|
2091
|
+
ownerId: number | null;
|
|
2092
|
+
questionnaireId: number | null;
|
|
2093
|
+
}
|
|
2080
2094
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2081
2095
|
reason: string;
|
|
2082
2096
|
ordinal: number;
|
|
@@ -2125,20 +2139,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2125
2139
|
publicNotes?: string;
|
|
2126
2140
|
slots?: Slot[];
|
|
2127
2141
|
}
|
|
2128
|
-
export declare class Questions extends BondBaseEntity {
|
|
2129
|
-
questionType: string | null;
|
|
2130
|
-
ordinal: number | null;
|
|
2131
|
-
pageOrdinal: number | null;
|
|
2132
|
-
isActive: boolean | null;
|
|
2133
|
-
isMandatory: boolean | null;
|
|
2134
|
-
metaData: any | null;
|
|
2135
|
-
question: string | null;
|
|
2136
|
-
creatorId: number | null;
|
|
2137
|
-
creatorType: string | null;
|
|
2138
|
-
userCreatorId: number | null;
|
|
2139
|
-
ownerId: number | null;
|
|
2140
|
-
questionnaireId: number | null;
|
|
2141
|
-
}
|
|
2142
2142
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2143
2143
|
name: string;
|
|
2144
2144
|
resourceType: ResourceTypeEnum;
|
|
@@ -2167,13 +2167,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2167
2167
|
purchasedResources: PurchasedResource[];
|
|
2168
2168
|
linkSEO: string;
|
|
2169
2169
|
}
|
|
2170
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2171
|
-
name: string;
|
|
2172
|
-
facilityId: number;
|
|
2173
|
-
parentSlotId: number;
|
|
2174
|
-
childrenSlotIds: number[];
|
|
2175
|
-
deletedAt?: Date;
|
|
2176
|
-
}
|
|
2177
2170
|
export declare class School extends BondBaseEntity {
|
|
2178
2171
|
name: string | null;
|
|
2179
2172
|
alias: string[] | null;
|
|
@@ -2182,12 +2175,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2182
2175
|
phone: string | null;
|
|
2183
2176
|
dataId: number | null;
|
|
2184
2177
|
}
|
|
2185
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2186
|
-
name: string | null;
|
|
2187
|
-
ordinal: number | null;
|
|
2188
|
-
seasonId: number | null;
|
|
2189
|
-
color: string | null;
|
|
2190
|
-
}
|
|
2191
2178
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2192
2179
|
status: RequestStatusEnum;
|
|
2193
2180
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2202,6 +2189,19 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2202
2189
|
deletedAt?: Date;
|
|
2203
2190
|
purchasedResource: PurchasedResource;
|
|
2204
2191
|
}
|
|
2192
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2193
|
+
name: string;
|
|
2194
|
+
facilityId: number;
|
|
2195
|
+
parentSlotId: number;
|
|
2196
|
+
childrenSlotIds: number[];
|
|
2197
|
+
deletedAt?: Date;
|
|
2198
|
+
}
|
|
2199
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2200
|
+
name: string | null;
|
|
2201
|
+
ordinal: number | null;
|
|
2202
|
+
seasonId: number | null;
|
|
2203
|
+
color: string | null;
|
|
2204
|
+
}
|
|
2205
2205
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2206
2206
|
seasonId?: number;
|
|
2207
2207
|
userId?: number;
|
|
@@ -2217,6 +2217,16 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2217
2217
|
purchasedResource: PurchasedResource;
|
|
2218
2218
|
season: LeagueSeason;
|
|
2219
2219
|
}
|
|
2220
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2221
|
+
seasonId: number | null;
|
|
2222
|
+
teamId: number | null;
|
|
2223
|
+
standingPosition: number | null;
|
|
2224
|
+
statistics: any | null;
|
|
2225
|
+
points: number | null;
|
|
2226
|
+
divisionId: number | null;
|
|
2227
|
+
metaData: any | null;
|
|
2228
|
+
team: Team;
|
|
2229
|
+
}
|
|
2220
2230
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2221
2231
|
blockingSpaceId: number;
|
|
2222
2232
|
blockedSpaceId: number;
|
|
@@ -2232,24 +2242,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2232
2242
|
subcategories: Subcategory[];
|
|
2233
2243
|
shifts?: Shift[];
|
|
2234
2244
|
}
|
|
2235
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2236
|
-
seasonId: number | null;
|
|
2237
|
-
teamId: number | null;
|
|
2238
|
-
standingPosition: number | null;
|
|
2239
|
-
statistics: any | null;
|
|
2240
|
-
points: number | null;
|
|
2241
|
-
divisionId: number | null;
|
|
2242
|
-
metaData: any | null;
|
|
2243
|
-
team: Team;
|
|
2244
|
-
}
|
|
2245
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2246
|
-
productType: ProductTypesEnum;
|
|
2247
|
-
name: string;
|
|
2248
|
-
ordinal?: number;
|
|
2249
|
-
deletedAt?: Date;
|
|
2250
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2251
|
-
stations: Station[];
|
|
2252
|
-
}
|
|
2253
2245
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2254
2246
|
stationId: number;
|
|
2255
2247
|
subcategoryId: number;
|
|
@@ -2258,23 +2250,13 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2258
2250
|
station: Station;
|
|
2259
2251
|
subcategory: Subcategory;
|
|
2260
2252
|
}
|
|
2261
|
-
export declare class
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
user: User;
|
|
2269
|
-
}
|
|
2270
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2271
|
-
email: string;
|
|
2272
|
-
teamId: number;
|
|
2273
|
-
invitedUserId?: number;
|
|
2274
|
-
userCreatorId: number;
|
|
2275
|
-
token: string;
|
|
2276
|
-
tokenExpirationDate: Date;
|
|
2277
|
-
isUsed: boolean;
|
|
2253
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2254
|
+
productType: ProductTypesEnum;
|
|
2255
|
+
name: string;
|
|
2256
|
+
ordinal?: number;
|
|
2257
|
+
deletedAt?: Date;
|
|
2258
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2259
|
+
stations: Station[];
|
|
2278
2260
|
}
|
|
2279
2261
|
export declare class Team extends BondBaseEntity {
|
|
2280
2262
|
name: string | null;
|
|
@@ -2310,6 +2292,24 @@ export declare class Team extends BondBaseEntity {
|
|
|
2310
2292
|
gender: number | null;
|
|
2311
2293
|
questionnaireId: number | null;
|
|
2312
2294
|
}
|
|
2295
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2296
|
+
email: string;
|
|
2297
|
+
teamId: number;
|
|
2298
|
+
invitedUserId?: number;
|
|
2299
|
+
userCreatorId: number;
|
|
2300
|
+
token: string;
|
|
2301
|
+
tokenExpirationDate: Date;
|
|
2302
|
+
isUsed: boolean;
|
|
2303
|
+
}
|
|
2304
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2305
|
+
teamId: number | null;
|
|
2306
|
+
userId: number | null;
|
|
2307
|
+
paymentId: number | null;
|
|
2308
|
+
hasPaid: boolean | null;
|
|
2309
|
+
status: TeamMemberStatusEnum | null;
|
|
2310
|
+
role: TeamMemberRoleEnum;
|
|
2311
|
+
user: User;
|
|
2312
|
+
}
|
|
2313
2313
|
export declare class User extends BondBaseEntity {
|
|
2314
2314
|
firstName: string | null;
|
|
2315
2315
|
lastName: string | null;
|
|
@@ -2349,6 +2349,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2349
2349
|
invoiceNotes: InvoiceNote[];
|
|
2350
2350
|
paymentNotes: PaymentNote[];
|
|
2351
2351
|
}
|
|
2352
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2353
|
+
entityId: number | null;
|
|
2354
|
+
userId: number | null;
|
|
2355
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2356
|
+
user: User;
|
|
2357
|
+
}
|
|
2352
2358
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2353
2359
|
familyAccountId: number;
|
|
2354
2360
|
userId: number;
|
|
@@ -2357,12 +2363,6 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2357
2363
|
familyAccount: FamilyAccount;
|
|
2358
2364
|
deletedAt?: Date;
|
|
2359
2365
|
}
|
|
2360
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
-
entityId: number | null;
|
|
2362
|
-
userId: number | null;
|
|
2363
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
-
user: User;
|
|
2365
|
-
}
|
|
2366
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2367
2367
|
userId: number;
|
|
2368
2368
|
failCount: number;
|
|
@@ -2634,6 +2634,7 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2634
2634
|
BALANCE = "balance",
|
|
2635
2635
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2636
2636
|
OTHER = "other",
|
|
2637
|
+
LOST_DEBT = "lost-debt",
|
|
2637
2638
|
MIGRATED = "migrated",
|
|
2638
2639
|
VOID = "void",
|
|
2639
2640
|
GIFT_CARD = "gift-card"
|
|
@@ -3333,60 +3334,12 @@ export declare class ImportedInvoiceDto {
|
|
|
3333
3334
|
lines: any;
|
|
3334
3335
|
}
|
|
3335
3336
|
export declare class ImportedPaymentDto {
|
|
3336
|
-
invoiceID: string;
|
|
3337
|
-
type: ImportPaymentTypeEnum;
|
|
3338
|
-
description: string;
|
|
3339
|
-
paid: string;
|
|
3340
|
-
date: string;
|
|
3341
|
-
time: string;
|
|
3342
|
-
}
|
|
3343
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3344
|
-
name?: string;
|
|
3345
|
-
genderStr?: string;
|
|
3346
|
-
parentID?: string;
|
|
3347
|
-
partnerID?: string;
|
|
3348
|
-
membershipName?: string;
|
|
3349
|
-
membershipExpDate?: string;
|
|
3350
|
-
membershipCreationDate?: string;
|
|
3351
|
-
bondMembershipID?: number;
|
|
3352
|
-
}
|
|
3353
|
-
export declare class AddFamilyDto {
|
|
3354
|
-
parents: AddImportedCustomerDto[];
|
|
3355
|
-
children: AddImportedCustomerDto[];
|
|
3356
|
-
}
|
|
3357
|
-
export declare class ProductIdsDto {
|
|
3358
|
-
productIds?: number[];
|
|
3359
|
-
}
|
|
3360
|
-
export declare class ProductImportDto {
|
|
3361
|
-
product: Product;
|
|
3362
|
-
prices: Price[];
|
|
3363
|
-
resourceIds: number[];
|
|
3364
|
-
oldId: number;
|
|
3365
|
-
}
|
|
3366
|
-
export declare class PunchPassDto {
|
|
3367
|
-
CustomerID: string;
|
|
3368
|
-
QuantityLeft: number;
|
|
3369
|
-
BondProgramID: number;
|
|
3370
|
-
BondSessionID: number;
|
|
3371
|
-
ProductID: number;
|
|
3372
|
-
}
|
|
3373
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3374
|
-
entityType: string;
|
|
3375
|
-
entityId: number;
|
|
3376
|
-
}
|
|
3377
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3378
|
-
matchId: number | null;
|
|
3379
|
-
ordinal: number | null;
|
|
3380
|
-
outcomeOrdinal: number | null;
|
|
3381
|
-
resultMetaData: any | null;
|
|
3382
|
-
points: number | null;
|
|
3383
|
-
score: number | null;
|
|
3384
|
-
gameSlotId: number | null;
|
|
3385
|
-
}
|
|
3386
|
-
export declare class Matches extends BondBaseEntity {
|
|
3387
|
-
eventId: number | null;
|
|
3388
|
-
status: number | null;
|
|
3389
|
-
excludeStandings: boolean | null;
|
|
3337
|
+
invoiceID: string;
|
|
3338
|
+
type: ImportPaymentTypeEnum;
|
|
3339
|
+
description: string;
|
|
3340
|
+
paid: string;
|
|
3341
|
+
date: string;
|
|
3342
|
+
time: string;
|
|
3390
3343
|
}
|
|
3391
3344
|
export declare class ImportedSlotProductDto {
|
|
3392
3345
|
slotID?: string;
|
|
@@ -3439,18 +3392,39 @@ export declare class ImportedReservationDto {
|
|
|
3439
3392
|
slots?: ImportedSlotDto[];
|
|
3440
3393
|
addons?: ImportedSlotProductDto[];
|
|
3441
3394
|
}
|
|
3442
|
-
export declare class
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3395
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3396
|
+
name?: string;
|
|
3397
|
+
genderStr?: string;
|
|
3398
|
+
parentID?: string;
|
|
3399
|
+
partnerID?: string;
|
|
3400
|
+
membershipName?: string;
|
|
3401
|
+
membershipExpDate?: string;
|
|
3402
|
+
membershipCreationDate?: string;
|
|
3403
|
+
bondMembershipID?: number;
|
|
3448
3404
|
}
|
|
3449
|
-
export declare class
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3405
|
+
export declare class AddFamilyDto {
|
|
3406
|
+
parents: AddImportedCustomerDto[];
|
|
3407
|
+
children: AddImportedCustomerDto[];
|
|
3408
|
+
}
|
|
3409
|
+
export declare class ProductIdsDto {
|
|
3410
|
+
productIds?: number[];
|
|
3411
|
+
}
|
|
3412
|
+
export declare class ProductImportDto {
|
|
3413
|
+
product: Product;
|
|
3414
|
+
prices: Price[];
|
|
3415
|
+
resourceIds: number[];
|
|
3416
|
+
oldId: number;
|
|
3417
|
+
}
|
|
3418
|
+
export declare class PunchPassDto {
|
|
3419
|
+
CustomerID: string;
|
|
3420
|
+
QuantityLeft: number;
|
|
3421
|
+
BondProgramID: number;
|
|
3422
|
+
BondSessionID: number;
|
|
3423
|
+
ProductID: number;
|
|
3424
|
+
}
|
|
3425
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3426
|
+
entityType: string;
|
|
3427
|
+
entityId: number;
|
|
3454
3428
|
}
|
|
3455
3429
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3456
3430
|
teamId: number | null;
|
|
@@ -3470,11 +3444,12 @@ export interface ValidationReason {
|
|
|
3470
3444
|
valid: boolean;
|
|
3471
3445
|
reason?: string;
|
|
3472
3446
|
}
|
|
3473
|
-
export declare class
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3447
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3448
|
+
roundId: number;
|
|
3449
|
+
eventId: number;
|
|
3450
|
+
seriesId: number | null;
|
|
3451
|
+
createdAt: Date;
|
|
3452
|
+
updatedAt: Date;
|
|
3478
3453
|
}
|
|
3479
3454
|
export interface PaymentStatus {
|
|
3480
3455
|
parentId: number;
|
|
@@ -3493,6 +3468,36 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3493
3468
|
code: string;
|
|
3494
3469
|
config?: any;
|
|
3495
3470
|
}
|
|
3471
|
+
export declare class CreateMonitorConfigDto {
|
|
3472
|
+
facilityId: number;
|
|
3473
|
+
name: string;
|
|
3474
|
+
code: string;
|
|
3475
|
+
config: any;
|
|
3476
|
+
}
|
|
3477
|
+
export declare class ByOrganizationIdDto {
|
|
3478
|
+
organizationId: number;
|
|
3479
|
+
}
|
|
3480
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3481
|
+
organizationId?: number;
|
|
3482
|
+
}
|
|
3483
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3484
|
+
programsIds?: string;
|
|
3485
|
+
sessionsIds?: string;
|
|
3486
|
+
segmentsIds?: string;
|
|
3487
|
+
startDate?: string;
|
|
3488
|
+
endDate?: string;
|
|
3489
|
+
months?: string;
|
|
3490
|
+
dow?: string;
|
|
3491
|
+
}
|
|
3492
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3493
|
+
programsIds?: string;
|
|
3494
|
+
sessionsIds?: string;
|
|
3495
|
+
segmentsIds?: string;
|
|
3496
|
+
startDate?: string;
|
|
3497
|
+
endDate?: string;
|
|
3498
|
+
months?: string;
|
|
3499
|
+
dow?: string;
|
|
3500
|
+
}
|
|
3496
3501
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3497
3502
|
userId: number;
|
|
3498
3503
|
organizationId: number;
|
|
@@ -3549,30 +3554,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3549
3554
|
brandings: OrganizationBranding[];
|
|
3550
3555
|
brandingsV2?: OrganizationBranding[];
|
|
3551
3556
|
}
|
|
3552
|
-
export declare class ByOrganizationIdDto {
|
|
3553
|
-
organizationId: number;
|
|
3554
|
-
}
|
|
3555
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3556
|
-
organizationId?: number;
|
|
3557
|
-
}
|
|
3558
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3559
|
-
programsIds?: string;
|
|
3560
|
-
sessionsIds?: string;
|
|
3561
|
-
segmentsIds?: string;
|
|
3562
|
-
startDate?: string;
|
|
3563
|
-
endDate?: string;
|
|
3564
|
-
months?: string;
|
|
3565
|
-
dow?: string;
|
|
3566
|
-
}
|
|
3567
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3568
|
-
programsIds?: string;
|
|
3569
|
-
sessionsIds?: string;
|
|
3570
|
-
segmentsIds?: string;
|
|
3571
|
-
startDate?: string;
|
|
3572
|
-
endDate?: string;
|
|
3573
|
-
months?: string;
|
|
3574
|
-
dow?: string;
|
|
3575
|
-
}
|
|
3576
3557
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3577
3558
|
key?: string;
|
|
3578
3559
|
vaule?: string;
|
|
@@ -3582,6 +3563,10 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3582
3563
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3583
3564
|
mainAdminUserId?: number;
|
|
3584
3565
|
}
|
|
3566
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3567
|
+
organisationId: number | null;
|
|
3568
|
+
userId: number | null;
|
|
3569
|
+
}
|
|
3585
3570
|
export interface UnallocatedEventsFilters {
|
|
3586
3571
|
programsIds?: number[];
|
|
3587
3572
|
sessionsIds?: number[];
|
|
@@ -3608,10 +3593,6 @@ export interface IUnallocatedEventRes {
|
|
|
3608
3593
|
export interface IUnallocatedEventsIdsRes {
|
|
3609
3594
|
data: IUnallocatedEventRes[];
|
|
3610
3595
|
}
|
|
3611
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3612
|
-
organisationId: number | null;
|
|
3613
|
-
userId: number | null;
|
|
3614
|
-
}
|
|
3615
3596
|
export declare class CustomerIdDto {
|
|
3616
3597
|
customerId: number;
|
|
3617
3598
|
}
|
|
@@ -3791,6 +3772,16 @@ export interface ExtendedLineItems {
|
|
|
3791
3772
|
products: LineItems[];
|
|
3792
3773
|
events: LineItems[];
|
|
3793
3774
|
}
|
|
3775
|
+
export interface RefundResult extends PaymentsResults {
|
|
3776
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3777
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3778
|
+
invoice?: Invoice;
|
|
3779
|
+
}
|
|
3780
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3781
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3782
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3783
|
+
totalAmountProcessed: number;
|
|
3784
|
+
}
|
|
3794
3785
|
export declare class AddonDto {
|
|
3795
3786
|
productId: number;
|
|
3796
3787
|
id?: number;
|
|
@@ -3818,16 +3809,6 @@ export declare class EditAddonDto {
|
|
|
3818
3809
|
totalPrice: number;
|
|
3819
3810
|
unitPrice?: number;
|
|
3820
3811
|
}
|
|
3821
|
-
export interface RefundResult extends PaymentsResults {
|
|
3822
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3823
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3824
|
-
invoice?: Invoice;
|
|
3825
|
-
}
|
|
3826
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3827
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3828
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3829
|
-
totalAmountProcessed: number;
|
|
3830
|
-
}
|
|
3831
3812
|
export declare class InvoiceDto {
|
|
3832
3813
|
invoiceId?: string | null;
|
|
3833
3814
|
organizationId: number;
|
|
@@ -3869,13 +3850,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3869
3850
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3870
3851
|
segments: SegmentDto[];
|
|
3871
3852
|
}
|
|
3872
|
-
export declare class MaintenanceDto {
|
|
3873
|
-
id?: number;
|
|
3874
|
-
title: string;
|
|
3875
|
-
durationValue: number;
|
|
3876
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3877
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3878
|
-
}
|
|
3879
3853
|
export declare class LineItemDto {
|
|
3880
3854
|
id?: number;
|
|
3881
3855
|
invoiceId?: number;
|
|
@@ -3902,6 +3876,13 @@ export declare class LineItemDto {
|
|
|
3902
3876
|
unitTaxPrice?: number;
|
|
3903
3877
|
parentOrdinal?: number;
|
|
3904
3878
|
}
|
|
3879
|
+
export declare class MaintenanceDto {
|
|
3880
|
+
id?: number;
|
|
3881
|
+
title: string;
|
|
3882
|
+
durationValue: number;
|
|
3883
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3884
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3885
|
+
}
|
|
3905
3886
|
export declare class PurchasedResourceDto {
|
|
3906
3887
|
resourceId?: number;
|
|
3907
3888
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -4062,17 +4043,6 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4062
4043
|
updateAddons?: boolean;
|
|
4063
4044
|
updateMaintenance?: boolean;
|
|
4064
4045
|
}
|
|
4065
|
-
export declare class SegmentDto {
|
|
4066
|
-
id?: number;
|
|
4067
|
-
title: string;
|
|
4068
|
-
isPrivate: boolean;
|
|
4069
|
-
resourceIds: number[];
|
|
4070
|
-
sportId?: number;
|
|
4071
|
-
series: SeriesDto[];
|
|
4072
|
-
addonIds?: number[];
|
|
4073
|
-
publicNotesForSlots?: string;
|
|
4074
|
-
privateNotesForSlots?: string;
|
|
4075
|
-
}
|
|
4076
4046
|
export declare class SeriesDto {
|
|
4077
4047
|
id?: number;
|
|
4078
4048
|
startDate: string;
|
|
@@ -4090,6 +4060,17 @@ export declare class SeriesDto {
|
|
|
4090
4060
|
maintenance?: MaintenanceDto[];
|
|
4091
4061
|
slots?: SlotDto[];
|
|
4092
4062
|
}
|
|
4063
|
+
export declare class SegmentDto {
|
|
4064
|
+
id?: number;
|
|
4065
|
+
title: string;
|
|
4066
|
+
isPrivate: boolean;
|
|
4067
|
+
resourceIds: number[];
|
|
4068
|
+
sportId?: number;
|
|
4069
|
+
series: SeriesDto[];
|
|
4070
|
+
addonIds?: number[];
|
|
4071
|
+
publicNotesForSlots?: string;
|
|
4072
|
+
privateNotesForSlots?: string;
|
|
4073
|
+
}
|
|
4093
4074
|
export declare class SlotDateTimeAndSpace {
|
|
4094
4075
|
startDate: string;
|
|
4095
4076
|
startTime?: string;
|
|
@@ -4197,12 +4178,6 @@ export declare class BookingV1Dto {
|
|
|
4197
4178
|
cashPayment: boolean;
|
|
4198
4179
|
requestOnly: boolean;
|
|
4199
4180
|
}
|
|
4200
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4201
|
-
deletedAt?: Date;
|
|
4202
|
-
reservationId: number;
|
|
4203
|
-
invoiceId: number;
|
|
4204
|
-
slotId: number;
|
|
4205
|
-
}
|
|
4206
4181
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4207
4182
|
parentId: number;
|
|
4208
4183
|
parentType: AddonParentTypeEnum;
|
|
@@ -4223,6 +4198,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4223
4198
|
previousProductUsersIds?: number[];
|
|
4224
4199
|
previousProductUsers?: ProductsUsers[];
|
|
4225
4200
|
}
|
|
4201
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4202
|
+
deletedAt?: Date;
|
|
4203
|
+
reservationId: number;
|
|
4204
|
+
invoiceId: number;
|
|
4205
|
+
slotId: number;
|
|
4206
|
+
}
|
|
4226
4207
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4227
4208
|
name?: string;
|
|
4228
4209
|
description?: string;
|
|
@@ -4588,29 +4569,6 @@ export interface AddonMetadata {
|
|
|
4588
4569
|
totalPrice: number;
|
|
4589
4570
|
product?: Product;
|
|
4590
4571
|
}
|
|
4591
|
-
export declare class ChangeRolePermissionsDto {
|
|
4592
|
-
permissionIds: number[];
|
|
4593
|
-
}
|
|
4594
|
-
export declare class CreateRoleDto {
|
|
4595
|
-
name: string;
|
|
4596
|
-
}
|
|
4597
|
-
export declare class Permission extends BondBaseEntity {
|
|
4598
|
-
name: string;
|
|
4599
|
-
deletedAt?: Date;
|
|
4600
|
-
}
|
|
4601
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4602
|
-
name: string;
|
|
4603
|
-
deletedAt?: Date;
|
|
4604
|
-
permissions: Permission[];
|
|
4605
|
-
usersRoles: UserRole[];
|
|
4606
|
-
}
|
|
4607
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4608
|
-
deletedAt?: Date;
|
|
4609
|
-
userId: number;
|
|
4610
|
-
roleId: number;
|
|
4611
|
-
role: Role;
|
|
4612
|
-
user: User;
|
|
4613
|
-
}
|
|
4614
4572
|
export declare class CloseShiftDto {
|
|
4615
4573
|
closingCashAmount: number;
|
|
4616
4574
|
}
|
|
@@ -4677,6 +4635,29 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4677
4635
|
closingManager?: User;
|
|
4678
4636
|
reconcilingUser?: User;
|
|
4679
4637
|
}
|
|
4638
|
+
export declare class ChangeRolePermissionsDto {
|
|
4639
|
+
permissionIds: number[];
|
|
4640
|
+
}
|
|
4641
|
+
export declare class CreateRoleDto {
|
|
4642
|
+
name: string;
|
|
4643
|
+
}
|
|
4644
|
+
export declare class Permission extends BondBaseEntity {
|
|
4645
|
+
name: string;
|
|
4646
|
+
deletedAt?: Date;
|
|
4647
|
+
}
|
|
4648
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4649
|
+
name: string;
|
|
4650
|
+
deletedAt?: Date;
|
|
4651
|
+
permissions: Permission[];
|
|
4652
|
+
usersRoles: UserRole[];
|
|
4653
|
+
}
|
|
4654
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4655
|
+
deletedAt?: Date;
|
|
4656
|
+
userId: number;
|
|
4657
|
+
roleId: number;
|
|
4658
|
+
role: Role;
|
|
4659
|
+
user: User;
|
|
4660
|
+
}
|
|
4680
4661
|
export default interface IWebflowProgram {
|
|
4681
4662
|
name: string;
|
|
4682
4663
|
id: number;
|
|
@@ -4690,3 +4671,23 @@ export default interface IWebflowProgram {
|
|
|
4690
4671
|
level: string[];
|
|
4691
4672
|
gender: string;
|
|
4692
4673
|
}
|
|
4674
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
4675
|
+
matchId: number | null;
|
|
4676
|
+
ordinal: number | null;
|
|
4677
|
+
outcomeOrdinal: number | null;
|
|
4678
|
+
resultMetaData: any | null;
|
|
4679
|
+
points: number | null;
|
|
4680
|
+
score: number | null;
|
|
4681
|
+
gameSlotId: number | null;
|
|
4682
|
+
}
|
|
4683
|
+
export declare class Matches extends BondBaseEntity {
|
|
4684
|
+
eventId: number | null;
|
|
4685
|
+
status: number | null;
|
|
4686
|
+
excludeStandings: boolean | null;
|
|
4687
|
+
}
|
|
4688
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
4689
|
+
seasonId: number;
|
|
4690
|
+
ordinal?: number;
|
|
4691
|
+
divisionId?: number;
|
|
4692
|
+
name: string;
|
|
4693
|
+
}
|