@bondsports/types 0.0.183 → 0.0.185
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 +304 -305
- 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,13 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class FindBookingTypeSettingDto {
|
|
13
|
-
organizationId: number;
|
|
14
|
-
facilityId: number;
|
|
15
|
-
spaceId: number;
|
|
16
|
-
bookingDate: string;
|
|
17
|
-
bookingTime: string;
|
|
18
|
-
}
|
|
19
12
|
export declare class QuestionAnswersDto {
|
|
20
13
|
questionId: number;
|
|
21
14
|
value: any;
|
|
@@ -27,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
27
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
28
21
|
questionnaireIds: string;
|
|
29
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
30
30
|
export declare enum EConfigurationKeys {
|
|
31
31
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
32
|
}
|
|
@@ -1011,7 +1011,6 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1011
1011
|
platform?: PlatformsEnum;
|
|
1012
1012
|
}
|
|
1013
1013
|
export declare class ValidateParticipantDto {
|
|
1014
|
-
customerIds: number[];
|
|
1015
1014
|
products: PurchaseProductDto[];
|
|
1016
1015
|
}
|
|
1017
1016
|
export declare class CreateResourceGroupDto {
|
|
@@ -1026,6 +1025,16 @@ export declare class ResourceDto {
|
|
|
1026
1025
|
type: ResourceNameTypeEnum;
|
|
1027
1026
|
id: number;
|
|
1028
1027
|
}
|
|
1028
|
+
export declare class StripeCustomerIdDto {
|
|
1029
|
+
userId: number;
|
|
1030
|
+
}
|
|
1031
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1032
|
+
paymentMethodId: string;
|
|
1033
|
+
}
|
|
1034
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1035
|
+
publicToken: string;
|
|
1036
|
+
accountId: string;
|
|
1037
|
+
}
|
|
1029
1038
|
export declare class SpaceByIdDto {
|
|
1030
1039
|
spaceId: number;
|
|
1031
1040
|
}
|
|
@@ -1082,16 +1091,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1082
1091
|
types?: string;
|
|
1083
1092
|
resourcesIds?: string;
|
|
1084
1093
|
}
|
|
1085
|
-
export declare class StripeCustomerIdDto {
|
|
1086
|
-
userId: number;
|
|
1087
|
-
}
|
|
1088
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1089
|
-
paymentMethodId: string;
|
|
1090
|
-
}
|
|
1091
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1092
|
-
publicToken: string;
|
|
1093
|
-
accountId: string;
|
|
1094
|
-
}
|
|
1095
1094
|
export declare class FindByUserIdDto {
|
|
1096
1095
|
userId: number;
|
|
1097
1096
|
}
|
|
@@ -1127,6 +1126,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1127
1126
|
proudct: Product;
|
|
1128
1127
|
event: Event;
|
|
1129
1128
|
}
|
|
1129
|
+
export declare class Address extends BondBaseEntity {
|
|
1130
|
+
city?: string;
|
|
1131
|
+
street?: string;
|
|
1132
|
+
streetNum?: string;
|
|
1133
|
+
aptNum?: string;
|
|
1134
|
+
zip?: string;
|
|
1135
|
+
country?: string;
|
|
1136
|
+
state?: string;
|
|
1137
|
+
geo: any;
|
|
1138
|
+
deletedAt?: Date;
|
|
1139
|
+
}
|
|
1130
1140
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1131
1141
|
questionId: number;
|
|
1132
1142
|
question?: Questions;
|
|
@@ -1140,16 +1150,11 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1140
1150
|
metaData: any | null;
|
|
1141
1151
|
questionText: string | null;
|
|
1142
1152
|
}
|
|
1143
|
-
export declare class
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
zip?: string;
|
|
1149
|
-
country?: string;
|
|
1150
|
-
state?: string;
|
|
1151
|
-
geo: any;
|
|
1152
|
-
deletedAt?: Date;
|
|
1153
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1154
|
+
questionnaireId: number;
|
|
1155
|
+
userId?: number;
|
|
1156
|
+
answers: Answer[];
|
|
1157
|
+
questionnaire: Questionnaires;
|
|
1153
1158
|
}
|
|
1154
1159
|
export declare class Athlete extends BondBaseEntity {
|
|
1155
1160
|
userId: number | null;
|
|
@@ -1192,6 +1197,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1192
1197
|
publicNotes?: string;
|
|
1193
1198
|
slotType?: SlotTypeEnum;
|
|
1194
1199
|
}
|
|
1200
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1201
|
+
area: string;
|
|
1202
|
+
key: string;
|
|
1203
|
+
value: string;
|
|
1204
|
+
}
|
|
1195
1205
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1196
1206
|
parentId: number;
|
|
1197
1207
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1202,11 +1212,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1202
1212
|
endTimeInDay: string;
|
|
1203
1213
|
directBookingFor: DirectBookingTypesEnum;
|
|
1204
1214
|
}
|
|
1205
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1206
|
-
area: string;
|
|
1207
|
-
key: string;
|
|
1208
|
-
value: string;
|
|
1209
|
-
}
|
|
1210
1215
|
export declare class Connection extends BondBaseEntity {
|
|
1211
1216
|
connType: number | null;
|
|
1212
1217
|
from: number | null;
|
|
@@ -1395,6 +1400,13 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1395
1400
|
facilityId: number;
|
|
1396
1401
|
resourceId: number;
|
|
1397
1402
|
}
|
|
1403
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1404
|
+
name: string | null;
|
|
1405
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1406
|
+
}
|
|
1407
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
|
+
code: string;
|
|
1409
|
+
}
|
|
1398
1410
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1399
1411
|
userId: number;
|
|
1400
1412
|
invoiceId: number;
|
|
@@ -1406,12 +1418,21 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1406
1418
|
chargedAt?: Date;
|
|
1407
1419
|
originalPlannedDate?: Date;
|
|
1408
1420
|
}
|
|
1409
|
-
export declare class
|
|
1410
|
-
name: string
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1421
|
+
export declare class Group extends BondBaseEntity {
|
|
1422
|
+
name: string;
|
|
1423
|
+
description?: string;
|
|
1424
|
+
status: GroupStatusEnum;
|
|
1425
|
+
maxCapacity?: number;
|
|
1426
|
+
mainMediaId?: number;
|
|
1427
|
+
minAgeYears?: number;
|
|
1428
|
+
maxAgeYears?: number;
|
|
1429
|
+
gender: GenderEnum;
|
|
1430
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1431
|
+
sports: SportsEnum[];
|
|
1432
|
+
questionnaires?: number[];
|
|
1433
|
+
captainUserId?: number;
|
|
1434
|
+
members: ISeasonAttendeeInfo[];
|
|
1435
|
+
users: User[];
|
|
1415
1436
|
}
|
|
1416
1437
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1417
1438
|
groupId: number;
|
|
@@ -1431,22 +1452,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1431
1452
|
divisionId: number;
|
|
1432
1453
|
deletedAt?: Date;
|
|
1433
1454
|
}
|
|
1434
|
-
export declare class Group extends BondBaseEntity {
|
|
1435
|
-
name: string;
|
|
1436
|
-
description?: string;
|
|
1437
|
-
status: GroupStatusEnum;
|
|
1438
|
-
maxCapacity?: number;
|
|
1439
|
-
mainMediaId?: number;
|
|
1440
|
-
minAgeYears?: number;
|
|
1441
|
-
maxAgeYears?: number;
|
|
1442
|
-
gender: GenderEnum;
|
|
1443
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1444
|
-
sports: SportsEnum[];
|
|
1445
|
-
questionnaires?: number[];
|
|
1446
|
-
captainUserId?: number;
|
|
1447
|
-
members: ISeasonAttendeeInfo[];
|
|
1448
|
-
users: User[];
|
|
1449
|
-
}
|
|
1450
1455
|
export declare class Invoice extends BondBaseEntity {
|
|
1451
1456
|
invoiceId: string | null;
|
|
1452
1457
|
price: number | null;
|
|
@@ -1482,14 +1487,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1482
1487
|
mailParams?: any;
|
|
1483
1488
|
memo?: string;
|
|
1484
1489
|
}
|
|
1485
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1486
|
-
invoiceId: number;
|
|
1487
|
-
paymentId: number;
|
|
1488
|
-
invoice: Invoice;
|
|
1489
|
-
payment: Payment;
|
|
1490
|
-
paidAmount?: number;
|
|
1491
|
-
currency: CurrencyEnum;
|
|
1492
|
-
}
|
|
1493
1490
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1494
1491
|
content: string;
|
|
1495
1492
|
creatingUserId: number;
|
|
@@ -1499,6 +1496,14 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1499
1496
|
invoiceId: number;
|
|
1500
1497
|
invoice: Invoice;
|
|
1501
1498
|
}
|
|
1499
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1500
|
+
invoiceId: number;
|
|
1501
|
+
paymentId: number;
|
|
1502
|
+
invoice: Invoice;
|
|
1503
|
+
payment: Payment;
|
|
1504
|
+
paidAmount?: number;
|
|
1505
|
+
currency: CurrencyEnum;
|
|
1506
|
+
}
|
|
1502
1507
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1503
1508
|
name: string | null;
|
|
1504
1509
|
description: string | null;
|
|
@@ -1525,6 +1530,16 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1525
1530
|
logo?: Media;
|
|
1526
1531
|
seasons: LeagueSeason[];
|
|
1527
1532
|
}
|
|
1533
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1534
|
+
invoiceId: number;
|
|
1535
|
+
paymentId: number;
|
|
1536
|
+
lineItemId: number;
|
|
1537
|
+
paidAmount: number;
|
|
1538
|
+
unitPaidAmount: number;
|
|
1539
|
+
currency: CurrencyEnum;
|
|
1540
|
+
payment: Payment;
|
|
1541
|
+
lineItem: LineItems;
|
|
1542
|
+
}
|
|
1528
1543
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1529
1544
|
leagueId: number | null;
|
|
1530
1545
|
name: string | null;
|
|
@@ -1569,16 +1584,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1569
1584
|
league?: boolean;
|
|
1570
1585
|
facilities?: boolean;
|
|
1571
1586
|
}
|
|
1572
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1573
|
-
invoiceId: number;
|
|
1574
|
-
paymentId: number;
|
|
1575
|
-
lineItemId: number;
|
|
1576
|
-
paidAmount: number;
|
|
1577
|
-
unitPaidAmount: number;
|
|
1578
|
-
currency: CurrencyEnum;
|
|
1579
|
-
payment: Payment;
|
|
1580
|
-
lineItem: LineItems;
|
|
1581
|
-
}
|
|
1582
1587
|
export declare class LineItems extends BondBaseEntity {
|
|
1583
1588
|
constructor();
|
|
1584
1589
|
defineIsReverted(): void;
|
|
@@ -1697,12 +1702,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1697
1702
|
isAutoRenew?: boolean;
|
|
1698
1703
|
purchasedResources: PurchasedResource[];
|
|
1699
1704
|
}
|
|
1700
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1701
|
-
email: string | null;
|
|
1702
|
-
notificationType: NotificationTypeEnum | null;
|
|
1703
|
-
resourceId: number | null;
|
|
1704
|
-
resourceType: string | null;
|
|
1705
|
-
}
|
|
1706
1705
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1707
1706
|
membership: Membership;
|
|
1708
1707
|
membershipId: number;
|
|
@@ -1723,6 +1722,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1723
1722
|
cancellationStatus?: CancellationStatusEnum;
|
|
1724
1723
|
isImported?: boolean;
|
|
1725
1724
|
}
|
|
1725
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1726
|
+
email: string | null;
|
|
1727
|
+
notificationType: NotificationTypeEnum | null;
|
|
1728
|
+
resourceId: number | null;
|
|
1729
|
+
resourceType: string | null;
|
|
1730
|
+
}
|
|
1726
1731
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1727
1732
|
id: number;
|
|
1728
1733
|
dayOfWeek: number;
|
|
@@ -1737,12 +1742,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1737
1742
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1738
1743
|
organizationId: number;
|
|
1739
1744
|
}
|
|
1740
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1741
|
-
token: string | null;
|
|
1742
|
-
userId: number | null;
|
|
1743
|
-
validUntil: Date | null;
|
|
1744
|
-
active: boolean | null;
|
|
1745
|
-
}
|
|
1746
1745
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1747
1746
|
name?: string;
|
|
1748
1747
|
description?: string;
|
|
@@ -1760,6 +1759,12 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1760
1759
|
isMandatory: boolean;
|
|
1761
1760
|
productId: number;
|
|
1762
1761
|
}
|
|
1762
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1763
|
+
token: string | null;
|
|
1764
|
+
userId: number | null;
|
|
1765
|
+
validUntil: Date | null;
|
|
1766
|
+
active: boolean | null;
|
|
1767
|
+
}
|
|
1763
1768
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1764
1769
|
price: number;
|
|
1765
1770
|
paymentProcessorId: string;
|
|
@@ -1787,16 +1792,22 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1787
1792
|
refundReasonId?: number;
|
|
1788
1793
|
refundNote?: string;
|
|
1789
1794
|
}
|
|
1790
|
-
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1791
|
-
failureIndex: number;
|
|
1792
|
-
waitingDays: number;
|
|
1793
|
-
}
|
|
1794
1795
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1795
1796
|
paymentInstallmentId?: number;
|
|
1796
1797
|
invoiceId: number;
|
|
1797
1798
|
reason: EFailedPaymentReasons;
|
|
1798
1799
|
errorMessage: string;
|
|
1799
1800
|
}
|
|
1801
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1802
|
+
failureIndex: number;
|
|
1803
|
+
waitingDays: number;
|
|
1804
|
+
}
|
|
1805
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1806
|
+
paymentPlanId: number;
|
|
1807
|
+
paymentDate: Date;
|
|
1808
|
+
deletedAt?: Date;
|
|
1809
|
+
paymentPlan: ProductPaymentPlan;
|
|
1810
|
+
}
|
|
1800
1811
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1801
1812
|
content: string;
|
|
1802
1813
|
creatingUserId: number;
|
|
@@ -1806,6 +1817,23 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1806
1817
|
paymentId: number;
|
|
1807
1818
|
payment: Payment;
|
|
1808
1819
|
}
|
|
1820
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1821
|
+
productId: number;
|
|
1822
|
+
product: Product;
|
|
1823
|
+
name: string | null;
|
|
1824
|
+
price: number;
|
|
1825
|
+
currency: CurrencyEnum;
|
|
1826
|
+
paymentProcessorId: number | null;
|
|
1827
|
+
startDate: Date;
|
|
1828
|
+
endDate: Date;
|
|
1829
|
+
groupId?: number;
|
|
1830
|
+
groupName?: string;
|
|
1831
|
+
originalPrice?: number;
|
|
1832
|
+
deletedAt?: Date;
|
|
1833
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1834
|
+
discountValue?: number;
|
|
1835
|
+
taxIncludedPrice?: number;
|
|
1836
|
+
}
|
|
1809
1837
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1810
1838
|
userId: number | null;
|
|
1811
1839
|
ownerId: number | null;
|
|
@@ -1824,23 +1852,6 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1824
1852
|
installmentId: number | null;
|
|
1825
1853
|
invoiceId: string | null;
|
|
1826
1854
|
}
|
|
1827
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1828
|
-
productId: number;
|
|
1829
|
-
product: Product;
|
|
1830
|
-
name: string | null;
|
|
1831
|
-
price: number;
|
|
1832
|
-
currency: CurrencyEnum;
|
|
1833
|
-
paymentProcessorId: number | null;
|
|
1834
|
-
startDate: Date;
|
|
1835
|
-
endDate: Date;
|
|
1836
|
-
groupId?: number;
|
|
1837
|
-
groupName?: string;
|
|
1838
|
-
originalPrice?: number;
|
|
1839
|
-
deletedAt?: Date;
|
|
1840
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1841
|
-
discountValue?: number;
|
|
1842
|
-
taxIncludedPrice?: number;
|
|
1843
|
-
}
|
|
1844
1855
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1845
1856
|
name: string;
|
|
1846
1857
|
quantity: number;
|
|
@@ -1891,12 +1902,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1891
1902
|
activityTimes: ActivityTimes[];
|
|
1892
1903
|
purchasedResources: PurchasedResource[];
|
|
1893
1904
|
}
|
|
1894
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1895
|
-
paymentPlanId: number;
|
|
1896
|
-
paymentDate: Date;
|
|
1897
|
-
deletedAt?: Date;
|
|
1898
|
-
paymentPlan: ProductPaymentPlan;
|
|
1899
|
-
}
|
|
1900
1905
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1901
1906
|
parentProductId: number;
|
|
1902
1907
|
childProductId: number;
|
|
@@ -1912,15 +1917,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1912
1917
|
durationDays?: number;
|
|
1913
1918
|
level?: ProductPackageLevelEnum;
|
|
1914
1919
|
}
|
|
1915
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1916
|
-
productId: number;
|
|
1917
|
-
maxMonths?: number;
|
|
1918
|
-
dayOfMonth?: number;
|
|
1919
|
-
name: string;
|
|
1920
|
-
deletedAt?: Date;
|
|
1921
|
-
schedule: PaymentPlanSchedule[];
|
|
1922
|
-
product?: Product;
|
|
1923
|
-
}
|
|
1924
1920
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1925
1921
|
productId: number;
|
|
1926
1922
|
resourceId: number;
|
|
@@ -1932,6 +1928,15 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1932
1928
|
productPackages: ProductPackage[];
|
|
1933
1929
|
resourceName?: string;
|
|
1934
1930
|
}
|
|
1931
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1932
|
+
productId: number;
|
|
1933
|
+
maxMonths?: number;
|
|
1934
|
+
dayOfMonth?: number;
|
|
1935
|
+
name: string;
|
|
1936
|
+
deletedAt?: Date;
|
|
1937
|
+
schedule: PaymentPlanSchedule[];
|
|
1938
|
+
product?: Product;
|
|
1939
|
+
}
|
|
1935
1940
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1936
1941
|
productId: number;
|
|
1937
1942
|
variantTitleId: number;
|
|
@@ -1940,13 +1945,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1940
1945
|
productId: number;
|
|
1941
1946
|
variantId: number;
|
|
1942
1947
|
}
|
|
1943
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1944
|
-
productId: number;
|
|
1945
|
-
customerId: number;
|
|
1946
|
-
customer: Customer;
|
|
1947
|
-
deletedAt?: Date;
|
|
1948
|
-
product: Product;
|
|
1949
|
-
}
|
|
1950
1948
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1951
1949
|
productId: number;
|
|
1952
1950
|
userId: number;
|
|
@@ -1964,9 +1962,16 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1964
1962
|
slots?: Slot[];
|
|
1965
1963
|
addons?: Addon[];
|
|
1966
1964
|
}
|
|
1967
|
-
export declare class
|
|
1968
|
-
|
|
1969
|
-
|
|
1965
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1966
|
+
productId: number;
|
|
1967
|
+
customerId: number;
|
|
1968
|
+
customer: Customer;
|
|
1969
|
+
deletedAt?: Date;
|
|
1970
|
+
product: Product;
|
|
1971
|
+
}
|
|
1972
|
+
export declare class Program extends BondBaseEntity {
|
|
1973
|
+
type: ProgramTypesEnum;
|
|
1974
|
+
name: string;
|
|
1970
1975
|
sport: SportsEnum;
|
|
1971
1976
|
minAge: string;
|
|
1972
1977
|
maxAge: string;
|
|
@@ -1994,6 +1999,10 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1994
1999
|
program: Program;
|
|
1995
2000
|
deletedAt?: Date;
|
|
1996
2001
|
}
|
|
2002
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2003
|
+
title: string | null;
|
|
2004
|
+
answerTitle: AnswerTitle;
|
|
2005
|
+
}
|
|
1997
2006
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1998
2007
|
programId: number;
|
|
1999
2008
|
name: string;
|
|
@@ -2071,10 +2080,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2071
2080
|
product?: Product;
|
|
2072
2081
|
event?: Event;
|
|
2073
2082
|
}
|
|
2074
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2075
|
-
title: string | null;
|
|
2076
|
-
answerTitle: AnswerTitle;
|
|
2077
|
-
}
|
|
2078
2083
|
export declare class Questions extends BondBaseEntity {
|
|
2079
2084
|
questionType: string | null;
|
|
2080
2085
|
ordinal: number | null;
|
|
@@ -2089,11 +2094,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2089
2094
|
ownerId: number | null;
|
|
2090
2095
|
questionnaireId: number | null;
|
|
2091
2096
|
}
|
|
2092
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2093
|
-
reason: string;
|
|
2094
|
-
ordinal: number;
|
|
2095
|
-
deletedAt: Date;
|
|
2096
|
-
}
|
|
2097
2097
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2098
2098
|
resourceType: ResourceNameTypeEnum;
|
|
2099
2099
|
resourceId: number;
|
|
@@ -2105,6 +2105,11 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2105
2105
|
closeTime?: string;
|
|
2106
2106
|
deletedAt?: Date;
|
|
2107
2107
|
}
|
|
2108
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2109
|
+
reason: string;
|
|
2110
|
+
ordinal: number;
|
|
2111
|
+
deletedAt: Date;
|
|
2112
|
+
}
|
|
2108
2113
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2109
2114
|
name?: string;
|
|
2110
2115
|
description?: string;
|
|
@@ -2215,6 +2220,10 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2215
2220
|
purchasedResource: PurchasedResource;
|
|
2216
2221
|
season: LeagueSeason;
|
|
2217
2222
|
}
|
|
2223
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2224
|
+
blockingSpaceId: number;
|
|
2225
|
+
blockedSpaceId: number;
|
|
2226
|
+
}
|
|
2218
2227
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2219
2228
|
seasonId: number | null;
|
|
2220
2229
|
teamId: number | null;
|
|
@@ -2225,10 +2234,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2225
2234
|
metaData: any | null;
|
|
2226
2235
|
team: Team;
|
|
2227
2236
|
}
|
|
2228
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2229
|
-
blockingSpaceId: number;
|
|
2230
|
-
blockedSpaceId: number;
|
|
2231
|
-
}
|
|
2232
2237
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2233
2238
|
name: string;
|
|
2234
2239
|
facilityId: number;
|
|
@@ -2248,14 +2253,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2248
2253
|
station: Station;
|
|
2249
2254
|
subcategory: Subcategory;
|
|
2250
2255
|
}
|
|
2251
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2252
|
-
productType: ProductTypesEnum;
|
|
2253
|
-
name: string;
|
|
2254
|
-
ordinal?: number;
|
|
2255
|
-
deletedAt?: Date;
|
|
2256
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2257
|
-
stations: Station[];
|
|
2258
|
-
}
|
|
2259
2256
|
export declare class Team extends BondBaseEntity {
|
|
2260
2257
|
name: string | null;
|
|
2261
2258
|
description: string | null;
|
|
@@ -2290,6 +2287,14 @@ export declare class Team extends BondBaseEntity {
|
|
|
2290
2287
|
gender: number | null;
|
|
2291
2288
|
questionnaireId: number | null;
|
|
2292
2289
|
}
|
|
2290
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2291
|
+
productType: ProductTypesEnum;
|
|
2292
|
+
name: string;
|
|
2293
|
+
ordinal?: number;
|
|
2294
|
+
deletedAt?: Date;
|
|
2295
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2296
|
+
stations: Station[];
|
|
2297
|
+
}
|
|
2293
2298
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2294
2299
|
email: string;
|
|
2295
2300
|
teamId: number;
|
|
@@ -2308,6 +2313,12 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2308
2313
|
role: TeamMemberRoleEnum;
|
|
2309
2314
|
user: User;
|
|
2310
2315
|
}
|
|
2316
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2317
|
+
entityId: number | null;
|
|
2318
|
+
userId: number | null;
|
|
2319
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2320
|
+
user: User;
|
|
2321
|
+
}
|
|
2311
2322
|
export declare class User extends BondBaseEntity {
|
|
2312
2323
|
firstName: string | null;
|
|
2313
2324
|
lastName: string | null;
|
|
@@ -2347,12 +2358,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2347
2358
|
invoiceNotes: InvoiceNote[];
|
|
2348
2359
|
paymentNotes: PaymentNote[];
|
|
2349
2360
|
}
|
|
2350
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2351
|
-
entityId: number | null;
|
|
2352
|
-
userId: number | null;
|
|
2353
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2354
|
-
user: User;
|
|
2355
|
-
}
|
|
2356
2361
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2357
2362
|
familyAccountId: number;
|
|
2358
2363
|
userId: number;
|
|
@@ -3297,92 +3302,15 @@ export interface IReservationCreatorData {
|
|
|
3297
3302
|
endDate: string;
|
|
3298
3303
|
sportId: number;
|
|
3299
3304
|
}
|
|
3300
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
3301
|
-
questionnaireId: number;
|
|
3302
|
-
userId?: number;
|
|
3303
|
-
answers: Answer[];
|
|
3304
|
-
questionnaire: Questionnaires;
|
|
3305
|
-
}
|
|
3306
3305
|
export declare class ColumnNumericTransformer {
|
|
3307
3306
|
to(data: number): number;
|
|
3308
3307
|
from(data: string): number;
|
|
3309
3308
|
}
|
|
3310
3309
|
export declare function convertToNumber(data: string): number;
|
|
3311
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3312
|
-
name?: string;
|
|
3313
|
-
genderStr?: string;
|
|
3314
|
-
parentID?: string;
|
|
3315
|
-
partnerID?: string;
|
|
3316
|
-
membershipName?: string;
|
|
3317
|
-
membershipExpDate?: string;
|
|
3318
|
-
membershipCreationDate?: string;
|
|
3319
|
-
bondMembershipID?: number;
|
|
3320
|
-
}
|
|
3321
|
-
export declare class AddFamilyDto {
|
|
3322
|
-
parents: AddImportedCustomerDto[];
|
|
3323
|
-
children: AddImportedCustomerDto[];
|
|
3324
|
-
}
|
|
3325
|
-
export declare class ProductIdsDto {
|
|
3326
|
-
productIds?: number[];
|
|
3327
|
-
}
|
|
3328
|
-
export declare class ProductImportDto {
|
|
3329
|
-
product: Product;
|
|
3330
|
-
prices: Price[];
|
|
3331
|
-
resourceIds: number[];
|
|
3332
|
-
oldId: number;
|
|
3333
|
-
}
|
|
3334
|
-
export declare enum ImportPaymentTypeEnum {
|
|
3335
|
-
CREDIT_CARD = "card",
|
|
3336
|
-
ACH = "ach",
|
|
3337
|
-
CASH = "cash",
|
|
3338
|
-
CHECK = "check",
|
|
3339
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3340
|
-
OTHER = "other",
|
|
3341
|
-
GIFT_CARD = "gift-card"
|
|
3342
|
-
}
|
|
3343
|
-
export declare class ImportedInvoiceLineDto {
|
|
3344
|
-
invoiceID?: string;
|
|
3345
|
-
description: string;
|
|
3346
|
-
createdDate: string;
|
|
3347
|
-
createdTime: string;
|
|
3348
|
-
quantity: string;
|
|
3349
|
-
price: string;
|
|
3350
|
-
total: string;
|
|
3351
|
-
customerID: string;
|
|
3352
|
-
resourceType: string;
|
|
3353
|
-
resourceID: string;
|
|
3354
|
-
}
|
|
3355
|
-
export declare class ImportedInvoiceDto {
|
|
3356
|
-
customerId?: string;
|
|
3357
|
-
total?: string;
|
|
3358
|
-
amountDue?: string;
|
|
3359
|
-
payments?: ImportedPaymentDto[];
|
|
3360
|
-
lines: any;
|
|
3361
|
-
}
|
|
3362
|
-
export declare class ImportedPaymentDto {
|
|
3363
|
-
invoiceID: string;
|
|
3364
|
-
type: ImportPaymentTypeEnum;
|
|
3365
|
-
description: string;
|
|
3366
|
-
paid: string;
|
|
3367
|
-
date: string;
|
|
3368
|
-
time: string;
|
|
3369
|
-
}
|
|
3370
3310
|
export declare class GameSlots extends BondBaseEntity {
|
|
3371
3311
|
entityType: string;
|
|
3372
3312
|
entityId: number;
|
|
3373
3313
|
}
|
|
3374
|
-
export declare class PunchPassDto {
|
|
3375
|
-
CustomerID: string;
|
|
3376
|
-
QuantityLeft: number;
|
|
3377
|
-
BondProgramID: number;
|
|
3378
|
-
BondSessionID: number;
|
|
3379
|
-
ProductID: number;
|
|
3380
|
-
}
|
|
3381
|
-
export declare class Matches extends BondBaseEntity {
|
|
3382
|
-
eventId: number | null;
|
|
3383
|
-
status: number | null;
|
|
3384
|
-
excludeStandings: boolean | null;
|
|
3385
|
-
}
|
|
3386
3314
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3387
3315
|
matchId: number | null;
|
|
3388
3316
|
ordinal: number | null;
|
|
@@ -3405,11 +3333,29 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3405
3333
|
createdAt: Date;
|
|
3406
3334
|
updatedAt: Date;
|
|
3407
3335
|
}
|
|
3336
|
+
export declare class Matches extends BondBaseEntity {
|
|
3337
|
+
eventId: number | null;
|
|
3338
|
+
status: number | null;
|
|
3339
|
+
excludeStandings: boolean | null;
|
|
3340
|
+
}
|
|
3408
3341
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3409
3342
|
teamId: number | null;
|
|
3410
3343
|
eventId: number | null;
|
|
3411
3344
|
status: number | null;
|
|
3412
3345
|
}
|
|
3346
|
+
export declare class Lock extends BondBaseEntity {
|
|
3347
|
+
name: string;
|
|
3348
|
+
locked?: Date;
|
|
3349
|
+
}
|
|
3350
|
+
export interface ValidatedMonthAndDay {
|
|
3351
|
+
valid: boolean;
|
|
3352
|
+
month?: number;
|
|
3353
|
+
day?: number;
|
|
3354
|
+
}
|
|
3355
|
+
export interface ValidationReason {
|
|
3356
|
+
valid: boolean;
|
|
3357
|
+
reason?: string;
|
|
3358
|
+
}
|
|
3413
3359
|
export interface PaymentStatus {
|
|
3414
3360
|
parentId: number;
|
|
3415
3361
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3422,19 +3368,6 @@ export interface PaymentStatusesDict {
|
|
|
3422
3368
|
export interface PaymentStatusDict {
|
|
3423
3369
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3424
3370
|
}
|
|
3425
|
-
export interface ValidatedMonthAndDay {
|
|
3426
|
-
valid: boolean;
|
|
3427
|
-
month?: number;
|
|
3428
|
-
day?: number;
|
|
3429
|
-
}
|
|
3430
|
-
export interface ValidationReason {
|
|
3431
|
-
valid: boolean;
|
|
3432
|
-
reason?: string;
|
|
3433
|
-
}
|
|
3434
|
-
export declare class Lock extends BondBaseEntity {
|
|
3435
|
-
name: string;
|
|
3436
|
-
locked?: Date;
|
|
3437
|
-
}
|
|
3438
3371
|
export declare class CreateMonitorConfigDto {
|
|
3439
3372
|
facilityId: number;
|
|
3440
3373
|
name: string;
|
|
@@ -3709,16 +3642,6 @@ export declare class RefundLineItemAmountDto {
|
|
|
3709
3642
|
id: number;
|
|
3710
3643
|
refundAmount: number;
|
|
3711
3644
|
}
|
|
3712
|
-
export interface RefundResult extends PaymentsResults {
|
|
3713
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3714
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3715
|
-
invoice?: Invoice;
|
|
3716
|
-
}
|
|
3717
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3718
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3719
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3720
|
-
totalAmountProcessed: number;
|
|
3721
|
-
}
|
|
3722
3645
|
export declare class VoidDto {
|
|
3723
3646
|
lineItems: VoidLineItemDto[];
|
|
3724
3647
|
meta?: RevertMetaDto;
|
|
@@ -3754,6 +3677,16 @@ export interface ExtendedLineItems {
|
|
|
3754
3677
|
products: LineItems[];
|
|
3755
3678
|
events: LineItems[];
|
|
3756
3679
|
}
|
|
3680
|
+
export interface RefundResult extends PaymentsResults {
|
|
3681
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3682
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3683
|
+
invoice?: Invoice;
|
|
3684
|
+
}
|
|
3685
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3686
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3687
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3688
|
+
totalAmountProcessed: number;
|
|
3689
|
+
}
|
|
3757
3690
|
export declare class AddonDto {
|
|
3758
3691
|
productId: number;
|
|
3759
3692
|
id?: number;
|
|
@@ -3822,6 +3755,13 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3822
3755
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3823
3756
|
segments: SegmentDto[];
|
|
3824
3757
|
}
|
|
3758
|
+
export declare class MaintenanceDto {
|
|
3759
|
+
id?: number;
|
|
3760
|
+
title: string;
|
|
3761
|
+
durationValue: number;
|
|
3762
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3763
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3764
|
+
}
|
|
3825
3765
|
export declare class LineItemDto {
|
|
3826
3766
|
id?: number;
|
|
3827
3767
|
invoiceId?: number;
|
|
@@ -3848,12 +3788,13 @@ export declare class LineItemDto {
|
|
|
3848
3788
|
unitTaxPrice?: number;
|
|
3849
3789
|
parentOrdinal?: number;
|
|
3850
3790
|
}
|
|
3851
|
-
export declare class
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3791
|
+
export declare class PurchasedResourceDto {
|
|
3792
|
+
resourceId?: number;
|
|
3793
|
+
resourceType: ResourceNameTypeEnum;
|
|
3794
|
+
startDate?: string;
|
|
3795
|
+
startTime?: string;
|
|
3796
|
+
endDate?: string;
|
|
3797
|
+
endTime?: string;
|
|
3857
3798
|
}
|
|
3858
3799
|
export declare class ReservationDto {
|
|
3859
3800
|
id?: number;
|
|
@@ -4007,25 +3948,6 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4007
3948
|
updateAddons?: boolean;
|
|
4008
3949
|
updateMaintenance?: boolean;
|
|
4009
3950
|
}
|
|
4010
|
-
export declare class PurchasedResourceDto {
|
|
4011
|
-
resourceId?: number;
|
|
4012
|
-
resourceType: ResourceNameTypeEnum;
|
|
4013
|
-
startDate?: string;
|
|
4014
|
-
startTime?: string;
|
|
4015
|
-
endDate?: string;
|
|
4016
|
-
endTime?: string;
|
|
4017
|
-
}
|
|
4018
|
-
export declare class SegmentDto {
|
|
4019
|
-
id?: number;
|
|
4020
|
-
title: string;
|
|
4021
|
-
isPrivate: boolean;
|
|
4022
|
-
resourceIds: number[];
|
|
4023
|
-
sportId?: number;
|
|
4024
|
-
series: SeriesDto[];
|
|
4025
|
-
addonIds?: number[];
|
|
4026
|
-
publicNotesForSlots?: string;
|
|
4027
|
-
privateNotesForSlots?: string;
|
|
4028
|
-
}
|
|
4029
3951
|
export declare class SeriesDto {
|
|
4030
3952
|
id?: number;
|
|
4031
3953
|
startDate: string;
|
|
@@ -4043,6 +3965,17 @@ export declare class SeriesDto {
|
|
|
4043
3965
|
maintenance?: MaintenanceDto[];
|
|
4044
3966
|
slots?: SlotDto[];
|
|
4045
3967
|
}
|
|
3968
|
+
export declare class SegmentDto {
|
|
3969
|
+
id?: number;
|
|
3970
|
+
title: string;
|
|
3971
|
+
isPrivate: boolean;
|
|
3972
|
+
resourceIds: number[];
|
|
3973
|
+
sportId?: number;
|
|
3974
|
+
series: SeriesDto[];
|
|
3975
|
+
addonIds?: number[];
|
|
3976
|
+
publicNotesForSlots?: string;
|
|
3977
|
+
privateNotesForSlots?: string;
|
|
3978
|
+
}
|
|
4046
3979
|
export declare class SlotDateTimeAndSpace {
|
|
4047
3980
|
startDate: string;
|
|
4048
3981
|
startTime?: string;
|
|
@@ -4170,6 +4103,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4170
4103
|
previousProductUsersIds?: number[];
|
|
4171
4104
|
previousProductUsers?: ProductsUsers[];
|
|
4172
4105
|
}
|
|
4106
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4107
|
+
deletedAt?: Date;
|
|
4108
|
+
reservationId: number;
|
|
4109
|
+
invoiceId: number;
|
|
4110
|
+
slotId: number;
|
|
4111
|
+
}
|
|
4173
4112
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4174
4113
|
name?: string;
|
|
4175
4114
|
description?: string;
|
|
@@ -4217,12 +4156,6 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
|
4217
4156
|
privateNotesForSlots?: string;
|
|
4218
4157
|
slots?: Slot[];
|
|
4219
4158
|
}
|
|
4220
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4221
|
-
deletedAt?: Date;
|
|
4222
|
-
reservationId: number;
|
|
4223
|
-
invoiceId: number;
|
|
4224
|
-
slotId: number;
|
|
4225
|
-
}
|
|
4226
4159
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4227
4160
|
deletedAt?: Date;
|
|
4228
4161
|
segmentId: number;
|
|
@@ -4242,19 +4175,6 @@ export declare class Series extends OrganizationConnectionBaseEntity {
|
|
|
4242
4175
|
numberOccurrences?: number;
|
|
4243
4176
|
resources?: Resource[];
|
|
4244
4177
|
}
|
|
4245
|
-
export declare type TSlotAndType = {
|
|
4246
|
-
type: 'slots' | 'slot_addons';
|
|
4247
|
-
slotsForProduct: {
|
|
4248
|
-
[productId: number]: {
|
|
4249
|
-
product: Product;
|
|
4250
|
-
slots: SlotDto[];
|
|
4251
|
-
};
|
|
4252
|
-
};
|
|
4253
|
-
};
|
|
4254
|
-
export interface ILineItemResource {
|
|
4255
|
-
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4256
|
-
values: TResource[];
|
|
4257
|
-
}
|
|
4258
4178
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4259
4179
|
constructor();
|
|
4260
4180
|
defineIsReverted(): void;
|
|
@@ -4322,6 +4242,19 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4322
4242
|
conflictsCount?: number;
|
|
4323
4243
|
conflicts?: Slot[];
|
|
4324
4244
|
}
|
|
4245
|
+
export declare type TSlotAndType = {
|
|
4246
|
+
type: 'slots' | 'slot_addons';
|
|
4247
|
+
slotsForProduct: {
|
|
4248
|
+
[productId: number]: {
|
|
4249
|
+
product: Product;
|
|
4250
|
+
slots: SlotDto[];
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4253
|
+
};
|
|
4254
|
+
export interface ILineItemResource {
|
|
4255
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4256
|
+
values: TResource[];
|
|
4257
|
+
}
|
|
4325
4258
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4326
4259
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4327
4260
|
export interface ReservationV1 {
|
|
@@ -4564,6 +4497,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4564
4497
|
role: Role;
|
|
4565
4498
|
user: User;
|
|
4566
4499
|
}
|
|
4500
|
+
export declare class FindShiftsByIdsDto {
|
|
4501
|
+
shiftIds: number[];
|
|
4502
|
+
}
|
|
4567
4503
|
export declare class CloseShiftDto {
|
|
4568
4504
|
closingCashAmount: number;
|
|
4569
4505
|
}
|
|
@@ -4587,9 +4523,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4587
4523
|
startDate?: Date;
|
|
4588
4524
|
endDate?: Date;
|
|
4589
4525
|
}
|
|
4590
|
-
export declare class FindShiftsByIdsDto {
|
|
4591
|
-
shiftIds: number[];
|
|
4592
|
-
}
|
|
4593
4526
|
export declare class ShiftManagementClosingAmount {
|
|
4594
4527
|
shiftId: number;
|
|
4595
4528
|
managementClosingCashAmount: number;
|
|
@@ -4643,6 +4576,72 @@ export default interface IWebflowProgram {
|
|
|
4643
4576
|
level: string[];
|
|
4644
4577
|
gender: string;
|
|
4645
4578
|
}
|
|
4579
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
4580
|
+
name?: string;
|
|
4581
|
+
genderStr?: string;
|
|
4582
|
+
parentID?: string;
|
|
4583
|
+
partnerID?: string;
|
|
4584
|
+
membershipName?: string;
|
|
4585
|
+
membershipExpDate?: string;
|
|
4586
|
+
membershipCreationDate?: string;
|
|
4587
|
+
bondMembershipID?: number;
|
|
4588
|
+
}
|
|
4589
|
+
export declare class AddFamilyDto {
|
|
4590
|
+
parents: AddImportedCustomerDto[];
|
|
4591
|
+
children: AddImportedCustomerDto[];
|
|
4592
|
+
}
|
|
4593
|
+
export declare class ProductIdsDto {
|
|
4594
|
+
productIds?: number[];
|
|
4595
|
+
}
|
|
4596
|
+
export declare class ProductImportDto {
|
|
4597
|
+
product: Product;
|
|
4598
|
+
prices: Price[];
|
|
4599
|
+
resourceIds: number[];
|
|
4600
|
+
oldId: number;
|
|
4601
|
+
}
|
|
4602
|
+
export declare enum ImportPaymentTypeEnum {
|
|
4603
|
+
CREDIT_CARD = "card",
|
|
4604
|
+
ACH = "ach",
|
|
4605
|
+
CASH = "cash",
|
|
4606
|
+
CHECK = "check",
|
|
4607
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
4608
|
+
OTHER = "other",
|
|
4609
|
+
GIFT_CARD = "gift-card"
|
|
4610
|
+
}
|
|
4611
|
+
export declare class ImportedInvoiceLineDto {
|
|
4612
|
+
invoiceID?: string;
|
|
4613
|
+
description: string;
|
|
4614
|
+
createdDate: string;
|
|
4615
|
+
createdTime: string;
|
|
4616
|
+
quantity: string;
|
|
4617
|
+
price: string;
|
|
4618
|
+
total: string;
|
|
4619
|
+
customerID: string;
|
|
4620
|
+
resourceType: string;
|
|
4621
|
+
resourceID: string;
|
|
4622
|
+
}
|
|
4623
|
+
export declare class ImportedInvoiceDto {
|
|
4624
|
+
customerId?: string;
|
|
4625
|
+
total?: string;
|
|
4626
|
+
amountDue?: string;
|
|
4627
|
+
payments?: ImportedPaymentDto[];
|
|
4628
|
+
lines: any;
|
|
4629
|
+
}
|
|
4630
|
+
export declare class ImportedPaymentDto {
|
|
4631
|
+
invoiceID: string;
|
|
4632
|
+
type: ImportPaymentTypeEnum;
|
|
4633
|
+
description: string;
|
|
4634
|
+
paid: string;
|
|
4635
|
+
date: string;
|
|
4636
|
+
time: string;
|
|
4637
|
+
}
|
|
4638
|
+
export declare class PunchPassDto {
|
|
4639
|
+
CustomerID: string;
|
|
4640
|
+
QuantityLeft: number;
|
|
4641
|
+
BondProgramID: number;
|
|
4642
|
+
BondSessionID: number;
|
|
4643
|
+
ProductID: number;
|
|
4644
|
+
}
|
|
4646
4645
|
export declare class ImportedSlotProductDto {
|
|
4647
4646
|
slotID?: string;
|
|
4648
4647
|
name?: string;
|