@bondsports/types 2.0.83 → 2.0.84

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.
@@ -2,7 +2,7 @@ import { OrganizationBaseEntityDto } from '../../organization/dto/organization.d
2
2
  import { SimpleDiscountDto } from '../../payment/dto/discount.dto';
3
3
  import { CartDiscountOnEnum } from '../../payment/types/enums/discount.enums';
4
4
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
5
- import { ResourceDto } from '../../spaces/dto/resource.dto';
5
+ import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
6
6
  import { SimpleUserDto } from '../../user/dto/user.dto';
7
7
  import { CartStatusEnum } from '../types/enums/cart.enums';
8
8
  export declare class CartDiscountDto extends OrganizationBaseEntityDto {
@@ -42,13 +42,13 @@ export declare class CartItemDto extends OrganizationBaseEntityDto {
42
42
  taxItem?: CartTaxDto;
43
43
  discounts?: CartDiscountDto[];
44
44
  children?: CartItemDto[];
45
- resources?: ResourceDto[];
45
+ resources?: PurchaseResourceDto[];
46
46
  }
47
47
  export declare class BaseCartItemDto {
48
48
  constructor(baseCartItem?: Partial<BaseCartItemDto>);
49
49
  quantity?: number;
50
50
  userId?: number;
51
- resources?: ResourceDto[];
51
+ resources?: PurchaseResourceDto[];
52
52
  }
53
53
  export declare class UpdateCartItemDto extends BaseCartItemDto {
54
54
  constructor(updateCartItem?: Partial<UpdateCartItemDto>);
@@ -1,13 +1,13 @@
1
1
  import { EntitlementGroup } from '../../entity/EntitlementGroup';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
- import { Product } from '../../product-pricing/entities/Product';
4
3
  import { Discount } from '../../payment/entities/Discount';
4
+ import { Product } from '../../product-pricing/entities/Product';
5
+ import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
5
6
  import { ProductTypesEnum } from '../../services/enums.service';
6
- import { ResourceDto } from '../../spaces/dto/resource.dto';
7
+ import { User } from '../../user/entities/User';
8
+ import { CartDiscountDto } from '../dto/cart-item.dto';
7
9
  import { CartStatusEnum } from '../types/enums/cart.enums';
8
10
  import { Cart } from './cart.entity';
9
- import { CartDiscountDto } from '../dto/cart-item.dto';
10
- import { User } from '../../user/entities/User';
11
11
  export declare class CartItem extends OrganizationConnectionBaseEntity {
12
12
  deletedAt?: Date;
13
13
  cartId: number;
@@ -36,5 +36,5 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
36
36
  taxItem?: CartItem;
37
37
  discountId?: number;
38
38
  discount?: Discount;
39
- resources?: ResourceDto[];
39
+ resources?: PurchaseResourceDto[];
40
40
  }
@@ -2,6 +2,8 @@ export declare enum SlackIconsEnum {
2
2
  DEFAULT = ":ghost:",
3
3
  SLACK = ":slack:",
4
4
  INFO = ":information_source:",
5
+ EXCLAMATION = ":exclamation:",
6
+ HEAVY_EXCLAMATION = ":bangbang:",
5
7
  SUCCESS = ":white_check_mark:",
6
8
  CHECK_YES = ":check_yes:",
7
9
  BLUE_TICK = ":blue-tick:",
@@ -10,6 +12,11 @@ export declare enum SlackIconsEnum {
10
12
  SOS = ":sos:",
11
13
  GREEN_ALERT = ":green_alert:",
12
14
  HEART = ":heart:",
15
+ HEARTS = ":hearts:",
16
+ STAR = ":star:",
17
+ BELL = ":bell:",
13
18
  BONDY = ":bondy:",
14
- BONDY_WORKING = ":working:"
19
+ BONDY_WORKING = ":working:",
20
+ BLOB_PARTY = ":party_jumpblob:",
21
+ BLOB_YAY = ":blob_yay:"
15
22
  }
@@ -6,6 +6,8 @@ var SlackIconsEnum;
6
6
  SlackIconsEnum["DEFAULT"] = ":ghost:";
7
7
  SlackIconsEnum["SLACK"] = ":slack:";
8
8
  SlackIconsEnum["INFO"] = ":information_source:";
9
+ SlackIconsEnum["EXCLAMATION"] = ":exclamation:";
10
+ SlackIconsEnum["HEAVY_EXCLAMATION"] = ":bangbang:";
9
11
  SlackIconsEnum["SUCCESS"] = ":white_check_mark:";
10
12
  SlackIconsEnum["CHECK_YES"] = ":check_yes:";
11
13
  SlackIconsEnum["BLUE_TICK"] = ":blue-tick:";
@@ -14,7 +16,12 @@ var SlackIconsEnum;
14
16
  SlackIconsEnum["SOS"] = ":sos:";
15
17
  SlackIconsEnum["GREEN_ALERT"] = ":green_alert:";
16
18
  SlackIconsEnum["HEART"] = ":heart:";
19
+ SlackIconsEnum["HEARTS"] = ":hearts:";
20
+ SlackIconsEnum["STAR"] = ":star:";
21
+ SlackIconsEnum["BELL"] = ":bell:";
17
22
  SlackIconsEnum["BONDY"] = ":bondy:";
18
23
  SlackIconsEnum["BONDY_WORKING"] = ":working:";
24
+ SlackIconsEnum["BLOB_PARTY"] = ":party_jumpblob:";
25
+ SlackIconsEnum["BLOB_YAY"] = ":blob_yay:";
19
26
  })(SlackIconsEnum = exports.SlackIconsEnum || (exports.SlackIconsEnum = {}));
20
27
  //# sourceMappingURL=slack.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slack.enums.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/slack.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAcX;AAdD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;IAC7B,gDAA8B,CAAA;IAC9B,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,6CAA2B,CAAA;AAC5B,CAAC,EAdW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAczB"}
1
+ {"version":3,"file":"slack.enums.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/slack.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAqBX;AArBD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,kDAAgC,CAAA;IAChC,gDAA8B,CAAA;IAC9B,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,yCAAuB,CAAA;AACxB,CAAC,EArBW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAqBzB"}
@@ -40,6 +40,8 @@ export declare class PurchaseRequestDto {
40
40
  installmentId?: number;
41
41
  }
42
42
  export declare class PurchaseResourceDto extends ResourceDto {
43
+ startDate?: Date;
44
+ resourceIdToRenew?: number;
43
45
  }
44
46
  export declare class PurchaseProductDto {
45
47
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAYA,gEAA4D;AAG5D,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAAG;AAAvD,kDAAuD;AAEvD,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAYA,gEAA4D;AAG5D,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;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.0.83",
3
+ "version": "2.0.84",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {