resend 6.17.1 → 6.17.2

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 CHANGED
@@ -25,7 +25,7 @@ let postal_mime = require("postal-mime");
25
25
  postal_mime = __toESM(postal_mime);
26
26
  let standardwebhooks = require("standardwebhooks");
27
27
  //#region package.json
28
- var version = "6.17.1";
28
+ var version = "6.17.2";
29
29
  //#endregion
30
30
  //#region src/common/utils/build-pagination-query.ts
31
31
  /**
package/dist/index.d.cts CHANGED
@@ -258,7 +258,10 @@ type ListApiKeysResponseSuccess = {
258
258
  type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>;
259
259
  //#endregion
260
260
  //#region src/api-keys/interfaces/remove-api-keys.interface.d.ts
261
- type RemoveApiKeyResponseSuccess = {};
261
+ type RemoveApiKeyResponseSuccess = Pick<ApiKey, 'id'> & {
262
+ object: 'api_key';
263
+ deleted: boolean;
264
+ };
262
265
  type RemoveApiKeyResponse = Response<RemoveApiKeyResponseSuccess>;
263
266
  //#endregion
264
267
  //#region src/automations/interfaces/automation-step.interface.d.ts
@@ -1188,6 +1191,7 @@ type RemoveContactSegmentOptions = ContactSegmentsBaseOptions & {
1188
1191
  };
1189
1192
  interface RemoveContactSegmentResponseSuccess {
1190
1193
  id: string;
1194
+ audienceId: string;
1191
1195
  deleted: boolean;
1192
1196
  }
1193
1197
  type RemoveContactSegmentResponse = Response<RemoveContactSegmentResponseSuccess>;
package/dist/index.d.mts CHANGED
@@ -258,7 +258,10 @@ type ListApiKeysResponseSuccess = {
258
258
  type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>;
259
259
  //#endregion
260
260
  //#region src/api-keys/interfaces/remove-api-keys.interface.d.ts
261
- type RemoveApiKeyResponseSuccess = {};
261
+ type RemoveApiKeyResponseSuccess = Pick<ApiKey, 'id'> & {
262
+ object: 'api_key';
263
+ deleted: boolean;
264
+ };
262
265
  type RemoveApiKeyResponse = Response<RemoveApiKeyResponseSuccess>;
263
266
  //#endregion
264
267
  //#region src/automations/interfaces/automation-step.interface.d.ts
@@ -1188,6 +1191,7 @@ type RemoveContactSegmentOptions = ContactSegmentsBaseOptions & {
1188
1191
  };
1189
1192
  interface RemoveContactSegmentResponseSuccess {
1190
1193
  id: string;
1194
+ audienceId: string;
1191
1195
  deleted: boolean;
1192
1196
  }
1193
1197
  type RemoveContactSegmentResponse = Response<RemoveContactSegmentResponseSuccess>;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import PostalMime from "postal-mime";
2
2
  import { Webhook } from "standardwebhooks";
3
3
  //#region package.json
4
- var version = "6.17.1";
4
+ var version = "6.17.2";
5
5
  //#endregion
6
6
  //#region src/common/utils/build-pagination-query.ts
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend",
3
- "version": "6.17.1",
3
+ "version": "6.17.2",
4
4
  "description": "Node.js library for the Resend API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",