Skip to content

Commit 50abfa3

Browse files
Merge pull request #5 from sendinblue/feature_updated_swagger_sync
fix: date validation changes of swagger synched
2 parents 39e7757 + 7d65b2c commit 50abfa3

Some content is hidden

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

69 files changed

+594
-949
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ Class | Method | HTTP request | Description
185185

186186
- [AddCredits](docs/AddCredits.md)
187187
- [AddRemoveContactToList](docs/AddRemoveContactToList.md)
188-
- [CreaUpdateFolder](docs/CreaUpdateFolder.md)
189188
- [CreateAttribute](docs/CreateAttribute.md)
190189
- [CreateAttributeEnumemaration](docs/CreateAttributeEnumemaration.md)
191190
- [CreateChild](docs/CreateChild.md)
@@ -203,6 +202,7 @@ Class | Method | HTTP request | Description
203202
- [CreateSmtpEmail](docs/CreateSmtpEmail.md)
204203
- [CreateSmtpTemplate](docs/CreateSmtpTemplate.md)
205204
- [CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md)
205+
- [CreateUpdateFolder](docs/CreateUpdateFolder.md)
206206
- [CreateWebhook](docs/CreateWebhook.md)
207207
- [CreatedProcessId](docs/CreatedProcessId.md)
208208
- [DeleteHardbounces](docs/DeleteHardbounces.md)
@@ -259,8 +259,6 @@ Class | Method | HTTP request | Description
259259
- [GetIpsFromSender](docs/GetIpsFromSender.md)
260260
- [GetList](docs/GetList.md)
261261
- [GetLists](docs/GetLists.md)
262-
- [GetListsFolder](docs/GetListsFolder.md)
263-
- [GetListsLists](docs/GetListsLists.md)
264262
- [GetProcess](docs/GetProcess.md)
265263
- [GetProcesses](docs/GetProcesses.md)
266264
- [GetReports](docs/GetReports.md)

docs/AttributesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
8080

8181
# create an instance of the API class
8282
api_instance = sib_api_v3_sdk.AttributesApi()
83-
attribute_id = 'attribute_id_example' # str | id of the attribute
83+
attribute_id = 789 # int | id of the attribute
8484

8585
try:
8686
# Deletes an attribute
@@ -93,7 +93,7 @@ except ApiException as e:
9393

9494
Name | Type | Description | Notes
9595
------------- | ------------- | ------------- | -------------
96-
**attribute_id** | **str**| id of the attribute |
96+
**attribute_id** | **int**| id of the attribute |
9797

9898
### Return type
9999

docs/ContactsApi.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
5050

5151
# create an instance of the API class
5252
api_instance = sib_api_v3_sdk.ContactsApi()
53-
list_id = 'list_id_example' # str | Id of the list
53+
list_id = 789 # int | Id of the list
5454
contact_emails = sib_api_v3_sdk.AddRemoveContactToList() # AddRemoveContactToList | Emails addresses of the contacts
5555

5656
try:
@@ -65,7 +65,7 @@ except ApiException as e:
6565

6666
Name | Type | Description | Notes
6767
------------- | ------------- | ------------- | -------------
68-
**list_id** | **str**| Id of the list |
68+
**list_id** | **int**| Id of the list |
6969
**contact_emails** | [**AddRemoveContactToList**](AddRemoveContactToList.md)| Emails addresses of the contacts |
7070

7171
### Return type
@@ -186,7 +186,7 @@ Name | Type | Description | Notes
186186
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
187187

188188
# **create_folder**
189-
> CreateModel create_folder(name)
189+
> CreateModel create_folder(create_folder)
190190
191191
Create a folder
192192

@@ -205,11 +205,11 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
205205

206206
# create an instance of the API class
207207
api_instance = sib_api_v3_sdk.ContactsApi()
208-
name = sib_api_v3_sdk.CreaUpdateFolder() # CreaUpdateFolder | Name of the folder
208+
create_folder = sib_api_v3_sdk.CreateUpdateFolder() # CreateUpdateFolder | Name of the folder
209209

210210
try:
211211
# Create a folder
212-
api_response = api_instance.create_folder(name)
212+
api_response = api_instance.create_folder(create_folder)
213213
pprint(api_response)
214214
except ApiException as e:
215215
print("Exception when calling ContactsApi->create_folder: %s\n" % e)
@@ -219,7 +219,7 @@ except ApiException as e:
219219

220220
Name | Type | Description | Notes
221221
------------- | ------------- | ------------- | -------------
222-
**name** | [**CreaUpdateFolder**](CreaUpdateFolder.md)| Name of the folder |
222+
**create_folder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
223223

224224
### Return type
225225

@@ -307,7 +307,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
307307

308308
# create an instance of the API class
309309
api_instance = sib_api_v3_sdk.ContactsApi()
310-
attribute_id = 'attribute_id_example' # str | id of the attribute
310+
attribute_id = 789 # int | id of the attribute
311311

312312
try:
313313
# Deletes an attribute
@@ -320,7 +320,7 @@ except ApiException as e:
320320

321321
Name | Type | Description | Notes
322322
------------- | ------------- | ------------- | -------------
323-
**attribute_id** | **str**| id of the attribute |
323+
**attribute_id** | **int**| id of the attribute |
324324

325325
### Return type
326326

@@ -357,7 +357,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
357357

358358
# create an instance of the API class
359359
api_instance = sib_api_v3_sdk.ContactsApi()
360-
folder_id = 'folder_id_example' # str | Id of the folder
360+
folder_id = 789 # int | Id of the folder
361361

362362
try:
363363
# Delete a folder (and all its lists)
@@ -370,7 +370,7 @@ except ApiException as e:
370370

371371
Name | Type | Description | Notes
372372
------------- | ------------- | ------------- | -------------
373-
**folder_id** | **str**| Id of the folder |
373+
**folder_id** | **int**| Id of the folder |
374374

375375
### Return type
376376

@@ -407,7 +407,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
407407

408408
# create an instance of the API class
409409
api_instance = sib_api_v3_sdk.ContactsApi()
410-
list_id = 'list_id_example' # str | Id of the list
410+
list_id = 789 # int | Id of the list
411411

412412
try:
413413
# Delete a list
@@ -420,7 +420,7 @@ except ApiException as e:
420420

421421
Name | Type | Description | Notes
422422
------------- | ------------- | ------------- | -------------
423-
**list_id** | **str**| Id of the list |
423+
**list_id** | **int**| Id of the list |
424424

425425
### Return type
426426

@@ -659,8 +659,8 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
659659

660660
# create an instance of the API class
661661
api_instance = sib_api_v3_sdk.ContactsApi()
662-
list_id = 'list_id_example' # str | Id of the list
663-
modified_since = 'modified_since_example' # str | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional)
662+
list_id = 789 # int | Id of the list
663+
modified_since = '2013-10-20T19:20:30+01:00' # datetime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) (optional)
664664
limit = 50 # int | Number of documents per page (optional) (default to 50)
665665
offset = 0 # int | Index of the first document of the page (optional) (default to 0)
666666

@@ -676,8 +676,8 @@ except ApiException as e:
676676

677677
Name | Type | Description | Notes
678678
------------- | ------------- | ------------- | -------------
679-
**list_id** | **str**| Id of the list |
680-
**modified_since** | **str**| Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) | [optional]
679+
**list_id** | **int**| Id of the list |
680+
**modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
681681
**limit** | **int**| Number of documents per page | [optional] [default to 50]
682682
**offset** | **int**| Index of the first document of the page | [optional] [default to 0]
683683

@@ -716,7 +716,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
716716

717717
# create an instance of the API class
718718
api_instance = sib_api_v3_sdk.ContactsApi()
719-
folder_id = 'folder_id_example' # str | id of the folder
719+
folder_id = 789 # int | id of the folder
720720

721721
try:
722722
# Returns folder details
@@ -730,7 +730,7 @@ except ApiException as e:
730730

731731
Name | Type | Description | Notes
732732
------------- | ------------- | ------------- | -------------
733-
**folder_id** | **str**| id of the folder |
733+
**folder_id** | **int**| id of the folder |
734734

735735
### Return type
736736

@@ -767,7 +767,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
767767

768768
# create an instance of the API class
769769
api_instance = sib_api_v3_sdk.ContactsApi()
770-
folder_id = 'folder_id_example' # str | Id of the folder
770+
folder_id = 789 # int | Id of the folder
771771
limit = 10 # int | Number of documents per page (optional) (default to 10)
772772
offset = 0 # int | Index of the first document of the page (optional) (default to 0)
773773

@@ -783,7 +783,7 @@ except ApiException as e:
783783

784784
Name | Type | Description | Notes
785785
------------- | ------------- | ------------- | -------------
786-
**folder_id** | **str**| Id of the folder |
786+
**folder_id** | **int**| Id of the folder |
787787
**limit** | **int**| Number of documents per page | [optional] [default to 10]
788788
**offset** | **int**| Index of the first document of the page | [optional] [default to 0]
789789

@@ -875,7 +875,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
875875

876876
# create an instance of the API class
877877
api_instance = sib_api_v3_sdk.ContactsApi()
878-
list_id = 'list_id_example' # str | Id of the list
878+
list_id = 789 # int | Id of the list
879879

880880
try:
881881
# Get the details of a list
@@ -889,7 +889,7 @@ except ApiException as e:
889889

890890
Name | Type | Description | Notes
891891
------------- | ------------- | ------------- | -------------
892-
**list_id** | **str**| Id of the list |
892+
**list_id** | **int**| Id of the list |
893893

894894
### Return type
895895

@@ -1032,7 +1032,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
10321032

10331033
# create an instance of the API class
10341034
api_instance = sib_api_v3_sdk.ContactsApi()
1035-
list_id = 'list_id_example' # str | Id of the list
1035+
list_id = 789 # int | Id of the list
10361036
contact_emails = sib_api_v3_sdk.AddRemoveContactToList() # AddRemoveContactToList | Emails adresses of the contact
10371037

10381038
try:
@@ -1047,7 +1047,7 @@ except ApiException as e:
10471047

10481048
Name | Type | Description | Notes
10491049
------------- | ------------- | ------------- | -------------
1050-
**list_id** | **str**| Id of the list |
1050+
**list_id** | **int**| Id of the list |
10511051
**contact_emails** | [**AddRemoveContactToList**](AddRemoveContactToList.md)| Emails adresses of the contact |
10521052

10531053
### Return type
@@ -1171,7 +1171,7 @@ void (empty response body)
11711171
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
11721172

11731173
# **update_folder**
1174-
> update_folder(folder_id, name)
1174+
> update_folder(folder_id, update_folder)
11751175
11761176
Update a contact folder
11771177

@@ -1190,12 +1190,12 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
11901190

11911191
# create an instance of the API class
11921192
api_instance = sib_api_v3_sdk.ContactsApi()
1193-
folder_id = 'folder_id_example' # str | Id of the folder
1194-
name = sib_api_v3_sdk.CreaUpdateFolder() # CreaUpdateFolder | Name of the folder
1193+
folder_id = 789 # int | Id of the folder
1194+
update_folder = sib_api_v3_sdk.CreateUpdateFolder() # CreateUpdateFolder | Name of the folder
11951195

11961196
try:
11971197
# Update a contact folder
1198-
api_instance.update_folder(folder_id, name)
1198+
api_instance.update_folder(folder_id, update_folder)
11991199
except ApiException as e:
12001200
print("Exception when calling ContactsApi->update_folder: %s\n" % e)
12011201
```
@@ -1204,8 +1204,8 @@ except ApiException as e:
12041204

12051205
Name | Type | Description | Notes
12061206
------------- | ------------- | ------------- | -------------
1207-
**folder_id** | **str**| Id of the folder |
1208-
**name** | [**CreaUpdateFolder**](CreaUpdateFolder.md)| Name of the folder |
1207+
**folder_id** | **int**| Id of the folder |
1208+
**update_folder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
12091209

12101210
### Return type
12111211

@@ -1242,7 +1242,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY'
12421242

12431243
# create an instance of the API class
12441244
api_instance = sib_api_v3_sdk.ContactsApi()
1245-
list_id = 'list_id_example' # str | Id of the list
1245+
list_id = 789 # int | Id of the list
12461246
update_list = sib_api_v3_sdk.UpdateList() # UpdateList | Values to update a list
12471247

12481248
try:
@@ -1256,7 +1256,7 @@ except ApiException as e:
12561256

12571257
Name | Type | Description | Notes
12581258
------------- | ------------- | ------------- | -------------
1259-
**list_id** | **str**| Id of the list |
1259+
**list_id** | **int**| Id of the list |
12601260
**update_list** | [**UpdateList**](UpdateList.md)| Values to update a list |
12611261

12621262
### Return type

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** | **str** | Name of the campaign |
99
**html_content** | **str** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
1010
**html_url** | **str** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
11-
**scheduled_at** | **str** | Sending date and time (YYYY-MM-DD HH:mm:ss) | [optional]
11+
**scheduled_at** | **datetime** | Sending date and time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1212
**subject** | **str** | Subject of the campaign |
1313
**reply_to** | **str** | Email on which the campaign recipients will be able to reply to | [optional]
1414
**to_field** | **str** | 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,7 +7,7 @@ Name | Type | Description | Notes
77
**sender** | **str** | Name of the sender. The number of characters is limited to 11 |
88
**content** | **str** | 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-
**scheduled_at** | **str** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [optional]
10+
**scheduled_at** | **datetime** | Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1111

1212
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1313

docs/CreaUpdateFolder.md renamed to docs/CreateUpdateFolder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CreaUpdateFolder
1+
# CreateUpdateFolder
22

33
## Properties
44
Name | Type | Description | Notes

0 commit comments

Comments
 (0)