@bondsports/types 0.2.0 → 0.5.0

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 CHANGED
@@ -20,13 +20,6 @@ export declare class UserAnswersDto {
20
20
  export declare class GetByQuestionnaireIdsDto {
21
21
  questionnaireIds: string;
22
22
  }
23
- export declare class FindBookingTypeSettingDto {
24
- organizationId: number;
25
- facilityId: number;
26
- spaceId: number;
27
- bookingDate: string;
28
- bookingTime: string;
29
- }
30
23
  export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
31
24
  membershipId: number;
32
25
  }
@@ -229,6 +222,13 @@ export declare class UpdateFacilityAmenitiesDto {
229
222
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
230
223
  nameSearch?: string;
231
224
  }
225
+ export declare class FindBookingTypeSettingDto {
226
+ organizationId: number;
227
+ facilityId: number;
228
+ spaceId: number;
229
+ bookingDate: string;
230
+ bookingTime: string;
231
+ }
232
232
  export declare class FindFamilyAccountsDto {
233
233
  userId: number;
234
234
  }
@@ -920,76 +920,6 @@ export declare class ProgramHighlightDto {
920
920
  type: ProgramHighlightTypeEnum;
921
921
  title: string;
922
922
  }
923
- export declare class PurchasePaymentDto {
924
- token: string;
925
- type: PaymentMethodTypeEnum;
926
- }
927
- export declare class ChargeRentalsReuqestDto {
928
- organizationId: number;
929
- userId?: number;
930
- customerId?: number;
931
- orderId: number;
932
- paymentData: PurchasePaymentDto;
933
- amountToPay: number;
934
- total: number;
935
- platform: PlatformsEnum;
936
- shiftId?: number;
937
- }
938
- export declare class PurchaseRequestDto {
939
- purchasingUserId: number;
940
- customerId?: number;
941
- products: PurchaseProductDto[];
942
- paymentData: PurchasePaymentDto;
943
- answers: UserAnswersDto[];
944
- amountToPay: number;
945
- parentPurchasedType?: ResourceNameTypeEnum;
946
- parentPurchasedId?: number;
947
- isPartialPayment: boolean;
948
- existingOrderToken?: string;
949
- installments?: ScheduledPaymentDto[];
950
- shiftId?: number;
951
- orderId?: number;
952
- }
953
- export declare class PurchaseResourceDto extends ResourceDto {
954
- }
955
- export declare class PurchaseProductDto {
956
- id: number;
957
- resources?: PurchaseResourceDto[];
958
- userId?: number;
959
- paymentStatus?: PaymentStatusEnum;
960
- amountToPay?: number;
961
- ordinal?: number;
962
- startDate?: Date;
963
- quantity?: number;
964
- }
965
- export declare class PartialPaymentRequestDto {
966
- orderId: number;
967
- amountToPay: number;
968
- organizationId: number;
969
- payingUserId: number;
970
- paymentMethodData: PurchasePaymentDto;
971
- shiftId?: number;
972
- }
973
- export declare class RedeemPunchCardRequestDto {
974
- products: PurchaseProductDto[];
975
- answersTitlesIds: number[];
976
- organizationId: number;
977
- purchasingUserId: number;
978
- }
979
- export declare class OrderIdDto extends ByOrganizationIdDto {
980
- orderId: number;
981
- }
982
- export declare class AddItemsDto {
983
- products: PurchaseProductDto[];
984
- allocateResource: boolean;
985
- skipMail: boolean;
986
- }
987
- export declare class PartialPaymentAsUserDto {
988
- orderId: any;
989
- organizationId: any;
990
- amountToPay: any;
991
- paymentMethodData: any;
992
- }
993
923
  export declare class CreateResourceGroupDto {
994
924
  name: string;
995
925
  parentSlotId: number;
@@ -1002,35 +932,6 @@ export declare class ResourceDto {
1002
932
  type: ResourceNameTypeEnum;
1003
933
  id: number;
1004
934
  }
1005
- export declare class StripeCustomerIdDto {
1006
- userId: number;
1007
- }
1008
- export declare class AddACHTokenToCustomerDto {
1009
- publicToken: string;
1010
- accountId: string;
1011
- }
1012
- export declare class FindByUserIdDto {
1013
- userId: number;
1014
- }
1015
- export declare class FindByFamilyAccountIdDto {
1016
- familyAccountId?: number;
1017
- }
1018
- export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
1019
- organizationId: number;
1020
- }
1021
- export declare class ActivityLogRecord extends BondBaseEntity {
1022
- entityType: ResourceNameTypeEnum;
1023
- entityId: number;
1024
- organizationId?: number;
1025
- userId?: number;
1026
- customerId?: number;
1027
- performingUserId: number;
1028
- description: string;
1029
- actionType: ActionTypesEnum;
1030
- sourcePlatform: ActionSourcePlatformEnum;
1031
- oldValue?: any;
1032
- newValue?: any;
1033
- }
1034
935
  export declare class SpaceByIdDto {
1035
936
  spaceId: number;
1036
937
  }
@@ -1087,6 +988,35 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1087
988
  types?: string;
1088
989
  resourcesIds?: string;
1089
990
  }
991
+ export declare class StripeCustomerIdDto {
992
+ userId: number;
993
+ }
994
+ export declare class AddACHTokenToCustomerDto {
995
+ publicToken: string;
996
+ accountId: string;
997
+ }
998
+ export declare class FindByUserIdDto {
999
+ userId: number;
1000
+ }
1001
+ export declare class FindByFamilyAccountIdDto {
1002
+ familyAccountId?: number;
1003
+ }
1004
+ export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
1005
+ organizationId: number;
1006
+ }
1007
+ export declare class ActivityLogRecord extends BondBaseEntity {
1008
+ entityType: ResourceNameTypeEnum;
1009
+ entityId: number;
1010
+ organizationId?: number;
1011
+ userId?: number;
1012
+ customerId?: number;
1013
+ performingUserId: number;
1014
+ description: string;
1015
+ actionType: ActionTypesEnum;
1016
+ sourcePlatform: ActionSourcePlatformEnum;
1017
+ oldValue?: any;
1018
+ newValue?: any;
1019
+ }
1090
1020
  export declare class ActivityTimes extends BondBaseEntity {
1091
1021
  parentType: ResourceNameTypeEnum | ProductTypesEnum;
1092
1022
  parentId: number;
@@ -1100,6 +1030,100 @@ export declare class ActivityTimes extends BondBaseEntity {
1100
1030
  proudct: Product;
1101
1031
  event: Event;
1102
1032
  }
1033
+ export declare class Address extends BondBaseEntity {
1034
+ city?: string;
1035
+ street?: string;
1036
+ streetNum?: string;
1037
+ aptNum?: string;
1038
+ zip?: string;
1039
+ country?: string;
1040
+ state?: string;
1041
+ geo: any;
1042
+ deletedAt?: Date;
1043
+ }
1044
+ export declare class PurchasePaymentDto {
1045
+ token: string;
1046
+ type: PaymentMethodTypeEnum;
1047
+ }
1048
+ export declare class ChargeRentalsReuqestDto {
1049
+ organizationId: number;
1050
+ userId?: number;
1051
+ customerId?: number;
1052
+ orderId: number;
1053
+ paymentData: PurchasePaymentDto;
1054
+ amountToPay: number;
1055
+ total: number;
1056
+ platform: PlatformsEnum;
1057
+ shiftId?: number;
1058
+ }
1059
+ export declare class PurchaseRequestDto {
1060
+ purchasingUserId: number;
1061
+ customerId?: number;
1062
+ products: PurchaseProductDto[];
1063
+ paymentData: PurchasePaymentDto;
1064
+ answers: UserAnswersDto[];
1065
+ amountToPay: number;
1066
+ parentPurchasedType?: ResourceNameTypeEnum;
1067
+ parentPurchasedId?: number;
1068
+ isPartialPayment: boolean;
1069
+ existingOrderToken?: string;
1070
+ installments?: ScheduledPaymentDto[];
1071
+ shiftId?: number;
1072
+ orderId?: number;
1073
+ }
1074
+ export declare class PurchaseResourceDto extends ResourceDto {
1075
+ }
1076
+ export declare class PurchaseProductDto {
1077
+ id: number;
1078
+ resources?: PurchaseResourceDto[];
1079
+ userId?: number;
1080
+ paymentStatus?: PaymentStatusEnum;
1081
+ amountToPay?: number;
1082
+ ordinal?: number;
1083
+ startDate?: Date;
1084
+ quantity?: number;
1085
+ }
1086
+ export declare class PartialPaymentRequestDto {
1087
+ orderId: number;
1088
+ amountToPay: number;
1089
+ organizationId: number;
1090
+ payingUserId: number;
1091
+ paymentMethodData: PurchasePaymentDto;
1092
+ shiftId?: number;
1093
+ }
1094
+ export declare class RedeemPunchCardRequestDto {
1095
+ products: PurchaseProductDto[];
1096
+ answersTitlesIds: number[];
1097
+ organizationId: number;
1098
+ purchasingUserId: number;
1099
+ }
1100
+ export declare class OrderIdDto extends ByOrganizationIdDto {
1101
+ orderId: number;
1102
+ }
1103
+ export declare class AddItemsDto {
1104
+ products: PurchaseProductDto[];
1105
+ allocateResource: boolean;
1106
+ skipMail: boolean;
1107
+ }
1108
+ export declare class PartialPaymentAsUserDto {
1109
+ orderId: any;
1110
+ organizationId: any;
1111
+ amountToPay: any;
1112
+ paymentMethodData: any;
1113
+ }
1114
+ export declare class Answer extends OrganizationConnectionBaseEntity {
1115
+ questionId: number;
1116
+ question?: Questions;
1117
+ parentId: number;
1118
+ parentType: ResourceNameTypeEnum;
1119
+ answerValue: any;
1120
+ creatorId: number;
1121
+ creatorType: ResourceNameTypeEnum;
1122
+ answerTitleId: number;
1123
+ answerTitle: AnswerTitle;
1124
+ metaData: any | null;
1125
+ questionText: string | null;
1126
+ }
1103
1127
  export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1104
1128
  questionnaireId: number;
1105
1129
  userId?: number;
@@ -1124,11 +1148,6 @@ export declare class BlockedDate extends BondBaseEntity {
1124
1148
  endDate: Date;
1125
1149
  deletedAt?: Date;
1126
1150
  }
1127
- export declare class BondBaseEntity extends BaseEntity {
1128
- id: number;
1129
- createdAt: Date;
1130
- updatedAt: Date;
1131
- }
1132
1151
  export declare class BookedSessions extends BondBaseEntity {
1133
1152
  reservationId?: number;
1134
1153
  color?: string;
@@ -1147,6 +1166,11 @@ export declare class BookedSessions extends BondBaseEntity {
1147
1166
  publicNotes?: string;
1148
1167
  slotType?: SlotTypeEnum;
1149
1168
  }
1169
+ export declare class BondBaseEntity extends BaseEntity {
1170
+ id: number;
1171
+ createdAt: Date;
1172
+ updatedAt: Date;
1173
+ }
1150
1174
  export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1151
1175
  parentId: number;
1152
1176
  parentType: ResourceNameTypeEnum;
@@ -1174,6 +1198,14 @@ export declare class Connection extends BondBaseEntity {
1174
1198
  userCreatorId: number | null;
1175
1199
  ownerId: number | null;
1176
1200
  }
1201
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1202
+ creditAmount: number;
1203
+ paymentProcessorId: string;
1204
+ userId: number;
1205
+ invoiceId: number;
1206
+ orderId: number;
1207
+ creditPaymentInvoiceId: number;
1208
+ }
1177
1209
  export declare class Customer extends OrganizationConnectionBaseEntity {
1178
1210
  name: string | null;
1179
1211
  entityId: number | null;
@@ -1202,17 +1234,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1202
1234
  mainMedia: Media;
1203
1235
  reservations?: Reservation[];
1204
1236
  }
1205
- export declare class Address extends BondBaseEntity {
1206
- city?: string;
1207
- street?: string;
1208
- streetNum?: string;
1209
- aptNum?: string;
1210
- zip?: string;
1211
- country?: string;
1212
- state?: string;
1213
- geo: any;
1214
- deletedAt?: Date;
1215
- }
1216
1237
  export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1217
1238
  customerId: number;
1218
1239
  userId: number;
@@ -1225,14 +1246,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1225
1246
  order: Order;
1226
1247
  invoice: Invoice;
1227
1248
  }
1228
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1229
- creditAmount: number;
1230
- paymentProcessorId: string;
1231
- userId: number;
1232
- invoiceId: number;
1233
- orderId: number;
1234
- creditPaymentInvoiceId: number;
1235
- }
1236
1249
  export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1237
1250
  customerId?: number;
1238
1251
  description: string;
@@ -1253,19 +1266,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1253
1266
  phoneNumber: string | null;
1254
1267
  customer: Customer;
1255
1268
  }
1256
- export declare class Answer extends OrganizationConnectionBaseEntity {
1257
- questionId: number;
1258
- question?: Questions;
1259
- parentId: number;
1260
- parentType: ResourceNameTypeEnum;
1261
- answerValue: any;
1262
- creatorId: number;
1263
- creatorType: ResourceNameTypeEnum;
1264
- answerTitleId: number;
1265
- answerTitle: AnswerTitle;
1266
- metaData: any | null;
1267
- questionText: string | null;
1268
- }
1269
1269
  export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1270
1270
  name: string | null;
1271
1271
  }
@@ -1404,6 +1404,11 @@ export declare class Group extends BondBaseEntity {
1404
1404
  members: ISeasonAttendeeInfo[];
1405
1405
  users: User[];
1406
1406
  }
1407
+ export declare class GroupsInDivisions extends BondBaseEntity {
1408
+ groupId: number;
1409
+ divisionId: number;
1410
+ deletedAt?: Date;
1411
+ }
1407
1412
  export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1408
1413
  groupId: number;
1409
1414
  itemId: number;
@@ -1417,11 +1422,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1417
1422
  discountMethod?: DiscountMethodsEnum;
1418
1423
  discountValue?: number;
1419
1424
  }
1420
- export declare class GroupsInDivisions extends BondBaseEntity {
1421
- groupId: number;
1422
- divisionId: number;
1423
- deletedAt?: Date;
1424
- }
1425
1425
  export declare class Invoice extends OrganizationConnectionBaseEntity {
1426
1426
  price: number;
1427
1427
  paymentProcessorId: string;
@@ -2164,6 +2164,20 @@ export declare class SeasonDivisions extends BondBaseEntity {
2164
2164
  seasonId: number | null;
2165
2165
  color: string | null;
2166
2166
  }
2167
+ export declare class SeasonTeam extends BondBaseEntity {
2168
+ seasonId: number | null;
2169
+ teamId: number | null;
2170
+ standingPosition: number | null;
2171
+ statistics: any | null;
2172
+ points: number | null;
2173
+ divisionId: number | null;
2174
+ metaData: any | null;
2175
+ team: Team;
2176
+ }
2177
+ export declare class SpacesDependency extends BondBaseEntity {
2178
+ blockingSpaceId: number;
2179
+ blockedSpaceId: number;
2180
+ }
2167
2181
  export declare class SeasonPool extends BondBaseEntity {
2168
2182
  seasonId?: number;
2169
2183
  userId?: number;
@@ -2179,20 +2193,6 @@ export declare class SeasonPool extends BondBaseEntity {
2179
2193
  purchasedResource: PurchasedResource;
2180
2194
  season: LeagueSeason;
2181
2195
  }
2182
- export declare class SeasonTeam extends BondBaseEntity {
2183
- seasonId: number | null;
2184
- teamId: number | null;
2185
- standingPosition: number | null;
2186
- statistics: any | null;
2187
- points: number | null;
2188
- divisionId: number | null;
2189
- metaData: any | null;
2190
- team: Team;
2191
- }
2192
- export declare class SpacesDependency extends BondBaseEntity {
2193
- blockingSpaceId: number;
2194
- blockedSpaceId: number;
2195
- }
2196
2196
  export declare class Station extends OrganizationConnectionBaseEntity {
2197
2197
  name: string;
2198
2198
  facilityId: number;
@@ -2348,152 +2348,512 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2348
2348
  membershipCollectionId?: string;
2349
2349
  programsCollectionId?: string;
2350
2350
  }
2351
- export declare enum EntitlementTermsTypesEnum {
2352
- QUESTION = "question",
2353
- CITY = "city",
2354
- MEMBERSHIP = "membership"
2351
+ export interface IEntitlementTerms {
2352
+ type: EntitlementTermsTypesEnum;
2353
+ id?: number;
2354
+ value?: string;
2355
+ minValue?: string;
2356
+ maxValue?: string;
2355
2357
  }
2356
- export declare enum ResourceNameTypeEnum {
2357
- EVENT = "event",
2358
- VENUE = "venue",
2359
- TEAM = "team",
2360
- LEAGUE = "league",
2361
- USER = "user",
2362
- ORGANIZATION = "organization",
2363
- APP = "app",
2364
- FEED = "feed",
2365
- MATCH = "match",
2366
- ROUND = "round",
2367
- PORTAL = "portal",
2368
- SEASON = "season",
2369
- TOURNAMENT = "tournament",
2370
- MEMBERSHIP = "membership",
2371
- DIVISION = "division",
2372
- GAMESLOT = "gameslot",
2373
- SPACE = "space",
2374
- RESERVATION = "reservation",
2375
- ORDER = "order",
2376
- CUSTOMER = "customer",
2377
- PACKAGE = "package",
2378
- FACILITY = "facility",
2379
- PROGRAM = "program",
2380
- PROGRAM_SEASON = "program_season",
2381
- PRODUCT = "product",
2382
- GROUP = "group",
2383
- VARIANT = "variant",
2384
- SLOT = "slot",
2385
- ADDON = "addon"
2358
+ export interface IQuestionAnswerObject {
2359
+ questionId: number;
2360
+ value: string;
2386
2361
  }
2387
- export declare enum DirectBookingTypesEnum {
2388
- DIRECT_FOR_ALL = "all",
2389
- DIRECT_FOR_NONE = "none",
2390
- DIRECT_VETTED_ONLY = "vetted_only",
2391
- NO_SETTING = "no_setting"
2362
+ export interface ILowestPriceForItem {
2363
+ itemId: number;
2364
+ itemType: ResourceNameTypeEnum;
2365
+ groupId: number;
2366
+ groupName?: string;
2367
+ price: number;
2368
+ overridesPrice: boolean;
2392
2369
  }
2393
- export declare enum GenderEnum {
2394
- OTHER = 1,
2395
- MALE = 2,
2396
- FEMALE = 3
2370
+ export interface IResourcesAvailability {
2371
+ resourceType: ResourceNameTypeEnum;
2372
+ quantity: number;
2373
+ resourcesIds: number[];
2374
+ isPunchCard: boolean;
2375
+ resources?: any[];
2397
2376
  }
2398
- export declare enum LevelOfPlayEnum {
2399
- BEGINNER = 1,
2400
- INTERMEDIATE = 2,
2401
- ADVANCED = 3,
2402
- SEMIPRO = 4,
2403
- SPECTATOR = 5
2377
+ export interface IPackageResponse {
2378
+ parentProduct: Product;
2379
+ children: IChildProduct[];
2404
2380
  }
2405
- export declare enum ProgramTypesEnum {
2406
- LEAGUE = 0,
2407
- TOURNAMENT = 1,
2408
- CLASS = 2,
2409
- CLINIC = 3,
2410
- CAMP = 4,
2411
- LESSON = 5,
2412
- CLUB_TEAM = 6
2381
+ export interface IChildProduct {
2382
+ product: Product;
2383
+ relationType: PackageProductsRelationTypeEnum;
2384
+ timePeriod?: AddonTimePeriodEnum;
2413
2385
  }
2414
- export declare enum ProgramSeasonTypesEnum {
2415
- ROUND_ROBIN = 1,
2416
- BRACKETS = 2,
2417
- CAMP_CLINIC_CLASS = 3
2386
+ export interface ISeasonAttendeeInfo {
2387
+ applicationAnswers: Answer[];
2388
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2389
+ invoices: Order[];
2390
+ payments: Invoice[];
2391
+ products: Product[];
2392
+ redeemNext: ProductsUsers;
2418
2393
  }
2419
- export declare enum SportsEnum {
2420
- SOFTBALL = 1,
2421
- BASKETBALL = 2,
2422
- FOOTBALL = 3,
2423
- SOCCER = 4,
2424
- BOWLING = 5,
2425
- BOCCEBALL = 6,
2426
- CORNHOLE = 7,
2427
- DODGEBALL = 8,
2428
- FRISBEE = 9,
2429
- HOCKEY = 10,
2430
- KICKBALL = 11,
2431
- LACROSSE = 12,
2432
- PINGPONG = 13,
2433
- RUGBY = 14,
2434
- SKEEBALL = 15,
2435
- TENNIS = 16,
2436
- VOLLEYBALL = 17,
2437
- WIFFLEBALL = 18,
2438
- BADMINTON = 19,
2439
- FITNESS = 20,
2440
- GOLF = 21,
2441
- PILATES = 22,
2442
- RUNNING = 23,
2443
- SKIING = 24,
2444
- SNOWBOARDING = 25,
2445
- YOGA = 26,
2446
- BROOMBALL = 27,
2447
- CRICKET = 28,
2448
- CROSSFIT = 29,
2449
- CYCLING = 30,
2450
- FIELD_HOCKEY = 31,
2451
- RACQUETBALL = 32,
2452
- SPINNING = 33,
2453
- SQUASH = 34,
2454
- SURFING = 35,
2455
- SWIMMING = 36,
2456
- WIND_SURFING = 37,
2457
- ADVENTURE = 38,
2458
- BOXING = 39,
2459
- BASEBALL = 40,
2460
- DANCE = 41,
2461
- KICKBOXING = 42,
2462
- MARTIAL_ARTS = 43,
2463
- OUTDOORS = 44,
2464
- ROWING = 45,
2465
- SAILING = 46,
2466
- SUP = 47,
2467
- TRIATHLON = 48,
2468
- HANDBALL = 49,
2469
- CATCHBALL = 50,
2470
- BLITZBALL = 51,
2471
- ROLLER_DERBY = 52,
2472
- ICE_SKATING = 53,
2473
- PICKLEBALL = 54,
2474
- AXE_THROWING = 55,
2475
- FURSAL = 56,
2476
- BIRTHDAY = 57,
2477
- CORPRATE_EVENTS = 58,
2478
- OTHER = 999
2394
+ export interface ISeasonAttendeeListInfo {
2395
+ userId: number;
2396
+ userFirstName: string;
2397
+ userLastName: string;
2398
+ userGender: number;
2399
+ userBirthDate: Date;
2400
+ userProfilePicUrl: string;
2401
+ customerId: number;
2402
+ customerEmail: string;
2403
+ paymentStatus: string;
2404
+ productName: string;
2405
+ punchCard: boolean;
2479
2406
  }
2480
- export declare enum PublishingStatusEnum {
2481
- DRAFT = 1,
2482
- PUBLISHED = 2,
2483
- CLOSED = 3,
2484
- CANCELLED = 4,
2485
- ARCHIVE = 5,
2486
- UNPUBLISHED = 6
2407
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2408
+ segmentType: ResourceNameTypeEnum;
2409
+ participantRegisteredDate?: string;
2487
2410
  }
2488
- export declare enum ProgramHighlightTypeEnum {
2489
- OTHER = 1,
2490
- MINAGE = 2,
2491
- MAXAGE = 3,
2492
- GENDER = 4,
2493
- LEVELOFPLAY = 5,
2494
- GAMESSEASON = 6,
2495
- MINWEEK = 7,
2496
- SURFACE = 8,
2411
+ export declare class EventAsSeasonSegment extends Event {
2412
+ segmentType: ResourceNameTypeEnum;
2413
+ participantRegisteredDate?: string;
2414
+ }
2415
+ export interface ITokenResonse {
2416
+ token: string;
2417
+ }
2418
+ export interface IStripeBondInvoices {
2419
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2420
+ bondPaidInvoice: Invoice;
2421
+ order?: Order;
2422
+ customer?: Customer;
2423
+ }
2424
+ export interface IPartialPaymentData {
2425
+ purchasingUserId: number;
2426
+ paymentData: PurchasePaymentDto;
2427
+ amountToPay: number;
2428
+ }
2429
+ export interface IPayment {
2430
+ id: number;
2431
+ total: number;
2432
+ paymentMethod: PaymentMethodTypeEnum;
2433
+ status: PaymentStatusEnum;
2434
+ createdAt: Date;
2435
+ invoices: number[];
2436
+ }
2437
+ export interface IPaginationData<T> {
2438
+ meta: {
2439
+ totalItems: number;
2440
+ itemsPerPage: number;
2441
+ totalPages: number;
2442
+ currentPage: number;
2443
+ };
2444
+ data: T[];
2445
+ }
2446
+ export interface IPricesOfProductsResults {
2447
+ productId: number;
2448
+ userId: number;
2449
+ price: number;
2450
+ groupId?: number;
2451
+ groupName?: string;
2452
+ originalPrice?: number;
2453
+ priceWithoutTax: number;
2454
+ tax: number;
2455
+ isTaxInclusive: boolean;
2456
+ }
2457
+ export interface IPaymentMethodToFundLeft {
2458
+ paymentType: PaymentMethodTypeEnum;
2459
+ paymentMethodId: string;
2460
+ fundLeft: number;
2461
+ ccLast4?: string;
2462
+ ccBrand?: string;
2463
+ }
2464
+ export interface IVariantsAndTitle {
2465
+ title: VariantTitle;
2466
+ variants: Variant[];
2467
+ }
2468
+ export interface IProgramSeasonActivityTimes {
2469
+ dayOfWeek: number;
2470
+ open: string;
2471
+ close: string;
2472
+ }
2473
+ export interface IProgramSeasonActivityTimesAsDates {
2474
+ date: string;
2475
+ startTime: string;
2476
+ endTime: string;
2477
+ }
2478
+ export interface IBlockedDates {
2479
+ name: string;
2480
+ startDate: Date;
2481
+ endDate: Date;
2482
+ }
2483
+ export interface ISingleMemberForRenewal {
2484
+ member_id: number;
2485
+ member_membershipId: number;
2486
+ member_userId: number;
2487
+ member_nextPaymentMethodId?: string;
2488
+ member_nextPaymentType?: PaymentMethodTypeEnum;
2489
+ member_answerTitleIds?: number[];
2490
+ member_organizationId: number;
2491
+ line_paidAmount: number;
2492
+ line_productId: number;
2493
+ order_payingUserId: number;
2494
+ order_paymentMethodId: string;
2495
+ order_paymentType: PaymentMethodTypeEnum;
2496
+ endDate: Date;
2497
+ membership_name: string;
2498
+ user_firstName: string;
2499
+ user_lastName: string;
2500
+ user_email: string;
2501
+ }
2502
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2503
+ package_parentProductId: number;
2504
+ line2_paidAmount: number;
2505
+ familyid: number;
2506
+ order_id: number;
2507
+ }
2508
+ export interface IResourceRegistrationData {
2509
+ id: number;
2510
+ resourceType: ResourceNameTypeEnum;
2511
+ openNumDays?: number;
2512
+ openNumMinutes?: number;
2513
+ openTime?: string;
2514
+ closeNumDays?: number;
2515
+ closeNumMinutes?: number;
2516
+ closeTime?: string;
2517
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
2518
+ }
2519
+ export interface IResourceDataForConstraintsCalc {
2520
+ id: number;
2521
+ startDate: string;
2522
+ startTime: string;
2523
+ }
2524
+ export interface IRegistrationConstraintsSetting {
2525
+ numDays?: number;
2526
+ numMinutes?: number;
2527
+ }
2528
+ export interface IAttendeeDataToNotify {
2529
+ firstName: string;
2530
+ lastName: string;
2531
+ email: string;
2532
+ sessionName: string;
2533
+ parentSessionName?: string;
2534
+ organizationName: string;
2535
+ programName: string;
2536
+ }
2537
+ export interface IEventInSchedule {
2538
+ eventId: number;
2539
+ eventName: string;
2540
+ eventStartDate: string;
2541
+ eventEndDate: string;
2542
+ eventStartTime: string;
2543
+ eventEndTime: string;
2544
+ programId: number;
2545
+ programName: string;
2546
+ programType: ProgramTypesEnum;
2547
+ sessionId: number;
2548
+ sessionName: string;
2549
+ sports: number;
2550
+ spaces: {
2551
+ spaceId: number;
2552
+ spaceName: string;
2553
+ }[];
2554
+ status?: RegistrationValidationStatusEnum;
2555
+ }
2556
+ export interface ISlotInSchedule {
2557
+ facilityId: number;
2558
+ facilityName: string;
2559
+ spaces: ISpaceWithSlots[];
2560
+ }
2561
+ export interface ISpaceWithSlots {
2562
+ id: number;
2563
+ name: string;
2564
+ slots: ISlotReservationData[];
2565
+ }
2566
+ export interface ISlotReservationData {
2567
+ reservationId: number;
2568
+ reservationName: string;
2569
+ date: string;
2570
+ startTime: string;
2571
+ endTime: string;
2572
+ notes: string;
2573
+ spaceId: number;
2574
+ isRental: boolean;
2575
+ slotType: SlotTypeEnum;
2576
+ slotId: number;
2577
+ eventId: number;
2578
+ isPrivate: boolean;
2579
+ }
2580
+ export interface IRawEventInSchedule extends IEventInSchedule {
2581
+ parentSessionId: number;
2582
+ parentSessionName: string;
2583
+ eventTimezone: string;
2584
+ maxParticipants: number;
2585
+ maxMaleParticipants: number;
2586
+ maxFemaleParticipants: number;
2587
+ isPunchCard: boolean;
2588
+ }
2589
+ export interface IBasicSpaceAndSlotCreator {
2590
+ id: number;
2591
+ name: string;
2592
+ bookingCreatorId: number;
2593
+ }
2594
+ export interface IRawSlotInSchedule {
2595
+ startDate: string;
2596
+ endDate: string;
2597
+ startTime: string;
2598
+ endTime: string;
2599
+ reservationId: number;
2600
+ eventTitle: string;
2601
+ publicNotes: string;
2602
+ spaceId: number;
2603
+ creatorType: ResourceNameTypeEnum;
2604
+ slotType: SlotTypeEnum;
2605
+ slotId: number;
2606
+ eventId: number;
2607
+ isPrivate: boolean;
2608
+ }
2609
+ export interface IPurchasedResourcesRaw {
2610
+ purchasedId: number;
2611
+ purchasedProductUserId: number;
2612
+ purchasedResourceId: number;
2613
+ purchasedResourceType: ResourceNameTypeEnum;
2614
+ purchasedStatus: PurchasedResourceStatusEnum;
2615
+ pUserId: number;
2616
+ pUserPaymentStatus: PaymentStatusEnum;
2617
+ pUserProductId: number;
2618
+ pUserProductName: string;
2619
+ pUserProductPrice: number;
2620
+ pUserProductPriceCurrency: string;
2621
+ pUserProductQuantity: number;
2622
+ pUserProductQuantityLeft: number;
2623
+ pUserUserId: number;
2624
+ }
2625
+ export interface IUsersPasses {
2626
+ userId: number;
2627
+ userFirstName: string;
2628
+ userLastName: string;
2629
+ organizationId: number;
2630
+ programId: number;
2631
+ programName: string;
2632
+ sessionId: number;
2633
+ sessionName: string;
2634
+ productId: number;
2635
+ productName: string;
2636
+ productUserId: number;
2637
+ purchaseDate: Date;
2638
+ passesLeft: number;
2639
+ }
2640
+ export interface ISessionsLandingPage {
2641
+ sessionId: number;
2642
+ name: string;
2643
+ startDate: Date;
2644
+ endDate: Date;
2645
+ registrationStartDate: Date;
2646
+ registrationEndDate: Date;
2647
+ sport: SportsEnum;
2648
+ minAge: string;
2649
+ maxAge: string;
2650
+ maxParticipants?: number;
2651
+ gender: GenderEnum;
2652
+ activityTimes: ActivityTimes[];
2653
+ earlyRegistrationStartDate?: Date;
2654
+ earlyRegistrationEndDate?: Date;
2655
+ lateRegistrationStartDate?: Date;
2656
+ lateRegistrationEndDate?: Date;
2657
+ attendeeCount?: number;
2658
+ segmentsOrEvents: 'segment' | 'event';
2659
+ }
2660
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2661
+ hasRequiredMembership: boolean;
2662
+ hasEntitledPricing: boolean;
2663
+ lowestPrice?: number;
2664
+ products?: ISessionLandingPageProduct[];
2665
+ }
2666
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2667
+ hasRequiredMembership: boolean;
2668
+ hasEntitledPricing: boolean;
2669
+ products?: ISessionLandingPageProduct[];
2670
+ segments?: Event[] | ProgramSeason[];
2671
+ programName: string;
2672
+ programId: number;
2673
+ levelOfPlay: LevelOfPlayEnum[];
2674
+ registrationConstraints: IResourceRegistrationData[];
2675
+ }
2676
+ export interface ISlimAddons {
2677
+ addons?: {
2678
+ id: number;
2679
+ timePeriod: AddonTimePeriodEnum;
2680
+ name: string;
2681
+ productType?: ProductTypesEnum;
2682
+ productSubType?: string;
2683
+ }[];
2684
+ }
2685
+ export interface ISessionLandingPageProduct extends ISlimAddons {
2686
+ id: number;
2687
+ name: string;
2688
+ startDate?: Date;
2689
+ endDate?: Date;
2690
+ downpayment?: number;
2691
+ description?: string;
2692
+ prices: Price[];
2693
+ productSubType?: ProductSubTypesEnum;
2694
+ punchCard: boolean;
2695
+ isAddon: boolean;
2696
+ defaultPriceId?: number;
2697
+ }
2698
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2699
+ destinationId?: string;
2700
+ stripeCustomerId?: string;
2701
+ fee?: number;
2702
+ }
2703
+ export interface IReservationCreatorData {
2704
+ type: ResourceNameTypeEnum;
2705
+ id: number;
2706
+ organizationId: number;
2707
+ startDate: string;
2708
+ endDate: string;
2709
+ sportId: number;
2710
+ }
2711
+ export declare enum EntitlementTermsTypesEnum {
2712
+ QUESTION = "question",
2713
+ CITY = "city",
2714
+ MEMBERSHIP = "membership"
2715
+ }
2716
+ export declare enum ResourceNameTypeEnum {
2717
+ EVENT = "event",
2718
+ VENUE = "venue",
2719
+ TEAM = "team",
2720
+ LEAGUE = "league",
2721
+ USER = "user",
2722
+ ORGANIZATION = "organization",
2723
+ APP = "app",
2724
+ FEED = "feed",
2725
+ MATCH = "match",
2726
+ ROUND = "round",
2727
+ PORTAL = "portal",
2728
+ SEASON = "season",
2729
+ TOURNAMENT = "tournament",
2730
+ MEMBERSHIP = "membership",
2731
+ DIVISION = "division",
2732
+ GAMESLOT = "gameslot",
2733
+ SPACE = "space",
2734
+ RESERVATION = "reservation",
2735
+ ORDER = "order",
2736
+ CUSTOMER = "customer",
2737
+ PACKAGE = "package",
2738
+ FACILITY = "facility",
2739
+ PROGRAM = "program",
2740
+ PROGRAM_SEASON = "program_season",
2741
+ PRODUCT = "product",
2742
+ GROUP = "group",
2743
+ VARIANT = "variant",
2744
+ SLOT = "slot",
2745
+ ADDON = "addon"
2746
+ }
2747
+ export declare enum DirectBookingTypesEnum {
2748
+ DIRECT_FOR_ALL = "all",
2749
+ DIRECT_FOR_NONE = "none",
2750
+ DIRECT_VETTED_ONLY = "vetted_only",
2751
+ NO_SETTING = "no_setting"
2752
+ }
2753
+ export declare enum GenderEnum {
2754
+ OTHER = 1,
2755
+ MALE = 2,
2756
+ FEMALE = 3
2757
+ }
2758
+ export declare enum LevelOfPlayEnum {
2759
+ BEGINNER = 1,
2760
+ INTERMEDIATE = 2,
2761
+ ADVANCED = 3,
2762
+ SEMIPRO = 4,
2763
+ SPECTATOR = 5
2764
+ }
2765
+ export declare enum ProgramTypesEnum {
2766
+ LEAGUE = 0,
2767
+ TOURNAMENT = 1,
2768
+ CLASS = 2,
2769
+ CLINIC = 3,
2770
+ CAMP = 4,
2771
+ LESSON = 5,
2772
+ CLUB_TEAM = 6
2773
+ }
2774
+ export declare enum ProgramSeasonTypesEnum {
2775
+ ROUND_ROBIN = 1,
2776
+ BRACKETS = 2,
2777
+ CAMP_CLINIC_CLASS = 3
2778
+ }
2779
+ export declare enum SportsEnum {
2780
+ SOFTBALL = 1,
2781
+ BASKETBALL = 2,
2782
+ FOOTBALL = 3,
2783
+ SOCCER = 4,
2784
+ BOWLING = 5,
2785
+ BOCCEBALL = 6,
2786
+ CORNHOLE = 7,
2787
+ DODGEBALL = 8,
2788
+ FRISBEE = 9,
2789
+ HOCKEY = 10,
2790
+ KICKBALL = 11,
2791
+ LACROSSE = 12,
2792
+ PINGPONG = 13,
2793
+ RUGBY = 14,
2794
+ SKEEBALL = 15,
2795
+ TENNIS = 16,
2796
+ VOLLEYBALL = 17,
2797
+ WIFFLEBALL = 18,
2798
+ BADMINTON = 19,
2799
+ FITNESS = 20,
2800
+ GOLF = 21,
2801
+ PILATES = 22,
2802
+ RUNNING = 23,
2803
+ SKIING = 24,
2804
+ SNOWBOARDING = 25,
2805
+ YOGA = 26,
2806
+ BROOMBALL = 27,
2807
+ CRICKET = 28,
2808
+ CROSSFIT = 29,
2809
+ CYCLING = 30,
2810
+ FIELD_HOCKEY = 31,
2811
+ RACQUETBALL = 32,
2812
+ SPINNING = 33,
2813
+ SQUASH = 34,
2814
+ SURFING = 35,
2815
+ SWIMMING = 36,
2816
+ WIND_SURFING = 37,
2817
+ ADVENTURE = 38,
2818
+ BOXING = 39,
2819
+ BASEBALL = 40,
2820
+ DANCE = 41,
2821
+ KICKBOXING = 42,
2822
+ MARTIAL_ARTS = 43,
2823
+ OUTDOORS = 44,
2824
+ ROWING = 45,
2825
+ SAILING = 46,
2826
+ SUP = 47,
2827
+ TRIATHLON = 48,
2828
+ HANDBALL = 49,
2829
+ CATCHBALL = 50,
2830
+ BLITZBALL = 51,
2831
+ ROLLER_DERBY = 52,
2832
+ ICE_SKATING = 53,
2833
+ PICKLEBALL = 54,
2834
+ AXE_THROWING = 55,
2835
+ FURSAL = 56,
2836
+ BIRTHDAY = 57,
2837
+ CORPRATE_EVENTS = 58,
2838
+ OTHER = 999
2839
+ }
2840
+ export declare enum PublishingStatusEnum {
2841
+ DRAFT = 1,
2842
+ PUBLISHED = 2,
2843
+ CLOSED = 3,
2844
+ CANCELLED = 4,
2845
+ ARCHIVE = 5,
2846
+ UNPUBLISHED = 6
2847
+ }
2848
+ export declare enum ProgramHighlightTypeEnum {
2849
+ OTHER = 1,
2850
+ MINAGE = 2,
2851
+ MAXAGE = 3,
2852
+ GENDER = 4,
2853
+ LEVELOFPLAY = 5,
2854
+ GAMESSEASON = 6,
2855
+ MINWEEK = 7,
2856
+ SURFACE = 8,
2497
2857
  FORMAT = 9,
2498
2858
  PLAYERS_PER_TEAM = 10,
2499
2859
  MATCH_LENGTH = 12
@@ -2703,537 +3063,177 @@ export declare enum ResourceSubTypeEnum {
2703
3063
  POOL = "pool",
2704
3064
  BATTING_CAGE = "batting cage",
2705
3065
  SHELTER = "shelter",
2706
- GOLF_SIMULATOR = "golf simulator"
2707
- }
2708
- export declare enum ResourceTypeEnum {
2709
- SPACE = "space"
2710
- }
2711
- export declare enum ResourceAgesEnum {
2712
- ADULTS = "adults",
2713
- CHILDREN = "children"
2714
- }
2715
- export declare enum SpacePropertiesEnum {
2716
- OUTDOOR = "outdoor",
2717
- INDOOR = "indoor"
2718
- }
2719
- export declare enum SurfacesEnum {
2720
- GRASS = "grass",
2721
- TURF = "turf",
2722
- FIELD_TURF = "fieldTurf",
2723
- ASTRO_TURF = "astroTurf",
2724
- HARDWOOD = "hardwood",
2725
- ASPHALT = "asphalt",
2726
- SAND = "sand",
2727
- ICE = "ice",
2728
- SPORT_COURT = "sportCourt"
2729
- }
2730
- export declare enum RegistrationConstraintPeriodTypeEnum {
2731
- MINUTES = "minutes",
2732
- DAYS = "days"
2733
- }
2734
- export declare enum RegistrationWindowStatusEnum {
2735
- NOT_OPEN_YET = "not_opened_yet",
2736
- OPEN = "open",
2737
- CLOSED = "closed"
2738
- }
2739
- export declare enum RegistrationValidationStatusEnum {
2740
- FULL = "full",
2741
- ALREADY_REGISTERED = "registered",
2742
- AVAILABLE = "available",
2743
- NOT_OPEN_YET = "not opened",
2744
- ALREADY_CLOSED = "closed",
2745
- NO_PRODUCT_FOUND = "no-product-found"
2746
- }
2747
- export declare enum DiscountMethodsEnum {
2748
- PERCENT = "percent",
2749
- AMOUNT = "amount"
2750
- }
2751
- export declare enum UserAuthorizationsTypeEnum {
2752
- ORGANIZATION = "organization"
2753
- }
2754
- export declare enum OrganizationLocaleDateEnum {
2755
- USA = "USA"
2756
- }
2757
- export declare enum DateTimeFormatsEnum {
2758
- API_DATE = "YYYY/MM/DD",
2759
- API_TIME = "HH:mm:ss"
2760
- }
2761
- export declare enum SlotTypeEnum {
2762
- EXTERNAL = "external",
2763
- INTERNAL = "internal",
2764
- MAINTENANCE = "maintenance",
2765
- CUSTOM = "custom"
2766
- }
2767
- export declare enum PlatformsEnum {
2768
- CONSUMER = "consumer",
2769
- BO = "backoffice",
2770
- MOBILE = "mobile",
2771
- CRON = "cron"
2772
- }
2773
- export declare enum ShiftStatusEnum {
2774
- OPEN = "open",
2775
- CLOSED = "closed",
2776
- MANAGMENT_CLOSED = "closed_by_manager",
2777
- RECONCILED = "reconciled"
2778
- }
2779
- export declare enum EventStatusEnum {
2780
- OPEN = 1,
2781
- DRAFT = 2,
2782
- FULL = 3,
2783
- CANCELLED = 4,
2784
- CLOSED = 5,
2785
- DELETED = 6
2786
- }
2787
- export declare enum ReservationTypeEnum {
2788
- RENTAL = "rental",
2789
- PROGRAM = "program",
2790
- MAINTENANCE = "maintenance",
2791
- CUSTOM = "custom"
2792
- }
2793
- export declare enum SlotDurationTypeEnum {
2794
- DATES = "dates",
2795
- ALL_DAY = "all day",
2796
- DURATION = "duration"
2797
- }
2798
- export declare enum DurationUnitTypesEnum {
2799
- MINUTES = "minutes",
2800
- HOURS = "hours"
2801
- }
2802
- export declare enum FrequencyEnum {
2803
- NONE = "none",
2804
- WEEKLY = "weekly",
2805
- DAILY = "daily",
2806
- MONTHLY = "monthly",
2807
- YEARLY = "yearly"
2808
- }
2809
- export declare enum MaintenanceTimingEnum {
2810
- BEFORE = 1,
2811
- AFTER = 2,
2812
- AT_THE_BEGINING = 3,
2813
- AT_THE_END = 4
2814
- }
2815
- export declare enum CreatorTypeEnum {
2816
- SPACE = "space",
2817
- PROGRAM_SEASON = "program_season"
2818
- }
2819
- export declare enum UpdatePricesTypeEnum {
2820
- INDIVIDUAL = "indvidual",
2821
- CATEGORY = "category",
2822
- GLOBAL = "global"
2823
- }
2824
- export declare enum BondDayOfWeekEnum {
2825
- MONDAY = 2,
2826
- TUESDAY = 3,
2827
- WEDNESDAY = 4,
2828
- THURSDAY = 5,
2829
- FRIDAY = 6,
2830
- SATURDAY = 7,
2831
- SUNDAY = 8
2832
- }
2833
- export declare enum ReservationMigrationStatusEnum {
2834
- NEW = "new",
2835
- NO = "no",
2836
- YES = "yes"
2837
- }
2838
- export declare enum ProductPackageLevelEnum {
2839
- HOUR = "hour",
2840
- SLOT = "slot",
2841
- RESERVATION = "reservation"
2842
- }
2843
- export declare enum CancellationStatusEnum {
2844
- IMMEDIATE = "immediate",
2845
- AUTO_RENEWAL = "auto_renewal"
2846
- }
2847
- export declare enum SeasonScheduleStatusEnum {
2848
- DRAFT = 0,
2849
- PUBLISHED = 1
2850
- }
2851
- export declare enum FinancialStepEnum {
2852
- VOID = "void",
2853
- REFUND = "refund",
2854
- NONE = "none",
2855
- REFUND_AND_VOID = "refund-and-void",
2856
- APPEND = "append"
2857
- }
2858
- export declare enum StripeAccountTypesEnum {
2859
- STRIPE = "stripe",
2860
- STRIPE_CUSTOM = "stripe:account:custom",
2861
- STRIPE_CUSTOMER = "stripe:customer"
2862
- }
2863
- export declare enum LinkedAccountStatus {
2864
- PENDING = 1,
2865
- ACTIVE = 2,
2866
- PRE_PENDING = 3
2867
- }
2868
- export declare enum AddonParentTypeEnum {
2869
- RESERVATION = "reservation",
2870
- SLOT = "slot"
2871
- }
2872
- export declare enum EEmailStatus {
2873
- SENT = "sent",
2874
- OPENED = "opened",
2875
- PAID = "paid",
2876
- CANCELED = "canceled"
2877
- }
2878
- export interface IEntitlementTerms {
2879
- type: EntitlementTermsTypesEnum;
2880
- id?: number;
2881
- value?: string;
2882
- minValue?: string;
2883
- maxValue?: string;
2884
- }
2885
- export interface IQuestionAnswerObject {
2886
- questionId: number;
2887
- value: string;
2888
- }
2889
- export interface ILowestPriceForItem {
2890
- itemId: number;
2891
- itemType: ResourceNameTypeEnum;
2892
- groupId: number;
2893
- groupName?: string;
2894
- price: number;
2895
- overridesPrice: boolean;
2896
- }
2897
- export interface IResourcesAvailability {
2898
- resourceType: ResourceNameTypeEnum;
2899
- quantity: number;
2900
- resourcesIds: number[];
2901
- isPunchCard: boolean;
2902
- resources?: any[];
2903
- }
2904
- export interface IPackageResponse {
2905
- parentProduct: Product;
2906
- children: IChildProduct[];
2907
- }
2908
- export interface IChildProduct {
2909
- product: Product;
2910
- relationType: PackageProductsRelationTypeEnum;
2911
- timePeriod?: AddonTimePeriodEnum;
2912
- }
2913
- export interface ISeasonAttendeeInfo {
2914
- applicationAnswers: Answer[];
2915
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2916
- invoices: Order[];
2917
- payments: Invoice[];
2918
- products: Product[];
2919
- redeemNext: ProductsUsers;
2920
- }
2921
- export interface ISeasonAttendeeListInfo {
2922
- userId: number;
2923
- userFirstName: string;
2924
- userLastName: string;
2925
- userGender: number;
2926
- userBirthDate: Date;
2927
- userProfilePicUrl: string;
2928
- customerId: number;
2929
- customerEmail: string;
2930
- paymentStatus: string;
2931
- productName: string;
2932
- punchCard: boolean;
2933
- }
2934
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2935
- segmentType: ResourceNameTypeEnum;
2936
- participantRegisteredDate?: string;
2937
- }
2938
- export declare class EventAsSeasonSegment extends Event {
2939
- segmentType: ResourceNameTypeEnum;
2940
- participantRegisteredDate?: string;
2941
- }
2942
- export interface ITokenResonse {
2943
- token: string;
2944
- }
2945
- export interface IStripeBondInvoices {
2946
- paidStripePaymentIntent: Stripe.PaymentIntent;
2947
- bondPaidInvoice: Invoice;
2948
- order?: Order;
2949
- customer?: Customer;
3066
+ GOLF_SIMULATOR = "golf simulator"
2950
3067
  }
2951
- export interface IPartialPaymentData {
2952
- purchasingUserId: number;
2953
- paymentData: PurchasePaymentDto;
2954
- amountToPay: number;
3068
+ export declare enum ResourceTypeEnum {
3069
+ SPACE = "space"
2955
3070
  }
2956
- export interface IPayment {
2957
- id: number;
2958
- total: number;
2959
- paymentMethod: PaymentMethodTypeEnum;
2960
- status: PaymentStatusEnum;
2961
- createdAt: Date;
2962
- invoices: number[];
3071
+ export declare enum ResourceAgesEnum {
3072
+ ADULTS = "adults",
3073
+ CHILDREN = "children"
2963
3074
  }
2964
- export interface IPaginationData<T> {
2965
- meta: {
2966
- totalItems: number;
2967
- itemsPerPage: number;
2968
- totalPages: number;
2969
- currentPage: number;
2970
- };
2971
- data: T[];
3075
+ export declare enum SpacePropertiesEnum {
3076
+ OUTDOOR = "outdoor",
3077
+ INDOOR = "indoor"
2972
3078
  }
2973
- export interface IPricesOfProductsResults {
2974
- productId: number;
2975
- userId: number;
2976
- price: number;
2977
- groupId?: number;
2978
- groupName?: string;
2979
- originalPrice?: number;
2980
- priceWithoutTax: number;
2981
- tax: number;
2982
- isTaxInclusive: boolean;
3079
+ export declare enum SurfacesEnum {
3080
+ GRASS = "grass",
3081
+ TURF = "turf",
3082
+ FIELD_TURF = "fieldTurf",
3083
+ ASTRO_TURF = "astroTurf",
3084
+ HARDWOOD = "hardwood",
3085
+ ASPHALT = "asphalt",
3086
+ SAND = "sand",
3087
+ ICE = "ice",
3088
+ SPORT_COURT = "sportCourt"
2983
3089
  }
2984
- export interface IPaymentMethodToFundLeft {
2985
- paymentType: PaymentMethodTypeEnum;
2986
- paymentMethodId: string;
2987
- fundLeft: number;
2988
- ccLast4?: string;
2989
- ccBrand?: string;
3090
+ export declare enum RegistrationConstraintPeriodTypeEnum {
3091
+ MINUTES = "minutes",
3092
+ DAYS = "days"
2990
3093
  }
2991
- export interface IVariantsAndTitle {
2992
- title: VariantTitle;
2993
- variants: Variant[];
3094
+ export declare enum RegistrationWindowStatusEnum {
3095
+ NOT_OPEN_YET = "not_opened_yet",
3096
+ OPEN = "open",
3097
+ CLOSED = "closed"
2994
3098
  }
2995
- export interface IProgramSeasonActivityTimes {
2996
- dayOfWeek: number;
2997
- open: string;
2998
- close: string;
3099
+ export declare enum RegistrationValidationStatusEnum {
3100
+ FULL = "full",
3101
+ ALREADY_REGISTERED = "registered",
3102
+ AVAILABLE = "available",
3103
+ NOT_OPEN_YET = "not opened",
3104
+ ALREADY_CLOSED = "closed",
3105
+ NO_PRODUCT_FOUND = "no-product-found"
2999
3106
  }
3000
- export interface IProgramSeasonActivityTimesAsDates {
3001
- date: string;
3002
- startTime: string;
3003
- endTime: string;
3107
+ export declare enum DiscountMethodsEnum {
3108
+ PERCENT = "percent",
3109
+ AMOUNT = "amount"
3004
3110
  }
3005
- export interface IBlockedDates {
3006
- name: string;
3007
- startDate: Date;
3008
- endDate: Date;
3111
+ export declare enum UserAuthorizationsTypeEnum {
3112
+ ORGANIZATION = "organization"
3009
3113
  }
3010
- export interface ISingleMemberForRenewal {
3011
- member_id: number;
3012
- member_membershipId: number;
3013
- member_userId: number;
3014
- member_nextPaymentMethodId?: string;
3015
- member_nextPaymentType?: PaymentMethodTypeEnum;
3016
- member_answerTitleIds?: number[];
3017
- member_organizationId: number;
3018
- line_paidAmount: number;
3019
- line_productId: number;
3020
- order_payingUserId: number;
3021
- order_paymentMethodId: string;
3022
- order_paymentType: PaymentMethodTypeEnum;
3023
- endDate: Date;
3024
- membership_name: string;
3025
- user_firstName: string;
3026
- user_lastName: string;
3027
- user_email: string;
3114
+ export declare enum OrganizationLocaleDateEnum {
3115
+ USA = "USA"
3028
3116
  }
3029
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3030
- package_parentProductId: number;
3031
- line2_paidAmount: number;
3032
- familyid: number;
3033
- order_id: number;
3117
+ export declare enum DateTimeFormatsEnum {
3118
+ API_DATE = "YYYY/MM/DD",
3119
+ API_TIME = "HH:mm:ss"
3034
3120
  }
3035
- export interface IResourceRegistrationData {
3036
- id: number;
3037
- resourceType: ResourceNameTypeEnum;
3038
- openNumDays?: number;
3039
- openNumMinutes?: number;
3040
- openTime?: string;
3041
- closeNumDays?: number;
3042
- closeNumMinutes?: number;
3043
- closeTime?: string;
3044
- registrationWindowStatus?: RegistrationWindowStatusEnum;
3121
+ export declare enum SlotTypeEnum {
3122
+ EXTERNAL = "external",
3123
+ INTERNAL = "internal",
3124
+ MAINTENANCE = "maintenance",
3125
+ CUSTOM = "custom"
3045
3126
  }
3046
- export interface IResourceDataForConstraintsCalc {
3047
- id: number;
3048
- startDate: string;
3049
- startTime: string;
3127
+ export declare enum PlatformsEnum {
3128
+ CONSUMER = "consumer",
3129
+ BO = "backoffice",
3130
+ MOBILE = "mobile",
3131
+ CRON = "cron"
3050
3132
  }
3051
- export interface IRegistrationConstraintsSetting {
3052
- numDays?: number;
3053
- numMinutes?: number;
3133
+ export declare enum ShiftStatusEnum {
3134
+ OPEN = "open",
3135
+ CLOSED = "closed",
3136
+ MANAGMENT_CLOSED = "closed_by_manager",
3137
+ RECONCILED = "reconciled"
3054
3138
  }
3055
- export interface IAttendeeDataToNotify {
3056
- firstName: string;
3057
- lastName: string;
3058
- email: string;
3059
- sessionName: string;
3060
- parentSessionName?: string;
3061
- organizationName: string;
3062
- programName: string;
3139
+ export declare enum EventStatusEnum {
3140
+ OPEN = 1,
3141
+ DRAFT = 2,
3142
+ FULL = 3,
3143
+ CANCELLED = 4,
3144
+ CLOSED = 5,
3145
+ DELETED = 6
3063
3146
  }
3064
- export interface IEventInSchedule {
3065
- eventId: number;
3066
- eventName: string;
3067
- eventStartDate: string;
3068
- eventEndDate: string;
3069
- eventStartTime: string;
3070
- eventEndTime: string;
3071
- programId: number;
3072
- programName: string;
3073
- programType: ProgramTypesEnum;
3074
- sessionId: number;
3075
- sessionName: string;
3076
- sports: number;
3077
- spaces: {
3078
- spaceId: number;
3079
- spaceName: string;
3080
- }[];
3081
- status?: RegistrationValidationStatusEnum;
3147
+ export declare enum ReservationTypeEnum {
3148
+ RENTAL = "rental",
3149
+ PROGRAM = "program",
3150
+ MAINTENANCE = "maintenance",
3151
+ CUSTOM = "custom"
3082
3152
  }
3083
- export interface ISlotInSchedule {
3084
- facilityId: number;
3085
- facilityName: string;
3086
- spaces: ISpaceWithSlots[];
3153
+ export declare enum SlotDurationTypeEnum {
3154
+ DATES = "dates",
3155
+ ALL_DAY = "all day",
3156
+ DURATION = "duration"
3087
3157
  }
3088
- export interface ISpaceWithSlots {
3089
- id: number;
3090
- name: string;
3091
- slots: ISlotReservationData[];
3158
+ export declare enum DurationUnitTypesEnum {
3159
+ MINUTES = "minutes",
3160
+ HOURS = "hours"
3092
3161
  }
3093
- export interface ISlotReservationData {
3094
- reservationId: number;
3095
- reservationName: string;
3096
- date: string;
3097
- startTime: string;
3098
- endTime: string;
3099
- notes: string;
3100
- spaceId: number;
3101
- isRental: boolean;
3102
- slotType: SlotTypeEnum;
3103
- slotId: number;
3104
- eventId: number;
3105
- isPrivate: boolean;
3162
+ export declare enum FrequencyEnum {
3163
+ NONE = "none",
3164
+ WEEKLY = "weekly",
3165
+ DAILY = "daily",
3166
+ MONTHLY = "monthly",
3167
+ YEARLY = "yearly"
3106
3168
  }
3107
- export interface IRawEventInSchedule extends IEventInSchedule {
3108
- parentSessionId: number;
3109
- parentSessionName: string;
3110
- eventTimezone: string;
3111
- maxParticipants: number;
3112
- maxMaleParticipants: number;
3113
- maxFemaleParticipants: number;
3114
- isPunchCard: boolean;
3169
+ export declare enum MaintenanceTimingEnum {
3170
+ BEFORE = 1,
3171
+ AFTER = 2,
3172
+ AT_THE_BEGINING = 3,
3173
+ AT_THE_END = 4
3115
3174
  }
3116
- export interface IBasicSpaceAndSlotCreator {
3117
- id: number;
3118
- name: string;
3119
- bookingCreatorId: number;
3175
+ export declare enum CreatorTypeEnum {
3176
+ SPACE = "space",
3177
+ PROGRAM_SEASON = "program_season"
3120
3178
  }
3121
- export interface IRawSlotInSchedule {
3122
- startDate: string;
3123
- endDate: string;
3124
- startTime: string;
3125
- endTime: string;
3126
- reservationId: number;
3127
- eventTitle: string;
3128
- publicNotes: string;
3129
- spaceId: number;
3130
- creatorType: ResourceNameTypeEnum;
3131
- slotType: SlotTypeEnum;
3132
- slotId: number;
3133
- eventId: number;
3134
- isPrivate: boolean;
3179
+ export declare enum UpdatePricesTypeEnum {
3180
+ INDIVIDUAL = "indvidual",
3181
+ CATEGORY = "category",
3182
+ GLOBAL = "global"
3135
3183
  }
3136
- export interface IPurchasedResourcesRaw {
3137
- purchasedId: number;
3138
- purchasedProductUserId: number;
3139
- purchasedResourceId: number;
3140
- purchasedResourceType: ResourceNameTypeEnum;
3141
- purchasedStatus: PurchasedResourceStatusEnum;
3142
- pUserId: number;
3143
- pUserPaymentStatus: PaymentStatusEnum;
3144
- pUserProductId: number;
3145
- pUserProductName: string;
3146
- pUserProductPrice: number;
3147
- pUserProductPriceCurrency: string;
3148
- pUserProductQuantity: number;
3149
- pUserProductQuantityLeft: number;
3150
- pUserUserId: number;
3184
+ export declare enum BondDayOfWeekEnum {
3185
+ MONDAY = 2,
3186
+ TUESDAY = 3,
3187
+ WEDNESDAY = 4,
3188
+ THURSDAY = 5,
3189
+ FRIDAY = 6,
3190
+ SATURDAY = 7,
3191
+ SUNDAY = 8
3151
3192
  }
3152
- export interface IUsersPasses {
3153
- userId: number;
3154
- userFirstName: string;
3155
- userLastName: string;
3156
- organizationId: number;
3157
- programId: number;
3158
- programName: string;
3159
- sessionId: number;
3160
- sessionName: string;
3161
- productId: number;
3162
- productName: string;
3163
- productUserId: number;
3164
- purchaseDate: Date;
3165
- passesLeft: number;
3193
+ export declare enum ReservationMigrationStatusEnum {
3194
+ NEW = "new",
3195
+ NO = "no",
3196
+ YES = "yes"
3166
3197
  }
3167
- export interface ISessionsLandingPage {
3168
- sessionId: number;
3169
- name: string;
3170
- startDate: Date;
3171
- endDate: Date;
3172
- registrationStartDate: Date;
3173
- registrationEndDate: Date;
3174
- sport: SportsEnum;
3175
- minAge: string;
3176
- maxAge: string;
3177
- maxParticipants?: number;
3178
- gender: GenderEnum;
3179
- activityTimes: ActivityTimes[];
3180
- earlyRegistrationStartDate?: Date;
3181
- earlyRegistrationEndDate?: Date;
3182
- lateRegistrationStartDate?: Date;
3183
- lateRegistrationEndDate?: Date;
3184
- attendeeCount?: number;
3185
- segmentsOrEvents: 'segment' | 'event';
3198
+ export declare enum ProductPackageLevelEnum {
3199
+ HOUR = "hour",
3200
+ SLOT = "slot",
3201
+ RESERVATION = "reservation"
3186
3202
  }
3187
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3188
- hasRequiredMembership: boolean;
3189
- hasEntitledPricing: boolean;
3190
- lowestPrice?: number;
3191
- products?: ISessionLandingPageProduct[];
3203
+ export declare enum CancellationStatusEnum {
3204
+ IMMEDIATE = "immediate",
3205
+ AUTO_RENEWAL = "auto_renewal"
3192
3206
  }
3193
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3194
- hasRequiredMembership: boolean;
3195
- hasEntitledPricing: boolean;
3196
- products?: ISessionLandingPageProduct[];
3197
- segments?: Event[] | ProgramSeason[];
3198
- programName: string;
3199
- programId: number;
3200
- levelOfPlay: LevelOfPlayEnum[];
3201
- registrationConstraints: IResourceRegistrationData[];
3207
+ export declare enum SeasonScheduleStatusEnum {
3208
+ DRAFT = 0,
3209
+ PUBLISHED = 1
3202
3210
  }
3203
- export interface ISlimAddons {
3204
- addons?: {
3205
- id: number;
3206
- timePeriod: AddonTimePeriodEnum;
3207
- name: string;
3208
- productType?: ProductTypesEnum;
3209
- productSubType?: string;
3210
- }[];
3211
+ export declare enum FinancialStepEnum {
3212
+ VOID = "void",
3213
+ REFUND = "refund",
3214
+ NONE = "none",
3215
+ REFUND_AND_VOID = "refund-and-void",
3216
+ APPEND = "append"
3211
3217
  }
3212
- export interface ISessionLandingPageProduct extends ISlimAddons {
3213
- id: number;
3214
- name: string;
3215
- startDate?: Date;
3216
- endDate?: Date;
3217
- downpayment?: number;
3218
- description?: string;
3219
- prices: Price[];
3220
- productSubType?: ProductSubTypesEnum;
3221
- punchCard: boolean;
3222
- isAddon: boolean;
3223
- defaultPriceId?: number;
3218
+ export declare enum StripeAccountTypesEnum {
3219
+ STRIPE = "stripe",
3220
+ STRIPE_CUSTOM = "stripe:account:custom",
3221
+ STRIPE_CUSTOMER = "stripe:customer"
3224
3222
  }
3225
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3226
- destinationId?: string;
3227
- stripeCustomerId?: string;
3228
- fee?: number;
3223
+ export declare enum LinkedAccountStatus {
3224
+ PENDING = 1,
3225
+ ACTIVE = 2,
3226
+ PRE_PENDING = 3
3229
3227
  }
3230
- export interface IReservationCreatorData {
3231
- type: ResourceNameTypeEnum;
3232
- id: number;
3233
- organizationId: number;
3234
- startDate: string;
3235
- endDate: string;
3236
- sportId: number;
3228
+ export declare enum AddonParentTypeEnum {
3229
+ RESERVATION = "reservation",
3230
+ SLOT = "slot"
3231
+ }
3232
+ export declare enum EEmailStatus {
3233
+ SENT = "sent",
3234
+ OPENED = "opened",
3235
+ PAID = "paid",
3236
+ CANCELED = "canceled"
3237
3237
  }
3238
3238
  export declare class ColumnNumericTransformer {
3239
3239
  to(data: number): number;
@@ -3423,11 +3423,6 @@ export declare class CreateMonitorConfigDto {
3423
3423
  code: string;
3424
3424
  config: any;
3425
3425
  }
3426
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3427
- facilityId: number;
3428
- code: string;
3429
- config?: any;
3430
- }
3431
3426
  export declare class ByOrganizationIdDto {
3432
3427
  organizationId: number;
3433
3428
  }
@@ -3483,6 +3478,11 @@ export declare class Organization extends BondBaseEntity {
3483
3478
  brandings: OrganizationBranding[];
3484
3479
  brandingsV2?: OrganizationBranding[];
3485
3480
  }
3481
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3482
+ facilityId: number;
3483
+ code: string;
3484
+ config?: any;
3485
+ }
3486
3486
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3487
3487
  key?: string;
3488
3488
  vaule?: string;
@@ -3645,6 +3645,16 @@ export declare class VoidLineItemDto {
3645
3645
  isEdit?: boolean;
3646
3646
  amount?: number;
3647
3647
  }
3648
+ export interface RefundResult extends PaymentsResults {
3649
+ successfulLineItems: RefundLineItemAmountDto[];
3650
+ failedLineItems: RefundLineItemAmountDto[];
3651
+ order?: Order;
3652
+ }
3653
+ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3654
+ successfulLineItems: Map<number, RefundLineItemAmountDto>;
3655
+ failedLineItems: Map<number, RefundLineItemAmountDto>;
3656
+ totalAmountProcessed: number;
3657
+ }
3648
3658
  export interface PaymentResult {
3649
3659
  paymentMethodId: string;
3650
3660
  paymentMethodType: PaymentMethodTypeEnum;
@@ -3674,16 +3684,6 @@ export declare class FindInvoices extends ByPaymentFilter {
3674
3684
  id?: number;
3675
3685
  months?: string;
3676
3686
  }
3677
- export interface RefundResult extends PaymentsResults {
3678
- successfulLineItems: RefundLineItemAmountDto[];
3679
- failedLineItems: RefundLineItemAmountDto[];
3680
- order?: Order;
3681
- }
3682
- export interface RefundResultWithLineItemsDict extends PaymentsResults {
3683
- successfulLineItems: Map<number, RefundLineItemAmountDto>;
3684
- failedLineItems: Map<number, RefundLineItemAmountDto>;
3685
- totalAmountProcessed: number;
3686
- }
3687
3687
  export declare class LineItemDto {
3688
3688
  id?: number;
3689
3689
  orderId?: number;
@@ -3933,6 +3933,43 @@ export declare class SeriesDto {
3933
3933
  maintenance?: MaintenanceDto[];
3934
3934
  slots?: SlotDto[];
3935
3935
  }
3936
+ declare class AnswerDto {
3937
+ questionId: number;
3938
+ value: any;
3939
+ }
3940
+ export declare class BookedSessionDto {
3941
+ startDate: string;
3942
+ endDate: string;
3943
+ timezone: string;
3944
+ spaceId: number;
3945
+ }
3946
+ declare class AddonDto {
3947
+ resourcePackageId: number;
3948
+ resourcePackageAmount: number;
3949
+ resourcePackagePrice: number;
3950
+ }
3951
+ export declare class ReservationV1Dto {
3952
+ organizationId: number;
3953
+ name: string;
3954
+ dayOfWeek: number;
3955
+ startTime: string;
3956
+ description: string;
3957
+ sport: number;
3958
+ price: number;
3959
+ resourcePackageId: number;
3960
+ resourcePackageAmount: number;
3961
+ bookedSessions: BookedSessionDto[];
3962
+ addons: AddonDto[];
3963
+ }
3964
+ export declare class BookingV1Dto {
3965
+ organizationId: number;
3966
+ reservations: ReservationV1Dto[];
3967
+ answers: AnswerDto[];
3968
+ paymentData: PurchasePaymentDto;
3969
+ skipPayment: boolean;
3970
+ cashPayment: boolean;
3971
+ requestOnly: boolean;
3972
+ }
3936
3973
  export declare class SlotDateTimeAndSpace {
3937
3974
  startDate: string;
3938
3975
  startTime?: string;
@@ -3996,43 +4033,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
3996
4033
  slotDurationType: SlotDurationTypeEnum;
3997
4034
  addonsIds?: number[];
3998
4035
  }
3999
- declare class AnswerDto {
4000
- questionId: number;
4001
- value: any;
4002
- }
4003
- export declare class BookedSessionDto {
4004
- startDate: string;
4005
- endDate: string;
4006
- timezone: string;
4007
- spaceId: number;
4008
- }
4009
- declare class AddonDto {
4010
- resourcePackageId: number;
4011
- resourcePackageAmount: number;
4012
- resourcePackagePrice: number;
4013
- }
4014
- export declare class ReservationV1Dto {
4015
- organizationId: number;
4016
- name: string;
4017
- dayOfWeek: number;
4018
- startTime: string;
4019
- description: string;
4020
- sport: number;
4021
- price: number;
4022
- resourcePackageId: number;
4023
- resourcePackageAmount: number;
4024
- bookedSessions: BookedSessionDto[];
4025
- addons: AddonDto[];
4026
- }
4027
- export declare class BookingV1Dto {
4028
- organizationId: number;
4029
- reservations: ReservationV1Dto[];
4030
- answers: AnswerDto[];
4031
- paymentData: PurchasePaymentDto;
4032
- skipPayment: boolean;
4033
- cashPayment: boolean;
4034
- requestOnly: boolean;
4035
- }
4036
4036
  export declare class Addon extends OrganizationConnectionBaseEntity {
4037
4037
  parentId: number;
4038
4038
  parentType: AddonParentTypeEnum;
@@ -4209,6 +4209,12 @@ export interface ILineItemResource {
4209
4209
  type: 'addons' | 'segments' | 'series' | 'slots' | 'slot_addons';
4210
4210
  values: TResource[];
4211
4211
  }
4212
+ export declare class ChangeRolePermissionsDto {
4213
+ permissionIds: number[];
4214
+ }
4215
+ export declare class CreateRoleDto {
4216
+ name: string;
4217
+ }
4212
4218
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
4213
4219
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
4214
4220
  export interface ReservationV1 {
@@ -4404,12 +4410,6 @@ export interface EditSlotsData {
4404
4410
  export interface EditSlotsResult extends UpdateReservationResult {
4405
4411
  refundResult?: RefundResult;
4406
4412
  }
4407
- export declare class ChangeRolePermissionsDto {
4408
- permissionIds: number[];
4409
- }
4410
- export declare class CreateRoleDto {
4411
- name: string;
4412
- }
4413
4413
  export declare class Permission extends BondBaseEntity {
4414
4414
  name: string;
4415
4415
  deletedAt?: Date;