@bondsports/types 0.0.113 → 0.0.114
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 +127 -125
- 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
|
@@ -2,6 +2,13 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
+
export declare class BasicActivityTimesDto {
|
|
6
|
+
dayOfWeek: number;
|
|
7
|
+
close: string;
|
|
8
|
+
open: string;
|
|
9
|
+
availabilityStartDate?: string;
|
|
10
|
+
availabilityEndDate?: string;
|
|
11
|
+
}
|
|
5
12
|
export declare class QuestionAnswersDto {
|
|
6
13
|
questionId: number;
|
|
7
14
|
value: any;
|
|
@@ -284,12 +291,78 @@ export declare class GetGlCodeDto {
|
|
|
284
291
|
createdAt: Date;
|
|
285
292
|
updatedAt: Date;
|
|
286
293
|
}
|
|
287
|
-
export declare class
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
294
|
+
export declare class FindByProgramSeasonIdDto {
|
|
295
|
+
seasonId: number;
|
|
296
|
+
}
|
|
297
|
+
export declare class CreateBulkDivisionsDto {
|
|
298
|
+
divisions: CreateDivisionDto[];
|
|
299
|
+
}
|
|
300
|
+
export declare class CreateDivisionDto {
|
|
301
|
+
name: string;
|
|
302
|
+
ordinal?: number;
|
|
303
|
+
programSeasonId: number;
|
|
304
|
+
color: string;
|
|
305
|
+
isDefault: boolean;
|
|
306
|
+
}
|
|
307
|
+
export declare class CreateGroupDto {
|
|
308
|
+
name: string;
|
|
309
|
+
description?: string;
|
|
310
|
+
status?: GroupStatusEnum;
|
|
311
|
+
maxCapacity?: number;
|
|
312
|
+
mainMediaId?: number;
|
|
313
|
+
minAgeYears?: number;
|
|
314
|
+
maxAgeYears?: number;
|
|
315
|
+
gender: GenderEnum;
|
|
316
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
317
|
+
sports: SportsEnum[];
|
|
318
|
+
questionnaires?: number[];
|
|
319
|
+
captainUserId?: number;
|
|
320
|
+
divisionId?: number;
|
|
321
|
+
}
|
|
322
|
+
export declare class ConnectGroupToDivision {
|
|
323
|
+
groupId: number;
|
|
324
|
+
divisionId: number;
|
|
325
|
+
prevDivisionId: number;
|
|
326
|
+
}
|
|
327
|
+
export declare class MoveUserInGroups {
|
|
328
|
+
userId: number;
|
|
329
|
+
groupId?: number;
|
|
330
|
+
prevGroupId?: number;
|
|
331
|
+
}
|
|
332
|
+
export declare class SaveUserAsGroupCaptain {
|
|
333
|
+
groupId: number;
|
|
334
|
+
userId: number;
|
|
335
|
+
}
|
|
336
|
+
export declare class CreateTeamInviteDto {
|
|
337
|
+
emails: string[];
|
|
338
|
+
userCreatorId: number;
|
|
339
|
+
}
|
|
340
|
+
export declare class TeamByIdDto {
|
|
341
|
+
teamId: number;
|
|
342
|
+
}
|
|
343
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
344
|
+
inviteToken: string;
|
|
345
|
+
}
|
|
346
|
+
export declare class JoinTeamDto {
|
|
347
|
+
userId: number;
|
|
348
|
+
inviteToken?: string;
|
|
349
|
+
}
|
|
350
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
351
|
+
userId: number;
|
|
352
|
+
}
|
|
353
|
+
export interface IMoveSeason {
|
|
354
|
+
fromSeasonId: number;
|
|
355
|
+
toSeasonId: number;
|
|
356
|
+
}
|
|
357
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
358
|
+
teamId?: number;
|
|
359
|
+
memberId?: number;
|
|
360
|
+
fromSeasonId: number;
|
|
361
|
+
toSeasonId: number;
|
|
362
|
+
toDivisionId?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
|
+
fileName: string;
|
|
293
366
|
}
|
|
294
367
|
export declare class CreateMembershipDto {
|
|
295
368
|
organizationId: number;
|
|
@@ -389,79 +462,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
389
462
|
discountValue?: number;
|
|
390
463
|
discountMethod?: DiscountMethodsEnum;
|
|
391
464
|
}
|
|
392
|
-
export declare class FindByProgramSeasonIdDto {
|
|
393
|
-
seasonId: number;
|
|
394
|
-
}
|
|
395
|
-
export declare class CreateBulkDivisionsDto {
|
|
396
|
-
divisions: CreateDivisionDto[];
|
|
397
|
-
}
|
|
398
|
-
export declare class CreateDivisionDto {
|
|
399
|
-
name: string;
|
|
400
|
-
ordinal?: number;
|
|
401
|
-
programSeasonId: number;
|
|
402
|
-
color: string;
|
|
403
|
-
isDefault: boolean;
|
|
404
|
-
}
|
|
405
|
-
export declare class CreateGroupDto {
|
|
406
|
-
name: string;
|
|
407
|
-
description?: string;
|
|
408
|
-
status?: GroupStatusEnum;
|
|
409
|
-
maxCapacity?: number;
|
|
410
|
-
mainMediaId?: number;
|
|
411
|
-
minAgeYears?: number;
|
|
412
|
-
maxAgeYears?: number;
|
|
413
|
-
gender: GenderEnum;
|
|
414
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
415
|
-
sports: SportsEnum[];
|
|
416
|
-
questionnaires?: number[];
|
|
417
|
-
captainUserId?: number;
|
|
418
|
-
divisionId?: number;
|
|
419
|
-
}
|
|
420
|
-
export declare class ConnectGroupToDivision {
|
|
421
|
-
groupId: number;
|
|
422
|
-
divisionId: number;
|
|
423
|
-
prevDivisionId: number;
|
|
424
|
-
}
|
|
425
|
-
export declare class MoveUserInGroups {
|
|
426
|
-
userId: number;
|
|
427
|
-
groupId?: number;
|
|
428
|
-
prevGroupId?: number;
|
|
429
|
-
}
|
|
430
|
-
export declare class SaveUserAsGroupCaptain {
|
|
431
|
-
groupId: number;
|
|
432
|
-
userId: number;
|
|
433
|
-
}
|
|
434
|
-
export declare class CreateTeamInviteDto {
|
|
435
|
-
emails: string[];
|
|
436
|
-
userCreatorId: number;
|
|
437
|
-
}
|
|
438
|
-
export declare class TeamByIdDto {
|
|
439
|
-
teamId: number;
|
|
440
|
-
}
|
|
441
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
442
|
-
inviteToken: string;
|
|
443
|
-
}
|
|
444
|
-
export declare class JoinTeamDto {
|
|
445
|
-
userId: number;
|
|
446
|
-
inviteToken?: string;
|
|
447
|
-
}
|
|
448
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
449
|
-
userId: number;
|
|
450
|
-
}
|
|
451
|
-
export interface IMoveSeason {
|
|
452
|
-
fromSeasonId: number;
|
|
453
|
-
toSeasonId: number;
|
|
454
|
-
}
|
|
455
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
456
|
-
teamId?: number;
|
|
457
|
-
memberId?: number;
|
|
458
|
-
fromSeasonId: number;
|
|
459
|
-
toSeasonId: number;
|
|
460
|
-
toDivisionId?: number;
|
|
461
|
-
}
|
|
462
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
463
|
-
fileName: string;
|
|
464
|
-
}
|
|
465
465
|
export declare class FindByProductIdDto {
|
|
466
466
|
productId: number;
|
|
467
467
|
}
|
|
@@ -2174,26 +2174,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2174
2174
|
phone: string | null;
|
|
2175
2175
|
dataId: number | null;
|
|
2176
2176
|
}
|
|
2177
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2178
|
-
status: RequestStatusEnum;
|
|
2179
|
-
paymentStatus: PaymentStatusEnum;
|
|
2180
|
-
paymentId?: number;
|
|
2181
|
-
productId?: number;
|
|
2182
|
-
attendeeId: number;
|
|
2183
|
-
attendee: User;
|
|
2184
|
-
seasonId: number;
|
|
2185
|
-
season: ProgramSeason;
|
|
2186
|
-
productUserId?: number;
|
|
2187
|
-
answerTitleIds?: number[];
|
|
2188
|
-
deletedAt?: Date;
|
|
2189
|
-
purchasedResource: PurchasedResource;
|
|
2190
|
-
}
|
|
2191
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2192
|
-
name: string | null;
|
|
2193
|
-
ordinal: number | null;
|
|
2194
|
-
seasonId: number | null;
|
|
2195
|
-
color: string | null;
|
|
2196
|
-
}
|
|
2197
2177
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2198
2178
|
seasonId?: number;
|
|
2199
2179
|
userId?: number;
|
|
@@ -2219,10 +2199,38 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2219
2199
|
metaData: any | null;
|
|
2220
2200
|
team: Team;
|
|
2221
2201
|
}
|
|
2202
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2203
|
+
name: string | null;
|
|
2204
|
+
ordinal: number | null;
|
|
2205
|
+
seasonId: number | null;
|
|
2206
|
+
color: string | null;
|
|
2207
|
+
}
|
|
2208
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2209
|
+
status: RequestStatusEnum;
|
|
2210
|
+
paymentStatus: PaymentStatusEnum;
|
|
2211
|
+
paymentId?: number;
|
|
2212
|
+
productId?: number;
|
|
2213
|
+
attendeeId: number;
|
|
2214
|
+
attendee: User;
|
|
2215
|
+
seasonId: number;
|
|
2216
|
+
season: ProgramSeason;
|
|
2217
|
+
productUserId?: number;
|
|
2218
|
+
answerTitleIds?: number[];
|
|
2219
|
+
deletedAt?: Date;
|
|
2220
|
+
purchasedResource: PurchasedResource;
|
|
2221
|
+
}
|
|
2222
2222
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2223
2223
|
blockingSpaceId: number;
|
|
2224
2224
|
blockedSpaceId: number;
|
|
2225
2225
|
}
|
|
2226
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2227
|
+
stationId: number;
|
|
2228
|
+
subcategoryId: number;
|
|
2229
|
+
productType: ProductTypesEnum;
|
|
2230
|
+
deletedAt?: Date;
|
|
2231
|
+
station: Station;
|
|
2232
|
+
subcategory: Subcategory;
|
|
2233
|
+
}
|
|
2226
2234
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2227
2235
|
name: string;
|
|
2228
2236
|
facilityId: number;
|
|
@@ -2234,14 +2242,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2234
2242
|
subcategories: Subcategory[];
|
|
2235
2243
|
shifts?: Shift[];
|
|
2236
2244
|
}
|
|
2237
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2238
|
-
stationId: number;
|
|
2239
|
-
subcategoryId: number;
|
|
2240
|
-
productType: ProductTypesEnum;
|
|
2241
|
-
deletedAt?: Date;
|
|
2242
|
-
station: Station;
|
|
2243
|
-
subcategory: Subcategory;
|
|
2244
|
-
}
|
|
2245
2245
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2246
2246
|
productType: ProductTypesEnum;
|
|
2247
2247
|
name: string;
|
|
@@ -3288,20 +3288,6 @@ export declare class ColumnNumericTransformer {
|
|
|
3288
3288
|
from(data: string): number;
|
|
3289
3289
|
}
|
|
3290
3290
|
export declare function convertToNumber(data: string): number;
|
|
3291
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3292
|
-
name?: string;
|
|
3293
|
-
genderStr?: string;
|
|
3294
|
-
parentID?: string;
|
|
3295
|
-
partnerID?: string;
|
|
3296
|
-
membershipName?: string;
|
|
3297
|
-
membershipExpDate?: string;
|
|
3298
|
-
membershipCreationDate?: string;
|
|
3299
|
-
bondMembershipID?: number;
|
|
3300
|
-
}
|
|
3301
|
-
export declare class AddFamilyDto {
|
|
3302
|
-
parents: AddImportedCustomerDto[];
|
|
3303
|
-
children: AddImportedCustomerDto[];
|
|
3304
|
-
}
|
|
3305
3291
|
export declare enum ImportPaymentTypeEnum {
|
|
3306
3292
|
CREDIT_CARD = "card",
|
|
3307
3293
|
ACH = "ach",
|
|
@@ -3337,6 +3323,20 @@ export declare class ImportedPaymentDto {
|
|
|
3337
3323
|
date: string;
|
|
3338
3324
|
time: string;
|
|
3339
3325
|
}
|
|
3326
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3327
|
+
name?: string;
|
|
3328
|
+
genderStr?: string;
|
|
3329
|
+
parentID?: string;
|
|
3330
|
+
partnerID?: string;
|
|
3331
|
+
membershipName?: string;
|
|
3332
|
+
membershipExpDate?: string;
|
|
3333
|
+
membershipCreationDate?: string;
|
|
3334
|
+
bondMembershipID?: number;
|
|
3335
|
+
}
|
|
3336
|
+
export declare class AddFamilyDto {
|
|
3337
|
+
parents: AddImportedCustomerDto[];
|
|
3338
|
+
children: AddImportedCustomerDto[];
|
|
3339
|
+
}
|
|
3340
3340
|
export declare class ProductIdsDto {
|
|
3341
3341
|
productIds?: number[];
|
|
3342
3342
|
}
|
|
@@ -3440,10 +3440,6 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3440
3440
|
eventId: number | null;
|
|
3441
3441
|
status: number | null;
|
|
3442
3442
|
}
|
|
3443
|
-
export declare class Lock extends BondBaseEntity {
|
|
3444
|
-
name: string;
|
|
3445
|
-
locked?: Date;
|
|
3446
|
-
}
|
|
3447
3443
|
export interface ValidatedMonthAndDay {
|
|
3448
3444
|
valid: boolean;
|
|
3449
3445
|
month?: number;
|
|
@@ -3453,6 +3449,10 @@ export interface ValidationReason {
|
|
|
3453
3449
|
valid: boolean;
|
|
3454
3450
|
reason?: string;
|
|
3455
3451
|
}
|
|
3452
|
+
export declare class Lock extends BondBaseEntity {
|
|
3453
|
+
name: string;
|
|
3454
|
+
locked?: Date;
|
|
3455
|
+
}
|
|
3456
3456
|
export interface PaymentStatus {
|
|
3457
3457
|
parentId: number;
|
|
3458
3458
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -4266,6 +4266,8 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4266
4266
|
price: number;
|
|
4267
4267
|
};
|
|
4268
4268
|
slotDurationType: string;
|
|
4269
|
+
previousProductUsersIds?: number[];
|
|
4270
|
+
previousProductUsers?: ProductsUsers[];
|
|
4269
4271
|
changeLineItemIds?: number[];
|
|
4270
4272
|
changeLineItems?: LineItems[];
|
|
4271
4273
|
updatedLineItem?: LineItems;
|