@bondsports/types 0.0.176 → 0.0.178
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 +401 -369
- 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
|
@@ -95,6 +95,50 @@ export declare class AddEditCustomerDto {
|
|
|
95
95
|
emergencyContactName?: string;
|
|
96
96
|
emergencyContactPhone?: string;
|
|
97
97
|
}
|
|
98
|
+
export declare class FindFamilyAccountsDto {
|
|
99
|
+
userId: number;
|
|
100
|
+
}
|
|
101
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
102
|
+
customerId: number;
|
|
103
|
+
organizationId: number;
|
|
104
|
+
}
|
|
105
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
106
|
+
familyAccountId: number;
|
|
107
|
+
}
|
|
108
|
+
export declare class CreateFamilyAccountDto {
|
|
109
|
+
familyName: string;
|
|
110
|
+
userId: number;
|
|
111
|
+
}
|
|
112
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
113
|
+
familyName: string;
|
|
114
|
+
familyAccountId: number;
|
|
115
|
+
}
|
|
116
|
+
export declare class AddUserToFamilyAccountDto {
|
|
117
|
+
familyAccountId: number;
|
|
118
|
+
isUserAdmin: boolean;
|
|
119
|
+
firstName: string;
|
|
120
|
+
lastName: string;
|
|
121
|
+
gender: GenderEnum;
|
|
122
|
+
birthDate: string;
|
|
123
|
+
sports?: number[];
|
|
124
|
+
email?: string;
|
|
125
|
+
}
|
|
126
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
127
|
+
userId: number;
|
|
128
|
+
familyAccountId: number;
|
|
129
|
+
}
|
|
130
|
+
export declare class FindOneParams {
|
|
131
|
+
id: number;
|
|
132
|
+
}
|
|
133
|
+
export declare class PaginationQuery {
|
|
134
|
+
page: number;
|
|
135
|
+
itemsPerPage: number;
|
|
136
|
+
}
|
|
137
|
+
export declare class PaginationRangeQuery {
|
|
138
|
+
startPage: number;
|
|
139
|
+
endPage: number;
|
|
140
|
+
itemsPerPage: number;
|
|
141
|
+
}
|
|
98
142
|
export declare class FindEventByIdDto {
|
|
99
143
|
eventId: number;
|
|
100
144
|
organizationId: number;
|
|
@@ -238,59 +282,71 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
238
282
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
239
283
|
nameSearch?: string;
|
|
240
284
|
}
|
|
241
|
-
export declare class
|
|
242
|
-
|
|
285
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
|
+
organizationId: number;
|
|
243
287
|
}
|
|
244
|
-
export declare class
|
|
245
|
-
|
|
288
|
+
export declare class GetGlCodeDto {
|
|
289
|
+
id: number;
|
|
246
290
|
organizationId: number;
|
|
291
|
+
code: string;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
updatedAt: Date;
|
|
247
294
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
295
|
+
export declare class CreateMembershipDto {
|
|
296
|
+
organizationId: number;
|
|
297
|
+
name: string;
|
|
298
|
+
description?: string;
|
|
299
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
300
|
+
activity: SportsEnum;
|
|
301
|
+
facilityId: number;
|
|
302
|
+
questionnaires: number[];
|
|
303
|
+
minAgeYears: number;
|
|
304
|
+
maxAgeYears: number;
|
|
305
|
+
gender: GenderEnum;
|
|
306
|
+
maxMembers?: number;
|
|
307
|
+
maxMaleMembers?: number;
|
|
308
|
+
maxFemaleMembers?: number;
|
|
309
|
+
startDate: string;
|
|
310
|
+
endDate: string;
|
|
311
|
+
registrationStartDate?: Date;
|
|
312
|
+
registrationEndDate?: Date;
|
|
313
|
+
membershipType: MembershipTypeEnum;
|
|
314
|
+
durationMonths: number;
|
|
315
|
+
longDescription?: string;
|
|
316
|
+
isAutoRenew?: boolean;
|
|
250
317
|
}
|
|
251
|
-
export declare class
|
|
252
|
-
|
|
253
|
-
userId: number;
|
|
318
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
319
|
+
id: number;
|
|
254
320
|
}
|
|
255
|
-
export declare class
|
|
256
|
-
|
|
257
|
-
|
|
321
|
+
export declare class UpdateMembershipMediaDto {
|
|
322
|
+
membershipId: number;
|
|
323
|
+
mediaId: number;
|
|
258
324
|
}
|
|
259
|
-
export declare class
|
|
260
|
-
|
|
261
|
-
isUserAdmin: boolean;
|
|
262
|
-
firstName: string;
|
|
263
|
-
lastName: string;
|
|
264
|
-
gender: GenderEnum;
|
|
265
|
-
birthDate: string;
|
|
266
|
-
sports?: number[];
|
|
267
|
-
email?: string;
|
|
325
|
+
export declare class FindMembershipByIdDto {
|
|
326
|
+
membershipId: number;
|
|
268
327
|
}
|
|
269
|
-
export declare class
|
|
328
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
329
|
+
organizationId: number;
|
|
330
|
+
}
|
|
331
|
+
export declare class FindMembershipsByUserIdDto {
|
|
270
332
|
userId: number;
|
|
271
|
-
familyAccountId: number;
|
|
272
333
|
}
|
|
273
|
-
export declare class
|
|
274
|
-
|
|
334
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
335
|
+
startDate: string;
|
|
275
336
|
}
|
|
276
|
-
export declare class
|
|
277
|
-
|
|
278
|
-
itemsPerPage: number;
|
|
337
|
+
export declare class MembershipIdsDto {
|
|
338
|
+
membershipIds?: number[];
|
|
279
339
|
}
|
|
280
|
-
export declare class
|
|
281
|
-
|
|
282
|
-
endPage: number;
|
|
283
|
-
itemsPerPage: number;
|
|
340
|
+
export declare class MemberIdDto {
|
|
341
|
+
memberId?: number;
|
|
284
342
|
}
|
|
285
|
-
export declare class
|
|
286
|
-
|
|
343
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
344
|
+
nameEmailSearch?: string;
|
|
345
|
+
pastMemberships?: string;
|
|
287
346
|
}
|
|
288
|
-
export declare class
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
code: string;
|
|
292
|
-
createdAt: Date;
|
|
293
|
-
updatedAt: Date;
|
|
347
|
+
export declare class CancelMembershipDto {
|
|
348
|
+
isImmediatelyCancel: boolean;
|
|
349
|
+
cancellationReason?: string;
|
|
294
350
|
}
|
|
295
351
|
export declare class FindByProgramSeasonIdDto {
|
|
296
352
|
seasonId: number;
|
|
@@ -365,62 +421,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
421
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
422
|
fileName: string;
|
|
367
423
|
}
|
|
368
|
-
export declare class CreateMembershipDto {
|
|
369
|
-
organizationId: number;
|
|
370
|
-
name: string;
|
|
371
|
-
description?: string;
|
|
372
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
373
|
-
activity: SportsEnum;
|
|
374
|
-
facilityId: number;
|
|
375
|
-
questionnaires: number[];
|
|
376
|
-
minAgeYears: number;
|
|
377
|
-
maxAgeYears: number;
|
|
378
|
-
gender: GenderEnum;
|
|
379
|
-
maxMembers?: number;
|
|
380
|
-
maxMaleMembers?: number;
|
|
381
|
-
maxFemaleMembers?: number;
|
|
382
|
-
startDate: string;
|
|
383
|
-
endDate: string;
|
|
384
|
-
registrationStartDate?: Date;
|
|
385
|
-
registrationEndDate?: Date;
|
|
386
|
-
membershipType: MembershipTypeEnum;
|
|
387
|
-
durationMonths: number;
|
|
388
|
-
longDescription?: string;
|
|
389
|
-
isAutoRenew?: boolean;
|
|
390
|
-
}
|
|
391
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
392
|
-
id: number;
|
|
393
|
-
}
|
|
394
|
-
export declare class UpdateMembershipMediaDto {
|
|
395
|
-
membershipId: number;
|
|
396
|
-
mediaId: number;
|
|
397
|
-
}
|
|
398
|
-
export declare class FindMembershipByIdDto {
|
|
399
|
-
membershipId: number;
|
|
400
|
-
}
|
|
401
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
402
|
-
organizationId: number;
|
|
403
|
-
}
|
|
404
|
-
export declare class FindMembershipsByUserIdDto {
|
|
405
|
-
userId: number;
|
|
406
|
-
}
|
|
407
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
408
|
-
startDate: string;
|
|
409
|
-
}
|
|
410
|
-
export declare class MembershipIdsDto {
|
|
411
|
-
membershipIds?: number[];
|
|
412
|
-
}
|
|
413
|
-
export declare class MemberIdDto {
|
|
414
|
-
memberId?: number;
|
|
415
|
-
}
|
|
416
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
417
|
-
nameEmailSearch?: string;
|
|
418
|
-
pastMemberships?: string;
|
|
419
|
-
}
|
|
420
|
-
export declare class CancelMembershipDto {
|
|
421
|
-
isImmediatelyCancel: boolean;
|
|
422
|
-
cancellationReason?: string;
|
|
423
|
-
}
|
|
424
424
|
export declare class CreateEntitlementTermsDto {
|
|
425
425
|
organizationId: number;
|
|
426
426
|
entitlementGroupId: number;
|
|
@@ -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,24 +702,6 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -722,7 +722,8 @@ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganization
|
|
|
722
722
|
seasonId: number;
|
|
723
723
|
}
|
|
724
724
|
export declare class FindSeasonEventsQueryDto {
|
|
725
|
-
startDateFilter?:
|
|
725
|
+
startDateFilter?: EComparisonFilter;
|
|
726
|
+
endDateFilter?: EComparisonFilter;
|
|
726
727
|
}
|
|
727
728
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
728
729
|
seasonId: number;
|
|
@@ -1193,16 +1194,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1193
1194
|
publicNotes?: string;
|
|
1194
1195
|
slotType?: SlotTypeEnum;
|
|
1195
1196
|
}
|
|
1196
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1197
|
-
parentId: number;
|
|
1198
|
-
parentType: ResourceNameTypeEnum;
|
|
1199
|
-
startDate: Date;
|
|
1200
|
-
endDate: Date;
|
|
1201
|
-
dayOfWeek: number;
|
|
1202
|
-
startTimeInDay: string;
|
|
1203
|
-
endTimeInDay: string;
|
|
1204
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1205
|
-
}
|
|
1206
1197
|
export declare class Configuration extends BondBaseEntity {
|
|
1207
1198
|
area: string;
|
|
1208
1199
|
key: string;
|
|
@@ -1220,13 +1211,15 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1220
1211
|
userCreatorId: number | null;
|
|
1221
1212
|
ownerId: number | null;
|
|
1222
1213
|
}
|
|
1223
|
-
export declare class
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1214
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1215
|
+
parentId: number;
|
|
1216
|
+
parentType: ResourceNameTypeEnum;
|
|
1217
|
+
startDate: Date;
|
|
1218
|
+
endDate: Date;
|
|
1219
|
+
dayOfWeek: number;
|
|
1220
|
+
startTimeInDay: string;
|
|
1221
|
+
endTimeInDay: string;
|
|
1222
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1230
1223
|
}
|
|
1231
1224
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1232
1225
|
name: string | null;
|
|
@@ -1256,6 +1249,14 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1256
1249
|
mainMedia: Media;
|
|
1257
1250
|
reservations?: Reservation[];
|
|
1258
1251
|
}
|
|
1252
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
+
creditAmount: number;
|
|
1254
|
+
paymentProcessorId: string;
|
|
1255
|
+
userId: number;
|
|
1256
|
+
paymentId: number;
|
|
1257
|
+
invoiceId: number;
|
|
1258
|
+
creditPaymentId: number;
|
|
1259
|
+
}
|
|
1259
1260
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1260
1261
|
customerId: number;
|
|
1261
1262
|
userId: number;
|
|
@@ -1268,33 +1269,33 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1268
1269
|
invoice: Invoice;
|
|
1269
1270
|
payment: Payment;
|
|
1270
1271
|
}
|
|
1272
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
name: string | null;
|
|
1274
|
+
}
|
|
1271
1275
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1272
1276
|
customerId?: number;
|
|
1273
1277
|
description: string;
|
|
1274
1278
|
pinToTop?: boolean;
|
|
1275
1279
|
customer: Customer;
|
|
1276
1280
|
}
|
|
1277
|
-
export declare class Division extends BondBaseEntity {
|
|
1278
|
-
name: string;
|
|
1279
|
-
ordinal?: number;
|
|
1280
|
-
programSeasonId: number;
|
|
1281
|
-
color: string;
|
|
1282
|
-
isDefault: boolean;
|
|
1283
|
-
groups: Group[];
|
|
1284
|
-
}
|
|
1285
1281
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1286
1282
|
customerId: number;
|
|
1287
1283
|
name: string | null;
|
|
1288
1284
|
phoneNumber: string | null;
|
|
1289
1285
|
customer: Customer;
|
|
1290
1286
|
}
|
|
1291
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1292
|
-
name: string | null;
|
|
1293
|
-
}
|
|
1294
1287
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1295
1288
|
groupId: number;
|
|
1296
1289
|
terms: IEntitlementTerms[];
|
|
1297
1290
|
}
|
|
1291
|
+
export declare class Division extends BondBaseEntity {
|
|
1292
|
+
name: string;
|
|
1293
|
+
ordinal?: number;
|
|
1294
|
+
programSeasonId: number;
|
|
1295
|
+
color: string;
|
|
1296
|
+
isDefault: boolean;
|
|
1297
|
+
groups: Group[];
|
|
1298
|
+
}
|
|
1298
1299
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1299
1300
|
status: RequestStatusEnum | null;
|
|
1300
1301
|
hasPaid: boolean | null;
|
|
@@ -1472,6 +1473,15 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1472
1473
|
invoiceNotes: InvoiceNote[];
|
|
1473
1474
|
slots: Slot[];
|
|
1474
1475
|
}
|
|
1476
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1477
|
+
content: string;
|
|
1478
|
+
creatingUserId: number;
|
|
1479
|
+
user: User;
|
|
1480
|
+
isPublic: boolean;
|
|
1481
|
+
deletedAt: Date;
|
|
1482
|
+
invoiceId: number;
|
|
1483
|
+
invoice: Invoice;
|
|
1484
|
+
}
|
|
1475
1485
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1476
1486
|
email: string;
|
|
1477
1487
|
status: EEmailStatus;
|
|
@@ -1483,15 +1493,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1483
1493
|
mailParams?: any;
|
|
1484
1494
|
memo?: string;
|
|
1485
1495
|
}
|
|
1486
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
|
-
content: string;
|
|
1488
|
-
creatingUserId: number;
|
|
1489
|
-
user: User;
|
|
1490
|
-
isPublic: boolean;
|
|
1491
|
-
deletedAt: Date;
|
|
1492
|
-
invoiceId: number;
|
|
1493
|
-
invoice: Invoice;
|
|
1494
|
-
}
|
|
1495
1496
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1496
1497
|
invoiceId: number;
|
|
1497
1498
|
paymentId: number;
|
|
@@ -1526,50 +1527,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1526
1527
|
logo?: Media;
|
|
1527
1528
|
seasons: LeagueSeason[];
|
|
1528
1529
|
}
|
|
1529
|
-
export declare class LeagueSeason extends BondBaseEntity {
|
|
1530
|
-
leagueId: number | null;
|
|
1531
|
-
name: string | null;
|
|
1532
|
-
status: number | null;
|
|
1533
|
-
startDate: Date | null;
|
|
1534
|
-
endDate: Date | null;
|
|
1535
|
-
priceEarlySingle: number | null;
|
|
1536
|
-
priceRegularSingle: number | null;
|
|
1537
|
-
priceLateSingle: number | null;
|
|
1538
|
-
priceEarlyTeam: number | null;
|
|
1539
|
-
priceRegularTeam: number | null;
|
|
1540
|
-
priceLateTeam: number | null;
|
|
1541
|
-
priceEarlyTeamMember: number | null;
|
|
1542
|
-
priceRegularTeamMember: number | null;
|
|
1543
|
-
priceLateTeamMember: number | null;
|
|
1544
|
-
priceEarlyGroup: number | null;
|
|
1545
|
-
priceRegularGroup: number | null;
|
|
1546
|
-
priceLateGroup: number | null;
|
|
1547
|
-
earlyRegistrationEnds: Date | null;
|
|
1548
|
-
regularRegistrationEnds: Date | null;
|
|
1549
|
-
lateRegistrationEnds: Date | null;
|
|
1550
|
-
registrationStatus: number | null;
|
|
1551
|
-
description: string | null;
|
|
1552
|
-
addressName: string | null;
|
|
1553
|
-
registrationOpen: Date | null;
|
|
1554
|
-
connectedSeasonId: number | null;
|
|
1555
|
-
tournamentType: boolean | null;
|
|
1556
|
-
playoffType: boolean | null;
|
|
1557
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1558
|
-
rosterStatus: string | null;
|
|
1559
|
-
metaData: any | null;
|
|
1560
|
-
inviteSendDate: Date | null;
|
|
1561
|
-
maxNumParticipants: number | null;
|
|
1562
|
-
programId: number | null;
|
|
1563
|
-
minNumParticipants: number | null;
|
|
1564
|
-
league: League;
|
|
1565
|
-
facilities: Facility[];
|
|
1566
|
-
seasonAttendees: SeasonAttendee[];
|
|
1567
|
-
purchasedResources: PurchasedResource[];
|
|
1568
|
-
}
|
|
1569
|
-
export declare class LeagueSeasonRelations {
|
|
1570
|
-
league?: boolean;
|
|
1571
|
-
facilities?: boolean;
|
|
1572
|
-
}
|
|
1573
1530
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1574
1531
|
invoiceId: number;
|
|
1575
1532
|
paymentId: number;
|
|
@@ -1651,6 +1608,50 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1651
1608
|
user: User;
|
|
1652
1609
|
userId: number | null;
|
|
1653
1610
|
}
|
|
1611
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
1612
|
+
leagueId: number | null;
|
|
1613
|
+
name: string | null;
|
|
1614
|
+
status: number | null;
|
|
1615
|
+
startDate: Date | null;
|
|
1616
|
+
endDate: Date | null;
|
|
1617
|
+
priceEarlySingle: number | null;
|
|
1618
|
+
priceRegularSingle: number | null;
|
|
1619
|
+
priceLateSingle: number | null;
|
|
1620
|
+
priceEarlyTeam: number | null;
|
|
1621
|
+
priceRegularTeam: number | null;
|
|
1622
|
+
priceLateTeam: number | null;
|
|
1623
|
+
priceEarlyTeamMember: number | null;
|
|
1624
|
+
priceRegularTeamMember: number | null;
|
|
1625
|
+
priceLateTeamMember: number | null;
|
|
1626
|
+
priceEarlyGroup: number | null;
|
|
1627
|
+
priceRegularGroup: number | null;
|
|
1628
|
+
priceLateGroup: number | null;
|
|
1629
|
+
earlyRegistrationEnds: Date | null;
|
|
1630
|
+
regularRegistrationEnds: Date | null;
|
|
1631
|
+
lateRegistrationEnds: Date | null;
|
|
1632
|
+
registrationStatus: number | null;
|
|
1633
|
+
description: string | null;
|
|
1634
|
+
addressName: string | null;
|
|
1635
|
+
registrationOpen: Date | null;
|
|
1636
|
+
connectedSeasonId: number | null;
|
|
1637
|
+
tournamentType: boolean | null;
|
|
1638
|
+
playoffType: boolean | null;
|
|
1639
|
+
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1640
|
+
rosterStatus: string | null;
|
|
1641
|
+
metaData: any | null;
|
|
1642
|
+
inviteSendDate: Date | null;
|
|
1643
|
+
maxNumParticipants: number | null;
|
|
1644
|
+
programId: number | null;
|
|
1645
|
+
minNumParticipants: number | null;
|
|
1646
|
+
league: League;
|
|
1647
|
+
facilities: Facility[];
|
|
1648
|
+
seasonAttendees: SeasonAttendee[];
|
|
1649
|
+
purchasedResources: PurchasedResource[];
|
|
1650
|
+
}
|
|
1651
|
+
export declare class LeagueSeasonRelations {
|
|
1652
|
+
league?: boolean;
|
|
1653
|
+
facilities?: boolean;
|
|
1654
|
+
}
|
|
1654
1655
|
export declare class Media extends BondBaseEntity {
|
|
1655
1656
|
url: string;
|
|
1656
1657
|
name: string | null;
|
|
@@ -1698,6 +1699,12 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1698
1699
|
isAutoRenew?: boolean;
|
|
1699
1700
|
purchasedResources: PurchasedResource[];
|
|
1700
1701
|
}
|
|
1702
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1703
|
+
email: string | null;
|
|
1704
|
+
notificationType: NotificationTypeEnum | null;
|
|
1705
|
+
resourceId: number | null;
|
|
1706
|
+
resourceType: string | null;
|
|
1707
|
+
}
|
|
1701
1708
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1702
1709
|
membership: Membership;
|
|
1703
1710
|
membershipId: number;
|
|
@@ -1718,23 +1725,6 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1718
1725
|
cancellationStatus?: CancellationStatusEnum;
|
|
1719
1726
|
isImported?: boolean;
|
|
1720
1727
|
}
|
|
1721
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1722
|
-
email: string | null;
|
|
1723
|
-
notificationType: NotificationTypeEnum | null;
|
|
1724
|
-
resourceId: number | null;
|
|
1725
|
-
resourceType: string | null;
|
|
1726
|
-
}
|
|
1727
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1728
|
-
id: number;
|
|
1729
|
-
dayOfWeek: number;
|
|
1730
|
-
open: string;
|
|
1731
|
-
close: string;
|
|
1732
|
-
facilityId: number;
|
|
1733
|
-
createdAt: Date;
|
|
1734
|
-
updatedAt: Date;
|
|
1735
|
-
deletedAt?: Date;
|
|
1736
|
-
facility: Facility;
|
|
1737
|
-
}
|
|
1738
1728
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
1729
|
organizationId: number;
|
|
1740
1730
|
}
|
|
@@ -1755,6 +1745,17 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1755
1745
|
isMandatory: boolean;
|
|
1756
1746
|
productId: number;
|
|
1757
1747
|
}
|
|
1748
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1749
|
+
id: number;
|
|
1750
|
+
dayOfWeek: number;
|
|
1751
|
+
open: string;
|
|
1752
|
+
close: string;
|
|
1753
|
+
facilityId: number;
|
|
1754
|
+
createdAt: Date;
|
|
1755
|
+
updatedAt: Date;
|
|
1756
|
+
deletedAt?: Date;
|
|
1757
|
+
facility: Facility;
|
|
1758
|
+
}
|
|
1758
1759
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
1760
|
token: string | null;
|
|
1760
1761
|
userId: number | null;
|
|
@@ -1798,6 +1799,12 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1798
1799
|
reason: EFailedPaymentReasons;
|
|
1799
1800
|
errorMessage: string;
|
|
1800
1801
|
}
|
|
1802
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1803
|
+
paymentPlanId: number;
|
|
1804
|
+
paymentDate: Date;
|
|
1805
|
+
deletedAt?: Date;
|
|
1806
|
+
paymentPlan: ProductPaymentPlan;
|
|
1807
|
+
}
|
|
1801
1808
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1802
1809
|
content: string;
|
|
1803
1810
|
creatingUserId: number;
|
|
@@ -1807,12 +1814,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1807
1814
|
paymentId: number;
|
|
1808
1815
|
payment: Payment;
|
|
1809
1816
|
}
|
|
1810
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1811
|
-
paymentPlanId: number;
|
|
1812
|
-
paymentDate: Date;
|
|
1813
|
-
deletedAt?: Date;
|
|
1814
|
-
paymentPlan: ProductPaymentPlan;
|
|
1815
|
-
}
|
|
1816
1817
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1817
1818
|
userId: number | null;
|
|
1818
1819
|
ownerId: number | null;
|
|
@@ -1937,10 +1938,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1937
1938
|
productId: number;
|
|
1938
1939
|
variantTitleId: number;
|
|
1939
1940
|
}
|
|
1940
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1941
|
-
productId: number;
|
|
1942
|
-
variantId: number;
|
|
1943
|
-
}
|
|
1944
1941
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1945
1942
|
productId: number;
|
|
1946
1943
|
customerId: number;
|
|
@@ -1948,6 +1945,10 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1945
|
deletedAt?: Date;
|
|
1949
1946
|
product: Product;
|
|
1950
1947
|
}
|
|
1948
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1949
|
+
productId: number;
|
|
1950
|
+
variantId: number;
|
|
1951
|
+
}
|
|
1951
1952
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
1953
|
productId: number;
|
|
1953
1954
|
userId: number;
|
|
@@ -2050,6 +2051,20 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2050
2051
|
facility: Facility;
|
|
2051
2052
|
purchasedResources: PurchasedResource[];
|
|
2052
2053
|
}
|
|
2054
|
+
export declare class Questions extends BondBaseEntity {
|
|
2055
|
+
questionType: string | null;
|
|
2056
|
+
ordinal: number | null;
|
|
2057
|
+
pageOrdinal: number | null;
|
|
2058
|
+
isActive: boolean | null;
|
|
2059
|
+
isMandatory: boolean | null;
|
|
2060
|
+
metaData: any | null;
|
|
2061
|
+
question: string | null;
|
|
2062
|
+
creatorId: number | null;
|
|
2063
|
+
creatorType: string | null;
|
|
2064
|
+
userCreatorId: number | null;
|
|
2065
|
+
ownerId: number | null;
|
|
2066
|
+
questionnaireId: number | null;
|
|
2067
|
+
}
|
|
2053
2068
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2054
2069
|
productUserId: number;
|
|
2055
2070
|
resourceId: number;
|
|
@@ -2076,20 +2091,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2076
2091
|
title: string | null;
|
|
2077
2092
|
answerTitle: AnswerTitle;
|
|
2078
2093
|
}
|
|
2079
|
-
export declare class Questions extends BondBaseEntity {
|
|
2080
|
-
questionType: string | null;
|
|
2081
|
-
ordinal: number | null;
|
|
2082
|
-
pageOrdinal: number | null;
|
|
2083
|
-
isActive: boolean | null;
|
|
2084
|
-
isMandatory: boolean | null;
|
|
2085
|
-
metaData: any | null;
|
|
2086
|
-
question: string | null;
|
|
2087
|
-
creatorId: number | null;
|
|
2088
|
-
creatorType: string | null;
|
|
2089
|
-
userCreatorId: number | null;
|
|
2090
|
-
ownerId: number | null;
|
|
2091
|
-
questionnaireId: number | null;
|
|
2092
|
-
}
|
|
2093
2094
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
2095
|
reason: string;
|
|
2095
2096
|
ordinal: number;
|
|
@@ -2348,12 +2349,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2348
2349
|
invoiceNotes: InvoiceNote[];
|
|
2349
2350
|
paymentNotes: PaymentNote[];
|
|
2350
2351
|
}
|
|
2351
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2352
|
-
entityId: number | null;
|
|
2353
|
-
userId: number | null;
|
|
2354
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2355
|
-
user: User;
|
|
2356
|
-
}
|
|
2357
2352
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2358
2353
|
familyAccountId: number;
|
|
2359
2354
|
userId: number;
|
|
@@ -2362,6 +2357,12 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2362
2357
|
familyAccount: FamilyAccount;
|
|
2363
2358
|
deletedAt?: Date;
|
|
2364
2359
|
}
|
|
2360
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
+
entityId: number | null;
|
|
2362
|
+
userId: number | null;
|
|
2363
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
+
user: User;
|
|
2365
|
+
}
|
|
2365
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
2367
|
userId: number;
|
|
2367
2368
|
failCount: number;
|
|
@@ -2634,7 +2635,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2634
2635
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2635
2636
|
OTHER = "other",
|
|
2636
2637
|
MIGRATED = "migrated",
|
|
2637
|
-
VOID = "void"
|
|
2638
|
+
VOID = "void",
|
|
2639
|
+
GIFT_CARD = "gift-card"
|
|
2638
2640
|
}
|
|
2639
2641
|
export declare enum RefundTypeEnum {
|
|
2640
2642
|
LEAVE_BALANCE = "leave_balance",
|
|
@@ -2933,7 +2935,7 @@ export declare enum PaymentSettingStatusEnum {
|
|
|
2933
2935
|
export declare enum NotifyMethodEnum {
|
|
2934
2936
|
EMAIL = "Email"
|
|
2935
2937
|
}
|
|
2936
|
-
export declare enum
|
|
2938
|
+
export declare enum EComparisonFilter {
|
|
2937
2939
|
LessThan = "lt",
|
|
2938
2940
|
GreaterOrEqualTo = "gte"
|
|
2939
2941
|
}
|
|
@@ -3322,7 +3324,8 @@ export declare enum ImportPaymentTypeEnum {
|
|
|
3322
3324
|
CASH = "cash",
|
|
3323
3325
|
CHECK = "check",
|
|
3324
3326
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3325
|
-
OTHER = "other"
|
|
3327
|
+
OTHER = "other",
|
|
3328
|
+
GIFT_CARD = "gift-card"
|
|
3326
3329
|
}
|
|
3327
3330
|
export declare class ImportedInvoiceLineDto {
|
|
3328
3331
|
invoiceID?: string;
|
|
@@ -3351,6 +3354,13 @@ export declare class ImportedPaymentDto {
|
|
|
3351
3354
|
date: string;
|
|
3352
3355
|
time: string;
|
|
3353
3356
|
}
|
|
3357
|
+
export declare class PunchPassDto {
|
|
3358
|
+
CustomerID: string;
|
|
3359
|
+
QuantityLeft: number;
|
|
3360
|
+
BondProgramID: number;
|
|
3361
|
+
BondSessionID: number;
|
|
3362
|
+
ProductID: number;
|
|
3363
|
+
}
|
|
3354
3364
|
export declare class ProductIdsDto {
|
|
3355
3365
|
productIds?: number[];
|
|
3356
3366
|
}
|
|
@@ -3360,13 +3370,6 @@ export declare class ProductImportDto {
|
|
|
3360
3370
|
resourceIds: number[];
|
|
3361
3371
|
oldId: number;
|
|
3362
3372
|
}
|
|
3363
|
-
export declare class PunchPassDto {
|
|
3364
|
-
CustomerID: string;
|
|
3365
|
-
QuantityLeft: number;
|
|
3366
|
-
BondProgramID: number;
|
|
3367
|
-
BondSessionID: number;
|
|
3368
|
-
ProductID: number;
|
|
3369
|
-
}
|
|
3370
3373
|
export declare class ImportedSlotProductDto {
|
|
3371
3374
|
slotID?: string;
|
|
3372
3375
|
name?: string;
|
|
@@ -3443,12 +3446,6 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3443
3446
|
createdAt: Date;
|
|
3444
3447
|
updatedAt: Date;
|
|
3445
3448
|
}
|
|
3446
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3447
|
-
seasonId: number;
|
|
3448
|
-
ordinal?: number;
|
|
3449
|
-
divisionId?: number;
|
|
3450
|
-
name: string;
|
|
3451
|
-
}
|
|
3452
3449
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3453
3450
|
teamId: number | null;
|
|
3454
3451
|
eventId: number | null;
|
|
@@ -3458,6 +3455,12 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3458
3455
|
name: string;
|
|
3459
3456
|
locked?: Date;
|
|
3460
3457
|
}
|
|
3458
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3459
|
+
seasonId: number;
|
|
3460
|
+
ordinal?: number;
|
|
3461
|
+
divisionId?: number;
|
|
3462
|
+
name: string;
|
|
3463
|
+
}
|
|
3461
3464
|
export interface ValidatedMonthAndDay {
|
|
3462
3465
|
valid: boolean;
|
|
3463
3466
|
month?: number;
|
|
@@ -3490,13 +3493,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3490
3493
|
code: string;
|
|
3491
3494
|
config?: any;
|
|
3492
3495
|
}
|
|
3493
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
|
-
userId: number;
|
|
3495
|
-
organizationId: number;
|
|
3496
|
-
notifyMetadata?: any;
|
|
3497
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3498
|
-
destination: string;
|
|
3499
|
-
}
|
|
3500
3496
|
export declare class ByOrganizationIdDto {
|
|
3501
3497
|
organizationId: number;
|
|
3502
3498
|
}
|
|
@@ -3570,29 +3566,40 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3570
3566
|
brandings: OrganizationBranding[];
|
|
3571
3567
|
brandingsV2?: OrganizationBranding[];
|
|
3572
3568
|
}
|
|
3569
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3570
|
+
mainAdminUserId?: number;
|
|
3571
|
+
}
|
|
3573
3572
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3574
3573
|
key?: string;
|
|
3575
3574
|
vaule?: string;
|
|
3576
3575
|
version: number;
|
|
3577
3576
|
organization: Organization;
|
|
3578
3577
|
}
|
|
3579
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3580
|
-
mainAdminUserId?: number;
|
|
3581
|
-
}
|
|
3582
3578
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3583
3579
|
organisationId: number | null;
|
|
3584
3580
|
userId: number | null;
|
|
3585
3581
|
}
|
|
3586
|
-
export
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3582
|
+
export declare class RefundDto {
|
|
3583
|
+
invoiceId: number;
|
|
3584
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3585
|
+
refundLineItemAmountDict?: {
|
|
3586
|
+
[id: number]: number;
|
|
3587
|
+
};
|
|
3588
|
+
refunds: PaymentMethodDto[];
|
|
3589
|
+
refundType: RefundTypeEnum;
|
|
3590
|
+
reasonId: number;
|
|
3591
|
+
note?: string;
|
|
3592
|
+
shiftId?: number;
|
|
3593
|
+
meta?: RevertMetaDto;
|
|
3592
3594
|
}
|
|
3593
|
-
export
|
|
3594
|
-
|
|
3595
|
-
|
|
3595
|
+
export declare class PaymentMethodDto {
|
|
3596
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3597
|
+
amount: number;
|
|
3598
|
+
paymentMethodId?: string;
|
|
3599
|
+
}
|
|
3600
|
+
export declare class RefundLineItemAmountDto {
|
|
3601
|
+
id: number;
|
|
3602
|
+
refundAmount: number;
|
|
3596
3603
|
}
|
|
3597
3604
|
export declare class CustomerIdDto {
|
|
3598
3605
|
customerId: number;
|
|
@@ -3716,28 +3723,6 @@ export declare class SendRequestDto {
|
|
|
3716
3723
|
sendToEmail: string;
|
|
3717
3724
|
memo?: string;
|
|
3718
3725
|
}
|
|
3719
|
-
export declare class RefundDto {
|
|
3720
|
-
invoiceId: number;
|
|
3721
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3722
|
-
refundLineItemAmountDict?: {
|
|
3723
|
-
[id: number]: number;
|
|
3724
|
-
};
|
|
3725
|
-
refunds: PaymentMethodDto[];
|
|
3726
|
-
refundType: RefundTypeEnum;
|
|
3727
|
-
reasonId: number;
|
|
3728
|
-
note?: string;
|
|
3729
|
-
shiftId?: number;
|
|
3730
|
-
meta?: RevertMetaDto;
|
|
3731
|
-
}
|
|
3732
|
-
export declare class PaymentMethodDto {
|
|
3733
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3734
|
-
amount: number;
|
|
3735
|
-
paymentMethodId?: string;
|
|
3736
|
-
}
|
|
3737
|
-
export declare class RefundLineItemAmountDto {
|
|
3738
|
-
id: number;
|
|
3739
|
-
refundAmount: number;
|
|
3740
|
-
}
|
|
3741
3726
|
export declare class VoidDto {
|
|
3742
3727
|
lineItems: VoidLineItemDto[];
|
|
3743
3728
|
meta?: RevertMetaDto;
|
|
@@ -3783,6 +3768,56 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3783
3768
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3784
3769
|
totalAmountProcessed: number;
|
|
3785
3770
|
}
|
|
3771
|
+
export interface UnallocatedEventsFilters {
|
|
3772
|
+
programsIds?: number[];
|
|
3773
|
+
sessionsIds?: number[];
|
|
3774
|
+
segmentsIds?: number[];
|
|
3775
|
+
durations?: Duration[];
|
|
3776
|
+
daysOfWeek?: number[];
|
|
3777
|
+
}
|
|
3778
|
+
export interface Duration {
|
|
3779
|
+
startDate: string;
|
|
3780
|
+
endDate: string;
|
|
3781
|
+
}
|
|
3782
|
+
export interface IUnallocatedEventRes {
|
|
3783
|
+
id: number;
|
|
3784
|
+
title: string;
|
|
3785
|
+
sports: number[];
|
|
3786
|
+
startDate: string;
|
|
3787
|
+
startDateString: string;
|
|
3788
|
+
startTime: string;
|
|
3789
|
+
endDate: string;
|
|
3790
|
+
endDateString: string;
|
|
3791
|
+
endTime: string;
|
|
3792
|
+
timezone: string;
|
|
3793
|
+
}
|
|
3794
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3795
|
+
data: IUnallocatedEventRes[];
|
|
3796
|
+
}
|
|
3797
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3798
|
+
userId: number;
|
|
3799
|
+
organizationId: number;
|
|
3800
|
+
notifyMetadata?: any;
|
|
3801
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3802
|
+
destination: string;
|
|
3803
|
+
}
|
|
3804
|
+
export declare class Permission extends BondBaseEntity {
|
|
3805
|
+
name: string;
|
|
3806
|
+
deletedAt?: Date;
|
|
3807
|
+
}
|
|
3808
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3809
|
+
name: string;
|
|
3810
|
+
deletedAt?: Date;
|
|
3811
|
+
permissions: Permission[];
|
|
3812
|
+
usersRoles: UserRole[];
|
|
3813
|
+
}
|
|
3814
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3815
|
+
deletedAt?: Date;
|
|
3816
|
+
userId: number;
|
|
3817
|
+
roleId: number;
|
|
3818
|
+
role: Role;
|
|
3819
|
+
user: User;
|
|
3820
|
+
}
|
|
3786
3821
|
export declare class AddonDto {
|
|
3787
3822
|
productId: number;
|
|
3788
3823
|
id?: number;
|
|
@@ -3892,6 +3927,34 @@ export declare class PurchasedResourceDto {
|
|
|
3892
3927
|
endDate?: string;
|
|
3893
3928
|
endTime?: string;
|
|
3894
3929
|
}
|
|
3930
|
+
export declare class SegmentDto {
|
|
3931
|
+
id?: number;
|
|
3932
|
+
title: string;
|
|
3933
|
+
isPrivate: boolean;
|
|
3934
|
+
resourceIds: number[];
|
|
3935
|
+
sportId?: number;
|
|
3936
|
+
series: SeriesDto[];
|
|
3937
|
+
addonIds?: number[];
|
|
3938
|
+
publicNotesForSlots?: string;
|
|
3939
|
+
privateNotesForSlots?: string;
|
|
3940
|
+
}
|
|
3941
|
+
export declare class SeriesDto {
|
|
3942
|
+
id?: number;
|
|
3943
|
+
startDate: string;
|
|
3944
|
+
startTime?: string;
|
|
3945
|
+
endDate?: string;
|
|
3946
|
+
endTime?: string;
|
|
3947
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3948
|
+
durationEndsAfter?: number;
|
|
3949
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3950
|
+
frequency: FrequencyEnum;
|
|
3951
|
+
repeatEvery?: number;
|
|
3952
|
+
repeatOn?: number[];
|
|
3953
|
+
repeatEndDate?: string;
|
|
3954
|
+
numberOccurrences?: number;
|
|
3955
|
+
maintenance?: MaintenanceDto[];
|
|
3956
|
+
slots?: SlotDto[];
|
|
3957
|
+
}
|
|
3895
3958
|
export declare class ReservationDto {
|
|
3896
3959
|
id?: number;
|
|
3897
3960
|
organizationId?: number;
|
|
@@ -4041,35 +4104,8 @@ export declare class ReservationNotifyDto {
|
|
|
4041
4104
|
notifyMethods?: NotifyMethodEnum[];
|
|
4042
4105
|
}
|
|
4043
4106
|
export declare class UpdateReservationInvoiceDto {
|
|
4044
|
-
updateAddons?:
|
|
4045
|
-
|
|
4046
|
-
export declare class SegmentDto {
|
|
4047
|
-
id?: number;
|
|
4048
|
-
title: string;
|
|
4049
|
-
isPrivate: boolean;
|
|
4050
|
-
resourceIds: number[];
|
|
4051
|
-
sportId?: number;
|
|
4052
|
-
series: SeriesDto[];
|
|
4053
|
-
addonIds?: number[];
|
|
4054
|
-
publicNotesForSlots?: string;
|
|
4055
|
-
privateNotesForSlots?: string;
|
|
4056
|
-
}
|
|
4057
|
-
export declare class SeriesDto {
|
|
4058
|
-
id?: number;
|
|
4059
|
-
startDate: string;
|
|
4060
|
-
startTime?: string;
|
|
4061
|
-
endDate?: string;
|
|
4062
|
-
endTime?: string;
|
|
4063
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4064
|
-
durationEndsAfter?: number;
|
|
4065
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4066
|
-
frequency: FrequencyEnum;
|
|
4067
|
-
repeatEvery?: number;
|
|
4068
|
-
repeatOn?: number[];
|
|
4069
|
-
repeatEndDate?: string;
|
|
4070
|
-
numberOccurrences?: number;
|
|
4071
|
-
maintenance?: MaintenanceDto[];
|
|
4072
|
-
slots?: SlotDto[];
|
|
4107
|
+
updateAddons?: boolean;
|
|
4108
|
+
updateMaintenance?: boolean;
|
|
4073
4109
|
}
|
|
4074
4110
|
export declare class SlotDateTimeAndSpace {
|
|
4075
4111
|
startDate: string;
|
|
@@ -4204,6 +4240,20 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4204
4240
|
invoiceId: number;
|
|
4205
4241
|
slotId: number;
|
|
4206
4242
|
}
|
|
4243
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4244
|
+
deletedAt?: Date;
|
|
4245
|
+
reservationId: number;
|
|
4246
|
+
title: string;
|
|
4247
|
+
isPrivate: boolean;
|
|
4248
|
+
resourceIds?: number[];
|
|
4249
|
+
sportId: number;
|
|
4250
|
+
reservation?: Reservation;
|
|
4251
|
+
series?: Series[];
|
|
4252
|
+
addonIds?: number[] | null;
|
|
4253
|
+
publicNotesForSlots?: string;
|
|
4254
|
+
privateNotesForSlots?: string;
|
|
4255
|
+
slots?: Slot[];
|
|
4256
|
+
}
|
|
4207
4257
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4208
4258
|
name?: string;
|
|
4209
4259
|
description?: string;
|
|
@@ -4237,20 +4287,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4237
4287
|
targetGlobalPrice?: number;
|
|
4238
4288
|
slots: Slot[];
|
|
4239
4289
|
}
|
|
4240
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4241
|
-
deletedAt?: Date;
|
|
4242
|
-
reservationId: number;
|
|
4243
|
-
title: string;
|
|
4244
|
-
isPrivate: boolean;
|
|
4245
|
-
resourceIds?: number[];
|
|
4246
|
-
sportId: number;
|
|
4247
|
-
reservation?: Reservation;
|
|
4248
|
-
series?: Series[];
|
|
4249
|
-
addonIds?: number[] | null;
|
|
4250
|
-
publicNotesForSlots?: string;
|
|
4251
|
-
privateNotesForSlots?: string;
|
|
4252
|
-
slots?: Slot[];
|
|
4253
|
-
}
|
|
4254
4290
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4255
4291
|
deletedAt?: Date;
|
|
4256
4292
|
segmentId: number;
|
|
@@ -4337,6 +4373,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4337
4373
|
conflictsCount?: number;
|
|
4338
4374
|
conflicts?: Slot[];
|
|
4339
4375
|
}
|
|
4376
|
+
export declare class ChangeRolePermissionsDto {
|
|
4377
|
+
permissionIds: number[];
|
|
4378
|
+
}
|
|
4379
|
+
export declare class CreateRoleDto {
|
|
4380
|
+
name: string;
|
|
4381
|
+
}
|
|
4340
4382
|
export declare type TSlotAndType = {
|
|
4341
4383
|
type: 'slots' | 'slot_addons';
|
|
4342
4384
|
slotsForProduct: {
|
|
@@ -4569,35 +4611,9 @@ export interface AddonMetadata {
|
|
|
4569
4611
|
totalPrice: number;
|
|
4570
4612
|
product?: Product;
|
|
4571
4613
|
}
|
|
4572
|
-
export declare class ChangeRolePermissionsDto {
|
|
4573
|
-
permissionIds: number[];
|
|
4574
|
-
}
|
|
4575
|
-
export declare class CreateRoleDto {
|
|
4576
|
-
name: string;
|
|
4577
|
-
}
|
|
4578
|
-
export declare class Permission extends BondBaseEntity {
|
|
4579
|
-
name: string;
|
|
4580
|
-
deletedAt?: Date;
|
|
4581
|
-
}
|
|
4582
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4583
|
-
name: string;
|
|
4584
|
-
deletedAt?: Date;
|
|
4585
|
-
permissions: Permission[];
|
|
4586
|
-
usersRoles: UserRole[];
|
|
4587
|
-
}
|
|
4588
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4589
|
-
deletedAt?: Date;
|
|
4590
|
-
userId: number;
|
|
4591
|
-
roleId: number;
|
|
4592
|
-
role: Role;
|
|
4593
|
-
user: User;
|
|
4594
|
-
}
|
|
4595
4614
|
export declare class CloseShiftDto {
|
|
4596
4615
|
closingCashAmount: number;
|
|
4597
4616
|
}
|
|
4598
|
-
export declare class FindShiftsByIdsDto {
|
|
4599
|
-
shiftIds: number[];
|
|
4600
|
-
}
|
|
4601
4617
|
export declare class FindShiftsFiltersDto {
|
|
4602
4618
|
statuses?: string;
|
|
4603
4619
|
stationIds?: string;
|
|
@@ -4625,6 +4641,9 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4625
4641
|
export declare class ManagementClosingOfShiftsDto {
|
|
4626
4642
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4627
4643
|
}
|
|
4644
|
+
export declare class FindShiftsByIdsDto {
|
|
4645
|
+
shiftIds: number[];
|
|
4646
|
+
}
|
|
4628
4647
|
export declare class OpenShiftDto {
|
|
4629
4648
|
openingCashAmount: number;
|
|
4630
4649
|
stationId: number;
|
|
@@ -4658,3 +4677,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4658
4677
|
closingManager?: User;
|
|
4659
4678
|
reconcilingUser?: User;
|
|
4660
4679
|
}
|
|
4680
|
+
export default interface IWebflowProgram {
|
|
4681
|
+
name: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
activity: string;
|
|
4684
|
+
backgroundImage: string;
|
|
4685
|
+
minAge: string;
|
|
4686
|
+
maxAge: string;
|
|
4687
|
+
shortDescription: string;
|
|
4688
|
+
longDescription: string;
|
|
4689
|
+
programType: string;
|
|
4690
|
+
level: string[];
|
|
4691
|
+
gender: string;
|
|
4692
|
+
}
|