@bondsports/types 2.3.12 → 2.3.13

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.
@@ -12,6 +12,7 @@ import { ResourceDto } from '../../../resources/dto/resource.dto';
12
12
  import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
13
13
  import { User } from '../../../user/entities/User';
14
14
  import { PurchasePaymentDto } from '../../dto/purchase.dto';
15
+ import { NotificationSubscriptions } from '../../../entity/NotificationSubscriptions';
15
16
  export type UserCount = {
16
17
  male: number;
17
18
  female: number;
@@ -40,6 +41,7 @@ export interface ILineItem {
40
41
  export interface ChargeInstallmentDataMap {
41
42
  usersMap: Map<number, User>;
42
43
  organizationsMap: Map<number, Organization>;
44
+ subscribersMap: Record<string, NotificationSubscriptions[]>;
43
45
  }
44
46
  export interface IChargeInvoice extends ISaveInvoicePayment {
45
47
  amountToPay?: number;
@@ -72,3 +74,15 @@ export interface IPurchaseCart extends IInvoiceCart {
72
74
  parentPurchasedType?: ResourceNameTypeEnum;
73
75
  updatePrices?: IUpdateCartPrices;
74
76
  }
77
+ export interface IPaymentPastDueNotificationParams {
78
+ invoice_id: number;
79
+ amount: number;
80
+ organization_name: string;
81
+ due_date: string;
82
+ invoice_link: string;
83
+ user_first_name: string;
84
+ user_last_name: string;
85
+ organization_email: string;
86
+ organization_phone: string;
87
+ logo: string;
88
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.3.12",
3
+ "version": "2.3.13",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {