Skip to content

Commit e147ba5

Browse files
authored
Merge pull request #20 from sendinblue/feature_update-attr
Contact attribute update + date-time desc updates
2 parents 9a6e1c5 + f163b28 commit e147ba5

File tree

49 files changed

+109
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+109
-107
lines changed

docs/ContactsApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
295295
var apiKey = defaultClient.authentications['api-key'];
296296
apiKey.apiKey = 'YOUR API KEY';
297297
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
298-
//api-key.apiKeyPrefix = 'Token';
298+
//apiKey.apiKeyPrefix = 'Token';
299299

300300
var apiInstance = new SibApiV3Sdk.ContactsApi();
301301

@@ -587,7 +587,7 @@ var apiInstance = new SibApiV3Sdk.ContactsApi();
587587
var opts = {
588588
'limit': 50, // Number | Number of documents per page
589589
'offset': 0, // Number | Index of the first document of the page
590-
'modifiedSince': new Date("2013-10-20T19:20:30+01:00") // Date | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
590+
'modifiedSince': new Date("2013-10-20T19:20:30+01:00") // Date | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
591591
};
592592
apiInstance.getContacts(opts).then(function(data) {
593593
console.log('API called successfully. Returned data: ' + data);
@@ -603,7 +603,7 @@ Name | Type | Description | Notes
603603
------------- | ------------- | ------------- | -------------
604604
**limit** | **Number**| Number of documents per page | [optional] [default to 50]
605605
**offset** | **Number**| Index of the first document of the page | [optional] [default to 0]
606-
**modifiedSince** | **Date**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
606+
**modifiedSince** | **Date**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
607607

608608
### Return type
609609

@@ -640,7 +640,7 @@ var apiInstance = new SibApiV3Sdk.ContactsApi();
640640
var listId = 789; // Number | Id of the list
641641

642642
var opts = {
643-
'modifiedSince': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
643+
'modifiedSince': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
644644
'limit': 50, // Number | Number of documents per page
645645
'offset': 0 // Number | Index of the first document of the page
646646
};
@@ -657,7 +657,7 @@ apiInstance.getContactsFromList(listId, opts).then(function(data) {
657657
Name | Type | Description | Notes
658658
------------- | ------------- | ------------- | -------------
659659
**listId** | **Number**| Id of the list |
660-
**modifiedSince** | **Date**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
660+
**modifiedSince** | **Date**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
661661
**limit** | **Number**| Number of documents per page | [optional] [default to 50]
662662
**offset** | **Number**| Index of the first document of the page | [optional] [default to 0]
663663

docs/CreateEmailCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**name** | **String** | Name of the campaign |
99
**htmlContent** | **String** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
1010
**htmlUrl** | **String** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
11-
**scheduledAt** | **Date** | Sending date and time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
11+
**scheduledAt** | **Date** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1212
**subject** | **String** | Subject of the campaign |
1313
**replyTo** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
1414
**toField** | **String** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use [FNAME] [LNAME]. These attributes must already exist in your contact database | [optional]

docs/CreateSmsCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
77
**sender** | **String** | Name of the sender. The number of characters is limited to 11 |
88
**content** | **String** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional]
99
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
10-
**scheduledAt** | **Date** | Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
10+
**scheduledAt** | **Date** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1111

1212

docs/GetCampaignOverview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**subject** | **String** | Subject of the campaign |
99
**type** | **String** | Type of campaign |
1010
**status** | **String** | Status of the campaign |
11-
**scheduledAt** | **Date** | Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
11+
**scheduledAt** | **Date** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1212

1313

1414
<a name="TypeEnum"></a>

docs/GetContactCampaignStatsOpened.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**campaignId** | **Number** | ID of the campaign which generated the event |
77
**count** | **Number** | Number of openings of the campaign |
8-
**eventTime** | **Date** | Date of the event |
8+
**eventTime** | **Date** | UTC date-time of the event |
99
**ip** | **String** | IP from which the user has opened the campaign |
1010

1111

docs/GetContactDetails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**id** | **Number** | ID of the contact for which you requested the details |
88
**emailBlacklisted** | **Boolean** | Blacklist status for email campaigns (true&#x3D;blacklisted, false&#x3D;not blacklisted) |
99
**smsBlacklisted** | **Boolean** | Blacklist status for SMS campaigns (true&#x3D;blacklisted, false&#x3D;not blacklisted) |
10-
**modifiedAt** | **Date** | Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
10+
**modifiedAt** | **Date** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
1111
**listIds** | **[Number]** | |
1212
**listUnsubscribed** | **[Number]** | | [optional]
1313
**attributes** | **{String: String}** | |

docs/GetEmailEventReportEvents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**email** | **String** | Email address which generates the event |
7-
**_date** | **Date** | Date on which the event has been generated |
7+
**_date** | **Date** | UTC date-time on which the event has been generated |
88
**subject** | **String** | Subject of the event | [optional]
99
**messageId** | **String** | Message ID which generated the event |
1010
**event** | **String** | Event which occurred |

docs/GetExtendedCampaignOverview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
1212
**htmlContent** | **String** | HTML content of the campaign |
1313
**shareLink** | **String** | Link to share the campaign on social medias | [optional]
1414
**tag** | **String** | Tag of the campaign |
15-
**createdAt** | **Date** | Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
16-
**modifiedAt** | **Date** | Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
15+
**createdAt** | **Date** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
16+
**modifiedAt** | **Date** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
1717
**inlineImageActivation** | **Boolean** | Status of inline image. inlineImageActivation &#x3D; false means image can’t be embedded, &amp; inlineImageActivation &#x3D; true means image can be embedded, in the email. | [optional]
1818
**mirrorActive** | **Boolean** | Status of mirror links in campaign. mirrorActive &#x3D; false means mirror links are deactivated, &amp; mirrorActive &#x3D; true means mirror links are activated, in the campaign | [optional]
1919
**recurring** | **Boolean** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring &#x3D; false means contact can receive the same Trigger campaign only once, &amp; recurring &#x3D; true means contact can receive the same Trigger campaign several times | [optional]

docs/GetExtendedContactDetailsStatisticsLinks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**count** | **Number** | Number of clicks on this link for the campaign |
7-
**eventTime** | **Date** | Date of the event |
7+
**eventTime** | **Date** | UTC date-time of the event |
88
**ip** | **String** | IP from which the user has clicked on the link |
99
**url** | **String** | URL of the clicked link |
1010

docs/GetExtendedContactDetailsStatisticsMessagesSent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**campaignId** | **Number** | ID of the campaign which generated the event |
7-
**eventTime** | **Date** | Date of the event |
7+
**eventTime** | **Date** | UTC date-time of the event |
88

99

0 commit comments

Comments
 (0)