@bondsports/types 0.0.86 → 0.0.89
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 +231 -207
- 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,6 +186,38 @@ 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
|
+
}
|
|
189
221
|
export declare class AddressDto {
|
|
190
222
|
city: string;
|
|
191
223
|
state: string;
|
|
@@ -229,38 +261,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
261
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
262
|
nameSearch?: string;
|
|
231
263
|
}
|
|
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,19 +1114,6 @@ 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
|
-
}
|
|
1130
1117
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
1118
|
questionnaireId: number;
|
|
1132
1119
|
userId?: number;
|
|
@@ -1174,6 +1161,19 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1174
1161
|
publicNotes?: string;
|
|
1175
1162
|
slotType?: SlotTypeEnum;
|
|
1176
1163
|
}
|
|
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,25 +1388,6 @@ 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
|
-
}
|
|
1410
1391
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
1392
|
groupId: number;
|
|
1412
1393
|
itemId: number;
|
|
@@ -2215,13 +2196,8 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2215
2196
|
station: Station;
|
|
2216
2197
|
subcategory: Subcategory;
|
|
2217
2198
|
}
|
|
2218
|
-
export declare class
|
|
2219
|
-
|
|
2220
|
-
name: string;
|
|
2221
|
-
ordinal?: number;
|
|
2222
|
-
deletedAt?: Date;
|
|
2223
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2224
|
-
stations: Station[];
|
|
2199
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
2200
|
+
code: string;
|
|
2225
2201
|
}
|
|
2226
2202
|
export declare class Team extends BondBaseEntity {
|
|
2227
2203
|
name: string | null;
|
|
@@ -2351,6 +2327,22 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2351
2327
|
membershipCollectionId?: string;
|
|
2352
2328
|
programsCollectionId?: string;
|
|
2353
2329
|
}
|
|
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
|
+
}
|
|
2354
2346
|
export declare enum EntitlementTermsTypesEnum {
|
|
2355
2347
|
QUESTION = "question",
|
|
2356
2348
|
CITY = "city",
|
|
@@ -3238,6 +3230,14 @@ export interface IReservationCreatorData {
|
|
|
3238
3230
|
endDate: string;
|
|
3239
3231
|
sportId: number;
|
|
3240
3232
|
}
|
|
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
3241
|
export declare class ColumnNumericTransformer {
|
|
3242
3242
|
to(data: number): number;
|
|
3243
3243
|
from(data: string): number;
|
|
@@ -3359,9 +3359,9 @@ export declare class ImportedReservationDto {
|
|
|
3359
3359
|
slots?: ImportedSlotDto[];
|
|
3360
3360
|
addons?: ImportedSlotProductDto[];
|
|
3361
3361
|
}
|
|
3362
|
-
export declare class
|
|
3363
|
-
|
|
3364
|
-
|
|
3362
|
+
export declare class Lock extends BondBaseEntity {
|
|
3363
|
+
name: string;
|
|
3364
|
+
locked?: Date;
|
|
3365
3365
|
}
|
|
3366
3366
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
3367
|
matchId: number | null;
|
|
@@ -3395,9 +3395,30 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3395
3395
|
eventId: number | null;
|
|
3396
3396
|
status: number | null;
|
|
3397
3397
|
}
|
|
3398
|
-
export
|
|
3399
|
-
|
|
3400
|
-
|
|
3398
|
+
export interface ValidatedMonthAndDay {
|
|
3399
|
+
valid: boolean;
|
|
3400
|
+
month?: number;
|
|
3401
|
+
day?: number;
|
|
3402
|
+
}
|
|
3403
|
+
export interface ValidationReason {
|
|
3404
|
+
valid: boolean;
|
|
3405
|
+
reason?: string;
|
|
3406
|
+
}
|
|
3407
|
+
export interface PaymentStatus {
|
|
3408
|
+
parentId: number;
|
|
3409
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3410
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3411
|
+
id?: number;
|
|
3412
|
+
}
|
|
3413
|
+
export interface PaymentStatusesDict {
|
|
3414
|
+
[id: number]: PaymentStatus[];
|
|
3415
|
+
}
|
|
3416
|
+
export interface PaymentStatusDict {
|
|
3417
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3418
|
+
}
|
|
3419
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3420
|
+
entityType: string;
|
|
3421
|
+
entityId: number;
|
|
3401
3422
|
}
|
|
3402
3423
|
export declare class CreateMonitorConfigDto {
|
|
3403
3424
|
facilityId: number;
|
|
@@ -3410,6 +3431,12 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3410
3431
|
code: string;
|
|
3411
3432
|
config?: any;
|
|
3412
3433
|
}
|
|
3434
|
+
export declare class ByOrganizationIdDto {
|
|
3435
|
+
organizationId: number;
|
|
3436
|
+
}
|
|
3437
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
+
organizationId?: number;
|
|
3439
|
+
}
|
|
3413
3440
|
export declare class Organization extends BondBaseEntity {
|
|
3414
3441
|
name: string | null;
|
|
3415
3442
|
email: string | null;
|
|
@@ -3459,12 +3486,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3459
3486
|
brandings: OrganizationBranding[];
|
|
3460
3487
|
brandingsV2?: OrganizationBranding[];
|
|
3461
3488
|
}
|
|
3462
|
-
export declare class ByOrganizationIdDto {
|
|
3463
|
-
organizationId: number;
|
|
3464
|
-
}
|
|
3465
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3466
|
-
organizationId?: number;
|
|
3467
|
-
}
|
|
3468
3489
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3469
3490
|
key?: string;
|
|
3470
3491
|
vaule?: string;
|
|
@@ -3699,47 +3720,6 @@ export declare class MaintenanceDto {
|
|
|
3699
3720
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3700
3721
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3701
3722
|
}
|
|
3702
|
-
export declare class OrderDto {
|
|
3703
|
-
orderId?: string | null;
|
|
3704
|
-
organizationId: number;
|
|
3705
|
-
price: number | null;
|
|
3706
|
-
totalTax?: number;
|
|
3707
|
-
totalWithoutTax?: number;
|
|
3708
|
-
status?: OrderStatusEnum;
|
|
3709
|
-
lineItems: LineItemDto[];
|
|
3710
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3711
|
-
currency: CurrencyEnum;
|
|
3712
|
-
creatingUserId?: number;
|
|
3713
|
-
platform?: PlatformsEnum;
|
|
3714
|
-
}
|
|
3715
|
-
export declare class BaseInvoiceDto {
|
|
3716
|
-
platform: PlatformsEnum;
|
|
3717
|
-
shiftId?: number;
|
|
3718
|
-
}
|
|
3719
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3720
|
-
purchasingUserId: number;
|
|
3721
|
-
slots: number[];
|
|
3722
|
-
}
|
|
3723
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3724
|
-
reservationTotalPrice: number;
|
|
3725
|
-
}
|
|
3726
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3727
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3728
|
-
addToOrderId?: number;
|
|
3729
|
-
}
|
|
3730
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3731
|
-
isInvoiced: boolean;
|
|
3732
|
-
}
|
|
3733
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3734
|
-
slotsIds?: number[];
|
|
3735
|
-
addonsIds?: number[];
|
|
3736
|
-
}
|
|
3737
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3738
|
-
slots: SlotDto[];
|
|
3739
|
-
}
|
|
3740
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3741
|
-
segments: SegmentDto[];
|
|
3742
|
-
}
|
|
3743
3723
|
export declare class PurchasedResourceDto {
|
|
3744
3724
|
resourceId?: number;
|
|
3745
3725
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3868,13 +3848,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3868
3848
|
export declare class UpdateSlotsDto {
|
|
3869
3849
|
slots: SlotDto[];
|
|
3870
3850
|
}
|
|
3871
|
-
export declare class
|
|
3851
|
+
export declare class EditItemsRefundMetaDto {
|
|
3872
3852
|
lineItems: RefundLineItemAmountDto[];
|
|
3873
3853
|
paymentMethods: PaymentMethodDto[];
|
|
3874
3854
|
reasonId: number;
|
|
3875
3855
|
}
|
|
3876
3856
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3877
|
-
refundMeta?:
|
|
3857
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3878
3858
|
}
|
|
3879
3859
|
export declare class EditReservationDetailsDto {
|
|
3880
3860
|
name: string;
|
|
@@ -3887,6 +3867,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3887
3867
|
export declare class AddAddonsDto {
|
|
3888
3868
|
addons: ProductPricesDto[];
|
|
3889
3869
|
}
|
|
3870
|
+
export declare class EditAddonsDto {
|
|
3871
|
+
addons: EditAddonDto[];
|
|
3872
|
+
}
|
|
3873
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3874
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3875
|
+
}
|
|
3876
|
+
export declare class EditAddonDto {
|
|
3877
|
+
id: number;
|
|
3878
|
+
unitPrice?: number;
|
|
3879
|
+
quantity?: number;
|
|
3880
|
+
}
|
|
3890
3881
|
export declare class SegmentDto {
|
|
3891
3882
|
id?: number;
|
|
3892
3883
|
title: string;
|
|
@@ -3915,6 +3906,67 @@ export declare class SeriesDto {
|
|
|
3915
3906
|
maintenance?: MaintenanceDto[];
|
|
3916
3907
|
slots?: SlotDto[];
|
|
3917
3908
|
}
|
|
3909
|
+
declare class AnswerDto {
|
|
3910
|
+
questionId: number;
|
|
3911
|
+
value: any;
|
|
3912
|
+
}
|
|
3913
|
+
export declare class BookedSessionDto {
|
|
3914
|
+
startDate: string;
|
|
3915
|
+
endDate: string;
|
|
3916
|
+
timezone: string;
|
|
3917
|
+
spaceId: number;
|
|
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
|
+
}
|
|
3918
3970
|
export declare class SlotDateTimeAndSpace {
|
|
3919
3971
|
startDate: string;
|
|
3920
3972
|
startTime?: string;
|
|
@@ -3978,67 +4030,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3978
4030
|
slotDurationType: SlotDurationTypeEnum;
|
|
3979
4031
|
addonsIds?: number[];
|
|
3980
4032
|
}
|
|
3981
|
-
declare class AnswerDto {
|
|
3982
|
-
questionId: number;
|
|
3983
|
-
value: any;
|
|
3984
|
-
}
|
|
3985
|
-
export declare class BookedSessionDto {
|
|
3986
|
-
startDate: string;
|
|
3987
|
-
endDate: string;
|
|
3988
|
-
timezone: string;
|
|
3989
|
-
spaceId: number;
|
|
3990
|
-
}
|
|
3991
|
-
declare class AddonDto {
|
|
3992
|
-
resourcePackageId: number;
|
|
3993
|
-
resourcePackageAmount: number;
|
|
3994
|
-
resourcePackagePrice: number;
|
|
3995
|
-
}
|
|
3996
|
-
export declare class ReservationV1Dto {
|
|
3997
|
-
organizationId: number;
|
|
3998
|
-
name: string;
|
|
3999
|
-
dayOfWeek: number;
|
|
4000
|
-
startTime: string;
|
|
4001
|
-
description: string;
|
|
4002
|
-
sport: number;
|
|
4003
|
-
price: number;
|
|
4004
|
-
resourcePackageId: number;
|
|
4005
|
-
resourcePackageAmount: number;
|
|
4006
|
-
bookedSessions: BookedSessionDto[];
|
|
4007
|
-
addons: AddonDto[];
|
|
4008
|
-
}
|
|
4009
|
-
export declare class BookingV1Dto {
|
|
4010
|
-
organizationId: number;
|
|
4011
|
-
reservations: ReservationV1Dto[];
|
|
4012
|
-
answers: AnswerDto[];
|
|
4013
|
-
paymentData: PurchasePaymentDto;
|
|
4014
|
-
skipPayment: boolean;
|
|
4015
|
-
cashPayment: boolean;
|
|
4016
|
-
requestOnly: boolean;
|
|
4017
|
-
}
|
|
4018
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4019
|
-
parentId: number;
|
|
4020
|
-
parentType: AddonParentTypeEnum;
|
|
4021
|
-
productId: number;
|
|
4022
|
-
product?: Product;
|
|
4023
|
-
quantity: number;
|
|
4024
|
-
unitPrice: number;
|
|
4025
|
-
totalPrice: number;
|
|
4026
|
-
approvalStatus: ReservationStatusEnum;
|
|
4027
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4028
|
-
level?: ProductPackageLevelEnum;
|
|
4029
|
-
resourceId?: number;
|
|
4030
|
-
resource?: Resource;
|
|
4031
|
-
orderId?: number;
|
|
4032
|
-
order?: Order;
|
|
4033
|
-
productUserId?: number;
|
|
4034
|
-
productUser?: ProductsUsers;
|
|
4035
|
-
}
|
|
4036
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4037
|
-
deletedAt?: Date;
|
|
4038
|
-
reservationId: number;
|
|
4039
|
-
invoiceId: number;
|
|
4040
|
-
slotId: number;
|
|
4041
|
-
}
|
|
4042
4033
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4043
4034
|
name?: string;
|
|
4044
4035
|
description?: string;
|
|
@@ -4357,26 +4348,39 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4357
4348
|
order: OrderDto;
|
|
4358
4349
|
debug?: any;
|
|
4359
4350
|
}
|
|
4360
|
-
|
|
4351
|
+
interface ValidateEditItemsResult {
|
|
4361
4352
|
nextFinancialStep: FinancialStepEnum;
|
|
4362
|
-
slots: SlotDto[];
|
|
4363
4353
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4364
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4365
4354
|
originalInvoicePrice?: number;
|
|
4366
4355
|
updatedInvoicePrice?: number;
|
|
4367
4356
|
priceChange?: number;
|
|
4357
|
+
}
|
|
4358
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4359
|
+
slots: SlotDto[];
|
|
4360
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4368
4361
|
editData?: EditSlotsData;
|
|
4369
4362
|
}
|
|
4363
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4364
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4365
|
+
editData?: EditAddonsData;
|
|
4366
|
+
}
|
|
4370
4367
|
export interface EditSlotsRefundMetadata {
|
|
4371
4368
|
lineItems: SlotsLineItemData[];
|
|
4372
4369
|
refundAmount: number;
|
|
4373
4370
|
}
|
|
4371
|
+
export interface EditAddonsRefundMetadata {
|
|
4372
|
+
lineItems: AddonsLineItemData[];
|
|
4373
|
+
refundAmount: number;
|
|
4374
|
+
}
|
|
4374
4375
|
export interface EditSlotsData {
|
|
4375
4376
|
order?: Order;
|
|
4376
4377
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4377
4378
|
newLineItems?: LineItemDto[];
|
|
4378
4379
|
}
|
|
4379
|
-
export interface
|
|
4380
|
+
export interface EditAddonsData {
|
|
4381
|
+
order?: Order;
|
|
4382
|
+
}
|
|
4383
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4380
4384
|
refundResult?: RefundResult;
|
|
4381
4385
|
}
|
|
4382
4386
|
export declare class ChangeRolePermissionsDto {
|
|
@@ -4468,24 +4472,44 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4468
4472
|
closingManager?: User;
|
|
4469
4473
|
reconcilingUser?: User;
|
|
4470
4474
|
}
|
|
4471
|
-
export
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
+
export declare class OrderDto {
|
|
4476
|
+
orderId?: string | null;
|
|
4477
|
+
organizationId: number;
|
|
4478
|
+
price: number | null;
|
|
4479
|
+
totalTax?: number;
|
|
4480
|
+
totalWithoutTax?: number;
|
|
4481
|
+
status?: OrderStatusEnum;
|
|
4482
|
+
lineItems: LineItemDto[];
|
|
4483
|
+
paymentStatus?: PaymentStatusEnum;
|
|
4484
|
+
currency: CurrencyEnum;
|
|
4485
|
+
creatingUserId?: number;
|
|
4486
|
+
platform?: PlatformsEnum;
|
|
4475
4487
|
}
|
|
4476
|
-
export
|
|
4477
|
-
|
|
4478
|
-
|
|
4488
|
+
export declare class BaseInvoiceDto {
|
|
4489
|
+
platform: PlatformsEnum;
|
|
4490
|
+
shiftId?: number;
|
|
4479
4491
|
}
|
|
4480
|
-
export
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4484
|
-
id?: number;
|
|
4492
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
4493
|
+
purchasingUserId: number;
|
|
4494
|
+
slots: number[];
|
|
4485
4495
|
}
|
|
4486
|
-
export
|
|
4487
|
-
|
|
4496
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
4497
|
+
reservationTotalPrice: number;
|
|
4488
4498
|
}
|
|
4489
|
-
export
|
|
4490
|
-
|
|
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[];
|
|
4491
4515
|
}
|