@bondsports/types 0.0.146 → 0.0.147
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 +119 -119
- 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
|
@@ -463,24 +463,6 @@ 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
|
-
}
|
|
484
466
|
export declare class FindByProductIdDto {
|
|
485
467
|
productId: number;
|
|
486
468
|
}
|
|
@@ -702,6 +684,24 @@ export declare class createResourceDto {
|
|
|
702
684
|
export declare class archiveDto {
|
|
703
685
|
isArchive: boolean;
|
|
704
686
|
}
|
|
687
|
+
export declare class CreateUpdateVariantsDto {
|
|
688
|
+
organizationId: number;
|
|
689
|
+
parentProductId: number;
|
|
690
|
+
variantTitles: VariantTitleDto[];
|
|
691
|
+
variants: VariantDto[];
|
|
692
|
+
}
|
|
693
|
+
export declare class VariantTitleDto {
|
|
694
|
+
titleName: string;
|
|
695
|
+
titleId: number;
|
|
696
|
+
}
|
|
697
|
+
export declare class VariantDto {
|
|
698
|
+
name: string;
|
|
699
|
+
price: number;
|
|
700
|
+
variantId: number;
|
|
701
|
+
currency: CurrencyEnum;
|
|
702
|
+
startDate: Date;
|
|
703
|
+
endDate: Date;
|
|
704
|
+
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -1133,6 +1133,17 @@ export declare class Address extends BondBaseEntity {
|
|
|
1133
1133
|
geo: any;
|
|
1134
1134
|
deletedAt?: Date;
|
|
1135
1135
|
}
|
|
1136
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1137
|
+
questionnaireId: number;
|
|
1138
|
+
userId?: number;
|
|
1139
|
+
answers: Answer[];
|
|
1140
|
+
questionnaire: Questionnaires;
|
|
1141
|
+
}
|
|
1142
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1143
|
+
userId: number | null;
|
|
1144
|
+
metadata: object | null;
|
|
1145
|
+
athleteSports: AthleteSports[];
|
|
1146
|
+
}
|
|
1136
1147
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
1148
|
questionId: number;
|
|
1138
1149
|
question?: Questions;
|
|
@@ -1146,17 +1157,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1146
1157
|
metaData: any | null;
|
|
1147
1158
|
questionText: string | null;
|
|
1148
1159
|
}
|
|
1149
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1150
|
-
questionnaireId: number;
|
|
1151
|
-
userId?: number;
|
|
1152
|
-
answers: Answer[];
|
|
1153
|
-
questionnaire: Questionnaires;
|
|
1154
|
-
}
|
|
1155
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1156
|
-
userId: number | null;
|
|
1157
|
-
metadata: object | null;
|
|
1158
|
-
athleteSports: AthleteSports[];
|
|
1159
|
-
}
|
|
1160
1160
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1161
1161
|
athleteId: number | null;
|
|
1162
1162
|
sports: number | null;
|
|
@@ -1580,22 +1580,6 @@ 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
|
-
}
|
|
1599
1583
|
export declare class LineItems extends BondBaseEntity {
|
|
1600
1584
|
constructor();
|
|
1601
1585
|
defineIsReverted(): void;
|
|
@@ -1651,6 +1635,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1651
1635
|
displayUnitPrice?: number;
|
|
1652
1636
|
displayQuantity?: number;
|
|
1653
1637
|
}
|
|
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,28 +1995,6 @@ 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
|
-
}
|
|
2020
1998
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
2021
1999
|
programId: number;
|
|
2022
2000
|
name: string;
|
|
@@ -2072,6 +2050,28 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2072
2050
|
facility: Facility;
|
|
2073
2051
|
purchasedResources: PurchasedResource[];
|
|
2074
2052
|
}
|
|
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
2075
|
export declare class Questions extends BondBaseEntity {
|
|
2076
2076
|
questionType: string | null;
|
|
2077
2077
|
ordinal: number | null;
|
|
@@ -2086,15 +2086,15 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2086
2086
|
ownerId: number | null;
|
|
2087
2087
|
questionnaireId: number | null;
|
|
2088
2088
|
}
|
|
2089
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2090
|
-
title: string | null;
|
|
2091
|
-
answerTitle: AnswerTitle;
|
|
2092
|
-
}
|
|
2093
2089
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
2090
|
reason: string;
|
|
2095
2091
|
ordinal: number;
|
|
2096
2092
|
deletedAt: Date;
|
|
2097
2093
|
}
|
|
2094
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2095
|
+
title: string | null;
|
|
2096
|
+
answerTitle: AnswerTitle;
|
|
2097
|
+
}
|
|
2098
2098
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2099
2099
|
resourceType: ResourceNameTypeEnum;
|
|
2100
2100
|
resourceId: number;
|
|
@@ -3458,15 +3458,6 @@ 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
|
-
}
|
|
3470
3461
|
export declare class CreateMonitorConfigDto {
|
|
3471
3462
|
facilityId: number;
|
|
3472
3463
|
name: string;
|
|
@@ -3478,13 +3469,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3478
3469
|
code: string;
|
|
3479
3470
|
config?: any;
|
|
3480
3471
|
}
|
|
3481
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3482
|
-
userId: number;
|
|
3483
|
-
organizationId: number;
|
|
3484
|
-
notifyMetadata?: any;
|
|
3485
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3486
|
-
destination: string;
|
|
3487
|
-
}
|
|
3488
3472
|
export declare class ByOrganizationIdDto {
|
|
3489
3473
|
organizationId: number;
|
|
3490
3474
|
}
|
|
@@ -3558,18 +3542,6 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3558
3542
|
brandings: OrganizationBranding[];
|
|
3559
3543
|
brandingsV2?: OrganizationBranding[];
|
|
3560
3544
|
}
|
|
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
|
-
}
|
|
3573
3545
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3574
3546
|
key?: string;
|
|
3575
3547
|
vaule?: string;
|
|
@@ -3594,6 +3566,13 @@ export interface Duration {
|
|
|
3594
3566
|
startDate: string;
|
|
3595
3567
|
endDate: string;
|
|
3596
3568
|
}
|
|
3569
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3570
|
+
userId: number;
|
|
3571
|
+
organizationId: number;
|
|
3572
|
+
notifyMetadata?: any;
|
|
3573
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3574
|
+
destination: string;
|
|
3575
|
+
}
|
|
3597
3576
|
export declare class CustomerIdDto {
|
|
3598
3577
|
customerId: number;
|
|
3599
3578
|
}
|
|
@@ -4131,6 +4110,26 @@ export declare class TimeSlotsDto {
|
|
|
4131
4110
|
export declare class SlotsIdsDto {
|
|
4132
4111
|
slotsIds: number[];
|
|
4133
4112
|
}
|
|
4113
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4114
|
+
parentId: number;
|
|
4115
|
+
parentType: AddonParentTypeEnum;
|
|
4116
|
+
productId: number;
|
|
4117
|
+
product?: Product;
|
|
4118
|
+
quantity: number;
|
|
4119
|
+
unitPrice: number;
|
|
4120
|
+
totalPrice: number;
|
|
4121
|
+
approvalStatus: ReservationStatusEnum;
|
|
4122
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4123
|
+
level?: ProductPackageLevelEnum;
|
|
4124
|
+
resourceId?: number;
|
|
4125
|
+
resource?: Resource;
|
|
4126
|
+
invoiceId?: number;
|
|
4127
|
+
invoice?: Invoice;
|
|
4128
|
+
productUserId?: number;
|
|
4129
|
+
productUser?: ProductsUsers;
|
|
4130
|
+
previousProductUsersIds?: number[];
|
|
4131
|
+
previousProductUsers?: ProductsUsers[];
|
|
4132
|
+
}
|
|
4134
4133
|
declare class AnswerDto {
|
|
4135
4134
|
questionId: number;
|
|
4136
4135
|
value: any;
|
|
@@ -4168,26 +4167,6 @@ export declare class BookingV1Dto {
|
|
|
4168
4167
|
cashPayment: boolean;
|
|
4169
4168
|
requestOnly: boolean;
|
|
4170
4169
|
}
|
|
4171
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4172
|
-
parentId: number;
|
|
4173
|
-
parentType: AddonParentTypeEnum;
|
|
4174
|
-
productId: number;
|
|
4175
|
-
product?: Product;
|
|
4176
|
-
quantity: number;
|
|
4177
|
-
unitPrice: number;
|
|
4178
|
-
totalPrice: number;
|
|
4179
|
-
approvalStatus: ReservationStatusEnum;
|
|
4180
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4181
|
-
level?: ProductPackageLevelEnum;
|
|
4182
|
-
resourceId?: number;
|
|
4183
|
-
resource?: Resource;
|
|
4184
|
-
invoiceId?: number;
|
|
4185
|
-
invoice?: Invoice;
|
|
4186
|
-
productUserId?: number;
|
|
4187
|
-
productUser?: ProductsUsers;
|
|
4188
|
-
previousProductUsersIds?: number[];
|
|
4189
|
-
previousProductUsers?: ProductsUsers[];
|
|
4190
|
-
}
|
|
4191
4170
|
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4192
4171
|
deletedAt?: Date;
|
|
4193
4172
|
reservationId: number;
|
|
@@ -4648,3 +4627,24 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4648
4627
|
closingManager?: User;
|
|
4649
4628
|
reconcilingUser?: User;
|
|
4650
4629
|
}
|
|
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
|
+
}
|