@bondsports/types 2.2.33 → 2.2.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ export declare class CustomerFamilyMemberDto {
7
7
  name: string;
8
8
  storedCredit: number;
9
9
  familyStatus: CustomerFamilyStatusEnum;
10
+ email?: string;
10
11
  }
11
12
  export declare class CustomerFamilyWithMembersDto {
12
13
  familyId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"customerFamilyWithMembersDto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customerFamilyWithMembersDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,sCAAsC;CAElD;AAFD,wFAEC"}
1
+ {"version":3,"file":"customerFamilyWithMembersDto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customerFamilyWithMembersDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,uBAAuB;CAgBnC;AAhBD,0DAgBC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,sCAAsC;CAElD;AAFD,wFAEC"}
@@ -42,6 +42,10 @@ export declare class ScheduledPaymentDto {
42
42
  export declare class FutureInstallmentsIdsDto {
43
43
  paymentsIds: number[];
44
44
  }
45
+ export declare class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
46
+ invoiceId?: number;
47
+ userId?: number;
48
+ }
45
49
  export declare class UpdateScheduledPaymentsDto {
46
50
  invoiceId?: number;
47
51
  installmentIds?: number[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CachedPaymentPlans = exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.CalcPaymentPlanDto = exports.CreatePaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanScheduleDto = void 0;
3
+ exports.CachedPaymentPlans = exports.UpdateScheduledPaymentsDto = exports.CancelFutureInstallmentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.CalcPaymentPlanDto = exports.CreatePaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanScheduleDto = void 0;
4
4
  const organization_dto_1 = require("../../organization/dto/organization.dto");
5
5
  class PaymentPlanScheduleDto {
6
6
  }
@@ -26,6 +26,9 @@ exports.ScheduledPaymentDto = ScheduledPaymentDto;
26
26
  class FutureInstallmentsIdsDto {
27
27
  }
28
28
  exports.FutureInstallmentsIdsDto = FutureInstallmentsIdsDto;
29
+ class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
30
+ }
31
+ exports.CancelFutureInstallmentsDto = CancelFutureInstallmentsDto;
29
32
  class UpdateScheduledPaymentsDto {
30
33
  }
31
34
  exports.UpdateScheduledPaymentsDto = UpdateScheduledPaymentsDto;
@@ -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;CAQlC;AARD,wDAQC;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;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
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;CAQlC;AARD,wDAQC;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;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,2BAA4B,SAAQ,wBAAwB;CAIxE;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
@@ -7,7 +7,7 @@ exports.PUBLIC_NOTES_LIMIT = 500;
7
7
  exports.PRIVATE_NOTES_LIMIT = 500;
8
8
  exports.reservationStatusMapper = {
9
9
  [enums_service_1.ReservationStatusEnum.PLANNED]: enums_service_1.InvoiceStatusEnum.DRAFT,
10
- [enums_service_1.ReservationStatusEnum.APPROVED]: enums_service_1.InvoiceStatusEnum.ACTIVE,
10
+ [enums_service_1.ReservationStatusEnum.APPROVED]: enums_service_1.InvoiceStatusEnum.DRAFT,
11
11
  [enums_service_1.ReservationStatusEnum.AWAITING_ADMIN]: enums_service_1.InvoiceStatusEnum.WAITING_ADMIN,
12
12
  [enums_service_1.ReservationStatusEnum.AWAITING_CUSTOMER]: enums_service_1.InvoiceStatusEnum.WAITING_CLIENT,
13
13
  [enums_service_1.ReservationStatusEnum.REJECTED]: enums_service_1.InvoiceStatusEnum.CANCELED,
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAA2G;A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,QAAQ;CAC5D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.33",
3
+ "version": "2.2.35",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {