@bondsports/types 0.0.135 → 0.0.137
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 +678 -671
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -463,24 +463,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
463
463
|
discountValue?: number;
|
|
464
464
|
discountMethod?: DiscountMethodsEnum;
|
|
465
465
|
}
|
|
466
|
-
export declare class CreateUpdateVariantsDto {
|
|
467
|
-
organizationId: number;
|
|
468
|
-
parentProductId: number;
|
|
469
|
-
variantTitles: VariantTitleDto[];
|
|
470
|
-
variants: VariantDto[];
|
|
471
|
-
}
|
|
472
|
-
export declare class VariantTitleDto {
|
|
473
|
-
titleName: string;
|
|
474
|
-
titleId: number;
|
|
475
|
-
}
|
|
476
|
-
export declare class VariantDto {
|
|
477
|
-
name: string;
|
|
478
|
-
price: number;
|
|
479
|
-
variantId: number;
|
|
480
|
-
currency: CurrencyEnum;
|
|
481
|
-
startDate: Date;
|
|
482
|
-
endDate: Date;
|
|
483
|
-
}
|
|
484
466
|
export declare class FindByProductIdDto {
|
|
485
467
|
productId: number;
|
|
486
468
|
}
|
|
@@ -702,6 +684,24 @@ export declare class createResourceDto {
|
|
|
702
684
|
export declare class archiveDto {
|
|
703
685
|
isArchive: boolean;
|
|
704
686
|
}
|
|
687
|
+
export declare class CreateUpdateVariantsDto {
|
|
688
|
+
organizationId: number;
|
|
689
|
+
parentProductId: number;
|
|
690
|
+
variantTitles: VariantTitleDto[];
|
|
691
|
+
variants: VariantDto[];
|
|
692
|
+
}
|
|
693
|
+
export declare class VariantTitleDto {
|
|
694
|
+
titleName: string;
|
|
695
|
+
titleId: number;
|
|
696
|
+
}
|
|
697
|
+
export declare class VariantDto {
|
|
698
|
+
name: string;
|
|
699
|
+
price: number;
|
|
700
|
+
variantId: number;
|
|
701
|
+
currency: CurrencyEnum;
|
|
702
|
+
startDate: Date;
|
|
703
|
+
endDate: Date;
|
|
704
|
+
}
|
|
705
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -721,6 +721,9 @@ export declare class FindProgramSeasonByIdQueryDto {
|
|
|
721
721
|
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
722
722
|
seasonId: number;
|
|
723
723
|
}
|
|
724
|
+
export declare class FindSeasonEventsQueryDto {
|
|
725
|
+
startDateFilter?: EStartDateFilter;
|
|
726
|
+
}
|
|
724
727
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
725
728
|
seasonId: number;
|
|
726
729
|
}
|
|
@@ -889,6 +892,50 @@ export declare class MoveParticipantDto {
|
|
|
889
892
|
resourceId: number;
|
|
890
893
|
invoiceId: number;
|
|
891
894
|
}
|
|
895
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
+
organizationId: number;
|
|
897
|
+
programType?: ProgramTypesEnum;
|
|
898
|
+
}
|
|
899
|
+
export declare class FindProgramByIdDto {
|
|
900
|
+
programId: number;
|
|
901
|
+
}
|
|
902
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
+
programId: number;
|
|
904
|
+
organizationId: number;
|
|
905
|
+
}
|
|
906
|
+
export declare class BaseProgramDto {
|
|
907
|
+
type: ProgramTypesEnum;
|
|
908
|
+
name: string;
|
|
909
|
+
sport: SportsEnum;
|
|
910
|
+
minAge: string;
|
|
911
|
+
maxAge: string;
|
|
912
|
+
gender: GenderEnum;
|
|
913
|
+
level?: LevelOfPlayEnum[];
|
|
914
|
+
description?: string;
|
|
915
|
+
GL?: string;
|
|
916
|
+
status: PublishingStatusEnum;
|
|
917
|
+
organizationId: number;
|
|
918
|
+
userCreatorId: number;
|
|
919
|
+
highlights: ProgramHighlights[];
|
|
920
|
+
longDescription?: string;
|
|
921
|
+
requiredProductIds: number[];
|
|
922
|
+
}
|
|
923
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
+
}
|
|
925
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
+
programId: number;
|
|
927
|
+
mainMediaId: number;
|
|
928
|
+
}
|
|
929
|
+
export declare class UpdateProgramStatusDto {
|
|
930
|
+
programId: number;
|
|
931
|
+
status: PublishingStatusEnum;
|
|
932
|
+
}
|
|
933
|
+
export declare class ProgramHighlightDto {
|
|
934
|
+
data: string;
|
|
935
|
+
ordinal: number;
|
|
936
|
+
type: ProgramHighlightTypeEnum;
|
|
937
|
+
title: string;
|
|
938
|
+
}
|
|
892
939
|
export declare class PurchasePaymentDto {
|
|
893
940
|
token: string;
|
|
894
941
|
type: PaymentMethodTypeEnum;
|
|
@@ -970,50 +1017,6 @@ export declare class CreateResourceGroupDto {
|
|
|
970
1017
|
}
|
|
971
1018
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
972
1019
|
}
|
|
973
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
974
|
-
organizationId: number;
|
|
975
|
-
programType?: ProgramTypesEnum;
|
|
976
|
-
}
|
|
977
|
-
export declare class FindProgramByIdDto {
|
|
978
|
-
programId: number;
|
|
979
|
-
}
|
|
980
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
981
|
-
programId: number;
|
|
982
|
-
organizationId: number;
|
|
983
|
-
}
|
|
984
|
-
export declare class BaseProgramDto {
|
|
985
|
-
type: ProgramTypesEnum;
|
|
986
|
-
name: string;
|
|
987
|
-
sport: SportsEnum;
|
|
988
|
-
minAge: string;
|
|
989
|
-
maxAge: string;
|
|
990
|
-
gender: GenderEnum;
|
|
991
|
-
level?: LevelOfPlayEnum[];
|
|
992
|
-
description?: string;
|
|
993
|
-
GL?: string;
|
|
994
|
-
status: PublishingStatusEnum;
|
|
995
|
-
organizationId: number;
|
|
996
|
-
userCreatorId: number;
|
|
997
|
-
highlights: ProgramHighlights[];
|
|
998
|
-
longDescription?: string;
|
|
999
|
-
requiredProductIds: number[];
|
|
1000
|
-
}
|
|
1001
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
1002
|
-
}
|
|
1003
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
1004
|
-
programId: number;
|
|
1005
|
-
mainMediaId: number;
|
|
1006
|
-
}
|
|
1007
|
-
export declare class UpdateProgramStatusDto {
|
|
1008
|
-
programId: number;
|
|
1009
|
-
status: PublishingStatusEnum;
|
|
1010
|
-
}
|
|
1011
|
-
export declare class ProgramHighlightDto {
|
|
1012
|
-
data: string;
|
|
1013
|
-
ordinal: number;
|
|
1014
|
-
type: ProgramHighlightTypeEnum;
|
|
1015
|
-
title: string;
|
|
1016
|
-
}
|
|
1017
1020
|
export declare class ResourceDto {
|
|
1018
1021
|
type: ResourceNameTypeEnum;
|
|
1019
1022
|
id: number;
|
|
@@ -1093,6 +1096,19 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1093
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1094
1097
|
organizationId: number;
|
|
1095
1098
|
}
|
|
1099
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
+
entityType: ResourceNameTypeEnum;
|
|
1101
|
+
entityId: number;
|
|
1102
|
+
organizationId?: number;
|
|
1103
|
+
userId?: number;
|
|
1104
|
+
customerId?: number;
|
|
1105
|
+
performingUserId: number;
|
|
1106
|
+
description: string;
|
|
1107
|
+
actionType: ActionTypesEnum;
|
|
1108
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
+
oldValue?: any;
|
|
1110
|
+
newValue?: any;
|
|
1111
|
+
}
|
|
1096
1112
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1097
1113
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1098
1114
|
parentId: number;
|
|
@@ -1106,6 +1122,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1106
1122
|
proudct: Product;
|
|
1107
1123
|
event: Event;
|
|
1108
1124
|
}
|
|
1125
|
+
export declare class Address extends BondBaseEntity {
|
|
1126
|
+
city?: string;
|
|
1127
|
+
street?: string;
|
|
1128
|
+
streetNum?: string;
|
|
1129
|
+
aptNum?: string;
|
|
1130
|
+
zip?: string;
|
|
1131
|
+
country?: string;
|
|
1132
|
+
state?: string;
|
|
1133
|
+
geo: any;
|
|
1134
|
+
deletedAt?: Date;
|
|
1135
|
+
}
|
|
1109
1136
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1110
1137
|
questionId: number;
|
|
1111
1138
|
question?: Questions;
|
|
@@ -1119,30 +1146,6 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1119
1146
|
metaData: any | null;
|
|
1120
1147
|
questionText: string | null;
|
|
1121
1148
|
}
|
|
1122
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1123
|
-
entityType: ResourceNameTypeEnum;
|
|
1124
|
-
entityId: number;
|
|
1125
|
-
organizationId?: number;
|
|
1126
|
-
userId?: number;
|
|
1127
|
-
customerId?: number;
|
|
1128
|
-
performingUserId: number;
|
|
1129
|
-
description: string;
|
|
1130
|
-
actionType: ActionTypesEnum;
|
|
1131
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1132
|
-
oldValue?: any;
|
|
1133
|
-
newValue?: any;
|
|
1134
|
-
}
|
|
1135
|
-
export declare class Address extends BondBaseEntity {
|
|
1136
|
-
city?: string;
|
|
1137
|
-
street?: string;
|
|
1138
|
-
streetNum?: string;
|
|
1139
|
-
aptNum?: string;
|
|
1140
|
-
zip?: string;
|
|
1141
|
-
country?: string;
|
|
1142
|
-
state?: string;
|
|
1143
|
-
geo: any;
|
|
1144
|
-
deletedAt?: Date;
|
|
1145
|
-
}
|
|
1146
1149
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1147
1150
|
questionnaireId: number;
|
|
1148
1151
|
userId?: number;
|
|
@@ -1167,11 +1170,6 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1167
1170
|
endDate: Date;
|
|
1168
1171
|
deletedAt?: Date;
|
|
1169
1172
|
}
|
|
1170
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1171
|
-
id: number;
|
|
1172
|
-
createdAt: Date;
|
|
1173
|
-
updatedAt: Date;
|
|
1174
|
-
}
|
|
1175
1173
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1176
1174
|
reservationId?: number;
|
|
1177
1175
|
color?: string;
|
|
@@ -1190,11 +1188,6 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1190
1188
|
publicNotes?: string;
|
|
1191
1189
|
slotType?: SlotTypeEnum;
|
|
1192
1190
|
}
|
|
1193
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1194
|
-
area: string;
|
|
1195
|
-
key: string;
|
|
1196
|
-
value: string;
|
|
1197
|
-
}
|
|
1198
1191
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1199
1192
|
parentId: number;
|
|
1200
1193
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1205,6 +1198,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1205
1198
|
endTimeInDay: string;
|
|
1206
1199
|
directBookingFor: DirectBookingTypesEnum;
|
|
1207
1200
|
}
|
|
1201
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1202
|
+
area: string;
|
|
1203
|
+
key: string;
|
|
1204
|
+
value: string;
|
|
1205
|
+
}
|
|
1208
1206
|
export declare class Connection extends BondBaseEntity {
|
|
1209
1207
|
connType: number | null;
|
|
1210
1208
|
from: number | null;
|
|
@@ -1393,6 +1391,10 @@ export declare class FacilityToResource extends BondBaseEntity {
|
|
|
1393
1391
|
facilityId: number;
|
|
1394
1392
|
resourceId: number;
|
|
1395
1393
|
}
|
|
1394
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1395
|
+
name: string | null;
|
|
1396
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1397
|
+
}
|
|
1396
1398
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1397
1399
|
userId: number;
|
|
1398
1400
|
invoiceId: number;
|
|
@@ -1407,10 +1409,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1407
1409
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1408
1410
|
code: string;
|
|
1409
1411
|
}
|
|
1410
|
-
export declare class FamilyAccount extends BondBaseEntity {
|
|
1411
|
-
name: string | null;
|
|
1412
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1413
|
-
}
|
|
1414
1412
|
export declare class Group extends BondBaseEntity {
|
|
1415
1413
|
name: string;
|
|
1416
1414
|
description?: string;
|
|
@@ -2351,14 +2349,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2351
2349
|
entityType: UserAuthorizationsTypeEnum;
|
|
2352
2350
|
user: User;
|
|
2353
2351
|
}
|
|
2354
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2355
|
-
familyAccountId: number;
|
|
2356
|
-
userId: number;
|
|
2357
|
-
isAdmin: boolean;
|
|
2358
|
-
user: User;
|
|
2359
|
-
familyAccount: FamilyAccount;
|
|
2360
|
-
deletedAt?: Date;
|
|
2361
|
-
}
|
|
2362
2352
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2363
2353
|
userId: number;
|
|
2364
2354
|
failCount: number;
|
|
@@ -2367,6 +2357,14 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2367
2357
|
paymentMethodId: string;
|
|
2368
2358
|
nextAllowedChargeDate?: Date;
|
|
2369
2359
|
}
|
|
2360
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2361
|
+
familyAccountId: number;
|
|
2362
|
+
userId: number;
|
|
2363
|
+
isAdmin: boolean;
|
|
2364
|
+
user: User;
|
|
2365
|
+
familyAccount: FamilyAccount;
|
|
2366
|
+
deletedAt?: Date;
|
|
2367
|
+
}
|
|
2370
2368
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2371
2369
|
groupId: number;
|
|
2372
2370
|
userId: number;
|
|
@@ -2390,370 +2388,15 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2390
2388
|
membershipCollectionId?: string;
|
|
2391
2389
|
programsCollectionId?: string;
|
|
2392
2390
|
}
|
|
2393
|
-
export
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
minValue?: string;
|
|
2398
|
-
maxValue?: string;
|
|
2399
|
-
}
|
|
2400
|
-
export interface IQuestionAnswerObject {
|
|
2401
|
-
questionId: number;
|
|
2402
|
-
value: string;
|
|
2403
|
-
}
|
|
2404
|
-
export interface ILowestPriceForItem {
|
|
2405
|
-
itemId: number;
|
|
2406
|
-
itemType: ResourceNameTypeEnum;
|
|
2407
|
-
groupId: number;
|
|
2408
|
-
groupName?: string;
|
|
2409
|
-
price: number;
|
|
2410
|
-
overridesPrice: boolean;
|
|
2411
|
-
}
|
|
2412
|
-
export interface IResourcesAvailability {
|
|
2413
|
-
resourceType: ResourceNameTypeEnum;
|
|
2414
|
-
quantity: number;
|
|
2415
|
-
resourcesIds: number[];
|
|
2416
|
-
isPunchCard: boolean;
|
|
2417
|
-
resources?: any[];
|
|
2418
|
-
}
|
|
2419
|
-
export interface IPackageResponse {
|
|
2420
|
-
parentProduct: Product;
|
|
2421
|
-
children: IChildProduct[];
|
|
2391
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
2392
|
+
id: number;
|
|
2393
|
+
createdAt: Date;
|
|
2394
|
+
updatedAt: Date;
|
|
2422
2395
|
}
|
|
2423
|
-
export
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
}
|
|
2428
|
-
export interface ISeasonAttendeeInfo {
|
|
2429
|
-
applicationAnswers: Answer[];
|
|
2430
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2431
|
-
invoices: Invoice[];
|
|
2432
|
-
payments: Payment[];
|
|
2433
|
-
products: Product[];
|
|
2434
|
-
redeemNext: ProductsUsers;
|
|
2435
|
-
}
|
|
2436
|
-
export interface ISeasonAttendeeListInfo {
|
|
2437
|
-
userId: number;
|
|
2438
|
-
userFirstName: string;
|
|
2439
|
-
userLastName: string;
|
|
2440
|
-
userGender: number;
|
|
2441
|
-
userBirthDate: Date;
|
|
2442
|
-
userProfilePicUrl: string;
|
|
2443
|
-
customerId: number;
|
|
2444
|
-
customerEmail: string;
|
|
2445
|
-
paymentStatus: string;
|
|
2446
|
-
productName: string;
|
|
2447
|
-
punchCard: boolean;
|
|
2448
|
-
}
|
|
2449
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2450
|
-
segmentType: ResourceNameTypeEnum;
|
|
2451
|
-
participantRegisteredDate?: string;
|
|
2452
|
-
}
|
|
2453
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2454
|
-
segmentType: ResourceNameTypeEnum;
|
|
2455
|
-
participantRegisteredDate?: string;
|
|
2456
|
-
}
|
|
2457
|
-
export interface ITokenResonse {
|
|
2458
|
-
token: string;
|
|
2459
|
-
}
|
|
2460
|
-
export interface IStripeBondInvoices {
|
|
2461
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2462
|
-
bondPaidPayment: Payment;
|
|
2463
|
-
invoice?: Invoice;
|
|
2464
|
-
customer?: Customer;
|
|
2465
|
-
}
|
|
2466
|
-
export interface IPartialPaymentData {
|
|
2467
|
-
purchasingUserId: number;
|
|
2468
|
-
paymentData: PurchasePaymentDto;
|
|
2469
|
-
amountToPay: number;
|
|
2470
|
-
}
|
|
2471
|
-
export interface IPayment {
|
|
2472
|
-
id: number;
|
|
2473
|
-
total: number;
|
|
2474
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2475
|
-
status: PaymentStatusEnum;
|
|
2476
|
-
createdAt: Date;
|
|
2477
|
-
invoices: number[];
|
|
2478
|
-
}
|
|
2479
|
-
export interface IPaginationData<T> {
|
|
2480
|
-
meta: {
|
|
2481
|
-
totalItems: number;
|
|
2482
|
-
itemsPerPage: number;
|
|
2483
|
-
totalPages: number;
|
|
2484
|
-
currentPage: number;
|
|
2485
|
-
};
|
|
2486
|
-
data: T[];
|
|
2487
|
-
}
|
|
2488
|
-
export interface IPricesOfProductsResults {
|
|
2489
|
-
productId: number;
|
|
2490
|
-
userId: number;
|
|
2491
|
-
price: number;
|
|
2492
|
-
groupId?: number;
|
|
2493
|
-
groupName?: string;
|
|
2494
|
-
originalPrice?: number;
|
|
2495
|
-
priceWithoutTax: number;
|
|
2496
|
-
tax: number;
|
|
2497
|
-
isTaxInclusive: boolean;
|
|
2498
|
-
}
|
|
2499
|
-
export interface IPaymentMethodToFundLeft {
|
|
2500
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2501
|
-
paymentMethodId: string;
|
|
2502
|
-
fundLeft: number;
|
|
2503
|
-
ccLast4?: string;
|
|
2504
|
-
ccBrand?: string;
|
|
2505
|
-
}
|
|
2506
|
-
export interface IVariantsAndTitle {
|
|
2507
|
-
title: VariantTitle;
|
|
2508
|
-
variants: Variant[];
|
|
2509
|
-
}
|
|
2510
|
-
export interface IProgramSeasonActivityTimes {
|
|
2511
|
-
dayOfWeek: number;
|
|
2512
|
-
open: string;
|
|
2513
|
-
close: string;
|
|
2514
|
-
}
|
|
2515
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2516
|
-
date: string;
|
|
2517
|
-
startTime: string;
|
|
2518
|
-
endTime: string;
|
|
2519
|
-
}
|
|
2520
|
-
export interface IBlockedDates {
|
|
2521
|
-
name: string;
|
|
2522
|
-
startDate: Date;
|
|
2523
|
-
endDate: Date;
|
|
2524
|
-
}
|
|
2525
|
-
export interface ISingleMemberForRenewal {
|
|
2526
|
-
member_id: number;
|
|
2527
|
-
member_membershipId: number;
|
|
2528
|
-
member_userId: number;
|
|
2529
|
-
member_nextPaymentMethodId?: string;
|
|
2530
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2531
|
-
member_answerTitleIds?: number[];
|
|
2532
|
-
member_organizationId: number;
|
|
2533
|
-
product_productPrice: number;
|
|
2534
|
-
product_productId: number;
|
|
2535
|
-
invoice_payingUserId: number;
|
|
2536
|
-
invoice_paymentMethodId: string;
|
|
2537
|
-
invoice_paymentType: PaymentMethodTypeEnum;
|
|
2538
|
-
endDate: Date;
|
|
2539
|
-
membership_name: string;
|
|
2540
|
-
user_firstName: string;
|
|
2541
|
-
user_lastName: string;
|
|
2542
|
-
user_email: string;
|
|
2543
|
-
}
|
|
2544
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2545
|
-
package_parentProductId: number;
|
|
2546
|
-
product2_productPrice: number;
|
|
2547
|
-
familyid: number;
|
|
2548
|
-
invoice_id: number;
|
|
2549
|
-
}
|
|
2550
|
-
export interface IResourceRegistrationData {
|
|
2551
|
-
id: number;
|
|
2552
|
-
resourceType: ResourceNameTypeEnum;
|
|
2553
|
-
openNumDays?: number;
|
|
2554
|
-
openNumMinutes?: number;
|
|
2555
|
-
openTime?: string;
|
|
2556
|
-
closeNumDays?: number;
|
|
2557
|
-
closeNumMinutes?: number;
|
|
2558
|
-
closeTime?: string;
|
|
2559
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2560
|
-
}
|
|
2561
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2562
|
-
id: number;
|
|
2563
|
-
startDate: string;
|
|
2564
|
-
startTime: string;
|
|
2565
|
-
}
|
|
2566
|
-
export interface IRegistrationConstraintsSetting {
|
|
2567
|
-
numDays?: number;
|
|
2568
|
-
numMinutes?: number;
|
|
2569
|
-
}
|
|
2570
|
-
export interface IAttendeeDataToNotify {
|
|
2571
|
-
firstName: string;
|
|
2572
|
-
lastName: string;
|
|
2573
|
-
email: string;
|
|
2574
|
-
sessionName: string;
|
|
2575
|
-
parentSessionName?: string;
|
|
2576
|
-
organizationName: string;
|
|
2577
|
-
programName: string;
|
|
2578
|
-
}
|
|
2579
|
-
export interface IEventInSchedule {
|
|
2580
|
-
eventId: number;
|
|
2581
|
-
eventName: string;
|
|
2582
|
-
eventStartDate: string;
|
|
2583
|
-
eventEndDate: string;
|
|
2584
|
-
eventStartTime: string;
|
|
2585
|
-
eventEndTime: string;
|
|
2586
|
-
programId: number;
|
|
2587
|
-
programName: string;
|
|
2588
|
-
programType: ProgramTypesEnum;
|
|
2589
|
-
sessionId: number;
|
|
2590
|
-
sessionName: string;
|
|
2591
|
-
sports: number;
|
|
2592
|
-
spaces: {
|
|
2593
|
-
spaceId: number;
|
|
2594
|
-
spaceName: string;
|
|
2595
|
-
}[];
|
|
2596
|
-
status?: RegistrationValidationStatusEnum;
|
|
2597
|
-
}
|
|
2598
|
-
export interface ISlotInSchedule {
|
|
2599
|
-
facilityId: number;
|
|
2600
|
-
facilityName: string;
|
|
2601
|
-
spaces: ISpaceWithSlots[];
|
|
2602
|
-
}
|
|
2603
|
-
export interface ISpaceWithSlots {
|
|
2604
|
-
id: number;
|
|
2605
|
-
name: string;
|
|
2606
|
-
slots: ISlotReservationData[];
|
|
2607
|
-
}
|
|
2608
|
-
export interface ISlotReservationData {
|
|
2609
|
-
reservationId: number;
|
|
2610
|
-
reservationName: string;
|
|
2611
|
-
date: string;
|
|
2612
|
-
startTime: string;
|
|
2613
|
-
endTime: string;
|
|
2614
|
-
notes: string;
|
|
2615
|
-
spaceId: number;
|
|
2616
|
-
isRental: boolean;
|
|
2617
|
-
slotType: SlotTypeEnum;
|
|
2618
|
-
slotId: number;
|
|
2619
|
-
eventId: number;
|
|
2620
|
-
isPrivate: boolean;
|
|
2621
|
-
}
|
|
2622
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2623
|
-
parentSessionId: number;
|
|
2624
|
-
parentSessionName: string;
|
|
2625
|
-
eventTimezone: string;
|
|
2626
|
-
maxParticipants: number;
|
|
2627
|
-
maxMaleParticipants: number;
|
|
2628
|
-
maxFemaleParticipants: number;
|
|
2629
|
-
isPunchCard: boolean;
|
|
2630
|
-
}
|
|
2631
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2632
|
-
id: number;
|
|
2633
|
-
name: string;
|
|
2634
|
-
bookingCreatorId: number;
|
|
2635
|
-
}
|
|
2636
|
-
export interface IRawSlotInSchedule {
|
|
2637
|
-
startDate: string;
|
|
2638
|
-
endDate: string;
|
|
2639
|
-
startTime: string;
|
|
2640
|
-
endTime: string;
|
|
2641
|
-
reservationId: number;
|
|
2642
|
-
eventTitle: string;
|
|
2643
|
-
publicNotes: string;
|
|
2644
|
-
spaceId: number;
|
|
2645
|
-
creatorType: ResourceNameTypeEnum;
|
|
2646
|
-
slotType: SlotTypeEnum;
|
|
2647
|
-
slotId: number;
|
|
2648
|
-
eventId: number;
|
|
2649
|
-
isPrivate: boolean;
|
|
2650
|
-
}
|
|
2651
|
-
export interface IPurchasedResourcesRaw {
|
|
2652
|
-
purchasedId: number;
|
|
2653
|
-
purchasedProductUserId: number;
|
|
2654
|
-
purchasedResourceId: number;
|
|
2655
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2656
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2657
|
-
pUserId: number;
|
|
2658
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2659
|
-
pUserProductId: number;
|
|
2660
|
-
pUserProductName: string;
|
|
2661
|
-
pUserProductPrice: number;
|
|
2662
|
-
pUserProductPriceCurrency: string;
|
|
2663
|
-
pUserProductQuantity: number;
|
|
2664
|
-
pUserProductQuantityLeft: number;
|
|
2665
|
-
pUserUserId: number;
|
|
2666
|
-
}
|
|
2667
|
-
export interface IUsersPasses {
|
|
2668
|
-
userId: number;
|
|
2669
|
-
userFirstName: string;
|
|
2670
|
-
userLastName: string;
|
|
2671
|
-
organizationId: number;
|
|
2672
|
-
programId: number;
|
|
2673
|
-
programName: string;
|
|
2674
|
-
sessionId: number;
|
|
2675
|
-
sessionName: string;
|
|
2676
|
-
productId: number;
|
|
2677
|
-
productName: string;
|
|
2678
|
-
productUserId: number;
|
|
2679
|
-
purchaseDate: Date;
|
|
2680
|
-
passesLeft: number;
|
|
2681
|
-
}
|
|
2682
|
-
export interface ISessionsLandingPage {
|
|
2683
|
-
sessionId: number;
|
|
2684
|
-
name: string;
|
|
2685
|
-
startDate: Date;
|
|
2686
|
-
endDate: Date;
|
|
2687
|
-
registrationStartDate: Date;
|
|
2688
|
-
registrationEndDate: Date;
|
|
2689
|
-
sport: SportsEnum;
|
|
2690
|
-
minAge: string;
|
|
2691
|
-
maxAge: string;
|
|
2692
|
-
maxParticipants?: number;
|
|
2693
|
-
gender: GenderEnum;
|
|
2694
|
-
activityTimes: ActivityTimes[];
|
|
2695
|
-
earlyRegistrationStartDate?: Date;
|
|
2696
|
-
earlyRegistrationEndDate?: Date;
|
|
2697
|
-
lateRegistrationStartDate?: Date;
|
|
2698
|
-
lateRegistrationEndDate?: Date;
|
|
2699
|
-
attendeeCount?: number;
|
|
2700
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2701
|
-
}
|
|
2702
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2703
|
-
hasRequiredMembership: boolean;
|
|
2704
|
-
hasEntitledPricing: boolean;
|
|
2705
|
-
lowestPrice?: number;
|
|
2706
|
-
products?: ISessionLandingPageProduct[];
|
|
2707
|
-
}
|
|
2708
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2709
|
-
hasRequiredMembership: boolean;
|
|
2710
|
-
hasEntitledPricing: boolean;
|
|
2711
|
-
products?: ISessionLandingPageProduct[];
|
|
2712
|
-
segments?: Event[] | ProgramSeason[];
|
|
2713
|
-
programName: string;
|
|
2714
|
-
programId: number;
|
|
2715
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2716
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2717
|
-
}
|
|
2718
|
-
export interface ISlimAddons {
|
|
2719
|
-
addons?: {
|
|
2720
|
-
id: number;
|
|
2721
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2722
|
-
name: string;
|
|
2723
|
-
productType?: ProductTypesEnum;
|
|
2724
|
-
productSubType?: string;
|
|
2725
|
-
}[];
|
|
2726
|
-
}
|
|
2727
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2728
|
-
id: number;
|
|
2729
|
-
name: string;
|
|
2730
|
-
startDate?: Date;
|
|
2731
|
-
endDate?: Date;
|
|
2732
|
-
downpayment?: number;
|
|
2733
|
-
description?: string;
|
|
2734
|
-
prices: Price[];
|
|
2735
|
-
productSubType?: ProductSubTypesEnum;
|
|
2736
|
-
punchCard: boolean;
|
|
2737
|
-
isAddon: boolean;
|
|
2738
|
-
defaultPriceId?: number;
|
|
2739
|
-
}
|
|
2740
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2741
|
-
destinationId?: string;
|
|
2742
|
-
stripeCustomerId?: string;
|
|
2743
|
-
fee?: number;
|
|
2744
|
-
}
|
|
2745
|
-
export interface IReservationCreatorData {
|
|
2746
|
-
type: ResourceNameTypeEnum;
|
|
2747
|
-
id: number;
|
|
2748
|
-
organizationId: number;
|
|
2749
|
-
startDate: string;
|
|
2750
|
-
endDate: string;
|
|
2751
|
-
sportId: number;
|
|
2752
|
-
}
|
|
2753
|
-
export declare enum EntitlementTermsTypesEnum {
|
|
2754
|
-
QUESTION = "question",
|
|
2755
|
-
CITY = "city",
|
|
2756
|
-
MEMBERSHIP = "membership"
|
|
2396
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2397
|
+
QUESTION = "question",
|
|
2398
|
+
CITY = "city",
|
|
2399
|
+
MEMBERSHIP = "membership"
|
|
2757
2400
|
}
|
|
2758
2401
|
export declare enum ResourceNameTypeEnum {
|
|
2759
2402
|
EVENT = "event",
|
|
@@ -3069,226 +2712,590 @@ export declare enum ActionSourcePlatformEnum {
|
|
|
3069
2712
|
BACKOFFICE = "backoffice",
|
|
3070
2713
|
CONSUMER = "consumer"
|
|
3071
2714
|
}
|
|
3072
|
-
export declare enum RolesEnum {
|
|
3073
|
-
ORG_ADMIN = "organizationAdmin",
|
|
3074
|
-
BOND_ADMIN = "bondAdmin"
|
|
2715
|
+
export declare enum RolesEnum {
|
|
2716
|
+
ORG_ADMIN = "organizationAdmin",
|
|
2717
|
+
BOND_ADMIN = "bondAdmin"
|
|
2718
|
+
}
|
|
2719
|
+
export declare enum SeasonPoolStatusEnum {
|
|
2720
|
+
IN_POOL = 5,
|
|
2721
|
+
ASSIGNED = 1,
|
|
2722
|
+
QUIT = 2,
|
|
2723
|
+
SUSPENDED = 3,
|
|
2724
|
+
INACTIVE = 4
|
|
2725
|
+
}
|
|
2726
|
+
export declare enum AmenitiesEnum {
|
|
2727
|
+
HEAT = 1,
|
|
2728
|
+
AC = 2,
|
|
2729
|
+
WIFI = 3,
|
|
2730
|
+
RESTROOMS = 4,
|
|
2731
|
+
DRINKING_FOUNTAIN = 5,
|
|
2732
|
+
PARKING = 6,
|
|
2733
|
+
CONCESSIONS = 7,
|
|
2734
|
+
SHELTER = 8,
|
|
2735
|
+
PORTABLE_RESTROOMS = 9,
|
|
2736
|
+
LIGHTS = 10,
|
|
2737
|
+
LOCKER_ROOM = 11,
|
|
2738
|
+
PAID_PARKING = 12,
|
|
2739
|
+
ACCESSIBLE = 13
|
|
2740
|
+
}
|
|
2741
|
+
export declare enum ResourceSubTypeEnum {
|
|
2742
|
+
COURT = "court",
|
|
2743
|
+
FIELD = "field",
|
|
2744
|
+
ROOM = "room",
|
|
2745
|
+
DIAMOND = "diamond",
|
|
2746
|
+
RINK = "rink",
|
|
2747
|
+
STUDIO = "studio",
|
|
2748
|
+
POOL = "pool",
|
|
2749
|
+
BATTING_CAGE = "batting cage",
|
|
2750
|
+
SHELTER = "shelter",
|
|
2751
|
+
GOLF_SIMULATOR = "golf simulator"
|
|
2752
|
+
}
|
|
2753
|
+
export declare enum ResourceTypeEnum {
|
|
2754
|
+
SPACE = "space"
|
|
2755
|
+
}
|
|
2756
|
+
export declare enum ResourceAgesEnum {
|
|
2757
|
+
ADULTS = "adults",
|
|
2758
|
+
CHILDREN = "children"
|
|
2759
|
+
}
|
|
2760
|
+
export declare enum SpacePropertiesEnum {
|
|
2761
|
+
OUTDOOR = "outdoor",
|
|
2762
|
+
INDOOR = "indoor"
|
|
2763
|
+
}
|
|
2764
|
+
export declare enum SurfacesEnum {
|
|
2765
|
+
GRASS = "grass",
|
|
2766
|
+
TURF = "turf",
|
|
2767
|
+
FIELD_TURF = "fieldTurf",
|
|
2768
|
+
ASTRO_TURF = "astroTurf",
|
|
2769
|
+
HARDWOOD = "hardwood",
|
|
2770
|
+
ASPHALT = "asphalt",
|
|
2771
|
+
SAND = "sand",
|
|
2772
|
+
ICE = "ice",
|
|
2773
|
+
SPORT_COURT = "sportCourt"
|
|
2774
|
+
}
|
|
2775
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
2776
|
+
MINUTES = "minutes",
|
|
2777
|
+
DAYS = "days"
|
|
2778
|
+
}
|
|
2779
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
2780
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
2781
|
+
OPEN = "open",
|
|
2782
|
+
CLOSED = "closed"
|
|
2783
|
+
}
|
|
2784
|
+
export declare enum RegistrationValidationStatusEnum {
|
|
2785
|
+
FULL = "full",
|
|
2786
|
+
ALREADY_REGISTERED = "registered",
|
|
2787
|
+
AVAILABLE = "available",
|
|
2788
|
+
NOT_OPEN_YET = "not opened",
|
|
2789
|
+
ALREADY_CLOSED = "closed",
|
|
2790
|
+
NO_PRODUCT_FOUND = "no-product-found"
|
|
2791
|
+
}
|
|
2792
|
+
export declare enum DiscountMethodsEnum {
|
|
2793
|
+
PERCENT = "percent",
|
|
2794
|
+
AMOUNT = "amount"
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
2797
|
+
ORGANIZATION = "organization"
|
|
2798
|
+
}
|
|
2799
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
2800
|
+
USA = "USA"
|
|
2801
|
+
}
|
|
2802
|
+
export declare enum DateTimeFormatsEnum {
|
|
2803
|
+
API_DATE = "YYYY/MM/DD",
|
|
2804
|
+
API_TIME = "HH:mm:ss",
|
|
2805
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2806
|
+
}
|
|
2807
|
+
export declare enum SlotTypeEnum {
|
|
2808
|
+
EXTERNAL = "external",
|
|
2809
|
+
INTERNAL = "internal",
|
|
2810
|
+
MAINTENANCE = "maintenance",
|
|
2811
|
+
CUSTOM = "custom"
|
|
2812
|
+
}
|
|
2813
|
+
export declare enum PlatformsEnum {
|
|
2814
|
+
CONSUMER = "consumer",
|
|
2815
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2816
|
+
BO = "backoffice",
|
|
2817
|
+
MOBILE = "mobile",
|
|
2818
|
+
CRON = "cron"
|
|
2819
|
+
}
|
|
2820
|
+
export declare enum ShiftStatusEnum {
|
|
2821
|
+
OPEN = "open",
|
|
2822
|
+
CLOSED = "closed",
|
|
2823
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2824
|
+
RECONCILED = "reconciled"
|
|
2825
|
+
}
|
|
2826
|
+
export declare enum EventStatusEnum {
|
|
2827
|
+
OPEN = 1,
|
|
2828
|
+
DRAFT = 2,
|
|
2829
|
+
FULL = 3,
|
|
2830
|
+
CANCELLED = 4,
|
|
2831
|
+
CLOSED = 5,
|
|
2832
|
+
DELETED = 6
|
|
2833
|
+
}
|
|
2834
|
+
export declare enum ReservationTypeEnum {
|
|
2835
|
+
RENTAL = "rental",
|
|
2836
|
+
PROGRAM = "program",
|
|
2837
|
+
MAINTENANCE = "maintenance",
|
|
2838
|
+
CUSTOM = "custom",
|
|
2839
|
+
INTERNAL = "internal"
|
|
2840
|
+
}
|
|
2841
|
+
export declare enum SlotDurationTypeEnum {
|
|
2842
|
+
DATES = "dates",
|
|
2843
|
+
ALL_DAY = "all day",
|
|
2844
|
+
DURATION = "duration"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum DurationUnitTypesEnum {
|
|
2847
|
+
MINUTES = "minutes",
|
|
2848
|
+
HOURS = "hours"
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FrequencyEnum {
|
|
2851
|
+
NONE = "none",
|
|
2852
|
+
WEEKLY = "weekly",
|
|
2853
|
+
DAILY = "daily",
|
|
2854
|
+
MONTHLY = "monthly",
|
|
2855
|
+
YEARLY = "yearly"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum MaintenanceTimingEnum {
|
|
2858
|
+
BEFORE = 1,
|
|
2859
|
+
AFTER = 2,
|
|
2860
|
+
AT_THE_BEGINING = 3,
|
|
2861
|
+
AT_THE_END = 4
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum CreatorTypeEnum {
|
|
2864
|
+
SPACE = "space",
|
|
2865
|
+
PROGRAM_SEASON = "program_season",
|
|
2866
|
+
SEASON = "season"
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2869
|
+
INDIVIDUAL = "indvidual",
|
|
2870
|
+
CATEGORY = "category",
|
|
2871
|
+
GLOBAL = "global"
|
|
2872
|
+
}
|
|
2873
|
+
export declare enum BondDayOfWeekEnum {
|
|
2874
|
+
MONDAY = 2,
|
|
2875
|
+
TUESDAY = 3,
|
|
2876
|
+
WEDNESDAY = 4,
|
|
2877
|
+
THURSDAY = 5,
|
|
2878
|
+
FRIDAY = 6,
|
|
2879
|
+
SATURDAY = 7,
|
|
2880
|
+
SUNDAY = 8
|
|
2881
|
+
}
|
|
2882
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2883
|
+
NEW = "new",
|
|
2884
|
+
NO = "no",
|
|
2885
|
+
YES = "yes"
|
|
2886
|
+
}
|
|
2887
|
+
export declare enum ProductPackageLevelEnum {
|
|
2888
|
+
HOUR = "hour",
|
|
2889
|
+
SLOT = "slot",
|
|
2890
|
+
RESERVATION = "reservation"
|
|
2891
|
+
}
|
|
2892
|
+
export declare enum CancellationStatusEnum {
|
|
2893
|
+
IMMEDIATE = "immediate",
|
|
2894
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2895
|
+
}
|
|
2896
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2897
|
+
DRAFT = 0,
|
|
2898
|
+
PUBLISHED = 1
|
|
2899
|
+
}
|
|
2900
|
+
export declare enum FinancialStepEnum {
|
|
2901
|
+
VOID = "void",
|
|
2902
|
+
REFUND = "refund",
|
|
2903
|
+
NONE = "none",
|
|
2904
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2905
|
+
APPEND = "append"
|
|
2906
|
+
}
|
|
2907
|
+
export declare enum StripeAccountTypesEnum {
|
|
2908
|
+
STRIPE = "stripe",
|
|
2909
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2910
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2911
|
+
}
|
|
2912
|
+
export declare enum LinkedAccountStatus {
|
|
2913
|
+
PENDING = 1,
|
|
2914
|
+
ACTIVE = 2,
|
|
2915
|
+
PRE_PENDING = 3
|
|
2916
|
+
}
|
|
2917
|
+
export declare enum AddonParentTypeEnum {
|
|
2918
|
+
RESERVATION = "reservation",
|
|
2919
|
+
SLOT = "slot"
|
|
2920
|
+
}
|
|
2921
|
+
export declare enum EEmailStatus {
|
|
2922
|
+
SENT = "sent",
|
|
2923
|
+
OPENED = "opened",
|
|
2924
|
+
PAID = "paid",
|
|
2925
|
+
CANCELED = "canceled"
|
|
2926
|
+
}
|
|
2927
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2928
|
+
ENABLED = 1,
|
|
2929
|
+
DISABLED_REDIRECT = 2,
|
|
2930
|
+
DISABLED_INFO_ONLY = 3,
|
|
2931
|
+
DISABLED_EMAIL = 4
|
|
2932
|
+
}
|
|
2933
|
+
export declare enum NotifyMethodEnum {
|
|
2934
|
+
EMAIL = "Email"
|
|
2935
|
+
}
|
|
2936
|
+
export declare enum EStartDateFilter {
|
|
2937
|
+
LessThan = "lt",
|
|
2938
|
+
GreaterOrEqualTo = "gte"
|
|
2939
|
+
}
|
|
2940
|
+
export interface IEntitlementTerms {
|
|
2941
|
+
type: EntitlementTermsTypesEnum;
|
|
2942
|
+
id?: number;
|
|
2943
|
+
value?: string;
|
|
2944
|
+
minValue?: string;
|
|
2945
|
+
maxValue?: string;
|
|
2946
|
+
}
|
|
2947
|
+
export interface IQuestionAnswerObject {
|
|
2948
|
+
questionId: number;
|
|
2949
|
+
value: string;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ILowestPriceForItem {
|
|
2952
|
+
itemId: number;
|
|
2953
|
+
itemType: ResourceNameTypeEnum;
|
|
2954
|
+
groupId: number;
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
price: number;
|
|
2957
|
+
overridesPrice: boolean;
|
|
2958
|
+
}
|
|
2959
|
+
export interface IResourcesAvailability {
|
|
2960
|
+
resourceType: ResourceNameTypeEnum;
|
|
2961
|
+
quantity: number;
|
|
2962
|
+
resourcesIds: number[];
|
|
2963
|
+
isPunchCard: boolean;
|
|
2964
|
+
resources?: any[];
|
|
2965
|
+
}
|
|
2966
|
+
export interface IPackageResponse {
|
|
2967
|
+
parentProduct: Product;
|
|
2968
|
+
children: IChildProduct[];
|
|
2969
|
+
}
|
|
2970
|
+
export interface IChildProduct {
|
|
2971
|
+
product: Product;
|
|
2972
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2973
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
3075
2974
|
}
|
|
3076
|
-
export
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
2975
|
+
export interface ISeasonAttendeeInfo {
|
|
2976
|
+
applicationAnswers: Answer[];
|
|
2977
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2978
|
+
invoices: Invoice[];
|
|
2979
|
+
payments: Payment[];
|
|
2980
|
+
products: Product[];
|
|
2981
|
+
redeemNext: ProductsUsers;
|
|
3082
2982
|
}
|
|
3083
|
-
export
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
PAID_PARKING = 12,
|
|
3096
|
-
ACCESSIBLE = 13
|
|
2983
|
+
export interface ISeasonAttendeeListInfo {
|
|
2984
|
+
userId: number;
|
|
2985
|
+
userFirstName: string;
|
|
2986
|
+
userLastName: string;
|
|
2987
|
+
userGender: number;
|
|
2988
|
+
userBirthDate: Date;
|
|
2989
|
+
userProfilePicUrl: string;
|
|
2990
|
+
customerId: number;
|
|
2991
|
+
customerEmail: string;
|
|
2992
|
+
paymentStatus: string;
|
|
2993
|
+
productName: string;
|
|
2994
|
+
punchCard: boolean;
|
|
3097
2995
|
}
|
|
3098
|
-
export declare
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
ROOM = "room",
|
|
3102
|
-
DIAMOND = "diamond",
|
|
3103
|
-
RINK = "rink",
|
|
3104
|
-
STUDIO = "studio",
|
|
3105
|
-
POOL = "pool",
|
|
3106
|
-
BATTING_CAGE = "batting cage",
|
|
3107
|
-
SHELTER = "shelter",
|
|
3108
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2996
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2997
|
+
segmentType: ResourceNameTypeEnum;
|
|
2998
|
+
participantRegisteredDate?: string;
|
|
3109
2999
|
}
|
|
3110
|
-
export declare
|
|
3111
|
-
|
|
3000
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
3001
|
+
segmentType: ResourceNameTypeEnum;
|
|
3002
|
+
participantRegisteredDate?: string;
|
|
3112
3003
|
}
|
|
3113
|
-
export
|
|
3114
|
-
|
|
3115
|
-
CHILDREN = "children"
|
|
3004
|
+
export interface ITokenResonse {
|
|
3005
|
+
token: string;
|
|
3116
3006
|
}
|
|
3117
|
-
export
|
|
3118
|
-
|
|
3119
|
-
|
|
3007
|
+
export interface IStripeBondInvoices {
|
|
3008
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
3009
|
+
bondPaidPayment: Payment;
|
|
3010
|
+
invoice?: Invoice;
|
|
3011
|
+
customer?: Customer;
|
|
3120
3012
|
}
|
|
3121
|
-
export
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
ASTRO_TURF = "astroTurf",
|
|
3126
|
-
HARDWOOD = "hardwood",
|
|
3127
|
-
ASPHALT = "asphalt",
|
|
3128
|
-
SAND = "sand",
|
|
3129
|
-
ICE = "ice",
|
|
3130
|
-
SPORT_COURT = "sportCourt"
|
|
3013
|
+
export interface IPartialPaymentData {
|
|
3014
|
+
purchasingUserId: number;
|
|
3015
|
+
paymentData: PurchasePaymentDto;
|
|
3016
|
+
amountToPay: number;
|
|
3131
3017
|
}
|
|
3132
|
-
export
|
|
3133
|
-
|
|
3134
|
-
|
|
3018
|
+
export interface IPayment {
|
|
3019
|
+
id: number;
|
|
3020
|
+
total: number;
|
|
3021
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
3022
|
+
status: PaymentStatusEnum;
|
|
3023
|
+
createdAt: Date;
|
|
3024
|
+
invoices: number[];
|
|
3135
3025
|
}
|
|
3136
|
-
export
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3026
|
+
export interface IPaginationData<T> {
|
|
3027
|
+
meta: {
|
|
3028
|
+
totalItems: number;
|
|
3029
|
+
itemsPerPage: number;
|
|
3030
|
+
totalPages: number;
|
|
3031
|
+
currentPage: number;
|
|
3032
|
+
};
|
|
3033
|
+
data: T[];
|
|
3140
3034
|
}
|
|
3141
|
-
export
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3035
|
+
export interface IPricesOfProductsResults {
|
|
3036
|
+
productId: number;
|
|
3037
|
+
userId: number;
|
|
3038
|
+
price: number;
|
|
3039
|
+
groupId?: number;
|
|
3040
|
+
groupName?: string;
|
|
3041
|
+
originalPrice?: number;
|
|
3042
|
+
priceWithoutTax: number;
|
|
3043
|
+
tax: number;
|
|
3044
|
+
isTaxInclusive: boolean;
|
|
3148
3045
|
}
|
|
3149
|
-
export
|
|
3150
|
-
|
|
3151
|
-
|
|
3046
|
+
export interface IPaymentMethodToFundLeft {
|
|
3047
|
+
paymentType: PaymentMethodTypeEnum;
|
|
3048
|
+
paymentMethodId: string;
|
|
3049
|
+
fundLeft: number;
|
|
3050
|
+
ccLast4?: string;
|
|
3051
|
+
ccBrand?: string;
|
|
3152
3052
|
}
|
|
3153
|
-
export
|
|
3154
|
-
|
|
3053
|
+
export interface IVariantsAndTitle {
|
|
3054
|
+
title: VariantTitle;
|
|
3055
|
+
variants: Variant[];
|
|
3155
3056
|
}
|
|
3156
|
-
export
|
|
3157
|
-
|
|
3057
|
+
export interface IProgramSeasonActivityTimes {
|
|
3058
|
+
dayOfWeek: number;
|
|
3059
|
+
open: string;
|
|
3060
|
+
close: string;
|
|
3158
3061
|
}
|
|
3159
|
-
export
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3062
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3063
|
+
date: string;
|
|
3064
|
+
startTime: string;
|
|
3065
|
+
endTime: string;
|
|
3163
3066
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
CUSTOM = "custom"
|
|
3067
|
+
export interface IBlockedDates {
|
|
3068
|
+
name: string;
|
|
3069
|
+
startDate: Date;
|
|
3070
|
+
endDate: Date;
|
|
3169
3071
|
}
|
|
3170
|
-
export
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3072
|
+
export interface ISingleMemberForRenewal {
|
|
3073
|
+
member_id: number;
|
|
3074
|
+
member_membershipId: number;
|
|
3075
|
+
member_userId: number;
|
|
3076
|
+
member_nextPaymentMethodId?: string;
|
|
3077
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3078
|
+
member_answerTitleIds?: number[];
|
|
3079
|
+
member_organizationId: number;
|
|
3080
|
+
product_productPrice: number;
|
|
3081
|
+
product_productId: number;
|
|
3082
|
+
invoice_payingUserId: number;
|
|
3083
|
+
invoice_paymentMethodId: string;
|
|
3084
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3085
|
+
endDate: Date;
|
|
3086
|
+
membership_name: string;
|
|
3087
|
+
user_firstName: string;
|
|
3088
|
+
user_lastName: string;
|
|
3089
|
+
user_email: string;
|
|
3176
3090
|
}
|
|
3177
|
-
export
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3091
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3092
|
+
package_parentProductId: number;
|
|
3093
|
+
product2_productPrice: number;
|
|
3094
|
+
familyid: number;
|
|
3095
|
+
invoice_id: number;
|
|
3182
3096
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3097
|
+
export interface IResourceRegistrationData {
|
|
3098
|
+
id: number;
|
|
3099
|
+
resourceType: ResourceNameTypeEnum;
|
|
3100
|
+
openNumDays?: number;
|
|
3101
|
+
openNumMinutes?: number;
|
|
3102
|
+
openTime?: string;
|
|
3103
|
+
closeNumDays?: number;
|
|
3104
|
+
closeNumMinutes?: number;
|
|
3105
|
+
closeTime?: string;
|
|
3106
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3190
3107
|
}
|
|
3191
|
-
export
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
CUSTOM = "custom",
|
|
3196
|
-
INTERNAL = "internal"
|
|
3108
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3109
|
+
id: number;
|
|
3110
|
+
startDate: string;
|
|
3111
|
+
startTime: string;
|
|
3197
3112
|
}
|
|
3198
|
-
export
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
DURATION = "duration"
|
|
3113
|
+
export interface IRegistrationConstraintsSetting {
|
|
3114
|
+
numDays?: number;
|
|
3115
|
+
numMinutes?: number;
|
|
3202
3116
|
}
|
|
3203
|
-
export
|
|
3204
|
-
|
|
3205
|
-
|
|
3117
|
+
export interface IAttendeeDataToNotify {
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
lastName: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
sessionName: string;
|
|
3122
|
+
parentSessionName?: string;
|
|
3123
|
+
organizationName: string;
|
|
3124
|
+
programName: string;
|
|
3206
3125
|
}
|
|
3207
|
-
export
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3126
|
+
export interface IEventInSchedule {
|
|
3127
|
+
eventId: number;
|
|
3128
|
+
eventName: string;
|
|
3129
|
+
eventStartDate: string;
|
|
3130
|
+
eventEndDate: string;
|
|
3131
|
+
eventStartTime: string;
|
|
3132
|
+
eventEndTime: string;
|
|
3133
|
+
programId: number;
|
|
3134
|
+
programName: string;
|
|
3135
|
+
programType: ProgramTypesEnum;
|
|
3136
|
+
sessionId: number;
|
|
3137
|
+
sessionName: string;
|
|
3138
|
+
sports: number;
|
|
3139
|
+
spaces: {
|
|
3140
|
+
spaceId: number;
|
|
3141
|
+
spaceName: string;
|
|
3142
|
+
}[];
|
|
3143
|
+
status?: RegistrationValidationStatusEnum;
|
|
3213
3144
|
}
|
|
3214
|
-
export
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
AT_THE_END = 4
|
|
3145
|
+
export interface ISlotInSchedule {
|
|
3146
|
+
facilityId: number;
|
|
3147
|
+
facilityName: string;
|
|
3148
|
+
spaces: ISpaceWithSlots[];
|
|
3219
3149
|
}
|
|
3220
|
-
export
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3150
|
+
export interface ISpaceWithSlots {
|
|
3151
|
+
id: number;
|
|
3152
|
+
name: string;
|
|
3153
|
+
slots: ISlotReservationData[];
|
|
3224
3154
|
}
|
|
3225
|
-
export
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3155
|
+
export interface ISlotReservationData {
|
|
3156
|
+
reservationId: number;
|
|
3157
|
+
reservationName: string;
|
|
3158
|
+
date: string;
|
|
3159
|
+
startTime: string;
|
|
3160
|
+
endTime: string;
|
|
3161
|
+
notes: string;
|
|
3162
|
+
spaceId: number;
|
|
3163
|
+
isRental: boolean;
|
|
3164
|
+
slotType: SlotTypeEnum;
|
|
3165
|
+
slotId: number;
|
|
3166
|
+
eventId: number;
|
|
3167
|
+
isPrivate: boolean;
|
|
3229
3168
|
}
|
|
3230
|
-
export
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3169
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3170
|
+
parentSessionId: number;
|
|
3171
|
+
parentSessionName: string;
|
|
3172
|
+
eventTimezone: string;
|
|
3173
|
+
maxParticipants: number;
|
|
3174
|
+
maxMaleParticipants: number;
|
|
3175
|
+
maxFemaleParticipants: number;
|
|
3176
|
+
isPunchCard: boolean;
|
|
3238
3177
|
}
|
|
3239
|
-
export
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3178
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3179
|
+
id: number;
|
|
3180
|
+
name: string;
|
|
3181
|
+
bookingCreatorId: number;
|
|
3243
3182
|
}
|
|
3244
|
-
export
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3183
|
+
export interface IRawSlotInSchedule {
|
|
3184
|
+
startDate: string;
|
|
3185
|
+
endDate: string;
|
|
3186
|
+
startTime: string;
|
|
3187
|
+
endTime: string;
|
|
3188
|
+
reservationId: number;
|
|
3189
|
+
eventTitle: string;
|
|
3190
|
+
publicNotes: string;
|
|
3191
|
+
spaceId: number;
|
|
3192
|
+
creatorType: ResourceNameTypeEnum;
|
|
3193
|
+
slotType: SlotTypeEnum;
|
|
3194
|
+
slotId: number;
|
|
3195
|
+
eventId: number;
|
|
3196
|
+
isPrivate: boolean;
|
|
3248
3197
|
}
|
|
3249
|
-
export
|
|
3250
|
-
|
|
3251
|
-
|
|
3198
|
+
export interface IPurchasedResourcesRaw {
|
|
3199
|
+
purchasedId: number;
|
|
3200
|
+
purchasedProductUserId: number;
|
|
3201
|
+
purchasedResourceId: number;
|
|
3202
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3203
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3204
|
+
pUserId: number;
|
|
3205
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3206
|
+
pUserProductId: number;
|
|
3207
|
+
pUserProductName: string;
|
|
3208
|
+
pUserProductPrice: number;
|
|
3209
|
+
pUserProductPriceCurrency: string;
|
|
3210
|
+
pUserProductQuantity: number;
|
|
3211
|
+
pUserProductQuantityLeft: number;
|
|
3212
|
+
pUserUserId: number;
|
|
3252
3213
|
}
|
|
3253
|
-
export
|
|
3254
|
-
|
|
3255
|
-
|
|
3214
|
+
export interface IUsersPasses {
|
|
3215
|
+
userId: number;
|
|
3216
|
+
userFirstName: string;
|
|
3217
|
+
userLastName: string;
|
|
3218
|
+
organizationId: number;
|
|
3219
|
+
programId: number;
|
|
3220
|
+
programName: string;
|
|
3221
|
+
sessionId: number;
|
|
3222
|
+
sessionName: string;
|
|
3223
|
+
productId: number;
|
|
3224
|
+
productName: string;
|
|
3225
|
+
productUserId: number;
|
|
3226
|
+
purchaseDate: Date;
|
|
3227
|
+
passesLeft: number;
|
|
3256
3228
|
}
|
|
3257
|
-
export
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3229
|
+
export interface ISessionsLandingPage {
|
|
3230
|
+
sessionId: number;
|
|
3231
|
+
name: string;
|
|
3232
|
+
startDate: Date;
|
|
3233
|
+
endDate: Date;
|
|
3234
|
+
registrationStartDate: Date;
|
|
3235
|
+
registrationEndDate: Date;
|
|
3236
|
+
sport: SportsEnum;
|
|
3237
|
+
minAge: string;
|
|
3238
|
+
maxAge: string;
|
|
3239
|
+
maxParticipants?: number;
|
|
3240
|
+
gender: GenderEnum;
|
|
3241
|
+
activityTimes: ActivityTimes[];
|
|
3242
|
+
earlyRegistrationStartDate?: Date;
|
|
3243
|
+
earlyRegistrationEndDate?: Date;
|
|
3244
|
+
lateRegistrationStartDate?: Date;
|
|
3245
|
+
lateRegistrationEndDate?: Date;
|
|
3246
|
+
attendeeCount?: number;
|
|
3247
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3263
3248
|
}
|
|
3264
|
-
export
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3249
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3250
|
+
hasRequiredMembership: boolean;
|
|
3251
|
+
hasEntitledPricing: boolean;
|
|
3252
|
+
lowestPrice?: number;
|
|
3253
|
+
products?: ISessionLandingPageProduct[];
|
|
3268
3254
|
}
|
|
3269
|
-
export
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3255
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3256
|
+
hasRequiredMembership: boolean;
|
|
3257
|
+
hasEntitledPricing: boolean;
|
|
3258
|
+
products?: ISessionLandingPageProduct[];
|
|
3259
|
+
segments?: Event[] | ProgramSeason[];
|
|
3260
|
+
programName: string;
|
|
3261
|
+
programId: number;
|
|
3262
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3263
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3273
3264
|
}
|
|
3274
|
-
export
|
|
3275
|
-
|
|
3276
|
-
|
|
3265
|
+
export interface ISlimAddons {
|
|
3266
|
+
addons?: {
|
|
3267
|
+
id: number;
|
|
3268
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3269
|
+
name: string;
|
|
3270
|
+
productType?: ProductTypesEnum;
|
|
3271
|
+
productSubType?: string;
|
|
3272
|
+
}[];
|
|
3277
3273
|
}
|
|
3278
|
-
export
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3274
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3275
|
+
id: number;
|
|
3276
|
+
name: string;
|
|
3277
|
+
startDate?: Date;
|
|
3278
|
+
endDate?: Date;
|
|
3279
|
+
downpayment?: number;
|
|
3280
|
+
description?: string;
|
|
3281
|
+
prices: Price[];
|
|
3282
|
+
productSubType?: ProductSubTypesEnum;
|
|
3283
|
+
punchCard: boolean;
|
|
3284
|
+
isAddon: boolean;
|
|
3285
|
+
defaultPriceId?: number;
|
|
3283
3286
|
}
|
|
3284
|
-
export
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
DISABLED_EMAIL = 4
|
|
3287
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3288
|
+
destinationId?: string;
|
|
3289
|
+
stripeCustomerId?: string;
|
|
3290
|
+
fee?: number;
|
|
3289
3291
|
}
|
|
3290
|
-
export
|
|
3291
|
-
|
|
3292
|
+
export interface IReservationCreatorData {
|
|
3293
|
+
type: ResourceNameTypeEnum;
|
|
3294
|
+
id: number;
|
|
3295
|
+
organizationId: number;
|
|
3296
|
+
startDate: string;
|
|
3297
|
+
endDate: string;
|
|
3298
|
+
sportId: number;
|
|
3292
3299
|
}
|
|
3293
3300
|
export declare class ColumnNumericTransformer {
|
|
3294
3301
|
to(data: number): number;
|
|
@@ -3483,13 +3490,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3483
3490
|
code: string;
|
|
3484
3491
|
config?: any;
|
|
3485
3492
|
}
|
|
3486
|
-
export declare class NotifyTracker extends BondBaseEntity {
|
|
3487
|
-
userId: number;
|
|
3488
|
-
organizationId: number;
|
|
3489
|
-
notifyMetadata?: any;
|
|
3490
|
-
notfiyMethodtype: NotifyMethodEnum;
|
|
3491
|
-
destination: string;
|
|
3492
|
-
}
|
|
3493
3493
|
export declare class ByOrganizationIdDto {
|
|
3494
3494
|
organizationId: number;
|
|
3495
3495
|
}
|
|
@@ -3514,6 +3514,13 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
3514
3514
|
months?: string;
|
|
3515
3515
|
dow?: string;
|
|
3516
3516
|
}
|
|
3517
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3518
|
+
userId: number;
|
|
3519
|
+
organizationId: number;
|
|
3520
|
+
notifyMetadata?: any;
|
|
3521
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3522
|
+
destination: string;
|
|
3523
|
+
}
|
|
3517
3524
|
export declare class Organization extends BondBaseEntity {
|
|
3518
3525
|
name: string | null;
|
|
3519
3526
|
email: string | null;
|
|
@@ -3735,16 +3742,6 @@ export declare class VoidLineItemDto {
|
|
|
3735
3742
|
isEdit?: boolean;
|
|
3736
3743
|
amount?: number;
|
|
3737
3744
|
}
|
|
3738
|
-
export interface RefundResult extends PaymentsResults {
|
|
3739
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3740
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3741
|
-
invoice?: Invoice;
|
|
3742
|
-
}
|
|
3743
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3744
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3745
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3746
|
-
totalAmountProcessed: number;
|
|
3747
|
-
}
|
|
3748
3745
|
export interface PaymentResult {
|
|
3749
3746
|
paymentMethodId: string;
|
|
3750
3747
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3770,6 +3767,16 @@ export interface ExtendedLineItems {
|
|
|
3770
3767
|
products: LineItems[];
|
|
3771
3768
|
events: LineItems[];
|
|
3772
3769
|
}
|
|
3770
|
+
export interface RefundResult extends PaymentsResults {
|
|
3771
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3772
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3773
|
+
invoice?: Invoice;
|
|
3774
|
+
}
|
|
3775
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3776
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3777
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3778
|
+
totalAmountProcessed: number;
|
|
3779
|
+
}
|
|
3773
3780
|
export declare class AddonDto extends ProductPricesDto {
|
|
3774
3781
|
id?: number;
|
|
3775
3782
|
}
|