Skip to content

Commit d85960d

Browse files
authored
Merge pull request #3 from sendinblue/feature_update-smtp-template
readme and updateSmtpTemplate definition change
2 parents 73dd315 + 09f006f commit d85960d

File tree

8 files changed

+3
-33
lines changed

8 files changed

+3
-33
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SendinBlue's API exposes the entire SendinBlue features via a standardized progr
44

55
This is the wrapper for the API. It implements all the features of the API v3. It supports callbacks.
66

7-
SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/). The specification can be downloaded herede.
7+
SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/). The specification can be downloaded [here](https://api.sendinblue.com/v3/swagger_definition.yml).
88

99
This library is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project and is reviewed and maintained by SendinBlue:
1010

@@ -463,4 +463,4 @@ Be sure to visit the SendinBlue official [documentation website](https://sendinb
463463

464464
If you find a bug, please post the issue on [Github](https://github.com/sendinblue/APIv3-nodejs-library/issues).
465465

466-
As always, if you need additional assistance, drop us a note [here](https://account.sendinblue.com/support).
466+
As always, if you need additional assistance, drop us a note [here](https://account.sendinblue.com/support).

docs/SmtpTemplate1.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
66
**tag** | **String** | Tag of the template | [optional]
77
**sender** | [**SmtptemplatestemplateIdSender**](SmtptemplatestemplateIdSender.md) | | [optional]
88
**templateName** | **String** | Name of the template | [optional]
9-
**testEmail** | **String** | Email address to send the test email message to | [optional]
109
**htmlContent** | **String** | Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters) | [optional]
1110
**htmlUrl** | **String** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional]
1211
**subject** | **String** | Subject of the email | [optional]

docs/UpdateSmtpTemplate.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
66
**tag** | **String** | Tag of the template | [optional]
77
**sender** | [**SmtptemplatestemplateIdSender**](SmtptemplatestemplateIdSender.md) | | [optional]
88
**templateName** | **String** | Name of the template | [optional]
9-
**testEmail** | **String** | Email address to send the test email message to | [optional]
109
**htmlContent** | **String** | Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters) | [optional]
1110
**htmlUrl** | **String** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional]
1211
**subject** | **String** | Subject of the email | [optional]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendinblue-apiv3",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Official SendinBlue provided RESTFul API V3 nodejs library",
55
"license": "ISC",
66
"main": "src/index.js",

src/model/SmtpTemplate1.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@
8181
if (data.hasOwnProperty('templateName')) {
8282
obj['templateName'] = ApiClient.convertToType(data['templateName'], 'String');
8383
}
84-
if (data.hasOwnProperty('testEmail')) {
85-
obj['testEmail'] = ApiClient.convertToType(data['testEmail'], 'String');
86-
}
8784
if (data.hasOwnProperty('htmlContent')) {
8885
obj['htmlContent'] = ApiClient.convertToType(data['htmlContent'], 'String');
8986
}
@@ -123,11 +120,6 @@
123120
* @member {String} templateName
124121
*/
125122
exports.prototype['templateName'] = undefined;
126-
/**
127-
* Email address to send the test email message to
128-
* @member {String} testEmail
129-
*/
130-
exports.prototype['testEmail'] = undefined;
131123
/**
132124
* Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters)
133125
* @member {String} htmlContent

src/model/UpdateSmtpTemplate.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@
8181
if (data.hasOwnProperty('templateName')) {
8282
obj['templateName'] = ApiClient.convertToType(data['templateName'], 'String');
8383
}
84-
if (data.hasOwnProperty('testEmail')) {
85-
obj['testEmail'] = ApiClient.convertToType(data['testEmail'], 'String');
86-
}
8784
if (data.hasOwnProperty('htmlContent')) {
8885
obj['htmlContent'] = ApiClient.convertToType(data['htmlContent'], 'String');
8986
}
@@ -123,11 +120,6 @@
123120
* @member {String} templateName
124121
*/
125122
exports.prototype['templateName'] = undefined;
126-
/**
127-
* Email address to send the test email message to
128-
* @member {String} testEmail
129-
*/
130-
exports.prototype['testEmail'] = undefined;
131123
/**
132124
* Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters)
133125
* @member {String} htmlContent

test/model/SmtpTemplate1.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@
7575
//expect(instance).to.be();
7676
});
7777

78-
it('should have the property testEmail (base name: "testEmail")', function() {
79-
// uncomment below and update the code to test the property testEmail
80-
//var instane = new SendinBlueApi.SmtpTemplate1();
81-
//expect(instance).to.be();
82-
});
83-
8478
it('should have the property htmlContent (base name: "htmlContent")', function() {
8579
// uncomment below and update the code to test the property htmlContent
8680
//var instane = new SendinBlueApi.SmtpTemplate1();

test/model/UpdateSmtpTemplate.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@
7575
//expect(instance).to.be();
7676
});
7777

78-
it('should have the property testEmail (base name: "testEmail")', function() {
79-
// uncomment below and update the code to test the property testEmail
80-
//var instane = new SendinBlueApi.UpdateSmtpTemplate();
81-
//expect(instance).to.be();
82-
});
83-
8478
it('should have the property htmlContent (base name: "htmlContent")', function() {
8579
// uncomment below and update the code to test the property htmlContent
8680
//var instane = new SendinBlueApi.UpdateSmtpTemplate();

0 commit comments

Comments
 (0)