@bondsports/types 0.0.114 → 0.0.116
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 +285 -283
- 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
|
@@ -291,79 +291,6 @@ 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
|
-
}
|
|
367
294
|
export declare class CreateMembershipDto {
|
|
368
295
|
organizationId: number;
|
|
369
296
|
name: string;
|
|
@@ -462,6 +389,97 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
462
389
|
discountValue?: number;
|
|
463
390
|
discountMethod?: DiscountMethodsEnum;
|
|
464
391
|
}
|
|
392
|
+
export declare class FindByProgramSeasonIdDto {
|
|
393
|
+
seasonId: number;
|
|
394
|
+
}
|
|
395
|
+
export declare class CreateBulkDivisionsDto {
|
|
396
|
+
divisions: CreateDivisionDto[];
|
|
397
|
+
}
|
|
398
|
+
export declare class CreateDivisionDto {
|
|
399
|
+
name: string;
|
|
400
|
+
ordinal?: number;
|
|
401
|
+
programSeasonId: number;
|
|
402
|
+
color: string;
|
|
403
|
+
isDefault: boolean;
|
|
404
|
+
}
|
|
405
|
+
export declare class CreateGroupDto {
|
|
406
|
+
name: string;
|
|
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
|
+
}
|
|
465
483
|
export declare class FindByProductIdDto {
|
|
466
484
|
productId: number;
|
|
467
485
|
}
|
|
@@ -683,24 +701,6 @@ export declare class createResourceDto {
|
|
|
683
701
|
export declare class archiveDto {
|
|
684
702
|
isArchive: boolean;
|
|
685
703
|
}
|
|
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,6 +1017,25 @@ 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
|
+
}
|
|
1020
1039
|
export declare class SpaceByIdDto {
|
|
1021
1040
|
spaceId: number;
|
|
1022
1041
|
}
|
|
@@ -1073,25 +1092,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1073
1092
|
types?: string;
|
|
1074
1093
|
resourcesIds?: string;
|
|
1075
1094
|
}
|
|
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
|
-
}
|
|
1086
|
-
export declare class FindByUserIdDto {
|
|
1087
|
-
userId: number;
|
|
1088
|
-
}
|
|
1089
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1090
|
-
familyAccountId?: number;
|
|
1091
|
-
}
|
|
1092
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1093
|
-
organizationId: number;
|
|
1094
|
-
}
|
|
1095
1095
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1096
1096
|
entityType: ResourceNameTypeEnum;
|
|
1097
1097
|
entityId: number;
|
|
@@ -1407,22 +1407,6 @@ 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
|
-
}
|
|
1426
1410
|
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1427
1411
|
groupId: number;
|
|
1428
1412
|
itemId: number;
|
|
@@ -1441,6 +1425,22 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1441
1425
|
divisionId: number;
|
|
1442
1426
|
deletedAt?: Date;
|
|
1443
1427
|
}
|
|
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,41 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2099
2099
|
closeTime?: string;
|
|
2100
2100
|
deletedAt?: Date;
|
|
2101
2101
|
}
|
|
2102
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2103
|
+
name: string;
|
|
2104
|
+
resourceType: ResourceTypeEnum;
|
|
2105
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2106
|
+
description?: string;
|
|
2107
|
+
longDescription?: string;
|
|
2108
|
+
surface?: SurfacesEnum;
|
|
2109
|
+
properties?: SpacePropertiesEnum[];
|
|
2110
|
+
mainMediaId?: number;
|
|
2111
|
+
mainMedia: Media;
|
|
2112
|
+
sports: SportsEnum[];
|
|
2113
|
+
width?: number;
|
|
2114
|
+
length?: number;
|
|
2115
|
+
amenities?: AmenitiesEnum[];
|
|
2116
|
+
parentSpaceId?: number;
|
|
2117
|
+
ordinal?: number;
|
|
2118
|
+
isAddOn: boolean;
|
|
2119
|
+
ages?: ResourceAgesEnum;
|
|
2120
|
+
deletedAt?: Date;
|
|
2121
|
+
activityTimes: ActivityTimes[];
|
|
2122
|
+
facilities: Facility[];
|
|
2123
|
+
slots?: Slot[];
|
|
2124
|
+
addons?: Addon[];
|
|
2125
|
+
facilityId: number;
|
|
2126
|
+
facility: Facility;
|
|
2127
|
+
purchasedResources: PurchasedResource[];
|
|
2128
|
+
linkSEO: string;
|
|
2129
|
+
}
|
|
2130
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2131
|
+
name: string;
|
|
2132
|
+
facilityId: number;
|
|
2133
|
+
parentSlotId: number;
|
|
2134
|
+
childrenSlotIds: number[];
|
|
2135
|
+
deletedAt?: Date;
|
|
2136
|
+
}
|
|
2102
2137
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2103
2138
|
name?: string;
|
|
2104
2139
|
description?: string;
|
|
@@ -2125,46 +2160,11 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2125
2160
|
creatorType?: string;
|
|
2126
2161
|
userCreatorId?: number;
|
|
2127
2162
|
ownerId?: number;
|
|
2128
|
-
sportType?: number;
|
|
2129
|
-
participantType?: string;
|
|
2130
|
-
deletedAt?: Date;
|
|
2131
|
-
publicNotes?: string;
|
|
2132
|
-
slots?: Slot[];
|
|
2133
|
-
}
|
|
2134
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2135
|
-
name: string;
|
|
2136
|
-
resourceType: ResourceTypeEnum;
|
|
2137
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2138
|
-
description?: string;
|
|
2139
|
-
longDescription?: string;
|
|
2140
|
-
surface?: SurfacesEnum;
|
|
2141
|
-
properties?: SpacePropertiesEnum[];
|
|
2142
|
-
mainMediaId?: number;
|
|
2143
|
-
mainMedia: Media;
|
|
2144
|
-
sports: SportsEnum[];
|
|
2145
|
-
width?: number;
|
|
2146
|
-
length?: number;
|
|
2147
|
-
amenities?: AmenitiesEnum[];
|
|
2148
|
-
parentSpaceId?: number;
|
|
2149
|
-
ordinal?: number;
|
|
2150
|
-
isAddOn: boolean;
|
|
2151
|
-
ages?: ResourceAgesEnum;
|
|
2163
|
+
sportType?: number;
|
|
2164
|
+
participantType?: string;
|
|
2152
2165
|
deletedAt?: Date;
|
|
2153
|
-
|
|
2154
|
-
facilities: Facility[];
|
|
2166
|
+
publicNotes?: string;
|
|
2155
2167
|
slots?: Slot[];
|
|
2156
|
-
addons?: Addon[];
|
|
2157
|
-
facilityId: number;
|
|
2158
|
-
facility: Facility;
|
|
2159
|
-
purchasedResources: PurchasedResource[];
|
|
2160
|
-
linkSEO: string;
|
|
2161
|
-
}
|
|
2162
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2163
|
-
name: string;
|
|
2164
|
-
facilityId: number;
|
|
2165
|
-
parentSlotId: number;
|
|
2166
|
-
childrenSlotIds: number[];
|
|
2167
|
-
deletedAt?: Date;
|
|
2168
2168
|
}
|
|
2169
2169
|
export declare class School extends BondBaseEntity {
|
|
2170
2170
|
name: string | null;
|
|
@@ -2174,6 +2174,26 @@ export declare class School extends BondBaseEntity {
|
|
|
2174
2174
|
phone: string | null;
|
|
2175
2175
|
dataId: number | null;
|
|
2176
2176
|
}
|
|
2177
|
+
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2178
|
+
status: RequestStatusEnum;
|
|
2179
|
+
paymentStatus: PaymentStatusEnum;
|
|
2180
|
+
paymentId?: number;
|
|
2181
|
+
productId?: number;
|
|
2182
|
+
attendeeId: number;
|
|
2183
|
+
attendee: User;
|
|
2184
|
+
seasonId: number;
|
|
2185
|
+
season: ProgramSeason;
|
|
2186
|
+
productUserId?: number;
|
|
2187
|
+
answerTitleIds?: number[];
|
|
2188
|
+
deletedAt?: Date;
|
|
2189
|
+
purchasedResource: PurchasedResource;
|
|
2190
|
+
}
|
|
2191
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2192
|
+
name: string | null;
|
|
2193
|
+
ordinal: number | null;
|
|
2194
|
+
seasonId: number | null;
|
|
2195
|
+
color: string | null;
|
|
2196
|
+
}
|
|
2177
2197
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2178
2198
|
seasonId?: number;
|
|
2179
2199
|
userId?: number;
|
|
@@ -2199,38 +2219,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2199
2219
|
metaData: any | null;
|
|
2200
2220
|
team: Team;
|
|
2201
2221
|
}
|
|
2202
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2203
|
-
name: string | null;
|
|
2204
|
-
ordinal: number | null;
|
|
2205
|
-
seasonId: number | null;
|
|
2206
|
-
color: string | null;
|
|
2207
|
-
}
|
|
2208
|
-
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2209
|
-
status: RequestStatusEnum;
|
|
2210
|
-
paymentStatus: PaymentStatusEnum;
|
|
2211
|
-
paymentId?: number;
|
|
2212
|
-
productId?: number;
|
|
2213
|
-
attendeeId: number;
|
|
2214
|
-
attendee: User;
|
|
2215
|
-
seasonId: number;
|
|
2216
|
-
season: ProgramSeason;
|
|
2217
|
-
productUserId?: number;
|
|
2218
|
-
answerTitleIds?: number[];
|
|
2219
|
-
deletedAt?: Date;
|
|
2220
|
-
purchasedResource: PurchasedResource;
|
|
2221
|
-
}
|
|
2222
2222
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2223
2223
|
blockingSpaceId: number;
|
|
2224
2224
|
blockedSpaceId: number;
|
|
2225
2225
|
}
|
|
2226
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2227
|
-
stationId: number;
|
|
2228
|
-
subcategoryId: number;
|
|
2229
|
-
productType: ProductTypesEnum;
|
|
2230
|
-
deletedAt?: Date;
|
|
2231
|
-
station: Station;
|
|
2232
|
-
subcategory: Subcategory;
|
|
2233
|
-
}
|
|
2234
2226
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2235
2227
|
name: string;
|
|
2236
2228
|
facilityId: number;
|
|
@@ -2242,6 +2234,14 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2242
2234
|
subcategories: Subcategory[];
|
|
2243
2235
|
shifts?: Shift[];
|
|
2244
2236
|
}
|
|
2237
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2238
|
+
stationId: number;
|
|
2239
|
+
subcategoryId: number;
|
|
2240
|
+
productType: ProductTypesEnum;
|
|
2241
|
+
deletedAt?: Date;
|
|
2242
|
+
station: Station;
|
|
2243
|
+
subcategory: Subcategory;
|
|
2244
|
+
}
|
|
2245
2245
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2246
2246
|
productType: ProductTypesEnum;
|
|
2247
2247
|
name: string;
|
|
@@ -2372,12 +2372,6 @@ 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
|
-
}
|
|
2381
2375
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2382
2376
|
projectToken: string;
|
|
2383
2377
|
programTypesCollectionId?: string;
|
|
@@ -2386,6 +2380,12 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2386
2380
|
membershipCollectionId?: string;
|
|
2387
2381
|
programsCollectionId?: string;
|
|
2388
2382
|
}
|
|
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",
|
|
@@ -3288,6 +3288,20 @@ export declare class ColumnNumericTransformer {
|
|
|
3288
3288
|
from(data: string): number;
|
|
3289
3289
|
}
|
|
3290
3290
|
export declare function convertToNumber(data: string): number;
|
|
3291
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3292
|
+
name?: string;
|
|
3293
|
+
genderStr?: string;
|
|
3294
|
+
parentID?: string;
|
|
3295
|
+
partnerID?: string;
|
|
3296
|
+
membershipName?: string;
|
|
3297
|
+
membershipExpDate?: string;
|
|
3298
|
+
membershipCreationDate?: string;
|
|
3299
|
+
bondMembershipID?: number;
|
|
3300
|
+
}
|
|
3301
|
+
export declare class AddFamilyDto {
|
|
3302
|
+
parents: AddImportedCustomerDto[];
|
|
3303
|
+
children: AddImportedCustomerDto[];
|
|
3304
|
+
}
|
|
3291
3305
|
export declare enum ImportPaymentTypeEnum {
|
|
3292
3306
|
CREDIT_CARD = "card",
|
|
3293
3307
|
ACH = "ach",
|
|
@@ -3323,20 +3337,6 @@ export declare class ImportedPaymentDto {
|
|
|
3323
3337
|
date: string;
|
|
3324
3338
|
time: string;
|
|
3325
3339
|
}
|
|
3326
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3327
|
-
name?: string;
|
|
3328
|
-
genderStr?: string;
|
|
3329
|
-
parentID?: string;
|
|
3330
|
-
partnerID?: string;
|
|
3331
|
-
membershipName?: string;
|
|
3332
|
-
membershipExpDate?: string;
|
|
3333
|
-
membershipCreationDate?: string;
|
|
3334
|
-
bondMembershipID?: number;
|
|
3335
|
-
}
|
|
3336
|
-
export declare class AddFamilyDto {
|
|
3337
|
-
parents: AddImportedCustomerDto[];
|
|
3338
|
-
children: AddImportedCustomerDto[];
|
|
3339
|
-
}
|
|
3340
3340
|
export declare class ProductIdsDto {
|
|
3341
3341
|
productIds?: number[];
|
|
3342
3342
|
}
|
|
@@ -3440,6 +3440,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3440
3440
|
eventId: number | null;
|
|
3441
3441
|
status: number | null;
|
|
3442
3442
|
}
|
|
3443
|
+
export declare class Lock extends BondBaseEntity {
|
|
3444
|
+
name: string;
|
|
3445
|
+
locked?: Date;
|
|
3446
|
+
}
|
|
3443
3447
|
export interface ValidatedMonthAndDay {
|
|
3444
3448
|
valid: boolean;
|
|
3445
3449
|
month?: number;
|
|
@@ -3449,10 +3453,6 @@ export interface ValidationReason {
|
|
|
3449
3453
|
valid: boolean;
|
|
3450
3454
|
reason?: string;
|
|
3451
3455
|
}
|
|
3452
|
-
export declare class Lock extends BondBaseEntity {
|
|
3453
|
-
name: string;
|
|
3454
|
-
locked?: Date;
|
|
3455
|
-
}
|
|
3456
3456
|
export interface PaymentStatus {
|
|
3457
3457
|
parentId: number;
|
|
3458
3458
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3544,6 +3544,49 @@ 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
|
+
}
|
|
3547
3590
|
export declare class CustomerIdDto {
|
|
3548
3591
|
customerId: number;
|
|
3549
3592
|
}
|
|
@@ -3572,12 +3615,6 @@ export declare class DiscountDto {
|
|
|
3572
3615
|
export declare class LineItemIdDto {
|
|
3573
3616
|
lineItemId: number;
|
|
3574
3617
|
}
|
|
3575
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3576
|
-
paymentType?: string;
|
|
3577
|
-
paymentStatus?: string;
|
|
3578
|
-
}
|
|
3579
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3580
|
-
}
|
|
3581
3618
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3582
3619
|
userId: number;
|
|
3583
3620
|
}
|
|
@@ -3692,59 +3729,6 @@ export declare class VoidLineItemDto {
|
|
|
3692
3729
|
isEdit?: boolean;
|
|
3693
3730
|
amount?: number;
|
|
3694
3731
|
}
|
|
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
|
-
}
|
|
3748
3732
|
export declare class InvoiceDto {
|
|
3749
3733
|
invoiceId?: string | null;
|
|
3750
3734
|
organizationId: number;
|
|
@@ -3819,14 +3803,6 @@ export declare class MaintenanceDto {
|
|
|
3819
3803
|
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3820
3804
|
maintenanceTiming: MaintenanceTimingEnum;
|
|
3821
3805
|
}
|
|
3822
|
-
export declare class PurchasedResourceDto {
|
|
3823
|
-
resourceId?: number;
|
|
3824
|
-
resourceType: ResourceNameTypeEnum;
|
|
3825
|
-
startDate?: string;
|
|
3826
|
-
startTime?: string;
|
|
3827
|
-
endDate?: string;
|
|
3828
|
-
endTime?: string;
|
|
3829
|
-
}
|
|
3830
3806
|
export declare class ReservationDto {
|
|
3831
3807
|
id?: number;
|
|
3832
3808
|
organizationId?: number;
|
|
@@ -3971,6 +3947,14 @@ export declare class EditReservationDetailsDto {
|
|
|
3971
3947
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3972
3948
|
updateAddons?: boolean;
|
|
3973
3949
|
}
|
|
3950
|
+
export declare class PurchasedResourceDto {
|
|
3951
|
+
resourceId?: number;
|
|
3952
|
+
resourceType: ResourceNameTypeEnum;
|
|
3953
|
+
startDate?: string;
|
|
3954
|
+
startTime?: string;
|
|
3955
|
+
endDate?: string;
|
|
3956
|
+
endTime?: string;
|
|
3957
|
+
}
|
|
3974
3958
|
export declare class SegmentDto {
|
|
3975
3959
|
id?: number;
|
|
3976
3960
|
title: string;
|
|
@@ -4114,6 +4098,24 @@ export declare class BookingV1Dto {
|
|
|
4114
4098
|
cashPayment: boolean;
|
|
4115
4099
|
requestOnly: boolean;
|
|
4116
4100
|
}
|
|
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
|
+
}
|
|
4117
4119
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4118
4120
|
parentId: number;
|
|
4119
4121
|
parentType: AddonParentTypeEnum;
|