@bondsports/types 2.4.45-squad-c-1 → 2.4.46-squad-c-1
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +5 -0
- package/dist/types/dto/application.dto.d.ts +14 -5
- package/dist/types/dto/application.dto.js +5 -2
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/customer.dto.d.ts +1 -0
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +1 -0
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/invoice/dto/index.d.ts +1 -0
- package/dist/types/invoice/dto/index.js +1 -0
- package/dist/types/invoice/dto/index.js.map +1 -1
- package/dist/types/invoice/dto/reservation-invoice.dto.d.ts +10 -0
- package/dist/types/invoice/dto/reservation-invoice.dto.js +8 -0
- package/dist/types/invoice/dto/reservation-invoice.dto.js.map +1 -0
- package/dist/types/payment/dto/payment.dto.d.ts +12 -1
- package/dist/types/payment/dto/payment.dto.js +4 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/rental-product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +15 -1
- package/dist/types/reservations/dto/reservation.dto.js +5 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +16 -7
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types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6 +3,11 @@ import { CustomerTypeEnum, ResourceNameTypeEnum } from '../../services/enums.ser
|
|
|
3
3
|
import { User } from '../../user/entities/User';
|
|
4
4
|
import { CreateCustomerDto } from '../dto/customer.dto';
|
|
5
5
|
import { CustomerFamilyStatusEnum } from './enums';
|
|
6
|
+
/** Organization customer paired with the family admin when the customer is a dependent. */
|
|
7
|
+
export interface ICustomerWithFamilyAdmin {
|
|
8
|
+
admin?: Customer;
|
|
9
|
+
customer: Customer;
|
|
10
|
+
}
|
|
6
11
|
export interface CustomerFamily {
|
|
7
12
|
familyCustomerId: number;
|
|
8
13
|
isAdmin: boolean;
|
|
@@ -5,6 +5,8 @@ export declare class AnswerDto {
|
|
|
5
5
|
questionId: number;
|
|
6
6
|
answerValue: any;
|
|
7
7
|
questionType?: string;
|
|
8
|
+
questionText?: string;
|
|
9
|
+
ordinal?: number;
|
|
8
10
|
}
|
|
9
11
|
export declare class QuestionDto {
|
|
10
12
|
id: number;
|
|
@@ -30,14 +32,21 @@ export declare class AnswerTemplateCustomerDto {
|
|
|
30
32
|
emailAddress: string;
|
|
31
33
|
phoneNumber: string;
|
|
32
34
|
address: string;
|
|
35
|
+
id: number;
|
|
36
|
+
entityId: number;
|
|
37
|
+
profilePicture?: MediaDto;
|
|
33
38
|
}
|
|
34
|
-
export declare class
|
|
35
|
-
dateSigned:
|
|
36
|
-
|
|
37
|
-
answers: AnswerDto[];
|
|
38
|
-
questions: QuestionDto[];
|
|
39
|
+
export declare class BaseAnswerTemplateData {
|
|
40
|
+
dateSigned: string;
|
|
41
|
+
questions?: QuestionDto[] | null;
|
|
39
42
|
media?: MediaDto;
|
|
40
43
|
}
|
|
44
|
+
export declare class AnswerTemplateDataDto extends BaseAnswerTemplateData implements AnswerTemplateDataDto {
|
|
45
|
+
id?: number;
|
|
46
|
+
title?: string;
|
|
47
|
+
answers: AnswerDto[];
|
|
48
|
+
customer: AnswerTemplateCustomerDto;
|
|
49
|
+
}
|
|
41
50
|
export declare class QuestionAndAnswerDto {
|
|
42
51
|
questionId: number;
|
|
43
52
|
question: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
|
|
3
|
+
exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.BaseAnswerTemplateData = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
|
|
4
4
|
class AnswerDto {
|
|
5
5
|
}
|
|
6
6
|
exports.AnswerDto = AnswerDto;
|
|
@@ -19,7 +19,10 @@ exports.GetByQuestionnaireIdsDto = GetByQuestionnaireIdsDto;
|
|
|
19
19
|
class AnswerTemplateCustomerDto {
|
|
20
20
|
}
|
|
21
21
|
exports.AnswerTemplateCustomerDto = AnswerTemplateCustomerDto;
|
|
22
|
-
class
|
|
22
|
+
class BaseAnswerTemplateData {
|
|
23
|
+
}
|
|
24
|
+
exports.BaseAnswerTemplateData = BaseAnswerTemplateData;
|
|
25
|
+
class AnswerTemplateDataDto extends BaseAnswerTemplateData {
|
|
23
26
|
}
|
|
24
27
|
exports.AnswerTemplateDataDto = AnswerTemplateDataDto;
|
|
25
28
|
class QuestionAndAnswerDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,qBAAsB,SAAQ,sBAAsB;CAQhE;AARD,sDAQC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;AACA,2EAA2E;AAG3E,+CAAgD;AAEhD,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;AACA,2EAA2E;AAG3E,+CAAgD;AAEhD,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;CAgDvB;AAhDD,kCAgDC"}
|
|
@@ -56,5 +56,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity implement
|
|
|
56
56
|
slots?: Slot[];
|
|
57
57
|
deletedAt?: Date;
|
|
58
58
|
merge?: CustomerMerge;
|
|
59
|
+
waiverApplicationId?: number;
|
|
59
60
|
}
|
|
60
61
|
export type CustomerRelations = 'address' | 'colorCode' | 'profilePicture' | 'emergencyContacts' | 'customerNotes' | 'customerCreditTransactions' | 'productsReservedFor' | 'mainMedia' | 'reservations' | 'user' | 'user.organizationUsers' | 'user.profilePicture' | 'slots';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AA4BA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AA4BA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;CAsF7D;AAtFD,4BAsFC"}
|
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./invoice-history.dto"), exports);
|
|
18
18
|
__exportStar(require("./invoice.dto"), exports);
|
|
19
19
|
__exportStar(require("./lineItem.dto"), exports);
|
|
20
|
+
__exportStar(require("./reservation-invoice.dto"), exports);
|
|
20
21
|
__exportStar(require("./share-invoice.dto"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,sDAAoC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IdDto } from '../../dto/general.dto';
|
|
2
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
3
|
+
export declare class ReservationInvoiceDto extends IdDto {
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
price: number;
|
|
6
|
+
paymentStatus: PaymentStatusEnum;
|
|
7
|
+
paidAmount: number;
|
|
8
|
+
payingUserId?: number;
|
|
9
|
+
lineItemsCount: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReservationInvoiceDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class ReservationInvoiceDto extends general_dto_1.IdDto {
|
|
6
|
+
}
|
|
7
|
+
exports.ReservationInvoiceDto = ReservationInvoiceDto;
|
|
8
|
+
//# sourceMappingURL=reservation-invoice.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservation-invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/reservation-invoice.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAG9C,MAAa,qBAAsB,SAAQ,mBAAK;CAY/C;AAZD,sDAYC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomerDto } from '../../dto/customer.dto';
|
|
2
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
|
2
|
+
import { IdDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
3
|
import { BasePaymentMethodFieldsDto, SaveCardTerminalInputDto } from '../../dto/userPaymentMethod.dto';
|
|
4
4
|
import { Invoice } from '../../entity/Invoice';
|
|
5
5
|
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
@@ -10,6 +10,7 @@ import { PaymentFee } from '../../fee/entities/PaymentFee';
|
|
|
10
10
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
11
11
|
import { Reason } from '../../organization/entities/Reason';
|
|
12
12
|
import { PurchaseProductDto } from '../../purchase/dto/purchase.dto';
|
|
13
|
+
import { IPartialPayment } from '../../reservations/types/interfaces/reservation.interfaces';
|
|
13
14
|
import { CurrencyEnum, MonthsEnum, OrderByEnum, PaymentSettingStatusEnum, PlatformsEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
14
15
|
import { User } from '../../user/entities/User';
|
|
15
16
|
import { Discount } from '../entities/Discount';
|
|
@@ -193,6 +194,16 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
|
|
|
193
194
|
invoiceToPayments: InvoiceToPayment[];
|
|
194
195
|
stripePaymentMethodId?: string;
|
|
195
196
|
}
|
|
197
|
+
export declare class SimplePaymentDto extends IdDto implements IPartialPayment {
|
|
198
|
+
createdAt: Date;
|
|
199
|
+
price: number;
|
|
200
|
+
paymentStatus: PaymentStatusEnum;
|
|
201
|
+
status: FuturePaymentStatusEnum;
|
|
202
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
203
|
+
ccBrand?: string;
|
|
204
|
+
ccLast4?: string;
|
|
205
|
+
token?: string;
|
|
206
|
+
}
|
|
196
207
|
export declare class PaymentSettingsDto {
|
|
197
208
|
paymentSettingsStatus?: PaymentSettingStatusEnum;
|
|
198
209
|
onlinePaymentEnabled?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePaymentStatusDto = exports.StripeAccountStatusDto = exports.PaymentSettingsDto = exports.PaymentDto = exports.GetPaymentMethodsDto = exports.GetPaymentMethodsOfUserDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.SendPassPurchaseReceiptDto = exports.PaymentDataDto = exports.SetupIntentDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.GetPaymentByCustomerDeprecatedDto = exports.GetPaymentByUserDto = exports.ByPaymentDto = exports.GetPaymentDto = exports.ByPaymentAndCustomerDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
3
|
+
exports.UpdatePaymentStatusDto = exports.StripeAccountStatusDto = exports.PaymentSettingsDto = exports.SimplePaymentDto = exports.PaymentDto = exports.GetPaymentMethodsDto = exports.GetPaymentMethodsOfUserDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.SendPassPurchaseReceiptDto = exports.PaymentDataDto = exports.SetupIntentDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.GetPaymentByCustomerDeprecatedDto = exports.GetPaymentByUserDto = exports.ByPaymentDto = exports.GetPaymentDto = exports.ByPaymentAndCustomerDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const userPaymentMethod_dto_1 = require("../../dto/userPaymentMethod.dto");
|
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -101,6 +101,9 @@ exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
|
|
|
101
101
|
class PaymentDto extends userPaymentMethod_dto_1.BasePaymentMethodFieldsDto {
|
|
102
102
|
}
|
|
103
103
|
exports.PaymentDto = PaymentDto;
|
|
104
|
+
class SimplePaymentDto extends general_dto_1.IdDto {
|
|
105
|
+
}
|
|
106
|
+
exports.SimplePaymentDto = SimplePaymentDto;
|
|
104
107
|
class PaymentSettingsDto {
|
|
105
108
|
}
|
|
106
109
|
exports.PaymentSettingsDto = PaymentSettingsDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA+D;AAC/D,2EAAuG;AAOvG,8EAAyG;AA0BzG,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY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C;AAhBD,4CAgBC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,sBAAsB;CAgDlC;AAhDD,wDAgDC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-category.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-category.consts.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;
|
|
1
|
+
{"version":3,"file":"product-category.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-category.consts.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAE9D,6BAAmC;AAEnC,mEAAwF;AAExF,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAC5B,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAExB,QAAA,wBAAwB,GAAa,CAAC,CAAC,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,yBAAyB,CAAC,CAAC;AAExH,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,2BAA2B,GAAW,IAAA,uBAAW,EAAC,eAAe,EAAE,oBAAQ,CAAC,MAAM,EAAE,oBAAQ,CAAC,MAAM,CAAC,CAAC;AAE3G,MAAM,cAAc,GAAc,OAAC,CAAC,MAAM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,EAAE,IAAI;QACrB,qBAAqB,EAAE,IAAI;KAC3B;IACD,gBAAgB,EAAE;QACjB,WAAW,EAAE;YACZ,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,oBAAQ,CAAC,MAAM;SACrB;QACD,WAAW,EAAE;YACZ,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,oBAAQ,CAAC,IAAI;SACnB;QACD,YAAY,EAAE;YACb,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,oBAAQ,CAAC,IAAI;SACnB;QACD,eAAe,EAAE;YAChB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,oBAAQ,CAAC,IAAI;SACnB;KACD;IACD,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,KAAK;IACvB,sBAAsB,EAAE,IAAI;IAC5B,6BAA6B,EAAE,IAAI;CACnC,CAAC"}
|
|
@@ -2,14 +2,17 @@ import { BondDayOfWeekEnum } from '@bondsports/date-time';
|
|
|
2
2
|
import { SportsEnum } from '../../activities/types/activities.enums';
|
|
3
3
|
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
|
4
4
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
|
5
|
+
import { AnswerTemplateDataDto } from '../../dto/application.dto';
|
|
5
6
|
import { CustomerDto } from '../../dto/customer.dto';
|
|
6
7
|
import { FacilityDto } from '../../dto/facilities.dto';
|
|
7
8
|
import { PaginationQuery, PaginationSearchQuery, SimpleResourceDto } from '../../dto/general.dto';
|
|
8
9
|
import { Invoice } from '../../entity/Invoice';
|
|
9
10
|
import { InvoiceCartDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
|
|
11
|
+
import { ReservationInvoiceDto } from '../../invoice/dto/reservation-invoice.dto';
|
|
10
12
|
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
|
11
13
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
12
14
|
import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
|
|
15
|
+
import { SimplePaymentDto } from '../../payment/dto/payment.dto';
|
|
13
16
|
import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
|
|
14
17
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
15
18
|
import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
|
|
@@ -81,6 +84,17 @@ export declare class ReservationDto extends SimpleReservationDto {
|
|
|
81
84
|
series?: SeriesDto[];
|
|
82
85
|
customer?: CustomerDto;
|
|
83
86
|
}
|
|
87
|
+
export declare class SingleReservationDto extends ReservationDto {
|
|
88
|
+
id: number;
|
|
89
|
+
organizationId: number;
|
|
90
|
+
customerId: number;
|
|
91
|
+
facilityId?: number;
|
|
92
|
+
invoices?: ReservationInvoiceDto[];
|
|
93
|
+
payments?: SimplePaymentDto[];
|
|
94
|
+
applications?: AnswerTemplateDataDto[];
|
|
95
|
+
sports: number[];
|
|
96
|
+
updatedAt: Date;
|
|
97
|
+
}
|
|
84
98
|
export declare class BaseReservationItemLineItemDataDto implements IBaseReservationItemLineItem {
|
|
85
99
|
id: number;
|
|
86
100
|
amount: number;
|
|
@@ -139,8 +153,8 @@ export declare class SingleReservationIncludesDto {
|
|
|
139
153
|
includeSeries?: boolean;
|
|
140
154
|
includeInvoices?: boolean;
|
|
141
155
|
includePayments?: boolean;
|
|
142
|
-
includeAnswers?: boolean;
|
|
143
156
|
buildTree?: boolean;
|
|
157
|
+
includeApplications?: boolean;
|
|
144
158
|
}
|
|
145
159
|
export declare class SlotsFilterDto {
|
|
146
160
|
approvalStatus?: ReservationStatusEnum[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.EditReservationAddonsDto = exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = void 0;
|
|
3
|
+
exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByRentalProductId = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.InvoiceReservationItemsDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.ReservationNotifyDto = exports.RemoveSlotsFinancialDataDto = exports.EditReservationDetailsDto = exports.EditItemsRefundMetaDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySlotIdsDto = exports.DuplicateSlotDto = exports.GetFilterOptionsDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.IncludeConflictsOptionsDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.ReservationTableOptionsDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.FindSlotsQueryParamsDto = exports.SlotsFilterDto = exports.SingleReservationIncludesDto = exports.CreateReservationCartDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.BaseReservationItemLineItemDataDto = exports.SingleReservationDto = exports.ReservationDto = exports.DuplicatedDetailsDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
|
|
4
|
+
exports.EditReservationAddonsDto = exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = void 0;
|
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
|
6
6
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
|
7
7
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -24,6 +24,9 @@ exports.DuplicatedDetailsDto = DuplicatedDetailsDto;
|
|
|
24
24
|
class ReservationDto extends SimpleReservationDto {
|
|
25
25
|
}
|
|
26
26
|
exports.ReservationDto = ReservationDto;
|
|
27
|
+
class SingleReservationDto extends ReservationDto {
|
|
28
|
+
}
|
|
29
|
+
exports.SingleReservationDto = SingleReservationDto;
|
|
27
30
|
class BaseReservationItemLineItemDataDto {
|
|
28
31
|
}
|
|
29
32
|
exports.BaseReservationItemLineItemDataDto = BaseReservationItemLineItemDataDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AASA,uDAAkG;AAElG,+DAAmG;AAGnG,8EAA8E;AAS9E,kEAAwF;AAgDxF,2CAA0F;AAK1F,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,k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,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAYxE;AAZD,oEAYC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,wBAAyB,SAAQ,yBAAa;CAE1D;AAFD,4DAEC"}
|
|
@@ -2,16 +2,14 @@ import { SportsEnum } from '../../../activities/types/activities.enums';
|
|
|
2
2
|
import { CartItem } from '../../../cart/entities/cart-item.entity';
|
|
3
3
|
import { Cart } from '../../../cart/entities/cart.entity';
|
|
4
4
|
import { ICreateCartItem, ICreateCartOptions, IUpdateCartPrices } from '../../../cart/types/interfaces/cart.interfaces';
|
|
5
|
-
import { QuestionAnswersDto } from '../../../dto/application.dto';
|
|
5
|
+
import { AnswerTemplateDataDto, QuestionAnswersDto } from '../../../dto/application.dto';
|
|
6
6
|
import { PaginationQuery, SelectOptionsDto } from '../../../dto/general.dto';
|
|
7
7
|
import { Customer } from '../../../entity/Customer';
|
|
8
8
|
import { Invoice } from '../../../entity/Invoice';
|
|
9
9
|
import { LineItemDto } from '../../../invoice/dto/lineItem.dto';
|
|
10
|
-
import {
|
|
11
|
-
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
10
|
+
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
12
11
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
|
13
12
|
import { Product } from '../../../product-pricing/entities/product.entity';
|
|
14
|
-
import { Answer } from '../../../questionnaires/entities/Answer';
|
|
15
13
|
import { AddonParentTypeEnum, FinancialStepEnum, InvoiceStatusEnum, OrderByEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
|
16
14
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
|
17
15
|
import { IPaginatedSearchQuery, IPagination } from '../../../util/models/interfaces/general.interfaces';
|
|
@@ -181,7 +179,17 @@ export interface ICalendarSlotCard extends Slot {
|
|
|
181
179
|
totalSlotsInSeries?: number;
|
|
182
180
|
}
|
|
183
181
|
type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount' | 'payingUserId'>;
|
|
184
|
-
export
|
|
182
|
+
export interface IPartialPayment {
|
|
183
|
+
id: number;
|
|
184
|
+
ccBrand?: string;
|
|
185
|
+
ccLast4?: string;
|
|
186
|
+
createdAt: Date;
|
|
187
|
+
paymentStatus: PaymentStatusEnum;
|
|
188
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
189
|
+
price: number;
|
|
190
|
+
status: FuturePaymentStatusEnum;
|
|
191
|
+
token?: string;
|
|
192
|
+
}
|
|
185
193
|
export interface IInvoice extends IPartialInvoice {
|
|
186
194
|
lineItemsCount: number;
|
|
187
195
|
}
|
|
@@ -191,8 +199,8 @@ export interface ISingleReservation {
|
|
|
191
199
|
customerId: number;
|
|
192
200
|
facilityId?: number;
|
|
193
201
|
addons?: Addon[];
|
|
194
|
-
|
|
195
|
-
approvalStatus:
|
|
202
|
+
applications?: AnswerTemplateDataDto[];
|
|
203
|
+
approvalStatus: ReservationStatusEnum;
|
|
196
204
|
customer?: Customer;
|
|
197
205
|
description: string;
|
|
198
206
|
invoices?: IInvoice[];
|
|
@@ -278,6 +286,7 @@ export interface ICartReservationOptions extends ICreateCartOptions {
|
|
|
278
286
|
platform?: PlatformsEnum;
|
|
279
287
|
reservation?: DraftReservation;
|
|
280
288
|
targetGlobalPrice?: number;
|
|
289
|
+
skipUpdatePrices?: boolean;
|
|
281
290
|
updatePrices?: IUpdateCartPrices;
|
|
282
291
|
}
|
|
283
292
|
export interface IProductItems {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;AAqCA,kEASoC;AA2DpC,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
|