@bondsports/types 0.0.177 → 0.0.178
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 +384 -352
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ 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
|
+
}
|
|
23
30
|
export declare enum EConfigurationKeys {
|
|
24
31
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
25
32
|
}
|
|
@@ -88,6 +95,50 @@ export declare class AddEditCustomerDto {
|
|
|
88
95
|
emergencyContactName?: string;
|
|
89
96
|
emergencyContactPhone?: string;
|
|
90
97
|
}
|
|
98
|
+
export declare class FindFamilyAccountsDto {
|
|
99
|
+
userId: number;
|
|
100
|
+
}
|
|
101
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
102
|
+
customerId: number;
|
|
103
|
+
organizationId: number;
|
|
104
|
+
}
|
|
105
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
106
|
+
familyAccountId: number;
|
|
107
|
+
}
|
|
108
|
+
export declare class CreateFamilyAccountDto {
|
|
109
|
+
familyName: string;
|
|
110
|
+
userId: number;
|
|
111
|
+
}
|
|
112
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
113
|
+
familyName: string;
|
|
114
|
+
familyAccountId: number;
|
|
115
|
+
}
|
|
116
|
+
export declare class AddUserToFamilyAccountDto {
|
|
117
|
+
familyAccountId: number;
|
|
118
|
+
isUserAdmin: boolean;
|
|
119
|
+
firstName: string;
|
|
120
|
+
lastName: string;
|
|
121
|
+
gender: GenderEnum;
|
|
122
|
+
birthDate: string;
|
|
123
|
+
sports?: number[];
|
|
124
|
+
email?: string;
|
|
125
|
+
}
|
|
126
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
127
|
+
userId: number;
|
|
128
|
+
familyAccountId: number;
|
|
129
|
+
}
|
|
130
|
+
export declare class FindOneParams {
|
|
131
|
+
id: number;
|
|
132
|
+
}
|
|
133
|
+
export declare class PaginationQuery {
|
|
134
|
+
page: number;
|
|
135
|
+
itemsPerPage: number;
|
|
136
|
+
}
|
|
137
|
+
export declare class PaginationRangeQuery {
|
|
138
|
+
startPage: number;
|
|
139
|
+
endPage: number;
|
|
140
|
+
itemsPerPage: number;
|
|
141
|
+
}
|
|
91
142
|
export declare class FindEventByIdDto {
|
|
92
143
|
eventId: number;
|
|
93
144
|
organizationId: number;
|
|
@@ -231,50 +282,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
231
282
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
232
283
|
nameSearch?: string;
|
|
233
284
|
}
|
|
234
|
-
export declare class FindFamilyAccountsDto {
|
|
235
|
-
userId: number;
|
|
236
|
-
}
|
|
237
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
238
|
-
customerId: number;
|
|
239
|
-
organizationId: number;
|
|
240
|
-
}
|
|
241
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
242
|
-
familyAccountId: number;
|
|
243
|
-
}
|
|
244
|
-
export declare class CreateFamilyAccountDto {
|
|
245
|
-
familyName: string;
|
|
246
|
-
userId: number;
|
|
247
|
-
}
|
|
248
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
249
|
-
familyName: string;
|
|
250
|
-
familyAccountId: number;
|
|
251
|
-
}
|
|
252
|
-
export declare class AddUserToFamilyAccountDto {
|
|
253
|
-
familyAccountId: number;
|
|
254
|
-
isUserAdmin: boolean;
|
|
255
|
-
firstName: string;
|
|
256
|
-
lastName: string;
|
|
257
|
-
gender: GenderEnum;
|
|
258
|
-
birthDate: string;
|
|
259
|
-
sports?: number[];
|
|
260
|
-
email?: string;
|
|
261
|
-
}
|
|
262
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
263
|
-
userId: number;
|
|
264
|
-
familyAccountId: number;
|
|
265
|
-
}
|
|
266
|
-
export declare class FindOneParams {
|
|
267
|
-
id: number;
|
|
268
|
-
}
|
|
269
|
-
export declare class PaginationQuery {
|
|
270
|
-
page: number;
|
|
271
|
-
itemsPerPage: number;
|
|
272
|
-
}
|
|
273
|
-
export declare class PaginationRangeQuery {
|
|
274
|
-
startPage: number;
|
|
275
|
-
endPage: number;
|
|
276
|
-
itemsPerPage: number;
|
|
277
|
-
}
|
|
278
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
279
286
|
organizationId: number;
|
|
280
287
|
}
|
|
@@ -341,13 +348,6 @@ export declare class CancelMembershipDto {
|
|
|
341
348
|
isImmediatelyCancel: boolean;
|
|
342
349
|
cancellationReason?: string;
|
|
343
350
|
}
|
|
344
|
-
export declare class FindBookingTypeSettingDto {
|
|
345
|
-
organizationId: number;
|
|
346
|
-
facilityId: number;
|
|
347
|
-
spaceId: number;
|
|
348
|
-
bookingDate: string;
|
|
349
|
-
bookingTime: string;
|
|
350
|
-
}
|
|
351
351
|
export declare class FindByProgramSeasonIdDto {
|
|
352
352
|
seasonId: number;
|
|
353
353
|
}
|
|
@@ -463,6 +463,24 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
467
|
+
organizationId: number;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
471
|
+
}
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class VariantDto {
|
|
477
|
+
name: string;
|
|
478
|
+
price: number;
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
483
|
+
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
468
486
|
}
|
|
@@ -684,24 +702,6 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -722,7 +722,8 @@ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganization
|
|
|
722
722
|
seasonId: number;
|
|
723
723
|
}
|
|
724
724
|
export declare class FindSeasonEventsQueryDto {
|
|
725
|
-
startDateFilter?:
|
|
725
|
+
startDateFilter?: EComparisonFilter;
|
|
726
|
+
endDateFilter?: EComparisonFilter;
|
|
726
727
|
}
|
|
727
728
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
728
729
|
seasonId: number;
|
|
@@ -1009,6 +1010,14 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1009
1010
|
paymentMethodData: any;
|
|
1010
1011
|
platform?: PlatformsEnum;
|
|
1011
1012
|
}
|
|
1013
|
+
export declare class CreateResourceGroupDto {
|
|
1014
|
+
name: string;
|
|
1015
|
+
parentSlotId: number;
|
|
1016
|
+
facilityId: number;
|
|
1017
|
+
childrenSlotIds: number[];
|
|
1018
|
+
}
|
|
1019
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1020
|
+
}
|
|
1012
1021
|
export declare class ResourceDto {
|
|
1013
1022
|
type: ResourceNameTypeEnum;
|
|
1014
1023
|
id: number;
|
|
@@ -1079,14 +1088,6 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1079
1088
|
publicToken: string;
|
|
1080
1089
|
accountId: string;
|
|
1081
1090
|
}
|
|
1082
|
-
export declare class CreateResourceGroupDto {
|
|
1083
|
-
name: string;
|
|
1084
|
-
parentSlotId: number;
|
|
1085
|
-
facilityId: number;
|
|
1086
|
-
childrenSlotIds: number[];
|
|
1087
|
-
}
|
|
1088
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1089
|
-
}
|
|
1090
1091
|
export declare class FindByUserIdDto {
|
|
1091
1092
|
userId: number;
|
|
1092
1093
|
}
|
|
@@ -1109,6 +1110,19 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1109
1110
|
oldValue?: any;
|
|
1110
1111
|
newValue?: any;
|
|
1111
1112
|
}
|
|
1113
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1114
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1115
|
+
parentId: number;
|
|
1116
|
+
dayOfWeek: number;
|
|
1117
|
+
open: string;
|
|
1118
|
+
close: string;
|
|
1119
|
+
deletedAt?: Date;
|
|
1120
|
+
program: ProgramSeason;
|
|
1121
|
+
availabilityStartDate: string;
|
|
1122
|
+
availabilityEndDate: string;
|
|
1123
|
+
proudct: Product;
|
|
1124
|
+
event: Event;
|
|
1125
|
+
}
|
|
1112
1126
|
export declare class Address extends BondBaseEntity {
|
|
1113
1127
|
city?: string;
|
|
1114
1128
|
street?: string;
|
|
@@ -1133,6 +1147,12 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1133
1147
|
metaData: any | null;
|
|
1134
1148
|
questionText: string | null;
|
|
1135
1149
|
}
|
|
1150
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1151
|
+
questionnaireId: number;
|
|
1152
|
+
userId?: number;
|
|
1153
|
+
answers: Answer[];
|
|
1154
|
+
questionnaire: Questionnaires;
|
|
1155
|
+
}
|
|
1136
1156
|
export declare class Athlete extends BondBaseEntity {
|
|
1137
1157
|
userId: number | null;
|
|
1138
1158
|
metadata: object | null;
|
|
@@ -1143,12 +1163,6 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1143
1163
|
sports: number | null;
|
|
1144
1164
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1145
1165
|
}
|
|
1146
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
|
-
questionnaireId: number;
|
|
1148
|
-
userId?: number;
|
|
1149
|
-
answers: Answer[];
|
|
1150
|
-
questionnaire: Questionnaires;
|
|
1151
|
-
}
|
|
1152
1166
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1153
1167
|
entityType: ResourceNameTypeEnum;
|
|
1154
1168
|
entityId: number;
|
|
@@ -1180,19 +1194,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1180
1194
|
publicNotes?: string;
|
|
1181
1195
|
slotType?: SlotTypeEnum;
|
|
1182
1196
|
}
|
|
1183
|
-
export declare class ActivityTimes extends BondBaseEntity {
|
|
1184
|
-
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1185
|
-
parentId: number;
|
|
1186
|
-
dayOfWeek: number;
|
|
1187
|
-
open: string;
|
|
1188
|
-
close: string;
|
|
1189
|
-
deletedAt?: Date;
|
|
1190
|
-
program: ProgramSeason;
|
|
1191
|
-
availabilityStartDate: string;
|
|
1192
|
-
availabilityEndDate: string;
|
|
1193
|
-
proudct: Product;
|
|
1194
|
-
event: Event;
|
|
1195
|
-
}
|
|
1196
1197
|
export declare class Configuration extends BondBaseEntity {
|
|
1197
1198
|
area: string;
|
|
1198
1199
|
key: string;
|
|
@@ -1220,14 +1221,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1220
1221
|
endTimeInDay: string;
|
|
1221
1222
|
directBookingFor: DirectBookingTypesEnum;
|
|
1222
1223
|
}
|
|
1223
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1224
|
-
creditAmount: number;
|
|
1225
|
-
paymentProcessorId: string;
|
|
1226
|
-
userId: number;
|
|
1227
|
-
paymentId: number;
|
|
1228
|
-
invoiceId: number;
|
|
1229
|
-
creditPaymentId: number;
|
|
1230
|
-
}
|
|
1231
1224
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1232
1225
|
name: string | null;
|
|
1233
1226
|
entityId: number | null;
|
|
@@ -1256,6 +1249,14 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1256
1249
|
mainMedia: Media;
|
|
1257
1250
|
reservations?: Reservation[];
|
|
1258
1251
|
}
|
|
1252
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
+
creditAmount: number;
|
|
1254
|
+
paymentProcessorId: string;
|
|
1255
|
+
userId: number;
|
|
1256
|
+
paymentId: number;
|
|
1257
|
+
invoiceId: number;
|
|
1258
|
+
creditPaymentId: number;
|
|
1259
|
+
}
|
|
1259
1260
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1260
1261
|
customerId: number;
|
|
1261
1262
|
userId: number;
|
|
@@ -1268,33 +1269,33 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1268
1269
|
invoice: Invoice;
|
|
1269
1270
|
payment: Payment;
|
|
1270
1271
|
}
|
|
1272
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
|
+
name: string | null;
|
|
1274
|
+
}
|
|
1271
1275
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1272
1276
|
customerId?: number;
|
|
1273
1277
|
description: string;
|
|
1274
1278
|
pinToTop?: boolean;
|
|
1275
1279
|
customer: Customer;
|
|
1276
1280
|
}
|
|
1277
|
-
export declare class Division extends BondBaseEntity {
|
|
1278
|
-
name: string;
|
|
1279
|
-
ordinal?: number;
|
|
1280
|
-
programSeasonId: number;
|
|
1281
|
-
color: string;
|
|
1282
|
-
isDefault: boolean;
|
|
1283
|
-
groups: Group[];
|
|
1284
|
-
}
|
|
1285
1281
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1286
1282
|
customerId: number;
|
|
1287
1283
|
name: string | null;
|
|
1288
1284
|
phoneNumber: string | null;
|
|
1289
1285
|
customer: Customer;
|
|
1290
1286
|
}
|
|
1291
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1292
|
-
name: string | null;
|
|
1293
|
-
}
|
|
1294
1287
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1295
1288
|
groupId: number;
|
|
1296
1289
|
terms: IEntitlementTerms[];
|
|
1297
1290
|
}
|
|
1291
|
+
export declare class Division extends BondBaseEntity {
|
|
1292
|
+
name: string;
|
|
1293
|
+
ordinal?: number;
|
|
1294
|
+
programSeasonId: number;
|
|
1295
|
+
color: string;
|
|
1296
|
+
isDefault: boolean;
|
|
1297
|
+
groups: Group[];
|
|
1298
|
+
}
|
|
1298
1299
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1299
1300
|
status: RequestStatusEnum | null;
|
|
1300
1301
|
hasPaid: boolean | null;
|
|
@@ -1411,6 +1412,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1411
1412
|
chargedAt?: Date;
|
|
1412
1413
|
originalPlannedDate?: Date;
|
|
1413
1414
|
}
|
|
1415
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1416
|
+
code: string;
|
|
1417
|
+
}
|
|
1414
1418
|
export declare class Group extends BondBaseEntity {
|
|
1415
1419
|
name: string;
|
|
1416
1420
|
description?: string;
|
|
@@ -1427,9 +1431,6 @@ export declare class Group extends BondBaseEntity {
|
|
|
1427
1431
|
members: ISeasonAttendeeInfo[];
|
|
1428
1432
|
users: User[];
|
|
1429
1433
|
}
|
|
1430
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1431
|
-
code: string;
|
|
1432
|
-
}
|
|
1433
1434
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1434
1435
|
groupId: number;
|
|
1435
1436
|
itemId: number;
|
|
@@ -1472,6 +1473,15 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
1472
1473
|
invoiceNotes: InvoiceNote[];
|
|
1473
1474
|
slots: Slot[];
|
|
1474
1475
|
}
|
|
1476
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1477
|
+
content: string;
|
|
1478
|
+
creatingUserId: number;
|
|
1479
|
+
user: User;
|
|
1480
|
+
isPublic: boolean;
|
|
1481
|
+
deletedAt: Date;
|
|
1482
|
+
invoiceId: number;
|
|
1483
|
+
invoice: Invoice;
|
|
1484
|
+
}
|
|
1475
1485
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1476
1486
|
email: string;
|
|
1477
1487
|
status: EEmailStatus;
|
|
@@ -1483,15 +1493,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1483
1493
|
mailParams?: any;
|
|
1484
1494
|
memo?: string;
|
|
1485
1495
|
}
|
|
1486
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
|
-
content: string;
|
|
1488
|
-
creatingUserId: number;
|
|
1489
|
-
user: User;
|
|
1490
|
-
isPublic: boolean;
|
|
1491
|
-
deletedAt: Date;
|
|
1492
|
-
invoiceId: number;
|
|
1493
|
-
invoice: Invoice;
|
|
1494
|
-
}
|
|
1495
1496
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1496
1497
|
invoiceId: number;
|
|
1497
1498
|
paymentId: number;
|
|
@@ -1526,50 +1527,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1526
1527
|
logo?: Media;
|
|
1527
1528
|
seasons: LeagueSeason[];
|
|
1528
1529
|
}
|
|
1529
|
-
export declare class LeagueSeason extends BondBaseEntity {
|
|
1530
|
-
leagueId: number | null;
|
|
1531
|
-
name: string | null;
|
|
1532
|
-
status: number | null;
|
|
1533
|
-
startDate: Date | null;
|
|
1534
|
-
endDate: Date | null;
|
|
1535
|
-
priceEarlySingle: number | null;
|
|
1536
|
-
priceRegularSingle: number | null;
|
|
1537
|
-
priceLateSingle: number | null;
|
|
1538
|
-
priceEarlyTeam: number | null;
|
|
1539
|
-
priceRegularTeam: number | null;
|
|
1540
|
-
priceLateTeam: number | null;
|
|
1541
|
-
priceEarlyTeamMember: number | null;
|
|
1542
|
-
priceRegularTeamMember: number | null;
|
|
1543
|
-
priceLateTeamMember: number | null;
|
|
1544
|
-
priceEarlyGroup: number | null;
|
|
1545
|
-
priceRegularGroup: number | null;
|
|
1546
|
-
priceLateGroup: number | null;
|
|
1547
|
-
earlyRegistrationEnds: Date | null;
|
|
1548
|
-
regularRegistrationEnds: Date | null;
|
|
1549
|
-
lateRegistrationEnds: Date | null;
|
|
1550
|
-
registrationStatus: number | null;
|
|
1551
|
-
description: string | null;
|
|
1552
|
-
addressName: string | null;
|
|
1553
|
-
registrationOpen: Date | null;
|
|
1554
|
-
connectedSeasonId: number | null;
|
|
1555
|
-
tournamentType: boolean | null;
|
|
1556
|
-
playoffType: boolean | null;
|
|
1557
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1558
|
-
rosterStatus: string | null;
|
|
1559
|
-
metaData: any | null;
|
|
1560
|
-
inviteSendDate: Date | null;
|
|
1561
|
-
maxNumParticipants: number | null;
|
|
1562
|
-
programId: number | null;
|
|
1563
|
-
minNumParticipants: number | null;
|
|
1564
|
-
league: League;
|
|
1565
|
-
facilities: Facility[];
|
|
1566
|
-
seasonAttendees: SeasonAttendee[];
|
|
1567
|
-
purchasedResources: PurchasedResource[];
|
|
1568
|
-
}
|
|
1569
|
-
export declare class LeagueSeasonRelations {
|
|
1570
|
-
league?: boolean;
|
|
1571
|
-
facilities?: boolean;
|
|
1572
|
-
}
|
|
1573
1530
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1574
1531
|
invoiceId: number;
|
|
1575
1532
|
paymentId: number;
|
|
@@ -1651,6 +1608,50 @@ export declare class LinkedAccounts extends BondBaseEntity {
|
|
|
1651
1608
|
user: User;
|
|
1652
1609
|
userId: number | null;
|
|
1653
1610
|
}
|
|
1611
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
1612
|
+
leagueId: number | null;
|
|
1613
|
+
name: string | null;
|
|
1614
|
+
status: number | null;
|
|
1615
|
+
startDate: Date | null;
|
|
1616
|
+
endDate: Date | null;
|
|
1617
|
+
priceEarlySingle: number | null;
|
|
1618
|
+
priceRegularSingle: number | null;
|
|
1619
|
+
priceLateSingle: number | null;
|
|
1620
|
+
priceEarlyTeam: number | null;
|
|
1621
|
+
priceRegularTeam: number | null;
|
|
1622
|
+
priceLateTeam: number | null;
|
|
1623
|
+
priceEarlyTeamMember: number | null;
|
|
1624
|
+
priceRegularTeamMember: number | null;
|
|
1625
|
+
priceLateTeamMember: number | null;
|
|
1626
|
+
priceEarlyGroup: number | null;
|
|
1627
|
+
priceRegularGroup: number | null;
|
|
1628
|
+
priceLateGroup: number | null;
|
|
1629
|
+
earlyRegistrationEnds: Date | null;
|
|
1630
|
+
regularRegistrationEnds: Date | null;
|
|
1631
|
+
lateRegistrationEnds: Date | null;
|
|
1632
|
+
registrationStatus: number | null;
|
|
1633
|
+
description: string | null;
|
|
1634
|
+
addressName: string | null;
|
|
1635
|
+
registrationOpen: Date | null;
|
|
1636
|
+
connectedSeasonId: number | null;
|
|
1637
|
+
tournamentType: boolean | null;
|
|
1638
|
+
playoffType: boolean | null;
|
|
1639
|
+
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1640
|
+
rosterStatus: string | null;
|
|
1641
|
+
metaData: any | null;
|
|
1642
|
+
inviteSendDate: Date | null;
|
|
1643
|
+
maxNumParticipants: number | null;
|
|
1644
|
+
programId: number | null;
|
|
1645
|
+
minNumParticipants: number | null;
|
|
1646
|
+
league: League;
|
|
1647
|
+
facilities: Facility[];
|
|
1648
|
+
seasonAttendees: SeasonAttendee[];
|
|
1649
|
+
purchasedResources: PurchasedResource[];
|
|
1650
|
+
}
|
|
1651
|
+
export declare class LeagueSeasonRelations {
|
|
1652
|
+
league?: boolean;
|
|
1653
|
+
facilities?: boolean;
|
|
1654
|
+
}
|
|
1654
1655
|
export declare class Media extends BondBaseEntity {
|
|
1655
1656
|
url: string;
|
|
1656
1657
|
name: string | null;
|
|
@@ -1698,6 +1699,12 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1698
1699
|
isAutoRenew?: boolean;
|
|
1699
1700
|
purchasedResources: PurchasedResource[];
|
|
1700
1701
|
}
|
|
1702
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1703
|
+
email: string | null;
|
|
1704
|
+
notificationType: NotificationTypeEnum | null;
|
|
1705
|
+
resourceId: number | null;
|
|
1706
|
+
resourceType: string | null;
|
|
1707
|
+
}
|
|
1701
1708
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1702
1709
|
membership: Membership;
|
|
1703
1710
|
membershipId: number;
|
|
@@ -1718,23 +1725,6 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1718
1725
|
cancellationStatus?: CancellationStatusEnum;
|
|
1719
1726
|
isImported?: boolean;
|
|
1720
1727
|
}
|
|
1721
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1722
|
-
email: string | null;
|
|
1723
|
-
notificationType: NotificationTypeEnum | null;
|
|
1724
|
-
resourceId: number | null;
|
|
1725
|
-
resourceType: string | null;
|
|
1726
|
-
}
|
|
1727
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1728
|
-
id: number;
|
|
1729
|
-
dayOfWeek: number;
|
|
1730
|
-
open: string;
|
|
1731
|
-
close: string;
|
|
1732
|
-
facilityId: number;
|
|
1733
|
-
createdAt: Date;
|
|
1734
|
-
updatedAt: Date;
|
|
1735
|
-
deletedAt?: Date;
|
|
1736
|
-
facility: Facility;
|
|
1737
|
-
}
|
|
1738
1728
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
1729
|
organizationId: number;
|
|
1740
1730
|
}
|
|
@@ -1755,6 +1745,17 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1755
1745
|
isMandatory: boolean;
|
|
1756
1746
|
productId: number;
|
|
1757
1747
|
}
|
|
1748
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1749
|
+
id: number;
|
|
1750
|
+
dayOfWeek: number;
|
|
1751
|
+
open: string;
|
|
1752
|
+
close: string;
|
|
1753
|
+
facilityId: number;
|
|
1754
|
+
createdAt: Date;
|
|
1755
|
+
updatedAt: Date;
|
|
1756
|
+
deletedAt?: Date;
|
|
1757
|
+
facility: Facility;
|
|
1758
|
+
}
|
|
1758
1759
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
1760
|
token: string | null;
|
|
1760
1761
|
userId: number | null;
|
|
@@ -1798,6 +1799,12 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
|
1798
1799
|
reason: EFailedPaymentReasons;
|
|
1799
1800
|
errorMessage: string;
|
|
1800
1801
|
}
|
|
1802
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1803
|
+
paymentPlanId: number;
|
|
1804
|
+
paymentDate: Date;
|
|
1805
|
+
deletedAt?: Date;
|
|
1806
|
+
paymentPlan: ProductPaymentPlan;
|
|
1807
|
+
}
|
|
1801
1808
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1802
1809
|
content: string;
|
|
1803
1810
|
creatingUserId: number;
|
|
@@ -1807,12 +1814,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1807
1814
|
paymentId: number;
|
|
1808
1815
|
payment: Payment;
|
|
1809
1816
|
}
|
|
1810
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1811
|
-
paymentPlanId: number;
|
|
1812
|
-
paymentDate: Date;
|
|
1813
|
-
deletedAt?: Date;
|
|
1814
|
-
paymentPlan: ProductPaymentPlan;
|
|
1815
|
-
}
|
|
1816
1817
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1817
1818
|
userId: number | null;
|
|
1818
1819
|
ownerId: number | null;
|
|
@@ -1937,10 +1938,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1937
1938
|
productId: number;
|
|
1938
1939
|
variantTitleId: number;
|
|
1939
1940
|
}
|
|
1940
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1941
|
-
productId: number;
|
|
1942
|
-
variantId: number;
|
|
1943
|
-
}
|
|
1944
1941
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1945
1942
|
productId: number;
|
|
1946
1943
|
customerId: number;
|
|
@@ -1948,6 +1945,10 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1945
|
deletedAt?: Date;
|
|
1949
1946
|
product: Product;
|
|
1950
1947
|
}
|
|
1948
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1949
|
+
productId: number;
|
|
1950
|
+
variantId: number;
|
|
1951
|
+
}
|
|
1951
1952
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
1953
|
productId: number;
|
|
1953
1954
|
userId: number;
|
|
@@ -2050,6 +2051,20 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2050
2051
|
facility: Facility;
|
|
2051
2052
|
purchasedResources: PurchasedResource[];
|
|
2052
2053
|
}
|
|
2054
|
+
export declare class Questions extends BondBaseEntity {
|
|
2055
|
+
questionType: string | null;
|
|
2056
|
+
ordinal: number | null;
|
|
2057
|
+
pageOrdinal: number | null;
|
|
2058
|
+
isActive: boolean | null;
|
|
2059
|
+
isMandatory: boolean | null;
|
|
2060
|
+
metaData: any | null;
|
|
2061
|
+
question: string | null;
|
|
2062
|
+
creatorId: number | null;
|
|
2063
|
+
creatorType: string | null;
|
|
2064
|
+
userCreatorId: number | null;
|
|
2065
|
+
ownerId: number | null;
|
|
2066
|
+
questionnaireId: number | null;
|
|
2067
|
+
}
|
|
2053
2068
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2054
2069
|
productUserId: number;
|
|
2055
2070
|
resourceId: number;
|
|
@@ -2076,19 +2091,10 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2076
2091
|
title: string | null;
|
|
2077
2092
|
answerTitle: AnswerTitle;
|
|
2078
2093
|
}
|
|
2079
|
-
export declare class
|
|
2080
|
-
|
|
2081
|
-
ordinal: number
|
|
2082
|
-
|
|
2083
|
-
isActive: boolean | null;
|
|
2084
|
-
isMandatory: boolean | null;
|
|
2085
|
-
metaData: any | null;
|
|
2086
|
-
question: string | null;
|
|
2087
|
-
creatorId: number | null;
|
|
2088
|
-
creatorType: string | null;
|
|
2089
|
-
userCreatorId: number | null;
|
|
2090
|
-
ownerId: number | null;
|
|
2091
|
-
questionnaireId: number | null;
|
|
2094
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2095
|
+
reason: string;
|
|
2096
|
+
ordinal: number;
|
|
2097
|
+
deletedAt: Date;
|
|
2092
2098
|
}
|
|
2093
2099
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2094
2100
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -2101,11 +2107,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2101
2107
|
closeTime?: string;
|
|
2102
2108
|
deletedAt?: Date;
|
|
2103
2109
|
}
|
|
2104
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2105
|
-
reason: string;
|
|
2106
|
-
ordinal: number;
|
|
2107
|
-
deletedAt: Date;
|
|
2108
|
-
}
|
|
2109
2110
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2110
2111
|
name?: string;
|
|
2111
2112
|
description?: string;
|
|
@@ -2348,12 +2349,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2348
2349
|
invoiceNotes: InvoiceNote[];
|
|
2349
2350
|
paymentNotes: PaymentNote[];
|
|
2350
2351
|
}
|
|
2351
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2352
|
-
entityId: number | null;
|
|
2353
|
-
userId: number | null;
|
|
2354
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2355
|
-
user: User;
|
|
2356
|
-
}
|
|
2357
2352
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2358
2353
|
familyAccountId: number;
|
|
2359
2354
|
userId: number;
|
|
@@ -2362,6 +2357,12 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2362
2357
|
familyAccount: FamilyAccount;
|
|
2363
2358
|
deletedAt?: Date;
|
|
2364
2359
|
}
|
|
2360
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
+
entityId: number | null;
|
|
2362
|
+
userId: number | null;
|
|
2363
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
+
user: User;
|
|
2365
|
+
}
|
|
2365
2366
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
2367
|
userId: number;
|
|
2367
2368
|
failCount: number;
|
|
@@ -2634,7 +2635,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2634
2635
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2635
2636
|
OTHER = "other",
|
|
2636
2637
|
MIGRATED = "migrated",
|
|
2637
|
-
VOID = "void"
|
|
2638
|
+
VOID = "void",
|
|
2639
|
+
GIFT_CARD = "gift-card"
|
|
2638
2640
|
}
|
|
2639
2641
|
export declare enum RefundTypeEnum {
|
|
2640
2642
|
LEAVE_BALANCE = "leave_balance",
|
|
@@ -2933,7 +2935,7 @@ export declare enum PaymentSettingStatusEnum {
|
|
|
2933
2935
|
export declare enum NotifyMethodEnum {
|
|
2934
2936
|
EMAIL = "Email"
|
|
2935
2937
|
}
|
|
2936
|
-
export declare enum
|
|
2938
|
+
export declare enum EComparisonFilter {
|
|
2937
2939
|
LessThan = "lt",
|
|
2938
2940
|
GreaterOrEqualTo = "gte"
|
|
2939
2941
|
}
|
|
@@ -3322,7 +3324,8 @@ export declare enum ImportPaymentTypeEnum {
|
|
|
3322
3324
|
CASH = "cash",
|
|
3323
3325
|
CHECK = "check",
|
|
3324
3326
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3325
|
-
OTHER = "other"
|
|
3327
|
+
OTHER = "other",
|
|
3328
|
+
GIFT_CARD = "gift-card"
|
|
3326
3329
|
}
|
|
3327
3330
|
export declare class ImportedInvoiceLineDto {
|
|
3328
3331
|
invoiceID?: string;
|
|
@@ -3351,6 +3354,13 @@ export declare class ImportedPaymentDto {
|
|
|
3351
3354
|
date: string;
|
|
3352
3355
|
time: string;
|
|
3353
3356
|
}
|
|
3357
|
+
export declare class PunchPassDto {
|
|
3358
|
+
CustomerID: string;
|
|
3359
|
+
QuantityLeft: number;
|
|
3360
|
+
BondProgramID: number;
|
|
3361
|
+
BondSessionID: number;
|
|
3362
|
+
ProductID: number;
|
|
3363
|
+
}
|
|
3354
3364
|
export declare class ProductIdsDto {
|
|
3355
3365
|
productIds?: number[];
|
|
3356
3366
|
}
|
|
@@ -3360,13 +3370,6 @@ export declare class ProductImportDto {
|
|
|
3360
3370
|
resourceIds: number[];
|
|
3361
3371
|
oldId: number;
|
|
3362
3372
|
}
|
|
3363
|
-
export declare class PunchPassDto {
|
|
3364
|
-
CustomerID: string;
|
|
3365
|
-
QuantityLeft: number;
|
|
3366
|
-
BondProgramID: number;
|
|
3367
|
-
BondSessionID: number;
|
|
3368
|
-
ProductID: number;
|
|
3369
|
-
}
|
|
3370
3373
|
export declare class ImportedSlotProductDto {
|
|
3371
3374
|
slotID?: string;
|
|
3372
3375
|
name?: string;
|
|
@@ -3443,6 +3446,15 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3443
3446
|
createdAt: Date;
|
|
3444
3447
|
updatedAt: Date;
|
|
3445
3448
|
}
|
|
3449
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3450
|
+
teamId: number | null;
|
|
3451
|
+
eventId: number | null;
|
|
3452
|
+
status: number | null;
|
|
3453
|
+
}
|
|
3454
|
+
export declare class Lock extends BondBaseEntity {
|
|
3455
|
+
name: string;
|
|
3456
|
+
locked?: Date;
|
|
3457
|
+
}
|
|
3446
3458
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3447
3459
|
seasonId: number;
|
|
3448
3460
|
ordinal?: number;
|
|
@@ -3458,15 +3470,6 @@ export interface ValidationReason {
|
|
|
3458
3470
|
valid: boolean;
|
|
3459
3471
|
reason?: string;
|
|
3460
3472
|
}
|
|
3461
|
-
export declare class Lock extends BondBaseEntity {
|
|
3462
|
-
name: string;
|
|
3463
|
-
locked?: Date;
|
|
3464
|
-
}
|
|
3465
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3466
|
-
teamId: number | null;
|
|
3467
|
-
eventId: number | null;
|
|
3468
|
-
status: number | null;
|
|
3469
|
-
}
|
|
3470
3473
|
export interface PaymentStatus {
|
|
3471
3474
|
parentId: number;
|
|
3472
3475
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3490,13 +3493,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3490
3493
|
code: string;
|
|
3491
3494
|
config?: any;
|
|
3492
3495
|
}
|
|
3493
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
|
-
userId: number;
|
|
3495
|
-
organizationId: number;
|
|
3496
|
-
notifyMetadata?: any;
|
|
3497
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3498
|
-
destination: string;
|
|
3499
|
-
}
|
|
3500
3496
|
export declare class ByOrganizationIdDto {
|
|
3501
3497
|
organizationId: number;
|
|
3502
3498
|
}
|
|
@@ -3570,29 +3566,40 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3570
3566
|
brandings: OrganizationBranding[];
|
|
3571
3567
|
brandingsV2?: OrganizationBranding[];
|
|
3572
3568
|
}
|
|
3569
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3570
|
+
mainAdminUserId?: number;
|
|
3571
|
+
}
|
|
3573
3572
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3574
3573
|
key?: string;
|
|
3575
3574
|
vaule?: string;
|
|
3576
3575
|
version: number;
|
|
3577
3576
|
organization: Organization;
|
|
3578
3577
|
}
|
|
3579
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3580
|
-
mainAdminUserId?: number;
|
|
3581
|
-
}
|
|
3582
3578
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3583
3579
|
organisationId: number | null;
|
|
3584
3580
|
userId: number | null;
|
|
3585
3581
|
}
|
|
3586
|
-
export
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3582
|
+
export declare class RefundDto {
|
|
3583
|
+
invoiceId: number;
|
|
3584
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3585
|
+
refundLineItemAmountDict?: {
|
|
3586
|
+
[id: number]: number;
|
|
3587
|
+
};
|
|
3588
|
+
refunds: PaymentMethodDto[];
|
|
3589
|
+
refundType: RefundTypeEnum;
|
|
3590
|
+
reasonId: number;
|
|
3591
|
+
note?: string;
|
|
3592
|
+
shiftId?: number;
|
|
3593
|
+
meta?: RevertMetaDto;
|
|
3592
3594
|
}
|
|
3593
|
-
export
|
|
3594
|
-
|
|
3595
|
-
|
|
3595
|
+
export declare class PaymentMethodDto {
|
|
3596
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3597
|
+
amount: number;
|
|
3598
|
+
paymentMethodId?: string;
|
|
3599
|
+
}
|
|
3600
|
+
export declare class RefundLineItemAmountDto {
|
|
3601
|
+
id: number;
|
|
3602
|
+
refundAmount: number;
|
|
3596
3603
|
}
|
|
3597
3604
|
export declare class CustomerIdDto {
|
|
3598
3605
|
customerId: number;
|
|
@@ -3716,28 +3723,6 @@ export declare class SendRequestDto {
|
|
|
3716
3723
|
sendToEmail: string;
|
|
3717
3724
|
memo?: string;
|
|
3718
3725
|
}
|
|
3719
|
-
export declare class RefundDto {
|
|
3720
|
-
invoiceId: number;
|
|
3721
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3722
|
-
refundLineItemAmountDict?: {
|
|
3723
|
-
[id: number]: number;
|
|
3724
|
-
};
|
|
3725
|
-
refunds: PaymentMethodDto[];
|
|
3726
|
-
refundType: RefundTypeEnum;
|
|
3727
|
-
reasonId: number;
|
|
3728
|
-
note?: string;
|
|
3729
|
-
shiftId?: number;
|
|
3730
|
-
meta?: RevertMetaDto;
|
|
3731
|
-
}
|
|
3732
|
-
export declare class PaymentMethodDto {
|
|
3733
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3734
|
-
amount: number;
|
|
3735
|
-
paymentMethodId?: string;
|
|
3736
|
-
}
|
|
3737
|
-
export declare class RefundLineItemAmountDto {
|
|
3738
|
-
id: number;
|
|
3739
|
-
refundAmount: number;
|
|
3740
|
-
}
|
|
3741
3726
|
export declare class VoidDto {
|
|
3742
3727
|
lineItems: VoidLineItemDto[];
|
|
3743
3728
|
meta?: RevertMetaDto;
|
|
@@ -3783,6 +3768,56 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3783
3768
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3784
3769
|
totalAmountProcessed: number;
|
|
3785
3770
|
}
|
|
3771
|
+
export interface UnallocatedEventsFilters {
|
|
3772
|
+
programsIds?: number[];
|
|
3773
|
+
sessionsIds?: number[];
|
|
3774
|
+
segmentsIds?: number[];
|
|
3775
|
+
durations?: Duration[];
|
|
3776
|
+
daysOfWeek?: number[];
|
|
3777
|
+
}
|
|
3778
|
+
export interface Duration {
|
|
3779
|
+
startDate: string;
|
|
3780
|
+
endDate: string;
|
|
3781
|
+
}
|
|
3782
|
+
export interface IUnallocatedEventRes {
|
|
3783
|
+
id: number;
|
|
3784
|
+
title: string;
|
|
3785
|
+
sports: number[];
|
|
3786
|
+
startDate: string;
|
|
3787
|
+
startDateString: string;
|
|
3788
|
+
startTime: string;
|
|
3789
|
+
endDate: string;
|
|
3790
|
+
endDateString: string;
|
|
3791
|
+
endTime: string;
|
|
3792
|
+
timezone: string;
|
|
3793
|
+
}
|
|
3794
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3795
|
+
data: IUnallocatedEventRes[];
|
|
3796
|
+
}
|
|
3797
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3798
|
+
userId: number;
|
|
3799
|
+
organizationId: number;
|
|
3800
|
+
notifyMetadata?: any;
|
|
3801
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3802
|
+
destination: string;
|
|
3803
|
+
}
|
|
3804
|
+
export declare class Permission extends BondBaseEntity {
|
|
3805
|
+
name: string;
|
|
3806
|
+
deletedAt?: Date;
|
|
3807
|
+
}
|
|
3808
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3809
|
+
name: string;
|
|
3810
|
+
deletedAt?: Date;
|
|
3811
|
+
permissions: Permission[];
|
|
3812
|
+
usersRoles: UserRole[];
|
|
3813
|
+
}
|
|
3814
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3815
|
+
deletedAt?: Date;
|
|
3816
|
+
userId: number;
|
|
3817
|
+
roleId: number;
|
|
3818
|
+
role: Role;
|
|
3819
|
+
user: User;
|
|
3820
|
+
}
|
|
3786
3821
|
export declare class AddonDto {
|
|
3787
3822
|
productId: number;
|
|
3788
3823
|
id?: number;
|
|
@@ -3892,6 +3927,34 @@ export declare class PurchasedResourceDto {
|
|
|
3892
3927
|
endDate?: string;
|
|
3893
3928
|
endTime?: string;
|
|
3894
3929
|
}
|
|
3930
|
+
export declare class SegmentDto {
|
|
3931
|
+
id?: number;
|
|
3932
|
+
title: string;
|
|
3933
|
+
isPrivate: boolean;
|
|
3934
|
+
resourceIds: number[];
|
|
3935
|
+
sportId?: number;
|
|
3936
|
+
series: SeriesDto[];
|
|
3937
|
+
addonIds?: number[];
|
|
3938
|
+
publicNotesForSlots?: string;
|
|
3939
|
+
privateNotesForSlots?: string;
|
|
3940
|
+
}
|
|
3941
|
+
export declare class SeriesDto {
|
|
3942
|
+
id?: number;
|
|
3943
|
+
startDate: string;
|
|
3944
|
+
startTime?: string;
|
|
3945
|
+
endDate?: string;
|
|
3946
|
+
endTime?: string;
|
|
3947
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3948
|
+
durationEndsAfter?: number;
|
|
3949
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3950
|
+
frequency: FrequencyEnum;
|
|
3951
|
+
repeatEvery?: number;
|
|
3952
|
+
repeatOn?: number[];
|
|
3953
|
+
repeatEndDate?: string;
|
|
3954
|
+
numberOccurrences?: number;
|
|
3955
|
+
maintenance?: MaintenanceDto[];
|
|
3956
|
+
slots?: SlotDto[];
|
|
3957
|
+
}
|
|
3895
3958
|
export declare class ReservationDto {
|
|
3896
3959
|
id?: number;
|
|
3897
3960
|
organizationId?: number;
|
|
@@ -4041,35 +4104,8 @@ export declare class ReservationNotifyDto {
|
|
|
4041
4104
|
notifyMethods?: NotifyMethodEnum[];
|
|
4042
4105
|
}
|
|
4043
4106
|
export declare class UpdateReservationInvoiceDto {
|
|
4044
|
-
updateAddons?:
|
|
4045
|
-
|
|
4046
|
-
export declare class SegmentDto {
|
|
4047
|
-
id?: number;
|
|
4048
|
-
title: string;
|
|
4049
|
-
isPrivate: boolean;
|
|
4050
|
-
resourceIds: number[];
|
|
4051
|
-
sportId?: number;
|
|
4052
|
-
series: SeriesDto[];
|
|
4053
|
-
addonIds?: number[];
|
|
4054
|
-
publicNotesForSlots?: string;
|
|
4055
|
-
privateNotesForSlots?: string;
|
|
4056
|
-
}
|
|
4057
|
-
export declare class SeriesDto {
|
|
4058
|
-
id?: number;
|
|
4059
|
-
startDate: string;
|
|
4060
|
-
startTime?: string;
|
|
4061
|
-
endDate?: string;
|
|
4062
|
-
endTime?: string;
|
|
4063
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4064
|
-
durationEndsAfter?: number;
|
|
4065
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
4066
|
-
frequency: FrequencyEnum;
|
|
4067
|
-
repeatEvery?: number;
|
|
4068
|
-
repeatOn?: number[];
|
|
4069
|
-
repeatEndDate?: string;
|
|
4070
|
-
numberOccurrences?: number;
|
|
4071
|
-
maintenance?: MaintenanceDto[];
|
|
4072
|
-
slots?: SlotDto[];
|
|
4107
|
+
updateAddons?: boolean;
|
|
4108
|
+
updateMaintenance?: boolean;
|
|
4073
4109
|
}
|
|
4074
4110
|
export declare class SlotDateTimeAndSpace {
|
|
4075
4111
|
startDate: string;
|
|
@@ -4204,6 +4240,20 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4204
4240
|
invoiceId: number;
|
|
4205
4241
|
slotId: number;
|
|
4206
4242
|
}
|
|
4243
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4244
|
+
deletedAt?: Date;
|
|
4245
|
+
reservationId: number;
|
|
4246
|
+
title: string;
|
|
4247
|
+
isPrivate: boolean;
|
|
4248
|
+
resourceIds?: number[];
|
|
4249
|
+
sportId: number;
|
|
4250
|
+
reservation?: Reservation;
|
|
4251
|
+
series?: Series[];
|
|
4252
|
+
addonIds?: number[] | null;
|
|
4253
|
+
publicNotesForSlots?: string;
|
|
4254
|
+
privateNotesForSlots?: string;
|
|
4255
|
+
slots?: Slot[];
|
|
4256
|
+
}
|
|
4207
4257
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4208
4258
|
name?: string;
|
|
4209
4259
|
description?: string;
|
|
@@ -4237,20 +4287,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4237
4287
|
targetGlobalPrice?: number;
|
|
4238
4288
|
slots: Slot[];
|
|
4239
4289
|
}
|
|
4240
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4241
|
-
deletedAt?: Date;
|
|
4242
|
-
reservationId: number;
|
|
4243
|
-
title: string;
|
|
4244
|
-
isPrivate: boolean;
|
|
4245
|
-
resourceIds?: number[];
|
|
4246
|
-
sportId: number;
|
|
4247
|
-
reservation?: Reservation;
|
|
4248
|
-
series?: Series[];
|
|
4249
|
-
addonIds?: number[] | null;
|
|
4250
|
-
publicNotesForSlots?: string;
|
|
4251
|
-
privateNotesForSlots?: string;
|
|
4252
|
-
slots?: Slot[];
|
|
4253
|
-
}
|
|
4254
4290
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4255
4291
|
deletedAt?: Date;
|
|
4256
4292
|
segmentId: number;
|
|
@@ -4337,6 +4373,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4337
4373
|
conflictsCount?: number;
|
|
4338
4374
|
conflicts?: Slot[];
|
|
4339
4375
|
}
|
|
4376
|
+
export declare class ChangeRolePermissionsDto {
|
|
4377
|
+
permissionIds: number[];
|
|
4378
|
+
}
|
|
4379
|
+
export declare class CreateRoleDto {
|
|
4380
|
+
name: string;
|
|
4381
|
+
}
|
|
4340
4382
|
export declare type TSlotAndType = {
|
|
4341
4383
|
type: 'slots' | 'slot_addons';
|
|
4342
4384
|
slotsForProduct: {
|
|
@@ -4569,35 +4611,9 @@ export interface AddonMetadata {
|
|
|
4569
4611
|
totalPrice: number;
|
|
4570
4612
|
product?: Product;
|
|
4571
4613
|
}
|
|
4572
|
-
export declare class ChangeRolePermissionsDto {
|
|
4573
|
-
permissionIds: number[];
|
|
4574
|
-
}
|
|
4575
|
-
export declare class CreateRoleDto {
|
|
4576
|
-
name: string;
|
|
4577
|
-
}
|
|
4578
|
-
export declare class Permission extends BondBaseEntity {
|
|
4579
|
-
name: string;
|
|
4580
|
-
deletedAt?: Date;
|
|
4581
|
-
}
|
|
4582
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4583
|
-
name: string;
|
|
4584
|
-
deletedAt?: Date;
|
|
4585
|
-
permissions: Permission[];
|
|
4586
|
-
usersRoles: UserRole[];
|
|
4587
|
-
}
|
|
4588
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4589
|
-
deletedAt?: Date;
|
|
4590
|
-
userId: number;
|
|
4591
|
-
roleId: number;
|
|
4592
|
-
role: Role;
|
|
4593
|
-
user: User;
|
|
4594
|
-
}
|
|
4595
4614
|
export declare class CloseShiftDto {
|
|
4596
4615
|
closingCashAmount: number;
|
|
4597
4616
|
}
|
|
4598
|
-
export declare class FindShiftsByIdsDto {
|
|
4599
|
-
shiftIds: number[];
|
|
4600
|
-
}
|
|
4601
4617
|
export declare class FindShiftsFiltersDto {
|
|
4602
4618
|
statuses?: string;
|
|
4603
4619
|
stationIds?: string;
|
|
@@ -4625,6 +4641,9 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4625
4641
|
export declare class ManagementClosingOfShiftsDto {
|
|
4626
4642
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4627
4643
|
}
|
|
4644
|
+
export declare class FindShiftsByIdsDto {
|
|
4645
|
+
shiftIds: number[];
|
|
4646
|
+
}
|
|
4628
4647
|
export declare class OpenShiftDto {
|
|
4629
4648
|
openingCashAmount: number;
|
|
4630
4649
|
stationId: number;
|
|
@@ -4658,3 +4677,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4658
4677
|
closingManager?: User;
|
|
4659
4678
|
reconcilingUser?: User;
|
|
4660
4679
|
}
|
|
4680
|
+
export default interface IWebflowProgram {
|
|
4681
|
+
name: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
activity: string;
|
|
4684
|
+
backgroundImage: string;
|
|
4685
|
+
minAge: string;
|
|
4686
|
+
maxAge: string;
|
|
4687
|
+
shortDescription: string;
|
|
4688
|
+
longDescription: string;
|
|
4689
|
+
programType: string;
|
|
4690
|
+
level: string[];
|
|
4691
|
+
gender: string;
|
|
4692
|
+
}
|