@payhos/api 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -25,13 +25,6 @@ const airtime = payhos.airtime;
25
25
  const email = payhos.email;
26
26
  ```
27
27
 
28
- ## Airtime
29
- ```javascript
30
- const airtime = payhos.airtime;
31
-
32
- // Coming soon...
33
- ```
34
-
35
28
  ## SMS
36
29
  Visit [Send SMS with PayHos](https://docs.payhos.com/components/sms) for more information on SMS dodumentations.
37
30
  ```javascript
@@ -79,6 +72,13 @@ email.send(data).then(response => {
79
72
  });
80
73
  ```
81
74
 
75
+ ## Airtime
76
+ ```javascript
77
+ const airtime = payhos.airtime;
78
+
79
+ // Coming soon...
80
+ ```
81
+
82
82
  ### Further Reading
83
83
  Have a look at other packages:
84
84
  - [pincode](https://www.npmjs.com/package/pincode)
package/models/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export interface PayhosEmailPayload {
23
23
  subject: string;
24
24
  content: string;
25
25
  customData?: Map<any>;
26
+ templateId?: string;
26
27
  }
27
28
  export interface ServerTimeResponse {
28
29
  timestamp: Date;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@payhos/api",
3
3
  "description": "An API SDK to communicate with the PayHos API",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
7
7
  "scripts": {