@bondsports/types 0.0.144 → 0.0.146
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 +109 -109
- 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
|
@@ -9,6 +9,17 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
+
export declare class QuestionAnswersDto {
|
|
13
|
+
questionId: number;
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class UserAnswersDto {
|
|
17
|
+
userId: number;
|
|
18
|
+
answers: QuestionAnswersDto[];
|
|
19
|
+
}
|
|
20
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
+
questionnaireIds: string;
|
|
22
|
+
}
|
|
12
23
|
export declare class FindBookingTypeSettingDto {
|
|
13
24
|
organizationId: number;
|
|
14
25
|
facilityId: number;
|
|
@@ -271,17 +282,6 @@ export declare class PaginationRangeQuery {
|
|
|
271
282
|
endPage: number;
|
|
272
283
|
itemsPerPage: number;
|
|
273
284
|
}
|
|
274
|
-
export declare class QuestionAnswersDto {
|
|
275
|
-
questionId: number;
|
|
276
|
-
value: any;
|
|
277
|
-
}
|
|
278
|
-
export declare class UserAnswersDto {
|
|
279
|
-
userId: number;
|
|
280
|
-
answers: QuestionAnswersDto[];
|
|
281
|
-
}
|
|
282
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
283
|
-
questionnaireIds: string;
|
|
284
|
-
}
|
|
285
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
286
|
organizationId: number;
|
|
287
287
|
}
|
|
@@ -463,6 +463,24 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
471
|
+
}
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
483
|
+
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
468
486
|
}
|
|
@@ -1059,24 +1077,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1059
1077
|
types?: string;
|
|
1060
1078
|
resourcesIds?: string;
|
|
1061
1079
|
}
|
|
1062
|
-
export declare class CreateUpdateVariantsDto {
|
|
1063
|
-
organizationId: number;
|
|
1064
|
-
parentProductId: number;
|
|
1065
|
-
variantTitles: VariantTitleDto[];
|
|
1066
|
-
variants: VariantDto[];
|
|
1067
|
-
}
|
|
1068
|
-
export declare class VariantTitleDto {
|
|
1069
|
-
titleName: string;
|
|
1070
|
-
titleId: number;
|
|
1071
|
-
}
|
|
1072
|
-
export declare class VariantDto {
|
|
1073
|
-
name: string;
|
|
1074
|
-
price: number;
|
|
1075
|
-
variantId: number;
|
|
1076
|
-
currency: CurrencyEnum;
|
|
1077
|
-
startDate: Date;
|
|
1078
|
-
endDate: Date;
|
|
1079
|
-
}
|
|
1080
1080
|
export declare class StripeCustomerIdDto {
|
|
1081
1081
|
userId: number;
|
|
1082
1082
|
}
|
|
@@ -1087,6 +1087,15 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1087
1087
|
publicToken: string;
|
|
1088
1088
|
accountId: string;
|
|
1089
1089
|
}
|
|
1090
|
+
export declare class FindByUserIdDto {
|
|
1091
|
+
userId: number;
|
|
1092
|
+
}
|
|
1093
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1094
|
+
familyAccountId?: number;
|
|
1095
|
+
}
|
|
1096
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
|
+
organizationId: number;
|
|
1098
|
+
}
|
|
1090
1099
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1091
1100
|
entityType: ResourceNameTypeEnum;
|
|
1092
1101
|
entityId: number;
|
|
@@ -1143,15 +1152,6 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1143
1152
|
answers: Answer[];
|
|
1144
1153
|
questionnaire: Questionnaires;
|
|
1145
1154
|
}
|
|
1146
|
-
export declare class FindByUserIdDto {
|
|
1147
|
-
userId: number;
|
|
1148
|
-
}
|
|
1149
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1150
|
-
familyAccountId?: number;
|
|
1151
|
-
}
|
|
1152
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1153
|
-
organizationId: number;
|
|
1154
|
-
}
|
|
1155
1155
|
export declare class Athlete extends BondBaseEntity {
|
|
1156
1156
|
userId: number | null;
|
|
1157
1157
|
metadata: object | null;
|
|
@@ -1580,6 +1580,22 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1580
1580
|
payment: Payment;
|
|
1581
1581
|
lineItem: LineItems;
|
|
1582
1582
|
}
|
|
1583
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1584
|
+
id: number;
|
|
1585
|
+
provider: string;
|
|
1586
|
+
providerId: string | null;
|
|
1587
|
+
parentId: number | null;
|
|
1588
|
+
parentType: string | null;
|
|
1589
|
+
status: number | null;
|
|
1590
|
+
token: string | null;
|
|
1591
|
+
refreshToken: string | null;
|
|
1592
|
+
tokenCreatedAt: Date | null;
|
|
1593
|
+
tokenValidUpTo: Date | null;
|
|
1594
|
+
createdAt: Date;
|
|
1595
|
+
updatedAt: Date;
|
|
1596
|
+
user: User;
|
|
1597
|
+
userId: number | null;
|
|
1598
|
+
}
|
|
1583
1599
|
export declare class LineItems extends BondBaseEntity {
|
|
1584
1600
|
constructor();
|
|
1585
1601
|
defineIsReverted(): void;
|
|
@@ -1635,22 +1651,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1635
1651
|
displayUnitPrice?: number;
|
|
1636
1652
|
displayQuantity?: number;
|
|
1637
1653
|
}
|
|
1638
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1639
|
-
id: number;
|
|
1640
|
-
provider: string;
|
|
1641
|
-
providerId: string | null;
|
|
1642
|
-
parentId: number | null;
|
|
1643
|
-
parentType: string | null;
|
|
1644
|
-
status: number | null;
|
|
1645
|
-
token: string | null;
|
|
1646
|
-
refreshToken: string | null;
|
|
1647
|
-
tokenCreatedAt: Date | null;
|
|
1648
|
-
tokenValidUpTo: Date | null;
|
|
1649
|
-
createdAt: Date;
|
|
1650
|
-
updatedAt: Date;
|
|
1651
|
-
user: User;
|
|
1652
|
-
userId: number | null;
|
|
1653
|
-
}
|
|
1654
1654
|
export declare class Media extends BondBaseEntity {
|
|
1655
1655
|
url: string;
|
|
1656
1656
|
name: string | null;
|
|
@@ -1995,6 +1995,28 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1995
1995
|
program: Program;
|
|
1996
1996
|
deletedAt?: Date;
|
|
1997
1997
|
}
|
|
1998
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1999
|
+
productUserId: number;
|
|
2000
|
+
resourceId: number;
|
|
2001
|
+
resourceType: ResourceNameTypeEnum;
|
|
2002
|
+
status: PurchasedResourceStatusEnum;
|
|
2003
|
+
startDate?: string;
|
|
2004
|
+
startTime?: string;
|
|
2005
|
+
endDate?: string;
|
|
2006
|
+
endTime?: string;
|
|
2007
|
+
productUser?: ProductsUsers;
|
|
2008
|
+
lineItem?: LineItems;
|
|
2009
|
+
eventAttendee?: EventAttendee;
|
|
2010
|
+
seasonAttendee?: SeasonAttendee;
|
|
2011
|
+
leagueAttendee?: SeasonPool;
|
|
2012
|
+
membership?: Membership;
|
|
2013
|
+
program?: Program;
|
|
2014
|
+
programSeason?: ProgramSeason;
|
|
2015
|
+
leagueSeason?: LeagueSeason;
|
|
2016
|
+
space?: Resource;
|
|
2017
|
+
product?: Product;
|
|
2018
|
+
event?: Event;
|
|
2019
|
+
}
|
|
1998
2020
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1999
2021
|
programId: number;
|
|
2000
2022
|
name: string;
|
|
@@ -2050,32 +2072,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2050
2072
|
facility: Facility;
|
|
2051
2073
|
purchasedResources: PurchasedResource[];
|
|
2052
2074
|
}
|
|
2053
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2054
|
-
productUserId: number;
|
|
2055
|
-
resourceId: number;
|
|
2056
|
-
resourceType: ResourceNameTypeEnum;
|
|
2057
|
-
status: PurchasedResourceStatusEnum;
|
|
2058
|
-
startDate?: string;
|
|
2059
|
-
startTime?: string;
|
|
2060
|
-
endDate?: string;
|
|
2061
|
-
endTime?: string;
|
|
2062
|
-
productUser?: ProductsUsers;
|
|
2063
|
-
lineItem?: LineItems;
|
|
2064
|
-
eventAttendee?: EventAttendee;
|
|
2065
|
-
seasonAttendee?: SeasonAttendee;
|
|
2066
|
-
leagueAttendee?: SeasonPool;
|
|
2067
|
-
membership?: Membership;
|
|
2068
|
-
program?: Program;
|
|
2069
|
-
programSeason?: ProgramSeason;
|
|
2070
|
-
leagueSeason?: LeagueSeason;
|
|
2071
|
-
space?: Resource;
|
|
2072
|
-
product?: Product;
|
|
2073
|
-
event?: Event;
|
|
2074
|
-
}
|
|
2075
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2076
|
-
title: string | null;
|
|
2077
|
-
answerTitle: AnswerTitle;
|
|
2078
|
-
}
|
|
2079
2075
|
export declare class Questions extends BondBaseEntity {
|
|
2080
2076
|
questionType: string | null;
|
|
2081
2077
|
ordinal: number | null;
|
|
@@ -2090,6 +2086,10 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2090
2086
|
ownerId: number | null;
|
|
2091
2087
|
questionnaireId: number | null;
|
|
2092
2088
|
}
|
|
2089
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2090
|
+
title: string | null;
|
|
2091
|
+
answerTitle: AnswerTitle;
|
|
2092
|
+
}
|
|
2093
2093
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
2094
|
reason: string;
|
|
2095
2095
|
ordinal: number;
|
|
@@ -2354,14 +2354,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2354
2354
|
entityType: UserAuthorizationsTypeEnum;
|
|
2355
2355
|
user: User;
|
|
2356
2356
|
}
|
|
2357
|
-
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2358
|
-
userId: number;
|
|
2359
|
-
failCount: number;
|
|
2360
|
-
isDefault?: boolean;
|
|
2361
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
2362
|
-
paymentMethodId: string;
|
|
2363
|
-
nextAllowedChargeDate?: Date;
|
|
2364
|
-
}
|
|
2365
2357
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2366
2358
|
familyAccountId: number;
|
|
2367
2359
|
userId: number;
|
|
@@ -2370,6 +2362,14 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2370
2362
|
familyAccount: FamilyAccount;
|
|
2371
2363
|
deletedAt?: Date;
|
|
2372
2364
|
}
|
|
2365
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
|
+
userId: number;
|
|
2367
|
+
failCount: number;
|
|
2368
|
+
isDefault?: boolean;
|
|
2369
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
2370
|
+
paymentMethodId: string;
|
|
2371
|
+
nextAllowedChargeDate?: Date;
|
|
2372
|
+
}
|
|
2373
2373
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2374
2374
|
groupId: number;
|
|
2375
2375
|
userId: number;
|
|
@@ -3458,6 +3458,15 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3458
3458
|
name: string;
|
|
3459
3459
|
locked?: Date;
|
|
3460
3460
|
}
|
|
3461
|
+
export interface ValidatedMonthAndDay {
|
|
3462
|
+
valid: boolean;
|
|
3463
|
+
month?: number;
|
|
3464
|
+
day?: number;
|
|
3465
|
+
}
|
|
3466
|
+
export interface ValidationReason {
|
|
3467
|
+
valid: boolean;
|
|
3468
|
+
reason?: string;
|
|
3469
|
+
}
|
|
3461
3470
|
export declare class CreateMonitorConfigDto {
|
|
3462
3471
|
facilityId: number;
|
|
3463
3472
|
name: string;
|
|
@@ -3549,6 +3558,18 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3549
3558
|
brandings: OrganizationBranding[];
|
|
3550
3559
|
brandingsV2?: OrganizationBranding[];
|
|
3551
3560
|
}
|
|
3561
|
+
export interface PaymentStatus {
|
|
3562
|
+
parentId: number;
|
|
3563
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3564
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3565
|
+
id?: number;
|
|
3566
|
+
}
|
|
3567
|
+
export interface PaymentStatusesDict {
|
|
3568
|
+
[id: number]: PaymentStatus[];
|
|
3569
|
+
}
|
|
3570
|
+
export interface PaymentStatusDict {
|
|
3571
|
+
[id: number]: ReservationPaymentStatusEnum;
|
|
3572
|
+
}
|
|
3552
3573
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3553
3574
|
key?: string;
|
|
3554
3575
|
vaule?: string;
|
|
@@ -4627,24 +4648,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4627
4648
|
closingManager?: User;
|
|
4628
4649
|
reconcilingUser?: User;
|
|
4629
4650
|
}
|
|
4630
|
-
export interface ValidatedMonthAndDay {
|
|
4631
|
-
valid: boolean;
|
|
4632
|
-
month?: number;
|
|
4633
|
-
day?: number;
|
|
4634
|
-
}
|
|
4635
|
-
export interface ValidationReason {
|
|
4636
|
-
valid: boolean;
|
|
4637
|
-
reason?: string;
|
|
4638
|
-
}
|
|
4639
|
-
export interface PaymentStatus {
|
|
4640
|
-
parentId: number;
|
|
4641
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4642
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4643
|
-
id?: number;
|
|
4644
|
-
}
|
|
4645
|
-
export interface PaymentStatusesDict {
|
|
4646
|
-
[id: number]: PaymentStatus[];
|
|
4647
|
-
}
|
|
4648
|
-
export interface PaymentStatusDict {
|
|
4649
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
4650
|
-
}
|