pingram 1.0.12-alpha.1196 → 1.0.13-alpha.1197
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.
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SenderPostBodySmsAutoReply } from './SenderPostBodySmsAutoReply';
|
|
13
12
|
/**
|
|
14
13
|
* Request body for `POST /sms` (send SMS without a template).
|
|
15
14
|
* @export
|
|
@@ -46,12 +45,6 @@ export interface SendSmsRequest {
|
|
|
46
45
|
* @memberof SendSmsRequest
|
|
47
46
|
*/
|
|
48
47
|
from?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {SenderPostBodySmsAutoReply}
|
|
52
|
-
* @memberof SendSmsRequest
|
|
53
|
-
*/
|
|
54
|
-
autoReply?: SenderPostBodySmsAutoReply;
|
|
55
48
|
}
|
|
56
49
|
/**
|
|
57
50
|
* Check if a given object implements the SendSmsRequest interface.
|
|
@@ -18,7 +18,6 @@ exports.SendSmsRequestFromJSON = SendSmsRequestFromJSON;
|
|
|
18
18
|
exports.SendSmsRequestFromJSONTyped = SendSmsRequestFromJSONTyped;
|
|
19
19
|
exports.SendSmsRequestToJSON = SendSmsRequestToJSON;
|
|
20
20
|
exports.SendSmsRequestToJSONTyped = SendSmsRequestToJSONTyped;
|
|
21
|
-
const SenderPostBodySmsAutoReply_1 = require("./SenderPostBodySmsAutoReply");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the SendSmsRequest interface.
|
|
24
23
|
*/
|
|
@@ -43,10 +42,7 @@ function SendSmsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
42
|
to: json['to'],
|
|
44
43
|
message: json['message'],
|
|
45
44
|
schedule: json['schedule'] == null ? undefined : json['schedule'],
|
|
46
|
-
from: json['from'] == null ? undefined : json['from']
|
|
47
|
-
autoReply: json['autoReply'] == null
|
|
48
|
-
? undefined
|
|
49
|
-
: (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyFromJSON)(json['autoReply'])
|
|
45
|
+
from: json['from'] == null ? undefined : json['from']
|
|
50
46
|
};
|
|
51
47
|
}
|
|
52
48
|
function SendSmsRequestToJSON(json) {
|
|
@@ -61,7 +57,6 @@ function SendSmsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
57
|
to: value['to'],
|
|
62
58
|
message: value['message'],
|
|
63
59
|
schedule: value['schedule'],
|
|
64
|
-
from: value['from']
|
|
65
|
-
autoReply: (0, SenderPostBodySmsAutoReply_1.SenderPostBodySmsAutoReplyToJSON)(value['autoReply'])
|
|
60
|
+
from: value['from']
|
|
66
61
|
};
|
|
67
62
|
}
|
package/dist/src/client.js
CHANGED
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.Pingram = void 0;
|
|
9
9
|
const src_1 = require("../generated/src");
|
|
10
10
|
// SDK version for User-Agent header (injected at codegen time)
|
|
11
|
-
const SDK_VERSION = '1.0.
|
|
11
|
+
const SDK_VERSION = '1.0.13';
|
|
12
12
|
const USER_AGENT = `pingram-node/${SDK_VERSION}`;
|
|
13
13
|
const src_2 = require("../generated/src");
|
|
14
14
|
const src_3 = require("../generated/src");
|
package/package.json
CHANGED