@bondsports/types 0.0.46 → 0.0.49
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 +309 -309
- 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,13 +9,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
9
|
availabilityStartDate?: string;
|
|
10
10
|
availabilityEndDate?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class FindBookingTypeSettingDto {
|
|
13
|
-
organizationId: number;
|
|
14
|
-
facilityId: number;
|
|
15
|
-
spaceId: number;
|
|
16
|
-
bookingDate: string;
|
|
17
|
-
bookingTime: string;
|
|
18
|
-
}
|
|
19
12
|
export declare class QuestionAnswersDto {
|
|
20
13
|
questionId: number;
|
|
21
14
|
value: any;
|
|
@@ -27,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
27
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
28
21
|
questionnaireIds: string;
|
|
29
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
30
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
31
|
membershipId: number;
|
|
32
32
|
}
|
|
@@ -229,18 +229,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
229
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
230
|
nameSearch?: string;
|
|
231
231
|
}
|
|
232
|
-
export declare class FindOneParams {
|
|
233
|
-
id: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class PaginationQuery {
|
|
236
|
-
page: number;
|
|
237
|
-
itemsPerPage: number;
|
|
238
|
-
}
|
|
239
|
-
export declare class PaginationRangeQuery {
|
|
240
|
-
startPage: number;
|
|
241
|
-
endPage: number;
|
|
242
|
-
itemsPerPage: number;
|
|
243
|
-
}
|
|
244
232
|
export declare class FindFamilyAccountsDto {
|
|
245
233
|
userId: number;
|
|
246
234
|
}
|
|
@@ -273,6 +261,18 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
273
261
|
userId: number;
|
|
274
262
|
familyAccountId: number;
|
|
275
263
|
}
|
|
264
|
+
export declare class FindOneParams {
|
|
265
|
+
id: number;
|
|
266
|
+
}
|
|
267
|
+
export declare class PaginationQuery {
|
|
268
|
+
page: number;
|
|
269
|
+
itemsPerPage: number;
|
|
270
|
+
}
|
|
271
|
+
export declare class PaginationRangeQuery {
|
|
272
|
+
startPage: number;
|
|
273
|
+
endPage: number;
|
|
274
|
+
itemsPerPage: number;
|
|
275
|
+
}
|
|
276
276
|
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
277
|
organizationId: number;
|
|
278
278
|
}
|
|
@@ -283,62 +283,6 @@ export declare class GetGlCodeDto {
|
|
|
283
283
|
createdAt: Date;
|
|
284
284
|
updatedAt: Date;
|
|
285
285
|
}
|
|
286
|
-
export declare class CreateMembershipDto {
|
|
287
|
-
organizationId: number;
|
|
288
|
-
name: string;
|
|
289
|
-
description?: string;
|
|
290
|
-
customerTypes: CustomerInMembershipTypeEnum[];
|
|
291
|
-
activity: SportsEnum;
|
|
292
|
-
facilityId: number;
|
|
293
|
-
questionnaires: number[];
|
|
294
|
-
minAgeYears: number;
|
|
295
|
-
maxAgeYears: number;
|
|
296
|
-
gender: GenderEnum;
|
|
297
|
-
maxMembers?: number;
|
|
298
|
-
maxMaleMembers?: number;
|
|
299
|
-
maxFemaleMembers?: number;
|
|
300
|
-
startDate: string;
|
|
301
|
-
endDate: string;
|
|
302
|
-
registrationStartDate?: Date;
|
|
303
|
-
registrationEndDate?: Date;
|
|
304
|
-
membershipType: MembershipTypeEnum;
|
|
305
|
-
durationMonths: number;
|
|
306
|
-
longDescription?: string;
|
|
307
|
-
isAutoRenew?: boolean;
|
|
308
|
-
}
|
|
309
|
-
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
310
|
-
id: number;
|
|
311
|
-
}
|
|
312
|
-
export declare class UpdateMembershipMediaDto {
|
|
313
|
-
membershipId: number;
|
|
314
|
-
mediaId: number;
|
|
315
|
-
}
|
|
316
|
-
export declare class FindMembershipByIdDto {
|
|
317
|
-
membershipId: number;
|
|
318
|
-
}
|
|
319
|
-
export declare class FindMembershipsByOrganizationIdDto {
|
|
320
|
-
organizationId: number;
|
|
321
|
-
}
|
|
322
|
-
export declare class FindMembershipsByUserIdDto {
|
|
323
|
-
userId: number;
|
|
324
|
-
}
|
|
325
|
-
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
326
|
-
startDate: string;
|
|
327
|
-
}
|
|
328
|
-
export declare class MembershipIdsDto {
|
|
329
|
-
membershipIds?: number[];
|
|
330
|
-
}
|
|
331
|
-
export declare class MemberIdDto {
|
|
332
|
-
memberId?: number;
|
|
333
|
-
}
|
|
334
|
-
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
335
|
-
nameEmailSearch?: string;
|
|
336
|
-
pastMemberships?: string;
|
|
337
|
-
}
|
|
338
|
-
export declare class CancelMembershipDto {
|
|
339
|
-
isImmediatelyCancel: boolean;
|
|
340
|
-
cancellationReason?: string;
|
|
341
|
-
}
|
|
342
286
|
export declare class FindByProgramSeasonIdDto {
|
|
343
287
|
seasonId: number;
|
|
344
288
|
}
|
|
@@ -412,6 +356,62 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
412
356
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
413
357
|
fileName: string;
|
|
414
358
|
}
|
|
359
|
+
export declare class CreateMembershipDto {
|
|
360
|
+
organizationId: number;
|
|
361
|
+
name: string;
|
|
362
|
+
description?: string;
|
|
363
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
364
|
+
activity: SportsEnum;
|
|
365
|
+
facilityId: number;
|
|
366
|
+
questionnaires: number[];
|
|
367
|
+
minAgeYears: number;
|
|
368
|
+
maxAgeYears: number;
|
|
369
|
+
gender: GenderEnum;
|
|
370
|
+
maxMembers?: number;
|
|
371
|
+
maxMaleMembers?: number;
|
|
372
|
+
maxFemaleMembers?: number;
|
|
373
|
+
startDate: string;
|
|
374
|
+
endDate: string;
|
|
375
|
+
registrationStartDate?: Date;
|
|
376
|
+
registrationEndDate?: Date;
|
|
377
|
+
membershipType: MembershipTypeEnum;
|
|
378
|
+
durationMonths: number;
|
|
379
|
+
longDescription?: string;
|
|
380
|
+
isAutoRenew?: boolean;
|
|
381
|
+
}
|
|
382
|
+
export declare class UpdateMembrshipDto extends CreateMembershipDto {
|
|
383
|
+
id: number;
|
|
384
|
+
}
|
|
385
|
+
export declare class UpdateMembershipMediaDto {
|
|
386
|
+
membershipId: number;
|
|
387
|
+
mediaId: number;
|
|
388
|
+
}
|
|
389
|
+
export declare class FindMembershipByIdDto {
|
|
390
|
+
membershipId: number;
|
|
391
|
+
}
|
|
392
|
+
export declare class FindMembershipsByOrganizationIdDto {
|
|
393
|
+
organizationId: number;
|
|
394
|
+
}
|
|
395
|
+
export declare class FindMembershipsByUserIdDto {
|
|
396
|
+
userId: number;
|
|
397
|
+
}
|
|
398
|
+
export declare class SetMembersStartDateByOrganization extends FindMembershipsByOrganizationIdDto {
|
|
399
|
+
startDate: string;
|
|
400
|
+
}
|
|
401
|
+
export declare class MembershipIdsDto {
|
|
402
|
+
membershipIds?: number[];
|
|
403
|
+
}
|
|
404
|
+
export declare class MemberIdDto {
|
|
405
|
+
memberId?: number;
|
|
406
|
+
}
|
|
407
|
+
export declare class FindMembersOptionsDto extends PaginationQuery {
|
|
408
|
+
nameEmailSearch?: string;
|
|
409
|
+
pastMemberships?: string;
|
|
410
|
+
}
|
|
411
|
+
export declare class CancelMembershipDto {
|
|
412
|
+
isImmediatelyCancel: boolean;
|
|
413
|
+
cancellationReason?: string;
|
|
414
|
+
}
|
|
415
415
|
export declare class CreateEntitlementTermsDto {
|
|
416
416
|
organizationId: number;
|
|
417
417
|
entitlementGroupId: number;
|
|
@@ -454,24 +454,6 @@ export declare class CreateGroupPricingWithProduct {
|
|
|
454
454
|
discountValue?: number;
|
|
455
455
|
discountMethod?: DiscountMethodsEnum;
|
|
456
456
|
}
|
|
457
|
-
export declare class CreateUpdateVariantsDto {
|
|
458
|
-
organizationId: number;
|
|
459
|
-
parentProductId: number;
|
|
460
|
-
variantTitles: VariantTitleDto[];
|
|
461
|
-
variants: VariantDto[];
|
|
462
|
-
}
|
|
463
|
-
export declare class VariantTitleDto {
|
|
464
|
-
titleName: string;
|
|
465
|
-
titleId: number;
|
|
466
|
-
}
|
|
467
|
-
export declare class VariantDto {
|
|
468
|
-
name: string;
|
|
469
|
-
price: number;
|
|
470
|
-
variantId: number;
|
|
471
|
-
currency: CurrencyEnum;
|
|
472
|
-
startDate: Date;
|
|
473
|
-
endDate: Date;
|
|
474
|
-
}
|
|
475
457
|
export declare class FindByProductIdDto {
|
|
476
458
|
productId: number;
|
|
477
459
|
}
|
|
@@ -692,6 +674,24 @@ export declare class createResourceDto {
|
|
|
692
674
|
export declare class archiveDto {
|
|
693
675
|
isArchive: boolean;
|
|
694
676
|
}
|
|
677
|
+
export declare class CreateUpdateVariantsDto {
|
|
678
|
+
organizationId: number;
|
|
679
|
+
parentProductId: number;
|
|
680
|
+
variantTitles: VariantTitleDto[];
|
|
681
|
+
variants: VariantDto[];
|
|
682
|
+
}
|
|
683
|
+
export declare class VariantTitleDto {
|
|
684
|
+
titleName: string;
|
|
685
|
+
titleId: number;
|
|
686
|
+
}
|
|
687
|
+
export declare class VariantDto {
|
|
688
|
+
name: string;
|
|
689
|
+
price: number;
|
|
690
|
+
variantId: number;
|
|
691
|
+
currency: CurrencyEnum;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
694
|
+
}
|
|
695
695
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
696
|
programId: number;
|
|
697
697
|
}
|
|
@@ -920,14 +920,6 @@ export declare class ProgramHighlightDto {
|
|
|
920
920
|
type: ProgramHighlightTypeEnum;
|
|
921
921
|
title: string;
|
|
922
922
|
}
|
|
923
|
-
export declare class CreateResourceGroupDto {
|
|
924
|
-
name: string;
|
|
925
|
-
parentSlotId: number;
|
|
926
|
-
facilityId: number;
|
|
927
|
-
childrenSlotIds: number[];
|
|
928
|
-
}
|
|
929
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
930
|
-
}
|
|
931
923
|
export declare class PurchasePaymentDto {
|
|
932
924
|
token: string;
|
|
933
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -998,17 +990,18 @@ export declare class PartialPaymentAsUserDto {
|
|
|
998
990
|
amountToPay: any;
|
|
999
991
|
paymentMethodData: any;
|
|
1000
992
|
}
|
|
993
|
+
export declare class CreateResourceGroupDto {
|
|
994
|
+
name: string;
|
|
995
|
+
parentSlotId: number;
|
|
996
|
+
facilityId: number;
|
|
997
|
+
childrenSlotIds: number[];
|
|
998
|
+
}
|
|
999
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1000
|
+
}
|
|
1001
1001
|
export declare class ResourceDto {
|
|
1002
1002
|
type: ResourceNameTypeEnum;
|
|
1003
1003
|
id: number;
|
|
1004
1004
|
}
|
|
1005
|
-
export declare class StripeCustomerIdDto {
|
|
1006
|
-
userId: number;
|
|
1007
|
-
}
|
|
1008
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1009
|
-
publicToken: string;
|
|
1010
|
-
accountId: string;
|
|
1011
|
-
}
|
|
1012
1005
|
export declare class SpaceByIdDto {
|
|
1013
1006
|
spaceId: number;
|
|
1014
1007
|
}
|
|
@@ -1065,6 +1058,13 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1065
1058
|
types?: string;
|
|
1066
1059
|
resourcesIds?: string;
|
|
1067
1060
|
}
|
|
1061
|
+
export declare class StripeCustomerIdDto {
|
|
1062
|
+
userId: number;
|
|
1063
|
+
}
|
|
1064
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1065
|
+
publicToken: string;
|
|
1066
|
+
accountId: string;
|
|
1067
|
+
}
|
|
1068
1068
|
export declare class FindByUserIdDto {
|
|
1069
1069
|
userId: number;
|
|
1070
1070
|
}
|
|
@@ -1100,17 +1100,6 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1100
1100
|
proudct: Product;
|
|
1101
1101
|
event: Event;
|
|
1102
1102
|
}
|
|
1103
|
-
export declare class Address extends BondBaseEntity {
|
|
1104
|
-
city?: string;
|
|
1105
|
-
street?: string;
|
|
1106
|
-
streetNum?: string;
|
|
1107
|
-
aptNum?: string;
|
|
1108
|
-
zip?: string;
|
|
1109
|
-
country?: string;
|
|
1110
|
-
state?: string;
|
|
1111
|
-
geo: any;
|
|
1112
|
-
deletedAt?: Date;
|
|
1113
|
-
}
|
|
1114
1103
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
1104
|
questionId: number;
|
|
1116
1105
|
question?: Questions;
|
|
@@ -1130,16 +1119,27 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1130
1119
|
answers: Answer[];
|
|
1131
1120
|
questionnaire: Questionnaires;
|
|
1132
1121
|
}
|
|
1133
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1134
|
-
athleteId: number | null;
|
|
1135
|
-
sports: number | null;
|
|
1136
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1137
|
-
}
|
|
1138
1122
|
export declare class Athlete extends BondBaseEntity {
|
|
1139
1123
|
userId: number | null;
|
|
1140
1124
|
metadata: object | null;
|
|
1141
1125
|
athleteSports: AthleteSports[];
|
|
1142
1126
|
}
|
|
1127
|
+
export declare class Address extends BondBaseEntity {
|
|
1128
|
+
city?: string;
|
|
1129
|
+
street?: string;
|
|
1130
|
+
streetNum?: string;
|
|
1131
|
+
aptNum?: string;
|
|
1132
|
+
zip?: string;
|
|
1133
|
+
country?: string;
|
|
1134
|
+
state?: string;
|
|
1135
|
+
geo: any;
|
|
1136
|
+
deletedAt?: Date;
|
|
1137
|
+
}
|
|
1138
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
|
+
athleteId: number | null;
|
|
1140
|
+
sports: number | null;
|
|
1141
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1142
|
+
}
|
|
1143
1143
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1144
|
entityType: ResourceNameTypeEnum;
|
|
1145
1145
|
entityId: number;
|
|
@@ -1206,18 +1206,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1206
1206
|
orderId: number;
|
|
1207
1207
|
creditPaymentInvoiceId: number;
|
|
1208
1208
|
}
|
|
1209
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1210
|
-
customerId: number;
|
|
1211
|
-
userId: number;
|
|
1212
|
-
amount: number;
|
|
1213
|
-
invoiceId?: number;
|
|
1214
|
-
orderId?: number;
|
|
1215
|
-
description?: string;
|
|
1216
|
-
deletedAt?: Date;
|
|
1217
|
-
customer: Customer;
|
|
1218
|
-
order: Order;
|
|
1219
|
-
invoice: Invoice;
|
|
1220
|
-
}
|
|
1221
1209
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1222
1210
|
name: string | null;
|
|
1223
1211
|
entityId: number | null;
|
|
@@ -1246,6 +1234,18 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1246
1234
|
mainMedia: Media;
|
|
1247
1235
|
reservations?: Reservation[];
|
|
1248
1236
|
}
|
|
1237
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1238
|
+
customerId: number;
|
|
1239
|
+
userId: number;
|
|
1240
|
+
amount: number;
|
|
1241
|
+
invoiceId?: number;
|
|
1242
|
+
orderId?: number;
|
|
1243
|
+
description?: string;
|
|
1244
|
+
deletedAt?: Date;
|
|
1245
|
+
customer: Customer;
|
|
1246
|
+
order: Order;
|
|
1247
|
+
invoice: Invoice;
|
|
1248
|
+
}
|
|
1249
1249
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
1250
|
customerId?: number;
|
|
1251
1251
|
description: string;
|
|
@@ -1375,9 +1375,6 @@ export declare class FamilyAccount extends BondBaseEntity {
|
|
|
1375
1375
|
name: string | null;
|
|
1376
1376
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
1377
|
}
|
|
1378
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1379
|
-
code: string;
|
|
1380
|
-
}
|
|
1381
1378
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1382
1379
|
userId: number;
|
|
1383
1380
|
orderId: number;
|
|
@@ -1388,6 +1385,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
1388
1385
|
plannedDate: Date;
|
|
1389
1386
|
chargedAt?: Date;
|
|
1390
1387
|
}
|
|
1388
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
+
code: string;
|
|
1390
|
+
}
|
|
1391
1391
|
export declare class Group extends BondBaseEntity {
|
|
1392
1392
|
name: string;
|
|
1393
1393
|
description?: string;
|
|
@@ -1539,16 +1539,6 @@ export declare class LeagueSeasonRelations {
|
|
|
1539
1539
|
league?: boolean;
|
|
1540
1540
|
facilities?: boolean;
|
|
1541
1541
|
}
|
|
1542
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
-
orderId: number;
|
|
1544
|
-
invoiceId: number;
|
|
1545
|
-
lineItemId: number;
|
|
1546
|
-
paidAmount: number;
|
|
1547
|
-
unitPaidAmount: number;
|
|
1548
|
-
currency: CurrencyEnum;
|
|
1549
|
-
invoice: Invoice;
|
|
1550
|
-
lineItem: LineItems;
|
|
1551
|
-
}
|
|
1552
1542
|
export declare class LineItems extends BondBaseEntity {
|
|
1553
1543
|
constructor();
|
|
1554
1544
|
defineIsReverted(): void;
|
|
@@ -1604,6 +1594,16 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1604
1594
|
displayUnitPrice?: number;
|
|
1605
1595
|
displayQuantity?: number;
|
|
1606
1596
|
}
|
|
1597
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1598
|
+
orderId: number;
|
|
1599
|
+
invoiceId: number;
|
|
1600
|
+
lineItemId: number;
|
|
1601
|
+
paidAmount: number;
|
|
1602
|
+
unitPaidAmount: number;
|
|
1603
|
+
currency: CurrencyEnum;
|
|
1604
|
+
invoice: Invoice;
|
|
1605
|
+
lineItem: LineItems;
|
|
1606
|
+
}
|
|
1607
1607
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
1608
|
id: number;
|
|
1609
1609
|
provider: string;
|
|
@@ -1896,14 +1896,14 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1896
1896
|
productPackages: ProductPackage[];
|
|
1897
1897
|
resourceName?: string;
|
|
1898
1898
|
}
|
|
1899
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1900
|
-
productId: number;
|
|
1901
|
-
variantId: number;
|
|
1902
|
-
}
|
|
1903
1899
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1904
1900
|
productId: number;
|
|
1905
1901
|
variantTitleId: number;
|
|
1906
1902
|
}
|
|
1903
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1904
|
+
productId: number;
|
|
1905
|
+
variantId: number;
|
|
1906
|
+
}
|
|
1907
1907
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1908
1908
|
productId: number;
|
|
1909
1909
|
customerId: number;
|
|
@@ -1911,23 +1911,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1911
1911
|
deletedAt?: Date;
|
|
1912
1912
|
product: Product;
|
|
1913
1913
|
}
|
|
1914
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
|
-
productId: number;
|
|
1916
|
-
userId: number;
|
|
1917
|
-
user?: User;
|
|
1918
|
-
paymentStatus: PaymentStatusEnum;
|
|
1919
|
-
productName: string;
|
|
1920
|
-
productPrice: number;
|
|
1921
|
-
productQuantity: number;
|
|
1922
|
-
productQuantityLeft: number;
|
|
1923
|
-
productPriceCurrency: CurrencyEnum;
|
|
1924
|
-
ordinal?: number;
|
|
1925
|
-
purchasedResources: PurchasedResource[];
|
|
1926
|
-
product: Product;
|
|
1927
|
-
lineItem: LineItems;
|
|
1928
|
-
slots?: Slot[];
|
|
1929
|
-
addons?: Addon[];
|
|
1930
|
-
}
|
|
1931
1914
|
export declare class Program extends BondBaseEntity {
|
|
1932
1915
|
type: ProgramTypesEnum;
|
|
1933
1916
|
name: string;
|
|
@@ -1950,6 +1933,23 @@ export declare class Program extends BondBaseEntity {
|
|
|
1950
1933
|
programSeason: ProgramSeason[];
|
|
1951
1934
|
purchasedResources: PurchasedResource[];
|
|
1952
1935
|
}
|
|
1936
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1937
|
+
productId: number;
|
|
1938
|
+
userId: number;
|
|
1939
|
+
user?: User;
|
|
1940
|
+
paymentStatus: PaymentStatusEnum;
|
|
1941
|
+
productName: string;
|
|
1942
|
+
productPrice: number;
|
|
1943
|
+
productQuantity: number;
|
|
1944
|
+
productQuantityLeft: number;
|
|
1945
|
+
productPriceCurrency: CurrencyEnum;
|
|
1946
|
+
ordinal?: number;
|
|
1947
|
+
purchasedResources: PurchasedResource[];
|
|
1948
|
+
product: Product;
|
|
1949
|
+
lineItem: LineItems;
|
|
1950
|
+
slots?: Slot[];
|
|
1951
|
+
addons?: Addon[];
|
|
1952
|
+
}
|
|
1953
1953
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1954
1954
|
type: ProgramHighlightTypeEnum;
|
|
1955
1955
|
ordinal: number | null;
|
|
@@ -2034,6 +2034,15 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2034
2034
|
product?: Product;
|
|
2035
2035
|
event?: Event;
|
|
2036
2036
|
}
|
|
2037
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2038
|
+
title: string | null;
|
|
2039
|
+
answerTitle: AnswerTitle;
|
|
2040
|
+
}
|
|
2041
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2042
|
+
reason: string;
|
|
2043
|
+
ordinal: number;
|
|
2044
|
+
deletedAt: Date;
|
|
2045
|
+
}
|
|
2037
2046
|
export declare class Questions extends BondBaseEntity {
|
|
2038
2047
|
questionType: string | null;
|
|
2039
2048
|
ordinal: number | null;
|
|
@@ -2048,15 +2057,6 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2048
2057
|
ownerId: number | null;
|
|
2049
2058
|
questionnaireId: number | null;
|
|
2050
2059
|
}
|
|
2051
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2052
|
-
title: string | null;
|
|
2053
|
-
answerTitle: AnswerTitle;
|
|
2054
|
-
}
|
|
2055
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
|
-
reason: string;
|
|
2057
|
-
ordinal: number;
|
|
2058
|
-
deletedAt: Date;
|
|
2059
|
-
}
|
|
2060
2060
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2061
2061
|
resourceType: ResourceNameTypeEnum;
|
|
2062
2062
|
resourceId: number;
|
|
@@ -2161,17 +2161,7 @@ export declare class SeasonDivisions extends BondBaseEntity {
|
|
|
2161
2161
|
name: string | null;
|
|
2162
2162
|
ordinal: number | null;
|
|
2163
2163
|
seasonId: number | null;
|
|
2164
|
-
color: string | null;
|
|
2165
|
-
}
|
|
2166
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2167
|
-
seasonId: number | null;
|
|
2168
|
-
teamId: number | null;
|
|
2169
|
-
standingPosition: number | null;
|
|
2170
|
-
statistics: any | null;
|
|
2171
|
-
points: number | null;
|
|
2172
|
-
divisionId: number | null;
|
|
2173
|
-
metaData: any | null;
|
|
2174
|
-
team: Team;
|
|
2164
|
+
color: string | null;
|
|
2175
2165
|
}
|
|
2176
2166
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2177
2167
|
seasonId?: number;
|
|
@@ -2188,6 +2178,16 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2188
2178
|
purchasedResource: PurchasedResource;
|
|
2189
2179
|
season: LeagueSeason;
|
|
2190
2180
|
}
|
|
2181
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2182
|
+
seasonId: number | null;
|
|
2183
|
+
teamId: number | null;
|
|
2184
|
+
standingPosition: number | null;
|
|
2185
|
+
statistics: any | null;
|
|
2186
|
+
points: number | null;
|
|
2187
|
+
divisionId: number | null;
|
|
2188
|
+
metaData: any | null;
|
|
2189
|
+
team: Team;
|
|
2190
|
+
}
|
|
2191
2191
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2192
2192
|
blockingSpaceId: number;
|
|
2193
2193
|
blockedSpaceId: number;
|
|
@@ -3245,11 +3245,6 @@ export declare class AddFamilyDto {
|
|
|
3245
3245
|
parents: AddImportedCustomerDto[];
|
|
3246
3246
|
children: AddImportedCustomerDto[];
|
|
3247
3247
|
}
|
|
3248
|
-
export declare class ColumnNumericTransformer {
|
|
3249
|
-
to(data: number): number;
|
|
3250
|
-
from(data: string): number;
|
|
3251
|
-
}
|
|
3252
|
-
export declare function convertToNumber(data: string): number;
|
|
3253
3248
|
export declare enum ImportPaymentTypeEnum {
|
|
3254
3249
|
CREDIT_CARD = "card",
|
|
3255
3250
|
ACH = "ach",
|
|
@@ -3301,19 +3296,6 @@ export declare class PunchPassDto {
|
|
|
3301
3296
|
BondSessionID: number;
|
|
3302
3297
|
ProductID: number;
|
|
3303
3298
|
}
|
|
3304
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3305
|
-
entityType: string;
|
|
3306
|
-
entityId: number;
|
|
3307
|
-
}
|
|
3308
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3309
|
-
matchId: number | null;
|
|
3310
|
-
ordinal: number | null;
|
|
3311
|
-
outcomeOrdinal: number | null;
|
|
3312
|
-
resultMetaData: any | null;
|
|
3313
|
-
points: number | null;
|
|
3314
|
-
score: number | null;
|
|
3315
|
-
gameSlotId: number | null;
|
|
3316
|
-
}
|
|
3317
3299
|
export declare class ImportedSlotProductDto {
|
|
3318
3300
|
slotID?: string;
|
|
3319
3301
|
name?: string;
|
|
@@ -3365,6 +3347,23 @@ export declare class ImportedReservationDto {
|
|
|
3365
3347
|
slots?: ImportedSlotDto[];
|
|
3366
3348
|
addons?: ImportedSlotProductDto[];
|
|
3367
3349
|
}
|
|
3350
|
+
export declare class Lock extends BondBaseEntity {
|
|
3351
|
+
name: string;
|
|
3352
|
+
locked?: Date;
|
|
3353
|
+
}
|
|
3354
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3355
|
+
entityType: string;
|
|
3356
|
+
entityId: number;
|
|
3357
|
+
}
|
|
3358
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3359
|
+
matchId: number | null;
|
|
3360
|
+
ordinal: number | null;
|
|
3361
|
+
outcomeOrdinal: number | null;
|
|
3362
|
+
resultMetaData: any | null;
|
|
3363
|
+
points: number | null;
|
|
3364
|
+
score: number | null;
|
|
3365
|
+
gameSlotId: number | null;
|
|
3366
|
+
}
|
|
3368
3367
|
export declare class Matches extends BondBaseEntity {
|
|
3369
3368
|
eventId: number | null;
|
|
3370
3369
|
status: number | null;
|
|
@@ -3388,10 +3387,6 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3388
3387
|
eventId: number | null;
|
|
3389
3388
|
status: number | null;
|
|
3390
3389
|
}
|
|
3391
|
-
export declare class Lock extends BondBaseEntity {
|
|
3392
|
-
name: string;
|
|
3393
|
-
locked?: Date;
|
|
3394
|
-
}
|
|
3395
3390
|
export declare class CreateMonitorConfigDto {
|
|
3396
3391
|
facilityId: number;
|
|
3397
3392
|
name: string;
|
|
@@ -3403,74 +3398,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3403
3398
|
code: string;
|
|
3404
3399
|
config?: any;
|
|
3405
3400
|
}
|
|
3406
|
-
export declare class ByOrganizationIdDto {
|
|
3407
|
-
organizationId: number;
|
|
3408
|
-
}
|
|
3409
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3410
|
-
organizationId?: number;
|
|
3411
|
-
}
|
|
3412
|
-
export declare class Organization extends BondBaseEntity {
|
|
3413
|
-
name: string | null;
|
|
3414
|
-
email: string | null;
|
|
3415
|
-
twitter: string | null;
|
|
3416
|
-
facebook: string | null;
|
|
3417
|
-
instagram: string | null;
|
|
3418
|
-
website: string | null;
|
|
3419
|
-
blog: string | null;
|
|
3420
|
-
phoneNumber: string | null;
|
|
3421
|
-
waiverDoc: string | null;
|
|
3422
|
-
about: string | null;
|
|
3423
|
-
tagline: string | null;
|
|
3424
|
-
status: number | null;
|
|
3425
|
-
addressId: number | null;
|
|
3426
|
-
merchantId: number | null;
|
|
3427
|
-
userCreatorId: number | null;
|
|
3428
|
-
parentId: number | null;
|
|
3429
|
-
paymentSettings: object | null;
|
|
3430
|
-
settings: object | null;
|
|
3431
|
-
isClaimed: boolean | null;
|
|
3432
|
-
sports: number[] | null;
|
|
3433
|
-
mainMediaId: number | null;
|
|
3434
|
-
deletedAt: Date | null;
|
|
3435
|
-
organizationActivityTypes: number[] | null;
|
|
3436
|
-
organizationTypes: number[] | null;
|
|
3437
|
-
organizationAudienceTypes: number[] | null;
|
|
3438
|
-
organizationGenders: number[] | null;
|
|
3439
|
-
questionnaireId: number | null;
|
|
3440
|
-
membershipQuestionnaireId: number | null;
|
|
3441
|
-
feeRate: number;
|
|
3442
|
-
feeAddDollarRate: number;
|
|
3443
|
-
achFeeRate: number;
|
|
3444
|
-
achFeeAddDollarRate: number;
|
|
3445
|
-
maxAchFee: number;
|
|
3446
|
-
cashFeeRate: number;
|
|
3447
|
-
cashFeeAddDollarRate: number;
|
|
3448
|
-
terminalFeeRate: number;
|
|
3449
|
-
terminalFeeAddDollarRate: number;
|
|
3450
|
-
checkFeeRate: number;
|
|
3451
|
-
checkFeeAddDollarRate: number;
|
|
3452
|
-
otherFeeRate: number;
|
|
3453
|
-
otherFeeAddDollarRate: number;
|
|
3454
|
-
balanceFeeRate: number;
|
|
3455
|
-
balanceFeeAddDollarRate: number;
|
|
3456
|
-
address: Address;
|
|
3457
|
-
mainMedia: Media;
|
|
3458
|
-
brandings: OrganizationBranding[];
|
|
3459
|
-
brandingsV2?: OrganizationBranding[];
|
|
3460
|
-
}
|
|
3461
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3462
|
-
key?: string;
|
|
3463
|
-
vaule?: string;
|
|
3464
|
-
version: number;
|
|
3465
|
-
organization: Organization;
|
|
3466
|
-
}
|
|
3467
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3468
|
-
mainAdminUserId?: number;
|
|
3469
|
-
}
|
|
3470
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3471
|
-
organisationId: number | null;
|
|
3472
|
-
userId: number | null;
|
|
3473
|
-
}
|
|
3474
3401
|
export declare class CustomerIdDto {
|
|
3475
3402
|
customerId: number;
|
|
3476
3403
|
}
|
|
@@ -3610,6 +3537,12 @@ export declare class RefundLineItemAmountDto {
|
|
|
3610
3537
|
id: number;
|
|
3611
3538
|
refundAmount: number;
|
|
3612
3539
|
}
|
|
3540
|
+
export declare class ByOrganizationIdDto {
|
|
3541
|
+
organizationId: number;
|
|
3542
|
+
}
|
|
3543
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3544
|
+
organizationId?: number;
|
|
3545
|
+
}
|
|
3613
3546
|
export declare class VoidDto {
|
|
3614
3547
|
lineItems: VoidLineItemDto[];
|
|
3615
3548
|
meta?: RevertMetaDto;
|
|
@@ -3620,6 +3553,91 @@ export declare class VoidLineItemDto {
|
|
|
3620
3553
|
isEdit?: boolean;
|
|
3621
3554
|
amount?: number;
|
|
3622
3555
|
}
|
|
3556
|
+
export declare class Organization extends BondBaseEntity {
|
|
3557
|
+
name: string | null;
|
|
3558
|
+
email: string | null;
|
|
3559
|
+
twitter: string | null;
|
|
3560
|
+
facebook: string | null;
|
|
3561
|
+
instagram: string | null;
|
|
3562
|
+
website: string | null;
|
|
3563
|
+
blog: string | null;
|
|
3564
|
+
phoneNumber: string | null;
|
|
3565
|
+
waiverDoc: string | null;
|
|
3566
|
+
about: string | null;
|
|
3567
|
+
tagline: string | null;
|
|
3568
|
+
status: number | null;
|
|
3569
|
+
addressId: number | null;
|
|
3570
|
+
merchantId: number | null;
|
|
3571
|
+
userCreatorId: number | null;
|
|
3572
|
+
parentId: number | null;
|
|
3573
|
+
paymentSettings: object | null;
|
|
3574
|
+
settings: object | null;
|
|
3575
|
+
isClaimed: boolean | null;
|
|
3576
|
+
sports: number[] | null;
|
|
3577
|
+
mainMediaId: number | null;
|
|
3578
|
+
deletedAt: Date | null;
|
|
3579
|
+
organizationActivityTypes: number[] | null;
|
|
3580
|
+
organizationTypes: number[] | null;
|
|
3581
|
+
organizationAudienceTypes: number[] | null;
|
|
3582
|
+
organizationGenders: number[] | null;
|
|
3583
|
+
questionnaireId: number | null;
|
|
3584
|
+
membershipQuestionnaireId: number | null;
|
|
3585
|
+
feeRate: number;
|
|
3586
|
+
feeAddDollarRate: number;
|
|
3587
|
+
achFeeRate: number;
|
|
3588
|
+
achFeeAddDollarRate: number;
|
|
3589
|
+
maxAchFee: number;
|
|
3590
|
+
cashFeeRate: number;
|
|
3591
|
+
cashFeeAddDollarRate: number;
|
|
3592
|
+
terminalFeeRate: number;
|
|
3593
|
+
terminalFeeAddDollarRate: number;
|
|
3594
|
+
checkFeeRate: number;
|
|
3595
|
+
checkFeeAddDollarRate: number;
|
|
3596
|
+
otherFeeRate: number;
|
|
3597
|
+
otherFeeAddDollarRate: number;
|
|
3598
|
+
balanceFeeRate: number;
|
|
3599
|
+
balanceFeeAddDollarRate: number;
|
|
3600
|
+
address: Address;
|
|
3601
|
+
mainMedia: Media;
|
|
3602
|
+
brandings: OrganizationBranding[];
|
|
3603
|
+
brandingsV2?: OrganizationBranding[];
|
|
3604
|
+
}
|
|
3605
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3606
|
+
key?: string;
|
|
3607
|
+
vaule?: string;
|
|
3608
|
+
version: number;
|
|
3609
|
+
organization: Organization;
|
|
3610
|
+
}
|
|
3611
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3612
|
+
mainAdminUserId?: number;
|
|
3613
|
+
}
|
|
3614
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3615
|
+
organisationId: number | null;
|
|
3616
|
+
userId: number | null;
|
|
3617
|
+
}
|
|
3618
|
+
export declare class ChangeRolePermissionsDto {
|
|
3619
|
+
permissionIds: number[];
|
|
3620
|
+
}
|
|
3621
|
+
export declare class CreateRoleDto {
|
|
3622
|
+
name: string;
|
|
3623
|
+
}
|
|
3624
|
+
export declare class Permission extends BondBaseEntity {
|
|
3625
|
+
name: string;
|
|
3626
|
+
deletedAt?: Date;
|
|
3627
|
+
}
|
|
3628
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3629
|
+
name: string;
|
|
3630
|
+
deletedAt?: Date;
|
|
3631
|
+
permissions: Permission[];
|
|
3632
|
+
usersRoles: UserRole[];
|
|
3633
|
+
}
|
|
3634
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3635
|
+
deletedAt?: Date;
|
|
3636
|
+
userId: number;
|
|
3637
|
+
roleId: number;
|
|
3638
|
+
role: Role;
|
|
3639
|
+
user: User;
|
|
3640
|
+
}
|
|
3623
3641
|
export declare class LineItemDto {
|
|
3624
3642
|
id?: number;
|
|
3625
3643
|
orderId?: number;
|
|
@@ -3646,6 +3664,13 @@ export declare class LineItemDto {
|
|
|
3646
3664
|
unitTaxPrice?: number;
|
|
3647
3665
|
parentOrdinal?: number;
|
|
3648
3666
|
}
|
|
3667
|
+
export declare class MaintenanceDto {
|
|
3668
|
+
id?: number;
|
|
3669
|
+
title: string;
|
|
3670
|
+
durationValue: number;
|
|
3671
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3672
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3673
|
+
}
|
|
3649
3674
|
export declare class OrderDto {
|
|
3650
3675
|
orderId?: string | null;
|
|
3651
3676
|
organizationId: number;
|
|
@@ -3863,13 +3888,6 @@ export declare class SeriesDto {
|
|
|
3863
3888
|
maintenance?: MaintenanceDto[];
|
|
3864
3889
|
slots?: SlotDto[];
|
|
3865
3890
|
}
|
|
3866
|
-
export declare class MaintenanceDto {
|
|
3867
|
-
id?: number;
|
|
3868
|
-
title: string;
|
|
3869
|
-
durationValue: number;
|
|
3870
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3871
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3872
|
-
}
|
|
3873
3891
|
export declare class SlotDateTimeAndSpace {
|
|
3874
3892
|
startDate: string;
|
|
3875
3893
|
startTime?: string;
|
|
@@ -4133,29 +4151,11 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4133
4151
|
changeLineItems?: LineItems[];
|
|
4134
4152
|
updatedLineItem?: LineItems;
|
|
4135
4153
|
}
|
|
4136
|
-
export declare class
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
export declare class CreateRoleDto {
|
|
4140
|
-
name: string;
|
|
4141
|
-
}
|
|
4142
|
-
export declare class Permission extends BondBaseEntity {
|
|
4143
|
-
name: string;
|
|
4144
|
-
deletedAt?: Date;
|
|
4145
|
-
}
|
|
4146
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4147
|
-
name: string;
|
|
4148
|
-
deletedAt?: Date;
|
|
4149
|
-
permissions: Permission[];
|
|
4150
|
-
usersRoles: UserRole[];
|
|
4151
|
-
}
|
|
4152
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4153
|
-
deletedAt?: Date;
|
|
4154
|
-
userId: number;
|
|
4155
|
-
roleId: number;
|
|
4156
|
-
role: Role;
|
|
4157
|
-
user: User;
|
|
4154
|
+
export declare class ColumnNumericTransformer {
|
|
4155
|
+
to(data: number): number;
|
|
4156
|
+
from(data: string): number;
|
|
4158
4157
|
}
|
|
4158
|
+
export declare function convertToNumber(data: string): number;
|
|
4159
4159
|
export declare class CloseShiftDto {
|
|
4160
4160
|
closingCashAmount: number;
|
|
4161
4161
|
}
|