@bondsports/types 0.0.141 → 0.0.143
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 +205 -204
- 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
|
@@ -365,6 +365,48 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
|
365
365
|
export declare class MoveTeamOrMembersByCsvDTO {
|
|
366
366
|
fileName: string;
|
|
367
367
|
}
|
|
368
|
+
export declare class CreateEntitlementTermsDto {
|
|
369
|
+
organizationId: number;
|
|
370
|
+
entitlementGroupId: number;
|
|
371
|
+
terms: IEntitlementTerms[];
|
|
372
|
+
}
|
|
373
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
374
|
+
entitlementGroupId: number;
|
|
375
|
+
}
|
|
376
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
377
|
+
user: any;
|
|
378
|
+
userVariables: IQuestionAnswerObject[];
|
|
379
|
+
}
|
|
380
|
+
export declare class FindLowestPriceDto {
|
|
381
|
+
organizationId: number;
|
|
382
|
+
user?: any;
|
|
383
|
+
answers?: IQuestionAnswerObject[];
|
|
384
|
+
itemIds: number[];
|
|
385
|
+
itemType?: ResourceNameTypeEnum;
|
|
386
|
+
startDate?: Date;
|
|
387
|
+
}
|
|
388
|
+
export declare class FindGroupItemsPricingsDto {
|
|
389
|
+
groupsIds: number[];
|
|
390
|
+
itemsIds: number[];
|
|
391
|
+
}
|
|
392
|
+
export declare class CreateEntitlementGroupDto {
|
|
393
|
+
name: string;
|
|
394
|
+
}
|
|
395
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
396
|
+
itemIds: number[];
|
|
397
|
+
itemType: string;
|
|
398
|
+
}
|
|
399
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
400
|
+
groupid: number;
|
|
401
|
+
}
|
|
402
|
+
export declare class CreateGroupPricingWithProduct {
|
|
403
|
+
groupId: number;
|
|
404
|
+
price: number;
|
|
405
|
+
startDate?: Date;
|
|
406
|
+
endDate?: Date;
|
|
407
|
+
discountValue?: number;
|
|
408
|
+
discountMethod?: DiscountMethodsEnum;
|
|
409
|
+
}
|
|
368
410
|
export declare class CreateMembershipDto {
|
|
369
411
|
organizationId: number;
|
|
370
412
|
name: string;
|
|
@@ -421,47 +463,23 @@ export declare class CancelMembershipDto {
|
|
|
421
463
|
isImmediatelyCancel: boolean;
|
|
422
464
|
cancellationReason?: string;
|
|
423
465
|
}
|
|
424
|
-
export declare class
|
|
425
|
-
organizationId: number;
|
|
426
|
-
entitlementGroupId: number;
|
|
427
|
-
terms: IEntitlementTerms[];
|
|
428
|
-
}
|
|
429
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
-
entitlementGroupId: number;
|
|
431
|
-
}
|
|
432
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
-
user: any;
|
|
434
|
-
userVariables: IQuestionAnswerObject[];
|
|
435
|
-
}
|
|
436
|
-
export declare class FindLowestPriceDto {
|
|
466
|
+
export declare class CreateUpdateVariantsDto {
|
|
437
467
|
organizationId: number;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
itemType?: ResourceNameTypeEnum;
|
|
442
|
-
startDate?: Date;
|
|
468
|
+
parentProductId: number;
|
|
469
|
+
variantTitles: VariantTitleDto[];
|
|
470
|
+
variants: VariantDto[];
|
|
443
471
|
}
|
|
444
|
-
export declare class
|
|
445
|
-
|
|
446
|
-
|
|
472
|
+
export declare class VariantTitleDto {
|
|
473
|
+
titleName: string;
|
|
474
|
+
titleId: number;
|
|
447
475
|
}
|
|
448
|
-
export declare class
|
|
476
|
+
export declare class VariantDto {
|
|
449
477
|
name: string;
|
|
450
|
-
}
|
|
451
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
452
|
-
itemIds: number[];
|
|
453
|
-
itemType: string;
|
|
454
|
-
}
|
|
455
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
456
|
-
groupid: number;
|
|
457
|
-
}
|
|
458
|
-
export declare class CreateGroupPricingWithProduct {
|
|
459
|
-
groupId: number;
|
|
460
478
|
price: number;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
479
|
+
variantId: number;
|
|
480
|
+
currency: CurrencyEnum;
|
|
481
|
+
startDate: Date;
|
|
482
|
+
endDate: Date;
|
|
465
483
|
}
|
|
466
484
|
export declare class FindByProductIdDto {
|
|
467
485
|
productId: number;
|
|
@@ -684,24 +702,6 @@ export declare class createResourceDto {
|
|
|
684
702
|
export declare class archiveDto {
|
|
685
703
|
isArchive: boolean;
|
|
686
704
|
}
|
|
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
705
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
706
|
programId: number;
|
|
707
707
|
}
|
|
@@ -1122,6 +1122,19 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1122
1122
|
proudct: Product;
|
|
1123
1123
|
event: Event;
|
|
1124
1124
|
}
|
|
1125
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1126
|
+
questionId: number;
|
|
1127
|
+
question?: Questions;
|
|
1128
|
+
parentId: number;
|
|
1129
|
+
parentType: ResourceNameTypeEnum;
|
|
1130
|
+
answerValue: any;
|
|
1131
|
+
creatorId: number;
|
|
1132
|
+
creatorType: ResourceNameTypeEnum;
|
|
1133
|
+
answerTitleId: number;
|
|
1134
|
+
answerTitle: AnswerTitle;
|
|
1135
|
+
metaData: any | null;
|
|
1136
|
+
questionText: string | null;
|
|
1137
|
+
}
|
|
1125
1138
|
export declare class Address extends BondBaseEntity {
|
|
1126
1139
|
city?: string;
|
|
1127
1140
|
street?: string;
|
|
@@ -1139,19 +1152,6 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
|
1139
1152
|
answers: Answer[];
|
|
1140
1153
|
questionnaire: Questionnaires;
|
|
1141
1154
|
}
|
|
1142
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1143
|
-
questionId: number;
|
|
1144
|
-
question?: Questions;
|
|
1145
|
-
parentId: number;
|
|
1146
|
-
parentType: ResourceNameTypeEnum;
|
|
1147
|
-
answerValue: any;
|
|
1148
|
-
creatorId: number;
|
|
1149
|
-
creatorType: ResourceNameTypeEnum;
|
|
1150
|
-
answerTitleId: number;
|
|
1151
|
-
answerTitle: AnswerTitle;
|
|
1152
|
-
metaData: any | null;
|
|
1153
|
-
questionText: string | null;
|
|
1154
|
-
}
|
|
1155
1155
|
export declare class Athlete extends BondBaseEntity {
|
|
1156
1156
|
userId: number | null;
|
|
1157
1157
|
metadata: object | null;
|
|
@@ -1228,6 +1228,18 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1228
1228
|
invoiceId: number;
|
|
1229
1229
|
creditPaymentId: number;
|
|
1230
1230
|
}
|
|
1231
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1232
|
+
customerId: number;
|
|
1233
|
+
userId: number;
|
|
1234
|
+
amount: number;
|
|
1235
|
+
paymentId?: number;
|
|
1236
|
+
invoiceId?: number;
|
|
1237
|
+
description?: string;
|
|
1238
|
+
deletedAt?: Date;
|
|
1239
|
+
customer: Customer;
|
|
1240
|
+
invoice: Invoice;
|
|
1241
|
+
payment: Payment;
|
|
1242
|
+
}
|
|
1231
1243
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1232
1244
|
name: string | null;
|
|
1233
1245
|
entityId: number | null;
|
|
@@ -1256,18 +1268,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1256
1268
|
mainMedia: Media;
|
|
1257
1269
|
reservations?: Reservation[];
|
|
1258
1270
|
}
|
|
1259
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1260
|
-
customerId: number;
|
|
1261
|
-
userId: number;
|
|
1262
|
-
amount: number;
|
|
1263
|
-
paymentId?: number;
|
|
1264
|
-
invoiceId?: number;
|
|
1265
|
-
description?: string;
|
|
1266
|
-
deletedAt?: Date;
|
|
1267
|
-
customer: Customer;
|
|
1268
|
-
invoice: Invoice;
|
|
1269
|
-
payment: Payment;
|
|
1270
|
-
}
|
|
1271
1271
|
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1272
1272
|
customerId?: number;
|
|
1273
1273
|
description: string;
|
|
@@ -1295,6 +1295,21 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
|
1295
1295
|
groupId: number;
|
|
1296
1296
|
terms: IEntitlementTerms[];
|
|
1297
1297
|
}
|
|
1298
|
+
export declare class EventAttendee extends BondBaseEntity {
|
|
1299
|
+
status: RequestStatusEnum | null;
|
|
1300
|
+
hasPaid: boolean | null;
|
|
1301
|
+
paymentId: number | null;
|
|
1302
|
+
attendeeId: number;
|
|
1303
|
+
eventId?: number | null;
|
|
1304
|
+
productUserId?: number;
|
|
1305
|
+
answerTitleIds?: number[];
|
|
1306
|
+
entryStatus?: EntryStatusEnum;
|
|
1307
|
+
addonProductUserIds?: number[];
|
|
1308
|
+
deletedAt?: Date;
|
|
1309
|
+
attendee: User;
|
|
1310
|
+
event: Event;
|
|
1311
|
+
purchasedResource: PurchasedResource;
|
|
1312
|
+
}
|
|
1298
1313
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1299
1314
|
constructor();
|
|
1300
1315
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1385,21 +1400,6 @@ export declare class FamilyAccount extends BondBaseEntity {
|
|
|
1385
1400
|
name: string | null;
|
|
1386
1401
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1387
1402
|
}
|
|
1388
|
-
export declare class EventAttendee extends BondBaseEntity {
|
|
1389
|
-
status: RequestStatusEnum | null;
|
|
1390
|
-
hasPaid: boolean | null;
|
|
1391
|
-
paymentId: number | null;
|
|
1392
|
-
attendeeId: number;
|
|
1393
|
-
eventId?: number | null;
|
|
1394
|
-
productUserId?: number;
|
|
1395
|
-
answerTitleIds?: number[];
|
|
1396
|
-
entryStatus?: EntryStatusEnum;
|
|
1397
|
-
addonProductUserIds?: number[];
|
|
1398
|
-
deletedAt?: Date;
|
|
1399
|
-
attendee: User;
|
|
1400
|
-
event: Event;
|
|
1401
|
-
purchasedResource: PurchasedResource;
|
|
1402
|
-
}
|
|
1403
1403
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1404
1404
|
userId: number;
|
|
1405
1405
|
invoiceId: number;
|
|
@@ -1443,6 +1443,11 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1443
1443
|
discountMethod?: DiscountMethodsEnum;
|
|
1444
1444
|
discountValue?: number;
|
|
1445
1445
|
}
|
|
1446
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1447
|
+
groupId: number;
|
|
1448
|
+
divisionId: number;
|
|
1449
|
+
deletedAt?: Date;
|
|
1450
|
+
}
|
|
1446
1451
|
export declare class Invoice extends BondBaseEntity {
|
|
1447
1452
|
invoiceId: string | null;
|
|
1448
1453
|
price: number | null;
|
|
@@ -1478,10 +1483,14 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1478
1483
|
mailParams?: any;
|
|
1479
1484
|
memo?: string;
|
|
1480
1485
|
}
|
|
1481
|
-
export declare class
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1486
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1487
|
+
content: string;
|
|
1488
|
+
creatingUserId: number;
|
|
1489
|
+
user: User;
|
|
1490
|
+
isPublic: boolean;
|
|
1491
|
+
deletedAt: Date;
|
|
1492
|
+
invoiceId: number;
|
|
1493
|
+
invoice: Invoice;
|
|
1485
1494
|
}
|
|
1486
1495
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1487
1496
|
invoiceId: number;
|
|
@@ -1517,15 +1526,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1517
1526
|
logo?: Media;
|
|
1518
1527
|
seasons: LeagueSeason[];
|
|
1519
1528
|
}
|
|
1520
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1521
|
-
content: string;
|
|
1522
|
-
creatingUserId: number;
|
|
1523
|
-
user: User;
|
|
1524
|
-
isPublic: boolean;
|
|
1525
|
-
deletedAt: Date;
|
|
1526
|
-
invoiceId: number;
|
|
1527
|
-
invoice: Invoice;
|
|
1528
|
-
}
|
|
1529
1529
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
1530
1530
|
leagueId: number | null;
|
|
1531
1531
|
name: string | null;
|
|
@@ -1848,6 +1848,21 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1848
1848
|
discountValue?: number;
|
|
1849
1849
|
taxIncludedPrice?: number;
|
|
1850
1850
|
}
|
|
1851
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1852
|
+
parentProductId: number;
|
|
1853
|
+
childProductId: number;
|
|
1854
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1855
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1856
|
+
deletedAt?: Date;
|
|
1857
|
+
productResource: ProductResource;
|
|
1858
|
+
childProduct: Product;
|
|
1859
|
+
parentProduct: Product;
|
|
1860
|
+
price: number;
|
|
1861
|
+
isFlatPrice: boolean;
|
|
1862
|
+
durationMinutes?: number;
|
|
1863
|
+
durationDays?: number;
|
|
1864
|
+
level?: ProductPackageLevelEnum;
|
|
1865
|
+
}
|
|
1851
1866
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1852
1867
|
name: string;
|
|
1853
1868
|
quantity: number;
|
|
@@ -1907,21 +1922,6 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
|
|
|
1907
1922
|
schedule: PaymentPlanSchedule[];
|
|
1908
1923
|
product?: Product;
|
|
1909
1924
|
}
|
|
1910
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1911
|
-
parentProductId: number;
|
|
1912
|
-
childProductId: number;
|
|
1913
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1914
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1915
|
-
deletedAt?: Date;
|
|
1916
|
-
productResource: ProductResource;
|
|
1917
|
-
childProduct: Product;
|
|
1918
|
-
parentProduct: Product;
|
|
1919
|
-
price: number;
|
|
1920
|
-
isFlatPrice: boolean;
|
|
1921
|
-
durationMinutes?: number;
|
|
1922
|
-
durationDays?: number;
|
|
1923
|
-
level?: ProductPackageLevelEnum;
|
|
1924
|
-
}
|
|
1925
1925
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1926
1926
|
productId: number;
|
|
1927
1927
|
resourceId: number;
|
|
@@ -1948,6 +1948,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1948
|
deletedAt?: Date;
|
|
1949
1949
|
product: Product;
|
|
1950
1950
|
}
|
|
1951
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
|
+
productId: number;
|
|
1953
|
+
userId: number;
|
|
1954
|
+
user?: User;
|
|
1955
|
+
paymentStatus: PaymentStatusEnum;
|
|
1956
|
+
productName: string;
|
|
1957
|
+
productPrice: number;
|
|
1958
|
+
productQuantity: number;
|
|
1959
|
+
productQuantityLeft: number;
|
|
1960
|
+
productPriceCurrency: CurrencyEnum;
|
|
1961
|
+
ordinal?: number;
|
|
1962
|
+
purchasedResources: PurchasedResource[];
|
|
1963
|
+
product: Product;
|
|
1964
|
+
lineItem: LineItems;
|
|
1965
|
+
slots?: Slot[];
|
|
1966
|
+
addons?: Addon[];
|
|
1967
|
+
}
|
|
1951
1968
|
export declare class Program extends BondBaseEntity {
|
|
1952
1969
|
type: ProgramTypesEnum;
|
|
1953
1970
|
name: string;
|
|
@@ -1978,23 +1995,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1978
1995
|
program: Program;
|
|
1979
1996
|
deletedAt?: Date;
|
|
1980
1997
|
}
|
|
1981
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1982
|
-
productId: number;
|
|
1983
|
-
userId: number;
|
|
1984
|
-
user?: User;
|
|
1985
|
-
paymentStatus: PaymentStatusEnum;
|
|
1986
|
-
productName: string;
|
|
1987
|
-
productPrice: number;
|
|
1988
|
-
productQuantity: number;
|
|
1989
|
-
productQuantityLeft: number;
|
|
1990
|
-
productPriceCurrency: CurrencyEnum;
|
|
1991
|
-
ordinal?: number;
|
|
1992
|
-
purchasedResources: PurchasedResource[];
|
|
1993
|
-
product: Product;
|
|
1994
|
-
lineItem: LineItems;
|
|
1995
|
-
slots?: Slot[];
|
|
1996
|
-
addons?: Addon[];
|
|
1997
|
-
}
|
|
1998
1998
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1999
1999
|
programId: number;
|
|
2000
2000
|
name: string;
|
|
@@ -2216,6 +2216,10 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2216
2216
|
purchasedResource: PurchasedResource;
|
|
2217
2217
|
season: LeagueSeason;
|
|
2218
2218
|
}
|
|
2219
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2220
|
+
blockingSpaceId: number;
|
|
2221
|
+
blockedSpaceId: number;
|
|
2222
|
+
}
|
|
2219
2223
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2220
2224
|
seasonId: number | null;
|
|
2221
2225
|
teamId: number | null;
|
|
@@ -2226,10 +2230,6 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2226
2230
|
metaData: any | null;
|
|
2227
2231
|
team: Team;
|
|
2228
2232
|
}
|
|
2229
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2230
|
-
blockingSpaceId: number;
|
|
2231
|
-
blockedSpaceId: number;
|
|
2232
|
-
}
|
|
2233
2233
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2234
2234
|
name: string;
|
|
2235
2235
|
facilityId: number;
|
|
@@ -2241,14 +2241,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2241
2241
|
subcategories: Subcategory[];
|
|
2242
2242
|
shifts?: Shift[];
|
|
2243
2243
|
}
|
|
2244
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2245
|
-
stationId: number;
|
|
2246
|
-
subcategoryId: number;
|
|
2247
|
-
productType: ProductTypesEnum;
|
|
2248
|
-
deletedAt?: Date;
|
|
2249
|
-
station: Station;
|
|
2250
|
-
subcategory: Subcategory;
|
|
2251
|
-
}
|
|
2252
2244
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2253
2245
|
productType: ProductTypesEnum;
|
|
2254
2246
|
name: string;
|
|
@@ -2257,6 +2249,14 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2257
2249
|
stationToSubcategories: StationToSubcategory[];
|
|
2258
2250
|
stations: Station[];
|
|
2259
2251
|
}
|
|
2252
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2253
|
+
stationId: number;
|
|
2254
|
+
subcategoryId: number;
|
|
2255
|
+
productType: ProductTypesEnum;
|
|
2256
|
+
deletedAt?: Date;
|
|
2257
|
+
station: Station;
|
|
2258
|
+
subcategory: Subcategory;
|
|
2259
|
+
}
|
|
2260
2260
|
export declare class Team extends BondBaseEntity {
|
|
2261
2261
|
name: string | null;
|
|
2262
2262
|
description: string | null;
|
|
@@ -3297,11 +3297,6 @@ export interface IReservationCreatorData {
|
|
|
3297
3297
|
endDate: string;
|
|
3298
3298
|
sportId: number;
|
|
3299
3299
|
}
|
|
3300
|
-
export declare class ColumnNumericTransformer {
|
|
3301
|
-
to(data: number): number;
|
|
3302
|
-
from(data: string): number;
|
|
3303
|
-
}
|
|
3304
|
-
export declare function convertToNumber(data: string): number;
|
|
3305
3300
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3306
3301
|
name?: string;
|
|
3307
3302
|
genderStr?: string;
|
|
@@ -3351,6 +3346,13 @@ export declare class ImportedPaymentDto {
|
|
|
3351
3346
|
date: string;
|
|
3352
3347
|
time: string;
|
|
3353
3348
|
}
|
|
3349
|
+
export declare class PunchPassDto {
|
|
3350
|
+
CustomerID: string;
|
|
3351
|
+
QuantityLeft: number;
|
|
3352
|
+
BondProgramID: number;
|
|
3353
|
+
BondSessionID: number;
|
|
3354
|
+
ProductID: number;
|
|
3355
|
+
}
|
|
3354
3356
|
export declare class ProductIdsDto {
|
|
3355
3357
|
productIds?: number[];
|
|
3356
3358
|
}
|
|
@@ -3360,13 +3362,6 @@ export declare class ProductImportDto {
|
|
|
3360
3362
|
resourceIds: number[];
|
|
3361
3363
|
oldId: number;
|
|
3362
3364
|
}
|
|
3363
|
-
export declare class PunchPassDto {
|
|
3364
|
-
CustomerID: string;
|
|
3365
|
-
QuantityLeft: number;
|
|
3366
|
-
BondProgramID: number;
|
|
3367
|
-
BondSessionID: number;
|
|
3368
|
-
ProductID: number;
|
|
3369
|
-
}
|
|
3370
3365
|
export declare class ImportedSlotProductDto {
|
|
3371
3366
|
slotID?: string;
|
|
3372
3367
|
name?: string;
|
|
@@ -3449,15 +3444,15 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3449
3444
|
divisionId?: number;
|
|
3450
3445
|
name: string;
|
|
3451
3446
|
}
|
|
3452
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3453
|
-
teamId: number | null;
|
|
3454
|
-
eventId: number | null;
|
|
3455
|
-
status: number | null;
|
|
3456
|
-
}
|
|
3457
3447
|
export declare class Lock extends BondBaseEntity {
|
|
3458
3448
|
name: string;
|
|
3459
3449
|
locked?: Date;
|
|
3460
3450
|
}
|
|
3451
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3452
|
+
facilityId: number;
|
|
3453
|
+
code: string;
|
|
3454
|
+
config?: any;
|
|
3455
|
+
}
|
|
3461
3456
|
export interface ValidatedMonthAndDay {
|
|
3462
3457
|
valid: boolean;
|
|
3463
3458
|
month?: number;
|
|
@@ -3479,17 +3474,6 @@ export interface PaymentStatusesDict {
|
|
|
3479
3474
|
export interface PaymentStatusDict {
|
|
3480
3475
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3481
3476
|
}
|
|
3482
|
-
export declare class CreateMonitorConfigDto {
|
|
3483
|
-
facilityId: number;
|
|
3484
|
-
name: string;
|
|
3485
|
-
code: string;
|
|
3486
|
-
config: any;
|
|
3487
|
-
}
|
|
3488
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3489
|
-
facilityId: number;
|
|
3490
|
-
code: string;
|
|
3491
|
-
config?: any;
|
|
3492
|
-
}
|
|
3493
3477
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
3478
|
userId: number;
|
|
3495
3479
|
organizationId: number;
|
|
@@ -3583,6 +3567,12 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3583
3567
|
organisationId: number | null;
|
|
3584
3568
|
userId: number | null;
|
|
3585
3569
|
}
|
|
3570
|
+
export declare class CreateMonitorConfigDto {
|
|
3571
|
+
facilityId: number;
|
|
3572
|
+
name: string;
|
|
3573
|
+
code: string;
|
|
3574
|
+
config: any;
|
|
3575
|
+
}
|
|
3586
3576
|
export interface UnallocatedEventsFilters {
|
|
3587
3577
|
programsIds?: number[];
|
|
3588
3578
|
sessionsIds?: number[];
|
|
@@ -3767,18 +3757,17 @@ export interface ExtendedLineItems {
|
|
|
3767
3757
|
products: LineItems[];
|
|
3768
3758
|
events: LineItems[];
|
|
3769
3759
|
}
|
|
3770
|
-
export
|
|
3771
|
-
|
|
3772
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3773
|
-
invoice?: Invoice;
|
|
3774
|
-
}
|
|
3775
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3776
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3777
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3778
|
-
totalAmountProcessed: number;
|
|
3779
|
-
}
|
|
3780
|
-
export declare class AddonDto extends ProductPricesDto {
|
|
3760
|
+
export declare class AddonDto {
|
|
3761
|
+
productId: number;
|
|
3781
3762
|
id?: number;
|
|
3763
|
+
unitPrice?: number;
|
|
3764
|
+
quantity?: number;
|
|
3765
|
+
totalPrice?: number;
|
|
3766
|
+
product?: Product;
|
|
3767
|
+
parentProduct?: Product;
|
|
3768
|
+
displayTotalWithTax?: number;
|
|
3769
|
+
displayTotalPrice?: number;
|
|
3770
|
+
displayUnitTax?: number;
|
|
3782
3771
|
}
|
|
3783
3772
|
export declare class AddAddonsDto {
|
|
3784
3773
|
addons: AddonDto[];
|
|
@@ -3795,6 +3784,16 @@ export declare class EditAddonDto {
|
|
|
3795
3784
|
totalPrice: number;
|
|
3796
3785
|
unitPrice?: number;
|
|
3797
3786
|
}
|
|
3787
|
+
export interface RefundResult extends PaymentsResults {
|
|
3788
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3789
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3790
|
+
invoice?: Invoice;
|
|
3791
|
+
}
|
|
3792
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3793
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3794
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3795
|
+
totalAmountProcessed: number;
|
|
3796
|
+
}
|
|
3798
3797
|
export declare class InvoiceDto {
|
|
3799
3798
|
invoiceId?: string | null;
|
|
3800
3799
|
organizationId: number;
|
|
@@ -4085,14 +4084,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
4085
4084
|
};
|
|
4086
4085
|
};
|
|
4087
4086
|
addonProducts?: Product[];
|
|
4088
|
-
addonCalculatedPrice?: {
|
|
4089
|
-
productId: number;
|
|
4090
|
-
quantity: number;
|
|
4091
|
-
unitPrice: number;
|
|
4092
|
-
totalPrice: number;
|
|
4093
|
-
displayTotalWithTax?: number;
|
|
4094
|
-
displayUnitTax?: number;
|
|
4095
|
-
}[];
|
|
4096
4087
|
segmentId?: number;
|
|
4097
4088
|
seriesId?: number;
|
|
4098
4089
|
eventId?: number;
|
|
@@ -4581,6 +4572,14 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4581
4572
|
role: Role;
|
|
4582
4573
|
user: User;
|
|
4583
4574
|
}
|
|
4575
|
+
export declare class ColumnNumericTransformer {
|
|
4576
|
+
to(data: number): number;
|
|
4577
|
+
from(data: string): number;
|
|
4578
|
+
}
|
|
4579
|
+
export declare function convertToNumber(data: string): number;
|
|
4580
|
+
export declare class CloseShiftDto {
|
|
4581
|
+
closingCashAmount: number;
|
|
4582
|
+
}
|
|
4584
4583
|
export declare class FindShiftsByIdsDto {
|
|
4585
4584
|
shiftIds: number[];
|
|
4586
4585
|
}
|
|
@@ -4604,8 +4603,9 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4604
4603
|
startDate?: Date;
|
|
4605
4604
|
endDate?: Date;
|
|
4606
4605
|
}
|
|
4607
|
-
export declare class
|
|
4608
|
-
|
|
4606
|
+
export declare class OpenShiftDto {
|
|
4607
|
+
openingCashAmount: number;
|
|
4608
|
+
stationId: number;
|
|
4609
4609
|
}
|
|
4610
4610
|
export declare class ShiftManagementClosingAmount {
|
|
4611
4611
|
shiftId: number;
|
|
@@ -4614,10 +4614,6 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4614
4614
|
export declare class ManagementClosingOfShiftsDto {
|
|
4615
4615
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4616
4616
|
}
|
|
4617
|
-
export declare class OpenShiftDto {
|
|
4618
|
-
openingCashAmount: number;
|
|
4619
|
-
stationId: number;
|
|
4620
|
-
}
|
|
4621
4617
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4622
4618
|
stationId: number;
|
|
4623
4619
|
station?: Station;
|
|
@@ -4647,3 +4643,8 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4647
4643
|
closingManager?: User;
|
|
4648
4644
|
reconcilingUser?: User;
|
|
4649
4645
|
}
|
|
4646
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
4647
|
+
teamId: number | null;
|
|
4648
|
+
eventId: number | null;
|
|
4649
|
+
status: number | null;
|
|
4650
|
+
}
|