@bondsports/types 2.1.4 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,13 @@ export declare class GetFutureInstallmentsByOrgInvoiceDto extends ByOrganization
5
5
  invoiceId: number;
6
6
  userId: number;
7
7
  }
8
+ export declare class GetInstallmentsByFiltersDto extends ByOrganizationIdDto {
9
+ invoiceId: number;
10
+ userId?: number;
11
+ includedIds?: number[];
12
+ excludedIds?: number[];
13
+ statuses?: FuturePaymentStatusEnum[];
14
+ }
8
15
  export declare class FindInstallmentsByFiltersDto extends PaginationQuery {
9
16
  statuses?: FuturePaymentStatusEnum[];
10
17
  }
@@ -1,11 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetFutureInstallmentsByStatusDto = exports.GetFutureInstallmentsByInvoiceConsumerDto = exports.FindInstallmentsByFiltersDto = exports.GetFutureInstallmentsByOrgInvoiceDto = void 0;
3
+ exports.GetFutureInstallmentsByStatusDto = exports.GetFutureInstallmentsByInvoiceConsumerDto = exports.FindInstallmentsByFiltersDto = exports.GetInstallmentsByFiltersDto = exports.GetFutureInstallmentsByOrgInvoiceDto = void 0;
4
4
  const organization_dto_1 = require("../../organization/dto/organization.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  class GetFutureInstallmentsByOrgInvoiceDto extends organization_dto_1.ByOrganizationIdDto {
7
7
  }
8
8
  exports.GetFutureInstallmentsByOrgInvoiceDto = GetFutureInstallmentsByOrgInvoiceDto;
9
+ class GetInstallmentsByFiltersDto extends organization_dto_1.ByOrganizationIdDto {
10
+ }
11
+ exports.GetInstallmentsByFiltersDto = GetInstallmentsByFiltersDto;
9
12
  class FindInstallmentsByFiltersDto extends general_dto_1.PaginationQuery {
10
13
  }
11
14
  exports.FindInstallmentsByFiltersDto = FindInstallmentsByFiltersDto;
@@ -1 +1 @@
1
- {"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAE9E,uDAAwD;AAExD,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,yCAAyC;CAMrD;AAND,8FAMC;AAED,MAAa,gCAAiC,SAAQ,sCAAmB;CAMxE;AAND,4EAMC"}
1
+ {"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAE9E,uDAAwD;AAExD,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AACD,MAAa,2BAA4B,SAAQ,sCAAmB;CAUnE;AAVD,kEAUC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,yCAAyC;CAMrD;AAND,8FAMC;AAED,MAAa,gCAAiC,SAAQ,sCAAmB;CAMxE;AAND,4EAMC"}
@@ -9,6 +9,7 @@ export declare class PaymentPlanScheduleDto {
9
9
  }
10
10
  export declare class PaymentPlanDto {
11
11
  months?: number;
12
+ maxInstallments?: number;
12
13
  dayOfMonth?: number;
13
14
  schedule?: PaymentPlanScheduleDto[];
14
15
  status?: PaymentPlanStatusEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,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;CAUtC;AAVD,gEAUC;AAED,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
1
+ {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;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;CAUtC;AAVD,gEAUC;AAED,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
@@ -67,7 +67,8 @@ export declare class ScheduledPaymentRequestBodyDto {
67
67
  paymentMethodData: PurchasePaymentDto;
68
68
  platform: PlatformsEnum;
69
69
  shiftId?: number;
70
- installmentIds: number[];
70
+ includedIds?: number[];
71
+ excludedIds?: number[];
71
72
  }
72
73
  export declare class PartialPaymentRequestDto {
73
74
  invoiceId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAS9E,gEAA4D;AAG5D,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,S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;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {