@bondsports/types 0.0.116 → 0.0.117
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 +249 -251
- 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
|
@@ -9,6 +9,13 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
+
export declare class FindBookingTypeSettingDto {
|
|
13
|
+
organizationId: number;
|
|
14
|
+
facilityId: number;
|
|
15
|
+
spaceId: number;
|
|
16
|
+
bookingDate: string;
|
|
17
|
+
bookingTime: string;
|
|
18
|
+
}
|
|
12
19
|
export declare class QuestionAnswersDto {
|
|
13
20
|
questionId: number;
|
|
14
21
|
value: any;
|
|
@@ -20,13 +27,6 @@ export declare class UserAnswersDto {
|
|
|
20
27
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
28
|
questionnaireIds: string;
|
|
22
29
|
}
|
|
23
|
-
export declare class FindBookingTypeSettingDto {
|
|
24
|
-
organizationId: number;
|
|
25
|
-
facilityId: number;
|
|
26
|
-
spaceId: number;
|
|
27
|
-
bookingDate: string;
|
|
28
|
-
bookingTime: string;
|
|
29
|
-
}
|
|
30
30
|
export declare enum EConfigurationKeys {
|
|
31
31
|
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
32
|
}
|
|
@@ -291,6 +291,79 @@ export declare class GetGlCodeDto {
|
|
|
291
291
|
createdAt: Date;
|
|
292
292
|
updatedAt: Date;
|
|
293
293
|
}
|
|
294
|
+
export declare class FindByProgramSeasonIdDto {
|
|
295
|
+
seasonId: number;
|
|
296
|
+
}
|
|
297
|
+
export declare class CreateBulkDivisionsDto {
|
|
298
|
+
divisions: CreateDivisionDto[];
|
|
299
|
+
}
|
|
300
|
+
export declare class CreateDivisionDto {
|
|
301
|
+
name: string;
|
|
302
|
+
ordinal?: number;
|
|
303
|
+
programSeasonId: number;
|
|
304
|
+
color: string;
|
|
305
|
+
isDefault: boolean;
|
|
306
|
+
}
|
|
307
|
+
export declare class CreateGroupDto {
|
|
308
|
+
name: string;
|
|
309
|
+
description?: string;
|
|
310
|
+
status?: GroupStatusEnum;
|
|
311
|
+
maxCapacity?: number;
|
|
312
|
+
mainMediaId?: number;
|
|
313
|
+
minAgeYears?: number;
|
|
314
|
+
maxAgeYears?: number;
|
|
315
|
+
gender: GenderEnum;
|
|
316
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
317
|
+
sports: SportsEnum[];
|
|
318
|
+
questionnaires?: number[];
|
|
319
|
+
captainUserId?: number;
|
|
320
|
+
divisionId?: number;
|
|
321
|
+
}
|
|
322
|
+
export declare class ConnectGroupToDivision {
|
|
323
|
+
groupId: number;
|
|
324
|
+
divisionId: number;
|
|
325
|
+
prevDivisionId: number;
|
|
326
|
+
}
|
|
327
|
+
export declare class MoveUserInGroups {
|
|
328
|
+
userId: number;
|
|
329
|
+
groupId?: number;
|
|
330
|
+
prevGroupId?: number;
|
|
331
|
+
}
|
|
332
|
+
export declare class SaveUserAsGroupCaptain {
|
|
333
|
+
groupId: number;
|
|
334
|
+
userId: number;
|
|
335
|
+
}
|
|
336
|
+
export declare class CreateTeamInviteDto {
|
|
337
|
+
emails: string[];
|
|
338
|
+
userCreatorId: number;
|
|
339
|
+
}
|
|
340
|
+
export declare class TeamByIdDto {
|
|
341
|
+
teamId: number;
|
|
342
|
+
}
|
|
343
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
344
|
+
inviteToken: string;
|
|
345
|
+
}
|
|
346
|
+
export declare class JoinTeamDto {
|
|
347
|
+
userId: number;
|
|
348
|
+
inviteToken?: string;
|
|
349
|
+
}
|
|
350
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
351
|
+
userId: number;
|
|
352
|
+
}
|
|
353
|
+
export interface IMoveSeason {
|
|
354
|
+
fromSeasonId: number;
|
|
355
|
+
toSeasonId: number;
|
|
356
|
+
}
|
|
357
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
358
|
+
teamId?: number;
|
|
359
|
+
memberId?: number;
|
|
360
|
+
fromSeasonId: number;
|
|
361
|
+
toSeasonId: number;
|
|
362
|
+
toDivisionId?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
365
|
+
fileName: string;
|
|
366
|
+
}
|
|
294
367
|
export declare class CreateMembershipDto {
|
|
295
368
|
organizationId: number;
|
|
296
369
|
name: string;
|
|
@@ -389,97 +462,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
389
462
|
discountValue?: number;
|
|
390
463
|
discountMethod?: DiscountMethodsEnum;
|
|
391
464
|
}
|
|
392
|
-
export declare class FindByProgramSeasonIdDto {
|
|
393
|
-
seasonId: number;
|
|
394
|
-
}
|
|
395
|
-
export declare class CreateBulkDivisionsDto {
|
|
396
|
-
divisions: CreateDivisionDto[];
|
|
397
|
-
}
|
|
398
|
-
export declare class CreateDivisionDto {
|
|
399
|
-
name: string;
|
|
400
|
-
ordinal?: number;
|
|
401
|
-
programSeasonId: number;
|
|
402
|
-
color: string;
|
|
403
|
-
isDefault: boolean;
|
|
404
|
-
}
|
|
405
|
-
export declare class CreateGroupDto {
|
|
406
|
-
name: string;
|
|
407
|
-
description?: string;
|
|
408
|
-
status?: GroupStatusEnum;
|
|
409
|
-
maxCapacity?: number;
|
|
410
|
-
mainMediaId?: number;
|
|
411
|
-
minAgeYears?: number;
|
|
412
|
-
maxAgeYears?: number;
|
|
413
|
-
gender: GenderEnum;
|
|
414
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
415
|
-
sports: SportsEnum[];
|
|
416
|
-
questionnaires?: number[];
|
|
417
|
-
captainUserId?: number;
|
|
418
|
-
divisionId?: number;
|
|
419
|
-
}
|
|
420
|
-
export declare class ConnectGroupToDivision {
|
|
421
|
-
groupId: number;
|
|
422
|
-
divisionId: number;
|
|
423
|
-
prevDivisionId: number;
|
|
424
|
-
}
|
|
425
|
-
export declare class MoveUserInGroups {
|
|
426
|
-
userId: number;
|
|
427
|
-
groupId?: number;
|
|
428
|
-
prevGroupId?: number;
|
|
429
|
-
}
|
|
430
|
-
export declare class SaveUserAsGroupCaptain {
|
|
431
|
-
groupId: number;
|
|
432
|
-
userId: number;
|
|
433
|
-
}
|
|
434
|
-
export declare class CreateTeamInviteDto {
|
|
435
|
-
emails: string[];
|
|
436
|
-
userCreatorId: number;
|
|
437
|
-
}
|
|
438
|
-
export declare class TeamByIdDto {
|
|
439
|
-
teamId: number;
|
|
440
|
-
}
|
|
441
|
-
export declare class GetInviteDto extends TeamByIdDto {
|
|
442
|
-
inviteToken: string;
|
|
443
|
-
}
|
|
444
|
-
export declare class JoinTeamDto {
|
|
445
|
-
userId: number;
|
|
446
|
-
inviteToken?: string;
|
|
447
|
-
}
|
|
448
|
-
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
449
|
-
userId: number;
|
|
450
|
-
}
|
|
451
|
-
export interface IMoveSeason {
|
|
452
|
-
fromSeasonId: number;
|
|
453
|
-
toSeasonId: number;
|
|
454
|
-
}
|
|
455
|
-
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
456
|
-
teamId?: number;
|
|
457
|
-
memberId?: number;
|
|
458
|
-
fromSeasonId: number;
|
|
459
|
-
toSeasonId: number;
|
|
460
|
-
toDivisionId?: number;
|
|
461
|
-
}
|
|
462
|
-
export declare class MoveTeamOrMembersByCsvDTO {
|
|
463
|
-
fileName: string;
|
|
464
|
-
}
|
|
465
|
-
export declare class CreateUpdateVariantsDto {
|
|
466
|
-
organizationId: number;
|
|
467
|
-
parentProductId: number;
|
|
468
|
-
variantTitles: VariantTitleDto[];
|
|
469
|
-
variants: VariantDto[];
|
|
470
|
-
}
|
|
471
|
-
export declare class VariantTitleDto {
|
|
472
|
-
titleName: string;
|
|
473
|
-
titleId: number;
|
|
474
|
-
}
|
|
475
|
-
export declare class VariantDto {
|
|
476
|
-
name: string;
|
|
477
|
-
price: number;
|
|
478
|
-
variantId: number;
|
|
479
|
-
currency: CurrencyEnum;
|
|
480
|
-
startDate: Date;
|
|
481
|
-
endDate: Date;
|
|
482
|
-
}
|
|
483
465
|
export declare class FindByProductIdDto {
|
|
484
466
|
productId: number;
|
|
485
467
|
}
|
|
@@ -701,6 +683,24 @@ export declare class createResourceDto {
|
|
|
701
683
|
export declare class archiveDto {
|
|
702
684
|
isArchive: boolean;
|
|
703
685
|
}
|
|
686
|
+
export declare class CreateUpdateVariantsDto {
|
|
687
|
+
organizationId: number;
|
|
688
|
+
parentProductId: number;
|
|
689
|
+
variantTitles: VariantTitleDto[];
|
|
690
|
+
variants: VariantDto[];
|
|
691
|
+
}
|
|
692
|
+
export declare class VariantTitleDto {
|
|
693
|
+
titleName: string;
|
|
694
|
+
titleId: number;
|
|
695
|
+
}
|
|
696
|
+
export declare class VariantDto {
|
|
697
|
+
name: string;
|
|
698
|
+
price: number;
|
|
699
|
+
variantId: number;
|
|
700
|
+
currency: CurrencyEnum;
|
|
701
|
+
startDate: Date;
|
|
702
|
+
endDate: Date;
|
|
703
|
+
}
|
|
704
704
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
705
705
|
programId: number;
|
|
706
706
|
}
|
|
@@ -1017,25 +1017,6 @@ export declare class ResourceDto {
|
|
|
1017
1017
|
type: ResourceNameTypeEnum;
|
|
1018
1018
|
id: number;
|
|
1019
1019
|
}
|
|
1020
|
-
export declare class StripeCustomerIdDto {
|
|
1021
|
-
userId: number;
|
|
1022
|
-
}
|
|
1023
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1024
|
-
paymentMethodId: string;
|
|
1025
|
-
}
|
|
1026
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1027
|
-
publicToken: string;
|
|
1028
|
-
accountId: string;
|
|
1029
|
-
}
|
|
1030
|
-
export declare class FindByUserIdDto {
|
|
1031
|
-
userId: number;
|
|
1032
|
-
}
|
|
1033
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1034
|
-
familyAccountId?: number;
|
|
1035
|
-
}
|
|
1036
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1037
|
-
organizationId: number;
|
|
1038
|
-
}
|
|
1039
1020
|
export declare class SpaceByIdDto {
|
|
1040
1021
|
spaceId: number;
|
|
1041
1022
|
}
|
|
@@ -1092,6 +1073,16 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1092
1073
|
types?: string;
|
|
1093
1074
|
resourcesIds?: string;
|
|
1094
1075
|
}
|
|
1076
|
+
export declare class StripeCustomerIdDto {
|
|
1077
|
+
userId: number;
|
|
1078
|
+
}
|
|
1079
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1080
|
+
paymentMethodId: string;
|
|
1081
|
+
}
|
|
1082
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1083
|
+
publicToken: string;
|
|
1084
|
+
accountId: string;
|
|
1085
|
+
}
|
|
1095
1086
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1096
1087
|
entityType: ResourceNameTypeEnum;
|
|
1097
1088
|
entityId: number;
|
|
@@ -1105,6 +1096,15 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1105
1096
|
oldValue?: any;
|
|
1106
1097
|
newValue?: any;
|
|
1107
1098
|
}
|
|
1099
|
+
export declare class FindByUserIdDto {
|
|
1100
|
+
userId: number;
|
|
1101
|
+
}
|
|
1102
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1103
|
+
familyAccountId?: number;
|
|
1104
|
+
}
|
|
1105
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1106
|
+
organizationId: number;
|
|
1107
|
+
}
|
|
1108
1108
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1109
1109
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1110
1110
|
parentId: number;
|
|
@@ -1129,6 +1129,12 @@ export declare class Address extends BondBaseEntity {
|
|
|
1129
1129
|
geo: any;
|
|
1130
1130
|
deletedAt?: Date;
|
|
1131
1131
|
}
|
|
1132
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1133
|
+
questionnaireId: number;
|
|
1134
|
+
userId?: number;
|
|
1135
|
+
answers: Answer[];
|
|
1136
|
+
questionnaire: Questionnaires;
|
|
1137
|
+
}
|
|
1132
1138
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1133
1139
|
questionId: number;
|
|
1134
1140
|
question?: Questions;
|
|
@@ -1142,22 +1148,11 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1142
1148
|
metaData: any | null;
|
|
1143
1149
|
questionText: string | null;
|
|
1144
1150
|
}
|
|
1145
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1146
|
-
questionnaireId: number;
|
|
1147
|
-
userId?: number;
|
|
1148
|
-
answers: Answer[];
|
|
1149
|
-
questionnaire: Questionnaires;
|
|
1150
|
-
}
|
|
1151
1151
|
export declare class Athlete extends BondBaseEntity {
|
|
1152
1152
|
userId: number | null;
|
|
1153
1153
|
metadata: object | null;
|
|
1154
1154
|
athleteSports: AthleteSports[];
|
|
1155
1155
|
}
|
|
1156
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1157
|
-
athleteId: number | null;
|
|
1158
|
-
sports: number | null;
|
|
1159
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1160
|
-
}
|
|
1161
1156
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1162
1157
|
entityType: ResourceNameTypeEnum;
|
|
1163
1158
|
entityId: number;
|
|
@@ -1166,6 +1161,11 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1166
1161
|
endDate: Date;
|
|
1167
1162
|
deletedAt?: Date;
|
|
1168
1163
|
}
|
|
1164
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1165
|
+
athleteId: number | null;
|
|
1166
|
+
sports: number | null;
|
|
1167
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1168
|
+
}
|
|
1169
1169
|
export declare class BondBaseEntity extends BaseEntity {
|
|
1170
1170
|
id: number;
|
|
1171
1171
|
createdAt: Date;
|
|
@@ -1407,6 +1407,22 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1407
1407
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
1408
|
code: string;
|
|
1409
1409
|
}
|
|
1410
|
+
export declare class Group extends BondBaseEntity {
|
|
1411
|
+
name: string;
|
|
1412
|
+
description?: string;
|
|
1413
|
+
status: GroupStatusEnum;
|
|
1414
|
+
maxCapacity?: number;
|
|
1415
|
+
mainMediaId?: number;
|
|
1416
|
+
minAgeYears?: number;
|
|
1417
|
+
maxAgeYears?: number;
|
|
1418
|
+
gender: GenderEnum;
|
|
1419
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1420
|
+
sports: SportsEnum[];
|
|
1421
|
+
questionnaires?: number[];
|
|
1422
|
+
captainUserId?: number;
|
|
1423
|
+
members: ISeasonAttendeeInfo[];
|
|
1424
|
+
users: User[];
|
|
1425
|
+
}
|
|
1410
1426
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1411
1427
|
groupId: number;
|
|
1412
1428
|
itemId: number;
|
|
@@ -1425,22 +1441,6 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1425
1441
|
divisionId: number;
|
|
1426
1442
|
deletedAt?: Date;
|
|
1427
1443
|
}
|
|
1428
|
-
export declare class Group extends BondBaseEntity {
|
|
1429
|
-
name: string;
|
|
1430
|
-
description?: string;
|
|
1431
|
-
status: GroupStatusEnum;
|
|
1432
|
-
maxCapacity?: number;
|
|
1433
|
-
mainMediaId?: number;
|
|
1434
|
-
minAgeYears?: number;
|
|
1435
|
-
maxAgeYears?: number;
|
|
1436
|
-
gender: GenderEnum;
|
|
1437
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1438
|
-
sports: SportsEnum[];
|
|
1439
|
-
questionnaires?: number[];
|
|
1440
|
-
captainUserId?: number;
|
|
1441
|
-
members: ISeasonAttendeeInfo[];
|
|
1442
|
-
users: User[];
|
|
1443
|
-
}
|
|
1444
1444
|
export declare class Invoice extends BondBaseEntity {
|
|
1445
1445
|
invoiceId: string | null;
|
|
1446
1446
|
price: number | null;
|
|
@@ -2099,6 +2099,38 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2099
2099
|
closeTime?: string;
|
|
2100
2100
|
deletedAt?: Date;
|
|
2101
2101
|
}
|
|
2102
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2103
|
+
name?: string;
|
|
2104
|
+
description?: string;
|
|
2105
|
+
color?: string;
|
|
2106
|
+
status?: string;
|
|
2107
|
+
privacySetting?: string;
|
|
2108
|
+
reservationType?: string;
|
|
2109
|
+
invoiceId?: string;
|
|
2110
|
+
customerId?: number;
|
|
2111
|
+
length?: number;
|
|
2112
|
+
price?: number;
|
|
2113
|
+
sessions?: number;
|
|
2114
|
+
percentage?: number;
|
|
2115
|
+
paymentStatus?: number;
|
|
2116
|
+
paymentId?: number;
|
|
2117
|
+
startTime?: string;
|
|
2118
|
+
dayOfWeek?: number;
|
|
2119
|
+
resourcePackageId?: number;
|
|
2120
|
+
resourcePackageAmount?: number;
|
|
2121
|
+
startDate?: Date;
|
|
2122
|
+
endDate?: Date;
|
|
2123
|
+
originalReservationId?: number;
|
|
2124
|
+
creatorId?: number;
|
|
2125
|
+
creatorType?: string;
|
|
2126
|
+
userCreatorId?: number;
|
|
2127
|
+
ownerId?: number;
|
|
2128
|
+
sportType?: number;
|
|
2129
|
+
participantType?: string;
|
|
2130
|
+
deletedAt?: Date;
|
|
2131
|
+
publicNotes?: string;
|
|
2132
|
+
slots?: Slot[];
|
|
2133
|
+
}
|
|
2102
2134
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2103
2135
|
name: string;
|
|
2104
2136
|
resourceType: ResourceTypeEnum;
|
|
@@ -2134,38 +2166,6 @@ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
|
2134
2166
|
childrenSlotIds: number[];
|
|
2135
2167
|
deletedAt?: Date;
|
|
2136
2168
|
}
|
|
2137
|
-
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2138
|
-
name?: string;
|
|
2139
|
-
description?: string;
|
|
2140
|
-
color?: string;
|
|
2141
|
-
status?: string;
|
|
2142
|
-
privacySetting?: string;
|
|
2143
|
-
reservationType?: string;
|
|
2144
|
-
invoiceId?: string;
|
|
2145
|
-
customerId?: number;
|
|
2146
|
-
length?: number;
|
|
2147
|
-
price?: number;
|
|
2148
|
-
sessions?: number;
|
|
2149
|
-
percentage?: number;
|
|
2150
|
-
paymentStatus?: number;
|
|
2151
|
-
paymentId?: number;
|
|
2152
|
-
startTime?: string;
|
|
2153
|
-
dayOfWeek?: number;
|
|
2154
|
-
resourcePackageId?: number;
|
|
2155
|
-
resourcePackageAmount?: number;
|
|
2156
|
-
startDate?: Date;
|
|
2157
|
-
endDate?: Date;
|
|
2158
|
-
originalReservationId?: number;
|
|
2159
|
-
creatorId?: number;
|
|
2160
|
-
creatorType?: string;
|
|
2161
|
-
userCreatorId?: number;
|
|
2162
|
-
ownerId?: number;
|
|
2163
|
-
sportType?: number;
|
|
2164
|
-
participantType?: string;
|
|
2165
|
-
deletedAt?: Date;
|
|
2166
|
-
publicNotes?: string;
|
|
2167
|
-
slots?: Slot[];
|
|
2168
|
-
}
|
|
2169
2169
|
export declare class School extends BondBaseEntity {
|
|
2170
2170
|
name: string | null;
|
|
2171
2171
|
alias: string[] | null;
|
|
@@ -2372,6 +2372,12 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2372
2372
|
name: string;
|
|
2373
2373
|
variants: Variant[];
|
|
2374
2374
|
}
|
|
2375
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2376
|
+
name: string;
|
|
2377
|
+
variantTitleId: number;
|
|
2378
|
+
variantTitle: VariantTitle;
|
|
2379
|
+
deletedAt?: Date;
|
|
2380
|
+
}
|
|
2375
2381
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2376
2382
|
projectToken: string;
|
|
2377
2383
|
programTypesCollectionId?: string;
|
|
@@ -2380,12 +2386,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2380
2386
|
membershipCollectionId?: string;
|
|
2381
2387
|
programsCollectionId?: string;
|
|
2382
2388
|
}
|
|
2383
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2384
|
-
name: string;
|
|
2385
|
-
variantTitleId: number;
|
|
2386
|
-
variantTitle: VariantTitle;
|
|
2387
|
-
deletedAt?: Date;
|
|
2388
|
-
}
|
|
2389
2389
|
export declare enum EntitlementTermsTypesEnum {
|
|
2390
2390
|
QUESTION = "question",
|
|
2391
2391
|
CITY = "city",
|
|
@@ -3544,49 +3544,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3544
3544
|
organisationId: number | null;
|
|
3545
3545
|
userId: number | null;
|
|
3546
3546
|
}
|
|
3547
|
-
export interface PaymentResult {
|
|
3548
|
-
paymentMethodId: string;
|
|
3549
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3550
|
-
amount: number;
|
|
3551
|
-
receiptId?: number;
|
|
3552
|
-
paymentMethod4Digits?: string;
|
|
3553
|
-
errorMessage?: string;
|
|
3554
|
-
wasSuccessful: boolean;
|
|
3555
|
-
}
|
|
3556
|
-
export interface PaymentsResults {
|
|
3557
|
-
success: PaymentResult[];
|
|
3558
|
-
failed: PaymentResult[];
|
|
3559
|
-
}
|
|
3560
|
-
export interface InvoicePaymentSum {
|
|
3561
|
-
priceSum: number;
|
|
3562
|
-
paidSum: number;
|
|
3563
|
-
}
|
|
3564
|
-
export interface ExtendedLineItems {
|
|
3565
|
-
memberships: LineItems[];
|
|
3566
|
-
programs: LineItems[];
|
|
3567
|
-
leagues: LineItems[];
|
|
3568
|
-
rentals: LineItems[];
|
|
3569
|
-
products: LineItems[];
|
|
3570
|
-
events: LineItems[];
|
|
3571
|
-
}
|
|
3572
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3573
|
-
paymentType?: string;
|
|
3574
|
-
paymentStatus?: string;
|
|
3575
|
-
}
|
|
3576
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3577
|
-
id?: number;
|
|
3578
|
-
months?: string;
|
|
3579
|
-
}
|
|
3580
|
-
export interface RefundResult extends PaymentsResults {
|
|
3581
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3582
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3583
|
-
invoice?: Invoice;
|
|
3584
|
-
}
|
|
3585
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3586
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3587
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3588
|
-
totalAmountProcessed: number;
|
|
3589
|
-
}
|
|
3590
3547
|
export declare class CustomerIdDto {
|
|
3591
3548
|
customerId: number;
|
|
3592
3549
|
}
|
|
@@ -3615,6 +3572,12 @@ export declare class DiscountDto {
|
|
|
3615
3572
|
export declare class LineItemIdDto {
|
|
3616
3573
|
lineItemId: number;
|
|
3617
3574
|
}
|
|
3575
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3576
|
+
paymentType?: string;
|
|
3577
|
+
paymentStatus?: string;
|
|
3578
|
+
}
|
|
3579
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3580
|
+
}
|
|
3618
3581
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3619
3582
|
userId: number;
|
|
3620
3583
|
}
|
|
@@ -3729,6 +3692,59 @@ export declare class VoidLineItemDto {
|
|
|
3729
3692
|
isEdit?: boolean;
|
|
3730
3693
|
amount?: number;
|
|
3731
3694
|
}
|
|
3695
|
+
export interface PaymentResult {
|
|
3696
|
+
paymentMethodId: string;
|
|
3697
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3698
|
+
amount: number;
|
|
3699
|
+
receiptId?: number;
|
|
3700
|
+
paymentMethod4Digits?: string;
|
|
3701
|
+
errorMessage?: string;
|
|
3702
|
+
wasSuccessful: boolean;
|
|
3703
|
+
}
|
|
3704
|
+
export interface PaymentsResults {
|
|
3705
|
+
success: PaymentResult[];
|
|
3706
|
+
failed: PaymentResult[];
|
|
3707
|
+
}
|
|
3708
|
+
export interface InvoicePaymentSum {
|
|
3709
|
+
priceSum: number;
|
|
3710
|
+
paidSum: number;
|
|
3711
|
+
}
|
|
3712
|
+
export interface ExtendedLineItems {
|
|
3713
|
+
memberships: LineItems[];
|
|
3714
|
+
programs: LineItems[];
|
|
3715
|
+
leagues: LineItems[];
|
|
3716
|
+
rentals: LineItems[];
|
|
3717
|
+
products: LineItems[];
|
|
3718
|
+
events: LineItems[];
|
|
3719
|
+
}
|
|
3720
|
+
export interface RefundResult extends PaymentsResults {
|
|
3721
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3722
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3723
|
+
invoice?: Invoice;
|
|
3724
|
+
}
|
|
3725
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3726
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3727
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3728
|
+
totalAmountProcessed: number;
|
|
3729
|
+
}
|
|
3730
|
+
export declare class AddonDto extends ProductPricesDto {
|
|
3731
|
+
id?: number;
|
|
3732
|
+
}
|
|
3733
|
+
export declare class AddAddonsDto {
|
|
3734
|
+
addons: AddonDto[];
|
|
3735
|
+
}
|
|
3736
|
+
export declare class EditAddonsDto {
|
|
3737
|
+
addons: EditAddonDto[];
|
|
3738
|
+
}
|
|
3739
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3740
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3741
|
+
}
|
|
3742
|
+
export declare class EditAddonDto {
|
|
3743
|
+
id: number;
|
|
3744
|
+
quantity: number;
|
|
3745
|
+
totalPrice: number;
|
|
3746
|
+
unitPrice?: number;
|
|
3747
|
+
}
|
|
3732
3748
|
export declare class InvoiceDto {
|
|
3733
3749
|
invoiceId?: string | null;
|
|
3734
3750
|
organizationId: number;
|
|
@@ -3803,6 +3819,14 @@ export declare class MaintenanceDto {
|
|
|
3803
3819
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3804
3820
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3805
3821
|
}
|
|
3822
|
+
export declare class PurchasedResourceDto {
|
|
3823
|
+
resourceId?: number;
|
|
3824
|
+
resourceType: ResourceNameTypeEnum;
|
|
3825
|
+
startDate?: string;
|
|
3826
|
+
startTime?: string;
|
|
3827
|
+
endDate?: string;
|
|
3828
|
+
endTime?: string;
|
|
3829
|
+
}
|
|
3806
3830
|
export declare class ReservationDto {
|
|
3807
3831
|
id?: number;
|
|
3808
3832
|
organizationId?: number;
|
|
@@ -3947,14 +3971,6 @@ export declare class EditReservationDetailsDto {
|
|
|
3947
3971
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3948
3972
|
updateAddons?: boolean;
|
|
3949
3973
|
}
|
|
3950
|
-
export declare class PurchasedResourceDto {
|
|
3951
|
-
resourceId?: number;
|
|
3952
|
-
resourceType: ResourceNameTypeEnum;
|
|
3953
|
-
startDate?: string;
|
|
3954
|
-
startTime?: string;
|
|
3955
|
-
endDate?: string;
|
|
3956
|
-
endTime?: string;
|
|
3957
|
-
}
|
|
3958
3974
|
export declare class SegmentDto {
|
|
3959
3975
|
id?: number;
|
|
3960
3976
|
title: string;
|
|
@@ -4098,24 +4114,6 @@ export declare class BookingV1Dto {
|
|
|
4098
4114
|
cashPayment: boolean;
|
|
4099
4115
|
requestOnly: boolean;
|
|
4100
4116
|
}
|
|
4101
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
4102
|
-
id?: number;
|
|
4103
|
-
}
|
|
4104
|
-
export declare class AddAddonsDto {
|
|
4105
|
-
addons: AddonDto[];
|
|
4106
|
-
}
|
|
4107
|
-
export declare class EditAddonsDto {
|
|
4108
|
-
addons: EditAddonDto[];
|
|
4109
|
-
}
|
|
4110
|
-
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
4111
|
-
refundMeta?: EditItemsRefundMetaDto;
|
|
4112
|
-
}
|
|
4113
|
-
export declare class EditAddonDto {
|
|
4114
|
-
id: number;
|
|
4115
|
-
quantity: number;
|
|
4116
|
-
totalPrice: number;
|
|
4117
|
-
unitPrice?: number;
|
|
4118
|
-
}
|
|
4119
4117
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4120
4118
|
parentId: number;
|
|
4121
4119
|
parentType: AddonParentTypeEnum;
|