@bondsports/types 0.0.190 → 0.0.192
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 +567 -561
- 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
|
@@ -20,13 +20,6 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
-
export declare class FindBookingTypeSettingDto {
|
|
24
|
-
organizationId: number;
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
23
|
export declare enum EConfigurationKeys {
|
|
31
24
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
25
|
}
|
|
@@ -34,6 +27,13 @@ export declare enum EFailedPaymentReasons {
|
|
|
34
27
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
28
|
UNKNOWN = "unknown"
|
|
36
29
|
}
|
|
30
|
+
export declare class FindBookingTypeSettingDto {
|
|
31
|
+
organizationId: number;
|
|
32
|
+
facilityId: number;
|
|
33
|
+
spaceId: number;
|
|
34
|
+
bookingDate: string;
|
|
35
|
+
bookingTime: string;
|
|
36
|
+
}
|
|
37
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
38
38
|
membershipId: number;
|
|
39
39
|
}
|
|
@@ -365,6 +365,48 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
366
|
fileName: string;
|
|
367
367
|
}
|
|
368
|
+
export declare class CreateEntitlementTermsDto {
|
|
369
|
+
organizationId: number;
|
|
370
|
+
entitlementGroupId: number;
|
|
371
|
+
terms: IEntitlementTerms[];
|
|
372
|
+
}
|
|
373
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
374
|
+
entitlementGroupId: number;
|
|
375
|
+
}
|
|
376
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
377
|
+
user: any;
|
|
378
|
+
userVariables: IQuestionAnswerObject[];
|
|
379
|
+
}
|
|
380
|
+
export declare class FindLowestPriceDto {
|
|
381
|
+
organizationId: number;
|
|
382
|
+
user?: any;
|
|
383
|
+
answers?: IQuestionAnswerObject[];
|
|
384
|
+
itemIds: number[];
|
|
385
|
+
itemType?: ResourceNameTypeEnum;
|
|
386
|
+
startDate?: Date;
|
|
387
|
+
}
|
|
388
|
+
export declare class FindGroupItemsPricingsDto {
|
|
389
|
+
groupsIds: number[];
|
|
390
|
+
itemsIds: number[];
|
|
391
|
+
}
|
|
392
|
+
export declare class CreateEntitlementGroupDto {
|
|
393
|
+
name: string;
|
|
394
|
+
}
|
|
395
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
396
|
+
itemIds: number[];
|
|
397
|
+
itemType: string;
|
|
398
|
+
}
|
|
399
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
400
|
+
groupid: number;
|
|
401
|
+
}
|
|
402
|
+
export declare class CreateGroupPricingWithProduct {
|
|
403
|
+
groupId: number;
|
|
404
|
+
price: number;
|
|
405
|
+
startDate?: Date;
|
|
406
|
+
endDate?: Date;
|
|
407
|
+
discountValue?: number;
|
|
408
|
+
discountMethod?: DiscountMethodsEnum;
|
|
409
|
+
}
|
|
368
410
|
export declare class CreateMembershipDto {
|
|
369
411
|
organizationId: number;
|
|
370
412
|
name: string;
|
|
@@ -660,48 +702,6 @@ export declare class VariantDto {
|
|
|
660
702
|
startDate: Date;
|
|
661
703
|
endDate: Date;
|
|
662
704
|
}
|
|
663
|
-
export declare class CreateEntitlementTermsDto {
|
|
664
|
-
organizationId: number;
|
|
665
|
-
entitlementGroupId: number;
|
|
666
|
-
terms: IEntitlementTerms[];
|
|
667
|
-
}
|
|
668
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
669
|
-
entitlementGroupId: number;
|
|
670
|
-
}
|
|
671
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
672
|
-
user: any;
|
|
673
|
-
userVariables: IQuestionAnswerObject[];
|
|
674
|
-
}
|
|
675
|
-
export declare class FindLowestPriceDto {
|
|
676
|
-
organizationId: number;
|
|
677
|
-
user?: any;
|
|
678
|
-
answers?: IQuestionAnswerObject[];
|
|
679
|
-
itemIds: number[];
|
|
680
|
-
itemType?: ResourceNameTypeEnum;
|
|
681
|
-
startDate?: Date;
|
|
682
|
-
}
|
|
683
|
-
export declare class FindGroupItemsPricingsDto {
|
|
684
|
-
groupsIds: number[];
|
|
685
|
-
itemsIds: number[];
|
|
686
|
-
}
|
|
687
|
-
export declare class CreateEntitlementGroupDto {
|
|
688
|
-
name: string;
|
|
689
|
-
}
|
|
690
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
691
|
-
itemIds: number[];
|
|
692
|
-
itemType: string;
|
|
693
|
-
}
|
|
694
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
695
|
-
groupid: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class CreateGroupPricingWithProduct {
|
|
698
|
-
groupId: number;
|
|
699
|
-
price: number;
|
|
700
|
-
startDate?: Date;
|
|
701
|
-
endDate?: Date;
|
|
702
|
-
discountValue?: number;
|
|
703
|
-
discountMethod?: DiscountMethodsEnum;
|
|
704
|
-
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -1021,6 +1021,10 @@ export declare class CreateResourceGroupDto {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1023
1023
|
}
|
|
1024
|
+
export declare class ResourceDto {
|
|
1025
|
+
type: ResourceNameTypeEnum;
|
|
1026
|
+
id: number;
|
|
1027
|
+
}
|
|
1024
1028
|
export declare class SpaceByIdDto {
|
|
1025
1029
|
spaceId: number;
|
|
1026
1030
|
}
|
|
@@ -1077,10 +1081,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1077
1081
|
types?: string;
|
|
1078
1082
|
resourcesIds?: string;
|
|
1079
1083
|
}
|
|
1080
|
-
export declare class ResourceDto {
|
|
1081
|
-
type: ResourceNameTypeEnum;
|
|
1082
|
-
id: number;
|
|
1083
|
-
}
|
|
1084
1084
|
export declare class StripeCustomerIdDto {
|
|
1085
1085
|
userId: number;
|
|
1086
1086
|
}
|
|
@@ -1126,6 +1126,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1126
1126
|
proudct: Product;
|
|
1127
1127
|
event: Event;
|
|
1128
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
|
+
}
|
|
1129
1140
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1130
1141
|
questionId: number;
|
|
1131
1142
|
question?: Questions;
|
|
@@ -1139,16 +1150,11 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1139
1150
|
metaData: any | null;
|
|
1140
1151
|
questionText: string | null;
|
|
1141
1152
|
}
|
|
1142
|
-
export declare class
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
zip?: string;
|
|
1148
|
-
country?: string;
|
|
1149
|
-
state?: string;
|
|
1150
|
-
geo: any;
|
|
1151
|
-
deletedAt?: Date;
|
|
1153
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1154
|
+
questionnaireId: number;
|
|
1155
|
+
userId?: number;
|
|
1156
|
+
answers: Answer[];
|
|
1157
|
+
questionnaire: Questionnaires;
|
|
1152
1158
|
}
|
|
1153
1159
|
export declare class Athlete extends BondBaseEntity {
|
|
1154
1160
|
userId: number | null;
|
|
@@ -1160,12 +1166,6 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1160
1166
|
sports: number | null;
|
|
1161
1167
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1162
1168
|
}
|
|
1163
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1164
|
-
questionnaireId: number;
|
|
1165
|
-
userId?: number;
|
|
1166
|
-
answers: Answer[];
|
|
1167
|
-
questionnaire: Questionnaires;
|
|
1168
|
-
}
|
|
1169
1169
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1170
1170
|
entityType: ResourceNameTypeEnum;
|
|
1171
1171
|
entityId: number;
|
|
@@ -1174,6 +1174,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1174
1174
|
endDate: Date;
|
|
1175
1175
|
deletedAt?: Date;
|
|
1176
1176
|
}
|
|
1177
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1178
|
+
id: number;
|
|
1179
|
+
createdAt: Date;
|
|
1180
|
+
updatedAt: Date;
|
|
1181
|
+
}
|
|
1177
1182
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1178
1183
|
reservationId?: number;
|
|
1179
1184
|
color?: string;
|
|
@@ -1202,11 +1207,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1202
1207
|
endTimeInDay: string;
|
|
1203
1208
|
directBookingFor: DirectBookingTypesEnum;
|
|
1204
1209
|
}
|
|
1205
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1206
|
-
id: number;
|
|
1207
|
-
createdAt: Date;
|
|
1208
|
-
updatedAt: Date;
|
|
1209
|
-
}
|
|
1210
1210
|
export declare class Configuration extends BondBaseEntity {
|
|
1211
1211
|
area: string;
|
|
1212
1212
|
key: string;
|
|
@@ -1224,6 +1224,14 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1224
1224
|
userCreatorId: number | null;
|
|
1225
1225
|
ownerId: number | null;
|
|
1226
1226
|
}
|
|
1227
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1228
|
+
creditAmount: number;
|
|
1229
|
+
paymentProcessorId: string;
|
|
1230
|
+
userId: number;
|
|
1231
|
+
paymentId: number;
|
|
1232
|
+
invoiceId: number;
|
|
1233
|
+
creditPaymentId: number;
|
|
1234
|
+
}
|
|
1227
1235
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1228
1236
|
name: string | null;
|
|
1229
1237
|
entityId: number | null;
|
|
@@ -1264,14 +1272,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1264
1272
|
invoice: Invoice;
|
|
1265
1273
|
payment: Payment;
|
|
1266
1274
|
}
|
|
1267
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1268
|
-
creditAmount: number;
|
|
1269
|
-
paymentProcessorId: string;
|
|
1270
|
-
userId: number;
|
|
1271
|
-
paymentId: number;
|
|
1272
|
-
invoiceId: number;
|
|
1273
|
-
creditPaymentId: number;
|
|
1274
|
-
}
|
|
1275
1275
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1276
1276
|
customerId?: number;
|
|
1277
1277
|
description: string;
|
|
@@ -1286,14 +1286,18 @@ export declare class Division extends BondBaseEntity {
|
|
|
1286
1286
|
isDefault: boolean;
|
|
1287
1287
|
groups: Group[];
|
|
1288
1288
|
}
|
|
1289
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1290
|
+
name: string | null;
|
|
1291
|
+
}
|
|
1289
1292
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1290
1293
|
customerId: number;
|
|
1291
1294
|
name: string | null;
|
|
1292
1295
|
phoneNumber: string | null;
|
|
1293
1296
|
customer: Customer;
|
|
1294
1297
|
}
|
|
1295
|
-
export declare class
|
|
1296
|
-
|
|
1298
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1299
|
+
groupId: number;
|
|
1300
|
+
terms: IEntitlementTerms[];
|
|
1297
1301
|
}
|
|
1298
1302
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1299
1303
|
status: RequestStatusEnum | null;
|
|
@@ -1310,6 +1314,30 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1310
1314
|
event: Event;
|
|
1311
1315
|
purchasedResource: PurchasedResource;
|
|
1312
1316
|
}
|
|
1317
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1318
|
+
name: string;
|
|
1319
|
+
description?: string;
|
|
1320
|
+
addressId: number;
|
|
1321
|
+
address: Address;
|
|
1322
|
+
amenities?: number[];
|
|
1323
|
+
timezone: string;
|
|
1324
|
+
creatorId: number;
|
|
1325
|
+
creatorType: string;
|
|
1326
|
+
userCreatorId: number;
|
|
1327
|
+
mainMediaId: number;
|
|
1328
|
+
mainMedia: Media;
|
|
1329
|
+
publishedDate?: Date;
|
|
1330
|
+
isPublished: boolean;
|
|
1331
|
+
sports?: number[];
|
|
1332
|
+
info?: string;
|
|
1333
|
+
longDescription?: string;
|
|
1334
|
+
deletedAt?: Date;
|
|
1335
|
+
openingTimes: OpeningTime[];
|
|
1336
|
+
resources: Resource[];
|
|
1337
|
+
spaces: Resource[];
|
|
1338
|
+
programSeasons: ProgramSeason[];
|
|
1339
|
+
linkSEO: string;
|
|
1340
|
+
}
|
|
1313
1341
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1314
1342
|
constructor();
|
|
1315
1343
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1368,38 +1396,10 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1368
1396
|
session?: ProgramSeason;
|
|
1369
1397
|
segment?: ProgramSeason;
|
|
1370
1398
|
}
|
|
1371
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1372
|
-
groupId: number;
|
|
1373
|
-
terms: IEntitlementTerms[];
|
|
1374
|
-
}
|
|
1375
1399
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1376
1400
|
facilityId: number;
|
|
1377
1401
|
resourceId: number;
|
|
1378
1402
|
}
|
|
1379
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1380
|
-
name: string;
|
|
1381
|
-
description?: string;
|
|
1382
|
-
addressId: number;
|
|
1383
|
-
address: Address;
|
|
1384
|
-
amenities?: number[];
|
|
1385
|
-
timezone: string;
|
|
1386
|
-
creatorId: number;
|
|
1387
|
-
creatorType: string;
|
|
1388
|
-
userCreatorId: number;
|
|
1389
|
-
mainMediaId: number;
|
|
1390
|
-
mainMedia: Media;
|
|
1391
|
-
publishedDate?: Date;
|
|
1392
|
-
isPublished: boolean;
|
|
1393
|
-
sports?: number[];
|
|
1394
|
-
info?: string;
|
|
1395
|
-
longDescription?: string;
|
|
1396
|
-
deletedAt?: Date;
|
|
1397
|
-
openingTimes: OpeningTime[];
|
|
1398
|
-
resources: Resource[];
|
|
1399
|
-
spaces: Resource[];
|
|
1400
|
-
programSeasons: ProgramSeason[];
|
|
1401
|
-
linkSEO: string;
|
|
1402
|
-
}
|
|
1403
1403
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1404
1404
|
name: string | null;
|
|
1405
1405
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
@@ -1452,6 +1452,17 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1452
1452
|
divisionId: number;
|
|
1453
1453
|
deletedAt?: Date;
|
|
1454
1454
|
}
|
|
1455
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1456
|
+
email: string;
|
|
1457
|
+
status: EEmailStatus;
|
|
1458
|
+
templateId: string;
|
|
1459
|
+
userId: number;
|
|
1460
|
+
invoiceId: number;
|
|
1461
|
+
paymentId: number;
|
|
1462
|
+
sendingUserId: number;
|
|
1463
|
+
mailParams?: any;
|
|
1464
|
+
memo?: string;
|
|
1465
|
+
}
|
|
1455
1466
|
export declare class Invoice extends BondBaseEntity {
|
|
1456
1467
|
invoiceId: string | null;
|
|
1457
1468
|
price: number | null;
|
|
@@ -1476,17 +1487,6 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1476
1487
|
invoiceNotes: InvoiceNote[];
|
|
1477
1488
|
slots: Slot[];
|
|
1478
1489
|
}
|
|
1479
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1480
|
-
email: string;
|
|
1481
|
-
status: EEmailStatus;
|
|
1482
|
-
templateId: string;
|
|
1483
|
-
userId: number;
|
|
1484
|
-
invoiceId: number;
|
|
1485
|
-
paymentId: number;
|
|
1486
|
-
sendingUserId: number;
|
|
1487
|
-
mailParams?: any;
|
|
1488
|
-
memo?: string;
|
|
1489
|
-
}
|
|
1490
1490
|
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1491
1491
|
content: string;
|
|
1492
1492
|
creatingUserId: number;
|
|
@@ -1674,26 +1674,6 @@ export declare class Media extends BondBaseEntity {
|
|
|
1674
1674
|
programs: Program[];
|
|
1675
1675
|
memberships: Membership[];
|
|
1676
1676
|
}
|
|
1677
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1678
|
-
membership: Membership;
|
|
1679
|
-
membershipId: number;
|
|
1680
|
-
productUserId: number;
|
|
1681
|
-
productUser?: ProductsUsers;
|
|
1682
|
-
userId: number;
|
|
1683
|
-
membershipType: MembershipTypeEnum;
|
|
1684
|
-
durationMonths?: number;
|
|
1685
|
-
startDate?: string;
|
|
1686
|
-
endDate?: string;
|
|
1687
|
-
renewalOfMemberId?: number;
|
|
1688
|
-
isAutoRenew?: boolean;
|
|
1689
|
-
nextPaymentMethodId?: string;
|
|
1690
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1691
|
-
answerTitleIds?: number[];
|
|
1692
|
-
cancelledAt?: Date | null;
|
|
1693
|
-
cancellationReason?: string;
|
|
1694
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1695
|
-
isImported?: boolean;
|
|
1696
|
-
}
|
|
1697
1677
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1698
1678
|
name: string;
|
|
1699
1679
|
description?: string;
|
|
@@ -1722,6 +1702,26 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1722
1702
|
isAutoRenew?: boolean;
|
|
1723
1703
|
purchasedResources: PurchasedResource[];
|
|
1724
1704
|
}
|
|
1705
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1706
|
+
membership: Membership;
|
|
1707
|
+
membershipId: number;
|
|
1708
|
+
productUserId: number;
|
|
1709
|
+
productUser?: ProductsUsers;
|
|
1710
|
+
userId: number;
|
|
1711
|
+
membershipType: MembershipTypeEnum;
|
|
1712
|
+
durationMonths?: number;
|
|
1713
|
+
startDate?: string;
|
|
1714
|
+
endDate?: string;
|
|
1715
|
+
renewalOfMemberId?: number;
|
|
1716
|
+
isAutoRenew?: boolean;
|
|
1717
|
+
nextPaymentMethodId?: string;
|
|
1718
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1719
|
+
answerTitleIds?: number[];
|
|
1720
|
+
cancelledAt?: Date | null;
|
|
1721
|
+
cancellationReason?: string;
|
|
1722
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1723
|
+
isImported?: boolean;
|
|
1724
|
+
}
|
|
1725
1725
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1726
1726
|
email: string | null;
|
|
1727
1727
|
notificationType: NotificationTypeEnum | null;
|
|
@@ -1742,12 +1742,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1742
1742
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1743
1743
|
organizationId: number;
|
|
1744
1744
|
}
|
|
1745
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1746
|
-
token: string | null;
|
|
1747
|
-
userId: number | null;
|
|
1748
|
-
validUntil: Date | null;
|
|
1749
|
-
active: boolean | null;
|
|
1750
|
-
}
|
|
1751
1745
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
1746
|
name?: string;
|
|
1753
1747
|
description?: string;
|
|
@@ -1765,6 +1759,12 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1765
1759
|
isMandatory: boolean;
|
|
1766
1760
|
productId: number;
|
|
1767
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
|
+
}
|
|
1768
1768
|
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1769
1769
|
price: number;
|
|
1770
1770
|
paymentProcessorId: string;
|
|
@@ -1792,22 +1792,16 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
1792
1792
|
refundReasonId?: number;
|
|
1793
1793
|
refundNote?: string;
|
|
1794
1794
|
}
|
|
1795
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1796
|
+
failureIndex: number;
|
|
1797
|
+
waitingDays: number;
|
|
1798
|
+
}
|
|
1795
1799
|
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1796
1800
|
paymentInstallmentId?: number;
|
|
1797
1801
|
invoiceId: number;
|
|
1798
1802
|
reason: EFailedPaymentReasons;
|
|
1799
1803
|
errorMessage: string;
|
|
1800
1804
|
}
|
|
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
|
-
}
|
|
1811
1805
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1812
1806
|
content: string;
|
|
1813
1807
|
creatingUserId: number;
|
|
@@ -1835,6 +1829,29 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1835
1829
|
installmentId: number | null;
|
|
1836
1830
|
invoiceId: string | null;
|
|
1837
1831
|
}
|
|
1832
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1833
|
+
paymentPlanId: number;
|
|
1834
|
+
paymentDate: Date;
|
|
1835
|
+
deletedAt?: Date;
|
|
1836
|
+
paymentPlan: ProductPaymentPlan;
|
|
1837
|
+
}
|
|
1838
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1839
|
+
productId: number;
|
|
1840
|
+
product: Product;
|
|
1841
|
+
name: string | null;
|
|
1842
|
+
price: number;
|
|
1843
|
+
currency: CurrencyEnum;
|
|
1844
|
+
paymentProcessorId: number | null;
|
|
1845
|
+
startDate: Date;
|
|
1846
|
+
endDate: Date;
|
|
1847
|
+
groupId?: number;
|
|
1848
|
+
groupName?: string;
|
|
1849
|
+
originalPrice?: number;
|
|
1850
|
+
deletedAt?: Date;
|
|
1851
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1852
|
+
discountValue?: number;
|
|
1853
|
+
taxIncludedPrice?: number;
|
|
1854
|
+
}
|
|
1838
1855
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1839
1856
|
name: string;
|
|
1840
1857
|
quantity: number;
|
|
@@ -1885,23 +1902,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1885
1902
|
activityTimes: ActivityTimes[];
|
|
1886
1903
|
purchasedResources: PurchasedResource[];
|
|
1887
1904
|
}
|
|
1888
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1889
|
-
productId: number;
|
|
1890
|
-
product: Product;
|
|
1891
|
-
name: string | null;
|
|
1892
|
-
price: number;
|
|
1893
|
-
currency: CurrencyEnum;
|
|
1894
|
-
paymentProcessorId: number | null;
|
|
1895
|
-
startDate: Date;
|
|
1896
|
-
endDate: Date;
|
|
1897
|
-
groupId?: number;
|
|
1898
|
-
groupName?: string;
|
|
1899
|
-
originalPrice?: number;
|
|
1900
|
-
deletedAt?: Date;
|
|
1901
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1902
|
-
discountValue?: number;
|
|
1903
|
-
taxIncludedPrice?: number;
|
|
1904
|
-
}
|
|
1905
1905
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1906
1906
|
parentProductId: number;
|
|
1907
1907
|
childProductId: number;
|
|
@@ -1941,10 +1941,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1941
1941
|
productId: number;
|
|
1942
1942
|
variantTitleId: number;
|
|
1943
1943
|
}
|
|
1944
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1945
|
-
productId: number;
|
|
1946
|
-
variantId: number;
|
|
1947
|
-
}
|
|
1948
1944
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1949
1945
|
productId: number;
|
|
1950
1946
|
customerId: number;
|
|
@@ -1952,6 +1948,10 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1952
1948
|
deletedAt?: Date;
|
|
1953
1949
|
product: Product;
|
|
1954
1950
|
}
|
|
1951
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1952
|
+
productId: number;
|
|
1953
|
+
variantId: number;
|
|
1954
|
+
}
|
|
1955
1955
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1956
1956
|
productId: number;
|
|
1957
1957
|
userId: number;
|
|
@@ -1991,6 +1991,14 @@ export declare class Program extends BondBaseEntity {
|
|
|
1991
1991
|
programSeason: ProgramSeason[];
|
|
1992
1992
|
purchasedResources: PurchasedResource[];
|
|
1993
1993
|
}
|
|
1994
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1995
|
+
type: ProgramHighlightTypeEnum;
|
|
1996
|
+
ordinal: number | null;
|
|
1997
|
+
title: string | null;
|
|
1998
|
+
data: any | null;
|
|
1999
|
+
program: Program;
|
|
2000
|
+
deletedAt?: Date;
|
|
2001
|
+
}
|
|
1994
2002
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1995
2003
|
programId: number;
|
|
1996
2004
|
name: string;
|
|
@@ -2046,14 +2054,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2046
2054
|
facility: Facility;
|
|
2047
2055
|
purchasedResources: PurchasedResource[];
|
|
2048
2056
|
}
|
|
2049
|
-
export declare class ProgramHighlights extends BondBaseEntity {
|
|
2050
|
-
type: ProgramHighlightTypeEnum;
|
|
2051
|
-
ordinal: number | null;
|
|
2052
|
-
title: string | null;
|
|
2053
|
-
data: any | null;
|
|
2054
|
-
program: Program;
|
|
2055
|
-
deletedAt?: Date;
|
|
2056
|
-
}
|
|
2057
2057
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2058
2058
|
productUserId: number;
|
|
2059
2059
|
resourceId: number;
|
|
@@ -2094,11 +2094,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2094
2094
|
ownerId: number | null;
|
|
2095
2095
|
questionnaireId: number | null;
|
|
2096
2096
|
}
|
|
2097
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2098
|
-
reason: string;
|
|
2099
|
-
ordinal: number;
|
|
2100
|
-
deletedAt: Date;
|
|
2101
|
-
}
|
|
2102
2097
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2103
2098
|
resourceType: ResourceNameTypeEnum;
|
|
2104
2099
|
resourceId: number;
|
|
@@ -2110,33 +2105,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2110
2105
|
closeTime?: string;
|
|
2111
2106
|
deletedAt?: Date;
|
|
2112
2107
|
}
|
|
2113
|
-
export declare class
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
description?: string;
|
|
2118
|
-
longDescription?: string;
|
|
2119
|
-
surface?: SurfacesEnum;
|
|
2120
|
-
properties?: SpacePropertiesEnum[];
|
|
2121
|
-
mainMediaId?: number;
|
|
2122
|
-
mainMedia: Media;
|
|
2123
|
-
sports: SportsEnum[];
|
|
2124
|
-
width?: number;
|
|
2125
|
-
length?: number;
|
|
2126
|
-
amenities?: AmenitiesEnum[];
|
|
2127
|
-
parentSpaceId?: number;
|
|
2128
|
-
ordinal?: number;
|
|
2129
|
-
isAddOn: boolean;
|
|
2130
|
-
ages?: ResourceAgesEnum;
|
|
2131
|
-
deletedAt?: Date;
|
|
2132
|
-
activityTimes: ActivityTimes[];
|
|
2133
|
-
facilities: Facility[];
|
|
2134
|
-
slots?: Slot[];
|
|
2135
|
-
addons?: Addon[];
|
|
2136
|
-
facilityId: number;
|
|
2137
|
-
facility: Facility;
|
|
2138
|
-
purchasedResources: PurchasedResource[];
|
|
2139
|
-
linkSEO: string;
|
|
2108
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2109
|
+
reason: string;
|
|
2110
|
+
ordinal: number;
|
|
2111
|
+
deletedAt: Date;
|
|
2140
2112
|
}
|
|
2141
2113
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2142
2114
|
name?: string;
|
|
@@ -2170,6 +2142,34 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2170
2142
|
publicNotes?: string;
|
|
2171
2143
|
slots?: Slot[];
|
|
2172
2144
|
}
|
|
2145
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2146
|
+
name: string;
|
|
2147
|
+
resourceType: ResourceTypeEnum;
|
|
2148
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2149
|
+
description?: string;
|
|
2150
|
+
longDescription?: string;
|
|
2151
|
+
surface?: SurfacesEnum;
|
|
2152
|
+
properties?: SpacePropertiesEnum[];
|
|
2153
|
+
mainMediaId?: number;
|
|
2154
|
+
mainMedia: Media;
|
|
2155
|
+
sports: SportsEnum[];
|
|
2156
|
+
width?: number;
|
|
2157
|
+
length?: number;
|
|
2158
|
+
amenities?: AmenitiesEnum[];
|
|
2159
|
+
parentSpaceId?: number;
|
|
2160
|
+
ordinal?: number;
|
|
2161
|
+
isAddOn: boolean;
|
|
2162
|
+
ages?: ResourceAgesEnum;
|
|
2163
|
+
deletedAt?: Date;
|
|
2164
|
+
activityTimes: ActivityTimes[];
|
|
2165
|
+
facilities: Facility[];
|
|
2166
|
+
slots?: Slot[];
|
|
2167
|
+
addons?: Addon[];
|
|
2168
|
+
facilityId: number;
|
|
2169
|
+
facility: Facility;
|
|
2170
|
+
purchasedResources: PurchasedResource[];
|
|
2171
|
+
linkSEO: string;
|
|
2172
|
+
}
|
|
2173
2173
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2174
2174
|
name: string;
|
|
2175
2175
|
facilityId: number;
|
|
@@ -2185,6 +2185,20 @@ export declare class School extends BondBaseEntity {
|
|
|
2185
2185
|
phone: string | null;
|
|
2186
2186
|
dataId: number | null;
|
|
2187
2187
|
}
|
|
2188
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2189
|
+
status: RequestStatusEnum;
|
|
2190
|
+
paymentStatus: PaymentStatusEnum;
|
|
2191
|
+
paymentId?: number;
|
|
2192
|
+
productId?: number;
|
|
2193
|
+
attendeeId: number;
|
|
2194
|
+
attendee: User;
|
|
2195
|
+
seasonId: number;
|
|
2196
|
+
season: ProgramSeason;
|
|
2197
|
+
productUserId?: number;
|
|
2198
|
+
answerTitleIds?: number[];
|
|
2199
|
+
deletedAt?: Date;
|
|
2200
|
+
purchasedResource: PurchasedResource;
|
|
2201
|
+
}
|
|
2188
2202
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2189
2203
|
name: string | null;
|
|
2190
2204
|
ordinal: number | null;
|
|
@@ -2206,20 +2220,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2206
2220
|
purchasedResource: PurchasedResource;
|
|
2207
2221
|
season: LeagueSeason;
|
|
2208
2222
|
}
|
|
2209
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2210
|
-
status: RequestStatusEnum;
|
|
2211
|
-
paymentStatus: PaymentStatusEnum;
|
|
2212
|
-
paymentId?: number;
|
|
2213
|
-
productId?: number;
|
|
2214
|
-
attendeeId: number;
|
|
2215
|
-
attendee: User;
|
|
2216
|
-
seasonId: number;
|
|
2217
|
-
season: ProgramSeason;
|
|
2218
|
-
productUserId?: number;
|
|
2219
|
-
answerTitleIds?: number[];
|
|
2220
|
-
deletedAt?: Date;
|
|
2221
|
-
purchasedResource: PurchasedResource;
|
|
2222
|
-
}
|
|
2223
2223
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
2224
|
seasonId: number | null;
|
|
2225
2225
|
teamId: number | null;
|
|
@@ -2230,6 +2230,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2230
2230
|
metaData: any | null;
|
|
2231
2231
|
team: Team;
|
|
2232
2232
|
}
|
|
2233
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2234
|
+
blockingSpaceId: number;
|
|
2235
|
+
blockedSpaceId: number;
|
|
2236
|
+
}
|
|
2233
2237
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2234
2238
|
name: string;
|
|
2235
2239
|
facilityId: number;
|
|
@@ -2241,10 +2245,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2241
2245
|
subcategories: Subcategory[];
|
|
2242
2246
|
shifts?: Shift[];
|
|
2243
2247
|
}
|
|
2244
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2245
|
-
blockingSpaceId: number;
|
|
2246
|
-
blockedSpaceId: number;
|
|
2247
|
-
}
|
|
2248
2248
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2249
2249
|
stationId: number;
|
|
2250
2250
|
subcategoryId: number;
|
|
@@ -2313,6 +2313,11 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2313
2313
|
role: TeamMemberRoleEnum;
|
|
2314
2314
|
user: User;
|
|
2315
2315
|
}
|
|
2316
|
+
export declare class UberOrganization extends BondBaseEntity {
|
|
2317
|
+
name: string;
|
|
2318
|
+
deletedAt: Date | null;
|
|
2319
|
+
organizations: Organization[];
|
|
2320
|
+
}
|
|
2316
2321
|
export declare class User extends BondBaseEntity {
|
|
2317
2322
|
firstName: string | null;
|
|
2318
2323
|
lastName: string | null;
|
|
@@ -2358,14 +2363,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2358
2363
|
entityType: UserAuthorizationsTypeEnum;
|
|
2359
2364
|
user: User;
|
|
2360
2365
|
}
|
|
2361
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2362
|
-
familyAccountId: number;
|
|
2363
|
-
userId: number;
|
|
2364
|
-
isAdmin: boolean;
|
|
2365
|
-
user: User;
|
|
2366
|
-
familyAccount: FamilyAccount;
|
|
2367
|
-
deletedAt?: Date;
|
|
2368
|
-
}
|
|
2369
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2370
2367
|
userId: number;
|
|
2371
2368
|
failCount: number;
|
|
@@ -2374,21 +2371,29 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2374
2371
|
paymentMethodId: string;
|
|
2375
2372
|
nextAllowedChargeDate?: Date;
|
|
2376
2373
|
}
|
|
2374
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2375
|
+
familyAccountId: number;
|
|
2376
|
+
userId: number;
|
|
2377
|
+
isAdmin: boolean;
|
|
2378
|
+
user: User;
|
|
2379
|
+
familyAccount: FamilyAccount;
|
|
2380
|
+
deletedAt?: Date;
|
|
2381
|
+
}
|
|
2377
2382
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2378
2383
|
groupId: number;
|
|
2379
2384
|
userId: number;
|
|
2380
2385
|
deletedAt?: Date;
|
|
2381
2386
|
}
|
|
2382
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2383
|
-
name: string;
|
|
2384
|
-
variants: Variant[];
|
|
2385
|
-
}
|
|
2386
2387
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2387
2388
|
name: string;
|
|
2388
2389
|
variantTitleId: number;
|
|
2389
2390
|
variantTitle: VariantTitle;
|
|
2390
2391
|
deletedAt?: Date;
|
|
2391
2392
|
}
|
|
2393
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2394
|
+
name: string;
|
|
2395
|
+
variants: Variant[];
|
|
2396
|
+
}
|
|
2392
2397
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2393
2398
|
projectToken: string;
|
|
2394
2399
|
programTypesCollectionId?: string;
|
|
@@ -3308,20 +3313,6 @@ export declare class ColumnNumericTransformer {
|
|
|
3308
3313
|
from(data: string): number;
|
|
3309
3314
|
}
|
|
3310
3315
|
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
3316
|
export declare enum ImportPaymentTypeEnum {
|
|
3326
3317
|
CREDIT_CARD = "card",
|
|
3327
3318
|
ACH = "ach",
|
|
@@ -3358,6 +3349,29 @@ export declare class ImportedPaymentDto {
|
|
|
3358
3349
|
date: string;
|
|
3359
3350
|
time: string;
|
|
3360
3351
|
}
|
|
3352
|
+
export declare class ProductIdsDto {
|
|
3353
|
+
productIds?: number[];
|
|
3354
|
+
}
|
|
3355
|
+
export declare class ProductImportDto {
|
|
3356
|
+
product: Product;
|
|
3357
|
+
prices: Price[];
|
|
3358
|
+
resourceIds: number[];
|
|
3359
|
+
oldId: number;
|
|
3360
|
+
}
|
|
3361
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3362
|
+
name?: string;
|
|
3363
|
+
genderStr?: string;
|
|
3364
|
+
parentID?: string;
|
|
3365
|
+
partnerID?: string;
|
|
3366
|
+
membershipName?: string;
|
|
3367
|
+
membershipExpDate?: string;
|
|
3368
|
+
membershipCreationDate?: string;
|
|
3369
|
+
bondMembershipID?: number;
|
|
3370
|
+
}
|
|
3371
|
+
export declare class AddFamilyDto {
|
|
3372
|
+
parents: AddImportedCustomerDto[];
|
|
3373
|
+
children: AddImportedCustomerDto[];
|
|
3374
|
+
}
|
|
3361
3375
|
export declare class PunchPassDto {
|
|
3362
3376
|
CustomerID: string;
|
|
3363
3377
|
QuantityLeft: number;
|
|
@@ -3416,15 +3430,6 @@ export declare class ImportedReservationDto {
|
|
|
3416
3430
|
slots?: ImportedSlotDto[];
|
|
3417
3431
|
addons?: ImportedSlotProductDto[];
|
|
3418
3432
|
}
|
|
3419
|
-
export declare class ProductIdsDto {
|
|
3420
|
-
productIds?: number[];
|
|
3421
|
-
}
|
|
3422
|
-
export declare class ProductImportDto {
|
|
3423
|
-
product: Product;
|
|
3424
|
-
prices: Price[];
|
|
3425
|
-
resourceIds: number[];
|
|
3426
|
-
oldId: number;
|
|
3427
|
-
}
|
|
3428
3433
|
export declare class GameSlots extends BondBaseEntity {
|
|
3429
3434
|
entityType: string;
|
|
3430
3435
|
entityId: number;
|
|
@@ -3438,11 +3443,6 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3438
3443
|
score: number | null;
|
|
3439
3444
|
gameSlotId: number | null;
|
|
3440
3445
|
}
|
|
3441
|
-
export declare class Matches extends BondBaseEntity {
|
|
3442
|
-
eventId: number | null;
|
|
3443
|
-
status: number | null;
|
|
3444
|
-
excludeStandings: boolean | null;
|
|
3445
|
-
}
|
|
3446
3446
|
export declare class RoundEvents extends BaseEntity {
|
|
3447
3447
|
roundId: number;
|
|
3448
3448
|
eventId: number;
|
|
@@ -3450,6 +3450,11 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3450
3450
|
createdAt: Date;
|
|
3451
3451
|
updatedAt: Date;
|
|
3452
3452
|
}
|
|
3453
|
+
export declare class Matches extends BondBaseEntity {
|
|
3454
|
+
eventId: number | null;
|
|
3455
|
+
status: number | null;
|
|
3456
|
+
excludeStandings: boolean | null;
|
|
3457
|
+
}
|
|
3453
3458
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3454
3459
|
seasonId: number;
|
|
3455
3460
|
ordinal?: number;
|
|
@@ -3528,6 +3533,12 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
3528
3533
|
months?: string;
|
|
3529
3534
|
dow?: string;
|
|
3530
3535
|
}
|
|
3536
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3537
|
+
key?: string;
|
|
3538
|
+
vaule?: string;
|
|
3539
|
+
version: number;
|
|
3540
|
+
organization: Organization;
|
|
3541
|
+
}
|
|
3531
3542
|
export declare class Organization extends BondBaseEntity {
|
|
3532
3543
|
name: string | null;
|
|
3533
3544
|
email: string | null;
|
|
@@ -3576,20 +3587,11 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3576
3587
|
mainMedia: Media;
|
|
3577
3588
|
brandings: OrganizationBranding[];
|
|
3578
3589
|
brandingsV2?: OrganizationBranding[];
|
|
3579
|
-
|
|
3580
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3581
|
-
key?: string;
|
|
3582
|
-
vaule?: string;
|
|
3583
|
-
version: number;
|
|
3584
|
-
organization: Organization;
|
|
3590
|
+
uberOrganization: UberOrganization;
|
|
3585
3591
|
}
|
|
3586
3592
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3587
3593
|
mainAdminUserId?: number;
|
|
3588
3594
|
}
|
|
3589
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3590
|
-
organisationId: number | null;
|
|
3591
|
-
userId: number | null;
|
|
3592
|
-
}
|
|
3593
3595
|
export interface UnallocatedEventsFilters {
|
|
3594
3596
|
programsIds?: number[];
|
|
3595
3597
|
sessionsIds?: number[];
|
|
@@ -3616,6 +3618,42 @@ export interface IUnallocatedEventRes {
|
|
|
3616
3618
|
export interface IUnallocatedEventsIdsRes {
|
|
3617
3619
|
data: IUnallocatedEventRes[];
|
|
3618
3620
|
}
|
|
3621
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3622
|
+
organisationId: number | null;
|
|
3623
|
+
userId: number | null;
|
|
3624
|
+
}
|
|
3625
|
+
export declare class VoidDto {
|
|
3626
|
+
lineItems: VoidLineItemDto[];
|
|
3627
|
+
meta?: RevertMetaDto;
|
|
3628
|
+
}
|
|
3629
|
+
export declare class VoidLineItemDto {
|
|
3630
|
+
id: number;
|
|
3631
|
+
quantity?: number;
|
|
3632
|
+
isEdit?: boolean;
|
|
3633
|
+
amount?: number;
|
|
3634
|
+
}
|
|
3635
|
+
export declare class RefundDto {
|
|
3636
|
+
invoiceId: number;
|
|
3637
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3638
|
+
refundLineItemAmountDict?: {
|
|
3639
|
+
[id: number]: number;
|
|
3640
|
+
};
|
|
3641
|
+
refunds: PaymentMethodDto[];
|
|
3642
|
+
refundType: RefundTypeEnum;
|
|
3643
|
+
reasonId: number;
|
|
3644
|
+
note?: string;
|
|
3645
|
+
shiftId?: number;
|
|
3646
|
+
meta?: RevertMetaDto;
|
|
3647
|
+
}
|
|
3648
|
+
export declare class PaymentMethodDto {
|
|
3649
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3650
|
+
amount: number;
|
|
3651
|
+
paymentMethodId?: string;
|
|
3652
|
+
}
|
|
3653
|
+
export declare class RefundLineItemAmountDto {
|
|
3654
|
+
id: number;
|
|
3655
|
+
refundAmount: number;
|
|
3656
|
+
}
|
|
3619
3657
|
export declare class CustomerIdDto {
|
|
3620
3658
|
customerId: number;
|
|
3621
3659
|
}
|
|
@@ -3738,38 +3776,6 @@ export declare class SendRequestDto {
|
|
|
3738
3776
|
sendToEmail: string;
|
|
3739
3777
|
memo?: string;
|
|
3740
3778
|
}
|
|
3741
|
-
export declare class RefundDto {
|
|
3742
|
-
invoiceId: number;
|
|
3743
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3744
|
-
refundLineItemAmountDict?: {
|
|
3745
|
-
[id: number]: number;
|
|
3746
|
-
};
|
|
3747
|
-
refunds: PaymentMethodDto[];
|
|
3748
|
-
refundType: RefundTypeEnum;
|
|
3749
|
-
reasonId: number;
|
|
3750
|
-
note?: string;
|
|
3751
|
-
shiftId?: number;
|
|
3752
|
-
meta?: RevertMetaDto;
|
|
3753
|
-
}
|
|
3754
|
-
export declare class PaymentMethodDto {
|
|
3755
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3756
|
-
amount: number;
|
|
3757
|
-
paymentMethodId?: string;
|
|
3758
|
-
}
|
|
3759
|
-
export declare class RefundLineItemAmountDto {
|
|
3760
|
-
id: number;
|
|
3761
|
-
refundAmount: number;
|
|
3762
|
-
}
|
|
3763
|
-
export declare class VoidDto {
|
|
3764
|
-
lineItems: VoidLineItemDto[];
|
|
3765
|
-
meta?: RevertMetaDto;
|
|
3766
|
-
}
|
|
3767
|
-
export declare class VoidLineItemDto {
|
|
3768
|
-
id: number;
|
|
3769
|
-
quantity?: number;
|
|
3770
|
-
isEdit?: boolean;
|
|
3771
|
-
amount?: number;
|
|
3772
|
-
}
|
|
3773
3779
|
export interface PaymentResult {
|
|
3774
3780
|
paymentMethodId: string;
|
|
3775
3781
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3873,13 +3879,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3873
3879
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3874
3880
|
segments: SegmentDto[];
|
|
3875
3881
|
}
|
|
3876
|
-
export declare class MaintenanceDto {
|
|
3877
|
-
id?: number;
|
|
3878
|
-
title: string;
|
|
3879
|
-
durationValue: number;
|
|
3880
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3881
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3882
|
-
}
|
|
3883
3882
|
export declare class LineItemDto {
|
|
3884
3883
|
id?: number;
|
|
3885
3884
|
invoiceId?: number;
|
|
@@ -3907,6 +3906,13 @@ export declare class LineItemDto {
|
|
|
3907
3906
|
parentOrdinal?: number;
|
|
3908
3907
|
totalPrice?: number;
|
|
3909
3908
|
}
|
|
3909
|
+
export declare class MaintenanceDto {
|
|
3910
|
+
id?: number;
|
|
3911
|
+
title: string;
|
|
3912
|
+
durationValue: number;
|
|
3913
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3914
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3915
|
+
}
|
|
3910
3916
|
export declare class PurchasedResourceDto {
|
|
3911
3917
|
resourceId?: number;
|
|
3912
3918
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3915,34 +3921,6 @@ export declare class PurchasedResourceDto {
|
|
|
3915
3921
|
endDate?: string;
|
|
3916
3922
|
endTime?: string;
|
|
3917
3923
|
}
|
|
3918
|
-
export declare class SegmentDto {
|
|
3919
|
-
id?: number;
|
|
3920
|
-
title: string;
|
|
3921
|
-
isPrivate: boolean;
|
|
3922
|
-
resourceIds: number[];
|
|
3923
|
-
sportId?: number;
|
|
3924
|
-
series: SeriesDto[];
|
|
3925
|
-
addonIds?: number[];
|
|
3926
|
-
publicNotesForSlots?: string;
|
|
3927
|
-
privateNotesForSlots?: string;
|
|
3928
|
-
}
|
|
3929
|
-
export declare class SeriesDto {
|
|
3930
|
-
id?: number;
|
|
3931
|
-
startDate: string;
|
|
3932
|
-
startTime?: string;
|
|
3933
|
-
endDate?: string;
|
|
3934
|
-
endTime?: string;
|
|
3935
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3936
|
-
durationEndsAfter?: number;
|
|
3937
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3938
|
-
frequency: FrequencyEnum;
|
|
3939
|
-
repeatEvery?: number;
|
|
3940
|
-
repeatOn?: number[];
|
|
3941
|
-
repeatEndDate?: string;
|
|
3942
|
-
numberOccurrences?: number;
|
|
3943
|
-
maintenance?: MaintenanceDto[];
|
|
3944
|
-
slots?: SlotDto[];
|
|
3945
|
-
}
|
|
3946
3924
|
export declare class ReservationDto {
|
|
3947
3925
|
id?: number;
|
|
3948
3926
|
organizationId?: number;
|
|
@@ -4096,6 +4074,34 @@ export declare class UpdateReservationInvoiceDto {
|
|
|
4096
4074
|
updateAddons?: boolean;
|
|
4097
4075
|
updateMaintenance?: boolean;
|
|
4098
4076
|
}
|
|
4077
|
+
export declare class SegmentDto {
|
|
4078
|
+
id?: number;
|
|
4079
|
+
title: string;
|
|
4080
|
+
isPrivate: boolean;
|
|
4081
|
+
resourceIds: number[];
|
|
4082
|
+
sportId?: number;
|
|
4083
|
+
series: SeriesDto[];
|
|
4084
|
+
addonIds?: number[];
|
|
4085
|
+
publicNotesForSlots?: string;
|
|
4086
|
+
privateNotesForSlots?: string;
|
|
4087
|
+
}
|
|
4088
|
+
export declare class SeriesDto {
|
|
4089
|
+
id?: number;
|
|
4090
|
+
startDate: string;
|
|
4091
|
+
startTime?: string;
|
|
4092
|
+
endDate?: string;
|
|
4093
|
+
endTime?: string;
|
|
4094
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4095
|
+
durationEndsAfter?: number;
|
|
4096
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4097
|
+
frequency: FrequencyEnum;
|
|
4098
|
+
repeatEvery?: number;
|
|
4099
|
+
repeatOn?: number[];
|
|
4100
|
+
repeatEndDate?: string;
|
|
4101
|
+
numberOccurrences?: number;
|
|
4102
|
+
maintenance?: MaintenanceDto[];
|
|
4103
|
+
slots?: SlotDto[];
|
|
4104
|
+
}
|
|
4099
4105
|
export declare class SlotDateTimeAndSpace {
|
|
4100
4106
|
startDate: string;
|
|
4101
4107
|
startTime?: string;
|
|
@@ -4158,6 +4164,26 @@ export declare class TimeSlotsDto {
|
|
|
4158
4164
|
export declare class SlotsIdsDto {
|
|
4159
4165
|
slotsIds: number[];
|
|
4160
4166
|
}
|
|
4167
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4168
|
+
parentId: number;
|
|
4169
|
+
parentType: AddonParentTypeEnum;
|
|
4170
|
+
productId: number;
|
|
4171
|
+
product?: Product;
|
|
4172
|
+
quantity: number;
|
|
4173
|
+
unitPrice: number;
|
|
4174
|
+
totalPrice: number;
|
|
4175
|
+
approvalStatus: ReservationStatusEnum;
|
|
4176
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4177
|
+
level?: ProductPackageLevelEnum;
|
|
4178
|
+
resourceId?: number;
|
|
4179
|
+
resource?: Resource;
|
|
4180
|
+
invoiceId?: number;
|
|
4181
|
+
invoice?: Invoice;
|
|
4182
|
+
productUserId?: number;
|
|
4183
|
+
productUser?: ProductsUsers;
|
|
4184
|
+
previousProductUsersIds?: number[];
|
|
4185
|
+
previousProductUsers?: ProductsUsers[];
|
|
4186
|
+
}
|
|
4161
4187
|
declare class AnswerDto {
|
|
4162
4188
|
questionId: number;
|
|
4163
4189
|
value: any;
|
|
@@ -4195,37 +4221,176 @@ export declare class BookingV1Dto {
|
|
|
4195
4221
|
cashPayment: boolean;
|
|
4196
4222
|
requestOnly: boolean;
|
|
4197
4223
|
}
|
|
4198
|
-
export declare
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
SLOT_ADDONS = "slot_addons"
|
|
4204
|
-
}
|
|
4205
|
-
export declare type TSlotAndType = {
|
|
4206
|
-
type: 'slots' | 'slot_addons';
|
|
4207
|
-
slotsForProduct: {
|
|
4208
|
-
[productId: number]: {
|
|
4209
|
-
product: Product;
|
|
4210
|
-
slots: SlotDto[];
|
|
4211
|
-
};
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
export interface ILineItemResource {
|
|
4215
|
-
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4216
|
-
values: TResource[];
|
|
4217
|
-
dtoValues: TDtoResource[];
|
|
4218
|
-
}
|
|
4219
|
-
export interface GeneratedLineItems {
|
|
4220
|
-
lineItems: LineItemDto[];
|
|
4221
|
-
childItemToParent: Map<LineItemDto, LineItemDto>;
|
|
4222
|
-
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4223
|
-
}
|
|
4224
|
-
export interface GeneratedInvoice {
|
|
4225
|
-
invoice: InvoiceDto;
|
|
4226
|
-
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4224
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4225
|
+
deletedAt?: Date;
|
|
4226
|
+
reservationId: number;
|
|
4227
|
+
invoiceId: number;
|
|
4228
|
+
slotId: number;
|
|
4227
4229
|
}
|
|
4228
|
-
export
|
|
4230
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4231
|
+
name?: string;
|
|
4232
|
+
description?: string;
|
|
4233
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4234
|
+
privacySetting?: string;
|
|
4235
|
+
reservationType?: ReservationTypeEnum;
|
|
4236
|
+
invoiceId?: string;
|
|
4237
|
+
customerId?: number;
|
|
4238
|
+
customer?: Customer;
|
|
4239
|
+
price?: number;
|
|
4240
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4241
|
+
startTime?: string;
|
|
4242
|
+
startDate?: Date;
|
|
4243
|
+
endDate?: Date;
|
|
4244
|
+
creatorId?: number;
|
|
4245
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4246
|
+
userCreatorId?: number;
|
|
4247
|
+
sportType?: number;
|
|
4248
|
+
deletedAt?: Date;
|
|
4249
|
+
publicNotes?: string;
|
|
4250
|
+
privateNotes?: string;
|
|
4251
|
+
forms?: number[] | null;
|
|
4252
|
+
answerTitleIds?: number[] | null;
|
|
4253
|
+
segments?: Segment[];
|
|
4254
|
+
migrationStatus?: string;
|
|
4255
|
+
addons: Addon[];
|
|
4256
|
+
overrideProductsPrice: {
|
|
4257
|
+
productId: number;
|
|
4258
|
+
price: number;
|
|
4259
|
+
}[];
|
|
4260
|
+
targetGlobalPrice?: number;
|
|
4261
|
+
slots: Slot[];
|
|
4262
|
+
}
|
|
4263
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4264
|
+
deletedAt?: Date;
|
|
4265
|
+
reservationId: number;
|
|
4266
|
+
title: string;
|
|
4267
|
+
isPrivate: boolean;
|
|
4268
|
+
resourceIds?: number[];
|
|
4269
|
+
sportId: number;
|
|
4270
|
+
reservation?: Reservation;
|
|
4271
|
+
series?: Series[];
|
|
4272
|
+
addonIds?: number[] | null;
|
|
4273
|
+
publicNotesForSlots?: string;
|
|
4274
|
+
privateNotesForSlots?: string;
|
|
4275
|
+
slots?: Slot[];
|
|
4276
|
+
}
|
|
4277
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4278
|
+
constructor();
|
|
4279
|
+
defineIsReverted(): void;
|
|
4280
|
+
isReverted: boolean;
|
|
4281
|
+
reservationId: number;
|
|
4282
|
+
reservation: Reservation;
|
|
4283
|
+
title?: string;
|
|
4284
|
+
creatorId?: number;
|
|
4285
|
+
creatorType?: string;
|
|
4286
|
+
userCreatorId?: number;
|
|
4287
|
+
startDate: Date;
|
|
4288
|
+
endDate: Date;
|
|
4289
|
+
startTime: string;
|
|
4290
|
+
endTime: string;
|
|
4291
|
+
timezone?: string;
|
|
4292
|
+
spaceId?: number;
|
|
4293
|
+
resource?: Resource;
|
|
4294
|
+
deletedAt?: Date;
|
|
4295
|
+
publicNotes?: string;
|
|
4296
|
+
privateNotes?: string;
|
|
4297
|
+
slotType: SlotTypeEnum;
|
|
4298
|
+
productsUserId?: number;
|
|
4299
|
+
productUser?: ProductsUsers;
|
|
4300
|
+
product?: Product;
|
|
4301
|
+
addons: Addon[];
|
|
4302
|
+
addonsProductUserIds?: number[] | null;
|
|
4303
|
+
addonsMetadata: AddonMetadata[];
|
|
4304
|
+
segmentId: number;
|
|
4305
|
+
segment: Segment;
|
|
4306
|
+
eventId: number;
|
|
4307
|
+
event: Event;
|
|
4308
|
+
sportIds: number[];
|
|
4309
|
+
parentSlotId?: number;
|
|
4310
|
+
parent?: Slot;
|
|
4311
|
+
children?: Slot[];
|
|
4312
|
+
maintenanceDurationdurationType: string;
|
|
4313
|
+
maintenanceTiming: number;
|
|
4314
|
+
durationValue: number;
|
|
4315
|
+
seriesId?: number;
|
|
4316
|
+
series?: Series;
|
|
4317
|
+
invoiceId?: number;
|
|
4318
|
+
invoice?: Invoice;
|
|
4319
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4320
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4321
|
+
displayName?: string;
|
|
4322
|
+
internalName?: string;
|
|
4323
|
+
activityTypes?: number[] | null;
|
|
4324
|
+
hourlyRate: number;
|
|
4325
|
+
totalPrice: number;
|
|
4326
|
+
isConsumerVisible: boolean;
|
|
4327
|
+
isMonitorVisible: boolean;
|
|
4328
|
+
isPrivate: boolean;
|
|
4329
|
+
occurrence?: number;
|
|
4330
|
+
maintenance?: Slot[];
|
|
4331
|
+
productMetadata: {
|
|
4332
|
+
productId: number;
|
|
4333
|
+
price: number;
|
|
4334
|
+
};
|
|
4335
|
+
slotDurationType: string;
|
|
4336
|
+
previousProductUsersIds?: number[];
|
|
4337
|
+
previousProductUsers?: ProductsUsers[];
|
|
4338
|
+
changeLineItemIds?: number[];
|
|
4339
|
+
changeLineItems?: LineItems[];
|
|
4340
|
+
updatedLineItem?: LineItems;
|
|
4341
|
+
conflictsCount?: number;
|
|
4342
|
+
conflicts?: Slot[];
|
|
4343
|
+
}
|
|
4344
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4345
|
+
deletedAt?: Date;
|
|
4346
|
+
segmentId: number;
|
|
4347
|
+
segment?: Segment;
|
|
4348
|
+
slots?: Slot[];
|
|
4349
|
+
slotDurationType: string;
|
|
4350
|
+
durationEndsAfter: number;
|
|
4351
|
+
durationUnit: string;
|
|
4352
|
+
startDate?: Date;
|
|
4353
|
+
endDate?: Date;
|
|
4354
|
+
startTime: string;
|
|
4355
|
+
endTime: string;
|
|
4356
|
+
frequency: string;
|
|
4357
|
+
repeatEvery: number;
|
|
4358
|
+
repeatOn?: number[];
|
|
4359
|
+
repeatEndDate?: Date;
|
|
4360
|
+
numberOccurrences?: number;
|
|
4361
|
+
resources?: Resource[];
|
|
4362
|
+
}
|
|
4363
|
+
export declare enum LineItemResourceEnum {
|
|
4364
|
+
SEGMENTS = "segments",
|
|
4365
|
+
SERIES = "series",
|
|
4366
|
+
SLOTS = "slots",
|
|
4367
|
+
RESERVATION_ADDONS = "reservation_addons",
|
|
4368
|
+
SLOT_ADDONS = "slot_addons"
|
|
4369
|
+
}
|
|
4370
|
+
export declare type TSlotAndType = {
|
|
4371
|
+
type: 'slots' | 'slot_addons';
|
|
4372
|
+
slotsForProduct: {
|
|
4373
|
+
[productId: number]: {
|
|
4374
|
+
product: Product;
|
|
4375
|
+
slots: SlotDto[];
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
};
|
|
4379
|
+
export interface ILineItemResource {
|
|
4380
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4381
|
+
values: TResource[];
|
|
4382
|
+
dtoValues: TDtoResource[];
|
|
4383
|
+
}
|
|
4384
|
+
export interface GeneratedLineItems {
|
|
4385
|
+
lineItems: LineItemDto[];
|
|
4386
|
+
childItemToParent: Map<LineItemDto, LineItemDto>;
|
|
4387
|
+
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4388
|
+
}
|
|
4389
|
+
export interface GeneratedInvoice {
|
|
4390
|
+
invoice: InvoiceDto;
|
|
4391
|
+
lineItemDtoToResourceDto: Map<LineItemDto, ILineItemResource>;
|
|
4392
|
+
}
|
|
4393
|
+
export interface OverridePricingResult {
|
|
4229
4394
|
overrideProductsPricing: OverrideProductsPricing;
|
|
4230
4395
|
lineItemDtoToResourceDto?: Map<LineItemDto, ILineItemResource>;
|
|
4231
4396
|
totalPrice?: number;
|
|
@@ -4465,165 +4630,6 @@ export interface OverridePriceMeta {
|
|
|
4465
4630
|
quantity: number;
|
|
4466
4631
|
totalPrice: number;
|
|
4467
4632
|
}
|
|
4468
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4469
|
-
parentId: number;
|
|
4470
|
-
parentType: AddonParentTypeEnum;
|
|
4471
|
-
productId: number;
|
|
4472
|
-
product?: Product;
|
|
4473
|
-
quantity: number;
|
|
4474
|
-
unitPrice: number;
|
|
4475
|
-
totalPrice: number;
|
|
4476
|
-
approvalStatus: ReservationStatusEnum;
|
|
4477
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4478
|
-
level?: ProductPackageLevelEnum;
|
|
4479
|
-
resourceId?: number;
|
|
4480
|
-
resource?: Resource;
|
|
4481
|
-
invoiceId?: number;
|
|
4482
|
-
invoice?: Invoice;
|
|
4483
|
-
productUserId?: number;
|
|
4484
|
-
productUser?: ProductsUsers;
|
|
4485
|
-
previousProductUsersIds?: number[];
|
|
4486
|
-
previousProductUsers?: ProductsUsers[];
|
|
4487
|
-
}
|
|
4488
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4489
|
-
deletedAt?: Date;
|
|
4490
|
-
reservationId: number;
|
|
4491
|
-
invoiceId: number;
|
|
4492
|
-
slotId: number;
|
|
4493
|
-
}
|
|
4494
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4495
|
-
name?: string;
|
|
4496
|
-
description?: string;
|
|
4497
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4498
|
-
privacySetting?: string;
|
|
4499
|
-
reservationType?: ReservationTypeEnum;
|
|
4500
|
-
invoiceId?: string;
|
|
4501
|
-
customerId?: number;
|
|
4502
|
-
customer?: Customer;
|
|
4503
|
-
price?: number;
|
|
4504
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4505
|
-
startTime?: string;
|
|
4506
|
-
startDate?: Date;
|
|
4507
|
-
endDate?: Date;
|
|
4508
|
-
creatorId?: number;
|
|
4509
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4510
|
-
userCreatorId?: number;
|
|
4511
|
-
sportType?: number;
|
|
4512
|
-
deletedAt?: Date;
|
|
4513
|
-
publicNotes?: string;
|
|
4514
|
-
privateNotes?: string;
|
|
4515
|
-
forms?: number[] | null;
|
|
4516
|
-
answerTitleIds?: number[] | null;
|
|
4517
|
-
segments?: Segment[];
|
|
4518
|
-
migrationStatus?: string;
|
|
4519
|
-
addons: Addon[];
|
|
4520
|
-
overrideProductsPrice: {
|
|
4521
|
-
productId: number;
|
|
4522
|
-
price: number;
|
|
4523
|
-
}[];
|
|
4524
|
-
targetGlobalPrice?: number;
|
|
4525
|
-
slots: Slot[];
|
|
4526
|
-
}
|
|
4527
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4528
|
-
deletedAt?: Date;
|
|
4529
|
-
reservationId: number;
|
|
4530
|
-
title: string;
|
|
4531
|
-
isPrivate: boolean;
|
|
4532
|
-
resourceIds?: number[];
|
|
4533
|
-
sportId: number;
|
|
4534
|
-
reservation?: Reservation;
|
|
4535
|
-
series?: Series[];
|
|
4536
|
-
addonIds?: number[] | null;
|
|
4537
|
-
publicNotesForSlots?: string;
|
|
4538
|
-
privateNotesForSlots?: string;
|
|
4539
|
-
slots?: Slot[];
|
|
4540
|
-
}
|
|
4541
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4542
|
-
deletedAt?: Date;
|
|
4543
|
-
segmentId: number;
|
|
4544
|
-
segment?: Segment;
|
|
4545
|
-
slots?: Slot[];
|
|
4546
|
-
slotDurationType: string;
|
|
4547
|
-
durationEndsAfter: number;
|
|
4548
|
-
durationUnit: string;
|
|
4549
|
-
startDate?: Date;
|
|
4550
|
-
endDate?: Date;
|
|
4551
|
-
startTime: string;
|
|
4552
|
-
endTime: string;
|
|
4553
|
-
frequency: string;
|
|
4554
|
-
repeatEvery: number;
|
|
4555
|
-
repeatOn?: number[];
|
|
4556
|
-
repeatEndDate?: Date;
|
|
4557
|
-
numberOccurrences?: number;
|
|
4558
|
-
resources?: Resource[];
|
|
4559
|
-
}
|
|
4560
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4561
|
-
constructor();
|
|
4562
|
-
defineIsReverted(): void;
|
|
4563
|
-
isReverted: boolean;
|
|
4564
|
-
reservationId: number;
|
|
4565
|
-
reservation: Reservation;
|
|
4566
|
-
title?: string;
|
|
4567
|
-
creatorId?: number;
|
|
4568
|
-
creatorType?: string;
|
|
4569
|
-
userCreatorId?: number;
|
|
4570
|
-
startDate: Date;
|
|
4571
|
-
endDate: Date;
|
|
4572
|
-
startTime: string;
|
|
4573
|
-
endTime: string;
|
|
4574
|
-
timezone?: string;
|
|
4575
|
-
spaceId?: number;
|
|
4576
|
-
resource?: Resource;
|
|
4577
|
-
deletedAt?: Date;
|
|
4578
|
-
publicNotes?: string;
|
|
4579
|
-
privateNotes?: string;
|
|
4580
|
-
slotType: SlotTypeEnum;
|
|
4581
|
-
productsUserId?: number;
|
|
4582
|
-
productUser?: ProductsUsers;
|
|
4583
|
-
product?: Product;
|
|
4584
|
-
addons: Addon[];
|
|
4585
|
-
addonsProductUserIds?: number[] | null;
|
|
4586
|
-
addonsMetadata: AddonMetadata[];
|
|
4587
|
-
segmentId: number;
|
|
4588
|
-
segment: Segment;
|
|
4589
|
-
eventId: number;
|
|
4590
|
-
event: Event;
|
|
4591
|
-
sportIds: number[];
|
|
4592
|
-
parentSlotId?: number;
|
|
4593
|
-
parent?: Slot;
|
|
4594
|
-
children?: Slot[];
|
|
4595
|
-
maintenanceDurationdurationType: string;
|
|
4596
|
-
maintenanceTiming: number;
|
|
4597
|
-
durationValue: number;
|
|
4598
|
-
seriesId?: number;
|
|
4599
|
-
series?: Series;
|
|
4600
|
-
invoiceId?: number;
|
|
4601
|
-
invoice?: Invoice;
|
|
4602
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4603
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4604
|
-
displayName?: string;
|
|
4605
|
-
internalName?: string;
|
|
4606
|
-
activityTypes?: number[] | null;
|
|
4607
|
-
hourlyRate: number;
|
|
4608
|
-
totalPrice: number;
|
|
4609
|
-
isConsumerVisible: boolean;
|
|
4610
|
-
isMonitorVisible: boolean;
|
|
4611
|
-
isPrivate: boolean;
|
|
4612
|
-
occurrence?: number;
|
|
4613
|
-
maintenance?: Slot[];
|
|
4614
|
-
productMetadata: {
|
|
4615
|
-
productId: number;
|
|
4616
|
-
price: number;
|
|
4617
|
-
};
|
|
4618
|
-
slotDurationType: string;
|
|
4619
|
-
previousProductUsersIds?: number[];
|
|
4620
|
-
previousProductUsers?: ProductsUsers[];
|
|
4621
|
-
changeLineItemIds?: number[];
|
|
4622
|
-
changeLineItems?: LineItems[];
|
|
4623
|
-
updatedLineItem?: LineItems;
|
|
4624
|
-
conflictsCount?: number;
|
|
4625
|
-
conflicts?: Slot[];
|
|
4626
|
-
}
|
|
4627
4633
|
export declare class ChangeRolePermissionsDto {
|
|
4628
4634
|
permissionIds: number[];
|
|
4629
4635
|
}
|
|
@@ -4673,6 +4679,10 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4673
4679
|
startDate?: Date;
|
|
4674
4680
|
endDate?: Date;
|
|
4675
4681
|
}
|
|
4682
|
+
export declare class OpenShiftDto {
|
|
4683
|
+
openingCashAmount: number;
|
|
4684
|
+
stationId: number;
|
|
4685
|
+
}
|
|
4676
4686
|
export declare class ShiftManagementClosingAmount {
|
|
4677
4687
|
shiftId: number;
|
|
4678
4688
|
managementClosingCashAmount: number;
|
|
@@ -4680,23 +4690,6 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4680
4690
|
export declare class ManagementClosingOfShiftsDto {
|
|
4681
4691
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4682
4692
|
}
|
|
4683
|
-
export declare class OpenShiftDto {
|
|
4684
|
-
openingCashAmount: number;
|
|
4685
|
-
stationId: number;
|
|
4686
|
-
}
|
|
4687
|
-
export default interface IWebflowProgram {
|
|
4688
|
-
name: string;
|
|
4689
|
-
id: number;
|
|
4690
|
-
activity: string;
|
|
4691
|
-
backgroundImage: string;
|
|
4692
|
-
minAge: string;
|
|
4693
|
-
maxAge: string;
|
|
4694
|
-
shortDescription: string;
|
|
4695
|
-
longDescription: string;
|
|
4696
|
-
programType: string;
|
|
4697
|
-
level: string[];
|
|
4698
|
-
gender: string;
|
|
4699
|
-
}
|
|
4700
4693
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4701
4694
|
stationId: number;
|
|
4702
4695
|
station?: Station;
|
|
@@ -4726,3 +4719,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4726
4719
|
closingManager?: User;
|
|
4727
4720
|
reconcilingUser?: User;
|
|
4728
4721
|
}
|
|
4722
|
+
export default interface IWebflowProgram {
|
|
4723
|
+
name: string;
|
|
4724
|
+
id: number;
|
|
4725
|
+
activity: string;
|
|
4726
|
+
backgroundImage: string;
|
|
4727
|
+
minAge: string;
|
|
4728
|
+
maxAge: string;
|
|
4729
|
+
shortDescription: string;
|
|
4730
|
+
longDescription: string;
|
|
4731
|
+
programType: string;
|
|
4732
|
+
level: string[];
|
|
4733
|
+
gender: string;
|
|
4734
|
+
}
|