@bondsports/types 0.0.143 → 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 +189 -189
- 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
|
}
|
|
@@ -365,48 +365,6 @@ 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
|
-
}
|
|
410
368
|
export declare class CreateMembershipDto {
|
|
411
369
|
organizationId: number;
|
|
412
370
|
name: string;
|
|
@@ -463,23 +421,47 @@ export declare class CancelMembershipDto {
|
|
|
463
421
|
isImmediatelyCancel: boolean;
|
|
464
422
|
cancellationReason?: string;
|
|
465
423
|
}
|
|
466
|
-
export declare class
|
|
424
|
+
export declare class CreateEntitlementTermsDto {
|
|
467
425
|
organizationId: number;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
variants: VariantDto[];
|
|
426
|
+
entitlementGroupId: number;
|
|
427
|
+
terms: IEntitlementTerms[];
|
|
471
428
|
}
|
|
472
|
-
export declare class
|
|
473
|
-
|
|
474
|
-
titleId: number;
|
|
429
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
430
|
+
entitlementGroupId: number;
|
|
475
431
|
}
|
|
476
|
-
export declare class
|
|
432
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
433
|
+
user: any;
|
|
434
|
+
userVariables: IQuestionAnswerObject[];
|
|
435
|
+
}
|
|
436
|
+
export declare class FindLowestPriceDto {
|
|
437
|
+
organizationId: number;
|
|
438
|
+
user?: any;
|
|
439
|
+
answers?: IQuestionAnswerObject[];
|
|
440
|
+
itemIds: number[];
|
|
441
|
+
itemType?: ResourceNameTypeEnum;
|
|
442
|
+
startDate?: Date;
|
|
443
|
+
}
|
|
444
|
+
export declare class FindGroupItemsPricingsDto {
|
|
445
|
+
groupsIds: number[];
|
|
446
|
+
itemsIds: number[];
|
|
447
|
+
}
|
|
448
|
+
export declare class CreateEntitlementGroupDto {
|
|
477
449
|
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;
|
|
478
460
|
price: number;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
461
|
+
startDate?: Date;
|
|
462
|
+
endDate?: Date;
|
|
463
|
+
discountValue?: number;
|
|
464
|
+
discountMethod?: DiscountMethodsEnum;
|
|
483
465
|
}
|
|
484
466
|
export declare class FindByProductIdDto {
|
|
485
467
|
productId: number;
|
|
@@ -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;
|
|
@@ -1122,6 +1113,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1122
1113
|
proudct: Product;
|
|
1123
1114
|
event: Event;
|
|
1124
1115
|
}
|
|
1116
|
+
export declare class Address extends BondBaseEntity {
|
|
1117
|
+
city?: string;
|
|
1118
|
+
street?: string;
|
|
1119
|
+
streetNum?: string;
|
|
1120
|
+
aptNum?: string;
|
|
1121
|
+
zip?: string;
|
|
1122
|
+
country?: string;
|
|
1123
|
+
state?: string;
|
|
1124
|
+
geo: any;
|
|
1125
|
+
deletedAt?: Date;
|
|
1126
|
+
}
|
|
1125
1127
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1126
1128
|
questionId: number;
|
|
1127
1129
|
question?: Questions;
|
|
@@ -1135,23 +1137,21 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1135
1137
|
metaData: any | null;
|
|
1136
1138
|
questionText: string | null;
|
|
1137
1139
|
}
|
|
1138
|
-
export declare class Address extends BondBaseEntity {
|
|
1139
|
-
city?: string;
|
|
1140
|
-
street?: string;
|
|
1141
|
-
streetNum?: string;
|
|
1142
|
-
aptNum?: string;
|
|
1143
|
-
zip?: string;
|
|
1144
|
-
country?: string;
|
|
1145
|
-
state?: string;
|
|
1146
|
-
geo: any;
|
|
1147
|
-
deletedAt?: Date;
|
|
1148
|
-
}
|
|
1149
1140
|
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1150
1141
|
questionnaireId: number;
|
|
1151
1142
|
userId?: number;
|
|
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;
|
|
@@ -1228,18 +1228,6 @@ 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
|
-
}
|
|
1243
1231
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1244
1232
|
name: string | null;
|
|
1245
1233
|
entityId: number | null;
|
|
@@ -1268,6 +1256,18 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1268
1256
|
mainMedia: Media;
|
|
1269
1257
|
reservations?: Reservation[];
|
|
1270
1258
|
}
|
|
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;
|
|
@@ -1848,21 +1848,6 @@ 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
|
-
}
|
|
1866
1851
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1867
1852
|
name: string;
|
|
1868
1853
|
quantity: number;
|
|
@@ -1913,6 +1898,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1913
1898
|
activityTimes: ActivityTimes[];
|
|
1914
1899
|
purchasedResources: PurchasedResource[];
|
|
1915
1900
|
}
|
|
1901
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1902
|
+
parentProductId: number;
|
|
1903
|
+
childProductId: number;
|
|
1904
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1905
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1906
|
+
deletedAt?: Date;
|
|
1907
|
+
productResource: ProductResource;
|
|
1908
|
+
childProduct: Product;
|
|
1909
|
+
parentProduct: Product;
|
|
1910
|
+
price: number;
|
|
1911
|
+
isFlatPrice: boolean;
|
|
1912
|
+
durationMinutes?: number;
|
|
1913
|
+
durationDays?: number;
|
|
1914
|
+
level?: ProductPackageLevelEnum;
|
|
1915
|
+
}
|
|
1916
1916
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1917
1917
|
productId: number;
|
|
1918
1918
|
maxMonths?: number;
|
|
@@ -2216,10 +2216,6 @@ 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
|
-
}
|
|
2223
2219
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2224
2220
|
seasonId: number | null;
|
|
2225
2221
|
teamId: number | null;
|
|
@@ -2230,6 +2226,10 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2230
2226
|
metaData: any | null;
|
|
2231
2227
|
team: Team;
|
|
2232
2228
|
}
|
|
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 Subcategory extends OrganizationConnectionBaseEntity {
|
|
2245
|
-
productType: ProductTypesEnum;
|
|
2246
|
-
name: string;
|
|
2247
|
-
ordinal?: number;
|
|
2248
|
-
deletedAt?: Date;
|
|
2249
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2250
|
-
stations: Station[];
|
|
2251
|
-
}
|
|
2252
2244
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2253
2245
|
stationId: number;
|
|
2254
2246
|
subcategoryId: number;
|
|
@@ -2257,6 +2249,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2257
2249
|
station: Station;
|
|
2258
2250
|
subcategory: Subcategory;
|
|
2259
2251
|
}
|
|
2252
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2253
|
+
productType: ProductTypesEnum;
|
|
2254
|
+
name: string;
|
|
2255
|
+
ordinal?: number;
|
|
2256
|
+
deletedAt?: Date;
|
|
2257
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2258
|
+
stations: Station[];
|
|
2259
|
+
}
|
|
2260
2260
|
export declare class Team extends BondBaseEntity {
|
|
2261
2261
|
name: string | null;
|
|
2262
2262
|
description: string | null;
|
|
@@ -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;
|
|
@@ -3297,6 +3297,11 @@ 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;
|
|
3300
3305
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3301
3306
|
name?: string;
|
|
3302
3307
|
genderStr?: string;
|
|
@@ -3346,13 +3351,6 @@ export declare class ImportedPaymentDto {
|
|
|
3346
3351
|
date: string;
|
|
3347
3352
|
time: string;
|
|
3348
3353
|
}
|
|
3349
|
-
export declare class PunchPassDto {
|
|
3350
|
-
CustomerID: string;
|
|
3351
|
-
QuantityLeft: number;
|
|
3352
|
-
BondProgramID: number;
|
|
3353
|
-
BondSessionID: number;
|
|
3354
|
-
ProductID: number;
|
|
3355
|
-
}
|
|
3356
3354
|
export declare class ProductIdsDto {
|
|
3357
3355
|
productIds?: number[];
|
|
3358
3356
|
}
|
|
@@ -3362,6 +3360,13 @@ export declare class ProductImportDto {
|
|
|
3362
3360
|
resourceIds: number[];
|
|
3363
3361
|
oldId: number;
|
|
3364
3362
|
}
|
|
3363
|
+
export declare class PunchPassDto {
|
|
3364
|
+
CustomerID: string;
|
|
3365
|
+
QuantityLeft: number;
|
|
3366
|
+
BondProgramID: number;
|
|
3367
|
+
BondSessionID: number;
|
|
3368
|
+
ProductID: number;
|
|
3369
|
+
}
|
|
3365
3370
|
export declare class ImportedSlotProductDto {
|
|
3366
3371
|
slotID?: string;
|
|
3367
3372
|
name?: string;
|
|
@@ -3444,36 +3449,26 @@ export declare class SeasonRounds extends BondBaseEntity {
|
|
|
3444
3449
|
divisionId?: number;
|
|
3445
3450
|
name: string;
|
|
3446
3451
|
}
|
|
3452
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3453
|
+
teamId: number | null;
|
|
3454
|
+
eventId: number | null;
|
|
3455
|
+
status: number | null;
|
|
3456
|
+
}
|
|
3447
3457
|
export declare class Lock extends BondBaseEntity {
|
|
3448
3458
|
name: string;
|
|
3449
3459
|
locked?: Date;
|
|
3450
3460
|
}
|
|
3461
|
+
export declare class CreateMonitorConfigDto {
|
|
3462
|
+
facilityId: number;
|
|
3463
|
+
name: string;
|
|
3464
|
+
code: string;
|
|
3465
|
+
config: any;
|
|
3466
|
+
}
|
|
3451
3467
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3452
3468
|
facilityId: number;
|
|
3453
3469
|
code: string;
|
|
3454
3470
|
config?: any;
|
|
3455
3471
|
}
|
|
3456
|
-
export interface ValidatedMonthAndDay {
|
|
3457
|
-
valid: boolean;
|
|
3458
|
-
month?: number;
|
|
3459
|
-
day?: number;
|
|
3460
|
-
}
|
|
3461
|
-
export interface ValidationReason {
|
|
3462
|
-
valid: boolean;
|
|
3463
|
-
reason?: string;
|
|
3464
|
-
}
|
|
3465
|
-
export interface PaymentStatus {
|
|
3466
|
-
parentId: number;
|
|
3467
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3468
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3469
|
-
id?: number;
|
|
3470
|
-
}
|
|
3471
|
-
export interface PaymentStatusesDict {
|
|
3472
|
-
[id: number]: PaymentStatus[];
|
|
3473
|
-
}
|
|
3474
|
-
export interface PaymentStatusDict {
|
|
3475
|
-
[id: number]: ReservationPaymentStatusEnum;
|
|
3476
|
-
}
|
|
3477
3472
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3478
3473
|
userId: number;
|
|
3479
3474
|
organizationId: number;
|
|
@@ -3567,12 +3562,6 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3567
3562
|
organisationId: number | null;
|
|
3568
3563
|
userId: number | null;
|
|
3569
3564
|
}
|
|
3570
|
-
export declare class CreateMonitorConfigDto {
|
|
3571
|
-
facilityId: number;
|
|
3572
|
-
name: string;
|
|
3573
|
-
code: string;
|
|
3574
|
-
config: any;
|
|
3575
|
-
}
|
|
3576
3565
|
export interface UnallocatedEventsFilters {
|
|
3577
3566
|
programsIds?: number[];
|
|
3578
3567
|
sessionsIds?: number[];
|
|
@@ -3757,6 +3746,16 @@ export interface ExtendedLineItems {
|
|
|
3757
3746
|
products: LineItems[];
|
|
3758
3747
|
events: LineItems[];
|
|
3759
3748
|
}
|
|
3749
|
+
export interface RefundResult extends PaymentsResults {
|
|
3750
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
3751
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
3752
|
+
invoice?: Invoice;
|
|
3753
|
+
}
|
|
3754
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3755
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3756
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3757
|
+
totalAmountProcessed: number;
|
|
3758
|
+
}
|
|
3760
3759
|
export declare class AddonDto {
|
|
3761
3760
|
productId: number;
|
|
3762
3761
|
id?: number;
|
|
@@ -3784,16 +3783,6 @@ export declare class EditAddonDto {
|
|
|
3784
3783
|
totalPrice: number;
|
|
3785
3784
|
unitPrice?: number;
|
|
3786
3785
|
}
|
|
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
|
-
}
|
|
3797
3786
|
export declare class InvoiceDto {
|
|
3798
3787
|
invoiceId?: string | null;
|
|
3799
3788
|
organizationId: number;
|
|
@@ -4572,11 +4561,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4572
4561
|
role: Role;
|
|
4573
4562
|
user: User;
|
|
4574
4563
|
}
|
|
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
4564
|
export declare class CloseShiftDto {
|
|
4581
4565
|
closingCashAmount: number;
|
|
4582
4566
|
}
|
|
@@ -4603,10 +4587,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4603
4587
|
startDate?: Date;
|
|
4604
4588
|
endDate?: Date;
|
|
4605
4589
|
}
|
|
4606
|
-
export declare class OpenShiftDto {
|
|
4607
|
-
openingCashAmount: number;
|
|
4608
|
-
stationId: number;
|
|
4609
|
-
}
|
|
4610
4590
|
export declare class ShiftManagementClosingAmount {
|
|
4611
4591
|
shiftId: number;
|
|
4612
4592
|
managementClosingCashAmount: number;
|
|
@@ -4614,6 +4594,10 @@ export declare class ShiftManagementClosingAmount {
|
|
|
4614
4594
|
export declare class ManagementClosingOfShiftsDto {
|
|
4615
4595
|
managementClosingData: ShiftManagementClosingAmount[];
|
|
4616
4596
|
}
|
|
4597
|
+
export declare class OpenShiftDto {
|
|
4598
|
+
openingCashAmount: number;
|
|
4599
|
+
stationId: number;
|
|
4600
|
+
}
|
|
4617
4601
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4618
4602
|
stationId: number;
|
|
4619
4603
|
station?: Station;
|
|
@@ -4643,8 +4627,24 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4643
4627
|
closingManager?: User;
|
|
4644
4628
|
reconcilingUser?: User;
|
|
4645
4629
|
}
|
|
4646
|
-
export
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
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
4650
|
}
|