@bondsports/types 0.6.0 → 0.8.0
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 +622 -425
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,6 +27,13 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
+
export declare enum EConfigurationKeys {
|
|
31
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EFailedPaymentReasons {
|
|
34
|
+
CARD_BLOCKED = "card_blocked_by_bond",
|
|
35
|
+
UNKNOWN = "unknown"
|
|
36
|
+
}
|
|
30
37
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
38
|
membershipId: number;
|
|
32
39
|
}
|
|
@@ -50,6 +57,9 @@ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
|
50
57
|
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
58
|
customerId: number;
|
|
52
59
|
}
|
|
60
|
+
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
61
|
+
userId: number;
|
|
62
|
+
}
|
|
53
63
|
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
64
|
nameSearch?: string;
|
|
55
65
|
fuzzy?: string;
|
|
@@ -99,8 +109,7 @@ export declare class UpdateEventDto {
|
|
|
99
109
|
publicNotes?: string;
|
|
100
110
|
privateNotes?: string;
|
|
101
111
|
isInformAttendees?: boolean;
|
|
102
|
-
|
|
103
|
-
minutesAfterSlot?: number;
|
|
112
|
+
maintenance?: MaintenanceDto[];
|
|
104
113
|
}
|
|
105
114
|
export declare class AddEventToSessionDto {
|
|
106
115
|
eventsData: UpdateEventDto[];
|
|
@@ -117,8 +126,7 @@ export declare class UpdateMultipleEventsDto {
|
|
|
117
126
|
publicNotes?: string;
|
|
118
127
|
privateNotes?: string;
|
|
119
128
|
isInformAttendees?: boolean;
|
|
120
|
-
|
|
121
|
-
minutesAfterSlot?: number;
|
|
129
|
+
maintenance?: MaintenanceDto[];
|
|
122
130
|
}
|
|
123
131
|
export declare class FindByFacilityIdDto {
|
|
124
132
|
facilityId: number;
|
|
@@ -159,6 +167,7 @@ export interface IEventOfSessionDetails {
|
|
|
159
167
|
missingPaymentCount: number;
|
|
160
168
|
publicNotes: string;
|
|
161
169
|
privateNotes: string;
|
|
170
|
+
slots?: Slot[];
|
|
162
171
|
}
|
|
163
172
|
export interface IAttendeeOfEvent {
|
|
164
173
|
eventId: number;
|
|
@@ -261,6 +270,16 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
261
270
|
userId: number;
|
|
262
271
|
familyAccountId: number;
|
|
263
272
|
}
|
|
273
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
274
|
+
organizationId: number;
|
|
275
|
+
}
|
|
276
|
+
export declare class GetGlCodeDto {
|
|
277
|
+
id: number;
|
|
278
|
+
organizationId: number;
|
|
279
|
+
code: string;
|
|
280
|
+
createdAt: Date;
|
|
281
|
+
updatedAt: Date;
|
|
282
|
+
}
|
|
264
283
|
export declare class FindOneParams {
|
|
265
284
|
id: number;
|
|
266
285
|
}
|
|
@@ -273,16 +292,6 @@ export declare class PaginationRangeQuery {
|
|
|
273
292
|
endPage: number;
|
|
274
293
|
itemsPerPage: number;
|
|
275
294
|
}
|
|
276
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
-
organizationId: number;
|
|
278
|
-
}
|
|
279
|
-
export declare class GetGlCodeDto {
|
|
280
|
-
id: number;
|
|
281
|
-
organizationId: number;
|
|
282
|
-
code: string;
|
|
283
|
-
createdAt: Date;
|
|
284
|
-
updatedAt: Date;
|
|
285
|
-
}
|
|
286
295
|
export declare class FindByProgramSeasonIdDto {
|
|
287
296
|
seasonId: number;
|
|
288
297
|
}
|
|
@@ -565,6 +574,7 @@ export declare class ConnectProductResourceDto {
|
|
|
565
574
|
export declare class ReturnRequiredProductsDto {
|
|
566
575
|
userId: number;
|
|
567
576
|
productId: number;
|
|
577
|
+
redeemRelevantDate?: string;
|
|
568
578
|
}
|
|
569
579
|
export declare class FindByProductUserIdsDto {
|
|
570
580
|
userId: number;
|
|
@@ -583,8 +593,8 @@ export declare class ProductsIdsDto extends PaginationQuery {
|
|
|
583
593
|
export declare class GetByOrganizationIdDto {
|
|
584
594
|
organizationId?: number;
|
|
585
595
|
}
|
|
586
|
-
export declare class
|
|
587
|
-
|
|
596
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
597
|
+
invoiceId?: number;
|
|
588
598
|
}
|
|
589
599
|
export declare class GetProductsDto extends PaginationQuery {
|
|
590
600
|
productIds?: string;
|
|
@@ -711,9 +721,17 @@ export declare class FindProgramSeasonByIdQueryDto {
|
|
|
711
721
|
export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
|
|
712
722
|
seasonId: number;
|
|
713
723
|
}
|
|
724
|
+
export declare class FindSeasonEventsQueryDto {
|
|
725
|
+
startDateFilter?: EComparisonFilter;
|
|
726
|
+
endDateFilter?: EComparisonFilter;
|
|
727
|
+
}
|
|
714
728
|
export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
|
|
715
729
|
seasonId: number;
|
|
716
730
|
}
|
|
731
|
+
export declare class FindSessionEventByIdDto {
|
|
732
|
+
seasonId: number;
|
|
733
|
+
eventId: number;
|
|
734
|
+
}
|
|
717
735
|
export declare class DeleteProductDto {
|
|
718
736
|
deleteProduct?: boolean;
|
|
719
737
|
}
|
|
@@ -820,8 +838,7 @@ export declare class SpaceResourcePairDto {
|
|
|
820
838
|
spacesIds: number[];
|
|
821
839
|
publicNotes?: string;
|
|
822
840
|
privateNotes?: string;
|
|
823
|
-
|
|
824
|
-
minutesAfterSlot?: number;
|
|
841
|
+
maintenance?: MaintenanceDto[];
|
|
825
842
|
}
|
|
826
843
|
export declare class BulkSpaceResourceAllocationDto {
|
|
827
844
|
spaceResourcePairs: SpaceResourcePairDto[];
|
|
@@ -874,7 +891,7 @@ export declare class MoveParticipantDto {
|
|
|
874
891
|
newProductId: number;
|
|
875
892
|
moveType: 'session' | 'segment';
|
|
876
893
|
resourceId: number;
|
|
877
|
-
|
|
894
|
+
invoiceId: number;
|
|
878
895
|
}
|
|
879
896
|
export declare class FindProgramsByOrganizationIdDto {
|
|
880
897
|
organizationId: number;
|
|
@@ -928,7 +945,7 @@ export declare class ChargeRentalsReuqestDto {
|
|
|
928
945
|
organizationId: number;
|
|
929
946
|
userId?: number;
|
|
930
947
|
customerId?: number;
|
|
931
|
-
|
|
948
|
+
invoiceId: number;
|
|
932
949
|
paymentData: PurchasePaymentDto;
|
|
933
950
|
amountToPay: number;
|
|
934
951
|
total: number;
|
|
@@ -945,10 +962,11 @@ export declare class PurchaseRequestDto {
|
|
|
945
962
|
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
963
|
parentPurchasedId?: number;
|
|
947
964
|
isPartialPayment: boolean;
|
|
948
|
-
|
|
965
|
+
existingInvoiceToken?: string;
|
|
949
966
|
installments?: ScheduledPaymentDto[];
|
|
950
967
|
shiftId?: number;
|
|
951
|
-
|
|
968
|
+
invoiceId?: number;
|
|
969
|
+
platform?: PlatformsEnum;
|
|
952
970
|
}
|
|
953
971
|
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
972
|
}
|
|
@@ -963,12 +981,13 @@ export declare class PurchaseProductDto {
|
|
|
963
981
|
quantity?: number;
|
|
964
982
|
}
|
|
965
983
|
export declare class PartialPaymentRequestDto {
|
|
966
|
-
|
|
984
|
+
invoiceId: number;
|
|
967
985
|
amountToPay: number;
|
|
968
986
|
organizationId: number;
|
|
969
987
|
payingUserId: number;
|
|
970
988
|
paymentMethodData: PurchasePaymentDto;
|
|
971
989
|
shiftId?: number;
|
|
990
|
+
installmentId?: number;
|
|
972
991
|
}
|
|
973
992
|
export declare class RedeemPunchCardRequestDto {
|
|
974
993
|
products: PurchaseProductDto[];
|
|
@@ -976,8 +995,8 @@ export declare class RedeemPunchCardRequestDto {
|
|
|
976
995
|
organizationId: number;
|
|
977
996
|
purchasingUserId: number;
|
|
978
997
|
}
|
|
979
|
-
export declare class
|
|
980
|
-
|
|
998
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
999
|
+
invoiceId: number;
|
|
981
1000
|
}
|
|
982
1001
|
export declare class AddItemsDto {
|
|
983
1002
|
products: PurchaseProductDto[];
|
|
@@ -985,10 +1004,11 @@ export declare class AddItemsDto {
|
|
|
985
1004
|
skipMail: boolean;
|
|
986
1005
|
}
|
|
987
1006
|
export declare class PartialPaymentAsUserDto {
|
|
988
|
-
|
|
1007
|
+
invoiceId: any;
|
|
989
1008
|
organizationId: any;
|
|
990
1009
|
amountToPay: any;
|
|
991
1010
|
paymentMethodData: any;
|
|
1011
|
+
platform?: PlatformsEnum;
|
|
992
1012
|
}
|
|
993
1013
|
export declare class CreateResourceGroupDto {
|
|
994
1014
|
name: string;
|
|
@@ -1061,6 +1081,9 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1061
1081
|
export declare class StripeCustomerIdDto {
|
|
1062
1082
|
userId: number;
|
|
1063
1083
|
}
|
|
1084
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1085
|
+
paymentMethodId: string;
|
|
1086
|
+
}
|
|
1064
1087
|
export declare class AddACHTokenToCustomerDto {
|
|
1065
1088
|
publicToken: string;
|
|
1066
1089
|
accountId: string;
|
|
@@ -1171,6 +1194,11 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1171
1194
|
publicNotes?: string;
|
|
1172
1195
|
slotType?: SlotTypeEnum;
|
|
1173
1196
|
}
|
|
1197
|
+
export declare class Configuration extends BondBaseEntity {
|
|
1198
|
+
area: string;
|
|
1199
|
+
key: string;
|
|
1200
|
+
value: string;
|
|
1201
|
+
}
|
|
1174
1202
|
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
1203
|
parentId: number;
|
|
1176
1204
|
parentType: ResourceNameTypeEnum;
|
|
@@ -1181,31 +1209,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1181
1209
|
endTimeInDay: string;
|
|
1182
1210
|
directBookingFor: DirectBookingTypesEnum;
|
|
1183
1211
|
}
|
|
1184
|
-
export declare class Configuration extends BondBaseEntity {
|
|
1185
|
-
area: string;
|
|
1186
|
-
key: string;
|
|
1187
|
-
value: string;
|
|
1188
|
-
}
|
|
1189
|
-
export declare class Connection extends BondBaseEntity {
|
|
1190
|
-
connType: number | null;
|
|
1191
|
-
from: number | null;
|
|
1192
|
-
fromType: string | null;
|
|
1193
|
-
to: number | null;
|
|
1194
|
-
toType: string | null;
|
|
1195
|
-
status: number | null;
|
|
1196
|
-
creatorId: number | null;
|
|
1197
|
-
creatorType: string | null;
|
|
1198
|
-
userCreatorId: number | null;
|
|
1199
|
-
ownerId: number | null;
|
|
1200
|
-
}
|
|
1201
|
-
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
|
-
creditAmount: number;
|
|
1203
|
-
paymentProcessorId: string;
|
|
1204
|
-
userId: number;
|
|
1205
|
-
invoiceId: number;
|
|
1206
|
-
orderId: number;
|
|
1207
|
-
creditPaymentInvoiceId: number;
|
|
1208
|
-
}
|
|
1209
1212
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1210
1213
|
name: string | null;
|
|
1211
1214
|
entityId: number | null;
|
|
@@ -1234,23 +1237,43 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1234
1237
|
mainMedia: Media;
|
|
1235
1238
|
reservations?: Reservation[];
|
|
1236
1239
|
}
|
|
1240
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1241
|
+
creditAmount: number;
|
|
1242
|
+
paymentProcessorId: string;
|
|
1243
|
+
userId: number;
|
|
1244
|
+
paymentId: number;
|
|
1245
|
+
invoiceId: number;
|
|
1246
|
+
creditPaymentId: number;
|
|
1247
|
+
}
|
|
1248
|
+
export declare class Connection extends BondBaseEntity {
|
|
1249
|
+
connType: number | null;
|
|
1250
|
+
from: number | null;
|
|
1251
|
+
fromType: string | null;
|
|
1252
|
+
to: number | null;
|
|
1253
|
+
toType: string | null;
|
|
1254
|
+
status: number | null;
|
|
1255
|
+
creatorId: number | null;
|
|
1256
|
+
creatorType: string | null;
|
|
1257
|
+
userCreatorId: number | null;
|
|
1258
|
+
ownerId: number | null;
|
|
1259
|
+
}
|
|
1260
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1261
|
+
customerId?: number;
|
|
1262
|
+
description: string;
|
|
1263
|
+
pinToTop?: boolean;
|
|
1264
|
+
customer: Customer;
|
|
1265
|
+
}
|
|
1237
1266
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1238
1267
|
customerId: number;
|
|
1239
1268
|
userId: number;
|
|
1240
1269
|
amount: number;
|
|
1270
|
+
paymentId?: number;
|
|
1241
1271
|
invoiceId?: number;
|
|
1242
|
-
orderId?: number;
|
|
1243
1272
|
description?: string;
|
|
1244
1273
|
deletedAt?: Date;
|
|
1245
1274
|
customer: Customer;
|
|
1246
|
-
order: Order;
|
|
1247
1275
|
invoice: Invoice;
|
|
1248
|
-
|
|
1249
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1250
|
-
customerId?: number;
|
|
1251
|
-
description: string;
|
|
1252
|
-
pinToTop?: boolean;
|
|
1253
|
-
customer: Customer;
|
|
1276
|
+
payment: Payment;
|
|
1254
1277
|
}
|
|
1255
1278
|
export declare class Division extends BondBaseEntity {
|
|
1256
1279
|
name: string;
|
|
@@ -1342,6 +1365,13 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1342
1365
|
activityTimes: ActivityTimes[];
|
|
1343
1366
|
slots: Slot[];
|
|
1344
1367
|
purchasedResources: PurchasedResource[];
|
|
1368
|
+
program?: Program;
|
|
1369
|
+
session?: ProgramSeason;
|
|
1370
|
+
segment?: ProgramSeason;
|
|
1371
|
+
}
|
|
1372
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1373
|
+
facilityId: number;
|
|
1374
|
+
resourceId: number;
|
|
1345
1375
|
}
|
|
1346
1376
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
1377
|
name: string;
|
|
@@ -1367,23 +1397,20 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1367
1397
|
programSeasons: ProgramSeason[];
|
|
1368
1398
|
linkSEO: string;
|
|
1369
1399
|
}
|
|
1370
|
-
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
|
-
facilityId: number;
|
|
1372
|
-
resourceId: number;
|
|
1373
|
-
}
|
|
1374
1400
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1375
1401
|
name: string | null;
|
|
1376
1402
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1377
1403
|
}
|
|
1378
1404
|
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1379
1405
|
userId: number;
|
|
1380
|
-
|
|
1406
|
+
invoiceId: number;
|
|
1381
1407
|
paymentMethodId: string;
|
|
1382
1408
|
paymentType: PaymentMethodTypeEnum;
|
|
1383
1409
|
price: number;
|
|
1384
1410
|
status: FutureInstallmentStatusEnum;
|
|
1385
1411
|
plannedDate: Date;
|
|
1386
1412
|
chargedAt?: Date;
|
|
1413
|
+
originalPlannedDate?: Date;
|
|
1387
1414
|
}
|
|
1388
1415
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
1416
|
code: string;
|
|
@@ -1417,37 +1444,34 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
|
|
|
1417
1444
|
discountMethod?: DiscountMethodsEnum;
|
|
1418
1445
|
discountValue?: number;
|
|
1419
1446
|
}
|
|
1420
|
-
export declare class
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1447
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1448
|
+
invoiceId: string | null;
|
|
1449
|
+
price: number | null;
|
|
1450
|
+
status: InvoiceStatusEnum | null;
|
|
1451
|
+
sentForClientDate: Date | null;
|
|
1452
|
+
payingUserId?: number | null;
|
|
1453
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1454
|
+
lineItems: LineItems[];
|
|
1455
|
+
lineItemHistory: LineItemHistory[];
|
|
1429
1456
|
paymentStatus: PaymentStatusEnum;
|
|
1430
|
-
bondFee?: number;
|
|
1431
|
-
stripeFee?: number;
|
|
1432
|
-
currency: CurrencyEnum;
|
|
1433
|
-
payingUserId?: number;
|
|
1434
1457
|
paymentMethodId?: string;
|
|
1435
1458
|
paymentType?: PaymentMethodTypeEnum;
|
|
1436
|
-
|
|
1437
|
-
|
|
1459
|
+
paidAmount: number;
|
|
1460
|
+
currency: CurrencyEnum;
|
|
1461
|
+
mainPaymentId: number;
|
|
1462
|
+
isScheduled: boolean;
|
|
1438
1463
|
isRefunded: boolean;
|
|
1439
|
-
|
|
1440
|
-
receiptUrl?: string;
|
|
1441
|
-
paymentProcessorTransactionId?: string;
|
|
1464
|
+
isVoided: boolean;
|
|
1442
1465
|
creatingUserId: number;
|
|
1443
1466
|
shiftId: number;
|
|
1444
1467
|
platform: PlatformsEnum;
|
|
1445
|
-
ccLast4: string;
|
|
1446
|
-
ccBrand: string;
|
|
1447
1468
|
invoiceNotes: InvoiceNote[];
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1469
|
+
slots: Slot[];
|
|
1470
|
+
}
|
|
1471
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1472
|
+
groupId: number;
|
|
1473
|
+
divisionId: number;
|
|
1474
|
+
deletedAt?: Date;
|
|
1451
1475
|
}
|
|
1452
1476
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1453
1477
|
email: string;
|
|
@@ -1469,6 +1493,14 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
|
1469
1493
|
invoiceId: number;
|
|
1470
1494
|
invoice: Invoice;
|
|
1471
1495
|
}
|
|
1496
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1497
|
+
invoiceId: number;
|
|
1498
|
+
paymentId: number;
|
|
1499
|
+
invoice: Invoice;
|
|
1500
|
+
payment: Payment;
|
|
1501
|
+
paidAmount?: number;
|
|
1502
|
+
currency: CurrencyEnum;
|
|
1503
|
+
}
|
|
1472
1504
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1473
1505
|
name: string | null;
|
|
1474
1506
|
description: string | null;
|
|
@@ -1540,21 +1572,21 @@ export declare class LeagueSeasonRelations {
|
|
|
1540
1572
|
facilities?: boolean;
|
|
1541
1573
|
}
|
|
1542
1574
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
-
orderId: number;
|
|
1544
1575
|
invoiceId: number;
|
|
1576
|
+
paymentId: number;
|
|
1545
1577
|
lineItemId: number;
|
|
1546
1578
|
paidAmount: number;
|
|
1547
1579
|
unitPaidAmount: number;
|
|
1548
1580
|
currency: CurrencyEnum;
|
|
1549
|
-
|
|
1581
|
+
payment: Payment;
|
|
1550
1582
|
lineItem: LineItems;
|
|
1551
1583
|
}
|
|
1552
1584
|
export declare class LineItems extends BondBaseEntity {
|
|
1553
1585
|
constructor();
|
|
1554
1586
|
defineIsReverted(): void;
|
|
1555
1587
|
isReverted: boolean;
|
|
1556
|
-
|
|
1557
|
-
|
|
1588
|
+
invoiceId: number;
|
|
1589
|
+
invoice: Invoice;
|
|
1558
1590
|
lineItemsHistory: LineItemHistory[];
|
|
1559
1591
|
type: LineItemsStatusEnum | null;
|
|
1560
1592
|
userId: number | null;
|
|
@@ -1639,6 +1671,26 @@ export declare class Media extends BondBaseEntity {
|
|
|
1639
1671
|
programs: Program[];
|
|
1640
1672
|
memberships: Membership[];
|
|
1641
1673
|
}
|
|
1674
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1675
|
+
membership: Membership;
|
|
1676
|
+
membershipId: number;
|
|
1677
|
+
productUserId: number;
|
|
1678
|
+
productUser?: ProductsUsers;
|
|
1679
|
+
userId: number;
|
|
1680
|
+
membershipType: MembershipTypeEnum;
|
|
1681
|
+
durationMonths?: number;
|
|
1682
|
+
startDate?: string;
|
|
1683
|
+
endDate?: string;
|
|
1684
|
+
renewalOfMemberId?: number;
|
|
1685
|
+
isAutoRenew?: boolean;
|
|
1686
|
+
nextPaymentMethodId?: string;
|
|
1687
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1688
|
+
answerTitleIds?: number[];
|
|
1689
|
+
cancelledAt?: Date | null;
|
|
1690
|
+
cancellationReason?: string;
|
|
1691
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1692
|
+
isImported?: boolean;
|
|
1693
|
+
}
|
|
1642
1694
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1643
1695
|
name: string;
|
|
1644
1696
|
description?: string;
|
|
@@ -1667,26 +1719,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1667
1719
|
isAutoRenew?: boolean;
|
|
1668
1720
|
purchasedResources: PurchasedResource[];
|
|
1669
1721
|
}
|
|
1670
|
-
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1671
|
-
membership: Membership;
|
|
1672
|
-
membershipId: number;
|
|
1673
|
-
productUserId: number;
|
|
1674
|
-
productUser?: ProductsUsers;
|
|
1675
|
-
userId: number;
|
|
1676
|
-
membershipType: MembershipTypeEnum;
|
|
1677
|
-
durationMonths?: number;
|
|
1678
|
-
startDate?: string;
|
|
1679
|
-
endDate?: string;
|
|
1680
|
-
renewalOfMemberId?: number;
|
|
1681
|
-
isAutoRenew?: boolean;
|
|
1682
|
-
nextPaymentMethodId?: string;
|
|
1683
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1684
|
-
answerTitleIds?: number[];
|
|
1685
|
-
cancelledAt?: Date | null;
|
|
1686
|
-
cancellationReason?: string;
|
|
1687
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1688
|
-
isImported?: boolean;
|
|
1689
|
-
}
|
|
1690
1722
|
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1691
1723
|
email: string | null;
|
|
1692
1724
|
notificationType: NotificationTypeEnum | null;
|
|
@@ -1704,47 +1736,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1704
1736
|
deletedAt?: Date;
|
|
1705
1737
|
facility: Facility;
|
|
1706
1738
|
}
|
|
1707
|
-
export declare class Order extends BondBaseEntity {
|
|
1708
|
-
orderId: string | null;
|
|
1709
|
-
price: number | null;
|
|
1710
|
-
status: OrderStatusEnum | null;
|
|
1711
|
-
sentForClientDate: Date | null;
|
|
1712
|
-
payingUserId?: number | null;
|
|
1713
|
-
orderToInvoices: OrderToInvoice[];
|
|
1714
|
-
lineItems: LineItems[];
|
|
1715
|
-
lineItemHistory: LineItemHistory[];
|
|
1716
|
-
paymentStatus: PaymentStatusEnum;
|
|
1717
|
-
paymentMethodId?: string;
|
|
1718
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1719
|
-
paidAmount: number;
|
|
1720
|
-
currency: CurrencyEnum;
|
|
1721
|
-
mainInvoiceId: number;
|
|
1722
|
-
isScheduled: boolean;
|
|
1723
|
-
isRefunded: boolean;
|
|
1724
|
-
isVoided: boolean;
|
|
1725
|
-
creatingUserId: number;
|
|
1726
|
-
shiftId: number;
|
|
1727
|
-
platform: PlatformsEnum;
|
|
1728
|
-
orderNotes: OrderNote[];
|
|
1729
|
-
slots: Slot[];
|
|
1730
|
-
}
|
|
1731
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
-
content: string;
|
|
1733
|
-
creatingUserId: number;
|
|
1734
|
-
user: User;
|
|
1735
|
-
isPublic: boolean;
|
|
1736
|
-
deletedAt: Date;
|
|
1737
|
-
orderId: number;
|
|
1738
|
-
order: Order;
|
|
1739
|
-
}
|
|
1740
|
-
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1741
|
-
orderId: number;
|
|
1742
|
-
invoiceId: number;
|
|
1743
|
-
order: Order;
|
|
1744
|
-
invoice: Invoice;
|
|
1745
|
-
paidAmount?: number;
|
|
1746
|
-
currency: CurrencyEnum;
|
|
1747
|
-
}
|
|
1748
1739
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
1740
|
organizationId: number;
|
|
1750
1741
|
}
|
|
@@ -1771,14 +1762,60 @@ export declare class PasswordReset extends BondBaseEntity {
|
|
|
1771
1762
|
validUntil: Date | null;
|
|
1772
1763
|
active: boolean | null;
|
|
1773
1764
|
}
|
|
1765
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1766
|
+
price: number;
|
|
1767
|
+
paymentProcessorId: string;
|
|
1768
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1769
|
+
paymentStatus: PaymentStatusEnum;
|
|
1770
|
+
bondFee?: number;
|
|
1771
|
+
stripeFee?: number;
|
|
1772
|
+
currency: CurrencyEnum;
|
|
1773
|
+
payingUserId?: number;
|
|
1774
|
+
paymentMethodId?: string;
|
|
1775
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1776
|
+
fundLeft: number;
|
|
1777
|
+
notes?: string;
|
|
1778
|
+
isRefunded: boolean;
|
|
1779
|
+
lineItemHistory: LineItemHistory[];
|
|
1780
|
+
receiptUrl?: string;
|
|
1781
|
+
paymentProcessorTransactionId?: string;
|
|
1782
|
+
creatingUserId: number;
|
|
1783
|
+
shiftId: number;
|
|
1784
|
+
platform: PlatformsEnum;
|
|
1785
|
+
ccLast4: string;
|
|
1786
|
+
ccBrand: string;
|
|
1787
|
+
paymentNotes: PaymentNote[];
|
|
1788
|
+
parentInvoiceId?: number;
|
|
1789
|
+
refundReasonId?: number;
|
|
1790
|
+
refundNote?: string;
|
|
1791
|
+
}
|
|
1792
|
+
export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
|
|
1793
|
+
failureIndex: number;
|
|
1794
|
+
waitingDays: number;
|
|
1795
|
+
}
|
|
1796
|
+
export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
|
|
1797
|
+
paymentInstallmentId?: number;
|
|
1798
|
+
invoiceId: number;
|
|
1799
|
+
reason: EFailedPaymentReasons;
|
|
1800
|
+
errorMessage: string;
|
|
1801
|
+
}
|
|
1774
1802
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
1803
|
paymentPlanId: number;
|
|
1776
1804
|
paymentDate: Date;
|
|
1777
1805
|
deletedAt?: Date;
|
|
1778
1806
|
paymentPlan: ProductPaymentPlan;
|
|
1779
1807
|
}
|
|
1780
|
-
export declare class
|
|
1781
|
-
|
|
1808
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1809
|
+
content: string;
|
|
1810
|
+
creatingUserId: number;
|
|
1811
|
+
user: User;
|
|
1812
|
+
isPublic: boolean;
|
|
1813
|
+
deletedAt: Date;
|
|
1814
|
+
paymentId: number;
|
|
1815
|
+
payment: Payment;
|
|
1816
|
+
}
|
|
1817
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1818
|
+
userId: number | null;
|
|
1782
1819
|
ownerId: number | null;
|
|
1783
1820
|
parentId: number | null;
|
|
1784
1821
|
parentType: string | null;
|
|
@@ -1793,7 +1830,7 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1793
1830
|
locked: boolean | null;
|
|
1794
1831
|
numberOfTries: number | null;
|
|
1795
1832
|
installmentId: number | null;
|
|
1796
|
-
|
|
1833
|
+
invoiceId: string | null;
|
|
1797
1834
|
}
|
|
1798
1835
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1799
1836
|
productId: number;
|
|
@@ -1959,6 +1996,28 @@ export declare class ProgramHighlights extends BondBaseEntity {
|
|
|
1959
1996
|
program: Program;
|
|
1960
1997
|
deletedAt?: Date;
|
|
1961
1998
|
}
|
|
1999
|
+
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2000
|
+
productUserId: number;
|
|
2001
|
+
resourceId: number;
|
|
2002
|
+
resourceType: ResourceNameTypeEnum;
|
|
2003
|
+
status: PurchasedResourceStatusEnum;
|
|
2004
|
+
startDate?: string;
|
|
2005
|
+
startTime?: string;
|
|
2006
|
+
endDate?: string;
|
|
2007
|
+
endTime?: string;
|
|
2008
|
+
productUser?: ProductsUsers;
|
|
2009
|
+
lineItem?: LineItems;
|
|
2010
|
+
eventAttendee?: EventAttendee;
|
|
2011
|
+
seasonAttendee?: SeasonAttendee;
|
|
2012
|
+
leagueAttendee?: SeasonPool;
|
|
2013
|
+
membership?: Membership;
|
|
2014
|
+
program?: Program;
|
|
2015
|
+
programSeason?: ProgramSeason;
|
|
2016
|
+
leagueSeason?: LeagueSeason;
|
|
2017
|
+
space?: Resource;
|
|
2018
|
+
product?: Product;
|
|
2019
|
+
event?: Event;
|
|
2020
|
+
}
|
|
1962
2021
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1963
2022
|
programId: number;
|
|
1964
2023
|
name: string;
|
|
@@ -1999,6 +2058,7 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1999
2058
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2000
2059
|
program: Program;
|
|
2001
2060
|
spaces?: Resource[];
|
|
2061
|
+
reservationId?: number;
|
|
2002
2062
|
earlyRegistrationStartDate?: Date;
|
|
2003
2063
|
earlyRegistrationEndDate?: Date;
|
|
2004
2064
|
lateRegistrationStartDate?: Date;
|
|
@@ -2013,46 +2073,10 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2013
2073
|
facility: Facility;
|
|
2014
2074
|
purchasedResources: PurchasedResource[];
|
|
2015
2075
|
}
|
|
2016
|
-
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2017
|
-
productUserId: number;
|
|
2018
|
-
resourceId: number;
|
|
2019
|
-
resourceType: ResourceNameTypeEnum;
|
|
2020
|
-
status: PurchasedResourceStatusEnum;
|
|
2021
|
-
startDate?: string;
|
|
2022
|
-
startTime?: string;
|
|
2023
|
-
endDate?: string;
|
|
2024
|
-
endTime?: string;
|
|
2025
|
-
productUser?: ProductsUsers;
|
|
2026
|
-
lineItem?: LineItems;
|
|
2027
|
-
eventAttendee?: EventAttendee;
|
|
2028
|
-
seasonAttendee?: SeasonAttendee;
|
|
2029
|
-
leagueAttendee?: SeasonPool;
|
|
2030
|
-
membership?: Membership;
|
|
2031
|
-
program?: Program;
|
|
2032
|
-
programSeason?: ProgramSeason;
|
|
2033
|
-
leagueSeason?: LeagueSeason;
|
|
2034
|
-
space?: Resource;
|
|
2035
|
-
product?: Product;
|
|
2036
|
-
event?: Event;
|
|
2037
|
-
}
|
|
2038
2076
|
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2039
2077
|
title: string | null;
|
|
2040
2078
|
answerTitle: AnswerTitle;
|
|
2041
2079
|
}
|
|
2042
|
-
export declare class Questions extends BondBaseEntity {
|
|
2043
|
-
questionType: string | null;
|
|
2044
|
-
ordinal: number | null;
|
|
2045
|
-
pageOrdinal: number | null;
|
|
2046
|
-
isActive: boolean | null;
|
|
2047
|
-
isMandatory: boolean | null;
|
|
2048
|
-
metaData: any | null;
|
|
2049
|
-
question: string | null;
|
|
2050
|
-
creatorId: number | null;
|
|
2051
|
-
creatorType: string | null;
|
|
2052
|
-
userCreatorId: number | null;
|
|
2053
|
-
ownerId: number | null;
|
|
2054
|
-
questionnaireId: number | null;
|
|
2055
|
-
}
|
|
2056
2080
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2057
2081
|
reason: string;
|
|
2058
2082
|
ordinal: number;
|
|
@@ -2076,7 +2100,7 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2076
2100
|
status?: string;
|
|
2077
2101
|
privacySetting?: string;
|
|
2078
2102
|
reservationType?: string;
|
|
2079
|
-
|
|
2103
|
+
invoiceId?: string;
|
|
2080
2104
|
customerId?: number;
|
|
2081
2105
|
length?: number;
|
|
2082
2106
|
price?: number;
|
|
@@ -2101,6 +2125,20 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2101
2125
|
publicNotes?: string;
|
|
2102
2126
|
slots?: Slot[];
|
|
2103
2127
|
}
|
|
2128
|
+
export declare class Questions extends BondBaseEntity {
|
|
2129
|
+
questionType: string | null;
|
|
2130
|
+
ordinal: number | null;
|
|
2131
|
+
pageOrdinal: number | null;
|
|
2132
|
+
isActive: boolean | null;
|
|
2133
|
+
isMandatory: boolean | null;
|
|
2134
|
+
metaData: any | null;
|
|
2135
|
+
question: string | null;
|
|
2136
|
+
creatorId: number | null;
|
|
2137
|
+
creatorType: string | null;
|
|
2138
|
+
userCreatorId: number | null;
|
|
2139
|
+
ownerId: number | null;
|
|
2140
|
+
questionnaireId: number | null;
|
|
2141
|
+
}
|
|
2104
2142
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2105
2143
|
name: string;
|
|
2106
2144
|
resourceType: ResourceTypeEnum;
|
|
@@ -2144,6 +2182,12 @@ export declare class School extends BondBaseEntity {
|
|
|
2144
2182
|
phone: string | null;
|
|
2145
2183
|
dataId: number | null;
|
|
2146
2184
|
}
|
|
2185
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2186
|
+
name: string | null;
|
|
2187
|
+
ordinal: number | null;
|
|
2188
|
+
seasonId: number | null;
|
|
2189
|
+
color: string | null;
|
|
2190
|
+
}
|
|
2147
2191
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2148
2192
|
status: RequestStatusEnum;
|
|
2149
2193
|
paymentStatus: PaymentStatusEnum;
|
|
@@ -2158,12 +2202,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2158
2202
|
deletedAt?: Date;
|
|
2159
2203
|
purchasedResource: PurchasedResource;
|
|
2160
2204
|
}
|
|
2161
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2162
|
-
name: string | null;
|
|
2163
|
-
ordinal: number | null;
|
|
2164
|
-
seasonId: number | null;
|
|
2165
|
-
color: string | null;
|
|
2166
|
-
}
|
|
2167
2205
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2168
2206
|
seasonId?: number;
|
|
2169
2207
|
userId?: number;
|
|
@@ -2179,16 +2217,6 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2179
2217
|
purchasedResource: PurchasedResource;
|
|
2180
2218
|
season: LeagueSeason;
|
|
2181
2219
|
}
|
|
2182
|
-
export declare class SeasonTeam extends BondBaseEntity {
|
|
2183
|
-
seasonId: number | null;
|
|
2184
|
-
teamId: number | null;
|
|
2185
|
-
standingPosition: number | null;
|
|
2186
|
-
statistics: any | null;
|
|
2187
|
-
points: number | null;
|
|
2188
|
-
divisionId: number | null;
|
|
2189
|
-
metaData: any | null;
|
|
2190
|
-
team: Team;
|
|
2191
|
-
}
|
|
2192
2220
|
export declare class SpacesDependency extends BondBaseEntity {
|
|
2193
2221
|
blockingSpaceId: number;
|
|
2194
2222
|
blockedSpaceId: number;
|
|
@@ -2204,13 +2232,15 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2204
2232
|
subcategories: Subcategory[];
|
|
2205
2233
|
shifts?: Shift[];
|
|
2206
2234
|
}
|
|
2207
|
-
export declare class
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2235
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2236
|
+
seasonId: number | null;
|
|
2237
|
+
teamId: number | null;
|
|
2238
|
+
standingPosition: number | null;
|
|
2239
|
+
statistics: any | null;
|
|
2240
|
+
points: number | null;
|
|
2241
|
+
divisionId: number | null;
|
|
2242
|
+
metaData: any | null;
|
|
2243
|
+
team: Team;
|
|
2214
2244
|
}
|
|
2215
2245
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2216
2246
|
productType: ProductTypesEnum;
|
|
@@ -2220,6 +2250,32 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2220
2250
|
stationToSubcategories: StationToSubcategory[];
|
|
2221
2251
|
stations: Station[];
|
|
2222
2252
|
}
|
|
2253
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2254
|
+
stationId: number;
|
|
2255
|
+
subcategoryId: number;
|
|
2256
|
+
productType: ProductTypesEnum;
|
|
2257
|
+
deletedAt?: Date;
|
|
2258
|
+
station: Station;
|
|
2259
|
+
subcategory: Subcategory;
|
|
2260
|
+
}
|
|
2261
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2262
|
+
teamId: number | null;
|
|
2263
|
+
userId: number | null;
|
|
2264
|
+
paymentId: number | null;
|
|
2265
|
+
hasPaid: boolean | null;
|
|
2266
|
+
status: TeamMemberStatusEnum | null;
|
|
2267
|
+
role: TeamMemberRoleEnum;
|
|
2268
|
+
user: User;
|
|
2269
|
+
}
|
|
2270
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2271
|
+
email: string;
|
|
2272
|
+
teamId: number;
|
|
2273
|
+
invitedUserId?: number;
|
|
2274
|
+
userCreatorId: number;
|
|
2275
|
+
token: string;
|
|
2276
|
+
tokenExpirationDate: Date;
|
|
2277
|
+
isUsed: boolean;
|
|
2278
|
+
}
|
|
2223
2279
|
export declare class Team extends BondBaseEntity {
|
|
2224
2280
|
name: string | null;
|
|
2225
2281
|
description: string | null;
|
|
@@ -2254,24 +2310,6 @@ export declare class Team extends BondBaseEntity {
|
|
|
2254
2310
|
gender: number | null;
|
|
2255
2311
|
questionnaireId: number | null;
|
|
2256
2312
|
}
|
|
2257
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2258
|
-
email: string;
|
|
2259
|
-
teamId: number;
|
|
2260
|
-
invitedUserId?: number;
|
|
2261
|
-
userCreatorId: number;
|
|
2262
|
-
token: string;
|
|
2263
|
-
tokenExpirationDate: Date;
|
|
2264
|
-
isUsed: boolean;
|
|
2265
|
-
}
|
|
2266
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2267
|
-
teamId: number | null;
|
|
2268
|
-
userId: number | null;
|
|
2269
|
-
paymentId: number | null;
|
|
2270
|
-
hasPaid: boolean | null;
|
|
2271
|
-
status: TeamMemberStatusEnum | null;
|
|
2272
|
-
role: TeamMemberRoleEnum;
|
|
2273
|
-
user: User;
|
|
2274
|
-
}
|
|
2275
2313
|
export declare class User extends BondBaseEntity {
|
|
2276
2314
|
firstName: string | null;
|
|
2277
2315
|
lastName: string | null;
|
|
@@ -2308,14 +2346,8 @@ export declare class User extends BondBaseEntity {
|
|
|
2308
2346
|
linkedAccounts: LinkedAccounts[];
|
|
2309
2347
|
profilePicture: Media;
|
|
2310
2348
|
usersRoles: UserRole[];
|
|
2311
|
-
orderNotes: OrderNote[];
|
|
2312
2349
|
invoiceNotes: InvoiceNote[];
|
|
2313
|
-
|
|
2314
|
-
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2315
|
-
entityId: number | null;
|
|
2316
|
-
userId: number | null;
|
|
2317
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2318
|
-
user: User;
|
|
2350
|
+
paymentNotes: PaymentNote[];
|
|
2319
2351
|
}
|
|
2320
2352
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2321
2353
|
familyAccountId: number;
|
|
@@ -2325,6 +2357,20 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2325
2357
|
familyAccount: FamilyAccount;
|
|
2326
2358
|
deletedAt?: Date;
|
|
2327
2359
|
}
|
|
2360
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2361
|
+
entityId: number | null;
|
|
2362
|
+
userId: number | null;
|
|
2363
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2364
|
+
user: User;
|
|
2365
|
+
}
|
|
2366
|
+
export declare class UserPaymentMethod extends BondBaseEntity {
|
|
2367
|
+
userId: number;
|
|
2368
|
+
failCount: number;
|
|
2369
|
+
isDefault?: boolean;
|
|
2370
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
2371
|
+
paymentMethodId: string;
|
|
2372
|
+
nextAllowedChargeDate?: Date;
|
|
2373
|
+
}
|
|
2328
2374
|
export declare class UsersInGroup extends BondBaseEntity {
|
|
2329
2375
|
groupId: number;
|
|
2330
2376
|
userId: number;
|
|
@@ -2372,7 +2418,7 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2372
2418
|
GAMESLOT = "gameslot",
|
|
2373
2419
|
SPACE = "space",
|
|
2374
2420
|
RESERVATION = "reservation",
|
|
2375
|
-
|
|
2421
|
+
INVOICE = "invoice",
|
|
2376
2422
|
CUSTOMER = "customer",
|
|
2377
2423
|
PACKAGE = "package",
|
|
2378
2424
|
FACILITY = "facility",
|
|
@@ -2565,7 +2611,7 @@ export declare enum ProductTypesEnum {
|
|
|
2565
2611
|
LEAGUE_REGISTRATION = "league_registration",
|
|
2566
2612
|
TAX = "tax"
|
|
2567
2613
|
}
|
|
2568
|
-
export declare enum
|
|
2614
|
+
export declare enum InvoiceStatusEnum {
|
|
2569
2615
|
ACTIVE = "active",
|
|
2570
2616
|
WAITING_ADMIN = "waitingAdmin",
|
|
2571
2617
|
WAITING_CLIENT = "waitingClient",
|
|
@@ -2589,7 +2635,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
2589
2635
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2590
2636
|
OTHER = "other",
|
|
2591
2637
|
MIGRATED = "migrated",
|
|
2592
|
-
VOID = "void"
|
|
2638
|
+
VOID = "void",
|
|
2639
|
+
GIFT_CARD = "gift-card"
|
|
2593
2640
|
}
|
|
2594
2641
|
export declare enum RefundTypeEnum {
|
|
2595
2642
|
LEAVE_BALANCE = "leave_balance",
|
|
@@ -2756,7 +2803,8 @@ export declare enum OrganizationLocaleDateEnum {
|
|
|
2756
2803
|
}
|
|
2757
2804
|
export declare enum DateTimeFormatsEnum {
|
|
2758
2805
|
API_DATE = "YYYY/MM/DD",
|
|
2759
|
-
API_TIME = "HH:mm:ss"
|
|
2806
|
+
API_TIME = "HH:mm:ss",
|
|
2807
|
+
DB_DATE = "YYYY-MM-DD"
|
|
2760
2808
|
}
|
|
2761
2809
|
export declare enum SlotTypeEnum {
|
|
2762
2810
|
EXTERNAL = "external",
|
|
@@ -2766,6 +2814,7 @@ export declare enum SlotTypeEnum {
|
|
|
2766
2814
|
}
|
|
2767
2815
|
export declare enum PlatformsEnum {
|
|
2768
2816
|
CONSUMER = "consumer",
|
|
2817
|
+
CONSUMER_CHECKOUT = "consumer_checkout",
|
|
2769
2818
|
BO = "backoffice",
|
|
2770
2819
|
MOBILE = "mobile",
|
|
2771
2820
|
CRON = "cron"
|
|
@@ -2788,7 +2837,8 @@ export declare enum ReservationTypeEnum {
|
|
|
2788
2837
|
RENTAL = "rental",
|
|
2789
2838
|
PROGRAM = "program",
|
|
2790
2839
|
MAINTENANCE = "maintenance",
|
|
2791
|
-
CUSTOM = "custom"
|
|
2840
|
+
CUSTOM = "custom",
|
|
2841
|
+
INTERNAL = "internal"
|
|
2792
2842
|
}
|
|
2793
2843
|
export declare enum SlotDurationTypeEnum {
|
|
2794
2844
|
DATES = "dates",
|
|
@@ -2814,7 +2864,8 @@ export declare enum MaintenanceTimingEnum {
|
|
|
2814
2864
|
}
|
|
2815
2865
|
export declare enum CreatorTypeEnum {
|
|
2816
2866
|
SPACE = "space",
|
|
2817
|
-
PROGRAM_SEASON = "program_season"
|
|
2867
|
+
PROGRAM_SEASON = "program_season",
|
|
2868
|
+
SEASON = "season"
|
|
2818
2869
|
}
|
|
2819
2870
|
export declare enum UpdatePricesTypeEnum {
|
|
2820
2871
|
INDIVIDUAL = "indvidual",
|
|
@@ -2875,6 +2926,19 @@ export declare enum EEmailStatus {
|
|
|
2875
2926
|
PAID = "paid",
|
|
2876
2927
|
CANCELED = "canceled"
|
|
2877
2928
|
}
|
|
2929
|
+
export declare enum PaymentSettingStatusEnum {
|
|
2930
|
+
ENABLED = 1,
|
|
2931
|
+
DISABLED_REDIRECT = 2,
|
|
2932
|
+
DISABLED_INFO_ONLY = 3,
|
|
2933
|
+
DISABLED_EMAIL = 4
|
|
2934
|
+
}
|
|
2935
|
+
export declare enum NotifyMethodEnum {
|
|
2936
|
+
EMAIL = "Email"
|
|
2937
|
+
}
|
|
2938
|
+
export declare enum EComparisonFilter {
|
|
2939
|
+
LessThan = "lt",
|
|
2940
|
+
GreaterOrEqualTo = "gte"
|
|
2941
|
+
}
|
|
2878
2942
|
export interface IEntitlementTerms {
|
|
2879
2943
|
type: EntitlementTermsTypesEnum;
|
|
2880
2944
|
id?: number;
|
|
@@ -2913,8 +2977,8 @@ export interface IChildProduct {
|
|
|
2913
2977
|
export interface ISeasonAttendeeInfo {
|
|
2914
2978
|
applicationAnswers: Answer[];
|
|
2915
2979
|
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2916
|
-
invoices:
|
|
2917
|
-
payments:
|
|
2980
|
+
invoices: Invoice[];
|
|
2981
|
+
payments: Payment[];
|
|
2918
2982
|
products: Product[];
|
|
2919
2983
|
redeemNext: ProductsUsers;
|
|
2920
2984
|
}
|
|
@@ -2944,8 +3008,8 @@ export interface ITokenResonse {
|
|
|
2944
3008
|
}
|
|
2945
3009
|
export interface IStripeBondInvoices {
|
|
2946
3010
|
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2947
|
-
|
|
2948
|
-
|
|
3011
|
+
bondPaidPayment: Payment;
|
|
3012
|
+
invoice?: Invoice;
|
|
2949
3013
|
customer?: Customer;
|
|
2950
3014
|
}
|
|
2951
3015
|
export interface IPartialPaymentData {
|
|
@@ -3015,11 +3079,11 @@ export interface ISingleMemberForRenewal {
|
|
|
3015
3079
|
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3016
3080
|
member_answerTitleIds?: number[];
|
|
3017
3081
|
member_organizationId: number;
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3082
|
+
product_productPrice: number;
|
|
3083
|
+
product_productId: number;
|
|
3084
|
+
invoice_payingUserId: number;
|
|
3085
|
+
invoice_paymentMethodId: string;
|
|
3086
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3023
3087
|
endDate: Date;
|
|
3024
3088
|
membership_name: string;
|
|
3025
3089
|
user_firstName: string;
|
|
@@ -3028,9 +3092,9 @@ export interface ISingleMemberForRenewal {
|
|
|
3028
3092
|
}
|
|
3029
3093
|
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3030
3094
|
package_parentProductId: number;
|
|
3031
|
-
|
|
3095
|
+
product2_productPrice: number;
|
|
3032
3096
|
familyid: number;
|
|
3033
|
-
|
|
3097
|
+
invoice_id: number;
|
|
3034
3098
|
}
|
|
3035
3099
|
export interface IResourceRegistrationData {
|
|
3036
3100
|
id: number;
|
|
@@ -3240,27 +3304,14 @@ export declare class ColumnNumericTransformer {
|
|
|
3240
3304
|
from(data: string): number;
|
|
3241
3305
|
}
|
|
3242
3306
|
export declare function convertToNumber(data: string): number;
|
|
3243
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3244
|
-
name?: string;
|
|
3245
|
-
genderStr?: string;
|
|
3246
|
-
parentID?: string;
|
|
3247
|
-
partnerID?: string;
|
|
3248
|
-
membershipName?: string;
|
|
3249
|
-
membershipExpDate?: string;
|
|
3250
|
-
membershipCreationDate?: string;
|
|
3251
|
-
bondMembershipID?: number;
|
|
3252
|
-
}
|
|
3253
|
-
export declare class AddFamilyDto {
|
|
3254
|
-
parents: AddImportedCustomerDto[];
|
|
3255
|
-
children: AddImportedCustomerDto[];
|
|
3256
|
-
}
|
|
3257
3307
|
export declare enum ImportPaymentTypeEnum {
|
|
3258
3308
|
CREDIT_CARD = "card",
|
|
3259
3309
|
ACH = "ach",
|
|
3260
3310
|
CASH = "cash",
|
|
3261
3311
|
CHECK = "check",
|
|
3262
3312
|
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3263
|
-
OTHER = "other"
|
|
3313
|
+
OTHER = "other",
|
|
3314
|
+
GIFT_CARD = "gift-card"
|
|
3264
3315
|
}
|
|
3265
3316
|
export declare class ImportedInvoiceLineDto {
|
|
3266
3317
|
invoiceID?: string;
|
|
@@ -3289,6 +3340,20 @@ export declare class ImportedPaymentDto {
|
|
|
3289
3340
|
date: string;
|
|
3290
3341
|
time: string;
|
|
3291
3342
|
}
|
|
3343
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3344
|
+
name?: string;
|
|
3345
|
+
genderStr?: string;
|
|
3346
|
+
parentID?: string;
|
|
3347
|
+
partnerID?: string;
|
|
3348
|
+
membershipName?: string;
|
|
3349
|
+
membershipExpDate?: string;
|
|
3350
|
+
membershipCreationDate?: string;
|
|
3351
|
+
bondMembershipID?: number;
|
|
3352
|
+
}
|
|
3353
|
+
export declare class AddFamilyDto {
|
|
3354
|
+
parents: AddImportedCustomerDto[];
|
|
3355
|
+
children: AddImportedCustomerDto[];
|
|
3356
|
+
}
|
|
3292
3357
|
export declare class ProductIdsDto {
|
|
3293
3358
|
productIds?: number[];
|
|
3294
3359
|
}
|
|
@@ -3305,6 +3370,24 @@ export declare class PunchPassDto {
|
|
|
3305
3370
|
BondSessionID: number;
|
|
3306
3371
|
ProductID: number;
|
|
3307
3372
|
}
|
|
3373
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3374
|
+
entityType: string;
|
|
3375
|
+
entityId: number;
|
|
3376
|
+
}
|
|
3377
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3378
|
+
matchId: number | null;
|
|
3379
|
+
ordinal: number | null;
|
|
3380
|
+
outcomeOrdinal: number | null;
|
|
3381
|
+
resultMetaData: any | null;
|
|
3382
|
+
points: number | null;
|
|
3383
|
+
score: number | null;
|
|
3384
|
+
gameSlotId: number | null;
|
|
3385
|
+
}
|
|
3386
|
+
export declare class Matches extends BondBaseEntity {
|
|
3387
|
+
eventId: number | null;
|
|
3388
|
+
status: number | null;
|
|
3389
|
+
excludeStandings: boolean | null;
|
|
3390
|
+
}
|
|
3308
3391
|
export declare class ImportedSlotProductDto {
|
|
3309
3392
|
slotID?: string;
|
|
3310
3393
|
name?: string;
|
|
@@ -3356,24 +3439,6 @@ export declare class ImportedReservationDto {
|
|
|
3356
3439
|
slots?: ImportedSlotDto[];
|
|
3357
3440
|
addons?: ImportedSlotProductDto[];
|
|
3358
3441
|
}
|
|
3359
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3360
|
-
entityType: string;
|
|
3361
|
-
entityId: number;
|
|
3362
|
-
}
|
|
3363
|
-
export declare class MatchParticipants extends BondBaseEntity {
|
|
3364
|
-
matchId: number | null;
|
|
3365
|
-
ordinal: number | null;
|
|
3366
|
-
outcomeOrdinal: number | null;
|
|
3367
|
-
resultMetaData: any | null;
|
|
3368
|
-
points: number | null;
|
|
3369
|
-
score: number | null;
|
|
3370
|
-
gameSlotId: number | null;
|
|
3371
|
-
}
|
|
3372
|
-
export declare class Matches extends BondBaseEntity {
|
|
3373
|
-
eventId: number | null;
|
|
3374
|
-
status: number | null;
|
|
3375
|
-
excludeStandings: boolean | null;
|
|
3376
|
-
}
|
|
3377
3442
|
export declare class RoundEvents extends BaseEntity {
|
|
3378
3443
|
roundId: number;
|
|
3379
3444
|
eventId: number;
|
|
@@ -3405,6 +3470,12 @@ export interface ValidationReason {
|
|
|
3405
3470
|
valid: boolean;
|
|
3406
3471
|
reason?: string;
|
|
3407
3472
|
}
|
|
3473
|
+
export declare class CreateMonitorConfigDto {
|
|
3474
|
+
facilityId: number;
|
|
3475
|
+
name: string;
|
|
3476
|
+
code: string;
|
|
3477
|
+
config: any;
|
|
3478
|
+
}
|
|
3408
3479
|
export interface PaymentStatus {
|
|
3409
3480
|
parentId: number;
|
|
3410
3481
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3417,22 +3488,17 @@ export interface PaymentStatusesDict {
|
|
|
3417
3488
|
export interface PaymentStatusDict {
|
|
3418
3489
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3419
3490
|
}
|
|
3420
|
-
export declare class CreateMonitorConfigDto {
|
|
3421
|
-
facilityId: number;
|
|
3422
|
-
name: string;
|
|
3423
|
-
code: string;
|
|
3424
|
-
config: any;
|
|
3425
|
-
}
|
|
3426
3491
|
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3427
3492
|
facilityId: number;
|
|
3428
3493
|
code: string;
|
|
3429
3494
|
config?: any;
|
|
3430
3495
|
}
|
|
3431
|
-
export declare class
|
|
3496
|
+
export declare class NotifyTracker extends BondBaseEntity {
|
|
3497
|
+
userId: number;
|
|
3432
3498
|
organizationId: number;
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3499
|
+
notifyMetadata?: any;
|
|
3500
|
+
notfiyMethodtype: NotifyMethodEnum;
|
|
3501
|
+
destination: string;
|
|
3436
3502
|
}
|
|
3437
3503
|
export declare class Organization extends BondBaseEntity {
|
|
3438
3504
|
name: string | null;
|
|
@@ -3483,6 +3549,30 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3483
3549
|
brandings: OrganizationBranding[];
|
|
3484
3550
|
brandingsV2?: OrganizationBranding[];
|
|
3485
3551
|
}
|
|
3552
|
+
export declare class ByOrganizationIdDto {
|
|
3553
|
+
organizationId: number;
|
|
3554
|
+
}
|
|
3555
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3556
|
+
organizationId?: number;
|
|
3557
|
+
}
|
|
3558
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3559
|
+
programsIds?: string;
|
|
3560
|
+
sessionsIds?: string;
|
|
3561
|
+
segmentsIds?: string;
|
|
3562
|
+
startDate?: string;
|
|
3563
|
+
endDate?: string;
|
|
3564
|
+
months?: string;
|
|
3565
|
+
dow?: string;
|
|
3566
|
+
}
|
|
3567
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3568
|
+
programsIds?: string;
|
|
3569
|
+
sessionsIds?: string;
|
|
3570
|
+
segmentsIds?: string;
|
|
3571
|
+
startDate?: string;
|
|
3572
|
+
endDate?: string;
|
|
3573
|
+
months?: string;
|
|
3574
|
+
dow?: string;
|
|
3575
|
+
}
|
|
3486
3576
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3487
3577
|
key?: string;
|
|
3488
3578
|
vaule?: string;
|
|
@@ -3492,6 +3582,32 @@ export declare class OrganizationBranding extends OrganizationConnectionBaseEnti
|
|
|
3492
3582
|
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3493
3583
|
mainAdminUserId?: number;
|
|
3494
3584
|
}
|
|
3585
|
+
export interface UnallocatedEventsFilters {
|
|
3586
|
+
programsIds?: number[];
|
|
3587
|
+
sessionsIds?: number[];
|
|
3588
|
+
segmentsIds?: number[];
|
|
3589
|
+
durations?: Duration[];
|
|
3590
|
+
daysOfWeek?: number[];
|
|
3591
|
+
}
|
|
3592
|
+
export interface Duration {
|
|
3593
|
+
startDate: string;
|
|
3594
|
+
endDate: string;
|
|
3595
|
+
}
|
|
3596
|
+
export interface IUnallocatedEventRes {
|
|
3597
|
+
id: number;
|
|
3598
|
+
title: string;
|
|
3599
|
+
sports: number[];
|
|
3600
|
+
startDate: string;
|
|
3601
|
+
startDateString: string;
|
|
3602
|
+
startTime: string;
|
|
3603
|
+
endDate: string;
|
|
3604
|
+
endDateString: string;
|
|
3605
|
+
endTime: string;
|
|
3606
|
+
timezone: string;
|
|
3607
|
+
}
|
|
3608
|
+
export interface IUnallocatedEventsIdsRes {
|
|
3609
|
+
data: IUnallocatedEventRes[];
|
|
3610
|
+
}
|
|
3495
3611
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3496
3612
|
organisationId: number | null;
|
|
3497
3613
|
userId: number | null;
|
|
@@ -3502,9 +3618,6 @@ export declare class CustomerIdDto {
|
|
|
3502
3618
|
export declare class PaymentIdDto {
|
|
3503
3619
|
paymentId: number;
|
|
3504
3620
|
}
|
|
3505
|
-
export declare class InvoiceIdDto {
|
|
3506
|
-
invoiceId: number;
|
|
3507
|
-
}
|
|
3508
3621
|
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3509
3622
|
invoiceId: number;
|
|
3510
3623
|
}
|
|
@@ -3514,9 +3627,9 @@ export declare class GetInvoicesQueryDto {
|
|
|
3514
3627
|
export declare class GetPaymentsQueryDto {
|
|
3515
3628
|
extended?: boolean;
|
|
3516
3629
|
}
|
|
3517
|
-
export declare class
|
|
3630
|
+
export declare class PaymentViaInvoiceHashDto {
|
|
3518
3631
|
customerId: number;
|
|
3519
|
-
|
|
3632
|
+
invoiceHash: string;
|
|
3520
3633
|
}
|
|
3521
3634
|
export declare class DiscountDto {
|
|
3522
3635
|
lineItemId: number;
|
|
@@ -3543,11 +3656,18 @@ export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto
|
|
|
3543
3656
|
}
|
|
3544
3657
|
export declare class ScheduledPaymentDto {
|
|
3545
3658
|
plannedDate: Date;
|
|
3659
|
+
originalPlannedDate?: Date;
|
|
3546
3660
|
price: number;
|
|
3547
3661
|
}
|
|
3548
3662
|
export declare class FutureInstallmentsIdsDto {
|
|
3549
3663
|
paymentsIds: number[];
|
|
3550
3664
|
}
|
|
3665
|
+
export declare class UpdateScheduledPaymentsDto {
|
|
3666
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3667
|
+
payemntMethodId: string;
|
|
3668
|
+
invoiceId?: number;
|
|
3669
|
+
installmentIds?: number[];
|
|
3670
|
+
}
|
|
3551
3671
|
export declare class StationsDto {
|
|
3552
3672
|
organizationId: number;
|
|
3553
3673
|
facilityId: number;
|
|
@@ -3560,14 +3680,15 @@ export declare class PaymentIntentDto {
|
|
|
3560
3680
|
capture_method: string;
|
|
3561
3681
|
payment_method_types: string[];
|
|
3562
3682
|
organizationId: number;
|
|
3563
|
-
creatorId
|
|
3683
|
+
creatorId?: number;
|
|
3684
|
+
payment_method?: string;
|
|
3564
3685
|
}
|
|
3565
3686
|
export declare class PaymentDataDto {
|
|
3566
3687
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
3567
3688
|
payemntMethodId: string;
|
|
3568
3689
|
}
|
|
3569
3690
|
export declare class SendReceiptDataDto {
|
|
3570
|
-
|
|
3691
|
+
paymentId: number;
|
|
3571
3692
|
deliveryMethod: 'email' | 'sms';
|
|
3572
3693
|
sendToAddress?: string;
|
|
3573
3694
|
}
|
|
@@ -3583,8 +3704,8 @@ export declare class PaymentPlanDto {
|
|
|
3583
3704
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3584
3705
|
amountToSplit: number;
|
|
3585
3706
|
}
|
|
3586
|
-
export declare class
|
|
3587
|
-
|
|
3707
|
+
export declare class AddToInvoiceDto {
|
|
3708
|
+
invoiceId: number;
|
|
3588
3709
|
userId: number;
|
|
3589
3710
|
productsToAdd: PurchaseProductDto[];
|
|
3590
3711
|
resourcesToRemove: PurchaseProductDto[];
|
|
@@ -3608,13 +3729,13 @@ export declare class RemoveResourceDto {
|
|
|
3608
3729
|
lineItemId: number;
|
|
3609
3730
|
}
|
|
3610
3731
|
export declare class SendRequestDto {
|
|
3611
|
-
|
|
3732
|
+
invoiceId: number;
|
|
3612
3733
|
userId: number;
|
|
3613
3734
|
sendToEmail: string;
|
|
3614
3735
|
memo?: string;
|
|
3615
3736
|
}
|
|
3616
3737
|
export declare class RefundDto {
|
|
3617
|
-
|
|
3738
|
+
invoiceId: number;
|
|
3618
3739
|
lineItems: RefundLineItemAmountDto[];
|
|
3619
3740
|
refundLineItemAmountDict?: {
|
|
3620
3741
|
[id: number]: number;
|
|
@@ -3658,7 +3779,7 @@ export interface PaymentsResults {
|
|
|
3658
3779
|
success: PaymentResult[];
|
|
3659
3780
|
failed: PaymentResult[];
|
|
3660
3781
|
}
|
|
3661
|
-
export interface
|
|
3782
|
+
export interface InvoicePaymentSum {
|
|
3662
3783
|
priceSum: number;
|
|
3663
3784
|
paidSum: number;
|
|
3664
3785
|
}
|
|
@@ -3670,60 +3791,50 @@ export interface ExtendedLineItems {
|
|
|
3670
3791
|
products: LineItems[];
|
|
3671
3792
|
events: LineItems[];
|
|
3672
3793
|
}
|
|
3673
|
-
export declare class
|
|
3794
|
+
export declare class AddonDto {
|
|
3795
|
+
productId: number;
|
|
3674
3796
|
id?: number;
|
|
3675
|
-
|
|
3797
|
+
unitPrice?: number;
|
|
3798
|
+
quantity?: number;
|
|
3799
|
+
totalPrice?: number;
|
|
3800
|
+
product?: Product;
|
|
3801
|
+
parentProduct?: Product;
|
|
3802
|
+
displayTotalWithTax?: number;
|
|
3803
|
+
displayTotalPrice?: number;
|
|
3804
|
+
displayUnitTax?: number;
|
|
3805
|
+
}
|
|
3806
|
+
export declare class AddAddonsDto {
|
|
3807
|
+
addons: AddonDto[];
|
|
3808
|
+
}
|
|
3809
|
+
export declare class EditAddonsDto {
|
|
3810
|
+
addons: EditAddonDto[];
|
|
3811
|
+
}
|
|
3812
|
+
export declare class EditReservationAddonsDto extends EditAddonsDto {
|
|
3813
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3814
|
+
}
|
|
3815
|
+
export declare class EditAddonDto {
|
|
3816
|
+
id: number;
|
|
3817
|
+
quantity: number;
|
|
3818
|
+
totalPrice: number;
|
|
3819
|
+
unitPrice?: number;
|
|
3676
3820
|
}
|
|
3677
3821
|
export interface RefundResult extends PaymentsResults {
|
|
3678
3822
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3679
3823
|
failedLineItems: RefundLineItemAmountDto[];
|
|
3680
|
-
|
|
3824
|
+
invoice?: Invoice;
|
|
3681
3825
|
}
|
|
3682
3826
|
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3683
3827
|
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3684
3828
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3685
3829
|
totalAmountProcessed: number;
|
|
3686
3830
|
}
|
|
3687
|
-
export declare class
|
|
3688
|
-
|
|
3689
|
-
orderId?: number;
|
|
3690
|
-
type: LineItemsStatusEnum;
|
|
3691
|
-
organizationId: number;
|
|
3692
|
-
userId?: number;
|
|
3693
|
-
productId: number;
|
|
3694
|
-
product?: Product;
|
|
3695
|
-
productType: ProductTypesEnum;
|
|
3696
|
-
ordinal?: number;
|
|
3697
|
-
price: number;
|
|
3698
|
-
originalPrice?: number;
|
|
3699
|
-
paidAmount?: number;
|
|
3700
|
-
currency: CurrencyEnum;
|
|
3701
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3702
|
-
isRefunded?: boolean;
|
|
3703
|
-
isTaxInclusive?: boolean;
|
|
3704
|
-
taxPrecent?: number;
|
|
3705
|
-
unitPrice?: number;
|
|
3706
|
-
quantity: number;
|
|
3707
|
-
resources?: PurchasedResourceDto[];
|
|
3708
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3709
|
-
unitPriceWithTax?: number;
|
|
3710
|
-
unitTaxPrice?: number;
|
|
3711
|
-
parentOrdinal?: number;
|
|
3712
|
-
}
|
|
3713
|
-
export declare class MaintenanceDto {
|
|
3714
|
-
id?: number;
|
|
3715
|
-
title: string;
|
|
3716
|
-
durationValue: number;
|
|
3717
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3718
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3719
|
-
}
|
|
3720
|
-
export declare class OrderDto {
|
|
3721
|
-
orderId?: string | null;
|
|
3831
|
+
export declare class InvoiceDto {
|
|
3832
|
+
invoiceId?: string | null;
|
|
3722
3833
|
organizationId: number;
|
|
3723
3834
|
price: number | null;
|
|
3724
3835
|
totalTax?: number;
|
|
3725
3836
|
totalWithoutTax?: number;
|
|
3726
|
-
status?:
|
|
3837
|
+
status?: InvoiceStatusEnum;
|
|
3727
3838
|
lineItems: LineItemDto[];
|
|
3728
3839
|
paymentStatus?: PaymentStatusEnum;
|
|
3729
3840
|
currency: CurrencyEnum;
|
|
@@ -3743,7 +3854,7 @@ export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto
|
|
|
3743
3854
|
}
|
|
3744
3855
|
export declare class UpdateInvoiceOptionsDto {
|
|
3745
3856
|
basicInfoData?: BaseInvoiceDto;
|
|
3746
|
-
|
|
3857
|
+
addToInvoiceId?: number;
|
|
3747
3858
|
}
|
|
3748
3859
|
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3749
3860
|
isInvoiced: boolean;
|
|
@@ -3758,6 +3869,39 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3758
3869
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3759
3870
|
segments: SegmentDto[];
|
|
3760
3871
|
}
|
|
3872
|
+
export declare class MaintenanceDto {
|
|
3873
|
+
id?: number;
|
|
3874
|
+
title: string;
|
|
3875
|
+
durationValue: number;
|
|
3876
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3877
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3878
|
+
}
|
|
3879
|
+
export declare class LineItemDto {
|
|
3880
|
+
id?: number;
|
|
3881
|
+
invoiceId?: number;
|
|
3882
|
+
type: LineItemsStatusEnum;
|
|
3883
|
+
organizationId: number;
|
|
3884
|
+
userId?: number;
|
|
3885
|
+
productId: number;
|
|
3886
|
+
product?: Product;
|
|
3887
|
+
productType: ProductTypesEnum;
|
|
3888
|
+
ordinal?: number;
|
|
3889
|
+
price: number;
|
|
3890
|
+
originalPrice?: number;
|
|
3891
|
+
paidAmount?: number;
|
|
3892
|
+
currency: CurrencyEnum;
|
|
3893
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3894
|
+
isRefunded?: boolean;
|
|
3895
|
+
isTaxInclusive?: boolean;
|
|
3896
|
+
taxPrecent?: number;
|
|
3897
|
+
unitPrice?: number;
|
|
3898
|
+
quantity: number;
|
|
3899
|
+
resources?: PurchasedResourceDto[];
|
|
3900
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3901
|
+
unitPriceWithTax?: number;
|
|
3902
|
+
unitTaxPrice?: number;
|
|
3903
|
+
parentOrdinal?: number;
|
|
3904
|
+
}
|
|
3761
3905
|
export declare class PurchasedResourceDto {
|
|
3762
3906
|
resourceId?: number;
|
|
3763
3907
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3776,7 +3920,7 @@ export declare class ReservationDto {
|
|
|
3776
3920
|
description?: string;
|
|
3777
3921
|
status?: ReservationStatusEnum;
|
|
3778
3922
|
privacySetting?: string;
|
|
3779
|
-
|
|
3923
|
+
invoiceId?: string;
|
|
3780
3924
|
price?: number;
|
|
3781
3925
|
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3782
3926
|
creatorId?: number;
|
|
@@ -3784,7 +3928,7 @@ export declare class ReservationDto {
|
|
|
3784
3928
|
publicNotes?: string;
|
|
3785
3929
|
privateNotes?: string;
|
|
3786
3930
|
forms?: number[] | null;
|
|
3787
|
-
addons?:
|
|
3931
|
+
addons?: AddonDto[];
|
|
3788
3932
|
userId?: number;
|
|
3789
3933
|
overrideProductsPrice?: ProductPricesDto[];
|
|
3790
3934
|
targetGlobalPrice?: number;
|
|
@@ -3835,7 +3979,7 @@ export declare class BookingData {
|
|
|
3835
3979
|
}
|
|
3836
3980
|
export declare class BookingDto extends BookingData {
|
|
3837
3981
|
reservation: ReservationDto;
|
|
3838
|
-
|
|
3982
|
+
invoiceId?: number;
|
|
3839
3983
|
}
|
|
3840
3984
|
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
3841
3985
|
resourcesIds?: string;
|
|
@@ -3849,11 +3993,19 @@ export declare class FindSlotsByFacilityIdFiltersDto {
|
|
|
3849
3993
|
startDate: string;
|
|
3850
3994
|
endDate: string;
|
|
3851
3995
|
limit: number;
|
|
3852
|
-
|
|
3853
|
-
|
|
3996
|
+
slotType?: SlotTypeEnum;
|
|
3997
|
+
includeBlocking?: boolean;
|
|
3998
|
+
onlyActiveSessions?: boolean;
|
|
3999
|
+
checkConflicts?: boolean;
|
|
3854
4000
|
resourcesIds?: string;
|
|
3855
4001
|
resourcesTypes?: string;
|
|
4002
|
+
programTypes?: string;
|
|
4003
|
+
paymentStatuses?: string;
|
|
3856
4004
|
reservationStatuses?: string;
|
|
4005
|
+
activityTypes?: string;
|
|
4006
|
+
}
|
|
4007
|
+
export declare class getSlotsSlotCardDto {
|
|
4008
|
+
includeConflicts?: boolean;
|
|
3857
4009
|
}
|
|
3858
4010
|
export declare class getSlotFQueryParamsDto {
|
|
3859
4011
|
addProduct?: boolean;
|
|
@@ -3886,13 +4038,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3886
4038
|
export declare class UpdateSlotsDto {
|
|
3887
4039
|
slots: SlotDto[];
|
|
3888
4040
|
}
|
|
3889
|
-
export declare class
|
|
4041
|
+
export declare class EditItemsRefundMetaDto {
|
|
3890
4042
|
lineItems: RefundLineItemAmountDto[];
|
|
3891
4043
|
paymentMethods: PaymentMethodDto[];
|
|
3892
4044
|
reasonId: number;
|
|
3893
4045
|
}
|
|
3894
4046
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3895
|
-
refundMeta?:
|
|
4047
|
+
refundMeta?: EditItemsRefundMetaDto;
|
|
3896
4048
|
}
|
|
3897
4049
|
export declare class EditReservationDetailsDto {
|
|
3898
4050
|
name: string;
|
|
@@ -3901,9 +4053,14 @@ export declare class EditReservationDetailsDto {
|
|
|
3901
4053
|
}
|
|
3902
4054
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
3903
4055
|
updateAddons?: boolean;
|
|
4056
|
+
updateMaintenance?: boolean;
|
|
3904
4057
|
}
|
|
3905
|
-
export declare class
|
|
3906
|
-
|
|
4058
|
+
export declare class ReservationNotifyDto {
|
|
4059
|
+
notifyMethods?: NotifyMethodEnum[];
|
|
4060
|
+
}
|
|
4061
|
+
export declare class UpdateReservationInvoiceDto {
|
|
4062
|
+
updateAddons?: boolean;
|
|
4063
|
+
updateMaintenance?: boolean;
|
|
3907
4064
|
}
|
|
3908
4065
|
export declare class SegmentDto {
|
|
3909
4066
|
id?: number;
|
|
@@ -3966,15 +4123,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3966
4123
|
};
|
|
3967
4124
|
};
|
|
3968
4125
|
addonProducts?: Product[];
|
|
3969
|
-
addonCalculatedPrice?: {
|
|
3970
|
-
productId: number;
|
|
3971
|
-
quantity: number;
|
|
3972
|
-
unitPrice: number;
|
|
3973
|
-
totalPrice: number;
|
|
3974
|
-
displayTotalWithTax?: number;
|
|
3975
|
-
displayUnitTax?: number;
|
|
3976
|
-
}[];
|
|
3977
|
-
addonsProductUserIds?: number[];
|
|
3978
4126
|
segmentId?: number;
|
|
3979
4127
|
seriesId?: number;
|
|
3980
4128
|
eventId?: number;
|
|
@@ -3983,7 +4131,7 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3983
4131
|
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
3984
4132
|
maintenanceTiming?: MaintenanceTimingEnum;
|
|
3985
4133
|
durationValue?: number;
|
|
3986
|
-
|
|
4134
|
+
invoicId?: number;
|
|
3987
4135
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
3988
4136
|
approvalStatus: ReservationStatusEnum;
|
|
3989
4137
|
displayName?: string;
|
|
@@ -3994,8 +4142,24 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3994
4142
|
maintenanceSlots?: SlotDto[];
|
|
3995
4143
|
isPrivate: boolean;
|
|
3996
4144
|
slotDurationType: SlotDurationTypeEnum;
|
|
4145
|
+
addons?: AddonDto[];
|
|
3997
4146
|
addonsIds?: number[];
|
|
3998
4147
|
}
|
|
4148
|
+
export declare class TimeSlotDto {
|
|
4149
|
+
id?: number;
|
|
4150
|
+
resourceId: number;
|
|
4151
|
+
startDate: string;
|
|
4152
|
+
startTime: string;
|
|
4153
|
+
endDate: string;
|
|
4154
|
+
endTime: string;
|
|
4155
|
+
parentSlotId?: number;
|
|
4156
|
+
}
|
|
4157
|
+
export declare class TimeSlotsDto {
|
|
4158
|
+
timeSlots: TimeSlotDto[];
|
|
4159
|
+
}
|
|
4160
|
+
export declare class SlotsIdsDto {
|
|
4161
|
+
slotsIds: number[];
|
|
4162
|
+
}
|
|
3999
4163
|
declare class AnswerDto {
|
|
4000
4164
|
questionId: number;
|
|
4001
4165
|
value: any;
|
|
@@ -4006,7 +4170,7 @@ export declare class BookedSessionDto {
|
|
|
4006
4170
|
timezone: string;
|
|
4007
4171
|
spaceId: number;
|
|
4008
4172
|
}
|
|
4009
|
-
declare class
|
|
4173
|
+
declare class AddonV1Dto {
|
|
4010
4174
|
resourcePackageId: number;
|
|
4011
4175
|
resourcePackageAmount: number;
|
|
4012
4176
|
resourcePackagePrice: number;
|
|
@@ -4022,7 +4186,7 @@ export declare class ReservationV1Dto {
|
|
|
4022
4186
|
resourcePackageId: number;
|
|
4023
4187
|
resourcePackageAmount: number;
|
|
4024
4188
|
bookedSessions: BookedSessionDto[];
|
|
4025
|
-
addons:
|
|
4189
|
+
addons: AddonV1Dto[];
|
|
4026
4190
|
}
|
|
4027
4191
|
export declare class BookingV1Dto {
|
|
4028
4192
|
organizationId: number;
|
|
@@ -4033,6 +4197,12 @@ export declare class BookingV1Dto {
|
|
|
4033
4197
|
cashPayment: boolean;
|
|
4034
4198
|
requestOnly: boolean;
|
|
4035
4199
|
}
|
|
4200
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4201
|
+
deletedAt?: Date;
|
|
4202
|
+
reservationId: number;
|
|
4203
|
+
invoiceId: number;
|
|
4204
|
+
slotId: number;
|
|
4205
|
+
}
|
|
4036
4206
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4037
4207
|
parentId: number;
|
|
4038
4208
|
parentType: AddonParentTypeEnum;
|
|
@@ -4046,16 +4216,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
|
4046
4216
|
level?: ProductPackageLevelEnum;
|
|
4047
4217
|
resourceId?: number;
|
|
4048
4218
|
resource?: Resource;
|
|
4049
|
-
|
|
4050
|
-
|
|
4219
|
+
invoiceId?: number;
|
|
4220
|
+
invoice?: Invoice;
|
|
4051
4221
|
productUserId?: number;
|
|
4052
4222
|
productUser?: ProductsUsers;
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
deletedAt?: Date;
|
|
4056
|
-
reservationId: number;
|
|
4057
|
-
invoiceId: number;
|
|
4058
|
-
slotId: number;
|
|
4223
|
+
previousProductUsersIds?: number[];
|
|
4224
|
+
previousProductUsers?: ProductsUsers[];
|
|
4059
4225
|
}
|
|
4060
4226
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4061
4227
|
name?: string;
|
|
@@ -4063,7 +4229,7 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4063
4229
|
approvalStatus?: ReservationStatusEnum;
|
|
4064
4230
|
privacySetting?: string;
|
|
4065
4231
|
reservationType?: ReservationTypeEnum;
|
|
4066
|
-
|
|
4232
|
+
invoiceId?: string;
|
|
4067
4233
|
customerId?: number;
|
|
4068
4234
|
customer?: Customer;
|
|
4069
4235
|
price?: number;
|
|
@@ -4081,13 +4247,7 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
|
4081
4247
|
forms?: number[] | null;
|
|
4082
4248
|
answerTitleIds?: number[] | null;
|
|
4083
4249
|
segments?: Segment[];
|
|
4084
|
-
addonsProductUserIds?: number[] | null;
|
|
4085
4250
|
migrationStatus?: string;
|
|
4086
|
-
addonsMetadata: {
|
|
4087
|
-
productId: number;
|
|
4088
|
-
price?: number;
|
|
4089
|
-
quantity: number;
|
|
4090
|
-
}[];
|
|
4091
4251
|
addons: Addon[];
|
|
4092
4252
|
overrideProductsPrice: {
|
|
4093
4253
|
productId: number;
|
|
@@ -4153,28 +4313,24 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4153
4313
|
productsUserId?: number;
|
|
4154
4314
|
productUser?: ProductsUsers;
|
|
4155
4315
|
product?: Product;
|
|
4316
|
+
addons: Addon[];
|
|
4156
4317
|
addonsProductUserIds?: number[] | null;
|
|
4157
|
-
|
|
4158
|
-
addonProducts?: Product[];
|
|
4159
|
-
addonsMetadata: {
|
|
4160
|
-
productId: number;
|
|
4161
|
-
quantity: number;
|
|
4162
|
-
unitPrice: number;
|
|
4163
|
-
totalPrice: number;
|
|
4164
|
-
}[];
|
|
4318
|
+
addonsMetadata: AddonMetadata[];
|
|
4165
4319
|
segmentId: number;
|
|
4166
4320
|
segment: Segment;
|
|
4167
4321
|
eventId: number;
|
|
4168
4322
|
event: Event;
|
|
4169
4323
|
sportIds: number[];
|
|
4170
4324
|
parentSlotId?: number;
|
|
4325
|
+
parent?: Slot;
|
|
4326
|
+
children?: Slot[];
|
|
4171
4327
|
maintenanceDurationdurationType: string;
|
|
4172
4328
|
maintenanceTiming: number;
|
|
4173
4329
|
durationValue: number;
|
|
4174
4330
|
seriesId?: number;
|
|
4175
4331
|
series?: Series;
|
|
4176
|
-
|
|
4177
|
-
|
|
4332
|
+
invoiceId?: number;
|
|
4333
|
+
invoice?: Invoice;
|
|
4178
4334
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
4179
4335
|
approvalStatus?: ReservationStatusEnum;
|
|
4180
4336
|
displayName?: string;
|
|
@@ -4192,9 +4348,13 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4192
4348
|
price: number;
|
|
4193
4349
|
};
|
|
4194
4350
|
slotDurationType: string;
|
|
4351
|
+
previousProductUsersIds?: number[];
|
|
4352
|
+
previousProductUsers?: ProductsUsers[];
|
|
4195
4353
|
changeLineItemIds?: number[];
|
|
4196
4354
|
changeLineItems?: LineItems[];
|
|
4197
4355
|
updatedLineItem?: LineItems;
|
|
4356
|
+
conflictsCount?: number;
|
|
4357
|
+
conflicts?: Slot[];
|
|
4198
4358
|
}
|
|
4199
4359
|
export declare type TSlotAndType = {
|
|
4200
4360
|
type: 'slots' | 'slot_addons';
|
|
@@ -4206,10 +4366,10 @@ export declare type TSlotAndType = {
|
|
|
4206
4366
|
};
|
|
4207
4367
|
};
|
|
4208
4368
|
export interface ILineItemResource {
|
|
4209
|
-
type: '
|
|
4369
|
+
type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
|
|
4210
4370
|
values: TResource[];
|
|
4211
4371
|
}
|
|
4212
|
-
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto |
|
|
4372
|
+
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
|
4213
4373
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
4214
4374
|
export interface ReservationV1 {
|
|
4215
4375
|
id: number;
|
|
@@ -4295,14 +4455,16 @@ export interface FindSlotsByFacilityIdFilters {
|
|
|
4295
4455
|
startDate: string;
|
|
4296
4456
|
endDate: string;
|
|
4297
4457
|
limit: number;
|
|
4298
|
-
includeBlocking: boolean;
|
|
4299
|
-
onlyActiveSessions?: boolean;
|
|
4300
4458
|
resourcesIds?: number[];
|
|
4301
4459
|
resourcesTypes?: ResourceTypeEnum[];
|
|
4460
|
+
slotType?: SlotTypeEnum;
|
|
4461
|
+
activityTypes?: SportsEnum[];
|
|
4462
|
+
programTypes?: ProgramTypesEnum[];
|
|
4463
|
+
paymentStatuses?: ReservationPaymentStatusEnum[];
|
|
4302
4464
|
reservationStatuses?: ReservationStatusEnum[];
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4465
|
+
includeBlocking?: boolean;
|
|
4466
|
+
onlyActiveSessions?: boolean;
|
|
4467
|
+
checkConflicts?: boolean;
|
|
4306
4468
|
}
|
|
4307
4469
|
export interface PriceFields {
|
|
4308
4470
|
unitPrice: string;
|
|
@@ -4322,9 +4484,6 @@ export interface LineItemPrice {
|
|
|
4322
4484
|
currency: string;
|
|
4323
4485
|
totalPrice: number;
|
|
4324
4486
|
}
|
|
4325
|
-
export interface CalendarCardAddon extends ProductsUsers {
|
|
4326
|
-
price: LineItemPrice;
|
|
4327
|
-
}
|
|
4328
4487
|
export interface CalendarSlotCard extends Slot {
|
|
4329
4488
|
reservation: Reservation & {
|
|
4330
4489
|
resources?: {
|
|
@@ -4332,14 +4491,13 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4332
4491
|
name: string;
|
|
4333
4492
|
}[];
|
|
4334
4493
|
};
|
|
4335
|
-
|
|
4336
|
-
invoice: Order;
|
|
4494
|
+
invoice: Invoice;
|
|
4337
4495
|
price: LineItemPrice;
|
|
4338
4496
|
totalSlotsInSeries?: number;
|
|
4339
4497
|
slotIndexInSeries?: number;
|
|
4340
4498
|
}
|
|
4341
|
-
declare type IPartialInvoice = Pick<
|
|
4342
|
-
export declare type IPartialPayment = Pick<
|
|
4499
|
+
declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
|
|
4500
|
+
export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
|
|
4343
4501
|
export interface IInvoice extends IPartialInvoice {
|
|
4344
4502
|
lineItemsCount: number;
|
|
4345
4503
|
}
|
|
@@ -4355,7 +4513,6 @@ export interface SingleReservation {
|
|
|
4355
4513
|
paymentStatus: PaymentStatusEnum;
|
|
4356
4514
|
reservationType: ReservationTypeEnum;
|
|
4357
4515
|
sports: number[];
|
|
4358
|
-
addonsProductUserIds: number[];
|
|
4359
4516
|
facilityId?: number;
|
|
4360
4517
|
customerId: number;
|
|
4361
4518
|
customer?: Customer;
|
|
@@ -4368,42 +4525,69 @@ export interface SingleReservation {
|
|
|
4368
4525
|
}
|
|
4369
4526
|
export interface UpdateReservationResult {
|
|
4370
4527
|
reservation: Reservation;
|
|
4371
|
-
|
|
4528
|
+
invoice?: Invoice;
|
|
4372
4529
|
debug?: any;
|
|
4373
4530
|
}
|
|
4374
4531
|
export interface UpdateSlotPricesResult {
|
|
4375
4532
|
reservation: ReservationDto;
|
|
4376
4533
|
slots: SlotDto[];
|
|
4377
|
-
|
|
4534
|
+
invoice: InvoiceDto;
|
|
4378
4535
|
debug?: any;
|
|
4379
4536
|
}
|
|
4380
4537
|
export interface UpdateSlotsAddonsResult {
|
|
4381
4538
|
slots: SlotDto[];
|
|
4382
|
-
|
|
4539
|
+
invoice: InvoiceDto;
|
|
4383
4540
|
debug?: any;
|
|
4384
4541
|
}
|
|
4385
|
-
export interface
|
|
4542
|
+
export interface ValidateEditItemsResult {
|
|
4386
4543
|
nextFinancialStep: FinancialStepEnum;
|
|
4387
|
-
slots: SlotDto[];
|
|
4388
4544
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4389
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4390
4545
|
originalInvoicePrice?: number;
|
|
4391
4546
|
updatedInvoicePrice?: number;
|
|
4547
|
+
originalItemsPrice?: number;
|
|
4548
|
+
updatedItemsPrice?: number;
|
|
4392
4549
|
priceChange?: number;
|
|
4393
|
-
|
|
4550
|
+
refundMetadata?: EditItemsRefundMetadata;
|
|
4551
|
+
editData?: EditItemsData;
|
|
4552
|
+
}
|
|
4553
|
+
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4554
|
+
slots: SlotDto[];
|
|
4555
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4556
|
+
}
|
|
4557
|
+
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4558
|
+
refundMetadata?: EditAddonsRefundMetadata;
|
|
4394
4559
|
}
|
|
4395
4560
|
export interface EditSlotsRefundMetadata {
|
|
4396
4561
|
lineItems: SlotsLineItemData[];
|
|
4397
4562
|
refundAmount: number;
|
|
4398
4563
|
}
|
|
4399
|
-
export interface
|
|
4400
|
-
|
|
4401
|
-
|
|
4564
|
+
export interface EditAddonsRefundMetadata {
|
|
4565
|
+
lineItems: AddonsLineItemData[];
|
|
4566
|
+
refundAmount: number;
|
|
4567
|
+
}
|
|
4568
|
+
export interface EditItemsRefundMetadata {
|
|
4569
|
+
lineItems: ReservationItemLineItemData[];
|
|
4570
|
+
refundAmount: number;
|
|
4571
|
+
}
|
|
4572
|
+
export interface EditItemsData {
|
|
4573
|
+
invoice?: Invoice;
|
|
4574
|
+
editLineItems?: ReservationItemLineItemData[];
|
|
4402
4575
|
newLineItems?: LineItemDto[];
|
|
4403
4576
|
}
|
|
4404
|
-
export interface
|
|
4577
|
+
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4405
4578
|
refundResult?: RefundResult;
|
|
4406
4579
|
}
|
|
4580
|
+
export interface TimeSlotConflicts {
|
|
4581
|
+
timeSlot: TimeSlotDto;
|
|
4582
|
+
conflicts: Slot[];
|
|
4583
|
+
}
|
|
4584
|
+
export interface AddonMetadata {
|
|
4585
|
+
productId: number;
|
|
4586
|
+
quantity: number;
|
|
4587
|
+
unitPrice: number;
|
|
4588
|
+
totalPrice: number;
|
|
4589
|
+
product?: Product;
|
|
4590
|
+
}
|
|
4407
4591
|
export declare class ChangeRolePermissionsDto {
|
|
4408
4592
|
permissionIds: number[];
|
|
4409
4593
|
}
|
|
@@ -4484,7 +4668,7 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4484
4668
|
reconciliationAmount?: number;
|
|
4485
4669
|
reconcilingDate?: string;
|
|
4486
4670
|
reconcilingTime?: string;
|
|
4487
|
-
|
|
4671
|
+
reconciliationInvoiceId?: number;
|
|
4488
4672
|
deletedAt?: Date;
|
|
4489
4673
|
sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
|
|
4490
4674
|
currentCashDifference?: number;
|
|
@@ -4493,3 +4677,16 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4493
4677
|
closingManager?: User;
|
|
4494
4678
|
reconcilingUser?: User;
|
|
4495
4679
|
}
|
|
4680
|
+
export default interface IWebflowProgram {
|
|
4681
|
+
name: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
activity: string;
|
|
4684
|
+
backgroundImage: string;
|
|
4685
|
+
minAge: string;
|
|
4686
|
+
maxAge: string;
|
|
4687
|
+
shortDescription: string;
|
|
4688
|
+
longDescription: string;
|
|
4689
|
+
programType: string;
|
|
4690
|
+
level: string[];
|
|
4691
|
+
gender: string;
|
|
4692
|
+
}
|