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
10 changes: 8 additions & 2 deletions src/libs/Speechify/Generated/Speechify.AdminClient.ForceEnd.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ partial void ProcessForceEndResponseContent(
/// Force-terminate an ongoing conversation. Idempotent: a<br/>
/// conversation that has already ended returns 204 the same as a<br/>
/// successful first-time termination. Requires an `owner` or `admin`<br/>
/// of the workspace — the same gate as take-over.
/// of the workspace — the same gate as take-over.<br/>
/// The conversation records `end_reason: operator_ended`, so a<br/>
/// conversation closed this way can be told apart from one the agent<br/>
/// or the caller ended.
/// </summary>
/// <param name="conversationId"></param>
/// <param name="speechifyVersion"></param>
Expand All @@ -75,7 +78,10 @@ partial void ProcessForceEndResponseContent(
/// Force-terminate an ongoing conversation. Idempotent: a<br/>
/// conversation that has already ended returns 204 the same as a<br/>
/// successful first-time termination. Requires an `owner` or `admin`<br/>
/// of the workspace — the same gate as take-over.
/// of the workspace — the same gate as take-over.<br/>
/// The conversation records `end_reason: operator_ended`, so a<br/>
/// conversation closed this way can be told apart from one the agent<br/>
/// or the caller ended.
/// </summary>
/// <param name="conversationId"></param>
/// <param name="speechifyVersion"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ partial void ProcessCreateDocumentResponseContent(
/// Write a document, minting an id when none is given. Prefer `putDocument`<br/>
/// with a stable id you derive from the content, so a retry never<br/>
/// duplicates. Bounded by the store's document limit (409<br/>
/// `store_document_limit_reached`). `query` and `batch` are reserved ids<br/>
/// (400 `validation_failed`).<br/>
/// `store_document_limit_reached`). `query`, `batch` and `aggregate` are<br/>
/// reserved ids (400 `validation_failed`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="storeId"></param>
Expand Down Expand Up @@ -96,8 +96,8 @@ partial void ProcessCreateDocumentResponseContent(
/// Write a document, minting an id when none is given. Prefer `putDocument`<br/>
/// with a stable id you derive from the content, so a retry never<br/>
/// duplicates. Bounded by the store's document limit (409<br/>
/// `store_document_limit_reached`). `query` and `batch` are reserved ids<br/>
/// (400 `validation_failed`).<br/>
/// `store_document_limit_reached`). `query`, `batch` and `aggregate` are<br/>
/// reserved ids (400 `validation_failed`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="storeId"></param>
Expand Down Expand Up @@ -720,8 +720,8 @@ partial void ProcessCreateDocumentResponseContent(
/// Write a document, minting an id when none is given. Prefer `putDocument`<br/>
/// with a stable id you derive from the content, so a retry never<br/>
/// duplicates. Bounded by the store's document limit (409<br/>
/// `store_document_limit_reached`). `query` and `batch` are reserved ids<br/>
/// (400 `validation_failed`).<br/>
/// `store_document_limit_reached`). `query`, `batch` and `aggregate` are<br/>
/// reserved ids (400 `validation_failed`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="storeId"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ partial void ProcessPutDocumentResponseContent(
/// Write (create or replace) a document at this id. 201 for a new<br/>
/// document, 200 for a new version of an existing one. `data` must be a<br/>
/// JSON object of at most 256 KiB; its top-level scalar fields become the<br/>
/// queryable projection. The reserved ids `query` and `batch` are refused<br/>
/// (400 `validation_failed`).<br/>
/// queryable projection. The reserved ids `query`, `batch` and<br/>
/// `aggregate` are refused (400 `validation_failed`).<br/>
/// Writing from a document you read? Send its `ETag` (equivalently its<br/>
/// `revision`) in `If-Match` and the write applies only if nothing has<br/>
/// changed since,<br/>
Expand Down Expand Up @@ -104,8 +104,8 @@ partial void ProcessPutDocumentResponseContent(
/// Write (create or replace) a document at this id. 201 for a new<br/>
/// document, 200 for a new version of an existing one. `data` must be a<br/>
/// JSON object of at most 256 KiB; its top-level scalar fields become the<br/>
/// queryable projection. The reserved ids `query` and `batch` are refused<br/>
/// (400 `validation_failed`).<br/>
/// queryable projection. The reserved ids `query`, `batch` and<br/>
/// `aggregate` are refused (400 `validation_failed`).<br/>
/// Writing from a document you read? Send its `ETag` (equivalently its<br/>
/// `revision`) in `If-Match` and the write applies only if nothing has<br/>
/// changed since,<br/>
Expand Down Expand Up @@ -772,8 +772,8 @@ partial void ProcessPutDocumentResponseContent(
/// Write (create or replace) a document at this id. 201 for a new<br/>
/// document, 200 for a new version of an existing one. `data` must be a<br/>
/// JSON object of at most 256 KiB; its top-level scalar fields become the<br/>
/// queryable projection. The reserved ids `query` and `batch` are refused<br/>
/// (400 `validation_failed`).<br/>
/// queryable projection. The reserved ids `query`, `batch` and<br/>
/// `aggregate` are refused (400 `validation_failed`).<br/>
/// Writing from a document you read? Send its `ETag` (equivalently its<br/>
/// `revision`) in `If-Match` and the write applies only if nothing has<br/>
/// changed since,<br/>
Expand Down
25 changes: 25 additions & 0 deletions src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ partial void ProcessUploadResponseContent(
/// Upload one file (multipart form field `file`, at most 25 MiB) so a run<br/>
/// can be handed it: pass the returned `id` in `attachments` on<br/>
/// `POST /v1/agents/{agent_id}/runs`, a team run, or a trigger's run spec.<br/>
/// A file uploaded with `kind: kept` and a `path` is published: a hosted<br/>
/// API's `file` route serves it under its own media type, and a tree of<br/>
/// them (`dash/index.html`, `dash/assets/main.js`) is served by one route<br/>
/// at `/app/*`. A path is slash-separated segments of letters, digits, or<br/>
/// `. _ ~ -`, no leading or trailing slash, at most 600 characters.<br/>
/// Scope it with `user_identity` to the person it belongs to, and only a<br/>
/// run acting for that person can read it; leave it empty and any run in<br/>
/// the workspace can.<br/>
Expand Down Expand Up @@ -92,6 +97,11 @@ partial void ProcessUploadResponseContent(
/// Upload one file (multipart form field `file`, at most 25 MiB) so a run<br/>
/// can be handed it: pass the returned `id` in `attachments` on<br/>
/// `POST /v1/agents/{agent_id}/runs`, a team run, or a trigger's run spec.<br/>
/// A file uploaded with `kind: kept` and a `path` is published: a hosted<br/>
/// API's `file` route serves it under its own media type, and a tree of<br/>
/// them (`dash/index.html`, `dash/assets/main.js`) is served by one route<br/>
/// at `/app/*`. A path is slash-separated segments of letters, digits, or<br/>
/// `. _ ~ -`, no leading or trailing slash, at most 600 characters.<br/>
/// Scope it with `user_identity` to the person it belongs to, and only a<br/>
/// run acting for that person can read it; leave it empty and any run in<br/>
/// the workspace can.<br/>
Expand Down Expand Up @@ -817,6 +827,11 @@ request.Filename is null
/// Upload one file (multipart form field `file`, at most 25 MiB) so a run<br/>
/// can be handed it: pass the returned `id` in `attachments` on<br/>
/// `POST /v1/agents/{agent_id}/runs`, a team run, or a trigger's run spec.<br/>
/// A file uploaded with `kind: kept` and a `path` is published: a hosted<br/>
/// API's `file` route serves it under its own media type, and a tree of<br/>
/// them (`dash/index.html`, `dash/assets/main.js`) is served by one route<br/>
/// at `/app/*`. A path is slash-separated segments of letters, digits, or<br/>
/// `. _ ~ -`, no leading or trailing slash, at most 600 characters.<br/>
/// Scope it with `user_identity` to the person it belongs to, and only a<br/>
/// run acting for that person can read it; leave it empty and any run in<br/>
/// the workspace can.<br/>
Expand Down Expand Up @@ -912,6 +927,11 @@ request.Filename is null
/// Upload one file (multipart form field `file`, at most 25 MiB) so a run<br/>
/// can be handed it: pass the returned `id` in `attachments` on<br/>
/// `POST /v1/agents/{agent_id}/runs`, a team run, or a trigger's run spec.<br/>
/// A file uploaded with `kind: kept` and a `path` is published: a hosted<br/>
/// API's `file` route serves it under its own media type, and a tree of<br/>
/// them (`dash/index.html`, `dash/assets/main.js`) is served by one route<br/>
/// at `/app/*`. A path is slash-separated segments of letters, digits, or<br/>
/// `. _ ~ -`, no leading or trailing slash, at most 600 characters.<br/>
/// Scope it with `user_identity` to the person it belongs to, and only a<br/>
/// run acting for that person can read it; leave it empty and any run in<br/>
/// the workspace can.<br/>
Expand Down Expand Up @@ -1682,6 +1702,11 @@ request.Filename is null
/// Upload one file (multipart form field `file`, at most 25 MiB) so a run<br/>
/// can be handed it: pass the returned `id` in `attachments` on<br/>
/// `POST /v1/agents/{agent_id}/runs`, a team run, or a trigger's run spec.<br/>
/// A file uploaded with `kind: kept` and a `path` is published: a hosted<br/>
/// API's `file` route serves it under its own media type, and a tree of<br/>
/// them (`dash/index.html`, `dash/assets/main.js`) is served by one route<br/>
/// at `/app/*`. A path is slash-separated segments of letters, digits, or<br/>
/// `. _ ~ -`, no leading or trailing slash, at most 600 characters.<br/>
/// Scope it with `user_identity` to the person it belongs to, and only a<br/>
/// run acting for that person can read it; leave it empty and any run in<br/>
/// the workspace can.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ partial void ProcessCreateResponseContent(
/// Create Hosted API<br/>
/// Create a hosted API. The slug is a DNS label, globally unique on the<br/>
/// shared domain (409 `hosted_api_slug_taken`) and immutable afterwards.<br/>
/// `auth_mode` names the audience, narrowest first: `owner`, `workspace`<br/>
/// (the platform's own credentials), `user_token` (a JWT your backend<br/>
/// signs per user), `consumer_key` (a `ck_` key you mint) or `public`<br/>
/// (anyone, reads only). A workspace can refuse `public` as policy (403<br/>
/// `hosted_api_public_refused`). Reads, runs and writes are each bounded<br/>
/// per UTC day (`daily_read_cap`, `daily_run_cap`, `daily_write_cap`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="speechifyVersion"></param>
Expand Down Expand Up @@ -82,6 +88,12 @@ partial void ProcessCreateResponseContent(
/// Create Hosted API<br/>
/// Create a hosted API. The slug is a DNS label, globally unique on the<br/>
/// shared domain (409 `hosted_api_slug_taken`) and immutable afterwards.<br/>
/// `auth_mode` names the audience, narrowest first: `owner`, `workspace`<br/>
/// (the platform's own credentials), `user_token` (a JWT your backend<br/>
/// signs per user), `consumer_key` (a `ck_` key you mint) or `public`<br/>
/// (anyone, reads only). A workspace can refuse `public` as policy (403<br/>
/// `hosted_api_public_refused`). Reads, runs and writes are each bounded<br/>
/// per UTC day (`daily_read_cap`, `daily_run_cap`, `daily_write_cap`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="speechifyVersion"></param>
Expand Down Expand Up @@ -658,6 +670,12 @@ partial void ProcessCreateResponseContent(
/// Create Hosted API<br/>
/// Create a hosted API. The slug is a DNS label, globally unique on the<br/>
/// shared domain (409 `hosted_api_slug_taken`) and immutable afterwards.<br/>
/// `auth_mode` names the audience, narrowest first: `owner`, `workspace`<br/>
/// (the platform's own credentials), `user_token` (a JWT your backend<br/>
/// signs per user), `consumer_key` (a `ck_` key you mint) or `public`<br/>
/// (anyone, reads only). A workspace can refuse `public` as policy (403<br/>
/// `hosted_api_public_refused`). Reads, runs and writes are each bounded<br/>
/// per UTC day (`daily_read_cap`, `daily_run_cap`, `daily_write_cap`).<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
/// <param name="speechifyVersion"></param>
Expand All @@ -670,7 +688,7 @@ partial void ProcessCreateResponseContent(
/// <param name="name"></param>
/// <param name="description"></param>
/// <param name="authMode">
/// consumer_key when omitted.
/// consumer_key when omitted. `public` is refused with 403 `hosted_api_public_refused` where the workspace's policy does not allow internet-facing APIs.
/// </param>
/// <param name="corsOrigins"></param>
/// <param name="dailyRunCap">
Expand All @@ -679,6 +697,9 @@ partial void ProcessCreateResponseContent(
/// <param name="dailyReadCap">
/// Reads the API may serve from storage per UTC day; 100000 when omitted.
/// </param>
/// <param name="dailyWriteCap">
/// Documents the API's write routes may land per UTC day; 10000 when omitted.
/// </param>
/// <param name="projectId"></param>
/// <param name="userTokenJwksUrl">
/// Register the key set end-user tokens are verified against (an `https` URL on a public host).
Expand All @@ -696,6 +717,7 @@ partial void ProcessCreateResponseContent(
global::System.Collections.Generic.IList<string>? corsOrigins = default,
int? dailyRunCap = default,
int? dailyReadCap = default,
int? dailyWriteCap = default,
string? projectId = default,
string? userTokenJwksUrl = default,
global::Speechify.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -710,6 +732,7 @@ partial void ProcessCreateResponseContent(
CorsOrigins = corsOrigins,
DailyRunCap = dailyRunCap,
DailyReadCap = dailyReadCap,
DailyWriteCap = dailyWriteCap,
ProjectId = projectId,
UserTokenJwksUrl = userTokenJwksUrl,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ partial void ProcessGetUsageResponseContent(

/// <summary>
/// Get Hosted API Usage<br/>
/// Today's reads and runs against the API's daily caps, with each route's<br/>
/// share of the reads. A read is a request a store, file or run_latest<br/>
/// route answered from storage; a response served from the cache is not<br/>
/// one. `counters_available` is false where nothing counts (no Redis), so<br/>
/// Today's reads, runs and writes against the API's daily caps, with each<br/>
/// route's share of the reads and writes. A read is a request a store,<br/>
/// file or run_latest route answered from storage; a response served from<br/>
/// the cache is not one. A write is a document a `store_write` route<br/>
/// landed; a replayed Idempotency-Key is not one. `counters_available` is false where nothing counts (no Redis), so<br/>
/// a zero is never mistaken for a quiet day.<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
Expand All @@ -74,10 +75,11 @@ partial void ProcessGetUsageResponseContent(
}
/// <summary>
/// Get Hosted API Usage<br/>
/// Today's reads and runs against the API's daily caps, with each route's<br/>
/// share of the reads. A read is a request a store, file or run_latest<br/>
/// route answered from storage; a response served from the cache is not<br/>
/// one. `counters_available` is false where nothing counts (no Redis), so<br/>
/// Today's reads, runs and writes against the API's daily caps, with each<br/>
/// route's share of the reads and writes. A read is a request a store,<br/>
/// file or run_latest route answered from storage; a response served from<br/>
/// the cache is not one. A write is a document a `store_write` route<br/>
/// landed; a replayed Idempotency-Key is not one. `counters_available` is false where nothing counts (no Redis), so<br/>
/// a zero is never mistaken for a quiet day.<br/>
/// Dark launch: requires the `hosted_apis_access` entitlement (402 `hosted_apis_not_in_plan` otherwise).
/// </summary>
Expand Down
Loading