namirasoft-payment 1.4.39 → 1.4.41

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.
@@ -14,7 +14,7 @@ const NamirasoftPaymentServerSubscriptionPaid_1 = require("./NamirasoftPaymentSe
14
14
  const NamirasoftPaymentServerValue_1 = require("./NamirasoftPaymentServerValue");
15
15
  class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
16
16
  constructor(base_url, manager, onError) {
17
- super(base_url, `1.4.39`, manager, onError);
17
+ super(base_url, `1.4.41`, manager, onError);
18
18
  this.healthz = new NamirasoftPaymentServerHealthz_1.NamirasoftPaymentServerHealthz(this);
19
19
  this.value = new NamirasoftPaymentServerValue_1.NamirasoftPaymentServerValue(this);
20
20
  this.invoice = new NamirasoftPaymentServerInvoice_1.NamirasoftPaymentServerInvoice(this);
@@ -1,4 +1,5 @@
1
1
  import { SubscriptionGateway } from "../enum/SubscriptionGateway";
2
+ import { SubscriptionPaidRow } from "./SubscriptionPaidRow";
2
3
  import { SubscriptionStatus } from "../enum/SubscriptionStatus";
3
4
  export type SubscrpitionFullRow = {
4
5
  id: string;
@@ -12,4 +13,5 @@ export type SubscrpitionFullRow = {
12
13
  description: string;
13
14
  created_at: Date;
14
15
  updated_at: Date;
16
+ subscription_paid: SubscriptionPaidRow[];
15
17
  };
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.39",
11
+ "version": "1.4.41",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -45,7 +45,7 @@ export class NamirasoftPaymentServer extends NSABaseServer
45
45
  product: NamirasoftPaymentServerProduct;
46
46
  constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
47
47
  {
48
- super(base_url, `1.4.39`, manager, onError);
48
+ super(base_url, `1.4.41`, manager, onError);
49
49
  this.healthz = new NamirasoftPaymentServerHealthz(this);
50
50
  this.value = new NamirasoftPaymentServerValue(this);
51
51
  this.invoice = new NamirasoftPaymentServerInvoice(this);
@@ -19,6 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { SubscriptionGateway } from "../enum/SubscriptionGateway";
22
+ import { SubscriptionPaidRow } from "./SubscriptionPaidRow";
22
23
  import { SubscriptionStatus } from "../enum/SubscriptionStatus";
23
24
 
24
25
  export type SubscrpitionFullRow =
@@ -34,4 +35,5 @@ export type SubscrpitionFullRow =
34
35
  description: string;
35
36
  created_at: Date;
36
37
  updated_at: Date;
38
+ subscription_paid: SubscriptionPaidRow[];
37
39
  }