@smplkit/sdk 3.0.28 → 3.0.29
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16892,7 +16892,7 @@ function _deliveryFromResource(resource) {
|
|
|
16892
16892
|
forwarderId: String(a.forwarder_id ?? ""),
|
|
16893
16893
|
eventId: String(a.event_id ?? ""),
|
|
16894
16894
|
attemptNumber: Number(a.attempt_number ?? 1),
|
|
16895
|
-
status: a.status ?? "
|
|
16895
|
+
status: a.status ?? "FAILED",
|
|
16896
16896
|
request: a.request ?? null,
|
|
16897
16897
|
responseStatus: a.response_status ?? null,
|
|
16898
16898
|
responseBody: a.response_body ?? null,
|
|
@@ -17025,6 +17025,7 @@ var DeliveriesClient = class {
|
|
|
17025
17025
|
const query = {};
|
|
17026
17026
|
if (params.status !== void 0) query["filter[status]"] = params.status;
|
|
17027
17027
|
if (params.createdAtRange !== void 0) query["filter[created_at]"] = params.createdAtRange;
|
|
17028
|
+
if (params.eventId !== void 0) query["filter[event_id]"] = params.eventId;
|
|
17028
17029
|
if (params.pageSize !== void 0) query["page[size]"] = params.pageSize;
|
|
17029
17030
|
if (params.pageAfter !== void 0) query["page[after]"] = params.pageAfter;
|
|
17030
17031
|
const result = await this._http.GET("/api/v1/forwarders/{forwarder_id}/deliveries", {
|