mailgun.js 12.4.0 → 12.4.1
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.
- package/AMD/definitions.amd.js +1 -1
- package/CHANGELOG.md +12 -0
- package/CJS/definitions.cjs +1 -1
- package/ESM/definitions.browser.js +1 -1
- package/ESM/definitions.node.js +1 -1
- package/README.md +29 -29
- package/Types/Types/index.d.ts +1 -0
- package/package.json +1 -1
- package/version.md +1 -1
package/AMD/definitions.amd.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [12.4.1](https://github.com/mailgun/mailgun.js/compare/v12.4.0...v12.4.1) (2025-12-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Export types for logs ([e2179d2](https://github.com/mailgun/mailgun.js/commits/e2179d25ab152be23595962b48af22ac01e05f66))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Other changes
|
|
14
|
+
|
|
15
|
+
* Fix readme with correct method in logs client ([9b1f5ff](https://github.com/mailgun/mailgun.js/commits/9b1f5ff6f80017e521af5759f4444a9b1221027e))
|
|
16
|
+
|
|
5
17
|
## [12.4.0](https://github.com/mailgun/mailgun.js/compare/v12.3.0...v12.4.0) (2025-12-04)
|
|
6
18
|
|
|
7
19
|
|
package/CJS/definitions.cjs
CHANGED
package/ESM/definitions.node.js
CHANGED
package/README.md
CHANGED
|
@@ -260,7 +260,7 @@ The following service methods are available to instantiated clients. The example
|
|
|
260
260
|
- [get](#get-3)
|
|
261
261
|
- [Example with Date and *Filter field*](#example-with-date-and-filter-field)
|
|
262
262
|
- [logs](#logs)
|
|
263
|
-
- [
|
|
263
|
+
- [list](#list-3)
|
|
264
264
|
- [stats](#stats)
|
|
265
265
|
- [Stats Options](#stats-options)
|
|
266
266
|
- [getDomain](#getdomain)
|
|
@@ -269,11 +269,11 @@ The following service methods are available to instantiated clients. The example
|
|
|
269
269
|
- [getAccount](#getaccount-1)
|
|
270
270
|
- [getAccountUsage](#getaccountusage)
|
|
271
271
|
- [suppressions](#suppressions)
|
|
272
|
-
- [list](#list-
|
|
272
|
+
- [list](#list-4)
|
|
273
273
|
- [Bounces Example](#bounces-example)
|
|
274
274
|
- [Unsubscribes Example](#unsubscribes-example)
|
|
275
275
|
- [Complaints Example](#complaints-example)
|
|
276
|
-
- [get](#get-
|
|
276
|
+
- [get](#get-4)
|
|
277
277
|
- [Bounces Example](#bounces-example-1)
|
|
278
278
|
- [Unsubscribes Example](#unsubscribes-example-1)
|
|
279
279
|
- [Complaints Example](#complaints-example-1)
|
|
@@ -288,27 +288,27 @@ The following service methods are available to instantiated clients. The example
|
|
|
288
288
|
- [Unsubscribes Example](#unsubscribes-example-3)
|
|
289
289
|
- [Complaints Example](#complaints-example-3)
|
|
290
290
|
- [webhooks](#webhooks)
|
|
291
|
-
- [list](#list-
|
|
292
|
-
- [get](#get-
|
|
291
|
+
- [list](#list-5)
|
|
292
|
+
- [get](#get-5)
|
|
293
293
|
- [create](#create-5)
|
|
294
294
|
- [update](#update-2)
|
|
295
295
|
- [destroy](#destroy-4)
|
|
296
296
|
- [routes](#routes)
|
|
297
|
-
- [list](#list-
|
|
298
|
-
- [get](#get-
|
|
297
|
+
- [list](#list-6)
|
|
298
|
+
- [get](#get-6)
|
|
299
299
|
- [create](#create-6)
|
|
300
300
|
- [update](#update-3)
|
|
301
301
|
- [destroy](#destroy-5)
|
|
302
302
|
- [validate](#validate)
|
|
303
|
-
- [get](#get-
|
|
303
|
+
- [get](#get-7)
|
|
304
304
|
- [multiple validation](#multiple-validation)
|
|
305
305
|
- [create](#create-7)
|
|
306
|
-
- [list](#list-
|
|
307
|
-
- [get](#get-
|
|
306
|
+
- [list](#list-7)
|
|
307
|
+
- [get](#get-8)
|
|
308
308
|
- [destroy](#destroy-6)
|
|
309
309
|
- [mailing lists](#mailing-lists)
|
|
310
|
-
- [list](#list-
|
|
311
|
-
- [get](#get-
|
|
310
|
+
- [list](#list-8)
|
|
311
|
+
- [get](#get-9)
|
|
312
312
|
- [create](#create-8)
|
|
313
313
|
- [update](#update-4)
|
|
314
314
|
- [destroy](#destroy-7)
|
|
@@ -320,8 +320,8 @@ The following service methods are available to instantiated clients. The example
|
|
|
320
320
|
- [updateMember](#updatemember)
|
|
321
321
|
- [destroyMember](#destroymember)
|
|
322
322
|
- [subaccounts](#subaccounts)
|
|
323
|
-
- [list](#list-
|
|
324
|
-
- [get](#get-
|
|
323
|
+
- [list](#list-9)
|
|
324
|
+
- [get](#get-10)
|
|
325
325
|
- [create](#create-9)
|
|
326
326
|
- [enable](#enable)
|
|
327
327
|
- [disable](#disable)
|
|
@@ -331,30 +331,30 @@ The following service methods are available to instantiated clients. The example
|
|
|
331
331
|
- [updateSubaccountFeature](#updatesubaccountfeature)
|
|
332
332
|
- [inbox placements](#inbox-placements)
|
|
333
333
|
- [SeedsLists](#seedslists)
|
|
334
|
-
- [list](#list-
|
|
335
|
-
- [get](#get-
|
|
334
|
+
- [list](#list-10)
|
|
335
|
+
- [get](#get-11)
|
|
336
336
|
- [create](#create-10)
|
|
337
337
|
- [update](#update-5)
|
|
338
338
|
- [destroy](#destroy-9)
|
|
339
339
|
- [SeedsLists Attributes](#attributes)
|
|
340
|
-
- [list](#list-10)
|
|
341
|
-
- [get](#get-13)
|
|
342
|
-
- [SeedsLists Filters](#filters)
|
|
343
340
|
- [list](#list-11)
|
|
341
|
+
- [get](#get-12)
|
|
342
|
+
- [SeedsLists Filters](#filters)
|
|
343
|
+
- [list](#list-12)
|
|
344
344
|
- [Providers](#providers)
|
|
345
|
-
- [list](#list-12)
|
|
346
|
-
- [Results](#results)
|
|
347
345
|
- [list](#list-13)
|
|
348
|
-
|
|
346
|
+
- [Results](#results)
|
|
347
|
+
- [list](#list-14)
|
|
348
|
+
- [get](#get-13)
|
|
349
349
|
- [destroy](#destroy-10)
|
|
350
350
|
- [getResultByShareId](#getresultbyshareid)
|
|
351
351
|
- [Results Attributes](#attributes-1)
|
|
352
|
-
- [list](#list-14)
|
|
353
|
-
- [get](#get-15)
|
|
354
|
-
- [Results Filters](#filters-1)
|
|
355
352
|
- [list](#list-15)
|
|
353
|
+
- [get](#get-14)
|
|
354
|
+
- [Results Filters](#filters-1)
|
|
355
|
+
- [list](#list-16)
|
|
356
356
|
- [Sharing](#sharing)
|
|
357
|
-
- [get](#get-
|
|
357
|
+
- [get](#get-15)
|
|
358
358
|
- [update](#update-6)
|
|
359
359
|
- [Run Test](#run-test)
|
|
360
360
|
- [Navigation thru lists](#navigation-thru-lists)
|
|
@@ -2314,17 +2314,17 @@ The following service methods are available to instantiated clients. The example
|
|
|
2314
2314
|
### Logs
|
|
2315
2315
|
Mailgun keeps track of every inbound and outbound message event and stores this log data. This data can be queried and filtered to provide insights into the health of your email infrastructure.
|
|
2316
2316
|
|
|
2317
|
-
- ####
|
|
2317
|
+
- #### list
|
|
2318
2318
|
Gets customer event logs for an account
|
|
2319
2319
|
|
|
2320
2320
|
[API Reference](https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/stats)
|
|
2321
2321
|
|
|
2322
|
-
```mg.logs.
|
|
2322
|
+
```mg.logs.list(query)```
|
|
2323
2323
|
|
|
2324
2324
|
Example:
|
|
2325
2325
|
|
|
2326
2326
|
```JS
|
|
2327
|
-
mg.
|
|
2327
|
+
mg.logs.list({
|
|
2328
2328
|
start: new Date('2025-11-17T13:00:00Z'), // required
|
|
2329
2329
|
end: new Date('2025-11-30T13:05:00Z'), // required
|
|
2330
2330
|
include_totals: true,
|
package/Types/Types/index.d.ts
CHANGED
package/package.json
CHANGED
package/version.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
12.4.
|
|
1
|
+
12.4.1
|