@bondsports/types 1.48.0 → 1.50.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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +34 -14
- package/dist/types/cart/dto/cart-item.dto.js +7 -1
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +17 -1
- package/dist/types/cart/dto/cart.dto.js +6 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +9 -3
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +11 -4
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/consts/cart.consts.d.ts +4 -0
- package/dist/types/cart/types/consts/cart.consts.js +14 -0
- package/dist/types/cart/types/consts/cart.consts.js.map +1 -0
- package/dist/types/cart/types/consts/index.d.ts +1 -0
- package/dist/types/{entity/decorators → cart/types/consts}/index.js +1 -1
- package/dist/types/cart/types/consts/index.js.map +1 -0
- package/dist/types/cart/types/index.d.ts +1 -0
- package/dist/types/cart/types/index.js +1 -0
- package/dist/types/cart/types/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +5 -2
- package/dist/types/communication/types/enums/slack.enums.d.ts +8 -1
- package/dist/types/communication/types/enums/slack.enums.js +7 -0
- package/dist/types/communication/types/enums/slack.enums.js.map +1 -1
- package/dist/types/customers/dto/getCustomersListDto.d.ts +3 -3
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +21 -16
- package/dist/types/dto/events.dto.js +7 -13
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +22 -0
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +1 -0
- package/dist/types/dto/general.dto.js +5 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +1 -1
- package/dist/types/dto/index.js +1 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +11 -1
- package/dist/types/dto/membership.dto.js +7 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +1 -1
- package/dist/types/dto/slots.dto.d.ts +25 -0
- package/dist/types/dto/slots.dto.js +13 -0
- package/dist/types/dto/slots.dto.js.map +1 -0
- package/dist/types/entity/ActivityTimes.d.ts +1 -1
- package/dist/types/entity/CreditNote.js.map +1 -1
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/CustomerCreditTransaction.js.map +1 -1
- package/dist/types/entity/GroupItemsPricing.js.map +1 -1
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/InvoiceToPayment.js.map +1 -1
- package/dist/types/entity/LineItemHistory.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +2 -1
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/entity/Membership.d.ts +4 -4
- package/dist/types/entity/Membership.js.map +1 -1
- package/dist/types/entity/ProductPackage.d.ts +1 -1
- package/dist/types/entity/ProductPackage.js.map +1 -1
- package/dist/types/entity/ProductResource.d.ts +1 -1
- package/dist/types/entity/ProductsReservedForCustomers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/entity/PurchasedResources.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -2
- package/dist/types/entity/index.js +0 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/errors/dto/error.dto.d.ts +6 -0
- package/dist/types/errors/dto/error.dto.js +7 -0
- package/dist/types/errors/dto/error.dto.js.map +1 -0
- package/dist/types/errors/dto/index.d.ts +1 -0
- package/dist/types/errors/dto/index.js +18 -0
- package/dist/types/errors/dto/index.js.map +1 -0
- package/dist/types/errors/index.d.ts +1 -0
- package/dist/types/errors/index.js +18 -0
- package/dist/types/errors/index.js.map +1 -0
- package/dist/types/fee/entities/Fee.js.map +1 -1
- package/dist/types/fee/entities/PaymentFee.js.map +1 -1
- package/dist/types/import/dto/product.dto.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/membership/interfaces/membership.interfaces.d.ts +27 -0
- package/dist/types/notifications/dto/index.d.ts +2 -0
- package/dist/types/notifications/dto/index.js +19 -0
- package/dist/types/notifications/dto/index.js.map +1 -0
- package/dist/types/notifications/dto/notification.create.dto.d.ts +30 -0
- package/dist/types/notifications/dto/notification.create.dto.js +49 -0
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -0
- package/dist/types/notifications/dto/notification.response.dto.d.ts +14 -0
- package/dist/types/notifications/dto/notification.response.dto.js +23 -0
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -0
- package/dist/types/notifications/index.d.ts +2 -0
- package/dist/types/notifications/index.js +19 -0
- package/dist/types/notifications/index.js.map +1 -0
- package/dist/types/notifications/types/enums/index.d.ts +1 -0
- package/dist/types/notifications/types/enums/index.js +18 -0
- package/dist/types/notifications/types/enums/index.js.map +1 -0
- package/dist/types/notifications/types/enums/notification.enums.d.ts +8 -0
- package/dist/types/notifications/types/enums/notification.enums.js +14 -0
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/types/index.d.ts +1 -0
- package/dist/types/notifications/types/index.js +18 -0
- package/dist/types/notifications/types/index.js.map +1 -0
- package/dist/types/notifyTracker/entities/notifyTracker.js.map +1 -1
- package/dist/types/organization/dto/organization.dto.d.ts +0 -4
- package/dist/types/organization/dto/organization.dto.js +1 -4
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/organization/entities/OrganizationPaymentMethod.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -3
- package/dist/types/payment/dto/payment-plan.dto.js +2 -2
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/Discount.js.map +1 -1
- package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/entities/PaymentPlanSchedule.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +1 -1
- package/dist/types/payment/types/enums/discount.enums.d.ts +4 -0
- package/dist/types/payment/types/enums/discount.enums.js +6 -1
- package/dist/types/payment/types/enums/discount.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +4 -4
- package/dist/types/pricing/entities/Price.d.ts +1 -1
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +2 -0
- package/dist/types/product-pricing/dto/index.js +2 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-resource.dto.d.ts +9 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js +8 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js.map +1 -0
- package/dist/types/{dto → product-pricing/dto}/product.dto.d.ts +10 -6
- package/dist/types/{dto → product-pricing/dto}/product.dto.js +1 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -0
- package/dist/types/{entity → product-pricing/entities}/Product.d.ts +24 -22
- package/dist/types/{entity → product-pricing/entities}/Product.js +1 -1
- package/dist/types/product-pricing/entities/Product.js.map +1 -0
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +18 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -0
- package/dist/types/product-pricing/index.d.ts +1 -0
- package/dist/types/product-pricing/index.js +1 -0
- package/dist/types/product-pricing/index.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +5 -5
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +6 -7
- package/dist/types/programs/entities/Program.js +2 -2
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +16 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +4 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +10 -11
- package/dist/types/programs-seasons/entities/ProgramSeason.js +2 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +16 -4
- package/dist/types/purchase/dto/purchase.dto.js +4 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/consts/purchase.consts.d.ts +1 -0
- package/dist/types/purchase/types/consts/purchase.consts.js +11 -1
- package/dist/types/purchase/types/consts/purchase.consts.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +19 -9
- package/dist/types/reservations/dto/addon.dto.d.ts +1 -1
- package/dist/types/reservations/dto/invoice.dto.d.ts +7 -1
- package/dist/types/reservations/dto/invoice.dto.js +5 -3
- package/dist/types/reservations/dto/invoice.dto.js.map +1 -1
- package/dist/types/reservations/dto/lineItem.dto.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +16 -17
- package/dist/types/reservations/dto/reservation.dto.js +7 -7
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/entities/Addon.d.ts +1 -1
- package/dist/types/reservations/entities/Addon.js.map +1 -1
- package/dist/types/reservations/entities/Reservations.js.map +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +1 -1
- package/dist/types/reservations/entities/Slots.js.map +1 -1
- package/dist/types/reservations/interfaces/invoice.d.ts +1 -1
- package/dist/types/reservations/interfaces/reservation.d.ts +2 -2
- package/dist/types/reservations/interfaces/reservation.js +1 -1
- package/dist/types/services/interfaces.service.d.ts +2 -7
- package/dist/types/shifts/entities/shift.entity.js.map +1 -1
- package/dist/types/spaces/dto/resource.dto.d.ts +2 -2
- package/dist/types/spaces/dto/resource.dto.js.map +1 -1
- package/dist/types/spaces/dto/space.dto.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +0 -3
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/dto/product.dto.js.map +0 -1
- package/dist/types/entity/Product.js.map +0 -1
- package/dist/types/entity/decorators/column.numeric.transformer.d.ts +0 -5
- package/dist/types/entity/decorators/column.numeric.transformer.js +0 -21
- package/dist/types/entity/decorators/column.numeric.transformer.js.map +0 -1
- package/dist/types/entity/decorators/index.d.ts +0 -1
- package/dist/types/entity/decorators/index.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SendErrorCode } from '../types/enums/notification.enums';
|
|
2
|
+
export declare class SendErrorDto {
|
|
3
|
+
error: SendErrorCode;
|
|
4
|
+
serviceCode?: number;
|
|
5
|
+
serviceReason?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class SendResultDto {
|
|
8
|
+
attempted: number;
|
|
9
|
+
succeeded: number;
|
|
10
|
+
failed: number;
|
|
11
|
+
errors: SendErrorDto[];
|
|
12
|
+
constructor(attempted?: number, succeeded?: number, failed?: number, errors?: SendErrorDto[]);
|
|
13
|
+
static withError(error: SendErrorDto): SendResultDto;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendResultDto = exports.SendErrorDto = void 0;
|
|
4
|
+
class SendErrorDto {
|
|
5
|
+
}
|
|
6
|
+
exports.SendErrorDto = SendErrorDto;
|
|
7
|
+
class SendResultDto {
|
|
8
|
+
constructor(attempted = 0, succeeded = 0, failed = 0, errors) {
|
|
9
|
+
this.attempted = 0;
|
|
10
|
+
this.succeeded = 0;
|
|
11
|
+
this.failed = 0;
|
|
12
|
+
this.errors = [];
|
|
13
|
+
this.attempted = attempted;
|
|
14
|
+
this.succeeded = succeeded;
|
|
15
|
+
this.failed = failed;
|
|
16
|
+
this.errors = errors ? errors : [];
|
|
17
|
+
}
|
|
18
|
+
static withError(error) {
|
|
19
|
+
return new SendResultDto(0, 0, 0, [error]);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.SendResultDto = SendResultDto;
|
|
23
|
+
//# sourceMappingURL=notification.response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.response.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.response.dto.ts"],"names":[],"mappings":";;;AAUA,MAAa,YAAY;CAMxB;AAND,oCAMC;AAED,MAAa,aAAa;IASzB,YAAY,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,MAAuB;QAR7E,cAAS,GAAG,CAAC,CAAC;QAEd,cAAS,GAAG,CAAC,CAAC;QAEd,WAAM,GAAG,CAAC,CAAC;QAEX,WAAM,GAAmB,EAAE,CAAC;QAG3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,KAAmB;QACnC,OAAO,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;CACD;AAnBD,sCAmBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './notification.enums';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./notification.enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendErrorCode = exports.NotificationDeliveryChannel = void 0;
|
|
4
|
+
var NotificationDeliveryChannel;
|
|
5
|
+
(function (NotificationDeliveryChannel) {
|
|
6
|
+
NotificationDeliveryChannel["EMAIL"] = "EMAIL";
|
|
7
|
+
NotificationDeliveryChannel["SMS"] = "SMS";
|
|
8
|
+
})(NotificationDeliveryChannel = exports.NotificationDeliveryChannel || (exports.NotificationDeliveryChannel = {}));
|
|
9
|
+
var SendErrorCode;
|
|
10
|
+
(function (SendErrorCode) {
|
|
11
|
+
SendErrorCode[SendErrorCode["BAD_DELIVERY_CHANNEL"] = 400] = "BAD_DELIVERY_CHANNEL";
|
|
12
|
+
SendErrorCode[SendErrorCode["SENDGRID_ERROR"] = 401] = "SENDGRID_ERROR";
|
|
13
|
+
})(SendErrorCode = exports.SendErrorCode || (exports.SendErrorCode = {}));
|
|
14
|
+
//# sourceMappingURL=notification.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAWA,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,8CAAe,CAAA;IAEf,0CAAW,CAAA;AACZ,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC;AAKD,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,mFAA0B,CAAA;IAC1B,uEAAoB,CAAA;AACrB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifyTracker.js","sourceRoot":"","sources":["../../../../src/types/notifyTracker/entities/notifyTracker.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"notifyTracker.js","sourceRoot":"","sources":["../../../../src/types/notifyTracker/entities/notifyTracker.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAI7D,MAAa,aAAc,SAAQ,+BAAc;CAWhD;AAXD,sCAWC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IdDto, PaginationQuery } from '../../dto/general.dto';
|
|
2
|
-
import { Organization } from '../entities/Organization';
|
|
3
2
|
export declare class ByOrganizationIdDto {
|
|
4
3
|
organizationId: number;
|
|
5
4
|
}
|
|
@@ -27,6 +26,3 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
27
26
|
months?: string;
|
|
28
27
|
dow?: string;
|
|
29
28
|
}
|
|
30
|
-
export declare class OrganizationResponseDto {
|
|
31
|
-
data: Organization;
|
|
32
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FindUnallocatedEventsFiltersDto = exports.FindUnallocatedEventsIdsFiltersDto = exports.OrganizationBaseEntityDto = exports.OptionalOrganizationIdDto = exports.ByOrganizationIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class ByOrganizationIdDto {
|
|
6
6
|
}
|
|
@@ -17,7 +17,4 @@ exports.FindUnallocatedEventsIdsFiltersDto = FindUnallocatedEventsIdsFiltersDto;
|
|
|
17
17
|
class FindUnallocatedEventsFiltersDto extends general_dto_1.PaginationQuery {
|
|
18
18
|
}
|
|
19
19
|
exports.FindUnallocatedEventsFiltersDto = FindUnallocatedEventsFiltersDto;
|
|
20
|
-
class OrganizationResponseDto {
|
|
21
|
-
}
|
|
22
|
-
exports.OrganizationResponseDto = OrganizationResponseDto;
|
|
23
20
|
//# sourceMappingURL=organization.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;
|
|
1
|
+
{"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;AAE/D,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,mBAAK;CAEnD;AAFD,8DAEC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAa,+BAAgC,SAAQ,6BAAe;CAcnE;AAdD,0EAcC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Address } from '../../entity/Address';
|
|
2
2
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
3
|
+
import { ColorCode } from '../../entity/ColorCode';
|
|
3
4
|
import { Media } from '../../entity/Media';
|
|
4
5
|
import { UberOrganization } from '../../entity/UberOrganization';
|
|
5
6
|
import { Fee } from '../../fee/entities/Fee';
|
|
6
7
|
import { CurrencyEnum } from '../../services/enums.service';
|
|
7
8
|
import { OrganizationBranding } from './OrganizationBranding';
|
|
8
9
|
import { OrganizationPaymentMethod } from './OrganizationPaymentMethod';
|
|
9
|
-
import { ColorCode } from '../../entity/ColorCode';
|
|
10
10
|
export declare class Organization extends BondBaseEntity {
|
|
11
11
|
name?: string;
|
|
12
12
|
email?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;
|
|
1
|
+
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;CAoF/C;AApFD,oCAoFC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationPaymentMethod.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationPaymentMethod.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"OrganizationPaymentMethod.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationPaymentMethod.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,yBAA0B,SAAQ,mEAAgC;CAe9E;AAfD,8DAeC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
1
2
|
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
|
2
3
|
import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
|
|
3
|
-
import { ByInvoiceDto } from './payment.dto';
|
|
4
4
|
export declare class PaymentPlanScheduleDto {
|
|
5
5
|
date: Date;
|
|
6
6
|
percent?: number;
|
|
@@ -21,7 +21,8 @@ export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
|
21
21
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
22
22
|
amountToSplit: number;
|
|
23
23
|
}
|
|
24
|
-
export declare class BasicInstallmentDataDto extends
|
|
24
|
+
export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
|
|
25
|
+
invoiceId: number;
|
|
25
26
|
userId: number;
|
|
26
27
|
}
|
|
27
28
|
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
@@ -30,9 +31,9 @@ export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto
|
|
|
30
31
|
payemntMethodId: string;
|
|
31
32
|
}
|
|
32
33
|
export declare class ScheduledPaymentDto {
|
|
34
|
+
price: number;
|
|
33
35
|
plannedDate: Date;
|
|
34
36
|
originalPlannedDate?: Date;
|
|
35
|
-
price: number;
|
|
36
37
|
}
|
|
37
38
|
export declare class FutureInstallmentsIdsDto {
|
|
38
39
|
paymentsIds: number[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.CalcPaymentPlanDto = exports.CreatePaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanScheduleDto = void 0;
|
|
4
|
-
const
|
|
4
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
5
|
class PaymentPlanScheduleDto {
|
|
6
6
|
}
|
|
7
7
|
exports.PaymentPlanScheduleDto = PaymentPlanScheduleDto;
|
|
@@ -14,7 +14,7 @@ exports.CreatePaymentPlanDto = CreatePaymentPlanDto;
|
|
|
14
14
|
class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
15
15
|
}
|
|
16
16
|
exports.CalcPaymentPlanDto = CalcPaymentPlanDto;
|
|
17
|
-
class BasicInstallmentDataDto extends
|
|
17
|
+
class BasicInstallmentDataDto extends organization_dto_1.ByOrganizationIdDto {
|
|
18
18
|
}
|
|
19
19
|
exports.BasicInstallmentDataDto = BasicInstallmentDataDto;
|
|
20
20
|
class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAQ9E,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AACD,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAI/D;AAJD,0DAIC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Discount.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Discount.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Discount.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Discount.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,QAAS,SAAQ,mEAAgC;CAwC7D;AAxCD,4BAwCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAIjG,MAAa,iBAAkB,SAAQ,mEAAgC;CAsBtE;AAtBD,8CAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA2E5D;AA3ED,0BA2EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentPlanSchedule.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentPlanSchedule.ts"],"names":[],"mappings":";;;AACA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"PaymentPlanSchedule.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentPlanSchedule.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAGjG,MAAa,mBAAoB,SAAQ,mEAAgC;CAYxE;AAZD,kDAYC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentPlanSchedule } from './PaymentPlanSchedule';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
-
import { Product } from '../../
|
|
3
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
4
4
|
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
|
5
5
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
6
6
|
productId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiscountOnEnum = exports.DiscountTypeEnum = void 0;
|
|
3
|
+
exports.CartDiscountOnEnum = exports.DiscountOnEnum = exports.DiscountTypeEnum = void 0;
|
|
4
4
|
var DiscountTypeEnum;
|
|
5
5
|
(function (DiscountTypeEnum) {
|
|
6
6
|
DiscountTypeEnum["MANUAL"] = "manual";
|
|
@@ -12,4 +12,9 @@ var DiscountOnEnum;
|
|
|
12
12
|
DiscountOnEnum["INVOICE"] = "invoice";
|
|
13
13
|
DiscountOnEnum["LINE_ITEM"] = "line_item";
|
|
14
14
|
})(DiscountOnEnum = exports.DiscountOnEnum || (exports.DiscountOnEnum = {}));
|
|
15
|
+
var CartDiscountOnEnum;
|
|
16
|
+
(function (CartDiscountOnEnum) {
|
|
17
|
+
CartDiscountOnEnum["ALL"] = "all";
|
|
18
|
+
CartDiscountOnEnum["ITEM"] = "item";
|
|
19
|
+
})(CartDiscountOnEnum = exports.CartDiscountOnEnum || (exports.CartDiscountOnEnum = {}));
|
|
15
20
|
//# sourceMappingURL=discount.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/discount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,2DAAuC,CAAA;AACxC,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;
|
|
1
|
+
{"version":3,"file":"discount.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/discount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,2DAAuC,CAAA;AACxC,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAGD,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;AACxB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAGD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,iCAAW,CAAA;IACX,mCAAa,CAAA;AACd,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
|
@@ -2,7 +2,7 @@ import { Stripe } from 'stripe';
|
|
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
|
3
3
|
import { LineItems } from '../../../entity/LineItems';
|
|
4
4
|
import { FeeDto } from '../../../fee/dto/fee.dto';
|
|
5
|
-
import {
|
|
5
|
+
import { IPurchasePayment } from '../../../purchase/types/interfaces/purchase.interfaces';
|
|
6
6
|
import { PlatformsEnum } from '../../../services/enums.service';
|
|
7
7
|
import { CreateNoteDto } from '../../dto/payment.dto';
|
|
8
8
|
import { Payment } from '../../entities/Payment';
|
|
@@ -67,13 +67,13 @@ export interface ISplitedLineItems {
|
|
|
67
67
|
parentLineItems: LineItems[];
|
|
68
68
|
lineItemsMap: Map<number, LineItems>;
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
70
|
+
export interface IPayPaymentResult {
|
|
71
71
|
paymentIntent?: Stripe.PaymentIntent;
|
|
72
72
|
customer?: Customer;
|
|
73
73
|
}
|
|
74
|
-
export interface
|
|
74
|
+
export interface ISaveInvoicePayment {
|
|
75
75
|
purchasingUserId?: number;
|
|
76
|
-
|
|
76
|
+
paymentInfo?: IPurchasePayment;
|
|
77
77
|
platform?: PlatformsEnum;
|
|
78
78
|
shiftId?: number;
|
|
79
79
|
installmentId?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product } from '../../
|
|
1
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
2
2
|
import { CurrencyEnum, DiscountMethodsEnum } from '../../services/enums.service';
|
|
3
3
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
4
4
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAGjG,MAAa,KAAM,SAAQ,mEAAgC;CA0B1D;AA1BD,sBA0BC"}
|
|
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./product-pricing.dto"), exports);
|
|
18
|
+
__exportStar(require("./product-resource.dto"), exports);
|
|
19
|
+
__exportStar(require("./product.dto"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,yDAAuC;AACvC,gDAA8B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IdAndNameDto } from '../../dto/general.dto';
|
|
2
|
+
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
3
|
+
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
4
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
|
5
|
+
export declare class ProductResourceDto extends IdAndNameDto {
|
|
6
|
+
type: ResourceNameTypeEnum;
|
|
7
|
+
program?: SimpleProgramDto;
|
|
8
|
+
parentSession?: SimpleSessionDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProductResourceDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class ProductResourceDto extends general_dto_1.IdAndNameDto {
|
|
6
|
+
}
|
|
7
|
+
exports.ProductResourceDto = ProductResourceDto;
|
|
8
|
+
//# sourceMappingURL=product-resource.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAKrD,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { CreateOrUpdateResourceSettingDto } from '
|
|
1
|
+
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
2
|
+
import { VariantWithPrice } from '../../dto/product-variants.dto';
|
|
3
|
+
import { CreatePaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
|
4
|
+
import { ProductPaymentPlan } from '../../payment/entities/ProductPaymentPlan';
|
|
5
|
+
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
|
|
6
|
+
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
|
7
|
+
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, PlatformsEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
8
|
+
import { ProductResourceDto } from './product-resource.dto';
|
|
7
9
|
export declare class FindByProductIdDto {
|
|
8
10
|
productId: number;
|
|
9
11
|
}
|
|
@@ -110,4 +112,6 @@ export declare class GetExtraProductDataDto {
|
|
|
110
112
|
platform?: PlatformsEnum;
|
|
111
113
|
}
|
|
112
114
|
export declare class SimpleProductDto extends IdAndNameDto {
|
|
115
|
+
resource?: ProductResourceDto;
|
|
116
|
+
productPaymentPlan?: ProductPaymentPlan;
|
|
113
117
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SimpleProductDto = exports.GetExtraProductDataDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
|
4
|
-
const general_dto_1 = require("
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class FindByProductIdDto {
|
|
6
6
|
}
|
|
7
7
|
exports.FindByProductIdDto = FindByProductIdDto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsE;AAgBtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAoBlD;AApBD,wCAoBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
1
|
+
import { ActivityTimes } from '../../entity/ActivityTimes';
|
|
2
|
+
import { Customer } from '../../entity/Customer';
|
|
3
|
+
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
|
4
|
+
import { LineItems } from '../../entity/LineItems';
|
|
5
|
+
import { Membership } from '../../entity/Membership';
|
|
6
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
7
|
+
import { ProductPackage } from '../../entity/ProductPackage';
|
|
8
|
+
import { ProductResource } from '../../entity/ProductResource';
|
|
9
|
+
import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCustomers';
|
|
10
|
+
import { ProductsUsers } from '../../entity/ProductsUsers';
|
|
11
|
+
import { PurchasedResource } from '../../entity/PurchasedResources';
|
|
12
|
+
import { VariantTitle } from '../../entity/VariantTitles';
|
|
13
|
+
import { Variant } from '../../entity/Variants';
|
|
14
|
+
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
15
|
+
import { ProductPaymentPlan } from '../../payment/entities/ProductPaymentPlan';
|
|
16
|
+
import { Price } from '../../pricing/entities/Price';
|
|
17
|
+
import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
|
|
18
|
+
import { AddonTimePeriodEnum, ProductSubTypesEnum, ProductTypesEnum } from '../../services/enums.service';
|
|
19
|
+
import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
|
|
20
|
+
import { ProductResourceDto } from '../dto/product-resource.dto';
|
|
20
21
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
21
22
|
name: string;
|
|
22
23
|
quantity: number;
|
|
@@ -35,8 +36,8 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
35
36
|
productSubType?: ProductSubTypesEnum;
|
|
36
37
|
punchCard: boolean;
|
|
37
38
|
requiredProductIds?: number[];
|
|
38
|
-
lineItems: LineItems[];
|
|
39
39
|
resources: IResourcesAvailability[];
|
|
40
|
+
resource: ProductResourceDto;
|
|
40
41
|
variantParentId?: number;
|
|
41
42
|
isAddon: boolean;
|
|
42
43
|
isArchive: boolean;
|
|
@@ -46,7 +47,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
46
47
|
variantTitlesObj: VariantTitle[];
|
|
47
48
|
timePeriod?: AddonTimePeriodEnum;
|
|
48
49
|
deletedAt?: Date;
|
|
49
|
-
productsUsers: ProductsUsers[];
|
|
50
50
|
isProRated: boolean;
|
|
51
51
|
entitledPrices?: GroupItemsPricing[];
|
|
52
52
|
defaultPriceId?: number;
|
|
@@ -67,6 +67,8 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
67
67
|
reservedForCustomers: Customer[];
|
|
68
68
|
reservedForMemberships: Membership[];
|
|
69
69
|
activityTimes: ActivityTimes[];
|
|
70
|
-
purchasedResources: PurchasedResource[];
|
|
71
70
|
resourceSettings: ResourceSetting[];
|
|
71
|
+
lineItems: LineItems[];
|
|
72
|
+
productsUsers: ProductsUsers[];
|
|
73
|
+
purchasedResources: PurchasedResource[];
|
|
72
74
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Product = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class Product extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.Product = Product;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA+G5D;AA/GD,0BA+GC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Product';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Product"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/product-pricing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/product-pricing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
|