@bondsports/types 0.0.178 → 0.0.180

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
@@ -34,111 +34,6 @@ export declare enum EFailedPaymentReasons {
34
34
  CARD_BLOCKED = "card_blocked_by_bond",
35
35
  UNKNOWN = "unknown"
36
36
  }
37
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
38
- membershipId: number;
39
- }
40
- export declare class ImportProductsFromDB {
41
- buDate: string;
42
- }
43
- export declare class ImportCustomerFromCSV {
44
- fileName: string;
45
- startIndex?: number;
46
- }
47
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
48
- resolveInvoices: string;
49
- }
50
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
51
- membershipId: number;
52
- onlyDashIds: string;
53
- }
54
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
55
- facilityId: number;
56
- }
57
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
58
- customerId: number;
59
- }
60
- export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
61
- userId: number;
62
- }
63
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
64
- nameSearch?: string;
65
- fuzzy?: string;
66
- customerType?: CustomerTypeEnum;
67
- customersIds?: string;
68
- }
69
- export declare class AddCustomerNotesDto {
70
- customerNotes: CustomerNoteDto[];
71
- }
72
- export declare class CustomerNoteDto {
73
- id?: number;
74
- description: string;
75
- pinToTop?: boolean;
76
- }
77
- export declare class AddEditCustomerDto {
78
- firstName?: string;
79
- lastName?: string;
80
- entityId?: number;
81
- entityType?: CustomerTypeEnum;
82
- email?: string;
83
- color?: string;
84
- street?: string;
85
- city?: string;
86
- state?: string;
87
- zip?: string;
88
- phoneNumber?: string;
89
- mainMediaId?: number;
90
- creatorId?: number;
91
- creatorType?: ResourceNameTypeEnum;
92
- userCreatorId?: number;
93
- gender?: GenderEnum;
94
- birthDate?: string;
95
- emergencyContactName?: string;
96
- emergencyContactPhone?: string;
97
- }
98
- export declare class FindFamilyAccountsDto {
99
- userId: number;
100
- }
101
- export declare class FindFamilyAccountsCustomerDto {
102
- customerId: number;
103
- organizationId: number;
104
- }
105
- export declare class FindUsersInFamilyAccountDto {
106
- familyAccountId: number;
107
- }
108
- export declare class CreateFamilyAccountDto {
109
- familyName: string;
110
- userId: number;
111
- }
112
- export declare class UpdateFamilyAccountNameDto {
113
- familyName: string;
114
- familyAccountId: number;
115
- }
116
- export declare class AddUserToFamilyAccountDto {
117
- familyAccountId: number;
118
- isUserAdmin: boolean;
119
- firstName: string;
120
- lastName: string;
121
- gender: GenderEnum;
122
- birthDate: string;
123
- sports?: number[];
124
- email?: string;
125
- }
126
- export declare class RemoveUserFromFamilyAccountDto {
127
- userId: number;
128
- familyAccountId: number;
129
- }
130
- export declare class FindOneParams {
131
- id: number;
132
- }
133
- export declare class PaginationQuery {
134
- page: number;
135
- itemsPerPage: number;
136
- }
137
- export declare class PaginationRangeQuery {
138
- startPage: number;
139
- endPage: number;
140
- itemsPerPage: number;
141
- }
142
37
  export declare class FindEventByIdDto {
143
38
  eventId: number;
144
39
  organizationId: number;
@@ -239,6 +134,67 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
239
134
  isWaiverSigned?: string;
240
135
  statuses?: string;
241
136
  }
137
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
138
+ membershipId: number;
139
+ }
140
+ export declare class ImportProductsFromDB {
141
+ buDate: string;
142
+ }
143
+ export declare class ImportCustomerFromCSV {
144
+ fileName: string;
145
+ startIndex?: number;
146
+ }
147
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
148
+ resolveInvoices: string;
149
+ }
150
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
151
+ membershipId: number;
152
+ onlyDashIds: string;
153
+ }
154
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
155
+ facilityId: number;
156
+ }
157
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
158
+ customerId: number;
159
+ }
160
+ export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
161
+ userId: number;
162
+ }
163
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
164
+ nameSearch?: string;
165
+ fuzzy?: string;
166
+ customerType?: CustomerTypeEnum;
167
+ customersIds?: string;
168
+ }
169
+ export declare class AddCustomerNotesDto {
170
+ customerNotes: CustomerNoteDto[];
171
+ }
172
+ export declare class CustomerNoteDto {
173
+ id?: number;
174
+ description: string;
175
+ pinToTop?: boolean;
176
+ }
177
+ export declare class AddEditCustomerDto {
178
+ firstName?: string;
179
+ lastName?: string;
180
+ entityId?: number;
181
+ entityType?: CustomerTypeEnum;
182
+ email?: string;
183
+ color?: string;
184
+ street?: string;
185
+ city?: string;
186
+ state?: string;
187
+ zip?: string;
188
+ phoneNumber?: string;
189
+ mainMediaId?: number;
190
+ creatorId?: number;
191
+ creatorType?: ResourceNameTypeEnum;
192
+ userCreatorId?: number;
193
+ gender?: GenderEnum;
194
+ birthDate?: string;
195
+ emergencyContactName?: string;
196
+ emergencyContactPhone?: string;
197
+ }
242
198
  export declare class AddressDto {
243
199
  city: string;
244
200
  state: string;
@@ -282,77 +238,65 @@ export declare class UpdateFacilityAmenitiesDto {
282
238
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
283
239
  nameSearch?: string;
284
240
  }
285
- export declare class FindGlCodeByOrganizationIdDto {
286
- organizationId: number;
241
+ export declare class FindFamilyAccountsDto {
242
+ userId: number;
287
243
  }
288
- export declare class GetGlCodeDto {
289
- id: number;
244
+ export declare class FindFamilyAccountsCustomerDto {
245
+ customerId: number;
290
246
  organizationId: number;
291
- code: string;
292
- createdAt: Date;
293
- updatedAt: Date;
294
247
  }
295
- export declare class CreateMembershipDto {
296
- organizationId: number;
297
- name: string;
298
- description?: string;
299
- customerTypes: CustomerInMembershipTypeEnum[];
300
- activity: SportsEnum;
301
- facilityId: number;
302
- questionnaires: number[];
303
- minAgeYears: number;
304
- maxAgeYears: number;
248
+ export declare class FindUsersInFamilyAccountDto {
249
+ familyAccountId: number;
250
+ }
251
+ export declare class CreateFamilyAccountDto {
252
+ familyName: string;
253
+ userId: number;
254
+ }
255
+ export declare class UpdateFamilyAccountNameDto {
256
+ familyName: string;
257
+ familyAccountId: number;
258
+ }
259
+ export declare class AddUserToFamilyAccountDto {
260
+ familyAccountId: number;
261
+ isUserAdmin: boolean;
262
+ firstName: string;
263
+ lastName: string;
305
264
  gender: GenderEnum;
306
- maxMembers?: number;
307
- maxMaleMembers?: number;
308
- maxFemaleMembers?: number;
309
- startDate: string;
310
- endDate: string;
311
- registrationStartDate?: Date;
312
- registrationEndDate?: Date;
313
- membershipType: MembershipTypeEnum;
314
- durationMonths: number;
315
- longDescription?: string;
316
- isAutoRenew?: boolean;
265
+ birthDate: string;
266
+ sports?: number[];
267
+ email?: string;
317
268
  }
318
- export declare class UpdateMembrshipDto extends CreateMembershipDto {
269
+ export declare class RemoveUserFromFamilyAccountDto {
270
+ userId: number;
271
+ familyAccountId: number;
272
+ }
273
+ export declare class FindOneParams {
319
274
  id: number;
320
275
  }
321
- export declare class UpdateMembershipMediaDto {
322
- membershipId: number;
323
- mediaId: number;
276
+ export declare class PaginationQuery {
277
+ page: number;
278
+ itemsPerPage: number;
324
279
  }
325
- export declare class FindMembershipByIdDto {
326
- membershipId: number;
280
+ export declare class PaginationRangeQuery {
281
+ startPage: number;
282
+ endPage: number;
283
+ itemsPerPage: number;
327
284
  }
328
- export declare class FindMembershipsByOrganizationIdDto {
285
+ export declare class FindGlCodeByOrganizationIdDto {
329
286
  organizationId: number;
330
287
  }
331
- export declare class FindMembershipsByUserIdDto {
332
- userId: number;
333
- }
334
- export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
335
- startDate: string;
288
+ export declare class GetGlCodeDto {
289
+ id: number;
290
+ organizationId: number;
291
+ code: string;
292
+ createdAt: Date;
293
+ updatedAt: Date;
336
294
  }
337
- export declare class MembershipIdsDto {
338
- membershipIds?: number[];
295
+ export declare class FindByProgramSeasonIdDto {
296
+ seasonId: number;
339
297
  }
340
- export declare class MemberIdDto {
341
- memberId?: number;
342
- }
343
- export declare class FindMembersOptionsDto extends PaginationQuery {
344
- nameEmailSearch?: string;
345
- pastMemberships?: string;
346
- }
347
- export declare class CancelMembershipDto {
348
- isImmediatelyCancel: boolean;
349
- cancellationReason?: string;
350
- }
351
- export declare class FindByProgramSeasonIdDto {
352
- seasonId: number;
353
- }
354
- export declare class CreateBulkDivisionsDto {
355
- divisions: CreateDivisionDto[];
298
+ export declare class CreateBulkDivisionsDto {
299
+ divisions: CreateDivisionDto[];
356
300
  }
357
301
  export declare class CreateDivisionDto {
358
302
  name: string;
@@ -421,6 +365,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
421
365
  export declare class MoveTeamOrMembersByCsvDTO {
422
366
  fileName: string;
423
367
  }
368
+ export declare class CreateMembershipDto {
369
+ organizationId: number;
370
+ name: string;
371
+ description?: string;
372
+ customerTypes: CustomerInMembershipTypeEnum[];
373
+ activity: SportsEnum;
374
+ facilityId: number;
375
+ questionnaires: number[];
376
+ minAgeYears: number;
377
+ maxAgeYears: number;
378
+ gender: GenderEnum;
379
+ maxMembers?: number;
380
+ maxMaleMembers?: number;
381
+ maxFemaleMembers?: number;
382
+ startDate: string;
383
+ endDate: string;
384
+ registrationStartDate?: Date;
385
+ registrationEndDate?: Date;
386
+ membershipType: MembershipTypeEnum;
387
+ durationMonths: number;
388
+ longDescription?: string;
389
+ isAutoRenew?: boolean;
390
+ }
391
+ export declare class UpdateMembrshipDto extends CreateMembershipDto {
392
+ id: number;
393
+ }
394
+ export declare class UpdateMembershipMediaDto {
395
+ membershipId: number;
396
+ mediaId: number;
397
+ }
398
+ export declare class FindMembershipByIdDto {
399
+ membershipId: number;
400
+ }
401
+ export declare class FindMembershipsByOrganizationIdDto {
402
+ organizationId: number;
403
+ }
404
+ export declare class FindMembershipsByUserIdDto {
405
+ userId: number;
406
+ }
407
+ export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
408
+ startDate: string;
409
+ }
410
+ export declare class MembershipIdsDto {
411
+ membershipIds?: number[];
412
+ }
413
+ export declare class MemberIdDto {
414
+ memberId?: number;
415
+ }
416
+ export declare class FindMembersOptionsDto extends PaginationQuery {
417
+ nameEmailSearch?: string;
418
+ pastMemberships?: string;
419
+ }
420
+ export declare class CancelMembershipDto {
421
+ isImmediatelyCancel: boolean;
422
+ cancellationReason?: string;
423
+ }
424
424
  export declare class CreateEntitlementTermsDto {
425
425
  organizationId: number;
426
426
  entitlementGroupId: number;
@@ -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
  }
@@ -1010,6 +1010,10 @@ export declare class PartialPaymentAsUserDto {
1010
1010
  paymentMethodData: any;
1011
1011
  platform?: PlatformsEnum;
1012
1012
  }
1013
+ export declare class ResourceDto {
1014
+ type: ResourceNameTypeEnum;
1015
+ id: number;
1016
+ }
1013
1017
  export declare class CreateResourceGroupDto {
1014
1018
  name: string;
1015
1019
  parentSlotId: number;
@@ -1018,10 +1022,6 @@ export declare class CreateResourceGroupDto {
1018
1022
  }
1019
1023
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
1020
1024
  }
1021
- export declare class ResourceDto {
1022
- type: ResourceNameTypeEnum;
1023
- id: number;
1024
- }
1025
1025
  export declare class SpaceByIdDto {
1026
1026
  spaceId: number;
1027
1027
  }
@@ -1123,17 +1123,6 @@ export declare class ActivityTimes extends BondBaseEntity {
1123
1123
  proudct: Product;
1124
1124
  event: Event;
1125
1125
  }
1126
- export declare class Address extends BondBaseEntity {
1127
- city?: string;
1128
- street?: string;
1129
- streetNum?: string;
1130
- aptNum?: string;
1131
- zip?: string;
1132
- country?: string;
1133
- state?: string;
1134
- geo: any;
1135
- deletedAt?: Date;
1136
- }
1137
1126
  export declare class Answer extends OrganizationConnectionBaseEntity {
1138
1127
  questionId: number;
1139
1128
  question?: Questions;
@@ -1147,17 +1136,23 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1147
1136
  metaData: any | null;
1148
1137
  questionText: string | null;
1149
1138
  }
1139
+ export declare class Address extends BondBaseEntity {
1140
+ city?: string;
1141
+ street?: string;
1142
+ streetNum?: string;
1143
+ aptNum?: string;
1144
+ zip?: string;
1145
+ country?: string;
1146
+ state?: string;
1147
+ geo: any;
1148
+ deletedAt?: Date;
1149
+ }
1150
1150
  export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1151
1151
  questionnaireId: number;
1152
1152
  userId?: number;
1153
1153
  answers: Answer[];
1154
1154
  questionnaire: Questionnaires;
1155
1155
  }
1156
- export declare class Athlete extends BondBaseEntity {
1157
- userId: number | null;
1158
- metadata: object | null;
1159
- athleteSports: AthleteSports[];
1160
- }
1161
1156
  export declare class AthleteSports extends BondBaseEntity {
1162
1157
  athleteId: number | null;
1163
1158
  sports: number | null;
@@ -1194,6 +1189,16 @@ export declare class BookedSessions extends BondBaseEntity {
1194
1189
  publicNotes?: string;
1195
1190
  slotType?: SlotTypeEnum;
1196
1191
  }
1192
+ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1193
+ parentId: number;
1194
+ parentType: ResourceNameTypeEnum;
1195
+ startDate: Date;
1196
+ endDate: Date;
1197
+ dayOfWeek: number;
1198
+ startTimeInDay: string;
1199
+ endTimeInDay: string;
1200
+ directBookingFor: DirectBookingTypesEnum;
1201
+ }
1197
1202
  export declare class Configuration extends BondBaseEntity {
1198
1203
  area: string;
1199
1204
  key: string;
@@ -1211,15 +1216,13 @@ export declare class Connection extends BondBaseEntity {
1211
1216
  userCreatorId: number | null;
1212
1217
  ownerId: number | null;
1213
1218
  }
1214
- export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1215
- parentId: number;
1216
- parentType: ResourceNameTypeEnum;
1217
- startDate: Date;
1218
- endDate: Date;
1219
- dayOfWeek: number;
1220
- startTimeInDay: string;
1221
- endTimeInDay: string;
1222
- directBookingFor: DirectBookingTypesEnum;
1219
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1220
+ creditAmount: number;
1221
+ paymentProcessorId: string;
1222
+ userId: number;
1223
+ paymentId: number;
1224
+ invoiceId: number;
1225
+ creditPaymentId: number;
1223
1226
  }
1224
1227
  export declare class Customer extends OrganizationConnectionBaseEntity {
1225
1228
  name: string | null;
@@ -1249,14 +1252,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1249
1252
  mainMedia: Media;
1250
1253
  reservations?: Reservation[];
1251
1254
  }
1252
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1253
- creditAmount: number;
1254
- paymentProcessorId: string;
1255
- userId: number;
1256
- paymentId: number;
1257
- invoiceId: number;
1258
- creditPaymentId: number;
1259
- }
1260
1255
  export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1261
1256
  customerId: number;
1262
1257
  userId: number;
@@ -1269,33 +1264,33 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1269
1264
  invoice: Invoice;
1270
1265
  payment: Payment;
1271
1266
  }
1272
- export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1273
- name: string | null;
1274
- }
1275
1267
  export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1276
1268
  customerId?: number;
1277
1269
  description: string;
1278
1270
  pinToTop?: boolean;
1279
1271
  customer: Customer;
1280
1272
  }
1273
+ export declare class Division extends BondBaseEntity {
1274
+ name: string;
1275
+ ordinal?: number;
1276
+ programSeasonId: number;
1277
+ color: string;
1278
+ isDefault: boolean;
1279
+ groups: Group[];
1280
+ }
1281
1281
  export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1282
1282
  customerId: number;
1283
1283
  name: string | null;
1284
1284
  phoneNumber: string | null;
1285
1285
  customer: Customer;
1286
1286
  }
1287
+ export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1288
+ name: string | null;
1289
+ }
1287
1290
  export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1288
1291
  groupId: number;
1289
1292
  terms: IEntitlementTerms[];
1290
1293
  }
1291
- export declare class Division extends BondBaseEntity {
1292
- name: string;
1293
- ordinal?: number;
1294
- programSeasonId: number;
1295
- color: string;
1296
- isDefault: boolean;
1297
- groups: Group[];
1298
- }
1299
1294
  export declare class EventAttendee extends BondBaseEntity {
1300
1295
  status: RequestStatusEnum | null;
1301
1296
  hasPaid: boolean | null;
@@ -1412,6 +1407,19 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1412
1407
  chargedAt?: Date;
1413
1408
  originalPlannedDate?: Date;
1414
1409
  }
1410
+ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1411
+ groupId: number;
1412
+ itemId: number;
1413
+ itemType: ResourceNameTypeEnum;
1414
+ startDate: Date;
1415
+ endDate: Date;
1416
+ price: number;
1417
+ overridesPrice: boolean;
1418
+ deletedAt?: Date;
1419
+ group?: EntitlementGroup;
1420
+ discountMethod?: DiscountMethodsEnum;
1421
+ discountValue?: number;
1422
+ }
1415
1423
  export declare class GlCodes extends OrganizationConnectionBaseEntity {
1416
1424
  code: string;
1417
1425
  }
@@ -1431,19 +1439,6 @@ export declare class Group extends BondBaseEntity {
1431
1439
  members: ISeasonAttendeeInfo[];
1432
1440
  users: User[];
1433
1441
  }
1434
- export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1435
- groupId: number;
1436
- itemId: number;
1437
- itemType: ResourceNameTypeEnum;
1438
- startDate: Date;
1439
- endDate: Date;
1440
- price: number;
1441
- overridesPrice: boolean;
1442
- deletedAt?: Date;
1443
- group?: EntitlementGroup;
1444
- discountMethod?: DiscountMethodsEnum;
1445
- discountValue?: number;
1446
- }
1447
1442
  export declare class GroupsInDivisions extends BondBaseEntity {
1448
1443
  groupId: number;
1449
1444
  divisionId: number;
@@ -1473,15 +1468,6 @@ export declare class Invoice extends BondBaseEntity {
1473
1468
  invoiceNotes: InvoiceNote[];
1474
1469
  slots: Slot[];
1475
1470
  }
1476
- export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1477
- content: string;
1478
- creatingUserId: number;
1479
- user: User;
1480
- isPublic: boolean;
1481
- deletedAt: Date;
1482
- invoiceId: number;
1483
- invoice: Invoice;
1484
- }
1485
1471
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1486
1472
  email: string;
1487
1473
  status: EEmailStatus;
@@ -1493,6 +1479,15 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1493
1479
  mailParams?: any;
1494
1480
  memo?: string;
1495
1481
  }
1482
+ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1483
+ content: string;
1484
+ creatingUserId: number;
1485
+ user: User;
1486
+ isPublic: boolean;
1487
+ deletedAt: Date;
1488
+ invoiceId: number;
1489
+ invoice: Invoice;
1490
+ }
1496
1491
  export declare class InvoiceToPayment extends BondBaseEntity {
1497
1492
  invoiceId: number;
1498
1493
  paymentId: number;
@@ -1527,21 +1522,65 @@ export declare class League extends OrganizationConnectionBaseEntity {
1527
1522
  logo?: Media;
1528
1523
  seasons: LeagueSeason[];
1529
1524
  }
1530
- export declare class LineItemHistory extends BondBaseEntity {
1531
- invoiceId: number;
1532
- paymentId: number;
1533
- lineItemId: number;
1534
- paidAmount: number;
1535
- unitPaidAmount: number;
1536
- currency: CurrencyEnum;
1537
- payment: Payment;
1538
- lineItem: LineItems;
1539
- }
1540
- export declare class LineItems extends BondBaseEntity {
1541
- constructor();
1542
- defineIsReverted(): void;
1543
- isReverted: boolean;
1544
- invoiceId: number;
1525
+ export declare class LeagueSeason extends BondBaseEntity {
1526
+ leagueId: number | null;
1527
+ name: string | null;
1528
+ status: number | null;
1529
+ startDate: Date | null;
1530
+ endDate: Date | null;
1531
+ priceEarlySingle: number | null;
1532
+ priceRegularSingle: number | null;
1533
+ priceLateSingle: number | null;
1534
+ priceEarlyTeam: number | null;
1535
+ priceRegularTeam: number | null;
1536
+ priceLateTeam: number | null;
1537
+ priceEarlyTeamMember: number | null;
1538
+ priceRegularTeamMember: number | null;
1539
+ priceLateTeamMember: number | null;
1540
+ priceEarlyGroup: number | null;
1541
+ priceRegularGroup: number | null;
1542
+ priceLateGroup: number | null;
1543
+ earlyRegistrationEnds: Date | null;
1544
+ regularRegistrationEnds: Date | null;
1545
+ lateRegistrationEnds: Date | null;
1546
+ registrationStatus: number | null;
1547
+ description: string | null;
1548
+ addressName: string | null;
1549
+ registrationOpen: Date | null;
1550
+ connectedSeasonId: number | null;
1551
+ tournamentType: boolean | null;
1552
+ playoffType: boolean | null;
1553
+ scheduleStatus: SeasonScheduleStatusEnum;
1554
+ rosterStatus: string | null;
1555
+ metaData: any | null;
1556
+ inviteSendDate: Date | null;
1557
+ maxNumParticipants: number | null;
1558
+ programId: number | null;
1559
+ minNumParticipants: number | null;
1560
+ league: League;
1561
+ facilities: Facility[];
1562
+ seasonAttendees: SeasonAttendee[];
1563
+ purchasedResources: PurchasedResource[];
1564
+ }
1565
+ export declare class LeagueSeasonRelations {
1566
+ league?: boolean;
1567
+ facilities?: boolean;
1568
+ }
1569
+ export declare class LineItemHistory extends BondBaseEntity {
1570
+ invoiceId: number;
1571
+ paymentId: number;
1572
+ lineItemId: number;
1573
+ paidAmount: number;
1574
+ unitPaidAmount: number;
1575
+ currency: CurrencyEnum;
1576
+ payment: Payment;
1577
+ lineItem: LineItems;
1578
+ }
1579
+ export declare class LineItems extends BondBaseEntity {
1580
+ constructor();
1581
+ defineIsReverted(): void;
1582
+ isReverted: boolean;
1583
+ invoiceId: number;
1545
1584
  invoice: Invoice;
1546
1585
  lineItemsHistory: LineItemHistory[];
1547
1586
  type: LineItemsStatusEnum | null;
@@ -1608,50 +1647,6 @@ export declare class LinkedAccounts extends BondBaseEntity {
1608
1647
  user: User;
1609
1648
  userId: number | null;
1610
1649
  }
1611
- export declare class LeagueSeason extends BondBaseEntity {
1612
- leagueId: number | null;
1613
- name: string | null;
1614
- status: number | null;
1615
- startDate: Date | null;
1616
- endDate: Date | null;
1617
- priceEarlySingle: number | null;
1618
- priceRegularSingle: number | null;
1619
- priceLateSingle: number | null;
1620
- priceEarlyTeam: number | null;
1621
- priceRegularTeam: number | null;
1622
- priceLateTeam: number | null;
1623
- priceEarlyTeamMember: number | null;
1624
- priceRegularTeamMember: number | null;
1625
- priceLateTeamMember: number | null;
1626
- priceEarlyGroup: number | null;
1627
- priceRegularGroup: number | null;
1628
- priceLateGroup: number | null;
1629
- earlyRegistrationEnds: Date | null;
1630
- regularRegistrationEnds: Date | null;
1631
- lateRegistrationEnds: Date | null;
1632
- registrationStatus: number | null;
1633
- description: string | null;
1634
- addressName: string | null;
1635
- registrationOpen: Date | null;
1636
- connectedSeasonId: number | null;
1637
- tournamentType: boolean | null;
1638
- playoffType: boolean | null;
1639
- scheduleStatus: SeasonScheduleStatusEnum;
1640
- rosterStatus: string | null;
1641
- metaData: any | null;
1642
- inviteSendDate: Date | null;
1643
- maxNumParticipants: number | null;
1644
- programId: number | null;
1645
- minNumParticipants: number | null;
1646
- league: League;
1647
- facilities: Facility[];
1648
- seasonAttendees: SeasonAttendee[];
1649
- purchasedResources: PurchasedResource[];
1650
- }
1651
- export declare class LeagueSeasonRelations {
1652
- league?: boolean;
1653
- facilities?: boolean;
1654
- }
1655
1650
  export declare class Media extends BondBaseEntity {
1656
1651
  url: string;
1657
1652
  name: string | null;
@@ -1699,12 +1694,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
1699
1694
  isAutoRenew?: boolean;
1700
1695
  purchasedResources: PurchasedResource[];
1701
1696
  }
1702
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1703
- email: string | null;
1704
- notificationType: NotificationTypeEnum | null;
1705
- resourceId: number | null;
1706
- resourceType: string | null;
1707
- }
1708
1697
  export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1709
1698
  membership: Membership;
1710
1699
  membershipId: number;
@@ -1725,6 +1714,23 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1725
1714
  cancellationStatus?: CancellationStatusEnum;
1726
1715
  isImported?: boolean;
1727
1716
  }
1717
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1718
+ email: string | null;
1719
+ notificationType: NotificationTypeEnum | null;
1720
+ resourceId: number | null;
1721
+ resourceType: string | null;
1722
+ }
1723
+ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1724
+ id: number;
1725
+ dayOfWeek: number;
1726
+ open: string;
1727
+ close: string;
1728
+ facilityId: number;
1729
+ createdAt: Date;
1730
+ updatedAt: Date;
1731
+ deletedAt?: Date;
1732
+ facility: Facility;
1733
+ }
1728
1734
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1729
1735
  organizationId: number;
1730
1736
  }
@@ -1745,23 +1751,6 @@ export declare class PackageV1 extends BondBaseEntity {
1745
1751
  isMandatory: boolean;
1746
1752
  productId: number;
1747
1753
  }
1748
- export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1749
- id: number;
1750
- dayOfWeek: number;
1751
- open: string;
1752
- close: string;
1753
- facilityId: number;
1754
- createdAt: Date;
1755
- updatedAt: Date;
1756
- deletedAt?: Date;
1757
- facility: Facility;
1758
- }
1759
- export declare class PasswordReset extends BondBaseEntity {
1760
- token: string | null;
1761
- userId: number | null;
1762
- validUntil: Date | null;
1763
- active: boolean | null;
1764
- }
1765
1754
  export declare class Payment extends OrganizationConnectionBaseEntity {
1766
1755
  price: number;
1767
1756
  paymentProcessorId: string;
@@ -1789,6 +1778,12 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1789
1778
  refundReasonId?: number;
1790
1779
  refundNote?: string;
1791
1780
  }
1781
+ export declare class PasswordReset extends BondBaseEntity {
1782
+ token: string | null;
1783
+ userId: number | null;
1784
+ validUntil: Date | null;
1785
+ active: boolean | null;
1786
+ }
1792
1787
  export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1793
1788
  failureIndex: number;
1794
1789
  waitingDays: number;
@@ -1849,6 +1844,21 @@ export declare class Price extends OrganizationConnectionBaseEntity {
1849
1844
  discountValue?: number;
1850
1845
  taxIncludedPrice?: number;
1851
1846
  }
1847
+ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1848
+ parentProductId: number;
1849
+ childProductId: number;
1850
+ relationType: PackageProductsRelationTypeEnum;
1851
+ timePeriod: AddonTimePeriodEnum;
1852
+ deletedAt?: Date;
1853
+ productResource: ProductResource;
1854
+ childProduct: Product;
1855
+ parentProduct: Product;
1856
+ price: number;
1857
+ isFlatPrice: boolean;
1858
+ durationMinutes?: number;
1859
+ durationDays?: number;
1860
+ level?: ProductPackageLevelEnum;
1861
+ }
1852
1862
  export declare class Product extends OrganizationConnectionBaseEntity {
1853
1863
  name: string;
1854
1864
  quantity: number;
@@ -1899,21 +1909,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1899
1909
  activityTimes: ActivityTimes[];
1900
1910
  purchasedResources: PurchasedResource[];
1901
1911
  }
1902
- export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1903
- parentProductId: number;
1904
- childProductId: number;
1905
- relationType: PackageProductsRelationTypeEnum;
1906
- timePeriod: AddonTimePeriodEnum;
1907
- deletedAt?: Date;
1908
- productResource: ProductResource;
1909
- childProduct: Product;
1910
- parentProduct: Product;
1911
- price: number;
1912
- isFlatPrice: boolean;
1913
- durationMinutes?: number;
1914
- durationDays?: number;
1915
- level?: ProductPackageLevelEnum;
1916
- }
1917
1912
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1918
1913
  productId: number;
1919
1914
  maxMonths?: number;
@@ -1923,6 +1918,10 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
1923
1918
  schedule: PaymentPlanSchedule[];
1924
1919
  product?: Product;
1925
1920
  }
1921
+ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1922
+ productId: number;
1923
+ variantTitleId: number;
1924
+ }
1926
1925
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1927
1926
  productId: number;
1928
1927
  resourceId: number;
@@ -1934,9 +1933,9 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1934
1933
  productPackages: ProductPackage[];
1935
1934
  resourceName?: string;
1936
1935
  }
1937
- export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1936
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1938
1937
  productId: number;
1939
- variantTitleId: number;
1938
+ variantId: number;
1940
1939
  }
1941
1940
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1942
1941
  productId: number;
@@ -1945,10 +1944,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
1945
1944
  deletedAt?: Date;
1946
1945
  product: Product;
1947
1946
  }
1948
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1949
- productId: number;
1950
- variantId: number;
1951
- }
1952
1947
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1953
1948
  productId: number;
1954
1949
  userId: number;
@@ -2051,20 +2046,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2051
2046
  facility: Facility;
2052
2047
  purchasedResources: PurchasedResource[];
2053
2048
  }
2054
- export declare class Questions extends BondBaseEntity {
2055
- questionType: string | null;
2056
- ordinal: number | null;
2057
- pageOrdinal: number | null;
2058
- isActive: boolean | null;
2059
- isMandatory: boolean | null;
2060
- metaData: any | null;
2061
- question: string | null;
2062
- creatorId: number | null;
2063
- creatorType: string | null;
2064
- userCreatorId: number | null;
2065
- ownerId: number | null;
2066
- questionnaireId: number | null;
2067
- }
2068
2049
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2069
2050
  productUserId: number;
2070
2051
  resourceId: number;
@@ -2087,10 +2068,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2087
2068
  product?: Product;
2088
2069
  event?: Event;
2089
2070
  }
2090
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2091
- title: string | null;
2092
- answerTitle: AnswerTitle;
2093
- }
2094
2071
  export declare class RefundReason extends OrganizationConnectionBaseEntity {
2095
2072
  reason: string;
2096
2073
  ordinal: number;
@@ -2107,6 +2084,10 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2107
2084
  closeTime?: string;
2108
2085
  deletedAt?: Date;
2109
2086
  }
2087
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2088
+ title: string | null;
2089
+ answerTitle: AnswerTitle;
2090
+ }
2110
2091
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2111
2092
  name?: string;
2112
2093
  description?: string;
@@ -2139,6 +2120,27 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2139
2120
  publicNotes?: string;
2140
2121
  slots?: Slot[];
2141
2122
  }
2123
+ export declare class Questions extends BondBaseEntity {
2124
+ questionType: string | null;
2125
+ ordinal: number | null;
2126
+ pageOrdinal: number | null;
2127
+ isActive: boolean | null;
2128
+ isMandatory: boolean | null;
2129
+ metaData: any | null;
2130
+ question: string | null;
2131
+ creatorId: number | null;
2132
+ creatorType: string | null;
2133
+ userCreatorId: number | null;
2134
+ ownerId: number | null;
2135
+ questionnaireId: number | null;
2136
+ }
2137
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2138
+ name: string;
2139
+ facilityId: number;
2140
+ parentSlotId: number;
2141
+ childrenSlotIds: number[];
2142
+ deletedAt?: Date;
2143
+ }
2142
2144
  export declare class Resource extends OrganizationConnectionBaseEntity {
2143
2145
  name: string;
2144
2146
  resourceType: ResourceTypeEnum;
@@ -2167,13 +2169,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2167
2169
  purchasedResources: PurchasedResource[];
2168
2170
  linkSEO: string;
2169
2171
  }
2170
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2171
- name: string;
2172
- facilityId: number;
2173
- parentSlotId: number;
2174
- childrenSlotIds: number[];
2175
- deletedAt?: Date;
2176
- }
2177
2172
  export declare class School extends BondBaseEntity {
2178
2173
  name: string | null;
2179
2174
  alias: string[] | null;
@@ -2301,15 +2296,6 @@ export declare class TeamInvite extends BondBaseEntity {
2301
2296
  tokenExpirationDate: Date;
2302
2297
  isUsed: boolean;
2303
2298
  }
2304
- export declare class TeamMember extends BondBaseEntity {
2305
- teamId: number | null;
2306
- userId: number | null;
2307
- paymentId: number | null;
2308
- hasPaid: boolean | null;
2309
- status: TeamMemberStatusEnum | null;
2310
- role: TeamMemberRoleEnum;
2311
- user: User;
2312
- }
2313
2299
  export declare class User extends BondBaseEntity {
2314
2300
  firstName: string | null;
2315
2301
  lastName: string | null;
@@ -2349,13 +2335,14 @@ export declare class User extends BondBaseEntity {
2349
2335
  invoiceNotes: InvoiceNote[];
2350
2336
  paymentNotes: PaymentNote[];
2351
2337
  }
2352
- export declare class UserInFamilyAccount extends BondBaseEntity {
2353
- familyAccountId: number;
2354
- userId: number;
2355
- isAdmin: boolean;
2356
- user: User;
2357
- familyAccount: FamilyAccount;
2358
- deletedAt?: Date;
2338
+ export declare class TeamMember extends BondBaseEntity {
2339
+ teamId: number | null;
2340
+ userId: number | null;
2341
+ paymentId: number | null;
2342
+ hasPaid: boolean | null;
2343
+ status: TeamMemberStatusEnum | null;
2344
+ role: TeamMemberRoleEnum;
2345
+ user: User;
2359
2346
  }
2360
2347
  export declare class UserAuthorizations extends BondBaseEntity {
2361
2348
  entityId: number | null;
@@ -2394,910 +2381,923 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2394
2381
  membershipCollectionId?: string;
2395
2382
  programsCollectionId?: string;
2396
2383
  }
2397
- export declare enum EntitlementTermsTypesEnum {
2398
- QUESTION = "question",
2399
- CITY = "city",
2400
- MEMBERSHIP = "membership"
2401
- }
2402
- export declare enum ResourceNameTypeEnum {
2403
- EVENT = "event",
2404
- VENUE = "venue",
2405
- TEAM = "team",
2406
- LEAGUE = "league",
2407
- USER = "user",
2408
- ORGANIZATION = "organization",
2409
- APP = "app",
2410
- FEED = "feed",
2411
- MATCH = "match",
2412
- ROUND = "round",
2413
- PORTAL = "portal",
2414
- SEASON = "season",
2415
- TOURNAMENT = "tournament",
2416
- MEMBERSHIP = "membership",
2417
- DIVISION = "division",
2418
- GAMESLOT = "gameslot",
2419
- SPACE = "space",
2420
- RESERVATION = "reservation",
2421
- INVOICE = "invoice",
2422
- CUSTOMER = "customer",
2423
- PACKAGE = "package",
2424
- FACILITY = "facility",
2425
- PROGRAM = "program",
2426
- PROGRAM_SEASON = "program_season",
2427
- PRODUCT = "product",
2428
- GROUP = "group",
2429
- VARIANT = "variant",
2430
- SLOT = "slot",
2431
- ADDON = "addon"
2432
- }
2433
- export declare enum DirectBookingTypesEnum {
2434
- DIRECT_FOR_ALL = "all",
2435
- DIRECT_FOR_NONE = "none",
2436
- DIRECT_VETTED_ONLY = "vetted_only",
2437
- NO_SETTING = "no_setting"
2384
+ export interface IEntitlementTerms {
2385
+ type: EntitlementTermsTypesEnum;
2386
+ id?: number;
2387
+ value?: string;
2388
+ minValue?: string;
2389
+ maxValue?: string;
2438
2390
  }
2439
- export declare enum GenderEnum {
2440
- OTHER = 1,
2441
- MALE = 2,
2442
- FEMALE = 3
2391
+ export interface IQuestionAnswerObject {
2392
+ questionId: number;
2393
+ value: string;
2443
2394
  }
2444
- export declare enum LevelOfPlayEnum {
2445
- BEGINNER = 1,
2446
- INTERMEDIATE = 2,
2447
- ADVANCED = 3,
2448
- SEMIPRO = 4,
2449
- SPECTATOR = 5
2395
+ export interface ILowestPriceForItem {
2396
+ itemId: number;
2397
+ itemType: ResourceNameTypeEnum;
2398
+ groupId: number;
2399
+ groupName?: string;
2400
+ price: number;
2401
+ overridesPrice: boolean;
2450
2402
  }
2451
- export declare enum ProgramTypesEnum {
2452
- LEAGUE = 0,
2453
- TOURNAMENT = 1,
2454
- CLASS = 2,
2455
- CLINIC = 3,
2456
- CAMP = 4,
2457
- LESSON = 5,
2458
- CLUB_TEAM = 6
2403
+ export interface IResourcesAvailability {
2404
+ resourceType: ResourceNameTypeEnum;
2405
+ quantity: number;
2406
+ resourcesIds: number[];
2407
+ isPunchCard: boolean;
2408
+ resources?: any[];
2459
2409
  }
2460
- export declare enum ProgramSeasonTypesEnum {
2461
- ROUND_ROBIN = 1,
2462
- BRACKETS = 2,
2463
- CAMP_CLINIC_CLASS = 3
2410
+ export interface IPackageResponse {
2411
+ parentProduct: Product;
2412
+ children: IChildProduct[];
2464
2413
  }
2465
- export declare enum SportsEnum {
2466
- SOFTBALL = 1,
2467
- BASKETBALL = 2,
2468
- FOOTBALL = 3,
2469
- SOCCER = 4,
2470
- BOWLING = 5,
2471
- BOCCEBALL = 6,
2472
- CORNHOLE = 7,
2473
- DODGEBALL = 8,
2474
- FRISBEE = 9,
2475
- HOCKEY = 10,
2476
- KICKBALL = 11,
2477
- LACROSSE = 12,
2478
- PINGPONG = 13,
2479
- RUGBY = 14,
2480
- SKEEBALL = 15,
2481
- TENNIS = 16,
2482
- VOLLEYBALL = 17,
2483
- WIFFLEBALL = 18,
2484
- BADMINTON = 19,
2485
- FITNESS = 20,
2486
- GOLF = 21,
2487
- PILATES = 22,
2488
- RUNNING = 23,
2489
- SKIING = 24,
2490
- SNOWBOARDING = 25,
2491
- YOGA = 26,
2492
- BROOMBALL = 27,
2493
- CRICKET = 28,
2494
- CROSSFIT = 29,
2495
- CYCLING = 30,
2496
- FIELD_HOCKEY = 31,
2497
- RACQUETBALL = 32,
2498
- SPINNING = 33,
2499
- SQUASH = 34,
2500
- SURFING = 35,
2501
- SWIMMING = 36,
2502
- WIND_SURFING = 37,
2503
- ADVENTURE = 38,
2504
- BOXING = 39,
2505
- BASEBALL = 40,
2506
- DANCE = 41,
2507
- KICKBOXING = 42,
2508
- MARTIAL_ARTS = 43,
2509
- OUTDOORS = 44,
2510
- ROWING = 45,
2511
- SAILING = 46,
2512
- SUP = 47,
2513
- TRIATHLON = 48,
2514
- HANDBALL = 49,
2515
- CATCHBALL = 50,
2516
- BLITZBALL = 51,
2517
- ROLLER_DERBY = 52,
2518
- ICE_SKATING = 53,
2519
- PICKLEBALL = 54,
2520
- AXE_THROWING = 55,
2521
- FURSAL = 56,
2522
- BIRTHDAY = 57,
2523
- CORPRATE_EVENTS = 58,
2524
- OTHER = 999
2414
+ export interface IChildProduct {
2415
+ product: Product;
2416
+ relationType: PackageProductsRelationTypeEnum;
2417
+ timePeriod?: AddonTimePeriodEnum;
2525
2418
  }
2526
- export declare enum PublishingStatusEnum {
2527
- DRAFT = 1,
2528
- PUBLISHED = 2,
2529
- CLOSED = 3,
2530
- CANCELLED = 4,
2531
- ARCHIVE = 5,
2532
- UNPUBLISHED = 6
2419
+ export interface ISeasonAttendeeInfo {
2420
+ applicationAnswers: Answer[];
2421
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2422
+ invoices: Invoice[];
2423
+ payments: Payment[];
2424
+ products: Product[];
2425
+ redeemNext: ProductsUsers;
2533
2426
  }
2534
- export declare enum ProgramHighlightTypeEnum {
2535
- OTHER = 1,
2536
- MINAGE = 2,
2537
- MAXAGE = 3,
2538
- GENDER = 4,
2539
- LEVELOFPLAY = 5,
2540
- GAMESSEASON = 6,
2541
- MINWEEK = 7,
2542
- SURFACE = 8,
2543
- FORMAT = 9,
2544
- PLAYERS_PER_TEAM = 10,
2545
- MATCH_LENGTH = 12
2427
+ export interface ISeasonAttendeeListInfo {
2428
+ userId: number;
2429
+ userFirstName: string;
2430
+ userLastName: string;
2431
+ userGender: number;
2432
+ userBirthDate: Date;
2433
+ userProfilePicUrl: string;
2434
+ customerId: number;
2435
+ customerEmail: string;
2436
+ paymentStatus: string;
2437
+ productName: string;
2438
+ punchCard: boolean;
2546
2439
  }
2547
- export declare enum RequestStatusEnum {
2548
- PENDING = 1,
2549
- ACCEPTED = 2,
2550
- DECLINED = 3
2440
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2441
+ segmentType: ResourceNameTypeEnum;
2442
+ participantRegisteredDate?: string;
2551
2443
  }
2552
- export declare enum PaymentStatusEnum {
2553
- NOT_PAID = "not_paid",
2554
- PARTIAL_PAYMENT = "partial",
2555
- FULLY_PAID = "paid",
2556
- REFUNDED = "refunded",
2557
- VOID = "void"
2444
+ export declare class EventAsSeasonSegment extends Event {
2445
+ segmentType: ResourceNameTypeEnum;
2446
+ participantRegisteredDate?: string;
2558
2447
  }
2559
- export declare enum ReservationExtendedEnum {
2560
- PURCHASE_ORDER = "purchase_order"
2448
+ export interface ITokenResonse {
2449
+ token: string;
2561
2450
  }
2562
- export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2563
- export declare enum ReservationStatusEnum {
2564
- PLANNED = "Planned",
2565
- APPROVED = "Approved",
2566
- AWAITING_ADMIN = "Awaiting Admin",
2567
- AWAITING_CUSTOMER = "Awaiting Customer",
2568
- REJECTED = "Rejected",
2569
- CANCELED = "Canceled"
2451
+ export interface IStripeBondInvoices {
2452
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2453
+ bondPaidPayment: Payment;
2454
+ invoice?: Invoice;
2455
+ customer?: Customer;
2570
2456
  }
2571
- export declare enum PaymentStatusV1Enum {
2572
- SENT_TO_CLIENT = 1,
2573
- SENT_FOR_PAYMENT = 2,
2574
- ACCEPTED = 3,
2575
- REJECTED = 4,
2576
- CANCELLED = 5,
2577
- FRAUD = 6,
2578
- NOT_RELEVANT = 7,
2579
- PENDING = 8
2457
+ export interface IPartialPaymentData {
2458
+ purchasingUserId: number;
2459
+ paymentData: PurchasePaymentDto;
2460
+ amountToPay: number;
2580
2461
  }
2581
- export declare enum PaymentMethodsEnum {
2582
- STRIPE = 1,
2583
- CASH = 3
2462
+ export interface IPayment {
2463
+ id: number;
2464
+ total: number;
2465
+ paymentMethod: PaymentMethodTypeEnum;
2466
+ status: PaymentStatusEnum;
2467
+ createdAt: Date;
2468
+ invoices: number[];
2584
2469
  }
2585
- export declare enum PackageProductsRelationTypeEnum {
2586
- CHILD = "child",
2587
- UPSALE = "upsale"
2588
- }
2589
- export declare enum AddonTimePeriodEnum {
2590
- FULL = "full",
2591
- SESSION = "session",
2592
- EVENT = "event"
2470
+ export interface IPaginationData<T> {
2471
+ meta: {
2472
+ totalItems: number;
2473
+ itemsPerPage: number;
2474
+ totalPages: number;
2475
+ currentPage: number;
2476
+ };
2477
+ data: T[];
2593
2478
  }
2594
- export declare enum CurrencyEnum {
2595
- USD = "USD"
2479
+ export interface IPricesOfProductsResults {
2480
+ productId: number;
2481
+ userId: number;
2482
+ price: number;
2483
+ groupId?: number;
2484
+ groupName?: string;
2485
+ originalPrice?: number;
2486
+ priceWithoutTax: number;
2487
+ tax: number;
2488
+ isTaxInclusive: boolean;
2596
2489
  }
2597
- export declare enum NotificationTypeEnum {
2598
- BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2599
- BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2600
- BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2490
+ export interface IPaymentMethodToFundLeft {
2491
+ paymentType: PaymentMethodTypeEnum;
2492
+ paymentMethodId: string;
2493
+ fundLeft: number;
2494
+ ccLast4?: string;
2495
+ ccBrand?: string;
2601
2496
  }
2602
- export declare enum ProductTypesEnum {
2603
- RESERVATION = "reservation",
2604
- REGISTRATION = "registration",
2605
- MEMBERSHIP = "membership",
2606
- GOODS = "goods",
2607
- PACKAGE = "package",
2608
- REFUND_COMPENSATION = "refund",
2609
- CASH_OVER_SHORT = "cash_over_short",
2610
- PETTY_CASH = "petty_cash",
2611
- LEAGUE_REGISTRATION = "league_registration",
2612
- TAX = "tax"
2497
+ export interface IVariantsAndTitle {
2498
+ title: VariantTitle;
2499
+ variants: Variant[];
2613
2500
  }
2614
- export declare enum InvoiceStatusEnum {
2615
- ACTIVE = "active",
2616
- WAITING_ADMIN = "waitingAdmin",
2617
- WAITING_CLIENT = "waitingClient",
2618
- CANCELED = "canceled"
2501
+ export interface IProgramSeasonActivityTimes {
2502
+ dayOfWeek: number;
2503
+ open: string;
2504
+ close: string;
2619
2505
  }
2620
- export declare enum LineItemsStatusEnum {
2621
- USER_PRODUCT = "UserProduct",
2622
- RENTAL_PRODUCT = "RentalProduct"
2506
+ export interface IProgramSeasonActivityTimesAsDates {
2507
+ date: string;
2508
+ startTime: string;
2509
+ endTime: string;
2623
2510
  }
2624
- export declare enum ProductSubTypesEnum {
2625
- SEASON_INDIVIDUAL = "season_individual",
2626
- SEASON_TEAM = "season_team",
2627
- SEASON_PER_PLAYER = "season_per_player"
2511
+ export interface IBlockedDates {
2512
+ name: string;
2513
+ startDate: Date;
2514
+ endDate: Date;
2628
2515
  }
2629
- export declare enum PaymentMethodTypeEnum {
2630
- CREDIT_CARD = "card",
2631
- ACH = "ach",
2632
- CASH = "cash",
2633
- CHECK = "check",
2634
- BALANCE = "balance",
2635
- CARD_ON_TERMINAL = "card-on-terminal",
2636
- OTHER = "other",
2637
- MIGRATED = "migrated",
2638
- VOID = "void",
2639
- GIFT_CARD = "gift-card"
2516
+ export interface ISingleMemberForRenewal {
2517
+ member_id: number;
2518
+ member_membershipId: number;
2519
+ member_userId: number;
2520
+ member_nextPaymentMethodId?: string;
2521
+ member_nextPaymentType?: PaymentMethodTypeEnum;
2522
+ member_answerTitleIds?: number[];
2523
+ member_organizationId: number;
2524
+ product_productPrice: number;
2525
+ product_productId: number;
2526
+ invoice_payingUserId: number;
2527
+ invoice_paymentMethodId: string;
2528
+ invoice_paymentType: PaymentMethodTypeEnum;
2529
+ endDate: Date;
2530
+ membership_name: string;
2531
+ user_firstName: string;
2532
+ user_lastName: string;
2533
+ user_email: string;
2640
2534
  }
2641
- export declare enum RefundTypeEnum {
2642
- LEAVE_BALANCE = "leave_balance",
2643
- REDUCE_BALANCE = "reduce_balance"
2535
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2536
+ package_parentProductId: number;
2537
+ product2_productPrice: number;
2538
+ familyid: number;
2539
+ invoice_id: number;
2644
2540
  }
2645
- export declare enum CustomerInMembershipTypeEnum {
2646
- INDIVIDUAL = "individual",
2647
- FAMILY = "family",
2648
- ORGANIZATION = "organization"
2541
+ export interface IResourceRegistrationData {
2542
+ id: number;
2543
+ resourceType: ResourceNameTypeEnum;
2544
+ openNumDays?: number;
2545
+ openNumMinutes?: number;
2546
+ openTime?: string;
2547
+ closeNumDays?: number;
2548
+ closeNumMinutes?: number;
2549
+ closeTime?: string;
2550
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
2649
2551
  }
2650
- export declare enum MembershipTypeEnum {
2651
- FIXED = "fix_membership",
2652
- ROLLING = "rolling_membership"
2552
+ export interface IResourceDataForConstraintsCalc {
2553
+ id: number;
2554
+ startDate: string;
2555
+ startTime: string;
2653
2556
  }
2654
- export declare enum CustomerTypeEnum {
2655
- USER = "user",
2656
- FAMILY = "family",
2657
- ORGANIZATION = "organization"
2557
+ export interface IRegistrationConstraintsSetting {
2558
+ numDays?: number;
2559
+ numMinutes?: number;
2658
2560
  }
2659
- export declare enum GroupStatusEnum {
2660
- ACTIVE = 1,
2661
- INACTIVE = 2,
2662
- DRAFT = 3
2561
+ export interface IAttendeeDataToNotify {
2562
+ firstName: string;
2563
+ lastName: string;
2564
+ email: string;
2565
+ sessionName: string;
2566
+ parentSessionName?: string;
2567
+ organizationName: string;
2568
+ programName: string;
2663
2569
  }
2664
- export declare enum FutureInstallmentStatusEnum {
2665
- FUTURE = "future",
2666
- SUCCEEDED = "succeeded",
2667
- FAILED = "failed",
2668
- CANCELED = "canceled"
2570
+ export interface IEventInSchedule {
2571
+ eventId: number;
2572
+ eventName: string;
2573
+ eventStartDate: string;
2574
+ eventEndDate: string;
2575
+ eventStartTime: string;
2576
+ eventEndTime: string;
2577
+ programId: number;
2578
+ programName: string;
2579
+ programType: ProgramTypesEnum;
2580
+ sessionId: number;
2581
+ sessionName: string;
2582
+ sports: number;
2583
+ spaces: {
2584
+ spaceId: number;
2585
+ spaceName: string;
2586
+ }[];
2587
+ status?: RegistrationValidationStatusEnum;
2669
2588
  }
2670
- export declare enum EntryStatusEnum {
2671
- ENTERED = 1,
2672
- NOT_ENTERED = 2,
2673
- CANCELED = 3
2589
+ export interface ISlotInSchedule {
2590
+ facilityId: number;
2591
+ facilityName: string;
2592
+ spaces: ISpaceWithSlots[];
2674
2593
  }
2675
- export declare enum PurchasedResourceStatusEnum {
2676
- ACTIVE = 1,
2677
- MOVED = 2,
2678
- CANCELED = 3
2594
+ export interface ISpaceWithSlots {
2595
+ id: number;
2596
+ name: string;
2597
+ slots: ISlotReservationData[];
2679
2598
  }
2680
- export declare enum TeamCanJoinEnum {
2681
- ANYONE = "anyone",
2682
- BY_INVITE = "byInvite",
2683
- CAPTAIN_APPROVAL = "captainApproval"
2599
+ export interface ISlotReservationData {
2600
+ reservationId: number;
2601
+ reservationName: string;
2602
+ date: string;
2603
+ startTime: string;
2604
+ endTime: string;
2605
+ notes: string;
2606
+ spaceId: number;
2607
+ isRental: boolean;
2608
+ slotType: SlotTypeEnum;
2609
+ slotId: number;
2610
+ eventId: number;
2611
+ isPrivate: boolean;
2684
2612
  }
2685
- export declare enum TeamMemberStatusEnum {
2686
- PENDING = 1,
2687
- ACTIVE = 2,
2688
- DECLINED = 3,
2689
- SUSPENDED = 4,
2690
- INACTIVE = 5,
2691
- INVITED = 6
2613
+ export interface IRawEventInSchedule extends IEventInSchedule {
2614
+ parentSessionId: number;
2615
+ parentSessionName: string;
2616
+ eventTimezone: string;
2617
+ maxParticipants: number;
2618
+ maxMaleParticipants: number;
2619
+ maxFemaleParticipants: number;
2620
+ isPunchCard: boolean;
2692
2621
  }
2693
- export declare enum TeamMemberRoleEnum {
2694
- NULL = 0,
2695
- ADMIN = 1
2622
+ export interface IBasicSpaceAndSlotCreator {
2623
+ id: number;
2624
+ name: string;
2625
+ bookingCreatorId: number;
2696
2626
  }
2697
- export declare enum DayOfWeekEnum {
2698
- SUNDAY = 0,
2699
- MONDAY = 1,
2700
- TUESDAY = 2,
2701
- WEDNESDAY = 3,
2702
- THURSDAY = 4,
2703
- FRIDAY = 5,
2704
- SATURDAY = 6
2627
+ export interface IRawSlotInSchedule {
2628
+ startDate: string;
2629
+ endDate: string;
2630
+ startTime: string;
2631
+ endTime: string;
2632
+ reservationId: number;
2633
+ eventTitle: string;
2634
+ publicNotes: string;
2635
+ spaceId: number;
2636
+ creatorType: ResourceNameTypeEnum;
2637
+ slotType: SlotTypeEnum;
2638
+ slotId: number;
2639
+ eventId: number;
2640
+ isPrivate: boolean;
2705
2641
  }
2706
- export declare enum ActionTypesEnum {
2707
- CREATE = "create",
2708
- READ = "read",
2709
- UPDATE = "update",
2710
- DELETE = "delete"
2642
+ export interface IPurchasedResourcesRaw {
2643
+ purchasedId: number;
2644
+ purchasedProductUserId: number;
2645
+ purchasedResourceId: number;
2646
+ purchasedResourceType: ResourceNameTypeEnum;
2647
+ purchasedStatus: PurchasedResourceStatusEnum;
2648
+ pUserId: number;
2649
+ pUserPaymentStatus: PaymentStatusEnum;
2650
+ pUserProductId: number;
2651
+ pUserProductName: string;
2652
+ pUserProductPrice: number;
2653
+ pUserProductPriceCurrency: string;
2654
+ pUserProductQuantity: number;
2655
+ pUserProductQuantityLeft: number;
2656
+ pUserUserId: number;
2711
2657
  }
2712
- export declare enum ActionSourcePlatformEnum {
2713
- ADMIN = "admin",
2714
- BACKOFFICE = "backoffice",
2715
- CONSUMER = "consumer"
2658
+ export interface IUsersPasses {
2659
+ userId: number;
2660
+ userFirstName: string;
2661
+ userLastName: string;
2662
+ organizationId: number;
2663
+ programId: number;
2664
+ programName: string;
2665
+ sessionId: number;
2666
+ sessionName: string;
2667
+ productId: number;
2668
+ productName: string;
2669
+ productUserId: number;
2670
+ purchaseDate: Date;
2671
+ passesLeft: number;
2716
2672
  }
2717
- export declare enum RolesEnum {
2718
- ORG_ADMIN = "organizationAdmin",
2719
- BOND_ADMIN = "bondAdmin"
2673
+ export interface ISessionsLandingPage {
2674
+ sessionId: number;
2675
+ name: string;
2676
+ startDate: Date;
2677
+ endDate: Date;
2678
+ registrationStartDate: Date;
2679
+ registrationEndDate: Date;
2680
+ sport: SportsEnum;
2681
+ minAge: string;
2682
+ maxAge: string;
2683
+ maxParticipants?: number;
2684
+ gender: GenderEnum;
2685
+ activityTimes: ActivityTimes[];
2686
+ earlyRegistrationStartDate?: Date;
2687
+ earlyRegistrationEndDate?: Date;
2688
+ lateRegistrationStartDate?: Date;
2689
+ lateRegistrationEndDate?: Date;
2690
+ attendeeCount?: number;
2691
+ segmentsOrEvents: 'segment' | 'event';
2720
2692
  }
2721
- export declare enum SeasonPoolStatusEnum {
2722
- IN_POOL = 5,
2723
- ASSIGNED = 1,
2724
- QUIT = 2,
2725
- SUSPENDED = 3,
2726
- INACTIVE = 4
2693
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2694
+ hasRequiredMembership: boolean;
2695
+ hasEntitledPricing: boolean;
2696
+ lowestPrice?: number;
2697
+ products?: ISessionLandingPageProduct[];
2727
2698
  }
2728
- export declare enum AmenitiesEnum {
2729
- HEAT = 1,
2730
- AC = 2,
2731
- WIFI = 3,
2732
- RESTROOMS = 4,
2733
- DRINKING_FOUNTAIN = 5,
2734
- PARKING = 6,
2735
- CONCESSIONS = 7,
2736
- SHELTER = 8,
2737
- PORTABLE_RESTROOMS = 9,
2738
- LIGHTS = 10,
2739
- LOCKER_ROOM = 11,
2740
- PAID_PARKING = 12,
2741
- ACCESSIBLE = 13
2699
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2700
+ hasRequiredMembership: boolean;
2701
+ hasEntitledPricing: boolean;
2702
+ products?: ISessionLandingPageProduct[];
2703
+ segments?: Event[] | ProgramSeason[];
2704
+ programName: string;
2705
+ programId: number;
2706
+ levelOfPlay: LevelOfPlayEnum[];
2707
+ registrationConstraints: IResourceRegistrationData[];
2742
2708
  }
2743
- export declare enum ResourceSubTypeEnum {
2744
- COURT = "court",
2745
- FIELD = "field",
2746
- ROOM = "room",
2747
- DIAMOND = "diamond",
2748
- RINK = "rink",
2749
- STUDIO = "studio",
2750
- POOL = "pool",
2751
- BATTING_CAGE = "batting cage",
2752
- SHELTER = "shelter",
2753
- GOLF_SIMULATOR = "golf simulator"
2709
+ export interface ISlimAddons {
2710
+ addons?: {
2711
+ id: number;
2712
+ timePeriod: AddonTimePeriodEnum;
2713
+ name: string;
2714
+ productType?: ProductTypesEnum;
2715
+ productSubType?: string;
2716
+ }[];
2754
2717
  }
2755
- export declare enum ResourceTypeEnum {
2756
- SPACE = "space"
2718
+ export interface ISessionLandingPageProduct extends ISlimAddons {
2719
+ id: number;
2720
+ name: string;
2721
+ startDate?: Date;
2722
+ endDate?: Date;
2723
+ downpayment?: number;
2724
+ description?: string;
2725
+ prices: Price[];
2726
+ productSubType?: ProductSubTypesEnum;
2727
+ punchCard: boolean;
2728
+ isAddon: boolean;
2729
+ defaultPriceId?: number;
2757
2730
  }
2758
- export declare enum ResourceAgesEnum {
2759
- ADULTS = "adults",
2760
- CHILDREN = "children"
2731
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2732
+ destinationId?: string;
2733
+ stripeCustomerId?: string;
2734
+ fee?: number;
2761
2735
  }
2762
- export declare enum SpacePropertiesEnum {
2763
- OUTDOOR = "outdoor",
2764
- INDOOR = "indoor"
2736
+ export interface IReservationCreatorData {
2737
+ type: ResourceNameTypeEnum;
2738
+ id: number;
2739
+ organizationId: number;
2740
+ startDate: string;
2741
+ endDate: string;
2742
+ sportId: number;
2765
2743
  }
2766
- export declare enum SurfacesEnum {
2767
- GRASS = "grass",
2768
- TURF = "turf",
2769
- FIELD_TURF = "fieldTurf",
2770
- ASTRO_TURF = "astroTurf",
2771
- HARDWOOD = "hardwood",
2772
- ASPHALT = "asphalt",
2773
- SAND = "sand",
2774
- ICE = "ice",
2775
- SPORT_COURT = "sportCourt"
2744
+ export declare enum EntitlementTermsTypesEnum {
2745
+ QUESTION = "question",
2746
+ CITY = "city",
2747
+ MEMBERSHIP = "membership"
2776
2748
  }
2777
- export declare enum RegistrationConstraintPeriodTypeEnum {
2778
- MINUTES = "minutes",
2779
- DAYS = "days"
2749
+ export declare enum ResourceNameTypeEnum {
2750
+ EVENT = "event",
2751
+ VENUE = "venue",
2752
+ TEAM = "team",
2753
+ LEAGUE = "league",
2754
+ USER = "user",
2755
+ ORGANIZATION = "organization",
2756
+ APP = "app",
2757
+ FEED = "feed",
2758
+ MATCH = "match",
2759
+ ROUND = "round",
2760
+ PORTAL = "portal",
2761
+ SEASON = "season",
2762
+ TOURNAMENT = "tournament",
2763
+ MEMBERSHIP = "membership",
2764
+ DIVISION = "division",
2765
+ GAMESLOT = "gameslot",
2766
+ SPACE = "space",
2767
+ RESERVATION = "reservation",
2768
+ INVOICE = "invoice",
2769
+ CUSTOMER = "customer",
2770
+ PACKAGE = "package",
2771
+ FACILITY = "facility",
2772
+ PROGRAM = "program",
2773
+ PROGRAM_SEASON = "program_season",
2774
+ PRODUCT = "product",
2775
+ GROUP = "group",
2776
+ VARIANT = "variant",
2777
+ SLOT = "slot",
2778
+ ADDON = "addon"
2780
2779
  }
2781
- export declare enum RegistrationWindowStatusEnum {
2782
- NOT_OPEN_YET = "not_opened_yet",
2783
- OPEN = "open",
2784
- CLOSED = "closed"
2780
+ export declare enum DirectBookingTypesEnum {
2781
+ DIRECT_FOR_ALL = "all",
2782
+ DIRECT_FOR_NONE = "none",
2783
+ DIRECT_VETTED_ONLY = "vetted_only",
2784
+ NO_SETTING = "no_setting"
2785
2785
  }
2786
- export declare enum RegistrationValidationStatusEnum {
2787
- FULL = "full",
2788
- ALREADY_REGISTERED = "registered",
2789
- AVAILABLE = "available",
2790
- NOT_OPEN_YET = "not opened",
2791
- ALREADY_CLOSED = "closed",
2792
- NO_PRODUCT_FOUND = "no-product-found"
2786
+ export declare enum GenderEnum {
2787
+ OTHER = 1,
2788
+ MALE = 2,
2789
+ FEMALE = 3
2793
2790
  }
2794
- export declare enum DiscountMethodsEnum {
2795
- PERCENT = "percent",
2796
- AMOUNT = "amount"
2791
+ export declare enum LevelOfPlayEnum {
2792
+ BEGINNER = 1,
2793
+ INTERMEDIATE = 2,
2794
+ ADVANCED = 3,
2795
+ SEMIPRO = 4,
2796
+ SPECTATOR = 5
2797
2797
  }
2798
- export declare enum UserAuthorizationsTypeEnum {
2799
- ORGANIZATION = "organization"
2798
+ export declare enum ProgramTypesEnum {
2799
+ LEAGUE = 0,
2800
+ TOURNAMENT = 1,
2801
+ CLASS = 2,
2802
+ CLINIC = 3,
2803
+ CAMP = 4,
2804
+ LESSON = 5,
2805
+ CLUB_TEAM = 6
2800
2806
  }
2801
- export declare enum OrganizationLocaleDateEnum {
2802
- USA = "USA"
2807
+ export declare enum ProgramSeasonTypesEnum {
2808
+ ROUND_ROBIN = 1,
2809
+ BRACKETS = 2,
2810
+ CAMP_CLINIC_CLASS = 3
2803
2811
  }
2804
- export declare enum DateTimeFormatsEnum {
2805
- API_DATE = "YYYY/MM/DD",
2806
- API_TIME = "HH:mm:ss",
2807
- DB_DATE = "YYYY-MM-DD"
2812
+ export declare enum SportsEnum {
2813
+ SOFTBALL = 1,
2814
+ BASKETBALL = 2,
2815
+ FOOTBALL = 3,
2816
+ SOCCER = 4,
2817
+ BOWLING = 5,
2818
+ BOCCEBALL = 6,
2819
+ CORNHOLE = 7,
2820
+ DODGEBALL = 8,
2821
+ FRISBEE = 9,
2822
+ HOCKEY = 10,
2823
+ KICKBALL = 11,
2824
+ LACROSSE = 12,
2825
+ PINGPONG = 13,
2826
+ RUGBY = 14,
2827
+ SKEEBALL = 15,
2828
+ TENNIS = 16,
2829
+ VOLLEYBALL = 17,
2830
+ WIFFLEBALL = 18,
2831
+ BADMINTON = 19,
2832
+ FITNESS = 20,
2833
+ GOLF = 21,
2834
+ PILATES = 22,
2835
+ RUNNING = 23,
2836
+ SKIING = 24,
2837
+ SNOWBOARDING = 25,
2838
+ YOGA = 26,
2839
+ BROOMBALL = 27,
2840
+ CRICKET = 28,
2841
+ CROSSFIT = 29,
2842
+ CYCLING = 30,
2843
+ FIELD_HOCKEY = 31,
2844
+ RACQUETBALL = 32,
2845
+ SPINNING = 33,
2846
+ SQUASH = 34,
2847
+ SURFING = 35,
2848
+ SWIMMING = 36,
2849
+ WIND_SURFING = 37,
2850
+ ADVENTURE = 38,
2851
+ BOXING = 39,
2852
+ BASEBALL = 40,
2853
+ DANCE = 41,
2854
+ KICKBOXING = 42,
2855
+ MARTIAL_ARTS = 43,
2856
+ OUTDOORS = 44,
2857
+ ROWING = 45,
2858
+ SAILING = 46,
2859
+ SUP = 47,
2860
+ TRIATHLON = 48,
2861
+ HANDBALL = 49,
2862
+ CATCHBALL = 50,
2863
+ BLITZBALL = 51,
2864
+ ROLLER_DERBY = 52,
2865
+ ICE_SKATING = 53,
2866
+ PICKLEBALL = 54,
2867
+ AXE_THROWING = 55,
2868
+ FURSAL = 56,
2869
+ BIRTHDAY = 57,
2870
+ CORPRATE_EVENTS = 58,
2871
+ OTHER = 999
2808
2872
  }
2809
- export declare enum SlotTypeEnum {
2810
- EXTERNAL = "external",
2811
- INTERNAL = "internal",
2812
- MAINTENANCE = "maintenance",
2813
- CUSTOM = "custom"
2873
+ export declare enum PublishingStatusEnum {
2874
+ DRAFT = 1,
2875
+ PUBLISHED = 2,
2876
+ CLOSED = 3,
2877
+ CANCELLED = 4,
2878
+ ARCHIVE = 5,
2879
+ UNPUBLISHED = 6
2814
2880
  }
2815
- export declare enum PlatformsEnum {
2816
- CONSUMER = "consumer",
2817
- CONSUMER_CHECKOUT = "consumer_checkout",
2818
- BO = "backoffice",
2819
- MOBILE = "mobile",
2820
- CRON = "cron"
2881
+ export declare enum ProgramHighlightTypeEnum {
2882
+ OTHER = 1,
2883
+ MINAGE = 2,
2884
+ MAXAGE = 3,
2885
+ GENDER = 4,
2886
+ LEVELOFPLAY = 5,
2887
+ GAMESSEASON = 6,
2888
+ MINWEEK = 7,
2889
+ SURFACE = 8,
2890
+ FORMAT = 9,
2891
+ PLAYERS_PER_TEAM = 10,
2892
+ MATCH_LENGTH = 12
2821
2893
  }
2822
- export declare enum ShiftStatusEnum {
2823
- OPEN = "open",
2824
- CLOSED = "closed",
2825
- MANAGMENT_CLOSED = "closed_by_manager",
2826
- RECONCILED = "reconciled"
2894
+ export declare enum RequestStatusEnum {
2895
+ PENDING = 1,
2896
+ ACCEPTED = 2,
2897
+ DECLINED = 3
2827
2898
  }
2828
- export declare enum EventStatusEnum {
2829
- OPEN = 1,
2830
- DRAFT = 2,
2831
- FULL = 3,
2832
- CANCELLED = 4,
2833
- CLOSED = 5,
2834
- DELETED = 6
2899
+ export declare enum PaymentStatusEnum {
2900
+ NOT_PAID = "not_paid",
2901
+ PARTIAL_PAYMENT = "partial",
2902
+ FULLY_PAID = "paid",
2903
+ REFUNDED = "refunded",
2904
+ VOID = "void"
2835
2905
  }
2836
- export declare enum ReservationTypeEnum {
2837
- RENTAL = "rental",
2838
- PROGRAM = "program",
2839
- MAINTENANCE = "maintenance",
2840
- CUSTOM = "custom",
2841
- INTERNAL = "internal"
2906
+ export declare enum ReservationExtendedEnum {
2907
+ PURCHASE_ORDER = "purchase_order"
2842
2908
  }
2843
- export declare enum SlotDurationTypeEnum {
2844
- DATES = "dates",
2845
- ALL_DAY = "all day",
2846
- DURATION = "duration"
2909
+ export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2910
+ export declare enum ReservationStatusEnum {
2911
+ PLANNED = "Planned",
2912
+ APPROVED = "Approved",
2913
+ AWAITING_ADMIN = "Awaiting Admin",
2914
+ AWAITING_CUSTOMER = "Awaiting Customer",
2915
+ REJECTED = "Rejected",
2916
+ CANCELED = "Canceled"
2847
2917
  }
2848
- export declare enum DurationUnitTypesEnum {
2849
- MINUTES = "minutes",
2850
- HOURS = "hours"
2918
+ export declare enum PaymentStatusV1Enum {
2919
+ SENT_TO_CLIENT = 1,
2920
+ SENT_FOR_PAYMENT = 2,
2921
+ ACCEPTED = 3,
2922
+ REJECTED = 4,
2923
+ CANCELLED = 5,
2924
+ FRAUD = 6,
2925
+ NOT_RELEVANT = 7,
2926
+ PENDING = 8
2851
2927
  }
2852
- export declare enum FrequencyEnum {
2853
- NONE = "none",
2854
- WEEKLY = "weekly",
2855
- DAILY = "daily",
2856
- MONTHLY = "monthly",
2857
- YEARLY = "yearly"
2928
+ export declare enum PaymentMethodsEnum {
2929
+ STRIPE = 1,
2930
+ CASH = 3
2858
2931
  }
2859
- export declare enum MaintenanceTimingEnum {
2860
- BEFORE = 1,
2861
- AFTER = 2,
2862
- AT_THE_BEGINING = 3,
2863
- AT_THE_END = 4
2932
+ export declare enum PackageProductsRelationTypeEnum {
2933
+ CHILD = "child",
2934
+ UPSALE = "upsale"
2864
2935
  }
2865
- export declare enum CreatorTypeEnum {
2866
- SPACE = "space",
2867
- PROGRAM_SEASON = "program_season",
2868
- SEASON = "season"
2936
+ export declare enum AddonTimePeriodEnum {
2937
+ FULL = "full",
2938
+ SESSION = "session",
2939
+ EVENT = "event"
2869
2940
  }
2870
- export declare enum UpdatePricesTypeEnum {
2871
- INDIVIDUAL = "indvidual",
2872
- CATEGORY = "category",
2873
- GLOBAL = "global"
2941
+ export declare enum CurrencyEnum {
2942
+ USD = "USD"
2874
2943
  }
2875
- export declare enum BondDayOfWeekEnum {
2876
- MONDAY = 2,
2877
- TUESDAY = 3,
2878
- WEDNESDAY = 4,
2879
- THURSDAY = 5,
2880
- FRIDAY = 6,
2881
- SATURDAY = 7,
2882
- SUNDAY = 8
2944
+ export declare enum NotificationTypeEnum {
2945
+ BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2946
+ BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2947
+ BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2883
2948
  }
2884
- export declare enum ReservationMigrationStatusEnum {
2885
- NEW = "new",
2886
- NO = "no",
2887
- YES = "yes"
2949
+ export declare enum ProductTypesEnum {
2950
+ RESERVATION = "reservation",
2951
+ REGISTRATION = "registration",
2952
+ MEMBERSHIP = "membership",
2953
+ GOODS = "goods",
2954
+ PACKAGE = "package",
2955
+ REFUND_COMPENSATION = "refund",
2956
+ CASH_OVER_SHORT = "cash_over_short",
2957
+ PETTY_CASH = "petty_cash",
2958
+ LEAGUE_REGISTRATION = "league_registration",
2959
+ TAX = "tax"
2888
2960
  }
2889
- export declare enum ProductPackageLevelEnum {
2890
- HOUR = "hour",
2891
- SLOT = "slot",
2892
- RESERVATION = "reservation"
2961
+ export declare enum InvoiceStatusEnum {
2962
+ ACTIVE = "active",
2963
+ WAITING_ADMIN = "waitingAdmin",
2964
+ WAITING_CLIENT = "waitingClient",
2965
+ CANCELED = "canceled"
2893
2966
  }
2894
- export declare enum CancellationStatusEnum {
2895
- IMMEDIATE = "immediate",
2896
- AUTO_RENEWAL = "auto_renewal"
2967
+ export declare enum LineItemsStatusEnum {
2968
+ USER_PRODUCT = "UserProduct",
2969
+ RENTAL_PRODUCT = "RentalProduct"
2897
2970
  }
2898
- export declare enum SeasonScheduleStatusEnum {
2899
- DRAFT = 0,
2900
- PUBLISHED = 1
2971
+ export declare enum ProductSubTypesEnum {
2972
+ SEASON_INDIVIDUAL = "season_individual",
2973
+ SEASON_TEAM = "season_team",
2974
+ SEASON_PER_PLAYER = "season_per_player"
2901
2975
  }
2902
- export declare enum FinancialStepEnum {
2976
+ export declare enum PaymentMethodTypeEnum {
2977
+ CREDIT_CARD = "card",
2978
+ ACH = "ach",
2979
+ CASH = "cash",
2980
+ CHECK = "check",
2981
+ BALANCE = "balance",
2982
+ CARD_ON_TERMINAL = "card-on-terminal",
2983
+ OTHER = "other",
2984
+ MIGRATED = "migrated",
2903
2985
  VOID = "void",
2904
- REFUND = "refund",
2905
- NONE = "none",
2906
- REFUND_AND_VOID = "refund-and-void",
2907
- APPEND = "append"
2986
+ GIFT_CARD = "gift-card"
2987
+ }
2988
+ export declare enum RefundTypeEnum {
2989
+ LEAVE_BALANCE = "leave_balance",
2990
+ REDUCE_BALANCE = "reduce_balance"
2991
+ }
2992
+ export declare enum CustomerInMembershipTypeEnum {
2993
+ INDIVIDUAL = "individual",
2994
+ FAMILY = "family",
2995
+ ORGANIZATION = "organization"
2908
2996
  }
2909
- export declare enum StripeAccountTypesEnum {
2910
- STRIPE = "stripe",
2911
- STRIPE_CUSTOM = "stripe:account:custom",
2912
- STRIPE_CUSTOMER = "stripe:customer"
2997
+ export declare enum MembershipTypeEnum {
2998
+ FIXED = "fix_membership",
2999
+ ROLLING = "rolling_membership"
2913
3000
  }
2914
- export declare enum LinkedAccountStatus {
2915
- PENDING = 1,
2916
- ACTIVE = 2,
2917
- PRE_PENDING = 3
3001
+ export declare enum CustomerTypeEnum {
3002
+ USER = "user",
3003
+ FAMILY = "family",
3004
+ ORGANIZATION = "organization"
2918
3005
  }
2919
- export declare enum AddonParentTypeEnum {
2920
- RESERVATION = "reservation",
2921
- SLOT = "slot"
3006
+ export declare enum GroupStatusEnum {
3007
+ ACTIVE = 1,
3008
+ INACTIVE = 2,
3009
+ DRAFT = 3
2922
3010
  }
2923
- export declare enum EEmailStatus {
2924
- SENT = "sent",
2925
- OPENED = "opened",
2926
- PAID = "paid",
3011
+ export declare enum FutureInstallmentStatusEnum {
3012
+ FUTURE = "future",
3013
+ SUCCEEDED = "succeeded",
3014
+ FAILED = "failed",
2927
3015
  CANCELED = "canceled"
2928
3016
  }
2929
- export declare enum PaymentSettingStatusEnum {
2930
- ENABLED = 1,
2931
- DISABLED_REDIRECT = 2,
2932
- DISABLED_INFO_ONLY = 3,
2933
- DISABLED_EMAIL = 4
3017
+ export declare enum EntryStatusEnum {
3018
+ ENTERED = 1,
3019
+ NOT_ENTERED = 2,
3020
+ CANCELED = 3
2934
3021
  }
2935
- export declare enum NotifyMethodEnum {
2936
- EMAIL = "Email"
3022
+ export declare enum PurchasedResourceStatusEnum {
3023
+ ACTIVE = 1,
3024
+ MOVED = 2,
3025
+ CANCELED = 3
2937
3026
  }
2938
- export declare enum EComparisonFilter {
2939
- LessThan = "lt",
2940
- GreaterOrEqualTo = "gte"
3027
+ export declare enum TeamCanJoinEnum {
3028
+ ANYONE = "anyone",
3029
+ BY_INVITE = "byInvite",
3030
+ CAPTAIN_APPROVAL = "captainApproval"
2941
3031
  }
2942
- export interface IEntitlementTerms {
2943
- type: EntitlementTermsTypesEnum;
2944
- id?: number;
2945
- value?: string;
2946
- minValue?: string;
2947
- maxValue?: string;
3032
+ export declare enum TeamMemberStatusEnum {
3033
+ PENDING = 1,
3034
+ ACTIVE = 2,
3035
+ DECLINED = 3,
3036
+ SUSPENDED = 4,
3037
+ INACTIVE = 5,
3038
+ INVITED = 6
2948
3039
  }
2949
- export interface IQuestionAnswerObject {
2950
- questionId: number;
2951
- value: string;
3040
+ export declare enum TeamMemberRoleEnum {
3041
+ NULL = 0,
3042
+ ADMIN = 1
2952
3043
  }
2953
- export interface ILowestPriceForItem {
2954
- itemId: number;
2955
- itemType: ResourceNameTypeEnum;
2956
- groupId: number;
2957
- groupName?: string;
2958
- price: number;
2959
- overridesPrice: boolean;
3044
+ export declare enum DayOfWeekEnum {
3045
+ SUNDAY = 0,
3046
+ MONDAY = 1,
3047
+ TUESDAY = 2,
3048
+ WEDNESDAY = 3,
3049
+ THURSDAY = 4,
3050
+ FRIDAY = 5,
3051
+ SATURDAY = 6
2960
3052
  }
2961
- export interface IResourcesAvailability {
2962
- resourceType: ResourceNameTypeEnum;
2963
- quantity: number;
2964
- resourcesIds: number[];
2965
- isPunchCard: boolean;
2966
- resources?: any[];
3053
+ export declare enum ActionTypesEnum {
3054
+ CREATE = "create",
3055
+ READ = "read",
3056
+ UPDATE = "update",
3057
+ DELETE = "delete"
2967
3058
  }
2968
- export interface IPackageResponse {
2969
- parentProduct: Product;
2970
- children: IChildProduct[];
3059
+ export declare enum ActionSourcePlatformEnum {
3060
+ ADMIN = "admin",
3061
+ BACKOFFICE = "backoffice",
3062
+ CONSUMER = "consumer"
2971
3063
  }
2972
- export interface IChildProduct {
2973
- product: Product;
2974
- relationType: PackageProductsRelationTypeEnum;
2975
- timePeriod?: AddonTimePeriodEnum;
3064
+ export declare enum RolesEnum {
3065
+ ORG_ADMIN = "organizationAdmin",
3066
+ BOND_ADMIN = "bondAdmin"
2976
3067
  }
2977
- export interface ISeasonAttendeeInfo {
2978
- applicationAnswers: Answer[];
2979
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2980
- invoices: Invoice[];
2981
- payments: Payment[];
2982
- products: Product[];
2983
- redeemNext: ProductsUsers;
3068
+ export declare enum SeasonPoolStatusEnum {
3069
+ IN_POOL = 5,
3070
+ ASSIGNED = 1,
3071
+ QUIT = 2,
3072
+ SUSPENDED = 3,
3073
+ INACTIVE = 4
2984
3074
  }
2985
- export interface ISeasonAttendeeListInfo {
2986
- userId: number;
2987
- userFirstName: string;
2988
- userLastName: string;
2989
- userGender: number;
2990
- userBirthDate: Date;
2991
- userProfilePicUrl: string;
2992
- customerId: number;
2993
- customerEmail: string;
2994
- paymentStatus: string;
2995
- productName: string;
2996
- punchCard: boolean;
3075
+ export declare enum AmenitiesEnum {
3076
+ HEAT = 1,
3077
+ AC = 2,
3078
+ WIFI = 3,
3079
+ RESTROOMS = 4,
3080
+ DRINKING_FOUNTAIN = 5,
3081
+ PARKING = 6,
3082
+ CONCESSIONS = 7,
3083
+ SHELTER = 8,
3084
+ PORTABLE_RESTROOMS = 9,
3085
+ LIGHTS = 10,
3086
+ LOCKER_ROOM = 11,
3087
+ PAID_PARKING = 12,
3088
+ ACCESSIBLE = 13
2997
3089
  }
2998
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2999
- segmentType: ResourceNameTypeEnum;
3000
- participantRegisteredDate?: string;
3090
+ export declare enum ResourceSubTypeEnum {
3091
+ COURT = "court",
3092
+ FIELD = "field",
3093
+ ROOM = "room",
3094
+ DIAMOND = "diamond",
3095
+ RINK = "rink",
3096
+ STUDIO = "studio",
3097
+ POOL = "pool",
3098
+ BATTING_CAGE = "batting cage",
3099
+ SHELTER = "shelter",
3100
+ GOLF_SIMULATOR = "golf simulator"
3001
3101
  }
3002
- export declare class EventAsSeasonSegment extends Event {
3003
- segmentType: ResourceNameTypeEnum;
3004
- participantRegisteredDate?: string;
3102
+ export declare enum ResourceTypeEnum {
3103
+ SPACE = "space"
3005
3104
  }
3006
- export interface ITokenResonse {
3007
- token: string;
3105
+ export declare enum ResourceAgesEnum {
3106
+ ADULTS = "adults",
3107
+ CHILDREN = "children"
3008
3108
  }
3009
- export interface IStripeBondInvoices {
3010
- paidStripePaymentIntent: Stripe.PaymentIntent;
3011
- bondPaidPayment: Payment;
3012
- invoice?: Invoice;
3013
- customer?: Customer;
3109
+ export declare enum SpacePropertiesEnum {
3110
+ OUTDOOR = "outdoor",
3111
+ INDOOR = "indoor"
3014
3112
  }
3015
- export interface IPartialPaymentData {
3016
- purchasingUserId: number;
3017
- paymentData: PurchasePaymentDto;
3018
- amountToPay: number;
3113
+ export declare enum SurfacesEnum {
3114
+ GRASS = "grass",
3115
+ TURF = "turf",
3116
+ FIELD_TURF = "fieldTurf",
3117
+ ASTRO_TURF = "astroTurf",
3118
+ HARDWOOD = "hardwood",
3119
+ ASPHALT = "asphalt",
3120
+ SAND = "sand",
3121
+ ICE = "ice",
3122
+ SPORT_COURT = "sportCourt"
3019
3123
  }
3020
- export interface IPayment {
3021
- id: number;
3022
- total: number;
3023
- paymentMethod: PaymentMethodTypeEnum;
3024
- status: PaymentStatusEnum;
3025
- createdAt: Date;
3026
- invoices: number[];
3124
+ export declare enum RegistrationConstraintPeriodTypeEnum {
3125
+ MINUTES = "minutes",
3126
+ DAYS = "days"
3027
3127
  }
3028
- export interface IPaginationData<T> {
3029
- meta: {
3030
- totalItems: number;
3031
- itemsPerPage: number;
3032
- totalPages: number;
3033
- currentPage: number;
3034
- };
3035
- data: T[];
3128
+ export declare enum RegistrationWindowStatusEnum {
3129
+ NOT_OPEN_YET = "not_opened_yet",
3130
+ OPEN = "open",
3131
+ CLOSED = "closed"
3036
3132
  }
3037
- export interface IPricesOfProductsResults {
3038
- productId: number;
3039
- userId: number;
3040
- price: number;
3041
- groupId?: number;
3042
- groupName?: string;
3043
- originalPrice?: number;
3044
- priceWithoutTax: number;
3045
- tax: number;
3046
- isTaxInclusive: boolean;
3133
+ export declare enum RegistrationValidationStatusEnum {
3134
+ FULL = "full",
3135
+ ALREADY_REGISTERED = "registered",
3136
+ AVAILABLE = "available",
3137
+ NOT_OPEN_YET = "not opened",
3138
+ ALREADY_CLOSED = "closed",
3139
+ NO_PRODUCT_FOUND = "no-product-found"
3047
3140
  }
3048
- export interface IPaymentMethodToFundLeft {
3049
- paymentType: PaymentMethodTypeEnum;
3050
- paymentMethodId: string;
3051
- fundLeft: number;
3052
- ccLast4?: string;
3053
- ccBrand?: string;
3141
+ export declare enum DiscountMethodsEnum {
3142
+ PERCENT = "percent",
3143
+ AMOUNT = "amount"
3054
3144
  }
3055
- export interface IVariantsAndTitle {
3056
- title: VariantTitle;
3057
- variants: Variant[];
3145
+ export declare enum UserAuthorizationsTypeEnum {
3146
+ ORGANIZATION = "organization"
3058
3147
  }
3059
- export interface IProgramSeasonActivityTimes {
3060
- dayOfWeek: number;
3061
- open: string;
3062
- close: string;
3148
+ export declare enum OrganizationLocaleDateEnum {
3149
+ USA = "USA"
3063
3150
  }
3064
- export interface IProgramSeasonActivityTimesAsDates {
3065
- date: string;
3066
- startTime: string;
3067
- endTime: string;
3151
+ export declare enum DateTimeFormatsEnum {
3152
+ API_DATE = "YYYY/MM/DD",
3153
+ API_TIME = "HH:mm:ss",
3154
+ DB_DATE = "YYYY-MM-DD"
3068
3155
  }
3069
- export interface IBlockedDates {
3070
- name: string;
3071
- startDate: Date;
3072
- endDate: Date;
3156
+ export declare enum SlotTypeEnum {
3157
+ EXTERNAL = "external",
3158
+ INTERNAL = "internal",
3159
+ MAINTENANCE = "maintenance",
3160
+ CUSTOM = "custom"
3073
3161
  }
3074
- export interface ISingleMemberForRenewal {
3075
- member_id: number;
3076
- member_membershipId: number;
3077
- member_userId: number;
3078
- member_nextPaymentMethodId?: string;
3079
- member_nextPaymentType?: PaymentMethodTypeEnum;
3080
- member_answerTitleIds?: number[];
3081
- member_organizationId: number;
3082
- product_productPrice: number;
3083
- product_productId: number;
3084
- invoice_payingUserId: number;
3085
- invoice_paymentMethodId: string;
3086
- invoice_paymentType: PaymentMethodTypeEnum;
3087
- endDate: Date;
3088
- membership_name: string;
3089
- user_firstName: string;
3090
- user_lastName: string;
3091
- user_email: string;
3162
+ export declare enum PlatformsEnum {
3163
+ CONSUMER = "consumer",
3164
+ CONSUMER_CHECKOUT = "consumer_checkout",
3165
+ BO = "backoffice",
3166
+ MOBILE = "mobile",
3167
+ CRON = "cron"
3092
3168
  }
3093
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3094
- package_parentProductId: number;
3095
- product2_productPrice: number;
3096
- familyid: number;
3097
- invoice_id: number;
3169
+ export declare enum ShiftStatusEnum {
3170
+ OPEN = "open",
3171
+ CLOSED = "closed",
3172
+ MANAGMENT_CLOSED = "closed_by_manager",
3173
+ RECONCILED = "reconciled"
3098
3174
  }
3099
- export interface IResourceRegistrationData {
3100
- id: number;
3101
- resourceType: ResourceNameTypeEnum;
3102
- openNumDays?: number;
3103
- openNumMinutes?: number;
3104
- openTime?: string;
3105
- closeNumDays?: number;
3106
- closeNumMinutes?: number;
3107
- closeTime?: string;
3108
- registrationWindowStatus?: RegistrationWindowStatusEnum;
3175
+ export declare enum EventStatusEnum {
3176
+ OPEN = 1,
3177
+ DRAFT = 2,
3178
+ FULL = 3,
3179
+ CANCELLED = 4,
3180
+ CLOSED = 5,
3181
+ DELETED = 6
3109
3182
  }
3110
- export interface IResourceDataForConstraintsCalc {
3111
- id: number;
3112
- startDate: string;
3113
- startTime: string;
3183
+ export declare enum ReservationTypeEnum {
3184
+ RENTAL = "rental",
3185
+ PROGRAM = "program",
3186
+ MAINTENANCE = "maintenance",
3187
+ CUSTOM = "custom",
3188
+ INTERNAL = "internal"
3114
3189
  }
3115
- export interface IRegistrationConstraintsSetting {
3116
- numDays?: number;
3117
- numMinutes?: number;
3190
+ export declare enum SlotDurationTypeEnum {
3191
+ DATES = "dates",
3192
+ ALL_DAY = "all day",
3193
+ DURATION = "duration"
3118
3194
  }
3119
- export interface IAttendeeDataToNotify {
3120
- firstName: string;
3121
- lastName: string;
3122
- email: string;
3123
- sessionName: string;
3124
- parentSessionName?: string;
3125
- organizationName: string;
3126
- programName: string;
3195
+ export declare enum DurationUnitTypesEnum {
3196
+ MINUTES = "minutes",
3197
+ HOURS = "hours"
3127
3198
  }
3128
- export interface IEventInSchedule {
3129
- eventId: number;
3130
- eventName: string;
3131
- eventStartDate: string;
3132
- eventEndDate: string;
3133
- eventStartTime: string;
3134
- eventEndTime: string;
3135
- programId: number;
3136
- programName: string;
3137
- programType: ProgramTypesEnum;
3138
- sessionId: number;
3139
- sessionName: string;
3140
- sports: number;
3141
- spaces: {
3142
- spaceId: number;
3143
- spaceName: string;
3144
- }[];
3145
- status?: RegistrationValidationStatusEnum;
3199
+ export declare enum FrequencyEnum {
3200
+ NONE = "none",
3201
+ WEEKLY = "weekly",
3202
+ DAILY = "daily",
3203
+ MONTHLY = "monthly",
3204
+ YEARLY = "yearly"
3146
3205
  }
3147
- export interface ISlotInSchedule {
3148
- facilityId: number;
3149
- facilityName: string;
3150
- spaces: ISpaceWithSlots[];
3206
+ export declare enum MaintenanceTimingEnum {
3207
+ BEFORE = 1,
3208
+ AFTER = 2,
3209
+ AT_THE_BEGINING = 3,
3210
+ AT_THE_END = 4
3151
3211
  }
3152
- export interface ISpaceWithSlots {
3153
- id: number;
3154
- name: string;
3155
- slots: ISlotReservationData[];
3212
+ export declare enum CreatorTypeEnum {
3213
+ SPACE = "space",
3214
+ PROGRAM_SEASON = "program_season",
3215
+ SEASON = "season"
3156
3216
  }
3157
- export interface ISlotReservationData {
3158
- reservationId: number;
3159
- reservationName: string;
3160
- date: string;
3161
- startTime: string;
3162
- endTime: string;
3163
- notes: string;
3164
- spaceId: number;
3165
- isRental: boolean;
3166
- slotType: SlotTypeEnum;
3167
- slotId: number;
3168
- eventId: number;
3169
- isPrivate: boolean;
3217
+ export declare enum UpdatePricesTypeEnum {
3218
+ INDIVIDUAL = "indvidual",
3219
+ CATEGORY = "category",
3220
+ GLOBAL = "global"
3170
3221
  }
3171
- export interface IRawEventInSchedule extends IEventInSchedule {
3172
- parentSessionId: number;
3173
- parentSessionName: string;
3174
- eventTimezone: string;
3175
- maxParticipants: number;
3176
- maxMaleParticipants: number;
3177
- maxFemaleParticipants: number;
3178
- isPunchCard: boolean;
3222
+ export declare enum BondDayOfWeekEnum {
3223
+ MONDAY = 2,
3224
+ TUESDAY = 3,
3225
+ WEDNESDAY = 4,
3226
+ THURSDAY = 5,
3227
+ FRIDAY = 6,
3228
+ SATURDAY = 7,
3229
+ SUNDAY = 8
3179
3230
  }
3180
- export interface IBasicSpaceAndSlotCreator {
3181
- id: number;
3182
- name: string;
3183
- bookingCreatorId: number;
3231
+ export declare enum ReservationMigrationStatusEnum {
3232
+ NEW = "new",
3233
+ NO = "no",
3234
+ YES = "yes"
3184
3235
  }
3185
- export interface IRawSlotInSchedule {
3186
- startDate: string;
3187
- endDate: string;
3188
- startTime: string;
3189
- endTime: string;
3190
- reservationId: number;
3191
- eventTitle: string;
3192
- publicNotes: string;
3193
- spaceId: number;
3194
- creatorType: ResourceNameTypeEnum;
3195
- slotType: SlotTypeEnum;
3196
- slotId: number;
3197
- eventId: number;
3198
- isPrivate: boolean;
3236
+ export declare enum ProductPackageLevelEnum {
3237
+ HOUR = "hour",
3238
+ SLOT = "slot",
3239
+ RESERVATION = "reservation"
3199
3240
  }
3200
- export interface IPurchasedResourcesRaw {
3201
- purchasedId: number;
3202
- purchasedProductUserId: number;
3203
- purchasedResourceId: number;
3204
- purchasedResourceType: ResourceNameTypeEnum;
3205
- purchasedStatus: PurchasedResourceStatusEnum;
3206
- pUserId: number;
3207
- pUserPaymentStatus: PaymentStatusEnum;
3208
- pUserProductId: number;
3209
- pUserProductName: string;
3210
- pUserProductPrice: number;
3211
- pUserProductPriceCurrency: string;
3212
- pUserProductQuantity: number;
3213
- pUserProductQuantityLeft: number;
3214
- pUserUserId: number;
3241
+ export declare enum CancellationStatusEnum {
3242
+ IMMEDIATE = "immediate",
3243
+ AUTO_RENEWAL = "auto_renewal"
3215
3244
  }
3216
- export interface IUsersPasses {
3217
- userId: number;
3218
- userFirstName: string;
3219
- userLastName: string;
3220
- organizationId: number;
3221
- programId: number;
3222
- programName: string;
3223
- sessionId: number;
3224
- sessionName: string;
3225
- productId: number;
3226
- productName: string;
3227
- productUserId: number;
3228
- purchaseDate: Date;
3229
- passesLeft: number;
3245
+ export declare enum SeasonScheduleStatusEnum {
3246
+ DRAFT = 0,
3247
+ PUBLISHED = 1
3230
3248
  }
3231
- export interface ISessionsLandingPage {
3232
- sessionId: number;
3233
- name: string;
3234
- startDate: Date;
3235
- endDate: Date;
3236
- registrationStartDate: Date;
3237
- registrationEndDate: Date;
3238
- sport: SportsEnum;
3239
- minAge: string;
3240
- maxAge: string;
3241
- maxParticipants?: number;
3242
- gender: GenderEnum;
3243
- activityTimes: ActivityTimes[];
3244
- earlyRegistrationStartDate?: Date;
3245
- earlyRegistrationEndDate?: Date;
3246
- lateRegistrationStartDate?: Date;
3247
- lateRegistrationEndDate?: Date;
3248
- attendeeCount?: number;
3249
- segmentsOrEvents: 'segment' | 'event';
3249
+ export declare enum FinancialStepEnum {
3250
+ VOID = "void",
3251
+ REFUND = "refund",
3252
+ NONE = "none",
3253
+ REFUND_AND_VOID = "refund-and-void",
3254
+ APPEND = "append"
3250
3255
  }
3251
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3252
- hasRequiredMembership: boolean;
3253
- hasEntitledPricing: boolean;
3254
- lowestPrice?: number;
3255
- products?: ISessionLandingPageProduct[];
3256
+ export declare enum StripeAccountTypesEnum {
3257
+ STRIPE = "stripe",
3258
+ STRIPE_CUSTOM = "stripe:account:custom",
3259
+ STRIPE_CUSTOMER = "stripe:customer"
3256
3260
  }
3257
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3258
- hasRequiredMembership: boolean;
3259
- hasEntitledPricing: boolean;
3260
- products?: ISessionLandingPageProduct[];
3261
- segments?: Event[] | ProgramSeason[];
3262
- programName: string;
3263
- programId: number;
3264
- levelOfPlay: LevelOfPlayEnum[];
3265
- registrationConstraints: IResourceRegistrationData[];
3261
+ export declare enum LinkedAccountStatus {
3262
+ PENDING = 1,
3263
+ ACTIVE = 2,
3264
+ PRE_PENDING = 3
3266
3265
  }
3267
- export interface ISlimAddons {
3268
- addons?: {
3269
- id: number;
3270
- timePeriod: AddonTimePeriodEnum;
3271
- name: string;
3272
- productType?: ProductTypesEnum;
3273
- productSubType?: string;
3274
- }[];
3266
+ export declare enum AddonParentTypeEnum {
3267
+ RESERVATION = "reservation",
3268
+ SLOT = "slot"
3275
3269
  }
3276
- export interface ISessionLandingPageProduct extends ISlimAddons {
3277
- id: number;
3278
- name: string;
3279
- startDate?: Date;
3280
- endDate?: Date;
3281
- downpayment?: number;
3282
- description?: string;
3283
- prices: Price[];
3284
- productSubType?: ProductSubTypesEnum;
3285
- punchCard: boolean;
3286
- isAddon: boolean;
3287
- defaultPriceId?: number;
3270
+ export declare enum EEmailStatus {
3271
+ SENT = "sent",
3272
+ OPENED = "opened",
3273
+ PAID = "paid",
3274
+ CANCELED = "canceled"
3288
3275
  }
3289
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3290
- destinationId?: string;
3291
- stripeCustomerId?: string;
3292
- fee?: number;
3276
+ export declare enum PaymentSettingStatusEnum {
3277
+ ENABLED = 1,
3278
+ DISABLED_REDIRECT = 2,
3279
+ DISABLED_INFO_ONLY = 3,
3280
+ DISABLED_EMAIL = 4
3293
3281
  }
3294
- export interface IReservationCreatorData {
3295
- type: ResourceNameTypeEnum;
3296
- id: number;
3297
- organizationId: number;
3298
- startDate: string;
3299
- endDate: string;
3300
- sportId: number;
3282
+ export declare enum NotifyMethodEnum {
3283
+ EMAIL = "Email"
3284
+ }
3285
+ export declare enum EComparisonFilter {
3286
+ LessThan = "lt",
3287
+ GreaterOrEqualTo = "gte"
3288
+ }
3289
+ export declare class Athlete extends BondBaseEntity {
3290
+ userId: number | null;
3291
+ metadata: object | null;
3292
+ athleteSports: AthleteSports[];
3293
+ }
3294
+ export declare class UserInFamilyAccount extends BondBaseEntity {
3295
+ familyAccountId: number;
3296
+ userId: number;
3297
+ isAdmin: boolean;
3298
+ user: User;
3299
+ familyAccount: FamilyAccount;
3300
+ deletedAt?: Date;
3301
3301
  }
3302
3302
  export declare class ColumnNumericTransformer {
3303
3303
  to(data: number): number;
@@ -3354,13 +3354,6 @@ export declare class ImportedPaymentDto {
3354
3354
  date: string;
3355
3355
  time: string;
3356
3356
  }
3357
- export declare class PunchPassDto {
3358
- CustomerID: string;
3359
- QuantityLeft: number;
3360
- BondProgramID: number;
3361
- BondSessionID: number;
3362
- ProductID: number;
3363
- }
3364
3357
  export declare class ProductIdsDto {
3365
3358
  productIds?: number[];
3366
3359
  }
@@ -3370,6 +3363,13 @@ export declare class ProductImportDto {
3370
3363
  resourceIds: number[];
3371
3364
  oldId: number;
3372
3365
  }
3366
+ export declare class PunchPassDto {
3367
+ CustomerID: string;
3368
+ QuantityLeft: number;
3369
+ BondProgramID: number;
3370
+ BondSessionID: number;
3371
+ ProductID: number;
3372
+ }
3373
3373
  export declare class ImportedSlotProductDto {
3374
3374
  slotID?: string;
3375
3375
  name?: string;
@@ -3446,6 +3446,12 @@ export declare class RoundEvents extends BaseEntity {
3446
3446
  createdAt: Date;
3447
3447
  updatedAt: Date;
3448
3448
  }
3449
+ export declare class SeasonRounds extends BondBaseEntity {
3450
+ seasonId: number;
3451
+ ordinal?: number;
3452
+ divisionId?: number;
3453
+ name: string;
3454
+ }
3449
3455
  export declare class TeamEvents extends BondBaseEntity {
3450
3456
  teamId: number | null;
3451
3457
  eventId: number | null;
@@ -3455,12 +3461,6 @@ export declare class Lock extends BondBaseEntity {
3455
3461
  name: string;
3456
3462
  locked?: Date;
3457
3463
  }
3458
- export declare class SeasonRounds extends BondBaseEntity {
3459
- seasonId: number;
3460
- ordinal?: number;
3461
- divisionId?: number;
3462
- name: string;
3463
- }
3464
3464
  export interface ValidatedMonthAndDay {
3465
3465
  valid: boolean;
3466
3466
  month?: number;
@@ -3470,18 +3470,6 @@ export interface ValidationReason {
3470
3470
  valid: boolean;
3471
3471
  reason?: string;
3472
3472
  }
3473
- export interface PaymentStatus {
3474
- parentId: number;
3475
- paymentStatus: ReservationPaymentStatusEnum;
3476
- approvalStatus?: ReservationStatusEnum;
3477
- id?: number;
3478
- }
3479
- export interface PaymentStatusesDict {
3480
- [id: number]: PaymentStatus[];
3481
- }
3482
- export interface PaymentStatusDict {
3483
- [id: number]: ReservationPaymentStatusEnum;
3484
- }
3485
3473
  export declare class CreateMonitorConfigDto {
3486
3474
  facilityId: number;
3487
3475
  name: string;
@@ -3493,113 +3481,12 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3493
3481
  code: string;
3494
3482
  config?: any;
3495
3483
  }
3496
- export declare class ByOrganizationIdDto {
3484
+ export declare class NotifyTracker extends BondBaseEntity {
3485
+ userId: number;
3497
3486
  organizationId: number;
3498
- }
3499
- export declare class OptionalFindByOrganizationIdDto {
3500
- organizationId?: number;
3501
- }
3502
- export declare class FindUnallocatedEventsIdsFiltersDto {
3503
- programsIds?: string;
3504
- sessionsIds?: string;
3505
- segmentsIds?: string;
3506
- startDate?: string;
3507
- endDate?: string;
3508
- months?: string;
3509
- dow?: string;
3510
- }
3511
- export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3512
- programsIds?: string;
3513
- sessionsIds?: string;
3514
- segmentsIds?: string;
3515
- startDate?: string;
3516
- endDate?: string;
3517
- months?: string;
3518
- dow?: string;
3519
- }
3520
- export declare class Organization extends BondBaseEntity {
3521
- name: string | null;
3522
- email: string | null;
3523
- twitter: string | null;
3524
- facebook: string | null;
3525
- instagram: string | null;
3526
- website: string | null;
3527
- blog: string | null;
3528
- phoneNumber: string | null;
3529
- waiverDoc: string | null;
3530
- about: string | null;
3531
- tagline: string | null;
3532
- status: number | null;
3533
- addressId: number | null;
3534
- merchantId: number | null;
3535
- userCreatorId: number | null;
3536
- parentId: number | null;
3537
- paymentSettings: object | null;
3538
- settings: object | null;
3539
- isClaimed: boolean | null;
3540
- sports: number[] | null;
3541
- mainMediaId: number | null;
3542
- deletedAt: Date | null;
3543
- organizationActivityTypes: number[] | null;
3544
- organizationTypes: number[] | null;
3545
- organizationAudienceTypes: number[] | null;
3546
- organizationGenders: number[] | null;
3547
- questionnaireId: number | null;
3548
- membershipQuestionnaireId: number | null;
3549
- feeRate: number;
3550
- feeAddDollarRate: number;
3551
- achFeeRate: number;
3552
- achFeeAddDollarRate: number;
3553
- maxAchFee: number;
3554
- cashFeeRate: number;
3555
- cashFeeAddDollarRate: number;
3556
- terminalFeeRate: number;
3557
- terminalFeeAddDollarRate: number;
3558
- checkFeeRate: number;
3559
- checkFeeAddDollarRate: number;
3560
- otherFeeRate: number;
3561
- otherFeeAddDollarRate: number;
3562
- balanceFeeRate: number;
3563
- balanceFeeAddDollarRate: number;
3564
- address: Address;
3565
- mainMedia: Media;
3566
- brandings: OrganizationBranding[];
3567
- brandingsV2?: OrganizationBranding[];
3568
- }
3569
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3570
- mainAdminUserId?: number;
3571
- }
3572
- export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3573
- key?: string;
3574
- vaule?: string;
3575
- version: number;
3576
- organization: Organization;
3577
- }
3578
- export declare class OrganizationUsers extends BondBaseEntity {
3579
- organisationId: number | null;
3580
- userId: number | null;
3581
- }
3582
- export declare class RefundDto {
3583
- invoiceId: number;
3584
- lineItems: RefundLineItemAmountDto[];
3585
- refundLineItemAmountDict?: {
3586
- [id: number]: number;
3587
- };
3588
- refunds: PaymentMethodDto[];
3589
- refundType: RefundTypeEnum;
3590
- reasonId: number;
3591
- note?: string;
3592
- shiftId?: number;
3593
- meta?: RevertMetaDto;
3594
- }
3595
- export declare class PaymentMethodDto {
3596
- paymentMethodType: PaymentMethodTypeEnum;
3597
- amount: number;
3598
- paymentMethodId?: string;
3599
- }
3600
- export declare class RefundLineItemAmountDto {
3601
- id: number;
3602
- refundAmount: number;
3487
+ notifyMetadata?: any;
3488
+ notfiyMethodtype: NotifyMethodEnum;
3489
+ destination: string;
3603
3490
  }
3604
3491
  export declare class CustomerIdDto {
3605
3492
  customerId: number;
@@ -3723,6 +3610,28 @@ export declare class SendRequestDto {
3723
3610
  sendToEmail: string;
3724
3611
  memo?: string;
3725
3612
  }
3613
+ export declare class RefundDto {
3614
+ invoiceId: number;
3615
+ lineItems: RefundLineItemAmountDto[];
3616
+ refundLineItemAmountDict?: {
3617
+ [id: number]: number;
3618
+ };
3619
+ refunds: PaymentMethodDto[];
3620
+ refundType: RefundTypeEnum;
3621
+ reasonId: number;
3622
+ note?: string;
3623
+ shiftId?: number;
3624
+ meta?: RevertMetaDto;
3625
+ }
3626
+ export declare class PaymentMethodDto {
3627
+ paymentMethodType: PaymentMethodTypeEnum;
3628
+ amount: number;
3629
+ paymentMethodId?: string;
3630
+ }
3631
+ export declare class RefundLineItemAmountDto {
3632
+ id: number;
3633
+ refundAmount: number;
3634
+ }
3726
3635
  export declare class VoidDto {
3727
3636
  lineItems: VoidLineItemDto[];
3728
3637
  meta?: RevertMetaDto;
@@ -3758,6 +3667,18 @@ export interface ExtendedLineItems {
3758
3667
  products: LineItems[];
3759
3668
  events: LineItems[];
3760
3669
  }
3670
+ export interface PaymentStatus {
3671
+ parentId: number;
3672
+ paymentStatus: ReservationPaymentStatusEnum;
3673
+ approvalStatus?: ReservationStatusEnum;
3674
+ id?: number;
3675
+ }
3676
+ export interface PaymentStatusesDict {
3677
+ [id: number]: PaymentStatus[];
3678
+ }
3679
+ export interface PaymentStatusDict {
3680
+ [id: number]: ReservationPaymentStatusEnum;
3681
+ }
3761
3682
  export interface RefundResult extends PaymentsResults {
3762
3683
  successfulLineItems: RefundLineItemAmountDto[];
3763
3684
  failedLineItems: RefundLineItemAmountDto[];
@@ -3768,6 +3689,92 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3768
3689
  failedLineItems: Map<number, RefundLineItemAmountDto>;
3769
3690
  totalAmountProcessed: number;
3770
3691
  }
3692
+ export declare class ByOrganizationIdDto {
3693
+ organizationId: number;
3694
+ }
3695
+ export declare class OptionalFindByOrganizationIdDto {
3696
+ organizationId?: number;
3697
+ }
3698
+ export declare class FindUnallocatedEventsIdsFiltersDto {
3699
+ programsIds?: string;
3700
+ sessionsIds?: string;
3701
+ segmentsIds?: string;
3702
+ startDate?: string;
3703
+ endDate?: string;
3704
+ months?: string;
3705
+ dow?: string;
3706
+ }
3707
+ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3708
+ programsIds?: string;
3709
+ sessionsIds?: string;
3710
+ segmentsIds?: string;
3711
+ startDate?: string;
3712
+ endDate?: string;
3713
+ months?: string;
3714
+ dow?: string;
3715
+ }
3716
+ export declare class Organization extends BondBaseEntity {
3717
+ name: string | null;
3718
+ email: string | null;
3719
+ twitter: string | null;
3720
+ facebook: string | null;
3721
+ instagram: string | null;
3722
+ website: string | null;
3723
+ blog: string | null;
3724
+ phoneNumber: string | null;
3725
+ waiverDoc: string | null;
3726
+ about: string | null;
3727
+ tagline: string | null;
3728
+ status: number | null;
3729
+ addressId: number | null;
3730
+ merchantId: number | null;
3731
+ userCreatorId: number | null;
3732
+ parentId: number | null;
3733
+ paymentSettings: object | null;
3734
+ settings: object | null;
3735
+ isClaimed: boolean | null;
3736
+ sports: number[] | null;
3737
+ mainMediaId: number | null;
3738
+ deletedAt: Date | null;
3739
+ organizationActivityTypes: number[] | null;
3740
+ organizationTypes: number[] | null;
3741
+ organizationAudienceTypes: number[] | null;
3742
+ organizationGenders: number[] | null;
3743
+ questionnaireId: number | null;
3744
+ membershipQuestionnaireId: number | null;
3745
+ feeRate: number;
3746
+ feeAddDollarRate: number;
3747
+ achFeeRate: number;
3748
+ achFeeAddDollarRate: number;
3749
+ maxAchFee: number;
3750
+ cashFeeRate: number;
3751
+ cashFeeAddDollarRate: number;
3752
+ terminalFeeRate: number;
3753
+ terminalFeeAddDollarRate: number;
3754
+ checkFeeRate: number;
3755
+ checkFeeAddDollarRate: number;
3756
+ otherFeeRate: number;
3757
+ otherFeeAddDollarRate: number;
3758
+ balanceFeeRate: number;
3759
+ balanceFeeAddDollarRate: number;
3760
+ address: Address;
3761
+ mainMedia: Media;
3762
+ brandings: OrganizationBranding[];
3763
+ brandingsV2?: OrganizationBranding[];
3764
+ }
3765
+ export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3766
+ key?: string;
3767
+ vaule?: string;
3768
+ version: number;
3769
+ organization: Organization;
3770
+ }
3771
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3772
+ mainAdminUserId?: number;
3773
+ }
3774
+ export declare class OrganizationUsers extends BondBaseEntity {
3775
+ organisationId: number | null;
3776
+ userId: number | null;
3777
+ }
3771
3778
  export interface UnallocatedEventsFilters {
3772
3779
  programsIds?: number[];
3773
3780
  sessionsIds?: number[];
@@ -3794,23 +3801,16 @@ export interface IUnallocatedEventRes {
3794
3801
  export interface IUnallocatedEventsIdsRes {
3795
3802
  data: IUnallocatedEventRes[];
3796
3803
  }
3797
- export declare class NotifyTracker extends BondBaseEntity {
3798
- userId: number;
3799
- organizationId: number;
3800
- notifyMetadata?: any;
3801
- notfiyMethodtype: NotifyMethodEnum;
3802
- destination: string;
3803
- }
3804
- export declare class Permission extends BondBaseEntity {
3805
- name: string;
3806
- deletedAt?: Date;
3807
- }
3808
3804
  export declare class Role extends OrganizationConnectionBaseEntity {
3809
3805
  name: string;
3810
3806
  deletedAt?: Date;
3811
3807
  permissions: Permission[];
3812
3808
  usersRoles: UserRole[];
3813
3809
  }
3810
+ export declare class Permission extends BondBaseEntity {
3811
+ name: string;
3812
+ deletedAt?: Date;
3813
+ }
3814
3814
  export declare class UserRole extends OrganizationConnectionBaseEntity {
3815
3815
  deletedAt?: Date;
3816
3816
  userId: number;
@@ -3845,6 +3845,32 @@ export declare class EditAddonDto {
3845
3845
  totalPrice: number;
3846
3846
  unitPrice?: number;
3847
3847
  }
3848
+ export declare class LineItemDto {
3849
+ id?: number;
3850
+ invoiceId?: number;
3851
+ type: LineItemsStatusEnum;
3852
+ organizationId: number;
3853
+ userId?: number;
3854
+ productId: number;
3855
+ product?: Product;
3856
+ productType: ProductTypesEnum;
3857
+ ordinal?: number;
3858
+ price: number;
3859
+ originalPrice?: number;
3860
+ paidAmount?: number;
3861
+ currency: CurrencyEnum;
3862
+ paymentStatus?: PaymentStatusEnum;
3863
+ isRefunded?: boolean;
3864
+ isTaxInclusive?: boolean;
3865
+ taxPrecent?: number;
3866
+ unitPrice?: number;
3867
+ quantity: number;
3868
+ resources?: PurchasedResourceDto[];
3869
+ relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
3870
+ unitPriceWithTax?: number;
3871
+ unitTaxPrice?: number;
3872
+ parentOrdinal?: number;
3873
+ }
3848
3874
  export declare class InvoiceDto {
3849
3875
  invoiceId?: string | null;
3850
3876
  organizationId: number;
@@ -3886,32 +3912,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3886
3912
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3887
3913
  segments: SegmentDto[];
3888
3914
  }
3889
- export declare class LineItemDto {
3890
- id?: number;
3891
- invoiceId?: number;
3892
- type: LineItemsStatusEnum;
3893
- organizationId: number;
3894
- userId?: number;
3895
- productId: number;
3896
- product?: Product;
3897
- productType: ProductTypesEnum;
3898
- ordinal?: number;
3899
- price: number;
3900
- originalPrice?: number;
3901
- paidAmount?: number;
3902
- currency: CurrencyEnum;
3903
- paymentStatus?: PaymentStatusEnum;
3904
- isRefunded?: boolean;
3905
- isTaxInclusive?: boolean;
3906
- taxPrecent?: number;
3907
- unitPrice?: number;
3908
- quantity: number;
3909
- resources?: PurchasedResourceDto[];
3910
- relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
3911
- unitPriceWithTax?: number;
3912
- unitTaxPrice?: number;
3913
- parentOrdinal?: number;
3914
- }
3915
3915
  export declare class MaintenanceDto {
3916
3916
  id?: number;
3917
3917
  title: string;
@@ -3927,34 +3927,6 @@ export declare class PurchasedResourceDto {
3927
3927
  endDate?: string;
3928
3928
  endTime?: string;
3929
3929
  }
3930
- export declare class SegmentDto {
3931
- id?: number;
3932
- title: string;
3933
- isPrivate: boolean;
3934
- resourceIds: number[];
3935
- sportId?: number;
3936
- series: SeriesDto[];
3937
- addonIds?: number[];
3938
- publicNotesForSlots?: string;
3939
- privateNotesForSlots?: string;
3940
- }
3941
- export declare class SeriesDto {
3942
- id?: number;
3943
- startDate: string;
3944
- startTime?: string;
3945
- endDate?: string;
3946
- endTime?: string;
3947
- slotDurationType: SlotDurationTypeEnum;
3948
- durationEndsAfter?: number;
3949
- durationUnit?: DurationUnitTypesEnum;
3950
- frequency: FrequencyEnum;
3951
- repeatEvery?: number;
3952
- repeatOn?: number[];
3953
- repeatEndDate?: string;
3954
- numberOccurrences?: number;
3955
- maintenance?: MaintenanceDto[];
3956
- slots?: SlotDto[];
3957
- }
3958
3930
  export declare class ReservationDto {
3959
3931
  id?: number;
3960
3932
  organizationId?: number;
@@ -4107,6 +4079,34 @@ export declare class UpdateReservationInvoiceDto {
4107
4079
  updateAddons?: boolean;
4108
4080
  updateMaintenance?: boolean;
4109
4081
  }
4082
+ export declare class SegmentDto {
4083
+ id?: number;
4084
+ title: string;
4085
+ isPrivate: boolean;
4086
+ resourceIds: number[];
4087
+ sportId?: number;
4088
+ series: SeriesDto[];
4089
+ addonIds?: number[];
4090
+ publicNotesForSlots?: string;
4091
+ privateNotesForSlots?: string;
4092
+ }
4093
+ export declare class SeriesDto {
4094
+ id?: number;
4095
+ startDate: string;
4096
+ startTime?: string;
4097
+ endDate?: string;
4098
+ endTime?: string;
4099
+ slotDurationType: SlotDurationTypeEnum;
4100
+ durationEndsAfter?: number;
4101
+ durationUnit?: DurationUnitTypesEnum;
4102
+ frequency: FrequencyEnum;
4103
+ repeatEvery?: number;
4104
+ repeatOn?: number[];
4105
+ repeatEndDate?: string;
4106
+ numberOccurrences?: number;
4107
+ maintenance?: MaintenanceDto[];
4108
+ slots?: SlotDto[];
4109
+ }
4110
4110
  export declare class SlotDateTimeAndSpace {
4111
4111
  startDate: string;
4112
4112
  startTime?: string;
@@ -4240,20 +4240,6 @@ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4240
4240
  invoiceId: number;
4241
4241
  slotId: number;
4242
4242
  }
4243
- export declare class Segment extends OrganizationConnectionBaseEntity {
4244
- deletedAt?: Date;
4245
- reservationId: number;
4246
- title: string;
4247
- isPrivate: boolean;
4248
- resourceIds?: number[];
4249
- sportId: number;
4250
- reservation?: Reservation;
4251
- series?: Series[];
4252
- addonIds?: number[] | null;
4253
- publicNotesForSlots?: string;
4254
- privateNotesForSlots?: string;
4255
- slots?: Slot[];
4256
- }
4257
4243
  export declare class Reservation extends OrganizationConnectionBaseEntity {
4258
4244
  name?: string;
4259
4245
  description?: string;
@@ -4287,6 +4273,20 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4287
4273
  targetGlobalPrice?: number;
4288
4274
  slots: Slot[];
4289
4275
  }
4276
+ export declare class Segment extends OrganizationConnectionBaseEntity {
4277
+ deletedAt?: Date;
4278
+ reservationId: number;
4279
+ title: string;
4280
+ isPrivate: boolean;
4281
+ resourceIds?: number[];
4282
+ sportId: number;
4283
+ reservation?: Reservation;
4284
+ series?: Series[];
4285
+ addonIds?: number[] | null;
4286
+ publicNotesForSlots?: string;
4287
+ privateNotesForSlots?: string;
4288
+ slots?: Slot[];
4289
+ }
4290
4290
  export declare class Series extends OrganizationConnectionBaseEntity {
4291
4291
  deletedAt?: Date;
4292
4292
  segmentId: number;
@@ -4614,6 +4614,9 @@ export interface AddonMetadata {
4614
4614
  export declare class CloseShiftDto {
4615
4615
  closingCashAmount: number;
4616
4616
  }
4617
+ export declare class FindShiftsByIdsDto {
4618
+ shiftIds: number[];
4619
+ }
4617
4620
  export declare class FindShiftsFiltersDto {
4618
4621
  statuses?: string;
4619
4622
  stationIds?: string;
@@ -4641,9 +4644,6 @@ export declare class ShiftManagementClosingAmount {
4641
4644
  export declare class ManagementClosingOfShiftsDto {
4642
4645
  managementClosingData: ShiftManagementClosingAmount[];
4643
4646
  }
4644
- export declare class FindShiftsByIdsDto {
4645
- shiftIds: number[];
4646
- }
4647
4647
  export declare class OpenShiftDto {
4648
4648
  openingCashAmount: number;
4649
4649
  stationId: number;