Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion src/libs/AssemblyAI/Generated/AssemblyAI.Models.PiiPolicy.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace AssemblyAI
{
/// <summary>
/// The type of PII to redact
/// The type of PII to redact. See [PII redaction](https://www.assemblyai.com/docs/streaming/pii-redaction) for the full list of policies and their descriptions.
/// </summary>
public enum PiiPolicy
{
Expand Down Expand Up @@ -71,6 +71,10 @@ public enum PiiPolicy
/// <summary>
///
/// </summary>
Gender,
/// <summary>
///
/// </summary>
GenderSexuality,
/// <summary>
///
Expand All @@ -95,6 +99,34 @@ public enum PiiPolicy
/// <summary>
///
/// </summary>
LocationAddress,
/// <summary>
///
/// </summary>
LocationAddressStreet,
/// <summary>
///
/// </summary>
LocationCity,
/// <summary>
///
/// </summary>
LocationCoordinate,
/// <summary>
///
/// </summary>
LocationCountry,
/// <summary>
///
/// </summary>
LocationState,
/// <summary>
///
/// </summary>
LocationZip,
/// <summary>
///
/// </summary>
MaritalStatus,
/// <summary>
///
Expand Down Expand Up @@ -127,6 +159,10 @@ public enum PiiPolicy
/// <summary>
///
/// </summary>
OrganizationMedicalFacility,
/// <summary>
///
/// </summary>
PassportNumber,
/// <summary>
///
Expand Down Expand Up @@ -159,6 +195,10 @@ public enum PiiPolicy
/// <summary>
///
/// </summary>
Sexuality,
/// <summary>
///
/// </summary>
Statistics,
/// <summary>
///
Expand Down Expand Up @@ -213,12 +253,20 @@ public static string ToValueString(this PiiPolicy value)
PiiPolicy.EmailAddress => "email_address",
PiiPolicy.Event => "event",
PiiPolicy.Filename => "filename",
PiiPolicy.Gender => "gender",
PiiPolicy.GenderSexuality => "gender_sexuality",
PiiPolicy.HealthcareNumber => "healthcare_number",
PiiPolicy.Injury => "injury",
PiiPolicy.IpAddress => "ip_address",
PiiPolicy.Language => "language",
PiiPolicy.Location => "location",
PiiPolicy.LocationAddress => "location_address",
PiiPolicy.LocationAddressStreet => "location_address_street",
PiiPolicy.LocationCity => "location_city",
PiiPolicy.LocationCoordinate => "location_coordinate",
PiiPolicy.LocationCountry => "location_country",
PiiPolicy.LocationState => "location_state",
PiiPolicy.LocationZip => "location_zip",
PiiPolicy.MaritalStatus => "marital_status",
PiiPolicy.MedicalCondition => "medical_condition",
PiiPolicy.MedicalProcess => "medical_process",
Expand All @@ -227,6 +275,7 @@ public static string ToValueString(this PiiPolicy value)
PiiPolicy.NumberSequence => "number_sequence",
PiiPolicy.Occupation => "occupation",
PiiPolicy.Organization => "organization",
PiiPolicy.OrganizationMedicalFacility => "organization_medical_facility",
PiiPolicy.PassportNumber => "passport_number",
PiiPolicy.Password => "password",
PiiPolicy.PersonAge => "person_age",
Expand All @@ -235,6 +284,7 @@ public static string ToValueString(this PiiPolicy value)
PiiPolicy.PhysicalAttribute => "physical_attribute",
PiiPolicy.PoliticalAffiliation => "political_affiliation",
PiiPolicy.Religion => "religion",
PiiPolicy.Sexuality => "sexuality",
PiiPolicy.Statistics => "statistics",
PiiPolicy.Time => "time",
PiiPolicy.Url => "url",
Expand Down Expand Up @@ -267,12 +317,20 @@ public static string ToValueString(this PiiPolicy value)
"email_address" => PiiPolicy.EmailAddress,
"event" => PiiPolicy.Event,
"filename" => PiiPolicy.Filename,
"gender" => PiiPolicy.Gender,
"gender_sexuality" => PiiPolicy.GenderSexuality,
"healthcare_number" => PiiPolicy.HealthcareNumber,
"injury" => PiiPolicy.Injury,
"ip_address" => PiiPolicy.IpAddress,
"language" => PiiPolicy.Language,
"location" => PiiPolicy.Location,
"location_address" => PiiPolicy.LocationAddress,
"location_address_street" => PiiPolicy.LocationAddressStreet,
"location_city" => PiiPolicy.LocationCity,
"location_coordinate" => PiiPolicy.LocationCoordinate,
"location_country" => PiiPolicy.LocationCountry,
"location_state" => PiiPolicy.LocationState,
"location_zip" => PiiPolicy.LocationZip,
"marital_status" => PiiPolicy.MaritalStatus,
"medical_condition" => PiiPolicy.MedicalCondition,
"medical_process" => PiiPolicy.MedicalProcess,
Expand All @@ -281,6 +339,7 @@ public static string ToValueString(this PiiPolicy value)
"number_sequence" => PiiPolicy.NumberSequence,
"occupation" => PiiPolicy.Occupation,
"organization" => PiiPolicy.Organization,
"organization_medical_facility" => PiiPolicy.OrganizationMedicalFacility,
"passport_number" => PiiPolicy.PassportNumber,
"password" => PiiPolicy.Password,
"person_age" => PiiPolicy.PersonAge,
Expand All @@ -289,6 +348,7 @@ public static string ToValueString(this PiiPolicy value)
"physical_attribute" => PiiPolicy.PhysicalAttribute,
"political_affiliation" => PiiPolicy.PoliticalAffiliation,
"religion" => PiiPolicy.Religion,
"sexuality" => PiiPolicy.Sexuality,
"statistics" => PiiPolicy.Statistics,
"time" => PiiPolicy.Time,
"url" => PiiPolicy.Url,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
namespace AssemblyAI
{
/// <summary>
/// The replacement logic for detected PII, can be `entity_name` or `hash`. See [PII redaction](https://www.assemblyai.com/docs/pii-redaction) for more details.
/// The replacement logic for detected PII, can be `entity_name` or `hash`. See [PII redaction](https://www.assemblyai.com/docs/streaming/pii-redaction) for more details.
/// </summary>
public enum SubstitutionPolicy
{
/// <summary>
/// //www.assemblyai.com/docs/pii-redaction) for more details.
/// //www.assemblyai.com/docs/streaming/pii-redaction) for more details.
/// </summary>
EntityName,
/// <summary>
/// //www.assemblyai.com/docs/pii-redaction) for more details.
/// //www.assemblyai.com/docs/streaming/pii-redaction) for more details.
/// </summary>
Hash,
}
Expand Down
2 changes: 1 addition & 1 deletion src/libs/AssemblyAI/openapi.yaml

Large diffs are not rendered by default.