@bondsports/types 0.0.50 → 0.0.53
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 +139 -139
- 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,64 +27,6 @@ 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
|
-
}
|
|
88
30
|
export declare class FindEventByIdDto {
|
|
89
31
|
eventId: number;
|
|
90
32
|
organizationId: number;
|
|
@@ -186,6 +128,64 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
128
|
isWaiverSigned?: string;
|
|
187
129
|
statuses?: string;
|
|
188
130
|
}
|
|
131
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
132
|
+
membershipId: number;
|
|
133
|
+
}
|
|
134
|
+
export declare class ImportProductsFromDB {
|
|
135
|
+
buDate: string;
|
|
136
|
+
}
|
|
137
|
+
export declare class ImportCustomerFromCSV {
|
|
138
|
+
fileName: string;
|
|
139
|
+
startIndex?: number;
|
|
140
|
+
}
|
|
141
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
142
|
+
resolveInvoices: string;
|
|
143
|
+
}
|
|
144
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
145
|
+
membershipId: number;
|
|
146
|
+
onlyDashIds: string;
|
|
147
|
+
}
|
|
148
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
149
|
+
facilityId: number;
|
|
150
|
+
}
|
|
151
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
152
|
+
customerId: number;
|
|
153
|
+
}
|
|
154
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
155
|
+
nameSearch?: string;
|
|
156
|
+
fuzzy?: string;
|
|
157
|
+
customerType?: CustomerTypeEnum;
|
|
158
|
+
customersIds?: string;
|
|
159
|
+
}
|
|
160
|
+
export declare class AddCustomerNotesDto {
|
|
161
|
+
customerNotes: CustomerNoteDto[];
|
|
162
|
+
}
|
|
163
|
+
export declare class CustomerNoteDto {
|
|
164
|
+
id?: number;
|
|
165
|
+
description: string;
|
|
166
|
+
pinToTop?: boolean;
|
|
167
|
+
}
|
|
168
|
+
export declare class AddEditCustomerDto {
|
|
169
|
+
firstName?: string;
|
|
170
|
+
lastName?: string;
|
|
171
|
+
entityId?: number;
|
|
172
|
+
entityType?: CustomerTypeEnum;
|
|
173
|
+
email?: string;
|
|
174
|
+
color?: string;
|
|
175
|
+
street?: string;
|
|
176
|
+
city?: string;
|
|
177
|
+
state?: string;
|
|
178
|
+
zip?: string;
|
|
179
|
+
phoneNumber?: string;
|
|
180
|
+
mainMediaId?: number;
|
|
181
|
+
creatorId?: number;
|
|
182
|
+
creatorType?: ResourceNameTypeEnum;
|
|
183
|
+
userCreatorId?: number;
|
|
184
|
+
gender?: GenderEnum;
|
|
185
|
+
birthDate?: string;
|
|
186
|
+
emergencyContactName?: string;
|
|
187
|
+
emergencyContactPhone?: string;
|
|
188
|
+
}
|
|
189
189
|
export declare class AddressDto {
|
|
190
190
|
city: string;
|
|
191
191
|
state: string;
|
|
@@ -229,28 +229,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
229
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
230
|
nameSearch?: string;
|
|
231
231
|
}
|
|
232
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
233
|
-
organizationId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class GetGlCodeDto {
|
|
236
|
-
id: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
code: string;
|
|
239
|
-
createdAt: Date;
|
|
240
|
-
updatedAt: Date;
|
|
241
|
-
}
|
|
242
|
-
export declare class FindOneParams {
|
|
243
|
-
id: number;
|
|
244
|
-
}
|
|
245
|
-
export declare class PaginationQuery {
|
|
246
|
-
page: number;
|
|
247
|
-
itemsPerPage: number;
|
|
248
|
-
}
|
|
249
|
-
export declare class PaginationRangeQuery {
|
|
250
|
-
startPage: number;
|
|
251
|
-
endPage: number;
|
|
252
|
-
itemsPerPage: number;
|
|
253
|
-
}
|
|
254
232
|
export declare class FindFamilyAccountsDto {
|
|
255
233
|
userId: number;
|
|
256
234
|
}
|
|
@@ -283,6 +261,28 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
283
261
|
userId: number;
|
|
284
262
|
familyAccountId: number;
|
|
285
263
|
}
|
|
264
|
+
export declare class FindOneParams {
|
|
265
|
+
id: number;
|
|
266
|
+
}
|
|
267
|
+
export declare class PaginationQuery {
|
|
268
|
+
page: number;
|
|
269
|
+
itemsPerPage: number;
|
|
270
|
+
}
|
|
271
|
+
export declare class PaginationRangeQuery {
|
|
272
|
+
startPage: number;
|
|
273
|
+
endPage: number;
|
|
274
|
+
itemsPerPage: number;
|
|
275
|
+
}
|
|
276
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
+
organizationId: number;
|
|
278
|
+
}
|
|
279
|
+
export declare class GetGlCodeDto {
|
|
280
|
+
id: number;
|
|
281
|
+
organizationId: number;
|
|
282
|
+
code: string;
|
|
283
|
+
createdAt: Date;
|
|
284
|
+
updatedAt: Date;
|
|
285
|
+
}
|
|
286
286
|
export declare class FindByProgramSeasonIdDto {
|
|
287
287
|
seasonId: number;
|
|
288
288
|
}
|
|
@@ -1065,6 +1065,28 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1065
1065
|
publicToken: string;
|
|
1066
1066
|
accountId: string;
|
|
1067
1067
|
}
|
|
1068
|
+
export declare class FindByUserIdDto {
|
|
1069
|
+
userId: number;
|
|
1070
|
+
}
|
|
1071
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
+
familyAccountId?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1075
|
+
organizationId: number;
|
|
1076
|
+
}
|
|
1077
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1078
|
+
entityType: ResourceNameTypeEnum;
|
|
1079
|
+
entityId: number;
|
|
1080
|
+
organizationId?: number;
|
|
1081
|
+
userId?: number;
|
|
1082
|
+
customerId?: number;
|
|
1083
|
+
performingUserId: number;
|
|
1084
|
+
description: string;
|
|
1085
|
+
actionType: ActionTypesEnum;
|
|
1086
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
+
oldValue?: any;
|
|
1088
|
+
newValue?: any;
|
|
1089
|
+
}
|
|
1068
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1069
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1070
1092
|
parentId: number;
|
|
@@ -1078,6 +1100,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1078
1100
|
proudct: Product;
|
|
1079
1101
|
event: Event;
|
|
1080
1102
|
}
|
|
1103
|
+
export declare class Address extends BondBaseEntity {
|
|
1104
|
+
city?: string;
|
|
1105
|
+
street?: string;
|
|
1106
|
+
streetNum?: string;
|
|
1107
|
+
aptNum?: string;
|
|
1108
|
+
zip?: string;
|
|
1109
|
+
country?: string;
|
|
1110
|
+
state?: string;
|
|
1111
|
+
geo: any;
|
|
1112
|
+
deletedAt?: Date;
|
|
1113
|
+
}
|
|
1081
1114
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1082
1115
|
questionId: number;
|
|
1083
1116
|
question?: Questions;
|
|
@@ -1091,17 +1124,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1091
1124
|
metaData: any | null;
|
|
1092
1125
|
questionText: string | null;
|
|
1093
1126
|
}
|
|
1094
|
-
export declare class Address extends BondBaseEntity {
|
|
1095
|
-
city?: string;
|
|
1096
|
-
street?: string;
|
|
1097
|
-
streetNum?: string;
|
|
1098
|
-
aptNum?: string;
|
|
1099
|
-
zip?: string;
|
|
1100
|
-
country?: string;
|
|
1101
|
-
state?: string;
|
|
1102
|
-
geo: any;
|
|
1103
|
-
deletedAt?: Date;
|
|
1104
|
-
}
|
|
1105
1127
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1106
1128
|
questionnaireId: number;
|
|
1107
1129
|
userId?: number;
|
|
@@ -1224,6 +1246,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1224
1246
|
order: Order;
|
|
1225
1247
|
invoice: Invoice;
|
|
1226
1248
|
}
|
|
1249
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
+
customerId?: number;
|
|
1251
|
+
description: string;
|
|
1252
|
+
pinToTop?: boolean;
|
|
1253
|
+
customer: Customer;
|
|
1254
|
+
}
|
|
1227
1255
|
export declare class Division extends BondBaseEntity {
|
|
1228
1256
|
name: string;
|
|
1229
1257
|
ordinal?: number;
|
|
@@ -1238,12 +1266,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1238
1266
|
phoneNumber: string | null;
|
|
1239
1267
|
customer: Customer;
|
|
1240
1268
|
}
|
|
1241
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1242
|
-
customerId?: number;
|
|
1243
|
-
description: string;
|
|
1244
|
-
pinToTop?: boolean;
|
|
1245
|
-
customer: Customer;
|
|
1246
|
-
}
|
|
1247
1269
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1248
1270
|
name: string | null;
|
|
1249
1271
|
}
|
|
@@ -1251,6 +1273,21 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1251
1273
|
groupId: number;
|
|
1252
1274
|
terms: IEntitlementTerms[];
|
|
1253
1275
|
}
|
|
1276
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
|
+
status: RequestStatusEnum | null;
|
|
1278
|
+
hasPaid: boolean | null;
|
|
1279
|
+
paymentId: number | null;
|
|
1280
|
+
attendeeId: number;
|
|
1281
|
+
eventId?: number | null;
|
|
1282
|
+
productUserId?: number;
|
|
1283
|
+
answerTitleIds?: number[];
|
|
1284
|
+
entryStatus?: EntryStatusEnum;
|
|
1285
|
+
addonProductUserIds?: number[];
|
|
1286
|
+
deletedAt?: Date;
|
|
1287
|
+
attendee: User;
|
|
1288
|
+
event: Event;
|
|
1289
|
+
purchasedResource: PurchasedResource;
|
|
1290
|
+
}
|
|
1254
1291
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1255
1292
|
constructor();
|
|
1256
1293
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1330,21 +1367,6 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1330
1367
|
programSeasons: ProgramSeason[];
|
|
1331
1368
|
linkSEO: string;
|
|
1332
1369
|
}
|
|
1333
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1334
|
-
status: RequestStatusEnum | null;
|
|
1335
|
-
hasPaid: boolean | null;
|
|
1336
|
-
paymentId: number | null;
|
|
1337
|
-
attendeeId: number;
|
|
1338
|
-
eventId?: number | null;
|
|
1339
|
-
productUserId?: number;
|
|
1340
|
-
answerTitleIds?: number[];
|
|
1341
|
-
entryStatus?: EntryStatusEnum;
|
|
1342
|
-
addonProductUserIds?: number[];
|
|
1343
|
-
deletedAt?: Date;
|
|
1344
|
-
attendee: User;
|
|
1345
|
-
event: Event;
|
|
1346
|
-
purchasedResource: PurchasedResource;
|
|
1347
|
-
}
|
|
1348
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1349
1371
|
facilityId: number;
|
|
1350
1372
|
resourceId: number;
|
|
@@ -1395,6 +1417,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1395
1417
|
discountMethod?: DiscountMethodsEnum;
|
|
1396
1418
|
discountValue?: number;
|
|
1397
1419
|
}
|
|
1420
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
+
groupId: number;
|
|
1422
|
+
divisionId: number;
|
|
1423
|
+
deletedAt?: Date;
|
|
1424
|
+
}
|
|
1398
1425
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1399
1426
|
price: number;
|
|
1400
1427
|
paymentProcessorId: string;
|
|
@@ -1422,11 +1449,6 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1422
1449
|
refundReasonId?: number;
|
|
1423
1450
|
refundNote?: string;
|
|
1424
1451
|
}
|
|
1425
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1426
|
-
groupId: number;
|
|
1427
|
-
divisionId: number;
|
|
1428
|
-
deletedAt?: Date;
|
|
1429
|
-
}
|
|
1430
1452
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1431
1453
|
email: string;
|
|
1432
1454
|
status: EEmailStatus;
|
|
@@ -1671,15 +1693,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1671
1693
|
resourceId: number | null;
|
|
1672
1694
|
resourceType: string | null;
|
|
1673
1695
|
}
|
|
1674
|
-
export declare class FindByUserIdDto {
|
|
1675
|
-
userId: number;
|
|
1676
|
-
}
|
|
1677
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1678
|
-
familyAccountId?: number;
|
|
1679
|
-
}
|
|
1680
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1681
|
-
organizationId: number;
|
|
1682
|
-
}
|
|
1683
1696
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1684
1697
|
id: number;
|
|
1685
1698
|
dayOfWeek: number;
|
|
@@ -3219,19 +3232,6 @@ export interface IReservationCreatorData {
|
|
|
3219
3232
|
endDate: string;
|
|
3220
3233
|
sportId: number;
|
|
3221
3234
|
}
|
|
3222
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
3223
|
-
entityType: ResourceNameTypeEnum;
|
|
3224
|
-
entityId: number;
|
|
3225
|
-
organizationId?: number;
|
|
3226
|
-
userId?: number;
|
|
3227
|
-
customerId?: number;
|
|
3228
|
-
performingUserId: number;
|
|
3229
|
-
description: string;
|
|
3230
|
-
actionType: ActionTypesEnum;
|
|
3231
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
3232
|
-
oldValue?: any;
|
|
3233
|
-
newValue?: any;
|
|
3234
|
-
}
|
|
3235
3235
|
export declare class ColumnNumericTransformer {
|
|
3236
3236
|
to(data: number): number;
|
|
3237
3237
|
from(data: string): number;
|