@bondsports/types 0.0.52 → 0.0.55
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 +154 -155
- 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
|
@@ -27,6 +27,64 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
+
membershipId: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ImportProductsFromDB {
|
|
34
|
+
buDate: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class ImportCustomerFromCSV {
|
|
37
|
+
fileName: string;
|
|
38
|
+
startIndex?: number;
|
|
39
|
+
}
|
|
40
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
+
resolveInvoices: string;
|
|
42
|
+
}
|
|
43
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
+
membershipId: number;
|
|
45
|
+
onlyDashIds: string;
|
|
46
|
+
}
|
|
47
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
+
facilityId: number;
|
|
49
|
+
}
|
|
50
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
+
customerId: number;
|
|
52
|
+
}
|
|
53
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
+
nameSearch?: string;
|
|
55
|
+
fuzzy?: string;
|
|
56
|
+
customerType?: CustomerTypeEnum;
|
|
57
|
+
customersIds?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare class AddCustomerNotesDto {
|
|
60
|
+
customerNotes: CustomerNoteDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class CustomerNoteDto {
|
|
63
|
+
id?: number;
|
|
64
|
+
description: string;
|
|
65
|
+
pinToTop?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export declare class AddEditCustomerDto {
|
|
68
|
+
firstName?: string;
|
|
69
|
+
lastName?: string;
|
|
70
|
+
entityId?: number;
|
|
71
|
+
entityType?: CustomerTypeEnum;
|
|
72
|
+
email?: string;
|
|
73
|
+
color?: string;
|
|
74
|
+
street?: string;
|
|
75
|
+
city?: string;
|
|
76
|
+
state?: string;
|
|
77
|
+
zip?: string;
|
|
78
|
+
phoneNumber?: string;
|
|
79
|
+
mainMediaId?: number;
|
|
80
|
+
creatorId?: number;
|
|
81
|
+
creatorType?: ResourceNameTypeEnum;
|
|
82
|
+
userCreatorId?: number;
|
|
83
|
+
gender?: GenderEnum;
|
|
84
|
+
birthDate?: string;
|
|
85
|
+
emergencyContactName?: string;
|
|
86
|
+
emergencyContactPhone?: string;
|
|
87
|
+
}
|
|
30
88
|
export declare class FindEventByIdDto {
|
|
31
89
|
eventId: number;
|
|
32
90
|
organizationId: number;
|
|
@@ -171,64 +229,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
171
229
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
172
230
|
nameSearch?: string;
|
|
173
231
|
}
|
|
174
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
175
|
-
membershipId: number;
|
|
176
|
-
}
|
|
177
|
-
export declare class ImportProductsFromDB {
|
|
178
|
-
buDate: string;
|
|
179
|
-
}
|
|
180
|
-
export declare class ImportCustomerFromCSV {
|
|
181
|
-
fileName: string;
|
|
182
|
-
startIndex?: number;
|
|
183
|
-
}
|
|
184
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
185
|
-
resolveInvoices: string;
|
|
186
|
-
}
|
|
187
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
188
|
-
membershipId: number;
|
|
189
|
-
onlyDashIds: string;
|
|
190
|
-
}
|
|
191
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
192
|
-
facilityId: number;
|
|
193
|
-
}
|
|
194
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
195
|
-
customerId: number;
|
|
196
|
-
}
|
|
197
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
198
|
-
nameSearch?: string;
|
|
199
|
-
fuzzy?: string;
|
|
200
|
-
customerType?: CustomerTypeEnum;
|
|
201
|
-
customersIds?: string;
|
|
202
|
-
}
|
|
203
|
-
export declare class AddCustomerNotesDto {
|
|
204
|
-
customerNotes: CustomerNoteDto[];
|
|
205
|
-
}
|
|
206
|
-
export declare class CustomerNoteDto {
|
|
207
|
-
id?: number;
|
|
208
|
-
description: string;
|
|
209
|
-
pinToTop?: boolean;
|
|
210
|
-
}
|
|
211
|
-
export declare class AddEditCustomerDto {
|
|
212
|
-
firstName?: string;
|
|
213
|
-
lastName?: string;
|
|
214
|
-
entityId?: number;
|
|
215
|
-
entityType?: CustomerTypeEnum;
|
|
216
|
-
email?: string;
|
|
217
|
-
color?: string;
|
|
218
|
-
street?: string;
|
|
219
|
-
city?: string;
|
|
220
|
-
state?: string;
|
|
221
|
-
zip?: string;
|
|
222
|
-
phoneNumber?: string;
|
|
223
|
-
mainMediaId?: number;
|
|
224
|
-
creatorId?: number;
|
|
225
|
-
creatorType?: ResourceNameTypeEnum;
|
|
226
|
-
userCreatorId?: number;
|
|
227
|
-
gender?: GenderEnum;
|
|
228
|
-
birthDate?: string;
|
|
229
|
-
emergencyContactName?: string;
|
|
230
|
-
emergencyContactPhone?: string;
|
|
231
|
-
}
|
|
232
232
|
export declare class FindFamilyAccountsDto {
|
|
233
233
|
userId: number;
|
|
234
234
|
}
|
|
@@ -1111,6 +1111,12 @@ export declare class Address extends BondBaseEntity {
|
|
|
1111
1111
|
geo: any;
|
|
1112
1112
|
deletedAt?: Date;
|
|
1113
1113
|
}
|
|
1114
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1115
|
+
questionnaireId: number;
|
|
1116
|
+
userId?: number;
|
|
1117
|
+
answers: Answer[];
|
|
1118
|
+
questionnaire: Questionnaires;
|
|
1119
|
+
}
|
|
1114
1120
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
1121
|
questionId: number;
|
|
1116
1122
|
question?: Questions;
|
|
@@ -1124,12 +1130,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1124
1130
|
metaData: any | null;
|
|
1125
1131
|
questionText: string | null;
|
|
1126
1132
|
}
|
|
1127
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1128
|
-
questionnaireId: number;
|
|
1129
|
-
userId?: number;
|
|
1130
|
-
answers: Answer[];
|
|
1131
|
-
questionnaire: Questionnaires;
|
|
1132
|
-
}
|
|
1133
1133
|
export declare class Athlete extends BondBaseEntity {
|
|
1134
1134
|
userId: number | null;
|
|
1135
1135
|
metadata: object | null;
|
|
@@ -1288,30 +1288,6 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1288
1288
|
event: Event;
|
|
1289
1289
|
purchasedResource: PurchasedResource;
|
|
1290
1290
|
}
|
|
1291
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1292
|
-
name: string;
|
|
1293
|
-
description?: string;
|
|
1294
|
-
addressId: number;
|
|
1295
|
-
address: Address;
|
|
1296
|
-
amenities?: number[];
|
|
1297
|
-
timezone: string;
|
|
1298
|
-
creatorId: number;
|
|
1299
|
-
creatorType: string;
|
|
1300
|
-
userCreatorId: number;
|
|
1301
|
-
mainMediaId: number;
|
|
1302
|
-
mainMedia: Media;
|
|
1303
|
-
publishedDate?: Date;
|
|
1304
|
-
isPublished: boolean;
|
|
1305
|
-
sports?: number[];
|
|
1306
|
-
info?: string;
|
|
1307
|
-
longDescription?: string;
|
|
1308
|
-
deletedAt?: Date;
|
|
1309
|
-
openingTimes: OpeningTime[];
|
|
1310
|
-
resources: Resource[];
|
|
1311
|
-
spaces: Resource[];
|
|
1312
|
-
programSeasons: ProgramSeason[];
|
|
1313
|
-
linkSEO: string;
|
|
1314
|
-
}
|
|
1315
1291
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1316
1292
|
constructor();
|
|
1317
1293
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1367,6 +1343,30 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1367
1343
|
slots: Slot[];
|
|
1368
1344
|
purchasedResources: PurchasedResource[];
|
|
1369
1345
|
}
|
|
1346
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
|
+
name: string;
|
|
1348
|
+
description?: string;
|
|
1349
|
+
addressId: number;
|
|
1350
|
+
address: Address;
|
|
1351
|
+
amenities?: number[];
|
|
1352
|
+
timezone: string;
|
|
1353
|
+
creatorId: number;
|
|
1354
|
+
creatorType: string;
|
|
1355
|
+
userCreatorId: number;
|
|
1356
|
+
mainMediaId: number;
|
|
1357
|
+
mainMedia: Media;
|
|
1358
|
+
publishedDate?: Date;
|
|
1359
|
+
isPublished: boolean;
|
|
1360
|
+
sports?: number[];
|
|
1361
|
+
info?: string;
|
|
1362
|
+
longDescription?: string;
|
|
1363
|
+
deletedAt?: Date;
|
|
1364
|
+
openingTimes: OpeningTime[];
|
|
1365
|
+
resources: Resource[];
|
|
1366
|
+
spaces: Resource[];
|
|
1367
|
+
programSeasons: ProgramSeason[];
|
|
1368
|
+
linkSEO: string;
|
|
1369
|
+
}
|
|
1370
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
1371
|
facilityId: number;
|
|
1372
1372
|
resourceId: number;
|
|
@@ -2068,34 +2068,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2068
2068
|
closeTime?: string;
|
|
2069
2069
|
deletedAt?: Date;
|
|
2070
2070
|
}
|
|
2071
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2072
|
-
name: string;
|
|
2073
|
-
resourceType: ResourceTypeEnum;
|
|
2074
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2075
|
-
description?: string;
|
|
2076
|
-
longDescription?: string;
|
|
2077
|
-
surface?: SurfacesEnum;
|
|
2078
|
-
properties?: SpacePropertiesEnum[];
|
|
2079
|
-
mainMediaId?: number;
|
|
2080
|
-
mainMedia: Media;
|
|
2081
|
-
sports: SportsEnum[];
|
|
2082
|
-
width?: number;
|
|
2083
|
-
length?: number;
|
|
2084
|
-
amenities?: AmenitiesEnum[];
|
|
2085
|
-
parentSpaceId?: number;
|
|
2086
|
-
ordinal?: number;
|
|
2087
|
-
isAddOn: boolean;
|
|
2088
|
-
ages?: ResourceAgesEnum;
|
|
2089
|
-
deletedAt?: Date;
|
|
2090
|
-
activityTimes: ActivityTimes[];
|
|
2091
|
-
facilities: Facility[];
|
|
2092
|
-
slots?: Slot[];
|
|
2093
|
-
addons?: Addon[];
|
|
2094
|
-
facilityId: number;
|
|
2095
|
-
facility: Facility;
|
|
2096
|
-
purchasedResources: PurchasedResource[];
|
|
2097
|
-
linkSEO: string;
|
|
2098
|
-
}
|
|
2099
2071
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2100
2072
|
name?: string;
|
|
2101
2073
|
description?: string;
|
|
@@ -2128,6 +2100,34 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2128
2100
|
publicNotes?: string;
|
|
2129
2101
|
slots?: Slot[];
|
|
2130
2102
|
}
|
|
2103
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2104
|
+
name: string;
|
|
2105
|
+
resourceType: ResourceTypeEnum;
|
|
2106
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2107
|
+
description?: string;
|
|
2108
|
+
longDescription?: string;
|
|
2109
|
+
surface?: SurfacesEnum;
|
|
2110
|
+
properties?: SpacePropertiesEnum[];
|
|
2111
|
+
mainMediaId?: number;
|
|
2112
|
+
mainMedia: Media;
|
|
2113
|
+
sports: SportsEnum[];
|
|
2114
|
+
width?: number;
|
|
2115
|
+
length?: number;
|
|
2116
|
+
amenities?: AmenitiesEnum[];
|
|
2117
|
+
parentSpaceId?: number;
|
|
2118
|
+
ordinal?: number;
|
|
2119
|
+
isAddOn: boolean;
|
|
2120
|
+
ages?: ResourceAgesEnum;
|
|
2121
|
+
deletedAt?: Date;
|
|
2122
|
+
activityTimes: ActivityTimes[];
|
|
2123
|
+
facilities: Facility[];
|
|
2124
|
+
slots?: Slot[];
|
|
2125
|
+
addons?: Addon[];
|
|
2126
|
+
facilityId: number;
|
|
2127
|
+
facility: Facility;
|
|
2128
|
+
purchasedResources: PurchasedResource[];
|
|
2129
|
+
linkSEO: string;
|
|
2130
|
+
}
|
|
2131
2131
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
2132
|
name: string;
|
|
2133
2133
|
facilityId: number;
|
|
@@ -3251,15 +3251,6 @@ export declare class AddFamilyDto {
|
|
|
3251
3251
|
parents: AddImportedCustomerDto[];
|
|
3252
3252
|
children: AddImportedCustomerDto[];
|
|
3253
3253
|
}
|
|
3254
|
-
export declare class ProductIdsDto {
|
|
3255
|
-
productIds?: number[];
|
|
3256
|
-
}
|
|
3257
|
-
export declare class ProductImportDto {
|
|
3258
|
-
product: Product;
|
|
3259
|
-
prices: Price[];
|
|
3260
|
-
resourceIds: number[];
|
|
3261
|
-
oldId: number;
|
|
3262
|
-
}
|
|
3263
3254
|
export declare enum ImportPaymentTypeEnum {
|
|
3264
3255
|
CREDIT_CARD = "card",
|
|
3265
3256
|
ACH = "ach",
|
|
@@ -3295,6 +3286,15 @@ export declare class ImportedPaymentDto {
|
|
|
3295
3286
|
date: string;
|
|
3296
3287
|
time: string;
|
|
3297
3288
|
}
|
|
3289
|
+
export declare class ProductIdsDto {
|
|
3290
|
+
productIds?: number[];
|
|
3291
|
+
}
|
|
3292
|
+
export declare class ProductImportDto {
|
|
3293
|
+
product: Product;
|
|
3294
|
+
prices: Price[];
|
|
3295
|
+
resourceIds: number[];
|
|
3296
|
+
oldId: number;
|
|
3297
|
+
}
|
|
3298
3298
|
export declare class PunchPassDto {
|
|
3299
3299
|
CustomerID: string;
|
|
3300
3300
|
QuantityLeft: number;
|
|
@@ -3621,6 +3621,32 @@ export declare class VoidLineItemDto {
|
|
|
3621
3621
|
isEdit?: boolean;
|
|
3622
3622
|
amount?: number;
|
|
3623
3623
|
}
|
|
3624
|
+
export declare class LineItemDto {
|
|
3625
|
+
id?: number;
|
|
3626
|
+
orderId?: number;
|
|
3627
|
+
type: LineItemsStatusEnum;
|
|
3628
|
+
organizationId: number;
|
|
3629
|
+
userId?: number;
|
|
3630
|
+
productId: number;
|
|
3631
|
+
product?: Product;
|
|
3632
|
+
productType: ProductTypesEnum;
|
|
3633
|
+
ordinal?: number;
|
|
3634
|
+
price: number;
|
|
3635
|
+
originalPrice?: number;
|
|
3636
|
+
paidAmount?: number;
|
|
3637
|
+
currency: CurrencyEnum;
|
|
3638
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3639
|
+
isRefunded?: boolean;
|
|
3640
|
+
isTaxInclusive?: boolean;
|
|
3641
|
+
taxPrecent?: number;
|
|
3642
|
+
unitPrice?: number;
|
|
3643
|
+
quantity: number;
|
|
3644
|
+
resources?: PurchasedResourceDto[];
|
|
3645
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3646
|
+
unitPriceWithTax?: number;
|
|
3647
|
+
unitTaxPrice?: number;
|
|
3648
|
+
parentOrdinal?: number;
|
|
3649
|
+
}
|
|
3624
3650
|
export declare class MaintenanceDto {
|
|
3625
3651
|
id?: number;
|
|
3626
3652
|
title: string;
|
|
@@ -3677,32 +3703,6 @@ export declare class PurchasedResourceDto {
|
|
|
3677
3703
|
endDate?: string;
|
|
3678
3704
|
endTime?: string;
|
|
3679
3705
|
}
|
|
3680
|
-
export declare class LineItemDto {
|
|
3681
|
-
id?: number;
|
|
3682
|
-
orderId?: number;
|
|
3683
|
-
type: LineItemsStatusEnum;
|
|
3684
|
-
organizationId: number;
|
|
3685
|
-
userId?: number;
|
|
3686
|
-
productId: number;
|
|
3687
|
-
product?: Product;
|
|
3688
|
-
productType: ProductTypesEnum;
|
|
3689
|
-
ordinal?: number;
|
|
3690
|
-
price: number;
|
|
3691
|
-
originalPrice?: number;
|
|
3692
|
-
paidAmount?: number;
|
|
3693
|
-
currency: CurrencyEnum;
|
|
3694
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3695
|
-
isRefunded?: boolean;
|
|
3696
|
-
isTaxInclusive?: boolean;
|
|
3697
|
-
taxPrecent?: number;
|
|
3698
|
-
unitPrice?: number;
|
|
3699
|
-
quantity: number;
|
|
3700
|
-
resources?: PurchasedResourceDto[];
|
|
3701
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3702
|
-
unitPriceWithTax?: number;
|
|
3703
|
-
unitTaxPrice?: number;
|
|
3704
|
-
parentOrdinal?: number;
|
|
3705
|
-
}
|
|
3706
3706
|
export declare class ReservationDto {
|
|
3707
3707
|
id?: number;
|
|
3708
3708
|
organizationId?: number;
|
|
@@ -3833,7 +3833,6 @@ export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
|
3833
3833
|
}
|
|
3834
3834
|
export declare class EditReservationDetailsDto {
|
|
3835
3835
|
name: string;
|
|
3836
|
-
activityType: SportsEnum;
|
|
3837
3836
|
publicNotes?: string;
|
|
3838
3837
|
privateNotes?: string;
|
|
3839
3838
|
}
|
|
@@ -4157,6 +4156,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4157
4156
|
role: Role;
|
|
4158
4157
|
user: User;
|
|
4159
4158
|
}
|
|
4159
|
+
export declare class CloseShiftDto {
|
|
4160
|
+
closingCashAmount: number;
|
|
4161
|
+
}
|
|
4160
4162
|
export declare class FindShiftsByIdsDto {
|
|
4161
4163
|
shiftIds: number[];
|
|
4162
4164
|
}
|
|
@@ -4191,9 +4193,6 @@ export declare class OpenShiftDto {
|
|
|
4191
4193
|
openingCashAmount: number;
|
|
4192
4194
|
stationId: number;
|
|
4193
4195
|
}
|
|
4194
|
-
export declare class CloseShiftDto {
|
|
4195
|
-
closingCashAmount: number;
|
|
4196
|
-
}
|
|
4197
4196
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4198
4197
|
stationId: number;
|
|
4199
4198
|
station?: Station;
|