@bondsports/types 0.0.37 → 0.0.38
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 +887 -887
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,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;
|
|
@@ -27,6 +20,64 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
20
|
bookingDate: string;
|
|
28
21
|
bookingTime: string;
|
|
29
22
|
}
|
|
23
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
|
+
membershipId: number;
|
|
25
|
+
}
|
|
26
|
+
export declare class ImportProductsFromDB {
|
|
27
|
+
buDate: string;
|
|
28
|
+
}
|
|
29
|
+
export declare class ImportCustomerFromCSV {
|
|
30
|
+
fileName: string;
|
|
31
|
+
startIndex?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
34
|
+
resolveInvoices: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
37
|
+
membershipId: number;
|
|
38
|
+
onlyDashIds: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
41
|
+
facilityId: number;
|
|
42
|
+
}
|
|
43
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
44
|
+
customerId: number;
|
|
45
|
+
}
|
|
46
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
47
|
+
nameSearch?: string;
|
|
48
|
+
fuzzy?: string;
|
|
49
|
+
customerType?: CustomerTypeEnum;
|
|
50
|
+
customersIds?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare class AddCustomerNotesDto {
|
|
53
|
+
customerNotes: CustomerNoteDto[];
|
|
54
|
+
}
|
|
55
|
+
export declare class CustomerNoteDto {
|
|
56
|
+
id?: number;
|
|
57
|
+
description: string;
|
|
58
|
+
pinToTop?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare class AddEditCustomerDto {
|
|
61
|
+
firstName?: string;
|
|
62
|
+
lastName?: string;
|
|
63
|
+
entityId?: number;
|
|
64
|
+
entityType?: CustomerTypeEnum;
|
|
65
|
+
email?: string;
|
|
66
|
+
color?: string;
|
|
67
|
+
street?: string;
|
|
68
|
+
city?: string;
|
|
69
|
+
state?: string;
|
|
70
|
+
zip?: string;
|
|
71
|
+
phoneNumber?: string;
|
|
72
|
+
mainMediaId?: number;
|
|
73
|
+
creatorId?: number;
|
|
74
|
+
creatorType?: ResourceNameTypeEnum;
|
|
75
|
+
userCreatorId?: number;
|
|
76
|
+
gender?: GenderEnum;
|
|
77
|
+
birthDate?: string;
|
|
78
|
+
emergencyContactName?: string;
|
|
79
|
+
emergencyContactPhone?: string;
|
|
80
|
+
}
|
|
30
81
|
export declare class AddressDto {
|
|
31
82
|
city: string;
|
|
32
83
|
state: string;
|
|
@@ -171,6 +222,18 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
171
222
|
isWaiverSigned?: string;
|
|
172
223
|
statuses?: string;
|
|
173
224
|
}
|
|
225
|
+
export declare class FindOneParams {
|
|
226
|
+
id: number;
|
|
227
|
+
}
|
|
228
|
+
export declare class PaginationQuery {
|
|
229
|
+
page: number;
|
|
230
|
+
itemsPerPage: number;
|
|
231
|
+
}
|
|
232
|
+
export declare class PaginationRangeQuery {
|
|
233
|
+
startPage: number;
|
|
234
|
+
endPage: number;
|
|
235
|
+
itemsPerPage: number;
|
|
236
|
+
}
|
|
174
237
|
export declare class FindFamilyAccountsDto {
|
|
175
238
|
userId: number;
|
|
176
239
|
}
|
|
@@ -203,18 +266,6 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
203
266
|
userId: number;
|
|
204
267
|
familyAccountId: number;
|
|
205
268
|
}
|
|
206
|
-
export declare class FindOneParams {
|
|
207
|
-
id: number;
|
|
208
|
-
}
|
|
209
|
-
export declare class PaginationQuery {
|
|
210
|
-
page: number;
|
|
211
|
-
itemsPerPage: number;
|
|
212
|
-
}
|
|
213
|
-
export declare class PaginationRangeQuery {
|
|
214
|
-
startPage: number;
|
|
215
|
-
endPage: number;
|
|
216
|
-
itemsPerPage: number;
|
|
217
|
-
}
|
|
218
269
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
219
270
|
organizationId: number;
|
|
220
271
|
}
|
|
@@ -225,47 +276,134 @@ export declare class GetGlCodeDto {
|
|
|
225
276
|
createdAt: Date;
|
|
226
277
|
updatedAt: Date;
|
|
227
278
|
}
|
|
228
|
-
export declare class
|
|
279
|
+
export declare class FindByProgramSeasonIdDto {
|
|
280
|
+
seasonId: number;
|
|
281
|
+
}
|
|
282
|
+
export declare class CreateBulkDivisionsDto {
|
|
283
|
+
divisions: CreateDivisionDto[];
|
|
284
|
+
}
|
|
285
|
+
export declare class CreateDivisionDto {
|
|
286
|
+
name: string;
|
|
287
|
+
ordinal?: number;
|
|
288
|
+
programSeasonId: number;
|
|
289
|
+
color: string;
|
|
290
|
+
isDefault: boolean;
|
|
291
|
+
}
|
|
292
|
+
export declare class CreateGroupDto {
|
|
293
|
+
name: string;
|
|
294
|
+
description?: string;
|
|
295
|
+
status?: GroupStatusEnum;
|
|
296
|
+
maxCapacity?: number;
|
|
297
|
+
mainMediaId?: number;
|
|
298
|
+
minAgeYears?: number;
|
|
299
|
+
maxAgeYears?: number;
|
|
300
|
+
gender: GenderEnum;
|
|
301
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
302
|
+
sports: SportsEnum[];
|
|
303
|
+
questionnaires?: number[];
|
|
304
|
+
captainUserId?: number;
|
|
305
|
+
divisionId?: number;
|
|
306
|
+
}
|
|
307
|
+
export declare class ConnectGroupToDivision {
|
|
308
|
+
groupId: number;
|
|
309
|
+
divisionId: number;
|
|
310
|
+
prevDivisionId: number;
|
|
311
|
+
}
|
|
312
|
+
export declare class MoveUserInGroups {
|
|
313
|
+
userId: number;
|
|
314
|
+
groupId?: number;
|
|
315
|
+
prevGroupId?: number;
|
|
316
|
+
}
|
|
317
|
+
export declare class SaveUserAsGroupCaptain {
|
|
318
|
+
groupId: number;
|
|
319
|
+
userId: number;
|
|
320
|
+
}
|
|
321
|
+
export declare class CreateTeamInviteDto {
|
|
322
|
+
emails: string[];
|
|
323
|
+
userCreatorId: number;
|
|
324
|
+
}
|
|
325
|
+
export declare class TeamByIdDto {
|
|
326
|
+
teamId: number;
|
|
327
|
+
}
|
|
328
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
329
|
+
inviteToken: string;
|
|
330
|
+
}
|
|
331
|
+
export declare class JoinTeamDto {
|
|
332
|
+
userId: number;
|
|
333
|
+
inviteToken?: string;
|
|
334
|
+
}
|
|
335
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
336
|
+
userId: number;
|
|
337
|
+
}
|
|
338
|
+
export interface IMoveSeason {
|
|
339
|
+
fromSeasonId: number;
|
|
340
|
+
toSeasonId: number;
|
|
341
|
+
}
|
|
342
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
343
|
+
teamId?: number;
|
|
344
|
+
memberId?: number;
|
|
345
|
+
fromSeasonId: number;
|
|
346
|
+
toSeasonId: number;
|
|
347
|
+
toDivisionId?: number;
|
|
348
|
+
}
|
|
349
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
350
|
+
fileName: string;
|
|
351
|
+
}
|
|
352
|
+
export declare class CreateMembershipDto {
|
|
229
353
|
organizationId: number;
|
|
230
|
-
|
|
231
|
-
|
|
354
|
+
name: string;
|
|
355
|
+
description?: string;
|
|
356
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
357
|
+
activity: SportsEnum;
|
|
358
|
+
facilityId: number;
|
|
359
|
+
questionnaires: number[];
|
|
360
|
+
minAgeYears: number;
|
|
361
|
+
maxAgeYears: number;
|
|
362
|
+
gender: GenderEnum;
|
|
363
|
+
maxMembers?: number;
|
|
364
|
+
maxMaleMembers?: number;
|
|
365
|
+
maxFemaleMembers?: number;
|
|
366
|
+
startDate: string;
|
|
367
|
+
endDate: string;
|
|
368
|
+
registrationStartDate?: Date;
|
|
369
|
+
registrationEndDate?: Date;
|
|
370
|
+
membershipType: MembershipTypeEnum;
|
|
371
|
+
durationMonths: number;
|
|
372
|
+
longDescription?: string;
|
|
373
|
+
isAutoRenew?: boolean;
|
|
232
374
|
}
|
|
233
|
-
export declare class
|
|
234
|
-
|
|
375
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
376
|
+
id: number;
|
|
235
377
|
}
|
|
236
|
-
export declare class
|
|
237
|
-
|
|
238
|
-
|
|
378
|
+
export declare class UpdateMembershipMediaDto {
|
|
379
|
+
membershipId: number;
|
|
380
|
+
mediaId: number;
|
|
239
381
|
}
|
|
240
|
-
export declare class
|
|
382
|
+
export declare class FindMembershipByIdDto {
|
|
383
|
+
membershipId: number;
|
|
384
|
+
}
|
|
385
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
241
386
|
organizationId: number;
|
|
242
|
-
user?: any;
|
|
243
|
-
answers?: IQuestionAnswerObject[];
|
|
244
|
-
itemIds: number[];
|
|
245
|
-
itemType?: ResourceNameTypeEnum;
|
|
246
|
-
startDate?: Date;
|
|
247
387
|
}
|
|
248
|
-
export declare class
|
|
249
|
-
|
|
250
|
-
itemsIds: number[];
|
|
388
|
+
export declare class FindMembershipsByUserIdDto {
|
|
389
|
+
userId: number;
|
|
251
390
|
}
|
|
252
|
-
export declare class
|
|
253
|
-
|
|
391
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
392
|
+
startDate: string;
|
|
254
393
|
}
|
|
255
|
-
export declare class
|
|
256
|
-
|
|
257
|
-
itemType: string;
|
|
394
|
+
export declare class MembershipIdsDto {
|
|
395
|
+
membershipIds?: number[];
|
|
258
396
|
}
|
|
259
|
-
export declare class
|
|
260
|
-
|
|
397
|
+
export declare class MemberIdDto {
|
|
398
|
+
memberId?: number;
|
|
261
399
|
}
|
|
262
|
-
export declare class
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
400
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
401
|
+
nameEmailSearch?: string;
|
|
402
|
+
pastMemberships?: string;
|
|
403
|
+
}
|
|
404
|
+
export declare class CancelMembershipDto {
|
|
405
|
+
isImmediatelyCancel: boolean;
|
|
406
|
+
cancellationReason?: string;
|
|
269
407
|
}
|
|
270
408
|
export declare class FindByProductIdDto {
|
|
271
409
|
productId: number;
|
|
@@ -487,192 +625,47 @@ export declare class createResourceDto {
|
|
|
487
625
|
export declare class archiveDto {
|
|
488
626
|
isArchive: boolean;
|
|
489
627
|
}
|
|
490
|
-
export declare class
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
divisions: CreateDivisionDto[];
|
|
628
|
+
export declare class CreateEntitlementTermsDto {
|
|
629
|
+
organizationId: number;
|
|
630
|
+
entitlementGroupId: number;
|
|
631
|
+
terms: IEntitlementTerms[];
|
|
495
632
|
}
|
|
496
|
-
export declare class
|
|
497
|
-
|
|
498
|
-
ordinal?: number;
|
|
499
|
-
programSeasonId: number;
|
|
500
|
-
color: string;
|
|
501
|
-
isDefault: boolean;
|
|
633
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
634
|
+
entitlementGroupId: number;
|
|
502
635
|
}
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
status?: GroupStatusEnum;
|
|
507
|
-
maxCapacity?: number;
|
|
508
|
-
mainMediaId?: number;
|
|
509
|
-
minAgeYears?: number;
|
|
510
|
-
maxAgeYears?: number;
|
|
511
|
-
gender: GenderEnum;
|
|
512
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
513
|
-
sports: SportsEnum[];
|
|
514
|
-
questionnaires?: number[];
|
|
515
|
-
captainUserId?: number;
|
|
516
|
-
divisionId?: number;
|
|
517
|
-
}
|
|
518
|
-
export declare class ConnectGroupToDivision {
|
|
519
|
-
groupId: number;
|
|
520
|
-
divisionId: number;
|
|
521
|
-
prevDivisionId: number;
|
|
522
|
-
}
|
|
523
|
-
export declare class MoveUserInGroups {
|
|
524
|
-
userId: number;
|
|
525
|
-
groupId?: number;
|
|
526
|
-
prevGroupId?: number;
|
|
527
|
-
}
|
|
528
|
-
export declare class SaveUserAsGroupCaptain {
|
|
529
|
-
groupId: number;
|
|
530
|
-
userId: number;
|
|
531
|
-
}
|
|
532
|
-
export declare class CreateTeamInviteDto {
|
|
533
|
-
emails: string[];
|
|
534
|
-
userCreatorId: number;
|
|
535
|
-
}
|
|
536
|
-
export declare class TeamByIdDto {
|
|
537
|
-
teamId: number;
|
|
538
|
-
}
|
|
539
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
540
|
-
inviteToken: string;
|
|
541
|
-
}
|
|
542
|
-
export declare class JoinTeamDto {
|
|
543
|
-
userId: number;
|
|
544
|
-
inviteToken?: string;
|
|
545
|
-
}
|
|
546
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
547
|
-
userId: number;
|
|
548
|
-
}
|
|
549
|
-
export interface IMoveSeason {
|
|
550
|
-
fromSeasonId: number;
|
|
551
|
-
toSeasonId: number;
|
|
552
|
-
}
|
|
553
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
554
|
-
teamId?: number;
|
|
555
|
-
memberId?: number;
|
|
556
|
-
fromSeasonId: number;
|
|
557
|
-
toSeasonId: number;
|
|
558
|
-
toDivisionId?: number;
|
|
559
|
-
}
|
|
560
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
561
|
-
fileName: string;
|
|
562
|
-
}
|
|
563
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
564
|
-
membershipId: number;
|
|
565
|
-
}
|
|
566
|
-
export declare class ImportProductsFromDB {
|
|
567
|
-
buDate: string;
|
|
568
|
-
}
|
|
569
|
-
export declare class ImportCustomerFromCSV {
|
|
570
|
-
fileName: string;
|
|
571
|
-
startIndex?: number;
|
|
572
|
-
}
|
|
573
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
574
|
-
resolveInvoices: string;
|
|
575
|
-
}
|
|
576
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
577
|
-
membershipId: number;
|
|
578
|
-
onlyDashIds: string;
|
|
579
|
-
}
|
|
580
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
581
|
-
facilityId: number;
|
|
582
|
-
}
|
|
583
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
584
|
-
customerId: number;
|
|
585
|
-
}
|
|
586
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
587
|
-
nameSearch?: string;
|
|
588
|
-
fuzzy?: string;
|
|
589
|
-
customerType?: CustomerTypeEnum;
|
|
590
|
-
customersIds?: string;
|
|
591
|
-
}
|
|
592
|
-
export declare class AddCustomerNotesDto {
|
|
593
|
-
customerNotes: CustomerNoteDto[];
|
|
594
|
-
}
|
|
595
|
-
export declare class CustomerNoteDto {
|
|
596
|
-
id?: number;
|
|
597
|
-
description: string;
|
|
598
|
-
pinToTop?: boolean;
|
|
599
|
-
}
|
|
600
|
-
export declare class AddEditCustomerDto {
|
|
601
|
-
firstName?: string;
|
|
602
|
-
lastName?: string;
|
|
603
|
-
entityId?: number;
|
|
604
|
-
entityType?: CustomerTypeEnum;
|
|
605
|
-
email?: string;
|
|
606
|
-
color?: string;
|
|
607
|
-
street?: string;
|
|
608
|
-
city?: string;
|
|
609
|
-
state?: string;
|
|
610
|
-
zip?: string;
|
|
611
|
-
phoneNumber?: string;
|
|
612
|
-
mainMediaId?: number;
|
|
613
|
-
creatorId?: number;
|
|
614
|
-
creatorType?: ResourceNameTypeEnum;
|
|
615
|
-
userCreatorId?: number;
|
|
616
|
-
gender?: GenderEnum;
|
|
617
|
-
birthDate?: string;
|
|
618
|
-
emergencyContactName?: string;
|
|
619
|
-
emergencyContactPhone?: string;
|
|
620
|
-
}
|
|
621
|
-
export declare class CreateMembershipDto {
|
|
622
|
-
organizationId: number;
|
|
623
|
-
name: string;
|
|
624
|
-
description?: string;
|
|
625
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
626
|
-
activity: SportsEnum;
|
|
627
|
-
facilityId: number;
|
|
628
|
-
questionnaires: number[];
|
|
629
|
-
minAgeYears: number;
|
|
630
|
-
maxAgeYears: number;
|
|
631
|
-
gender: GenderEnum;
|
|
632
|
-
maxMembers?: number;
|
|
633
|
-
maxMaleMembers?: number;
|
|
634
|
-
maxFemaleMembers?: number;
|
|
635
|
-
startDate: string;
|
|
636
|
-
endDate: string;
|
|
637
|
-
registrationStartDate?: Date;
|
|
638
|
-
registrationEndDate?: Date;
|
|
639
|
-
membershipType: MembershipTypeEnum;
|
|
640
|
-
durationMonths: number;
|
|
641
|
-
longDescription?: string;
|
|
642
|
-
isAutoRenew?: boolean;
|
|
643
|
-
}
|
|
644
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
645
|
-
id: number;
|
|
646
|
-
}
|
|
647
|
-
export declare class UpdateMembershipMediaDto {
|
|
648
|
-
membershipId: number;
|
|
649
|
-
mediaId: number;
|
|
650
|
-
}
|
|
651
|
-
export declare class FindMembershipByIdDto {
|
|
652
|
-
membershipId: number;
|
|
636
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
637
|
+
user: any;
|
|
638
|
+
userVariables: IQuestionAnswerObject[];
|
|
653
639
|
}
|
|
654
|
-
export declare class
|
|
640
|
+
export declare class FindLowestPriceDto {
|
|
655
641
|
organizationId: number;
|
|
642
|
+
user?: any;
|
|
643
|
+
answers?: IQuestionAnswerObject[];
|
|
644
|
+
itemIds: number[];
|
|
645
|
+
itemType?: ResourceNameTypeEnum;
|
|
646
|
+
startDate?: Date;
|
|
656
647
|
}
|
|
657
|
-
export declare class
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
661
|
-
startDate: string;
|
|
648
|
+
export declare class FindGroupItemsPricingsDto {
|
|
649
|
+
groupsIds: number[];
|
|
650
|
+
itemsIds: number[];
|
|
662
651
|
}
|
|
663
|
-
export declare class
|
|
664
|
-
|
|
652
|
+
export declare class CreateEntitlementGroupDto {
|
|
653
|
+
name: string;
|
|
665
654
|
}
|
|
666
|
-
export declare class
|
|
667
|
-
|
|
655
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
656
|
+
itemIds: number[];
|
|
657
|
+
itemType: string;
|
|
668
658
|
}
|
|
669
|
-
export declare class
|
|
670
|
-
|
|
671
|
-
pastMemberships?: string;
|
|
659
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
660
|
+
groupid: number;
|
|
672
661
|
}
|
|
673
|
-
export declare class
|
|
674
|
-
|
|
675
|
-
|
|
662
|
+
export declare class CreateGroupPricingWithProduct {
|
|
663
|
+
groupId: number;
|
|
664
|
+
price: number;
|
|
665
|
+
startDate?: Date;
|
|
666
|
+
endDate?: Date;
|
|
667
|
+
discountValue?: number;
|
|
668
|
+
discountMethod?: DiscountMethodsEnum;
|
|
676
669
|
}
|
|
677
670
|
export declare class CreateUpdateVariantsDto {
|
|
678
671
|
organizationId: number;
|
|
@@ -692,151 +685,6 @@ export declare class VariantDto {
|
|
|
692
685
|
startDate: Date;
|
|
693
686
|
endDate: Date;
|
|
694
687
|
}
|
|
695
|
-
export declare class PurchasePaymentDto {
|
|
696
|
-
token: string;
|
|
697
|
-
type: PaymentMethodTypeEnum;
|
|
698
|
-
}
|
|
699
|
-
export declare class ChargeRentalsReuqestDto {
|
|
700
|
-
organizationId: number;
|
|
701
|
-
userId?: number;
|
|
702
|
-
customerId?: number;
|
|
703
|
-
orderId: number;
|
|
704
|
-
paymentData: PurchasePaymentDto;
|
|
705
|
-
amountToPay: number;
|
|
706
|
-
total: number;
|
|
707
|
-
platform: PlatformsEnum;
|
|
708
|
-
shiftId?: number;
|
|
709
|
-
}
|
|
710
|
-
export declare class PurchaseRequestDto {
|
|
711
|
-
purchasingUserId: number;
|
|
712
|
-
customerId?: number;
|
|
713
|
-
products: PurchaseProductDto[];
|
|
714
|
-
paymentData: PurchasePaymentDto;
|
|
715
|
-
answers: UserAnswersDto[];
|
|
716
|
-
amountToPay: number;
|
|
717
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
718
|
-
parentPurchasedId?: number;
|
|
719
|
-
isPartialPayment: boolean;
|
|
720
|
-
existingOrderToken?: string;
|
|
721
|
-
installments?: ScheduledPaymentDto[];
|
|
722
|
-
shiftId?: number;
|
|
723
|
-
orderId?: number;
|
|
724
|
-
}
|
|
725
|
-
export declare class PurchaseResourceDto extends ResourceDto {
|
|
726
|
-
}
|
|
727
|
-
export declare class PurchaseProductDto {
|
|
728
|
-
id: number;
|
|
729
|
-
resources?: PurchaseResourceDto[];
|
|
730
|
-
userId?: number;
|
|
731
|
-
paymentStatus?: PaymentStatusEnum;
|
|
732
|
-
amountToPay?: number;
|
|
733
|
-
ordinal?: number;
|
|
734
|
-
startDate?: Date;
|
|
735
|
-
quantity?: number;
|
|
736
|
-
}
|
|
737
|
-
export declare class PartialPaymentRequestDto {
|
|
738
|
-
orderId: number;
|
|
739
|
-
amountToPay: number;
|
|
740
|
-
organizationId: number;
|
|
741
|
-
payingUserId: number;
|
|
742
|
-
paymentMethodData: PurchasePaymentDto;
|
|
743
|
-
shiftId?: number;
|
|
744
|
-
}
|
|
745
|
-
export declare class RedeemPunchCardRequestDto {
|
|
746
|
-
products: PurchaseProductDto[];
|
|
747
|
-
answersTitlesIds: number[];
|
|
748
|
-
organizationId: number;
|
|
749
|
-
purchasingUserId: number;
|
|
750
|
-
}
|
|
751
|
-
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
752
|
-
orderId: number;
|
|
753
|
-
}
|
|
754
|
-
export declare class AddItemsDto {
|
|
755
|
-
products: PurchaseProductDto[];
|
|
756
|
-
allocateResource: boolean;
|
|
757
|
-
skipMail: boolean;
|
|
758
|
-
}
|
|
759
|
-
export declare class PartialPaymentAsUserDto {
|
|
760
|
-
orderId: any;
|
|
761
|
-
organizationId: any;
|
|
762
|
-
amountToPay: any;
|
|
763
|
-
paymentMethodData: any;
|
|
764
|
-
}
|
|
765
|
-
export declare class CreateResourceGroupDto {
|
|
766
|
-
name: string;
|
|
767
|
-
parentSlotId: number;
|
|
768
|
-
facilityId: number;
|
|
769
|
-
childrenSlotIds: number[];
|
|
770
|
-
}
|
|
771
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
772
|
-
}
|
|
773
|
-
export declare class ResourceDto {
|
|
774
|
-
type: ResourceNameTypeEnum;
|
|
775
|
-
id: number;
|
|
776
|
-
}
|
|
777
|
-
export declare class SpaceByIdDto {
|
|
778
|
-
spaceId: number;
|
|
779
|
-
}
|
|
780
|
-
export declare class CreateSpaceDto {
|
|
781
|
-
name: string;
|
|
782
|
-
sports: number[];
|
|
783
|
-
description?: string;
|
|
784
|
-
longDescription?: string;
|
|
785
|
-
spaceType: ResourceSubTypeEnum;
|
|
786
|
-
isAddon?: boolean;
|
|
787
|
-
properties: SpacePropertiesEnum;
|
|
788
|
-
width?: number;
|
|
789
|
-
length?: number;
|
|
790
|
-
surface?: SurfacesEnum;
|
|
791
|
-
ages?: ResourceAgesEnum;
|
|
792
|
-
amenities: number[];
|
|
793
|
-
activityTimes: BasicActivityTimesDto[];
|
|
794
|
-
facilitiesIds: number[];
|
|
795
|
-
resourceGroupId?: number;
|
|
796
|
-
blockedResourcesIds?: number[];
|
|
797
|
-
}
|
|
798
|
-
export declare class UpdateSpaceDetailsDto {
|
|
799
|
-
name: string;
|
|
800
|
-
description?: string;
|
|
801
|
-
longDescription?: string;
|
|
802
|
-
isAddon?: boolean;
|
|
803
|
-
facilitiesIds: number[];
|
|
804
|
-
}
|
|
805
|
-
export declare class UpdateSpacePropertiesDto {
|
|
806
|
-
properties: SpacePropertiesEnum;
|
|
807
|
-
width?: number;
|
|
808
|
-
length?: number;
|
|
809
|
-
surface?: SurfacesEnum;
|
|
810
|
-
ages?: ResourceAgesEnum;
|
|
811
|
-
}
|
|
812
|
-
export declare class UpdateSpaceTimesDto {
|
|
813
|
-
activityTimes: BasicActivityTimesDto[];
|
|
814
|
-
}
|
|
815
|
-
export declare class UpdateSpaceRelationshipsDto {
|
|
816
|
-
resourceGroupId?: number;
|
|
817
|
-
blockedResourcesIds?: number[];
|
|
818
|
-
}
|
|
819
|
-
export declare class SaveSpaceDependenciesDto {
|
|
820
|
-
blockedSpacesIds: number[];
|
|
821
|
-
parentSpaceId?: number;
|
|
822
|
-
}
|
|
823
|
-
export declare class FacilitySlotsScheduleQueryParams {
|
|
824
|
-
spacesIds?: string;
|
|
825
|
-
futureHoursLimit?: number;
|
|
826
|
-
}
|
|
827
|
-
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
828
|
-
nameSearch?: string;
|
|
829
|
-
facilitiesIds?: string;
|
|
830
|
-
types?: string;
|
|
831
|
-
resourcesIds?: string;
|
|
832
|
-
}
|
|
833
|
-
export declare class StripeCustomerIdDto {
|
|
834
|
-
userId: number;
|
|
835
|
-
}
|
|
836
|
-
export declare class AddACHTokenToCustomerDto {
|
|
837
|
-
publicToken: string;
|
|
838
|
-
accountId: string;
|
|
839
|
-
}
|
|
840
688
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
841
689
|
programId: number;
|
|
842
690
|
}
|
|
@@ -972,54 +820,236 @@ export declare class BulkSpaceResourceAllocationDto {
|
|
|
972
820
|
spaceResourcePairs: SpaceResourcePairDto[];
|
|
973
821
|
organizationId: number;
|
|
974
822
|
}
|
|
975
|
-
export declare class SingleSpaceAllocationByTimesDto {
|
|
976
|
-
date: string;
|
|
977
|
-
startTime: string;
|
|
978
|
-
endTime: string;
|
|
823
|
+
export declare class SingleSpaceAllocationByTimesDto {
|
|
824
|
+
date: string;
|
|
825
|
+
startTime: string;
|
|
826
|
+
endTime: string;
|
|
827
|
+
spaceId: number;
|
|
828
|
+
publicNotes?: string;
|
|
829
|
+
slotType?: SlotTypeEnum;
|
|
830
|
+
}
|
|
831
|
+
export declare class SpaceAllocationsByTimesDto {
|
|
832
|
+
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
833
|
+
}
|
|
834
|
+
export declare class UpdateSeasonDatesDto {
|
|
835
|
+
startDate: Date;
|
|
836
|
+
endDate: Date;
|
|
837
|
+
}
|
|
838
|
+
export declare class MoveAttendeeDto {
|
|
839
|
+
userId: number;
|
|
840
|
+
resourceType: ResourceNameTypeEnum;
|
|
841
|
+
fromResourceIds: number[];
|
|
842
|
+
toResourceIds: number[];
|
|
843
|
+
}
|
|
844
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
845
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
846
|
+
}
|
|
847
|
+
export declare class RegistrationDatesDto {
|
|
848
|
+
registrationStartDate: Date;
|
|
849
|
+
registrationEndDate: Date;
|
|
850
|
+
earlyRegistrationStartDate?: Date;
|
|
851
|
+
earlyRegistrationEndDate?: Date;
|
|
852
|
+
lateRegistrationStartDate?: Date;
|
|
853
|
+
lateRegistrationEndDate?: Date;
|
|
854
|
+
}
|
|
855
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
|
856
|
+
closeRegistrationPeriodValue?: number;
|
|
857
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
858
|
+
closeRegistrationSpecTime?: string;
|
|
859
|
+
openRegistrationPeriodValue?: number;
|
|
860
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
861
|
+
openRegistrationSpecTime?: string;
|
|
862
|
+
productsIdsToUpdate?: number[];
|
|
863
|
+
}
|
|
864
|
+
export declare class MoveParticipantDto {
|
|
865
|
+
userId: number;
|
|
866
|
+
oldProductId: number;
|
|
867
|
+
newProductId: number;
|
|
868
|
+
moveType: 'session' | 'segment';
|
|
869
|
+
resourceId: number;
|
|
870
|
+
orderId: number;
|
|
871
|
+
}
|
|
872
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
873
|
+
organizationId: number;
|
|
874
|
+
programType?: ProgramTypesEnum;
|
|
875
|
+
}
|
|
876
|
+
export declare class FindProgramByIdDto {
|
|
877
|
+
programId: number;
|
|
878
|
+
}
|
|
879
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
880
|
+
programId: number;
|
|
881
|
+
organizationId: number;
|
|
882
|
+
}
|
|
883
|
+
export declare class BaseProgramDto {
|
|
884
|
+
type: ProgramTypesEnum;
|
|
885
|
+
name: string;
|
|
886
|
+
sport: SportsEnum;
|
|
887
|
+
minAge: string;
|
|
888
|
+
maxAge: string;
|
|
889
|
+
gender: GenderEnum;
|
|
890
|
+
level?: LevelOfPlayEnum[];
|
|
891
|
+
description?: string;
|
|
892
|
+
GL?: string;
|
|
893
|
+
status: PublishingStatusEnum;
|
|
894
|
+
organizationId: number;
|
|
895
|
+
userCreatorId: number;
|
|
896
|
+
highlights: ProgramHighlights[];
|
|
897
|
+
longDescription?: string;
|
|
898
|
+
requiredProductIds: number[];
|
|
899
|
+
}
|
|
900
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
901
|
+
}
|
|
902
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
903
|
+
programId: number;
|
|
904
|
+
mainMediaId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class UpdateProgramStatusDto {
|
|
907
|
+
programId: number;
|
|
908
|
+
status: PublishingStatusEnum;
|
|
909
|
+
}
|
|
910
|
+
export declare class ProgramHighlightDto {
|
|
911
|
+
data: string;
|
|
912
|
+
ordinal: number;
|
|
913
|
+
type: ProgramHighlightTypeEnum;
|
|
914
|
+
title: string;
|
|
915
|
+
}
|
|
916
|
+
export declare class ResourceDto {
|
|
917
|
+
type: ResourceNameTypeEnum;
|
|
918
|
+
id: number;
|
|
919
|
+
}
|
|
920
|
+
export declare class CreateResourceGroupDto {
|
|
921
|
+
name: string;
|
|
922
|
+
parentSlotId: number;
|
|
923
|
+
facilityId: number;
|
|
924
|
+
childrenSlotIds: number[];
|
|
925
|
+
}
|
|
926
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
927
|
+
}
|
|
928
|
+
export declare class PurchasePaymentDto {
|
|
929
|
+
token: string;
|
|
930
|
+
type: PaymentMethodTypeEnum;
|
|
931
|
+
}
|
|
932
|
+
export declare class ChargeRentalsReuqestDto {
|
|
933
|
+
organizationId: number;
|
|
934
|
+
userId?: number;
|
|
935
|
+
customerId?: number;
|
|
936
|
+
orderId: number;
|
|
937
|
+
paymentData: PurchasePaymentDto;
|
|
938
|
+
amountToPay: number;
|
|
939
|
+
total: number;
|
|
940
|
+
platform: PlatformsEnum;
|
|
941
|
+
shiftId?: number;
|
|
942
|
+
}
|
|
943
|
+
export declare class PurchaseRequestDto {
|
|
944
|
+
purchasingUserId: number;
|
|
945
|
+
customerId?: number;
|
|
946
|
+
products: PurchaseProductDto[];
|
|
947
|
+
paymentData: PurchasePaymentDto;
|
|
948
|
+
answers: UserAnswersDto[];
|
|
949
|
+
amountToPay: number;
|
|
950
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
951
|
+
parentPurchasedId?: number;
|
|
952
|
+
isPartialPayment: boolean;
|
|
953
|
+
existingOrderToken?: string;
|
|
954
|
+
installments?: ScheduledPaymentDto[];
|
|
955
|
+
shiftId?: number;
|
|
956
|
+
orderId?: number;
|
|
957
|
+
}
|
|
958
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
959
|
+
}
|
|
960
|
+
export declare class PurchaseProductDto {
|
|
961
|
+
id: number;
|
|
962
|
+
resources?: PurchaseResourceDto[];
|
|
963
|
+
userId?: number;
|
|
964
|
+
paymentStatus?: PaymentStatusEnum;
|
|
965
|
+
amountToPay?: number;
|
|
966
|
+
ordinal?: number;
|
|
967
|
+
startDate?: Date;
|
|
968
|
+
quantity?: number;
|
|
969
|
+
}
|
|
970
|
+
export declare class PartialPaymentRequestDto {
|
|
971
|
+
orderId: number;
|
|
972
|
+
amountToPay: number;
|
|
973
|
+
organizationId: number;
|
|
974
|
+
payingUserId: number;
|
|
975
|
+
paymentMethodData: PurchasePaymentDto;
|
|
976
|
+
shiftId?: number;
|
|
977
|
+
}
|
|
978
|
+
export declare class RedeemPunchCardRequestDto {
|
|
979
|
+
products: PurchaseProductDto[];
|
|
980
|
+
answersTitlesIds: number[];
|
|
981
|
+
organizationId: number;
|
|
982
|
+
purchasingUserId: number;
|
|
983
|
+
}
|
|
984
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
985
|
+
orderId: number;
|
|
986
|
+
}
|
|
987
|
+
export declare class AddItemsDto {
|
|
988
|
+
products: PurchaseProductDto[];
|
|
989
|
+
allocateResource: boolean;
|
|
990
|
+
skipMail: boolean;
|
|
991
|
+
}
|
|
992
|
+
export declare class PartialPaymentAsUserDto {
|
|
993
|
+
orderId: any;
|
|
994
|
+
organizationId: any;
|
|
995
|
+
amountToPay: any;
|
|
996
|
+
paymentMethodData: any;
|
|
997
|
+
}
|
|
998
|
+
export declare class SpaceByIdDto {
|
|
979
999
|
spaceId: number;
|
|
980
|
-
publicNotes?: string;
|
|
981
|
-
slotType?: SlotTypeEnum;
|
|
982
1000
|
}
|
|
983
|
-
export declare class
|
|
984
|
-
|
|
1001
|
+
export declare class CreateSpaceDto {
|
|
1002
|
+
name: string;
|
|
1003
|
+
sports: number[];
|
|
1004
|
+
description?: string;
|
|
1005
|
+
longDescription?: string;
|
|
1006
|
+
spaceType: ResourceSubTypeEnum;
|
|
1007
|
+
isAddon?: boolean;
|
|
1008
|
+
properties: SpacePropertiesEnum;
|
|
1009
|
+
width?: number;
|
|
1010
|
+
length?: number;
|
|
1011
|
+
surface?: SurfacesEnum;
|
|
1012
|
+
ages?: ResourceAgesEnum;
|
|
1013
|
+
amenities: number[];
|
|
1014
|
+
activityTimes: BasicActivityTimesDto[];
|
|
1015
|
+
facilitiesIds: number[];
|
|
1016
|
+
resourceGroupId?: number;
|
|
1017
|
+
blockedResourcesIds?: number[];
|
|
985
1018
|
}
|
|
986
|
-
export declare class
|
|
987
|
-
|
|
988
|
-
|
|
1019
|
+
export declare class UpdateSpaceDetailsDto {
|
|
1020
|
+
name: string;
|
|
1021
|
+
description?: string;
|
|
1022
|
+
longDescription?: string;
|
|
1023
|
+
isAddon?: boolean;
|
|
1024
|
+
facilitiesIds: number[];
|
|
989
1025
|
}
|
|
990
|
-
export declare class
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1026
|
+
export declare class UpdateSpacePropertiesDto {
|
|
1027
|
+
properties: SpacePropertiesEnum;
|
|
1028
|
+
width?: number;
|
|
1029
|
+
length?: number;
|
|
1030
|
+
surface?: SurfacesEnum;
|
|
1031
|
+
ages?: ResourceAgesEnum;
|
|
995
1032
|
}
|
|
996
|
-
export declare class
|
|
997
|
-
|
|
1033
|
+
export declare class UpdateSpaceTimesDto {
|
|
1034
|
+
activityTimes: BasicActivityTimesDto[];
|
|
998
1035
|
}
|
|
999
|
-
export declare class
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
earlyRegistrationStartDate?: Date;
|
|
1003
|
-
earlyRegistrationEndDate?: Date;
|
|
1004
|
-
lateRegistrationStartDate?: Date;
|
|
1005
|
-
lateRegistrationEndDate?: Date;
|
|
1036
|
+
export declare class UpdateSpaceRelationshipsDto {
|
|
1037
|
+
resourceGroupId?: number;
|
|
1038
|
+
blockedResourcesIds?: number[];
|
|
1006
1039
|
}
|
|
1007
|
-
export declare class
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
closeRegistrationSpecTime?: string;
|
|
1011
|
-
openRegistrationPeriodValue?: number;
|
|
1012
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
|
1013
|
-
openRegistrationSpecTime?: string;
|
|
1014
|
-
productsIdsToUpdate?: number[];
|
|
1040
|
+
export declare class SaveSpaceDependenciesDto {
|
|
1041
|
+
blockedSpacesIds: number[];
|
|
1042
|
+
parentSpaceId?: number;
|
|
1015
1043
|
}
|
|
1016
|
-
export declare class
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1044
|
+
export declare class FacilitySlotsScheduleQueryParams {
|
|
1045
|
+
spacesIds?: string;
|
|
1046
|
+
futureHoursLimit?: number;
|
|
1047
|
+
}
|
|
1048
|
+
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
1049
|
+
nameSearch?: string;
|
|
1050
|
+
facilitiesIds?: string;
|
|
1051
|
+
types?: string;
|
|
1052
|
+
resourcesIds?: string;
|
|
1023
1053
|
}
|
|
1024
1054
|
export declare class FindByUserIdDto {
|
|
1025
1055
|
userId: number;
|
|
@@ -1043,6 +1073,20 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1043
1073
|
oldValue?: any;
|
|
1044
1074
|
newValue?: any;
|
|
1045
1075
|
}
|
|
1076
|
+
export declare class BasicActivityTimesDto {
|
|
1077
|
+
dayOfWeek: number;
|
|
1078
|
+
close: string;
|
|
1079
|
+
open: string;
|
|
1080
|
+
availabilityStartDate?: string;
|
|
1081
|
+
availabilityEndDate?: string;
|
|
1082
|
+
}
|
|
1083
|
+
export declare class StripeCustomerIdDto {
|
|
1084
|
+
userId: number;
|
|
1085
|
+
}
|
|
1086
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1087
|
+
publicToken: string;
|
|
1088
|
+
accountId: string;
|
|
1089
|
+
}
|
|
1046
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1047
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1048
1092
|
parentId: number;
|
|
@@ -1067,6 +1111,17 @@ export declare class Address extends BondBaseEntity {
|
|
|
1067
1111
|
geo: any;
|
|
1068
1112
|
deletedAt?: Date;
|
|
1069
1113
|
}
|
|
1114
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1115
|
+
questionnaireId: number;
|
|
1116
|
+
userId?: number;
|
|
1117
|
+
answers: Answer[];
|
|
1118
|
+
questionnaire: Questionnaires;
|
|
1119
|
+
}
|
|
1120
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1121
|
+
userId: number | null;
|
|
1122
|
+
metadata: object | null;
|
|
1123
|
+
athleteSports: AthleteSports[];
|
|
1124
|
+
}
|
|
1070
1125
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1071
1126
|
questionId: number;
|
|
1072
1127
|
question?: Questions;
|
|
@@ -1080,26 +1135,18 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1080
1135
|
metaData: any | null;
|
|
1081
1136
|
questionText: string | null;
|
|
1082
1137
|
}
|
|
1083
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1084
|
-
questionnaireId: number;
|
|
1085
|
-
userId?: number;
|
|
1086
|
-
answers: Answer[];
|
|
1087
|
-
questionnaire: Questionnaires;
|
|
1088
|
-
}
|
|
1089
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1090
|
-
userId: number | null;
|
|
1091
|
-
metadata: object | null;
|
|
1092
|
-
athleteSports: AthleteSports[];
|
|
1093
|
-
}
|
|
1094
1138
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1095
1139
|
athleteId: number | null;
|
|
1096
1140
|
sports: number | null;
|
|
1097
1141
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1098
1142
|
}
|
|
1099
|
-
export declare class
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1143
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
|
+
entityType: ResourceNameTypeEnum;
|
|
1145
|
+
entityId: number;
|
|
1146
|
+
name: string;
|
|
1147
|
+
startDate: Date;
|
|
1148
|
+
endDate: Date;
|
|
1149
|
+
deletedAt?: Date;
|
|
1103
1150
|
}
|
|
1104
1151
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1105
1152
|
reservationId?: number;
|
|
@@ -1129,6 +1176,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1129
1176
|
endTimeInDay: string;
|
|
1130
1177
|
directBookingFor: DirectBookingTypesEnum;
|
|
1131
1178
|
}
|
|
1179
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1180
|
+
id: number;
|
|
1181
|
+
createdAt: Date;
|
|
1182
|
+
updatedAt: Date;
|
|
1183
|
+
}
|
|
1132
1184
|
export declare class Configuration extends BondBaseEntity {
|
|
1133
1185
|
area: string;
|
|
1134
1186
|
key: string;
|
|
@@ -1146,14 +1198,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1146
1198
|
userCreatorId: number | null;
|
|
1147
1199
|
ownerId: number | null;
|
|
1148
1200
|
}
|
|
1149
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1150
|
-
creditAmount: number;
|
|
1151
|
-
paymentProcessorId: string;
|
|
1152
|
-
userId: number;
|
|
1153
|
-
invoiceId: number;
|
|
1154
|
-
orderId: number;
|
|
1155
|
-
creditPaymentInvoiceId: number;
|
|
1156
|
-
}
|
|
1157
1201
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1158
1202
|
name: string | null;
|
|
1159
1203
|
entityId: number | null;
|
|
@@ -1194,13 +1238,13 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1194
1238
|
order: Order;
|
|
1195
1239
|
invoice: Invoice;
|
|
1196
1240
|
}
|
|
1197
|
-
export declare class
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1241
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1242
|
+
creditAmount: number;
|
|
1243
|
+
paymentProcessorId: string;
|
|
1244
|
+
userId: number;
|
|
1245
|
+
invoiceId: number;
|
|
1246
|
+
orderId: number;
|
|
1247
|
+
creditPaymentInvoiceId: number;
|
|
1204
1248
|
}
|
|
1205
1249
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1206
1250
|
customerId?: number;
|
|
@@ -1216,12 +1260,6 @@ export declare class Division extends BondBaseEntity {
|
|
|
1216
1260
|
isDefault: boolean;
|
|
1217
1261
|
groups: Group[];
|
|
1218
1262
|
}
|
|
1219
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1220
|
-
customerId: number;
|
|
1221
|
-
name: string | null;
|
|
1222
|
-
phoneNumber: string | null;
|
|
1223
|
-
customer: Customer;
|
|
1224
|
-
}
|
|
1225
1263
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1226
1264
|
name: string | null;
|
|
1227
1265
|
}
|
|
@@ -1229,6 +1267,12 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1229
1267
|
groupId: number;
|
|
1230
1268
|
terms: IEntitlementTerms[];
|
|
1231
1269
|
}
|
|
1270
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1271
|
+
customerId: number;
|
|
1272
|
+
name: string | null;
|
|
1273
|
+
phoneNumber: string | null;
|
|
1274
|
+
customer: Customer;
|
|
1275
|
+
}
|
|
1232
1276
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1233
1277
|
status: RequestStatusEnum | null;
|
|
1234
1278
|
hasPaid: boolean | null;
|
|
@@ -1299,6 +1343,14 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1299
1343
|
slots: Slot[];
|
|
1300
1344
|
purchasedResources: PurchasedResource[];
|
|
1301
1345
|
}
|
|
1346
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1347
|
+
facilityId: number;
|
|
1348
|
+
resourceId: number;
|
|
1349
|
+
}
|
|
1350
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1351
|
+
name: string | null;
|
|
1352
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1353
|
+
}
|
|
1302
1354
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1303
1355
|
name: string;
|
|
1304
1356
|
description?: string;
|
|
@@ -1323,10 +1375,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1323
1375
|
programSeasons: ProgramSeason[];
|
|
1324
1376
|
linkSEO: string;
|
|
1325
1377
|
}
|
|
1326
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1327
|
-
facilityId: number;
|
|
1328
|
-
resourceId: number;
|
|
1329
|
-
}
|
|
1330
1378
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1331
1379
|
userId: number;
|
|
1332
1380
|
orderId: number;
|
|
@@ -1340,6 +1388,24 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1340
1388
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1341
1389
|
code: string;
|
|
1342
1390
|
}
|
|
1391
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1392
|
+
groupId: number;
|
|
1393
|
+
itemId: number;
|
|
1394
|
+
itemType: ResourceNameTypeEnum;
|
|
1395
|
+
startDate: Date;
|
|
1396
|
+
endDate: Date;
|
|
1397
|
+
price: number;
|
|
1398
|
+
overridesPrice: boolean;
|
|
1399
|
+
deletedAt?: Date;
|
|
1400
|
+
group?: EntitlementGroup;
|
|
1401
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1402
|
+
discountValue?: number;
|
|
1403
|
+
}
|
|
1404
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1405
|
+
groupId: number;
|
|
1406
|
+
divisionId: number;
|
|
1407
|
+
deletedAt?: Date;
|
|
1408
|
+
}
|
|
1343
1409
|
export declare class Group extends BondBaseEntity {
|
|
1344
1410
|
name: string;
|
|
1345
1411
|
description?: string;
|
|
@@ -1356,19 +1422,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1356
1422
|
members: ISeasonAttendeeInfo[];
|
|
1357
1423
|
users: User[];
|
|
1358
1424
|
}
|
|
1359
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1360
|
-
groupId: number;
|
|
1361
|
-
itemId: number;
|
|
1362
|
-
itemType: ResourceNameTypeEnum;
|
|
1363
|
-
startDate: Date;
|
|
1364
|
-
endDate: Date;
|
|
1365
|
-
price: number;
|
|
1366
|
-
overridesPrice: boolean;
|
|
1367
|
-
deletedAt?: Date;
|
|
1368
|
-
group?: EntitlementGroup;
|
|
1369
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1370
|
-
discountValue?: number;
|
|
1371
|
-
}
|
|
1372
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1373
1426
|
price: number;
|
|
1374
1427
|
paymentProcessorId: string;
|
|
@@ -1396,11 +1449,6 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1396
1449
|
refundReasonId?: number;
|
|
1397
1450
|
refundNote?: string;
|
|
1398
1451
|
}
|
|
1399
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1400
|
-
groupId: number;
|
|
1401
|
-
divisionId: number;
|
|
1402
|
-
deletedAt?: Date;
|
|
1403
|
-
}
|
|
1404
1452
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1405
1453
|
email: string;
|
|
1406
1454
|
status: EEmailStatus;
|
|
@@ -1411,15 +1459,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1411
1459
|
mailParams?: any;
|
|
1412
1460
|
memo?: string;
|
|
1413
1461
|
}
|
|
1414
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1415
|
-
content: string;
|
|
1416
|
-
creatingUserId: number;
|
|
1417
|
-
user: User;
|
|
1418
|
-
isPublic: boolean;
|
|
1419
|
-
deletedAt: Date;
|
|
1420
|
-
invoiceId: number;
|
|
1421
|
-
invoice: Invoice;
|
|
1422
|
-
}
|
|
1423
1462
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1424
1463
|
name: string | null;
|
|
1425
1464
|
description: string | null;
|
|
@@ -1490,6 +1529,15 @@ export declare class LeagueSeasonRelations {
|
|
|
1490
1529
|
league?: boolean;
|
|
1491
1530
|
facilities?: boolean;
|
|
1492
1531
|
}
|
|
1532
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1533
|
+
content: string;
|
|
1534
|
+
creatingUserId: number;
|
|
1535
|
+
user: User;
|
|
1536
|
+
isPublic: boolean;
|
|
1537
|
+
deletedAt: Date;
|
|
1538
|
+
invoiceId: number;
|
|
1539
|
+
invoice: Invoice;
|
|
1540
|
+
}
|
|
1493
1541
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1494
1542
|
orderId: number;
|
|
1495
1543
|
invoiceId: number;
|
|
@@ -1555,25 +1603,24 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1555
1603
|
displayUnitPrice?: number;
|
|
1556
1604
|
displayQuantity?: number;
|
|
1557
1605
|
}
|
|
1558
|
-
export declare class
|
|
1559
|
-
|
|
1560
|
-
provider: string;
|
|
1561
|
-
providerId: string | null;
|
|
1562
|
-
parentId: number | null;
|
|
1563
|
-
parentType: string | null;
|
|
1564
|
-
status: number | null;
|
|
1565
|
-
token: string | null;
|
|
1566
|
-
refreshToken: string | null;
|
|
1567
|
-
tokenCreatedAt: Date | null;
|
|
1568
|
-
tokenValidUpTo: Date | null;
|
|
1569
|
-
createdAt: Date;
|
|
1570
|
-
updatedAt: Date;
|
|
1571
|
-
user: User;
|
|
1572
|
-
userId: number | null;
|
|
1573
|
-
}
|
|
1574
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1606
|
+
export declare class Media extends BondBaseEntity {
|
|
1607
|
+
url: string;
|
|
1575
1608
|
name: string | null;
|
|
1576
|
-
|
|
1609
|
+
title: string | null;
|
|
1610
|
+
mediaKey: string | null;
|
|
1611
|
+
description: string | null;
|
|
1612
|
+
provider: string | null;
|
|
1613
|
+
mediaType: number;
|
|
1614
|
+
fileType: string | null;
|
|
1615
|
+
isDefault: boolean | null;
|
|
1616
|
+
creatorId: number | null;
|
|
1617
|
+
creatorType: string | null;
|
|
1618
|
+
userCreatorId: number | null;
|
|
1619
|
+
ownerId: number | null;
|
|
1620
|
+
createdBy: number | null;
|
|
1621
|
+
users: User[];
|
|
1622
|
+
programs: Program[];
|
|
1623
|
+
memberships: Membership[];
|
|
1577
1624
|
}
|
|
1578
1625
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1579
1626
|
name: string;
|
|
@@ -1603,6 +1650,22 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1603
1650
|
isAutoRenew?: boolean;
|
|
1604
1651
|
purchasedResources: PurchasedResource[];
|
|
1605
1652
|
}
|
|
1653
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1654
|
+
id: number;
|
|
1655
|
+
provider: string;
|
|
1656
|
+
providerId: string | null;
|
|
1657
|
+
parentId: number | null;
|
|
1658
|
+
parentType: string | null;
|
|
1659
|
+
status: number | null;
|
|
1660
|
+
token: string | null;
|
|
1661
|
+
refreshToken: string | null;
|
|
1662
|
+
tokenCreatedAt: Date | null;
|
|
1663
|
+
tokenValidUpTo: Date | null;
|
|
1664
|
+
createdAt: Date;
|
|
1665
|
+
updatedAt: Date;
|
|
1666
|
+
user: User;
|
|
1667
|
+
userId: number | null;
|
|
1668
|
+
}
|
|
1606
1669
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1607
1670
|
membership: Membership;
|
|
1608
1671
|
membershipId: number;
|
|
@@ -1623,6 +1686,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1623
1686
|
cancellationStatus?: CancellationStatusEnum;
|
|
1624
1687
|
isImported?: boolean;
|
|
1625
1688
|
}
|
|
1689
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1690
|
+
email: string | null;
|
|
1691
|
+
notificationType: NotificationTypeEnum | null;
|
|
1692
|
+
resourceId: number | null;
|
|
1693
|
+
resourceType: string | null;
|
|
1694
|
+
}
|
|
1626
1695
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1627
1696
|
id: number;
|
|
1628
1697
|
dayOfWeek: number;
|
|
@@ -1658,40 +1727,6 @@ export declare class Order extends BondBaseEntity {
|
|
|
1658
1727
|
orderNotes: OrderNote[];
|
|
1659
1728
|
slots: Slot[];
|
|
1660
1729
|
}
|
|
1661
|
-
export declare class Media extends BondBaseEntity {
|
|
1662
|
-
url: string;
|
|
1663
|
-
name: string | null;
|
|
1664
|
-
title: string | null;
|
|
1665
|
-
mediaKey: string | null;
|
|
1666
|
-
description: string | null;
|
|
1667
|
-
provider: string | null;
|
|
1668
|
-
mediaType: number;
|
|
1669
|
-
fileType: string | null;
|
|
1670
|
-
isDefault: boolean | null;
|
|
1671
|
-
creatorId: number | null;
|
|
1672
|
-
creatorType: string | null;
|
|
1673
|
-
userCreatorId: number | null;
|
|
1674
|
-
ownerId: number | null;
|
|
1675
|
-
createdBy: number | null;
|
|
1676
|
-
users: User[];
|
|
1677
|
-
programs: Program[];
|
|
1678
|
-
memberships: Membership[];
|
|
1679
|
-
}
|
|
1680
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1681
|
-
content: string;
|
|
1682
|
-
creatingUserId: number;
|
|
1683
|
-
user: User;
|
|
1684
|
-
isPublic: boolean;
|
|
1685
|
-
deletedAt: Date;
|
|
1686
|
-
orderId: number;
|
|
1687
|
-
order: Order;
|
|
1688
|
-
}
|
|
1689
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1690
|
-
email: string | null;
|
|
1691
|
-
notificationType: NotificationTypeEnum | null;
|
|
1692
|
-
resourceId: number | null;
|
|
1693
|
-
resourceType: string | null;
|
|
1694
|
-
}
|
|
1695
1730
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1696
1731
|
orderId: number;
|
|
1697
1732
|
invoiceId: number;
|
|
@@ -1703,6 +1738,15 @@ export declare class OrderToInvoice extends BondBaseEntity {
|
|
|
1703
1738
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1704
1739
|
organizationId: number;
|
|
1705
1740
|
}
|
|
1741
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1742
|
+
content: string;
|
|
1743
|
+
creatingUserId: number;
|
|
1744
|
+
user: User;
|
|
1745
|
+
isPublic: boolean;
|
|
1746
|
+
deletedAt: Date;
|
|
1747
|
+
orderId: number;
|
|
1748
|
+
order: Order;
|
|
1749
|
+
}
|
|
1706
1750
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1707
1751
|
name?: string;
|
|
1708
1752
|
description?: string;
|
|
@@ -1726,12 +1770,6 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1726
1770
|
validUntil: Date | null;
|
|
1727
1771
|
active: boolean | null;
|
|
1728
1772
|
}
|
|
1729
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1730
|
-
paymentPlanId: number;
|
|
1731
|
-
paymentDate: Date;
|
|
1732
|
-
deletedAt?: Date;
|
|
1733
|
-
paymentPlan: ProductPaymentPlan;
|
|
1734
|
-
}
|
|
1735
1773
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1736
1774
|
userId: number | null;
|
|
1737
1775
|
ownerId: number | null;
|
|
@@ -1766,6 +1804,62 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1766
1804
|
discountMethod?: DiscountMethodsEnum;
|
|
1767
1805
|
discountValue?: number;
|
|
1768
1806
|
}
|
|
1807
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1808
|
+
paymentPlanId: number;
|
|
1809
|
+
paymentDate: Date;
|
|
1810
|
+
deletedAt?: Date;
|
|
1811
|
+
paymentPlan: ProductPaymentPlan;
|
|
1812
|
+
}
|
|
1813
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1814
|
+
name: string;
|
|
1815
|
+
quantity: number;
|
|
1816
|
+
paymentProcessorId?: string;
|
|
1817
|
+
startDate?: Date;
|
|
1818
|
+
endDate?: Date;
|
|
1819
|
+
isPublic: boolean;
|
|
1820
|
+
productType?: ProductTypesEnum;
|
|
1821
|
+
GL?: string;
|
|
1822
|
+
downpayment?: number;
|
|
1823
|
+
description?: string;
|
|
1824
|
+
prices: Price[];
|
|
1825
|
+
currPrice: Price;
|
|
1826
|
+
productSubType?: ProductSubTypesEnum;
|
|
1827
|
+
punchCard: boolean;
|
|
1828
|
+
requiredProductIds?: number[];
|
|
1829
|
+
lineItems: LineItems[];
|
|
1830
|
+
resources: IResourcesAvailability[];
|
|
1831
|
+
variantParentId?: number;
|
|
1832
|
+
isAddon: boolean;
|
|
1833
|
+
isArchive: boolean;
|
|
1834
|
+
productVariants: Product[];
|
|
1835
|
+
variantParentProduct: Product;
|
|
1836
|
+
variantsObj: Variant[];
|
|
1837
|
+
variantTitlesObj: VariantTitle[];
|
|
1838
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
1839
|
+
deletedAt?: Date;
|
|
1840
|
+
productsUsers: ProductsUsers[];
|
|
1841
|
+
isProRated: boolean;
|
|
1842
|
+
entitledPrices?: GroupItemsPricing[];
|
|
1843
|
+
defaultPriceId?: number;
|
|
1844
|
+
tax: number;
|
|
1845
|
+
isTaxInclusive: boolean;
|
|
1846
|
+
defaultPrice?: Price;
|
|
1847
|
+
addOns?: IChildProduct[];
|
|
1848
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
1849
|
+
productResources: ProductResource[];
|
|
1850
|
+
parentProductPackages: ProductPackage[];
|
|
1851
|
+
childProductPackages: ProductPackage[];
|
|
1852
|
+
sports?: number[] | null;
|
|
1853
|
+
durationMinutes?: number;
|
|
1854
|
+
durationDays?: number;
|
|
1855
|
+
forms?: number[] | null;
|
|
1856
|
+
isForAllCustomers?: boolean;
|
|
1857
|
+
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1858
|
+
reservedForCustomers: Customer[];
|
|
1859
|
+
reservedForMemberships: Membership[];
|
|
1860
|
+
activityTimes: ActivityTimes[];
|
|
1861
|
+
purchasedResources: PurchasedResource[];
|
|
1862
|
+
}
|
|
1769
1863
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1770
1864
|
parentProductId: number;
|
|
1771
1865
|
childProductId: number;
|
|
@@ -1781,14 +1875,9 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1781
1875
|
durationDays?: number;
|
|
1782
1876
|
level?: ProductPackageLevelEnum;
|
|
1783
1877
|
}
|
|
1784
|
-
export declare class
|
|
1878
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1785
1879
|
productId: number;
|
|
1786
|
-
|
|
1787
|
-
dayOfMonth?: number;
|
|
1788
|
-
name: string;
|
|
1789
|
-
deletedAt?: Date;
|
|
1790
|
-
schedule: PaymentPlanSchedule[];
|
|
1791
|
-
product?: Product;
|
|
1880
|
+
variantTitleId: number;
|
|
1792
1881
|
}
|
|
1793
1882
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1794
1883
|
productId: number;
|
|
@@ -1801,9 +1890,14 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1801
1890
|
productPackages: ProductPackage[];
|
|
1802
1891
|
resourceName?: string;
|
|
1803
1892
|
}
|
|
1804
|
-
export declare class
|
|
1893
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1805
1894
|
productId: number;
|
|
1806
|
-
|
|
1895
|
+
maxMonths?: number;
|
|
1896
|
+
dayOfMonth?: number;
|
|
1897
|
+
name: string;
|
|
1898
|
+
deletedAt?: Date;
|
|
1899
|
+
schedule: PaymentPlanSchedule[];
|
|
1900
|
+
product?: Product;
|
|
1807
1901
|
}
|
|
1808
1902
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1809
1903
|
productId: number;
|
|
@@ -1816,23 +1910,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1816
1910
|
deletedAt?: Date;
|
|
1817
1911
|
product: Product;
|
|
1818
1912
|
}
|
|
1819
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1820
|
-
productId: number;
|
|
1821
|
-
userId: number;
|
|
1822
|
-
user?: User;
|
|
1823
|
-
paymentStatus: PaymentStatusEnum;
|
|
1824
|
-
productName: string;
|
|
1825
|
-
productPrice: number;
|
|
1826
|
-
productQuantity: number;
|
|
1827
|
-
productQuantityLeft: number;
|
|
1828
|
-
productPriceCurrency: CurrencyEnum;
|
|
1829
|
-
ordinal?: number;
|
|
1830
|
-
purchasedResources: PurchasedResource[];
|
|
1831
|
-
product: Product;
|
|
1832
|
-
lineItem: LineItems;
|
|
1833
|
-
slots?: Slot[];
|
|
1834
|
-
addons?: Addon[];
|
|
1835
|
-
}
|
|
1836
1913
|
export declare class Program extends BondBaseEntity {
|
|
1837
1914
|
type: ProgramTypesEnum;
|
|
1838
1915
|
name: string;
|
|
@@ -1844,65 +1921,15 @@ export declare class Program extends BondBaseEntity {
|
|
|
1844
1921
|
description: string | null;
|
|
1845
1922
|
GL?: string | null;
|
|
1846
1923
|
status: PublishingStatusEnum;
|
|
1847
|
-
mainMedia: Media;
|
|
1848
|
-
organizationId: number;
|
|
1849
|
-
userCreatorId: number;
|
|
1850
|
-
programHighlights: ProgramHighlights[];
|
|
1851
|
-
linkSEO: string;
|
|
1852
|
-
longDescription?: string;
|
|
1853
|
-
requiredProductIds: number[] | null;
|
|
1854
|
-
deletedAt?: Date;
|
|
1855
|
-
programSeason: ProgramSeason[];
|
|
1856
|
-
purchasedResources: PurchasedResource[];
|
|
1857
|
-
}
|
|
1858
|
-
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1859
|
-
name: string;
|
|
1860
|
-
quantity: number;
|
|
1861
|
-
paymentProcessorId?: string;
|
|
1862
|
-
startDate?: Date;
|
|
1863
|
-
endDate?: Date;
|
|
1864
|
-
isPublic: boolean;
|
|
1865
|
-
productType?: ProductTypesEnum;
|
|
1866
|
-
GL?: string;
|
|
1867
|
-
downpayment?: number;
|
|
1868
|
-
description?: string;
|
|
1869
|
-
prices: Price[];
|
|
1870
|
-
currPrice: Price;
|
|
1871
|
-
productSubType?: ProductSubTypesEnum;
|
|
1872
|
-
punchCard: boolean;
|
|
1873
|
-
requiredProductIds?: number[];
|
|
1874
|
-
lineItems: LineItems[];
|
|
1875
|
-
resources: IResourcesAvailability[];
|
|
1876
|
-
variantParentId?: number;
|
|
1877
|
-
isAddon: boolean;
|
|
1878
|
-
isArchive: boolean;
|
|
1879
|
-
productVariants: Product[];
|
|
1880
|
-
variantParentProduct: Product;
|
|
1881
|
-
variantsObj: Variant[];
|
|
1882
|
-
variantTitlesObj: VariantTitle[];
|
|
1883
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
1884
|
-
deletedAt?: Date;
|
|
1885
|
-
productsUsers: ProductsUsers[];
|
|
1886
|
-
isProRated: boolean;
|
|
1887
|
-
entitledPrices?: GroupItemsPricing[];
|
|
1888
|
-
defaultPriceId?: number;
|
|
1889
|
-
tax: number;
|
|
1890
|
-
isTaxInclusive: boolean;
|
|
1891
|
-
defaultPrice?: Price;
|
|
1892
|
-
addOns?: IChildProduct[];
|
|
1893
|
-
productPaymentPlan?: ProductPaymentPlan;
|
|
1894
|
-
productResources: ProductResource[];
|
|
1895
|
-
parentProductPackages: ProductPackage[];
|
|
1896
|
-
childProductPackages: ProductPackage[];
|
|
1897
|
-
sports?: number[] | null;
|
|
1898
|
-
durationMinutes?: number;
|
|
1899
|
-
durationDays?: number;
|
|
1900
|
-
forms?: number[] | null;
|
|
1901
|
-
isForAllCustomers?: boolean;
|
|
1902
|
-
productsReservedForCustomers: ProductsReservedForCustomers[];
|
|
1903
|
-
reservedForCustomers: Customer[];
|
|
1904
|
-
reservedForMemberships: Membership[];
|
|
1905
|
-
activityTimes: ActivityTimes[];
|
|
1924
|
+
mainMedia: Media;
|
|
1925
|
+
organizationId: number;
|
|
1926
|
+
userCreatorId: number;
|
|
1927
|
+
programHighlights: ProgramHighlights[];
|
|
1928
|
+
linkSEO: string;
|
|
1929
|
+
longDescription?: string;
|
|
1930
|
+
requiredProductIds: number[] | null;
|
|
1931
|
+
deletedAt?: Date;
|
|
1932
|
+
programSeason: ProgramSeason[];
|
|
1906
1933
|
purchasedResources: PurchasedResource[];
|
|
1907
1934
|
}
|
|
1908
1935
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
@@ -1913,6 +1940,23 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1913
1940
|
program: Program;
|
|
1914
1941
|
deletedAt?: Date;
|
|
1915
1942
|
}
|
|
1943
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1944
|
+
productId: number;
|
|
1945
|
+
userId: number;
|
|
1946
|
+
user?: User;
|
|
1947
|
+
paymentStatus: PaymentStatusEnum;
|
|
1948
|
+
productName: string;
|
|
1949
|
+
productPrice: number;
|
|
1950
|
+
productQuantity: number;
|
|
1951
|
+
productQuantityLeft: number;
|
|
1952
|
+
productPriceCurrency: CurrencyEnum;
|
|
1953
|
+
ordinal?: number;
|
|
1954
|
+
purchasedResources: PurchasedResource[];
|
|
1955
|
+
product: Product;
|
|
1956
|
+
lineItem: LineItems;
|
|
1957
|
+
slots?: Slot[];
|
|
1958
|
+
addons?: Addon[];
|
|
1959
|
+
}
|
|
1916
1960
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1917
1961
|
programId: number;
|
|
1918
1962
|
name: string;
|
|
@@ -1989,10 +2033,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
1989
2033
|
product?: Product;
|
|
1990
2034
|
event?: Event;
|
|
1991
2035
|
}
|
|
1992
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1993
|
-
title: string | null;
|
|
1994
|
-
answerTitle: AnswerTitle;
|
|
1995
|
-
}
|
|
1996
2036
|
export declare class Questions extends BondBaseEntity {
|
|
1997
2037
|
questionType: string | null;
|
|
1998
2038
|
ordinal: number | null;
|
|
@@ -2012,6 +2052,10 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
|
2012
2052
|
ordinal: number;
|
|
2013
2053
|
deletedAt: Date;
|
|
2014
2054
|
}
|
|
2055
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2056
|
+
title: string | null;
|
|
2057
|
+
answerTitle: AnswerTitle;
|
|
2058
|
+
}
|
|
2015
2059
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2016
2060
|
resourceType: ResourceNameTypeEnum;
|
|
2017
2061
|
resourceId: number;
|
|
@@ -2055,6 +2099,21 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2055
2099
|
publicNotes?: string;
|
|
2056
2100
|
slots?: Slot[];
|
|
2057
2101
|
}
|
|
2102
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2103
|
+
name: string;
|
|
2104
|
+
facilityId: number;
|
|
2105
|
+
parentSlotId: number;
|
|
2106
|
+
childrenSlotIds: number[];
|
|
2107
|
+
deletedAt?: Date;
|
|
2108
|
+
}
|
|
2109
|
+
export declare class School extends BondBaseEntity {
|
|
2110
|
+
name: string | null;
|
|
2111
|
+
alias: string[] | null;
|
|
2112
|
+
addressId: number | null;
|
|
2113
|
+
website: string | null;
|
|
2114
|
+
phone: string | null;
|
|
2115
|
+
dataId: number | null;
|
|
2116
|
+
}
|
|
2058
2117
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2059
2118
|
name: string;
|
|
2060
2119
|
resourceType: ResourceTypeEnum;
|
|
@@ -2083,21 +2142,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2083
2142
|
purchasedResources: PurchasedResource[];
|
|
2084
2143
|
linkSEO: string;
|
|
2085
2144
|
}
|
|
2086
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2087
|
-
name: string;
|
|
2088
|
-
facilityId: number;
|
|
2089
|
-
parentSlotId: number;
|
|
2090
|
-
childrenSlotIds: number[];
|
|
2091
|
-
deletedAt?: Date;
|
|
2092
|
-
}
|
|
2093
|
-
export declare class School extends BondBaseEntity {
|
|
2094
|
-
name: string | null;
|
|
2095
|
-
alias: string[] | null;
|
|
2096
|
-
addressId: number | null;
|
|
2097
|
-
website: string | null;
|
|
2098
|
-
phone: string | null;
|
|
2099
|
-
dataId: number | null;
|
|
2100
|
-
}
|
|
2101
2145
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2102
2146
|
status: RequestStatusEnum;
|
|
2103
2147
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2112,20 +2156,11 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2112
2156
|
deletedAt?: Date;
|
|
2113
2157
|
purchasedResource: PurchasedResource;
|
|
2114
2158
|
}
|
|
2115
|
-
export declare class
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
entityType?: string;
|
|
2121
|
-
groupId?: string;
|
|
2122
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2123
|
-
metadata?: any;
|
|
2124
|
-
paymentId?: number;
|
|
2125
|
-
externalAssign?: boolean;
|
|
2126
|
-
productUserId?: number;
|
|
2127
|
-
purchasedResource: PurchasedResource;
|
|
2128
|
-
season: LeagueSeason;
|
|
2159
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2160
|
+
name: string | null;
|
|
2161
|
+
ordinal: number | null;
|
|
2162
|
+
seasonId: number | null;
|
|
2163
|
+
color: string | null;
|
|
2129
2164
|
}
|
|
2130
2165
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2131
2166
|
seasonId: number | null;
|
|
@@ -2141,6 +2176,21 @@ export declare class SpacesDependency extends BondBaseEntity {
|
|
|
2141
2176
|
blockingSpaceId: number;
|
|
2142
2177
|
blockedSpaceId: number;
|
|
2143
2178
|
}
|
|
2179
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2180
|
+
seasonId?: number;
|
|
2181
|
+
userId?: number;
|
|
2182
|
+
status?: number;
|
|
2183
|
+
entityId?: number;
|
|
2184
|
+
entityType?: string;
|
|
2185
|
+
groupId?: string;
|
|
2186
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2187
|
+
metadata?: any;
|
|
2188
|
+
paymentId?: number;
|
|
2189
|
+
externalAssign?: boolean;
|
|
2190
|
+
productUserId?: number;
|
|
2191
|
+
purchasedResource: PurchasedResource;
|
|
2192
|
+
season: LeagueSeason;
|
|
2193
|
+
}
|
|
2144
2194
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2145
2195
|
name: string;
|
|
2146
2196
|
facilityId: number;
|
|
@@ -2160,20 +2210,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2160
2210
|
station: Station;
|
|
2161
2211
|
subcategory: Subcategory;
|
|
2162
2212
|
}
|
|
2163
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2164
|
-
productType: ProductTypesEnum;
|
|
2165
|
-
name: string;
|
|
2166
|
-
ordinal?: number;
|
|
2167
|
-
deletedAt?: Date;
|
|
2168
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2169
|
-
stations: Station[];
|
|
2170
|
-
}
|
|
2171
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2172
|
-
name: string | null;
|
|
2173
|
-
ordinal: number | null;
|
|
2174
|
-
seasonId: number | null;
|
|
2175
|
-
color: string | null;
|
|
2176
|
-
}
|
|
2177
2213
|
export declare class Team extends BondBaseEntity {
|
|
2178
2214
|
name: string | null;
|
|
2179
2215
|
description: string | null;
|
|
@@ -2217,6 +2253,14 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2217
2253
|
tokenExpirationDate: Date;
|
|
2218
2254
|
isUsed: boolean;
|
|
2219
2255
|
}
|
|
2256
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2257
|
+
productType: ProductTypesEnum;
|
|
2258
|
+
name: string;
|
|
2259
|
+
ordinal?: number;
|
|
2260
|
+
deletedAt?: Date;
|
|
2261
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2262
|
+
stations: Station[];
|
|
2263
|
+
}
|
|
2220
2264
|
export declare class TeamMember extends BondBaseEntity {
|
|
2221
2265
|
teamId: number | null;
|
|
2222
2266
|
userId: number | null;
|
|
@@ -2265,12 +2309,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2265
2309
|
orderNotes: OrderNote[];
|
|
2266
2310
|
invoiceNotes: InvoiceNote[];
|
|
2267
2311
|
}
|
|
2268
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2269
|
-
entityId: number | null;
|
|
2270
|
-
userId: number | null;
|
|
2271
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2272
|
-
user: User;
|
|
2273
|
-
}
|
|
2274
2312
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2275
2313
|
familyAccountId: number;
|
|
2276
2314
|
userId: number;
|
|
@@ -2279,66 +2317,20 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2279
2317
|
familyAccount: FamilyAccount;
|
|
2280
2318
|
deletedAt?: Date;
|
|
2281
2319
|
}
|
|
2282
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2283
|
-
name: string;
|
|
2284
|
-
variants: Variant[];
|
|
2285
|
-
}
|
|
2286
2320
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2287
2321
|
groupId: number;
|
|
2288
2322
|
userId: number;
|
|
2289
2323
|
deletedAt?: Date;
|
|
2290
2324
|
}
|
|
2291
|
-
export declare class
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
membershipCollectionId?: string;
|
|
2297
|
-
programsCollectionId?: string;
|
|
2298
|
-
}
|
|
2299
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
2300
|
-
organizationId: number;
|
|
2301
|
-
programType?: ProgramTypesEnum;
|
|
2302
|
-
}
|
|
2303
|
-
export declare class FindProgramByIdDto {
|
|
2304
|
-
programId: number;
|
|
2305
|
-
}
|
|
2306
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
2307
|
-
programId: number;
|
|
2308
|
-
organizationId: number;
|
|
2325
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2326
|
+
entityId: number | null;
|
|
2327
|
+
userId: number | null;
|
|
2328
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2329
|
+
user: User;
|
|
2309
2330
|
}
|
|
2310
|
-
export declare class
|
|
2311
|
-
type: ProgramTypesEnum;
|
|
2331
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2312
2332
|
name: string;
|
|
2313
|
-
|
|
2314
|
-
minAge: string;
|
|
2315
|
-
maxAge: string;
|
|
2316
|
-
gender: GenderEnum;
|
|
2317
|
-
level?: LevelOfPlayEnum[];
|
|
2318
|
-
description?: string;
|
|
2319
|
-
GL?: string;
|
|
2320
|
-
status: PublishingStatusEnum;
|
|
2321
|
-
organizationId: number;
|
|
2322
|
-
userCreatorId: number;
|
|
2323
|
-
highlights: ProgramHighlights[];
|
|
2324
|
-
longDescription?: string;
|
|
2325
|
-
requiredProductIds: number[];
|
|
2326
|
-
}
|
|
2327
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
2328
|
-
}
|
|
2329
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
2330
|
-
programId: number;
|
|
2331
|
-
mainMediaId: number;
|
|
2332
|
-
}
|
|
2333
|
-
export declare class UpdateProgramStatusDto {
|
|
2334
|
-
programId: number;
|
|
2335
|
-
status: PublishingStatusEnum;
|
|
2336
|
-
}
|
|
2337
|
-
export declare class ProgramHighlightDto {
|
|
2338
|
-
data: string;
|
|
2339
|
-
ordinal: number;
|
|
2340
|
-
type: ProgramHighlightTypeEnum;
|
|
2341
|
-
title: string;
|
|
2333
|
+
variants: Variant[];
|
|
2342
2334
|
}
|
|
2343
2335
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2344
2336
|
name: string;
|
|
@@ -2346,6 +2338,14 @@ export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
|
2346
2338
|
variantTitle: VariantTitle;
|
|
2347
2339
|
deletedAt?: Date;
|
|
2348
2340
|
}
|
|
2341
|
+
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2342
|
+
projectToken: string;
|
|
2343
|
+
programTypesCollectionId?: string;
|
|
2344
|
+
programTagsCollectionId?: string;
|
|
2345
|
+
sportsCollectionId?: string;
|
|
2346
|
+
membershipCollectionId?: string;
|
|
2347
|
+
programsCollectionId?: string;
|
|
2348
|
+
}
|
|
2349
2349
|
export declare enum EntitlementTermsTypesEnum {
|
|
2350
2350
|
QUESTION = "question",
|
|
2351
2351
|
CITY = "city",
|
|
@@ -3228,13 +3228,98 @@ export interface IReservationCreatorData {
|
|
|
3228
3228
|
organizationId: number;
|
|
3229
3229
|
startDate: string;
|
|
3230
3230
|
endDate: string;
|
|
3231
|
-
sportId: number;
|
|
3231
|
+
sportId: number;
|
|
3232
|
+
}
|
|
3233
|
+
export declare class ColumnNumericTransformer {
|
|
3234
|
+
to(data: number): number;
|
|
3235
|
+
from(data: string): number;
|
|
3236
|
+
}
|
|
3237
|
+
export declare function convertToNumber(data: string): number;
|
|
3238
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3239
|
+
name?: string;
|
|
3240
|
+
genderStr?: string;
|
|
3241
|
+
parentID?: string;
|
|
3242
|
+
partnerID?: string;
|
|
3243
|
+
membershipName?: string;
|
|
3244
|
+
membershipExpDate?: string;
|
|
3245
|
+
membershipCreationDate?: string;
|
|
3246
|
+
bondMembershipID?: number;
|
|
3247
|
+
}
|
|
3248
|
+
export declare class AddFamilyDto {
|
|
3249
|
+
parents: AddImportedCustomerDto[];
|
|
3250
|
+
children: AddImportedCustomerDto[];
|
|
3251
|
+
}
|
|
3252
|
+
export declare class ProductIdsDto {
|
|
3253
|
+
productIds?: number[];
|
|
3254
|
+
}
|
|
3255
|
+
export declare class ProductImportDto {
|
|
3256
|
+
product: Product;
|
|
3257
|
+
prices: Price[];
|
|
3258
|
+
resourceIds: number[];
|
|
3259
|
+
oldId: number;
|
|
3260
|
+
}
|
|
3261
|
+
export declare class PunchPassDto {
|
|
3262
|
+
CustomerID: string;
|
|
3263
|
+
QuantityLeft: number;
|
|
3264
|
+
BondProgramID: number;
|
|
3265
|
+
BondSessionID: number;
|
|
3266
|
+
ProductID: number;
|
|
3267
|
+
}
|
|
3268
|
+
export declare class ImportedSlotProductDto {
|
|
3269
|
+
slotID?: string;
|
|
3270
|
+
name?: string;
|
|
3271
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3272
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3273
|
+
price?: string;
|
|
3274
|
+
minutes?: string;
|
|
3275
|
+
quantity: string;
|
|
3276
|
+
startDate?: string;
|
|
3277
|
+
startTime?: string;
|
|
3278
|
+
endDate?: string;
|
|
3279
|
+
endTime?: string;
|
|
3280
|
+
bondProductId?: number;
|
|
3281
|
+
}
|
|
3282
|
+
export declare class ImportResourceMappingDto {
|
|
3283
|
+
bondResourceID?: string;
|
|
3284
|
+
resourceName?: string;
|
|
3285
|
+
}
|
|
3286
|
+
export declare class ImportProductMappingDto {
|
|
3287
|
+
productID?: string;
|
|
3288
|
+
productName?: string;
|
|
3289
|
+
}
|
|
3290
|
+
export declare class ImportedSlotDto {
|
|
3291
|
+
reservationID: string;
|
|
3292
|
+
bondResourceID: string;
|
|
3293
|
+
resourceName: string;
|
|
3294
|
+
subResourceName: string;
|
|
3295
|
+
startDate: string;
|
|
3296
|
+
startTime: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
endTime: string;
|
|
3299
|
+
sportId?: string;
|
|
3300
|
+
setupDuration: string;
|
|
3301
|
+
setupIncludeInCosts: string;
|
|
3302
|
+
takedownDuration: string;
|
|
3303
|
+
takedownIncludeInCosts: string;
|
|
3304
|
+
slotProduct: ImportedSlotProductDto;
|
|
3305
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3306
|
+
totalPrice: string;
|
|
3232
3307
|
}
|
|
3233
|
-
export declare class
|
|
3234
|
-
|
|
3235
|
-
|
|
3308
|
+
export declare class ImportedReservationDto {
|
|
3309
|
+
name: string;
|
|
3310
|
+
customerId: string;
|
|
3311
|
+
description: string;
|
|
3312
|
+
totalPrice: string;
|
|
3313
|
+
downPayment: string;
|
|
3314
|
+
paid: string;
|
|
3315
|
+
invoiceId: string;
|
|
3316
|
+
slots?: ImportedSlotDto[];
|
|
3317
|
+
addons?: ImportedSlotProductDto[];
|
|
3318
|
+
}
|
|
3319
|
+
export declare class Lock extends BondBaseEntity {
|
|
3320
|
+
name: string;
|
|
3321
|
+
locked?: Date;
|
|
3236
3322
|
}
|
|
3237
|
-
export declare function convertToNumber(data: string): number;
|
|
3238
3323
|
export declare class GameSlots extends BondBaseEntity {
|
|
3239
3324
|
entityType: string;
|
|
3240
3325
|
entityId: number;
|
|
@@ -3271,16 +3356,47 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3271
3356
|
eventId: number | null;
|
|
3272
3357
|
status: number | null;
|
|
3273
3358
|
}
|
|
3274
|
-
export declare class Lock extends BondBaseEntity {
|
|
3275
|
-
name: string;
|
|
3276
|
-
locked?: Date;
|
|
3277
|
-
}
|
|
3278
3359
|
export declare class CreateMonitorConfigDto {
|
|
3279
3360
|
facilityId: number;
|
|
3280
3361
|
name: string;
|
|
3281
3362
|
code: string;
|
|
3282
3363
|
config: any;
|
|
3283
3364
|
}
|
|
3365
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3366
|
+
CREDIT_CARD = "card",
|
|
3367
|
+
ACH = "ach",
|
|
3368
|
+
CASH = "cash",
|
|
3369
|
+
CHECK = "check",
|
|
3370
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3371
|
+
OTHER = "other"
|
|
3372
|
+
}
|
|
3373
|
+
export declare class ImportedInvoiceLineDto {
|
|
3374
|
+
invoiceID?: string;
|
|
3375
|
+
description: string;
|
|
3376
|
+
createdDate: string;
|
|
3377
|
+
createdTime: string;
|
|
3378
|
+
quantity: string;
|
|
3379
|
+
price: string;
|
|
3380
|
+
total: string;
|
|
3381
|
+
customerID: string;
|
|
3382
|
+
resourceType: string;
|
|
3383
|
+
resourceID: string;
|
|
3384
|
+
}
|
|
3385
|
+
export declare class ImportedInvoiceDto {
|
|
3386
|
+
customerId?: string;
|
|
3387
|
+
total?: string;
|
|
3388
|
+
amountDue?: string;
|
|
3389
|
+
payments?: ImportedPaymentDto[];
|
|
3390
|
+
lines: any;
|
|
3391
|
+
}
|
|
3392
|
+
export declare class ImportedPaymentDto {
|
|
3393
|
+
invoiceID: string;
|
|
3394
|
+
type: ImportPaymentTypeEnum;
|
|
3395
|
+
description: string;
|
|
3396
|
+
paid: string;
|
|
3397
|
+
date: string;
|
|
3398
|
+
time: string;
|
|
3399
|
+
}
|
|
3284
3400
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3285
3401
|
facilityId: number;
|
|
3286
3402
|
code: string;
|
|
@@ -3871,6 +3987,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
3871
3987
|
productUserId?: number;
|
|
3872
3988
|
productUser?: ProductsUsers;
|
|
3873
3989
|
}
|
|
3990
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3991
|
+
deletedAt?: Date;
|
|
3992
|
+
reservationId: number;
|
|
3993
|
+
invoiceId: number;
|
|
3994
|
+
slotId: number;
|
|
3995
|
+
}
|
|
3874
3996
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3875
3997
|
name?: string;
|
|
3876
3998
|
description?: string;
|
|
@@ -3924,25 +4046,6 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
3924
4046
|
privateNotesForSlots?: string;
|
|
3925
4047
|
slots?: Slot[];
|
|
3926
4048
|
}
|
|
3927
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
3928
|
-
deletedAt?: Date;
|
|
3929
|
-
segmentId: number;
|
|
3930
|
-
segment?: Segment;
|
|
3931
|
-
slots?: Slot[];
|
|
3932
|
-
slotDurationType: string;
|
|
3933
|
-
durationEndsAfter: number;
|
|
3934
|
-
durationUnit: string;
|
|
3935
|
-
startDate?: Date;
|
|
3936
|
-
endDate?: Date;
|
|
3937
|
-
startTime: string;
|
|
3938
|
-
endTime: string;
|
|
3939
|
-
frequency: string;
|
|
3940
|
-
repeatEvery: number;
|
|
3941
|
-
repeatOn?: number[];
|
|
3942
|
-
repeatEndDate?: Date;
|
|
3943
|
-
numberOccurrences?: number;
|
|
3944
|
-
resources?: Resource[];
|
|
3945
|
-
}
|
|
3946
4049
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3947
4050
|
constructor();
|
|
3948
4051
|
defineIsReverted(): void;
|
|
@@ -4010,11 +4113,24 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4010
4113
|
changeLineItems?: LineItems[];
|
|
4011
4114
|
updatedLineItem?: LineItems;
|
|
4012
4115
|
}
|
|
4013
|
-
export declare class
|
|
4116
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4014
4117
|
deletedAt?: Date;
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4118
|
+
segmentId: number;
|
|
4119
|
+
segment?: Segment;
|
|
4120
|
+
slots?: Slot[];
|
|
4121
|
+
slotDurationType: string;
|
|
4122
|
+
durationEndsAfter: number;
|
|
4123
|
+
durationUnit: string;
|
|
4124
|
+
startDate?: Date;
|
|
4125
|
+
endDate?: Date;
|
|
4126
|
+
startTime: string;
|
|
4127
|
+
endTime: string;
|
|
4128
|
+
frequency: string;
|
|
4129
|
+
repeatEvery: number;
|
|
4130
|
+
repeatOn?: number[];
|
|
4131
|
+
repeatEndDate?: Date;
|
|
4132
|
+
numberOccurrences?: number;
|
|
4133
|
+
resources?: Resource[];
|
|
4018
4134
|
}
|
|
4019
4135
|
export declare class ChangeRolePermissionsDto {
|
|
4020
4136
|
permissionIds: number[];
|
|
@@ -4039,139 +4155,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4039
4155
|
role: Role;
|
|
4040
4156
|
user: User;
|
|
4041
4157
|
}
|
|
4042
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
4043
|
-
name?: string;
|
|
4044
|
-
genderStr?: string;
|
|
4045
|
-
parentID?: string;
|
|
4046
|
-
partnerID?: string;
|
|
4047
|
-
membershipName?: string;
|
|
4048
|
-
membershipExpDate?: string;
|
|
4049
|
-
membershipCreationDate?: string;
|
|
4050
|
-
bondMembershipID?: number;
|
|
4051
|
-
}
|
|
4052
|
-
export declare class AddFamilyDto {
|
|
4053
|
-
parents: AddImportedCustomerDto[];
|
|
4054
|
-
children: AddImportedCustomerDto[];
|
|
4055
|
-
}
|
|
4056
|
-
export declare enum ImportPaymentTypeEnum {
|
|
4057
|
-
CREDIT_CARD = "card",
|
|
4058
|
-
ACH = "ach",
|
|
4059
|
-
CASH = "cash",
|
|
4060
|
-
CHECK = "check",
|
|
4061
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
4062
|
-
OTHER = "other"
|
|
4063
|
-
}
|
|
4064
|
-
export declare class ImportedInvoiceLineDto {
|
|
4065
|
-
invoiceID?: string;
|
|
4066
|
-
description: string;
|
|
4067
|
-
createdDate: string;
|
|
4068
|
-
createdTime: string;
|
|
4069
|
-
quantity: string;
|
|
4070
|
-
price: string;
|
|
4071
|
-
total: string;
|
|
4072
|
-
customerID: string;
|
|
4073
|
-
resourceType: string;
|
|
4074
|
-
resourceID: string;
|
|
4075
|
-
}
|
|
4076
|
-
export declare class ImportedInvoiceDto {
|
|
4077
|
-
customerId?: string;
|
|
4078
|
-
total?: string;
|
|
4079
|
-
amountDue?: string;
|
|
4080
|
-
payments?: ImportedPaymentDto[];
|
|
4081
|
-
lines: any;
|
|
4082
|
-
}
|
|
4083
|
-
export declare class ImportedPaymentDto {
|
|
4084
|
-
invoiceID: string;
|
|
4085
|
-
type: ImportPaymentTypeEnum;
|
|
4086
|
-
description: string;
|
|
4087
|
-
paid: string;
|
|
4088
|
-
date: string;
|
|
4089
|
-
time: string;
|
|
4090
|
-
}
|
|
4091
|
-
export declare class ProductIdsDto {
|
|
4092
|
-
productIds?: number[];
|
|
4093
|
-
}
|
|
4094
|
-
export declare class ProductImportDto {
|
|
4095
|
-
product: Product;
|
|
4096
|
-
prices: Price[];
|
|
4097
|
-
resourceIds: number[];
|
|
4098
|
-
oldId: number;
|
|
4099
|
-
}
|
|
4100
|
-
export declare class PunchPassDto {
|
|
4101
|
-
CustomerID: string;
|
|
4102
|
-
QuantityLeft: number;
|
|
4103
|
-
BondProgramID: number;
|
|
4104
|
-
BondSessionID: number;
|
|
4105
|
-
ProductID: number;
|
|
4106
|
-
}
|
|
4107
|
-
export declare class ImportedSlotProductDto {
|
|
4108
|
-
slotID?: string;
|
|
4109
|
-
name?: string;
|
|
4110
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4111
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4112
|
-
price?: string;
|
|
4113
|
-
minutes?: string;
|
|
4114
|
-
quantity: string;
|
|
4115
|
-
startDate?: string;
|
|
4116
|
-
startTime?: string;
|
|
4117
|
-
endDate?: string;
|
|
4118
|
-
endTime?: string;
|
|
4119
|
-
bondProductId?: number;
|
|
4120
|
-
}
|
|
4121
|
-
export declare class ImportResourceMappingDto {
|
|
4122
|
-
bondResourceID?: string;
|
|
4123
|
-
resourceName?: string;
|
|
4124
|
-
}
|
|
4125
|
-
export declare class ImportProductMappingDto {
|
|
4126
|
-
productID?: string;
|
|
4127
|
-
productName?: string;
|
|
4128
|
-
}
|
|
4129
|
-
export declare class ImportedSlotDto {
|
|
4130
|
-
reservationID: string;
|
|
4131
|
-
bondResourceID: string;
|
|
4132
|
-
resourceName: string;
|
|
4133
|
-
subResourceName: string;
|
|
4134
|
-
startDate: string;
|
|
4135
|
-
startTime: string;
|
|
4136
|
-
endDate: string;
|
|
4137
|
-
endTime: string;
|
|
4138
|
-
sportId?: string;
|
|
4139
|
-
setupDuration: string;
|
|
4140
|
-
setupIncludeInCosts: string;
|
|
4141
|
-
takedownDuration: string;
|
|
4142
|
-
takedownIncludeInCosts: string;
|
|
4143
|
-
slotProduct: ImportedSlotProductDto;
|
|
4144
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4145
|
-
totalPrice: string;
|
|
4146
|
-
}
|
|
4147
|
-
export declare class ImportedReservationDto {
|
|
4148
|
-
name: string;
|
|
4149
|
-
customerId: string;
|
|
4150
|
-
description: string;
|
|
4151
|
-
totalPrice: string;
|
|
4152
|
-
downPayment: string;
|
|
4153
|
-
paid: string;
|
|
4154
|
-
invoiceId: string;
|
|
4155
|
-
slots?: ImportedSlotDto[];
|
|
4156
|
-
addons?: ImportedSlotProductDto[];
|
|
4157
|
-
}
|
|
4158
4158
|
export declare class CloseShiftDto {
|
|
4159
4159
|
closingCashAmount: number;
|
|
4160
4160
|
}
|
|
4161
4161
|
export declare class FindShiftsByIdsDto {
|
|
4162
4162
|
shiftIds: number[];
|
|
4163
4163
|
}
|
|
4164
|
-
export declare class ShiftManagementClosingAmount {
|
|
4165
|
-
shiftId: number;
|
|
4166
|
-
managementClosingCashAmount: number;
|
|
4167
|
-
}
|
|
4168
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4169
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4170
|
-
}
|
|
4171
|
-
export declare class OpenShiftDto {
|
|
4172
|
-
openingCashAmount: number;
|
|
4173
|
-
stationId: number;
|
|
4174
|
-
}
|
|
4175
4164
|
export declare class FindShiftsFiltersDto {
|
|
4176
4165
|
statuses?: string;
|
|
4177
4166
|
stationIds?: string;
|
|
@@ -4192,6 +4181,17 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4192
4181
|
startDate?: Date;
|
|
4193
4182
|
endDate?: Date;
|
|
4194
4183
|
}
|
|
4184
|
+
export declare class ShiftManagementClosingAmount {
|
|
4185
|
+
shiftId: number;
|
|
4186
|
+
managementClosingCashAmount: number;
|
|
4187
|
+
}
|
|
4188
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4189
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4190
|
+
}
|
|
4191
|
+
export declare class OpenShiftDto {
|
|
4192
|
+
openingCashAmount: number;
|
|
4193
|
+
stationId: number;
|
|
4194
|
+
}
|
|
4195
4195
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4196
|
stationId: number;
|
|
4197
4197
|
station?: Station;
|