@bondsports/types 0.0.85 → 0.0.88
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 +213 -189
- 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,10 +3395,6 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3395
3395
|
eventId: number | null;
|
|
3396
3396
|
status: number | null;
|
|
3397
3397
|
}
|
|
3398
|
-
export declare class Lock extends BondBaseEntity {
|
|
3399
|
-
name: string;
|
|
3400
|
-
locked?: Date;
|
|
3401
|
-
}
|
|
3402
3398
|
export interface ValidatedMonthAndDay {
|
|
3403
3399
|
valid: boolean;
|
|
3404
3400
|
month?: number;
|
|
@@ -3420,6 +3416,10 @@ export interface PaymentStatusesDict {
|
|
|
3420
3416
|
export interface PaymentStatusDict {
|
|
3421
3417
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
3418
|
}
|
|
3419
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3420
|
+
entityType: string;
|
|
3421
|
+
entityId: number;
|
|
3422
|
+
}
|
|
3423
3423
|
export declare class CreateMonitorConfigDto {
|
|
3424
3424
|
facilityId: number;
|
|
3425
3425
|
name: string;
|
|
@@ -3720,47 +3720,6 @@ export declare class MaintenanceDto {
|
|
|
3720
3720
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3721
3721
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3722
3722
|
}
|
|
3723
|
-
export declare class OrderDto {
|
|
3724
|
-
orderId?: string | null;
|
|
3725
|
-
organizationId: number;
|
|
3726
|
-
price: number | null;
|
|
3727
|
-
totalTax?: number;
|
|
3728
|
-
totalWithoutTax?: number;
|
|
3729
|
-
status?: OrderStatusEnum;
|
|
3730
|
-
lineItems: LineItemDto[];
|
|
3731
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3732
|
-
currency: CurrencyEnum;
|
|
3733
|
-
creatingUserId?: number;
|
|
3734
|
-
platform?: PlatformsEnum;
|
|
3735
|
-
}
|
|
3736
|
-
export declare class BaseInvoiceDto {
|
|
3737
|
-
platform: PlatformsEnum;
|
|
3738
|
-
shiftId?: number;
|
|
3739
|
-
}
|
|
3740
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3741
|
-
purchasingUserId: number;
|
|
3742
|
-
slots: number[];
|
|
3743
|
-
}
|
|
3744
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3745
|
-
reservationTotalPrice: number;
|
|
3746
|
-
}
|
|
3747
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3748
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3749
|
-
addToOrderId?: number;
|
|
3750
|
-
}
|
|
3751
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3752
|
-
isInvoiced: boolean;
|
|
3753
|
-
}
|
|
3754
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3755
|
-
slotsIds?: number[];
|
|
3756
|
-
addonsIds?: number[];
|
|
3757
|
-
}
|
|
3758
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3759
|
-
slots: SlotDto[];
|
|
3760
|
-
}
|
|
3761
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3762
|
-
segments: SegmentDto[];
|
|
3763
|
-
}
|
|
3764
3723
|
export declare class PurchasedResourceDto {
|
|
3765
3724
|
resourceId?: number;
|
|
3766
3725
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3889,13 +3848,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3889
3848
|
export declare class UpdateSlotsDto {
|
|
3890
3849
|
slots: SlotDto[];
|
|
3891
3850
|
}
|
|
3892
|
-
export declare class
|
|
3851
|
+
export declare class EditItemsRefundMetaDto {
|
|
3893
3852
|
lineItems: RefundLineItemAmountDto[];
|
|
3894
3853
|
paymentMethods: PaymentMethodDto[];
|
|
3895
3854
|
reasonId: number;
|
|
3896
3855
|
}
|
|
3897
3856
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3898
|
-
refundMeta?:
|
|
3857
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3899
3858
|
}
|
|
3900
3859
|
export declare class EditReservationDetailsDto {
|
|
3901
3860
|
name: string;
|
|
@@ -3908,6 +3867,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3908
3867
|
export declare class AddAddonsDto {
|
|
3909
3868
|
addons: ProductPricesDto[];
|
|
3910
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
|
+
}
|
|
3911
3881
|
export declare class SegmentDto {
|
|
3912
3882
|
id?: number;
|
|
3913
3883
|
title: string;
|
|
@@ -3936,6 +3906,67 @@ export declare class SeriesDto {
|
|
|
3936
3906
|
maintenance?: MaintenanceDto[];
|
|
3937
3907
|
slots?: SlotDto[];
|
|
3938
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
|
+
}
|
|
3939
3970
|
export declare class SlotDateTimeAndSpace {
|
|
3940
3971
|
startDate: string;
|
|
3941
3972
|
startTime?: string;
|
|
@@ -3999,67 +4030,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3999
4030
|
slotDurationType: SlotDurationTypeEnum;
|
|
4000
4031
|
addonsIds?: number[];
|
|
4001
4032
|
}
|
|
4002
|
-
declare class AnswerDto {
|
|
4003
|
-
questionId: number;
|
|
4004
|
-
value: any;
|
|
4005
|
-
}
|
|
4006
|
-
export declare class BookedSessionDto {
|
|
4007
|
-
startDate: string;
|
|
4008
|
-
endDate: string;
|
|
4009
|
-
timezone: string;
|
|
4010
|
-
spaceId: number;
|
|
4011
|
-
}
|
|
4012
|
-
declare class AddonDto {
|
|
4013
|
-
resourcePackageId: number;
|
|
4014
|
-
resourcePackageAmount: number;
|
|
4015
|
-
resourcePackagePrice: number;
|
|
4016
|
-
}
|
|
4017
|
-
export declare class ReservationV1Dto {
|
|
4018
|
-
organizationId: number;
|
|
4019
|
-
name: string;
|
|
4020
|
-
dayOfWeek: number;
|
|
4021
|
-
startTime: string;
|
|
4022
|
-
description: string;
|
|
4023
|
-
sport: number;
|
|
4024
|
-
price: number;
|
|
4025
|
-
resourcePackageId: number;
|
|
4026
|
-
resourcePackageAmount: number;
|
|
4027
|
-
bookedSessions: BookedSessionDto[];
|
|
4028
|
-
addons: AddonDto[];
|
|
4029
|
-
}
|
|
4030
|
-
export declare class BookingV1Dto {
|
|
4031
|
-
organizationId: number;
|
|
4032
|
-
reservations: ReservationV1Dto[];
|
|
4033
|
-
answers: AnswerDto[];
|
|
4034
|
-
paymentData: PurchasePaymentDto;
|
|
4035
|
-
skipPayment: boolean;
|
|
4036
|
-
cashPayment: boolean;
|
|
4037
|
-
requestOnly: boolean;
|
|
4038
|
-
}
|
|
4039
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4040
|
-
parentId: number;
|
|
4041
|
-
parentType: AddonParentTypeEnum;
|
|
4042
|
-
productId: number;
|
|
4043
|
-
product?: Product;
|
|
4044
|
-
quantity: number;
|
|
4045
|
-
unitPrice: number;
|
|
4046
|
-
totalPrice: number;
|
|
4047
|
-
approvalStatus: ReservationStatusEnum;
|
|
4048
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4049
|
-
level?: ProductPackageLevelEnum;
|
|
4050
|
-
resourceId?: number;
|
|
4051
|
-
resource?: Resource;
|
|
4052
|
-
orderId?: number;
|
|
4053
|
-
order?: Order;
|
|
4054
|
-
productUserId?: number;
|
|
4055
|
-
productUser?: ProductsUsers;
|
|
4056
|
-
}
|
|
4057
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4058
|
-
deletedAt?: Date;
|
|
4059
|
-
reservationId: number;
|
|
4060
|
-
invoiceId: number;
|
|
4061
|
-
slotId: number;
|
|
4062
|
-
}
|
|
4063
4033
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4064
4034
|
name?: string;
|
|
4065
4035
|
description?: string;
|
|
@@ -4378,26 +4348,39 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4378
4348
|
order: OrderDto;
|
|
4379
4349
|
debug?: any;
|
|
4380
4350
|
}
|
|
4381
|
-
|
|
4351
|
+
interface ValidateEditItemsResult {
|
|
4382
4352
|
nextFinancialStep: FinancialStepEnum;
|
|
4383
|
-
slots: SlotDto[];
|
|
4384
4353
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4385
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4386
4354
|
originalInvoicePrice?: number;
|
|
4387
4355
|
updatedInvoicePrice?: number;
|
|
4388
4356
|
priceChange?: number;
|
|
4357
|
+
}
|
|
4358
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4359
|
+
slots: SlotDto[];
|
|
4360
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4389
4361
|
editData?: EditSlotsData;
|
|
4390
4362
|
}
|
|
4363
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4364
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4365
|
+
editData?: EditAddonsData;
|
|
4366
|
+
}
|
|
4391
4367
|
export interface EditSlotsRefundMetadata {
|
|
4392
4368
|
lineItems: SlotsLineItemData[];
|
|
4393
4369
|
refundAmount: number;
|
|
4394
4370
|
}
|
|
4371
|
+
export interface EditAddonsRefundMetadata {
|
|
4372
|
+
lineItems: AddonsLineItemData[];
|
|
4373
|
+
refundAmount: number;
|
|
4374
|
+
}
|
|
4395
4375
|
export interface EditSlotsData {
|
|
4396
4376
|
order?: Order;
|
|
4397
4377
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4398
4378
|
newLineItems?: LineItemDto[];
|
|
4399
4379
|
}
|
|
4400
|
-
export interface
|
|
4380
|
+
export interface EditAddonsData {
|
|
4381
|
+
order?: Order;
|
|
4382
|
+
}
|
|
4383
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4401
4384
|
refundResult?: RefundResult;
|
|
4402
4385
|
}
|
|
4403
4386
|
export declare class ChangeRolePermissionsDto {
|
|
@@ -4423,6 +4406,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4423
4406
|
role: Role;
|
|
4424
4407
|
user: User;
|
|
4425
4408
|
}
|
|
4409
|
+
export declare class CloseShiftDto {
|
|
4410
|
+
closingCashAmount: number;
|
|
4411
|
+
}
|
|
4426
4412
|
export declare class FindShiftsByIdsDto {
|
|
4427
4413
|
shiftIds: number[];
|
|
4428
4414
|
}
|
|
@@ -4457,9 +4443,6 @@ export declare class OpenShiftDto {
|
|
|
4457
4443
|
openingCashAmount: number;
|
|
4458
4444
|
stationId: number;
|
|
4459
4445
|
}
|
|
4460
|
-
export declare class CloseShiftDto {
|
|
4461
|
-
closingCashAmount: number;
|
|
4462
|
-
}
|
|
4463
4446
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4464
4447
|
stationId: number;
|
|
4465
4448
|
station?: Station;
|
|
@@ -4489,3 +4472,44 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4489
4472
|
closingManager?: User;
|
|
4490
4473
|
reconcilingUser?: User;
|
|
4491
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;
|
|
4487
|
+
}
|
|
4488
|
+
export declare class BaseInvoiceDto {
|
|
4489
|
+
platform: PlatformsEnum;
|
|
4490
|
+
shiftId?: number;
|
|
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[];
|
|
4515
|
+
}
|