@bondsports/types 0.0.111 → 0.0.113
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 +1382 -1351
- 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
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -20,47 +13,79 @@ export declare class UserAnswersDto {
|
|
|
20
13
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
14
|
questionnaireIds: string;
|
|
22
15
|
}
|
|
23
|
-
export declare class
|
|
24
|
-
userId: number;
|
|
25
|
-
}
|
|
26
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
27
|
-
customerId: number;
|
|
16
|
+
export declare class FindBookingTypeSettingDto {
|
|
28
17
|
organizationId: number;
|
|
18
|
+
facilityId: number;
|
|
19
|
+
spaceId: number;
|
|
20
|
+
bookingDate: string;
|
|
21
|
+
bookingTime: string;
|
|
29
22
|
}
|
|
30
|
-
export declare
|
|
31
|
-
|
|
23
|
+
export declare enum EConfigurationKeys {
|
|
24
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
25
|
}
|
|
33
|
-
export declare
|
|
34
|
-
|
|
35
|
-
userId: number;
|
|
26
|
+
export declare enum EFailedPaymentReasons {
|
|
27
|
+
CARD_BLOCKED = "card_blocked_by_bond"
|
|
36
28
|
}
|
|
37
|
-
export declare class
|
|
38
|
-
|
|
39
|
-
familyAccountId: number;
|
|
29
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
30
|
+
membershipId: number;
|
|
40
31
|
}
|
|
41
|
-
export declare class
|
|
42
|
-
|
|
43
|
-
isUserAdmin: boolean;
|
|
44
|
-
firstName: string;
|
|
45
|
-
lastName: string;
|
|
46
|
-
gender: GenderEnum;
|
|
47
|
-
birthDate: string;
|
|
48
|
-
sports?: number[];
|
|
49
|
-
email?: string;
|
|
32
|
+
export declare class ImportProductsFromDB {
|
|
33
|
+
buDate: string;
|
|
50
34
|
}
|
|
51
|
-
export declare class
|
|
35
|
+
export declare class ImportCustomerFromCSV {
|
|
36
|
+
fileName: string;
|
|
37
|
+
startIndex?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
40
|
+
resolveInvoices: string;
|
|
41
|
+
}
|
|
42
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
43
|
+
membershipId: number;
|
|
44
|
+
onlyDashIds: string;
|
|
45
|
+
}
|
|
46
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
47
|
+
facilityId: number;
|
|
48
|
+
}
|
|
49
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
50
|
+
customerId: number;
|
|
51
|
+
}
|
|
52
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
52
53
|
userId: number;
|
|
53
|
-
familyAccountId: number;
|
|
54
54
|
}
|
|
55
|
-
export declare class
|
|
56
|
-
|
|
55
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
56
|
+
nameSearch?: string;
|
|
57
|
+
fuzzy?: string;
|
|
58
|
+
customerType?: CustomerTypeEnum;
|
|
59
|
+
customersIds?: string;
|
|
57
60
|
}
|
|
58
|
-
export declare class
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
export declare class AddCustomerNotesDto {
|
|
62
|
+
customerNotes: CustomerNoteDto[];
|
|
63
|
+
}
|
|
64
|
+
export declare class CustomerNoteDto {
|
|
65
|
+
id?: number;
|
|
66
|
+
description: string;
|
|
67
|
+
pinToTop?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export declare class AddEditCustomerDto {
|
|
70
|
+
firstName?: string;
|
|
71
|
+
lastName?: string;
|
|
72
|
+
entityId?: number;
|
|
73
|
+
entityType?: CustomerTypeEnum;
|
|
74
|
+
email?: string;
|
|
75
|
+
color?: string;
|
|
76
|
+
street?: string;
|
|
77
|
+
city?: string;
|
|
78
|
+
state?: string;
|
|
79
|
+
zip?: string;
|
|
80
|
+
phoneNumber?: string;
|
|
81
|
+
mainMediaId?: number;
|
|
82
|
+
creatorId?: number;
|
|
83
|
+
creatorType?: ResourceNameTypeEnum;
|
|
84
|
+
userCreatorId?: number;
|
|
85
|
+
gender?: GenderEnum;
|
|
86
|
+
birthDate?: string;
|
|
87
|
+
emergencyContactName?: string;
|
|
88
|
+
emergencyContactPhone?: string;
|
|
64
89
|
}
|
|
65
90
|
export declare class FindEventByIdDto {
|
|
66
91
|
eventId: number;
|
|
@@ -162,78 +187,109 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
162
187
|
isWaiverSigned?: string;
|
|
163
188
|
statuses?: string;
|
|
164
189
|
}
|
|
165
|
-
export declare class
|
|
166
|
-
|
|
190
|
+
export declare class AddressDto {
|
|
191
|
+
city: string;
|
|
192
|
+
state: string;
|
|
193
|
+
country: string;
|
|
194
|
+
geo: number[];
|
|
167
195
|
}
|
|
168
|
-
export declare class
|
|
169
|
-
|
|
196
|
+
export declare class OpeningTimeDto {
|
|
197
|
+
open: string;
|
|
198
|
+
close: string;
|
|
199
|
+
dayOfWeek: number;
|
|
170
200
|
}
|
|
171
|
-
export declare class
|
|
201
|
+
export declare class CreateFacilityDto {
|
|
172
202
|
name: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
203
|
+
sports: number[];
|
|
204
|
+
description?: string;
|
|
205
|
+
longDescription?: string;
|
|
206
|
+
info?: string;
|
|
207
|
+
address: AddressDto;
|
|
208
|
+
timezone: string;
|
|
209
|
+
amenities: number[];
|
|
210
|
+
openingTimes: OpeningTimeDto[];
|
|
211
|
+
resourcesIds?: number[];
|
|
177
212
|
}
|
|
178
|
-
export declare class
|
|
179
|
-
name
|
|
213
|
+
export declare class UpdateFacilityDetailsDto {
|
|
214
|
+
name?: string;
|
|
180
215
|
description?: string;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
maxAgeYears?: number;
|
|
186
|
-
gender: GenderEnum;
|
|
187
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
188
|
-
sports: SportsEnum[];
|
|
189
|
-
questionnaires?: number[];
|
|
190
|
-
captainUserId?: number;
|
|
191
|
-
divisionId?: number;
|
|
216
|
+
longDescription?: string;
|
|
217
|
+
info?: string;
|
|
218
|
+
address?: AddressDto;
|
|
219
|
+
timezone?: string;
|
|
192
220
|
}
|
|
193
|
-
export declare class
|
|
194
|
-
|
|
195
|
-
divisionId: number;
|
|
196
|
-
prevDivisionId: number;
|
|
221
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
222
|
+
openingTimes: OpeningTimeDto[];
|
|
197
223
|
}
|
|
198
|
-
export declare class
|
|
199
|
-
|
|
200
|
-
groupId?: number;
|
|
201
|
-
prevGroupId?: number;
|
|
224
|
+
export declare class UpdateFacilitySportsDto {
|
|
225
|
+
sports: number[];
|
|
202
226
|
}
|
|
203
|
-
export declare class
|
|
204
|
-
|
|
205
|
-
userId: number;
|
|
227
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
228
|
+
amenities: number[];
|
|
206
229
|
}
|
|
207
|
-
export declare class
|
|
208
|
-
|
|
209
|
-
userCreatorId: number;
|
|
230
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
231
|
+
nameSearch?: string;
|
|
210
232
|
}
|
|
211
|
-
export declare class
|
|
212
|
-
|
|
233
|
+
export declare class FindFamilyAccountsDto {
|
|
234
|
+
userId: number;
|
|
213
235
|
}
|
|
214
|
-
export declare class
|
|
215
|
-
|
|
236
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
237
|
+
customerId: number;
|
|
238
|
+
organizationId: number;
|
|
216
239
|
}
|
|
217
|
-
export declare class
|
|
240
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
241
|
+
familyAccountId: number;
|
|
242
|
+
}
|
|
243
|
+
export declare class CreateFamilyAccountDto {
|
|
244
|
+
familyName: string;
|
|
218
245
|
userId: number;
|
|
219
|
-
inviteToken?: string;
|
|
220
246
|
}
|
|
221
|
-
export declare class
|
|
247
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
248
|
+
familyName: string;
|
|
249
|
+
familyAccountId: number;
|
|
250
|
+
}
|
|
251
|
+
export declare class AddUserToFamilyAccountDto {
|
|
252
|
+
familyAccountId: number;
|
|
253
|
+
isUserAdmin: boolean;
|
|
254
|
+
firstName: string;
|
|
255
|
+
lastName: string;
|
|
256
|
+
gender: GenderEnum;
|
|
257
|
+
birthDate: string;
|
|
258
|
+
sports?: number[];
|
|
259
|
+
email?: string;
|
|
260
|
+
}
|
|
261
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
222
262
|
userId: number;
|
|
263
|
+
familyAccountId: number;
|
|
223
264
|
}
|
|
224
|
-
export
|
|
225
|
-
|
|
226
|
-
toSeasonId: number;
|
|
265
|
+
export declare class FindOneParams {
|
|
266
|
+
id: number;
|
|
227
267
|
}
|
|
228
|
-
export declare class
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
fromSeasonId: number;
|
|
232
|
-
toSeasonId: number;
|
|
233
|
-
toDivisionId?: number;
|
|
268
|
+
export declare class PaginationQuery {
|
|
269
|
+
page: number;
|
|
270
|
+
itemsPerPage: number;
|
|
234
271
|
}
|
|
235
|
-
export declare class
|
|
236
|
-
|
|
272
|
+
export declare class PaginationRangeQuery {
|
|
273
|
+
startPage: number;
|
|
274
|
+
endPage: number;
|
|
275
|
+
itemsPerPage: number;
|
|
276
|
+
}
|
|
277
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
278
|
+
organizationId: number;
|
|
279
|
+
}
|
|
280
|
+
export declare class GetGlCodeDto {
|
|
281
|
+
id: number;
|
|
282
|
+
organizationId: number;
|
|
283
|
+
code: string;
|
|
284
|
+
createdAt: Date;
|
|
285
|
+
updatedAt: Date;
|
|
286
|
+
}
|
|
287
|
+
export declare class BasicActivityTimesDto {
|
|
288
|
+
dayOfWeek: number;
|
|
289
|
+
close: string;
|
|
290
|
+
open: string;
|
|
291
|
+
availabilityStartDate?: string;
|
|
292
|
+
availabilityEndDate?: string;
|
|
237
293
|
}
|
|
238
294
|
export declare class CreateMembershipDto {
|
|
239
295
|
organizationId: number;
|
|
@@ -291,60 +347,120 @@ export declare class CancelMembershipDto {
|
|
|
291
347
|
isImmediatelyCancel: boolean;
|
|
292
348
|
cancellationReason?: string;
|
|
293
349
|
}
|
|
294
|
-
export declare class
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
geo: number[];
|
|
350
|
+
export declare class CreateEntitlementTermsDto {
|
|
351
|
+
organizationId: number;
|
|
352
|
+
entitlementGroupId: number;
|
|
353
|
+
terms: IEntitlementTerms[];
|
|
299
354
|
}
|
|
300
|
-
export declare class
|
|
301
|
-
|
|
302
|
-
close: string;
|
|
303
|
-
dayOfWeek: number;
|
|
355
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
356
|
+
entitlementGroupId: number;
|
|
304
357
|
}
|
|
305
|
-
export declare class
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
description?: string;
|
|
309
|
-
longDescription?: string;
|
|
310
|
-
info?: string;
|
|
311
|
-
address: AddressDto;
|
|
312
|
-
timezone: string;
|
|
313
|
-
amenities: number[];
|
|
314
|
-
openingTimes: OpeningTimeDto[];
|
|
315
|
-
resourcesIds?: number[];
|
|
358
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
359
|
+
user: any;
|
|
360
|
+
userVariables: IQuestionAnswerObject[];
|
|
316
361
|
}
|
|
317
|
-
export declare class
|
|
318
|
-
|
|
362
|
+
export declare class FindLowestPriceDto {
|
|
363
|
+
organizationId: number;
|
|
364
|
+
user?: any;
|
|
365
|
+
answers?: IQuestionAnswerObject[];
|
|
366
|
+
itemIds: number[];
|
|
367
|
+
itemType?: ResourceNameTypeEnum;
|
|
368
|
+
startDate?: Date;
|
|
369
|
+
}
|
|
370
|
+
export declare class FindGroupItemsPricingsDto {
|
|
371
|
+
groupsIds: number[];
|
|
372
|
+
itemsIds: number[];
|
|
373
|
+
}
|
|
374
|
+
export declare class CreateEntitlementGroupDto {
|
|
375
|
+
name: string;
|
|
376
|
+
}
|
|
377
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
378
|
+
itemIds: number[];
|
|
379
|
+
itemType: string;
|
|
380
|
+
}
|
|
381
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
382
|
+
groupid: number;
|
|
383
|
+
}
|
|
384
|
+
export declare class CreateGroupPricingWithProduct {
|
|
385
|
+
groupId: number;
|
|
386
|
+
price: number;
|
|
387
|
+
startDate?: Date;
|
|
388
|
+
endDate?: Date;
|
|
389
|
+
discountValue?: number;
|
|
390
|
+
discountMethod?: DiscountMethodsEnum;
|
|
391
|
+
}
|
|
392
|
+
export declare class FindByProgramSeasonIdDto {
|
|
393
|
+
seasonId: number;
|
|
394
|
+
}
|
|
395
|
+
export declare class CreateBulkDivisionsDto {
|
|
396
|
+
divisions: CreateDivisionDto[];
|
|
397
|
+
}
|
|
398
|
+
export declare class CreateDivisionDto {
|
|
399
|
+
name: string;
|
|
400
|
+
ordinal?: number;
|
|
401
|
+
programSeasonId: number;
|
|
402
|
+
color: string;
|
|
403
|
+
isDefault: boolean;
|
|
404
|
+
}
|
|
405
|
+
export declare class CreateGroupDto {
|
|
406
|
+
name: string;
|
|
319
407
|
description?: string;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
408
|
+
status?: GroupStatusEnum;
|
|
409
|
+
maxCapacity?: number;
|
|
410
|
+
mainMediaId?: number;
|
|
411
|
+
minAgeYears?: number;
|
|
412
|
+
maxAgeYears?: number;
|
|
413
|
+
gender: GenderEnum;
|
|
414
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
415
|
+
sports: SportsEnum[];
|
|
416
|
+
questionnaires?: number[];
|
|
417
|
+
captainUserId?: number;
|
|
418
|
+
divisionId?: number;
|
|
324
419
|
}
|
|
325
|
-
export declare class
|
|
326
|
-
|
|
420
|
+
export declare class ConnectGroupToDivision {
|
|
421
|
+
groupId: number;
|
|
422
|
+
divisionId: number;
|
|
423
|
+
prevDivisionId: number;
|
|
327
424
|
}
|
|
328
|
-
export declare class
|
|
329
|
-
|
|
425
|
+
export declare class MoveUserInGroups {
|
|
426
|
+
userId: number;
|
|
427
|
+
groupId?: number;
|
|
428
|
+
prevGroupId?: number;
|
|
330
429
|
}
|
|
331
|
-
export declare class
|
|
332
|
-
|
|
430
|
+
export declare class SaveUserAsGroupCaptain {
|
|
431
|
+
groupId: number;
|
|
432
|
+
userId: number;
|
|
333
433
|
}
|
|
334
|
-
export declare class
|
|
335
|
-
|
|
434
|
+
export declare class CreateTeamInviteDto {
|
|
435
|
+
emails: string[];
|
|
436
|
+
userCreatorId: number;
|
|
336
437
|
}
|
|
337
|
-
export declare class
|
|
338
|
-
|
|
438
|
+
export declare class TeamByIdDto {
|
|
439
|
+
teamId: number;
|
|
339
440
|
}
|
|
340
|
-
export declare class
|
|
341
|
-
|
|
342
|
-
itemsPerPage: number;
|
|
441
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
442
|
+
inviteToken: string;
|
|
343
443
|
}
|
|
344
|
-
export declare class
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
444
|
+
export declare class JoinTeamDto {
|
|
445
|
+
userId: number;
|
|
446
|
+
inviteToken?: string;
|
|
447
|
+
}
|
|
448
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
449
|
+
userId: number;
|
|
450
|
+
}
|
|
451
|
+
export interface IMoveSeason {
|
|
452
|
+
fromSeasonId: number;
|
|
453
|
+
toSeasonId: number;
|
|
454
|
+
}
|
|
455
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
456
|
+
teamId?: number;
|
|
457
|
+
memberId?: number;
|
|
458
|
+
fromSeasonId: number;
|
|
459
|
+
toSeasonId: number;
|
|
460
|
+
toDivisionId?: number;
|
|
461
|
+
}
|
|
462
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
463
|
+
fileName: string;
|
|
348
464
|
}
|
|
349
465
|
export declare class FindByProductIdDto {
|
|
350
466
|
productId: number;
|
|
@@ -607,6 +723,10 @@ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganization
|
|
|
607
723
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
608
724
|
seasonId: number;
|
|
609
725
|
}
|
|
726
|
+
export declare class FindSessionEventByIdDto {
|
|
727
|
+
seasonId: number;
|
|
728
|
+
eventId: number;
|
|
729
|
+
}
|
|
610
730
|
export declare class DeleteProductDto {
|
|
611
731
|
deleteProduct?: boolean;
|
|
612
732
|
}
|
|
@@ -768,66 +888,141 @@ export declare class MoveParticipantDto {
|
|
|
768
888
|
resourceId: number;
|
|
769
889
|
invoiceId: number;
|
|
770
890
|
}
|
|
771
|
-
export declare class
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
facilityId: number;
|
|
775
|
-
childrenSlotIds: number[];
|
|
891
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
892
|
+
organizationId: number;
|
|
893
|
+
programType?: ProgramTypesEnum;
|
|
776
894
|
}
|
|
777
|
-
export declare class
|
|
895
|
+
export declare class FindProgramByIdDto {
|
|
896
|
+
programId: number;
|
|
778
897
|
}
|
|
779
|
-
export declare class
|
|
898
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
899
|
+
programId: number;
|
|
780
900
|
organizationId: number;
|
|
781
|
-
entitlementGroupId: number;
|
|
782
|
-
terms: IEntitlementTerms[];
|
|
783
901
|
}
|
|
784
|
-
export declare class
|
|
785
|
-
|
|
902
|
+
export declare class BaseProgramDto {
|
|
903
|
+
type: ProgramTypesEnum;
|
|
904
|
+
name: string;
|
|
905
|
+
sport: SportsEnum;
|
|
906
|
+
minAge: string;
|
|
907
|
+
maxAge: string;
|
|
908
|
+
gender: GenderEnum;
|
|
909
|
+
level?: LevelOfPlayEnum[];
|
|
910
|
+
description?: string;
|
|
911
|
+
GL?: string;
|
|
912
|
+
status: PublishingStatusEnum;
|
|
913
|
+
organizationId: number;
|
|
914
|
+
userCreatorId: number;
|
|
915
|
+
highlights: ProgramHighlights[];
|
|
916
|
+
longDescription?: string;
|
|
917
|
+
requiredProductIds: number[];
|
|
786
918
|
}
|
|
787
|
-
export declare class
|
|
788
|
-
user: any;
|
|
789
|
-
userVariables: IQuestionAnswerObject[];
|
|
919
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
790
920
|
}
|
|
791
|
-
export declare class
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
answers?: IQuestionAnswerObject[];
|
|
795
|
-
itemIds: number[];
|
|
796
|
-
itemType?: ResourceNameTypeEnum;
|
|
797
|
-
startDate?: Date;
|
|
921
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
922
|
+
programId: number;
|
|
923
|
+
mainMediaId: number;
|
|
798
924
|
}
|
|
799
|
-
export declare class
|
|
800
|
-
|
|
801
|
-
|
|
925
|
+
export declare class UpdateProgramStatusDto {
|
|
926
|
+
programId: number;
|
|
927
|
+
status: PublishingStatusEnum;
|
|
802
928
|
}
|
|
803
|
-
export declare class
|
|
804
|
-
|
|
929
|
+
export declare class ProgramHighlightDto {
|
|
930
|
+
data: string;
|
|
931
|
+
ordinal: number;
|
|
932
|
+
type: ProgramHighlightTypeEnum;
|
|
933
|
+
title: string;
|
|
805
934
|
}
|
|
806
|
-
export declare class
|
|
807
|
-
|
|
808
|
-
|
|
935
|
+
export declare class PurchasePaymentDto {
|
|
936
|
+
token: string;
|
|
937
|
+
type: PaymentMethodTypeEnum;
|
|
809
938
|
}
|
|
810
|
-
export declare class
|
|
811
|
-
|
|
939
|
+
export declare class ChargeRentalsReuqestDto {
|
|
940
|
+
organizationId: number;
|
|
941
|
+
userId?: number;
|
|
942
|
+
customerId?: number;
|
|
943
|
+
invoiceId: number;
|
|
944
|
+
paymentData: PurchasePaymentDto;
|
|
945
|
+
amountToPay: number;
|
|
946
|
+
total: number;
|
|
947
|
+
platform: PlatformsEnum;
|
|
948
|
+
shiftId?: number;
|
|
812
949
|
}
|
|
813
|
-
export declare class
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
950
|
+
export declare class PurchaseRequestDto {
|
|
951
|
+
purchasingUserId: number;
|
|
952
|
+
customerId?: number;
|
|
953
|
+
products: PurchaseProductDto[];
|
|
954
|
+
paymentData: PurchasePaymentDto;
|
|
955
|
+
answers: UserAnswersDto[];
|
|
956
|
+
amountToPay: number;
|
|
957
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
958
|
+
parentPurchasedId?: number;
|
|
959
|
+
isPartialPayment: boolean;
|
|
960
|
+
existingInvoiceToken?: string;
|
|
961
|
+
installments?: ScheduledPaymentDto[];
|
|
962
|
+
shiftId?: number;
|
|
963
|
+
invoiceId?: number;
|
|
964
|
+
platform?: PlatformsEnum;
|
|
820
965
|
}
|
|
821
|
-
export declare class ResourceDto {
|
|
822
|
-
|
|
966
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
967
|
+
}
|
|
968
|
+
export declare class PurchaseProductDto {
|
|
823
969
|
id: number;
|
|
970
|
+
resources?: PurchaseResourceDto[];
|
|
971
|
+
userId?: number;
|
|
972
|
+
paymentStatus?: PaymentStatusEnum;
|
|
973
|
+
amountToPay?: number;
|
|
974
|
+
ordinal?: number;
|
|
975
|
+
startDate?: Date;
|
|
976
|
+
quantity?: number;
|
|
824
977
|
}
|
|
825
|
-
export declare class
|
|
826
|
-
|
|
978
|
+
export declare class PartialPaymentRequestDto {
|
|
979
|
+
invoiceId: number;
|
|
980
|
+
amountToPay: number;
|
|
981
|
+
organizationId: number;
|
|
982
|
+
payingUserId: number;
|
|
983
|
+
paymentMethodData: PurchasePaymentDto;
|
|
984
|
+
shiftId?: number;
|
|
985
|
+
installmentId?: number;
|
|
827
986
|
}
|
|
828
|
-
export declare class
|
|
829
|
-
|
|
830
|
-
|
|
987
|
+
export declare class RedeemPunchCardRequestDto {
|
|
988
|
+
products: PurchaseProductDto[];
|
|
989
|
+
answersTitlesIds: number[];
|
|
990
|
+
organizationId: number;
|
|
991
|
+
purchasingUserId: number;
|
|
992
|
+
}
|
|
993
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
994
|
+
invoiceId: number;
|
|
995
|
+
}
|
|
996
|
+
export declare class AddItemsDto {
|
|
997
|
+
products: PurchaseProductDto[];
|
|
998
|
+
allocateResource: boolean;
|
|
999
|
+
skipMail: boolean;
|
|
1000
|
+
}
|
|
1001
|
+
export declare class PartialPaymentAsUserDto {
|
|
1002
|
+
invoiceId: any;
|
|
1003
|
+
organizationId: any;
|
|
1004
|
+
amountToPay: any;
|
|
1005
|
+
paymentMethodData: any;
|
|
1006
|
+
platform?: PlatformsEnum;
|
|
1007
|
+
}
|
|
1008
|
+
export declare class CreateResourceGroupDto {
|
|
1009
|
+
name: string;
|
|
1010
|
+
parentSlotId: number;
|
|
1011
|
+
facilityId: number;
|
|
1012
|
+
childrenSlotIds: number[];
|
|
1013
|
+
}
|
|
1014
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1015
|
+
}
|
|
1016
|
+
export declare class ResourceDto {
|
|
1017
|
+
type: ResourceNameTypeEnum;
|
|
1018
|
+
id: number;
|
|
1019
|
+
}
|
|
1020
|
+
export declare class SpaceByIdDto {
|
|
1021
|
+
spaceId: number;
|
|
1022
|
+
}
|
|
1023
|
+
export declare class CreateSpaceDto {
|
|
1024
|
+
name: string;
|
|
1025
|
+
sports: number[];
|
|
831
1026
|
description?: string;
|
|
832
1027
|
longDescription?: string;
|
|
833
1028
|
spaceType: ResourceSubTypeEnum;
|
|
@@ -878,28 +1073,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
878
1073
|
types?: string;
|
|
879
1074
|
resourcesIds?: string;
|
|
880
1075
|
}
|
|
881
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
882
|
-
entityType: ResourceNameTypeEnum;
|
|
883
|
-
entityId: number;
|
|
884
|
-
organizationId?: number;
|
|
885
|
-
userId?: number;
|
|
886
|
-
customerId?: number;
|
|
887
|
-
performingUserId: number;
|
|
888
|
-
description: string;
|
|
889
|
-
actionType: ActionTypesEnum;
|
|
890
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
891
|
-
oldValue?: any;
|
|
892
|
-
newValue?: any;
|
|
893
|
-
}
|
|
894
|
-
export declare class FindByUserIdDto {
|
|
895
|
-
userId: number;
|
|
896
|
-
}
|
|
897
|
-
export declare class FindByFamilyAccountIdDto {
|
|
898
|
-
familyAccountId?: number;
|
|
899
|
-
}
|
|
900
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
901
|
-
organizationId: number;
|
|
902
|
-
}
|
|
903
1076
|
export declare class StripeCustomerIdDto {
|
|
904
1077
|
userId: number;
|
|
905
1078
|
}
|
|
@@ -910,77 +1083,27 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
910
1083
|
publicToken: string;
|
|
911
1084
|
accountId: string;
|
|
912
1085
|
}
|
|
913
|
-
export declare class
|
|
914
|
-
|
|
915
|
-
type: PaymentMethodTypeEnum;
|
|
916
|
-
}
|
|
917
|
-
export declare class ChargeRentalsReuqestDto {
|
|
918
|
-
organizationId: number;
|
|
919
|
-
userId?: number;
|
|
920
|
-
customerId?: number;
|
|
921
|
-
invoiceId: number;
|
|
922
|
-
paymentData: PurchasePaymentDto;
|
|
923
|
-
amountToPay: number;
|
|
924
|
-
total: number;
|
|
925
|
-
platform: PlatformsEnum;
|
|
926
|
-
shiftId?: number;
|
|
927
|
-
}
|
|
928
|
-
export declare class PurchaseRequestDto {
|
|
929
|
-
purchasingUserId: number;
|
|
930
|
-
customerId?: number;
|
|
931
|
-
products: PurchaseProductDto[];
|
|
932
|
-
paymentData: PurchasePaymentDto;
|
|
933
|
-
answers: UserAnswersDto[];
|
|
934
|
-
amountToPay: number;
|
|
935
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
936
|
-
parentPurchasedId?: number;
|
|
937
|
-
isPartialPayment: boolean;
|
|
938
|
-
existingInvoiceToken?: string;
|
|
939
|
-
installments?: ScheduledPaymentDto[];
|
|
940
|
-
shiftId?: number;
|
|
941
|
-
invoiceId?: number;
|
|
942
|
-
platform?: PlatformsEnum;
|
|
943
|
-
}
|
|
944
|
-
export declare class PurchaseResourceDto extends ResourceDto {
|
|
945
|
-
}
|
|
946
|
-
export declare class PurchaseProductDto {
|
|
947
|
-
id: number;
|
|
948
|
-
resources?: PurchaseResourceDto[];
|
|
949
|
-
userId?: number;
|
|
950
|
-
paymentStatus?: PaymentStatusEnum;
|
|
951
|
-
amountToPay?: number;
|
|
952
|
-
ordinal?: number;
|
|
953
|
-
startDate?: Date;
|
|
954
|
-
quantity?: number;
|
|
1086
|
+
export declare class FindByUserIdDto {
|
|
1087
|
+
userId: number;
|
|
955
1088
|
}
|
|
956
|
-
export declare class
|
|
957
|
-
|
|
958
|
-
amountToPay: number;
|
|
959
|
-
organizationId: number;
|
|
960
|
-
payingUserId: number;
|
|
961
|
-
paymentMethodData: PurchasePaymentDto;
|
|
962
|
-
shiftId?: number;
|
|
1089
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1090
|
+
familyAccountId?: number;
|
|
963
1091
|
}
|
|
964
|
-
export declare class
|
|
965
|
-
products: PurchaseProductDto[];
|
|
966
|
-
answersTitlesIds: number[];
|
|
1092
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
967
1093
|
organizationId: number;
|
|
968
|
-
purchasingUserId: number;
|
|
969
|
-
}
|
|
970
|
-
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
971
|
-
invoiceId: number;
|
|
972
|
-
}
|
|
973
|
-
export declare class AddItemsDto {
|
|
974
|
-
products: PurchaseProductDto[];
|
|
975
|
-
allocateResource: boolean;
|
|
976
|
-
skipMail: boolean;
|
|
977
1094
|
}
|
|
978
|
-
export declare class
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1095
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1096
|
+
entityType: ResourceNameTypeEnum;
|
|
1097
|
+
entityId: number;
|
|
1098
|
+
organizationId?: number;
|
|
1099
|
+
userId?: number;
|
|
1100
|
+
customerId?: number;
|
|
1101
|
+
performingUserId: number;
|
|
1102
|
+
description: string;
|
|
1103
|
+
actionType: ActionTypesEnum;
|
|
1104
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1105
|
+
oldValue?: any;
|
|
1106
|
+
newValue?: any;
|
|
984
1107
|
}
|
|
985
1108
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
986
1109
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1035,67 +1158,6 @@ export declare class AthleteSports extends BondBaseEntity {
|
|
|
1035
1158
|
sports: number | null;
|
|
1036
1159
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1037
1160
|
}
|
|
1038
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
1039
|
-
membershipId: number;
|
|
1040
|
-
}
|
|
1041
|
-
export declare class ImportProductsFromDB {
|
|
1042
|
-
buDate: string;
|
|
1043
|
-
}
|
|
1044
|
-
export declare class ImportCustomerFromCSV {
|
|
1045
|
-
fileName: string;
|
|
1046
|
-
startIndex?: number;
|
|
1047
|
-
}
|
|
1048
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
1049
|
-
resolveInvoices: string;
|
|
1050
|
-
}
|
|
1051
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
1052
|
-
membershipId: number;
|
|
1053
|
-
onlyDashIds: string;
|
|
1054
|
-
}
|
|
1055
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
1056
|
-
facilityId: number;
|
|
1057
|
-
}
|
|
1058
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
1059
|
-
customerId: number;
|
|
1060
|
-
}
|
|
1061
|
-
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
1062
|
-
userId: number;
|
|
1063
|
-
}
|
|
1064
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
1065
|
-
nameSearch?: string;
|
|
1066
|
-
fuzzy?: string;
|
|
1067
|
-
customerType?: CustomerTypeEnum;
|
|
1068
|
-
customersIds?: string;
|
|
1069
|
-
}
|
|
1070
|
-
export declare class AddCustomerNotesDto {
|
|
1071
|
-
customerNotes: CustomerNoteDto[];
|
|
1072
|
-
}
|
|
1073
|
-
export declare class CustomerNoteDto {
|
|
1074
|
-
id?: number;
|
|
1075
|
-
description: string;
|
|
1076
|
-
pinToTop?: boolean;
|
|
1077
|
-
}
|
|
1078
|
-
export declare class AddEditCustomerDto {
|
|
1079
|
-
firstName?: string;
|
|
1080
|
-
lastName?: string;
|
|
1081
|
-
entityId?: number;
|
|
1082
|
-
entityType?: CustomerTypeEnum;
|
|
1083
|
-
email?: string;
|
|
1084
|
-
color?: string;
|
|
1085
|
-
street?: string;
|
|
1086
|
-
city?: string;
|
|
1087
|
-
state?: string;
|
|
1088
|
-
zip?: string;
|
|
1089
|
-
phoneNumber?: string;
|
|
1090
|
-
mainMediaId?: number;
|
|
1091
|
-
creatorId?: number;
|
|
1092
|
-
creatorType?: ResourceNameTypeEnum;
|
|
1093
|
-
userCreatorId?: number;
|
|
1094
|
-
gender?: GenderEnum;
|
|
1095
|
-
birthDate?: string;
|
|
1096
|
-
emergencyContactName?: string;
|
|
1097
|
-
emergencyContactPhone?: string;
|
|
1098
|
-
}
|
|
1099
1161
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1100
1162
|
entityType: ResourceNameTypeEnum;
|
|
1101
1163
|
entityId: number;
|
|
@@ -1104,24 +1166,29 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1104
1166
|
endDate: Date;
|
|
1105
1167
|
deletedAt?: Date;
|
|
1106
1168
|
}
|
|
1107
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1108
|
-
area: string;
|
|
1109
|
-
key: string;
|
|
1110
|
-
value: string;
|
|
1111
|
-
}
|
|
1112
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1113
|
-
creditAmount: number;
|
|
1114
|
-
paymentProcessorId: string;
|
|
1115
|
-
userId: number;
|
|
1116
|
-
paymentId: number;
|
|
1117
|
-
invoiceId: number;
|
|
1118
|
-
creditPaymentId: number;
|
|
1119
|
-
}
|
|
1120
1169
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1121
1170
|
id: number;
|
|
1122
1171
|
createdAt: Date;
|
|
1123
1172
|
updatedAt: Date;
|
|
1124
1173
|
}
|
|
1174
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1175
|
+
reservationId?: number;
|
|
1176
|
+
color?: string;
|
|
1177
|
+
creatorId?: number;
|
|
1178
|
+
creatorType?: string;
|
|
1179
|
+
startDate?: Date | moment.Moment;
|
|
1180
|
+
endDate?: Date | moment.Moment;
|
|
1181
|
+
timezone?: string;
|
|
1182
|
+
spaceId?: number;
|
|
1183
|
+
percentage?: number;
|
|
1184
|
+
status?: string;
|
|
1185
|
+
originalSessionId?: number;
|
|
1186
|
+
isFinal?: boolean;
|
|
1187
|
+
concurrent?: number;
|
|
1188
|
+
deletedAt?: Date;
|
|
1189
|
+
publicNotes?: string;
|
|
1190
|
+
slotType?: SlotTypeEnum;
|
|
1191
|
+
}
|
|
1125
1192
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1126
1193
|
parentId: number;
|
|
1127
1194
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1132,23 +1199,30 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1132
1199
|
endTimeInDay: string;
|
|
1133
1200
|
directBookingFor: DirectBookingTypesEnum;
|
|
1134
1201
|
}
|
|
1135
|
-
export declare class
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
paymentId?: number;
|
|
1140
|
-
invoiceId?: number;
|
|
1141
|
-
description?: string;
|
|
1142
|
-
deletedAt?: Date;
|
|
1143
|
-
customer: Customer;
|
|
1144
|
-
invoice: Invoice;
|
|
1145
|
-
payment: Payment;
|
|
1202
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1203
|
+
area: string;
|
|
1204
|
+
key: string;
|
|
1205
|
+
value: string;
|
|
1146
1206
|
}
|
|
1147
|
-
export declare class
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1207
|
+
export declare class Connection extends BondBaseEntity {
|
|
1208
|
+
connType: number | null;
|
|
1209
|
+
from: number | null;
|
|
1210
|
+
fromType: string | null;
|
|
1211
|
+
to: number | null;
|
|
1212
|
+
toType: string | null;
|
|
1213
|
+
status: number | null;
|
|
1214
|
+
creatorId: number | null;
|
|
1215
|
+
creatorType: string | null;
|
|
1216
|
+
userCreatorId: number | null;
|
|
1217
|
+
ownerId: number | null;
|
|
1218
|
+
}
|
|
1219
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1220
|
+
creditAmount: number;
|
|
1221
|
+
paymentProcessorId: string;
|
|
1222
|
+
userId: number;
|
|
1223
|
+
paymentId: number;
|
|
1224
|
+
invoiceId: number;
|
|
1225
|
+
creditPaymentId: number;
|
|
1152
1226
|
}
|
|
1153
1227
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1154
1228
|
name: string | null;
|
|
@@ -1178,6 +1252,24 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1178
1252
|
mainMedia: Media;
|
|
1179
1253
|
reservations?: Reservation[];
|
|
1180
1254
|
}
|
|
1255
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1256
|
+
customerId: number;
|
|
1257
|
+
userId: number;
|
|
1258
|
+
amount: number;
|
|
1259
|
+
paymentId?: number;
|
|
1260
|
+
invoiceId?: number;
|
|
1261
|
+
description?: string;
|
|
1262
|
+
deletedAt?: Date;
|
|
1263
|
+
customer: Customer;
|
|
1264
|
+
invoice: Invoice;
|
|
1265
|
+
payment: Payment;
|
|
1266
|
+
}
|
|
1267
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1268
|
+
customerId?: number;
|
|
1269
|
+
description: string;
|
|
1270
|
+
pinToTop?: boolean;
|
|
1271
|
+
customer: Customer;
|
|
1272
|
+
}
|
|
1181
1273
|
export declare class Division extends BondBaseEntity {
|
|
1182
1274
|
name: string;
|
|
1183
1275
|
ordinal?: number;
|
|
@@ -1186,24 +1278,19 @@ export declare class Division extends BondBaseEntity {
|
|
|
1186
1278
|
isDefault: boolean;
|
|
1187
1279
|
groups: Group[];
|
|
1188
1280
|
}
|
|
1189
|
-
export declare class Connection extends BondBaseEntity {
|
|
1190
|
-
connType: number | null;
|
|
1191
|
-
from: number | null;
|
|
1192
|
-
fromType: string | null;
|
|
1193
|
-
to: number | null;
|
|
1194
|
-
toType: string | null;
|
|
1195
|
-
status: number | null;
|
|
1196
|
-
creatorId: number | null;
|
|
1197
|
-
creatorType: string | null;
|
|
1198
|
-
userCreatorId: number | null;
|
|
1199
|
-
ownerId: number | null;
|
|
1200
|
-
}
|
|
1201
1281
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1202
1282
|
customerId: number;
|
|
1203
1283
|
name: string | null;
|
|
1204
1284
|
phoneNumber: string | null;
|
|
1205
1285
|
customer: Customer;
|
|
1206
1286
|
}
|
|
1287
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1288
|
+
name: string | null;
|
|
1289
|
+
}
|
|
1290
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1291
|
+
groupId: number;
|
|
1292
|
+
terms: IEntitlementTerms[];
|
|
1293
|
+
}
|
|
1207
1294
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1208
1295
|
status: RequestStatusEnum | null;
|
|
1209
1296
|
hasPaid: boolean | null;
|
|
@@ -1219,60 +1306,60 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1219
1306
|
event: Event;
|
|
1220
1307
|
purchasedResource: PurchasedResource;
|
|
1221
1308
|
}
|
|
1222
|
-
export declare class
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1309
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1310
|
+
constructor();
|
|
1311
|
+
defineCalculatedDateTimeProps(): void;
|
|
1312
|
+
title: string | null;
|
|
1313
|
+
description: string | null;
|
|
1314
|
+
eventType: number | null;
|
|
1315
|
+
startDate: Date | null;
|
|
1316
|
+
endDate: Date | null;
|
|
1317
|
+
price: number | null;
|
|
1318
|
+
venueName: string | null;
|
|
1319
|
+
status: EventStatusEnum;
|
|
1320
|
+
private: boolean | null;
|
|
1321
|
+
guestsCanInvite: boolean | null;
|
|
1322
|
+
venueId: number | null;
|
|
1323
|
+
addressId: number | null;
|
|
1324
|
+
participantsLimit: number | null;
|
|
1325
|
+
parentId: number | null;
|
|
1326
|
+
parentType: string | null;
|
|
1327
|
+
timezone: string | null;
|
|
1328
|
+
eventSubType: string | null;
|
|
1329
|
+
eventSubId: number | null;
|
|
1330
|
+
metaData: any | null;
|
|
1331
|
+
groupingId: string | null;
|
|
1332
|
+
redirectUri: string | null;
|
|
1333
|
+
externalId: string | null;
|
|
1334
|
+
paymentSettings: any | null;
|
|
1335
|
+
whoCanJoin: string | null;
|
|
1336
|
+
spaceId?: number;
|
|
1337
|
+
bookedSessionId: number | null;
|
|
1338
|
+
creatorId: number | null;
|
|
1339
|
+
creatorType: string | null;
|
|
1340
|
+
userCreatorId: number | null;
|
|
1341
|
+
ownerId: number | null;
|
|
1342
|
+
sports: number[] | null;
|
|
1343
|
+
isVerified: boolean | null;
|
|
1344
|
+
mainMediaId: number | null;
|
|
1345
|
+
minAge: number | null;
|
|
1346
|
+
maxAge: number | null;
|
|
1347
|
+
gender: number | null;
|
|
1348
|
+
questionnaireId: number | null;
|
|
1349
|
+
eventAttendees: EventAttendee[];
|
|
1350
|
+
deletedAt?: Date;
|
|
1351
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1352
|
+
startDateString: string;
|
|
1353
|
+
endDateString: string;
|
|
1354
|
+
startTime: string;
|
|
1355
|
+
endTime: string;
|
|
1356
|
+
publicNotes?: string;
|
|
1357
|
+
privateNotes?: string;
|
|
1358
|
+
productResources: ProductResource[];
|
|
1359
|
+
parentSession: ProgramSeason;
|
|
1360
|
+
activityTimes: ActivityTimes[];
|
|
1361
|
+
slots: Slot[];
|
|
1362
|
+
purchasedResources: PurchasedResource[];
|
|
1276
1363
|
}
|
|
1277
1364
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1278
1365
|
name: string;
|
|
@@ -1298,34 +1385,28 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1298
1385
|
programSeasons: ProgramSeason[];
|
|
1299
1386
|
linkSEO: string;
|
|
1300
1387
|
}
|
|
1301
|
-
export declare class
|
|
1302
|
-
|
|
1388
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1389
|
+
facilityId: number;
|
|
1390
|
+
resourceId: number;
|
|
1303
1391
|
}
|
|
1304
1392
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1305
1393
|
name: string | null;
|
|
1306
1394
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1307
1395
|
}
|
|
1396
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1397
|
+
userId: number;
|
|
1398
|
+
invoiceId: number;
|
|
1399
|
+
paymentMethodId: string;
|
|
1400
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1401
|
+
price: number;
|
|
1402
|
+
status: FutureInstallmentStatusEnum;
|
|
1403
|
+
plannedDate: Date;
|
|
1404
|
+
chargedAt?: Date;
|
|
1405
|
+
originalPlannedDate?: Date;
|
|
1406
|
+
}
|
|
1308
1407
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1309
1408
|
code: string;
|
|
1310
1409
|
}
|
|
1311
|
-
export declare class BookedSessions extends BondBaseEntity {
|
|
1312
|
-
reservationId?: number;
|
|
1313
|
-
color?: string;
|
|
1314
|
-
creatorId?: number;
|
|
1315
|
-
creatorType?: string;
|
|
1316
|
-
startDate?: Date | moment.Moment;
|
|
1317
|
-
endDate?: Date | moment.Moment;
|
|
1318
|
-
timezone?: string;
|
|
1319
|
-
spaceId?: number;
|
|
1320
|
-
percentage?: number;
|
|
1321
|
-
status?: string;
|
|
1322
|
-
originalSessionId?: number;
|
|
1323
|
-
isFinal?: boolean;
|
|
1324
|
-
concurrent?: number;
|
|
1325
|
-
deletedAt?: Date;
|
|
1326
|
-
publicNotes?: string;
|
|
1327
|
-
slotType?: SlotTypeEnum;
|
|
1328
|
-
}
|
|
1329
1410
|
export declare class Group extends BondBaseEntity {
|
|
1330
1411
|
name: string;
|
|
1331
1412
|
description?: string;
|
|
@@ -1360,6 +1441,30 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1360
1441
|
divisionId: number;
|
|
1361
1442
|
deletedAt?: Date;
|
|
1362
1443
|
}
|
|
1444
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1445
|
+
invoiceId: string | null;
|
|
1446
|
+
price: number | null;
|
|
1447
|
+
status: InvoiceStatusEnum | null;
|
|
1448
|
+
sentForClientDate: Date | null;
|
|
1449
|
+
payingUserId?: number | null;
|
|
1450
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1451
|
+
lineItems: LineItems[];
|
|
1452
|
+
lineItemHistory: LineItemHistory[];
|
|
1453
|
+
paymentStatus: PaymentStatusEnum;
|
|
1454
|
+
paymentMethodId?: string;
|
|
1455
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1456
|
+
paidAmount: number;
|
|
1457
|
+
currency: CurrencyEnum;
|
|
1458
|
+
mainPaymentId: number;
|
|
1459
|
+
isScheduled: boolean;
|
|
1460
|
+
isRefunded: boolean;
|
|
1461
|
+
isVoided: boolean;
|
|
1462
|
+
creatingUserId: number;
|
|
1463
|
+
shiftId: number;
|
|
1464
|
+
platform: PlatformsEnum;
|
|
1465
|
+
invoiceNotes: InvoiceNote[];
|
|
1466
|
+
slots: Slot[];
|
|
1467
|
+
}
|
|
1363
1468
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1364
1469
|
email: string;
|
|
1365
1470
|
status: EEmailStatus;
|
|
@@ -1380,69 +1485,22 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1380
1485
|
invoiceId: number;
|
|
1381
1486
|
invoice: Invoice;
|
|
1382
1487
|
}
|
|
1383
|
-
export declare class
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1488
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1489
|
+
invoiceId: number;
|
|
1490
|
+
paymentId: number;
|
|
1491
|
+
invoice: Invoice;
|
|
1492
|
+
payment: Payment;
|
|
1493
|
+
paidAmount?: number;
|
|
1494
|
+
currency: CurrencyEnum;
|
|
1495
|
+
}
|
|
1496
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1497
|
+
name: string | null;
|
|
1387
1498
|
description: string | null;
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
status: EventStatusEnum;
|
|
1394
|
-
private: boolean | null;
|
|
1395
|
-
guestsCanInvite: boolean | null;
|
|
1396
|
-
venueId: number | null;
|
|
1397
|
-
addressId: number | null;
|
|
1398
|
-
participantsLimit: number | null;
|
|
1399
|
-
parentId: number | null;
|
|
1400
|
-
parentType: string | null;
|
|
1401
|
-
timezone: string | null;
|
|
1402
|
-
eventSubType: string | null;
|
|
1403
|
-
eventSubId: number | null;
|
|
1404
|
-
metaData: any | null;
|
|
1405
|
-
groupingId: string | null;
|
|
1406
|
-
redirectUri: string | null;
|
|
1407
|
-
externalId: string | null;
|
|
1408
|
-
paymentSettings: any | null;
|
|
1409
|
-
whoCanJoin: string | null;
|
|
1410
|
-
spaceId?: number;
|
|
1411
|
-
bookedSessionId: number | null;
|
|
1412
|
-
creatorId: number | null;
|
|
1413
|
-
creatorType: string | null;
|
|
1414
|
-
userCreatorId: number | null;
|
|
1415
|
-
ownerId: number | null;
|
|
1416
|
-
sports: number[] | null;
|
|
1417
|
-
isVerified: boolean | null;
|
|
1418
|
-
mainMediaId: number | null;
|
|
1419
|
-
minAge: number | null;
|
|
1420
|
-
maxAge: number | null;
|
|
1421
|
-
gender: number | null;
|
|
1422
|
-
questionnaireId: number | null;
|
|
1423
|
-
eventAttendees: EventAttendee[];
|
|
1424
|
-
deletedAt?: Date;
|
|
1425
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1426
|
-
startDateString: string;
|
|
1427
|
-
endDateString: string;
|
|
1428
|
-
startTime: string;
|
|
1429
|
-
endTime: string;
|
|
1430
|
-
publicNotes?: string;
|
|
1431
|
-
privateNotes?: string;
|
|
1432
|
-
productResources: ProductResource[];
|
|
1433
|
-
parentSession: ProgramSeason;
|
|
1434
|
-
activityTimes: ActivityTimes[];
|
|
1435
|
-
slots: Slot[];
|
|
1436
|
-
purchasedResources: PurchasedResource[];
|
|
1437
|
-
}
|
|
1438
|
-
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1439
|
-
name: string | null;
|
|
1440
|
-
description: string | null;
|
|
1441
|
-
allowBookingRequest: boolean | null;
|
|
1442
|
-
addressName: string | null;
|
|
1443
|
-
shortDescription: string | null;
|
|
1444
|
-
waiverDoc: string | null;
|
|
1445
|
-
bookingStateStatus: number | null;
|
|
1499
|
+
allowBookingRequest: boolean | null;
|
|
1500
|
+
addressName: string | null;
|
|
1501
|
+
shortDescription: string | null;
|
|
1502
|
+
waiverDoc: string | null;
|
|
1503
|
+
bookingStateStatus: number | null;
|
|
1446
1504
|
timezone: string | null;
|
|
1447
1505
|
shortUrl: string | null;
|
|
1448
1506
|
leagueType: string | null;
|
|
@@ -1505,33 +1563,86 @@ export declare class LeagueSeasonRelations {
|
|
|
1505
1563
|
league?: boolean;
|
|
1506
1564
|
facilities?: boolean;
|
|
1507
1565
|
}
|
|
1508
|
-
export declare class
|
|
1509
|
-
membership: Membership;
|
|
1510
|
-
membershipId: number;
|
|
1511
|
-
productUserId: number;
|
|
1512
|
-
productUser?: ProductsUsers;
|
|
1513
|
-
userId: number;
|
|
1514
|
-
membershipType: MembershipTypeEnum;
|
|
1515
|
-
durationMonths?: number;
|
|
1516
|
-
startDate?: string;
|
|
1517
|
-
endDate?: string;
|
|
1518
|
-
renewalOfMemberId?: number;
|
|
1519
|
-
isAutoRenew?: boolean;
|
|
1520
|
-
nextPaymentMethodId?: string;
|
|
1521
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1522
|
-
answerTitleIds?: number[];
|
|
1523
|
-
cancelledAt?: Date | null;
|
|
1524
|
-
cancellationReason?: string;
|
|
1525
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1526
|
-
isImported?: boolean;
|
|
1527
|
-
}
|
|
1528
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1566
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1529
1567
|
invoiceId: number;
|
|
1530
1568
|
paymentId: number;
|
|
1531
|
-
|
|
1569
|
+
lineItemId: number;
|
|
1570
|
+
paidAmount: number;
|
|
1571
|
+
unitPaidAmount: number;
|
|
1572
|
+
currency: CurrencyEnum;
|
|
1532
1573
|
payment: Payment;
|
|
1574
|
+
lineItem: LineItems;
|
|
1575
|
+
}
|
|
1576
|
+
export declare class LineItems extends BondBaseEntity {
|
|
1577
|
+
constructor();
|
|
1578
|
+
defineIsReverted(): void;
|
|
1579
|
+
isReverted: boolean;
|
|
1580
|
+
invoiceId: number;
|
|
1581
|
+
invoice: Invoice;
|
|
1582
|
+
lineItemsHistory: LineItemHistory[];
|
|
1583
|
+
type: LineItemsStatusEnum | null;
|
|
1584
|
+
userId: number | null;
|
|
1585
|
+
productId: number;
|
|
1586
|
+
paymentProcessorId: string;
|
|
1587
|
+
productType: ProductTypesEnum;
|
|
1588
|
+
productUserId?: number;
|
|
1589
|
+
ordinal: number | null;
|
|
1590
|
+
entitlementGroupId?: number;
|
|
1591
|
+
entitlementGroups: EntitlementGroup;
|
|
1592
|
+
price: number;
|
|
1593
|
+
originalPrice?: number;
|
|
1533
1594
|
paidAmount?: number;
|
|
1595
|
+
totalPaid?: number;
|
|
1596
|
+
totalQuantity?: number;
|
|
1597
|
+
totalPrice?: number;
|
|
1534
1598
|
currency: CurrencyEnum;
|
|
1599
|
+
paymentStatus: PaymentStatusEnum;
|
|
1600
|
+
productSubType?: ProductSubTypesEnum;
|
|
1601
|
+
product: Product;
|
|
1602
|
+
organizationId: number;
|
|
1603
|
+
parentLineItemId?: number;
|
|
1604
|
+
taxLineItem?: LineItems;
|
|
1605
|
+
children?: LineItems[];
|
|
1606
|
+
previousPurchaseProducUserId?: number;
|
|
1607
|
+
discountDescription?: string;
|
|
1608
|
+
productUser?: ProductsUsers;
|
|
1609
|
+
resourceRedeemedForDiscount?: number;
|
|
1610
|
+
redeemableProduct: Product[];
|
|
1611
|
+
isRefunded: boolean;
|
|
1612
|
+
isPartiallyRefund: boolean;
|
|
1613
|
+
isVoided: boolean;
|
|
1614
|
+
isPartiallyVoided: boolean;
|
|
1615
|
+
wasReverted: boolean;
|
|
1616
|
+
isEdit: boolean;
|
|
1617
|
+
purchasedResources: PurchasedResource[];
|
|
1618
|
+
isTaxInclusive?: boolean;
|
|
1619
|
+
taxPrecent?: number;
|
|
1620
|
+
unitPrice?: number;
|
|
1621
|
+
quantity?: number;
|
|
1622
|
+
customerFirstName?: string;
|
|
1623
|
+
customerLastName?: string;
|
|
1624
|
+
displayFullPrice?: number;
|
|
1625
|
+
displayTotalPriceWithTax?: number;
|
|
1626
|
+
displayTotalPaid?: number;
|
|
1627
|
+
displayTotalQuantity?: number;
|
|
1628
|
+
displayUnitPrice?: number;
|
|
1629
|
+
displayQuantity?: number;
|
|
1630
|
+
}
|
|
1631
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1632
|
+
id: number;
|
|
1633
|
+
provider: string;
|
|
1634
|
+
providerId: string | null;
|
|
1635
|
+
parentId: number | null;
|
|
1636
|
+
parentType: string | null;
|
|
1637
|
+
status: number | null;
|
|
1638
|
+
token: string | null;
|
|
1639
|
+
refreshToken: string | null;
|
|
1640
|
+
tokenCreatedAt: Date | null;
|
|
1641
|
+
tokenValidUpTo: Date | null;
|
|
1642
|
+
createdAt: Date;
|
|
1643
|
+
updatedAt: Date;
|
|
1644
|
+
user: User;
|
|
1645
|
+
userId: number | null;
|
|
1535
1646
|
}
|
|
1536
1647
|
export declare class Media extends BondBaseEntity {
|
|
1537
1648
|
url: string;
|
|
@@ -1552,22 +1663,6 @@ export declare class Media extends BondBaseEntity {
|
|
|
1552
1663
|
programs: Program[];
|
|
1553
1664
|
memberships: Membership[];
|
|
1554
1665
|
}
|
|
1555
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1556
|
-
id: number;
|
|
1557
|
-
provider: string;
|
|
1558
|
-
providerId: string | null;
|
|
1559
|
-
parentId: number | null;
|
|
1560
|
-
parentType: string | null;
|
|
1561
|
-
status: number | null;
|
|
1562
|
-
token: string | null;
|
|
1563
|
-
refreshToken: string | null;
|
|
1564
|
-
tokenCreatedAt: Date | null;
|
|
1565
|
-
tokenValidUpTo: Date | null;
|
|
1566
|
-
createdAt: Date;
|
|
1567
|
-
updatedAt: Date;
|
|
1568
|
-
user: User;
|
|
1569
|
-
userId: number | null;
|
|
1570
|
-
}
|
|
1571
1666
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1572
1667
|
name: string;
|
|
1573
1668
|
description?: string;
|
|
@@ -1596,15 +1691,25 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1596
1691
|
isAutoRenew?: boolean;
|
|
1597
1692
|
purchasedResources: PurchasedResource[];
|
|
1598
1693
|
}
|
|
1599
|
-
export declare class
|
|
1694
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1695
|
+
membership: Membership;
|
|
1696
|
+
membershipId: number;
|
|
1697
|
+
productUserId: number;
|
|
1698
|
+
productUser?: ProductsUsers;
|
|
1600
1699
|
userId: number;
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1700
|
+
membershipType: MembershipTypeEnum;
|
|
1701
|
+
durationMonths?: number;
|
|
1702
|
+
startDate?: string;
|
|
1703
|
+
endDate?: string;
|
|
1704
|
+
renewalOfMemberId?: number;
|
|
1705
|
+
isAutoRenew?: boolean;
|
|
1706
|
+
nextPaymentMethodId?: string;
|
|
1707
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1708
|
+
answerTitleIds?: number[];
|
|
1709
|
+
cancelledAt?: Date | null;
|
|
1710
|
+
cancellationReason?: string;
|
|
1711
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1712
|
+
isImported?: boolean;
|
|
1608
1713
|
}
|
|
1609
1714
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1610
1715
|
email: string | null;
|
|
@@ -1612,61 +1717,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
|
|
|
1612
1717
|
resourceId: number | null;
|
|
1613
1718
|
resourceType: string | null;
|
|
1614
1719
|
}
|
|
1615
|
-
export declare class LineItems extends BondBaseEntity {
|
|
1616
|
-
constructor();
|
|
1617
|
-
defineIsReverted(): void;
|
|
1618
|
-
isReverted: boolean;
|
|
1619
|
-
invoiceId: number;
|
|
1620
|
-
invoice: Invoice;
|
|
1621
|
-
lineItemsHistory: LineItemHistory[];
|
|
1622
|
-
type: LineItemsStatusEnum | null;
|
|
1623
|
-
userId: number | null;
|
|
1624
|
-
productId: number;
|
|
1625
|
-
paymentProcessorId: string;
|
|
1626
|
-
productType: ProductTypesEnum;
|
|
1627
|
-
productUserId?: number;
|
|
1628
|
-
ordinal: number | null;
|
|
1629
|
-
entitlementGroupId?: number;
|
|
1630
|
-
entitlementGroups: EntitlementGroup;
|
|
1631
|
-
price: number;
|
|
1632
|
-
originalPrice?: number;
|
|
1633
|
-
paidAmount?: number;
|
|
1634
|
-
totalPaid?: number;
|
|
1635
|
-
totalQuantity?: number;
|
|
1636
|
-
totalPrice?: number;
|
|
1637
|
-
currency: CurrencyEnum;
|
|
1638
|
-
paymentStatus: PaymentStatusEnum;
|
|
1639
|
-
productSubType?: ProductSubTypesEnum;
|
|
1640
|
-
product: Product;
|
|
1641
|
-
organizationId: number;
|
|
1642
|
-
parentLineItemId?: number;
|
|
1643
|
-
taxLineItem?: LineItems;
|
|
1644
|
-
children?: LineItems[];
|
|
1645
|
-
previousPurchaseProducUserId?: number;
|
|
1646
|
-
discountDescription?: string;
|
|
1647
|
-
productUser?: ProductsUsers;
|
|
1648
|
-
resourceRedeemedForDiscount?: number;
|
|
1649
|
-
redeemableProduct: Product[];
|
|
1650
|
-
isRefunded: boolean;
|
|
1651
|
-
isPartiallyRefund: boolean;
|
|
1652
|
-
isVoided: boolean;
|
|
1653
|
-
isPartiallyVoided: boolean;
|
|
1654
|
-
wasReverted: boolean;
|
|
1655
|
-
isEdit: boolean;
|
|
1656
|
-
purchasedResources: PurchasedResource[];
|
|
1657
|
-
isTaxInclusive?: boolean;
|
|
1658
|
-
taxPrecent?: number;
|
|
1659
|
-
unitPrice?: number;
|
|
1660
|
-
quantity?: number;
|
|
1661
|
-
customerFirstName?: string;
|
|
1662
|
-
customerLastName?: string;
|
|
1663
|
-
displayFullPrice?: number;
|
|
1664
|
-
displayTotalPriceWithTax?: number;
|
|
1665
|
-
displayTotalPaid?: number;
|
|
1666
|
-
displayTotalQuantity?: number;
|
|
1667
|
-
displayUnitPrice?: number;
|
|
1668
|
-
displayQuantity?: number;
|
|
1669
|
-
}
|
|
1670
1720
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1671
1721
|
id: number;
|
|
1672
1722
|
dayOfWeek: number;
|
|
@@ -1678,37 +1728,83 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1678
1728
|
deletedAt?: Date;
|
|
1679
1729
|
facility: Facility;
|
|
1680
1730
|
}
|
|
1681
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1682
|
-
token: string | null;
|
|
1683
|
-
userId: number | null;
|
|
1684
|
-
validUntil: Date | null;
|
|
1685
|
-
active: boolean | null;
|
|
1686
|
-
}
|
|
1687
|
-
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1688
|
-
content: string;
|
|
1689
|
-
creatingUserId: number;
|
|
1690
|
-
user: User;
|
|
1691
|
-
isPublic: boolean;
|
|
1692
|
-
deletedAt: Date;
|
|
1693
|
-
paymentId: number;
|
|
1694
|
-
payment: Payment;
|
|
1695
|
-
}
|
|
1696
1731
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1697
1732
|
organizationId: number;
|
|
1698
1733
|
}
|
|
1699
|
-
export declare class
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1734
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1735
|
+
name?: string;
|
|
1736
|
+
description?: string;
|
|
1737
|
+
price: number;
|
|
1738
|
+
status: string;
|
|
1739
|
+
percentage: number;
|
|
1740
|
+
quantity: number;
|
|
1741
|
+
duration: number;
|
|
1742
|
+
organizationId: number;
|
|
1743
|
+
creatorId: number;
|
|
1744
|
+
creatorType: string;
|
|
1745
|
+
userCreatorId: number;
|
|
1746
|
+
ownerId: number;
|
|
1747
|
+
addon: boolean;
|
|
1748
|
+
isMandatory: boolean;
|
|
1749
|
+
productId: number;
|
|
1750
|
+
}
|
|
1751
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1752
|
+
token: string | null;
|
|
1753
|
+
userId: number | null;
|
|
1754
|
+
validUntil: Date | null;
|
|
1755
|
+
active: boolean | null;
|
|
1756
|
+
}
|
|
1757
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1758
|
+
price: number;
|
|
1759
|
+
paymentProcessorId: string;
|
|
1760
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1761
|
+
paymentStatus: PaymentStatusEnum;
|
|
1762
|
+
bondFee?: number;
|
|
1763
|
+
stripeFee?: number;
|
|
1764
|
+
currency: CurrencyEnum;
|
|
1765
|
+
payingUserId?: number;
|
|
1766
|
+
paymentMethodId?: string;
|
|
1767
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1768
|
+
fundLeft: number;
|
|
1769
|
+
notes?: string;
|
|
1770
|
+
isRefunded: boolean;
|
|
1771
|
+
lineItemHistory: LineItemHistory[];
|
|
1772
|
+
receiptUrl?: string;
|
|
1773
|
+
paymentProcessorTransactionId?: string;
|
|
1774
|
+
creatingUserId: number;
|
|
1775
|
+
shiftId: number;
|
|
1776
|
+
platform: PlatformsEnum;
|
|
1777
|
+
ccLast4: string;
|
|
1778
|
+
ccBrand: string;
|
|
1779
|
+
paymentNotes: PaymentNote[];
|
|
1780
|
+
parentInvoiceId?: number;
|
|
1781
|
+
refundReasonId?: number;
|
|
1782
|
+
refundNote?: string;
|
|
1783
|
+
}
|
|
1784
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1785
|
+
failureIndex: number;
|
|
1786
|
+
waitingDays: number;
|
|
1787
|
+
}
|
|
1788
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1789
|
+
paymentInstallmentId?: number;
|
|
1704
1790
|
invoiceId: number;
|
|
1791
|
+
reason: string;
|
|
1792
|
+
errorMessage: string;
|
|
1793
|
+
}
|
|
1794
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1795
|
+
content: string;
|
|
1796
|
+
creatingUserId: number;
|
|
1797
|
+
user: User;
|
|
1798
|
+
isPublic: boolean;
|
|
1799
|
+
deletedAt: Date;
|
|
1705
1800
|
paymentId: number;
|
|
1706
|
-
lineItemId: number;
|
|
1707
|
-
paidAmount: number;
|
|
1708
|
-
unitPaidAmount: number;
|
|
1709
|
-
currency: CurrencyEnum;
|
|
1710
1801
|
payment: Payment;
|
|
1711
|
-
|
|
1802
|
+
}
|
|
1803
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1804
|
+
paymentPlanId: number;
|
|
1805
|
+
paymentDate: Date;
|
|
1806
|
+
deletedAt?: Date;
|
|
1807
|
+
paymentPlan: ProductPaymentPlan;
|
|
1712
1808
|
}
|
|
1713
1809
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1714
1810
|
userId: number | null;
|
|
@@ -1745,23 +1841,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1745
1841
|
discountValue?: number;
|
|
1746
1842
|
taxIncludedPrice?: number;
|
|
1747
1843
|
}
|
|
1748
|
-
export declare class PackageV1 extends BondBaseEntity {
|
|
1749
|
-
name?: string;
|
|
1750
|
-
description?: string;
|
|
1751
|
-
price: number;
|
|
1752
|
-
status: string;
|
|
1753
|
-
percentage: number;
|
|
1754
|
-
quantity: number;
|
|
1755
|
-
duration: number;
|
|
1756
|
-
organizationId: number;
|
|
1757
|
-
creatorId: number;
|
|
1758
|
-
creatorType: string;
|
|
1759
|
-
userCreatorId: number;
|
|
1760
|
-
ownerId: number;
|
|
1761
|
-
addon: boolean;
|
|
1762
|
-
isMandatory: boolean;
|
|
1763
|
-
productId: number;
|
|
1764
|
-
}
|
|
1765
1844
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1766
1845
|
name: string;
|
|
1767
1846
|
quantity: number;
|
|
@@ -1812,6 +1891,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1812
1891
|
activityTimes: ActivityTimes[];
|
|
1813
1892
|
purchasedResources: PurchasedResource[];
|
|
1814
1893
|
}
|
|
1894
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1895
|
+
parentProductId: number;
|
|
1896
|
+
childProductId: number;
|
|
1897
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1898
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1899
|
+
deletedAt?: Date;
|
|
1900
|
+
productResource: ProductResource;
|
|
1901
|
+
childProduct: Product;
|
|
1902
|
+
parentProduct: Product;
|
|
1903
|
+
price: number;
|
|
1904
|
+
isFlatPrice: boolean;
|
|
1905
|
+
durationMinutes?: number;
|
|
1906
|
+
durationDays?: number;
|
|
1907
|
+
level?: ProductPackageLevelEnum;
|
|
1908
|
+
}
|
|
1815
1909
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1816
1910
|
productId: number;
|
|
1817
1911
|
maxMonths?: number;
|
|
@@ -1832,47 +1926,20 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1832
1926
|
productPackages: ProductPackage[];
|
|
1833
1927
|
resourceName?: string;
|
|
1834
1928
|
}
|
|
1835
|
-
export declare class
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1839
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1840
|
-
deletedAt?: Date;
|
|
1841
|
-
productResource: ProductResource;
|
|
1842
|
-
childProduct: Product;
|
|
1843
|
-
parentProduct: Product;
|
|
1844
|
-
price: number;
|
|
1845
|
-
isFlatPrice: boolean;
|
|
1846
|
-
durationMinutes?: number;
|
|
1847
|
-
durationDays?: number;
|
|
1848
|
-
level?: ProductPackageLevelEnum;
|
|
1929
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1930
|
+
productId: number;
|
|
1931
|
+
variantTitleId: number;
|
|
1849
1932
|
}
|
|
1850
|
-
export declare class
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1861
|
-
fundLeft: number;
|
|
1862
|
-
notes?: string;
|
|
1863
|
-
isRefunded: boolean;
|
|
1864
|
-
lineItemHistory: LineItemHistory[];
|
|
1865
|
-
receiptUrl?: string;
|
|
1866
|
-
paymentProcessorTransactionId?: string;
|
|
1867
|
-
creatingUserId: number;
|
|
1868
|
-
shiftId: number;
|
|
1869
|
-
platform: PlatformsEnum;
|
|
1870
|
-
ccLast4: string;
|
|
1871
|
-
ccBrand: string;
|
|
1872
|
-
paymentNotes: PaymentNote[];
|
|
1873
|
-
parentInvoiceId?: number;
|
|
1874
|
-
refundReasonId?: number;
|
|
1875
|
-
refundNote?: string;
|
|
1933
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1934
|
+
productId: number;
|
|
1935
|
+
variantId: number;
|
|
1936
|
+
}
|
|
1937
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1938
|
+
productId: number;
|
|
1939
|
+
customerId: number;
|
|
1940
|
+
customer: Customer;
|
|
1941
|
+
deletedAt?: Date;
|
|
1942
|
+
product: Product;
|
|
1876
1943
|
}
|
|
1877
1944
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1878
1945
|
productId: number;
|
|
@@ -1913,6 +1980,14 @@ export declare class Program extends BondBaseEntity {
|
|
|
1913
1980
|
programSeason: ProgramSeason[];
|
|
1914
1981
|
purchasedResources: PurchasedResource[];
|
|
1915
1982
|
}
|
|
1983
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1984
|
+
type: ProgramHighlightTypeEnum;
|
|
1985
|
+
ordinal: number | null;
|
|
1986
|
+
title: string | null;
|
|
1987
|
+
data: any | null;
|
|
1988
|
+
program: Program;
|
|
1989
|
+
deletedAt?: Date;
|
|
1990
|
+
}
|
|
1916
1991
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1917
1992
|
programId: number;
|
|
1918
1993
|
name: string;
|
|
@@ -1953,6 +2028,7 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1953
2028
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
1954
2029
|
program: Program;
|
|
1955
2030
|
spaces?: Resource[];
|
|
2031
|
+
reservationId?: number;
|
|
1956
2032
|
earlyRegistrationStartDate?: Date;
|
|
1957
2033
|
earlyRegistrationEndDate?: Date;
|
|
1958
2034
|
lateRegistrationStartDate?: Date;
|
|
@@ -1967,53 +2043,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1967
2043
|
facility: Facility;
|
|
1968
2044
|
purchasedResources: PurchasedResource[];
|
|
1969
2045
|
}
|
|
1970
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1971
|
-
productId: number;
|
|
1972
|
-
variantTitleId: number;
|
|
1973
|
-
}
|
|
1974
|
-
export declare class Invoice extends BondBaseEntity {
|
|
1975
|
-
invoiceId: string | null;
|
|
1976
|
-
price: number | null;
|
|
1977
|
-
status: InvoiceStatusEnum | null;
|
|
1978
|
-
sentForClientDate: Date | null;
|
|
1979
|
-
payingUserId?: number | null;
|
|
1980
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1981
|
-
lineItems: LineItems[];
|
|
1982
|
-
lineItemHistory: LineItemHistory[];
|
|
1983
|
-
paymentStatus: PaymentStatusEnum;
|
|
1984
|
-
paymentMethodId?: string;
|
|
1985
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1986
|
-
paidAmount: number;
|
|
1987
|
-
currency: CurrencyEnum;
|
|
1988
|
-
mainPaymentId: number;
|
|
1989
|
-
isScheduled: boolean;
|
|
1990
|
-
isRefunded: boolean;
|
|
1991
|
-
isVoided: boolean;
|
|
1992
|
-
creatingUserId: number;
|
|
1993
|
-
shiftId: number;
|
|
1994
|
-
platform: PlatformsEnum;
|
|
1995
|
-
invoiceNotes: InvoiceNote[];
|
|
1996
|
-
slots: Slot[];
|
|
1997
|
-
}
|
|
1998
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1999
|
-
title: string | null;
|
|
2000
|
-
answerTitle: AnswerTitle;
|
|
2001
|
-
}
|
|
2002
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2003
|
-
resourceType: ResourceNameTypeEnum;
|
|
2004
|
-
resourceId: number;
|
|
2005
|
-
openNumDays?: number;
|
|
2006
|
-
openNumMinutes?: number;
|
|
2007
|
-
openTime?: string;
|
|
2008
|
-
closeNumDays?: number;
|
|
2009
|
-
closeNumMinutes?: number;
|
|
2010
|
-
closeTime?: string;
|
|
2011
|
-
deletedAt?: Date;
|
|
2012
|
-
}
|
|
2013
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
2014
|
-
productId: number;
|
|
2015
|
-
variantId: number;
|
|
2016
|
-
}
|
|
2017
2046
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2018
2047
|
productUserId: number;
|
|
2019
2048
|
resourceId: number;
|
|
@@ -2036,39 +2065,40 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2036
2065
|
product?: Product;
|
|
2037
2066
|
event?: Event;
|
|
2038
2067
|
}
|
|
2039
|
-
export declare class
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
ages?: ResourceAgesEnum;
|
|
2057
|
-
deletedAt?: Date;
|
|
2058
|
-
activityTimes: ActivityTimes[];
|
|
2059
|
-
facilities: Facility[];
|
|
2060
|
-
slots?: Slot[];
|
|
2061
|
-
addons?: Addon[];
|
|
2062
|
-
facilityId: number;
|
|
2063
|
-
facility: Facility;
|
|
2064
|
-
purchasedResources: PurchasedResource[];
|
|
2065
|
-
linkSEO: string;
|
|
2068
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2069
|
+
title: string | null;
|
|
2070
|
+
answerTitle: AnswerTitle;
|
|
2071
|
+
}
|
|
2072
|
+
export declare class Questions extends BondBaseEntity {
|
|
2073
|
+
questionType: string | null;
|
|
2074
|
+
ordinal: number | null;
|
|
2075
|
+
pageOrdinal: number | null;
|
|
2076
|
+
isActive: boolean | null;
|
|
2077
|
+
isMandatory: boolean | null;
|
|
2078
|
+
metaData: any | null;
|
|
2079
|
+
question: string | null;
|
|
2080
|
+
creatorId: number | null;
|
|
2081
|
+
creatorType: string | null;
|
|
2082
|
+
userCreatorId: number | null;
|
|
2083
|
+
ownerId: number | null;
|
|
2084
|
+
questionnaireId: number | null;
|
|
2066
2085
|
}
|
|
2067
2086
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2068
2087
|
reason: string;
|
|
2069
2088
|
ordinal: number;
|
|
2070
2089
|
deletedAt: Date;
|
|
2071
2090
|
}
|
|
2091
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2092
|
+
resourceType: ResourceNameTypeEnum;
|
|
2093
|
+
resourceId: number;
|
|
2094
|
+
openNumDays?: number;
|
|
2095
|
+
openNumMinutes?: number;
|
|
2096
|
+
openTime?: string;
|
|
2097
|
+
closeNumDays?: number;
|
|
2098
|
+
closeNumMinutes?: number;
|
|
2099
|
+
closeTime?: string;
|
|
2100
|
+
deletedAt?: Date;
|
|
2101
|
+
}
|
|
2072
2102
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2073
2103
|
name?: string;
|
|
2074
2104
|
description?: string;
|
|
@@ -2101,12 +2131,39 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2101
2131
|
publicNotes?: string;
|
|
2102
2132
|
slots?: Slot[];
|
|
2103
2133
|
}
|
|
2104
|
-
export declare class
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2134
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2135
|
+
name: string;
|
|
2136
|
+
resourceType: ResourceTypeEnum;
|
|
2137
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2138
|
+
description?: string;
|
|
2139
|
+
longDescription?: string;
|
|
2140
|
+
surface?: SurfacesEnum;
|
|
2141
|
+
properties?: SpacePropertiesEnum[];
|
|
2142
|
+
mainMediaId?: number;
|
|
2143
|
+
mainMedia: Media;
|
|
2144
|
+
sports: SportsEnum[];
|
|
2145
|
+
width?: number;
|
|
2146
|
+
length?: number;
|
|
2147
|
+
amenities?: AmenitiesEnum[];
|
|
2148
|
+
parentSpaceId?: number;
|
|
2149
|
+
ordinal?: number;
|
|
2150
|
+
isAddOn: boolean;
|
|
2151
|
+
ages?: ResourceAgesEnum;
|
|
2152
|
+
deletedAt?: Date;
|
|
2153
|
+
activityTimes: ActivityTimes[];
|
|
2154
|
+
facilities: Facility[];
|
|
2155
|
+
slots?: Slot[];
|
|
2156
|
+
addons?: Addon[];
|
|
2157
|
+
facilityId: number;
|
|
2158
|
+
facility: Facility;
|
|
2159
|
+
purchasedResources: PurchasedResource[];
|
|
2160
|
+
linkSEO: string;
|
|
2161
|
+
}
|
|
2162
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2163
|
+
name: string;
|
|
2164
|
+
facilityId: number;
|
|
2165
|
+
parentSlotId: number;
|
|
2166
|
+
childrenSlotIds: number[];
|
|
2110
2167
|
deletedAt?: Date;
|
|
2111
2168
|
}
|
|
2112
2169
|
export declare class School extends BondBaseEntity {
|
|
@@ -2117,13 +2174,6 @@ export declare class School extends BondBaseEntity {
|
|
|
2117
2174
|
phone: string | null;
|
|
2118
2175
|
dataId: number | null;
|
|
2119
2176
|
}
|
|
2120
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2121
|
-
name: string;
|
|
2122
|
-
facilityId: number;
|
|
2123
|
-
parentSlotId: number;
|
|
2124
|
-
childrenSlotIds: number[];
|
|
2125
|
-
deletedAt?: Date;
|
|
2126
|
-
}
|
|
2127
2177
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2128
2178
|
status: RequestStatusEnum;
|
|
2129
2179
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2138,6 +2188,27 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2138
2188
|
deletedAt?: Date;
|
|
2139
2189
|
purchasedResource: PurchasedResource;
|
|
2140
2190
|
}
|
|
2191
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2192
|
+
name: string | null;
|
|
2193
|
+
ordinal: number | null;
|
|
2194
|
+
seasonId: number | null;
|
|
2195
|
+
color: string | null;
|
|
2196
|
+
}
|
|
2197
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2198
|
+
seasonId?: number;
|
|
2199
|
+
userId?: number;
|
|
2200
|
+
status?: number;
|
|
2201
|
+
entityId?: number;
|
|
2202
|
+
entityType?: string;
|
|
2203
|
+
groupId?: string;
|
|
2204
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2205
|
+
metadata?: any;
|
|
2206
|
+
paymentId?: number;
|
|
2207
|
+
externalAssign?: boolean;
|
|
2208
|
+
productUserId?: number;
|
|
2209
|
+
purchasedResource: PurchasedResource;
|
|
2210
|
+
season: LeagueSeason;
|
|
2211
|
+
}
|
|
2141
2212
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2142
2213
|
seasonId: number | null;
|
|
2143
2214
|
teamId: number | null;
|
|
@@ -2148,6 +2219,21 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2148
2219
|
metaData: any | null;
|
|
2149
2220
|
team: Team;
|
|
2150
2221
|
}
|
|
2222
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2223
|
+
blockingSpaceId: number;
|
|
2224
|
+
blockedSpaceId: number;
|
|
2225
|
+
}
|
|
2226
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2227
|
+
name: string;
|
|
2228
|
+
facilityId: number;
|
|
2229
|
+
processorTerminalId: string | null;
|
|
2230
|
+
terminaLabel: string | null;
|
|
2231
|
+
processorSerialNumber: string | null;
|
|
2232
|
+
currentOpenShift?: Shift;
|
|
2233
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2234
|
+
subcategories: Subcategory[];
|
|
2235
|
+
shifts?: Shift[];
|
|
2236
|
+
}
|
|
2151
2237
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2152
2238
|
stationId: number;
|
|
2153
2239
|
subcategoryId: number;
|
|
@@ -2164,26 +2250,6 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2164
2250
|
stationToSubcategories: StationToSubcategory[];
|
|
2165
2251
|
stations: Station[];
|
|
2166
2252
|
}
|
|
2167
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2168
|
-
teamId: number | null;
|
|
2169
|
-
userId: number | null;
|
|
2170
|
-
paymentId: number | null;
|
|
2171
|
-
hasPaid: boolean | null;
|
|
2172
|
-
status: TeamMemberStatusEnum | null;
|
|
2173
|
-
role: TeamMemberRoleEnum;
|
|
2174
|
-
user: User;
|
|
2175
|
-
}
|
|
2176
|
-
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2177
|
-
name: string;
|
|
2178
|
-
facilityId: number;
|
|
2179
|
-
processorTerminalId: string | null;
|
|
2180
|
-
terminaLabel: string | null;
|
|
2181
|
-
processorSerialNumber: string | null;
|
|
2182
|
-
currentOpenShift?: Shift;
|
|
2183
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2184
|
-
subcategories: Subcategory[];
|
|
2185
|
-
shifts?: Shift[];
|
|
2186
|
-
}
|
|
2187
2253
|
export declare class Team extends BondBaseEntity {
|
|
2188
2254
|
name: string | null;
|
|
2189
2255
|
description: string | null;
|
|
@@ -2218,6 +2284,24 @@ export declare class Team extends BondBaseEntity {
|
|
|
2218
2284
|
gender: number | null;
|
|
2219
2285
|
questionnaireId: number | null;
|
|
2220
2286
|
}
|
|
2287
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2288
|
+
email: string;
|
|
2289
|
+
teamId: number;
|
|
2290
|
+
invitedUserId?: number;
|
|
2291
|
+
userCreatorId: number;
|
|
2292
|
+
token: string;
|
|
2293
|
+
tokenExpirationDate: Date;
|
|
2294
|
+
isUsed: boolean;
|
|
2295
|
+
}
|
|
2296
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2297
|
+
teamId: number | null;
|
|
2298
|
+
userId: number | null;
|
|
2299
|
+
paymentId: number | null;
|
|
2300
|
+
hasPaid: boolean | null;
|
|
2301
|
+
status: TeamMemberStatusEnum | null;
|
|
2302
|
+
role: TeamMemberRoleEnum;
|
|
2303
|
+
user: User;
|
|
2304
|
+
}
|
|
2221
2305
|
export declare class User extends BondBaseEntity {
|
|
2222
2306
|
firstName: string | null;
|
|
2223
2307
|
lastName: string | null;
|
|
@@ -2257,60 +2341,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2257
2341
|
invoiceNotes: InvoiceNote[];
|
|
2258
2342
|
paymentNotes: PaymentNote[];
|
|
2259
2343
|
}
|
|
2260
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2261
|
-
email: string;
|
|
2262
|
-
teamId: number;
|
|
2263
|
-
invitedUserId?: number;
|
|
2264
|
-
userCreatorId: number;
|
|
2265
|
-
token: string;
|
|
2266
|
-
tokenExpirationDate: Date;
|
|
2267
|
-
isUsed: boolean;
|
|
2268
|
-
}
|
|
2269
|
-
export declare class Questions extends BondBaseEntity {
|
|
2270
|
-
questionType: string | null;
|
|
2271
|
-
ordinal: number | null;
|
|
2272
|
-
pageOrdinal: number | null;
|
|
2273
|
-
isActive: boolean | null;
|
|
2274
|
-
isMandatory: boolean | null;
|
|
2275
|
-
metaData: any | null;
|
|
2276
|
-
question: string | null;
|
|
2277
|
-
creatorId: number | null;
|
|
2278
|
-
creatorType: string | null;
|
|
2279
|
-
userCreatorId: number | null;
|
|
2280
|
-
ownerId: number | null;
|
|
2281
|
-
questionnaireId: number | null;
|
|
2282
|
-
}
|
|
2283
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2284
|
-
blockingSpaceId: number;
|
|
2285
|
-
blockedSpaceId: number;
|
|
2286
|
-
}
|
|
2287
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2288
|
-
groupId: number;
|
|
2289
|
-
userId: number;
|
|
2290
|
-
deletedAt?: Date;
|
|
2291
|
-
}
|
|
2292
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2293
|
-
name: string;
|
|
2294
|
-
variantTitleId: number;
|
|
2295
|
-
variantTitle: VariantTitle;
|
|
2296
|
-
deletedAt?: Date;
|
|
2297
|
-
}
|
|
2298
2344
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2299
2345
|
entityId: number | null;
|
|
2300
2346
|
userId: number | null;
|
|
2301
2347
|
entityType: UserAuthorizationsTypeEnum;
|
|
2302
2348
|
user: User;
|
|
2303
2349
|
}
|
|
2304
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2305
|
-
name: string | null;
|
|
2306
|
-
ordinal: number | null;
|
|
2307
|
-
seasonId: number | null;
|
|
2308
|
-
color: string | null;
|
|
2309
|
-
}
|
|
2310
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2311
|
-
name: string;
|
|
2312
|
-
variants: Variant[];
|
|
2313
|
-
}
|
|
2314
2350
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2315
2351
|
familyAccountId: number;
|
|
2316
2352
|
userId: number;
|
|
@@ -2319,6 +2355,29 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2319
2355
|
familyAccount: FamilyAccount;
|
|
2320
2356
|
deletedAt?: Date;
|
|
2321
2357
|
}
|
|
2358
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2359
|
+
userId: number;
|
|
2360
|
+
failCount: number;
|
|
2361
|
+
isDefault?: boolean;
|
|
2362
|
+
paymentMethodType: string;
|
|
2363
|
+
paymentMethodId: string;
|
|
2364
|
+
nextAllowedChargeDate?: Date;
|
|
2365
|
+
}
|
|
2366
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2367
|
+
groupId: number;
|
|
2368
|
+
userId: number;
|
|
2369
|
+
deletedAt?: Date;
|
|
2370
|
+
}
|
|
2371
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2372
|
+
name: string;
|
|
2373
|
+
variants: Variant[];
|
|
2374
|
+
}
|
|
2375
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2376
|
+
name: string;
|
|
2377
|
+
variantTitleId: number;
|
|
2378
|
+
variantTitle: VariantTitle;
|
|
2379
|
+
deletedAt?: Date;
|
|
2380
|
+
}
|
|
2322
2381
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2323
2382
|
projectToken: string;
|
|
2324
2383
|
programTypesCollectionId?: string;
|
|
@@ -2327,34 +2386,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2327
2386
|
membershipCollectionId?: string;
|
|
2328
2387
|
programsCollectionId?: string;
|
|
2329
2388
|
}
|
|
2330
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
2331
|
-
paymentPlanId: number;
|
|
2332
|
-
paymentDate: Date;
|
|
2333
|
-
deletedAt?: Date;
|
|
2334
|
-
paymentPlan: ProductPaymentPlan;
|
|
2335
|
-
}
|
|
2336
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2337
|
-
productId: number;
|
|
2338
|
-
customerId: number;
|
|
2339
|
-
customer: Customer;
|
|
2340
|
-
deletedAt?: Date;
|
|
2341
|
-
product: Product;
|
|
2342
|
-
}
|
|
2343
|
-
export declare class SeasonPool extends BondBaseEntity {
|
|
2344
|
-
seasonId?: number;
|
|
2345
|
-
userId?: number;
|
|
2346
|
-
status?: number;
|
|
2347
|
-
entityId?: number;
|
|
2348
|
-
entityType?: string;
|
|
2349
|
-
groupId?: string;
|
|
2350
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2351
|
-
metadata?: any;
|
|
2352
|
-
paymentId?: number;
|
|
2353
|
-
externalAssign?: boolean;
|
|
2354
|
-
productUserId?: number;
|
|
2355
|
-
purchasedResource: PurchasedResource;
|
|
2356
|
-
season: LeagueSeason;
|
|
2357
|
-
}
|
|
2358
2389
|
export declare enum EntitlementTermsTypesEnum {
|
|
2359
2390
|
QUESTION = "question",
|
|
2360
2391
|
CITY = "city",
|
|
@@ -3315,6 +3346,13 @@ export declare class ProductImportDto {
|
|
|
3315
3346
|
resourceIds: number[];
|
|
3316
3347
|
oldId: number;
|
|
3317
3348
|
}
|
|
3349
|
+
export declare class PunchPassDto {
|
|
3350
|
+
CustomerID: string;
|
|
3351
|
+
QuantityLeft: number;
|
|
3352
|
+
BondProgramID: number;
|
|
3353
|
+
BondSessionID: number;
|
|
3354
|
+
ProductID: number;
|
|
3355
|
+
}
|
|
3318
3356
|
export declare class ImportedSlotProductDto {
|
|
3319
3357
|
slotID?: string;
|
|
3320
3358
|
name?: string;
|
|
@@ -3366,26 +3404,10 @@ export declare class ImportedReservationDto {
|
|
|
3366
3404
|
slots?: ImportedSlotDto[];
|
|
3367
3405
|
addons?: ImportedSlotProductDto[];
|
|
3368
3406
|
}
|
|
3369
|
-
export declare class PunchPassDto {
|
|
3370
|
-
CustomerID: string;
|
|
3371
|
-
QuantityLeft: number;
|
|
3372
|
-
BondProgramID: number;
|
|
3373
|
-
BondSessionID: number;
|
|
3374
|
-
ProductID: number;
|
|
3375
|
-
}
|
|
3376
3407
|
export declare class GameSlots extends BondBaseEntity {
|
|
3377
3408
|
entityType: string;
|
|
3378
3409
|
entityId: number;
|
|
3379
3410
|
}
|
|
3380
|
-
export declare class Lock extends BondBaseEntity {
|
|
3381
|
-
name: string;
|
|
3382
|
-
locked?: Date;
|
|
3383
|
-
}
|
|
3384
|
-
export declare class Matches extends BondBaseEntity {
|
|
3385
|
-
eventId: number | null;
|
|
3386
|
-
status: number | null;
|
|
3387
|
-
excludeStandings: boolean | null;
|
|
3388
|
-
}
|
|
3389
3411
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3390
3412
|
matchId: number | null;
|
|
3391
3413
|
ordinal: number | null;
|
|
@@ -3395,30 +3417,33 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3395
3417
|
score: number | null;
|
|
3396
3418
|
gameSlotId: number | null;
|
|
3397
3419
|
}
|
|
3398
|
-
export declare class
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
roundId: number;
|
|
3420
|
+
export declare class Matches extends BondBaseEntity {
|
|
3421
|
+
eventId: number | null;
|
|
3422
|
+
status: number | null;
|
|
3423
|
+
excludeStandings: boolean | null;
|
|
3424
|
+
}
|
|
3425
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3426
|
+
roundId: number;
|
|
3406
3427
|
eventId: number;
|
|
3407
3428
|
seriesId: number | null;
|
|
3408
3429
|
createdAt: Date;
|
|
3409
3430
|
updatedAt: Date;
|
|
3410
3431
|
}
|
|
3411
|
-
export declare class
|
|
3412
|
-
|
|
3432
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3433
|
+
seasonId: number;
|
|
3434
|
+
ordinal?: number;
|
|
3435
|
+
divisionId?: number;
|
|
3413
3436
|
name: string;
|
|
3414
|
-
code: string;
|
|
3415
|
-
config: any;
|
|
3416
3437
|
}
|
|
3417
3438
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3418
3439
|
teamId: number | null;
|
|
3419
3440
|
eventId: number | null;
|
|
3420
3441
|
status: number | null;
|
|
3421
3442
|
}
|
|
3443
|
+
export declare class Lock extends BondBaseEntity {
|
|
3444
|
+
name: string;
|
|
3445
|
+
locked?: Date;
|
|
3446
|
+
}
|
|
3422
3447
|
export interface ValidatedMonthAndDay {
|
|
3423
3448
|
valid: boolean;
|
|
3424
3449
|
month?: number;
|
|
@@ -3428,11 +3453,6 @@ export interface ValidationReason {
|
|
|
3428
3453
|
valid: boolean;
|
|
3429
3454
|
reason?: string;
|
|
3430
3455
|
}
|
|
3431
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3432
|
-
facilityId: number;
|
|
3433
|
-
code: string;
|
|
3434
|
-
config?: any;
|
|
3435
|
-
}
|
|
3436
3456
|
export interface PaymentStatus {
|
|
3437
3457
|
parentId: number;
|
|
3438
3458
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3445,6 +3465,85 @@ export interface PaymentStatusesDict {
|
|
|
3445
3465
|
export interface PaymentStatusDict {
|
|
3446
3466
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3447
3467
|
}
|
|
3468
|
+
export declare class CreateMonitorConfigDto {
|
|
3469
|
+
facilityId: number;
|
|
3470
|
+
name: string;
|
|
3471
|
+
code: string;
|
|
3472
|
+
config: any;
|
|
3473
|
+
}
|
|
3474
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3475
|
+
facilityId: number;
|
|
3476
|
+
code: string;
|
|
3477
|
+
config?: any;
|
|
3478
|
+
}
|
|
3479
|
+
export declare class ByOrganizationIdDto {
|
|
3480
|
+
organizationId: number;
|
|
3481
|
+
}
|
|
3482
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3483
|
+
organizationId?: number;
|
|
3484
|
+
}
|
|
3485
|
+
export declare class Organization extends BondBaseEntity {
|
|
3486
|
+
name: string | null;
|
|
3487
|
+
email: string | null;
|
|
3488
|
+
twitter: string | null;
|
|
3489
|
+
facebook: string | null;
|
|
3490
|
+
instagram: string | null;
|
|
3491
|
+
website: string | null;
|
|
3492
|
+
blog: string | null;
|
|
3493
|
+
phoneNumber: string | null;
|
|
3494
|
+
waiverDoc: string | null;
|
|
3495
|
+
about: string | null;
|
|
3496
|
+
tagline: string | null;
|
|
3497
|
+
status: number | null;
|
|
3498
|
+
addressId: number | null;
|
|
3499
|
+
merchantId: number | null;
|
|
3500
|
+
userCreatorId: number | null;
|
|
3501
|
+
parentId: number | null;
|
|
3502
|
+
paymentSettings: object | null;
|
|
3503
|
+
settings: object | null;
|
|
3504
|
+
isClaimed: boolean | null;
|
|
3505
|
+
sports: number[] | null;
|
|
3506
|
+
mainMediaId: number | null;
|
|
3507
|
+
deletedAt: Date | null;
|
|
3508
|
+
organizationActivityTypes: number[] | null;
|
|
3509
|
+
organizationTypes: number[] | null;
|
|
3510
|
+
organizationAudienceTypes: number[] | null;
|
|
3511
|
+
organizationGenders: number[] | null;
|
|
3512
|
+
questionnaireId: number | null;
|
|
3513
|
+
membershipQuestionnaireId: number | null;
|
|
3514
|
+
feeRate: number;
|
|
3515
|
+
feeAddDollarRate: number;
|
|
3516
|
+
achFeeRate: number;
|
|
3517
|
+
achFeeAddDollarRate: number;
|
|
3518
|
+
maxAchFee: number;
|
|
3519
|
+
cashFeeRate: number;
|
|
3520
|
+
cashFeeAddDollarRate: number;
|
|
3521
|
+
terminalFeeRate: number;
|
|
3522
|
+
terminalFeeAddDollarRate: number;
|
|
3523
|
+
checkFeeRate: number;
|
|
3524
|
+
checkFeeAddDollarRate: number;
|
|
3525
|
+
otherFeeRate: number;
|
|
3526
|
+
otherFeeAddDollarRate: number;
|
|
3527
|
+
balanceFeeRate: number;
|
|
3528
|
+
balanceFeeAddDollarRate: number;
|
|
3529
|
+
address: Address;
|
|
3530
|
+
mainMedia: Media;
|
|
3531
|
+
brandings: OrganizationBranding[];
|
|
3532
|
+
brandingsV2?: OrganizationBranding[];
|
|
3533
|
+
}
|
|
3534
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3535
|
+
key?: string;
|
|
3536
|
+
vaule?: string;
|
|
3537
|
+
version: number;
|
|
3538
|
+
organization: Organization;
|
|
3539
|
+
}
|
|
3540
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3541
|
+
mainAdminUserId?: number;
|
|
3542
|
+
}
|
|
3543
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3544
|
+
organisationId: number | null;
|
|
3545
|
+
userId: number | null;
|
|
3546
|
+
}
|
|
3448
3547
|
export declare class CustomerIdDto {
|
|
3449
3548
|
customerId: number;
|
|
3450
3549
|
}
|
|
@@ -3473,6 +3572,12 @@ export declare class DiscountDto {
|
|
|
3473
3572
|
export declare class LineItemIdDto {
|
|
3474
3573
|
lineItemId: number;
|
|
3475
3574
|
}
|
|
3575
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3576
|
+
paymentType?: string;
|
|
3577
|
+
paymentStatus?: string;
|
|
3578
|
+
}
|
|
3579
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3580
|
+
}
|
|
3476
3581
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3477
3582
|
userId: number;
|
|
3478
3583
|
}
|
|
@@ -3483,6 +3588,7 @@ export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto
|
|
|
3483
3588
|
}
|
|
3484
3589
|
export declare class ScheduledPaymentDto {
|
|
3485
3590
|
plannedDate: Date;
|
|
3591
|
+
originalPlannedDate?: Date;
|
|
3486
3592
|
price: number;
|
|
3487
3593
|
}
|
|
3488
3594
|
export declare class FutureInstallmentsIdsDto {
|
|
@@ -3500,7 +3606,8 @@ export declare class PaymentIntentDto {
|
|
|
3500
3606
|
capture_method: string;
|
|
3501
3607
|
payment_method_types: string[];
|
|
3502
3608
|
organizationId: number;
|
|
3503
|
-
creatorId
|
|
3609
|
+
creatorId?: number;
|
|
3610
|
+
payment_method?: string;
|
|
3504
3611
|
}
|
|
3505
3612
|
export declare class PaymentDataDto {
|
|
3506
3613
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3553,16 +3660,6 @@ export declare class SendRequestDto {
|
|
|
3553
3660
|
sendToEmail: string;
|
|
3554
3661
|
memo?: string;
|
|
3555
3662
|
}
|
|
3556
|
-
export declare class VoidDto {
|
|
3557
|
-
lineItems: VoidLineItemDto[];
|
|
3558
|
-
meta?: RevertMetaDto;
|
|
3559
|
-
}
|
|
3560
|
-
export declare class VoidLineItemDto {
|
|
3561
|
-
id: number;
|
|
3562
|
-
quantity?: number;
|
|
3563
|
-
isEdit?: boolean;
|
|
3564
|
-
amount?: number;
|
|
3565
|
-
}
|
|
3566
3663
|
export declare class RefundDto {
|
|
3567
3664
|
invoiceId: number;
|
|
3568
3665
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -3585,6 +3682,16 @@ export declare class RefundLineItemAmountDto {
|
|
|
3585
3682
|
id: number;
|
|
3586
3683
|
refundAmount: number;
|
|
3587
3684
|
}
|
|
3685
|
+
export declare class VoidDto {
|
|
3686
|
+
lineItems: VoidLineItemDto[];
|
|
3687
|
+
meta?: RevertMetaDto;
|
|
3688
|
+
}
|
|
3689
|
+
export declare class VoidLineItemDto {
|
|
3690
|
+
id: number;
|
|
3691
|
+
quantity?: number;
|
|
3692
|
+
isEdit?: boolean;
|
|
3693
|
+
amount?: number;
|
|
3694
|
+
}
|
|
3588
3695
|
export interface PaymentResult {
|
|
3589
3696
|
paymentMethodId: string;
|
|
3590
3697
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3610,63 +3717,6 @@ export interface ExtendedLineItems {
|
|
|
3610
3717
|
products: LineItems[];
|
|
3611
3718
|
events: LineItems[];
|
|
3612
3719
|
}
|
|
3613
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3614
|
-
paymentType?: string;
|
|
3615
|
-
paymentStatus?: string;
|
|
3616
|
-
}
|
|
3617
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3618
|
-
id?: number;
|
|
3619
|
-
months?: string;
|
|
3620
|
-
}
|
|
3621
|
-
export declare class Organization extends BondBaseEntity {
|
|
3622
|
-
name: string | null;
|
|
3623
|
-
email: string | null;
|
|
3624
|
-
twitter: string | null;
|
|
3625
|
-
facebook: string | null;
|
|
3626
|
-
instagram: string | null;
|
|
3627
|
-
website: string | null;
|
|
3628
|
-
blog: string | null;
|
|
3629
|
-
phoneNumber: string | null;
|
|
3630
|
-
waiverDoc: string | null;
|
|
3631
|
-
about: string | null;
|
|
3632
|
-
tagline: string | null;
|
|
3633
|
-
status: number | null;
|
|
3634
|
-
addressId: number | null;
|
|
3635
|
-
merchantId: number | null;
|
|
3636
|
-
userCreatorId: number | null;
|
|
3637
|
-
parentId: number | null;
|
|
3638
|
-
paymentSettings: object | null;
|
|
3639
|
-
settings: object | null;
|
|
3640
|
-
isClaimed: boolean | null;
|
|
3641
|
-
sports: number[] | null;
|
|
3642
|
-
mainMediaId: number | null;
|
|
3643
|
-
deletedAt: Date | null;
|
|
3644
|
-
organizationActivityTypes: number[] | null;
|
|
3645
|
-
organizationTypes: number[] | null;
|
|
3646
|
-
organizationAudienceTypes: number[] | null;
|
|
3647
|
-
organizationGenders: number[] | null;
|
|
3648
|
-
questionnaireId: number | null;
|
|
3649
|
-
membershipQuestionnaireId: number | null;
|
|
3650
|
-
feeRate: number;
|
|
3651
|
-
feeAddDollarRate: number;
|
|
3652
|
-
achFeeRate: number;
|
|
3653
|
-
achFeeAddDollarRate: number;
|
|
3654
|
-
maxAchFee: number;
|
|
3655
|
-
cashFeeRate: number;
|
|
3656
|
-
cashFeeAddDollarRate: number;
|
|
3657
|
-
terminalFeeRate: number;
|
|
3658
|
-
terminalFeeAddDollarRate: number;
|
|
3659
|
-
checkFeeRate: number;
|
|
3660
|
-
checkFeeAddDollarRate: number;
|
|
3661
|
-
otherFeeRate: number;
|
|
3662
|
-
otherFeeAddDollarRate: number;
|
|
3663
|
-
balanceFeeRate: number;
|
|
3664
|
-
balanceFeeAddDollarRate: number;
|
|
3665
|
-
address: Address;
|
|
3666
|
-
mainMedia: Media;
|
|
3667
|
-
brandings: OrganizationBranding[];
|
|
3668
|
-
brandingsV2?: OrganizationBranding[];
|
|
3669
|
-
}
|
|
3670
3720
|
export interface RefundResult extends PaymentsResults {
|
|
3671
3721
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3672
3722
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3677,133 +3727,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3677
3727
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3678
3728
|
totalAmountProcessed: number;
|
|
3679
3729
|
}
|
|
3680
|
-
export declare class ByOrganizationIdDto {
|
|
3681
|
-
organizationId: number;
|
|
3682
|
-
}
|
|
3683
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3684
|
-
organizationId?: number;
|
|
3685
|
-
}
|
|
3686
|
-
export declare class ChangeRolePermissionsDto {
|
|
3687
|
-
permissionIds: number[];
|
|
3688
|
-
}
|
|
3689
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3690
|
-
key?: string;
|
|
3691
|
-
vaule?: string;
|
|
3692
|
-
version: number;
|
|
3693
|
-
organization: Organization;
|
|
3694
|
-
}
|
|
3695
|
-
export declare class CreateRoleDto {
|
|
3696
|
-
name: string;
|
|
3697
|
-
}
|
|
3698
|
-
export declare class Permission extends BondBaseEntity {
|
|
3699
|
-
name: string;
|
|
3700
|
-
deletedAt?: Date;
|
|
3701
|
-
}
|
|
3702
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3703
|
-
name: string;
|
|
3704
|
-
deletedAt?: Date;
|
|
3705
|
-
permissions: Permission[];
|
|
3706
|
-
usersRoles: UserRole[];
|
|
3707
|
-
}
|
|
3708
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3709
|
-
deletedAt?: Date;
|
|
3710
|
-
userId: number;
|
|
3711
|
-
roleId: number;
|
|
3712
|
-
role: Role;
|
|
3713
|
-
user: User;
|
|
3714
|
-
}
|
|
3715
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3716
|
-
deletedAt?: Date;
|
|
3717
|
-
reservationId: number;
|
|
3718
|
-
invoiceId: number;
|
|
3719
|
-
slotId: number;
|
|
3720
|
-
}
|
|
3721
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3722
|
-
parentId: number;
|
|
3723
|
-
parentType: AddonParentTypeEnum;
|
|
3724
|
-
productId: number;
|
|
3725
|
-
product?: Product;
|
|
3726
|
-
quantity: number;
|
|
3727
|
-
unitPrice: number;
|
|
3728
|
-
totalPrice: number;
|
|
3729
|
-
approvalStatus: ReservationStatusEnum;
|
|
3730
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3731
|
-
level?: ProductPackageLevelEnum;
|
|
3732
|
-
resourceId?: number;
|
|
3733
|
-
resource?: Resource;
|
|
3734
|
-
invoiceId?: number;
|
|
3735
|
-
invoice?: Invoice;
|
|
3736
|
-
productUserId?: number;
|
|
3737
|
-
productUser?: ProductsUsers;
|
|
3738
|
-
previousProductUsersIds?: number[];
|
|
3739
|
-
previousProductUsers?: ProductsUsers[];
|
|
3740
|
-
}
|
|
3741
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3742
|
-
name?: string;
|
|
3743
|
-
description?: string;
|
|
3744
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3745
|
-
privacySetting?: string;
|
|
3746
|
-
reservationType?: ReservationTypeEnum;
|
|
3747
|
-
invoiceId?: string;
|
|
3748
|
-
customerId?: number;
|
|
3749
|
-
customer?: Customer;
|
|
3750
|
-
price?: number;
|
|
3751
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3752
|
-
startTime?: string;
|
|
3753
|
-
startDate?: Date;
|
|
3754
|
-
endDate?: Date;
|
|
3755
|
-
creatorId?: number;
|
|
3756
|
-
creatorType?: ResourceNameTypeEnum;
|
|
3757
|
-
userCreatorId?: number;
|
|
3758
|
-
sportType?: number;
|
|
3759
|
-
deletedAt?: Date;
|
|
3760
|
-
publicNotes?: string;
|
|
3761
|
-
privateNotes?: string;
|
|
3762
|
-
forms?: number[] | null;
|
|
3763
|
-
answerTitleIds?: number[] | null;
|
|
3764
|
-
segments?: Segment[];
|
|
3765
|
-
migrationStatus?: string;
|
|
3766
|
-
addons: Addon[];
|
|
3767
|
-
overrideProductsPrice: {
|
|
3768
|
-
productId: number;
|
|
3769
|
-
price: number;
|
|
3770
|
-
}[];
|
|
3771
|
-
targetGlobalPrice?: number;
|
|
3772
|
-
slots: Slot[];
|
|
3773
|
-
}
|
|
3774
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3775
|
-
deletedAt?: Date;
|
|
3776
|
-
reservationId: number;
|
|
3777
|
-
title: string;
|
|
3778
|
-
isPrivate: boolean;
|
|
3779
|
-
resourceIds?: number[];
|
|
3780
|
-
sportId: number;
|
|
3781
|
-
reservation?: Reservation;
|
|
3782
|
-
series?: Series[];
|
|
3783
|
-
addonIds?: number[] | null;
|
|
3784
|
-
publicNotesForSlots?: string;
|
|
3785
|
-
privateNotesForSlots?: string;
|
|
3786
|
-
slots?: Slot[];
|
|
3787
|
-
}
|
|
3788
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
3789
|
-
deletedAt?: Date;
|
|
3790
|
-
segmentId: number;
|
|
3791
|
-
segment?: Segment;
|
|
3792
|
-
slots?: Slot[];
|
|
3793
|
-
slotDurationType: string;
|
|
3794
|
-
durationEndsAfter: number;
|
|
3795
|
-
durationUnit: string;
|
|
3796
|
-
startDate?: Date;
|
|
3797
|
-
endDate?: Date;
|
|
3798
|
-
startTime: string;
|
|
3799
|
-
endTime: string;
|
|
3800
|
-
frequency: string;
|
|
3801
|
-
repeatEvery: number;
|
|
3802
|
-
repeatOn?: number[];
|
|
3803
|
-
repeatEndDate?: Date;
|
|
3804
|
-
numberOccurrences?: number;
|
|
3805
|
-
resources?: Resource[];
|
|
3806
|
-
}
|
|
3807
3730
|
export declare class AddonDto extends ProductPricesDto {
|
|
3808
3731
|
id?: number;
|
|
3809
3732
|
}
|
|
@@ -3835,100 +3758,34 @@ export declare class InvoiceDto {
|
|
|
3835
3758
|
creatingUserId?: number;
|
|
3836
3759
|
platform?: PlatformsEnum;
|
|
3837
3760
|
}
|
|
3838
|
-
export declare class BaseInvoiceDto {
|
|
3839
|
-
platform: PlatformsEnum;
|
|
3840
|
-
shiftId?: number;
|
|
3841
|
-
}
|
|
3842
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3843
|
-
purchasingUserId: number;
|
|
3844
|
-
slots: number[];
|
|
3845
|
-
}
|
|
3846
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3847
|
-
reservationTotalPrice: number;
|
|
3848
|
-
}
|
|
3849
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3850
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3851
|
-
addToInvoiceId?: number;
|
|
3852
|
-
}
|
|
3853
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3854
|
-
isInvoiced: boolean;
|
|
3855
|
-
}
|
|
3856
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3857
|
-
slotsIds?: number[];
|
|
3858
|
-
addonsIds?: number[];
|
|
3859
|
-
}
|
|
3860
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3861
|
-
slots: SlotDto[];
|
|
3862
|
-
}
|
|
3863
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3864
|
-
segments: SegmentDto[];
|
|
3865
|
-
}
|
|
3866
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3867
|
-
constructor();
|
|
3868
|
-
defineIsReverted(): void;
|
|
3869
|
-
isReverted: boolean;
|
|
3870
|
-
reservationId: number;
|
|
3871
|
-
reservation: Reservation;
|
|
3872
|
-
title?: string;
|
|
3873
|
-
creatorId?: number;
|
|
3874
|
-
creatorType?: string;
|
|
3875
|
-
userCreatorId?: number;
|
|
3876
|
-
startDate: Date;
|
|
3877
|
-
endDate: Date;
|
|
3878
|
-
startTime: string;
|
|
3879
|
-
endTime: string;
|
|
3880
|
-
timezone?: string;
|
|
3881
|
-
spaceId?: number;
|
|
3882
|
-
resource?: Resource;
|
|
3883
|
-
deletedAt?: Date;
|
|
3884
|
-
publicNotes?: string;
|
|
3885
|
-
privateNotes?: string;
|
|
3886
|
-
slotType: SlotTypeEnum;
|
|
3887
|
-
productsUserId?: number;
|
|
3888
|
-
productUser?: ProductsUsers;
|
|
3889
|
-
product?: Product;
|
|
3890
|
-
addonsProductUserIds?: number[] | null;
|
|
3891
|
-
addonsProductUsers?: ProductsUsers[];
|
|
3892
|
-
addonProducts?: Product[];
|
|
3893
|
-
addonsMetadata: AddonMetadata[];
|
|
3894
|
-
segmentId: number;
|
|
3895
|
-
segment: Segment;
|
|
3896
|
-
eventId: number;
|
|
3897
|
-
event: Event;
|
|
3898
|
-
sportIds: number[];
|
|
3899
|
-
parentSlotId?: number;
|
|
3900
|
-
parent?: Slot;
|
|
3901
|
-
children?: Slot[];
|
|
3902
|
-
maintenanceDurationdurationType: string;
|
|
3903
|
-
maintenanceTiming: number;
|
|
3904
|
-
durationValue: number;
|
|
3905
|
-
seriesId?: number;
|
|
3906
|
-
series?: Series;
|
|
3907
|
-
invoiceId?: number;
|
|
3908
|
-
invoice?: Invoice;
|
|
3909
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3910
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3911
|
-
displayName?: string;
|
|
3912
|
-
internalName?: string;
|
|
3913
|
-
activityTypes?: number[] | null;
|
|
3914
|
-
hourlyRate: number;
|
|
3915
|
-
totalPrice: number;
|
|
3916
|
-
isConsumerVisible: boolean;
|
|
3917
|
-
isMonitorVisible: boolean;
|
|
3918
|
-
isPrivate: boolean;
|
|
3919
|
-
occurrence?: number;
|
|
3920
|
-
maintenance?: Slot[];
|
|
3921
|
-
productMetadata: {
|
|
3922
|
-
productId: number;
|
|
3923
|
-
price: number;
|
|
3924
|
-
};
|
|
3925
|
-
slotDurationType: string;
|
|
3926
|
-
changeLineItemIds?: number[];
|
|
3927
|
-
changeLineItems?: LineItems[];
|
|
3928
|
-
updatedLineItem?: LineItems;
|
|
3929
|
-
conflictsCount?: number;
|
|
3930
|
-
conflicts?: Slot[];
|
|
3931
|
-
}
|
|
3761
|
+
export declare class BaseInvoiceDto {
|
|
3762
|
+
platform: PlatformsEnum;
|
|
3763
|
+
shiftId?: number;
|
|
3764
|
+
}
|
|
3765
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3766
|
+
purchasingUserId: number;
|
|
3767
|
+
slots: number[];
|
|
3768
|
+
}
|
|
3769
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3770
|
+
reservationTotalPrice: number;
|
|
3771
|
+
}
|
|
3772
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3773
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3774
|
+
addToInvoiceId?: number;
|
|
3775
|
+
}
|
|
3776
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3777
|
+
isInvoiced: boolean;
|
|
3778
|
+
}
|
|
3779
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3780
|
+
slotsIds?: number[];
|
|
3781
|
+
addonsIds?: number[];
|
|
3782
|
+
}
|
|
3783
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3784
|
+
slots: SlotDto[];
|
|
3785
|
+
}
|
|
3786
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3787
|
+
segments: SegmentDto[];
|
|
3788
|
+
}
|
|
3932
3789
|
export declare class LineItemDto {
|
|
3933
3790
|
id?: number;
|
|
3934
3791
|
invoiceId?: number;
|
|
@@ -3955,16 +3812,12 @@ export declare class LineItemDto {
|
|
|
3955
3812
|
unitTaxPrice?: number;
|
|
3956
3813
|
parentOrdinal?: number;
|
|
3957
3814
|
}
|
|
3958
|
-
export declare class
|
|
3815
|
+
export declare class MaintenanceDto {
|
|
3959
3816
|
id?: number;
|
|
3960
3817
|
title: string;
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
series: SeriesDto[];
|
|
3965
|
-
addonIds?: number[];
|
|
3966
|
-
publicNotesForSlots?: string;
|
|
3967
|
-
privateNotesForSlots?: string;
|
|
3818
|
+
durationValue: number;
|
|
3819
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3820
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3968
3821
|
}
|
|
3969
3822
|
export declare class PurchasedResourceDto {
|
|
3970
3823
|
resourceId?: number;
|
|
@@ -4118,66 +3971,306 @@ export declare class EditReservationDetailsDto {
|
|
|
4118
3971
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4119
3972
|
updateAddons?: boolean;
|
|
4120
3973
|
}
|
|
4121
|
-
export declare class
|
|
4122
|
-
id?: number;
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
3974
|
+
export declare class SegmentDto {
|
|
3975
|
+
id?: number;
|
|
3976
|
+
title: string;
|
|
3977
|
+
isPrivate: boolean;
|
|
3978
|
+
resourceIds: number[];
|
|
3979
|
+
sportId?: number;
|
|
3980
|
+
series: SeriesDto[];
|
|
3981
|
+
addonIds?: number[];
|
|
3982
|
+
publicNotesForSlots?: string;
|
|
3983
|
+
privateNotesForSlots?: string;
|
|
3984
|
+
}
|
|
3985
|
+
export declare class SeriesDto {
|
|
3986
|
+
id?: number;
|
|
3987
|
+
startDate: string;
|
|
3988
|
+
startTime?: string;
|
|
3989
|
+
endDate?: string;
|
|
3990
|
+
endTime?: string;
|
|
3991
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3992
|
+
durationEndsAfter?: number;
|
|
3993
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3994
|
+
frequency: FrequencyEnum;
|
|
3995
|
+
repeatEvery?: number;
|
|
3996
|
+
repeatOn?: number[];
|
|
3997
|
+
repeatEndDate?: string;
|
|
3998
|
+
numberOccurrences?: number;
|
|
3999
|
+
maintenance?: MaintenanceDto[];
|
|
4000
|
+
slots?: SlotDto[];
|
|
4001
|
+
}
|
|
4002
|
+
export declare class SlotDateTimeAndSpace {
|
|
4003
|
+
startDate: string;
|
|
4004
|
+
startTime?: string;
|
|
4005
|
+
endDate?: string;
|
|
4006
|
+
endTime?: string;
|
|
4007
|
+
spaceId: number;
|
|
4008
|
+
}
|
|
4009
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4010
|
+
id?: number;
|
|
4011
|
+
reservationId?: number;
|
|
4012
|
+
occurrence?: number;
|
|
4013
|
+
title: string;
|
|
4014
|
+
creatorId?: number;
|
|
4015
|
+
creatorType?: string;
|
|
4016
|
+
userCreatorId?: number;
|
|
4017
|
+
timezone?: string;
|
|
4018
|
+
publicNotes?: string;
|
|
4019
|
+
privateNotes?: string;
|
|
4020
|
+
slotType: SlotTypeEnum;
|
|
4021
|
+
product?: Product;
|
|
4022
|
+
priceOverrideMeta?: {
|
|
4023
|
+
unitPrice: number;
|
|
4024
|
+
quantity: number;
|
|
4025
|
+
totalPrice: number;
|
|
4026
|
+
};
|
|
4027
|
+
addonPriceOverrideMeta?: {
|
|
4028
|
+
[addonProductId: number]: {
|
|
4029
|
+
unitPrice: number;
|
|
4030
|
+
quantity: number;
|
|
4031
|
+
totalPrice: number;
|
|
4032
|
+
};
|
|
4033
|
+
};
|
|
4034
|
+
addonProducts?: Product[];
|
|
4035
|
+
addonCalculatedPrice?: {
|
|
4036
|
+
productId: number;
|
|
4037
|
+
quantity: number;
|
|
4038
|
+
unitPrice: number;
|
|
4039
|
+
totalPrice: number;
|
|
4040
|
+
displayTotalWithTax?: number;
|
|
4041
|
+
displayUnitTax?: number;
|
|
4042
|
+
}[];
|
|
4043
|
+
addonsProductUserIds?: number[];
|
|
4044
|
+
segmentId?: number;
|
|
4045
|
+
seriesId?: number;
|
|
4046
|
+
eventId?: number;
|
|
4047
|
+
sportIds: number[];
|
|
4048
|
+
parentSlotId?: number;
|
|
4049
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4050
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4051
|
+
durationValue?: number;
|
|
4052
|
+
invoicId?: number;
|
|
4053
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4054
|
+
approvalStatus: ReservationStatusEnum;
|
|
4055
|
+
displayName?: string;
|
|
4056
|
+
internalName?: string;
|
|
4057
|
+
totalPrice?: number;
|
|
4058
|
+
relevantProducts?: Product[];
|
|
4059
|
+
maintenance?: MaintenanceDto[];
|
|
4060
|
+
maintenanceSlots?: SlotDto[];
|
|
4061
|
+
isPrivate: boolean;
|
|
4062
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4063
|
+
addonsIds?: number[];
|
|
4064
|
+
}
|
|
4065
|
+
export declare class TimeSlotDto {
|
|
4066
|
+
id?: number;
|
|
4067
|
+
resourceId: number;
|
|
4068
|
+
startDate: string;
|
|
4069
|
+
startTime: string;
|
|
4070
|
+
endDate: string;
|
|
4071
|
+
endTime: string;
|
|
4072
|
+
parentSlotId?: number;
|
|
4073
|
+
}
|
|
4074
|
+
export declare class TimeSlotsDto {
|
|
4075
|
+
timeSlots: TimeSlotDto[];
|
|
4076
|
+
}
|
|
4077
|
+
export declare class SlotsIdsDto {
|
|
4078
|
+
slotsIds: number[];
|
|
4079
|
+
}
|
|
4080
|
+
declare class AnswerDto {
|
|
4081
|
+
questionId: number;
|
|
4082
|
+
value: any;
|
|
4083
|
+
}
|
|
4084
|
+
export declare class BookedSessionDto {
|
|
4085
|
+
startDate: string;
|
|
4086
|
+
endDate: string;
|
|
4087
|
+
timezone: string;
|
|
4088
|
+
spaceId: number;
|
|
4089
|
+
}
|
|
4090
|
+
declare class AddonV1Dto {
|
|
4091
|
+
resourcePackageId: number;
|
|
4092
|
+
resourcePackageAmount: number;
|
|
4093
|
+
resourcePackagePrice: number;
|
|
4094
|
+
}
|
|
4095
|
+
export declare class ReservationV1Dto {
|
|
4096
|
+
organizationId: number;
|
|
4097
|
+
name: string;
|
|
4098
|
+
dayOfWeek: number;
|
|
4099
|
+
startTime: string;
|
|
4100
|
+
description: string;
|
|
4101
|
+
sport: number;
|
|
4102
|
+
price: number;
|
|
4103
|
+
resourcePackageId: number;
|
|
4104
|
+
resourcePackageAmount: number;
|
|
4105
|
+
bookedSessions: BookedSessionDto[];
|
|
4106
|
+
addons: AddonV1Dto[];
|
|
4107
|
+
}
|
|
4108
|
+
export declare class BookingV1Dto {
|
|
4109
|
+
organizationId: number;
|
|
4110
|
+
reservations: ReservationV1Dto[];
|
|
4111
|
+
answers: AnswerDto[];
|
|
4112
|
+
paymentData: PurchasePaymentDto;
|
|
4113
|
+
skipPayment: boolean;
|
|
4114
|
+
cashPayment: boolean;
|
|
4115
|
+
requestOnly: boolean;
|
|
4116
|
+
}
|
|
4117
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4118
|
+
parentId: number;
|
|
4119
|
+
parentType: AddonParentTypeEnum;
|
|
4120
|
+
productId: number;
|
|
4121
|
+
product?: Product;
|
|
4122
|
+
quantity: number;
|
|
4123
|
+
unitPrice: number;
|
|
4124
|
+
totalPrice: number;
|
|
4125
|
+
approvalStatus: ReservationStatusEnum;
|
|
4126
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4127
|
+
level?: ProductPackageLevelEnum;
|
|
4128
|
+
resourceId?: number;
|
|
4129
|
+
resource?: Resource;
|
|
4130
|
+
invoiceId?: number;
|
|
4131
|
+
invoice?: Invoice;
|
|
4132
|
+
productUserId?: number;
|
|
4133
|
+
productUser?: ProductsUsers;
|
|
4134
|
+
previousProductUsersIds?: number[];
|
|
4135
|
+
previousProductUsers?: ProductsUsers[];
|
|
4136
|
+
}
|
|
4137
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4138
|
+
deletedAt?: Date;
|
|
4139
|
+
reservationId: number;
|
|
4140
|
+
invoiceId: number;
|
|
4141
|
+
slotId: number;
|
|
4142
|
+
}
|
|
4143
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4144
|
+
name?: string;
|
|
4145
|
+
description?: string;
|
|
4146
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4147
|
+
privacySetting?: string;
|
|
4148
|
+
reservationType?: ReservationTypeEnum;
|
|
4149
|
+
invoiceId?: string;
|
|
4150
|
+
customerId?: number;
|
|
4151
|
+
customer?: Customer;
|
|
4152
|
+
price?: number;
|
|
4153
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4154
|
+
startTime?: string;
|
|
4155
|
+
startDate?: Date;
|
|
4156
|
+
endDate?: Date;
|
|
4157
|
+
creatorId?: number;
|
|
4158
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4159
|
+
userCreatorId?: number;
|
|
4160
|
+
sportType?: number;
|
|
4161
|
+
deletedAt?: Date;
|
|
4162
|
+
publicNotes?: string;
|
|
4163
|
+
privateNotes?: string;
|
|
4164
|
+
forms?: number[] | null;
|
|
4165
|
+
answerTitleIds?: number[] | null;
|
|
4166
|
+
segments?: Segment[];
|
|
4167
|
+
migrationStatus?: string;
|
|
4168
|
+
addons: Addon[];
|
|
4169
|
+
overrideProductsPrice: {
|
|
4170
|
+
productId: number;
|
|
4171
|
+
price: number;
|
|
4172
|
+
}[];
|
|
4173
|
+
targetGlobalPrice?: number;
|
|
4174
|
+
slots: Slot[];
|
|
4175
|
+
}
|
|
4176
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4177
|
+
deletedAt?: Date;
|
|
4178
|
+
reservationId: number;
|
|
4179
|
+
title: string;
|
|
4180
|
+
isPrivate: boolean;
|
|
4181
|
+
resourceIds?: number[];
|
|
4182
|
+
sportId: number;
|
|
4183
|
+
reservation?: Reservation;
|
|
4184
|
+
series?: Series[];
|
|
4185
|
+
addonIds?: number[] | null;
|
|
4186
|
+
publicNotesForSlots?: string;
|
|
4187
|
+
privateNotesForSlots?: string;
|
|
4188
|
+
slots?: Slot[];
|
|
4189
|
+
}
|
|
4190
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4191
|
+
deletedAt?: Date;
|
|
4192
|
+
segmentId: number;
|
|
4193
|
+
segment?: Segment;
|
|
4194
|
+
slots?: Slot[];
|
|
4195
|
+
slotDurationType: string;
|
|
4196
|
+
durationEndsAfter: number;
|
|
4197
|
+
durationUnit: string;
|
|
4198
|
+
startDate?: Date;
|
|
4199
|
+
endDate?: Date;
|
|
4200
|
+
startTime: string;
|
|
4201
|
+
endTime: string;
|
|
4202
|
+
frequency: string;
|
|
4203
|
+
repeatEvery: number;
|
|
4132
4204
|
repeatOn?: number[];
|
|
4133
|
-
repeatEndDate?:
|
|
4205
|
+
repeatEndDate?: Date;
|
|
4134
4206
|
numberOccurrences?: number;
|
|
4135
|
-
|
|
4136
|
-
slots?: SlotDto[];
|
|
4137
|
-
}
|
|
4138
|
-
declare class AnswerDto {
|
|
4139
|
-
questionId: number;
|
|
4140
|
-
value: any;
|
|
4141
|
-
}
|
|
4142
|
-
export declare class BookedSessionDto {
|
|
4143
|
-
startDate: string;
|
|
4144
|
-
endDate: string;
|
|
4145
|
-
timezone: string;
|
|
4146
|
-
spaceId: number;
|
|
4147
|
-
}
|
|
4148
|
-
declare class AddonV1Dto {
|
|
4149
|
-
resourcePackageId: number;
|
|
4150
|
-
resourcePackageAmount: number;
|
|
4151
|
-
resourcePackagePrice: number;
|
|
4207
|
+
resources?: Resource[];
|
|
4152
4208
|
}
|
|
4153
|
-
export declare class
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4209
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4210
|
+
constructor();
|
|
4211
|
+
defineIsReverted(): void;
|
|
4212
|
+
isReverted: boolean;
|
|
4213
|
+
reservationId: number;
|
|
4214
|
+
reservation: Reservation;
|
|
4215
|
+
title?: string;
|
|
4216
|
+
creatorId?: number;
|
|
4217
|
+
creatorType?: string;
|
|
4218
|
+
userCreatorId?: number;
|
|
4219
|
+
startDate: Date;
|
|
4220
|
+
endDate: Date;
|
|
4157
4221
|
startTime: string;
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4222
|
+
endTime: string;
|
|
4223
|
+
timezone?: string;
|
|
4224
|
+
spaceId?: number;
|
|
4225
|
+
resource?: Resource;
|
|
4226
|
+
deletedAt?: Date;
|
|
4227
|
+
publicNotes?: string;
|
|
4228
|
+
privateNotes?: string;
|
|
4229
|
+
slotType: SlotTypeEnum;
|
|
4230
|
+
productsUserId?: number;
|
|
4231
|
+
productUser?: ProductsUsers;
|
|
4232
|
+
product?: Product;
|
|
4233
|
+
addonsProductUserIds?: number[] | null;
|
|
4234
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4235
|
+
addonProducts?: Product[];
|
|
4236
|
+
addonsMetadata: AddonMetadata[];
|
|
4237
|
+
segmentId: number;
|
|
4238
|
+
segment: Segment;
|
|
4239
|
+
eventId: number;
|
|
4240
|
+
event: Event;
|
|
4241
|
+
sportIds: number[];
|
|
4242
|
+
parentSlotId?: number;
|
|
4243
|
+
parent?: Slot;
|
|
4244
|
+
children?: Slot[];
|
|
4245
|
+
maintenanceDurationdurationType: string;
|
|
4246
|
+
maintenanceTiming: number;
|
|
4178
4247
|
durationValue: number;
|
|
4179
|
-
|
|
4180
|
-
|
|
4248
|
+
seriesId?: number;
|
|
4249
|
+
series?: Series;
|
|
4250
|
+
invoiceId?: number;
|
|
4251
|
+
invoice?: Invoice;
|
|
4252
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4253
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4254
|
+
displayName?: string;
|
|
4255
|
+
internalName?: string;
|
|
4256
|
+
activityTypes?: number[] | null;
|
|
4257
|
+
hourlyRate: number;
|
|
4258
|
+
totalPrice: number;
|
|
4259
|
+
isConsumerVisible: boolean;
|
|
4260
|
+
isMonitorVisible: boolean;
|
|
4261
|
+
isPrivate: boolean;
|
|
4262
|
+
occurrence?: number;
|
|
4263
|
+
maintenance?: Slot[];
|
|
4264
|
+
productMetadata: {
|
|
4265
|
+
productId: number;
|
|
4266
|
+
price: number;
|
|
4267
|
+
};
|
|
4268
|
+
slotDurationType: string;
|
|
4269
|
+
changeLineItemIds?: number[];
|
|
4270
|
+
changeLineItems?: LineItems[];
|
|
4271
|
+
updatedLineItem?: LineItems;
|
|
4272
|
+
conflictsCount?: number;
|
|
4273
|
+
conflicts?: Slot[];
|
|
4181
4274
|
}
|
|
4182
4275
|
export declare type TSlotAndType = {
|
|
4183
4276
|
type: 'slots' | 'slot_addons';
|
|
@@ -4415,87 +4508,35 @@ export interface AddonMetadata {
|
|
|
4415
4508
|
totalPrice: number;
|
|
4416
4509
|
product?: Product;
|
|
4417
4510
|
}
|
|
4418
|
-
export declare class
|
|
4419
|
-
|
|
4420
|
-
startTime?: string;
|
|
4421
|
-
endDate?: string;
|
|
4422
|
-
endTime?: string;
|
|
4423
|
-
spaceId: number;
|
|
4511
|
+
export declare class ChangeRolePermissionsDto {
|
|
4512
|
+
permissionIds: number[];
|
|
4424
4513
|
}
|
|
4425
|
-
export declare class
|
|
4426
|
-
|
|
4427
|
-
reservationId?: number;
|
|
4428
|
-
occurrence?: number;
|
|
4429
|
-
title: string;
|
|
4430
|
-
creatorId?: number;
|
|
4431
|
-
creatorType?: string;
|
|
4432
|
-
userCreatorId?: number;
|
|
4433
|
-
timezone?: string;
|
|
4434
|
-
publicNotes?: string;
|
|
4435
|
-
privateNotes?: string;
|
|
4436
|
-
slotType: SlotTypeEnum;
|
|
4437
|
-
product?: Product;
|
|
4438
|
-
priceOverrideMeta?: {
|
|
4439
|
-
unitPrice: number;
|
|
4440
|
-
quantity: number;
|
|
4441
|
-
totalPrice: number;
|
|
4442
|
-
};
|
|
4443
|
-
addonPriceOverrideMeta?: {
|
|
4444
|
-
[addonProductId: number]: {
|
|
4445
|
-
unitPrice: number;
|
|
4446
|
-
quantity: number;
|
|
4447
|
-
totalPrice: number;
|
|
4448
|
-
};
|
|
4449
|
-
};
|
|
4450
|
-
addonProducts?: Product[];
|
|
4451
|
-
addonCalculatedPrice?: {
|
|
4452
|
-
productId: number;
|
|
4453
|
-
quantity: number;
|
|
4454
|
-
unitPrice: number;
|
|
4455
|
-
totalPrice: number;
|
|
4456
|
-
displayTotalWithTax?: number;
|
|
4457
|
-
displayUnitTax?: number;
|
|
4458
|
-
}[];
|
|
4459
|
-
addonsProductUserIds?: number[];
|
|
4460
|
-
segmentId?: number;
|
|
4461
|
-
seriesId?: number;
|
|
4462
|
-
eventId?: number;
|
|
4463
|
-
sportIds: number[];
|
|
4464
|
-
parentSlotId?: number;
|
|
4465
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4466
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4467
|
-
durationValue?: number;
|
|
4468
|
-
invoicId?: number;
|
|
4469
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4470
|
-
approvalStatus: ReservationStatusEnum;
|
|
4471
|
-
displayName?: string;
|
|
4472
|
-
internalName?: string;
|
|
4473
|
-
totalPrice?: number;
|
|
4474
|
-
relevantProducts?: Product[];
|
|
4475
|
-
maintenance?: MaintenanceDto[];
|
|
4476
|
-
maintenanceSlots?: SlotDto[];
|
|
4477
|
-
isPrivate: boolean;
|
|
4478
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4479
|
-
addonsIds?: number[];
|
|
4514
|
+
export declare class CreateRoleDto {
|
|
4515
|
+
name: string;
|
|
4480
4516
|
}
|
|
4481
|
-
export declare class
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
startDate: string;
|
|
4485
|
-
startTime: string;
|
|
4486
|
-
endDate: string;
|
|
4487
|
-
endTime: string;
|
|
4488
|
-
parentSlotId?: number;
|
|
4517
|
+
export declare class Permission extends BondBaseEntity {
|
|
4518
|
+
name: string;
|
|
4519
|
+
deletedAt?: Date;
|
|
4489
4520
|
}
|
|
4490
|
-
export declare class
|
|
4491
|
-
|
|
4521
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4522
|
+
name: string;
|
|
4523
|
+
deletedAt?: Date;
|
|
4524
|
+
permissions: Permission[];
|
|
4525
|
+
usersRoles: UserRole[];
|
|
4492
4526
|
}
|
|
4493
|
-
export declare class
|
|
4494
|
-
|
|
4527
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4528
|
+
deletedAt?: Date;
|
|
4529
|
+
userId: number;
|
|
4530
|
+
roleId: number;
|
|
4531
|
+
role: Role;
|
|
4532
|
+
user: User;
|
|
4495
4533
|
}
|
|
4496
4534
|
export declare class CloseShiftDto {
|
|
4497
4535
|
closingCashAmount: number;
|
|
4498
4536
|
}
|
|
4537
|
+
export declare class FindShiftsByIdsDto {
|
|
4538
|
+
shiftIds: number[];
|
|
4539
|
+
}
|
|
4499
4540
|
export declare class FindShiftsFiltersDto {
|
|
4500
4541
|
statuses?: string;
|
|
4501
4542
|
stationIds?: string;
|
|
@@ -4516,12 +4557,16 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4516
4557
|
startDate?: Date;
|
|
4517
4558
|
endDate?: Date;
|
|
4518
4559
|
}
|
|
4519
|
-
export declare class
|
|
4520
|
-
|
|
4560
|
+
export declare class ShiftManagementClosingAmount {
|
|
4561
|
+
shiftId: number;
|
|
4562
|
+
managementClosingCashAmount: number;
|
|
4521
4563
|
}
|
|
4522
|
-
export declare class
|
|
4523
|
-
|
|
4524
|
-
|
|
4564
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4565
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4566
|
+
}
|
|
4567
|
+
export declare class OpenShiftDto {
|
|
4568
|
+
openingCashAmount: number;
|
|
4569
|
+
stationId: number;
|
|
4525
4570
|
}
|
|
4526
4571
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4527
4572
|
stationId: number;
|
|
@@ -4552,17 +4597,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4552
4597
|
closingManager?: User;
|
|
4553
4598
|
reconcilingUser?: User;
|
|
4554
4599
|
}
|
|
4555
|
-
export declare class OpenShiftDto {
|
|
4556
|
-
openingCashAmount: number;
|
|
4557
|
-
stationId: number;
|
|
4558
|
-
}
|
|
4559
|
-
export declare class FindShiftsByIdsDto {
|
|
4560
|
-
shiftIds: number[];
|
|
4561
|
-
}
|
|
4562
|
-
export declare class ShiftManagementClosingAmount {
|
|
4563
|
-
shiftId: number;
|
|
4564
|
-
managementClosingCashAmount: number;
|
|
4565
|
-
}
|
|
4566
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4567
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4568
|
-
}
|