@bondsports/types 0.0.91 → 0.0.92
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 +177 -177
- 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
|
@@ -3238,6 +3238,11 @@ export interface IReservationCreatorData {
|
|
|
3238
3238
|
endDate: string;
|
|
3239
3239
|
sportId: number;
|
|
3240
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;
|
|
3241
3246
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3242
3247
|
name?: string;
|
|
3243
3248
|
genderStr?: string;
|
|
@@ -3287,6 +3292,15 @@ export declare class ImportedPaymentDto {
|
|
|
3287
3292
|
date: string;
|
|
3288
3293
|
time: string;
|
|
3289
3294
|
}
|
|
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
|
+
}
|
|
3290
3304
|
export declare class PunchPassDto {
|
|
3291
3305
|
CustomerID: string;
|
|
3292
3306
|
QuantityLeft: number;
|
|
@@ -3349,15 +3363,6 @@ export declare class GameSlots extends BondBaseEntity {
|
|
|
3349
3363
|
entityType: string;
|
|
3350
3364
|
entityId: number;
|
|
3351
3365
|
}
|
|
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;
|
|
3360
|
-
}
|
|
3361
3366
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3362
3367
|
matchId: number | null;
|
|
3363
3368
|
ordinal: number | null;
|
|
@@ -3426,6 +3431,12 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3426
3431
|
code: string;
|
|
3427
3432
|
config?: any;
|
|
3428
3433
|
}
|
|
3434
|
+
export declare class ByOrganizationIdDto {
|
|
3435
|
+
organizationId: number;
|
|
3436
|
+
}
|
|
3437
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
+
organizationId?: number;
|
|
3439
|
+
}
|
|
3429
3440
|
export declare class Organization extends BondBaseEntity {
|
|
3430
3441
|
name: string | null;
|
|
3431
3442
|
email: string | null;
|
|
@@ -3481,12 +3492,6 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3481
3492
|
version: number;
|
|
3482
3493
|
organization: Organization;
|
|
3483
3494
|
}
|
|
3484
|
-
export declare class ByOrganizationIdDto {
|
|
3485
|
-
organizationId: number;
|
|
3486
|
-
}
|
|
3487
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3488
|
-
organizationId?: number;
|
|
3489
|
-
}
|
|
3490
3495
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3491
3496
|
mainAdminUserId?: number;
|
|
3492
3497
|
}
|
|
@@ -4042,6 +4047,163 @@ export declare class BookingV1Dto {
|
|
|
4042
4047
|
cashPayment: boolean;
|
|
4043
4048
|
requestOnly: boolean;
|
|
4044
4049
|
}
|
|
4050
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4051
|
+
parentId: number;
|
|
4052
|
+
parentType: AddonParentTypeEnum;
|
|
4053
|
+
productId: number;
|
|
4054
|
+
product?: Product;
|
|
4055
|
+
quantity: number;
|
|
4056
|
+
unitPrice: number;
|
|
4057
|
+
totalPrice: number;
|
|
4058
|
+
approvalStatus: ReservationStatusEnum;
|
|
4059
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4060
|
+
level?: ProductPackageLevelEnum;
|
|
4061
|
+
resourceId?: number;
|
|
4062
|
+
resource?: Resource;
|
|
4063
|
+
orderId?: number;
|
|
4064
|
+
order?: Order;
|
|
4065
|
+
productUserId?: number;
|
|
4066
|
+
productUser?: ProductsUsers;
|
|
4067
|
+
}
|
|
4068
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4069
|
+
deletedAt?: Date;
|
|
4070
|
+
reservationId: number;
|
|
4071
|
+
invoiceId: number;
|
|
4072
|
+
slotId: number;
|
|
4073
|
+
}
|
|
4074
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4075
|
+
name?: string;
|
|
4076
|
+
description?: string;
|
|
4077
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4078
|
+
privacySetting?: string;
|
|
4079
|
+
reservationType?: ReservationTypeEnum;
|
|
4080
|
+
orderId?: string;
|
|
4081
|
+
customerId?: number;
|
|
4082
|
+
customer?: Customer;
|
|
4083
|
+
price?: number;
|
|
4084
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4085
|
+
startTime?: string;
|
|
4086
|
+
startDate?: Date;
|
|
4087
|
+
endDate?: Date;
|
|
4088
|
+
creatorId?: number;
|
|
4089
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4090
|
+
userCreatorId?: number;
|
|
4091
|
+
sportType?: number;
|
|
4092
|
+
deletedAt?: Date;
|
|
4093
|
+
publicNotes?: string;
|
|
4094
|
+
privateNotes?: string;
|
|
4095
|
+
forms?: number[] | null;
|
|
4096
|
+
answerTitleIds?: number[] | null;
|
|
4097
|
+
segments?: Segment[];
|
|
4098
|
+
migrationStatus?: string;
|
|
4099
|
+
addons: Addon[];
|
|
4100
|
+
overrideProductsPrice: {
|
|
4101
|
+
productId: number;
|
|
4102
|
+
price: number;
|
|
4103
|
+
}[];
|
|
4104
|
+
targetGlobalPrice?: number;
|
|
4105
|
+
slots: Slot[];
|
|
4106
|
+
}
|
|
4107
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4108
|
+
deletedAt?: Date;
|
|
4109
|
+
reservationId: number;
|
|
4110
|
+
title: string;
|
|
4111
|
+
isPrivate: boolean;
|
|
4112
|
+
resourceIds?: number[];
|
|
4113
|
+
sportId: number;
|
|
4114
|
+
reservation?: Reservation;
|
|
4115
|
+
series?: Series[];
|
|
4116
|
+
addonIds?: number[] | null;
|
|
4117
|
+
publicNotesForSlots?: string;
|
|
4118
|
+
privateNotesForSlots?: string;
|
|
4119
|
+
slots?: Slot[];
|
|
4120
|
+
}
|
|
4121
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4122
|
+
deletedAt?: Date;
|
|
4123
|
+
segmentId: number;
|
|
4124
|
+
segment?: Segment;
|
|
4125
|
+
slots?: Slot[];
|
|
4126
|
+
slotDurationType: string;
|
|
4127
|
+
durationEndsAfter: number;
|
|
4128
|
+
durationUnit: string;
|
|
4129
|
+
startDate?: Date;
|
|
4130
|
+
endDate?: Date;
|
|
4131
|
+
startTime: string;
|
|
4132
|
+
endTime: string;
|
|
4133
|
+
frequency: string;
|
|
4134
|
+
repeatEvery: number;
|
|
4135
|
+
repeatOn?: number[];
|
|
4136
|
+
repeatEndDate?: Date;
|
|
4137
|
+
numberOccurrences?: number;
|
|
4138
|
+
resources?: Resource[];
|
|
4139
|
+
}
|
|
4140
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4141
|
+
constructor();
|
|
4142
|
+
defineIsReverted(): void;
|
|
4143
|
+
isReverted: boolean;
|
|
4144
|
+
reservationId: number;
|
|
4145
|
+
reservation: Reservation;
|
|
4146
|
+
title?: string;
|
|
4147
|
+
creatorId?: number;
|
|
4148
|
+
creatorType?: string;
|
|
4149
|
+
userCreatorId?: number;
|
|
4150
|
+
startDate: Date;
|
|
4151
|
+
endDate: Date;
|
|
4152
|
+
startTime: string;
|
|
4153
|
+
endTime: string;
|
|
4154
|
+
timezone?: string;
|
|
4155
|
+
spaceId?: number;
|
|
4156
|
+
resource?: Resource;
|
|
4157
|
+
deletedAt?: Date;
|
|
4158
|
+
publicNotes?: string;
|
|
4159
|
+
privateNotes?: string;
|
|
4160
|
+
slotType: SlotTypeEnum;
|
|
4161
|
+
productsUserId?: number;
|
|
4162
|
+
productUser?: ProductsUsers;
|
|
4163
|
+
product?: Product;
|
|
4164
|
+
addonsProductUserIds?: number[] | null;
|
|
4165
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4166
|
+
addonProducts?: Product[];
|
|
4167
|
+
addonsMetadata: {
|
|
4168
|
+
productId: number;
|
|
4169
|
+
quantity: number;
|
|
4170
|
+
unitPrice: number;
|
|
4171
|
+
totalPrice: number;
|
|
4172
|
+
}[];
|
|
4173
|
+
segmentId: number;
|
|
4174
|
+
segment: Segment;
|
|
4175
|
+
eventId: number;
|
|
4176
|
+
event: Event;
|
|
4177
|
+
sportIds: number[];
|
|
4178
|
+
parentSlotId?: number;
|
|
4179
|
+
maintenanceDurationdurationType: string;
|
|
4180
|
+
maintenanceTiming: number;
|
|
4181
|
+
durationValue: number;
|
|
4182
|
+
seriesId?: number;
|
|
4183
|
+
series?: Series;
|
|
4184
|
+
orderId?: number;
|
|
4185
|
+
order?: Order;
|
|
4186
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4187
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4188
|
+
displayName?: string;
|
|
4189
|
+
internalName?: string;
|
|
4190
|
+
activityTypes?: number[] | null;
|
|
4191
|
+
hourlyRate: number;
|
|
4192
|
+
totalPrice: number;
|
|
4193
|
+
isConsumerVisible: boolean;
|
|
4194
|
+
isMonitorVisible: boolean;
|
|
4195
|
+
isPrivate: boolean;
|
|
4196
|
+
occurrence?: number;
|
|
4197
|
+
maintenance?: Slot[];
|
|
4198
|
+
productMetadata: {
|
|
4199
|
+
productId: number;
|
|
4200
|
+
price: number;
|
|
4201
|
+
};
|
|
4202
|
+
slotDurationType: string;
|
|
4203
|
+
changeLineItemIds?: number[];
|
|
4204
|
+
changeLineItems?: LineItems[];
|
|
4205
|
+
updatedLineItem?: LineItems;
|
|
4206
|
+
}
|
|
4045
4207
|
export declare type TSlotAndType = {
|
|
4046
4208
|
type: 'slots' | 'slot_addons';
|
|
4047
4209
|
slotsForProduct: {
|
|
@@ -4285,150 +4447,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4285
4447
|
role: Role;
|
|
4286
4448
|
user: User;
|
|
4287
4449
|
}
|
|
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;
|
|
4432
4450
|
export declare class CloseShiftDto {
|
|
4433
4451
|
closingCashAmount: number;
|
|
4434
4452
|
}
|
|
@@ -4495,21 +4513,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4495
4513
|
closingManager?: User;
|
|
4496
4514
|
reconcilingUser?: User;
|
|
4497
4515
|
}
|
|
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
|
-
}
|