resend 6.17.0 → 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.0";
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>;
@@ -1598,7 +1602,6 @@ interface OAuthGrant {
1598
1602
  id: string;
1599
1603
  client_id: string;
1600
1604
  scopes: string[];
1601
- resource: string | null;
1602
1605
  created_at: string;
1603
1606
  revoked_at: string | null;
1604
1607
  revoked_reason: string | null;
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>;
@@ -1598,7 +1602,6 @@ interface OAuthGrant {
1598
1602
  id: string;
1599
1603
  client_id: string;
1600
1604
  scopes: string[];
1601
- resource: string | null;
1602
1605
  created_at: string;
1603
1606
  revoked_at: string | null;
1604
1607
  revoked_reason: string | null;
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.0";
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.0",
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",
@@ -65,6 +65,7 @@
65
65
  "react": "19.2.5",
66
66
  "react-dom": "19.2.5",
67
67
  "rimraf": "6.1.3",
68
+ "tegami": "1.1.2",
68
69
  "tsdown": "0.21.10",
69
70
  "typescript": "6.0.3",
70
71
  "vitest": "4.1.4",
@@ -75,6 +76,7 @@
75
76
  "integration:nextjs": "cd ./e2e/nextjs && next build --turbopack",
76
77
  "lint": "biome check .",
77
78
  "lint:fix": "biome check . --write",
79
+ "tegami": "node --experimental-strip-types scripts/tegami.mts",
78
80
  "test": "vitest run --exclude e2e",
79
81
  "test:dev": "cross-env TEST_MODE=dev vitest run --exclude e2e",
80
82
  "test:e2e": "vitest run e2e",