sib-api-v3-sdk 2.0.1 → 2.1.0

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.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/AttributesApi.md +2 -2
  4. data/docs/ContactsApi.md +32 -32
  5. data/docs/CreateEmailCampaign.md +1 -1
  6. data/docs/CreateSmsCampaign.md +1 -1
  7. data/docs/{CreaUpdateFolder.md → CreateUpdateFolder.md} +1 -1
  8. data/docs/EmailCampaignsApi.md +16 -16
  9. data/docs/FoldersApi.md +16 -16
  10. data/docs/GetAccountPlan.md +2 -0
  11. data/docs/GetCampaignOverview.md +1 -1
  12. data/docs/GetContactCampaignStatsOpened.md +1 -1
  13. data/docs/GetContactDetails.md +1 -1
  14. data/docs/GetEmailCampaign.md +3 -3
  15. data/docs/GetEmailEventReportEvents.md +4 -4
  16. data/docs/GetExtendedCampaignOverview.md +3 -3
  17. data/docs/GetExtendedContactDetails.md +1 -1
  18. data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
  19. data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
  20. data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
  21. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
  22. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
  23. data/docs/GetExtendedList.md +1 -1
  24. data/docs/GetSmsCampaign.md +3 -3
  25. data/docs/GetSmsCampaignOverview.md +3 -3
  26. data/docs/GetSmsEventReportEvents.md +2 -2
  27. data/docs/GetSmtpTemplateOverview.md +2 -2
  28. data/docs/GetWebhook.md +2 -2
  29. data/docs/ListsApi.md +16 -16
  30. data/docs/ProcessApi.md +2 -2
  31. data/docs/ResellerApi.md +7 -7
  32. data/docs/SMSCampaignsApi.md +16 -16
  33. data/docs/SMTPApi.md +10 -10
  34. data/docs/SendTransacSms.md +1 -0
  35. data/docs/SendersApi.md +6 -6
  36. data/docs/UpdateEmailCampaign.md +1 -1
  37. data/docs/UpdateSmsCampaign.md +1 -1
  38. data/docs/WebhooksApi.md +6 -6
  39. data/lib/sib-api-v3-sdk.rb +1 -1
  40. data/lib/sib-api-v3-sdk/api/contacts_api.rb +20 -24
  41. data/lib/sib-api-v3-sdk/api/folders_api.rb +18 -18
  42. data/lib/sib-api-v3-sdk/api/lists_api.rb +2 -6
  43. data/lib/sib-api-v3-sdk/api/smtp_api.rb +2 -2
  44. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +2 -18
  45. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +2 -18
  46. data/lib/sib-api-v3-sdk/models/{crea_update_folder.rb → create_update_folder.rb} +1 -1
  47. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +24 -4
  48. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +2 -18
  49. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +1 -20
  50. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +2 -21
  51. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +6 -60
  52. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +4 -4
  53. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +6 -60
  54. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +2 -21
  55. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +1 -20
  56. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +1 -20
  57. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +1 -20
  58. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +1 -20
  59. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +1 -20
  60. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +2 -21
  61. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +6 -63
  62. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -63
  63. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +2 -2
  64. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +4 -42
  65. data/lib/sib-api-v3-sdk/models/get_webhook.rb +4 -42
  66. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +46 -1
  67. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +2 -18
  68. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +2 -18
  69. data/lib/sib-api-v3-sdk/version.rb +1 -1
  70. data/spec/api/contacts_api_spec.rb +3 -3
  71. data/spec/api/folders_api_spec.rb +2 -2
  72. data/spec/api/lists_api_spec.rb +1 -1
  73. data/spec/api/smtp_api_spec.rb +1 -1
  74. data/spec/models/{crea_update_folder_spec.rb → create_update_folder_spec.rb} +6 -6
  75. data/spec/models/get_account_plan_spec.rb +12 -0
  76. data/spec/models/send_transac_sms_spec.rb +10 -0
  77. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff2b749eee2a0089ea9bece7a9bcea3c1d5dd739
4
- data.tar.gz: fb9e32f8150278ed7424089b484988bb3c6ac118
3
+ metadata.gz: 24de2aa04d387c34ad71b9b3214e49c1d8cbbf77
4
+ data.tar.gz: 82c94392593df1f9c3810b1cf459f74e7e3ea2e3
5
5
  SHA512:
6
- metadata.gz: 8956d3518d78072bb7a75f8c2840dc968bf8c9b8ce0d30eeb7a3d5b4f223d04a1e1f74e540570f4190bd7ee530be8a75c402ed3d698675df954b799422d2653b
7
- data.tar.gz: d9a30322bab8063315119e3530b9bac38a31ec68f34181249eefe0087b7331d974c85f081112266193bdbd3a64a4c23388a3a9d407f805d4335c23ed9953243b
6
+ metadata.gz: 0721bbe1879af084ad02d088fc027d348915a277d4ba3ce684bbca214185a5925b2ff42feab4cc359e5d8337fe62e6a4ff92215b9f9c122e2d9bd5723464b408
7
+ data.tar.gz: 153185b069137d2bce64335e4216855d2ec0237634ebd09629baebfbe08e49f9f4bb0abe36b771bc11aca2dff5d97d2862afd183b1efdf8cb991b3e8e70d57ad
data/README.md CHANGED
@@ -185,7 +185,6 @@ Class | Method | HTTP request | Description
185
185
 
186
186
  - [SibApiV3Sdk::AddCredits](docs/AddCredits.md)
187
187
  - [SibApiV3Sdk::AddRemoveContactToList](docs/AddRemoveContactToList.md)
188
- - [SibApiV3Sdk::CreaUpdateFolder](docs/CreaUpdateFolder.md)
189
188
  - [SibApiV3Sdk::CreateAttribute](docs/CreateAttribute.md)
190
189
  - [SibApiV3Sdk::CreateAttributeEnumemaration](docs/CreateAttributeEnumemaration.md)
191
190
  - [SibApiV3Sdk::CreateChild](docs/CreateChild.md)
@@ -203,6 +202,7 @@ Class | Method | HTTP request | Description
203
202
  - [SibApiV3Sdk::CreateSmtpEmail](docs/CreateSmtpEmail.md)
204
203
  - [SibApiV3Sdk::CreateSmtpTemplate](docs/CreateSmtpTemplate.md)
205
204
  - [SibApiV3Sdk::CreateSmtpTemplateSender](docs/CreateSmtpTemplateSender.md)
205
+ - [SibApiV3Sdk::CreateUpdateFolder](docs/CreateUpdateFolder.md)
206
206
  - [SibApiV3Sdk::CreateWebhook](docs/CreateWebhook.md)
207
207
  - [SibApiV3Sdk::CreatedProcessId](docs/CreatedProcessId.md)
208
208
  - [SibApiV3Sdk::DeleteHardbounces](docs/DeleteHardbounces.md)
@@ -80,7 +80,7 @@ end
80
80
 
81
81
  api_instance = SibApiV3Sdk::AttributesApi.new
82
82
 
83
- attribute_id = "attribute_id_example" # String | id of the attribute
83
+ attribute_id = 789 # Integer | id of the attribute
84
84
 
85
85
 
86
86
  begin
@@ -95,7 +95,7 @@ end
95
95
 
96
96
  Name | Type | Description | Notes
97
97
  ------------- | ------------- | ------------- | -------------
98
- **attribute_id** | **String**| id of the attribute |
98
+ **attribute_id** | **Integer**| id of the attribute |
99
99
 
100
100
  ### Return type
101
101
 
data/docs/ContactsApi.md CHANGED
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  api_instance = SibApiV3Sdk::ContactsApi.new
51
51
 
52
- list_id = "list_id_example" # String | Id of the list
52
+ list_id = 789 # Integer | Id of the list
53
53
 
54
54
  contact_emails = SibApiV3Sdk::AddRemoveContactToList.new # AddRemoveContactToList | Emails addresses of the contacts
55
55
 
@@ -67,7 +67,7 @@ end
67
67
 
68
68
  Name | Type | Description | Notes
69
69
  ------------- | ------------- | ------------- | -------------
70
- **list_id** | **String**| Id of the list |
70
+ **list_id** | **Integer**| Id of the list |
71
71
  **contact_emails** | [**AddRemoveContactToList**](AddRemoveContactToList.md)| Emails addresses of the contacts |
72
72
 
73
73
  ### Return type
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
190
190
 
191
191
 
192
192
  # **create_folder**
193
- > CreateModel create_folder(name)
193
+ > CreateModel create_folder(create_folder)
194
194
 
195
195
  Create a folder
196
196
 
@@ -208,12 +208,12 @@ end
208
208
 
209
209
  api_instance = SibApiV3Sdk::ContactsApi.new
210
210
 
211
- name = SibApiV3Sdk::CreaUpdateFolder.new # CreaUpdateFolder | Name of the folder
211
+ create_folder = SibApiV3Sdk::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder
212
212
 
213
213
 
214
214
  begin
215
215
  #Create a folder
216
- result = api_instance.create_folder(name)
216
+ result = api_instance.create_folder(create_folder)
217
217
  p result
218
218
  rescue SibApiV3Sdk::ApiError => e
219
219
  puts "Exception when calling ContactsApi->create_folder: #{e}"
@@ -224,7 +224,7 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **name** | [**CreaUpdateFolder**](CreaUpdateFolder.md)| Name of the folder |
227
+ **create_folder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
228
228
 
229
229
  ### Return type
230
230
 
@@ -312,7 +312,7 @@ end
312
312
 
313
313
  api_instance = SibApiV3Sdk::ContactsApi.new
314
314
 
315
- attribute_id = "attribute_id_example" # String | id of the attribute
315
+ attribute_id = 789 # Integer | id of the attribute
316
316
 
317
317
 
318
318
  begin
@@ -327,7 +327,7 @@ end
327
327
 
328
328
  Name | Type | Description | Notes
329
329
  ------------- | ------------- | ------------- | -------------
330
- **attribute_id** | **String**| id of the attribute |
330
+ **attribute_id** | **Integer**| id of the attribute |
331
331
 
332
332
  ### Return type
333
333
 
@@ -363,7 +363,7 @@ end
363
363
 
364
364
  api_instance = SibApiV3Sdk::ContactsApi.new
365
365
 
366
- folder_id = "folder_id_example" # String | Id of the folder
366
+ folder_id = 789 # Integer | Id of the folder
367
367
 
368
368
 
369
369
  begin
@@ -378,7 +378,7 @@ end
378
378
 
379
379
  Name | Type | Description | Notes
380
380
  ------------- | ------------- | ------------- | -------------
381
- **folder_id** | **String**| Id of the folder |
381
+ **folder_id** | **Integer**| Id of the folder |
382
382
 
383
383
  ### Return type
384
384
 
@@ -414,7 +414,7 @@ end
414
414
 
415
415
  api_instance = SibApiV3Sdk::ContactsApi.new
416
416
 
417
- list_id = "list_id_example" # String | Id of the list
417
+ list_id = 789 # Integer | Id of the list
418
418
 
419
419
 
420
420
  begin
@@ -429,7 +429,7 @@ end
429
429
 
430
430
  Name | Type | Description | Notes
431
431
  ------------- | ------------- | ------------- | -------------
432
- **list_id** | **String**| Id of the list |
432
+ **list_id** | **Integer**| Id of the list |
433
433
 
434
434
  ### Return type
435
435
 
@@ -670,10 +670,10 @@ end
670
670
 
671
671
  api_instance = SibApiV3Sdk::ContactsApi.new
672
672
 
673
- list_id = "list_id_example" # String | Id of the list
673
+ list_id = 789 # Integer | Id of the list
674
674
 
675
675
  opts = {
676
- modified_since: "modified_since_example", # String | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss)
676
+ modified_since: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
677
677
  limit: 50, # Integer | Number of documents per page
678
678
  offset: 0 # Integer | Index of the first document of the page
679
679
  }
@@ -691,8 +691,8 @@ end
691
691
 
692
692
  Name | Type | Description | Notes
693
693
  ------------- | ------------- | ------------- | -------------
694
- **list_id** | **String**| Id of the list |
695
- **modified_since** | **String**| Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) | [optional]
694
+ **list_id** | **Integer**| Id of the list |
695
+ **modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
696
696
  **limit** | **Integer**| Number of documents per page | [optional] [default to 50]
697
697
  **offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
698
698
 
@@ -730,7 +730,7 @@ end
730
730
 
731
731
  api_instance = SibApiV3Sdk::ContactsApi.new
732
732
 
733
- folder_id = "folder_id_example" # String | id of the folder
733
+ folder_id = 789 # Integer | id of the folder
734
734
 
735
735
 
736
736
  begin
@@ -746,7 +746,7 @@ end
746
746
 
747
747
  Name | Type | Description | Notes
748
748
  ------------- | ------------- | ------------- | -------------
749
- **folder_id** | **String**| id of the folder |
749
+ **folder_id** | **Integer**| id of the folder |
750
750
 
751
751
  ### Return type
752
752
 
@@ -782,7 +782,7 @@ end
782
782
 
783
783
  api_instance = SibApiV3Sdk::ContactsApi.new
784
784
 
785
- folder_id = "folder_id_example" # String | Id of the folder
785
+ folder_id = 789 # Integer | Id of the folder
786
786
 
787
787
  opts = {
788
788
  limit: 10, # Integer | Number of documents per page
@@ -802,7 +802,7 @@ end
802
802
 
803
803
  Name | Type | Description | Notes
804
804
  ------------- | ------------- | ------------- | -------------
805
- **folder_id** | **String**| Id of the folder |
805
+ **folder_id** | **Integer**| Id of the folder |
806
806
  **limit** | **Integer**| Number of documents per page | [optional] [default to 10]
807
807
  **offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
808
808
 
@@ -895,7 +895,7 @@ end
895
895
 
896
896
  api_instance = SibApiV3Sdk::ContactsApi.new
897
897
 
898
- list_id = "list_id_example" # String | Id of the list
898
+ list_id = 789 # Integer | Id of the list
899
899
 
900
900
 
901
901
  begin
@@ -911,7 +911,7 @@ end
911
911
 
912
912
  Name | Type | Description | Notes
913
913
  ------------- | ------------- | ------------- | -------------
914
- **list_id** | **String**| Id of the list |
914
+ **list_id** | **Integer**| Id of the list |
915
915
 
916
916
  ### Return type
917
917
 
@@ -1056,7 +1056,7 @@ end
1056
1056
 
1057
1057
  api_instance = SibApiV3Sdk::ContactsApi.new
1058
1058
 
1059
- list_id = "list_id_example" # String | Id of the list
1059
+ list_id = 789 # Integer | Id of the list
1060
1060
 
1061
1061
  contact_emails = SibApiV3Sdk::AddRemoveContactToList.new # AddRemoveContactToList | Emails adresses of the contact
1062
1062
 
@@ -1074,7 +1074,7 @@ end
1074
1074
 
1075
1075
  Name | Type | Description | Notes
1076
1076
  ------------- | ------------- | ------------- | -------------
1077
- **list_id** | **String**| Id of the list |
1077
+ **list_id** | **Integer**| Id of the list |
1078
1078
  **contact_emails** | [**AddRemoveContactToList**](AddRemoveContactToList.md)| Emails adresses of the contact |
1079
1079
 
1080
1080
  ### Return type
@@ -1201,7 +1201,7 @@ nil (empty response body)
1201
1201
 
1202
1202
 
1203
1203
  # **update_folder**
1204
- > update_folder(folder_id, name)
1204
+ > update_folder(folder_id, update_folder)
1205
1205
 
1206
1206
  Update a contact folder
1207
1207
 
@@ -1219,14 +1219,14 @@ end
1219
1219
 
1220
1220
  api_instance = SibApiV3Sdk::ContactsApi.new
1221
1221
 
1222
- folder_id = "folder_id_example" # String | Id of the folder
1222
+ folder_id = 789 # Integer | Id of the folder
1223
1223
 
1224
- name = SibApiV3Sdk::CreaUpdateFolder.new # CreaUpdateFolder | Name of the folder
1224
+ update_folder = SibApiV3Sdk::CreateUpdateFolder.new # CreateUpdateFolder | Name of the folder
1225
1225
 
1226
1226
 
1227
1227
  begin
1228
1228
  #Update a contact folder
1229
- api_instance.update_folder(folder_id, name)
1229
+ api_instance.update_folder(folder_id, update_folder)
1230
1230
  rescue SibApiV3Sdk::ApiError => e
1231
1231
  puts "Exception when calling ContactsApi->update_folder: #{e}"
1232
1232
  end
@@ -1236,8 +1236,8 @@ end
1236
1236
 
1237
1237
  Name | Type | Description | Notes
1238
1238
  ------------- | ------------- | ------------- | -------------
1239
- **folder_id** | **String**| Id of the folder |
1240
- **name** | [**CreaUpdateFolder**](CreaUpdateFolder.md)| Name of the folder |
1239
+ **folder_id** | **Integer**| Id of the folder |
1240
+ **update_folder** | [**CreateUpdateFolder**](CreateUpdateFolder.md)| Name of the folder |
1241
1241
 
1242
1242
  ### Return type
1243
1243
 
@@ -1273,7 +1273,7 @@ end
1273
1273
 
1274
1274
  api_instance = SibApiV3Sdk::ContactsApi.new
1275
1275
 
1276
- list_id = "list_id_example" # String | Id of the list
1276
+ list_id = 789 # Integer | Id of the list
1277
1277
 
1278
1278
  update_list = SibApiV3Sdk::UpdateList.new # UpdateList | Values to update a list
1279
1279
 
@@ -1290,7 +1290,7 @@ end
1290
1290
 
1291
1291
  Name | Type | Description | Notes
1292
1292
  ------------- | ------------- | ------------- | -------------
1293
- **list_id** | **String**| Id of the list |
1293
+ **list_id** | **Integer**| Id of the list |
1294
1294
  **update_list** | [**UpdateList**](UpdateList.md)| Values to update a list |
1295
1295
 
1296
1296
  ### Return type
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **String** | Name of the campaign |
9
9
  **html_content** | **String** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
10
10
  **html_url** | **String** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
11
- **scheduled_at** | **String** | 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]
12
12
  **subject** | **String** | Subject of the campaign |
13
13
  **reply_to** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
14
14
  **to_field** | **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]
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **sender** | **String** | Name of the sender. The number of characters is limited to 11 |
8
8
  **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]
9
9
  **recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
10
- **scheduled_at** | **String** | 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]
11
11
 
12
12
 
@@ -1,4 +1,4 @@
1
- # SibApiV3Sdk::CreaUpdateFolder
1
+ # SibApiV3Sdk::CreateUpdateFolder
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -87,7 +87,7 @@ end
87
87
 
88
88
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
89
89
 
90
- campaign_id = "campaign_id_example" # String | id of the campaign
90
+ campaign_id = 789 # Integer | id of the campaign
91
91
 
92
92
 
93
93
  begin
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **campaign_id** | **String**| id of the campaign |
105
+ **campaign_id** | **Integer**| id of the campaign |
106
106
 
107
107
  ### Return type
108
108
 
@@ -138,7 +138,7 @@ end
138
138
 
139
139
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
140
140
 
141
- campaign_id = "campaign_id_example" # String | Id of the campaign
141
+ campaign_id = 789 # Integer | Id of the campaign
142
142
 
143
143
  opts = {
144
144
  recipient_export: SibApiV3Sdk::EmailExportRecipients.new # EmailExportRecipients | Values to send for a recipient export request
@@ -157,7 +157,7 @@ end
157
157
 
158
158
  Name | Type | Description | Notes
159
159
  ------------- | ------------- | ------------- | -------------
160
- **campaign_id** | **String**| Id of the campaign |
160
+ **campaign_id** | **Integer**| Id of the campaign |
161
161
  **recipient_export** | [**EmailExportRecipients**](EmailExportRecipients.md)| Values to send for a recipient export request | [optional]
162
162
 
163
163
  ### Return type
@@ -194,7 +194,7 @@ end
194
194
 
195
195
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
196
196
 
197
- campaign_id = "campaign_id_example" # String | Id of the campaign
197
+ campaign_id = 789 # Integer | Id of the campaign
198
198
 
199
199
 
200
200
  begin
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  Name | Type | Description | Notes
212
212
  ------------- | ------------- | ------------- | -------------
213
- **campaign_id** | **String**| Id of the campaign |
213
+ **campaign_id** | **Integer**| Id of the campaign |
214
214
 
215
215
  ### Return type
216
216
 
@@ -305,7 +305,7 @@ end
305
305
 
306
306
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
307
307
 
308
- campaign_id = "campaign_id_example" # String | Id of the campaign
308
+ campaign_id = 789 # Integer | Id of the campaign
309
309
 
310
310
 
311
311
  begin
@@ -320,7 +320,7 @@ end
320
320
 
321
321
  Name | Type | Description | Notes
322
322
  ------------- | ------------- | ------------- | -------------
323
- **campaign_id** | **String**| Id of the campaign |
323
+ **campaign_id** | **Integer**| Id of the campaign |
324
324
 
325
325
  ### Return type
326
326
 
@@ -358,7 +358,7 @@ end
358
358
 
359
359
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
360
360
 
361
- campaign_id = "campaign_id_example" # String | Id of the campaign
361
+ campaign_id = 789 # Integer | Id of the campaign
362
362
 
363
363
  send_report = SibApiV3Sdk::SendReport.new # SendReport | Values for send a report
364
364
 
@@ -375,7 +375,7 @@ end
375
375
 
376
376
  Name | Type | Description | Notes
377
377
  ------------- | ------------- | ------------- | -------------
378
- **campaign_id** | **String**| Id of the campaign |
378
+ **campaign_id** | **Integer**| Id of the campaign |
379
379
  **send_report** | [**SendReport**](SendReport.md)| Values for send a report |
380
380
 
381
381
  ### Return type
@@ -412,7 +412,7 @@ end
412
412
 
413
413
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
414
414
 
415
- campaign_id = "campaign_id_example" # String | Id of the campaign
415
+ campaign_id = 789 # Integer | Id of the campaign
416
416
 
417
417
  email_to = SibApiV3Sdk::SendTestEmail.new # SendTestEmail |
418
418
 
@@ -429,7 +429,7 @@ end
429
429
 
430
430
  Name | Type | Description | Notes
431
431
  ------------- | ------------- | ------------- | -------------
432
- **campaign_id** | **String**| Id of the campaign |
432
+ **campaign_id** | **Integer**| Id of the campaign |
433
433
  **email_to** | [**SendTestEmail**](SendTestEmail.md)| |
434
434
 
435
435
  ### Return type
@@ -466,7 +466,7 @@ end
466
466
 
467
467
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
468
468
 
469
- campaign_id = "campaign_id_example" # String | Id of the campaign
469
+ campaign_id = 789 # Integer | Id of the campaign
470
470
 
471
471
  status = SibApiV3Sdk::UpdateCampaignStatus.new # UpdateCampaignStatus | Status of the campaign
472
472
 
@@ -483,7 +483,7 @@ end
483
483
 
484
484
  Name | Type | Description | Notes
485
485
  ------------- | ------------- | ------------- | -------------
486
- **campaign_id** | **String**| Id of the campaign |
486
+ **campaign_id** | **Integer**| Id of the campaign |
487
487
  **status** | [**UpdateCampaignStatus**](UpdateCampaignStatus.md)| Status of the campaign |
488
488
 
489
489
  ### Return type
@@ -520,7 +520,7 @@ end
520
520
 
521
521
  api_instance = SibApiV3Sdk::EmailCampaignsApi.new
522
522
 
523
- campaign_id = "campaign_id_example" # String | Id of the campaign
523
+ campaign_id = 789 # Integer | Id of the campaign
524
524
 
525
525
  email_campaign = SibApiV3Sdk::UpdateEmailCampaign.new # UpdateEmailCampaign | Values to update a campaign
526
526
 
@@ -537,7 +537,7 @@ end
537
537
 
538
538
  Name | Type | Description | Notes
539
539
  ------------- | ------------- | ------------- | -------------
540
- **campaign_id** | **String**| Id of the campaign |
540
+ **campaign_id** | **Integer**| Id of the campaign |
541
541
  **email_campaign** | [**UpdateEmailCampaign**](UpdateEmailCampaign.md)| Values to update a campaign |
542
542
 
543
543
  ### Return type