@bondsports/types 0.0.136 → 0.0.137

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
@@ -1170,11 +1170,6 @@ export declare class BlockedDate extends BondBaseEntity {
1170
1170
  endDate: Date;
1171
1171
  deletedAt?: Date;
1172
1172
  }
1173
- export declare class BondBaseEntity extends BaseEntity {
1174
- id: number;
1175
- createdAt: Date;
1176
- updatedAt: Date;
1177
- }
1178
1173
  export declare class BookedSessions extends BondBaseEntity {
1179
1174
  reservationId?: number;
1180
1175
  color?: string;
@@ -2166,6 +2161,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2166
2161
  purchasedResources: PurchasedResource[];
2167
2162
  linkSEO: string;
2168
2163
  }
2164
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2165
+ name: string;
2166
+ facilityId: number;
2167
+ parentSlotId: number;
2168
+ childrenSlotIds: number[];
2169
+ deletedAt?: Date;
2170
+ }
2169
2171
  export declare class School extends BondBaseEntity {
2170
2172
  name: string | null;
2171
2173
  alias: string[] | null;
@@ -2174,13 +2176,6 @@ export declare class School extends BondBaseEntity {
2174
2176
  phone: string | null;
2175
2177
  dataId: number | null;
2176
2178
  }
2177
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2178
- name: string;
2179
- facilityId: number;
2180
- parentSlotId: number;
2181
- childrenSlotIds: number[];
2182
- deletedAt?: Date;
2183
- }
2184
2179
  export declare class SeasonAttendee extends BondBaseEntity {
2185
2180
  status: RequestStatusEnum;
2186
2181
  paymentStatus: PaymentStatusEnum;
@@ -2354,14 +2349,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
2354
2349
  entityType: UserAuthorizationsTypeEnum;
2355
2350
  user: User;
2356
2351
  }
2357
- export declare class UserInFamilyAccount extends BondBaseEntity {
2358
- familyAccountId: number;
2359
- userId: number;
2360
- isAdmin: boolean;
2361
- user: User;
2362
- familyAccount: FamilyAccount;
2363
- deletedAt?: Date;
2364
- }
2365
2352
  export declare class UserPaymentMethod extends BondBaseEntity {
2366
2353
  userId: number;
2367
2354
  failCount: number;
@@ -2370,6 +2357,14 @@ export declare class UserPaymentMethod extends BondBaseEntity {
2370
2357
  paymentMethodId: string;
2371
2358
  nextAllowedChargeDate?: Date;
2372
2359
  }
2360
+ export declare class UserInFamilyAccount extends BondBaseEntity {
2361
+ familyAccountId: number;
2362
+ userId: number;
2363
+ isAdmin: boolean;
2364
+ user: User;
2365
+ familyAccount: FamilyAccount;
2366
+ deletedAt?: Date;
2367
+ }
2373
2368
  export declare class UsersInGroup extends BondBaseEntity {
2374
2369
  groupId: number;
2375
2370
  userId: number;
@@ -2393,6 +2388,11 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2393
2388
  membershipCollectionId?: string;
2394
2389
  programsCollectionId?: string;
2395
2390
  }
2391
+ export declare class BondBaseEntity extends BaseEntity {
2392
+ id: number;
2393
+ createdAt: Date;
2394
+ updatedAt: Date;
2395
+ }
2396
2396
  export declare enum EntitlementTermsTypesEnum {
2397
2397
  QUESTION = "question",
2398
2398
  CITY = "city",
@@ -3367,6 +3367,57 @@ export declare class PunchPassDto {
3367
3367
  BondSessionID: number;
3368
3368
  ProductID: number;
3369
3369
  }
3370
+ export declare class ImportedSlotProductDto {
3371
+ slotID?: string;
3372
+ name?: string;
3373
+ pricingType?: 'Hourly' | 'Flat';
3374
+ appliesTo?: 'slot' | 'addon' | 'reservation';
3375
+ price?: string;
3376
+ minutes?: string;
3377
+ quantity: string;
3378
+ startDate?: string;
3379
+ startTime?: string;
3380
+ endDate?: string;
3381
+ endTime?: string;
3382
+ bondProductId?: number;
3383
+ }
3384
+ export declare class ImportResourceMappingDto {
3385
+ bondResourceID?: string;
3386
+ resourceName?: string;
3387
+ }
3388
+ export declare class ImportProductMappingDto {
3389
+ productID?: string;
3390
+ productName?: string;
3391
+ }
3392
+ export declare class ImportedSlotDto {
3393
+ reservationID: string;
3394
+ bondResourceID: string;
3395
+ resourceName: string;
3396
+ subResourceName: string;
3397
+ startDate: string;
3398
+ startTime: string;
3399
+ endDate: string;
3400
+ endTime: string;
3401
+ sportId?: string;
3402
+ setupDuration: string;
3403
+ setupIncludeInCosts: string;
3404
+ takedownDuration: string;
3405
+ takedownIncludeInCosts: string;
3406
+ slotProduct: ImportedSlotProductDto;
3407
+ addonProducts: ImportedSlotProductDto[];
3408
+ totalPrice: string;
3409
+ }
3410
+ export declare class ImportedReservationDto {
3411
+ name: string;
3412
+ customerId: string;
3413
+ description: string;
3414
+ totalPrice: string;
3415
+ downPayment: string;
3416
+ paid: string;
3417
+ invoiceId: string;
3418
+ slots?: ImportedSlotDto[];
3419
+ addons?: ImportedSlotProductDto[];
3420
+ }
3370
3421
  export declare class GameSlots extends BondBaseEntity {
3371
3422
  entityType: string;
3372
3423
  entityId: number;
@@ -3439,13 +3490,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3439
3490
  code: string;
3440
3491
  config?: any;
3441
3492
  }
3442
- export declare class NotifyTracker extends BondBaseEntity {
3443
- userId: number;
3444
- organizationId: number;
3445
- notifyMetadata?: any;
3446
- notfiyMethodtype: NotifyMethodEnum;
3447
- destination: string;
3448
- }
3449
3493
  export declare class ByOrganizationIdDto {
3450
3494
  organizationId: number;
3451
3495
  }
@@ -3470,6 +3514,13 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3470
3514
  months?: string;
3471
3515
  dow?: string;
3472
3516
  }
3517
+ export declare class NotifyTracker extends BondBaseEntity {
3518
+ userId: number;
3519
+ organizationId: number;
3520
+ notifyMetadata?: any;
3521
+ notfiyMethodtype: NotifyMethodEnum;
3522
+ destination: string;
3523
+ }
3473
3524
  export declare class Organization extends BondBaseEntity {
3474
3525
  name: string | null;
3475
3526
  email: string | null;
@@ -4116,6 +4167,26 @@ export declare class BookingV1Dto {
4116
4167
  cashPayment: boolean;
4117
4168
  requestOnly: boolean;
4118
4169
  }
4170
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4171
+ parentId: number;
4172
+ parentType: AddonParentTypeEnum;
4173
+ productId: number;
4174
+ product?: Product;
4175
+ quantity: number;
4176
+ unitPrice: number;
4177
+ totalPrice: number;
4178
+ approvalStatus: ReservationStatusEnum;
4179
+ paymentStatus: ReservationPaymentStatusEnum;
4180
+ level?: ProductPackageLevelEnum;
4181
+ resourceId?: number;
4182
+ resource?: Resource;
4183
+ invoiceId?: number;
4184
+ invoice?: Invoice;
4185
+ productUserId?: number;
4186
+ productUser?: ProductsUsers;
4187
+ previousProductUsersIds?: number[];
4188
+ previousProductUsers?: ProductsUsers[];
4189
+ }
4119
4190
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4120
4191
  deletedAt?: Date;
4121
4192
  reservationId: number;
@@ -4510,77 +4581,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4510
4581
  role: Role;
4511
4582
  user: User;
4512
4583
  }
4513
- export declare class ImportedSlotProductDto {
4514
- slotID?: string;
4515
- name?: string;
4516
- pricingType?: 'Hourly' | 'Flat';
4517
- appliesTo?: 'slot' | 'addon' | 'reservation';
4518
- price?: string;
4519
- minutes?: string;
4520
- quantity: string;
4521
- startDate?: string;
4522
- startTime?: string;
4523
- endDate?: string;
4524
- endTime?: string;
4525
- bondProductId?: number;
4526
- }
4527
- export declare class ImportResourceMappingDto {
4528
- bondResourceID?: string;
4529
- resourceName?: string;
4530
- }
4531
- export declare class ImportProductMappingDto {
4532
- productID?: string;
4533
- productName?: string;
4534
- }
4535
- export declare class ImportedSlotDto {
4536
- reservationID: string;
4537
- bondResourceID: string;
4538
- resourceName: string;
4539
- subResourceName: string;
4540
- startDate: string;
4541
- startTime: string;
4542
- endDate: string;
4543
- endTime: string;
4544
- sportId?: string;
4545
- setupDuration: string;
4546
- setupIncludeInCosts: string;
4547
- takedownDuration: string;
4548
- takedownIncludeInCosts: string;
4549
- slotProduct: ImportedSlotProductDto;
4550
- addonProducts: ImportedSlotProductDto[];
4551
- totalPrice: string;
4552
- }
4553
- export declare class ImportedReservationDto {
4554
- name: string;
4555
- customerId: string;
4556
- description: string;
4557
- totalPrice: string;
4558
- downPayment: string;
4559
- paid: string;
4560
- invoiceId: string;
4561
- slots?: ImportedSlotDto[];
4562
- addons?: ImportedSlotProductDto[];
4563
- }
4564
- export declare class Addon extends OrganizationConnectionBaseEntity {
4565
- parentId: number;
4566
- parentType: AddonParentTypeEnum;
4567
- productId: number;
4568
- product?: Product;
4569
- quantity: number;
4570
- unitPrice: number;
4571
- totalPrice: number;
4572
- approvalStatus: ReservationStatusEnum;
4573
- paymentStatus: ReservationPaymentStatusEnum;
4574
- level?: ProductPackageLevelEnum;
4575
- resourceId?: number;
4576
- resource?: Resource;
4577
- invoiceId?: number;
4578
- invoice?: Invoice;
4579
- productUserId?: number;
4580
- productUser?: ProductsUsers;
4581
- previousProductUsersIds?: number[];
4582
- previousProductUsers?: ProductsUsers[];
4583
- }
4584
4584
  export declare class CloseShiftDto {
4585
4585
  closingCashAmount: number;
4586
4586
  }