@bondsports/types 0.0.71 → 0.0.74

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
@@ -27,6 +27,64 @@ export declare class FindBookingTypeSettingDto {
27
27
  bookingDate: string;
28
28
  bookingTime: string;
29
29
  }
30
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
31
+ membershipId: number;
32
+ }
33
+ export declare class ImportProductsFromDB {
34
+ buDate: string;
35
+ }
36
+ export declare class ImportCustomerFromCSV {
37
+ fileName: string;
38
+ startIndex?: number;
39
+ }
40
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
41
+ resolveInvoices: string;
42
+ }
43
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
44
+ membershipId: number;
45
+ onlyDashIds: string;
46
+ }
47
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
48
+ facilityId: number;
49
+ }
50
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
51
+ customerId: number;
52
+ }
53
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
54
+ nameSearch?: string;
55
+ fuzzy?: string;
56
+ customerType?: CustomerTypeEnum;
57
+ customersIds?: string;
58
+ }
59
+ export declare class AddCustomerNotesDto {
60
+ customerNotes: CustomerNoteDto[];
61
+ }
62
+ export declare class CustomerNoteDto {
63
+ id?: number;
64
+ description: string;
65
+ pinToTop?: boolean;
66
+ }
67
+ export declare class AddEditCustomerDto {
68
+ firstName?: string;
69
+ lastName?: string;
70
+ entityId?: number;
71
+ entityType?: CustomerTypeEnum;
72
+ email?: string;
73
+ color?: string;
74
+ street?: string;
75
+ city?: string;
76
+ state?: string;
77
+ zip?: string;
78
+ phoneNumber?: string;
79
+ mainMediaId?: number;
80
+ creatorId?: number;
81
+ creatorType?: ResourceNameTypeEnum;
82
+ userCreatorId?: number;
83
+ gender?: GenderEnum;
84
+ birthDate?: string;
85
+ emergencyContactName?: string;
86
+ emergencyContactPhone?: string;
87
+ }
30
88
  export declare class FindEventByIdDto {
31
89
  eventId: number;
32
90
  organizationId: number;
@@ -171,64 +229,6 @@ export declare class UpdateFacilityAmenitiesDto {
171
229
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
172
230
  nameSearch?: string;
173
231
  }
174
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
175
- membershipId: number;
176
- }
177
- export declare class ImportProductsFromDB {
178
- buDate: string;
179
- }
180
- export declare class ImportCustomerFromCSV {
181
- fileName: string;
182
- startIndex?: number;
183
- }
184
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
185
- resolveInvoices: string;
186
- }
187
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
188
- membershipId: number;
189
- onlyDashIds: string;
190
- }
191
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
192
- facilityId: number;
193
- }
194
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
195
- customerId: number;
196
- }
197
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
198
- nameSearch?: string;
199
- fuzzy?: string;
200
- customerType?: CustomerTypeEnum;
201
- customersIds?: string;
202
- }
203
- export declare class AddCustomerNotesDto {
204
- customerNotes: CustomerNoteDto[];
205
- }
206
- export declare class CustomerNoteDto {
207
- id?: number;
208
- description: string;
209
- pinToTop?: boolean;
210
- }
211
- export declare class AddEditCustomerDto {
212
- firstName?: string;
213
- lastName?: string;
214
- entityId?: number;
215
- entityType?: CustomerTypeEnum;
216
- email?: string;
217
- color?: string;
218
- street?: string;
219
- city?: string;
220
- state?: string;
221
- zip?: string;
222
- phoneNumber?: string;
223
- mainMediaId?: number;
224
- creatorId?: number;
225
- creatorType?: ResourceNameTypeEnum;
226
- userCreatorId?: number;
227
- gender?: GenderEnum;
228
- birthDate?: string;
229
- emergencyContactName?: string;
230
- emergencyContactPhone?: string;
231
- }
232
232
  export declare class FindFamilyAccountsDto {
233
233
  userId: number;
234
234
  }
@@ -412,6 +412,48 @@ export declare class CancelMembershipDto {
412
412
  isImmediatelyCancel: boolean;
413
413
  cancellationReason?: string;
414
414
  }
415
+ export declare class CreateEntitlementTermsDto {
416
+ organizationId: number;
417
+ entitlementGroupId: number;
418
+ terms: IEntitlementTerms[];
419
+ }
420
+ export declare class FindEntitlementTermsByGroupIdDto {
421
+ entitlementGroupId: number;
422
+ }
423
+ export declare class FindEntitlementTermsByVariablesDto {
424
+ user: any;
425
+ userVariables: IQuestionAnswerObject[];
426
+ }
427
+ export declare class FindLowestPriceDto {
428
+ organizationId: number;
429
+ user?: any;
430
+ answers?: IQuestionAnswerObject[];
431
+ itemIds: number[];
432
+ itemType?: ResourceNameTypeEnum;
433
+ startDate?: Date;
434
+ }
435
+ export declare class FindGroupItemsPricingsDto {
436
+ groupsIds: number[];
437
+ itemsIds: number[];
438
+ }
439
+ export declare class CreateEntitlementGroupDto {
440
+ name: string;
441
+ }
442
+ export declare class GetEntitlementGroupPricingDto {
443
+ itemIds: number[];
444
+ itemType: string;
445
+ }
446
+ export declare class FindEntitlementGroupByIdDto {
447
+ groupid: number;
448
+ }
449
+ export declare class CreateGroupPricingWithProduct {
450
+ groupId: number;
451
+ price: number;
452
+ startDate?: Date;
453
+ endDate?: Date;
454
+ discountValue?: number;
455
+ discountMethod?: DiscountMethodsEnum;
456
+ }
415
457
  export declare class FindByProductIdDto {
416
458
  productId: number;
417
459
  }
@@ -632,48 +674,6 @@ export declare class createResourceDto {
632
674
  export declare class archiveDto {
633
675
  isArchive: boolean;
634
676
  }
635
- export declare class CreateEntitlementTermsDto {
636
- organizationId: number;
637
- entitlementGroupId: number;
638
- terms: IEntitlementTerms[];
639
- }
640
- export declare class FindEntitlementTermsByGroupIdDto {
641
- entitlementGroupId: number;
642
- }
643
- export declare class FindEntitlementTermsByVariablesDto {
644
- user: any;
645
- userVariables: IQuestionAnswerObject[];
646
- }
647
- export declare class FindLowestPriceDto {
648
- organizationId: number;
649
- user?: any;
650
- answers?: IQuestionAnswerObject[];
651
- itemIds: number[];
652
- itemType?: ResourceNameTypeEnum;
653
- startDate?: Date;
654
- }
655
- export declare class FindGroupItemsPricingsDto {
656
- groupsIds: number[];
657
- itemsIds: number[];
658
- }
659
- export declare class CreateEntitlementGroupDto {
660
- name: string;
661
- }
662
- export declare class GetEntitlementGroupPricingDto {
663
- itemIds: number[];
664
- itemType: string;
665
- }
666
- export declare class FindEntitlementGroupByIdDto {
667
- groupid: number;
668
- }
669
- export declare class CreateGroupPricingWithProduct {
670
- groupId: number;
671
- price: number;
672
- startDate?: Date;
673
- endDate?: Date;
674
- discountValue?: number;
675
- discountMethod?: DiscountMethodsEnum;
676
- }
677
677
  export declare class CreateUpdateVariantsDto {
678
678
  organizationId: number;
679
679
  parentProductId: number;
@@ -1111,12 +1111,6 @@ export declare class Address extends BondBaseEntity {
1111
1111
  geo: any;
1112
1112
  deletedAt?: Date;
1113
1113
  }
1114
- export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1115
- questionnaireId: number;
1116
- userId?: number;
1117
- answers: Answer[];
1118
- questionnaire: Questionnaires;
1119
- }
1120
1114
  export declare class Answer extends OrganizationConnectionBaseEntity {
1121
1115
  questionId: number;
1122
1116
  question?: Questions;
@@ -1130,6 +1124,12 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1130
1124
  metaData: any | null;
1131
1125
  questionText: string | null;
1132
1126
  }
1127
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1128
+ questionnaireId: number;
1129
+ userId?: number;
1130
+ answers: Answer[];
1131
+ questionnaire: Questionnaires;
1132
+ }
1133
1133
  export declare class Athlete extends BondBaseEntity {
1134
1134
  userId: number | null;
1135
1135
  metadata: object | null;
@@ -1246,12 +1246,6 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1246
1246
  order: Order;
1247
1247
  invoice: Invoice;
1248
1248
  }
1249
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1250
- customerId?: number;
1251
- description: string;
1252
- pinToTop?: boolean;
1253
- customer: Customer;
1254
- }
1255
1249
  export declare class Division extends BondBaseEntity {
1256
1250
  name: string;
1257
1251
  ordinal?: number;
@@ -1266,6 +1260,12 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1266
1260
  phoneNumber: string | null;
1267
1261
  customer: Customer;
1268
1262
  }
1263
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1264
+ customerId?: number;
1265
+ description: string;
1266
+ pinToTop?: boolean;
1267
+ customer: Customer;
1268
+ }
1269
1269
  export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1270
1270
  name: string | null;
1271
1271
  }
@@ -1728,6 +1728,15 @@ export declare class Order extends BondBaseEntity {
1728
1728
  orderNotes: OrderNote[];
1729
1729
  slots: Slot[];
1730
1730
  }
1731
+ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1732
+ content: string;
1733
+ creatingUserId: number;
1734
+ user: User;
1735
+ isPublic: boolean;
1736
+ deletedAt: Date;
1737
+ orderId: number;
1738
+ order: Order;
1739
+ }
1731
1740
  export declare class OrderToInvoice extends BondBaseEntity {
1732
1741
  orderId: number;
1733
1742
  invoiceId: number;
@@ -1762,14 +1771,11 @@ export declare class PasswordReset extends BondBaseEntity {
1762
1771
  validUntil: Date | null;
1763
1772
  active: boolean | null;
1764
1773
  }
1765
- export declare class OrderNote extends OrganizationConnectionBaseEntity {
1766
- content: string;
1767
- creatingUserId: number;
1768
- user: User;
1769
- isPublic: boolean;
1770
- deletedAt: Date;
1771
- orderId: number;
1772
- order: Order;
1774
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1775
+ paymentPlanId: number;
1776
+ paymentDate: Date;
1777
+ deletedAt?: Date;
1778
+ paymentPlan: ProductPaymentPlan;
1773
1779
  }
1774
1780
  export declare class PaymentV1 extends BondBaseEntity {
1775
1781
  userId: number | null;
@@ -1789,12 +1795,6 @@ export declare class PaymentV1 extends BondBaseEntity {
1789
1795
  installmentId: number | null;
1790
1796
  orderId: string | null;
1791
1797
  }
1792
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1793
- paymentPlanId: number;
1794
- paymentDate: Date;
1795
- deletedAt?: Date;
1796
- paymentPlan: ProductPaymentPlan;
1797
- }
1798
1798
  export declare class Price extends OrganizationConnectionBaseEntity {
1799
1799
  productId: number;
1800
1800
  product: Product;
@@ -1810,6 +1810,7 @@ export declare class Price extends OrganizationConnectionBaseEntity {
1810
1810
  deletedAt?: Date;
1811
1811
  discountMethod?: DiscountMethodsEnum;
1812
1812
  discountValue?: number;
1813
+ taxIncludedPrice?: number;
1813
1814
  }
1814
1815
  export declare class Product extends OrganizationConnectionBaseEntity {
1815
1816
  name: string;
@@ -1928,6 +1929,28 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1928
1929
  slots?: Slot[];
1929
1930
  addons?: Addon[];
1930
1931
  }
1932
+ export declare class Program extends BondBaseEntity {
1933
+ type: ProgramTypesEnum;
1934
+ name: string;
1935
+ sport: SportsEnum;
1936
+ minAge: string;
1937
+ maxAge: string;
1938
+ gender: GenderEnum;
1939
+ level: LevelOfPlayEnum[] | null;
1940
+ description: string | null;
1941
+ GL?: string | null;
1942
+ status: PublishingStatusEnum;
1943
+ mainMedia: Media;
1944
+ organizationId: number;
1945
+ userCreatorId: number;
1946
+ programHighlights: ProgramHighlights[];
1947
+ linkSEO: string;
1948
+ longDescription?: string;
1949
+ requiredProductIds: number[] | null;
1950
+ deletedAt?: Date;
1951
+ programSeason: ProgramSeason[];
1952
+ purchasedResources: PurchasedResource[];
1953
+ }
1931
1954
  export declare class ProgramHighlights extends BondBaseEntity {
1932
1955
  type: ProgramHighlightTypeEnum;
1933
1956
  ordinal: number | null;
@@ -1990,28 +2013,6 @@ export declare class ProgramSeason extends BondBaseEntity {
1990
2013
  facility: Facility;
1991
2014
  purchasedResources: PurchasedResource[];
1992
2015
  }
1993
- export declare class Program extends BondBaseEntity {
1994
- type: ProgramTypesEnum;
1995
- name: string;
1996
- sport: SportsEnum;
1997
- minAge: string;
1998
- maxAge: string;
1999
- gender: GenderEnum;
2000
- level: LevelOfPlayEnum[] | null;
2001
- description: string | null;
2002
- GL?: string | null;
2003
- status: PublishingStatusEnum;
2004
- mainMedia: Media;
2005
- organizationId: number;
2006
- userCreatorId: number;
2007
- programHighlights: ProgramHighlights[];
2008
- linkSEO: string;
2009
- longDescription?: string;
2010
- requiredProductIds: number[] | null;
2011
- deletedAt?: Date;
2012
- programSeason: ProgramSeason[];
2013
- purchasedResources: PurchasedResource[];
2014
- }
2015
2016
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2016
2017
  productUserId: number;
2017
2018
  resourceId: number;
@@ -2253,15 +2254,6 @@ export declare class Team extends BondBaseEntity {
2253
2254
  gender: number | null;
2254
2255
  questionnaireId: number | null;
2255
2256
  }
2256
- export declare class TeamInvite extends BondBaseEntity {
2257
- email: string;
2258
- teamId: number;
2259
- invitedUserId?: number;
2260
- userCreatorId: number;
2261
- token: string;
2262
- tokenExpirationDate: Date;
2263
- isUsed: boolean;
2264
- }
2265
2257
  export declare class TeamMember extends BondBaseEntity {
2266
2258
  teamId: number | null;
2267
2259
  userId: number | null;
@@ -2310,6 +2302,15 @@ export declare class User extends BondBaseEntity {
2310
2302
  orderNotes: OrderNote[];
2311
2303
  invoiceNotes: InvoiceNote[];
2312
2304
  }
2305
+ export declare class TeamInvite extends BondBaseEntity {
2306
+ email: string;
2307
+ teamId: number;
2308
+ invitedUserId?: number;
2309
+ userCreatorId: number;
2310
+ token: string;
2311
+ tokenExpirationDate: Date;
2312
+ isUsed: boolean;
2313
+ }
2313
2314
  export declare class UserAuthorizations extends BondBaseEntity {
2314
2315
  entityId: number | null;
2315
2316
  userId: number | null;
@@ -3239,6 +3240,41 @@ export declare class ColumnNumericTransformer {
3239
3240
  from(data: string): number;
3240
3241
  }
3241
3242
  export declare function convertToNumber(data: string): number;
3243
+ export declare enum ImportPaymentTypeEnum {
3244
+ CREDIT_CARD = "card",
3245
+ ACH = "ach",
3246
+ CASH = "cash",
3247
+ CHECK = "check",
3248
+ CARD_ON_TERMINAL = "card-on-terminal",
3249
+ OTHER = "other"
3250
+ }
3251
+ export declare class ImportedInvoiceLineDto {
3252
+ invoiceID?: string;
3253
+ description: string;
3254
+ createdDate: string;
3255
+ createdTime: string;
3256
+ quantity: string;
3257
+ price: string;
3258
+ total: string;
3259
+ customerID: string;
3260
+ resourceType: string;
3261
+ resourceID: string;
3262
+ }
3263
+ export declare class ImportedInvoiceDto {
3264
+ customerId?: string;
3265
+ total?: string;
3266
+ amountDue?: string;
3267
+ payments?: ImportedPaymentDto[];
3268
+ lines: any;
3269
+ }
3270
+ export declare class ImportedPaymentDto {
3271
+ invoiceID: string;
3272
+ type: ImportPaymentTypeEnum;
3273
+ description: string;
3274
+ paid: string;
3275
+ date: string;
3276
+ time: string;
3277
+ }
3242
3278
  export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3243
3279
  name?: string;
3244
3280
  genderStr?: string;
@@ -3253,13 +3289,6 @@ export declare class AddFamilyDto {
3253
3289
  parents: AddImportedCustomerDto[];
3254
3290
  children: AddImportedCustomerDto[];
3255
3291
  }
3256
- export declare class PunchPassDto {
3257
- CustomerID: string;
3258
- QuantityLeft: number;
3259
- BondProgramID: number;
3260
- BondSessionID: number;
3261
- ProductID: number;
3262
- }
3263
3292
  export declare class ProductIdsDto {
3264
3293
  productIds?: number[];
3265
3294
  }
@@ -3269,6 +3298,26 @@ export declare class ProductImportDto {
3269
3298
  resourceIds: number[];
3270
3299
  oldId: number;
3271
3300
  }
3301
+ export declare class PunchPassDto {
3302
+ CustomerID: string;
3303
+ QuantityLeft: number;
3304
+ BondProgramID: number;
3305
+ BondSessionID: number;
3306
+ ProductID: number;
3307
+ }
3308
+ export declare class GameSlots extends BondBaseEntity {
3309
+ entityType: string;
3310
+ entityId: number;
3311
+ }
3312
+ export declare class MatchParticipants extends BondBaseEntity {
3313
+ matchId: number | null;
3314
+ ordinal: number | null;
3315
+ outcomeOrdinal: number | null;
3316
+ resultMetaData: any | null;
3317
+ points: number | null;
3318
+ score: number | null;
3319
+ gameSlotId: number | null;
3320
+ }
3272
3321
  export declare class ImportedSlotProductDto {
3273
3322
  slotID?: string;
3274
3323
  name?: string;
@@ -3320,54 +3369,6 @@ export declare class ImportedReservationDto {
3320
3369
  slots?: ImportedSlotDto[];
3321
3370
  addons?: ImportedSlotProductDto[];
3322
3371
  }
3323
- export declare enum ImportPaymentTypeEnum {
3324
- CREDIT_CARD = "card",
3325
- ACH = "ach",
3326
- CASH = "cash",
3327
- CHECK = "check",
3328
- CARD_ON_TERMINAL = "card-on-terminal",
3329
- OTHER = "other"
3330
- }
3331
- export declare class ImportedInvoiceLineDto {
3332
- invoiceID?: string;
3333
- description: string;
3334
- createdDate: string;
3335
- createdTime: string;
3336
- quantity: string;
3337
- price: string;
3338
- total: string;
3339
- customerID: string;
3340
- resourceType: string;
3341
- resourceID: string;
3342
- }
3343
- export declare class ImportedInvoiceDto {
3344
- customerId?: string;
3345
- total?: string;
3346
- amountDue?: string;
3347
- payments?: ImportedPaymentDto[];
3348
- lines: any;
3349
- }
3350
- export declare class ImportedPaymentDto {
3351
- invoiceID: string;
3352
- type: ImportPaymentTypeEnum;
3353
- description: string;
3354
- paid: string;
3355
- date: string;
3356
- time: string;
3357
- }
3358
- export declare class GameSlots extends BondBaseEntity {
3359
- entityType: string;
3360
- entityId: number;
3361
- }
3362
- export declare class MatchParticipants extends BondBaseEntity {
3363
- matchId: number | null;
3364
- ordinal: number | null;
3365
- outcomeOrdinal: number | null;
3366
- resultMetaData: any | null;
3367
- points: number | null;
3368
- score: number | null;
3369
- gameSlotId: number | null;
3370
- }
3371
3372
  export declare class Matches extends BondBaseEntity {
3372
3373
  eventId: number | null;
3373
3374
  status: number | null;
@@ -3467,10 +3468,6 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
3467
3468
  version: number;
3468
3469
  organization: Organization;
3469
3470
  }
3470
- export declare class OrganizationUsers extends BondBaseEntity {
3471
- organisationId: number | null;
3472
- userId: number | null;
3473
- }
3474
3471
  export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3475
3472
  mainAdminUserId?: number;
3476
3473
  }
@@ -3591,6 +3588,16 @@ export declare class SendRequestDto {
3591
3588
  sendToEmail: string;
3592
3589
  memo?: string;
3593
3590
  }
3591
+ export declare class VoidDto {
3592
+ lineItems: VoidLineItemDto[];
3593
+ meta?: RevertMetaDto;
3594
+ }
3595
+ export declare class VoidLineItemDto {
3596
+ id: number;
3597
+ quantity?: number;
3598
+ isEdit?: boolean;
3599
+ amount?: number;
3600
+ }
3594
3601
  export declare class RefundDto {
3595
3602
  orderId: number;
3596
3603
  lineItems: RefundLineItemAmountDto[];
@@ -3613,15 +3620,9 @@ export declare class RefundLineItemAmountDto {
3613
3620
  id: number;
3614
3621
  refundAmount: number;
3615
3622
  }
3616
- export declare class VoidDto {
3617
- lineItems: VoidLineItemDto[];
3618
- meta?: RevertMetaDto;
3619
- }
3620
- export declare class VoidLineItemDto {
3621
- id: number;
3622
- quantity?: number;
3623
- isEdit?: boolean;
3624
- amount?: number;
3623
+ export declare class OrganizationUsers extends BondBaseEntity {
3624
+ organisationId: number | null;
3625
+ userId: number | null;
3625
3626
  }
3626
3627
  export declare class LineItemDto {
3627
3628
  id?: number;
@@ -3656,6 +3657,14 @@ export declare class MaintenanceDto {
3656
3657
  maintenanceDurationdurationType: DurationUnitTypesEnum;
3657
3658
  maintenanceTiming: MaintenanceTimingEnum;
3658
3659
  }
3660
+ export declare class PurchasedResourceDto {
3661
+ resourceId?: number;
3662
+ resourceType: ResourceNameTypeEnum;
3663
+ startDate?: string;
3664
+ startTime?: string;
3665
+ endDate?: string;
3666
+ endTime?: string;
3667
+ }
3659
3668
  export declare class OrderDto {
3660
3669
  orderId?: string | null;
3661
3670
  organizationId: number;
@@ -3697,14 +3706,6 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3697
3706
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3698
3707
  segments: SegmentDto[];
3699
3708
  }
3700
- export declare class PurchasedResourceDto {
3701
- resourceId?: number;
3702
- resourceType: ResourceNameTypeEnum;
3703
- startDate?: string;
3704
- startTime?: string;
3705
- endDate?: string;
3706
- endTime?: string;
3707
- }
3708
3709
  export declare class ReservationDto {
3709
3710
  id?: number;
3710
3711
  organizationId?: number;
@@ -3935,6 +3936,24 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
3935
3936
  slotDurationType: SlotDurationTypeEnum;
3936
3937
  addonsIds?: number[];
3937
3938
  }
3939
+ export declare class Addon extends OrganizationConnectionBaseEntity {
3940
+ parentId: number;
3941
+ parentType: AddonParentTypeEnum;
3942
+ productId: number;
3943
+ product?: Product;
3944
+ quantity: number;
3945
+ unitPrice: number;
3946
+ totalPrice: number;
3947
+ approvalStatus: ReservationStatusEnum;
3948
+ paymentStatus: ReservationPaymentStatusEnum;
3949
+ level?: ProductPackageLevelEnum;
3950
+ resourceId?: number;
3951
+ resource?: Resource;
3952
+ orderId?: number;
3953
+ order?: Order;
3954
+ productUserId?: number;
3955
+ productUser?: ProductsUsers;
3956
+ }
3938
3957
  declare class AnswerDto {
3939
3958
  questionId: number;
3940
3959
  value: any;
@@ -3972,24 +3991,6 @@ export declare class BookingV1Dto {
3972
3991
  cashPayment: boolean;
3973
3992
  requestOnly: boolean;
3974
3993
  }
3975
- export declare class Addon extends OrganizationConnectionBaseEntity {
3976
- parentId: number;
3977
- parentType: AddonParentTypeEnum;
3978
- productId: number;
3979
- product?: Product;
3980
- quantity: number;
3981
- unitPrice: number;
3982
- totalPrice: number;
3983
- approvalStatus: ReservationStatusEnum;
3984
- paymentStatus: ReservationPaymentStatusEnum;
3985
- level?: ProductPackageLevelEnum;
3986
- resourceId?: number;
3987
- resource?: Resource;
3988
- orderId?: number;
3989
- order?: Order;
3990
- productUserId?: number;
3991
- productUser?: ProductsUsers;
3992
- }
3993
3994
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
3994
3995
  deletedAt?: Date;
3995
3996
  reservationId: number;
@@ -4158,6 +4159,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4158
4159
  role: Role;
4159
4160
  user: User;
4160
4161
  }
4162
+ export declare class CloseShiftDto {
4163
+ closingCashAmount: number;
4164
+ }
4161
4165
  export declare class FindShiftsByIdsDto {
4162
4166
  shiftIds: number[];
4163
4167
  }
@@ -4221,6 +4225,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4221
4225
  closingManager?: User;
4222
4226
  reconcilingUser?: User;
4223
4227
  }
4224
- export declare class CloseShiftDto {
4225
- closingCashAmount: number;
4226
- }