@@ -49,7 +49,7 @@ apiKey.apiKey = 'YOUR API KEY';
49
49
50
50
var apiInstance = new SibApiV3Sdk.ContactsApi ();
51
51
52
- var listId = " listId_example " ; // String | Id of the list
52
+ var listId = 789 ; // Number | Id of the list
53
53
54
54
var contactEmails = new SibApiV3Sdk.AddRemoveContactToList (); // AddRemoveContactToList | Emails addresses of the contacts
55
55
@@ -65,7 +65,7 @@ apiInstance.addContactToList(listId, contactEmails).then(function(data) {
65
65
66
66
Name | Type | Description | Notes
67
67
------------- | ------------- | ------------- | -------------
68
- ** listId** | ** String ** | Id of the list |
68
+ ** listId** | ** Number ** | Id of the list |
69
69
** contactEmails** | [ ** AddRemoveContactToList** ] ( AddRemoveContactToList.md ) | Emails addresses of the contacts |
70
70
71
71
### Return type
@@ -179,7 +179,7 @@ Name | Type | Description | Notes
179
179
180
180
<a name =" createFolder " ></a >
181
181
# ** createFolder**
182
- > CreateModel createFolder(name )
182
+ > CreateModel createFolder(createFolder )
183
183
184
184
Create a folder
185
185
@@ -196,9 +196,9 @@ apiKey.apiKey = 'YOUR API KEY';
196
196
197
197
var apiInstance = new SibApiV3Sdk.ContactsApi ();
198
198
199
- var name = new SibApiV3Sdk.CreaUpdateFolder (); // CreaUpdateFolder | Name of the folder
199
+ var createFolder = new SibApiV3Sdk.CreateUpdateFolder (); // CreateUpdateFolder | Name of the folder
200
200
201
- apiInstance .createFolder (name ).then (function (data ) {
201
+ apiInstance .createFolder (createFolder ).then (function (data ) {
202
202
console .log (' API called successfully. Returned data: ' + data);
203
203
}, function (error ) {
204
204
console .error (error);
@@ -210,7 +210,7 @@ apiInstance.createFolder(name).then(function(data) {
210
210
211
211
Name | Type | Description | Notes
212
212
------------- | ------------- | ------------- | -------------
213
- ** name ** | [ ** CreaUpdateFolder ** ] ( CreaUpdateFolder .md) | Name of the folder |
213
+ ** createFolder ** | [ ** CreateUpdateFolder ** ] ( CreateUpdateFolder .md) | Name of the folder |
214
214
215
215
### Return type
216
216
@@ -292,7 +292,7 @@ apiKey.apiKey = 'YOUR API KEY';
292
292
293
293
var apiInstance = new SibApiV3Sdk.ContactsApi ();
294
294
295
- var attributeId = " attributeId_example " ; // String | id of the attribute
295
+ var attributeId = 789 ; // Number | id of the attribute
296
296
297
297
apiInstance .deleteAttribute (attributeId).then (function () {
298
298
console .log (' API called successfully.' );
@@ -306,7 +306,7 @@ apiInstance.deleteAttribute(attributeId).then(function() {
306
306
307
307
Name | Type | Description | Notes
308
308
------------- | ------------- | ------------- | -------------
309
- ** attributeId** | ** String ** | id of the attribute |
309
+ ** attributeId** | ** Number ** | id of the attribute |
310
310
311
311
### Return type
312
312
@@ -340,7 +340,7 @@ apiKey.apiKey = 'YOUR API KEY';
340
340
341
341
var apiInstance = new SibApiV3Sdk.ContactsApi ();
342
342
343
- var folderId = " folderId_example " ; // String | Id of the folder
343
+ var folderId = 789 ; // Number | Id of the folder
344
344
345
345
apiInstance .deleteFolder (folderId).then (function () {
346
346
console .log (' API called successfully.' );
@@ -354,7 +354,7 @@ apiInstance.deleteFolder(folderId).then(function() {
354
354
355
355
Name | Type | Description | Notes
356
356
------------- | ------------- | ------------- | -------------
357
- ** folderId** | ** String ** | Id of the folder |
357
+ ** folderId** | ** Number ** | Id of the folder |
358
358
359
359
### Return type
360
360
@@ -388,7 +388,7 @@ apiKey.apiKey = 'YOUR API KEY';
388
388
389
389
var apiInstance = new SibApiV3Sdk.ContactsApi ();
390
390
391
- var listId = " listId_example " ; // String | Id of the list
391
+ var listId = 789 ; // Number | Id of the list
392
392
393
393
apiInstance .deleteList (listId).then (function () {
394
394
console .log (' API called successfully.' );
@@ -402,7 +402,7 @@ apiInstance.deleteList(listId).then(function() {
402
402
403
403
Name | Type | Description | Notes
404
404
------------- | ------------- | ------------- | -------------
405
- ** listId** | ** String ** | Id of the list |
405
+ ** listId** | ** Number ** | Id of the list |
406
406
407
407
### Return type
408
408
@@ -625,10 +625,10 @@ apiKey.apiKey = 'YOUR API KEY';
625
625
626
626
var apiInstance = new SibApiV3Sdk.ContactsApi ();
627
627
628
- var listId = " listId_example " ; // String | Id of the list
628
+ var listId = 789 ; // Number | Id of the list
629
629
630
630
var opts = {
631
- ' modifiedSince' : " modifiedSince_example " , // String | Filter the contacts modified after a given date (YYYY-MM-DD HH :mm:ss)
631
+ ' 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 )
632
632
' limit' : 50 , // Number | Number of documents per page
633
633
' offset' : 0 // Number | Index of the first document of the page
634
634
};
@@ -644,8 +644,8 @@ apiInstance.getContactsFromList(listId, opts).then(function(data) {
644
644
645
645
Name | Type | Description | Notes
646
646
------------- | ------------- | ------------- | -------------
647
- ** listId** | ** String ** | Id of the list |
648
- ** modifiedSince** | ** String ** | Filter the contacts modified after a given date (YYYY-MM-DD HH :mm: ss ) | [ optional]
647
+ ** listId** | ** Number ** | Id of the list |
648
+ ** modifiedSince** | ** Date ** | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH :mm: ss .SSSZ ) | [ optional]
649
649
** limit** | ** Number** | Number of documents per page | [ optional] [ default to 50]
650
650
** offset** | ** Number** | Index of the first document of the page | [ optional] [ default to 0]
651
651
@@ -681,7 +681,7 @@ apiKey.apiKey = 'YOUR API KEY';
681
681
682
682
var apiInstance = new SibApiV3Sdk.ContactsApi ();
683
683
684
- var folderId = " folderId_example " ; // String | id of the folder
684
+ var folderId = 789 ; // Number | id of the folder
685
685
686
686
apiInstance .getFolder (folderId).then (function (data ) {
687
687
console .log (' API called successfully. Returned data: ' + data);
@@ -695,7 +695,7 @@ apiInstance.getFolder(folderId).then(function(data) {
695
695
696
696
Name | Type | Description | Notes
697
697
------------- | ------------- | ------------- | -------------
698
- ** folderId** | ** String ** | id of the folder |
698
+ ** folderId** | ** Number ** | id of the folder |
699
699
700
700
### Return type
701
701
@@ -729,7 +729,7 @@ apiKey.apiKey = 'YOUR API KEY';
729
729
730
730
var apiInstance = new SibApiV3Sdk.ContactsApi ();
731
731
732
- var folderId = " folderId_example " ; // String | Id of the folder
732
+ var folderId = 789 ; // Number | Id of the folder
733
733
734
734
var opts = {
735
735
' limit' : 10 , // Number | Number of documents per page
@@ -747,7 +747,7 @@ apiInstance.getFolderLists(folderId, opts).then(function(data) {
747
747
748
748
Name | Type | Description | Notes
749
749
------------- | ------------- | ------------- | -------------
750
- ** folderId** | ** String ** | Id of the folder |
750
+ ** folderId** | ** Number ** | Id of the folder |
751
751
** limit** | ** Number** | Number of documents per page | [ optional] [ default to 10]
752
752
** offset** | ** Number** | Index of the first document of the page | [ optional] [ default to 0]
753
753
@@ -834,7 +834,7 @@ apiKey.apiKey = 'YOUR API KEY';
834
834
835
835
var apiInstance = new SibApiV3Sdk.ContactsApi ();
836
836
837
- var listId = " listId_example " ; // String | Id of the list
837
+ var listId = 789 ; // Number | Id of the list
838
838
839
839
apiInstance .getList (listId).then (function (data ) {
840
840
console .log (' API called successfully. Returned data: ' + data);
@@ -848,7 +848,7 @@ apiInstance.getList(listId).then(function(data) {
848
848
849
849
Name | Type | Description | Notes
850
850
------------- | ------------- | ------------- | -------------
851
- ** listId** | ** String ** | Id of the list |
851
+ ** listId** | ** Number ** | Id of the list |
852
852
853
853
### Return type
854
854
@@ -983,7 +983,7 @@ apiKey.apiKey = 'YOUR API KEY';
983
983
984
984
var apiInstance = new SibApiV3Sdk.ContactsApi ();
985
985
986
- var listId = " listId_example " ; // String | Id of the list
986
+ var listId = 789 ; // Number | Id of the list
987
987
988
988
var contactEmails = new SibApiV3Sdk.AddRemoveContactToList (); // AddRemoveContactToList | Emails adresses of the contact
989
989
@@ -999,7 +999,7 @@ apiInstance.removeContactToList(listId, contactEmails).then(function(data) {
999
999
1000
1000
Name | Type | Description | Notes
1001
1001
------------- | ------------- | ------------- | -------------
1002
- ** listId** | ** String ** | Id of the list |
1002
+ ** listId** | ** Number ** | Id of the list |
1003
1003
** contactEmails** | [ ** AddRemoveContactToList** ] ( AddRemoveContactToList.md ) | Emails adresses of the contact |
1004
1004
1005
1005
### Return type
@@ -1118,7 +1118,7 @@ null (empty response body)
1118
1118
1119
1119
<a name =" updateFolder " ></a >
1120
1120
# ** updateFolder**
1121
- > updateFolder(folderId, name )
1121
+ > updateFolder(folderId, updateFolder )
1122
1122
1123
1123
Update a contact folder
1124
1124
@@ -1135,11 +1135,11 @@ apiKey.apiKey = 'YOUR API KEY';
1135
1135
1136
1136
var apiInstance = new SibApiV3Sdk.ContactsApi ();
1137
1137
1138
- var folderId = " folderId_example " ; // String | Id of the folder
1138
+ var folderId = 789 ; // Number | Id of the folder
1139
1139
1140
- var name = new SibApiV3Sdk.CreaUpdateFolder (); // CreaUpdateFolder | Name of the folder
1140
+ var updateFolder = new SibApiV3Sdk.CreateUpdateFolder (); // CreateUpdateFolder | Name of the folder
1141
1141
1142
- apiInstance .updateFolder (folderId, name ).then (function () {
1142
+ apiInstance .updateFolder (folderId, updateFolder ).then (function () {
1143
1143
console .log (' API called successfully.' );
1144
1144
}, function (error ) {
1145
1145
console .error (error);
@@ -1151,8 +1151,8 @@ apiInstance.updateFolder(folderId, name).then(function() {
1151
1151
1152
1152
Name | Type | Description | Notes
1153
1153
------------- | ------------- | ------------- | -------------
1154
- ** folderId** | ** String ** | Id of the folder |
1155
- ** name ** | [ ** CreaUpdateFolder ** ] ( CreaUpdateFolder .md) | Name of the folder |
1154
+ ** folderId** | ** Number ** | Id of the folder |
1155
+ ** updateFolder ** | [ ** CreateUpdateFolder ** ] ( CreateUpdateFolder .md) | Name of the folder |
1156
1156
1157
1157
### Return type
1158
1158
@@ -1186,7 +1186,7 @@ apiKey.apiKey = 'YOUR API KEY';
1186
1186
1187
1187
var apiInstance = new SibApiV3Sdk.ContactsApi ();
1188
1188
1189
- var listId = " listId_example " ; // String | Id of the list
1189
+ var listId = 789 ; // Number | Id of the list
1190
1190
1191
1191
var updateList = new SibApiV3Sdk.UpdateList (); // UpdateList | Values to update a list
1192
1192
@@ -1202,7 +1202,7 @@ apiInstance.updateList(listId, updateList).then(function() {
1202
1202
1203
1203
Name | Type | Description | Notes
1204
1204
------------- | ------------- | ------------- | -------------
1205
- ** listId** | ** String ** | Id of the list |
1205
+ ** listId** | ** Number ** | Id of the list |
1206
1206
** updateList** | [ ** UpdateList** ] ( UpdateList.md ) | Values to update a list |
1207
1207
1208
1208
### Return type
0 commit comments