Skip to content

Commit

Permalink
Merge pull request #110 from tryAGI/bot/update-openapi_202501180114
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 18, 2025
2 parents 64bdd2c + 3b7529e commit 299dd2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ public enum SuspendReason
///
/// </summary>
Admin,
/// <summary>
///
/// </summary>
BadCc,
}

/// <summary>
Expand All @@ -42,6 +46,7 @@ public static string ToValueString(this SuspendReason value)
SuspendReason.OverdueInvoices => "overdue-invoices",
SuspendReason.LimitReached => "limit-reached",
SuspendReason.Admin => "admin",
SuspendReason.BadCc => "bad-cc",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -56,6 +61,7 @@ public static string ToValueString(this SuspendReason value)
"overdue-invoices" => SuspendReason.OverdueInvoices,
"limit-reached" => SuspendReason.LimitReached,
"admin" => SuspendReason.Admin,
"bad-cc" => SuspendReason.BadCc,
_ => null,
};
}
Expand Down
1 change: 1 addition & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2985,6 +2985,7 @@ components:
- overdue-invoices
- limit-reached
- admin
- bad-cc
type: string
description: An enumeration.
TimeInterval:
Expand Down

0 comments on commit 299dd2c

Please sign in to comment.