@bondsports/types 0.0.96 → 0.3.0
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 +52 -72
- 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
|
@@ -1061,9 +1061,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1061
1061
|
export declare class StripeCustomerIdDto {
|
|
1062
1062
|
userId: number;
|
|
1063
1063
|
}
|
|
1064
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1065
|
-
paymentMethodId: string;
|
|
1066
|
-
}
|
|
1067
1064
|
export declare class AddACHTokenToCustomerDto {
|
|
1068
1065
|
publicToken: string;
|
|
1069
1066
|
accountId: string;
|
|
@@ -1184,6 +1181,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1184
1181
|
endTimeInDay: string;
|
|
1185
1182
|
directBookingFor: DirectBookingTypesEnum;
|
|
1186
1183
|
}
|
|
1184
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
+
area: string;
|
|
1186
|
+
key: string;
|
|
1187
|
+
value: string;
|
|
1188
|
+
}
|
|
1187
1189
|
export declare class Connection extends BondBaseEntity {
|
|
1188
1190
|
connType: number | null;
|
|
1189
1191
|
from: number | null;
|
|
@@ -1204,11 +1206,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1204
1206
|
orderId: number;
|
|
1205
1207
|
creditPaymentInvoiceId: number;
|
|
1206
1208
|
}
|
|
1207
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1208
|
-
area: string;
|
|
1209
|
-
key: string;
|
|
1210
|
-
value: string;
|
|
1211
|
-
}
|
|
1212
1209
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
1210
|
name: string | null;
|
|
1214
1211
|
entityId: number | null;
|
|
@@ -3243,6 +3240,20 @@ export declare class ColumnNumericTransformer {
|
|
|
3243
3240
|
from(data: string): number;
|
|
3244
3241
|
}
|
|
3245
3242
|
export declare function convertToNumber(data: string): number;
|
|
3243
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3244
|
+
name?: string;
|
|
3245
|
+
genderStr?: string;
|
|
3246
|
+
parentID?: string;
|
|
3247
|
+
partnerID?: string;
|
|
3248
|
+
membershipName?: string;
|
|
3249
|
+
membershipExpDate?: string;
|
|
3250
|
+
membershipCreationDate?: string;
|
|
3251
|
+
bondMembershipID?: number;
|
|
3252
|
+
}
|
|
3253
|
+
export declare class AddFamilyDto {
|
|
3254
|
+
parents: AddImportedCustomerDto[];
|
|
3255
|
+
children: AddImportedCustomerDto[];
|
|
3256
|
+
}
|
|
3246
3257
|
export declare enum ImportPaymentTypeEnum {
|
|
3247
3258
|
CREDIT_CARD = "card",
|
|
3248
3259
|
ACH = "ach",
|
|
@@ -3294,20 +3305,6 @@ export declare class PunchPassDto {
|
|
|
3294
3305
|
BondSessionID: number;
|
|
3295
3306
|
ProductID: number;
|
|
3296
3307
|
}
|
|
3297
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3298
|
-
name?: string;
|
|
3299
|
-
genderStr?: string;
|
|
3300
|
-
parentID?: string;
|
|
3301
|
-
partnerID?: string;
|
|
3302
|
-
membershipName?: string;
|
|
3303
|
-
membershipExpDate?: string;
|
|
3304
|
-
membershipCreationDate?: string;
|
|
3305
|
-
bondMembershipID?: number;
|
|
3306
|
-
}
|
|
3307
|
-
export declare class AddFamilyDto {
|
|
3308
|
-
parents: AddImportedCustomerDto[];
|
|
3309
|
-
children: AddImportedCustomerDto[];
|
|
3310
|
-
}
|
|
3311
3308
|
export declare class ImportedSlotProductDto {
|
|
3312
3309
|
slotID?: string;
|
|
3313
3310
|
name?: string;
|
|
@@ -3359,19 +3356,6 @@ export declare class ImportedReservationDto {
|
|
|
3359
3356
|
slots?: ImportedSlotDto[];
|
|
3360
3357
|
addons?: ImportedSlotProductDto[];
|
|
3361
3358
|
}
|
|
3362
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3363
|
-
entityType: string;
|
|
3364
|
-
entityId: number;
|
|
3365
|
-
}
|
|
3366
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
|
-
matchId: number | null;
|
|
3368
|
-
ordinal: number | null;
|
|
3369
|
-
outcomeOrdinal: number | null;
|
|
3370
|
-
resultMetaData: any | null;
|
|
3371
|
-
points: number | null;
|
|
3372
|
-
score: number | null;
|
|
3373
|
-
gameSlotId: number | null;
|
|
3374
|
-
}
|
|
3375
3359
|
export declare class Matches extends BondBaseEntity {
|
|
3376
3360
|
eventId: number | null;
|
|
3377
3361
|
status: number | null;
|
|
@@ -3687,13 +3671,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3687
3671
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3688
3672
|
totalAmountProcessed: number;
|
|
3689
3673
|
}
|
|
3690
|
-
export declare class MaintenanceDto {
|
|
3691
|
-
id?: number;
|
|
3692
|
-
title: string;
|
|
3693
|
-
durationValue: number;
|
|
3694
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3695
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3696
|
-
}
|
|
3697
3674
|
export declare class LineItemDto {
|
|
3698
3675
|
id?: number;
|
|
3699
3676
|
orderId?: number;
|
|
@@ -3720,6 +3697,13 @@ export declare class LineItemDto {
|
|
|
3720
3697
|
unitTaxPrice?: number;
|
|
3721
3698
|
parentOrdinal?: number;
|
|
3722
3699
|
}
|
|
3700
|
+
export declare class MaintenanceDto {
|
|
3701
|
+
id?: number;
|
|
3702
|
+
title: string;
|
|
3703
|
+
durationValue: number;
|
|
3704
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3705
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3706
|
+
}
|
|
3723
3707
|
export declare class OrderDto {
|
|
3724
3708
|
orderId?: string | null;
|
|
3725
3709
|
organizationId: number;
|
|
@@ -3889,13 +3873,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3889
3873
|
export declare class UpdateSlotsDto {
|
|
3890
3874
|
slots: SlotDto[];
|
|
3891
3875
|
}
|
|
3892
|
-
export declare class
|
|
3876
|
+
export declare class EditSlotsRefundMetaDto {
|
|
3893
3877
|
lineItems: RefundLineItemAmountDto[];
|
|
3894
3878
|
paymentMethods: PaymentMethodDto[];
|
|
3895
3879
|
reasonId: number;
|
|
3896
3880
|
}
|
|
3897
3881
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3898
|
-
refundMeta?:
|
|
3882
|
+
refundMeta?: EditSlotsRefundMetaDto;
|
|
3899
3883
|
}
|
|
3900
3884
|
export declare class EditReservationDetailsDto {
|
|
3901
3885
|
name: string;
|
|
@@ -3908,17 +3892,6 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3908
3892
|
export declare class AddAddonsDto {
|
|
3909
3893
|
addons: ProductPricesDto[];
|
|
3910
3894
|
}
|
|
3911
|
-
export declare class EditAddonsDto {
|
|
3912
|
-
addons: EditAddonDto[];
|
|
3913
|
-
}
|
|
3914
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3915
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3916
|
-
}
|
|
3917
|
-
export declare class EditAddonDto {
|
|
3918
|
-
id: number;
|
|
3919
|
-
unitPrice?: number;
|
|
3920
|
-
quantity?: number;
|
|
3921
|
-
}
|
|
3922
3895
|
export declare class SegmentDto {
|
|
3923
3896
|
id?: number;
|
|
3924
3897
|
title: string;
|
|
@@ -4095,7 +4068,13 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4095
4068
|
forms?: number[] | null;
|
|
4096
4069
|
answerTitleIds?: number[] | null;
|
|
4097
4070
|
segments?: Segment[];
|
|
4071
|
+
addonsProductUserIds?: number[] | null;
|
|
4098
4072
|
migrationStatus?: string;
|
|
4073
|
+
addonsMetadata: {
|
|
4074
|
+
productId: number;
|
|
4075
|
+
price?: number;
|
|
4076
|
+
quantity: number;
|
|
4077
|
+
}[];
|
|
4099
4078
|
addons: Addon[];
|
|
4100
4079
|
overrideProductsPrice: {
|
|
4101
4080
|
productId: number;
|
|
@@ -4363,6 +4342,7 @@ export interface SingleReservation {
|
|
|
4363
4342
|
paymentStatus: PaymentStatusEnum;
|
|
4364
4343
|
reservationType: ReservationTypeEnum;
|
|
4365
4344
|
sports: number[];
|
|
4345
|
+
addonsProductUserIds: number[];
|
|
4366
4346
|
facilityId?: number;
|
|
4367
4347
|
customerId: number;
|
|
4368
4348
|
customer?: Customer;
|
|
@@ -4389,39 +4369,26 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4389
4369
|
order: OrderDto;
|
|
4390
4370
|
debug?: any;
|
|
4391
4371
|
}
|
|
4392
|
-
interface
|
|
4372
|
+
export interface ValidateEditSlotsResult {
|
|
4393
4373
|
nextFinancialStep: FinancialStepEnum;
|
|
4374
|
+
slots: SlotDto[];
|
|
4394
4375
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4376
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4395
4377
|
originalInvoicePrice?: number;
|
|
4396
4378
|
updatedInvoicePrice?: number;
|
|
4397
4379
|
priceChange?: number;
|
|
4398
|
-
}
|
|
4399
|
-
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4400
|
-
slots: SlotDto[];
|
|
4401
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4402
4380
|
editData?: EditSlotsData;
|
|
4403
4381
|
}
|
|
4404
|
-
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4405
|
-
refundMetadata?: EditAddonsRefundMetadata;
|
|
4406
|
-
editData?: EditAddonsData;
|
|
4407
|
-
}
|
|
4408
4382
|
export interface EditSlotsRefundMetadata {
|
|
4409
4383
|
lineItems: SlotsLineItemData[];
|
|
4410
4384
|
refundAmount: number;
|
|
4411
4385
|
}
|
|
4412
|
-
export interface EditAddonsRefundMetadata {
|
|
4413
|
-
lineItems: AddonsLineItemData[];
|
|
4414
|
-
refundAmount: number;
|
|
4415
|
-
}
|
|
4416
4386
|
export interface EditSlotsData {
|
|
4417
4387
|
order?: Order;
|
|
4418
4388
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4419
4389
|
newLineItems?: LineItemDto[];
|
|
4420
4390
|
}
|
|
4421
|
-
export interface
|
|
4422
|
-
order?: Order;
|
|
4423
|
-
}
|
|
4424
|
-
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4391
|
+
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4425
4392
|
refundResult?: RefundResult;
|
|
4426
4393
|
}
|
|
4427
4394
|
export declare class ChangeRolePermissionsDto {
|
|
@@ -4513,3 +4480,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4513
4480
|
closingManager?: User;
|
|
4514
4481
|
reconcilingUser?: User;
|
|
4515
4482
|
}
|
|
4483
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
4484
|
+
entityType: string;
|
|
4485
|
+
entityId: number;
|
|
4486
|
+
}
|
|
4487
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
4488
|
+
matchId: number | null;
|
|
4489
|
+
ordinal: number | null;
|
|
4490
|
+
outcomeOrdinal: number | null;
|
|
4491
|
+
resultMetaData: any | null;
|
|
4492
|
+
points: number | null;
|
|
4493
|
+
score: number | null;
|
|
4494
|
+
gameSlotId: number | null;
|
|
4495
|
+
}
|