pingram 1.0.5-alpha.1049 → 1.0.5-alpha.1050

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.
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { SenderPostBodySmsAutoReply } from './SenderPostBodySmsAutoReply';
13
13
  /**
14
- * Inline SMS content (message, autoReply).
14
+ * Inline SMS content (message, autoReply, from).
15
15
  * @export
16
16
  * @interface SenderPostBodySms
17
17
  */
@@ -28,6 +28,12 @@ export interface SenderPostBodySms {
28
28
  * @memberof SenderPostBodySms
29
29
  */
30
30
  autoReply?: SenderPostBodySmsAutoReply;
31
+ /**
32
+ * Override the sender phone number. Must be a verified number in your Telnyx account.
33
+ * @type {string}
34
+ * @memberof SenderPostBodySms
35
+ */
36
+ from?: string;
31
37
  }
32
38
  /**
33
39
  * Check if a given object implements the SenderPostBodySms interface.
@@ -36,7 +36,8 @@ function SenderPostBodySmsFromJSONTyped(json, ignoreDiscriminator) {
36
36
  message: json['message'] == null ? undefined : json['message'],
37
37
  autoReply: json['autoReply'] == null
38
38
  ? undefined
39
- : (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyFromJSON)(json['autoReply'])
39
+ : (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyFromJSON)(json['autoReply']),
40
+ from: json['from'] == null ? undefined : json['from']
40
41
  };
41
42
  }
42
43
  function SenderPostBodySmsToJSON(json) {
@@ -48,6 +49,7 @@ function SenderPostBodySmsToJSONTyped(value, ignoreDiscriminator = false) {
48
49
  }
49
50
  return {
50
51
  message: value['message'],
51
- autoReply: (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyToJSON)(value['autoReply'])
52
+ autoReply: (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyToJSON)(value['autoReply']),
53
+ from: value['from']
52
54
  };
53
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.5-alpha.1049",
3
+ "version": "1.0.5-alpha.1050",
4
4
  "description": "Official Node.js SDK for Pingram - Send notifications via Email, SMS, Push, In-App, and more",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",