@bondsports/types 0.0.121 → 0.0.122
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 +112 -112
- 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;
|
|
@@ -291,6 +280,17 @@ export declare class GetGlCodeDto {
|
|
|
291
280
|
createdAt: Date;
|
|
292
281
|
updatedAt: Date;
|
|
293
282
|
}
|
|
283
|
+
export declare class QuestionAnswersDto {
|
|
284
|
+
questionId: number;
|
|
285
|
+
value: any;
|
|
286
|
+
}
|
|
287
|
+
export declare class UserAnswersDto {
|
|
288
|
+
userId: number;
|
|
289
|
+
answers: QuestionAnswersDto[];
|
|
290
|
+
}
|
|
291
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
292
|
+
questionnaireIds: string;
|
|
293
|
+
}
|
|
294
294
|
export declare class FindByProgramSeasonIdDto {
|
|
295
295
|
seasonId: number;
|
|
296
296
|
}
|
|
@@ -1017,6 +1017,16 @@ export declare class ResourceDto {
|
|
|
1017
1017
|
type: ResourceNameTypeEnum;
|
|
1018
1018
|
id: number;
|
|
1019
1019
|
}
|
|
1020
|
+
export declare class StripeCustomerIdDto {
|
|
1021
|
+
userId: number;
|
|
1022
|
+
}
|
|
1023
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1024
|
+
paymentMethodId: string;
|
|
1025
|
+
}
|
|
1026
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1027
|
+
publicToken: string;
|
|
1028
|
+
accountId: string;
|
|
1029
|
+
}
|
|
1020
1030
|
export declare class SpaceByIdDto {
|
|
1021
1031
|
spaceId: number;
|
|
1022
1032
|
}
|
|
@@ -1073,16 +1083,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1073
1083
|
types?: string;
|
|
1074
1084
|
resourcesIds?: string;
|
|
1075
1085
|
}
|
|
1076
|
-
export declare class StripeCustomerIdDto {
|
|
1077
|
-
userId: number;
|
|
1078
|
-
}
|
|
1079
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1080
|
-
paymentMethodId: string;
|
|
1081
|
-
}
|
|
1082
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1083
|
-
publicToken: string;
|
|
1084
|
-
accountId: string;
|
|
1085
|
-
}
|
|
1086
1086
|
export declare class FindByUserIdDto {
|
|
1087
1087
|
userId: number;
|
|
1088
1088
|
}
|
|
@@ -1576,6 +1576,22 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1576
1576
|
payment: Payment;
|
|
1577
1577
|
lineItem: LineItems;
|
|
1578
1578
|
}
|
|
1579
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1580
|
+
id: number;
|
|
1581
|
+
provider: string;
|
|
1582
|
+
providerId: string | null;
|
|
1583
|
+
parentId: number | null;
|
|
1584
|
+
parentType: string | null;
|
|
1585
|
+
status: number | null;
|
|
1586
|
+
token: string | null;
|
|
1587
|
+
refreshToken: string | null;
|
|
1588
|
+
tokenCreatedAt: Date | null;
|
|
1589
|
+
tokenValidUpTo: Date | null;
|
|
1590
|
+
createdAt: Date;
|
|
1591
|
+
updatedAt: Date;
|
|
1592
|
+
user: User;
|
|
1593
|
+
userId: number | null;
|
|
1594
|
+
}
|
|
1579
1595
|
export declare class LineItems extends BondBaseEntity {
|
|
1580
1596
|
constructor();
|
|
1581
1597
|
defineIsReverted(): void;
|
|
@@ -1631,22 +1647,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1631
1647
|
displayUnitPrice?: number;
|
|
1632
1648
|
displayQuantity?: number;
|
|
1633
1649
|
}
|
|
1634
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1635
|
-
id: number;
|
|
1636
|
-
provider: string;
|
|
1637
|
-
providerId: string | null;
|
|
1638
|
-
parentId: number | null;
|
|
1639
|
-
parentType: string | null;
|
|
1640
|
-
status: number | null;
|
|
1641
|
-
token: string | null;
|
|
1642
|
-
refreshToken: string | null;
|
|
1643
|
-
tokenCreatedAt: Date | null;
|
|
1644
|
-
tokenValidUpTo: Date | null;
|
|
1645
|
-
createdAt: Date;
|
|
1646
|
-
updatedAt: Date;
|
|
1647
|
-
user: User;
|
|
1648
|
-
userId: number | null;
|
|
1649
|
-
}
|
|
1650
1650
|
export declare class Media extends BondBaseEntity {
|
|
1651
1651
|
url: string;
|
|
1652
1652
|
name: string | null;
|
|
@@ -2253,6 +2253,15 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2253
2253
|
stationToSubcategories: StationToSubcategory[];
|
|
2254
2254
|
stations: Station[];
|
|
2255
2255
|
}
|
|
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
|
+
}
|
|
2256
2265
|
export declare class Team extends BondBaseEntity {
|
|
2257
2266
|
name: string | null;
|
|
2258
2267
|
description: string | null;
|
|
@@ -2287,15 +2296,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2287
2296
|
gender: number | null;
|
|
2288
2297
|
questionnaireId: number | null;
|
|
2289
2298
|
}
|
|
2290
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2291
|
-
email: string;
|
|
2292
|
-
teamId: number;
|
|
2293
|
-
invitedUserId?: number;
|
|
2294
|
-
userCreatorId: number;
|
|
2295
|
-
token: string;
|
|
2296
|
-
tokenExpirationDate: Date;
|
|
2297
|
-
isUsed: boolean;
|
|
2298
|
-
}
|
|
2299
2299
|
export declare class TeamMember extends BondBaseEntity {
|
|
2300
2300
|
teamId: number | null;
|
|
2301
2301
|
userId: number | null;
|
|
@@ -2375,12 +2375,6 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
|
2375
2375
|
name: string;
|
|
2376
2376
|
variants: Variant[];
|
|
2377
2377
|
}
|
|
2378
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2379
|
-
name: string;
|
|
2380
|
-
variantTitleId: number;
|
|
2381
|
-
variantTitle: VariantTitle;
|
|
2382
|
-
deletedAt?: Date;
|
|
2383
|
-
}
|
|
2384
2378
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2385
2379
|
projectToken: string;
|
|
2386
2380
|
programTypesCollectionId?: string;
|
|
@@ -2389,6 +2383,12 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2389
2383
|
membershipCollectionId?: string;
|
|
2390
2384
|
programsCollectionId?: string;
|
|
2391
2385
|
}
|
|
2386
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2387
|
+
name: string;
|
|
2388
|
+
variantTitleId: number;
|
|
2389
|
+
variantTitle: VariantTitle;
|
|
2390
|
+
deletedAt?: Date;
|
|
2391
|
+
}
|
|
2392
2392
|
export declare enum EntitlementTermsTypesEnum {
|
|
2393
2393
|
QUESTION = "question",
|
|
2394
2394
|
CITY = "city",
|
|
@@ -3289,11 +3289,6 @@ export interface IReservationCreatorData {
|
|
|
3289
3289
|
endDate: string;
|
|
3290
3290
|
sportId: number;
|
|
3291
3291
|
}
|
|
3292
|
-
export declare class ColumnNumericTransformer {
|
|
3293
|
-
to(data: number): number;
|
|
3294
|
-
from(data: string): number;
|
|
3295
|
-
}
|
|
3296
|
-
export declare function convertToNumber(data: string): number;
|
|
3297
3292
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3298
3293
|
name?: string;
|
|
3299
3294
|
genderStr?: string;
|
|
@@ -3352,6 +3347,11 @@ export declare class ProductImportDto {
|
|
|
3352
3347
|
resourceIds: number[];
|
|
3353
3348
|
oldId: number;
|
|
3354
3349
|
}
|
|
3350
|
+
export declare class ColumnNumericTransformer {
|
|
3351
|
+
to(data: number): number;
|
|
3352
|
+
from(data: string): number;
|
|
3353
|
+
}
|
|
3354
|
+
export declare function convertToNumber(data: string): number;
|
|
3355
3355
|
export declare class PunchPassDto {
|
|
3356
3356
|
CustomerID: string;
|
|
3357
3357
|
QuantityLeft: number;
|
|
@@ -3359,6 +3359,57 @@ export declare class PunchPassDto {
|
|
|
3359
3359
|
BondSessionID: number;
|
|
3360
3360
|
ProductID: number;
|
|
3361
3361
|
}
|
|
3362
|
+
export declare class ImportedSlotProductDto {
|
|
3363
|
+
slotID?: string;
|
|
3364
|
+
name?: string;
|
|
3365
|
+
pricingType?: 'Hourly' | 'Flat';
|
|
3366
|
+
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3367
|
+
price?: string;
|
|
3368
|
+
minutes?: string;
|
|
3369
|
+
quantity: string;
|
|
3370
|
+
startDate?: string;
|
|
3371
|
+
startTime?: string;
|
|
3372
|
+
endDate?: string;
|
|
3373
|
+
endTime?: string;
|
|
3374
|
+
bondProductId?: number;
|
|
3375
|
+
}
|
|
3376
|
+
export declare class ImportResourceMappingDto {
|
|
3377
|
+
bondResourceID?: string;
|
|
3378
|
+
resourceName?: string;
|
|
3379
|
+
}
|
|
3380
|
+
export declare class ImportProductMappingDto {
|
|
3381
|
+
productID?: string;
|
|
3382
|
+
productName?: string;
|
|
3383
|
+
}
|
|
3384
|
+
export declare class ImportedSlotDto {
|
|
3385
|
+
reservationID: string;
|
|
3386
|
+
bondResourceID: string;
|
|
3387
|
+
resourceName: string;
|
|
3388
|
+
subResourceName: string;
|
|
3389
|
+
startDate: string;
|
|
3390
|
+
startTime: string;
|
|
3391
|
+
endDate: string;
|
|
3392
|
+
endTime: string;
|
|
3393
|
+
sportId?: string;
|
|
3394
|
+
setupDuration: string;
|
|
3395
|
+
setupIncludeInCosts: string;
|
|
3396
|
+
takedownDuration: string;
|
|
3397
|
+
takedownIncludeInCosts: string;
|
|
3398
|
+
slotProduct: ImportedSlotProductDto;
|
|
3399
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3400
|
+
totalPrice: string;
|
|
3401
|
+
}
|
|
3402
|
+
export declare class ImportedReservationDto {
|
|
3403
|
+
name: string;
|
|
3404
|
+
customerId: string;
|
|
3405
|
+
description: string;
|
|
3406
|
+
totalPrice: string;
|
|
3407
|
+
downPayment: string;
|
|
3408
|
+
paid: string;
|
|
3409
|
+
invoiceId: string;
|
|
3410
|
+
slots?: ImportedSlotDto[];
|
|
3411
|
+
addons?: ImportedSlotProductDto[];
|
|
3412
|
+
}
|
|
3362
3413
|
export declare class GameSlots extends BondBaseEntity {
|
|
3363
3414
|
entityType: string;
|
|
3364
3415
|
entityId: number;
|
|
@@ -3390,15 +3441,15 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3390
3441
|
divisionId?: number;
|
|
3391
3442
|
name: string;
|
|
3392
3443
|
}
|
|
3444
|
+
export declare class Lock extends BondBaseEntity {
|
|
3445
|
+
name: string;
|
|
3446
|
+
locked?: Date;
|
|
3447
|
+
}
|
|
3393
3448
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3394
3449
|
teamId: number | null;
|
|
3395
3450
|
eventId: number | null;
|
|
3396
3451
|
status: number | null;
|
|
3397
3452
|
}
|
|
3398
|
-
export declare class Lock extends BondBaseEntity {
|
|
3399
|
-
name: string;
|
|
3400
|
-
locked?: Date;
|
|
3401
|
-
}
|
|
3402
3453
|
export interface ValidatedMonthAndDay {
|
|
3403
3454
|
valid: boolean;
|
|
3404
3455
|
month?: number;
|
|
@@ -4530,57 +4581,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4530
4581
|
export declare class CloseShiftDto {
|
|
4531
4582
|
closingCashAmount: number;
|
|
4532
4583
|
}
|
|
4533
|
-
export declare class ImportedSlotProductDto {
|
|
4534
|
-
slotID?: string;
|
|
4535
|
-
name?: string;
|
|
4536
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
4537
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
4538
|
-
price?: string;
|
|
4539
|
-
minutes?: string;
|
|
4540
|
-
quantity: string;
|
|
4541
|
-
startDate?: string;
|
|
4542
|
-
startTime?: string;
|
|
4543
|
-
endDate?: string;
|
|
4544
|
-
endTime?: string;
|
|
4545
|
-
bondProductId?: number;
|
|
4546
|
-
}
|
|
4547
|
-
export declare class ImportResourceMappingDto {
|
|
4548
|
-
bondResourceID?: string;
|
|
4549
|
-
resourceName?: string;
|
|
4550
|
-
}
|
|
4551
|
-
export declare class ImportProductMappingDto {
|
|
4552
|
-
productID?: string;
|
|
4553
|
-
productName?: string;
|
|
4554
|
-
}
|
|
4555
|
-
export declare class ImportedSlotDto {
|
|
4556
|
-
reservationID: string;
|
|
4557
|
-
bondResourceID: string;
|
|
4558
|
-
resourceName: string;
|
|
4559
|
-
subResourceName: string;
|
|
4560
|
-
startDate: string;
|
|
4561
|
-
startTime: string;
|
|
4562
|
-
endDate: string;
|
|
4563
|
-
endTime: string;
|
|
4564
|
-
sportId?: string;
|
|
4565
|
-
setupDuration: string;
|
|
4566
|
-
setupIncludeInCosts: string;
|
|
4567
|
-
takedownDuration: string;
|
|
4568
|
-
takedownIncludeInCosts: string;
|
|
4569
|
-
slotProduct: ImportedSlotProductDto;
|
|
4570
|
-
addonProducts: ImportedSlotProductDto[];
|
|
4571
|
-
totalPrice: string;
|
|
4572
|
-
}
|
|
4573
|
-
export declare class ImportedReservationDto {
|
|
4574
|
-
name: string;
|
|
4575
|
-
customerId: string;
|
|
4576
|
-
description: string;
|
|
4577
|
-
totalPrice: string;
|
|
4578
|
-
downPayment: string;
|
|
4579
|
-
paid: string;
|
|
4580
|
-
invoiceId: string;
|
|
4581
|
-
slots?: ImportedSlotDto[];
|
|
4582
|
-
addons?: ImportedSlotProductDto[];
|
|
4583
|
-
}
|
|
4584
4584
|
export declare class FindShiftsByIdsDto {
|
|
4585
4585
|
shiftIds: number[];
|
|
4586
4586
|
}
|