@bondsports/types 0.0.129 → 0.0.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -20,11 +20,19 @@ export declare class UserAnswersDto {
20
20
  export declare class GetByQuestionnaireIdsDto {
21
21
  questionnaireIds: string;
22
22
  }
23
+ export declare class FindBookingTypeSettingDto {
24
+ organizationId: number;
25
+ facilityId: number;
26
+ spaceId: number;
27
+ bookingDate: string;
28
+ bookingTime: string;
29
+ }
23
30
  export declare enum EConfigurationKeys {
24
31
  MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
25
32
  }
26
33
  export declare enum EFailedPaymentReasons {
27
- CARD_BLOCKED = "card_blocked_by_bond"
34
+ CARD_BLOCKED = "card_blocked_by_bond",
35
+ UNKNOWN = "unknown"
28
36
  }
29
37
  export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
30
38
  membershipId: number;
@@ -87,13 +95,6 @@ export declare class AddEditCustomerDto {
87
95
  emergencyContactName?: string;
88
96
  emergencyContactPhone?: string;
89
97
  }
90
- export declare class FindBookingTypeSettingDto {
91
- organizationId: number;
92
- facilityId: number;
93
- spaceId: number;
94
- bookingDate: string;
95
- bookingTime: string;
96
- }
97
98
  export declare class FindEventByIdDto {
98
99
  eventId: number;
99
100
  organizationId: number;
@@ -194,6 +195,49 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
194
195
  isWaiverSigned?: string;
195
196
  statuses?: string;
196
197
  }
198
+ export declare class AddressDto {
199
+ city: string;
200
+ state: string;
201
+ country: string;
202
+ geo: number[];
203
+ }
204
+ export declare class OpeningTimeDto {
205
+ open: string;
206
+ close: string;
207
+ dayOfWeek: number;
208
+ }
209
+ export declare class CreateFacilityDto {
210
+ name: string;
211
+ sports: number[];
212
+ description?: string;
213
+ longDescription?: string;
214
+ info?: string;
215
+ address: AddressDto;
216
+ timezone: string;
217
+ amenities: number[];
218
+ openingTimes: OpeningTimeDto[];
219
+ resourcesIds?: number[];
220
+ }
221
+ export declare class UpdateFacilityDetailsDto {
222
+ name?: string;
223
+ description?: string;
224
+ longDescription?: string;
225
+ info?: string;
226
+ address?: AddressDto;
227
+ timezone?: string;
228
+ }
229
+ export declare class UpdateFacilityOpeningTimesDto {
230
+ openingTimes: OpeningTimeDto[];
231
+ }
232
+ export declare class UpdateFacilitySportsDto {
233
+ sports: number[];
234
+ }
235
+ export declare class UpdateFacilityAmenitiesDto {
236
+ amenities: number[];
237
+ }
238
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
239
+ nameSearch?: string;
240
+ }
197
241
  export declare class FindFamilyAccountsDto {
198
242
  userId: number;
199
243
  }
@@ -238,49 +282,6 @@ export declare class PaginationRangeQuery {
238
282
  endPage: number;
239
283
  itemsPerPage: number;
240
284
  }
241
- export declare class AddressDto {
242
- city: string;
243
- state: string;
244
- country: string;
245
- geo: number[];
246
- }
247
- export declare class OpeningTimeDto {
248
- open: string;
249
- close: string;
250
- dayOfWeek: number;
251
- }
252
- export declare class CreateFacilityDto {
253
- name: string;
254
- sports: number[];
255
- description?: string;
256
- longDescription?: string;
257
- info?: string;
258
- address: AddressDto;
259
- timezone: string;
260
- amenities: number[];
261
- openingTimes: OpeningTimeDto[];
262
- resourcesIds?: number[];
263
- }
264
- export declare class UpdateFacilityDetailsDto {
265
- name?: string;
266
- description?: string;
267
- longDescription?: string;
268
- info?: string;
269
- address?: AddressDto;
270
- timezone?: string;
271
- }
272
- export declare class UpdateFacilityOpeningTimesDto {
273
- openingTimes: OpeningTimeDto[];
274
- }
275
- export declare class UpdateFacilitySportsDto {
276
- sports: number[];
277
- }
278
- export declare class UpdateFacilityAmenitiesDto {
279
- amenities: number[];
280
- }
281
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
282
- nameSearch?: string;
283
- }
284
285
  export declare class FindGlCodeByOrganizationIdDto {
285
286
  organizationId: number;
286
287
  }
@@ -888,6 +889,50 @@ export declare class MoveParticipantDto {
888
889
  resourceId: number;
889
890
  invoiceId: number;
890
891
  }
892
+ export declare class FindProgramsByOrganizationIdDto {
893
+ organizationId: number;
894
+ programType?: ProgramTypesEnum;
895
+ }
896
+ export declare class FindProgramByIdDto {
897
+ programId: number;
898
+ }
899
+ export declare class FindProgramByOrgIdAndIdDto {
900
+ programId: number;
901
+ organizationId: number;
902
+ }
903
+ export declare class BaseProgramDto {
904
+ type: ProgramTypesEnum;
905
+ name: string;
906
+ sport: SportsEnum;
907
+ minAge: string;
908
+ maxAge: string;
909
+ gender: GenderEnum;
910
+ level?: LevelOfPlayEnum[];
911
+ description?: string;
912
+ GL?: string;
913
+ status: PublishingStatusEnum;
914
+ organizationId: number;
915
+ userCreatorId: number;
916
+ highlights: ProgramHighlights[];
917
+ longDescription?: string;
918
+ requiredProductIds: number[];
919
+ }
920
+ export declare class CreateProgramDto extends BaseProgramDto {
921
+ }
922
+ export declare class UpdateProgramDto extends BaseProgramDto {
923
+ programId: number;
924
+ mainMediaId: number;
925
+ }
926
+ export declare class UpdateProgramStatusDto {
927
+ programId: number;
928
+ status: PublishingStatusEnum;
929
+ }
930
+ export declare class ProgramHighlightDto {
931
+ data: string;
932
+ ordinal: number;
933
+ type: ProgramHighlightTypeEnum;
934
+ title: string;
935
+ }
891
936
  export declare class PurchasePaymentDto {
892
937
  token: string;
893
938
  type: PaymentMethodTypeEnum;
@@ -969,50 +1014,6 @@ export declare class CreateResourceGroupDto {
969
1014
  }
970
1015
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
971
1016
  }
972
- export declare class FindProgramsByOrganizationIdDto {
973
- organizationId: number;
974
- programType?: ProgramTypesEnum;
975
- }
976
- export declare class FindProgramByIdDto {
977
- programId: number;
978
- }
979
- export declare class FindProgramByOrgIdAndIdDto {
980
- programId: number;
981
- organizationId: number;
982
- }
983
- export declare class BaseProgramDto {
984
- type: ProgramTypesEnum;
985
- name: string;
986
- sport: SportsEnum;
987
- minAge: string;
988
- maxAge: string;
989
- gender: GenderEnum;
990
- level?: LevelOfPlayEnum[];
991
- description?: string;
992
- GL?: string;
993
- status: PublishingStatusEnum;
994
- organizationId: number;
995
- userCreatorId: number;
996
- highlights: ProgramHighlights[];
997
- longDescription?: string;
998
- requiredProductIds: number[];
999
- }
1000
- export declare class CreateProgramDto extends BaseProgramDto {
1001
- }
1002
- export declare class UpdateProgramDto extends BaseProgramDto {
1003
- programId: number;
1004
- mainMediaId: number;
1005
- }
1006
- export declare class UpdateProgramStatusDto {
1007
- programId: number;
1008
- status: PublishingStatusEnum;
1009
- }
1010
- export declare class ProgramHighlightDto {
1011
- data: string;
1012
- ordinal: number;
1013
- type: ProgramHighlightTypeEnum;
1014
- title: string;
1015
- }
1016
1017
  export declare class ResourceDto {
1017
1018
  type: ResourceNameTypeEnum;
1018
1019
  id: number;
@@ -1216,23 +1217,13 @@ export declare class Connection extends BondBaseEntity {
1216
1217
  userCreatorId: number | null;
1217
1218
  ownerId: number | null;
1218
1219
  }
1219
- export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1220
- customerId: number;
1220
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1221
+ creditAmount: number;
1222
+ paymentProcessorId: string;
1221
1223
  userId: number;
1222
- amount: number;
1223
- paymentId?: number;
1224
- invoiceId?: number;
1225
- description?: string;
1226
- deletedAt?: Date;
1227
- customer: Customer;
1228
- invoice: Invoice;
1229
- payment: Payment;
1230
- }
1231
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1232
- customerId?: number;
1233
- description: string;
1234
- pinToTop?: boolean;
1235
- customer: Customer;
1224
+ paymentId: number;
1225
+ invoiceId: number;
1226
+ creditPaymentId: number;
1236
1227
  }
1237
1228
  export declare class Customer extends OrganizationConnectionBaseEntity {
1238
1229
  name: string | null;
@@ -1262,14 +1253,23 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1262
1253
  mainMedia: Media;
1263
1254
  reservations?: Reservation[];
1264
1255
  }
1265
- export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1256
+ export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1266
1257
  customerId: number;
1267
- name: string | null;
1268
- phoneNumber: string | null;
1258
+ userId: number;
1259
+ amount: number;
1260
+ paymentId?: number;
1261
+ invoiceId?: number;
1262
+ description?: string;
1263
+ deletedAt?: Date;
1269
1264
  customer: Customer;
1265
+ invoice: Invoice;
1266
+ payment: Payment;
1270
1267
  }
1271
- export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1272
- name: string | null;
1268
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1269
+ customerId?: number;
1270
+ description: string;
1271
+ pinToTop?: boolean;
1272
+ customer: Customer;
1273
1273
  }
1274
1274
  export declare class Division extends BondBaseEntity {
1275
1275
  name: string;
@@ -1279,13 +1279,14 @@ export declare class Division extends BondBaseEntity {
1279
1279
  isDefault: boolean;
1280
1280
  groups: Group[];
1281
1281
  }
1282
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1283
- creditAmount: number;
1284
- paymentProcessorId: string;
1285
- userId: number;
1286
- paymentId: number;
1287
- invoiceId: number;
1288
- creditPaymentId: number;
1282
+ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1283
+ customerId: number;
1284
+ name: string | null;
1285
+ phoneNumber: string | null;
1286
+ customer: Customer;
1287
+ }
1288
+ export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1289
+ name: string | null;
1289
1290
  }
1290
1291
  export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1291
1292
  groupId: number;
@@ -1306,38 +1307,6 @@ export declare class EventAttendee extends BondBaseEntity {
1306
1307
  event: Event;
1307
1308
  purchasedResource: PurchasedResource;
1308
1309
  }
1309
- export declare class Facility extends OrganizationConnectionBaseEntity {
1310
- name: string;
1311
- description?: string;
1312
- addressId: number;
1313
- address: Address;
1314
- amenities?: number[];
1315
- timezone: string;
1316
- creatorId: number;
1317
- creatorType: string;
1318
- userCreatorId: number;
1319
- mainMediaId: number;
1320
- mainMedia: Media;
1321
- publishedDate?: Date;
1322
- isPublished: boolean;
1323
- sports?: number[];
1324
- info?: string;
1325
- longDescription?: string;
1326
- deletedAt?: Date;
1327
- openingTimes: OpeningTime[];
1328
- resources: Resource[];
1329
- spaces: Resource[];
1330
- programSeasons: ProgramSeason[];
1331
- linkSEO: string;
1332
- }
1333
- export declare class FacilityToResource extends BondBaseEntity {
1334
- facilityId: number;
1335
- resourceId: number;
1336
- }
1337
- export declare class FamilyAccount extends BondBaseEntity {
1338
- name: string | null;
1339
- userInFamilyAccounts: UserInFamilyAccount[];
1340
- }
1341
1310
  export declare class Event extends OrganizationConnectionBaseEntity {
1342
1311
  constructor();
1343
1312
  defineCalculatedDateTimeProps(): void;
@@ -1396,6 +1365,38 @@ export declare class Event extends OrganizationConnectionBaseEntity {
1396
1365
  session?: ProgramSeason;
1397
1366
  segment?: ProgramSeason;
1398
1367
  }
1368
+ export declare class Facility extends OrganizationConnectionBaseEntity {
1369
+ name: string;
1370
+ description?: string;
1371
+ addressId: number;
1372
+ address: Address;
1373
+ amenities?: number[];
1374
+ timezone: string;
1375
+ creatorId: number;
1376
+ creatorType: string;
1377
+ userCreatorId: number;
1378
+ mainMediaId: number;
1379
+ mainMedia: Media;
1380
+ publishedDate?: Date;
1381
+ isPublished: boolean;
1382
+ sports?: number[];
1383
+ info?: string;
1384
+ longDescription?: string;
1385
+ deletedAt?: Date;
1386
+ openingTimes: OpeningTime[];
1387
+ resources: Resource[];
1388
+ spaces: Resource[];
1389
+ programSeasons: ProgramSeason[];
1390
+ linkSEO: string;
1391
+ }
1392
+ export declare class FacilityToResource extends BondBaseEntity {
1393
+ facilityId: number;
1394
+ resourceId: number;
1395
+ }
1396
+ export declare class FamilyAccount extends BondBaseEntity {
1397
+ name: string | null;
1398
+ userInFamilyAccounts: UserInFamilyAccount[];
1399
+ }
1399
1400
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1400
1401
  userId: number;
1401
1402
  invoiceId: number;
@@ -1407,6 +1408,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1407
1408
  chargedAt?: Date;
1408
1409
  originalPlannedDate?: Date;
1409
1410
  }
1411
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1412
+ code: string;
1413
+ }
1410
1414
  export declare class Group extends BondBaseEntity {
1411
1415
  name: string;
1412
1416
  description?: string;
@@ -1436,9 +1440,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1436
1440
  discountMethod?: DiscountMethodsEnum;
1437
1441
  discountValue?: number;
1438
1442
  }
1439
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1440
- code: string;
1441
- }
1442
1443
  export declare class GroupsInDivisions extends BondBaseEntity {
1443
1444
  groupId: number;
1444
1445
  divisionId: number;
@@ -1468,15 +1469,6 @@ export declare class Invoice extends BondBaseEntity {
1468
1469
  invoiceNotes: InvoiceNote[];
1469
1470
  slots: Slot[];
1470
1471
  }
1471
- export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1472
- content: string;
1473
- creatingUserId: number;
1474
- user: User;
1475
- isPublic: boolean;
1476
- deletedAt: Date;
1477
- invoiceId: number;
1478
- invoice: Invoice;
1479
- }
1480
1472
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1481
1473
  email: string;
1482
1474
  status: EEmailStatus;
@@ -1488,6 +1480,15 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1488
1480
  mailParams?: any;
1489
1481
  memo?: string;
1490
1482
  }
1483
+ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1484
+ content: string;
1485
+ creatingUserId: number;
1486
+ user: User;
1487
+ isPublic: boolean;
1488
+ deletedAt: Date;
1489
+ invoiceId: number;
1490
+ invoice: Invoice;
1491
+ }
1491
1492
  export declare class InvoiceToPayment extends BondBaseEntity {
1492
1493
  invoiceId: number;
1493
1494
  paymentId: number;
@@ -1566,6 +1567,16 @@ export declare class LeagueSeasonRelations {
1566
1567
  league?: boolean;
1567
1568
  facilities?: boolean;
1568
1569
  }
1570
+ export declare class LineItemHistory extends BondBaseEntity {
1571
+ invoiceId: number;
1572
+ paymentId: number;
1573
+ lineItemId: number;
1574
+ paidAmount: number;
1575
+ unitPaidAmount: number;
1576
+ currency: CurrencyEnum;
1577
+ payment: Payment;
1578
+ lineItem: LineItems;
1579
+ }
1569
1580
  export declare class LineItems extends BondBaseEntity {
1570
1581
  constructor();
1571
1582
  defineIsReverted(): void;
@@ -1656,16 +1667,6 @@ export declare class Media extends BondBaseEntity {
1656
1667
  programs: Program[];
1657
1668
  memberships: Membership[];
1658
1669
  }
1659
- export declare class LineItemHistory extends BondBaseEntity {
1660
- invoiceId: number;
1661
- paymentId: number;
1662
- lineItemId: number;
1663
- paidAmount: number;
1664
- unitPaidAmount: number;
1665
- currency: CurrencyEnum;
1666
- payment: Payment;
1667
- lineItem: LineItems;
1668
- }
1669
1670
  export declare class Membership extends OrganizationConnectionBaseEntity {
1670
1671
  name: string;
1671
1672
  description?: string;
@@ -1720,9 +1721,6 @@ export declare class NotificationSubscriptions extends OrganizationConnectionBas
1720
1721
  resourceId: number | null;
1721
1722
  resourceType: string | null;
1722
1723
  }
1723
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1724
- organizationId: number;
1725
- }
1726
1724
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1727
1725
  id: number;
1728
1726
  dayOfWeek: number;
@@ -1734,6 +1732,9 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1734
1732
  deletedAt?: Date;
1735
1733
  facility: Facility;
1736
1734
  }
1735
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1736
+ organizationId: number;
1737
+ }
1737
1738
  export declare class PackageV1 extends BondBaseEntity {
1738
1739
  name?: string;
1739
1740
  description?: string;
@@ -1757,10 +1758,6 @@ export declare class PasswordReset extends BondBaseEntity {
1757
1758
  validUntil: Date | null;
1758
1759
  active: boolean | null;
1759
1760
  }
1760
- export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1761
- failureIndex: number;
1762
- waitingDays: number;
1763
- }
1764
1761
  export declare class Payment extends OrganizationConnectionBaseEntity {
1765
1762
  price: number;
1766
1763
  paymentProcessorId: string;
@@ -1788,18 +1785,16 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1788
1785
  refundReasonId?: number;
1789
1786
  refundNote?: string;
1790
1787
  }
1788
+ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1789
+ failureIndex: number;
1790
+ waitingDays: number;
1791
+ }
1791
1792
  export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1792
1793
  paymentInstallmentId?: number;
1793
1794
  invoiceId: number;
1794
- reason: string;
1795
+ reason: EFailedPaymentReasons;
1795
1796
  errorMessage: string;
1796
1797
  }
1797
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1798
- paymentPlanId: number;
1799
- paymentDate: Date;
1800
- deletedAt?: Date;
1801
- paymentPlan: ProductPaymentPlan;
1802
- }
1803
1798
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1804
1799
  content: string;
1805
1800
  creatingUserId: number;
@@ -1809,6 +1804,30 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1809
1804
  paymentId: number;
1810
1805
  payment: Payment;
1811
1806
  }
1807
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1808
+ paymentPlanId: number;
1809
+ paymentDate: Date;
1810
+ deletedAt?: Date;
1811
+ paymentPlan: ProductPaymentPlan;
1812
+ }
1813
+ export declare class PaymentV1 extends BondBaseEntity {
1814
+ userId: number | null;
1815
+ ownerId: number | null;
1816
+ parentId: number | null;
1817
+ parentType: string | null;
1818
+ idAtProvider: string | null;
1819
+ providerType: number | null;
1820
+ providerExtraData: string | null;
1821
+ requestData: string | null;
1822
+ responseData: string | null;
1823
+ status: number | null;
1824
+ price: number | null;
1825
+ currency: string | null;
1826
+ locked: boolean | null;
1827
+ numberOfTries: number | null;
1828
+ installmentId: number | null;
1829
+ invoiceId: string | null;
1830
+ }
1812
1831
  export declare class Price extends OrganizationConnectionBaseEntity {
1813
1832
  productId: number;
1814
1833
  product: Product;
@@ -1891,24 +1910,6 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1891
1910
  durationDays?: number;
1892
1911
  level?: ProductPackageLevelEnum;
1893
1912
  }
1894
- export declare class PaymentV1 extends BondBaseEntity {
1895
- userId: number | null;
1896
- ownerId: number | null;
1897
- parentId: number | null;
1898
- parentType: string | null;
1899
- idAtProvider: string | null;
1900
- providerType: number | null;
1901
- providerExtraData: string | null;
1902
- requestData: string | null;
1903
- responseData: string | null;
1904
- status: number | null;
1905
- price: number | null;
1906
- currency: string | null;
1907
- locked: boolean | null;
1908
- numberOfTries: number | null;
1909
- installmentId: number | null;
1910
- invoiceId: string | null;
1911
- }
1912
1913
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1913
1914
  productId: number;
1914
1915
  maxMonths?: number;
@@ -1929,14 +1930,14 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1929
1930
  productPackages: ProductPackage[];
1930
1931
  resourceName?: string;
1931
1932
  }
1932
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1933
- productId: number;
1934
- variantId: number;
1935
- }
1936
1933
  export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1937
1934
  productId: number;
1938
1935
  variantTitleId: number;
1939
1936
  }
1937
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1938
+ productId: number;
1939
+ variantId: number;
1940
+ }
1940
1941
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1941
1942
  productId: number;
1942
1943
  customerId: number;
@@ -1983,6 +1984,14 @@ export declare class Program extends BondBaseEntity {
1983
1984
  programSeason: ProgramSeason[];
1984
1985
  purchasedResources: PurchasedResource[];
1985
1986
  }
1987
+ export declare class ProgramHighlights extends BondBaseEntity {
1988
+ type: ProgramHighlightTypeEnum;
1989
+ ordinal: number | null;
1990
+ title: string | null;
1991
+ data: any | null;
1992
+ program: Program;
1993
+ deletedAt?: Date;
1994
+ }
1986
1995
  export declare class ProgramSeason extends BondBaseEntity {
1987
1996
  programId: number;
1988
1997
  name: string;
@@ -2038,14 +2047,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2038
2047
  facility: Facility;
2039
2048
  purchasedResources: PurchasedResource[];
2040
2049
  }
2041
- export declare class ProgramHighlights extends BondBaseEntity {
2042
- type: ProgramHighlightTypeEnum;
2043
- ordinal: number | null;
2044
- title: string | null;
2045
- data: any | null;
2046
- program: Program;
2047
- deletedAt?: Date;
2048
- }
2049
2050
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2050
2051
  productUserId: number;
2051
2052
  resourceId: number;
@@ -2072,17 +2073,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2072
2073
  title: string | null;
2073
2074
  answerTitle: AnswerTitle;
2074
2075
  }
2075
- export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2076
- resourceType: ResourceNameTypeEnum;
2077
- resourceId: number;
2078
- openNumDays?: number;
2079
- openNumMinutes?: number;
2080
- openTime?: string;
2081
- closeNumDays?: number;
2082
- closeNumMinutes?: number;
2083
- closeTime?: string;
2084
- deletedAt?: Date;
2085
- }
2086
2076
  export declare class Questions extends BondBaseEntity {
2087
2077
  questionType: string | null;
2088
2078
  ordinal: number | null;
@@ -2097,6 +2087,22 @@ export declare class Questions extends BondBaseEntity {
2097
2087
  ownerId: number | null;
2098
2088
  questionnaireId: number | null;
2099
2089
  }
2090
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2091
+ reason: string;
2092
+ ordinal: number;
2093
+ deletedAt: Date;
2094
+ }
2095
+ export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2096
+ resourceType: ResourceNameTypeEnum;
2097
+ resourceId: number;
2098
+ openNumDays?: number;
2099
+ openNumMinutes?: number;
2100
+ openTime?: string;
2101
+ closeNumDays?: number;
2102
+ closeNumMinutes?: number;
2103
+ closeTime?: string;
2104
+ deletedAt?: Date;
2105
+ }
2100
2106
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2101
2107
  name?: string;
2102
2108
  description?: string;
@@ -2129,18 +2135,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2129
2135
  publicNotes?: string;
2130
2136
  slots?: Slot[];
2131
2137
  }
2132
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2133
- reason: string;
2134
- ordinal: number;
2135
- deletedAt: Date;
2136
- }
2137
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2138
- name: string;
2139
- facilityId: number;
2140
- parentSlotId: number;
2141
- childrenSlotIds: number[];
2142
- deletedAt?: Date;
2143
- }
2144
2138
  export declare class Resource extends OrganizationConnectionBaseEntity {
2145
2139
  name: string;
2146
2140
  resourceType: ResourceTypeEnum;
@@ -2169,6 +2163,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2169
2163
  purchasedResources: PurchasedResource[];
2170
2164
  linkSEO: string;
2171
2165
  }
2166
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2167
+ name: string;
2168
+ facilityId: number;
2169
+ parentSlotId: number;
2170
+ childrenSlotIds: number[];
2171
+ deletedAt?: Date;
2172
+ }
2172
2173
  export declare class School extends BondBaseEntity {
2173
2174
  name: string | null;
2174
2175
  alias: string[] | null;
@@ -2197,9 +2198,20 @@ export declare class SeasonDivisions extends BondBaseEntity {
2197
2198
  seasonId: number | null;
2198
2199
  color: string | null;
2199
2200
  }
2200
- export declare class SpacesDependency extends BondBaseEntity {
2201
- blockingSpaceId: number;
2202
- blockedSpaceId: number;
2201
+ export declare class SeasonPool extends BondBaseEntity {
2202
+ seasonId?: number;
2203
+ userId?: number;
2204
+ status?: number;
2205
+ entityId?: number;
2206
+ entityType?: string;
2207
+ groupId?: string;
2208
+ paymentStatus?: PaymentStatusV1Enum;
2209
+ metadata?: any;
2210
+ paymentId?: number;
2211
+ externalAssign?: boolean;
2212
+ productUserId?: number;
2213
+ purchasedResource: PurchasedResource;
2214
+ season: LeagueSeason;
2203
2215
  }
2204
2216
  export declare class SeasonTeam extends BondBaseEntity {
2205
2217
  seasonId: number | null;
@@ -2211,13 +2223,9 @@ export declare class SeasonTeam extends BondBaseEntity {
2211
2223
  metaData: any | null;
2212
2224
  team: Team;
2213
2225
  }
2214
- export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2215
- stationId: number;
2216
- subcategoryId: number;
2217
- productType: ProductTypesEnum;
2218
- deletedAt?: Date;
2219
- station: Station;
2220
- subcategory: Subcategory;
2226
+ export declare class SpacesDependency extends BondBaseEntity {
2227
+ blockingSpaceId: number;
2228
+ blockedSpaceId: number;
2221
2229
  }
2222
2230
  export declare class Station extends OrganizationConnectionBaseEntity {
2223
2231
  name: string;
@@ -2230,6 +2238,14 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2230
2238
  subcategories: Subcategory[];
2231
2239
  shifts?: Shift[];
2232
2240
  }
2241
+ export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2242
+ stationId: number;
2243
+ subcategoryId: number;
2244
+ productType: ProductTypesEnum;
2245
+ deletedAt?: Date;
2246
+ station: Station;
2247
+ subcategory: Subcategory;
2248
+ }
2233
2249
  export declare class Subcategory extends OrganizationConnectionBaseEntity {
2234
2250
  productType: ProductTypesEnum;
2235
2251
  name: string;
@@ -2281,21 +2297,6 @@ export declare class TeamInvite extends BondBaseEntity {
2281
2297
  tokenExpirationDate: Date;
2282
2298
  isUsed: boolean;
2283
2299
  }
2284
- export declare class SeasonPool extends BondBaseEntity {
2285
- seasonId?: number;
2286
- userId?: number;
2287
- status?: number;
2288
- entityId?: number;
2289
- entityType?: string;
2290
- groupId?: string;
2291
- paymentStatus?: PaymentStatusV1Enum;
2292
- metadata?: any;
2293
- paymentId?: number;
2294
- externalAssign?: boolean;
2295
- productUserId?: number;
2296
- purchasedResource: PurchasedResource;
2297
- season: LeagueSeason;
2298
- }
2299
2300
  export declare class TeamMember extends BondBaseEntity {
2300
2301
  teamId: number | null;
2301
2302
  userId: number | null;
@@ -2305,20 +2306,6 @@ export declare class TeamMember extends BondBaseEntity {
2305
2306
  role: TeamMemberRoleEnum;
2306
2307
  user: User;
2307
2308
  }
2308
- export declare class UserAuthorizations extends BondBaseEntity {
2309
- entityId: number | null;
2310
- userId: number | null;
2311
- entityType: UserAuthorizationsTypeEnum;
2312
- user: User;
2313
- }
2314
- export declare class UserPaymentMethod extends BondBaseEntity {
2315
- userId: number;
2316
- failCount: number;
2317
- isDefault?: boolean;
2318
- paymentMethodType: PaymentMethodTypeEnum;
2319
- paymentMethodId: string;
2320
- nextAllowedChargeDate?: Date;
2321
- }
2322
2309
  export declare class User extends BondBaseEntity {
2323
2310
  firstName: string | null;
2324
2311
  lastName: string | null;
@@ -2358,6 +2345,28 @@ export declare class User extends BondBaseEntity {
2358
2345
  invoiceNotes: InvoiceNote[];
2359
2346
  paymentNotes: PaymentNote[];
2360
2347
  }
2348
+ export declare class UserAuthorizations extends BondBaseEntity {
2349
+ entityId: number | null;
2350
+ userId: number | null;
2351
+ entityType: UserAuthorizationsTypeEnum;
2352
+ user: User;
2353
+ }
2354
+ export declare class UserInFamilyAccount extends BondBaseEntity {
2355
+ familyAccountId: number;
2356
+ userId: number;
2357
+ isAdmin: boolean;
2358
+ user: User;
2359
+ familyAccount: FamilyAccount;
2360
+ deletedAt?: Date;
2361
+ }
2362
+ export declare class UserPaymentMethod extends BondBaseEntity {
2363
+ userId: number;
2364
+ failCount: number;
2365
+ isDefault?: boolean;
2366
+ paymentMethodType: PaymentMethodTypeEnum;
2367
+ paymentMethodId: string;
2368
+ nextAllowedChargeDate?: Date;
2369
+ }
2361
2370
  export declare class UsersInGroup extends BondBaseEntity {
2362
2371
  groupId: number;
2363
2372
  userId: number;
@@ -2373,14 +2382,6 @@ export declare class Variant extends OrganizationConnectionBaseEntity {
2373
2382
  variantTitle: VariantTitle;
2374
2383
  deletedAt?: Date;
2375
2384
  }
2376
- export declare class UserInFamilyAccount extends BondBaseEntity {
2377
- familyAccountId: number;
2378
- userId: number;
2379
- isAdmin: boolean;
2380
- user: User;
2381
- familyAccount: FamilyAccount;
2382
- deletedAt?: Date;
2383
- }
2384
2385
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
2385
2386
  projectToken: string;
2386
2387
  programTypesCollectionId?: string;
@@ -3352,6 +3353,13 @@ export declare class ProductImportDto {
3352
3353
  resourceIds: number[];
3353
3354
  oldId: number;
3354
3355
  }
3356
+ export declare class PunchPassDto {
3357
+ CustomerID: string;
3358
+ QuantityLeft: number;
3359
+ BondProgramID: number;
3360
+ BondSessionID: number;
3361
+ ProductID: number;
3362
+ }
3355
3363
  export declare class ImportedSlotProductDto {
3356
3364
  slotID?: string;
3357
3365
  name?: string;
@@ -3403,17 +3411,6 @@ export declare class ImportedReservationDto {
3403
3411
  slots?: ImportedSlotDto[];
3404
3412
  addons?: ImportedSlotProductDto[];
3405
3413
  }
3406
- export declare class Lock extends BondBaseEntity {
3407
- name: string;
3408
- locked?: Date;
3409
- }
3410
- export declare class PunchPassDto {
3411
- CustomerID: string;
3412
- QuantityLeft: number;
3413
- BondProgramID: number;
3414
- BondSessionID: number;
3415
- ProductID: number;
3416
- }
3417
3414
  export declare class GameSlots extends BondBaseEntity {
3418
3415
  entityType: string;
3419
3416
  entityId: number;
@@ -3445,6 +3442,15 @@ export declare class SeasonRounds extends BondBaseEntity {
3445
3442
  divisionId?: number;
3446
3443
  name: string;
3447
3444
  }
3445
+ export declare class TeamEvents extends BondBaseEntity {
3446
+ teamId: number | null;
3447
+ eventId: number | null;
3448
+ status: number | null;
3449
+ }
3450
+ export declare class Lock extends BondBaseEntity {
3451
+ name: string;
3452
+ locked?: Date;
3453
+ }
3448
3454
  export interface ValidatedMonthAndDay {
3449
3455
  valid: boolean;
3450
3456
  month?: number;
@@ -3454,12 +3460,6 @@ export interface ValidationReason {
3454
3460
  valid: boolean;
3455
3461
  reason?: string;
3456
3462
  }
3457
- export declare class CreateMonitorConfigDto {
3458
- facilityId: number;
3459
- name: string;
3460
- code: string;
3461
- config: any;
3462
- }
3463
3463
  export interface PaymentStatus {
3464
3464
  parentId: number;
3465
3465
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3472,10 +3472,16 @@ export interface PaymentStatusesDict {
3472
3472
  export interface PaymentStatusDict {
3473
3473
  [id: number]: ReservationPaymentStatusEnum;
3474
3474
  }
3475
- export declare class TeamEvents extends BondBaseEntity {
3476
- teamId: number | null;
3477
- eventId: number | null;
3478
- status: number | null;
3475
+ export declare class CreateMonitorConfigDto {
3476
+ facilityId: number;
3477
+ name: string;
3478
+ code: string;
3479
+ config: any;
3480
+ }
3481
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3482
+ facilityId: number;
3483
+ code: string;
3484
+ config?: any;
3479
3485
  }
3480
3486
  export declare class NotifyTracker extends BondBaseEntity {
3481
3487
  userId: number;
@@ -3484,11 +3490,6 @@ export declare class NotifyTracker extends BondBaseEntity {
3484
3490
  notfiyMethodtype: NotifyMethodEnum;
3485
3491
  destination: string;
3486
3492
  }
3487
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3488
- facilityId: number;
3489
- code: string;
3490
- config?: any;
3491
- }
3492
3493
  export declare class ByOrganizationIdDto {
3493
3494
  organizationId: number;
3494
3495
  }
@@ -3568,10 +3569,24 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
3568
3569
  version: number;
3569
3570
  organization: Organization;
3570
3571
  }
3572
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3573
+ mainAdminUserId?: number;
3574
+ }
3571
3575
  export declare class OrganizationUsers extends BondBaseEntity {
3572
3576
  organisationId: number | null;
3573
3577
  userId: number | null;
3574
3578
  }
3579
+ export interface UnallocatedEventsFilters {
3580
+ programsIds?: number[];
3581
+ sessionsIds?: number[];
3582
+ segmentsIds?: number[];
3583
+ durations?: Duration[];
3584
+ daysOfWeek?: number[];
3585
+ }
3586
+ export interface Duration {
3587
+ startDate: string;
3588
+ endDate: string;
3589
+ }
3575
3590
  export declare class CustomerIdDto {
3576
3591
  customerId: number;
3577
3592
  }
@@ -3688,20 +3703,6 @@ export declare class SendRequestDto {
3688
3703
  sendToEmail: string;
3689
3704
  memo?: string;
3690
3705
  }
3691
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3692
- mainAdminUserId?: number;
3693
- }
3694
- export interface UnallocatedEventsFilters {
3695
- programsIds?: number[];
3696
- sessionsIds?: number[];
3697
- segmentsIds?: number[];
3698
- durations?: Duration[];
3699
- daysOfWeek?: number[];
3700
- }
3701
- export interface Duration {
3702
- startDate: string;
3703
- endDate: string;
3704
- }
3705
3706
  export declare class RefundDto {
3706
3707
  invoiceId: number;
3707
3708
  lineItems: RefundLineItemAmountDto[];
@@ -3734,16 +3735,6 @@ export declare class VoidLineItemDto {
3734
3735
  isEdit?: boolean;
3735
3736
  amount?: number;
3736
3737
  }
3737
- export interface RefundResult extends PaymentsResults {
3738
- successfulLineItems: RefundLineItemAmountDto[];
3739
- failedLineItems: RefundLineItemAmountDto[];
3740
- invoice?: Invoice;
3741
- }
3742
- export interface RefundResultWithLineItemsDict extends PaymentsResults {
3743
- successfulLineItems: Map<number, RefundLineItemAmountDto>;
3744
- failedLineItems: Map<number, RefundLineItemAmountDto>;
3745
- totalAmountProcessed: number;
3746
- }
3747
3738
  export interface PaymentResult {
3748
3739
  paymentMethodId: string;
3749
3740
  paymentMethodType: PaymentMethodTypeEnum;
@@ -3769,6 +3760,16 @@ export interface ExtendedLineItems {
3769
3760
  products: LineItems[];
3770
3761
  events: LineItems[];
3771
3762
  }
3763
+ export interface RefundResult extends PaymentsResults {
3764
+ successfulLineItems: RefundLineItemAmountDto[];
3765
+ failedLineItems: RefundLineItemAmountDto[];
3766
+ invoice?: Invoice;
3767
+ }
3768
+ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3769
+ successfulLineItems: Map<number, RefundLineItemAmountDto>;
3770
+ failedLineItems: Map<number, RefundLineItemAmountDto>;
3771
+ totalAmountProcessed: number;
3772
+ }
3772
3773
  export declare class AddonDto extends ProductPricesDto {
3773
3774
  id?: number;
3774
3775
  }
@@ -3869,17 +3870,6 @@ export declare class PurchasedResourceDto {
3869
3870
  endDate?: string;
3870
3871
  endTime?: string;
3871
3872
  }
3872
- export declare class SegmentDto {
3873
- id?: number;
3874
- title: string;
3875
- isPrivate: boolean;
3876
- resourceIds: number[];
3877
- sportId?: number;
3878
- series: SeriesDto[];
3879
- addonIds?: number[];
3880
- publicNotesForSlots?: string;
3881
- privateNotesForSlots?: string;
3882
- }
3883
3873
  export declare class ReservationDto {
3884
3874
  id?: number;
3885
3875
  organizationId?: number;
@@ -4027,6 +4017,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
4027
4017
  export declare class ReservationNotifyDto {
4028
4018
  notifyMethods?: NotifyMethodEnum[];
4029
4019
  }
4020
+ export declare class SegmentDto {
4021
+ id?: number;
4022
+ title: string;
4023
+ isPrivate: boolean;
4024
+ resourceIds: number[];
4025
+ sportId?: number;
4026
+ series: SeriesDto[];
4027
+ addonIds?: number[];
4028
+ publicNotesForSlots?: string;
4029
+ privateNotesForSlots?: string;
4030
+ }
4030
4031
  export declare class SeriesDto {
4031
4032
  id?: number;
4032
4033
  startDate: string;
@@ -4159,6 +4160,26 @@ export declare class BookingV1Dto {
4159
4160
  cashPayment: boolean;
4160
4161
  requestOnly: boolean;
4161
4162
  }
4163
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4164
+ parentId: number;
4165
+ parentType: AddonParentTypeEnum;
4166
+ productId: number;
4167
+ product?: Product;
4168
+ quantity: number;
4169
+ unitPrice: number;
4170
+ totalPrice: number;
4171
+ approvalStatus: ReservationStatusEnum;
4172
+ paymentStatus: ReservationPaymentStatusEnum;
4173
+ level?: ProductPackageLevelEnum;
4174
+ resourceId?: number;
4175
+ resource?: Resource;
4176
+ invoiceId?: number;
4177
+ invoice?: Invoice;
4178
+ productUserId?: number;
4179
+ productUser?: ProductsUsers;
4180
+ previousProductUsersIds?: number[];
4181
+ previousProductUsers?: ProductsUsers[];
4182
+ }
4162
4183
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4163
4184
  deletedAt?: Date;
4164
4185
  reservationId: number;
@@ -4198,26 +4219,6 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4198
4219
  targetGlobalPrice?: number;
4199
4220
  slots: Slot[];
4200
4221
  }
4201
- export declare class Addon extends OrganizationConnectionBaseEntity {
4202
- parentId: number;
4203
- parentType: AddonParentTypeEnum;
4204
- productId: number;
4205
- product?: Product;
4206
- quantity: number;
4207
- unitPrice: number;
4208
- totalPrice: number;
4209
- approvalStatus: ReservationStatusEnum;
4210
- paymentStatus: ReservationPaymentStatusEnum;
4211
- level?: ProductPackageLevelEnum;
4212
- resourceId?: number;
4213
- resource?: Resource;
4214
- invoiceId?: number;
4215
- invoice?: Invoice;
4216
- productUserId?: number;
4217
- productUser?: ProductsUsers;
4218
- previousProductUsersIds?: number[];
4219
- previousProductUsers?: ProductsUsers[];
4220
- }
4221
4222
  export declare class Segment extends OrganizationConnectionBaseEntity {
4222
4223
  deletedAt?: Date;
4223
4224
  reservationId: number;
@@ -4251,6 +4252,86 @@ export declare class Series extends OrganizationConnectionBaseEntity {
4251
4252
  numberOccurrences?: number;
4252
4253
  resources?: Resource[];
4253
4254
  }
4255
+ export declare class Slot extends OrganizationConnectionBaseEntity {
4256
+ constructor();
4257
+ defineIsReverted(): void;
4258
+ isReverted: boolean;
4259
+ reservationId: number;
4260
+ reservation: Reservation;
4261
+ title?: string;
4262
+ creatorId?: number;
4263
+ creatorType?: string;
4264
+ userCreatorId?: number;
4265
+ startDate: Date;
4266
+ endDate: Date;
4267
+ startTime: string;
4268
+ endTime: string;
4269
+ timezone?: string;
4270
+ spaceId?: number;
4271
+ resource?: Resource;
4272
+ deletedAt?: Date;
4273
+ publicNotes?: string;
4274
+ privateNotes?: string;
4275
+ slotType: SlotTypeEnum;
4276
+ productsUserId?: number;
4277
+ productUser?: ProductsUsers;
4278
+ product?: Product;
4279
+ addons: Addon[];
4280
+ addonsProductUserIds?: number[] | null;
4281
+ addonsMetadata: AddonMetadata[];
4282
+ segmentId: number;
4283
+ segment: Segment;
4284
+ eventId: number;
4285
+ event: Event;
4286
+ sportIds: number[];
4287
+ parentSlotId?: number;
4288
+ parent?: Slot;
4289
+ children?: Slot[];
4290
+ maintenanceDurationdurationType: string;
4291
+ maintenanceTiming: number;
4292
+ durationValue: number;
4293
+ seriesId?: number;
4294
+ series?: Series;
4295
+ invoiceId?: number;
4296
+ invoice?: Invoice;
4297
+ paymentStatus: ReservationPaymentStatusEnum;
4298
+ approvalStatus?: ReservationStatusEnum;
4299
+ displayName?: string;
4300
+ internalName?: string;
4301
+ activityTypes?: number[] | null;
4302
+ hourlyRate: number;
4303
+ totalPrice: number;
4304
+ isConsumerVisible: boolean;
4305
+ isMonitorVisible: boolean;
4306
+ isPrivate: boolean;
4307
+ occurrence?: number;
4308
+ maintenance?: Slot[];
4309
+ productMetadata: {
4310
+ productId: number;
4311
+ price: number;
4312
+ };
4313
+ slotDurationType: string;
4314
+ previousProductUsersIds?: number[];
4315
+ previousProductUsers?: ProductsUsers[];
4316
+ changeLineItemIds?: number[];
4317
+ changeLineItems?: LineItems[];
4318
+ updatedLineItem?: LineItems;
4319
+ conflictsCount?: number;
4320
+ conflicts?: Slot[];
4321
+ }
4322
+ export declare type TSlotAndType = {
4323
+ type: 'slots' | 'slot_addons';
4324
+ slotsForProduct: {
4325
+ [productId: number]: {
4326
+ product: Product;
4327
+ slots: SlotDto[];
4328
+ };
4329
+ };
4330
+ };
4331
+ export interface ILineItemResource {
4332
+ type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4333
+ values: TResource[];
4334
+ }
4254
4335
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
4255
4336
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
4256
4337
  export interface ReservationV1 {
@@ -4470,91 +4551,15 @@ export interface AddonMetadata {
4470
4551
  totalPrice: number;
4471
4552
  product?: Product;
4472
4553
  }
4554
+ export declare class ChangeRolePermissionsDto {
4555
+ permissionIds: number[];
4556
+ }
4473
4557
  export declare class CreateRoleDto {
4474
4558
  name: string;
4475
4559
  }
4476
- export declare type TSlotAndType = {
4477
- type: 'slots' | 'slot_addons';
4478
- slotsForProduct: {
4479
- [productId: number]: {
4480
- product: Product;
4481
- slots: SlotDto[];
4482
- };
4483
- };
4484
- };
4485
- export interface ILineItemResource {
4486
- type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4487
- values: TResource[];
4488
- }
4489
- export declare class Slot extends OrganizationConnectionBaseEntity {
4490
- constructor();
4491
- defineIsReverted(): void;
4492
- isReverted: boolean;
4493
- reservationId: number;
4494
- reservation: Reservation;
4495
- title?: string;
4496
- creatorId?: number;
4497
- creatorType?: string;
4498
- userCreatorId?: number;
4499
- startDate: Date;
4500
- endDate: Date;
4501
- startTime: string;
4502
- endTime: string;
4503
- timezone?: string;
4504
- spaceId?: number;
4505
- resource?: Resource;
4560
+ export declare class Permission extends BondBaseEntity {
4561
+ name: string;
4506
4562
  deletedAt?: Date;
4507
- publicNotes?: string;
4508
- privateNotes?: string;
4509
- slotType: SlotTypeEnum;
4510
- productsUserId?: number;
4511
- productUser?: ProductsUsers;
4512
- product?: Product;
4513
- addons: Addon[];
4514
- addonsProductUserIds?: number[] | null;
4515
- addonsMetadata: AddonMetadata[];
4516
- segmentId: number;
4517
- segment: Segment;
4518
- eventId: number;
4519
- event: Event;
4520
- sportIds: number[];
4521
- parentSlotId?: number;
4522
- parent?: Slot;
4523
- children?: Slot[];
4524
- maintenanceDurationdurationType: string;
4525
- maintenanceTiming: number;
4526
- durationValue: number;
4527
- seriesId?: number;
4528
- series?: Series;
4529
- invoiceId?: number;
4530
- invoice?: Invoice;
4531
- paymentStatus: ReservationPaymentStatusEnum;
4532
- approvalStatus?: ReservationStatusEnum;
4533
- displayName?: string;
4534
- internalName?: string;
4535
- activityTypes?: number[] | null;
4536
- hourlyRate: number;
4537
- totalPrice: number;
4538
- isConsumerVisible: boolean;
4539
- isMonitorVisible: boolean;
4540
- isPrivate: boolean;
4541
- occurrence?: number;
4542
- maintenance?: Slot[];
4543
- productMetadata: {
4544
- productId: number;
4545
- price: number;
4546
- };
4547
- slotDurationType: string;
4548
- previousProductUsersIds?: number[];
4549
- previousProductUsers?: ProductsUsers[];
4550
- changeLineItemIds?: number[];
4551
- changeLineItems?: LineItems[];
4552
- updatedLineItem?: LineItems;
4553
- conflictsCount?: number;
4554
- conflicts?: Slot[];
4555
- }
4556
- export declare class ChangeRolePermissionsDto {
4557
- permissionIds: number[];
4558
4563
  }
4559
4564
  export declare class Role extends OrganizationConnectionBaseEntity {
4560
4565
  name: string;
@@ -4569,45 +4574,12 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4569
4574
  role: Role;
4570
4575
  user: User;
4571
4576
  }
4572
- export declare class Permission extends BondBaseEntity {
4573
- name: string;
4574
- deletedAt?: Date;
4575
- }
4576
- export declare class Shift extends OrganizationConnectionBaseEntity {
4577
- stationId: number;
4578
- station?: Station;
4579
- status: ShiftStatusEnum;
4580
- openingUserId: number;
4581
- openingCashAmount: number;
4582
- openingDate: string;
4583
- openingTime: string;
4584
- closingUserId?: number;
4585
- closingCashAmount?: number;
4586
- closingDate?: string;
4587
- closingTime?: string;
4588
- closingManagerId?: number;
4589
- managementClosingCashAmount?: number;
4590
- managementClosingDate?: string;
4591
- managementClosingTime?: string;
4592
- reconcilingUserId?: number;
4593
- reconciliationAmount?: number;
4594
- reconcilingDate?: string;
4595
- reconcilingTime?: string;
4596
- reconciliationInvoiceId?: number;
4597
- deletedAt?: Date;
4598
- sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4599
- currentCashDifference?: number;
4600
- openingUser?: User;
4601
- closingUser?: User;
4602
- closingManager?: User;
4603
- reconcilingUser?: User;
4577
+ export declare class CloseShiftDto {
4578
+ closingCashAmount: number;
4604
4579
  }
4605
4580
  export declare class FindShiftsByIdsDto {
4606
4581
  shiftIds: number[];
4607
4582
  }
4608
- export declare class CloseShiftDto {
4609
- closingCashAmount: number;
4610
- }
4611
4583
  export declare class FindShiftsFiltersDto {
4612
4584
  statuses?: string;
4613
4585
  stationIds?: string;
@@ -4639,3 +4611,32 @@ export declare class OpenShiftDto {
4639
4611
  openingCashAmount: number;
4640
4612
  stationId: number;
4641
4613
  }
4614
+ export declare class Shift extends OrganizationConnectionBaseEntity {
4615
+ stationId: number;
4616
+ station?: Station;
4617
+ status: ShiftStatusEnum;
4618
+ openingUserId: number;
4619
+ openingCashAmount: number;
4620
+ openingDate: string;
4621
+ openingTime: string;
4622
+ closingUserId?: number;
4623
+ closingCashAmount?: number;
4624
+ closingDate?: string;
4625
+ closingTime?: string;
4626
+ closingManagerId?: number;
4627
+ managementClosingCashAmount?: number;
4628
+ managementClosingDate?: string;
4629
+ managementClosingTime?: string;
4630
+ reconcilingUserId?: number;
4631
+ reconciliationAmount?: number;
4632
+ reconcilingDate?: string;
4633
+ reconcilingTime?: string;
4634
+ reconciliationInvoiceId?: number;
4635
+ deletedAt?: Date;
4636
+ sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
4637
+ currentCashDifference?: number;
4638
+ openingUser?: User;
4639
+ closingUser?: User;
4640
+ closingManager?: User;
4641
+ reconcilingUser?: User;
4642
+ }