@bondsports/types 0.0.88 → 0.0.91
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 +331 -331
- 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
|
@@ -186,38 +186,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
186
|
isWaiverSigned?: string;
|
|
187
187
|
statuses?: string;
|
|
188
188
|
}
|
|
189
|
-
export declare class FindFamilyAccountsDto {
|
|
190
|
-
userId: number;
|
|
191
|
-
}
|
|
192
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
193
|
-
customerId: number;
|
|
194
|
-
organizationId: number;
|
|
195
|
-
}
|
|
196
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
197
|
-
familyAccountId: number;
|
|
198
|
-
}
|
|
199
|
-
export declare class CreateFamilyAccountDto {
|
|
200
|
-
familyName: string;
|
|
201
|
-
userId: number;
|
|
202
|
-
}
|
|
203
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
204
|
-
familyName: string;
|
|
205
|
-
familyAccountId: number;
|
|
206
|
-
}
|
|
207
|
-
export declare class AddUserToFamilyAccountDto {
|
|
208
|
-
familyAccountId: number;
|
|
209
|
-
isUserAdmin: boolean;
|
|
210
|
-
firstName: string;
|
|
211
|
-
lastName: string;
|
|
212
|
-
gender: GenderEnum;
|
|
213
|
-
birthDate: string;
|
|
214
|
-
sports?: number[];
|
|
215
|
-
email?: string;
|
|
216
|
-
}
|
|
217
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
218
|
-
userId: number;
|
|
219
|
-
familyAccountId: number;
|
|
220
|
-
}
|
|
221
189
|
export declare class AddressDto {
|
|
222
190
|
city: string;
|
|
223
191
|
state: string;
|
|
@@ -261,6 +229,38 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
261
229
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
262
230
|
nameSearch?: string;
|
|
263
231
|
}
|
|
232
|
+
export declare class FindFamilyAccountsDto {
|
|
233
|
+
userId: number;
|
|
234
|
+
}
|
|
235
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
+
customerId: number;
|
|
237
|
+
organizationId: number;
|
|
238
|
+
}
|
|
239
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
+
familyAccountId: number;
|
|
241
|
+
}
|
|
242
|
+
export declare class CreateFamilyAccountDto {
|
|
243
|
+
familyName: string;
|
|
244
|
+
userId: number;
|
|
245
|
+
}
|
|
246
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
+
familyName: string;
|
|
248
|
+
familyAccountId: number;
|
|
249
|
+
}
|
|
250
|
+
export declare class AddUserToFamilyAccountDto {
|
|
251
|
+
familyAccountId: number;
|
|
252
|
+
isUserAdmin: boolean;
|
|
253
|
+
firstName: string;
|
|
254
|
+
lastName: string;
|
|
255
|
+
gender: GenderEnum;
|
|
256
|
+
birthDate: string;
|
|
257
|
+
sports?: number[];
|
|
258
|
+
email?: string;
|
|
259
|
+
}
|
|
260
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
+
userId: number;
|
|
262
|
+
familyAccountId: number;
|
|
263
|
+
}
|
|
264
264
|
export declare class FindOneParams {
|
|
265
265
|
id: number;
|
|
266
266
|
}
|
|
@@ -1114,6 +1114,19 @@ export declare class Address extends BondBaseEntity {
|
|
|
1114
1114
|
geo: any;
|
|
1115
1115
|
deletedAt?: Date;
|
|
1116
1116
|
}
|
|
1117
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1118
|
+
questionId: number;
|
|
1119
|
+
question?: Questions;
|
|
1120
|
+
parentId: number;
|
|
1121
|
+
parentType: ResourceNameTypeEnum;
|
|
1122
|
+
answerValue: any;
|
|
1123
|
+
creatorId: number;
|
|
1124
|
+
creatorType: ResourceNameTypeEnum;
|
|
1125
|
+
answerTitleId: number;
|
|
1126
|
+
answerTitle: AnswerTitle;
|
|
1127
|
+
metaData: any | null;
|
|
1128
|
+
questionText: string | null;
|
|
1129
|
+
}
|
|
1117
1130
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1118
1131
|
questionnaireId: number;
|
|
1119
1132
|
userId?: number;
|
|
@@ -1161,19 +1174,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1161
1174
|
publicNotes?: string;
|
|
1162
1175
|
slotType?: SlotTypeEnum;
|
|
1163
1176
|
}
|
|
1164
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1165
|
-
questionId: number;
|
|
1166
|
-
question?: Questions;
|
|
1167
|
-
parentId: number;
|
|
1168
|
-
parentType: ResourceNameTypeEnum;
|
|
1169
|
-
answerValue: any;
|
|
1170
|
-
creatorId: number;
|
|
1171
|
-
creatorType: ResourceNameTypeEnum;
|
|
1172
|
-
answerTitleId: number;
|
|
1173
|
-
answerTitle: AnswerTitle;
|
|
1174
|
-
metaData: any | null;
|
|
1175
|
-
questionText: string | null;
|
|
1176
|
-
}
|
|
1177
1177
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1178
1178
|
parentId: number;
|
|
1179
1179
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1388,6 +1388,25 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1388
1388
|
plannedDate: Date;
|
|
1389
1389
|
chargedAt?: Date;
|
|
1390
1390
|
}
|
|
1391
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1392
|
+
code: string;
|
|
1393
|
+
}
|
|
1394
|
+
export declare class Group extends BondBaseEntity {
|
|
1395
|
+
name: string;
|
|
1396
|
+
description?: string;
|
|
1397
|
+
status: GroupStatusEnum;
|
|
1398
|
+
maxCapacity?: number;
|
|
1399
|
+
mainMediaId?: number;
|
|
1400
|
+
minAgeYears?: number;
|
|
1401
|
+
maxAgeYears?: number;
|
|
1402
|
+
gender: GenderEnum;
|
|
1403
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1404
|
+
sports: SportsEnum[];
|
|
1405
|
+
questionnaires?: number[];
|
|
1406
|
+
captainUserId?: number;
|
|
1407
|
+
members: ISeasonAttendeeInfo[];
|
|
1408
|
+
users: User[];
|
|
1409
|
+
}
|
|
1391
1410
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1392
1411
|
groupId: number;
|
|
1393
1412
|
itemId: number;
|
|
@@ -2196,8 +2215,13 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2196
2215
|
station: Station;
|
|
2197
2216
|
subcategory: Subcategory;
|
|
2198
2217
|
}
|
|
2199
|
-
export declare class
|
|
2200
|
-
|
|
2218
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2219
|
+
productType: ProductTypesEnum;
|
|
2220
|
+
name: string;
|
|
2221
|
+
ordinal?: number;
|
|
2222
|
+
deletedAt?: Date;
|
|
2223
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2224
|
+
stations: Station[];
|
|
2201
2225
|
}
|
|
2202
2226
|
export declare class Team extends BondBaseEntity {
|
|
2203
2227
|
name: string | null;
|
|
@@ -2327,22 +2351,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2327
2351
|
membershipCollectionId?: string;
|
|
2328
2352
|
programsCollectionId?: string;
|
|
2329
2353
|
}
|
|
2330
|
-
export declare class Group extends BondBaseEntity {
|
|
2331
|
-
name: string;
|
|
2332
|
-
description?: string;
|
|
2333
|
-
status: GroupStatusEnum;
|
|
2334
|
-
maxCapacity?: number;
|
|
2335
|
-
mainMediaId?: number;
|
|
2336
|
-
minAgeYears?: number;
|
|
2337
|
-
maxAgeYears?: number;
|
|
2338
|
-
gender: GenderEnum;
|
|
2339
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
2340
|
-
sports: SportsEnum[];
|
|
2341
|
-
questionnaires?: number[];
|
|
2342
|
-
captainUserId?: number;
|
|
2343
|
-
members: ISeasonAttendeeInfo[];
|
|
2344
|
-
users: User[];
|
|
2345
|
-
}
|
|
2346
2354
|
export declare enum EntitlementTermsTypesEnum {
|
|
2347
2355
|
QUESTION = "question",
|
|
2348
2356
|
CITY = "city",
|
|
@@ -3230,19 +3238,6 @@ export interface IReservationCreatorData {
|
|
|
3230
3238
|
endDate: string;
|
|
3231
3239
|
sportId: number;
|
|
3232
3240
|
}
|
|
3233
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
3234
|
-
productType: ProductTypesEnum;
|
|
3235
|
-
name: string;
|
|
3236
|
-
ordinal?: number;
|
|
3237
|
-
deletedAt?: Date;
|
|
3238
|
-
stationToSubcategories: StationToSubcategory[];
|
|
3239
|
-
stations: Station[];
|
|
3240
|
-
}
|
|
3241
|
-
export declare class ColumnNumericTransformer {
|
|
3242
|
-
to(data: number): number;
|
|
3243
|
-
from(data: string): number;
|
|
3244
|
-
}
|
|
3245
|
-
export declare function convertToNumber(data: string): number;
|
|
3246
3241
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3247
3242
|
name?: string;
|
|
3248
3243
|
genderStr?: string;
|
|
@@ -3292,15 +3287,6 @@ export declare class ImportedPaymentDto {
|
|
|
3292
3287
|
date: string;
|
|
3293
3288
|
time: string;
|
|
3294
3289
|
}
|
|
3295
|
-
export declare class ProductIdsDto {
|
|
3296
|
-
productIds?: number[];
|
|
3297
|
-
}
|
|
3298
|
-
export declare class ProductImportDto {
|
|
3299
|
-
product: Product;
|
|
3300
|
-
prices: Price[];
|
|
3301
|
-
resourceIds: number[];
|
|
3302
|
-
oldId: number;
|
|
3303
|
-
}
|
|
3304
3290
|
export declare class PunchPassDto {
|
|
3305
3291
|
CustomerID: string;
|
|
3306
3292
|
QuantityLeft: number;
|
|
@@ -3359,9 +3345,18 @@ export declare class ImportedReservationDto {
|
|
|
3359
3345
|
slots?: ImportedSlotDto[];
|
|
3360
3346
|
addons?: ImportedSlotProductDto[];
|
|
3361
3347
|
}
|
|
3362
|
-
export declare class
|
|
3363
|
-
|
|
3364
|
-
|
|
3348
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3349
|
+
entityType: string;
|
|
3350
|
+
entityId: number;
|
|
3351
|
+
}
|
|
3352
|
+
export declare class ProductIdsDto {
|
|
3353
|
+
productIds?: number[];
|
|
3354
|
+
}
|
|
3355
|
+
export declare class ProductImportDto {
|
|
3356
|
+
product: Product;
|
|
3357
|
+
prices: Price[];
|
|
3358
|
+
resourceIds: number[];
|
|
3359
|
+
oldId: number;
|
|
3365
3360
|
}
|
|
3366
3361
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
3362
|
matchId: number | null;
|
|
@@ -3395,6 +3390,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3395
3390
|
eventId: number | null;
|
|
3396
3391
|
status: number | null;
|
|
3397
3392
|
}
|
|
3393
|
+
export declare class Lock extends BondBaseEntity {
|
|
3394
|
+
name: string;
|
|
3395
|
+
locked?: Date;
|
|
3396
|
+
}
|
|
3398
3397
|
export interface ValidatedMonthAndDay {
|
|
3399
3398
|
valid: boolean;
|
|
3400
3399
|
month?: number;
|
|
@@ -3416,10 +3415,6 @@ export interface PaymentStatusesDict {
|
|
|
3416
3415
|
export interface PaymentStatusDict {
|
|
3417
3416
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3418
3417
|
}
|
|
3419
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3420
|
-
entityType: string;
|
|
3421
|
-
entityId: number;
|
|
3422
|
-
}
|
|
3423
3418
|
export declare class CreateMonitorConfigDto {
|
|
3424
3419
|
facilityId: number;
|
|
3425
3420
|
name: string;
|
|
@@ -3431,12 +3426,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3431
3426
|
code: string;
|
|
3432
3427
|
config?: any;
|
|
3433
3428
|
}
|
|
3434
|
-
export declare class ByOrganizationIdDto {
|
|
3435
|
-
organizationId: number;
|
|
3436
|
-
}
|
|
3437
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
-
organizationId?: number;
|
|
3439
|
-
}
|
|
3440
3429
|
export declare class Organization extends BondBaseEntity {
|
|
3441
3430
|
name: string | null;
|
|
3442
3431
|
email: string | null;
|
|
@@ -3492,6 +3481,12 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3492
3481
|
version: number;
|
|
3493
3482
|
organization: Organization;
|
|
3494
3483
|
}
|
|
3484
|
+
export declare class ByOrganizationIdDto {
|
|
3485
|
+
organizationId: number;
|
|
3486
|
+
}
|
|
3487
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3488
|
+
organizationId?: number;
|
|
3489
|
+
}
|
|
3495
3490
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3496
3491
|
mainAdminUserId?: number;
|
|
3497
3492
|
}
|
|
@@ -3720,6 +3715,47 @@ export declare class MaintenanceDto {
|
|
|
3720
3715
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3721
3716
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3722
3717
|
}
|
|
3718
|
+
export declare class OrderDto {
|
|
3719
|
+
orderId?: string | null;
|
|
3720
|
+
organizationId: number;
|
|
3721
|
+
price: number | null;
|
|
3722
|
+
totalTax?: number;
|
|
3723
|
+
totalWithoutTax?: number;
|
|
3724
|
+
status?: OrderStatusEnum;
|
|
3725
|
+
lineItems: LineItemDto[];
|
|
3726
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3727
|
+
currency: CurrencyEnum;
|
|
3728
|
+
creatingUserId?: number;
|
|
3729
|
+
platform?: PlatformsEnum;
|
|
3730
|
+
}
|
|
3731
|
+
export declare class BaseInvoiceDto {
|
|
3732
|
+
platform: PlatformsEnum;
|
|
3733
|
+
shiftId?: number;
|
|
3734
|
+
}
|
|
3735
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3736
|
+
purchasingUserId: number;
|
|
3737
|
+
slots: number[];
|
|
3738
|
+
}
|
|
3739
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3740
|
+
reservationTotalPrice: number;
|
|
3741
|
+
}
|
|
3742
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3743
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3744
|
+
addToOrderId?: number;
|
|
3745
|
+
}
|
|
3746
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3747
|
+
isInvoiced: boolean;
|
|
3748
|
+
}
|
|
3749
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3750
|
+
slotsIds?: number[];
|
|
3751
|
+
addonsIds?: number[];
|
|
3752
|
+
}
|
|
3753
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3754
|
+
slots: SlotDto[];
|
|
3755
|
+
}
|
|
3756
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3757
|
+
segments: SegmentDto[];
|
|
3758
|
+
}
|
|
3723
3759
|
export declare class PurchasedResourceDto {
|
|
3724
3760
|
resourceId?: number;
|
|
3725
3761
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3906,72 +3942,11 @@ export declare class SeriesDto {
|
|
|
3906
3942
|
maintenance?: MaintenanceDto[];
|
|
3907
3943
|
slots?: SlotDto[];
|
|
3908
3944
|
}
|
|
3909
|
-
declare class
|
|
3910
|
-
questionId: number;
|
|
3911
|
-
value: any;
|
|
3912
|
-
}
|
|
3913
|
-
export declare class BookedSessionDto {
|
|
3945
|
+
export declare class SlotDateTimeAndSpace {
|
|
3914
3946
|
startDate: string;
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
}
|
|
3919
|
-
declare class AddonDto {
|
|
3920
|
-
resourcePackageId: number;
|
|
3921
|
-
resourcePackageAmount: number;
|
|
3922
|
-
resourcePackagePrice: number;
|
|
3923
|
-
}
|
|
3924
|
-
export declare class ReservationV1Dto {
|
|
3925
|
-
organizationId: number;
|
|
3926
|
-
name: string;
|
|
3927
|
-
dayOfWeek: number;
|
|
3928
|
-
startTime: string;
|
|
3929
|
-
description: string;
|
|
3930
|
-
sport: number;
|
|
3931
|
-
price: number;
|
|
3932
|
-
resourcePackageId: number;
|
|
3933
|
-
resourcePackageAmount: number;
|
|
3934
|
-
bookedSessions: BookedSessionDto[];
|
|
3935
|
-
addons: AddonDto[];
|
|
3936
|
-
}
|
|
3937
|
-
export declare class BookingV1Dto {
|
|
3938
|
-
organizationId: number;
|
|
3939
|
-
reservations: ReservationV1Dto[];
|
|
3940
|
-
answers: AnswerDto[];
|
|
3941
|
-
paymentData: PurchasePaymentDto;
|
|
3942
|
-
skipPayment: boolean;
|
|
3943
|
-
cashPayment: boolean;
|
|
3944
|
-
requestOnly: boolean;
|
|
3945
|
-
}
|
|
3946
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3947
|
-
parentId: number;
|
|
3948
|
-
parentType: AddonParentTypeEnum;
|
|
3949
|
-
productId: number;
|
|
3950
|
-
product?: Product;
|
|
3951
|
-
quantity: number;
|
|
3952
|
-
unitPrice: number;
|
|
3953
|
-
totalPrice: number;
|
|
3954
|
-
approvalStatus: ReservationStatusEnum;
|
|
3955
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3956
|
-
level?: ProductPackageLevelEnum;
|
|
3957
|
-
resourceId?: number;
|
|
3958
|
-
resource?: Resource;
|
|
3959
|
-
orderId?: number;
|
|
3960
|
-
order?: Order;
|
|
3961
|
-
productUserId?: number;
|
|
3962
|
-
productUser?: ProductsUsers;
|
|
3963
|
-
}
|
|
3964
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3965
|
-
deletedAt?: Date;
|
|
3966
|
-
reservationId: number;
|
|
3967
|
-
invoiceId: number;
|
|
3968
|
-
slotId: number;
|
|
3969
|
-
}
|
|
3970
|
-
export declare class SlotDateTimeAndSpace {
|
|
3971
|
-
startDate: string;
|
|
3972
|
-
startTime?: string;
|
|
3973
|
-
endDate?: string;
|
|
3974
|
-
endTime?: string;
|
|
3947
|
+
startTime?: string;
|
|
3948
|
+
endDate?: string;
|
|
3949
|
+
endTime?: string;
|
|
3975
3950
|
spaceId: number;
|
|
3976
3951
|
}
|
|
3977
3952
|
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
@@ -4030,138 +4005,42 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
4030
4005
|
slotDurationType: SlotDurationTypeEnum;
|
|
4031
4006
|
addonsIds?: number[];
|
|
4032
4007
|
}
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4037
|
-
privacySetting?: string;
|
|
4038
|
-
reservationType?: ReservationTypeEnum;
|
|
4039
|
-
orderId?: string;
|
|
4040
|
-
customerId?: number;
|
|
4041
|
-
customer?: Customer;
|
|
4042
|
-
price?: number;
|
|
4043
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4044
|
-
startTime?: string;
|
|
4045
|
-
startDate?: Date;
|
|
4046
|
-
endDate?: Date;
|
|
4047
|
-
creatorId?: number;
|
|
4048
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4049
|
-
userCreatorId?: number;
|
|
4050
|
-
sportType?: number;
|
|
4051
|
-
deletedAt?: Date;
|
|
4052
|
-
publicNotes?: string;
|
|
4053
|
-
privateNotes?: string;
|
|
4054
|
-
forms?: number[] | null;
|
|
4055
|
-
answerTitleIds?: number[] | null;
|
|
4056
|
-
segments?: Segment[];
|
|
4057
|
-
migrationStatus?: string;
|
|
4058
|
-
addons: Addon[];
|
|
4059
|
-
overrideProductsPrice: {
|
|
4060
|
-
productId: number;
|
|
4061
|
-
price: number;
|
|
4062
|
-
}[];
|
|
4063
|
-
targetGlobalPrice?: number;
|
|
4064
|
-
slots: Slot[];
|
|
4008
|
+
declare class AnswerDto {
|
|
4009
|
+
questionId: number;
|
|
4010
|
+
value: any;
|
|
4065
4011
|
}
|
|
4066
|
-
export declare class
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
resourceIds?: number[];
|
|
4072
|
-
sportId: number;
|
|
4073
|
-
reservation?: Reservation;
|
|
4074
|
-
series?: Series[];
|
|
4075
|
-
addonIds?: number[] | null;
|
|
4076
|
-
publicNotesForSlots?: string;
|
|
4077
|
-
privateNotesForSlots?: string;
|
|
4078
|
-
slots?: Slot[];
|
|
4012
|
+
export declare class BookedSessionDto {
|
|
4013
|
+
startDate: string;
|
|
4014
|
+
endDate: string;
|
|
4015
|
+
timezone: string;
|
|
4016
|
+
spaceId: number;
|
|
4079
4017
|
}
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
slots?: Slot[];
|
|
4085
|
-
slotDurationType: string;
|
|
4086
|
-
durationEndsAfter: number;
|
|
4087
|
-
durationUnit: string;
|
|
4088
|
-
startDate?: Date;
|
|
4089
|
-
endDate?: Date;
|
|
4090
|
-
startTime: string;
|
|
4091
|
-
endTime: string;
|
|
4092
|
-
frequency: string;
|
|
4093
|
-
repeatEvery: number;
|
|
4094
|
-
repeatOn?: number[];
|
|
4095
|
-
repeatEndDate?: Date;
|
|
4096
|
-
numberOccurrences?: number;
|
|
4097
|
-
resources?: Resource[];
|
|
4018
|
+
declare class AddonDto {
|
|
4019
|
+
resourcePackageId: number;
|
|
4020
|
+
resourcePackageAmount: number;
|
|
4021
|
+
resourcePackagePrice: number;
|
|
4098
4022
|
}
|
|
4099
|
-
export declare class
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
reservationId: number;
|
|
4104
|
-
reservation: Reservation;
|
|
4105
|
-
title?: string;
|
|
4106
|
-
creatorId?: number;
|
|
4107
|
-
creatorType?: string;
|
|
4108
|
-
userCreatorId?: number;
|
|
4109
|
-
startDate: Date;
|
|
4110
|
-
endDate: Date;
|
|
4023
|
+
export declare class ReservationV1Dto {
|
|
4024
|
+
organizationId: number;
|
|
4025
|
+
name: string;
|
|
4026
|
+
dayOfWeek: number;
|
|
4111
4027
|
startTime: string;
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
quantity: number;
|
|
4129
|
-
unitPrice: number;
|
|
4130
|
-
totalPrice: number;
|
|
4131
|
-
}[];
|
|
4132
|
-
segmentId: number;
|
|
4133
|
-
segment: Segment;
|
|
4134
|
-
eventId: number;
|
|
4135
|
-
event: Event;
|
|
4136
|
-
sportIds: number[];
|
|
4137
|
-
parentSlotId?: number;
|
|
4138
|
-
maintenanceDurationdurationType: string;
|
|
4139
|
-
maintenanceTiming: number;
|
|
4140
|
-
durationValue: number;
|
|
4141
|
-
seriesId?: number;
|
|
4142
|
-
series?: Series;
|
|
4143
|
-
orderId?: number;
|
|
4144
|
-
order?: Order;
|
|
4145
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4146
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4147
|
-
displayName?: string;
|
|
4148
|
-
internalName?: string;
|
|
4149
|
-
activityTypes?: number[] | null;
|
|
4150
|
-
hourlyRate: number;
|
|
4151
|
-
totalPrice: number;
|
|
4152
|
-
isConsumerVisible: boolean;
|
|
4153
|
-
isMonitorVisible: boolean;
|
|
4154
|
-
isPrivate: boolean;
|
|
4155
|
-
occurrence?: number;
|
|
4156
|
-
maintenance?: Slot[];
|
|
4157
|
-
productMetadata: {
|
|
4158
|
-
productId: number;
|
|
4159
|
-
price: number;
|
|
4160
|
-
};
|
|
4161
|
-
slotDurationType: string;
|
|
4162
|
-
changeLineItemIds?: number[];
|
|
4163
|
-
changeLineItems?: LineItems[];
|
|
4164
|
-
updatedLineItem?: LineItems;
|
|
4028
|
+
description: string;
|
|
4029
|
+
sport: number;
|
|
4030
|
+
price: number;
|
|
4031
|
+
resourcePackageId: number;
|
|
4032
|
+
resourcePackageAmount: number;
|
|
4033
|
+
bookedSessions: BookedSessionDto[];
|
|
4034
|
+
addons: AddonDto[];
|
|
4035
|
+
}
|
|
4036
|
+
export declare class BookingV1Dto {
|
|
4037
|
+
organizationId: number;
|
|
4038
|
+
reservations: ReservationV1Dto[];
|
|
4039
|
+
answers: AnswerDto[];
|
|
4040
|
+
paymentData: PurchasePaymentDto;
|
|
4041
|
+
skipPayment: boolean;
|
|
4042
|
+
cashPayment: boolean;
|
|
4043
|
+
requestOnly: boolean;
|
|
4165
4044
|
}
|
|
4166
4045
|
export declare type TSlotAndType = {
|
|
4167
4046
|
type: 'slots' | 'slot_addons';
|
|
@@ -4406,6 +4285,150 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4406
4285
|
role: Role;
|
|
4407
4286
|
user: User;
|
|
4408
4287
|
}
|
|
4288
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4289
|
+
deletedAt?: Date;
|
|
4290
|
+
reservationId: number;
|
|
4291
|
+
invoiceId: number;
|
|
4292
|
+
slotId: number;
|
|
4293
|
+
}
|
|
4294
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4295
|
+
name?: string;
|
|
4296
|
+
description?: string;
|
|
4297
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4298
|
+
privacySetting?: string;
|
|
4299
|
+
reservationType?: ReservationTypeEnum;
|
|
4300
|
+
orderId?: string;
|
|
4301
|
+
customerId?: number;
|
|
4302
|
+
customer?: Customer;
|
|
4303
|
+
price?: number;
|
|
4304
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4305
|
+
startTime?: string;
|
|
4306
|
+
startDate?: Date;
|
|
4307
|
+
endDate?: Date;
|
|
4308
|
+
creatorId?: number;
|
|
4309
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4310
|
+
userCreatorId?: number;
|
|
4311
|
+
sportType?: number;
|
|
4312
|
+
deletedAt?: Date;
|
|
4313
|
+
publicNotes?: string;
|
|
4314
|
+
privateNotes?: string;
|
|
4315
|
+
forms?: number[] | null;
|
|
4316
|
+
answerTitleIds?: number[] | null;
|
|
4317
|
+
segments?: Segment[];
|
|
4318
|
+
migrationStatus?: string;
|
|
4319
|
+
addons: Addon[];
|
|
4320
|
+
overrideProductsPrice: {
|
|
4321
|
+
productId: number;
|
|
4322
|
+
price: number;
|
|
4323
|
+
}[];
|
|
4324
|
+
targetGlobalPrice?: number;
|
|
4325
|
+
slots: Slot[];
|
|
4326
|
+
}
|
|
4327
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4328
|
+
deletedAt?: Date;
|
|
4329
|
+
reservationId: number;
|
|
4330
|
+
title: string;
|
|
4331
|
+
isPrivate: boolean;
|
|
4332
|
+
resourceIds?: number[];
|
|
4333
|
+
sportId: number;
|
|
4334
|
+
reservation?: Reservation;
|
|
4335
|
+
series?: Series[];
|
|
4336
|
+
addonIds?: number[] | null;
|
|
4337
|
+
publicNotesForSlots?: string;
|
|
4338
|
+
privateNotesForSlots?: string;
|
|
4339
|
+
slots?: Slot[];
|
|
4340
|
+
}
|
|
4341
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4342
|
+
deletedAt?: Date;
|
|
4343
|
+
segmentId: number;
|
|
4344
|
+
segment?: Segment;
|
|
4345
|
+
slots?: Slot[];
|
|
4346
|
+
slotDurationType: string;
|
|
4347
|
+
durationEndsAfter: number;
|
|
4348
|
+
durationUnit: string;
|
|
4349
|
+
startDate?: Date;
|
|
4350
|
+
endDate?: Date;
|
|
4351
|
+
startTime: string;
|
|
4352
|
+
endTime: string;
|
|
4353
|
+
frequency: string;
|
|
4354
|
+
repeatEvery: number;
|
|
4355
|
+
repeatOn?: number[];
|
|
4356
|
+
repeatEndDate?: Date;
|
|
4357
|
+
numberOccurrences?: number;
|
|
4358
|
+
resources?: Resource[];
|
|
4359
|
+
}
|
|
4360
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4361
|
+
constructor();
|
|
4362
|
+
defineIsReverted(): void;
|
|
4363
|
+
isReverted: boolean;
|
|
4364
|
+
reservationId: number;
|
|
4365
|
+
reservation: Reservation;
|
|
4366
|
+
title?: string;
|
|
4367
|
+
creatorId?: number;
|
|
4368
|
+
creatorType?: string;
|
|
4369
|
+
userCreatorId?: number;
|
|
4370
|
+
startDate: Date;
|
|
4371
|
+
endDate: Date;
|
|
4372
|
+
startTime: string;
|
|
4373
|
+
endTime: string;
|
|
4374
|
+
timezone?: string;
|
|
4375
|
+
spaceId?: number;
|
|
4376
|
+
resource?: Resource;
|
|
4377
|
+
deletedAt?: Date;
|
|
4378
|
+
publicNotes?: string;
|
|
4379
|
+
privateNotes?: string;
|
|
4380
|
+
slotType: SlotTypeEnum;
|
|
4381
|
+
productsUserId?: number;
|
|
4382
|
+
productUser?: ProductsUsers;
|
|
4383
|
+
product?: Product;
|
|
4384
|
+
addonsProductUserIds?: number[] | null;
|
|
4385
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4386
|
+
addonProducts?: Product[];
|
|
4387
|
+
addonsMetadata: {
|
|
4388
|
+
productId: number;
|
|
4389
|
+
quantity: number;
|
|
4390
|
+
unitPrice: number;
|
|
4391
|
+
totalPrice: number;
|
|
4392
|
+
}[];
|
|
4393
|
+
segmentId: number;
|
|
4394
|
+
segment: Segment;
|
|
4395
|
+
eventId: number;
|
|
4396
|
+
event: Event;
|
|
4397
|
+
sportIds: number[];
|
|
4398
|
+
parentSlotId?: number;
|
|
4399
|
+
maintenanceDurationdurationType: string;
|
|
4400
|
+
maintenanceTiming: number;
|
|
4401
|
+
durationValue: number;
|
|
4402
|
+
seriesId?: number;
|
|
4403
|
+
series?: Series;
|
|
4404
|
+
orderId?: number;
|
|
4405
|
+
order?: Order;
|
|
4406
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4407
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4408
|
+
displayName?: string;
|
|
4409
|
+
internalName?: string;
|
|
4410
|
+
activityTypes?: number[] | null;
|
|
4411
|
+
hourlyRate: number;
|
|
4412
|
+
totalPrice: number;
|
|
4413
|
+
isConsumerVisible: boolean;
|
|
4414
|
+
isMonitorVisible: boolean;
|
|
4415
|
+
isPrivate: boolean;
|
|
4416
|
+
occurrence?: number;
|
|
4417
|
+
maintenance?: Slot[];
|
|
4418
|
+
productMetadata: {
|
|
4419
|
+
productId: number;
|
|
4420
|
+
price: number;
|
|
4421
|
+
};
|
|
4422
|
+
slotDurationType: string;
|
|
4423
|
+
changeLineItemIds?: number[];
|
|
4424
|
+
changeLineItems?: LineItems[];
|
|
4425
|
+
updatedLineItem?: LineItems;
|
|
4426
|
+
}
|
|
4427
|
+
export declare class ColumnNumericTransformer {
|
|
4428
|
+
to(data: number): number;
|
|
4429
|
+
from(data: string): number;
|
|
4430
|
+
}
|
|
4431
|
+
export declare function convertToNumber(data: string): number;
|
|
4409
4432
|
export declare class CloseShiftDto {
|
|
4410
4433
|
closingCashAmount: number;
|
|
4411
4434
|
}
|
|
@@ -4472,44 +4495,21 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4472
4495
|
closingManager?: User;
|
|
4473
4496
|
reconcilingUser?: User;
|
|
4474
4497
|
}
|
|
4475
|
-
export declare class
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
4493
|
-
purchasingUserId: number;
|
|
4494
|
-
slots: number[];
|
|
4495
|
-
}
|
|
4496
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
4497
|
-
reservationTotalPrice: number;
|
|
4498
|
-
}
|
|
4499
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
4500
|
-
basicInfoData?: BaseInvoiceDto;
|
|
4501
|
-
addToOrderId?: number;
|
|
4502
|
-
}
|
|
4503
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
4504
|
-
isInvoiced: boolean;
|
|
4505
|
-
}
|
|
4506
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
4507
|
-
slotsIds?: number[];
|
|
4508
|
-
addonsIds?: number[];
|
|
4509
|
-
}
|
|
4510
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
4511
|
-
slots: SlotDto[];
|
|
4512
|
-
}
|
|
4513
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
4514
|
-
segments: SegmentDto[];
|
|
4498
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4499
|
+
parentId: number;
|
|
4500
|
+
parentType: AddonParentTypeEnum;
|
|
4501
|
+
productId: number;
|
|
4502
|
+
product?: Product;
|
|
4503
|
+
quantity: number;
|
|
4504
|
+
unitPrice: number;
|
|
4505
|
+
totalPrice: number;
|
|
4506
|
+
approvalStatus: ReservationStatusEnum;
|
|
4507
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4508
|
+
level?: ProductPackageLevelEnum;
|
|
4509
|
+
resourceId?: number;
|
|
4510
|
+
resource?: Resource;
|
|
4511
|
+
orderId?: number;
|
|
4512
|
+
order?: Order;
|
|
4513
|
+
productUserId?: number;
|
|
4514
|
+
productUser?: ProductsUsers;
|
|
4515
4515
|
}
|