Skip to content

Commit

Permalink
Merge pull request #54 from AssemblyAI/E07417BDFEA3614F5967B1520F8B2F61
Browse files Browse the repository at this point in the history
Sync from internal repo (2024/05/31)
  • Loading branch information
Swimburger committed May 31, 2024
2 parents 21cc568 + 8319c24 commit 99736e3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
54 changes: 37 additions & 17 deletions src/types/openapi.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99736e3

Please sign in to comment.