@bondsports/types 0.0.147 → 0.0.156

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
@@ -1133,17 +1133,6 @@ export declare class Address extends BondBaseEntity {
1133
1133
  geo: any;
1134
1134
  deletedAt?: Date;
1135
1135
  }
1136
- export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1137
- questionnaireId: number;
1138
- userId?: number;
1139
- answers: Answer[];
1140
- questionnaire: Questionnaires;
1141
- }
1142
- export declare class Athlete extends BondBaseEntity {
1143
- userId: number | null;
1144
- metadata: object | null;
1145
- athleteSports: AthleteSports[];
1146
- }
1147
1136
  export declare class Answer extends OrganizationConnectionBaseEntity {
1148
1137
  questionId: number;
1149
1138
  question?: Questions;
@@ -1157,6 +1146,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1157
1146
  metaData: any | null;
1158
1147
  questionText: string | null;
1159
1148
  }
1149
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1150
+ questionnaireId: number;
1151
+ userId?: number;
1152
+ answers: Answer[];
1153
+ questionnaire: Questionnaires;
1154
+ }
1155
+ export declare class Athlete extends BondBaseEntity {
1156
+ userId: number | null;
1157
+ metadata: object | null;
1158
+ athleteSports: AthleteSports[];
1159
+ }
1160
1160
  export declare class AthleteSports extends BondBaseEntity {
1161
1161
  athleteId: number | null;
1162
1162
  sports: number | null;
@@ -2072,6 +2072,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2072
2072
  product?: Product;
2073
2073
  event?: Event;
2074
2074
  }
2075
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2076
+ title: string | null;
2077
+ answerTitle: AnswerTitle;
2078
+ }
2075
2079
  export declare class Questions extends BondBaseEntity {
2076
2080
  questionType: string | null;
2077
2081
  ordinal: number | null;
@@ -2091,10 +2095,6 @@ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2091
2095
  ordinal: number;
2092
2096
  deletedAt: Date;
2093
2097
  }
2094
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2095
- title: string | null;
2096
- answerTitle: AnswerTitle;
2097
- }
2098
2098
  export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2099
2099
  resourceType: ResourceNameTypeEnum;
2100
2100
  resourceId: number;
@@ -3458,6 +3458,27 @@ export declare class Lock extends BondBaseEntity {
3458
3458
  name: string;
3459
3459
  locked?: Date;
3460
3460
  }
3461
+ export interface ValidatedMonthAndDay {
3462
+ valid: boolean;
3463
+ month?: number;
3464
+ day?: number;
3465
+ }
3466
+ export interface ValidationReason {
3467
+ valid: boolean;
3468
+ reason?: string;
3469
+ }
3470
+ export interface PaymentStatus {
3471
+ parentId: number;
3472
+ paymentStatus: ReservationPaymentStatusEnum;
3473
+ approvalStatus?: ReservationStatusEnum;
3474
+ id?: number;
3475
+ }
3476
+ export interface PaymentStatusesDict {
3477
+ [id: number]: PaymentStatus[];
3478
+ }
3479
+ export interface PaymentStatusDict {
3480
+ [id: number]: ReservationPaymentStatusEnum;
3481
+ }
3461
3482
  export declare class CreateMonitorConfigDto {
3462
3483
  facilityId: number;
3463
3484
  name: string;
@@ -3469,6 +3490,13 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3469
3490
  code: string;
3470
3491
  config?: any;
3471
3492
  }
3493
+ export declare class NotifyTracker extends BondBaseEntity {
3494
+ userId: number;
3495
+ organizationId: number;
3496
+ notifyMetadata?: any;
3497
+ notfiyMethodtype: NotifyMethodEnum;
3498
+ destination: string;
3499
+ }
3472
3500
  export declare class ByOrganizationIdDto {
3473
3501
  organizationId: number;
3474
3502
  }
@@ -3566,13 +3594,6 @@ export interface Duration {
3566
3594
  startDate: string;
3567
3595
  endDate: string;
3568
3596
  }
3569
- export declare class NotifyTracker extends BondBaseEntity {
3570
- userId: number;
3571
- organizationId: number;
3572
- notifyMetadata?: any;
3573
- notfiyMethodtype: NotifyMethodEnum;
3574
- destination: string;
3575
- }
3576
3597
  export declare class CustomerIdDto {
3577
3598
  customerId: number;
3578
3599
  }
@@ -4110,26 +4131,6 @@ export declare class TimeSlotsDto {
4110
4131
  export declare class SlotsIdsDto {
4111
4132
  slotsIds: number[];
4112
4133
  }
4113
- export declare class Addon extends OrganizationConnectionBaseEntity {
4114
- parentId: number;
4115
- parentType: AddonParentTypeEnum;
4116
- productId: number;
4117
- product?: Product;
4118
- quantity: number;
4119
- unitPrice: number;
4120
- totalPrice: number;
4121
- approvalStatus: ReservationStatusEnum;
4122
- paymentStatus: ReservationPaymentStatusEnum;
4123
- level?: ProductPackageLevelEnum;
4124
- resourceId?: number;
4125
- resource?: Resource;
4126
- invoiceId?: number;
4127
- invoice?: Invoice;
4128
- productUserId?: number;
4129
- productUser?: ProductsUsers;
4130
- previousProductUsersIds?: number[];
4131
- previousProductUsers?: ProductsUsers[];
4132
- }
4133
4134
  declare class AnswerDto {
4134
4135
  questionId: number;
4135
4136
  value: any;
@@ -4167,6 +4168,26 @@ export declare class BookingV1Dto {
4167
4168
  cashPayment: boolean;
4168
4169
  requestOnly: boolean;
4169
4170
  }
4171
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4172
+ parentId: number;
4173
+ parentType: AddonParentTypeEnum;
4174
+ productId: number;
4175
+ product?: Product;
4176
+ quantity: number;
4177
+ unitPrice: number;
4178
+ totalPrice: number;
4179
+ approvalStatus: ReservationStatusEnum;
4180
+ paymentStatus: ReservationPaymentStatusEnum;
4181
+ level?: ProductPackageLevelEnum;
4182
+ resourceId?: number;
4183
+ resource?: Resource;
4184
+ invoiceId?: number;
4185
+ invoice?: Invoice;
4186
+ productUserId?: number;
4187
+ productUser?: ProductsUsers;
4188
+ previousProductUsersIds?: number[];
4189
+ previousProductUsers?: ProductsUsers[];
4190
+ }
4170
4191
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4171
4192
  deletedAt?: Date;
4172
4193
  reservationId: number;
@@ -4627,24 +4648,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4627
4648
  closingManager?: User;
4628
4649
  reconcilingUser?: User;
4629
4650
  }
4630
- export interface ValidatedMonthAndDay {
4631
- valid: boolean;
4632
- month?: number;
4633
- day?: number;
4634
- }
4635
- export interface ValidationReason {
4636
- valid: boolean;
4637
- reason?: string;
4638
- }
4639
- export interface PaymentStatus {
4640
- parentId: number;
4641
- paymentStatus: ReservationPaymentStatusEnum;
4642
- approvalStatus?: ReservationStatusEnum;
4643
- id?: number;
4644
- }
4645
- export interface PaymentStatusesDict {
4646
- [id: number]: PaymentStatus[];
4647
- }
4648
- export interface PaymentStatusDict {
4649
- [id: number]: ReservationPaymentStatusEnum;
4650
- }