From 2a049cd00a3eba61c419ca3e7460d17fab5e0e8f Mon Sep 17 00:00:00 2001 From: Lev Gelfenbuim Date: Thu, 4 Dec 2025 17:07:11 +0200 Subject: [PATCH] Fix deprecated docs link and TypeScript definitions (fixes #131, #123) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update deprecated AdWords API link to Google Identity docs - Add missing label and include_attachments to GetMessagesOptions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- README.md | 2 +- gmail-tester.d.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5d7f28..5b717d5 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ The process should look like this: # How to get credentials.json? -1. Follow the instructions to [Create a client ID and client secret](https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_id_and_client_secret). Make sure to select `Desktop app` for the application type. +1. Follow the instructions to [Create a client ID and client secret](https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid). Make sure to select `Desktop app` for the application type. 2. Once done, go to [https://console.cloud.google.com/apis/credentials?project=(project-name)&folder&organizationId]() and download the OAuth2 credentials file, as shown in the image below. Make sure to replace `(project-name)` with your project name.

diff --git a/gmail-tester.d.ts b/gmail-tester.d.ts index 25324f0..475d810 100644 --- a/gmail-tester.d.ts +++ b/gmail-tester.d.ts @@ -38,6 +38,8 @@ declare module "gmail-tester" { subject?: string; before?: Date; after?: Date; + label?: string; + include_attachments?: boolean; } export interface Credentials {