@bondsports/types 0.0.119 → 0.0.121
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 +328 -328
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,6 +27,12 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond"
|
|
35
|
+
}
|
|
30
36
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
37
|
membershipId: number;
|
|
32
38
|
}
|
|
@@ -275,12 +281,6 @@ export declare class PaginationRangeQuery {
|
|
|
275
281
|
endPage: number;
|
|
276
282
|
itemsPerPage: number;
|
|
277
283
|
}
|
|
278
|
-
export declare enum EConfigurationKeys {
|
|
279
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
280
|
-
}
|
|
281
|
-
export declare enum EFailedPaymentReasons {
|
|
282
|
-
CARD_BLOCKED = "card_blocked_by_bond"
|
|
283
|
-
}
|
|
284
284
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
285
285
|
organizationId: number;
|
|
286
286
|
}
|
|
@@ -364,6 +364,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
364
364
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
365
|
fileName: string;
|
|
366
366
|
}
|
|
367
|
+
export declare class CreateMembershipDto {
|
|
368
|
+
organizationId: number;
|
|
369
|
+
name: string;
|
|
370
|
+
description?: string;
|
|
371
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
372
|
+
activity: SportsEnum;
|
|
373
|
+
facilityId: number;
|
|
374
|
+
questionnaires: number[];
|
|
375
|
+
minAgeYears: number;
|
|
376
|
+
maxAgeYears: number;
|
|
377
|
+
gender: GenderEnum;
|
|
378
|
+
maxMembers?: number;
|
|
379
|
+
maxMaleMembers?: number;
|
|
380
|
+
maxFemaleMembers?: number;
|
|
381
|
+
startDate: string;
|
|
382
|
+
endDate: string;
|
|
383
|
+
registrationStartDate?: Date;
|
|
384
|
+
registrationEndDate?: Date;
|
|
385
|
+
membershipType: MembershipTypeEnum;
|
|
386
|
+
durationMonths: number;
|
|
387
|
+
longDescription?: string;
|
|
388
|
+
isAutoRenew?: boolean;
|
|
389
|
+
}
|
|
390
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
391
|
+
id: number;
|
|
392
|
+
}
|
|
393
|
+
export declare class UpdateMembershipMediaDto {
|
|
394
|
+
membershipId: number;
|
|
395
|
+
mediaId: number;
|
|
396
|
+
}
|
|
397
|
+
export declare class FindMembershipByIdDto {
|
|
398
|
+
membershipId: number;
|
|
399
|
+
}
|
|
400
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
401
|
+
organizationId: number;
|
|
402
|
+
}
|
|
403
|
+
export declare class FindMembershipsByUserIdDto {
|
|
404
|
+
userId: number;
|
|
405
|
+
}
|
|
406
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
407
|
+
startDate: string;
|
|
408
|
+
}
|
|
409
|
+
export declare class MembershipIdsDto {
|
|
410
|
+
membershipIds?: number[];
|
|
411
|
+
}
|
|
412
|
+
export declare class MemberIdDto {
|
|
413
|
+
memberId?: number;
|
|
414
|
+
}
|
|
415
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
416
|
+
nameEmailSearch?: string;
|
|
417
|
+
pastMemberships?: string;
|
|
418
|
+
}
|
|
419
|
+
export declare class CancelMembershipDto {
|
|
420
|
+
isImmediatelyCancel: boolean;
|
|
421
|
+
cancellationReason?: string;
|
|
422
|
+
}
|
|
367
423
|
export declare class CreateEntitlementTermsDto {
|
|
368
424
|
organizationId: number;
|
|
369
425
|
entitlementGroupId: number;
|
|
@@ -627,62 +683,6 @@ export declare class createResourceDto {
|
|
|
627
683
|
export declare class archiveDto {
|
|
628
684
|
isArchive: boolean;
|
|
629
685
|
}
|
|
630
|
-
export declare class CreateMembershipDto {
|
|
631
|
-
organizationId: number;
|
|
632
|
-
name: string;
|
|
633
|
-
description?: string;
|
|
634
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
635
|
-
activity: SportsEnum;
|
|
636
|
-
facilityId: number;
|
|
637
|
-
questionnaires: number[];
|
|
638
|
-
minAgeYears: number;
|
|
639
|
-
maxAgeYears: number;
|
|
640
|
-
gender: GenderEnum;
|
|
641
|
-
maxMembers?: number;
|
|
642
|
-
maxMaleMembers?: number;
|
|
643
|
-
maxFemaleMembers?: number;
|
|
644
|
-
startDate: string;
|
|
645
|
-
endDate: string;
|
|
646
|
-
registrationStartDate?: Date;
|
|
647
|
-
registrationEndDate?: Date;
|
|
648
|
-
membershipType: MembershipTypeEnum;
|
|
649
|
-
durationMonths: number;
|
|
650
|
-
longDescription?: string;
|
|
651
|
-
isAutoRenew?: boolean;
|
|
652
|
-
}
|
|
653
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
654
|
-
id: number;
|
|
655
|
-
}
|
|
656
|
-
export declare class UpdateMembershipMediaDto {
|
|
657
|
-
membershipId: number;
|
|
658
|
-
mediaId: number;
|
|
659
|
-
}
|
|
660
|
-
export declare class FindMembershipByIdDto {
|
|
661
|
-
membershipId: number;
|
|
662
|
-
}
|
|
663
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
664
|
-
organizationId: number;
|
|
665
|
-
}
|
|
666
|
-
export declare class FindMembershipsByUserIdDto {
|
|
667
|
-
userId: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
670
|
-
startDate: string;
|
|
671
|
-
}
|
|
672
|
-
export declare class MembershipIdsDto {
|
|
673
|
-
membershipIds?: number[];
|
|
674
|
-
}
|
|
675
|
-
export declare class MemberIdDto {
|
|
676
|
-
memberId?: number;
|
|
677
|
-
}
|
|
678
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
679
|
-
nameEmailSearch?: string;
|
|
680
|
-
pastMemberships?: string;
|
|
681
|
-
}
|
|
682
|
-
export declare class CancelMembershipDto {
|
|
683
|
-
isImmediatelyCancel: boolean;
|
|
684
|
-
cancellationReason?: string;
|
|
685
|
-
}
|
|
686
686
|
export declare class CreateUpdateVariantsDto {
|
|
687
687
|
organizationId: number;
|
|
688
688
|
parentProductId: number;
|
|
@@ -932,18 +932,6 @@ export declare class ProgramHighlightDto {
|
|
|
932
932
|
type: ProgramHighlightTypeEnum;
|
|
933
933
|
title: string;
|
|
934
934
|
}
|
|
935
|
-
export declare class CreateResourceGroupDto {
|
|
936
|
-
name: string;
|
|
937
|
-
parentSlotId: number;
|
|
938
|
-
facilityId: number;
|
|
939
|
-
childrenSlotIds: number[];
|
|
940
|
-
}
|
|
941
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
942
|
-
}
|
|
943
|
-
export declare class ResourceDto {
|
|
944
|
-
type: ResourceNameTypeEnum;
|
|
945
|
-
id: number;
|
|
946
|
-
}
|
|
947
935
|
export declare class PurchasePaymentDto {
|
|
948
936
|
token: string;
|
|
949
937
|
type: PaymentMethodTypeEnum;
|
|
@@ -1017,6 +1005,18 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1017
1005
|
paymentMethodData: any;
|
|
1018
1006
|
platform?: PlatformsEnum;
|
|
1019
1007
|
}
|
|
1008
|
+
export declare class CreateResourceGroupDto {
|
|
1009
|
+
name: string;
|
|
1010
|
+
parentSlotId: number;
|
|
1011
|
+
facilityId: number;
|
|
1012
|
+
childrenSlotIds: number[];
|
|
1013
|
+
}
|
|
1014
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1015
|
+
}
|
|
1016
|
+
export declare class ResourceDto {
|
|
1017
|
+
type: ResourceNameTypeEnum;
|
|
1018
|
+
id: number;
|
|
1019
|
+
}
|
|
1020
1020
|
export declare class SpaceByIdDto {
|
|
1021
1021
|
spaceId: number;
|
|
1022
1022
|
}
|
|
@@ -1092,6 +1092,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1092
1092
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1093
1093
|
organizationId: number;
|
|
1094
1094
|
}
|
|
1095
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1096
|
+
entityType: ResourceNameTypeEnum;
|
|
1097
|
+
entityId: number;
|
|
1098
|
+
organizationId?: number;
|
|
1099
|
+
userId?: number;
|
|
1100
|
+
customerId?: number;
|
|
1101
|
+
performingUserId: number;
|
|
1102
|
+
description: string;
|
|
1103
|
+
actionType: ActionTypesEnum;
|
|
1104
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1105
|
+
oldValue?: any;
|
|
1106
|
+
newValue?: any;
|
|
1107
|
+
}
|
|
1095
1108
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1096
1109
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1097
1110
|
parentId: number;
|
|
@@ -1116,19 +1129,6 @@ export declare class Address extends BondBaseEntity {
|
|
|
1116
1129
|
geo: any;
|
|
1117
1130
|
deletedAt?: Date;
|
|
1118
1131
|
}
|
|
1119
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1120
|
-
entityType: ResourceNameTypeEnum;
|
|
1121
|
-
entityId: number;
|
|
1122
|
-
organizationId?: number;
|
|
1123
|
-
userId?: number;
|
|
1124
|
-
customerId?: number;
|
|
1125
|
-
performingUserId: number;
|
|
1126
|
-
description: string;
|
|
1127
|
-
actionType: ActionTypesEnum;
|
|
1128
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1129
|
-
oldValue?: any;
|
|
1130
|
-
newValue?: any;
|
|
1131
|
-
}
|
|
1132
1132
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1133
1133
|
questionId: number;
|
|
1134
1134
|
question?: Questions;
|
|
@@ -1142,27 +1142,22 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1142
1142
|
metaData: any | null;
|
|
1143
1143
|
questionText: string | null;
|
|
1144
1144
|
}
|
|
1145
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1146
|
-
userId: number | null;
|
|
1147
|
-
metadata: object | null;
|
|
1148
|
-
athleteSports: AthleteSports[];
|
|
1149
|
-
}
|
|
1150
1145
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1151
1146
|
questionnaireId: number;
|
|
1152
1147
|
userId?: number;
|
|
1153
1148
|
answers: Answer[];
|
|
1154
1149
|
questionnaire: Questionnaires;
|
|
1155
1150
|
}
|
|
1151
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1152
|
+
userId: number | null;
|
|
1153
|
+
metadata: object | null;
|
|
1154
|
+
athleteSports: AthleteSports[];
|
|
1155
|
+
}
|
|
1156
1156
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1157
1157
|
athleteId: number | null;
|
|
1158
1158
|
sports: number | null;
|
|
1159
1159
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1160
1160
|
}
|
|
1161
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1162
|
-
id: number;
|
|
1163
|
-
createdAt: Date;
|
|
1164
|
-
updatedAt: Date;
|
|
1165
|
-
}
|
|
1166
1161
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1167
1162
|
entityType: ResourceNameTypeEnum;
|
|
1168
1163
|
entityId: number;
|
|
@@ -1171,6 +1166,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1171
1166
|
endDate: Date;
|
|
1172
1167
|
deletedAt?: Date;
|
|
1173
1168
|
}
|
|
1169
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1170
|
+
id: number;
|
|
1171
|
+
createdAt: Date;
|
|
1172
|
+
updatedAt: Date;
|
|
1173
|
+
}
|
|
1174
1174
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1175
1175
|
reservationId?: number;
|
|
1176
1176
|
color?: string;
|
|
@@ -1189,6 +1189,16 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1189
1189
|
publicNotes?: string;
|
|
1190
1190
|
slotType?: SlotTypeEnum;
|
|
1191
1191
|
}
|
|
1192
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1193
|
+
parentId: number;
|
|
1194
|
+
parentType: ResourceNameTypeEnum;
|
|
1195
|
+
startDate: Date;
|
|
1196
|
+
endDate: Date;
|
|
1197
|
+
dayOfWeek: number;
|
|
1198
|
+
startTimeInDay: string;
|
|
1199
|
+
endTimeInDay: string;
|
|
1200
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1201
|
+
}
|
|
1192
1202
|
export declare class Configuration extends BondBaseEntity {
|
|
1193
1203
|
area: string;
|
|
1194
1204
|
key: string;
|
|
@@ -1206,16 +1216,6 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1206
1216
|
userCreatorId: number | null;
|
|
1207
1217
|
ownerId: number | null;
|
|
1208
1218
|
}
|
|
1209
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1210
|
-
parentId: number;
|
|
1211
|
-
parentType: ResourceNameTypeEnum;
|
|
1212
|
-
startDate: Date;
|
|
1213
|
-
endDate: Date;
|
|
1214
|
-
dayOfWeek: number;
|
|
1215
|
-
startTimeInDay: string;
|
|
1216
|
-
endTimeInDay: string;
|
|
1217
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1218
|
-
}
|
|
1219
1219
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1220
1220
|
creditAmount: number;
|
|
1221
1221
|
paymentProcessorId: string;
|
|
@@ -2305,12 +2305,6 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2305
2305
|
role: TeamMemberRoleEnum;
|
|
2306
2306
|
user: User;
|
|
2307
2307
|
}
|
|
2308
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2309
|
-
entityId: number | null;
|
|
2310
|
-
userId: number | null;
|
|
2311
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2312
|
-
user: User;
|
|
2313
|
-
}
|
|
2314
2308
|
export declare class User extends BondBaseEntity {
|
|
2315
2309
|
firstName: string | null;
|
|
2316
2310
|
lastName: string | null;
|
|
@@ -2350,6 +2344,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2350
2344
|
invoiceNotes: InvoiceNote[];
|
|
2351
2345
|
paymentNotes: PaymentNote[];
|
|
2352
2346
|
}
|
|
2347
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2348
|
+
entityId: number | null;
|
|
2349
|
+
userId: number | null;
|
|
2350
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2351
|
+
user: User;
|
|
2352
|
+
}
|
|
2353
2353
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2354
2354
|
familyAccountId: number;
|
|
2355
2355
|
userId: number;
|
|
@@ -2362,7 +2362,7 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2362
2362
|
userId: number;
|
|
2363
2363
|
failCount: number;
|
|
2364
2364
|
isDefault?: boolean;
|
|
2365
|
-
paymentMethodType:
|
|
2365
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
2366
2366
|
paymentMethodId: string;
|
|
2367
2367
|
nextAllowedChargeDate?: Date;
|
|
2368
2368
|
}
|
|
@@ -3294,59 +3294,19 @@ export declare class ColumnNumericTransformer {
|
|
|
3294
3294
|
from(data: string): number;
|
|
3295
3295
|
}
|
|
3296
3296
|
export declare function convertToNumber(data: string): number;
|
|
3297
|
-
export declare class
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
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;
|
|
3305
3306
|
}
|
|
3306
|
-
export declare class
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
outcomeOrdinal: number | null;
|
|
3310
|
-
resultMetaData: any | null;
|
|
3311
|
-
points: number | null;
|
|
3312
|
-
score: number | null;
|
|
3313
|
-
gameSlotId: number | null;
|
|
3314
|
-
}
|
|
3315
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3316
|
-
roundId: number;
|
|
3317
|
-
eventId: number;
|
|
3318
|
-
seriesId: number | null;
|
|
3319
|
-
createdAt: Date;
|
|
3320
|
-
updatedAt: Date;
|
|
3321
|
-
}
|
|
3322
|
-
export declare class SeasonRounds extends BondBaseEntity {
|
|
3323
|
-
seasonId: number;
|
|
3324
|
-
ordinal?: number;
|
|
3325
|
-
divisionId?: number;
|
|
3326
|
-
name: string;
|
|
3327
|
-
}
|
|
3328
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3329
|
-
teamId: number | null;
|
|
3330
|
-
eventId: number | null;
|
|
3331
|
-
status: number | null;
|
|
3332
|
-
}
|
|
3333
|
-
export declare class Lock extends BondBaseEntity {
|
|
3334
|
-
name: string;
|
|
3335
|
-
locked?: Date;
|
|
3336
|
-
}
|
|
3337
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3338
|
-
name?: string;
|
|
3339
|
-
genderStr?: string;
|
|
3340
|
-
parentID?: string;
|
|
3341
|
-
partnerID?: string;
|
|
3342
|
-
membershipName?: string;
|
|
3343
|
-
membershipExpDate?: string;
|
|
3344
|
-
membershipCreationDate?: string;
|
|
3345
|
-
bondMembershipID?: number;
|
|
3346
|
-
}
|
|
3347
|
-
export declare class AddFamilyDto {
|
|
3348
|
-
parents: AddImportedCustomerDto[];
|
|
3349
|
-
children: AddImportedCustomerDto[];
|
|
3307
|
+
export declare class AddFamilyDto {
|
|
3308
|
+
parents: AddImportedCustomerDto[];
|
|
3309
|
+
children: AddImportedCustomerDto[];
|
|
3350
3310
|
}
|
|
3351
3311
|
export declare enum ImportPaymentTypeEnum {
|
|
3352
3312
|
CREDIT_CARD = "card",
|
|
@@ -3392,57 +3352,6 @@ export declare class ProductImportDto {
|
|
|
3392
3352
|
resourceIds: number[];
|
|
3393
3353
|
oldId: number;
|
|
3394
3354
|
}
|
|
3395
|
-
export declare class ImportedSlotProductDto {
|
|
3396
|
-
slotID?: string;
|
|
3397
|
-
name?: string;
|
|
3398
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
3399
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3400
|
-
price?: string;
|
|
3401
|
-
minutes?: string;
|
|
3402
|
-
quantity: string;
|
|
3403
|
-
startDate?: string;
|
|
3404
|
-
startTime?: string;
|
|
3405
|
-
endDate?: string;
|
|
3406
|
-
endTime?: string;
|
|
3407
|
-
bondProductId?: number;
|
|
3408
|
-
}
|
|
3409
|
-
export declare class ImportResourceMappingDto {
|
|
3410
|
-
bondResourceID?: string;
|
|
3411
|
-
resourceName?: string;
|
|
3412
|
-
}
|
|
3413
|
-
export declare class ImportProductMappingDto {
|
|
3414
|
-
productID?: string;
|
|
3415
|
-
productName?: string;
|
|
3416
|
-
}
|
|
3417
|
-
export declare class ImportedSlotDto {
|
|
3418
|
-
reservationID: string;
|
|
3419
|
-
bondResourceID: string;
|
|
3420
|
-
resourceName: string;
|
|
3421
|
-
subResourceName: string;
|
|
3422
|
-
startDate: string;
|
|
3423
|
-
startTime: string;
|
|
3424
|
-
endDate: string;
|
|
3425
|
-
endTime: string;
|
|
3426
|
-
sportId?: string;
|
|
3427
|
-
setupDuration: string;
|
|
3428
|
-
setupIncludeInCosts: string;
|
|
3429
|
-
takedownDuration: string;
|
|
3430
|
-
takedownIncludeInCosts: string;
|
|
3431
|
-
slotProduct: ImportedSlotProductDto;
|
|
3432
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3433
|
-
totalPrice: string;
|
|
3434
|
-
}
|
|
3435
|
-
export declare class ImportedReservationDto {
|
|
3436
|
-
name: string;
|
|
3437
|
-
customerId: string;
|
|
3438
|
-
description: string;
|
|
3439
|
-
totalPrice: string;
|
|
3440
|
-
downPayment: string;
|
|
3441
|
-
paid: string;
|
|
3442
|
-
invoiceId: string;
|
|
3443
|
-
slots?: ImportedSlotDto[];
|
|
3444
|
-
addons?: ImportedSlotProductDto[];
|
|
3445
|
-
}
|
|
3446
3355
|
export declare class PunchPassDto {
|
|
3447
3356
|
CustomerID: string;
|
|
3448
3357
|
QuantityLeft: number;
|
|
@@ -3450,6 +3359,46 @@ export declare class PunchPassDto {
|
|
|
3450
3359
|
BondSessionID: number;
|
|
3451
3360
|
ProductID: number;
|
|
3452
3361
|
}
|
|
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
|
+
}
|
|
3453
3402
|
export interface ValidatedMonthAndDay {
|
|
3454
3403
|
valid: boolean;
|
|
3455
3404
|
month?: number;
|
|
@@ -3489,6 +3438,103 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3489
3438
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3490
3439
|
destination: string;
|
|
3491
3440
|
}
|
|
3441
|
+
export declare class ByOrganizationIdDto {
|
|
3442
|
+
organizationId: number;
|
|
3443
|
+
}
|
|
3444
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3445
|
+
organizationId?: number;
|
|
3446
|
+
}
|
|
3447
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3448
|
+
programsIds?: string;
|
|
3449
|
+
sessionsIds?: string;
|
|
3450
|
+
segmentsIds?: string;
|
|
3451
|
+
startDate?: string;
|
|
3452
|
+
endDate?: string;
|
|
3453
|
+
months?: string;
|
|
3454
|
+
dow?: string;
|
|
3455
|
+
}
|
|
3456
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3457
|
+
programsIds?: string;
|
|
3458
|
+
sessionsIds?: string;
|
|
3459
|
+
segmentsIds?: string;
|
|
3460
|
+
startDate?: string;
|
|
3461
|
+
endDate?: string;
|
|
3462
|
+
months?: string;
|
|
3463
|
+
dow?: string;
|
|
3464
|
+
}
|
|
3465
|
+
export declare class Organization extends BondBaseEntity {
|
|
3466
|
+
name: string | null;
|
|
3467
|
+
email: string | null;
|
|
3468
|
+
twitter: string | null;
|
|
3469
|
+
facebook: string | null;
|
|
3470
|
+
instagram: string | null;
|
|
3471
|
+
website: string | null;
|
|
3472
|
+
blog: string | null;
|
|
3473
|
+
phoneNumber: string | null;
|
|
3474
|
+
waiverDoc: string | null;
|
|
3475
|
+
about: string | null;
|
|
3476
|
+
tagline: string | null;
|
|
3477
|
+
status: number | null;
|
|
3478
|
+
addressId: number | null;
|
|
3479
|
+
merchantId: number | null;
|
|
3480
|
+
userCreatorId: number | null;
|
|
3481
|
+
parentId: number | null;
|
|
3482
|
+
paymentSettings: object | null;
|
|
3483
|
+
settings: object | null;
|
|
3484
|
+
isClaimed: boolean | null;
|
|
3485
|
+
sports: number[] | null;
|
|
3486
|
+
mainMediaId: number | null;
|
|
3487
|
+
deletedAt: Date | null;
|
|
3488
|
+
organizationActivityTypes: number[] | null;
|
|
3489
|
+
organizationTypes: number[] | null;
|
|
3490
|
+
organizationAudienceTypes: number[] | null;
|
|
3491
|
+
organizationGenders: number[] | null;
|
|
3492
|
+
questionnaireId: number | null;
|
|
3493
|
+
membershipQuestionnaireId: number | null;
|
|
3494
|
+
feeRate: number;
|
|
3495
|
+
feeAddDollarRate: number;
|
|
3496
|
+
achFeeRate: number;
|
|
3497
|
+
achFeeAddDollarRate: number;
|
|
3498
|
+
maxAchFee: number;
|
|
3499
|
+
cashFeeRate: number;
|
|
3500
|
+
cashFeeAddDollarRate: number;
|
|
3501
|
+
terminalFeeRate: number;
|
|
3502
|
+
terminalFeeAddDollarRate: number;
|
|
3503
|
+
checkFeeRate: number;
|
|
3504
|
+
checkFeeAddDollarRate: number;
|
|
3505
|
+
otherFeeRate: number;
|
|
3506
|
+
otherFeeAddDollarRate: number;
|
|
3507
|
+
balanceFeeRate: number;
|
|
3508
|
+
balanceFeeAddDollarRate: number;
|
|
3509
|
+
address: Address;
|
|
3510
|
+
mainMedia: Media;
|
|
3511
|
+
brandings: OrganizationBranding[];
|
|
3512
|
+
brandingsV2?: OrganizationBranding[];
|
|
3513
|
+
}
|
|
3514
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3515
|
+
key?: string;
|
|
3516
|
+
vaule?: string;
|
|
3517
|
+
version: number;
|
|
3518
|
+
organization: Organization;
|
|
3519
|
+
}
|
|
3520
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3521
|
+
mainAdminUserId?: number;
|
|
3522
|
+
}
|
|
3523
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3524
|
+
organisationId: number | null;
|
|
3525
|
+
userId: number | null;
|
|
3526
|
+
}
|
|
3527
|
+
export interface UnallocatedEventsFilters {
|
|
3528
|
+
programsIds?: number[];
|
|
3529
|
+
sessionsIds?: number[];
|
|
3530
|
+
segmentsIds?: number[];
|
|
3531
|
+
durations?: Duration[];
|
|
3532
|
+
daysOfWeek?: number[];
|
|
3533
|
+
}
|
|
3534
|
+
export interface Duration {
|
|
3535
|
+
startDate: string;
|
|
3536
|
+
endDate: string;
|
|
3537
|
+
}
|
|
3492
3538
|
export declare class CustomerIdDto {
|
|
3493
3539
|
customerId: number;
|
|
3494
3540
|
}
|
|
@@ -3672,92 +3718,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3672
3718
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3673
3719
|
totalAmountProcessed: number;
|
|
3674
3720
|
}
|
|
3675
|
-
export declare class ByOrganizationIdDto {
|
|
3676
|
-
organizationId: number;
|
|
3677
|
-
}
|
|
3678
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3679
|
-
organizationId?: number;
|
|
3680
|
-
}
|
|
3681
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3682
|
-
programsIds?: string;
|
|
3683
|
-
sessionsIds?: string;
|
|
3684
|
-
segmentsIds?: string;
|
|
3685
|
-
startDate?: string;
|
|
3686
|
-
endDate?: string;
|
|
3687
|
-
months?: string;
|
|
3688
|
-
dow?: string;
|
|
3689
|
-
}
|
|
3690
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3691
|
-
programsIds?: string;
|
|
3692
|
-
sessionsIds?: string;
|
|
3693
|
-
segmentsIds?: string;
|
|
3694
|
-
startDate?: string;
|
|
3695
|
-
endDate?: string;
|
|
3696
|
-
months?: string;
|
|
3697
|
-
dow?: string;
|
|
3698
|
-
}
|
|
3699
|
-
export declare class Organization extends BondBaseEntity {
|
|
3700
|
-
name: string | null;
|
|
3701
|
-
email: string | null;
|
|
3702
|
-
twitter: string | null;
|
|
3703
|
-
facebook: string | null;
|
|
3704
|
-
instagram: string | null;
|
|
3705
|
-
website: string | null;
|
|
3706
|
-
blog: string | null;
|
|
3707
|
-
phoneNumber: string | null;
|
|
3708
|
-
waiverDoc: string | null;
|
|
3709
|
-
about: string | null;
|
|
3710
|
-
tagline: string | null;
|
|
3711
|
-
status: number | null;
|
|
3712
|
-
addressId: number | null;
|
|
3713
|
-
merchantId: number | null;
|
|
3714
|
-
userCreatorId: number | null;
|
|
3715
|
-
parentId: number | null;
|
|
3716
|
-
paymentSettings: object | null;
|
|
3717
|
-
settings: object | null;
|
|
3718
|
-
isClaimed: boolean | null;
|
|
3719
|
-
sports: number[] | null;
|
|
3720
|
-
mainMediaId: number | null;
|
|
3721
|
-
deletedAt: Date | null;
|
|
3722
|
-
organizationActivityTypes: number[] | null;
|
|
3723
|
-
organizationTypes: number[] | null;
|
|
3724
|
-
organizationAudienceTypes: number[] | null;
|
|
3725
|
-
organizationGenders: number[] | null;
|
|
3726
|
-
questionnaireId: number | null;
|
|
3727
|
-
membershipQuestionnaireId: number | null;
|
|
3728
|
-
feeRate: number;
|
|
3729
|
-
feeAddDollarRate: number;
|
|
3730
|
-
achFeeRate: number;
|
|
3731
|
-
achFeeAddDollarRate: number;
|
|
3732
|
-
maxAchFee: number;
|
|
3733
|
-
cashFeeRate: number;
|
|
3734
|
-
cashFeeAddDollarRate: number;
|
|
3735
|
-
terminalFeeRate: number;
|
|
3736
|
-
terminalFeeAddDollarRate: number;
|
|
3737
|
-
checkFeeRate: number;
|
|
3738
|
-
checkFeeAddDollarRate: number;
|
|
3739
|
-
otherFeeRate: number;
|
|
3740
|
-
otherFeeAddDollarRate: number;
|
|
3741
|
-
balanceFeeRate: number;
|
|
3742
|
-
balanceFeeAddDollarRate: number;
|
|
3743
|
-
address: Address;
|
|
3744
|
-
mainMedia: Media;
|
|
3745
|
-
brandings: OrganizationBranding[];
|
|
3746
|
-
brandingsV2?: OrganizationBranding[];
|
|
3747
|
-
}
|
|
3748
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3749
|
-
key?: string;
|
|
3750
|
-
vaule?: string;
|
|
3751
|
-
version: number;
|
|
3752
|
-
organization: Organization;
|
|
3753
|
-
}
|
|
3754
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3755
|
-
mainAdminUserId?: number;
|
|
3756
|
-
}
|
|
3757
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3758
|
-
organisationId: number | null;
|
|
3759
|
-
userId: number | null;
|
|
3760
|
-
}
|
|
3761
3721
|
export declare class AddonDto extends ProductPricesDto {
|
|
3762
3722
|
id?: number;
|
|
3763
3723
|
}
|
|
@@ -3776,17 +3736,6 @@ export declare class EditAddonDto {
|
|
|
3776
3736
|
totalPrice: number;
|
|
3777
3737
|
unitPrice?: number;
|
|
3778
3738
|
}
|
|
3779
|
-
export interface UnallocatedEventsFilters {
|
|
3780
|
-
programsIds?: number[];
|
|
3781
|
-
sessionsIds?: number[];
|
|
3782
|
-
segmentsIds?: number[];
|
|
3783
|
-
durations?: Duration[];
|
|
3784
|
-
daysOfWeek?: number[];
|
|
3785
|
-
}
|
|
3786
|
-
export interface Duration {
|
|
3787
|
-
startDate: string;
|
|
3788
|
-
endDate: string;
|
|
3789
|
-
}
|
|
3790
3739
|
export declare class InvoiceDto {
|
|
3791
3740
|
invoiceId?: string | null;
|
|
3792
3741
|
organizationId: number;
|
|
@@ -4185,20 +4134,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
|
4185
4134
|
invoiceId: number;
|
|
4186
4135
|
slotId: number;
|
|
4187
4136
|
}
|
|
4188
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4189
|
-
deletedAt?: Date;
|
|
4190
|
-
reservationId: number;
|
|
4191
|
-
title: string;
|
|
4192
|
-
isPrivate: boolean;
|
|
4193
|
-
resourceIds?: number[];
|
|
4194
|
-
sportId: number;
|
|
4195
|
-
reservation?: Reservation;
|
|
4196
|
-
series?: Series[];
|
|
4197
|
-
addonIds?: number[] | null;
|
|
4198
|
-
publicNotesForSlots?: string;
|
|
4199
|
-
privateNotesForSlots?: string;
|
|
4200
|
-
slots?: Slot[];
|
|
4201
|
-
}
|
|
4202
4137
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4203
4138
|
name?: string;
|
|
4204
4139
|
description?: string;
|
|
@@ -4232,6 +4167,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4232
4167
|
targetGlobalPrice?: number;
|
|
4233
4168
|
slots: Slot[];
|
|
4234
4169
|
}
|
|
4170
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4171
|
+
deletedAt?: Date;
|
|
4172
|
+
reservationId: number;
|
|
4173
|
+
title: string;
|
|
4174
|
+
isPrivate: boolean;
|
|
4175
|
+
resourceIds?: number[];
|
|
4176
|
+
sportId: number;
|
|
4177
|
+
reservation?: Reservation;
|
|
4178
|
+
series?: Series[];
|
|
4179
|
+
addonIds?: number[] | null;
|
|
4180
|
+
publicNotesForSlots?: string;
|
|
4181
|
+
privateNotesForSlots?: string;
|
|
4182
|
+
slots?: Slot[];
|
|
4183
|
+
}
|
|
4235
4184
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4236
4185
|
deletedAt?: Date;
|
|
4237
4186
|
segmentId: number;
|
|
@@ -4581,6 +4530,57 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4581
4530
|
export declare class CloseShiftDto {
|
|
4582
4531
|
closingCashAmount: number;
|
|
4583
4532
|
}
|
|
4533
|
+
export declare class ImportedSlotProductDto {
|
|
4534
|
+
slotID?: string;
|
|
4535
|
+
name?: string;
|
|
4536
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
4537
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4538
|
+
price?: string;
|
|
4539
|
+
minutes?: string;
|
|
4540
|
+
quantity: string;
|
|
4541
|
+
startDate?: string;
|
|
4542
|
+
startTime?: string;
|
|
4543
|
+
endDate?: string;
|
|
4544
|
+
endTime?: string;
|
|
4545
|
+
bondProductId?: number;
|
|
4546
|
+
}
|
|
4547
|
+
export declare class ImportResourceMappingDto {
|
|
4548
|
+
bondResourceID?: string;
|
|
4549
|
+
resourceName?: string;
|
|
4550
|
+
}
|
|
4551
|
+
export declare class ImportProductMappingDto {
|
|
4552
|
+
productID?: string;
|
|
4553
|
+
productName?: string;
|
|
4554
|
+
}
|
|
4555
|
+
export declare class ImportedSlotDto {
|
|
4556
|
+
reservationID: string;
|
|
4557
|
+
bondResourceID: string;
|
|
4558
|
+
resourceName: string;
|
|
4559
|
+
subResourceName: string;
|
|
4560
|
+
startDate: string;
|
|
4561
|
+
startTime: string;
|
|
4562
|
+
endDate: string;
|
|
4563
|
+
endTime: string;
|
|
4564
|
+
sportId?: string;
|
|
4565
|
+
setupDuration: string;
|
|
4566
|
+
setupIncludeInCosts: string;
|
|
4567
|
+
takedownDuration: string;
|
|
4568
|
+
takedownIncludeInCosts: string;
|
|
4569
|
+
slotProduct: ImportedSlotProductDto;
|
|
4570
|
+
addonProducts: ImportedSlotProductDto[];
|
|
4571
|
+
totalPrice: string;
|
|
4572
|
+
}
|
|
4573
|
+
export declare class ImportedReservationDto {
|
|
4574
|
+
name: string;
|
|
4575
|
+
customerId: string;
|
|
4576
|
+
description: string;
|
|
4577
|
+
totalPrice: string;
|
|
4578
|
+
downPayment: string;
|
|
4579
|
+
paid: string;
|
|
4580
|
+
invoiceId: string;
|
|
4581
|
+
slots?: ImportedSlotDto[];
|
|
4582
|
+
addons?: ImportedSlotProductDto[];
|
|
4583
|
+
}
|
|
4584
4584
|
export declare class FindShiftsByIdsDto {
|
|
4585
4585
|
shiftIds: number[];
|
|
4586
4586
|
}
|