@bondsports/types 0.0.58 → 0.0.61
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 +285 -285
- 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,13 +20,6 @@ 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
23
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
24
|
membershipId: number;
|
|
32
25
|
}
|
|
@@ -85,6 +78,13 @@ export declare class AddEditCustomerDto {
|
|
|
85
78
|
emergencyContactName?: string;
|
|
86
79
|
emergencyContactPhone?: string;
|
|
87
80
|
}
|
|
81
|
+
export declare class FindBookingTypeSettingDto {
|
|
82
|
+
organizationId: number;
|
|
83
|
+
facilityId: number;
|
|
84
|
+
spaceId: number;
|
|
85
|
+
bookingDate: string;
|
|
86
|
+
bookingTime: string;
|
|
87
|
+
}
|
|
88
88
|
export declare class AddressDto {
|
|
89
89
|
city: string;
|
|
90
90
|
state: string;
|
|
@@ -128,107 +128,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
128
128
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
129
129
|
nameSearch?: string;
|
|
130
130
|
}
|
|
131
|
-
export declare class FindEventByIdDto {
|
|
132
|
-
eventId: number;
|
|
133
|
-
organizationId: number;
|
|
134
|
-
}
|
|
135
|
-
export declare class UpdateEventDto {
|
|
136
|
-
name: string;
|
|
137
|
-
startDate: string;
|
|
138
|
-
endDate: string;
|
|
139
|
-
startTime: string;
|
|
140
|
-
endTime: string;
|
|
141
|
-
spacesIds?: number[];
|
|
142
|
-
publicNotes?: string;
|
|
143
|
-
privateNotes?: string;
|
|
144
|
-
isInformAttendees?: boolean;
|
|
145
|
-
minutesBeforeSlot?: number;
|
|
146
|
-
minutesAfterSlot?: number;
|
|
147
|
-
}
|
|
148
|
-
export declare class AddEventToSessionDto {
|
|
149
|
-
eventsData: UpdateEventDto[];
|
|
150
|
-
}
|
|
151
|
-
export declare class EventsIdsQueryDto {
|
|
152
|
-
eventsIds: string;
|
|
153
|
-
}
|
|
154
|
-
export declare class UpdateMultipleEventsDto {
|
|
155
|
-
eventsIds: number[];
|
|
156
|
-
name?: string;
|
|
157
|
-
startTime?: string;
|
|
158
|
-
endTime?: string;
|
|
159
|
-
spacesIds?: number[];
|
|
160
|
-
publicNotes?: string;
|
|
161
|
-
privateNotes?: string;
|
|
162
|
-
isInformAttendees?: boolean;
|
|
163
|
-
minutesBeforeSlot?: number;
|
|
164
|
-
minutesAfterSlot?: number;
|
|
165
|
-
}
|
|
166
|
-
export declare class FindByFacilityIdDto {
|
|
167
|
-
facilityId: number;
|
|
168
|
-
}
|
|
169
|
-
export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
|
|
170
|
-
organizationId: number;
|
|
171
|
-
}
|
|
172
|
-
export declare class FacilityEventsScheduleQueryParams {
|
|
173
|
-
programsIds?: string;
|
|
174
|
-
startDate?: string;
|
|
175
|
-
endDate?: string;
|
|
176
|
-
}
|
|
177
|
-
export declare class ProgramLandingPageDto {
|
|
178
|
-
programId: number;
|
|
179
|
-
}
|
|
180
|
-
export declare class ProgramLandingPageQueryDto {
|
|
181
|
-
futureLimit?: number;
|
|
182
|
-
}
|
|
183
|
-
export declare class ProgramSessionLandingPageDto {
|
|
184
|
-
programId: number;
|
|
185
|
-
sessionId: number;
|
|
186
|
-
}
|
|
187
|
-
export interface IEventOfSessionDetails {
|
|
188
|
-
id: number;
|
|
189
|
-
name: string;
|
|
190
|
-
programId: number;
|
|
191
|
-
programType: ProgramTypesEnum;
|
|
192
|
-
sessionId: number;
|
|
193
|
-
sessionName: string;
|
|
194
|
-
isPublic: boolean;
|
|
195
|
-
startDate: Date;
|
|
196
|
-
endDate: Date;
|
|
197
|
-
startTime: string;
|
|
198
|
-
endTime: string;
|
|
199
|
-
resources: IBasicSpaceAndSlotCreator[];
|
|
200
|
-
attenedanceCount: number;
|
|
201
|
-
checkedInCount: number;
|
|
202
|
-
missingPaymentCount: number;
|
|
203
|
-
publicNotes: string;
|
|
204
|
-
privateNotes: string;
|
|
205
|
-
}
|
|
206
|
-
export interface IAttendeeOfEvent {
|
|
207
|
-
eventId: number;
|
|
208
|
-
userId: number;
|
|
209
|
-
lastName: string;
|
|
210
|
-
firstName: string;
|
|
211
|
-
birthDate: string;
|
|
212
|
-
mediaURL: string;
|
|
213
|
-
signedWaiver: string;
|
|
214
|
-
entryStatus: EntryStatusEnum;
|
|
215
|
-
paymentStatus: PaymentStatusEnum;
|
|
216
|
-
addOns: {
|
|
217
|
-
productId: number;
|
|
218
|
-
productName: string;
|
|
219
|
-
}[];
|
|
220
|
-
totalPasses?: number;
|
|
221
|
-
leftPasses?: number;
|
|
222
|
-
addonProductUserIds: number[];
|
|
223
|
-
}
|
|
224
|
-
export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
225
|
-
nameSearch?: string;
|
|
226
|
-
isCheckedIn?: string;
|
|
227
|
-
isNotCheckedIn?: string;
|
|
228
|
-
hasAddons?: string;
|
|
229
|
-
isWaiverSigned?: string;
|
|
230
|
-
statuses?: string;
|
|
231
|
-
}
|
|
232
131
|
export declare class FindFamilyAccountsDto {
|
|
233
132
|
userId: number;
|
|
234
133
|
}
|
|
@@ -412,6 +311,149 @@ export declare class CancelMembershipDto {
|
|
|
412
311
|
isImmediatelyCancel: boolean;
|
|
413
312
|
cancellationReason?: string;
|
|
414
313
|
}
|
|
314
|
+
export declare class CreateEntitlementTermsDto {
|
|
315
|
+
organizationId: number;
|
|
316
|
+
entitlementGroupId: number;
|
|
317
|
+
terms: IEntitlementTerms[];
|
|
318
|
+
}
|
|
319
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
320
|
+
entitlementGroupId: number;
|
|
321
|
+
}
|
|
322
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
323
|
+
user: any;
|
|
324
|
+
userVariables: IQuestionAnswerObject[];
|
|
325
|
+
}
|
|
326
|
+
export declare class FindLowestPriceDto {
|
|
327
|
+
organizationId: number;
|
|
328
|
+
user?: any;
|
|
329
|
+
answers?: IQuestionAnswerObject[];
|
|
330
|
+
itemIds: number[];
|
|
331
|
+
itemType?: ResourceNameTypeEnum;
|
|
332
|
+
startDate?: Date;
|
|
333
|
+
}
|
|
334
|
+
export declare class FindGroupItemsPricingsDto {
|
|
335
|
+
groupsIds: number[];
|
|
336
|
+
itemsIds: number[];
|
|
337
|
+
}
|
|
338
|
+
export declare class CreateEntitlementGroupDto {
|
|
339
|
+
name: string;
|
|
340
|
+
}
|
|
341
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
342
|
+
itemIds: number[];
|
|
343
|
+
itemType: string;
|
|
344
|
+
}
|
|
345
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
346
|
+
groupid: number;
|
|
347
|
+
}
|
|
348
|
+
export declare class CreateGroupPricingWithProduct {
|
|
349
|
+
groupId: number;
|
|
350
|
+
price: number;
|
|
351
|
+
startDate?: Date;
|
|
352
|
+
endDate?: Date;
|
|
353
|
+
discountValue?: number;
|
|
354
|
+
discountMethod?: DiscountMethodsEnum;
|
|
355
|
+
}
|
|
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
|
+
}
|
|
415
457
|
export declare class FindByProductIdDto {
|
|
416
458
|
productId: number;
|
|
417
459
|
}
|
|
@@ -632,48 +674,6 @@ export declare class createResourceDto {
|
|
|
632
674
|
export declare class archiveDto {
|
|
633
675
|
isArchive: boolean;
|
|
634
676
|
}
|
|
635
|
-
export declare class CreateEntitlementTermsDto {
|
|
636
|
-
organizationId: number;
|
|
637
|
-
entitlementGroupId: number;
|
|
638
|
-
terms: IEntitlementTerms[];
|
|
639
|
-
}
|
|
640
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
641
|
-
entitlementGroupId: number;
|
|
642
|
-
}
|
|
643
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
644
|
-
user: any;
|
|
645
|
-
userVariables: IQuestionAnswerObject[];
|
|
646
|
-
}
|
|
647
|
-
export declare class FindLowestPriceDto {
|
|
648
|
-
organizationId: number;
|
|
649
|
-
user?: any;
|
|
650
|
-
answers?: IQuestionAnswerObject[];
|
|
651
|
-
itemIds: number[];
|
|
652
|
-
itemType?: ResourceNameTypeEnum;
|
|
653
|
-
startDate?: Date;
|
|
654
|
-
}
|
|
655
|
-
export declare class FindGroupItemsPricingsDto {
|
|
656
|
-
groupsIds: number[];
|
|
657
|
-
itemsIds: number[];
|
|
658
|
-
}
|
|
659
|
-
export declare class CreateEntitlementGroupDto {
|
|
660
|
-
name: string;
|
|
661
|
-
}
|
|
662
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
663
|
-
itemIds: number[];
|
|
664
|
-
itemType: string;
|
|
665
|
-
}
|
|
666
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
667
|
-
groupid: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class CreateGroupPricingWithProduct {
|
|
670
|
-
groupId: number;
|
|
671
|
-
price: number;
|
|
672
|
-
startDate?: Date;
|
|
673
|
-
endDate?: Date;
|
|
674
|
-
discountValue?: number;
|
|
675
|
-
discountMethod?: DiscountMethodsEnum;
|
|
676
|
-
}
|
|
677
677
|
export declare class CreateUpdateVariantsDto {
|
|
678
678
|
organizationId: number;
|
|
679
679
|
parentProductId: number;
|
|
@@ -1111,19 +1111,6 @@ 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
|
-
}
|
|
1127
1114
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1128
1115
|
questionnaireId: number;
|
|
1129
1116
|
userId?: number;
|
|
@@ -1140,6 +1127,19 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1140
1127
|
sports: number | null;
|
|
1141
1128
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
1129
|
}
|
|
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
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1144
|
entityType: ResourceNameTypeEnum;
|
|
1145
1145
|
entityId: number;
|
|
@@ -1876,6 +1876,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1876
1876
|
durationDays?: number;
|
|
1877
1877
|
level?: ProductPackageLevelEnum;
|
|
1878
1878
|
}
|
|
1879
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1880
|
+
productId: number;
|
|
1881
|
+
maxMonths?: number;
|
|
1882
|
+
dayOfMonth?: number;
|
|
1883
|
+
name: string;
|
|
1884
|
+
deletedAt?: Date;
|
|
1885
|
+
schedule: PaymentPlanSchedule[];
|
|
1886
|
+
product?: Product;
|
|
1887
|
+
}
|
|
1879
1888
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1880
1889
|
productId: number;
|
|
1881
1890
|
resourceId: number;
|
|
@@ -1887,15 +1896,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1887
1896
|
productPackages: ProductPackage[];
|
|
1888
1897
|
resourceName?: string;
|
|
1889
1898
|
}
|
|
1890
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1891
|
-
productId: number;
|
|
1892
|
-
maxMonths?: number;
|
|
1893
|
-
dayOfMonth?: number;
|
|
1894
|
-
name: string;
|
|
1895
|
-
deletedAt?: Date;
|
|
1896
|
-
schedule: PaymentPlanSchedule[];
|
|
1897
|
-
product?: Product;
|
|
1898
|
-
}
|
|
1899
1899
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1900
1900
|
productId: number;
|
|
1901
1901
|
variantTitleId: number;
|
|
@@ -2012,6 +2012,24 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2012
2012
|
facility: Facility;
|
|
2013
2013
|
purchasedResources: PurchasedResource[];
|
|
2014
2014
|
}
|
|
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
|
+
}
|
|
2015
2033
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2016
2034
|
productUserId: number;
|
|
2017
2035
|
resourceId: number;
|
|
@@ -2034,24 +2052,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2034
2052
|
product?: Product;
|
|
2035
2053
|
event?: Event;
|
|
2036
2054
|
}
|
|
2037
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2038
|
-
title: string | null;
|
|
2039
|
-
answerTitle: AnswerTitle;
|
|
2040
|
-
}
|
|
2041
|
-
export declare class Questions extends BondBaseEntity {
|
|
2042
|
-
questionType: string | null;
|
|
2043
|
-
ordinal: number | null;
|
|
2044
|
-
pageOrdinal: number | null;
|
|
2045
|
-
isActive: boolean | null;
|
|
2046
|
-
isMandatory: boolean | null;
|
|
2047
|
-
metaData: any | null;
|
|
2048
|
-
question: string | null;
|
|
2049
|
-
creatorId: number | null;
|
|
2050
|
-
creatorType: string | null;
|
|
2051
|
-
userCreatorId: number | null;
|
|
2052
|
-
ownerId: number | null;
|
|
2053
|
-
questionnaireId: number | null;
|
|
2054
|
-
}
|
|
2055
2055
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
2056
|
reason: string;
|
|
2057
2057
|
ordinal: number;
|
|
@@ -2100,6 +2100,13 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2100
2100
|
publicNotes?: string;
|
|
2101
2101
|
slots?: Slot[];
|
|
2102
2102
|
}
|
|
2103
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2104
|
+
name: string;
|
|
2105
|
+
facilityId: number;
|
|
2106
|
+
parentSlotId: number;
|
|
2107
|
+
childrenSlotIds: number[];
|
|
2108
|
+
deletedAt?: Date;
|
|
2109
|
+
}
|
|
2103
2110
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2104
2111
|
name: string;
|
|
2105
2112
|
resourceType: ResourceTypeEnum;
|
|
@@ -2128,13 +2135,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2128
2135
|
purchasedResources: PurchasedResource[];
|
|
2129
2136
|
linkSEO: string;
|
|
2130
2137
|
}
|
|
2131
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
|
-
name: string;
|
|
2133
|
-
facilityId: number;
|
|
2134
|
-
parentSlotId: number;
|
|
2135
|
-
childrenSlotIds: number[];
|
|
2136
|
-
deletedAt?: Date;
|
|
2137
|
-
}
|
|
2138
2138
|
export declare class School extends BondBaseEntity {
|
|
2139
2139
|
name: string | null;
|
|
2140
2140
|
alias: string[] | null;
|
|
@@ -2262,6 +2262,15 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2262
2262
|
tokenExpirationDate: Date;
|
|
2263
2263
|
isUsed: boolean;
|
|
2264
2264
|
}
|
|
2265
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2266
|
+
teamId: number | null;
|
|
2267
|
+
userId: number | null;
|
|
2268
|
+
paymentId: number | null;
|
|
2269
|
+
hasPaid: boolean | null;
|
|
2270
|
+
status: TeamMemberStatusEnum | null;
|
|
2271
|
+
role: TeamMemberRoleEnum;
|
|
2272
|
+
user: User;
|
|
2273
|
+
}
|
|
2265
2274
|
export declare class User extends BondBaseEntity {
|
|
2266
2275
|
firstName: string | null;
|
|
2267
2276
|
lastName: string | null;
|
|
@@ -2301,15 +2310,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2301
2310
|
orderNotes: OrderNote[];
|
|
2302
2311
|
invoiceNotes: InvoiceNote[];
|
|
2303
2312
|
}
|
|
2304
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2305
|
-
teamId: number | null;
|
|
2306
|
-
userId: number | null;
|
|
2307
|
-
paymentId: number | null;
|
|
2308
|
-
hasPaid: boolean | null;
|
|
2309
|
-
status: TeamMemberStatusEnum | null;
|
|
2310
|
-
role: TeamMemberRoleEnum;
|
|
2311
|
-
user: User;
|
|
2312
|
-
}
|
|
2313
2313
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
2314
|
entityId: number | null;
|
|
2315
2315
|
userId: number | null;
|
|
@@ -3234,11 +3234,6 @@ export interface IReservationCreatorData {
|
|
|
3234
3234
|
endDate: string;
|
|
3235
3235
|
sportId: number;
|
|
3236
3236
|
}
|
|
3237
|
-
export declare class ColumnNumericTransformer {
|
|
3238
|
-
to(data: number): number;
|
|
3239
|
-
from(data: string): number;
|
|
3240
|
-
}
|
|
3241
|
-
export declare function convertToNumber(data: string): number;
|
|
3242
3237
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3243
3238
|
name?: string;
|
|
3244
3239
|
genderStr?: string;
|
|
@@ -3253,6 +3248,41 @@ export declare class AddFamilyDto {
|
|
|
3253
3248
|
parents: AddImportedCustomerDto[];
|
|
3254
3249
|
children: AddImportedCustomerDto[];
|
|
3255
3250
|
}
|
|
3251
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3252
|
+
CREDIT_CARD = "card",
|
|
3253
|
+
ACH = "ach",
|
|
3254
|
+
CASH = "cash",
|
|
3255
|
+
CHECK = "check",
|
|
3256
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3257
|
+
OTHER = "other"
|
|
3258
|
+
}
|
|
3259
|
+
export declare class ImportedInvoiceLineDto {
|
|
3260
|
+
invoiceID?: string;
|
|
3261
|
+
description: string;
|
|
3262
|
+
createdDate: string;
|
|
3263
|
+
createdTime: string;
|
|
3264
|
+
quantity: string;
|
|
3265
|
+
price: string;
|
|
3266
|
+
total: string;
|
|
3267
|
+
customerID: string;
|
|
3268
|
+
resourceType: string;
|
|
3269
|
+
resourceID: string;
|
|
3270
|
+
}
|
|
3271
|
+
export declare class ImportedInvoiceDto {
|
|
3272
|
+
customerId?: string;
|
|
3273
|
+
total?: string;
|
|
3274
|
+
amountDue?: string;
|
|
3275
|
+
payments?: ImportedPaymentDto[];
|
|
3276
|
+
lines: any;
|
|
3277
|
+
}
|
|
3278
|
+
export declare class ImportedPaymentDto {
|
|
3279
|
+
invoiceID: string;
|
|
3280
|
+
type: ImportPaymentTypeEnum;
|
|
3281
|
+
description: string;
|
|
3282
|
+
paid: string;
|
|
3283
|
+
date: string;
|
|
3284
|
+
time: string;
|
|
3285
|
+
}
|
|
3256
3286
|
export declare class ProductIdsDto {
|
|
3257
3287
|
productIds?: number[];
|
|
3258
3288
|
}
|
|
@@ -3320,41 +3350,11 @@ export declare class ImportedReservationDto {
|
|
|
3320
3350
|
slots?: ImportedSlotDto[];
|
|
3321
3351
|
addons?: ImportedSlotProductDto[];
|
|
3322
3352
|
}
|
|
3323
|
-
export declare
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
CASH = "cash",
|
|
3327
|
-
CHECK = "check",
|
|
3328
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3329
|
-
OTHER = "other"
|
|
3330
|
-
}
|
|
3331
|
-
export declare class ImportedInvoiceLineDto {
|
|
3332
|
-
invoiceID?: string;
|
|
3333
|
-
description: string;
|
|
3334
|
-
createdDate: string;
|
|
3335
|
-
createdTime: string;
|
|
3336
|
-
quantity: string;
|
|
3337
|
-
price: string;
|
|
3338
|
-
total: string;
|
|
3339
|
-
customerID: string;
|
|
3340
|
-
resourceType: string;
|
|
3341
|
-
resourceID: string;
|
|
3342
|
-
}
|
|
3343
|
-
export declare class ImportedInvoiceDto {
|
|
3344
|
-
customerId?: string;
|
|
3345
|
-
total?: string;
|
|
3346
|
-
amountDue?: string;
|
|
3347
|
-
payments?: ImportedPaymentDto[];
|
|
3348
|
-
lines: any;
|
|
3349
|
-
}
|
|
3350
|
-
export declare class ImportedPaymentDto {
|
|
3351
|
-
invoiceID: string;
|
|
3352
|
-
type: ImportPaymentTypeEnum;
|
|
3353
|
-
description: string;
|
|
3354
|
-
paid: string;
|
|
3355
|
-
date: string;
|
|
3356
|
-
time: string;
|
|
3353
|
+
export declare class ColumnNumericTransformer {
|
|
3354
|
+
to(data: number): number;
|
|
3355
|
+
from(data: string): number;
|
|
3357
3356
|
}
|
|
3357
|
+
export declare function convertToNumber(data: string): number;
|
|
3358
3358
|
export declare class GameSlots extends BondBaseEntity {
|
|
3359
3359
|
entityType: string;
|
|
3360
3360
|
entityId: number;
|
|
@@ -3474,6 +3474,38 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3474
3474
|
organisationId: number | null;
|
|
3475
3475
|
userId: number | null;
|
|
3476
3476
|
}
|
|
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
|
+
}
|
|
3477
3509
|
export declare class CustomerIdDto {
|
|
3478
3510
|
customerId: number;
|
|
3479
3511
|
}
|
|
@@ -3591,38 +3623,6 @@ export declare class SendRequestDto {
|
|
|
3591
3623
|
sendToEmail: string;
|
|
3592
3624
|
memo?: string;
|
|
3593
3625
|
}
|
|
3594
|
-
export declare class RefundDto {
|
|
3595
|
-
orderId: number;
|
|
3596
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3597
|
-
refundLineItemAmountDict?: {
|
|
3598
|
-
[id: number]: number;
|
|
3599
|
-
};
|
|
3600
|
-
refunds: PaymentMethodDto[];
|
|
3601
|
-
refundType: RefundTypeEnum;
|
|
3602
|
-
reasonId: number;
|
|
3603
|
-
note?: string;
|
|
3604
|
-
shiftId?: number;
|
|
3605
|
-
meta?: RevertMetaDto;
|
|
3606
|
-
}
|
|
3607
|
-
export declare class PaymentMethodDto {
|
|
3608
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3609
|
-
amount: number;
|
|
3610
|
-
paymentMethodId?: string;
|
|
3611
|
-
}
|
|
3612
|
-
export declare class RefundLineItemAmountDto {
|
|
3613
|
-
id: number;
|
|
3614
|
-
refundAmount: number;
|
|
3615
|
-
}
|
|
3616
|
-
export declare class VoidDto {
|
|
3617
|
-
lineItems: VoidLineItemDto[];
|
|
3618
|
-
meta?: RevertMetaDto;
|
|
3619
|
-
}
|
|
3620
|
-
export declare class VoidLineItemDto {
|
|
3621
|
-
id: number;
|
|
3622
|
-
quantity?: number;
|
|
3623
|
-
isEdit?: boolean;
|
|
3624
|
-
amount?: number;
|
|
3625
|
-
}
|
|
3626
3626
|
export declare class LineItemDto {
|
|
3627
3627
|
id?: number;
|
|
3628
3628
|
orderId?: number;
|
|
@@ -4141,6 +4141,12 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4141
4141
|
export declare class CreateRoleDto {
|
|
4142
4142
|
name: string;
|
|
4143
4143
|
}
|
|
4144
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4145
|
+
name: string;
|
|
4146
|
+
deletedAt?: Date;
|
|
4147
|
+
permissions: Permission[];
|
|
4148
|
+
usersRoles: UserRole[];
|
|
4149
|
+
}
|
|
4144
4150
|
export declare class Permission extends BondBaseEntity {
|
|
4145
4151
|
name: string;
|
|
4146
4152
|
deletedAt?: Date;
|
|
@@ -4152,11 +4158,8 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4152
4158
|
role: Role;
|
|
4153
4159
|
user: User;
|
|
4154
4160
|
}
|
|
4155
|
-
export declare class
|
|
4156
|
-
|
|
4157
|
-
deletedAt?: Date;
|
|
4158
|
-
permissions: Permission[];
|
|
4159
|
-
usersRoles: UserRole[];
|
|
4161
|
+
export declare class CloseShiftDto {
|
|
4162
|
+
closingCashAmount: number;
|
|
4160
4163
|
}
|
|
4161
4164
|
export declare class FindShiftsByIdsDto {
|
|
4162
4165
|
shiftIds: number[];
|
|
@@ -4181,9 +4184,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4181
4184
|
startDate?: Date;
|
|
4182
4185
|
endDate?: Date;
|
|
4183
4186
|
}
|
|
4184
|
-
export declare class CloseShiftDto {
|
|
4185
|
-
closingCashAmount: number;
|
|
4186
|
-
}
|
|
4187
4187
|
export declare class ShiftManagementClosingAmount {
|
|
4188
4188
|
shiftId: number;
|
|
4189
4189
|
managementClosingCashAmount: number;
|