@bondsports/types 0.0.139 → 0.0.141
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 +91 -91
- 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
|
@@ -1133,6 +1133,12 @@ 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
|
+
}
|
|
1136
1142
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1137
1143
|
questionId: number;
|
|
1138
1144
|
question?: Questions;
|
|
@@ -1146,12 +1152,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1146
1152
|
metaData: any | null;
|
|
1147
1153
|
questionText: string | null;
|
|
1148
1154
|
}
|
|
1149
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1150
|
-
questionnaireId: number;
|
|
1151
|
-
userId?: number;
|
|
1152
|
-
answers: Answer[];
|
|
1153
|
-
questionnaire: Questionnaires;
|
|
1154
|
-
}
|
|
1155
1155
|
export declare class Athlete extends BondBaseEntity {
|
|
1156
1156
|
userId: number | null;
|
|
1157
1157
|
metadata: object | null;
|
|
@@ -1295,21 +1295,6 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1295
1295
|
groupId: number;
|
|
1296
1296
|
terms: IEntitlementTerms[];
|
|
1297
1297
|
}
|
|
1298
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1299
|
-
status: RequestStatusEnum | null;
|
|
1300
|
-
hasPaid: boolean | null;
|
|
1301
|
-
paymentId: number | null;
|
|
1302
|
-
attendeeId: number;
|
|
1303
|
-
eventId?: number | null;
|
|
1304
|
-
productUserId?: number;
|
|
1305
|
-
answerTitleIds?: number[];
|
|
1306
|
-
entryStatus?: EntryStatusEnum;
|
|
1307
|
-
addonProductUserIds?: number[];
|
|
1308
|
-
deletedAt?: Date;
|
|
1309
|
-
attendee: User;
|
|
1310
|
-
event: Event;
|
|
1311
|
-
purchasedResource: PurchasedResource;
|
|
1312
|
-
}
|
|
1313
1298
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1314
1299
|
constructor();
|
|
1315
1300
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1400,6 +1385,21 @@ export declare class FamilyAccount extends BondBaseEntity {
|
|
|
1400
1385
|
name: string | null;
|
|
1401
1386
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1402
1387
|
}
|
|
1388
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1389
|
+
status: RequestStatusEnum | null;
|
|
1390
|
+
hasPaid: boolean | null;
|
|
1391
|
+
paymentId: number | null;
|
|
1392
|
+
attendeeId: number;
|
|
1393
|
+
eventId?: number | null;
|
|
1394
|
+
productUserId?: number;
|
|
1395
|
+
answerTitleIds?: number[];
|
|
1396
|
+
entryStatus?: EntryStatusEnum;
|
|
1397
|
+
addonProductUserIds?: number[];
|
|
1398
|
+
deletedAt?: Date;
|
|
1399
|
+
attendee: User;
|
|
1400
|
+
event: Event;
|
|
1401
|
+
purchasedResource: PurchasedResource;
|
|
1402
|
+
}
|
|
1403
1403
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1404
1404
|
userId: number;
|
|
1405
1405
|
invoiceId: number;
|
|
@@ -1443,11 +1443,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1443
1443
|
discountMethod?: DiscountMethodsEnum;
|
|
1444
1444
|
discountValue?: number;
|
|
1445
1445
|
}
|
|
1446
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1447
|
-
groupId: number;
|
|
1448
|
-
divisionId: number;
|
|
1449
|
-
deletedAt?: Date;
|
|
1450
|
-
}
|
|
1451
1446
|
export declare class Invoice extends BondBaseEntity {
|
|
1452
1447
|
invoiceId: string | null;
|
|
1453
1448
|
price: number | null;
|
|
@@ -1483,14 +1478,10 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1483
1478
|
mailParams?: any;
|
|
1484
1479
|
memo?: string;
|
|
1485
1480
|
}
|
|
1486
|
-
export declare class
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
isPublic: boolean;
|
|
1491
|
-
deletedAt: Date;
|
|
1492
|
-
invoiceId: number;
|
|
1493
|
-
invoice: Invoice;
|
|
1481
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1482
|
+
groupId: number;
|
|
1483
|
+
divisionId: number;
|
|
1484
|
+
deletedAt?: Date;
|
|
1494
1485
|
}
|
|
1495
1486
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1496
1487
|
invoiceId: number;
|
|
@@ -1526,6 +1517,15 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1526
1517
|
logo?: Media;
|
|
1527
1518
|
seasons: LeagueSeason[];
|
|
1528
1519
|
}
|
|
1520
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1521
|
+
content: string;
|
|
1522
|
+
creatingUserId: number;
|
|
1523
|
+
user: User;
|
|
1524
|
+
isPublic: boolean;
|
|
1525
|
+
deletedAt: Date;
|
|
1526
|
+
invoiceId: number;
|
|
1527
|
+
invoice: Invoice;
|
|
1528
|
+
}
|
|
1529
1529
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1530
1530
|
leagueId: number | null;
|
|
1531
1531
|
name: string | null;
|
|
@@ -1898,6 +1898,15 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1898
1898
|
activityTimes: ActivityTimes[];
|
|
1899
1899
|
purchasedResources: PurchasedResource[];
|
|
1900
1900
|
}
|
|
1901
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1902
|
+
productId: number;
|
|
1903
|
+
maxMonths?: number;
|
|
1904
|
+
dayOfMonth?: number;
|
|
1905
|
+
name: string;
|
|
1906
|
+
deletedAt?: Date;
|
|
1907
|
+
schedule: PaymentPlanSchedule[];
|
|
1908
|
+
product?: Product;
|
|
1909
|
+
}
|
|
1901
1910
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1902
1911
|
parentProductId: number;
|
|
1903
1912
|
childProductId: number;
|
|
@@ -1913,15 +1922,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1913
1922
|
durationDays?: number;
|
|
1914
1923
|
level?: ProductPackageLevelEnum;
|
|
1915
1924
|
}
|
|
1916
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1917
|
-
productId: number;
|
|
1918
|
-
maxMonths?: number;
|
|
1919
|
-
dayOfMonth?: number;
|
|
1920
|
-
name: string;
|
|
1921
|
-
deletedAt?: Date;
|
|
1922
|
-
schedule: PaymentPlanSchedule[];
|
|
1923
|
-
product?: Product;
|
|
1924
|
-
}
|
|
1925
1925
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
1926
|
productId: number;
|
|
1927
1927
|
resourceId: number;
|
|
@@ -1948,23 +1948,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1948
|
deletedAt?: Date;
|
|
1949
1949
|
product: Product;
|
|
1950
1950
|
}
|
|
1951
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
|
-
productId: number;
|
|
1953
|
-
userId: number;
|
|
1954
|
-
user?: User;
|
|
1955
|
-
paymentStatus: PaymentStatusEnum;
|
|
1956
|
-
productName: string;
|
|
1957
|
-
productPrice: number;
|
|
1958
|
-
productQuantity: number;
|
|
1959
|
-
productQuantityLeft: number;
|
|
1960
|
-
productPriceCurrency: CurrencyEnum;
|
|
1961
|
-
ordinal?: number;
|
|
1962
|
-
purchasedResources: PurchasedResource[];
|
|
1963
|
-
product: Product;
|
|
1964
|
-
lineItem: LineItems;
|
|
1965
|
-
slots?: Slot[];
|
|
1966
|
-
addons?: Addon[];
|
|
1967
|
-
}
|
|
1968
1951
|
export declare class Program extends BondBaseEntity {
|
|
1969
1952
|
type: ProgramTypesEnum;
|
|
1970
1953
|
name: string;
|
|
@@ -1995,6 +1978,23 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1995
1978
|
program: Program;
|
|
1996
1979
|
deletedAt?: Date;
|
|
1997
1980
|
}
|
|
1981
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1982
|
+
productId: number;
|
|
1983
|
+
userId: number;
|
|
1984
|
+
user?: User;
|
|
1985
|
+
paymentStatus: PaymentStatusEnum;
|
|
1986
|
+
productName: string;
|
|
1987
|
+
productPrice: number;
|
|
1988
|
+
productQuantity: number;
|
|
1989
|
+
productQuantityLeft: number;
|
|
1990
|
+
productPriceCurrency: CurrencyEnum;
|
|
1991
|
+
ordinal?: number;
|
|
1992
|
+
purchasedResources: PurchasedResource[];
|
|
1993
|
+
product: Product;
|
|
1994
|
+
lineItem: LineItems;
|
|
1995
|
+
slots?: Slot[];
|
|
1996
|
+
addons?: Addon[];
|
|
1997
|
+
}
|
|
1998
1998
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1999
1999
|
programId: number;
|
|
2000
2000
|
name: string;
|
|
@@ -3302,15 +3302,6 @@ export declare class ColumnNumericTransformer {
|
|
|
3302
3302
|
from(data: string): number;
|
|
3303
3303
|
}
|
|
3304
3304
|
export declare function convertToNumber(data: string): number;
|
|
3305
|
-
export declare class ProductIdsDto {
|
|
3306
|
-
productIds?: number[];
|
|
3307
|
-
}
|
|
3308
|
-
export declare class ProductImportDto {
|
|
3309
|
-
product: Product;
|
|
3310
|
-
prices: Price[];
|
|
3311
|
-
resourceIds: number[];
|
|
3312
|
-
oldId: number;
|
|
3313
|
-
}
|
|
3314
3305
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3315
3306
|
name?: string;
|
|
3316
3307
|
genderStr?: string;
|
|
@@ -3360,6 +3351,15 @@ export declare class ImportedPaymentDto {
|
|
|
3360
3351
|
date: string;
|
|
3361
3352
|
time: string;
|
|
3362
3353
|
}
|
|
3354
|
+
export declare class ProductIdsDto {
|
|
3355
|
+
productIds?: number[];
|
|
3356
|
+
}
|
|
3357
|
+
export declare class ProductImportDto {
|
|
3358
|
+
product: Product;
|
|
3359
|
+
prices: Price[];
|
|
3360
|
+
resourceIds: number[];
|
|
3361
|
+
oldId: number;
|
|
3362
|
+
}
|
|
3363
3363
|
export declare class PunchPassDto {
|
|
3364
3364
|
CustomerID: string;
|
|
3365
3365
|
QuantityLeft: number;
|
|
@@ -3418,11 +3418,6 @@ export declare class ImportedReservationDto {
|
|
|
3418
3418
|
slots?: ImportedSlotDto[];
|
|
3419
3419
|
addons?: ImportedSlotProductDto[];
|
|
3420
3420
|
}
|
|
3421
|
-
export declare class Matches extends BondBaseEntity {
|
|
3422
|
-
eventId: number | null;
|
|
3423
|
-
status: number | null;
|
|
3424
|
-
excludeStandings: boolean | null;
|
|
3425
|
-
}
|
|
3426
3421
|
export declare class GameSlots extends BondBaseEntity {
|
|
3427
3422
|
entityType: string;
|
|
3428
3423
|
entityId: number;
|
|
@@ -3436,6 +3431,11 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3436
3431
|
score: number | null;
|
|
3437
3432
|
gameSlotId: number | null;
|
|
3438
3433
|
}
|
|
3434
|
+
export declare class Matches extends BondBaseEntity {
|
|
3435
|
+
eventId: number | null;
|
|
3436
|
+
status: number | null;
|
|
3437
|
+
excludeStandings: boolean | null;
|
|
3438
|
+
}
|
|
3439
3439
|
export declare class RoundEvents extends BaseEntity {
|
|
3440
3440
|
roundId: number;
|
|
3441
3441
|
eventId: 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 interface PaymentStatus {
|
|
3462
3471
|
parentId: number;
|
|
3463
3472
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3470,26 +3479,17 @@ export interface PaymentStatusesDict {
|
|
|
3470
3479
|
export interface PaymentStatusDict {
|
|
3471
3480
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3472
3481
|
}
|
|
3473
|
-
export interface ValidatedMonthAndDay {
|
|
3474
|
-
valid: boolean;
|
|
3475
|
-
month?: number;
|
|
3476
|
-
day?: number;
|
|
3477
|
-
}
|
|
3478
|
-
export interface ValidationReason {
|
|
3479
|
-
valid: boolean;
|
|
3480
|
-
reason?: string;
|
|
3481
|
-
}
|
|
3482
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3483
|
-
facilityId: number;
|
|
3484
|
-
code: string;
|
|
3485
|
-
config?: any;
|
|
3486
|
-
}
|
|
3487
3482
|
export declare class CreateMonitorConfigDto {
|
|
3488
3483
|
facilityId: number;
|
|
3489
3484
|
name: string;
|
|
3490
3485
|
code: string;
|
|
3491
3486
|
config: any;
|
|
3492
3487
|
}
|
|
3488
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3489
|
+
facilityId: number;
|
|
3490
|
+
code: string;
|
|
3491
|
+
config?: any;
|
|
3492
|
+
}
|
|
3493
3493
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
3494
|
userId: number;
|
|
3495
3495
|
organizationId: number;
|
|
@@ -4581,9 +4581,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4581
4581
|
role: Role;
|
|
4582
4582
|
user: User;
|
|
4583
4583
|
}
|
|
4584
|
-
export declare class CloseShiftDto {
|
|
4585
|
-
closingCashAmount: number;
|
|
4586
|
-
}
|
|
4587
4584
|
export declare class FindShiftsByIdsDto {
|
|
4588
4585
|
shiftIds: number[];
|
|
4589
4586
|
}
|
|
@@ -4607,6 +4604,9 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4607
4604
|
startDate?: Date;
|
|
4608
4605
|
endDate?: Date;
|
|
4609
4606
|
}
|
|
4607
|
+
export declare class CloseShiftDto {
|
|
4608
|
+
closingCashAmount: number;
|
|
4609
|
+
}
|
|
4610
4610
|
export declare class ShiftManagementClosingAmount {
|
|
4611
4611
|
shiftId: number;
|
|
4612
4612
|
managementClosingCashAmount: number;
|