@bondsports/types 0.0.142 → 0.0.144
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 +77 -77
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -9,17 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
12
|
export declare class FindBookingTypeSettingDto {
|
|
24
13
|
organizationId: number;
|
|
25
14
|
facilityId: number;
|
|
@@ -282,6 +271,17 @@ export declare class PaginationRangeQuery {
|
|
|
282
271
|
endPage: number;
|
|
283
272
|
itemsPerPage: number;
|
|
284
273
|
}
|
|
274
|
+
export declare class QuestionAnswersDto {
|
|
275
|
+
questionId: number;
|
|
276
|
+
value: any;
|
|
277
|
+
}
|
|
278
|
+
export declare class UserAnswersDto {
|
|
279
|
+
userId: number;
|
|
280
|
+
answers: QuestionAnswersDto[];
|
|
281
|
+
}
|
|
282
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
283
|
+
questionnaireIds: string;
|
|
284
|
+
}
|
|
285
285
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
286
286
|
organizationId: number;
|
|
287
287
|
}
|
|
@@ -684,24 +684,6 @@ export declare class createResourceDto {
|
|
|
684
684
|
export declare class archiveDto {
|
|
685
685
|
isArchive: boolean;
|
|
686
686
|
}
|
|
687
|
-
export declare class CreateUpdateVariantsDto {
|
|
688
|
-
organizationId: number;
|
|
689
|
-
parentProductId: number;
|
|
690
|
-
variantTitles: VariantTitleDto[];
|
|
691
|
-
variants: VariantDto[];
|
|
692
|
-
}
|
|
693
|
-
export declare class VariantTitleDto {
|
|
694
|
-
titleName: string;
|
|
695
|
-
titleId: number;
|
|
696
|
-
}
|
|
697
|
-
export declare class VariantDto {
|
|
698
|
-
name: string;
|
|
699
|
-
price: number;
|
|
700
|
-
variantId: number;
|
|
701
|
-
currency: CurrencyEnum;
|
|
702
|
-
startDate: Date;
|
|
703
|
-
endDate: Date;
|
|
704
|
-
}
|
|
705
687
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
688
|
programId: number;
|
|
707
689
|
}
|
|
@@ -1077,6 +1059,24 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1077
1059
|
types?: string;
|
|
1078
1060
|
resourcesIds?: string;
|
|
1079
1061
|
}
|
|
1062
|
+
export declare class CreateUpdateVariantsDto {
|
|
1063
|
+
organizationId: number;
|
|
1064
|
+
parentProductId: number;
|
|
1065
|
+
variantTitles: VariantTitleDto[];
|
|
1066
|
+
variants: VariantDto[];
|
|
1067
|
+
}
|
|
1068
|
+
export declare class VariantTitleDto {
|
|
1069
|
+
titleName: string;
|
|
1070
|
+
titleId: number;
|
|
1071
|
+
}
|
|
1072
|
+
export declare class VariantDto {
|
|
1073
|
+
name: string;
|
|
1074
|
+
price: number;
|
|
1075
|
+
variantId: number;
|
|
1076
|
+
currency: CurrencyEnum;
|
|
1077
|
+
startDate: Date;
|
|
1078
|
+
endDate: Date;
|
|
1079
|
+
}
|
|
1080
1080
|
export declare class StripeCustomerIdDto {
|
|
1081
1081
|
userId: number;
|
|
1082
1082
|
}
|
|
@@ -1087,15 +1087,6 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1087
1087
|
publicToken: string;
|
|
1088
1088
|
accountId: string;
|
|
1089
1089
|
}
|
|
1090
|
-
export declare class FindByUserIdDto {
|
|
1091
|
-
userId: number;
|
|
1092
|
-
}
|
|
1093
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1094
|
-
familyAccountId?: number;
|
|
1095
|
-
}
|
|
1096
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
|
-
organizationId: number;
|
|
1098
|
-
}
|
|
1099
1090
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
1091
|
entityType: ResourceNameTypeEnum;
|
|
1101
1092
|
entityId: number;
|
|
@@ -1152,6 +1143,15 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1152
1143
|
answers: Answer[];
|
|
1153
1144
|
questionnaire: Questionnaires;
|
|
1154
1145
|
}
|
|
1146
|
+
export declare class FindByUserIdDto {
|
|
1147
|
+
userId: number;
|
|
1148
|
+
}
|
|
1149
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1150
|
+
familyAccountId?: number;
|
|
1151
|
+
}
|
|
1152
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1153
|
+
organizationId: number;
|
|
1154
|
+
}
|
|
1155
1155
|
export declare class Athlete extends BondBaseEntity {
|
|
1156
1156
|
userId: number | null;
|
|
1157
1157
|
metadata: object | null;
|
|
@@ -1256,12 +1256,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1256
1256
|
mainMedia: Media;
|
|
1257
1257
|
reservations?: Reservation[];
|
|
1258
1258
|
}
|
|
1259
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1260
|
-
customerId?: number;
|
|
1261
|
-
description: string;
|
|
1262
|
-
pinToTop?: boolean;
|
|
1263
|
-
customer: Customer;
|
|
1264
|
-
}
|
|
1265
1259
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1266
1260
|
customerId: number;
|
|
1267
1261
|
userId: number;
|
|
@@ -1274,6 +1268,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
|
|
|
1274
1268
|
invoice: Invoice;
|
|
1275
1269
|
payment: Payment;
|
|
1276
1270
|
}
|
|
1271
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1272
|
+
customerId?: number;
|
|
1273
|
+
description: string;
|
|
1274
|
+
pinToTop?: boolean;
|
|
1275
|
+
customer: Customer;
|
|
1276
|
+
}
|
|
1277
1277
|
export declare class Division extends BondBaseEntity {
|
|
1278
1278
|
name: string;
|
|
1279
1279
|
ordinal?: number;
|
|
@@ -2354,14 +2354,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2354
2354
|
entityType: UserAuthorizationsTypeEnum;
|
|
2355
2355
|
user: User;
|
|
2356
2356
|
}
|
|
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
2357
|
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2366
2358
|
userId: number;
|
|
2367
2359
|
failCount: number;
|
|
@@ -2370,6 +2362,14 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
|
2370
2362
|
paymentMethodId: string;
|
|
2371
2363
|
nextAllowedChargeDate?: Date;
|
|
2372
2364
|
}
|
|
2365
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2366
|
+
familyAccountId: number;
|
|
2367
|
+
userId: number;
|
|
2368
|
+
isAdmin: boolean;
|
|
2369
|
+
user: User;
|
|
2370
|
+
familyAccount: FamilyAccount;
|
|
2371
|
+
deletedAt?: Date;
|
|
2372
|
+
}
|
|
2373
2373
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2374
2374
|
groupId: number;
|
|
2375
2375
|
userId: number;
|
|
@@ -3458,27 +3458,6 @@ 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
|
-
}
|
|
3482
3461
|
export declare class CreateMonitorConfigDto {
|
|
3483
3462
|
facilityId: number;
|
|
3484
3463
|
name: string;
|
|
@@ -4565,15 +4544,15 @@ export declare class ChangeRolePermissionsDto {
|
|
|
4565
4544
|
export declare class CreateRoleDto {
|
|
4566
4545
|
name: string;
|
|
4567
4546
|
}
|
|
4568
|
-
export declare class
|
|
4547
|
+
export declare class Permission extends BondBaseEntity {
|
|
4569
4548
|
name: string;
|
|
4570
4549
|
deletedAt?: Date;
|
|
4571
|
-
permissions: Permission[];
|
|
4572
|
-
usersRoles: UserRole[];
|
|
4573
4550
|
}
|
|
4574
|
-
export declare class
|
|
4551
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4575
4552
|
name: string;
|
|
4576
4553
|
deletedAt?: Date;
|
|
4554
|
+
permissions: Permission[];
|
|
4555
|
+
usersRoles: UserRole[];
|
|
4577
4556
|
}
|
|
4578
4557
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4579
4558
|
deletedAt?: Date;
|
|
@@ -4648,3 +4627,24 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4648
4627
|
closingManager?: User;
|
|
4649
4628
|
reconcilingUser?: User;
|
|
4650
4629
|
}
|
|
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
|
+
}
|