@bondsports/types 0.0.61 → 0.0.62
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 +292 -292
- 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
|
@@ -20,6 +20,114 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
30
|
+
export declare class FindEventByIdDto {
|
|
31
|
+
eventId: number;
|
|
32
|
+
organizationId: number;
|
|
33
|
+
}
|
|
34
|
+
export declare class UpdateEventDto {
|
|
35
|
+
name: string;
|
|
36
|
+
startDate: string;
|
|
37
|
+
endDate: string;
|
|
38
|
+
startTime: string;
|
|
39
|
+
endTime: string;
|
|
40
|
+
spacesIds?: number[];
|
|
41
|
+
publicNotes?: string;
|
|
42
|
+
privateNotes?: string;
|
|
43
|
+
isInformAttendees?: boolean;
|
|
44
|
+
minutesBeforeSlot?: number;
|
|
45
|
+
minutesAfterSlot?: number;
|
|
46
|
+
}
|
|
47
|
+
export declare class AddEventToSessionDto {
|
|
48
|
+
eventsData: UpdateEventDto[];
|
|
49
|
+
}
|
|
50
|
+
export declare class EventsIdsQueryDto {
|
|
51
|
+
eventsIds: string;
|
|
52
|
+
}
|
|
53
|
+
export declare class UpdateMultipleEventsDto {
|
|
54
|
+
eventsIds: number[];
|
|
55
|
+
name?: string;
|
|
56
|
+
startTime?: string;
|
|
57
|
+
endTime?: string;
|
|
58
|
+
spacesIds?: number[];
|
|
59
|
+
publicNotes?: string;
|
|
60
|
+
privateNotes?: string;
|
|
61
|
+
isInformAttendees?: boolean;
|
|
62
|
+
minutesBeforeSlot?: number;
|
|
63
|
+
minutesAfterSlot?: number;
|
|
64
|
+
}
|
|
65
|
+
export declare class FindByFacilityIdDto {
|
|
66
|
+
facilityId: number;
|
|
67
|
+
}
|
|
68
|
+
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
69
|
+
organizationId: number;
|
|
70
|
+
}
|
|
71
|
+
export declare class FacilityEventsScheduleQueryParams {
|
|
72
|
+
programsIds?: string;
|
|
73
|
+
startDate?: string;
|
|
74
|
+
endDate?: string;
|
|
75
|
+
}
|
|
76
|
+
export declare class ProgramLandingPageDto {
|
|
77
|
+
programId: number;
|
|
78
|
+
}
|
|
79
|
+
export declare class ProgramLandingPageQueryDto {
|
|
80
|
+
futureLimit?: number;
|
|
81
|
+
}
|
|
82
|
+
export declare class ProgramSessionLandingPageDto {
|
|
83
|
+
programId: number;
|
|
84
|
+
sessionId: number;
|
|
85
|
+
}
|
|
86
|
+
export interface IEventOfSessionDetails {
|
|
87
|
+
id: number;
|
|
88
|
+
name: string;
|
|
89
|
+
programId: number;
|
|
90
|
+
programType: ProgramTypesEnum;
|
|
91
|
+
sessionId: number;
|
|
92
|
+
sessionName: string;
|
|
93
|
+
isPublic: boolean;
|
|
94
|
+
startDate: Date;
|
|
95
|
+
endDate: Date;
|
|
96
|
+
startTime: string;
|
|
97
|
+
endTime: string;
|
|
98
|
+
resources: IBasicSpaceAndSlotCreator[];
|
|
99
|
+
attenedanceCount: number;
|
|
100
|
+
checkedInCount: number;
|
|
101
|
+
missingPaymentCount: number;
|
|
102
|
+
publicNotes: string;
|
|
103
|
+
privateNotes: string;
|
|
104
|
+
}
|
|
105
|
+
export interface IAttendeeOfEvent {
|
|
106
|
+
eventId: number;
|
|
107
|
+
userId: number;
|
|
108
|
+
lastName: string;
|
|
109
|
+
firstName: string;
|
|
110
|
+
birthDate: string;
|
|
111
|
+
mediaURL: string;
|
|
112
|
+
signedWaiver: string;
|
|
113
|
+
entryStatus: EntryStatusEnum;
|
|
114
|
+
paymentStatus: PaymentStatusEnum;
|
|
115
|
+
addOns: {
|
|
116
|
+
productId: number;
|
|
117
|
+
productName: string;
|
|
118
|
+
}[];
|
|
119
|
+
totalPasses?: number;
|
|
120
|
+
leftPasses?: number;
|
|
121
|
+
addonProductUserIds: number[];
|
|
122
|
+
}
|
|
123
|
+
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
124
|
+
nameSearch?: string;
|
|
125
|
+
isCheckedIn?: string;
|
|
126
|
+
isNotCheckedIn?: string;
|
|
127
|
+
hasAddons?: string;
|
|
128
|
+
isWaiverSigned?: string;
|
|
129
|
+
statuses?: string;
|
|
130
|
+
}
|
|
23
131
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
132
|
membershipId: number;
|
|
25
133
|
}
|
|
@@ -78,13 +186,6 @@ export declare class AddEditCustomerDto {
|
|
|
78
186
|
emergencyContactName?: string;
|
|
79
187
|
emergencyContactPhone?: string;
|
|
80
188
|
}
|
|
81
|
-
export declare class FindBookingTypeSettingDto {
|
|
82
|
-
organizationId: number;
|
|
83
|
-
facilityId: number;
|
|
84
|
-
spaceId: number;
|
|
85
|
-
bookingDate: string;
|
|
86
|
-
bookingTime: string;
|
|
87
|
-
}
|
|
88
189
|
export declare class AddressDto {
|
|
89
190
|
city: string;
|
|
90
191
|
state: string;
|
|
@@ -255,62 +356,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
255
356
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
256
357
|
fileName: string;
|
|
257
358
|
}
|
|
258
|
-
export declare class CreateMembershipDto {
|
|
259
|
-
organizationId: number;
|
|
260
|
-
name: string;
|
|
261
|
-
description?: string;
|
|
262
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
263
|
-
activity: SportsEnum;
|
|
264
|
-
facilityId: number;
|
|
265
|
-
questionnaires: number[];
|
|
266
|
-
minAgeYears: number;
|
|
267
|
-
maxAgeYears: number;
|
|
268
|
-
gender: GenderEnum;
|
|
269
|
-
maxMembers?: number;
|
|
270
|
-
maxMaleMembers?: number;
|
|
271
|
-
maxFemaleMembers?: number;
|
|
272
|
-
startDate: string;
|
|
273
|
-
endDate: string;
|
|
274
|
-
registrationStartDate?: Date;
|
|
275
|
-
registrationEndDate?: Date;
|
|
276
|
-
membershipType: MembershipTypeEnum;
|
|
277
|
-
durationMonths: number;
|
|
278
|
-
longDescription?: string;
|
|
279
|
-
isAutoRenew?: boolean;
|
|
280
|
-
}
|
|
281
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
282
|
-
id: number;
|
|
283
|
-
}
|
|
284
|
-
export declare class UpdateMembershipMediaDto {
|
|
285
|
-
membershipId: number;
|
|
286
|
-
mediaId: number;
|
|
287
|
-
}
|
|
288
|
-
export declare class FindMembershipByIdDto {
|
|
289
|
-
membershipId: number;
|
|
290
|
-
}
|
|
291
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
292
|
-
organizationId: number;
|
|
293
|
-
}
|
|
294
|
-
export declare class FindMembershipsByUserIdDto {
|
|
295
|
-
userId: number;
|
|
296
|
-
}
|
|
297
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
298
|
-
startDate: string;
|
|
299
|
-
}
|
|
300
|
-
export declare class MembershipIdsDto {
|
|
301
|
-
membershipIds?: number[];
|
|
302
|
-
}
|
|
303
|
-
export declare class MemberIdDto {
|
|
304
|
-
memberId?: number;
|
|
305
|
-
}
|
|
306
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
307
|
-
nameEmailSearch?: string;
|
|
308
|
-
pastMemberships?: string;
|
|
309
|
-
}
|
|
310
|
-
export declare class CancelMembershipDto {
|
|
311
|
-
isImmediatelyCancel: boolean;
|
|
312
|
-
cancellationReason?: string;
|
|
313
|
-
}
|
|
314
359
|
export declare class CreateEntitlementTermsDto {
|
|
315
360
|
organizationId: number;
|
|
316
361
|
entitlementGroupId: number;
|
|
@@ -353,107 +398,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
353
398
|
discountValue?: number;
|
|
354
399
|
discountMethod?: DiscountMethodsEnum;
|
|
355
400
|
}
|
|
356
|
-
export declare class FindEventByIdDto {
|
|
357
|
-
eventId: number;
|
|
358
|
-
organizationId: number;
|
|
359
|
-
}
|
|
360
|
-
export declare class UpdateEventDto {
|
|
361
|
-
name: string;
|
|
362
|
-
startDate: string;
|
|
363
|
-
endDate: string;
|
|
364
|
-
startTime: string;
|
|
365
|
-
endTime: string;
|
|
366
|
-
spacesIds?: number[];
|
|
367
|
-
publicNotes?: string;
|
|
368
|
-
privateNotes?: string;
|
|
369
|
-
isInformAttendees?: boolean;
|
|
370
|
-
minutesBeforeSlot?: number;
|
|
371
|
-
minutesAfterSlot?: number;
|
|
372
|
-
}
|
|
373
|
-
export declare class AddEventToSessionDto {
|
|
374
|
-
eventsData: UpdateEventDto[];
|
|
375
|
-
}
|
|
376
|
-
export declare class EventsIdsQueryDto {
|
|
377
|
-
eventsIds: string;
|
|
378
|
-
}
|
|
379
|
-
export declare class UpdateMultipleEventsDto {
|
|
380
|
-
eventsIds: number[];
|
|
381
|
-
name?: string;
|
|
382
|
-
startTime?: string;
|
|
383
|
-
endTime?: string;
|
|
384
|
-
spacesIds?: number[];
|
|
385
|
-
publicNotes?: string;
|
|
386
|
-
privateNotes?: string;
|
|
387
|
-
isInformAttendees?: boolean;
|
|
388
|
-
minutesBeforeSlot?: number;
|
|
389
|
-
minutesAfterSlot?: number;
|
|
390
|
-
}
|
|
391
|
-
export declare class FindByFacilityIdDto {
|
|
392
|
-
facilityId: number;
|
|
393
|
-
}
|
|
394
|
-
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
395
|
-
organizationId: number;
|
|
396
|
-
}
|
|
397
|
-
export declare class FacilityEventsScheduleQueryParams {
|
|
398
|
-
programsIds?: string;
|
|
399
|
-
startDate?: string;
|
|
400
|
-
endDate?: string;
|
|
401
|
-
}
|
|
402
|
-
export declare class ProgramLandingPageDto {
|
|
403
|
-
programId: number;
|
|
404
|
-
}
|
|
405
|
-
export declare class ProgramLandingPageQueryDto {
|
|
406
|
-
futureLimit?: number;
|
|
407
|
-
}
|
|
408
|
-
export declare class ProgramSessionLandingPageDto {
|
|
409
|
-
programId: number;
|
|
410
|
-
sessionId: number;
|
|
411
|
-
}
|
|
412
|
-
export interface IEventOfSessionDetails {
|
|
413
|
-
id: number;
|
|
414
|
-
name: string;
|
|
415
|
-
programId: number;
|
|
416
|
-
programType: ProgramTypesEnum;
|
|
417
|
-
sessionId: number;
|
|
418
|
-
sessionName: string;
|
|
419
|
-
isPublic: boolean;
|
|
420
|
-
startDate: Date;
|
|
421
|
-
endDate: Date;
|
|
422
|
-
startTime: string;
|
|
423
|
-
endTime: string;
|
|
424
|
-
resources: IBasicSpaceAndSlotCreator[];
|
|
425
|
-
attenedanceCount: number;
|
|
426
|
-
checkedInCount: number;
|
|
427
|
-
missingPaymentCount: number;
|
|
428
|
-
publicNotes: string;
|
|
429
|
-
privateNotes: string;
|
|
430
|
-
}
|
|
431
|
-
export interface IAttendeeOfEvent {
|
|
432
|
-
eventId: number;
|
|
433
|
-
userId: number;
|
|
434
|
-
lastName: string;
|
|
435
|
-
firstName: string;
|
|
436
|
-
birthDate: string;
|
|
437
|
-
mediaURL: string;
|
|
438
|
-
signedWaiver: string;
|
|
439
|
-
entryStatus: EntryStatusEnum;
|
|
440
|
-
paymentStatus: PaymentStatusEnum;
|
|
441
|
-
addOns: {
|
|
442
|
-
productId: number;
|
|
443
|
-
productName: string;
|
|
444
|
-
}[];
|
|
445
|
-
totalPasses?: number;
|
|
446
|
-
leftPasses?: number;
|
|
447
|
-
addonProductUserIds: number[];
|
|
448
|
-
}
|
|
449
|
-
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
450
|
-
nameSearch?: string;
|
|
451
|
-
isCheckedIn?: string;
|
|
452
|
-
isNotCheckedIn?: string;
|
|
453
|
-
hasAddons?: string;
|
|
454
|
-
isWaiverSigned?: string;
|
|
455
|
-
statuses?: string;
|
|
456
|
-
}
|
|
457
401
|
export declare class FindByProductIdDto {
|
|
458
402
|
productId: number;
|
|
459
403
|
}
|
|
@@ -674,6 +618,62 @@ export declare class createResourceDto {
|
|
|
674
618
|
export declare class archiveDto {
|
|
675
619
|
isArchive: boolean;
|
|
676
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;
|
|
653
|
+
}
|
|
654
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
655
|
+
organizationId: number;
|
|
656
|
+
}
|
|
657
|
+
export declare class FindMembershipsByUserIdDto {
|
|
658
|
+
userId: number;
|
|
659
|
+
}
|
|
660
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
661
|
+
startDate: string;
|
|
662
|
+
}
|
|
663
|
+
export declare class MembershipIdsDto {
|
|
664
|
+
membershipIds?: number[];
|
|
665
|
+
}
|
|
666
|
+
export declare class MemberIdDto {
|
|
667
|
+
memberId?: number;
|
|
668
|
+
}
|
|
669
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
670
|
+
nameEmailSearch?: string;
|
|
671
|
+
pastMemberships?: string;
|
|
672
|
+
}
|
|
673
|
+
export declare class CancelMembershipDto {
|
|
674
|
+
isImmediatelyCancel: boolean;
|
|
675
|
+
cancellationReason?: string;
|
|
676
|
+
}
|
|
677
677
|
export declare class CreateUpdateVariantsDto {
|
|
678
678
|
organizationId: number;
|
|
679
679
|
parentProductId: number;
|
|
@@ -1111,6 +1111,19 @@ export declare class Address extends BondBaseEntity {
|
|
|
1111
1111
|
geo: any;
|
|
1112
1112
|
deletedAt?: Date;
|
|
1113
1113
|
}
|
|
1114
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
|
+
questionId: number;
|
|
1116
|
+
question?: Questions;
|
|
1117
|
+
parentId: number;
|
|
1118
|
+
parentType: ResourceNameTypeEnum;
|
|
1119
|
+
answerValue: any;
|
|
1120
|
+
creatorId: number;
|
|
1121
|
+
creatorType: ResourceNameTypeEnum;
|
|
1122
|
+
answerTitleId: number;
|
|
1123
|
+
answerTitle: AnswerTitle;
|
|
1124
|
+
metaData: any | null;
|
|
1125
|
+
questionText: string | null;
|
|
1126
|
+
}
|
|
1114
1127
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1115
1128
|
questionnaireId: number;
|
|
1116
1129
|
userId?: number;
|
|
@@ -1127,50 +1140,11 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1127
1140
|
sports: number | null;
|
|
1128
1141
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1129
1142
|
}
|
|
1130
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1131
|
-
questionId: number;
|
|
1132
|
-
question?: Questions;
|
|
1133
|
-
parentId: number;
|
|
1134
|
-
parentType: ResourceNameTypeEnum;
|
|
1135
|
-
answerValue: any;
|
|
1136
|
-
creatorId: number;
|
|
1137
|
-
creatorType: ResourceNameTypeEnum;
|
|
1138
|
-
answerTitleId: number;
|
|
1139
|
-
answerTitle: AnswerTitle;
|
|
1140
|
-
metaData: any | null;
|
|
1141
|
-
questionText: string | null;
|
|
1142
|
-
}
|
|
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;
|
|
1150
|
-
}
|
|
1151
1143
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1152
1144
|
id: number;
|
|
1153
1145
|
createdAt: Date;
|
|
1154
1146
|
updatedAt: Date;
|
|
1155
1147
|
}
|
|
1156
|
-
export declare class BookedSessions extends BondBaseEntity {
|
|
1157
|
-
reservationId?: number;
|
|
1158
|
-
color?: string;
|
|
1159
|
-
creatorId?: number;
|
|
1160
|
-
creatorType?: string;
|
|
1161
|
-
startDate?: Date | moment.Moment;
|
|
1162
|
-
endDate?: Date | moment.Moment;
|
|
1163
|
-
timezone?: string;
|
|
1164
|
-
spaceId?: number;
|
|
1165
|
-
percentage?: number;
|
|
1166
|
-
status?: string;
|
|
1167
|
-
originalSessionId?: number;
|
|
1168
|
-
isFinal?: boolean;
|
|
1169
|
-
concurrent?: number;
|
|
1170
|
-
deletedAt?: Date;
|
|
1171
|
-
publicNotes?: string;
|
|
1172
|
-
slotType?: SlotTypeEnum;
|
|
1173
|
-
}
|
|
1174
1148
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
1149
|
parentId: number;
|
|
1176
1150
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1198,6 +1172,14 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1198
1172
|
userCreatorId: number | null;
|
|
1199
1173
|
ownerId: number | null;
|
|
1200
1174
|
}
|
|
1175
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1176
|
+
entityType: ResourceNameTypeEnum;
|
|
1177
|
+
entityId: number;
|
|
1178
|
+
name: string;
|
|
1179
|
+
startDate: Date;
|
|
1180
|
+
endDate: Date;
|
|
1181
|
+
deletedAt?: Date;
|
|
1182
|
+
}
|
|
1201
1183
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
1184
|
creditAmount: number;
|
|
1203
1185
|
paymentProcessorId: string;
|
|
@@ -1404,6 +1386,11 @@ export declare class Group extends BondBaseEntity {
|
|
|
1404
1386
|
members: ISeasonAttendeeInfo[];
|
|
1405
1387
|
users: User[];
|
|
1406
1388
|
}
|
|
1389
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1390
|
+
groupId: number;
|
|
1391
|
+
divisionId: number;
|
|
1392
|
+
deletedAt?: Date;
|
|
1393
|
+
}
|
|
1407
1394
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1408
1395
|
groupId: number;
|
|
1409
1396
|
itemId: number;
|
|
@@ -1417,11 +1404,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1417
1404
|
discountMethod?: DiscountMethodsEnum;
|
|
1418
1405
|
discountValue?: number;
|
|
1419
1406
|
}
|
|
1420
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
-
groupId: number;
|
|
1422
|
-
divisionId: number;
|
|
1423
|
-
deletedAt?: Date;
|
|
1424
|
-
}
|
|
1425
1407
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
1408
|
price: number;
|
|
1427
1409
|
paymentProcessorId: string;
|
|
@@ -2012,24 +1994,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2012
1994
|
facility: Facility;
|
|
2013
1995
|
purchasedResources: PurchasedResource[];
|
|
2014
1996
|
}
|
|
2015
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2016
|
-
title: string | null;
|
|
2017
|
-
answerTitle: AnswerTitle;
|
|
2018
|
-
}
|
|
2019
|
-
export declare class Questions extends BondBaseEntity {
|
|
2020
|
-
questionType: string | null;
|
|
2021
|
-
ordinal: number | null;
|
|
2022
|
-
pageOrdinal: number | null;
|
|
2023
|
-
isActive: boolean | null;
|
|
2024
|
-
isMandatory: boolean | null;
|
|
2025
|
-
metaData: any | null;
|
|
2026
|
-
question: string | null;
|
|
2027
|
-
creatorId: number | null;
|
|
2028
|
-
creatorType: string | null;
|
|
2029
|
-
userCreatorId: number | null;
|
|
2030
|
-
ownerId: number | null;
|
|
2031
|
-
questionnaireId: number | null;
|
|
2032
|
-
}
|
|
2033
1997
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2034
1998
|
productUserId: number;
|
|
2035
1999
|
resourceId: number;
|
|
@@ -2052,6 +2016,24 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2052
2016
|
product?: Product;
|
|
2053
2017
|
event?: Event;
|
|
2054
2018
|
}
|
|
2019
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2020
|
+
title: string | null;
|
|
2021
|
+
answerTitle: AnswerTitle;
|
|
2022
|
+
}
|
|
2023
|
+
export declare class Questions extends BondBaseEntity {
|
|
2024
|
+
questionType: string | null;
|
|
2025
|
+
ordinal: number | null;
|
|
2026
|
+
pageOrdinal: number | null;
|
|
2027
|
+
isActive: boolean | null;
|
|
2028
|
+
isMandatory: boolean | null;
|
|
2029
|
+
metaData: any | null;
|
|
2030
|
+
question: string | null;
|
|
2031
|
+
creatorId: number | null;
|
|
2032
|
+
creatorType: string | null;
|
|
2033
|
+
userCreatorId: number | null;
|
|
2034
|
+
ownerId: number | null;
|
|
2035
|
+
questionnaireId: number | null;
|
|
2036
|
+
}
|
|
2055
2037
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
2038
|
reason: string;
|
|
2057
2039
|
ordinal: number;
|
|
@@ -2100,13 +2082,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2100
2082
|
publicNotes?: string;
|
|
2101
2083
|
slots?: Slot[];
|
|
2102
2084
|
}
|
|
2103
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2104
|
-
name: string;
|
|
2105
|
-
facilityId: number;
|
|
2106
|
-
parentSlotId: number;
|
|
2107
|
-
childrenSlotIds: number[];
|
|
2108
|
-
deletedAt?: Date;
|
|
2109
|
-
}
|
|
2110
2085
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2111
2086
|
name: string;
|
|
2112
2087
|
resourceType: ResourceTypeEnum;
|
|
@@ -2135,6 +2110,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2135
2110
|
purchasedResources: PurchasedResource[];
|
|
2136
2111
|
linkSEO: string;
|
|
2137
2112
|
}
|
|
2113
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2114
|
+
name: string;
|
|
2115
|
+
facilityId: number;
|
|
2116
|
+
parentSlotId: number;
|
|
2117
|
+
childrenSlotIds: number[];
|
|
2118
|
+
deletedAt?: Date;
|
|
2119
|
+
}
|
|
2138
2120
|
export declare class School extends BondBaseEntity {
|
|
2139
2121
|
name: string | null;
|
|
2140
2122
|
alias: string[] | null;
|
|
@@ -2347,6 +2329,24 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2347
2329
|
membershipCollectionId?: string;
|
|
2348
2330
|
programsCollectionId?: string;
|
|
2349
2331
|
}
|
|
2332
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
2333
|
+
reservationId?: number;
|
|
2334
|
+
color?: string;
|
|
2335
|
+
creatorId?: number;
|
|
2336
|
+
creatorType?: string;
|
|
2337
|
+
startDate?: Date | moment.Moment;
|
|
2338
|
+
endDate?: Date | moment.Moment;
|
|
2339
|
+
timezone?: string;
|
|
2340
|
+
spaceId?: number;
|
|
2341
|
+
percentage?: number;
|
|
2342
|
+
status?: string;
|
|
2343
|
+
originalSessionId?: number;
|
|
2344
|
+
isFinal?: boolean;
|
|
2345
|
+
concurrent?: number;
|
|
2346
|
+
deletedAt?: Date;
|
|
2347
|
+
publicNotes?: string;
|
|
2348
|
+
slotType?: SlotTypeEnum;
|
|
2349
|
+
}
|
|
2350
2350
|
export declare enum EntitlementTermsTypesEnum {
|
|
2351
2351
|
QUESTION = "question",
|
|
2352
2352
|
CITY = "city",
|
|
@@ -3350,24 +3350,10 @@ export declare class ImportedReservationDto {
|
|
|
3350
3350
|
slots?: ImportedSlotDto[];
|
|
3351
3351
|
addons?: ImportedSlotProductDto[];
|
|
3352
3352
|
}
|
|
3353
|
-
export declare class ColumnNumericTransformer {
|
|
3354
|
-
to(data: number): number;
|
|
3355
|
-
from(data: string): number;
|
|
3356
|
-
}
|
|
3357
|
-
export declare function convertToNumber(data: string): number;
|
|
3358
3353
|
export declare class GameSlots extends BondBaseEntity {
|
|
3359
3354
|
entityType: string;
|
|
3360
3355
|
entityId: number;
|
|
3361
3356
|
}
|
|
3362
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3363
|
-
matchId: number | null;
|
|
3364
|
-
ordinal: number | null;
|
|
3365
|
-
outcomeOrdinal: number | null;
|
|
3366
|
-
resultMetaData: any | null;
|
|
3367
|
-
points: number | null;
|
|
3368
|
-
score: number | null;
|
|
3369
|
-
gameSlotId: number | null;
|
|
3370
|
-
}
|
|
3371
3357
|
export declare class Matches extends BondBaseEntity {
|
|
3372
3358
|
eventId: number | null;
|
|
3373
3359
|
status: number | null;
|
|
@@ -3412,6 +3398,15 @@ export declare class ByOrganizationIdDto {
|
|
|
3412
3398
|
export declare class OptionalFindByOrganizationIdDto {
|
|
3413
3399
|
organizationId?: number;
|
|
3414
3400
|
}
|
|
3401
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3402
|
+
key?: string;
|
|
3403
|
+
vaule?: string;
|
|
3404
|
+
version: number;
|
|
3405
|
+
organization: Organization;
|
|
3406
|
+
}
|
|
3407
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3408
|
+
mainAdminUserId?: number;
|
|
3409
|
+
}
|
|
3415
3410
|
export declare class Organization extends BondBaseEntity {
|
|
3416
3411
|
name: string | null;
|
|
3417
3412
|
email: string | null;
|
|
@@ -3461,51 +3456,10 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3461
3456
|
brandings: OrganizationBranding[];
|
|
3462
3457
|
brandingsV2?: OrganizationBranding[];
|
|
3463
3458
|
}
|
|
3464
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3465
|
-
key?: string;
|
|
3466
|
-
vaule?: string;
|
|
3467
|
-
version: number;
|
|
3468
|
-
organization: Organization;
|
|
3469
|
-
}
|
|
3470
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
|
-
mainAdminUserId?: number;
|
|
3472
|
-
}
|
|
3473
3459
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3474
3460
|
organisationId: number | null;
|
|
3475
3461
|
userId: number | null;
|
|
3476
3462
|
}
|
|
3477
|
-
export declare class RefundDto {
|
|
3478
|
-
orderId: number;
|
|
3479
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3480
|
-
refundLineItemAmountDict?: {
|
|
3481
|
-
[id: number]: number;
|
|
3482
|
-
};
|
|
3483
|
-
refunds: PaymentMethodDto[];
|
|
3484
|
-
refundType: RefundTypeEnum;
|
|
3485
|
-
reasonId: number;
|
|
3486
|
-
note?: string;
|
|
3487
|
-
shiftId?: number;
|
|
3488
|
-
meta?: RevertMetaDto;
|
|
3489
|
-
}
|
|
3490
|
-
export declare class PaymentMethodDto {
|
|
3491
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3492
|
-
amount: number;
|
|
3493
|
-
paymentMethodId?: string;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class RefundLineItemAmountDto {
|
|
3496
|
-
id: number;
|
|
3497
|
-
refundAmount: number;
|
|
3498
|
-
}
|
|
3499
|
-
export declare class VoidDto {
|
|
3500
|
-
lineItems: VoidLineItemDto[];
|
|
3501
|
-
meta?: RevertMetaDto;
|
|
3502
|
-
}
|
|
3503
|
-
export declare class VoidLineItemDto {
|
|
3504
|
-
id: number;
|
|
3505
|
-
quantity?: number;
|
|
3506
|
-
isEdit?: boolean;
|
|
3507
|
-
amount?: number;
|
|
3508
|
-
}
|
|
3509
3463
|
export declare class CustomerIdDto {
|
|
3510
3464
|
customerId: number;
|
|
3511
3465
|
}
|
|
@@ -3623,6 +3577,38 @@ export declare class SendRequestDto {
|
|
|
3623
3577
|
sendToEmail: string;
|
|
3624
3578
|
memo?: string;
|
|
3625
3579
|
}
|
|
3580
|
+
export declare class RefundDto {
|
|
3581
|
+
orderId: number;
|
|
3582
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3583
|
+
refundLineItemAmountDict?: {
|
|
3584
|
+
[id: number]: number;
|
|
3585
|
+
};
|
|
3586
|
+
refunds: PaymentMethodDto[];
|
|
3587
|
+
refundType: RefundTypeEnum;
|
|
3588
|
+
reasonId: number;
|
|
3589
|
+
note?: string;
|
|
3590
|
+
shiftId?: number;
|
|
3591
|
+
meta?: RevertMetaDto;
|
|
3592
|
+
}
|
|
3593
|
+
export declare class PaymentMethodDto {
|
|
3594
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3595
|
+
amount: number;
|
|
3596
|
+
paymentMethodId?: string;
|
|
3597
|
+
}
|
|
3598
|
+
export declare class RefundLineItemAmountDto {
|
|
3599
|
+
id: number;
|
|
3600
|
+
refundAmount: number;
|
|
3601
|
+
}
|
|
3602
|
+
export declare class VoidDto {
|
|
3603
|
+
lineItems: VoidLineItemDto[];
|
|
3604
|
+
meta?: RevertMetaDto;
|
|
3605
|
+
}
|
|
3606
|
+
export declare class VoidLineItemDto {
|
|
3607
|
+
id: number;
|
|
3608
|
+
quantity?: number;
|
|
3609
|
+
isEdit?: boolean;
|
|
3610
|
+
amount?: number;
|
|
3611
|
+
}
|
|
3626
3612
|
export declare class LineItemDto {
|
|
3627
3613
|
id?: number;
|
|
3628
3614
|
orderId?: number;
|
|
@@ -4035,6 +4021,15 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4035
4021
|
targetGlobalPrice?: number;
|
|
4036
4022
|
slots: Slot[];
|
|
4037
4023
|
}
|
|
4024
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
4025
|
+
matchId: number | null;
|
|
4026
|
+
ordinal: number | null;
|
|
4027
|
+
outcomeOrdinal: number | null;
|
|
4028
|
+
resultMetaData: any | null;
|
|
4029
|
+
points: number | null;
|
|
4030
|
+
score: number | null;
|
|
4031
|
+
gameSlotId: number | null;
|
|
4032
|
+
}
|
|
4038
4033
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4039
4034
|
deletedAt?: Date;
|
|
4040
4035
|
reservationId: number;
|
|
@@ -4141,15 +4136,15 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4141
4136
|
export declare class CreateRoleDto {
|
|
4142
4137
|
name: string;
|
|
4143
4138
|
}
|
|
4144
|
-
export declare class
|
|
4139
|
+
export declare class Permission extends BondBaseEntity {
|
|
4145
4140
|
name: string;
|
|
4146
4141
|
deletedAt?: Date;
|
|
4147
|
-
permissions: Permission[];
|
|
4148
|
-
usersRoles: UserRole[];
|
|
4149
4142
|
}
|
|
4150
|
-
export declare class
|
|
4143
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4151
4144
|
name: string;
|
|
4152
4145
|
deletedAt?: Date;
|
|
4146
|
+
permissions: Permission[];
|
|
4147
|
+
usersRoles: UserRole[];
|
|
4153
4148
|
}
|
|
4154
4149
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4155
4150
|
deletedAt?: Date;
|
|
@@ -4158,6 +4153,11 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4158
4153
|
role: Role;
|
|
4159
4154
|
user: User;
|
|
4160
4155
|
}
|
|
4156
|
+
export declare class ColumnNumericTransformer {
|
|
4157
|
+
to(data: number): number;
|
|
4158
|
+
from(data: string): number;
|
|
4159
|
+
}
|
|
4160
|
+
export declare function convertToNumber(data: string): number;
|
|
4161
4161
|
export declare class CloseShiftDto {
|
|
4162
4162
|
closingCashAmount: number;
|
|
4163
4163
|
}
|