@bondsports/types 2.2.34 → 2.2.36

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"}
@@ -1,5 +1,7 @@
1
1
  import { BondBaseEntity } from './BondBaseEntity';
2
+ import { Facility } from './Facility';
2
3
  export declare class FacilityToResource extends BondBaseEntity {
3
4
  facilityId: number;
4
5
  resourceId: number;
6
+ facility: Facility;
5
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAElD,MAAa,kBAAmB,SAAQ,+BAAc;CAIrD;AAJD,gDAIC"}
1
+ {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAGlD,MAAa,kBAAmB,SAAQ,+BAAc;CAMrD;AAND,gDAMC"}
@@ -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"}
@@ -224,6 +224,7 @@ export declare class BaseProductDto {
224
224
  lineItems?: LineItemDto[];
225
225
  productsUsers?: ProductsUsers[];
226
226
  purchasedResources?: PurchasedResourceDto[];
227
+ timezone?: string;
227
228
  }
228
229
  export declare class DeprecatedProductDto extends BaseProductDto {
229
230
  productPaymentPlan?: PaymentPlanDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,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;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA8G1B;AA9GD,wCA8GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
1
+ {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,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;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CAgH1B;AAhHD,wCAgHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -80,4 +80,5 @@ export declare class Product extends OrganizationConnectionBaseEntity {
80
80
  purchasedResources: PurchasedResource[];
81
81
  facilities: Facility[];
82
82
  pricingSchedules?: IPricingSchedule[];
83
+ timezone?: string;
83
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAmBA,oGAAiG;AAoBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA2H5D;AA3HD,0BA2HC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAmBA,oGAAiG;AAoBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA6H5D;AA7HD,0BA6HC"}
@@ -1,6 +1,8 @@
1
1
  import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
+ import { Facility } from '../../entity/Facility';
2
3
  export declare class ProductToFacility extends BondBaseEntity {
3
4
  productId: number;
4
5
  facilityId: number;
5
6
  deletedAt?: Date;
7
+ facility: Facility;
6
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAG7D,MAAa,iBAAkB,SAAQ,+BAAc;CAMpD;AAND,8CAMC"}
1
+ {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAQpD;AARD,8CAQC"}
@@ -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;AAE9F,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,uBAAuB,GAAG;IACtC,CAAC,qCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,MAAM;IAC1D,CAAC,qCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,qCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC"}
1
+ {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAA2G;AAE9F,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,uBAAuB,GAAG;IACtC,CAAC,qCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACzD,CAAC,qCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,qCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,qCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {