From 8319c244c0336abd8a3c7e1de2a55daf911587b2 Mon Sep 17 00:00:00 2001 From: AssemblyAI Date: Fri, 31 May 2024 13:17:09 -0400 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: e653ac05bccf8bd2c75c11482c67e6c0a515f8b8 --- CHANGELOG.md | 4 +++ package.json | 2 +- src/types/openapi.generated.ts | 54 +++++++++++++++++++++++----------- 3 files changed, 42 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74f0397..d8b8557 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [4.4.5] + +- Add new `PiiPolicy` enum values + ## [4.4.4] - Add an export that only includes the Streaming STT code. You can use the export diff --git a/package.json b/package.json index 6a3a125..436087c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "assemblyai", - "version": "4.4.4", + "version": "4.4.5", "description": "The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.", "engines": { "node": ">=18" diff --git a/src/types/openapi.generated.ts b/src/types/openapi.generated.ts index 2baa173..306d65c 100644 --- a/src/types/openapi.generated.ts +++ b/src/types/openapi.generated.ts @@ -1035,34 +1035,54 @@ export type ParagraphsResponse = { paragraphs: TranscriptParagraph[]; }; +/** + * The type of PII to redact + */ export type PiiPolicy = - | "medical_process" - | "medical_condition" + | "account_number" + | "banking_information" | "blood_type" - | "drug" - | "injury" - | "number_sequence" - | "email_address" - | "date_of_birth" - | "phone_number" - | "us_social_security_number" - | "credit_card_number" - | "credit_card_expiration" | "credit_card_cvv" + | "credit_card_expiration" + | "credit_card_number" | "date" - | "nationality" + | "date_interval" + | "date_of_birth" + | "drivers_license" + | "drug" + | "duration" + | "email_address" | "event" + | "filename" + | "gender_sexuality" + | "healthcare_number" + | "injury" + | "ip_address" | "language" | "location" + | "marital_status" + | "medical_condition" + | "medical_process" | "money_amount" - | "person_name" - | "person_age" + | "nationality" + | "number_sequence" + | "occupation" | "organization" + | "passport_number" + | "password" + | "person_age" + | "person_name" + | "phone_number" + | "physical_attribute" | "political_affiliation" - | "occupation" | "religion" - | "drivers_license" - | "banking_information"; + | "statistics" + | "time" + | "url" + | "us_social_security_number" + | "username" + | "vehicle_id" + | "zodiac_sign"; /** * @example