@bondsports/types 2.2.183 → 2.2.185

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,8 @@ export declare enum PaymentFilterByEnum {
19
19
  export declare enum ReasonTypeEnum {
20
20
  REFUND = "refund",
21
21
  DISCOUNT = "discount",
22
- PROMO_CODE = "promo_code"
22
+ PROMO_CODE = "promo_code",
23
+ MEMBERSHIP_PAUSE = "membership_pause"
23
24
  }
24
25
  export declare enum PaymentStatusV1Enum {
25
26
  SENT_TO_CLIENT = 1,
@@ -26,6 +26,7 @@ var ReasonTypeEnum;
26
26
  ReasonTypeEnum["REFUND"] = "refund";
27
27
  ReasonTypeEnum["DISCOUNT"] = "discount";
28
28
  ReasonTypeEnum["PROMO_CODE"] = "promo_code";
29
+ ReasonTypeEnum["MEMBERSHIP_PAUSE"] = "membership_pause";
29
30
  })(ReasonTypeEnum = exports.ReasonTypeEnum || (exports.ReasonTypeEnum = {}));
30
31
  var PaymentStatusV1Enum;
31
32
  (function (PaymentStatusV1Enum) {
@@ -1 +1 @@
1
- {"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;AACzB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAED,IAAY,cAIX;AAJD,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AAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;IACnB,kEAAuC,CAAA;AACxC,CAAC,EAPW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOlC;AAEY,QAAA,wCAAwC,GAAG;IACvD,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,SAAS;CACjC,CAAC;AAEW,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;CACzC,CAAC;AAEF;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
1
+ {"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,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G/B;AAED,IAAY,wBAKX;AALD,WAAY,wBAAwB;IACnC,6CAAiB,CAAA;IACjB,2CAAe,CAAA;IACf,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;AACpB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC;AAED,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IAClC,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;IACnB,kEAAuC,CAAA;AACxC,CAAC,EAPW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAOlC;AAEY,QAAA,wCAAwC,GAAG;IACvD,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,SAAS;CACjC,CAAC;AAEW,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;CACzC,CAAC;AAEF;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
@@ -9,6 +9,7 @@ import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
9
9
  import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
10
10
  import { AddonDto, DraftAddonDto } from './addon.dto';
11
11
  import { MaintenanceDto } from './maintenance.dto';
12
+ import { Price } from '../../pricing/entities/Price';
12
13
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
13
14
  productId: number;
14
15
  price: number;
@@ -68,6 +69,7 @@ export declare class SlotDto extends BaseSlotDto {
68
69
  addonsIds?: number[];
69
70
  parentSlotId?: number;
70
71
  facilityId?: number;
72
+ matchingPrices?: [Price, number][];
71
73
  }
72
74
  declare class BaseDraftSlotDto extends BaseSlotDto {
73
75
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAsBA,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAM,gBAAiB,SAAQ,WAAW;CAczC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAEvD;AAFD,gDAEC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAgBjD;AAhBD,oCAgBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAuBA,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAmCvC;AAnCD,0BAmCC;AAED,MAAM,gBAAiB,SAAQ,WAAW;CAczC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAEvD;AAFD,gDAEC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAgBjD;AAhBD,oCAgBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC"}
@@ -7,6 +7,7 @@ import { IDraftSlot } from '../interfaces/slot.interfaces';
7
7
  import { DraftAddon } from './addon.classes';
8
8
  import { Maintenance } from './maintenance.classes';
9
9
  import { SlotProductMetadata } from './product.classes';
10
+ import { Price } from '../../../pricing/entities/Price';
10
11
  export declare class DraftSlot implements IDraftSlot {
11
12
  id: string;
12
13
  organizationId: number;
@@ -54,4 +55,5 @@ export declare class DraftSlot implements IDraftSlot {
54
55
  approvalStatus?: ReservationStatusEnum;
55
56
  paymentStatus?: ReservationPaymentStatusEnum;
56
57
  cartItemId?: string;
58
+ matchingPrices?: [Price, number][];
57
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;AAkBA,MAAa,SAAS;CA4FrB;AA5FD,8BA4FC"}
1
+ {"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;AAmBA,MAAa,SAAS;CA8FrB;AA9FD,8BA8FC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.183",
3
+ "version": "2.2.185",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {