@bondsports/types 2.0.122 → 2.0.124

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.
@@ -1,5 +1,5 @@
1
1
  import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
- export declare class PaymentsToInstallments extends BondBaseEntity {
2
+ export declare class PaymentToInstallment extends BondBaseEntity {
3
3
  installmentId: number;
4
4
  paymentId: number;
5
5
  deletedAt?: Date;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentsToInstallments = void 0;
3
+ exports.PaymentToInstallment = void 0;
4
4
  const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
- class PaymentsToInstallments extends BondBaseEntity_1.BondBaseEntity {
5
+ class PaymentToInstallment extends BondBaseEntity_1.BondBaseEntity {
6
6
  }
7
- exports.PaymentsToInstallments = PaymentsToInstallments;
7
+ exports.PaymentToInstallment = PaymentToInstallment;
8
8
  //# sourceMappingURL=payment-to-installment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment-to-installment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/payment-to-installment.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,sBAAuB,SAAQ,+BAAc;CAQzD;AARD,wDAQC"}
1
+ {"version":3,"file":"payment-to-installment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/payment-to-installment.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,MAAa,oBAAqB,SAAQ,+BAAc;CAMvD;AAND,oDAMC"}
@@ -1,16 +1,18 @@
1
1
  import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
- import { ResourceDto } from '../../spaces/dto/resource.dto';
4
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
5
4
  import { ProductTypesEnum } from '../../services/enums.service';
5
+ import { ResourceDto } from '../../spaces/dto/resource.dto';
6
6
  export declare class FindPriceOfProductDto {
7
7
  id: number;
8
+ productId: number;
8
9
  userId: number;
9
- resources: ResourceDto[];
10
+ resources?: ResourceDto[];
11
+ quantity?: number;
10
12
  }
11
13
  export declare class FindPricesOfProductsDto {
12
14
  products: FindPriceOfProductDto[];
13
- answers: UserAnswersDto[];
15
+ answers?: UserAnswersDto[];
14
16
  }
15
17
  export declare class FindByProductUserIdsDto {
16
18
  userId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAA8E;AAG9E,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAI9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC"}
@@ -1,2 +1,3 @@
1
1
  export * from './dto';
2
2
  export * from './entities';
3
+ export * from './types';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
18
  __exportStar(require("./entities"), exports);
19
+ __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/product-pricing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/product-pricing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1 @@
1
+ export * from './interfaces';
@@ -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("./interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1 @@
1
+ export * from './product-pricing.interfaces';
@@ -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-pricing.interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C"}
@@ -0,0 +1,9 @@
1
+ import { QuestionAnswersDto } from '../../../dto/application.dto';
2
+ import { Price } from '../../../pricing/entities/Price';
3
+ import { PurchaseResourceDto } from '../../../purchase/dto/purchase.dto';
4
+ export interface IGetCurrentPricesOptions {
5
+ userId?: number;
6
+ answers?: QuestionAnswersDto[];
7
+ prefetchedPrices?: Price[];
8
+ resources?: PurchaseResourceDto[];
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=product-pricing.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-pricing.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/interfaces/product-pricing.interfaces.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.0.122",
3
+ "version": "2.0.124",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {