@bondsports/types 0.0.136 → 0.0.138
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 +78 -78
- 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
|
@@ -2166,6 +2166,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2166
2166
|
purchasedResources: PurchasedResource[];
|
|
2167
2167
|
linkSEO: string;
|
|
2168
2168
|
}
|
|
2169
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2170
|
+
name: string;
|
|
2171
|
+
facilityId: number;
|
|
2172
|
+
parentSlotId: number;
|
|
2173
|
+
childrenSlotIds: number[];
|
|
2174
|
+
deletedAt?: Date;
|
|
2175
|
+
}
|
|
2169
2176
|
export declare class School extends BondBaseEntity {
|
|
2170
2177
|
name: string | null;
|
|
2171
2178
|
alias: string[] | null;
|
|
@@ -2174,13 +2181,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2174
2181
|
phone: string | null;
|
|
2175
2182
|
dataId: number | null;
|
|
2176
2183
|
}
|
|
2177
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2178
|
-
name: string;
|
|
2179
|
-
facilityId: number;
|
|
2180
|
-
parentSlotId: number;
|
|
2181
|
-
childrenSlotIds: number[];
|
|
2182
|
-
deletedAt?: Date;
|
|
2183
|
-
}
|
|
2184
2184
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2185
2185
|
status: RequestStatusEnum;
|
|
2186
2186
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -3367,6 +3367,57 @@ export declare class PunchPassDto {
|
|
|
3367
3367
|
BondSessionID: number;
|
|
3368
3368
|
ProductID: number;
|
|
3369
3369
|
}
|
|
3370
|
+
export declare class ImportedSlotProductDto {
|
|
3371
|
+
slotID?: string;
|
|
3372
|
+
name?: string;
|
|
3373
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3374
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3375
|
+
price?: string;
|
|
3376
|
+
minutes?: string;
|
|
3377
|
+
quantity: string;
|
|
3378
|
+
startDate?: string;
|
|
3379
|
+
startTime?: string;
|
|
3380
|
+
endDate?: string;
|
|
3381
|
+
endTime?: string;
|
|
3382
|
+
bondProductId?: number;
|
|
3383
|
+
}
|
|
3384
|
+
export declare class ImportResourceMappingDto {
|
|
3385
|
+
bondResourceID?: string;
|
|
3386
|
+
resourceName?: string;
|
|
3387
|
+
}
|
|
3388
|
+
export declare class ImportProductMappingDto {
|
|
3389
|
+
productID?: string;
|
|
3390
|
+
productName?: string;
|
|
3391
|
+
}
|
|
3392
|
+
export declare class ImportedSlotDto {
|
|
3393
|
+
reservationID: string;
|
|
3394
|
+
bondResourceID: string;
|
|
3395
|
+
resourceName: string;
|
|
3396
|
+
subResourceName: string;
|
|
3397
|
+
startDate: string;
|
|
3398
|
+
startTime: string;
|
|
3399
|
+
endDate: string;
|
|
3400
|
+
endTime: string;
|
|
3401
|
+
sportId?: string;
|
|
3402
|
+
setupDuration: string;
|
|
3403
|
+
setupIncludeInCosts: string;
|
|
3404
|
+
takedownDuration: string;
|
|
3405
|
+
takedownIncludeInCosts: string;
|
|
3406
|
+
slotProduct: ImportedSlotProductDto;
|
|
3407
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3408
|
+
totalPrice: string;
|
|
3409
|
+
}
|
|
3410
|
+
export declare class ImportedReservationDto {
|
|
3411
|
+
name: string;
|
|
3412
|
+
customerId: string;
|
|
3413
|
+
description: string;
|
|
3414
|
+
totalPrice: string;
|
|
3415
|
+
downPayment: string;
|
|
3416
|
+
paid: string;
|
|
3417
|
+
invoiceId: string;
|
|
3418
|
+
slots?: ImportedSlotDto[];
|
|
3419
|
+
addons?: ImportedSlotProductDto[];
|
|
3420
|
+
}
|
|
3370
3421
|
export declare class GameSlots extends BondBaseEntity {
|
|
3371
3422
|
entityType: string;
|
|
3372
3423
|
entityId: number;
|
|
@@ -4116,6 +4167,26 @@ export declare class BookingV1Dto {
|
|
|
4116
4167
|
cashPayment: boolean;
|
|
4117
4168
|
requestOnly: boolean;
|
|
4118
4169
|
}
|
|
4170
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4171
|
+
parentId: number;
|
|
4172
|
+
parentType: AddonParentTypeEnum;
|
|
4173
|
+
productId: number;
|
|
4174
|
+
product?: Product;
|
|
4175
|
+
quantity: number;
|
|
4176
|
+
unitPrice: number;
|
|
4177
|
+
totalPrice: number;
|
|
4178
|
+
approvalStatus: ReservationStatusEnum;
|
|
4179
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4180
|
+
level?: ProductPackageLevelEnum;
|
|
4181
|
+
resourceId?: number;
|
|
4182
|
+
resource?: Resource;
|
|
4183
|
+
invoiceId?: number;
|
|
4184
|
+
invoice?: Invoice;
|
|
4185
|
+
productUserId?: number;
|
|
4186
|
+
productUser?: ProductsUsers;
|
|
4187
|
+
previousProductUsersIds?: number[];
|
|
4188
|
+
previousProductUsers?: ProductsUsers[];
|
|
4189
|
+
}
|
|
4119
4190
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4120
4191
|
deletedAt?: Date;
|
|
4121
4192
|
reservationId: number;
|
|
@@ -4510,77 +4581,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4510
4581
|
role: Role;
|
|
4511
4582
|
user: User;
|
|
4512
4583
|
}
|
|
4513
|
-
export declare class ImportedSlotProductDto {
|
|
4514
|
-
slotID?: string;
|
|
4515
|
-
name?: string;
|
|
4516
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4517
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4518
|
-
price?: string;
|
|
4519
|
-
minutes?: string;
|
|
4520
|
-
quantity: string;
|
|
4521
|
-
startDate?: string;
|
|
4522
|
-
startTime?: string;
|
|
4523
|
-
endDate?: string;
|
|
4524
|
-
endTime?: string;
|
|
4525
|
-
bondProductId?: number;
|
|
4526
|
-
}
|
|
4527
|
-
export declare class ImportResourceMappingDto {
|
|
4528
|
-
bondResourceID?: string;
|
|
4529
|
-
resourceName?: string;
|
|
4530
|
-
}
|
|
4531
|
-
export declare class ImportProductMappingDto {
|
|
4532
|
-
productID?: string;
|
|
4533
|
-
productName?: string;
|
|
4534
|
-
}
|
|
4535
|
-
export declare class ImportedSlotDto {
|
|
4536
|
-
reservationID: string;
|
|
4537
|
-
bondResourceID: string;
|
|
4538
|
-
resourceName: string;
|
|
4539
|
-
subResourceName: string;
|
|
4540
|
-
startDate: string;
|
|
4541
|
-
startTime: string;
|
|
4542
|
-
endDate: string;
|
|
4543
|
-
endTime: string;
|
|
4544
|
-
sportId?: string;
|
|
4545
|
-
setupDuration: string;
|
|
4546
|
-
setupIncludeInCosts: string;
|
|
4547
|
-
takedownDuration: string;
|
|
4548
|
-
takedownIncludeInCosts: string;
|
|
4549
|
-
slotProduct: ImportedSlotProductDto;
|
|
4550
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4551
|
-
totalPrice: string;
|
|
4552
|
-
}
|
|
4553
|
-
export declare class ImportedReservationDto {
|
|
4554
|
-
name: string;
|
|
4555
|
-
customerId: string;
|
|
4556
|
-
description: string;
|
|
4557
|
-
totalPrice: string;
|
|
4558
|
-
downPayment: string;
|
|
4559
|
-
paid: string;
|
|
4560
|
-
invoiceId: string;
|
|
4561
|
-
slots?: ImportedSlotDto[];
|
|
4562
|
-
addons?: ImportedSlotProductDto[];
|
|
4563
|
-
}
|
|
4564
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4565
|
-
parentId: number;
|
|
4566
|
-
parentType: AddonParentTypeEnum;
|
|
4567
|
-
productId: number;
|
|
4568
|
-
product?: Product;
|
|
4569
|
-
quantity: number;
|
|
4570
|
-
unitPrice: number;
|
|
4571
|
-
totalPrice: number;
|
|
4572
|
-
approvalStatus: ReservationStatusEnum;
|
|
4573
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4574
|
-
level?: ProductPackageLevelEnum;
|
|
4575
|
-
resourceId?: number;
|
|
4576
|
-
resource?: Resource;
|
|
4577
|
-
invoiceId?: number;
|
|
4578
|
-
invoice?: Invoice;
|
|
4579
|
-
productUserId?: number;
|
|
4580
|
-
productUser?: ProductsUsers;
|
|
4581
|
-
previousProductUsersIds?: number[];
|
|
4582
|
-
previousProductUsers?: ProductsUsers[];
|
|
4583
|
-
}
|
|
4584
4584
|
export declare class CloseShiftDto {
|
|
4585
4585
|
closingCashAmount: number;
|
|
4586
4586
|
}
|