@bondsports/types 0.0.83 → 0.0.86

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
@@ -2333,6 +2333,10 @@ export declare class UsersInGroup extends BondBaseEntity {
2333
2333
  userId: number;
2334
2334
  deletedAt?: Date;
2335
2335
  }
2336
+ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2337
+ name: string;
2338
+ variants: Variant[];
2339
+ }
2336
2340
  export declare class Variant extends OrganizationConnectionBaseEntity {
2337
2341
  name: string;
2338
2342
  variantTitleId: number;
@@ -2347,10 +2351,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2347
2351
  membershipCollectionId?: string;
2348
2352
  programsCollectionId?: string;
2349
2353
  }
2350
- export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2351
- name: string;
2352
- variants: Variant[];
2353
- }
2354
2354
  export declare enum EntitlementTermsTypesEnum {
2355
2355
  QUESTION = "question",
2356
2356
  CITY = "city",
@@ -3243,6 +3243,20 @@ export declare class ColumnNumericTransformer {
3243
3243
  from(data: string): number;
3244
3244
  }
3245
3245
  export declare function convertToNumber(data: string): number;
3246
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3247
+ name?: string;
3248
+ genderStr?: string;
3249
+ parentID?: string;
3250
+ partnerID?: string;
3251
+ membershipName?: string;
3252
+ membershipExpDate?: string;
3253
+ membershipCreationDate?: string;
3254
+ bondMembershipID?: number;
3255
+ }
3256
+ export declare class AddFamilyDto {
3257
+ parents: AddImportedCustomerDto[];
3258
+ children: AddImportedCustomerDto[];
3259
+ }
3246
3260
  export declare enum ImportPaymentTypeEnum {
3247
3261
  CREDIT_CARD = "card",
3248
3262
  ACH = "ach",
@@ -3294,20 +3308,6 @@ export declare class PunchPassDto {
3294
3308
  BondSessionID: number;
3295
3309
  ProductID: number;
3296
3310
  }
3297
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3298
- name?: string;
3299
- genderStr?: string;
3300
- parentID?: string;
3301
- partnerID?: string;
3302
- membershipName?: string;
3303
- membershipExpDate?: string;
3304
- membershipCreationDate?: string;
3305
- bondMembershipID?: number;
3306
- }
3307
- export declare class AddFamilyDto {
3308
- parents: AddImportedCustomerDto[];
3309
- children: AddImportedCustomerDto[];
3310
- }
3311
3311
  export declare class ImportedSlotProductDto {
3312
3312
  slotID?: string;
3313
3313
  name?: string;
@@ -3399,27 +3399,6 @@ export declare class Lock extends BondBaseEntity {
3399
3399
  name: string;
3400
3400
  locked?: Date;
3401
3401
  }
3402
- export interface ValidatedMonthAndDay {
3403
- valid: boolean;
3404
- month?: number;
3405
- day?: number;
3406
- }
3407
- export interface ValidationReason {
3408
- valid: boolean;
3409
- reason?: string;
3410
- }
3411
- export interface PaymentStatus {
3412
- parentId: number;
3413
- paymentStatus: ReservationPaymentStatusEnum;
3414
- approvalStatus?: ReservationStatusEnum;
3415
- id?: number;
3416
- }
3417
- export interface PaymentStatusesDict {
3418
- [id: number]: PaymentStatus[];
3419
- }
3420
- export interface PaymentStatusDict {
3421
- [id: number]: ReservationPaymentStatusEnum;
3422
- }
3423
3402
  export declare class CreateMonitorConfigDto {
3424
3403
  facilityId: number;
3425
3404
  name: string;
@@ -3431,12 +3410,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3431
3410
  code: string;
3432
3411
  config?: any;
3433
3412
  }
3434
- export declare class ByOrganizationIdDto {
3435
- organizationId: number;
3436
- }
3437
- export declare class OptionalFindByOrganizationIdDto {
3438
- organizationId?: number;
3439
- }
3440
3413
  export declare class Organization extends BondBaseEntity {
3441
3414
  name: string | null;
3442
3415
  email: string | null;
@@ -3486,6 +3459,12 @@ export declare class Organization extends BondBaseEntity {
3486
3459
  brandings: OrganizationBranding[];
3487
3460
  brandingsV2?: OrganizationBranding[];
3488
3461
  }
3462
+ export declare class ByOrganizationIdDto {
3463
+ organizationId: number;
3464
+ }
3465
+ export declare class OptionalFindByOrganizationIdDto {
3466
+ organizationId?: number;
3467
+ }
3489
3468
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3490
3469
  key?: string;
3491
3470
  vaule?: string;
@@ -4084,13 +4063,7 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4084
4063
  forms?: number[] | null;
4085
4064
  answerTitleIds?: number[] | null;
4086
4065
  segments?: Segment[];
4087
- addonsProductUserIds?: number[] | null;
4088
4066
  migrationStatus?: string;
4089
- addonsMetadata: {
4090
- productId: number;
4091
- price?: number;
4092
- quantity: number;
4093
- }[];
4094
4067
  addons: Addon[];
4095
4068
  overrideProductsPrice: {
4096
4069
  productId: number;
@@ -4358,7 +4331,6 @@ export interface SingleReservation {
4358
4331
  paymentStatus: PaymentStatusEnum;
4359
4332
  reservationType: ReservationTypeEnum;
4360
4333
  sports: number[];
4361
- addonsProductUserIds: number[];
4362
4334
  facilityId?: number;
4363
4335
  customerId: number;
4364
4336
  customer?: Customer;
@@ -4407,6 +4379,12 @@ export interface EditSlotsData {
4407
4379
  export interface EditSlotsResult extends UpdateReservationResult {
4408
4380
  refundResult?: RefundResult;
4409
4381
  }
4382
+ export declare class ChangeRolePermissionsDto {
4383
+ permissionIds: number[];
4384
+ }
4385
+ export declare class CreateRoleDto {
4386
+ name: string;
4387
+ }
4410
4388
  export declare class Permission extends BondBaseEntity {
4411
4389
  name: string;
4412
4390
  deletedAt?: Date;
@@ -4424,12 +4402,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4424
4402
  role: Role;
4425
4403
  user: User;
4426
4404
  }
4427
- export declare class ChangeRolePermissionsDto {
4428
- permissionIds: number[];
4429
- }
4430
- export declare class CreateRoleDto {
4431
- name: string;
4432
- }
4433
4405
  export declare class CloseShiftDto {
4434
4406
  closingCashAmount: number;
4435
4407
  }
@@ -4496,3 +4468,24 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4496
4468
  closingManager?: User;
4497
4469
  reconcilingUser?: User;
4498
4470
  }
4471
+ export interface ValidatedMonthAndDay {
4472
+ valid: boolean;
4473
+ month?: number;
4474
+ day?: number;
4475
+ }
4476
+ export interface ValidationReason {
4477
+ valid: boolean;
4478
+ reason?: string;
4479
+ }
4480
+ export interface PaymentStatus {
4481
+ parentId: number;
4482
+ paymentStatus: ReservationPaymentStatusEnum;
4483
+ approvalStatus?: ReservationStatusEnum;
4484
+ id?: number;
4485
+ }
4486
+ export interface PaymentStatusesDict {
4487
+ [id: number]: PaymentStatus[];
4488
+ }
4489
+ export interface PaymentStatusDict {
4490
+ [id: number]: ReservationPaymentStatusEnum;
4491
+ }