You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi-client/ada/src/client/-clients.adb
+41-12Lines changed: 41 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
-- MailBaby Email Delivery and Management Service API
2
2
-- **Send emails fast and with confidence through our easy to use [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API interface.** # Overview This is the API interface to the [Mail Baby](https//mail.baby/) Mail services provided by [InterServer](https://www.interserver.net). To use this service you must have an account with us at [my.interserver.net](https://my.interserver.net). # Authentication In order to use most of the API calls you must pass credentials from the [my.interserver.net](https://my.interserver.net/) site. We support several different authentication methods but the preferred method is to use the **API Key** which you can get from the [Account Security](https://my.interserver.net/account_security) page.
3
3
--
4
-
-- The version of the OpenAPI document: 1.1.0
4
+
-- The version of the OpenAPI document: 1.3.0
5
5
-- Contact: support@interserver.net
6
6
--
7
-
-- NOTE: This package is auto generated by OpenAPI-Generator 8.0.0-SNAPSHOT.
7
+
-- NOTE: This package is auto generated by OpenAPI-Generator 7.17.0.
8
8
-- https://openapi-generator.tech
9
9
-- Do not edit the class manually.
10
10
@@ -122,13 +122,15 @@ package body .Clients is
122
122
-- Returns information about the usage on your mail accounts.
123
123
procedureGet_Stats
124
124
(Client : inout Client_Type;
125
-
Result : out .Models.GetStats200ResponseInner_Type_Vectors.Vector) is
125
+
Time : in Swagger.Nullable_UString;
126
+
Result : out .Models.MailStatsType_Type) is
126
127
URI : Swagger.Clients.URI_Type;
127
128
Reply : Swagger.Value_Type;
128
129
begin
129
130
Client.Set_Accept (Media_List_1);
130
131
131
132
133
+
URI.Add_Param ("time", Time);
132
134
URI.Set_Path ("/mail/stats");
133
135
Client.Call (Swagger.Clients.GET, URI, Reply);
134
136
.Models.Deserialize (Reply, "", Result);
@@ -149,6 +151,9 @@ package body .Clients is
149
151
Limit : in Swagger.Nullable_Integer;
150
152
Start_Date : in Swagger.Nullable_Long;
151
153
End_Date : in Swagger.Nullable_Long;
154
+
Replyto : in Swagger.Nullable_UString;
155
+
Headerfrom : in Swagger.Nullable_UString;
156
+
Delivered : in Swagger.Nullable_UString;
152
157
Result : out .Models.MailLog_Type) is
153
158
URI : Swagger.Clients.URI_Type;
154
159
Reply : Swagger.Value_Type;
@@ -167,17 +172,39 @@ package body .Clients is
167
172
URI.Add_Param ("limit", Limit);
168
173
URI.Add_Param ("startDate", Start_Date);
169
174
URI.Add_Param ("endDate", End_Date);
175
+
URI.Add_Param ("replyto", Replyto);
176
+
URI.Add_Param ("headerfrom", Headerfrom);
177
+
URI.Add_Param ("delivered", Delivered);
170
178
URI.Set_Path ("/mail/log");
171
179
Client.Call (Swagger.Clients.GET, URI, Reply);
172
180
.Models.Deserialize (Reply, "", Result);
173
181
endView_Mail_Log;
174
182
183
+
-- Sends a raw email
184
+
-- This call will let you pass the raw / complete email contents (including headers) as a string and have it get sent as-is. This is useful for things like DKIM signed messages.
-- Sends An email through one of your mail orders allowing additional options such as file attachments, cc, bcc, etc.
177
204
--
178
205
-- Here are 9 examples showing the various ways to call the advsend operation showing the different ways you can pass the to, cc, bcc, and replyto information. The first several examples are all for the application/x-www-form-urlencoded content-type while the later ones are for application/json content-types.
179
206
--
180
-
-- ```
207
+
-- ```BasicForm
181
208
-- curl -i --request POST --url https://api.mailbaby.net/mail/advsend \
Copy file name to clipboardExpand all lines: openapi-client/ada/src/client/-clients.ads
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
-- MailBaby Email Delivery and Management Service API
2
2
-- **Send emails fast and with confidence through our easy to use [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API interface.** # Overview This is the API interface to the [Mail Baby](https//mail.baby/) Mail services provided by [InterServer](https://www.interserver.net). To use this service you must have an account with us at [my.interserver.net](https://my.interserver.net). # Authentication In order to use most of the API calls you must pass credentials from the [my.interserver.net](https://my.interserver.net/) site. We support several different authentication methods but the preferred method is to use the **API Key** which you can get from the [Account Security](https://my.interserver.net/account_security) page.
3
3
--
4
-
-- The version of the OpenAPI document: 1.1.0
4
+
-- The version of the OpenAPI document: 1.3.0
5
5
-- Contact: support@interserver.net
6
6
--
7
-
-- NOTE: This package is auto generated by OpenAPI-Generator 8.0.0-SNAPSHOT.
7
+
-- NOTE: This package is auto generated by OpenAPI-Generator 7.17.0.
8
8
-- https://openapi-generator.tech
9
9
-- Do not edit the class manually.
10
10
@@ -53,7 +53,8 @@ package .Clients is
53
53
-- Returns information about the usage on your mail accounts.
54
54
procedureGet_Stats
55
55
(Client : inout Client_Type;
56
-
Result : out .Models.GetStats200ResponseInner_Type_Vectors.Vector);
56
+
Time : in Swagger.Nullable_UString;
57
+
Result : out .Models.MailStatsType_Type);
57
58
58
59
-- displays the mail log
59
60
-- Get a listing of the emails sent through this system
@@ -70,14 +71,24 @@ package .Clients is
70
71
Limit : in Swagger.Nullable_Integer;
71
72
Start_Date : in Swagger.Nullable_Long;
72
73
End_Date : in Swagger.Nullable_Long;
74
+
Replyto : in Swagger.Nullable_UString;
75
+
Headerfrom : in Swagger.Nullable_UString;
76
+
Delivered : in Swagger.Nullable_UString;
73
77
Result : out .Models.MailLog_Type);
74
78
79
+
-- Sends a raw email
80
+
-- This call will let you pass the raw / complete email contents (including headers) as a string and have it get sent as-is. This is useful for things like DKIM signed messages.
81
+
procedureRaw_Mail
82
+
(Client : inout Client_Type;
83
+
Send_Mail_Raw_Type : in .Models.SendMailRaw_Type;
84
+
Result : out .Models.GenericResponse_Type);
85
+
75
86
-- Sends an Email with Advanced Options
76
87
-- Sends An email through one of your mail orders allowing additional options such as file attachments, cc, bcc, etc.
77
88
--
78
89
-- Here are 9 examples showing the various ways to call the advsend operation showing the different ways you can pass the to, cc, bcc, and replyto information. The first several examples are all for the application/x-www-form-urlencoded content-type while the later ones are for application/json content-types.
79
90
--
80
-
-- ```
91
+
-- ```BasicForm
81
92
-- curl -i --request POST --url https://api.mailbaby.net/mail/advsend \
0 commit comments