@bondsports/types 0.0.189 → 0.0.190

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
@@ -421,48 +421,6 @@ export declare class CancelMembershipDto {
421
421
  isImmediatelyCancel: boolean;
422
422
  cancellationReason?: string;
423
423
  }
424
- export declare class CreateEntitlementTermsDto {
425
- organizationId: number;
426
- entitlementGroupId: number;
427
- terms: IEntitlementTerms[];
428
- }
429
- export declare class FindEntitlementTermsByGroupIdDto {
430
- entitlementGroupId: number;
431
- }
432
- export declare class FindEntitlementTermsByVariablesDto {
433
- user: any;
434
- userVariables: IQuestionAnswerObject[];
435
- }
436
- export declare class FindLowestPriceDto {
437
- organizationId: number;
438
- user?: any;
439
- answers?: IQuestionAnswerObject[];
440
- itemIds: number[];
441
- itemType?: ResourceNameTypeEnum;
442
- startDate?: Date;
443
- }
444
- export declare class FindGroupItemsPricingsDto {
445
- groupsIds: number[];
446
- itemsIds: number[];
447
- }
448
- export declare class CreateEntitlementGroupDto {
449
- name: string;
450
- }
451
- export declare class GetEntitlementGroupPricingDto {
452
- itemIds: number[];
453
- itemType: string;
454
- }
455
- export declare class FindEntitlementGroupByIdDto {
456
- groupid: number;
457
- }
458
- export declare class CreateGroupPricingWithProduct {
459
- groupId: number;
460
- price: number;
461
- startDate?: Date;
462
- endDate?: Date;
463
- discountValue?: number;
464
- discountMethod?: DiscountMethodsEnum;
465
- }
466
424
  export declare class FindByProductIdDto {
467
425
  productId: number;
468
426
  }
@@ -702,6 +660,48 @@ export declare class VariantDto {
702
660
  startDate: Date;
703
661
  endDate: Date;
704
662
  }
663
+ export declare class CreateEntitlementTermsDto {
664
+ organizationId: number;
665
+ entitlementGroupId: number;
666
+ terms: IEntitlementTerms[];
667
+ }
668
+ export declare class FindEntitlementTermsByGroupIdDto {
669
+ entitlementGroupId: number;
670
+ }
671
+ export declare class FindEntitlementTermsByVariablesDto {
672
+ user: any;
673
+ userVariables: IQuestionAnswerObject[];
674
+ }
675
+ export declare class FindLowestPriceDto {
676
+ organizationId: number;
677
+ user?: any;
678
+ answers?: IQuestionAnswerObject[];
679
+ itemIds: number[];
680
+ itemType?: ResourceNameTypeEnum;
681
+ startDate?: Date;
682
+ }
683
+ export declare class FindGroupItemsPricingsDto {
684
+ groupsIds: number[];
685
+ itemsIds: number[];
686
+ }
687
+ export declare class CreateEntitlementGroupDto {
688
+ name: string;
689
+ }
690
+ export declare class GetEntitlementGroupPricingDto {
691
+ itemIds: number[];
692
+ itemType: string;
693
+ }
694
+ export declare class FindEntitlementGroupByIdDto {
695
+ groupid: number;
696
+ }
697
+ export declare class CreateGroupPricingWithProduct {
698
+ groupId: number;
699
+ price: number;
700
+ startDate?: Date;
701
+ endDate?: Date;
702
+ discountValue?: number;
703
+ discountMethod?: DiscountMethodsEnum;
704
+ }
705
705
  export declare class FindProgramSeasonsByProgramIdDto {
706
706
  programId: number;
707
707
  }
@@ -1021,10 +1021,6 @@ export declare class CreateResourceGroupDto {
1021
1021
  }
1022
1022
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
1023
1023
  }
1024
- export declare class ResourceDto {
1025
- type: ResourceNameTypeEnum;
1026
- id: number;
1027
- }
1028
1024
  export declare class SpaceByIdDto {
1029
1025
  spaceId: number;
1030
1026
  }
@@ -1081,6 +1077,10 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1081
1077
  types?: string;
1082
1078
  resourcesIds?: string;
1083
1079
  }
1080
+ export declare class ResourceDto {
1081
+ type: ResourceNameTypeEnum;
1082
+ id: number;
1083
+ }
1084
1084
  export declare class StripeCustomerIdDto {
1085
1085
  userId: number;
1086
1086
  }
@@ -1126,17 +1126,6 @@ export declare class ActivityTimes extends BondBaseEntity {
1126
1126
  proudct: Product;
1127
1127
  event: Event;
1128
1128
  }
1129
- export declare class Address extends BondBaseEntity {
1130
- city?: string;
1131
- street?: string;
1132
- streetNum?: string;
1133
- aptNum?: string;
1134
- zip?: string;
1135
- country?: string;
1136
- state?: string;
1137
- geo: any;
1138
- deletedAt?: Date;
1139
- }
1140
1129
  export declare class Answer extends OrganizationConnectionBaseEntity {
1141
1130
  questionId: number;
1142
1131
  question?: Questions;
@@ -1150,6 +1139,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1150
1139
  metaData: any | null;
1151
1140
  questionText: string | null;
1152
1141
  }
1142
+ export declare class Address extends BondBaseEntity {
1143
+ city?: string;
1144
+ street?: string;
1145
+ streetNum?: string;
1146
+ aptNum?: string;
1147
+ zip?: string;
1148
+ country?: string;
1149
+ state?: string;
1150
+ geo: any;
1151
+ deletedAt?: Date;
1152
+ }
1153
1153
  export declare class Athlete extends BondBaseEntity {
1154
1154
  userId: number | null;
1155
1155
  metadata: object | null;
@@ -1174,11 +1174,6 @@ export declare class BlockedDate extends BondBaseEntity {
1174
1174
  endDate: Date;
1175
1175
  deletedAt?: Date;
1176
1176
  }
1177
- export declare class BondBaseEntity extends BaseEntity {
1178
- id: number;
1179
- createdAt: Date;
1180
- updatedAt: Date;
1181
- }
1182
1177
  export declare class BookedSessions extends BondBaseEntity {
1183
1178
  reservationId?: number;
1184
1179
  color?: string;
@@ -1207,19 +1202,16 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
1207
1202
  endTimeInDay: string;
1208
1203
  directBookingFor: DirectBookingTypesEnum;
1209
1204
  }
1205
+ export declare class BondBaseEntity extends BaseEntity {
1206
+ id: number;
1207
+ createdAt: Date;
1208
+ updatedAt: Date;
1209
+ }
1210
1210
  export declare class Configuration extends BondBaseEntity {
1211
1211
  area: string;
1212
1212
  key: string;
1213
1213
  value: string;
1214
1214
  }
1215
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1216
- creditAmount: number;
1217
- paymentProcessorId: string;
1218
- userId: number;
1219
- paymentId: number;
1220
- invoiceId: number;
1221
- creditPaymentId: number;
1222
- }
1223
1215
  export declare class Connection extends BondBaseEntity {
1224
1216
  connType: number | null;
1225
1217
  from: number | null;
@@ -1272,6 +1264,20 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1272
1264
  invoice: Invoice;
1273
1265
  payment: Payment;
1274
1266
  }
1267
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1268
+ creditAmount: number;
1269
+ paymentProcessorId: string;
1270
+ userId: number;
1271
+ paymentId: number;
1272
+ invoiceId: number;
1273
+ creditPaymentId: number;
1274
+ }
1275
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1276
+ customerId?: number;
1277
+ description: string;
1278
+ pinToTop?: boolean;
1279
+ customer: Customer;
1280
+ }
1275
1281
  export declare class Division extends BondBaseEntity {
1276
1282
  name: string;
1277
1283
  ordinal?: number;
@@ -1280,12 +1286,6 @@ export declare class Division extends BondBaseEntity {
1280
1286
  isDefault: boolean;
1281
1287
  groups: Group[];
1282
1288
  }
1283
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1284
- customerId?: number;
1285
- description: string;
1286
- pinToTop?: boolean;
1287
- customer: Customer;
1288
- }
1289
1289
  export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1290
1290
  customerId: number;
1291
1291
  name: string | null;
@@ -1295,10 +1295,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1295
1295
  export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1296
1296
  name: string | null;
1297
1297
  }
1298
- export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1299
- groupId: number;
1300
- terms: IEntitlementTerms[];
1301
- }
1302
1298
  export declare class EventAttendee extends BondBaseEntity {
1303
1299
  status: RequestStatusEnum | null;
1304
1300
  hasPaid: boolean | null;
@@ -1372,6 +1368,14 @@ export declare class Event extends OrganizationConnectionBaseEntity {
1372
1368
  session?: ProgramSeason;
1373
1369
  segment?: ProgramSeason;
1374
1370
  }
1371
+ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1372
+ groupId: number;
1373
+ terms: IEntitlementTerms[];
1374
+ }
1375
+ export declare class FacilityToResource extends BondBaseEntity {
1376
+ facilityId: number;
1377
+ resourceId: number;
1378
+ }
1375
1379
  export declare class Facility extends OrganizationConnectionBaseEntity {
1376
1380
  name: string;
1377
1381
  description?: string;
@@ -1400,10 +1404,6 @@ export declare class FamilyAccount extends BondBaseEntity {
1400
1404
  name: string | null;
1401
1405
  userInFamilyAccounts: UserInFamilyAccount[];
1402
1406
  }
1403
- export declare class FacilityToResource extends BondBaseEntity {
1404
- facilityId: number;
1405
- resourceId: number;
1406
- }
1407
1407
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1408
1408
  userId: number;
1409
1409
  invoiceId: number;
@@ -1447,6 +1447,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1447
1447
  discountMethod?: DiscountMethodsEnum;
1448
1448
  discountValue?: number;
1449
1449
  }
1450
+ export declare class GroupsInDivisions extends BondBaseEntity {
1451
+ groupId: number;
1452
+ divisionId: number;
1453
+ deletedAt?: Date;
1454
+ }
1450
1455
  export declare class Invoice extends BondBaseEntity {
1451
1456
  invoiceId: string | null;
1452
1457
  price: number | null;
@@ -1471,11 +1476,6 @@ export declare class Invoice extends BondBaseEntity {
1471
1476
  invoiceNotes: InvoiceNote[];
1472
1477
  slots: Slot[];
1473
1478
  }
1474
- export declare class GroupsInDivisions extends BondBaseEntity {
1475
- groupId: number;
1476
- divisionId: number;
1477
- deletedAt?: Date;
1478
- }
1479
1479
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1480
1480
  email: string;
1481
1481
  status: EEmailStatus;
@@ -1487,14 +1487,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1487
1487
  mailParams?: any;
1488
1488
  memo?: string;
1489
1489
  }
1490
- export declare class InvoiceToPayment extends BondBaseEntity {
1491
- invoiceId: number;
1492
- paymentId: number;
1493
- invoice: Invoice;
1494
- payment: Payment;
1495
- paidAmount?: number;
1496
- currency: CurrencyEnum;
1497
- }
1498
1490
  export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1499
1491
  content: string;
1500
1492
  creatingUserId: number;
@@ -1504,6 +1496,14 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1504
1496
  invoiceId: number;
1505
1497
  invoice: Invoice;
1506
1498
  }
1499
+ export declare class InvoiceToPayment extends BondBaseEntity {
1500
+ invoiceId: number;
1501
+ paymentId: number;
1502
+ invoice: Invoice;
1503
+ payment: Payment;
1504
+ paidAmount?: number;
1505
+ currency: CurrencyEnum;
1506
+ }
1507
1507
  export declare class League extends OrganizationConnectionBaseEntity {
1508
1508
  name: string | null;
1509
1509
  description: string | null;
@@ -1674,6 +1674,26 @@ export declare class Media extends BondBaseEntity {
1674
1674
  programs: Program[];
1675
1675
  memberships: Membership[];
1676
1676
  }
1677
+ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1678
+ membership: Membership;
1679
+ membershipId: number;
1680
+ productUserId: number;
1681
+ productUser?: ProductsUsers;
1682
+ userId: number;
1683
+ membershipType: MembershipTypeEnum;
1684
+ durationMonths?: number;
1685
+ startDate?: string;
1686
+ endDate?: string;
1687
+ renewalOfMemberId?: number;
1688
+ isAutoRenew?: boolean;
1689
+ nextPaymentMethodId?: string;
1690
+ nextPaymentType?: PaymentMethodTypeEnum;
1691
+ answerTitleIds?: number[];
1692
+ cancelledAt?: Date | null;
1693
+ cancellationReason?: string;
1694
+ cancellationStatus?: CancellationStatusEnum;
1695
+ isImported?: boolean;
1696
+ }
1677
1697
  export declare class Membership extends OrganizationConnectionBaseEntity {
1678
1698
  name: string;
1679
1699
  description?: string;
@@ -1702,25 +1722,11 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
1702
1722
  isAutoRenew?: boolean;
1703
1723
  purchasedResources: PurchasedResource[];
1704
1724
  }
1705
- export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1706
- membership: Membership;
1707
- membershipId: number;
1708
- productUserId: number;
1709
- productUser?: ProductsUsers;
1710
- userId: number;
1711
- membershipType: MembershipTypeEnum;
1712
- durationMonths?: number;
1713
- startDate?: string;
1714
- endDate?: string;
1715
- renewalOfMemberId?: number;
1716
- isAutoRenew?: boolean;
1717
- nextPaymentMethodId?: string;
1718
- nextPaymentType?: PaymentMethodTypeEnum;
1719
- answerTitleIds?: number[];
1720
- cancelledAt?: Date | null;
1721
- cancellationReason?: string;
1722
- cancellationStatus?: CancellationStatusEnum;
1723
- isImported?: boolean;
1725
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1726
+ email: string | null;
1727
+ notificationType: NotificationTypeEnum | null;
1728
+ resourceId: number | null;
1729
+ resourceType: string | null;
1724
1730
  }
1725
1731
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1726
1732
  id: number;
@@ -1736,11 +1742,11 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1736
1742
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1737
1743
  organizationId: number;
1738
1744
  }
1739
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1740
- email: string | null;
1741
- notificationType: NotificationTypeEnum | null;
1742
- resourceId: number | null;
1743
- resourceType: string | null;
1745
+ export declare class PasswordReset extends BondBaseEntity {
1746
+ token: string | null;
1747
+ userId: number | null;
1748
+ validUntil: Date | null;
1749
+ active: boolean | null;
1744
1750
  }
1745
1751
  export declare class PackageV1 extends BondBaseEntity {
1746
1752
  name?: string;
@@ -1759,12 +1765,6 @@ export declare class PackageV1 extends BondBaseEntity {
1759
1765
  isMandatory: boolean;
1760
1766
  productId: number;
1761
1767
  }
1762
- export declare class PasswordReset extends BondBaseEntity {
1763
- token: string | null;
1764
- userId: number | null;
1765
- validUntil: Date | null;
1766
- active: boolean | null;
1767
- }
1768
1768
  export declare class Payment extends OrganizationConnectionBaseEntity {
1769
1769
  price: number;
1770
1770
  paymentProcessorId: string;
@@ -1792,16 +1792,22 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1792
1792
  refundReasonId?: number;
1793
1793
  refundNote?: string;
1794
1794
  }
1795
- export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1796
- failureIndex: number;
1797
- waitingDays: number;
1798
- }
1799
1795
  export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1800
1796
  paymentInstallmentId?: number;
1801
1797
  invoiceId: number;
1802
1798
  reason: EFailedPaymentReasons;
1803
1799
  errorMessage: string;
1804
1800
  }
1801
+ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1802
+ failureIndex: number;
1803
+ waitingDays: number;
1804
+ }
1805
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1806
+ paymentPlanId: number;
1807
+ paymentDate: Date;
1808
+ deletedAt?: Date;
1809
+ paymentPlan: ProductPaymentPlan;
1810
+ }
1805
1811
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1806
1812
  content: string;
1807
1813
  creatingUserId: number;
@@ -1811,12 +1817,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1811
1817
  paymentId: number;
1812
1818
  payment: Payment;
1813
1819
  }
1814
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1815
- paymentPlanId: number;
1816
- paymentDate: Date;
1817
- deletedAt?: Date;
1818
- paymentPlan: ProductPaymentPlan;
1819
- }
1820
1820
  export declare class PaymentV1 extends BondBaseEntity {
1821
1821
  userId: number | null;
1822
1822
  ownerId: number | null;
@@ -1835,23 +1835,6 @@ export declare class PaymentV1 extends BondBaseEntity {
1835
1835
  installmentId: number | null;
1836
1836
  invoiceId: string | null;
1837
1837
  }
1838
- export declare class Price extends OrganizationConnectionBaseEntity {
1839
- productId: number;
1840
- product: Product;
1841
- name: string | null;
1842
- price: number;
1843
- currency: CurrencyEnum;
1844
- paymentProcessorId: number | null;
1845
- startDate: Date;
1846
- endDate: Date;
1847
- groupId?: number;
1848
- groupName?: string;
1849
- originalPrice?: number;
1850
- deletedAt?: Date;
1851
- discountMethod?: DiscountMethodsEnum;
1852
- discountValue?: number;
1853
- taxIncludedPrice?: number;
1854
- }
1855
1838
  export declare class Product extends OrganizationConnectionBaseEntity {
1856
1839
  name: string;
1857
1840
  quantity: number;
@@ -1902,14 +1885,22 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1902
1885
  activityTimes: ActivityTimes[];
1903
1886
  purchasedResources: PurchasedResource[];
1904
1887
  }
1905
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1888
+ export declare class Price extends OrganizationConnectionBaseEntity {
1906
1889
  productId: number;
1907
- maxMonths?: number;
1908
- dayOfMonth?: number;
1909
- name: string;
1890
+ product: Product;
1891
+ name: string | null;
1892
+ price: number;
1893
+ currency: CurrencyEnum;
1894
+ paymentProcessorId: number | null;
1895
+ startDate: Date;
1896
+ endDate: Date;
1897
+ groupId?: number;
1898
+ groupName?: string;
1899
+ originalPrice?: number;
1910
1900
  deletedAt?: Date;
1911
- schedule: PaymentPlanSchedule[];
1912
- product?: Product;
1901
+ discountMethod?: DiscountMethodsEnum;
1902
+ discountValue?: number;
1903
+ taxIncludedPrice?: number;
1913
1904
  }
1914
1905
  export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1915
1906
  parentProductId: number;
@@ -1926,6 +1917,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1926
1917
  durationDays?: number;
1927
1918
  level?: ProductPackageLevelEnum;
1928
1919
  }
1920
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1921
+ productId: number;
1922
+ maxMonths?: number;
1923
+ dayOfMonth?: number;
1924
+ name: string;
1925
+ deletedAt?: Date;
1926
+ schedule: PaymentPlanSchedule[];
1927
+ product?: Product;
1928
+ }
1929
1929
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1930
1930
  productId: number;
1931
1931
  resourceId: number;
@@ -2080,11 +2080,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2080
2080
  title: string | null;
2081
2081
  answerTitle: AnswerTitle;
2082
2082
  }
2083
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2084
- reason: string;
2085
- ordinal: number;
2086
- deletedAt: Date;
2087
- }
2088
2083
  export declare class Questions extends BondBaseEntity {
2089
2084
  questionType: string | null;
2090
2085
  ordinal: number | null;
@@ -2099,6 +2094,11 @@ export declare class Questions extends BondBaseEntity {
2099
2094
  ownerId: number | null;
2100
2095
  questionnaireId: number | null;
2101
2096
  }
2097
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2098
+ reason: string;
2099
+ ordinal: number;
2100
+ deletedAt: Date;
2101
+ }
2102
2102
  export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2103
2103
  resourceType: ResourceNameTypeEnum;
2104
2104
  resourceId: number;
@@ -2110,6 +2110,34 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2110
2110
  closeTime?: string;
2111
2111
  deletedAt?: Date;
2112
2112
  }
2113
+ export declare class Resource extends OrganizationConnectionBaseEntity {
2114
+ name: string;
2115
+ resourceType: ResourceTypeEnum;
2116
+ resourceSubType: ResourceSubTypeEnum;
2117
+ description?: string;
2118
+ longDescription?: string;
2119
+ surface?: SurfacesEnum;
2120
+ properties?: SpacePropertiesEnum[];
2121
+ mainMediaId?: number;
2122
+ mainMedia: Media;
2123
+ sports: SportsEnum[];
2124
+ width?: number;
2125
+ length?: number;
2126
+ amenities?: AmenitiesEnum[];
2127
+ parentSpaceId?: number;
2128
+ ordinal?: number;
2129
+ isAddOn: boolean;
2130
+ ages?: ResourceAgesEnum;
2131
+ deletedAt?: Date;
2132
+ activityTimes: ActivityTimes[];
2133
+ facilities: Facility[];
2134
+ slots?: Slot[];
2135
+ addons?: Addon[];
2136
+ facilityId: number;
2137
+ facility: Facility;
2138
+ purchasedResources: PurchasedResource[];
2139
+ linkSEO: string;
2140
+ }
2113
2141
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2114
2142
  name?: string;
2115
2143
  description?: string;
@@ -2149,34 +2177,6 @@ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2149
2177
  childrenSlotIds: number[];
2150
2178
  deletedAt?: Date;
2151
2179
  }
2152
- export declare class Resource extends OrganizationConnectionBaseEntity {
2153
- name: string;
2154
- resourceType: ResourceTypeEnum;
2155
- resourceSubType: ResourceSubTypeEnum;
2156
- description?: string;
2157
- longDescription?: string;
2158
- surface?: SurfacesEnum;
2159
- properties?: SpacePropertiesEnum[];
2160
- mainMediaId?: number;
2161
- mainMedia: Media;
2162
- sports: SportsEnum[];
2163
- width?: number;
2164
- length?: number;
2165
- amenities?: AmenitiesEnum[];
2166
- parentSpaceId?: number;
2167
- ordinal?: number;
2168
- isAddOn: boolean;
2169
- ages?: ResourceAgesEnum;
2170
- deletedAt?: Date;
2171
- activityTimes: ActivityTimes[];
2172
- facilities: Facility[];
2173
- slots?: Slot[];
2174
- addons?: Addon[];
2175
- facilityId: number;
2176
- facility: Facility;
2177
- purchasedResources: PurchasedResource[];
2178
- linkSEO: string;
2179
- }
2180
2180
  export declare class School extends BondBaseEntity {
2181
2181
  name: string | null;
2182
2182
  alias: string[] | null;
@@ -2185,20 +2185,6 @@ export declare class School extends BondBaseEntity {
2185
2185
  phone: string | null;
2186
2186
  dataId: number | null;
2187
2187
  }
2188
- export declare class SeasonAttendee extends BondBaseEntity {
2189
- status: RequestStatusEnum;
2190
- paymentStatus: PaymentStatusEnum;
2191
- paymentId?: number;
2192
- productId?: number;
2193
- attendeeId: number;
2194
- attendee: User;
2195
- seasonId: number;
2196
- season: ProgramSeason;
2197
- productUserId?: number;
2198
- answerTitleIds?: number[];
2199
- deletedAt?: Date;
2200
- purchasedResource: PurchasedResource;
2201
- }
2202
2188
  export declare class SeasonDivisions extends BondBaseEntity {
2203
2189
  name: string | null;
2204
2190
  ordinal: number | null;
@@ -2220,6 +2206,20 @@ export declare class SeasonPool extends BondBaseEntity {
2220
2206
  purchasedResource: PurchasedResource;
2221
2207
  season: LeagueSeason;
2222
2208
  }
2209
+ export declare class SeasonAttendee extends BondBaseEntity {
2210
+ status: RequestStatusEnum;
2211
+ paymentStatus: PaymentStatusEnum;
2212
+ paymentId?: number;
2213
+ productId?: number;
2214
+ attendeeId: number;
2215
+ attendee: User;
2216
+ seasonId: number;
2217
+ season: ProgramSeason;
2218
+ productUserId?: number;
2219
+ answerTitleIds?: number[];
2220
+ deletedAt?: Date;
2221
+ purchasedResource: PurchasedResource;
2222
+ }
2223
2223
  export declare class SeasonTeam extends BondBaseEntity {
2224
2224
  seasonId: number | null;
2225
2225
  teamId: number | null;
@@ -2230,6 +2230,17 @@ export declare class SeasonTeam extends BondBaseEntity {
2230
2230
  metaData: any | null;
2231
2231
  team: Team;
2232
2232
  }
2233
+ export declare class Station extends OrganizationConnectionBaseEntity {
2234
+ name: string;
2235
+ facilityId: number;
2236
+ processorTerminalId: string | null;
2237
+ terminaLabel: string | null;
2238
+ processorSerialNumber: string | null;
2239
+ currentOpenShift?: Shift;
2240
+ stationToSubcategories: StationToSubcategory[];
2241
+ subcategories: Subcategory[];
2242
+ shifts?: Shift[];
2243
+ }
2233
2244
  export declare class SpacesDependency extends BondBaseEntity {
2234
2245
  blockingSpaceId: number;
2235
2246
  blockedSpaceId: number;
@@ -2242,17 +2253,6 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
2242
2253
  station: Station;
2243
2254
  subcategory: Subcategory;
2244
2255
  }
2245
- export declare class Station extends OrganizationConnectionBaseEntity {
2246
- name: string;
2247
- facilityId: number;
2248
- processorTerminalId: string | null;
2249
- terminaLabel: string | null;
2250
- processorSerialNumber: string | null;
2251
- currentOpenShift?: Shift;
2252
- stationToSubcategories: StationToSubcategory[];
2253
- subcategories: Subcategory[];
2254
- shifts?: Shift[];
2255
- }
2256
2256
  export declare class Subcategory extends OrganizationConnectionBaseEntity {
2257
2257
  productType: ProductTypesEnum;
2258
2258
  name: string;
@@ -2358,14 +2358,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
2358
2358
  entityType: UserAuthorizationsTypeEnum;
2359
2359
  user: User;
2360
2360
  }
2361
- export declare class UserPaymentMethod extends BondBaseEntity {
2362
- userId: number;
2363
- failCount: number;
2364
- isDefault?: boolean;
2365
- paymentMethodType: PaymentMethodTypeEnum;
2366
- paymentMethodId: string;
2367
- nextAllowedChargeDate?: Date;
2368
- }
2369
2361
  export declare class UserInFamilyAccount extends BondBaseEntity {
2370
2362
  familyAccountId: number;
2371
2363
  userId: number;
@@ -2374,6 +2366,14 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
2374
2366
  familyAccount: FamilyAccount;
2375
2367
  deletedAt?: Date;
2376
2368
  }
2369
+ export declare class UserPaymentMethod extends BondBaseEntity {
2370
+ userId: number;
2371
+ failCount: number;
2372
+ isDefault?: boolean;
2373
+ paymentMethodType: PaymentMethodTypeEnum;
2374
+ paymentMethodId: string;
2375
+ nextAllowedChargeDate?: Date;
2376
+ }
2377
2377
  export declare class UsersInGroup extends BondBaseEntity {
2378
2378
  groupId: number;
2379
2379
  userId: number;
@@ -3358,14 +3358,12 @@ export declare class ImportedPaymentDto {
3358
3358
  date: string;
3359
3359
  time: string;
3360
3360
  }
3361
- export declare class ProductIdsDto {
3362
- productIds?: number[];
3363
- }
3364
- export declare class ProductImportDto {
3365
- product: Product;
3366
- prices: Price[];
3367
- resourceIds: number[];
3368
- oldId: number;
3361
+ export declare class PunchPassDto {
3362
+ CustomerID: string;
3363
+ QuantityLeft: number;
3364
+ BondProgramID: number;
3365
+ BondSessionID: number;
3366
+ ProductID: number;
3369
3367
  }
3370
3368
  export declare class ImportedSlotProductDto {
3371
3369
  slotID?: string;
@@ -3418,6 +3416,15 @@ export declare class ImportedReservationDto {
3418
3416
  slots?: ImportedSlotDto[];
3419
3417
  addons?: ImportedSlotProductDto[];
3420
3418
  }
3419
+ export declare class ProductIdsDto {
3420
+ productIds?: number[];
3421
+ }
3422
+ export declare class ProductImportDto {
3423
+ product: Product;
3424
+ prices: Price[];
3425
+ resourceIds: number[];
3426
+ oldId: number;
3427
+ }
3421
3428
  export declare class GameSlots extends BondBaseEntity {
3422
3429
  entityType: string;
3423
3430
  entityId: number;
@@ -3431,13 +3438,6 @@ export declare class MatchParticipants extends BondBaseEntity {
3431
3438
  score: number | null;
3432
3439
  gameSlotId: number | null;
3433
3440
  }
3434
- export declare class PunchPassDto {
3435
- CustomerID: string;
3436
- QuantityLeft: number;
3437
- BondProgramID: number;
3438
- BondSessionID: number;
3439
- ProductID: number;
3440
- }
3441
3441
  export declare class Matches extends BondBaseEntity {
3442
3442
  eventId: number | null;
3443
3443
  status: number | null;
@@ -3450,17 +3450,17 @@ export declare class RoundEvents extends BaseEntity {
3450
3450
  createdAt: Date;
3451
3451
  updatedAt: Date;
3452
3452
  }
3453
- export declare class TeamEvents extends BondBaseEntity {
3454
- teamId: number | null;
3455
- eventId: number | null;
3456
- status: number | null;
3457
- }
3458
3453
  export declare class SeasonRounds extends BondBaseEntity {
3459
3454
  seasonId: number;
3460
3455
  ordinal?: number;
3461
3456
  divisionId?: number;
3462
3457
  name: string;
3463
3458
  }
3459
+ export declare class TeamEvents extends BondBaseEntity {
3460
+ teamId: number | null;
3461
+ eventId: number | null;
3462
+ status: number | null;
3463
+ }
3464
3464
  export declare class Lock extends BondBaseEntity {
3465
3465
  name: string;
3466
3466
  locked?: Date;
@@ -3770,16 +3770,6 @@ export declare class VoidLineItemDto {
3770
3770
  isEdit?: boolean;
3771
3771
  amount?: number;
3772
3772
  }
3773
- export interface RefundResult extends PaymentsResults {
3774
- successfulLineItems: RefundLineItemAmountDto[];
3775
- failedLineItems: RefundLineItemAmountDto[];
3776
- invoice?: Invoice;
3777
- }
3778
- export interface RefundResultWithLineItemsDict extends PaymentsResults {
3779
- successfulLineItems: Map<number, RefundLineItemAmountDto>;
3780
- failedLineItems: Map<number, RefundLineItemAmountDto>;
3781
- totalAmountProcessed: number;
3782
- }
3783
3773
  export interface PaymentResult {
3784
3774
  paymentMethodId: string;
3785
3775
  paymentMethodType: PaymentMethodTypeEnum;
@@ -3805,6 +3795,16 @@ export interface ExtendedLineItems {
3805
3795
  products: LineItems[];
3806
3796
  events: LineItems[];
3807
3797
  }
3798
+ export interface RefundResult extends PaymentsResults {
3799
+ successfulLineItems: RefundLineItemAmountDto[];
3800
+ failedLineItems: RefundLineItemAmountDto[];
3801
+ invoice?: Invoice;
3802
+ }
3803
+ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3804
+ successfulLineItems: Map<number, RefundLineItemAmountDto>;
3805
+ failedLineItems: Map<number, RefundLineItemAmountDto>;
3806
+ totalAmountProcessed: number;
3807
+ }
3808
3808
  export declare class AddonDto {
3809
3809
  productId: number;
3810
3810
  id?: number;
@@ -3873,6 +3873,13 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3873
3873
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3874
3874
  segments: SegmentDto[];
3875
3875
  }
3876
+ export declare class MaintenanceDto {
3877
+ id?: number;
3878
+ title: string;
3879
+ durationValue: number;
3880
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3881
+ maintenanceTiming: MaintenanceTimingEnum;
3882
+ }
3876
3883
  export declare class LineItemDto {
3877
3884
  id?: number;
3878
3885
  invoiceId?: number;
@@ -3900,13 +3907,6 @@ export declare class LineItemDto {
3900
3907
  parentOrdinal?: number;
3901
3908
  totalPrice?: number;
3902
3909
  }
3903
- export declare class MaintenanceDto {
3904
- id?: number;
3905
- title: string;
3906
- durationValue: number;
3907
- maintenanceDurationdurationType: DurationUnitTypesEnum;
3908
- maintenanceTiming: MaintenanceTimingEnum;
3909
- }
3910
3910
  export declare class PurchasedResourceDto {
3911
3911
  resourceId?: number;
3912
3912
  resourceType: ResourceNameTypeEnum;
@@ -3915,6 +3915,34 @@ export declare class PurchasedResourceDto {
3915
3915
  endDate?: string;
3916
3916
  endTime?: string;
3917
3917
  }
3918
+ export declare class SegmentDto {
3919
+ id?: number;
3920
+ title: string;
3921
+ isPrivate: boolean;
3922
+ resourceIds: number[];
3923
+ sportId?: number;
3924
+ series: SeriesDto[];
3925
+ addonIds?: number[];
3926
+ publicNotesForSlots?: string;
3927
+ privateNotesForSlots?: string;
3928
+ }
3929
+ export declare class SeriesDto {
3930
+ id?: number;
3931
+ startDate: string;
3932
+ startTime?: string;
3933
+ endDate?: string;
3934
+ endTime?: string;
3935
+ slotDurationType: SlotDurationTypeEnum;
3936
+ durationEndsAfter?: number;
3937
+ durationUnit?: DurationUnitTypesEnum;
3938
+ frequency: FrequencyEnum;
3939
+ repeatEvery?: number;
3940
+ repeatOn?: number[];
3941
+ repeatEndDate?: string;
3942
+ numberOccurrences?: number;
3943
+ maintenance?: MaintenanceDto[];
3944
+ slots?: SlotDto[];
3945
+ }
3918
3946
  export declare class ReservationDto {
3919
3947
  id?: number;
3920
3948
  organizationId?: number;
@@ -4068,34 +4096,6 @@ export declare class UpdateReservationInvoiceDto {
4068
4096
  updateAddons?: boolean;
4069
4097
  updateMaintenance?: boolean;
4070
4098
  }
4071
- export declare class SegmentDto {
4072
- id?: number;
4073
- title: string;
4074
- isPrivate: boolean;
4075
- resourceIds: number[];
4076
- sportId?: number;
4077
- series: SeriesDto[];
4078
- addonIds?: number[];
4079
- publicNotesForSlots?: string;
4080
- privateNotesForSlots?: string;
4081
- }
4082
- export declare class SeriesDto {
4083
- id?: number;
4084
- startDate: string;
4085
- startTime?: string;
4086
- endDate?: string;
4087
- endTime?: string;
4088
- slotDurationType: SlotDurationTypeEnum;
4089
- durationEndsAfter?: number;
4090
- durationUnit?: DurationUnitTypesEnum;
4091
- frequency: FrequencyEnum;
4092
- repeatEvery?: number;
4093
- repeatOn?: number[];
4094
- repeatEndDate?: string;
4095
- numberOccurrences?: number;
4096
- maintenance?: MaintenanceDto[];
4097
- slots?: SlotDto[];
4098
- }
4099
4099
  export declare class SlotDateTimeAndSpace {
4100
4100
  startDate: string;
4101
4101
  startTime?: string;
@@ -4195,165 +4195,6 @@ export declare class BookingV1Dto {
4195
4195
  cashPayment: boolean;
4196
4196
  requestOnly: boolean;
4197
4197
  }
4198
- export declare class Addon extends OrganizationConnectionBaseEntity {
4199
- parentId: number;
4200
- parentType: AddonParentTypeEnum;
4201
- productId: number;
4202
- product?: Product;
4203
- quantity: number;
4204
- unitPrice: number;
4205
- totalPrice: number;
4206
- approvalStatus: ReservationStatusEnum;
4207
- paymentStatus: ReservationPaymentStatusEnum;
4208
- level?: ProductPackageLevelEnum;
4209
- resourceId?: number;
4210
- resource?: Resource;
4211
- invoiceId?: number;
4212
- invoice?: Invoice;
4213
- productUserId?: number;
4214
- productUser?: ProductsUsers;
4215
- previousProductUsersIds?: number[];
4216
- previousProductUsers?: ProductsUsers[];
4217
- }
4218
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4219
- deletedAt?: Date;
4220
- reservationId: number;
4221
- invoiceId: number;
4222
- slotId: number;
4223
- }
4224
- export declare class Reservation extends OrganizationConnectionBaseEntity {
4225
- name?: string;
4226
- description?: string;
4227
- approvalStatus?: ReservationStatusEnum;
4228
- privacySetting?: string;
4229
- reservationType?: ReservationTypeEnum;
4230
- invoiceId?: string;
4231
- customerId?: number;
4232
- customer?: Customer;
4233
- price?: number;
4234
- paymentStatus?: ReservationPaymentStatusEnum;
4235
- startTime?: string;
4236
- startDate?: Date;
4237
- endDate?: Date;
4238
- creatorId?: number;
4239
- creatorType?: ResourceNameTypeEnum;
4240
- userCreatorId?: number;
4241
- sportType?: number;
4242
- deletedAt?: Date;
4243
- publicNotes?: string;
4244
- privateNotes?: string;
4245
- forms?: number[] | null;
4246
- answerTitleIds?: number[] | null;
4247
- segments?: Segment[];
4248
- migrationStatus?: string;
4249
- addons: Addon[];
4250
- overrideProductsPrice: {
4251
- productId: number;
4252
- price: number;
4253
- }[];
4254
- targetGlobalPrice?: number;
4255
- slots: Slot[];
4256
- }
4257
- export declare class Segment extends OrganizationConnectionBaseEntity {
4258
- deletedAt?: Date;
4259
- reservationId: number;
4260
- title: string;
4261
- isPrivate: boolean;
4262
- resourceIds?: number[];
4263
- sportId: number;
4264
- reservation?: Reservation;
4265
- series?: Series[];
4266
- addonIds?: number[] | null;
4267
- publicNotesForSlots?: string;
4268
- privateNotesForSlots?: string;
4269
- slots?: Slot[];
4270
- }
4271
- export declare class Series extends OrganizationConnectionBaseEntity {
4272
- deletedAt?: Date;
4273
- segmentId: number;
4274
- segment?: Segment;
4275
- slots?: Slot[];
4276
- slotDurationType: string;
4277
- durationEndsAfter: number;
4278
- durationUnit: string;
4279
- startDate?: Date;
4280
- endDate?: Date;
4281
- startTime: string;
4282
- endTime: string;
4283
- frequency: string;
4284
- repeatEvery: number;
4285
- repeatOn?: number[];
4286
- repeatEndDate?: Date;
4287
- numberOccurrences?: number;
4288
- resources?: Resource[];
4289
- }
4290
- export declare class Slot extends OrganizationConnectionBaseEntity {
4291
- constructor();
4292
- defineIsReverted(): void;
4293
- isReverted: boolean;
4294
- reservationId: number;
4295
- reservation: Reservation;
4296
- title?: string;
4297
- creatorId?: number;
4298
- creatorType?: string;
4299
- userCreatorId?: number;
4300
- startDate: Date;
4301
- endDate: Date;
4302
- startTime: string;
4303
- endTime: string;
4304
- timezone?: string;
4305
- spaceId?: number;
4306
- resource?: Resource;
4307
- deletedAt?: Date;
4308
- publicNotes?: string;
4309
- privateNotes?: string;
4310
- slotType: SlotTypeEnum;
4311
- productsUserId?: number;
4312
- productUser?: ProductsUsers;
4313
- product?: Product;
4314
- addons: Addon[];
4315
- addonsProductUserIds?: number[] | null;
4316
- addonsMetadata: AddonMetadata[];
4317
- segmentId: number;
4318
- segment: Segment;
4319
- eventId: number;
4320
- event: Event;
4321
- sportIds: number[];
4322
- parentSlotId?: number;
4323
- parent?: Slot;
4324
- children?: Slot[];
4325
- maintenanceDurationdurationType: string;
4326
- maintenanceTiming: number;
4327
- durationValue: number;
4328
- seriesId?: number;
4329
- series?: Series;
4330
- invoiceId?: number;
4331
- invoice?: Invoice;
4332
- paymentStatus: ReservationPaymentStatusEnum;
4333
- approvalStatus?: ReservationStatusEnum;
4334
- displayName?: string;
4335
- internalName?: string;
4336
- activityTypes?: number[] | null;
4337
- hourlyRate: number;
4338
- totalPrice: number;
4339
- isConsumerVisible: boolean;
4340
- isMonitorVisible: boolean;
4341
- isPrivate: boolean;
4342
- occurrence?: number;
4343
- maintenance?: Slot[];
4344
- productMetadata: {
4345
- productId: number;
4346
- price: number;
4347
- };
4348
- slotDurationType: string;
4349
- previousProductUsersIds?: number[];
4350
- previousProductUsers?: ProductsUsers[];
4351
- changeLineItemIds?: number[];
4352
- changeLineItems?: LineItems[];
4353
- updatedLineItem?: LineItems;
4354
- conflictsCount?: number;
4355
- conflicts?: Slot[];
4356
- }
4357
4198
  export declare enum LineItemResourceEnum {
4358
4199
  SEGMENTS = "segments",
4359
4200
  SERIES = "series",
@@ -4624,12 +4465,171 @@ export interface OverridePriceMeta {
4624
4465
  quantity: number;
4625
4466
  totalPrice: number;
4626
4467
  }
4627
- export declare class CreateRoleDto {
4628
- name: string;
4468
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4469
+ parentId: number;
4470
+ parentType: AddonParentTypeEnum;
4471
+ productId: number;
4472
+ product?: Product;
4473
+ quantity: number;
4474
+ unitPrice: number;
4475
+ totalPrice: number;
4476
+ approvalStatus: ReservationStatusEnum;
4477
+ paymentStatus: ReservationPaymentStatusEnum;
4478
+ level?: ProductPackageLevelEnum;
4479
+ resourceId?: number;
4480
+ resource?: Resource;
4481
+ invoiceId?: number;
4482
+ invoice?: Invoice;
4483
+ productUserId?: number;
4484
+ productUser?: ProductsUsers;
4485
+ previousProductUsersIds?: number[];
4486
+ previousProductUsers?: ProductsUsers[];
4487
+ }
4488
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4489
+ deletedAt?: Date;
4490
+ reservationId: number;
4491
+ invoiceId: number;
4492
+ slotId: number;
4493
+ }
4494
+ export declare class Reservation extends OrganizationConnectionBaseEntity {
4495
+ name?: string;
4496
+ description?: string;
4497
+ approvalStatus?: ReservationStatusEnum;
4498
+ privacySetting?: string;
4499
+ reservationType?: ReservationTypeEnum;
4500
+ invoiceId?: string;
4501
+ customerId?: number;
4502
+ customer?: Customer;
4503
+ price?: number;
4504
+ paymentStatus?: ReservationPaymentStatusEnum;
4505
+ startTime?: string;
4506
+ startDate?: Date;
4507
+ endDate?: Date;
4508
+ creatorId?: number;
4509
+ creatorType?: ResourceNameTypeEnum;
4510
+ userCreatorId?: number;
4511
+ sportType?: number;
4512
+ deletedAt?: Date;
4513
+ publicNotes?: string;
4514
+ privateNotes?: string;
4515
+ forms?: number[] | null;
4516
+ answerTitleIds?: number[] | null;
4517
+ segments?: Segment[];
4518
+ migrationStatus?: string;
4519
+ addons: Addon[];
4520
+ overrideProductsPrice: {
4521
+ productId: number;
4522
+ price: number;
4523
+ }[];
4524
+ targetGlobalPrice?: number;
4525
+ slots: Slot[];
4526
+ }
4527
+ export declare class Segment extends OrganizationConnectionBaseEntity {
4528
+ deletedAt?: Date;
4529
+ reservationId: number;
4530
+ title: string;
4531
+ isPrivate: boolean;
4532
+ resourceIds?: number[];
4533
+ sportId: number;
4534
+ reservation?: Reservation;
4535
+ series?: Series[];
4536
+ addonIds?: number[] | null;
4537
+ publicNotesForSlots?: string;
4538
+ privateNotesForSlots?: string;
4539
+ slots?: Slot[];
4540
+ }
4541
+ export declare class Series extends OrganizationConnectionBaseEntity {
4542
+ deletedAt?: Date;
4543
+ segmentId: number;
4544
+ segment?: Segment;
4545
+ slots?: Slot[];
4546
+ slotDurationType: string;
4547
+ durationEndsAfter: number;
4548
+ durationUnit: string;
4549
+ startDate?: Date;
4550
+ endDate?: Date;
4551
+ startTime: string;
4552
+ endTime: string;
4553
+ frequency: string;
4554
+ repeatEvery: number;
4555
+ repeatOn?: number[];
4556
+ repeatEndDate?: Date;
4557
+ numberOccurrences?: number;
4558
+ resources?: Resource[];
4559
+ }
4560
+ export declare class Slot extends OrganizationConnectionBaseEntity {
4561
+ constructor();
4562
+ defineIsReverted(): void;
4563
+ isReverted: boolean;
4564
+ reservationId: number;
4565
+ reservation: Reservation;
4566
+ title?: string;
4567
+ creatorId?: number;
4568
+ creatorType?: string;
4569
+ userCreatorId?: number;
4570
+ startDate: Date;
4571
+ endDate: Date;
4572
+ startTime: string;
4573
+ endTime: string;
4574
+ timezone?: string;
4575
+ spaceId?: number;
4576
+ resource?: Resource;
4577
+ deletedAt?: Date;
4578
+ publicNotes?: string;
4579
+ privateNotes?: string;
4580
+ slotType: SlotTypeEnum;
4581
+ productsUserId?: number;
4582
+ productUser?: ProductsUsers;
4583
+ product?: Product;
4584
+ addons: Addon[];
4585
+ addonsProductUserIds?: number[] | null;
4586
+ addonsMetadata: AddonMetadata[];
4587
+ segmentId: number;
4588
+ segment: Segment;
4589
+ eventId: number;
4590
+ event: Event;
4591
+ sportIds: number[];
4592
+ parentSlotId?: number;
4593
+ parent?: Slot;
4594
+ children?: Slot[];
4595
+ maintenanceDurationdurationType: string;
4596
+ maintenanceTiming: number;
4597
+ durationValue: number;
4598
+ seriesId?: number;
4599
+ series?: Series;
4600
+ invoiceId?: number;
4601
+ invoice?: Invoice;
4602
+ paymentStatus: ReservationPaymentStatusEnum;
4603
+ approvalStatus?: ReservationStatusEnum;
4604
+ displayName?: string;
4605
+ internalName?: string;
4606
+ activityTypes?: number[] | null;
4607
+ hourlyRate: number;
4608
+ totalPrice: number;
4609
+ isConsumerVisible: boolean;
4610
+ isMonitorVisible: boolean;
4611
+ isPrivate: boolean;
4612
+ occurrence?: number;
4613
+ maintenance?: Slot[];
4614
+ productMetadata: {
4615
+ productId: number;
4616
+ price: number;
4617
+ };
4618
+ slotDurationType: string;
4619
+ previousProductUsersIds?: number[];
4620
+ previousProductUsers?: ProductsUsers[];
4621
+ changeLineItemIds?: number[];
4622
+ changeLineItems?: LineItems[];
4623
+ updatedLineItem?: LineItems;
4624
+ conflictsCount?: number;
4625
+ conflicts?: Slot[];
4629
4626
  }
4630
4627
  export declare class ChangeRolePermissionsDto {
4631
4628
  permissionIds: number[];
4632
4629
  }
4630
+ export declare class CreateRoleDto {
4631
+ name: string;
4632
+ }
4633
4633
  export declare class Permission extends BondBaseEntity {
4634
4634
  name: string;
4635
4635
  deletedAt?: Date;
@@ -4653,13 +4653,6 @@ export declare class CloseShiftDto {
4653
4653
  export declare class FindShiftsByIdsDto {
4654
4654
  shiftIds: number[];
4655
4655
  }
4656
- export declare class ShiftManagementClosingAmount {
4657
- shiftId: number;
4658
- managementClosingCashAmount: number;
4659
- }
4660
- export declare class ManagementClosingOfShiftsDto {
4661
- managementClosingData: ShiftManagementClosingAmount[];
4662
- }
4663
4656
  export declare class FindShiftsFiltersDto {
4664
4657
  statuses?: string;
4665
4658
  stationIds?: string;
@@ -4680,10 +4673,30 @@ export declare class FindShiftsFormattedFilters {
4680
4673
  startDate?: Date;
4681
4674
  endDate?: Date;
4682
4675
  }
4676
+ export declare class ShiftManagementClosingAmount {
4677
+ shiftId: number;
4678
+ managementClosingCashAmount: number;
4679
+ }
4680
+ export declare class ManagementClosingOfShiftsDto {
4681
+ managementClosingData: ShiftManagementClosingAmount[];
4682
+ }
4683
4683
  export declare class OpenShiftDto {
4684
4684
  openingCashAmount: number;
4685
4685
  stationId: number;
4686
4686
  }
4687
+ export default interface IWebflowProgram {
4688
+ name: string;
4689
+ id: number;
4690
+ activity: string;
4691
+ backgroundImage: string;
4692
+ minAge: string;
4693
+ maxAge: string;
4694
+ shortDescription: string;
4695
+ longDescription: string;
4696
+ programType: string;
4697
+ level: string[];
4698
+ gender: string;
4699
+ }
4687
4700
  export declare class Shift extends OrganizationConnectionBaseEntity {
4688
4701
  stationId: number;
4689
4702
  station?: Station;
@@ -4713,16 +4726,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4713
4726
  closingManager?: User;
4714
4727
  reconcilingUser?: User;
4715
4728
  }
4716
- export default interface IWebflowProgram {
4717
- name: string;
4718
- id: number;
4719
- activity: string;
4720
- backgroundImage: string;
4721
- minAge: string;
4722
- maxAge: string;
4723
- shortDescription: string;
4724
- longDescription: string;
4725
- programType: string;
4726
- level: string[];
4727
- gender: string;
4728
- }