@bondsports/types 0.0.95 → 0.0.98
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 +1486 -1456
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/build/provider.js +6 -0
- package/build/provider.js.map +1 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,32 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from
|
|
2
|
-
import { Stripe } from
|
|
3
|
-
import moment from
|
|
4
|
-
export { TypesProvider } from
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
|
-
export declare class FindBookingTypeSettingDto {
|
|
24
|
-
organizationId: number;
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Stripe } from "stripe";
|
|
3
|
+
import moment from "moment";
|
|
4
|
+
export { TypesProvider } from "./provider";
|
|
30
5
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
6
|
membershipId: number;
|
|
32
7
|
}
|
|
@@ -85,6 +60,24 @@ export declare class AddEditCustomerDto {
|
|
|
85
60
|
emergencyContactName?: string;
|
|
86
61
|
emergencyContactPhone?: string;
|
|
87
62
|
}
|
|
63
|
+
export declare class QuestionAnswersDto {
|
|
64
|
+
questionId: number;
|
|
65
|
+
value: any;
|
|
66
|
+
}
|
|
67
|
+
export declare class UserAnswersDto {
|
|
68
|
+
userId: number;
|
|
69
|
+
answers: QuestionAnswersDto[];
|
|
70
|
+
}
|
|
71
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
72
|
+
questionnaireIds: string;
|
|
73
|
+
}
|
|
74
|
+
export declare class BasicActivityTimesDto {
|
|
75
|
+
dayOfWeek: number;
|
|
76
|
+
close: string;
|
|
77
|
+
open: string;
|
|
78
|
+
availabilityStartDate?: string;
|
|
79
|
+
availabilityEndDate?: string;
|
|
80
|
+
}
|
|
88
81
|
export declare class FindEventByIdDto {
|
|
89
82
|
eventId: number;
|
|
90
83
|
organizationId: number;
|
|
@@ -186,6 +179,18 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
179
|
isWaiverSigned?: string;
|
|
187
180
|
statuses?: string;
|
|
188
181
|
}
|
|
182
|
+
export declare class FindOneParams {
|
|
183
|
+
id: number;
|
|
184
|
+
}
|
|
185
|
+
export declare class PaginationQuery {
|
|
186
|
+
page: number;
|
|
187
|
+
itemsPerPage: number;
|
|
188
|
+
}
|
|
189
|
+
export declare class PaginationRangeQuery {
|
|
190
|
+
startPage: number;
|
|
191
|
+
endPage: number;
|
|
192
|
+
itemsPerPage: number;
|
|
193
|
+
}
|
|
189
194
|
export declare class AddressDto {
|
|
190
195
|
city: string;
|
|
191
196
|
state: string;
|
|
@@ -229,50 +234,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
234
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
235
|
nameSearch?: string;
|
|
231
236
|
}
|
|
232
|
-
export declare class FindFamilyAccountsDto {
|
|
233
|
-
userId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
-
customerId: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
}
|
|
239
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
-
familyAccountId: number;
|
|
241
|
-
}
|
|
242
|
-
export declare class CreateFamilyAccountDto {
|
|
243
|
-
familyName: string;
|
|
244
|
-
userId: number;
|
|
245
|
-
}
|
|
246
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
-
familyName: string;
|
|
248
|
-
familyAccountId: number;
|
|
249
|
-
}
|
|
250
|
-
export declare class AddUserToFamilyAccountDto {
|
|
251
|
-
familyAccountId: number;
|
|
252
|
-
isUserAdmin: boolean;
|
|
253
|
-
firstName: string;
|
|
254
|
-
lastName: string;
|
|
255
|
-
gender: GenderEnum;
|
|
256
|
-
birthDate: string;
|
|
257
|
-
sports?: number[];
|
|
258
|
-
email?: string;
|
|
259
|
-
}
|
|
260
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
-
userId: number;
|
|
262
|
-
familyAccountId: number;
|
|
263
|
-
}
|
|
264
|
-
export declare class FindOneParams {
|
|
265
|
-
id: number;
|
|
266
|
-
}
|
|
267
|
-
export declare class PaginationQuery {
|
|
268
|
-
page: number;
|
|
269
|
-
itemsPerPage: number;
|
|
270
|
-
}
|
|
271
|
-
export declare class PaginationRangeQuery {
|
|
272
|
-
startPage: number;
|
|
273
|
-
endPage: number;
|
|
274
|
-
itemsPerPage: number;
|
|
275
|
-
}
|
|
276
237
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
238
|
organizationId: number;
|
|
278
239
|
}
|
|
@@ -283,78 +244,117 @@ export declare class GetGlCodeDto {
|
|
|
283
244
|
createdAt: Date;
|
|
284
245
|
updatedAt: Date;
|
|
285
246
|
}
|
|
286
|
-
export declare class
|
|
287
|
-
|
|
247
|
+
export declare class CreateEntitlementTermsDto {
|
|
248
|
+
organizationId: number;
|
|
249
|
+
entitlementGroupId: number;
|
|
250
|
+
terms: IEntitlementTerms[];
|
|
288
251
|
}
|
|
289
|
-
export declare class
|
|
290
|
-
|
|
252
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
253
|
+
entitlementGroupId: number;
|
|
291
254
|
}
|
|
292
|
-
export declare class
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
programSeasonId: number;
|
|
296
|
-
color: string;
|
|
297
|
-
isDefault: boolean;
|
|
255
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
256
|
+
user: any;
|
|
257
|
+
userVariables: IQuestionAnswerObject[];
|
|
298
258
|
}
|
|
299
|
-
export declare class
|
|
259
|
+
export declare class FindLowestPriceDto {
|
|
260
|
+
organizationId: number;
|
|
261
|
+
user?: any;
|
|
262
|
+
answers?: IQuestionAnswerObject[];
|
|
263
|
+
itemIds: number[];
|
|
264
|
+
itemType?: ResourceNameTypeEnum;
|
|
265
|
+
startDate?: Date;
|
|
266
|
+
}
|
|
267
|
+
export declare class FindGroupItemsPricingsDto {
|
|
268
|
+
groupsIds: number[];
|
|
269
|
+
itemsIds: number[];
|
|
270
|
+
}
|
|
271
|
+
export declare class CreateEntitlementGroupDto {
|
|
300
272
|
name: string;
|
|
301
|
-
description?: string;
|
|
302
|
-
status?: GroupStatusEnum;
|
|
303
|
-
maxCapacity?: number;
|
|
304
|
-
mainMediaId?: number;
|
|
305
|
-
minAgeYears?: number;
|
|
306
|
-
maxAgeYears?: number;
|
|
307
|
-
gender: GenderEnum;
|
|
308
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
309
|
-
sports: SportsEnum[];
|
|
310
|
-
questionnaires?: number[];
|
|
311
|
-
captainUserId?: number;
|
|
312
|
-
divisionId?: number;
|
|
313
273
|
}
|
|
314
|
-
export declare class
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
prevDivisionId: number;
|
|
274
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
275
|
+
itemIds: number[];
|
|
276
|
+
itemType: string;
|
|
318
277
|
}
|
|
319
|
-
export declare class
|
|
320
|
-
|
|
321
|
-
groupId?: number;
|
|
322
|
-
prevGroupId?: number;
|
|
278
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
279
|
+
groupid: number;
|
|
323
280
|
}
|
|
324
|
-
export declare class
|
|
281
|
+
export declare class CreateGroupPricingWithProduct {
|
|
325
282
|
groupId: number;
|
|
326
|
-
|
|
283
|
+
price: number;
|
|
284
|
+
startDate?: Date;
|
|
285
|
+
endDate?: Date;
|
|
286
|
+
discountValue?: number;
|
|
287
|
+
discountMethod?: DiscountMethodsEnum;
|
|
327
288
|
}
|
|
328
|
-
export declare class
|
|
329
|
-
|
|
330
|
-
|
|
289
|
+
export declare class PurchasePaymentDto {
|
|
290
|
+
token: string;
|
|
291
|
+
type: PaymentMethodTypeEnum;
|
|
331
292
|
}
|
|
332
|
-
export declare class
|
|
333
|
-
|
|
293
|
+
export declare class ChargeRentalsReuqestDto {
|
|
294
|
+
organizationId: number;
|
|
295
|
+
userId?: number;
|
|
296
|
+
customerId?: number;
|
|
297
|
+
orderId: number;
|
|
298
|
+
paymentData: PurchasePaymentDto;
|
|
299
|
+
amountToPay: number;
|
|
300
|
+
total: number;
|
|
301
|
+
platform: PlatformsEnum;
|
|
302
|
+
shiftId?: number;
|
|
334
303
|
}
|
|
335
|
-
export declare class
|
|
336
|
-
|
|
304
|
+
export declare class PurchaseRequestDto {
|
|
305
|
+
purchasingUserId: number;
|
|
306
|
+
customerId?: number;
|
|
307
|
+
products: PurchaseProductDto[];
|
|
308
|
+
paymentData: PurchasePaymentDto;
|
|
309
|
+
answers: UserAnswersDto[];
|
|
310
|
+
amountToPay: number;
|
|
311
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
312
|
+
parentPurchasedId?: number;
|
|
313
|
+
isPartialPayment: boolean;
|
|
314
|
+
existingOrderToken?: string;
|
|
315
|
+
installments?: ScheduledPaymentDto[];
|
|
316
|
+
shiftId?: number;
|
|
317
|
+
orderId?: number;
|
|
337
318
|
}
|
|
338
|
-
export declare class
|
|
339
|
-
userId: number;
|
|
340
|
-
inviteToken?: string;
|
|
319
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
341
320
|
}
|
|
342
|
-
export declare class
|
|
343
|
-
|
|
321
|
+
export declare class PurchaseProductDto {
|
|
322
|
+
id: number;
|
|
323
|
+
resources?: PurchaseResourceDto[];
|
|
324
|
+
userId?: number;
|
|
325
|
+
paymentStatus?: PaymentStatusEnum;
|
|
326
|
+
amountToPay?: number;
|
|
327
|
+
ordinal?: number;
|
|
328
|
+
startDate?: Date;
|
|
329
|
+
quantity?: number;
|
|
344
330
|
}
|
|
345
|
-
export
|
|
346
|
-
|
|
347
|
-
|
|
331
|
+
export declare class PartialPaymentRequestDto {
|
|
332
|
+
orderId: number;
|
|
333
|
+
amountToPay: number;
|
|
334
|
+
organizationId: number;
|
|
335
|
+
payingUserId: number;
|
|
336
|
+
paymentMethodData: PurchasePaymentDto;
|
|
337
|
+
shiftId?: number;
|
|
348
338
|
}
|
|
349
|
-
export declare class
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
toDivisionId?: number;
|
|
339
|
+
export declare class RedeemPunchCardRequestDto {
|
|
340
|
+
products: PurchaseProductDto[];
|
|
341
|
+
answersTitlesIds: number[];
|
|
342
|
+
organizationId: number;
|
|
343
|
+
purchasingUserId: number;
|
|
355
344
|
}
|
|
356
|
-
export declare class
|
|
357
|
-
|
|
345
|
+
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
346
|
+
orderId: number;
|
|
347
|
+
}
|
|
348
|
+
export declare class AddItemsDto {
|
|
349
|
+
products: PurchaseProductDto[];
|
|
350
|
+
allocateResource: boolean;
|
|
351
|
+
skipMail: boolean;
|
|
352
|
+
}
|
|
353
|
+
export declare class PartialPaymentAsUserDto {
|
|
354
|
+
orderId: any;
|
|
355
|
+
organizationId: any;
|
|
356
|
+
amountToPay: any;
|
|
357
|
+
paymentMethodData: any;
|
|
358
358
|
}
|
|
359
359
|
export declare class CreateMembershipDto {
|
|
360
360
|
organizationId: number;
|
|
@@ -412,47 +412,49 @@ export declare class CancelMembershipDto {
|
|
|
412
412
|
isImmediatelyCancel: boolean;
|
|
413
413
|
cancellationReason?: string;
|
|
414
414
|
}
|
|
415
|
-
export declare class
|
|
415
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
416
416
|
organizationId: number;
|
|
417
|
-
|
|
418
|
-
terms: IEntitlementTerms[];
|
|
417
|
+
programType?: ProgramTypesEnum;
|
|
419
418
|
}
|
|
420
|
-
export declare class
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
-
user: any;
|
|
425
|
-
userVariables: IQuestionAnswerObject[];
|
|
419
|
+
export declare class FindProgramByIdDto {
|
|
420
|
+
programId: number;
|
|
426
421
|
}
|
|
427
|
-
export declare class
|
|
422
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
423
|
+
programId: number;
|
|
428
424
|
organizationId: number;
|
|
429
|
-
user?: any;
|
|
430
|
-
answers?: IQuestionAnswerObject[];
|
|
431
|
-
itemIds: number[];
|
|
432
|
-
itemType?: ResourceNameTypeEnum;
|
|
433
|
-
startDate?: Date;
|
|
434
|
-
}
|
|
435
|
-
export declare class FindGroupItemsPricingsDto {
|
|
436
|
-
groupsIds: number[];
|
|
437
|
-
itemsIds: number[];
|
|
438
425
|
}
|
|
439
|
-
export declare class
|
|
426
|
+
export declare class BaseProgramDto {
|
|
427
|
+
type: ProgramTypesEnum;
|
|
440
428
|
name: string;
|
|
429
|
+
sport: SportsEnum;
|
|
430
|
+
minAge: string;
|
|
431
|
+
maxAge: string;
|
|
432
|
+
gender: GenderEnum;
|
|
433
|
+
level?: LevelOfPlayEnum[];
|
|
434
|
+
description?: string;
|
|
435
|
+
GL?: string;
|
|
436
|
+
status: PublishingStatusEnum;
|
|
437
|
+
organizationId: number;
|
|
438
|
+
userCreatorId: number;
|
|
439
|
+
highlights: ProgramHighlights[];
|
|
440
|
+
longDescription?: string;
|
|
441
|
+
requiredProductIds: number[];
|
|
441
442
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
itemIds: number[];
|
|
444
|
-
itemType: string;
|
|
443
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
445
444
|
}
|
|
446
|
-
export declare class
|
|
447
|
-
|
|
445
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
446
|
+
programId: number;
|
|
447
|
+
mainMediaId: number;
|
|
448
448
|
}
|
|
449
|
-
export declare class
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
449
|
+
export declare class UpdateProgramStatusDto {
|
|
450
|
+
programId: number;
|
|
451
|
+
status: PublishingStatusEnum;
|
|
452
|
+
}
|
|
453
|
+
export declare class ProgramHighlightDto {
|
|
454
|
+
data: string;
|
|
455
|
+
ordinal: number;
|
|
456
|
+
type: ProgramHighlightTypeEnum;
|
|
457
|
+
title: string;
|
|
456
458
|
}
|
|
457
459
|
export declare class FindByProductIdDto {
|
|
458
460
|
productId: number;
|
|
@@ -627,7 +629,7 @@ export declare class GetExtraProductDataDto {
|
|
|
627
629
|
includeArchived?: boolean;
|
|
628
630
|
}
|
|
629
631
|
export declare class GetBySessionType {
|
|
630
|
-
sessionType:
|
|
632
|
+
sessionType: "event" | "segment";
|
|
631
633
|
}
|
|
632
634
|
export declare class CreateSubcategoryDto {
|
|
633
635
|
productType: ProductTypesEnum;
|
|
@@ -674,23 +676,72 @@ export declare class createResourceDto {
|
|
|
674
676
|
export declare class archiveDto {
|
|
675
677
|
isArchive: boolean;
|
|
676
678
|
}
|
|
677
|
-
export declare class
|
|
679
|
+
export declare class ResourceDto {
|
|
680
|
+
type: ResourceNameTypeEnum;
|
|
681
|
+
id: number;
|
|
682
|
+
}
|
|
683
|
+
export declare class CreateResourceGroupDto {
|
|
684
|
+
name: string;
|
|
685
|
+
parentSlotId: number;
|
|
686
|
+
facilityId: number;
|
|
687
|
+
childrenSlotIds: number[];
|
|
688
|
+
}
|
|
689
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
690
|
+
}
|
|
691
|
+
export declare class StripeCustomerIdDto {
|
|
692
|
+
userId: number;
|
|
693
|
+
}
|
|
694
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
695
|
+
paymentMethodId: string;
|
|
696
|
+
}
|
|
697
|
+
export declare class AddACHTokenToCustomerDto {
|
|
698
|
+
publicToken: string;
|
|
699
|
+
accountId: string;
|
|
700
|
+
}
|
|
701
|
+
export declare class FindFamilyAccountsDto {
|
|
702
|
+
userId: number;
|
|
703
|
+
}
|
|
704
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
705
|
+
customerId: number;
|
|
678
706
|
organizationId: number;
|
|
679
|
-
parentProductId: number;
|
|
680
|
-
variantTitles: VariantTitleDto[];
|
|
681
|
-
variants: VariantDto[];
|
|
682
707
|
}
|
|
683
|
-
export declare class
|
|
684
|
-
|
|
685
|
-
titleId: number;
|
|
708
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
709
|
+
familyAccountId: number;
|
|
686
710
|
}
|
|
687
|
-
export declare class
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
711
|
+
export declare class CreateFamilyAccountDto {
|
|
712
|
+
familyName: string;
|
|
713
|
+
userId: number;
|
|
714
|
+
}
|
|
715
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
716
|
+
familyName: string;
|
|
717
|
+
familyAccountId: number;
|
|
718
|
+
}
|
|
719
|
+
export declare class AddUserToFamilyAccountDto {
|
|
720
|
+
familyAccountId: number;
|
|
721
|
+
isUserAdmin: boolean;
|
|
722
|
+
firstName: string;
|
|
723
|
+
lastName: string;
|
|
724
|
+
gender: GenderEnum;
|
|
725
|
+
birthDate: string;
|
|
726
|
+
sports?: number[];
|
|
727
|
+
email?: string;
|
|
728
|
+
}
|
|
729
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
730
|
+
userId: number;
|
|
731
|
+
familyAccountId: number;
|
|
732
|
+
}
|
|
733
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
734
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
735
|
+
parentId: number;
|
|
736
|
+
dayOfWeek: number;
|
|
737
|
+
open: string;
|
|
738
|
+
close: string;
|
|
739
|
+
deletedAt?: Date;
|
|
740
|
+
program: ProgramSeason;
|
|
741
|
+
availabilityStartDate: string;
|
|
742
|
+
availabilityEndDate: string;
|
|
743
|
+
proudct: Product;
|
|
744
|
+
event: Event;
|
|
694
745
|
}
|
|
695
746
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
747
|
programId: number;
|
|
@@ -872,135 +923,112 @@ export declare class MoveParticipantDto {
|
|
|
872
923
|
userId: number;
|
|
873
924
|
oldProductId: number;
|
|
874
925
|
newProductId: number;
|
|
875
|
-
moveType:
|
|
926
|
+
moveType: "session" | "segment";
|
|
876
927
|
resourceId: number;
|
|
877
928
|
orderId: number;
|
|
878
929
|
}
|
|
879
|
-
export declare class
|
|
880
|
-
|
|
881
|
-
programType?: ProgramTypesEnum;
|
|
930
|
+
export declare class FindByProgramSeasonIdDto {
|
|
931
|
+
seasonId: number;
|
|
882
932
|
}
|
|
883
|
-
export declare class
|
|
884
|
-
|
|
933
|
+
export declare class CreateBulkDivisionsDto {
|
|
934
|
+
divisions: CreateDivisionDto[];
|
|
885
935
|
}
|
|
886
|
-
export declare class
|
|
887
|
-
|
|
888
|
-
|
|
936
|
+
export declare class CreateDivisionDto {
|
|
937
|
+
name: string;
|
|
938
|
+
ordinal?: number;
|
|
939
|
+
programSeasonId: number;
|
|
940
|
+
color: string;
|
|
941
|
+
isDefault: boolean;
|
|
889
942
|
}
|
|
890
|
-
export declare class
|
|
891
|
-
type: ProgramTypesEnum;
|
|
943
|
+
export declare class CreateGroupDto {
|
|
892
944
|
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
945
|
description?: string;
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
946
|
+
status?: GroupStatusEnum;
|
|
947
|
+
maxCapacity?: number;
|
|
948
|
+
mainMediaId?: number;
|
|
949
|
+
minAgeYears?: number;
|
|
950
|
+
maxAgeYears?: number;
|
|
951
|
+
gender: GenderEnum;
|
|
952
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
953
|
+
sports: SportsEnum[];
|
|
954
|
+
questionnaires?: number[];
|
|
955
|
+
captainUserId?: number;
|
|
956
|
+
divisionId?: number;
|
|
906
957
|
}
|
|
907
|
-
export declare class
|
|
958
|
+
export declare class ConnectGroupToDivision {
|
|
959
|
+
groupId: number;
|
|
960
|
+
divisionId: number;
|
|
961
|
+
prevDivisionId: number;
|
|
908
962
|
}
|
|
909
|
-
export declare class
|
|
910
|
-
|
|
911
|
-
|
|
963
|
+
export declare class MoveUserInGroups {
|
|
964
|
+
userId: number;
|
|
965
|
+
groupId?: number;
|
|
966
|
+
prevGroupId?: number;
|
|
912
967
|
}
|
|
913
|
-
export declare class
|
|
914
|
-
|
|
915
|
-
|
|
968
|
+
export declare class SaveUserAsGroupCaptain {
|
|
969
|
+
groupId: number;
|
|
970
|
+
userId: number;
|
|
916
971
|
}
|
|
917
|
-
export declare class
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
type: ProgramHighlightTypeEnum;
|
|
921
|
-
title: string;
|
|
972
|
+
export declare class CreateTeamInviteDto {
|
|
973
|
+
emails: string[];
|
|
974
|
+
userCreatorId: number;
|
|
922
975
|
}
|
|
923
|
-
export declare class
|
|
924
|
-
|
|
925
|
-
type: PaymentMethodTypeEnum;
|
|
976
|
+
export declare class TeamByIdDto {
|
|
977
|
+
teamId: number;
|
|
926
978
|
}
|
|
927
|
-
export declare class
|
|
928
|
-
|
|
929
|
-
userId?: number;
|
|
930
|
-
customerId?: number;
|
|
931
|
-
orderId: number;
|
|
932
|
-
paymentData: PurchasePaymentDto;
|
|
933
|
-
amountToPay: number;
|
|
934
|
-
total: number;
|
|
935
|
-
platform: PlatformsEnum;
|
|
936
|
-
shiftId?: number;
|
|
979
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
980
|
+
inviteToken: string;
|
|
937
981
|
}
|
|
938
|
-
export declare class
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
products: PurchaseProductDto[];
|
|
942
|
-
paymentData: PurchasePaymentDto;
|
|
943
|
-
answers: UserAnswersDto[];
|
|
944
|
-
amountToPay: number;
|
|
945
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
|
-
parentPurchasedId?: number;
|
|
947
|
-
isPartialPayment: boolean;
|
|
948
|
-
existingOrderToken?: string;
|
|
949
|
-
installments?: ScheduledPaymentDto[];
|
|
950
|
-
shiftId?: number;
|
|
951
|
-
orderId?: number;
|
|
982
|
+
export declare class JoinTeamDto {
|
|
983
|
+
userId: number;
|
|
984
|
+
inviteToken?: string;
|
|
952
985
|
}
|
|
953
|
-
export declare class
|
|
986
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
987
|
+
userId: number;
|
|
954
988
|
}
|
|
955
|
-
export
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
userId?: number;
|
|
959
|
-
paymentStatus?: PaymentStatusEnum;
|
|
960
|
-
amountToPay?: number;
|
|
961
|
-
ordinal?: number;
|
|
962
|
-
startDate?: Date;
|
|
963
|
-
quantity?: number;
|
|
989
|
+
export interface IMoveSeason {
|
|
990
|
+
fromSeasonId: number;
|
|
991
|
+
toSeasonId: number;
|
|
964
992
|
}
|
|
965
|
-
export declare class
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
shiftId?: number;
|
|
972
|
-
}
|
|
973
|
-
export declare class RedeemPunchCardRequestDto {
|
|
974
|
-
products: PurchaseProductDto[];
|
|
975
|
-
answersTitlesIds: number[];
|
|
976
|
-
organizationId: number;
|
|
977
|
-
purchasingUserId: number;
|
|
978
|
-
}
|
|
979
|
-
export declare class OrderIdDto extends ByOrganizationIdDto {
|
|
980
|
-
orderId: number;
|
|
981
|
-
}
|
|
982
|
-
export declare class AddItemsDto {
|
|
983
|
-
products: PurchaseProductDto[];
|
|
984
|
-
allocateResource: boolean;
|
|
985
|
-
skipMail: boolean;
|
|
993
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
994
|
+
teamId?: number;
|
|
995
|
+
memberId?: number;
|
|
996
|
+
fromSeasonId: number;
|
|
997
|
+
toSeasonId: number;
|
|
998
|
+
toDivisionId?: number;
|
|
986
999
|
}
|
|
987
|
-
export declare class
|
|
988
|
-
|
|
989
|
-
organizationId: any;
|
|
990
|
-
amountToPay: any;
|
|
991
|
-
paymentMethodData: any;
|
|
1000
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
1001
|
+
fileName: string;
|
|
992
1002
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1003
|
+
export declare class Address extends BondBaseEntity {
|
|
1004
|
+
city?: string;
|
|
1005
|
+
street?: string;
|
|
1006
|
+
streetNum?: string;
|
|
1007
|
+
aptNum?: string;
|
|
1008
|
+
zip?: string;
|
|
1009
|
+
country?: string;
|
|
1010
|
+
state?: string;
|
|
1011
|
+
geo: any;
|
|
1012
|
+
deletedAt?: Date;
|
|
998
1013
|
}
|
|
999
|
-
export declare class
|
|
1014
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1015
|
+
questionnaireId: number;
|
|
1016
|
+
userId?: number;
|
|
1017
|
+
answers: Answer[];
|
|
1018
|
+
questionnaire: Questionnaires;
|
|
1000
1019
|
}
|
|
1001
|
-
export declare class
|
|
1002
|
-
|
|
1003
|
-
|
|
1020
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1021
|
+
questionId: number;
|
|
1022
|
+
question?: Questions;
|
|
1023
|
+
parentId: number;
|
|
1024
|
+
parentType: ResourceNameTypeEnum;
|
|
1025
|
+
answerValue: any;
|
|
1026
|
+
creatorId: number;
|
|
1027
|
+
creatorType: ResourceNameTypeEnum;
|
|
1028
|
+
answerTitleId: number;
|
|
1029
|
+
answerTitle: AnswerTitle;
|
|
1030
|
+
metaData: any | null;
|
|
1031
|
+
questionText: string | null;
|
|
1004
1032
|
}
|
|
1005
1033
|
export declare class SpaceByIdDto {
|
|
1006
1034
|
spaceId: number;
|
|
@@ -1058,104 +1086,11 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1058
1086
|
types?: string;
|
|
1059
1087
|
resourcesIds?: string;
|
|
1060
1088
|
}
|
|
1061
|
-
export declare class StripeCustomerIdDto {
|
|
1062
|
-
userId: number;
|
|
1063
|
-
}
|
|
1064
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1065
|
-
paymentMethodId: string;
|
|
1066
|
-
}
|
|
1067
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1068
|
-
publicToken: string;
|
|
1069
|
-
accountId: string;
|
|
1070
|
-
}
|
|
1071
|
-
export declare class FindByUserIdDto {
|
|
1072
|
-
userId: number;
|
|
1073
|
-
}
|
|
1074
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1075
|
-
familyAccountId?: number;
|
|
1076
|
-
}
|
|
1077
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1078
|
-
organizationId: number;
|
|
1079
|
-
}
|
|
1080
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1081
|
-
entityType: ResourceNameTypeEnum;
|
|
1082
|
-
entityId: number;
|
|
1083
|
-
organizationId?: number;
|
|
1084
|
-
userId?: number;
|
|
1085
|
-
customerId?: number;
|
|
1086
|
-
performingUserId: number;
|
|
1087
|
-
description: string;
|
|
1088
|
-
actionType: ActionTypesEnum;
|
|
1089
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1090
|
-
oldValue?: any;
|
|
1091
|
-
newValue?: any;
|
|
1092
|
-
}
|
|
1093
|
-
export declare class ActivityTimes extends BondBaseEntity {
|
|
1094
|
-
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1095
|
-
parentId: number;
|
|
1096
|
-
dayOfWeek: number;
|
|
1097
|
-
open: string;
|
|
1098
|
-
close: string;
|
|
1099
|
-
deletedAt?: Date;
|
|
1100
|
-
program: ProgramSeason;
|
|
1101
|
-
availabilityStartDate: string;
|
|
1102
|
-
availabilityEndDate: string;
|
|
1103
|
-
proudct: Product;
|
|
1104
|
-
event: Event;
|
|
1105
|
-
}
|
|
1106
|
-
export declare class Address extends BondBaseEntity {
|
|
1107
|
-
city?: string;
|
|
1108
|
-
street?: string;
|
|
1109
|
-
streetNum?: string;
|
|
1110
|
-
aptNum?: string;
|
|
1111
|
-
zip?: string;
|
|
1112
|
-
country?: string;
|
|
1113
|
-
state?: string;
|
|
1114
|
-
geo: any;
|
|
1115
|
-
deletedAt?: Date;
|
|
1116
|
-
}
|
|
1117
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1118
|
-
questionId: number;
|
|
1119
|
-
question?: Questions;
|
|
1120
|
-
parentId: number;
|
|
1121
|
-
parentType: ResourceNameTypeEnum;
|
|
1122
|
-
answerValue: any;
|
|
1123
|
-
creatorId: number;
|
|
1124
|
-
creatorType: ResourceNameTypeEnum;
|
|
1125
|
-
answerTitleId: number;
|
|
1126
|
-
answerTitle: AnswerTitle;
|
|
1127
|
-
metaData: any | null;
|
|
1128
|
-
questionText: string | null;
|
|
1129
|
-
}
|
|
1130
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1131
|
-
questionnaireId: number;
|
|
1132
|
-
userId?: number;
|
|
1133
|
-
answers: Answer[];
|
|
1134
|
-
questionnaire: Questionnaires;
|
|
1135
|
-
}
|
|
1136
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1137
|
-
userId: number | null;
|
|
1138
|
-
metadata: object | null;
|
|
1139
|
-
athleteSports: AthleteSports[];
|
|
1140
|
-
}
|
|
1141
1089
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1142
1090
|
athleteId: number | null;
|
|
1143
1091
|
sports: number | null;
|
|
1144
1092
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1145
1093
|
}
|
|
1146
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1147
|
-
entityType: ResourceNameTypeEnum;
|
|
1148
|
-
entityId: number;
|
|
1149
|
-
name: string;
|
|
1150
|
-
startDate: Date;
|
|
1151
|
-
endDate: Date;
|
|
1152
|
-
deletedAt?: Date;
|
|
1153
|
-
}
|
|
1154
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1155
|
-
id: number;
|
|
1156
|
-
createdAt: Date;
|
|
1157
|
-
updatedAt: Date;
|
|
1158
|
-
}
|
|
1159
1094
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1160
1095
|
reservationId?: number;
|
|
1161
1096
|
color?: string;
|
|
@@ -1174,6 +1109,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1174
1109
|
publicNotes?: string;
|
|
1175
1110
|
slotType?: SlotTypeEnum;
|
|
1176
1111
|
}
|
|
1112
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1113
|
+
id: number;
|
|
1114
|
+
createdAt: Date;
|
|
1115
|
+
updatedAt: Date;
|
|
1116
|
+
}
|
|
1177
1117
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1178
1118
|
parentId: number;
|
|
1179
1119
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1184,6 +1124,65 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1184
1124
|
endTimeInDay: string;
|
|
1185
1125
|
directBookingFor: DirectBookingTypesEnum;
|
|
1186
1126
|
}
|
|
1127
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1128
|
+
userId: number | null;
|
|
1129
|
+
metadata: object | null;
|
|
1130
|
+
athleteSports: AthleteSports[];
|
|
1131
|
+
}
|
|
1132
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1133
|
+
area: string;
|
|
1134
|
+
key: string;
|
|
1135
|
+
value: string;
|
|
1136
|
+
}
|
|
1137
|
+
export declare class FindByUserIdDto {
|
|
1138
|
+
userId: number;
|
|
1139
|
+
}
|
|
1140
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1141
|
+
familyAccountId?: number;
|
|
1142
|
+
}
|
|
1143
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1144
|
+
organizationId: number;
|
|
1145
|
+
}
|
|
1146
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1147
|
+
customerId?: number;
|
|
1148
|
+
description: string;
|
|
1149
|
+
pinToTop?: boolean;
|
|
1150
|
+
customer: Customer;
|
|
1151
|
+
}
|
|
1152
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1153
|
+
creditAmount: number;
|
|
1154
|
+
paymentProcessorId: string;
|
|
1155
|
+
userId: number;
|
|
1156
|
+
invoiceId: number;
|
|
1157
|
+
orderId: number;
|
|
1158
|
+
creditPaymentInvoiceId: number;
|
|
1159
|
+
}
|
|
1160
|
+
export declare class CreateUpdateVariantsDto {
|
|
1161
|
+
organizationId: number;
|
|
1162
|
+
parentProductId: number;
|
|
1163
|
+
variantTitles: VariantTitleDto[];
|
|
1164
|
+
variants: VariantDto[];
|
|
1165
|
+
}
|
|
1166
|
+
export declare class VariantTitleDto {
|
|
1167
|
+
titleName: string;
|
|
1168
|
+
titleId: number;
|
|
1169
|
+
}
|
|
1170
|
+
export declare class VariantDto {
|
|
1171
|
+
name: string;
|
|
1172
|
+
price: number;
|
|
1173
|
+
variantId: number;
|
|
1174
|
+
currency: CurrencyEnum;
|
|
1175
|
+
startDate: Date;
|
|
1176
|
+
endDate: Date;
|
|
1177
|
+
}
|
|
1178
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1179
|
+
entityType: ResourceNameTypeEnum;
|
|
1180
|
+
entityId: number;
|
|
1181
|
+
name: string;
|
|
1182
|
+
startDate: Date;
|
|
1183
|
+
endDate: Date;
|
|
1184
|
+
deletedAt?: Date;
|
|
1185
|
+
}
|
|
1187
1186
|
export declare class Connection extends BondBaseEntity {
|
|
1188
1187
|
connType: number | null;
|
|
1189
1188
|
from: number | null;
|
|
@@ -1196,19 +1195,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1196
1195
|
userCreatorId: number | null;
|
|
1197
1196
|
ownerId: number | null;
|
|
1198
1197
|
}
|
|
1199
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1200
|
-
creditAmount: number;
|
|
1201
|
-
paymentProcessorId: string;
|
|
1202
|
-
userId: number;
|
|
1203
|
-
invoiceId: number;
|
|
1204
|
-
orderId: number;
|
|
1205
|
-
creditPaymentInvoiceId: number;
|
|
1206
|
-
}
|
|
1207
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1208
|
-
area: string;
|
|
1209
|
-
key: string;
|
|
1210
|
-
value: string;
|
|
1211
|
-
}
|
|
1212
1198
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
1199
|
name: string | null;
|
|
1214
1200
|
entityId: number | null;
|
|
@@ -1237,45 +1223,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1237
1223
|
mainMedia: Media;
|
|
1238
1224
|
reservations?: Reservation[];
|
|
1239
1225
|
}
|
|
1240
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1241
|
-
customerId: number;
|
|
1242
|
-
userId: number;
|
|
1243
|
-
amount: number;
|
|
1244
|
-
invoiceId?: number;
|
|
1245
|
-
orderId?: number;
|
|
1246
|
-
description?: string;
|
|
1247
|
-
deletedAt?: Date;
|
|
1248
|
-
customer: Customer;
|
|
1249
|
-
order: Order;
|
|
1250
|
-
invoice: Invoice;
|
|
1251
|
-
}
|
|
1252
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1253
|
-
customerId?: number;
|
|
1254
|
-
description: string;
|
|
1255
|
-
pinToTop?: boolean;
|
|
1256
|
-
customer: Customer;
|
|
1257
|
-
}
|
|
1258
|
-
export declare class Division extends BondBaseEntity {
|
|
1259
|
-
name: string;
|
|
1260
|
-
ordinal?: number;
|
|
1261
|
-
programSeasonId: number;
|
|
1262
|
-
color: string;
|
|
1263
|
-
isDefault: boolean;
|
|
1264
|
-
groups: Group[];
|
|
1265
|
-
}
|
|
1266
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1267
|
-
customerId: number;
|
|
1268
|
-
name: string | null;
|
|
1269
|
-
phoneNumber: string | null;
|
|
1270
|
-
customer: Customer;
|
|
1271
|
-
}
|
|
1272
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
|
-
name: string | null;
|
|
1274
|
-
}
|
|
1275
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1276
|
-
groupId: number;
|
|
1277
|
-
terms: IEntitlementTerms[];
|
|
1278
|
-
}
|
|
1279
1226
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1280
1227
|
status: RequestStatusEnum | null;
|
|
1281
1228
|
hasPaid: boolean | null;
|
|
@@ -1291,60 +1238,24 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1291
1238
|
event: Event;
|
|
1292
1239
|
purchasedResource: PurchasedResource;
|
|
1293
1240
|
}
|
|
1294
|
-
export declare class
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
timezone: string | null;
|
|
1313
|
-
eventSubType: string | null;
|
|
1314
|
-
eventSubId: number | null;
|
|
1315
|
-
metaData: any | null;
|
|
1316
|
-
groupingId: string | null;
|
|
1317
|
-
redirectUri: string | null;
|
|
1318
|
-
externalId: string | null;
|
|
1319
|
-
paymentSettings: any | null;
|
|
1320
|
-
whoCanJoin: string | null;
|
|
1321
|
-
spaceId?: number;
|
|
1322
|
-
bookedSessionId: number | null;
|
|
1323
|
-
creatorId: number | null;
|
|
1324
|
-
creatorType: string | null;
|
|
1325
|
-
userCreatorId: number | null;
|
|
1326
|
-
ownerId: number | null;
|
|
1327
|
-
sports: number[] | null;
|
|
1328
|
-
isVerified: boolean | null;
|
|
1329
|
-
mainMediaId: number | null;
|
|
1330
|
-
minAge: number | null;
|
|
1331
|
-
maxAge: number | null;
|
|
1332
|
-
gender: number | null;
|
|
1333
|
-
questionnaireId: number | null;
|
|
1334
|
-
eventAttendees: EventAttendee[];
|
|
1335
|
-
deletedAt?: Date;
|
|
1336
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1337
|
-
startDateString: string;
|
|
1338
|
-
endDateString: string;
|
|
1339
|
-
startTime: string;
|
|
1340
|
-
endTime: string;
|
|
1341
|
-
publicNotes?: string;
|
|
1342
|
-
privateNotes?: string;
|
|
1343
|
-
productResources: ProductResource[];
|
|
1344
|
-
parentSession: ProgramSeason;
|
|
1345
|
-
activityTimes: ActivityTimes[];
|
|
1346
|
-
slots: Slot[];
|
|
1347
|
-
purchasedResources: PurchasedResource[];
|
|
1241
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1242
|
+
groupId: number;
|
|
1243
|
+
terms: IEntitlementTerms[];
|
|
1244
|
+
}
|
|
1245
|
+
export declare class FindBookingTypeSettingDto {
|
|
1246
|
+
organizationId: number;
|
|
1247
|
+
facilityId: number;
|
|
1248
|
+
spaceId: number;
|
|
1249
|
+
bookingDate: string;
|
|
1250
|
+
bookingTime: string;
|
|
1251
|
+
}
|
|
1252
|
+
export declare class Division extends BondBaseEntity {
|
|
1253
|
+
name: string;
|
|
1254
|
+
ordinal?: number;
|
|
1255
|
+
programSeasonId: number;
|
|
1256
|
+
color: string;
|
|
1257
|
+
isDefault: boolean;
|
|
1258
|
+
groups: Group[];
|
|
1348
1259
|
}
|
|
1349
1260
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1350
1261
|
name: string;
|
|
@@ -1370,13 +1281,27 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1370
1281
|
programSeasons: ProgramSeason[];
|
|
1371
1282
|
linkSEO: string;
|
|
1372
1283
|
}
|
|
1373
|
-
export declare class
|
|
1374
|
-
|
|
1375
|
-
|
|
1284
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1285
|
+
customerId: number;
|
|
1286
|
+
name: string | null;
|
|
1287
|
+
phoneNumber: string | null;
|
|
1288
|
+
customer: Customer;
|
|
1376
1289
|
}
|
|
1377
|
-
export declare class
|
|
1290
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1291
|
+
entityType: ResourceNameTypeEnum;
|
|
1292
|
+
entityId: number;
|
|
1293
|
+
organizationId?: number;
|
|
1294
|
+
userId?: number;
|
|
1295
|
+
customerId?: number;
|
|
1296
|
+
performingUserId: number;
|
|
1297
|
+
description: string;
|
|
1298
|
+
actionType: ActionTypesEnum;
|
|
1299
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1300
|
+
oldValue?: any;
|
|
1301
|
+
newValue?: any;
|
|
1302
|
+
}
|
|
1303
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1378
1304
|
name: string | null;
|
|
1379
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1380
1305
|
}
|
|
1381
1306
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1382
1307
|
userId: number;
|
|
@@ -1388,42 +1313,18 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1388
1313
|
plannedDate: Date;
|
|
1389
1314
|
chargedAt?: Date;
|
|
1390
1315
|
}
|
|
1391
|
-
export declare class
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
export declare class Group extends BondBaseEntity {
|
|
1395
|
-
name: string;
|
|
1396
|
-
description?: string;
|
|
1397
|
-
status: GroupStatusEnum;
|
|
1398
|
-
maxCapacity?: number;
|
|
1399
|
-
mainMediaId?: number;
|
|
1400
|
-
minAgeYears?: number;
|
|
1401
|
-
maxAgeYears?: number;
|
|
1402
|
-
gender: GenderEnum;
|
|
1403
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1404
|
-
sports: SportsEnum[];
|
|
1405
|
-
questionnaires?: number[];
|
|
1406
|
-
captainUserId?: number;
|
|
1407
|
-
members: ISeasonAttendeeInfo[];
|
|
1408
|
-
users: User[];
|
|
1409
|
-
}
|
|
1410
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
|
-
groupId: number;
|
|
1412
|
-
itemId: number;
|
|
1413
|
-
itemType: ResourceNameTypeEnum;
|
|
1414
|
-
startDate: Date;
|
|
1415
|
-
endDate: Date;
|
|
1416
|
-
price: number;
|
|
1417
|
-
overridesPrice: boolean;
|
|
1418
|
-
deletedAt?: Date;
|
|
1419
|
-
group?: EntitlementGroup;
|
|
1420
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1421
|
-
discountValue?: number;
|
|
1316
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1317
|
+
name: string | null;
|
|
1318
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1422
1319
|
}
|
|
1423
|
-
export declare class
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1320
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1321
|
+
content: string;
|
|
1322
|
+
creatingUserId: number;
|
|
1323
|
+
user: User;
|
|
1324
|
+
isPublic: boolean;
|
|
1325
|
+
deletedAt: Date;
|
|
1326
|
+
invoiceId: number;
|
|
1327
|
+
invoice: Invoice;
|
|
1427
1328
|
}
|
|
1428
1329
|
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1429
1330
|
price: number;
|
|
@@ -1463,40 +1364,18 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1463
1364
|
mailParams?: any;
|
|
1464
1365
|
memo?: string;
|
|
1465
1366
|
}
|
|
1466
|
-
export declare class
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
allowBookingRequest: boolean | null;
|
|
1479
|
-
addressName: string | null;
|
|
1480
|
-
shortDescription: string | null;
|
|
1481
|
-
waiverDoc: string | null;
|
|
1482
|
-
bookingStateStatus: number | null;
|
|
1483
|
-
timezone: string | null;
|
|
1484
|
-
shortUrl: string | null;
|
|
1485
|
-
leagueType: string | null;
|
|
1486
|
-
addressId: number | null;
|
|
1487
|
-
sportConfigData: any | null;
|
|
1488
|
-
creatorId: number | null;
|
|
1489
|
-
creatorType: string | null;
|
|
1490
|
-
userCreatorId: number | null;
|
|
1491
|
-
ownerId: number | null;
|
|
1492
|
-
sports: number[] | null;
|
|
1493
|
-
mainMediaId: number | null;
|
|
1494
|
-
publishedDate: Date | null;
|
|
1495
|
-
isPublished: boolean | null;
|
|
1496
|
-
isVerified: boolean | null;
|
|
1497
|
-
questionnaireId: number | null;
|
|
1498
|
-
logo?: Media;
|
|
1499
|
-
seasons: LeagueSeason[];
|
|
1367
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1368
|
+
groupId: number;
|
|
1369
|
+
itemId: number;
|
|
1370
|
+
itemType: ResourceNameTypeEnum;
|
|
1371
|
+
startDate: Date;
|
|
1372
|
+
endDate: Date;
|
|
1373
|
+
price: number;
|
|
1374
|
+
overridesPrice: boolean;
|
|
1375
|
+
deletedAt?: Date;
|
|
1376
|
+
group?: EntitlementGroup;
|
|
1377
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1378
|
+
discountValue?: number;
|
|
1500
1379
|
}
|
|
1501
1380
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1502
1381
|
leagueId: number | null;
|
|
@@ -1552,6 +1431,22 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1552
1431
|
invoice: Invoice;
|
|
1553
1432
|
lineItem: LineItems;
|
|
1554
1433
|
}
|
|
1434
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1435
|
+
id: number;
|
|
1436
|
+
provider: string;
|
|
1437
|
+
providerId: string | null;
|
|
1438
|
+
parentId: number | null;
|
|
1439
|
+
parentType: string | null;
|
|
1440
|
+
status: number | null;
|
|
1441
|
+
token: string | null;
|
|
1442
|
+
refreshToken: string | null;
|
|
1443
|
+
tokenCreatedAt: Date | null;
|
|
1444
|
+
tokenValidUpTo: Date | null;
|
|
1445
|
+
createdAt: Date;
|
|
1446
|
+
updatedAt: Date;
|
|
1447
|
+
user: User;
|
|
1448
|
+
userId: number | null;
|
|
1449
|
+
}
|
|
1555
1450
|
export declare class LineItems extends BondBaseEntity {
|
|
1556
1451
|
constructor();
|
|
1557
1452
|
defineIsReverted(): void;
|
|
@@ -1607,40 +1502,79 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1607
1502
|
displayUnitPrice?: number;
|
|
1608
1503
|
displayQuantity?: number;
|
|
1609
1504
|
}
|
|
1610
|
-
export declare class
|
|
1611
|
-
id: number;
|
|
1612
|
-
provider: string;
|
|
1613
|
-
providerId: string | null;
|
|
1614
|
-
parentId: number | null;
|
|
1615
|
-
parentType: string | null;
|
|
1616
|
-
status: number | null;
|
|
1617
|
-
token: string | null;
|
|
1618
|
-
refreshToken: string | null;
|
|
1619
|
-
tokenCreatedAt: Date | null;
|
|
1620
|
-
tokenValidUpTo: Date | null;
|
|
1621
|
-
createdAt: Date;
|
|
1622
|
-
updatedAt: Date;
|
|
1623
|
-
user: User;
|
|
1624
|
-
userId: number | null;
|
|
1625
|
-
}
|
|
1626
|
-
export declare class Media extends BondBaseEntity {
|
|
1627
|
-
url: string;
|
|
1505
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1628
1506
|
name: string | null;
|
|
1629
|
-
title: string | null;
|
|
1630
|
-
mediaKey: string | null;
|
|
1631
1507
|
description: string | null;
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1508
|
+
allowBookingRequest: boolean | null;
|
|
1509
|
+
addressName: string | null;
|
|
1510
|
+
shortDescription: string | null;
|
|
1511
|
+
waiverDoc: string | null;
|
|
1512
|
+
bookingStateStatus: number | null;
|
|
1513
|
+
timezone: string | null;
|
|
1514
|
+
shortUrl: string | null;
|
|
1515
|
+
leagueType: string | null;
|
|
1516
|
+
addressId: number | null;
|
|
1517
|
+
sportConfigData: any | null;
|
|
1518
|
+
creatorId: number | null;
|
|
1519
|
+
creatorType: string | null;
|
|
1520
|
+
userCreatorId: number | null;
|
|
1521
|
+
ownerId: number | null;
|
|
1522
|
+
sports: number[] | null;
|
|
1523
|
+
mainMediaId: number | null;
|
|
1524
|
+
publishedDate: Date | null;
|
|
1525
|
+
isPublished: boolean | null;
|
|
1526
|
+
isVerified: boolean | null;
|
|
1527
|
+
questionnaireId: number | null;
|
|
1528
|
+
logo?: Media;
|
|
1529
|
+
seasons: LeagueSeason[];
|
|
1530
|
+
}
|
|
1531
|
+
export declare class Group extends BondBaseEntity {
|
|
1532
|
+
name: string;
|
|
1533
|
+
description?: string;
|
|
1534
|
+
status: GroupStatusEnum;
|
|
1535
|
+
maxCapacity?: number;
|
|
1536
|
+
mainMediaId?: number;
|
|
1537
|
+
minAgeYears?: number;
|
|
1538
|
+
maxAgeYears?: number;
|
|
1539
|
+
gender: GenderEnum;
|
|
1540
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1541
|
+
sports: SportsEnum[];
|
|
1542
|
+
questionnaires?: number[];
|
|
1543
|
+
captainUserId?: number;
|
|
1544
|
+
members: ISeasonAttendeeInfo[];
|
|
1641
1545
|
users: User[];
|
|
1642
|
-
|
|
1643
|
-
|
|
1546
|
+
}
|
|
1547
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1548
|
+
membership: Membership;
|
|
1549
|
+
membershipId: number;
|
|
1550
|
+
productUserId: number;
|
|
1551
|
+
productUser?: ProductsUsers;
|
|
1552
|
+
userId: number;
|
|
1553
|
+
membershipType: MembershipTypeEnum;
|
|
1554
|
+
durationMonths?: number;
|
|
1555
|
+
startDate?: string;
|
|
1556
|
+
endDate?: string;
|
|
1557
|
+
renewalOfMemberId?: number;
|
|
1558
|
+
isAutoRenew?: boolean;
|
|
1559
|
+
nextPaymentMethodId?: string;
|
|
1560
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1561
|
+
answerTitleIds?: number[];
|
|
1562
|
+
cancelledAt?: Date | null;
|
|
1563
|
+
cancellationReason?: string;
|
|
1564
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1565
|
+
isImported?: boolean;
|
|
1566
|
+
}
|
|
1567
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1568
|
+
customerId: number;
|
|
1569
|
+
userId: number;
|
|
1570
|
+
amount: number;
|
|
1571
|
+
invoiceId?: number;
|
|
1572
|
+
orderId?: number;
|
|
1573
|
+
description?: string;
|
|
1574
|
+
deletedAt?: Date;
|
|
1575
|
+
customer: Customer;
|
|
1576
|
+
order: Order;
|
|
1577
|
+
invoice: Invoice;
|
|
1644
1578
|
}
|
|
1645
1579
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1646
1580
|
name: string;
|
|
@@ -1670,43 +1604,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1670
1604
|
isAutoRenew?: boolean;
|
|
1671
1605
|
purchasedResources: PurchasedResource[];
|
|
1672
1606
|
}
|
|
1673
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1674
|
-
membership: Membership;
|
|
1675
|
-
membershipId: number;
|
|
1676
|
-
productUserId: number;
|
|
1677
|
-
productUser?: ProductsUsers;
|
|
1678
|
-
userId: number;
|
|
1679
|
-
membershipType: MembershipTypeEnum;
|
|
1680
|
-
durationMonths?: number;
|
|
1681
|
-
startDate?: string;
|
|
1682
|
-
endDate?: string;
|
|
1683
|
-
renewalOfMemberId?: number;
|
|
1684
|
-
isAutoRenew?: boolean;
|
|
1685
|
-
nextPaymentMethodId?: string;
|
|
1686
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1687
|
-
answerTitleIds?: number[];
|
|
1688
|
-
cancelledAt?: Date | null;
|
|
1689
|
-
cancellationReason?: string;
|
|
1690
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1691
|
-
isImported?: boolean;
|
|
1692
|
-
}
|
|
1693
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1694
|
-
email: string | null;
|
|
1695
|
-
notificationType: NotificationTypeEnum | null;
|
|
1696
|
-
resourceId: number | null;
|
|
1697
|
-
resourceType: string | null;
|
|
1698
|
-
}
|
|
1699
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1700
|
-
id: number;
|
|
1701
|
-
dayOfWeek: number;
|
|
1702
|
-
open: string;
|
|
1703
|
-
close: string;
|
|
1704
|
-
facilityId: number;
|
|
1705
|
-
createdAt: Date;
|
|
1706
|
-
updatedAt: Date;
|
|
1707
|
-
deletedAt?: Date;
|
|
1708
|
-
facility: Facility;
|
|
1709
|
-
}
|
|
1710
1607
|
export declare class Order extends BondBaseEntity {
|
|
1711
1608
|
orderId: string | null;
|
|
1712
1609
|
price: number | null;
|
|
@@ -1731,14 +1628,23 @@ export declare class Order extends BondBaseEntity {
|
|
|
1731
1628
|
orderNotes: OrderNote[];
|
|
1732
1629
|
slots: Slot[];
|
|
1733
1630
|
}
|
|
1734
|
-
export declare class
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1631
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1632
|
+
facilityId: number;
|
|
1633
|
+
resourceId: number;
|
|
1634
|
+
}
|
|
1635
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1636
|
+
id: number;
|
|
1637
|
+
dayOfWeek: number;
|
|
1638
|
+
open: string;
|
|
1639
|
+
close: string;
|
|
1640
|
+
facilityId: number;
|
|
1641
|
+
createdAt: Date;
|
|
1642
|
+
updatedAt: Date;
|
|
1643
|
+
deletedAt?: Date;
|
|
1644
|
+
facility: Facility;
|
|
1645
|
+
}
|
|
1646
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1647
|
+
organizationId: number;
|
|
1742
1648
|
}
|
|
1743
1649
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1744
1650
|
orderId: number;
|
|
@@ -1748,31 +1654,28 @@ export declare class OrderToInvoice extends BondBaseEntity {
|
|
|
1748
1654
|
paidAmount?: number;
|
|
1749
1655
|
currency: CurrencyEnum;
|
|
1750
1656
|
}
|
|
1751
|
-
export declare class
|
|
1752
|
-
|
|
1657
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1658
|
+
email: string | null;
|
|
1659
|
+
notificationType: NotificationTypeEnum | null;
|
|
1660
|
+
resourceId: number | null;
|
|
1661
|
+
resourceType: string | null;
|
|
1753
1662
|
}
|
|
1754
|
-
export declare class
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
organizationId: number;
|
|
1763
|
-
creatorId: number;
|
|
1764
|
-
creatorType: string;
|
|
1765
|
-
userCreatorId: number;
|
|
1766
|
-
ownerId: number;
|
|
1767
|
-
addon: boolean;
|
|
1768
|
-
isMandatory: boolean;
|
|
1769
|
-
productId: number;
|
|
1663
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1664
|
+
content: string;
|
|
1665
|
+
creatingUserId: number;
|
|
1666
|
+
user: User;
|
|
1667
|
+
isPublic: boolean;
|
|
1668
|
+
deletedAt: Date;
|
|
1669
|
+
orderId: number;
|
|
1670
|
+
order: Order;
|
|
1770
1671
|
}
|
|
1771
|
-
export declare class
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1672
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1673
|
+
code: string;
|
|
1674
|
+
}
|
|
1675
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1676
|
+
groupId: number;
|
|
1677
|
+
divisionId: number;
|
|
1678
|
+
deletedAt?: Date;
|
|
1776
1679
|
}
|
|
1777
1680
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1778
1681
|
paymentPlanId: number;
|
|
@@ -1780,41 +1683,6 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1780
1683
|
deletedAt?: Date;
|
|
1781
1684
|
paymentPlan: ProductPaymentPlan;
|
|
1782
1685
|
}
|
|
1783
|
-
export declare class PaymentV1 extends BondBaseEntity {
|
|
1784
|
-
userId: number | null;
|
|
1785
|
-
ownerId: number | null;
|
|
1786
|
-
parentId: number | null;
|
|
1787
|
-
parentType: string | null;
|
|
1788
|
-
idAtProvider: string | null;
|
|
1789
|
-
providerType: number | null;
|
|
1790
|
-
providerExtraData: string | null;
|
|
1791
|
-
requestData: string | null;
|
|
1792
|
-
responseData: string | null;
|
|
1793
|
-
status: number | null;
|
|
1794
|
-
price: number | null;
|
|
1795
|
-
currency: string | null;
|
|
1796
|
-
locked: boolean | null;
|
|
1797
|
-
numberOfTries: number | null;
|
|
1798
|
-
installmentId: number | null;
|
|
1799
|
-
orderId: string | null;
|
|
1800
|
-
}
|
|
1801
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1802
|
-
productId: number;
|
|
1803
|
-
product: Product;
|
|
1804
|
-
name: string | null;
|
|
1805
|
-
price: number;
|
|
1806
|
-
currency: CurrencyEnum;
|
|
1807
|
-
paymentProcessorId: number | null;
|
|
1808
|
-
startDate: Date;
|
|
1809
|
-
endDate: Date;
|
|
1810
|
-
groupId?: number;
|
|
1811
|
-
groupName?: string;
|
|
1812
|
-
originalPrice?: number;
|
|
1813
|
-
deletedAt?: Date;
|
|
1814
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1815
|
-
discountValue?: number;
|
|
1816
|
-
taxIncludedPrice?: number;
|
|
1817
|
-
}
|
|
1818
1686
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1819
1687
|
name: string;
|
|
1820
1688
|
quantity: number;
|
|
@@ -1865,6 +1733,23 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1865
1733
|
activityTimes: ActivityTimes[];
|
|
1866
1734
|
purchasedResources: PurchasedResource[];
|
|
1867
1735
|
}
|
|
1736
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1737
|
+
productId: number;
|
|
1738
|
+
product: Product;
|
|
1739
|
+
name: string | null;
|
|
1740
|
+
price: number;
|
|
1741
|
+
currency: CurrencyEnum;
|
|
1742
|
+
paymentProcessorId: number | null;
|
|
1743
|
+
startDate: Date;
|
|
1744
|
+
endDate: Date;
|
|
1745
|
+
groupId?: number;
|
|
1746
|
+
groupName?: string;
|
|
1747
|
+
originalPrice?: number;
|
|
1748
|
+
deletedAt?: Date;
|
|
1749
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1750
|
+
discountValue?: number;
|
|
1751
|
+
taxIncludedPrice?: number;
|
|
1752
|
+
}
|
|
1868
1753
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1869
1754
|
parentProductId: number;
|
|
1870
1755
|
childProductId: number;
|
|
@@ -1904,16 +1789,11 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
|
|
|
1904
1789
|
productId: number;
|
|
1905
1790
|
variantTitleId: number;
|
|
1906
1791
|
}
|
|
1907
|
-
export declare class
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
productId: number;
|
|
1913
|
-
customerId: number;
|
|
1914
|
-
customer: Customer;
|
|
1915
|
-
deletedAt?: Date;
|
|
1916
|
-
product: Product;
|
|
1792
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1793
|
+
token: string | null;
|
|
1794
|
+
userId: number | null;
|
|
1795
|
+
validUntil: Date | null;
|
|
1796
|
+
active: boolean | null;
|
|
1917
1797
|
}
|
|
1918
1798
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1919
1799
|
productId: number;
|
|
@@ -1932,18 +1812,138 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1932
1812
|
slots?: Slot[];
|
|
1933
1813
|
addons?: Addon[];
|
|
1934
1814
|
}
|
|
1935
|
-
export declare class
|
|
1936
|
-
type:
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1815
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1816
|
+
type: ProgramHighlightTypeEnum;
|
|
1817
|
+
ordinal: number | null;
|
|
1818
|
+
title: string | null;
|
|
1819
|
+
data: any | null;
|
|
1820
|
+
program: Program;
|
|
1821
|
+
deletedAt?: Date;
|
|
1822
|
+
}
|
|
1823
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1824
|
+
constructor();
|
|
1825
|
+
defineCalculatedDateTimeProps(): void;
|
|
1826
|
+
title: string | null;
|
|
1827
|
+
description: string | null;
|
|
1828
|
+
eventType: number | null;
|
|
1829
|
+
startDate: Date | null;
|
|
1830
|
+
endDate: Date | null;
|
|
1831
|
+
price: number | null;
|
|
1832
|
+
venueName: string | null;
|
|
1833
|
+
status: EventStatusEnum;
|
|
1834
|
+
private: boolean | null;
|
|
1835
|
+
guestsCanInvite: boolean | null;
|
|
1836
|
+
venueId: number | null;
|
|
1837
|
+
addressId: number | null;
|
|
1838
|
+
participantsLimit: number | null;
|
|
1839
|
+
parentId: number | null;
|
|
1840
|
+
parentType: string | null;
|
|
1841
|
+
timezone: string | null;
|
|
1842
|
+
eventSubType: string | null;
|
|
1843
|
+
eventSubId: number | null;
|
|
1844
|
+
metaData: any | null;
|
|
1845
|
+
groupingId: string | null;
|
|
1846
|
+
redirectUri: string | null;
|
|
1847
|
+
externalId: string | null;
|
|
1848
|
+
paymentSettings: any | null;
|
|
1849
|
+
whoCanJoin: string | null;
|
|
1850
|
+
spaceId?: number;
|
|
1851
|
+
bookedSessionId: number | null;
|
|
1852
|
+
creatorId: number | null;
|
|
1853
|
+
creatorType: string | null;
|
|
1854
|
+
userCreatorId: number | null;
|
|
1855
|
+
ownerId: number | null;
|
|
1856
|
+
sports: number[] | null;
|
|
1857
|
+
isVerified: boolean | null;
|
|
1858
|
+
mainMediaId: number | null;
|
|
1859
|
+
minAge: number | null;
|
|
1860
|
+
maxAge: number | null;
|
|
1861
|
+
gender: number | null;
|
|
1862
|
+
questionnaireId: number | null;
|
|
1863
|
+
eventAttendees: EventAttendee[];
|
|
1864
|
+
deletedAt?: Date;
|
|
1865
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1866
|
+
startDateString: string;
|
|
1867
|
+
endDateString: string;
|
|
1868
|
+
startTime: string;
|
|
1869
|
+
endTime: string;
|
|
1870
|
+
publicNotes?: string;
|
|
1871
|
+
privateNotes?: string;
|
|
1872
|
+
productResources: ProductResource[];
|
|
1873
|
+
parentSession: ProgramSeason;
|
|
1874
|
+
activityTimes: ActivityTimes[];
|
|
1875
|
+
slots: Slot[];
|
|
1876
|
+
purchasedResources: PurchasedResource[];
|
|
1877
|
+
}
|
|
1878
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1879
|
+
name?: string;
|
|
1880
|
+
description?: string;
|
|
1881
|
+
price: number;
|
|
1882
|
+
status: string;
|
|
1883
|
+
percentage: number;
|
|
1884
|
+
quantity: number;
|
|
1885
|
+
duration: number;
|
|
1886
|
+
organizationId: number;
|
|
1887
|
+
creatorId: number;
|
|
1888
|
+
creatorType: string;
|
|
1889
|
+
userCreatorId: number;
|
|
1890
|
+
ownerId: number;
|
|
1891
|
+
addon: boolean;
|
|
1892
|
+
isMandatory: boolean;
|
|
1893
|
+
productId: number;
|
|
1894
|
+
}
|
|
1895
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
1896
|
+
productUserId: number;
|
|
1897
|
+
resourceId: number;
|
|
1898
|
+
resourceType: ResourceNameTypeEnum;
|
|
1899
|
+
status: PurchasedResourceStatusEnum;
|
|
1900
|
+
startDate?: string;
|
|
1901
|
+
startTime?: string;
|
|
1902
|
+
endDate?: string;
|
|
1903
|
+
endTime?: string;
|
|
1904
|
+
productUser?: ProductsUsers;
|
|
1905
|
+
lineItem?: LineItems;
|
|
1906
|
+
eventAttendee?: EventAttendee;
|
|
1907
|
+
seasonAttendee?: SeasonAttendee;
|
|
1908
|
+
leagueAttendee?: SeasonPool;
|
|
1909
|
+
membership?: Membership;
|
|
1910
|
+
program?: Program;
|
|
1911
|
+
programSeason?: ProgramSeason;
|
|
1912
|
+
leagueSeason?: LeagueSeason;
|
|
1913
|
+
space?: Resource;
|
|
1914
|
+
product?: Product;
|
|
1915
|
+
event?: Event;
|
|
1916
|
+
}
|
|
1917
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1918
|
+
userId: number | null;
|
|
1919
|
+
ownerId: number | null;
|
|
1920
|
+
parentId: number | null;
|
|
1921
|
+
parentType: string | null;
|
|
1922
|
+
idAtProvider: string | null;
|
|
1923
|
+
providerType: number | null;
|
|
1924
|
+
providerExtraData: string | null;
|
|
1925
|
+
requestData: string | null;
|
|
1926
|
+
responseData: string | null;
|
|
1927
|
+
status: number | null;
|
|
1928
|
+
price: number | null;
|
|
1929
|
+
currency: string | null;
|
|
1930
|
+
locked: boolean | null;
|
|
1931
|
+
numberOfTries: number | null;
|
|
1932
|
+
installmentId: number | null;
|
|
1933
|
+
orderId: string | null;
|
|
1934
|
+
}
|
|
1935
|
+
export declare class Program extends BondBaseEntity {
|
|
1936
|
+
type: ProgramTypesEnum;
|
|
1937
|
+
name: string;
|
|
1938
|
+
sport: SportsEnum;
|
|
1939
|
+
minAge: string;
|
|
1940
|
+
maxAge: string;
|
|
1941
|
+
gender: GenderEnum;
|
|
1942
|
+
level: LevelOfPlayEnum[] | null;
|
|
1943
|
+
description: string | null;
|
|
1944
|
+
GL?: string | null;
|
|
1945
|
+
status: PublishingStatusEnum;
|
|
1946
|
+
mainMedia: Media;
|
|
1947
1947
|
organizationId: number;
|
|
1948
1948
|
userCreatorId: number;
|
|
1949
1949
|
programHighlights: ProgramHighlights[];
|
|
@@ -1954,13 +1954,20 @@ export declare class Program extends BondBaseEntity {
|
|
|
1954
1954
|
programSeason: ProgramSeason[];
|
|
1955
1955
|
purchasedResources: PurchasedResource[];
|
|
1956
1956
|
}
|
|
1957
|
-
export declare class
|
|
1958
|
-
type: ProgramHighlightTypeEnum;
|
|
1959
|
-
ordinal: number | null;
|
|
1957
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1960
1958
|
title: string | null;
|
|
1961
|
-
|
|
1962
|
-
|
|
1959
|
+
answerTitle: AnswerTitle;
|
|
1960
|
+
}
|
|
1961
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1962
|
+
productId: number;
|
|
1963
|
+
variantId: number;
|
|
1964
|
+
}
|
|
1965
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1966
|
+
productId: number;
|
|
1967
|
+
customerId: number;
|
|
1968
|
+
customer: Customer;
|
|
1963
1969
|
deletedAt?: Date;
|
|
1970
|
+
product: Product;
|
|
1964
1971
|
}
|
|
1965
1972
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1966
1973
|
programId: number;
|
|
@@ -2016,51 +2023,17 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2016
2023
|
facility: Facility;
|
|
2017
2024
|
purchasedResources: PurchasedResource[];
|
|
2018
2025
|
}
|
|
2019
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2020
|
-
productUserId: number;
|
|
2021
|
-
resourceId: number;
|
|
2022
|
-
resourceType: ResourceNameTypeEnum;
|
|
2023
|
-
status: PurchasedResourceStatusEnum;
|
|
2024
|
-
startDate?: string;
|
|
2025
|
-
startTime?: string;
|
|
2026
|
-
endDate?: string;
|
|
2027
|
-
endTime?: string;
|
|
2028
|
-
productUser?: ProductsUsers;
|
|
2029
|
-
lineItem?: LineItems;
|
|
2030
|
-
eventAttendee?: EventAttendee;
|
|
2031
|
-
seasonAttendee?: SeasonAttendee;
|
|
2032
|
-
leagueAttendee?: SeasonPool;
|
|
2033
|
-
membership?: Membership;
|
|
2034
|
-
program?: Program;
|
|
2035
|
-
programSeason?: ProgramSeason;
|
|
2036
|
-
leagueSeason?: LeagueSeason;
|
|
2037
|
-
space?: Resource;
|
|
2038
|
-
product?: Product;
|
|
2039
|
-
event?: Event;
|
|
2040
|
-
}
|
|
2041
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2042
|
-
title: string | null;
|
|
2043
|
-
answerTitle: AnswerTitle;
|
|
2044
|
-
}
|
|
2045
|
-
export declare class Questions extends BondBaseEntity {
|
|
2046
|
-
questionType: string | null;
|
|
2047
|
-
ordinal: number | null;
|
|
2048
|
-
pageOrdinal: number | null;
|
|
2049
|
-
isActive: boolean | null;
|
|
2050
|
-
isMandatory: boolean | null;
|
|
2051
|
-
metaData: any | null;
|
|
2052
|
-
question: string | null;
|
|
2053
|
-
creatorId: number | null;
|
|
2054
|
-
creatorType: string | null;
|
|
2055
|
-
userCreatorId: number | null;
|
|
2056
|
-
ownerId: number | null;
|
|
2057
|
-
questionnaireId: number | null;
|
|
2058
|
-
}
|
|
2059
2026
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2060
2027
|
reason: string;
|
|
2061
2028
|
ordinal: number;
|
|
2062
2029
|
deletedAt: Date;
|
|
2063
2030
|
}
|
|
2031
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2032
|
+
name: string | null;
|
|
2033
|
+
ordinal: number | null;
|
|
2034
|
+
seasonId: number | null;
|
|
2035
|
+
color: string | null;
|
|
2036
|
+
}
|
|
2064
2037
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2065
2038
|
resourceType: ResourceNameTypeEnum;
|
|
2066
2039
|
resourceId: number;
|
|
@@ -2104,33 +2077,30 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2104
2077
|
publicNotes?: string;
|
|
2105
2078
|
slots?: Slot[];
|
|
2106
2079
|
}
|
|
2107
|
-
export declare class
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
facility: Facility;
|
|
2132
|
-
purchasedResources: PurchasedResource[];
|
|
2133
|
-
linkSEO: string;
|
|
2080
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2081
|
+
seasonId?: number;
|
|
2082
|
+
userId?: number;
|
|
2083
|
+
status?: number;
|
|
2084
|
+
entityId?: number;
|
|
2085
|
+
entityType?: string;
|
|
2086
|
+
groupId?: string;
|
|
2087
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2088
|
+
metadata?: any;
|
|
2089
|
+
paymentId?: number;
|
|
2090
|
+
externalAssign?: boolean;
|
|
2091
|
+
productUserId?: number;
|
|
2092
|
+
purchasedResource: PurchasedResource;
|
|
2093
|
+
season: LeagueSeason;
|
|
2094
|
+
}
|
|
2095
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2096
|
+
seasonId: number | null;
|
|
2097
|
+
teamId: number | null;
|
|
2098
|
+
standingPosition: number | null;
|
|
2099
|
+
statistics: any | null;
|
|
2100
|
+
points: number | null;
|
|
2101
|
+
divisionId: number | null;
|
|
2102
|
+
metaData: any | null;
|
|
2103
|
+
team: Team;
|
|
2134
2104
|
}
|
|
2135
2105
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2136
2106
|
name: string;
|
|
@@ -2139,62 +2109,19 @@ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
|
2139
2109
|
childrenSlotIds: number[];
|
|
2140
2110
|
deletedAt?: Date;
|
|
2141
2111
|
}
|
|
2142
|
-
export declare class
|
|
2143
|
-
|
|
2144
|
-
alias: string[] | null;
|
|
2145
|
-
addressId: number | null;
|
|
2146
|
-
website: string | null;
|
|
2147
|
-
phone: string | null;
|
|
2148
|
-
dataId: number | null;
|
|
2149
|
-
}
|
|
2150
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2151
|
-
status: RequestStatusEnum;
|
|
2152
|
-
paymentStatus: PaymentStatusEnum;
|
|
2153
|
-
paymentId?: number;
|
|
2154
|
-
productId?: number;
|
|
2155
|
-
attendeeId: number;
|
|
2156
|
-
attendee: User;
|
|
2157
|
-
seasonId: number;
|
|
2158
|
-
season: ProgramSeason;
|
|
2159
|
-
productUserId?: number;
|
|
2160
|
-
answerTitleIds?: number[];
|
|
2161
|
-
deletedAt?: Date;
|
|
2162
|
-
purchasedResource: PurchasedResource;
|
|
2163
|
-
}
|
|
2164
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2165
|
-
name: string | null;
|
|
2112
|
+
export declare class Questions extends BondBaseEntity {
|
|
2113
|
+
questionType: string | null;
|
|
2166
2114
|
ordinal: number | null;
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
export declare class SeasonPool extends BondBaseEntity {
|
|
2171
|
-
seasonId?: number;
|
|
2172
|
-
userId?: number;
|
|
2173
|
-
status?: number;
|
|
2174
|
-
entityId?: number;
|
|
2175
|
-
entityType?: string;
|
|
2176
|
-
groupId?: string;
|
|
2177
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2178
|
-
metadata?: any;
|
|
2179
|
-
paymentId?: number;
|
|
2180
|
-
externalAssign?: boolean;
|
|
2181
|
-
productUserId?: number;
|
|
2182
|
-
purchasedResource: PurchasedResource;
|
|
2183
|
-
season: LeagueSeason;
|
|
2184
|
-
}
|
|
2185
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2186
|
-
seasonId: number | null;
|
|
2187
|
-
teamId: number | null;
|
|
2188
|
-
standingPosition: number | null;
|
|
2189
|
-
statistics: any | null;
|
|
2190
|
-
points: number | null;
|
|
2191
|
-
divisionId: number | null;
|
|
2115
|
+
pageOrdinal: number | null;
|
|
2116
|
+
isActive: boolean | null;
|
|
2117
|
+
isMandatory: boolean | null;
|
|
2192
2118
|
metaData: any | null;
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2119
|
+
question: string | null;
|
|
2120
|
+
creatorId: number | null;
|
|
2121
|
+
creatorType: string | null;
|
|
2122
|
+
userCreatorId: number | null;
|
|
2123
|
+
ownerId: number | null;
|
|
2124
|
+
questionnaireId: number | null;
|
|
2198
2125
|
}
|
|
2199
2126
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2200
2127
|
name: string;
|
|
@@ -2207,21 +2134,28 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2207
2134
|
subcategories: Subcategory[];
|
|
2208
2135
|
shifts?: Shift[];
|
|
2209
2136
|
}
|
|
2210
|
-
export declare class
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
productType: ProductTypesEnum;
|
|
2214
|
-
deletedAt?: Date;
|
|
2215
|
-
station: Station;
|
|
2216
|
-
subcategory: Subcategory;
|
|
2137
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2138
|
+
blockingSpaceId: number;
|
|
2139
|
+
blockedSpaceId: number;
|
|
2217
2140
|
}
|
|
2218
|
-
export declare class
|
|
2219
|
-
|
|
2220
|
-
name: string;
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2141
|
+
export declare class Media extends BondBaseEntity {
|
|
2142
|
+
url: string;
|
|
2143
|
+
name: string | null;
|
|
2144
|
+
title: string | null;
|
|
2145
|
+
mediaKey: string | null;
|
|
2146
|
+
description: string | null;
|
|
2147
|
+
provider: string | null;
|
|
2148
|
+
mediaType: number;
|
|
2149
|
+
fileType: string | null;
|
|
2150
|
+
isDefault: boolean | null;
|
|
2151
|
+
creatorId: number | null;
|
|
2152
|
+
creatorType: string | null;
|
|
2153
|
+
userCreatorId: number | null;
|
|
2154
|
+
ownerId: number | null;
|
|
2155
|
+
createdBy: number | null;
|
|
2156
|
+
users: User[];
|
|
2157
|
+
programs: Program[];
|
|
2158
|
+
memberships: Membership[];
|
|
2225
2159
|
}
|
|
2226
2160
|
export declare class Team extends BondBaseEntity {
|
|
2227
2161
|
name: string | null;
|
|
@@ -2257,6 +2191,14 @@ export declare class Team extends BondBaseEntity {
|
|
|
2257
2191
|
gender: number | null;
|
|
2258
2192
|
questionnaireId: number | null;
|
|
2259
2193
|
}
|
|
2194
|
+
export declare class School extends BondBaseEntity {
|
|
2195
|
+
name: string | null;
|
|
2196
|
+
alias: string[] | null;
|
|
2197
|
+
addressId: number | null;
|
|
2198
|
+
website: string | null;
|
|
2199
|
+
phone: string | null;
|
|
2200
|
+
dataId: number | null;
|
|
2201
|
+
}
|
|
2260
2202
|
export declare class TeamInvite extends BondBaseEntity {
|
|
2261
2203
|
email: string;
|
|
2262
2204
|
teamId: number;
|
|
@@ -2266,14 +2208,13 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2266
2208
|
tokenExpirationDate: Date;
|
|
2267
2209
|
isUsed: boolean;
|
|
2268
2210
|
}
|
|
2269
|
-
export declare class
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
user: User;
|
|
2211
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2212
|
+
productType: ProductTypesEnum;
|
|
2213
|
+
name: string;
|
|
2214
|
+
ordinal?: number;
|
|
2215
|
+
deletedAt?: Date;
|
|
2216
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2217
|
+
stations: Station[];
|
|
2277
2218
|
}
|
|
2278
2219
|
export declare class User extends BondBaseEntity {
|
|
2279
2220
|
firstName: string | null;
|
|
@@ -2314,29 +2255,69 @@ export declare class User extends BondBaseEntity {
|
|
|
2314
2255
|
orderNotes: OrderNote[];
|
|
2315
2256
|
invoiceNotes: InvoiceNote[];
|
|
2316
2257
|
}
|
|
2317
|
-
export declare class
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2258
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2259
|
+
stationId: number;
|
|
2260
|
+
subcategoryId: number;
|
|
2261
|
+
productType: ProductTypesEnum;
|
|
2262
|
+
deletedAt?: Date;
|
|
2263
|
+
station: Station;
|
|
2264
|
+
subcategory: Subcategory;
|
|
2322
2265
|
}
|
|
2323
|
-
export declare class
|
|
2324
|
-
|
|
2325
|
-
userId: number;
|
|
2326
|
-
|
|
2266
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2267
|
+
teamId: number | null;
|
|
2268
|
+
userId: number | null;
|
|
2269
|
+
paymentId: number | null;
|
|
2270
|
+
hasPaid: boolean | null;
|
|
2271
|
+
status: TeamMemberStatusEnum | null;
|
|
2272
|
+
role: TeamMemberRoleEnum;
|
|
2327
2273
|
user: User;
|
|
2328
|
-
familyAccount: FamilyAccount;
|
|
2329
|
-
deletedAt?: Date;
|
|
2330
2274
|
}
|
|
2331
|
-
export declare class
|
|
2332
|
-
|
|
2333
|
-
|
|
2275
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2276
|
+
status: RequestStatusEnum;
|
|
2277
|
+
paymentStatus: PaymentStatusEnum;
|
|
2278
|
+
paymentId?: number;
|
|
2279
|
+
productId?: number;
|
|
2280
|
+
attendeeId: number;
|
|
2281
|
+
attendee: User;
|
|
2282
|
+
seasonId: number;
|
|
2283
|
+
season: ProgramSeason;
|
|
2284
|
+
productUserId?: number;
|
|
2285
|
+
answerTitleIds?: number[];
|
|
2334
2286
|
deletedAt?: Date;
|
|
2287
|
+
purchasedResource: PurchasedResource;
|
|
2335
2288
|
}
|
|
2336
2289
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2337
2290
|
name: string;
|
|
2338
2291
|
variants: Variant[];
|
|
2339
2292
|
}
|
|
2293
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2294
|
+
name: string;
|
|
2295
|
+
resourceType: ResourceTypeEnum;
|
|
2296
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2297
|
+
description?: string;
|
|
2298
|
+
longDescription?: string;
|
|
2299
|
+
surface?: SurfacesEnum;
|
|
2300
|
+
properties?: SpacePropertiesEnum[];
|
|
2301
|
+
mainMediaId?: number;
|
|
2302
|
+
mainMedia: Media;
|
|
2303
|
+
sports: SportsEnum[];
|
|
2304
|
+
width?: number;
|
|
2305
|
+
length?: number;
|
|
2306
|
+
amenities?: AmenitiesEnum[];
|
|
2307
|
+
parentSpaceId?: number;
|
|
2308
|
+
ordinal?: number;
|
|
2309
|
+
isAddOn: boolean;
|
|
2310
|
+
ages?: ResourceAgesEnum;
|
|
2311
|
+
deletedAt?: Date;
|
|
2312
|
+
activityTimes: ActivityTimes[];
|
|
2313
|
+
facilities: Facility[];
|
|
2314
|
+
slots?: Slot[];
|
|
2315
|
+
addons?: Addon[];
|
|
2316
|
+
facilityId: number;
|
|
2317
|
+
facility: Facility;
|
|
2318
|
+
purchasedResources: PurchasedResource[];
|
|
2319
|
+
linkSEO: string;
|
|
2320
|
+
}
|
|
2340
2321
|
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2341
2322
|
name: string;
|
|
2342
2323
|
variantTitleId: number;
|
|
@@ -2351,6 +2332,25 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2351
2332
|
membershipCollectionId?: string;
|
|
2352
2333
|
programsCollectionId?: string;
|
|
2353
2334
|
}
|
|
2335
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2336
|
+
familyAccountId: number;
|
|
2337
|
+
userId: number;
|
|
2338
|
+
isAdmin: boolean;
|
|
2339
|
+
user: User;
|
|
2340
|
+
familyAccount: FamilyAccount;
|
|
2341
|
+
deletedAt?: Date;
|
|
2342
|
+
}
|
|
2343
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2344
|
+
groupId: number;
|
|
2345
|
+
userId: number;
|
|
2346
|
+
deletedAt?: Date;
|
|
2347
|
+
}
|
|
2348
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2349
|
+
entityId: number | null;
|
|
2350
|
+
userId: number | null;
|
|
2351
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2352
|
+
user: User;
|
|
2353
|
+
}
|
|
2354
2354
|
export declare enum EntitlementTermsTypesEnum {
|
|
2355
2355
|
QUESTION = "question",
|
|
2356
2356
|
CITY = "city",
|
|
@@ -3185,7 +3185,7 @@ export interface ISessionsLandingPage {
|
|
|
3185
3185
|
lateRegistrationStartDate?: Date;
|
|
3186
3186
|
lateRegistrationEndDate?: Date;
|
|
3187
3187
|
attendeeCount?: number;
|
|
3188
|
-
segmentsOrEvents:
|
|
3188
|
+
segmentsOrEvents: "segment" | "event";
|
|
3189
3189
|
}
|
|
3190
3190
|
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3191
3191
|
hasRequiredMembership: boolean;
|
|
@@ -3243,6 +3243,57 @@ export declare class ColumnNumericTransformer {
|
|
|
3243
3243
|
from(data: string): number;
|
|
3244
3244
|
}
|
|
3245
3245
|
export declare function convertToNumber(data: string): number;
|
|
3246
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3247
|
+
matchId: number | null;
|
|
3248
|
+
ordinal: number | null;
|
|
3249
|
+
outcomeOrdinal: number | null;
|
|
3250
|
+
resultMetaData: any | null;
|
|
3251
|
+
points: number | null;
|
|
3252
|
+
score: number | null;
|
|
3253
|
+
gameSlotId: number | null;
|
|
3254
|
+
}
|
|
3255
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3256
|
+
entityType: string;
|
|
3257
|
+
entityId: number;
|
|
3258
|
+
}
|
|
3259
|
+
export declare class Lock extends BondBaseEntity {
|
|
3260
|
+
name: string;
|
|
3261
|
+
locked?: Date;
|
|
3262
|
+
}
|
|
3263
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3264
|
+
seasonId: number;
|
|
3265
|
+
ordinal?: number;
|
|
3266
|
+
divisionId?: number;
|
|
3267
|
+
name: string;
|
|
3268
|
+
}
|
|
3269
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3270
|
+
key?: string;
|
|
3271
|
+
vaule?: string;
|
|
3272
|
+
version: number;
|
|
3273
|
+
organization: Organization;
|
|
3274
|
+
}
|
|
3275
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3276
|
+
organisationId: number | null;
|
|
3277
|
+
userId: number | null;
|
|
3278
|
+
}
|
|
3279
|
+
export declare class ProductIdsDto {
|
|
3280
|
+
productIds?: number[];
|
|
3281
|
+
}
|
|
3282
|
+
export declare class ProductImportDto {
|
|
3283
|
+
product: Product;
|
|
3284
|
+
prices: Price[];
|
|
3285
|
+
resourceIds: number[];
|
|
3286
|
+
oldId: number;
|
|
3287
|
+
}
|
|
3288
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3289
|
+
mainAdminUserId?: number;
|
|
3290
|
+
}
|
|
3291
|
+
export declare class CreateMonitorConfigDto {
|
|
3292
|
+
facilityId: number;
|
|
3293
|
+
name: string;
|
|
3294
|
+
code: string;
|
|
3295
|
+
config: any;
|
|
3296
|
+
}
|
|
3246
3297
|
export declare enum ImportPaymentTypeEnum {
|
|
3247
3298
|
CREDIT_CARD = "card",
|
|
3248
3299
|
ACH = "ach",
|
|
@@ -3278,41 +3329,11 @@ export declare class ImportedPaymentDto {
|
|
|
3278
3329
|
date: string;
|
|
3279
3330
|
time: string;
|
|
3280
3331
|
}
|
|
3281
|
-
export declare class ProductIdsDto {
|
|
3282
|
-
productIds?: number[];
|
|
3283
|
-
}
|
|
3284
|
-
export declare class ProductImportDto {
|
|
3285
|
-
product: Product;
|
|
3286
|
-
prices: Price[];
|
|
3287
|
-
resourceIds: number[];
|
|
3288
|
-
oldId: number;
|
|
3289
|
-
}
|
|
3290
|
-
export declare class PunchPassDto {
|
|
3291
|
-
CustomerID: string;
|
|
3292
|
-
QuantityLeft: number;
|
|
3293
|
-
BondProgramID: number;
|
|
3294
|
-
BondSessionID: number;
|
|
3295
|
-
ProductID: number;
|
|
3296
|
-
}
|
|
3297
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3298
|
-
name?: string;
|
|
3299
|
-
genderStr?: string;
|
|
3300
|
-
parentID?: string;
|
|
3301
|
-
partnerID?: string;
|
|
3302
|
-
membershipName?: string;
|
|
3303
|
-
membershipExpDate?: string;
|
|
3304
|
-
membershipCreationDate?: string;
|
|
3305
|
-
bondMembershipID?: number;
|
|
3306
|
-
}
|
|
3307
|
-
export declare class AddFamilyDto {
|
|
3308
|
-
parents: AddImportedCustomerDto[];
|
|
3309
|
-
children: AddImportedCustomerDto[];
|
|
3310
|
-
}
|
|
3311
3332
|
export declare class ImportedSlotProductDto {
|
|
3312
3333
|
slotID?: string;
|
|
3313
3334
|
name?: string;
|
|
3314
|
-
pricingType?:
|
|
3315
|
-
appliesTo?:
|
|
3335
|
+
pricingType?: "Hourly" | "Flat";
|
|
3336
|
+
appliesTo?: "slot" | "addon" | "reservation";
|
|
3316
3337
|
price?: string;
|
|
3317
3338
|
minutes?: string;
|
|
3318
3339
|
quantity: string;
|
|
@@ -3359,46 +3380,6 @@ export declare class ImportedReservationDto {
|
|
|
3359
3380
|
slots?: ImportedSlotDto[];
|
|
3360
3381
|
addons?: ImportedSlotProductDto[];
|
|
3361
3382
|
}
|
|
3362
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3363
|
-
entityType: string;
|
|
3364
|
-
entityId: number;
|
|
3365
|
-
}
|
|
3366
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
|
-
matchId: number | null;
|
|
3368
|
-
ordinal: number | null;
|
|
3369
|
-
outcomeOrdinal: number | null;
|
|
3370
|
-
resultMetaData: any | null;
|
|
3371
|
-
points: number | null;
|
|
3372
|
-
score: number | null;
|
|
3373
|
-
gameSlotId: number | null;
|
|
3374
|
-
}
|
|
3375
|
-
export declare class Matches extends BondBaseEntity {
|
|
3376
|
-
eventId: number | null;
|
|
3377
|
-
status: number | null;
|
|
3378
|
-
excludeStandings: boolean | null;
|
|
3379
|
-
}
|
|
3380
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3381
|
-
roundId: number;
|
|
3382
|
-
eventId: number;
|
|
3383
|
-
seriesId: number | null;
|
|
3384
|
-
createdAt: Date;
|
|
3385
|
-
updatedAt: Date;
|
|
3386
|
-
}
|
|
3387
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3388
|
-
seasonId: number;
|
|
3389
|
-
ordinal?: number;
|
|
3390
|
-
divisionId?: number;
|
|
3391
|
-
name: string;
|
|
3392
|
-
}
|
|
3393
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3394
|
-
teamId: number | null;
|
|
3395
|
-
eventId: number | null;
|
|
3396
|
-
status: number | null;
|
|
3397
|
-
}
|
|
3398
|
-
export declare class Lock extends BondBaseEntity {
|
|
3399
|
-
name: string;
|
|
3400
|
-
locked?: Date;
|
|
3401
|
-
}
|
|
3402
3383
|
export interface ValidatedMonthAndDay {
|
|
3403
3384
|
valid: boolean;
|
|
3404
3385
|
month?: number;
|
|
@@ -3408,6 +3389,25 @@ export interface ValidationReason {
|
|
|
3408
3389
|
valid: boolean;
|
|
3409
3390
|
reason?: string;
|
|
3410
3391
|
}
|
|
3392
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3393
|
+
name?: string;
|
|
3394
|
+
genderStr?: string;
|
|
3395
|
+
parentID?: string;
|
|
3396
|
+
partnerID?: string;
|
|
3397
|
+
membershipName?: string;
|
|
3398
|
+
membershipExpDate?: string;
|
|
3399
|
+
membershipCreationDate?: string;
|
|
3400
|
+
bondMembershipID?: number;
|
|
3401
|
+
}
|
|
3402
|
+
export declare class AddFamilyDto {
|
|
3403
|
+
parents: AddImportedCustomerDto[];
|
|
3404
|
+
children: AddImportedCustomerDto[];
|
|
3405
|
+
}
|
|
3406
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3407
|
+
facilityId: number;
|
|
3408
|
+
code: string;
|
|
3409
|
+
config?: any;
|
|
3410
|
+
}
|
|
3411
3411
|
export interface PaymentStatus {
|
|
3412
3412
|
parentId: number;
|
|
3413
3413
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3420,85 +3420,6 @@ export interface PaymentStatusesDict {
|
|
|
3420
3420
|
export interface PaymentStatusDict {
|
|
3421
3421
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3422
3422
|
}
|
|
3423
|
-
export declare class CreateMonitorConfigDto {
|
|
3424
|
-
facilityId: number;
|
|
3425
|
-
name: string;
|
|
3426
|
-
code: string;
|
|
3427
|
-
config: any;
|
|
3428
|
-
}
|
|
3429
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3430
|
-
facilityId: number;
|
|
3431
|
-
code: string;
|
|
3432
|
-
config?: any;
|
|
3433
|
-
}
|
|
3434
|
-
export declare class ByOrganizationIdDto {
|
|
3435
|
-
organizationId: number;
|
|
3436
|
-
}
|
|
3437
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
|
-
organizationId?: number;
|
|
3439
|
-
}
|
|
3440
|
-
export declare class Organization extends BondBaseEntity {
|
|
3441
|
-
name: string | null;
|
|
3442
|
-
email: string | null;
|
|
3443
|
-
twitter: string | null;
|
|
3444
|
-
facebook: string | null;
|
|
3445
|
-
instagram: string | null;
|
|
3446
|
-
website: string | null;
|
|
3447
|
-
blog: string | null;
|
|
3448
|
-
phoneNumber: string | null;
|
|
3449
|
-
waiverDoc: string | null;
|
|
3450
|
-
about: string | null;
|
|
3451
|
-
tagline: string | null;
|
|
3452
|
-
status: number | null;
|
|
3453
|
-
addressId: number | null;
|
|
3454
|
-
merchantId: number | null;
|
|
3455
|
-
userCreatorId: number | null;
|
|
3456
|
-
parentId: number | null;
|
|
3457
|
-
paymentSettings: object | null;
|
|
3458
|
-
settings: object | null;
|
|
3459
|
-
isClaimed: boolean | null;
|
|
3460
|
-
sports: number[] | null;
|
|
3461
|
-
mainMediaId: number | null;
|
|
3462
|
-
deletedAt: Date | null;
|
|
3463
|
-
organizationActivityTypes: number[] | null;
|
|
3464
|
-
organizationTypes: number[] | null;
|
|
3465
|
-
organizationAudienceTypes: number[] | null;
|
|
3466
|
-
organizationGenders: number[] | null;
|
|
3467
|
-
questionnaireId: number | null;
|
|
3468
|
-
membershipQuestionnaireId: number | null;
|
|
3469
|
-
feeRate: number;
|
|
3470
|
-
feeAddDollarRate: number;
|
|
3471
|
-
achFeeRate: number;
|
|
3472
|
-
achFeeAddDollarRate: number;
|
|
3473
|
-
maxAchFee: number;
|
|
3474
|
-
cashFeeRate: number;
|
|
3475
|
-
cashFeeAddDollarRate: number;
|
|
3476
|
-
terminalFeeRate: number;
|
|
3477
|
-
terminalFeeAddDollarRate: number;
|
|
3478
|
-
checkFeeRate: number;
|
|
3479
|
-
checkFeeAddDollarRate: number;
|
|
3480
|
-
otherFeeRate: number;
|
|
3481
|
-
otherFeeAddDollarRate: number;
|
|
3482
|
-
balanceFeeRate: number;
|
|
3483
|
-
balanceFeeAddDollarRate: number;
|
|
3484
|
-
address: Address;
|
|
3485
|
-
mainMedia: Media;
|
|
3486
|
-
brandings: OrganizationBranding[];
|
|
3487
|
-
brandingsV2?: OrganizationBranding[];
|
|
3488
|
-
}
|
|
3489
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3490
|
-
key?: string;
|
|
3491
|
-
vaule?: string;
|
|
3492
|
-
version: number;
|
|
3493
|
-
organization: Organization;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3496
|
-
mainAdminUserId?: number;
|
|
3497
|
-
}
|
|
3498
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3499
|
-
organisationId: number | null;
|
|
3500
|
-
userId: number | null;
|
|
3501
|
-
}
|
|
3502
3423
|
export declare class CustomerIdDto {
|
|
3503
3424
|
customerId: number;
|
|
3504
3425
|
}
|
|
@@ -3530,12 +3451,6 @@ export declare class DiscountDto {
|
|
|
3530
3451
|
export declare class LineItemIdDto {
|
|
3531
3452
|
lineItemId: number;
|
|
3532
3453
|
}
|
|
3533
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3534
|
-
paymentType?: string;
|
|
3535
|
-
paymentStatus?: string;
|
|
3536
|
-
}
|
|
3537
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3538
|
-
}
|
|
3539
3454
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3540
3455
|
userId: number;
|
|
3541
3456
|
}
|
|
@@ -3571,7 +3486,7 @@ export declare class PaymentDataDto {
|
|
|
3571
3486
|
}
|
|
3572
3487
|
export declare class SendReceiptDataDto {
|
|
3573
3488
|
invoiceId: number;
|
|
3574
|
-
deliveryMethod:
|
|
3489
|
+
deliveryMethod: "email" | "sms";
|
|
3575
3490
|
sendToAddress?: string;
|
|
3576
3491
|
}
|
|
3577
3492
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -3616,38 +3531,6 @@ export declare class SendRequestDto {
|
|
|
3616
3531
|
sendToEmail: string;
|
|
3617
3532
|
memo?: string;
|
|
3618
3533
|
}
|
|
3619
|
-
export declare class RefundDto {
|
|
3620
|
-
orderId: number;
|
|
3621
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3622
|
-
refundLineItemAmountDict?: {
|
|
3623
|
-
[id: number]: number;
|
|
3624
|
-
};
|
|
3625
|
-
refunds: PaymentMethodDto[];
|
|
3626
|
-
refundType: RefundTypeEnum;
|
|
3627
|
-
reasonId: number;
|
|
3628
|
-
note?: string;
|
|
3629
|
-
shiftId?: number;
|
|
3630
|
-
meta?: RevertMetaDto;
|
|
3631
|
-
}
|
|
3632
|
-
export declare class PaymentMethodDto {
|
|
3633
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3634
|
-
amount: number;
|
|
3635
|
-
paymentMethodId?: string;
|
|
3636
|
-
}
|
|
3637
|
-
export declare class RefundLineItemAmountDto {
|
|
3638
|
-
id: number;
|
|
3639
|
-
refundAmount: number;
|
|
3640
|
-
}
|
|
3641
|
-
export declare class VoidDto {
|
|
3642
|
-
lineItems: VoidLineItemDto[];
|
|
3643
|
-
meta?: RevertMetaDto;
|
|
3644
|
-
}
|
|
3645
|
-
export declare class VoidLineItemDto {
|
|
3646
|
-
id: number;
|
|
3647
|
-
quantity?: number;
|
|
3648
|
-
isEdit?: boolean;
|
|
3649
|
-
amount?: number;
|
|
3650
|
-
}
|
|
3651
3534
|
export interface PaymentResult {
|
|
3652
3535
|
paymentMethodId: string;
|
|
3653
3536
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3673,10 +3556,45 @@ export interface ExtendedLineItems {
|
|
|
3673
3556
|
products: LineItems[];
|
|
3674
3557
|
events: LineItems[];
|
|
3675
3558
|
}
|
|
3559
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3560
|
+
paymentType?: string;
|
|
3561
|
+
paymentStatus?: string;
|
|
3562
|
+
}
|
|
3563
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3564
|
+
}
|
|
3676
3565
|
export declare class FindInvoices extends ByPaymentFilter {
|
|
3677
3566
|
id?: number;
|
|
3678
3567
|
months?: string;
|
|
3679
3568
|
}
|
|
3569
|
+
export declare class RefundDto {
|
|
3570
|
+
orderId: number;
|
|
3571
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3572
|
+
refundLineItemAmountDict?: {
|
|
3573
|
+
[id: number]: number;
|
|
3574
|
+
};
|
|
3575
|
+
refunds: PaymentMethodDto[];
|
|
3576
|
+
refundType: RefundTypeEnum;
|
|
3577
|
+
reasonId: number;
|
|
3578
|
+
note?: string;
|
|
3579
|
+
shiftId?: number;
|
|
3580
|
+
meta?: RevertMetaDto;
|
|
3581
|
+
}
|
|
3582
|
+
export declare class PaymentMethodDto {
|
|
3583
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3584
|
+
amount: number;
|
|
3585
|
+
paymentMethodId?: string;
|
|
3586
|
+
}
|
|
3587
|
+
export declare class RefundLineItemAmountDto {
|
|
3588
|
+
id: number;
|
|
3589
|
+
refundAmount: number;
|
|
3590
|
+
}
|
|
3591
|
+
export declare class MaintenanceDto {
|
|
3592
|
+
id?: number;
|
|
3593
|
+
title: string;
|
|
3594
|
+
durationValue: number;
|
|
3595
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3596
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3597
|
+
}
|
|
3680
3598
|
export interface RefundResult extends PaymentsResults {
|
|
3681
3599
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3682
3600
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3687,38 +3605,15 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3687
3605
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3688
3606
|
totalAmountProcessed: number;
|
|
3689
3607
|
}
|
|
3690
|
-
export declare class
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
durationValue: number;
|
|
3694
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3695
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3608
|
+
export declare class VoidDto {
|
|
3609
|
+
lineItems: VoidLineItemDto[];
|
|
3610
|
+
meta?: RevertMetaDto;
|
|
3696
3611
|
}
|
|
3697
|
-
export declare class
|
|
3698
|
-
id
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
userId?: number;
|
|
3703
|
-
productId: number;
|
|
3704
|
-
product?: Product;
|
|
3705
|
-
productType: ProductTypesEnum;
|
|
3706
|
-
ordinal?: number;
|
|
3707
|
-
price: number;
|
|
3708
|
-
originalPrice?: number;
|
|
3709
|
-
paidAmount?: number;
|
|
3710
|
-
currency: CurrencyEnum;
|
|
3711
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3712
|
-
isRefunded?: boolean;
|
|
3713
|
-
isTaxInclusive?: boolean;
|
|
3714
|
-
taxPrecent?: number;
|
|
3715
|
-
unitPrice?: number;
|
|
3716
|
-
quantity: number;
|
|
3717
|
-
resources?: PurchasedResourceDto[];
|
|
3718
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3719
|
-
unitPriceWithTax?: number;
|
|
3720
|
-
unitTaxPrice?: number;
|
|
3721
|
-
parentOrdinal?: number;
|
|
3612
|
+
export declare class VoidLineItemDto {
|
|
3613
|
+
id: number;
|
|
3614
|
+
quantity?: number;
|
|
3615
|
+
isEdit?: boolean;
|
|
3616
|
+
amount?: number;
|
|
3722
3617
|
}
|
|
3723
3618
|
export declare class OrderDto {
|
|
3724
3619
|
orderId?: string | null;
|
|
@@ -3761,13 +3656,12 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3761
3656
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3762
3657
|
segments: SegmentDto[];
|
|
3763
3658
|
}
|
|
3764
|
-
export declare class
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
endTime?: string;
|
|
3659
|
+
export declare class PunchPassDto {
|
|
3660
|
+
CustomerID: string;
|
|
3661
|
+
QuantityLeft: number;
|
|
3662
|
+
BondProgramID: number;
|
|
3663
|
+
BondSessionID: number;
|
|
3664
|
+
ProductID: number;
|
|
3771
3665
|
}
|
|
3772
3666
|
export declare class ReservationDto {
|
|
3773
3667
|
id?: number;
|
|
@@ -3787,7 +3681,7 @@ export declare class ReservationDto {
|
|
|
3787
3681
|
publicNotes?: string;
|
|
3788
3682
|
privateNotes?: string;
|
|
3789
3683
|
forms?: number[] | null;
|
|
3790
|
-
addons?:
|
|
3684
|
+
addons?: AddonDto[];
|
|
3791
3685
|
userId?: number;
|
|
3792
3686
|
overrideProductsPrice?: ProductPricesDto[];
|
|
3793
3687
|
targetGlobalPrice?: number;
|
|
@@ -3852,11 +3746,15 @@ export declare class FindSlotsByFacilityIdFiltersDto {
|
|
|
3852
3746
|
startDate: string;
|
|
3853
3747
|
endDate: string;
|
|
3854
3748
|
limit: number;
|
|
3855
|
-
includeBlocking: string;
|
|
3856
|
-
onlyActiveSessions?: string;
|
|
3857
3749
|
resourcesIds?: string;
|
|
3858
3750
|
resourcesTypes?: string;
|
|
3859
3751
|
reservationStatuses?: string;
|
|
3752
|
+
includeBlocking?: boolean;
|
|
3753
|
+
onlyActiveSessions?: boolean;
|
|
3754
|
+
checkConflicts?: boolean;
|
|
3755
|
+
}
|
|
3756
|
+
export declare class getSlotsSlotCardDto {
|
|
3757
|
+
includeConflicts?: boolean;
|
|
3860
3758
|
}
|
|
3861
3759
|
export declare class getSlotFQueryParamsDto {
|
|
3862
3760
|
addProduct?: boolean;
|
|
@@ -3905,19 +3803,13 @@ export declare class EditReservationDetailsDto {
|
|
|
3905
3803
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3906
3804
|
updateAddons?: boolean;
|
|
3907
3805
|
}
|
|
3908
|
-
export declare class
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
3916
|
-
}
|
|
3917
|
-
export declare class EditAddonDto {
|
|
3918
|
-
id: number;
|
|
3919
|
-
unitPrice?: number;
|
|
3920
|
-
quantity?: number;
|
|
3806
|
+
export declare class PurchasedResourceDto {
|
|
3807
|
+
resourceId?: number;
|
|
3808
|
+
resourceType: ResourceNameTypeEnum;
|
|
3809
|
+
startDate?: string;
|
|
3810
|
+
startTime?: string;
|
|
3811
|
+
endDate?: string;
|
|
3812
|
+
endTime?: string;
|
|
3921
3813
|
}
|
|
3922
3814
|
export declare class SegmentDto {
|
|
3923
3815
|
id?: number;
|
|
@@ -3930,86 +3822,6 @@ export declare class SegmentDto {
|
|
|
3930
3822
|
publicNotesForSlots?: string;
|
|
3931
3823
|
privateNotesForSlots?: string;
|
|
3932
3824
|
}
|
|
3933
|
-
export declare class SeriesDto {
|
|
3934
|
-
id?: number;
|
|
3935
|
-
startDate: string;
|
|
3936
|
-
startTime?: string;
|
|
3937
|
-
endDate?: string;
|
|
3938
|
-
endTime?: string;
|
|
3939
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3940
|
-
durationEndsAfter?: number;
|
|
3941
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3942
|
-
frequency: FrequencyEnum;
|
|
3943
|
-
repeatEvery?: number;
|
|
3944
|
-
repeatOn?: number[];
|
|
3945
|
-
repeatEndDate?: string;
|
|
3946
|
-
numberOccurrences?: number;
|
|
3947
|
-
maintenance?: MaintenanceDto[];
|
|
3948
|
-
slots?: SlotDto[];
|
|
3949
|
-
}
|
|
3950
|
-
export declare class SlotDateTimeAndSpace {
|
|
3951
|
-
startDate: string;
|
|
3952
|
-
startTime?: string;
|
|
3953
|
-
endDate?: string;
|
|
3954
|
-
endTime?: string;
|
|
3955
|
-
spaceId: number;
|
|
3956
|
-
}
|
|
3957
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
3958
|
-
id?: number;
|
|
3959
|
-
reservationId?: number;
|
|
3960
|
-
occurrence?: number;
|
|
3961
|
-
title: string;
|
|
3962
|
-
creatorId?: number;
|
|
3963
|
-
creatorType?: string;
|
|
3964
|
-
userCreatorId?: number;
|
|
3965
|
-
timezone?: string;
|
|
3966
|
-
publicNotes?: string;
|
|
3967
|
-
privateNotes?: string;
|
|
3968
|
-
slotType: SlotTypeEnum;
|
|
3969
|
-
product?: Product;
|
|
3970
|
-
priceOverrideMeta?: {
|
|
3971
|
-
unitPrice: number;
|
|
3972
|
-
quantity: number;
|
|
3973
|
-
totalPrice: number;
|
|
3974
|
-
};
|
|
3975
|
-
addonPriceOverrideMeta?: {
|
|
3976
|
-
[addonProductId: number]: {
|
|
3977
|
-
unitPrice: number;
|
|
3978
|
-
quantity: number;
|
|
3979
|
-
totalPrice: number;
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
|
-
addonProducts?: Product[];
|
|
3983
|
-
addonCalculatedPrice?: {
|
|
3984
|
-
productId: number;
|
|
3985
|
-
quantity: number;
|
|
3986
|
-
unitPrice: number;
|
|
3987
|
-
totalPrice: number;
|
|
3988
|
-
displayTotalWithTax?: number;
|
|
3989
|
-
displayUnitTax?: number;
|
|
3990
|
-
}[];
|
|
3991
|
-
addonsProductUserIds?: number[];
|
|
3992
|
-
segmentId?: number;
|
|
3993
|
-
seriesId?: number;
|
|
3994
|
-
eventId?: number;
|
|
3995
|
-
sportIds: number[];
|
|
3996
|
-
parentSlotId?: number;
|
|
3997
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
3998
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
3999
|
-
durationValue?: number;
|
|
4000
|
-
orderId?: number;
|
|
4001
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4002
|
-
approvalStatus: ReservationStatusEnum;
|
|
4003
|
-
displayName?: string;
|
|
4004
|
-
internalName?: string;
|
|
4005
|
-
totalPrice?: number;
|
|
4006
|
-
relevantProducts?: Product[];
|
|
4007
|
-
maintenance?: MaintenanceDto[];
|
|
4008
|
-
maintenanceSlots?: SlotDto[];
|
|
4009
|
-
isPrivate: boolean;
|
|
4010
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4011
|
-
addonsIds?: number[];
|
|
4012
|
-
}
|
|
4013
3825
|
declare class AnswerDto {
|
|
4014
3826
|
questionId: number;
|
|
4015
3827
|
value: any;
|
|
@@ -4047,194 +3859,52 @@ export declare class BookingV1Dto {
|
|
|
4047
3859
|
cashPayment: boolean;
|
|
4048
3860
|
requestOnly: boolean;
|
|
4049
3861
|
}
|
|
4050
|
-
export declare class
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
3862
|
+
export declare class AddAddonsDto {
|
|
3863
|
+
addons: AddonDto[];
|
|
3864
|
+
}
|
|
3865
|
+
export declare class EditAddonsDto {
|
|
3866
|
+
addons: EditAddonDto[];
|
|
3867
|
+
}
|
|
3868
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3869
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3870
|
+
}
|
|
3871
|
+
export declare class EditAddonDto {
|
|
3872
|
+
id: number;
|
|
4055
3873
|
quantity: number;
|
|
4056
|
-
unitPrice: number;
|
|
4057
3874
|
totalPrice: number;
|
|
4058
|
-
|
|
4059
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4060
|
-
level?: ProductPackageLevelEnum;
|
|
4061
|
-
resourceId?: number;
|
|
4062
|
-
resource?: Resource;
|
|
4063
|
-
orderId?: number;
|
|
4064
|
-
order?: Order;
|
|
4065
|
-
productUserId?: number;
|
|
4066
|
-
productUser?: ProductsUsers;
|
|
3875
|
+
unitPrice?: number;
|
|
4067
3876
|
}
|
|
4068
|
-
export declare
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
3877
|
+
export declare type TSlotAndType = {
|
|
3878
|
+
type: "slots" | "slot_addons";
|
|
3879
|
+
slotsForProduct: {
|
|
3880
|
+
[productId: number]: {
|
|
3881
|
+
product: Product;
|
|
3882
|
+
slots: SlotDto[];
|
|
3883
|
+
};
|
|
3884
|
+
};
|
|
3885
|
+
};
|
|
3886
|
+
export interface ILineItemResource {
|
|
3887
|
+
type: "addons" | "segments" | "series" | "slots" | "slot_addons";
|
|
3888
|
+
values: TResource[];
|
|
4073
3889
|
}
|
|
4074
|
-
export declare
|
|
3890
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
3891
|
+
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
3892
|
+
export interface ReservationV1 {
|
|
3893
|
+
id: number;
|
|
3894
|
+
price: number;
|
|
3895
|
+
status: string;
|
|
3896
|
+
sentForClientDate?: string;
|
|
3897
|
+
sentForAdminDate?: string;
|
|
4075
3898
|
name?: string;
|
|
4076
|
-
description?: string;
|
|
4077
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4078
|
-
privacySetting?: string;
|
|
4079
|
-
reservationType?: ReservationTypeEnum;
|
|
4080
|
-
orderId?: string;
|
|
4081
|
-
customerId?: number;
|
|
4082
|
-
customer?: Customer;
|
|
4083
|
-
price?: number;
|
|
4084
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4085
|
-
startTime?: string;
|
|
4086
|
-
startDate?: Date;
|
|
4087
|
-
endDate?: Date;
|
|
4088
|
-
creatorId?: number;
|
|
4089
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4090
|
-
userCreatorId?: number;
|
|
4091
|
-
sportType?: number;
|
|
4092
|
-
deletedAt?: Date;
|
|
4093
|
-
publicNotes?: string;
|
|
4094
|
-
privateNotes?: string;
|
|
4095
|
-
forms?: number[] | null;
|
|
4096
|
-
answerTitleIds?: number[] | null;
|
|
4097
|
-
segments?: Segment[];
|
|
4098
|
-
migrationStatus?: string;
|
|
4099
|
-
addons: Addon[];
|
|
4100
|
-
overrideProductsPrice: {
|
|
4101
|
-
productId: number;
|
|
4102
|
-
price: number;
|
|
4103
|
-
}[];
|
|
4104
|
-
targetGlobalPrice?: number;
|
|
4105
|
-
slots: Slot[];
|
|
4106
3899
|
}
|
|
4107
|
-
export declare class
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
title: string;
|
|
4111
|
-
isPrivate: boolean;
|
|
4112
|
-
resourceIds?: number[];
|
|
4113
|
-
sportId: number;
|
|
4114
|
-
reservation?: Reservation;
|
|
4115
|
-
series?: Series[];
|
|
4116
|
-
addonIds?: number[] | null;
|
|
4117
|
-
publicNotesForSlots?: string;
|
|
4118
|
-
privateNotesForSlots?: string;
|
|
4119
|
-
slots?: Slot[];
|
|
3900
|
+
export declare class SlotDateDto {
|
|
3901
|
+
startDate: moment.Moment;
|
|
3902
|
+
endDate: moment.Moment;
|
|
4120
3903
|
}
|
|
4121
|
-
export
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
slots?: Slot[];
|
|
4126
|
-
slotDurationType: string;
|
|
4127
|
-
durationEndsAfter: number;
|
|
4128
|
-
durationUnit: string;
|
|
4129
|
-
startDate?: Date;
|
|
4130
|
-
endDate?: Date;
|
|
4131
|
-
startTime: string;
|
|
4132
|
-
endTime: string;
|
|
4133
|
-
frequency: string;
|
|
4134
|
-
repeatEvery: number;
|
|
4135
|
-
repeatOn?: number[];
|
|
4136
|
-
repeatEndDate?: Date;
|
|
4137
|
-
numberOccurrences?: number;
|
|
4138
|
-
resources?: Resource[];
|
|
4139
|
-
}
|
|
4140
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4141
|
-
constructor();
|
|
4142
|
-
defineIsReverted(): void;
|
|
4143
|
-
isReverted: boolean;
|
|
4144
|
-
reservationId: number;
|
|
4145
|
-
reservation: Reservation;
|
|
4146
|
-
title?: string;
|
|
4147
|
-
creatorId?: number;
|
|
4148
|
-
creatorType?: string;
|
|
4149
|
-
userCreatorId?: number;
|
|
4150
|
-
startDate: Date;
|
|
4151
|
-
endDate: Date;
|
|
4152
|
-
startTime: string;
|
|
4153
|
-
endTime: string;
|
|
4154
|
-
timezone?: string;
|
|
4155
|
-
spaceId?: number;
|
|
4156
|
-
resource?: Resource;
|
|
4157
|
-
deletedAt?: Date;
|
|
4158
|
-
publicNotes?: string;
|
|
4159
|
-
privateNotes?: string;
|
|
4160
|
-
slotType: SlotTypeEnum;
|
|
4161
|
-
productsUserId?: number;
|
|
4162
|
-
productUser?: ProductsUsers;
|
|
4163
|
-
product?: Product;
|
|
4164
|
-
addonsProductUserIds?: number[] | null;
|
|
4165
|
-
addonsProductUsers?: ProductsUsers[];
|
|
4166
|
-
addonProducts?: Product[];
|
|
4167
|
-
addonsMetadata: {
|
|
4168
|
-
productId: number;
|
|
4169
|
-
quantity: number;
|
|
4170
|
-
unitPrice: number;
|
|
4171
|
-
totalPrice: number;
|
|
4172
|
-
}[];
|
|
4173
|
-
segmentId: number;
|
|
4174
|
-
segment: Segment;
|
|
4175
|
-
eventId: number;
|
|
4176
|
-
event: Event;
|
|
4177
|
-
sportIds: number[];
|
|
4178
|
-
parentSlotId?: number;
|
|
4179
|
-
maintenanceDurationdurationType: string;
|
|
4180
|
-
maintenanceTiming: number;
|
|
4181
|
-
durationValue: number;
|
|
4182
|
-
seriesId?: number;
|
|
4183
|
-
series?: Series;
|
|
4184
|
-
orderId?: number;
|
|
4185
|
-
order?: Order;
|
|
4186
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4187
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4188
|
-
displayName?: string;
|
|
4189
|
-
internalName?: string;
|
|
4190
|
-
activityTypes?: number[] | null;
|
|
4191
|
-
hourlyRate: number;
|
|
4192
|
-
totalPrice: number;
|
|
4193
|
-
isConsumerVisible: boolean;
|
|
4194
|
-
isMonitorVisible: boolean;
|
|
4195
|
-
isPrivate: boolean;
|
|
4196
|
-
occurrence?: number;
|
|
4197
|
-
maintenance?: Slot[];
|
|
4198
|
-
productMetadata: {
|
|
4199
|
-
productId: number;
|
|
4200
|
-
price: number;
|
|
4201
|
-
};
|
|
4202
|
-
slotDurationType: string;
|
|
4203
|
-
changeLineItemIds?: number[];
|
|
4204
|
-
changeLineItems?: LineItems[];
|
|
4205
|
-
updatedLineItem?: LineItems;
|
|
4206
|
-
}
|
|
4207
|
-
export declare type TSlotAndType = {
|
|
4208
|
-
type: 'slots' | 'slot_addons';
|
|
4209
|
-
slotsForProduct: {
|
|
4210
|
-
[productId: number]: {
|
|
4211
|
-
product: Product;
|
|
4212
|
-
slots: SlotDto[];
|
|
4213
|
-
};
|
|
4214
|
-
};
|
|
4215
|
-
};
|
|
4216
|
-
export interface ILineItemResource {
|
|
4217
|
-
type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
|
|
4218
|
-
values: TResource[];
|
|
4219
|
-
}
|
|
4220
|
-
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
|
|
4221
|
-
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4222
|
-
export interface ReservationV1 {
|
|
4223
|
-
id: number;
|
|
4224
|
-
price: number;
|
|
4225
|
-
status: string;
|
|
4226
|
-
sentForClientDate?: string;
|
|
4227
|
-
sentForAdminDate?: string;
|
|
4228
|
-
name?: string;
|
|
4229
|
-
}
|
|
4230
|
-
export declare class SlotDateDto {
|
|
4231
|
-
startDate: moment.Moment;
|
|
4232
|
-
endDate: moment.Moment;
|
|
4233
|
-
}
|
|
4234
|
-
export interface IProductQuantity {
|
|
4235
|
-
productId: number;
|
|
4236
|
-
quantity?: number;
|
|
4237
|
-
unitPrice?: number;
|
|
3904
|
+
export interface IProductQuantity {
|
|
3905
|
+
productId: number;
|
|
3906
|
+
quantity?: number;
|
|
3907
|
+
unitPrice?: number;
|
|
4238
3908
|
}
|
|
4239
3909
|
export interface SlotsLineItemData extends BaseReservationItemLineItemData {
|
|
4240
3910
|
slotIds: number[];
|
|
@@ -4303,14 +3973,12 @@ export interface FindSlotsByFacilityIdFilters {
|
|
|
4303
3973
|
startDate: string;
|
|
4304
3974
|
endDate: string;
|
|
4305
3975
|
limit: number;
|
|
4306
|
-
includeBlocking: boolean;
|
|
4307
|
-
onlyActiveSessions?: boolean;
|
|
4308
3976
|
resourcesIds?: number[];
|
|
4309
3977
|
resourcesTypes?: ResourceTypeEnum[];
|
|
4310
3978
|
reservationStatuses?: ReservationStatusEnum[];
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
3979
|
+
includeBlocking?: boolean;
|
|
3980
|
+
onlyActiveSessions?: boolean;
|
|
3981
|
+
checkConflicts?: boolean;
|
|
4314
3982
|
}
|
|
4315
3983
|
export interface PriceFields {
|
|
4316
3984
|
unitPrice: string;
|
|
@@ -4346,8 +4014,8 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4346
4014
|
totalSlotsInSeries?: number;
|
|
4347
4015
|
slotIndexInSeries?: number;
|
|
4348
4016
|
}
|
|
4349
|
-
declare type IPartialInvoice = Pick<Order,
|
|
4350
|
-
export declare type IPartialPayment = Pick<Invoice,
|
|
4017
|
+
declare type IPartialInvoice = Pick<Order, "id" | "createdAt" | "price" | "paymentStatus" | "paidAmount">;
|
|
4018
|
+
export declare type IPartialPayment = Pick<Invoice, "id" | "createdAt" | "price" | "paymentStatus" | "paymentType" | "ccBrand" | "ccLast4">;
|
|
4351
4019
|
export interface IInvoice extends IPartialInvoice {
|
|
4352
4020
|
lineItemsCount: number;
|
|
4353
4021
|
}
|
|
@@ -4389,21 +4057,23 @@ export interface UpdateSlotsAddonsResult {
|
|
|
4389
4057
|
order: OrderDto;
|
|
4390
4058
|
debug?: any;
|
|
4391
4059
|
}
|
|
4392
|
-
interface ValidateEditItemsResult {
|
|
4060
|
+
export interface ValidateEditItemsResult {
|
|
4393
4061
|
nextFinancialStep: FinancialStepEnum;
|
|
4394
4062
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4395
4063
|
originalInvoicePrice?: number;
|
|
4396
4064
|
updatedInvoicePrice?: number;
|
|
4065
|
+
originalItemsPrice?: number;
|
|
4066
|
+
updatedItemsPrice?: number;
|
|
4397
4067
|
priceChange?: number;
|
|
4068
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4069
|
+
editData?: EditItemsData;
|
|
4398
4070
|
}
|
|
4399
4071
|
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4400
4072
|
slots: SlotDto[];
|
|
4401
4073
|
refundMetadata?: EditSlotsRefundMetadata;
|
|
4402
|
-
editData?: EditSlotsData;
|
|
4403
4074
|
}
|
|
4404
4075
|
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4405
4076
|
refundMetadata?: EditAddonsRefundMetadata;
|
|
4406
|
-
editData?: EditAddonsData;
|
|
4407
4077
|
}
|
|
4408
4078
|
export interface EditSlotsRefundMetadata {
|
|
4409
4079
|
lineItems: SlotsLineItemData[];
|
|
@@ -4413,87 +4083,295 @@ export interface EditAddonsRefundMetadata {
|
|
|
4413
4083
|
lineItems: AddonsLineItemData[];
|
|
4414
4084
|
refundAmount: number;
|
|
4415
4085
|
}
|
|
4416
|
-
export interface
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
newLineItems?: LineItemDto[];
|
|
4086
|
+
export interface EditItemsRefundMetadata {
|
|
4087
|
+
lineItems: ReservationItemLineItemData[];
|
|
4088
|
+
refundAmount: number;
|
|
4420
4089
|
}
|
|
4421
|
-
export interface
|
|
4090
|
+
export interface EditItemsData {
|
|
4422
4091
|
order?: Order;
|
|
4092
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4093
|
+
newLineItems?: LineItemDto[];
|
|
4423
4094
|
}
|
|
4424
4095
|
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4425
4096
|
refundResult?: RefundResult;
|
|
4426
4097
|
}
|
|
4427
|
-
export
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
export declare class CreateRoleDto {
|
|
4431
|
-
name: string;
|
|
4098
|
+
export interface TimeSlotConflicts {
|
|
4099
|
+
timeSlot: TimeSlotDto;
|
|
4100
|
+
conflicts: Slot[];
|
|
4432
4101
|
}
|
|
4433
|
-
export declare class
|
|
4434
|
-
name: string;
|
|
4435
|
-
|
|
4102
|
+
export declare class Organization extends BondBaseEntity {
|
|
4103
|
+
name: string | null;
|
|
4104
|
+
email: string | null;
|
|
4105
|
+
twitter: string | null;
|
|
4106
|
+
facebook: string | null;
|
|
4107
|
+
instagram: string | null;
|
|
4108
|
+
website: string | null;
|
|
4109
|
+
blog: string | null;
|
|
4110
|
+
phoneNumber: string | null;
|
|
4111
|
+
waiverDoc: string | null;
|
|
4112
|
+
about: string | null;
|
|
4113
|
+
tagline: string | null;
|
|
4114
|
+
status: number | null;
|
|
4115
|
+
addressId: number | null;
|
|
4116
|
+
merchantId: number | null;
|
|
4117
|
+
userCreatorId: number | null;
|
|
4118
|
+
parentId: number | null;
|
|
4119
|
+
paymentSettings: object | null;
|
|
4120
|
+
settings: object | null;
|
|
4121
|
+
isClaimed: boolean | null;
|
|
4122
|
+
sports: number[] | null;
|
|
4123
|
+
mainMediaId: number | null;
|
|
4124
|
+
deletedAt: Date | null;
|
|
4125
|
+
organizationActivityTypes: number[] | null;
|
|
4126
|
+
organizationTypes: number[] | null;
|
|
4127
|
+
organizationAudienceTypes: number[] | null;
|
|
4128
|
+
organizationGenders: number[] | null;
|
|
4129
|
+
questionnaireId: number | null;
|
|
4130
|
+
membershipQuestionnaireId: number | null;
|
|
4131
|
+
feeRate: number;
|
|
4132
|
+
feeAddDollarRate: number;
|
|
4133
|
+
achFeeRate: number;
|
|
4134
|
+
achFeeAddDollarRate: number;
|
|
4135
|
+
maxAchFee: number;
|
|
4136
|
+
cashFeeRate: number;
|
|
4137
|
+
cashFeeAddDollarRate: number;
|
|
4138
|
+
terminalFeeRate: number;
|
|
4139
|
+
terminalFeeAddDollarRate: number;
|
|
4140
|
+
checkFeeRate: number;
|
|
4141
|
+
checkFeeAddDollarRate: number;
|
|
4142
|
+
otherFeeRate: number;
|
|
4143
|
+
otherFeeAddDollarRate: number;
|
|
4144
|
+
balanceFeeRate: number;
|
|
4145
|
+
balanceFeeAddDollarRate: number;
|
|
4146
|
+
address: Address;
|
|
4147
|
+
mainMedia: Media;
|
|
4148
|
+
brandings: OrganizationBranding[];
|
|
4149
|
+
brandingsV2?: OrganizationBranding[];
|
|
4436
4150
|
}
|
|
4437
|
-
export declare class
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4151
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4152
|
+
parentId: number;
|
|
4153
|
+
parentType: AddonParentTypeEnum;
|
|
4154
|
+
productId: number;
|
|
4155
|
+
product?: Product;
|
|
4156
|
+
quantity: number;
|
|
4157
|
+
unitPrice: number;
|
|
4158
|
+
totalPrice: number;
|
|
4159
|
+
approvalStatus: ReservationStatusEnum;
|
|
4160
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4161
|
+
level?: ProductPackageLevelEnum;
|
|
4162
|
+
resourceId?: number;
|
|
4163
|
+
resource?: Resource;
|
|
4164
|
+
orderId?: number;
|
|
4165
|
+
order?: Order;
|
|
4166
|
+
productUserId?: number;
|
|
4167
|
+
productUser?: ProductsUsers;
|
|
4168
|
+
previousProductUsersIds?: number[];
|
|
4169
|
+
previousProductUsers?: ProductsUsers[];
|
|
4442
4170
|
}
|
|
4443
|
-
export declare class
|
|
4171
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4444
4172
|
deletedAt?: Date;
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
closingCashAmount: number;
|
|
4452
|
-
}
|
|
4453
|
-
export declare class FindShiftsByIdsDto {
|
|
4454
|
-
shiftIds: number[];
|
|
4455
|
-
}
|
|
4456
|
-
export declare class FindShiftsFiltersDto {
|
|
4457
|
-
statuses?: string;
|
|
4458
|
-
stationIds?: string;
|
|
4459
|
-
openingUsersIds?: string;
|
|
4460
|
-
closingUsersIds?: string;
|
|
4461
|
-
closingManagersIds?: string;
|
|
4462
|
-
reconcilingUsersIds?: string;
|
|
4463
|
-
startDate?: Date;
|
|
4464
|
-
endDate?: Date;
|
|
4465
|
-
}
|
|
4466
|
-
export declare class FindShiftsFormattedFilters {
|
|
4467
|
-
statuses?: string[];
|
|
4468
|
-
stationIds?: number[];
|
|
4469
|
-
openingUsersIds?: number[];
|
|
4470
|
-
closingUsersIds?: number[];
|
|
4471
|
-
closingManagersIds?: number[];
|
|
4472
|
-
reconcilingUsersIds?: number[];
|
|
4173
|
+
segmentId: number;
|
|
4174
|
+
segment?: Segment;
|
|
4175
|
+
slots?: Slot[];
|
|
4176
|
+
slotDurationType: string;
|
|
4177
|
+
durationEndsAfter: number;
|
|
4178
|
+
durationUnit: string;
|
|
4473
4179
|
startDate?: Date;
|
|
4474
4180
|
endDate?: Date;
|
|
4181
|
+
startTime: string;
|
|
4182
|
+
endTime: string;
|
|
4183
|
+
frequency: string;
|
|
4184
|
+
repeatEvery: number;
|
|
4185
|
+
repeatOn?: number[];
|
|
4186
|
+
repeatEndDate?: Date;
|
|
4187
|
+
numberOccurrences?: number;
|
|
4188
|
+
resources?: Resource[];
|
|
4475
4189
|
}
|
|
4476
|
-
export declare class
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4190
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4191
|
+
deletedAt?: Date;
|
|
4192
|
+
reservationId: number;
|
|
4193
|
+
title: string;
|
|
4194
|
+
isPrivate: boolean;
|
|
4195
|
+
resourceIds?: number[];
|
|
4196
|
+
sportId: number;
|
|
4197
|
+
reservation?: Reservation;
|
|
4198
|
+
series?: Series[];
|
|
4199
|
+
addonIds?: number[] | null;
|
|
4200
|
+
publicNotesForSlots?: string;
|
|
4201
|
+
privateNotesForSlots?: string;
|
|
4202
|
+
slots?: Slot[];
|
|
4482
4203
|
}
|
|
4483
|
-
export declare class
|
|
4484
|
-
|
|
4485
|
-
|
|
4204
|
+
export declare class Matches extends BondBaseEntity {
|
|
4205
|
+
eventId: number | null;
|
|
4206
|
+
status: number | null;
|
|
4207
|
+
excludeStandings: boolean | null;
|
|
4486
4208
|
}
|
|
4487
|
-
export declare class
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
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;
|
|
4221
|
+
startTime: string;
|
|
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: {
|
|
4237
|
+
productId: number;
|
|
4238
|
+
quantity: number;
|
|
4239
|
+
unitPrice: number;
|
|
4240
|
+
totalPrice: number;
|
|
4241
|
+
}[];
|
|
4242
|
+
segmentId: number;
|
|
4243
|
+
segment: Segment;
|
|
4244
|
+
eventId: number;
|
|
4245
|
+
event: Event;
|
|
4246
|
+
sportIds: number[];
|
|
4247
|
+
parentSlotId?: number;
|
|
4248
|
+
parent?: Slot;
|
|
4249
|
+
children?: Slot[];
|
|
4250
|
+
maintenanceDurationdurationType: string;
|
|
4251
|
+
maintenanceTiming: number;
|
|
4252
|
+
durationValue: number;
|
|
4253
|
+
seriesId?: number;
|
|
4254
|
+
series?: Series;
|
|
4255
|
+
orderId?: number;
|
|
4256
|
+
order?: Order;
|
|
4257
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4258
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4259
|
+
displayName?: string;
|
|
4260
|
+
internalName?: string;
|
|
4261
|
+
activityTypes?: number[] | null;
|
|
4262
|
+
hourlyRate: number;
|
|
4263
|
+
totalPrice: number;
|
|
4264
|
+
isConsumerVisible: boolean;
|
|
4265
|
+
isMonitorVisible: boolean;
|
|
4266
|
+
isPrivate: boolean;
|
|
4267
|
+
occurrence?: number;
|
|
4268
|
+
maintenance?: Slot[];
|
|
4269
|
+
productMetadata: {
|
|
4270
|
+
productId: number;
|
|
4271
|
+
price: number;
|
|
4272
|
+
};
|
|
4273
|
+
slotDurationType: string;
|
|
4274
|
+
changeLineItemIds?: number[];
|
|
4275
|
+
changeLineItems?: LineItems[];
|
|
4276
|
+
updatedLineItem?: LineItems;
|
|
4277
|
+
conflictsCount?: number;
|
|
4278
|
+
conflicts?: Slot[];
|
|
4279
|
+
}
|
|
4280
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4281
|
+
name?: string;
|
|
4282
|
+
description?: string;
|
|
4283
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4284
|
+
privacySetting?: string;
|
|
4285
|
+
reservationType?: ReservationTypeEnum;
|
|
4286
|
+
orderId?: string;
|
|
4287
|
+
customerId?: number;
|
|
4288
|
+
customer?: Customer;
|
|
4289
|
+
price?: number;
|
|
4290
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4291
|
+
startTime?: string;
|
|
4292
|
+
startDate?: Date;
|
|
4293
|
+
endDate?: Date;
|
|
4294
|
+
creatorId?: number;
|
|
4295
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4296
|
+
userCreatorId?: number;
|
|
4297
|
+
sportType?: number;
|
|
4298
|
+
deletedAt?: Date;
|
|
4299
|
+
publicNotes?: string;
|
|
4300
|
+
privateNotes?: string;
|
|
4301
|
+
forms?: number[] | null;
|
|
4302
|
+
answerTitleIds?: number[] | null;
|
|
4303
|
+
segments?: Segment[];
|
|
4304
|
+
migrationStatus?: string;
|
|
4305
|
+
addons: Addon[];
|
|
4306
|
+
overrideProductsPrice: {
|
|
4307
|
+
productId: number;
|
|
4308
|
+
price: number;
|
|
4309
|
+
}[];
|
|
4310
|
+
targetGlobalPrice?: number;
|
|
4311
|
+
slots: Slot[];
|
|
4312
|
+
}
|
|
4313
|
+
export declare class LineItemDto {
|
|
4314
|
+
id?: number;
|
|
4315
|
+
orderId?: number;
|
|
4316
|
+
type: LineItemsStatusEnum;
|
|
4317
|
+
organizationId: number;
|
|
4318
|
+
userId?: number;
|
|
4319
|
+
productId: number;
|
|
4320
|
+
product?: Product;
|
|
4321
|
+
productType: ProductTypesEnum;
|
|
4322
|
+
ordinal?: number;
|
|
4323
|
+
price: number;
|
|
4324
|
+
originalPrice?: number;
|
|
4325
|
+
paidAmount?: number;
|
|
4326
|
+
currency: CurrencyEnum;
|
|
4327
|
+
paymentStatus?: PaymentStatusEnum;
|
|
4328
|
+
isRefunded?: boolean;
|
|
4329
|
+
isTaxInclusive?: boolean;
|
|
4330
|
+
taxPrecent?: number;
|
|
4331
|
+
unitPrice?: number;
|
|
4332
|
+
quantity: number;
|
|
4333
|
+
resources?: PurchasedResourceDto[];
|
|
4334
|
+
relationType?: "reservation-addon" | "slots" | "slot_addons";
|
|
4335
|
+
unitPriceWithTax?: number;
|
|
4336
|
+
unitTaxPrice?: number;
|
|
4337
|
+
parentOrdinal?: number;
|
|
4338
|
+
}
|
|
4339
|
+
export declare class SeriesDto {
|
|
4340
|
+
id?: number;
|
|
4341
|
+
startDate: string;
|
|
4342
|
+
startTime?: string;
|
|
4343
|
+
endDate?: string;
|
|
4344
|
+
endTime?: string;
|
|
4345
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4346
|
+
durationEndsAfter?: number;
|
|
4347
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4348
|
+
frequency: FrequencyEnum;
|
|
4349
|
+
repeatEvery?: number;
|
|
4350
|
+
repeatOn?: number[];
|
|
4351
|
+
repeatEndDate?: string;
|
|
4352
|
+
numberOccurrences?: number;
|
|
4353
|
+
maintenance?: MaintenanceDto[];
|
|
4354
|
+
slots?: SlotDto[];
|
|
4355
|
+
}
|
|
4356
|
+
export declare class ChangeRolePermissionsDto {
|
|
4357
|
+
permissionIds: number[];
|
|
4358
|
+
}
|
|
4359
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4360
|
+
deletedAt?: Date;
|
|
4361
|
+
reservationId: number;
|
|
4362
|
+
invoiceId: number;
|
|
4363
|
+
slotId: number;
|
|
4364
|
+
}
|
|
4365
|
+
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4366
|
+
stationId: number;
|
|
4367
|
+
station?: Station;
|
|
4368
|
+
status: ShiftStatusEnum;
|
|
4369
|
+
openingUserId: number;
|
|
4370
|
+
openingCashAmount: number;
|
|
4371
|
+
openingDate: string;
|
|
4372
|
+
openingTime: string;
|
|
4373
|
+
closingUserId?: number;
|
|
4374
|
+
closingCashAmount?: number;
|
|
4497
4375
|
closingDate?: string;
|
|
4498
4376
|
closingTime?: string;
|
|
4499
4377
|
closingManagerId?: number;
|
|
@@ -4513,3 +4391,155 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4513
4391
|
closingManager?: User;
|
|
4514
4392
|
reconcilingUser?: User;
|
|
4515
4393
|
}
|
|
4394
|
+
export declare class CreateRoleDto {
|
|
4395
|
+
name: string;
|
|
4396
|
+
}
|
|
4397
|
+
export declare class SlotDateTimeAndSpace {
|
|
4398
|
+
startDate: string;
|
|
4399
|
+
startTime?: string;
|
|
4400
|
+
endDate?: string;
|
|
4401
|
+
endTime?: string;
|
|
4402
|
+
spaceId: number;
|
|
4403
|
+
}
|
|
4404
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4405
|
+
id?: number;
|
|
4406
|
+
reservationId?: number;
|
|
4407
|
+
occurrence?: number;
|
|
4408
|
+
title: string;
|
|
4409
|
+
creatorId?: number;
|
|
4410
|
+
creatorType?: string;
|
|
4411
|
+
userCreatorId?: number;
|
|
4412
|
+
timezone?: string;
|
|
4413
|
+
publicNotes?: string;
|
|
4414
|
+
privateNotes?: string;
|
|
4415
|
+
slotType: SlotTypeEnum;
|
|
4416
|
+
product?: Product;
|
|
4417
|
+
priceOverrideMeta?: {
|
|
4418
|
+
unitPrice: number;
|
|
4419
|
+
quantity: number;
|
|
4420
|
+
totalPrice: number;
|
|
4421
|
+
};
|
|
4422
|
+
addonPriceOverrideMeta?: {
|
|
4423
|
+
[addonProductId: number]: {
|
|
4424
|
+
unitPrice: number;
|
|
4425
|
+
quantity: number;
|
|
4426
|
+
totalPrice: number;
|
|
4427
|
+
};
|
|
4428
|
+
};
|
|
4429
|
+
addonProducts?: Product[];
|
|
4430
|
+
addonCalculatedPrice?: {
|
|
4431
|
+
productId: number;
|
|
4432
|
+
quantity: number;
|
|
4433
|
+
unitPrice: number;
|
|
4434
|
+
totalPrice: number;
|
|
4435
|
+
displayTotalWithTax?: number;
|
|
4436
|
+
displayUnitTax?: number;
|
|
4437
|
+
}[];
|
|
4438
|
+
addonsProductUserIds?: number[];
|
|
4439
|
+
segmentId?: number;
|
|
4440
|
+
seriesId?: number;
|
|
4441
|
+
eventId?: number;
|
|
4442
|
+
sportIds: number[];
|
|
4443
|
+
parentSlotId?: number;
|
|
4444
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4445
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4446
|
+
durationValue?: number;
|
|
4447
|
+
orderId?: number;
|
|
4448
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4449
|
+
approvalStatus: ReservationStatusEnum;
|
|
4450
|
+
displayName?: string;
|
|
4451
|
+
internalName?: string;
|
|
4452
|
+
totalPrice?: number;
|
|
4453
|
+
relevantProducts?: Product[];
|
|
4454
|
+
maintenance?: MaintenanceDto[];
|
|
4455
|
+
maintenanceSlots?: SlotDto[];
|
|
4456
|
+
isPrivate: boolean;
|
|
4457
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4458
|
+
addonsIds?: number[];
|
|
4459
|
+
}
|
|
4460
|
+
export declare class TimeSlotDto {
|
|
4461
|
+
id?: number;
|
|
4462
|
+
resourceId: number;
|
|
4463
|
+
startDate: string;
|
|
4464
|
+
startTime: string;
|
|
4465
|
+
endDate: string;
|
|
4466
|
+
endTime: string;
|
|
4467
|
+
}
|
|
4468
|
+
export declare class TimeSlotsDto {
|
|
4469
|
+
timeSlots: TimeSlotDto[];
|
|
4470
|
+
}
|
|
4471
|
+
export declare class SlotsIdsDto {
|
|
4472
|
+
slotsIds: number[];
|
|
4473
|
+
}
|
|
4474
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4475
|
+
deletedAt?: Date;
|
|
4476
|
+
userId: number;
|
|
4477
|
+
roleId: number;
|
|
4478
|
+
role: Role;
|
|
4479
|
+
user: User;
|
|
4480
|
+
}
|
|
4481
|
+
export declare class FindShiftsByIdsDto {
|
|
4482
|
+
shiftIds: number[];
|
|
4483
|
+
}
|
|
4484
|
+
export declare class ShiftManagementClosingAmount {
|
|
4485
|
+
shiftId: number;
|
|
4486
|
+
managementClosingCashAmount: number;
|
|
4487
|
+
}
|
|
4488
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4489
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4490
|
+
}
|
|
4491
|
+
export declare class CloseShiftDto {
|
|
4492
|
+
closingCashAmount: number;
|
|
4493
|
+
}
|
|
4494
|
+
export declare class Permission extends BondBaseEntity {
|
|
4495
|
+
name: string;
|
|
4496
|
+
deletedAt?: Date;
|
|
4497
|
+
}
|
|
4498
|
+
export declare class FindShiftsFiltersDto {
|
|
4499
|
+
statuses?: string;
|
|
4500
|
+
stationIds?: string;
|
|
4501
|
+
openingUsersIds?: string;
|
|
4502
|
+
closingUsersIds?: string;
|
|
4503
|
+
closingManagersIds?: string;
|
|
4504
|
+
reconcilingUsersIds?: string;
|
|
4505
|
+
startDate?: Date;
|
|
4506
|
+
endDate?: Date;
|
|
4507
|
+
}
|
|
4508
|
+
export declare class FindShiftsFormattedFilters {
|
|
4509
|
+
statuses?: string[];
|
|
4510
|
+
stationIds?: number[];
|
|
4511
|
+
openingUsersIds?: number[];
|
|
4512
|
+
closingUsersIds?: number[];
|
|
4513
|
+
closingManagersIds?: number[];
|
|
4514
|
+
reconcilingUsersIds?: number[];
|
|
4515
|
+
startDate?: Date;
|
|
4516
|
+
endDate?: Date;
|
|
4517
|
+
}
|
|
4518
|
+
export declare class OpenShiftDto {
|
|
4519
|
+
openingCashAmount: number;
|
|
4520
|
+
stationId: number;
|
|
4521
|
+
}
|
|
4522
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
4523
|
+
teamId: number | null;
|
|
4524
|
+
eventId: number | null;
|
|
4525
|
+
status: number | null;
|
|
4526
|
+
}
|
|
4527
|
+
export declare class RoundEvents extends BaseEntity {
|
|
4528
|
+
roundId: number;
|
|
4529
|
+
eventId: number;
|
|
4530
|
+
seriesId: number | null;
|
|
4531
|
+
createdAt: Date;
|
|
4532
|
+
updatedAt: Date;
|
|
4533
|
+
}
|
|
4534
|
+
export declare class ByOrganizationIdDto {
|
|
4535
|
+
organizationId: number;
|
|
4536
|
+
}
|
|
4537
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
4538
|
+
organizationId?: number;
|
|
4539
|
+
}
|
|
4540
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4541
|
+
name: string;
|
|
4542
|
+
deletedAt?: Date;
|
|
4543
|
+
permissions: Permission[];
|
|
4544
|
+
usersRoles: UserRole[];
|
|
4545
|
+
}
|